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
f0698639b5637a846ae8ecec1fae0ca90d829552
5,037
hpp
C++
ExtendedChain/ExtendedChain.hpp
colorhistory/data-structure-and-algorithm
402d1ab29e627ebd471632080e5b7194fe892a78
[ "MIT" ]
null
null
null
ExtendedChain/ExtendedChain.hpp
colorhistory/data-structure-and-algorithm
402d1ab29e627ebd471632080e5b7194fe892a78
[ "MIT" ]
null
null
null
ExtendedChain/ExtendedChain.hpp
colorhistory/data-structure-and-algorithm
402d1ab29e627ebd471632080e5b7194fe892a78
[ "MIT" ]
null
null
null
#ifndef EXTENDEDCHAIN_HPP #define EXTENDEDCHAIN_HPP #include "bits/stdc++.h" #include "BaseChain.hpp" #include "ChainNode.hpp" #include "Exception.hpp" #include "ExtendedLinearList.hpp" #include "changeLength1D.hpp" namespace DSAA { template <typename T> class ExtendedChain : public ExtendedLinearList<T>, ...
25.568528
98
0.551717
colorhistory
f0698aafe27d1667a69cd3911f3c6d1cf8d6043e
2,480
cpp
C++
src/passes.cpp
saudet/rv
2456b61ab3b35673f13aca4e763084315718b35f
[ "Apache-2.0" ]
2
2020-09-04T07:19:24.000Z
2020-10-08T11:36:58.000Z
src/passes.cpp
saudet/rv
2456b61ab3b35673f13aca4e763084315718b35f
[ "Apache-2.0" ]
null
null
null
src/passes.cpp
saudet/rv
2456b61ab3b35673f13aca4e763084315718b35f
[ "Apache-2.0" ]
1
2022-01-25T07:01:35.000Z
2022-01-25T07:01:35.000Z
//===- src/passes.cpp - create RV passes --*- C++ -*-===// // // Part of the RV Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------------------------------...
29.52381
80
0.731048
saudet
f06b476ae30b679745e80634f418beac7b26d3b0
236
cpp
C++
src/main/cpp/commands/CmdFeederSetStatus.cpp
Team1507/RapidReact2022
6745162ba1474a9a4b6b0f77bdfd7d6e7d8a04ad
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/commands/CmdFeederSetStatus.cpp
Team1507/RapidReact2022
6745162ba1474a9a4b6b0f77bdfd7d6e7d8a04ad
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/commands/CmdFeederSetStatus.cpp
Team1507/RapidReact2022
6745162ba1474a9a4b6b0f77bdfd7d6e7d8a04ad
[ "BSD-3-Clause" ]
null
null
null
#include "commands/CmdFeederSetStatus.h" CmdFeederSetStatus::CmdFeederSetStatus(Feeder *feeder, bool status) { m_feeder = feeder; m_status = status; } void CmdFeederSetStatus::Initialize() { m_feeder->SetFeederOn(m_status); }
18.153846
68
0.758475
Team1507
7ebe0c5fd556068a19d963cd79480ced8bfcd57a
1,056
hpp
C++
include/ltb/geom/shapes/fwd.hpp
LoganBarnes/ltb-geom
d3cc3449883d53f06fef09e53948e4825a7ffcfe
[ "MIT" ]
null
null
null
include/ltb/geom/shapes/fwd.hpp
LoganBarnes/ltb-geom
d3cc3449883d53f06fef09e53948e4825a7ffcfe
[ "MIT" ]
null
null
null
include/ltb/geom/shapes/fwd.hpp
LoganBarnes/ltb-geom
d3cc3449883d53f06fef09e53948e4825a7ffcfe
[ "MIT" ]
null
null
null
// /////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2021 Logan Barnes - All Rights Reserved // /////////////////////////////////////////////////////////////////////////////////////// #pragma once /// \defgroup shapes Shapes // external #include <glm/fwd.hpp> na...
24
90
0.578598
LoganBarnes
7ebf7fe7cdc729f94bce145bcd58bc48a53a74b0
272
hpp
C++
src/vm/internal/settings.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
14
2020-04-14T17:00:56.000Z
2021-08-30T08:29:26.000Z
src/vm/internal/settings.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
27
2020-12-27T16:00:44.000Z
2021-08-01T13:12:14.000Z
src/vm/internal/settings.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
1
2020-05-29T18:33:37.000Z
2020-05-29T18:33:37.000Z
#pragma once namespace vm::internal { struct Settings { bool socketsEnabled; bool interceptInterupt; #if defined(_WIN32) unsigned long win32OriginalInputConsoleMode; unsigned long win32OriginalOutputConsoleMode; #endif // _WIN32 }; } // namespace vm::internal
17
47
0.772059
BastianBlokland
7ece0f72943fb9821127ae11a39500ea1a74d132
2,703
cpp
C++
src/gui/cppn/edge.cpp
kgd-al/ES-HyperNEAT
73a8cd7a17b901cb2937539ec9aaf7a8763ea415
[ "MIT" ]
null
null
null
src/gui/cppn/edge.cpp
kgd-al/ES-HyperNEAT
73a8cd7a17b901cb2937539ec9aaf7a8763ea415
[ "MIT" ]
null
null
null
src/gui/cppn/edge.cpp
kgd-al/ES-HyperNEAT
73a8cd7a17b901cb2937539ec9aaf7a8763ea415
[ "MIT" ]
null
null
null
#include <QPainter> #include "edge.h" namespace kgd::es_hyperneat::gui::cppn { Edge::Edge (Agedge_t *edge) { setZValue(-1); #ifndef NDEBUG _name = QString(agnameof(edge)); #endif const splines* spl = ED_spl(edge); _bounds = kgd::gui::toQt(spl->bb); setPos(_bounds.center()); _bounds.translate(-_bounds.c...
27.03
69
0.607843
kgd-al
7ed46fd85e2c18cf6f58b4748725820dfc320ae6
1,085
cpp
C++
backup/2/interviewbit/c++/anti-diagonals.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/interviewbit/c++/anti-diagonals.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/interviewbit/c++/anti-diagonals.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
43.4
345
0.61106
yangyanzhan
7ed55a280a14da061918e839ab81ce613756c5cc
3,561
cpp
C++
optimal_control_acado/eocarBiorbd.cpp
Carla-Ferreira/ViolinOptimalControl
6a0d1e1880b845ce15b6d6b9412b60acb1a6f55f
[ "MIT" ]
3
2019-07-02T13:37:14.000Z
2022-03-31T17:29:31.000Z
optimal_control_acado/eocarBiorbd.cpp
Carla-Ferreira/ViolinOptimalControl
6a0d1e1880b845ce15b6d6b9412b60acb1a6f55f
[ "MIT" ]
1
2020-04-16T02:21:49.000Z
2020-04-16T02:21:49.000Z
optimal_control_acado/eocarBiorbd.cpp
Carla-Ferreira/ViolinOptimalControl
6a0d1e1880b845ce15b6d6b9412b60acb1a6f55f
[ "MIT" ]
11
2019-04-23T15:14:07.000Z
2021-04-02T15:05:49.000Z
#include <acado_optimal_control.hpp> #include <bindings/acado_gnuplot/gnuplot_window.hpp> #include <vector> #include <memory> #include "biorbd.h" #include "includes/dynamics.h" biorbd::Model m("../../models/eocar.bioMod"); #include "includes/biorbd_initializer.h" const std::string optimizationName("eocarBiorbdAcado")...
31.794643
95
0.569503
Carla-Ferreira
7eda4f0eb8196e9b61cc8299054ae1f27a651f94
1,025
cpp
C++
code/matrix.cpp
pedroteosousa/caderno
9d13449df8734dc979d1f66cd4c424b8a7d8cc48
[ "MIT" ]
null
null
null
code/matrix.cpp
pedroteosousa/caderno
9d13449df8734dc979d1f66cd4c424b8a7d8cc48
[ "MIT" ]
4
2018-02-06T16:52:39.000Z
2018-10-13T05:21:24.000Z
code/matrix.cpp
pedroteosousa/caderno
9d13449df8734dc979d1f66cd4c424b8a7d8cc48
[ "MIT" ]
null
null
null
template <int n> struct matrix { long long mat[n][n]; matrix () { memset (mat, 0, sizeof (mat)); } matrix (long long temp[n][n]) { memcpy (mat, temp, sizeof (mat)); } void identity() { memset (mat, 0, sizeof (mat)); for (int i=0;i<n;i++) mat[i][i] = 1; } matrix<n> mul (const matrix<n> &a, long long m...
21.354167
56
0.514146
pedroteosousa
7ee076e04960625b5cb4d0bab570b169e948a849
3,846
cpp
C++
src/hspcmp/tagstack.cpp
m4saka/OpenHSP
391f0a2100e701138d0610a5b94492d6f57ad1f2
[ "BSD-3-Clause" ]
127
2018-02-24T20:41:15.000Z
2022-03-22T05:57:56.000Z
src/hspcmp/tagstack.cpp
m4saka/OpenHSP
391f0a2100e701138d0610a5b94492d6f57ad1f2
[ "BSD-3-Clause" ]
21
2018-09-11T15:04:22.000Z
2022-02-03T09:30:16.000Z
src/hspcmp/tagstack.cpp
m4saka/OpenHSP
391f0a2100e701138d0610a5b94492d6f57ad1f2
[ "BSD-3-Clause" ]
21
2019-03-28T07:49:44.000Z
2021-12-25T02:49:07.000Z
// // stack buffer with tag class // onion software/onitama 2002/10 // #include <stdio.h> #include <stdlib.h> #include <string.h> #include "tagstack.h" //------------------------------------------------------------- // Routines //------------------------------------------------------------- int CTagStack::StrCmp...
17.888372
72
0.536141
m4saka
7ee17ee29740b1921c0380756a0f161d72bd9f61
367
cpp
C++
modules/logic/src/Logic/Cv/FeatureDetect/gmLogicCvCanny.cpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/logic/src/Logic/Cv/FeatureDetect/gmLogicCvCanny.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/logic/src/Logic/Cv/FeatureDetect/gmLogicCvCanny.cpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#include "gmLogicCvCanny.hpp" namespace gm { namespace Logic { namespace Cv { auto Canny::Register = Logic::Register<Canny>("cv", "Canny", "http://docs.opencv.org/2.4/modules/imgproc/doc/feat...
22.9375
120
0.446866
GraphMIC
7ee20d11236af57466ced5c48db25df9f03c882c
420
cc
C++
New_Scripts/new_Example_pointer.cc
Erickdrakus93/New_Scripts
c47c9481f8a89c9264a635c1107a4878fddf606c
[ "MIT" ]
1
2020-03-27T06:29:38.000Z
2020-03-27T06:29:38.000Z
New_Scripts/new_Example_pointer.cc
Erickdrakus93/New_Scripts
c47c9481f8a89c9264a635c1107a4878fddf606c
[ "MIT" ]
null
null
null
New_Scripts/new_Example_pointer.cc
Erickdrakus93/New_Scripts
c47c9481f8a89c9264a635c1107a4878fddf606c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int n = 33; int& r = n; std::cout << "&n = " << &n << ", &r = \t" << &n << std::endl; } // A for to determine the address of the main example as we can see // This is the form that use in the semantic of *, and the new operator int main(){ double...
18.26087
71
0.52381
Erickdrakus93
7ee3f09ab23407b703d15e8352d64ee69f7ece42
1,053
cpp
C++
src/lambda.cpp
mwerlberger/cpp11_tutorial
e02e7a1fb61b029681060db97ff16e1b8be53ad1
[ "BSD-3-Clause" ]
null
null
null
src/lambda.cpp
mwerlberger/cpp11_tutorial
e02e7a1fb61b029681060db97ff16e1b8be53ad1
[ "BSD-3-Clause" ]
null
null
null
src/lambda.cpp
mwerlberger/cpp11_tutorial
e02e7a1fb61b029681060db97ff16e1b8be53ad1
[ "BSD-3-Clause" ]
null
null
null
#include <assert.h> #include <vector> #include <iostream> #include <iomanip> #include <algorithm> #include <functional> //============================================================================== int main(int /*argc*/, char** /*argv*/) { try { std::vector<std::uint8_t> pixels { 128, 13, 14, 11, 129, 200, ...
21.9375
82
0.464387
mwerlberger
7ee831c22067449eeaa7f330c997566e53f63d3f
569
cpp
C++
Tuple.cpp
Chuychuychuy98/project-3-interpreter
eb6dd1305e7a9900a19e8565dc55c0390b8305e5
[ "MIT" ]
null
null
null
Tuple.cpp
Chuychuychuy98/project-3-interpreter
eb6dd1305e7a9900a19e8565dc55c0390b8305e5
[ "MIT" ]
null
null
null
Tuple.cpp
Chuychuychuy98/project-3-interpreter
eb6dd1305e7a9900a19e8565dc55c0390b8305e5
[ "MIT" ]
null
null
null
// // Created by Chandler Rowe on 10/26/21. // #include "Tuple.h" void Tuple::AddVal(const std::string &toAdd) { vals.push_back(toAdd); } bool Tuple::RemVal(int index) { try { vals.erase(vals.begin() + index); return true; } catch (std::out_of_range &e) { return false; } }...
17.78125
52
0.525483
Chuychuychuy98
7ee8bd328fe75965b9c45788ee907d05af7b7950
1,558
cpp
C++
Attic/SSH/Exec.cpp
xsjames/upp-components
8c8116a63652c58bff3c86ecb1a4c38653faed13
[ "BSD-3-Clause" ]
null
null
null
Attic/SSH/Exec.cpp
xsjames/upp-components
8c8116a63652c58bff3c86ecb1a4c38653faed13
[ "BSD-3-Clause" ]
null
null
null
Attic/SSH/Exec.cpp
xsjames/upp-components
8c8116a63652c58bff3c86ecb1a4c38653faed13
[ "BSD-3-Clause" ]
1
2020-08-16T00:56:08.000Z
2020-08-16T00:56:08.000Z
#include "SSH.h" namespace Upp { #define LLOG(x) do { if(SSH::sTrace) RLOG(SSH::GetName(ssh->otype, ssh->oid) << x); } while(false) #define LDUMPHEX(x) do { if(SSH::sTraceVerbose) RDUMPHEX(x); } while(false) int SshExec::Execute(const String& cmd, Stream& out, Stream& err) { ComplexCmd(CHANNEL_EXEC...
27.333333
105
0.62837
xsjames
7ef34c22f461c615f0a850347aa1d41145b5aaa5
5,464
cpp
C++
labs/lab8/src/main.cpp
FilipPaul/Digital-Electronics-2
046393b21c81dc86c172835db8a20eb172b33345
[ "MIT" ]
null
null
null
labs/lab8/src/main.cpp
FilipPaul/Digital-Electronics-2
046393b21c81dc86c172835db8a20eb172b33345
[ "MIT" ]
null
null
null
labs/lab8/src/main.cpp
FilipPaul/Digital-Electronics-2
046393b21c81dc86c172835db8a20eb172b33345
[ "MIT" ]
6
2020-09-30T07:55:44.000Z
2020-12-12T19:04:33.000Z
#include <Arduino.h> /*********************************************************************** * * The I2C bus scanner detects the addresses of the modules that are * connected to the SDA and SCL signals. A simple description of FSM is * used. * ATmega328P (Arduino Uno), 16 MHz, AVR 8-bit Toolchain 3.6.2 * * ...
29.06383
75
0.530198
FilipPaul
7ef3fa1a16b7b89ddcff07cc2f2ec450c7ade71e
435
cpp
C++
codeforces/contests/round/629-div3/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/contests/round/629-div3/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/contests/round/629-div3/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> int32_t main(){ desync(); int t; cin >> t; while(t--){ int n, k; cin >> n >> k; int acc = 0; string s(n, 'a'); for(int i=1; i<n; ++i){ acc += i; if(k <= acc){ s[n-1-i] = 'b'; s[n...
18.125
37
0.308046
tysm
7efb2653c6210f61fb01d0571b1aec89a26ad6d6
18,684
hpp
C++
libraries/protocol/include/voilk/protocol/config.hpp
voilknetwork/voilk
839716ae446d39d7260505b5d6d16f4f122cf1fe
[ "MIT" ]
null
null
null
libraries/protocol/include/voilk/protocol/config.hpp
voilknetwork/voilk
839716ae446d39d7260505b5d6d16f4f122cf1fe
[ "MIT" ]
null
null
null
libraries/protocol/include/voilk/protocol/config.hpp
voilknetwork/voilk
839716ae446d39d7260505b5d6d16f4f122cf1fe
[ "MIT" ]
3
2020-09-03T11:23:13.000Z
2021-06-16T07:07:54.000Z
/* * Copyright (c) 2016 Voilknetwork, Inc., and contributors. */ #pragma once #include <voilk/protocol/hardfork.hpp> // WARNING! // Every symbol defined here needs to be handled appropriately in get_config.cpp // This is checked by get_config_check.sh called from Dockerfile #ifdef IS_TEST_NET #define VOILK_BLOCKCHA...
54.631579
194
0.696157
voilknetwork
7efca80c691c9fa8ec16d1d755497d11a6a70b10
8,938
cpp
C++
silkopter/fc/src/source/RC5T619.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
36
2015-03-09T16:47:14.000Z
2021-02-04T08:32:04.000Z
silkopter/fc/src/source/RC5T619.cpp
jeanlemotan/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
42
2017-02-11T11:15:51.000Z
2019-12-28T16:00:44.000Z
silkopter/fc/src/source/RC5T619.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
5
2015-10-15T05:46:48.000Z
2020-05-11T17:40:36.000Z
#include "FCStdAfx.h" #include "RC5T619.h" #include "physics/constants.h" #include "utils/Timed_Scope.h" #include "hal.def.h" //#include "sz_RC5T619.hpp" #if defined RASPBERRY_PI extern "C" { #include "utils/hw/pigpio.h" } #endif namespace silk { namespace node { struct Mode_Guard { Mode_Guard() { #...
27.003021
114
0.671739
jeanleflambeur
7efe78305264a635c33d32df64d04f6db0056058
8,089
hpp
C++
plugin/Utility/gcc-helpers.hpp
rn123/c2ocaml
45846edf17079327c65c41aba19222b1f1e6e70e
[ "MIT" ]
7
2018-09-01T22:26:41.000Z
2020-03-19T02:48:51.000Z
plugin/Utility/gcc-helpers.hpp
rn123/c2ocaml
45846edf17079327c65c41aba19222b1f1e6e70e
[ "MIT" ]
3
2018-11-05T12:33:48.000Z
2020-06-05T14:56:55.000Z
plugin/Utility/gcc-helpers.hpp
rn123/c2ocaml
45846edf17079327c65c41aba19222b1f1e6e70e
[ "MIT" ]
8
2018-09-01T22:26:43.000Z
2022-02-11T22:06:08.000Z
#pragma once #include "general-helpers.hpp" #include "types.hpp" namespace c2ocaml { namespace frontend { namespace util { inline std::string gcc_str(gimple *g, bool is_seq = false) { // We need some temporary space static const int SIZE = 1024 * 1024; static char buffer[SIZE]; // Clear buffer memset(buff...
21.513298
100
0.658054
rn123
7d006af4c0c50a3d3f6c1f5d13ef3d41a363126a
9,370
cpp
C++
Dependency/FreeImage/FreeImage/Conversion8.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
13
2019-10-19T17:41:19.000Z
2021-11-04T18:50:03.000Z
1336OS_Code/src/freeimage/src/freeimage/Conversion8.cpp
WuShaoa/Lua-game-ai
3ba8a64ffb056bb30d5c1ff9aa9dd8c87aaefabc
[ "MIT" ]
3
2019-12-09T06:22:43.000Z
2020-05-28T09:33:44.000Z
Dependency/FreeImage/FreeImage/Conversion8.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
1
2021-02-22T04:38:57.000Z
2021-02-22T04:38:57.000Z
// ========================================================== // Bitmap conversion routines // // Design and implementation by // - Floris van den Berg (flvdberg@wxs.nl) // - Herv?Drolon (drolon@infonie.fr) // - Jani Kajala (janik@remedy.fi) // - Karl-Heinz Bussian (khbussian@moss.de) // - Carsten Klein (cklein05@users...
30.620915
117
0.642796
King19931229
7d00f5bc48cec5c52dd106e79c5ddcf36a06ad16
1,450
cc
C++
source/src/hardware/motor/mg995.cc
Dr-MunirShah/black-sheep
e908203d9516e01f90f4ed4c796cf4143d0df0c0
[ "MIT" ]
7
2019-07-25T10:06:31.000Z
2021-02-20T06:00:51.000Z
source/src/hardware/motor/mg995.cc
Dr-MunirShah/black-sheep
e908203d9516e01f90f4ed4c796cf4143d0df0c0
[ "MIT" ]
null
null
null
source/src/hardware/motor/mg995.cc
Dr-MunirShah/black-sheep
e908203d9516e01f90f4ed4c796cf4143d0df0c0
[ "MIT" ]
1
2019-08-31T23:32:02.000Z
2019-08-31T23:32:02.000Z
#include "mg995.hh" #include "../../main.hh" #include "../../log.hh" #include "../../utils/clock.hh" void MG995::init(){ /* Initialize program specific motor values */ switch(getKinematicPosition()){ case Motor::POSITION::NECK_PITCH : offset = *Main::config->getInt("motor.offsets.shoulder-pitch-left").g...
22.65625
80
0.662069
Dr-MunirShah
7d069b31885eb0ab74d92ef92ae48d736f174df5
1,977
hpp
C++
src/core/animatedtuple.hpp
rexim/beatwave
d88db6d9f2f5def37d185e74870c5908beffc753
[ "MIT" ]
20
2015-12-19T16:17:01.000Z
2022-01-19T18:40:10.000Z
src/core/animatedtuple.hpp
rexim/beatwave
d88db6d9f2f5def37d185e74870c5908beffc753
[ "MIT" ]
99
2015-12-19T16:20:40.000Z
2017-03-03T15:47:23.000Z
src/core/animatedtuple.hpp
rexim/beatwave
d88db6d9f2f5def37d185e74870c5908beffc753
[ "MIT" ]
7
2015-12-21T09:41:08.000Z
2016-09-27T15:20:40.000Z
#ifndef CORE_ANIMATEDTUPLE_HPP_ #define CORE_ANIMATEDTUPLE_HPP_ #include <tuple> #include <core/animated.hpp> template <typename ...Tp> using AnimatedTuple = std::tuple<Animated<Tp>...>; // FIXME(#57): generalize tuple iteration process template<std::size_t I = 0, typename... Tp> inline typename std::enable_if<I == ...
30.890625
79
0.685382
rexim
7d0b345fd5e6bfcd8e33a4aa805ae052a1180b18
1,377
cpp
C++
Graphicsplosion/src/main/Game.cpp
LXShades/comp220-portfolio
00816eef15f3531bfed88f721c23390f9eefc2c6
[ "MIT", "Unlicense" ]
null
null
null
Graphicsplosion/src/main/Game.cpp
LXShades/comp220-portfolio
00816eef15f3531bfed88f721c23390f9eefc2c6
[ "MIT", "Unlicense" ]
null
null
null
Graphicsplosion/src/main/Game.cpp
LXShades/comp220-portfolio
00816eef15f3531bfed88f721c23390f9eefc2c6
[ "MIT", "Unlicense" ]
null
null
null
#include <stdafx.h> #include "sdl/SdlWrapper.h" #include "sdl/Window.h" #include "render/renderer.h" #include "main/Game.h" #include "main/Time.h" #include "glm/glm.hpp" #include "glm/gtx/transform.hpp" #include <iostream> #include <sstream> void Game::Run() { // Startup the game Init(); // Set the initial time...
21.184615
86
0.673203
LXShades
7d0d6f0c2147e27d590fa4f2ae8a396669d846b5
2,065
cpp
C++
PlayFabSDK/Plugins/PlayFab/Source/PlayFabProxy/Private/Proxy/Client/PFClientGetUserReadOnlyData.cpp
fordream/UnrealCppSdk
84a38f3f32712334c29704892c5c8358804b40ae
[ "Apache-2.0" ]
null
null
null
PlayFabSDK/Plugins/PlayFab/Source/PlayFabProxy/Private/Proxy/Client/PFClientGetUserReadOnlyData.cpp
fordream/UnrealCppSdk
84a38f3f32712334c29704892c5c8358804b40ae
[ "Apache-2.0" ]
null
null
null
PlayFabSDK/Plugins/PlayFab/Source/PlayFabProxy/Private/Proxy/Client/PFClientGetUserReadOnlyData.cpp
fordream/UnrealCppSdk
84a38f3f32712334c29704892c5c8358804b40ae
[ "Apache-2.0" ]
1
2020-04-09T10:55:33.000Z
2020-04-09T10:55:33.000Z
// This is automatically generated by PlayFab SDKGenerator. DO NOT modify this manually! #include "PlayFabProxyPrivatePCH.h" #include "PFClientGetUserReadOnlyData.h" UPFClientGetUserReadOnlyData::UPFClientGetUserReadOnlyData(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) , SuccessDelegate(Pl...
35
252
0.784019
fordream
7d0dc8c43a9abb4122f7b57ec6c8a358dd971cba
416
hpp
C++
code/RGLStudio/include/MainWindow.hpp
tak2004/OpenGLVM
f2d8054619e5e1ac6c5f2ac6d5cdc9b62817675a
[ "Apache-2.0" ]
null
null
null
code/RGLStudio/include/MainWindow.hpp
tak2004/OpenGLVM
f2d8054619e5e1ac6c5f2ac6d5cdc9b62817675a
[ "Apache-2.0" ]
null
null
null
code/RGLStudio/include/MainWindow.hpp
tak2004/OpenGLVM
f2d8054619e5e1ac6c5f2ac6d5cdc9b62817675a
[ "Apache-2.0" ]
null
null
null
#ifndef MAINWINDOW_HPP #define MAINWINDOW_HPP #include <RadonFramework/Drawing/Forms/Form.hpp> #include <RadonFramework/Drawing/Canvas3D.hpp> namespace RGLStudio { class MainWindow: public RF_Form::Form { public: void Initialize(); virtual void Resize(const RF_Geo::Size2D<>& Value) override; virtual voi...
18.909091
64
0.752404
tak2004
7d0f40cd61c618dda84833ccbe03fd7d32fba4d0
361
cpp
C++
samples/SEM_NIPS_2010/sim_sem_nips_2010.cpp
kashefy/sem
005168f41dd4ca9e273fee4f4b3a02952062c819
[ "BSD-3-Clause" ]
null
null
null
samples/SEM_NIPS_2010/sim_sem_nips_2010.cpp
kashefy/sem
005168f41dd4ca9e273fee4f4b3a02952062c819
[ "BSD-3-Clause" ]
null
null
null
samples/SEM_NIPS_2010/sim_sem_nips_2010.cpp
kashefy/sem
005168f41dd4ca9e273fee4f4b3a02952062c819
[ "BSD-3-Clause" ]
null
null
null
/** @file Run SEM simulation (NIPS 2010) */ #include <iostream> #include "elm/core/core.h" #include "simulationsem.h" using namespace std; int main() { cout<<elm::GetVersion()<<endl; SimulationSEM s; cout<<"Learn()"<<endl; s.Learn(); cout<<"Test()"<<endl; //s.Test(); cout<<"Eval()...
12.033333
40
0.559557
kashefy
7d1222334977acd9d4d031ed3fb59937e292a025
1,562
hpp
C++
cpp/ProcessList.hpp
frobware/cmd-key-happy
cd64bba07dc729f2701b0fc1e603d04d2dbc64e9
[ "MIT" ]
35
2015-09-24T23:04:03.000Z
2022-03-09T16:31:16.000Z
cpp/ProcessList.hpp
frobware/cmd-key-happy
cd64bba07dc729f2701b0fc1e603d04d2dbc64e9
[ "MIT" ]
4
2016-05-17T20:25:14.000Z
2019-06-05T16:14:34.000Z
cpp/ProcessList.hpp
frobware/cmd-key-happy
cd64bba07dc729f2701b0fc1e603d04d2dbc64e9
[ "MIT" ]
8
2015-12-08T01:18:58.000Z
2020-07-24T21:53:34.000Z
/* * Copyright (c) 2013 <andrew.iain.mcdermott@gmail.com> * * Source can be cloned from: * * git://github.com/andymcd/cmd-key-happy.git * * 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 Soft...
36.325581
79
0.747119
frobware
7d1c382a3ffb37e2833a05fa2e0fe0a238d2b24f
16,899
cpp
C++
src/Obj/ObjDraw.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
71
2015-12-15T19:32:27.000Z
2022-02-25T04:46:01.000Z
src/Obj/ObjDraw.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
19
2016-07-09T19:08:15.000Z
2021-07-29T10:30:20.000Z
src/Obj/ObjDraw.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
42
2015-12-14T19:13:02.000Z
2022-03-01T15:15:03.000Z
/* * Copyright (c) 2005, Laminar Research. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, ...
38.146727
162
0.68507
rromanchuk
7d1ca60eae87fd56de581221433b5dae447a2b74
7,334
hpp
C++
include/ShortestPaths.hpp
lgruelas/Graph
079ec1d42a30e66c47ecbce1228b6581ca56cf34
[ "MIT" ]
7
2016-08-25T07:42:10.000Z
2019-10-30T09:05:29.000Z
include/ShortestPaths.hpp
lgruelas/Graph
079ec1d42a30e66c47ecbce1228b6581ca56cf34
[ "MIT" ]
1
2018-08-16T20:38:26.000Z
2018-08-16T22:11:32.000Z
include/ShortestPaths.hpp
lgruelas/Graph
079ec1d42a30e66c47ecbce1228b6581ca56cf34
[ "MIT" ]
10
2018-01-31T15:10:16.000Z
2018-08-16T18:15:20.000Z
#pragma once #include "Graph.hpp" #include <queue> using Vertex = Graph::Vertex; using Edge = Graph::Edge; using Distance = Graph::sumweight_t; constexpr auto INF = std::numeric_limits<Distance>::max(); // Used by both A* and Dijkstra template <class Path = std::deque<Graph::Neighbor>> inline Path PathFromParents(V...
27.263941
80
0.582765
lgruelas
7d1f36fc4b47568d98db609f73eb07fe67a099d3
3,333
cpp
C++
lib/lib_hal_pilotlamp.cpp
NaisuXu/STM32-tool-library-based-on-HAL-and-LL
273a552fd86e175105948775c324b1906f293fc7
[ "MIT" ]
4
2020-10-15T11:21:12.000Z
2021-06-14T15:01:52.000Z
lib/lib_hal_pilotlamp.cpp
NaisuXu/STM32-tool-library-based-on-HAL-and-LL
273a552fd86e175105948775c324b1906f293fc7
[ "MIT" ]
null
null
null
lib/lib_hal_pilotlamp.cpp
NaisuXu/STM32-tool-library-based-on-HAL-and-LL
273a552fd86e175105948775c324b1906f293fc7
[ "MIT" ]
4
2021-03-06T04:57:44.000Z
2021-11-27T14:35:48.000Z
#include "lib_hal_pilotlamp.h" #ifdef HAL_GPIO_MODULE_ENABLED Lib_HAL_PilotLampBasic::Lib_HAL_PilotLampBasic(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, bool inversion) : _gpiox(GPIOx), _pin(GPIO_Pin), _inversion(inversion) { } Lib_HAL_PilotLampBasic::~Lib_HAL_PilotLampBasic(void) { } void Lib_HAL_PilotLampBasic::of...
29.758929
178
0.752475
NaisuXu
7d2001a7a2272f43436f7d3bdd17bbce4d265730
945
hpp
C++
include/fg/PassNode.hpp
skaarj1989/FrameGraph
326e6762dcec39e6dbe529fb1be88910f7e33377
[ "MIT" ]
3
2022-03-17T06:55:17.000Z
2022-03-25T06:08:11.000Z
include/fg/PassNode.hpp
skaarj1989/FrameGraph
326e6762dcec39e6dbe529fb1be88910f7e33377
[ "MIT" ]
null
null
null
include/fg/PassNode.hpp
skaarj1989/FrameGraph
326e6762dcec39e6dbe529fb1be88910f7e33377
[ "MIT" ]
2
2022-03-17T06:55:05.000Z
2022-03-25T05:06:50.000Z
#pragma once #include "fg/GraphNode.hpp" #include "fg/PassEntry.hpp" #include "fg/FrameGraphResource.hpp" #include <memory> #include <vector> class PassNode final : public GraphNode { friend class FrameGraph; public: [[nodiscard]] bool creates(FrameGraphResource id) const; [[nodiscard]] bool reads(FrameGraphRe...
26.25
65
0.754497
skaarj1989
7d20bdc30bb999bc5d6b0cab57e5f1b876f1ef2d
1,342
cpp
C++
codes/UVA/01001-01999/uva1558.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/01001-01999/uva1558.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/01001-01999/uva1558.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int maxs = (1<<20)-1; int cnt, ans[30], dp[maxs+10]; int solve (int s, int x) { for (int i = x; i <= 20; i += x) { if (s&(1<<(i-2))) s ^= (1<<(i-2)); } /* for (int i = 2; i + x < 20; i++) { if ( (s&(1<<(i-2))) == 0 && (s...
16.987342
52
0.412817
JeraKrs
7d20f91cd1e6d3912cce4f4f6455cf68f98b4ac0
2,764
hpp
C++
src/web/wpan-controller/dbus_join.hpp
huamenggg/ot-br-posix
42e801fa450bdddff9f48491bb2d8f494b45b4a8
[ "BSD-3-Clause" ]
1
2021-08-14T13:47:41.000Z
2021-08-14T13:47:41.000Z
src/web/wpan-controller/dbus_join.hpp
huamenggg/ot-br-posix
42e801fa450bdddff9f48491bb2d8f494b45b4a8
[ "BSD-3-Clause" ]
2
2019-04-03T12:14:32.000Z
2021-06-07T23:12:30.000Z
src/web/wpan-controller/dbus_join.hpp
huamenggg/ot-br-posix
42e801fa450bdddff9f48491bb2d8f494b45b4a8
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2017, The OpenThread 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 ...
36.853333
82
0.731548
huamenggg
7d217bd5ce663ffdb09f760402624697719c174a
6,161
cpp
C++
src/eleve.cpp
Augustin-FL/GestNotes
abe1f20e35c35d7e08a92405acfb64b0806949b7
[ "Apache-2.0" ]
null
null
null
src/eleve.cpp
Augustin-FL/GestNotes
abe1f20e35c35d7e08a92405acfb64b0806949b7
[ "Apache-2.0" ]
null
null
null
src/eleve.cpp
Augustin-FL/GestNotes
abe1f20e35c35d7e08a92405acfb64b0806949b7
[ "Apache-2.0" ]
null
null
null
#include "eleve.h" /* ToDO : > Imprimer le buletin */ Frame_eleve::Frame_eleve(Frame_login* parent,int& matricule,connexion_bdd*& bdd) : Frame_principale(parent,matricule,bdd) { wxString texte_groupe(_T("Groupe : ")),string_classe(_T("Classe : ")); int classe=0; requete_sql* req=bdd->prepare("select eleves.*,c...
38.267081
243
0.74225
Augustin-FL
7d280d3167252c85145b94e668a16fa2b61c77ae
755
cpp
C++
Sort/75_SortColors.cpp
trierbo/OJCode
327f78b12d3461f64c42375d611b6b65e71f4f78
[ "MIT" ]
null
null
null
Sort/75_SortColors.cpp
trierbo/OJCode
327f78b12d3461f64c42375d611b6b65e71f4f78
[ "MIT" ]
null
null
null
Sort/75_SortColors.cpp
trierbo/OJCode
327f78b12d3461f64c42375d611b6b65e71f4f78
[ "MIT" ]
null
null
null
#include <vector> using namespace std; class Solution { public: void sortColors(vector<int>& nums) { quickSort(nums, 0, nums.size()-1); } void quickSort(vector<int>& nums, int beg, int end) { if (beg >= end) return; int base = nums[beg]; int p = beg, q = end; ...
21.571429
57
0.44106
trierbo
7d2833690a07165e2a0f043ff0ab0485a2dc591a
6,608
cpp
C++
easy2d/src/gui/e2d_button.cpp
xiyoo0812/easy2d
4edf9683de603d7f8c9474f0923001b8de48429f
[ "MIT" ]
3
2021-05-25T01:51:11.000Z
2021-08-09T02:06:59.000Z
easy2d/src/gui/e2d_button.cpp
xiyoo0812/easy2d
4edf9683de603d7f8c9474f0923001b8de48429f
[ "MIT" ]
null
null
null
easy2d/src/gui/e2d_button.cpp
xiyoo0812/easy2d
4edf9683de603d7f8c9474f0923001b8de48429f
[ "MIT" ]
null
null
null
#include "e2d_button.h" #include "e2d_factory.h" /* Easy2D */ using namespace Easy2D; UIButton::UIButton(const String& name) : UIWidget(name) { } bool UIButton::setup() { if (!Entity::setup()) { LOG_WARN << _T("UIButton::setup: Entity setup failed!"); return false; } mVisible = Visib...
22.944444
99
0.620914
xiyoo0812
7d2be1c8fa7272ff3ad309ad26536610560afaac
3,384
cpp
C++
lib/math/src/Extension_RandomExponential.cpp
ta0kira/zeolite
a81fdcd92c489fccbb3dd7b1c4dae50c00af6b96
[ "Apache-2.0" ]
15
2019-04-10T13:06:10.000Z
2021-11-12T14:11:30.000Z
lib/math/src/Extension_RandomExponential.cpp
ta0kira/zeolite
a81fdcd92c489fccbb3dd7b1c4dae50c00af6b96
[ "Apache-2.0" ]
196
2020-01-24T14:09:31.000Z
2022-02-25T21:43:44.000Z
lib/math/src/Extension_RandomExponential.cpp
ta0kira/zeolite
a81fdcd92c489fccbb3dd7b1c4dae50c00af6b96
[ "Apache-2.0" ]
null
null
null
/* ----------------------------------------------------------------------------- Copyright 2021 Kevin P. Barry 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/LIC...
37.6
128
0.747636
ta0kira
7d34a9e773293de2dde92c49bf02386add996266
968
cpp
C++
src/environment/MenuWorld.cpp
Jeinzi/ld49
f63db0eea0c09b41f54bcf6ce43f06fc62fc28bf
[ "CC-BY-2.0", "CC-BY-3.0", "CC0-1.0" ]
1
2021-11-13T15:18:02.000Z
2021-11-13T15:18:02.000Z
src/environment/MenuWorld.cpp
Jeinzi/ld49
f63db0eea0c09b41f54bcf6ce43f06fc62fc28bf
[ "CC-BY-2.0", "CC-BY-3.0", "CC0-1.0" ]
null
null
null
src/environment/MenuWorld.cpp
Jeinzi/ld49
f63db0eea0c09b41f54bcf6ce43f06fc62fc28bf
[ "CC-BY-2.0", "CC-BY-3.0", "CC0-1.0" ]
null
null
null
#include "MenuWorld.hpp" MenuWorld::MenuWorld(sf::Vector2u const& windowSize) : World(windowSize) { calculateEarthCenter(windowSize); } bool MenuWorld::update(sf::Time time) { World::update(time); earthShape.setOrigin(0.9 * earthRadius, 0.9 * earthRadius); return true; } void MenuWorld::calculateEarthCen...
26.162162
69
0.693182
Jeinzi
7d381af894ca05882f9d53201d3664ec4ad2f233
752
hpp
C++
libs/fnd/units/include/bksge/fnd/units/litre.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/units/include/bksge/fnd/units/litre.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/units/include/bksge/fnd/units/litre.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file litre.hpp * * @brief litre の定義 * * @author myoukaku */ #ifndef BKSGE_FND_UNITS_LITRE_HPP #define BKSGE_FND_UNITS_LITRE_HPP #include <bksge/fnd/units/detail/si_prefix.hpp> #include <bksge/fnd/units/metre.hpp> namespace bksge { namespace units { // リットル template <typename T> u...
20.888889
97
0.703457
myoukaku
7d43b820ce7b40ca03ebb6f535f8d6996a082ea8
5,136
cpp
C++
libs/http/tests/unit/tagged_tree_tests.cpp
denis-trapeznikov/ledger
a1f76788a76837a8495d8b76f9b84fee45cfca21
[ "Apache-2.0" ]
96
2018-08-23T16:49:05.000Z
2021-11-25T00:47:16.000Z
libs/http/tests/unit/tagged_tree_tests.cpp
denis-trapeznikov/ledger
a1f76788a76837a8495d8b76f9b84fee45cfca21
[ "Apache-2.0" ]
1,011
2018-08-17T12:25:21.000Z
2021-11-18T09:30:19.000Z
libs/http/tests/unit/tagged_tree_tests.cpp
denis-trapeznikov/ledger
a1f76788a76837a8495d8b76f9b84fee45cfca21
[ "Apache-2.0" ]
65
2018-08-20T20:05:40.000Z
2022-02-26T23:54:35.000Z
//------------------------------------------------------------------------------ // // Copyright 2018-2020 Fetch.AI Limited // // 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 // // ...
48.45283
98
0.51616
denis-trapeznikov
7d44a628bd2f04f4c846291f0f4410ae843fa963
11,903
cpp
C++
cow2/TeeChartAPI/legend.cpp
zhaochaohui/MFC
b22e348652ea62522da5274f77b7e00867a6bfaa
[ "Artistic-2.0" ]
25
2016-03-05T17:45:17.000Z
2022-01-05T10:03:49.000Z
cow2/TeeChartAPI/legend.cpp
zhaochaohui/MFC
b22e348652ea62522da5274f77b7e00867a6bfaa
[ "Artistic-2.0" ]
1
2016-08-04T15:16:48.000Z
2016-08-24T00:49:03.000Z
cow2/TeeChartAPI/legend.cpp
zhaochaohui/MFC
b22e348652ea62522da5274f77b7e00867a6bfaa
[ "Artistic-2.0" ]
14
2016-12-08T16:37:57.000Z
2021-12-05T15:57:57.000Z
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "legend.h" // Dispatch interfaces referenced by this inte...
20.773124
82
0.733261
zhaochaohui
7d491aff2b3ee8eabd8ba1066f97eaf5e873ed85
1,521
hpp
C++
Includes/Rosetta/PlayMode/Tasks/SimpleTasks/DredgeTask.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
62
2017-08-21T14:11:00.000Z
2018-04-23T16:09:02.000Z
Includes/Rosetta/PlayMode/Tasks/SimpleTasks/DredgeTask.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
37
2017-08-21T11:13:07.000Z
2018-04-30T08:58:41.000Z
Includes/Rosetta/PlayMode/Tasks/SimpleTasks/DredgeTask.hpp
Hearthstonepp/Hearthstonepp
ee17ae6de1ee0078dab29d75c0fbe727a14e850e
[ "MIT" ]
10
2017-08-21T03:44:12.000Z
2018-01-10T22:29:10.000Z
// This code is based on Sabberstone project. // Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva // RosettaStone is hearthstone simulator using C++ with reinforcement learning. // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon #ifndef ROSETTASTONE_PLAYMODE_DREDGE_TASK_HPP #define ROSETTAS...
33.8
80
0.735043
Hearthstonepp
7d5042c412a1a1fc85618f4f9a95403b4cd30764
4,862
hpp
C++
src/Microsoft.DotNet.Wpf/src/WpfGfx/common/DirectXLayer/D3DX9/vector3_dx9.hpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
5,937
2018-12-04T16:32:50.000Z
2022-03-31T09:48:37.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/common/DirectXLayer/D3DX9/vector3_dx9.hpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
4,151
2018-12-04T16:38:19.000Z
2022-03-31T18:41:14.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/common/DirectXLayer/D3DX9/vector3_dx9.hpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
1,084
2018-12-04T16:24:21.000Z
2022-03-30T13:52:03.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #pragma once #include "vector3_t.hpp" #include "dx9layercommon.hpp" #include <memory> #include <exception> #incl...
28.104046
129
0.536816
txlos
7d562fe9f9a20286373356384058337902103706
443
cpp
C++
src/SimulatorResultFactory.cpp
GlobeOfGeek/modern_ai
d2f2e02b89b35cec00021732d57f99e078972342
[ "MIT" ]
5
2016-04-01T02:10:46.000Z
2016-10-24T19:07:07.000Z
src/SimulatorResultFactory.cpp
GlobeOfGeek/morris_aima
d2f2e02b89b35cec00021732d57f99e078972342
[ "MIT" ]
null
null
null
src/SimulatorResultFactory.cpp
GlobeOfGeek/morris_aima
d2f2e02b89b35cec00021732d57f99e078972342
[ "MIT" ]
null
null
null
#include <VacuumWorldSimulationResult.h> #include "SimulatorResultFactory.h" SimulatorResult *SimulatorResultFactory::createSimulatorResult(std::string type, Simulator *sim) { SimulatorResult *result = NULL; if(type.compare("VacuumWorld")==0) { result = new VacuumWorldSimulationResult(sim); } else ...
34.076923
98
0.717833
GlobeOfGeek
7d588bc6935c605d64d71fafed5e7ced5b578405
4,741
cpp
C++
src/rendering/utility/gl/GLVertexArrayObject.cpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
src/rendering/utility/gl/GLVertexArrayObject.cpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
src/rendering/utility/gl/GLVertexArrayObject.cpp
halfmvsq/histolozee
c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5
[ "Apache-2.0" ]
null
null
null
#include "rendering/utility/gl/GLVertexArrayObject.h" #include "rendering/utility/UnderlyingEnumType.h" #include "common/HZeeException.hpp" #include <iostream> namespace { size_t bytesPerIndexType( const IndexType& indexType ) { switch ( indexType ) { case IndexType::UInt8: return 1; case IndexType...
24.952632
92
0.679393
halfmvsq
7d591c904285209bb915e986ca3e9feee8cc065a
597
cpp
C++
src/GMLAST/AST/BinaryOperator.cpp
falki147/GMLAST
09ae10db314f7928e419ee8063a0965d1200f278
[ "MIT" ]
2
2019-12-31T10:05:44.000Z
2020-03-09T17:49:05.000Z
src/GMLAST/AST/BinaryOperator.cpp
falki147/GMLAST
09ae10db314f7928e419ee8063a0965d1200f278
[ "MIT" ]
null
null
null
src/GMLAST/AST/BinaryOperator.cpp
falki147/GMLAST
09ae10db314f7928e419ee8063a0965d1200f278
[ "MIT" ]
null
null
null
#include <GMLAST/AST/BinaryOperator.hpp> #include <array> #include <cassert> namespace GMLAST { BinaryOperator::BinaryOperator(Type type, std::unique_ptr<Value> left, std::unique_ptr<Value> right, Location first, Location last) : Value{first, ...
27.136364
77
0.613065
falki147
7d598b9dd937ef9ed52734449d75610fae4b1f64
448
cpp
C++
obstaclestage3.cpp
williamwu88/Flying-Stickman
d11c05e87bde481200ed1f3aaf5a0f4e4982d9ae
[ "MIT" ]
null
null
null
obstaclestage3.cpp
williamwu88/Flying-Stickman
d11c05e87bde481200ed1f3aaf5a0f4e4982d9ae
[ "MIT" ]
null
null
null
obstaclestage3.cpp
williamwu88/Flying-Stickman
d11c05e87bde481200ed1f3aaf5a0f4e4982d9ae
[ "MIT" ]
null
null
null
#include "obstaclestage3.h" ObstacleStage3::ObstacleStage3(Coordinate *position, double width, double height, double velocity, double loop_after, QColor colour, std::string name) : Obstacle(position, width, height, velocity, loop_after, colour, name) {} void ObstacleStage3::onCollision(Entity *e){ if(e->getN...
34.461538
150
0.712054
williamwu88
7d5badaa5cd3480f12dee322c994dd95b20f2936
538
cpp
C++
game.cpp
jbikker/tmpl8pi
f76626b7fd99b769b366b6efe3e7ccc68ad5cf40
[ "CC0-1.0" ]
1
2022-01-13T12:52:00.000Z
2022-01-13T12:52:00.000Z
game.cpp
jbikker/tmpl8pi
f76626b7fd99b769b366b6efe3e7ccc68ad5cf40
[ "CC0-1.0" ]
null
null
null
game.cpp
jbikker/tmpl8pi
f76626b7fd99b769b366b6efe3e7ccc68ad5cf40
[ "CC0-1.0" ]
null
null
null
#include "template.h" Surface test( "assets/spec.jpg" ); // ----------------------------------------------------------- // Initialize the application // ----------------------------------------------------------- void Game::Init() { } // ----------------------------------------------------------- // Main application...
26.9
62
0.356877
jbikker
7d5f78043f8f79579260496a5132c511782b8d53
549
cpp
C++
cpp/cpp_primer/chapter05/ex_5_09.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
2
2019-12-21T00:53:47.000Z
2020-01-01T10:36:30.000Z
cpp/cpp_primer/chapter05/ex_5_09.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
cpp/cpp_primer/chapter05/ex_5_09.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
// // Created by kaiser on 18-11-27. // #include <cstdint> #include <iostream> int main() { std::int32_t a_count{}, e_count{}, i_count{}, o_count{}, u_count{}; char ch; while (std::cin >> ch) { if (ch == 'a') { ++a_count; } else if (ch == 'e') { ++e_count; } else if (ch == 'i') { ...
19.607143
76
0.440801
KaiserLancelot
7d609f92a94b6c2a869106a3ad8d98c4152d44f7
542
cpp
C++
module-sys/SystemManager/cpu/algorithm/FrequencyHold.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
null
null
null
module-sys/SystemManager/cpu/algorithm/FrequencyHold.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
null
null
null
module-sys/SystemManager/cpu/algorithm/FrequencyHold.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "FrequencyHold.hpp" #include <algorithm> namespace sys::cpu { FrequencyHold::FrequencyHold(bsp::CpuFrequencyMHz toHold, const bsp::PowerProfile &profile) : toHold...
30.111111
95
0.714022
buk7456
de0a3871aa58811a473d402f952aeffdc3ff00c6
521
cpp
C++
AtCoder/ABC217G.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
null
null
null
AtCoder/ABC217G.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
1
2021-11-18T15:10:29.000Z
2021-11-20T07:13:31.000Z
AtCoder/ABC217G.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
null
null
null
/* * @author Nickel_Angel (1239004072@qq.com) * @copyright Copyright (c) 2022 */ #include <algorithm> #include <cstdio> #include <cstring> const int p = 998244353; int m, n, f[5010][5010]; int main() { scanf("%d%d", &n, &m); f[0][0] = 1; for (int i = 1; i <= n; ++i) { for (int j = 1; j <= i; ...
19.296296
88
0.428023
Nickel-Angel
de0c3fc7247569bfe4c42d11fe19bea1fa647643
1,558
cpp
C++
tests/Unit/ParallelAlgorithms/Initialization/Test_MutateAssign.cpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/ParallelAlgorithms/Initialization/Test_MutateAssign.cpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/ParallelAlgorithms/Initialization/Test_MutateAssign.cpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <string> #include <vector> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/DataBox/DataBoxTag.hpp" #include "ParallelAlgorithms/Initialization/MutateAssign.hpp" #include "Ut...
33.148936
80
0.65982
macedo22
de0e920acf662bbf9487e3baa92dda36942c0d84
4,046
cpp
C++
KRAWLER/KRAWLER Engine/src/Renderer/KRenderer.cpp
AlanMWalker/KRAWLER
9c1bd71529eb0dae8d387ef55508dbf042be140e
[ "MIT" ]
3
2017-12-13T10:15:11.000Z
2021-09-11T04:19:42.000Z
KRAWLER/KRAWLER Engine/src/Renderer/KRenderer.cpp
AlanMWalker/KRAWLER
9c1bd71529eb0dae8d387ef55508dbf042be140e
[ "MIT" ]
25
2017-12-21T02:07:15.000Z
2021-07-21T15:14:57.000Z
KRAWLER/KRAWLER Engine/src/Renderer/KRenderer.cpp
AlanMWalker/KRAWLER
9c1bd71529eb0dae8d387ef55508dbf042be140e
[ "MIT" ]
null
null
null
#include "Renderer\KRenderer.h" #include "KApplication.h" #include <algorithm> #include "imgui/imgui-SFML.h" #include "imgui/imgui.h" #include <SFML\Graphics.hpp> #include "AssetLoader\KAssetLoader.h" using namespace Krawler; using namespace Krawler::Renderer; using namespace std; KRenderer::KRenderer() : m_rend...
21.636364
149
0.709837
AlanMWalker
de0f696ab58839f575b422d8a20a6961b33fc8c0
2,373
hpp
C++
src/test/contactpoint.hpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
7
2015-01-04T13:50:24.000Z
2022-01-22T01:03:57.000Z
src/test/contactpoint.hpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
1
2018-08-16T00:46:58.000Z
2018-08-16T00:46:58.000Z
src/test/contactpoint.hpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
9
2016-08-31T05:42:00.000Z
2022-01-21T21:37:47.000Z
/** * Contains common testing utility functions for world * * @file world.hpp * @author Nahid Akbar * @date 2014-06-04 * @license General Public License version 3 or later * @copyright (c) 2013, NICTA */ #pragma once #include "datatype/datatypes.hpp" #include "test/common.hpp" namespace obsidian { bool op...
24.978947
124
0.620312
divad-nhok
de17b025841f131ae42b51592c3bbf403e22c758
536
hpp
C++
pythran/pythonic/include/numpy/logspace.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/numpy/logspace.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/numpy/logspace.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_INCLUDE_NUMPY_LOGSPACE_HPP #define PYTHONIC_INCLUDE_NUMPY_LOGSPACE_HPP #include "pythonic/numpy/linspace.hpp" #include "pythonic/numpy/power.hpp" namespace pythonic { namespace numpy { auto logspace(double start, double stop, long num = 50, bool endpoint = true, double base...
24.363636
76
0.623134
artas360
de17f057d6396a1214b464661ee638e58d08be0d
16,383
cpp
C++
2000/samples/polysamp/transact.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
1
2021-06-25T02:58:47.000Z
2021-06-25T02:58:47.000Z
2000/samples/polysamp/transact.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
null
null
null
2000/samples/polysamp/transact.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
3
2020-05-23T02:47:44.000Z
2020-10-27T01:26:53.000Z
// (C) Copyright 1996,1998 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warr...
29.787273
95
0.575108
kevinzhwl
de1ed26a62f9ec616d1074cb7a37f88f526b1df1
12,606
cpp
C++
src/main.cpp
gaia-platform/access_control_template
a4d07864a0856310d6b4a9400e239c921ee3106c
[ "MIT" ]
null
null
null
src/main.cpp
gaia-platform/access_control_template
a4d07864a0856310d6b4a9400e239c921ee3106c
[ "MIT" ]
2
2021-07-30T18:12:46.000Z
2021-09-15T18:32:59.000Z
src/main.cpp
gaia-platform/access_control_template
a4d07864a0856310d6b4a9400e239c921ee3106c
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include <signal.h> #include <sstream> #include <string> #include <vector> #include "gaia_access_control.h" #include "communication.hpp" #include "enums.hpp" #include "helpers.hpp" #include "json.hpp" #include "gaia/db/db.hpp" #include "gaia/logger.hpp" #include "gaia/rules/rule...
26.045455
104
0.610979
gaia-platform
de22ed7f41021d7f74f15c6242cfc4b90e5c0522
1,425
cc
C++
LIMoSim/map/lanegate.cc
inet-framework/LIMoSim
d9bdcefe82d41d4c8fd665a268843763fce59363
[ "MIT" ]
7
2017-07-17T07:13:03.000Z
2021-10-12T08:39:17.000Z
LIMoSim/map/lanegate.cc
tudo-cni/LIMoSim
f0e4c8d964da18dffecea040775f07da3f5a5d46
[ "MIT" ]
1
2018-03-08T10:28:01.000Z
2018-03-08T10:28:01.000Z
LIMoSim/map/lanegate.cc
tudo-cni/LIMoSim
f0e4c8d964da18dffecea040775f07da3f5a5d46
[ "MIT" ]
7
2017-09-13T09:05:20.000Z
2022-01-04T17:20:20.000Z
#include "lanegate.h" #include "lane.h" namespace LIMoSim { LaneGate::LaneGate() : lane(nullptr) { } Lane* LaneGate::getNextLane() { Lane *lane = nullptr; int type = TURN::THROUGH; while(out.count(type)==0 && type<TURN::REVERSE) type++; if(out.count(type)>0) lane = out[type]; ...
17.592593
86
0.553684
inet-framework
de269f5ef2ea650bc6d20329ef028b42e6f26040
19,482
cpp
C++
OpenGLView.cpp
paulhoad/objecteditor
9f462f81daf1442fb5af0541838969f4bcf46bb3
[ "MIT" ]
3
2020-03-21T11:54:35.000Z
2021-09-27T18:19:37.000Z
OpenGLView.cpp
paulhoad/objecteditor
9f462f81daf1442fb5af0541838969f4bcf46bb3
[ "MIT" ]
1
2020-03-15T16:06:56.000Z
2020-03-15T16:06:56.000Z
OpenGLView.cpp
paulhoad/objecteditor
9f462f81daf1442fb5af0541838969f4bcf46bb3
[ "MIT" ]
1
2020-08-06T10:40:48.000Z
2020-08-06T10:40:48.000Z
// OpenGLView.cpp : implementation file // #include "stdafx.h" #include "OpenGLView.h" #include "RgbPal.h" #include "Pallette.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #include <gl\gl.h> #include <gl\glu.h> //#include "BMP.h" int w...
24.754765
83
0.573452
paulhoad
de26a588c5785d3438f2202daf8ef1f0ec86c514
1,136
hpp
C++
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/entry_point/exception_handler/default_ex.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/entry_point/exception_handler/default_ex.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/entry_point/exception_handler/default_ex.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
#pragma once #include <msw/config.hpp> #ifdef MSW_DEFAULT_EXCEPTION_NOTIFIER_ON_MESSAGE_BOX #include <msw/entry_point/exception_handler/window.hpp> #else #include <msw/entry_point/exception_handler/console.hpp> #endif namespace msw { namespace entry_point { int default_exception_handler_ex ...
25.244444
102
0.725352
yklishevich
de296ee68ea899b1a95bdf898e8bbe8963f8995b
2,608
cpp
C++
src/nodes/sensor/sensor.cpp
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
1
2021-03-05T17:35:20.000Z
2021-03-05T17:35:20.000Z
src/nodes/sensor/sensor.cpp
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
null
null
null
src/nodes/sensor/sensor.cpp
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
1
2021-03-05T17:35:35.000Z
2021-03-05T17:35:35.000Z
//------------------------------------------------------------------------- // Copyright (c) 1997-1998 Great Hill Corporation // All Rights Reserved. //------------------------------------------------------------------------- // WARNING: THIS FILE WAS CREATED AUTOMATICALLY //---------------------------------------...
25.821782
76
0.488113
tjayrush
de4222ca95d75488314230f13957734c7defdae3
1,890
cpp
C++
snippets/cpp/VS_Snippets_Data/Classic WebData XmlSchemaAny Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-02-22T09:30:21.000Z
2021-08-02T23:44:31.000Z
snippets/cpp/VS_Snippets_Data/Classic WebData XmlSchemaAny Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_Data/Classic WebData XmlSchemaAny Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
//<snippet1> #using <mscorlib.dll> #using <System.Xml.dll> using namespace System; using namespace System::Xml; using namespace System::Xml::Schema; class XmlSchemaExamples { public: static void Main() { XmlSchema^ schema = gcnew XmlSchema(); // <element name='htmlText'> XmlSchemaEleme...
27
97
0.636508
BohdanMosiyuk
de43d051c508b67bf86742ce4004c1bfbbf4ede5
859
hpp
C++
src/UI/Control.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
127
2018-12-09T18:40:02.000Z
2022-03-06T00:10:07.000Z
src/UI/Control.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
267
2019-02-26T22:16:48.000Z
2022-02-09T09:49:22.000Z
src/UI/Control.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
17
2019-02-26T20:45:34.000Z
2021-06-17T15:06:26.000Z
#pragma once #include <functional> #include <glm/vec2.hpp> #include <ngf/Graphics/Drawable.h> #include <ngf/Graphics/RenderTarget.h> #include <ngf/Graphics/RenderStates.h> namespace ng { enum class ControlState { None, Hover, Disabled }; class Engine; class Control : public ngf::Drawable { public: void setE...
19.976744
67
0.719441
scemino
de56a1b47138f13fc7480bc83fb22acbf0961809
3,809
cpp
C++
DynacoeSrc/srcs/Dynacoe/Backends/Backend.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
1
2015-11-06T18:10:11.000Z
2015-11-06T18:10:11.000Z
DynacoeSrc/srcs/Dynacoe/Backends/Backend.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
8
2018-01-25T03:54:32.000Z
2018-09-17T01:55:35.000Z
DynacoeSrc/srcs/Dynacoe/Backends/Backend.cpp
jcorks/Dynacoe
2d606620e8072d8ae76aa2ecdc31512ac90362d9
[ "Apache-2.0", "MIT", "Libpng", "FTL", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2018, Johnathan Corkery. (jcorkery@umich.edu) All rights reserved. This file is part of the Dynacoe project (https://github.com/jcorks/Dynacoe) Dynacoe was released under the MIT License, as detailed below. Permission is hereby granted, free of charge, to any person obtaining a copy of this softw...
29.527132
137
0.758467
jcorks
de57b136738293e76d31d78a8fe68505cf84c626
1,260
cpp
C++
demboyz/demmessages/dem_datatables.cpp
juniorsgithub/demboyz
73ba4f105e5670ab07334e867a3f57fb1de2ff55
[ "MIT" ]
42
2015-09-24T01:14:26.000Z
2021-12-25T14:28:40.000Z
demboyz/demmessages/dem_datatables.cpp
juniorsgithub/demboyz
73ba4f105e5670ab07334e867a3f57fb1de2ff55
[ "MIT" ]
3
2015-10-11T17:51:07.000Z
2018-07-14T01:04:05.000Z
demboyz/demmessages/dem_datatables.cpp
juniorsgithub/demboyz
73ba4f105e5670ab07334e867a3f57fb1de2ff55
[ "MIT" ]
12
2015-07-16T02:26:34.000Z
2021-09-13T23:29:36.000Z
#include "dem_datatables.h" #include "demofile/demofile.h" #include "demofile/demojson.h" namespace DemHandlers { bool Dem_DataTables_FileRead_Internal(FileRead& demofile, DemMsg::Dem_DataTables* data) { data->data = demofile.ReadRawData(DemMsg::Dem_DataTables::DATA_MAX_LENGTH); return demofil...
32.307692
94
0.680159
juniorsgithub
de5c2ded87dad35d3abafa656f53b42af4444069
15,065
cpp
C++
src/Syntax/FileFunction.cpp
FerhatGec/scrift
492184c7a6995391859b681f917df7d14e140e40
[ "MIT" ]
41
2020-08-31T23:42:58.000Z
2022-02-02T22:12:20.000Z
src/Syntax/FileFunction.cpp
Lisprez/scrift
4eeaa9d4ca41c63de92cf9ca9b5bd80424f0c6a5
[ "MIT" ]
2
2020-09-22T11:46:47.000Z
2020-11-28T20:40:57.000Z
src/Syntax/FileFunction.cpp
Lisprez/scrift
4eeaa9d4ca41c63de92cf9ca9b5bd80424f0c6a5
[ "MIT" ]
4
2020-10-21T19:28:45.000Z
2021-08-01T03:13:04.000Z
/* MIT License # # Copyright (c) 2020 Ferhat Geçdoğan All Rights Reserved. # Distributed under the terms of the MIT License. # # */ #include <iostream> #include <fstream> #include <vector> #include <filesystem> #include <unistd.h> #include <cstdlib> #include <src/Syntax/CommandFunc.hpp> #include <src/Scrift.hpp> #i...
31.849894
207
0.547361
FerhatGec
de5e568098b17b83fe4ce244cbe05ef0abbd04a4
355
hxx
C++
src/include/Elastic/Apm/Impl/Util/AssertionFailedException.hxx
SergeyKleyman/elastic-apm-agent-cpp-prototype
67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517
[ "Apache-2.0" ]
null
null
null
src/include/Elastic/Apm/Impl/Util/AssertionFailedException.hxx
SergeyKleyman/elastic-apm-agent-cpp-prototype
67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517
[ "Apache-2.0" ]
null
null
null
src/include/Elastic/Apm/Impl/Util/AssertionFailedException.hxx
SergeyKleyman/elastic-apm-agent-cpp-prototype
67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Elastic/Apm/Impl/Util/Exception.hxx" namespace Elastic { namespace Apm { namespace Impl { namespace Util { class AssertionFailedException : public Exception { public: explicit AssertionFailedException( String message ) : Exception{ std::move( message ) } {} }; } } } } // ...
18.684211
67
0.692958
SergeyKleyman
de62b3713f8efb5e375a36267e008a9c910994b2
23,946
hpp
C++
include/rabbitxx/graph/otf2_io_graph_properties.hpp
blastmaster/rabbitxx
c2f3d7852b10c1284d3621fbeba7b10507abdd74
[ "MIT" ]
null
null
null
include/rabbitxx/graph/otf2_io_graph_properties.hpp
blastmaster/rabbitxx
c2f3d7852b10c1284d3621fbeba7b10507abdd74
[ "MIT" ]
null
null
null
include/rabbitxx/graph/otf2_io_graph_properties.hpp
blastmaster/rabbitxx
c2f3d7852b10c1284d3621fbeba7b10507abdd74
[ "MIT" ]
null
null
null
#ifndef RABBITXX_OTF2_IO_GRAPH_PROPERTIES_HPP #define RABBITXX_OTF2_IO_GRAPH_PROPERTIES_HPP #include <boost/variant.hpp> #include <boost/optional.hpp> #include <boost/optional/optional_io.hpp> #include <boost/graph/graphviz.hpp> #include <otf2xx/otf2.hpp> #include <rabbitxx/log.hpp> #include <rabbitxx/utils.hpp> #i...
32.359459
154
0.59488
blastmaster
de6659767aa4294cd475671b8786ce10bbe940b5
8,692
cpp
C++
ARPREC/arprec-2.2.13/tests/quad-gs.cpp
paveloom-p/P3
57df3b6263db81685f137a7ed9428dbd3c1b4a5b
[ "Unlicense" ]
null
null
null
ARPREC/arprec-2.2.13/tests/quad-gs.cpp
paveloom-p/P3
57df3b6263db81685f137a7ed9428dbd3c1b4a5b
[ "Unlicense" ]
null
null
null
ARPREC/arprec-2.2.13/tests/quad-gs.cpp
paveloom-p/P3
57df3b6263db81685f137a7ed9428dbd3c1b4a5b
[ "Unlicense" ]
null
null
null
/* * quad-gs.cpp * * This work was supported by the Director, Office of Science, Division * of Mathematical, Information, and Computational Sciences of the * U.S. Department of Energy under contract number DE-AC03-76SF00098. * * Copyright (c) 2004 * * * Creation Date: June 7, 2004 * Modified: June 26, 2...
23.555556
78
0.574896
paveloom-p
de66ed4b68224179c9af118eaf916005b88594f1
896
cpp
C++
problem-solver/cxx/inferenceModule/keynodes/InferenceKeynodes.cpp
NikitaZotov/ostis-inference
6c5c7ca37668e6b22ba1cf261101e12e1e46589d
[ "Apache-2.0" ]
null
null
null
problem-solver/cxx/inferenceModule/keynodes/InferenceKeynodes.cpp
NikitaZotov/ostis-inference
6c5c7ca37668e6b22ba1cf261101e12e1e46589d
[ "Apache-2.0" ]
null
null
null
problem-solver/cxx/inferenceModule/keynodes/InferenceKeynodes.cpp
NikitaZotov/ostis-inference
6c5c7ca37668e6b22ba1cf261101e12e1e46589d
[ "Apache-2.0" ]
null
null
null
/* * This source file is part of an OSTIS project. For the latest info, see http://ostis.net * Distributed under the MIT License * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) */ #include "InferenceKeynodes.hpp" #include <sc-memory/sc_memory.hpp> namespace inference { ScAddr Inf...
32
89
0.84375
NikitaZotov
de6c4d5e6cc5166ba2bd2d12fa0128cf8144b52d
3,087
cpp
C++
Engine/Test/Core/Molten/Renderer/Shader/VisualShaderVariableTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
1
2020-10-05T05:24:47.000Z
2020-10-05T05:24:47.000Z
Engine/Test/Core/Molten/Renderer/Shader/VisualShaderVariableTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
null
null
null
Engine/Test/Core/Molten/Renderer/Shader/VisualShaderVariableTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2020 Jimmie Bergmann * * 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, m...
39.576923
88
0.662455
jimmiebergmann
de6de5f61136a19713de64da34410daf8eb6b871
2,305
hpp
C++
src/include/polo/boosting/momentum.hpp
aytekinar/polo
da682618e98755738905fd19e55e5271af937661
[ "MIT" ]
8
2018-10-12T09:54:25.000Z
2020-06-18T12:04:44.000Z
src/include/polo/boosting/momentum.hpp
aytekinar/polo
da682618e98755738905fd19e55e5271af937661
[ "MIT" ]
10
2018-10-10T10:28:23.000Z
2019-03-14T11:36:03.000Z
src/include/polo/boosting/momentum.hpp
aytekinar/polo
da682618e98755738905fd19e55e5271af937661
[ "MIT" ]
null
null
null
#ifndef POLO_BOOSTING_MOMENTUM_HPP_ #define POLO_BOOSTING_MOMENTUM_HPP_ #include <algorithm> #include <iterator> #include <mutex> #include <vector> namespace polo { namespace boosting { namespace detail { class classical {}; class nesterov {}; template <class value_t, class index_t, class momentum_t> struct momentum...
27.117647
79
0.669414
aytekinar
de76caab433d54294c554323c3a0b5770acc81f4
11,730
cpp
C++
main.cpp
anekawamasayuki/httf2018-qual
27a66742f9ec24c21ee3e7f747e79d332a35a4fc
[ "MIT" ]
1
2021-09-25T09:12:45.000Z
2021-09-25T09:12:45.000Z
main.cpp
anekawamasayuki/httf2018-qual
27a66742f9ec24c21ee3e7f747e79d332a35a4fc
[ "MIT" ]
2
2021-09-24T17:28:50.000Z
2021-09-24T17:30:08.000Z
main.cpp
anekawamasayuki/httf2018-qual
27a66742f9ec24c21ee3e7f747e79d332a35a4fc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> // #define BOOST #ifdef BOOST #include <boost/filesystem.hpp> #include <boost/random.hpp> #include <boost/random/random_device.hpp> namespace fs = boost::filesystem; namespace rd = boost::random; #else #include <random> #include <filesystem> namespace fs = std::filesystem; namespace rd = ...
23.366534
102
0.523785
anekawamasayuki
de779dd2c3fd5bf2074f96dad010ecda360612d3
4,764
cpp
C++
src/xpcc/driver/storage/fat.cpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
null
null
null
src/xpcc/driver/storage/fat.cpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
null
null
null
src/xpcc/driver/storage/fat.cpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
null
null
null
// coding: utf-8 // ---------------------------------------------------------------------------- /* Copyright (c) 2011, Roboterclub Aachen e.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: ...
25.612903
84
0.623216
walmis
de821fed142a6b9c0027cd3d6d9220a600c954c1
232
cpp
C++
LuaCpp/LuaCpp/LuaCpp/AbstractBehaviour.cpp
Revenaant/CppLuaEngine
7057cb98cddf8c46f1784e9241fd20e2e3b79b7c
[ "MIT" ]
null
null
null
LuaCpp/LuaCpp/LuaCpp/AbstractBehaviour.cpp
Revenaant/CppLuaEngine
7057cb98cddf8c46f1784e9241fd20e2e3b79b7c
[ "MIT" ]
null
null
null
LuaCpp/LuaCpp/LuaCpp/AbstractBehaviour.cpp
Revenaant/CppLuaEngine
7057cb98cddf8c46f1784e9241fd20e2e3b79b7c
[ "MIT" ]
null
null
null
#include "AbstractBehaviour.h" AbstractBehaviour::AbstractBehaviour() : _owner(nullptr) {} AbstractBehaviour::~AbstractBehaviour() { _owner = nullptr; } void AbstractBehaviour::setOwner(GameObject* pOwner) { _owner = pOwner; }
17.846154
59
0.758621
Revenaant
de87526702c3b12271704d2447a320d24b61d43d
609
hpp
C++
include/constant.hpp
hberker/sdl-platformer
9629aebcb80dfd0eeecf808ff1ee83312690bb11
[ "MIT" ]
null
null
null
include/constant.hpp
hberker/sdl-platformer
9629aebcb80dfd0eeecf808ff1ee83312690bb11
[ "MIT" ]
null
null
null
include/constant.hpp
hberker/sdl-platformer
9629aebcb80dfd0eeecf808ff1ee83312690bb11
[ "MIT" ]
null
null
null
#ifndef CONSTANT_HPP #define CONSTANT_HPP constexpr char GAME_NAME[] = "GAME"; constexpr char TILE_TEXTURE_PATH[] = "assets/tiles.png"; constexpr char PLAYER_TEXTURE_PATH[] = "assets/pokemon_trainer.png";//"assets/person_back.png"; constexpr int TOTAL_TILE_SPRITES = 12; constexpr int TOTAL_PLAYER_SPRITES = 12; cons...
27.681818
95
0.789819
hberker
de91eb4ac6cf170de62aa9a259fff0ab9c58f69c
6,573
cpp
C++
src/QmaxPBAKV.cpp
Bilal-Tayh/q-MAX
b0999f6458eb6ba7ae89b330d7a88640b9af943c
[ "MIT" ]
null
null
null
src/QmaxPBAKV.cpp
Bilal-Tayh/q-MAX
b0999f6458eb6ba7ae89b330d7a88640b9af943c
[ "MIT" ]
null
null
null
src/QmaxPBAKV.cpp
Bilal-Tayh/q-MAX
b0999f6458eb6ba7ae89b330d7a88640b9af943c
[ "MIT" ]
null
null
null
#include "QmaxPBAKV.hpp" #include <iostream> #include <unordered_map> using namespace std; QMaxPBAKV::QMaxPBAKV(int q, float gamma) { _actualsize = q * (1+gamma); _actualsizeMinusOne = _actualsize - 1; _curIdx = _actualsize; _K = (key*) malloc(sizeof(key) * _actualsize); _V = (val*) malloc(sizeof(val)...
24.526119
108
0.546934
Bilal-Tayh
de9d5d36cabdfa38d75ee999134ed92386b5a11e
1,474
cpp
C++
test/ut/polygonselection_test.cpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
8
2016-10-06T11:49:14.000Z
2021-11-06T21:06:36.000Z
test/ut/polygonselection_test.cpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
20
2017-04-25T14:23:02.000Z
2018-12-04T22:46:04.000Z
test/ut/polygonselection_test.cpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
4
2018-07-04T00:14:41.000Z
2018-07-17T09:08:25.000Z
#include <gtest/gtest.h> #include <polygonselection.hpp> struct polygonSelectionTest : public testing::Test { PolygonSelection sut; }; TEST_F(polygonSelectionTest, selectPoly) { sut.selectAll(3); EXPECT_TRUE(sut.contains(0)); EXPECT_TRUE(sut.contains(0, 0)); EXPECT_TRUE(sut.contains(0, 1)); EX...
23.396825
50
0.670285
helloer
dea128f228be75efb827dbfb659c62f47293b931
538
cpp
C++
src/prod/src/Common/TraceCorrelatedEvent.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Common/TraceCorrelatedEvent.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Common/TraceCorrelatedEvent.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // 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...
38.428571
112
0.609665
AnthonyM
dea6d4df2d895490e8917d9d6f306b4dbd3b1fb8
235
cpp
C++
http_normalizer/examples/example.cpp
Manu-sh/http_normalizer
68f4d5281b0f5fc9eee7e9aff8262e8c99e1079f
[ "MIT" ]
null
null
null
http_normalizer/examples/example.cpp
Manu-sh/http_normalizer
68f4d5281b0f5fc9eee7e9aff8262e8c99e1079f
[ "MIT" ]
null
null
null
http_normalizer/examples/example.cpp
Manu-sh/http_normalizer
68f4d5281b0f5fc9eee7e9aff8262e8c99e1079f
[ "MIT" ]
null
null
null
#include <http_normalizer/public/http_normalizer.hpp> #include <iostream> using namespace std; int main() { const auto &shp = http_normalizer::normalize("https://www.youtube.com:90/../x/./?b=x&a=d", 0); cout << *shp << endl; }
29.375
98
0.67234
Manu-sh
dea84f6050f888e4421c01eb963809fd48d5d195
704
inl
C++
src/draw2d/dctx.inl
rochus-keller/nappgui_src
394875dfc11c9c73cd7995d56f77dcd4629d70b5
[ "MIT" ]
133
2021-09-09T17:53:54.000Z
2022-03-24T17:17:35.000Z
src/draw2d/dctx.inl
rochus-keller/nappgui_src
394875dfc11c9c73cd7995d56f77dcd4629d70b5
[ "MIT" ]
9
2021-09-09T21:20:49.000Z
2022-03-22T00:07:56.000Z
src/draw2d/dctx.inl
rochus-keller/nappgui_src
394875dfc11c9c73cd7995d56f77dcd4629d70b5
[ "MIT" ]
10
2021-11-25T00:15:32.000Z
2022-01-18T13:46:32.000Z
/* * NAppGUI Cross-platform C SDK * 2015-2022 Francisco Garcia Collado * MIT Licence * https://nappgui.com/en/legal/license.html * * File: dctx.inl * */ /* Draw context */ #include "draw2d.hxx" __EXTERN_C DCtx *dctx_create(void *custom_data); void dctx_destroy(DCtx **ctx); void dctx_init(DCtx *ctx); void...
19.555556
192
0.741477
rochus-keller
deb2910ddb7e913122041fa0f55f9b6956c6a1d4
2,633
cpp
C++
Student_Cuda/src/cpp/core/02_Hello_add_vector/host/vectorTools.cpp
minidfx/GPU-omp-cuda
8aa5c779ee075e969d9dab1b3ff7331a9023b742
[ "MIT" ]
1
2018-04-17T13:47:12.000Z
2018-04-17T13:47:12.000Z
Student_Cuda/src/cpp/core/02_Hello_add_vector/host/vectorTools.cpp
minidfx/GPU-omp-cuda
8aa5c779ee075e969d9dab1b3ff7331a9023b742
[ "MIT" ]
null
null
null
Student_Cuda/src/cpp/core/02_Hello_add_vector/host/vectorTools.cpp
minidfx/GPU-omp-cuda
8aa5c779ee075e969d9dab1b3ff7331a9023b742
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using std::cout; using std::endl; /*----------------------------------------------------------------------*\ |* Declaration *| \*---------------------------------------------------------------------*/ /*--------------------------------------*\ |* Public *...
20.099237
75
0.343714
minidfx
deb3b9d64ece1902ca5b7ba60a99a52e4a7efde5
1,684
cpp
C++
tests/src/hw/ArduinoCTL/Util.cpp
rv0/OpenDeck
24256dd2cbf5dfc4cf8b48d1aaeff3da12b7ec7e
[ "Apache-2.0" ]
75
2021-07-23T20:48:35.000Z
2022-03-26T02:24:27.000Z
tests/src/hw/ArduinoCTL/Util.cpp
rv0/OpenDeck
24256dd2cbf5dfc4cf8b48d1aaeff3da12b7ec7e
[ "Apache-2.0" ]
5
2021-07-19T17:38:16.000Z
2022-02-06T17:01:18.000Z
tests/src/hw/ArduinoCTL/Util.cpp
rv0/OpenDeck
24256dd2cbf5dfc4cf8b48d1aaeff3da12b7ec7e
[ "Apache-2.0" ]
7
2021-07-19T17:22:39.000Z
2022-02-03T17:55:17.000Z
/* Copyright 2015-2022 Igor Petrovic Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
22.453333
78
0.548694
rv0
deb7bcb838580332aa2be3c7aef2fcce5fa743c0
2,018
hpp
C++
include/aruco_unity_plugin/cv/rect.hpp
Ahmed-jerbi/Aruco-Camera-Calibration
7f943d38da7c703256953ae8e4a150c7eef344b5
[ "BSD-3-Clause" ]
12
2018-11-20T02:57:43.000Z
2021-05-11T12:06:56.000Z
include/aruco_unity_plugin/cv/rect.hpp
Ahmed-jerbi/Aruco-Camera-Calibration
7f943d38da7c703256953ae8e4a150c7eef344b5
[ "BSD-3-Clause" ]
2
2019-05-01T20:18:42.000Z
2019-09-21T13:42:20.000Z
include/aruco_unity_plugin/cv/rect.hpp
Ahmed-jerbi/Aruco-Camera-Calibration
7f943d38da7c703256953ae8e4a150c7eef344b5
[ "BSD-3-Clause" ]
3
2018-11-01T08:17:46.000Z
2020-03-05T20:22:07.000Z
#ifndef __ARUCO_UNITY_PLUGIN_RECT_HPP__ #define __ARUCO_UNITY_PLUGIN_RECT_HPP__ #include <opencv2/core.hpp> #include "aruco_unity_plugin/utility/exports.hpp" //! @addtogroup rect //! \brief Class for int 2D rectangles. //! //! See the OpenCV documentation for more information: http://docs.opencv.org/3.4.7/d2/d44/clas...
27.643836
113
0.684836
Ahmed-jerbi
630d48fedae0a540b5ea2cdc0631a87203241781
3,857
cpp
C++
src/TridimensionalObjectRC.cpp
NoVariableGlobal/global-engine
b682dccbae6c5a4794e94960dfeb220addfe7773
[ "MIT" ]
null
null
null
src/TridimensionalObjectRC.cpp
NoVariableGlobal/global-engine
b682dccbae6c5a4794e94960dfeb220addfe7773
[ "MIT" ]
3
2020-03-09T21:34:04.000Z
2021-03-28T17:30:31.000Z
src/TridimensionalObjectRC.cpp
NoVariableGlobal/one-thousand-years
b682dccbae6c5a4794e94960dfeb220addfe7773
[ "MIT" ]
3
2020-08-15T06:33:32.000Z
2021-03-28T14:23:31.000Z
#include "TridimensionalObjectRC.h" #include "ComponentsManager.h" #include "Entity.h" #include "FactoriesFactory.h" #include "OgreSDLContext.h" #include "Scene.h" #include "TransformComponent.h" #include <Ogre.h> #include <json.h> // Updates the node position as our father transform void TridimensionalObjectRC::rende...
37.813725
80
0.691211
NoVariableGlobal
631138e8ac31a91aa33f0e0a6b475f6ed1234284
216
cpp
C++
src/main/cpp/commands/CmdPrintAutoText.cpp
Team1507/RapidReact2022
6745162ba1474a9a4b6b0f77bdfd7d6e7d8a04ad
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/commands/CmdPrintAutoText.cpp
Team1507/RapidReact2022
6745162ba1474a9a4b6b0f77bdfd7d6e7d8a04ad
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/commands/CmdPrintAutoText.cpp
Team1507/RapidReact2022
6745162ba1474a9a4b6b0f77bdfd7d6e7d8a04ad
[ "BSD-3-Clause" ]
null
null
null
#include "commands/CmdPrintAutoText.h" #include <iostream> CmdPrintAutoText::CmdPrintAutoText(std::string text) { m_text = text; } void CmdPrintAutoText::Initialize() { std::cout << m_text << std::endl; }
15.428571
53
0.703704
Team1507
63195dbc48786798d134889ab80ba2d1adde0e10
5,075
cpp
C++
montador/src/preprocessor.cpp
bandreghetti/SB_2018-2
bcfba7a05a7cc609420306e0823b2cdbeeefe97d
[ "MIT" ]
null
null
null
montador/src/preprocessor.cpp
bandreghetti/SB_2018-2
bcfba7a05a7cc609420306e0823b2cdbeeefe97d
[ "MIT" ]
null
null
null
montador/src/preprocessor.cpp
bandreghetti/SB_2018-2
bcfba7a05a7cc609420306e0823b2cdbeeefe97d
[ "MIT" ]
null
null
null
#include <preprocessor.hpp> PreProcessor::PreProcessor(std::string fileName) { this->fileName = fileName; std::string asmName = fileName + ".asm"; // input file name if (!fileExists(asmName)) { std::cout << "File " + asmName + " does not exists\n"; error = -1; return; } //...
31.134969
97
0.493202
bandreghetti
63219732807d670141c0940d3a337961e078cc60
13,617
cpp
C++
src/hssh/local_topological/area_detection/gateways/isovist_orientation_gateway_generator.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
3
2020-03-05T23:56:14.000Z
2021-02-17T19:06:50.000Z
src/hssh/local_topological/area_detection/gateways/isovist_orientation_gateway_generator.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
1
2021-03-07T01:23:47.000Z
2021-03-07T01:23:47.000Z
src/hssh/local_topological/area_detection/gateways/isovist_orientation_gateway_generator.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
1
2021-03-03T07:54:16.000Z
2021-03-03T07:54:16.000Z
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
41.263636
120
0.623118
anuranbaka
6325244bba02e08e46996d2ad11d13aca6a4fd4d
53,360
cc
C++
cpp/core/internal/payload_manager.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
cpp/core/internal/payload_manager.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
cpp/core/internal/payload_manager.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 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 ...
39.322034
80
0.722245
jdapena
63255634f448275cefb4d32aa0c5a9101fda9d9c
1,707
cpp
C++
src/s2mMuscleHillTypeSimple.cpp
CamWilhelm/biorbd
67d36e77d90cc09aa748c3acf2c2bdff5065d3c9
[ "MIT" ]
null
null
null
src/s2mMuscleHillTypeSimple.cpp
CamWilhelm/biorbd
67d36e77d90cc09aa748c3acf2c2bdff5065d3c9
[ "MIT" ]
null
null
null
src/s2mMuscleHillTypeSimple.cpp
CamWilhelm/biorbd
67d36e77d90cc09aa748c3acf2c2bdff5065d3c9
[ "MIT" ]
null
null
null
#define BIORBD_API_EXPORTS #include "../include/s2mMuscleHillTypeSimple.h" s2mMuscleHillTypeSimple::s2mMuscleHillTypeSimple(const s2mString &s) : s2mMuscleHillType(s) { setType(); } s2mMuscleHillTypeSimple::s2mMuscleHillTypeSimple(const s2mMuscleGeometry &g, c...
27.983607
110
0.616872
CamWilhelm
632ae0335b2ff8147f758ea56afdaa417841ac6b
1,341
cpp
C++
src/framework/util/hello_thread.cpp
70207/watchMyDraw
0c69fb57ecfa0b4bb44061001da8804af4bfb360
[ "MIT" ]
null
null
null
src/framework/util/hello_thread.cpp
70207/watchMyDraw
0c69fb57ecfa0b4bb44061001da8804af4bfb360
[ "MIT" ]
null
null
null
src/framework/util/hello_thread.cpp
70207/watchMyDraw
0c69fb57ecfa0b4bb44061001da8804af4bfb360
[ "MIT" ]
null
null
null
// // hello_thread.cpp // watchMyDraw // // Created by peter chen on 2017/10/8. // Copyright © 2017年 chenxiaofei. All rights reserved. // #include <unistd.h> #include <sys/syscall.h> #include <pthread.h> #include <algorithm> #include <thread> #include <vector> #include <string.h> #include "hello_thread.h" #includ...
20.630769
67
0.508576
70207
632ae9a075e0367992bcd632a8af19c236abc67c
3,770
cpp
C++
libs/network/test/http/request_test.cpp
iBeacons/cpp-netlib
9d03a037e465df96a98c1db5f3e50a865f501b64
[ "BSL-1.0" ]
1
2017-04-11T17:27:38.000Z
2017-04-11T17:27:38.000Z
libs/network/test/http/request_test.cpp
iBeacons/cpp-netlib
9d03a037e465df96a98c1db5f3e50a865f501b64
[ "BSL-1.0" ]
null
null
null
libs/network/test/http/request_test.cpp
iBeacons/cpp-netlib
9d03a037e465df96a98c1db5f3e50a865f501b64
[ "BSL-1.0" ]
null
null
null
// Copyright 2012 Dean Michael Berris <dberris@google.com>. // Copyright 2012 Google, Inc. // 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) #ifdef BUILD_SHARED_LIBS # define BOOST_TEST_DYN_LINK #endif #define BOO...
34.907407
88
0.738462
iBeacons
6331ac06a5399b3c7938fb7910758e02c54a1fd1
688
cpp
C++
3. Function/7_sum_natural_number.cpp
theparitoshkumar/Programming-Data-Structures-and-Algorithms-using-C-
1d7d7158ea1eee04b82d85195d4072feae57d8f6
[ "MIT" ]
null
null
null
3. Function/7_sum_natural_number.cpp
theparitoshkumar/Programming-Data-Structures-and-Algorithms-using-C-
1d7d7158ea1eee04b82d85195d4072feae57d8f6
[ "MIT" ]
1
2021-09-12T15:55:57.000Z
2021-09-14T15:42:51.000Z
3. Function/7_sum_natural_number.cpp
theparitoshkumar/Programming-and-Data-Structures-and-Algorithms-using-C-plus-plus
1d7d7158ea1eee04b82d85195d4072feae57d8f6
[ "MIT" ]
null
null
null
/* Write a program to print the n = sum of n natural number to the given input. The below algorithm may cost you the time complexity of O(n) */ #include<bits/stdc++.h> /* It is basically a header file that includes every standard library. In programming contests, using this file is a good idea, when you want to ...
18.594595
101
0.656977
theparitoshkumar
63363c090263c53364346e476876c72a8acd21c4
976
cpp
C++
2015/Day 25/day25.cpp
ppattis/AdventOfCode
162767fbf3fc40e0a51c2c307c69bbd9fed3ca26
[ "MIT" ]
null
null
null
2015/Day 25/day25.cpp
ppattis/AdventOfCode
162767fbf3fc40e0a51c2c307c69bbd9fed3ca26
[ "MIT" ]
null
null
null
2015/Day 25/day25.cpp
ppattis/AdventOfCode
162767fbf3fc40e0a51c2c307c69bbd9fed3ca26
[ "MIT" ]
null
null
null
// // Advent of Code 2015 // Day 25 // // By PatchesTheDipstick // // System includes... #include <regex> // Third Party includes... // Project includes... #include "../utils.hpp" int main(int argc, char** argv) { std::vector<std::string> input = ptd::utils::getInput("input.txt"); std::regex pattern...
19.137255
68
0.578893
ppattis
633c4419cb184b9ca964983cee8c73e0f06e4ea8
1,120
cpp
C++
src/module/config/SocketServerConfig.cpp
heaven-chp/base-server-cpp
87213259c61c93a791d087f4b284f79f0f05574c
[ "Apache-2.0" ]
null
null
null
src/module/config/SocketServerConfig.cpp
heaven-chp/base-server-cpp
87213259c61c93a791d087f4b284f79f0f05574c
[ "Apache-2.0" ]
1
2021-12-19T13:36:19.000Z
2021-12-19T14:07:14.000Z
src/module/config/SocketServerConfig.cpp
heaven-chp/base-server-cpp
87213259c61c93a791d087f4b284f79f0f05574c
[ "Apache-2.0" ]
null
null
null
#include "FileLog.h" #include "JsonManager.h" #include "SocketServerConfig.h" SocketServerConfig::SocketServerConfig() : Config("socket_server.config"), iAdminPort(0), iAdminTimeout(0), iUserPort(0), iUserTimeout(0), iUserJobPoolSize(0) { DEBUG_G(__PRETTY_FUNCTION__); } bool SocketServerConfig::Initializ...
20.363636
82
0.753571
heaven-chp
633ec5d6745578f9120ab3eada0cc96bda4109b6
3,034
cpp
C++
src/core/inputManager.cpp
MeTheFlea/flare
cf94019ef1a907fa33f29c5834616e05d891fb0d
[ "MIT" ]
3
2015-04-05T18:16:16.000Z
2016-05-02T19:00:48.000Z
src/core/inputManager.cpp
MeTheFlea/flare
cf94019ef1a907fa33f29c5834616e05d891fb0d
[ "MIT" ]
null
null
null
src/core/inputManager.cpp
MeTheFlea/flare
cf94019ef1a907fa33f29c5834616e05d891fb0d
[ "MIT" ]
null
null
null
#include "core/inputManager.h" #include "core/logger.h" using namespace flare; InputManager Input; InputManager::InputManager() { Reset(); } InputManager::~InputManager() { } bool InputManager::GetKeyDown( const KeyCode& a_key ) const { return m_keyChange[(unsigned char)a_key] && m_keyState[(unsigned char)a_key...
24.666667
99
0.682927
MeTheFlea
6342e10d8dfb01cc823029aec09deadf9e8f69a0
1,959
cpp
C++
scufy/potentiometer.cpp
jenny5-robot/Scufy
dc9f7df9a7b85eab7a93fe067f8617b16beef181
[ "MIT" ]
1
2019-08-13T05:15:12.000Z
2019-08-13T05:15:12.000Z
scufy/potentiometer.cpp
jenny5-robot/Scufy
dc9f7df9a7b85eab7a93fe067f8617b16beef181
[ "MIT" ]
null
null
null
scufy/potentiometer.cpp
jenny5-robot/Scufy
dc9f7df9a7b85eab7a93fe067f8617b16beef181
[ "MIT" ]
null
null
null
// Author: Mihai Oltean, mihaioltean.github.io, mihai.oltean@gmail.com // Jenny 5 websites: jenny5.org, jenny5-robot.github.io/ // Jenny 5 source code: github.com/jenny5-robot // MIT License //-------------------------------------------------------------- #include "potentiometer.h" #include "Arduino.h" //-------------...
28.391304
70
0.446656
jenny5-robot
63436be9fc969e6af47e0e67fcd1368e56148abb
9,394
cpp
C++
src/filter/zeroptm/mass_zero_ptm_filter.cpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
8
2018-05-23T14:37:31.000Z
2022-02-04T23:48:38.000Z
src/filter/zeroptm/mass_zero_ptm_filter.cpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
9
2019-08-31T08:17:45.000Z
2022-02-11T20:58:06.000Z
src/filter/zeroptm/mass_zero_ptm_filter.cpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
4
2018-04-25T01:39:38.000Z
2020-05-20T19:25:07.000Z
//Copyright (c) 2014 - 2020, The Trustees of Indiana University. // //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...
49.703704
108
0.637428
toppic-suite
63445ad6f2833d458145b1be2d465008a0ffe14a
6,229
cpp
C++
Nimbits.cpp
systronix/Nimbits-HIH6130
1de6ea8148fd51e59126f87216ed641ec40a4617
[ "MIT" ]
1
2017-07-03T02:23:52.000Z
2017-07-03T02:23:52.000Z
Nimbits.cpp
systronix/Nimbits-HIH6130
1de6ea8148fd51e59126f87216ed641ec40a4617
[ "MIT" ]
null
null
null
Nimbits.cpp
systronix/Nimbits-HIH6130
1de6ea8148fd51e59126f87216ed641ec40a4617
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <Dhcp.h> #include <Dns.h> #include <EthernetServer.h> #include <util.h> #include <EthernetUdp.h> #include <Ethernet.h> #include <EthernetClient.h> #include <SPI.h> #include <stdlib.h> #include <stdio.h> #include "Nimbits.h" #define BUFFER_SIZE 1024 #define PORT 80 #define CATEGORY 2 #defin...
20.093548
103
0.599775
systronix