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
bed169e6a8ac2326514c67eac80d7a4655cd3174
445
cpp
C++
Makefiles/Version2/customErrorHandling.cpp
evanslominski/csc310
07a0e4e21a20593d5968de392e1c21b411539705
[ "MIT" ]
null
null
null
Makefiles/Version2/customErrorHandling.cpp
evanslominski/csc310
07a0e4e21a20593d5968de392e1c21b411539705
[ "MIT" ]
null
null
null
Makefiles/Version2/customErrorHandling.cpp
evanslominski/csc310
07a0e4e21a20593d5968de392e1c21b411539705
[ "MIT" ]
null
null
null
#include <iostream> #include "customErrorClass.h" using namespace std; double division(int a, int b){ if( b == 0 ){ throw MyException("myerror"); } return a/b; } int main(int argc, char* argv[]){ int x = 50; int y = 0; double z = 0; MyException excp("MyError"); try{ ...
15.344828
37
0.530337
evanslominski
bed3714cbf3dbc8e77b267bf722504fffdac05d8
5,348
cpp
C++
src/input.cpp
marcellocordeiro/chip8-emulator
75b570fd7076681908077bc0c889064b5e055fce
[ "MIT" ]
2
2019-06-19T09:58:41.000Z
2020-01-29T17:05:32.000Z
src/input.cpp
marcellocordeiro/chip8-emulator
75b570fd7076681908077bc0c889064b5e055fce
[ "MIT" ]
null
null
null
src/input.cpp
marcellocordeiro/chip8-emulator
75b570fd7076681908077bc0c889064b5e055fce
[ "MIT" ]
null
null
null
#include "input.h" #include <unordered_map> namespace chip8 { input::input() { // clang-format off const std::unordered_map<std::string, sf::Keyboard::Key> key_bindings = { {"Unknown", sf::Keyboard::Key::Unknown}, {"A", sf::Keyboard::Key::A}, {"B", sf::Keyboard::Key::B}, {"C", ...
39.614815
105
0.5
marcellocordeiro
bedc518c5cc74802b93a9c2bdb2c393deec49a48
2,963
cpp
C++
source/gamesmith/math/vec4.cpp
GeneralLeeInept/GameSmith
abc0cec3538727dbbf673d4a9223a017fe19bdbe
[ "MIT" ]
null
null
null
source/gamesmith/math/vec4.cpp
GeneralLeeInept/GameSmith
abc0cec3538727dbbf673d4a9223a017fe19bdbe
[ "MIT" ]
null
null
null
source/gamesmith/math/vec4.cpp
GeneralLeeInept/GameSmith
abc0cec3538727dbbf673d4a9223a017fe19bdbe
[ "MIT" ]
null
null
null
#include "gspch.h" #include "vec4.h" #include <gamesmith/core/debug.h> #include <gamesmith/math/math.h> #include <gamesmith/math/vec3.h> namespace gs { Vec4::Vec4(float f) : Vec4(f, f, f, f) { } constexpr Vec4::Vec4(float x_, float y_, float z_, float w_) : x(x_) , y(y_) , z(z_) , w(w_) { } Ve...
17.226744
82
0.501181
GeneralLeeInept
beddd6f7193c1d89d3a3aac7febc23385732fee8
2,696
cpp
C++
src/router.cpp
apinprastya/fiberhttp
37bd13aa0c7b1e706b09ac6b11feec21a1d30373
[ "MIT" ]
5
2020-10-18T11:32:45.000Z
2022-01-12T20:52:18.000Z
src/router.cpp
apinprastya/fiberhttp
37bd13aa0c7b1e706b09ac6b11feec21a1d30373
[ "MIT" ]
1
2020-10-18T12:14:04.000Z
2020-10-27T01:01:54.000Z
src/router.cpp
apinprastya/fiberhttp
37bd13aa0c7b1e706b09ac6b11feec21a1d30373
[ "MIT" ]
null
null
null
#include "router.h" #include "parser.h" #include <boost/algorithm/string/predicate.hpp> #include <iostream> namespace fiberhttp { Router::Router() { mNotFound = [](const Request &req, Reply &rep) { rep.setStatus(404).setContent("{\"error\": \"No route found\"}", "application/json"); }; } Router &Route...
32.095238
93
0.597181
apinprastya
bee00e5af358b261a94567a2c9135401ee6e32c1
1,167
cxx
C++
sources/cores/src/own_dmlc_byte_op.cxx
jinjunzh/DML
0c5103dce053fc75f007bc4761359b03cff0c1dc
[ "MIT" ]
null
null
null
sources/cores/src/own_dmlc_byte_op.cxx
jinjunzh/DML
0c5103dce053fc75f007bc4761359b03cff0c1dc
[ "MIT" ]
null
null
null
sources/cores/src/own_dmlc_byte_op.cxx
jinjunzh/DML
0c5103dce053fc75f007bc4761359b03cff0c1dc
[ "MIT" ]
null
null
null
/* * Copyright 2020-2021 Intel Corporation. * * This software and the related documents are Intel copyrighted materials, * and your use of them is governed by the express license under which they * were provided to you ("License"). Unless the License provides otherwise, * you may not use, modify, copy, publish, d...
31.540541
89
0.699229
jinjunzh
beebbc4857024ffcb55bc768692b76b02354e443
154
hpp
C++
include/domains/tests/CPF_test.hpp
vieiramanoel/TP1-2019-1
4d68de98efcb0b77d921b3b0dc4c922a41ac7db3
[ "MIT" ]
null
null
null
include/domains/tests/CPF_test.hpp
vieiramanoel/TP1-2019-1
4d68de98efcb0b77d921b3b0dc4c922a41ac7db3
[ "MIT" ]
null
null
null
include/domains/tests/CPF_test.hpp
vieiramanoel/TP1-2019-1
4d68de98efcb0b77d921b3b0dc4c922a41ac7db3
[ "MIT" ]
null
null
null
#include <domains/CPF.hpp> #include <gtest/gtest.h> CPF e("045.026.261-80"); TEST(CPFTest, TestingReturns) { EXPECT_EQ("045.026.261-80", e.getCPF()); }
22
74
0.681818
vieiramanoel
beecee1f9d3c5fe13085aff0dc6e342e1951ddb3
200
hpp
C++
specialchess/gamedata.hpp
Thiago-SMerces/cg-projeto3
2c8fb0087b932acfc98c0af1f1e837105b5b7fc3
[ "MIT" ]
null
null
null
specialchess/gamedata.hpp
Thiago-SMerces/cg-projeto3
2c8fb0087b932acfc98c0af1f1e837105b5b7fc3
[ "MIT" ]
null
null
null
specialchess/gamedata.hpp
Thiago-SMerces/cg-projeto3
2c8fb0087b932acfc98c0af1f1e837105b5b7fc3
[ "MIT" ]
null
null
null
#ifndef GAMEDATA_HPP_ #define GAMEDATA_HPP_ #include <bitset> #include <vector> enum class State {Playing, Check, Checkmate, Stalemate}; struct GameData { State m_state{State::Playing}; }; #endif
15.384615
56
0.755
Thiago-SMerces
beed45f4f2d013f54eb9000d96db406b280ec6c7
1,036
cpp
C++
draw_shape_text/drawing_shapes_text.cpp
akdenizz/computer_vision_with_cpp_on_ubuntu
15c4cb2c81ee1c9ed6d121b0ef6370e6fe204707
[ "MIT" ]
3
2022-02-03T09:25:05.000Z
2022-03-05T10:46:30.000Z
draw_shape_text/drawing_shapes_text.cpp
akdenizz/computer_vision_with_cpp_on_ubuntu
15c4cb2c81ee1c9ed6d121b0ef6370e6fe204707
[ "MIT" ]
null
null
null
draw_shape_text/drawing_shapes_text.cpp
akdenizz/computer_vision_with_cpp_on_ubuntu
15c4cb2c81ee1c9ed6d121b0ef6370e6fe204707
[ "MIT" ]
null
null
null
#include <opencv2/imgcodecs.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <iostream> using namespace cv; using namespace std; int main(){ Mat img(512, 512, CV_8UC3, Scalar(0, 255, 0)); circle(img, Point(256, 256), 155, Scalar(255, 0, 169), FILLED); //(img, Point center, radius...
38.37037
243
0.660232
akdenizz
beefce3d42c502b5abc82066ee5329d93bd3b80f
1,445
cpp
C++
src/model/type/ProtoTypeModelFileItem.cpp
michaelstein/ProtoInfo
67634a9ffdb4a7a685706cbdbf7e3ade270d22ed
[ "MIT" ]
null
null
null
src/model/type/ProtoTypeModelFileItem.cpp
michaelstein/ProtoInfo
67634a9ffdb4a7a685706cbdbf7e3ade270d22ed
[ "MIT" ]
null
null
null
src/model/type/ProtoTypeModelFileItem.cpp
michaelstein/ProtoInfo
67634a9ffdb4a7a685706cbdbf7e3ade270d22ed
[ "MIT" ]
null
null
null
#include "ProtoTypeModelFileItem.h" #include "ProtoTypeModelMessageItem.h" #include "ProtoTypeModelRootItem.h" ProtoTypeModelFileItem::ProtoTypeModelFileItem(const google::protobuf::FileDescriptor* fileDescriptor, ProtoTypeModelRootItem* parent) : _item(fileDescriptor) , _parent(parent) { for (auto i = 0; i < fileD...
22.578125
134
0.782699
michaelstein
bef19c3633712bb847976a4d7a1bed724e9ca5d0
17,175
cpp
C++
build/moc/moc_SimpleMissionItem.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
1
2018-11-07T06:10:53.000Z
2018-11-07T06:10:53.000Z
build/moc/moc_SimpleMissionItem.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
null
null
null
build/moc/moc_SimpleMissionItem.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
1
2018-11-07T06:10:47.000Z
2018-11-07T06:10:47.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'SimpleMissionItem.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.3) ** ** WARNING! All changes made in this file will be lost! ***************************************************...
37.830396
117
0.619971
UNIST-ESCL
bef7365e89aa6dae0b557ad47210c04741ca83bf
2,363
cpp
C++
src/source.cpp
hockeyhurd/Makefile-Generator
3848a9e8d2778b6e93096f8290964a2fee7491ca
[ "MIT-0", "MIT" ]
null
null
null
src/source.cpp
hockeyhurd/Makefile-Generator
3848a9e8d2778b6e93096f8290964a2fee7491ca
[ "MIT-0", "MIT" ]
null
null
null
src/source.cpp
hockeyhurd/Makefile-Generator
3848a9e8d2778b6e93096f8290964a2fee7491ca
[ "MIT-0", "MIT" ]
1
2018-08-17T01:28:53.000Z
2018-08-17T01:28:53.000Z
/* * MIT License * * Copyright (c) 2017 hockeyhurd * * 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...
28.46988
123
0.651714
hockeyhurd
bef95c012ed1cd0d434aaf84828cecf0bb3c80a4
319
cpp
C++
test/snippet/core/type_traits/template_inspection_usage_2.cpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
1
2021-03-01T11:12:56.000Z
2021-03-01T11:12:56.000Z
test/snippet/core/type_traits/template_inspection_usage_2.cpp
simonsasse/seqan3
0ff2e117952743f081735df9956be4c512f4ccba
[ "CC0-1.0", "CC-BY-4.0" ]
2
2017-05-17T07:16:19.000Z
2020-02-13T16:10:10.000Z
test/snippet/core/type_traits/template_inspection_usage_2.cpp
simonsasse/seqan3
0ff2e117952743f081735df9956be4c512f4ccba
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
#include <vector> #include <seqan3/core/type_traits/template_inspection.hpp> #include <seqan3/core/type_list/type_list.hpp> int main() { using my_type = std::vector<int>; if constexpr (seqan3::detail::is_type_specialisation_of_v<my_type, std::vector>) // std::vector has no <> ! { // ... } }
21.266667
111
0.664577
marehr
befdc3d8200f887c1e13d11865547b4ff3305187
5,361
cpp
C++
Code/Game/Core/Player/Actions/PlayerAction_Dash.cpp
JuanluMorales/KRG
f3a11de469586a4ef0db835af4bc4589e6b70779
[ "MIT" ]
419
2022-01-27T19:37:43.000Z
2022-03-31T06:14:22.000Z
Code/Game/Core/Player/Actions/PlayerAction_Dash.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
2
2022-01-28T20:35:33.000Z
2022-03-13T17:42:52.000Z
Code/Game/Core/Player/Actions/PlayerAction_Dash.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
20
2022-01-27T20:41:02.000Z
2022-03-26T16:16:57.000Z
#include "PlayerAction_Dash.h" #include "Game/Core/Player/Components/Component_MainPlayer.h" #include "Game/Core/Player/GraphControllers/PlayerGraphController_Ability.h" #include "Game/Core/Player/PlayerPhysicsController.h" #include "Game/Core/Player/PlayerCameraController.h" #include "Game/Core/Player/PlayerAnimationC...
41.238462
149
0.603432
JuanluMorales
83018c1225b86ba6ff7940b8219017290624d2d1
2,511
hpp
C++
addons/CBRN_gear/cfgVehicles.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
4
2018-04-28T16:09:21.000Z
2021-08-24T12:51:55.000Z
addons/CBRN_gear/cfgVehicles.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
29
2018-04-01T23:31:33.000Z
2020-01-02T17:02:11.000Z
addons/CBRN_gear/cfgVehicles.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
10
2018-07-13T15:02:06.000Z
2021-04-06T17:12:11.000Z
class cfgVehicles { class Man; class CAManBase: Man { class ACE_Actions { class ACE_Head { class CBRN_putMaskOn { displayName = "Put mask on"; condition = "(ace_medical_menuTypeStyle == 0) && ((_target call CBRN_fnc_hasMaskInInventory) || (_player call CBRN_fnc_hasMaskInInventory)) && (_t...
25.11
247
0.698925
ASO-TheM
830e587b40fb81f5c2ba5441bbc5e2e12c586a83
1,300
cpp
C++
LIDER.cpp
kociap/SPOJ
77273e943ef5d11ddc9c1455b95868afbb116309
[ "MIT" ]
null
null
null
LIDER.cpp
kociap/SPOJ
77273e943ef5d11ddc9c1455b95868afbb116309
[ "MIT" ]
null
null
null
LIDER.cpp
kociap/SPOJ
77273e943ef5d11ddc9c1455b95868afbb116309
[ "MIT" ]
null
null
null
//#include <cstdio> //#include <vector> // //using namespace std; // //typedef unsigned long long uint64; // //inline bool getUint64(uint64& a); // //int main() { // int t; // scanf("%d", &t); // // while (t--) { // vector<uint64> numbers; // uint64 n; // scanf("%llu", &n); // for (uint64 a, i = 0...
17.333333
40
0.424615
kociap
830f2a69f0b05f151a7477f4761f6962f8cfb061
621
cpp
C++
3-Problem_Solving_Paradigms/3.2-Complete_Search/5-Iterative_(Fancy_Techniques)/vitorvgc/11553.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
1
2017-11-16T10:56:17.000Z
2017-11-16T10:56:17.000Z
3-Problem_Solving_Paradigms/3.2-Complete_Search/5-Iterative_(Fancy_Techniques)/vitorvgc/11553.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
null
null
null
3-Problem_Solving_Paradigms/3.2-Complete_Search/5-Iterative_(Fancy_Techniques)/vitorvgc/11553.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int m[10][10]; int main() { int t, n; for(scanf("%d", &t); t--; ) { scanf("%d", &n); for(int i = 0; i < n; ++i) for(int j = 0; j < n; ++j) scanf("%d", &m[i][j]); vector<int> v(n); for(int i = 0; i < n; ...
20.032258
54
0.357488
IFCE-CP
83127a555238d823a32434d3adcb7749f23347ef
635
cpp
C++
src/valve/common.cpp
johnpatek/valve
76fe336f6af098ef54ba1fdda9cf75a49c42b973
[ "Zlib" ]
null
null
null
src/valve/common.cpp
johnpatek/valve
76fe336f6af098ef54ba1fdda9cf75a49c42b973
[ "Zlib" ]
null
null
null
src/valve/common.cpp
johnpatek/valve
76fe336f6af098ef54ba1fdda9cf75a49c42b973
[ "Zlib" ]
null
null
null
#include <valve/common.h> namespace valve { socket_type open_unix_socket() { socket_type result(INVALID_SOCKET); sockaddr_un name; result = socket(AF_UNIX,SOCK_STREAM,0); memset(&name,0,sizeof(sockaddr_un)); name.sun_family = AF_UNIX; strncpy( na...
20.483871
65
0.55748
johnpatek
23fc8e49c5195fabdf98b5bc271362c8ff425326
534
cpp
C++
000_tensor_test/main.cpp
booiljung/torchapp
ae01a7e7c50ed823a82ad028b7dd3484d2deac95
[ "MIT" ]
2
2021-05-26T13:59:11.000Z
2021-08-24T11:15:58.000Z
000_tensor_test/main.cpp
booiljung/torchapp
ae01a7e7c50ed823a82ad028b7dd3484d2deac95
[ "MIT" ]
null
null
null
000_tensor_test/main.cpp
booiljung/torchapp
ae01a7e7c50ed823a82ad028b7dd3484d2deac95
[ "MIT" ]
null
null
null
#include <iostream> #include <random> #include <thread> #include <tuple> #include <torch/torch.h> int main(int argc, char *argv[]) { using namespace std; using namespace std::chrono; using namespace std::chrono_literals; using namespace torch; using namespace at; auto a = torch::tensor ({ { 1.0, 0.0 }, { 0...
16.181818
38
0.601124
booiljung
9b0108337f034e9a7af5fa6dc125ce8a76e7f709
1,945
cpp
C++
test/gaunt_m_rec.cpp
hydeik/wigner-cpp
8f52b4e86407f291c6295fd0e5cbcceb5378d394
[ "MIT" ]
6
2018-11-09T11:54:45.000Z
2022-03-29T05:59:51.000Z
test/gaunt_m_rec.cpp
hydeik/wigner-cpp
8f52b4e86407f291c6295fd0e5cbcceb5378d394
[ "MIT" ]
null
null
null
test/gaunt_m_rec.cpp
hydeik/wigner-cpp
8f52b4e86407f291c6295fd0e5cbcceb5378d394
[ "MIT" ]
1
2021-06-10T07:24:20.000Z
2021-06-10T07:24:20.000Z
#define CATCH_CONFIG_RUNNER #include <catch/catch.hpp> #include <fstream> #include "wigner/gaunt.hpp" static const double eps = std::numeric_limits<double>::epsilon() * 100; std::string input_file_name; TEST_CASE("Gaunt coefficient: recursion over j3", "[wigner]") { std::ifstream is(input_file_name); if (...
22.356322
79
0.513625
hydeik
9b0176f6975ab80ec724e54fc756d29ad822b1fa
1,248
cpp
C++
lib/miscellaneous/ternary/ternary_binary.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
null
null
null
lib/miscellaneous/ternary/ternary_binary.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
null
null
null
lib/miscellaneous/ternary/ternary_binary.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
1
2021-09-03T16:52:21.000Z
2021-09-03T16:52:21.000Z
#include <bits/stdc++.h> using namespace std; typedef long double ld; typedef long long ll; const ld INF = 1e18, eps = 1e-13; ll minimaInt(ll a, ll b, ll c) { // min at integer y -> l or l + 1. int l = -1e6, r = 1e6; auto f = [&] (const ll &x) -> ll { return a * x * x + b * x + c; }; while(l < r) { int ...
20.8
68
0.454327
howdepressingitistoloveyou
9b01f35524ca44bb6c3f960c090e9d4e109ef569
4,050
cpp
C++
src/kernel_worker.cpp
SorachanCoin/SorachanCoin-qt
f7acc67c633d2f4f1dddf67424986f485a280ec2
[ "MIT" ]
null
null
null
src/kernel_worker.cpp
SorachanCoin/SorachanCoin-qt
f7acc67c633d2f4f1dddf67424986f485a280ec2
[ "MIT" ]
null
null
null
src/kernel_worker.cpp
SorachanCoin/SorachanCoin-qt
f7acc67c633d2f4f1dddf67424986f485a280ec2
[ "MIT" ]
null
null
null
#include <vector> #include <inttypes.h> #include "uint256.h" #include "bignum.h" #include "kernel.h" #include "kernel_worker.h" void KernelWorker::Do_generic() { bitthread::manage::SetThreadPriority(THREAD_PRIORITY_LOWEST); // Compute maximum possible target to filter out majority of obviously insufficient ...
43.548387
204
0.673827
SorachanCoin
9b0ca8fa4a2d51c257234259dbf682e1e6ab3824
12,014
cc
C++
wrappers/7.0.0/vtkPeriodicTableWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/7.0.0/vtkPeriodicTableWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/7.0.0/vtkPeriodicTableWrap.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 "vtkObjectWrap.h" #include "vtkPeriodicTableWrap.h" #include "vtkLookupTableWrap.h" #include "../../plus/plus.h" using namespace v8; extern Na...
29.374083
107
0.707092
axkibe
9b145e25314e90d6a571714e2d5d82827e9c400d
7,255
hpp
C++
ThirdParty/oglplus-develop/include/oglplus/bound/framebuffer.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
ThirdParty/oglplus-develop/include/oglplus/bound/framebuffer.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
ThirdParty/oglplus-develop/include/oglplus/bound/framebuffer.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
/** * @file oglplus/bound/framebuffer.hpp * @brief Specialization of BoundTemplate for Framebuffer. * * Automatically generated file, do not edit manually! * * Copyright 2010-2014 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy...
20.041436
94
0.713025
vif
9b1d8a3d1234ffebfa4ff86ed8aa7b5de45fee88
30,575
cpp
C++
GameEngine/GameEngine/src/app/application.cpp
llGuy/gamedev
16aa203934fd767926c58558e021630288556399
[ "MIT" ]
null
null
null
GameEngine/GameEngine/src/app/application.cpp
llGuy/gamedev
16aa203934fd767926c58558e021630288556399
[ "MIT" ]
4
2018-12-24T11:16:53.000Z
2018-12-24T11:20:29.000Z
GameEngine/GameEngine/src/app/application.cpp
llGuy/gamedev
16aa203934fd767926c58558e021630288556399
[ "MIT" ]
null
null
null
#include <iostream> #include "../io/io.h" #include "application.h" #include "../utils/detail.h" #include "../xcp/exception.h" #include "../console/console.h" #include "../graphics/3D/model_comp/cube.h" #include "../scene/component/model_matrix.h" #include "../graphics/3D/model_comp/mesh3D.h" #include "../graphics/3D/mo...
39.759428
168
0.784628
llGuy
9b32a385250ca1911684aeb1718f740b02a8ec2a
588
cpp
C++
Server/main.cpp
MyronChen/IPMsg_StudyDemo
00bb267d2cfb991d410b79e137e946370d56028f
[ "MIT" ]
null
null
null
Server/main.cpp
MyronChen/IPMsg_StudyDemo
00bb267d2cfb991d410b79e137e946370d56028f
[ "MIT" ]
null
null
null
Server/main.cpp
MyronChen/IPMsg_StudyDemo
00bb267d2cfb991d410b79e137e946370d56028f
[ "MIT" ]
null
null
null
#include <QCoreApplication> #include "tools.h" #include "cbinaryprotocol.h" #include "cserversocket.h" #include "cserver.h" #include "../AccountService/accountservice.h" #include "accunthandler.h" USING_NET USING_PROTOCOL int main(int argc, char *argv[]) { CServer server(boost::make_shared<AccountProcessor>(boost...
23.52
94
0.656463
MyronChen
9b36ce5fb1436f2cc5fd25fb99551e000dee13f7
18,933
cpp
C++
CWin/CWin/thread/thread_object.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
CWin/CWin/thread/thread_object.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
CWin/CWin/thread/thread_object.cpp
benbraide/CWin
0441b48a71fef0dbddabf61033d7286669772c1e
[ "MIT" ]
null
null
null
#include "../app/app_object.h" #include "../events/audio_events.h" cwin::thread::object::object() : queue_(*this), window_manager_(*this), menu_manager_(*this), id_(GetCurrentThreadId()), device_context_(GetDC(HWND_DESKTOP)){ CoInitializeEx(nullptr, COINIT::COINIT_APARTMENTTHREADED); handle_bound_ = CreateRectRgn(...
29.675549
227
0.723551
benbraide
9b39ebfe567170f22bc4b64df7b7161a1382ad0e
2,160
cpp
C++
DSA Crack Sheet/solutions/Kth smallest number again.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
5
2021-08-10T18:47:49.000Z
2021-08-21T15:42:58.000Z
DSA Crack Sheet/solutions/Kth smallest number again.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
2
2022-02-25T13:36:46.000Z
2022-02-25T14:06:44.000Z
DSA Crack Sheet/solutions/Kth smallest number again.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
1
2021-08-11T06:36:42.000Z
2021-08-11T06:36:42.000Z
/* Kth smallest number again ========================= Dexter was good in finding the K th smallest number from a set of numbers. He thought he could solve any problem related to K th smallest number. His friend Pipi challenged him with a problem. He gave him various ranges of number, These numbers were arranged in in...
20.571429
218
0.564815
Akshad7829
9b42336b92894c52c2a0638c51c5d2aa7c4d44b2
315
cpp
C++
2021.09.27-Homework-3/Project7/Source.cpp
095990/programming-kirpicheva-ulyana
907ee2436f6a60cc6599b89d4c753e25537179a2
[ "Apache-2.0" ]
null
null
null
2021.09.27-Homework-3/Project7/Source.cpp
095990/programming-kirpicheva-ulyana
907ee2436f6a60cc6599b89d4c753e25537179a2
[ "Apache-2.0" ]
null
null
null
2021.09.27-Homework-3/Project7/Source.cpp
095990/programming-kirpicheva-ulyana
907ee2436f6a60cc6599b89d4c753e25537179a2
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char* argv[]) { long a = 0; long b = 0; long c = 0; long d = 0; cin >> a; cin >> b; cin >> c; cin >> d; for (int x = 0; x <= 1000; x++) { if (a * x * x * x + b * x * x + c * x + d == 0) { cout << x << " "; } } return EXIT_SUCCESS; }
13.695652
49
0.457143
095990
9b442ab8859ec43dd863e76bd4add8dd3a60f3b8
13,923
cpp
C++
SOURCES/sim/oldotwdrive/splash.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/sim/oldotwdrive/splash.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/sim/oldotwdrive/splash.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
/////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #include "stdhdr.h" #include "dispcfg.h" #include "Graphics\Include\Setup.h" #i...
25.975746
106
0.562666
IsraelyFlightSimulator
9b4cb204a1064a4639716e1561bc330a822f41e8
801
hpp
C++
src/tree/blocks/ifElseIf.hpp
Azer0s/littl
3d2bfd979bdeee74cded9f31b62640b45b86a155
[ "MIT" ]
4
2018-12-30T13:15:55.000Z
2019-05-12T17:39:38.000Z
src/tree/blocks/ifElseIf.hpp
Azer0s/littl
3d2bfd979bdeee74cded9f31b62640b45b86a155
[ "MIT" ]
null
null
null
src/tree/blocks/ifElseIf.hpp
Azer0s/littl
3d2bfd979bdeee74cded9f31b62640b45b86a155
[ "MIT" ]
1
2018-12-29T19:12:07.000Z
2018-12-29T19:12:07.000Z
#pragma once #include "../syntaxtree.hpp" namespace littl { class IfElseIf : public SyntaxTree{ public: IfElseIf(SyntaxTree* condition, SyntaxTree* block, SyntaxTree* elseIfBlock){ this->condition = condition; this->block = block; this->elseIfBloc...
30.807692
110
0.50437
Azer0s
9b4d0331593920ef05957325a3ebb19553c0e0b2
1,981
cpp
C++
test/slotmap.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
1
2020-02-17T09:53:36.000Z
2020-02-17T09:53:36.000Z
test/slotmap.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
null
null
null
test/slotmap.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
null
null
null
#include <cassert> #include <memory> #include <iostream> #include "gamelib/utils/SlotMap.hpp" using namespace gamelib; using namespace std; struct Foo { public: int x, y, z; static bool control; ~Foo() { control = true; } }; bool Foo::control = false; int mai...
22.258427
82
0.547703
mall0c
9b5463a39c519a92058834ac29919401175854f5
420
hpp
C++
src/lib/statistics/generate_pruning_statistics.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
583
2015-01-10T00:55:32.000Z
2022-03-25T12:24:30.000Z
src/lib/statistics/generate_pruning_statistics.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
1,573
2015-01-07T15:47:22.000Z
2022-03-31T11:48:03.000Z
src/lib/statistics/generate_pruning_statistics.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
145
2015-03-09T16:26:07.000Z
2022-02-15T12:53:23.000Z
#pragma once #include <memory> #include <unordered_set> namespace opossum { class Chunk; class Table; /** * Generate Pruning Filters for an immutable Chunk */ void generate_chunk_pruning_statistics(const std::shared_ptr<Chunk>& chunk); /** * Generate Pruning Filters for all immutable Chunks in this Table */ vo...
19.090909
76
0.761905
mrcl-tst
9b546963283c830f694d972c3acbc555ed470761
42,464
hpp
C++
include/glhelper/glhelper_shader.hpp
louishobson/GLHelper
2a914dd90eeb96797e3963f94d39b25625d47054
[ "Apache-2.0" ]
null
null
null
include/glhelper/glhelper_shader.hpp
louishobson/GLHelper
2a914dd90eeb96797e3963f94d39b25625d47054
[ "Apache-2.0" ]
null
null
null
include/glhelper/glhelper_shader.hpp
louishobson/GLHelper
2a914dd90eeb96797e3963f94d39b25625d47054
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2020 Louis Hobson <louis-hobson@hotmail.co.uk>. All Rights Reserved. * * Distributed under MIT licence as a part of the GLHelper C++ library. * For details, see: https://github.com/louishobson/GLHelper/blob/master/LICENSE * * include/glhelper/glhelper_shader.hpp * * constructs for managing...
28.518469
153
0.65479
louishobson
9b55828209a3f0dfd580eea986ebb6e0560e345b
1,706
cpp
C++
consoleGame/consoleGame/consoleGame.cpp
Long-as-Python/Cpp
2ec9ab9b03ee4dbf66234c7aec279c21dbd33c5c
[ "MIT" ]
null
null
null
consoleGame/consoleGame/consoleGame.cpp
Long-as-Python/Cpp
2ec9ab9b03ee4dbf66234c7aec279c21dbd33c5c
[ "MIT" ]
null
null
null
consoleGame/consoleGame/consoleGame.cpp
Long-as-Python/Cpp
2ec9ab9b03ee4dbf66234c7aec279c21dbd33c5c
[ "MIT" ]
null
null
null
#include <iostream> #include <windows.h> #include <conio.h> #include <dos.h> #include <iomanip> using namespace std; const int H = 40, W =80; bool map[H][W]; void setXY(short x, short y) { COORD coord = { y, x }; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord); } void showXY(short x, short y) { ...
14.964912
70
0.44197
Long-as-Python
9b5b94d62c4d6139a6604ecd45168652f6bb788c
9,722
hpp
C++
include/pfasst/interfaces.hpp
memmett/PFASST
655085fae12b7cce8558484baefdac1bf3d84c2c
[ "BSD-2-Clause" ]
28
2015-01-05T11:25:32.000Z
2021-03-09T01:09:52.000Z
include/pfasst/interfaces.hpp
memmett/PFASST
655085fae12b7cce8558484baefdac1bf3d84c2c
[ "BSD-2-Clause" ]
81
2015-01-05T11:23:15.000Z
2016-12-13T11:03:04.000Z
include/pfasst/interfaces.hpp
memmett/PFASST
655085fae12b7cce8558484baefdac1bf3d84c2c
[ "BSD-2-Clause" ]
13
2015-02-03T07:59:40.000Z
2021-04-25T20:26:08.000Z
/** * Interfaces for SDC/MLSDC/PFASST algorithms. * * @file pfasst/interfaces.hpp * @since v0.1.0 */ #ifndef _PFASST_INTERFACES_HPP_ #define _PFASST_INTERFACES_HPP_ #include <memory> #include <stdexcept> #include <string> using namespace std; namespace pfasst { using time_precision = double; /** * Not ...
27.698006
99
0.584756
memmett
9b5d1cc7827a2c14d90fbaa6b40b4a729dde6da7
15,580
cpp
C++
project/src/assets/DurationAButtonNHovered.cpp
Muller-Castro/Minesweeper
e4c3fb48e7181aff9637dc77cb829d16d293afdb
[ "Zlib", "MIT" ]
5
2021-06-01T04:29:06.000Z
2022-01-03T22:48:46.000Z
project/src/assets/DurationAButtonNHovered.cpp
Muller-Castro/Minesweeper
e4c3fb48e7181aff9637dc77cb829d16d293afdb
[ "Zlib", "MIT" ]
null
null
null
project/src/assets/DurationAButtonNHovered.cpp
Muller-Castro/Minesweeper
e4c3fb48e7181aff9637dc77cb829d16d293afdb
[ "Zlib", "MIT" ]
null
null
null
/****************************************************************************************/ /* DurationAButtonNHovered.cpp */ /****************************************************************************************/ /* Copyright (c) 2020-2021 Muller Castro. ...
305.490196
2,992
0.706354
Muller-Castro
9b5ee60892556c22dfa10ab0a8f625747c2dd052
9,858
hpp
C++
bwi_tasks_pnp/pnp/include/pnp/petrinet.hpp
pato/bwi_experimental
0cc71672580a886e4c405bbc6ea8305624a28572
[ "BSD-3-Clause" ]
null
null
null
bwi_tasks_pnp/pnp/include/pnp/petrinet.hpp
pato/bwi_experimental
0cc71672580a886e4c405bbc6ea8305624a28572
[ "BSD-3-Clause" ]
null
null
null
bwi_tasks_pnp/pnp/include/pnp/petrinet.hpp
pato/bwi_experimental
0cc71672580a886e4c405bbc6ea8305624a28572
[ "BSD-3-Clause" ]
null
null
null
/* * petrinet.hpp * authors: Vittorio Amos Ziparo and Daniele Calisi */ #include "utils.h" template<typename PlaceClass, typename TransitionClass> PetriNet<PlaceClass, TransitionClass>::PetriNet() { } template<typename T> struct EqualPredicate : public std::unary_function<bool, T*> { T* first; bool operator()...
34.711268
146
0.703794
pato
9b65bfca95fe546639cb646b91169ceedde57498
543
hpp
C++
game/_CCI.hpp
miguelmig/LibM2
dad7591a885a421842851905dc2bc8bbd648ca20
[ "BSD-3-Clause" ]
null
null
null
game/_CCI.hpp
miguelmig/LibM2
dad7591a885a421842851905dc2bc8bbd648ca20
[ "BSD-3-Clause" ]
null
null
null
game/_CCI.hpp
miguelmig/LibM2
dad7591a885a421842851905dc2bc8bbd648ca20
[ "BSD-3-Clause" ]
1
2021-11-14T10:51:30.000Z
2021-11-14T10:51:30.000Z
/* This file belongs to the LibM2 library (http://github.com/imermcmaps/LibM2) * Copyright (c) 2013, iMer (www.imer.cc) * All rights reserved. * Licensed under the BSD 3-clause license (http://opensource.org/licenses/BSD-3-Clause) */ #ifndef __LIBM2_GAME_CCI_HPP #define __LIBM2_GAME_CCI_HPP #include "DESC.hpp" name...
25.857143
88
0.675875
miguelmig
9b6c9c0c5fdbdfc015a0272b2b78db867d3f12fe
1,496
cpp
C++
tao/x11/anytypecode/any_impl.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
20
2019-11-13T12:31:20.000Z
2022-02-27T12:30:39.000Z
tao/x11/anytypecode/any_impl.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
46
2019-11-15T20:40:18.000Z
2022-03-31T19:04:36.000Z
tao/x11/anytypecode/any_impl.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
5
2019-11-12T15:00:50.000Z
2022-01-17T17:33:05.000Z
/** * @file any_impl.cpp * @author Martin Corino * * @brief TAOX11 CORBA Any implementation base class * * @copyright Copyright (c) Remedy IT Expertise BV */ #include "tao/x11/anytypecode/typecode_impl.h" #include "tao/x11/anytypecode/any_impl.h" #include "tao/x11/anytypecode/typecode.h" #include "tao/x1...
19.684211
88
0.658422
ClausKlein
9b6d709dbc83b98eb3f5990ed0ddfb5ded1bc360
589
cpp
C++
11369 - Shopaholic.cpp
Rodagui/UVa-Solutions
d4273fc1f2ce843a23bf94d3b3037e66b9d285d1
[ "MIT" ]
null
null
null
11369 - Shopaholic.cpp
Rodagui/UVa-Solutions
d4273fc1f2ce843a23bf94d3b3037e66b9d285d1
[ "MIT" ]
null
null
null
11369 - Shopaholic.cpp
Rodagui/UVa-Solutions
d4273fc1f2ce843a23bf94d3b3037e66b9d285d1
[ "MIT" ]
1
2020-06-22T03:34:27.000Z
2020-06-22T03:34:27.000Z
/*11369 - Shopaholic*/ #include <cstdio> #include <algorithm> using namespace std; int main(){ int casos; scanf("%d", &casos); while(casos--){ int art, i, mod=0, desc=0, aux; scanf("%d", &art); int pre[art]; for (i = 0; i < art; ++i) { scanf("%d", &pre[i]); } sor...
10.709091
34
0.431239
Rodagui
9b6f535dbccbc1b1d82a4e71baad28e902a48627
2,857
cpp
C++
src/core/lib/lattice/elemparamfactory.cpp
openfheorg/openfhe-development
c087e0454f4cd0dc3ddcf2db9cf883a1e030f2d0
[ "BSD-2-Clause" ]
null
null
null
src/core/lib/lattice/elemparamfactory.cpp
openfheorg/openfhe-development
c087e0454f4cd0dc3ddcf2db9cf883a1e030f2d0
[ "BSD-2-Clause" ]
6
2022-03-15T13:49:55.000Z
2022-03-31T16:14:41.000Z
src/core/lib/lattice/elemparamfactory.cpp
openfheorg/openfhe-development
c087e0454f4cd0dc3ddcf2db9cf883a1e030f2d0
[ "BSD-2-Clause" ]
null
null
null
//================================================================================== // BSD 2-Clause License // // Copyright (c) 2014-2022, NJIT, Duality Technologies Inc. and other contributors // // All rights reserved. // // Author TPOC: contact@openfhe.org // // Redistribution and use in source and binary forms, wi...
43.287879
84
0.684984
openfheorg
9b6fa0bcd21de9715b660080455602ec65c3e39c
682
cpp
C++
UVA11388.cpp
MaSteve/UVA-problems
3a240fcca02e24a9c850b7e86062f8581df6f95f
[ "MIT" ]
17
2015-12-08T18:50:03.000Z
2022-03-16T01:23:20.000Z
UVA11388.cpp
MaSteve/UVA-problems
3a240fcca02e24a9c850b7e86062f8581df6f95f
[ "MIT" ]
null
null
null
UVA11388.cpp
MaSteve/UVA-problems
3a240fcca02e24a9c850b7e86062f8581df6f95f
[ "MIT" ]
6
2017-04-04T18:16:23.000Z
2020-06-28T11:07:22.000Z
#include <iostream> using namespace std; typedef long long ll; ll gcd(ll n, ll m) { ll auxi; if (m > n) { auxi = n; n = m, m = auxi; } while (m != 0) { auxi = n; n = m, m = auxi%m; } return n; } int main() { int T; cin >> T; while (T--) { ll...
17.487179
48
0.332845
MaSteve
9b7095e1eca0a3e0bd0cdeff440a2a71e17ca5f2
1,339
cpp
C++
Project5/Vehicle.cpp
adumbidiot/CS202
1ba9654598b56c7e6f3b6f25fafdf02a3beaf4ff
[ "Unlicense" ]
1
2020-12-18T03:16:28.000Z
2020-12-18T03:16:28.000Z
Project5/Vehicle.cpp
adumbidiot/CS202
1ba9654598b56c7e6f3b6f25fafdf02a3beaf4ff
[ "Unlicense" ]
null
null
null
Project5/Vehicle.cpp
adumbidiot/CS202
1ba9654598b56c7e6f3b6f25fafdf02a3beaf4ff
[ "Unlicense" ]
null
null
null
#include "Vehicle.h" int Vehicle::s_idgen = 0; Vehicle::Vehicle() : m_vin(++s_idgen) { for (int i = 0; i < LLA_LEN; i++) m_lla[i] = 0; std::cout << "Vehicle #" << m_vin << ": Default-ctor\n"; } Vehicle::Vehicle(int vin, const float *lla) : m_vin(vin <= s_idgen ? ++s_idgen : vin) { setLLA(lla); std:...
25.75
75
0.568335
adumbidiot
9b7bb2764cddfdeb35003d8a3840b008c1f37251
6,192
cpp
C++
src/isr_manager_stm32g0.cpp
cracked-machine/stm32_interrupt_managers
fd7c8ffd4815766c19d5b5809ac2618b102263ca
[ "MIT" ]
null
null
null
src/isr_manager_stm32g0.cpp
cracked-machine/stm32_interrupt_managers
fd7c8ffd4815766c19d5b5809ac2618b102263ca
[ "MIT" ]
2
2022-01-22T19:10:52.000Z
2022-03-10T10:54:04.000Z
src/isr_manager_stm32g0.cpp
cracked-machine/stm32_interrupt_managers
fd7c8ffd4815766c19d5b5809ac2618b102263ca
[ "MIT" ]
null
null
null
// MIT License // Copyright (c) 2022 Chris Sutton // 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, me...
35.382857
121
0.676841
cracked-machine
f9277b8e758a386f27b24da38d0c0e07da978bfa
277
cpp
C++
src/filters/ArBoxFilter.cpp
ZeusYang/AuroraTracer
af97a88bd577ed1acc0d7b2a34dc2105146aceb2
[ "MIT" ]
36
2019-09-26T13:01:32.000Z
2021-04-13T03:17:50.000Z
src/filters/ArBoxFilter.cpp
ZeusYang/AuroraTracer
af97a88bd577ed1acc0d7b2a34dc2105146aceb2
[ "MIT" ]
null
null
null
src/filters/ArBoxFilter.cpp
ZeusYang/AuroraTracer
af97a88bd577ed1acc0d7b2a34dc2105146aceb2
[ "MIT" ]
3
2020-06-29T14:26:48.000Z
2021-04-03T06:53:50.000Z
#include "ArBoxFilter.h" namespace Aurora { AURORA_REGISTER_CLASS(ABoxFilter, "Box") ABoxFilter::ABoxFilter(const APropertyTreeNode &node) : AFilter(node.getPropertyList()) { activate(); } Float ABoxFilter::evaluate(const AVector2f &p) const { return 1.0f; } }
17.3125
89
0.722022
ZeusYang
f928dcf2e6acc2e84ae56a2038bd0da65775c670
762
cpp
C++
src/generated/ldb_commonevent.cpp
glynnc/liblcf
301371de7d8e39f30c464ace355252b58beb71ee
[ "MIT" ]
null
null
null
src/generated/ldb_commonevent.cpp
glynnc/liblcf
301371de7d8e39f30c464ace355252b58beb71ee
[ "MIT" ]
null
null
null
src/generated/ldb_commonevent.cpp
glynnc/liblcf
301371de7d8e39f30c464ace355252b58beb71ee
[ "MIT" ]
null
null
null
/* !!!! GENERATED FILE - DO NOT EDIT !!!! */ /* * Copyright (c) 2014 liblcf authors * This file is released under the MIT License * http://opensource.org/licenses/MIT */ // Headers #include "ldb_reader.h" #include "ldb_chunks.h" #include "reader_struct.h" // Read CommonEvent. #define LCF_CHUNK_SUFFIX LDB_Reader...
25.4
72
0.78084
glynnc
f937a9509148b3b8fc75224eef8fac09d4e9c33b
1,864
cpp
C++
coast/foundation/base/AnythingIterator.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/foundation/base/AnythingIterator.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/foundation/base/AnythingIterator.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2007, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with this library/application in the file license.txt....
23.3
102
0.748927
zer0infinity
f93d73c8733611f9f45a7a03ead356ef6f5ca6d4
438
hpp
C++
include/public/BlackBox/System/IInputHandler.hpp
kovdennik/TestEngine
43e8d51f64c1a576ff812126d44ee43d8e25bdef
[ "MIT" ]
1
2019-12-10T00:37:05.000Z
2019-12-10T00:37:05.000Z
include/public/BlackBox/System/IInputHandler.hpp
kovdennik/TestEngine
43e8d51f64c1a576ff812126d44ee43d8e25bdef
[ "MIT" ]
3
2020-02-17T21:12:09.000Z
2022-01-19T10:28:02.000Z
include/public/BlackBox/System/IInputHandler.hpp
kovdennik/TestEngine
43e8d51f64c1a576ff812126d44ee43d8e25bdef
[ "MIT" ]
3
2019-03-14T16:28:47.000Z
2020-05-17T20:42:55.000Z
#pragma once #if 0 #include <BlackBox/ICommand.hpp> #include <SFML/Window/Event.hpp> struct IInputEventListener { virtual bool OnInputEvent(sf::Event& event) = 0; }; struct IInputHandler { virtual ~IInputHandler() {}; virtual ICommand* handleInput(bool bPause) = 0; virtual void AddEventListener(IInputEventLis...
21.9
68
0.73516
kovdennik
f940077cff9abecb7ae4d38658d7408b7d334e33
1,683
cc
C++
orly/type/addr.cc
orlyatomics/orly
d413f999f51a8e553832dab4e3baa7ca68928840
[ "Apache-2.0" ]
69
2015-01-06T05:12:57.000Z
2021-11-06T20:34:10.000Z
orly/type/addr.cc
waderly/orly
9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee
[ "Apache-2.0" ]
5
2015-07-09T02:21:50.000Z
2021-08-13T11:10:26.000Z
orly/type/addr.cc
waderly/orly
9d7660ea9d07591f8cc6b1b92d8e6c3b8b78eeee
[ "Apache-2.0" ]
15
2015-01-23T13:34:05.000Z
2020-06-15T16:46:50.000Z
/* <orly/type/addr.cc> Implements <orly/type/addr.h>. Copyright 2010-2014 OrlyAtomics, 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://www.apache.org/licenses/LICE...
27.590164
95
0.574569
orlyatomics
f9412e27d30051fc358e9ddcfab63a64a827019b
7,608
cpp
C++
src/cast_core/src/MoveRandomChunkToRandomShard.cpp
MikhailShchatko/genny
00938dc557ef1ad9b6b2d950447bc0e372e951ef
[ "Apache-2.0" ]
30
2019-01-30T17:21:44.000Z
2022-01-21T00:05:33.000Z
src/cast_core/src/MoveRandomChunkToRandomShard.cpp
MikhailShchatko/genny
00938dc557ef1ad9b6b2d950447bc0e372e951ef
[ "Apache-2.0" ]
358
2019-01-15T21:51:57.000Z
2022-03-30T16:10:42.000Z
src/cast_core/src/MoveRandomChunkToRandomShard.cpp
MikhailShchatko/genny
00938dc557ef1ad9b6b2d950447bc0e372e951ef
[ "Apache-2.0" ]
50
2019-01-15T20:01:15.000Z
2022-03-24T16:19:52.000Z
// Copyright 2021-present MongoDB 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://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
52.109589
113
0.610542
MikhailShchatko
f95023623071d41a6cc38377cbd6a5d81cc73f15
3,847
cpp
C++
src/testbed/test_swizzle.cpp
wangyongcong/pixpad
0e10fd6a67ae4c1dafdd80d350c642528027b69c
[ "MIT" ]
1
2018-05-17T00:52:06.000Z
2018-05-17T00:52:06.000Z
src/testbed/test_swizzle.cpp
wangyongcong/pixpad
0e10fd6a67ae4c1dafdd80d350c642528027b69c
[ "MIT" ]
null
null
null
src/testbed/test_swizzle.cpp
wangyongcong/pixpad
0e10fd6a67ae4c1dafdd80d350c642528027b69c
[ "MIT" ]
null
null
null
#include <stdlib.h> #include "stb_image.h" #include "stb_image_write.h" #include "test.h" #include "spw_tile.h" #include "stb_log.h" #include "metric.h" using namespace wyc; class CTestSwizzle : public CTest { public: virtual void run() override { const char *path = "assets/texture/lenna.png"; int image_w, imag...
28.286765
114
0.611645
wangyongcong
f9561e1c5d72c8d78d0bcc79d3089810e29ed38c
747
hpp
C++
include/k2d/renderer/texture.hpp
Kostu96/k2d-engine
8150230034cf4afc862fcc1a3c262c27d544feed
[ "MIT" ]
null
null
null
include/k2d/renderer/texture.hpp
Kostu96/k2d-engine
8150230034cf4afc862fcc1a3c262c27d544feed
[ "MIT" ]
null
null
null
include/k2d/renderer/texture.hpp
Kostu96/k2d-engine
8150230034cf4afc862fcc1a3c262c27d544feed
[ "MIT" ]
null
null
null
/* * Copyright (C) 2021-2022 Konstanty Misiak * * SPDX-License-Identifier: MIT */ #pragma once #include "k2d/core/base.hpp" namespace k2d { class TextureImpl; class Texture { public: void bind(uint32 slot) const; void unbind(uint32 slot) const; uint32 getWidth() const; ...
21.342857
64
0.618474
Kostu96
f95b0f16968d2eb0c9a5ba437887d0a83c79c5b1
39
hpp
C++
CSV_Parser/CSV_Data/CSV_Data_Methods/CSV_Data_Finders.hpp
NeuronEnix/CSV-Parser
51f6474ea77e76d22f35aa009d53e8805df63d41
[ "MIT" ]
1
2020-11-21T05:27:35.000Z
2020-11-21T05:27:35.000Z
CSV_Parser/CSV_Data/CSV_Data_Methods/CSV_Data_Finders.hpp
NeuronEnix/CSV-Parser
51f6474ea77e76d22f35aa009d53e8805df63d41
[ "MIT" ]
null
null
null
CSV_Parser/CSV_Data/CSV_Data_Methods/CSV_Data_Finders.hpp
NeuronEnix/CSV-Parser
51f6474ea77e76d22f35aa009d53e8805df63d41
[ "MIT" ]
null
null
null
#pragma once #include "../CSV_Data.hpp"
19.5
26
0.717949
NeuronEnix
f96319b4be73d22b89d2c9c545cbf0ff274710ad
1,942
cpp
C++
testing/clientMessageBuffer-test.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
1
2020-03-03T12:16:22.000Z
2020-03-03T12:16:22.000Z
testing/clientMessageBuffer-test.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
null
null
null
testing/clientMessageBuffer-test.cpp
beryan/Adventure2019
a07b6ffee7ee196d9f499aa145906732ee067af0
[ "MIT" ]
1
2020-03-03T12:16:23.000Z
2020-03-03T12:16:23.000Z
// // Created by louis on 10/03/19. // #include "gtest/gtest.h" #include "gmock/gmock.h" #include "ClientMessageBuffer.h" using networking::Connection; using networking::Message; using networking::ClientMessageBuffer; constexpr Connection CLIENT_A = {100}; constexpr Connection CLIENT_B = {200}; namespace { TEST...
27.742857
76
0.631308
beryan
f96e36d6b31cdebf1cd17d7d85096e92e2f28ab8
262
cpp
C++
src/_app_state_wait.cpp
zborffs/Delta
b2efa9fe1cc2138656f4d7964ccdbbbfcebba639
[ "MIT" ]
1
2022-03-03T09:34:54.000Z
2022-03-03T09:34:54.000Z
src/_app_state_wait.cpp
zborffs/Delta
b2efa9fe1cc2138656f4d7964ccdbbbfcebba639
[ "MIT" ]
null
null
null
src/_app_state_wait.cpp
zborffs/Delta
b2efa9fe1cc2138656f4d7964ccdbbbfcebba639
[ "MIT" ]
null
null
null
#include "_app_state_wait.hpp" bool AppStateWait::handle() { /// wait for button to be pressed /// once button is pressed, return to recognition state context_->transition_to(new AppStateRecognition); return true; // return true if successful }
29.111111
59
0.721374
zborffs
f97406a18e1935646cf8cf73dc85afd3fbb49bd8
2,756
cpp
C++
Ch4/Ch4_p13.cpp
chong0810/C_plusplus_training
98ee4bb985e87c748eda26346a73fe3a93aadfb8
[ "MIT" ]
null
null
null
Ch4/Ch4_p13.cpp
chong0810/C_plusplus_training
98ee4bb985e87c748eda26346a73fe3a93aadfb8
[ "MIT" ]
null
null
null
Ch4/Ch4_p13.cpp
chong0810/C_plusplus_training
98ee4bb985e87c748eda26346a73fe3a93aadfb8
[ "MIT" ]
null
null
null
/* Name: Chang Yeon Hong Date: 09/10/2021 Program Name: Running the Race */ #include <iostream> using namespace std; int main() { string name1, name2, name3; int time1, time2, time3; bool should_continue = false; cout << "Running the Race" << endl; cout << "What is the name of the first runner? "; cin >> name1; ...
22.406504
85
0.498911
chong0810
f978273256c277dd7d6facabf686f80fe855a3e2
316
cpp
C++
benignware/1309.cpp
CodmingOut/SecretProjectAI
addc43117eab30a25453c18fa042739c33cc6cfb
[ "MIT" ]
8
2018-04-12T15:54:09.000Z
2020-06-05T07:41:15.000Z
src/1000/1309.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
src/1000/1309.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
#include <cstdio> #define mod 9901 using namespace std; int main() { int dp1, dp2, dp0; int n; scanf("%d", &n); dp1=dp2=dp0=1; for(int i=2; i<=n; i++) { int a1, a2, a0; a1=dp2+dp0; a2=dp1+dp0; a0=dp1+dp2+dp0; dp1=a1%mod, dp2=a2%mod, dp0=a0%mod; } printf("%d\n", (dp1+dp2+dp0)%mod); return 0; }
13.166667
37
0.572785
CodmingOut
f97bae6a5e74bd7e7b97f4442f2d27f8c24e1263
6,195
cpp
C++
src/systems/InputReactorSystem.cpp
adct-the-experimenter/alpha-warriors
fb7be45dcbcf02db625d5fbadf9a24756e20e613
[ "MIT" ]
null
null
null
src/systems/InputReactorSystem.cpp
adct-the-experimenter/alpha-warriors
fb7be45dcbcf02db625d5fbadf9a24756e20e613
[ "MIT" ]
null
null
null
src/systems/InputReactorSystem.cpp
adct-the-experimenter/alpha-warriors
fb7be45dcbcf02db625d5fbadf9a24756e20e613
[ "MIT" ]
null
null
null
#include "InputReactorSystem.h" #include "core/system.h" #include "core/coordinator.h" extern Coordinator gCoordinator; float speed_factor = 200.0f; static const int16_t joystick_border = 32600; static const int16_t joystick_border_analog = 10000; void InputReactorSystem::Update(ControllerInput& input) { for (a...
30.820896
113
0.675706
adct-the-experimenter
f97cb42b4493eb2b56197b6e25b4c22dc6a4f9ac
4,045
hpp
C++
src/RHI/D3D11/RHIContext_D3D11.hpp
kevin20x2/PersistEngine
eeb4e14840d53274aa51fca6ad69f6f44a4e61ab
[ "MIT" ]
null
null
null
src/RHI/D3D11/RHIContext_D3D11.hpp
kevin20x2/PersistEngine
eeb4e14840d53274aa51fca6ad69f6f44a4e61ab
[ "MIT" ]
null
null
null
src/RHI/D3D11/RHIContext_D3D11.hpp
kevin20x2/PersistEngine
eeb4e14840d53274aa51fca6ad69f6f44a4e61ab
[ "MIT" ]
null
null
null
#pragma once #include <FrameWork/RHIContext/RHIContext.hpp> #include "../RHIResource.hpp" #include <dxgi.h> #include <d3dcommon.h> #include <d3d11.h> #include <d3dcompiler.h> namespace Persist { class RHIContext_D3D11 : extends IRHIContext { public : static RHIContext_D3D11 *instance ; ...
34.57265
130
0.692707
kevin20x2
f97fa29c525826fb63bb8cc8c5048370b93b1288
9,796
cpp
C++
ROS2/src/tai_gokart_controller/src/tai_gokart_controller_node.cpp
Triton-AI/go-kart-real-time-controller
bc94bf44d55d7499d8af94107f90bce19adb7ae1
[ "Apache-2.0" ]
null
null
null
ROS2/src/tai_gokart_controller/src/tai_gokart_controller_node.cpp
Triton-AI/go-kart-real-time-controller
bc94bf44d55d7499d8af94107f90bce19adb7ae1
[ "Apache-2.0" ]
5
2021-10-14T03:54:55.000Z
2022-03-20T21:39:46.000Z
ROS2/src/tai_gokart_controller/src/tai_gokart_controller_node.cpp
Triton-AI/go-kart-real-time-controller
bc94bf44d55d7499d8af94107f90bce19adb7ae1
[ "Apache-2.0" ]
null
null
null
/** * @file tai_gokart_controller_node.cpp * @author Haoru Xue (haoru.xue@autoware.org) * @brief * @version 0.1 * @date 2022-02-07 * * @copyright Copyright 2022 Triton AI * */ #include <string> #include <memory> #include "tai_gokart_controller/tai_gokart_controller_node.hpp" namespace tritonai { namespace gk...
37.968992
99
0.71764
Triton-AI
f97faf9dade46d9997bef58c21c04a63a579cd2f
6,318
cpp
C++
src/RowCanvas/ClimateEntityRowCanvas.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
2
2020-10-23T19:53:56.000Z
2020-11-06T08:59:48.000Z
src/RowCanvas/ClimateEntityRowCanvas.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
src/RowCanvas/ClimateEntityRowCanvas.cpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
#include "ClimateEntityRowCanvas.hpp" #include "Fonts.hpp" #include "Support.hpp" #include "LovelaceConfig/ThermostatCardConfig.hpp" ClimateEntityRowCanvas::ClimateEntityRowCanvas(Canvas * canvas, uint16_t id, HomeAssistantManager * hass, DefaultRowConfig * rowConfig, LcdTheme * theme) : BaseEntityRowCanvas(canvas...
42.979592
155
0.537354
RobinSinghNanda
f981ff5e9ac89eaf0b59eb4f5c8c427a0cb4b7ea
939
ipp
C++
ThirdParty/oglplus-develop/implement/eglplus/enums/swap_behavior_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
24
2015-01-31T15:30:49.000Z
2022-01-29T08:36:42.000Z
ThirdParty/oglplus-develop/implement/eglplus/enums/swap_behavior_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
4
2015-08-21T02:29:15.000Z
2020-05-02T13:50:36.000Z
ThirdParty/oglplus-develop/implement/eglplus/enums/swap_behavior_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
9
2015-06-08T22:04:15.000Z
2021-08-16T03:52:11.000Z
/* * .file eglplus/enums/swap_behavior_names.ipp * * Automatically generated header file. DO NOT modify manually, * edit 'source/enums/eglplus/swap_behavior.txt' instead. * * Copyright 2010-2013 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1...
24.076923
73
0.773163
vif
f985a5df63e43ec3c43b49e12c9833867fb2cea2
2,223
cpp
C++
src/back-end/token.cpp
IronManCool001/night
7ee89d0c34f5a8ed297aff8b07268fd03fb5a15f
[ "Apache-2.0" ]
1
2021-06-10T20:05:28.000Z
2021-06-10T20:05:28.000Z
src/back-end/token.cpp
IronManCool001/night
7ee89d0c34f5a8ed297aff8b07268fd03fb5a15f
[ "Apache-2.0" ]
null
null
null
src/back-end/token.cpp
IronManCool001/night
7ee89d0c34f5a8ed297aff8b07268fd03fb5a15f
[ "Apache-2.0" ]
null
null
null
#include "../../include/back-end/token.hpp" #include "../../include/back-end/utils.hpp" #include "../../include/error.hpp" VariableType::VariableType(const Type& _type) : type(_type) {} VariableType::VariableType(const std::unordered_set<VariableType, HashVariableType>& _elem_types) : type(VariableType::ARRAY), spe...
22.683673
97
0.732794
IronManCool001
f9861c8c64481c9d9a472837a4adf3a270cfda0d
4,230
cc
C++
benchmark/supermalloc/src/makechunk.cc
jneuhauser/rpmalloc-benchmark
f492744530a349b9b6c831305b25aec0ec5a6a5b
[ "Unlicense" ]
287
2015-05-13T22:37:29.000Z
2022-03-31T01:56:53.000Z
benchmark/supermalloc/src/makechunk.cc
jneuhauser/rpmalloc-benchmark
f492744530a349b9b6c831305b25aec0ec5a6a5b
[ "Unlicense" ]
50
2015-06-08T02:13:25.000Z
2019-07-17T22:41:02.000Z
benchmark/supermalloc/src/makechunk.cc
jneuhauser/rpmalloc-benchmark
f492744530a349b9b6c831305b25aec0ec5a6a5b
[ "Unlicense" ]
31
2015-07-24T10:20:49.000Z
2022-01-17T18:30:51.000Z
#include <stdlib.h> #include <sys/mman.h> #include <errno.h> #include "malloc_internal.h" #include "bassert.h" #include "generated_constants.h" #ifdef TESTING #include <string.h> #endif // Nothing in this file seems to need locking. We rely on the thread safety of mmap and munmap. static size_t total_mapped = 0; s...
29.58042
135
0.658865
jneuhauser
f986d7d99a91518777ca0809a11ac489914eb10a
4,366
cpp
C++
src/debugger/stepper_simple.cpp
sar/netcoredbg
c9b95f74452d3ac58ebe6642f64143fbe225df83
[ "MIT" ]
402
2017-12-12T13:12:39.000Z
2022-03-28T01:43:25.000Z
src/debugger/stepper_simple.cpp
sar/netcoredbg
c9b95f74452d3ac58ebe6642f64143fbe225df83
[ "MIT" ]
83
2018-01-10T16:23:43.000Z
2022-03-22T07:25:42.000Z
src/debugger/stepper_simple.cpp
sar/netcoredbg
c9b95f74452d3ac58ebe6642f64143fbe225df83
[ "MIT" ]
66
2018-01-10T10:39:59.000Z
2022-03-27T15:55:10.000Z
// Copyright (c) 2021 Samsung Electronics Co., LTD // Distributed under the MIT License. // See the LICENSE file in the project root for more information. #include "debugger/stepper_simple.h" #include "debugger/threads.h" #include "interfaces/idebugger.h" #include "metadata/modules.h" namespace netcoredbg {...
30.964539
113
0.659643
sar
f986fe933ae2db835d7b7eca76cb4c5dd3535381
6,676
cpp
C++
apps/bacnetsmartactor_new/main/httpsserver/httpsserver.cpp
klaus-liebler/esp32
f6ad2b92153f64d2467f0256c6d2fe776d9d7145
[ "MIT" ]
null
null
null
apps/bacnetsmartactor_new/main/httpsserver/httpsserver.cpp
klaus-liebler/esp32
f6ad2b92153f64d2467f0256c6d2fe776d9d7145
[ "MIT" ]
null
null
null
apps/bacnetsmartactor_new/main/httpsserver/httpsserver.cpp
klaus-liebler/esp32
f6ad2b92153f64d2467f0256c6d2fe776d9d7145
[ "MIT" ]
null
null
null
#include <stdint.h> #include <stdlib.h> #include <string.h> #include "lwip/sockets.h" #include "lwip/netdb.h" #include "openssl/ssl.h" #include "esp_log.h" #include "driver/gpio.h" #include "cJSON.h" #include "freertos/FreeRTOS.h" #include "esp_system.h" #include "httpsserver/httpsserver.h" #include "websocket_serve...
28.652361
178
0.684242
klaus-liebler
f987f91b722cf4146312e6498a6bcf8d29d62984
923
hpp
C++
FourthTask.hpp
AntonGlomadov/lab2-Parallel-
68805d332419a8df5a25024774fef9d793388461
[ "MIT" ]
null
null
null
FourthTask.hpp
AntonGlomadov/lab2-Parallel-
68805d332419a8df5a25024774fef9d793388461
[ "MIT" ]
null
null
null
FourthTask.hpp
AntonGlomadov/lab2-Parallel-
68805d332419a8df5a25024774fef9d793388461
[ "MIT" ]
null
null
null
// // Created by Антон Гломадов on 9/16/21. // #pragma once #include <omp.h> #include <iostream> void FourthTask() { std::cout<<"Задание 4\n"; int countOfThreads = 0; int nums = 0; std::cout<<"Введите количество потоков: "; std::cin>>countOfThreads; if (countOfThreads>omp_get_max_threads()){ ...
28.84375
151
0.600217
AntonGlomadov
f9886fff567a8f0337ce7d32627ffed592b07136
2,278
cpp
C++
Win32FormsExperiment/TextBox.cpp
HaanstootZA/KeyValuePair
2e3af2cd1e07be0d0b5489c1f5103aa94ad1ffcb
[ "Apache-2.0" ]
null
null
null
Win32FormsExperiment/TextBox.cpp
HaanstootZA/KeyValuePair
2e3af2cd1e07be0d0b5489c1f5103aa94ad1ffcb
[ "Apache-2.0" ]
null
null
null
Win32FormsExperiment/TextBox.cpp
HaanstootZA/KeyValuePair
2e3af2cd1e07be0d0b5489c1f5103aa94ad1ffcb
[ "Apache-2.0" ]
null
null
null
#include "TextBox.h" LPCSTR TextBox::Text(){ LPSTR temp = new char[Edit_GetTextLength(m_hwnd) + 1]; Edit_GetText(m_hwnd, temp, Edit_GetTextLength(m_hwnd) + 1); return temp; } void TextBox::Text(LPCSTR val){ m_text = val; if(m_hwnd == NULL) Title(m_text.c_str()); else ...
29.973684
119
0.647498
HaanstootZA
f98a44b6d3d084172293f3d9c15f3f22a7eaa073
2,648
cpp
C++
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4Exercise14.cpp
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
9
2018-10-24T15:16:47.000Z
2021-12-14T13:53:50.000Z
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4Exercise14.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
null
null
null
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4Exercise14.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
7
2018-10-29T15:30:37.000Z
2021-01-18T15:15:09.000Z
/* TITLE Sieve of Eratosthenes Chapter4Exercise14.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Find prime numbers from 1 to max using the Sieve of Eratosthenes algorithm, based on the exclusion of all composite numbers composed ...
24.747664
81
0.611782
Ziezi
f98c40b1872188eb8e61741d8fea9afcd6bfea65
1,992
cpp
C++
aws-cpp-sdk-evidently/source/model/FeatureStatus.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-evidently/source/model/FeatureStatus.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-evidently/source/model/FeatureStatus.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/evidently/model/FeatureStatus.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils...
28.056338
92
0.618474
perfectrecall
f98eedbae0ecadb82dd582451dd2a432dbd86ffe
972
cpp
C++
C++/uri1049.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
1
2020-11-09T17:06:43.000Z
2020-11-09T17:06:43.000Z
C++/uri1049.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
null
null
null
C++/uri1049.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
2
2020-07-29T09:33:29.000Z
2020-08-02T08:44:36.000Z
#include <bits/stdc++.h> #define read() freopen("input.txt", "r", stdin) #define write() freopen("output.txt", "w", stdout) using namespace std; int main(void) { string a, b, c; cin >> a; cin >> b; cin >> c; if(a == "vertebrado"){ if(b == "ave"){ if(c == "carnivoro") ...
22.090909
50
0.37963
AugustoDipNiloy
f99029d530443b37dcfcbecb29eb1651668c336d
2,273
cc
C++
Source/Shape/Triangle.cc
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
3
2016-10-05T17:57:53.000Z
2021-01-13T04:12:20.000Z
Source/Shape/Triangle.cc
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
2
2019-08-23T12:05:46.000Z
2019-08-23T12:24:31.000Z
Source/Shape/Triangle.cc
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
4
2018-01-26T05:20:00.000Z
2022-03-30T21:59:55.000Z
/****************************************************************************** This source file is part of the Delaunay project. Copyright T.J. Corona This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software distributed u...
24.44086
79
0.555653
vibraphone
f992841303189f799c92d8279a640ffb1d1ba802
614
hpp
C++
src/parser.hpp
Lesbre/csv2mdtable
a4ae31227c3db7f2b026ff8ae0be05158243e45b
[ "MIT" ]
null
null
null
src/parser.hpp
Lesbre/csv2mdtable
a4ae31227c3db7f2b026ff8ae0be05158243e45b
[ "MIT" ]
null
null
null
src/parser.hpp
Lesbre/csv2mdtable
a4ae31227c3db7f2b026ff8ae0be05158243e45b
[ "MIT" ]
null
null
null
/* This module contains functions for parsing and analysing the csv file Author: Dorian Lesbre */ #ifndef PARSER_HPP #define PARSER_HPP #include <string> #include <vector> #define max(a,b) ((a) > (b) ? (a) : (b)) // attempt to auto detect separator // returns 0 on failure char auto_detect_separator(const std::strin...
25.583333
106
0.745928
Lesbre
f99528b77e79ff5e0a4d05de6a277f9d67bd1ea2
287
hh
C++
Sources/Paper/paper-toast.hh
steelbrain/Polymer-XHP
187004a21c0b0e16efe11568137a1c14a73937fd
[ "MIT" ]
1
2015-04-25T06:08:50.000Z
2015-04-25T06:08:50.000Z
Sources/Paper/paper-toast.hh
steelbrain/Polymer-XHP
187004a21c0b0e16efe11568137a1c14a73937fd
[ "MIT" ]
null
null
null
Sources/Paper/paper-toast.hh
steelbrain/Polymer-XHP
187004a21c0b0e16efe11568137a1c14a73937fd
[ "MIT" ]
null
null
null
<?hh //strict class :paper-toast extends :polymer-xhp{ protected string $tagName = 'paper-toast'; attribute Stringish text, int duration, bool opened, Stringish responsiveWidth, bool swipeDisabled, bool autoCloseDisabled; children empty; category %flow; }
22.076923
44
0.703833
steelbrain
f99cb44f5cb95b6812b1a8bc504dd06923d26d84
12,398
cpp
C++
Source/Renderer/Renderer.cpp
lucho1/AGPEngine
ffc3c48689ce77539a24035f90be1ecd8a65f337
[ "Apache-2.0" ]
null
null
null
Source/Renderer/Renderer.cpp
lucho1/AGPEngine
ffc3c48689ce77539a24035f90be1ecd8a65f337
[ "Apache-2.0" ]
null
null
null
Source/Renderer/Renderer.cpp
lucho1/AGPEngine
ffc3c48689ce77539a24035f90be1ecd8a65f337
[ "Apache-2.0" ]
null
null
null
#include "Renderer.h" #include "Core/Application/Application.h" #include "Utils/RendererUtils.h" #include "Utils/RenderCommand.h" #include "Utils/RendererPrimitives.h" #include "Resources/Texture.h" #include <glad/glad.h> #include <glm/gtc/type_ptr.hpp> // ----------------------------------------------------------...
34.923944
169
0.710921
lucho1
f9a54688325636c3c81ce8614d359eac97292f4c
1,721
cxx
C++
Source/VTKExtensions/Filtering/vtkCMBArcDeleteOperator.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
Source/VTKExtensions/Filtering/vtkCMBArcDeleteOperator.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
Source/VTKExtensions/Filtering/vtkCMBArcDeleteOperator.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
24.942029
78
0.65369
developkits
390156ede6a53132c4c210c7ed0cf1c3c02534cb
1,590
cpp
C++
Chapter13/exam/Average.cpp
Rayyan06/CPP
daeededda19a0d9766115a700dd949d92dfa4963
[ "MIT" ]
1
2021-04-12T17:01:58.000Z
2021-04-12T17:01:58.000Z
Chapter13/exam/Average.cpp
Rayyan06/CPP
daeededda19a0d9766115a700dd949d92dfa4963
[ "MIT" ]
null
null
null
Chapter13/exam/Average.cpp
Rayyan06/CPP
daeededda19a0d9766115a700dd949d92dfa4963
[ "MIT" ]
null
null
null
#include <cstdint> #include <iostream> class Average { private: std::int_least32_t m_sum{}; std::int_least8_t m_count{}; public: // We need a default constructor Average() = default; Average(std::int_least8_t count, std::int_least32_t sum): m_count{ count }, m_sum{ sum } { } /* The reason I am overloadi...
20.649351
96
0.606918
Rayyan06
390157055004013c19d429156a14613672bd2451
8,556
cpp
C++
submodules/Digit_Model/gen/kin/eigen/src/p_LeftToeFront.cpp
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
submodules/Digit_Model/gen/kin/eigen/src/p_LeftToeFront.cpp
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
submodules/Digit_Model/gen/kin/eigen/src/p_LeftToeFront.cpp
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
/* * Automatically Generated from Mathematica. * Thu 4 Nov 2021 17:02:06 GMT-04:00 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "p_LeftToeFront.h" #ifdef _MSC_VER #define INLINE __forceinline /* use __forceinline (VC++ specific) */ #else #define INLINE static inline /* use standa...
22.223377
146
0.656031
prem-chand
3906b9e602b8fb6a69f83b4b92d48602939d9f4c
8,475
cpp
C++
vlc_test/vlc_test.cpp
gvd0hk/NymphCast
17f95c64a5c6a0b81186a456fb54e887ce175dee
[ "BSD-3-Clause" ]
2,226
2019-02-07T17:54:19.000Z
2022-03-30T11:48:49.000Z
vlc_test/vlc_test.cpp
gvd0hk/NymphCast
17f95c64a5c6a0b81186a456fb54e887ce175dee
[ "BSD-3-Clause" ]
51
2019-11-18T09:36:49.000Z
2022-03-13T23:01:38.000Z
vlc_test/vlc_test.cpp
gvd0hk/NymphCast
17f95c64a5c6a0b81186a456fb54e887ce175dee
[ "BSD-3-Clause" ]
80
2019-10-16T12:14:17.000Z
2022-02-11T14:29:31.000Z
// libSDL and libVLC sample code. // License: [http://en.wikipedia.org/wiki/WTFPL WTFPL] #include <stdio.h> #include <stdint.h> #include <math.h> #include <stdlib.h> #include <assert.h> #include <SDL2/SDL.h> #include <SDL2/SDL_mutex.h> #include <vlc/vlc.h> #include <fstream> #include <vector> #include <iterator...
24.214286
102
0.657109
gvd0hk
390ba7938de06a5b632d36113f395a63e1bfb105
1,653
cpp
C++
NeoOnnx/src/Nodes/ConstantNode.cpp
AlinaKalyakina/neoml
328eac0d23e45faedb07a336ebfaf36288bb0db9
[ "ECL-2.0", "Apache-2.0" ]
1
2020-12-25T08:04:55.000Z
2020-12-25T08:04:55.000Z
NeoOnnx/src/Nodes/ConstantNode.cpp
AlinaKalyakina/neoml
328eac0d23e45faedb07a336ebfaf36288bb0db9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
NeoOnnx/src/Nodes/ConstantNode.cpp
AlinaKalyakina/neoml
328eac0d23e45faedb07a336ebfaf36288bb0db9
[ "ECL-2.0", "Apache-2.0" ]
1
2020-11-05T06:46:19.000Z
2020-11-05T06:46:19.000Z
/* Copyright © 2017-2020 ABBYY Production LLC 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, ...
35.170213
112
0.701149
AlinaKalyakina
39144a9881be427bfe5afb9435a6962fd8fa2eb8
1,562
cpp
C++
tests/main.cpp
sim31/polleos
7d2fe5afc0cf070f5f99ff5428e35c4b2d860a5f
[ "MIT" ]
13
2018-01-12T09:11:51.000Z
2022-01-09T12:57:35.000Z
tests/main.cpp
sim31/polleos
7d2fe5afc0cf070f5f99ff5428e35c4b2d860a5f
[ "MIT" ]
null
null
null
tests/main.cpp
sim31/polleos
7d2fe5afc0cf070f5f99ff5428e35c4b2d860a5f
[ "MIT" ]
5
2018-05-18T01:34:09.000Z
2021-11-27T15:09:23.000Z
/** * @file * @copyright defined in eos/LICENSE.txt */ #define BOOST_TEST_MODULE polleos-tests #define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include <boost/test/unit_test_monitor.hpp> #include <cstdlib> #include <iostream> #include <fc/log/logger.hpp> #include <eosio/chain/exceptions.hpp> //ext...
31.877551
86
0.669014
sim31
391693d1a96266217656aa9d71152255be3e49d0
11,540
cc
C++
src/state_splitter.cc
mohantypunit/trainc
0a8e42bdf86ea26d30cfc47376a8b285458d706a
[ "Apache-2.0" ]
2
2015-06-06T13:22:33.000Z
2015-06-07T03:45:04.000Z
src/state_splitter.cc
edobashira/trainc
41ccbd1e79753b6db25eb5d3d318400a1c3e0fca
[ "Apache-2.0" ]
null
null
null
src/state_splitter.cc
edobashira/trainc
41ccbd1e79753b6db25eb5d3d318400a1c3e0fca
[ "Apache-2.0" ]
null
null
null
// state_splitter.cc // // 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, ...
40.209059
243
0.675043
mohantypunit
391ec66ad72b9ace77086422a2de1e4cbf67a05a
36,246
cpp
C++
Core/Engine.cpp
zgub4/op3d
2a9a01b3b7666f4ef1afcb279530c57126e3baa8
[ "Apache-2.0" ]
2
2017-03-02T15:40:58.000Z
2017-05-19T07:58:05.000Z
Core/Engine.cpp
zgub4/op3d
2a9a01b3b7666f4ef1afcb279530c57126e3baa8
[ "Apache-2.0" ]
2
2017-04-05T01:50:36.000Z
2017-04-06T09:20:12.000Z
Core/Engine.cpp
zgub4/op3d
2a9a01b3b7666f4ef1afcb279530c57126e3baa8
[ "Apache-2.0" ]
null
null
null
#include "Engine.h" #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> void op3d::Engine::run() { initWindow(); initVulkan(); mainLoop(); } void op3d::Engine::initWindow() { glfwInit(); glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API); window = glfwCreateWindow(WIDTH, HEIGHT, "op3d", nullpt...
38.315011
178
0.727032
zgub4
3925a09931b4b5e463dea401a35fcda5da4dc837
203
cpp
C++
AtCoder/soundhound2018-summer-qual/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/soundhound2018-summer-qual/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/soundhound2018-summer-qual/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; if (a + b == 15) printf("%c\n", '+'); else if (a * b == 15) printf("%c\n", '*'); else printf("%c\n", 'x'); }
25.375
46
0.463054
H-Tatsuhiro
392a962035f2e29eebd4477ada49d0d6c84cc295
416
cpp
C++
test/pybind11/python/bindings.cpp
Trick-17/clang-build
9830f4bc18f5a082bd88b310965e974493508eab
[ "MIT" ]
8
2018-03-09T20:02:12.000Z
2021-08-21T21:38:13.000Z
test/pybind11/python/bindings.cpp
Trick-17/clang-build
9830f4bc18f5a082bd88b310965e974493508eab
[ "MIT" ]
131
2018-03-09T20:40:30.000Z
2022-02-16T23:20:59.000Z
test/pybind11/python/bindings.cpp
Trick-17/clang-build
9830f4bc18f5a082bd88b310965e974493508eab
[ "MIT" ]
3
2018-04-15T12:55:39.000Z
2021-07-07T00:23:55.000Z
#include <mylib.hpp> #include <pybind11/pybind11.h> #include <pybind11/functional.h> #include <pybind11/stl.h> #include <memory> namespace py = pybind11; PYBIND11_MODULE(pylib, m) { // Module version info m.attr("__version__") = "0.0.1dev"; // Module docstring m.doc() = "This is my library..."; ...
19.809524
72
0.65625
Trick-17
392b1d61cdd76c35da55133c6287e997f77204bd
28,619
cpp
C++
C++/pacman-legacy-cpp/source/map.cpp
sirarsalih/Games
c83cd8d9ebf9f9775994dd55f93f6e975c8520c1
[ "MIT" ]
null
null
null
C++/pacman-legacy-cpp/source/map.cpp
sirarsalih/Games
c83cd8d9ebf9f9775994dd55f93f6e975c8520c1
[ "MIT" ]
null
null
null
C++/pacman-legacy-cpp/source/map.cpp
sirarsalih/Games
c83cd8d9ebf9f9775994dd55f93f6e975c8520c1
[ "MIT" ]
null
null
null
/*************************************************************************************************************************************** **************************************************************************************************************************************** This is the map class. Here events such as lo...
29.113937
246
0.70261
sirarsalih
392b4de778a355dad1b911b4e528d7ca17bd61fb
1,674
cpp
C++
01-Algorithmic Toolbox/02-Algorithmic Warm-up/07-fibonacci_partial_sum.cpp
teamo1996/Data-Structures-and-Algorithms
e812866837cda61cc49649fbb3c06dcf6a48d4f2
[ "MIT" ]
null
null
null
01-Algorithmic Toolbox/02-Algorithmic Warm-up/07-fibonacci_partial_sum.cpp
teamo1996/Data-Structures-and-Algorithms
e812866837cda61cc49649fbb3c06dcf6a48d4f2
[ "MIT" ]
null
null
null
01-Algorithmic Toolbox/02-Algorithmic Warm-up/07-fibonacci_partial_sum.cpp
teamo1996/Data-Structures-and-Algorithms
e812866837cda61cc49649fbb3c06dcf6a48d4f2
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <math.h> using std::vector; long long pisano(long long m) { long prev = 0; long curr = 1; long res = 0; for (int i = 0; i < m * m; i++) { long temp = 0; temp = curr; curr = (prev + curr) % m; prev = temp; if (p...
19.928571
74
0.453405
teamo1996
392c73817fb00eb299705c689c32ff67b73d2339
688
cpp
C++
src/Public/z_http/z_file_writer.cpp
zpublic/cozy
dde5f2bcf7482e2e5042f9e51266d9fd272e1456
[ "WTFPL" ]
48
2015-04-11T13:25:45.000Z
2022-03-28T08:27:40.000Z
src/Public/z_http/z_file_writer.cpp
sgww/cozy
ef87e4a23b552f611ec616aaf4344e68843bec56
[ "WTFPL" ]
4
2016-04-06T09:30:57.000Z
2022-02-26T01:21:18.000Z
src/Public/z_http/z_file_writer.cpp
sgww/cozy
ef87e4a23b552f611ec616aaf4344e68843bec56
[ "WTFPL" ]
33
2015-06-03T10:06:54.000Z
2020-12-15T00:50:28.000Z
#include "z_file_writer.h" NS_ZL_BEGIN ZLFileWriter::ZLFileWriter(const std::string& strFileName) : m_strFileName(strFileName), m_pFile(NULL), m_nLength(0) { m_pFile = std::fopen(strFileName.c_str(), "wb"); } ZLFileWriter::~ZLFileWriter() { if (m_pFile) { std::fclose(m_pFile); m_pFile...
16.780488
64
0.638081
zpublic
3932378b74662ba641ff732361e5352af5615617
170
cpp
C++
tests/unit/appc/schema/test_app.cpp
cdaylward/libappc
4f7316b584d92a110198a3f1573c170e5492194c
[ "Apache-2.0" ]
63
2015-01-20T18:35:27.000Z
2021-11-16T10:53:40.000Z
tests/unit/appc/schema/test_app.cpp
Manu343726/libappc
8d181ef4ee80c8f1bcbf6ca04cf66e04e5e5bc8a
[ "Apache-2.0" ]
5
2015-01-20T17:28:54.000Z
2015-02-09T17:36:54.000Z
tests/unit/appc/schema/test_app.cpp
cdaylward/libappc
4f7316b584d92a110198a3f1573c170e5492194c
[ "Apache-2.0" ]
12
2015-01-26T04:37:08.000Z
2020-11-14T02:19:13.000Z
#include "gtest/gtest.h" #include "appc/schema/app.h" using namespace appc::schema; TEST(App, aaa) { // placeholder // TODO(cdaylward) App::from_json(Json{}); }
14.166667
29
0.664706
cdaylward
39332e592d34212dce6b1f1cc33cda3ba8f572d1
1,121
cc
C++
CatalogTree.cc
zhaoqibin/filesystem
b7576508d2eccd1872b4a3300da9c1f1db0cc96d
[ "MIT" ]
null
null
null
CatalogTree.cc
zhaoqibin/filesystem
b7576508d2eccd1872b4a3300da9c1f1db0cc96d
[ "MIT" ]
null
null
null
CatalogTree.cc
zhaoqibin/filesystem
b7576508d2eccd1872b4a3300da9c1f1db0cc96d
[ "MIT" ]
null
null
null
// // Created by bingo on 2021-04-11. // #include <filesystem> #include <iostream> #include <fstream> #include "CatalogTree.h" std::vector<std::string> CatalogTree::GetPathRecursive(const std::string &root) { std::vector<std::string> all_path; for (auto &p: std::filesystem::recursive_directory_iterator(root)) { ...
26.690476
81
0.694023
zhaoqibin
3937974051f53b6de75595f4ae783d734b8c41cc
632
cpp
C++
src/dialog/MatchedOrders.cpp
captain-igloo/greenthumb
39d62004e6f6b6fa7da52b3f6ff1c198b04e1d72
[ "MIT" ]
3
2019-04-08T19:17:51.000Z
2019-05-21T01:01:29.000Z
src/dialog/MatchedOrders.cpp
captain-igloo/greenthumb
39d62004e6f6b6fa7da52b3f6ff1c198b04e1d72
[ "MIT" ]
1
2019-04-30T23:39:06.000Z
2019-07-27T00:07:20.000Z
src/dialog/MatchedOrders.cpp
captain-igloo/greenthumb
39d62004e6f6b6fa7da52b3f6ff1c198b04e1d72
[ "MIT" ]
1
2019-02-28T09:22:18.000Z
2019-02-28T09:22:18.000Z
/** * Copyright 2020 Colin Doig. Distributed under the MIT license. */ #include "dialog/MatchedOrders.h" #include "worker/ListCurrentOrders.h" #include "MatchedOrder.h" namespace greenthumb { namespace dialog { MatchedOrders::MatchedOrders(wxWindow* parent) : CurrentOrdersPage(parent) { if (noOrdersMessage !=...
22.571429
76
0.732595
captain-igloo
3938dc3f0368bc6fd0e3cd42b9b7a9519cb8aa3b
2,037
hpp
C++
headers/cheat/CheatUtility.hpp
dehoisted/CrabGame-Cheat-Menu
7dc0789b5b261d51ba0dc9596e77848c09d81a62
[ "MIT" ]
3
2021-12-26T20:56:42.000Z
2022-03-03T02:42:22.000Z
headers/cheat/CheatUtility.hpp
dehoisted/CrabGame-Cheat-Menu
7dc0789b5b261d51ba0dc9596e77848c09d81a62
[ "MIT" ]
null
null
null
headers/cheat/CheatUtility.hpp
dehoisted/CrabGame-Cheat-Menu
7dc0789b5b261d51ba0dc9596e77848c09d81a62
[ "MIT" ]
1
2022-01-16T01:28:37.000Z
2022-01-16T01:28:37.000Z
#pragma once #include <string> #include <regex> #include <sstream> #include "ProcessModule.h" namespace Cheat { static ProcessMemory memory("Crab Game.exe"); static ProcessModule game("GameAssembly.dll"); static std::string cheat_status = "no cheats have been activated yet.", sig_status = "No sign...
36.375
204
0.599902
dehoisted
393ad4d2eb5f719c7f8284ff314bfaffddb65f4f
3,786
hpp
C++
DCE/include/DCE/CacheFile.hpp
macmade/dyld_cache_extract
9cd06532912d8cc3b0a43e1a62bef12248f1329b
[ "MIT" ]
211
2016-11-05T01:01:12.000Z
2022-02-21T13:42:02.000Z
DCE/include/DCE/CacheFile.hpp
dothanthitiendiettiende/dyld_cache_extract
9cd06532912d8cc3b0a43e1a62bef12248f1329b
[ "MIT" ]
7
2016-11-23T12:23:51.000Z
2020-12-29T01:19:41.000Z
DCE/include/DCE/CacheFile.hpp
dothanthitiendiettiende/dyld_cache_extract
9cd06532912d8cc3b0a43e1a62bef12248f1329b
[ "MIT" ]
35
2016-11-08T11:30:00.000Z
2021-12-11T08:38:10.000Z
/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2016 Jean-David Gadina - www-xs-labs.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
45.614458
205
0.56841
macmade
393c9cfeacf366227f10d338393966ac092749ca
3,572
cpp
C++
src/Saurobyte/OpenALImpl.cpp
Symphonym/Saurobyte
c4bc5afd4ac4353ed6cd9a201454fd14aa3aced2
[ "MIT" ]
17
2015-01-26T19:46:42.000Z
2021-10-04T15:30:32.000Z
src/Saurobyte/OpenALImpl.cpp
Symphonym/Saurobyte
c4bc5afd4ac4353ed6cd9a201454fd14aa3aced2
[ "MIT" ]
1
2021-04-06T01:12:03.000Z
2021-04-06T01:12:03.000Z
src/Saurobyte/OpenALImpl.cpp
Symphonym/Saurobyte
c4bc5afd4ac4353ed6cd9a201454fd14aa3aced2
[ "MIT" ]
2
2015-02-03T21:23:49.000Z
2021-05-02T14:52:52.000Z
/* The MIT License (MIT) Copyright (c) 2014 by Jakob Larsson 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, m...
35.72
122
0.768197
Symphonym
393c9d95a251c7abbe701af9205f24932d24a7d6
709
cpp
C++
1.Brute-Force/1.1.Iterative-Brute-Force/CodeForces 30A - Accounting.cpp
mograby3500/psolving-paradigms
073aa13bc9ee1eb2bf77dd7054388f93bd98d8da
[ "MIT" ]
22
2021-07-01T00:27:15.000Z
2021-08-10T11:20:22.000Z
1.brute-force/1.1.iterative-brute-force/CodeForces 30A - Accounting.cpp
AHR9N/Solving-Paradigms
d1baa51df262170c9b7cc802ea2f9f1ccfc6a427
[ "MIT" ]
null
null
null
1.brute-force/1.1.iterative-brute-force/CodeForces 30A - Accounting.cpp
AHR9N/Solving-Paradigms
d1baa51df262170c9b7cc802ea2f9f1ccfc6a427
[ "MIT" ]
2
2022-01-30T23:25:17.000Z
2022-02-05T14:47:51.000Z
#include <bits/stdc++.h> using namespace std; #define to(i, a, n) for(ll i=a; i<n; i++) typedef long long ll; typedef long double ld; int dx[] = {0, 1, 0, -1}; int dy[] = {1, 0, -1, 0}; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); int a, b, n; cin >> a >> b >> n; if(!a && b) retur...
19.694444
54
0.454161
mograby3500
3940dc041c1783eec9e7c950402fd7c42e620d8e
2,366
cpp
C++
src/uri/utils.cpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
4,537
2015-01-01T03:26:40.000Z
2022-03-31T03:07:00.000Z
src/uri/utils.cpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
227
2015-01-29T02:21:39.000Z
2022-03-29T13:35:50.000Z
src/uri/utils.cpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
1,992
2015-01-05T12:29:19.000Z
2022-03-31T03:07:07.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
23.89899
75
0.636095
zagrev
3947265932378275dea1a51cbfb7f6dd21e99a93
8,645
cpp
C++
src/ml/kmeans.cpp
hzh0512/Lightweight-MapReduce
c0a678008a08f800bc50f4ddb6a3d4c9e83fe523
[ "MIT" ]
9
2018-11-19T20:38:46.000Z
2022-03-12T18:04:41.000Z
src/ml/kmeans.cpp
evenleo/simple-mapreduce
e4ea504c2028743cea9636646ba4c7103e54adeb
[ "MIT" ]
null
null
null
src/ml/kmeans.cpp
evenleo/simple-mapreduce
e4ea504c2028743cea9636646ba4c7103e54adeb
[ "MIT" ]
null
null
null
#include "kmeans.h" namespace lmr { namespace ml { string KMeans_tmpdir = "lmr_kmeans_tmp/", KMeans_trainingfile = KMeans_tmpdir + "train_centroids.txt"; void get_centroids(vector<vector<double>>& centroids) { centroids.clear(); ifst...
33.769531
139
0.425911
hzh0512
394a4aec820d1e85d3a94aaca156b9563e961947
5,559
cpp
C++
src/Serialization/BinaryOutputStreamSerializer.cpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
src/Serialization/BinaryOutputStreamSerializer.cpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
src/Serialization/BinaryOutputStreamSerializer.cpp
ElSamaritan/blockchain-OLD
ca3422c8873613226db99b7e6735c5ea1fac9f1a
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // // This file is part of Bytecoin. // // Bytecoin is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of ...
29.887097
100
0.743299
ElSamaritan
394a855369726730fd65dddc97c10729b5a4c2dc
2,178
cpp
C++
test/kumi/tie.cpp
kitegi/ofw
3c25d24b221a945b3e7edbcf0367bb0873ea0e50
[ "MIT" ]
1
2021-07-16T18:17:24.000Z
2021-07-16T18:17:24.000Z
test/kumi/tie.cpp
kitegi/ofw
3c25d24b221a945b3e7edbcf0367bb0873ea0e50
[ "MIT" ]
null
null
null
test/kumi/tie.cpp
kitegi/ofw
3c25d24b221a945b3e7edbcf0367bb0873ea0e50
[ "MIT" ]
null
null
null
//================================================================================================== /** RABERU - Fancy Parameters Library Copyright : RABERU Contributors & Maintainers SPDX-License-Identifier: MIT **/ //==============================================================================================...
30.676056
100
0.567493
kitegi
394b2e42a91a6fabdf93fc2b2f631ebf621240d1
1,145
cpp
C++
Game/YouWinScene.cpp
scottvermast/2DGameEngine
ee2d6ddcffcc5cb0abfdc40119526f291fd8a986
[ "Apache-2.0" ]
null
null
null
Game/YouWinScene.cpp
scottvermast/2DGameEngine
ee2d6ddcffcc5cb0abfdc40119526f291fd8a986
[ "Apache-2.0" ]
null
null
null
Game/YouWinScene.cpp
scottvermast/2DGameEngine
ee2d6ddcffcc5cb0abfdc40119526f291fd8a986
[ "Apache-2.0" ]
null
null
null
#include "YouWinScene.h" YouWinScene::YouWinScene() : Scene(L"YouWinScene") , m_pBackButtonComponent(nullptr) , m_pScoreManager(ScoreManager::GetInstance()) { } YouWinScene::~YouWinScene() { } void YouWinScene::Initialize() { GameObject* pBackGround = new GameObject(); pBackGround->AddComponent(new TextureC...
22.019231
92
0.751092
scottvermast