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
c8d56e2344c0711f0d997e5cc63008a5c3aa3e21
4,509
cpp
C++
src/plugin/renderer/texture_manager.cpp
TeamWisp/WispForMaya
df0603a740bb38d7828ebc0954540cd3dc327b57
[ "Apache-2.0" ]
27
2019-05-13T11:39:18.000Z
2021-10-18T12:29:41.000Z
src/plugin/renderer/texture_manager.cpp
TeamWisp/WispForMaya
df0603a740bb38d7828ebc0954540cd3dc327b57
[ "Apache-2.0" ]
30
2019-05-07T09:44:37.000Z
2019-06-25T08:11:08.000Z
src/plugin/renderer/texture_manager.cpp
TeamWisp/Maya-Ray-Traced-Viewport-Plugin
df0603a740bb38d7828ebc0954540cd3dc327b57
[ "Apache-2.0" ]
2
2019-06-26T01:59:40.000Z
2020-05-09T07:15:07.000Z
// Copyright 2019 Breda University of Applied Sciences and Team Wisp (Viktor Zoutman, Emilio Laiso, Jens Hagen, Meine Zeinstra, Tahar Meijs, Koen Buitenhuis, Niels Brunekreef, Darius Bouma, Florian Schut) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compli...
33.154412
210
0.734309
TeamWisp
c8d5c6ff4f842ed89671e9d2ad85f1d01345c1e2
4,830
cpp
C++
EmpiricalPerformanceEvaluation/EmpiricalPerformanceEvaluation/EmpiricalPerformanceEvaluation.cpp
gabrieltavares0123/AlgorithmDesignAndAnalysis
8c19772f0e6805812e4be74f7276637112c9b444
[ "Apache-2.0" ]
null
null
null
EmpiricalPerformanceEvaluation/EmpiricalPerformanceEvaluation/EmpiricalPerformanceEvaluation.cpp
gabrieltavares0123/AlgorithmDesignAndAnalysis
8c19772f0e6805812e4be74f7276637112c9b444
[ "Apache-2.0" ]
null
null
null
EmpiricalPerformanceEvaluation/EmpiricalPerformanceEvaluation/EmpiricalPerformanceEvaluation.cpp
gabrieltavares0123/AlgorithmDesignAndAnalysis
8c19772f0e6805812e4be74f7276637112c9b444
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <chrono> #include <vector> #include "BubbleSort.h" #include "MergeSort.h" int recursiveSum(int num) { if (num <= 1) { return 1; } else { return recursiveSum(num - 1) + recursiveSum(num - 1); } } void performRecusriveSumMeasures(int startingSize, int...
33.082192
126
0.545756
gabrieltavares0123
c8d638bd2a6e8b15fdf51bf31cc6aef2c2afe0f9
1,118
cpp
C++
firmware/main/menus/gui_list_processor.cpp
cmdc0de/LEDSensorClock
80f57f0668024461ee9e9c6d72d9716c6f50c12f
[ "MIT" ]
null
null
null
firmware/main/menus/gui_list_processor.cpp
cmdc0de/LEDSensorClock
80f57f0668024461ee9e9c6d72d9716c6f50c12f
[ "MIT" ]
null
null
null
firmware/main/menus/gui_list_processor.cpp
cmdc0de/LEDSensorClock
80f57f0668024461ee9e9c6d72d9716c6f50c12f
[ "MIT" ]
null
null
null
/* * gui_list_processor.cpp * * Author: cmdc0de */ #include "gui_list_processor.h" #include <device/display/gui.h> #include "../app.h" #include <device/display/display_device.h> #include <esp_log.h> using namespace libesp; static const char *LOGTAG = "GUIListProcessor"; int32_t GUIListProcessor::process(lib...
25.409091
97
0.669052
cmdc0de
c8dd74727fa5d0e68b53b38cde8ec0ac2398e160
9,223
hpp
C++
OptFrame/Commands/CommandCreateRawCommand.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
2
2018-05-24T11:04:12.000Z
2020-03-03T13:37:07.000Z
OptFrame/Commands/CommandCreateRawCommand.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
null
null
null
OptFrame/Commands/CommandCreateRawCommand.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
1
2019-06-06T16:57:49.000Z
2019-06-06T16:57:49.000Z
// OptFrame - Optimization Framework // Copyright (C) 2009-2015 // http://optframe.sourceforge.net/ // // This file is part of the OptFrame optimization framework. This framework // is free software; you can redistribute it and/or modify it under the // terms of the GNU Lesser General Public License v3 as published by...
25.690808
247
0.629405
216k155
c8dfcf50e61c503fd721dcc548a7ff1bac736b93
18,246
cc
C++
src/wasm/wasm-opcodes.cc
Drieger/v8
93283bf04ae3fd96592b4090e90ac75130aa9d52
[ "BSD-3-Clause" ]
1
2021-03-14T09:55:02.000Z
2021-03-14T09:55:02.000Z
src/wasm/wasm-opcodes.cc
nirikshan/v8
0152536def3ca437b1b3a79023b6923b0d8880b2
[ "BSD-3-Clause" ]
null
null
null
src/wasm/wasm-opcodes.cc
nirikshan/v8
0152536def3ca437b1b3a79023b6923b0d8880b2
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/wasm/wasm-opcodes.h" #include <array> #include "src/base/template-utils.h" #include "src/messages.h" #include "src/runtime/runtime.h" #i...
34.361582
80
0.698564
Drieger
c8e0a337e57fc1c93bdd820d004b6ffe222ccbd6
778
cpp
C++
synthts_et/lib/etana/open_d1.cpp
martnoumees/synthts_et
8845b33514edef3e54ae0b45404615704c418142
[ "Unlicense" ]
19
2015-10-27T22:21:49.000Z
2022-02-07T11:54:35.000Z
synthts_vr/lib/etana/open_d1.cpp
ikiissel/synthts_vr
33f2686dc9606aa95697ac0cf7e9031668bc34e8
[ "Unlicense" ]
8
2015-10-28T08:38:08.000Z
2021-03-25T21:26:59.000Z
synthts_vr/lib/etana/open_d1.cpp
ikiissel/synthts_vr
33f2686dc9606aa95697ac0cf7e9031668bc34e8
[ "Unlicense" ]
11
2016-01-03T11:47:08.000Z
2021-03-17T18:59:54.000Z
// (C) AS Filosoft 1994-1996 // 2002.03.19 klass �mberv��natud #include "cxxbs3.h" #include "viga.h" void DCTRD::open_d1( //==0:ok; ==-1:jama,vtErrNo() const CFSFileName *dct_file) { // avab s�nastikufaili ja // loeb sisse s6nastiku-infobloki ReadFileInfo(dct_file); //TODO::kunagi tee �mber ...
29.923077
91
0.62982
martnoumees
c8e0cf27fceb76840055ffd61cf1503de739b4bc
507
hpp
C++
source/compiler0/lex_synt_lib/program_string.hpp
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
45
2016-06-21T22:28:43.000Z
2022-03-26T12:21:46.000Z
source/compiler0/lex_synt_lib/program_string.hpp
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
6
2020-07-12T18:00:10.000Z
2021-11-30T11:20:14.000Z
source/compiler0/lex_synt_lib/program_string.hpp
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
5
2019-09-03T17:20:34.000Z
2022-01-30T15:10:21.000Z
#pragma once #include <string> #include <vector> #include <unordered_map> #include <unordered_set> namespace U { using sprache_char = uint32_t; sprache_char ReadNextUTF8Char( const char*& start, const char* end ); sprache_char GetUTF8FirstChar( const char* start, const char* end ); void PushCharToUTF8String( sprache...
24.142857
69
0.759369
Panzerschrek
c8e47b65b6cec2c822476aed552fd0098820d998
2,319
cpp
C++
Source/VoxelEditor/Private/AssetTools/AssetTypeActions_VoxelDataAsset.cpp
SolarStormInteractive/VoxelPlugin
b0b8a1838262227fa586fbcb1b46a6184cdf1e8c
[ "MIT" ]
null
null
null
Source/VoxelEditor/Private/AssetTools/AssetTypeActions_VoxelDataAsset.cpp
SolarStormInteractive/VoxelPlugin
b0b8a1838262227fa586fbcb1b46a6184cdf1e8c
[ "MIT" ]
null
null
null
Source/VoxelEditor/Private/AssetTools/AssetTypeActions_VoxelDataAsset.cpp
SolarStormInteractive/VoxelPlugin
b0b8a1838262227fa586fbcb1b46a6184cdf1e8c
[ "MIT" ]
null
null
null
// Copyright 2020 Phyronnaz #include "AssetTypeActions_VoxelDataAsset.h" #include "VoxelEditorModule.h" #include "VoxelMessages.h" #include "Framework/MultiBox/MultiBoxBuilder.h" #include "Framework/Commands/UIAction.h" #include "EditorStyleSet.h" #include "EditorReimportHandler.h" void FAssetTypeActions_Vo...
37.403226
145
0.762398
SolarStormInteractive
c8e83210bebda0f38ffc73ff0da4d2cda06d6593
696
cpp
C++
CodeForces/747/DisplaySize.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
CodeForces/747/DisplaySize.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
CodeForces/747/DisplaySize.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> typedef long long ll; const int mod = 1e9 + 7; const int MAX = 1e5 + 7; using namespace std; typedef vector<int> vi; class DisplaySize { public: void solve() { int n; cin >> n; int len = sqrt(n); int diff = INT_MAX, lf, rf; for (int i = 1; i <= len; i++) { if (n % i == 0) { i...
18.810811
65
0.554598
seeva92
c8e8e0069c7c3351e345be4d78e022d225456521
3,106
cpp
C++
launcher/ui/pages/modplatform/ImportPage.cpp
Starmania/Launcher
edc351c0d0068ee87a240719a27986faefc14c10
[ "Apache-2.0" ]
631
2021-10-21T02:19:08.000Z
2022-03-31T11:38:03.000Z
launcher/ui/pages/modplatform/ImportPage.cpp
Starmania/Launcher
edc351c0d0068ee87a240719a27986faefc14c10
[ "Apache-2.0" ]
466
2021-10-21T00:20:23.000Z
2022-03-31T17:54:42.000Z
launcher/ui/pages/modplatform/ImportPage.cpp
Starmania/Launcher
edc351c0d0068ee87a240719a27986faefc14c10
[ "Apache-2.0" ]
274
2021-10-30T07:53:30.000Z
2022-03-30T16:01:44.000Z
#include "ImportPage.h" #include "ui_ImportPage.h" #include <QFileDialog> #include <QValidator> #include "ui/dialogs/NewInstanceDialog.h" #include "InstanceImportTask.h" class UrlValidator : public QValidator { public: using QValidator::QValidator; State validate(QString &in, int &pos) const { ...
23.179104
119
0.561816
Starmania
c8ec2a2a693204fb45ffdea854015593a465827c
31,542
cpp
C++
RMTT_Libs/RMTT_TOF.cpp
yunswj/dji-tt-drone
e820baed7675987ea14bdbeae04812baad1014d8
[ "MIT" ]
null
null
null
RMTT_Libs/RMTT_TOF.cpp
yunswj/dji-tt-drone
e820baed7675987ea14bdbeae04812baad1014d8
[ "MIT" ]
null
null
null
RMTT_Libs/RMTT_TOF.cpp
yunswj/dji-tt-drone
e820baed7675987ea14bdbeae04812baad1014d8
[ "MIT" ]
null
null
null
// Most of the functionality of this library is based on the VL53L0X API // provided by ST (STSW-IMG005), and some of the explanatory comments are quoted // or paraphrased from the API source code, API user manual (UM2039), and the // VL53L0X datasheet. // This file is copied from github // https://github.com/po...
30.011418
109
0.68794
yunswj
c8ec2d47133545078b13962336fe880dfb769fa1
44,286
cpp
C++
src/video_capture/bluefish444.cpp
thpryrchn/UltraGrid
f9fdd96ff73e05888d26c40aaaccdf4eb5fe7289
[ "BSD-3-Clause" ]
370
2016-10-05T15:19:00.000Z
2022-03-29T22:12:28.000Z
src/video_capture/bluefish444.cpp
thpryrchn/UltraGrid
f9fdd96ff73e05888d26c40aaaccdf4eb5fe7289
[ "BSD-3-Clause" ]
165
2016-11-21T13:01:36.000Z
2022-03-31T20:01:20.000Z
src/video_capture/bluefish444.cpp
thpryrchn/UltraGrid
f9fdd96ff73e05888d26c40aaaccdf4eb5fe7289
[ "BSD-3-Clause" ]
63
2016-10-13T12:07:45.000Z
2022-03-23T19:46:10.000Z
/** * @file video_capture/bluefish444.cpp * @author Martin Pulec <pulec@cesnet.cz> */ /* * Copyright (c) 2015-2020 CESNET, z. s. p. o. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted provided that the following conditions * are me...
39.861386
168
0.497539
thpryrchn
c8ec719720bc895b675a79f83f3b2f9aef70ef61
142
cpp
C++
docs/cppcx/codesnippet/CPP/cx_properties/class1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/cppcx/codesnippet/CPP/cx_properties/class1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/cppcx/codesnippet/CPP/cx_properties/class1.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
// Class1.cpp #include "pch.h" #include "Class1.h" using namespace cx_properties; using namespace Platform; Class1::Class1() { }
12.909091
31
0.669014
bobbrow
c8f250cdfac248346515584e2c46c9e73360ae15
1,351
cpp
C++
Codeforces/1000~1999/1000/F 2.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
6
2018-12-30T06:16:54.000Z
2022-03-23T08:03:33.000Z
Codeforces/1000~1999/1000/F 2.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
Codeforces/1000~1999/1000/F 2.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdio> #include <cstring> #define L ch][0 #define R ch][1 #define mid (l + r) / 2 const int N = 5e5 + 55, M = N * 50, INF = 1e9; struct tag { int mn, mi; bool operator<(const tag& r) const { return mn < r.mn; } } t[M]; int ch[M][2], nc; void up(int x) { x[t] = std::min(x[L][t], x[R][t...
28.744681
75
0.470022
tiger0132
c8f3efddfa8003876b311ce6f4166c75eb509564
10,848
cpp
C++
Source/dataSetHandler.cpp
ntclark/Graphic
86acc119d172bb53c1666432538836b461d8a3f2
[ "BSD-3-Clause" ]
12
2018-03-15T00:20:55.000Z
2021-08-11T10:02:15.000Z
Source/dataSetHandler.cpp
ntclark/Graphic
86acc119d172bb53c1666432538836b461d8a3f2
[ "BSD-3-Clause" ]
null
null
null
Source/dataSetHandler.cpp
ntclark/Graphic
86acc119d172bb53c1666432538836b461d8a3f2
[ "BSD-3-Clause" ]
2
2019-04-09T17:15:31.000Z
2020-12-05T19:52:59.000Z
// Copyright 2018 InnoVisioNate Inc. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "Graphic.h" #include <list> #include "Graphic_resource.h" #include "GMessage.h" #include "utils.h" #include "List.cpp" LRESULT CALLBACK G::da...
37.278351
147
0.61993
ntclark
c8f8b8a7a52ebc8dfb7f574775d103efbf660b93
30,325
cpp
C++
lib/Backends/NNPI/NNPICompiledFunction.cpp
opti-mix/glow
4ba074df5da9822986a23a6679ab592c22660f6d
[ "Apache-2.0" ]
null
null
null
lib/Backends/NNPI/NNPICompiledFunction.cpp
opti-mix/glow
4ba074df5da9822986a23a6679ab592c22660f6d
[ "Apache-2.0" ]
1
2021-04-17T11:04:55.000Z
2021-05-17T16:50:01.000Z
lib/Backends/NNPI/NNPICompiledFunction.cpp
opti-mix/glow
4ba074df5da9822986a23a6679ab592c22660f6d
[ "Apache-2.0" ]
2
2021-07-29T08:12:35.000Z
2021-09-15T03:46:18.000Z
/* * Copyright (c) Glow Contributors. See CONTRIBUTORS file. * 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 ap...
37.953692
80
0.637296
opti-mix
c8f9e20b5a3b9117992ca516562e050750954802
11,299
cpp
C++
exportNF/release/windows/obj/src/openfl/events/_EventDispatcher/DispatchIterator.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
exportNF/release/windows/obj/src/openfl/events/_EventDispatcher/DispatchIterator.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
exportNF/release/windows/obj/src/openfl/events/_EventDispatcher/DispatchIterator.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
// Generated by Haxe 4.2.1+bf9ff69 #include <hxcpp.h> #ifndef INCLUDED_openfl_events__EventDispatcher_DispatchIterator #include <openfl/events/_EventDispatcher/DispatchIterator.h> #endif #ifndef INCLUDED_openfl_events__EventDispatcher_Listener #include <openfl/events/_EventDispatcher/Listener.h> #endif HX_DEFINE_STAC...
41.237226
237
0.730773
theblobscp
c8ffad8244c94011e9d62536cf5eccf632fce50f
1,134
cpp
C++
CodeForces/codeforces304A.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
CodeForces/codeforces304A.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
CodeForces/codeforces304A.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
#include <iostream> //#include <iomanip> //#include <fstream> //#include <algorithm> #include <string> #include <cstring> #include <cstdio> //#include <cstdlib> using namespace std; #define DBG 1 #define ShowLine DBG && cout<<__LINE__<<">>| " #define dout DBG && cout<<__LINE__<<">>| " #define write(x) #x" = "<<(x)<<",...
19.220339
53
0.561728
bilibiliShen
740cf1c59200100cd8c36def061ca9d11ae68e48
2,218
cpp
C++
measure-generalization-with-testing-data/src/bin/main.cpp
ahewer/mri-shape-tools
4268499948f1330b983ffcdb43df62e38ca45079
[ "MIT" ]
null
null
null
measure-generalization-with-testing-data/src/bin/main.cpp
ahewer/mri-shape-tools
4268499948f1330b983ffcdb43df62e38ca45079
[ "MIT" ]
2
2017-05-29T09:43:01.000Z
2017-05-29T09:50:05.000Z
measure-generalization-with-testing-data/src/bin/main.cpp
ahewer/mri-shape-tools
4268499948f1330b983ffcdb43df62e38ca45079
[ "MIT" ]
4
2017-05-17T11:56:02.000Z
2022-03-05T09:12:24.000Z
#include <yaml-cpp/yaml.h> #include "json/json.h" #include "ErrorDatabaseWriter.h" #include "training/SampleFileReader.h" #include "SpeakerGeneralizationMeasurer.h" #include "PhonemeGeneralizationMeasurer.h" #include "settings.h" int main(int argc, char* argv[]){ Settings settings(argc, argv); SampleDataBase t...
32.144928
87
0.778629
ahewer
740e8eb5b7e00fce76e8a5115657e5587b3aa717
468
cc
C++
struct/fenwick.cc
gnosis23/algorithms
99fd4509b82876c09fb958888c9a454845ba2c32
[ "MIT" ]
1
2020-09-07T15:41:12.000Z
2020-09-07T15:41:12.000Z
struct/fenwick.cc
gnosis23/algorithms
99fd4509b82876c09fb958888c9a454845ba2c32
[ "MIT" ]
null
null
null
struct/fenwick.cc
gnosis23/algorithms
99fd4509b82876c09fb958888c9a454845ba2c32
[ "MIT" ]
null
null
null
#include <vector> using std::vector; class FenWick { public: FenWick(int n): a(vector<int>(n+1,0)) {} // from index 1...x int sum(int x) { int sum = 0; while (x > 0) sum += a[x], x -= lsb(x); return sum; } void add(int x, int k) { int size = a.size() - 1;...
20.347826
46
0.448718
gnosis23
740f2822c939260296f4fa407aa7c0eb26569e94
5,417
cpp
C++
Lab8/main.cpp
jinhyo/POCU
a49fa77f30611e9fa8c1c10047e5ecedaa92fd0b
[ "MIT" ]
null
null
null
Lab8/main.cpp
jinhyo/POCU
a49fa77f30611e9fa8c1c10047e5ecedaa92fd0b
[ "MIT" ]
null
null
null
Lab8/main.cpp
jinhyo/POCU
a49fa77f30611e9fa8c1c10047e5ecedaa92fd0b
[ "MIT" ]
null
null
null
#include <cassert> #include <iostream> #include "FixedVector.h" #include "FixedBoolVector.h" using namespace lab8; using namespace std; int main() { int integerArray1[] = { 23, 25, 10, -4, 70 }; enum { INTEGER_VECTOR1_SIZE = 4 }; FixedVector<int, 4> integerVector1; assert(integerVector1.GetCapacity() == INTEGE...
38.692857
103
0.678974
jinhyo
7410ed10687b2dacc861d7d21609baa1cc568e26
8,174
cpp
C++
examples/34_9DoF/components/libraries/Adafruit_FXAS21002C/Adafruit_FXAS21002C.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
335
2016-10-12T06:59:33.000Z
2022-03-29T14:26:04.000Z
examples/34_9DoF/components/libraries/Adafruit_FXAS21002C/Adafruit_FXAS21002C.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
30
2016-10-30T11:23:59.000Z
2021-11-12T10:51:20.000Z
examples/34_9DoF/components/libraries/Adafruit_FXAS21002C/Adafruit_FXAS21002C.cpp
graealex/qemu_esp32
d4d334d1cc53e6e517ac740c0d51e7e4b7afbd3e
[ "Apache-2.0" ]
48
2016-10-30T08:41:13.000Z
2022-02-15T22:15:09.000Z
/*************************************************** This is a library for the FXAS21002C GYROSCOPE Designed specifically to work with the Adafruit FXAS21002C Breakout ----> https://www.adafruit.com/products/ These sensors use I2C to communicate, 2 pins (I2C) are required to interface. Adafruit invests t...
31.198473
77
0.501346
graealex
74119845afb2f4e1c1a68899ea0c75a58c27ce30
1,564
cpp
C++
Plugins/org.mitk.gui.qt.xnat/src/internal/org_mitk_gui_qt_xnatinterface_Activator.cpp
lsanzdiaz/MITK-BiiG
470f04e7585a60672f449716a1c595a5ba3fcd24
[ "BSD-3-Clause" ]
1
2017-03-05T05:29:32.000Z
2017-03-05T05:29:32.000Z
Plugins/org.mitk.gui.qt.xnat/src/internal/org_mitk_gui_qt_xnatinterface_Activator.cpp
lsanzdiaz/MITK-BiiG
470f04e7585a60672f449716a1c595a5ba3fcd24
[ "BSD-3-Clause" ]
null
null
null
Plugins/org.mitk.gui.qt.xnat/src/internal/org_mitk_gui_qt_xnatinterface_Activator.cpp
lsanzdiaz/MITK-BiiG
470f04e7585a60672f449716a1c595a5ba3fcd24
[ "BSD-3-Clause" ]
2
2020-10-27T06:51:00.000Z
2020-10-27T06:51:01.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
27.438596
95
0.764066
lsanzdiaz
741443f9bc072b6ff335404a0520a2cd241754c6
1,413
cpp
C++
test/helper/usage.cpp
anindyasen/stumpless
e6a39d8631baad828f0784edf3be52648cac1144
[ "Apache-2.0" ]
28
2019-03-20T22:33:11.000Z
2022-03-19T16:59:21.000Z
test/helper/usage.cpp
anindyasen/stumpless
e6a39d8631baad828f0784edf3be52648cac1144
[ "Apache-2.0" ]
204
2017-10-08T22:26:31.000Z
2022-03-26T16:16:51.000Z
test/helper/usage.cpp
anindyasen/stumpless
e6a39d8631baad828f0784edf3be52648cac1144
[ "Apache-2.0" ]
30
2020-01-17T17:48:49.000Z
2022-03-13T06:18:20.000Z
// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2020 Joel E. Anderson * * 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 * * Un...
28.836735
75
0.664544
anindyasen
7417107f3ef436598ee7a7f2ff3acc1437793259
3,130
cpp
C++
libraries/plugins/peerplays_sidechain/hive/asset.cpp
vampik33/peerplays
9fd18b32c413ad978f38f95a09b7eff7235a9c1b
[ "MIT" ]
null
null
null
libraries/plugins/peerplays_sidechain/hive/asset.cpp
vampik33/peerplays
9fd18b32c413ad978f38f95a09b7eff7235a9c1b
[ "MIT" ]
null
null
null
libraries/plugins/peerplays_sidechain/hive/asset.cpp
vampik33/peerplays
9fd18b32c413ad978f38f95a09b7eff7235a9c1b
[ "MIT" ]
null
null
null
#include <graphene/peerplays_sidechain/hive/asset.hpp> #include <fc/io/json.hpp> #include <boost/multiprecision/cpp_int.hpp> #include <boost/rational.hpp> #define ASSET_AMOUNT_KEY "amount" #define ASSET_PRECISION_KEY "precision" #define ASSET_NAI_KEY "nai" namespace graphene { namespace peerplays_sidechain { namesp...
44.714286
188
0.712141
vampik33
741bbf3fbe86031204713dedb13f9af77353e9b3
3,302
cc
C++
src/03_find_in_partially_sorted_matrix/find_in_partially_sorted_matrix.cc
Johnson9009/CodingInterviewChinese1
0c3e566992ccf2b61e18d7bf576d113c5a249044
[ "BSD-3-Clause" ]
1
2018-08-11T15:00:08.000Z
2018-08-11T15:00:08.000Z
src/03_find_in_partially_sorted_matrix/find_in_partially_sorted_matrix.cc
Johnson9009/CodingInterviewChinese1
0c3e566992ccf2b61e18d7bf576d113c5a249044
[ "BSD-3-Clause" ]
2
2018-06-28T05:50:48.000Z
2018-07-02T06:48:43.000Z
src/03_find_in_partially_sorted_matrix/find_in_partially_sorted_matrix.cc
Johnson9009/CodingInterviewChinese1
0c3e566992ccf2b61e18d7bf576d113c5a249044
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************* Copyright(c) 2016, Harry He All rights reserved. Distributed under the BSD license. (See accompanying file LICENSE.txt at https://github.com/zhedahht/CodingInterviewChinese2/blob/master/LICENSE.txt) ***************************************************...
24.827068
96
0.474864
Johnson9009
741c8a71ccbdcd2406232bbb5099632626383490
1,901
cpp
C++
tests/sieve_of_eratosthenes_tester.cpp
pawel-kieliszczyk/algorithms
0703ec99ce9fb215709b56fb0eefbdd576c71ed2
[ "MIT" ]
null
null
null
tests/sieve_of_eratosthenes_tester.cpp
pawel-kieliszczyk/algorithms
0703ec99ce9fb215709b56fb0eefbdd576c71ed2
[ "MIT" ]
null
null
null
tests/sieve_of_eratosthenes_tester.cpp
pawel-kieliszczyk/algorithms
0703ec99ce9fb215709b56fb0eefbdd576c71ed2
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "sieve_of_eratosthenes.hpp" namespace gt = testing; namespace pk { namespace testing { struct sieve_of_eratosthenes_tester : public gt::Test { static const int RANGE = 20; // tested class: sieve_of_eratosthenes<RANGE> sieve; // computes prime numbers in [0, RANGE-1]...
23.469136
81
0.688585
pawel-kieliszczyk
741cee2fb749f00d85efab928684485242576b05
2,108
cc
C++
Chapter06/item34.cc
yyhclimacool/Effective_cpp
5ee3fd5f5eb58103e9030eada0ff0d89cc3508cd
[ "Apache-2.0" ]
null
null
null
Chapter06/item34.cc
yyhclimacool/Effective_cpp
5ee3fd5f5eb58103e9030eada0ff0d89cc3508cd
[ "Apache-2.0" ]
null
null
null
Chapter06/item34.cc
yyhclimacool/Effective_cpp
5ee3fd5f5eb58103e9030eada0ff0d89cc3508cd
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> class Shape { public: // pure virtual, only defines interface virtual void draw() = 0; // impure virtual, the derived class can inherite interface and definition virtual void error(const std::string &msg); // non-virtual, invariant over specialization int objectId() co...
24.229885
132
0.619545
yyhclimacool
741dc8fdd8f4069d5f9186ac105bc6ba5cd0e6e4
53,574
cc
C++
src/base/task/sequence_manager/task_queue_impl.cc
lazymartin/naiveproxy
696e8714278e85e67e56a2eaea11f26c53116f0c
[ "BSD-3-Clause" ]
null
null
null
src/base/task/sequence_manager/task_queue_impl.cc
lazymartin/naiveproxy
696e8714278e85e67e56a2eaea11f26c53116f0c
[ "BSD-3-Clause" ]
null
null
null
src/base/task/sequence_manager/task_queue_impl.cc
lazymartin/naiveproxy
696e8714278e85e67e56a2eaea11f26c53116f0c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 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 "base/task/sequence_manager/task_queue_impl.h" #include <inttypes.h> #include <memory> #include <utility> #include "base/containers/stack_cont...
37.64863
80
0.725949
lazymartin
7421d2ecb8d7105bcd8b8fb82594943381482ba9
797
cpp
C++
qt5/stddialogs.cpp
kristjanbb/libui
e381e6b45fc421daeea6f1ed5c29a84aad13271b
[ "MIT" ]
3
2016-07-12T12:06:15.000Z
2021-05-24T22:06:45.000Z
qt5/stddialogs.cpp
kristjanbb/libui
e381e6b45fc421daeea6f1ed5c29a84aad13271b
[ "MIT" ]
null
null
null
qt5/stddialogs.cpp
kristjanbb/libui
e381e6b45fc421daeea6f1ed5c29a84aad13271b
[ "MIT" ]
null
null
null
#include "uipriv_qt5.hpp" #include <QFileDialog> #include <QMessageBox> char *uiOpenFile(uiWindow *parent) { return uiQt5StrdupQString(QFileDialog::getOpenFileName(uiValidateAndCastObjTo<QWidget>(parent))); } char *uiSaveFile(uiWindow *parent) { return uiQt5StrdupQString(QFileDialog::getSaveFileName(uiValidateAnd...
26.566667
98
0.764115
kristjanbb
74227916e802f4791ec0bfb0ebac71127874f274
2,481
cxx
C++
ITSMFT/COMMONITSMFT/COMMONITSMFTSim/AliITSMFTSimuClusterShaper.cxx
ktf/AliRoot
6575f726c8d2b1457e3bded9c9b1bf38e4a02c67
[ "BSD-3-Clause" ]
null
null
null
ITSMFT/COMMONITSMFT/COMMONITSMFTSim/AliITSMFTSimuClusterShaper.cxx
ktf/AliRoot
6575f726c8d2b1457e3bded9c9b1bf38e4a02c67
[ "BSD-3-Clause" ]
2
2016-11-25T08:40:56.000Z
2019-10-11T12:29:29.000Z
ITSMFT/COMMONITSMFT/COMMONITSMFTSim/AliITSMFTSimuClusterShaper.cxx
ktf/AliRoot
6575f726c8d2b1457e3bded9c9b1bf38e4a02c67
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** * Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
32.220779
76
0.636437
ktf
7423d162ae8e9ce204e13374d79d07208f48b74e
10,800
cpp
C++
test/core/test_read_excluded_volume_potential.cpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
null
null
null
test/core/test_read_excluded_volume_potential.cpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
2
2020-04-07T11:41:45.000Z
2020-04-08T10:01:38.000Z
test/core/test_read_excluded_volume_potential.cpp
yutakasi634/Mjolnir
ab7a29a47f994111e8b889311c44487463f02116
[ "MIT" ]
null
null
null
#define BOOST_TEST_MODULE "test_read_excluded_volume_potential" #ifdef BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #else #include <boost/test/included/unit_test.hpp> #endif #include <mjolnir/input/read_global_potential.hpp> #include <mjolnir/core/SimulatorTraits.hpp> #include <mjolnir/core/BoundaryConditi...
42.023346
90
0.608796
yutakasi634
7425adc43e6337f78516b23df688b82a4c6560b1
472
hpp
C++
Raylib/include/raylib-cpp-utils.hpp
MitchellRB/Pathfinding
65be4ab55489fb79c98fdbd86e88c2e2e70d7105
[ "MIT" ]
null
null
null
Raylib/include/raylib-cpp-utils.hpp
MitchellRB/Pathfinding
65be4ab55489fb79c98fdbd86e88c2e2e70d7105
[ "MIT" ]
null
null
null
Raylib/include/raylib-cpp-utils.hpp
MitchellRB/Pathfinding
65be4ab55489fb79c98fdbd86e88c2e2e70d7105
[ "MIT" ]
null
null
null
#ifndef RAYLIB_CPP_UTILS_HPP_ #define RAYLIB_CPP_UTILS_HPP_ #ifndef GETTERSETTER /** * A utility to build get and set methods on top of a property. * * @param type The type of the property. * @param method The human-readable name for the method. * @param name The machine-readable name of the property. */ #define...
26.222222
63
0.726695
MitchellRB
742614eb030c93178cfe606760012c2fac4d9859
5,290
hpp
C++
include/coma/map.hpp
vsamy/coma
8380d84f7ab5bd523f6fe1d7597466e1036a830f
[ "BSD-2-Clause" ]
4
2021-08-16T11:40:35.000Z
2021-11-04T16:48:32.000Z
include/coma/map.hpp
vsamy/coma
8380d84f7ab5bd523f6fe1d7597466e1036a830f
[ "BSD-2-Clause" ]
null
null
null
include/coma/map.hpp
vsamy/coma
8380d84f7ab5bd523f6fe1d7597466e1036a830f
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2020-2021 CNRS-UM LIRMM, CNRS-AIST JRL */ #pragma once namespace coma { // Exponential map: The exponential map converts any element of the tangent space exactly into a transformation in the group /*! \brief Exponential map from \f$\mathfrak{so}(3)\f$ to \f$SO(3)\f$. * * \tparam Scalar Type to u...
33.694268
124
0.667486
vsamy
74270b5b3b0ec263a6fdb039a2b0e35cb88eae55
2,107
cpp
C++
services/AllowNothingService.cpp
paolovolpi/pion
d33971164080b3b5a99264ddc3f90a2c208f1b5c
[ "BSL-1.0" ]
1
2015-04-16T02:11:43.000Z
2015-04-16T02:11:43.000Z
services/AllowNothingService.cpp
pmed/pion
020dfa000c7c2fd6589f3feda95b709c20a4df21
[ "BSL-1.0" ]
null
null
null
services/AllowNothingService.cpp
pmed/pion
020dfa000c7c2fd6589f3feda95b709c20a4df21
[ "BSL-1.0" ]
null
null
null
// --------------------------------------------------------------------- // pion: a Boost C++ framework for building lightweight HTTP interfaces // --------------------------------------------------------------------- // Copyright (C) 2007-2012 Cloudmeter, Inc. (http://www.cloudmeter.com) // // Distributed under the ...
37.625
110
0.667299
paolovolpi
74275c95a59393cb5f7adfd24c4bfb8ea09324ad
861
hpp
C++
Level_9/Level9Code/VI.5 Finite Difference Methods/ParabolicPDE.hpp
ZhehaoLi9705/QuantNet_CPP
a889f4656e757842f4163b0cda7e098cc6ad1193
[ "MIT" ]
null
null
null
Level_9/Level9Code/VI.5 Finite Difference Methods/ParabolicPDE.hpp
ZhehaoLi9705/QuantNet_CPP
a889f4656e757842f4163b0cda7e098cc6ad1193
[ "MIT" ]
null
null
null
Level_9/Level9Code/VI.5 Finite Difference Methods/ParabolicPDE.hpp
ZhehaoLi9705/QuantNet_CPP
a889f4656e757842f4163b0cda7e098cc6ad1193
[ "MIT" ]
null
null
null
// ParabolicPDE.hpp // // Namespace containing the function pointers and data // that represent the defining parameters of the initial // boundary value problem for the 1 factor Black Scholes // PDE. // // 2005-1-5 DD Kick-off code // // (C) Datasim Education BV 2005 // #ifndef ParabolicIBVP_HPP #define ParabolicIBV...
24.6
63
0.700348
ZhehaoLi9705
74275d80518e88cca917b34eb84ffc5cfa6302d8
1,138
hpp
C++
include/boost/simd/constant/ten.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/constant/ten.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/constant/ten.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2012-2015 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //======================...
25.863636
100
0.593146
yaeldarmon
7427d5542fbb9cd1a07183db785757e78bfeb6f7
3,873
cpp
C++
libraries/ArduinoJson/test/JsonObject/set.cpp
tarontop/IRmqtt
5b3c0a4e442aeae46b62f6d8e0013d19c76e00d8
[ "MIT" ]
null
null
null
libraries/ArduinoJson/test/JsonObject/set.cpp
tarontop/IRmqtt
5b3c0a4e442aeae46b62f6d8e0013d19c76e00d8
[ "MIT" ]
1
2020-01-09T07:07:44.000Z
2020-01-09T07:07:44.000Z
libraries/ArduinoJson/test/JsonObject/set.cpp
tarontop/IRmqtt
5b3c0a4e442aeae46b62f6d8e0013d19c76e00d8
[ "MIT" ]
null
null
null
// ArduinoJson - arduinojson.org // Copyright Benoit Blanchon 2014-2018 // MIT License #include <ArduinoJson.h> #include <catch.hpp> #include <string> TEST_CASE("JsonObject::set()") { DynamicJsonDocument doc; JsonObject obj = doc.to<JsonObject>(); SECTION("int") { obj.set("hello", 123); REQUIRE(123 ==...
27.083916
75
0.629744
tarontop
7428a4ebdbe38e66a1a2556f30253b650b6d14b3
10,834
ipp
C++
Userland/Services/WindowServer/ScreenLayout.ipp
olegv11/serenity
a205633643a828557c34e19d234a8c996c1f4ee3
[ "BSD-2-Clause" ]
3
2021-02-02T15:22:21.000Z
2022-02-08T20:30:49.000Z
Userland/Services/WindowServer/ScreenLayout.ipp
olegv11/serenity
a205633643a828557c34e19d234a8c996c1f4ee3
[ "BSD-2-Clause" ]
null
null
null
Userland/Services/WindowServer/ScreenLayout.ipp
olegv11/serenity
a205633643a828557c34e19d234a8c996c1f4ee3
[ "BSD-2-Clause" ]
1
2021-06-05T16:58:05.000Z
2021-06-05T16:58:05.000Z
/* * Copyright (c) 2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include <Kernel/API/FB.h> #include <Services/WindowServer/ScreenLayout.h> #include <errno.h> #include <fcntl.h> // Must be included after LibIPC/Forward.h #include <LibIPC/Decoder.h> #include <LibIPC/Encoder.h> name...
35.061489
198
0.596548
olegv11
742a7bf8ed44f25f6192d801bf76bce80af012e7
2,681
hpp
C++
include/algebra/pow.hpp
naskya/cp-library-cpp
e045f244060af4588a4a62cb150f07940002c448
[ "CC0-1.0" ]
null
null
null
include/algebra/pow.hpp
naskya/cp-library-cpp
e045f244060af4588a4a62cb150f07940002c448
[ "CC0-1.0" ]
null
null
null
include/algebra/pow.hpp
naskya/cp-library-cpp
e045f244060af4588a4a62cb150f07940002c448
[ "CC0-1.0" ]
null
null
null
//! @file pow.hpp #ifndef CP_LIBRARY_POW_HPP #define CP_LIBRARY_POW_HPP #include <cassert> #include <type_traits> #ifndef CP_LIBRARY_ASSERT //! @brief Assert macro # define CP_LIBRARY_ASSERT(...) assert(__VA_ARGS__) # define CP_LIBRARY_ASSERT_NOT_DEFINED #endif namespace lib { //! @tparam ValueType base type (d...
30.816092
83
0.687803
naskya
742f76489b7c27d07bb130235a7625b7fbc2a0df
775
cc
C++
cpp/highkyck/misk/thread_pool_test.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
3
2021-03-03T13:18:23.000Z
2022-02-09T07:49:24.000Z
cpp/highkyck/misk/thread_pool_test.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
null
null
null
cpp/highkyck/misk/thread_pool_test.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
1
2021-03-29T15:21:42.000Z
2021-03-29T15:21:42.000Z
#include "includes/thread_pool.h" #include <gtest/gtest.h> #include <chrono> #include <future> #include <utility> #include <vector> TEST(thread_pool, thread_pool) { ThreadPool pool(4); std::vector<std::future<std::pair<int, int>>> results; auto start = std::chrono::system_clock::now(); for (int i = 0; i < ...
23.484848
72
0.649032
liubang
742fa2562429a2b57bb34001999394b7e4a42f08
5,595
cpp
C++
Engine/src/Server/PlayerPool.cpp
razzorflame/advancedgdk
06445f8c7fd6c045bc252276b97da491dc69f12e
[ "MIT" ]
3
2018-04-21T12:56:03.000Z
2018-05-15T18:12:23.000Z
Engine/src/Server/PlayerPool.cpp
PoetaKodu/advancedgdk
06445f8c7fd6c045bc252276b97da491dc69f12e
[ "MIT" ]
null
null
null
Engine/src/Server/PlayerPool.cpp
PoetaKodu/advancedgdk
06445f8c7fd6c045bc252276b97da491dc69f12e
[ "MIT" ]
3
2018-07-01T20:09:50.000Z
2019-03-17T03:23:40.000Z
#include SAMPCPP_PCH // Custom headers: #include <SAMPCpp/Server/PlayerPool.hpp> #include <SAMPCpp/Core/Text/ASCII.hpp> #include <SAMPCpp/Core/Pointers.hpp> namespace samp_cpp { ////////////////////////////////////////////////////////////////////////////// PlayerPool::PlayerPool() : maxPlayers( static_cast<std::si...
29.919786
116
0.610188
razzorflame
742fea793bb2d33bd8c36261e2f6aa29aeb2984c
2,603
cpp
C++
ext/asio/src/examples/cpp11/buffers/reference_counted.cpp
laxtools/lax
4b6ac5e042787f1c66e6f4771ec9aafe6b2df26b
[ "MIT" ]
2
2018-09-27T11:45:06.000Z
2019-06-28T10:41:59.000Z
ext/asio/src/examples/cpp11/buffers/reference_counted.cpp
laxtools/lax
4b6ac5e042787f1c66e6f4771ec9aafe6b2df26b
[ "MIT" ]
1
2017-08-28T07:39:31.000Z
2018-01-26T05:03:29.000Z
ext/asio/src/examples/cpp11/buffers/reference_counted.cpp
laxtools/lax
4b6ac5e042787f1c66e6f4771ec9aafe6b2df26b
[ "MIT" ]
1
2018-09-27T11:45:26.000Z
2018-09-27T11:45:26.000Z
// // reference_counted.cpp // ~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) // #include <asio....
20.991935
80
0.592778
laxtools
74338ef7f7028920040b3c953a514014d08d55f4
1,264
cpp
C++
LightOJ/LightOJ - 1093/Wrong Answer.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
LightOJ/LightOJ - 1093/Wrong Answer.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
LightOJ/LightOJ - 1093/Wrong Answer.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 2018-05-08 10:13:58 * solution_verdict: Wrong Answer language: C++ * run...
28.088889
111
0.356804
kzvd4729
2938d24089ec5fdcf04938a2194fabd2af51ab48
3,494
cpp
C++
part2/task3/Task 2.3.cpp
Matvey1703/Homework
4599a5a5a1bdaeb819eee13a6233c72ce544c179
[ "Apache-2.0" ]
1
2020-09-30T17:17:41.000Z
2020-09-30T17:17:41.000Z
part2/task3/Task 2.3.cpp
Matvey1703/Homework
4599a5a5a1bdaeb819eee13a6233c72ce544c179
[ "Apache-2.0" ]
null
null
null
part2/task3/Task 2.3.cpp
Matvey1703/Homework
4599a5a5a1bdaeb819eee13a6233c72ce544c179
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <stdlib.h> void swap(int* A, int* B) { int tmp = *A; *A = *B; *B = tmp; } int maxElement(int* array, int arraySize) { int max = array[0]; for (int i = 0; i < arraySize; i++) { if (array[i] > max) { max = array[i]; } } return max; } int minElement(int* array, int arrayS...
18.197917
123
0.606468
Matvey1703
293a994ccd6f8b425185981ddad841e5737701c2
188
cc
C++
src/itensor/mps/lattice/square.h.cc
kyungminlee/PiTensor
f206fe5a384b52336e9f406c11dc492ff129791b
[ "MIT" ]
10
2019-01-25T03:21:49.000Z
2020-01-19T04:42:32.000Z
src/itensor/mps/lattice/square.h.cc
kyungminlee/PiTensor
f206fe5a384b52336e9f406c11dc492ff129791b
[ "MIT" ]
null
null
null
src/itensor/mps/lattice/square.h.cc
kyungminlee/PiTensor
f206fe5a384b52336e9f406c11dc492ff129791b
[ "MIT" ]
2
2018-04-10T05:11:30.000Z
2018-09-14T08:16:07.000Z
#include "../../../pitensor.h" #include "itensor/mps/lattice/square.h" namespace py = pybind11; using namespace itensor; void pitensor::mps::lattice::square(pybind11::module& module) { }
23.5
63
0.718085
kyungminlee
293b6c3c76109d829a841029744826d5860561da
3,613
cpp
C++
CG_AUEB_LAB_4/Lab4/Source/SceneGraph/GroupNode.cpp
kvarcg/opengl_course
9f6613a0e165f44630de553051eb8722387b7ac8
[ "MIT" ]
null
null
null
CG_AUEB_LAB_4/Lab4/Source/SceneGraph/GroupNode.cpp
kvarcg/opengl_course
9f6613a0e165f44630de553051eb8722387b7ac8
[ "MIT" ]
null
null
null
CG_AUEB_LAB_4/Lab4/Source/SceneGraph/GroupNode.cpp
kvarcg/opengl_course
9f6613a0e165f44630de553051eb8722387b7ac8
[ "MIT" ]
null
null
null
//----------------------------------------------------// // // // File: GroupNode.cpp // // This scene graph is a basic example for the // // object relational management of the scene // // This holds the group node which ...
27.580153
123
0.477443
kvarcg
293f8fb7d8d1a3633be501dc3c4a312b21c4573d
5,915
hpp
C++
Pods/GeoFeatures/GeoFeatures/boost/smart_ptr/detail/sp_interlocked.hpp
xarvey/Yuuuuuge
9f4ec32f81cf813ea630ba2c44eb03970c56dad3
[ "Apache-2.0" ]
24
2015-08-25T05:35:37.000Z
2020-10-24T14:21:59.000Z
Pods/GeoFeatures/GeoFeatures/boost/smart_ptr/detail/sp_interlocked.hpp
xarvey/Yuuuuuge
9f4ec32f81cf813ea630ba2c44eb03970c56dad3
[ "Apache-2.0" ]
97
2015-08-25T16:11:16.000Z
2019-03-17T00:54:32.000Z
Pods/GeoFeatures/GeoFeatures/boost/smart_ptr/detail/sp_interlocked.hpp
xarvey/Yuuuuuge
9f4ec32f81cf813ea630ba2c44eb03970c56dad3
[ "Apache-2.0" ]
9
2015-08-26T03:11:38.000Z
2018-03-21T07:16:29.000Z
#ifndef BOOST_SMART_PTR_DETAIL_SP_INTERLOCKED_HPP_INCLUDED #define BOOST_SMART_PTR_DETAIL_SP_INTERLOCKED_HPP_INCLUDED // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // // boost/detail/sp_interlocked.hpp // // Copyright 2005, 2014 Peter Dimov // // ...
38.660131
106
0.820287
xarvey
294158710797a72f99e47876d4a2918a73da978c
1,868
cpp
C++
test/unit/sink_to_file_test.cpp
GeniusVentures/soralog
53bc6eeba84ad35e018fe4e94f6a8cc74284aa44
[ "Apache-2.0" ]
2
2022-03-12T14:30:07.000Z
2022-03-12T21:16:20.000Z
test/unit/sink_to_file_test.cpp
GeniusVentures/soralog
53bc6eeba84ad35e018fe4e94f6a8cc74284aa44
[ "Apache-2.0" ]
6
2021-03-17T13:24:01.000Z
2022-03-09T12:52:27.000Z
test/unit/sink_to_file_test.cpp
GeniusVentures/soralog
53bc6eeba84ad35e018fe4e94f6a8cc74284aa44
[ "Apache-2.0" ]
4
2021-03-15T09:06:43.000Z
2022-03-12T14:04:42.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include <gtest/gtest.h> #include "soralog/impl/sink_to_file.hpp" using namespace soralog; using namespace testing; using namespace std::chrono_literals; class SinkToFileTest : public ::testing::Test { public: st...
26.685714
79
0.603319
GeniusVentures
2944f0606c9c73e4d63266bc638f7fc2ecaeda1e
456
cpp
C++
src/action.cpp
namelessvoid/nparticles
6a113d201b726c7f06eae1ffd965f8b2041a683d
[ "Zlib" ]
1
2016-05-31T11:29:18.000Z
2016-05-31T11:29:18.000Z
src/action.cpp
namelessvoid/nparticles
6a113d201b726c7f06eae1ffd965f8b2041a683d
[ "Zlib" ]
1
2016-09-03T13:18:53.000Z
2016-09-03T13:18:53.000Z
src/action.cpp
namelessvoid/nparticles
6a113d201b726c7f06eae1ffd965f8b2041a683d
[ "Zlib" ]
null
null
null
/* * Copyright (C) 2015 Simon Kerler * * This file is part of the "Nameless Particle Engine". * For conditions of distribution and use, see the copyright notice you should * have recievied with this software. I not, see: * http://opensource.org/licenses/Zlib */ #include "action.hpp" namespace nparticles { Act...
18.24
78
0.721491
namelessvoid
29463d3e01de33ade70c98ba8bc3e675fb583fd1
7,202
hpp
C++
libs/kitty/operators.hpp
wjyoumans/staq
d5227bd4651ce64ba277aab5061e3a132be853bb
[ "MIT" ]
96
2019-12-11T10:18:10.000Z
2022-03-27T20:16:33.000Z
libs/kitty/operators.hpp
wjyoumans/staq
d5227bd4651ce64ba277aab5061e3a132be853bb
[ "MIT" ]
43
2020-01-08T00:59:07.000Z
2022-03-28T21:35:59.000Z
libs/kitty/operators.hpp
wjyoumans/staq
d5227bd4651ce64ba277aab5061e3a132be853bb
[ "MIT" ]
21
2019-12-15T01:40:48.000Z
2021-12-31T05:27:34.000Z
/* kitty: C++ truth table library * Copyright (C) 2017-2019 EPFL * * 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...
32.441441
74
0.700222
wjyoumans
294a9ac56bbf51e0cb211cbcf8043497120327e8
5,284
cc
C++
verilog/analysis/checkers/module_filename_rule.cc
ColtonProvias/verible
ded8ad5e03d0eca2125d9ae3ba6c4f07919b4565
[ "Apache-2.0" ]
null
null
null
verilog/analysis/checkers/module_filename_rule.cc
ColtonProvias/verible
ded8ad5e03d0eca2125d9ae3ba6c4f07919b4565
[ "Apache-2.0" ]
null
null
null
verilog/analysis/checkers/module_filename_rule.cc
ColtonProvias/verible
ded8ad5e03d0eca2125d9ae3ba6c4f07919b4565
[ "Apache-2.0" ]
2
2021-11-06T07:35:11.000Z
2021-11-26T04:06:25.000Z
// Copyright 2017-2020 The Verible Authors. // // 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 o...
37.475177
80
0.702877
ColtonProvias
294d3cde0192f2cf25639ead23f36f933c18ab5c
2,695
cpp
C++
sp/src/game/client/c_te_showline.cpp
joshmartel/source-sdk-2013
524e87f708d6c30360613b1f65ee174deafa20f4
[ "Unlicense" ]
2,268
2015-01-01T19:31:56.000Z
2022-03-31T20:15:31.000Z
sp/src/game/client/c_te_showline.cpp
joshmartel/source-sdk-2013
524e87f708d6c30360613b1f65ee174deafa20f4
[ "Unlicense" ]
241
2015-01-01T15:26:14.000Z
2022-03-31T22:09:59.000Z
sp/src/game/client/c_te_showline.cpp
DimasDSF/SMI
76cc2df8d1f51eb06743d66169524c3493b6d407
[ "Unlicense" ]
2,174
2015-01-01T08:18:05.000Z
2022-03-31T10:43:59.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $Workfile: $ // $Date: $ // //----------------------------------------------------------------------------- // $Log: $ // // $NoKeywords: $ //===================================================================...
24.5
96
0.480148
joshmartel
294e5446c084de43bea582cefdae10281eeadf74
1,824
cpp
C++
src/connector.cpp
gridem/ReplobPrototype
8c1f7ac46c9c46e7f02b402b8bbc5febaa152c90
[ "Apache-2.0" ]
3
2016-01-11T11:42:02.000Z
2016-12-21T14:54:44.000Z
src/connector.cpp
gridem/ReplobPrototype
8c1f7ac46c9c46e7f02b402b8bbc5febaa152c90
[ "Apache-2.0" ]
null
null
null
src/connector.cpp
gridem/ReplobPrototype
8c1f7ac46c9c46e7f02b402b8bbc5febaa152c90
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015 Grigory Demchenko (aka gridem) * * 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...
21.975904
75
0.661732
gridem
294f86b26901611c00b1ef8c805a35305d974327
13,418
cpp
C++
graphics.cpp
ish-u/computer-graphics
64e88786d9bf3fac606655e92110a2c880242ef2
[ "MIT" ]
null
null
null
graphics.cpp
ish-u/computer-graphics
64e88786d9bf3fac606655e92110a2c880242ef2
[ "MIT" ]
null
null
null
graphics.cpp
ish-u/computer-graphics
64e88786d9bf3fac606655e92110a2c880242ef2
[ "MIT" ]
null
null
null
#include <graphics.h> #include <iostream> #include <cmath> using namespace std; const float PI = 4 * atanf(1); void breshn(int x1, int y1, int x2, int y2, int color) { if (x2 > x1) { int dx = x2 - x1; int dy = y2 - y1; // Decision Variable int d = 2 * dy - dx; // Increm...
24.575092
179
0.439112
ish-u
294f9c2469a1a779faf4a75f66782b088a29e7f9
2,370
cc
C++
literate/layers/09_no_$vars/014build.cc
akkartik/wart
789671d7f760039e7596c23b978692ef81def8a1
[ "Artistic-1.0-Perl" ]
76
2015-04-18T14:13:03.000Z
2021-11-29T17:13:09.000Z
literate/layers/20_no_comment_tokens/014build.cc
DougThompson1976/wart
789671d7f760039e7596c23b978692ef81def8a1
[ "Artistic-1.0-Perl" ]
3
2017-08-12T14:15:31.000Z
2018-04-23T21:33:49.000Z
literate/layers/20_no_comment_tokens/014build.cc
DougThompson1976/wart
789671d7f760039e7596c23b978692ef81def8a1
[ "Artistic-1.0-Perl" ]
14
2015-04-14T22:52:07.000Z
2021-11-29T17:13:23.000Z
//// construct parse tree out of cells cell* next_cell(istream& in) { return build_cell(next_ast_node(in)); } cell* build_cell(ast_node n) { new_trace_frame("cell"); if (n == "") return nil; // void if (is_nil(n)) { trace("cell") << "nil"; return nil; } if (is_list(n) && n.elems.front() == ")") ...
27.241379
119
0.529114
akkartik
295096925a277359c3d2fa2ed8bcdfea72c03e67
366
cpp
C++
COJ/Genetic.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
COJ/Genetic.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
COJ/Genetic.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<cstdio> #include<string> #include<cstring> #include<algorithm> #include<set> #include<cmath> using namespace std; int main(){ int n; string a, b; cin >> n; for(;n--;){ cin >> a >> b; if((a.find(b) != string::npos) && (a.find('T') != string::npos)){ printf("Y\n"); ...
15.913043
68
0.535519
MartinAparicioPons
29525de34c9bca83a4cd24f94d092a89026ee76c
1,192
cpp
C++
source/glesbinding/source/getProcAddress.cpp
cginternals/glesbinding-poc
d21292421982f807c9a217f777550fc596b40b4d
[ "MIT" ]
3
2019-08-20T00:00:12.000Z
2020-03-24T19:12:19.000Z
source/glesbinding/source/getProcAddress.cpp
cginternals/glesbinding
f42d5a14999097667c48df937f7cf831676e2ac7
[ "MIT" ]
null
null
null
source/glesbinding/source/getProcAddress.cpp
cginternals/glesbinding
f42d5a14999097667c48df937f7cf831676e2ac7
[ "MIT" ]
null
null
null
#include <glesbinding/getProcAddress.h> #include <cassert> #ifdef SYSTEM_WINDOWS #include <string> #include <tchar.h> #include <windows.h> #else #include <dlfcn.h> #endif namespace glesbinding { #ifdef SYSTEM_WINDOWS ProcAddress getProcAddress(const char * name) { static auto module = LoadLib...
20.551724
146
0.723993
cginternals
2952e03cc309600f0842687c3769ecb12db0b688
7,037
cc
C++
source/server/configuration_impl.cc
CS2552F-DOSA/envoy-redis-nonfrontend-proxy-no-profix-router
c82450557a7806bb631d1b219daba0fc6fe3eda0
[ "Apache-2.0" ]
40
2017-12-20T03:44:17.000Z
2022-01-28T02:25:24.000Z
source/server/configuration_impl.cc
CS2552F-DOSA/envoy-redis-nonfrontend-proxy-no-profix-router
c82450557a7806bb631d1b219daba0fc6fe3eda0
[ "Apache-2.0" ]
271
2018-06-20T00:18:31.000Z
2021-08-25T00:29:26.000Z
source/server/configuration_impl.cc
CS2552F-DOSA/envoy-redis-nonfrontend-proxy-no-profix-router
c82450557a7806bb631d1b219daba0fc6fe3eda0
[ "Apache-2.0" ]
66
2017-10-24T20:31:38.000Z
2022-03-28T13:20:36.000Z
#include "server/configuration_impl.h" #include <chrono> #include <list> #include <memory> #include <string> #include <vector> #include "envoy/config/bootstrap/v3/bootstrap.pb.h" #include "envoy/config/metrics/v3/stats.pb.h" #include "envoy/config/trace/v3/trace.pb.h" #include "envoy/network/connection.h" #include "e...
40.676301
99
0.734972
CS2552F-DOSA
29559f75d2052e475e4cdf921a8166ff55f6d2b3
2,092
cpp
C++
libs/semanticsearch/src/schema/vocabulary_instance.cpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
96
2018-08-23T16:49:05.000Z
2021-11-25T00:47:16.000Z
libs/semanticsearch/src/schema/vocabulary_instance.cpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
1,011
2018-08-17T12:25:21.000Z
2021-11-18T09:30:19.000Z
libs/semanticsearch/src/schema/vocabulary_instance.cpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
65
2018-08-20T20:05:40.000Z
2022-02-26T23:54:35.000Z
//------------------------------------------------------------------------------ // // Copyright 2018-2020 Fetch.AI 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 // // ...
30.318841
91
0.629063
chr15murray
295ba8098fa265b3616ad2ab3c8341a74f1a2a75
1,217
cpp
C++
icfg.cpp
RusJJ/AndroidModLoader
981978237f020d571dac752e44ab9d70358f8156
[ "MIT" ]
10
2021-08-16T04:22:53.000Z
2022-02-14T01:22:23.000Z
icfg.cpp
RusJJ/AndroidModLoader
981978237f020d571dac752e44ab9d70358f8156
[ "MIT" ]
null
null
null
icfg.cpp
RusJJ/AndroidModLoader
981978237f020d571dac752e44ab9d70358f8156
[ "MIT" ]
4
2021-08-20T00:03:16.000Z
2022-02-04T10:29:53.000Z
#ifndef DONT_USE_STB #include <mod/thirdparty/stb_sprintf.h> #define sprintf stbsp_sprintf #define snprintf stbsp_snprintf #endif #include <icfg_desc.h> #include <mod/thirdparty/inipp.h> #include <fstream> #include <mod/iaml.h> extern char g_szCfgPath[0xFF]; void* CFG::InitIniPointer() { return new i...
30.425
101
0.709942
RusJJ
295d366c36ad8702fe29c82b75a848c9ff36f3d4
1,004
cpp
C++
codeforces/global_10/clock.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codeforces/global_10/clock.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codeforces/global_10/clock.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
//#define _GLIBCXX_DEBUG #include <iostream> #include <cassert> #include <cstring> #include <vector> #include <algorithm> #include <climits> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int t; cin >> t; while(t--){ long long int n,k; cin >> n >>...
21.826087
52
0.437251
udayan14
295d4e88a27fc66b51cd07c9f5b96d34bfb4c3aa
19,988
cpp
C++
src/backbone_router/nd_proxy.cpp
abtink/ot-br-posix
35e9327b8e6c2dc2b9d0efbc3b64ea23d5db9894
[ "BSD-3-Clause" ]
1
2021-02-24T14:23:29.000Z
2021-02-24T14:23:29.000Z
src/backbone_router/nd_proxy.cpp
abtink/ot-br-posix
35e9327b8e6c2dc2b9d0efbc3b64ea23d5db9894
[ "BSD-3-Clause" ]
null
null
null
src/backbone_router/nd_proxy.cpp
abtink/ot-br-posix
35e9327b8e6c2dc2b9d0efbc3b64ea23d5db9894
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020, The OpenThread Authors. * 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 * n...
34.701389
120
0.644487
abtink
295d76256264fdad908e6e2bc646e4d49f433520
24,687
cpp
C++
m3/include/m3/thrift/m3_types.cpp
m3db/tally-cpp
02bf10c2ce68f7e9e7abd32adfe6b4f3e8563dd7
[ "Apache-2.0" ]
5
2018-06-21T03:35:06.000Z
2019-10-14T18:30:57.000Z
m3/include/m3/thrift/m3_types.cpp
m3db/tally-cpp
02bf10c2ce68f7e9e7abd32adfe6b4f3e8563dd7
[ "Apache-2.0" ]
2
2018-07-12T19:41:14.000Z
2019-07-02T13:55:23.000Z
m3/include/m3/thrift/m3_types.cpp
m3db/tally-cpp
02bf10c2ce68f7e9e7abd32adfe6b4f3e8563dd7
[ "Apache-2.0" ]
3
2018-11-12T17:37:33.000Z
2021-05-24T16:12:46.000Z
/** * Autogenerated by Thrift Compiler (0.11.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "m3/thrift/m3_types.h" #include <algorithm> #include <ostream> #include <thrift/TToString.h> namespace m3 { namespace thrift { CountValue::~CountValue() throw() { } ...
26.573735
121
0.6134
m3db
29607a61c3659ad031970f4269300468cc78a452
28
cpp
C++
source/RwRenderEngine/RenderMeshPool.cpp
gennariarmando/gtaRenderHook
2a357bc3a32923ba1693f56a178efbd109e015b5
[ "MIT" ]
null
null
null
source/RwRenderEngine/RenderMeshPool.cpp
gennariarmando/gtaRenderHook
2a357bc3a32923ba1693f56a178efbd109e015b5
[ "MIT" ]
null
null
null
source/RwRenderEngine/RenderMeshPool.cpp
gennariarmando/gtaRenderHook
2a357bc3a32923ba1693f56a178efbd109e015b5
[ "MIT" ]
null
null
null
#include "RenderMeshPool.h"
14
27
0.785714
gennariarmando
296226fcb43b8d9fbfd37d3840f08a6f4ea06ff7
885
hpp
C++
android-31/android/telephony/mbms/GroupCall.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/telephony/mbms/GroupCall.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/telephony/mbms/GroupCall.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::telephony::mbms { class GroupCall : public JObject { public: // Fields static jint REASON_BY_USER_REQUEST(); static jint REASON_FREQUENCY_CONFLICT(); static jint REASON_LEFT_MBMS_BROADCAST_AREA(); static jint REASON_NONE(); static jint REA...
26.029412
150
0.723164
YJBeetle
2965101bc638ccbf1591ab8f52e31f83252c7011
203,455
cpp
C++
IGC/Compiler/CustomSafeOptPass.cpp
mnaczk/intel-graphics-compilerMnaczk
397656f50518a11991eacb5c4b302feb55372261
[ "Intel", "MIT" ]
null
null
null
IGC/Compiler/CustomSafeOptPass.cpp
mnaczk/intel-graphics-compilerMnaczk
397656f50518a11991eacb5c4b302feb55372261
[ "Intel", "MIT" ]
null
null
null
IGC/Compiler/CustomSafeOptPass.cpp
mnaczk/intel-graphics-compilerMnaczk
397656f50518a11991eacb5c4b302feb55372261
[ "Intel", "MIT" ]
null
null
null
/*========================== begin_copyright_notice ============================ Copyright (C) 2017-2021 Intel Corporation SPDX-License-Identifier: MIT ============================= end_copyright_notice ===========================*/ /*========================== begin_copyright_notice ============================ T...
36.985094
464
0.552245
mnaczk
29693ec811879c5d7daf68706e2979ed43645a59
17,792
cpp
C++
src/utest/utestSectionFile.cpp
yrpark99/tsduck
2929092e42c5c7eec95a119af91cc09ffdde2028
[ "BSD-2-Clause" ]
null
null
null
src/utest/utestSectionFile.cpp
yrpark99/tsduck
2929092e42c5c7eec95a119af91cc09ffdde2028
[ "BSD-2-Clause" ]
null
null
null
src/utest/utestSectionFile.cpp
yrpark99/tsduck
2929092e42c5c7eec95a119af91cc09ffdde2028
[ "BSD-2-Clause" ]
null
null
null
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2018, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
38.427646
130
0.646976
yrpark99
296974e970a94306e91f3f2f6aa566438211cc11
692
cpp
C++
Problems/557. Reverse Words in a String III/reverse_cycle.cpp
uSlashVlad/MyLeetCode
3d5e8e347716beb0ffadb538c92eceb42ab7fcf9
[ "MIT" ]
1
2022-01-29T01:52:58.000Z
2022-01-29T01:52:58.000Z
Problems/557. Reverse Words in a String III/reverse_cycle.cpp
uSlashVlad/MyLeetCode
3d5e8e347716beb0ffadb538c92eceb42ab7fcf9
[ "MIT" ]
null
null
null
Problems/557. Reverse Words in a String III/reverse_cycle.cpp
uSlashVlad/MyLeetCode
3d5e8e347716beb0ffadb538c92eceb42ab7fcf9
[ "MIT" ]
null
null
null
#include "../includes.hpp" using namespace std; class Solution { public: string reverseWords(string s) { int i = 0; int j = 1; while (j < s.length()) { if (s[j] != ' ') { j++; } else { r...
17.3
58
0.354046
uSlashVlad
296cbb94276991613f423e08c0b954df4a62b3ad
752
cpp
C++
data_structure/stack_aggregation.cpp
noshi91/Library
0db552066eaf8655e0f3a4ae523dbf8c9af5299a
[ "CC0-1.0" ]
26
2018-03-11T09:56:29.000Z
2021-10-31T09:12:53.000Z
data_structure/stack_aggregation.cpp
noshi91/Library
0db552066eaf8655e0f3a4ae523dbf8c9af5299a
[ "CC0-1.0" ]
null
null
null
data_structure/stack_aggregation.cpp
noshi91/Library
0db552066eaf8655e0f3a4ae523dbf8c9af5299a
[ "CC0-1.0" ]
5
2019-12-18T14:11:23.000Z
2021-09-16T00:07:50.000Z
#include <cassert> #include <stack> template <class M> class stack_aggregation { using T = typename M::value_type; class node_type { public: T value; T fold; node_type(const T value, const T fold) : value(value), fold(fold) {} }; std::stack<node_type> st; public: stack_aggregation() = defau...
19.789474
74
0.621011
noshi91
29724d773d0181a33686943780b5a40cc1ba30aa
4,265
hpp
C++
include/UnityEngine/Resolution.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/UnityEngine/Resolution.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/UnityEngine/Resolution.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/ValueType.hpp" #include "beatsaber-hook/sha...
42.227723
173
0.690739
RedBrumbler
29752eddac0f0ff37329a87920d7a751af061e3c
11,861
cpp
C++
Source/WebSocket/hcwebsocket.cpp
marswe/libHttpClient
c027c9a5f4babef09d5670a1ec00f2c197adb7db
[ "MIT" ]
null
null
null
Source/WebSocket/hcwebsocket.cpp
marswe/libHttpClient
c027c9a5f4babef09d5670a1ec00f2c197adb7db
[ "MIT" ]
null
null
null
Source/WebSocket/hcwebsocket.cpp
marswe/libHttpClient
c027c9a5f4babef09d5670a1ec00f2c197adb7db
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #if !HC_NOWEBSOCKETS #include "hcwebsocket.h" using namespace xbox::httpclient; STDAPI HCWebSocketCreate( _Out_ HCWebsocketHandle* websocket, _In_op...
24.107724
165
0.685271
marswe
2975d3747232fb8c08c63b0e949457f84144c326
515
cpp
C++
02_basic_template/10_fixed_capacity_stack.cpp
cpptt-book/2nd
d710af6df9ed2561bc7432be7b0b0b93dafecb0a
[ "CC0-1.0" ]
17
2015-01-07T08:10:09.000Z
2021-06-21T13:07:25.000Z
02_basic_template/10_fixed_capacity_stack.cpp
cpptt-book/2nd
d710af6df9ed2561bc7432be7b0b0b93dafecb0a
[ "CC0-1.0" ]
null
null
null
02_basic_template/10_fixed_capacity_stack.cpp
cpptt-book/2nd
d710af6df9ed2561bc7432be7b0b0b93dafecb0a
[ "CC0-1.0" ]
5
2015-05-02T19:07:43.000Z
2021-11-14T21:21:32.000Z
// Copyright (c) 2014 // Akira Takahashi, Fumiki Fukuda. // Released under the CC0 1.0 Universal license. template <class T, int N = 10> class Stack { T data_[N]; int index_; public: Stack() : index_(0) {} ~Stack() {} void push(T x) { if (index_ < N) data_[index_++] = x; } T top() const { return ...
17.758621
48
0.574757
cpptt-book
29772c8f030464cc8354f5acd9c0bf865be771f7
5,185
cpp
C++
src/fontdlg.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
9
2020-04-01T04:15:22.000Z
2021-09-26T21:03:47.000Z
src/fontdlg.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
17
2020-04-02T19:38:40.000Z
2020-04-12T05:47:08.000Z
src/fontdlg.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /* SOURCE CONTROL VERSIONS */ /*---------------------------------------------------------------------------*/ /* ...
40.826772
85
0.596336
taviso
2978bbb7e4e25c6d6484416c3c7d87123a216865
152,676
cc
C++
vividFacesDemo/Pods/TensorFlow-experimental/Frameworks/tensorflow_experimental.framework/Headers/tensorflow/core/framework/graph_transfer_info.pb.cc
zoonewbie/vividfaces
8a62a78d8a59f7207159190a2193cb6671467cf2
[ "MIT" ]
20
2018-09-16T11:12:15.000Z
2020-06-09T18:19:59.000Z
vividFacesDemo/Pods/TensorFlow-experimental/Frameworks/tensorflow_experimental.framework/Headers/tensorflow/core/framework/graph_transfer_info.pb.cc
zoonewbie/vividfaces
8a62a78d8a59f7207159190a2193cb6671467cf2
[ "MIT" ]
2
2018-09-29T08:53:22.000Z
2019-01-27T18:16:28.000Z
vividFacesDemo/Pods/TensorFlow-experimental/Frameworks/tensorflow_experimental.framework/Headers/tensorflow/core/framework/graph_transfer_info.pb.cc
zoonewbie/vividfaces
8a62a78d8a59f7207159190a2193cb6671467cf2
[ "MIT" ]
3
2019-01-11T01:07:22.000Z
2019-05-28T02:22:09.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/framework/graph_transfer_info.proto #include "tensorflow/core/framework/graph_transfer_info.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stu...
41.108239
180
0.728805
zoonewbie
297a07be780ebc332976dd7c4e1ae268be5b0a5e
9,157
cpp
C++
GLengine/TestGame.cpp
Abhi-BearMunk/R-Game-Engine
df09b7c3acef2d051a7a7a4526d2996cd6a67dd1
[ "MIT" ]
3
2020-05-22T01:12:55.000Z
2020-05-22T08:25:07.000Z
GLengine/TestGame.cpp
AbhishekSkullbear/R-Game-Engine
df09b7c3acef2d051a7a7a4526d2996cd6a67dd1
[ "MIT" ]
null
null
null
GLengine/TestGame.cpp
AbhishekSkullbear/R-Game-Engine
df09b7c3acef2d051a7a7a4526d2996cd6a67dd1
[ "MIT" ]
null
null
null
#include "TestGame.h" #include "Entity.h" #include "RModelComponent.h" #include "RMesh.h" #include "Texture.h" #include "MeshUtil.h" #include "RColor.h" #include "RPointLightComponent.h" #include "RDirectionalLightComponent.h" #include "RTransformComponent.h" #include "RCameraComponent.h" #include "RCubeMap.h" #include...
50.038251
224
0.747625
Abhi-BearMunk
297ae68581a5888ab12bbed1ed3b470856240d50
5,839
hpp
C++
lib/seqan3/submodules/sdsl-lite/include/sdsl/sorted_int_stack.hpp
SGSSGene/seqan3_demo
5602af4ba437c973d4f84eb3ccb58330044978e2
[ "BSD-3-Clause" ]
1
2021-02-10T11:26:38.000Z
2021-02-10T11:26:38.000Z
include/sdsl/sorted_int_stack.hpp
Irallia/sdsl-lite
9a0d5676fd09fb8b52af214eca2d5809c9a32dbe
[ "BSD-3-Clause" ]
1
2019-03-10T23:59:27.000Z
2019-03-10T23:59:27.000Z
include/sdsl/sorted_int_stack.hpp
Irallia/sdsl-lite
9a0d5676fd09fb8b52af214eca2d5809c9a32dbe
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2016, the SDSL Project Authors. All rights reserved. // Please see the AUTHORS file for details. Use of this source code is governed // by a BSD license that can be found in the LICENSE file. /*! \file sorted_int_stack.hpp \brief sorted_int_stack.hpp contains a data structure for a stack which ca...
29.049751
94
0.682994
SGSSGene
297f015a8d35601533373e944bf510aad63f984a
279
cpp
C++
jump-game/jump-game.cpp
sharmishtha2401/leetcode
0c7389877afb64b3ff277f075ed9c87b24cb587b
[ "MIT" ]
1
2022-02-14T07:57:07.000Z
2022-02-14T07:57:07.000Z
jump-game/jump-game.cpp
sharmishtha2401/leetcode
0c7389877afb64b3ff277f075ed9c87b24cb587b
[ "MIT" ]
null
null
null
jump-game/jump-game.cpp
sharmishtha2401/leetcode
0c7389877afb64b3ff277f075ed9c87b24cb587b
[ "MIT" ]
null
null
null
class Solution { public: bool canJump(vector<int>& nums) { int reach=0,i; for(i=0; i<nums.size(); i++) { if(i>reach) return false; reach=max(i+nums[i], reach); } return i==nums.size(); } };
19.928571
40
0.433692
sharmishtha2401
298081e2fbd3f2d4e20bdf0dd91a1cdf2b936292
15,953
cpp
C++
contra/tests/test_conduit.cpp
halfflat/contra
25a6a6f7f34fe6791d71303e45d7a001e9975027
[ "Apache-2.0" ]
null
null
null
contra/tests/test_conduit.cpp
halfflat/contra
25a6a6f7f34fe6791d71303e45d7a001e9975027
[ "Apache-2.0" ]
null
null
null
contra/tests/test_conduit.cpp
halfflat/contra
25a6a6f7f34fe6791d71303e45d7a001e9975027
[ "Apache-2.0" ]
null
null
null
// ----------------------------------------------------------------------------- // contra -- a lightweight transport library for conduit data // // Copyright (c) 2018 RWTH Aachen University, Germany, // Virtual Reality & Immersive Visualization Group. // ----------------------------------------------------------------...
36.011287
80
0.615558
halfflat
2980fa8ffeb5e2d186bc28951cf7afd04b7a1137
1,668
cc
C++
SysUtils/plugins/ProcessUtils_Boost.cc
sam7k9621/ManagerUtils
7b9317df002b3df6f23ae9e559d35bb1fc15b6f6
[ "MIT" ]
null
null
null
SysUtils/plugins/ProcessUtils_Boost.cc
sam7k9621/ManagerUtils
7b9317df002b3df6f23ae9e559d35bb1fc15b6f6
[ "MIT" ]
null
null
null
SysUtils/plugins/ProcessUtils_Boost.cc
sam7k9621/ManagerUtils
7b9317df002b3df6f23ae9e559d35bb1fc15b6f6
[ "MIT" ]
null
null
null
/******************************************************************************* * * Filename : ProcessUtils_Boost.cc * Description : Exposing Process utility functions to python * Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ] * ********************************************************************...
32.076923
80
0.423261
sam7k9621
29820387d09d1b301923fa46e75ce8f8a5ab74f9
23,716
cpp
C++
libs/hwdrivers/src/aria/src/ArConfigArg.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
null
null
null
libs/hwdrivers/src/aria/src/ArConfigArg.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
null
null
null
libs/hwdrivers/src/aria/src/ArConfigArg.cpp
yhexie/mrpt
0bece2883aa51ad3dc88cb8bb84df571034ed261
[ "OLDAP-2.3" ]
1
2021-08-16T11:50:47.000Z
2021-08-16T11:50:47.000Z
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
27.608847
154
0.652682
yhexie
29835e9a80dd588e5c4b1dcf599ce2873d0aa20e
4,211
hpp
C++
video/opengl/libretro_test_gl_compute_shaders/gl/util.hpp
jimbo00000/libretro-samples
7418a585efd24c6506ca5f09f90c36268f0074ed
[ "MIT" ]
58
2016-09-12T06:14:09.000Z
2022-03-27T06:16:56.000Z
video/opengl/libretro_test_gl_compute_shaders/gl/util.hpp
jimbo00000/libretro-samples
7418a585efd24c6506ca5f09f90c36268f0074ed
[ "MIT" ]
9
2016-09-12T05:00:23.000Z
2021-05-14T18:38:51.000Z
video/opengl/libretro_test_gl_compute_shaders/gl/util.hpp
jimbo00000/libretro-samples
7418a585efd24c6506ca5f09f90c36268f0074ed
[ "MIT" ]
39
2016-09-04T17:43:59.000Z
2021-07-07T05:35:19.000Z
#ifndef UTIL_HPP__ #define UTIL_HPP__ #include <string> #include <cstdlib> #include <vector> #include <iostream> #include <fstream> #include <sstream> #include <stdexcept> #include <utility> #include <algorithm> #include <cstdarg> #include <cstring> #include <memory> namespace Util { template<typename T, typename....
22.639785
118
0.57706
jimbo00000
29865907a60662736692bba97ae9838ee0255034
478
cpp
C++
src/security/get_ciphering.cpp
Damdoshi/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
38
2016-07-30T09:35:19.000Z
2022-03-04T10:13:48.000Z
src/security/get_ciphering.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
15
2017-02-12T19:20:52.000Z
2021-06-09T09:30:52.000Z
src/security/get_ciphering.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
12
2016-10-06T09:06:59.000Z
2022-03-04T10:14:00.000Z
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2018 // // Lapin library #include <string.h> #include "lapin_private.h" t_bunny_ciphering bunny_get_ciphering(const char *name) { size_t i; for (i = 0; i < BS_CUSTOM; ++i) if (strcmp(name, gl_bunny_ciphering_table[i]) == 0) { scream_log_if(...
20.782609
57
0.644351
Damdoshi
2989397cb6ba3056a777c1437380e1a53caa1094
27,206
cc
C++
src/table_manifest.cc
tobecontinued/Jungle
d06eb7915de4b1489b4cd0ead5b7281e8a8b82c4
[ "Apache-2.0" ]
null
null
null
src/table_manifest.cc
tobecontinued/Jungle
d06eb7915de4b1489b4cd0ead5b7281e8a8b82c4
[ "Apache-2.0" ]
null
null
null
src/table_manifest.cc
tobecontinued/Jungle
d06eb7915de4b1489b4cd0ead5b7281e8a8b82c4
[ "Apache-2.0" ]
null
null
null
/************************************************************************ Copyright 2017-2019 eBay Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2...
33.259169
84
0.55598
tobecontinued
298fb68af0e1f0360eac5ca92aa6cc6854ff3c56
4,314
cpp
C++
Source/source/mob_fsms/pellet_fsm.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
Source/source/mob_fsms/pellet_fsm.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
Source/source/mob_fsms/pellet_fsm.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
/* * Copyright (c) Andre 'Espyo' Silva 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Pellet finite state machine logic. */ #include "pelle...
31.955556
79
0.596198
Neocraftz1553
299254d37f557442424b4daf3b965cc6883a0c23
1,134
cpp
C++
_src_/Core/ATT.cpp
daldegam/MuClientTools16
933d218501c188363096a8f9f73720c61b535d06
[ "MIT" ]
16
2021-07-15T04:00:38.000Z
2022-02-27T02:37:23.000Z
_src_/Core/ATT.cpp
daldegam/MuClientTools16
933d218501c188363096a8f9f73720c61b535d06
[ "MIT" ]
6
2021-08-05T05:01:35.000Z
2021-10-22T02:01:33.000Z
_src_/Core/ATT.cpp
daldegam/MuClientTools16
933d218501c188363096a8f9f73720c61b535d06
[ "MIT" ]
16
2021-07-18T02:40:12.000Z
2022-02-09T05:25:07.000Z
#include "ATT.h" BOOL ATT::Decrypt() { bool dec = false; if (_buf.size() > 4 && _buf[0] == 'A' && _buf[1] == 'T' && _buf[2] == 'T' && _buf[3] == 1) { _buf.erase(_buf.begin(), _buf.begin() + 4); dec = ModulusDecrypt(_buf); } else { MapFileDecrypt(_buf.data(), _buf.size()); dec = true; } if (!dec) return...
23.142857
91
0.590829
daldegam
2993784ee7c0e89c39a08ceafdadab9b08e82228
2,110
cpp
C++
src/giga/api/GigaApi.cpp
gigagg/GiGaSdk
db4e806b6f418e431649385e3176c23297bd09b4
[ "Apache-2.0" ]
4
2016-03-11T19:08:38.000Z
2016-04-30T20:28:41.000Z
src/giga/api/GigaApi.cpp
gigagg/GiGaSdk
db4e806b6f418e431649385e3176c23297bd09b4
[ "Apache-2.0" ]
1
2016-06-23T15:53:26.000Z
2016-06-28T17:22:56.000Z
src/giga/api/GigaApi.cpp
gigagg/GiGaSdk
db4e806b6f418e431649385e3176c23297bd09b4
[ "Apache-2.0" ]
5
2016-03-14T09:56:47.000Z
2020-07-02T06:12:39.000Z
/* * Copyright 2016 Gigatribe * * 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 i...
24.823529
114
0.679147
gigagg
29937ae2d2c703fa13e27cb8cfffd8871b4df62b
5,820
cpp
C++
src/RageUtil/Graphics/RageSurface.cpp
mattbox/etterna
0a7bd768cffd6f39a3d84d76964097e43011ce33
[ "MIT" ]
551
2017-06-02T05:14:54.000Z
2022-03-31T03:43:51.000Z
src/RageUtil/Graphics/RageSurface.cpp
john-marinelli/etterna
8775f74ac9c353320128609d4b4150672e9a6d04
[ "MIT" ]
799
2017-06-11T12:30:26.000Z
2022-03-31T23:56:48.000Z
src/RageUtil/Graphics/RageSurface.cpp
bluebandit21/etterna
995deaacd430c8ea8d68635b906568117454d4cc
[ "MIT" ]
177
2017-06-02T03:41:39.000Z
2022-03-14T06:22:08.000Z
#include "Etterna/Globals/global.h" #include "RageSurface.h" #include "RageUtil/Utils/RageUtil.h" #include <stb/stb_image.h> #include <climits> int32_t RageSurfacePalette::FindColor(const RageSurfaceColor& color) const { for (auto i = 0; i < ncolors; ++i) if (colors[i] == color) return i; return -1; } /* XXX: ...
19.863481
80
0.627663
mattbox
2996b7cf89a8ae7c8e09239e139ee3f4c2ffef1e
375
cpp
C++
11-container-with-most-water/11-container-with-most-water.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
1
2022-02-27T09:01:07.000Z
2022-02-27T09:01:07.000Z
11-container-with-most-water/11-container-with-most-water.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
null
null
null
11-container-with-most-water/11-container-with-most-water.cpp
champmaniac/LeetCode
65810e0123e0ceaefb76d0a223436d1525dac0d4
[ "MIT" ]
null
null
null
class Solution { public: int maxArea(vector<int>& height) { int n = height.size(); int water =0; int i =0,j=n-1; while(i<j){ int h = min(height[i],height[j]); water = max(water,(j-i)*h); while(height[i]<=h && i<j) i++; while(height[j]<=...
25
45
0.432
champmaniac
2999de7edbf5371fa36e08fd955051dbc59692a6
3,032
cc
C++
test/extensions/filters/network/thrift_proxy/framed_transport_impl_test.cc
ruoshan/envoy
55606ec3f0810683e9cab31b2f9db2f2cdb43ac0
[ "Apache-2.0" ]
1
2019-04-03T09:13:35.000Z
2019-04-03T09:13:35.000Z
test/extensions/filters/network/thrift_proxy/framed_transport_impl_test.cc
vishalpowar/envoy
49f5d59e8c73382d6b940b8f96e1fbcf494bf08e
[ "Apache-2.0" ]
null
null
null
test/extensions/filters/network/thrift_proxy/framed_transport_impl_test.cc
vishalpowar/envoy
49f5d59e8c73382d6b940b8f96e1fbcf494bf08e
[ "Apache-2.0" ]
null
null
null
#include "envoy/common/exception.h" #include "common/buffer/buffer_impl.h" #include "extensions/filters/network/thrift_proxy/framed_transport_impl.h" #include "test/extensions/filters/network/thrift_proxy/utility.h" #include "test/test_common/printers.h" #include "test/test_common/utility.h" #include "gtest/gtest.h...
26.137931
87
0.707784
ruoshan
299ca1afd33f7e2bfe3c3a55940bf867f73e484d
2,439
cpp
C++
Blazing dragon/lib/DefiCombattant/src/defiCombattant.cpp
Charma95/Pri-US
951a08ce357f4408243b2b2429127c8f615eee32
[ "MIT" ]
null
null
null
Blazing dragon/lib/DefiCombattant/src/defiCombattant.cpp
Charma95/Pri-US
951a08ce357f4408243b2b2429127c8f615eee32
[ "MIT" ]
null
null
null
Blazing dragon/lib/DefiCombattant/src/defiCombattant.cpp
Charma95/Pri-US
951a08ce357f4408243b2b2429127c8f615eee32
[ "MIT" ]
null
null
null
#include "defiCombattant.h" void robotA(int couleur) { if(ROBUS_IsBumper(3)) /* If Tessier fessed the back bumper */ { /* Placer robot dans la bonne couleur*/ avancer(39, 0.3); switch(couleur) { case ROUGE: tourner(45, 0); avancer(105, 0.3); attraperBallon(ROBOT_A); ...
19.204724
66
0.526035
Charma95
299cb29bf148aa2b27ff9f832f23ce32f57963a1
16,939
cpp
C++
Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp
hklion/WarpX
3c2d0ee2815ab1df21b9f78d899fe7b1a9651758
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp
hklion/WarpX
3c2d0ee2815ab1df21b9f78d899fe7b1a9651758
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp
hklion/WarpX
3c2d0ee2815ab1df21b9f78d899fe7b1a9651758
[ "BSD-3-Clause-LBNL" ]
null
null
null
/* Copyright 2019 * * This file is part of WarpX. * * License: BSD-3-Clause-LBNL */ #include "PsatdAlgorithmJLinearInTime.H" #include "Utils/TextMsg.H" #include "Utils/WarpXConst.H" #include "Utils/WarpX_Complex.H" #include <AMReX_Array4.H> #include <AMReX_BLProfiler.H> #include <AMReX_BaseFab.H> #include <AMReX...
37.894855
115
0.537989
hklion
299f4d0494b1e0c5e3ce153d9d98e2e18518c533
5,448
cpp
C++
software/controller/test/debug/vars_test.cpp
RespiraWorks/VentilatorSoftware
77a7a949f7af2d4a14fc8faa7e936fd860e796c8
[ "Apache-2.0" ]
24
2020-04-10T17:30:43.000Z
2020-06-29T23:55:35.000Z
software/controller/test/debug/vars_test.cpp
RespiraWorks/VentilatorSoftware
77a7a949f7af2d4a14fc8faa7e936fd860e796c8
[ "Apache-2.0" ]
552
2020-04-09T22:21:22.000Z
2020-07-01T20:02:57.000Z
software/controller/test/debug/vars_test.cpp
RespiraWorks/VentilatorSoftware
77a7a949f7af2d4a14fc8faa7e936fd860e796c8
[ "Apache-2.0" ]
17
2020-04-10T22:10:22.000Z
2020-06-26T16:59:48.000Z
/* Copyright 2020-2021, RespiraWorks 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, softw...
31.491329
76
0.684838
RespiraWorks
29a47536c5ac45d0e7873722503c52399e693a22
3,995
cpp
C++
src/App/Editor/Systems/SystemControllerSystem.cpp
Jerry-Shen0527/Utopia
5f40edc814e5f6a33957cdc889524c41c5ef870f
[ "MIT" ]
321
2020-10-04T01:43:36.000Z
2022-03-31T02:43:38.000Z
src/App/Editor/Systems/SystemControllerSystem.cpp
Jerry-Shen0527/Utopia
5f40edc814e5f6a33957cdc889524c41c5ef870f
[ "MIT" ]
9
2020-11-17T04:06:22.000Z
2022-02-19T09:05:29.000Z
src/App/Editor/Systems/SystemControllerSystem.cpp
Jerry-Shen0527/Utopia
5f40edc814e5f6a33957cdc889524c41c5ef870f
[ "MIT" ]
41
2020-10-09T10:09:34.000Z
2022-03-27T02:51:57.000Z
#include <Utopia/App/Editor/Systems/SystemControllerSystem.h> #include <Utopia/App/Editor/Components/SystemController.h> #include <_deps/imgui/imgui.h> using namespace Ubpa::UECS; using namespace Ubpa::Utopia; void SystemControllerSystem::OnUpdate(Schedule& schedule) { schedule.RegisterCommand([](World* w) { aut...
38.786408
102
0.672841
Jerry-Shen0527
29a6b2d14a4df86a98081beed481529cfa20012d
1,606
cpp
C++
Plugin~/WebRTCPlugin/GraphicsDevice/GraphicsUtility.cpp
SES-Technologies/com.unity.webrtc
12aa9baa5b04c187c0e23102ed5f18835ac37e94
[ "Apache-2.0" ]
null
null
null
Plugin~/WebRTCPlugin/GraphicsDevice/GraphicsUtility.cpp
SES-Technologies/com.unity.webrtc
12aa9baa5b04c187c0e23102ed5f18835ac37e94
[ "Apache-2.0" ]
null
null
null
Plugin~/WebRTCPlugin/GraphicsDevice/GraphicsUtility.cpp
SES-Technologies/com.unity.webrtc
12aa9baa5b04c187c0e23102ed5f18835ac37e94
[ "Apache-2.0" ]
2
2020-10-16T10:06:49.000Z
2020-10-16T15:19:21.000Z
#include "pch.h" #include "GraphicsUtility.h" namespace unity { namespace webrtc { namespace webrtc = ::webrtc; rtc::scoped_refptr<webrtc::I420Buffer> GraphicsUtility::ConvertRGBToI420Buffer(const uint32_t width, const uint32_t height, const uint32_t rowToRowInBytes, const uint8_t* srcData) { rtc::scoped_re...
29.740741
123
0.540473
SES-Technologies
29a81b749b2ec00447ffe6e11504bfe8bd9c4798
2,004
cpp
C++
main.cpp
EnglishBreakfastTea/Vault-Tec-Tactical-Assistant
e788202c9ac05ad0f33c1ac40492a5c935380f20
[ "Apache-2.0" ]
1
2016-09-30T03:01:41.000Z
2016-09-30T03:01:41.000Z
main.cpp
EnglishBreakfastTea/Vault-Tec-Tactical-Assistant
e788202c9ac05ad0f33c1ac40492a5c935380f20
[ "Apache-2.0" ]
null
null
null
main.cpp
EnglishBreakfastTea/Vault-Tec-Tactical-Assistant
e788202c9ac05ad0f33c1ac40492a5c935380f20
[ "Apache-2.0" ]
2
2017-03-03T21:29:58.000Z
2020-03-25T05:04:06.000Z
#include <windows.h> #include <stdio.h> struct AllocRAII { AllocRAII(HANDLE proc, size_t len) : mem{VirtualAllocEx(proc, NULL, len, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)}, len{len}, proc{proc} { } ~AllocRAII() { release(); } void release() { if (mem != NULL...
24.144578
110
0.636228
EnglishBreakfastTea
29a8e06b38d207581c556cfb956aefe8e1be96d5
4,709
cpp
C++
Lib-Engine/src/sfz/sdl/SDLAllocator.cpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
2
2020-09-04T16:52:47.000Z
2021-04-21T18:30:25.000Z
Lib-Engine/src/sfz/sdl/SDLAllocator.cpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
Lib-Engine/src/sfz/sdl/SDLAllocator.cpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
// Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se) // For other contributors see Contributors.txt // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. //...
28.197605
99
0.698025
PetorSFZ
29aa03e0b8a6fbfc120424268c8c378f2e815f6d
504
cpp
C++
Source-simplified/Computational Geometry/Three-dimension/Volume of Tetrahedron.cpp
lmxyy/Code-Library-for-lmxyy
e7740402076588624e2fb3dff7ed916851b2eb76
[ "MIT" ]
3
2019-06-27T14:14:32.000Z
2021-01-11T11:36:47.000Z
Source-simplified/Computational Geometry/Three-dimension/Volume of Tetrahedron.cpp
lmxyy/Code-Library-for-lmxyy
e7740402076588624e2fb3dff7ed916851b2eb76
[ "MIT" ]
null
null
null
Source-simplified/Computational Geometry/Three-dimension/Volume of Tetrahedron.cpp
lmxyy/Code-Library-for-lmxyy
e7740402076588624e2fb3dff7ed916851b2eb76
[ "MIT" ]
1
2021-04-27T00:26:54.000Z
2021-04-27T00:26:54.000Z
#include<stdio.h> #include<math.h> int main() { double p,q,r,n,m,l; while(scanf("%lf%lf%lf%lf%lf%lf",&p,&q,&r,&n,&m,&l)!=EOF) { double tmp1=(p*p+q*q-n*n)/2; double tmp2=(p*p+r*r-m*m)/2; double tmp3=(q*q+r*r-l*l)/2; double M1=q*q*r*r-tmp3*tmp3; double M2=r*r*t...
22.909091
61
0.472222
lmxyy
29aa94ec6dcda315d4b29cd57e091baa2b671543
19,858
cpp
C++
external/open-zwave/openzwave-1.3.982/cpp/src/value_classes/Value.cpp
PascalPiche/OpenHomeMation
61445cbb0878d81399d4d27ff8cc20c2a028c444
[ "MIT" ]
1,433
2015-04-30T09:26:53.000Z
2022-03-26T12:44:12.000Z
AllJoyn/Samples/ZWaveAdapter/open-zwave/cpp/src/value_classes/Value.cpp
LeCampusAzure/ms-iot-samples
c0da021a312a631c8a26771a0d203e0de80fc597
[ "MIT" ]
530
2015-05-02T09:12:48.000Z
2018-01-03T17:52:01.000Z
AllJoyn/Samples/ZWaveAdapter/open-zwave/cpp/src/value_classes/Value.cpp
LeCampusAzure/ms-iot-samples
c0da021a312a631c8a26771a0d203e0de80fc597
[ "MIT" ]
1,878
2015-04-30T04:18:57.000Z
2022-03-15T16:51:17.000Z
//----------------------------------------------------------------------------- // // Value.cpp // // Base class for all OpenZWave Value Classes // // Copyright (c) 2010 Mal Lansell <openzwave@lansell.org> // // SOFTWARE NOTICE AND LICENSE // // This file is part of OpenZWave. // // OpenZWave is free software: you can ...
27.390345
214
0.58168
PascalPiche
29ad822a9b8aa4567f396400e2a1b15ce5ed9ba5
5,007
cc
C++
benchmark/ioevent/fd_channel_vs_pipe_event_watcher/fd_channel_vs_pipe_event_watcher.cc
HLyoung/evpp
30964e54ed7bb669c52c7daa2aeb01b4453a2c23
[ "BSD-3-Clause" ]
null
null
null
benchmark/ioevent/fd_channel_vs_pipe_event_watcher/fd_channel_vs_pipe_event_watcher.cc
HLyoung/evpp
30964e54ed7bb669c52c7daa2aeb01b4453a2c23
[ "BSD-3-Clause" ]
null
null
null
benchmark/ioevent/fd_channel_vs_pipe_event_watcher/fd_channel_vs_pipe_event_watcher.cc
HLyoung/evpp
30964e54ed7bb669c52c7daa2aeb01b4453a2c23
[ "BSD-3-Clause" ]
null
null
null
#include <evpp/exp.h> #include <evpp/event_loop.h> #include <evpp/fd_channel.h> #include <evpp/libevent_headers.h> #include <evpp/libevent_watcher.h> #include <getopt.h> #ifndef _WIN32 #include <stdio.h> #include <sys/resource.h> #include <sys/socket.h> #endif #include "../../../examples/echo/tcpecho/winmain-inl.h...
27.972067
158
0.601158
HLyoung