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
108
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
67k
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
5ab5452484bd28924f5702f898a4fabeb8873687
1,590
cpp
C++
graph-source-code/350-E/4644199.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/350-E/4644199.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/350-E/4644199.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <stdio.h> #include <iostream> #include <string.h> #include <stdlib.h> #include <time.h> #define abs(a) (((a)>0)?(a):(-(a))) #define max(a, b) (((a)>(b))?(a):(b)) #define min(a, b) (((a)<(b))?(a):(b)) #define N 303 #define oo int(1e9) #define eps 1e-8 using namespace std; bool g[N][N],...
15.588235
59
0.330189
AmrARaouf
5ab7c41752f47e96c7046a5f0bef21e0a5476634
3,475
cpp
C++
source/AnimationPlayer.cpp
sindney/nest3d-cpp
033575364c14a48499ddbb0cbf489b7e72b0d9b7
[ "MIT" ]
2
2018-01-11T13:00:14.000Z
2018-01-12T02:02:16.000Z
source/AnimationPlayer.cpp
sindney/nest3d-cpp
033575364c14a48499ddbb0cbf489b7e72b0d9b7
[ "MIT" ]
null
null
null
source/AnimationPlayer.cpp
sindney/nest3d-cpp
033575364c14a48499ddbb0cbf489b7e72b0d9b7
[ "MIT" ]
null
null
null
#include <iterator> #include "AnimationPlayer.h" namespace nest { using namespace std; void AnimationPlayer::advanceTime(float dt) { time += dt; int i, j = poses.size(); PoseData *pose = NULL; AnimationChannel *channel = NULL; vector<QuatKeyFrame>::iterator k; QuatKeyFrame *quatFirst = NULL, *quatSe...
27.579365
94
0.565755
sindney
5ac1a14ceb5b36616b777529e204a4532891459e
13,823
cpp
C++
src/graphics/bloomFFT.cpp
liuhongyi0101/SaturnRender
c6ec7ee39ef14749b09be4ae47f76613c71533cf
[ "MIT" ]
2
2019-12-24T04:00:36.000Z
2022-01-26T02:44:04.000Z
src/graphics/bloomFFT.cpp
liuhongyi0101/SaturnRender
c6ec7ee39ef14749b09be4ae47f76613c71533cf
[ "MIT" ]
null
null
null
src/graphics/bloomFFT.cpp
liuhongyi0101/SaturnRender
c6ec7ee39ef14749b09be4ae47f76613c71533cf
[ "MIT" ]
2
2020-09-26T04:19:40.000Z
2021-02-19T07:24:57.000Z
#include "graphics/bloomFFT.h" #include "utils/loadshader.h" BloomFFT::BloomFFT(vks::VulkanDevice * vulkanDevice) { this->vulkanDevice = vulkanDevice; this->device = vulkanDevice->logicalDevice; } BloomFFT::~BloomFFT() { } // Find and create a compute capable device queue void BloomFFT::getComputeQueue() { uint32...
43.196875
143
0.818419
liuhongyi0101
5ac3f2e8ad5d7b8f0836af365f2c48061ba84948
604
cpp
C++
InterviewBit/Tree Data Structure/TwoSumBinaryTree.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
InterviewBit/Tree Data Structure/TwoSumBinaryTree.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
InterviewBit/Tree Data Structure/TwoSumBinaryTree.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
2
2021-01-23T14:35:48.000Z
2021-03-15T05:04:24.000Z
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ void inorder(TreeNode *root, vector<int> &arr) { if (root == NULL) { return; } inorder(root->left, arr); arr.push_back(root->...
18.30303
59
0.559603
Code-With-Aagam
5ac525f8af8438fdc1a9aa2dfa5bfd4d703a8344
4,474
cpp
C++
src/Jogo/Fases/FaseMontanha.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
src/Jogo/Fases/FaseMontanha.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
src/Jogo/Fases/FaseMontanha.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
// // FaseMontanha.cpp // Jogo-SFML // // Created by Matheus Kunnen Ledesma on 11/10/19. // Copyright © 2019 Matheus Kunnen Ledesma. All rights reserved. // #include "FaseMontanha.hpp" namespace Game { namespace Fases { // Const const string FaseMontanha::CONFIG_FILE("Resources/config/fase_b_config.json"); // C...
35.507937
194
0.660483
MatheusKunnen
5ac62f82592e415ee827d5189293c7f3233b15a7
165
cpp
C++
codeforces/617A.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
3
2018-01-08T02:52:51.000Z
2021-03-03T01:08:44.000Z
codeforces/617A.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
null
null
null
codeforces/617A.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
1
2020-08-13T18:07:35.000Z
2020-08-13T18:07:35.000Z
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; int ans = 0; if(n % 5 != 0) ans++; printf("%d\n", (n / 5) + ans); return 0; }
15
32
0.50303
cosmicray001
5acc4ab4d9834f6261945e202b17ad0eaa29e43f
394
cpp
C++
src/State.cpp
JoanStinson/AI_Decisions
22632090c80b4a12e0f1049b4e6c78be3d024b2a
[ "MIT" ]
3
2021-03-31T03:42:42.000Z
2021-12-13T03:03:03.000Z
src/State.cpp
JoanStinson/AI_Decisions
22632090c80b4a12e0f1049b4e6c78be3d024b2a
[ "MIT" ]
null
null
null
src/State.cpp
JoanStinson/AI_Decisions
22632090c80b4a12e0f1049b4e6c78be3d024b2a
[ "MIT" ]
1
2021-12-13T03:02:55.000Z
2021-12-13T03:02:55.000Z
#include "State.h" State::State() { bankPosition = Vector2D(208, 624); homePosition = Vector2D(624, 624); minePosition = Vector2D(272, 112); saloonPosition = Vector2D(1040, 624); } State::~State() { delete agent; } void State::Init(Agent * agent, Uint32 delayTime) { this->agent = agent; this->delayTime = dela...
17.909091
51
0.682741
JoanStinson
5ace0782dec3b99ee0a5f4f46b0d1c899d9277ad
2,326
cpp
C++
graph-source-code/362-E/8343555.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/362-E/8343555.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/362-E/8343555.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <algorithm> #include <climits> #include <vector> #include <queue> #include <cstdlib> #include <string> #include <set> #include <stack> #define LL long long #define pii pair<int,int> #define INF 0x3f3f3f3f using name...
23.029703
65
0.410146
AmrARaouf
5ace2172fa2ef85d29199534b22ab9249c590b0d
1,792
hpp
C++
tools/json-ast-exporter/src/json_utils.hpp
TheoKant/cclyzer-souffle
dfcd01daa592a2356e36aaeaa9c933305c253cba
[ "MIT" ]
63
2016-02-06T21:06:40.000Z
2021-11-16T19:58:27.000Z
tools/json-ast-exporter/src/json_utils.hpp
TheoKant/cclyzer-souffle
dfcd01daa592a2356e36aaeaa9c933305c253cba
[ "MIT" ]
11
2019-05-23T20:55:12.000Z
2021-12-08T22:18:01.000Z
tools/json-ast-exporter/src/json_utils.hpp
TheoKant/cclyzer-souffle
dfcd01daa592a2356e36aaeaa9c933305c253cba
[ "MIT" ]
14
2016-02-21T17:12:36.000Z
2021-09-26T02:48:41.000Z
#ifndef JSON_UTILS_HPP__ #define JSON_UTILS_HPP__ #include <string> #include <clang-c/Index.h> #include <jsoncons/json.hpp> namespace cclyzer { namespace ast_exporter { namespace jsonexport { typedef jsoncons::json json_t; // Recording routines void record_extent( j...
32
72
0.541853
TheoKant
62c26d2c087b23d3802b9a3ea8eeba0faf253fea
601
cpp
C++
238-product-of-array-except-self/238-product-of-array-except-self.cpp
dishanp/LeetCode-World
6c49c8731dae772fb7bc47f777a4d3b3e01dd70e
[ "MIT" ]
null
null
null
238-product-of-array-except-self/238-product-of-array-except-self.cpp
dishanp/LeetCode-World
6c49c8731dae772fb7bc47f777a4d3b3e01dd70e
[ "MIT" ]
null
null
null
238-product-of-array-except-self/238-product-of-array-except-self.cpp
dishanp/LeetCode-World
6c49c8731dae772fb7bc47f777a4d3b3e01dd70e
[ "MIT" ]
null
null
null
class Solution { public: vector<int> productExceptSelf(vector<int>& nums) { int p=1; int ctr=0; int zp=1; for(int i:nums) { p*=i; if(i==0) ++ctr; if(ctr>1){ vector<int>ans(nums.size(),0); retu...
20.724138
54
0.344426
dishanp
62c349af6daabc492e41738d9210e08562d02708
1,499
cpp
C++
alon/primeNumbers.cpp
Jhoneagle/CplusplusCollection
a58d2407fbd397749d7bc07796ac052f632dcb73
[ "MIT" ]
null
null
null
alon/primeNumbers.cpp
Jhoneagle/CplusplusCollection
a58d2407fbd397749d7bc07796ac052f632dcb73
[ "MIT" ]
null
null
null
alon/primeNumbers.cpp
Jhoneagle/CplusplusCollection
a58d2407fbd397749d7bc07796ac052f632dcb73
[ "MIT" ]
1
2020-03-09T22:18:40.000Z
2020-03-09T22:18:40.000Z
#include<bits/stdc++.h> #include <iostream> using namespace std; bool prime(long long n) { if (n <= 3) { return (n > 1); } if (((n % 2) == 0) || ((n % 3) == 0)) { return false; } long i = 5; while ((i * i) <= n) { if (((n % i) == 0) || ((n % (i + 2)) == 0)) { return fals...
16.293478
51
0.378252
Jhoneagle
62c7c24a915b70d87ec6da0b51c9364ddca01ca9
1,290
hpp
C++
engine/source/src/Engine_collision_listener.hpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
5
2019-02-12T07:23:55.000Z
2020-06-22T15:03:36.000Z
engine/source/src/Engine_collision_listener.hpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
null
null
null
engine/source/src/Engine_collision_listener.hpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
2
2019-06-17T05:04:21.000Z
2020-04-22T09:05:57.000Z
#ifndef _ENGINE_COLLISION_LISTENER_HPP #define _ENGINE_COLLISION_LISTENER_HPP #include "Collision_listener.hpp" #include <cstdint> namespace physics_2d { class Body_2d; } namespace gom { class Game_object; } class Engine_collision_listener final : public physics_2d::Collision_listener { public: Engine_collisi...
40.3125
80
0.633333
mateusgondim
62d2ddf952e573be0f198c825ffdbc27578ee2d0
2,023
cpp
C++
libhpx/scheduler/events.cpp
luglio/hpx5
6cbeebb8e730ee9faa4487dba31a38e3139e1ce7
[ "BSD-3-Clause" ]
1
2021-05-21T16:54:43.000Z
2021-05-21T16:54:43.000Z
libhpx/scheduler/events.cpp
ldalessa/hpx
c8888c38f5c12c27bfd80026d175ceb3839f0b40
[ "BSD-3-Clause" ]
null
null
null
libhpx/scheduler/events.cpp
ldalessa/hpx
c8888c38f5c12c27bfd80026d175ceb3839f0b40
[ "BSD-3-Clause" ]
3
2019-06-21T07:05:43.000Z
2020-11-21T15:24:04.000Z
// ============================================================================= // High Performance ParalleX Library (libhpx) // // Copyright (c) 2013-2017, Trustees of Indiana University, // All rights reserved. // // This software may be modified and distributed under the terms of the BSD // license. See the C...
23.8
80
0.630746
luglio
62d8c6581a358517d4a8e20777178ac28fc2767c
16,104
cpp
C++
dynamicEDT3D/src/dynamicEDT3D.cpp
hero9968/OctoMap
bf3b3949a99c13ef34d11dc8bc23dcd6680a9f3c
[ "BSD-3-Clause" ]
1,323
2015-01-02T08:33:08.000Z
2022-03-31T22:57:08.000Z
dynamicEDT3D/src/dynamicEDT3D.cpp
hero9968/OctoMap
bf3b3949a99c13ef34d11dc8bc23dcd6680a9f3c
[ "BSD-3-Clause" ]
267
2015-01-21T05:34:55.000Z
2022-03-29T18:38:21.000Z
dynamicEDT3D/src/dynamicEDT3D.cpp
hero9968/OctoMap
bf3b3949a99c13ef34d11dc8bc23dcd6680a9f3c
[ "BSD-3-Clause" ]
610
2015-01-02T08:33:38.000Z
2022-03-31T03:04:06.000Z
/** * dynamicEDT3D: * A library for incrementally updatable Euclidean distance transforms in 3D. * @author C. Sprunk, B. Lau, W. Burgard, University of Freiburg, Copyright (C) 2011. * @see http://octomap.sourceforge.net/ * License: New BSD License */ /* * Copyright (c) 2011-2012, C. Sprunk, B. Lau, W. Burgard, Univer...
27.202703
112
0.613885
hero9968
62e0aa2965d32d1d3c12ecf9565dca58fe324e95
4,543
hpp
C++
server/drivers/laser.hpp
Koheron/koheron-sdk
82b732635f1adf5dd0b04b9290b589c1fc091f29
[ "MIT" ]
77
2016-09-20T18:44:14.000Z
2022-03-30T16:04:09.000Z
server/drivers/laser.hpp
rsarwar87/koheron-sdk
02c35bf3c1c29f1029fad18b881dbd193efac5a7
[ "MIT" ]
101
2016-09-05T15:44:25.000Z
2022-03-29T09:22:09.000Z
server/drivers/laser.hpp
rsarwar87/koheron-sdk
02c35bf3c1c29f1029fad18b881dbd193efac5a7
[ "MIT" ]
34
2016-12-12T07:21:57.000Z
2022-01-12T21:00:52.000Z
/// Laser controller /// /// (c) Koheron #ifndef __DRIVERS_LASER_CONTROLLER_HPP__ #define __DRIVERS_LASER_CONTROLLER_HPP__ #include <context.hpp> #include <xadc.hpp> #include <eeprom.hpp> #include <chrono> namespace Laser_params { constexpr uint32_t power_channel = 1; //xadc channel constexpr uint32_t curren...
27.70122
110
0.580233
Koheron
62e10d8a12b4458cb11b750206a6dd865e96bda7
1,409
cpp
C++
examples/broadcast_sender/main.cpp
toivjon/multiplatform-sockets
f2c204e36ddebb698fc07d4d41ec0e1824b6712e
[ "MIT" ]
null
null
null
examples/broadcast_sender/main.cpp
toivjon/multiplatform-sockets
f2c204e36ddebb698fc07d4d41ec0e1824b6712e
[ "MIT" ]
null
null
null
examples/broadcast_sender/main.cpp
toivjon/multiplatform-sockets
f2c204e36ddebb698fc07d4d41ec0e1824b6712e
[ "MIT" ]
null
null
null
#include "mps.h" #include <chrono> #include <iostream> #include <thread> using namespace mps; constexpr auto MessageCount = 100; constexpr auto MessageInterval = std::chrono::seconds(1); int main(int argc, char* argv[]) { // sanity check to check that we have enough arguments. if (argc != 3) { std::cout << ...
29.978723
84
0.623847
toivjon
62e13304ec181f0310e516012ce590692c08d901
816
cpp
C++
src/core/hooks/vmt.cpp
Metaphysical1/gamesneeze
59d31ee232bbcc80d29329e0f64ebdde599c37df
[ "MIT" ]
1,056
2020-11-17T11:49:12.000Z
2022-03-23T12:32:42.000Z
src/core/hooks/vmt.cpp
dweee/gamesneeze
99f574db2617263470280125ec78afa813f27099
[ "MIT" ]
102
2021-01-15T12:05:18.000Z
2022-02-26T00:19:58.000Z
src/core/hooks/vmt.cpp
dweee/gamesneeze
99f574db2617263470280125ec78afa813f27099
[ "MIT" ]
121
2020-11-18T12:08:21.000Z
2022-03-31T07:14:32.000Z
#include "vmt.hpp" #include <stdint.h> #include <unistd.h> #include <sys/mman.h> int pagesize = sysconf(_SC_PAGE_SIZE); int pagemask = ~(pagesize-1); int unprotect(void* region) { mprotect((void*) ((intptr_t)region & pagemask), pagesize, PROT_READ|PROT_WRITE|PROT_EXEC); return PROT_READ|PROT_EXEC; } void pro...
29.142857
94
0.689951
Metaphysical1
62e8b82ae340868a4bdd8ab29df1733b2677d8a7
6,723
hpp
C++
include/boost/numpy/dstream/detail/caller.hpp
IceCube-SPNO/BoostNumpy
66538c0b6e38e2f985e0b44d8191c878cea0332d
[ "BSL-1.0" ]
6
2015-01-07T17:29:40.000Z
2019-03-28T15:18:27.000Z
include/boost/numpy/dstream/detail/caller.hpp
IceCube-SPNO/BoostNumpy
66538c0b6e38e2f985e0b44d8191c878cea0332d
[ "BSL-1.0" ]
2
2017-04-12T19:01:21.000Z
2017-04-14T16:18:38.000Z
include/boost/numpy/dstream/detail/caller.hpp
IceCube-SPNO/BoostNumpy
66538c0b6e38e2f985e0b44d8191c878cea0332d
[ "BSL-1.0" ]
2
2018-01-15T07:32:24.000Z
2020-10-14T02:55:55.000Z
/** * $Id$ * * Copyright (C) * 2014 - $Date$ * Martin Wolf <boostnumpy@martin-wolf.org> * This file has been adopted from <boost/python/detail/caller.hpp>. * * @file boost/numpy/dstream/detail/caller.hpp * @version $Revision$ * @date $Date$ * @author Martin Wolf <boostnumpy@martin-wolf.org> * * ...
34.834197
125
0.62844
IceCube-SPNO
62ecbe261582bd004825d91639ba33c012f6258a
2,604
cpp
C++
SysLib/Demand/Files/Matrix_File.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
SysLib/Demand/Files/Matrix_File.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
SysLib/Demand/Files/Matrix_File.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Matrix_File.cpp - Matrix File Input/Output //********************************************************* #include "Matrix_File.hpp" //----------------------------------------------------------- // Matrix_File constructors //--------------------------------...
22.448276
84
0.422043
kravitz
62eed194e14ec20219bfcc92913587fb6ffc1fd7
9,451
cc
C++
dcmtk-master2/dcmsr/libsrc/dsrtpltn.cc
happymanx/Weather_FFI
a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f
[ "MIT" ]
null
null
null
dcmtk-master2/dcmsr/libsrc/dsrtpltn.cc
happymanx/Weather_FFI
a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f
[ "MIT" ]
null
null
null
dcmtk-master2/dcmsr/libsrc/dsrtpltn.cc
happymanx/Weather_FFI
a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f
[ "MIT" ]
null
null
null
/* * * Copyright (C) 2015-2018, J. Riesmeier, Oldenburg, Germany * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation are maintained by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmsr * *...
35.799242
129
0.611575
happymanx
62f634551b97e38323aebd4169816d37be6f3994
5,049
cc
C++
Chapter20_08.cc
ucarlos/Programming-Principles-Chapter20
3bea0db2693eb7dd00a1071bb6bf0d392e4961ff
[ "MIT" ]
null
null
null
Chapter20_08.cc
ucarlos/Programming-Principles-Chapter20
3bea0db2693eb7dd00a1071bb6bf0d392e4961ff
[ "MIT" ]
null
null
null
Chapter20_08.cc
ucarlos/Programming-Principles-Chapter20
3bea0db2693eb7dd00a1071bb6bf0d392e4961ff
[ "MIT" ]
null
null
null
/* * ----------------------------------------------------------------------------- * Created by Ulysses Carlos on 03/25/2020 at 10:57 PM * * Chapter20_08.cc * * Define a function that counts the number of characters in a Document. * ----------------------------------------------------------------------------- ...
23.375
107
0.55199
ucarlos
62f8a945d1122a19d6a5aba08b02631a769d9347
2,742
cpp
C++
texture_handler.cpp
paracelso93/rocket-simulator
746469b2ffea032bed5793ef499eba0cd443240d
[ "MIT" ]
null
null
null
texture_handler.cpp
paracelso93/rocket-simulator
746469b2ffea032bed5793ef499eba0cd443240d
[ "MIT" ]
null
null
null
texture_handler.cpp
paracelso93/rocket-simulator
746469b2ffea032bed5793ef499eba0cd443240d
[ "MIT" ]
null
null
null
#include "texture_handler.h" TextureHandler* TextureHandler::mInstance = nullptr; bool TextureHandler::add_texture(const std::string& filePath, texture_t& id, SDL_Renderer* renderer) { id = std::hash<std::string>()(filePath); if (mTextures.find(id) != mTextures.end()) { return true; } SDL_Surface* sur = IMG_L...
30.808989
197
0.659373
paracelso93
62fbaca3bfaa78e541b1665b57744139a23cba24
1,223
cpp
C++
318. Maximum Product of Word Lengths.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
318. Maximum Product of Word Lengths.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
318. Maximum Product of Word Lengths.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
// Solution 1. Straight forward, 165ms class Solution { public: int maxProduct(vector<string>& words) { int maxlen = 0; for(int i = 0; i < words.size(); i++) for(int j = i + 1; j < words.size(); j++){ if(words[i].size() * words[j].size() <= maxlen) continue; ...
32.184211
112
0.472608
rajeev-ranjan-au6
62fdd32bf4578aadeef43d6531ee0cdb52538338
2,264
hh
C++
include/io/ssl.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
include/io/ssl.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
include/io/ssl.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
#pragma once #include <boost/asio.hpp> #include <boost/asio/ssl.hpp> #include <boost/asio/ip/tcp.hpp> namespace io { namespace asio = boost::asio; namespace ssl = asio::ssl; typedef asio::ip::tcp tcp; typedef boost::system::error_code error_code; static const error_code Success = boost::system::errc...
28.3
83
0.673587
king1600
1a00460bc973876f44572786544f572a32f203f7
103,251
cpp
C++
platform_bionic-android-vts-12.0_r2/tests/pthread_test.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
1
2019-05-04T02:30:08.000Z
2019-05-04T02:30:08.000Z
platform_bionic-android-vts-12.0_r2/tests/pthread_test.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
null
null
null
platform_bionic-android-vts-12.0_r2/tests/pthread_test.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2012 The Android Open Source Project * * 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 app...
34.166446
108
0.737368
webos21
1a058f089c816fe656fccfdf5b0d50e4ca781b28
2,870
cpp
C++
src/CAN/CANMotor_PSOC.cpp
huskyroboticsteam/Resurgence
649f78103b6d76709fdf55bb38d08c0ff50da140
[ "Apache-2.0" ]
3
2021-12-23T23:31:42.000Z
2022-02-16T07:17:41.000Z
src/CAN/CANMotor_PSOC.cpp
huskyroboticsteam/Resurgence
649f78103b6d76709fdf55bb38d08c0ff50da140
[ "Apache-2.0" ]
2
2021-11-22T05:33:43.000Z
2022-01-23T07:01:47.000Z
src/CAN/CANMotor_PSOC.cpp
huskyroboticsteam/Resurgence
649f78103b6d76709fdf55bb38d08c0ff50da140
[ "Apache-2.0" ]
null
null
null
#include "CAN.h" #include "CANMotor.h" #include "CANUtils.h" #include <chrono> #include <cmath> #include <condition_variable> #include <mutex> #include <queue> #include <thread> #include <vector> extern "C" { #include "../HindsightCAN/CANCommon.h" #include "../HindsightCAN/CANMotorUnit.h" #include "../HindsightCAN/CA...
27.596154
91
0.74216
huskyroboticsteam
1a05fd4f32bf7ac9e3f364b003d152b41f41516b
2,184
cpp
C++
Hello 2019/c.cpp
anirudha-ani/Codeforces
6c7f64257939d44b1c2ec9dd202f1c9f899f1cad
[ "Apache-2.0" ]
null
null
null
Hello 2019/c.cpp
anirudha-ani/Codeforces
6c7f64257939d44b1c2ec9dd202f1c9f899f1cad
[ "Apache-2.0" ]
null
null
null
Hello 2019/c.cpp
anirudha-ani/Codeforces
6c7f64257939d44b1c2ec9dd202f1c9f899f1cad
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std ; int main() { stack <char> data; char input[500005]; int n ; scanf("%d", &n); map <int , int> marking ; int balanced= 0 ; long long int ans = 0 ; for(int i = 0 ; i < n ; i++) { scanf("%s", input); int...
24
64
0.287088
anirudha-ani
1a0823730e616552e21f820c37d0889c43151bc6
1,769
cpp
C++
codes/POJ/poj3468.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/POJ/poj3468.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/POJ/poj3468.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; #define lson(x) ((x)<<1) #define rson(x) (((x)<<1)+1) const int maxn = 100005; typedef long long ll; struct Node { int l, r; ll sum, add; void set (int l, int r, ll sum, ll add) { this->l = l; this->r = r; this->sum = sum; thi...
16.229358
47
0.487846
JeraKrs
1a0ed3e7186d638471d1b6fd0a646abe72bf17ce
871
cpp
C++
Binary Tree/Ancestors_Of_A_Node.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
19
2018-12-02T05:59:44.000Z
2021-07-24T14:11:54.000Z
Binary Tree/Ancestors_Of_A_Node.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
null
null
null
Binary Tree/Ancestors_Of_A_Node.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
13
2019-04-25T16:20:00.000Z
2021-09-06T19:50:04.000Z
//Print all the ancestors of a given node #include<iostream> using namespace std; struct Node { int data; Node *left; Node *right; }; //creates a node Node* create(int data) { try { Node *node=new Node; node->data=data; node->left=NULL; node->right=NULL; return node; } catch(bad_alloc xa) { cout<<...
14.278689
68
0.657865
susantabiswas
1a0ff312380fc1200503bb7f17cbbec9408ee287
404
hpp
C++
examples/rucksack/testbed/include/sge/rucksack/testbed/object_impl_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
examples/rucksack/testbed/include/sge/rucksack/testbed/object_impl_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
examples/rucksack/testbed/include/sge/rucksack/testbed/object_impl_fwd.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_TESTBED_OBJECT_IMPL_FWD_HPP_INCLUDED #define SGE_RUCKSACK_TESTBED_OBJECT_IMPL_...
23.764706
61
0.759901
cpreh
1a10a79e16490f9837cc80b4d97b6cc4c35fa011
835
cpp
C++
streambox/WinKeyReducer/WinKeyReducerEval-yahoo-winbundle.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
3
2019-07-03T14:03:31.000Z
2021-12-19T10:18:49.000Z
streambox/WinKeyReducer/WinKeyReducerEval-yahoo-winbundle.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
6
2020-02-17T12:01:30.000Z
2021-12-09T22:02:33.000Z
streambox/WinKeyReducer/WinKeyReducerEval-yahoo-winbundle.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
2
2020-12-03T04:41:18.000Z
2021-01-11T21:44:42.000Z
// // Created by manuelrenz on 12.04.18. // #include "WinKeyReducerEval.h" /* ----------------------------------------- * specialized for yahoo -- using normal hashtable * NB: we have to do full specialization per C++ * ----------------------------------------- */ // using MyWinKeyReduerEval = WinKeyReducerEval<...
32.115385
87
0.590419
chenzongxiong
1a143a76a1c87083c7987e104a76b6db72592a9f
554
cpp
C++
Codechef - Contests/JULY16/POLYEVAL.cpp
Gurupradeep/Codes
5595f2e0f867a2a21d050379ead18bd6ef563978
[ "MIT" ]
null
null
null
Codechef - Contests/JULY16/POLYEVAL.cpp
Gurupradeep/Codes
5595f2e0f867a2a21d050379ead18bd6ef563978
[ "MIT" ]
null
null
null
Codechef - Contests/JULY16/POLYEVAL.cpp
Gurupradeep/Codes
5595f2e0f867a2a21d050379ead18bd6ef563978
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define MOD 786433 int main() { long long n; long long a[10002]; scanf("%lld",&n); for(int i=0;i<=n;i++) scanf("%lld",&a[i]); long long q; scanf("%lld",&q); while(q--) { long long x; scanf("%lld",&x); ...
20.518519
47
0.415162
Gurupradeep
1a150466293290bde2678ab09e37514c5e673198
594
cpp
C++
LeetCode/0003.LongestSubstringWithoutRepeatingCharacters/LSWRC.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
1
2017-12-24T07:51:07.000Z
2017-12-24T07:51:07.000Z
LeetCode/0003.LongestSubstringWithoutRepeatingCharacters/LSWRC.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
null
null
null
LeetCode/0003.LongestSubstringWithoutRepeatingCharacters/LSWRC.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
null
null
null
#include <unordered_map> #include <iostream> #include <string> int lengthOfLongestSubstring(std::string s){ std::unordered_map<char, int> smap; int n = s.length(); int max_length = 0; if(n<2){ return n; } for(int i=0,j=0;j<n;++j){ char c = s.at(j); if(smap.count(c)){ i=smap[c]>i?smap[c]:i;...
20.482759
54
0.60101
luspock
1a188685b8533ef9c29a86aa81c89e2f18be079a
794
cpp
C++
tests/test/main.cpp
n-krueger/faabric
c95c3baf9406613629e5f382efc0fc8366b22752
[ "Apache-2.0" ]
null
null
null
tests/test/main.cpp
n-krueger/faabric
c95c3baf9406613629e5f382efc0fc8366b22752
[ "Apache-2.0" ]
null
null
null
tests/test/main.cpp
n-krueger/faabric
c95c3baf9406613629e5f382efc0fc8366b22752
[ "Apache-2.0" ]
null
null
null
#define CATCH_CONFIG_RUNNER #include <catch.hpp> #include "faabric_utils.h" #include <faabric/util/logging.h> #include <faabric/util/testing.h> struct LogListener : Catch::TestEventListenerBase { using TestEventListenerBase::TestEventListenerBase; void testCaseStarting(Catch::TestCaseInfo const& testInfo) o...
23.352941
71
0.602015
n-krueger
1a19c14e380f519b3eedb83c76f7ee7dcd473c07
57
hpp
C++
src/boost_fusion_view_filter_view_filter_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_view_filter_view_filter_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_view_filter_view_filter_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/view/filter_view/filter_view.hpp>
28.5
56
0.824561
miathedev
1a1b0f533febd3eea6b49484a2587e41d528f5e9
1,938
cpp
C++
uva/nonstop.cpp
bryanoliveira/programming-marathon
071e3e6898f9b10cabbf4ed0d8ba1c5fbbf3fac4
[ "MIT" ]
null
null
null
uva/nonstop.cpp
bryanoliveira/programming-marathon
071e3e6898f9b10cabbf4ed0d8ba1c5fbbf3fac4
[ "MIT" ]
null
null
null
uva/nonstop.cpp
bryanoliveira/programming-marathon
071e3e6898f9b10cabbf4ed0d8ba1c5fbbf3fac4
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int ni, ncase = 1; while(cin >> ni && ni) { map<int, vector<pair<int, int> > > graph; // from -> [to, cost] for(int i = 1; i <= ni; i++) { int roads; cin >> roads; while (roads > 0) ...
26.547945
99
0.400413
bryanoliveira
1a1bf305dff57f8ef966632556b29af27fdd2b66
1,162
cpp
C++
gesture-sensor.cpp
memorial-ece/arduino-seeed
170875ab65aff1a00e05fe2a5eb4c8049ea82525
[ "BSD-2-Clause" ]
null
null
null
gesture-sensor.cpp
memorial-ece/arduino-seeed
170875ab65aff1a00e05fe2a5eb4c8049ea82525
[ "BSD-2-Clause" ]
null
null
null
gesture-sensor.cpp
memorial-ece/arduino-seeed
170875ab65aff1a00e05fe2a5eb4c8049ea82525
[ "BSD-2-Clause" ]
null
null
null
#include "gesture-sensor.h" #include "Gesture_PAJ7620/paj7620.h" /** Initialiazes gesture sensor **/ unsigned int gestureInit() { paj7620Init(); } /** Reads gesture sensor and returns value of gesture (or 0 if no gesture detected) For more info see: http://wiki.seeedstudio.com/Grove-Gesture_v1.0/ @returns data = ...
29.05
170
0.754733
memorial-ece
1a1e6d1996dd998faef62fad2eac4b71a73a209c
3,009
cc
C++
src/sys/fuzzing/framework/engine/adapter-client-unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2021-12-29T10:11:08.000Z
2022-01-04T15:37:09.000Z
src/sys/fuzzing/framework/engine/adapter-client-unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2021-09-19T21:55:09.000Z
2021-12-19T03:34:53.000Z
src/sys/fuzzing/framework/engine/adapter-client-unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2021 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/sys/fuzzing/framework/engine/adapter-client.h" #include <fuchsia/fuzzer/cpp/fidl.h> #include <string> #include <vector> #include <gtest/gt...
27.108108
82
0.724826
allansrc
1a21833b125a42eaea4adc2df9fbb966b754a605
2,744
cpp
C++
bitreverse.cpp
k9bao/tools
18b52767f4e6c9e5001462d828b1bba69c3832a0
[ "Apache-2.0" ]
null
null
null
bitreverse.cpp
k9bao/tools
18b52767f4e6c9e5001462d828b1bba69c3832a0
[ "Apache-2.0" ]
null
null
null
bitreverse.cpp
k9bao/tools
18b52767f4e6c9e5001462d828b1bba69c3832a0
[ "Apache-2.0" ]
null
null
null
#include <cstring> #include <ctime> #include <fstream> #include <iostream> using namespace std; void usage() { cout << "para is error." << endl; cout << "example: a.out in out pwd" << endl; } std::chrono::steady_clock::time_point now() { return std::chrono::steady_clock::now(); } long long subSecond(std...
25.64486
84
0.492347
k9bao
1a21cb2d3ab3b4f974a0062f92d74b4be234f1e9
1,560
cpp
C++
example_contests/fk_2014_beta/problems/rod/submissions/accepted/solution_2.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
6
2016-03-28T13:57:54.000Z
2017-07-25T06:04:05.000Z
example_contests/fk_2014_delta/problems/rod/solution_2.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
25
2015-01-23T18:02:35.000Z
2015-03-17T01:40:27.000Z
example_contests/fk_2014_delta/problems/rod/solution_2.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
3
2016-06-28T00:48:38.000Z
2017-05-25T05:29:25.000Z
#include <algorithm> #include <bitset> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <strin...
19.5
98
0.502564
ForritunarkeppniFramhaldsskolanna
1a23311b821d1bb428105d6656d6357ef83fc1b0
732
cpp
C++
TAO/tao/Strategies/OC_Endpoint_Selector_Loader.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tao/Strategies/OC_Endpoint_Selector_Loader.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tao/Strategies/OC_Endpoint_Selector_Loader.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// ================================================================= /** * @file OC_Endpoint_Selector_Loader.cpp * * $Id: OC_Endpoint_Selector_Loader.cpp 91628 2010-09-07 11:11:12Z johnnyw $ * * @author Phil Mesnier <mesnier_p@ociweb.com> * */ // ================================================================= ...
29.28
96
0.653005
cflowe
1a2d220b03104c81c8e904a466f499037ba4da15
398
cpp
C++
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_9/Lesson 9.6 Default Constructor That Accepts Parameters with Default Values to Set Members Using Initialization Lists.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_9/Lesson 9.6 Default Constructor That Accepts Parameters with Default Values to Set Members Using Initialization Lists.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_9/Lesson 9.6 Default Constructor That Accepts Parameters with Default Values to Set Members Using Initialization Lists.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
#include <iostream> #include <string> using namespace std; class Human { private: string Name; int Age; public: Human(string InputName = "Adam", int InputAge = 22) :Name(InputName), Age(InputAge) { cout << "Constructed a Human called " << Name; cout << ", " << Age << " years old" << endl; } }; i...
14.214286
53
0.613065
mccrudd3n
1a2ef9f4e0f1a167b3ccd77dfee875e7e2e5f181
375
cpp
C++
tests/e2e/e2e_test_case.cpp
avs/odatacpp-client
c2af181468d345aef0c952a8a0182a1ff11b4b57
[ "MIT" ]
39
2015-01-22T08:13:28.000Z
2021-02-03T07:29:56.000Z
tests/e2e/e2e_test_case.cpp
avs/odatacpp-client
c2af181468d345aef0c952a8a0182a1ff11b4b57
[ "MIT" ]
20
2015-04-27T02:35:31.000Z
2021-01-20T16:47:23.000Z
tests/e2e/e2e_test_case.cpp
avs/odatacpp-client
c2af181468d345aef0c952a8a0182a1ff11b4b57
[ "MIT" ]
30
2015-01-29T21:23:57.000Z
2021-01-11T14:19:47.000Z
//--------------------------------------------------------------------- // <copyright file="e2e_test_case.cpp" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //------------------------------------------...
53.571429
126
0.458667
avs
1a2f2aff78994a592508932704d8b48c8e74ec75
2,505
cpp
C++
books/C++_advanced_programming/code/Chapter23/Logger.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
C++11/C++11_1/Logger.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
C++11/C++11_1/Logger.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
#include <iostream> #include "Logger.h" #include <fstream> using std::thread; using std::cout; using std::endl; using std::cerr; using std::unique_lock; using std::mutex; using std::ofstream; //Logger::Logger() //{ // // Start background thread // mThread = thread{ &Logger::processEntries, this }; //} //void Log...
18.284672
75
0.631138
liangjisheng
1a31cdf344682d4a296557effad4459f6f2376ff
17,601
cpp
C++
src/UnitTest.cpp
ibest/seqyclean
45d6d52ffc62078c91588ef3c10f28ff8e1dca13
[ "MIT" ]
22
2015-08-25T16:39:55.000Z
2022-03-10T12:37:45.000Z
src/UnitTest.cpp
ibest/seqyclean
45d6d52ffc62078c91588ef3c10f28ff8e1dca13
[ "MIT" ]
4
2015-06-22T18:56:01.000Z
2020-05-19T06:57:13.000Z
src/UnitTest.cpp
ibest/seqyclean
45d6d52ffc62078c91588ef3c10f28ff8e1dca13
[ "MIT" ]
4
2015-11-02T18:43:01.000Z
2017-12-13T15:29:11.000Z
/* * File: UnitTest.cpp * Author: kwt * * Created on July 28, 2013, 11:18 AM */ #include "UnitTest.h" UnitTest::UnitTest() { //Test Illumina PE //Test Illumina SE //Test overlap Illumins } UnitTest::UnitTest(const UnitTest& orig) { } UnitTest::~UnitTest() { } void UnitTest::Te...
49.720339
1,247
0.600932
ibest
1a31d7d4b5ea19d59daef6364171585a63d77769
13,752
cpp
C++
common/operations/BatchMatmul.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
common/operations/BatchMatmul.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
common/operations/BatchMatmul.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 The Android Open Source Project * * 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 app...
48.939502
100
0.666885
riscv-android-src
1a345ae3458244a74c91c876824819c90e3a90b0
2,662
cc
C++
zircon/system/ulib/fbl/test/algorithm_tests.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
zircon/system/ulib/fbl/test/algorithm_tests.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2021-09-19T21:55:09.000Z
2021-12-19T03:34:53.000Z
zircon/system/ulib/fbl/test/algorithm_tests.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
1
2021-08-23T11:33:57.000Z
2021-08-23T11:33:57.000Z
// Copyright 2016 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <algorithm> #include <limits> #include <fbl/algorithm.h> #include <zxtest/zxtest.h> namespace { TEST(AlgorithmTest, RoundUp) { EXPECT_EQ(fbl:...
36.972222
74
0.706987
allansrc
1a3481fd62fddf822dd050eb0f24ebee0a0dfd13
2,375
cpp
C++
DelProtect2Config/DelProtect2Config.cpp
pvthuyet/priority-booster
1f0036a4528b799a6ddd862787d4181a1d082917
[ "BSL-1.0" ]
3
2020-09-19T07:27:34.000Z
2022-01-02T21:10:38.000Z
DelProtect2Config/DelProtect2Config.cpp
pvthuyet/windows-kernel-programming
1f0036a4528b799a6ddd862787d4181a1d082917
[ "BSL-1.0" ]
null
null
null
DelProtect2Config/DelProtect2Config.cpp
pvthuyet/windows-kernel-programming
1f0036a4528b799a6ddd862787d4181a1d082917
[ "BSL-1.0" ]
null
null
null
// DelProtect2Config.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "stdafx.h" #include "..\DelProtect2\DelProtectCommon.h" #include <iostream> int Error(const char* text) { printf("%s (%d)\n", text, ::GetLastError()); return 1; } int PrintUsage() { printf("Usage...
26.988636
135
0.671579
pvthuyet
1a3e64646759c6e42fb554b1722fb23abd9fac41
907
hpp
C++
output/include/core/threading/read_write_lock.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
1
2019-07-31T06:44:46.000Z
2019-07-31T06:44:46.000Z
src/pilo/core/threading/read_write_lock.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
null
null
null
src/pilo/core/threading/read_write_lock.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
null
null
null
#pragma once #include "core/coredefs.hpp" namespace pilo { namespace core { namespace threading { class read_write_lock { public: #ifdef WINDOWS read_write_lock() { ::InitializeSRWLock(&m_lock); ...
18.895833
57
0.416759
picofox
1a40c72b20b9825a1fb3a4c6019aa141d52ec6d0
1,256
cc
C++
caffe2/contrib/prof/profiling_annotations_test.cc
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
1
2019-07-21T02:13:22.000Z
2019-07-21T02:13:22.000Z
caffe2/contrib/prof/profiling_annotations_test.cc
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
caffe2/contrib/prof/profiling_annotations_test.cc
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
// Unit tests for profiling_annotations.h. #include "caffe2/contrib/prof/profiling_annotations.h" #include <gtest/gtest.h> namespace caffe2 { namespace contrib { namespace prof { namespace { TEST(TwoNumberStatsTest, ComputeAndGetOpStatsSummary) { // e.g., 2 and 3 TwoNumberStats stats; stats.addPoint(2); stat...
27.911111
61
0.749204
DavidKo3
1a412569050244cbdd0b2b246b2ecbf4c5c37b3a
164
hpp
C++
chaine/src/mesh/vertex/is_valid.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
chaine/src/mesh/vertex/is_valid.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
chaine/src/mesh/vertex/is_valid.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
#pragma once #include "proxy.hpp" #include "topology.hpp" namespace face_vertex { inline bool is_valid(VertexProxy vp) { return is_valid(topology(vp)); } }
11.714286
34
0.719512
the-last-willy
1a43b6233a940ecb5091f95246199e1d08b44a81
1,461
cpp
C++
leetcode/problems/easy/859-buddy-string.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/easy/859-buddy-string.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/easy/859-buddy-string.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Buddy Strings https://leetcode.com/problems/buddy-strings/ Given two strings A and B of lowercase letters, return true if you can swap two letters in A so the result is equal to B, otherwise, return false. Swapping letters is defined as taking two indices i and j (0-indexed) such that i != j and swapping the chara...
26.089286
202
0.590691
wingkwong
1a44e14db33b2f2ab59aecad07e52ca9a292ea61
2,159
cpp
C++
Development/Editor/Core/LuaEngine/logging_backend.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
2
2016-05-30T11:42:33.000Z
2017-10-31T11:53:42.000Z
Development/Editor/Core/LuaEngine/logging_backend.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
null
null
null
Development/Editor/Core/LuaEngine/logging_backend.cpp
shawwwn/YDWE
b83ffe041d9623409d9ffd951988e2b482d9cfc3
[ "Apache-2.0" ]
null
null
null
#include "logging_backend.h" #include <boost/filesystem/fstream.hpp> #include <base/util/format.h> #include <base/exception/exception.h> namespace logging { struct logging_backend::implementation { boost::filesystem::path root_path_; boost::filesystem::ofstream file_; uintmax_t written_; implementation(cons...
25.702381
119
0.666975
shawwwn
1a46daba1ed7553485e49f5066597902ebe065d4
3,415
cpp
C++
recast_ros/src/nodes/test_planning_service_interactive.cpp
ori-drs/recast_ros
f1516d43578aa7550fbb3ee6d91bf4fe8eb773f8
[ "Zlib" ]
8
2020-04-13T16:34:35.000Z
2021-12-21T14:24:31.000Z
recast_ros/src/nodes/test_planning_service_interactive.cpp
ori-drs/recast_ros
f1516d43578aa7550fbb3ee6d91bf4fe8eb773f8
[ "Zlib" ]
3
2020-06-24T16:05:02.000Z
2022-01-18T08:15:20.000Z
recast_ros/src/nodes/test_planning_service_interactive.cpp
ori-drs/recast_ros
f1516d43578aa7550fbb3ee6d91bf4fe8eb773f8
[ "Zlib" ]
2
2021-02-20T08:39:36.000Z
2021-02-22T09:48:22.000Z
// // Copyright (c) 2019 Martim Brandão martim@robots.ox.ac.uk, Omer Burak Aladag aladagomer@sabanciuniv.edu, Ioannis Havoutis ioannis@robots.ox.ac.uk // As a part of Dynamic Robot Systems Group, Oxford Robotics Institute, University of Oxford // // This software is provided 'as-is', without any express or implied // w...
34.846939
147
0.70981
ori-drs
1a49226dab9c37637f639d113eaa776ed9b030cf
1,352
hpp
C++
Programming Guide/Headers/Siv3D/RenderTexture.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
38
2016-01-14T13:51:13.000Z
2021-12-29T01:49:30.000Z
Programming Guide/Headers/Siv3D/RenderTexture.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
null
null
null
Programming Guide/Headers/Siv3D/RenderTexture.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
16
2016-01-15T11:07:51.000Z
2021-12-29T01:49:37.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (C) 2008-2016 Ryo Suzuki // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Texture.hpp" namespace s3d { class RenderTexture : public Textur...
30.044444
178
0.699704
Reputeless
1a495c21c102171ec676f78c94de7d3c26d81452
2,096
cc
C++
src/graphics/bin/vulkan_loader/loader.cc
dreamboy9/fuchsia
4ec0c406a28f193fe6e7376ee7696cca0532d4ba
[ "BSD-2-Clause" ]
null
null
null
src/graphics/bin/vulkan_loader/loader.cc
dreamboy9/fuchsia
4ec0c406a28f193fe6e7376ee7696cca0532d4ba
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/graphics/bin/vulkan_loader/loader.cc
dreamboy9/fuchsia
4ec0c406a28f193fe6e7376ee7696cca0532d4ba
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2021 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/graphics/bin/vulkan_loader/loader.h" #include <lib/fdio/directory.h> #include <lib/fdio/io.h> LoaderImpl::~LoaderImpl() { app_->RemoveObser...
32.75
100
0.689885
dreamboy9
1a5413d982d8ec4139e18bfbc2ad0598067a66cb
1,803
hpp
C++
external/bayesopt/include/criteria/criteria_a_opt.hpp
pchrapka/brain-modelling
f232b5a858e45f10b0b0735269010454129ab017
[ "MIT" ]
1
2017-10-13T19:37:52.000Z
2017-10-13T19:37:52.000Z
external/bayesopt/include/criteria/criteria_a_opt.hpp
pchrapka/brain-modelling
f232b5a858e45f10b0b0735269010454129ab017
[ "MIT" ]
null
null
null
external/bayesopt/include/criteria/criteria_a_opt.hpp
pchrapka/brain-modelling
f232b5a858e45f10b0b0735269010454129ab017
[ "MIT" ]
1
2019-11-25T12:22:05.000Z
2019-11-25T12:22:05.000Z
/** \file criteria_a_opt.hpp \brief A-optimality (uncertainty) based criteria */ /* ------------------------------------------------------------------------- This file is part of BayesOpt, an efficient C++ library for Bayesian optimization. Copyright (C) 2011-2015 Ruben Martinez-Cantin <rmcantin@unizar.es> ...
31.086207
81
0.655019
pchrapka
1a55fef6e547e747fbd7704e3b90f38d875e7382
1,831
cc
C++
selfdrive/common/testparams/test_params.cc
lukeadams/openpilot
c3bd28c2d5029749c47ee03440b3cc509f786968
[ "MIT" ]
null
null
null
selfdrive/common/testparams/test_params.cc
lukeadams/openpilot
c3bd28c2d5029749c47ee03440b3cc509f786968
[ "MIT" ]
null
null
null
selfdrive/common/testparams/test_params.cc
lukeadams/openpilot
c3bd28c2d5029749c47ee03440b3cc509f786968
[ "MIT" ]
null
null
null
#include "selfdrive/common/params.h" #include <cstring> static const char* const kUsage = "%s: read|write|read_block params_path key [value]\n"; int main(int argc, const char* argv[]) { if (argc < 4) { printf(kUsage, argv[0]); return 0; } Params params(argv[2]); const char* key = argv[3]; if (strc...
29.063492
118
0.607318
lukeadams
1a5b1fb2d6c86019f43255d5c217e30395d9c968
7,517
cpp
C++
src/com/cyosp/mpa/api/rest/v1/MPAOFactory.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
src/com/cyosp/mpa/api/rest/v1/MPAOFactory.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
src/com/cyosp/mpa/api/rest/v1/MPAOFactory.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
/* * MPAOFactory.cpp * * Created on: 21 March 2015 * Author: cyosp */ #include <com/cyosp/mpa/api/rest/v1/MPAOFactory.hpp> namespace mpa_api_rest_v1 { // Initialize static member MPAOFactory * MPAOFactory::mpaofactory = NULL; MPAOFactory * MPAOFactory::getInstance() { if( mpaofact...
37.585
101
0.518159
cyosp
1a5cad6550b20dbdefcd13178dd1e94768258ae2
3,141
cc
C++
src/tests/functionspace/test_reduced_halo.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
67
2018-03-01T06:56:49.000Z
2022-03-08T18:44:47.000Z
src/tests/functionspace/test_reduced_halo.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
93
2018-12-07T17:38:04.000Z
2022-03-31T10:04:51.000Z
src/tests/functionspace/test_reduced_halo.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
33
2018-02-28T17:06:19.000Z
2022-01-20T12:12:27.000Z
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
32.05102
96
0.559058
twsearle
1a61d1a6a96afadc80416f46aaf1e217616dc71f
4,176
cpp
C++
Plugins/SPARK_PL/src/RenderingAPIs/PixelLight/SPK_PLLineRenderer.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Plugins/SPARK_PL/src/RenderingAPIs/PixelLight/SPK_PLLineRenderer.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Plugins/SPARK_PL/src/RenderingAPIs/PixelLight/SPK_PLLineRenderer.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: SPK_PLLineRenderer.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
42.612245
232
0.534722
ktotheoz
1a680e179daa526101317eb8f2d21d4435439a12
1,803
cpp
C++
src/demo/main.cpp
Glockenspiel/Fibers4U
69dac46b0995164d16bdb048071f43909b1faf5f
[ "Apache-2.0" ]
1
2020-07-11T12:39:03.000Z
2020-07-11T12:39:03.000Z
src/demo/main.cpp
Glockenspiel/Fibers4U
69dac46b0995164d16bdb048071f43909b1faf5f
[ "Apache-2.0" ]
null
null
null
src/demo/main.cpp
Glockenspiel/Fibers4U
69dac46b0995164d16bdb048071f43909b1faf5f
[ "Apache-2.0" ]
null
null
null
#include "include/fbr.h" #include "Player.h" using namespace std; using namespace fbr; int main(){ Player *p = new Player(); BaseTask *printHP = new TaskArgs<>(&Player::printHp, p); TaskArgs<int> *taskArg = new TaskArgs<int>(&Player::addHp, p); int a = 20; taskArg->setArgs(a); TaskArgs<int, bool> *test = new...
25.757143
87
0.684415
Glockenspiel
1a6885151eed7a9c4445dd976ea5a82ec986cb63
898
cpp
C++
euler065.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler065.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler065.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
#include <cstdint> #include <iostream> #include <utility> #include "continued_fraction.h" #include "largeint.h" using uInt = std::uint_fast32_t; using LInt = Euler::LargeInt<uInt>; using Fraction = std::pair<LInt, LInt>; // first: 分子, second: 分母 using namespace Euler::ContinuedFraction; int main(void) { constexp...
23.631579
68
0.635857
suihan74
1a69b234e05419fabf8a71196bb209069b6d6387
3,385
cpp
C++
src/mfx/dsp/wnd/XFadeShape.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/dsp/wnd/XFadeShape.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/dsp/wnd/XFadeShape.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
/***************************************************************************** XFadeShape.cpp Author: Laurent de Soras, 2017 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the ...
19.454023
78
0.534417
mikelange49
1a6e268dde28804830c7cc3dcdd417023249b707
93
cpp
C++
Source/Nova/Game/NovaDestination.cpp
Sabrave/ShipBuilder
4610c16701ccb85d6f1e0de77f914e58bcf4de7e
[ "BSD-3-Clause" ]
17
2022-02-19T05:39:33.000Z
2022-03-01T01:56:19.000Z
Source/Nova/Game/NovaDestination.cpp
Frank1eJohnson/ShipBuilder
4610c16701ccb85d6f1e0de77f914e58bcf4de7e
[ "BSD-3-Clause" ]
null
null
null
Source/Nova/Game/NovaDestination.cpp
Frank1eJohnson/ShipBuilder
4610c16701ccb85d6f1e0de77f914e58bcf4de7e
[ "BSD-3-Clause" ]
null
null
null
// Nova project - Gwennaël Arbona #include "NovaDestination.h" #include "Nova/Nova.h"
15.5
34
0.688172
Sabrave
1a6f4a155ba3def3a2ad336ba461a65aed37ae45
5,536
cpp
C++
src/core.cpp
xiroV/ninja-castle-game
92b5adde81e68cc98c6a696d6b3f6837a17499ca
[ "MIT" ]
null
null
null
src/core.cpp
xiroV/ninja-castle-game
92b5adde81e68cc98c6a696d6b3f6837a17499ca
[ "MIT" ]
null
null
null
src/core.cpp
xiroV/ninja-castle-game
92b5adde81e68cc98c6a696d6b3f6837a17499ca
[ "MIT" ]
null
null
null
#include"core.h" Collision::Collision() {} void Collision::init(std::string filename) { std::ifstream inFile; this->center_point = glm::vec2(22.5, 31.0); this->player_position.push_back(glm::vec4(0, 0, 0, 0)); this->player_position.push_back(glm::vec4(0, 0, 0, 0)); std::vector<unsigned int> vert...
28.536082
144
0.53974
xiroV
2b2dd61a9b564be843b5a4a768fe43e64162ec90
6,944
hpp
C++
INCLUDE/ServiceConfiguration.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
1
2021-03-29T06:09:19.000Z
2021-03-29T06:09:19.000Z
INCLUDE/ServiceConfiguration.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
null
null
null
INCLUDE/ServiceConfiguration.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
null
null
null
/* ** Author: Samuel R. Blackburn ** Internet: wfc@pobox.com ** ** Copyright, 1995-2019, Samuel R. Blackburn ** ** "You can get credit for something or get it done, but not both." ** Dr. Richard Garwin ** ** BSD License follows. ** ** Redistribution and use in source and binary forms, with or without ** modification, a...
45.986755
117
0.751296
SammyB428
2b303ea879083312a7aa10e39830d4871b6b87d2
14,571
cpp
C++
lib/sram/src/sram.cpp
sinanislekdemir/MedlarII
ca5923c7408aae6f71b8e9b79a569e4a8b9da5e8
[ "MIT" ]
2
2021-03-14T07:29:22.000Z
2021-03-15T16:02:14.000Z
lib/sram/src/sram.cpp
sinanislekdemir/MedlarII
ca5923c7408aae6f71b8e9b79a569e4a8b9da5e8
[ "MIT" ]
null
null
null
lib/sram/src/sram.cpp
sinanislekdemir/MedlarII
ca5923c7408aae6f71b8e9b79a569e4a8b9da5e8
[ "MIT" ]
null
null
null
#include "sram.h" #include <Arduino.h> #include <freemem.h> #include <mdisplay.h> #include <stdint.h> SRam::SRam() { } SRam::~SRam() { this->close(); } char *dtoc(double d) { char *value = reinterpret_cast<char *>(&d); return value; } double ctod(char *data) { double resp = *reinterpret_cast<double *co...
21.747761
100
0.49372
sinanislekdemir
2b3437df2442f79b844247273b091143e02b3108
3,341
cpp
C++
Game.cpp
JankoDedic/TappyPlane
79b047e6343aaaa41fdf1281e4db9dfbb95bb0d2
[ "MIT" ]
1
2018-02-28T14:21:14.000Z
2018-02-28T14:21:14.000Z
Game.cpp
djanko1337/TappyPlane
79b047e6343aaaa41fdf1281e4db9dfbb95bb0d2
[ "MIT" ]
null
null
null
Game.cpp
djanko1337/TappyPlane
79b047e6343aaaa41fdf1281e4db9dfbb95bb0d2
[ "MIT" ]
1
2020-07-13T08:56:55.000Z
2020-07-13T08:56:55.000Z
#include "Game.hpp" #include "RectangleFunctions.hpp" #include "Renderer.hpp" namespace TappyPlane { using namespace SDLW::Video; using namespace SDLW::Events; constexpr auto backgroundSpritesheetHandle = "background"; constexpr auto backgroundBounds = canvasBounds; constexpr auto backgroundScrollSpeed = 0.5f; con...
24.566176
75
0.657887
JankoDedic
2b3c6494fcf05fd98c75d47ed901c2fa1affe08f
24,449
cpp
C++
src/article.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
9
2020-04-01T04:15:22.000Z
2021-09-26T21:03:47.000Z
src/article.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
17
2020-04-02T19:38:40.000Z
2020-04-12T05:47:08.000Z
src/article.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /* SOURCE CONTROL VERSIONS */ /*---------------------------------------------------------------------------*/ /* ...
24.4002
95
0.598961
taviso
2b3f56c43262005553a7666cdfa8b342238ac1bd
3,199
hpp
C++
attributes/attribute.hpp
5cript/electronpp
03e257d62f2b939544c5d1c2d8718e58f2d71e34
[ "MIT" ]
null
null
null
attributes/attribute.hpp
5cript/electronpp
03e257d62f2b939544c5d1c2d8718e58f2d71e34
[ "MIT" ]
null
null
null
attributes/attribute.hpp
5cript/electronpp
03e257d62f2b939544c5d1c2d8718e58f2d71e34
[ "MIT" ]
null
null
null
#pragma once #include "generic_attribute.hpp" #include "../util/observer.hpp" #include <emscripten/val.h> #include <functional> #include <iostream> namespace CppDom::Attributes { template <typename ValueT> class Attribute : public GenericAttribute { public: Attribute(std::str...
26.438017
100
0.530166
5cript
2b422105b1d620f109831fd004da587a0acba6f1
3,431
cpp
C++
goldfilter/win32/msgpack_server.cpp
orinocoz/dripcap
096f464e8855da9882fbf0ec3294ff6d7e329dc9
[ "MIT" ]
5
2019-12-20T05:48:26.000Z
2021-10-13T12:32:50.000Z
goldfilter/win32/msgpack_server.cpp
orinocoz/dripcap
096f464e8855da9882fbf0ec3294ff6d7e329dc9
[ "MIT" ]
null
null
null
goldfilter/win32/msgpack_server.cpp
orinocoz/dripcap
096f464e8855da9882fbf0ec3294ff6d7e329dc9
[ "MIT" ]
2
2020-03-07T11:40:38.000Z
2022-01-24T22:37:40.000Z
#include "msgpack_server.hpp" #include <msgpack.hpp> typedef long ssize_t; typedef std::basic_string<TCHAR> tstring; inline void operator<<(tstring &t, const std::string &s) { #ifdef _UNICODE if (s.size() > 0) { t.resize(s.size() + 1); size_t length = 0; mbstowcs_s(&length, &t[0], t.size(...
21.179012
97
0.558146
orinocoz
2b423a2bbdd5dc4457462f2f23e00bd3dc3cf5b4
190
cpp
C++
flare_skia/src/skr_actor_star.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
14
2019-04-29T15:17:24.000Z
2020-12-30T12:51:05.000Z
flare_skia/src/skr_actor_star.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
null
null
null
flare_skia/src/skr_actor_star.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
6
2019-04-29T15:17:25.000Z
2021-11-16T03:20:59.000Z
#include "flare_skia/skr_actor_star.hpp" using namespace flare; SkrActorStar::SkrActorStar() : SkrActorBasePath(this) {} void SkrActorStar::invalidateDrawable() { m_IsPathValid = false; }
27.142857
66
0.784211
taehyub
2b47e6487736be4f7af55e23d51fc838ea6e9d7f
4,965
cc
C++
content/renderer/pepper/ppb_tcp_socket_private_impl.cc
MIPS/external-chromium_org
e31b3128a419654fd14003d6117caa8da32697e7
[ "BSD-3-Clause" ]
2
2017-03-21T23:19:25.000Z
2019-02-03T05:32:47.000Z
content/renderer/pepper/ppb_tcp_socket_private_impl.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/pepper/ppb_tcp_socket_private_impl.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-31T19:09:52.000Z
2019-01-04T18:48:50.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/pepper/ppb_tcp_socket_private_impl.h" #include "content/common/pepper_messages.h" #include "content/renderer/pepper/host_g...
34.964789
80
0.749446
MIPS
2b4859e0cf3cce1bcdb6792c1ddba2420c735dfa
11,602
cpp
C++
hi_modules/nodes/FXNodes.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
hi_modules/nodes/FXNodes.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
hi_modules/nodes/FXNodes.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
/* =========================================================================== * * This file is part of HISE. * Copyright 2016 Christoph Hart * * HISE is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation,...
20.390158
110
0.658593
romsom
2b4df60058134010d44cb4d759db34fe24b65a3b
7,330
cpp
C++
src/gameworld/gameworld/other/fb/rolestoryfb.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/other/fb/rolestoryfb.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/other/fb/rolestoryfb.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#include "rolestoryfb.hpp" #include "obj/character/role.h" #include "config/logicconfigmanager.hpp" #include "other/vip/vipconfig.hpp" #include "other/fb/storyfbconfig.hpp" #include "servercommon/errornum.h" #include "protocal/msgfb.h" #include "other/event/eventhandler.hpp" #include "monster/monsterpool.h" #include "...
22.978056
156
0.715825
mage-game
2b4e6076e6ed4c30ab1de9d92ebdfbe43d6fc701
4,120
cpp
C++
src/parsing.cpp
MicroTransactionsMatterToo/midiparser-cpp
1e95cc445dc4a0411c2ba0bbfd1814dffa368c47
[ "MIT" ]
null
null
null
src/parsing.cpp
MicroTransactionsMatterToo/midiparser-cpp
1e95cc445dc4a0411c2ba0bbfd1814dffa368c47
[ "MIT" ]
null
null
null
src/parsing.cpp
MicroTransactionsMatterToo/midiparser-cpp
1e95cc445dc4a0411c2ba0bbfd1814dffa368c47
[ "MIT" ]
null
null
null
// Copyright Ennis Massey 18/12/16 // // Created by Ennis Massey on 18/12/16. // #include "parsing.h" uint32_t midiparser::ParseUint32(std::ifstream &input_file) { // If the file isn't open, return 0 if (!input_file.is_open()) { return (uint32_t) 0; } // Create buffer char buffer[4]; ...
24.819277
83
0.583252
MicroTransactionsMatterToo
2b531c733edd0986429110aec5a426add9e73335
354
hpp
C++
ntd/vector.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
null
null
null
ntd/vector.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
292
2020-03-19T22:38:52.000Z
2022-03-05T22:49:34.000Z
ntd/vector.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
null
null
null
#pragma once #include <natus/memory/allocator.hpp> #include <vector> namespace natus { namespace ntd { //template< typename T > //using vector = ::std::vector< T, natus::memory::allocator<T> > ; // for now, we use the default allocator template< typename T > using vec...
19.666667
74
0.581921
aconstlink
2b5441573aab4a4ad911786a7ae38e80d31a1a94
2,276
cpp
C++
src/camera.cpp
LesleyLai/GLGrassRenderer
34c9a4822f1908e35620f10298839c96ab830958
[ "Apache-2.0" ]
57
2019-02-24T00:54:07.000Z
2022-03-09T22:08:59.000Z
src/camera.cpp
LesleyLai/GLGrassRenderer
34c9a4822f1908e35620f10298839c96ab830958
[ "Apache-2.0" ]
null
null
null
src/camera.cpp
LesleyLai/GLGrassRenderer
34c9a4822f1908e35620f10298839c96ab830958
[ "Apache-2.0" ]
11
2019-08-30T13:04:10.000Z
2021-12-25T04:03:49.000Z
#include "camera.hpp" Camera::Camera(glm::vec3 position, glm::vec3 up, float yaw, float pitch) : front_(glm::vec3(0.0f, 0.0f, -1.0f)), speed_(initial_speed), mouse_sensitivity_(init_sensitivity), zoom_(init_zoom) { position_ = position; world_up_ = up; yam_ = yaw; pitch_ = pitch; update_c...
26.776471
79
0.614675
LesleyLai
2b5c0973d77dc6cbcd0829a6c30084dc53a6eb39
112
cc
C++
src/messages/reply.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
17
2016-11-27T13:13:40.000Z
2021-09-07T06:42:25.000Z
src/messages/reply.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
22
2017-01-18T06:10:18.000Z
2019-05-15T03:49:19.000Z
src/messages/reply.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
5
2017-07-24T15:19:32.000Z
2022-02-19T09:11:01.000Z
#include "reply.hh" using namespace eclipse::messages; std::string Reply::get_type() const { return "Reply"; }
22.4
55
0.723214
zzunny97
2b605c0a5c1cfdd09444dd5187f3d3a7193f9301
1,994
hpp
C++
include/Zelta/Core/RenderLayer.hpp
RafaelGC/ese
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
1
2018-01-28T21:35:14.000Z
2018-01-28T21:35:14.000Z
include/Zelta/Core/RenderLayer.hpp
RafaelGC/ese
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
1
2018-01-23T02:03:45.000Z
2018-01-23T02:03:45.000Z
include/Zelta/Core/RenderLayer.hpp
rafaelgc/ESE
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
null
null
null
#ifndef ZELTALIB_LAYER_HPP #define ZELTALIB_LAYER_HPP #include <vector> #include <SFML/Graphics/Drawable.hpp> // Base class: sf::Drawable #include <SFML/Graphics/RenderTarget.hpp> namespace zt { /** * @brief Container for drawable objects. * This class allows you to group sf::Drawable elements such as...
26.236842
83
0.549147
RafaelGC
2b6481839159df93be542ffbc8d7757e642639bd
1,127
cpp
C++
src/gpu_monitor_hip.cpp
enp1s0/gpu_monitor
3d1ebb39803861e57670d08ead883d1208d6e35b
[ "MIT" ]
null
null
null
src/gpu_monitor_hip.cpp
enp1s0/gpu_monitor
3d1ebb39803861e57670d08ead883d1208d6e35b
[ "MIT" ]
null
null
null
src/gpu_monitor_hip.cpp
enp1s0/gpu_monitor
3d1ebb39803861e57670d08ead883d1208d6e35b
[ "MIT" ]
null
null
null
#include <hiptf/device.hpp> #include <hiptf/rsmi.hpp> #include "gpu_monitor_hip.hpp" void mtk::gpu_monitor::gpu_monitor_hip::init() { HIPTF_CHECK_ERROR(rsmi_init(0)); } void mtk::gpu_monitor::gpu_monitor_hip::shutdown() { } std::size_t mtk::gpu_monitor::gpu_monitor_hip::get_num_devices() const { return hiptf::devi...
28.175
101
0.785271
enp1s0
2b6a60525f50008936b2c335749c76337bbd685d
935
cpp
C++
test/example/executor/strand.cpp
YACLib/YACLib
fa5e13cdcc1f719e6b6363ba25a4791315e66916
[ "MIT" ]
106
2021-07-04T01:10:18.000Z
2022-03-21T00:58:27.000Z
test/example/executor/strand.cpp
YACLib/YACLib
fa5e13cdcc1f719e6b6363ba25a4791315e66916
[ "MIT" ]
119
2021-07-10T14:26:24.000Z
2022-03-22T22:48:18.000Z
test/example/executor/strand.cpp
YACLib/YACLib
fa5e13cdcc1f719e6b6363ba25a4791315e66916
[ "MIT" ]
7
2021-07-23T11:23:04.000Z
2021-11-13T20:22:56.000Z
/** * \example strand.cpp * Simple \ref Strand examples */ #include <yaclib/executor/strand.hpp> #include <yaclib/executor/thread_pool.hpp> #include <iostream> #include <gtest/gtest.h> using namespace yaclib; TEST(Example, Strand) { std::cout << "Strand" << std::endl; auto tp = MakeThreadPool(4); auto s...
18.7
110
0.59893
YACLib
2b6d76ef984531a8a4aa2be05d6e7ede8a9f96a9
12,142
cpp
C++
src/c++/lib/model/IntervalGenerator.cpp
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
28
2015-05-22T16:03:29.000Z
2022-01-15T12:12:46.000Z
src/c++/lib/model/IntervalGenerator.cpp
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
15
2015-10-21T11:19:09.000Z
2020-07-15T05:01:12.000Z
src/c++/lib/model/IntervalGenerator.cpp
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
8
2017-01-21T00:31:17.000Z
2018-08-12T13:28:57.000Z
/** ** Copyright (c) 2014 Illumina, Inc. ** ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE), ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file) ** ** \description Generation of random/uniform intervals with precise boundaries ** Based on: ** [1] Jon Louis...
37.36
357
0.674848
sequencing
2b6edefa630bd18dcd564cccb200219b6dcbb4d4
4,791
cpp
C++
src/web/downloadthread.cpp
quizzmaster/chemkit
803e4688b514008c605cb5c7790f7b36e67b68fc
[ "BSD-3-Clause" ]
34
2015-01-24T23:59:41.000Z
2020-11-12T13:48:01.000Z
src/web/downloadthread.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
4
2015-12-28T20:29:16.000Z
2016-01-26T06:48:19.000Z
src/web/downloadthread.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
17
2015-01-23T14:50:24.000Z
2021-06-10T15:43:50.000Z
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
33.041379
86
0.615947
quizzmaster
2b6feb5740721ab22d1b8a61391e5f5f9cb7af52
60
cpp
C++
common/UIOverlay.cpp
daozhangXDZ/OpenGLES_Examples
9266842fbd0ae899446b6ccda9cd63eeeaf1451f
[ "MIT" ]
248
2019-06-04T16:46:24.000Z
2022-02-13T11:21:14.000Z
common/UIOverlay.cpp
YKHahahaha/OpenGLES_Examples
b3451184bb5fffd2d6e8390ece93ca6cfcf80bfc
[ "MIT" ]
null
null
null
common/UIOverlay.cpp
YKHahahaha/OpenGLES_Examples
b3451184bb5fffd2d6e8390ece93ca6cfcf80bfc
[ "MIT" ]
40
2019-07-18T09:59:22.000Z
2021-09-17T13:00:05.000Z
// Implementation of Common library #include "UIOverlay.h"
20
36
0.766667
daozhangXDZ
2b763a401e508f70e6f79004fda13fa62b744358
10,614
cpp
C++
mpegts/mpegts/mpegts_muxer.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
1
2020-06-16T11:45:26.000Z
2020-06-16T11:45:26.000Z
mpegts/mpegts/mpegts_muxer.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
null
null
null
mpegts/mpegts/mpegts_muxer.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
null
null
null
#include "mpegts_muxer.h" #include "simple_buffer.h" #include "ts_packet.h" #include "crc.h" #include <string.h> #include "common.h" static const uint16_t MPEGTS_NULL_PACKET_PID = 0x1FFF; static const uint16_t MPEGTS_PAT_PID = 0x00; static const uint16_t MPEGTS_PMT_PID = 0x100; static const uint16_t MPEGTS_P...
36.102041
129
0.63746
Unit-X
2b7686c4291f08c186373e586ed0a4847757da18
632
hpp
C++
include/DynamicBitset.hpp
GiugnoLab/GRASS
2b65b37b03988a842318256e9b364d91221adabd
[ "Intel", "MIT" ]
1
2022-03-03T03:32:45.000Z
2022-03-03T03:32:45.000Z
include/DynamicBitset.hpp
GiugnoLab/GRASS
2b65b37b03988a842318256e9b364d91221adabd
[ "Intel", "MIT" ]
null
null
null
include/DynamicBitset.hpp
GiugnoLab/GRASS
2b65b37b03988a842318256e9b364d91221adabd
[ "Intel", "MIT" ]
null
null
null
/* * Dynamic Bitset Class powered by Mingz & Frank * Version 1.0 */ #ifndef DYNAMICBITSET_H #define DYNAMICBITSET_H #include <iostream> #include <cstring> #include <cstdlib> #include <cmath> using namespace std; #define BIT_PER_DATASET_TYPE 8 typedef unsigned char dataset_t; class DynamicBitset { public: Dyna...
15.414634
48
0.72943
GiugnoLab
2b795362dfcbc6fe454f61ae890685908c7f1d6f
694
cpp
C++
flex-engine/src/flex-engine/Log.cpp
flexed-team/flex-engine
481f40a431a33a9f1a4cc0de95edb7dc81aba34e
[ "Apache-2.0" ]
null
null
null
flex-engine/src/flex-engine/Log.cpp
flexed-team/flex-engine
481f40a431a33a9f1a4cc0de95edb7dc81aba34e
[ "Apache-2.0" ]
null
null
null
flex-engine/src/flex-engine/Log.cpp
flexed-team/flex-engine
481f40a431a33a9f1a4cc0de95edb7dc81aba34e
[ "Apache-2.0" ]
null
null
null
#include "log.hpp" namespace FE { std::shared_ptr<spdlog::logger> Log::s_core_logger; std::shared_ptr<spdlog::logger> Log::s_client_logger; void Log::init() { // See spdlog [wiki](https://github.com/gabime/spdlog/wiki) for more pattern settings // ^ - start color range // T - ISO 8601 time format // n - ...
26.692308
87
0.680115
flexed-team
2b7dfcb07b052af8e1404f5f78aab97ae12524d8
1,842
cc
C++
src/attributes/Akima474MethodWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
41
2018-12-07T23:10:50.000Z
2022-02-19T03:01:49.000Z
src/attributes/Akima474MethodWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
59
2019-01-04T15:43:30.000Z
2022-03-31T09:48:15.000Z
src/attributes/Akima474MethodWrapper.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
13
2019-01-07T14:36:33.000Z
2021-09-06T14:48:36.000Z
/****************************** LICENSE ******************************* * (C) Copyright 1996-2017 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the pr...
22.192771
109
0.711726
b8raoult
2b88daacbff2a89f428e813af6cdbe47db5703b9
8,677
hxx
C++
com/ole32/olethunk/h/interop.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/ole32/olethunk/h/interop.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/ole32/olethunk/h/interop.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1994. // // File: interop.hxx // // Contents: Common definitions for the interop project // // History: 18-Feb-94 DrewB Created // //----...
30.660777
85
0.530483
npocmaka
2b8b20fd3f2f2b67388e511070ed3135875ff451
1,362
cpp
C++
aws-cpp-sdk-cloudtrail/source/model/ListEventDataStoresResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-cloudtrail/source/model/ListEventDataStoresResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-cloudtrail/source/model/ListEventDataStoresResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/cloudtrail/model/ListEventDataStoresResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #includ...
27.24
126
0.768722
perfectrecall
2b957045c492074cd0090fa7e5a5a8b75985c999
2,954
cpp
C++
source/RegistCallback.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
source/RegistCallback.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
source/RegistCallback.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
#include "ns/RegistCallback.h" #include "ns/CompSerializer.h" #include "ns/CompNoSerialize.h" #include "ns/N0CompComplex.h" #include <node0/CompComplex.h> #include "ns/N2CompAnim.h" #include <node2/CompAnim.h> #include "ns/N2CompColorCommon.h" #include <node2/CompColorCommon.h> #include "ns/N2CompColorMap.h" #include...
27.607477
57
0.756601
xzrunner
2b9629798298c6704a0c43083e35af2d7e4529af
145
inl
C++
Projects/CygnusAuxBoardMonitor/Resources/ConfigurationXML_info.inl
hightower70/CygnusGroundStationDev
9fd709f28a67adb293a99c5c251b4ed89e755db3
[ "BSD-2-Clause" ]
1
2019-04-23T05:24:16.000Z
2019-04-23T05:24:16.000Z
Projects/CygnusAuxBoardMonitor/Resources/ConfigurationXML_info.inl
hightower70/CygnusGroundStationDev
9fd709f28a67adb293a99c5c251b4ed89e755db3
[ "BSD-2-Clause" ]
1
2016-08-16T13:05:39.000Z
2016-08-16T13:05:39.000Z
Projects/CygnusAuxBoardMonitor/Resources/ConfigurationXML_info.inl
hightower70/CygnusGroundStationDev
9fd709f28a67adb293a99c5c251b4ed89e755db3
[ "BSD-2-Clause" ]
1
2018-06-24T14:51:20.000Z
2018-06-24T14:51:20.000Z
0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x02, 0x0A, 0x03, 0x00, 0x02, 0x0A, 0x05, 0x00, 0x02, 0x03, 0x07, 0x00, 0x02, 0x0A, 0x09, 0x00, 0x02, 0x03
48.333333
96
0.662069
hightower70
2b9cbd43fc10d98d1346ed20f4b7af95539df4fb
12,800
cpp
C++
src/providers/postgres/qgspostgresprojectstorage.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/providers/postgres/qgspostgresprojectstorage.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/providers/postgres/qgspostgresprojectstorage.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgspostgresprojectstorage.cpp --------------------- begin : April 2018 copyright : (C) 2018 by Martin Dobias email : wonder dot sk at gmail dot com *********************************...
37.317784
278
0.672969
dyna-mis
2b9d7e925eb9565282276d2ef7e186d71bfa2bba
16,851
cc
C++
tests/ut/cpp/dataset/c_api_audio_a_to_q_test.cc
LottieWang/mindspore
1331c7e432fb691d1cfa625ab7cc7451dcfc7ce0
[ "Apache-2.0" ]
null
null
null
tests/ut/cpp/dataset/c_api_audio_a_to_q_test.cc
LottieWang/mindspore
1331c7e432fb691d1cfa625ab7cc7451dcfc7ce0
[ "Apache-2.0" ]
null
null
null
tests/ut/cpp/dataset/c_api_audio_a_to_q_test.cc
LottieWang/mindspore
1331c7e432fb691d1cfa625ab7cc7451dcfc7ce0
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., 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...
30.471971
98
0.699958
LottieWang
2b9e3b7072aa6eac36c65a288f0b47b2c92fdab0
2,406
cpp
C++
Examples/Chess/src/chess-application.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
2
2018-01-02T14:07:54.000Z
2021-07-05T08:05:21.000Z
Examples/Chess/src/chess-application.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
null
null
null
Examples/Chess/src/chess-application.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
null
null
null
#include "chess-application.h" #include <GLFW/glfw3.h> #include <chrono> #include <iostream> #include <random> #include "selection-rendering-stage.h" using namespace bembel; ChessApplication::ChessApplication() : kernel::Application() { this->graphic_system = this->kernel->addSystem<graphics::GraphicSystem>()...
32.08
99
0.715711
JoachimHerber
2ba7bcde3e5dfc15bf94af1a4d55546f3cfbba51
14,693
cpp
C++
macros/phi_correlation_he6_carbon_compare.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
macros/phi_correlation_he6_carbon_compare.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
macros/phi_correlation_he6_carbon_compare.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
#include <iostream> #include "init_6he_ds.hpp" #include "TChain.h" void hdraw(TTree& tree, TString name, TString draw_cmd, TString binning, TCut cuts = "", TString title = "", TString xaxis_title = "", TString yaxis_title = "", TString draw_opts = "colz") { TString hstr = TString::...
38.064767
100
0.574355
serjinio
2ba8b7704ef008a72827b0bfff98fe3808468963
10,557
cpp
C++
src/drivers/milliped.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/drivers/milliped.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/drivers/milliped.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/*************************************************************************** Millipede memory map (preliminary) 0400-040F POKEY 1 0800-080F POKEY 2 1000-13BF SCREEN RAM (8x8 TILES, 32x30 SCREEN) 13C0-13CF SPRITE IMAGE OFFSETS 13D0-13DF SPRITE HORIZONTAL OFFSETS 13E0-13EF SPRITE VER...
29.822034
134
0.637586
pierrelouys
ad9601f7ae49dc17671c16c6096ce479c6bbd639
9,600
cpp
C++
quake_framebuffer/quake_framebuffer/sv_move.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
4
2018-07-03T14:21:39.000Z
2021-06-01T06:12:14.000Z
quake_framebuffer/quake_framebuffer/sv_move.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
quake_framebuffer/quake_framebuffer/sv_move.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (C) 1996-1997 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in th...
22.535211
92
0.621354
WarlockD