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
8caf429ec6befea63fd68e30f1b2ff49695701bb
1,142
cxx
C++
analysergit/src/TAnaManager.cxx
ggonei/ISILODAQ
00e8d3ec9f6f0afbe5ec3d23ab59cab112ff2c64
[ "MIT" ]
1
2018-04-13T18:03:42.000Z
2018-04-13T18:03:42.000Z
analysergit/src/TAnaManager.cxx
ggonei/ISILODAQ
00e8d3ec9f6f0afbe5ec3d23ab59cab112ff2c64
[ "MIT" ]
null
null
null
analysergit/src/TAnaManager.cxx
ggonei/ISILODAQ
00e8d3ec9f6f0afbe5ec3d23ab59cab112ff2c64
[ "MIT" ]
1
2018-04-13T19:33:16.000Z
2018-04-13T19:33:16.000Z
#include "TAnaManager.hxx" TAnaManager::TAnaManager(){ //initialise /* uncomment Line 16 //For generating default histograms fV792Histogram = 0; //ADC fV1190Histogram = 0; //TDC #ifdef USE_V792 fV792Histogram = new TV792Histograms(); //ADC fV792Histogram->DisableAutoUpdate(); //disable auto-update (update histo i...
30.052632
89
0.779335
ggonei
8cb2dc716a2d429ff9260dcf3911b79fd29d6d09
21,023
cpp
C++
engine/source/wide/application/control/application_control.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/wide/application/control/application_control.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/wide/application/control/application_control.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
#include "wide/application/control/application_control.h" #include "wide/application/application.h" #include "wide/edition/plugin/edition_plugin.h" namespace coffee { //-META---------------------------------------------------------------------------------------// COFFEE_BeginType(ApplicationControl); ...
32.14526
110
0.417733
skarab
8cb5206f6e41b89a25c89fd9c39d568e61cac1f8
1,016
cpp
C++
Estruturas e Bibliotecas/1244.cpp
fenatan/URI-Online-Judge
983cadd364e658cdebcbc2c0165e8f54e023a823
[ "MIT" ]
null
null
null
Estruturas e Bibliotecas/1244.cpp
fenatan/URI-Online-Judge
983cadd364e658cdebcbc2c0165e8f54e023a823
[ "MIT" ]
null
null
null
Estruturas e Bibliotecas/1244.cpp
fenatan/URI-Online-Judge
983cadd364e658cdebcbc2c0165e8f54e023a823
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; bool func(pair<pair<int, int>, string> a, pair<pair<int, int>, string>b){ if(a.first.first > b.first.first) return true; if(a.first.first == b.first.first) if(a.first.second < b.first.second) return true; return false; } int main(){ int n; st...
22.086957
73
0.433071
fenatan
8cc346b47a1e0620afbd5d18a2f6b31207779e03
20,645
cpp
C++
mu/test/io_lexer.cpp
clemahieu/mu
c02eec77d1c72c86b8acbea0f3b6e85fe32d4687
[ "BSD-2-Clause" ]
9
2017-07-31T03:10:54.000Z
2022-01-31T18:03:10.000Z
mu/test/io_lexer.cpp
clemahieu/mu
c02eec77d1c72c86b8acbea0f3b6e85fe32d4687
[ "BSD-2-Clause" ]
null
null
null
mu/test/io_lexer.cpp
clemahieu/mu
c02eec77d1c72c86b8acbea0f3b6e85fe32d4687
[ "BSD-2-Clause" ]
3
2016-07-08T15:24:22.000Z
2021-05-15T09:12:17.000Z
#include <gtest/gtest.h> #include <mu/core/types.hpp> #include <mu/core/string_hash.hpp> #include <mu/core/lexer.hpp> #include <mu/core/tokens.hpp> TEST (stringref, basic) { std::array <uint8_t, 2> data; data [0] = 0xcc; data [1] = 0xdd; mu::io::string_range string1 (data.data (), data.data () + data.size ()); a...
35.533563
74
0.624364
clemahieu
8cc3feb280d6c13480a7bf83f97aa520aebe65ce
456
cpp
C++
Axis.SystemBase/foundation/computing/NullKernelCommand.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.SystemBase/foundation/computing/NullKernelCommand.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.SystemBase/foundation/computing/NullKernelCommand.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#include "NullKernelCommand.hpp" namespace afc = axis::foundation::computing; afc::NullKernelCommand::NullKernelCommand(void) { // nothing to do here } afc::NullKernelCommand::~NullKernelCommand(void) { // nothing to do here } void afc::NullKernelCommand::Run( uint64 numThreadsToUse, uint64 startIndex, void ...
21.714286
77
0.747807
renato-yuzup
8cc8191ae5a5daa78c07f0a905844be7a0a5e1db
1,807
cpp
C++
cf/Divide by Zero 2018 and Codeforces Round #474 (Div. 1 + Div. 2, combined) /d.cpp
emengdeath/acmcode
cc1b0e067464e754d125856004a991d6eb92a2cd
[ "MIT" ]
null
null
null
cf/Divide by Zero 2018 and Codeforces Round #474 (Div. 1 + Div. 2, combined) /d.cpp
emengdeath/acmcode
cc1b0e067464e754d125856004a991d6eb92a2cd
[ "MIT" ]
null
null
null
cf/Divide by Zero 2018 and Codeforces Round #474 (Div. 1 + Div. 2, combined) /d.cpp
emengdeath/acmcode
cc1b0e067464e754d125856004a991d6eb92a2cd
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int Q; long long a[60]; long long u,mod,v; int sig,level; int getlevel(long long s){ int i=0; while (s!=1)i++,s/=2; return i; } void get(int &x) { char c = getchar(); x = 0; int sig=1; while(c < '0' || c > '9'){ if (c=='-')sig=-1; c =...
21.011628
61
0.363033
emengdeath
bc49f72c8c5f1d540a772eee4eb20c438276b1c2
2,207
cpp
C++
Geometry/Vector 2D/C++/vector2d.cpp
LuisMBaezCo/AlgorithmNotebook
43479e4331143987e627d222c9a65ed9d23d6c8f
[ "MIT" ]
16
2020-03-02T20:03:28.000Z
2021-06-15T05:02:59.000Z
Geometry/Vector 2D/C++/vector2d.cpp
LuisMBaezCo/AlgorithmNotebook
43479e4331143987e627d222c9a65ed9d23d6c8f
[ "MIT" ]
null
null
null
Geometry/Vector 2D/C++/vector2d.cpp
LuisMBaezCo/AlgorithmNotebook
43479e4331143987e627d222c9a65ed9d23d6c8f
[ "MIT" ]
4
2020-09-15T07:47:38.000Z
2021-10-31T01:25:02.000Z
#include <bits/stdc++.h> using namespace std; #define ll long long #define ld long double //--------------------------------------------------- #define PI 3.141592653589793238462643383279502884L // (2*acos(0.0)) #define eps 1e-9 typedef ll TP; struct Point { TP x; TP y; Point operator + (Point p) ...
30.232877
86
0.529225
LuisMBaezCo
bc4cf0a07d2132b9b1b5a36d2fb46a4b0dec72aa
9,177
cpp
C++
src/all/frm/core/types.cpp
john-chapman/GfxSampleFramework
6c19d1c7fdf28d8a74884876aa8839b4b982d65a
[ "MIT" ]
19
2017-02-22T21:02:44.000Z
2021-05-19T16:41:30.000Z
src/all/frm/core/types.cpp
john-chapman/GfxSampleFramework
6c19d1c7fdf28d8a74884876aa8839b4b982d65a
[ "MIT" ]
68
2016-11-14T17:48:54.000Z
2021-11-08T13:41:06.000Z
src/all/frm/core/types.cpp
john-chapman/GfxSampleFramework
6c19d1c7fdf28d8a74884876aa8839b4b982d65a
[ "MIT" ]
7
2017-05-05T17:49:02.000Z
2020-12-31T06:51:13.000Z
#include "frm.h" #include <cstring> #include <limits> namespace frm { namespace internal { const sint8 DataType_Limits<sint8 >::kMin = std::numeric_limits<sint8 >::min(); const sint8 DataType_Limits<sint8 >::kMax = std::numeric_limits<sint8 >::max(); const uint8 DataType_Limits<uint8 >::kMin = std::numeri...
43.492891
146
0.70328
john-chapman
bc4e94f3a67c8973d0fd11117099dcd53e83429f
463
cpp
C++
book/aoj/02/05/ALDS1_1_D.cpp
515hikaru/solutions
9fb3e4600f9a97b78211a5736c98354d4cbebc38
[ "MIT" ]
null
null
null
book/aoj/02/05/ALDS1_1_D.cpp
515hikaru/solutions
9fb3e4600f9a97b78211a5736c98354d4cbebc38
[ "MIT" ]
9
2019-12-29T17:57:39.000Z
2020-02-16T16:36:04.000Z
book/aoj/02/05/ALDS1_1_D.cpp
515hikaru/solutions
9fb3e4600f9a97b78211a5736c98354d4cbebc38
[ "MIT" ]
null
null
null
// http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_1_D #include <algorithm> #include <iostream> using namespace std; int main() { const int MAX = 200000; int n; int a[MAX]; cin >> n; for (int i = 0; i < n; i++) cin >> a[i]; int maxv = a[1] - a[0]; int minv = a[0]; for (i...
21.045455
69
0.511879
515hikaru
bc523ecf4e2a6256e84e69daa1b9801b816f083f
308
cpp
C++
OSDev/Try-15/kernel/drivers/_port.cpp
Ashwin-Paudel/Tries
91ea32d715eedca528d143cf5e9dfd9ba70804e3
[ "Apache-2.0" ]
null
null
null
OSDev/Try-15/kernel/drivers/_port.cpp
Ashwin-Paudel/Tries
91ea32d715eedca528d143cf5e9dfd9ba70804e3
[ "Apache-2.0" ]
null
null
null
OSDev/Try-15/kernel/drivers/_port.cpp
Ashwin-Paudel/Tries
91ea32d715eedca528d143cf5e9dfd9ba70804e3
[ "Apache-2.0" ]
null
null
null
typedef unsigned char uint8_t; typedef unsigned short uint16_t; uint8_t inb(uint16_t _port) { uint8_t result; __asm__ volatile("inb %1, %0" : "=a" (result) : "Nd" (_port)); return result; } void outb(uint16_t _port, uint8_t _data) { __asm__ volatile("outb %0, %1" : : "a" (_data), "Nd" (_port)); }
20.533333
64
0.659091
Ashwin-Paudel
bc526db2472ebeedced5863ad58f9e436d39f009
28,956
cc
C++
src/xudp_socket.cc
telosprotocol/xtransport
1012928ecb13050f8a402efa7b4cad48a796609e
[ "MIT" ]
12
2019-10-16T08:28:51.000Z
2020-01-13T08:06:15.000Z
src/xudp_socket.cc
telosprotocol/xtransport
1012928ecb13050f8a402efa7b4cad48a796609e
[ "MIT" ]
null
null
null
src/xudp_socket.cc
telosprotocol/xtransport
1012928ecb13050f8a402efa7b4cad48a796609e
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2019 Telos Foundation & contributors // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "xtransport/udp_transport/xudp_socket.h" #include <stdio.h> #include <mutex> #include <iostream> #include <stri...
42.457478
237
0.705899
telosprotocol
bc5307f4f179974174c36c5cf962c24592313e52
1,049
cpp
C++
preperation/binary_exponentiation.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
1
2020-05-05T13:06:51.000Z
2020-05-05T13:06:51.000Z
preperation/binary_exponentiation.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
preperation/binary_exponentiation.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
/* Theory behind this algorithm is: a ^ (b+c) == (a^b) * (a^c) Example: if x^9 has to be calculated, 9 can be written as 8 + 1 or 7 + 2 or 6 + 3 etc.. binary representation of 9 is => 0b1001. x^9 == x^(0b1001) == x^(8+1) == x^8 * x^1 Time complexity here is logarithmic. O(logn) Refe...
14.985714
62
0.515729
bvbasavaraju
bc545ac3202579e6b654303e9ffc8ca5a477ce33
318
cpp
C++
main.cpp
CuntBoy/QtOpenGL_ColorMap
a1cd2366a1cebde2d27fc949798d07b302b533cf
[ "Apache-2.0" ]
null
null
null
main.cpp
CuntBoy/QtOpenGL_ColorMap
a1cd2366a1cebde2d27fc949798d07b302b533cf
[ "Apache-2.0" ]
null
null
null
main.cpp
CuntBoy/QtOpenGL_ColorMap
a1cd2366a1cebde2d27fc949798d07b302b533cf
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include <QApplication> #include <colormap/colormap.h> #include <colormap/colormapdata.h> #include "example/example_one.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); std::shared_ptr<ColorMap> widget(example_one().get()); widget->show(); return a.exec(); }
21.2
58
0.691824
CuntBoy
bc62ac4b19a2c768fb907635c0e76acc3af3d3ee
2,228
inl
C++
include/bit/core/containers/detail/map_view.inl
cppbits/Core
dd4cf4b723835802762b3915cb86c1401481148c
[ "MIT" ]
4
2018-08-30T02:37:25.000Z
2021-10-03T09:34:32.000Z
include/bit/core/containers/detail/map_view.inl
cppbits/Core
dd4cf4b723835802762b3915cb86c1401481148c
[ "MIT" ]
null
null
null
include/bit/core/containers/detail/map_view.inl
cppbits/Core
dd4cf4b723835802762b3915cb86c1401481148c
[ "MIT" ]
1
2018-08-29T00:46:17.000Z
2018-08-29T00:46:17.000Z
#ifndef BIT_CORE_CONTAINERS_DETAIL_MAP_VIEW_INL #define BIT_CORE_CONTAINERS_DETAIL_MAP_VIEW_INL //------------------------------------------------------------------------ // Constructors //------------------------------------------------------------------------ template<typename Key, typename T> constexpr bit::core::...
25.906977
84
0.526032
cppbits
bc664ae8d4b9402f99b4523013ad859b09b06650
1,823
cpp
C++
src/SmaartWire.cpp
jgromes/SmaartWire
d7d825228393c820f58878a6a29d1790faed0e53
[ "MIT" ]
null
null
null
src/SmaartWire.cpp
jgromes/SmaartWire
d7d825228393c820f58878a6a29d1790faed0e53
[ "MIT" ]
null
null
null
src/SmaartWire.cpp
jgromes/SmaartWire
d7d825228393c820f58878a6a29d1790faed0e53
[ "MIT" ]
null
null
null
#include "SmaartWire.h" SmaartWire::SmaartWire(int pin) { pinMode(pin, INPUT); _bitMask = PIN_TO_BITMASK(pin); _baseReg = PIN_TO_BASEREG(pin); } void SmaartWire::begin(long speed) { _brDelay = 1000000/speed; } void SmaartWire::write(uint8_t b) { uint8_t bitMask; // start pulse noInterrupts(); DIREC...
21.447059
86
0.692814
jgromes
bc66a92fd0ba9e9147e8cbdb3bf034145ba70a2e
1,086
cpp
C++
test/Event/AnyCallback.cpp
throwaway47912/GameLibrary
ec494f51b304fc1e41d8b81cbcc603687e61aa6f
[ "MIT" ]
null
null
null
test/Event/AnyCallback.cpp
throwaway47912/GameLibrary
ec494f51b304fc1e41d8b81cbcc603687e61aa6f
[ "MIT" ]
null
null
null
test/Event/AnyCallback.cpp
throwaway47912/GameLibrary
ec494f51b304fc1e41d8b81cbcc603687e61aa6f
[ "MIT" ]
null
null
null
#include "GameLibrary/Event/AnyCallback.h" #include "catch2/catch.hpp" #include "GameLibrary/Event/BaseEvent.h" #include "GameLibrary/Exceptions/Standard.h" using namespace GameLibrary; using namespace GameLibrary::Event; TEST_CASE("AnyCallback wraps Callback<E> and mimics its interface.") { struct TestEvent : Ba...
22.625
87
0.755064
throwaway47912
bc6a21e44f135e35a771fd0809855a3ad1a384f0
8,202
cpp
C++
lib/GWEN-master/gwen/src/Bootil/File/Changes.cpp
mpavlinsky/bobsgame
dd4c0713828594ef601c61785164b3fa41e27e2a
[ "Unlicense" ]
13
2021-06-30T15:47:33.000Z
2021-09-18T15:44:34.000Z
lib/GWEN-master/gwen/src/Bootil/File/Changes.cpp
mpavlinsky/bobsgame
dd4c0713828594ef601c61785164b3fa41e27e2a
[ "Unlicense" ]
null
null
null
lib/GWEN-master/gwen/src/Bootil/File/Changes.cpp
mpavlinsky/bobsgame
dd4c0713828594ef601c61785164b3fa41e27e2a
[ "Unlicense" ]
7
2021-06-30T17:14:41.000Z
2021-10-14T01:41:18.000Z
#include "Bootil/Bootil.h" #ifdef _WIN32 #define _WIN32_WINNT 0x0502 #include <windows.h> #elif __linux__ #include <unistd.h> #include <sys/select.h> #include <sys/inotify.h> #endif namespace { #ifdef _WIN32 const char separator = '\\'; #else const char separator = '/'; #endif struct WatcherData { Bootil::BSt...
25.873817
259
0.668983
mpavlinsky
bc6b68e42e5e954635155d5330e28b85e7b31414
1,080
cpp
C++
src/ip-address-int.cpp
tarodnet/cplusplus-snippets
2866102b53534163c2ebc1aaf6096467dfbdadaf
[ "Apache-2.0" ]
null
null
null
src/ip-address-int.cpp
tarodnet/cplusplus-snippets
2866102b53534163c2ebc1aaf6096467dfbdadaf
[ "Apache-2.0" ]
null
null
null
src/ip-address-int.cpp
tarodnet/cplusplus-snippets
2866102b53534163c2ebc1aaf6096467dfbdadaf
[ "Apache-2.0" ]
1
2015-06-06T02:23:20.000Z
2015-06-06T02:23:20.000Z
#include <iostream> #include <stdio.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> using namespace std; /* void print_ip(int ip) { unsigned char bytes[4]; bytes[0] = ip & 0xFF; bytes[1] = (ip >> 8) & 0xFF; bytes[2] = (ip >> 16) & 0xFF; bytes[3] = (ip >> 24...
21.176471
77
0.551852
tarodnet
bc72cd4b85a92adbd77f1e268909eddb48c43ced
11,311
cpp
C++
main.cpp
GravisZro/incanto
3cf6fb50db3a8837d26cf9f98bd86d4765340810
[ "BSD-2-Clause" ]
null
null
null
main.cpp
GravisZro/incanto
3cf6fb50db3a8837d26cf9f98bd86d4765340810
[ "BSD-2-Clause" ]
null
null
null
main.cpp
GravisZro/incanto
3cf6fb50db3a8837d26cf9f98bd86d4765340810
[ "BSD-2-Clause" ]
null
null
null
// STL #include <memory> #include <fstream> #include <iostream> #include <iomanip> #include <string> #include <functional> // POSIX #include <libgen.h> // PUT #include <put/cxxutils/hashing.h> // project files #include "putgen.h" std::list<CodePrinterBase::function_descriptor> parser(const std::string& data) { en...
27.189904
163
0.50694
GravisZro
bc73150da453ecaca015feffab7a32096b5cfc5c
3,596
cpp
C++
src/device/arduinodevice.cpp
ThomArmax/arduino-qt-creator-plugin
3ff530ac32aee97b540e86690fe9449ee929c977
[ "MIT" ]
5
2020-05-06T09:28:49.000Z
2021-12-28T23:26:11.000Z
src/device/arduinodevice.cpp
ThomArmax/arduino-qt-creator-plugin
3ff530ac32aee97b540e86690fe9449ee929c977
[ "MIT" ]
2
2020-05-06T09:54:35.000Z
2020-05-23T07:43:30.000Z
src/device/arduinodevice.cpp
ThomArmax/arduino-qt-creator-plugin
3ff530ac32aee97b540e86690fe9449ee929c977
[ "MIT" ]
1
2020-05-06T09:29:00.000Z
2020-05-06T09:29:00.000Z
/**************************************************************************** ** ** Copyright (c) 2020 Thomas COIN ** Contact: Thomas Coin<esvcorp@gmail.com> ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to dea...
27.450382
129
0.715795
ThomArmax
bc7aa48503a9ff558189d5aeeaf9dc9480dac99f
5,505
cpp
C++
src/enclave/tasks/SgxPartitioning.cpp
Artraxon/sgx-radix-hash-join
e23247fb985f621752bb8247874ca0c9f1cce0bc
[ "MIT" ]
null
null
null
src/enclave/tasks/SgxPartitioning.cpp
Artraxon/sgx-radix-hash-join
e23247fb985f621752bb8247874ca0c9f1cce0bc
[ "MIT" ]
null
null
null
src/enclave/tasks/SgxPartitioning.cpp
Artraxon/sgx-radix-hash-join
e23247fb985f621752bb8247874ca0c9f1cce0bc
[ "MIT" ]
null
null
null
/** * @author Claude Barthels <claudeb@inf.ethz.ch> * (c) 2016, ETH Zurich, Systems Group * */ #include "SgxPartitioning.h" #include <stdlib.h> #include <string.h> #include <algorithm> #include <core/Configuration.h> #include <data/CompressedTuple.h> #include <utils/Debug.h> #include <histograms/LocalHistogram....
33.363636
225
0.748047
Artraxon
bc7dbb88b3721e3f0f5eccdb69a68dc34aabbd2a
3,344
cpp
C++
client/LonelyPlaneteer/LonelyPlaneteer/Game/UI/UI.cpp
simonlthorp/LostMines
202f6616959b2dcc939655365447f817d5d8ba66
[ "Apache-2.0" ]
null
null
null
client/LonelyPlaneteer/LonelyPlaneteer/Game/UI/UI.cpp
simonlthorp/LostMines
202f6616959b2dcc939655365447f817d5d8ba66
[ "Apache-2.0" ]
null
null
null
client/LonelyPlaneteer/LonelyPlaneteer/Game/UI/UI.cpp
simonlthorp/LostMines
202f6616959b2dcc939655365447f817d5d8ba66
[ "Apache-2.0" ]
null
null
null
#include "UI.h" #include "../../Engine/Game.h" #include "../../Engine/Texture/TextureManager.h" UI::UI() {} //param textureName - should only be used by non-ttf_font types UI::UI(std::string id, UILabels type, std::string textureName, SDL_Rect src, SDL_Rect dest) : id(id), type(type), src(src), dest(dest) { //std::c...
21.299363
152
0.653409
simonlthorp
bc83ac6abeb60d252370097f58f0d4ccddb4cb84
1,079
cc
C++
cpp/sqrtx/main.cc
bcbcarl/leetcode
817da2774b07a9b6ef6d7a48120a36e93ef7908e
[ "MIT" ]
3
2017-04-03T07:07:19.000Z
2019-10-31T10:51:27.000Z
cpp/sqrtx/main.cc
bcbcarl/leetcode
817da2774b07a9b6ef6d7a48120a36e93ef7908e
[ "MIT" ]
null
null
null
cpp/sqrtx/main.cc
bcbcarl/leetcode
817da2774b07a9b6ef6d7a48120a36e93ef7908e
[ "MIT" ]
null
null
null
#include <iostream> #include <stdexcept> class Solution { public: int mySqrt(const int& x); private: double x_n(const double& x_square, const int& n); inline double f(const double& x, const double& x_square); inline double d_f(const double& x); }; int Solution::mySqrt(const int& x) { if (x < 0) { throw ...
21.58
68
0.635774
bcbcarl
bc84fa8ceede607543478c60af98b2584424e34b
2,597
cpp
C++
idlib-document/tests/idlib/tests/document/document-set-max-length.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
1
2021-07-30T14:02:43.000Z
2021-07-30T14:02:43.000Z
idlib-document/tests/idlib/tests/document/document-set-max-length.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
null
null
null
idlib-document/tests/idlib/tests/document/document-set-max-length.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
2
2017-01-27T16:53:08.000Z
2017-08-27T07:28:43.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////// // // Idlib: A C++ utility library // Copyright (C) 2017-2018 Michael Heilmann // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any dama...
36.577465
103
0.6134
egoboo
bc85bc6994b88d256fa9545a5d3c4ff5ea01d921
3,082
cpp
C++
190. Reverse Bits.cpp
NeoYY/Leetcode-Solution
0f067973d3c296ac7f2fa85a89dbdd5295b0b037
[ "MIT" ]
null
null
null
190. Reverse Bits.cpp
NeoYY/Leetcode-Solution
0f067973d3c296ac7f2fa85a89dbdd5295b0b037
[ "MIT" ]
null
null
null
190. Reverse Bits.cpp
NeoYY/Leetcode-Solution
0f067973d3c296ac7f2fa85a89dbdd5295b0b037
[ "MIT" ]
null
null
null
/* Reverse bits of a given 32 bits unsigned integer. Example 1: Input: 00000010100101000001111010011100 Output: 00111001011110000010100101000000 Explanation: The input binary string 00000010100101000001111010011100 represents the unsigned integer 43261596, so return 964176192 which its binary representation is 001...
35.837209
291
0.632057
NeoYY
bc85dda3a5993366990ddd0764258b850155585e
660
cpp
C++
book/CH03/S05_Resetting_a_command_buffer.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
5
2019-03-02T16:29:15.000Z
2021-11-07T11:07:53.000Z
book/CH03/S05_Resetting_a_command_buffer.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
null
null
null
book/CH03/S05_Resetting_a_command_buffer.cpp
THISISAGOODNAME/vkCookBook
d022b4151a02c33e5c58534dc53ca39610eee7b5
[ "MIT" ]
2
2018-07-10T18:15:40.000Z
2020-01-03T04:02:32.000Z
// // Created by aicdg on 2017/6/20. // // // Chapter: 03 Command Buffers and Synchronization // Recipe: 05 Resetting a command buffer #include "S05_Resetting_a_command_buffer.h" namespace VKCookbook { bool ResetCommandBuffer( VkCommandBuffer command_buffer, bool release...
27.5
136
0.643939
THISISAGOODNAME
bc8be589867c12f1d542381e493a3f5dd36c0dd5
746
cpp
C++
solutions_cpp/majority_element_1.cpp
aaishikasb/Leetcoding
c6ad25486716d43c780d840cc80aa20ef51a8674
[ "MIT" ]
null
null
null
solutions_cpp/majority_element_1.cpp
aaishikasb/Leetcoding
c6ad25486716d43c780d840cc80aa20ef51a8674
[ "MIT" ]
null
null
null
solutions_cpp/majority_element_1.cpp
aaishikasb/Leetcoding
c6ad25486716d43c780d840cc80aa20ef51a8674
[ "MIT" ]
null
null
null
class Solution { public: int majorityElement(vector<int> &A) { unordered_map<int, int> map; // get input size int n = A.size(); // 1. store each element's frequency in a map for (int i = 0; i < n; i++) { map[A[i]]++; } // 2. return t...
20.722222
62
0.442359
aaishikasb
bc8eb17202d969c4c85c6871ed87503144f8b899
1,084
cpp
C++
fixme_degiyamIOCP/DegiyamIOCP/Common/LIB_PROFILE.cpp
jacking75/com2us_cppNetStudy_work
f8bf188f70a16b69aaf0e4e14098235f29aca585
[ "MIT" ]
25
2019-05-20T08:07:39.000Z
2021-08-17T11:25:02.000Z
fixme_degiyamIOCP/DegiyamIOCP/Common/LIB_PROFILE.cpp
jacking75/com2us_cppNetStudy_work
f8bf188f70a16b69aaf0e4e14098235f29aca585
[ "MIT" ]
null
null
null
fixme_degiyamIOCP/DegiyamIOCP/Common/LIB_PROFILE.cpp
jacking75/com2us_cppNetStudy_work
f8bf188f70a16b69aaf0e4e14098235f29aca585
[ "MIT" ]
17
2019-07-07T12:20:16.000Z
2022-01-11T08:27:44.000Z
#include "LIB_PROFILE.h" using namespace COMMONLIB; LIB_PROFILE::LIB_PROFILE() { ZeroMemory(m_FilePath, MAX_STRING); } LIB_PROFILE::~LIB_PROFILE() { } const VOID LIB_PROFILE::SetFilePath(LPCTSTR strPath) { strcpy(m_FilePath, strPath); } const VOID LIB_PROFILE::WriteToINI(LPCTSTR strSection, L...
24.088889
94
0.750923
jacking75
bc926b293c10d4705178a288c9c463641f01e7d7
2,336
cpp
C++
src/org/apache/poi/hssf/record/pivottable/PageItemRecord_FieldInfo.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/hssf/record/pivottable/PageItemRecord_FieldInfo.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/hssf/record/pivottable/PageItemRecord_FieldInfo.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/hssf/record/pivottable/PageItemRecord.java #include <org/apache/poi/hssf/record/pivottable/PageItemRecord_FieldInfo.hpp> #include <java/lang/NullPointerException.hpp> #include <java/lang/String.hpp> #include <java/lang/StringBuffer.hpp> #include <org/apache/poi/hssf/record/Re...
33.855072
126
0.716182
pebble2015
bc971ebd10eaf2d731dbe326c2e010b6529719fe
1,375
cpp
C++
RealPractices/05/13.TVDramaRecom.cpp
Guyutongxue/Practice_of_Programming
70e11cfc0ab6aefbc9e28b279cf3de110426a9b9
[ "WTFPL" ]
6
2020-03-01T03:13:37.000Z
2021-03-20T13:37:11.000Z
RealPractices/05/13.TVDramaRecom.cpp
Guyutongxue/Practice_of_Programming
70e11cfc0ab6aefbc9e28b279cf3de110426a9b9
[ "WTFPL" ]
null
null
null
RealPractices/05/13.TVDramaRecom.cpp
Guyutongxue/Practice_of_Programming
70e11cfc0ab6aefbc9e28b279cf3de110426a9b9
[ "WTFPL" ]
3
2020-03-28T03:14:24.000Z
2021-05-20T13:35:15.000Z
#include <algorithm> #include <cstring> #include <iostream> #include <list> using namespace std; class TV_Drama { public: char name[100]; int actor; int story; int acting_skill; TV_Drama(const char* name, int actor, int story, int skill) : actor(actor), story(story), acting_skill(skill) { ...
23.305085
70
0.6
Guyutongxue
bc9848ef57f90c5fef0ed20be42b6604ab3f7214
11,403
cpp
C++
Tools/LSWindows/Src/ListView/LSWListView.cpp
L-Spiro/MhsX
9cc71fbbac93ba54a01839db129cd9b47a68f29e
[ "BSD-2-Clause" ]
19
2016-09-07T18:22:09.000Z
2022-03-25T23:05:39.000Z
Tools/LSWindows/Src/ListView/LSWListView.cpp
L-Spiro/MhsX
9cc71fbbac93ba54a01839db129cd9b47a68f29e
[ "BSD-2-Clause" ]
1
2021-09-30T14:24:54.000Z
2021-11-13T14:58:02.000Z
Tools/LSWindows/Src/ListView/LSWListView.cpp
L-Spiro/MhsX
9cc71fbbac93ba54a01839db129cd9b47a68f29e
[ "BSD-2-Clause" ]
5
2018-04-10T16:52:25.000Z
2021-05-11T02:40:17.000Z
#include "LSWListView.h" #include <codecvt> #include <CommCtrl.h> #include <locale> namespace lsw { CListView::CListView( const LSW_WIDGET_LAYOUT &_wlLayout, CWidget * _pwParent, bool _bCreateWidget, HMENU _hMenu, uint64_t _ui64Data ) : Parent( _wlLayout, _pwParent, _bCreateWidget, _hMenu, _ui64Data ), m_sColumn...
35.634375
148
0.697273
L-Spiro
bca49501b0bb88202d803d83e4abb2d6b8cd21fd
19,284
cpp
C++
NavMeshOpengl/NavMeshOpengl/BuildPath.cpp
WarZhan/NavMeshOpenGL
31c2949701b497060063221aa8eba9993363b285
[ "MIT" ]
4
2020-09-27T10:51:03.000Z
2021-10-22T01:14:03.000Z
NavMeshOpengl/NavMeshOpengl/BuildPath.cpp
WarZhan/NavMeshOpenGL
31c2949701b497060063221aa8eba9993363b285
[ "MIT" ]
1
2021-11-05T04:17:53.000Z
2021-11-05T08:19:28.000Z
NavMeshOpengl/NavMeshOpengl/BuildPath.cpp
WarZhan/NavMeshOpenGL
31c2949701b497060063221aa8eba9993363b285
[ "MIT" ]
1
2021-06-24T02:34:01.000Z
2021-06-24T02:34:01.000Z
#pragma once #include "BuildPath.h" #include "NavMesh.h" #include <cmath> #include <queue> using namespace std; #ifndef MAXWEIGHT #define MAXWEIGHT 0xfffffff #endif // 获取点所在的多边形 int GetPloyIndex(rcPolyMesh *PolyMesh, vec3 vPoint) { for (int i = 0; i < PolyMesh->npolys; i ++) { // 获取多边形 unsigne...
26.236735
121
0.580118
WarZhan
bcabf997515749a5de336dd7ddaa758e3b8a2b8e
12,191
cpp
C++
storage/diskmgr/services/storage_service/utils/src/block_device.cpp
peeweep/distributeddatamgr_file
1e624bbc3850815fa1b2642c67123b7785bec6a1
[ "Apache-2.0" ]
null
null
null
storage/diskmgr/services/storage_service/utils/src/block_device.cpp
peeweep/distributeddatamgr_file
1e624bbc3850815fa1b2642c67123b7785bec6a1
[ "Apache-2.0" ]
null
null
null
storage/diskmgr/services/storage_service/utils/src/block_device.cpp
peeweep/distributeddatamgr_file
1e624bbc3850815fa1b2642c67123b7785bec6a1
[ "Apache-2.0" ]
5
2021-09-13T11:18:04.000Z
2021-11-25T14:12:15.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
29.44686
106
0.613075
peeweep
bcb2c831ba6c852d7cd13debb29e8eac1c75f91d
53,842
cpp
C++
ext/gdiplus/gdip_codec.cpp
yagisumi/ruby-gdiplus
8c8aed4942a61e61f554394705140971db8debb6
[ "MIT" ]
1
2017-05-04T05:48:19.000Z
2017-05-04T05:48:19.000Z
ext/gdiplus/gdip_codec.cpp
yagisumi/ruby-gdiplus
8c8aed4942a61e61f554394705140971db8debb6
[ "MIT" ]
null
null
null
ext/gdiplus/gdip_codec.cpp
yagisumi/ruby-gdiplus
8c8aed4942a61e61f554394705140971db8debb6
[ "MIT" ]
null
null
null
/* * gdip_codec.cpp * Copyright (c) 2017 Yagi Sumiya * Released under the MIT License. */ #include "ruby_gdiplus.h" const rb_data_type_t tGuid = _MAKE_DATA_TYPE( "Guid", 0, GDIP_DEFAULT_FREE(GUID), &typeddata_size<GUID>, NULL, &cGuid); static VALUE gdip_guid_create(GUID *guid) { VALUE v = typeddata_allo...
34.62508
166
0.656291
yagisumi
bcb643435dd92aa9fd03900dbe86e61b26f9b239
1,097
cpp
C++
dsa/strongly_connected.component.cpp
shoaibtasrif/Data-Structures-Algorithms
2f04fb40be72d4166201539da31c29da19222016
[ "MIT" ]
null
null
null
dsa/strongly_connected.component.cpp
shoaibtasrif/Data-Structures-Algorithms
2f04fb40be72d4166201539da31c29da19222016
[ "MIT" ]
null
null
null
dsa/strongly_connected.component.cpp
shoaibtasrif/Data-Structures-Algorithms
2f04fb40be72d4166201539da31c29da19222016
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; vector< vector<int> > adm,radm; vector<int> sorted; set<int> visited; void dfs1(int node) { visited.insert(node); for(auto x: adm[node]) { if(!visited.count(x)) { dfs1(x); } } sorted.push_back(node); } void dfs2(int n...
13.216867
42
0.445761
shoaibtasrif
bcbb1b6dbe710314b2e70f4534a0632a41d95fe2
1,970
hpp
C++
sdl/Util/Sprintf.hpp
sdl-research/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
29
2015-01-26T21:49:51.000Z
2021-06-18T18:09:42.000Z
sdl/Util/Sprintf.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
1
2015-12-08T15:03:15.000Z
2016-01-26T14:31:06.000Z
sdl/Util/Sprintf.hpp
hypergraphs/hyp
d39f388f9cd283bcfa2f035f399b466407c30173
[ "Apache-2.0" ]
4
2015-11-21T14:25:38.000Z
2017-10-30T22:22:00.000Z
// Copyright 2014-2015 SDL plc // 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,...
28.550725
101
0.718274
sdl-research
bcbdb6893bd8413799fe6f5731bdc0bb1fd38387
2,219
cc
C++
build/x86/dev/x86/Cmos.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/dev/x86/Cmos.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/dev/x86/Cmos.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_objects_Cmos[] = { 120,156,181,82,81,111,155,48,16,62,135,64,147,168,218,250, 7,38,161,74,83,89,37,66,219,41,85,87,77,213,218,236, 101,47,81,5,121,216,120,65,30,56,129,9,3,178,77,151, 60,119,255,123,187,51,169,182,63,48,219,156,190,251,124,156, ...
46.229167
74
0.664263
billionshang
bcbf57afe8af5cc62f3f2769cfb3761a9d4b40f3
1,291
cpp
C++
DAY-63/SplitCLL.cpp
varshitha1707/DailyCoding
d8a974cf5742cc1a77d638eb188012bb32f31d5f
[ "MIT" ]
5
2021-02-09T08:03:25.000Z
2021-06-27T15:29:11.000Z
Day-63/SplitCLL.cpp
okarin1511/dailyCoding
a6b55c4a45f24f125331dda5fb269dc9cecc8e9c
[ "MIT" ]
null
null
null
Day-63/SplitCLL.cpp
okarin1511/dailyCoding
a6b55c4a45f24f125331dda5fb269dc9cecc8e9c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Node { public: int data; Node *next; }; void push(Node **head, int key) { Node * temp = new Node(); temp->data = key; temp->next = (*head); (*head) = temp; } void splitLL(Node* head, Node ** head1, Node **head2) { Node *slow_ptr = head;...
15.938272
55
0.518203
varshitha1707
bcbff87539c764f8f07aaddac3454a867659032d
408
cpp
C++
src/compiler.cpp
raintherrien/dlcc
3071f227673cb8fba0f10580533911bd7d75c3df
[ "MIT" ]
1
2021-07-19T12:40:25.000Z
2021-07-19T12:40:25.000Z
src/compiler.cpp
raintherrien/dlcc
3071f227673cb8fba0f10580533911bd7d75c3df
[ "MIT" ]
null
null
null
src/compiler.cpp
raintherrien/dlcc
3071f227673cb8fba0f10580533911bd7d75c3df
[ "MIT" ]
null
null
null
#include "dlcc/compiler.hpp" namespace dlcc { Compiler::Compiler(bool dbg_stack, bool dbg_symbol, bool dbg_ast) : parser{dbg_stack, dbg_symbol, dbg_ast} { } void Compiler::read_from(std::string filename, std::istream &f) { auto terms = lexer.analyze(filename, f); while (auto maybe_term = terms()) parser.parse(*m...
17.73913
65
0.723039
raintherrien
bcc288053d74e52d380a52df36a8be8bb561e267
1,041
cpp
C++
Plugins/GStreamer/src/pass_through.cpp
zhangyldanny/EagleEye
5b04ab52cdb03f710eff836e84f695446282848d
[ "BSD-3-Clause" ]
14
2015-10-07T13:08:30.000Z
2021-03-04T08:05:24.000Z
Plugins/GStreamer/src/pass_through.cpp
zhangyldanny/EagleEye
5b04ab52cdb03f710eff836e84f695446282848d
[ "BSD-3-Clause" ]
29
2015-03-01T20:29:59.000Z
2017-09-05T06:58:04.000Z
Plugins/GStreamer/src/pass_through.cpp
zhangyldanny/EagleEye
5b04ab52cdb03f710eff836e84f695446282848d
[ "BSD-3-Clause" ]
8
2016-11-16T19:59:59.000Z
2018-07-02T11:20:31.000Z
#include "pass_through.h" #include <Aquila/nodes/NodeInfo.hpp> using namespace aq; using namespace aq::nodes; bool h264_pass_through::processImpl() { if(gstreamer_string_param.modified()) { create_pipeline(gstreamer_string); if (get_pipeline_state() != GST_STATE_PLAYING && _pipeline) ...
24.785714
82
0.607109
zhangyldanny
bcc316851f001d83d19c81351ba8dd52f82713c3
4,273
inl
C++
ThirdParty/Havok/include/Common/GeometryUtilities/Mesh/Utils/PrimitiveUtil/hkMeshPrimitiveUtil.inl
wobbier/source3-engine
f59df759ee197aef5191cf13768c303c6ed17bf5
[ "MIT" ]
11
2016-08-02T03:40:36.000Z
2022-03-15T13:41:29.000Z
ThirdParty/Havok/include/Common/GeometryUtilities/Mesh/Utils/PrimitiveUtil/hkMeshPrimitiveUtil.inl
wobbier/source3-engine
f59df759ee197aef5191cf13768c303c6ed17bf5
[ "MIT" ]
null
null
null
ThirdParty/Havok/include/Common/GeometryUtilities/Mesh/Utils/PrimitiveUtil/hkMeshPrimitiveUtil.inl
wobbier/source3-engine
f59df759ee197aef5191cf13768c303c6ed17bf5
[ "MIT" ]
8
2017-03-17T05:59:25.000Z
2021-02-27T08:51:46.000Z
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Product and Trade Secret source code contains trade secrets ...
24.005618
251
0.686637
wobbier
bcc345b5d56eb9a6cafe3fe8e254ce7a7e2d0667
919
cpp
C++
uebung5/loesung/zusaetzlicher_code_zum_ausprobieren/test_zeiger_zugriiff.cpp
jWeb94/kit_wissenschaftliches_programmieren_fuer_ingenieure
b7a6b1b6be62263a7b7955e0fd60e2bd55adac09
[ "WTFPL" ]
null
null
null
uebung5/loesung/zusaetzlicher_code_zum_ausprobieren/test_zeiger_zugriiff.cpp
jWeb94/kit_wissenschaftliches_programmieren_fuer_ingenieure
b7a6b1b6be62263a7b7955e0fd60e2bd55adac09
[ "WTFPL" ]
null
null
null
uebung5/loesung/zusaetzlicher_code_zum_ausprobieren/test_zeiger_zugriiff.cpp
jWeb94/kit_wissenschaftliches_programmieren_fuer_ingenieure
b7a6b1b6be62263a7b7955e0fd60e2bd55adac09
[ "WTFPL" ]
null
null
null
#include <iostream> int main (){ // create field int * a; a = new int[10]; // elements with index 0 to 9 // see what a actually is std::cout << "this is saved in a: " << a << std::endl; std::cout << "this is the value saved in a: " << *a << std::endl; // * is the dereference operator // write first v...
24.837838
100
0.545158
jWeb94
3458b4dd64a72b8fe5f2e477b2816f7cfe4bbd12
227
hpp
C++
addons/common/CfgMarkers.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
6
2018-05-05T22:28:57.000Z
2019-07-06T08:46:51.000Z
addons/common/CfgMarkers.hpp
Schwaggot/kellerkompanie-mods
7a389e49e3675866dbde1b317a44892926976e9d
[ "MIT" ]
107
2018-04-11T19:42:27.000Z
2019-09-13T19:05:31.000Z
addons/common/CfgMarkers.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
3
2018-10-03T11:54:46.000Z
2019-02-28T13:30:16.000Z
class CfgMarkers { /*extern*/ class flag_NATO; class keko_faction_flag: flag_NATO { name = "Kellerkompanie"; icon = QPATHTOF(ui\keko_marker.paa); texture = QPATHTOF(ui\keko_marker.paa); }; };
28.375
47
0.629956
kellerkompanie
3467e1e19dfb323ad709365874b428b3f7ffb27f
313
cpp
C++
cpp/src/io/io.cpp
pblaberge/TOT
d2cd110731d8f40fd8ed7652e6a4f1e065538edc
[ "MIT" ]
null
null
null
cpp/src/io/io.cpp
pblaberge/TOT
d2cd110731d8f40fd8ed7652e6a4f1e065538edc
[ "MIT" ]
null
null
null
cpp/src/io/io.cpp
pblaberge/TOT
d2cd110731d8f40fd8ed7652e6a4f1e065538edc
[ "MIT" ]
null
null
null
#include "cpp/io.hpp" namespace io { Reader::~Reader() = default; Writer::~Writer() = default; Closer::~Closer() = default; ReadCloser::~ReadCloser() = default; WriteCloser::~WriteCloser() = default; ReadWrite::~ReadWrite() = default; ReadWriteCloser::~ReadWriteCloser() = default; }
24.076923
50
0.642173
pblaberge
34681cd584251fb5ce75dace9a8c75efa92108b9
238
cxx
C++
examples/old/fizzbuzz.cxx
GenericUserbame/cx
a9d97d6a441d109ef4d5a0afcbd98b90cac4cb94
[ "MIT" ]
2
2016-08-22T11:19:49.000Z
2017-09-06T16:17:52.000Z
examples/old/fizzbuzz.cxx
GenericUserbame/cx
a9d97d6a441d109ef4d5a0afcbd98b90cac4cb94
[ "MIT" ]
71
2015-07-25T00:21:36.000Z
2016-01-24T08:14:45.000Z
examples/old/fizzbuzz.cxx
GenericUserbame/cx
a9d97d6a441d109ef4d5a0afcbd98b90cac4cb94
[ "MIT" ]
null
null
null
#include io int main(){ for(int i = 1; i <= 1000; i++){ if (i % 3 == 0) puts("Fizz"); if (i % 5 == 0) puts("Buzz"); if ((i % 3 != 0) && (i % 5 != 0)) io::puts("number = " + i.to_str); } return 0; }
14.875
75
0.378151
GenericUserbame
346925ef73d494e5d7f22fdb096b3566cac43da6
16,152
cpp
C++
src/ctlinterfaces/DataObject.cpp
TimoKunze/ShellBrowserControls
e1699dde8821a55f43274364410c3d6a3c867526
[ "MIT" ]
3
2020-02-03T12:58:10.000Z
2021-03-30T04:55:04.000Z
src/ctlinterfaces/DataObject.cpp
TimoKunze/ShellBrowserControls
e1699dde8821a55f43274364410c3d6a3c867526
[ "MIT" ]
null
null
null
src/ctlinterfaces/DataObject.cpp
TimoKunze/ShellBrowserControls
e1699dde8821a55f43274364410c3d6a3c867526
[ "MIT" ]
1
2021-12-09T18:23:05.000Z
2021-12-09T18:23:05.000Z
// DataObject.cpp: Implementation of the IDataObject interface #include "stdafx.h" #include "DataObject.h" DataObject::DataObject(HRESULT* pHResult) { properties.referenceCount = 1; *pHResult = S_OK; } ////////////////////////////////////////////////////////////////////// // implementation of IUnknown ULONG STDM...
28.43662
180
0.698985
TimoKunze
3469bdf9e08ce6dfcf2479ada41f24a9a6137da7
961
cpp
C++
Long/04_20/COVIDLQ.cpp
vinaysomawat/CodeChef-Solutions
9a0666a4f1badd593cd075f3beb05377e3c6657a
[ "MIT" ]
1
2020-04-12T01:39:10.000Z
2020-04-12T01:39:10.000Z
Long/04_20/COVIDLQ.cpp
vinaysomawat/CodeChef-Solutions
9a0666a4f1badd593cd075f3beb05377e3c6657a
[ "MIT" ]
null
null
null
Long/04_20/COVIDLQ.cpp
vinaysomawat/CodeChef-Solutions
9a0666a4f1badd593cd075f3beb05377e3c6657a
[ "MIT" ]
null
null
null
/* Contest: CodeChef APRIL 2020 LONG Challange DIV 1 Problem link:https://www.codechef.com/APRIL20A/problems/COVIDLQ GitHub Solution Repository: https://github.com/vinaysomawat/CodeChef-Solutions Author: Vinay Somawat Author's Webpage: http://vinaysomawat.github.io/ Author's mail: vinaysomawat@...
21.355556
82
0.545265
vinaysomawat
34739c027a8550c15fbf336856a8bc9b68681dd8
3,536
cpp
C++
third_party/openplay2.2/Source/NetSprocketLib/NSpGamePrivate.cpp
mickaelcala/TNTbasic
1cbf9f4bceb11ee3dc2010b808addb3499761336
[ "BSD-2-Clause" ]
5
2018-09-22T13:14:50.000Z
2021-12-09T22:32:00.000Z
third_party/openplay2.2/Source/NetSprocketLib/NSpGamePrivate.cpp
mctully/tntbasic
1cbf9f4bceb11ee3dc2010b808addb3499761336
[ "BSD-2-Clause" ]
null
null
null
third_party/openplay2.2/Source/NetSprocketLib/NSpGamePrivate.cpp
mctully/tntbasic
1cbf9f4bceb11ee3dc2010b808addb3499761336
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 1999-2004 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * Portions Copyright (c) 1999-2004 Apple Computer, Inc. All Rights * Reserved. This file contains Original Code and/or Modifications of * Original Code as defined in and that are subject to the Apple Publ...
32.145455
90
0.547794
mickaelcala
347673e055acec03ed7579b07f15c420e21daf57
1,753
cpp
C++
aws-cpp-sdk-pinpoint/source/model/InAppMessageBodyConfig.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-pinpoint/source/model/InAppMessageBodyConfig.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-pinpoint/source/model/InAppMessageBodyConfig.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/pinpoint/model/InAppMessageBodyConfig.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws...
19.263736
89
0.729036
perfectrecall
34774af2f9a86c6c0e5dab0d764896e386332d68
1,215
cpp
C++
doc/Programs/LecturePrograms/programs/Classes/cpp/program16.cpp
solisius/ComputationalPhysics
94d32d177881695d443eea34af3410e886b8cb9a
[ "CC0-1.0" ]
220
2016-08-25T09:18:33.000Z
2022-03-31T14:09:16.000Z
doc/Programs/LecturePrograms/programs/Classes/cpp/program16.cpp
solisius/ComputationalPhysics
94d32d177881695d443eea34af3410e886b8cb9a
[ "CC0-1.0" ]
1
2020-12-04T12:55:10.000Z
2020-12-04T12:55:10.000Z
doc/Programs/LecturePrograms/programs/Classes/cpp/program16.cpp
solisius/ComputationalPhysics
94d32d177881695d443eea34af3410e886b8cb9a
[ "CC0-1.0" ]
136
2016-08-25T09:04:56.000Z
2022-03-12T09:54:21.000Z
#include <cstdlib> #include <armadillo> #include <iostream> #include <cmath> #include <iomanip> #include <vector> #include "time.h" using namespace std; // note use of namespace using namespace arma; // note use of namespace int main (int argc, char* argv[]) { // read in dimension of square matrix int n = atoi(arg...
22.090909
110
0.600823
solisius
347f116829d8f8f36bc9142d769c35a00503b7ee
2,821
cpp
C++
PlatformLib/Marmalade/Input.cpp
cdoty/SuperPlay
e2d33cb52635251cd3f180b73f5fb08944940d18
[ "MIT" ]
26
2015-01-23T03:07:12.000Z
2021-11-14T20:35:03.000Z
PlatformLib/Marmalade/Input.cpp
cdoty/SuperPlay
e2d33cb52635251cd3f180b73f5fb08944940d18
[ "MIT" ]
1
2016-05-09T22:04:21.000Z
2016-05-10T03:27:07.000Z
PlatformLib/Marmalade/Input.cpp
cdoty/SuperPlay
e2d33cb52635251cd3f180b73f5fb08944940d18
[ "MIT" ]
8
2015-04-13T19:15:36.000Z
2021-01-13T13:24:45.000Z
// This code is part of the Super Play Library (http://www.superplay.info), // and may only be used under the terms contained in the LICENSE file, // included with the Super Play Library. // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING B...
15.848315
77
0.633109
cdoty
34806cec3dbe6c5b89437a5b694af0ead6e25f1a
588
cpp
C++
Lesson 6 - Inheritance/008 - resolving ambiguilty in multiple inheritance/main.cpp
yuil-intern/Object_Oriented_Programming_C_Plus_Plus
93301a3b9300605bdc61de2d1c6c2e96d11586a5
[ "MIT" ]
null
null
null
Lesson 6 - Inheritance/008 - resolving ambiguilty in multiple inheritance/main.cpp
yuil-intern/Object_Oriented_Programming_C_Plus_Plus
93301a3b9300605bdc61de2d1c6c2e96d11586a5
[ "MIT" ]
null
null
null
Lesson 6 - Inheritance/008 - resolving ambiguilty in multiple inheritance/main.cpp
yuil-intern/Object_Oriented_Programming_C_Plus_Plus
93301a3b9300605bdc61de2d1c6c2e96d11586a5
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class A { public: int a; void GetData() { cout << "Enter first number: "; cin >> a; } }; class B { public: int b; void GetData() { cout << "Enter second number: "; cin >> b; } }; class ...
15.473684
47
0.438776
yuil-intern
34873183ef6601d75caf721696ca2ac8c7494aa9
2,503
hpp
C++
include/pstore/dump/parameter.hpp
paulhuggett/pstore2
a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c
[ "Apache-2.0" ]
11
2018-02-02T21:24:49.000Z
2020-12-11T04:06:03.000Z
include/pstore/dump/parameter.hpp
SNSystems/pstore
74e9dd960245d6bfc125af03ed964d8ad660a62d
[ "Apache-2.0" ]
63
2018-02-05T17:24:59.000Z
2022-03-22T17:26:28.000Z
include/pstore/dump/parameter.hpp
paulhuggett/pstore
067be94d87c87fce524c8d76c6f47c347d8f1853
[ "Apache-2.0" ]
5
2020-01-13T22:47:11.000Z
2021-05-14T09:31:15.000Z
//===- include/pstore/dump/parameter.hpp ------------------*- mode: C++ -*-===// //* _ * //* _ __ __ _ _ __ __ _ _ __ ___ ___| |_ ___ _ __ * //* | '_ \ / _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__| * //* | |_) | (_| | | | (_| | | | | | | __/ || __/ | * //* | ....
35.253521
99
0.502996
paulhuggett
34898701ce053af96c9309f1335f44510eb5a770
2,856
cpp
C++
src/Util.cpp
D3r3k23/OpenGlSandbox
825a173be7b66da76af193d2cc319e97748623bd
[ "MIT" ]
null
null
null
src/Util.cpp
D3r3k23/OpenGlSandbox
825a173be7b66da76af193d2cc319e97748623bd
[ "MIT" ]
null
null
null
src/Util.cpp
D3r3k23/OpenGlSandbox
825a173be7b66da76af193d2cc319e97748623bd
[ "MIT" ]
null
null
null
#include "Util.hpp" #include <spdlog/spdlog.h> #include <fstream> #include <sstream> std::string read_file(const std::filesystem::path& path) { if (std::filesystem::is_regular_file(path)) { std::ifstream file(path); std::stringstream contents; contents << file.rdbuf(); return ...
40.225352
146
0.565126
D3r3k23
348bfdb3f3a8449c37e7859da86a04fdc8a36a34
7,374
cpp
C++
VTIL-Sandbox/main.cpp
vtil-project/VTIL-Sandbox
812d2498f8e4dd8973308972140f93fcd6ed4272
[ "BSD-3-Clause" ]
9
2020-06-22T19:49:04.000Z
2022-02-23T20:47:39.000Z
VTIL-Sandbox/main.cpp
vtil-project/VTIL-Sandbox
812d2498f8e4dd8973308972140f93fcd6ed4272
[ "BSD-3-Clause" ]
2
2020-08-19T10:15:14.000Z
2021-03-23T02:02:40.000Z
VTIL-Sandbox/main.cpp
vtil-project/VTIL-Sandbox
812d2498f8e4dd8973308972140f93fcd6ed4272
[ "BSD-3-Clause" ]
5
2020-06-28T08:06:13.000Z
2021-07-14T00:44:37.000Z
#include <memory> #include <vtil/amd64> #include <vtil/vtil> #include <vtil/arch> #include <Windows.h> #include <fstream> #include <AppCore/App.h> #include <AppCore/Window.h> #include <AppCore/Overlay.h> #include <Ultralight/platform/Platform.h> #include <AppCore/JSHelpers.h> #include "bindings/basic_block.hpp" #includ...
29.378486
135
0.624085
vtil-project
34920a16f54179256881895acc9378e75a8a748a
1,796
cpp
C++
src/Lucia/Compatability/GLES2/Shaders/Blit2D.cpp
Polynominal/Lucy3D
a55fc331bc509a69ad7fb70a1eda70c409d22271
[ "MIT" ]
1
2017-02-22T23:47:22.000Z
2017-02-22T23:47:22.000Z
src/Lucia/Compatability/GLES2/Shaders/Blit2D.cpp
Polynominal/Lucy3D
a55fc331bc509a69ad7fb70a1eda70c409d22271
[ "MIT" ]
null
null
null
src/Lucia/Compatability/GLES2/Shaders/Blit2D.cpp
Polynominal/Lucy3D
a55fc331bc509a69ad7fb70a1eda70c409d22271
[ "MIT" ]
null
null
null
#include "Lucia/Compatability/GLES2/Shaders/Blit2D.h" using namespace Lucia; namespace Lucia { namespace Graphics { namespace _Shaders { std::shared_ptr<Graphics::Shader> Blit2D = std::shared_ptr<Graphics::Shader>(new Graphics::Shader); } } } typedef Graphics::Shaders::Bl...
29.933333
111
0.620824
Polynominal
3492a82be9f3bbf6b229ce40346ac0df521e4ef6
149
hpp
C++
vcl/interaction/time_period/time_period.hpp
victor-radermecker/Island-Project
3284cea0ec5b143bfe410b0999caa06e79498df5
[ "MIT" ]
8
2021-04-13T17:17:55.000Z
2022-01-13T16:14:22.000Z
vcl/interaction/time_period/time_period.hpp
victor-radermecker/Island-Project
3284cea0ec5b143bfe410b0999caa06e79498df5
[ "MIT" ]
1
2020-04-22T09:22:18.000Z
2020-04-30T10:13:24.000Z
vcl/interaction/time_period/time_period.hpp
victor-radermecker/Island-Project
3284cea0ec5b143bfe410b0999caa06e79498df5
[ "MIT" ]
5
2020-03-25T09:53:09.000Z
2020-05-20T08:16:07.000Z
#pragma once namespace vcl { class time_period { public: time_period(); bool update(); float time_step; private: float t0; }; }
7.842105
20
0.624161
victor-radermecker
3495a71b0762d308a450a77ca602162c8f51f3d8
5,349
cpp
C++
thirdparty/qtiplot/qtiplot/src/RenameWindowDialog.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
thirdparty/qtiplot/qtiplot/src/RenameWindowDialog.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
thirdparty/qtiplot/qtiplot/src/RenameWindowDialog.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/*************************************************************************** File : RenameWindowDialog.cpp Project : QtiPlot -------------------------------------------------------------------- Copyright : (C) 2006 by Ion Vasilief, Tilman Hoener zu Siederdissen ...
34.288462
104
0.589456
hoehnp
3499dfbefbb8fb56a97b1c6fbe1be4376551d123
248
cpp
C++
FSM_firmware/src/states/read_state.cpp
jcsb1994/Atmega328p_FSM_Template
3a25573bbcbf712452f3ce88a72d9945d99afcbe
[ "Apache-2.0" ]
null
null
null
FSM_firmware/src/states/read_state.cpp
jcsb1994/Atmega328p_FSM_Template
3a25573bbcbf712452f3ce88a72d9945d99afcbe
[ "Apache-2.0" ]
null
null
null
FSM_firmware/src/states/read_state.cpp
jcsb1994/Atmega328p_FSM_Template
3a25573bbcbf712452f3ce88a72d9945d99afcbe
[ "Apache-2.0" ]
null
null
null
#include "main.h" #include "FSM/states.h" #include "FSM/events.h" void read_state_handler() { /* Read sensors, solve refresh flags, ... */ switch (machine.poll()) { case event::nothing: default: break; } }
13.777778
42
0.568548
jcsb1994
349eccbaf433111c6f73122ce936a3ff8eafc689
1,450
cpp
C++
plugin_III/game_III/CAnimBlendNode.cpp
Aleksandr-Belousov/plugin-sdk
5ca5f7d5575ae4138a4f165410a1acf0ae922260
[ "Zlib" ]
3
2020-01-25T18:54:05.000Z
2022-03-23T09:27:09.000Z
plugin_III/game_III/CAnimBlendNode.cpp
Kewun0/plugin-sdk-master
561188779aaa4946ba4ab8ac3e044f2044261e4b
[ "Zlib" ]
null
null
null
plugin_III/game_III/CAnimBlendNode.cpp
Kewun0/plugin-sdk-master
561188779aaa4946ba4ab8ac3e044f2044261e4b
[ "Zlib" ]
3
2020-10-03T21:34:05.000Z
2020-12-19T01:52:38.000Z
/* Plugin-SDK (Grand Theft Auto 3) header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CAnimBlendNode.h" // Converted from thiscall void CAnimBlendNode::CalcDeltas(void) 0x401E70 void CAnimBlendNode::CalcDeltas() ...
38.157895
96
0.766897
Aleksandr-Belousov
34a5c1e5808588561f1664b3c0a995e47156880e
358
hpp
C++
include/backend/json_schema.hpp
tjanc/apibc
76cf31db51822c7853c427306a8defe54ab9bfe0
[ "MIT" ]
null
null
null
include/backend/json_schema.hpp
tjanc/apibc
76cf31db51822c7853c427306a8defe54ab9bfe0
[ "MIT" ]
null
null
null
include/backend/json_schema.hpp
tjanc/apibc
76cf31db51822c7853c427306a8defe54ab9bfe0
[ "MIT" ]
null
null
null
// backend/json_schema.hpp // // (c) 2018 Thomas Jandecka // #ifndef APIBC_BACKEND_JSON_SCHEMA_H #define APIBC_BACKEND_JSON_SCHEMA_H #include <iostream> #include <core/elements/elements.hpp> namespace apibc { namespace backend { std::ostream& serialize_json_schema(std::ostream& out, const core::elem...
16.272727
100
0.72067
tjanc
34a807b5529f973e1263948bf35ccadae5e0e13a
11,203
cpp
C++
Source/IntegratedExternals/vaImguiIntegration.cpp
GameTechDev/XeGTAO
0d177ce06bfa642f64d8af4de1197ad1bcb862d4
[ "MIT" ]
318
2021-08-20T10:16:12.000Z
2022-03-24T03:08:16.000Z
Source/IntegratedExternals/vaImguiIntegration.cpp
s-nase/XeGTAO
11e439c33e3dd7c1e4ea0fc73733ca840bc95bec
[ "MIT" ]
5
2021-09-03T11:40:54.000Z
2022-02-09T12:37:12.000Z
Source/IntegratedExternals/vaImguiIntegration.cpp
s-nase/XeGTAO
11e439c33e3dd7c1e4ea0fc73733ca840bc95bec
[ "MIT" ]
22
2021-09-02T03:33:18.000Z
2022-02-23T06:36:39.000Z
#include "vaImguiIntegration.h" #ifndef IMGUI_DEFINE_MATH_OPERATORS #define IMGUI_DEFINE_MATH_OPERATORS #endif #include "IntegratedExternals\imgui\imgui_internal.h" using namespace Vanilla; #ifdef VA_IMGUI_INTEGRATION_ENABLED bool Vanilla::ImguiEx_VectorOfStringGetter( void * strVectorPtr, int n, const char** out_t...
38.764706
236
0.589217
GameTechDev
34a9d977e2862efa02f629846e29b20ad6bd0d8a
905
cpp
C++
src/my_functions/my_functions.cpp
georgjz/simple-opengl-project-template
f7e9538aba0252cfc13e33d7f7226b2032792ba1
[ "MIT" ]
null
null
null
src/my_functions/my_functions.cpp
georgjz/simple-opengl-project-template
f7e9538aba0252cfc13e33d7f7226b2032792ba1
[ "MIT" ]
null
null
null
src/my_functions/my_functions.cpp
georgjz/simple-opengl-project-template
f7e9538aba0252cfc13e33d7f7226b2032792ba1
[ "MIT" ]
null
null
null
#include "my_functions/my_functions.hpp" // process all input: query GLFW whether relevant keys are pressed/released this frame and react accordingly // --------------------------------------------------------------------------------------------------------- void processInput( GLFWwindow *window ) { if( glfwGetKey...
45.25
108
0.571271
georgjz
34abbf6648e51dd8eb4d58f3db2bd917b7979b8f
910
cpp
C++
week-3/3-car_fueling.cpp
anurag8546/Algorithmic_Toolbox-COURSERA-
bfca4a74a2725c66f38ec15a591d1b5132d92007
[ "MIT" ]
1
2021-07-03T10:49:36.000Z
2021-07-03T10:49:36.000Z
week-3/3-car_fueling.cpp
anurag8546/Algorithmic_Toolbox-COURSERA-
bfca4a74a2725c66f38ec15a591d1b5132d92007
[ "MIT" ]
null
null
null
week-3/3-car_fueling.cpp
anurag8546/Algorithmic_Toolbox-COURSERA-
bfca4a74a2725c66f38ec15a591d1b5132d92007
[ "MIT" ]
null
null
null
/* author:-Anurag Mishra problem:-algo_tb(week3(problem-3)) */ #include <bits/stdc++.h> #include<vector> using namespace std; int car_fueling(int tot_dist, int max_dis, vector<int>&v, int count = 0) { int c= 0; int refillPos = -2; int i = 0; int currLocation = 0; v.push_back(tot_dist); while (t...
17.843137
72
0.464835
anurag8546
34b58f35fe73556172a26a9d9a92a8c29c66775e
156
cpp
C++
LifeBrush/Source/LifeBrush/Tools/SnapController.cpp
timdecode/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
33
2019-04-23T23:00:09.000Z
2021-11-09T11:44:09.000Z
LifeBrush/Source/LifeBrush/Tools/SnapController.cpp
MyelinsheathXD/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
1
2019-10-09T15:57:56.000Z
2020-03-05T20:01:01.000Z
LifeBrush/Source/LifeBrush/Tools/SnapController.cpp
MyelinsheathXD/LifeBrush
dbc65bcc0ec77f9168e08cf7b39539af94420725
[ "MIT" ]
6
2019-04-25T00:10:55.000Z
2021-04-12T05:16:28.000Z
// Copyright 2016 Timothy Davison, all rights reserved. // This was written for the game Ship Editor. #include "LifeBrush.h" #include "SnapController.h"
19.5
55
0.75
timdecode
34b5a4c9a0b58a97c33174a2afee8101ae428048
740
cc
C++
Part-I-The-Basics/Chapter-07-By-Value-or-by-Reference/7.1-passing-by-value.cc
RingZEROtlf/Cpp-Templates-Complete-Guide
e5de63f89019b8d688a7807f88cb0d5f7028b345
[ "MIT" ]
null
null
null
Part-I-The-Basics/Chapter-07-By-Value-or-by-Reference/7.1-passing-by-value.cc
RingZEROtlf/Cpp-Templates-Complete-Guide
e5de63f89019b8d688a7807f88cb0d5f7028b345
[ "MIT" ]
null
null
null
Part-I-The-Basics/Chapter-07-By-Value-or-by-Reference/7.1-passing-by-value.cc
RingZEROtlf/Cpp-Templates-Complete-Guide
e5de63f89019b8d688a7807f88cb0d5f7028b345
[ "MIT" ]
null
null
null
#include <iostream> #include <utility> template<typename T> void printV(T arg) {} int main() { std::string returnString(); std::string s = "hi"; printV(s); // copy constructor printV(std::string("hi")); // copying usually optimized away (if not, move constructor) printV(returnString()); ...
30.833333
90
0.606757
RingZEROtlf
34b758fadd7deff6d65b4956dd41cc77c585ee7b
698
cpp
C++
3_Arrays_and_Vectors/03_Multidimensional_Vectors.cpp
Nikikapralov/C-PP
19d72f52239314d50df43ed30c30b960fd29e9a5
[ "MIT" ]
null
null
null
3_Arrays_and_Vectors/03_Multidimensional_Vectors.cpp
Nikikapralov/C-PP
19d72f52239314d50df43ed30c30b960fd29e9a5
[ "MIT" ]
null
null
null
3_Arrays_and_Vectors/03_Multidimensional_Vectors.cpp
Nikikapralov/C-PP
19d72f52239314d50df43ed30c30b960fd29e9a5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { vector <int> vector_1; vector <int> vector_2; vector_1.push_back(10); vector_1.push_back(20); for (int i = 0; i < vector_1.size(); i++){ cout << vector_1.at(i) << endl; } cout << "Size: " << vector_1.size() << ...
22.516129
48
0.557307
Nikikapralov
34bdd0803b24484208b91bc434a0ceba39437d53
935
cc
C++
src/tracer_exception.cc
domenn/cppcommonutil
8f8f071a274a57e4d1bcf7f09935a08175c1204e
[ "Unlicense" ]
null
null
null
src/tracer_exception.cc
domenn/cppcommonutil
8f8f071a274a57e4d1bcf7f09935a08175c1204e
[ "Unlicense" ]
null
null
null
src/tracer_exception.cc
domenn/cppcommonutil
8f8f071a274a57e4d1bcf7f09935a08175c1204e
[ "Unlicense" ]
null
null
null
#include <d_exceptions.hpp> #include <utility> #include <fmt/format.h> d_common::exc::TracingException::TracingException(std::exception_ptr exc, const char* const funct, const char* const fn, int ln) : wrapped_exception_(std::move(exc)) { trace_str_.reserve(256...
33.392857
120
0.64385
domenn
34c862e0045a9e19b8524a03a4f6636ea9ceecb5
16,560
cpp
C++
Zephyrus.Test/zephyrus.test.cpp
Iciclez/Zephyrus
e0ea12e6d21bec5f19708ce95a4f685b848f265a
[ "MIT" ]
5
2018-02-04T17:11:20.000Z
2020-04-27T07:16:13.000Z
Zephyrus.Test/zephyrus.test.cpp
Iciclez/zephyrus
e0ea12e6d21bec5f19708ce95a4f685b848f265a
[ "MIT" ]
null
null
null
Zephyrus.Test/zephyrus.test.cpp
Iciclez/zephyrus
e0ea12e6d21bec5f19708ce95a4f685b848f265a
[ "MIT" ]
null
null
null
#include "pch.h" #include "CppUnitTest.h" #include "zephyrus.hpp" #include "disassembler.hpp" #include "aobscan.hpp" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace zephyrus_test { #ifdef _WIN64 __declspec(dllexport) int zephyrus_test_function() { return 0; } #elif _WIN32 __declspec...
39.241706
219
0.714915
Iciclez
34cde8c8167ef78d64b0029ea020d3d1734b95b8
35
cc
C++
src/jni_utils/jni_utils.cc
hidva/common
58dcf4d42ea1f8796cb5536be00c77aec7f48c6a
[ "BSD-3-Clause" ]
2
2018-11-03T11:14:36.000Z
2020-09-22T01:12:39.000Z
src/jni_utils/jni_utils.cc
hidva/common
58dcf4d42ea1f8796cb5536be00c77aec7f48c6a
[ "BSD-3-Clause" ]
null
null
null
src/jni_utils/jni_utils.cc
hidva/common
58dcf4d42ea1f8796cb5536be00c77aec7f48c6a
[ "BSD-3-Clause" ]
2
2018-02-26T07:17:48.000Z
2020-10-18T11:33:45.000Z
#include "jni_utils/jni_utils.h"
8.75
32
0.742857
hidva
34d3cb5d590fae31e3d7e35007c676cf143f3d1a
668
hpp
C++
include/loquat/graph/component_graph.hpp
logicmachine/loquat
162d22fb0098de37990bd469d7fbba8f990713aa
[ "MIT" ]
1
2019-07-15T10:19:12.000Z
2019-07-15T10:19:12.000Z
include/loquat/graph/component_graph.hpp
logicmachine/loquat
162d22fb0098de37990bd469d7fbba8f990713aa
[ "MIT" ]
null
null
null
include/loquat/graph/component_graph.hpp
logicmachine/loquat
162d22fb0098de37990bd469d7fbba8f990713aa
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "loquat/graph/types.hpp" namespace loquat { using belonging_components_t = std::vector<vertex_t>; template <typename EdgeType> adjacency_list<EdgeType> make_component_graph( const adjacency_list<EdgeType>& graph, const belonging_components_t& component_map) { using edge_typ...
20.875
53
0.697605
logicmachine
34d71b55c674f3251550bfc6bc1a5766a00d6362
1,799
cpp
C++
String/72. Edit Distance.cpp
YuPeize/LeetCode-
b01d00f28e1eedcb04aee9eca984685bd9d52791
[ "MIT" ]
2
2019-10-28T06:40:09.000Z
2022-03-09T10:50:06.000Z
String/72. Edit Distance.cpp
sumiya-NJU/LeetCode
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
null
null
null
String/72. Edit Distance.cpp
sumiya-NJU/LeetCode
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
1
2018-12-09T13:46:06.000Z
2018-12-09T13:46:06.000Z
/* 参考,用空间换时间,二维DP数组 */ class Solution { public: int minDistance(string word1, string word2) { int M = word1.size(); int N = word2.size(); if (!M) return N; if (!N) return M; int T[M+1][N+1]; T[0][0] = 0; for (int j = 1; j <= N; ...
24.643836
90
0.351306
YuPeize
34d72bf968e75498d8790cd3d5c747d8f8c4a532
333
hpp
C++
IOOverride/9/ClassJournal.hpp
pivandco/university
61ec6ee1af4469b4ce65987b06d6113e098c4041
[ "Unlicense" ]
2
2021-04-28T08:51:54.000Z
2021-08-14T08:07:15.000Z
IOOverride/9/ClassJournal.hpp
pivandco/university
61ec6ee1af4469b4ce65987b06d6113e098c4041
[ "Unlicense" ]
1
2021-05-17T15:44:27.000Z
2021-05-17T15:44:27.000Z
IOOverride/9/ClassJournal.hpp
pivandco/university
61ec6ee1af4469b4ce65987b06d6113e098c4041
[ "Unlicense" ]
null
null
null
#pragma once #include <iostream> #include <string> #include <vector> #include "Lesson.hpp" struct ClassJournal { std::string name; std::vector<Lesson> lessons; std::string to_string() const; }; std::istream &operator>>(std::istream &, ClassJournal &); std::ostream &operator<<(std::ostream &, const Clas...
18.5
63
0.684685
pivandco
34dceefa2740959481908ca2a02cf2b82f458464
1,413
cpp
C++
动态规划/背包/acwing_734.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
3
2020-11-16T08:58:30.000Z
2020-11-16T08:58:33.000Z
动态规划/背包/acwing_734.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
null
null
null
动态规划/背包/acwing_734.cpp
tempure/algorithm-advance
38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b
[ "MIT" ]
null
null
null
/* * @Description: 734. 能量石 * @Author: Xiaobin Ren * @Date: 2020-09-27 18:46:01 * @Last Modified time: 2020-09-27 18:46:20 */ #include <iostream> #include <algorithm> #include <cstring> using namespace std; typedef long long ll; typedef pair<int, int> pii; //贪心 邻项交换证明 以si/li 从小到大排序 //那么最优的吃的顺序 就是在升序的序列中产生 接着就是01背包 /...
22.078125
69
0.450106
tempure
34dde2e120aefb47f8476e45bab1ff1ac43cbeee
193
cpp
C++
CsBlockchain/Source/CsBlockchain/CsBlockchain.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsBlockchain/Source/CsBlockchain/CsBlockchain.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsBlockchain/Source/CsBlockchain/CsBlockchain.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2019 Closed Sum Games, LLC. All Rights Reserved. #include "CsBlockchain.h" IMPLEMENT_GAME_MODULE(FDefaultGameModuleImpl, CsBlockchain); DEFINE_LOG_CATEGORY(LogCsBlockchain);
32.166667
66
0.829016
closedsum
34e39af355255c04334eb04fa0d1bd4f9a0575c6
480
cc
C++
src/capture/stream.cc
ogukei/cinderella-screen
f3fb188e521cd2d0f960b1ec19d8a28c014d7c53
[ "MIT" ]
null
null
null
src/capture/stream.cc
ogukei/cinderella-screen
f3fb188e521cd2d0f960b1ec19d8a28c014d7c53
[ "MIT" ]
null
null
null
src/capture/stream.cc
ogukei/cinderella-screen
f3fb188e521cd2d0f960b1ec19d8a28c014d7c53
[ "MIT" ]
null
null
null
#include "stream.h" namespace imascs { namespace capture { winrt::com_ptr<IStream> CreateStreamFromRandomAccessStream( const winrt::Windows::Storage::Streams::IRandomAccessStream& stream) { winrt::com_ptr<IStream> result; auto unknown = stream.as<::IUnknown>(); winrt::check_hresult(::CreateStrea...
26.666667
123
0.716667
ogukei
34e4db4c8e2bf0e16bd2632f36999f1b8a2265ca
404
hpp
C++
graphics/shaders/IntConstNode.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
graphics/shaders/IntConstNode.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
graphics/shaders/IntConstNode.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#ifndef ___INANITY_GRAPHICS_SHADERS_INT_CONST_NODE_HPP___ #define ___INANITY_GRAPHICS_SHADERS_INT_CONST_NODE_HPP___ #include "ValueNode.hpp" BEGIN_INANITY_SHADERS /// Const with integer value. class IntConstNode : public ValueNode { private: int value; public: IntConstNode(int value); Type GetType() const; Dat...
15.538462
57
0.804455
quyse
34e79dea96cde098f348bd042aa63b331c4c84a9
4,058
hpp
C++
libs/Core/include/argos-Core/Syntax/ISyntaxNode.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
libs/Core/include/argos-Core/Syntax/ISyntaxNode.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
19
2021-12-01T20:37:23.000Z
2022-02-14T21:05:43.000Z
libs/Core/include/argos-Core/Syntax/ISyntaxNode.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
#ifndef ARGOS_CORE_SYNTAX_ISYNTAXNODE_H #define ARGOS_CORE_SYNTAX_ISYNTAXNODE_H #include <string> #include "argos-Core/argos_global.hpp" #include "argos-Core/Syntax/IHasFullWidthAndFullSpan.hpp" #include "argos-Core/Syntax/IHasPosition.hpp" #include "argos-Core/Syntax/IHasPositionIncludingTrivia.hpp" #include "argos-...
36.558559
124
0.666585
henrikfroehling
34e7ca0091e1503c88c2461a1ddae097fcfd6a42
33,099
cpp
C++
src/debug/netcoredbg/valuewalk.cpp
timedroid/netcoredbg
4fcfbba3a196d3dd4500eab1154c8fd6295d2162
[ "MIT" ]
null
null
null
src/debug/netcoredbg/valuewalk.cpp
timedroid/netcoredbg
4fcfbba3a196d3dd4500eab1154c8fd6295d2162
[ "MIT" ]
null
null
null
src/debug/netcoredbg/valuewalk.cpp
timedroid/netcoredbg
4fcfbba3a196d3dd4500eab1154c8fd6295d2162
[ "MIT" ]
1
2020-07-15T02:31:53.000Z
2020-07-15T02:31:53.000Z
// Copyright (c) 2017 Samsung Electronics Co., LTD // Distributed under the MIT License. // See the LICENSE file in the project root for more information. #include "manageddebugger.h" #include <sstream> #include <mutex> #include <memory> #include <unordered_set> #include <vector> #include <list> #include "cputil.h" ...
31.284499
133
0.602526
timedroid
34f0fb156267c37e19f5937d644edd33b47a3a10
21,505
cpp
C++
tests/unit/tests/basic_tests.cpp
drov0/hive
747380ac6d1d621a99c94ccf3fd24bbece754a57
[ "MIT" ]
283
2020-03-20T02:13:12.000Z
2022-03-31T22:40:07.000Z
tests/unit/tests/basic_tests.cpp
drov0/hive
747380ac6d1d621a99c94ccf3fd24bbece754a57
[ "MIT" ]
19
2020-03-20T03:09:16.000Z
2021-08-28T22:35:09.000Z
tests/unit/tests/basic_tests.cpp
drov0/hive
747380ac6d1d621a99c94ccf3fd24bbece754a57
[ "MIT" ]
94
2020-03-20T01:53:05.000Z
2022-03-04T11:08:23.000Z
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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 limitat...
40.652174
146
0.565031
drov0
34f3bd27025bd84ffb652ddf7b30ee2dfbe28e38
509
hpp
C++
alignment/algorithms/alignment/sdp/FragmentSortImpl.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
alignment/algorithms/alignment/sdp/FragmentSortImpl.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
alignment/algorithms/alignment/sdp/FragmentSortImpl.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#include <alignment/algorithms/alignment/sdp/FragmentSort.hpp> template <typename T_Fragment> int LexicographicFragmentSort<T_Fragment>::operator()(const T_Fragment &a, const T_Fragment &b) const { return a.LessThanXY(b); } template <typename T_Fragment> int L...
31.8125
83
0.609037
ggraham
34f727b52957303a22688f819ac56fe5d803d00c
8,769
hpp
C++
Le_Chiffre/signatures.hpp
yizhongrenya/le_chiffre
39b45203c1670853a65f73a74c96bbe3040ea144
[ "MIT" ]
null
null
null
Le_Chiffre/signatures.hpp
yizhongrenya/le_chiffre
39b45203c1670853a65f73a74c96bbe3040ea144
[ "MIT" ]
null
null
null
Le_Chiffre/signatures.hpp
yizhongrenya/le_chiffre
39b45203c1670853a65f73a74c96bbe3040ea144
[ "MIT" ]
null
null
null
#ifndef SIGNATURES_HPP #define SIGNATURES_HPP #pragma once #include <cstddef> // 2021-12-28 16:05:26.803053300 UTC namespace hazedumper { constexpr ::std::int64_t timestamp = 1640707526; namespace netvars { constexpr ::std::ptrdiff_t cs_gamerules_data = 0x0; constexpr ::std::ptrdiff_t m_ArmorValue = 0x117CC; c...
53.469512
72
0.768503
yizhongrenya
34f9fea03782ecc73883bb1b368b5bfb06c6d28b
1,829
cpp
C++
designer/editor/main.cpp
DarksKnight/nim_duilib_designer
100a2a4e796d0b5c4a4d7a3e33bf9fce3758a5b7
[ "Apache-2.0" ]
null
null
null
designer/editor/main.cpp
DarksKnight/nim_duilib_designer
100a2a4e796d0b5c4a4d7a3e33bf9fce3758a5b7
[ "Apache-2.0" ]
null
null
null
designer/editor/main.cpp
DarksKnight/nim_duilib_designer
100a2a4e796d0b5c4a4d7a3e33bf9fce3758a5b7
[ "Apache-2.0" ]
null
null
null
// basic.cpp : 定义应用程序的入口点。 // #include "stdafx.h" #include "main.h" #include "form/EditorForm.h" #include "extern_ctrl/ExternCtrlManager.h" #include <ShlObj_core.h> int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, ...
27.298507
100
0.735921
DarksKnight
5a57099e3a48f9745694fa52229bafabd9be2343
1,084
cpp
C++
10-Days-Of-Statistics/Day1/InterQuartileRange.cpp
v1nc1d4/HackerRank-Solutions
907d55b3f18f29db2392fceab55abd7aee47fd45
[ "MIT" ]
3
2020-08-24T14:15:35.000Z
2021-08-23T09:19:32.000Z
10-Days-Of-Statistics/Day1/InterQuartileRange.cpp
v1nc1d4/HackerRank-Solutions
907d55b3f18f29db2392fceab55abd7aee47fd45
[ "MIT" ]
null
null
null
10-Days-Of-Statistics/Day1/InterQuartileRange.cpp
v1nc1d4/HackerRank-Solutions
907d55b3f18f29db2392fceab55abd7aee47fd45
[ "MIT" ]
1
2021-08-23T09:19:40.000Z
2021-08-23T09:19:40.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; double quad(vector<int> a) { double q; int n=a.size(); if(n%2==0) q = (double)(a[n/2-1] + a[n/2])/2; else q = (double)a[n/2]; return q; } int main() { ...
15.710145
54
0.413284
v1nc1d4
5a6249697ba52d97f0e80346482ae5f311c901a9
852
cpp
C++
tests/Unit/Parallel/Test_ParallelComponentHelpers.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
tests/Unit/Parallel/Test_ParallelComponentHelpers.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
tests/Unit/Parallel/Test_ParallelComponentHelpers.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Parallel/ParallelComponentHelpers.hpp" // IWYU pragma: keep #include "Utilities/TMPL.hpp" #include "Utilities/TypeTraits.hpp" namespace { struct Tag0 {}; struct Tag1 {}; struct Tag2 {}; struct Tag3 {}; struct Action0 { using inbox_tag...
26.625
77
0.679577
marissawalker
5a6474f78f25da2c1a0730e0699ea96f3c25a4d2
3,223
hpp
C++
src/frontend/transfer/Archive.hpp
common-tools-interface/cti
53ae8cbbc847060098e1594343cc6aef4b834737
[ "Linux-OpenIB" ]
8
2019-07-25T15:18:35.000Z
2021-12-09T07:21:12.000Z
src/frontend/transfer/Archive.hpp
common-tools-interface/cti
53ae8cbbc847060098e1594343cc6aef4b834737
[ "Linux-OpenIB" ]
10
2019-07-25T15:28:32.000Z
2022-01-20T12:25:01.000Z
src/frontend/transfer/Archive.hpp
common-tools-interface/cti
53ae8cbbc847060098e1594343cc6aef4b834737
[ "Linux-OpenIB" ]
null
null
null
/******************************************************************************\ * Archive.hpp * * Copyright 2013-2020 Hewlett Packard Enterprise Development LP. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditio...
35.811111
91
0.66615
common-tools-interface
5a65c39f405c7ca10d10318686a307d6f9492580
1,254
hpp
C++
MPMissions/DayZ_Epoch_24.Napf/Configs/CfgLoot/Groups/Tools.hpp
TheFirstNoob/FireFly-DayZ-Epoch-1.0.7
43eb894f842e85e8ecbffa87734d356abbdc7348
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
MPMissions/DayZ_Epoch_24.Napf/Configs/CfgLoot/Groups/Tools.hpp
TheFirstNoob/FireFly-DayZ-Epoch-1.0.7
43eb894f842e85e8ecbffa87734d356abbdc7348
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
MPMissions/DayZ_Epoch_24.Napf/Configs/CfgLoot/Groups/Tools.hpp
TheFirstNoob/FireFly-DayZ-Epoch-1.0.7
43eb894f842e85e8ecbffa87734d356abbdc7348
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2021-07-15T20:09:13.000Z
2022-02-23T19:21:13.000Z
// This file was created to group tools into different categories // Melee weapons hatchet, machete, crowbar, and baseball bat added directly to building loot. // This list contains small tools that can spawn anywhere ToolsSurvival[] = { {Loot_TOOL, 1, ItemKnife}, {Loot_TOOL, 1, ItemMap}, {Loot_TOOL, 1, ItemW...
31.35
95
0.700957
TheFirstNoob
5a6774c0a61027124f3e095e5f286e2a1adfee8c
279
hpp
C++
include/singlerot.hpp
dmishin/revca_spaceship_searcher
00601f2314da9feb376f1649bf947a5ce961d728
[ "MIT" ]
1
2021-02-18T20:04:57.000Z
2021-02-18T20:04:57.000Z
include/singlerot.hpp
dmishin/revca_spaceship_searcher
00601f2314da9feb376f1649bf947a5ce961d728
[ "MIT" ]
null
null
null
include/singlerot.hpp
dmishin/revca_spaceship_searcher
00601f2314da9feb376f1649bf947a5ce961d728
[ "MIT" ]
null
null
null
#ifndef __SINGLEROT_HPP_INCLUDED__ #define __SINGLEROT_HPP_INCLUDED__ #include "streamed_analysys.hpp" class SinglerotCoralFilter: public PatternFilter{ public: virtual bool check( const Pattern &p); }; class MargolusBinaryRule; extern MargolusBinaryRule singlerot; #endif
18.6
49
0.827957
dmishin
5a688798a2e3dee97cf10b0e491e1fc229bc9ed3
744
hpp
C++
src/com/Range.hpp
awwdev/MiniSTL
218998f6109a2a42c0017b4255bec48a235998c3
[ "MIT" ]
5
2021-02-10T19:14:32.000Z
2021-11-19T13:29:55.000Z
src/com/Range.hpp
awwdev/MiniSTL
218998f6109a2a42c0017b4255bec48a235998c3
[ "MIT" ]
41
2020-05-16T09:56:45.000Z
2020-07-05T15:14:33.000Z
src/com/Range.hpp
awwdev/MiniSTL
218998f6109a2a42c0017b4255bec48a235998c3
[ "MIT" ]
2
2021-07-21T22:21:41.000Z
2021-09-06T19:25:11.000Z
//https://github.com/awwdev #pragma once #include "com/Types.hpp" namespace rpg::com { template<typename T1, class T2 = T1> struct Pair { union { struct { T1 first; T2 second; }; struct { T1 begin; T2 end; ...
15.829787
65
0.512097
awwdev
5a69370d4e877621c78ad4c7004175874f4ae048
1,048
cpp
C++
src/HartSpec.cpp
NotThatJonSmith/HartKit
dd218b82df4d87ca9c3d39ccc47cad2958839c7c
[ "MIT" ]
1
2022-02-08T02:28:20.000Z
2022-02-08T02:28:20.000Z
src/HartSpec.cpp
NotThatJonSmith/HartKit
dd218b82df4d87ca9c3d39ccc47cad2958839c7c
[ "MIT" ]
null
null
null
src/HartSpec.cpp
NotThatJonSmith/HartKit
dd218b82df4d87ca9c3d39ccc47cad2958839c7c
[ "MIT" ]
null
null
null
#include <HartSpec.hpp> void HartSpec::SetPrivWidthSupport(RISCV::PrivilegeMode priv, RISCV::XlenMode xlen, bool enabled) { supportWidthPrivilege[xlen][priv] = enabled; } void HartSpec::SetWidthSupport(RISCV::XlenMode xlen, bool enabled) { supportWidthPrivilege[xlen][RISCV::PrivilegeMode::Machine] = enabled; ...
37.428571
107
0.740458
NotThatJonSmith
5a6a20e16dad0e262df02946a38fc0e674844b70
2,465
hpp
C++
hpx/runtime/actions/action_manager.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/runtime/actions/action_manager.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/runtime/actions/action_manager.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2008 Anshul Tandon // // 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) #if !defined(HPX_ACTION_MANAGER_ACTION_MANAGER_JUN_03_2008_0445PM) #define HPX_ACTION_MANAGER_ACTION_MANAGER_JUN_03_200...
35.214286
85
0.685193
kempj
5a70c634cccc54f0656a7e05321dcb4f7b0bf1c1
657
hpp
C++
include/RED4ext/Scripting/Natives/Generated/game/ui/CrosshairContainerController.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-03-18T17:22:09.000Z
2022-03-18T17:22:09.000Z
include/RED4ext/Scripting/Natives/Generated/game/ui/CrosshairContainerController.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
null
null
null
include/RED4ext/Scripting/Natives/Generated/game/ui/CrosshairContainerController.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-02-13T01:44:55.000Z
2022-02-13T01:44:55.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/NativeTypes.hpp> #include <RED4ext/Scripting/Natives/Generated/game/ui/HUDGameController.hpp> namespace RED4ext { namespace game::ui { struct CrosshairContainerController : game:...
27.375
77
0.764079
jackhumbert
5a71c211efcabab71cd02da24958f5547b5e30bb
2,069
cc
C++
Glob/tests/testPattern.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2019-07-29T04:07:29.000Z
2019-07-29T04:07:29.000Z
Glob/tests/testPattern.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
Glob/tests/testPattern.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2020-03-04T17:13:04.000Z
2020-03-04T17:13:04.000Z
#include <cc/Pattern> #include <cc/testing> #include <cc/DEBUG> using namespace cc; using namespace cc; int main(int argc, char **argv) { TestCase { "Globbing", []{ Pattern pattern { "*.(c|h){..2:[^.]}^" }; CC_INSPECT(pattern.explain()); CC_CHECK(pattern.match...
26.525641
96
0.41856
frankencode
5a73245767d65da4afb2a11d28282814a7a15b7d
32,132
cpp
C++
tests/geomodel/core/test-transfer-attributes-gm-gmm.cpp
ringmesh/RINGMesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
74
2017-10-26T15:40:23.000Z
2022-03-22T09:27:39.000Z
tests/geomodel/core/test-transfer-attributes-gm-gmm.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
45
2017-10-26T15:54:01.000Z
2021-01-27T10:16:34.000Z
tests/geomodel/core/test-transfer-attributes-gm-gmm.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
17
2018-03-27T11:31:24.000Z
2022-03-06T18:41:52.000Z
/* * Copyright (c) 2012-2018, Association Scientifique pour la Geologie et ses * Applications (ASGA). All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code mus...
42.502646
80
0.562523
ringmesh
5a7553962c3ceb0fc670b7c478246bb36746e4b7
2,699
cpp
C++
String_Algorithms/1week/suffix_tree/suffix_tree.cpp
vaibhav201291/String-Algorthms
98e1e53273836d49d32c4e2d4981c81815ad560e
[ "MIT" ]
null
null
null
String_Algorithms/1week/suffix_tree/suffix_tree.cpp
vaibhav201291/String-Algorthms
98e1e53273836d49d32c4e2d4981c81815ad560e
[ "MIT" ]
null
null
null
String_Algorithms/1week/suffix_tree/suffix_tree.cpp
vaibhav201291/String-Algorthms
98e1e53273836d49d32c4e2d4981c81815ad560e
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <string> #include <vector> using std::cin; using std::cout; using std::endl; using std::map; using std::pair; using std::string; using std::vector; typedef map<char, int> edges; typedef vector<edges> trie; // trie build_trie(string &text) // { // retu...
23.469565
78
0.499074
vaibhav201291
5a7bf2f5e07f661c4d015317e0f816d9de9970a3
287
cpp
C++
removecharacters.cpp
mishrajiharsh219/most-basic-c-programs
2be753ae6ac639d26e1a042e9ecf2da3a8c10be7
[ "MIT" ]
null
null
null
removecharacters.cpp
mishrajiharsh219/most-basic-c-programs
2be753ae6ac639d26e1a042e9ecf2da3a8c10be7
[ "MIT" ]
null
null
null
removecharacters.cpp
mishrajiharsh219/most-basic-c-programs
2be753ae6ac639d26e1a042e9ecf2da3a8c10be7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { string s; getline(cin,s); for (int i = 0; i <s.size(); i++) { if ((s[i] >= char(65)) && (s[i] <= char(122))) continue; else s[i]='\0'; } cout<<s; return 0; }
16.882353
54
0.414634
mishrajiharsh219
5a7df59218feb5aef7dc2562819cd96e02a8225e
575
cpp
C++
helpers/consoleReader/main.cpp
mjiricka/gongfu-tea-timer
f4bec066d7c5955a7338603ecf10079ccf5a661e
[ "MIT" ]
null
null
null
helpers/consoleReader/main.cpp
mjiricka/gongfu-tea-timer
f4bec066d7c5955a7338603ecf10079ccf5a661e
[ "MIT" ]
null
null
null
helpers/consoleReader/main.cpp
mjiricka/gongfu-tea-timer
f4bec066d7c5955a7338603ecf10079ccf5a661e
[ "MIT" ]
null
null
null
#include <iostream> #include <thread> #include <ConsoleReader.h> using std::cout; using std::endl; using std::this_thread::sleep_for; using std::chrono::milliseconds; int main() { ConsoleReader cr; cr.startSession(); const milliseconds sleepTime{200}; for (int i = 1; i <= 10; ++i) { sleep_f...
15.540541
48
0.549565
mjiricka
5a8aa4809da6f2d2434314c746ab69942582853d
2,010
cxx
C++
Libs/VTK/Filtering/Testing/Cpp/msvVTKPolyDataBoundaryEdgeCapsTest1.cxx
MSV-Project/MSVTK
f988a31f2320eeeafe8d90697748231d69ecd89e
[ "Apache-2.0" ]
1
2019-07-21T17:24:27.000Z
2019-07-21T17:24:27.000Z
Libs/VTK/Filtering/Testing/Cpp/msvVTKPolyDataBoundaryEdgeCapsTest1.cxx
MSV-Project/MSVTK
f988a31f2320eeeafe8d90697748231d69ecd89e
[ "Apache-2.0" ]
null
null
null
Libs/VTK/Filtering/Testing/Cpp/msvVTKPolyDataBoundaryEdgeCapsTest1.cxx
MSV-Project/MSVTK
f988a31f2320eeeafe8d90697748231d69ecd89e
[ "Apache-2.0" ]
null
null
null
/*============================================================================== Library: MSVTK Copyright (c) Kitware 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 http://w...
30.454545
80
0.661692
MSV-Project
5a8c5a5531790df40fd21ee2e499218044a1951a
9,671
cpp
C++
tests/test.cpp
SiddiqSoft/rwlcontainer
34a35fe08e63ab6096e84aae9f3f942bb05bff86
[ "BSD-3-Clause" ]
null
null
null
tests/test.cpp
SiddiqSoft/rwlcontainer
34a35fe08e63ab6096e84aae9f3f942bb05bff86
[ "BSD-3-Clause" ]
null
null
null
tests/test.cpp
SiddiqSoft/rwlcontainer
34a35fe08e63ab6096e84aae9f3f942bb05bff86
[ "BSD-3-Clause" ]
null
null
null
/* RWLContainer : tests Reader Writer lock wrapper for object access Repo: https://github.com/SiddiqSoft/RWLContainer BSD 3-Clause License Copyright (c) 2021, Siddiq Software LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that ...
24.797436
95
0.649261
SiddiqSoft
5a8ced894bd718664f9b5862ea658632e5c8dd9a
3,244
cpp
C++
src/qhttpserver.cpp
dev-breeze-com/c-srv
945eaf5e9136169cd1ca6622cd5c73d17b9e803e
[ "MIT" ]
null
null
null
src/qhttpserver.cpp
dev-breeze-com/c-srv
945eaf5e9136169cd1ca6622cd5c73d17b9e803e
[ "MIT" ]
null
null
null
src/qhttpserver.cpp
dev-breeze-com/c-srv
945eaf5e9136169cd1ca6622cd5c73d17b9e803e
[ "MIT" ]
null
null
null
/* * Copyright (c) 2015 Nathan Osman * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publis...
33.791667
80
0.73058
dev-breeze-com