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
a8d97b5b10aa2b55d7b2589445ebc5a1c4432de2
1,024
cpp
C++
LeetCode/97. Interleaving String.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
null
null
null
LeetCode/97. Interleaving String.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
null
null
null
LeetCode/97. Interleaving String.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
1
2020-05-20T18:36:31.000Z
2020-05-20T18:36:31.000Z
class Solution { vector<vector<vector<int>>> DP; int a, b, c; public: bool dp(int x, int y, int z, string &s1, string &s2, string &s3) { // cout<<x<<" "<<y<<" "<<z<<endl; if(z == c) return 1; if(DP[x][y][z] != -1) return DP[x][y][z]; DP[x][y][z] = ...
28.444444
81
0.365234
anubhawbhalotia
a8d99af2026727f6d3216f346544fe8760606327
817
cpp
C++
src/Emulators/vice/ViceInterface/ViceLogWrapper.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
34
2021-05-29T07:04:17.000Z
2022-03-10T20:16:03.000Z
src/Emulators/vice/ViceInterface/ViceLogWrapper.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-25T13:05:21.000Z
2022-01-19T17:35:17.000Z
src/Emulators/vice/ViceInterface/ViceLogWrapper.cpp
slajerek/RetroDebugger
e761e4f9efd103a05e65ef283423b142fa4324c7
[ "Apache-2.0", "MIT" ]
6
2021-12-24T18:37:41.000Z
2022-02-06T23:06:02.000Z
#include "DBG_Log.h" extern "C" { #include "ViceLogWrapper.h" } void vice_wrapper_log_message(char *message) { LOGVM("%s", message); } void vice_wrapper_log_warning(char *message) { // LOGWarning("%s", message); LOGA("%s", message); } void vice_wrapper_log_error(char *message) { LOGError("%s", message); } void ...
14.086207
46
0.719706
slajerek
a8dfc904e4187166db5c17002b818fe24be3b6d3
477
cpp
C++
Source/Scene/Components/Lights/DirectionalLightComponent.cpp
aaronmjacobs/Swap
955f36bc95b6829bf1a1a89b430df7816c065ac0
[ "MIT" ]
null
null
null
Source/Scene/Components/Lights/DirectionalLightComponent.cpp
aaronmjacobs/Swap
955f36bc95b6829bf1a1a89b430df7816c065ac0
[ "MIT" ]
null
null
null
Source/Scene/Components/Lights/DirectionalLightComponent.cpp
aaronmjacobs/Swap
955f36bc95b6829bf1a1a89b430df7816c065ac0
[ "MIT" ]
null
null
null
#include "Scene/Components/Lights/DirectionalLightComponent.h" #include "Scene/Scene.h" SWAP_REGISTER_COMPONENT(DirectionalLightComponent) DirectionalLightComponent::DirectionalLightComponent(Entity& owningEntity) : LightComponent(owningEntity) { shadowClipBounds.extent = glm::vec3(100.0f); getScene().regi...
25.105263
74
0.81761
aaronmjacobs
a8ecb0635e1e48d1fdd6ab726664ca6102d6529a
1,006
cpp
C++
src/ticker-sched-test/main.cpp
dalehuangzihan/infos-user
14a85e86f7f92041cda50155d9c381dc6fd93ef0
[ "MIT" ]
null
null
null
src/ticker-sched-test/main.cpp
dalehuangzihan/infos-user
14a85e86f7f92041cda50155d9c381dc6fd93ef0
[ "MIT" ]
null
null
null
src/ticker-sched-test/main.cpp
dalehuangzihan/infos-user
14a85e86f7f92041cda50155d9c381dc6fd93ef0
[ "MIT" ]
null
null
null
/* SPDX-License-Identifier: MIT */ #include <infos.h> static volatile bool terminate; static void ticker1_thread_proc(void *arg) { printf("Thread 1 ticking every 1.5s\n"); while (!terminate) { printf("TICK 1!\n"); usleep(1500000); } stop_thread(HTHREAD_SELF); } static void ticker2_t...
20.12
58
0.641153
dalehuangzihan
a8ee2f708e527c3f241a7ae3c45505febc37e4d5
1,845
cpp
C++
main.cpp
ryanboldi/Greatest-Common-Divisor
45565f38e47f8a39d5273ad3fdd3d92ff321d6aa
[ "MIT" ]
null
null
null
main.cpp
ryanboldi/Greatest-Common-Divisor
45565f38e47f8a39d5273ad3fdd3d92ff321d6aa
[ "MIT" ]
null
null
null
main.cpp
ryanboldi/Greatest-Common-Divisor
45565f38e47f8a39d5273ad3fdd3d92ff321d6aa
[ "MIT" ]
null
null
null
//trying to use euclidean algorithm for this #include <iostream> #include <climits> using namespace std; //function declaration int recursiveGCD(int a, int b); int nonRecursiveGCD(int a, int b); int main() { cout << "Welcome to the GCD Calculator" << endl; int a = 0; int b = 0; do{ cout <<...
24.276316
109
0.475881
ryanboldi
a8ee88d61400df32c624a00d030227e433b958fa
39,722
cc
C++
wrspice/devlib/bsim3.3.0/b3askm.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/devlib/bsim3.3.0/b3askm.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/devlib/bsim3.3.0/b3askm.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
30.438314
79
0.57691
wrcad
a8f0922952420b2edf6326d6ca640ed91b02888e
1,930
hpp
C++
src/yaecs/mpl/mpl.hpp
RC0M3RT/yaecs
2ed0da25c11ba06d2063a531ec763f290203aeab
[ "Unlicense" ]
null
null
null
src/yaecs/mpl/mpl.hpp
RC0M3RT/yaecs
2ed0da25c11ba06d2063a531ec763f290203aeab
[ "Unlicense" ]
null
null
null
src/yaecs/mpl/mpl.hpp
RC0M3RT/yaecs
2ed0da25c11ba06d2063a531ec763f290203aeab
[ "Unlicense" ]
null
null
null
#pragma once #include <type_traits> #include <cstdint> namespace yaecs{ namespace mpl{ /** * @brief type list * * @tparam Ts Types */ template<typename... Ts> struct type_list {}; namespace detail{ template<typename seq> struct size_impl; template<template <typename...> class seq, typename... Ts>...
24.43038
119
0.659585
RC0M3RT
5ef303a7ffa2354fe911a70acf3b2aab00027595
431
cpp
C++
src/ncurses/keys.cpp
Kirtsim/Memo-client-cli
a78eea6c50c6a68524eed1a3fccee65ae6d5d3ff
[ "MIT" ]
null
null
null
src/ncurses/keys.cpp
Kirtsim/Memo-client-cli
a78eea6c50c6a68524eed1a3fccee65ae6d5d3ff
[ "MIT" ]
1
2020-09-19T14:18:23.000Z
2021-02-24T22:21:19.000Z
src/ncurses/keys.cpp
Kirtsim/Memo-client-cli
a78eea6c50c6a68524eed1a3fccee65ae6d5d3ff
[ "MIT" ]
null
null
null
#include "keys.hpp" #include <ncurses.h> namespace memo { namespace curses { const int Key::kUp = KEY_UP; const int Key::kDown = KEY_DOWN; const int Key::kLeft = KEY_LEFT; const int Key::kRight = KEY_RIGHT; const int Key::kEnter = 10; const int Key::kEsc = 27; const int Key::kTab = 9; const int Key::kShiftTab = KEY_...
19.590909
36
0.700696
Kirtsim
5ef5ccea934934d0f3b2f3320f0b93b1426ee21a
20,320
cpp
C++
src/server/frame/tokenizer.cpp
jvirkki/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
13
2015-10-09T05:59:20.000Z
2021-11-12T10:38:51.000Z
src/server/frame/tokenizer.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
null
null
null
src/server/frame/tokenizer.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
6
2016-05-23T10:53:29.000Z
2019-12-13T17:57:32.000Z
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * * THE BSD LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribut...
32.408293
88
0.41624
jvirkki
5ef9e1b92118173d15a3d98cda6b905a6faad7f7
1,228
cpp
C++
Assignment2/Person.cpp
hebr3/cs211
27dc93cc6804682ae3dc8e7e5c1de50fe87e0569
[ "MIT" ]
null
null
null
Assignment2/Person.cpp
hebr3/cs211
27dc93cc6804682ae3dc8e7e5c1de50fe87e0569
[ "MIT" ]
null
null
null
Assignment2/Person.cpp
hebr3/cs211
27dc93cc6804682ae3dc8e7e5c1de50fe87e0569
[ "MIT" ]
null
null
null
// Henry Brooks // CS211 // Implementation file for the Person class. #include "Person.h" // Needed for the Person class #include <string> #include <iostream> using namespace std; // Person constructor Person::Person() { ID = "NoID"; firstName = "John"; lastName = "Doe"; gender = 'M'; age = 0; } Person::Person(s...
18.606061
67
0.630293
hebr3
5ef9f82c8ce67d1d8b53799bfa789ae2054f7938
1,571
cpp
C++
snippets/cpp/VS_Snippets_Data/XmlTextReader.LineNum/CPP/readlinenum.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-03-12T19:26:36.000Z
2022-01-10T21:45:33.000Z
snippets/cpp/VS_Snippets_Data/XmlTextReader.LineNum/CPP/readlinenum.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_Data/XmlTextReader.LineNum/CPP/readlinenum.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
//<snippet1> #using <System.Xml.dll> using namespace System; using namespace System::IO; using namespace System::Xml; int main() { // Create the XML fragment to be parsed. String^ xmlFrag = "<book>\n" "<misc>\n" "<style>paperback</style>\n" "<pages>240</pages>\n" "</misc>\n" "</book>\n"; ...
27.086207
105
0.586251
BohdanMosiyuk
5efa56e98d602f9a451cb1a3dca3c57c3eb5b9ee
5,447
cpp
C++
ClipBoard/ClipBoardDlg.cpp
zhaotianff/WindowsProgramming
3d208e3793c4efb568f75065fa5749f58a2ba73c
[ "MIT" ]
9
2020-10-28T09:08:24.000Z
2022-02-27T08:31:40.000Z
ClipBoard/ClipBoardDlg.cpp
zhaotianff/WindowsProgramming
3d208e3793c4efb568f75065fa5749f58a2ba73c
[ "MIT" ]
null
null
null
ClipBoard/ClipBoardDlg.cpp
zhaotianff/WindowsProgramming
3d208e3793c4efb568f75065fa5749f58a2ba73c
[ "MIT" ]
1
2021-01-22T09:21:25.000Z
2021-01-22T09:21:25.000Z
 // ClipBoardDlg.cpp: 实现文件 // #include "pch.h" #include "framework.h" #include "ClipBoard.h" #include "ClipBoardDlg.h" #include "afxdialogex.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // 用于应用程序“关于”菜单项的 CAboutDlg 对话框 class CAboutDlg : public CDialogEx { public: CAboutDlg(); // 对话框数据 #ifdef AFX_DESIGN_TIME en...
17.570968
95
0.699468
zhaotianff
5efa840cf8ec7ef9b41a371a171f956b1cc9d578
949
cpp
C++
Nef_3/examples/Nef_3/set_operations.cpp
brucerennie/cgal
314b94aafa9b08a1d086accd2cadff1aae1b57a9
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
Nef_3/examples/Nef_3/set_operations.cpp
brucerennie/cgal
314b94aafa9b08a1d086accd2cadff1aae1b57a9
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
Nef_3/examples/Nef_3/set_operations.cpp
brucerennie/cgal
314b94aafa9b08a1d086accd2cadff1aae1b57a9
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
#include <CGAL/Exact_integer.h> #include <CGAL/Extended_homogeneous.h> #include <CGAL/Nef_polyhedron_3.h> typedef CGAL::Exact_integer NT; typedef CGAL::Extended_homogeneous<NT> Kernel; typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron; typedef Nef_polyhedron::Plane_3 Plane_3; int main() { Nef_polyhedron N1...
33.892857
67
0.721812
brucerennie
6f07eedbf63e909d064e1bbe6f99e2542c79d845
3,057
cpp
C++
service/mediator.cpp
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
null
null
null
service/mediator.cpp
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
null
null
null
service/mediator.cpp
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
null
null
null
/* the mediator, contains routing,scheduling and sending control messeages to servers that control GPU */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <iostream> #include <fstream> #include <sys/socket.h> #include <arpa/inet.h> #include <unistd.h> #include <errno.h> #include <map> #include <glo...
22.644444
156
0.666012
csb1024
6f092f59bc197dfe9d2c0928bb1ed3dccd1e8ede
16,700
cc
C++
src/meta.pb.cc
dev-spirit/ZHT-1
2b02cf815036b4a4a5fd394d40dc5da377a62e80
[ "Apache-2.0" ]
33
2015-01-01T14:34:36.000Z
2022-03-14T01:43:54.000Z
src/meta.pb.cc
dev-spirit/ZHT-1
2b02cf815036b4a4a5fd394d40dc5da377a62e80
[ "Apache-2.0" ]
1
2016-04-03T20:38:00.000Z
2016-04-03T20:38:00.000Z
src/meta.pb.cc
dev-spirit/ZHT-1
2b02cf815036b4a4a5fd394d40dc5da377a62e80
[ "Apache-2.0" ]
11
2015-03-01T03:35:22.000Z
2017-11-20T12:39:41.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "meta.pb.h" #include <algorithm> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/wire_format_lite_inl.h> #include <google/protobuf/d...
32.938856
108
0.666527
dev-spirit
6f0953bb65695d61b3960ca3c8f72490470495bd
8,526
cpp
C++
build/linux-build/Sources/src/haxe/io/Input.cpp
5Mixer/GGJ20
a12a14d596ab150e8d96dda5a21defcd176f251f
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/haxe/io/Input.cpp
5Mixer/GGJ20
a12a14d596ab150e8d96dda5a21defcd176f251f
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/haxe/io/Input.cpp
5Mixer/GGJ20
a12a14d596ab150e8d96dda5a21defcd176f251f
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.5 #include <hxcpp.h> #ifndef INCLUDED_haxe_io_Bytes #include <hxinc/haxe/io/Bytes.h> #endif #ifndef INCLUDED_haxe_io_Encoding #include <hxinc/haxe/io/Encoding.h> #endif #ifndef INCLUDED_haxe_io_Eof #include <hxinc/haxe/io/Eof.h> #endif #ifndef INCLUDED_haxe_io_Error #include <hxinc/haxe/io/Err...
34.518219
217
0.673
5Mixer
6f0be69ea8f2730ad8be2c2aca64b3a2705be754
1,754
cc
C++
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/2.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/2.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/2.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
// { dg-options "-fno-implicit-templates" } // Copyright (C) 2004-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software...
26.984615
76
0.674458
best08618
6f0c7e6d61a2a4901c339d0a5e20122f0dd5a471
1,408
cpp
C++
testy/test_bitbang.cpp
Wiladams/nd
9575e050c18225a138255a39de6c50954db2e731
[ "MIT" ]
11
2020-04-25T02:37:13.000Z
2021-08-08T13:08:36.000Z
testy/test_bitbang.cpp
Wiladams/nd
9575e050c18225a138255a39de6c50954db2e731
[ "MIT" ]
null
null
null
testy/test_bitbang.cpp
Wiladams/nd
9575e050c18225a138255a39de6c50954db2e731
[ "MIT" ]
null
null
null
#include "bitbang.hpp" #include <cstdio> using namespace bitbang; void test_BITMASK() { printf("==== test_BITMASK ====\n"); printf("BITMASK64(0,2): 0x%llx\n", BITMASK64(0,2)); printf("BITMASK32(0,31): 0x%lx\n", BITMASK32(0,31)); printf("BITMASK32(0,15): 0x%08lx\n", BITMASK32(0,15)); printf("BITM...
27.076923
74
0.566761
Wiladams
6f0fdac0a46ac1d760f7628e14044623a992b470
781
cpp
C++
debugging/sol_dialog/sol_dialog.cpp
allstarschh/training-handout
86b16316e99ed5c1c7bc8dbb0a77dcf49c7e0a57
[ "BSD-3-Clause-Clear" ]
null
null
null
debugging/sol_dialog/sol_dialog.cpp
allstarschh/training-handout
86b16316e99ed5c1c7bc8dbb0a77dcf49c7e0a57
[ "BSD-3-Clause-Clear" ]
null
null
null
debugging/sol_dialog/sol_dialog.cpp
allstarschh/training-handout
86b16316e99ed5c1c7bc8dbb0a77dcf49c7e0a57
[ "BSD-3-Clause-Clear" ]
null
null
null
/************************************************************************* * * Copyright (c) 2016, Klaralvdalens Datakonsult AB (KDAB) * All rights reserved. * * See the LICENSE.txt file shipped along with this file for the license. * *************************************************************************/ #i...
26.931034
80
0.481434
allstarschh
6f10fac22eedb4af11600908a523f85c7986cba3
8,617
cc
C++
source/gpu_perf_api_unit_tests/counter_generator_cl_tests.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
61
2020-03-17T12:30:11.000Z
2022-03-01T18:59:11.000Z
source/gpu_perf_api_unit_tests/counter_generator_cl_tests.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
12
2020-03-24T15:46:54.000Z
2022-01-08T02:03:31.000Z
source/gpu_perf_api_unit_tests/counter_generator_cl_tests.cc
AdamJMiles/gpu_performance_api
7bd0c8b484b2a658610581e2e48b615606130fdc
[ "MIT" ]
19
2020-03-16T17:32:09.000Z
2022-03-29T23:35:31.000Z
//============================================================================== // Copyright (c) 2012-2021 Advanced Micro Devices, Inc. All rights reserved. /// @author AMD Developer Tools Team /// @file /// @brief Unit Tests for CL Counter Generator. //=================================================================...
39.527523
125
0.755135
AdamJMiles
6f199548166757f81a7ad269689a9739ff6f2ef8
1,419
cpp
C++
sources/Linux/apue_execise/threads/cleanup.cpp
mcoder2014/myNotes
443cf16b1873bb473b7cb6bc1a6ec9c6423333e7
[ "MIT" ]
4
2020-06-22T13:20:26.000Z
2020-06-24T08:43:11.000Z
sources/Linux/apue_execise/threads/cleanup.cpp
mcoder2014/DataStructureAndAlgorithms
443cf16b1873bb473b7cb6bc1a6ec9c6423333e7
[ "MIT" ]
null
null
null
sources/Linux/apue_execise/threads/cleanup.cpp
mcoder2014/DataStructureAndAlgorithms
443cf16b1873bb473b7cb6bc1a6ec9c6423333e7
[ "MIT" ]
null
null
null
#include "apue.h" #include <pthread.h> void cleanup(void *arg) { printf("cleanup: %s\n", (char *)arg); } void * thr_fn1(void *arg) { printf("thread 1 start\n"); pthread_cleanup_push(cleanup, const_cast<char*>("thread 1 first handler")); pthread_cleanup_push(cleanup, const_cast<char*>("thread 1 second handler")); ...
23.262295
78
0.670895
mcoder2014
6f1b067de1fa1d82375b4640eeb4f6d114394b7d
442
hpp
C++
Crisp/GUI/MemoryUsageBar.hpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
6
2017-09-14T03:26:49.000Z
2021-09-18T05:40:59.000Z
Crisp/GUI/MemoryUsageBar.hpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
null
null
null
Crisp/GUI/MemoryUsageBar.hpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
null
null
null
#pragma once #include "Panel.hpp" namespace crisp::gui { class Form; class Label; class StopWatch; class MemoryUsageBar : public Panel { public: MemoryUsageBar(Form* parentForm); virtual ~MemoryUsageBar(); private: std::unique_ptr<StopWatch> m_stopWatch; L...
19.217391
47
0.649321
FallenShard
6f1cf5e6ae9494c244df61a0b162ac0f5d72edc0
2,822
cpp
C++
test/UniqueCallpathTransformerTestMain.cpp
jplehr/InstRO
62a27e2c0cd24abc615e102c53bad08225aa8c0d
[ "BSD-3-Clause" ]
3
2016-03-30T06:37:59.000Z
2021-08-06T01:39:10.000Z
test/UniqueCallpathTransformerTestMain.cpp
jplehr/InstRO
62a27e2c0cd24abc615e102c53bad08225aa8c0d
[ "BSD-3-Clause" ]
13
2016-04-13T16:11:12.000Z
2018-04-16T11:06:45.000Z
test/UniqueCallpathTransformerTestMain.cpp
jplehr/InstRO
62a27e2c0cd24abc615e102c53bad08225aa8c0d
[ "BSD-3-Clause" ]
1
2019-01-28T17:57:09.000Z
2019-01-28T17:57:09.000Z
#include "instro.h" #include "lib/RoseTestSupport.h" #include "instro/utility/Logger.h" #include "instro/utility/Environment.h" #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> #include <boost/algorithm/string/trim.hpp> #include <boost/algorithm/string/split.hpp> #include <sstream> // Test fo...
38.657534
119
0.784904
jplehr
6f1daa5ad787d10fc32a8f9abae8dec18509c077
473
cpp
C++
src/0258.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0258.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0258.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <sstream> #include <algorithm> #include <map> #include <hash_map> #include <hash_set> #include <queue> #include <stack> using namespace std; class Solution { public: int addDigits(int num) { if (num < 10)return num; int sum = 0; ...
16.310345
32
0.553911
killf
6f206470d4071515ba756c1c658839387a148215
409
hpp
C++
include/observable/observable_is_class.hpp
ricardocosme/observable
2e8467723181cb7eb69879adac92f2e9d5beda15
[ "BSL-1.0" ]
1
2020-10-23T20:01:20.000Z
2020-10-23T20:01:20.000Z
include/observable/observable_is_class.hpp
ricardocosme/observable
2e8467723181cb7eb69879adac92f2e9d5beda15
[ "BSL-1.0" ]
4
2017-08-07T17:33:49.000Z
2017-09-26T17:40:47.000Z
include/observable/observable_is_class.hpp
ricardocosme/observable
2e8467723181cb7eb69879adac92f2e9d5beda15
[ "BSL-1.0" ]
null
null
null
// Copyright Ricardo Calheiros de Miranda Cosme 2017. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #define OBSERVABLE_IS_CLASS(oclass) \ namespace observable { \ template<> \ struct is_class<t...
25.5625
61
0.696822
ricardocosme
6f22e51e12f19c10c22fde97809c95bbecabdec2
656
cpp
C++
docs/mfc/codesnippet/CPP/cfontdialog-class_12.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
14
2018-01-28T18:10:55.000Z
2021-11-16T13:21:18.000Z
docs/mfc/codesnippet/CPP/cfontdialog-class_12.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/mfc/codesnippet/CPP/cfontdialog-class_12.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
2
2018-10-10T07:37:30.000Z
2019-06-21T15:18:07.000Z
// The code fragment creates a font based on the information // we got from CFontDialog::m_cf variable. CFontDialog dlg; if (dlg.DoModal() == IDOK) { // Create the font using the selected font from CFontDialog. LOGFONT lf; memcpy(&lf, dlg.m_cf.lpLogFont, sizeof(LOGFONT)); CFont...
29.818182
66
0.629573
jmittert
6f27c9d50a57531f726aabda56793dc7d022c9b5
979
cpp
C++
test3/test3/main.cpp
Jamxscape/LearnCPlusPlus
9770af743a2f6e9267421ff8fec93eb9d81c1f14
[ "Apache-2.0" ]
null
null
null
test3/test3/main.cpp
Jamxscape/LearnCPlusPlus
9770af743a2f6e9267421ff8fec93eb9d81c1f14
[ "Apache-2.0" ]
null
null
null
test3/test3/main.cpp
Jamxscape/LearnCPlusPlus
9770af743a2f6e9267421ff8fec93eb9d81c1f14
[ "Apache-2.0" ]
null
null
null
// // main.cpp // test3 // // Created by 马元 on 佛历2560-12-4. // Copyright © 佛历2560年 MaYuan. All rights reserved. // #include <iostream> using namespace std; int main(){ int n=10,m,length,b=2,k=0,l,length2; while(cin>>m){ length2=m; n=m+1; int a[n]; for(int i=1;i<=n;i++){ a[i]=i; ...
20.829787
62
0.433095
Jamxscape
6f2d0bc0fd8bafee6dc1a0856e3b23cb90bce5f0
7,274
cpp
C++
Testing/VisualPipes/albaVisualPipesTests.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Testing/VisualPipes/albaVisualPipesTests.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Testing/VisualPipes/albaVisualPipesTests.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaWizardWaitOpTest Authors: Gianluigi Crimi Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; without eve...
40.636872
78
0.756668
IOR-BIC
6f2d1da2640512e9cf3b4def4185375b33cd9111
450
cpp
C++
Loops/do-while-enter-a-letter.cpp
jesushilarioh/C-Plus-Plus
bbff921460ac4267af48558f040c7d82ccf42d5e
[ "MIT" ]
3
2019-10-28T01:12:46.000Z
2021-10-16T09:16:31.000Z
Loops/do-while-enter-a-letter.cpp
jesushilariohernandez/DelMarCSi.cpp
6dd7905daea510452691fd25b0e3b0d2da0b06aa
[ "MIT" ]
null
null
null
Loops/do-while-enter-a-letter.cpp
jesushilariohernandez/DelMarCSi.cpp
6dd7905daea510452691fd25b0e3b0d2da0b06aa
[ "MIT" ]
4
2020-04-10T17:22:17.000Z
2021-11-04T14:34:00.000Z
// JESUS HILARIO HERNANDEZ // Last Modified: October 4th, 2016 #include <iostream> using namespace std; int main() { char letter = 'a'; do { cout << "Please enter a letter" << endl; cin >> letter; cout << "The letter you entered is " << letter << endl; //Notify user that ...
19.565217
63
0.564444
jesushilarioh
6f2d5ce9959f51aebfd389a11275b889442a41c9
605
cpp
C++
checker/test/checker/s8.cpp
node-dot-cpp/safe-memory
4147b386ba932c84bc243160d7ff23cf0ece417d
[ "BSD-3-Clause" ]
13
2019-03-16T18:58:59.000Z
2021-11-24T10:21:21.000Z
checker/test/checker/s8.cpp
node-dot-cpp/safe-memory
4147b386ba932c84bc243160d7ff23cf0ece417d
[ "BSD-3-Clause" ]
41
2019-03-13T06:38:59.000Z
2020-06-26T20:51:43.000Z
checker/test/checker/s8.cpp
node-dot-cpp/safe-memory
4147b386ba932c84bc243160d7ff23cf0ece417d
[ "BSD-3-Clause" ]
2
2019-06-18T14:44:45.000Z
2020-02-19T12:27:27.000Z
// RUN: safememory-checker --library-db=%p/s8.json %s | FileCheck %s -implicit-check-not="{{warning|error}}:" #include <utility> #include <safememory/safe_ptr.h> #include <server.h> namespace [[safememory::memory_unsafe]] name { class UnsafeButOk { int *P = nullptr; }; } void func() { int i = 0; memset(&i,0,...
21.607143
109
0.661157
node-dot-cpp
6f2f458f9a87da86b6aa838c8326035093ccfd42
2,265
hpp
C++
naos/includes/kernel/fs/vfs/defines.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
14
2020-02-12T11:07:58.000Z
2022-02-02T00:05:08.000Z
naos/includes/kernel/fs/vfs/defines.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
null
null
null
naos/includes/kernel/fs/vfs/defines.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
4
2020-02-27T09:53:53.000Z
2021-11-07T17:43:44.000Z
#pragma once #include "../../types.hpp" #include "common.hpp" namespace fs { namespace permission_flags { enum permission : flag_t { exec = 1, write = 2, read = 4, group_exec = 16, group_write = 32, group_read = 64, other_exec = 256, other_write = 512, other_read = 1024, }; } // na...
13.168605
56
0.634437
kadds
6f33b4f1e63ae349491414bcc06eac8ab70900f0
2,973
hpp
C++
dynadjust/include/memory/dnamemory_handler.hpp
ccrook/DynAdjust
d8e5c3c441c3a7065807915d83fe623af0add2b8
[ "Apache-2.0" ]
44
2018-08-30T04:18:27.000Z
2022-02-01T05:37:18.000Z
dynadjust/include/memory/dnamemory_handler.hpp
ccrook/DynAdjust
d8e5c3c441c3a7065807915d83fe623af0add2b8
[ "Apache-2.0" ]
112
2018-08-30T09:33:42.000Z
2022-03-30T00:32:29.000Z
dynadjust/include/memory/dnamemory_handler.hpp
ccrook/DynAdjust
d8e5c3c441c3a7065807915d83fe623af0add2b8
[ "Apache-2.0" ]
29
2018-08-30T09:07:36.000Z
2022-02-25T05:16:08.000Z
//============================================================================ // Name : dnamemory_handler.hpp // Author : Roger Fraser // Contributors : // Version : 1.00 // Copyright : Copyright 2017 Geoscience Australia // // Licensed under the Apache License, Version 2.0 (the "L...
30.96875
90
0.660276
ccrook
6f345aa6ffbc06ed850fb23b255271d18266d9b6
7,490
cpp
C++
eltopo3d/meshrenderer.cpp
q349wang/eltopo
a63a43d2a890c53f8e0c51034c46ce01ead86564
[ "BSD-2-Clause" ]
91
2015-01-18T14:44:16.000Z
2022-03-24T14:59:39.000Z
eltopo3d/meshrenderer.cpp
q349wang/eltopo
a63a43d2a890c53f8e0c51034c46ce01ead86564
[ "BSD-2-Clause" ]
8
2015-11-04T07:35:15.000Z
2020-10-20T12:13:17.000Z
eltopo3d/meshrenderer.cpp
q349wang/eltopo
a63a43d2a890c53f8e0c51034c46ce01ead86564
[ "BSD-2-Clause" ]
28
2015-01-05T18:41:58.000Z
2022-03-24T14:59:40.000Z
// --------------------------------------------------------- // // meshrenderer.cpp // Tyson Brochu 2011 // // OpenGL rendering for a triangle mesh. // // --------------------------------------------------------- #include <meshrenderer.h> #ifndef NO_GUI #include <dynamicsurface.h> #include <gluvi.h> //namespa...
24.16129
93
0.436716
q349wang
6f35306c0986b249ae6b92e53784bcf6716864aa
3,542
cpp
C++
src/module_builder.cpp
tetzank/codegen
790aeccd6f2651dff053118593606fe8e560071c
[ "MIT" ]
389
2019-05-19T16:51:28.000Z
2022-02-27T12:29:38.000Z
src/module_builder.cpp
tetzank/codegen
790aeccd6f2651dff053118593606fe8e560071c
[ "MIT" ]
3
2019-05-20T05:42:57.000Z
2019-07-17T18:50:17.000Z
src/module_builder.cpp
tetzank/codegen
790aeccd6f2651dff053118593606fe8e560071c
[ "MIT" ]
20
2019-05-19T17:00:02.000Z
2021-12-29T01:47:50.000Z
/* * Copyright © 2019 Paweł Dziepak * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish...
35.777778
119
0.728402
tetzank
6f35cb4d61f1d673b1f4764b88ff7aa18bb003a2
98
cpp
C++
awesome-lib/src/add.cpp
njlr/awesome-lib
ee801d2079da939f7c8f600fc8e8489f814ca7e1
[ "MIT" ]
null
null
null
awesome-lib/src/add.cpp
njlr/awesome-lib
ee801d2079da939f7c8f600fc8e8489f814ca7e1
[ "MIT" ]
null
null
null
awesome-lib/src/add.cpp
njlr/awesome-lib
ee801d2079da939f7c8f600fc8e8489f814ca7e1
[ "MIT" ]
null
null
null
#include <awesome/add.hpp> namespace awesome { int add(int x, int y) { return x + y; } }
12.25
26
0.591837
njlr
6f3b3ed074a1c2fedd753cda7e6032236427e72a
9,930
cpp
C++
generator/model_builder/model_builder.cpp
AlevtinaGlonina/MCSSim
d668115949e6eb49b6e1e21c011e48e05a59445f
[ "BSD-3-Clause" ]
null
null
null
generator/model_builder/model_builder.cpp
AlevtinaGlonina/MCSSim
d668115949e6eb49b6e1e21c011e48e05a59445f
[ "BSD-3-Clause" ]
null
null
null
generator/model_builder/model_builder.cpp
AlevtinaGlonina/MCSSim
d668115949e6eb49b6e1e21c011e48e05a59445f
[ "BSD-3-Clause" ]
null
null
null
#include "common.h" #include "T.h" #include "rapidxml/rapidxml.hpp" #include "rapidxml/rapidxml_print.hpp" #include <fstream> #include <string.h> #include <time.h> using namespace std; using namespace rapidxml; void buildNetwork(char* filename, Network &n) { int tasks_num=0, msgs_num=0, partitions_num=0, cores_num=...
32.664474
170
0.660423
AlevtinaGlonina
6f41ee8f4491f3acf47e32323cf5ef13b9340c14
2,080
cpp
C++
oldlib/matrix/sparse_det.cpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
oldlib/matrix/sparse_det.cpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
oldlib/matrix/sparse_det.cpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
template<typename T> T sparse_det(vector<vector<T>>g){ int n=g.size(); T res=T(1); vector<bitset<10001>>nonzero_x(n); vector<bitset<10001>>nonzero_y(n); // vector<pair<int,vector<T>>>rev(n,make_pair(0,vector<T>(n,0))); // for(int i=0;i<n;i++){ // for(int j=0;j<n;j++){ // rev[i].sec...
31.044776
77
0.396635
hotman78
6f45ea898ab3f9b1c495d35e6ca9180bfb33bcd8
11,865
cpp
C++
Source/SystemQOR/MSWindows/WinQL/System/FileSystem/WinQLIOStream.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinQL/System/FileSystem/WinQLIOStream.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinQL/System/FileSystem/WinQLIOStream.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//WinQLIOStream.cpp // Copyright Querysoft Limited 2016 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit the S...
29.224138
140
0.451327
mfaithfull
6f46f4c6b399c357c852887c51c85b3be38f8107
529
cpp
C++
src/blueprints/Unit.cpp
ImpulseCloud/suvorov-Impulse
e3e3e6bb50211577c7c179bbc4bd0563e2ec178a
[ "MIT" ]
null
null
null
src/blueprints/Unit.cpp
ImpulseCloud/suvorov-Impulse
e3e3e6bb50211577c7c179bbc4bd0563e2ec178a
[ "MIT" ]
null
null
null
src/blueprints/Unit.cpp
ImpulseCloud/suvorov-Impulse
e3e3e6bb50211577c7c179bbc4bd0563e2ec178a
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2017-2020 Alexander Kurbatov #include "Unit.h" #include "core/API.h" #include "core/Helpers.h" Unit::Unit(sc2::UNIT_TYPEID who_builds_): m_who_builds(who_builds_) { } bool Unit::Build(Order* order_) { if (!order_->assignee) { auto producers = gAPI->observer()....
21.16
77
0.637051
ImpulseCloud
6f4a65e1cf5f38c39c5741d7c591db7b3c55ae48
14,956
cc
C++
modules/railviz/src/railviz.cc
julianharbarth/motis
d5ded8b519a85809949f084ca7983a22180deb1a
[ "MIT" ]
null
null
null
modules/railviz/src/railviz.cc
julianharbarth/motis
d5ded8b519a85809949f084ca7983a22180deb1a
[ "MIT" ]
null
null
null
modules/railviz/src/railviz.cc
julianharbarth/motis
d5ded8b519a85809949f084ca7983a22180deb1a
[ "MIT" ]
null
null
null
#include "motis/railviz/railviz.h" #include "utl/concat.h" #include "utl/get_or_create.h" #include "utl/to_vec.h" #include "utl/verify.h" #include "motis/hash_map.h" #include "motis/core/common/logging.h" #include "motis/core/access/bfs.h" #include "motis/core/access/edge_access.h" #include "motis/core/access/real...
34.781395
80
0.61915
julianharbarth
6f4cdc4db595cd288d12cc526f4eb7ba0dde5a38
1,000
cpp
C++
2021/04. Conditions/20311013/5.SurfaceAndArea/5.SurfaceAndArea.cpp
RumiChausheva/CS104
95f4df990f1a9d1397fc7da7cf137aa092498ea1
[ "MIT" ]
7
2021-03-24T16:30:45.000Z
2022-03-27T09:02:15.000Z
2021/04. Conditions/20311013/5.SurfaceAndArea/5.SurfaceAndArea.cpp
RumiChausheva/CS104
95f4df990f1a9d1397fc7da7cf137aa092498ea1
[ "MIT" ]
null
null
null
2021/04. Conditions/20311013/5.SurfaceAndArea/5.SurfaceAndArea.cpp
RumiChausheva/CS104
95f4df990f1a9d1397fc7da7cf137aa092498ea1
[ "MIT" ]
17
2021-03-22T09:42:22.000Z
2022-03-28T03:24:07.000Z
#include <iostream> #include <cmath> using namespace std; int main() { int menu; float p,p2, s, a,b,c; cout << "1.Circle" << endl; cout << "2.Triangle" << endl; cout << "3.Square" << endl; cout << " Select figure: "; cin >> menu; if (menu == 3) { cout << "Chosen: Square" << ...
23.809524
55
0.363
RumiChausheva
6f513c8ed2f343da7fc502d1cc1c55c42c19c099
44,348
cpp
C++
sources/ysfx.cpp
nlaroche/ysfx
abf4d54aa70031d6d57af949aa6f1919997b5ab9
[ "Apache-2.0" ]
null
null
null
sources/ysfx.cpp
nlaroche/ysfx
abf4d54aa70031d6d57af949aa6f1919997b5ab9
[ "Apache-2.0" ]
null
null
null
sources/ysfx.cpp
nlaroche/ysfx
abf4d54aa70031d6d57af949aa6f1919997b5ab9
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Jean Pierre Cimalando // // 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 agr...
29.664214
160
0.612677
nlaroche
6f53a589fba05b1e9fd3c9cfe2cceffa683077c6
2,173
hpp
C++
src/BufferStream.hpp
moritzmhmk/openjpeg-js
c5468d0751eff0893230735bc4a455d38996be6a
[ "MIT" ]
9
2020-05-19T23:09:03.000Z
2021-09-11T21:40:00.000Z
src/BufferStream.hpp
moritzmhmk/openjpeg-js
c5468d0751eff0893230735bc4a455d38996be6a
[ "MIT" ]
4
2020-06-08T14:34:09.000Z
2020-12-28T11:58:35.000Z
src/BufferStream.hpp
moritzmhmk/openjpeg-js
c5468d0751eff0893230735bc4a455d38996be6a
[ "MIT" ]
8
2020-05-08T04:11:21.000Z
2022-02-13T12:29:09.000Z
// Copyright (c) Chris Hafey. // SPDX-License-Identifier: MIT #pragma once #include "openjpeg.h" typedef struct opj_buffer_info { OPJ_BYTE* buf; OPJ_BYTE* cur; OPJ_SIZE_T len; } opj_buffer_info_t; static OPJ_SIZE_T opj_read_from_buffer (void* pdst, OPJ_SIZE_T len, opj_buffer_info_t* psrc) { OPJ_SIZE...
20.5
74
0.640129
moritzmhmk
6f54ed2fa46766f32f9ba946e3f8fd9597e09a71
515
cpp
C++
src/opers/true.cpp
sp2danny/rpf2
e278db2fa518585beda15a76c76b861eb5ab1e8e
[ "MIT" ]
1
2019-01-22T04:54:19.000Z
2019-01-22T04:54:19.000Z
src/opers/true.cpp
sp2danny/rpf
e278db2fa518585beda15a76c76b861eb5ab1e8e
[ "MIT" ]
null
null
null
src/opers/true.cpp
sp2danny/rpf
e278db2fa518585beda15a76c76b861eb5ab1e8e
[ "MIT" ]
null
null
null
#include "../operators.h" #include "../common.h" void TrueOperator::Print(std::ostream& out) const { out << "t"; } char TrueOperator::MyChar() { return 't'; } void TrueOperator::Create([[maybe_unused]] std::string str) { assert(!str.empty()); assert(str[0] == MyChar()); if (str.size() != 1) throw "operator s...
15.606061
59
0.654369
sp2danny
6f5519f1b5ae110290f151f4f39598a022aa5e5f
1,917
cpp
C++
extras/BLOCKS/standalone_sdk/examples/BlockFinder/BlockFinder.cpp
studiobee/JUCE6-Svalbard-Fork
2bcd2101811f6a3a803a7f68d3bac2d0d53f4146
[ "ISC" ]
33
2018-09-07T09:08:10.000Z
2022-02-07T17:59:41.000Z
extras/BLOCKS/standalone_sdk/examples/BlockFinder/BlockFinder.cpp
studiobee/JUCE6-Svalbard-Fork
2bcd2101811f6a3a803a7f68d3bac2d0d53f4146
[ "ISC" ]
1
2019-05-23T09:47:56.000Z
2019-05-23T09:47:56.000Z
extras/BLOCKS/standalone_sdk/examples/BlockFinder/BlockFinder.cpp
studiobee/JUCE6-Svalbard-Fork
2bcd2101811f6a3a803a7f68d3bac2d0d53f4146
[ "ISC" ]
5
2020-07-06T02:26:01.000Z
2020-07-18T13:51:49.000Z
/* ============================================================================== This file is part of the JUCE examples. Copyright (c) 2020 - Raw Material Software Limited The code included in this file is provided under the terms of the ISC license http://www.isc.org/downloads/software-support-...
38.34
92
0.614502
studiobee
6f5bfa2c024882b6904e7dfc108921b392c1a889
3,005
cpp
C++
unittests/bootstrap_unittest.cpp
dgkimura/paxos
5d01178b3dd76ec64339a4e986ccbe72ec83b7ab
[ "MIT" ]
null
null
null
unittests/bootstrap_unittest.cpp
dgkimura/paxos
5d01178b3dd76ec64339a4e986ccbe72ec83b7ab
[ "MIT" ]
15
2018-04-18T14:25:34.000Z
2019-05-08T01:16:59.000Z
unittests/bootstrap_unittest.cpp
dgkimura/paxos
5d01178b3dd76ec64339a4e986ccbe72ec83b7ab
[ "MIT" ]
null
null
null
#include <functional> #include "gtest/gtest.h" #include "paxos/bootstrap.hpp" #include "paxos/serialization.hpp" TEST(BootstrapTest, testBootstrapListenerRegistersAction) { static bool is_action_registered = false; class MockServer { public: MockServer(std::string address, short port) ...
27.824074
88
0.675874
dgkimura
6f5cf2230b15b5f84f028c6c3133c75f1bcf962a
1,349
cpp
C++
src/platform/aarch64_vm/exception_handling.cpp
alfred-bratterud/IncludeOS
bc16c76671718785c4e1b027cd40ce4d154c88e7
[ "Apache-2.0" ]
5
2016-10-01T11:50:51.000Z
2019-10-24T12:54:36.000Z
src/platform/aarch64_vm/exception_handling.cpp
alfred-bratterud/IncludeOS
bc16c76671718785c4e1b027cd40ce4d154c88e7
[ "Apache-2.0" ]
1
2016-11-25T22:37:41.000Z
2016-11-25T22:37:41.000Z
src/platform/aarch64_vm/exception_handling.cpp
alfred-bratterud/IncludeOS
bc16c76671718785c4e1b027cd40ce4d154c88e7
[ "Apache-2.0" ]
3
2016-09-28T18:15:50.000Z
2017-07-18T17:02:25.000Z
#include <kprint> #include "gic.h" //is void correct ? #if defined(__cplusplus) extern "C" { #endif #include "cpu.h" void exception_handler_irq_el() { // kprintf("IRQ EXCEPTION el=%08x\r\n",cpu_get_current_el()); //kprintf("IRQ EXCEPTION\r\n"); int irq=gicd_decode_irq(); kprintf("IRQ %d\r\n",irq); //TODO...
20.753846
65
0.675315
alfred-bratterud
6f65d8d1986985589d6fa5fbbee7452daa87c68f
343
hpp
C++
src/gameworld/gameworld/global/randactivity/impl/randactivitytotalconsumegold.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/global/randactivity/impl/randactivitytotalconsumegold.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/global/randactivity/impl/randactivitytotalconsumegold.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#ifndef __RAND_ACTIVITY_TOTAL_CONSUME_GOLD_HPP__ #define __RAND_ACTIVITY_TOTAL_CONSUME_GOLD_HPP__ #include "global/randactivity/randactivity.hpp" class RandActivityTotalConsumeGold : public RandActivity { public: RandActivityTotalConsumeGold(RandActivityManager *rand_activity_manager); virtual ~RandActivityTotalCon...
24.5
74
0.865889
mage-game
6f6a3d2a9b6ec009893d7c554aafed0be3a6ff0a
14,590
hpp
C++
Project/include/lak/space.hpp
LAK132/OpenGL-Trash
9ddedf65792de78f642f47ad032b5027e4c390c1
[ "MIT" ]
null
null
null
Project/include/lak/space.hpp
LAK132/OpenGL-Trash
9ddedf65792de78f642f47ad032b5027e4c390c1
[ "MIT" ]
null
null
null
Project/include/lak/space.hpp
LAK132/OpenGL-Trash
9ddedf65792de78f642f47ad032b5027e4c390c1
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2018 Lucas Kleiss (LAK132) 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, p...
31.855895
123
0.643523
LAK132
6f6bca28068e1fd6efe1382547541437c858318f
1,353
cpp
C++
src/screen_factory.cpp
trazfr/alarm
ea511eb0f16945de2005d828f452c76fce9d77e7
[ "MIT" ]
null
null
null
src/screen_factory.cpp
trazfr/alarm
ea511eb0f16945de2005d828f452c76fce9d77e7
[ "MIT" ]
null
null
null
src/screen_factory.cpp
trazfr/alarm
ea511eb0f16945de2005d828f452c76fce9d77e7
[ "MIT" ]
null
null
null
#include "screen_factory.hpp" #include "screen.hpp" #include "screen_handle_config.hpp" #include "screen_main.hpp" #include "screen_set_alarm.hpp" #include "screen_set_alarm_file.hpp" #include "screen_set_date.hpp" #include "screen_set_sensor.hpp" struct ScreenFactory::Impl { explicit Impl(Context &context) ...
21.822581
46
0.673319
trazfr
6f71045d707d3235b2fafcd79e92f555902b6eeb
1,948
cpp
C++
src/c++/code_tests/AML_star_test.cpp
arvestad/FastPhylo
565ff08ca37f1a749b7837453b9ac6de1d15b643
[ "MIT" ]
1
2018-09-07T07:48:21.000Z
2018-09-07T07:48:21.000Z
src/c++/code_tests/AML_star_test.cpp
arvestad/FastPhylo
565ff08ca37f1a749b7837453b9ac6de1d15b643
[ "MIT" ]
1
2018-09-03T09:39:32.000Z
2019-02-19T09:59:34.000Z
src/c++/code_tests/AML_star_test.cpp
arvestad/FastPhylo
565ff08ca37f1a749b7837453b9ac6de1d15b643
[ "MIT" ]
3
2018-09-17T08:09:30.000Z
2020-12-11T00:50:08.000Z
//-------------------------------------------------- // // File: AML_star_test.cpp // // Author: Isaac Elias // e-mail: isaac@nada.kth.se // // cvs: $Id: AML_star_test.cpp,v 1.3 20...
23.190476
101
0.551335
arvestad
4cf731f68fdd9a7d611c5ac0c7ce125de821addf
3,547
cpp
C++
benchmarks/iterator_benchmark.cpp
jcarreira/cirrus-kv
a44099185e02859385997956333b364ae836fee5
[ "Apache-2.0" ]
8
2018-07-18T22:13:36.000Z
2021-08-24T12:28:42.000Z
benchmarks/iterator_benchmark.cpp
jcarreira/ddc
a44099185e02859385997956333b364ae836fee5
[ "Apache-2.0" ]
7
2016-11-22T11:07:14.000Z
2016-12-17T22:49:23.000Z
benchmarks/iterator_benchmark.cpp
jcarreira/ddc
a44099185e02859385997956333b364ae836fee5
[ "Apache-2.0" ]
null
null
null
#include <unistd.h> #include <stdlib.h> #include <cstdint> #include <iostream> #include <cctype> #include <memory> #include <chrono> #include <fstream> #include "object_store/FullBladeObjectStore.h" #include "tests/object_store/object_store_internal.h" #include "cache_manager/CacheManager.h" #include "iterator/CirrusI...
33.780952
80
0.677756
jcarreira
4cfe54537122a79a4495561e80341a5d926afc1d
5,021
hpp
C++
src/Transcoder/Core/Generators/RubyExtGenerator.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
src/Transcoder/Core/Generators/RubyExtGenerator.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
13
2020-03-23T20:36:44.000Z
2022-02-28T11:07:32.000Z
src/Transcoder/Core/Generators/RubyExtGenerator.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
#pragma once #include "FlatCGenerator.hpp" #include "Generator.hpp" /* Ruby のクラスは以下の要素でワンセット - フィールドを保持する struct (wrapStruct) - rb_define_class_under() で登録したクラス情報を保持する static 変数 - メモリ確保関数 (alloc) - alloc → rubyオブジェクトにラップ(mark、delete 登録) → 0クリア の定型文 - メモリ解放・デストラクト関数 (delete) - RefObj なら Relea...
55.175824
227
0.788488
GameDevery
980001a4b25679b25df70f2bec76271a88bb8296
18,331
cc
C++
wrappers/8.1.1/vtkAMRBaseReaderWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkAMRBaseReaderWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkAMRBaseReaderWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkOverlappingAMRAlgorithmWrap.h" #include "vtkAMRBaseReaderWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkMultiProcessControllerWrap.h" #...
32.159649
118
0.734875
axkibe
98032e46d84ac972e5e4f5ed0ac878bcd537badf
4,200
cpp
C++
scenelib2/kalman.cpp
thebarbariangroup/SceneLib2
fc2f36299216e100fc7d153e71af2ae6be784f15
[ "MIT" ]
3
2018-12-16T02:09:24.000Z
2019-08-05T14:04:54.000Z
scenelib2/kalman.cpp
subokita/SceneLib2
a55ddb813e822079f151c66642407b32d89f48ef
[ "MIT" ]
null
null
null
scenelib2/kalman.cpp
subokita/SceneLib2
a55ddb813e822079f151c66642407b32d89f48ef
[ "MIT" ]
3
2018-12-16T02:09:39.000Z
2021-04-01T03:12:52.000Z
/* This file is part of the SceneLib2 Project. * http://hanmekim.blogspot.com/2012/10/scenelib2-monoslam-open-source-library.html * https://github.com/hanmekim/SceneLib2 * * Copyright (c) 2012 Hanme Kim (hanme.kim@gmail.com) * * SceneLib2 is an open-source C++ library for SLAM originally designed and * implement...
34.42623
83
0.70119
thebarbariangroup
9805178a891212cccb43e2af471744de77861855
236
cpp
C++
546A - Soldier and Bananas.cpp
lionrocker/codeforces-solutions
02703ff02dab98d30ef01e52b5a1acc1d8596862
[ "MIT" ]
null
null
null
546A - Soldier and Bananas.cpp
lionrocker/codeforces-solutions
02703ff02dab98d30ef01e52b5a1acc1d8596862
[ "MIT" ]
null
null
null
546A - Soldier and Bananas.cpp
lionrocker/codeforces-solutions
02703ff02dab98d30ef01e52b5a1acc1d8596862
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int k, n, w; cin >> k >> n >> w; int s = 0; for (int i = 1; i <= w; i++) { s += i * k; } if (s > n) cout << s - n; else cout << 0; }
12.421053
34
0.377119
lionrocker
980860895a477c6034bc967566518924960afb30
1,882
cpp
C++
lib/common/tests/src/map_test.cpp
patrickrohr/SAMD21
5bb813fd0f02193e21ca53ebb1ccfcc358647fbb
[ "MIT" ]
null
null
null
lib/common/tests/src/map_test.cpp
patrickrohr/SAMD21
5bb813fd0f02193e21ca53ebb1ccfcc358647fbb
[ "MIT" ]
null
null
null
lib/common/tests/src/map_test.cpp
patrickrohr/SAMD21
5bb813fd0f02193e21ca53ebb1ccfcc358647fbb
[ "MIT" ]
null
null
null
/************************************************************** * * * Copyright (c) 2019 - Patrick Rohr * * All Rights Reserved * * * ...
28.953846
65
0.5
patrickrohr
98158cfd9f0a4cbc511c20fb6b2ccd348fa550d5
349
cpp
C++
UVa Online Judge/12279. Emoogle Balance.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
UVa Online Judge/12279. Emoogle Balance.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
UVa Online Judge/12279. Emoogle Balance.cpp
nicoelayda/competitive-programming
5b5452d8d2865a1a5f1e3d2fece011749722e8c4
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int n, tc = 0; while (cin >> n && n != 0) { int event, balance = 0; while (n-- != 0) { cin >> event; balance += event == 0 ? -1 : 1; } cout << "Case " << ++tc << ": " << balance << end...
18.368421
60
0.375358
nicoelayda
981d16222dcd31fe7d5bdba4733f7519322af947
184
cpp
C++
CodeKata/Array/Array_7.cpp
mayankpathak4513/Guvi_Solutions
2402ba727fd952ec07d8f2014eaa4a3a5934b6b4
[ "MIT" ]
null
null
null
CodeKata/Array/Array_7.cpp
mayankpathak4513/Guvi_Solutions
2402ba727fd952ec07d8f2014eaa4a3a5934b6b4
[ "MIT" ]
null
null
null
CodeKata/Array/Array_7.cpp
mayankpathak4513/Guvi_Solutions
2402ba727fd952ec07d8f2014eaa4a3a5934b6b4
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int n,initial=1000; cin>>n; int k=n*initial; if(n==3) cout<<"7000"; else cout<<k*2; return 0; }
13.142857
23
0.538043
mayankpathak4513
981f68e5bbc00aa7d71fe5f126396b55ae030a69
5,022
hpp
C++
Scorpio/pnglang.hpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
34
2017-05-08T18:39:13.000Z
2022-02-13T05:05:33.000Z
Scorpio/pnglang.hpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
null
null
null
Scorpio/pnglang.hpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
6
2017-05-27T01:14:20.000Z
2020-01-20T14:54:30.000Z
// CodeGear C++Builder // Copyright (c) 1995, 2007 by CodeGear // All rights reserved // (DO NOT EDIT: machine generated header) 'Pnglang.pas' rev: 11.00 #ifndef PnglangHPP #define PnglangHPP #pragma delphiheader begin #pragma option push #pragma option -w- // All warnings off #pragma option -Vx // Zero-le...
60.506024
118
0.824373
tonyt73
982358208a7e2c0ed9c7ee9c34ab96c6313afcec
52,970
hpp
C++
core/lib/boost/boost/safe_numerics/safe_base_operations.hpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
92
2016-11-13T01:28:34.000Z
2022-03-25T01:11:37.000Z
core/lib/boost/boost/safe_numerics/safe_base_operations.hpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
242
2016-11-28T11:13:09.000Z
2022-03-04T13:02:53.000Z
core/lib/boost/boost/safe_numerics/safe_base_operations.hpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
91
2017-06-20T10:35:28.000Z
2022-03-09T14:15:40.000Z
#ifndef BOOST_NUMERIC_SAFE_BASE_OPERATIONS_HPP #define BOOST_NUMERIC_SAFE_BASE_OPERATIONS_HPP // Copyright (c) 2012 Robert Ramey // // 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 <limits> #include <t...
30.355301
92
0.614367
RomanWlm
982bd0991825be7f8e9d975ab9e75b01d2b19875
880
cxx
C++
src/dicom/vtkDICOMTagPath.cxx
dadair-ca/tactics
0f3c9fbd4dd4c2b93e5bbc68ccd0f2292bfbbe1d
[ "BSD-3-Clause" ]
null
null
null
src/dicom/vtkDICOMTagPath.cxx
dadair-ca/tactics
0f3c9fbd4dd4c2b93e5bbc68ccd0f2292bfbbe1d
[ "BSD-3-Clause" ]
null
null
null
src/dicom/vtkDICOMTagPath.cxx
dadair-ca/tactics
0f3c9fbd4dd4c2b93e5bbc68ccd0f2292bfbbe1d
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: DICOM for VTK Copyright (c) 2012-2013 David Gobbi All rights reserved. See Copyright.txt or http://www.cognitive-antics.net/bsd3.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the ...
24.444444
76
0.5
dadair-ca
982cf7973c8a5d443194de6aa609e8f34c622069
1,908
hxx
C++
opencascade/BRepBlend_AppFuncRstRst.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BRepBlend_AppFuncRstRst.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BRepBlend_AppFuncRstRst.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1998-05-12 // Created by: Philippe NOUAILLE // Copyright (c) 1998-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the ...
26.5
154
0.802411
mgreminger
982f967c939ba767801c8ca4bba66da32a72c944
757
hpp
C++
include/keyboard.hpp
neuromancer85/Rack
7e49a697d43bc204f68408779ac2015c66e7dd14
[ "BSD-2-Clause", "BSD-3-Clause" ]
233
2018-07-02T16:49:36.000Z
2022-02-27T21:45:39.000Z
include/keyboard.hpp
neuromancer85/Rack
7e49a697d43bc204f68408779ac2015c66e7dd14
[ "BSD-2-Clause", "BSD-3-Clause" ]
24
2018-07-09T11:32:15.000Z
2022-01-07T01:45:43.000Z
include/keyboard.hpp
neuromancer85/Rack
7e49a697d43bc204f68408779ac2015c66e7dd14
[ "BSD-2-Clause", "BSD-3-Clause" ]
24
2018-07-14T21:55:30.000Z
2021-05-04T04:20:34.000Z
#pragma once #include "util/common.hpp" #include "midi.hpp" #include <map> namespace rack { struct KeyboardInputDevice : MidiInputDevice { int octave = 5; std::map<int, int> pressedNotes; void onKeyPress(int key); void onKeyRelease(int key); }; struct KeyboardDriver : MidiDriver { KeyboardInputDevice device...
21.027778
84
0.764861
neuromancer85
98340108ad8239cd290421928e45164fa6a329f7
3,693
cpp
C++
drivers/ili9341/ili9341.cpp
timskillman/pico-arcade
9c036f8507319bd6e4552e86a6d7211ed74a2670
[ "MIT" ]
1
2022-02-27T15:46:13.000Z
2022-02-27T15:46:13.000Z
drivers/ili9341/ili9341.cpp
timskillman/pico-arcade
9c036f8507319bd6e4552e86a6d7211ed74a2670
[ "MIT" ]
null
null
null
drivers/ili9341/ili9341.cpp
timskillman/pico-arcade
9c036f8507319bd6e4552e86a6d7211ed74a2670
[ "MIT" ]
null
null
null
#include <stdint.h> #include <stdio.h> #include <string.h> #include <math.h> #include "ili9341.hpp" void ili9341::setup(uint16_t _width, uint16_t _height, uint16_t *frame_buffer, spi_inst_t *_spi, int8_t _cs, int8_t _dc, int8_t _sck, int8_t _mosi, int8_t _rst, int8_t _bl, bool _invert, bool _rgb) { width = ...
26.956204
109
0.637151
timskillman
9834765841857e2d446ef1deb37c9ed9bda4b74b
982
cc
C++
Demo/demo3.cc
Asyrion/cplusplus
5173b759dc4f34e9be0f49ada079c39946fe7e26
[ "MIT" ]
null
null
null
Demo/demo3.cc
Asyrion/cplusplus
5173b759dc4f34e9be0f49ada079c39946fe7e26
[ "MIT" ]
null
null
null
Demo/demo3.cc
Asyrion/cplusplus
5173b759dc4f34e9be0f49ada079c39946fe7e26
[ "MIT" ]
1
2019-05-04T18:23:39.000Z
2019-05-04T18:23:39.000Z
#include <string> #include <iostream> using namespace std; void checkname(int namegot) { switch(namegot) { case 1: std::cout << "Welcome Roman, nice to see you!\n"; break; case 2: std::cout << "Welcome Lucifer, it's cold up here, isn't it?\n"; ...
20.040816
76
0.476578
Asyrion
98439b3e41ab0976013680940b7326fc396d42ca
1,764
cc
C++
src/DisplayControl/ZoomGrid.cc
odanrc/EBIS
f1a40cc9d0bfb468800df7487885153bd50b2741
[ "X11", "Unlicense" ]
null
null
null
src/DisplayControl/ZoomGrid.cc
odanrc/EBIS
f1a40cc9d0bfb468800df7487885153bd50b2741
[ "X11", "Unlicense" ]
null
null
null
src/DisplayControl/ZoomGrid.cc
odanrc/EBIS
f1a40cc9d0bfb468800df7487885153bd50b2741
[ "X11", "Unlicense" ]
null
null
null
#include <DisplayControl/ZoomGrid.hpp> ZoomGrid::ZoomGrid(unsigned int rows, unsigned int cols, unsigned int width, unsigned int height){ if (rows == 0) rows = 1; if (cols == 0) cols = 1; if (width == 0) width = 1; if (height == 0) height = 1; numRows = rows; numCols = cols; this->wi...
27.138462
98
0.582766
odanrc
9844113cb91f894324aea4351a83232a017fede5
38,966
hpp
C++
include/plusaes.hpp
Nk125/Sulphur
62e0eb07bd734dbb1dc073d749d2ac55e8a8b24d
[ "MIT" ]
null
null
null
include/plusaes.hpp
Nk125/Sulphur
62e0eb07bd734dbb1dc073d749d2ac55e8a8b24d
[ "MIT" ]
null
null
null
include/plusaes.hpp
Nk125/Sulphur
62e0eb07bd734dbb1dc073d749d2ac55e8a8b24d
[ "MIT" ]
null
null
null
// Copyright (C) 2015 kkAyataka // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef PLUSAES_HPP__ #define PLUSAES_HPP__ #include <algorithm> #include <bitset> #include <cmath> #include <cstring> #include...
30.68189
142
0.608325
Nk125
98448523545714769aa7b8355b429e7e9f25a423
1,093
cpp
C++
QHTML_Static/qhtm/HTMLTableCell.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
null
null
null
QHTML_Static/qhtm/HTMLTableCell.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
null
null
null
QHTML_Static/qhtm/HTMLTableCell.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
1
2020-06-28T19:21:22.000Z
2020-06-28T19:21:22.000Z
/*---------------------------------------------------------------------- Copyright (c) 1998 Gipsysoft. All Rights Reserved. Please see the file "licence.txt" for licencing details. File: HTMLTableCell.cpp Owner: russf@gipsysoft.com Purpose: A single table cell ----------------------------------------------------------...
30.361111
181
0.606587
karolbe
9846b0ef09c614de2b238126991014393729307e
3,739
hpp
C++
include/RootMotion/FinalIK/IKSolverTrigonometric_TrigonometricBone.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/IKSolverTrigonometric_TrigonometricBone.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/IKSolverTrigonometric_TrigonometricBone.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: RootMotion.FinalIK.IKSolverTrigonometric #include "RootMotion/FinalIK/...
57.523077
226
0.746991
darknight1050
984a35e9d3a18e2b4ed6e60051935b47157b807b
6,681
hpp
C++
include/boost/text/lazy_segment_range.hpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
include/boost/text/lazy_segment_range.hpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
include/boost/text/lazy_segment_range.hpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
#ifndef BOOST_TEXT_LAZY_SEGMENT_RANGE_HPP #define BOOST_TEXT_LAZY_SEGMENT_RANGE_HPP #include <boost/text/utility.hpp> namespace boost { namespace text { namespace detail { template<typename CPIter, typename CPRange> struct segment_arrow_proxy { explicit segment_arrow_proxy(CP...
30.506849
80
0.523275
jan-moeller
984dc0f1887a1ad30240cbba1a4a819c770a47da
1,420
cpp
C++
OSPGL/src/render/renderspace/nodes/preview_spn.cpp
tatjam/osp
63a240be92784b3ee10b878c8d3d5af55756957d
[ "MIT" ]
23
2018-03-08T04:13:45.000Z
2021-03-24T01:30:09.000Z
OSPGL/src/render/renderspace/nodes/preview_spn.cpp
tatjam/osp
63a240be92784b3ee10b878c8d3d5af55756957d
[ "MIT" ]
1
2018-06-12T15:49:16.000Z
2018-06-19T07:10:18.000Z
OSPGL/src/render/renderspace/nodes/preview_spn.cpp
tatjam/osp
63a240be92784b3ee10b878c8d3d5af55756957d
[ "MIT" ]
1
2018-06-12T16:54:40.000Z
2018-06-12T16:54:40.000Z
#include "preview_spn.h" #include "../surface_provider.h" std::string PreviewSPN::get_name() { return "Preview"; } void PreviewSPN::process(size_t length) { } void PreviewSPN::create(SurfaceProvider* surf) { in_attribute[HEIGHT] = surf->create_attribute("Height", id, true, V1); } bool PreviewSPN::do_imgui(int id...
20
92
0.621127
tatjam
985429074a7b371caf26cd262357558d80d8eca2
2,668
cpp
C++
asteroids/Asteroids.cpp
EmilianC/Astroids
31dee6a09865a78da20306a59befd7e56cbabac0
[ "MIT" ]
1
2021-04-03T21:44:06.000Z
2021-04-03T21:44:06.000Z
asteroids/Asteroids.cpp
EmilianC/Astroids
31dee6a09865a78da20306a59befd7e56cbabac0
[ "MIT" ]
null
null
null
asteroids/Asteroids.cpp
EmilianC/Astroids
31dee6a09865a78da20306a59befd7e56cbabac0
[ "MIT" ]
null
null
null
#include "Asteroids.h" #include "Debris.h" #include "Bullet.h" #include "Persistent.h" #include <gemcutter/Math/Math.h> #include <gemcutter/Rendering/Mesh.h> #include <gemcutter/Resource/Material.h> #include <gemcutter/Resource/Model.h> #include <gemcutter/Sound/SoundListener.h> #include <gemcutter/Sound/SoundSource.h...
23.2
105
0.693403
EmilianC
9856b3f15982a2b13af5fe11f55bf15845e906d2
2,723
cpp
C++
buffer/tester/ion_cond_server.cpp
NiklasWang/Sirius
823f73363984a166124c2c9ffd08bbacfe7f7ee7
[ "Apache-2.0" ]
null
null
null
buffer/tester/ion_cond_server.cpp
NiklasWang/Sirius
823f73363984a166124c2c9ffd08bbacfe7f7ee7
[ "Apache-2.0" ]
null
null
null
buffer/tester/ion_cond_server.cpp
NiklasWang/Sirius
823f73363984a166124c2c9ffd08bbacfe7f7ee7
[ "Apache-2.0" ]
null
null
null
#include <sys/socket.h> #include "common.h" #include "IonBufferMgr.h" #include "socket_server.h" using namespace sirius; #define SHARE_MEMORY_SIZE 1024*1024 #define TEST_MSG_STR "Hello, Niklas." static IonBufferMgr gIonMgr; static void *gBuf = NULL; static int32_t gIonFd = -1; static int32_t gSockFd = -1; st...
25.933333
87
0.575468
NiklasWang
98595d4336169772b1ac4cf52abf7b6e5119e37f
2,528
cpp
C++
core/fxcrt/cfx_seekablestreamproxy_unittest.cpp
WarGloom/pdfium
e9a79aa2ef7d63aa8e1b2716d25725cf280f199f
[ "Apache-2.0" ]
7
2018-05-17T22:53:33.000Z
2022-02-05T15:51:41.000Z
core/fxcrt/cfx_seekablestreamproxy_unittest.cpp
WarGloom/pdfium
e9a79aa2ef7d63aa8e1b2716d25725cf280f199f
[ "Apache-2.0" ]
null
null
null
core/fxcrt/cfx_seekablestreamproxy_unittest.cpp
WarGloom/pdfium
e9a79aa2ef7d63aa8e1b2716d25725cf280f199f
[ "Apache-2.0" ]
3
2018-05-17T22:53:42.000Z
2022-01-18T05:53:34.000Z
// Copyright 2019 PDFium 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 "core/fxcrt/cfx_seekablestreamproxy.h" #include <iterator> #include "core/fxcrt/cfx_readonlymemorystream.h" #include "core/fxcrt/retain_ptr.h" #inclu...
36.637681
73
0.724684
WarGloom
9869474cd8eb9a6c8212f06c0c4f841b11c44ab1
1,981
hpp
C++
tm_kit/infra/TerminationController.hpp
cd606/tm_infra
27f93cc3cf4344a962aa5faeb4105be8458d34f0
[ "Apache-2.0" ]
1
2020-05-22T08:47:05.000Z
2020-05-22T08:47:05.000Z
tm_kit/infra/TerminationController.hpp
cd606/tm_infra
27f93cc3cf4344a962aa5faeb4105be8458d34f0
[ "Apache-2.0" ]
null
null
null
tm_kit/infra/TerminationController.hpp
cd606/tm_infra
27f93cc3cf4344a962aa5faeb4105be8458d34f0
[ "Apache-2.0" ]
null
null
null
#ifndef TM_KIT_INFRA_TERMINATION_CONTROLLER_HPP_ #define TM_KIT_INFRA_TERMINATION_CONTROLLER_HPP_ #include <chrono> #include <thread> #include <functional> namespace dev { namespace cd606 { namespace tm { namespace infra { class TerminateAtTimePoint { private: std::chrono::time_point<std::chrono:...
30.953125
156
0.603231
cd606
9869754024998ac57920e59d05fca1ca8054c5b6
10,219
cpp
C++
Rimfrost/src/Rimfrost/Graphics/Graphics.cpp
Cgunnar/Rimfrost
924f8bab51e42e6b0790eb46cc1064b6920333cf
[ "MIT" ]
null
null
null
Rimfrost/src/Rimfrost/Graphics/Graphics.cpp
Cgunnar/Rimfrost
924f8bab51e42e6b0790eb46cc1064b6920333cf
[ "MIT" ]
null
null
null
Rimfrost/src/Rimfrost/Graphics/Graphics.cpp
Cgunnar/Rimfrost
924f8bab51e42e6b0790eb46cc1064b6920333cf
[ "MIT" ]
null
null
null
#include "rfpch.hpp" #include "imgui_impl_win32.h" #include "imgui_impl_dx11.h" #pragma comment( lib, "d3d11.lib" ) #pragma comment( lib, "d3dcompiler.lib" ) #pragma comment( lib, "dxgi.lib" ) #pragma comment( lib, "user32" ) #include "Logger.hpp" #include "Graphics.hpp" #include "DXAccess.hpp" #include <EventSyste...
26.542857
146
0.722967
Cgunnar
9869e88b43735ee0ad8ef84100642585bcd3bd74
901
hpp
C++
src/type.hpp
lulitao1997/minijavac
e0997ae4b7644d7741011686365a6fdac7d5fdce
[ "MIT" ]
null
null
null
src/type.hpp
lulitao1997/minijavac
e0997ae4b7644d7741011686365a6fdac7d5fdce
[ "MIT" ]
null
null
null
src/type.hpp
lulitao1997/minijavac
e0997ae4b7644d7741011686365a6fdac7d5fdce
[ "MIT" ]
null
null
null
#ifndef TYPE_HPP_ #define TYPE_HPP_ #include <string> #include <unordered_map> #include <vector> #include <cassert> namespace ast { struct Class; struct Method; struct Type { explicit Type(std::string name); Type(): Type("<error>") {} // bool operator<=(const Type& rhs); bool is_compatible(const Ty...
21.97561
71
0.651498
lulitao1997
9870a91e9b55d40218b35c45a89a9a170b49b6df
4,350
cpp
C++
library/appl_library_std_node.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
library/appl_library_std_node.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
library/appl_library_std_node.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
/* See LICENSE for license details */ /* */ #if defined APPL_OS_LINUX #include <dlfcn.h> #include <appl_status.h> #include <appl_predefines.h> #include <appl_types.h> #include <object/appl_object.h> #include <library/appl_library_node.h> #include <library/appl_library_std_node.h> #include <library/appl_libra...
17.058824
52
0.532874
fboucher9
9871da34fe856b6021cb0eb7c86b33390aa08e50
5,542
cpp
C++
src/erpc/erpc_client_manager.cpp
jpoel91/Seeed_Arduino_rpcUnified
ec7f66468e7c815bb12ce570102ece3a1e47fd7b
[ "MIT" ]
21
2020-09-14T08:44:19.000Z
2022-03-28T16:11:15.000Z
src/erpc/erpc_client_manager.cpp
jpoel91/Seeed_Arduino_rpcUnified
ec7f66468e7c815bb12ce570102ece3a1e47fd7b
[ "MIT" ]
12
2020-11-05T15:49:32.000Z
2022-02-17T11:23:36.000Z
src/erpc/erpc_client_manager.cpp
jpoel91/Seeed_Arduino_rpcUnified
ec7f66468e7c815bb12ce570102ece3a1e47fd7b
[ "MIT" ]
10
2020-10-22T12:38:58.000Z
2022-03-06T02:50:57.000Z
/* * Copyright (c) 2014, Freescale Semiconductor, Inc. * Copyright 2016-2017 NXP * All rights reserved. * * * SPDX-License-Identifier: BSD-3-Clause */ #include "erpc_client_manager.h" #include "assert.h" #include "Arduino.h" using namespace erpc; ////////////////////////////////////////////////////////////////...
23.683761
94
0.612234
jpoel91
98723c3dc30e5c68aa89b3029eeb949e8505d7ff
1,877
cpp
C++
src/Utils.cpp
lanl-ansi/RestartSQP
0cef800e5a039e0c63b3982cae86370807b0c081
[ "CC-BY-3.0" ]
11
2020-04-29T18:18:53.000Z
2021-12-13T09:40:28.000Z
src/Utils.cpp
lanl-ansi/SQPhotstart
0cef800e5a039e0c63b3982cae86370807b0c081
[ "CC-BY-3.0" ]
null
null
null
src/Utils.cpp
lanl-ansi/SQPhotstart
0cef800e5a039e0c63b3982cae86370807b0c081
[ "CC-BY-3.0" ]
3
2020-09-22T02:43:40.000Z
2022-03-05T06:35:18.000Z
/* Copyright (C) 2019 * All Rights Reserved. * * Authors: Xinyi Luo * Date:2019-05 */ #include <sqphot/Utils.hpp> namespace SQPhotstart { void print_matrix(double *M, int length, int width) { for (int row = 0; row < length; row++) { for (int col = 0; col < width; col++) { std::cout << M[row * w...
21.825581
83
0.523175
lanl-ansi
98725cafd2c42358a4fed196df0ee2f7d3b5a34e
740
hpp
C++
input_simulator.hpp
ShaddyAQN/Simple-Input-Simulator
a78725399f6fd1da25d5c11d55f439626af67d0a
[ "MIT" ]
null
null
null
input_simulator.hpp
ShaddyAQN/Simple-Input-Simulator
a78725399f6fd1da25d5c11d55f439626af67d0a
[ "MIT" ]
null
null
null
input_simulator.hpp
ShaddyAQN/Simple-Input-Simulator
a78725399f6fd1da25d5c11d55f439626af67d0a
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <Windows.h> namespace input_simulator { void key_press(int key_code, int duration); void key_down(int key_code); void key_up(int key_code); void hardware_key_press(int key_code, int duration); void hardware_key_down(int key_code); void hardware_key_up(int key_code); voi...
24.666667
77
0.77027
ShaddyAQN
9873a604776540531acc689fd1bcdf630ad8af79
886
hpp
C++
libs/core/render/include/bksge/core/render/d3d12/detail/border_color.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/d3d12/detail/border_color.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/d3d12/detail/border_color.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file border_color.hpp * * @brief BorderColor クラスの定義 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_D3D12_DETAIL_BORDER_COLOR_HPP #define BKSGE_CORE_RENDER_D3D12_DETAIL_BORDER_COLOR_HPP #include <bksge/core/render/fwd/border_color_fwd.hpp> #include <bksge/core/render/d3d_common/d3d12.hpp> ...
17.372549
67
0.717833
myoukaku
98800df60470bfbdbe01533b5f0406f9f22fd54d
5,741
cpp
C++
src/ConfigNode/persistancehandler.cpp
AdhirajSingh1206/orion-ros2-reference
f077284244d401b1d4931cc6705bd2853a0b0dd0
[ "MIT" ]
5
2020-09-18T04:41:21.000Z
2021-09-05T21:13:37.000Z
src/ConfigNode/persistancehandler.cpp
AdhirajSingh1206/orion-ros2-reference
f077284244d401b1d4931cc6705bd2853a0b0dd0
[ "MIT" ]
3
2020-12-22T16:12:39.000Z
2020-12-22T20:45:03.000Z
src/ConfigNode/persistancehandler.cpp
AdhirajSingh1206/orion-ros2-reference
f077284244d401b1d4931cc6705bd2853a0b0dd0
[ "MIT" ]
2
2020-11-12T20:25:21.000Z
2020-12-22T15:00:14.000Z
#include <iostream> #include "packagedownloader.hpp" #include "persistencehandler.hpp" namespace config { PersistenceHandler::PersistenceHandler(std::string path, std::string vehicle_name) { m_path = path; m_vehicle = vehicle_name; try { // Open repository jso std::string repository_file...
35.88125
99
0.569761
AdhirajSingh1206
9885dd5b4781ce8697153eb838a7f0f477562c76
2,111
hh
C++
src/bbutils.hh
poluyan/PepDockOpt
4769a493080a28ed255b4c3d7b6c18fa44761a01
[ "Apache-2.0" ]
null
null
null
src/bbutils.hh
poluyan/PepDockOpt
4769a493080a28ed255b4c3d7b6c18fa44761a01
[ "Apache-2.0" ]
null
null
null
src/bbutils.hh
poluyan/PepDockOpt
4769a493080a28ed255b4c3d7b6c18fa44761a01
[ "Apache-2.0" ]
null
null
null
/************************************************************************** Copyright © 2019 Sergey Poluyan <svpoluyan@gmail.com> 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 ...
28.917808
99
0.663667
poluyan
988867cf206f44171971bbbdd3200912070d66b8
529
cpp
C++
LeetCode/876.Middle_of_the_Linked_List.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
LeetCode/876.Middle_of_the_Linked_List.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
LeetCode/876.Middle_of_the_Linked_List.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* middleNode(ListNode* head) { int l = 0; ListNode *ptr = head; if(head == NULL) return head; ...
20.346154
46
0.446125
w181496
9888f4f2f6b9f00e0a970ef45b599dd96c3986de
440
hpp
C++
flite/lang/indic_lang/indic_lang.hpp
Barath-Kannan/flite
236f91a9a1e60fd25f1deed6d48022567cd7100f
[ "Apache-2.0" ]
7
2017-12-10T23:02:22.000Z
2021-08-05T21:12:11.000Z
flite/lang/indic_lang/indic_lang.hpp
Barath-Kannan/flite
236f91a9a1e60fd25f1deed6d48022567cd7100f
[ "Apache-2.0" ]
null
null
null
flite/lang/indic_lang/indic_lang.hpp
Barath-Kannan/flite
236f91a9a1e60fd25f1deed6d48022567cd7100f
[ "Apache-2.0" ]
3
2018-10-28T03:47:09.000Z
2020-06-04T08:54:23.000Z
#pragma once #include "flite/hrg/utterance.hpp" #include "flite/lexicon/lexicon.hpp" #include "flite/regex/regex.hpp" #include "flite/stats/cart.hpp" #include "flite/synth/synth.hpp" #include "flite/synthcommon/phoneset.hpp" #include "flite/utils/val.hpp" void cmu_indic_lang_init(cst_voice* v); extern const cst_phone...
27.5
47
0.804545
Barath-Kannan
988eddf0541e5a647311e56382f246b18e0d5f67
318
hpp
C++
lib/hargui/include/about.hpp
Ocead/HAR
341738dd6d513573635f4d6c51b9c7bd8abfcc2b
[ "BSD-2-Clause" ]
2
2020-09-11T18:11:10.000Z
2020-10-20T17:25:38.000Z
lib/hargui/include/about.hpp
Ocead/HAR
341738dd6d513573635f4d6c51b9c7bd8abfcc2b
[ "BSD-2-Clause" ]
null
null
null
lib/hargui/include/about.hpp
Ocead/HAR
341738dd6d513573635f4d6c51b9c7bd8abfcc2b
[ "BSD-2-Clause" ]
null
null
null
// // Created by Johannes on 10.09.2020. // #ifndef HAR_GUI_ABOUT_HPP #define HAR_GUI_ABOUT_HPP #include <gtkmm/aboutdialog.h> namespace har::gui_ { class about : public Gtk::AboutDialog { public: about(); ~about() noexcept override; }; } #endif //HAR_GUI_ABOUT_HPP
15.9
44
0.619497
Ocead
98946a2cd249e26de9f1c6819e44ad29bcfaf106
23,452
hpp
C++
include/GlobalNamespace/GhostEffectBehaviour.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/GhostEffectBehaviour.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/GhostEffectBehaviour.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Playables...
55.051643
1,492
0.749787
marksteward
989594c564fe987c2bc005ada7b976b283e9c204
1,122
cpp
C++
2020/8.16/P1020.cpp
YooLc/Codes-Backup
3e13bc048921eefadcc63e36cf2cf638138ebea2
[ "WTFPL" ]
null
null
null
2020/8.16/P1020.cpp
YooLc/Codes-Backup
3e13bc048921eefadcc63e36cf2cf638138ebea2
[ "WTFPL" ]
null
null
null
2020/8.16/P1020.cpp
YooLc/Codes-Backup
3e13bc048921eefadcc63e36cf2cf638138ebea2
[ "WTFPL" ]
null
null
null
#include <iostream> #include <cstdio> #include <algorithm> using namespace std; const int MAXN = 1e5 + 5; int arr[MAXN], tot; int down[MAXN], up[MAXN]; int lend = 1, lenu = 1; int main() { #ifndef ONLINE_JUDGE freopen("P1020.in", "r", stdin); // freopen(".out", "w", stdout); #endif while (~scanf("%d", &arr...
31.166667
87
0.564171
YooLc
989699e68ef3d68474734f310149b28a9adde696
1,327
hh
C++
src/test/resources/samples/langs/Hack/StrictFile.hh
JavascriptID/sourcerer-app
9ad05f7c6a18c03793c8b0295a2cb318118f6245
[ "MIT" ]
8,271
2015-01-01T15:04:43.000Z
2022-03-31T06:18:14.000Z
src/test/resources/samples/langs/Hack/StrictFile.hh
JavascriptID/sourcerer-app
9ad05f7c6a18c03793c8b0295a2cb318118f6245
[ "MIT" ]
3,238
2015-01-01T14:25:12.000Z
2022-03-30T17:37:51.000Z
src/test/resources/samples/langs/Hack/StrictFile.hh
JavascriptID/sourcerer-app
9ad05f7c6a18c03793c8b0295a2cb318118f6245
[ "MIT" ]
4,070
2015-01-01T11:40:51.000Z
2022-03-31T13:45:53.000Z
<?hh // strict /** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ ...
28.234043
78
0.672946
JavascriptID
98991bb313d1eb6d3a268f2f59716ca9e4c8e3e3
1,796
cpp
C++
rootex/vendor/Tracy/profiler/src/HttpRequest.cpp
ChronicallySerious/Rootex
bf2a0997b6aa5be84dbfc0e7826c31ff693ca0f1
[ "MIT" ]
166
2019-06-19T19:51:45.000Z
2022-03-24T13:03:29.000Z
rootex/vendor/Tracy/profiler/src/HttpRequest.cpp
rahil627/Rootex
44f827d469bddc7167b34dedf80d7a8b984fdf20
[ "MIT" ]
312
2019-06-13T19:39:25.000Z
2022-03-02T18:37:22.000Z
rootex/vendor/Tracy/profiler/src/HttpRequest.cpp
rahil627/Rootex
44f827d469bddc7167b34dedf80d7a8b984fdf20
[ "MIT" ]
23
2019-10-04T11:02:21.000Z
2021-12-24T16:34:52.000Z
#include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../common/TracySocket.hpp" #include "../server/TracyVersion.hpp" #include "HttpRequest.hpp" static constexpr char CRLF[2] = { '\r', '\n' }; void HttpRequest( const char* server, const char* resource, int port, std::function<void...
30.965517
280
0.565702
ChronicallySerious
989bb16eaafa80c8e04afb4742df0ea3b880fa26
2,728
hpp
C++
boost/fusion/tuple/tuple_tie.hpp
Abce/boost
2d7491a27211aa5defab113f8e2d657c3d85ca93
[ "BSL-1.0" ]
4
2017-01-15T14:57:26.000Z
2022-02-24T08:12:45.000Z
boost/fusion/tuple/tuple_tie.hpp
Abce/boost
2d7491a27211aa5defab113f8e2d657c3d85ca93
[ "BSL-1.0" ]
null
null
null
boost/fusion/tuple/tuple_tie.hpp
Abce/boost
2d7491a27211aa5defab113f8e2d657c3d85ca93
[ "BSL-1.0" ]
3
2016-05-06T11:50:59.000Z
2018-06-23T16:48:12.000Z
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman 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) ====================================...
35.428571
117
0.618402
Abce
989ce08bd3e0bade5afd828bbdb1a677a34abe2c
278
cpp
C++
examples/first.cpp
garc0/CTAsm
1319f5d95f0211eb1e6fc9e5d9ffe5ab0f582aba
[ "Apache-2.0" ]
null
null
null
examples/first.cpp
garc0/CTAsm
1319f5d95f0211eb1e6fc9e5d9ffe5ab0f582aba
[ "Apache-2.0" ]
null
null
null
examples/first.cpp
garc0/CTAsm
1319f5d95f0211eb1e6fc9e5d9ffe5ab0f582aba
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include <asm_emit.hpp> #include <asm.hpp> int main() { auto bytes = ctasm( "label1: " " push rcx; " "ret 0; "); for (auto &i : bytes) std::cout << i << ' '; std::cout << '\n'; return 0; }
18.533333
34
0.431655
garc0
98a3cdacc449adaee5a98df88d0299dfad4f603e
833
cc
C++
src/odin/sign.cc
molind/valhalla
7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c
[ "BSD-2-Clause", "MIT" ]
79
2017-02-15T17:35:48.000Z
2022-03-30T06:16:10.000Z
src/odin/sign.cc
molind/valhalla
7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c
[ "BSD-2-Clause", "MIT" ]
null
null
null
src/odin/sign.cc
molind/valhalla
7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c
[ "BSD-2-Clause", "MIT" ]
12
2017-06-16T06:30:54.000Z
2021-12-16T00:43:12.000Z
#include "odin/sign.h" #include "odin/util.h" namespace valhalla { namespace odin { // Constructor Sign::Sign(const std::string& text) : text_(text), consecutive_count_(0) { } const std::string& Sign::text() const { return text_; } uint32_t Sign::consecutive_count() const { return consecutive_count_; ...
18.931818
62
0.67587
molind
f0f78172af7c5f5074d3bc0a8cde0c3f37fec276
3,833
cpp
C++
Applications/DisplayProperties/MonitorWidget.cpp
lnzero1dev/serenity
dee6e2d94bb8ac27b52429c3c10e5aaadb448260
[ "BSD-2-Clause" ]
9
2020-02-05T00:09:15.000Z
2020-06-01T16:39:27.000Z
Applications/DisplayProperties/MonitorWidget.cpp
lnzero1dev/serenity
dee6e2d94bb8ac27b52429c3c10e5aaadb448260
[ "BSD-2-Clause" ]
null
null
null
Applications/DisplayProperties/MonitorWidget.cpp
lnzero1dev/serenity
dee6e2d94bb8ac27b52429c3c10e5aaadb448260
[ "BSD-2-Clause" ]
2
2020-03-07T16:52:37.000Z
2020-03-31T14:41:47.000Z
/* * Copyright (c) 2020-2020, Hüseyin Aslıtürk <asliturk@hotmail.com> * 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.223214
125
0.720845
lnzero1dev
f0fb41622f2d5066f76a7fe12a3d2a8a6f015cc6
874
hpp
C++
src/lib/storage/base_segment.hpp
caesarea38/DYOD_21
2c418eb53df51e8a16b7503f04bd1ad6a9ac004e
[ "MIT" ]
null
null
null
src/lib/storage/base_segment.hpp
caesarea38/DYOD_21
2c418eb53df51e8a16b7503f04bd1ad6a9ac004e
[ "MIT" ]
5
2021-04-24T12:01:56.000Z
2021-05-11T21:01:10.000Z
src/lib/storage/base_segment.hpp
caesarea38/DYOD_21
2c418eb53df51e8a16b7503f04bd1ad6a9ac004e
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <string> #include "all_type_variant.hpp" #include "types.hpp" namespace opossum { // BaseSegment is the abstract super class for all segment types, // e.g., ValueSegment, ReferenceSegment class BaseSegment : private Noncopyable { public: BaseSegment() = default; virtual ...
26.484848
78
0.734554
caesarea38
0b038a1e2cdc15e92ad1b219e002e67b58473f16
2,234
cpp
C++
HyperbolicJoyce/vhglib/VhgSystem.cpp
GarrettVance/HyperbolicJoyce
08e7e2ef8fcea158bf881770a336e6f46dae90de
[ "MIT" ]
null
null
null
HyperbolicJoyce/vhglib/VhgSystem.cpp
GarrettVance/HyperbolicJoyce
08e7e2ef8fcea158bf881770a336e6f46dae90de
[ "MIT" ]
null
null
null
HyperbolicJoyce/vhglib/VhgSystem.cpp
GarrettVance/HyperbolicJoyce
08e7e2ef8fcea158bf881770a336e6f46dae90de
[ "MIT" ]
null
null
null
// // // // VhgSystem.cpp // // #include "pch.h" #include "..\Common\DirectXHelper.h" #include "VhgSystem.h" #include "BitmapUtil.h" using namespace HvyDXBase; using namespace DirectX; using namespace Windo...
18.773109
98
0.621755
GarrettVance
0b0469566bacbeebc59ba856bed1fb3a4e091f6d
10,344
cpp
C++
src/wal/wal.cpp
amq5/WCMCommander
15d17871d1903b8520a9c4452dab200698899812
[ "MIT" ]
240
2015-03-31T15:47:21.000Z
2022-03-25T23:44:52.000Z
src/wal/wal.cpp
amq5/WCMCommander
15d17871d1903b8520a9c4452dab200698899812
[ "MIT" ]
134
2015-01-01T14:04:19.000Z
2015-03-26T17:26:33.000Z
src/wal/wal.cpp
amq5/WCMCommander
15d17871d1903b8520a9c4452dab200698899812
[ "MIT" ]
54
2015-04-03T04:46:30.000Z
2021-12-05T18:12:18.000Z
/* Copyright (c) by Valery Goryachev (Wal) */ #include "wal.h" #include "../unicode_lc.h" #define __STDC_FORMAT_MACROS #include <stdint.h> #if !defined(_MSC_VER) || _MSC_VER >= 1700 # include <inttypes.h> #endif #if !defined(_WIN32) # include "utf8proc/utf8proc.h" #endif #include <string> #include <sstream> na...
19.407129
125
0.582657
amq5
0b0a6d22f9bb3f316aefa1107e894375c77f4d3c
163
cpp
C++
examples/demo_project/main.cpp
D0si/Maze
2c465960408b1696e53c07bd47672ccd58d8374b
[ "MIT" ]
1
2020-01-30T19:51:56.000Z
2020-01-30T19:51:56.000Z
examples/demo_project/main.cpp
D0si/Maze
2c465960408b1696e53c07bd47672ccd58d8374b
[ "MIT" ]
8
2018-09-27T18:57:29.000Z
2018-10-04T19:17:37.000Z
examples/demo_project/main.cpp
D0si/Maze
2c465960408b1696e53c07bd47672ccd58d8374b
[ "MIT" ]
null
null
null
#include <Maze/Maze.hpp> #include <iostream> int main() { Maze::Object obj; obj.set("test", "works"); std::cout << obj.to_json(2) << std::endl; return 0; }
13.583333
42
0.613497
D0si