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
be9c8f6d41b5ad430033e1240d018b58305dd397
2,045
cpp
C++
HP Code Wars Documents/2010/Solutions/GreekNumerals.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
HP Code Wars Documents/2010/Solutions/GreekNumerals.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
HP Code Wars Documents/2010/Solutions/GreekNumerals.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <map> #include <string> #include <iostream> #include <fstream> #include <math.h> using namespace std; int main( int argc, char* argv[] ) { map<char,int> textValueMap; textValueMap.insert( pair<char,int>( 'A', 1 ) ); textValueMap.insert( pair<char,int>( 'B'...
33.52459
55
0.545232
p473lr
bea1a43aa7823fdafe78545c8458add45f11749a
9,173
cpp
C++
secure-coding-c/sc03/integer-overflow.cpp
hailehong95/Practice-Coding
729acdd596f15657b717975bfa54da1e39114f8a
[ "MIT" ]
null
null
null
secure-coding-c/sc03/integer-overflow.cpp
hailehong95/Practice-Coding
729acdd596f15657b717975bfa54da1e39114f8a
[ "MIT" ]
null
null
null
secure-coding-c/sc03/integer-overflow.cpp
hailehong95/Practice-Coding
729acdd596f15657b717975bfa54da1e39114f8a
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <climits> #include <cstring> #include <cstdlib> using namespace std; bool shortValidation(string); int BitCount(uint64_t); bool Addition_Is_Safe(uint64_t, uint64_t, const int); bool short_Addition_Is_Safe(short, short); void addAnCharacter(char *, int, char); char* Conv...
21.685579
87
0.548457
hailehong95
bea227ef94b26917242359f7f9e5a286d85e6bb0
250
cpp
C++
Crossy_Roads/Camera/obscamera.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
1
2018-04-18T12:54:33.000Z
2018-04-18T12:54:33.000Z
Crossy_Roads/Camera/obscamera.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
null
null
null
Crossy_Roads/Camera/obscamera.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
null
null
null
#include "obscamera.h" using namespace glm; OBSCamera::OBSCamera() { } OBSCamera::OBSCamera(vec3 OBS, vec3 UP) { this->OBS = OBS; this->UP = UP; } OBSCamera::~OBSCamera() { } void OBSCamera::updateVM() { VM = lookAt(OBS, VRP, UP); }
12.5
41
0.624
Daryan7
bea2390778d527b02f1d8a7ff84ece78d39fa6e7
7,325
cpp
C++
sysc/dev.cpp
dcblack/technology_demonstrator
c8f3d2fc9a51fba0db3ed9a44c540f1249b59b10
[ "Apache-2.0" ]
4
2018-10-12T01:06:32.000Z
2022-01-11T19:14:20.000Z
sysc/dev.cpp
dcblack/technology_demonstrator
c8f3d2fc9a51fba0db3ed9a44c540f1249b59b10
[ "Apache-2.0" ]
1
2017-06-13T05:08:35.000Z
2019-01-03T14:14:34.000Z
sysc/dev.cpp
dcblack/technology_demonstrator
c8f3d2fc9a51fba0db3ed9a44c540f1249b59b10
[ "Apache-2.0" ]
1
2015-04-29T08:42:17.000Z
2015-04-29T08:42:17.000Z
//BEGIN dev.cpp (systemc) /////////////////////////////////////////////////////////////////////////////// // $Info: Simple device implementation $ /////////////////////////////////////////////////////////////////////////////// // $License: Apache 2.0 $ // // This file is licensed under the Apache License, Version 2.0 ...
42.34104
99
0.539113
dcblack
bea3e8a9de009103ffde93b9ef0a40352fa9a3f6
3,831
cpp
C++
tests/unit/endian/endianness_test.cpp
tapaswenipathak/CoreNeuron
d8a235a54b6ed8a3c39d14c31a5da79dcece57c2
[ "BSD-3-Clause" ]
1
2019-08-17T21:18:18.000Z
2019-08-17T21:18:18.000Z
tests/unit/endian/endianness_test.cpp
tapaswenipathak/CoreNeuron
d8a235a54b6ed8a3c39d14c31a5da79dcece57c2
[ "BSD-3-Clause" ]
null
null
null
tests/unit/endian/endianness_test.cpp
tapaswenipathak/CoreNeuron
d8a235a54b6ed8a3c39d14c31a5da79dcece57c2
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2016, Blue Brain Project 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, this list of conditions and the foll...
35.472222
88
0.741321
tapaswenipathak
bea67ba9bf710f926e27096b87b670a45f3670c3
1,493
cpp
C++
ZSpire-Framework/src/zs-forward-render.cpp
Pershades/zspire
9b08cfd4cf25348680dc0c3f139b079a2f7434ef
[ "MIT" ]
4
2018-03-15T20:02:17.000Z
2018-03-31T19:19:53.000Z
ZSpire-Framework/src/zs-forward-render.cpp
Cvosttv/zspire
9b08cfd4cf25348680dc0c3f139b079a2f7434ef
[ "MIT" ]
null
null
null
ZSpire-Framework/src/zs-forward-render.cpp
Cvosttv/zspire
9b08cfd4cf25348680dc0c3f139b079a2f7434ef
[ "MIT" ]
3
2018-03-25T15:43:51.000Z
2018-03-27T22:43:05.000Z
#include <vector> #include "../includes/zs-base-structs.h" #include "../includes/zs-camera.h" #include "../includes/zs-light.h" #include "../includes/zs-shader.h" #include "../includes/zs-game-object.h" #include "../includes/zs-scene.h" #include "../includes/zs-forward-render.h" #ifdef _WIN32 #include <glew.h> ...
20.452055
74
0.713999
Pershades
bea9a92742289ee55258270749877935498b490c
44,181
cpp
C++
src/JSystem/JAS/JASAramStream.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/JSystem/JAS/JASAramStream.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/JSystem/JAS/JASAramStream.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global OSC_RELEASE_TABLE OSC_RELEASE_TABLE: .4byte 0x00000002 .4byte 0x0000000F .4byte 0x00000000 .global OSC_ENV OSC_ENV: .4byte 0x00000000 .float 1.0 .4...
20.549302
150
0.574319
projectPiki
beaa46493a55b5a296674e428f257cb69eaf6a80
35,743
cpp
C++
src/modules/devices/genicam/GenicamDevice.cpp
Opticalp/instrumentall
f952c1cd54f375dc4cb258fec5af34d14c2b8044
[ "MIT" ]
1
2020-05-19T02:06:55.000Z
2020-05-19T02:06:55.000Z
src/modules/devices/genicam/GenicamDevice.cpp
Opticalp/instrumentall
f952c1cd54f375dc4cb258fec5af34d14c2b8044
[ "MIT" ]
16
2015-11-18T13:25:30.000Z
2018-05-17T19:25:46.000Z
src/modules/devices/genicam/GenicamDevice.cpp
Opticalp/instrumentall
f952c1cd54f375dc4cb258fec5af34d14c2b8044
[ "MIT" ]
null
null
null
/** * @file src/modules/devices/genicam/GenicamDevice.cpp * @date Jan. 2017 * @author PhRG - opticalp.fr */ /* Copyright (c) 2017 Ph. Renaud-Goud / Opticalp Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
25.206629
123
0.637971
Opticalp
beabcdf481ed6eff8a8ca9c18d7bdc6bf003558c
1,754
cpp
C++
KFPlugin/KFHttpClient/KFHttpThread.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
1
2021-04-26T09:31:32.000Z
2021-04-26T09:31:32.000Z
KFPlugin/KFHttpClient/KFHttpThread.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
KFPlugin/KFHttpClient/KFHttpThread.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
#include "KFHttpThread.hpp" #include "KFHttp/KFHttp.h" namespace KFrame { KFHttpThread::KFHttpThread() { _thread_run = true; _http_response_list.InitQueue( 20000u ); KFThread::CreateThread( this, &KFHttpThread::RunHttpRequest, __FUNC_LINE__ ); } KFHttpThread::~KFHttpThread() ...
23.386667
85
0.518814
282951387
beb54bfd3c776f6efddc4bdc818813d8bc85a1d1
345
cpp
C++
src/DupLogger.cpp
DIYEmbeddedSystems/Logger
b3ac778786253bdcd298e4d8c04b161d2092c07b
[ "MIT" ]
null
null
null
src/DupLogger.cpp
DIYEmbeddedSystems/Logger
b3ac778786253bdcd298e4d8c04b161d2092c07b
[ "MIT" ]
null
null
null
src/DupLogger.cpp
DIYEmbeddedSystems/Logger
b3ac778786253bdcd298e4d8c04b161d2092c07b
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <ArduinoLogger.h> #include <DupLogger.h> DupLogger::DupLogger(Logger &logger1, Logger &logger2) : _logger1(logger1), _logger2(logger2) { info("DupLogger constructed"); } void DupLogger::output(const char *log_buffer, size_t len) { _logger1.output(log_buffer, len); _logger2.ou...
20.294118
58
0.730435
DIYEmbeddedSystems
beb75648ba1692e542efda2ce2d90b2dda0f38c0
3,460
cpp
C++
eden/fs/tracing/test/TracingTest.cpp
jmswen/eden
5e0b051703fa946cc77fc43004435ae6b20599a1
[ "BSD-3-Clause" ]
null
null
null
eden/fs/tracing/test/TracingTest.cpp
jmswen/eden
5e0b051703fa946cc77fc43004435ae6b20599a1
[ "BSD-3-Clause" ]
null
null
null
eden/fs/tracing/test/TracingTest.cpp
jmswen/eden
5e0b051703fa946cc77fc43004435ae6b20599a1
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2018-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
25.62963
79
0.695376
jmswen
beb8147403f3f64a7e1617135d0cc76b78921430
835
cpp
C++
706B.cpp
JiangWeibeta/Answers-to-Codeforces-Problems
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
1
2021-10-30T02:17:29.000Z
2021-10-30T02:17:29.000Z
706B.cpp
JiangWeibeta/Answers-to-codeforces-problemset
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
null
null
null
706B.cpp
JiangWeibeta/Answers-to-codeforces-problemset
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <stdlib.h> #include <vector> using namespace std; int main() { int len = 0; cin >> len; vector<int> vc(len); for (int i = 0; i < len; i++) { cin >> vc[i]; } sort(vc.begin(), vc.end()); int cnt = 0; cin >> c...
18.977273
42
0.361677
JiangWeibeta
bebb6bf04f7d2fb76c9cc5a5e4482a928b962f66
1,761
cc
C++
RecoParticleFlow/PFProducer/plugins/PFConcretePFCandidateProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoParticleFlow/PFProducer/plugins/PFConcretePFCandidateProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoParticleFlow/PFProducer/plugins/PFConcretePFCandidateProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h" #include "FWCore/Framework/interface/stream/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" namespace edm { class EventSetup; } ...
33.226415
96
0.75071
ckamtsikis
bebc043e1bd065c318d08aafc83b2e1ae34188a6
813
hpp
C++
Library/Source/EnergyManager/Utility/Units/SIUnit.hpp
NB4444/BachelorProjectEnergyManager
d1fd93dcc83af6d6acd36b7efda364ac2aab90eb
[ "MIT" ]
null
null
null
Library/Source/EnergyManager/Utility/Units/SIUnit.hpp
NB4444/BachelorProjectEnergyManager
d1fd93dcc83af6d6acd36b7efda364ac2aab90eb
[ "MIT" ]
null
null
null
Library/Source/EnergyManager/Utility/Units/SIUnit.hpp
NB4444/BachelorProjectEnergyManager
d1fd93dcc83af6d6acd36b7efda364ac2aab90eb
[ "MIT" ]
null
null
null
#pragma once #include "EnergyManager/Utility/Units/Unit.hpp" namespace EnergyManager { namespace Utility { namespace Units { /** * SI prefix types. */ enum class SIPrefix { YOCTO = -24, ZEPTO = -21, ATTO = -18, FEMTO = -15, PICO = -12, NANO = -9, MICRO = -6, MILLI = -3...
17.297872
53
0.530135
NB4444
bebcbddfa46d7fa351994c2a7bbcc3de84aa7a41
8,134
cc
C++
lib/spot-2.8.1/spot/twa/twa.cc
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
lib/spot-2.8.1/spot/twa/twa.cc
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
lib/spot-2.8.1/spot/twa/twa.cc
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
// -*- coding: utf-8 -*- // Copyright (C) 2011, 2014-2019 Laboratoire de Recherche et Developpement de // l'EPITA (LRDE). // Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6), // département Systèmes Répartis Coopératifs (SRC), Université Pierre // et Marie Curie. // // This file is part of Sp...
28.145329
79
0.652201
AlessandroCaste
bebdf80ff5a9cc18f8b7289fd0fbc26537c76609
13,298
cpp
C++
parsers/arg_parser/generated/ArgumentListLexer.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
307
2015-04-10T13:27:32.000Z
2022-03-21T03:30:38.000Z
parsers/arg_parser/generated/ArgumentListLexer.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
2,231
2015-04-27T10:47:35.000Z
2022-03-31T19:22:37.000Z
parsers/arg_parser/generated/ArgumentListLexer.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
282
2015-01-05T12:16:57.000Z
2022-03-28T04:45:11.000Z
// Generated from /media/cache/code/asarium/fs2open.github.com/parsers/arg_parser/ArgumentList.g4 by ANTLR 4.8 #include "ArgumentListLexer.h" using namespace antlr4; ArgumentListLexer::ArgumentListLexer(CharStream *input) : Lexer(input) { _interpreter = new atn::LexerATNSimulator(this, _atn, _decisionToDFA, _s...
52.561265
120
0.618439
trgswe
bebe23bb7cf418e86220e5eb91e98ebfec244c5c
4,237
cpp
C++
3dc/sphere.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
3dc/sphere.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
3dc/sphere.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
#include "3dc.h" #include "module.h" #include "inline.h" #include "tables.h" #include "sphere.h" #define UseLocalAssert TRUE #include "ourasert.h" #define MakeVertex(o,x,y,z) \ { \ o->vx=(x); \ o->vy=(y); \ o->vz=(z); \ o++; \ } #define MakeFace(f,a,b,c) \ { \ f->v[0] = (a); \ f->v[1] = (b); \ f->v[2] = (c);...
16.681102
81
0.495634
Melanikus
bec2481709501c3146718d513f3ffa5176f05b20
1,560
cpp
C++
Code.v05-00/src/Util/MC_Rand.cpp
MIT-LAE/APCEMM
2954bca64ec1c13552830d467d404dbe627ef71a
[ "MIT" ]
2
2022-03-21T20:49:37.000Z
2022-03-22T17:25:31.000Z
Code.v05-00/src/Util/MC_Rand.cpp
MIT-LAE/APCEMM
2954bca64ec1c13552830d467d404dbe627ef71a
[ "MIT" ]
null
null
null
Code.v05-00/src/Util/MC_Rand.cpp
MIT-LAE/APCEMM
2954bca64ec1c13552830d467d404dbe627ef71a
[ "MIT" ]
1
2022-03-21T20:50:50.000Z
2022-03-21T20:50:50.000Z
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ /* */ /* Aircraft Plume Chemistry, Emission and Microphysics Model */ /* (APCEMM) */ /* ...
39
78
0.385897
MIT-LAE
bec6d0b12a9242e98360a623fe871fe150f6a181
570
cpp
C++
tests/fastMalloc.cpp
security-geeks/lisa.py
dc4e2418fa11174b841cec0e8f477f6d90730ee6
[ "Apache-2.0" ]
29
2015-03-16T02:05:53.000Z
2019-06-23T19:09:36.000Z
tests/fastMalloc.cpp
security-geeks/lisa.py
dc4e2418fa11174b841cec0e8f477f6d90730ee6
[ "Apache-2.0" ]
2
2016-08-31T00:11:54.000Z
2016-09-03T03:12:14.000Z
tests/fastMalloc.cpp
security-geeks/lisa.py
dc4e2418fa11174b841cec0e8f477f6d90730ee6
[ "Apache-2.0" ]
13
2015-04-09T12:24:42.000Z
2020-12-23T08:05:23.000Z
//WebCore fast*alloc functions call CRASH() which writes to 0xbbadbeef if //the amount to allocate was too big. That shouldn't be considered exploitable. #include <stdio.h> //as defined in wtf/Assertions.h #define CRASH() do { \ *(int *)(unsigned int*)0xbbadbeef = 0; \ ((void(*)())0)(); /* More reliable, b...
24.782609
80
0.657895
security-geeks
becb4dee1d0fc3f6f31881b3bb75ad8bcba117fd
12,227
cpp
C++
tests/das_tests/wire_out_with_fee_tests.cpp
powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
1
2021-07-26T02:42:01.000Z
2021-07-26T02:42:01.000Z
tests/das_tests/wire_out_with_fee_tests.cpp
green-powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
null
null
null
tests/das_tests/wire_out_with_fee_tests.cpp
green-powerchain-ltd/greenpower-blockchain
ff04c37f2de11677c3a34889fdede1256a3e5e02
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018 Tech Solutions Malta LTD * * 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 rights * to us...
44.461818
188
0.765192
powerchain-ltd
becc22c708b14f7f58a34ae63dadc0dfdb62afa7
3,609
cpp
C++
day-08/cpp/part-2.cpp
nikolausmayer/Advent-of-Code-2020
0c119caf066266c45f066cd923ee0b845d7ebf9e
[ "MIT" ]
1
2021-06-30T20:34:38.000Z
2021-06-30T20:34:38.000Z
day-08/cpp/part-2.cpp
nikolausmayer/Advent-of-Code-2020
0c119caf066266c45f066cd923ee0b845d7ebf9e
[ "MIT" ]
null
null
null
day-08/cpp/part-2.cpp
nikolausmayer/Advent-of-Code-2020
0c119caf066266c45f066cd923ee0b845d7ebf9e
[ "MIT" ]
null
null
null
#include <cstdlib> #include <fstream> #include <iostream> #include <list> #include <memory> #include <stdexcept> #include <string> #include <typeinfo> #include <vector> class State { public: int accumulator{0}; unsigned position{0}; }; class Instruction { public: Instruction(int argument) : argument(arg...
19.721311
68
0.626489
nikolausmayer
becd8f23970f304866dbaa3b80768913930828cf
4,709
cpp
C++
AtCoder/ABC/133/F.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
2
2018-12-11T14:37:24.000Z
2022-01-23T18:11:54.000Z
AtCoder/ABC/133/F.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
AtCoder/ABC/133/F.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
/* Rathin Bhargava IIIT Bangalore */ #include<bits/stdc++.h> #define mt make_tuple #define mp make_pair #define pu push_back #define INF 1000000001 #define MOD 1000000007 #define ll long long int #define ld long double #define fi first #define se second #define pr(v) { for(int i=0;i<v.size();i++) { v[i]==INF? cout<<"I...
26.016575
226
0.498407
Mindjolt2406
becfa603a2fe2ed4d77b68fbeb677efa956018bf
922
hpp
C++
notebook/mutsim/src/mut.hpp
johnsmith2077/kevlar
3ed06dae62479e89ccd200391728c416d4df8052
[ "MIT" ]
24
2016-12-07T07:59:09.000Z
2019-03-11T02:05:36.000Z
notebook/mutsim/src/mut.hpp
johnsmith2077/kevlar
3ed06dae62479e89ccd200391728c416d4df8052
[ "MIT" ]
325
2016-12-07T07:37:17.000Z
2019-03-12T19:01:40.000Z
notebook/mutsim/src/mut.hpp
standage/kevlar
622d1869266550422e91a60119ddc7261eea434a
[ "MIT" ]
8
2017-08-17T01:37:39.000Z
2019-03-01T16:17:44.000Z
#ifndef KEVLAR_CPP_MUT #define KEVLAR_CPP_MUT #include <random> #include <string> #include "hist.hpp" #include "log.hpp" #include "hashtable.hh" using namespace oxli; class Mutator { protected: uint k; ulong limit; Histogram abund_hist; Histogram unique_hist; Logger& logge...
24.263158
89
0.652928
johnsmith2077
bede9b5653bc0edea47bed131b930eb881df611a
7,393
inl
C++
marstd2/inline/CMatrix4.inl
marcel303/marstd2004
8494eae253bea7c740f68458b0084c82c7ce2e0e
[ "MIT" ]
1
2020-05-20T12:31:35.000Z
2020-05-20T12:31:35.000Z
marstd2/inline/CMatrix4.inl
marcel303/marstd2004
8494eae253bea7c740f68458b0084c82c7ce2e0e
[ "MIT" ]
null
null
null
marstd2/inline/CMatrix4.inl
marcel303/marstd2004
8494eae253bea7c740f68458b0084c82c7ce2e0e
[ "MIT" ]
1
2020-05-20T12:31:40.000Z
2020-05-20T12:31:40.000Z
////////////////////////////////////////////////////////////////////// // CMatrix4 implementation. ////////////////////////////////////////////////////////////////////// #include <vector> // std::swap() #define INDEX3(x, y) ((x) + (y) * 3) #define INDEX4(x, y) ((x) + (y) * 4) inline CMatrix4::CMatrix4() {...
20.31044
114
0.422562
marcel303
bedf79f3e26c44efe53726d95ddae33576a0e457
364
cpp
C++
URI Online Judge/Beginners/1101 - Sequence of Numbers and Sum.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
URI Online Judge/Beginners/1101 - Sequence of Numbers and Sum.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
URI Online Judge/Beginners/1101 - Sequence of Numbers and Sum.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
//1101 - Sequence of Numbers and Sum #include<iostream> using namespace std; int main(){ int m,n,t; cin>>n; cin>>m; while (m>0 && n>0) { if (n>m) { t=n; n=m; m=t; } t=0; for (int j =n ; j <=m; j++) { cout<<j<<" "; t+=j; } cout<<"Sum="<<t<<en...
14
36
0.401099
wgarcia1309
bee3d60abc0c121b1be4afd6492f928bc5e3a5da
11,169
cpp
C++
cores/n64/GLideN64/src/Graphics/OpenGLContext/GLSL/glsl_ShaderStorage.cpp
wulfebw/retro
dad4b509e99e729e39a2f27e9ee4120e3b607f58
[ "MIT-0", "MIT" ]
7
2020-07-20T12:11:35.000Z
2021-12-23T02:09:19.000Z
cores/n64/GLideN64/src/Graphics/OpenGLContext/GLSL/glsl_ShaderStorage.cpp
wulfebw/retro
dad4b509e99e729e39a2f27e9ee4120e3b607f58
[ "MIT-0", "MIT" ]
null
null
null
cores/n64/GLideN64/src/Graphics/OpenGLContext/GLSL/glsl_ShaderStorage.cpp
wulfebw/retro
dad4b509e99e729e39a2f27e9ee4120e3b607f58
[ "MIT-0", "MIT" ]
1
2020-08-29T16:36:48.000Z
2020-08-29T16:36:48.000Z
#include <fstream> #include <assert.h> #include <cstdlib> #include <algorithm> #include <iomanip> #include <Graphics/CombinerProgram.h> #include <Graphics/Context.h> #include <Graphics/OpenGLContext/opengl_Utils.h> #include <Types.h> #include <Log.h> #include <RSP.h> #include <PluginAPI.h> #include <Combiner.h> #inclu...
30.6
116
0.724953
wulfebw
bee7428de9930bdcf6c481fc4eded1ca31d47eab
4,778
cpp
C++
src/devel/csjp_logger.cpp
csjpeter/libcsjp
a26a574b09e1814337f887d653e2ced6d1d66334
[ "BSD-3-Clause" ]
null
null
null
src/devel/csjp_logger.cpp
csjpeter/libcsjp
a26a574b09e1814337f887d653e2ced6d1d66334
[ "BSD-3-Clause" ]
1
2016-03-06T12:45:01.000Z
2016-03-26T20:10:59.000Z
src/devel/csjp_logger.cpp
csjpeter/libcsjp
a26a574b09e1814337f887d653e2ced6d1d66334
[ "BSD-3-Clause" ]
null
null
null
/* * Author: Csaszar, Peter <csjpeter@gmail.com> * Copyright (C) 2009-2012 Csaszar, Peter */ #include <sys/time.h> #include <sys/stat.h> #include <unistd.h> #include <errno.h> #include <time.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #ifdef FCLOG #include <fclog.h> #endif ...
22.327103
88
0.685224
csjpeter
bee85719a453ea2abafba343a4d8067206c13a4c
2,445
cpp
C++
cc/CCRenderPassDrawQuad.cpp
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
2
2020-06-10T07:15:26.000Z
2020-12-13T19:44:12.000Z
cc/CCRenderPassDrawQuad.cpp
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
cc/CCRenderPassDrawQuad.cpp
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2011 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 "config.h" #include "CCRenderPassDrawQuad.h" namespace cc { scoped_ptr<CCRenderPassDrawQuad> CCRenderPassDrawQuad::create(const CCSharedQuadSt...
47.941176
380
0.811043
quisquous
beea03b4623f3c024fecefab9615f3f84a674f40
6,907
cpp
C++
gui/qt-gui/gui/calibrationdialog.cpp
yleniaBattistini/ObjectTracker
9f408d2c8e55209e80592ab17e6cddfddb38f5c4
[ "MIT" ]
null
null
null
gui/qt-gui/gui/calibrationdialog.cpp
yleniaBattistini/ObjectTracker
9f408d2c8e55209e80592ab17e6cddfddb38f5c4
[ "MIT" ]
null
null
null
gui/qt-gui/gui/calibrationdialog.cpp
yleniaBattistini/ObjectTracker
9f408d2c8e55209e80592ab17e6cddfddb38f5c4
[ "MIT" ]
null
null
null
#include "calibrationdialog.h" #include "ui_calibrationdialog.h" #include "displayutils.h" #include "pixmaputils.h" #include <opencv2/core.hpp> #include <opencv2/calib3d.hpp> #include <opencv2/imgproc.hpp> #include <iostream> #include <QFileDialog> #include <QDir> #include <opencv2/imgcodecs.hpp> #include <QMessageBox>...
29.266949
122
0.70624
yleniaBattistini
beeb74d59e8e88aa2618fddb808de9b2d5ae3c28
10,078
cpp
C++
src/reportmanager.cpp
fengjixuchui/memhunter
3f85e66d5d4cf83bd7b5d0d457a8e62c746ba703
[ "MIT" ]
354
2018-08-13T18:19:21.000Z
2022-03-20T10:37:20.000Z
src/reportmanager.cpp
ZhuHuiBeiShaDiao/memhunter
37ce1488fa041199cc8761e473947affc3286b7b
[ "MIT" ]
3
2019-09-27T11:33:52.000Z
2020-04-21T17:15:28.000Z
src/reportmanager.cpp
ZhuHuiBeiShaDiao/memhunter
37ce1488fa041199cc8761e473947affc3286b7b
[ "MIT" ]
90
2018-11-15T12:37:51.000Z
2022-02-14T11:12:39.000Z
#include "common.h" void HunterCommon::SuspiciousProcessData::AddThreadInformation(DWORD &threadID, std::wstring &threadInfo) { ThreadInfoCollection::iterator it = m_threads.find(threadID); if (it != m_threads.end()) { it->second.push_back(threadInfo); } else { std::vector<std::wstring> threadInfoContainer; ...
30.819572
144
0.724549
fengjixuchui
bef0763f95dfc01933495791d303250b2b7e9c7c
3,072
cpp
C++
Source/TracerLib/TracerDebug.cpp
yalcinerbora/meturay
cff17b537fd8723af090802dfd17a0a740b404f5
[ "MIT" ]
null
null
null
Source/TracerLib/TracerDebug.cpp
yalcinerbora/meturay
cff17b537fd8723af090802dfd17a0a740b404f5
[ "MIT" ]
null
null
null
Source/TracerLib/TracerDebug.cpp
yalcinerbora/meturay
cff17b537fd8723af090802dfd17a0a740b404f5
[ "MIT" ]
null
null
null
#include "TracerDebug.h" #include "ImageMemory.h" #include "DefaultLeaf.h" #include "RayLib/ImageIO.h" namespace Debug { namespace Detail { void OutputHitPairs(std::ostream& s, const RayId* ids, const HitKey* keys, size_t count); } } void Debug::Detail::OutputHitPairs(std::ostream& s, const RayId* ids, const Hit...
26.25641
103
0.524414
yalcinerbora
bef097fae84798e338d96c6f94e04080968dc1e4
2,693
cpp
C++
leetcode_archived_cpp/LeetCode_758.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
null
null
null
leetcode_archived_cpp/LeetCode_758.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
7
2021-03-19T04:41:21.000Z
2021-10-19T15:46:36.000Z
leetcode_archived_cpp/LeetCode_758.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
null
null
null
class Solution { public: vector<int> findall(string haystack, string needle) { vector<int> ans; int m = needle.size(); if(m <= 0) return {}; vector<int> f(m,0); int j = 0; process(needle, f); for(int i = 0;i < haystack.size(); i++) { ...
25.894231
90
0.318604
Sean10
bef247fcf133245b8c13c61b58803ae0b9209993
5,489
hpp
C++
parallel_bandits/source/algorithms.hpp
piojanu/Parallel-Bandits
57a91dd5aa0b31aab79ea09a6b6ed9bb5a9ad266
[ "Apache-2.0" ]
null
null
null
parallel_bandits/source/algorithms.hpp
piojanu/Parallel-Bandits
57a91dd5aa0b31aab79ea09a6b6ed9bb5a9ad266
[ "Apache-2.0" ]
null
null
null
parallel_bandits/source/algorithms.hpp
piojanu/Parallel-Bandits
57a91dd5aa0b31aab79ea09a6b6ed9bb5a9ad266
[ "Apache-2.0" ]
null
null
null
#pragma once #include <memory> #include <vector> #include "bandits.hpp" using namespace std; namespace bandits { class IAlgorithm { public: /** * Solve the Multi-Armed Bandit problem. * * @param bandit Vector of bandit arms to pull. * @return The (ε-)optimal ar...
33.066265
79
0.594644
piojanu
bef957555d1bd2533bf48080a56162a275b21ea8
43,911
cpp
C++
src/ReBarBands.cpp
TimoKunze/ToolBarControls
409625a0e8541d7cea7a108951699970953af757
[ "MIT" ]
1
2019-12-12T08:12:14.000Z
2019-12-12T08:12:14.000Z
src/ReBarBands.cpp
TimoKunze/ToolBarControls
409625a0e8541d7cea7a108951699970953af757
[ "MIT" ]
null
null
null
src/ReBarBands.cpp
TimoKunze/ToolBarControls
409625a0e8541d7cea7a108951699970953af757
[ "MIT" ]
2
2018-05-05T02:30:05.000Z
2021-12-09T18:20:38.000Z
// ReBarBands.cpp: Manages a collection of ReBarBand objects #include "stdafx.h" #include "ReBarBands.h" #include "ClassFactory.h" ////////////////////////////////////////////////////////////////////// // implementation of ISupportErrorInfo STDMETHODIMP ReBarBands::InterfaceSupportsErrorInfo(REFIID interfaceToCheck)...
30.137955
886
0.713899
TimoKunze
befb2292d6e8c3cf870fe5b05c97003fab9bfbb6
22,288
cpp
C++
src/scripting/jb_luaapi_gui_textrsrc.cpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
null
null
null
src/scripting/jb_luaapi_gui_textrsrc.cpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
8
2015-02-24T19:38:35.000Z
2016-05-25T02:33:48.000Z
src/scripting/jb_luaapi_gui_textrsrc.cpp
JadeMatrix/jadebase
c4575cc9f0b73c18ea82b671f6b347211507b71b
[ "Zlib" ]
null
null
null
/* * jb_luaapi_gui_textrsrc.cpp * * Implements GUI text resource API fron jb_luaapi.hpp * */ /* INCLUDES *******************************************************************//******************************************************************************/ #include "jb_luaapi.hpp" #include "../jadebase.hpp" ...
47.220339
160
0.327127
JadeMatrix
befca3bf7daf8fb39462c64feab26ec22c0ae402
1,446
cpp
C++
Lydsy/P3208 花神的秒题计划I/P3208.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
22
2018-08-07T06:55:10.000Z
2021-06-12T02:12:19.000Z
Lydsy/P3208 花神的秒题计划I/P3208.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
28
2020-03-04T23:47:22.000Z
2022-02-26T18:50:00.000Z
Lydsy/P3208 花神的秒题计划I/P3208.cpp
Wycers/Codelib
86d83787aa577b8f2d66b5410e73102411c45e46
[ "MIT" ]
4
2019-11-09T15:41:26.000Z
2021-10-10T08:56:57.000Z
#include <cstdio> #include <cstring> #include <algorithm> #define N 705 using namespace std; const short d[4][2]={{0,1},{0,-1},{1,0},{-1,0}}; int map[N][N],f[N][N],n; bool per[N][N]; void Readin() { scanf("%d",&n); for (int i=1;i<=n;i++) for (int j=1;j<=n;j++) scanf("%d",&map[i][j]); memset(per,false,sizeof(p...
18.538462
51
0.421853
Wycers
beff941d1021004cdcef7e99ba6977c1816fa6de
1,005
cpp
C++
hdu-winter-2020/problems/字符串/1005.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
hdu-winter-2020/problems/字符串/1005.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
hdu-winter-2020/problems/字符串/1005.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
#include<cstdio> #include<algorithm> #include<cstring> #include<iostream> #include<vector> #include<queue> #include<cmath> #include<map> #include<set> #define ll long long #define F(i,a,b) for(int i=(a);i<=(b);i++) #define mst(a,b) memset((a),(b),sizeof(a)) #define PII pair<int,int> using namespace std; template<class ...
17.946429
67
0.573134
songhn233
8300628ad85f3b54c9c1065f86c5314e2fb10963
395
cpp
C++
mcc/mcc/MccUndefinedVariableError.cpp
Goclis/mcc
475ff1a1e92db749bc935f979d79296ca466470d
[ "MIT" ]
null
null
null
mcc/mcc/MccUndefinedVariableError.cpp
Goclis/mcc
475ff1a1e92db749bc935f979d79296ca466470d
[ "MIT" ]
null
null
null
mcc/mcc/MccUndefinedVariableError.cpp
Goclis/mcc
475ff1a1e92db749bc935f979d79296ca466470d
[ "MIT" ]
null
null
null
#include "MccUndefinedVariableError.h" #include <iostream> using std::cout; MccUndefinedVariableError::MccUndefinedVariableError(const string &name) { m_var_name = name; m_line_no = 0; } MccUndefinedVariableError::~MccUndefinedVariableError(void) { } void MccUndefinedVariableError::report() const { cout << "Li...
17.173913
72
0.729114
Goclis
8301b8c81bf5259d7fc3f689b17aade9077f4e89
113
hpp
C++
Motionless/include/State.hpp
rcurtis/Motionless
e64d13be03ddbf22f849aed4232455f89bf78005
[ "MIT" ]
1
2017-02-15T04:05:11.000Z
2017-02-15T04:05:11.000Z
Motionless/include/State.hpp
rcurtis/Motionless
e64d13be03ddbf22f849aed4232455f89bf78005
[ "MIT" ]
null
null
null
Motionless/include/State.hpp
rcurtis/Motionless
e64d13be03ddbf22f849aed4232455f89bf78005
[ "MIT" ]
null
null
null
#pragma once namespace mt { enum class State { Stopped, Playing, Paused }; }
10.272727
20
0.486726
rcurtis
83040fb6b7f41a0a88a09459f7a93b5443fada2d
45,840
cpp
C++
src/hotspot/cpu/s390/c2_MacroAssembler_s390.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
1
2020-12-26T04:52:15.000Z
2020-12-26T04:52:15.000Z
src/hotspot/cpu/s390/c2_MacroAssembler_s390.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
1
2020-12-26T04:57:19.000Z
2020-12-26T04:57:19.000Z
src/hotspot/cpu/s390/c2_MacroAssembler_s390.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
1
2021-12-06T01:13:18.000Z
2021-12-06T01:13:18.000Z
/* * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
35.728761
139
0.592757
1690296356
8305287687862ace307ef8aad592460066fa6b53
834
cpp
C++
src/SocketSender.cpp
ref-humbold/Traceroute
230508cbe66b29a68b1d33249f2ee8810def339f
[ "MIT" ]
null
null
null
src/SocketSender.cpp
ref-humbold/Traceroute
230508cbe66b29a68b1d33249f2ee8810def339f
[ "MIT" ]
null
null
null
src/SocketSender.cpp
ref-humbold/Traceroute
230508cbe66b29a68b1d33249f2ee8810def339f
[ "MIT" ]
null
null
null
#include "SocketSender.hpp" #include <cerrno> #include <cstring> #include <string> void SocketSender::send(const void * message_buffer, int message_size) const { setsockopt(socket.descriptor(), IPPROTO_IP, IP_TTL, &ttl_, sizeof(uint16_t)); ssize_t sent_size = sendto(socket.descriptor(), message_buffer, messag...
28.758621
96
0.688249
ref-humbold
83076409eca66997b34da724beb9a601856bf226
3,861
cpp
C++
framework/src/minko/render/Effect.cpp
undeadinu/minko
9171805751fb3a50c6fcab0b78892cdd4253ee11
[ "BSD-3-Clause" ]
478
2015-01-04T16:59:53.000Z
2022-03-07T20:28:07.000Z
framework/src/minko/render/Effect.cpp
undeadinu/minko
9171805751fb3a50c6fcab0b78892cdd4253ee11
[ "BSD-3-Clause" ]
83
2015-01-15T21:45:06.000Z
2021-11-08T11:01:48.000Z
framework/src/minko/render/Effect.cpp
undeadinu/minko
9171805751fb3a50c6fcab0b78892cdd4253ee11
[ "BSD-3-Clause" ]
175
2015-01-04T03:30:39.000Z
2020-01-27T17:08:14.000Z
/* Copyright (c) 2014 Aerys 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 rights to use, copy, modify, merge, publish, distribute, sublicens...
30.401575
98
0.688164
undeadinu
8307c8e09b0b7dce2308a84bb171ed7e1847663e
616
cpp
C++
test/reverse/core/var_unittest.cpp
kilasuelika/FastAD
dd070c608c18f5391f2ac68dca4f9db223a33eca
[ "MIT" ]
50
2019-11-28T22:25:01.000Z
2022-02-20T03:55:19.000Z
test/reverse/core/var_unittest.cpp
kilasuelika/FastAD
dd070c608c18f5391f2ac68dca4f9db223a33eca
[ "MIT" ]
25
2019-11-28T20:44:12.000Z
2021-10-30T00:14:39.000Z
test/reverse/core/var_unittest.cpp
kilasuelika/FastAD
dd070c608c18f5391f2ac68dca4f9db223a33eca
[ "MIT" ]
2
2021-02-26T11:14:56.000Z
2021-07-07T06:40:18.000Z
#include <gtest/gtest.h> #include <fastad_bits/reverse/core/var.hpp> namespace ad { namespace core { struct var_fixture : ::testing::Test { protected: using value_t = double; using scl_v_t = Var<value_t, scl>; using vec_v_t = Var<value_t, vec>; using mat_v_t = Var<value_t, mat>; template <class T...
18.117647
43
0.599026
kilasuelika
8309ed90755f198e0cf680ed488a977f00f4eb65
2,286
cpp
C++
UE4.26/IGLMeshProcessingProject/Plugins/MeshProcessingPlugin/Source/MeshProcessingPlugin/Private/MeshProcessingPluginStyle.cpp
VonHirsch/UnrealMeshProcessingTools
5380cfda12d2370c3744884280ecb10cd4967e35
[ "MIT" ]
153
2020-01-06T05:59:28.000Z
2022-03-23T03:43:15.000Z
UE4.26/IGLMeshProcessingProject/Plugins/MeshProcessingPlugin/Source/MeshProcessingPlugin/Private/MeshProcessingPluginStyle.cpp
VonHirsch/UnrealMeshProcessingTools
5380cfda12d2370c3744884280ecb10cd4967e35
[ "MIT" ]
6
2020-04-17T05:11:59.000Z
2022-03-14T00:15:25.000Z
UE4.26/IGLMeshProcessingProject/Plugins/MeshProcessingPlugin/Source/MeshProcessingPlugin/Private/MeshProcessingPluginStyle.cpp
VonHirsch/UnrealMeshProcessingTools
5380cfda12d2370c3744884280ecb10cd4967e35
[ "MIT" ]
48
2020-05-23T16:43:59.000Z
2022-03-22T06:05:31.000Z
#include "MeshProcessingPluginStyle.h" #include "Styling/SlateStyleRegistry.h" #include "Styling/SlateTypes.h" #include "Styling/CoreStyle.h" #include "EditorStyleSet.h" #include "Interfaces/IPluginManager.h" #include "SlateOptMacros.h" //======================================= // EVERYTHING BELOW HERE IS BOILERPLATE!...
31.75
142
0.755031
VonHirsch
830acf9ea1ed3894eacfb8df720b563a4654dc90
134
cpp
C++
src/sa-bsn/system_manager/enactor/apps/controller.cpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
8
2020-01-26T15:26:27.000Z
2022-01-05T15:38:07.000Z
src/sa-bsn/system_manager/enactor/apps/controller.cpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
50
2019-08-29T23:52:43.000Z
2021-01-24T19:09:54.000Z
src/sa-bsn/system_manager/enactor/apps/controller.cpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
4
2019-06-15T17:23:57.000Z
2020-10-16T20:09:41.000Z
#include "controller/Controller.hpp" int main(int argc, char **argv) { Controller c(argc, argv, "enactor"); return c.run(); }
22.333333
40
0.656716
gabrielevi10
830b84c3a06779af527824ce83a959d9ce62f7b4
384
cpp
C++
src/layer/layer_impl.cpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
114
2017-06-14T07:05:31.000Z
2021-06-13T05:30:49.000Z
src/layer/layer_impl.cpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
7
2017-11-17T08:16:55.000Z
2019-10-05T00:09:20.000Z
src/layer/layer_impl.cpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
40
2017-06-15T03:21:10.000Z
2021-10-31T15:03:30.000Z
#define _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_DEPRECATE // include the layer, this is where the actual implementations are #include "layer_impl-inl.hpp" // specialize the cpu implementation here namespace textnet { namespace layer { template<> Layer<cpu>* CreateLayer<cpu>(LayerType type) { return CreateLaye...
25.6
66
0.773438
pl8787
8312f3c4897d46df5f32f22b018493b7e4e8701a
2,171
hpp
C++
mainapp/Classes/Games/HundredPuzzle/HundredPuzzleScene.hpp
JaagaLabs/GLEXP-Team-KitkitSchool
f94ea3e53bd05fdeb2a9edcc574bc054e575ecc0
[ "Apache-2.0" ]
45
2019-05-16T20:49:31.000Z
2021-11-05T21:40:54.000Z
mainapp/Classes/Games/HundredPuzzle/HundredPuzzleScene.hpp
rdsmarketing/GLEXP-Team-KitkitSchool
6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e
[ "Apache-2.0" ]
123
2019-05-28T14:03:04.000Z
2019-07-12T04:23:26.000Z
pehlaschool/Classes/Games/HundredPuzzle/HundredPuzzleScene.hpp
maqsoftware/Pehla-School-Hindi
61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43
[ "Apache-2.0" ]
29
2019-05-16T17:49:26.000Z
2021-12-30T16:36:24.000Z
// // HundredPuzzleScene.hpp // // Created by Gunho Lee on 12/10/16. // // #ifndef HundredPuzzleScene_hpp #define HundredPuzzleScene_hpp #include <stdio.h> #include "cocos2d.h" #include "ui/CocosGUI.h" #include <vector> #include <string> #include <functional> #include "Common/Controls/ProgressIndicator.hpp" USIN...
17.942149
99
0.64947
JaagaLabs
9b0042645b3fa15cf56977c4ed688c05f5b23b2c
516
cpp
C++
src/ResourceEntry.cpp
skaarj1989/FrameGraph
326e6762dcec39e6dbe529fb1be88910f7e33377
[ "MIT" ]
3
2022-03-17T06:55:17.000Z
2022-03-25T06:08:11.000Z
src/ResourceEntry.cpp
skaarj1989/FrameGraph
326e6762dcec39e6dbe529fb1be88910f7e33377
[ "MIT" ]
null
null
null
src/ResourceEntry.cpp
skaarj1989/FrameGraph
326e6762dcec39e6dbe529fb1be88910f7e33377
[ "MIT" ]
2
2022-03-17T06:55:05.000Z
2022-03-25T05:06:50.000Z
#include "fg/ResourceEntry.hpp" std::string ResourceEntry::toString() const { return m_concept->toString(); } void ResourceEntry::create(void *allocator) { assert(isTransient()); m_concept->create(allocator); } void ResourceEntry::destroy(void *allocator) { assert(isTransient()); m_concept->destroy(allocator)...
30.352941
77
0.75
skaarj1989
9b07d4ca5edb6441c75ab732d0fdf47f787bdc7b
2,330
hpp
C++
libs/libgui/inc/gui/cairo_painter.hpp
mbits-os/JiraDesktop
eb9b66b9c11b2fba1079f03a6f90aea425ce6138
[ "MIT" ]
null
null
null
libs/libgui/inc/gui/cairo_painter.hpp
mbits-os/JiraDesktop
eb9b66b9c11b2fba1079f03a6f90aea425ce6138
[ "MIT" ]
null
null
null
libs/libgui/inc/gui/cairo_painter.hpp
mbits-os/JiraDesktop
eb9b66b9c11b2fba1079f03a6f90aea425ce6138
[ "MIT" ]
null
null
null
/* * Copyright (C) 2015 midnightBITS * * 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 rights to use, copy, * modify, merge, pub...
38.196721
128
0.751931
mbits-os
9b0b13b949ba93854a196b97a4bb3a981ed96444
554
hpp
C++
trview.common/Json.hpp
chreden/trview
e2a5e3539036f27adfa54fc7fcf4c3537b99a221
[ "MIT" ]
20
2018-10-17T02:00:03.000Z
2022-03-24T09:37:20.000Z
trview.common/Json.hpp
chreden/trview
e2a5e3539036f27adfa54fc7fcf4c3537b99a221
[ "MIT" ]
396
2018-07-22T16:11:47.000Z
2022-03-29T11:57:03.000Z
trview.common/Json.hpp
chreden/trview
e2a5e3539036f27adfa54fc7fcf4c3537b99a221
[ "MIT" ]
8
2018-07-25T21:31:06.000Z
2021-11-01T14:36:26.000Z
#pragma once namespace trview { template <typename T> T read_attribute(const nlohmann::json& json, const std::string& attribute_name) { if (json.count(attribute_name) != 0) { return json[attribute_name].get<T>(); } return {}; } template <typename T> ...
24.086957
102
0.579422
chreden
9b0ceaa9334130147516d82fb5c6d02cb4cf1709
463
cpp
C++
cpp/multiarr/main.cpp
nufrofedoc/lots-of-code
5bea582b3cd890473f4365093b99fe75fe07eede
[ "MIT" ]
1
2021-04-08T21:47:01.000Z
2021-04-08T21:47:01.000Z
cpp/multiarr/main.cpp
nufrofedoc/lots-of-code
5bea582b3cd890473f4365093b99fe75fe07eede
[ "MIT" ]
null
null
null
cpp/multiarr/main.cpp
nufrofedoc/lots-of-code
5bea582b3cd890473f4365093b99fe75fe07eede
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int matrix[10][10]; matrix[0][0] = 10; matrix[9][9] = 5; for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { matrix[i][j] = rand() % 6; } } for (int i = 0; i < 10; i++) { for (int j = 0; j < 10...
17.148148
40
0.37797
nufrofedoc
9b0e931f37787ef1602fdc03acad7baa59103ea9
1,091
cc
C++
src/lib/fidl/cpp/internal/natural_server_messenger.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2022-02-24T16:24:29.000Z
2022-02-25T22:33:10.000Z
src/lib/fidl/cpp/internal/natural_server_messenger.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
1
2022-03-01T01:12:04.000Z
2022-03-01T01:17:26.000Z
src/lib/fidl/cpp/internal/natural_server_messenger.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2022 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 <lib/fidl/cpp/internal/message_extensions.h> #include <lib/fidl/cpp/internal/natural_server_messenger.h> #include <lib/fidl/cpp/message.h> #includ...
36.366667
81
0.725023
allansrc
9b153db6366c8a38ec0f67d10e3754c52cec7071
1,522
hpp
C++
SDK/ARKSurvivalEvolved_MissionModule_zSubmodule_CompanionReaction_Base_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_MissionModule_zSubmodule_CompanionReaction_Base_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_MissionModule_zSubmodule_CompanionReaction_Base_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_MissionModule_zSubmodule_CompanionReaction_Base_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //----------------------...
39.025641
174
0.687911
2bite
9b18fc07e0897f6f97b2d7ac8685843fd95a7e69
9,835
cc
C++
core/mm/slab.cc
TheCool1Kevin/LiquiDOS
721f26bb915599e9b001d8331d993da83078323f
[ "MIT" ]
12
2017-09-02T01:36:32.000Z
2019-09-17T12:49:49.000Z
core/mm/slab.cc
TheOneKevin/LiquiDOS
721f26bb915599e9b001d8331d993da83078323f
[ "MIT" ]
4
2017-08-16T07:58:13.000Z
2019-12-28T06:06:03.000Z
core/mm/slab.cc
TheOneKevin/LiquiDOS
721f26bb915599e9b001d8331d993da83078323f
[ "MIT" ]
2
2019-03-15T21:59:40.000Z
2019-12-08T16:11:18.000Z
/** * Copyright (c) 2019 The cxkernel Authors. All rights reserved. * Use of this source code is governed by a MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT * * @file slab.cc * @author Kevin Dai \<kevindai02@outlook.com\> * @date Created on Ju...
34.875887
151
0.506151
TheCool1Kevin
9b1ac18cb7abed83682e15ca9a609b76c200cc31
929
cpp
C++
aws-cpp-sdk-iot/source/model/UpdateBillingGroupRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-iot/source/model/UpdateBillingGroupRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-iot/source/model/UpdateBillingGroupRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "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/iot/model/UpdateBillingGroupRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::IoT::Model; using namespace Aws::Utils::Json; using names...
20.644444
84
0.761033
Neusoft-Technology-Solutions
9b1d7b807be9ac9a2903aa818f0b1df381a9d77c
1,104
cpp
C++
leetcode-problems/medium/139-word-break.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
leetcode-problems/medium/139-word-break.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
leetcode-problems/medium/139-word-break.cpp
formatkaka/dsalgo
a7c7386c5c161e23bc94456f93cadd0f91f102fa
[ "Unlicense" ]
null
null
null
// // Created by Siddhant on 2019-11-11. // #include "iostream" #include "vector" #include "string" #include "unordered_map" using namespace std; unordered_map<string, bool> map; bool wordBreak(string s, vector<string> &wordDict) { if (s.empty()) { return true; } if(map.find(s) != map.end()){...
21.230769
115
0.51721
formatkaka
9b1dc1e5061574115bce16b4127c33e666569b5b
6,023
cpp
C++
source/quantum-script-extension-random.cpp
g-stefan/quantum-script-extension-random
26746cad95d3104a933a3add824a5f499c47e9a7
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script-extension-random.cpp
g-stefan/quantum-script-extension-random
26746cad95d3104a933a3add824a5f499c47e9a7
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script-extension-random.cpp
g-stefan/quantum-script-extension-random
26746cad95d3104a933a3add824a5f499c47e9a7
[ "MIT", "Unlicense" ]
null
null
null
// // Quantum Script Extension Random // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include...
32.38172
144
0.699485
g-stefan
9b1ddbe9922eed1a4d5202f886a990f049dbac93
886
cpp
C++
firmware/src/hsvtorgb.cpp
atomic14/moon_lamp_public
058e9b4040d49137f4738efea58d9c398b457110
[ "CC0-1.0" ]
null
null
null
firmware/src/hsvtorgb.cpp
atomic14/moon_lamp_public
058e9b4040d49137f4738efea58d9c398b457110
[ "CC0-1.0" ]
5
2021-03-10T22:49:15.000Z
2022-02-27T06:58:42.000Z
firmware/src/hsvtorgb.cpp
atomic14/moon_lamp_public
058e9b4040d49137f4738efea58d9c398b457110
[ "CC0-1.0" ]
null
null
null
#include <Arduino.h> #include <cmath> #include "hsvtorgb.h" rgb_t HSVtoRGB(int h, double s, double v) { double c = s * v; double x = c * (1 - std::abs(fmod(h / 60.0, 2) - 1)); double m = v - c; double r, g, b; if (h >= 0 && h < 60) { r = c; g = x; b = 0; } else ...
16.109091
57
0.327314
atomic14
9b207c257fcc28b254f94cd2fc6dfb70a91f3e2a
81,018
cpp
C++
Blizzlike/Trinity/Scripts/Zones/borean_tundra.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/Trinity/Scripts/Zones/borean_tundra.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/Trinity/Scripts/Zones/borean_tundra.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * 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 ...
31.220809
195
0.497248
499453466
9b233d64c07cc4ddf7b028bad0f3dc6dbc6f3fa7
706
cc
C++
atcoder/abc116/b/b.cc
punkieL/proCon
7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af
[ "MIT" ]
1
2015-10-06T16:27:42.000Z
2015-10-06T16:27:42.000Z
atcoder/abc116/b/b.cc
punkieL/proCon
7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af
[ "MIT" ]
1
2015-10-06T16:24:16.000Z
2015-10-06T16:24:16.000Z
atcoder/abc116/b/b.cc
punkieL/proCon
7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <unordered_map> #include <unordered_set> using namespace std; template<typename T> void show(T a){ for(auto i : a){ cout << i << " "; } cout << endl; } bool isOdd(int a){ return a%2 == 1; } bool isEven(int a){ return a%2 == 0; } int f(int a){ ...
14.408163
38
0.552408
punkieL
9b26827f62c64e4f8c80e04d78e15d534dd3c66a
1,428
cc
C++
chrome/browser/ui/frame/window_frame_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/ui/frame/window_frame_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/ui/frame/window_frame_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2018 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 "chrome/browser/ui/frame/window_frame_util.h" #include "build/build_config.h" #include "ui/gfx/geometry/size.h" #if defined(OS_WIN) #include "b...
31.733333
78
0.748599
zealoussnow
9b2a6680a07c2b73eb0f077ba3bf4e8587e0488b
641
cpp
C++
CS Academy/Round #62/find-binary-array.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
CS Academy/Round #62/find-binary-array.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
CS Academy/Round #62/find-binary-array.cpp
itsmevanessi/Competitive-Programming
e14208c0e0943d0dec90757368f5158bb9c4bc17
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; pair<int, int> arr[200001]; int final [200001]; int main(void) { memset(final, 1, sizeof final); int n; cin >> n; for(int i = 0; i < n; ++i){ cin >> arr[i].first; } for(int i = 0; i < n; ++i){ cin >> arr[i].second; } for(in...
20.677419
46
0.422777
itsmevanessi
9b2a9b3283325d59eae7dfb12d77da47c6b8a3e5
1,578
cpp
C++
Views/FooterComponent.cpp
InTheMerde/photon-room-node
f82fa20f06d75686c69316e01e408e3a0e47c828
[ "MIT" ]
3
2015-12-23T16:02:36.000Z
2016-02-10T09:21:58.000Z
Views/FooterComponent.cpp
imarmorat/photon-room-node
f82fa20f06d75686c69316e01e408e3a0e47c828
[ "MIT" ]
null
null
null
Views/FooterComponent.cpp
imarmorat/photon-room-node
f82fa20f06d75686c69316e01e408e3a0e47c828
[ "MIT" ]
null
null
null
#include "Adafruit_ILI9341\Adafruit_ILI9341.h" #include "../general.h" #include "FooterComponent.h" #include "application.h" // http://www.barth-dev.de/online/rgb565-color-picker/ #define VIEW_NORMAL_COLOR 0xEF5D #define VIEW_CURRENT_COLOR 0x041F FooterComponent::FooterComponent() { } void FooterComponent::display(...
29.222222
120
0.727503
InTheMerde
9b2dc390e4ec9fe481801d39779fc5cb529eba77
2,634
hpp
C++
src/uTensor/ops/ActivationFncs.hpp
victorromeo/uTensor
1d8866e03469c220a57075473bd102b010a47832
[ "Apache-2.0" ]
1
2020-09-20T16:33:34.000Z
2020-09-20T16:33:34.000Z
src/uTensor/ops/ActivationFncs.hpp
victorromeo/uTensor
1d8866e03469c220a57075473bd102b010a47832
[ "Apache-2.0" ]
3
2020-08-09T11:40:56.000Z
2020-08-16T03:34:42.000Z
src/uTensor/ops/ActivationFncs.hpp
victorromeo/uTensor
1d8866e03469c220a57075473bd102b010a47832
[ "Apache-2.0" ]
null
null
null
#ifndef UTENSOR_ACTIVATIONS_OPS_H #define UTENSOR_ACTIVATIONS_OPS_H #include <type_traits> #include "ActivationFncs_kernels.hpp" #include "operatorBase.hpp" namespace uTensor { namespace ReferenceOperators { class InPlaceActivationFnc : public OperatorInterface<1, 0> { public: enum names_in : uint8_t { x }; prot...
29.266667
73
0.694002
victorromeo
9b2f6b837681e2c5f3cc6068ae9db033e7bec96c
11,904
cc
C++
pagespeed/testing/fake_dom_test.cc
gtmetrix/pagespeed-library
4aac4ab995bc99c6a40f0c820cfefc88db6fcf33
[ "Apache-2.0" ]
11
2016-08-23T12:31:32.000Z
2021-05-12T09:47:01.000Z
pagespeed/testing/fake_dom_test.cc
gtmetrix/page-speed-library
4aac4ab995bc99c6a40f0c820cfefc88db6fcf33
[ "Apache-2.0" ]
null
null
null
pagespeed/testing/fake_dom_test.cc
gtmetrix/page-speed-library
4aac4ab995bc99c6a40f0c820cfefc88db6fcf33
[ "Apache-2.0" ]
1
2019-03-13T00:51:45.000Z
2019-03-13T00:51:45.000Z
// Copyright 2010 Google Inc. All Rights Reserved. // // 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 applicabl...
33.158774
78
0.721942
gtmetrix
9b2f7bdcf1b990df294395a55edfbba1a97514da
774
cpp
C++
C++/Object-Oriented Programming in C++/Chapter 3_Loops and Decisions/4.cpp
OjeshManandhar/Code-Backup
67a395fe2439725f42ce0a18b4d2e2e65f00695d
[ "MIT" ]
2
2019-01-03T14:12:52.000Z
2019-03-22T16:13:16.000Z
C++/Object-Oriented Programming in C++/Chapter 3_Loops and Decisions/4.cpp
OjeshManandhar/Code-Backup
67a395fe2439725f42ce0a18b4d2e2e65f00695d
[ "MIT" ]
null
null
null
C++/Object-Oriented Programming in C++/Chapter 3_Loops and Decisions/4.cpp
OjeshManandhar/Code-Backup
67a395fe2439725f42ce0a18b4d2e2e65f00695d
[ "MIT" ]
1
2019-01-13T17:54:01.000Z
2019-01-13T17:54:01.000Z
#include <iostream> using namespace std; int main() { float a,b; char op,choice; do { cout << "Enter first number, operator, second number: "; cin >> a >> op >> b; switch (op) { case '+': cout << "Answer: " << a+b << endl; break; ...
19.35
64
0.381137
OjeshManandhar
9b3155e795f2c03c44a0bb406fe61ae84567ab70
601
cpp
C++
IRadiance/src/IRadiance/Raytracer/Samplers/JitteredSampler.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
IRadiance/src/IRadiance/Raytracer/Samplers/JitteredSampler.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
IRadiance/src/IRadiance/Raytracer/Samplers/JitteredSampler.cpp
Nickelium/IRadiance
7e7040460852a6f9f977cf466e6dcecf44618ae7
[ "MIT" ]
null
null
null
#include "pch.h" #include "JitteredSampler.h" #include "IRadiance/Raytracer/Maths/Utilities.h" namespace IRadiance { JitteredSampler::JitteredSampler(int _nbSamples) : Sampler(_nbSamples) { Init(); } void JitteredSampler::GenerateSamples2D() { float n = (float)(int)sqrt(m_NumSamples); ...
16.694444
50
0.517471
Nickelium
9b3d3948d6f9955e5ae01810467f6dc31d5c2a08
3,966
cpp
C++
2003 - Task3 {16 of 19} [g]/src/Main.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
2003 - Task3 {16 of 19} [g]/src/Main.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
2003 - Task3 {16 of 19} [g]/src/Main.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
#include <vcl.h> #pragma hdrstop #include "Filters.h" #include "Main.h" #include "dlg.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TForm1 *Form1; //------------------------------------------------------------------------...
27.541667
78
0.459153
retgone
9b4085c028a2a9d273bbb5cf4be0fe4abdea303a
3,998
cpp
C++
player.cpp
williamsonlogan/fauxcaster
815fa250b49efb5a36fa2c56db65c9ff6b141e41
[ "MIT" ]
null
null
null
player.cpp
williamsonlogan/fauxcaster
815fa250b49efb5a36fa2c56db65c9ff6b141e41
[ "MIT" ]
null
null
null
player.cpp
williamsonlogan/fauxcaster
815fa250b49efb5a36fa2c56db65c9ff6b141e41
[ "MIT" ]
null
null
null
#include "player.h" Player::Player(float posx, float posy, Map * map) : Entity::Entity("player", posx, posy, "\0") { if (agk::GetObjectExists(getID())) agk::DeleteObject(getID()); _map = map; agk::SetCameraPosition(1, posx, 0, posy); agk::SetCameraRotation(1, 0, 0, 0); agk::SetCameraFOV(1, fieldOfView); agk:...
23.94012
108
0.611306
williamsonlogan
9b42914fbb579274c1594558578918a73b5e2195
1,588
cpp
C++
C++/0923-3Sum-With-Multiplicity/soln.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0923-3Sum-With-Multiplicity/soln.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0923-3Sum-With-Multiplicity/soln.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
class Solution { public: int threeSumMulti(vector<int>& A, int target) { // How to pick unique soln int n = A.size(); long long ans = 0; sort(A.begin(), A.end()); long long c[105] = {0}; int mod = 1e9 + 7; for(int num : A) ++c[num]; for(int i = 0; i < ...
38.731707
122
0.301637
wyaadarsh
9b4323148a73bc90d8bd3a69f15320f96e902aa6
986
hpp
C++
include/communication/mapping/SerialTransferMapping.hpp
Tyulis/ToyGB
841507fa19c320caa98b16eae2a6df0bc996ba51
[ "MIT" ]
null
null
null
include/communication/mapping/SerialTransferMapping.hpp
Tyulis/ToyGB
841507fa19c320caa98b16eae2a6df0bc996ba51
[ "MIT" ]
null
null
null
include/communication/mapping/SerialTransferMapping.hpp
Tyulis/ToyGB
841507fa19c320caa98b16eae2a6df0bc996ba51
[ "MIT" ]
null
null
null
#ifndef _COMMUNICATION_MAPPING_SERIALTRANSFERMAPPING_HPP #define _COMMUNICATION_MAPPING_SERIALTRANSFERMAPPING_HPP #include "core/hardware.hpp" #include "memory/Constants.hpp" #include "memory/MemoryMapping.hpp" #include "util/error.hpp" namespace toygb { /** Serial port communication IO registers mapping */ class ...
32.866667
116
0.744422
Tyulis
9b4cdd879a3a1360c32ccc5ebeff837efe382c21
120
cpp
C++
FightingGameProject/FightersHitStopMessage.cpp
RoundBearChoi/CPP_FightingGame
21d07caab82dd5ee0ad233886a36ef1fe93e25b6
[ "Unlicense" ]
8
2021-03-08T06:21:13.000Z
2022-03-04T21:53:37.000Z
FightingGameProject/FightersHitStopMessage.cpp
RoundBearChoi/CPP_FightingGame
21d07caab82dd5ee0ad233886a36ef1fe93e25b6
[ "Unlicense" ]
null
null
null
FightingGameProject/FightersHitStopMessage.cpp
RoundBearChoi/CPP_FightingGame
21d07caab82dd5ee0ad233886a36ef1fe93e25b6
[ "Unlicense" ]
null
null
null
#include "FightersHitStopMessage.h" namespace RB { Updater* FightersHitStopMessage::_fightersFixedUpdater = nullptr; }
20
66
0.816667
RoundBearChoi
9b4dde4486692724c84b39148eb1e3b9bc7319cb
30
cc
C++
Token/samples/sample1.cc
lijinpei/libclang-sample
8594028f0025769acd27ccbe64a1b35375279c99
[ "MIT" ]
31
2015-02-16T10:05:45.000Z
2021-12-22T16:09:08.000Z
Token/samples/sample1.cc
lijinpei/libclang-sample
8594028f0025769acd27ccbe64a1b35375279c99
[ "MIT" ]
1
2015-12-31T21:56:03.000Z
2016-01-08T10:36:44.000Z
Token/samples/sample1.cc
lijinpei/libclang-sample
8594028f0025769acd27ccbe64a1b35375279c99
[ "MIT" ]
12
2015-11-03T03:22:49.000Z
2020-05-05T15:16:48.000Z
int main("aa", /* "bb"= */1 )
15
29
0.4
lijinpei
9b536374a077c4498cc6f0d33e814e102cbc0dcb
527
cpp
C++
wizards/qtcreator/projects/xpcf application/main.cpp
b-com-software-basis/xpcf
26ce21929ff6209ef69117270cf49844348c988f
[ "Apache-2.0" ]
null
null
null
wizards/qtcreator/projects/xpcf application/main.cpp
b-com-software-basis/xpcf
26ce21929ff6209ef69117270cf49844348c988f
[ "Apache-2.0" ]
7
2020-02-13T20:35:16.000Z
2021-11-19T17:46:15.000Z
wizards/qtcreator/projects/xpcf application/main.cpp
b-com-software-basis/xpcf
26ce21929ff6209ef69117270cf49844348c988f
[ "Apache-2.0" ]
1
2018-02-26T14:10:43.000Z
2018-02-26T14:10:43.000Z
%{Cpp:LicenseTemplate}\ #include <xpcf/xpcf.h> #include <iostream> namespace xpcf=org::bcom::xpcf; /** * Declare module. */ int main(int argc, char ** argv) { SRef<xpcf::IComponentManager> xpcfComponentManager = xpcf::getComponentManagerInstance(); XPCFErrorCode xpcfComponentManager->loadModuleMetadata(...
25.095238
116
0.6926
b-com-software-basis
9b5819f088856c1e780fd9077351fd3c04332a65
3,952
cpp
C++
es-core/src/components/ButtonComponent.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
es-core/src/components/ButtonComponent.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
es-core/src/components/ButtonComponent.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
#include <utils/Strings.h> #include "components/ButtonComponent.h" #include "Renderer.h" #include "WindowManager.h" #include "themes/MenuThemeData.h" ButtonComponent::ButtonComponent(WindowManager&window, const std::string& text, const std::string& helpText, const std::function<void()>& func, bool upperCase) : Compo...
24.245399
159
0.723431
AdoPi
9b5cdaf94bbc021f9036f4087b03fd370ce4b2d6
4,916
cpp
C++
OOP/Second partial exam/ex 7/main.cpp
LjupcheD14/FINKI1408
be2454864d8aa0c33621141295f958424c7b0f16
[ "Apache-2.0" ]
null
null
null
OOP/Second partial exam/ex 7/main.cpp
LjupcheD14/FINKI1408
be2454864d8aa0c33621141295f958424c7b0f16
[ "Apache-2.0" ]
null
null
null
OOP/Second partial exam/ex 7/main.cpp
LjupcheD14/FINKI1408
be2454864d8aa0c33621141295f958424c7b0f16
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; class OutOfBoundsException { public: void message() { cout<<"Brojot na pin kodovi ne moze da go nadmine dozvolenoto"<<endl; } }; class Karticka { protected: char smetka[16]; int pin; bool povekjePin; public: Karticka(char...
20.39834
106
0.486981
LjupcheD14
9b610c06cb346758e5c502394dc6b1757ea73f6b
4,620
cpp
C++
Labs/Puppeteer/src/strtk/strtk_numstats.cpp
jadnohra/jad-pre-2015-dabblings
368cbd39c6371b3e48b0c67d9a83fc20eee41346
[ "MIT" ]
null
null
null
Labs/Puppeteer/src/strtk/strtk_numstats.cpp
jadnohra/jad-pre-2015-dabblings
368cbd39c6371b3e48b0c67d9a83fc20eee41346
[ "MIT" ]
null
null
null
Labs/Puppeteer/src/strtk/strtk_numstats.cpp
jadnohra/jad-pre-2015-dabblings
368cbd39c6371b3e48b0c67d9a83fc20eee41346
[ "MIT" ]
null
null
null
/* ***************************************************************** * String Toolkit Library * * * * Number Statistics * * Author: Arash Partow (2002-2010) ...
33.970588
103
0.470779
jadnohra
9b635c0e1d4b75aa6a618c02984155d021eb27ac
414
hpp
C++
sprout/random.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/random.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
sprout/random.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_RANDOM_HPP #define SPROUT_RANDOM_HPP #include <sprout/config.hpp> #include <sprout/random/engine.hpp> #include <sprout/random/distribution.hpp> #include <sprout/random/variate_generator.hpp> #include <sprout/random/random_result.hpp> #include <sprout/random/iterator.hpp> #include <sprout/random...
29.571429
47
0.777778
osyo-manga
9b6a2db45e653e07c7df5e840f9529727c1f07c3
377
cpp
C++
Array/Leaders in an Array problem using Efficient Method.cpp
themlstudent/MasteringDataStructure
06ee83706a3844d21249f1d192b0619f30f12eef
[ "MIT" ]
null
null
null
Array/Leaders in an Array problem using Efficient Method.cpp
themlstudent/MasteringDataStructure
06ee83706a3844d21249f1d192b0619f30f12eef
[ "MIT" ]
null
null
null
Array/Leaders in an Array problem using Efficient Method.cpp
themlstudent/MasteringDataStructure
06ee83706a3844d21249f1d192b0619f30f12eef
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void leaders(int arr[], int n) { int curr_ldr = arr[n - 1]; cout<<curr_ldr<<" "; for(int i = n - 2; i >= 0; i--) { if(curr_ldr < arr[i]) { curr_ldr = arr[i]; cout<<curr_ldr<<" "; } } } int main() { int arr[] = {7, 10, 4, ...
12.16129
50
0.440318
themlstudent
9b6b15db0b9706e037b025b648352576fec4982e
279
cpp
C++
Windows/LV50A/Source/UI-Methods/UI-Paint.cpp
landonviator/LV50A
4b9dce09b7bb15cc80393b21d5cea3dcfc981e6f
[ "MIT" ]
null
null
null
Windows/LV50A/Source/UI-Methods/UI-Paint.cpp
landonviator/LV50A
4b9dce09b7bb15cc80393b21d5cea3dcfc981e6f
[ "MIT" ]
null
null
null
Windows/LV50A/Source/UI-Methods/UI-Paint.cpp
landonviator/LV50A
4b9dce09b7bb15cc80393b21d5cea3dcfc981e6f
[ "MIT" ]
null
null
null
/* ============================================================================== UI-Paint.cpp Created: 24 Oct 2021 1:41:00am Author: Landon Viator ============================================================================== */ #include "../PluginEditor.h"
23.25
80
0.25448
landonviator
9b7b06d64125b187fef1fe5d38f9ce54d460bf0d
217
cpp
C++
lab5/exercise2.cpp
tz01x/Cse207_lab
f355e5dfa2b68a632d104e554975cd2c6e6f1162
[ "MIT" ]
null
null
null
lab5/exercise2.cpp
tz01x/Cse207_lab
f355e5dfa2b68a632d104e554975cd2c6e6f1162
[ "MIT" ]
null
null
null
lab5/exercise2.cpp
tz01x/Cse207_lab
f355e5dfa2b68a632d104e554975cd2c6e6f1162
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int GCD(int f,int s){ if(f<=0){return s;} else if(s<=0){return f;} return GCD(s,f%s); } int main(){ int FIRST=10,SECOND=15; int n=GCD(FIRST,SECOND); cout<<n<<endl; }
12.055556
24
0.631336
tz01x
9b7b2beab27a0ed0e381833fd07e3c2c7aeb0acc
21,849
cpp
C++
tests/ReloadTests.cpp
theOtherMichael/HotConsts
0184075ce5cf09d4752682b2c75c883abd8a02f0
[ "MIT" ]
1
2021-05-09T21:36:16.000Z
2021-05-09T21:36:16.000Z
tests/ReloadTests.cpp
theOtherMichael/HotConsts
0184075ce5cf09d4752682b2c75c883abd8a02f0
[ "MIT" ]
null
null
null
tests/ReloadTests.cpp
theOtherMichael/HotConsts
0184075ce5cf09d4752682b2c75c883abd8a02f0
[ "MIT" ]
null
null
null
#include <HotConsts/HotConsts.h> #include "_tests.h" // NOTE: For these tests to succeed, the working directory of the test application // must be the folder containing the HotConsts_Test project. // In Xcode, this requires manual modification. // Use backslashes in paths on Windows becaus'a fuckin' Micro...
42.673828
130
0.67669
theOtherMichael
f92dd2512fcf84c631251567e6974792a76f9064
815
cpp
C++
CCC/CCC_13_S4_Who_Is_Taller.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
null
null
null
CCC/CCC_13_S4_Who_Is_Taller.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
1
2021-10-14T18:26:56.000Z
2021-10-14T18:26:56.000Z
CCC/CCC_13_S4_Who_Is_Taller.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
1
2021-08-06T03:39:55.000Z
2021-08-06T03:39:55.000Z
#include<bits/stdc++.h> using namespace std; const int MM = 1e6+2; int N, M, p, q; vector<int> adj[MM]; bool bfs(int s, int e) { queue<int> q; vector<bool> vis(N+1, false); q.push(s); vis[s] = true; while (!q.empty()) { int cur = q.front(); q.pop(); for (int nxt : adj[c...
15.980392
40
0.41227
Togohogo1
f92f2fbb8686648e600e9a5008d0e575efcd7079
1,387
hpp
C++
inc/main.hpp
davemoore22/libtcod-sdl-callback
de932121070e068a7161f8d0056b0b482d64ab27
[ "MIT" ]
1
2019-05-18T07:01:29.000Z
2019-05-18T07:01:29.000Z
inc/main.hpp
davemoore22/libtcod-sdl-callback
de932121070e068a7161f8d0056b0b482d64ab27
[ "MIT" ]
null
null
null
inc/main.hpp
davemoore22/libtcod-sdl-callback
de932121070e068a7161f8d0056b0b482d64ab27
[ "MIT" ]
null
null
null
// Copyright 2019 Dave Moore // // 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 // rights to use, copy, modify, merge, publish, distribut...
44.741935
120
0.763518
davemoore22
f9311f1525714076d3cec73b1e488aa1f5c27363
183
hpp
C++
src/utz.hpp
zatarain/utz
fd7fd6b8ebc7076c8c380c1521cd317b5f49d571
[ "MIT" ]
1
2020-11-20T06:03:10.000Z
2020-11-20T06:03:10.000Z
src/utz.hpp
zatarain/utz
fd7fd6b8ebc7076c8c380c1521cd317b5f49d571
[ "MIT" ]
2
2020-04-11T16:49:15.000Z
2020-04-19T20:21:46.000Z
src/utz.hpp
zatarain/utz
fd7fd6b8ebc7076c8c380c1521cd317b5f49d571
[ "MIT" ]
null
null
null
#ifndef UTZ_HEADER #define UTZ_HEADER #include "utz/assertion.hpp" #include "utz/test.hpp" namespace is = utz::is; #ifndef expect using utz::expect; #endif using utz::skip; #endif
13.071429
28
0.737705
zatarain
f93bdbbf2da7b9879a95e24792af390ac5791178
2,879
cpp
C++
BigBaseV2/src/main.cpp
skript023/Jan-Stat-Editor
3ffb20454873e405b16b8df456379e0bb8973ec7
[ "MIT" ]
null
null
null
BigBaseV2/src/main.cpp
skript023/Jan-Stat-Editor
3ffb20454873e405b16b8df456379e0bb8973ec7
[ "MIT" ]
null
null
null
BigBaseV2/src/main.cpp
skript023/Jan-Stat-Editor
3ffb20454873e405b16b8df456379e0bb8973ec7
[ "MIT" ]
null
null
null
#include "common.hpp" #include "features.hpp" #include "fiber_pool.hpp" #include "gui.hpp" #include "logger.hpp" #include "hooking.hpp" #include "pointers.hpp" #include "renderer.hpp" #include "script_mgr.hpp" BOOL APIENTRY DllMain(HMODULE hmod, DWORD reason, PVOID) { using namespace big; if (reason == DLL_PROCESS_...
29.080808
93
0.59083
skript023
f93e6c3110e86fb16209eb7b2853eb46a61b7f84
297
hpp
C++
test/c4/test/storage/raw.hpp
biojppm/c4stl
9b98f20bfc933ace7106945f8273df015915dddb
[ "MIT" ]
11
2017-06-08T11:24:16.000Z
2022-02-05T17:49:37.000Z
test/c4/test/storage/raw.hpp
biojppm/c4stl
9b98f20bfc933ace7106945f8273df015915dddb
[ "MIT" ]
null
null
null
test/c4/test/storage/raw.hpp
biojppm/c4stl
9b98f20bfc933ace7106945f8273df015915dddb
[ "MIT" ]
5
2018-07-13T11:14:05.000Z
2022-02-05T17:49:40.000Z
#include "c4/test.hpp" C4_BEGIN_NAMESPACE(c4) C4_BEGIN_NAMESPACE(stg) template< class RawStorage > struct test_raw_storage { void test_ctor() { { RawStorage rs; EXPECT_EQ(rs.empty(), true); } } }; C4_END_NAMESPACE(stg) C4_END_NAMESPACE(c4)
13.5
40
0.619529
biojppm
f93ef59cd645e6948d9ffc8a80f3e3e91fc6f6d1
28,326
cpp
C++
source/Core/Castor3D/Material/Pass/Pass_Parsers.cpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
null
null
null
source/Core/Castor3D/Material/Pass/Pass_Parsers.cpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
null
null
null
source/Core/Castor3D/Material/Pass/Pass_Parsers.cpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
null
null
null
#include "Castor3D/Material/Pass/Pass.hpp" #include "Castor3D/Engine.hpp" #include "Castor3D/Cache/MaterialCache.hpp" #include "Castor3D/Cache/ShaderCache.hpp" #include "Castor3D/Cache/TextureCache.hpp" #include "Castor3D/Material/Material.hpp" #include "Castor3D/Material/Pass/PassVisitor.hpp" #include "Castor3D/Mater...
31.438402
206
0.679729
Mu-L
f93efcbfd89f765ff9275f22345d5e2e1c5be3ad
1,472
cpp
C++
src/util/Util.cpp
Estebanan/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
3
2019-07-31T06:13:41.000Z
2021-04-04T15:32:40.000Z
src/util/Util.cpp
MarcelIwanicki/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
null
null
null
src/util/Util.cpp
MarcelIwanicki/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
null
null
null
#include "Util.h" #include <iostream> #include <fstream> std::string Util::readFile(const std::string &path) { std::fstream file; file.open(path); std::string result; std::string line; if(file.is_open()) while(file.good()) { getline(file, line); result.appe...
23.365079
106
0.54144
Estebanan
f9406b19457f332f350757b0f27f91b15e5d08df
2,592
hpp
C++
include/effortless/statistic.hpp
foehnx/effortless
a90962782731e10827597c5102b2d24ba8183074
[ "MIT" ]
null
null
null
include/effortless/statistic.hpp
foehnx/effortless
a90962782731e10827597c5102b2d24ba8183074
[ "MIT" ]
1
2021-10-14T20:50:28.000Z
2021-11-09T18:37:32.000Z
include/effortless/statistic.hpp
foehnx/effortless
a90962782731e10827597c5102b2d24ba8183074
[ "MIT" ]
null
null
null
#pragma once #include <cmath> #include <iomanip> #include <iostream> #include <limits> #include <string> namespace effortless { using Scalar = double; class Statistic { public: Statistic(const std::string &name = "Statistic") : name_(name) {} Statistic(const Statistic &rhs) = default; Statistic &operator=(co...
26.721649
76
0.587191
foehnx
f940b99ca1da797cc4b39a8a4bb684fa59c7b119
21,967
cc
C++
GenFit/GBL/src/GblFitter.cc
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
null
null
null
GenFit/GBL/src/GblFitter.cc
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
null
null
null
GenFit/GBL/src/GblFitter.cc
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
null
null
null
//-*-mode: C++; c-basic-offset: 2; -*- /* Copyright 2013-2014 * Authors: Sergey Yashchenko and Tadeas Bilka * * This is an interface to General Broken Lines * * Version: 6 -------------------------------------------------------------- * - complete rewrite to GblFitter using GblFitterInfo and GblFitStatus * ...
40.52952
179
0.615196
ggfdsa10
f946caad09e2b632c9e4fec7e7a2f293b609661b
2,845
cpp
C++
zimlib/test/header.cpp
zjzdy/Offline-small-search
8bc7382b3f55184c8d179a2bf6e1e90730d6a09c
[ "ICU" ]
10
2016-05-10T14:48:44.000Z
2021-06-16T11:49:55.000Z
zimlib/test/header.cpp
zjzdy/Offline-small-search
8bc7382b3f55184c8d179a2bf6e1e90730d6a09c
[ "ICU" ]
null
null
null
zimlib/test/header.cpp
zjzdy/Offline-small-search
8bc7382b3f55184c8d179a2bf6e1e90730d6a09c
[ "ICU" ]
2
2016-11-09T06:56:29.000Z
2019-11-22T14:34:27.000Z
/* * Copyright (C) 2009 Tommi Maekitalo * * 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 di...
36.012658
81
0.730756
zjzdy
f9479c984a9f9ba0d6b62334e09478a1369732f5
6,806
cpp
C++
WebKit/Source/WebKit/chromium/src/WebLayer.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
1
2019-06-18T06:52:54.000Z
2019-06-18T06:52:54.000Z
WebKit/Source/WebKit/chromium/src/WebLayer.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
WebKit/Source/WebKit/chromium/src/WebLayer.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2011 Google Inc. 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, this list of condit...
25.586466
81
0.725536
JavaScriptTesting
f94da264476076c21923e14765d2a09ca687ed98
9,623
hh
C++
aspects/electrical/PowerBus/PowerBusElect.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
aspects/electrical/PowerBus/PowerBusElect.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
aspects/electrical/PowerBus/PowerBusElect.hh
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
#ifndef PowerBusElect_EXISTS #define PowerBusElect_EXISTS /** @file @brief Power Bus declarations @defgroup TSM_GUNNS_ELECTRICAL_POWERBUSELECT PowerBusElect Model @ingroup TSM_GUNNS_ELECTRICAL @copyright Copyright 2019 United States Government as represented by the Administrator of the National...
47.403941
195
0.565936
nasa
f9519836ea59af62400979918a9c9ddcdb1d51db
840
cc
C++
算法导论/educoder/sort/insertion_sort.cc
wine99/hfut-cs-assignments
77ebe4b5fe613f90eb54b8bdcfd1d8afbbd321da
[ "MIT" ]
56
2020-05-28T15:21:47.000Z
2022-03-29T08:54:55.000Z
算法导论/educoder/sort/insertion_sort.cc
wine99/hfut-cs-assignments
77ebe4b5fe613f90eb54b8bdcfd1d8afbbd321da
[ "MIT" ]
2
2020-05-29T03:49:05.000Z
2021-08-04T00:43:26.000Z
算法导论/educoder/sort/insertion_sort.cc
wine99/hfut-cs-assignments
77ebe4b5fe613f90eb54b8bdcfd1d8afbbd321da
[ "MIT" ]
14
2021-05-22T04:52:47.000Z
2022-03-29T08:55:00.000Z
#include <cstdio> using namespace std; void print_array(int *arr, int n) // 打印数组 { if (n == 0) { printf("ERROR: Array length is ZERO\n"); return; } printf("%d", arr[0]); for (int i = 1; i < n; i++) { printf(" %d", arr[i]); } printf("\n"); } void sort_array(int *arr, in...
22.105263
52
0.478571
wine99
f9538e809f3293b4f3d239787bb9b6e1a7206b99
5,462
ipp
C++
src/spacetime/basis.ipp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
src/spacetime/basis.ipp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
src/spacetime/basis.ipp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
#pragma once #include <boost/core/demangle.hpp> #include <iomanip> #include <vector> #include "basis.hpp" namespace spacetime { template <class DblTreeIn, class DblTreeOut> auto GenerateSigma(const DblTreeIn &Lambda_in, const DblTreeOut &Lambda_out) { using OutNodeVector = std::vector<typename DblTreeOut::T0 *>; ...
41.067669
80
0.592091
rvanvenetie
f959c6fc23fb7bdac896f65c990075d93558ae8c
3,070
hpp
C++
include/tensoropt/device.hpp
codeplaysoftware/TensorOpt
62562f0dc8c15c1ff9ffeee408556d019e0e345c
[ "Apache-2.0" ]
1
2020-12-06T13:24:00.000Z
2020-12-06T13:24:00.000Z
include/tensoropt/device.hpp
codeplaysoftware/TensorOpt
62562f0dc8c15c1ff9ffeee408556d019e0e345c
[ "Apache-2.0" ]
1
2020-02-06T11:09:50.000Z
2020-02-06T14:30:02.000Z
include/tensoropt/device.hpp
codeplaysoftware/TensorOpt
62562f0dc8c15c1ff9ffeee408556d019e0e345c
[ "Apache-2.0" ]
1
2021-09-30T21:59:50.000Z
2021-09-30T21:59:50.000Z
/** * Copyright (C) Codeplay Software Limited. * * 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 ...
32.659574
80
0.72443
codeplaysoftware
f95b0c54c790692aee64c65d7174c926a6bdea08
15,245
cpp
C++
network/libserver/ioclient.cpp
dariadb/dariadb
1edf637122752ba21c582675e2a9183fff91fa50
[ "Apache-2.0" ]
null
null
null
network/libserver/ioclient.cpp
dariadb/dariadb
1edf637122752ba21c582675e2a9183fff91fa50
[ "Apache-2.0" ]
null
null
null
network/libserver/ioclient.cpp
dariadb/dariadb
1edf637122752ba21c582675e2a9183fff91fa50
[ "Apache-2.0" ]
null
null
null
#include <libdariadb/meas.h> #include <libdariadb/timeutil.h> #include <libdariadb/utils/exception.h> #include <libserver/ioclient.h> #include <cassert> using namespace std::placeholders; using namespace boost::asio; using namespace dariadb; using namespace dariadb::net; struct SubscribeCallback : public storage::IR...
33.505495
90
0.65615
dariadb
f95bd0f0589793a9fce74da8ccbe11a2b0a4da4a
3,922
cpp
C++
src/FSDefineFont.cpp
pperehozhih/transform-cxx
f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48
[ "BSD-3-Clause" ]
4
2018-09-16T09:55:22.000Z
2020-12-19T02:02:40.000Z
src/FSDefineFont.cpp
pperehozhih/transform-cxx
f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48
[ "BSD-3-Clause" ]
null
null
null
src/FSDefineFont.cpp
pperehozhih/transform-cxx
f630079779e9e3cf6d06dcfc04b3ad0bd99d7e48
[ "BSD-3-Clause" ]
2
2015-11-24T20:27:35.000Z
2019-06-04T15:23:30.000Z
/* * FSDefineFont.cpp * Transform SWF * * Created by smackay on Thu Mar 20 2003. * Copyright (c) 2001-2003 Flagstone Software Ltd. All rights reserved. * * This file contains Original Code and/or Modifications of Original Code as defined in * and that are subject to the Flagstone Software Source L...
31.886179
95
0.635135
pperehozhih
f95d939d6508bdc72cbcd5064e445a1015c45e4a
2,002
cpp
C++
241#different-ways-to-add-parentheses/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
241#different-ways-to-add-parentheses/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
241#different-ways-to-add-parentheses/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class UniqueBST { public: vector<TreeNode*> make(int l, int r) { if (l > r) return vector<TreeNode*>...
28.197183
68
0.398102
llwwns