hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
e39b753b6cabd5be0caf1cfb97206065fdc29e2f
445
cpp
C++
src/register/ProgramRegister.cpp
openx86/emulator
829454a2dbc99ffa3ccdf81f7473e69f8b8ce896
[ "Apache-2.0" ]
1
2022-01-16T18:24:32.000Z
2022-01-16T18:24:32.000Z
src/register/ProgramRegister.cpp
openx86/emulator
829454a2dbc99ffa3ccdf81f7473e69f8b8ce896
[ "Apache-2.0" ]
null
null
null
src/register/ProgramRegister.cpp
openx86/emulator
829454a2dbc99ffa3ccdf81f7473e69f8b8ce896
[ "Apache-2.0" ]
null
null
null
// // Created by 86759 on 2022-01-14. // #include "ProgramRegister.h" //uint32_t ProgramRegister::IP_r = 0x1234FFF0; uint32_t ProgramRegister::IP_r = 0x0000FFF0; uint16_t ProgramRegister::IP() { return (uint16_t)IP_r; } uint32_t ProgramRegister::EIP() { return (uint32_t)IP_r; } void ProgramRegister::IP(uint...
34.230769
92
0.703371
openx86
e3a602a3aef9e02c33f422efc535c9a5d9eb82e6
3,467
cpp
C++
dialogs/dialoginfocontent.cpp
avttrue/fungus
c6ca9ef94317ecbe930da25606ca7331f048ef60
[ "MIT" ]
null
null
null
dialogs/dialoginfocontent.cpp
avttrue/fungus
c6ca9ef94317ecbe930da25606ca7331f048ef60
[ "MIT" ]
2
2020-08-20T05:04:33.000Z
2020-09-22T17:10:39.000Z
dialogs/dialoginfocontent.cpp
avttrue/fungus
c6ca9ef94317ecbe930da25606ca7331f048ef60
[ "MIT" ]
null
null
null
#include "dialoginfocontent.h" #include "properties.h" #include "helpers/helper.h" #include "helpers/widgethelper.h" #include "controls/separators.h" #include <QDebug> #include <QApplication> #include <QIcon> #include <QToolBar> #include <QVBoxLayout> #include <QTextBrowser> #include <QScrollBar> DialogInfoContent::D...
34.326733
107
0.697721
avttrue
e3a76a7d5a9ad27f7f5c11215c2b9968dee26da7
1,123
cpp
C++
Knottenbelt/Week5/printpyramid.cpp
AnthonyChuah/CPPscripts
c8376c4bf191949fc31b4e70226a2c42f8e7f1c2
[ "bzip2-1.0.6" ]
null
null
null
Knottenbelt/Week5/printpyramid.cpp
AnthonyChuah/CPPscripts
c8376c4bf191949fc31b4e70226a2c42f8e7f1c2
[ "bzip2-1.0.6" ]
null
null
null
Knottenbelt/Week5/printpyramid.cpp
AnthonyChuah/CPPscripts
c8376c4bf191949fc31b4e70226a2c42f8e7f1c2
[ "bzip2-1.0.6" ]
null
null
null
#include <iostream> using namespace std; void print_pyramid(int height); // Prints a pyramid of specified height. Must be between 1 to 30 inclusive. int main() { int desired_height = 0; bool acceptable_input = false; cout << "This program prints a 'pyramid' shape of\n" << "a specified height on the scree...
22.918367
75
0.593054
AnthonyChuah
e3ab727a12ecd7a103417cb4164ae11c8f1cbcb2
371
hpp
C++
include/vengine/core/ICvar.hpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
1
2018-06-22T15:46:42.000Z
2018-06-22T15:46:42.000Z
include/vengine/core/ICvar.hpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
3
2018-05-13T14:15:53.000Z
2018-05-29T08:06:26.000Z
include/vengine/core/ICvar.hpp
BlackPhrase/V-Engine
ee9a9c63a380732dace75bcc1e398cabc444feba
[ "MIT" ]
null
null
null
/// @file /// @brief console variable #pragma once struct ICvar { /// virtual const char *GetName() const = 0; /// virtual const char *GetDescription() const = 0; /// virtual void SetValue(const char *asValue) = 0; /// virtual const char *GetValue() const = 0; /// virtual const char *GetDefValue() c...
14.84
48
0.622642
BlackPhrase
e3af0bcfa99893069bb658d4565f8036db45a21a
1,128
cpp
C++
tests/basic_bvalue/test_events.cpp
fbdtemme/bencode
edf7dd5b580c44723821dbf737c8412d628294e4
[ "MIT" ]
25
2020-08-24T01:54:10.000Z
2021-12-22T08:55:54.000Z
tests/basic_bvalue/test_events.cpp
fbdtemme/bencode
edf7dd5b580c44723821dbf737c8412d628294e4
[ "MIT" ]
1
2021-12-29T05:38:56.000Z
2021-12-29T05:38:56.000Z
tests/basic_bvalue/test_events.cpp
fbdtemme/bencode
edf7dd5b580c44723821dbf737c8412d628294e4
[ "MIT" ]
4
2020-08-18T19:31:26.000Z
2022-02-01T18:57:51.000Z
// // Created by fbdtemme on 8/17/20. // #include <catch2/catch.hpp> #include <bencode/traits/all.hpp> #include "bencode/bvalue.hpp" #include <bencode/events/debug_to.hpp> #include <sstream> namespace bc = bencode; static const bc::bvalue b{ {"a", 1}, {"b", 1u}, {"d", false}, {"e", ...
17.625
61
0.636525
fbdtemme
e3b0dd6a5575aea71ec80c5b75359167d8ad7ff8
78
cpp
C++
test/llvm_test_code/inst_interaction/heap_01.cpp
janniclas/phasar
324302ae96795e6f0a065c14d4f7756b1addc2a4
[ "MIT" ]
1
2022-02-15T07:56:29.000Z
2022-02-15T07:56:29.000Z
test/llvm_test_code/inst_interaction/heap_01.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
test/llvm_test_code/inst_interaction/heap_01.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
int main() { int *i = new int(42); int j = *i; delete i; return j; }
9.75
23
0.487179
janniclas
e3b29b3ec003afca116f3c9e3d6618eb0bd3b6f7
3,083
cpp
C++
tc 160+/PrimeSequences.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/PrimeSequences.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/PrimeSequences.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; #define MAX_NUM_ 10000001 // 6bits = 1parity bit + 32 different offsets in the same int int P_[(MAX_NUM_>>6) + 1]; // negative logic...
41.662162
317
0.560817
ibudiselic
e3b5558af7210b6a155636a5a85cb56a32de785f
3,941
hpp
C++
libs/core/font/include/bksge/core/font/otf/feature_variations.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/font/include/bksge/core/font/otf/feature_variations.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/font/include/bksge/core/font/otf/feature_variations.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file feature_variations.hpp * * @brief FeatureVariations の定義 * * @author myoukaku */ #ifndef BKSGE_CORE_FONT_OTF_FEATURE_VARIATIONS_HPP #define BKSGE_CORE_FONT_OTF_FEATURE_VARIATIONS_HPP #include <bksge/core/font/otf/read_big_endian.hpp> #include <bksge/core/font/otf/types.hpp> #include <bk...
23.884848
72
0.700584
myoukaku
e3b88ecd795aecca9420e84d7bd0e9558d9f160b
16,020
cpp
C++
ParticlePlay/Core/Game.cpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
ParticlePlay/Core/Game.cpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
ParticlePlay/Core/Game.cpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
#include "Game.hpp" #ifdef PPDEBUG #include <iostream> #endif ppGame::ppGame(){ this->mainWindow = NULL; this->renderer = NULL; this->graphics = NULL; this->backgroundColor = new ppColor(); this->gameInput = new ppInput(this); this->gameIO = new ppIO(); this->randomizer = new ppRandomizer(); this->ims = NULL...
25.228346
172
0.664732
spywhere
e3c5563ad5e846dbbfcf0aa2c002aa0cab240eb3
1,813
cpp
C++
src/nWrappedVariantMap.cpp
lucaspcamargo/neiatree
0da0ff4f06fb650885eda10830f59cd48e23e12f
[ "BSD-2-Clause" ]
1
2017-11-13T06:55:27.000Z
2017-11-13T06:55:27.000Z
src/nWrappedVariantMap.cpp
lucaspcamargo/neiatree
0da0ff4f06fb650885eda10830f59cd48e23e12f
[ "BSD-2-Clause" ]
null
null
null
src/nWrappedVariantMap.cpp
lucaspcamargo/neiatree
0da0ff4f06fb650885eda10830f59cd48e23e12f
[ "BSD-2-Clause" ]
null
null
null
#include "nWrappedVariantMap.h" #include "../util/nIODefines.h" #define nWRAPPED_VARIANT_MAP_VERSION 1 nWrappedVariantMap::nWrappedVariantMap(QObject *parent) : QObject(parent) { } nWrappedVariantMap::nWrappedVariantMap(QIODevice * device, QObject *parent) : QObject(parent) { load(device); } void nWra...
21.583333
110
0.623828
lucaspcamargo
e3cb5b87104a4b9b4de93e8bc6a87325f9879f7b
4,370
cpp
C++
src/matrix.cpp
pradeep0295/MINI-DATABASE
34e9e568b40dd82dab0c1963073c9a5d627937c2
[ "MIT" ]
null
null
null
src/matrix.cpp
pradeep0295/MINI-DATABASE
34e9e568b40dd82dab0c1963073c9a5d627937c2
[ "MIT" ]
null
null
null
src/matrix.cpp
pradeep0295/MINI-DATABASE
34e9e568b40dd82dab0c1963073c9a5d627937c2
[ "MIT" ]
null
null
null
#include "matrix.h" using namespace std; Matrix::Matrix(string matrixName) { // logger.log("Matrix::Matrix"); this->sourceFileName = "../data/" + matrixName + ".csv"; this->matrixName = matrixName; } bool Matrix::load(){ // logger.log("Matrix::load"); fstream fin(this->sourceFileName, ios::in); ...
26.646341
131
0.59405
pradeep0295
e3cd8e50ad33d6a2b481363f1eda813086603b0a
2,706
cpp
C++
Tests/unit/core/test_parser.cpp
mrcomcast123/Thunder
21d827ad7da0f3bf805d0eaf4b0759d1846c1e3b
[ "Apache-2.0" ]
null
null
null
Tests/unit/core/test_parser.cpp
mrcomcast123/Thunder
21d827ad7da0f3bf805d0eaf4b0759d1846c1e3b
[ "Apache-2.0" ]
null
null
null
Tests/unit/core/test_parser.cpp
mrcomcast123/Thunder
21d827ad7da0f3bf805d0eaf4b0759d1846c1e3b
[ "Apache-2.0" ]
null
null
null
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2020 RDK Management * * 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 cop...
30.404494
121
0.712121
mrcomcast123
e3d064a029d3dcd4f0eccffdff63a1ae8d446981
434
cc
C++
algorithm/modifying/remove.cc
HelloCodeMing/ToySTL
8221688f8674ab214e3e57abe262b02f952c8036
[ "MIT" ]
1
2015-09-11T00:33:43.000Z
2015-09-11T00:33:43.000Z
algorithm/modifying/remove.cc
HelloCodeMing/ToySTL
8221688f8674ab214e3e57abe262b02f952c8036
[ "MIT" ]
null
null
null
algorithm/modifying/remove.cc
HelloCodeMing/ToySTL
8221688f8674ab214e3e57abe262b02f952c8036
[ "MIT" ]
null
null
null
#include <predef.hpp> template <class Iter, class T> Iter remove(Iter first, Iter last, const T& value) { for (auto iter = first; iter != last; ++iter) { if (*iter != value) *first++ = *iter; } return first; } int main() { std::string str = "hey, *****."; assert(std::stri...
20.666667
67
0.486175
HelloCodeMing
e3d0ad501d0f03b2972c296f03686a83f25b9f19
8,713
hxx
C++
BTech Project/Code/OpacityFunctionGeneration.hxx
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
BTech Project/Code/OpacityFunctionGeneration.hxx
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
BTech Project/Code/OpacityFunctionGeneration.hxx
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
#pragma once #ifndef OpacityFunctionGeneration_hxx #define OpacityFunctionGeneration_hxx template <typename TInputImage> OpacityFunctionGeneration<TInputImage>::OpacityFunctionGeneration(HistogramType::Pointer histogram, float *binWidth, float *binMinimum) { this->max_g = -100000; this->min_g = 100000; this->max_h ...
31.568841
155
0.603466
aishwaryamallampati
e3e278cccac2eb35046bbb61377c9ba179ce4fb1
5,447
cpp
C++
Super Smash TV/Super Smash TV/Source/ModulePlayer_Legs.cpp
YunqianAo/Filosaurios
23f191c48629a5b6ee7b4d3e69a541dd0e1bb381
[ "MIT" ]
2
2021-03-07T10:32:01.000Z
2021-03-07T10:32:04.000Z
Super Smash TV/Super Smash TV/Source/ModulePlayer_Legs.cpp
YunqianAo/Filosaurios
23f191c48629a5b6ee7b4d3e69a541dd0e1bb381
[ "MIT" ]
null
null
null
Super Smash TV/Super Smash TV/Source/ModulePlayer_Legs.cpp
YunqianAo/Filosaurios
23f191c48629a5b6ee7b4d3e69a541dd0e1bb381
[ "MIT" ]
8
2021-02-23T18:06:22.000Z
2021-02-24T19:12:48.000Z
//#include "ModulePlayer_Legs.h" // //#include "Application.h" //#include "ModuleTextures.h" //#include "ModuleInput.h" //#include "ModuleRender.h" //#include "ModuleParticles.h" //#include "ModuleCollisions.h" //#include "ModuleAudio.h" //#include "ModuleFadeToBlack.h" // //#include "SDL/include/SDL_scancode.h" // // ...
25.938095
109
0.596842
YunqianAo
e3e4c33c1e4a1f8bfc439cfcf0b7bde39b09ce4b
4,133
cpp
C++
v1/CUCT.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
v1/CUCT.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
v1/CUCT.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
#pragma once #include <time.h> #include "stdafx.h" #include "CUCT.h" #include "OthelloCBoard.h" #include "OXOCBoard.h" #include "GobangCBoard.h" void* CUCT::getCNode(const void *list, int index) { return ((CList<CNode*>*) list)->get(index); } void CUCT::exchangeCNode(const void *list, int i, int j) { CNode* m = (C...
24.311765
127
0.616017
lanyj
e3e5ce311956c5949defb8b4ef5f3eb86aae4eac
1,670
cpp
C++
luogu/codes/P1637.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
1
2018-12-22T06:43:59.000Z
2018-12-22T06:43:59.000Z
luogu/codes/P1637.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
luogu/codes/P1637.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
/************************************************************* * > File Name : P1637.cpp * > Author : Tony * > Created Time : 2019/08/26 16:20:04 * > Algorithm : [DataStructure]BIT **************************************************************/ #include <bits/stdc++.h> using namespa...
25.692308
78
0.40479
Tony031218
e3e86f09cecd130e1dae59ea842f994ee802df60
1,362
cpp
C++
sdk/packages/engine_gems/state/test/io.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
null
null
null
sdk/packages/engine_gems/state/test/io.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
null
null
null
sdk/packages/engine_gems/state/test/io.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2022-01-28T16:37:51.000Z
2022-01-28T16:37:51.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
28.978723
74
0.755507
ddr95070
e3f97601d1618d140eef14b54a9e1772f1888f27
766
cpp
C++
docs/mfc/codesnippet/CPP/cmap-class_7.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
14
2018-01-28T18:10:55.000Z
2021-11-16T13:21:18.000Z
docs/mfc/codesnippet/CPP/cmap-class_7.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/mfc/codesnippet/CPP/cmap-class_7.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
2
2018-10-10T07:37:30.000Z
2019-06-21T15:18:07.000Z
CMap<int, int, CPoint, CPoint> myMap; // Add 10 elements to the map. for (int i = 0; i < 10; i++) myMap.SetAt(i, CPoint(i, i)); // Remove the elements with even key values. POSITION pos = myMap.GetStartPosition(); int nKey; CPoint pt; ...
29.461538
63
0.456919
jmittert
5400027446cdf509e429e4d3ccc5f028497d1ddb
478
cpp
C++
Squareandcube.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
Squareandcube.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
Squareandcube.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Number { public: int n; void getNumber() { cin>>n; } }; class Square:public Number { public: void getSquare() { cout<<(n*n)<<endl; } }; class Cube:public Number { public: void getCube() { cout<<((n*n)*n)<<endl; ...
14.9375
31
0.529289
aaryan0348
540320795eb258402122b38c3d1370a5f5a411ba
126
hpp
C++
src/order_type.hpp
Twon/cpp_crypto_algos
e785f6c25ef50dc3c2f593b08b6857dffcd32eca
[ "MIT" ]
null
null
null
src/order_type.hpp
Twon/cpp_crypto_algos
e785f6c25ef50dc3c2f593b08b6857dffcd32eca
[ "MIT" ]
null
null
null
src/order_type.hpp
Twon/cpp_crypto_algos
e785f6c25ef50dc3c2f593b08b6857dffcd32eca
[ "MIT" ]
null
null
null
#pragma once #include <boost/describe/enum.hpp> namespace profitview { BOOST_DEFINE_ENUM_CLASS(OrderType, Limit, Market) }
12.6
49
0.785714
Twon
54034083f157980cf15348c7a892b4d443125820
560
hpp
C++
include/CompositeSceneElement.hpp
renato-cefet-rj/openglbase
9218fc3e53bc08f799f10ac4111cb579bc2dd6b3
[ "MIT" ]
3
2018-06-11T16:20:02.000Z
2019-11-14T19:44:11.000Z
include/CompositeSceneElement.hpp
renato-cefet-rj/openglbase
9218fc3e53bc08f799f10ac4111cb579bc2dd6b3
[ "MIT" ]
1
2018-06-11T02:41:11.000Z
2018-06-14T13:38:16.000Z
include/CompositeSceneElement.hpp
renato-cefet-rj/openglbase
9218fc3e53bc08f799f10ac4111cb579bc2dd6b3
[ "MIT" ]
1
2018-07-18T15:12:33.000Z
2018-07-18T15:12:33.000Z
#ifndef __COMPOSITE_SCENE_ELEMENT__ #define __COMPOSITE_SCENE_ELEMENT__ #define CompositeSceneElementNull (CompositeSceneElement*)0 #include <SceneElement.hpp> #include <list> typedef std::list<SceneElement*>::iterator ElementsIterator; class CompositeSceneElement: public SceneElement { public: Composit...
24.347826
64
0.748214
renato-cefet-rj
5408b77717bb800fadb85a9972a8b1f37af731b2
394
hh
C++
Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_swing_toe_linear_velocity_z_RightStance.hh
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_swing_toe_linear_velocity_z_RightStance.hh
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_swing_toe_linear_velocity_z_RightStance.hh
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
/* * Automatically Generated from Mathematica. * Fri 5 Nov 2021 09:01:51 GMT-04:00 */ #ifndef J_SWING_TOE_LINEAR_VELOCITY_Z_RIGHTSTANCE_HH #define J_SWING_TOE_LINEAR_VELOCITY_Z_RIGHTSTANCE_HH namespace frost { namespace gen { void J_swing_toe_linear_velocity_z_RightStance(double *p_output1, const doubl...
24.625
94
0.78934
prem-chand
5415d1124c1fd493d6ec1787b2e2835f96e6cede
1,220
cpp
C++
aoj/itp2/itp2_8_d.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
aoj/itp2/itp2_8_d.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
aoj/itp2/itp2_8_d.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using pii = pair<int, int>; #define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i) #define all(x) (x).begin(),(x).end() #define m0(x) memset(x,0,sizeof(x)) int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1,0,-1}; int main(){ mu...
21.034483
61
0.402459
yu3mars
541bfaffb4ce6c05ac29375db2c5ba4705b308b8
810
cpp
C++
src/tracelog/private/tracelog.cpp
aeon-engine/libaeon
e42b39e621dcd0a0fba05e1c166fc688288fb69b
[ "BSD-2-Clause" ]
7
2017-02-19T16:22:16.000Z
2021-03-02T05:47:39.000Z
src/tracelog/private/tracelog.cpp
aeon-engine/libaeon
e42b39e621dcd0a0fba05e1c166fc688288fb69b
[ "BSD-2-Clause" ]
61
2017-05-29T06:11:17.000Z
2021-03-28T21:51:44.000Z
src/tracelog/private/tracelog.cpp
aeon-engine/libaeon
e42b39e621dcd0a0fba05e1c166fc688288fb69b
[ "BSD-2-Clause" ]
2
2017-05-28T17:17:40.000Z
2017-07-14T21:45:16.000Z
// Distributed under the BSD 2-Clause License - Copyright 2012-2021 Robin Degen #include <aeon/tracelog/tracelog.h> #include "context.h" namespace aeon::tracelog { namespace detail { [[nodiscard]] auto add_entry(const char *func) -> trace_log_entry * { return detail::trace_log_context::get_singleton().add_scope...
20.25
81
0.741975
aeon-engine
54241cf24a2498962ebfbf4679ac5c865480b286
1,844
cpp
C++
codes/codechef/COVID19B.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/codechef/COVID19B.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/codechef/COVID19B.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
/* ************************************************ username : smmehrab fullname : s.m.mehrabul islam email : mehrab.24csedu.001@gmail.com institute : university of dhaka, bangladesh session : 2017-2018 ************************************************ */ #include<bits/stdc++.h> using namespa...
30.229508
78
0.457158
smmehrab
5425887d7dc38fe98b25608a3311e5a1f22a96aa
299
cpp
C++
ALGS200x/Week2/Challenge2-6/CPP/reuse_main.cpp
davidlowryduda/udacity
fd55ab3f40a77baa49e47a8c08ce42cd823decd9
[ "MIT" ]
null
null
null
ALGS200x/Week2/Challenge2-6/CPP/reuse_main.cpp
davidlowryduda/udacity
fd55ab3f40a77baa49e47a8c08ce42cd823decd9
[ "MIT" ]
null
null
null
ALGS200x/Week2/Challenge2-6/CPP/reuse_main.cpp
davidlowryduda/udacity
fd55ab3f40a77baa49e47a8c08ce42cd823decd9
[ "MIT" ]
null
null
null
/* * Compute fib(0) + ... + fib(n) % 10. * * The key is that fib(0) + ... + fib(n) = fib(n+2) - 1. */ #include <iostream> #include "reuse_util.h" int main() { long num, ans; while (std::cin >> num) { ans = (fast_fib_mod(num+2, 10) + 9) % 10; std::cout << ans << std::endl; } }
15.736842
56
0.494983
davidlowryduda
542941f130e87debf917c04e1a8ba28f233f17c6
600
cpp
C++
URI/Beginner/Little Ducks.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
URI/Beginner/Little Ducks.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
URI/Beginner/Little Ducks.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; unsigned long long N; int main () { while ( cin >> N && N != -1 ){ cout << ((N>0)? N-1 : 0) << '\n'; } return 0; } /* unsigned long long you dump bitch! input:- ----------- inline string ToString( int n ){ stringstream s; s << n; return s.str(); } int ToInt( ...
7.142857
35
0.486667
Mhmd-Hisham
542a3b3353400afc9648553f6802ff70e4dd2870
2,451
cpp
C++
src/voiceinfo.cpp
moutend/AudioAgent
dbdc6eff00986892ba1d334a91826a249ddac93d
[ "MIT" ]
1
2019-10-22T08:20:46.000Z
2019-10-22T08:20:46.000Z
src/voiceinfo.cpp
moutend/AudioAgent
dbdc6eff00986892ba1d334a91826a249ddac93d
[ "MIT" ]
null
null
null
src/voiceinfo.cpp
moutend/AudioAgent
dbdc6eff00986892ba1d334a91826a249ddac93d
[ "MIT" ]
null
null
null
#include <cpplogger/cpplogger.h> #include <cstring> #include <ppltasks.h> #include <roapi.h> #include <robuffer.h> #include <wrl.h> #include "context.h" #include "util.h" #include "voiceinfo.h" using namespace Microsoft::WRL; using namespace Windows::Media::SpeechSynthesis; using namespace concurrency; using namespac...
31.025316
80
0.69849
moutend
542af8de6323bca1b994754e62fe67893df61f91
6,349
cpp
C++
Demo05-Application/DemoApplication.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
36
2015-06-28T14:53:06.000Z
2021-10-31T04:26:53.000Z
Demo05-Application/DemoApplication.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
90
2015-05-01T07:21:43.000Z
2017-08-30T01:16:41.000Z
Demo05-Application/DemoApplication.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
9
2016-04-08T07:48:02.000Z
2019-07-22T15:13:53.000Z
#include <ionWindow.h> #include <ionGraphics.h> #include <ionGraphicsGL.h> #include <ionScene.h> #include <ionApplication.h> using namespace ion; using namespace ion::Scene; using namespace ion::Graphics; int main() { //////////////////// // ionEngine Init // //////////////////// Log::AddDefa...
33.951872
129
0.724366
iondune
5432f046bf6cf00712950ba32f3906c1e6110f9a
3,058
hpp
C++
include/uMon/z80.hpp
trevor-makes/uMon
484dc46be45d6eb5ed37f9235ab28d5d3bb40344
[ "MIT" ]
null
null
null
include/uMon/z80.hpp
trevor-makes/uMon
484dc46be45d6eb5ed37f9235ab28d5d3bb40344
[ "MIT" ]
null
null
null
include/uMon/z80.hpp
trevor-makes/uMon
484dc46be45d6eb5ed37f9235ab28d5d3bb40344
[ "MIT" ]
null
null
null
// https://github.com/trevor-makes/uMon.git // Copyright (c) 2022 Trevor Makes #pragma once #include "z80/asm.hpp" #include "z80/dasm.hpp" #include "uCLI.hpp" namespace uMon { namespace z80 { template <typename API> bool parse_operand(Operand& op, uCLI::Tokens tokens) { // Handle indirect operand surronded by par...
27.8
82
0.66416
trevor-makes
f9ab206b58a1253d0da876422963da3d8d50cae4
738
hpp
C++
libs/fnd/units/include/bksge/fnd/units/bit.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/units/include/bksge/fnd/units/bit.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/units/include/bksge/fnd/units/bit.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file bit.hpp * * @brief bit の定義 * * @author myoukaku */ #ifndef BKSGE_FND_UNITS_BIT_HPP #define BKSGE_FND_UNITS_BIT_HPP #include <bksge/fnd/units/base_dimensions/information.hpp> #include <bksge/fnd/units/detail/quantity.hpp> #include <bksge/fnd/units/detail/si_prefix.hpp> #include <bksge/...
20.5
71
0.727642
myoukaku
f9ad4312de5c1a791a43fc1f5c8245b363d36f9a
4,636
hh
C++
include/utrig_matrix.hh
sylvainouel/metl
94fa40b9aabdf869cab8e6b92305a9fe5252f989
[ "MIT" ]
null
null
null
include/utrig_matrix.hh
sylvainouel/metl
94fa40b9aabdf869cab8e6b92305a9fe5252f989
[ "MIT" ]
null
null
null
include/utrig_matrix.hh
sylvainouel/metl
94fa40b9aabdf869cab8e6b92305a9fe5252f989
[ "MIT" ]
null
null
null
#ifndef UTRIG_MATRIX_HH #define UTRIG_MATRIX_HH /* Copyright (c) 2005-2015, Sylvain Ouellet 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 r...
21.663551
107
0.646894
sylvainouel
f9b2d5bdc7028669a74eee6f1765882ce5cf49d7
8,467
cc
C++
framework/render/vk/vk_image_barrier.cc
ans-hub/gdm_framework
4218bb658d542df2c0568c4d3aac813cd1f18e1b
[ "MIT" ]
1
2020-12-30T23:50:01.000Z
2020-12-30T23:50:01.000Z
framework/render/vk/vk_image_barrier.cc
ans-hub/gdm_framework
4218bb658d542df2c0568c4d3aac813cd1f18e1b
[ "MIT" ]
null
null
null
framework/render/vk/vk_image_barrier.cc
ans-hub/gdm_framework
4218bb658d542df2c0568c4d3aac813cd1f18e1b
[ "MIT" ]
null
null
null
// ************************************************************* // File: vk_image_barrier.cc // Author: Novoselov Anton @ 2020 // URL: https://github.com/ans-hub/gdm_framework // ************************************************************* #include "vk_image_barrier.h" #include "render/vk/vk_image.h" #inclu...
45.767568
134
0.77867
ans-hub
f9b78cda5b9efe33a1367fbf98be44327b177636
1,399
cpp
C++
priminitial.cpp
jei3di/DigraphMaker
40758f19057df663ac95f5f8a2e1cff8614a7c49
[ "MIT" ]
null
null
null
priminitial.cpp
jei3di/DigraphMaker
40758f19057df663ac95f5f8a2e1cff8614a7c49
[ "MIT" ]
null
null
null
priminitial.cpp
jei3di/DigraphMaker
40758f19057df663ac95f5f8a2e1cff8614a7c49
[ "MIT" ]
null
null
null
#include "priminitial.h" #include "ui_priminitial.h" #include "testfilegraph.h" #include "manualgraphscreen.h" #include "prim.h" int initialPrim = 0; int getInitialPrim(){ return initialPrim; } PrimInitial::PrimInitial(QWidget *parent) : QDialog(parent), ui(new Ui::PrimInitial) { ui->setupUi(this); ...
20.275362
67
0.631165
jei3di
f9b882f4a86ced95a63cb4d4ee4670b8874d3417
2,203
cpp
C++
sources/details/http_service.cpp
RKulagin/keyboard-suggest
5dcb5ca524448cc6bd8a390a6eea5861e70a3598
[ "MIT" ]
null
null
null
sources/details/http_service.cpp
RKulagin/keyboard-suggest
5dcb5ca524448cc6bd8a390a6eea5861e70a3598
[ "MIT" ]
null
null
null
sources/details/http_service.cpp
RKulagin/keyboard-suggest
5dcb5ca524448cc6bd8a390a6eea5861e70a3598
[ "MIT" ]
null
null
null
#include "details/http_service.h" #include <sstream> namespace { std::string GetLastWord(const std::string &input) { std::stringstream s(input); std::string last_word; while (!s.eof()) { std::string t; s >> t; if (!t.empty()) { last_word = std::move(t); } } return last_word; } } // na...
32.880597
117
0.670903
RKulagin
f9bf74c6d7846e335efe0b4a9bbe840ecc741d63
1,040
hpp
C++
fsc/include/win/event.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
fsc/include/win/event.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
fsc/include/win/event.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
// (c) Copyright 2008 Samuel Debionne. // // Distributed under the MIT Software License. (See accompanying file // license.txt) or copy at http://www.opensource.org/licenses/mit-license.php) // // See http://code.google.com/p/fsc-sdk/ for the library home page. // // $Revision: $ // $History: $ /// \fi...
18.245614
80
0.651923
gbucknell
f9c13584f53883ed1e2dee30914e17d2bdc172b2
451
cpp
C++
dispenso/detail/per_thread_info.cpp
jeffamstutz/dispenso
0fb1db63a386c1ba59cd761677af6e9f0052c61c
[ "MIT" ]
1
2022-01-26T01:12:01.000Z
2022-01-26T01:12:01.000Z
dispenso/detail/per_thread_info.cpp
jeffamstutz/dispenso
0fb1db63a386c1ba59cd761677af6e9f0052c61c
[ "MIT" ]
null
null
null
dispenso/detail/per_thread_info.cpp
jeffamstutz/dispenso
0fb1db63a386c1ba59cd761677af6e9f0052c61c
[ "MIT" ]
null
null
null
// Copyright (c) Facebook, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE.md file in the root directory of this source tree. #include <dispenso/detail/per_thread_info.h> namespace dispenso { namespace detail { PerThreadInfo& PerPoolPerThreadInfo::info() { ...
25.055556
66
0.767184
jeffamstutz
f9c2d9051da33322513478c8801323bd6ad62d57
69
cpp
C++
lib/cmake/Qt5Qml/Qt5Qml_QQmlNativeDebugConnectorFactory_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
lib/cmake/Qt5Qml/Qt5Qml_QQmlNativeDebugConnectorFactory_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
lib/cmake/Qt5Qml/Qt5Qml_QQmlNativeDebugConnectorFactory_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
#include <QtPlugin> Q_IMPORT_PLUGIN(QQmlNativeDebugConnectorFactory)
23
48
0.884058
samlior
f9c4007b6b9ce98129216fc8e3dad7db8d32b9a4
6,915
cpp
C++
src/geo/test/latlng_codec_test.cpp
empiredan/pegasus
a095172ad1559cc0e65c7807a2baedc607cde50c
[ "Apache-2.0" ]
1,352
2017-10-16T03:24:54.000Z
2020-08-18T04:44:23.000Z
src/geo/test/latlng_codec_test.cpp
empiredan/pegasus
a095172ad1559cc0e65c7807a2baedc607cde50c
[ "Apache-2.0" ]
299
2017-10-19T05:33:32.000Z
2020-08-17T09:03:39.000Z
src/geo/test/latlng_codec_test.cpp
empiredan/pegasus
a095172ad1559cc0e65c7807a2baedc607cde50c
[ "Apache-2.0" ]
240
2017-10-16T05:57:04.000Z
2020-08-18T10:02:36.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
41.909091
100
0.701518
empiredan
f9c440dadba1c1355f84f73cb718dd9ee0efebeb
1,320
cpp
C++
CLI/files/PostTagCribFile.cpp
maxitg/PostTagSystem
7d7c506ed32ab105b2ad064ababf2299fc9e9cfd
[ "MIT" ]
6
2021-05-19T15:48:41.000Z
2022-02-06T05:38:20.000Z
CLI/files/PostTagCribFile.cpp
maxitg/PostTagSystem
7d7c506ed32ab105b2ad064ababf2299fc9e9cfd
[ "MIT" ]
6
2021-02-26T22:14:42.000Z
2021-03-15T19:16:55.000Z
CLI/files/PostTagCribFile.cpp
maxitg/PostTagSystem
7d7c506ed32ab105b2ad064ababf2299fc9e9cfd
[ "MIT" ]
null
null
null
#include "PostTagCribFile.hpp" #include "boost/format.hpp" using PostTagSystem::TagState; PostTagCribFile PostTagCribFileReader::read_file() { uint8_t file_magic = read_u8(); PostTagFileMagic format_magic = CribFileMagic; if (file_magic != format_magic) { throw std::runtime_error((boost::format("File magi...
28.695652
110
0.689394
maxitg
f9c45a730d3db5a964e21252cbf049c8ea4be75a
225
cpp
C++
sensor_fsm_coro_sched/Sources/fut_cpp.cpp
bbelson2/k22f_coro
f4388f39110dd60553d9b579a65ceadd518b1396
[ "MIT" ]
null
null
null
sensor_fsm_coro_sched/Sources/fut_cpp.cpp
bbelson2/k22f_coro
f4388f39110dd60553d9b579a65ceadd518b1396
[ "MIT" ]
null
null
null
sensor_fsm_coro_sched/Sources/fut_cpp.cpp
bbelson2/k22f_coro
f4388f39110dd60553d9b579a65ceadd518b1396
[ "MIT" ]
null
null
null
/* * fut_cpp.cpp * * Created on: 23 Nov 2018 * Author: Bruce Belson */ using namespace scheduling; upromise ufuture<int32_t> delayed_light(int32_t delay) { return } extern "C" int fut_test() { return 0; }
9.782609
47
0.653333
bbelson2
f9c92ba4b8a8bd6b518dc3b775ec0a5af0250f9f
1,162
cpp
C++
CoCoJoystick2PC/Blinker.cpp
ranaur/CoCoJoystick2PC
a49308201fbc04e20083eabd111b62b18d1b1211
[ "MIT" ]
null
null
null
CoCoJoystick2PC/Blinker.cpp
ranaur/CoCoJoystick2PC
a49308201fbc04e20083eabd111b62b18d1b1211
[ "MIT" ]
null
null
null
CoCoJoystick2PC/Blinker.cpp
ranaur/CoCoJoystick2PC
a49308201fbc04e20083eabd111b62b18d1b1211
[ "MIT" ]
null
null
null
#include "Blinker.h" void Blinker::play(const uint16_t *playTimes, int repeat = -1) { /*debug("Blinker::play() "); debugvar("repeat = ", repeat); debugvar("playTimes = ", (int)playTimes); debugln("");*/ _playTimes = playTimes; _repeat = repeat; on(); } void Blinker::loop(uint32_t now =...
21.518519
79
0.539587
ranaur
f9caa1df7fb789af7b22ecafbb4c1b70cef620c0
3,230
cpp
C++
equalization_CPU.cpp
Programacion-multinucleo-2018/assignment-4-histogram-equalization-leeseu95
8cff72e9bb2f8e6427d88407af6f1d221bc921f4
[ "MIT" ]
null
null
null
equalization_CPU.cpp
Programacion-multinucleo-2018/assignment-4-histogram-equalization-leeseu95
8cff72e9bb2f8e6427d88407af6f1d221bc921f4
[ "MIT" ]
null
null
null
equalization_CPU.cpp
Programacion-multinucleo-2018/assignment-4-histogram-equalization-leeseu95
8cff72e9bb2f8e6427d88407af6f1d221bc921f4
[ "MIT" ]
null
null
null
//Seung Hoon Lee - A01021720 //Tarea 4 - Equalization CPU version //g++ -o equalization_CPU equalization_CPU.cpp -lopencv_core -lopencv_highgui -lopencv_imgproc -std=c++11 #include <iostream> #include <cstdio> #include <cmath> #include <chrono> #include <cstdlib> #include <opencv2/core/core.hpp> #include <opencv2/high...
26.47541
110
0.635604
Programacion-multinucleo-2018
f9d124788ff81a2d9ca43f51be668ee6169d3593
865
cpp
C++
chapter1/02/RandomColorGenerator.cpp
ps-group/modern-gl-samples
53e075ec21418597b37c71c895111c0c77cab72b
[ "MIT" ]
1
2017-06-20T06:56:57.000Z
2017-06-20T06:56:57.000Z
chapter1/02/RandomColorGenerator.cpp
ps-group/modern-gl-samples
53e075ec21418597b37c71c895111c0c77cab72b
[ "MIT" ]
null
null
null
chapter1/02/RandomColorGenerator.cpp
ps-group/modern-gl-samples
53e075ec21418597b37c71c895111c0c77cab72b
[ "MIT" ]
null
null
null
#include "RandomColorGenerator.h" namespace { std::vector<glm::vec4> MakePalette() { // Превращает rgb(255, 0, 128) в vec4{ 1, 0, 0.5, 1 } auto rgb = [](unsigned red, unsigned green, unsigned blue) { return glm::vec4(float(red) / 255.f, float(green) / 255.f, float(blue) / 255.f, 1); }; // Цвета подобраны на сай...
21.625
85
0.652023
ps-group
f9da5c9167ab9dd80ceae603d3c1c26bc81fa148
846
cpp
C++
Pacientes.cpp
victorortiz98/ManchesterTriage-Stack-and-List-
df2a37b79c6491bd616eab1adccc2cec83952784
[ "Apache-2.0" ]
null
null
null
Pacientes.cpp
victorortiz98/ManchesterTriage-Stack-and-List-
df2a37b79c6491bd616eab1adccc2cec83952784
[ "Apache-2.0" ]
null
null
null
Pacientes.cpp
victorortiz98/ManchesterTriage-Stack-and-List-
df2a37b79c6491bd616eab1adccc2cec83952784
[ "Apache-2.0" ]
null
null
null
// // Created by Víctor Ortiz on 14/06/2021. // #include "Pacientes.hpp" #include <iostream> #include <string> Pacientes::Pacientes(int id, std::string dni, std::string nombre, std::string apellido1, std::string apellido2, int edad, char sexo) { IdPaciente = id; Dni = dni; Nombre = nombre; ...
20.634146
133
0.638298
victorortiz98
f9e0c35c957f936951c83aef0311f3c8d7d00e27
761
cpp
C++
cpp_tries/ch05/ex7.cpp
frankji/CPP-Primer-Plus-6
20ddba26faec93a347c96b866db853c2d154b639
[ "MIT" ]
null
null
null
cpp_tries/ch05/ex7.cpp
frankji/CPP-Primer-Plus-6
20ddba26faec93a347c96b866db853c2d154b639
[ "MIT" ]
null
null
null
cpp_tries/ch05/ex7.cpp
frankji/CPP-Primer-Plus-6
20ddba26faec93a347c96b866db853c2d154b639
[ "MIT" ]
null
null
null
#include <iostream> #include <string> struct car { std::string make; //use std::string if you do not want to claim the name space here. int year; }; //';' after struct. int main() { using namespace std; int ncars; cout << "How many cars do you wish to catalog? "; cin >> ncars; cin.get(); car * info = new car[n...
22.382353
85
0.576873
frankji
f9f1c65e9f04a5566b5cf6c7aeb49613bea6509d
55,896
cpp
C++
tests/test.cpp
OpenJij/cimod
14728142d5fca3f1dac4d63a9c6fcd17e82bce9f
[ "Apache-2.0" ]
8
2020-03-24T09:29:21.000Z
2022-01-12T17:06:20.000Z
tests/test.cpp
OpenJij/cimod
14728142d5fca3f1dac4d63a9c6fcd17e82bce9f
[ "Apache-2.0" ]
18
2020-04-16T01:31:25.000Z
2022-03-08T03:00:01.000Z
tests/test.cpp
OpenJij/cimod
14728142d5fca3f1dac4d63a9c6fcd17e82bce9f
[ "Apache-2.0" ]
3
2020-05-23T16:53:08.000Z
2021-07-01T08:51:28.000Z
#include "gtest/gtest.h" #include "../src/binary_quadratic_model.hpp" #include "../src/binary_polynomial_model.hpp" #include "../src/binary_quadratic_model_dict.hpp" #include "test_bqm.hpp" #include <nlohmann/json.hpp> #include <unordered_map> #include <utility> #include <vector> #include <cstdint> #include <string...
36.390625
140
0.641799
OpenJij
f9f353042a4420e0583fe7220f685aa28073b632
303
hpp
C++
opencv/build/modules/core/test/test_intrin512.simd_declarations.hpp
soyyuz/opencv-contrib-ARM64
25386df773f88a071532ec69ff541c31e62ec8f2
[ "Apache-2.0" ]
null
null
null
opencv/build/modules/core/test/test_intrin512.simd_declarations.hpp
soyyuz/opencv-contrib-ARM64
25386df773f88a071532ec69ff541c31e62ec8f2
[ "Apache-2.0" ]
null
null
null
opencv/build/modules/core/test/test_intrin512.simd_declarations.hpp
soyyuz/opencv-contrib-ARM64
25386df773f88a071532ec69ff541c31e62ec8f2
[ "Apache-2.0" ]
1
2022-03-27T03:35:07.000Z
2022-03-27T03:35:07.000Z
#define CV_CPU_SIMD_FILENAME "/home/epasholl/opencv/opencv-master/modules/core/test/test_intrin512.simd.hpp" #define CV_CPU_DISPATCH_MODE AVX512_SKX #include "opencv2/core/private/cv_cpu_include_simd_declarations.hpp" #define CV_CPU_DISPATCH_MODES_ALL AVX512_SKX, BASELINE #undef CV_CPU_SIMD_FILENAME
37.875
108
0.864686
soyyuz
f9f66adc04cca9dbd2103b56d3dcc874ff35bcec
2,787
hpp
C++
lexer/token.hpp
CobaltXII/cxcc
2e8f34e851b3cbe6699e443fd3950d630ff170b7
[ "MIT" ]
3
2019-05-27T04:50:51.000Z
2019-06-18T16:27:58.000Z
lexer/token.hpp
CobaltXII/cxcc
2e8f34e851b3cbe6699e443fd3950d630ff170b7
[ "MIT" ]
null
null
null
lexer/token.hpp
CobaltXII/cxcc
2e8f34e851b3cbe6699e443fd3950d630ff170b7
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> // All token types. enum token_type_t { // Special tokens. tk_identifier, tk_lit_integer, tk_lit_string, tk_lit_character, tk_eof, // Reserved words. tk_if, tk_int, tk_else, tk_while, tk_return, tk_break, tk_continue, // Punctuation. tk_left_parenthesis,...
18.335526
79
0.666308
CobaltXII
f9f84c5062a5075b73119aad4133f93568f6d0ac
1,207
cpp
C++
trainings/2015-10-06-Multi-University-2015-10/B.cpp
HcPlu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
9
2017-10-07T13:35:45.000Z
2021-06-07T17:36:55.000Z
trainings/2015-10-06-Multi-University-2015-10/B.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
null
null
null
trainings/2015-10-06-Multi-University-2015-10/B.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
3
2018-04-24T05:27:21.000Z
2019-04-25T06:06:00.000Z
#include <iostream> using namespace std; const int mod = 1e9 + 7; const int N = 1e6 + 11; int prime[N + 10]; long long f[N + 10], ok[N + 10]; void init() { for (int i = 2; i <= N; i++) { prime[i] = 1; ok[i] = 0; } for (int i = 2; i <= N; i++) { if (prime[i]) { for (i...
18.569231
59
0.375311
HcPlu
e600f394d0516ef29fef83a6ff839fc159589f0e
1,441
hpp
C++
hot/commons/include/hot/commons/PartialKeyMappingBase.hpp
freesummer/SIMD-Matcher
3b1889d2924d243daff4939e7328bef431d9859a
[ "0BSD" ]
null
null
null
hot/commons/include/hot/commons/PartialKeyMappingBase.hpp
freesummer/SIMD-Matcher
3b1889d2924d243daff4939e7328bef431d9859a
[ "0BSD" ]
null
null
null
hot/commons/include/hot/commons/PartialKeyMappingBase.hpp
freesummer/SIMD-Matcher
3b1889d2924d243daff4939e7328bef431d9859a
[ "0BSD" ]
null
null
null
#ifndef __HOT__COMMONS__PARTIAL_KEY_MAPPING_BASE_HPP___ #define __HOT__COMMONS__PARTIAL_KEY_MAPPING_BASE_HPP___ #include "hot/commons/include/hot/commons/DiscriminativeBit.hpp" namespace hot { namespace commons { /** * A Base class for all partial key mapping informations * A Partial key mapping must be able to ex...
36.025
226
0.834837
freesummer
e601409f0ab4f79c59b7e57a7c626886caede9b3
39,335
cpp
C++
src/Main/Gui/CoreWindow.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/Main/Gui/CoreWindow.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/Main/Gui/CoreWindow.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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, mer...
37.785783
101
0.620542
voxie-viewer
e606d8c4f285ec6b7003f20ac139c639eb31ab64
723
cpp
C++
problems/lc1492/solution1.cpp
caohongjian/leetcode
bba854b407b1caa6a237ceb726592ff0458b3a29
[ "MIT" ]
1
2020-07-01T10:42:09.000Z
2020-07-01T10:42:09.000Z
problems/lc1492/solution1.cpp
murmur-wheel/leetcode
bba854b407b1caa6a237ceb726592ff0458b3a29
[ "MIT" ]
null
null
null
problems/lc1492/solution1.cpp
murmur-wheel/leetcode
bba854b407b1caa6a237ceb726592ff0458b3a29
[ "MIT" ]
null
null
null
// // Created by chj on 2020/7/3. // // https://leetcode-cn.com/problems/the-kth-factor-of-n/ #include <algorithm> #include <cmath> #include <iostream> #include <vector> // 先计算 n 的所有因子,然后排序 class Solution { public: int kthFactor(int n, int k) { std::vector<int> v; const int K = std::sqrt(n); for (int ...
20.083333
72
0.518672
caohongjian
e607a84e0da2e6ead2c9ef694996341c13242b3a
376
cpp
C++
C++_Stroustrup/3-Objects,Types,Values/repeatWord.cpp
Cristo12345/CS_Review
7a0c60074a8a6d23f973e4e5e570e3ef22eec252
[ "MIT" ]
1
2020-07-17T01:54:43.000Z
2020-07-17T01:54:43.000Z
C++_Stroustrup/3-Objects,Types,Values/repeatWord.cpp
Cristo12345/CS_Review
7a0c60074a8a6d23f973e4e5e570e3ef22eec252
[ "MIT" ]
null
null
null
C++_Stroustrup/3-Objects,Types,Values/repeatWord.cpp
Cristo12345/CS_Review
7a0c60074a8a6d23f973e4e5e570e3ef22eec252
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { string prev = " "; string curr; int numOfWords = 0; while (cin >> curr) { numOfWords++; if (prev == curr) { cout << "word number " << numOfWords << '\n'; cout << "repeated word: " << curr << '\n...
15.666667
57
0.441489
Cristo12345
e60ce1a683fd10624ac4867548ce8a7124228753
352
hpp
C++
src/Graphics/Rect.hpp
ryu-raptor/amf
33a42cf1025ea512f23c4769a5be27d6a0c335bc
[ "MIT" ]
1
2020-05-31T02:25:39.000Z
2020-05-31T02:25:39.000Z
src/Graphics/Rect.hpp
ryu-raptor/amf
33a42cf1025ea512f23c4769a5be27d6a0c335bc
[ "MIT" ]
null
null
null
src/Graphics/Rect.hpp
ryu-raptor/amf
33a42cf1025ea512f23c4769a5be27d6a0c335bc
[ "MIT" ]
null
null
null
#include "Graphics/glHeaders.hpp" namespace Graphics { struct Rect { GLfloat width; GLfloat height; GLfloat x; GLfloat y; Rect(GLfloat x, GLfloat y, GLfloat width, GLfloat height) { this->width = width; this->height = height; this->x = x; this->y = y; ...
17.6
61
0.565341
ryu-raptor
e610989d946185f78f5fca7972a237425365bf05
1,933
cpp
C++
Test/PKTest/Native/Src/UART/UART.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
529
2015-03-10T00:17:45.000Z
2022-03-17T02:21:19.000Z
Test/PKTest/Native/Src/UART/UART.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
495
2015-03-10T22:02:46.000Z
2019-05-16T13:05:00.000Z
Test/PKTest/Native/Src/UART/UART.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
332
2015-03-10T08:04:36.000Z
2022-03-29T04:18:36.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. ///////////////////////////////////////////////////////...
27.225352
201
0.375582
PervasiveDigital
e610f8c0a4ba877de1909e9d7f7231f6d42adcdc
612
hpp
C++
MemLeak/src/RenderTarget/RenderTarget.hpp
pk8868/MemLeak
72f937110c2b67547f67bdea60d2e80b0f5581a1
[ "MIT" ]
null
null
null
MemLeak/src/RenderTarget/RenderTarget.hpp
pk8868/MemLeak
72f937110c2b67547f67bdea60d2e80b0f5581a1
[ "MIT" ]
null
null
null
MemLeak/src/RenderTarget/RenderTarget.hpp
pk8868/MemLeak
72f937110c2b67547f67bdea60d2e80b0f5581a1
[ "MIT" ]
null
null
null
#pragma once // --------- Graphics -------- // #include "Texture/Texture.hpp" #include "Image/Image.hpp" #include "Sprite/Sprite.hpp" #include "Shape/Rect/Rectangle.hpp" #include "Shape/Line/Line.hpp" #include "Text/Text.hpp" namespace ml { class Image; class Sprite; class Rectangle; class Line; class Text; st...
18.545455
48
0.678105
pk8868
e6130dcbaecdbfc71c41191cb6355739dbac954e
5,216
cpp
C++
Core/src/GFX/2D/Sprite.cpp
IridescentRose/Stardust-Engine
ee6a6b5841c16dddf367564a92eb263827631200
[ "MIT" ]
55
2020-10-07T01:54:49.000Z
2022-03-26T11:39:11.000Z
Core/src/GFX/2D/Sprite.cpp
IridescentRose/Ionia
ee6a6b5841c16dddf367564a92eb263827631200
[ "MIT" ]
15
2020-05-30T18:22:50.000Z
2020-08-08T11:01:36.000Z
Core/src/GFX/2D/Sprite.cpp
IridescentRose/Ionia
ee6a6b5841c16dddf367564a92eb263827631200
[ "MIT" ]
6
2020-10-22T11:09:47.000Z
2022-01-07T13:10:09.000Z
#include <GFX/2D/Sprite.h> namespace Stardust::GFX::Render2D{ Sprite::Sprite() { tex = -1; offset = { 0, 0 }; scaleFactor = { 1.0, 1.0 }; rotation = {0, 0}; } Sprite::~Sprite() { model.deleteData(); } Sprite::Sprite(unsigned int t) { rotation = {0, 0}; tex = t; Texture* tex2 = g_TextureManag...
19.247232
129
0.555982
IridescentRose
e6161a37befbd06765140d51a77698fabb16a6e3
735
cpp
C++
Pat/pat1002.cpp
yuanyangwangTJ/algorithm
ab7a959a00f290a0adc9af278f9a5de60be22af1
[ "MIT" ]
null
null
null
Pat/pat1002.cpp
yuanyangwangTJ/algorithm
ab7a959a00f290a0adc9af278f9a5de60be22af1
[ "MIT" ]
null
null
null
Pat/pat1002.cpp
yuanyangwangTJ/algorithm
ab7a959a00f290a0adc9af278f9a5de60be22af1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void read( int n,char num[10][5]); int main() { char num[10][5] = {"ling","yi","er","san","si","wu","liu","qi","ba","jiu"}; cout<<"please input a num:"<<endl; int count = 0,n; int t = getchar(); while( t !='\n' ) { n = t - '0'; ...
18.846154
80
0.391837
yuanyangwangTJ
e61f0b8fa40fda776d213a2fe4870cbafa49572d
65,710
cc
C++
sdk/sdk/share/linphone/coreapi/linphonecore_jni.cc
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
1
2021-10-09T08:05:50.000Z
2021-10-09T08:05:50.000Z
sdk/sdk/share/linphone/coreapi/linphonecore_jni.cc
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
null
null
null
sdk/sdk/share/linphone/coreapi/linphonecore_jni.cc
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
null
null
null
/* linphonecore_jni.cc Copyright (C) 2010 Belledonne Communications, Grenoble, France 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 v...
39.441777
221
0.749779
doyaGu
e61fb7b2d1a457280a1a01460af170753b30afe6
323
hpp
C++
src/Time/StepControllers/Factory.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Time/StepControllers/Factory.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Time/StepControllers/Factory.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include "Time/StepControllers/BinaryFraction.hpp" #include "Utilities/TMPL.hpp" namespace StepControllers { /// Typelist of standard StepControllers using standard_step_controllers = tmpl::list<BinaryFraction>; } // namespace Trigge...
24.846154
61
0.786378
macedo22
e6279c8736443f7a57545a58a85e0ea38cb142db
2,756
cpp
C++
procedures/p9/start_host.cpp
devenrao/openpower-proc-control
1dc3acd254df36670e978ad2fc4af13d7ce84bcb
[ "Apache-2.0" ]
1
2020-04-22T17:21:10.000Z
2020-04-22T17:21:10.000Z
procedures/p9/start_host.cpp
devenrao/openpower-proc-control
1dc3acd254df36670e978ad2fc4af13d7ce84bcb
[ "Apache-2.0" ]
5
2017-06-30T10:14:12.000Z
2021-11-28T19:42:41.000Z
procedures/p9/start_host.cpp
devenrao/openpower-proc-control
1dc3acd254df36670e978ad2fc4af13d7ce84bcb
[ "Apache-2.0" ]
7
2017-03-24T22:33:51.000Z
2022-01-20T05:31:29.000Z
/** * Copyright (C) 2017 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
28.412371
75
0.678882
devenrao
e62e24ff2c8aa962e2d1d0a9b8ad0ad284d9d26d
23,246
hh
C++
src/buffer.hh
everard/libecstk-buffer
bfc24012f6ece148a3bdb6f21765c7b3fd6e938f
[ "BSL-1.0" ]
null
null
null
src/buffer.hh
everard/libecstk-buffer
bfc24012f6ece148a3bdb6f21765c7b3fd6e938f
[ "BSL-1.0" ]
null
null
null
src/buffer.hh
everard/libecstk-buffer
bfc24012f6ece148a3bdb6f21765c7b3fd6e938f
[ "BSL-1.0" ]
null
null
null
// Copyright Nezametdinov E. Ildus 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // #ifndef H_639425CCA60E448B9BEB43186E06CA57 #define H_639425CCA60E448B9BEB43186E06CA57 #include <type_traits> #include ...
32.557423
80
0.5992
everard
e62ee9e181a93fb397260670761fcfae4f0e9098
1,001
hh
C++
extern/typed-geometry/src/typed-geometry/functions/matrix/translation.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/typed-geometry/src/typed-geometry/functions/matrix/translation.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/typed-geometry/src/typed-geometry/functions/matrix/translation.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #include <typed-geometry/types/mat.hh> #include <typed-geometry/types/vec.hh> #include <typed-geometry/detail/scalar_traits.hh> namespace tg { template <int D, class T> [[nodiscard]] constexpr mat<D + 1, D + 1, T> translation(vec<D, T> const& v) { auto m = mat<D + 1, D + 1, T>::identity; m[D] = ...
23.833333
76
0.578422
rovedit
e635aca950b1081dfe827536399f5dbbd1340138
4,691
cpp
C++
src/lib_cpp/AvTrajectoryPlanner.cpp
joshuajbennett/av-trajectory-planner
522e5193c6aeeeba1ebaca3d43e26bdd21c56340
[ "MIT" ]
6
2019-10-13T23:32:59.000Z
2022-03-13T17:36:42.000Z
src/lib_cpp/AvTrajectoryPlanner.cpp
joshuajbennett/av-trajectory-planner
522e5193c6aeeeba1ebaca3d43e26bdd21c56340
[ "MIT" ]
null
null
null
src/lib_cpp/AvTrajectoryPlanner.cpp
joshuajbennett/av-trajectory-planner
522e5193c6aeeeba1ebaca3d43e26bdd21c56340
[ "MIT" ]
6
2019-04-07T02:29:47.000Z
2021-12-09T02:14:28.000Z
#include <fstream> #include <iostream> #include "AvTrajectoryPlanner.hpp" #include "IterativeLQR.hpp" using namespace av_structs; using namespace iterative_lqr; namespace av_trajectory_planner { Planner::Planner() {} Planner::Planner( AvState init, AvState goal, AvParams config, Boundary av_outline, SolverParams s...
22.882927
96
0.762737
joshuajbennett
e63bee55ed587adeac07ed6bfe9ee359b3fad55a
1,495
cpp
C++
cpp/src/exercise/e0200/e0134.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0200/e0134.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0200/e0134.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
// https://leetcode-cn.com/problems/gas-station/ #include "extern.h" class S0134 { public: int canCompleteCircuit(vector<int>& gas, vector<int>& cost) { if (gas.empty()) return -1; for (int i = 0; i < gas.size(); ++i) { gas[i] -= cost[i]; } int total = 0; int cn...
28.75
65
0.419398
ajz34
e63fd302503fcab3eb0a026adde5c4098535f023
4,239
hpp
C++
include/vop.hpp
zhu48/led_strip
f74f0663cbf5a8b68a54f54ce04691c45e03253b
[ "MIT" ]
null
null
null
include/vop.hpp
zhu48/led_strip
f74f0663cbf5a8b68a54f54ce04691c45e03253b
[ "MIT" ]
null
null
null
include/vop.hpp
zhu48/led_strip
f74f0663cbf5a8b68a54f54ce04691c45e03253b
[ "MIT" ]
null
null
null
#ifndef VOP_HPP #define VOP_HPP #include <cstddef> namespace vop { /** * Vector add two containers, putting the result into a third container. * * \tparam itr_l Iterator type of the left-hand-side addition operand container. * \tparam itr_r Iterator type of the right-hand-side addition o...
43.255102
99
0.681529
zhu48
e6441c8b37b7d62746b4b3b37a1f3808926c119f
2,226
hpp
C++
include/eagine/integer_range.hpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
1
2022-01-25T10:31:51.000Z
2022-01-25T10:31:51.000Z
include/eagine/integer_range.hpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
include/eagine/integer_range.hpp
matus-chochlik/eagine-core
5bc2d6b9b053deb3ce6f44f0956dfccd75db4649
[ "BSL-1.0" ]
null
null
null
/// @file /// /// Copyright Matus Chochlik. /// 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 EAGINE_INTEGER_RANGE_HPP #define EAGINE_INTEGER_RANGE_HPP #include "iterator.hpp" namespace eagine { /...
27.481481
83
0.660827
matus-chochlik
e6463ce0d96cd56d96d6b0d963dfa3c44edc9660
629
cpp
C++
collision.cpp
CaptainDreamcast/Torchbearer
144a1d8eca66e994dc832fc4116431ea267e00d9
[ "MIT" ]
null
null
null
collision.cpp
CaptainDreamcast/Torchbearer
144a1d8eca66e994dc832fc4116431ea267e00d9
[ "MIT" ]
null
null
null
collision.cpp
CaptainDreamcast/Torchbearer
144a1d8eca66e994dc832fc4116431ea267e00d9
[ "MIT" ]
null
null
null
#include "collision.h" #include <prism/blitz.h> static struct { CollisionListData* mPlayerCollisionList; CollisionListData* mObstacleCollisionList; } gCollisionData; void initCollisions() { gCollisionData.mPlayerCollisionList = addCollisionListToHandler(); gCollisionData.mObstacleCollisionList = addCollisionList...
25.16
102
0.844197
CaptainDreamcast
e646b1207910a2f5c038c30eb2ad659a8e39e21b
7,158
cpp
C++
src/HubLabelStore.cpp
dbahrdt/path_finder
1105966e5b50590acd9aca30ceb6922b0e40c259
[ "Apache-2.0" ]
1
2021-03-12T23:18:30.000Z
2021-03-12T23:18:30.000Z
src/HubLabelStore.cpp
dbahrdt/path_finder
1105966e5b50590acd9aca30ceb6922b0e40c259
[ "Apache-2.0" ]
8
2020-05-27T17:25:58.000Z
2020-05-29T10:39:54.000Z
src/HubLabelStore.cpp
dbahrdt/path_finder
1105966e5b50590acd9aca30ceb6922b0e40c259
[ "Apache-2.0" ]
1
2020-10-19T09:01:09.000Z
2020-10-19T09:01:09.000Z
// // Created by sokol on 23.01.20. // #include "path_finder/storage/HubLabelStore.h" #include <cstring> #include <execution> #include <memory> #include <path_finder/helper/Static.h> #include <sstream> #include <utility> namespace pathFinder { HubLabelStore::HubLabelStore(size_t numberOfLabels) { m_forwardOffset = ...
42.607143
115
0.732886
dbahrdt
e64c1c47e9dd2b799f5cfa689d48ce9a9eef9980
3,871
cpp
C++
src/component/text_component.cpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
7
2019-08-07T21:27:27.000Z
2020-11-27T16:33:16.000Z
src/component/text_component.cpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/component/text_component.cpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Equal Games * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
25.136364
99
0.690778
equal-games
e64d514d029ead61d9be0d128d5db871d7ff7a1f
3,173
cpp
C++
tests/nnti/cpp-api/NntiOpVectorTest.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
tests/nnti/cpp-api/NntiOpVectorTest.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
tests/nnti/cpp-api/NntiOpVectorTest.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. #include "nnti/nnti_pch.hpp" #include <mpi.h> #include "gtest/gtest.h" #include "faodel-common/Common.hh" #i...
22.034722
78
0.607942
faodel
e6514457bc2b8dd014f85c0b00fe47f067f7155e
283
cpp
C++
tests/test3.cpp
chrisroman/llvm-pass-skeleton
5e0308c38bd8aec7ac33b794f7d9551cfdf01733
[ "MIT" ]
1
2020-10-26T02:45:22.000Z
2020-10-26T02:45:22.000Z
tests/test3.cpp
chrisroman/llvm-pass-skeleton
5e0308c38bd8aec7ac33b794f7d9551cfdf01733
[ "MIT" ]
null
null
null
tests/test3.cpp
chrisroman/llvm-pass-skeleton
5e0308c38bd8aec7ac33b794f7d9551cfdf01733
[ "MIT" ]
null
null
null
#include <stdlib.h> /* exit, EXIT_FAILURE */ #include "track_nullptr.h" void deref_null(int argc) { int *p = nullptr; if (argc == 1) { p = &argc; } *p = 42; } int main(int argc, char** argv) { //escape(&nullp); deref_null(argc); return 0; }
16.647059
48
0.537102
chrisroman
e654beaee6fadb0fdaad20ec16f713cbb088f20b
1,275
hpp
C++
android-31/android/icu/text/DateIntervalInfo.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/icu/text/DateIntervalInfo.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/icu/text/DateIntervalInfo.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../../JObject.hpp" namespace android::icu::text { class DateIntervalInfo_PatternInfo; } namespace android::icu::util { class ULocale; } class JObject; class JString; namespace java::util { class Locale; } namespace android::icu::text { class DateIntervalInfo : public JObject { public:...
25.5
157
0.737255
YJBeetle
e655ee06e0db284b536e2a0f8e9c737708efaf2e
850
cpp
C++
src/atom.cpp
chiang-yuan/csh4lmp
8a8dff5d2b65ce463e4d58dc52e35a6114b7e597
[ "MIT" ]
9
2019-03-22T03:45:24.000Z
2021-02-18T04:19:12.000Z
src/atom.cpp
Chiang-Yuan/csh4lmp
8a8dff5d2b65ce463e4d58dc52e35a6114b7e597
[ "MIT" ]
null
null
null
src/atom.cpp
Chiang-Yuan/csh4lmp
8a8dff5d2b65ce463e4d58dc52e35a6114b7e597
[ "MIT" ]
1
2022-03-31T11:57:07.000Z
2022-03-31T11:57:07.000Z
#include "atom.h" Atom::Atom() { delete_flag = false; bondNum = 0; bondID = std::vector<bigint>(MAX_BONDS_PER_ATOM); bonds = std::vector<Bond*>(MAX_BONDS_PER_ATOM); angleNum = 0; } Atom::~Atom() { } bool operator==(const Atom& lhs, const Atom& rhs) { return (lhs.id == rhs.id); } bool operator!=(const Atom & l...
19.318182
63
0.625882
chiang-yuan
e65cb69470313025359f0dd0053f56a558f24d34
6,099
cpp
C++
Engine/Core/Sources/Threading/ThreadPool.cpp
makdenis/YetAnotherProject
e43cc3ca2d4a13984f97f0949f88ab17fa6905d3
[ "MIT" ]
1
2018-05-02T10:40:26.000Z
2018-05-02T10:40:26.000Z
Engine/Core/Sources/Threading/ThreadPool.cpp
makdenis/YetAnotherProject
e43cc3ca2d4a13984f97f0949f88ab17fa6905d3
[ "MIT" ]
9
2018-03-26T10:22:07.000Z
2018-05-22T20:43:14.000Z
Engine/Core/Sources/Threading/ThreadPool.cpp
makdenis/YetAnotherProject
e43cc3ca2d4a13984f97f0949f88ab17fa6905d3
[ "MIT" ]
6
2018-04-15T16:03:32.000Z
2018-05-21T22:02:49.000Z
#include "ThreadPool.hpp" #include <assert.h> #define LOCK(MUTEX) std::unique_lock<std::mutex> lock /******************************************************************** * TaskBacket ********************************************************************/ TaskBacket::TaskBacket() { bComplitted = true; } TaskBa...
17.99115
90
0.654697
makdenis
e65ddf9e93182443c1db22f317c886713ade7900
4,028
hpp
C++
include/jitana/analysis/call_graph.hpp
Xbeas/jitana
fc33976cf6f4cbb91263a06bae32e9ad07fc5551
[ "0BSD" ]
31
2017-04-21T03:25:46.000Z
2022-02-20T20:59:23.000Z
include/jitana/analysis/call_graph.hpp
Xbeas/jitana
fc33976cf6f4cbb91263a06bae32e9ad07fc5551
[ "0BSD" ]
3
2020-12-21T09:02:06.000Z
2021-03-16T10:37:38.000Z
include/jitana/analysis/call_graph.hpp
Xbeas/jitana
fc33976cf6f4cbb91263a06bae32e9ad07fc5551
[ "0BSD" ]
9
2017-06-06T19:30:43.000Z
2021-05-19T19:50:03.000Z
/* * Copyright (c) 2015, 2016, Yutaka Tsutano * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTH...
34.724138
80
0.588878
Xbeas
e661ff980e7be9bfb2ab4ac0cca88b59be10469d
1,100
cpp
C++
Libraries/RobsJuceModules/romos/Framework/romos_ProcessingStatus.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/romos/Framework/romos_ProcessingStatus.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/romos/Framework/romos_ProcessingStatus.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
//#include "romos_ProcessingStatus.h" //using namespace romos; ProcessingStatus processingStatus; // definition of the global object //----------------------------------------------------------------------------------------------------------------------------------------- // construction/destruction: ProcessingStat...
26.190476
139
0.565455
RobinSchmidt
e66291ea7314d2fbde3ac9368ba51effc802e746
636
cpp
C++
String/10_permutations.cpp
ritikrajdev/450DSA
a9efa8c8be781fd7b101407ac807a83b8a0929f4
[ "MIT" ]
null
null
null
String/10_permutations.cpp
ritikrajdev/450DSA
a9efa8c8be781fd7b101407ac807a83b8a0929f4
[ "MIT" ]
null
null
null
String/10_permutations.cpp
ritikrajdev/450DSA
a9efa8c8be781fd7b101407ac807a83b8a0929f4
[ "MIT" ]
null
null
null
#include <algorithm> #include <string> #include <vector> using namespace std; class Solution { void helper(string &S, int l, int r, vector<string> &vec) { if (l == r) { vec.push_back(S); return; } for (int i = l; i <= r; i++) { swap(S[i], S[l]); ...
21.2
63
0.463836
ritikrajdev
e662bb84a95721dbc93162a81e9bd8ec016474b3
1,627
hpp
C++
src/message_service.hpp
madmongo1/blog-october-2020
95968a7c6bc9ed8476f72d0ec107544b5ec26498
[ "BSL-1.0" ]
1
2021-02-12T00:18:55.000Z
2021-02-12T00:18:55.000Z
src/message_service.hpp
madmongo1/blog-october-2020
95968a7c6bc9ed8476f72d0ec107544b5ec26498
[ "BSL-1.0" ]
1
2020-12-21T09:53:31.000Z
2020-12-21T09:53:31.000Z
src/message_service.hpp
madmongo1/blog-october-2020
95968a7c6bc9ed8476f72d0ec107544b5ec26498
[ "BSL-1.0" ]
null
null
null
// // Created by rhodges on 09/11/2020. // #pragma once #include "async_condition_variable.hpp" #include "basic_distributor.hpp" #include "config.hpp" #include <memory> struct message_service_impl { using executor_type = net::strand<net::io_context::executor_type>; message_service_impl(net::io_context::execu...
20.3375
70
0.684696
madmongo1
e667ecb9ae71a5f34cf7f886ad808bd62d96ccbb
5,179
hpp
C++
include/vecl/broadcast.hpp
ethereal-sheep/vecl
519e8e90a1cd2c424f0a666e24da2d2ad3ffdcaf
[ "MIT" ]
1
2021-09-15T13:13:16.000Z
2021-09-15T13:13:16.000Z
include/vecl/broadcast.hpp
ethereal-sheep/vecl
519e8e90a1cd2c424f0a666e24da2d2ad3ffdcaf
[ "MIT" ]
1
2022-01-03T09:52:35.000Z
2022-01-03T09:52:35.000Z
include/vecl/broadcast.hpp
ethereal-sheep/vecl
519e8e90a1cd2c424f0a666e24da2d2ad3ffdcaf
[ "MIT" ]
null
null
null
#ifndef VECL_BROADCAST_H #define VECL_BROADCAST_H #include "config/config.h" #include <memory> #include <functional> #include <vector> #include <memory_resource> namespace vecl { /** * @brief A Broadcast is a smart event-handler that models a * broadcast design pattern. * * The container allows functions t...
24.088372
74
0.674068
ethereal-sheep
e66ccf5db157f828ccdc7aea66caca4da8442d63
320
hpp
C++
include/base64-cpp/detail/decode-common.hpp
contour-terminal/base64-cpp
885789cd7ec427cf63eef867f6c273eaa92b5d88
[ "Apache-2.0" ]
2
2021-07-11T21:03:13.000Z
2021-07-23T23:47:29.000Z
include/base64-cpp/detail/decode-common.hpp
contour-terminal/base64-cpp
885789cd7ec427cf63eef867f6c273eaa92b5d88
[ "Apache-2.0" ]
1
2021-08-03T05:51:53.000Z
2021-08-16T14:32:49.000Z
include/base64-cpp/detail/decode-common.hpp
contour-terminal/base64-cpp
885789cd7ec427cf63eef867f6c273eaa92b5d88
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstdint> #include <cstdlib> #include <string_view> namespace base64::detail::decoder { auto static const inline alphabet = std::string_view{"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"}; struct invalid_input final { size_t const offset; uint8_t const byte; }; }
16.842105
121
0.76875
contour-terminal
e66d0362b11a8ef129db894387de321567d9e3fc
6,918
cpp
C++
Anime4KCore/src/ACOpenCL.cpp
king350023/Anime4KCPP
659442101b884108c24811de3c669283d2d8b20e
[ "MIT" ]
null
null
null
Anime4KCore/src/ACOpenCL.cpp
king350023/Anime4KCPP
659442101b884108c24811de3c669283d2d8b20e
[ "MIT" ]
null
null
null
Anime4KCore/src/ACOpenCL.cpp
king350023/Anime4KCPP
659442101b884108c24811de3c669283d2d8b20e
[ "MIT" ]
null
null
null
#define DLL #include "ACOpenCL.hpp" Anime4KCPP::OpenCL::GPUList::GPUList( const int platforms, std::vector<int> devices, std::string message ) :platforms(platforms), devices(std::move(devices)), message(std::move(message)) {} int Anime4KCPP::OpenCL::GPUList::operator[](int pID) const { return devices...
29.564103
106
0.60769
king350023
e66d8f43e0402f89403e33ec0325b45b1e0c90de
3,124
cpp
C++
volume_I/acm_1096.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
volume_I/acm_1096.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
volume_I/acm_1096.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
#include <cstdio> char in [ 65536 ]; char const* o; int a[ 1024 ]; int b[ 1024 ]; bool visit[1024] ; int que [ 1024 ] ; int dist[ 1024 ] ; int prv [ 1024 ]; int n; // number of bus int n_q; int nxt[ 2048 ] ; //int dst[ 2028 ] ; int head[2048 ] ; static int readInt() { int u = 0; while(*o && *o <= 32)+...
18.057803
71
0.338668
raidenluikang
e670f1dce1004823bd8f2e342c2e7b076495df78
5,123
cpp
C++
cpp/include/math/matrix.cpp
kyuridenamida/competitive-library
a2bea434c4591359c208b865d2d4dc25574df24d
[ "MIT" ]
3
2017-04-09T10:12:31.000Z
2019-02-11T03:11:27.000Z
cpp/include/math/matrix.cpp
kyuridenamida/competitive-library
a2bea434c4591359c208b865d2d4dc25574df24d
[ "MIT" ]
null
null
null
cpp/include/math/matrix.cpp
kyuridenamida/competitive-library
a2bea434c4591359c208b865d2d4dc25574df24d
[ "MIT" ]
1
2019-11-29T06:11:10.000Z
2019-11-29T06:11:10.000Z
#pragma once #include "../util.hpp" template<typename T> class Vec { protected: using iterator = typename vector<T>::iterator; using const_iterator = typename vector<T>::const_iterator; using reference = T&; using const_reference = const T&; vector<T> v; template<typename Unop> Vec<T> unop_new(Unop op) co...
28.943503
78
0.486824
kyuridenamida
e6747b18e969ed210e3bd2c2b55fee3281fa92c7
1,585
cpp
C++
gameuit-console-game-engine/Player.cpp
phuctm97/console-game-engine
b90f4bc50950d75491c82f18820a004e92fe38fe
[ "MIT" ]
null
null
null
gameuit-console-game-engine/Player.cpp
phuctm97/console-game-engine
b90f4bc50950d75491c82f18820a004e92fe38fe
[ "MIT" ]
null
null
null
gameuit-console-game-engine/Player.cpp
phuctm97/console-game-engine
b90f4bc50950d75491c82f18820a004e92fe38fe
[ "MIT" ]
1
2021-05-23T06:14:25.000Z
2021-05-23T06:14:25.000Z
#include "Player.h" #include "Game.h" Player::Player() { _width = 5; _height = 10; Game::getInstance()->registerInputNotification( CC_CALLBACK_1(Player::processInput, this) ); } Player::~Player() {} void Player::moveUp() { int y = getPositionY(); y -= 1; setPositionY( y ); } void Player::moveDown() { int y...
16.684211
93
0.624606
phuctm97
e67e6a7eef68204b34ac5e6b2f6ebad8deca1b6d
7,262
cpp
C++
main.cpp
jiangzhuti/DMProxy
0a95e5173079eca6b61e7661b3f4d5d3a2ae08a6
[ "WTFPL" ]
null
null
null
main.cpp
jiangzhuti/DMProxy
0a95e5173079eca6b61e7661b3f4d5d3a2ae08a6
[ "WTFPL" ]
null
null
null
main.cpp
jiangzhuti/DMProxy
0a95e5173079eca6b61e7661b3f4d5d3a2ae08a6
[ "WTFPL" ]
null
null
null
#include <map> #include <set> #include <sstream> #include <memory> #include <utility> #include <tuple> #include <boost/program_options.hpp> #include <boost/asio.hpp> #include <boost/algorithm/string.hpp> #include "network/dmp_cs.hpp" #include "platforms/platforms.hpp" #include "utils/others.hpp" #include "utils/rw_lock...
39.043011
155
0.576012
jiangzhuti
e680e9aa39e997fe9a04909728b929bce7da9ac2
7,386
cpp
C++
src/api/JavaIntegration.cpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
2
2019-01-18T02:33:45.000Z
2019-02-01T23:44:05.000Z
src/api/JavaIntegration.cpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
null
null
null
src/api/JavaIntegration.cpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
null
null
null
/** * Copyright 2018 <David Corbin, Mitchell Harvey> */ #include <include/api/JavaIntegration.hpp> #include <include/FileNotFound.hpp> #include <QDesktopServices> #include <QUrl> #include <QFileInfo> #include <QTextStream> #include <QDebug> #include <QSettings> #include <QApplication> #include <string> #include <alg...
30.647303
78
0.653804
davidcorbin
e697b4d120c2cb38fccd361679dd9388b4d1da22
1,435
cpp
C++
Range Queries/Pizzeria Queries.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
2
2022-02-12T12:30:13.000Z
2022-02-12T13:59:20.000Z
Range Queries/Pizzeria Queries.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
2
2022-02-12T11:09:41.000Z
2022-02-12T11:55:49.000Z
Range Queries/Pizzeria Queries.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; const int INF=2e9; void buildTree(int v, int tl, int tr,vector<int>&st,vector<int>&a){ if (tl==tr){ st[v]=a[tl]; return; } int mid = (tl+tr)>>1; buildTree(v*2,tl,mid,st,a); buildTree(v*2+1,mid+1,tr,st,a); st[v]=min(st[v*2],st[v*2+1]); } int ...
22.076923
83
0.570035
DecSP
e69af1c7058358166fb3546346080ab385e380b6
2,439
cpp
C++
flow/walker/serial_node_walker.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
1
2017-08-11T19:12:24.000Z
2017-08-11T19:12:24.000Z
flow/walker/serial_node_walker.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
11
2018-07-07T20:09:44.000Z
2020-02-16T22:45:09.000Z
flow/walker/serial_node_walker.cpp
aconstlink/snakeoil
3c6e02655e1134f8422f01073090efdde80fc109
[ "MIT" ]
null
null
null
//------------------------------------------------------------ // snakeoil (c) Alexis Constantin Link // Distributed under the MIT license //------------------------------------------------------------ #include "serial_node_walker.h" using namespace so_flow ; //********************************************************...
32.52
96
0.388684
aconstlink
e69c6bea04a01f6f89963ff6a688ded77cbf26d1
3,279
hpp
C++
Test/TestCommon/TestFunction.hpp
SpaceGameEngine/SpaceGameEngine
cc7bbadbc3ed9577d1d6c9b4470d2c4926ed5ef8
[ "Apache-2.0" ]
3
2019-11-25T04:08:44.000Z
2020-08-13T09:53:43.000Z
Test/TestCommon/TestFunction.hpp
SpaceGameEngine/SpaceGameEngine
cc7bbadbc3ed9577d1d6c9b4470d2c4926ed5ef8
[ "Apache-2.0" ]
3
2019-07-11T09:20:43.000Z
2021-01-17T10:21:22.000Z
Test/TestCommon/TestFunction.hpp
SpaceGameEngine/SpaceGameEngine
cc7bbadbc3ed9577d1d6c9b4470d2c4926ed5ef8
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 creatorlxd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distrib...
29.017699
105
0.705398
SpaceGameEngine
e69e9d7b12708f9aaa96c03cfcc653303225302b
16,151
hpp
C++
include/codegen/include/GlobalNamespace/LevelSelectionNavigationController.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/LevelSelectionNavigationController.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/LevelSelectionNavigationController.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: HMUI.NavigationController #include "HMUI/NavigationCont...
68.147679
238
0.815925
Futuremappermydud
e69ff09b9fe3e439dfdf90160d2aa3aeeea5129e
3,967
hpp
C++
src/device_model/device.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
src/device_model/device.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
src/device_model/device.hpp
bburns/cppagent
c1891c631465ebc9b63a4b3c627727ca3da14ee8
[ "Apache-2.0" ]
null
null
null
// // Copyright Copyright 2009-2022, AMT – The Association For Manufacturing Technology (“AMT”) // 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 // // ...
34.798246
100
0.693471
bburns
e6a036880c3a3f663d89be8053627349388e1e82
2,439
cpp
C++
src/mesh/adjacent_table.cpp
ZJUCADGeoSim/hausdorff
df9fdf0294d7efd4ec694ec5135487344e509231
[ "MIT" ]
13
2021-09-06T07:19:28.000Z
2022-03-29T15:48:21.000Z
src/mesh/adjacent_table.cpp
ZJUCADGeoSim/hausdorff
df9fdf0294d7efd4ec694ec5135487344e509231
[ "MIT" ]
null
null
null
src/mesh/adjacent_table.cpp
ZJUCADGeoSim/hausdorff
df9fdf0294d7efd4ec694ec5135487344e509231
[ "MIT" ]
null
null
null
/* State Key Lab of CAD&CG Zhejiang Unv. Author: Yicun Zheng (3130104113@zju.edu.cn) Haoran Sun (hrsun@zju.edu.cn) Jin Huang (hj@cad.zju.edu.cn) Copyright (c) 2004-2021 <Jin Huang> All rights reserved. Licensed under the MIT License. */ #include "adjacent_table.hpp" using namesp...
34.352113
145
0.497745
ZJUCADGeoSim
e6a4978f3667fb150541ef0fd3dd77dbb74beba1
1,601
cpp
C++
src/main.cpp
Benjins/simple-vm
ef31ea36ad698a47da81642c97d718d3415bd133
[ "CC-BY-4.0" ]
null
null
null
src/main.cpp
Benjins/simple-vm
ef31ea36ad698a47da81642c97d718d3415bd133
[ "CC-BY-4.0" ]
null
null
null
src/main.cpp
Benjins/simple-vm
ef31ea36ad698a47da81642c97d718d3415bd133
[ "CC-BY-4.0" ]
null
null
null
#include "../header/VM.h" #include "../header/Instruction.h" #include "../header/Parser.h" #include "../header/AST.h" #include "../header/DLLFile.h" #include <assert.h> #include <iostream> //#include <dlfcn.h> using std::cout; using std::endl; int main(int argc, char** argv){ #if TESTING VM x; bool allPass = tr...
21.065789
61
0.63273
Benjins
e6a94ff699f2a4401b126ee510999617cc827c1e
5,894
cpp
C++
Source/Motor2D/Wall.cpp
BarcinoLechiguino/Project_F
9e40c771f5ce6b821e3d380edd5d92fb129cdf53
[ "MIT" ]
1
2020-04-28T16:09:51.000Z
2020-04-28T16:09:51.000Z
Source/Motor2D/Wall.cpp
Aitorlb7/Project_F
9e40c771f5ce6b821e3d380edd5d92fb129cdf53
[ "MIT" ]
3
2020-03-03T09:57:49.000Z
2020-04-25T16:02:36.000Z
Source/Motor2D/Wall.cpp
BarcinoLechiguino/Project-RTS
9e40c771f5ce6b821e3d380edd5d92fb129cdf53
[ "MIT" ]
1
2020-11-06T22:31:26.000Z
2020-11-06T22:31:26.000Z
#include "Application.h" #include "Render.h" #include "Textures.h" #include "Audio.h" #include "Map.h" #include "Pathfinding.h" #include "Player.h" #include "GuiManager.h" #include "GuiElement.h" #include "GuiHealthbar.h" #include "GuiCreationBar.h" #include "FowManager.h" #include "EntityManager.h" #include "Wall.h" ...
24.661088
192
0.725993
BarcinoLechiguino
e6aa28a55c657282a31df9acaf79c1edf228f159
3,171
cc
C++
charstream.cc
justinleona/capstone
4a525cad12fba07a43452776a0e289148f04a12d
[ "MIT" ]
1
2021-06-26T05:32:43.000Z
2021-06-26T05:32:43.000Z
charstream.cc
justinleona/capstone
4a525cad12fba07a43452776a0e289148f04a12d
[ "MIT" ]
2
2019-10-14T06:46:43.000Z
2019-10-18T04:34:20.000Z
charstream.cc
justinleona/capstone
4a525cad12fba07a43452776a0e289148f04a12d
[ "MIT" ]
null
null
null
#include "charstream.h" #include <iomanip> #include "notimplemented.h" using namespace std; charbuf::charbuf(char* s, size_t n, size_t offset) : offset(offset) { auto begin = s; auto c = s; auto end = s + n; // set begin, current, and end states for reading setg(begin, c, end); setp(begin, end); } strea...
27.815789
102
0.595396
justinleona
e6b2f4dcf87049372bc1672a82aeddf019ace903
4,286
cpp
C++
editor/gui/toolbar_dock.cpp
ChronicallySerious/Rootex
bf2a0997b6aa5be84dbfc0e7826c31ff693ca0f1
[ "MIT" ]
166
2019-06-19T19:51:45.000Z
2022-03-24T13:03:29.000Z
editor/gui/toolbar_dock.cpp
rahil627/Rootex
44f827d469bddc7167b34dedf80d7a8b984fdf20
[ "MIT" ]
312
2019-06-13T19:39:25.000Z
2022-03-02T18:37:22.000Z
editor/gui/toolbar_dock.cpp
rahil627/Rootex
44f827d469bddc7167b34dedf80d7a8b984fdf20
[ "MIT" ]
23
2019-10-04T11:02:21.000Z
2021-12-24T16:34:52.000Z
#include "toolbar_dock.h" #include "editor/editor_application.h" #include "framework/scene_loader.h" #include "framework/system.h" #include "editor/editor_system.h" #include "vendor/ImGUI/imgui.h" #include "vendor/ImGUI/imgui_stdlib.h" #include "vendor/ImGUI/imgui_impl_dx11.h" #include "vendor/ImGUI/imgui_impl_win32...
29.558621
135
0.667755
ChronicallySerious
e6b49ac73d171bdfd88cd61f75bf9d7d7d1d4ba7
5,188
cpp
C++
config_manager.cpp
KA8KPN/keyer-ng
93f07dca6249574e19ee3331bd3c7240ddd5d4a5
[ "Apache-2.0" ]
1
2022-02-22T05:46:49.000Z
2022-02-22T05:46:49.000Z
config_manager.cpp
KA8KPN/keyer-ng
93f07dca6249574e19ee3331bd3c7240ddd5d4a5
[ "Apache-2.0" ]
null
null
null
config_manager.cpp
KA8KPN/keyer-ng
93f07dca6249574e19ee3331bd3c7240ddd5d4a5
[ "Apache-2.0" ]
null
null
null
#include "config_manager.h" #include "paddles.h" #include "display.h" #include "keying.h" #include "memories.h" #include "wpm.h" #include <EEPROM.h> #include <ctype.h> config_manager system_config_manager; #define MAGIC 0x5a0d #define PADDLES_REVERSE_FLAG 0x01 #define SIDETONE_OFF_FLAG 0x02 #...
23.581818
142
0.689476
KA8KPN