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
489aff66867b4d2ab8fa4cfbd97c4b30aa86705e
431
cpp
C++
Win/Win32/cefclientlog/src/Mutex_WIN32.cpp
Bing4Autodesk/CEF3
5dbe1658b34e95e6fbdc13ef1c508cca4cead3e5
[ "MIT" ]
3
2015-06-07T07:09:50.000Z
2017-06-09T17:12:22.000Z
Win/Win32/cefclientlog/src/Mutex_WIN32.cpp
Bing4Autodesk/CEF3
5dbe1658b34e95e6fbdc13ef1c508cca4cead3e5
[ "MIT" ]
null
null
null
Win/Win32/cefclientlog/src/Mutex_WIN32.cpp
Bing4Autodesk/CEF3
5dbe1658b34e95e6fbdc13ef1c508cca4cead3e5
[ "MIT" ]
1
2019-01-04T03:22:03.000Z
2019-01-04T03:22:03.000Z
// // Mutex_WIN32.cpp // #include "include/log/thread/Mutex_WIN32.h" namespace log4cplus { MutexImpl::MutexImpl() { // the fct has a boolean return value under WInnNt/2000/XP but not on Win98 // the return only checks if the input address of &_cs was valid, so it is safe to omit it InitializeCriticalSectionAn...
16.576923
91
0.728538
Bing4Autodesk
489c19094989e8df9dc33dd912ea2564cb0f15b8
2,073
cpp
C++
lib/async/src/pipe/client/Engine.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/async/src/pipe/client/Engine.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/async/src/pipe/client/Engine.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
#include "astateful/async/pipe/client/Engine.hpp" #include "pipe/client/Connection.hpp" #include <cassert> #include "Ws2tcpip.h" namespace astateful { namespace async { namespace pipe { namespace client { bool Engine::send( const std::string& pipe, const std::string& buffer, ...
28.013514
73
0.558128
astateful
489c8d3508b13fdc54420ba428248f9a43a9939b
1,692
hh
C++
src/callow/utils/CallowDefinitions.hh
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
null
null
null
src/callow/utils/CallowDefinitions.hh
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
null
null
null
src/callow/utils/CallowDefinitions.hh
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// /** * @file SolverDefinitions.hh * @brief SolverDefinitions * @author Jeremy Roberts * @date Sep 24, 2012 */ //---------------------------------------------------------------------------// #ifndef callow_CALLOWDEFINITIONS_HH_...
31.333333
79
0.411939
RLReed
489ca959c58370b81f3619b522e8dd7ec09a9ed6
123
cpp
C++
test/llvm_test_code/constness/control_flow/cf_if_01.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
581
2018-06-10T10:37:55.000Z
2022-03-30T14:56:53.000Z
test/llvm_test_code/constness/control_flow/cf_if_01.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
172
2018-06-13T12:33:26.000Z
2022-03-26T07:21:41.000Z
test/llvm_test_code/constness/control_flow/cf_if_01.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
137
2018-06-10T10:31:14.000Z
2022-03-06T11:53:56.000Z
/* i | %1 (ID: 1) | mem2reg */ extern bool cond; int main() { int *i = new int(7); if (cond) { *i = 20; } return 0; }
13.666667
30
0.487805
flix-
48a2b00b9aa361bb95069ea4f4bb4f46abadabee
749
cpp
C++
0001-0100/0046.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
0001-0100/0046.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
0001-0100/0046.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> ret; vector<int> perm; void dfs(vector<int>& nums, bool * used, int totalUsed) { if (totalUsed == nums.size()) { ret.push_back(perm); return; } for (int i = 0; i < nums.size(); ++i) { ...
22.69697
59
0.425901
YKR
48a7ddcff383d67d82d283b22cc35901c707b720
2,601
cpp
C++
graph/minCut_maxFlow_EdmondsKarp.cpp
fersarr/algo
a6ed2b53be8e748d9c0e488dc5fad075fa7cbb53
[ "MIT" ]
null
null
null
graph/minCut_maxFlow_EdmondsKarp.cpp
fersarr/algo
a6ed2b53be8e748d9c0e488dc5fad075fa7cbb53
[ "MIT" ]
null
null
null
graph/minCut_maxFlow_EdmondsKarp.cpp
fersarr/algo
a6ed2b53be8e748d9c0e488dc5fad075fa7cbb53
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <vector> #include <queue> #include <cstring> using namespace std; //mincut problem, undirected graph int n,m,n1,n2,cost,s,t,f,maxFlow,big=1<<30-1,minEdge; #define NCITIES 50 #define NEDGES 500 vector<int> adjList[NCITIES]; vector<int>::iterator it; int parent[NCITIES]; ...
20.975806
134
0.615917
fersarr
48a86b60a2878838eac0efd8680fdec92d430ef9
1,562
cpp
C++
src/structs/interval_tree.cpp
varqox/acmlib
e798ca776d569d26d73ed910593b648afac4555c
[ "MIT" ]
null
null
null
src/structs/interval_tree.cpp
varqox/acmlib
e798ca776d569d26d73ed910593b648afac4555c
[ "MIT" ]
null
null
null
src/structs/interval_tree.cpp
varqox/acmlib
e798ca776d569d26d73ed910593b648afac4555c
[ "MIT" ]
null
null
null
// drzewo przedział-przedział (+, max) #include <bits/stdc++.h> using namespace std; const int R = 1 << 18; int drzewo[2 * R], lazy[2 * R]; // przepychanie w dol void update(int id, int wart) { drzewo[id] += wart; lazy[id] += wart; } void push(int id) { int lewy = 2 * id; int prawy = 2 * id + 1; ...
21.694444
75
0.5
varqox
48af74d09fdee2a9220afba5d552aa1bd615956c
646
cpp
C++
src/OpenGLProject/vao_model_manager/cModelManager.cpp
minhvo-dev/OpenGL-Space-Station
22b23b4cb11ac401cf018026b1e54b44395b8ad6
[ "MIT" ]
null
null
null
src/OpenGLProject/vao_model_manager/cModelManager.cpp
minhvo-dev/OpenGL-Space-Station
22b23b4cb11ac401cf018026b1e54b44395b8ad6
[ "MIT" ]
null
null
null
src/OpenGLProject/vao_model_manager/cModelManager.cpp
minhvo-dev/OpenGL-Space-Station
22b23b4cb11ac401cf018026b1e54b44395b8ad6
[ "MIT" ]
null
null
null
/* * File name: "cModelManager.cpp" * Date: 8/27/2020 10:09:07 AM * Author: Vo, Dinh Tue Minh * Purpose: Implement the cModelManager class */ #include "cModelManager.hpp" #include <string> bool cModelManager::add_model(std::string const &modelPath, std::string const &name) { if (mgr_.find(name) == mgr_.end()...
23.925926
86
0.678019
minhvo-dev
48b142a74660f97c33938162c66a812fe81a6226
14,729
cpp
C++
Framework/Util/ConvexHull.cpp
dengwenyi88/Deferred_Lighting
b45b6590150a3119b0c2365f4795d93b3b4f0748
[ "MIT" ]
110
2017-06-23T17:12:28.000Z
2022-02-22T19:11:38.000Z
RunTest/Framework3/Util/ConvexHull.cpp
dtrebilco/ECSAtto
86a04f0bdc521c79f758df94250c1898c39213c8
[ "MIT" ]
null
null
null
RunTest/Framework3/Util/ConvexHull.cpp
dtrebilco/ECSAtto
86a04f0bdc521c79f758df94250c1898c39213c8
[ "MIT" ]
3
2018-02-12T00:16:18.000Z
2018-02-18T11:12:35.000Z
/* * * * * * * * * * * * * Author's note * * * * * * * * * * * *\ * _ _ _ _ _ _ _ _ _ _ _ _ * * |_| |_| |_| |_| |_|_ _|_| |_| |_| _|_|_|_|_| * * |_|_ _ _|_| |_| |_| |_|_|_|_|_| |_| |_| |_|_ _ _ * * |_|_|_|_|_| |_| |_| |_| |_| |_| |_| |_| |_...
20.951636
90
0.416865
dengwenyi88
48b20a4fbcd053f05bc4c7e2b9bc5a6c8b593dde
16,026
cpp
C++
src/state.cpp
yorickdewid/Lavril
4ed8f1138a5fab3c0a7b0f066647aab04861833c
[ "MIT" ]
null
null
null
src/state.cpp
yorickdewid/Lavril
4ed8f1138a5fab3c0a7b0f066647aab04861833c
[ "MIT" ]
null
null
null
src/state.cpp
yorickdewid/Lavril
4ed8f1138a5fab3c0a7b0f066647aab04861833c
[ "MIT" ]
null
null
null
#include "pcheader.h" #include "opcodes.h" #include "vm.h" #include "funcproto.h" #include "closure.h" #include "lvstring.h" #include "table.h" #include "array.h" #include "userdata.h" #include "class.h" LVSharedState::LVSharedState() { _compilererrorhandler = NULL; _printfunc = NULL; _errorfunc = NULL; _debuginfo...
23.672083
97
0.670036
yorickdewid
48b384e95c048d7ffc16b7a0c28912757238d5b9
777
hpp
C++
YKLib/List/YKList.hpp
hanhan/YKDataStructuresLib
8f4680fa25a44c8975004602e55be7f82ae11d1f
[ "MIT" ]
null
null
null
YKLib/List/YKList.hpp
hanhan/YKDataStructuresLib
8f4680fa25a44c8975004602e55be7f82ae11d1f
[ "MIT" ]
null
null
null
YKLib/List/YKList.hpp
hanhan/YKDataStructuresLib
8f4680fa25a44c8975004602e55be7f82ae11d1f
[ "MIT" ]
null
null
null
// // YKList.hpp // YKLib // // Copyright © 2017年 nethanhan. All rights reserved. // #ifndef YKList_hpp #define YKList_hpp #include "YKObject.hpp" namespace YKLib { template <typename T> class YKList : public YKObject { protected: YKList(const YKList&); YKList& operator = ...
20.447368
53
0.555985
hanhan
48b62ffd83a702aeb00fb3c3f1cea1973a9d073b
19,222
cpp
C++
recipes-cbc/cbc/cbc/src/CbcCountRowCut.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
recipes-cbc/cbc/cbc/src/CbcCountRowCut.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
recipes-cbc/cbc/cbc/src/CbcCountRowCut.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
// Copyright (C) 2002, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #if defined(_MSC_VER) // Turn off compiler warning about long names #pragma warning(disable : 4786) #endif #include <cassert> #include "...
26.295486
95
0.562064
Justin790126
48bae892f8e9aa5eb847e5c9c22916e8183a2eb5
288
hh
C++
src/debugger/DasmTables.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
320
2015-06-16T20:32:33.000Z
2022-03-26T17:03:27.000Z
src/debugger/DasmTables.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
2,592
2015-05-30T12:12:21.000Z
2022-03-31T17:16:15.000Z
src/debugger/DasmTables.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
74
2015-06-18T19:51:15.000Z
2022-03-24T15:09:33.000Z
#ifndef DASMTABLES_HH #define DASMTABLES_HH namespace openmsx { extern const char* mnemonic_xx_cb[256]; extern const char* mnemonic_cb[256]; extern const char* mnemonic_ed[256]; extern const char* mnemonic_xx[256]; extern const char* mnemonic_main[256]; } // namespace openmsx #endif
19.2
39
0.78125
D15C0DE
48bb9163f32e9d34beefba7225306b111a188766
289
cpp
C++
c++/c++make_test/main.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
c++/c++make_test/main.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
c++/c++make_test/main.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include "subproc1.h" #define MAX_LIMT 255 int main(int argc,char* argv[]) { using namespace std; char* pString = new char[MAX_LIMT]; getSubProcText(pString); cout << pString << " <= layer main call" << endl; delete [] pString; pString = nullptr; return 0; }
17
50
0.678201
BoKoIsMe
48bf6b20ac7f317605fab63932e707a9cf60fb7f
435
hpp
C++
include/lol/def/LolLobbyLobbyTimer.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/LolLobbyLobbyTimer.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/LolLobbyLobbyTimer.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" namespace lol { struct LolLobbyLobbyTimer { bool enabled; int64_t countdown; }; inline void to_json(json& j, const LolLobbyLobbyTimer& v) { j["enabled"] = v.enabled; j["countdown"] = v.countdown; } inline void from_json(const json& j, LolLobbyLobbyT...
27.1875
63
0.63908
Maufeat
48c08d4ae4d7d24d765fb88c31f89717bd2de772
814
hpp
C++
threedangles/src/Triangle.hpp
Raffaello/threedangles
01716d094368a4a168849d5b3befad33fd87876e
[ "MIT" ]
null
null
null
threedangles/src/Triangle.hpp
Raffaello/threedangles
01716d094368a4a168849d5b3befad33fd87876e
[ "MIT" ]
23
2021-12-04T17:25:03.000Z
2021-12-28T04:16:05.000Z
threedangles/src/Triangle.hpp
Raffaello/threedangles
01716d094368a4a168849d5b3befad33fd87876e
[ "MIT" ]
null
null
null
#pragma once #include <Vertex.hpp> #include <Mat4.hpp> #include <cstdint> #include <Color.hpp> class Triangle { public: Triangle(const Vertex& a_, const Vertex& b_, const Vertex& c_); Triangle() = default; ~Triangle() = default; Vertex a; Vertex b; Vertex c; //std::array<Vertex, 3> p; ...
22
67
0.665848
Raffaello
48ce0a4287db98e960a482f5b46e12bcb776b262
6,913
cpp
C++
src/init.cpp
PICOVERAVR/LinuxVk
3e4da653cb8ccbd0431858d16eac10c721a6c547
[ "MIT" ]
null
null
null
src/init.cpp
PICOVERAVR/LinuxVk
3e4da653cb8ccbd0431858d16eac10c721a6c547
[ "MIT" ]
null
null
null
src/init.cpp
PICOVERAVR/LinuxVk
3e4da653cb8ccbd0431858d16eac10c721a6c547
[ "MIT" ]
null
null
null
#include <cstring> // for strcmp #include <set> #include "options.hpp" #include "extensions.hpp" #include "main.hpp" // extension support is device-specific, so check for it here bool appvk::checkDeviceExtensions(VkPhysicalDevice pdev) { uint32_t numExtensions; vkEnumerateDeviceExtensionProperties(pdev, null...
36.967914
130
0.684073
PICOVERAVR
48d09f2d4372145de36a923bf6c268587fa3e2a3
646
cpp
C++
Source/DiabloUI/scrollbar.cpp
ikonomov/devilutionX
bdfb36983463b2901694138849793fff5ba2e406
[ "Unlicense" ]
null
null
null
Source/DiabloUI/scrollbar.cpp
ikonomov/devilutionX
bdfb36983463b2901694138849793fff5ba2e406
[ "Unlicense" ]
null
null
null
Source/DiabloUI/scrollbar.cpp
ikonomov/devilutionX
bdfb36983463b2901694138849793fff5ba2e406
[ "Unlicense" ]
null
null
null
#include "scrollbar.h" #include "engine/load_pcx.hpp" namespace devilution { std::optional<OwnedPcxSprite> ArtScrollBarBackground; std::optional<OwnedPcxSprite> ArtScrollBarThumb; std::optional<OwnedPcxSpriteSheet> ArtScrollBarArrow; void LoadScrollBar() { ArtScrollBarBackground = LoadPcxAsset("ui_art\...
24.846154
73
0.756966
ikonomov
48d1c5d17b56f99afefaf82407c560958baae7b1
301
cpp
C++
CodeForces/228A-Is ur horseshoe on the other roof.cpp
lligt/CodeForcesProblemSet
8afe7a2096c4924f9dda85a6dcbe930e2d7967fa
[ "MIT" ]
null
null
null
CodeForces/228A-Is ur horseshoe on the other roof.cpp
lligt/CodeForcesProblemSet
8afe7a2096c4924f9dda85a6dcbe930e2d7967fa
[ "MIT" ]
null
null
null
CodeForces/228A-Is ur horseshoe on the other roof.cpp
lligt/CodeForcesProblemSet
8afe7a2096c4924f9dda85a6dcbe930e2d7967fa
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; int main() { vector<int> s(4); for (int i = 0; i < 4; i++) { cin >> s[i]; } sort(s.begin(), s.end()); s.erase(unique(s.begin(), s.end()), s.end()); cout << 4 - s.size() << endl; return 0; }
15.842105
47
0.518272
lligt
48d2a45dc0a129deae788e0940c502963dcc1d1a
21,827
hpp
C++
include/arlib/path.hpp
ashishkashinath/arlib
891aa8603a6e07a16aec5700e7129a0d14a40b84
[ "MIT" ]
12
2018-10-29T17:17:28.000Z
2021-11-01T02:09:37.000Z
include/arlib/path.hpp
ashishkashinath/arlib
891aa8603a6e07a16aec5700e7129a0d14a40b84
[ "MIT" ]
1
2019-04-05T07:27:35.000Z
2019-04-05T07:27:35.000Z
include/arlib/path.hpp
ashishkashinath/arlib
891aa8603a6e07a16aec5700e7129a0d14a40b84
[ "MIT" ]
4
2019-07-20T09:31:41.000Z
2022-03-11T12:06:49.000Z
/** * @file path.hpp * @author Leonardo Arcari (leonardo1.arcari@gmail.com) * @version 1.0.0 * @date 2018-10-28 * * @copyright Copyright (c) 2018 Leonardo Arcari * * MIT Licence * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation fi...
37.828423
80
0.613598
ashishkashinath
48d32bc36d97a03c1b2fcb02a0df9419352b5d18
9,457
cpp
C++
pdbApp/softMain.cpp
FreddieAkeroyd/pva2pva
40b327cfcb2151c3851f76001a14cee2858c0455
[ "MIT" ]
3
2015-11-17T23:15:12.000Z
2019-11-09T21:12:09.000Z
pdbApp/softMain.cpp
FreddieAkeroyd/pva2pva
40b327cfcb2151c3851f76001a14cee2858c0455
[ "MIT" ]
42
2017-10-04T10:21:29.000Z
2021-10-19T18:19:50.000Z
pdbApp/softMain.cpp
FreddieAkeroyd/pva2pva
40b327cfcb2151c3851f76001a14cee2858c0455
[ "MIT" ]
8
2017-09-28T07:32:47.000Z
2021-03-17T14:58:00.000Z
/*************************************************************************\ * Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne * National Laboratory. * Copyright (c) 2003 The Regents of the University of California, as * Operator of Los Alamos National Laboratory. * EPICS BASE is distributed subj...
33.416961
105
0.494131
FreddieAkeroyd
48dc4e5015444219465233485e1f285d4c2d7310
2,969
hpp
C++
include/avis/vulkan/handle.hpp
qzed/avis
5c9a4fcbdf44abd340e1fefa8f961439a93d4ae7
[ "MIT" ]
2
2020-07-15T21:02:47.000Z
2021-07-22T20:49:20.000Z
include/avis/vulkan/handle.hpp
qzed/avis
5c9a4fcbdf44abd340e1fefa8f961439a93d4ae7
[ "MIT" ]
null
null
null
include/avis/vulkan/handle.hpp
qzed/avis
5c9a4fcbdf44abd340e1fefa8f961439a93d4ae7
[ "MIT" ]
null
null
null
#pragma once // TODO: remove #include <avis/vulkan/vulkan.hpp> #include <avis/vulkan/expected.hpp> #include <algorithm> #include <functional> namespace avis { namespace vulkan { template <class T> class handle { public: using handle_type = T; using destroy_fn = std::function<void(handle_type, VkAllocationC...
25.594828
114
0.669923
qzed
48e8180ec32f608ac76d1074b8c60be94d99e3d2
305
hpp
C++
src/ElfConfig.hpp
ricardo2197/ELF-Reconstructor
a0e245308a1dbad135e0f23c3e4c78cfe3717b44
[ "MIT" ]
null
null
null
src/ElfConfig.hpp
ricardo2197/ELF-Reconstructor
a0e245308a1dbad135e0f23c3e4c78cfe3717b44
[ "MIT" ]
null
null
null
src/ElfConfig.hpp
ricardo2197/ELF-Reconstructor
a0e245308a1dbad135e0f23c3e4c78cfe3717b44
[ "MIT" ]
null
null
null
#ifndef ELF_CONFIG_H #define ELF_CONFIG_H #include <vector> #include <string> using PatchVector = std::vector<std::pair<uint64_t, uint64_t> >; class ElfConfig { public: bool list = false; int elf_index = 0; PatchVector patches; std::string output; std::string patch_file; }; #endif
16.944444
64
0.698361
ricardo2197
f704629d18d23a1c429ce12e96a5c36f802fddcc
10,798
cpp
C++
src/mlapack/Rtrsna.cpp
JaegerP/gmpack
1396fda32177b1517cb6c176543025c3336c8c21
[ "BSD-2-Clause" ]
null
null
null
src/mlapack/Rtrsna.cpp
JaegerP/gmpack
1396fda32177b1517cb6c176543025c3336c8c21
[ "BSD-2-Clause" ]
null
null
null
src/mlapack/Rtrsna.cpp
JaegerP/gmpack
1396fda32177b1517cb6c176543025c3336c8c21
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2008-2010 * Nakata, Maho * All rights reserved. * * $Id: Rtrsna.cpp,v 1.5 2010/08/07 04:48:33 nakatamaho Exp $ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributi...
31.946746
156
0.553899
JaegerP
f705b9d0004f2c0200a989b02440c1708d044b7e
2,685
cpp
C++
src/editor/LightInspector.cpp
Guarneri1743/SoftRasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
4
2020-12-14T10:58:35.000Z
2020-12-14T16:38:18.000Z
src/editor/LightInspector.cpp
J-Mat/CPU-Rasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
null
null
null
src/editor/LightInspector.cpp
J-Mat/CPU-Rasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
null
null
null
#include "LightInspector.hpp" #include "imgui/imgui.h" namespace CpuRasterizer { void LightInspector::on_gui(DirectionalLight& light) { if (ImGui::CollapsingHeader("Light", ImGuiTreeNodeFlags_DefaultOpen)) { if (ImGui::InputFloat("distance", &distance)) { light.distance = distance; } else { ...
21.48
89
0.617132
Guarneri1743
f707910ce1b1b0646202ab03ecffd87ce0a9fa07
2,036
hpp
C++
include/Aether/primary/Box.hpp
NightYoshi370/Aether
87d2b81f5d3143e39c363a9c81c195d440d7a4e8
[ "MIT" ]
1
2021-02-04T07:27:46.000Z
2021-02-04T07:27:46.000Z
libs/Aether/include/Aether/primary/Box.hpp
tkgstrator/SeedHack
227566d993bdea7a2851a8fc664b539186509697
[ "MIT" ]
null
null
null
libs/Aether/include/Aether/primary/Box.hpp
tkgstrator/SeedHack
227566d993bdea7a2851a8fc664b539186509697
[ "MIT" ]
null
null
null
#ifndef AETHER_BOX_HPP #define AETHER_BOX_HPP #include "Aether/base/Texture.hpp" namespace Aether { /** * @brief A Box is a rectangle outline with no fill. * @note This element can not have the texture generation deferred yet! */ class Box : public Texture { private: /** @br...
28.277778
84
0.477407
NightYoshi370
f7149849511a23bd25382da24c0bc411678bd40e
768
hh
C++
src/Synopsis.hh
ErickMachado95/hbm_faultsim
4e4c98f603a8c65eacb658cd325d52f263ad299c
[ "BSD-3-Clause" ]
null
null
null
src/Synopsis.hh
ErickMachado95/hbm_faultsim
4e4c98f603a8c65eacb658cd325d52f263ad299c
[ "BSD-3-Clause" ]
null
null
null
src/Synopsis.hh
ErickMachado95/hbm_faultsim
4e4c98f603a8c65eacb658cd325d52f263ad299c
[ "BSD-3-Clause" ]
null
null
null
#ifndef SYNOPSIS_H #define SYNOPSIS_H #include <stdlib.h> #include <iostream> #define TRANS_FAULT_AMNT 7 #define PERM_FAULT_AMNT 7 extern int DRAMMODULES; class Synopsis{ public: int dram_module; int sim_num; // the simulation number int sim_stat; //The status of a simulation instance. 0 - no fa...
23.272727
118
0.71875
ErickMachado95
f71540f4c4789fde6c3d358b2b46a6d2af0262c6
1,233
hpp
C++
modules/wechat_qrcode/src/zxing/exception.hpp
WeChatCV/opencv_contrib
273246d8572cf005c7648e60c6cef78240edfb3e
[ "Apache-2.0" ]
35
2021-01-07T11:58:58.000Z
2022-03-25T11:35:25.000Z
modules/wechat_qrcode/src/zxing/exception.hpp
WeChatCV/opencv_contrib
273246d8572cf005c7648e60c6cef78240edfb3e
[ "Apache-2.0" ]
null
null
null
modules/wechat_qrcode/src/zxing/exception.hpp
WeChatCV/opencv_contrib
273246d8572cf005c7648e60c6cef78240edfb3e
[ "Apache-2.0" ]
9
2020-12-14T09:13:30.000Z
2021-12-13T07:03:53.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Tencent is pleased to support the open source community by making WeChat QRCode available. // Copyright (C) 2020 THL A29...
29.357143
99
0.694242
WeChatCV
f719bbe99bc80d876a7cdbfb8ae517b2434efa3c
277
cpp
C++
tests/testsortinsert.cpp
KhTimur/Kurs_Test
180317d5a0be3442a5e6f54f1952530385d48e81
[ "MIT" ]
null
null
null
tests/testsortinsert.cpp
KhTimur/Kurs_Test
180317d5a0be3442a5e6f54f1952530385d48e81
[ "MIT" ]
null
null
null
tests/testsortinsert.cpp
KhTimur/Kurs_Test
180317d5a0be3442a5e6f54f1952530385d48e81
[ "MIT" ]
null
null
null
#include "catch.hpp" #include <inser.h> SCENARIO("SORT_INSERT") { int nums1[] = { 9,1,7,2,5,8,3,6,4 }; int nums_proverka1[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }; inser(nums1, nums1+9); for (int i = 0; i < 9; ++i) { REQUIRE(nums1[i] == nums_proverka1[i]); } }
19.785714
55
0.523466
KhTimur
f7281bae7918182bdd58343c451882e860c330eb
8,286
cpp
C++
test/planning_interface_test.cpp
ZhouYixuanRobtic/NursingRobot
1372e4af40a3315b754d1b6273b5a00d09c4def6
[ "MIT" ]
1
2020-12-09T01:32:13.000Z
2020-12-09T01:32:13.000Z
test/planning_interface_test.cpp
ZhouYixuanRobtic/NursingRobot
1372e4af40a3315b754d1b6273b5a00d09c4def6
[ "MIT" ]
null
null
null
test/planning_interface_test.cpp
ZhouYixuanRobtic/NursingRobot
1372e4af40a3315b754d1b6273b5a00d09c4def6
[ "MIT" ]
1
2021-04-15T15:29:08.000Z
2021-04-15T15:29:08.000Z
#include <gtest/gtest.h> #include "util/logger.hpp" #include <ros/ros.h> #include <fstream> #include "planner/PlanningInterface.h" #include <moveit_visual_tools/moveit_visual_tools.h> #include <tf2_eigen/tf2_eigen.h> void visual_tool(moveit_visual_tools::MoveItVisualTools& visual_tools, const std::vec...
46.813559
152
0.604152
ZhouYixuanRobtic
f7292933982465de27a3853f5febb32dbb5a5be2
2,027
cpp
C++
Online Judges/LightOJ/1424 new land using stack.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/LightOJ/1424 new land using stack.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/LightOJ/1424 new land using stack.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; #define si(a) scanf("%d",&a) #define sl(a) scanf("%lld",&a) #define Max 2010 #define ll long long int char str[Max]; int arr[Max]; int test,n,m; stack<int> stk; int histoSolve() { int maxArea=0, curInd=0; int i=0; for(;i<m;i++...
19.304762
77
0.337444
akazad13
f730240a94c7c5593f9846b1f163bdc7ec94b39b
5,401
hpp
C++
externals/stlsoft-1.9.118/include/mfcstl/string/string_traits.hpp
betasheet/diffingo
285d21b16c118155e5c149b20fcb20a20276f3d7
[ "MIT" ]
17
2015-03-26T14:10:25.000Z
2022-02-09T20:55:04.000Z
externals/stlsoft-1.9.118/include/mfcstl/string/string_traits.hpp
betasheet/diffingo
285d21b16c118155e5c149b20fcb20a20276f3d7
[ "MIT" ]
null
null
null
externals/stlsoft-1.9.118/include/mfcstl/string/string_traits.hpp
betasheet/diffingo
285d21b16c118155e5c149b20fcb20a20276f3d7
[ "MIT" ]
3
2019-05-05T22:10:56.000Z
2019-08-22T22:24:23.000Z
/* ///////////////////////////////////////////////////////////////////////// * File: mfcstl/string/string_traits.hpp * * Purpose: Contains string_traits for MFC. * * Created: 25th April 2005 * Updated: 10th August 2009 * * Home: http://stlsoft.org/ * * Copyright (c) 2005-20...
39.137681
100
0.592668
betasheet
f732157d11f849eaba0d4ecaec69647c960d6a86
1,745
hh
C++
tests/Titon/Http/Server/XmlResponseTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
tests/Titon/Http/Server/XmlResponseTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
tests/Titon/Http/Server/XmlResponseTest.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh namespace Titon\Http\Server; use Titon\Http\Http; use Titon\Test\TestCase; class XmlResponseTest extends TestCase { public function testSend(): void { $time = time(); $response = new XmlResponse(['foo' => 'bar']); $response->debug(); $response->date($time); ob_start(...
28.145161
67
0.476791
ciklon-z
f737114875bde28c6bcba0be21d89cf0ea93cbc2
720
cpp
C++
Software/Motor-Control/Drivers/TMC2130Stepper/src/source/TMC2130Stepper_IHOLD_IRUN.cpp
Nils2332/Timelapsebuild
b52f6aef94047295e815dabe2a9db1f44e46d883
[ "MIT" ]
null
null
null
Software/Motor-Control/Drivers/TMC2130Stepper/src/source/TMC2130Stepper_IHOLD_IRUN.cpp
Nils2332/Timelapsebuild
b52f6aef94047295e815dabe2a9db1f44e46d883
[ "MIT" ]
null
null
null
Software/Motor-Control/Drivers/TMC2130Stepper/src/source/TMC2130Stepper_IHOLD_IRUN.cpp
Nils2332/Timelapsebuild
b52f6aef94047295e815dabe2a9db1f44e46d883
[ "MIT" ]
null
null
null
#include "TMC2130Stepper.h" #include "TMC2130Stepper_MACROS.h" // IHOLD_IRUN void TMC2130Stepper::IHOLD_IRUN(uint32_t input) { IHOLD_IRUN_sr = input; TMC_WRITE_REG(IHOLD_IRUN); } uint32_t TMC2130Stepper::IHOLD_IRUN() { return IHOLD_IRUN_sr; } void TMC2130Stepper::ihold(uint8_t B) { TMC_MOD_REG(IHOLD_IRUN, IHOLD)...
42.352941
85
0.75
Nils2332
f7396bfe7ee8137b0ab2c5078a2eaee60d152bee
803
inl
C++
src/ManagerBase/ManagerBase/src/SingletonBase.inl
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
3
2019-11-26T05:33:47.000Z
2020-05-18T06:49:41.000Z
src/ManagerBase/ManagerBase/src/SingletonBase.inl
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
null
null
null
src/ManagerBase/ManagerBase/src/SingletonBase.inl
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
null
null
null
#ifndef SINGLETON_BASE_H__ #define SINGLETON_BASE_H__ #include "SingletonBase.h" #include <stdlib.h> template<typename Singleton> Singleton* SingletonBase<Singleton>::s_singleton = nullptr; template<typename Singleton> void SingletonBase<Singleton>::releaseInstance() { if (s_singleton != nullptr) ...
20.075
60
0.645081
xylsxyls
f73eaa98a075bd3522b4899069dd9078ba1de456
3,700
cc
C++
src/example/json_generated_query7.cc
na-ka-na/object-query
4d07923e2e1f95c726063cebd94c5f09da611cf4
[ "Apache-2.0" ]
9
2016-09-19T09:49:39.000Z
2021-04-27T21:19:06.000Z
src/example/json_generated_query7.cc
na-ka-na/object-query
4d07923e2e1f95c726063cebd94c5f09da611cf4
[ "Apache-2.0" ]
1
2020-01-03T09:00:51.000Z
2020-01-03T23:43:55.000Z
src/example/json_generated_query7.cc
na-ka-na/object-query
4d07923e2e1f95c726063cebd94c5f09da611cf4
[ "Apache-2.0" ]
null
null
null
/* SELECT EmployeeStr(all_employees.name,all_employees.id), STR(all_employees.id), STR(all_employees) FROM Example1.Company with (document = parseFromFile()) { for each all_employee in document.all_employees { tuples.add(STR(all_employees)) for each each_id in all_employee.all_employees.id { tuples.add...
34.579439
120
0.640811
na-ka-na
f741a5a30f6509f8b3dcb904f0598e85cfd9c5f9
2,779
cpp
C++
2020/day07/p1/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
2020/day07/p1/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
2020/day07/p1/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
#include <lib/file_util.hpp> #include <chain/chain.hpp> #include <iostream> #include <vector> #include <string> #include <map> #include <queue> #include <set> int main(int argc, char* argv[]) { std::vector<std::string> args{argv, argv + argc}; if(args.size() != 2) { std::cout << args[0] << " <inpu...
27.79
85
0.536524
jbaldwin
f743625df5df9118937c1357b0574a9cb267a3fe
241
cpp
C++
cse419/Gym/101853H/21962342_AC_30ms_4kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
2
2020-09-02T12:07:47.000Z
2020-11-17T11:17:16.000Z
cse419/Gym/101853H/21962342_AC_30ms_4kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
null
null
null
cse419/Gym/101853H/21962342_AC_30ms_4kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
4
2020-08-11T14:23:34.000Z
2020-11-17T10:52:31.000Z
#include <bits/stdc++.h> #define ll long long int using namespace std; int main(){ int t; ll a; for(scanf("%d", &t); t--; ){ scanf("%lld", &a); a /= 6; printf("%lld\n", (ll)sqrt(a)); } return 0; }
17.214286
38
0.46473
cosmicray001
f744f7a9837a02af87c95f8f17a68a97933b8bb9
14,681
cc
C++
examples/comps/cl_filter.cc
halleyzhao/alios-mm
bef2a6de0c207a5ae9bf4f63de2e562df864aa3e
[ "Apache-2.0" ]
null
null
null
examples/comps/cl_filter.cc
halleyzhao/alios-mm
bef2a6de0c207a5ae9bf4f63de2e562df864aa3e
[ "Apache-2.0" ]
null
null
null
examples/comps/cl_filter.cc
halleyzhao/alios-mm
bef2a6de0c207a5ae9bf4f63de2e562df864aa3e
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2017 Alibaba Group Holding Limited. All Rights Reserved. * * * 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 * * ...
35.807317
161
0.681766
halleyzhao
f745d2b36c8ac9349c4c782b4c3093fb4c90a485
9,117
cpp
C++
src/string.cpp
SudoCpp/simplex-toolkit
8d8ce4e62976eea7535ba38ba701daaafd04783e
[ "BSD-3-Clause" ]
null
null
null
src/string.cpp
SudoCpp/simplex-toolkit
8d8ce4e62976eea7535ba38ba701daaafd04783e
[ "BSD-3-Clause" ]
null
null
null
src/string.cpp
SudoCpp/simplex-toolkit
8d8ce4e62976eea7535ba38ba701daaafd04783e
[ "BSD-3-Clause" ]
null
null
null
/* BSD 3-Clause License Copyright (c) 2021, SudoCpp All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice,...
28.669811
119
0.609301
SudoCpp
f74ad471f57f5e1ce03e2521f4f48c5ca5b26abd
548
cpp
C++
kimera_semantics_ros/src/kimera_semantics_node.cpp
AllMySlam1/Kimera-Semantics
69c6bba3493e97538431eadb504a626d900e32f9
[ "BSD-2-Clause" ]
null
null
null
kimera_semantics_ros/src/kimera_semantics_node.cpp
AllMySlam1/Kimera-Semantics
69c6bba3493e97538431eadb504a626d900e32f9
[ "BSD-2-Clause" ]
null
null
null
kimera_semantics_ros/src/kimera_semantics_node.cpp
AllMySlam1/Kimera-Semantics
69c6bba3493e97538431eadb504a626d900e32f9
[ "BSD-2-Clause" ]
null
null
null
/** * @file kimera_semantics_node.cpp * @brief Main for Kimera-Semantics * @author Antoni Rosinol */ #include "kimera_semantics_ros/semantic_tsdf_server.h" int main(int argc, char** argv) { ros::init(argc, argv, "kimera_semantics"); google::InitGoogleLogging(argv[0]); google::ParseCommandLineFlags...
21.076923
55
0.691606
AllMySlam1
f75311ca7dc11e9aa64b4a8c1f286363693d9eff
232,388
cpp
C++
decoder/Cdfs.cpp
oddstone/av1dec
b047db60f42da73806ff4602f8079a200f8863a6
[ "BSD-2-Clause" ]
1
2021-08-06T17:07:43.000Z
2021-08-06T17:07:43.000Z
decoder/Cdfs.cpp
oddstone/av1dec
b047db60f42da73806ff4602f8079a200f8863a6
[ "BSD-2-Clause" ]
null
null
null
decoder/Cdfs.cpp
oddstone/av1dec
b047db60f42da73806ff4602f8079a200f8863a6
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2020, av1dec authors * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditio...
49.339278
114
0.431076
oddstone
f757ab50ce3999b8f3bc4a682888fdab61d453e4
1,261
cpp
C++
examples/c++/corto/corto_em_test/load_corto_mesh.cpp
Rabbid76/WasmExamples
3290bd7ea44c4cd03688c2c1935f9b986a9c8e52
[ "MIT" ]
null
null
null
examples/c++/corto/corto_em_test/load_corto_mesh.cpp
Rabbid76/WasmExamples
3290bd7ea44c4cd03688c2c1935f9b986a9c8e52
[ "MIT" ]
null
null
null
examples/c++/corto/corto_em_test/load_corto_mesh.cpp
Rabbid76/WasmExamples
3290bd7ea44c4cd03688c2c1935f9b986a9c8e52
[ "MIT" ]
null
null
null
#include <cmath> #include <iostream> #include <string> #include <emscripten.h> //#include <emscripten/val.h> //using namespace emscripten; extern "C" { EMSCRIPTEN_KEEPALIVE void new_mesh( float* vertices, uint32_t vertices_length, float* normals, uint32_t normals_length, float* uv_coordinates, uint32_t u...
35.027778
132
0.639968
Rabbid76
f75f565ea5d505da09dc4076eca58b207d2556b8
43
hpp
C++
src/boost_preprocessor_seq_size.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_preprocessor_seq_size.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_preprocessor_seq_size.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/preprocessor/seq/size.hpp>
21.5
42
0.790698
miathedev
f75f585f24ea52ccebbcd24daccb7775d6509a06
1,514
cpp
C++
c++/src/BrokerAsset.cpp
juxeii/dztools
9894a872441fd38d2e2b42029941f72c7d30ea52
[ "MIT" ]
15
2015-03-17T05:35:05.000Z
2020-01-22T12:35:55.000Z
c++/src/BrokerAsset.cpp
juxeii/dztools
9894a872441fd38d2e2b42029941f72c7d30ea52
[ "MIT" ]
1
2019-07-18T08:53:07.000Z
2019-07-18T08:53:07.000Z
c++/src/BrokerAsset.cpp
juxeii/dztools
9894a872441fd38d2e2b42029941f72c7d30ea52
[ "MIT" ]
9
2015-02-25T04:10:27.000Z
2019-09-29T22:39:50.000Z
#pragma once #include "BrokerAsset.hpp" #include "JNIHandler.hpp" #include "ZorroDto.hpp" BrokerAsset::BrokerAsset(JNIHandler& jniHandler) : jniHandler(jniHandler) { env = jniHandler.getJNIEnvironment(); assetId = jniHandler.registerMethod("brokerAsset", "(Ljava/lang/String;)Lcom/jforex/dzjforex/asset/Brok...
32.212766
122
0.689564
juxeii
f76700e251f7cb8fb203ff090b04caada9219c58
9,498
cpp
C++
source/sample/NAS/NAS.cpp
xiaozhang521/NASToolkit
a43294f17253af92004209b9e9ada3388aa96fe4
[ "Apache-2.0" ]
null
null
null
source/sample/NAS/NAS.cpp
xiaozhang521/NASToolkit
a43294f17253af92004209b9e9ada3388aa96fe4
[ "Apache-2.0" ]
null
null
null
source/sample/NAS/NAS.cpp
xiaozhang521/NASToolkit
a43294f17253af92004209b9e9ada3388aa96fe4
[ "Apache-2.0" ]
1
2020-03-13T03:13:03.000Z
2020-03-13T03:13:03.000Z
/* NiuTrans.Tensor - an open-source tensor library * Copyright (C) 2018, Natural Language Processing Lab, Northestern University. * All rights reserved. * * 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...
32.306122
96
0.542325
xiaozhang521
f76ede18eb2c26992bbe8cc5af36b05be5f3a1a5
1,110
cpp
C++
code archive/GJ/b005.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/GJ/b005.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/GJ/b005.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
/**********************************************************************************/ /* Problem: b005 "熱門點播" from 陣列應用-計數 */ /* Language: C++ */ /* Result: AC (4ms, 184KB) on ZeroJudge ...
21.346154
84
0.302703
brianbbsu
f771caa2444f5d466207fc2f70d80b80dcf4fd56
3,075
cc
C++
ClosedHashTable.cc
thecsw/algo560
4a4db22453098393074fc7ccd76ca787ce2d7c05
[ "MIT" ]
null
null
null
ClosedHashTable.cc
thecsw/algo560
4a4db22453098393074fc7ccd76ca787ce2d7c05
[ "MIT" ]
null
null
null
ClosedHashTable.cc
thecsw/algo560
4a4db22453098393074fc7ccd76ca787ce2d7c05
[ "MIT" ]
null
null
null
#include <limits.h> #include <exception> #include <stdexcept> #include <iostream> #include "ClosedHashTable.hh" #define AVAIL INT_MAX #define R 5 bool is_prime(int); const std::string ErrNotFound = "Not found."; const std::string ErrAlreadyExists = "Already exists."; const std::string ErrInsertFailed = "Insert fail...
19.462025
69
0.635447
thecsw
f773d37a4c4142db5d04946de1467dd97099259e
3,150
hpp
C++
lib/lol/wad/entry.hpp
lolcustomskin/lolcs-tools
03a56f7ab3aea8e9227f858296dd5e2c885d9136
[ "MIT" ]
null
null
null
lib/lol/wad/entry.hpp
lolcustomskin/lolcs-tools
03a56f7ab3aea8e9227f858296dd5e2c885d9136
[ "MIT" ]
null
null
null
lib/lol/wad/entry.hpp
lolcustomskin/lolcs-tools
03a56f7ab3aea8e9227f858296dd5e2c885d9136
[ "MIT" ]
null
null
null
#pragma once #include <lol/common.hpp> #include <lol/hash/dict.hpp> #include <lol/hash/xxh64.hpp> #include <lol/io/bytes.hpp> #include <memory> #include <optional> namespace lol::wad { enum class EntryType : unsigned char { Raw = 0, Link = 1, Gzip = 2, Zstd = 3, ZstdMulti = ...
31.818182
109
0.607937
lolcustomskin
f773fa0e700b492337d8c3eba5083b202f421e55
1,789
hpp
C++
libs/renderer/include/sge/renderer/state/core/sampler/filter/normal/parameters.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/renderer/include/sge/renderer/state/core/sampler/filter/normal/parameters.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/renderer/include/sge/renderer/state/core/sampler/filter/normal/parameters.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_RENDERER_STATE_CORE_SAMPLER_FILTER_NORMAL_PARAMETERS_HPP_INCLUDED #define SGE_RENDERER_...
34.403846
99
0.745109
cpreh
f77aacdb9bac81b9834e75ed91562ee04f73186c
641
cpp
C++
Kawakawa/Excalibur/Platform/Application.cpp
Jiaqidesune/KawaiiDesune
6fd5165e08cc7fa3450fd75c0c15eca3279f519f
[ "MIT" ]
null
null
null
Kawakawa/Excalibur/Platform/Application.cpp
Jiaqidesune/KawaiiDesune
6fd5165e08cc7fa3450fd75c0c15eca3279f519f
[ "MIT" ]
null
null
null
Kawakawa/Excalibur/Platform/Application.cpp
Jiaqidesune/KawaiiDesune
6fd5165e08cc7fa3450fd75c0c15eca3279f519f
[ "MIT" ]
null
null
null
#include "Application.h" #include <iostream> #include <spdlog/spdlog.h> #include <spdlog/sinks/stdout_color_sinks.h> namespace Excalibur { int Application::Initialize() noexcept { mQuit = false; mMemoryMgr = nullptr; mGraphicsManager = nullptr; mWorld = nullptr; return 0; } void Application::Tick() no...
12.568627
44
0.656786
Jiaqidesune
f77e0a1314f019aff8d889546c01176071352f19
2,662
cpp
C++
test/training_data/plag_original_codes/donuts_2015_2_14484160_536_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/donuts_2015_2_14484160_536_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/donuts_2015_2_14484160_536_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
/* 引用元:https://atcoder.jp/contests/donuts-2015/tasks/donuts_2015_2 B - Tokyo 7th シスターズ Time Limit : 2 sec / Memory Limit : 256 MB */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <cfloat> #include <climits> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> ...
23.147826
72
0.552216
xryuseix
f784b063de21b629f7f1b91d6a39af06a274ecf2
7,427
cpp
C++
src/student/skeleton.cpp
tmcarey/Scotty3D
3d7fae7d9609bd425466db138e7bf9456090de73
[ "MIT" ]
null
null
null
src/student/skeleton.cpp
tmcarey/Scotty3D
3d7fae7d9609bd425466db138e7bf9456090de73
[ "MIT" ]
null
null
null
src/student/skeleton.cpp
tmcarey/Scotty3D
3d7fae7d9609bd425466db138e7bf9456090de73
[ "MIT" ]
null
null
null
#include "../scene/skeleton.h" #include "../rays/pathtracer.h" Vec3 closest_on_line_segment(Vec3 start, Vec3 end, Vec3 point) { // TODO(Animation): Task 3 // Return the closest point to 'point' on the line segment from start to end float t = dot(point - start, (end - start).unit()); if (t >= (end-st...
34.225806
97
0.612091
tmcarey
f786d450b24a4be4eb305c8c6e4ac0e8005b06b9
297
cc
C++
test/timers_test.cc
harsha-simhadri/sbsched
8d12a010727ea415d5e4a23d389740d57c68278c
[ "MIT" ]
1
2020-09-30T14:47:02.000Z
2020-09-30T14:47:02.000Z
test/timers_test.cc
harsha-simhadri/sbsched
8d12a010727ea415d5e4a23d389740d57c68278c
[ "MIT" ]
null
null
null
test/timers_test.cc
harsha-simhadri/sbsched
8d12a010727ea415d5e4a23d389740d57c68278c
[ "MIT" ]
null
null
null
#include "gettime.hh" #include <iostream> int main () { int N = 100; uint64_t timestamps[N]; for (volatile int i=0; i<N; ++i) { timestamps[i] = getticks(); sleep_for_nanoseconds(10000000L); } for (int i=0; i<N; ++i) std::cout<<timestamps[i]-timestamps[0]<<std::endl; }
18.5625
54
0.602694
harsha-simhadri
f789fc4c504e49f13561029e2dede783d290fd15
56,600
cpp
C++
src/ComplexNetsGui/src/mainwindow.cpp
joseignaciosg/complexnets2014
5bde4ce11ea4593c5bc1908b082cba967a9230bb
[ "AFL-3.0" ]
null
null
null
src/ComplexNetsGui/src/mainwindow.cpp
joseignaciosg/complexnets2014
5bde4ce11ea4593c5bc1908b082cba967a9230bb
[ "AFL-3.0" ]
null
null
null
src/ComplexNetsGui/src/mainwindow.cpp
joseignaciosg/complexnets2014
5bde4ce11ea4593c5bc1908b082cba967a9230bb
[ "AFL-3.0" ]
null
null
null
// This toolbox is licensed under the Academic Free License 3.0. // Instituto Tecnológico de Buenos Aires (ITBA). // Last modification: December 19th, 2012. #include <QFileDialog> #include <QMessageBox> #include <QDebug> #include <QInputDialog> #include <cstdlib> #include <sstream> #include <string> #include <ctime> #...
37.236842
223
0.647597
joseignaciosg
f78b271d09748f2b29a812f806a4d3609c008311
7,341
cc
C++
examples/chat/client/chat.cc
aferr/oak
7b89fbdada697230672eae48b10fbe7904a33b2f
[ "Apache-2.0" ]
null
null
null
examples/chat/client/chat.cc
aferr/oak
7b89fbdada697230672eae48b10fbe7904a33b2f
[ "Apache-2.0" ]
51
2020-09-28T06:52:24.000Z
2022-03-22T23:07:04.000Z
examples/chat/client/chat.cc
aferr/oak
7b89fbdada697230672eae48b10fbe7904a33b2f
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 The Project Oak Authors * * 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...
33.368182
98
0.667348
aferr
f78b6be55d0f864efcf47c065998bcac3f6cb778
6,130
cpp
C++
src/yaml.cpp
h-friederich/nidos
fd25538375684763266d61afa0b15cc98533ec0e
[ "MIT" ]
null
null
null
src/yaml.cpp
h-friederich/nidos
fd25538375684763266d61afa0b15cc98533ec0e
[ "MIT" ]
null
null
null
src/yaml.cpp
h-friederich/nidos
fd25538375684763266d61afa0b15cc98533ec0e
[ "MIT" ]
null
null
null
/* * yaml.cpp * cpds * * Copyright (c) 2016 Hannes Friederich. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "cpds/yaml.hpp" #include <cmath> #include <cassert> #include <fstream> #include <yaml-cpp/yaml.h> #include "cpds/...
18.463855
77
0.574062
h-friederich
f7914992a56ec1cd06d7f703d423cdd0cd4e503f
1,289
cc
C++
src/lib/cryptolink/openssl_link.cc
sebschrader/debian-pkg-isc-kea
1bdb18f90c48dd9674374fb8454d0efb846656bc
[ "Apache-2.0" ]
1
2017-08-24T19:55:21.000Z
2017-08-24T19:55:21.000Z
src/lib/cryptolink/openssl_link.cc
sebschrader/debian-pkg-isc-kea
1bdb18f90c48dd9674374fb8454d0efb846656bc
[ "Apache-2.0" ]
null
null
null
src/lib/cryptolink/openssl_link.cc
sebschrader/debian-pkg-isc-kea
1bdb18f90c48dd9674374fb8454d0efb846656bc
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <cryptolink/cryptolink.h> #include <...
25.27451
75
0.635376
sebschrader
f793de645382e1cb07af5ff4249c4da164bfea71
6,453
cpp
C++
avionics/isp_ground_station/lib/Lora/Lora.cpp
Chungchiyu/Avionics
cbeec577fc4b2d4ea3845318f9ceee0b4b6302e3
[ "BSD-3-Clause" ]
12
2020-11-04T10:41:12.000Z
2021-04-13T13:02:32.000Z
avionics/isp_ground_station/lib/Lora/Lora.cpp
Chungchiyu/Avionics
cbeec577fc4b2d4ea3845318f9ceee0b4b6302e3
[ "BSD-3-Clause" ]
null
null
null
avionics/isp_ground_station/lib/Lora/Lora.cpp
Chungchiyu/Avionics
cbeec577fc4b2d4ea3845318f9ceee0b4b6302e3
[ "BSD-3-Clause" ]
14
2021-03-25T09:26:43.000Z
2021-05-13T07:33:14.000Z
#include "Lora.h" #ifdef USE_LORA_COMMUNICATION hw_config hwConfig; RadioEvents_t RadioEvents; LoraCommunication lora; LoraPacket::LoraPacket(uint8_t _id) { id = _id; // crop into 8 bits variable // unit in 1/16 sec, overflow interval: 16 sec timestamp = (millis() / 16) & 0xFF; } void LoraPacket::pa...
28.179039
80
0.623276
Chungchiyu
f79498c21f2e2eea62160781e0e8d95f835fa0aa
23,223
cpp
C++
src/main.cpp
LangUMS/langums
99487610e7c8feb07c7250eea7cf09ec2bee8037
[ "MIT" ]
24
2017-05-27T13:46:44.000Z
2021-07-04T11:42:10.000Z
src/main.cpp
LangUMS/langums
99487610e7c8feb07c7250eea7cf09ec2bee8037
[ "MIT" ]
6
2017-10-05T01:41:28.000Z
2021-01-25T21:23:24.000Z
src/main.cpp
LangUMS/langums
99487610e7c8feb07c7250eea7cf09ec2bee8037
[ "MIT" ]
3
2017-05-07T05:44:30.000Z
2021-07-04T11:43:46.000Z
#include <iostream> #include <fstream> #include <experimental/filesystem> #include "log.h" #include "log_interface_stdout.h" #include "log_interface_file.h" #include "cxxopts.h" #include "stringutil.h" #include "libchk/src/chk.h" #include "parser/preprocessor.h" #include "parser/parser.h" #include "parser/template_in...
30.15974
214
0.581665
LangUMS
f79b85af5af8e0a259b43e5ead23782e97e7819b
8,891
cpp
C++
test/performance/target/network.cpp
IgorSivy/stumpless
1630f637d6bb23e8122136be2127f241bc4701f0
[ "Apache-2.0" ]
2
2020-09-17T18:07:53.000Z
2020-09-17T21:24:30.000Z
test/performance/target/network.cpp
IgorSivy/stumpless
1630f637d6bb23e8122136be2127f241bc4701f0
[ "Apache-2.0" ]
null
null
null
test/performance/target/network.cpp
IgorSivy/stumpless
1630f637d6bb23e8122136be2127f241bc4701f0
[ "Apache-2.0" ]
null
null
null
// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2019 Joel E. Anderson * * 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 * * Un...
36.892116
82
0.638961
IgorSivy
f79e2c5ae44885d4fbcde32d34e3507788b15a6e
6,396
cpp
C++
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
GoSSIP-SJTU/TripleDoggy
03648d6b19c812504b14e8b98c8c7b3f443f4e54
[ "Apache-2.0" ]
171
2018-09-17T13:15:12.000Z
2022-03-18T03:47:04.000Z
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Ewenwan/TripleDoggy
01db804b6570b1e25e29a387aa2addb68b48335f
[ "Apache-2.0" ]
7
2018-10-05T04:54:18.000Z
2020-10-02T07:58:13.000Z
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Ewenwan/TripleDoggy
01db804b6570b1e25e29a387aa2addb68b48335f
[ "Apache-2.0" ]
35
2018-09-18T07:46:53.000Z
2022-03-27T07:59:48.000Z
//===- AMDGPULegalizerInfo.cpp -----------------------------------*- C++ -*-==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
32.140704
80
0.60788
GoSSIP-SJTU
f79e78d527ae70902e25034df92a00a08c341a03
1,890
hpp
C++
attic/src/main/include/fmp/list.hpp
yamasdais/asaki-yumemishi
d6220e489da613a634e6ce474a869f5d2932f89d
[ "BSL-1.0" ]
null
null
null
attic/src/main/include/fmp/list.hpp
yamasdais/asaki-yumemishi
d6220e489da613a634e6ce474a869f5d2932f89d
[ "BSL-1.0" ]
8
2017-09-28T14:39:37.000Z
2021-03-09T22:55:55.000Z
attic/src/main/include/fmp/list.hpp
yamasdais/asaki-yumemishi
d6220e489da613a634e6ce474a869f5d2932f89d
[ "BSL-1.0" ]
null
null
null
// Copyright Yamashta, Daisuke 2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #if !defined(FMP_2BC27905_2899_4653_A5E0_521DC13A65AB) #define FMP_2BC27905_2899_4653_A5E0_521DC13A65AB #...
22.235294
70
0.705291
yamasdais
f7a6e669b7b6a4026f3c59999bc649dc13d2067a
4,806
cpp
C++
src/utility/ringbuffer.cpp
holgerkoch/cot-c-mqtt-mqttsn-arduino-sdk
dd4f912b556c71406605f978d7b8211cacf79401
[ "MIT" ]
2
2019-12-18T18:27:31.000Z
2021-07-17T15:12:44.000Z
src/utility/ringbuffer.cpp
holgerkoch/cot-c-mqtt-mqttsn-arduino-sdk
dd4f912b556c71406605f978d7b8211cacf79401
[ "MIT" ]
2
2019-12-18T18:56:56.000Z
2020-01-14T18:55:37.000Z
src/utility/ringbuffer.cpp
holgerkoch/cot-c-mqtt-mqttsn-arduino-sdk
dd4f912b556c71406605f978d7b8211cacf79401
[ "MIT" ]
3
2019-11-14T21:26:09.000Z
2020-02-26T13:51:33.000Z
/** * @file ringbuffer.cpp * @description Ring buffer abstraction functions. * @author mm1 Technology GmbH * @copyright (C) 2018 mm1 Technology GmbH * @licence MIT licence * * Created on: 14.03.2018 */ #include "ringbuffer.h" #include "utility/DTCoTDebugOutput.h" /*rx FIFO ringbuffer implementation*/ #defin...
21.845455
91
0.6933
holgerkoch
f7aa7fa4633a56a595f576996f15dadccbb569bd
3,221
hpp
C++
include/lss/game/item.hpp
averrin/lss
c2aa0486641fba15daceab3241122e387720c898
[ "MIT" ]
4
2018-07-09T20:53:06.000Z
2018-07-12T07:10:19.000Z
include/lss/game/item.hpp
averrin/lss
c2aa0486641fba15daceab3241122e387720c898
[ "MIT" ]
null
null
null
include/lss/game/item.hpp
averrin/lss
c2aa0486641fba15daceab3241122e387720c898
[ "MIT" ]
null
null
null
#ifndef __ITEM_H_ #define __ITEM_H_ #include "lss/game/effect.hpp" #include "lss/game/itemSpec.hpp" #include "lss/game/object.hpp" #include "lss/game/randomTools.hpp" #include "lss/game/spell.hpp" #include "lss/utils.hpp" #include <fmt/format.h> #include <variant> // TODO: refactor constructors class Item : public Obj...
29.824074
79
0.628066
averrin
f7ac3e8834b24475081dbe5bf4fe2ab2060b2c1b
572
cpp
C++
src/lib/heap-malloc.cpp
glfernando/sc
55972c296b8a873fed29d4ec6cfdd565da079047
[ "BSD-3-Clause" ]
1
2021-01-18T03:43:37.000Z
2021-01-18T03:43:37.000Z
src/lib/heap-malloc.cpp
glfernando/sc
55972c296b8a873fed29d4ec6cfdd565da079047
[ "BSD-3-Clause" ]
null
null
null
src/lib/heap-malloc.cpp
glfernando/sc
55972c296b8a873fed29d4ec6cfdd565da079047
[ "BSD-3-Clause" ]
null
null
null
/* * SPDX-License-Identifier: BSD-3-Clause * * Copyright (c) 2021 Fernando Lugo <lugo.fernando@gmail.com> */ #include <stdlib.h> #include <string.h> import lib.heap; extern "C" void* malloc(size_t size) { return lib::heap::alloc(size); } extern "C" void* calloc(size_t nmemb, size_t size) { void* ptr = m...
19.066667
61
0.629371
glfernando
f7ad9de1a4d9d013f4f89d7c87b6a39998015cfe
797
hpp
C++
framework/material.hpp
M-Unterreiner/programmiersprachen-raytracer
8b3f949fdb6bd8753891624911771006da8ed825
[ "MIT" ]
1
2020-08-28T18:10:24.000Z
2020-08-28T18:10:24.000Z
framework/material.hpp
M-Unterreiner/programmiersprachen-raytracer
8b3f949fdb6bd8753891624911771006da8ed825
[ "MIT" ]
null
null
null
framework/material.hpp
M-Unterreiner/programmiersprachen-raytracer
8b3f949fdb6bd8753891624911771006da8ed825
[ "MIT" ]
null
null
null
#ifndef MATERIAL_HPP #define MATERIAL_HPP #include <iostream> #include <ostream> #include <string> #include <color.hpp> struct Material { std::string name_ = "Default material"; Color ka_{1.0f, 0.0f, 0.0f}; Color kd_{1.0f, 0.0f, 0.0f}; Color ks_{1.0f, 0.0f, 0.0f}; void print_material() { ka_.print_c...
23.441176
86
0.537014
M-Unterreiner
f7b0b7361cc9e1d30d62cb73022e8b1fa4213db7
2,741
cpp
C++
alvr/server/cpp/shared/threadtools.cpp
N00byKing/ALVR
230199e1efa6acb9fa37fa5ae53206052e9ac48f
[ "BSD-3-Clause" ]
1,562
2020-12-01T15:02:21.000Z
2022-03-31T13:37:51.000Z
alvr/server/cpp/shared/threadtools.cpp
N00byKing/ALVR
230199e1efa6acb9fa37fa5ae53206052e9ac48f
[ "BSD-3-Clause" ]
562
2020-12-01T20:10:13.000Z
2022-03-31T22:57:13.000Z
alvr/server/cpp/shared/threadtools.cpp
N00byKing/ALVR
230199e1efa6acb9fa37fa5ae53206052e9ac48f
[ "BSD-3-Clause" ]
184
2020-12-01T15:02:24.000Z
2022-03-31T06:18:18.000Z
//===================== Copyright (c) Valve Corporation. All Rights Reserved. ====================== #include "threadtools.h" //-------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------...
34.696203
100
0.217439
N00byKing
fc94310d6be004c7a330ac7940815a66f4d787d2
2,647
cpp
C++
test/t-qwrite.cpp
iboB/jalog
d89a5bb4ef8b0ea701a7cd3ea0229de3fbb3ecd9
[ "MIT" ]
3
2021-12-07T06:16:31.000Z
2021-12-22T14:12:36.000Z
test/t-qwrite.cpp
iboB/jalog
d89a5bb4ef8b0ea701a7cd3ea0229de3fbb3ecd9
[ "MIT" ]
null
null
null
test/t-qwrite.cpp
iboB/jalog
d89a5bb4ef8b0ea701a7cd3ea0229de3fbb3ecd9
[ "MIT" ]
null
null
null
// jalog // Copyright (c) 2021-2022 Borislav Stanimirov // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // https://opensource.org/licenses/MIT // #include <doctest/doctest.h> #define I_JALOG_TESTING_QWRITE #include "../code/jalog/_qwrite.hpp" #include "../code/jalog/_qw...
21.876033
56
0.58368
iboB
fc995ea30c8d2d5bf6c8dd91ec645399ebd888c7
9,473
cpp
C++
Code/Tools/Core/Resource/RawAssets/Fbx/FbxAnimation.cpp
JuanluMorales/KRG
f3a11de469586a4ef0db835af4bc4589e6b70779
[ "MIT" ]
419
2022-01-27T19:37:43.000Z
2022-03-31T06:14:22.000Z
Code/Tools/Core/Resource/RawAssets/Fbx/FbxAnimation.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
2
2022-01-28T20:35:33.000Z
2022-03-13T17:42:52.000Z
Code/Tools/Core/Resource/RawAssets/Fbx/FbxAnimation.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
20
2022-01-27T20:41:02.000Z
2022-03-26T16:16:57.000Z
#include "FbxAnimation.h" #include "FbxSceneContext.h" //------------------------------------------------------------------------- namespace KRG::RawAssets { class FbxRawAnimation : public RawAnimation { friend class FbxAnimationFileReader; }; //-----------------------------------...
48.829897
173
0.513987
JuanluMorales
fca3ca9566b74e2c1547e3869f63a6aa380f7085
421
hpp
C++
ChaosGL/depthmask.hpp
chaosarts/ChaosGL.cpp
7d851a404824609547fb9261790b87cee7699d5c
[ "Apache-2.0" ]
null
null
null
ChaosGL/depthmask.hpp
chaosarts/ChaosGL.cpp
7d851a404824609547fb9261790b87cee7699d5c
[ "Apache-2.0" ]
null
null
null
ChaosGL/depthmask.hpp
chaosarts/ChaosGL.cpp
7d851a404824609547fb9261790b87cee7699d5c
[ "Apache-2.0" ]
null
null
null
/* * GLdepthbit.h * * Created on: 07.03.2016 * Author: chaos */ #ifndef ChaosGL_Gldepthbit_hpp #define ChaosGL_Gldepthbit_hpp #include "clearmask.hpp" #include "ChaosGL.hpp" namespace chaosgl { struct depthmask: public clearmask { public: GLclampd depth; depthmask(GLclampd depth = 1); vi...
13.580645
36
0.665083
chaosarts
fca7cd9fb343449055fec8805840665e57023733
4,042
hh
C++
src/units/UnitSystemType.hh
jhchang-lanl/Draco
b8e3bcd38ab739615c1df506268d70bf99929efa
[ "BSD-3-Clause-Open-MPI" ]
43
2017-02-17T23:47:36.000Z
2022-03-14T07:53:43.000Z
src/units/UnitSystemType.hh
jhchang-lanl/Draco
b8e3bcd38ab739615c1df506268d70bf99929efa
[ "BSD-3-Clause-Open-MPI" ]
848
2017-01-16T01:03:38.000Z
2022-01-11T18:56:50.000Z
src/units/UnitSystemType.hh
jhchang-lanl/Draco
b8e3bcd38ab739615c1df506268d70bf99929efa
[ "BSD-3-Clause-Open-MPI" ]
31
2017-03-02T19:51:15.000Z
2021-09-08T02:33:34.000Z
//--------------------------------------------*-C++-*---------------------------------------------// /*! \file UnitSystemType.hh * \author Kelly Thompson * \brief Aggregates a collection of FundUnits to create a complete UnitSystemType. * \date Fri Oct 24 15:04:41 2003 * \note Copyright (C) 2016-2020 Tri...
35.147826
100
0.562098
jhchang-lanl
fcadecac40688951c045b663c40fce7db618fdfa
2,053
cpp
C++
engine/src/renderer/camera.cpp
tarantulala/real
8e69411c2025c348b18e12e223cf4b085e0387dc
[ "MIT" ]
9
2020-10-06T16:00:55.000Z
2020-12-29T07:09:54.000Z
engine/src/renderer/camera.cpp
Light-Lens/real
194de672d7af35457e42a4aa24bfd77523eb09ca
[ "MIT" ]
null
null
null
engine/src/renderer/camera.cpp
Light-Lens/real
194de672d7af35457e42a4aa24bfd77523eb09ca
[ "MIT" ]
3
2020-11-20T09:04:20.000Z
2021-01-11T13:44:19.000Z
// Copyright (c) 2020 udv. All rights reserved. #include <glm/gtc/matrix_transform.hpp> #include "real/renderer/camera.hpp" namespace Real { // region Camera Camera::Camera(const glm::mat4& projection, glm::vec3 position, glm::vec3 direction) :position { position }, projection { projection }, direction { direct...
21.164948
85
0.659523
tarantulala
fcae0e6f860fdc22af3efcb0bbe0e429d2a9c70b
4,162
cpp
C++
src/analysis/filterbanks/erb.cpp
alargepileofash/in-formant
3fc77925b68e349b96d7cf20c00223a4b343d04d
[ "Apache-2.0" ]
55
2020-10-07T20:22:22.000Z
2021-08-28T10:58:36.000Z
src/analysis/filterbanks/erb.cpp
alargepileofash/in-formant
3fc77925b68e349b96d7cf20c00223a4b343d04d
[ "Apache-2.0" ]
16
2020-12-06T22:02:38.000Z
2021-08-19T09:37:56.000Z
src/analysis/filterbanks/erb.cpp
alargepileofash/in-formant
3fc77925b68e349b96d7cf20c00223a4b343d04d
[ "Apache-2.0" ]
11
2019-12-16T16:06:19.000Z
2020-04-15T15:28:31.000Z
#include "filterbanks.h" Eigen::SparseMatrix<double> Analysis::erbFilterbank(double minFreqHz, double maxFreqHz, int erbBinCount, int linearBinCount, double sampleRateHz) { double minErbs = hz2erb(minFreqHz); double maxErbs = hz2erb(maxFreqHz); // Create erbBinCount linearly spaced values between these ex...
42.040404
145
0.621336
alargepileofash
fcb14f45c811fc5057a52e5339656a57d7d14705
9,775
cpp
C++
src/main.cpp
avwuff/dimmer
989ba31a25a59bcd741254f8eb0f6073854c3e2b
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
avwuff/dimmer
989ba31a25a59bcd741254f8eb0f6073854c3e2b
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
avwuff/dimmer
989ba31a25a59bcd741254f8eb0f6073854c3e2b
[ "BSD-3-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2017 Casey Langen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistri...
30.738994
194
0.609616
avwuff
fcb257707092272264bf0dd9f512a16b4013846c
683
cpp
C++
src/Utilities/LobattoNodes.cpp
Krishna-Dutt/DG-MHD-Solver
2fec1add362ef4bdb1fe6cfbe2760298e22f4a5a
[ "BSD-3-Clause" ]
null
null
null
src/Utilities/LobattoNodes.cpp
Krishna-Dutt/DG-MHD-Solver
2fec1add362ef4bdb1fe6cfbe2760298e22f4a5a
[ "BSD-3-Clause" ]
null
null
null
src/Utilities/LobattoNodes.cpp
Krishna-Dutt/DG-MHD-Solver
2fec1add362ef4bdb1fe6cfbe2760298e22f4a5a
[ "BSD-3-Clause" ]
null
null
null
#include <algorithm> #include "../../includes/Utilities/LobattoNodes.h" #include "../../includes/Utilities/LegendrePolynomial.h" #include "../../includes/Utilities/PolyEval.h" #include "../../includes/Utilities/PolyDeriv.h" #include "../../includes/Utilities/PolynomialRoots.h" using namespace std; void lobattoNodes(d...
27.32
56
0.664714
Krishna-Dutt
fcc55e18e7e1bf481ff15a5aafcf9b090d91847b
1,137
hpp
C++
include/Mojo/UI/UIControl.hpp
blazgrom/mojo
1000d9f82e6e0e97ad33108ba160d0afa0ac688f
[ "MIT" ]
1
2022-02-13T13:03:37.000Z
2022-02-13T13:03:37.000Z
include/Mojo/UI/UIControl.hpp
blazgrom/mojo
1000d9f82e6e0e97ad33108ba160d0afa0ac688f
[ "MIT" ]
null
null
null
include/Mojo/UI/UIControl.hpp
blazgrom/mojo
1000d9f82e6e0e97ad33108ba160d0afa0ac688f
[ "MIT" ]
null
null
null
#ifndef MOJO_CONTROL_HPP #define MOJO_CONTROL_HPP #include "Mojo/Input/InputEvent.hpp" #include "Mojo/Math/Vector.hpp" #include "Mojo/MojoAPI.hpp" namespace mojo { class MOJO_API UIControl { public: UIControl(IVector2D position) : m_position(position) { } virtual ~UIContr...
24.717391
66
0.586631
blazgrom
fccb3d3c6eff10fe3bcc27046f6dc2dbdbe39ea0
902
hpp
C++
src/modules/transaction_service/include/keto/transaction/Exception.hpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
1
2020-03-04T10:38:00.000Z
2020-03-04T10:38:00.000Z
src/modules/transaction_service/include/keto/transaction/Exception.hpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
null
null
null
src/modules/transaction_service/include/keto/transaction/Exception.hpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
1
2020-03-04T10:38:01.000Z
2020-03-04T10:38:01.000Z
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: Exception.hpp * Author: ubuntu * * Created on February 26, 2018, 1:23 PM */ #ifndef KETO_TRANSACTION_EXCEPTION_HPP...
23.736842
135
0.772727
burntjam
fcd36f4f2fe86225a0e8647436ab4a1fed868c44
14,627
cpp
C++
Windows/WPrincipalComponentsDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
11
2020-03-10T02:06:00.000Z
2022-02-17T19:59:50.000Z
Windows/WPrincipalComponentsDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
null
null
null
Windows/WPrincipalComponentsDialog.cpp
cas-nctu/multispec
0bc840bdb073b5feaeec650c2da762cfa34ee37d
[ "Apache-2.0" ]
5
2020-05-30T00:59:22.000Z
2021-12-06T01:37:05.000Z
// MultiSpec // // Copyright 1988-2020 Purdue Research Foundation // // 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: https://www.apach...
30.600418
104
0.662747
cas-nctu
fcdc9e770493d7b65c049026340858123315fe14
2,161
cpp
C++
cppcache/src/EvictionThread.cpp
austxcodemonkey/geode-native
a816ac99cbbac557629686cb2542fdc74d464338
[ "Apache-2.0" ]
null
null
null
cppcache/src/EvictionThread.cpp
austxcodemonkey/geode-native
a816ac99cbbac557629686cb2542fdc74d464338
[ "Apache-2.0" ]
1
2021-02-23T12:27:00.000Z
2021-02-23T12:27:00.000Z
cppcache/src/EvictionThread.cpp
isabella232/geode-native
0d9a99d5e0632de62df17921950cf3f6640efb33
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
27.705128
79
0.721425
austxcodemonkey
fce7698b58989e35b6f3d448135a2fbd471dd110
862
cpp
C++
Ch 11/11.11.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 11/11.11.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 11/11.11.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
/*不适用decltype重新定义bookstore*/ #include<iostream> #include<set> #include"Sales_data.h" using namespace std; bool compareIsbn(const Sales_data &lhs, const Sales_data &rhs) { return lhs.isbn() < rhs.isbn(); } int main() { // 使用decltype multiset<Sales_data, decltype(compareIsbn)*> bookstore(compareIsbn); // class std...
28.733333
86
0.727378
Felon03
fce9fbbba458aaff018d3a3b11e281d3a04dfc49
3,303
hpp
C++
src/graspi_types.hpp
wd15/graspi
cbdbee28062dbc18005a506f307171702ac249be
[ "BSD-3-Clause" ]
null
null
null
src/graspi_types.hpp
wd15/graspi
cbdbee28062dbc18005a506f307171702ac249be
[ "BSD-3-Clause" ]
null
null
null
src/graspi_types.hpp
wd15/graspi
cbdbee28062dbc18005a506f307171702ac249be
[ "BSD-3-Clause" ]
1
2021-04-27T19:05:48.000Z
2021-04-27T19:05:48.000Z
/*** * $Id$ ** * File: graspi_types.hpp * Created: May 8, 2012 * * Author: Olga Wodo, Baskar Ganapathysubramanian * Copyright (c) 2012 Olga Wodo, Baskar Ganapthysubramanian * See accompanying LICENSE. * * This file is part of GraSPI. */ #ifndef GRASPI_TYPES_HPP #define GRASPI_TYPES_HPP #include <map...
30.302752
83
0.646382
wd15
fcea5a2efa6d2945fc07d3d06821299a985a1d15
16,057
cpp
C++
src/main.cpp
dedmen/Intercept_FastScript
cbb597273c8fae0d41c951021ac56a48d0e2c774
[ "MIT" ]
null
null
null
src/main.cpp
dedmen/Intercept_FastScript
cbb597273c8fae0d41c951021ac56a48d0e2c774
[ "MIT" ]
null
null
null
src/main.cpp
dedmen/Intercept_FastScript
cbb597273c8fae0d41c951021ac56a48d0e2c774
[ "MIT" ]
1
2018-12-06T11:06:52.000Z
2018-12-06T11:06:52.000Z
#include <intercept.hpp> #include <cstdint> #include <windows.h> #include <Psapi.h> #pragma comment(lib, "Psapi.lib") //GetModuleInformation using namespace intercept::types; uintptr_t placeHookTotalOffs(uintptr_t totalOffset, uintptr_t jmpTo) { DWORD dwVirtualProtectBackup; /* 32bit jmp 0x123122 ...
37.604215
859
0.593199
dedmen
fcecbec48448f80d99f0e3bac150488676e66ae1
127
cpp
C++
src/ast/lvalue.cpp
taylor-santos/tuatara
4cb52f806144553ea6d978aef1296bcaba27186f
[ "MIT" ]
null
null
null
src/ast/lvalue.cpp
taylor-santos/tuatara
4cb52f806144553ea6d978aef1296bcaba27186f
[ "MIT" ]
33
2020-10-04T01:56:11.000Z
2020-11-28T10:08:31.000Z
src/ast/lvalue.cpp
taylor-santos/tuatara
4cb52f806144553ea6d978aef1296bcaba27186f
[ "MIT" ]
1
2020-10-21T22:27:37.000Z
2020-10-21T22:27:37.000Z
#include "ast/lvalue.h" namespace AST { LValue::LValue(const yy::location &loc) : Expression(loc) {} } // namespace AST
14.111111
39
0.661417
taylor-santos
fcefc34a8b0fccaaf003bca542d9edab12c338d9
4,195
hpp
C++
cmdstan/stan/src/stan/lang/ast/sigs/function_arg_type.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
1
2019-07-05T01:40:40.000Z
2019-07-05T01:40:40.000Z
cmdstan/stan/src/stan/lang/ast/sigs/function_arg_type.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/src/stan/lang/ast/sigs/function_arg_type.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
1
2018-08-28T12:09:08.000Z
2018-08-28T12:09:08.000Z
#ifndef STAN_LANG_AST_FUNCTION_ARG_TYPE_HPP #define STAN_LANG_AST_FUNCTION_ARG_TYPE_HPP #include <stan/lang/ast/expr_type.hpp> #include <cstddef> #include <ostream> namespace stan { namespace lang { /** * Structure for a function argument consisting of the * `expr_type` and a boolean used to flag ...
31.30597
74
0.621692
yizhang-cae
fcf26e5175fc654093164a6b289a910551f24766
1,836
cpp
C++
tests/ClassOperatorHandler2Test.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
1,853
2018-05-13T21:49:17.000Z
2022-03-30T10:34:45.000Z
tests/ClassOperatorHandler2Test.cpp
tiandaoafei/cppinsights
af78ac299121354101a5e506dafccaac95d27a77
[ "MIT" ]
398
2018-05-15T14:48:51.000Z
2022-03-24T12:14:33.000Z
tests/ClassOperatorHandler2Test.cpp
SammyEnigma/cppinsights
c984b8e68139bbcc244c094fd2463eeced8fd997
[ "MIT" ]
104
2018-05-15T04:00:59.000Z
2022-03-17T02:04:15.000Z
#include <iostream> void f(int&&) { std::cout << "hello" << "&&\n"; } void f(int&) { std::cout << "bello" << "&\n" << "world" << "\n"; } class Foo { public: Foo(int x) : mX{x} { } operator const int() const { return mX; } Foo operator++(int) { F...
14.123077
69
0.37146
galorojo
fcf2eef958130130eb59b007e5d352c16d53a100
2,663
cpp
C++
src/Frameworks/SimpleFramework/SimpleRandomizer.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Frameworks/SimpleFramework/SimpleRandomizer.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Frameworks/SimpleFramework/SimpleRandomizer.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "SimpleRandomizer.h" #include "Interface/RandomizerInterface.h" #include "Interface/PlayerServiceInterface.h" namespace Mengine { namespace Helper { ////////////////////////////////////////////////////////////////////////// void setSimpleRandomizerSeed( uint32_t _seed ) { ...
33.708861
82
0.451371
Terryhata6
fcf4725326051b50c12080d94a87ba52b0e605d9
360
cpp
C++
src/trash/tstandardoutputwriter.cpp
WebWorksCollection/treefrog-framework
9da400135c5fa6c4effa878cca395d8f200cf0f0
[ "BSD-3-Clause" ]
942
2015-01-16T02:02:10.000Z
2022-03-31T02:11:50.000Z
src/trash/tstandardoutputwriter.cpp
WebWorksCollection/treefrog-framework
9da400135c5fa6c4effa878cca395d8f200cf0f0
[ "BSD-3-Clause" ]
250
2015-04-26T23:46:48.000Z
2022-03-30T09:32:05.000Z
src/trash/tstandardoutputwriter.cpp
WebWorksCollection/treefrog-framework
9da400135c5fa6c4effa878cca395d8f200cf0f0
[ "BSD-3-Clause" ]
244
2015-01-16T17:41:06.000Z
2022-02-11T09:34:42.000Z
/* Copyright (c) 2010, AOYAMA Kazuharu * All rights reserved. * * This software may be used and distributed according to the terms of * the New BSD License, which is incorporated herein by reference. */ #include <iostream> #include "tstandardoutputwriter.h" void TStandardOutputWriter::writeLog(const char *msg) ...
22.5
70
0.722222
WebWorksCollection
fcf7ce39a573ada75e2cc0d0a54e2948d45bf614
24,468
cpp
C++
client/apihook/base_inject.cpp
scriptjunkie/Ambush
fcdd605890a63ee5c886ea56caf8d1ab65d77849
[ "BSD-2-Clause" ]
38
2015-01-02T21:20:03.000Z
2021-07-07T14:20:50.000Z
client/apihook/base_inject.cpp
supcom234/Ambush
fcdd605890a63ee5c886ea56caf8d1ab65d77849
[ "BSD-2-Clause" ]
null
null
null
client/apihook/base_inject.cpp
supcom234/Ambush
fcdd605890a63ee5c886ea56caf8d1ab65d77849
[ "BSD-2-Clause" ]
22
2015-01-26T19:23:48.000Z
2021-04-12T07:44:34.000Z
#include <Windows.h> #include "base_inject.h" #include "apihook.h" #include "reporting.h" // Simple trick to get the current arch #ifdef _M_X64 DWORD arch = PROCESS_ARCH_X64; #else DWORD arch = PROCESS_ARCH_X86; #endif PBYTE loadDllx64Code = NULL; DWORD loadDllx64CodeSize = 0; PBYTE loadDllx86Code = NULL; DWORD loa...
49.934694
155
0.713381
scriptjunkie
fcf83641d1c3d4e840e093164db15a0b61a3fd3f
357
cpp
C++
src/configuration/archive/ini/first_field.cpp
Damdoshi/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
38
2016-07-30T09:35:19.000Z
2022-03-04T10:13:48.000Z
src/configuration/archive/ini/first_field.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
15
2017-02-12T19:20:52.000Z
2021-06-09T09:30:52.000Z
src/configuration/archive/ini/first_field.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
12
2016-10-06T09:06:59.000Z
2022-03-04T10:14:00.000Z
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2018 // // Bibliothèque Lapin #include "lapin_private.h" t_bunny_ini_field *bunny_ini_first_field(t_bunny_ini_scope *scope) { t_bunny_ini_field *ini; ini = bunny_configuration_first((t_bunny_configuration*)scope); scream_log_if("%p -> %p", "configurati...
21
66
0.739496
Damdoshi
fcf90a0b3b8c43617fcee581468efa1e14dbeec6
854
cpp
C++
ORDSUM23.cpp
StavrosChryselis/spoj
b4b721995634cfc7d5a52eb4cb95347f2fdca2b3
[ "MIT" ]
2
2019-03-02T19:59:54.000Z
2019-05-26T12:58:06.000Z
ORDSUM23.cpp
StavrosChryselis/spoj
b4b721995634cfc7d5a52eb4cb95347f2fdca2b3
[ "MIT" ]
null
null
null
ORDSUM23.cpp
StavrosChryselis/spoj
b4b721995634cfc7d5a52eb4cb95347f2fdca2b3
[ "MIT" ]
null
null
null
/* **************************************************************** **************************************************************** -> Coded by Stavros Chryselis -> Visit my github for more solved problems over multiple sites -> https://github.com/StavrosChryselis -> Feel free to email me at stavrikios@gm...
17.791667
64
0.381733
StavrosChryselis
1e064487550c2b62447d3835fb7059191a395775
3,756
cpp
C++
fw/source/FrameMarker.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
fw/source/FrameMarker.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
9
2016-12-09T13:02:18.000Z
2019-09-13T09:29:18.000Z
fw/source/FrameMarker.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
#include "fw/FrameMarker.hpp" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/quaternion.hpp" #include "fw/DebugShapes.hpp" namespace fw { FrameMarker::FrameMarker(): _xAxis{1.0f, 0.0f, 0.0f}, _yAxis{0.0f, 1.0f, 0.0f}, _zAxis{0.0f, 0.0f, 1.0f} { _cone = fw::createCone(1.0, 1.0); _cyli...
22.763636
77
0.624334
sienkiewiczkm
1e06cf425990b727449e075e4f67b0ad89330646
9,027
cpp
C++
src/core/Cube.cpp
dalmirdasilva/ArduinoCube
b52f6ad027307ce7e1aaebd4d21a4cf257c05c19
[ "Apache-2.0" ]
null
null
null
src/core/Cube.cpp
dalmirdasilva/ArduinoCube
b52f6ad027307ce7e1aaebd4d21a4cf257c05c19
[ "Apache-2.0" ]
null
null
null
src/core/Cube.cpp
dalmirdasilva/ArduinoCube
b52f6ad027307ce7e1aaebd4d21a4cf257c05c19
[ "Apache-2.0" ]
null
null
null
/** */ #ifndef __ARDUINO_CUBE_CUBE_CPP__ #define __ARDUINO_CUBE_CUBE_CPP__ 1 #include <Cube.h> #include <Util.h> #include <Arduino.h> #include <string.h> #define AT(y, z) *((*bufferToWrite) + ((z * CUBE_SIZE + y) & CUBE_BYTE_SIZE_MASK)) unsigned char Cube::buffer0[CUBE_SIZE][CUBE_SIZE] = { }; unsigned char Cube::b...
28.034161
128
0.518777
dalmirdasilva
1e0c9d6dd17f9c7bb6fde6eb021cd06e0117a488
574
cpp
C++
src/snabl/call.cpp
codr4life/snabl
b1c8a69e351243a3ae73d69754971d540c224733
[ "MIT" ]
22
2018-08-27T15:28:10.000Z
2022-02-13T08:18:00.000Z
src/snabl/call.cpp
codr4life/snabl
b1c8a69e351243a3ae73d69754971d540c224733
[ "MIT" ]
3
2018-08-27T01:44:51.000Z
2020-06-28T20:07:42.000Z
src/snabl/call.cpp
codr4life/snabl
b1c8a69e351243a3ae73d69754971d540c224733
[ "MIT" ]
2
2018-08-26T18:55:47.000Z
2018-09-29T01:04:36.000Z
#include "snabl/call.hpp" #include "snabl/env.hpp" #include "snabl/fimp.hpp" namespace snabl { Call::Call(Env &env, Fimp &fimp, Pos pos, PC return_pc): prev(env.call()), target(&fimp), pos(pos), state(env), return_pc(return_pc) { } Call::Call(Env &env, const Lambda &lambda, Pos pos, PC return_pc): prev(en...
27.333333
83
0.644599
codr4life
1f6410663290e6047ddd5e7c0bc33b917b70375b
7,412
cpp
C++
src/lkmc/LatticeDiamond.cpp
imartinbragado/MMonCa
126744a90253d7d7884c6dc7ec100db00a106a66
[ "Apache-2.0" ]
4
2018-11-23T16:20:09.000Z
2020-05-15T09:13:49.000Z
src/lkmc/LatticeDiamond.cpp
Warmshawn/MMonCa
df279c2103484e89898ff4e81b45fb9ad43bcb9e
[ "Apache-2.0" ]
null
null
null
src/lkmc/LatticeDiamond.cpp
Warmshawn/MMonCa
df279c2103484e89898ff4e81b45fb9ad43bcb9e
[ "Apache-2.0" ]
6
2020-12-04T03:28:14.000Z
2022-03-09T10:38:14.000Z
/* * LatticeDiamond.cpp * * Created on: Aug 17, 2012 * Author: ignacio.martin@imdea.org */ #include "LatticeDiamond.h" #include "LatticeDiamondParam.h" #include "io/Diagnostic.h" #include "io/ParameterManager.h" #include "kernel/Domain.h" #include "kernel/SubDomain.h" using std::vector; using std::pair; us...
33.844749
166
0.619671
imartinbragado
1f64bbb688ef270cd46d83d353e6205430e104b6
1,750
cc
C++
source/intercoms/pyG4UIcmdWithADoubleAndUnit.cc
yu22mal/geant4_pybind
ff7efc322fe53f39c7ae7ed140861052a92479fd
[ "Unlicense" ]
6
2021-08-08T08:40:13.000Z
2022-03-23T03:05:15.000Z
source/intercoms/pyG4UIcmdWithADoubleAndUnit.cc
yu22mal/geant4_pybind
ff7efc322fe53f39c7ae7ed140861052a92479fd
[ "Unlicense" ]
3
2021-12-01T14:38:06.000Z
2022-02-10T11:28:28.000Z
source/intercoms/pyG4UIcmdWithADoubleAndUnit.cc
yu22mal/geant4_pybind
ff7efc322fe53f39c7ae7ed140861052a92479fd
[ "Unlicense" ]
3
2021-07-16T13:57:34.000Z
2022-02-07T11:17:19.000Z
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <G4UIcmdWithADoubleAndUnit.hh> #include <G4UImessenger.hh> #include "typecast.hh" #include "opaques.hh" namespace py = pybind11; class PyG4UIcmdWithADoubleAndUnit : public G4UIcmdWithADoubleAndUnit { public: using G4UIcmdWithADoubleAndUnit::G4UIcm...
42.682927
118
0.769714
yu22mal
1f659dc6598a1d354693127ec9852abcfcd92b09
1,825
hpp
C++
shared/src/wdg/ds_imaging.hpp
amazingidiot/qastools
6e3b0532ebc353c79d6df0628ed375e3d3c09d12
[ "MIT" ]
null
null
null
shared/src/wdg/ds_imaging.hpp
amazingidiot/qastools
6e3b0532ebc353c79d6df0628ed375e3d3c09d12
[ "MIT" ]
null
null
null
shared/src/wdg/ds_imaging.hpp
amazingidiot/qastools
6e3b0532ebc353c79d6df0628ed375e3d3c09d12
[ "MIT" ]
null
null
null
/// QasTools: Desktop toolset for the Linux sound system ALSA. /// \copyright See COPYING file. #ifndef __INC_wdg_ds_imaging_hpp__ #define __INC_wdg_ds_imaging_hpp__ #include "dpe/image_allocator.hpp" #include "dpe/image_request.hpp" #include "dpe/image_set_group.hpp" // Forward declaration class QWidget; namespace...
17.056075
62
0.704658
amazingidiot
1f65bf4f430c00389d013b1cc0064524f800069b
2,133
cc
C++
leetcode/ds_tree_invert_bt.cc
prashrock/C-
3ed46815d40b3e42cd9f36d23c8ee2a9de742323
[ "MIT" ]
1
2016-12-05T10:42:46.000Z
2016-12-05T10:42:46.000Z
leetcode/ds_tree_invert_bt.cc
prashrock/CPP
3ed46815d40b3e42cd9f36d23c8ee2a9de742323
[ "MIT" ]
null
null
null
leetcode/ds_tree_invert_bt.cc
prashrock/CPP
3ed46815d40b3e42cd9f36d23c8ee2a9de742323
[ "MIT" ]
null
null
null
//g++-5 --std=c++11 -Wall -g -o ds_tree_invert_bt ds_tree_invert_bt.cc /** * @file Invert BT * @brief Invert a binary tree */ // https://leetcode.com/problems/invert-binary-tree/ #include <iostream> /* std::cout */ #include <algorithm> /* std::vector */ #inclu...
26.333333
86
0.531646
prashrock
1f7647160751aff73c438720182beff750ba286e
7,129
hpp
C++
include/codegen/include/Microsoft/Win32/KeyHandler.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Microsoft/Win32/KeyHandler.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Microsoft/Win32/KeyHandler.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:38 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" #include "utils/i...
46.292208
156
0.727592
Futuremappermydud
1f77edcf105b85674fce6438f0b4fbc8e84f3b0e
2,632
hpp
C++
muse_mcl_2d/include/muse_mcl_2d/impl/density/mean_centered_sample_density_2d.hpp
doge-of-the-day/muse_mcl_2d
4cb53120e78780ccc7a7a62d40278fd075d2a54d
[ "BSD-3-Clause" ]
4
2019-06-01T14:08:29.000Z
2019-11-07T02:01:53.000Z
muse_mcl_2d/include/muse_mcl_2d/impl/density/mean_centered_sample_density_2d.hpp
cogsys-tuebingen/muse_mcl_2d
dc053c61208a6ec740b70cea81aaf3c466c1c3b4
[ "BSD-3-Clause" ]
null
null
null
muse_mcl_2d/include/muse_mcl_2d/impl/density/mean_centered_sample_density_2d.hpp
cogsys-tuebingen/muse_mcl_2d
dc053c61208a6ec740b70cea81aaf3c466c1c3b4
[ "BSD-3-Clause" ]
6
2019-03-04T01:46:02.000Z
2020-09-30T01:58:22.000Z
#pragma once #include <ros/ros.h> #include <unordered_map> #include <muse_mcl_2d/density/sample_density_2d.hpp> #include "sample_indexation_2d.hpp" #include "sample_clustering_2d.hpp" #include <cslibs_indexed_storage/storage.hpp> #include <cslibs_indexed_storage/backend/kdtree/kdtree_buffered.hpp> #include <cslibs_...
40.492308
113
0.713146
doge-of-the-day