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
ff60fdd0e1c77c2998f5627d84a3d069fe61c43e
2,283
cpp
C++
app/ot.cpp
goossens/ObjectTalk
ca1d4f558b5ad2459b376102744d52c6283ec108
[ "MIT" ]
6
2021-11-12T15:03:53.000Z
2022-01-28T18:30:33.000Z
app/ot.cpp
goossens/ObjectTalk
ca1d4f558b5ad2459b376102744d52c6283ec108
[ "MIT" ]
null
null
null
app/ot.cpp
goossens/ObjectTalk
ca1d4f558b5ad2459b376102744d52c6283ec108
[ "MIT" ]
null
null
null
// ObjectTalk Scripting Language // Copyright (c) 1993-2022 Johan A. Goossens. All rights reserved. // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. // // Include files // #include <iostream> #include <argparse/argparse.hpp> #include "ot.h" ...
19.512821
66
0.651336
goossens
ff6997f78049ae379ffa70311aa150c15e314723
24,201
cpp
C++
gen/blink/bindings/modules/v8/V8AudioNode.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
8
2019-05-05T16:38:05.000Z
2021-11-09T11:45:38.000Z
gen/blink/bindings/modules/v8/V8AudioNode.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
null
null
null
gen/blink/bindings/modules/v8/V8AudioNode.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
4
2018-12-14T07:52:46.000Z
2021-06-11T18:06:09.000Z
// Copyright 2014 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #if ENABLE(WEB_AUDIO) #include "V8AudioNode.h" #include...
41.298635
503
0.711417
gergul
ff7ae59ea86a1686261fbaddd6ef89a4836a9bdc
2,209
cc
C++
data_handler/agg_data_test.cc
bogosort94/PaSTA-AutoTrade
5bf189e23bdf45cc1bba74e3e1e7f0acef6db633
[ "Apache-2.0" ]
1
2021-09-06T17:41:18.000Z
2021-09-06T17:41:18.000Z
data_handler/agg_data_test.cc
webclinic017/PaSTA-AutoTrade
5bf189e23bdf45cc1bba74e3e1e7f0acef6db633
[ "Apache-2.0" ]
null
null
null
data_handler/agg_data_test.cc
webclinic017/PaSTA-AutoTrade
5bf189e23bdf45cc1bba74e3e1e7f0acef6db633
[ "Apache-2.0" ]
1
2021-09-06T17:41:15.000Z
2021-09-06T17:41:15.000Z
#include "data_handler/agg_data.h" #include "absl/status/status.h" #include "data_handler/data_handler_testutil.h" #include "glog/logging.h" #include "google/protobuf/util/json_util.h" #include "gtest/gtest.h" #include "proto/data.pb.h" namespace pasta { namespace { class AggregateDataTest : public ::testing::Test ...
29.851351
77
0.748755
bogosort94
ff7e1b6a387a6f092d701db41db783d0557ae61f
3,171
cpp
C++
src/get_cpu.cpp
william01110111/wmwwStatusline
658ae739e45694bfad201aa33eb2aceecef10195
[ "WTFPL" ]
1
2021-11-11T03:43:32.000Z
2021-11-11T03:43:32.000Z
src/get_cpu.cpp
william01110111/wmwwStatusline
658ae739e45694bfad201aa33eb2aceecef10195
[ "WTFPL" ]
null
null
null
src/get_cpu.cpp
william01110111/wmwwStatusline
658ae739e45694bfad201aa33eb2aceecef10195
[ "WTFPL" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include "statusline.h" #include <fstream> #include "number_conversion_utils.h" unsigned long long lastCpuTotal = 0; unsigned long long lastCpuUsed = 0; vector<unsigned long long> lastCpusTotal; vector<unsigned long long> lastCpusUsed; ...
20.326923
120
0.596342
william01110111
ff81dfb0f5c3cc7d0034984b7019dc266a55b810
560
cpp
C++
HearthStoneLike/Online/AuthenticationPlugin.cpp
Nephet/CardGame
3df0c30a4bb5a213fb84b8333f82a793c5bc0bff
[ "Apache-2.0" ]
null
null
null
HearthStoneLike/Online/AuthenticationPlugin.cpp
Nephet/CardGame
3df0c30a4bb5a213fb84b8333f82a793c5bc0bff
[ "Apache-2.0" ]
null
null
null
HearthStoneLike/Online/AuthenticationPlugin.cpp
Nephet/CardGame
3df0c30a4bb5a213fb84b8333f82a793c5bc0bff
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "AuthenticationPlugin.h" #include "AuthenticationService.h" namespace Stormancer { AuthenticationPlugin::AuthenticationPlugin() { } AuthenticationPlugin::~AuthenticationPlugin() { } void AuthenticationPlugin::clientCreated(Client* client) { auto authService = std::make_shared<A...
21.538462
142
0.780357
Nephet
ff82a39623317ac470c9c69a05eeb27e1c6da433
183
cpp
C++
Codeforces/4/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
Codeforces/4/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
Codeforces/4/A.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cmath> using namespace std; int main(){ int n; cin>>n; if(n>2&&n%2==0){ cout<<"YES"; }else{ cout<<"NO"; } }
13.071429
20
0.601093
sshockwave
ff876b843cda8850250988c46959e7ba98e3a036
334
cpp
C++
ScreamAPI/src/eos-impl/eos_connect.cpp
narindertamber66/https-github.com-acidicoala-ScreamAPI
4f7e0dfae3be99526dc21b3eed91ae2231f1a209
[ "0BSD" ]
null
null
null
ScreamAPI/src/eos-impl/eos_connect.cpp
narindertamber66/https-github.com-acidicoala-ScreamAPI
4f7e0dfae3be99526dc21b3eed91ae2231f1a209
[ "0BSD" ]
null
null
null
ScreamAPI/src/eos-impl/eos_connect.cpp
narindertamber66/https-github.com-acidicoala-ScreamAPI
4f7e0dfae3be99526dc21b3eed91ae2231f1a209
[ "0BSD" ]
null
null
null
#include "pch.h" #include "eos-sdk/eos_connect.h" #include <ScreamAPI.h> EOS_DECLARE_FUNC(EOS_ProductUserId) EOS_Connect_GetLoggedInUserByIndex(EOS_HConnect Handle, int32_t Index){ Logger::debug(__func__); static auto proxy = ScreamAPI::proxyFunction(&EOS_Connect_GetLoggedInUserByIndex, __func__); return proxy(Han...
33.4
107
0.808383
narindertamber66
ff8a1804d7804c6c5c8605c0160d0b378948f0f5
481
cpp
C++
mainwindow.cpp
PhDunski/ConfigHoraire
180319f764c8ae04e9abab6b38cbe3b26fe57848
[ "MIT" ]
null
null
null
mainwindow.cpp
PhDunski/ConfigHoraire
180319f764c8ae04e9abab6b38cbe3b26fe57848
[ "MIT" ]
null
null
null
mainwindow.cpp
PhDunski/ConfigHoraire
180319f764c8ae04e9abab6b38cbe3b26fe57848
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "planning.h" #include <QPushButton> #include <QTabWidget> #include "config.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { QTabWidget * widget = new QTabWidget; widget->addTab(new Config(1),tr("Configuration 1")); widget->addTab(new Config(2),tr("Confi...
30.0625
56
0.698545
PhDunski
ff8c00e23247260f1b26fc9e8378d79f5708d783
1,164
hpp
C++
dynamic/RTN.hpp
rthomaskelly/basic_utils
8cde72e72d92c730c31152652da3d8e3309c9f18
[ "MIT" ]
null
null
null
dynamic/RTN.hpp
rthomaskelly/basic_utils
8cde72e72d92c730c31152652da3d8e3309c9f18
[ "MIT" ]
null
null
null
dynamic/RTN.hpp
rthomaskelly/basic_utils
8cde72e72d92c730c31152652da3d8e3309c9f18
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <variant> #include <boost/lexical_cast.hpp> namespace ryk { using Number = std::variant<int, double>; class RTN { public: template<class T> RTN(T new_value, AtomicType new_type) : value(new_value), type(new_type) {} Number value; AtomicType type; int getIn...
19.728814
92
0.646048
rthomaskelly
ff9003bea525de20de542c63ff74a8b463a45e95
2,210
cpp
C++
tests/unit/DefaultRunner/passing.cpp
feloxyde/fatigue
82f7bbab8e167224cbd9d2a1ce87d946d308ed25
[ "MIT" ]
null
null
null
tests/unit/DefaultRunner/passing.cpp
feloxyde/fatigue
82f7bbab8e167224cbd9d2a1ce87d946d308ed25
[ "MIT" ]
null
null
null
tests/unit/DefaultRunner/passing.cpp
feloxyde/fatigue
82f7bbab8e167224cbd9d2a1ce87d946d308ed25
[ "MIT" ]
null
null
null
// Copyright 2021 Felix Bertoni // // SPDX-License-Identifier: MIT #include "../../utils/compareStrings.hpp" #include "fatigue/Suite.hpp" #include <cassert> #include <fatigue/Test.hpp> #include <fatigue/runners/DefaultRunner.hpp> #include <memory> #include <sstream> #include <string> using namespace ftg; template<in...
24.021739
98
0.619457
feloxyde
ff90a278780e7a33fc1f0779982a49d7e7599000
4,657
cpp
C++
mp/src/old/dlls/te_armorricochet.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/old/dlls/te_armorricochet.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/old/dlls/te_armorricochet.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
//======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ======== // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of // Valve, L.L.C., or in accordance with the terms and conditions stipulated in // the ...
29.66242
87
0.509556
MaartenS11
ff9254cee6985393feaa34c71b0c489b1da5f150
34,931
cpp
C++
PlugIns/OctreeZone/src/OgreTerrainZone.cpp
milram/ogre-1.7.4-osx
adec12bc0694b9b56a8f31e91cc72f0f75dd83c7
[ "MIT" ]
1
2015-07-09T17:45:20.000Z
2015-07-09T17:45:20.000Z
PlugIns/OctreeZone/src/OgreTerrainZone.cpp
milram/ogre-1.7.4-osx
adec12bc0694b9b56a8f31e91cc72f0f75dd83c7
[ "MIT" ]
null
null
null
PlugIns/OctreeZone/src/OgreTerrainZone.cpp
milram/ogre-1.7.4-osx
adec12bc0694b9b56a8f31e91cc72f0f75dd83c7
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2011 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
34.861277
112
0.517019
milram
ff961e5501f3a569c4d8b3530a7ba057eb94d052
619
cpp
C++
Solutions-to-Books/C++Primer/Chapter10/10.37.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
2
2016-08-31T19:13:24.000Z
2017-02-18T18:48:31.000Z
Solutions-to-Books/C++Primer/Chapter10/10.37.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
1
2018-12-10T16:32:26.000Z
2018-12-27T19:50:48.000Z
Solutions-to-Books/C++Primer/Chapter10/10.37.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
null
null
null
// Exercise 10.37 // Given a vector that has ten elements, copy the elements from position // 3 through 7 in reverse order to a list // Xiaoyan Wang 7/21/2016 #include <vector> #include <list> #include <iostream> #include <iterator> #include <algorithm> using namespace std; int main() { vector<int> ivec; list<int>...
22.925926
72
0.657512
Horizon-Blue
91173b3101373096f4bcac68c9035ba7b0e23a8b
2,129
cpp
C++
tools/generators/grpc/AbstractGenerator.cpp
b-com-software-basis/xpcf
26ce21929ff6209ef69117270cf49844348c988f
[ "Apache-2.0" ]
null
null
null
tools/generators/grpc/AbstractGenerator.cpp
b-com-software-basis/xpcf
26ce21929ff6209ef69117270cf49844348c988f
[ "Apache-2.0" ]
7
2020-02-13T20:35:16.000Z
2021-11-19T17:46:15.000Z
tools/generators/grpc/AbstractGenerator.cpp
b-com-software-basis/xpcf
26ce21929ff6209ef69117270cf49844348c988f
[ "Apache-2.0" ]
1
2018-02-26T14:10:43.000Z
2018-02-26T14:10:43.000Z
#include "AbstractGenerator.h" namespace xpcf = org::bcom::xpcf; template<> AbstractGenerator * xpcf::ComponentFactory::createInstance<AbstractGenerator>(); AbstractGenerator::AbstractGenerator(std::map<std::string,std::string> componentInfosMap):xpcf::ComponentBase(componentInfosMap) { declareInterface<IRPCGe...
28.77027
194
0.728981
b-com-software-basis
91186ed46bf393c395611923d6a5d9666165944f
1,082
cpp
C++
XglTestProgram/src/XglNodeAssign.cpp
upallnightcoding/Xgl
a9811a25d8f3555da2d7ba4754cbdc70ebe69d21
[ "Apache-2.0" ]
null
null
null
XglTestProgram/src/XglNodeAssign.cpp
upallnightcoding/Xgl
a9811a25d8f3555da2d7ba4754cbdc70ebe69d21
[ "Apache-2.0" ]
null
null
null
XglTestProgram/src/XglNodeAssign.cpp
upallnightcoding/Xgl
a9811a25d8f3555da2d7ba4754cbdc70ebe69d21
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "XglNodeAssign.h" XglNodeAssign::XglNodeAssign(XglNodeAssignVar *variable, XglNode *value) : XglNode(XglNodeType::NODE_ASSIGN) { this->variable = variable; this->value = value; } XglNodeAssign::XglNodeAssign(XglToken *variable, XglNode *expression) : XglNode(XglNodeType::NODE_ASSIGN) {...
24.044444
78
0.63586
upallnightcoding
9119b23d8c7ed51955305156373cd9677b179ffa
20,080
cpp
C++
src/xr_3da/BodyInstance.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
src/xr_3da/BodyInstance.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
null
null
null
src/xr_3da/BodyInstance.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
// BodyInstance.cpp: implementation of the CKinematics class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #pragma hdrstop #include "BodyInstance.h" #include "SkeletonX.h" #include "fmesh.h" #include "motion.h" int psSkeletonUpdate = 32; const float fAA...
26.351706
181
0.594871
ixray-team
911aa97e954699f49340f3c0359ffb776841824d
225
cpp
C++
fft/ClasseFFT.cpp
diondcm/exemplos-cpp
dcf9d53e715bdba8ec1081ede8e2fe191332c0ad
[ "MIT" ]
2
2018-12-22T22:46:35.000Z
2020-04-14T18:05:18.000Z
fft/ClasseFFT.cpp
diondcm/exemplos-cpp
dcf9d53e715bdba8ec1081ede8e2fe191332c0ad
[ "MIT" ]
null
null
null
fft/ClasseFFT.cpp
diondcm/exemplos-cpp
dcf9d53e715bdba8ec1081ede8e2fe191332c0ad
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #pragma hdrstop #include "ClasseFFT.h" //--------------------------------------------------------------------------- #pragma package(smart_init)
28.125
77
0.235556
diondcm
911c75285c41f4e62d230a5d45e19150a81f30ab
1,588
hpp
C++
src/2017/day6/solution.hpp
OlivierLi/aoc
ec381c58eef6cb616e36c056045d536af42f7cd4
[ "Unlicense" ]
null
null
null
src/2017/day6/solution.hpp
OlivierLi/aoc
ec381c58eef6cb616e36c056045d536af42f7cd4
[ "Unlicense" ]
null
null
null
src/2017/day6/solution.hpp
OlivierLi/aoc
ec381c58eef6cb616e36c056045d536af42f7cd4
[ "Unlicense" ]
null
null
null
#include <set> #include <algorithm> #include <iostream> auto solution_6(std::vector<size_t> bins){ std::pair<size_t, size_t> result{0,0}; // Don't feel like hashing! std::set<std::vector<size_t>> seen_states; seen_states.insert(bins); bool looped = false; size_t iterations{1}; for(;;++i...
23.014493
114
0.486146
OlivierLi
912029b1c654e2964cf3b2c09397f068363254c9
3,267
hpp
C++
include/boost/simd/arch/common/scalar/function/expx2.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/arch/common/scalar/function/expx2.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/arch/common/scalar/function/expx2.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2015 NumScale SAS @copyright 2015 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ...
35.51087
100
0.564738
yaeldarmon
91208ae6393e48febe13e51d963c73b7c7ae5d8b
316
cpp
C++
SPOJ/SQRROOT - Square Root.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
SPOJ/SQRROOT - Square Root.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
SPOJ/SQRROOT - Square Root.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; float squareRoot(float n) { float x = n; float y = 1; float e = 0.000001; while(x - y > e) { x = (x + y)/2; y = n/x; } return x; } int main() { int t, n; scanf("%d", &t); while(t--) { scanf("%d",&n); printf ("%.0f\n",squareRoot(n)); } return 0; }
11.703704
34
0.512658
Sohelr360
912333d006eda4ddb0c24f85602edcd4453f0efe
450
cpp
C++
LeetCode/1000/883.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/1000/883.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/1000/883.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
class Solution { int maxr = 0; int maxc = 0; int row = 0; public: int projectionArea(vector<vector<int>>& grid) { row = grid.size(); int res = 0; for (int i = 0; i < row; ++i) { maxr = 0; maxc = 0; for (int j = 0; j < row; ++j) { maxr = std::max(grid[i][j], maxr); ...
20.454545
49
0.448889
K-ona
9126d22156d508a8fa938385abf4c8a4005babfc
1,182
cpp
C++
Chapter14/ShapePatterns/11_Visitor/ApproxDistance.cpp
alamlam1982/fincpp
470469d35d90fc0fde96f119e329aedbc5f68f89
[ "CECILL-B" ]
null
null
null
Chapter14/ShapePatterns/11_Visitor/ApproxDistance.cpp
alamlam1982/fincpp
470469d35d90fc0fde96f119e329aedbc5f68f89
[ "CECILL-B" ]
null
null
null
Chapter14/ShapePatterns/11_Visitor/ApproxDistance.cpp
alamlam1982/fincpp
470469d35d90fc0fde96f119e329aedbc5f68f89
[ "CECILL-B" ]
null
null
null
// ApproxDistance.hpp // // Strategy to calculate the distance between two points approximately // // 15 september 1998 RD Started // // (C) Datasim Education BV 1998 #include "ApproxDistance.hpp" #include "Point.hpp" ApproxDistance::ApproxDistance(): DistanceStrategy() { // Default constructor } ApproxDistance::App...
21.888889
86
0.724196
alamlam1982
9127d2b113888468318a9f168ec68adf99933799
1,005
cpp
C++
Fuji/Source/Fuji.cpp
TurkeyMan/fuji
afd6a26c710ce23965b088ad158fe916d6a1a091
[ "BSD-2-Clause" ]
35
2015-01-19T22:07:48.000Z
2022-02-21T22:17:53.000Z
Fuji/Source/Fuji.cpp
TurkeyMan/fuji
afd6a26c710ce23965b088ad158fe916d6a1a091
[ "BSD-2-Clause" ]
1
2022-02-23T09:34:15.000Z
2022-02-23T09:34:15.000Z
Fuji/Source/Fuji.cpp
TurkeyMan/fuji
afd6a26c710ce23965b088ad158fe916d6a1a091
[ "BSD-2-Clause" ]
4
2015-05-11T03:31:35.000Z
2018-09-27T04:55:57.000Z
#include "Fuji_Internal.h" #include "MFHeap_Internal.h" extern "C" { MFEngineInstance *gpEngineInstance = NULL; } MF_API MFEngineInstance * Fuji_CreateEngineInstance() { MFEngineInstance *pEngineInstance = (MFEngineInstance*)MFHeap_SystemMalloc(sizeof(MFEngineInstance)); MFZeroMemory(pEngineInstance, sizeof(MFEngi...
22.840909
102
0.80995
TurkeyMan
9129b0238322d3b931368780f8be6e7014efef6a
4,121
cpp
C++
src/Operation/update.cpp
Jianxff/NEDB
1b5d696560bec9529343e1d20eba14fb0551cc95
[ "Apache-2.0" ]
null
null
null
src/Operation/update.cpp
Jianxff/NEDB
1b5d696560bec9529343e1d20eba14fb0551cc95
[ "Apache-2.0" ]
null
null
null
src/Operation/update.cpp
Jianxff/NEDB
1b5d696560bec9529343e1d20eba14fb0551cc95
[ "Apache-2.0" ]
null
null
null
#include<Basic/data.h> #include<Basic/process.h> using namespace std; using namespace NEDBnamespace; //UPDATE table_name SET 'parm_name_1' = 'value_1', ... WHERE 'condition' void Table::UpdateValues(string condition, string setting,int &count){ try{ Analyzer CANZ(this), SANZ(this); CANZ....
28.618056
105
0.489202
Jianxff
912e90121840f107ab9665db0c4e3a07a94c0b02
632
cpp
C++
examples/cpp/04_simple_module/src/simple_module.cpp
sh-dave/flecs
d3c662584f32dcd2410110cb4312655e77042048
[ "MIT" ]
1
2021-06-10T23:38:27.000Z
2021-06-10T23:38:27.000Z
examples/cpp/04_simple_module/src/simple_module.cpp
sh-dave/flecs
d3c662584f32dcd2410110cb4312655e77042048
[ "MIT" ]
null
null
null
examples/cpp/04_simple_module/src/simple_module.cpp
sh-dave/flecs
d3c662584f32dcd2410110cb4312655e77042048
[ "MIT" ]
1
2021-07-05T17:47:42.000Z
2021-07-05T17:47:42.000Z
#include <simple_module.h> #include <iostream> SimpleModule::SimpleModule(flecs::world& ecs) { /* Register module with world */ ecs.module<SimpleModule>(); /* Register components */ this->position = ecs.component<Position>(); this->velocity = ecs.component<Velocity>(); /* Register system */ ...
27.478261
71
0.525316
sh-dave
912fdf36b9bc95dc3b82aedeee05ca258b62dd64
6,165
cpp
C++
src/Camera.cpp
Drylm/dcsi
419e27b2f304e384af6f6f167d521d4ec2488205
[ "MIT" ]
null
null
null
src/Camera.cpp
Drylm/dcsi
419e27b2f304e384af6f6f167d521d4ec2488205
[ "MIT" ]
null
null
null
src/Camera.cpp
Drylm/dcsi
419e27b2f304e384af6f6f167d521d4ec2488205
[ "MIT" ]
null
null
null
/* Camera.cpp */ #include "Camera.h" #include <vector> /* * We need to know the new view (character) position, * the direction the character is facing, * and a list of the other objects which could colide with the camera * the transformation of the other objects must have been set ! */ void Camera::render() { ...
33.505435
125
0.64266
Drylm
9134303b2682cb3a6a5e1040db5cca0e9c37996c
5,028
cpp
C++
windows/wrapper/impl_org_webRtc_RTCRtpCapabilities.cpp
webrtc-uwp/webrtc-windows-apis
accb133e195da9b0e77f59d749a282d133a80f24
[ "BSD-3-Clause" ]
9
2019-03-27T12:19:29.000Z
2022-01-25T05:13:55.000Z
windows/wrapper/impl_org_webRtc_RTCRtpCapabilities.cpp
webrtc-uwp/webrtc-windows-apis
accb133e195da9b0e77f59d749a282d133a80f24
[ "BSD-3-Clause" ]
8
2018-11-07T19:09:19.000Z
2019-11-27T15:20:08.000Z
windows/wrapper/impl_org_webRtc_RTCRtpCapabilities.cpp
webrtc-uwp/webrtc-windows-apis
accb133e195da9b0e77f59d749a282d133a80f24
[ "BSD-3-Clause" ]
12
2019-06-06T14:15:26.000Z
2022-01-24T13:35:30.000Z
#include "impl_org_webRtc_RTCRtpCapabilities.h" #include "impl_org_webRtc_enums.h" #include "impl_org_webRtc_RTCRtpCodecCapability.h" #include "impl_org_webRtc_RTCRtpHeaderExtensionCapability.h" #include "impl_org_webRtc_pre_include.h" #include "api/rtpparameters.h" #include "impl_org_webRtc_post_include.h" using ::...
35.160839
117
0.630668
webrtc-uwp
9134b9b0318c996f30c5d21fe238a58de01c03ed
10,680
cpp
C++
ppm_image.cpp
MinorReedich/pixmap-ops
fa0ffe15cdb1ce55912de4a3af9408a39d480a93
[ "MIT" ]
null
null
null
ppm_image.cpp
MinorReedich/pixmap-ops
fa0ffe15cdb1ce55912de4a3af9408a39d480a93
[ "MIT" ]
null
null
null
ppm_image.cpp
MinorReedich/pixmap-ops
fa0ffe15cdb1ce55912de4a3af9408a39d480a93
[ "MIT" ]
null
null
null
#include "ppm_image.h" #include <string> #include <fstream> #include <iostream> #include <math.h> #include <stdlib.h> using namespace agl; using namespace std; ppm_image::ppm_image() { } ppm_image::ppm_image(int w, int h) { ht = h; wdth = w; // create the frame for the array ary = new ppm_pixel*[wdth]...
22.820513
99
0.494288
MinorReedich
913ac021b0fd992093dc0d6514797807034b1457
2,134
cpp
C++
Siv3D/src/Siv3D/Scene/SivScene.cpp
Siv3D/siv6
090e82b2f6398640638dfa43da3f829ba977d0e2
[ "MIT" ]
2
2020-07-26T05:14:33.000Z
2020-08-11T08:00:54.000Z
Siv3D/src/Siv3D/Scene/SivScene.cpp
nokotan/siv6
7df183550a6c0160ba918d6ad24c3ae48231e26b
[ "MIT" ]
6
2020-03-03T04:01:10.000Z
2020-09-27T14:33:19.000Z
Siv3D/src/Siv3D/Scene/SivScene.cpp
nokotan/siv6
7df183550a6c0160ba918d6ad24c3ae48231e26b
[ "MIT" ]
5
2020-03-03T03:34:27.000Z
2020-09-05T18:42:55.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2020 Ryo Suzuki // Copyright (c) 2016-2020 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <Siv3D/Scene.hpp> # include <Siv3D/S...
21.555556
69
0.687441
Siv3D
913f8e1a0c113a85b09252a0ab4cfc79771e4981
2,210
cpp
C++
source/ashes/renderer/GlRenderer/Enum/GlConstantFormat.cpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/GlRenderer/Enum/GlConstantFormat.cpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/GlRenderer/Enum/GlConstantFormat.cpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
#include "renderer/GlRenderer/Enum/GlConstantFormat.hpp" namespace ashes::gl { std::string getName( GlConstantFormatBaseType value ) { switch ( value ) { case GL_CONSTANT_FORMAT_BASE_TYPE_UNSIGNED_BYTE: return "GL_UNSIGNED_BYTE"; case GL_CONSTANT_FORMAT_BASE_TYPE_INT: return "GL_INT"; case GL_CONST...
22.323232
58
0.753846
DragonJoker
9142fa9a4ce348d4681eaa9166e6561b0b930235
1,955
cpp
C++
src/godot/brain.cpp
SLiV9/MegaNaiadsTrainer
e41a055aed743a5741dfab7bd45e970974e5c5c4
[ "MIT" ]
1
2021-06-04T20:49:28.000Z
2021-06-04T20:49:28.000Z
src/godot/brain.cpp
SLiV9/MegaNaiadsTrainer
e41a055aed743a5741dfab7bd45e970974e5c5c4
[ "MIT" ]
null
null
null
src/godot/brain.cpp
SLiV9/MegaNaiadsTrainer
e41a055aed743a5741dfab7bd45e970974e5c5c4
[ "MIT" ]
null
null
null
#include "brain.hpp" #include <memory> #include <vector> #include "lib.hpp" using namespace godot; Brain::Brain() : _module(module_allocate(), module_deallocate) {} Brain::~Brain() = default; void Brain::_register_methods() { register_method("_ready", &Brain::_ready); register_method("load", &Brain::load); r...
18.798077
78
0.612276
SLiV9
914497fb78a9047f44de914631c2defd2c073e0a
26,017
hh
C++
schemelib/scheme/objective/ObjectiveFunction.hh
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
25
2019-07-23T01:03:48.000Z
2022-03-31T04:16:08.000Z
schemelib/scheme/objective/ObjectiveFunction.hh
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
13
2018-01-30T17:45:57.000Z
2022-03-28T11:02:44.000Z
schemelib/scheme/objective/ObjectiveFunction.hh
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
14
2018-02-08T01:42:28.000Z
2022-03-31T12:56:17.000Z
#ifndef INCLUDED_objective_ObjectiveFunction_HH #define INCLUDED_objective_ObjectiveFunction_HH #include "scheme/util/meta/util.hh" #include "scheme/util/meta/intersect.hh" #include "scheme/util/meta/InstanceMap.hh" #include <boost/foreach.hpp> #include <boost/mpl/eval_if.hpp> // #include <boost/mpl/set.hpp> // #inc...
34.232895
171
0.732559
YaoYinYing
9145390c7eb2bafed27f980eb39b8aa6714d85ee
129
cpp
C++
src/lib/mathlib/math/filter/LowPassFilter2pVector3f.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
src/lib/mathlib/math/filter/LowPassFilter2pVector3f.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
src/lib/mathlib/math/filter/LowPassFilter2pVector3f.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:4423be4bd34d499f590e05c68004a015251cc707402142e70345acd3ae28e4e7 size 2912
32.25
75
0.883721
Diksha-agg
914753e53f5fe0fa3a08096d8c74396b052fbbbf
305
cpp
C++
Source/OpenTournament/UR_GameSession.cpp
HAARP-art/OpenTournament
1bb188983ba4d013a8ce00bbe1a333f2952814e8
[ "OML" ]
97
2020-05-24T23:09:26.000Z
2022-01-22T13:35:58.000Z
Source/OpenTournament/UR_GameSession.cpp
HAARP-art/OpenTournament
1bb188983ba4d013a8ce00bbe1a333f2952814e8
[ "OML" ]
165
2020-05-26T02:42:54.000Z
2022-03-29T11:01:11.000Z
Source/OpenTournament/UR_GameSession.cpp
HAARP-art/OpenTournament
1bb188983ba4d013a8ce00bbe1a333f2952814e8
[ "OML" ]
78
2020-05-24T23:10:29.000Z
2022-03-14T13:54:09.000Z
// Copyright (c) 2019-2020 Open Tournament Project, All Rights Reserved. ///////////////////////////////////////////////////////////////////////////////////////////////// #include "UR_GameSession.h" /////////////////////////////////////////////////////////////////////////////////////////////////
43.571429
98
0.255738
HAARP-art
914c45be93475559fe6f7c5993e8e70c15cf08b9
29,566
cpp
C++
Source/WebCore/dom/DocumentMarkerController.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
Source/WebCore/dom/DocumentMarkerController.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
9
2020-04-18T18:47:18.000Z
2020-04-18T18:52:41.000Z
Source/WebCore/dom/DocumentMarkerController.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) * (C) 2006 Alexey Proskuryakov (ap@webkit.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. * Copyrigh...
35.114014
219
0.649631
ijsf
914f35c3066ef243e44684219aeadd187e5f942d
3,039
cpp
C++
src/add-ons/kernel/drivers/graphics/framebuffer/device.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
4
2016-03-29T21:45:21.000Z
2016-12-20T00:50:38.000Z
src/add-ons/kernel/drivers/graphics/framebuffer/device.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
null
null
null
src/add-ons/kernel/drivers/graphics/framebuffer/device.cpp
Yn0ga/haiku
74e271b2a286c239e60f0ec261f4f197f4727eee
[ "MIT" ]
1
2020-05-08T04:02:02.000Z
2020-05-08T04:02:02.000Z
/* * Copyright 2005-2009, Axel Dörfler, axeld@pinc-software.de. * Copyright 2016, Jessica Hamilton, jessica.l.hamilton@gmail.com. * Distributed under the terms of the MIT License. */ #include "device.h" #include <stdlib.h> #include <string.h> #include <Drivers.h> #include <graphic_driver.h> #include <image.h> #...
18.197605
79
0.697927
Yn0ga
915866f95a36d47d7e79dc14f6b8d8236f856529
631
hpp
C++
leetCode/101.Symmetric Tree.hpp
CainHsu/ProgramStudy-leetcode
23653e8927902aed64ba13a23a1d6c983b7ea5d5
[ "Apache-2.0" ]
1
2019-12-08T06:21:57.000Z
2019-12-08T06:21:57.000Z
leetCode/101.Symmetric Tree.hpp
CainHsu/ProgramStudy-leetcode
23653e8927902aed64ba13a23a1d6c983b7ea5d5
[ "Apache-2.0" ]
null
null
null
leetCode/101.Symmetric Tree.hpp
CainHsu/ProgramStudy-leetcode
23653e8927902aed64ba13a23a1d6c983b7ea5d5
[ "Apache-2.0" ]
null
null
null
// // Created by xuche on 2019/12/16. // #ifndef PROGRAMSTUDY_LEETCODE_101_SYMMETRIC_TREE_HPP #define PROGRAMSTUDY_LEETCODE_101_SYMMETRIC_TREE_HPP #include "iostream" struct TreeNode{ int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; // 递归法 bool ifSym(...
22.535714
92
0.679873
CainHsu
9164efb1e3a069322b59ca1c543f612df763d080
3,449
cpp
C++
src/plugins/secman/secman.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/secman/secman.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/secman/secman.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2010 Vadim Misbakh-Soloviev, Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to an...
28.504132
85
0.706582
MellonQ
916a9de9f4df3ec7a528da98626893d90dedc5fd
599
cpp
C++
documents/OOP-Notes-SAA-master/07-Oct03/ContTester.cpp
sspony/oop244
4fdf8abf58f52b0c083eb6dad65ad4dfcdd4397a
[ "MIT" ]
null
null
null
documents/OOP-Notes-SAA-master/07-Oct03/ContTester.cpp
sspony/oop244
4fdf8abf58f52b0c083eb6dad65ad4dfcdd4397a
[ "MIT" ]
null
null
null
documents/OOP-Notes-SAA-master/07-Oct03/ContTester.cpp
sspony/oop244
4fdf8abf58f52b0c083eb6dad65ad4dfcdd4397a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; #include "Container.h" void dspContainers(const Container* C, int number) { for (int i = 0;i < number;i++) { C[i].display(); } } int main() { Container C; Container D("Milk", 250); Container E(500); Container F = 400; cout << endl << endl; int i(5)...
21.392857
56
0.482471
sspony
916cc4e21fe21463a1c30274b04a9243f118b535
6,110
hpp
C++
Libs/SceneGraph/FaceNode.hpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
Libs/SceneGraph/FaceNode.hpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
Libs/SceneGraph/FaceNode.hpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #ifndef CAFU_SCENEGRAPH_FACENODE_HPP_INCLUDED #define CAFU_SCENEGRAPH_FACENODE_HPP_INCLUDED #include "Node.hpp" #include "MaterialSystem/Mesh.hpp" #include "Math3D/Po...
43.956835
161
0.607692
dns
916dcf3435d406dcec5ac48f387b9a18d9c01044
7,326
cpp
C++
test/export/windows/obj/src/openfl/filters/_GlowFilter/InnerCombineShader.cpp
Sanscode1937/GarPlus
c9442a1f0310fc632e075cc72805f0fcde64cd41
[ "Unlicense" ]
null
null
null
test/export/windows/obj/src/openfl/filters/_GlowFilter/InnerCombineShader.cpp
Sanscode1937/GarPlus
c9442a1f0310fc632e075cc72805f0fcde64cd41
[ "Unlicense" ]
null
null
null
test/export/windows/obj/src/openfl/filters/_GlowFilter/InnerCombineShader.cpp
Sanscode1937/GarPlus
c9442a1f0310fc632e075cc72805f0fcde64cd41
[ "Unlicense" ]
null
null
null
#include <hxcpp.h> #ifndef INCLUDED_haxe_io_Bytes #include <haxe/io/Bytes.h> #endif #ifndef INCLUDED_openfl_display_Shader #include <openfl/display/Shader.h> #endif #ifndef INCLUDED_openfl_display_ShaderInput_openfl_display_BitmapData #include <openfl/display/ShaderInput_openfl_display_BitmapData.h> #endif #ifndef INC...
40.032787
457
0.766721
Sanscode1937
9172c834ececf72fdd386fa4aebb5562fa34805c
5,858
cpp
C++
src/dbulge_kernel_v2.cpp
shengren/magma-1.6.1
1adfee30b763e9491a869403e0f320b3888923b6
[ "BSD-3-Clause" ]
21
2017-10-06T05:05:05.000Z
2022-03-13T15:39:20.000Z
src/dbulge_kernel_v2.cpp
shengren/magma-1.6.1
1adfee30b763e9491a869403e0f320b3888923b6
[ "BSD-3-Clause" ]
1
2017-03-23T00:27:24.000Z
2017-03-23T00:27:24.000Z
src/dbulge_kernel_v2.cpp
shengren/magma-1.6.1
1adfee30b763e9491a869403e0f320b3888923b6
[ "BSD-3-Clause" ]
4
2018-01-09T15:49:58.000Z
2022-03-13T15:39:27.000Z
/* * Copyright (c) 2011 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * * * @author Azzam Haidar * @author Stan Tomov * * @generated from zbulge_kernel_v2.cpp normal z -> d, Fri Jan 30 ...
29
111
0.541482
shengren
9175109b2a91f5ea4bf628387de370bfc2dd8ae3
376
hpp
C++
TemplateRPG/Character/type/dwarf.hpp
davideberdin/Text-Turn-based-RPG-Template
3b1e88b6498b7473b3928e7188157a7d7f1ba844
[ "MIT" ]
1
2015-11-29T04:47:29.000Z
2015-11-29T04:47:29.000Z
TemplateRPG/Character/type/dwarf.hpp
davideberdin/Text-Turn-based-RPG-Template
3b1e88b6498b7473b3928e7188157a7d7f1ba844
[ "MIT" ]
null
null
null
TemplateRPG/Character/type/dwarf.hpp
davideberdin/Text-Turn-based-RPG-Template
3b1e88b6498b7473b3928e7188157a7d7f1ba844
[ "MIT" ]
null
null
null
// // dwarf.hpp // TemplateRPG // // Created by Davide Berdin on 28/11/15. // Copyright © 2015 Davide Berdin. All rights reserved. // #ifndef dwarf_hpp #define dwarf_hpp #include <stdio.h> #include "ch_type.hpp" class Dwarf : public CH_Type { private: // special things public: Dwarf(); ~Dwarf();...
13.428571
56
0.630319
davideberdin
91782652486304db289bcb32f5e54d3c24efef2d
2,724
cpp
C++
yactfr/metadata/trace-type.cpp
eepp/yactfr
5cec5680d025d82a4f175ffc19c0704b32ef529f
[ "MIT" ]
7
2016-08-26T14:20:06.000Z
2022-02-03T21:17:25.000Z
yactfr/metadata/trace-type.cpp
eepp/yactfr
5cec5680d025d82a4f175ffc19c0704b32ef529f
[ "MIT" ]
2
2018-05-29T17:43:37.000Z
2018-05-30T18:38:39.000Z
yactfr/metadata/trace-type.cpp
eepp/yactfr
5cec5680d025d82a4f175ffc19c0704b32ef529f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2015-2018 Philippe Proulx <eepp.ca> * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include <unordered_map> #include <unordered_set> #include <string> #include <sstream> #include <functional> #include <cstdlib> #inclu...
23.686957
96
0.676211
eepp
9179f15c16614174c5715f8bc173f926fd31e6fd
20,231
cpp
C++
editor/widgets/ComponentPanelWidgets.cpp
gan74/yave
c71b5dd7c05b1aa39c59a8071fc243c1472e71d1
[ "MIT" ]
null
null
null
editor/widgets/ComponentPanelWidgets.cpp
gan74/yave
c71b5dd7c05b1aa39c59a8071fc243c1472e71d1
[ "MIT" ]
null
null
null
editor/widgets/ComponentPanelWidgets.cpp
gan74/yave
c71b5dd7c05b1aa39c59a8071fc243c1472e71d1
[ "MIT" ]
null
null
null
/******************************* Copyright (c) 2016-2022 Grégoire Angerand 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...
36.716878
140
0.52815
gan74
917d9eb6b988505d000f89f39b1cdeb0dec02ba7
6,969
cpp
C++
src/imaging/ossimDiscrete3x3HatFilter.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
251
2015-10-20T09:08:11.000Z
2022-03-22T18:16:38.000Z
src/imaging/ossimDiscrete3x3HatFilter.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
73
2015-11-02T17:12:36.000Z
2021-11-15T17:41:47.000Z
src/imaging/ossimDiscrete3x3HatFilter.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
146
2015-10-15T16:00:15.000Z
2022-03-22T12:37:14.000Z
//******************************************************************* // // LICENSE: See top level LICENSE.txt file. // // Author: Garrett Potts // //******************************************************************* // $Id: ossimDiscrete3x3HatFilter.cpp 11419 2007-07-27 16:24:57Z dburken $ #include <ossim/imaging/...
24.114187
76
0.468216
vladislav-horbatiuk
917f9a373f15752e03327a5d0bc4b051a5c25fd3
13,719
hpp
C++
include/hat_trie/string_bucket.hpp
jason2506/hat-trie
27ffda5b33eadd30bad616dedee5f7b5df0cc3ad
[ "BSD-3-Clause" ]
1
2015-12-05T10:53:45.000Z
2015-12-05T10:53:45.000Z
include/hat_trie/string_bucket.hpp
jason2506/hat-trie
27ffda5b33eadd30bad616dedee5f7b5df0cc3ad
[ "BSD-3-Clause" ]
null
null
null
include/hat_trie/string_bucket.hpp
jason2506/hat-trie
27ffda5b33eadd30bad616dedee5f7b5df0cc3ad
[ "BSD-3-Clause" ]
null
null
null
/************************************************ * string_bucket.hpp * HAT-Trie * * Copyright (c) 2015, Chi-En Wu * Distributed under The BSD 3-Clause License ************************************************/ #ifndef HAT_TRIE_STRING_BUCKET_HPP_ #define HAT_TRIE_STRING_BUCKET_HPP_ #include <new> #include <s...
26.231358
150
0.647132
jason2506
9180670e320d92dbfd9b327ad08abc0bc7953a29
2,753
cxx
C++
src/test-chunks.cxx
tomeichlersmith/hdf5-ntuples
96236cb263cbfcec8e23f23ed78a958a0f42ea31
[ "MIT" ]
null
null
null
src/test-chunks.cxx
tomeichlersmith/hdf5-ntuples
96236cb263cbfcec8e23f23ed78a958a0f42ea31
[ "MIT" ]
null
null
null
src/test-chunks.cxx
tomeichlersmith/hdf5-ntuples
96236cb263cbfcec8e23f23ed78a958a0f42ea31
[ "MIT" ]
null
null
null
// Example showing how to write a one-dimensional dataset. // // In this case we're saving one compound type per entry, which is // pretty close to a standard HEP ntuple. // Writing on every entry is slow, so we buffer entries and then write // them as blocks. The OneDimBuffer handles this, although with some // cavea...
34.848101
91
0.696695
tomeichlersmith
91858897fa61755c996e19c0420186ba1c6ae92f
27,123
hpp
C++
include/GlobalNamespace/PauseController.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/PauseController.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/PauseController.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Mo...
60.677852
1,109
0.754858
marksteward
918649d64f0cb57b34519b4b8a431149cd1b4840
42
cpp
C++
src/Eigen-3.3/doc/snippets/MatrixBase_identity_int_int.cpp
shareq2005/CarND-MPC-Project
f4094e8b446d2fac2ca0a4c5054d5058621595b0
[ "MIT" ]
3,457
2018-06-09T15:36:42.000Z
2020-06-01T22:09:25.000Z
src/Eigen-3.3/doc/snippets/MatrixBase_identity_int_int.cpp
shareq2005/CarND-MPC-Project
f4094e8b446d2fac2ca0a4c5054d5058621595b0
[ "MIT" ]
851
2017-11-27T15:09:56.000Z
2022-03-31T22:26:38.000Z
src/Eigen-3.3/doc/snippets/MatrixBase_identity_int_int.cpp
shareq2005/CarND-MPC-Project
f4094e8b446d2fac2ca0a4c5054d5058621595b0
[ "MIT" ]
1,380
2017-06-12T23:58:23.000Z
2022-03-31T14:52:48.000Z
cout << MatrixXd::Identity(4, 3) << endl;
21
41
0.619048
shareq2005
9188b113b49dd8d4dcae69dd939ab4d286334d7c
3,709
cpp
C++
qalam.cpp
Namr/Qalam
83dd27767cebc2f1cd6540468c11142e29ab01cd
[ "MIT" ]
null
null
null
qalam.cpp
Namr/Qalam
83dd27767cebc2f1cd6540468c11142e29ab01cd
[ "MIT" ]
6
2021-10-12T21:42:33.000Z
2021-11-28T21:13:09.000Z
qalam.cpp
Namr/Qalam
83dd27767cebc2f1cd6540468c11142e29ab01cd
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <vector> #include "lexer.hpp" #include "ir.hpp" #include "qiskitBackend.hpp" #include "qalamFrontend.hpp" #include "quirkFrontend.hpp" int main(int argc, char **argv) { ///////////////////////////////////////////////////////////////////////////////...
28.976563
97
0.436775
Namr
91892a82aaaaa00ea4788655bb0300e480eea21e
5,161
cpp
C++
opencore/codecs_v2/audio/gsm_amr/amr_nb/oscl/osclerror/src/oscl_error.cpp
panzy/android-opencore-amr
97901f42308e4e8ea6fda6c1f6813728365d395c
[ "Apache-2.0" ]
null
null
null
opencore/codecs_v2/audio/gsm_amr/amr_nb/oscl/osclerror/src/oscl_error.cpp
panzy/android-opencore-amr
97901f42308e4e8ea6fda6c1f6813728365d395c
[ "Apache-2.0" ]
null
null
null
opencore/codecs_v2/audio/gsm_amr/amr_nb/oscl/osclerror/src/oscl_error.cpp
panzy/android-opencore-amr
97901f42308e4e8ea6fda6c1f6813728365d395c
[ "Apache-2.0" ]
null
null
null
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
25.17561
93
0.660725
panzy
918947b0873e7d7b62093fcaa00ef09a4a94f1ee
1,644
cpp
C++
Ipopt-releases-3.12.7/Ipopt/src/Algorithm/Inexact/IpIterativeSolverTerminationTester.cpp
cw26378/Project-Motion-Predictive-Control
f589ea443644e627a75eaf8b991ccd70b5e38de8
[ "MIT" ]
null
null
null
Ipopt-releases-3.12.7/Ipopt/src/Algorithm/Inexact/IpIterativeSolverTerminationTester.cpp
cw26378/Project-Motion-Predictive-Control
f589ea443644e627a75eaf8b991ccd70b5e38de8
[ "MIT" ]
null
null
null
Ipopt-releases-3.12.7/Ipopt/src/Algorithm/Inexact/IpIterativeSolverTerminationTester.cpp
cw26378/Project-Motion-Predictive-Control
f589ea443644e627a75eaf8b991ccd70b5e38de8
[ "MIT" ]
null
null
null
// Copyright (C) 2008 International Business Machines and others. // All Rights Reserved. // This code is published under the Eclipse Public License. // // $Id$ // // Authors: Andreas Waechter IBM 2008-09-19 #include "IpIterativeSolverTerminationTester.hpp" #include "IpTripletHelper.hpp" namespace Ipop...
27.864407
79
0.63017
cw26378
918a211bb0dc5b1a330d643237e7650a3d888384
9,411
cc
C++
src/Interface/Application/ModuleProxyWidget.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Interface/Application/ModuleProxyWidget.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Interface/Application/ModuleProxyWidget.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2012 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, to any person o...
30.957237
251
0.691956
benjaminlarson
918a92b438ef7af7d64689af5a5dc7fd46a9d1b6
8,126
hpp
C++
source/include/logic.hpp
Tacoman369/MM3D-Randomizer
ac510de5a9b662c1772464f7924af19a2a455025
[ "MIT" ]
1
2021-11-17T19:19:47.000Z
2021-11-17T19:19:47.000Z
source/include/logic.hpp
Tacoman369/MM3D-Randomizer
ac510de5a9b662c1772464f7924af19a2a455025
[ "MIT" ]
null
null
null
source/include/logic.hpp
Tacoman369/MM3D-Randomizer
ac510de5a9b662c1772464f7924af19a2a455025
[ "MIT" ]
null
null
null
#pragma once #include <3ds.h> namespace Logic { extern bool noVariable; //item logic extern bool Ocarina; extern bool KokiriSword; extern bool HasBottle; extern bool Bombchus; extern bool DekuStick; extern bool MagicBean; extern bool MagicBeanPack; extern bool LensOfTruth; extern bool Bow; extern bool He...
25.236025
55
0.807285
Tacoman369
9261a5f8bc6dc40f756c4515d5b47013fb23e83a
747
hpp
C++
EglCpp/Sources/Utility/MemoryUtility.hpp
Egliss/EglCppBase
94d24b6e5e91da880833237a879138760ae9c669
[ "MIT" ]
null
null
null
EglCpp/Sources/Utility/MemoryUtility.hpp
Egliss/EglCppBase
94d24b6e5e91da880833237a879138760ae9c669
[ "MIT" ]
2
2020-08-04T18:14:51.000Z
2020-08-06T19:19:11.000Z
EglCpp/Sources/Utility/MemoryUtility.hpp
Egliss/EglCppBase
94d24b6e5e91da880833237a879138760ae9c669
[ "MIT" ]
null
null
null
#pragma once #include <cstring> namespace Egliss { class MemoryUtility { public: template<class T> static void Fill(T& dest, unsigned char fillValue = 0, std::size_t byteSize = sizeof(T)) { std::memset(&dest, fillValue, byteSize); } template<class T> static const void* AsVoidPtr(const...
20.189189
91
0.637216
Egliss
92632b798b33b2ee08ae42da57bd005ca24dee02
653
hpp
C++
test/unit/mserialize/test_enums.hpp
erenon/binlog
aed64ff79c323982b0172d438dcad06d0b6112a8
[ "Apache-2.0" ]
null
null
null
test/unit/mserialize/test_enums.hpp
erenon/binlog
aed64ff79c323982b0172d438dcad06d0b6112a8
[ "Apache-2.0" ]
null
null
null
test/unit/mserialize/test_enums.hpp
erenon/binlog
aed64ff79c323982b0172d438dcad06d0b6112a8
[ "Apache-2.0" ]
null
null
null
#ifndef TEST_UNIT_MSERIALIZE_TEST_ENUMS_HPP #define TEST_UNIT_MSERIALIZE_TEST_ENUMS_HPP #include <cstdint> namespace test { enum CEnum : int { Alpha, Bravo, Charlie }; enum class EnumClass : int { Delta, Echo, Foxtrot }; enum class LargeEnumClass : std::int64_t { Golf = INT64_MIN, Hotel = -1024, ...
12.803922
49
0.698315
erenon
92638fa1c0728659f327a8fe91a151c33ac84738
13,026
hpp
C++
src/elona/variables.hpp
ElonaFoobar/ElonaFoobar
35864685dcca96c4c9ad683c4f5b3537e86bc06f
[ "MIT" ]
84
2018-03-03T02:44:32.000Z
2019-07-14T16:16:24.000Z
src/elona/variables.hpp
ki-foobar/ElonaFoobar
d251cf5bd8c21789db3b56b1c9b1302ce69b2c2e
[ "MIT" ]
685
2018-02-27T04:31:17.000Z
2019-07-12T13:43:00.000Z
src/elona/variables.hpp
ki-foobar/ElonaFoobar
d251cf5bd8c21789db3b56b1c9b1302ce69b2c2e
[ "MIT" ]
23
2019-07-26T08:52:38.000Z
2021-11-09T09:21:58.000Z
#pragma once #include "elona.hpp" #include "optional.hpp" #include "position.hpp" #include "random.hpp" #ifdef ELONA_DEFINE_GLOBAL_INSTANCE #define ELONA_EXTERN(declaration) declaration #else #define ELONA_EXTERN(declaration) extern declaration #endif namespace elona { struct Item; struct Character; ELONA_EXTER...
30.434579
59
0.81821
ElonaFoobar
926ae3ca833b10195f11b18725eb23379fa62996
4,195
cpp
C++
Dx9Wrapper_v0.2.0/MIDIinput.cpp
Yamamoto0773/Amaoto
a7fca6b25bb56138dfbb664e9b729c7835597493
[ "BSD-2-Clause" ]
null
null
null
Dx9Wrapper_v0.2.0/MIDIinput.cpp
Yamamoto0773/Amaoto
a7fca6b25bb56138dfbb664e9b729c7835597493
[ "BSD-2-Clause" ]
null
null
null
Dx9Wrapper_v0.2.0/MIDIinput.cpp
Yamamoto0773/Amaoto
a7fca6b25bb56138dfbb664e9b729c7835597493
[ "BSD-2-Clause" ]
null
null
null
#include "MIDIinput.h" unsigned int MIDIInput::iWriteMsgByte = 0; char MIDIInput::mMsgBuffer[MSGBUFFERSIZE]; MIDIKEYSTATE MIDIInput::eKeyState[MIDIKEYCNT]; MIDIInput::MIDIInput() { hMidiInHandle = NULL; iWriteMsgByte = 0; ZeroMemory(mMsgBuffer, sizeof(mMsgBuffer)); for (int i=0; i<MIDIKEYCNT; i++) { eKeyStat...
22.31383
121
0.68677
Yamamoto0773
926afba2e45b83a85b5d208a62019b8bef375a78
5,530
cpp
C++
HamurEngine/Hamur/src/hamurTexture.cpp
ttesla/hamur
02a31b4fec9bb3527289a38cdde842a93772be41
[ "MIT" ]
null
null
null
HamurEngine/Hamur/src/hamurTexture.cpp
ttesla/hamur
02a31b4fec9bb3527289a38cdde842a93772be41
[ "MIT" ]
null
null
null
HamurEngine/Hamur/src/hamurTexture.cpp
ttesla/hamur
02a31b4fec9bb3527289a38cdde842a93772be41
[ "MIT" ]
null
null
null
#include "hamurTexture.h" #include "hamurOpenGL.h" #include "helper/hamurLog.h" #include "hamurDefinitions.h" namespace hamur { HamurTexture::HamurTexture(const string& filePath) : mFilePath(filePath), mHasColorKey(false), mScale(1.0f,1.0f), mRotation(0.0f), mAlpha(1.0f) { if(!LoadTextureFromFile...
32.529412
137
0.686076
ttesla
926b55d7842213100685e42513b65d211b6e3bd0
457
cpp
C++
sources/source.cpp
Dellvin/lab9_crawler
e9699706bbe7f51fe79a9f13bbc77033263311ea
[ "MIT" ]
null
null
null
sources/source.cpp
Dellvin/lab9_crawler
e9699706bbe7f51fe79a9f13bbc77033263311ea
[ "MIT" ]
null
null
null
sources/source.cpp
Dellvin/lab9_crawler
e9699706bbe7f51fe79a9f13bbc77033263311ea
[ "MIT" ]
null
null
null
// Copyright 2018 Your Name <your_email> #include <header.hpp> int main(int argc, char **argv) { if (argc) { std::string url = argv[0]; uint64_t depth = std::stoi(argv[1]); uint64_t network_threads = std::stoi(argv[2]); uint64_t parser_threads = std::stoi(argv[3]); std::str...
26.882353
71
0.595186
Dellvin
92712ecedb7b7bee5a6505a755f893d685535721
4,453
hpp
C++
src/pscs/src_gen/PSCS/Semantics/StructuredClassifiers/impl/CS_StructuralFeatureOfInterfaceAccessStrategyImpl.hpp
MDE4CPP/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
12
2017-02-17T10:33:51.000Z
2022-03-01T02:48:10.000Z
src/pscs/src_gen/PSCS/Semantics/StructuredClassifiers/impl/CS_StructuralFeatureOfInterfaceAccessStrategyImpl.hpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
28
2017-10-17T20:23:52.000Z
2021-03-04T16:07:13.000Z
src/pscs/src_gen/PSCS/Semantics/StructuredClassifiers/impl/CS_StructuralFeatureOfInterfaceAccessStrategyImpl.hpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
22
2017-03-24T19:03:58.000Z
2022-03-31T12:10:07.000Z
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef PSCS_SEMANTICS_STRUCTUREDCLASSIFIERS_CS_STRUCTURALFEATUREOFINTERFACEACCESSSTRATEGYCS_STRUCTURALFE...
44.089109
226
0.684033
MDE4CPP
9273eeb3ee71abd039012e700d26847841352009
795
cpp
C++
Clase_11_CodingPractice/stone_wall.cpp
EdgarEspinozaPE/ProgramacionCompetitivaA
53c3eb3e2bc9f1dd1033e0c24b0cb24f96def1e9
[ "BSD-3-Clause" ]
null
null
null
Clase_11_CodingPractice/stone_wall.cpp
EdgarEspinozaPE/ProgramacionCompetitivaA
53c3eb3e2bc9f1dd1033e0c24b0cb24f96def1e9
[ "BSD-3-Clause" ]
null
null
null
Clase_11_CodingPractice/stone_wall.cpp
EdgarEspinozaPE/ProgramacionCompetitivaA
53c3eb3e2bc9f1dd1033e0c24b0cb24f96def1e9
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> #include <stack> using namespace std; int solution(vector<int>& H) { stack<int> wall; int n = H.size(), sum = 0; for (int i = 0; i < n; i++) { while (wall.size() > 0) { int b = wall.top(); if (b == H[i]) { s...
19.875
43
0.368553
EdgarEspinozaPE
927cc4daa479ed37c76b7e19898977d3aa1e219f
347
hpp
C++
library/ATF/_D3DVECTOR.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_D3DVECTOR.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_D3DVECTOR.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE struct _D3DVECTOR { float x; float y; float z; }; static_assert(ATF::checkSize<_D3DVECTOR, 12>(), "_D3DV...
21.6875
108
0.668588
lemkova
9286f23349ababbdfa531aa6891d9dda58829c73
3,956
cpp
C++
CppIDL/source/model/CppIDLVariant.cpp
obivan43/cppidl
843e0ca012145cd79e111ba9d51185c2780b35ac
[ "MIT" ]
null
null
null
CppIDL/source/model/CppIDLVariant.cpp
obivan43/cppidl
843e0ca012145cd79e111ba9d51185c2780b35ac
[ "MIT" ]
null
null
null
CppIDL/source/model/CppIDLVariant.cpp
obivan43/cppidl
843e0ca012145cd79e111ba9d51185c2780b35ac
[ "MIT" ]
null
null
null
#include "CppIDLVariant.h" namespace cppidl { bool Variant::GetBool() const{ assert(IsBool()); return m_BoolValue; } int Variant::GetInt() const { assert(IsInt()); return m_IntValue; } unsigned int Variant::GetUnsignedInt() const { assert(IsInt() || m_Type == VariantType::VariantType_U...
23.831325
114
0.665824
obivan43
928b733bf1159954d4c4bf40c20ef84c333b4186
2,373
inl
C++
src_fontgen/GlyphPacker.inl
ivorne/iv_rctools
2f8d3a3a3dcd45af1f995149c0b9ccc39625daae
[ "Apache-2.0" ]
null
null
null
src_fontgen/GlyphPacker.inl
ivorne/iv_rctools
2f8d3a3a3dcd45af1f995149c0b9ccc39625daae
[ "Apache-2.0" ]
null
null
null
src_fontgen/GlyphPacker.inl
ivorne/iv_rctools
2f8d3a3a3dcd45af1f995149c0b9ccc39625daae
[ "Apache-2.0" ]
null
null
null
#pragma once template< class BT > std::pair< std::vector< GlyphInfo >, msdfgen::Bitmap<BT> > packGlyphs( std::vector< std::pair< GlyphInfo, msdfgen::Bitmap<BT> > > glyphs, int BorderPx, BT border_fill ) { // compute area float area = 0.0f; for( auto glyph : glyphs ) area += glyph.first.width * glyph.first.height;...
22.386792
168
0.584071
ivorne
928cb1b143fb35030ab629730278bf4fe5f5e640
815
cc
C++
test/intersectionpaths.cc
untaugh/geotree
4600a1cb4115094ed5c4c1500c6221a458e68be8
[ "MIT" ]
2
2018-07-27T00:58:07.000Z
2021-11-20T22:26:10.000Z
test/intersectionpaths.cc
untaugh/geotree
4600a1cb4115094ed5c4c1500c6221a458e68be8
[ "MIT" ]
null
null
null
test/intersectionpaths.cc
untaugh/geotree
4600a1cb4115094ed5c4c1500c6221a458e68be8
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <Eigen/Core> #include <vector> #include "MeshIntersection.h" #include "IntersectionPaths.h" #include "MeshFactory.h" namespace { using namespace Geotree; class IntersectionPathsTest : public ::testing::Test { }; TEST_F(IntersectionPathsTest, basic) { MeshFactory mf; ...
20.897436
61
0.646626
untaugh
928cc86753e620d611e411ac1de673c2ea8ce593
522
cpp
C++
oj/sp/OFFSIDE.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
oj/sp/OFFSIDE.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
oj/sp/OFFSIDE.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
/* * Created by * Shivani Bhardwaj <shivanib134@gmail.com> */ #include<iostream> #include<algorithm> using namespace std; int main() { ios_base::sync_with_stdio(false); int A,D; while(cin>>A>>D && A!=0 && D!=0) { int B[A],C[D]; for(int i=0;i<A;i++) cin>>B[i];...
20.076923
44
0.429119
shivanib01
928d1713551877c559d3c9cbf5d74b113270cabb
2,064
cpp
C++
problems/programmers/42579/junow.cpp
Lee-Park-Bae-Project/Algorithm
f7cc13a6319a73c3fbe771a92a70599c416844e1
[ "MIT" ]
null
null
null
problems/programmers/42579/junow.cpp
Lee-Park-Bae-Project/Algorithm
f7cc13a6319a73c3fbe771a92a70599c416844e1
[ "MIT" ]
19
2020-06-15T12:53:58.000Z
2020-08-10T04:26:45.000Z
problems/programmers/42579/junow.cpp
Lee-Park-Bae-Project/Algorithm
f7cc13a6319a73c3fbe771a92a70599c416844e1
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define endl "\n" using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pii; typedef vector<pair<int, int>> vpii; const int dy[4] = {-1, 0, 1, 0}; const int dx[4] = {0, 1, 0, -1}; struct INFO { int plays; int id; }; struct compare { bool operator()...
25.8
88
0.580426
Lee-Park-Bae-Project
9294fc0f699019d7a87d2daa66a0cd0b712aa4c9
2,708
hpp
C++
include/metricq/timer.hpp
metricq/metricq-cxx
f145a9552f3a7c826cd0cf0be1ad2b8d7180c0f8
[ "BSD-3-Clause" ]
null
null
null
include/metricq/timer.hpp
metricq/metricq-cxx
f145a9552f3a7c826cd0cf0be1ad2b8d7180c0f8
[ "BSD-3-Clause" ]
25
2020-04-24T12:17:58.000Z
2021-08-18T14:55:13.000Z
include/metricq/timer.hpp
metricq/metricq-cxx
f145a9552f3a7c826cd0cf0be1ad2b8d7180c0f8
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2018, ZIH, // Technische Universitaet Dresden, // Federal Republic of Germany // // 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 mus...
29.758242
83
0.711965
metricq
929b874af4a92da63c19fa200f580da825498a47
4,294
hpp
C++
include/e4pp/functional.hpp
ikonopistsev/e4pp
780859ea4b9c7618fa574322354bf08e47147716
[ "Apache-2.0" ]
null
null
null
include/e4pp/functional.hpp
ikonopistsev/e4pp
780859ea4b9c7618fa574322354bf08e47147716
[ "Apache-2.0" ]
null
null
null
include/e4pp/functional.hpp
ikonopistsev/e4pp
780859ea4b9c7618fa574322354bf08e47147716
[ "Apache-2.0" ]
null
null
null
#pragma once #include "e4pp/e4pp.hpp" #include <functional> struct evconnlistener; namespace e4pp { template<class T> struct timer_fn final { using fn_type = void (T::*)(); using self_type = T; fn_type fn_{}; T& self_; void call() noexcept { assert(fn_); try { (...
22.364583
79
0.495575
ikonopistsev
929b9a29b230a049ea3b54f642494dc351adf2d4
9,033
cpp
C++
ql/money.cpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
3,358
2015-12-18T02:56:17.000Z
2022-03-31T02:42:47.000Z
ql/money.cpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
965
2015-12-21T10:35:28.000Z
2022-03-30T02:47:00.000Z
ql/money.cpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
1,663
2015-12-17T17:45:38.000Z
2022-03-31T07:58:29.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2004 Decillion Pty(Ltd) Copyright (C) 2007 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is ...
34.742308
89
0.567807
jiangjiali
929e292b4d7ea9465b1a5546f8ac4f5e179d038e
11,522
cpp
C++
qws/src/gui/QSound.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
42
2015-02-16T19:29:16.000Z
2021-07-25T11:09:03.000Z
qws/src/gui/QSound.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
1
2017-11-23T12:49:25.000Z
2017-11-23T12:49:25.000Z
qws/src/gui/QSound.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
5
2015-10-15T21:25:30.000Z
2017-11-22T13:18:24.000Z
///////////////////////////////////////////////////////////////////////////// // // File : QSound.cpp // Copyright : (c) David Harley 2010 // Project : qtHaskell // Version : 1.1.4 // Modified : 2010-09-02 17:02:01 // // Warning : this file is machine generated - do...
41.746377
124
0.652057
keera-studios
92a6734d78f94732c7c7fc179a089330ba0052d5
50,764
inl
C++
include/eagine/msgbus/remote_node.inl
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
1
2021-07-18T10:17:10.000Z
2021-07-18T10:17:10.000Z
include/eagine/msgbus/remote_node.inl
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
null
null
null
include/eagine/msgbus/remote_node.inl
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
1
2021-06-25T07:15:10.000Z
2021-06-25T07:15:10.000Z
/// @file /// /// Copyright Matus Chochlik. /// 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 /// #include <eagine/branch_predict.hpp> #include <eagine/timeout.hpp> #include <eagine/value_with_history.hpp> #inclu...
34.556841
80
0.50981
matus-chochlik
92b5d16f1355df80ef43c35717dbf98f19da788b
806
hpp
C++
pikoc/include/PikocOptions.hpp
piko-dev/piko-public
8d7ab461de155992ca75e839f406670279fb6bad
[ "BSD-3-Clause" ]
15
2015-05-19T08:23:26.000Z
2021-11-26T02:59:36.000Z
pikoc/include/PikocOptions.hpp
piko-dev/piko-public
8d7ab461de155992ca75e839f406670279fb6bad
[ "BSD-3-Clause" ]
null
null
null
pikoc/include/PikocOptions.hpp
piko-dev/piko-public
8d7ab461de155992ca75e839f406670279fb6bad
[ "BSD-3-Clause" ]
4
2015-10-06T15:14:43.000Z
2020-02-20T13:17:11.000Z
#ifndef PIKOC_OPTIONS_HPP #define PIKOC_OPTIONS_HPP #include "Backend/PikoTargets.hpp" #include <string> #include <vector> class PikocOptions { public: pikoc::Targets target; bool optimize; bool enableTimers; bool dumpIR; bool edit; bool inlineDevice; bool displayGrid; std::string osString; std::string wo...
16.791667
58
0.730769
piko-dev
92b682361ecc7da8f33908490ccea32f3505726c
652
cpp
C++
XinBiaoZhun_Cpp/Chapter4_Overload/OperatorOverloading4_Friend.cpp
ltimaginea/Xinbiaozhun_cpp_Chengxusheji
e8724ca1df1091ad26edfdf8d11ddf57e5d85ed1
[ "MIT" ]
null
null
null
XinBiaoZhun_Cpp/Chapter4_Overload/OperatorOverloading4_Friend.cpp
ltimaginea/Xinbiaozhun_cpp_Chengxusheji
e8724ca1df1091ad26edfdf8d11ddf57e5d85ed1
[ "MIT" ]
null
null
null
XinBiaoZhun_Cpp/Chapter4_Overload/OperatorOverloading4_Friend.cpp
ltimaginea/Xinbiaozhun_cpp_Chengxusheji
e8724ca1df1091ad26edfdf8d11ddf57e5d85ed1
[ "MIT" ]
null
null
null
// 运算符重载为友元函数 #include <iostream> using namespace std; class CComplex { private: double real; double imag; public: CComplex(double real_ = 0.0, double imag_ = 0.0) :real(real_), imag(imag_) {} CComplex operator+(double r); friend CComplex operator+(double r, const CComplex& a); // 友元运算符函数,来处理5+a的情况 }; CComple...
17.621622
78
0.665644
ltimaginea
92b8b9b1b67e3aefa0e2748436f674460ea5c1e3
25,908
cpp
C++
Source/ComputeEngine/Cuda/CudaEngine.cpp
Fillo7/KTT
a0c252efb75a8366450e2df589f0ae641f015312
[ "MIT" ]
32
2017-09-12T23:52:52.000Z
2020-12-09T07:13:24.000Z
Source/ComputeEngine/Cuda/CudaEngine.cpp
Fillo7/KTT
a0c252efb75a8366450e2df589f0ae641f015312
[ "MIT" ]
23
2017-05-11T14:38:45.000Z
2021-02-03T13:45:14.000Z
Source/ComputeEngine/Cuda/CudaEngine.cpp
Fillo7/KTT
a0c252efb75a8366450e2df589f0ae641f015312
[ "MIT" ]
5
2017-11-06T12:40:05.000Z
2020-06-16T13:11:24.000Z
#ifdef KTT_API_CUDA #include <Api/KttException.h> #include <ComputeEngine/Cuda/Buffers/CudaDeviceBuffer.h> #include <ComputeEngine/Cuda/Buffers/CudaHostBuffer.h> #include <ComputeEngine/Cuda/Buffers/CudaUnifiedBuffer.h> #include <ComputeEngine/Cuda/CudaDevice.h> #include <ComputeEngine/Cuda/CudaEngine.h> #include <Com...
29.110112
140
0.705342
Fillo7
92c05fb51fb2949e9be5b138160f916a1753f775
9,764
cpp
C++
apps/kbmcepc/versions/1 client server/mkb_mme.cpp
vaishalijhalani/SGW
93fef349fcb3e57dd167072d357da5b49f5150c8
[ "BSD-3-Clause" ]
null
null
null
apps/kbmcepc/versions/1 client server/mkb_mme.cpp
vaishalijhalani/SGW
93fef349fcb3e57dd167072d357da5b49f5150c8
[ "BSD-3-Clause" ]
null
null
null
apps/kbmcepc/versions/1 client server/mkb_mme.cpp
vaishalijhalani/SGW
93fef349fcb3e57dd167072d357da5b49f5150c8
[ "BSD-3-Clause" ]
null
null
null
#include "mkb_mme.h" #define MAX_THREADS 2 // This constant define number of threads available struct arg arguments[MAX_THREADS]; // Arguments sent to Pthreads pthread_t servers[MAX_THREADS]; // Threads void SignalHandler(int signum) { //Handle ctrl+C here done = 1; mtcp_destroy(); } //State uint64_t ue_coun...
23.028302
104
0.636727
vaishalijhalani
92c39881bbd0c5a0fa733f892054d43bbe66184a
884
cpp
C++
source/cards/sources/or-condition.cpp
mexus/medici2
8ffadc0f72459e5b59f12460575925e5a578a389
[ "MIT" ]
null
null
null
source/cards/sources/or-condition.cpp
mexus/medici2
8ffadc0f72459e5b59f12460575925e5a578a389
[ "MIT" ]
null
null
null
source/cards/sources/or-condition.cpp
mexus/medici2
8ffadc0f72459e5b59f12460575925e5a578a389
[ "MIT" ]
null
null
null
#include <cards/or-condition.h> namespace cards { bool OrCondition::CheckSequence(const std::vector<Card>& cards) const { for (auto& condition : child_conditions_) { if (condition->CheckSequence(cards)) { return true; } } return false; } std::vector<Sequence> OrCondition::GetV...
30.482759
80
0.642534
mexus
92c53501c2725438bc1385a34d13479c933ebd18
7,780
hpp
C++
include/HoudiniEngineUnity/HEU_RenderingPipelineDefines.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_RenderingPipelineDefines.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_RenderingPipelineDefines.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" #include "beatsaber-hook/shared/utils/il2cpp-utils-met...
55.571429
234
0.76401
RedBrumbler
92c81af0d33e4a57605ab20b9610881048e2de86
1,974
cpp
C++
game/server/entities/lights/CLightFader.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
game/server/entities/lights/CLightFader.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
game/server/entities/lights/CLightFader.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object ...
27.041096
97
0.730496
sohl-modders
92c83c4d24eb24e72d25c9d6c2100b498b6b44b0
1,588
hh
C++
query/UniverseMetadata.i.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
query/UniverseMetadata.i.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
query/UniverseMetadata.i.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
//---------------------------------*-C++-*-----------------------------------// /*! * \file query/UniverseMetadata.i.hh * \brief UniverseMetadata inline method definitions * \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //-------------------------------------------------------------...
34.521739
79
0.518262
celeritas-project
92cedc94b917241408745ec91a5f6b9a5c372afb
1,686
cpp
C++
Source/Utility/jitter.cpp
chrisfromwork/DaisySP
e14ae1901a76e87d39b0ff3fee8efab89fb0e4cc
[ "MIT" ]
452
2020-03-06T21:21:12.000Z
2022-03-23T06:34:57.000Z
Source/Utility/jitter.cpp
recursinging/DaisySP
6f8d2e7e08e6ae6795f03bd750f50d67d6fc683e
[ "MIT" ]
108
2020-03-06T21:38:51.000Z
2022-01-04T06:57:11.000Z
Source/Utility/jitter.cpp
recursinging/DaisySP
6f8d2e7e08e6ae6795f03bd750f50d67d6fc683e
[ "MIT" ]
71
2020-03-06T21:23:34.000Z
2022-03-18T09:33:23.000Z
#include <math.h> #include <stdint.h> #include <stdlib.h> #include "jitter.h" #ifndef FT_MAXLEN #define FT_MAXLEN 0x1000000L #endif #ifndef FT_PHMASK #define FT_PHMASK 0x0FFFFFFL #endif using namespace daisysp; float Jitter::randGab() { return (float)((rand() >> 1) & 0x7fffffff) * (4.656612875245796...
18.326087
66
0.569988
chrisfromwork
92cfd865a586317ba32b24b472c9cfdae6f7afd7
2,579
hpp
C++
test/core/api/client/api_client.hpp
Lederstrumpf/kagome
a5050ca04577c0570e21ce7322cc010153b6fe29
[ "Apache-2.0" ]
null
null
null
test/core/api/client/api_client.hpp
Lederstrumpf/kagome
a5050ca04577c0570e21ce7322cc010153b6fe29
[ "Apache-2.0" ]
null
null
null
test/core/api/client/api_client.hpp
Lederstrumpf/kagome
a5050ca04577c0570e21ce7322cc010153b6fe29
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_TEST_CORE_API_CLIENT_API_CLIENT_HPP #define KAGOME_TEST_CORE_API_CLIENT_API_CLIENT_HPP #include <boost/asio.hpp> #include <boost/beast.hpp> #include <outcome/outcome.hpp> namespace test { enum class...
28.977528
77
0.685537
Lederstrumpf
92d2f68101a4bf456eb7c97c741917a65f647ee4
1,668
cpp
C++
GlacierFormatsSamples/MATINameToPRIMMapping/src/main.cpp
pawREP/GlacierFormats
9eece4541d863e288fc950087c4f6ec111258fe9
[ "MIT" ]
3
2020-04-03T00:01:35.000Z
2021-02-04T04:20:58.000Z
GlacierFormatsSamples/MATINameToPRIMMapping/src/main.cpp
pawREP/GlacierFormats
9eece4541d863e288fc950087c4f6ec111258fe9
[ "MIT" ]
1
2021-03-02T05:31:10.000Z
2021-03-02T05:31:10.000Z
GlacierFormatsSamples/MATINameToPRIMMapping/src/main.cpp
pawREP/GlacierFormats
9eece4541d863e288fc950087c4f6ec111258fe9
[ "MIT" ]
null
null
null
#include "GlacierFormats.h" #include <fstream> #include <filesystem> #include <map> #include <unordered_set> using namespace GlacierFormats; int main(int argc, char** argv) { //Initilize GlacierFormats library GlacierInit(); //Get ResourceRepository instance. auto repo = ResourceRepository::instance(); //Get ...
30.888889
77
0.705036
pawREP
92d47931fa85b637757b77c76b121f0f7fab69a6
11,838
cpp
C++
src/core/layers/dbgOverlay/dbgOverlayTimeGraph.cpp
crystalJinamd/pal
78939ef3d83b3b18969d0459e8f316d1401fb692
[ "MIT" ]
null
null
null
src/core/layers/dbgOverlay/dbgOverlayTimeGraph.cpp
crystalJinamd/pal
78939ef3d83b3b18969d0459e8f316d1401fb692
[ "MIT" ]
null
null
null
src/core/layers/dbgOverlay/dbgOverlayTimeGraph.cpp
crystalJinamd/pal
78939ef3d83b3b18969d0459e8f316d1401fb692
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2016-2018 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
41.830389
128
0.562257
crystalJinamd
92d917782260c1865542e61c75d32523206e1916
752
cpp
C++
platformIO/lib/CountDown/CountDown.cpp
Orekaria/digital_thermostat
f431a7dd2ccbf8def73e5f1e252bfcfe705b486b
[ "MIT" ]
null
null
null
platformIO/lib/CountDown/CountDown.cpp
Orekaria/digital_thermostat
f431a7dd2ccbf8def73e5f1e252bfcfe705b486b
[ "MIT" ]
null
null
null
platformIO/lib/CountDown/CountDown.cpp
Orekaria/digital_thermostat
f431a7dd2ccbf8def73e5f1e252bfcfe705b486b
[ "MIT" ]
null
null
null
#include <CountDown.h> CountDown::CountDown(uint32_t maxValue) { _maxCount = maxValue; CountDown(maxValue, false); }; CountDown::CountDown(uint32_t maxValue, bool isLoop) { _maxCount = maxValue; _isLoop = isLoop; }; CountDown::~CountDown() { }; /// <summary>Decreases count by 1. If the countdown is ...
20.324324
107
0.619681
Orekaria
92d94f6aec3fd9a53556660c90b8616d4549ab09
23,156
cpp
C++
src/GenLib.cpp
DriftSolutions/DSL
0c96d78a0ee7f959e8d91227b9c3c6f69a554101
[ "BSD-3-Clause" ]
null
null
null
src/GenLib.cpp
DriftSolutions/DSL
0c96d78a0ee7f959e8d91227b9c3c6f69a554101
[ "BSD-3-Clause" ]
null
null
null
src/GenLib.cpp
DriftSolutions/DSL
0c96d78a0ee7f959e8d91227b9c3c6f69a554101
[ "BSD-3-Clause" ]
null
null
null
//@AUTOHEADER@BEGIN@ /***********************************************************************\ | Drift Standard Libraries v1.01 | | Copyright 2010-2020 Drift Solutions / Indy Sams | | Docs and more information available at https://www.driftsolutions.dev | | ...
22.949455
157
0.591769
DriftSolutions
92dba7a29d191a18962b3754d903c21b5ba67aed
1,658
cpp
C++
removeBandACfromString.cpp
harshallgarg/CPP
4d15c5e5d426bb00d192368d21924ec9f017445f
[ "MIT" ]
2
2020-08-09T02:09:50.000Z
2020-08-09T07:07:47.000Z
removeBandACfromString.cpp
harshallgarg/CPP
4d15c5e5d426bb00d192368d21924ec9f017445f
[ "MIT" ]
null
null
null
removeBandACfromString.cpp
harshallgarg/CPP
4d15c5e5d426bb00d192368d21924ec9f017445f
[ "MIT" ]
4
2020-05-25T10:24:14.000Z
2021-05-03T07:52:35.000Z
#include <iostream> #include <cstring> #include <cstdio> using namespace std; void remBandAC(char *str) { char str1[200]={' '}; int j=0; for(int i=0;i<strlen(str);i++) { if(str[i]=='b') continue; else if(str[i]=='a'&&str[i+1]=='c') i+=1; else ...
14.54386
43
0.452352
harshallgarg
92de1fe436b7075eff744f5aa36db054f83e2955
23,218
cpp
C++
src/object-store/tests/sync/sync_manager.cpp
rh389/realm-js-flat
5f1e8cff11df9cc14560a17b74745e72b704a6c3
[ "Apache-2.0" ]
null
null
null
src/object-store/tests/sync/sync_manager.cpp
rh389/realm-js-flat
5f1e8cff11df9cc14560a17b74745e72b704a6c3
[ "Apache-2.0" ]
null
null
null
src/object-store/tests/sync/sync_manager.cpp
rh389/realm-js-flat
5f1e8cff11df9cc14560a17b74745e72b704a6c3
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm Inc. // // 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/li...
50.473913
150
0.656818
rh389
92df65320c79cda1b6080b86df38ea9dd9d134e2
1,704
hpp
C++
examples/analog joystick, arcade joystick, hd44780, oled display controlling a servo/hd44780Menu.hpp
JasperOosterbroek/ipass_menu
42d76d0b093c2ac80d6e661f4110cd084b29db28
[ "BSL-1.0" ]
null
null
null
examples/analog joystick, arcade joystick, hd44780, oled display controlling a servo/hd44780Menu.hpp
JasperOosterbroek/ipass_menu
42d76d0b093c2ac80d6e661f4110cd084b29db28
[ "BSL-1.0" ]
null
null
null
examples/analog joystick, arcade joystick, hd44780, oled display controlling a servo/hd44780Menu.hpp
JasperOosterbroek/ipass_menu
42d76d0b093c2ac80d6e661f4110cd084b29db28
[ "BSL-1.0" ]
null
null
null
// ========================================================================== // // File : hd44780Menu.hpp // Part of : C++ light menu, easy to use menu library // Author : Jasper Oosterbroek // Github : https://github.com/JasperOosterbroek/light-menu // Copyright : jasper.oosterbroek@student.hu.nl 2018 //...
29.37931
168
0.623826
JasperOosterbroek
2bba34c81b8135b7da6b48b0d257b816b4ecea77
1,451
hpp
C++
src/common/nnet-ipc.hpp
kobanium/aoba_zero
dd6eb185e22c57b72663859e678fff79f7f425a5
[ "Unlicense" ]
43
2019-05-10T05:50:23.000Z
2022-01-03T02:46:00.000Z
src/common/nnet-ipc.hpp
yssaya/komaochi
88f8d859682507bbd2324eddd319483ba92ea341
[ "Unlicense" ]
34
2019-05-07T15:22:44.000Z
2021-09-21T04:34:39.000Z
src/common/nnet-ipc.hpp
kobanium/aoba-zero
dd6eb185e22c57b72663859e678fff79f7f425a5
[ "Unlicense" ]
13
2019-05-10T02:11:45.000Z
2021-10-05T12:28:03.000Z
// 2019 Team AobaZero // This source code is in the public domain. #pragma once #include "osi.hpp" #include "nnet.hpp" class SeqPRN { OSI::MMap _mmap; public: explicit SeqPRN(bool flag_detach) noexcept; ~SeqPRN() noexcept { _mmap.close(); }; const uint64_t *get_ptr() const noexcept { return static_cast<uin...
31.543478
69
0.725017
kobanium
2bc55f0b588f494e6ffbab6d2b467863b7832afc
979
cpp
C++
mp/src/old/dlls/particle_smokegrenade.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/old/dlls/particle_smokegrenade.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/old/dlls/particle_smokegrenade.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
#include "cbase.h" #include "particle_smokegrenade.h" IMPLEMENT_SERVERCLASS_ST(ParticleSmokeGrenade, DT_ParticleSmokeGrenade) SendPropFloat(SENDINFO(m_FadeStartTime), 0, SPROP_NOSCALE), SendPropFloat(SENDINFO(m_FadeEndTime), 0, SPROP_NOSCALE), SendPropInt(SENDINFO(m_CurrentStage), 1, SPROP_UNSIGNED), END_SEND_TA...
21.755556
71
0.808989
MaartenS11
2bc5760d901fd59509bbb5ea3a36e19dfe42149d
21,747
cpp
C++
WaveletTL/galerkin/ldomain_equation.cpp
kedingagnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
3
2018-05-20T15:25:58.000Z
2021-01-19T18:46:48.000Z
WaveletTL/galerkin/ldomain_equation.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
null
null
null
WaveletTL/galerkin/ldomain_equation.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
2
2019-04-24T18:23:26.000Z
2020-09-17T10:00:27.000Z
// implementation for ldomain_equation.h #include <cmath> #include <time.h> #include <utils/fixed_array1d.h> #include <numerics/gauss_data.h> #include <numerics/eigenvalues.h> namespace WaveletTL { template <class IBASIS> LDomainEquation<IBASIS>::LDomainEquation(const EllipticBVP<2>* bvp, const bool preco...
31.200861
108
0.605693
kedingagnumerikunimarburg
2bc7202512792aca5b21341f1e1004068b733d3e
2,595
cpp
C++
hphp/runtime/vm/jit/vasm-lower-arm.cpp
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
1
2015-11-06T08:44:15.000Z
2015-11-06T08:44:15.000Z
hphp/runtime/vm/jit/vasm-lower-arm.cpp
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/vm/jit/vasm-lower-arm.cpp
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) | +---------...
27.903226
79
0.531407
radford
2bc81d3f9425092be64a13edadecc4b793bf98c6
1,264
cpp
C++
0900/40/948a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
0900/40/948a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
0900/40/948a.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> #include <string> #include <vector> template <typename T> std::istream& operator >>(std::istream& input, std::vector<T>& v) { for (T& a : v) input >> a; return input; } bool check_adj_sheep(const std::vector<std::string>& f, size_t r, size_t c) { const size_t n = f.size(); ...
18.318841
75
0.455696
actium
2bcbff7e68fe411a707420847f621b032c81e605
433
cpp
C++
algorithmic_toolbox/divide_and_conquer/sorting.cpp
thegauravparmar/dsa-coursera-assignments
4e5261588547ea7a9ea139010ecb9a2c69ddf333
[ "MIT" ]
null
null
null
algorithmic_toolbox/divide_and_conquer/sorting.cpp
thegauravparmar/dsa-coursera-assignments
4e5261588547ea7a9ea139010ecb9a2c69ddf333
[ "MIT" ]
null
null
null
algorithmic_toolbox/divide_and_conquer/sorting.cpp
thegauravparmar/dsa-coursera-assignments
4e5261588547ea7a9ea139010ecb9a2c69ddf333
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define int long long #define all(v) v.begin(), v.end() #define input(v) \ for (auto &i : v) \ cin >> i #define decl_read(v, n) \ ints v(n); \ input(v) #define print(v) \ for (auto &i : v) \ cout << i << ' ' using namespace std; typedef vector<int> int...
19.681818
33
0.510393
thegauravparmar
2bd0e5932c62b86b1bd467f4b8079920087db1ef
983
cpp
C++
Max multiple.cpp
Gayane05/CodeSignal_2021
4684e1736cae8249c8c9522316b7364529793aa6
[ "MIT" ]
null
null
null
Max multiple.cpp
Gayane05/CodeSignal_2021
4684e1736cae8249c8c9522316b7364529793aa6
[ "MIT" ]
null
null
null
Max multiple.cpp
Gayane05/CodeSignal_2021
4684e1736cae8249c8c9522316b7364529793aa6
[ "MIT" ]
null
null
null
#include <iostream> //Given a divisorand a bound, find the largest integer N such that : // //N is divisible by divisor. //N is less than or equal to bound. //N is greater than 0. //It is guaranteed that such a number exists. // //Example // //For divisor = 3 and bound = 10, the output should be //maxMult...
17.872727
75
0.615463
Gayane05
2bd1cf4c1b1a3fb54816fcd9d1e3f7b5e98e56b7
17,088
cpp
C++
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/Windows Filtering Platform Sample/C++/exe/Scenarios_Proxy.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/Windows Filtering Platform Sample/C++/exe/Scenarios_Proxy.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/Windows Filtering Platform Sample/C++/exe/Scenarios_Proxy.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2020-10-19T23:36:26.000Z
2020-10-22T12:59:37.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2012 Microsoft Corporation. All Rights Reserved. // // Module Name: // Scenarios_Proxy.cpp // // Abstract: // This module contains functions which prepares and sends data for the PRO...
35.016393
133
0.478055
zzgchina888
2bd611d82ee6862acca8da3917d438fd5bfc097c
1,796
hpp
C++
include/gbVk/Buffer.hpp
ComicSansMS/GhulbusVulkan
b24ffb892a7573c957aed443a3fbd7ec281556e7
[ "MIT" ]
null
null
null
include/gbVk/Buffer.hpp
ComicSansMS/GhulbusVulkan
b24ffb892a7573c957aed443a3fbd7ec281556e7
[ "MIT" ]
null
null
null
include/gbVk/Buffer.hpp
ComicSansMS/GhulbusVulkan
b24ffb892a7573c957aed443a3fbd7ec281556e7
[ "MIT" ]
null
null
null
#ifndef GHULBUS_LIBRARY_INCLUDE_GUARD_VULKAN_BUFFER_HPP #define GHULBUS_LIBRARY_INCLUDE_GUARD_VULKAN_BUFFER_HPP /** @file * * @brief Buffer. * @author Andreas Weis (der_ghulbus@ghulbus-inc.de) */ #include <gbVk/config.hpp> #include <vulkan/vulkan.h> #include <vulkan/vulkan.hpp> #include <gbVk/DeviceMemory.hpp> nam...
31.508772
94
0.705457
ComicSansMS