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
fc0957ac5528616fae5fef7850f43d58aa1f4ea8
1,393
cc
C++
src/fi/cpu_injfault.cc
ramirocf/gem5-pipe
3eca35c39f72b2bbb9293d10ec8d568c326e2886
[ "BSD-3-Clause" ]
null
null
null
src/fi/cpu_injfault.cc
ramirocf/gem5-pipe
3eca35c39f72b2bbb9293d10ec8d568c326e2886
[ "BSD-3-Clause" ]
null
null
null
src/fi/cpu_injfault.cc
ramirocf/gem5-pipe
3eca35c39f72b2bbb9293d10ec8d568c326e2886
[ "BSD-3-Clause" ]
null
null
null
#include "fi/faultq.hh" #include "fi/cpu_injfault.hh" #include "fi/fi_system.hh" #include <iostream> #include <fstream> using namespace std; CPUInjectedFault::CPUInjectedFault( ifstream &os) :InjectedFault(os){ int t; os>>t; setTContext(t); } CPUInjectedFault::~CPUInjectedFault() { } const char * CPUInje...
21.106061
154
0.661163
ramirocf
fc0b66d849890beaf241e88fec2f5e738653a689
3,191
cpp
C++
FaceDetector/src/seeta/FaceDetector.cpp
chlzaoyaowan/SeetaFace2
7ce6714c766ffb1f5f5fc073e38fa5d4981d7a52
[ "BSD-2-Clause" ]
2,063
2019-08-19T01:16:50.000Z
2022-03-30T03:45:19.000Z
FaceDetector/src/seeta/FaceDetector.cpp
chlzaoyaowan/SeetaFace2
7ce6714c766ffb1f5f5fc073e38fa5d4981d7a52
[ "BSD-2-Clause" ]
102
2019-08-19T01:55:19.000Z
2021-12-22T03:33:39.000Z
FaceDetector/src/seeta/FaceDetector.cpp
chlzaoyaowan/SeetaFace2
7ce6714c766ffb1f5f5fc073e38fa5d4981d7a52
[ "BSD-2-Clause" ]
636
2019-08-19T01:21:43.000Z
2022-03-06T13:57:53.000Z
#include "seeta/FaceDetector.h" #include <fstream> #include <array> #include <iostream> #include "CStruct.h" #include "FaceDetectorPrivate.h" namespace seeta { namespace v2 { //////////////////////////////////////////////////////////// FaceDetector::FaceDetector( const SeetaModelSetting &setti...
33.239583
103
0.508305
chlzaoyaowan
fc0c1d08d1efe30e86cb65082b44b92d1683837a
1,768
cpp
C++
Platforms/Windows/Window.cpp
dkoluris/pseudo
07a8d287f6b22ba70b73a012f560ff4a68dab2c3
[ "Apache-2.0" ]
40
2018-04-04T05:36:58.000Z
2021-11-15T02:03:05.000Z
Platforms/Windows/Window.cpp
dkoluris/PSeudo
07a8d287f6b22ba70b73a012f560ff4a68dab2c3
[ "Apache-2.0" ]
1
2019-07-24T01:37:12.000Z
2019-09-10T07:58:12.000Z
Platforms/Windows/Window.cpp
dkoluris/pseudo
07a8d287f6b22ba70b73a012f560ff4a68dab2c3
[ "Apache-2.0" ]
4
2018-09-19T10:29:44.000Z
2020-06-18T22:24:32.000Z
#include "Global.h" HWND hWnd; HINSTANCE hInst; LRESULT CALLBACK WndProc(HWND hWnd, UINT mes, WPARAM wParam, LPARAM lParam) { switch(mes) { case WM_CREATE: ConsoleOutput("WM_CREATE\n"); return 0; case WM_COMMAND: switch (LOWORD(wParam)) { ...
22.1
134
0.52319
dkoluris
fc0e5d67ca71d9f72747a61faf2086a7cdac55be
9,892
cpp
C++
sample/_devel/feature/main.cpp
sanko-shoko/simplesp
6a71022dbb9a304e5a68d60885a04906dc78913a
[ "MIT" ]
24
2017-09-07T16:08:33.000Z
2022-02-26T16:32:48.000Z
sample/_devel/feature/main.cpp
sanko-shoko/simplesp
6a71022dbb9a304e5a68d60885a04906dc78913a
[ "MIT" ]
null
null
null
sample/_devel/feature/main.cpp
sanko-shoko/simplesp
6a71022dbb9a304e5a68d60885a04906dc78913a
[ "MIT" ]
8
2018-11-30T02:53:24.000Z
2021-05-18T06:30:42.000Z
#define SP_USE_DEBUG 1 #define SP_USE_IMGUI 1 #include "simplesp.h" #include "spex/spgl.h" #include "spex/spcv.h" using namespace sp; class FeatureGUI : public BaseWindow { private: Mem1<Mem2<Col3>> m_imgs; Mem1<Mem1<Ftr>> m_ftrs; Mem1<int> m_matches; int m_mode; int m_ival; private: ...
28.83965
106
0.454812
sanko-shoko
fc0f82fc6b50d6280e430daf9cfc54754b7a60e4
527
cpp
C++
TopCoder642div2-250.cpp
therainmak3r/dirty-laundry
39e295e9390b62830bef53282cdcb63716efac45
[ "MIT" ]
20
2015-12-22T14:14:59.000Z
2019-10-25T12:14:23.000Z
TopCoder642div2-250.cpp
therainmak3r/dirty-laundry
39e295e9390b62830bef53282cdcb63716efac45
[ "MIT" ]
null
null
null
TopCoder642div2-250.cpp
therainmak3r/dirty-laundry
39e295e9390b62830bef53282cdcb63716efac45
[ "MIT" ]
2
2016-06-27T13:34:08.000Z
2018-10-02T20:36:54.000Z
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <cmath> #include <cstring> using namespace std; class ForgetfulAddition { public: int minNumber(string a) { int ans = 100000000; for (int i = 1; i < a.length(); i++) { string ta = a.substr(0,i); string tb...
19.518519
60
0.555977
therainmak3r
fc1096b72213c5bfacc1ffa11262ae88a74af1dd
3,699
cpp
C++
FarLight/src/FarLight/ConfigurationSystem/LocalConfigurations/Libraries/ShaderLibrary/ShaderLibraryConfiguration.cpp
NewBediver/FarLight
1ffaf127f51bb88ea3f5eb8d05c04458532d5389
[ "Apache-2.0" ]
null
null
null
FarLight/src/FarLight/ConfigurationSystem/LocalConfigurations/Libraries/ShaderLibrary/ShaderLibraryConfiguration.cpp
NewBediver/FarLight
1ffaf127f51bb88ea3f5eb8d05c04458532d5389
[ "Apache-2.0" ]
null
null
null
FarLight/src/FarLight/ConfigurationSystem/LocalConfigurations/Libraries/ShaderLibrary/ShaderLibraryConfiguration.cpp
NewBediver/FarLight
1ffaf127f51bb88ea3f5eb8d05c04458532d5389
[ "Apache-2.0" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include "flpch.h" #include "FarLight/ConfigurationSystem/LocalConfigurations/Libraries/ShaderLibrary/ShaderLibraryConfiguration.h" #include "FarLight/Virtua...
40.206522
116
0.643958
NewBediver
fc152f527bb4311d55dfe6dd4caa69cfbe70c906
1,098
cpp
C++
abc/024/c.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
3
2019-06-25T06:17:38.000Z
2019-07-13T15:18:51.000Z
abc/024/c.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
abc/024/c.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<ll> vi; #define REP(i, n) for (ll i = 0; i < (n); ++i) #define OUT(x) cout << (x) << endl; #define OUTA(a, n) \ REP(i, n) { cout << (a[i]) << (i == n - 1 ? "\n" : " "); } #define ALL(a) (a).begin(), (a).end() #define SORT(a) sort(ALL...
19.607143
62
0.317851
wotsushi
fc1fddb48915b7e42c4ba6885fd4aabbb3a0bda6
729
cpp
C++
leetcode/Algorithms/ContainsDuplicateIII/solution.cpp
hxdone/puzzles
b729bce8a61f77ad7cbb70957e00c5ade9a0a35f
[ "Apache-2.0" ]
2
2015-07-03T03:05:30.000Z
2015-07-03T03:05:31.000Z
leetcode/Algorithms/ContainsDuplicateIII/solution.cpp
hxdone/puzzles
b729bce8a61f77ad7cbb70957e00c5ade9a0a35f
[ "Apache-2.0" ]
null
null
null
leetcode/Algorithms/ContainsDuplicateIII/solution.cpp
hxdone/puzzles
b729bce8a61f77ad7cbb70957e00c5ade9a0a35f
[ "Apache-2.0" ]
null
null
null
// map solution by hxdone class Solution { public: bool containsNearbyAlmostDuplicate(vector<int>& nums, int k, int t) { map<int, int> vmap; for (int i = 0; i < nums.size(); ++i) { auto iter = vmap.lower_bound(nums[i]); if (iter != vmap.end() && (long)(iter->first)-nums[i] <...
29.16
77
0.415638
hxdone
fc2180c14eb9f4536e3670175ad40dd0f491bef6
1,483
cc
C++
solver/testing/tbicgsta.cc
ypzhang/playground
ca732d07e760d7e66b7ad783d9c48ab16335ef2e
[ "MIT" ]
null
null
null
solver/testing/tbicgsta.cc
ypzhang/playground
ca732d07e760d7e66b7ad783d9c48ab16335ef2e
[ "MIT" ]
null
null
null
solver/testing/tbicgsta.cc
ypzhang/playground
ca732d07e760d7e66b7ad783d9c48ab16335ef2e
[ "MIT" ]
null
null
null
#include <stdlib.h> // System includes #include <iostream> // #include "compcol_double.h" // Compressed column matrix header #include "iohb_double.h" // Harwell-Boeing matrix I/O header #include "mvblasd.h" // MV_Vector...
35.309524
78
0.556979
ypzhang
fc31c0312b2291acb3c11de4e276491145eedafe
2,480
cpp
C++
Tile2D/Core/SceneManager.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
Tile2D/Core/SceneManager.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
Tile2D/Core/SceneManager.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
// MIT License // // This file is part of SpaceGame. // Copyright (c) 2014-2018 Miika Pelkonen // // 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 lim...
29.879518
81
0.697581
mipelius
fc32939228b908d6d29521af8ecbd2b56452d845
657
cpp
C++
CppAny.cpp
epmpub/cpp2022
8df3d2b1f85f59246980dc440b4098c12307eaef
[ "Apache-2.0" ]
null
null
null
CppAny.cpp
epmpub/cpp2022
8df3d2b1f85f59246980dc440b4098c12307eaef
[ "Apache-2.0" ]
null
null
null
CppAny.cpp
epmpub/cpp2022
8df3d2b1f85f59246980dc440b4098c12307eaef
[ "Apache-2.0" ]
null
null
null
#include <any> #include <vector> #include <string> #include <iostream> #include <type_traits> using namespace std; struct S { S(const S& s) = default; S() = default; }; int main() { vector<std::any> v{5,3.14,string("EHCO"),S()}; // for(auto i:v){ // cout << i << endl; // } cout << s...
19.909091
82
0.554033
epmpub
fc36facbec550fa4735499976762cd761716b552
8,631
cpp
C++
test/test_linear_interpolator.cpp
KirillLykov/levelset-light
b010c402608dfe2b426a52a657f590e02deade2a
[ "BSD-2-Clause" ]
16
2015-03-24T09:23:16.000Z
2022-01-09T17:22:55.000Z
test/test_linear_interpolator.cpp
KirillLykov/levelset-light
b010c402608dfe2b426a52a657f590e02deade2a
[ "BSD-2-Clause" ]
null
null
null
test/test_linear_interpolator.cpp
KirillLykov/levelset-light
b010c402608dfe2b426a52a657f590e02deade2a
[ "BSD-2-Clause" ]
2
2017-12-27T01:39:39.000Z
2018-10-07T00:53:53.000Z
// (C) Copyright Kirill Lykov 2012. // // Distributed under the FreeBSD Software License (See accompanying file license.txt) #include <gtest/gtest.h> #include <grid.h> #include <iostream> #include <random> //c++11 #include "linear_interpolator.h" #include "basic_access_strategy.h" #include <implicit_functions.h> #inc...
30.178322
120
0.575252
KirillLykov
fc3c568a91c98f972f78178ed300dd063fae7a2c
221
cpp
C++
Cpp/hello_world/level4.cpp
MatthewT95/DebugExercises
dc3a262bdcdfab7a9a3feb3e2569c55fc82d172c
[ "MIT" ]
null
null
null
Cpp/hello_world/level4.cpp
MatthewT95/DebugExercises
dc3a262bdcdfab7a9a3feb3e2569c55fc82d172c
[ "MIT" ]
null
null
null
Cpp/hello_world/level4.cpp
MatthewT95/DebugExercises
dc3a262bdcdfab7a9a3feb3e2569c55fc82d172c
[ "MIT" ]
null
null
null
/* program name: hello_world purpose: This program should print the message "Hello world" to console. Hint: There is single missing character. */ include <iostream> int main() { std::cout << "Hello world" << std::endl; }
22.1
72
0.719457
MatthewT95
fc40415b16f698a543bae33ea6d970278f91ae79
215
cpp
C++
password_hash.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
1
2020-10-05T02:07:52.000Z
2020-10-05T02:07:52.000Z
password_hash.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
null
null
null
password_hash.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int mod=1e6,base=256; int main(){ char s[]="wenzelin"; int ans=0,n=strlen(s); for(int i=0;i<n;i++) ans=(ans*base+s[i])%mod; printf("%06d\n",ans); return 0; }
19.545455
46
0.627907
wzl19371
fc45fe96dba681e84136ed70ee2259be7803c327
10,113
cpp
C++
tools/GucefLogServiceLib/src/GucefLogServiceLib_CClientInitMessage.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
tools/GucefLogServiceLib/src/GucefLogServiceLib_CClientInitMessage.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
tools/GucefLogServiceLib/src/GucefLogServiceLib_CClientInitMessage.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/* * GucefLogServiceLib: Library containing the main logic for the Logging service * Copyright (C) 2002 - 2008. Dinand Vanvelzen * * This library 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 Fo...
35.114583
103
0.471472
amvb
fc511ee04f32384950a72040b4bb27bdfe801cfb
1,866
cpp
C++
node-bot-controller/main.cpp
fakepoo/node-bot
3a2c43c34857dc41beaa004e48c586fdd2fa5699
[ "MIT" ]
null
null
null
node-bot-controller/main.cpp
fakepoo/node-bot
3a2c43c34857dc41beaa004e48c586fdd2fa5699
[ "MIT" ]
null
null
null
node-bot-controller/main.cpp
fakepoo/node-bot
3a2c43c34857dc41beaa004e48c586fdd2fa5699
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <unistd.h> #include "Robot.h" #include "CommandListener.h" using namespace std; void *commandListenerThreadFunction(void *robotPtr); bool stringToInt(string& s, int* i); int main() { cout << "Loading NodeBot..." << endl; Robot robot; CommandListener comman...
23.620253
91
0.530011
fakepoo
fc55a327c9364679c169e20149b2d7cf585531b1
1,170
cpp
C++
Leetcode0222.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
1
2020-06-28T06:29:05.000Z
2020-06-28T06:29:05.000Z
Leetcode0222.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
null
null
null
Leetcode0222.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : v...
27.857143
94
0.411111
dezhonger
fc57d9bc1f5425920a1d518177d95651b1861e2a
6,224
cc
C++
shell/platform/windows/flutter_windows_view_unittests.cc
rhydiant/engine
230178685cc12009a1280dc69002ef582c765172
[ "BSD-3-Clause" ]
4
2018-04-11T08:45:50.000Z
2021-12-16T15:48:01.000Z
shell/platform/windows/flutter_windows_view_unittests.cc
rhydiant/engine
230178685cc12009a1280dc69002ef582c765172
[ "BSD-3-Clause" ]
1
2018-09-22T13:49:35.000Z
2018-09-22T13:49:35.000Z
shell/platform/windows/flutter_windows_view_unittests.cc
rhydiant/engine
230178685cc12009a1280dc69002ef582c765172
[ "BSD-3-Clause" ]
3
2020-01-08T12:44:27.000Z
2020-11-27T07:21:25.000Z
// Copyright 2013 The Flutter 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 <iostream> #include <vector> #include "flutter/shell/platform/common/json_message_codec.h" #include "flutter/shell/platform/embedder/test_utils/p...
37.95122
80
0.726221
rhydiant
fc59a728120f7e36d9243b0b5d4841c09fbe85ee
3,518
cpp
C++
src/solvers/ga/BitmapChromosome.cpp
huwlloyd-mmu/jpop
8a749ec5d92b3a6d67ea898a5b4282113dc7ea4b
[ "MIT" ]
null
null
null
src/solvers/ga/BitmapChromosome.cpp
huwlloyd-mmu/jpop
8a749ec5d92b3a6d67ea898a5b4282113dc7ea4b
[ "MIT" ]
null
null
null
src/solvers/ga/BitmapChromosome.cpp
huwlloyd-mmu/jpop
8a749ec5d92b3a6d67ea898a5b4282113dc7ea4b
[ "MIT" ]
null
null
null
#include "BitmapChromosome.h" #include "puzzlegeneticalgorithm.h" void BitmapChromosome::InitSolution() { unsigned int startVal = 0; chromosomePosition = solution.size() - length; usedLength = 0; if (simulator->NeedsStartVal()) { // pull off 16 bits for the start value size_t bitsNeeded = 16; std::bitset<1...
26.451128
119
0.684764
huwlloyd-mmu
fc68cddcd06be24e25fd7c4c6382845107e7a099
10,013
cpp
C++
src/task/base_task.cpp
rqbrother/cheetahinfer
b1fb9cad995bc44b99241096d68a0c684aa9bca2
[ "Apache-2.0" ]
68
2020-06-01T10:23:26.000Z
2022-03-29T23:29:41.000Z
src/task/base_task.cpp
VIRGoMerz/cheetahinfer
b1fb9cad995bc44b99241096d68a0c684aa9bca2
[ "Apache-2.0" ]
2
2020-06-29T03:08:19.000Z
2021-03-15T03:18:42.000Z
src/task/base_task.cpp
VIRGoMerz/cheetahinfer
b1fb9cad995bc44b99241096d68a0c684aa9bca2
[ "Apache-2.0" ]
15
2020-06-11T08:16:41.000Z
2021-10-11T02:56:00.000Z
#include <iostream> #include <cstdlib> #include <fstream> #include <string> #include <cmath> #include <opencv2/opencv.hpp> #include <cuda_runtime_api.h> #include <NvInfer.h> #include <NvOnnxConfig.h> #include "utils/misc.h" #include "trtcommon/argsParser.h" #include "trtcommon/buffers.h" #include "trtcommon/logger.h"...
36.8125
139
0.631879
rqbrother
fc6a2d8d31228bf13abc078be8a90b327217e8dd
2,371
cxx
C++
test/integer.cxx
DeinFreund/ProgramOptions.hxx
159cb7d4265b1de6b1fd4fb2fafa8123c2a0f69a
[ "MIT" ]
null
null
null
test/integer.cxx
DeinFreund/ProgramOptions.hxx
159cb7d4265b1de6b1fd4fb2fafa8123c2a0f69a
[ "MIT" ]
null
null
null
test/integer.cxx
DeinFreund/ProgramOptions.hxx
159cb7d4265b1de6b1fd4fb2fafa8123c2a0f69a
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #define PROGRAMOPTIONS_EXCEPTIONS #include <ProgramOptions.hxx> #include "arg_provider.hxx" TEST_CASE("integer", "[ProgramOptions]") { po::parser parser; parser.silent(); auto&& a = parser["a"] .type(po::i64); auto&& b = parser["bot"] .abbreviation('b') .type(po::i64) .multi();...
20.09322
53
0.528891
DeinFreund
fc6a91cbb14a80fe2114ec454f19f114fc573701
65
cpp
C++
Source/Window/DisplayException.cpp
reo-prg/TurnZ_code
f079c27921e2597bb824eba416b8b9a31258580c
[ "Unlicense" ]
null
null
null
Source/Window/DisplayException.cpp
reo-prg/TurnZ_code
f079c27921e2597bb824eba416b8b9a31258580c
[ "Unlicense" ]
null
null
null
Source/Window/DisplayException.cpp
reo-prg/TurnZ_code
f079c27921e2597bb824eba416b8b9a31258580c
[ "Unlicense" ]
null
null
null
#include "DisplayException.h" bool DisplayException::terminate_;
21.666667
34
0.830769
reo-prg
fc6e48bf5bab123616a921a6b8d271bbfc2ffe5a
3,266
hpp
C++
modules/scene_manager/include/diagnostic_msgs/srv/self_test__rosidl_typesupport_connext_cpp.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/diagnostic_msgs/srv/self_test__rosidl_typesupport_connext_cpp.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/diagnostic_msgs/srv/self_test__rosidl_typesupport_connext_cpp.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
// generated from // rosidl_typesupport_connext_cpp/resource/srv__rosidl_typesupport_connext_cpp.hpp.em // generated code does not contain a copyright notice #ifndef DIAGNOSTIC_MSGS__SRV__SELF_TEST__ROSIDL_TYPESUPPORT_CONNEXT_CPP_HPP_ #define DIAGNOSTIC_MSGS__SRV__SELF_TEST__ROSIDL_TYPESUPPORT_CONNEXT_CPP_HPP_ #inclu...
26.770492
118
0.843233
Omnirobotic
fc72856fa717889553407d09cfe178bc9cfbcf71
6,642
cpp
C++
base/source/ESBListeningSocket.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
base/source/ESBListeningSocket.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
base/source/ESBListeningSocket.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
#ifndef ESB_LISTENING_SOCKET_H #include <ESBListeningSocket.h> #endif #ifndef ESB_LOGGER_H #include <ESBLogger.h> #endif #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #if defined HAVE_SYS_IOCTL_H && defined USE_IOCTL_FOR_NONBLOCK #include <sys/ioctl.h> #endi...
24.32967
116
0.703854
duderino
fc77eeecc438db2a303b93d7563a32236d599102
739
cpp
C++
engine/decision_strategies/search/source/AStarSearchStrategy.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/decision_strategies/search/source/AStarSearchStrategy.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/decision_strategies/search/source/AStarSearchStrategy.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include <algorithm> #include "AStarSearchStrategy.hpp" using namespace std; list<SearchNode> AStarSearchStrategy::queueing_fn(const list<SearchNode>& search_nodes, const list<SearchNode>& new_nodes) { list<SearchNode> queue = search_nodes; for (const SearchNode& s : new_nodes) { queue.push_back(s); } ...
28.423077
127
0.759134
sidav
fc787a14a5435d0e21fa86d63be10d299d5e7e3f
1,425
cpp
C++
Leetcode Daily Challenge/April-2021/23. Count Binary Substrings.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
5
2021-08-10T18:47:49.000Z
2021-08-21T15:42:58.000Z
Leetcode Daily Challenge/April-2021/23. Count Binary Substrings.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
2
2022-02-25T13:36:46.000Z
2022-02-25T14:06:44.000Z
Leetcode Daily Challenge/April-2021/23. Count Binary Substrings.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
1
2021-08-11T06:36:42.000Z
2021-08-11T06:36:42.000Z
/* Count Binary Substrings ======================= Give a string s, count the number of non-empty (contiguous) substrings that have the same number of 0's and 1's, and all the 0's and all the 1's in these substrings are grouped consecutively. Substrings that occur multiple times are counted the number of times they o...
25.446429
191
0.640702
Akshad7829
fc7b2a86035a4265739bc46f7147ee32a004fdd7
1,603
cpp
C++
Algorithms/Easy/563.binary-tree-tilt.cpp
jtcheng/leetcode
db58973894757789d060301b589735b5985fe102
[ "MIT" ]
null
null
null
Algorithms/Easy/563.binary-tree-tilt.cpp
jtcheng/leetcode
db58973894757789d060301b589735b5985fe102
[ "MIT" ]
null
null
null
Algorithms/Easy/563.binary-tree-tilt.cpp
jtcheng/leetcode
db58973894757789d060301b589735b5985fe102
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=563 lang=cpp * * [563] Binary Tree Tilt * * https://leetcode.com/problems/binary-tree-tilt/description/ * * algorithms * Easy (46.88%) * Likes: 318 * Dislikes: 713 * Total Accepted: 50.6K * Total Submissions: 108K * Testcase Example: '[1,2,3]' * * Given a binary tree, retu...
20.818182
76
0.605115
jtcheng
fc7b4d50e0a16f4b8b59504d29daee364cbea8f6
1,065
cpp
C++
linkedqueue.cpp
AyushVerma-code/stacksnqueues
9076e58653a728b3c5d53d8ff112443900cc9c13
[ "MIT" ]
1
2021-02-12T07:23:17.000Z
2021-02-12T07:23:17.000Z
linkedqueue.cpp
AyushVerma-code/stacksnqueues
9076e58653a728b3c5d53d8ff112443900cc9c13
[ "MIT" ]
null
null
null
linkedqueue.cpp
AyushVerma-code/stacksnqueues
9076e58653a728b3c5d53d8ff112443900cc9c13
[ "MIT" ]
null
null
null
#include<iostream.h> #include<conio.h> #include<stdio.h> struct node { char name[20]; int age; node *link; }; class q { node *front,*rear; public: q(){ front=rear=NULL; } void qinsert(); void qdelete(); void qdisp() { node *ptr; ptr=front; while(front!=NULL) { cout<<front->na...
13.3125
43
0.552113
AyushVerma-code
fc7c45ff91254fd943630c4fdd0643c61f1ab29d
4,655
cpp
C++
test/JsonDeserializerTests.cpp
dueringa/WikiWalker
24a83936efac1e217af949275b0677861c216957
[ "MIT" ]
null
null
null
test/JsonDeserializerTests.cpp
dueringa/WikiWalker
24a83936efac1e217af949275b0677861c216957
[ "MIT" ]
1
2018-03-17T15:42:18.000Z
2018-03-19T11:49:03.000Z
test/JsonDeserializerTests.cpp
dueringa/WikiWalker
24a83936efac1e217af949275b0677861c216957
[ "MIT" ]
null
null
null
#include <memory> #include <sstream> #include <UnitTest++/UnitTest++.h> #include "Article.h" #include "JsonSerializer.h" #include "WalkerException.h" #include "SerializerTestDefines.h" #define WW_TEST_JSONSERIALIZER_PROTOCOL_COMPLETE \ "{" WW_TEST_JSONSERIALIZER_PROTOCOL_HEADER_1 \ "," WW_TEST_JSONSERIALIZER_...
26.6
78
0.665736
dueringa
fc7c7f4d4e8218ec85342d1af908cbba927905ea
2,820
cpp
C++
DirectX11 Engine 2019/Engine/Vertices.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
2
2021-07-28T23:08:29.000Z
2021-09-14T19:32:36.000Z
DirectX11 Engine 2019/Engine/Vertices.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
null
null
null
DirectX11 Engine 2019/Engine/Vertices.cpp
FirowMD/Luna-Engine
4011a43df48ca85f6d8f8657709471da02bd8301
[ "MIT" ]
null
null
null
#include "pc.h" #include "Vertices.h" Vertex::Vertex(aiMesh* inMesh, size_t i) { } Vertex_PNT::Vertex_PNT(aiMesh* inMesh, size_t i) { Position = DirectX::XMFLOAT3(inMesh->mVertices[i].x, inMesh->mVertices[i].y, inMesh->mVertices[i].z); Normal = DirectX::XMFLOAT3(inMesh->mNormals[i].x, inMesh->mNormals[i]...
37.6
116
0.63617
FirowMD
fc84e2aea6411fd7b944e918a993b0102bc0a7d8
390
hpp
C++
modules/core/src/Data/gmDataType.hpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/core/src/Data/gmDataType.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/core/src/Data/gmDataType.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#pragma once #include "gmCoreExport.hpp" namespace gm { namespace Data { enum class Type { Image = 0, Number, Vector, Pointset }; auto GM_CORE_EXPORT TypeFromIndex(int) -> Type; auto GM_CORE_EXPORT TypeToIndex(Type) -> in...
17.727273
58
0.538462
GraphMIC
fc8a611af4a31f67d159e2a37288e6682ccd5cdf
6,809
cpp
C++
test/modbus_test_mbap_frame_decoder_client_decode.cpp
paopaol/modbus
558036099f3c41c03c1b8658bc26c9adfa271c48
[ "MIT" ]
3
2020-02-11T03:47:42.000Z
2022-01-21T03:10:09.000Z
test/modbus_test_mbap_frame_decoder_client_decode.cpp
paopaol/modbus
558036099f3c41c03c1b8658bc26c9adfa271c48
[ "MIT" ]
null
null
null
test/modbus_test_mbap_frame_decoder_client_decode.cpp
paopaol/modbus
558036099f3c41c03c1b8658bc26c9adfa271c48
[ "MIT" ]
1
2022-01-21T03:10:11.000Z
2022-01-21T03:10:11.000Z
#include "base/modbus_frame.h" #include "modbus/base/modbus.h" #include "modbus/base/modbus_types.h" #include "modbus_test_mocker.h" #include <atomic> using namespace modbus; TEST(ModbusMbapFrameDecoder, Construct) { ModbusMbapFrameDecoder decoder(creatDefaultCheckSizeFuncTableForClient()); decoder.Clear(); EXP...
33.707921
80
0.735497
paopaol
475c59d8ee60bd8834ec0a854d1c3d37f629f7d6
1,071
cpp
C++
rEFIt_UEFI/Platform/CloverVersion.cpp
crazyinsanejames/CloverBootloader
799880e95aaa2783f27373e91837fc105352e82f
[ "BSD-2-Clause" ]
3,861
2019-09-04T10:10:11.000Z
2022-03-31T15:46:28.000Z
rEFIt_UEFI/Platform/CloverVersion.cpp
crazyinsanejames/CloverBootloader
799880e95aaa2783f27373e91837fc105352e82f
[ "BSD-2-Clause" ]
461
2019-09-24T10:26:56.000Z
2022-03-26T13:22:32.000Z
rEFIt_UEFI/Platform/CloverVersion.cpp
crazyinsanejames/CloverBootloader
799880e95aaa2783f27373e91837fc105352e82f
[ "BSD-2-Clause" ]
654
2019-09-05T11:42:37.000Z
2022-03-30T02:42:32.000Z
/* * CloverVersion.cpp * * Created on: Apr 26, 2021 * Author: jief */ #include "CloverVersion.h" #include "../../Version.h" #ifdef FIRMWARE_REVISION CONST CHAR16 *gFirmwareRevision = FIRMWARE_REVISION; CONST CHAR8* gRevisionStr = REVISION_STR; CONST CHAR8* gFirmwareBuildDate = FIRMWARE_BUILDDATE; CONST CH...
31.5
126
0.760971
crazyinsanejames
475f2967fd511723c44cbdd988f18b017a6c838a
9,191
hpp
C++
src/icmp.hpp
cooky451/pingstats
ed908ff6ed8fed40623c9eb8d4ae255c3c188061
[ "MIT" ]
15
2016-04-11T14:41:25.000Z
2022-01-10T00:41:53.000Z
src/icmp.hpp
cooky451/pingstats
ed908ff6ed8fed40623c9eb8d4ae255c3c188061
[ "MIT" ]
null
null
null
src/icmp.hpp
cooky451/pingstats
ed908ff6ed8fed40623c9eb8d4ae255c3c188061
[ "MIT" ]
5
2016-08-06T11:15:57.000Z
2021-04-18T08:28:57.000Z
/* * Copyright (c) 2016 - 2017 cooky451 * * 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...
23.035088
87
0.67849
cooky451
476094ba58fc4acc5a5ae03fcc5927586db4c204
1,435
hpp
C++
src/JRectangle.hpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
null
null
null
src/JRectangle.hpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
6
2021-10-16T07:10:04.000Z
2021-12-26T13:23:54.000Z
src/JRectangle.hpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
null
null
null
// // // Created by Jildert Viet on 24-01-16. // // #ifndef JRectangle_hpp #define JRectangle_hpp #include <stdio.h> #include "ofMain.h" #include "Event.hpp" #include "JPrimitive.hpp" class JRectangle: public JPrimitive{ // Also inherits from Event public: JRectangle(); JRectangle(float mil...
27.596154
192
0.649477
jildertviet
47614ffeec088eaa17ea89cc527bd45d535e157b
428
hpp
C++
src/rendering/TileSet.hpp
dennis-lawter/sfml-foundation
bffe34d7b5e7bdb179b904987e687dbc0a0b2320
[ "MIT" ]
null
null
null
src/rendering/TileSet.hpp
dennis-lawter/sfml-foundation
bffe34d7b5e7bdb179b904987e687dbc0a0b2320
[ "MIT" ]
null
null
null
src/rendering/TileSet.hpp
dennis-lawter/sfml-foundation
bffe34d7b5e7bdb179b904987e687dbc0a0b2320
[ "MIT" ]
null
null
null
#ifndef TILESET_HPP_ #define TILESET_HPP_ #include <SFML/Graphics/Rect.hpp> #include <string> class TileSet { public: std::string name = ""; unsigned int firstGid = 0; unsigned int tileWidth = 0; unsigned int tileHeight = 0; unsigned int columns = 0; unsigned int tileCount = 0; TileSet(); sf::IntRect getTile...
17.833333
48
0.721963
dennis-lawter
476273aa640c8b1f04becb41fcf3e74fda48ace5
17,520
cpp
C++
src/visualizer.cpp
Biblbrox/point-cloud-annotation-tool
66947974914243af8e5f1bb622ffaa93c2fdb47d
[ "MIT" ]
null
null
null
src/visualizer.cpp
Biblbrox/point-cloud-annotation-tool
66947974914243af8e5f1bb622ffaa93c2fdb47d
[ "MIT" ]
null
null
null
src/visualizer.cpp
Biblbrox/point-cloud-annotation-tool
66947974914243af8e5f1bb622ffaa93c2fdb47d
[ "MIT" ]
null
null
null
#include "visualizer.h" #include "ui_mainwindow.h" #include "annotation.h" #include "pcl/visualization/pcl_visualizer_extented.h" #include <pcl/io/pcd_io.h> #include <pcl/sample_consensus/method_types.h> #include <pcl/sample_consensus/model_types.h> #include <pcl/segmentation/sac_segmentation.h> #include <pcl/visualiz...
32.205882
145
0.667523
Biblbrox
477631f67ab1680412682b76e5e420b23e11fcef
602
cpp
C++
codeforces/C_Exams.cpp
BasharKernel/A2OJ_Problems
fa6c4fa5dbb0c50f1051edee01ebc37b5ddd5eb8
[ "MIT" ]
1
2018-06-30T08:50:46.000Z
2018-06-30T08:50:46.000Z
codeforces/C_Exams.cpp
BasharKernel/A2OJ_Problems
fa6c4fa5dbb0c50f1051edee01ebc37b5ddd5eb8
[ "MIT" ]
null
null
null
codeforces/C_Exams.cpp
BasharKernel/A2OJ_Problems
fa6c4fa5dbb0c50f1051edee01ebc37b5ddd5eb8
[ "MIT" ]
1
2018-07-05T21:35:55.000Z
2018-07-05T21:35:55.000Z
#include <bits/stdc++.h> using namespace std; const int N =1e6+20; pair<int,int> a[N]; int main(){ int n,x,y; scanf("%d",&n); for(int i=0;i<n;i++){ scanf("%d%d",&x,&y); a[i]=make_pair(x,y); } sort(a,a+n); int curr=min(a[0].first,a[0].second),ans; ans = curr; for(int i=1;...
20.758621
76
0.438538
BasharKernel
477f612fc7b938f55f2cb1883fba8ef0084ee7da
4,664
cpp
C++
Source/OpenMotion/Private/FabrikUtil.cpp
SaxonRah/OpenMotion
55e57a9a58c81e7ee08099985e529344a6a7d72e
[ "MIT" ]
13
2020-04-13T16:45:45.000Z
2022-02-04T07:36:09.000Z
Source/OpenMotion/Private/FabrikUtil.cpp
SaxonRah/OpenMotion
55e57a9a58c81e7ee08099985e529344a6a7d72e
[ "MIT" ]
null
null
null
Source/OpenMotion/Private/FabrikUtil.cpp
SaxonRah/OpenMotion
55e57a9a58c81e7ee08099985e529344a6a7d72e
[ "MIT" ]
3
2021-02-22T01:42:20.000Z
2021-07-19T13:32:05.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "FabrikUtil.h" #include "FabrikMat3f.h" UFabrikUtil::UFabrikUtil(const FObjectInitializer& ObjectInitializer): Super(ObjectInitializer) {} const FColor UFabrikUtil::RED(255 * 1.0f, 255 * 0.0f, 255 * 0.0f); // 1.0f, 0.0f, 0.0f, 1....
47.111111
140
0.741209
SaxonRah
4781a12faf773adbec24932dbb23b86ec85e2bcf
823
cpp
C++
5-Bit-Manipulation/BinaryToString.cpp
sonugiri1043/Cracking-The-Coding-Interview
102cdbc3199d04ab89f5d6894f0489fde352b0d7
[ "MIT" ]
8
2020-05-17T13:48:19.000Z
2022-02-20T06:42:38.000Z
5-Bit-Manipulation/BinaryToString.cpp
sonugiri1043/Cracking-The-Coding-Interview
102cdbc3199d04ab89f5d6894f0489fde352b0d7
[ "MIT" ]
null
null
null
5-Bit-Manipulation/BinaryToString.cpp
sonugiri1043/Cracking-The-Coding-Interview
102cdbc3199d04ab89f5d6894f0489fde352b0d7
[ "MIT" ]
6
2021-04-09T21:34:15.000Z
2021-12-13T05:40:42.000Z
/* Given a real number between 0 and 1 (e.g., 0.72) that is passed in as a double, print the binary representation. If the number cannot be represented accurately in binary with at most 32 characters, print "ERROR:' */ #include <iostream> using std::cout; using std::endl; #include <string> using std::string; ...
20.073171
101
0.589307
sonugiri1043
47842619ca4926c07066cccfc2617b450070623c
1,759
hpp
C++
TulparAudio/internal/include/tulpar/internal/Context.hpp
Godlike/Mustang
7a69c2d975bd562f4b8cf4a1dbcc508c9e2850a3
[ "MIT" ]
1
2017-11-08T17:05:34.000Z
2017-11-08T17:05:34.000Z
TulparAudio/internal/include/tulpar/internal/Context.hpp
Godlike/Mustang
7a69c2d975bd562f4b8cf4a1dbcc508c9e2850a3
[ "MIT" ]
10
2017-10-28T10:58:15.000Z
2019-01-29T15:47:03.000Z
TulparAudio/internal/include/tulpar/internal/Context.hpp
Godlike/Mustang
7a69c2d975bd562f4b8cf4a1dbcc508c9e2850a3
[ "MIT" ]
null
null
null
/* * Copyright (C) 2018 by Godlike * This code is licensed under the MIT license (MIT) * (http://opensource.org/licenses/MIT) */ #ifndef TULPAR_INTERNAL_CONTEXT_HPP #define TULPAR_INTERNAL_CONTEXT_HPP #include <tulpar/internal/Device.hpp> #include <AL/alc.h> namespace tulpar { namespace internal { /** @brief Audi...
21.9875
86
0.666288
Godlike
47860e981d6e9e8eded885854863b39f8b277411
297
cpp
C++
Source/CheckpointSystem/Private/CheckpointTriggerComponent.cpp
Bibool/UE4-Checkpoints-System-Plugin
e8533d6e49e1f54067023638220106cd21cf8a13
[ "MIT" ]
null
null
null
Source/CheckpointSystem/Private/CheckpointTriggerComponent.cpp
Bibool/UE4-Checkpoints-System-Plugin
e8533d6e49e1f54067023638220106cd21cf8a13
[ "MIT" ]
null
null
null
Source/CheckpointSystem/Private/CheckpointTriggerComponent.cpp
Bibool/UE4-Checkpoints-System-Plugin
e8533d6e49e1f54067023638220106cd21cf8a13
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Components/CheckpointTriggerComponent.h" // Sets default values for this component's properties UCheckpointTriggerComponent::UCheckpointTriggerComponent() { PrimaryComponentTick.bCanEverTick = false; }
24.75
79
0.814815
Bibool
47903179b5ef2b187d09cae2a2ae4d0ca5394400
247
cpp
C++
Challenge-2021-08/30_range_addition_II.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-08/30_range_addition_II.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-08/30_range_addition_II.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
#include "../header.h" class Solution { public: int maxCount(int m, int n, vector<vector<int>>& ops) { for (auto const& op: ops) { m = min(m, op[0]); n = min(n, op[1]); } return m * n; } };
19
58
0.449393
qiufengyu
4793a7ac340f3c16f21a99e986065775063e1307
3,143
cpp
C++
NewFramework/HeadGunner.cpp
lhthang1998/Megaman_X3_DirectX
2c695fefad81c37a7872cc79c78d0de3ff6db9ca
[ "MIT" ]
null
null
null
NewFramework/HeadGunner.cpp
lhthang1998/Megaman_X3_DirectX
2c695fefad81c37a7872cc79c78d0de3ff6db9ca
[ "MIT" ]
null
null
null
NewFramework/HeadGunner.cpp
lhthang1998/Megaman_X3_DirectX
2c695fefad81c37a7872cc79c78d0de3ff6db9ca
[ "MIT" ]
null
null
null
#include "HeadGunner.h" HeadGunner::HeadGunner(MObject* _player, int _x, int _y, int _dirRight) { player = _player; x = _x; y = _y; movex = 0; movey = 0; dirUp = 1; dirRight = _dirRight; HP = 6; delta_t = 0; anim = new Animation(8, 0, 0, ANIM_DELAY); char s[50]; for (int i = 0; i < 8; i++) { sprin...
22.45
152
0.66847
lhthang1998
4793b33baf09a6bfd5cd8dcade253b26f9d235e8
17,386
cpp
C++
imagecore/formats/internal/png.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
890
2017-12-15T17:55:42.000Z
2022-03-27T07:46:49.000Z
imagecore/formats/internal/png.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
29
2017-12-16T21:49:08.000Z
2021-09-08T23:04:10.000Z
imagecore/formats/internal/png.cpp
shahzadlone/vireo
73e7176d0255a9506b009c9ab8cc532ecd86e98c
[ "MIT" ]
88
2017-12-15T19:29:49.000Z
2022-03-21T00:59:29.000Z
/* * MIT License * * Copyright (c) 2017 Twitter * * 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, ...
32.196296
205
0.760267
shahzadlone
47981bc5af0cad47f0d151442d2c3c79f64b2b90
1,193
cpp
C++
src/plugins/poshuku/historyfiltermodel.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/poshuku/historyfiltermodel.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/poshuku/historyfiltermodel.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
29.825
85
0.624476
Maledictus
47a187686afab88da474772de2dd8e0a020d831f
20,461
cpp
C++
driver/umd/src/job_z5.cpp
dejsha01/armchina-zhouyi
5de86bbdb5dc4184df4348d64cd152db0dbf9a96
[ "MIT" ]
null
null
null
driver/umd/src/job_z5.cpp
dejsha01/armchina-zhouyi
5de86bbdb5dc4184df4348d64cd152db0dbf9a96
[ "MIT" ]
null
null
null
driver/umd/src/job_z5.cpp
dejsha01/armchina-zhouyi
5de86bbdb5dc4184df4348d64cd152db0dbf9a96
[ "MIT" ]
null
null
null
/********************************************************************************** * This file is CONFIDENTIAL and any use by you is subject to the terms of the * agreement between you and Arm China or the terms of the agreement between you * and the party authorised by Arm China to disclose this file to you. * Th...
30.722222
118
0.59738
dejsha01
47b480c4a7e2dc8bae887ea6f0b64f0df06a1256
5,772
cc
C++
test/rrd/v2/disable_status.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
40
2015-03-10T07:55:39.000Z
2021-06-11T10:13:56.000Z
test/rrd/v2/disable_status.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
297
2015-04-30T10:02:04.000Z
2022-03-09T13:31:54.000Z
test/rrd/v2/disable_status.cc
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
29
2015-08-03T10:04:15.000Z
2021-11-25T12:21:00.000Z
/* ** Copyright 2015 Centreon ** ** 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 ...
32.795455
77
0.626299
centreon-lab
47b536ba1cff8f5e91961d8cf03c622f62770f74
2,557
cpp
C++
unit_tests/stencil_composition/test_level.cpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
unit_tests/stencil_composition/test_level.cpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
unit_tests/stencil_composition/test_level.cpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #include "../test_helper.hpp" #include "gtest/gtest.h" #include <gridtools/stencil_composition/core/level.hpp> using namespace ...
53.270833
88
0.696128
aurianer
47b69aedb4a9abddd76f23dea4ecb11377414610
1,475
cpp
C++
ipf/blacklist.cpp
improsec/ImprosecPasswordFilter
d76b9bcab18889900487b5b81871e9a00ad0f27d
[ "MIT" ]
13
2020-12-24T13:07:58.000Z
2022-03-21T08:53:06.000Z
ipf/blacklist.cpp
improsec/ImprosecPasswordFilter
d76b9bcab18889900487b5b81871e9a00ad0f27d
[ "MIT" ]
1
2021-06-21T09:05:03.000Z
2021-06-21T10:53:11.000Z
ipf/blacklist.cpp
improsec/ImprosecPasswordFilter
d76b9bcab18889900487b5b81871e9a00ad0f27d
[ "MIT" ]
4
2021-06-11T08:16:15.000Z
2022-01-05T09:38:15.000Z
#include "blacklist.hpp" #include "logger.hpp" #include <shlwapi.h> #include <algorithm> #include <fstream> #include <iostream> #pragma comment(lib, "Shlwapi.lib") namespace filter { blacklist::blacklist() : ready_(false), enabled_(false) { } void blacklist::enable() { enabled_ = true; } void blacklist::disab...
19.155844
100
0.646102
improsec
47bc75ec1cf9b5def865a8dae71017134e6616d0
947
cpp
C++
android-31/android/animation/StateListAnimator.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/animation/StateListAnimator.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/animation/StateListAnimator.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JIntArray.hpp" #include "./Animator.hpp" #include "../../JObject.hpp" #include "./StateListAnimator.hpp" namespace android::animation { // Fields // QJniObject forward StateListAnimator::StateListAnimator(QJniObject obj) : JObject(obj) {} // Constructors StateListAnimator::StateListAnimator() ...
20.586957
90
0.692714
YJBeetle
47c251a6cd7915781b1b2ee21aa7780b8268c3ad
824
cpp
C++
a17/utils/watchdog_test.cpp
SRI-IPS/general-tools
b3113cbcf83c3a430c630d050d1b96e722dfb043
[ "BSD-3-Clause" ]
null
null
null
a17/utils/watchdog_test.cpp
SRI-IPS/general-tools
b3113cbcf83c3a430c630d050d1b96e722dfb043
[ "BSD-3-Clause" ]
null
null
null
a17/utils/watchdog_test.cpp
SRI-IPS/general-tools
b3113cbcf83c3a430c630d050d1b96e722dfb043
[ "BSD-3-Clause" ]
null
null
null
#include "catch.hpp" #include "watchdog.h" #include "repeater.h" #include "buffer_pool.h" #include <boost/asio.hpp> TEST_CASE("watchdog timer test", "[watchdog]") { boost::asio::io_service ios; a17::utils::BufferPool pool; auto wd_fired = false; auto timeoutCallback = [&]() { wd_fired = true; ios.stop(...
28.413793
85
0.668689
SRI-IPS
47c3aaeb9ea733b4e7e0d058fc95c8315b52b283
7,075
hpp
C++
bulletgba/source/gameengine.hpp
pqrs-org/BulletGBA
a294007902970242b496f2528b4762cfef22bc86
[ "Unlicense" ]
5
2020-03-24T07:44:49.000Z
2021-08-30T14:43:31.000Z
bulletgba/source/gameengine.hpp
pqrs-org/BulletGBA
a294007902970242b496f2528b4762cfef22bc86
[ "Unlicense" ]
null
null
null
bulletgba/source/gameengine.hpp
pqrs-org/BulletGBA
a294007902970242b496f2528b4762cfef22bc86
[ "Unlicense" ]
null
null
null
#ifndef GAMEENGINE_HPP #define GAMEENGINE_HPP #include "gameparams.hpp" #include "self.hpp" #include "shot.hpp" #include "bullet.hpp" #include "jewel.hpp" #include "imagehandler.hpp" #include "spritedoubler.hpp" #include "soundhandler.hpp" #include "replay.hpp" #include "main.hpp" #include "libgbakey.hpp" #include "l...
26.698113
141
0.626714
pqrs-org
47c99941a63b1f73e5e0c4da19b295e3693bdbea
12,605
cpp
C++
KROSS/src/Kross/Renderer/Renderer2D.cpp
WillianKoessler/KROSS-ENGINE
0e680b455ffd071565fe8b99343805ad16ca1e91
[ "Apache-2.0" ]
null
null
null
KROSS/src/Kross/Renderer/Renderer2D.cpp
WillianKoessler/KROSS-ENGINE
0e680b455ffd071565fe8b99343805ad16ca1e91
[ "Apache-2.0" ]
null
null
null
KROSS/src/Kross/Renderer/Renderer2D.cpp
WillianKoessler/KROSS-ENGINE
0e680b455ffd071565fe8b99343805ad16ca1e91
[ "Apache-2.0" ]
null
null
null
#include <Kross_pch.h> #include "Renderer2D.h" #include "Kross/Core/Application.h" #include "Kross/Core/Stack.h" #include "Renderer.h" #include "RenderTypes.h" #include "VertexArray.h" #include "Textures/Array.h" static constexpr size_t MaxQuadCount = 512; static constexpr size_t MaxVertexCount = MaxQuadCount * 4; ...
30.520581
176
0.625466
WillianKoessler
47caddd2518191935b0500825018b83b61073622
847
cpp
C++
cpp/sowcpp/src/a6main.cpp
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
cpp/sowcpp/src/a6main.cpp
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
cpp/sowcpp/src/a6main.cpp
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
// Assignment 6 // Use a circle class object #include "circle.h" #include <iostream> #include <cctype> using namespace std; int main() { circle cir; // Circle object float r; // Hold user-provided radius char again; // Whether or not the user wants to make another circle cout << "This program dis...
23.527778
89
0.563164
newnix
47cbfa84b178a2155b95171beb05ea14330fce1e
2,970
cpp
C++
firmware-usbhost/common/config/v1/fiscal/Config1Fiscal.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
null
null
null
firmware-usbhost/common/config/v1/fiscal/Config1Fiscal.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
1
2021-09-03T13:03:20.000Z
2021-09-03T13:03:20.000Z
firmware-usbhost/common/config/v1/fiscal/Config1Fiscal.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
null
null
null
#include "Config1Fiscal.h" #include "evadts/EvadtsProtocol.h" #include "memory/include/MemoryCrc.h" #include "utils/include/NetworkProtocol.h" #include "utils/include/Number.h" #include "logger/include/Logger.h" #include <string.h> #define CONFIG_FISCAL_VERSION 1 #define IPADDR_SIZE 15 #define DOMAIN_NAME 32 #pragma...
22
75
0.747475
Zzzzipper
47d2d96508720c96fbadddd3914c41b8953a5c08
5,569
cpp
C++
fstbt/core_test/interface.cpp
FrostBitCrypto/FrostBit
3557fce05720ef16770e2cbc867840ddd94e7e5a
[ "BSD-2-Clause" ]
null
null
null
fstbt/core_test/interface.cpp
FrostBitCrypto/FrostBit
3557fce05720ef16770e2cbc867840ddd94e7e5a
[ "BSD-2-Clause" ]
1
2021-04-01T02:19:48.000Z
2021-04-01T02:19:48.000Z
fstbt/core_test/interface.cpp
FrostBitCrypto/FrostBit
3557fce05720ef16770e2cbc867840ddd94e7e5a
[ "BSD-2-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <memory> #include <fstbt/lib/blocks.hpp> #include <fstbt/lib/interface.h> #include <fstbt/lib/numbers.hpp> #include <fstbt/lib/work.hpp> TEST (interface, ice_uint128_to_dec) { rai::uint128_union zero (0); char text[40] = { 0 }; ice_uint128_to_dec (zero.bytes.data (), text); ASSE...
36.638158
194
0.773748
FrostBitCrypto
47d321a08726a09f7791290503d754f8b630bd92
496
cpp
C++
LeetCode/RemoveElement.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
LeetCode/RemoveElement.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
LeetCode/RemoveElement.cpp
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
class Solution { public: int removeElement(vector<int>& nums, int val) { int lf = -1; // last free spot for (int i = 0; i < nums.size(); i++) { if (nums[i] == val && (lf == -1)) { lf = i; } else if (nums[i] != val && (lf != -1)) { n...
24.8
52
0.350806
SelvorWhim
47d39f9112069431e3531189d0da96a8c8e3fd40
46,089
cpp
C++
src/SuperResolution.cpp
Gregjksmith/Example-Based-Super-Resolution
41d695bf46ad0f4842446d438649f34a9bea69fe
[ "MIT" ]
31
2017-04-12T12:21:10.000Z
2021-11-15T05:28:55.000Z
src/SuperResolution.cpp
Gregjksmith/Example-Based-Super-Resolution
41d695bf46ad0f4842446d438649f34a9bea69fe
[ "MIT" ]
3
2017-10-30T02:28:41.000Z
2019-01-20T11:13:15.000Z
src/SuperResolution.cpp
Gregjksmith/Example-Based-Super-Resolution
41d695bf46ad0f4842446d438649f34a9bea69fe
[ "MIT" ]
7
2017-03-16T08:01:19.000Z
2022-02-27T13:33:37.000Z
#include "SuperResolution.h" #define FILTER_SIZE 151 using namespace cv; gs::RationalWavelet::RationalWavelet(cv::Mat image, int J, int p, int q, int s) { /*create the filter banks*/ cv::Mat H, G, h, g; makeFreqResp(FILTER_SIZE, 1, (float)q / (float)p, s, H, G, h, g); this->J = J; this->p = p; this-...
29.059899
255
0.612771
Gregjksmith
47d61fc910d197160e320db11f21688bc3c9a765
292
hpp
C++
app/inc/VertexBufferObject.hpp
ostojan/oglearn
134cd89974ca93498bf15e669fa10c14a8ba5343
[ "MIT" ]
null
null
null
app/inc/VertexBufferObject.hpp
ostojan/oglearn
134cd89974ca93498bf15e669fa10c14a8ba5343
[ "MIT" ]
null
null
null
app/inc/VertexBufferObject.hpp
ostojan/oglearn
134cd89974ca93498bf15e669fa10c14a8ba5343
[ "MIT" ]
null
null
null
#ifndef APP_INC_VERTEXBUFFEROBJECT_HPP #define APP_INC_VERTEXBUFFEROBJECT_HPP #include "BufferObject.hpp" namespace oglearn { class VertexBufferObject : public BufferObject { public: VertexBufferObject(const GLfloat *vertices, const unsigned int size); }; } #endif
18.25
77
0.753425
ostojan
47d7ac2a742f3be544c2667c48c1285f9b909992
1,055
cpp
C++
src/raii.cpp
JesseTG/CPP-Boot-Camp
83973c60c533ddb1a92602d5b71481e2d9d34934
[ "MIT" ]
1
2021-08-01T19:39:50.000Z
2021-08-01T19:39:50.000Z
src/raii.cpp
JesseTG/CPP-Boot-Camp
83973c60c533ddb1a92602d5b71481e2d9d34934
[ "MIT" ]
null
null
null
src/raii.cpp
JesseTG/CPP-Boot-Camp
83973c60c533ddb1a92602d5b71481e2d9d34934
[ "MIT" ]
null
null
null
#include @\cppref{header/cstdlib}{<cstdlib>}@ #include @\cppref{header/cstring}{<cstring>}@@\tikzmark{raii_cstring}@ using std::@\cppref{string/byte/memcpy}{memcpy}@;@\tikzmark{raii_memcpy}@ using std::size_t; class FloatArray@\tikzmark{raii_dont}@ { public: FloatArray(size_t s) : size(s)@\tikzmark{raii_init}@,...
32.96875
117
0.652133
JesseTG
c5161e17c00a2ab5dbe0d893a83ef29d46ac7da9
22
cpp
C++
CPP/File/Converter.cpp
szlobipeti/GenFrame
f1cf5aa03cba40ef1eddb080e9b93cb56c90d3de
[ "MIT" ]
null
null
null
CPP/File/Converter.cpp
szlobipeti/GenFrame
f1cf5aa03cba40ef1eddb080e9b93cb56c90d3de
[ "MIT" ]
null
null
null
CPP/File/Converter.cpp
szlobipeti/GenFrame
f1cf5aa03cba40ef1eddb080e9b93cb56c90d3de
[ "MIT" ]
null
null
null
#include "Converter.h"
22
22
0.772727
szlobipeti
c518d3b6605e8a6540a7093bac35c242bfe18528
2,426
cpp
C++
spawn_async_colored/main.cpp
spjuanjoc/concurrency_cpp
50c25c89d202f945c2d6df7df341880b3b93f0b1
[ "MIT" ]
null
null
null
spawn_async_colored/main.cpp
spjuanjoc/concurrency_cpp
50c25c89d202f945c2d6df7df341880b3b93f0b1
[ "MIT" ]
null
null
null
spawn_async_colored/main.cpp
spjuanjoc/concurrency_cpp
50c25c89d202f945c2d6df7df341880b3b93f0b1
[ "MIT" ]
null
null
null
#include <fmt/color.h> #include <fmt/core.h> #include <fmt/ostream.h> #include <algorithm> #include <chrono> #include <future> //#include <iostream> #include <random> #include <thread> #include <vector> using namespace std::chrono_literals; std::string getShortThreadId() { const auto id = std::this_thread::g...
25.536842
91
0.63479
spjuanjoc
c522cc8e2e74a64b710035592a69d8e2978a353d
1,665
hpp
C++
libs/fnd/algorithm/include/bksge/fnd/algorithm/max_element.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/algorithm/include/bksge/fnd/algorithm/max_element.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/algorithm/include/bksge/fnd/algorithm/max_element.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file max_element.hpp * * @brief max_element の定義 * * @author myoukaku */ #ifndef BKSGE_FND_ALGORITHM_MAX_ELEMENT_HPP #define BKSGE_FND_ALGORITHM_MAX_ELEMENT_HPP #include <bksge/fnd/algorithm/config.hpp> #if defined(BKSGE_USE_STD_ALGORITHM) #include <algorithm> namespace bksge { us...
17.712766
71
0.666667
myoukaku
c523c6b97a1335a78698125fb03fef4d1a8b3bc8
338
cpp
C++
solutions/URI_1052 - (2303507) - Accepted.cpp
KelwinKomka/URI-Online-Judge-1
3d6e37ebe3aa145f47dfcad8b219e53c3cae50f6
[ "MIT" ]
null
null
null
solutions/URI_1052 - (2303507) - Accepted.cpp
KelwinKomka/URI-Online-Judge-1
3d6e37ebe3aa145f47dfcad8b219e53c3cae50f6
[ "MIT" ]
null
null
null
solutions/URI_1052 - (2303507) - Accepted.cpp
KelwinKomka/URI-Online-Judge-1
3d6e37ebe3aa145f47dfcad8b219e53c3cae50f6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, const char * argv[]) { int m; string month[12] = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}; while(cin >> m){ cout << month[m-1] << endl; } ...
24.142857
147
0.535503
KelwinKomka
c52a6e581963d6ac279a1f0d065eed40a36fdef5
4,252
cpp
C++
BearUtils/BearEncoding.cpp
BearIvan/bearcore
330a7983cb831fa4222b3ddfefc4c02df1267f0f
[ "MIT" ]
1
2020-10-17T08:04:12.000Z
2020-10-17T08:04:12.000Z
BearUtils/BearEncoding.cpp
BearIvan/bearcore
330a7983cb831fa4222b3ddfefc4c02df1267f0f
[ "MIT" ]
null
null
null
BearUtils/BearEncoding.cpp
BearIvan/bearcore
330a7983cb831fa4222b3ddfefc4c02df1267f0f
[ "MIT" ]
1
2020-04-24T20:19:07.000Z
2020-04-24T20:19:07.000Z
#include "BearCore.hpp" #include <codecvt> #include <string> #include <locale> template <typename I, typename E, typename S> struct codecvt : public std::codecvt<I, E, S> { ~codecvt() { } }; template <typename I, typename E, typename S> struct codecvt_byname : public std::codecvt_byname<I, E, S> { codecvt_byname(c...
20.247619
163
0.673095
BearIvan
c530d3f43033fa3315e3f744855606b39ba4bed4
1,632
cpp
C++
leetcode/problems/medium/241-different-ways-to-add-parentheses.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/medium/241-different-ways-to-add-parentheses.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/medium/241-different-ways-to-add-parentheses.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Different Ways to Add Parentheses https://leetcode.com/problems/different-ways-to-add-parentheses/ Given a string expression of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. You may return the answer in any order. Example 1: In...
25.904762
198
0.516544
wingkwong
c533b55a84a5923a1cfaac14e4e63885df17fc93
523
cpp
C++
clic/src/cleSetNonzeroPixelsToPixelindexKernel.cpp
4pp-Engine/CLIc_prototype
63297668d549220bc895f634929631d5b2f56506
[ "BSD-3-Clause" ]
null
null
null
clic/src/cleSetNonzeroPixelsToPixelindexKernel.cpp
4pp-Engine/CLIc_prototype
63297668d549220bc895f634929631d5b2f56506
[ "BSD-3-Clause" ]
null
null
null
clic/src/cleSetNonzeroPixelsToPixelindexKernel.cpp
4pp-Engine/CLIc_prototype
63297668d549220bc895f634929631d5b2f56506
[ "BSD-3-Clause" ]
null
null
null
#include "cleSetNonzeroPixelsToPixelindexKernel.h" namespace cle { void SetNonzeroPixelsToPixelindexKernel::SetInput(Buffer& x) { this->AddObject(x, "src"); } void SetNonzeroPixelsToPixelindexKernel::SetOutput(Buffer& x) { this->AddObject(x, "dst"); } void SetNonzeroPixelsToPixelindexKernel::SetOffset(int...
16.870968
61
0.728489
4pp-Engine
c53502cdac98d0f94b269e0a7bd5ce4a046eef07
133
hpp
C++
provides/include/lax_v1/type.hpp
per-framework/lax.cpp
2acdb9adf19441fcd159238c63fba24865234ce1
[ "MIT" ]
null
null
null
provides/include/lax_v1/type.hpp
per-framework/lax.cpp
2acdb9adf19441fcd159238c63fba24865234ce1
[ "MIT" ]
null
null
null
provides/include/lax_v1/type.hpp
per-framework/lax.cpp
2acdb9adf19441fcd159238c63fba24865234ce1
[ "MIT" ]
null
null
null
#pragma once #include "lax_v1/synopsis.hpp" template <class T> struct lax_v1::type_t { using eval = type_t; using type = T; };
14.777778
42
0.684211
per-framework
c53b49ccd2938961d5a04532589799c8abda7a3b
406
cpp
C++
HDU/OJ/4914/brute.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
HDU/OJ/4914/brute.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
HDU/OJ/4914/brute.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #define rg register #define rep(i,x,y) for(rg int i=(x);i<=(y);++i) #define per(i,x,y) for(rg int i=(x);i>=(y);--i) using namespace std; const int MO=119; const int N=1e6+10; int n,a,b,p,q,f[N]; int main(){ while(scanf("%d%d%d%d%d",&n,&a,&b,&p,&q)>0){ a%=MO;b%=MO; rep(i,1,n)(f[i...
21.368421
61
0.549261
sjj118
c53ec44cca6a0729de9cda91f104f29e44845fb9
932
cpp
C++
ParseDrop.cpp
misspink1011/SQL-Parser-and-Interpreter
67996808b80eb91280d872eb2966ef385468137e
[ "MIT" ]
5
2018-04-15T03:46:05.000Z
2021-07-16T09:55:55.000Z
ParseDrop.cpp
misspink1011/SQL-Parser-and-Interpreter
67996808b80eb91280d872eb2966ef385468137e
[ "MIT" ]
1
2019-02-23T09:08:40.000Z
2019-02-23T09:08:40.000Z
ParseDrop.cpp
misspink1011/SQL-Parser-and-Interpreter
67996808b80eb91280d872eb2966ef385468137e
[ "MIT" ]
3
2018-04-15T09:29:18.000Z
2018-10-15T16:38:03.000Z
// // ParseDrop.cpp // SQL parser and interpreter // // Created by 王璇 on 17/2/5. // Copyright © 2017年 Xuan Wang. All rights reserved. // #include <iostream> #include <stdio.h> #include <string.h> #include <ctype.h> #include "lexanal.h" char ParseDrop(char check, char* tname, char* p, char* token, int token_code){...
21.674419
78
0.564378
misspink1011
c547a0b5858714493b1c4af6a36a11d831b896a6
1,313
cpp
C++
aws-cpp-sdk-ec2-instance-connect/source/model/SendSerialConsoleSSHPublicKeyRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-ec2-instance-connect/source/model/SendSerialConsoleSSHPublicKeyRequest.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-ec2-instance-connect/source/model/SendSerialConsoleSSHPublicKeyRequest.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/ec2-instance-connect/model/SendSerialConsoleSSHPublicKeyRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::EC2InstanceConnect::Model; us...
22.254237
123
0.770754
perfectrecall
c54eef213e878994ac77e65beff96996fad15e81
4,601
cpp
C++
src/base/base.cpp
dpage/pgadmin3
6784e6281831a083fe5a0bbd49eac90e1a6ac547
[ "Artistic-1.0" ]
2
2021-07-16T21:45:41.000Z
2021-08-14T15:54:17.000Z
src/base/base.cpp
dpage/pgadmin3
6784e6281831a083fe5a0bbd49eac90e1a6ac547
[ "Artistic-1.0" ]
null
null
null
src/base/base.cpp
dpage/pgadmin3
6784e6281831a083fe5a0bbd49eac90e1a6ac547
[ "Artistic-1.0" ]
2
2017-11-18T15:00:24.000Z
2021-08-14T15:54:30.000Z
////////////////////////////////////////////////////////////////////////// // // pgAdmin III - PostgreSQL Tools // RCS-ID: $Id$ // Copyright (C) 2002 - 2010, The pgAdmin Development Team // This software is released under the Artistic Licence // // base.cpp - Miscellaneous Basic Utilities // //////////////////////...
19.746781
89
0.588568
dpage
c55369172a37b9190eb94916ae08871399877e94
4,346
cpp
C++
src/ios_bits.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
src/ios_bits.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
src/ios_bits.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * * ios_bits.cpp - definitions of ios_base static const data members * * $Id: //stdlib/dev/source/stdlib/ios_bits.cpp#5 $ * *************************************************************************** * * Copyright (c) 1994-2005 Quovadx,...
43.029703
76
0.758168
Hower91
c5563494a7643ccc9628693d2c31643a0806c87a
9,189
cpp
C++
src/simconnect_handler.cpp
aarangop/mqttfsim_client
f8611e5b9fb7e7fa63fcd6ec8e20e72807f9b113
[ "MIT" ]
null
null
null
src/simconnect_handler.cpp
aarangop/mqttfsim_client
f8611e5b9fb7e7fa63fcd6ec8e20e72807f9b113
[ "MIT" ]
null
null
null
src/simconnect_handler.cpp
aarangop/mqttfsim_client
f8611e5b9fb7e7fa63fcd6ec8e20e72807f9b113
[ "MIT" ]
null
null
null
#include "mqttfsim_client/simconnect_handler.h" using namespace sc_helpers; HANDLE simconnect_handler::simconnect_; HANDLE *simconnect_handler::p_simconnect_ = NULL; bool simconnect_handler::b_sc_connected_ = false; int simconnect_handler::max_req_id_ = 0; typedef void (*sc_custom_dispatch_proc_callback)(SIMCONNECT_...
34.033333
165
0.767439
aarangop
c55f6b8422389f9721f8e091186b83a41eb37572
4,799
cpp
C++
third-law/src/main.cpp
jonathansharman/third-law
f083c513282091146d74d2c81a990d57ec29647c
[ "MIT" ]
1
2020-03-25T14:42:43.000Z
2020-03-25T14:42:43.000Z
third-law/src/main.cpp
jonathansharman/third-law
f083c513282091146d74d2c81a990d57ec29647c
[ "MIT" ]
null
null
null
third-law/src/main.cpp
jonathansharman/third-law
f083c513282091146d74d2c81a990d57ec29647c
[ "MIT" ]
1
2020-03-25T14:42:44.000Z
2020-03-25T14:42:44.000Z
//! @file //! @copyright See <a href="LICENSE.txt">LICENSE.txt</a>. #include "body.hpp" #include "camera.hpp" #include "circle_animation.hpp" #include "polygon_animation.hpp" #include <Box2D/Box2D.h> #include <SFML/Graphics.hpp> #include <SFML/Window.hpp> #include <entt/entt.hpp> #include <chrono> #inc...
34.52518
101
0.672432
jonathansharman
c564378d0be7aff1209bb6b90b1e71f1d79c49d1
2,062
cc
C++
papi-poll-perf-latency.cc
mhirki/rapl-tools
bf27fe416e7c93ea7f54904b47646a3471e8b910
[ "MIT" ]
8
2019-01-17T12:48:34.000Z
2022-02-04T11:40:58.000Z
papi-poll-perf-latency.cc
mhirki/rapl-tools
bf27fe416e7c93ea7f54904b47646a3471e8b910
[ "MIT" ]
null
null
null
papi-poll-perf-latency.cc
mhirki/rapl-tools
bf27fe416e7c93ea7f54904b47646a3471e8b910
[ "MIT" ]
2
2019-12-01T02:23:07.000Z
2019-12-09T02:56:44.000Z
/* * papi-poll-perf-latency.cc * Benchmark the latency of calling PAPI_read() to read performance counters. * Code based on IgProf energy profiling module by Filip Nybäck. * * Author: Mikael Hirki <mikael.hirki@aalto.fi> */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> #includ...
24.258824
106
0.696896
mhirki
c5643beda09f23fe0e674a8368ca8c885b67ed1f
707
hpp
C++
src/graphics/Shader.hpp
roepfeli/simpleRenderer
a8bcf13ae0459e89605a2433c993974cd264ad13
[ "MIT" ]
2
2021-06-10T06:07:26.000Z
2021-06-16T13:46:19.000Z
src/graphics/Shader.hpp
roepfeli/simpleRenderer
a8bcf13ae0459e89605a2433c993974cd264ad13
[ "MIT" ]
4
2021-06-16T14:14:48.000Z
2021-07-23T09:28:46.000Z
src/graphics/Shader.hpp
roepfeli/simpleRenderer
a8bcf13ae0459e89605a2433c993974cd264ad13
[ "MIT" ]
1
2021-08-12T08:12:32.000Z
2021-08-12T08:12:32.000Z
#pragma once #include <glm/mat4x4.hpp> #include <glm/vec3.hpp> #include <string> #include <vector> namespace graphics { class Shader { private: unsigned int m_program; public: Shader(const char* vertexShader, const char* fragmentShader); ~Shader(); void setUniformMatrix4fv(const std::string& name,...
19.638889
87
0.697313
roepfeli
c565b6273f52d549ce26445d69e393240a8658ea
2,382
cpp
C++
Project/Test/Target/NativeControls/ComboTestDlg.cpp
Codeer-Software/Friendly.Windows.NativeStandardControls
75ea9b055f3209b372f03021865eb8e88bfab3e7
[ "Apache-2.0" ]
5
2018-06-15T01:08:54.000Z
2021-12-20T15:43:43.000Z
Project/Test/Target/NativeControls/ComboTestDlg.cpp
Codeer-Software/Friendly.Windows.NativeStandardControls
75ea9b055f3209b372f03021865eb8e88bfab3e7
[ "Apache-2.0" ]
null
null
null
Project/Test/Target/NativeControls/ComboTestDlg.cpp
Codeer-Software/Friendly.Windows.NativeStandardControls
75ea9b055f3209b372f03021865eb8e88bfab3e7
[ "Apache-2.0" ]
2
2016-03-04T15:29:08.000Z
2020-08-09T14:24:27.000Z
#include "stdafx.h" #include "NativeControls.h" #include "ComboTestDlg.h" #include "afxdialogex.h" IMPLEMENT_DYNAMIC(CComboTestDlg, CCommandAndNotifyCheckDlg) CComboTestDlg::CComboTestDlg(CWnd* pParent /*=NULL*/) : CCommandAndNotifyCheckDlg(CComboTestDlg::IDD, pParent) { m_msgBoxIdAndCommand[IDC_COMBO_ASYNC].inser...
24.8125
76
0.758606
Codeer-Software
c56c57b9157e0db10d7c26e7d4ae3a97863362cb
4,108
cpp
C++
src/transmission/filetransmission.cpp
ChairChandler/FTP-Server
535bc3cc521b49bb829e2c7c750b20bc124b3c8e
[ "MIT" ]
1
2021-01-12T04:07:23.000Z
2021-01-12T04:07:23.000Z
src/transmission/filetransmission.cpp
ChairChandler/FTP-Server
535bc3cc521b49bb829e2c7c750b20bc124b3c8e
[ "MIT" ]
null
null
null
src/transmission/filetransmission.cpp
ChairChandler/FTP-Server
535bc3cc521b49bb829e2c7c750b20bc124b3c8e
[ "MIT" ]
null
null
null
#include "filetransmission.h" #include "ftpfilesystem/filelocker.h" #include <QMutexLocker> AbstractFileTransmission::AbstractFileTransmission(const InterfaceTransmissionReader &reader, const InterfaceTransmissionWriter &writer): reader(const_cast<InterfaceTransmissionReader&>(reader)), writer(const_cast<Inter...
30.887218
137
0.692064
ChairChandler
c57900bad95a26a1b347e618e2d9ceffd4dd9f08
994
cpp
C++
soj/2690.cpp
huangshenno1/project_euler
8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d
[ "MIT" ]
null
null
null
soj/2690.cpp
huangshenno1/project_euler
8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d
[ "MIT" ]
null
null
null
soj/2690.cpp
huangshenno1/project_euler
8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d
[ "MIT" ]
null
null
null
#include <cstdio> const int di[]={1,-1,0,0}; const int dj[]={0,0,1,-1}; int n,m; char map[1010][1010]; int ans; void dfs(int i,int j) {     int r,ni,nj;     if (map[i][j]=='*')         ans++;     map[i][j]='#';     for (r=0;r<4;r++)     {         ni=i+di[r];         nj=j+dj[r];         if (map[ni][nj]!='#')         ...
18.072727
38
0.304829
huangshenno1
c57b56254db0f2d58a33ca40be3a9e951606f267
1,761
cpp
C++
src/library/m19/m03_context_array.cpp
michaelmaniscalco/m19
eb109a168754606191a88c39df4281f88a8e442d
[ "MIT" ]
7
2018-09-24T04:10:57.000Z
2020-02-07T21:44:29.000Z
src/library/m19/m03_context_array.cpp
michaelmaniscalco/m19
eb109a168754606191a88c39df4281f88a8e442d
[ "MIT" ]
1
2018-10-26T11:01:19.000Z
2018-10-26T14:39:02.000Z
src/library/m19/m03_context_array.cpp
michaelmaniscalco/m19
eb109a168754606191a88c39df4281f88a8e442d
[ "MIT" ]
null
null
null
#include "./m03_context_array.h" //============================================================================== maniscalco::m03_context_array::entry_type::entry_type ( ): value_(0) { } //============================================================================== maniscalco::m03_context_array::m03_context_a...
21.740741
80
0.50937
michaelmaniscalco
c57e576fc51049c730ed87e085cd8182e3da6786
1,527
hpp
C++
kernel/Cpu/Gdt.hpp
Mrokkk/kernel
e3d6ab19800d1e6c81be20cc5d27696c90ba3146
[ "MIT" ]
null
null
null
kernel/Cpu/Gdt.hpp
Mrokkk/kernel
e3d6ab19800d1e6c81be20cc5d27696c90ba3146
[ "MIT" ]
null
null
null
kernel/Cpu/Gdt.hpp
Mrokkk/kernel
e3d6ab19800d1e6c81be20cc5d27696c90ba3146
[ "MIT" ]
null
null
null
#pragma once #include "Segment.hpp" namespace cpu { struct Tss; namespace gdt { namespace flags { enum Dpl { Ring0 = 0 << 5, Ring1 = 1 << 5, Ring2 = 2 << 5, Ring3 = 3 << 5 }; enum Granularity { u4kB = 1 << 8, u1B = 0 << 8 }; enum Size { u16bit = 0 << 7, u32bit = 1 << 7 }; enum Typ...
14.542857
63
0.553373
Mrokkk
c587d4dfe32b5eebb5a6d1d3522e03fe97be3948
791
cpp
C++
sup/json_meter.cpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
53
2018-10-18T12:08:21.000Z
2022-03-26T22:03:51.000Z
sup/json_meter.cpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
864
2018-10-01T08:06:00.000Z
2022-03-31T08:06:48.000Z
sup/json_meter.cpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
37
2019-03-03T16:18:49.000Z
2022-03-24T10:39:51.000Z
#include <arbor/profile/meter_manager.hpp> #include <nlohmann/json.hpp> namespace sup { static nlohmann::json to_json(const arb::profile::measurement& mnt) { nlohmann::json measurements; for (const auto& m: mnt.measurements) { measurements.push_back(m); } return { {"name", mnt.name}, ...
23.264706
69
0.619469
kanzl
c58c786e6108e05766027dba5dfc806a1c8fc058
6,377
cpp
C++
2004/samples/database/ARXDBG/GraphicsContainer/ArxDbgCmdGraphicsContainer.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
1
2021-06-25T02:58:47.000Z
2021-06-25T02:58:47.000Z
2004/samples/database/ARXDBG/GraphicsContainer/ArxDbgCmdGraphicsContainer.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
null
null
null
2004/samples/database/ARXDBG/GraphicsContainer/ArxDbgCmdGraphicsContainer.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
3
2020-05-23T02:47:44.000Z
2020-10-27T01:26:53.000Z
// // (C) Copyright 1998-1999 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited ...
28.596413
130
0.610005
kevinzhwl
c5973476d08ab33ae16b0de22f3fd8b73f3bf833
1,646
hpp
C++
cpp/src/dotcpp/dot/system/collections/list_base.hpp
dotcpp/dotcpp
ba786aa072dd0612f5249de63f80bc540203840e
[ "Apache-2.0" ]
4
2019-08-08T03:53:37.000Z
2021-01-31T06:51:56.000Z
cpp/src/dotcpp/dot/system/collections/list_base.hpp
dotcpp/dotcpp
ba786aa072dd0612f5249de63f80bc540203840e
[ "Apache-2.0" ]
null
null
null
cpp/src/dotcpp/dot/system/collections/list_base.hpp
dotcpp/dotcpp
ba786aa072dd0612f5249de63f80bc540203840e
[ "Apache-2.0" ]
1
2015-03-28T15:52:01.000Z
2015-03-28T15:52:01.000Z
/* Copyright (C) 2015-present The DotCpp Authors. This file is part of .C++, a native C++ implementation of popular .NET class library APIs developed to facilitate code reuse between C# and C++. http://github.com/dotcpp/dotcpp (source) http://dotcpp.org (documentation) Licensed under the Apache License, Vers...
27.898305
72
0.700486
dotcpp
c59f18b3d6bc1463c961ed7eb2a6ba7119b0828e
771
cpp
C++
pgm11_08.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
1
2021-07-13T03:58:36.000Z
2021-07-13T03:58:36.000Z
pgm11_08.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
pgm11_08.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
// // This file contains the C++ code from Program 11.8 of // "Data Structures and Algorithms // with Object-Oriented Design Patterns in C++" // by Bruno R. Preiss. // // Copyright (c) 1998 by Bruno R. Preiss, P.Eng. All rights reserved. // // http://www.pads.uwaterloo.ca/Bruno.Preiss/books/opus4/programs...
28.555556
80
0.651102
neharkarvishal
c5a2a385a5b407426a66783eb245f23a1d5909a9
205
hpp
C++
util.hpp
riskybacon/mnist_arma_blas
ba1ee24ee738d55f187458690747214156756f16
[ "MIT" ]
null
null
null
util.hpp
riskybacon/mnist_arma_blas
ba1ee24ee738d55f187458690747214156756f16
[ "MIT" ]
null
null
null
util.hpp
riskybacon/mnist_arma_blas
ba1ee24ee738d55f187458690747214156756f16
[ "MIT" ]
null
null
null
#ifndef UTIL_HPP_ #define UTIL_HPP_ #include <fstream> #include <string> std::ifstream open_file(const std::string& filename); size_t reverse_int(size_t i); #endif /* end of include guard: UTIL_HPP_ */
18.636364
53
0.75122
riskybacon
c5a3df8a1e2d98e5b85cf1646d16ffb6e2d849a3
5,668
hpp
C++
top-k_OAFP_pos/src/online_bp.hpp
ShowHey57/top-k_AOFP_pos
afbd69ca41a73dc5f0fcd86cad643a01df16e0a9
[ "MIT" ]
null
null
null
top-k_OAFP_pos/src/online_bp.hpp
ShowHey57/top-k_AOFP_pos
afbd69ca41a73dc5f0fcd86cad643a01df16e0a9
[ "MIT" ]
null
null
null
top-k_OAFP_pos/src/online_bp.hpp
ShowHey57/top-k_AOFP_pos
afbd69ca41a73dc5f0fcd86cad643a01df16e0a9
[ "MIT" ]
null
null
null
/* online_bp.hpp MIT License Copyright (c) 2017 Tomohiro I 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, modif...
25.191111
87
0.627735
ShowHey57
c5a5f1e4c82680448db9d099d8eb16beae6b2bbe
23,447
hpp
C++
p1788/infsup/base_interval_bool_func_impl.hpp
nehmeier/libieeep1788
1f10b896ff532e95818856614ab3073189e81199
[ "Apache-2.0" ]
41
2015-01-23T07:52:27.000Z
2022-02-28T03:15:21.000Z
p1788/infsup/base_interval_bool_func_impl.hpp
nehmeier/libieeep1788
1f10b896ff532e95818856614ab3073189e81199
[ "Apache-2.0" ]
25
2015-01-25T16:13:35.000Z
2022-02-14T12:05:08.000Z
p1788/infsup/base_interval_bool_func_impl.hpp
nehmeier/libieeep1788
1f10b896ff532e95818856614ab3073189e81199
[ "Apache-2.0" ]
8
2015-02-22T11:06:19.000Z
2021-05-23T09:57:32.000Z
// // libieeep1788 // // An implementation of the preliminary IEEE P1788 standard for // interval arithmetic // // // Copyright 2013 - 2015 // // Marco Nehmeier (nehmeier@informatik.uni-wuerzburg.de) // Department of Computer Science, // University of Wuerzburg, Germany // // ...
48.645228
155
0.716296
nehmeier
c5a917a7b2246c34d2ea92ff51af7e958faeb127
2,420
cpp
C++
Broccoli/src/Broccoli/ImGui/ImGuiLayer.cpp
tross2552/broccoli
d7afc472e076fa801d0e7745e209553b73c34486
[ "Apache-2.0" ]
1
2021-08-03T01:38:41.000Z
2021-08-03T01:38:41.000Z
Broccoli/src/Broccoli/ImGui/ImGuiLayer.cpp
tross2552/broccoli
d7afc472e076fa801d0e7745e209553b73c34486
[ "Apache-2.0" ]
null
null
null
Broccoli/src/Broccoli/ImGui/ImGuiLayer.cpp
tross2552/broccoli
d7afc472e076fa801d0e7745e209553b73c34486
[ "Apache-2.0" ]
null
null
null
#include "brclpch.h" #include "ImGuiLayer.h" #include "Broccoli/Application.h" #include "ImGuiBackend.h" #include "GLFW/glfw3.h" #include "Broccoli/Events/MouseEvent.h" #include "Broccoli/Events/KeyEvent.h" namespace brcl { static inline ImGuiIO* io; ImGuiLayer::ImGuiLayer() : Layer("ImGuiLayer") {} ImGuiLayer::...
23.960396
106
0.729752
tross2552
c5b576f921bd255c549eadcf2d12429ce81f7501
10,018
cpp
C++
dpnp/backend/kernels/dpnp_krnl_bitwise.cpp
Rubtsowa/dpnp
ef404c0f284b0c508ed1e556e140f02f76ae5551
[ "BSD-2-Clause" ]
null
null
null
dpnp/backend/kernels/dpnp_krnl_bitwise.cpp
Rubtsowa/dpnp
ef404c0f284b0c508ed1e556e140f02f76ae5551
[ "BSD-2-Clause" ]
null
null
null
dpnp/backend/kernels/dpnp_krnl_bitwise.cpp
Rubtsowa/dpnp
ef404c0f284b0c508ed1e556e140f02f76ae5551
[ "BSD-2-Clause" ]
null
null
null
//***************************************************************************** // Copyright (c) 2016-2020, Intel Corporation // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // - Redistributio...
67.689189
120
0.399181
Rubtsowa
c5b7d9b72abe4c3b48b02be80d4734c1625d2566
4,722
hpp
C++
include/solace/stringBuilder.hpp
abbyssoul/libsolace
390c3094af1837715787c33297720bf514f04710
[ "Apache-2.0" ]
18
2016-05-30T23:46:27.000Z
2022-01-11T18:20:28.000Z
include/solace/stringBuilder.hpp
abbyssoul/libsolace
390c3094af1837715787c33297720bf514f04710
[ "Apache-2.0" ]
4
2017-09-12T13:32:28.000Z
2019-10-21T10:36:18.000Z
include/solace/stringBuilder.hpp
abbyssoul/libsolace
390c3094af1837715787c33297720bf514f04710
[ "Apache-2.0" ]
5
2017-11-24T19:34:06.000Z
2019-10-18T14:24:12.000Z
/* * Copyright 2016 Ivan Ryabov * * 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 ...
30.862745
113
0.707116
abbyssoul
c5bafb7f74de433ce5160a24b818a9a1466d76ac
3,387
cc
C++
src/rocksdb2/utilities/options/options_util.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
5
2019-01-23T04:36:03.000Z
2020-02-04T07:10:39.000Z
src/rocksdb2/utilities/options/options_util.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
null
null
null
src/rocksdb2/utilities/options/options_util.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
2
2019-05-14T07:26:59.000Z
2020-06-15T07:25:01.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //版权所有(c)2011至今,Facebook,Inc.保留所有权利。 //此源代码在两个gplv2下都获得了许可(在 //复制根目录中的文件)和Apache2.0许可证 //(在根目录的license.apache文件中找到)。 #ifn...
30.513514
79
0.677296
yinchengtsinghua
c5bc15e28953c8f14aeea8ffa0f1723454a8f44f
329
cpp
C++
CodeKata/Input&Output/Input&Output_3.cpp
mayankpathak4513/Guvi_Solutions
2402ba727fd952ec07d8f2014eaa4a3a5934b6b4
[ "MIT" ]
null
null
null
CodeKata/Input&Output/Input&Output_3.cpp
mayankpathak4513/Guvi_Solutions
2402ba727fd952ec07d8f2014eaa4a3a5934b6b4
[ "MIT" ]
null
null
null
CodeKata/Input&Output/Input&Output_3.cpp
mayankpathak4513/Guvi_Solutions
2402ba727fd952ec07d8f2014eaa4a3a5934b6b4
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int a,b; cin>>a>>b; int x[20]; for(int i=0;i<a;i++) { cin>>x[i]; } cout<<a<<" "<<b; cout<<"\n"; for(int i=0;i<a-1;i++) { cout<<x[i]<<" "; } for(int i=a-1;i<a;i++) { cout<<x[i]; } ret...
14.304348
26
0.379939
mayankpathak4513
c5bd689cd19570a44a3858d1f44f4bf72ef986b1
719
cpp
C++
UVA Online Judge/11764_JumpingMario.cpp
Xilsu/competitive-programming-2020
c8431027665b81ef2f1df225e393e1ff113b88ff
[ "MIT" ]
4
2021-08-08T17:42:41.000Z
2021-11-01T19:17:57.000Z
UVA Online Judge/11764_JumpingMario.cpp
davimedio01/competitive-programming-2020
c8431027665b81ef2f1df225e393e1ff113b88ff
[ "MIT" ]
null
null
null
UVA Online Judge/11764_JumpingMario.cpp
davimedio01/competitive-programming-2020
c8431027665b81ef2f1df225e393e1ff113b88ff
[ "MIT" ]
3
2021-08-08T17:42:00.000Z
2021-09-23T14:09:08.000Z
#include <bits/stdc++.h> #define MAX 50 using namespace std; int main() { int T; cin >> T; for (int i = 1; i <= T; i++) { int N; cin >> N; vector<int> w; for (int j = 0; j < N; j++) { int aux; cin >> aux; w.push_back(au...
13.314815
44
0.279555
Xilsu
c5c10e68ca02b3d903f526df93137eb42ab806fe
8,554
cpp
C++
backend/worker_driver.cpp
husky-team/PyHusky
ac3638101d9147890f9360bcfd18293f2ec1a9a3
[ "Apache-2.0" ]
9
2017-02-28T08:14:42.000Z
2019-07-16T19:20:12.000Z
backend/worker_driver.cpp
husky-team/PyHusky
ac3638101d9147890f9360bcfd18293f2ec1a9a3
[ "Apache-2.0" ]
13
2017-01-03T08:29:05.000Z
2017-06-05T11:03:57.000Z
backend/worker_driver.cpp
husky-team/PyHusky
ac3638101d9147890f9360bcfd18293f2ec1a9a3
[ "Apache-2.0" ]
6
2017-01-05T02:14:19.000Z
2020-01-22T04:07:17.000Z
// Copyright 2016 Husky Team // // 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 writi...
42.137931
117
0.664601
husky-team
c5c2426b1c8b680ab2295cb051b1bfe724d293fd
1,476
cpp
C++
desktop_version/tests/tst_game.cpp
curaai00/VVVVVV_new
de1364089659f6da5a1518b606cbd9e34e9c83ce
[ "RSA-MD" ]
3
2020-10-05T01:30:21.000Z
2020-10-06T07:50:46.000Z
desktop_version/tests/tst_game.cpp
curaai00/VVVVVV_new
de1364089659f6da5a1518b606cbd9e34e9c83ce
[ "RSA-MD" ]
null
null
null
desktop_version/tests/tst_game.cpp
curaai00/VVVVVV_new
de1364089659f6da5a1518b606cbd9e34e9c83ce
[ "RSA-MD" ]
null
null
null
#include "../new/Game.h" #include "gtest/gtest.h" #include <exception> #include <iostream> using namespace util::sdl; // class TestGame : public ::testing::Test // { // protected: // virtual void SetUp() { game = new Game(); } // protected: // Game *game; // }; // TEST_F(TestGame, move_character) // { // ...
29.52
85
0.629404
curaai00
c5ca6f3c239f00709839815ca08aebf216aa5fe9
141
cpp
C++
darknet-master/build/modules/features2d/sift.sse4_1.cpp
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
darknet-master/build/modules/features2d/sift.sse4_1.cpp
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
darknet-master/build/modules/features2d/sift.sse4_1.cpp
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
#include "C:/opencv/opencv-4.5.1/modules/features2d/src/precomp.hpp" #include "C:/opencv/opencv-4.5.1/modules/features2d/src/sift.simd.hpp"
35.25
70
0.758865
mcyy23633
c5d52431e9d744aa190c6a5e51de2e5e9d494104
515
hpp
C++
include/request.hpp
robling/cxxweb
e4f7a0d4a67ee8e88bf8a236a8ab4acf33ea377c
[ "MIT" ]
null
null
null
include/request.hpp
robling/cxxweb
e4f7a0d4a67ee8e88bf8a236a8ab4acf33ea377c
[ "MIT" ]
null
null
null
include/request.hpp
robling/cxxweb
e4f7a0d4a67ee8e88bf8a236a8ab4acf33ea377c
[ "MIT" ]
null
null
null
#ifndef INCLUDE_REQUEST_HPP_ #define INCLUDE_REQUEST_HPP_ #include <list> #include <string> #include <boost/logic/tribool.hpp> namespace cxxweb { class Request { public: inline void append(std::string&& str) { this->req_str_.push_back(str); } inline void append(std::string& str) { this->append(std...
16.09375
39
0.691262
robling