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
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
5c093c8085970f18b15ba463ae86b785f68bb36b
12,570
cc
C++
serving/processor/serving/model_config.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
292
2021-12-24T03:24:33.000Z
2022-03-31T15:41:05.000Z
serving/processor/serving/model_config.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
54
2021-12-24T06:40:09.000Z
2022-03-30T07:57:24.000Z
serving/processor/serving/model_config.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
75
2021-12-24T04:48:21.000Z
2022-03-29T10:13:39.000Z
#include <stdlib.h> #include "serving/processor/serving/model_config.h" #include "serving/processor/serving/tracer.h" #include "include/json/json.h" #include "tensorflow/core/util/env_var.h" #include "tensorflow/core/lib/core/errors.h" namespace tensorflow { namespace processor { namespace { constexpr int DEFAULT_CP...
33.430851
83
0.638186
5c0bcc63b1882c769eadd024b77e906337024e57
437
hpp
C++
nd-coursework/books/cpp/C++Templates/basics/byref.hpp
crdrisko/nd-grad
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
1
2020-09-26T12:38:55.000Z
2020-09-26T12:38:55.000Z
nd-coursework/books/cpp/C++Templates/basics/byref.hpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
nd-coursework/books/cpp/C++Templates/basics/byref.hpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
// Copyright (c) 2017 by Addison-Wesley, David Vandevoorde, Nicolai M. Josuttis, and Douglas Gregor. All rights reserved. // See the LICENSE file in the project root for more information. // // Name: byref.hpp // Author: crdrisko // Date: 08/13/2020-12:12:50 // Description: Missing file from book #ifndef BYREF_HPP #de...
23
121
0.709382
5c0d9b4f004dcd5e404e8024d67e964b9bfb5d83
8,061
cc
C++
build/x86/python/m5/internal/enum_TimingExprOp.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/python/m5/internal/enum_TimingExprOp.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/python/m5/internal/enum_TimingExprOp.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_enum_TimingExprOp[] = { 120,156,197,88,239,114,211,214,18,223,35,201,78,236,56,196, 36,144,240,39,128,129,2,190,92,18,67,248,219,194,48,165, 109,218,161,211,134,123,37,58,80,181,115,85,199,58,177,21, 108,201,149,142,67,220,73,190,52,157...
57.578571
104
0.667907
5c0e580eaed59257243f065ff4702d3e069c0041
246
cpp
C++
cpp/hello.cpp
voltrevo/project-euler
0db5451f72b1353b295e56f928c968801e054444
[ "MIT" ]
null
null
null
cpp/hello.cpp
voltrevo/project-euler
0db5451f72b1353b295e56f928c968801e054444
[ "MIT" ]
null
null
null
cpp/hello.cpp
voltrevo/project-euler
0db5451f72b1353b295e56f928c968801e054444
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { for (int i = 0; i != 6; ++i) cout << "Hello "[i] << ' '; for (int i = 0; i != 6; ++i) cout << *("World!" + i) << ' '; cout << endl; return 0; }
15.375
39
0.390244
5c0f58021247e45903b7b462b8c643e455f8a267
75,637
cpp
C++
src/interpreter/Interpreter.cpp
continue-nature/yvm
6416cc5e60a76f64c4272e0dff909507f140b11e
[ "MIT" ]
110
2019-04-10T08:57:54.000Z
2022-03-13T03:37:20.000Z
src/interpreter/Interpreter.cpp
racaljk/ssvm
dfa6fa64fbe8682f77430246dff7f5c2ed9c4e41
[ "MIT" ]
4
2019-04-23T03:03:45.000Z
2021-12-31T09:55:53.000Z
src/interpreter/Interpreter.cpp
racaljk/ssvm
dfa6fa64fbe8682f77430246dff7f5c2ed9c4e41
[ "MIT" ]
31
2019-05-05T01:21:44.000Z
2022-03-16T15:25:24.000Z
#include "../classfile/AccessFlag.h" #include "../classfile/ClassFile.h" #include "../misc/Debug.h" #include "../misc/Option.h" #include "../runtime/JavaClass.h" #include "../runtime/JavaHeap.hpp" #include "CallSite.h" #include "Interpreter.hpp" #include "MethodResolve.h" #include "SymbolicRef.h" #include <cassert> #i...
40.104454
82
0.464178
5c1015809f4e4a48c90df6c135764a90c7f180dc
2,593
cpp
C++
OpenHolo_WRP/openwrp_console_ver 1.0/openwrp/WRP.cpp
KetiLeeJeongHun/OpenHologram
c6cdddb5106fe0079d9810eea588d28aa71f0023
[ "BSD-2-Clause" ]
17
2017-11-07T06:44:11.000Z
2021-11-14T05:06:08.000Z
OpenHolo_WRP/openwrp_console_ver 1.0/openwrp/WRP.cpp
KetiLeeJeongHun/OpenHologram
c6cdddb5106fe0079d9810eea588d28aa71f0023
[ "BSD-2-Clause" ]
1
2017-09-26T04:35:31.000Z
2017-09-26T04:35:31.000Z
OpenHolo_WRP/openwrp_console_ver 1.0/openwrp/WRP.cpp
KetiLeeJeongHun/OpenHologram
c6cdddb5106fe0079d9810eea588d28aa71f0023
[ "BSD-2-Clause" ]
9
2017-09-13T08:01:45.000Z
2020-04-28T10:11:14.000Z
#ifdef _OPENMP #include<omp.h> #endif #include "WRP.h" int OPHWRP::readxyz(string filename) //read point cloud { int dimen = 3; ifstream infilee(filename); string temp, temp2mat; vector <string> temsplit; if (!infilee) { cerr << "can not read the file"; return -1; } while (getline(infilee, temp)) {...
18.132867
84
0.59275
5c101ef567bb4dc304f721fc2f04dec87b513df2
5,698
hpp
C++
benchmarks/statistical/dataflow_declarations.hpp
vamatya/benchmarks
8a86c6eebac5f9a29a0e37a62bdace45395c8d73
[ "BSL-1.0" ]
null
null
null
benchmarks/statistical/dataflow_declarations.hpp
vamatya/benchmarks
8a86c6eebac5f9a29a0e37a62bdace45395c8d73
[ "BSL-1.0" ]
null
null
null
benchmarks/statistical/dataflow_declarations.hpp
vamatya/benchmarks
8a86c6eebac5f9a29a0e37a62bdace45395c8d73
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2012 Daniel Kogler // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //this file simply enumerates a multitude of functions used to define the action //used in the benchmark. Which functi...
34.957055
81
0.777115
5c11ebf22b456bb03e0c41dc3f4f23c87a67614b
495
cpp
C++
source/lab4/classic_newton.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
source/lab4/classic_newton.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
source/lab4/classic_newton.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
#include "lab4/classic_newton.h" #include <lab3/solver.h> #include <utility> #include "iostream" using namespace lab4; ClassicNewton::ClassicNewton() : p(lab2::Vector({1})) {} lab2::Vector ClassicNewton::iteration(lab2::NFunction& f, double) { lab2::Vector x = get_points().back(); p = la...
23.571429
76
0.644444
5c1530cf4db20b54211ff2453e929b1abe998a88
564
cpp
C++
src/dummy_server/src/dummy_server_handler.cpp
maxerMU/db-course
3927f1cf0ccb2a937d571626dcc42d725a89d3f6
[ "Apache-2.0" ]
null
null
null
src/dummy_server/src/dummy_server_handler.cpp
maxerMU/db-course
3927f1cf0ccb2a937d571626dcc42d725a89d3f6
[ "Apache-2.0" ]
null
null
null
src/dummy_server/src/dummy_server_handler.cpp
maxerMU/db-course
3927f1cf0ccb2a937d571626dcc42d725a89d3f6
[ "Apache-2.0" ]
null
null
null
#include "dummy_server_handler.h" #include <iostream> DummyServerHandler::DummyServerHandler( const std::shared_ptr<BaseConfig> &config) { append_string = config->get_string_field({"AppendString"}); } void DummyServerHandler::handle_request(const std::shared_ptr<Request> &req) { std::cout << req->get_body() <...
29.684211
79
0.723404
5c1579f5da212410199c1703479b91eda172214f
54,852
cpp
C++
modules/juce_gui_basics/layout/juce_FlexBox.cpp
dikadk/JUCE
514c6c8de8bd34c0663d1d691a034b48922af5c8
[ "ISC" ]
null
null
null
modules/juce_gui_basics/layout/juce_FlexBox.cpp
dikadk/JUCE
514c6c8de8bd34c0663d1d691a034b48922af5c8
[ "ISC" ]
null
null
null
modules/juce_gui_basics/layout/juce_FlexBox.cpp
dikadk/JUCE
514c6c8de8bd34c0663d1d691a034b48922af5c8
[ "ISC" ]
null
null
null
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of...
46.563667
225
0.518887
5c1d185ee8efa07f9a35db7b874ca2d7bd117211
483
cpp
C++
ZorkGame/ZorkGame/ZorkGame.cpp
PabloSanchezTrujillo/Zork
f861f56df8c37a126c9f90147efbc75c91a04f47
[ "MIT" ]
null
null
null
ZorkGame/ZorkGame/ZorkGame.cpp
PabloSanchezTrujillo/Zork
f861f56df8c37a126c9f90147efbc75c91a04f47
[ "MIT" ]
null
null
null
ZorkGame/ZorkGame/ZorkGame.cpp
PabloSanchezTrujillo/Zork
f861f56df8c37a126c9f90147efbc75c91a04f47
[ "MIT" ]
null
null
null
#include <iostream> #include "World.h" using namespace std; int main() { World* house = new World(); cout << "You are in the: " << house->getPlayer()->getLocation()->getName() << ". " << house->getPlayer()->getLocation()->getDescription() << endl; cout << "\n"; // GameLoop while(!house->getPlayer()->isPlayer...
19.32
83
0.594203
5c1dbca35795cb3a90df53cc6d6c751addffd42a
452
cpp
C++
misc.cpp
bannid/CardGame
c5df2adb7a96df506fa24544cd8499076bb3ebbc
[ "Zlib" ]
null
null
null
misc.cpp
bannid/CardGame
c5df2adb7a96df506fa24544cd8499076bb3ebbc
[ "Zlib" ]
null
null
null
misc.cpp
bannid/CardGame
c5df2adb7a96df506fa24544cd8499076bb3ebbc
[ "Zlib" ]
null
null
null
#include "misc.h" float LinearInterpolation(float first, float second, float weight){ float result = weight * second + (1.0f - weight) * first; return result; } float CosineInterpolation(float first, float second, float weight){ float modifiedWeight = (1 - cos(weight * 3.14))/2.0f; modifiedWeigh...
28.25
78
0.679204
5c1dd2542f6af6e2d960967edc4454c44d4afaa9
4,650
cpp
C++
tests/core/RemoteNodeTest.cpp
cybergarage/round-cc
13fb5c39e9bc14a4ad19f9a63d8d97ddda475ca1
[ "BSD-3-Clause" ]
null
null
null
tests/core/RemoteNodeTest.cpp
cybergarage/round-cc
13fb5c39e9bc14a4ad19f9a63d8d97ddda475ca1
[ "BSD-3-Clause" ]
null
null
null
tests/core/RemoteNodeTest.cpp
cybergarage/round-cc
13fb5c39e9bc14a4ad19f9a63d8d97ddda475ca1
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************** * * Round for C++ * * Copyright (C) Satoshi Konno 2015 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #include <boost/test/unit_test.hpp> #include <sstream...
25.690608
68
0.693763
5c201c7101b0d40c9e79c696d239e37debac77e5
826
cpp
C++
LeetCode/338.Counting_Bits.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
LeetCode/338.Counting_Bits.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
LeetCode/338.Counting_Bits.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
class Solution { public: vector<int> countBits(int num) { vector<int>ans; int two[30]; int now; int SIZE = 30; two[0] = 1; for(int i = 1; i < SIZE; i++) two[i] = two[i - 1] * 2; ans.push_back(0); if(num == 0) return ans; a...
25.030303
54
0.349879
5c2593ad5f628d6b76fbef2e0291fcc06a85e5bd
618
cxx
C++
phys-services/private/phys-services/I3FileOMKey2MBIDFactory.cxx
hschwane/offline_production
e14a6493782f613b8bbe64217559765d5213dc1e
[ "MIT" ]
1
2020-12-24T22:00:01.000Z
2020-12-24T22:00:01.000Z
phys-services/private/phys-services/I3FileOMKey2MBIDFactory.cxx
hschwane/offline_production
e14a6493782f613b8bbe64217559765d5213dc1e
[ "MIT" ]
null
null
null
phys-services/private/phys-services/I3FileOMKey2MBIDFactory.cxx
hschwane/offline_production
e14a6493782f613b8bbe64217559765d5213dc1e
[ "MIT" ]
3
2020-07-17T09:20:29.000Z
2021-03-30T16:44:18.000Z
#include "phys-services/I3FileOMKey2MBIDFactory.h" #include "phys-services/I3FileOMKey2MBID.h" I3_SERVICE_FACTORY(I3FileOMKey2MBIDFactory); I3FileOMKey2MBIDFactory::I3FileOMKey2MBIDFactory(const I3Context& context) : I3ServiceFactory(context) { AddParameter("Infile", "The file to read the OMKey to MBID co...
23.769231
74
0.770227
5c26e96cdadb3a82867cfd4e722783b4e51e1851
4,730
cpp
C++
Test/NfcCxTests/Simulation/NciHciDataPacket.cpp
Bhaskers-Blu-Org2/NFC-Class-Extension-Driver
77c80d6d2c8f7876e68e3df847a926a045d81711
[ "MIT" ]
32
2015-11-19T07:23:11.000Z
2019-04-08T18:50:08.000Z
Test/NfcCxTests/Simulation/NciHciDataPacket.cpp
Bhaskers-Blu-Org2/NFC-Class-Extension-Driver
77c80d6d2c8f7876e68e3df847a926a045d81711
[ "MIT" ]
33
2015-11-12T08:23:52.000Z
2018-12-06T02:34:07.000Z
Test/NfcCxTests/Simulation/NciHciDataPacket.cpp
Microsoft/NFC-Class-Extension-Driver
77c80d6d2c8f7876e68e3df847a926a045d81711
[ "MIT" ]
28
2015-08-11T14:34:10.000Z
2018-07-26T14:15:53.000Z
// // Copyright (c) Microsoft Corporation. All Rights Reserved // #include "Precomp.h" #include <array> #include "NciHciDataPacket.h" NciHciDataPacket::NciHciDataPacket( _In_ uint8_t connectionId, _In_ uint8_t pipeId, _In_ phHciNfc_MsgType_t messageType, _In_ uint8_t instruction, _In_ std::init...
30.915033
179
0.734672
5c271252cbafd78ad5faa7c1951f52283703ad04
3,350
hpp
C++
src/ExtFilterEventListClustering/DBusNumericUtil.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/ExtFilterEventListClustering/DBusNumericUtil.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/ExtFilterEventListClustering/DBusNumericUtil.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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, mer...
36.413043
80
0.702687
5c28e1034573a00ce52b97665327d13d08dae8f1
126
cpp
C++
chapter_4/ex_4.12.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
chapter_4/ex_4.12.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
chapter_4/ex_4.12.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
/** * i != (j < k) * i != (true/false) * i != (0/1) * It means checking if i is 1 or 0 which is resulted from j < k */
15.75
64
0.484127
5c2a0e0b5db3dd339cf779e28b84ec2b4392f540
8,773
cc
C++
game.cc
therealsachin/player-isolation
f564734cae052ceb3aacbd83fb57bbce7a8e80a1
[ "MIT" ]
null
null
null
game.cc
therealsachin/player-isolation
f564734cae052ceb3aacbd83fb57bbce7a8e80a1
[ "MIT" ]
null
null
null
game.cc
therealsachin/player-isolation
f564734cae052ceb3aacbd83fb57bbce7a8e80a1
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright (c) 2016 Sachin Shenoy // Player Isolation is a game played between two players, on a 5 by 5 // grid. The first player, player one, has white tokens, while player // two has black token. The game starts by player one placing a white // token on one of the 25 squares. After that, ...
23.839674
94
0.554998
5c2cb34533524ee582232ac99c94f7525ef3a6d7
7,536
cpp
C++
winnie1/new_delete_example/new_delete.cpp
r-lyeh/malloc-survey
6da5aca6aa2720d64bff709c111a5d8a5fa7a1be
[ "Zlib" ]
16
2015-06-26T20:58:23.000Z
2017-11-05T09:46:45.000Z
winnie1/new_delete_example/new_delete.cpp
r-lyeh/test-allocators
6da5aca6aa2720d64bff709c111a5d8a5fa7a1be
[ "Zlib" ]
1
2015-07-22T22:48:56.000Z
2015-07-22T22:48:56.000Z
winnie1/new_delete_example/new_delete.cpp
r-lyeh/test-allocators
6da5aca6aa2720d64bff709c111a5d8a5fa7a1be
[ "Zlib" ]
2
2015-09-26T17:40:20.000Z
2016-06-23T17:15:23.000Z
#include "winnie_alloc.h" #include "new_delete.h" #if defined(NDEBUG) && OP_NEW_DEBUG #undef NDEBUG #pragma message ("warning: NDEBUG and OP_NEW_DEBUG do not match. forcing #undef NDEBUG") #endif #include "assert.h" #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <new> #include "string.h" #if OP_NEW_...
20.096
126
0.697452
5c3215dc46c4abbfc288ff7b72f4d89b5f9fd65d
1,718
cpp
C++
08.cpp
0xmanjoos/cpp_collection
306164ed398410674a814839f510d7b6c85a222d
[ "MIT" ]
1
2021-01-24T01:48:57.000Z
2021-01-24T01:48:57.000Z
08.cpp
0xmanjoos/cpp_collection
306164ed398410674a814839f510d7b6c85a222d
[ "MIT" ]
null
null
null
08.cpp
0xmanjoos/cpp_collection
306164ed398410674a814839f510d7b6c85a222d
[ "MIT" ]
null
null
null
#include <iostream> // linked lists hee hee ha fucking kill me // SOURCE: https://www.geeksforgeeks.org/linked-list-set-1-introduction/ // modified a bit class Node { public: // int data and pointer to class node? int data; Node* next; // pointer to the next node // example: second->data=2;...
27.709677
95
0.531432
5c322cb45c47b708d9092a6333ec3074dfddea97
5,672
cpp
C++
Dynamic Library/MacOS/libWUSB/WUSB.cpp
mcka-dev/WUSBFT
3f53c051e13ea94a44ba22a0c22528b57221934f
[ "MIT" ]
1
2017-08-23T16:22:50.000Z
2017-08-23T16:22:50.000Z
Dynamic Library/MacOS/libWUSB/WUSB.cpp
mcka-dev/WUSBFT
3f53c051e13ea94a44ba22a0c22528b57221934f
[ "MIT" ]
null
null
null
Dynamic Library/MacOS/libWUSB/WUSB.cpp
mcka-dev/WUSBFT
3f53c051e13ea94a44ba22a0c22528b57221934f
[ "MIT" ]
null
null
null
#include "WUSB.h" #include "ftd2xx.h" #define CRC_Init 0xDE //CRC Initial value FT_HANDLE ftHandle; //device handle FT_STATUS ftStatus; //device status const unsigned char FEND = 0xC0, //Frame END FESC = 0xDB, //Frame ESCape TFEND = 0xDC, //Transposed Frame END TFESC = 0xDD; //T...
18.535948
86
0.518159
5c36e5b32504023f0f525737ac7a754118636085
5,414
cc
C++
src/nixtag.cc
JiriVanek/nix-mx
1e8fec06d4aae67116d5e3b212784f6606dbaeaf
[ "BSD-3-Clause" ]
null
null
null
src/nixtag.cc
JiriVanek/nix-mx
1e8fec06d4aae67116d5e3b212784f6606dbaeaf
[ "BSD-3-Clause" ]
null
null
null
src/nixtag.cc
JiriVanek/nix-mx
1e8fec06d4aae67116d5e3b212784f6606dbaeaf
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2016, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include "nixtag.h" #include "me...
36.093333
111
0.593831
5c388318a3c9af8911eed5f695c3eb46da682f06
459
hpp
C++
Paper/Group.hpp
mokafolio/Paper
d7e9c1450b29b1d3d8873de4f959bffa02232055
[ "MIT" ]
20
2016-12-13T22:34:35.000Z
2021-09-20T12:44:56.000Z
Paper/Group.hpp
mokafolio/Paper
d7e9c1450b29b1d3d8873de4f959bffa02232055
[ "MIT" ]
null
null
null
Paper/Group.hpp
mokafolio/Paper
d7e9c1450b29b1d3d8873de4f959bffa02232055
[ "MIT" ]
null
null
null
#ifndef PAPER_GROUP_HPP #define PAPER_GROUP_HPP #include <Paper/Item.hpp> #include <Paper/Constants.hpp> namespace paper { class Document; class STICK_API Group : public Item { friend class Item; public: static constexpr EntityType itemType = EntityType::Group; Group(); ...
14.806452
65
0.627451
5c39d404f1e2252e54a71db14346b6dbd5fa7b4d
3,560
cpp
C++
flextyper/test/tst_stat.cpp
wassermanlab/OpenFlexTyper_restore
f599011a8f856bd81e73e5472d50980b4695055c
[ "MIT" ]
1
2020-02-20T20:01:38.000Z
2020-02-20T20:01:38.000Z
flextyper/test/tst_stat.cpp
wassermanlab/OpenFlexTyper_restore
f599011a8f856bd81e73e5472d50980b4695055c
[ "MIT" ]
null
null
null
flextyper/test/tst_stat.cpp
wassermanlab/OpenFlexTyper_restore
f599011a8f856bd81e73e5472d50980b4695055c
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////// /// /// Copyright (c) 2019, Wasserman lab /// /// FILE tst_stats.cpp /// /// DESCRIPTION This file contains tests for the stats class /// /// Initial version @ Godfrain Jacques Kounkou /// ///////////////////////////////////////////////////...
28.48
85
0.562079
5c39de7473c67da99a4e3e6af7b76cfc4f6b483d
1,328
cpp
C++
dependencies/PyMesh/tools/Wires/Parameters/VertexCustomOffsetParameter.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
5
2018-06-04T19:52:02.000Z
2022-01-22T09:04:00.000Z
dependencies/PyMesh/tools/Wires/Parameters/VertexCustomOffsetParameter.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
null
null
null
dependencies/PyMesh/tools/Wires/Parameters/VertexCustomOffsetParameter.cpp
aprieels/3D-watermarking-spectral-decomposition
dcab78857d0bb201563014e58900917545ed4673
[ "MIT" ]
null
null
null
/* This file is part of PyMesh. Copyright (c) 2015 by Qingnan Zhou */ #include "VertexCustomOffsetParameter.h" using namespace PyMesh; VertexCustomOffsetParameter::VertexCustomOffsetParameter( WireNetwork::Ptr wire_network, const MatrixFr& offset) : PatternParameter(wire_network), m_derivative(offset) { ...
34.051282
77
0.692771
5c3bc9320dc133c5b9595487d4f56053eb4b36f8
2,478
hpp
C++
src/bonefish/dealer/wamp_dealer_registration.hpp
aiwc/extlib-bonefish
2f0d15960b5178d2ab24fd8e11965a80ace2cb5a
[ "Apache-2.0" ]
58
2015-08-24T18:43:56.000Z
2022-01-09T00:55:06.000Z
src/bonefish/dealer/wamp_dealer_registration.hpp
aiwc/extlib-bonefish
2f0d15960b5178d2ab24fd8e11965a80ace2cb5a
[ "Apache-2.0" ]
47
2015-08-25T11:04:51.000Z
2018-02-28T22:38:12.000Z
src/bonefish/dealer/wamp_dealer_registration.hpp
aiwc/extlib-bonefish
2f0d15960b5178d2ab24fd8e11965a80ace2cb5a
[ "Apache-2.0" ]
32
2015-08-25T15:14:45.000Z
2020-03-23T09:35:31.000Z
/** * Copyright (C) 2015 Topology LP * * 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...
28.813953
103
0.778854
5c3d62f0e2a30326c8f0458fe39c3355f406e1a8
983
cc
C++
examples/vision_graph/src/NoS/applications/OSNode/OmnetIf_pkt.cc
zoranzhao/NoSDSE
0e3148572e7cdf3a2d012c95c81863864da236d6
[ "MIT" ]
3
2019-01-26T20:35:47.000Z
2019-07-18T22:09:22.000Z
examples/vision_graph/src/NoS/applications/OSNode/OmnetIf_pkt.cc
zoranzhao/NoSSim
7b0e9edde0fe19f83d7aaa946fd580a6d9dab978
[ "BSD-3-Clause" ]
null
null
null
examples/vision_graph/src/NoS/applications/OSNode/OmnetIf_pkt.cc
zoranzhao/NoSSim
7b0e9edde0fe19f83d7aaa946fd580a6d9dab978
[ "BSD-3-Clause" ]
3
2017-09-08T22:13:28.000Z
2019-06-29T21:42:53.000Z
#include <iostream> #include <sstream> #include "OmnetIf_pkt.h" OmnetIf_pkt::OmnetIf_pkt() { fileBuffer_arraysize = 0; this->fileBuffer = NULL; } OmnetIf_pkt::~OmnetIf_pkt() { delete [] fileBuffer; } void OmnetIf_pkt::setFileBufferArraySize(unsigned int size) { char *fileBuffer_var2 = (size==0) ?...
20.061224
80
0.690743
5c3da2baceaccc641b25645c84ef2f97b3d802c2
2,002
cc
C++
RecoTracker/TkNavigation/test/TkMSParameterizationTest.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
2
2020-01-27T15:21:37.000Z
2020-05-11T11:13:18.000Z
RecoTracker/TkNavigation/test/TkMSParameterizationTest.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
8
2020-03-20T23:18:36.000Z
2020-05-27T11:00:06.000Z
RecoTracker/TkNavigation/test/TkMSParameterizationTest.cc
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
3
2019-03-09T13:06:43.000Z
2020-07-03T00:47:30.000Z
#include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/EDAnalyzer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/Framework/interface/EventSetup.h" #include ...
30.333333
90
0.606394
5c3f75e171fb117831597306fe89412e84c90c9f
2,204
cpp
C++
iotivity-1.0.1/resource/csdk/security/unittest/svcresourcetest.cpp
gerald-yang/ubuntu-iotivity-demo
17e799e209442bbefb2df846e329c802ee5255f7
[ "Apache-2.0" ]
1,433
2015-04-30T09:26:53.000Z
2022-03-26T12:44:12.000Z
AllJoyn/Samples/OICAdapter/iotivity-1.0.0/resource/csdk/security/unittest/svcresourcetest.cpp
buocnhay/samples-1
ddd614bb5ae595f03811e3dfa15a5d107005d0fc
[ "MIT" ]
530
2015-05-02T09:12:48.000Z
2018-01-03T17:52:01.000Z
AllJoyn/Samples/OICAdapter/iotivity-1.0.0/resource/csdk/security/unittest/svcresourcetest.cpp
buocnhay/samples-1
ddd614bb5ae595f03811e3dfa15a5d107005d0fc
[ "MIT" ]
1,878
2015-04-30T04:18:57.000Z
2022-03-15T16:51:17.000Z
//****************************************************************** // // Copyright 2015 Intel Mobile Communications GmbH All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except ...
26.878049
75
0.627495
5c4291a9eb3539d3bbeb778695a5e4c600527e93
4,642
cpp
C++
core/src/plugin/PluginDiscovery.cpp
tristanseifert/lichtenstein_client
16b0d35915d11cd8cdf71d56c3d0f3d7268fe7cf
[ "BSD-3-Clause" ]
null
null
null
core/src/plugin/PluginDiscovery.cpp
tristanseifert/lichtenstein_client
16b0d35915d11cd8cdf71d56c3d0f3d7268fe7cf
[ "BSD-3-Clause" ]
null
null
null
core/src/plugin/PluginDiscovery.cpp
tristanseifert/lichtenstein_client
16b0d35915d11cd8cdf71d56c3d0f3d7268fe7cf
[ "BSD-3-Clause" ]
null
null
null
#include "PluginDiscovery.h" #include "LichtensteinPluginHandler.h" #include "HardwareInfoStruct.h" #include "../util/StringUtils.h" #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> // includes for i2c #ifdef __linux__ #include <linux/i2c.h> #include <linux/i2c-dev.h> #endif #include <glog/logging...
23.21
100
0.646273
5c469e86a1ad9a6493481c2c4b692795a8225067
12,826
cpp
C++
libraries/zmusic/mididevices/music_alsa_mididevice.cpp
Erick194/gzdoom
dcb7755716b7f4f6edce6f28b9e316d6de7eda15
[ "RSA-MD" ]
2
2020-04-19T13:37:34.000Z
2021-06-09T04:26:25.000Z
libraries/zmusic/mididevices/music_alsa_mididevice.cpp
Erick194/gzdoom
dcb7755716b7f4f6edce6f28b9e316d6de7eda15
[ "RSA-MD" ]
null
null
null
libraries/zmusic/mididevices/music_alsa_mididevice.cpp
Erick194/gzdoom
dcb7755716b7f4f6edce6f28b9e316d6de7eda15
[ "RSA-MD" ]
null
null
null
/* ** Provides an ALSA implementation of a MIDI output device. ** **--------------------------------------------------------------------------- ** Copyright 2008-2010 Randy Heit ** Copyright 2020 Petr Mrazek ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification...
25.198428
151
0.710432
5c4bd0115b98a0e53944cadf2f743dde628c407f
443
cpp
C++
heap/kSortedArray.cpp
sumana2001/problems450
90b804b7063bb3f11f90b7506576ed14d27e1776
[ "MIT" ]
null
null
null
heap/kSortedArray.cpp
sumana2001/problems450
90b804b7063bb3f11f90b7506576ed14d27e1776
[ "MIT" ]
null
null
null
heap/kSortedArray.cpp
sumana2001/problems450
90b804b7063bb3f11f90b7506576ed14d27e1776
[ "MIT" ]
1
2021-08-19T12:20:06.000Z
2021-08-19T12:20:06.000Z
#include<bits/stdc++.h> using namespace std; int main(){ int arr[]={6, 5, 3, 2, 8, 10, 9}; int n=sizeof(arr)/sizeof(arr[0]); int k=3; priority_queue<int,vector<int>,greater<int> > pq; for(int i=0;i<n;i++){ pq.push(arr[i]); if(pq.size()==k+1){ cout<<pq.top()<<" "; ...
21.095238
53
0.446953
5c4e7d0561f155e336d64344bb8746b7ae1bbc17
3,927
cpp
C++
Source/ISnd2/LoadOgg.cpp
mice777/Insanity3D
49dc70130f786439fb0e4f91b75b6b686a134760
[ "Apache-2.0" ]
2
2022-02-11T11:59:44.000Z
2022-02-16T20:33:25.000Z
Source/ISnd2/LoadOgg.cpp
mice777/Insanity3D
49dc70130f786439fb0e4f91b75b6b686a134760
[ "Apache-2.0" ]
null
null
null
Source/ISnd2/LoadOgg.cpp
mice777/Insanity3D
49dc70130f786439fb0e4f91b75b6b686a134760
[ "Apache-2.0" ]
null
null
null
#include "all.h" #include "loader.h" extern"C"{ #include "vorbis\vorbisfile.h" } #ifdef _DEBUG #pragma comment(lib, "ogg_d.lib") #pragma comment(lib, "vorbis_d.lib") #else #pragma comment(lib, "ogg.lib") #pragma comment(lib, "vorbis.lib") #endif //---------------------------- const int BITDEPTH = 16; //bitdept...
26.355705
113
0.531449
5c56baa2acd3c5c05d37e50e16780bdc49fe6f47
6,068
cpp
C++
QtWebApp/httpserver/staticfilecontroller.cpp
cbcalves/crudQtTest
f10c83934abaca6d17f57e2b0aa0e6c8844bfdda
[ "MIT" ]
null
null
null
QtWebApp/httpserver/staticfilecontroller.cpp
cbcalves/crudQtTest
f10c83934abaca6d17f57e2b0aa0e6c8844bfdda
[ "MIT" ]
null
null
null
QtWebApp/httpserver/staticfilecontroller.cpp
cbcalves/crudQtTest
f10c83934abaca6d17f57e2b0aa0e6c8844bfdda
[ "MIT" ]
null
null
null
/** @file @author Stefan Frings */ #include "staticfilecontroller.h" #include <QFileInfo> #include <QDir> #include <QDateTime> using namespace stefanfrings; StaticFileController::StaticFileController( const QSettings* settings, QObject* parent ) : HttpRequestHandler( parent ), m_encoding( settings->va...
38.897436
157
0.599044
5c56c79b9d72ec05c7afc418b555be8c4cd08aee
579
hpp
C++
src/common/idtypes/brushid.hpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
3
2020-03-05T06:36:51.000Z
2020-06-20T03:25:02.000Z
src/common/idtypes/brushid.hpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
13
2020-03-11T17:43:42.000Z
2020-12-11T03:36:05.000Z
src/common/idtypes/brushid.hpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
1
2020-09-28T06:53:46.000Z
2020-09-28T06:53:46.000Z
/** * Addle source code * @file * @copyright Copyright 2020 Eleanor Hawk * @copyright Modification and distribution permitted under the terms of the * MIT License. See "LICENSE" for full details. */ #ifndef BRUSHID_HPP #define BRUSHID_HPP #include "addleid.hpp" #include "brushengineid.hpp" namespace Addle { c...
20.678571
76
0.768566
5c5ac118797daf1cc64df7b8b0f9c2c3a17b9590
9,723
hpp
C++
include/libndgpp/net/basic_ipv4_address.hpp
goodfella/libndgpp
2e3d4b993a04664905c1e257fb2af3a5faab5296
[ "MIT" ]
null
null
null
include/libndgpp/net/basic_ipv4_address.hpp
goodfella/libndgpp
2e3d4b993a04664905c1e257fb2af3a5faab5296
[ "MIT" ]
null
null
null
include/libndgpp/net/basic_ipv4_address.hpp
goodfella/libndgpp
2e3d4b993a04664905c1e257fb2af3a5faab5296
[ "MIT" ]
null
null
null
#ifndef LIBNDGPP_NET_BASIC_IPV4_ADDRESS_HPP #define LIBNDGPP_NET_BASIC_IPV4_ADDRESS_HPP #include <cstdint> #include <array> #include <ostream> #include <stdexcept> #include <string> #include <type_traits> #include <libndgpp/error.hpp> #include <libndgpp/net/ipv4_array.hpp> namespace ndgpp { namespace net { temp...
33.297945
145
0.62851
5c5b2e32ee0cb2e0eff0ad49eb36a5548fb36d85
1,303
cpp
C++
src/test.cpp
bveenema/MM_Lib-Particle
84973f565d4b6de8edd395c09fd9cb7e37a4042e
[ "MIT" ]
null
null
null
src/test.cpp
bveenema/MM_Lib-Particle
84973f565d4b6de8edd395c09fd9cb7e37a4042e
[ "MIT" ]
null
null
null
src/test.cpp
bveenema/MM_Lib-Particle
84973f565d4b6de8edd395c09fd9cb7e37a4042e
[ "MIT" ]
null
null
null
// Example usage for MM_Lib-Particle library by Veenema Design Works. #include "Particle.h" #include "MM_Lib-Particle.h" void setup(); void loop(); SYSTEM_MODE(SEMI_AUTOMATIC); // Initialize the Manager (MUST BE DONE BEFORE ANY SETTINGS OR STATE) MM_Manager AppManager(10); // Initialize objects from the lib MM_Inp...
20.68254
69
0.707598
5c5d4896cdef7918d1b9b1b525726cbddbafd513
597
hxx
C++
code/src/Profile.hxx
Angew/AnyBak
66146b4b94e18ce7d215f1132752d33e4cddf1ed
[ "MIT" ]
null
null
null
code/src/Profile.hxx
Angew/AnyBak
66146b4b94e18ce7d215f1132752d33e4cddf1ed
[ "MIT" ]
null
null
null
code/src/Profile.hxx
Angew/AnyBak
66146b4b94e18ce7d215f1132752d33e4cddf1ed
[ "MIT" ]
null
null
null
#pragma once #include "RuleSet.hh" #include "VolumeRegistry.hh" #include "VolumeSet.hh" #include <memory> class Profile { public: const RuleSet& getRuleSet() const { return getRuleSet_impl(); } RuleSet& getRuleSet() { return getRuleSet_impl(); } const VolumeRegistry& getVolumeRegistry() const { return getVolum...
22.961538
85
0.755444
5c5e6063275e112ec3c117a6c97cc9442bf36d9b
996
cpp
C++
leetcode/1014.cpp
laiyuling424/LeetCode
afb582026b4d9a4082fdb99fc65b437e55d1f64d
[ "Apache-2.0" ]
null
null
null
leetcode/1014.cpp
laiyuling424/LeetCode
afb582026b4d9a4082fdb99fc65b437e55d1f64d
[ "Apache-2.0" ]
null
null
null
leetcode/1014.cpp
laiyuling424/LeetCode
afb582026b4d9a4082fdb99fc65b437e55d1f64d
[ "Apache-2.0" ]
null
null
null
// // Created by 赖於领 on 2021/9/1. // #include <vector> #include <iostream> using namespace std; //最佳观光组合 class Solution { public: int maxScoreSightseeingPair(vector<int> &values) { // if (values.size() == 2) { // return values[0] + values[1] - 1; // } //values[i]+values[j]+i-j...
21.191489
78
0.447791
5c5f2368e1c6d05bba92409dbfefcac47bc0d744
1,343
cpp
C++
src/src/collision_sphere.cpp
crr0004/terrian_prototype
34b04239ee2fb01e48f1602ff6dd08e8bd26da63
[ "MIT" ]
2
2015-11-05T20:08:00.000Z
2016-07-07T04:17:07.000Z
src/src/collision_sphere.cpp
crr0004/terrian_prototype
34b04239ee2fb01e48f1602ff6dd08e8bd26da63
[ "MIT" ]
3
2016-10-29T02:20:49.000Z
2017-04-01T11:09:53.000Z
src/src/collision_sphere.cpp
crr0004/terrian_prototype
34b04239ee2fb01e48f1602ff6dd08e8bd26da63
[ "MIT" ]
null
null
null
#include "collision/spherecollider.hpp" #include "collision/aabbcollider.hpp" #include <cstddef> using namespace Collision; SphereCollider::SphereCollider(const glm::vec3& center, const float radius){ this->center = glm::vec3(center); this->radius = radius; } bool SphereCollider::visitCollide(Collider* node){ retu...
28.574468
77
0.694713
5c60f0151b28f916dc90688f5b7d0b866658f1ec
676
cpp
C++
demos/multiplatform/delay/source/main.cpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
6
2020-06-20T23:56:42.000Z
2021-12-18T08:13:54.000Z
demos/multiplatform/delay/source/main.cpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
153
2020-06-09T14:49:29.000Z
2022-01-31T16:39:39.000Z
demos/multiplatform/delay/source/main.cpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
10
2020-08-02T00:55:38.000Z
2022-01-24T23:06:51.000Z
#include <cinttypes> #include <cstdint> #include "utility/log.hpp" #include "utility/time/time.hpp" int main() { sjsu::LogInfo("Delay Application Starting..."); sjsu::LogInfo("This demo prints a statement every second using Delay(1s)."); sjsu::LogInfo( "Notice that the uptime does not increase by 1 secon...
23.310345
79
0.633136
5c63ad45055fc5b87ccc0f9aa9c7696d28857b5d
4,991
cc
C++
Source/BladeBase/source/graphics/RenderProperty.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/BladeBase/source/graphics/RenderProperty.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/BladeBase/source/graphics/RenderProperty.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
/******************************************************************** created: 2011/12/21 filename: RenderProperty.cc author: Crazii purpose: *********************************************************************/ #include <BladePCH.h> #include <interface/public/graphics/RenderProperty.h> #include <interface/publ...
31
120
0.530154
5c65d2b705eadf9e53f5d161593f3221b758eaa0
2,763
cpp
C++
src/ChunkHandlerSFNC.cpp
Peralex/pxgf
a4ea0ad5d2d2ff3b909782c22ef6488a0ac81662
[ "Apache-2.0" ]
1
2017-12-20T14:27:01.000Z
2017-12-20T14:27:01.000Z
src/ChunkHandlerSFNC.cpp
Peralex/pxgf
a4ea0ad5d2d2ff3b909782c22ef6488a0ac81662
[ "Apache-2.0" ]
null
null
null
src/ChunkHandlerSFNC.cpp
Peralex/pxgf
a4ea0ad5d2d2ff3b909782c22ef6488a0ac81662
[ "Apache-2.0" ]
null
null
null
// Copyright 2006 Peralex Electronics (Pty) Ltd // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
32.892857
167
0.734347
5c67c4dc7eed0fa630f41634250e101387f5b1a3
2,710
cpp
C++
src/baekjoon_solutions/q2178/main_q2178.cpp
OptimistLabyrinth/competitive_programming
92ef372053813fbeca8f7b1f0cde90555e2ea1d8
[ "Apache-2.0" ]
null
null
null
src/baekjoon_solutions/q2178/main_q2178.cpp
OptimistLabyrinth/competitive_programming
92ef372053813fbeca8f7b1f0cde90555e2ea1d8
[ "Apache-2.0" ]
null
null
null
src/baekjoon_solutions/q2178/main_q2178.cpp
OptimistLabyrinth/competitive_programming
92ef372053813fbeca8f7b1f0cde90555e2ea1d8
[ "Apache-2.0" ]
null
null
null
#include <deque> #include <iostream> #include <sstream> #include <vector> using namespace std; int horizontal_length; int vertical_length; vector<vector<bool>> maze; vector<vector<bool>> is_visited; deque<pair<int, int>> neighboring_paths; int number_of_needed_pop_front; int current_new_path_count; int row_step[4] = ...
31.511628
99
0.597786
5c683a17d743c3a35d9e5f54c3197d497153624c
3,505
cpp
C++
Source/10.0.18362.0/ucrt/env/get_environment_from_os.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
Source/10.0.18362.0/ucrt/env/get_environment_from_os.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
Source/10.0.18362.0/ucrt/env/get_environment_from_os.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// // get_environment_from_os.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. // // Defines a pair of functions to get the environment strings from the operating // system. These functions copy the environment strings into a CRT-allocated // buffer and return a pointer to that buffer. The cal...
28.729508
109
0.694722
5c6fc2ea2c3eef41dd62d1afbe34ac4cbeea7a44
29,192
cpp
C++
Source/Core/BuildCommon/CDisneySceneBuildProcessor.cpp
schuttejoe/ShootyEngine
56a7fab5a479ec93d7f641bb64b8170f3b0d3095
[ "MIT" ]
81
2018-07-31T17:13:47.000Z
2022-03-03T09:24:22.000Z
Source/Core/BuildCommon/CDisneySceneBuildProcessor.cpp
schuttejoe/ShootyEngine
56a7fab5a479ec93d7f641bb64b8170f3b0d3095
[ "MIT" ]
2
2018-10-15T04:39:43.000Z
2019-12-05T03:46:50.000Z
Source/Core/BuildCommon/CDisneySceneBuildProcessor.cpp
schuttejoe/ShootyEngine
56a7fab5a479ec93d7f641bb64b8170f3b0d3095
[ "MIT" ]
9
2018-10-11T06:32:12.000Z
2020-10-01T03:46:37.000Z
//================================================================================================================================= // Joe Schutte //================================================================================================================================= #include "BuildCommon/CDisneySceneBuildP...
43.700599
141
0.571047
5c7557362a73f40f51615910d3586efe130137ba
1,477
cpp
C++
DSA-450/02Matrix/10commonElements.cpp
vikkastiwari/cpp-coding-questions
020790e1a3b26c7b24991427004730b3f0785c71
[ "MIT" ]
null
null
null
DSA-450/02Matrix/10commonElements.cpp
vikkastiwari/cpp-coding-questions
020790e1a3b26c7b24991427004730b3f0785c71
[ "MIT" ]
null
null
null
DSA-450/02Matrix/10commonElements.cpp
vikkastiwari/cpp-coding-questions
020790e1a3b26c7b24991427004730b3f0785c71
[ "MIT" ]
null
null
null
// question link: https://www.geeksforgeeks.org/common-elements-in-all-rows-of-a-given-matrix/ #include <bits/stdc++.h> using namespace std; vector<int> findCommon(vector<vector<int>> &nums) { vector<int> common; unordered_map<int, int> map; // marking all row 0 elements as present for (int j = 0; j ...
25.912281
139
0.477319
5c7610d0031114fd6ae16fbd1d44b0c1e1400667
622
cpp
C++
prob03/main.cpp
CSUF-CPSC120-2019F23-24/labex02-TommyLe3825
5d938242e9991e39c7138241e532475ed0705a48
[ "MIT" ]
null
null
null
prob03/main.cpp
CSUF-CPSC120-2019F23-24/labex02-TommyLe3825
5d938242e9991e39c7138241e532475ed0705a48
[ "MIT" ]
null
null
null
prob03/main.cpp
CSUF-CPSC120-2019F23-24/labex02-TommyLe3825
5d938242e9991e39c7138241e532475ed0705a48
[ "MIT" ]
null
null
null
// Name: Tommy Le // This program calculates the tax and tip on a restaurant bill. #include <iostream> int main() { double mealcost,tax,tip,totalbill; std::cout << "Welcome to the Restaurant Bill Calculator!\n"; //Input Meal Cost std::cout << "What is the total meal cost? "; std::cin >> mealcost; //...
22.214286
64
0.599678
f07bec174fb1b6798ea9e40cd591a2f6f74eec68
1,150
cpp
C++
Source/Kernels/vnImageNearest.cpp
Petercov/image-resampler
7897ed8a7b371a53011b7d850e510e7604d0de97
[ "BSD-2-Clause" ]
null
null
null
Source/Kernels/vnImageNearest.cpp
Petercov/image-resampler
7897ed8a7b371a53011b7d850e510e7604d0de97
[ "BSD-2-Clause" ]
null
null
null
Source/Kernels/vnImageNearest.cpp
Petercov/image-resampler
7897ed8a7b371a53011b7d850e510e7604d0de97
[ "BSD-2-Clause" ]
null
null
null
#include "Kernels/vnImageNearest.h" #include "Utilities/vnImageBlock.h" VN_STATUS vnNearestKernel( CONST CVImage & pSrcImage, FLOAT32 fX, FLOAT32 fY, UINT8 * pRawOutput ) { if ( VN_PARAM_CHECK ) { if ( !VN_IS_IMAGE_VALID(pSrcImage) || !pRawOutput ) { return vnPostError( VN_ERROR_I...
28.75
98
0.616522
f07c4142ce407a400c9a397ea735499fd273c066
215
hpp
C++
src/modules/osg/generated_code/TriangleList.pypp.hpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
src/modules/osg/generated_code/TriangleList.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
src/modules/osg/generated_code/TriangleList.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-11-28T17:00:31.000Z
2020-01-08T07:00:59.000Z
// This file has been generated by Py++. #ifndef TriangleList_hpp__pyplusplus_wrapper #define TriangleList_hpp__pyplusplus_wrapper void register_TriangleList_class(); #endif//TriangleList_hpp__pyplusplus_wrapper
23.888889
44
0.855814
f07f84cdd2ba1c1e88458535c89ae66d4374b2e5
12,766
cpp
C++
Flash/src/flash.cpp
MuellerA/LonganNanoTest
ed71398e63ff318695552b665b42e762b401c61e
[ "MIT" ]
15
2019-12-15T21:57:27.000Z
2022-02-22T05:28:24.000Z
Flash/src/flash.cpp
MuellerA/LonganNanoTest
ed71398e63ff318695552b665b42e762b401c61e
[ "MIT" ]
null
null
null
Flash/src/flash.cpp
MuellerA/LonganNanoTest
ed71398e63ff318695552b665b42e762b401c61e
[ "MIT" ]
3
2020-07-28T17:19:39.000Z
2021-10-01T09:01:51.000Z
//////////////////////////////////////////////////////////////////////////////// // flash.cpp //////////////////////////////////////////////////////////////////////////////// extern "C" { #include "gd32vf103.h" } #include "GD32VF103/spi.h" #include "GD32VF103/gpio.h" #include "GD32VF103/time.h" #include "Longan/lc...
24.933594
100
0.513943
f07fddd0d7e9745b75518d3d5266c40ab673b3d0
13,076
cpp
C++
chip8/src/cpu/opcodes.cpp
bryan-pakulski/emulators
599856760529cce7cc31be43d07617983e642dae
[ "MIT" ]
null
null
null
chip8/src/cpu/opcodes.cpp
bryan-pakulski/emulators
599856760529cce7cc31be43d07617983e642dae
[ "MIT" ]
null
null
null
chip8/src/cpu/opcodes.cpp
bryan-pakulski/emulators
599856760529cce7cc31be43d07617983e642dae
[ "MIT" ]
null
null
null
#include <iostream> #include <stdexcept> #include "../globals.hpp" #include "opcodes.hpp" using namespace std; opcodes::opcodes() { std::map<unsigned short, int> optable; } opcodes::~opcodes() { } /** * Gets function from the hashtable at a given index - If the function has not yet * been added to the lookup ...
19.229412
106
0.601101
f0844ff5707784bddf9aff38dcd89c3fded92da1
941
cpp
C++
Stack/postfixEvaluation.cpp
gaurav147-star/DSA-learning
52625953e2b1421fdd550004df893b970aac9308
[ "MIT" ]
1
2022-02-15T12:53:00.000Z
2022-02-15T12:53:00.000Z
Stack/postfixEvaluation.cpp
gaurav147-star/DSA-learning
52625953e2b1421fdd550004df893b970aac9308
[ "MIT" ]
null
null
null
Stack/postfixEvaluation.cpp
gaurav147-star/DSA-learning
52625953e2b1421fdd550004df893b970aac9308
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int postfixEvaluation(string s) { stack<double> st; for (int i = 0; i < s.length(); i++) { if (s[i] >= '0' && s[i] <= '9') { st.push(s[i] - '0'); } else { double op2 = st.top(); st.pop(...
19.604167
51
0.336876
f084a7ccdba1a870071401028679bfbe7618d1f6
2,386
cpp
C++
phoenix/.test/test-listicons.cpp
vgmtool/vgm2pre
f4f917df35d531512292541234a5c1722b8af96f
[ "MIT" ]
21
2015-04-13T03:07:12.000Z
2021-11-20T00:27:00.000Z
phoenix/.test/test-listicons.cpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
2
2015-10-06T14:59:48.000Z
2022-01-27T08:57:57.000Z
phoenix/.test/test-listicons.cpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
2
2021-11-19T08:36:57.000Z
2022-03-04T16:03:16.000Z
#include "phoenix.hpp" using namespace nall; using namespace phoenix; struct TestWindow : Window { TestWindow() { setGeometry({64, 64, 480, 640}); setTitle("Test Window"); onClose = [&] { setVisible(false); }; } } *testWindow = nullptr; struct Application : Window { VerticalLayout layout;...
23.86
108
0.604359
f0868055168fed8680185c854b362c02ec1c1bce
8,161
cpp
C++
pocketpt.cpp
rpreiner/pocketpt
5575a1fea0695d50e96d26b8124ee21b63b928ac
[ "MIT" ]
null
null
null
pocketpt.cpp
rpreiner/pocketpt
5575a1fea0695d50e96d26b8124ee21b63b928ac
[ "MIT" ]
null
null
null
pocketpt.cpp
rpreiner/pocketpt
5575a1fea0695d50e96d26b8124ee21b63b928ac
[ "MIT" ]
null
null
null
#include <stdlib.h> // pocketpt, single-source GLSL path tracer by Reinhold Preiner, 2020 #include <stdio.h> // based on smallpt by Kevin Beason #include <windows.h> // Make: g++ -O3 pocketpt.cpp -o pocketpt -lopengl32 -lgdi32 #include <GL/GL.h> // Usage: ./pocketpt <samplesPerPixel> <y-resolution>,...
72.866071
124
0.485357
f08869385b8bd0b0f20dd057ebc8fdbf6b9426c8
298
cpp
C++
AtCoder/ABC 162/C.cpp
igortakeo/Solutions-CF
d945f0ae21c691120b69db78ff3d240b7dedc0a7
[ "MIT" ]
1
2020-05-25T15:32:23.000Z
2020-05-25T15:32:23.000Z
AtCoder/ABC 162/C.cpp
igortakeo/Solutions-CF
d945f0ae21c691120b69db78ff3d240b7dedc0a7
[ "MIT" ]
null
null
null
AtCoder/ABC 162/C.cpp
igortakeo/Solutions-CF
d945f0ae21c691120b69db78ff3d240b7dedc0a7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; int main(){ int k; ll sum = 0; cin >> k; for(int i=1; i<=k; i++){ for(int j=1; j<=k; j++){ int a = __gcd(i, j); for(int l=1; l<=k; l++){ sum+= __gcd(a, l); } } } cout << sum << endl; return 0; }
12.416667
27
0.47651
f08c2d61feb5de0e5929ee721e6e49d47a942450
53
cpp
C++
source/Allocators/DoubleStackAllocator.cpp
teemid/Capstan
35e37a41cdc4c471a4570916751e5f391693aef4
[ "MIT" ]
null
null
null
source/Allocators/DoubleStackAllocator.cpp
teemid/Capstan
35e37a41cdc4c471a4570916751e5f391693aef4
[ "MIT" ]
null
null
null
source/Allocators/DoubleStackAllocator.cpp
teemid/Capstan
35e37a41cdc4c471a4570916751e5f391693aef4
[ "MIT" ]
null
null
null
#include "Capstan/Allocators/DoubleStackAllocator.h"
26.5
52
0.849057
f0944e557457ef143775a29eda3792bb6760d37e
23,656
cpp
C++
firmware/src/Statemachine/Canopen.cpp
sprenger120/remote_control_device
c375ab12683c10fd2918ea8345bcb06a5d78b978
[ "MIT" ]
1
2021-01-27T12:23:43.000Z
2021-01-27T12:23:43.000Z
firmware/src/Statemachine/Canopen.cpp
sprenger120/remote_control_device
c375ab12683c10fd2918ea8345bcb06a5d78b978
[ "MIT" ]
null
null
null
firmware/src/Statemachine/Canopen.cpp
sprenger120/remote_control_device
c375ab12683c10fd2918ea8345bcb06a5d78b978
[ "MIT" ]
null
null
null
#include "Canopen.hpp" #include "ANSIEscapeCodes.hpp" #include "CanFestivalLocker.hpp" #include "Logging.hpp" #include "PeripheralDrivers/CanIO.hpp" #include "PeripheralDrivers/TerminalIO.hpp" #include <algorithm> namespace remote_control_device { Canopen *Canopen::_instance = nullptr; Message Canopen::RTD_StateBoot...
36.337942
113
0.625592
f096246210bf176cfe8d59ed7623c939fe2b7924
13,759
cpp
C++
my-cs/extern/loki-0.1.7/test/Checker/main.cpp
zaqwes8811/cs-courses
aa9cf5ad109c9cfcacaadc11bf2defb2188ddce2
[ "Apache-2.0" ]
24
2016-08-09T23:32:08.000Z
2022-02-08T02:24:34.000Z
my-cs/extern/loki-0.1.7/test/Checker/main.cpp
zaqwes8811/cs-courses
aa9cf5ad109c9cfcacaadc11bf2defb2188ddce2
[ "Apache-2.0" ]
15
2015-03-07T12:46:41.000Z
2015-04-11T09:08:36.000Z
extern/loki-0.1.7/test/Checker/main.cpp
zaqwes8811/micro-apps
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
30
2015-04-22T16:10:43.000Z
2021-12-24T06:37:04.000Z
//////////////////////////////////////////////////////////////////////////////// // // Test program for The Loki Library // Copyright (c) 2008 Richard Sposato // The copyright on this file is protected under the terms of the MIT license. // // Permission to use, copy, modify, distribute and sell this software for any /...
29.088795
106
0.529181
f09853d57b96f656cd589da1c25a2f02cc1897ea
1,524
hpp
C++
include/codegen/include/RootMotion/FinalIK/EditorIK.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/RootMotion/FinalIK/EditorIK.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/RootMotion/FinalIK/EditorIK.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:17 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBehaviour.hpp" #include "utils/il2cp...
33.866667
89
0.672572
f098e60a5ec2af63aaac74f9d576e9cfb39f56f5
11,089
cc
C++
parser/pub/tools/tools.cc
smartdata-x/MarketSys
b4f999fb80b8f2357b75694c2ca94d46190a55f7
[ "Apache-2.0" ]
null
null
null
parser/pub/tools/tools.cc
smartdata-x/MarketSys
b4f999fb80b8f2357b75694c2ca94d46190a55f7
[ "Apache-2.0" ]
null
null
null
parser/pub/tools/tools.cc
smartdata-x/MarketSys
b4f999fb80b8f2357b75694c2ca94d46190a55f7
[ "Apache-2.0" ]
3
2016-10-25T01:56:17.000Z
2019-06-24T04:45:06.000Z
// Copyright (c) 2015-2015 The restful Authors. All rights reserved. // Created on: 2015/11/24 Author: jiaoyongqing #include<malloc.h> #include<stdlib.h> #include<memory.h> #include <string> #include <sstream> #include <map> #include <list> #include <vector> #include "tools/tools.h" #include "tea/tea.h" #include "ne...
24.533186
93
0.584994
f09924a80a0e716a64c7699e1ed64931e559b292
228
hpp
C++
Rimfrost/src/Rimfrost/EventSystem/EventObserver.hpp
Cgunnar/Rimfrost
924f8bab51e42e6b0790eb46cc1064b6920333cf
[ "MIT" ]
null
null
null
Rimfrost/src/Rimfrost/EventSystem/EventObserver.hpp
Cgunnar/Rimfrost
924f8bab51e42e6b0790eb46cc1064b6920333cf
[ "MIT" ]
null
null
null
Rimfrost/src/Rimfrost/EventSystem/EventObserver.hpp
Cgunnar/Rimfrost
924f8bab51e42e6b0790eb46cc1064b6920333cf
[ "MIT" ]
null
null
null
#pragma once #include "Rimfrost\EventSystem\Event.hpp" namespace Rimfrost { class EventObserver { public: EventObserver() = default; virtual ~EventObserver() = default; virtual void onEvent(const Event& e) = 0; }; }
15.2
43
0.710526
f09a60960c8157f4cce0993e7a96946606567a9c
129
cpp
C++
dependencies/physx-4.1/source/geomutils/src/pcm/GuPCMContactPlaneConvex.cpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/physx-4.1/source/geomutils/src/pcm/GuPCMContactPlaneConvex.cpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/physx-4.1/source/geomutils/src/pcm/GuPCMContactPlaneConvex.cpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:943d9f005beb984bd9d29ed487bf6adf30882f9fa79903c6092cbd91ecee3e90 size 6381
32.25
75
0.883721
f09f35100976469d13d4837b3b002ae69f7a61da
1,060
cpp
C++
cpp/0_check/modernes_cpp_source/source/lambdaAndAuto.cpp
shadialameddin/numerical_tools_and_friends
cc9f10f58886ee286ed89080e38ebd303d3c72a5
[ "Unlicense" ]
null
null
null
cpp/0_check/modernes_cpp_source/source/lambdaAndAuto.cpp
shadialameddin/numerical_tools_and_friends
cc9f10f58886ee286ed89080e38ebd303d3c72a5
[ "Unlicense" ]
null
null
null
cpp/0_check/modernes_cpp_source/source/lambdaAndAuto.cpp
shadialameddin/numerical_tools_and_friends
cc9f10f58886ee286ed89080e38ebd303d3c72a5
[ "Unlicense" ]
null
null
null
// lambdaAndAuto.cpp #include <functional> #include <iostream> double divMe(double a, double b){ return double(a/b); } using namespace std::placeholders; int main(){ std::cout << std::endl; // invoking the function object directly std::cout << "1/2.0= " << [](int a, int b){ return divMe(a, b); }(1, 2.0) <...
28.648649
89
0.626415
f09f8aea9ce08a9f95211f0e97a1b16ed177fd9e
12,063
cc
C++
whisperstreamlib/mts/mts_types.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
whisperstreamlib/mts/mts_types.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
whisperstreamlib/mts/mts_types.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
#include <whisperstreamlib/mts/mts_types.h> #define CHECK_MARKER(bit_array, type, bit_size, expected_value) {\ type marker = bit_array.Read<type>(bit_size);\ if ( marker != expected_value ) {\ LOG_ERROR << "Invalid marker: " << (int)marker\ << ", expected: " << (int)expected_value;\ ...
34.269886
96
0.631186
f0a3986dff053570d226301f52321899ed5ba9bd
8,948
cpp
C++
example-ExtendsSprite/src/DocumentRoot.cpp
selflash/ofxSelflash
087a263b2d4de970edd75ecab2c2a48b7b58e62d
[ "MIT" ]
19
2015-05-14T09:57:38.000Z
2022-01-10T23:32:28.000Z
example-ExtendsSprite/src/DocumentRoot.cpp
selflash/ofxSelflash
087a263b2d4de970edd75ecab2c2a48b7b58e62d
[ "MIT" ]
3
2015-08-04T09:07:26.000Z
2018-01-18T07:14:35.000Z
example-ExtendsSprite/src/DocumentRoot.cpp
selflash/ofxSelflash
087a263b2d4de970edd75ecab2c2a48b7b58e62d
[ "MIT" ]
1
2015-08-04T09:05:22.000Z
2015-08-04T09:05:22.000Z
#include "DocumentRoot.h" //static const double pi = std::acos(-1.0); // お手軽に π を得る。 //============================================================== // Constructor / Destructor //============================================================== //-------------------------------------------------------------- // //-----...
34.022814
109
0.456638
f0a6282ef467cbb597f6376aa9e36c7f9759eb46
3,508
cpp
C++
src/SQLite.cpp
nianfh/beebox
a2c68847a442f1d4bcb80d9eefb7c0c7682f748a
[ "MIT" ]
1
2018-07-11T03:47:41.000Z
2018-07-11T03:47:41.000Z
src/SQLite.cpp
nianfh/beebox
a2c68847a442f1d4bcb80d9eefb7c0c7682f748a
[ "MIT" ]
null
null
null
src/SQLite.cpp
nianfh/beebox
a2c68847a442f1d4bcb80d9eefb7c0c7682f748a
[ "MIT" ]
null
null
null
#include "SQLite.h" #include <sqlite3/sqlite3.h> #include <stdio.h> #include <vector> namespace beebox { CSQLite::CSQLite() { m_db = NULL; } CSQLite::~CSQLite() { close(); } bool CSQLite::open(string filePath) { if (m_db) { close(); } return sqlite3_open_v2(filePath.c_str(), &m_db, ...
19.381215
80
0.517104
f0a6567ff64ee8caa5ac52d811f47b9e0bea8794
1,246
cpp
C++
Dynamic Programming/Coin Change/SolutionbyPooja.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
261
2019-09-30T19:47:29.000Z
2022-03-29T18:20:07.000Z
Dynamic Programming/Coin Change/SolutionbyPooja.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
647
2019-10-01T16:51:29.000Z
2021-12-16T20:39:44.000Z
Dynamic Programming/Coin Change/SolutionbyPooja.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
383
2019-09-30T19:32:07.000Z
2022-03-24T16:18:26.000Z
/* Given a value N, if we want to make change for N cents, and we have infinite supply of each of S = { S1, S2, .. , Sm} valued coins, How many ways can we make the change? The order of coins doesn’t matter. input: N = 4 S = [ 1, 2, 3 ] Output = 4 There are four solutions: [ 1, 1, 1,...
21.859649
161
0.399679
f0ad631f8a4cc60d71b0bedeeead556dbc107356
542
cpp
C++
8 Hashing/03.hard/10.indexpairs.cpp
markpairdha/DataStructures
cf002e5a982543bd91e4a06ab22e76c40095786e
[ "MIT" ]
null
null
null
8 Hashing/03.hard/10.indexpairs.cpp
markpairdha/DataStructures
cf002e5a982543bd91e4a06ab22e76c40095786e
[ "MIT" ]
null
null
null
8 Hashing/03.hard/10.indexpairs.cpp
markpairdha/DataStructures
cf002e5a982543bd91e4a06ab22e76c40095786e
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> #include<unordered_map> using namespace std; int countindexpairs(int arr[],int n) { unordered_map<int,int> mp; for(int i=0;i<n;i++) mp[arr[i]]++; int ans=0; unordered_map<int,int> ::iterator it; for(it = mp.begin();it != mp.end();it++) { int fre...
20.074074
44
0.577491
f0ae115e5186c11bf9fd48e719659cc0cace4643
8,946
cpp
C++
Source/Gui3D-master/examples/build/EnvironmentDemo.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
3
2019-04-12T15:22:53.000Z
2022-01-05T02:59:56.000Z
Source/Gui3D-master/examples/build/EnvironmentDemo.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
null
null
null
Source/Gui3D-master/examples/build/EnvironmentDemo.cpp
shanefarris/CoreGameEngine
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
[ "MIT" ]
2
2019-04-10T22:46:21.000Z
2020-05-27T16:21:37.000Z
#include <iostream> #include <sstream> #include <vector> #include <OGRE/Ogre.h> #include <OIS/OIS.h> #include "Gui3D.h" #include "Gui3DPanel.h" #include "MyEnvironmentDemoPanelColors.h" typedef struct PanelAndDirection { Gui3D::Panel* panel; Ogre::Vector3 cameraDirection; int yaw; } PanelAndDirection;...
30.848276
120
0.625755
f0ae79a162cee6343a9cc5bdc989da19c7e0c60c
1,923
cpp
C++
scripts/project_euler/euler_problem_37.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
scripts/project_euler/euler_problem_37.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
46
2021-01-12T23:03:52.000Z
2021-10-01T17:29:01.000Z
scripts/project_euler/euler_problem_37.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
#include <iostream> #include <cassert> #include <cmath> #include <algorithm> #include <cannon/log/registry.hpp> #include <cannon/math/primes.hpp> #include <cannon/math/digits.hpp> using namespace cannon::log; using namespace cannon::math; /*! * The number 3797 has an interesting property. Being prime itself, it is ...
22.360465
80
0.656786
f0af743f6522a91956e542645b9de037882c3874
1,901
cpp
C++
src/main.cpp
vieiraa/ray_tracer
75665fd5b15f486ad52f3c5b61521fb394d40fe1
[ "MIT" ]
null
null
null
src/main.cpp
vieiraa/ray_tracer
75665fd5b15f486ad52f3c5b61521fb394d40fe1
[ "MIT" ]
null
null
null
src/main.cpp
vieiraa/ray_tracer
75665fd5b15f486ad52f3c5b61521fb394d40fe1
[ "MIT" ]
null
null
null
#include <chrono> #include <glm/geometric.hpp> #include "camera.h" #include "orthographic_camera.h" #include "pinhole_camera.h" #include "scene.h" #include "buffer.h" #include "raytracer.h" #include "path_tracer.h" #include "bvh.h" int main() { unsigned int width = 256; unsigned int height = 256; Pinhole...
30.174603
89
0.571804
f0af752401c2358f7c738dff258fa6e5bb7e7176
2,477
hpp
C++
include/clotho/utility/linear_bit_block_iterator.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:27:57.000Z
2022-01-25T23:26:54.000Z
include/clotho/utility/linear_bit_block_iterator.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
3
2015-06-16T21:12:42.000Z
2015-06-23T12:41:00.000Z
include/clotho/utility/linear_bit_block_iterator.hpp
putnampp/clotho
6dbfd82ef37b4265381cd78888cd6da8c61c68c2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright 2015 Patrick Putnam // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
25.802083
146
0.634639
f0b0a5d96d62348b136ca0edc7e881fd7b6cea60
7,451
cpp
C++
SuperBigNum.cpp
W-YXN/MyNOIPProjects
0269a8385a6c8d87511236146f374f39dcdd2b82
[ "Apache-2.0" ]
null
null
null
SuperBigNum.cpp
W-YXN/MyNOIPProjects
0269a8385a6c8d87511236146f374f39dcdd2b82
[ "Apache-2.0" ]
null
null
null
SuperBigNum.cpp
W-YXN/MyNOIPProjects
0269a8385a6c8d87511236146f374f39dcdd2b82
[ "Apache-2.0" ]
1
2019-01-19T01:05:07.000Z
2019-01-19T01:05:07.000Z
#define max(a, b) a > b ? a : b #define min(a, b) a < b ? a : b class bign { public: int len, s[MAX_L]; bign(); bign(const char *); bign(int); bool sign; string toStr() const; friend istream &operator>>(istream &, bign &); friend ostream &operator<<(ostream &, bign &); bign operato...
18.911168
67
0.476715
f0b193b1898fab2aabee86a2b7a9cf98b7551b35
14,729
cpp
C++
source/smoothmethod.cpp
TianSHH/Picop
200fffde41eaf3fa5e041eaface306053f291056
[ "BSD-3-Clause" ]
1
2019-11-22T12:03:44.000Z
2019-11-22T12:03:44.000Z
source/smoothmethod.cpp
TianSHH/Picop
200fffde41eaf3fa5e041eaface306053f291056
[ "BSD-3-Clause" ]
null
null
null
source/smoothmethod.cpp
TianSHH/Picop
200fffde41eaf3fa5e041eaface306053f291056
[ "BSD-3-Clause" ]
null
null
null
#include "smoothmethod.h" SmoothMethod::SmoothMethod() { } SmoothMethod::~SmoothMethod() { } QImage SmoothMethod::averageFiltering(QImage *originImage) { bool ok; int filterRadius = QInputDialog::getInt(nullptr, QObject::tr("均值滤波"), "输入滤波器大小(1~30)", 3, 1, 30, 1, &ok); if (ok) { if (filterRadi...
34.494145
129
0.42345
f0b19e8ef7819f07395c7199e2a6c9f000b5a0ec
2,548
cpp
C++
gen_desc/kitti_gen.cpp
lilin-hitcrt/RINet
0e28c26e015c50385816b2cbe6549583486fd486
[ "MIT" ]
5
2022-03-01T13:56:47.000Z
2022-03-09T02:57:15.000Z
gen_desc/kitti_gen.cpp
lilin-hitcrt/RINet
0e28c26e015c50385816b2cbe6549583486fd486
[ "MIT" ]
null
null
null
gen_desc/kitti_gen.cpp
lilin-hitcrt/RINet
0e28c26e015c50385816b2cbe6549583486fd486
[ "MIT" ]
1
2022-03-06T07:59:51.000Z
2022-03-06T07:59:51.000Z
#include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/visualization/cloud_viewer.h> #include <opencv2/opencv.hpp> #include "semanticConf.hpp" #include "genData.hpp" int main(int argc,char** argv){ if(argc<4){ std::cout<<"Usage: ./kitti_gen cloud_folder label_folder output_file"<<std::endl...
36.4
89
0.494505
f0b3482342d0c26c556d88ebc899d2d825d10dd1
760
cpp
C++
KDF/src/Platform/OpenGL/OpenGLContext.cpp
Kuenlun/DynamicFlowchart
54f0863f204298c31d68690d695fc81667d0fde6
[ "MIT" ]
null
null
null
KDF/src/Platform/OpenGL/OpenGLContext.cpp
Kuenlun/DynamicFlowchart
54f0863f204298c31d68690d695fc81667d0fde6
[ "MIT" ]
null
null
null
KDF/src/Platform/OpenGL/OpenGLContext.cpp
Kuenlun/DynamicFlowchart
54f0863f204298c31d68690d695fc81667d0fde6
[ "MIT" ]
null
null
null
#include "KDFpch.h" #include "OpenGLContext.h" #include <GLFW/glfw3.h> #include <Glad/glad.h> namespace KDF { OpenGLContext::OpenGLContext(GLFWwindow* windowHandle) : m_windowHandle(windowHandle) { KDF_CORE_ASSERT(windowHandle, "Window handle is null!"); } void OpenGLContext::Init() { glfwMakeContextCur...
21.714286
66
0.740789
f0b9afdee429081c137cbabb2df8b2a312396ec3
1,221
cpp
C++
BAC_2nd/ch5/UVa12096.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
BAC_2nd/ch5/UVa12096.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
BAC_2nd/ch5/UVa12096.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa12096 The SetStack Computer // Rujia Liu #include<iostream> #include<string> #include<set> #include<map> #include<stack> #include<vector> #include<algorithm> using namespace std; #define ALL(x) x.begin(),x.end() #define INS(x) inserter(x,x.begin()) typedef set<int> Set; map<Set,int> IDcache; // 把集合映射成ID vector...
23.037736
70
0.527437
f0bfeb13d9f891159be59bd3a9018602f94a5beb
5,432
cc
C++
base/test/scoped_feature_list.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
base/test/scoped_feature_list.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
base/test/scoped_feature_list.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/test/scoped_feature_list.h" #include <algorithm> #include <string> #include <utility> #include <vector> #include "base/stl_util.h" #inclu...
35.272727
80
0.745398
f0c266afdbbcaeb1c0628f623cfc342ab307f85c
5,958
hh
C++
Kaskade/fem/diffops/mooneyRivlin.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
3
2019-07-03T14:03:31.000Z
2021-12-19T10:18:49.000Z
Kaskade/fem/diffops/mooneyRivlin.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
6
2020-02-17T12:01:30.000Z
2021-12-09T22:02:33.000Z
Kaskade/fem/diffops/mooneyRivlin.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
2
2020-12-03T04:41:18.000Z
2021-01-11T21:44:42.000Z
#ifndef MOONEY_RIVLIN_HH #define MOONEY_RIVLIN_HH #include "linalg/invariants.hh" #include "utilities/functionTools.hh" namespace Kaskade { template <int dim, class VolumetricPenalty = void, Invariant i = Invariant::Principal, class Direction = void> class MooneyRivlin; /** * \param lambda first Lame constant...
46.546875
158
0.678583
f0c33de0a5f5bbb2cedc3d33d337a78916f422b7
1,117
cpp
C++
hand.cpp
youdymoo/blackjack
de3890aae667718e9386eae39d777d942b05fe91
[ "MIT" ]
null
null
null
hand.cpp
youdymoo/blackjack
de3890aae667718e9386eae39d777d942b05fe91
[ "MIT" ]
null
null
null
hand.cpp
youdymoo/blackjack
de3890aae667718e9386eae39d777d942b05fe91
[ "MIT" ]
null
null
null
#include "hand.h" Hand::Hand() { discardAll(); } void Hand::discardAll() { curValue.count = 0; curValue.soft = false; } void Hand::addCard(Card c) { int countCard; if (c.spot != ACE) { if (c.spot <= NINE) { countCard = c.spot + 2; curValue.count += countCard; ...
21.075472
51
0.438675
f0c422605b8c43b5b392f5f57e418a229c356f8d
970
hpp
C++
include/defines.hpp
Yao-Chung/Sokoban-Agent
7135a51ee8a912fe8a636ccfeecbcd3551e6720c
[ "BSD-3-Clause" ]
null
null
null
include/defines.hpp
Yao-Chung/Sokoban-Agent
7135a51ee8a912fe8a636ccfeecbcd3551e6720c
[ "BSD-3-Clause" ]
null
null
null
include/defines.hpp
Yao-Chung/Sokoban-Agent
7135a51ee8a912fe8a636ccfeecbcd3551e6720c
[ "BSD-3-Clause" ]
null
null
null
#ifndef SOKOBAN_AGENT_DEFINES #define SOKOBAN_AGENT_DEFINES #include <vector> #include <string> #include <iostream> enum MoveDirection{ Left = 0, Right = 1, Up = 2, Down = 3, Unspecified = -1, }; using Map = std::vector<std::string>; using Position = std::pair<int, int>; using Decimal = float; s...
34.642857
143
0.727835
f0c83d8b974fd845985527c413970c06730c5cc1
1,561
hpp
C++
apps/src/videostitch-live-gui/src/configurations/rigconfigurationwidget.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
apps/src/videostitch-live-gui/src/configurations/rigconfigurationwidget.hpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
apps/src/videostitch-live-gui/src/configurations/rigconfigurationwidget.hpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #ifndef RIGCONFIGURATIONWIDGET_HPP #define RIGCONFIGURATIONWIDGET_HPP #include <QWidget> #include "ui_rigconfigurationwidget.h" #include "libvideostitch/stereoRigDef.hpp" class RigConfigurationWidget : public QFrame, public Ui::RigConfiguratio...
39.025
114
0.73991
f0c9ea61afd241f3c72bd16e62d22587e4d0f3d9
53,605
hh
C++
apps/rosetta/rif_dock_test.hh
willsheffler/rifdock
291d05112d52318bb07d499ce6da3e0fb9fbf9cf
[ "Apache-2.0" ]
2
2020-01-28T07:59:26.000Z
2020-09-17T06:32:14.000Z
apps/rosetta/rif_dock_test.hh
willsheffler/rifdock
291d05112d52318bb07d499ce6da3e0fb9fbf9cf
[ "Apache-2.0" ]
null
null
null
apps/rosetta/rif_dock_test.hh
willsheffler/rifdock
291d05112d52318bb07d499ce6da3e0fb9fbf9cf
[ "Apache-2.0" ]
null
null
null
#include <basic/options/option_macros.hh> #include <basic/options/keys/corrections.OptionKeys.gen.hh> #include <riflib/scaffold/nineA_util.hh> #include <vector> #ifdef GLOBAL_VARIABLES_ARE_BAD #ifndef INCLUDED_rif_dock_test_hh_1 #define INCLUDED_rif_dock_test_hh_1 OPT_1GRP_KEY( StringVector , rif_dock, s...
58.648796
158
0.612406
f0cb289aca4dd19d69e868efc9e4137c98d0b056
1,771
cpp
C++
matlab/panoContext_code/Toolbox/segmentation/segmentGraphMex_edge.cpp
imamik/LayoutNet
f68eb214e793b9786f2582f9244bac4f8f98a816
[ "MIT" ]
380
2018-02-23T02:58:35.000Z
2022-03-21T06:34:33.000Z
matlab/panoContext_code/Toolbox/segmentation/segmentGraphMex_edge.cpp
imamik/LayoutNet
f68eb214e793b9786f2582f9244bac4f8f98a816
[ "MIT" ]
36
2018-04-11T03:49:42.000Z
2021-01-21T01:25:47.000Z
matlab/panoContext_code/Toolbox/segmentation/segmentGraphMex_edge.cpp
imamik/LayoutNet
f68eb214e793b9786f2582f9244bac4f8f98a816
[ "MIT" ]
94
2018-02-25T05:23:51.000Z
2022-02-11T02:00:47.000Z
#include <cstdio> #include <cstdlib> #include <image.h> #include <misc.h> #include <pnmfile.h> #include "mex.h" #include "segment-image.h" void mexFunction(int nlhs,mxArray* plhs[],int nrhs,const mxArray* prhs[]) { // check arguments if (nrhs != 5) { mexPrintf("Usage: [seg] = segmentGraphMex_edge(ma...
29.516667
98
0.585545
f0cd16803c3887c2e9fc46e5b45ea987f4b0c6b2
8,806
cpp
C++
src/main.cpp
russellklenk/gwbase
eb4094b4cea29cd24612e88298efbdfbec1d59aa
[ "Unlicense" ]
3
2018-03-24T12:28:05.000Z
2021-07-29T02:00:16.000Z
src/main.cpp
russellklenk/gwbase
eb4094b4cea29cd24612e88298efbdfbec1d59aa
[ "Unlicense" ]
null
null
null
src/main.cpp
russellklenk/gwbase
eb4094b4cea29cd24612e88298efbdfbec1d59aa
[ "Unlicense" ]
1
2018-05-13T12:59:01.000Z
2018-05-13T12:59:01.000Z
/*///////////////////////////////////////////////////////////////////////////// /// @summary Implements the entry point of the application. This handles the /// setup of our third party libraries and the creation of our main window and /// rendering context, along with implementing the game loop. /// @author Russell Kl...
33.356061
94
0.650693
f0da524a8ee5f41b5b255973c45add652ae74843
473
cc
C++
src/core/logging_event.cc
pragkent/logbox
15274be0726cd3f0d71266a0ce4755106c8bdd1f
[ "MIT" ]
2
2015-02-14T04:24:07.000Z
2015-02-28T11:23:48.000Z
src/core/logging_event.cc
pragkent/logbox
15274be0726cd3f0d71266a0ce4755106c8bdd1f
[ "MIT" ]
null
null
null
src/core/logging_event.cc
pragkent/logbox
15274be0726cd3f0d71266a0ce4755106c8bdd1f
[ "MIT" ]
null
null
null
#include "core/logging_event.h" #include <errno.h> #include "util/environment.h" namespace logbox { LoggingEvent::LoggingEvent( LogSeverity severity, const char* file, int line, const char* function) : severity_(severity), file_fullname_(file), file_basename_(Environment::GetBasename(...
20.565217
53
0.676533
f0da74da343d1e48921fbefea6fe4b456427bae7
1,197
cpp
C++
Code/System/Core/Time/Time.cpp
JuanluMorales/KRG
f3a11de469586a4ef0db835af4bc4589e6b70779
[ "MIT" ]
419
2022-01-27T19:37:43.000Z
2022-03-31T06:14:22.000Z
Code/System/Core/Time/Time.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
2
2022-01-28T20:35:33.000Z
2022-03-13T17:42:52.000Z
Code/System/Core/Time/Time.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
20
2022-01-27T20:41:02.000Z
2022-03-26T16:16:57.000Z
#include "Time.h" #include <chrono> //------------------------------------------------------------------------- namespace KRG { KRG::Nanoseconds EngineClock::CurrentTime = 0; //------------------------------------------------------------------------- Nanoseconds::operator Microseconds() const...
34.2
114
0.472013
f0db14785a36f33ca7d2e246eff7183b9b3bb82d
215
cpp
C++
src/sysGCU/appThread.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/sysGCU/appThread.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/sysGCU/appThread.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" #include "AppThread.h" /* * --INFO-- * Address: 80424E18 * Size: 00003C */ AppThread::AppThread(u32 stackSize, int msgCount, int priority) : JKRThread(stackSize, msgCount, priority) { }
15.357143
63
0.674419
f0ddf37d5a08322fefec7ff12c8b80b255fc02f5
370
cpp
C++
LeetCode/Problems/Algorithms/#762_PrimeNumberOfSetBitsInBinaryRepresentation_sol1_builtin_popcount_and_unordered_set_O(R-L)_time_O(1)_extra_space_40ms_6.5MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#762_PrimeNumberOfSetBitsInBinaryRepresentation_sol1_builtin_popcount_and_unordered_set_O(R-L)_time_O(1)_extra_space_40ms_6.5MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#762_PrimeNumberOfSetBitsInBinaryRepresentation_sol1_builtin_popcount_and_unordered_set_O(R-L)_time_O(1)_extra_space_40ms_6.5MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: int countPrimeSetBits(int L, int R) { const unordered_set<int> PRIMES = {2,3,5,7,11,13,17,19}; int answer = 0; for(int num = L; num <= R; ++num){ int setBitsCnt = __builtin_popcount(num); answer += (PRIMES.find(setBitsCnt) != PRIMES.end...
30.833333
65
0.524324
f0e175d7937cf22938a778b3d6a68b2e534d5321
44,217
hpp
C++
src/libraries/surfMesh/MeshedSurface/MeshedSurface.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/surfMesh/MeshedSurface/MeshedSurface.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/surfMesh/MeshedSurface/MeshedSurface.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2015 OpenFOAM Foundation Copyright (C) 2015 Applied CCM ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redist...
23.358162
79
0.542099
f0e3176656a2486c5b034523bacc31885375ef30
1,525
cpp
C++
networkit/cpp/auxiliary/ParallelTimings.cpp
ArminWiebigke/networkit
713320a5961f6324d62df2ea7a32675fa053dfac
[ "MIT" ]
null
null
null
networkit/cpp/auxiliary/ParallelTimings.cpp
ArminWiebigke/networkit
713320a5961f6324d62df2ea7a32675fa053dfac
[ "MIT" ]
null
null
null
networkit/cpp/auxiliary/ParallelTimings.cpp
ArminWiebigke/networkit
713320a5961f6324d62df2ea7a32675fa053dfac
[ "MIT" ]
null
null
null
/* * ParallelTimings.cpp * * Created on: 2019-11-05 * Author: Armin Wiebigke */ #include <map> #include "ParallelTimings.h" namespace NetworKit { void ParallelTimings::addTime(Aux::Timer &timer, const std::string &name) const { timer.stop(); double elapsed = timer.elapsedNanoseconds(); auto tid = omp_get_th...
23.106061
118
0.683934
f0e719c6ea86f83338f9e8745890360cae78d634
6,370
cpp
C++
texture.cpp
CaptainDreamcast/prism
a6b0f5c3e86d7b37d14c9139862775e7768998ce
[ "MIT" ]
7
2018-04-08T15:01:59.000Z
2022-02-27T12:13:19.000Z
texture.cpp
CaptainDreamcast/prism
a6b0f5c3e86d7b37d14c9139862775e7768998ce
[ "MIT" ]
1
2017-04-23T15:27:37.000Z
2017-04-24T05:38:18.000Z
texture.cpp
CaptainDreamcast/libtari
a6b0f5c3e86d7b37d14c9139862775e7768998ce
[ "MIT" ]
1
2020-04-24T04:21:00.000Z
2020-04-24T04:21:00.000Z
#include "prism/texture.h" #include<algorithm> #ifdef DREAMCAST #include <png/png.h> #else #include <png.h> #endif #include "prism/file.h" #include "prism/log.h" #include "prism/system.h" #include "prism/math.h" using namespace std; #define FONT_CHARACTER_AMOUNT 91 static int isFontDataLoaded; static TextureData ...
22.75
88
0.649137
f0e933ed100092fe5cf143ddcb9558b9fc32c21d
267
hpp
C++
pythran/pythonic/include/__builtin__/ReferenceError.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
1
2018-03-24T00:33:03.000Z
2018-03-24T00:33:03.000Z
pythran/pythonic/include/__builtin__/ReferenceError.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/__builtin__/ReferenceError.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_INCLUDE_BUILTIN_REFERENCEERROR_HPP #define PYTHONIC_INCLUDE_BUILTIN_REFERENCEERROR_HPP #include "pythonic/include/types/exceptions.hpp" PYTHONIC_NS_BEGIN namespace __builtin__ { PYTHONIC_EXCEPTION_DECL(ReferenceError) } PYTHONIC_NS_END #endif
16.6875
51
0.868914
f0ea469a07225cc24c6b92a7cb30c43024a6108f
5,692
cpp
C++
c++/src/corelib/ncbi_safe_static.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/src/corelib/ncbi_safe_static.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/src/corelib/ncbi_safe_static.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: ncbi_safe_static.cpp 177027 2009-11-24 19:19:28Z grichenk $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Gover...
27.765854
78
0.655657
f0ed6acb33e0b41499306ec4590b306a0280924d
5,808
cpp
C++
libs/geometry/src/matrix.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/geometry/src/matrix.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/geometry/src/matrix.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
// This file is part of the Yttrium toolkit. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #include <yttrium/geometry/matrix.h> #include <yttrium/geometry/euler.h> #include <yttrium/geometry/size.h> #include <cmath> #include <numbers> namespace Yt { Matrix4::Matrix4(const Euler& e) noe...
34.366864
112
0.532369
f0ef45f838db55c49ad28fb6f393909025c8e1d6
7,054
hpp
C++
packages/Search/src/details/DTK_DetailsTreeTraversal.hpp
flyingcat007/DTK_Test
ef8e0e791b76f138045354715a8ce23436ea0edf
[ "BSD-3-Clause" ]
null
null
null
packages/Search/src/details/DTK_DetailsTreeTraversal.hpp
flyingcat007/DTK_Test
ef8e0e791b76f138045354715a8ce23436ea0edf
[ "BSD-3-Clause" ]
null
null
null
packages/Search/src/details/DTK_DetailsTreeTraversal.hpp
flyingcat007/DTK_Test
ef8e0e791b76f138045354715a8ce23436ea0edf
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * Copyright (c) 2012-2017 by the DataTransferKit authors * * All rights reserved. * * * * This ...
31.632287
80
0.561242
f0f058c70d3c3c2b34e72acbf78be9b844e025bb
788
cpp
C++
client/include/game/CColDisk.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
client/include/game/CColDisk.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
92
2019-01-23T23:02:31.000Z
2022-03-23T19:59:40.000Z
client/include/game/CColDisk.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto San Andreas) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CColDisk.h" // Converted from thiscall void CColDisk::Set(float startRadius,CVector const&start,CVect...
65.666667
209
0.769036
f0f3e273807c03960248ad61cc8e678f24cf06dc
78
hpp
C++
include/Pulsejet/Pulsejet.hpp
logicomacorp/pulsejet
ec73d19ccb71ff05b2122e258fe4b7b16e55fb53
[ "MIT" ]
30
2021-06-07T20:25:48.000Z
2022-03-30T00:52:38.000Z
include/Pulsejet/Pulsejet.hpp
going-digital/pulsejet
8452a0311645867d64c038cef7fdf751b26717ee
[ "MIT" ]
null
null
null
include/Pulsejet/Pulsejet.hpp
going-digital/pulsejet
8452a0311645867d64c038cef7fdf751b26717ee
[ "MIT" ]
1
2021-09-21T11:17:45.000Z
2021-09-21T11:17:45.000Z
#pragma once #include "Decode.hpp" #include "Encode.hpp" #include "Meta.hpp"
13
21
0.717949