hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
72c1f3333c2bc79576dfeef27ab7985f0803b4e5
17,317
cpp
C++
src/Painless_Mesh/painlessMeshSync.cpp
jaafreitas/IoTmeshToy
bb6bc6b95415f87167ef7fbd489baef9e8829044
[ "MIT" ]
7
2017-05-04T02:49:02.000Z
2019-08-01T19:17:46.000Z
src/Painless_Mesh/painlessMeshSync.cpp
jaafreitas/IoTmeshToy
bb6bc6b95415f87167ef7fbd489baef9e8829044
[ "MIT" ]
null
null
null
src/Painless_Mesh/painlessMeshSync.cpp
jaafreitas/IoTmeshToy
bb6bc6b95415f87167ef7fbd489baef9e8829044
[ "MIT" ]
5
2017-04-26T01:07:09.000Z
2020-09-17T15:29:57.000Z
#include "painlessMesh.h" #include "painlessMeshSync.h" #include "painlessMeshJson.h" #include "time.h" extern painlessMesh* staticThis; uint32_t timeAdjuster = 0; // timeSync Functions //*********************************************************************** uint32_t ICACHE_FLASH_ATTR painlessMesh::getNodeTime(void...
41.828502
162
0.620951
jaafreitas
72c3cbda03a0d09996564859542dafec9baa5ca8
8,128
cpp
C++
src/bin/settings.cpp
D7ry/valhallaCombat
07929d29a48401c2878a1ed5993b7bba14743c6f
[ "MIT" ]
1
2022-01-19T07:13:48.000Z
2022-01-19T07:13:48.000Z
src/bin/settings.cpp
D7ry/valhallaCombat
07929d29a48401c2878a1ed5993b7bba14743c6f
[ "MIT" ]
null
null
null
src/bin/settings.cpp
D7ry/valhallaCombat
07929d29a48401c2878a1ed5993b7bba14743c6f
[ "MIT" ]
1
2022-01-19T07:13:52.000Z
2022-01-19T07:13:52.000Z
#include "include/stunHandler.h" #include "include/settings.h" #include "ValhallaCombat.hpp" using namespace Utils; void settings::ReadIntSetting(CSimpleIniA& a_ini, const char* a_sectionName, const char* a_settingName, uint32_t& a_setting) { const char* bFound = nullptr; bFound = a_ini.GetValue(a_sectionName, a_sett...
45.155556
126
0.779405
D7ry
72c3fe1c2eb1c0d8e098ce9d2704980581650056
1,207
cpp
C++
ch_3/p3-5.cpp
bg2d/accelerated_cpp
a558d90090ceadeedd83e4726f6e7497219e9626
[ "MIT" ]
null
null
null
ch_3/p3-5.cpp
bg2d/accelerated_cpp
a558d90090ceadeedd83e4726f6e7497219e9626
[ "MIT" ]
null
null
null
ch_3/p3-5.cpp
bg2d/accelerated_cpp
a558d90090ceadeedd83e4726f6e7497219e9626
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> int main() { const int NO_HOMEWORKS = 3; std::vector<std::string> students; std::vector<double> grades; std::string name; std::cout << "Please give the sutend's name: "; while (std::cin >> name) { students.push_back(name); ...
28.069767
88
0.553438
bg2d
72c614948d1978a55a64a0988f3443249e92771e
570
hpp
C++
src/miniframes/miniframe.hpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
8
2016-10-06T11:49:14.000Z
2021-11-06T21:06:36.000Z
src/miniframes/miniframe.hpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
20
2017-04-25T14:23:02.000Z
2018-12-04T22:46:04.000Z
src/miniframes/miniframe.hpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
4
2018-07-04T00:14:41.000Z
2018-07-17T09:08:25.000Z
#ifndef MINIFRAME_HPP #define MINIFRAME_HPP #include <wx/wxprec.h> #ifndef WX_PRECOMP #include <wx/wx.h> #endif #include <wx/minifram.h> /** * \brief Generic mini frame with custom behavior. */ class MiniFrame: public wxMiniFrame { public: MiniFrame(wxWindow *parent, wxWindowID id, const wxString &t...
21.111111
119
0.659649
helloer
72c640e5c1c99d1e9d1492a77c840eb641a07413
121
cpp
C++
Source/QuarantineProject/Private/Inventory/QP_InventoryItem.cpp
AInsolence/QuarantineProject
99e07b82edbf05510453822383d713602c4a3510
[ "MIT" ]
1
2021-08-28T04:07:58.000Z
2021-08-28T04:07:58.000Z
Source/QuarantineProject/Private/Inventory/QP_InventoryItem.cpp
AInsolence/QuarantineProject
99e07b82edbf05510453822383d713602c4a3510
[ "MIT" ]
null
null
null
Source/QuarantineProject/Private/Inventory/QP_InventoryItem.cpp
AInsolence/QuarantineProject
99e07b82edbf05510453822383d713602c4a3510
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Inventory/QP_InventoryItem.h"
24.2
78
0.793388
AInsolence
72cecc7e5d7d83c7a40a07c1af0dd53f8fc53f4e
12,655
cpp
C++
Settings.cpp
Bozebo/buddhabrot
71bf4d971c0305e7ef063ebc7bb03b3eab88d81e
[ "Unlicense" ]
1
2018-10-23T21:49:30.000Z
2018-10-23T21:49:30.000Z
Settings.cpp
Bozebo/buddhabrot
71bf4d971c0305e7ef063ebc7bb03b3eab88d81e
[ "Unlicense" ]
null
null
null
Settings.cpp
Bozebo/buddhabrot
71bf4d971c0305e7ef063ebc7bb03b3eab88d81e
[ "Unlicense" ]
null
null
null
#include "Settings.h" //the constructor sets up some workable defaults Settings::Settings() { // ----- Orbits //if an orbit has not been determined as being outside the set in at least this many iterations (n, AKA orbit depth), discard it maxIts = 10000; //if an orbit _has_ been determined as being o...
27.391775
188
0.642197
Bozebo
72cf4197d08588a29618b64b9f8326a27d550bd8
2,649
cpp
C++
src/engine/memory/managermusic.cpp
FoFabien/SF2DEngine
3d10964cbdae439584c10ab427ade394d720713f
[ "Zlib" ]
null
null
null
src/engine/memory/managermusic.cpp
FoFabien/SF2DEngine
3d10964cbdae439584c10ab427ade394d720713f
[ "Zlib" ]
null
null
null
src/engine/memory/managermusic.cpp
FoFabien/SF2DEngine
3d10964cbdae439584c10ab427ade394d720713f
[ "Zlib" ]
null
null
null
#include "managermusic.hpp" #ifdef _USE_MUSIC_ #include "../engine.hpp" #define MAX_MUSIC_COUNT 105 ManagerMusic::ManagerMusic() { } ManagerMusic::~ManagerMusic() { for(auto &i : data) { i.second.ptr->stop(); delete (i.second.ptr); } } bool ManagerMusic::load(const std::string &name) { ...
19.195652
87
0.567761
FoFabien
72cfb271bfa82b0d5a733965b933eb1095e70d8b
866
hpp
C++
Enemy.hpp
polinaucc/galaga
6feea0a6a74669c5d3fa6e106653ceacda19b416
[ "MIT" ]
null
null
null
Enemy.hpp
polinaucc/galaga
6feea0a6a74669c5d3fa6e106653ceacda19b416
[ "MIT" ]
null
null
null
Enemy.hpp
polinaucc/galaga
6feea0a6a74669c5d3fa6e106653ceacda19b416
[ "MIT" ]
null
null
null
#pragma once #include "livingobject.hpp" enum class EnemyType { green, purple }; class Enemy : public LivingObject { private: mutable bool m_state; mutable int m_counter; EnemyType m_type; protected: shared_ptr<Sprite> m_sprite_b; public: Enemy(double x, double y, shared_ptr<Sprite> s1, shared_ptr<S...
21.65
112
0.711316
polinaucc
72d87bc37bd77a2ba4912e02cbe84d9249aeecc9
1,387
hpp
C++
tvm_backend/tvm_backend.hpp
elvin-n/dldt_tools
d77b11aafc389f68305b2514db306c3c0b42cddf
[ "MIT" ]
2
2020-06-20T02:54:37.000Z
2020-07-17T04:38:26.000Z
tvm_backend/tvm_backend.hpp
elvin-nnov/dldt_tools
d77b11aafc389f68305b2514db306c3c0b42cddf
[ "MIT" ]
null
null
null
tvm_backend/tvm_backend.hpp
elvin-nnov/dldt_tools
d77b11aafc389f68305b2514db306c3c0b42cddf
[ "MIT" ]
1
2020-02-11T14:21:32.000Z
2020-02-11T14:21:32.000Z
// Copyright 2021 the dldt tools authors. All rights reserved. // Use of this source code is governed by a BSD-style license #include "backend.hpp" #include "tvm/runtime/module.h" extern "C" { Backend* createBackend(); } class TVMBackend : public Backend { public: virtual bool loadModel(const std::string &model, c...
30.822222
86
0.719539
elvin-n
72d977939da19ca1218598fd9ee399e38ef04eb7
3,090
hpp
C++
include/operations/CompoundOperation.hpp
TobiasPrie/qfr
843db11651763ac3aecf10c9aa0dffebdd572055
[ "MIT" ]
null
null
null
include/operations/CompoundOperation.hpp
TobiasPrie/qfr
843db11651763ac3aecf10c9aa0dffebdd572055
[ "MIT" ]
1
2021-08-09T18:42:16.000Z
2021-08-09T18:42:16.000Z
include/operations/CompoundOperation.hpp
TobiasPrie/qfr
843db11651763ac3aecf10c9aa0dffebdd572055
[ "MIT" ]
1
2021-08-08T08:55:10.000Z
2021-08-08T08:55:10.000Z
/* * This file is part of IIC-JKU QFR library which is released under the MIT license. * See file README.md or go to http://iic.jku.at/eda/research/quantum/ for more information. */ #ifndef INTERMEDIATEREPRESENTATION_COMPOUNDOPERATION_H #define INTERMEDIATEREPRESENTATION_COMPOUNDOPERATION_H #include "Operation.hpp...
28.348624
166
0.653398
TobiasPrie
72db52bf57e9bd068259dc6b3f3ab19f284d8d9b
529
cpp
C++
Exam_3/Program4.cpp
othneildrew/CPP-Programming-Practices
27a20c00b395446a7d2e0dd4b199f4cd9e35591b
[ "MIT" ]
1
2020-12-03T15:26:20.000Z
2020-12-03T15:26:20.000Z
Exam_3/Program4.cpp
othneildrew/CPP-Programming-Practices
27a20c00b395446a7d2e0dd4b199f4cd9e35591b
[ "MIT" ]
null
null
null
Exam_3/Program4.cpp
othneildrew/CPP-Programming-Practices
27a20c00b395446a7d2e0dd4b199f4cd9e35591b
[ "MIT" ]
null
null
null
// Exam 3 - Program 4 /*** Write a C++ Program to find the 15 sequences of Fibonacci number. **/ # include <iostream> using namespace std; int main(void) { int Num1 = 0, Num2 = 1, Result = 0, Generation = 15; cout << "\n\t This program finds the fibonacci number after the 15th generation \n"; while (Result <=...
18.241379
85
0.642722
othneildrew
72dbb6b45ba77fcab92d7e0471026d4f4dea3b6a
880
hpp
C++
ms29/classes/camera.hpp
LeeFoulger/ProxyDll
d8dd9e736055f3263ac8b1671d009c88dc4ecc04
[ "MIT" ]
1
2022-03-15T21:29:19.000Z
2022-03-15T21:29:19.000Z
ms29/classes/camera.hpp
TwisterForPosterity/ProxyDll
d8dd9e736055f3263ac8b1671d009c88dc4ecc04
[ "MIT" ]
null
null
null
ms29/classes/camera.hpp
TwisterForPosterity/ProxyDll
d8dd9e736055f3263ac8b1671d009c88dc4ecc04
[ "MIT" ]
null
null
null
#pragma once #include <Utils.hpp> #include "../memory/local_types.hpp" char __cdecl sub_553660_hook(uint8_t *a1) { auto result = ((char(__cdecl *)(uint8_t *))GetMainModule(0x153660))(a1); auto fov = ((s_camera_definition*)a1)->Print(true, true, true, true)->field_of_view.Get(); auto new_val = fov < 90 ? Utils::Mat...
29.333333
137
0.681818
LeeFoulger
72e5e1c703489a3be21ed60b0d06e6fac3eda5f6
1,920
cpp
C++
src/clear_benchmark.cpp
jlakness-intel/backend-cpu-helib
ff74311abd749809b732f1f2f63fe78e245c726d
[ "Apache-2.0" ]
1
2022-02-28T17:57:32.000Z
2022-02-28T17:57:32.000Z
src/clear_benchmark.cpp
jlakness-intel/backend-cpu-helib
ff74311abd749809b732f1f2f63fe78e245c726d
[ "Apache-2.0" ]
2
2021-12-06T19:37:42.000Z
2021-12-16T23:37:53.000Z
src/clear_benchmark.cpp
jlakness-intel/backend-cpu-helib
ff74311abd749809b732f1f2f63fe78e245c726d
[ "Apache-2.0" ]
1
2021-11-05T18:01:48.000Z
2021-11-05T18:01:48.000Z
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include <algorithm> #include <cstring> #include <memory> #include <vector> #include "../include/clear_benchmark.h" #include "../include/clear_engine.h" #include "../include/clear_error.h" //------------------------ // class ExampleBench...
37.647059
102
0.660417
jlakness-intel
72e72d422c2cffcc31d6228dc082f7c7d7bc23bb
3,466
cc
C++
src/cable_plot_options_dialog.cc
Transmission-Line-Software/SpanAnalyzer
37d5f1f849f4c11d83f767b5539845c18ddc371b
[ "Unlicense" ]
4
2017-04-29T19:55:53.000Z
2020-12-20T13:44:03.000Z
src/cable_plot_options_dialog.cc
Transmission-Line-Software/SpanAnalyzer
37d5f1f849f4c11d83f767b5539845c18ddc371b
[ "Unlicense" ]
null
null
null
src/cable_plot_options_dialog.cc
Transmission-Line-Software/SpanAnalyzer
37d5f1f849f4c11d83f767b5539845c18ddc371b
[ "Unlicense" ]
1
2017-12-19T02:13:43.000Z
2017-12-19T02:13:43.000Z
// This is free and unencumbered software released into the public domain. // For more information, please refer to <http://unlicense.org/> #include "spananalyzer/cable_plot_options_dialog.h" #include "wx/clrpicker.h" #include "wx/spinctrl.h" #include "wx/xrc/xmlres.h" BEGIN_EVENT_TABLE(CablePlotOptionsDialog, wxDia...
31.798165
78
0.772072
Transmission-Line-Software
72e92440229ae9d7e56281842b6e9ffb5197ba45
1,109
cpp
C++
fog/Prim/PrimOstrstream.cpp
UltimateScript/Forgotten
ac59ad21767af9628994c0eecc91e9e0e5680d95
[ "BSD-3-Clause" ]
null
null
null
fog/Prim/PrimOstrstream.cpp
UltimateScript/Forgotten
ac59ad21767af9628994c0eecc91e9e0e5680d95
[ "BSD-3-Clause" ]
null
null
null
fog/Prim/PrimOstrstream.cpp
UltimateScript/Forgotten
ac59ad21767af9628994c0eecc91e9e0e5680d95
[ "BSD-3-Clause" ]
null
null
null
#include <Prim/PrimIncludeAll.h> PrimOstrstream::PrimOstrstream() : _fixed_buffer(false), _ends(false) {} PrimOstrstream::PrimOstrstream(char *fixedBuffer, int fixedSize, ios_base::openmode aMode) : Super(fixedBuffer, fixedSize, aMode), _fixed_buffer(true), _ends(false) {} PrimOstrstream::~PrimOstrstream()...
15.191781
90
0.681695
UltimateScript
639229c35f0cc8371b20ad7e53135e49c4d6893f
962
hpp
C++
Sources/SolarTears/Rendering/Vulkan/VulkanMemory.hpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
4
2021-06-30T16:00:20.000Z
2021-10-13T06:17:56.000Z
Sources/SolarTears/Rendering/Vulkan/VulkanMemory.hpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
Sources/SolarTears/Rendering/Vulkan/VulkanMemory.hpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <vulkan/vulkan.h> #include "../../Logging/LoggerQueue.hpp" #include "VulkanDeviceParameters.hpp" #include <span> namespace Vulkan { class MemoryManager { public: enum class BufferAllocationType { DEVICE_LOCAL, HOST_VISIBLE }; MemoryManager(LoggerQueue* logger, VkPhysicalDevice ...
29.151515
179
0.803534
Sixshaman
6395e57e1c318de9d4b5b5aba029b9c50177356b
3,482
cpp
C++
src/StepLibrary/Leaker.cpp
dale-wilson/HSQueue
04d01ed42707069d28e81b5494aba61904e6e591
[ "BSD-3-Clause" ]
2
2015-12-29T17:33:25.000Z
2021-12-20T02:30:44.000Z
src/StepLibrary/Leaker.cpp
dale-wilson/HighQueue
04d01ed42707069d28e81b5494aba61904e6e591
[ "BSD-3-Clause" ]
null
null
null
src/StepLibrary/Leaker.cpp
dale-wilson/HighQueue
04d01ed42707069d28e81b5494aba61904e6e591
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015 Object Computing, Inc. // All rights reserved. // See the file license.txt for licensing information. #include <Steps/StepPch.hpp> #include "Leaker.hpp" #include <Steps/StepFactory.hpp> #include <Steps/SharedResources.hpp> #include <Steps/Configuration.hpp> #include <HighQueue/MemoryPool.hpp> u...
24.180556
139
0.571511
dale-wilson
639c035b8fa2958a6d4d18fff0b7366fe04bdabc
21,588
cpp
C++
src/utils/crc.cpp
acelyc111/rdsn
298769147750167949af800b96d5b9dcdfab0aeb
[ "MIT" ]
149
2017-10-16T03:24:58.000Z
2022-03-25T02:29:13.000Z
src/utils/crc.cpp
acelyc111/rdsn
298769147750167949af800b96d5b9dcdfab0aeb
[ "MIT" ]
297
2017-10-19T03:23:34.000Z
2022-03-17T08:00:12.000Z
src/utils/crc.cpp
acelyc111/rdsn
298769147750167949af800b96d5b9dcdfab0aeb
[ "MIT" ]
63
2017-10-19T01:55:27.000Z
2022-03-09T11:09:00.000Z
#include <cstdio> #include <dsn/utility/crc.h> namespace dsn { namespace utils { template <typename uintxx_t, uintxx_t uPoly> struct crc_generator { typedef uintxx_t uint; static const uintxx_t MSB = ((uintxx_t)1) << (8 * sizeof(uintxx_t) - 1); static const uintxx_t POLY = uPoly; static uintxx_t _crc_...
47.342105
100
0.659765
acelyc111
639ee49b13bd12ebaa335be234d65a7351ce96c6
5,965
cpp
C++
engine/screens/source/SkillsScreen.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/screens/source/SkillsScreen.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/screens/source/SkillsScreen.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "Conversion.hpp" #include "Game.hpp" #include "SkillsScreen.hpp" #include "OptionsComponent.hpp" #include "Prompt.hpp" #include "Setting.hpp" #include "TextComponent.hpp" #include "PromptTextKeys.hpp" #include "SkillTextKeys.hpp" using namespace std; SkillsScreen::SkillsScreen(DisplayPtr new_display, Creatur...
38.733766
271
0.713495
prolog
63aa836274d91d000c85c4ee6c9a7173b7110b00
1,832
cpp
C++
src/gameworld/gameworld/effect/skilleffect/effecthurtinc.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/effect/skilleffect/effecthurtinc.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/effect/skilleffect/effecthurtinc.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#include "effecthurtinc.hpp" EffectIncHurt::EffectIncHurt() : m_effect_time(0), m_inc_percent_to_role(0), m_inc_percent_to_monster(0) { } EffectIncHurt::EffectIncHurt(ObjID deliverer, UInt16 skill, int effect_time, char product_level, char product_method) : EffectBase(deliverer, skill, product_method, product_le...
23.487179
121
0.76583
mage-game
63b5456b7e18ed31a2746f75fc4a5591ee10080f
1,833
cpp
C++
MSCL/source/mscl/MicroStrain/MIP/Commands/GetDeviceInfo.cpp
offworld-projects/MSCL
8388e97c92165e16c26c554aadf1e204ebcf93cf
[ "BSL-1.0", "OpenSSL", "MIT" ]
53
2015-08-28T02:41:41.000Z
2022-03-03T07:50:53.000Z
MSCL/source/mscl/MicroStrain/MIP/Commands/GetDeviceInfo.cpp
offworld-projects/MSCL
8388e97c92165e16c26c554aadf1e204ebcf93cf
[ "BSL-1.0", "OpenSSL", "MIT" ]
209
2015-09-30T19:36:11.000Z
2022-03-04T21:52:20.000Z
MSCL/source/mscl/MicroStrain/MIP/Commands/GetDeviceInfo.cpp
offworld-projects/MSCL
8388e97c92165e16c26c554aadf1e204ebcf93cf
[ "BSL-1.0", "OpenSSL", "MIT" ]
55
2015-09-03T14:40:01.000Z
2022-02-04T02:02:01.000Z
/******************************************************************************* Copyright(c) 2015-2021 Parker Hannifin Corp. All rights reserved. MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License. *******************************************************************************/ #include "st...
32.732143
108
0.629023
offworld-projects
63c0be814da62e4c04ee99599a46e5f60cac9ce2
1,701
hpp
C++
src/cpp-utility/perf/PerfCounter.hpp
toschmidt/cpp-utility
d58f3a0af32700b742a96143dfee97144dc7c8ce
[ "MIT" ]
1
2021-03-26T19:08:59.000Z
2021-03-26T19:08:59.000Z
src/cpp-utility/perf/PerfCounter.hpp
toschmidt/cpp-utility
d58f3a0af32700b742a96143dfee97144dc7c8ce
[ "MIT" ]
null
null
null
src/cpp-utility/perf/PerfCounter.hpp
toschmidt/cpp-utility
d58f3a0af32700b742a96143dfee97144dc7c8ce
[ "MIT" ]
null
null
null
#pragma once #include <cpp-utility/compiler/CompilerHints.hpp> #include <cstring> #include <linux/perf_event.h> #include <sys/ioctl.h> #include <syscall.h> #include <unistd.h> namespace utility::perf { using PerfConfig = std::pair<uint64_t, uint64_t>; class PerfCounter { private: struct alignas(32)...
27.435484
90
0.607878
toschmidt
63c644f7528d19adcb36891b9e9eb0be17cf9726
806
cpp
C++
tests/omphost/host_bug_libomp.cpp
ye-luo/openmp-target
f042e9d255b521e07ca32fe08799e736d4b1c70c
[ "BSD-3-Clause" ]
5
2020-02-14T03:32:58.000Z
2021-06-21T18:13:02.000Z
tests/omphost/host_bug_libomp.cpp
ye-luo/openmp-target
f042e9d255b521e07ca32fe08799e736d4b1c70c
[ "BSD-3-Clause" ]
1
2020-02-24T01:48:06.000Z
2020-02-24T01:48:57.000Z
tests/omphost/host_bug_libomp.cpp
ye-luo/openmp-target
f042e9d255b521e07ca32fe08799e736d4b1c70c
[ "BSD-3-Clause" ]
4
2020-05-20T16:04:10.000Z
2021-06-22T20:06:39.000Z
#include <iostream> #ifdef _OPENMP #include <omp.h> #else int omp_get_thread_num() { return 1; } #endif int main() { const int size = 4; int wrong_counts = 0; #pragma omp parallel reduction(+:wrong_counts) { int A[size]; for(int i = 0; i < size; i++) A[i] = 0; #pragma omp target teams distri...
19.190476
65
0.514888
ye-luo
63c7133a66a1680e54953472443ad5aebcc1a164
3,784
cpp
C++
test/function/scalar/cospi.cpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
test/function/scalar/cospi.cpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
test/function/scalar/cospi.cpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! Copyright 2015 NumScale SAS Copyright 2015 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //=====...
34.4
100
0.634514
yaeldarmon
63ca894c603dba0988865d3e5c7111faa95a5008
2,287
cpp
C++
edbee-lib/edbee/commands/cutcommand.cpp
UniSwarm/edbee-lib
b1f0b440d32f5a770877b11c6b24944af1131b91
[ "BSD-2-Clause" ]
445
2015-01-04T16:30:56.000Z
2022-03-30T02:27:05.000Z
edbee-lib/edbee/commands/cutcommand.cpp
UniSwarm/edbee-lib
b1f0b440d32f5a770877b11c6b24944af1131b91
[ "BSD-2-Clause" ]
305
2015-01-04T09:20:03.000Z
2020-10-01T08:45:45.000Z
edbee-lib/edbee/commands/cutcommand.cpp
UniSwarm/edbee-lib
b1f0b440d32f5a770877b11c6b24944af1131b91
[ "BSD-2-Clause" ]
49
2015-02-14T01:43:38.000Z
2022-02-15T17:03:55.000Z
/** * Copyright 2011-2012 - Reliable Bits Software by Blommers IT. All Rights Reserved. * Author Rick Blommers */ #include "cutcommand.h" #include <QApplication> #include <QClipboard> #include <QMimeData> #include "edbee/commands/copycommand.h" #include "edbee/models/textdocument.h" #include "edbee/models/change...
27.890244
113
0.647136
UniSwarm
63cd6875187a29c598dc189f355139ae75080873
1,002
cpp
C++
includes/fog.cpp
MuUusta/Hello-GFX
c707570207a2db638458352c2de6c03bce5a6759
[ "MIT" ]
2
2019-05-20T11:12:07.000Z
2021-03-25T04:24:57.000Z
includes/fog.cpp
MuUusta/Hello-GFX
c707570207a2db638458352c2de6c03bce5a6759
[ "MIT" ]
null
null
null
includes/fog.cpp
MuUusta/Hello-GFX
c707570207a2db638458352c2de6c03bce5a6759
[ "MIT" ]
null
null
null
#include <GL/glut.h> #include <GL/gl.h> #include <GL/glu.h> #include <math.h> #include <fog.hpp> #include <string> #include <common.h> using namespace std; void initializeFog(){ glFogi(GL_FOG_MODE, GL_LINEAR); glFogf(GL_FOG_START, 0.0); glFogf(GL_FOG_END, 9.0); float color[] = {0.6, 0.6, 0.6, 1.0}; glFogfv(...
22.266667
66
0.684631
MuUusta
63d73091144362d28c1bf1262c8e1adfd2ceb627
1,218
cpp
C++
HackerRank/Interview Preparation Kit/WarmUp Problems/repeated-strings.cpp
annukamat/My-Competitive-Journey
adb13a5723483cde13e5f3859b3a7ad840b86c97
[ "MIT" ]
7
2018-11-08T11:39:27.000Z
2020-09-10T17:50:57.000Z
HackerRank/Interview Preparation Kit/WarmUp Problems/repeated-strings.cpp
annukamat/My-Competitive-Journey
adb13a5723483cde13e5f3859b3a7ad840b86c97
[ "MIT" ]
null
null
null
HackerRank/Interview Preparation Kit/WarmUp Problems/repeated-strings.cpp
annukamat/My-Competitive-Journey
adb13a5723483cde13e5f3859b3a7ad840b86c97
[ "MIT" ]
2
2019-09-16T14:34:03.000Z
2019-10-12T19:24:00.000Z
#include <bits/stdc++.h> using namespace std; /*int main() { long long int n, maxl=0; string s, p=""; cin >> s; cin >> n; for(long long int i=0; i<n; i++) { if( s.length() >= n ) { break; } p = p + s; } for(int i=0; i<n; i++) { ...
15.417722
53
0.328407
annukamat
63dcb72c79c52b3efb6fe505ac43ed8c8f318902
935
cpp
C++
Greet-core/src/ecs/ECSManager.cpp
Thraix/Greet-Engine
9474a4f4b88a582289fc68e7fc3e62ba2c6d0ec8
[ "Apache-2.0" ]
null
null
null
Greet-core/src/ecs/ECSManager.cpp
Thraix/Greet-Engine
9474a4f4b88a582289fc68e7fc3e62ba2c6d0ec8
[ "Apache-2.0" ]
1
2018-03-30T18:10:37.000Z
2018-03-30T18:10:37.000Z
Greet-core/src/ecs/ECSManager.cpp
Thraix/Greet-Engine-Port
9474a4f4b88a582289fc68e7fc3e62ba2c6d0ec8
[ "Apache-2.0" ]
null
null
null
#include "ECSManager.h" namespace Greet { ECSManager::~ECSManager() { for(auto&& components : componentPool) { delete components.second; } componentPool.clear(); } EntityID ECSManager::CreateEntity() { ASSERT(currentEntityId != (uint32_t)-1, "No more entities available"); entit...
21.25
94
0.648128
Thraix
63e324abce25101720b78772c2aa12e260d2e0a7
255
hpp
C++
addons/niarms/caliber/blackout/ar15.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
addons/niarms/caliber/blackout/ar15.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
addons/niarms/caliber/blackout/ar15.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
// AR-15 Rifles // AR15 - Medium Barrel class hlc_rifle_Bushmaster300: hlc_ar15_base { recoil = QCLASS(300B_MediumBarrel); }; // Black Jack - Medium Barrel class hlc_rifle_bcmblackjack: hlc_rifle_bcmjack { recoil = QCLASS(300B_MediumBarrel); };
21.25
49
0.745098
Theseus-Aegis
63e4027da577945329734e57710b230e5c7871f0
34,965
cpp
C++
src/classic/SxEAM.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
src/classic/SxEAM.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
src/classic/SxEAM.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
// --------------------------------------------------------------------------- // // The ab-initio based multiscale library // // S / P H I / n X // // Copyright: Max-Planck-Institute for Iron Research // 40237 Duesseldorf, Germany // // Contact: https://sxlib.mpie.d...
29.606266
115
0.498956
ashtonmv
63e5ce142b41ff52370b391a71f1250f4dcdfbf7
8,335
cpp
C++
operators/data_sender_bcast_tcp.cpp
damodar123/pythia-core
6b90aafed40aa63185105a652b20c61fc5a4320d
[ "BSD-3-Clause" ]
null
null
null
operators/data_sender_bcast_tcp.cpp
damodar123/pythia-core
6b90aafed40aa63185105a652b20c61fc5a4320d
[ "BSD-3-Clause" ]
null
null
null
operators/data_sender_bcast_tcp.cpp
damodar123/pythia-core
6b90aafed40aa63185105a652b20c61fc5a4320d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2015, Pythia authors (see AUTHORS file). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice...
32.558594
130
0.695381
damodar123
63e7071bdaa4b29f8cf58e81570e3d44530ebdc4
564
cpp
C++
Pyramid Printer/pyramid.cpp
noahkiss/intro-to-cpp
8a4a8836f9e52ddffe6229d8d07e7b34d6a6fbb1
[ "MIT" ]
null
null
null
Pyramid Printer/pyramid.cpp
noahkiss/intro-to-cpp
8a4a8836f9e52ddffe6229d8d07e7b34d6a6fbb1
[ "MIT" ]
null
null
null
Pyramid Printer/pyramid.cpp
noahkiss/intro-to-cpp
8a4a8836f9e52ddffe6229d8d07e7b34d6a6fbb1
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main() { int row = 8; //cout << "How many rows of numbers? "; //cin >> row; row--; for (int line = 0; line <= row; line++) { cout << setw(36 - 4 * line) << 1; for (int num = 1; num <= line; num++) { ...
20.142857
50
0.437943
noahkiss
63f277898b3f89389f3df8d83b2aec541ab3bcf7
240
cc
C++
cpp-tutorial/main/test/hello-greet-test.cc
yuryu/bazel-examples
817f2f84211ca21733a78eefcb0b47aeb2cfddf0
[ "Apache-2.0" ]
null
null
null
cpp-tutorial/main/test/hello-greet-test.cc
yuryu/bazel-examples
817f2f84211ca21733a78eefcb0b47aeb2cfddf0
[ "Apache-2.0" ]
null
null
null
cpp-tutorial/main/test/hello-greet-test.cc
yuryu/bazel-examples
817f2f84211ca21733a78eefcb0b47aeb2cfddf0
[ "Apache-2.0" ]
null
null
null
#include "gtest/gtest.h" #include "../hello-greet.h" TEST(hello_greet_test, empty_string) { EXPECT_EQ(get_greet(""), std::string("Hello ")); } TEST(hello_greet_test, with_name) { EXPECT_EQ(get_greet("abc"), std::string("Hello ")); }
17.142857
53
0.683333
yuryu
120b366f5428ed1a54fb4067419c09d17a495ecd
535
cpp
C++
minorGems/graphics/openGL/testNavigatorGL.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
1
2020-01-16T00:07:11.000Z
2020-01-16T00:07:11.000Z
minorGems/graphics/openGL/testNavigatorGL.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
null
null
null
minorGems/graphics/openGL/testNavigatorGL.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
2
2019-09-17T12:08:20.000Z
2020-09-26T00:54:48.000Z
/* * Modification History * * 2001-August-29 Jason Rohrer * Created. */ #include "TestSceneHandlerGL.h" #include "SceneNavigatorDisplayGL.h" #include "minorGems/util/random/StdRandomSource.h" // simple test function int main() { StdRandomSource *randSource = new StdRandomSource( 2 ); TestSceneHandlerGL ...
15.735294
64
0.702804
PhilipLudington
120efb8217919a11260f48ea71db2767e661803e
1,323
hpp
C++
lab2/13_documentpermissions/application.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
2
2015-10-08T15:07:07.000Z
2017-09-17T10:08:36.000Z
lab2/13_documentpermissions/application.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
null
null
null
lab2/13_documentpermissions/application.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
null
null
null
// (C) 2013-2014, Sergei Zaychenko, KNURE, Kharkiv, Ukraine #ifndef _APPLICATION_HPP_ #define _APPLICATION_HPP_ /*****************************************************************************/ class Document; class User; /*****************************************************************************/ class Applicat...
22.810345
79
0.368103
zaychenko-sergei
1210d99a23384b0d94d7d60e0274abd5d0ce428f
554
cpp
C++
Source/FactoryGame/Buildables/FGBuildableStorage.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/Buildables/FGBuildableStorage.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/Buildables/FGBuildableStorage.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
// This file has been automatically generated by the Unreal Header Implementation tool #include "FGBuildableStorage.h" void AFGBuildableStorage::GetLifetimeReplicatedProps( TArray< FLifetimeProperty >& OutLifetimeProps) const{ } AFGBuildableStorage::AFGBuildableStorage(){ } void AFGBuildableStorage::BeginPlay(){ } vo...
50.363636
109
0.833935
iam-Legend
12218e1b49e132f99abf151cfeba03616ebf1392
1,752
hpp
C++
ext/src/javax/swing/JComponent_ActionStandin.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/javax/swing/JComponent_ActionStandin.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/javax/swing/JComponent_ActionStandin.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <java/awt/event/fwd-POI.hpp> #include <java/beans/fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <javax/swing/fwd-POI.hpp> #include <java/lang/Object.hpp> #include <ja...
30.206897
141
0.712329
pebble2015
1222bf42564258b8741d3a4e1ee4d04f8f9386e6
119
hpp
C++
src/TSBlank.hpp
miRackModular/trowaSoft-VCV
56ab2f95bcd0f788b3eb8714718c972cbb0546d9
[ "MIT" ]
91
2017-11-28T07:23:09.000Z
2022-03-28T08:31:51.000Z
src/TSBlank.hpp
miRackModular/trowaSoft-VCV
56ab2f95bcd0f788b3eb8714718c972cbb0546d9
[ "MIT" ]
59
2017-11-28T06:12:18.000Z
2022-03-18T09:00:59.000Z
src/TSBlank.hpp
miRackModular/trowaSoft-VCV
56ab2f95bcd0f788b3eb8714718c972cbb0546d9
[ "MIT" ]
15
2017-11-28T13:42:35.000Z
2021-12-26T08:03:37.000Z
#ifndef TSBLANK_HPP #define TSBLANK_HPP extern Model* modelBlank; struct TSBlankWidget; struct TSBlankModule; #endif
13.222222
25
0.823529
miRackModular
12282f70ba99bdfd96964f5135a3aef17678e1d3
1,015
cpp
C++
Heap/2/Phase3Main.cpp
PeterTheAmazingAsian/ProjectTestCases
85ddd13216d65267cbf0ea76ea014af902f3d9da
[ "MIT" ]
1
2021-08-20T03:01:16.000Z
2021-08-20T03:01:16.000Z
Heap/2/Phase3Main.cpp
PeterTheAmazingAsian/ProjectTestCases
85ddd13216d65267cbf0ea76ea014af902f3d9da
[ "MIT" ]
null
null
null
Heap/2/Phase3Main.cpp
PeterTheAmazingAsian/ProjectTestCases
85ddd13216d65267cbf0ea76ea014af902f3d9da
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; #include "Heap.cpp" int main() { Heap<short int> A; Heap<double> B; Heap<unsigned long long int> C; Heap<long double> D; Heap<string> E; A.insert(4); A.insert(9); A.insert(3); A.insert(5); A.insert(100); A.printKey(); Heap<short...
19.150943
69
0.483744
PeterTheAmazingAsian
1228306b07197609b134f9c0c3cd7bc9b598adba
13,063
cpp
C++
call_stats5.cpp
juan2357/call_stats5
0eb23f66ab5f4e8c60f16072ba784f9e03ee6589
[ "MIT" ]
null
null
null
call_stats5.cpp
juan2357/call_stats5
0eb23f66ab5f4e8c60f16072ba784f9e03ee6589
[ "MIT" ]
null
null
null
call_stats5.cpp
juan2357/call_stats5
0eb23f66ab5f4e8c60f16072ba784f9e03ee6589
[ "MIT" ]
null
null
null
/* Name: Juan Perez Z#:23026404 Course: COP 3014 Professor: Dr. Lofton Bullard Due Date: 3/20/18 Due Time: 11:59 Total Points: 20 Assignment 8: call_stats5.cpp Description 1. Read the contents of a data file one record at a time in a dynamic array; 2. Process the data that was read from the data file...
44.431973
152
0.548572
juan2357
122c7874cc4a80a35bbb7aeb6e489bef86c8e356
837
cpp
C++
libraries/clock/rtcClock.cpp
PetrakovKirill/nixie_hrono
0eff6aa253b84294dd41c6f233a00dd035514b07
[ "MIT" ]
null
null
null
libraries/clock/rtcClock.cpp
PetrakovKirill/nixie_hrono
0eff6aa253b84294dd41c6f233a00dd035514b07
[ "MIT" ]
null
null
null
libraries/clock/rtcClock.cpp
PetrakovKirill/nixie_hrono
0eff6aa253b84294dd41c6f233a00dd035514b07
[ "MIT" ]
null
null
null
#include "rtc_clock.h" #include <stdio.h> #define SEC_24_HOURS (86400) #define SEC_1_HOUR ( 3600) #define SEC_1_MIN ( 60) rtcClock :: rtcClock(display *pDisplay, rtc *pRtc) { displ = pDisplay; time = pRtc; } void rtcClock :: ShowTime(void) { char printString[5] = {0}; ...
19.465116
59
0.590203
PetrakovKirill
122e0365a281223a404404f59426e148cd88636f
3,356
cpp
C++
examples/07-editor.cpp
cyrilcode/cyfw-examples
18fde906b606ff0b9e589a4ef53125186fe5a578
[ "MIT" ]
null
null
null
examples/07-editor.cpp
cyrilcode/cyfw-examples
18fde906b606ff0b9e589a4ef53125186fe5a578
[ "MIT" ]
null
null
null
examples/07-editor.cpp
cyrilcode/cyfw-examples
18fde906b606ff0b9e589a4ef53125186fe5a578
[ "MIT" ]
null
null
null
#include <cyfw/main.h> #include <cyfw/Gui.h> #include <Resource.h> using namespace std; using namespace cy; class MyApp : public cy::App { Gui gui; bool guiOpen; char text[1024*16]; bool escPressed; bool shouldQuit; ImFont* font1; public: MyApp() : escPressed{false}, shouldQuit{false} { ...
28.440678
109
0.546782
cyrilcode
1238246444b1e6a69dd23a19a4a5c6434680c633
5,567
cpp
C++
SLAM/kalmanSLAM.cpp
Exadios/Bayes-
a1cd9efe2e840506d887bec9b246fd936f2b71e5
[ "MIT" ]
2
2015-04-02T21:45:49.000Z
2018-09-19T01:59:02.000Z
SLAM/kalmanSLAM.cpp
Exadios/Bayes-
a1cd9efe2e840506d887bec9b246fd936f2b71e5
[ "MIT" ]
null
null
null
SLAM/kalmanSLAM.cpp
Exadios/Bayes-
a1cd9efe2e840506d887bec9b246fd936f2b71e5
[ "MIT" ]
null
null
null
/* * Bayes++ the Bayesian Filtering Library * Copyright (c) 2004 Michael Stevens * See accompanying Bayes++.htm for terms and conditions of use. * * $Id$ */ /* * SLAM : Simultaneous Locatization and Mapping * Kalman filter representing representation of SLAM */ // Bayes++ Bayesian filtering schemes #inclu...
28.548718
114
0.668762
Exadios
72f3015cd3c5e5c58ff6aae96895e781fb045bbe
275
cpp
C++
service/src/log.cpp
SibirCTF/2016-service-loogles
0a5a834fc38c6eb8b9a19d780655b377b2c54653
[ "MIT" ]
null
null
null
service/src/log.cpp
SibirCTF/2016-service-loogles
0a5a834fc38c6eb8b9a19d780655b377b2c54653
[ "MIT" ]
null
null
null
service/src/log.cpp
SibirCTF/2016-service-loogles
0a5a834fc38c6eb8b9a19d780655b377b2c54653
[ "MIT" ]
null
null
null
#include "log.h" #include <iostream> void Log::i(QString tag, QString message){ std::cout << tag.toStdString() << " " << message.toStdString() << "\n"; } void Log::e(QString tag, QString message){ std::cerr << tag.toStdString() << " " << message.toStdString() << "\n"; }
25
72
0.618182
SibirCTF
72fe0f933d4d81e493dcce8390c0bb2d8df81482
7,838
cpp
C++
cpp/tests/strings/chars_types_tests.cpp
IbrahimBRammaha/cudf
57ddd5ed0cd7a24500adfc208a08075843f70979
[ "Apache-2.0" ]
1
2020-04-18T23:47:25.000Z
2020-04-18T23:47:25.000Z
cpp/tests/strings/chars_types_tests.cpp
benfred/cudf
3cd4c9f0602840dddb9a0e247d5a0bcf3d7266e1
[ "Apache-2.0" ]
null
null
null
cpp/tests/strings/chars_types_tests.cpp
benfred/cudf
3cd4c9f0602840dddb9a0e247d5a0bcf3d7266e1
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019-2020, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
47.216867
119
0.666114
IbrahimBRammaha
f40922ee3bec89387527ae072474ccee975d5071
33,388
cpp
C++
app_skeleton_shadow.cpp
blu/hello-chromeos-gles2
6ab863b734e053eef3b0185d17951353a49db359
[ "MIT" ]
3
2018-09-03T20:55:24.000Z
2020-10-04T04:36:30.000Z
app_skeleton_shadow.cpp
blu/hello-chromeos-gles2
6ab863b734e053eef3b0185d17951353a49db359
[ "MIT" ]
4
2018-09-06T04:12:41.000Z
2020-10-06T14:43:14.000Z
app_skeleton_shadow.cpp
blu/hello-chromeos-gles2
6ab863b734e053eef3b0185d17951353a49db359
[ "MIT" ]
null
null
null
#if PLATFORM_GL #include <GL/gl.h> #include <GL/glext.h> #include "gles_gl_mapping.hpp" #else #include <EGL/egl.h> #include <GLES3/gl3.h> #include "gles_ext.h" #if GL_OES_depth_texture == 0 #error Missing required extension GL_OES_depth_texture. #endif #if GL_OES_depth24 == 0 #error Missing required extens...
26.689049
134
0.674614
blu
f40a05ac70e14bd8959617d5aad8327fb48c28d6
4,066
hpp
C++
source/Euclid/Numerics/Matrix.Inverse.hpp
kurocha/euclid
932e4a01043442becc696eb337e796ae9578a078
[ "Unlicense", "MIT" ]
7
2015-10-16T20:49:20.000Z
2019-04-17T09:34:35.000Z
source/Euclid/Numerics/Matrix.Inverse.hpp
kurocha/euclid
932e4a01043442becc696eb337e796ae9578a078
[ "Unlicense", "MIT" ]
null
null
null
source/Euclid/Numerics/Matrix.Inverse.hpp
kurocha/euclid
932e4a01043442becc696eb337e796ae9578a078
[ "Unlicense", "MIT" ]
null
null
null
// // Matrix.Inverse.h // Euclid // // Created by Samuel Williams on 27/11/12. // Copyright (c) 2012 Samuel Williams. All rights reserved. // #ifndef _EUCLID_NUMERICS_MATRIX_INVERSE_H #define _EUCLID_NUMERICS_MATRIX_INVERSE_H #include "Matrix.hpp" namespace Euclid { namespace Numerics { template <typename Num...
33.603306
72
0.522873
kurocha
f40db6282a73b8a62b79be6856c0180e3e15b08e
25
cpp
C++
Projects/engine/helpers/hcs_helpers.cpp
Octdoc/SevenDeities
648324b6b9fb907df93fdf2dfab7379369bdfe9e
[ "MIT" ]
null
null
null
Projects/engine/helpers/hcs_helpers.cpp
Octdoc/SevenDeities
648324b6b9fb907df93fdf2dfab7379369bdfe9e
[ "MIT" ]
null
null
null
Projects/engine/helpers/hcs_helpers.cpp
Octdoc/SevenDeities
648324b6b9fb907df93fdf2dfab7379369bdfe9e
[ "MIT" ]
null
null
null
#include "hcs_helpers.h"
12.5
24
0.76
Octdoc
f40f2f5135a7008195368cd891aeb07bfe50573a
4,098
cpp
C++
SDK/ARKSurvivalEvolved_PrimalItem_Spawner_HoverSkiff_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_PrimalItem_Spawner_HoverSkiff_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_PrimalItem_Spawner_HoverSkiff_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_PrimalItem_Spawner_HoverSkiff_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //----------------------------------------------------...
33.048387
170
0.756467
2bite
f4145c53e429367e61c94cfa6f344dc2276b91be
751
hpp
C++
source/cppx-core-language/bit-level/Bit_width.hpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
3
2020-05-24T16:29:42.000Z
2021-09-10T13:33:15.000Z
source/cppx-core-language/bit-level/Bit_width.hpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
source/cppx-core-language/bit-level/Bit_width.hpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
#pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi"). #include <cppx-core-language/assert-cpp/is-c++17-or-later.hpp> #include <cppx-core-language/bit-level/bits_per_.hpp> // cppx::bits_per_ namespace cppx::_ { struct Bit_width{ enum Enum { _8 = 8, _16 = 16, _32 = 32, _64...
27.814815
83
0.612517
alf-p-steinbach
f414c2ac74d2c1baf8725351082e81ddb361e112
5,319
hpp
C++
example/gmres/KokkosSparse_MatrixPrec.hpp
NexGenAnalytics/kokkos-kernels
8381db0486674c1be943de23974821ddfb9e6c29
[ "BSD-3-Clause" ]
null
null
null
example/gmres/KokkosSparse_MatrixPrec.hpp
NexGenAnalytics/kokkos-kernels
8381db0486674c1be943de23974821ddfb9e6c29
[ "BSD-3-Clause" ]
7
2020-05-04T16:43:08.000Z
2022-01-13T16:31:17.000Z
example/gmres/KokkosSparse_MatrixPrec.hpp
NexGenAnalytics/kokkos-kernels
8381db0486674c1be943de23974821ddfb9e6c29
[ "BSD-3-Clause" ]
null
null
null
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Govern...
38.266187
122
0.686595
NexGenAnalytics
f4159273b922c3fe27b033cb6da52b8575f29052
1,013
hpp
C++
libs/rucksack/include/sge/rucksack/axis_policy2.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/rucksack/include/sge/rucksack/axis_policy2.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/rucksack/include/sge/rucksack/axis_policy2.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_RUCKSACK_AXIS_POLICY2_HPP_INCLUDED #define SGE_RUCKSACK_AXIS_POLICY2_HPP_INCLUDED #inc...
27.378378
87
0.757157
cpreh
f41820289cc4554b54692b66b714c05a14cf0815
1,733
cc
C++
ProSupplementalData.cc
hiqsol/reclient
02c2f0c21a4378a5dbcc058f468d98c34e1d1190
[ "BSD-3-Clause" ]
2
2018-11-14T11:18:49.000Z
2018-11-17T05:13:52.000Z
ProSupplementalData.cc
hiqsol/reclient
02c2f0c21a4378a5dbcc058f468d98c34e1d1190
[ "BSD-3-Clause" ]
null
null
null
ProSupplementalData.cc
hiqsol/reclient
02c2f0c21a4378a5dbcc058f468d98c34e1d1190
[ "BSD-3-Clause" ]
null
null
null
#include "ProSupplementalData.h" using namespace std; using namespace domtools; using namespace eppobject::epp; epp_string ProSupplementalData::toXML() { domtools::xml_string_output xmltext; xmltext.setWhitespace(false); xmltext.beginTag("supplementalData:"+(*m_op)); xmltext.putAttribute("xmlns:supp...
32.092593
123
0.661281
hiqsol
f419dab890a8d3c824b32aa5b2db4bf503e94e88
436
cpp
C++
PathTracer/src/platform/opengl/rendering/pipeline/GLPipeline.cpp
Andrispowq/PathTracer
8965ddf5c70f55740955e24242981633f000a354
[ "Apache-2.0" ]
1
2020-12-04T13:36:03.000Z
2020-12-04T13:36:03.000Z
PathTracer/src/platform/opengl/rendering/pipeline/GLPipeline.cpp
Andrispowq/PathTracer
8965ddf5c70f55740955e24242981633f000a354
[ "Apache-2.0" ]
null
null
null
PathTracer/src/platform/opengl/rendering/pipeline/GLPipeline.cpp
Andrispowq/PathTracer
8965ddf5c70f55740955e24242981633f000a354
[ "Apache-2.0" ]
null
null
null
#include "Includes.hpp" #include "GLPipeline.h" namespace Prehistoric { GLPipeline::GLPipeline(Window* window, AssetManager* manager, ShaderHandle shader) : Pipeline(window, manager, shader) { } void GLPipeline::BindPipeline(CommandBuffer* buffer) const { this->buffer = buffer; shader->Bind(buffer); } v...
16.769231
83
0.715596
Andrispowq
f41d2ebfcd0b9298fbc806df961d0606b68acc6b
2,321
cpp
C++
src/tests/mkdarts.cpp
lzzgeo/NLP
2c9e02d62b900d8729a60d3fc68d5954b4d6e3f9
[ "MIT" ]
null
null
null
src/tests/mkdarts.cpp
lzzgeo/NLP
2c9e02d62b900d8729a60d3fc68d5954b4d6e3f9
[ "MIT" ]
null
null
null
src/tests/mkdarts.cpp
lzzgeo/NLP
2c9e02d62b900d8729a60d3fc68d5954b4d6e3f9
[ "MIT" ]
1
2018-05-18T17:17:35.000Z
2018-05-18T17:17:35.000Z
/* Darts -- Double-ARray Trie System $Id: mkdarts.cpp 1674 2008-03-22 11:21:34Z taku $; Copyright(C) 2001-2007 Taku Kudo <taku@chasen.org> All rights reserved. */ #include <darts.h> #include <cstdio> #include <fstream> #include <iostream> #include <vector> #include <string> #include <set> using namespace std...
22.533981
75
0.559673
lzzgeo
f41f552ef840bfc505608ad093bcab39b1b2860c
4,975
cpp
C++
src/plugins/playback/adplug/adplug_lib/src/raw.cpp
emoon/HippoPlayer
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
[ "Apache-2.0", "MIT" ]
67
2018-01-17T17:18:37.000Z
2020-08-24T23:45:56.000Z
src/plugins/playback/adplug/adplug_lib/src/raw.cpp
emoon/HippoPlayer
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
[ "Apache-2.0", "MIT" ]
132
2018-01-17T17:43:25.000Z
2020-09-01T07:41:17.000Z
src/plugins/playback/adplug/adplug_lib/src/raw.cpp
HippoPlayer/HippoPlayer
a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6
[ "Apache-2.0", "MIT" ]
5
2021-02-12T15:23:31.000Z
2022-01-09T15:16:21.000Z
/* * Adplug - Replayer for many OPL2/OPL3 audio file formats. * Copyright (C) 1999 - 2005 Simon Peter, <dn.tlp@gmx.net>, et al. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; ei...
27.185792
89
0.602211
emoon
f421240c152d166a0e6e1371ea7c5f68e3181aba
333
cpp
C++
PS_I_2.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
PS_I_2.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
PS_I_2.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; long taskOfPairing(vector<long> freq) { long ans(0),temp(0); for(long i=0;i<freq.size();i++) { ans += freq[i]/2; temp += freq[i]%2; if(temp==2) { ans++; temp=0; } } ...
15.136364
39
0.417417
prameetu
f421db30335dc6621ce478e934a26609a36b2a70
6,624
cpp
C++
GlobalIllumination/ObjLoader.cpp
wzchua/graphic
71d154b56a268cce6a1b06e275083210e205aa60
[ "Apache-2.0" ]
null
null
null
GlobalIllumination/ObjLoader.cpp
wzchua/graphic
71d154b56a268cce6a1b06e275083210e205aa60
[ "Apache-2.0" ]
null
null
null
GlobalIllumination/ObjLoader.cpp
wzchua/graphic
71d154b56a268cce6a1b06e275083210e205aa60
[ "Apache-2.0" ]
null
null
null
#include "ObjLoader.h" static bool fileExists(const std::string & fileName) { struct stat info; int ret = -1; ret = stat(fileName.c_str(), &info); return 0 == ret; } bool ObjLoader::loadObj(const std::string & path, SceneMaterialManager & sceneMatManager, glm::vec3 & min, glm::vec3 & max) { tinyo...
40.638037
136
0.581824
wzchua
f422ca1e05962361f69734a30a796b7f17fbfcf5
4,762
cpp
C++
src/he_plain_tensor.cpp
jopasserat/he-transformer
d2865be507d2e20568ca5289513925c813aa59e6
[ "Apache-2.0" ]
null
null
null
src/he_plain_tensor.cpp
jopasserat/he-transformer
d2865be507d2e20568ca5289513925c813aa59e6
[ "Apache-2.0" ]
null
null
null
src/he_plain_tensor.cpp
jopasserat/he-transformer
d2865be507d2e20568ca5289513925c813aa59e6
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2018-2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
39.032787
80
0.599748
jopasserat
f4251b865ebba9a3180847e83af578779e06ce52
924
hpp
C++
include/luabind/register_lib.hpp
nfluxgb/luabind
1cb41ff15766b50d3ae09eb805a7087c1bca7738
[ "MIT" ]
null
null
null
include/luabind/register_lib.hpp
nfluxgb/luabind
1cb41ff15766b50d3ae09eb805a7087c1bca7738
[ "MIT" ]
null
null
null
include/luabind/register_lib.hpp
nfluxgb/luabind
1cb41ff15766b50d3ae09eb805a7087c1bca7738
[ "MIT" ]
null
null
null
#pragma once #include "method_definition.hpp" #include <lua.hpp> #include <vector> #include <tuple> #include <iostream> namespace luabind { namespace detail { template<typename CallbackT> struct definition_helper { public: typedef void result_type; definition_helper(std::vector<luaL_Reg>& definitions) : definit...
20.533333
80
0.730519
nfluxgb
f426f608fb2b70cfd0b22993d0f1801305246e76
1,671
cpp
C++
Leetcode/res/Design Tic-Tac-Toe/2.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
1
2022-03-04T16:06:41.000Z
2022-03-04T16:06:41.000Z
Leetcode/res/Design Tic-Tac-Toe/2.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
null
null
null
Leetcode/res/Design Tic-Tac-Toe/2.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
null
null
null
\* Author: allannozomu Runtime: 960 ms Memory: 20 MB*\ class TicTacToe { private: vector<vector<int>> grid; int size; public: /** Initialize your data structure here. */ TicTacToe(int n) { grid = vector<vector<int>>(n, vector<int>(n)); size = n; } int win(int player){ ...
27.85
67
0.495512
AllanNozomu
f4275a3221fe9f700acd759050a4d35b4a04ce9f
1,689
hh
C++
inc/Rt.hh
Tastyep/cpp-rt
c274e86a2fe158746c6a9381c73cf55344823f4e
[ "MIT" ]
null
null
null
inc/Rt.hh
Tastyep/cpp-rt
c274e86a2fe158746c6a9381c73cf55344823f4e
[ "MIT" ]
null
null
null
inc/Rt.hh
Tastyep/cpp-rt
c274e86a2fe158746c6a9381c73cf55344823f4e
[ "MIT" ]
null
null
null
#ifndef RT_RT_HH #define RT_RT_HH #include "Camera.hh" #include "LightModel.hh" #include "Math.hh" #include "SceneObj.hh" #include <SFML/System.hpp> #include <memory> #include <utility> struct InterData { Vector ray; Vector normal; Position vecPos; Position impact; double k; std::shared_ptr<SceneObj> obj...
25.984615
78
0.683245
Tastyep
f42762b5aa553ee5f9951dc37bd23689204b0a58
1,165
cpp
C++
tests/Test_Assert_Enabled.cpp
planar-foundry/PF_Debug
99208f11db21b0624a1fd8d44c62ac2d687c93a1
[ "MIT" ]
null
null
null
tests/Test_Assert_Enabled.cpp
planar-foundry/PF_Debug
99208f11db21b0624a1fd8d44c62ac2d687c93a1
[ "MIT" ]
null
null
null
tests/Test_Assert_Enabled.cpp
planar-foundry/PF_Debug
99208f11db21b0624a1fd8d44c62ac2d687c93a1
[ "MIT" ]
null
null
null
#include <PF_Test/UnitTest.hpp> #include <PF_Debug/Assert.hpp> #include <string.h> using namespace pf::debug; PFTEST_CREATE(Assert_Enabled) { static bool s_in_assert = false; static const char* s_condition; static const char* s_message; set_assert_handler([](const char* condition, const char*, int, ...
23.77551
87
0.672961
planar-foundry
f42919927011cd787d4cc94f180db478649222c5
702
cpp
C++
D3D11_ColorFilter/src/main.cpp
ProjectAsura/D3D11Samples
fb715afc4718cbb657b5fb2f0885304b1967f55e
[ "MIT" ]
null
null
null
D3D11_ColorFilter/src/main.cpp
ProjectAsura/D3D11Samples
fb715afc4718cbb657b5fb2f0885304b1967f55e
[ "MIT" ]
null
null
null
D3D11_ColorFilter/src/main.cpp
ProjectAsura/D3D11Samples
fb715afc4718cbb657b5fb2f0885304b1967f55e
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // File : main.cpp // Desc : Main Entry Point. // Copyright(c) Project Asura. All right reserved. //----------------------------------------------------------------------------- //----------------------------------------------------------...
33.428571
80
0.192308
ProjectAsura
f42bd0434943cfebef8687e5da991c62a42f66ac
44
hpp
C++
src/boost_fusion_include_advance.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_include_advance.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_include_advance.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/include/advance.hpp>
22
43
0.795455
miathedev
f42f3172f6ab385c2c34bedcaa7d40875335d458
7,461
hpp
C++
src/rectangle_base_cover.hpp
phillip-keldenich/circlecover-triangles
f4f0a9ebb30a6e0851410fc4b011471101886869
[ "MIT" ]
null
null
null
src/rectangle_base_cover.hpp
phillip-keldenich/circlecover-triangles
f4f0a9ebb30a6e0851410fc4b011471101886869
[ "MIT" ]
null
null
null
src/rectangle_base_cover.hpp
phillip-keldenich/circlecover-triangles
f4f0a9ebb30a6e0851410fc4b011471101886869
[ "MIT" ]
null
null
null
/* * Copyright 2022 Phillip Keldenich, Algorithms Department, TU Braunschweig * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the righ...
45.218182
130
0.67377
phillip-keldenich
f43c048e3700abac665c7a0c80b8c45f9d3cb295
801
cpp
C++
src/intersection.cpp
kdbohne/pt
78250c676b9cd03f1acdd27dcbec1e0b6209572b
[ "BSD-2-Clause" ]
null
null
null
src/intersection.cpp
kdbohne/pt
78250c676b9cd03f1acdd27dcbec1e0b6209572b
[ "BSD-2-Clause" ]
null
null
null
src/intersection.cpp
kdbohne/pt
78250c676b9cd03f1acdd27dcbec1e0b6209572b
[ "BSD-2-Clause" ]
null
null
null
#include "intersection.h" // TODO: move this somewhere else static constexpr float SHADOW_EPSILON = 0.0001; Intersection::Intersection(const Point3f &p) : p(p), n(Normal3f()), wo(Vector3f()), time(0), entity(nullptr) { } Ray Intersection::spawn_ray(const Vector3f &d) const { // TODO: OffsetRayOrigin()? r...
25.03125
77
0.666667
kdbohne
f43d41f668104b3e2054e11f1d5a8ee843f1be9a
4,128
cpp
C++
webots_ros2_driver/src/plugins/dynamic/Ros2IMU.cpp
TaoYibo1866/webots_ros2
a72c164825663cebbfd27e0649ea51d3abf9bbed
[ "Apache-2.0" ]
176
2019-09-06T07:02:05.000Z
2022-03-27T12:41:10.000Z
webots_ros2_driver/src/plugins/dynamic/Ros2IMU.cpp
harshag37/webots_ros2
08a061e73e3b88d57cc27b662be0f907d8b9f15b
[ "Apache-2.0" ]
308
2019-08-20T12:56:23.000Z
2022-03-29T09:49:22.000Z
webots_ros2_driver/src/plugins/dynamic/Ros2IMU.cpp
omichel/webots_ros2
5b59d0b1fbeff4c3f75a447bd152c10853f4691b
[ "Apache-2.0" ]
67
2019-11-03T00:58:09.000Z
2022-03-18T07:11:28.000Z
// Copyright 1996-2021 Cyberbotics Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
30.352941
133
0.674903
TaoYibo1866
f43e225c5d556ebd17e803de0f1456df2f0dfca6
447
cpp
C++
support_functions.cpp
AVDer/rpi_egl_tests
323d0f7e9926039d8a22f0eb5916d228ba260375
[ "MIT" ]
null
null
null
support_functions.cpp
AVDer/rpi_egl_tests
323d0f7e9926039d8a22f0eb5916d228ba260375
[ "MIT" ]
null
null
null
support_functions.cpp
AVDer/rpi_egl_tests
323d0f7e9926039d8a22f0eb5916d228ba260375
[ "MIT" ]
null
null
null
#include "support_functions.h" #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include "logger.h" size_t get_file_size(const std::string& filename) { struct stat file_stat; if (stat(filename.c_str(), &file_stat) == -1) { Logger::error("File: can't stat file %s", filename.c_str()); retur...
24.833333
87
0.680089
AVDer
f44b43a2412556f681c105ac2156a05b3be638c5
8,058
cpp
C++
src/replacement/Shell32ReplacementLibrary/Shell32ReplacementLibrary.cpp
SecurityInnovation/Holodeck
54b97675a73b668f8eec8d9c8a8c7733e1a53db3
[ "MIT" ]
35
2015-05-16T06:36:47.000Z
2021-08-31T15:32:09.000Z
src_2_8/replacement/Shell32ReplacementLibrary/Shell32ReplacementLibrary.cpp
crypticterminal/Holodeck
54b97675a73b668f8eec8d9c8a8c7733e1a53db3
[ "MIT" ]
3
2015-06-18T06:16:51.000Z
2017-11-16T23:23:59.000Z
src_2_8/replacement/Shell32ReplacementLibrary/Shell32ReplacementLibrary.cpp
crypticterminal/Holodeck
54b97675a73b668f8eec8d9c8a8c7733e1a53db3
[ "MIT" ]
10
2015-04-07T14:45:48.000Z
2021-11-14T15:14:45.000Z
//************************************************************************* // Copyright (C) Security Innovation, LLC, 2002-2004 All Rights Reserved. // // FILE: Shell32ReplacementLibrary.cpp // // DESCRIPTION: Contains replacement library functions for shell32.dll // //===============================================...
38.740385
191
0.557707
SecurityInnovation
f450a114d249a8b268d08f4a270b3082634e4288
196
cpp
C++
src/noj_am/BOJ_14652.cpp
ginami0129g/my-problem-solving
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
1
2020-06-01T12:19:31.000Z
2020-06-01T12:19:31.000Z
src/noj_am/BOJ_14652.cpp
ginami0129g/my-study-history
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
23
2020-11-08T07:14:02.000Z
2021-02-11T11:16:00.000Z
src/noj_am/BOJ_14652.cpp
ginami0129g/my-problem-solving
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n, m, k; int main(void) { cin.tie(NULL); ios_base::sync_with_stdio(false); cin >> n >> m >> k; cout << k / m << ' ' << k % m << '\n'; }
16.333333
40
0.52551
ginami0129g
f45115f9c1ec431a0b9a03f9e2a5e66585a43b7b
6,200
cpp
C++
SVEngine/src/rendercore/SVRenderer.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
34
2018-09-28T08:28:27.000Z
2022-01-15T10:31:41.000Z
SVEngine/src/rendercore/SVRenderer.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
null
null
null
SVEngine/src/rendercore/SVRenderer.cpp
SVEChina/SVEngine
56174f479a3096e57165448142c1822e7db8c02f
[ "MIT" ]
8
2018-10-11T13:36:35.000Z
2021-04-01T09:29:34.000Z
// // SVRenderer.cpp // SVEngine // Copyright 2017-2020 // yizhou Fu,long Yin,longfei Lin,ziyu Xu,xiaofan Li,daming Li // #include "SVRenderer.h" #include "../app/SVInst.h" #include "../work/SVTdCore.h" #include "../mtl/SVTexMgr.h" #include "../mtl/SVTexture.h" #include "../mtl/SVTextureIOS.h" #include "SVRenderMgr.h"...
24.124514
122
0.659516
SVEChina
f45d57365119bcd630de4c8b05560130ca575bc5
3,172
cpp
C++
Code/Engine/Renderer/SpriteRenderer/ParticleSystem/ParticleEmitter2D.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
2
2017-10-02T03:18:55.000Z
2018-11-21T16:30:36.000Z
Code/Engine/Renderer/SpriteRenderer/ParticleSystem/ParticleEmitter2D.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
Code/Engine/Renderer/SpriteRenderer/ParticleSystem/ParticleEmitter2D.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
#include "Engine/Renderer/SpriteRenderer/ParticleSystem/ParticleEmitter2D.hpp" //--------------------------------------------------------------------------------------------------------------------------- //STRUCTORS //----------------------------------------------------------------------------------------------------...
32.367347
166
0.546974
ntaylorbishop
f46045c8cd0a5d9e8c8ffe7ece82652884d27dcc
2,164
hpp
C++
Logger/include/Logger/sink/log_sink.hpp
tmiguelf/Logger
7cf568a97711480a7ba23d5f6adeb49d05cd6f78
[ "MIT" ]
null
null
null
Logger/include/Logger/sink/log_sink.hpp
tmiguelf/Logger
7cf568a97711480a7ba23d5f6adeb49d05cd6f78
[ "MIT" ]
null
null
null
Logger/include/Logger/sink/log_sink.hpp
tmiguelf/Logger
7cf568a97711480a7ba23d5f6adeb49d05cd6f78
[ "MIT" ]
null
null
null
//======== ======== ======== ======== ======== ======== ======== ======== /// \file /// /// \copyright /// Copyright (c) 2020 Tiago Miguel Oliveira Freire /// /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation files (the "Software"), to ...
32.298507
83
0.692699
tmiguelf
f464332a6ff3c22a903eee8dc0556f596c8578a1
988
hpp
C++
tests/app/src/opengl2/mordaren/OpenGL2Renderer.hpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
1
2018-10-27T05:07:05.000Z
2018-10-27T05:07:05.000Z
tests/app/src/opengl2/mordaren/OpenGL2Renderer.hpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
null
null
null
tests/app/src/opengl2/mordaren/OpenGL2Renderer.hpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
null
null
null
#pragma once #include <GL/glew.h> #include <morda/render/Renderer.hpp> #include "OpenGL2Factory.hpp" namespace mordaren{ class OpenGL2Renderer : public morda::Renderer{ GLuint defaultFramebuffer; public: OpenGL2Renderer(std::unique_ptr<OpenGL2Factory> factory = utki::makeUnique<OpenGL2Factory>()); OpenGL2Rend...
23.52381
120
0.783401
Mactor2018
f46455af60b3482d696ecb4c42ed31fd0639761d
16,398
hh
C++
src/cpu/kvm/base.hh
joerocklin/gem5
bc199672491f16e678c35d2187917738c24d6628
[ "BSD-3-Clause" ]
null
null
null
src/cpu/kvm/base.hh
joerocklin/gem5
bc199672491f16e678c35d2187917738c24d6628
[ "BSD-3-Clause" ]
null
null
null
src/cpu/kvm/base.hh
joerocklin/gem5
bc199672491f16e678c35d2187917738c24d6628
[ "BSD-3-Clause" ]
2
2018-11-06T18:41:38.000Z
2019-01-30T00:51:40.000Z
/* * Copyright (c) 2012 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
31.234286
78
0.664715
joerocklin
f467177ede885e9e945e308fb4afbee637655127
1,392
hpp
C++
include/lol/op/PostRecofrienderV1RegistrationsByNetwork.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/op/PostRecofrienderV1RegistrationsByNetwork.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/op/PostRecofrienderV1RegistrationsByNetwork.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_op.hpp" #include <functional> #include "../def/RecofrienderUrlResource.hpp" namespace lol { template<typename T> inline Result<RecofrienderUrlResource> PostRecofrienderV1RegistrationsByNetwork(T& _client, const std::string& network) { try { return ToResult<RecofrienderUrl...
42.181818
162
0.66523
Maufeat
c2e551d860206d075ffe8d70b56002208d5c2a5f
13,781
cpp
C++
Sourcecode/mx/core/elements/ArticulationsChoice.cpp
diskzero/MusicXML-Class-Library
bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db
[ "MIT" ]
null
null
null
Sourcecode/mx/core/elements/ArticulationsChoice.cpp
diskzero/MusicXML-Class-Library
bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db
[ "MIT" ]
null
null
null
Sourcecode/mx/core/elements/ArticulationsChoice.cpp
diskzero/MusicXML-Class-Library
bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db
[ "MIT" ]
null
null
null
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License #include "mx/core/elements/ArticulationsChoice.h" #include "mx/core/FromXElement.h" #include "mx/core/elements/Accent.h" #include "mx/core/elements/BreathMark.h" #include "mx/core/elements/Caesura.h" #include "mx/co...
26.299618
127
0.465641
diskzero
c2e6174a44630e91dd32c8319bd19c32d7fff6fd
3,750
cpp
C++
src/PA02/MedianFiltering.cpp
pateldeev/cs474
4aeb7c6a5317256e9e1f517d614a83b5b52f9f52
[ "Xnet", "X11" ]
null
null
null
src/PA02/MedianFiltering.cpp
pateldeev/cs474
4aeb7c6a5317256e9e1f517d614a83b5b52f9f52
[ "Xnet", "X11" ]
null
null
null
src/PA02/MedianFiltering.cpp
pateldeev/cs474
4aeb7c6a5317256e9e1f517d614a83b5b52f9f52
[ "Xnet", "X11" ]
null
null
null
#include "PA02/HelperFunctions.h" #include "ReadWrite.h" #include <iostream> #include <ctime> #include <string> #include <algorithm> #include <sstream> // Corrupt the image with salt and pepper void saltPepperCorruption(const ImageType &, ImageType &, int); // Median filtering function void medianMask(const ImageTyp...
29.296875
91
0.652
pateldeev
c2e80a0a4dd13a5aabb43f1b3dfc06f9b7c51670
5,233
cpp
C++
utils/wikistat-loader/main.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
3
2016-12-30T14:19:47.000Z
2021-11-13T06:58:32.000Z
utils/wikistat-loader/main.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
1
2017-01-13T21:29:36.000Z
2017-01-16T18:29:08.000Z
utils/wikistat-loader/main.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
1
2021-02-07T16:00:54.000Z
2021-02-07T16:00:54.000Z
#include <boost/program_options.hpp> #include <DB/IO/ReadBuffer.h> #include <DB/IO/WriteBuffer.h> #include <DB/IO/ReadHelpers.h> #include <DB/IO/WriteHelpers.h> #include <DB/IO/ReadBufferFromFileDescriptor.h> #include <DB/IO/WriteBufferFromFileDescriptor.h> /** Reads uncompressed wikistat data from stdin, * and w...
23.257778
117
0.611504
rudneff
c2ea6e86714e98c2dd15582c5eaf0de13f51164c
782
cpp
C++
libraries/physics/src/ContactInfo.cpp
stojce/hifi
8e6c860a243131859c0706424097db56e6a604bd
[ "Apache-2.0" ]
7
2015-08-24T17:01:00.000Z
2021-03-30T09:30:40.000Z
libraries/physics/src/ContactInfo.cpp
stojce/hifi
8e6c860a243131859c0706424097db56e6a604bd
[ "Apache-2.0" ]
1
2016-01-17T17:49:05.000Z
2016-01-17T17:49:05.000Z
libraries/physics/src/ContactInfo.cpp
stojce/hifi
8e6c860a243131859c0706424097db56e6a604bd
[ "Apache-2.0" ]
1
2021-12-07T23:16:45.000Z
2021-12-07T23:16:45.000Z
// // ContactEvent.cpp // libraries/physcis/src // // Created by Andrew Meadows 2015.01.20 // Copyright 2015 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "ContactInfo.h" void Conta...
27.928571
88
0.721228
stojce
c2eacebb56e52cde22eef90af868baf2404fa613
66
cpp
C++
src/array/destructor.cpp
violador/catalyst
40d5c1dd04269a0764a9804711354a474bc43c15
[ "Unlicense" ]
null
null
null
src/array/destructor.cpp
violador/catalyst
40d5c1dd04269a0764a9804711354a474bc43c15
[ "Unlicense" ]
null
null
null
src/array/destructor.cpp
violador/catalyst
40d5c1dd04269a0764a9804711354a474bc43c15
[ "Unlicense" ]
null
null
null
// // // inline ~array() { #pragma omp master delete[] data; };
7.333333
19
0.545455
violador
c2eda66913ce0805dfc4de582df933966e0a15e4
5,524
cpp
C++
Source/Core/Pipeline.cpp
milkru/foton
cf16abf02db80677ae22ff527aff5ef1c3702140
[ "MIT" ]
null
null
null
Source/Core/Pipeline.cpp
milkru/foton
cf16abf02db80677ae22ff527aff5ef1c3702140
[ "MIT" ]
null
null
null
Source/Core/Pipeline.cpp
milkru/foton
cf16abf02db80677ae22ff527aff5ef1c3702140
[ "MIT" ]
null
null
null
#include "Pipeline.h" #include "Device.h" #include "Swapchain.h" #include "DescriptorSet.h" #include "Shader.h" FT_BEGIN_NAMESPACE static void CreatePipelineLayout(const VkDevice inDevice, const VkDescriptorSetLayout inDescriptorSetLayout, VkPipelineLayout& outPipelineLayout) { VkPipelineLayoutCreateInfo pipelineLay...
49.321429
225
0.857169
milkru
c2ee0f2a77e78dfb631f1695270fa8781d8cc0c2
1,903
cpp
C++
MerdogRT/interpreter/source/word_record.cpp
HttoHu/MerdogUWP
4d823f1c95b655151f8d972018d6caed33e187ee
[ "MIT" ]
9
2018-03-05T15:07:44.000Z
2019-12-07T10:15:00.000Z
MerdogRT/interpreter/source/word_record.cpp
HttoHu/MerdogUWP
4d823f1c95b655151f8d972018d6caed33e187ee
[ "MIT" ]
null
null
null
MerdogRT/interpreter/source/word_record.cpp
HttoHu/MerdogUWP
4d823f1c95b655151f8d972018d6caed33e187ee
[ "MIT" ]
1
2019-11-14T08:09:19.000Z
2019-11-14T08:09:19.000Z
/* * MIT License * Copyright (c) 2019 Htto Hu */ #include "../include/word_record.hpp" #include "../include/function.hpp" using namespace Mer; std::map<type_code_index, std::map<std::string, type_code_index>> type_op_type_map; void Mer::SymbolTable::end_block() { for (auto& a : data.front()) _rem_vec.push_back(a.sec...
22.127907
135
0.612191
HttoHu
c2f216b53cbfc352125ed7c8d871df234488669a
376
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlAttributeAttribute.Namespace Example/CPP/source.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
#using <System.Xml.dll> using namespace System; using namespace System::IO; using namespace System::Xml; using namespace System::Xml::Serialization; // <Snippet1> public ref class Car { public: [XmlAttributeAttribute(Namespace="Make")] String^ MakerName; [XmlAttributeAttribute(Namespace=...
16.347826
46
0.680851
hamarb123
c2f6288e1724985eb2d9ed4dc4e5350fa3115709
14,977
cpp
C++
Windows/WReformatRectifyDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
11
2020-03-10T02:06:00.000Z
2022-02-17T19:59:50.000Z
Windows/WReformatRectifyDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
null
null
null
Windows/WReformatRectifyDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
5
2020-05-30T00:59:22.000Z
2021-12-06T01:37:05.000Z
// MultiSpec // // Copyright 1988-2020 Purdue Research Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at: https://www.apach...
30.880412
89
0.700007
cas-nctu
c2f7051af23e47299601f57e987c6ad7ce511145
1,068
cpp
C++
libz80emu/iManager/iManager.cpp
Benji377/Z80Emu
cc0d12a267e16e1c03c7cc8ef35b70ef9b582e54
[ "Apache-2.0" ]
1
2021-05-25T08:18:14.000Z
2021-05-25T08:18:14.000Z
libz80emu/iManager/iManager.cpp
Benji377/Z80Emu
cc0d12a267e16e1c03c7cc8ef35b70ef9b582e54
[ "Apache-2.0" ]
7
2021-01-11T09:24:16.000Z
2021-05-25T16:04:19.000Z
libz80emu/iManager/iManager.cpp
Benji377/Z80Emu
cc0d12a267e16e1c03c7cc8ef35b70ef9b582e54
[ "Apache-2.0" ]
2
2021-01-19T14:53:55.000Z
2021-05-25T08:23:27.000Z
#include "iManager.h" IManager::IManager(Z80* z80){ FUN(); this->z80 = z80; this->iSet = new ISet(this->z80); } IManager::~IManager(){ FUN(); delete this->iSet; } Z80EmuInstrucion IManager::fetchIS(){ FUN(); if (this->ISLoaded){ LOGW("finalizeIS() was not called! Please call to c...
22.25
91
0.622659
Benji377
c2fa769dab75c7d73464dda82e4826a14d024651
1,056
hpp
C++
include/fingera/stream.hpp
fingera/fingera_header
fbda3515859eec269e6a67196276ac18251bdb49
[ "Apache-2.0" ]
1
2018-12-24T07:13:05.000Z
2018-12-24T07:13:05.000Z
include/fingera/stream.hpp
fingera/fingera_header
fbda3515859eec269e6a67196276ac18251bdb49
[ "Apache-2.0" ]
null
null
null
include/fingera/stream.hpp
fingera/fingera_header
fbda3515859eec269e6a67196276ac18251bdb49
[ "Apache-2.0" ]
null
null
null
/** * @brief 实现基础的Stream * * @file stream.hpp * @author liuyujun@fingera.cn * @date 2018-09-18 */ #pragma once #include <cstdint> #include <cstring> #include <stdexcept> #include <vector> namespace fingera { class write_stream { protected: std::vector<uint8_t> _data; public: write_stream() {} ~write_...
19.555556
76
0.651515
fingera
c2fdb03ea09747b4f3e5041388a71db3e156c7b7
1,537
hpp
C++
SDK/ARKSurvivalEvolved_PrimalItemArmor_TekPants_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_PrimalItemArmor_TekPants_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_PrimalItemArmor_TekPants_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_PrimalItemArmor_TekPants_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //---------------------------------------------...
41.540541
173
0.50488
2bite
c2feb4e8a5fec1bde3f5acbb3603162c91e14111
4,285
cpp
C++
IvyProjects/IvyEngine/dx/DxBuffer.cpp
endy/Ivy
23d5a61d34793c74527ef803bf3693df79291539
[ "MIT" ]
null
null
null
IvyProjects/IvyEngine/dx/DxBuffer.cpp
endy/Ivy
23d5a61d34793c74527ef803bf3693df79291539
[ "MIT" ]
null
null
null
IvyProjects/IvyEngine/dx/DxBuffer.cpp
endy/Ivy
23d5a61d34793c74527ef803bf3693df79291539
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////////////////////// /// /// Ivy Engine /// /// Copyright 2010-2011, Brandon Light /// All rights reserved. /// /////////////////////////////////////////////////////////////////////////////////////////////////// #include "DxBuff...
32.462121
99
0.365228
endy
6c0244634110a1519c681b39070a184245cf2763
860
cpp
C++
src/GameOverState.cpp
Natman64/BearAttack
77292fd38b45f3f21fdf4833ae653818f9e1cf00
[ "CC0-1.0" ]
null
null
null
src/GameOverState.cpp
Natman64/BearAttack
77292fd38b45f3f21fdf4833ae653818f9e1cf00
[ "CC0-1.0" ]
null
null
null
src/GameOverState.cpp
Natman64/BearAttack
77292fd38b45f3f21fdf4833ae653818f9e1cf00
[ "CC0-1.0" ]
null
null
null
#include "GameOverState.h" #include "GameState.h" namespace bears { GameOverState::GameOverState(Game* game, bool win) : loaded(false), game(game), win(win) { if (win) { text = "Congratulations! You killed all of the children in the name of the LORD."; } els...
20
94
0.495349
Natman64
6c09dc1bf052e904475ee699ef6138caf8ee3a64
3,985
cpp
C++
Old/m4a_Plugin/m4aInfoManager.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
3
2022-01-05T08:47:51.000Z
2022-01-06T12:42:18.000Z
Old/m4a_Plugin/m4aInfoManager.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
null
null
null
Old/m4a_Plugin/m4aInfoManager.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
1
2022-01-06T16:12:58.000Z
2022-01-06T16:12:58.000Z
#include "stdafx.h" #include "m4ainfomanager.h" #include "mp4ff.h" #include "utils.h" static int GetAACTrack(mp4ff_t *infile) { /* find AAC track */ int i, rc; int numTracks = mp4ff_total_tracks(infile); for (i = 0; i < numTracks; i++) { unsigned char *buff = NULL; ...
20.863874
80
0.633626
Harteex
6c0c63d2bc9f00fd0c98cc6409f37e333a929049
2,282
hpp
C++
include/outputformat.hpp
nnaumenko/metafjson
6cd7fdc0d888481bead5d1cc2cff29fb41934167
[ "MIT" ]
null
null
null
include/outputformat.hpp
nnaumenko/metafjson
6cd7fdc0d888481bead5d1cc2cff29fb41934167
[ "MIT" ]
null
null
null
include/outputformat.hpp
nnaumenko/metafjson
6cd7fdc0d888481bead5d1cc2cff29fb41934167
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Nick Naumenko (https://gitlab.com/nnaumenko, * https:://github.com/nnaumenko) * All rights reserved. * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #ifndef OUTPUTFORMAT_HPP #define OUTPUTFORMAT_HPP #include <iostream> ...
27.166667
82
0.691937
nnaumenko
6c10fbdd2d044eb05045c14faf2bc6506da466f3
999
hpp
C++
include/RED4ext/Scripting/Natives/Generated/AI/ArgumentMapping.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/AI/ArgumentMapping.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/AI/ArgumentMapping.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/Handle.hpp> #include <RED4ext/NativeTypes.hpp> #include <RED4ext/Scripting/IScriptable.hpp> #include <RED4ext/Scripting/Natives/Generated/AI/ArgumentTy...
28.542857
74
0.742743
jackhumbert
6c116a9e2695047896718d2cee553286bfc56b7b
5,373
hpp
C++
include/HoudiniEngineUnity/HAPI_TransformEuler.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HAPI_TransformEuler.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HAPI_TransformEuler.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/V...
47.973214
584
0.729015
RedBrumbler
6c1ba257a16f8039573499420f9f1ce9037da361
4,180
cpp
C++
src/RInput.cpp
chilingg/redopera
c76d6e88c1f7bb0c048191c0c7eca41ed38754af
[ "MIT" ]
null
null
null
src/RInput.cpp
chilingg/redopera
c76d6e88c1f7bb0c048191c0c7eca41ed38754af
[ "MIT" ]
null
null
null
src/RInput.cpp
chilingg/redopera
c76d6e88c1f7bb0c048191c0c7eca41ed38754af
[ "MIT" ]
null
null
null
#include <RInput.h> using namespace Redopera; RSignal<bool, int> RInput::joyPresented; RSignal<int> RInput::wheeled; std::unordered_map<SDL_Joystick*, RInput::Joystick> RInput::joysticks_; RInput::Key RInput::key_; RInput::Mouse RInput::mouse_; void RInput::process(const SDL_Event &e) { switch(e.type) { ...
22.352941
99
0.640909
chilingg
6c1eadea3fcb04d352063da9fd78bf881707a984
1,096
cpp
C++
Gaia/Materials/material.cpp
tim0901/Gaia
ffe17ac9deedafd577ceb35efda37e7d573eeebd
[ "MIT" ]
null
null
null
Gaia/Materials/material.cpp
tim0901/Gaia
ffe17ac9deedafd577ceb35efda37e7d573eeebd
[ "MIT" ]
null
null
null
Gaia/Materials/material.cpp
tim0901/Gaia
ffe17ac9deedafd577ceb35efda37e7d573eeebd
[ "MIT" ]
null
null
null
#include "Material.h" Vec3d Reflect(const Vec3d& inDirection, const Vec3d& normal) { return unit_vector(2.0 * dot(inDirection, normal) * normal - inDirection); } bool Refract(const Vec3d& inDirection, const Vec3d& normal, const double& eta, Vec3d& outDirection) { Vec3d inBound = -inDirection; double cosTheta_i = ...
32.235294
160
0.620438
tim0901
6c22daa66cd3050a9d6952ce63ac6a871e1b33f3
1,541
cpp
C++
src/AdventOfCode2020/Day10-AdapterArray/test_Day10-AdapterArray.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2020/Day10-AdapterArray/test_Day10-AdapterArray.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2020/Day10-AdapterArray/test_Day10-AdapterArray.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
#include "Day10-AdapterArray.h" #include <AdventOfCodeCommon/DisableLibraryWarningsMacros.h> __BEGIN_LIBRARIES_DISABLE_WARNINGS #include "CppUnitTest.h" __END_LIBRARIES_DISABLE_WARNINGS using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace CurrentDay = AdventOfCode::Year2020::Day10; TEST_CLASS(Da...
19.024691
109
0.5756
dbartok
6c2aff30b36928ef20331a4dee52752a14e8a654
2,123
cpp
C++
ui/src/clickandgoslider.cpp
joepadmiraal/qlcplus
ca7f083012c92eb4263bc38d957b2feda6d04185
[ "Apache-2.0" ]
2
2016-12-12T15:32:27.000Z
2021-05-18T17:55:30.000Z
ui/src/clickandgoslider.cpp
joepadmiraal/qlcplus
ca7f083012c92eb4263bc38d957b2feda6d04185
[ "Apache-2.0" ]
null
null
null
ui/src/clickandgoslider.cpp
joepadmiraal/qlcplus
ca7f083012c92eb4263bc38d957b2feda6d04185
[ "Apache-2.0" ]
null
null
null
/* Q Light Controller Plus clickandgoslider.cpp Copyright (c) Massimo Callegari Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.txt ...
28.306667
97
0.655205
joepadmiraal
6c2d3173c706cc5738410995563154f1f0f33f59
3,309
hh
C++
tests/InteractivityTest.hh
azjezz/hh-clilib
ef39116c527ac2496c985657f93af0253c9d8227
[ "MIT" ]
null
null
null
tests/InteractivityTest.hh
azjezz/hh-clilib
ef39116c527ac2496c985657f93af0253c9d8227
[ "MIT" ]
null
null
null
tests/InteractivityTest.hh
azjezz/hh-clilib
ef39116c527ac2496c985657f93af0253c9d8227
[ "MIT" ]
null
null
null
<?hh // strict /* * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ namespace Facebook\CLILib; use namespace HH\Lib\{Tuple, Vec}; use function Facebook\FBExpe...
31.817308
77
0.607434
azjezz