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
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
67k
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
5cbf1d44160834b551076d95d8e5ed5a9e9cad94
407
cpp
C++
apronin_task_3/func_sim/main.cpp
MIPT-ILab/mipt-mips-old-branches
a4e17025999b15d423601cf38a84234c5c037b33
[ "MIT" ]
1
2018-03-04T21:28:20.000Z
2018-03-04T21:28:20.000Z
apronin_task_3/func_sim/main.cpp
MIPT-ILab/mipt-mips-old-branches
a4e17025999b15d423601cf38a84234c5c037b33
[ "MIT" ]
null
null
null
apronin_task_3/func_sim/main.cpp
MIPT-ILab/mipt-mips-old-branches
a4e17025999b15d423601cf38a84234c5c037b33
[ "MIT" ]
null
null
null
#include <func_sim.h> #include <func_instr.h> #include <elf_parser.h> #include <iostream> #include <stdlib.h> using namespace std; int main( int argc, char** argv) { if ( argc != 3) { cout << "WRONG NUMBER OF ARGUMENT" << endl; return -1; } else { MIPS* mips...
18.5
52
0.515971
MIPT-ILab
5cbf46b5c4c00e632bf7fe0c30d2ea9bc05e0e7f
14,814
cpp
C++
src/hair/main.cpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
23
2019-07-11T14:47:39.000Z
2021-12-24T09:56:24.000Z
src/hair/main.cpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
null
null
null
src/hair/main.cpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
4
2021-04-06T18:20:43.000Z
2022-01-15T09:20:45.000Z
#include <tkn/singlePassApp.hpp> #include <tkn/bits.hpp> #include <tkn/render.hpp> #include <tkn/types.hpp> #include <tkn/geometry.hpp> #include <argagg.hpp> #include <vpp/trackedDescriptor.hpp> #include <vpp/pipeline.hpp> #include <vpp/queue.hpp> #include <vpp/submit.hpp> #include <vpp/commandAllocator.hpp> #include ...
30.109756
91
0.570609
nyorain
5cbf945cc79b241817d8a7de952166a148b3b87c
224
cpp
C++
Codeforces/Gym102152C.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
Codeforces/Gym102152C.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
Codeforces/Gym102152C.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <bits/stdc++.h> using namespace std; int T,n,m; int main() { scanf("%d",&T); while (T--) { scanf("%d %d",&n,&m); if (n&1) { if (m&1) puts("12"); else puts("2"); } else puts("2"); } return 0; }
11.2
24
0.477679
HeRaNO
5cc1435e8d4257af0b823a1f2c22ec1e599a417f
2,850
cpp
C++
samples/RapaPololuMaestroViewer/Main.cpp
jbitoniau/RapaPololuMaestro
d30b0af2108486ddaa9f8ebd4d2c4f48ff821f2b
[ "MIT" ]
14
2015-12-29T09:42:55.000Z
2021-04-06T07:27:22.000Z
samples/RapaPololuMaestroViewer/Main.cpp
jbitoniau/RapaPololuMaestro
d30b0af2108486ddaa9f8ebd4d2c4f48ff821f2b
[ "MIT" ]
1
2016-01-14T10:54:11.000Z
2016-01-14T13:12:45.000Z
samples/RapaPololuMaestroViewer/Main.cpp
jbitoniau/RapaPololuMaestro
d30b0af2108486ddaa9f8ebd4d2c4f48ff821f2b
[ "MIT" ]
10
2015-10-06T10:16:44.000Z
2022-03-14T16:22:56.000Z
/* The MIT License (MIT) (http://opensource.org/licenses/MIT) Copyright (c) 2015 Jacques Menuet 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...
35.185185
122
0.729474
jbitoniau
5cc1616677d6ba145140a713e11525da90d11f87
3,296
cpp
C++
src/c++/Golomb.cpp
HerouFenix/data-compression-and-video-coding
e722dcc12053c1cb33db68419f47d966dd9e096d
[ "MIT" ]
null
null
null
src/c++/Golomb.cpp
HerouFenix/data-compression-and-video-coding
e722dcc12053c1cb33db68419f47d966dd9e096d
[ "MIT" ]
null
null
null
src/c++/Golomb.cpp
HerouFenix/data-compression-and-video-coding
e722dcc12053c1cb33db68419f47d966dd9e096d
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <math.h> #include <vector> #include <algorithm> #include "BitStream.cpp" #include <chrono> using namespace std; class Golomb { private: int encoding_parameter; int b_param; int unary_limit; vector<bool> bit_feed; public: /* Constructor of the Golomb...
22.421769
145
0.523665
HerouFenix
5cc4cd6d682eeb2569822a86c0c859e1d5fd51ce
564
cpp
C++
Chapter 4/4.35 factorial (B)/4.35 factorial (B)/main.cpp
MarvelousAudio/CPlusPlus-How-to-program-tenth-edition
a667b080938cf964909d79b272f0d863adc300e0
[ "MIT" ]
null
null
null
Chapter 4/4.35 factorial (B)/4.35 factorial (B)/main.cpp
MarvelousAudio/CPlusPlus-How-to-program-tenth-edition
a667b080938cf964909d79b272f0d863adc300e0
[ "MIT" ]
null
null
null
Chapter 4/4.35 factorial (B)/4.35 factorial (B)/main.cpp
MarvelousAudio/CPlusPlus-How-to-program-tenth-edition
a667b080938cf964909d79b272f0d863adc300e0
[ "MIT" ]
null
null
null
// // main.cpp // 4.35 factorial (B) // // Created by ben haywood on 7/1/20. // Copyright © 2020 ben haywood. All rights reserved. // #include <iostream> using namespace std; int main(int argc, const char * argv[]) { // insert code here... double e = 2.0; int input; cout << "Enter a n...
17.090909
99
0.515957
MarvelousAudio
5ccd120511d39f1e310e1c62b985a731ec536030
2,997
cpp
C++
graph-source-code/508-D/9606367.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/508-D/9606367.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/508-D/9606367.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: MS C++ #include<iostream> #include<algorithm> #include<vector> #include<string> using namespace std; int const N = 100000; int n, degIn[N], degOut[N], rnd; string s; vector<int> e[N], ans; vector<char> out; int get(char c) { if(c >= '0' && c <= '9') return c - '0'; if...
19.089172
61
0.397064
AmrARaouf
5cd1c97d62d18601fadd10292d1a1a5fa843316e
17,513
cc
C++
chromeos/components/multidevice/debug_webui/proximity_auth_webui_handler.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chromeos/components/multidevice/debug_webui/proximity_auth_webui_handler.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chromeos/components/multidevice/debug_webui/proximity_auth_webui_handler.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2015 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 "chromeos/components/multidevice/debug_webui/proximity_auth_webui_handler.h" #include <algorithm> #include <memory> #include <sstream> #include ...
40.075515
85
0.729116
zealoussnow
5cd29e22eaf0d3b3e415ca91ff06f6c984adacc8
2,817
cpp
C++
src/hydra.cpp
pascscha/hydra
5c301ec9a7a91935f90497558326333afa7b179c
[ "BSD-3-Clause" ]
null
null
null
src/hydra.cpp
pascscha/hydra
5c301ec9a7a91935f90497558326333afa7b179c
[ "BSD-3-Clause" ]
null
null
null
src/hydra.cpp
pascscha/hydra
5c301ec9a7a91935f90497558326333afa7b179c
[ "BSD-3-Clause" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <exception> #include <stdexcept> #include "constants.h" #include "common.h" #include "formula.h" #include "parser.h" #include "lexer.h" #include "util.h" #include "visitors.h" #include "monitor.h" #include "trie.h" Formula *getAST(const char *formula) { Formula *fmla...
21.022388
87
0.527867
pascscha
5cd2d5cbfb17133f8edf22df48d8b5837fce7e27
2,881
hpp
C++
lib/Engine/Resources/ResourcePath.hpp
psiberx/cp2077-archive-xl
5e476978d3128980099c2a2aea5258b38b5f3558
[ "MIT" ]
7
2021-12-03T08:34:26.000Z
2022-01-29T20:22:59.000Z
lib/Engine/Resources/ResourcePath.hpp
psiberx/cp2077-archivexl
5e476978d3128980099c2a2aea5258b38b5f3558
[ "MIT" ]
null
null
null
lib/Engine/Resources/ResourcePath.hpp
psiberx/cp2077-archivexl
5e476978d3128980099c2a2aea5258b38b5f3558
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <RED4ext/Hashing/FNV1a.hpp> namespace { constexpr char ToLower(const char c) { return (c >= 'A' && c <= 'Z') ? c + ('a' - 'A') : c; } } namespace Engine { // TODO: Move to RED4ext.SDK struct ResourcePath { constexpr ResourcePath(uint64_t aHash = 0) noexcept : ...
21.340741
72
0.511975
psiberx
5cd7ef85cc0f79f1a687a8251f748c188ba13323
774
cpp
C++
C++/Esercizi/pag.154_es.7_.cpp
Daniele-Tentoni/esercizi_ripetizioni
a8b59b4ead3d6a7459103b91c53017a7495d9e82
[ "MIT" ]
null
null
null
C++/Esercizi/pag.154_es.7_.cpp
Daniele-Tentoni/esercizi_ripetizioni
a8b59b4ead3d6a7459103b91c53017a7495d9e82
[ "MIT" ]
null
null
null
C++/Esercizi/pag.154_es.7_.cpp
Daniele-Tentoni/esercizi_ripetizioni
a8b59b4ead3d6a7459103b91c53017a7495d9e82
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main () { int N ; do { cout << "Inserire quantita' di numeri che si vogliono calcolare fino ad un massimo di 100 unita' : " <<endl ; cin >> N ; } while ( N >= 100) ; int numeriInseriti [ N ] ; int numeriElevati [ N ] ; int differenze [ N ] ; for ( int i ...
20.918919
136
0.528424
Daniele-Tentoni
5cd7f251801896346d397431a7ef38cbb6bed550
85,394
cpp
C++
external/openglcts/modules/gles31/es31cTextureStorageMultisampleDependenciesTests.cpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
354
2017-01-24T17:12:38.000Z
2022-03-30T07:40:19.000Z
external/openglcts/modules/gles31/es31cTextureStorageMultisampleDependenciesTests.cpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
275
2017-01-24T20:10:36.000Z
2022-03-24T16:24:50.000Z
external/openglcts/modules/gles31/es31cTextureStorageMultisampleDependenciesTests.cpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
190
2017-01-24T18:02:04.000Z
2022-03-27T13:11:23.000Z
/*------------------------------------------------------------------------- * OpenGL Conformance Test Suite * ----------------------------- * * Copyright (c) 2014-2016 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
34.854694
124
0.735192
iabernikhin
5cdeead0f9a6259ded2b4382a1f9c4f585a51e8b
1,213
cpp
C++
CSES_Problem_Set/Tree_Algorithms/Subtree_Queries.cpp
hoanghai1803/CP_Training
03495a21509fb3ab7fc64674b9a1b0c7d4327ecb
[ "MIT" ]
4
2021-08-25T10:53:32.000Z
2021-09-30T03:25:50.000Z
CSES_Problem_Set/Tree_Algorithms/Subtree_Queries.cpp
hoanghai1803/CP_Training
03495a21509fb3ab7fc64674b9a1b0c7d4327ecb
[ "MIT" ]
null
null
null
CSES_Problem_Set/Tree_Algorithms/Subtree_Queries.cpp
hoanghai1803/CP_Training
03495a21509fb3ab7fc64674b9a1b0c7d4327ecb
[ "MIT" ]
null
null
null
// Author: __BruteForce__ #include <bits/stdc++.h> using namespace std; typedef long long int64; #define MAX_N 200005 int n, q, pos = 0; int val[MAX_N]; int start[MAX_N], finish[MAX_N]; vector<int> adj[MAX_N]; int64 bit[MAX_N]; void update(int p, int v) { for (int i = p; i <= n; i += i & -i) bit[i] += ...
18.378788
69
0.437758
hoanghai1803
5cdf94a2d100a3868da350b9ebe8e36e8dbe737b
3,057
cpp
C++
test/src/iBtestapp/modules/rc/c_cpp/src/RCFoundResourcesListener.cpp
jonghenhan/iotivity
7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31
[ "Apache-2.0" ]
301
2015-01-20T16:11:32.000Z
2021-11-25T04:29:36.000Z
test/src/iBtestapp/modules/rc/c_cpp/src/RCFoundResourcesListener.cpp
jonghenhan/iotivity
7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31
[ "Apache-2.0" ]
13
2015-06-04T09:55:15.000Z
2020-09-23T00:38:07.000Z
test/src/iBtestapp/modules/rc/c_cpp/src/RCFoundResourcesListener.cpp
jonghenhan/iotivity
7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31
[ "Apache-2.0" ]
233
2015-01-26T03:41:59.000Z
2022-03-18T23:54:04.000Z
/****************************************************************** * * Copyright 2016 Samsung Electronics 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 * ...
32.521277
97
0.607785
jonghenhan
5ce55175b543dc77cc188db1e77e36d92efe5302
936
cpp
C++
leetcode/cpp/1024-Video-Stitching.cpp
liu-chunhou/OnlineJudge
b79c8e05acf05411d8cf172214aa42e49cc20867
[ "MIT" ]
null
null
null
leetcode/cpp/1024-Video-Stitching.cpp
liu-chunhou/OnlineJudge
b79c8e05acf05411d8cf172214aa42e49cc20867
[ "MIT" ]
null
null
null
leetcode/cpp/1024-Video-Stitching.cpp
liu-chunhou/OnlineJudge
b79c8e05acf05411d8cf172214aa42e49cc20867
[ "MIT" ]
null
null
null
#include <vector> #include <algorithm> #include <climits> using namespace std; class Solution { public: int videoStitching(vector<vector<int>>& clips, int T) { sort(clips.begin(), clips.end(), cmp); vector<int> dp(clips.size(), INT_MAX); for(int i=0; i<dp.size(); ++i){ if(clips...
29.25
80
0.419872
liu-chunhou
5ce804db7fc3524a82d563a0c1d032abc8d28bf5
385
cpp
C++
dllmain.cpp
KingfuChan/MTEPlugIn-for-EuroScope
b81a3fed2fa040816ac3aa506957e00867a4a8d9
[ "MIT" ]
2
2021-08-20T00:44:45.000Z
2021-08-20T11:58:05.000Z
dllmain.cpp
KingfuChan/MTEPlugIn-for-EuroScope
b81a3fed2fa040816ac3aa506957e00867a4a8d9
[ "MIT" ]
null
null
null
dllmain.cpp
KingfuChan/MTEPlugIn-for-EuroScope
b81a3fed2fa040816ac3aa506957e00867a4a8d9
[ "MIT" ]
null
null
null
// dllmain.cpp #include "pch.h" #include <EuroScopePlugIn.h> #include "MTEPlugin.h" // Interface for EuroScope plugin loading CMTEPlugIn* pMyPlugIn = nullptr; void __declspec (dllexport) EuroScopePlugInInit(EuroScopePlugIn::CPlugIn** ppPlugInInstance) { *ppPlugInInstance = pMyPlugIn = new CMTEPlugIn; } void __decl...
20.263158
64
0.779221
KingfuChan
5ce986f280b8fc8774e0d83cc78a0df96956f283
4,922
hpp
C++
project2/include/mutex.hpp
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
11
2017-10-28T08:41:08.000Z
2021-06-24T07:24:21.000Z
project2/include/mutex.hpp
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
null
null
null
project2/include/mutex.hpp
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
4
2017-09-07T09:33:26.000Z
2021-02-19T07:45:08.000Z
#ifndef MUTEX_HPP #define MUTEX_HPP #include <queue> #include <list> #include <deque> #include <mutex> namespace thread { namespace safe { /* Mutex, implements Reader Writer Lock. It is compatible with std::mutex, std::shared_mutex, std::shared_timed_mutex and can be ...
30.196319
99
0.413653
jiunbae
5cea57b0d14eb3f46355bb2c743f568a69cfd616
1,646
hpp
C++
cpp/lazperf/detail/field_rgb10.hpp
gdt/laz-perf
916901f3583bd858e0e2e0cf4e628f27e78ea5e9
[ "Apache-2.0" ]
null
null
null
cpp/lazperf/detail/field_rgb10.hpp
gdt/laz-perf
916901f3583bd858e0e2e0cf4e628f27e78ea5e9
[ "Apache-2.0" ]
null
null
null
cpp/lazperf/detail/field_rgb10.hpp
gdt/laz-perf
916901f3583bd858e0e2e0cf4e628f27e78ea5e9
[ "Apache-2.0" ]
null
null
null
/* =============================================================================== PROGRAMMERS: martin.isenburg@rapidlasso.com - http://rapidlasso.com uday.karan@gmail.com - Hobu, Inc. COPYRIGHT: (c) 2007-2014, martin isenburg, rapidlasso - tools to catch reality (c) 2014, Uday Verma, Hobu...
22.861111
79
0.652491
gdt
5cead4436e4a6c550ce455ed588ff2c3a115c433
3,618
cc
C++
src/lib/tests/common_test.cc
cstrotm/queryperfpp
9afd7c5aa9dd908897b01e3f8a8686760356fd9b
[ "0BSD" ]
8
2015-12-27T18:44:41.000Z
2021-11-01T21:52:06.000Z
src/lib/tests/common_test.cc
cstrotm/queryperfpp
9afd7c5aa9dd908897b01e3f8a8686760356fd9b
[ "0BSD" ]
3
2016-04-29T14:31:46.000Z
2018-04-13T20:26:52.000Z
src/lib/tests/common_test.cc
cstrotm/queryperfpp
9afd7c5aa9dd908897b01e3f8a8686760356fd9b
[ "0BSD" ]
3
2015-02-06T04:23:59.000Z
2020-04-15T09:12:53.000Z
// Copyright (C) 2012 JINMEI Tatuya // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI...
38.903226
80
0.70398
cstrotm
5ceb934160a5eb54503219a74db963560d3bab57
1,158
cpp
C++
src/chart/main/layout.cpp
dyuri/vizzu-lib
e5eb4bee98445a85c0a6a61b820ad355851f38c8
[ "Apache-2.0" ]
1,159
2021-09-23T14:53:16.000Z
2022-03-30T21:23:41.000Z
src/chart/main/layout.cpp
dyuri/vizzu-lib
e5eb4bee98445a85c0a6a61b820ad355851f38c8
[ "Apache-2.0" ]
29
2021-10-05T13:28:01.000Z
2022-03-29T16:16:20.000Z
src/chart/main/layout.cpp
dyuri/vizzu-lib
e5eb4bee98445a85c0a6a61b820ad355851f38c8
[ "Apache-2.0" ]
47
2021-09-30T14:04:25.000Z
2022-02-21T16:01:58.000Z
#include "layout.h" #include "base/io/log.h" #include "chart/rendering/drawlabel.h" using namespace Vizzu; void Layout::setBoundary( const Geom::Rect &boundary, Gfx::ICanvas &) { this->boundary = boundary; } void Layout::setBoundary(const Geom::Rect &boundary, const Diag::Diagram &diagram, Gfx::ICanvas &...
24.125
69
0.702936
dyuri
5ceebbd0ad1dfd0b01b69773fd8490557562c8ad
2,735
cpp
C++
tests/unit/memory_with_allocator.test.cpp
eullerborges/flexclass
953eb84c5d106bdc1d321c5b979c423097ae50b8
[ "MIT" ]
27
2020-09-18T01:46:13.000Z
2021-10-30T21:33:58.000Z
tests/unit/memory_with_allocator.test.cpp
eullerborges/flexclass
953eb84c5d106bdc1d321c5b979c423097ae50b8
[ "MIT" ]
18
2020-10-01T23:49:26.000Z
2021-10-29T19:36:05.000Z
tests/unit/memory_with_allocator.test.cpp
eullerborges/flexclass
953eb84c5d106bdc1d321c5b979c423097ae50b8
[ "MIT" ]
4
2020-10-02T00:32:06.000Z
2020-10-25T16:26:13.000Z
#include <catch.hpp> #include <flexclass.hpp> #include <cstring> #include <unordered_map> struct AllocTrack { void* allocate(std::size_t sz) { m_allocd += sz; auto mem = ::operator new(sz); m_ptr2sz[(uintptr_t)mem] = sz; return mem; } void deallocate(void* ptr) { ...
23.577586
86
0.609872
eullerborges
5cf22eccaf2239ec953b9e42b226e398da99a1f8
3,701
cpp
C++
src/var_.cpp
hhijazi/PowerTools
daaa2d3e92be452f9c6e77e5c9fc446670fcfc84
[ "Apache-2.0" ]
15
2015-12-03T04:14:56.000Z
2021-09-03T23:56:23.000Z
src/var_.cpp
hhijazi/PowerTools
daaa2d3e92be452f9c6e77e5c9fc446670fcfc84
[ "Apache-2.0" ]
2
2016-05-09T05:27:56.000Z
2016-05-10T11:26:03.000Z
src/var_.cpp
hhijazi/PowerTools
daaa2d3e92be452f9c6e77e5c9fc446670fcfc84
[ "Apache-2.0" ]
11
2015-09-18T12:49:47.000Z
2021-05-20T21:53:26.000Z
// // var_.cpp // PowerTools++ // // Created by Hassan Hijazi on 20/12/2014. // Copyright (c) 2014 NICTA. All rights reserved. // #include <iostream> #include <stdio.h> #include <string> #include "PowerTools++/var.h" #include <PowerTools++/Constraint.h> using namespace std; var_::var_():var_(NULL, -1){}; var_::v...
17.879227
88
0.600919
hhijazi
5cf359b579d2951ae453f5f8eac80926e15aa167
4,098
cpp
C++
platforms/linux/Sem.cpp
ICESat2-SlideRule/sliderule
90776d7e174e151c5806077001f5f9c21ef81f48
[ "BSD-3-Clause" ]
2
2021-05-06T19:56:26.000Z
2021-05-27T16:41:56.000Z
platforms/linux/Sem.cpp
ICESat2-SlideRule/sliderule
90776d7e174e151c5806077001f5f9c21ef81f48
[ "BSD-3-Clause" ]
54
2021-03-30T18:45:12.000Z
2022-03-17T20:13:04.000Z
platforms/linux/Sem.cpp
ICESat2-SlideRule/sliderule
90776d7e174e151c5806077001f5f9c21ef81f48
[ "BSD-3-Clause" ]
1
2021-05-14T16:34:08.000Z
2021-05-14T16:34:08.000Z
/* * Copyright (c) 2021, University of Washington * 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...
33.867769
80
0.487555
ICESat2-SlideRule
5cf4139a0a9d3379409d0dc7a2653f14d1f1de64
774
cc
C++
src/views/controls/lookat.cc
StrayRobots/3d-annotation-tool
9b9e9487733326868708b441255bc84481f90264
[ "MIT" ]
27
2022-03-23T11:50:40.000Z
2022-03-31T11:08:38.000Z
src/views/controls/lookat.cc
StrayRobots/3d-annotation-tool
9b9e9487733326868708b441255bc84481f90264
[ "MIT" ]
1
2022-03-30T17:33:13.000Z
2022-03-30T17:33:13.000Z
src/views/controls/lookat.cc
StrayRobots/3d-annotation-tool
9b9e9487733326868708b441255bc84481f90264
[ "MIT" ]
null
null
null
#include <bx/math.h> #include "views/controls/lookat.h" #include "views/view.h" #include "geometry/mesh.h" #include "views/mesh_view.h" #include "shader_utils.h" #include "views/controls/control.h" #include "shader_utils.h" #include "geometry/mesh.h" #include "asset_utils.h" #include <iostream> namespace views::contro...
30.96
165
0.732558
StrayRobots
5cf5939f1184fc57a929bf4079a75277e251615c
1,283
cpp
C++
AtCoder/ABC156/Bouquet/main.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
1
2020-05-24T02:27:05.000Z
2020-05-24T02:27:05.000Z
AtCoder/ABC156/Bouquet/main.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
null
null
null
AtCoder/ABC156/Bouquet/main.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <fstream> #define DEV 1 using std::cin; using std::cout; using std::endl; using std::terminate; template<class T> inline T pow(T base, T exponent, T mod) { if (exponent == 0) return 1; if (exponent % 2 == 1) { return base * pow(base, exponent - 1, mod)...
16.448718
59
0.423227
t-mochizuki
5cf6d19204377680799ad3b8f7702a19d681c449
598
cc
C++
raytracer_oneweek/src/generate-ppm.cc
yans0ng/computer-graphics-is-fun
91667479e79968cdbc08de47f7fc91e8c42c600f
[ "MIT" ]
null
null
null
raytracer_oneweek/src/generate-ppm.cc
yans0ng/computer-graphics-is-fun
91667479e79968cdbc08de47f7fc91e8c42c600f
[ "MIT" ]
null
null
null
raytracer_oneweek/src/generate-ppm.cc
yans0ng/computer-graphics-is-fun
91667479e79968cdbc08de47f7fc91e8c42c600f
[ "MIT" ]
null
null
null
#include <fstream> int main() { const int nx = 200; const int ny = 100; std::ofstream image("hello.ppm"); image << "P3\n" << nx << " " << ny << "\n255\n"; for (int j = ny - 1; j >= 0; j--) { for (int i = 0; i < nx; i++) { float r = static_cast<float>(i) / static_cast<float>(nx); float g = sta...
28.47619
63
0.496656
yans0ng
5cf76ba0631dc5e4887d09ee7126e6d7acadb1c5
778
cc
C++
lib/sk/io/unix/PtySpecifics-posix.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
4
2019-02-19T16:48:41.000Z
2022-01-31T07:57:54.000Z
lib/sk/io/unix/PtySpecifics-posix.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
1
2019-01-30T04:48:35.000Z
2019-01-30T04:48:35.000Z
lib/sk/io/unix/PtySpecifics-posix.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
null
null
null
/* Copyright (c) 2006, Gennady Bystritsky <bystr@mac.com> * * Distributed under the MIT Licence. * This is free software. See 'LICENSE' for details. * You must read and accept the license prior to use. */ #include <sk/util/Class.h> #include <sk/util/String.h> #include <sk/util/SystemException.h> #include <sk/i...
22.228571
58
0.667095
stemkit-collection
9dc835e82e1a99177a73d51d1175d2a212b44043
1,292
cpp
C++
src/example/01_get_instance/get_instance.cpp
Fadis/vulkan_samples_2019
a2b4a73d4358c26843e9e23567bf6a57fbfe2af2
[ "MIT" ]
4
2019-09-07T06:54:27.000Z
2021-11-14T05:59:41.000Z
src/example/01_get_instance/get_instance.cpp
Fadis/vulkan_samples_2019
a2b4a73d4358c26843e9e23567bf6a57fbfe2af2
[ "MIT" ]
null
null
null
src/example/01_get_instance/get_instance.cpp
Fadis/vulkan_samples_2019
a2b4a73d4358c26843e9e23567bf6a57fbfe2af2
[ "MIT" ]
2
2019-11-12T05:38:07.000Z
2020-03-08T13:45:55.000Z
#include <vector> #include <vulkan/vulkan.hpp> #include <vw/config.h> #include <vw/glfw.h> int main( int argc, const char *argv[] ) { const auto configs = vw::parse_configs( argc, argv ); std::vector< const char* > ext; if( !configs.direct ) { vw::glfw::init(); uint32_t count = 0u; auto exts = glfwGe...
33.128205
80
0.68808
Fadis
9dc9e00a80bca5eab7ee6ad660e9cdf192e25980
387
hpp
C++
alphavantagecpp/include/alphavantagecpp/api/forex/FX_DAILY.hpp
mesinger/alphavantagecpp
2e97d602be6677f99ccff4fc241955f6e5a6dbb8
[ "MIT" ]
2
2019-11-05T22:15:09.000Z
2019-11-08T09:09:01.000Z
alphavantagecpp/include/alphavantagecpp/api/forex/FX_DAILY.hpp
mesinger/alphavantagecpp
2e97d602be6677f99ccff4fc241955f6e5a6dbb8
[ "MIT" ]
1
2019-11-10T14:34:45.000Z
2019-11-10T14:34:45.000Z
alphavantagecpp/include/alphavantagecpp/api/forex/FX_DAILY.hpp
mesinger/alphavantagecpp
2e97d602be6677f99ccff4fc241955f6e5a6dbb8
[ "MIT" ]
null
null
null
#pragma once #include "alphavantagecpp/api/AlphaVantageRequest.hpp" namespace av { class FX_DAILY : public AlphaVantageRequest { public: FX_DAILY(const std::string& from_symbol, const std::string& to_symbol, const std::string& key, const std::string& outputsize = API_OUTPUTSIZE_COMPACT, const std::string& data...
24.1875
202
0.754522
mesinger
9dcb155dfbe089a24669823e6d24875ad7a3545d
8,022
cpp
C++
test/wait_multiplexer_test.cpp
taylorb-microsoft/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
52
2017-01-05T23:39:38.000Z
2020-06-04T03:00:11.000Z
test/wait_multiplexer_test.cpp
morganstanley/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
24
2017-01-05T05:07:34.000Z
2018-03-09T00:50:58.000Z
test/wait_multiplexer_test.cpp
morganstanley/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
7
2016-12-27T20:55:20.000Z
2018-03-09T00:32:19.000Z
/* * Copyright 2016-2017 Morgan Stanley * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
30.044944
74
0.705061
taylorb-microsoft
9ddc4d762a329164c840f0ea3050dfa977d79ebf
1,869
cc
C++
src/bitmask/tasks/to_boolmask_gpu.cc
marcinz/legate.pandas
94c21c436f59c06cfba454c6569e9f5d7109d839
[ "Apache-2.0" ]
67
2021-04-12T18:06:55.000Z
2022-03-28T06:51:05.000Z
src/bitmask/tasks/to_boolmask_gpu.cc
marcinz/legate.pandas
94c21c436f59c06cfba454c6569e9f5d7109d839
[ "Apache-2.0" ]
2
2021-06-22T00:30:36.000Z
2021-07-01T22:12:43.000Z
src/bitmask/tasks/to_boolmask_gpu.cc
marcinz/legate.pandas
94c21c436f59c06cfba454c6569e9f5d7109d839
[ "Apache-2.0" ]
6
2021-04-14T21:28:00.000Z
2022-03-22T09:45:25.000Z
/* Copyright 2021 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
33.375
95
0.692884
marcinz
9ddef838b3b53ec5d2fd118be3d9920fe1dd8bd6
748
cpp
C++
HashTables/Isomorphic Strings.cpp
LynX-gh/LeetCode_Solutions
a0d03f8df0e120907bcdde94800587fcd4f05b60
[ "MIT" ]
null
null
null
HashTables/Isomorphic Strings.cpp
LynX-gh/LeetCode_Solutions
a0d03f8df0e120907bcdde94800587fcd4f05b60
[ "MIT" ]
null
null
null
HashTables/Isomorphic Strings.cpp
LynX-gh/LeetCode_Solutions
a0d03f8df0e120907bcdde94800587fcd4f05b60
[ "MIT" ]
null
null
null
class Solution { public: bool isIsomorphic(string s, string t) { // Maps to store encountered pairs unordered_map<char, char> hash_s_t, hash_t_s; // x[i] : y[i] for(int i = 0; i < s.length(); i++){ auto check_s = hash_s_t.find(s[i]); auto check_t = hash_t_s.f...
29.92
68
0.430481
LynX-gh
9de0011f9af3dbc5f874ac1745e768b5bb4a5c15
34
cpp
C++
lib-vs/src/core/external-srcs/output.cpp
FRC3407/VisionServer
a76fe1a35525950863f7809b65fa72286c26f622
[ "MIT" ]
2
2022-01-10T23:29:55.000Z
2022-03-04T12:36:45.000Z
lib-vs/src/core/external-srcs/output.cpp
FRC3407/VisionServer
a76fe1a35525950863f7809b65fa72286c26f622
[ "MIT" ]
null
null
null
lib-vs/src/core/external-srcs/output.cpp
FRC3407/VisionServer
a76fe1a35525950863f7809b65fa72286c26f622
[ "MIT" ]
1
2022-01-29T04:25:16.000Z
2022-01-29T04:25:16.000Z
// #include "tools/src/output.cpp"
34
34
0.705882
FRC3407
9de05338670faed0ba4acde4c12f4500001a0cca
1,614
cpp
C++
Codeforces-Gym/102082A/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Codeforces-Gym/102082A/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Codeforces-Gym/102082A/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 1010 vector<string> arr[SIZE]; bool cmp(const vector<string> & fst, const vector<string> & snd) { const auto isNum = [](const string & s) { return s[0] >= '0' && s[0] <= '9'; }; int siz = min(fst.size(), snd.size()); for (int i = 0; ...
29.345455
84
0.401487
codgician
9de5e902a4607854c3bc230c02958dbf367c35cf
22
cpp
C++
src/ErrLib.cpp
TechnikJ/ErrLib
eb2bd9d2b9a01b766a6363e5da737cdc64127940
[ "MIT" ]
null
null
null
src/ErrLib.cpp
TechnikJ/ErrLib
eb2bd9d2b9a01b766a6363e5da737cdc64127940
[ "MIT" ]
null
null
null
src/ErrLib.cpp
TechnikJ/ErrLib
eb2bd9d2b9a01b766a6363e5da737cdc64127940
[ "MIT" ]
null
null
null
#include "ErrLib.hpp"
11
21
0.727273
TechnikJ
9de65016062bc558bc3a7af8e38d1f278fd2d29a
16,133
cpp
C++
capture-node/source/capturenode.cpp
kbladin/ava-capture
2fc24f4a3712f721c3a229b499631e00697209a5
[ "BSD-3-Clause" ]
null
null
null
capture-node/source/capturenode.cpp
kbladin/ava-capture
2fc24f4a3712f721c3a229b499631e00697209a5
[ "BSD-3-Clause" ]
null
null
null
capture-node/source/capturenode.cpp
kbladin/ava-capture
2fc24f4a3712f721c3a229b499631e00697209a5
[ "BSD-3-Clause" ]
null
null
null
// Copyright (C) 2017 Electronic Arts Inc. All rights reserved. #include "capturenode.hpp" #include "ximeacameras.hpp" #include "hardwaresync.hpp" #include "drivebench.hpp" #include "json.hpp" #include "embedded_python.hpp" #include <boost/filesystem.hpp> #include <iomanip> #include <iostream> #include <iterator> ...
25.854167
178
0.694415
kbladin
9de7ddc7bd36ff6e2b93f967f0a59f43f57cf068
716
cpp
C++
Neural/src/Neural/Renderer/Renderer.cpp
cypexxjulius/Neural
34f2ff2128a530f0952f18d13b22dc5d8b935db8
[ "Apache-2.0" ]
null
null
null
Neural/src/Neural/Renderer/Renderer.cpp
cypexxjulius/Neural
34f2ff2128a530f0952f18d13b22dc5d8b935db8
[ "Apache-2.0" ]
null
null
null
Neural/src/Neural/Renderer/Renderer.cpp
cypexxjulius/Neural
34f2ff2128a530f0952f18d13b22dc5d8b935db8
[ "Apache-2.0" ]
null
null
null
#include "nlpch.h" #include "OrthographicCamera.h" #include "VertexArray.h" #include "Shader.h" #include "Renderer.h" namespace Neural { Renderer::SceneData* Renderer::s_SceneData = new Renderer::SceneData(); void Renderer::beginScene(OrthographicCamera& camera) { s_SceneData->ViewProjMatrix = camera.getViewP...
23.096774
114
0.747207
cypexxjulius
9de7e423b56ab16259a7246766ace8b77b58e830
2,353
cc
C++
gax/status.cc
software-dov/gapic-generator-cpp
c5898a519bd2765ff02e3e0303dbb09ac17b41a0
[ "Apache-2.0" ]
9
2019-03-14T16:00:58.000Z
2021-10-07T21:32:08.000Z
gax/status.cc
software-dov/gapic-generator-cpp
c5898a519bd2765ff02e3e0303dbb09ac17b41a0
[ "Apache-2.0" ]
43
2019-03-05T01:17:40.000Z
2020-07-18T03:43:21.000Z
gax/status.cc
software-dov/gapic-generator-cpp
c5898a519bd2765ff02e3e0303dbb09ac17b41a0
[ "Apache-2.0" ]
9
2019-03-01T16:19:32.000Z
2020-11-03T11:05:45.000Z
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
30.166667
80
0.699108
software-dov
9de83bffddba5a98e8c9d991b51dc1427923ad7d
486
cpp
C++
tests/layer.cpp
thechrisyoon08/NeuralNetworks
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
1
2018-12-30T05:11:59.000Z
2018-12-30T05:11:59.000Z
tests/layer.cpp
thechrisyoon08/sANNity
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
null
null
null
tests/layer.cpp
thechrisyoon08/sANNity
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
null
null
null
#include "../include/layer.h" #include <iostream> #include <vector> int main(){ neuralnet::Layer one(3, 4, "linear", "glorot"); neuralnet::Layer two(4, 3, "linear", "glorot"); std::vector<double> input = {0.3, 0.3, 1.0}; one.feed(input); std::cout << "\n"; one.pass_forward(two); std::cout <...
25.578947
51
0.545267
thechrisyoon08
9dec11e684cbcb2c69566eecc45d82e308e6172d
3,293
hxx
C++
main/canvas/source/directx/dx_config.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/canvas/source/directx/dx_config.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/canvas/source/directx/dx_config.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
38.290698
119
0.6116
Grosskopf
9dec2151ef932dff14ffb241142406884043063b
4,076
cpp
C++
res/generators/templates/api/shared/generated/stub/montana_stub_impl.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
173
2015-01-02T11:14:08.000Z
2022-03-05T09:54:54.000Z
res/generators/templates/api/shared/generated/stub/montana_stub_impl.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
263
2015-01-05T04:35:22.000Z
2021-09-07T06:00:02.000Z
res/generators/templates/api/shared/generated/stub/montana_stub_impl.cpp
watusi/rhodes
07161cca58ff6a960bbd1b79b36447b819bfa0eb
[ "MIT" ]
77
2015-01-12T20:57:18.000Z
2022-02-17T15:15:14.000Z
// // <%= $cur_module.name %>Impl.cpp #include "common/RhoStd.h" #include "common/AutoPointer.h" #include "common/RhodesApp.h" #include "common/RhoConf.h" #include "generated/cpp/<%= $cur_module.name %>Base.h" #include "logging/RhoLog.h" namespace rho { using namespace apiGenerator; using namespace commo...
33.138211
149
0.541708
mensfeld
9def3fd3ffc7eb2f837a211f0c8c437dd00270ea
7,690
cpp
C++
Boost/Boost/dateTime/location_indpendentTimes.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
1
2021-03-12T19:29:33.000Z
2021-03-12T19:29:33.000Z
Boost/Boost/dateTime/location_indpendentTimes.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
1
2019-03-13T01:36:12.000Z
2019-03-13T01:36:12.000Z
Boost/Boost/dateTime/location_indpendentTimes.cpp
goodspeed24e/Programming
ae73fad022396ea03105aad83293facaeea561ae
[ "MIT" ]
null
null
null
/* While boost::gregorian::date creates a date, boost::posix_time::ptime is u sed to define a location-independent time. boost::posix_time::ptime accesses boost::gregorian::date but stores a time in addition. In order to use boost::posix_time::ptime the header boost/date_time/posix_time/posix_time.hpp needs to be inc...
38.45
116
0.725488
goodspeed24e
9df100586cf19b6f3f183485a14b99a355b41ebf
9,057
cpp
C++
sourcecode/Runtime/NomValuePrimitiveCases.cpp
fabianmuehlboeck/monnom
609b307d9fa9e6641443f34dbcc0b035b34d3044
[ "BSD-3-Clause", "MIT" ]
2
2021-11-16T20:58:02.000Z
2021-12-05T18:15:41.000Z
sourcecode/Runtime/NomValuePrimitiveCases.cpp
fabianmuehlboeck/monnom
609b307d9fa9e6641443f34dbcc0b035b34d3044
[ "BSD-3-Clause", "MIT" ]
null
null
null
sourcecode/Runtime/NomValuePrimitiveCases.cpp
fabianmuehlboeck/monnom
609b307d9fa9e6641443f34dbcc0b035b34d3044
[ "BSD-3-Clause", "MIT" ]
null
null
null
//#include "NomValuePrimitiveCases.h" //#include "NomType.h" //#include "IntClass.h" //#include "FloatClass.h" //#include "NomClassType.h" //#include "Context.h" //#include "CompileHelpers.h" namespace Nom { namespace Runtime { /*void GeneratePrimitiveTypeCase(NomBuilder& builder, NomValue &value, []void(*handleIn...
42.924171
317
0.717125
fabianmuehlboeck
9df4ef4884be5f36159cb4f228ee0abe52d4865a
18,017
cpp
C++
MetroChart.cpp
majioa/metro
a75426fdbc23569330be842cb1f3b3fd8b2178a9
[ "MIT" ]
null
null
null
MetroChart.cpp
majioa/metro
a75426fdbc23569330be842cb1f3b3fd8b2178a9
[ "MIT" ]
null
null
null
MetroChart.cpp
majioa/metro
a75426fdbc23569330be842cb1f3b3fd8b2178a9
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "MetroChart.h" #pragma package(smart_init) //--------------------------------------------------------------------------- // ValidCtrCheck is used to assure that the components created do not...
35.962076
181
0.546206
majioa
9df64fb4a86a6e9eca441217b5ce8707fb221dc7
3,780
cpp
C++
main_app/src/mainapp.cpp
cracked-machine/BassStationSequencerSW
aefe63fa85440165dceb9cef65ec1a68a514ec02
[ "MIT" ]
null
null
null
main_app/src/mainapp.cpp
cracked-machine/BassStationSequencerSW
aefe63fa85440165dceb9cef65ec1a68a514ec02
[ "MIT" ]
21
2021-12-12T10:19:07.000Z
2022-03-11T13:42:13.000Z
main_app/src/mainapp.cpp
cracked-machine/BassStationSequencerSW
aefe63fa85440165dceb9cef65ec1a68a514ec02
[ "MIT" ]
null
null
null
// MIT License // Copyright (c) 2022 Chris Sutton // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, me...
30.983607
98
0.749735
cracked-machine
9df76540d7179aaef4dc1250d4c396d84784ab38
2,665
cpp
C++
src/OpcUaStackCore/Utility/CSV.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
src/OpcUaStackCore/Utility/CSV.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
src/OpcUaStackCore/Utility/CSV.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
/* Copyright 2016 Kai Huebl (kai@huebl-sgh.de) Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser Datei nur in Übereinstimmung mit der Lizenz erlaubt. Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0. Sofern nicht gemäß geltendem Recht vorgeschri...
20.343511
86
0.660788
gianricardo
9df95a8f14f8281fad16d08d19df2f078ae04ada
1,357
cpp
C++
lemonade2.3 (OrderManager)/OrderManager.cpp
sspony/stuff
25ab31954873cbbcfec6bf6dcb688e6433891f4e
[ "MIT" ]
null
null
null
lemonade2.3 (OrderManager)/OrderManager.cpp
sspony/stuff
25ab31954873cbbcfec6bf6dcb688e6433891f4e
[ "MIT" ]
null
null
null
lemonade2.3 (OrderManager)/OrderManager.cpp
sspony/stuff
25ab31954873cbbcfec6bf6dcb688e6433891f4e
[ "MIT" ]
null
null
null
#include "orderManager.h" OrderManager::OrderManager(std::vector<std::vector<std::string>>& csvData) { if (ITEM_LOG) std::clog << "\n\n***** [INFO] - OrderManager.cpp - OrderManager(....) START\n"; for (auto row : csvData) { try { orderList.push_back(std::move(Order(row))); } catch (const std:...
25.603774
131
0.551953
sspony
9dfef309c7718711bf3750e3a46ccae911a0c580
3,673
cpp
C++
mysqlparser/base/profiling.cpp
aasthakm/qapla
f98ca92adbca75fee28587e540b8c851809c7a62
[ "BSD-4-Clause" ]
4
2020-12-13T15:02:40.000Z
2021-07-16T06:23:38.000Z
mysqlparser/base/profiling.cpp
aasthakm/qapla
f98ca92adbca75fee28587e540b8c851809c7a62
[ "BSD-4-Clause" ]
null
null
null
mysqlparser/base/profiling.cpp
aasthakm/qapla
f98ca92adbca75fee28587e540b8c851809c7a62
[ "BSD-4-Clause" ]
null
null
null
/* * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; version 2 of the * License. * * This program is dist...
27.616541
105
0.544242
aasthakm
3b05356b87afe0ff0801412838c6c00b0dcea67c
33
cpp
C++
src/engine/flat_base.cpp
tanaka141/c10t
3cc0ac4cdb7f09767d16632539db747be8a3eb21
[ "BSD-3-Clause" ]
48
2015-01-27T15:18:23.000Z
2022-02-12T16:26:18.000Z
src/engine/flat_base.cpp
tanaka141/c10t
3cc0ac4cdb7f09767d16632539db747be8a3eb21
[ "BSD-3-Clause" ]
17
2015-12-16T04:26:12.000Z
2022-02-09T07:52:19.000Z
src/engine/flat_base.cpp
tanaka141/c10t
3cc0ac4cdb7f09767d16632539db747be8a3eb21
[ "BSD-3-Clause" ]
14
2015-01-16T00:15:44.000Z
2022-03-21T08:36:02.000Z
#include "engine/flat_base.hpp"
11
31
0.757576
tanaka141
3b090ed507ef27167514961d7f92299d9d309bc7
146
cpp
C++
src/entity_node.cpp
tfelix/bestia-godot
abb3fd66c169994725c7c66c50ad041b128d4359
[ "MIT" ]
null
null
null
src/entity_node.cpp
tfelix/bestia-godot
abb3fd66c169994725c7c66c50ad041b128d4359
[ "MIT" ]
null
null
null
src/entity_node.cpp
tfelix/bestia-godot
abb3fd66c169994725c7c66c50ad041b128d4359
[ "MIT" ]
null
null
null
#include "entity_node.h" namespace bestia { EntityNode::EntityNode() { } void EntityNode::_bind_methods() { } } // namespace bestia
11.230769
34
0.657534
tfelix
3b09664ea655aaff9008427a637829297e6aefe4
48,726
cpp
C++
compiler/codegen_llvm/lib/lumen/EIR/IR/EIROps.cpp
Tuxified/lumen
e0683aa6de440d1dfd8b7e590ab9742c0d1429b7
[ "Apache-2.0" ]
null
null
null
compiler/codegen_llvm/lib/lumen/EIR/IR/EIROps.cpp
Tuxified/lumen
e0683aa6de440d1dfd8b7e590ab9742c0d1429b7
[ "Apache-2.0" ]
null
null
null
compiler/codegen_llvm/lib/lumen/EIR/IR/EIROps.cpp
Tuxified/lumen
e0683aa6de440d1dfd8b7e590ab9742c0d1429b7
[ "Apache-2.0" ]
null
null
null
#include "lumen/EIR/IR/EIROps.h" #include "lumen/EIR/IR/EIRAttributes.h" #include "lumen/EIR/IR/EIRTypes.h" #include "mlir/Dialect/StandardOps/IR/Ops.h" #include "mlir/IR/Attributes.h" #include "mlir/IR/Builders.h" #include "mlir/IR/Diagnostics.h" #include "mlir/IR/FunctionImplementation.h" #include "mlir/IR/Matchers....
39.16881
80
0.627878
Tuxified
3b09f701844df2680a34a670cdd5bc400ebc5d6f
2,312
cpp
C++
lib/src/Delphi/Syntax/Expressions/DelphiAssignmentExpressionSyntax.cpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
null
null
null
lib/src/Delphi/Syntax/Expressions/DelphiAssignmentExpressionSyntax.cpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
50
2021-06-30T20:01:50.000Z
2021-11-28T16:21:26.000Z
lib/src/Delphi/Syntax/Expressions/DelphiAssignmentExpressionSyntax.cpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
null
null
null
#include "Delphi/Syntax/Expressions/DelphiAssignmentExpressionSyntax.hpp" #include <cassert> #include "interlinck/Core/Syntax/ISyntaxToken.hpp" #include "interlinck/Core/Syntax/SyntaxKinds.hpp" #include "Core/Support/SyntaxFactory.hpp" namespace interlinck::Delphi::Syntax { using Core::Support::SyntaxFactory; using n...
42.814815
136
0.660035
henrikfroehling
3b0a007766c0ce9bd10a33233ea1f12ada2d030d
1,526
cpp
C++
Nowcoder/890A/dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Nowcoder/890A/dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Nowcoder/890A/dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 510 int arr[SIZE]; double dp[2][SIZE][SIZE], dp1[SIZE][SIZE]; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int len, lowLim, uppLim; cin >> len >> lowLim >> uppLim; for (int i = 1; i <= len; i++) ...
31.791667
92
0.385321
codgician
3b11268763ec5d19dd4911723548dc1ea738580b
441
cpp
C++
luahost/main.cpp
motoyang/spdlogger4Lua
97e2dde72ca04e80aa1fbe8eba42daeb059dd518
[ "MIT" ]
null
null
null
luahost/main.cpp
motoyang/spdlogger4Lua
97e2dde72ca04e80aa1fbe8eba42daeb059dd518
[ "MIT" ]
null
null
null
luahost/main.cpp
motoyang/spdlogger4Lua
97e2dde72ca04e80aa1fbe8eba42daeb059dd518
[ "MIT" ]
null
null
null
#include "luahost_global.h" void lua_test1() { auto ls = Luapp::create(); ls->openLibs(); // 执行auto1.lua中定义的函数f ls->doFile("auto1.lua"); ls->dispatchToLua2("f", 1, 2.2, "3.3"); // 取回lua中函数f的执行结果 std::string resutl; ls->popN(resutl); std::cout << "this is c function: " << resutl <...
16.333333
63
0.569161
motoyang
3b16643df4e3eb0d916c11c50d2663a6ce64b818
566
cpp
C++
ch10/GuiTest/testableform.cpp
cjchng/Computer-Vision-with-OpenCV-3-and-Qt5
816dc4d827fcef91012bcf6804f086fafa0b74dc
[ "MIT" ]
273
2017-10-20T15:43:15.000Z
2022-03-29T14:56:45.000Z
ch10/GuiTest/testableform.cpp
cjchng/Computer-Vision-with-OpenCV-3-and-Qt5
816dc4d827fcef91012bcf6804f086fafa0b74dc
[ "MIT" ]
14
2018-01-27T00:19:18.000Z
2020-08-18T08:30:32.000Z
ch10/GuiTest/testableform.cpp
cjchng/Computer-Vision-with-OpenCV-3-and-Qt5
816dc4d827fcef91012bcf6804f086fafa0b74dc
[ "MIT" ]
169
2017-11-24T11:47:29.000Z
2022-03-21T12:54:47.000Z
#include "testableform.h" #include "ui_testableform.h" TestableForm::TestableForm(QWidget *parent) : QWidget(parent), ui(new Ui::TestableForm) { ui->setupUi(this); this->nextBtn = ui->nextBtn; this->infoLabel = ui->infoLabel; } TestableForm::~TestableForm() { delete ui; } void TestableForm::...
18.258065
53
0.611307
cjchng
3b21b9ea32d42ab68a8dad610d2bb7693fd0a746
1,317
cpp
C++
include/src/auton.cpp
Mao-Zedong1893/2019-2020-tower-takeover
6733b6e4780cb2230e9b5ca78747f167eb9f5d70
[ "MIT" ]
null
null
null
include/src/auton.cpp
Mao-Zedong1893/2019-2020-tower-takeover
6733b6e4780cb2230e9b5ca78747f167eb9f5d70
[ "MIT" ]
null
null
null
include/src/auton.cpp
Mao-Zedong1893/2019-2020-tower-takeover
6733b6e4780cb2230e9b5ca78747f167eb9f5d70
[ "MIT" ]
null
null
null
#include "main.h" #include "globals.hpp" #include "tray.h" #include "auton.hpp" void moveStaight(float objective) { int tickDistance = (objective/12.6)*900; while (rightFront.get_position () > objective) { pros::delay(10); leftBack.move_velocity(100); leftFront.move_velocity(100); rightBack.move_v...
19.367647
50
0.678815
Mao-Zedong1893
3b21bd14755131e3dcebfa779376ac5c4a64e77a
1,206
cc
C++
src/graphics/camera.cc
SkyVault/SkyVault
e8bd51049ca94f30bb2da77bd572ef11107bb5c1
[ "MIT" ]
1
2019-12-19T12:20:52.000Z
2019-12-19T12:20:52.000Z
src/graphics/camera.cc
SkyVault/SkyVault
e8bd51049ca94f30bb2da77bd572ef11107bb5c1
[ "MIT" ]
2
2019-01-23T21:18:11.000Z
2019-01-28T17:44:34.000Z
src/graphics/camera.cc
SkyVault/SkyVault
e8bd51049ca94f30bb2da77bd572ef11107bb5c1
[ "MIT" ]
null
null
null
#include "camera.h" Camera::Camera(int width, int height) { View = sf::View(sf::FloatRect(0, 0, width, height)); } void Camera::Resize(int width, int height) { } void Camera::Track(const sf::Vector2f& track_point, const float smoothing) { const auto delta_x = track_point.x - View.getCenter().x; ...
21.535714
76
0.533997
SkyVault
3b21fef232552c1f7d6603364ef84e7c25f1359e
2,691
hpp
C++
ublox_dgnss_node/include/ublox_dgnss_node/ubx/nav/ubx_nav_posllh.hpp
wouter-heerwegh/ublox_dgnss
31acafc8a71dfba639c4b6cd96c6ae617d2fad17
[ "Apache-2.0" ]
2
2021-07-21T20:03:21.000Z
2022-01-10T02:51:24.000Z
ublox_dgnss_node/include/ublox_dgnss_node/ubx/nav/ubx_nav_posllh.hpp
rossvonfange/ublox_dgnss
bb2b4829b8180fae05d6f8f9a0c6f04f072e356d
[ "Apache-2.0" ]
2
2021-07-21T16:38:26.000Z
2021-10-12T06:39:37.000Z
ublox_dgnss_node/include/ublox_dgnss_node/ubx/nav/ubx_nav_posllh.hpp
rossvonfange/ublox_dgnss
bb2b4829b8180fae05d6f8f9a0c6f04f072e356d
[ "Apache-2.0" ]
2
2021-09-10T14:11:01.000Z
2022-01-10T19:33:34.000Z
// Copyright 2021 Australian Robotics Supplies & Technology // // 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 a...
32.421687
75
0.668525
wouter-heerwegh
3b26ae330c4ccb3c928aac89c120041017df918b
961
hpp
C++
include/Nemu/WebFramework/Views.hpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
include/Nemu/WebFramework/Views.hpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
include/Nemu/WebFramework/Views.hpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
/* Copyright (c) 2019-2022 Xavier Leclercq Released under the MIT License See https://github.com/nemu-cpp/web-framework/blob/main/LICENSE.txt */ #ifndef _NEMU_CPP_WEBFRAMEWORK_VIEWS_HPP_ #define _NEMU_CPP_WEBFRAMEWORK_VIEWS_HPP_ #include "TemplateEngine.hpp" #include "TemplateEngineProfile.hpp" #include <...
24.641026
86
0.764828
nemu-cpp
3b2747c81729794c87adf3375c1dd4ded79070d9
6,202
cpp
C++
basecode/compiler/elements/argument_list.cpp
Alaboudi1/bootstrap
4ec4629424ad6fe70c84d95d79b2132f24832379
[ "MIT" ]
32
2018-05-14T23:26:54.000Z
2020-06-14T10:13:20.000Z
basecode/compiler/elements/argument_list.cpp
Alaboudi1/bootstrap
4ec4629424ad6fe70c84d95d79b2132f24832379
[ "MIT" ]
79
2018-08-01T11:50:45.000Z
2020-11-17T13:40:06.000Z
basecode/compiler/elements/argument_list.cpp
Alaboudi1/bootstrap
4ec4629424ad6fe70c84d95d79b2132f24832379
[ "MIT" ]
14
2021-01-08T05:05:19.000Z
2022-03-27T14:56:56.000Z
// ---------------------------------------------------------------------------- // // Basecode Bootstrap Compiler // Copyright (C) 2018 Jeff Panici // All rights reserved. // // This software source file is licensed under the terms of MIT license. // For details, please read the LICENSE file. // // --------------------...
31.323232
105
0.564495
Alaboudi1
3b2c9ac991b90af3c3521b9ee09e27621db29f9c
1,245
cpp
C++
src/delegates/MotionDelegate.cpp
borisblizzard/april
924a4fd770508bc87ac67b49b022c9905f94db32
[ "BSD-3-Clause" ]
null
null
null
src/delegates/MotionDelegate.cpp
borisblizzard/april
924a4fd770508bc87ac67b49b022c9905f94db32
[ "BSD-3-Clause" ]
null
null
null
src/delegates/MotionDelegate.cpp
borisblizzard/april
924a4fd770508bc87ac67b49b022c9905f94db32
[ "BSD-3-Clause" ]
null
null
null
/// @file /// @version 5.2 /// /// @section LICENSE /// /// This program is free software; you can redistribute it and/or modify it under /// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause #include <hltypes/hlog.h> #include <hltypes/hstring.h> #include "april.h" #include "MotionDelegate.h...
22.232143
81
0.73253
borisblizzard
3b2fff8646e8913a5ca90f43f1a3a63db19050df
5,641
cc
C++
UVa Online Judge/v126/12604.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
UVa Online Judge/v126/12604.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
UVa Online Judge/v126/12604.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
/*============================================================================= # Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/ # FileName: 12604.cc # Description: UVa Online Judge - 12604 =============================================================================*/ #include <bi...
27.517073
79
0.525261
mjenrungrot
3b370e9bb67836d1d3e4c8a5e2246318199be1ef
2,346
cpp
C++
SampleGame/Shrektris/Server.cpp
Mr-1337/CAGE
e99082676e83cc069ebf0859fcb34e5b96712725
[ "MIT" ]
null
null
null
SampleGame/Shrektris/Server.cpp
Mr-1337/CAGE
e99082676e83cc069ebf0859fcb34e5b96712725
[ "MIT" ]
null
null
null
SampleGame/Shrektris/Server.cpp
Mr-1337/CAGE
e99082676e83cc069ebf0859fcb34e5b96712725
[ "MIT" ]
1
2019-06-16T19:00:31.000Z
2019-06-16T19:00:31.000Z
#include "Server.hpp" #include "Lobby.hpp" #include "Gameplay.hpp" void Server::processPacket(UDPpacket* packet) { bool val = false; using namespace cage::networking::packets; using namespace cage::networking; unsigned char* bytes = packet->data; std::cout << "got packets\n\n"; switch ((PacketType)bytes[0]) ...
22.342857
124
0.702046
Mr-1337
3b385a4fdb3c2d032b8bbbca10e99d8246155de2
1,348
cpp
C++
Source/RPG/RPGGameInstance.cpp
oxmoss/TutoRPGUE
f19a279bc11052de85d388ebe53656ecd43a5027
[ "MIT" ]
null
null
null
Source/RPG/RPGGameInstance.cpp
oxmoss/TutoRPGUE
f19a279bc11052de85d388ebe53656ecd43a5027
[ "MIT" ]
null
null
null
Source/RPG/RPGGameInstance.cpp
oxmoss/TutoRPGUE
f19a279bc11052de85d388ebe53656ecd43a5027
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "RPGGameInstance.h" void URPGGameInstance::Init() { if(this->isInitialized) return; this->isInitialized = true; this->PartyMembers.Empty(); // locate characters asset UDataTable* characters = Cast<UDataTable>(StaticLoadOb...
25.433962
180
0.717359
oxmoss
3b3875a0350a152029346ce1581512ebd3eafffa
7,736
cpp
C++
src/prod/src/Store/StoreFactory.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
1
2020-06-15T04:33:36.000Z
2020-06-15T04:33:36.000Z
src/prod/src/Store/StoreFactory.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
src/prod/src/Store/StoreFactory.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
33.059829
134
0.62668
vishnuk007
3b40315f5db009823ace73b790ffaa600706f4af
890
cpp
C++
BashuOJ-Code/5135.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/5135.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/5135.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<iomanip> #include<cmath> #include<algorithm> #include<cstring> #include<cstdlib> #include<vector> #include<queue> #include<stack> #define ri register int #define ll long long using namespace std; stack<int>s; const int MAXN=1000005; int n,a[MAXN],Max[MAXN]; inline int GetInt...
20.697674
72
0.61573
magicgh
3b42d6a331948f8c24427f2268dd26920f63756f
1,931
cc
C++
count/empirical_data_test.cc
hmusta/libcount
5208c9fccb97e7eae089740a70f9f3ad82ae3ac1
[ "Apache-2.0" ]
20
2017-01-17T11:57:46.000Z
2022-02-19T01:24:03.000Z
count/empirical_data_test.cc
hmusta/libcount
5208c9fccb97e7eae089740a70f9f3ad82ae3ac1
[ "Apache-2.0" ]
3
2016-01-30T18:49:48.000Z
2017-03-07T18:17:33.000Z
count/empirical_data_test.cc
hmusta/libcount
5208c9fccb97e7eae089740a70f9f3ad82ae3ac1
[ "Apache-2.0" ]
4
2016-01-30T18:43:10.000Z
2020-02-22T09:03:25.000Z
// Copyright 2015 The libcount 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 or agre...
34.482143
77
0.706888
hmusta
3b4389f9f98c323f7fbca4e9591af692afb0f075
217
cpp
C++
android-31/android/provider/Telephony.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/provider/Telephony.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/provider/Telephony.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./Telephony.hpp" namespace android::provider { // Fields // QJniObject forward Telephony::Telephony(QJniObject obj) : JObject(obj) {} // Constructors // Methods } // namespace android::provider
14.466667
55
0.691244
YJBeetle
8dc7d438cc625a211906a4000fb850da04d38323
2,251
cpp
C++
Source/Visualizers/VisualizerWaveform.cpp
MatthewCech/ASCIIPlayer
8c0948fcf10320f156fdecb34a526cf71f9484f9
[ "BSD-3-Clause" ]
5
2018-02-03T19:49:30.000Z
2020-09-07T12:29:19.000Z
Source/Visualizers/VisualizerWaveform.cpp
MatthewCech/ASCIIPlayer
8c0948fcf10320f156fdecb34a526cf71f9484f9
[ "BSD-3-Clause" ]
9
2018-02-27T06:37:12.000Z
2020-03-25T05:43:56.000Z
Source/Visualizers/VisualizerWaveform.cpp
MatthewCech/ASCIIPlayer
8c0948fcf10320f156fdecb34a526cf71f9484f9
[ "BSD-3-Clause" ]
2
2018-02-09T06:47:21.000Z
2019-05-12T07:04:01.000Z
#include "VisualizerWaveform.hpp" #include <Core\AudioSystem.hpp> namespace ASCIIPlayer { // Constructor VisualizerWaveform::VisualizerWaveform() : ASCIIVisualizer(CONSOLE_WIDTH_FUNC, AUDIODATA_WAVEFORM) , startingWidth_(CONSOLE_WIDTH_FUNC) , width_(startingWidth_) , height_(CONSOLE_HEIGHT_FUNC) ...
37.516667
173
0.666371
MatthewCech
8dcb96f88cc32640d0f188192200e2345d7d29ab
1,363
cpp
C++
15/15.42/main.cpp
kousikpramanik/C-_Primer_5th
e21fb665f04b26193fc13f9c2c263b782aea3f3c
[ "MIT" ]
null
null
null
15/15.42/main.cpp
kousikpramanik/C-_Primer_5th
e21fb665f04b26193fc13f9c2c263b782aea3f3c
[ "MIT" ]
2
2020-08-15T17:33:00.000Z
2021-07-05T14:18:26.000Z
15/15.42/main.cpp
kousikpramanik/C-_Primer_5th
e21fb665f04b26193fc13f9c2c263b782aea3f3c
[ "MIT" ]
1
2020-08-15T17:24:54.000Z
2020-08-15T17:24:54.000Z
#include <iostream> #include <cstdlib> #include <fstream> #include "TextQuery.h" #include <vector> #include "Query.h" #include <string> #include "Query_parser.h" #include <utility> #include <stdexcept> int main(int argc, char *argv[]) { if (argc != 2) { std::cerr << "USAGE: " << argv[0] << " [FILE]\n"; ...
31.697674
91
0.596478
kousikpramanik
8dd4142d71c7aff9701617d4aea6421d6c0dab3d
463
cpp
C++
lib/src/btj_global_pointers.cpp
GValiente/botijo
ed00a2843e65a489febb838e452790db8e4ec2c8
[ "MIT" ]
1
2020-11-17T09:07:26.000Z
2020-11-17T09:07:26.000Z
lib/src/btj_global_pointers.cpp
GValiente/botijo
ed00a2843e65a489febb838e452790db8e4ec2c8
[ "MIT" ]
null
null
null
lib/src/btj_global_pointers.cpp
GValiente/botijo
ed00a2843e65a489febb838e452790db8e4ec2c8
[ "MIT" ]
1
2018-11-15T08:23:11.000Z
2018-11-15T08:23:11.000Z
/* * botijo (c) 2018 Gustavo Valiente gustavo.valiente.m@gmail.com * * MIT License, see LICENSE file. */ #include "btj_global_pointers.h" #include "btj_graphics_impl.h" namespace btj { GlobalPointers gb; void GlobalPointers::setup(Core* _core, GraphicsImpl* _graphics, KeyboardImpl* _keyboard) noexcept { c...
17.807692
98
0.706263
GValiente
8ddb1eefbaa49f99581ee9a277aa72d843cf64ea
2,888
cpp
C++
receivefile.cpp
shuzibanshou/woniu
c668ec81813207473f366248f21e7a39e246c32c
[ "MIT" ]
null
null
null
receivefile.cpp
shuzibanshou/woniu
c668ec81813207473f366248f21e7a39e246c32c
[ "MIT" ]
null
null
null
receivefile.cpp
shuzibanshou/woniu
c668ec81813207473f366248f21e7a39e246c32c
[ "MIT" ]
null
null
null
#include "receivefile.h" #include "ui_receivefile.h" receiveFile::receiveFile(QWidget *parent) : QDialog(parent),ui(new Ui::Dialog) { //ui一定要记得初始化 ui->setupUi(this); //禁用窗口右上角关闭按钮 //this->setWindowFlag(Qt::WindowCloseButtonHint, false); connect(this, SIGNAL(acceptFile()), parent, SLOT(acceptFile())...
22.215385
108
0.66759
shuzibanshou
8ddd1b8998321dc6e68d8528ae3b071036d83f0a
249
cpp
C++
MonteCarlo_option_obj/EuroCall.cpp
harshvardhan-ranvir-singh/CPP-Design-For-Quantitative-Finance
7d42fef013768d1520cf6f3fc4a642ea2ab2deae
[ "MIT" ]
null
null
null
MonteCarlo_option_obj/EuroCall.cpp
harshvardhan-ranvir-singh/CPP-Design-For-Quantitative-Finance
7d42fef013768d1520cf6f3fc4a642ea2ab2deae
[ "MIT" ]
null
null
null
MonteCarlo_option_obj/EuroCall.cpp
harshvardhan-ranvir-singh/CPP-Design-For-Quantitative-Finance
7d42fef013768d1520cf6f3fc4a642ea2ab2deae
[ "MIT" ]
1
2021-09-22T12:18:45.000Z
2021-09-22T12:18:45.000Z
// // Created by Harshvardhan Singh on 23/10/2021. // #include "EuroCall.h" #include <algorithm> // for std::max EuroCall::EuroCall(double X, double T) : X_(X), T_(T) {} double EuroCall::ComputePO(double S) { return std::max(0.0, S - X_); }
16.6
56
0.64257
harshvardhan-ranvir-singh
8ddd37180f7fadced7f81f971c7fbffe04b9d9ac
1,355
hpp
C++
projects/seronet-spawner/controllers/box_creator/utils/CoordinationRESTServer.hpp
cyberbotics/webots-projects
bd0c62dc2a0ba47362127e916e6850115e477cd4
[ "Apache-2.0" ]
null
null
null
projects/seronet-spawner/controllers/box_creator/utils/CoordinationRESTServer.hpp
cyberbotics/webots-projects
bd0c62dc2a0ba47362127e916e6850115e477cd4
[ "Apache-2.0" ]
6
2021-06-03T09:16:28.000Z
2021-10-04T16:05:03.000Z
projects/seronet-spawner/controllers/box_creator/utils/CoordinationRESTServer.hpp
cyberbotics/webots-projects
bd0c62dc2a0ba47362127e916e6850115e477cd4
[ "Apache-2.0" ]
null
null
null
/* * CoordinationRESTServer.hpp * * Created on: Aug 13, 2020 * Author: alexej */ #ifndef SMARTSOFT_SRC_COORDINATIONRESTSERVER_HPP_ #define SMARTSOFT_SRC_COORDINATIONRESTSERVER_HPP_ #include "Box.hpp" #include "cpprest/http_listener.h" class CoordinationRESTServer { private: web::http::experimental::list...
28.829787
78
0.747601
cyberbotics
8ddd6e78187b0be16bc9e4048f9bf4029bb75ab3
1,008,189
inl
C++
modules/aho/inl/nl/lexrep/MatchSet.inl
vishalbelsare/iknow
905a6227257d1e96d7c3308d446a02b44a5f6710
[ "MIT" ]
null
null
null
modules/aho/inl/nl/lexrep/MatchSet.inl
vishalbelsare/iknow
905a6227257d1e96d7c3308d446a02b44a5f6710
[ "MIT" ]
1
2020-11-23T19:17:19.000Z
2020-11-23T19:43:09.000Z
modules/aho/inl/nl/lexrep/MatchSet.inl
vishalbelsare/iknow
905a6227257d1e96d7c3308d446a02b44a5f6710
[ "MIT" ]
1
2022-02-03T02:58:29.000Z
2022-02-03T02:58:29.000Z
0, 0,0,0,0,0,0,147,0,0,0,0,0,147,0,0,0,0,0,147,0,0,0,0,0,147,0,0,0,0,0,147,0,0,0,0,0,147,0,0,0,0,0,147,0,0,0,0,0,147,0,0,0,0,0,0,147,0,0,0,0,0,0,0,0,0,0,809,0,0,0,0,0,0,0,0,0,0,809,0,0,0,0,0,0,0,0,0,0,809,0,0,0,0,0,0,0,0,0,0,809,0,0,0,0,0,0,0,0,0,0,809,0,0,0,0,0,0,0,0,0,0,809,0,0,0,0,0,0,0,0,0,0,809,0,0,0,0,0,0,0,0,0,0...
744.600443
1,097
0.655691
vishalbelsare
8dde5800aa8ff2b8719c920b08f09548dc663083
6,605
hpp
C++
Result.hpp
mercere99/Wordle
cbfc104f049f0737422d3f90e3decfb96df8e8e0
[ "MIT" ]
null
null
null
Result.hpp
mercere99/Wordle
cbfc104f049f0737422d3f90e3decfb96df8e8e0
[ "MIT" ]
null
null
null
Result.hpp
mercere99/Wordle
cbfc104f049f0737422d3f90e3decfb96df8e8e0
[ "MIT" ]
null
null
null
#ifndef WORDLE_RESULT_HPP #define WORDLE_RESULT_HPP #include "emp/base/array.hpp" #include "emp/base/error.hpp" #include "emp/bits/BitVector.hpp" #include "emp/math/math.hpp" class Result { public: static constexpr size_t MAX_WORD_SIZE = 15; enum PositionResult { NOWHERE, ELSEWHERE, HERE, NONE }; // Return the...
37.528409
107
0.609084
mercere99
8dde639de721ad96d24406ac96ce80366761bd29
683
cpp
C++
AdvancedMap/kern_start.cpp
notjosh/AdvancedMap
dcbf81aa2e0fa1746555bbe4c256468faf4f5bce
[ "MIT" ]
5
2021-09-18T13:46:28.000Z
2021-11-02T17:39:39.000Z
AdvancedMap/kern_start.cpp
notjosh/AdvancedMap
dcbf81aa2e0fa1746555bbe4c256468faf4f5bce
[ "MIT" ]
1
2021-09-18T13:37:34.000Z
2021-09-18T13:37:34.000Z
AdvancedMap/kern_start.cpp
notjosh/AdvancedMap
dcbf81aa2e0fa1746555bbe4c256468faf4f5bce
[ "MIT" ]
null
null
null
#include <Headers/plugin_start.hpp> #include <Headers/kern_api.hpp> #include "AdvancedMap.hpp" static AdvancedMapPlugin advancedMap; static const char *bootargOff[] { "-advmapoff" }; static const char *bootargDebug[] { "-advmapdbg" }; static const char *bootargBeta[] { "-advmapbeta" }; PluginConfigura...
18.459459
51
0.686676
notjosh
8de1da8392aa067370b5def08c1e257f51b56be8
13,165
cpp
C++
11_learning_materials/stanford_self_driving_car/perception/point_cloud_mapping/src/cloud_geometry/transforms.cpp
EatAllBugs/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
14
2021-09-01T14:25:45.000Z
2022-02-21T08:49:57.000Z
11_learning_materials/stanford_self_driving_car/perception/point_cloud_mapping/src/cloud_geometry/transforms.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
null
null
null
11_learning_materials/stanford_self_driving_car/perception/point_cloud_mapping/src/cloud_geometry/transforms.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
3
2021-10-10T00:58:29.000Z
2022-01-23T13:16:09.000Z
/* * Copyright (c) 2008 Radu Bogdan Rusu <rusu -=- cs.tum.edu> * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright *...
39.534535
162
0.617547
EatAllBugs
8de77de2a0eb078c675441f27e08f562f9ebbcf3
9,761
cxx
C++
src/sound/sn76477.cxx
ascottix/tickle
de3b7df8a6e719b7682398ac689a7e439b40876f
[ "MIT" ]
1
2021-05-31T21:09:50.000Z
2021-05-31T21:09:50.000Z
src/sound/sn76477.cxx
ascottix/tickle
de3b7df8a6e719b7682398ac689a7e439b40876f
[ "MIT" ]
null
null
null
src/sound/sn76477.cxx
ascottix/tickle
de3b7df8a6e719b7682398ac689a7e439b40876f
[ "MIT" ]
null
null
null
/* SN76477 sound chip emulation Copyright (c) 2004-2010,2011 Alessandro Scotti */ #include <math.h> #include "sn76477.h" const unsigned LFSR_MASK = 0x30009; const double MaxExternalVcoControl = 2.35; SN76477::SN76477() { sampling_rate_ = 0; enabled_ = false; env_c_ = 0; // Not co...
27.038781
126
0.543797
ascottix
8de97b764a2778f7bfebe27086f3dde0b2f939e0
176
hpp
C++
include/di/systems/vr/eye.hpp
acdemiralp/nano_engine
64069cf300af574efb0c979dbc97eb0a03cdc7a3
[ "MIT" ]
4
2021-02-24T14:13:47.000Z
2022-02-06T12:02:24.000Z
include/di/systems/vr/eye.hpp
acdemiralp/nano_engine
64069cf300af574efb0c979dbc97eb0a03cdc7a3
[ "MIT" ]
1
2018-01-06T11:52:16.000Z
2018-01-06T11:52:16.000Z
include/di/systems/vr/eye.hpp
acdemiralp/nano_engine
64069cf300af574efb0c979dbc97eb0a03cdc7a3
[ "MIT" ]
2
2018-02-11T14:51:17.000Z
2021-02-24T14:13:49.000Z
#ifndef DI_SYSTEMS_VR_EYE_HPP_ #define DI_SYSTEMS_VR_EYE_HPP_ #include <openvr.h> namespace di { enum class eye { left = vr::Eye_Left, right = vr::Eye_Right }; } #endif
11.733333
30
0.727273
acdemiralp
8defcde9cd7b691147616742be87f8857600f3b3
2,401
cpp
C++
lib/cpp/ScopedLock.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
1
2021-09-12T21:05:45.000Z
2021-09-12T21:05:45.000Z
lib/cpp/ScopedLock.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
2
2020-01-24T18:00:15.000Z
2020-02-03T21:15:54.000Z
lib/cpp/ScopedLock.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
2
2020-06-15T16:27:58.000Z
2021-09-12T21:05:49.000Z
///////////////////////////////////////////////////////////////////////////////////// /// /// @file /// @author Kuba Sejdak /// @copyright BSD 2-Clause License /// /// Copyright (c) 2020-2021, Kuba Sejdak <kuba.sejdak@gmail.com> /// All rights reserved. /// /// Redistribution and use in source and binary forms, with or...
29.280488
85
0.658892
kubasejdak
8df04528bcf273f29788f3b005a2c47c41ce48f7
9,028
cpp
C++
Project/Tiger/src/Env.cpp
TheNetAdmin/tiger-compiler
ef09e538d23c0f59910d651cf6e1ea63a96d3112
[ "MIT" ]
4
2018-09-18T03:46:51.000Z
2020-08-19T09:40:16.000Z
Project/Tiger/src/Env.cpp
TheNetAdmin/tiger-compiler
ef09e538d23c0f59910d651cf6e1ea63a96d3112
[ "MIT" ]
null
null
null
Project/Tiger/src/Env.cpp
TheNetAdmin/tiger-compiler
ef09e538d23c0f59910d651cf6e1ea63a96d3112
[ "MIT" ]
4
2018-02-15T21:02:10.000Z
2022-03-03T14:16:01.000Z
// // Created by PrinceXuan on 2017/5/30. // #include "Env.h" namespace Env { Entry::Entry() { name = "NotDefined"; } Entry::Entry(const std::string &name) : name(name) {} void Entry::setName(const std::string &name) { Entry::name = name; ...
29.79538
119
0.51739
TheNetAdmin
8df5b12f2f17060a6e07c79700118dc8448465eb
1,706
hpp
C++
include/test/channelmanager.hpp
AnotherFoxGuy/settings
cc2fb43ad515e8ff7349e2eb4ddeb3fb96337b1a
[ "MIT" ]
3
2017-09-05T12:25:52.000Z
2021-06-20T12:50:22.000Z
include/test/channelmanager.hpp
AnotherFoxGuy/settings
cc2fb43ad515e8ff7349e2eb4ddeb3fb96337b1a
[ "MIT" ]
9
2017-04-07T19:03:58.000Z
2020-08-15T14:02:29.000Z
lib/settings/include/test/channelmanager.hpp
Functioneel/chatterino7
81a52498b6850626223f96fa81c3e847c23ee25d
[ "MIT" ]
3
2018-05-27T22:07:09.000Z
2021-02-12T12:44:46.000Z
#pragma once #include "test/channel.hpp" #include <array> namespace pajlada { namespace test { constexpr int NUM_CHANNELS = 5; class ChannelManager { public: ChannelManager() : channels{{ {0}, // {1}, // {2}, // {3}, // {4} /*,...
22.155844
54
0.178781
AnotherFoxGuy
8df82a537651fe0caf9056a68c83fe5747015e77
12,829
cpp
C++
Jx3Full/Source/Source/Server/KG_AgentServer/KG_AgentGateway.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
2
2021-07-31T15:35:01.000Z
2022-02-28T05:54:54.000Z
Jx3Full/Source/Source/Server/KG_AgentServer/KG_AgentGateway.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
null
null
null
Jx3Full/Source/Source/Server/KG_AgentServer/KG_AgentGateway.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
5
2021-02-03T10:25:39.000Z
2022-02-23T07:08:37.000Z
//////////////////////////////////////////////////////////////////////////////// // // FileName : KG_AgentGateway.cpp // Version : 1.0 // Creator : tongxuehu, zoukewei // Create Date : 01/11/2007 // Comment : // // Copyright (C) 2007 - All Rights Reserved ///////////////////////////////...
26.451546
115
0.635903
RivenZoo
8dfcdfd164816a9437725701fc407555d961a4b2
5,318
hpp
C++
Axis/Graphics/Include/Axis/RenderPass.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
1
2022-01-23T14:51:51.000Z
2022-01-23T14:51:51.000Z
Axis/Graphics/Include/Axis/RenderPass.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
null
null
null
Axis/Graphics/Include/Axis/RenderPass.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
1
2022-01-10T21:01:54.000Z
2022-01-10T21:01:54.000Z
/// \copyright Simmypeet - Copyright (C) /// This file is subject to the terms and conditions defined in /// file 'LICENSE', which is part of this source code package. #ifndef AXIS_GRAPHICS_RENDERPASS_HPP #define AXIS_GRAPHICS_RENDERPASS_HPP #pragma once #include "../../../System/Include/Axis/Li...
33.872611
135
0.723956
SimmyPeet
8dfd31b4a4284561e2be3c8249c39aa883893e2e
13,223
cpp
C++
src/lib/client/CommandVolumeRequestBases.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
1
2021-05-21T21:10:09.000Z
2021-05-21T21:10:09.000Z
src/lib/client/CommandVolumeRequestBases.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
12
2021-06-12T16:42:30.000Z
2022-02-01T18:44:42.000Z
src/lib/client/CommandVolumeRequestBases.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018-2021 Grant Erickson * 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...
36.029973
88
0.557362
gerickson
5c00b2c022f8defc64c07d892b5f42eb3bea012d
2,557
cpp
C++
src/playercastspellaction.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
1
2018-05-11T16:09:35.000Z
2018-05-11T16:09:35.000Z
src/playercastspellaction.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
null
null
null
src/playercastspellaction.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
null
null
null
#include <sstream> #include "logging/log.h" #include "playercastspellaction.h" PlayerCastSpellAction::PlayerCastSpellAction(Player& player, Monster& monster) : CastSpellAction(player, monster), spellChooser(player.getSpellsForLocale(BATTLE), player) { } bool PlayerCastSpellAction::setupSpellChoice() { //postco...
27.793478
123
0.737583
mikelukas
5c02228ba5fec5340a9531313f1c63cb67e9ead2
1,263
cpp
C++
Pattern printing/Letter_M.cpp
acheiveer/CPP-Questions-and-Solutions
17097bfb25a75568122ce313d571cb473d55fdf3
[ "MIT" ]
42
2021-09-26T18:02:52.000Z
2022-03-15T01:52:15.000Z
Pattern printing/Letter_M.cpp
acheiveer/CPP-Questions-and-Solutions
17097bfb25a75568122ce313d571cb473d55fdf3
[ "MIT" ]
404
2021-09-24T19:55:10.000Z
2021-11-03T05:47:47.000Z
Pattern printing/Letter_M.cpp
acheiveer/CPP-Questions-and-Solutions
17097bfb25a75568122ce313d571cb473d55fdf3
[ "MIT" ]
140
2021-09-22T20:50:04.000Z
2022-01-22T16:59:09.000Z
/* CPP Program to print Letter M ##@@ @@## ## @@ @@ ## ## @@ @@ ## ## ## ## ## ## ## ## ## ## ## ## Letter M can be broken down into 3 parts - full length first ## column - half length V letter - full length last ## column */ #include <bits/stdc++.h> using na...
20.047619
72
0.441013
acheiveer
5c055bd69d4f9e223b296493ef7ba41c2b4af786
275
cpp
C++
cheats/hooks/getColorModulation.cpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
54
2021-11-15T13:39:51.000Z
2022-03-21T17:13:28.000Z
cheats/hooks/getColorModulation.cpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
24
2021-11-08T06:59:34.000Z
2022-03-17T05:17:03.000Z
cheats/hooks/getColorModulation.cpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
10
2021-11-10T06:52:14.000Z
2022-02-02T17:09:20.000Z
#include "hooks.hpp" #include "../features/visuals/world.hpp" #include "../globals.hpp" void __fastcall hooks::getColorModulation::hooked(FAST_ARGS, float* r, float* g, float* b) { original(thisptr, r, g, b); world.modulateWorld(thisptr, r, g, b, globals::isShutdown); }
25
90
0.709091
Bartis1313
5c0ac75b32a66adc18b5512fff9b0f1fd971c214
464
cpp
C++
cpp/70_climbing_stairs.cpp
dchapp/blind75
aaa409cf2db4ef6d0f86177f4217eceeb391caa8
[ "MIT" ]
null
null
null
cpp/70_climbing_stairs.cpp
dchapp/blind75
aaa409cf2db4ef6d0f86177f4217eceeb391caa8
[ "MIT" ]
null
null
null
cpp/70_climbing_stairs.cpp
dchapp/blind75
aaa409cf2db4ef6d0f86177f4217eceeb391caa8
[ "MIT" ]
null
null
null
class Solution { public: int climbStairs(int n) { for (int i=0; i<memo.size(); ++i) { memo[i] = -1; } memo[0] = 1; memo[1] = 2; return worker(n); } private: int worker(int n) { const auto idx = n-1; if (memo[idx] == -1) { const ...
21.090909
55
0.426724
dchapp
5c0b2e728bda762e0156bc0a624df0de9de774cf
1,834
cpp
C++
src/authentication.cpp
rampageX/azure-http-proxy
260cef1304bf266896ee4ae693418258535745fb
[ "MIT" ]
213
2015-02-07T06:26:07.000Z
2022-02-27T08:24:04.000Z
src/authentication.cpp
rampageX/azure-http-proxy
260cef1304bf266896ee4ae693418258535745fb
[ "MIT" ]
15
2015-02-22T10:53:35.000Z
2018-08-25T09:12:34.000Z
src/authentication.cpp
rampageX/azure-http-proxy
260cef1304bf266896ee4ae693418258535745fb
[ "MIT" ]
92
2015-02-16T12:29:47.000Z
2020-10-20T12:00:49.000Z
/* * authentication.cpp: * * Copyright (C) 2015 limhiaoing <blog.poxiao.me> All Rights Reserved. * */ #include <algorithm> #include <iterator> #include "authentication.hpp" #include "base64.hpp" namespace azure_proxy { authentication::authentication() { } auth_result authentication::a...
26.57971
125
0.649945
rampageX
5c0ba5b5964f18b5de9d8faccdd0f004e10969a2
6,346
cpp
C++
interfaces/native_cpp/nfc_standard/src/sdk-reader/src/ndef_tag.cpp
dawmlight/communication_nfc
84a10d69eb9cb3128e864230c53d5a5e6660dfb9
[ "Apache-2.0" ]
null
null
null
interfaces/native_cpp/nfc_standard/src/sdk-reader/src/ndef_tag.cpp
dawmlight/communication_nfc
84a10d69eb9cb3128e864230c53d5a5e6660dfb9
[ "Apache-2.0" ]
null
null
null
interfaces/native_cpp/nfc_standard/src/sdk-reader/src/ndef_tag.cpp
dawmlight/communication_nfc
84a10d69eb9cb3128e864230c53d5a5e6660dfb9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 Huawei Device Co., 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.213198
103
0.65758
dawmlight
5c0e4f01d9ef2d50bebef4b050bea79790b9795a
587
hpp
C++
Ponce/src/context.hpp
ismailbozkurt/Ponce
fc25268592027af0c71c898f87a347418c5ad475
[ "BSL-1.0" ]
1
2020-04-19T07:45:43.000Z
2020-04-19T07:45:43.000Z
Ponce/src/context.hpp
ZhuHuiBeiShaDiao/Ponce
fc25268592027af0c71c898f87a347418c5ad475
[ "BSL-1.0" ]
null
null
null
Ponce/src/context.hpp
ZhuHuiBeiShaDiao/Ponce
fc25268592027af0c71c898f87a347418c5ad475
[ "BSL-1.0" ]
null
null
null
//! \file /* ** Copyright (c) 2016 - Ponce ** Authors: ** Alberto Garcia Illera agarciaillera@gmail.com ** Francisco Oca francisco.oca.gonzalez@gmail.com ** ** This program is under the terms of the BSD License. */ #pragma once //Triton #include <api.hpp> //IDA #include <pro.h>...
29.35
72
0.70017
ismailbozkurt
5c0e52fd977e9e4b51edd96a582c3ca73243ba85
3,669
hpp
C++
ThirdParty-mod/java2cpp/java/util/DuplicateFormatFlagsException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/java/util/DuplicateFormatFlagsException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/java/util/DuplicateFormatFlagsException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.util.DuplicateFormatFlagsException ================================================================================*/ #ifndef J2CPP_...
31.62931
116
0.740801
kakashidinho
5c0f6bf7002b4ac5f6a4833e97797a40e5781e39
1,062
cpp
C++
src/bits_of_matcha/Loader.cpp
matcha-ai/matcha-engine
2ddc2a1dbe8b646176bf761b85720e94fc6b7cf9
[ "MIT" ]
null
null
null
src/bits_of_matcha/Loader.cpp
matcha-ai/matcha-engine
2ddc2a1dbe8b646176bf761b85720e94fc6b7cf9
[ "MIT" ]
null
null
null
src/bits_of_matcha/Loader.cpp
matcha-ai/matcha-engine
2ddc2a1dbe8b646176bf761b85720e94fc6b7cf9
[ "MIT" ]
1
2022-03-17T12:14:27.000Z
2022-03-17T12:14:27.000Z
#include "bits_of_matcha/Loader.h" #include "matcha/dataset" #include "matcha/tensor" #include "bits_of_matcha/engine/ops/LoadCsv.h" #include "bits_of_matcha/engine/ops/LoadImage.h" #include <filesystem> namespace matcha { Loader::Loader(const std::string& file) : file_(file) {} Loader load(const std::string& fi...
20.823529
66
0.638418
matcha-ai
5c1027f7b69dc32cb3526f0f8ae62c187324dc63
9,313
cpp
C++
problems_051-100/euler_88.cpp
sedihub/project_euler
2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5
[ "Apache-2.0" ]
null
null
null
problems_051-100/euler_88.cpp
sedihub/project_euler
2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5
[ "Apache-2.0" ]
null
null
null
problems_051-100/euler_88.cpp
sedihub/project_euler
2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5
[ "Apache-2.0" ]
null
null
null
/* PROBLEM: Euler 88 A natural number, N, that can be written as the sum and product of a given set of at least two natural numbers, {a1, a2, ... , ak} is called a product-sum number: N = a1 + a2 + ... + ak = a1 × a2 × ... × ak. For example, 6 = 1 + 2 + 3 = 1 × 2 × 3. For a given set of size, k, ...
30.634868
102
0.567164
sedihub
5c107da0f85e8d5d17223bff21d79ca53016a57d
23,011
hpp
C++
test/test_solver.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
test/test_solver.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
test/test_solver.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
#include <bitset> #include "../sTest/test.h" #include "../board.hpp" #include "../parser.hpp" #include "../slicer.hpp" #include "../solver.hpp" #include "../visualizer.hpp" /** * solver unit tests */ mask ** getTestSlice() { mask *slice = new mask[N]; slice[0] = 0b000000001; slice[1] = 0b000000011; ...
28.408642
79
0.568424
ultinate
5c13470fce1f7d418e3b9beed7a761aa53e74318
357
cpp
C++
mcare_server/test/test_Mola.cpp
KatSchrier/mcare
cd9ecc6e130ed94e1fe8a1881178c7729625fbb3
[ "MIT" ]
1
2021-08-21T02:21:00.000Z
2021-08-21T02:21:00.000Z
mcare_server/test/test_Mola.cpp
KatSchrier/mcare
cd9ecc6e130ed94e1fe8a1881178c7729625fbb3
[ "MIT" ]
null
null
null
mcare_server/test/test_Mola.cpp
KatSchrier/mcare
cd9ecc6e130ed94e1fe8a1881178c7729625fbb3
[ "MIT" ]
2
2021-09-04T00:21:03.000Z
2022-02-05T08:43:48.000Z
// test_Mola.cpp // Created by Robin Rowe 2021-08-15 // MIT Open Source #include <iostream> #include "../Mola.h" using namespace std; int main(int argc,char* argv[]) { cout << "Testing Mola" << endl; Mola mola; if(!mola) { cout << "Mola failed on operator!" << endl; return 1; } cout << mola << endl; cout << ...
17.85
46
0.621849
KatSchrier
5c1709aa15c6ac0ffff73553361d13cba82cfa11
25,593
cc
C++
src/common/reimu_trie.cc
milkcat/MilkCat
a31c5c7f2ceba0ba3aea9fa88f9da5e9caddacea
[ "MIT" ]
84
2015-01-17T09:44:41.000Z
2020-02-14T06:32:26.000Z
src/common/reimu_trie.cc
milkcat/MilkCat
a31c5c7f2ceba0ba3aea9fa88f9da5e9caddacea
[ "MIT" ]
2
2016-06-27T08:00:53.000Z
2017-02-09T06:15:28.000Z
src/common/reimu_trie.cc
milkcat/MilkCat
a31c5c7f2ceba0ba3aea9fa88f9da5e9caddacea
[ "MIT" ]
29
2015-01-17T09:48:43.000Z
2020-03-06T08:30:18.000Z
// // The MIT License (MIT) // // Copyright 2013-2014 The MilkCat Project Developers // // 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 th...
30.760817
80
0.650998
milkcat
5c19eb60eb123415931a0ca6424311e75bec98fb
4,447
cpp
C++
mytools/compiler/Tokenizer.cpp
kingnak/nand2tetris
120be8f04251b88e519f1bac838c40fd4c1b68e1
[ "MIT" ]
null
null
null
mytools/compiler/Tokenizer.cpp
kingnak/nand2tetris
120be8f04251b88e519f1bac838c40fd4c1b68e1
[ "MIT" ]
null
null
null
mytools/compiler/Tokenizer.cpp
kingnak/nand2tetris
120be8f04251b88e519f1bac838c40fd4c1b68e1
[ "MIT" ]
null
null
null
#include "Tokenizer.h" #include "ParserBase.h" #include <sstream> using namespace std; const map<string, Tokenizer::Keyword> Tokenizer::s_keywords{ { "class", Tokenizer::Keyword::Class }, { "method", Tokenizer::Keyword::Method }, { "function", Tokenizer::Keyword::Function }, { "constructor", Tokenizer::Keyword::C...
17.646825
64
0.572521
kingnak