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
9c99294d15a63bd543ecbd828b2ddfab607b8451
1,158
cpp
C++
2019Homeworks/20191026_Mock_MidTerm/4.BacteriaMulti.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
8
2019-10-09T14:33:42.000Z
2020-12-03T00:49:29.000Z
2019Homeworks/20191026_Mock_MidTerm/4.BacteriaMulti.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
2019Homeworks/20191026_Mock_MidTerm/4.BacteriaMulti.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
#include<iostream> #include<cstring> using namespace std; int tie_n[10][10]; int tie[10][10]; int tie_o[10][10]; void gen(int x,int y){ int b=tie[x][y]; if(x!=1){ if(y!=1)tie_n[x-1][y-1]+=b; tie_n[x-1][y]+=b; if(y!=9)tie_n[x-1][y+1]+=b; } if(y!=1)tie_n[x][y-1]+=b; tie_n[x][y]...
23.16
45
0.418826
Guyutongxue
9c9cc61371f6bd8d0ec219d8e5f48f6c7baca41d
3,098
cpp
C++
libs/ml/tests/unit/ops/top_k.cpp
kitounliu/ledger
3fed5269efbdd68b059648678af01a02e90b41bd
[ "Apache-2.0" ]
null
null
null
libs/ml/tests/unit/ops/top_k.cpp
kitounliu/ledger
3fed5269efbdd68b059648678af01a02e90b41bd
[ "Apache-2.0" ]
null
null
null
libs/ml/tests/unit/ops/top_k.cpp
kitounliu/ledger
3fed5269efbdd68b059648678af01a02e90b41bd
[ "Apache-2.0" ]
null
null
null
//------------------------------------------------------------------------------ // // 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 // // ...
31.292929
96
0.651065
kitounliu
9ca3cdfa145eb8887328576ef4d6d8be7b59b415
242
cpp
C++
practice/srv.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
47
2016-05-20T08:49:47.000Z
2022-01-03T01:17:07.000Z
practice/srv.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
null
null
null
practice/srv.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
37
2016-07-25T04:52:08.000Z
2022-02-14T03:55:08.000Z
// Copyright (c) 2016 // Author: Chrono Law #include <std.hpp> //using namespace std; using std::cout; using std::endl; #include "tcp_server.hpp" int main() { cout << "server start" << endl; tcp_server svr(6677); svr.run(); }
13.444444
35
0.628099
MaxHonggg
9ca93a8a09b901e9302a14bf9b106b560974b736
6,208
cpp
C++
LiquidCore/src/ios/V82JSC/BigInt.cpp
vivocha/LiquidCore
8fdc3abc4a7a4601ae9049f163b6b9debd2eb9a4
[ "MIT" ]
null
null
null
LiquidCore/src/ios/V82JSC/BigInt.cpp
vivocha/LiquidCore
8fdc3abc4a7a4601ae9049f163b6b9debd2eb9a4
[ "MIT" ]
null
null
null
LiquidCore/src/ios/V82JSC/BigInt.cpp
vivocha/LiquidCore
8fdc3abc4a7a4601ae9049f163b6b9debd2eb9a4
[ "MIT" ]
1
2020-05-04T22:27:52.000Z
2020-05-04T22:27:52.000Z
/* * Copyright (c) 2018 Eric Lange * * Distributed under the MIT License. See LICENSE.md at * https://github.com/LiquidPlayer/LiquidCore for terms and conditions. */ #include "V82JSC.h" #include <iomanip> using namespace V82JSC; using namespace v8; Local<BigInt> BigInt::New(Isolate* isolate, int64_t value) { ...
37.853659
140
0.67107
vivocha
9caadc813a6ed2aeed32189d8e0520ce2feb1ba9
1,075
cpp
C++
net/ip_tools.cpp
AlexRuzin/CPP_API
404e2c298244e0e29cf06b8e1def4ed59a149cb2
[ "MIT" ]
14
2018-01-04T18:30:59.000Z
2021-07-07T15:15:15.000Z
net/ip_tools.cpp
AlexRuzin/CPP_API
404e2c298244e0e29cf06b8e1def4ed59a149cb2
[ "MIT" ]
null
null
null
net/ip_tools.cpp
AlexRuzin/CPP_API
404e2c298244e0e29cf06b8e1def4ed59a149cb2
[ "MIT" ]
6
2018-08-31T03:45:43.000Z
2019-06-05T02:55:46.000Z
#include <Windows.h> #include "ip_tools.h" #include "../../_api/common/mem.h" #include "../../_api/common/str.h" using namespace ip_tools; bool ip_tools::is_ip(__in LPCSTR name) { IP_ADDR_A address; mem::zeromem(&address, sizeof(IP_ADDR_A)); PCHAR ptr = (PCHAR)name; for (UINT i = 0; i <= 3; i++) { PCHAR end = ...
21.5
92
0.557209
AlexRuzin
9cab2dd20c51fd6ea54b1e86cf525e159c69134a
1,347
cpp
C++
model_qtlog4/main.cpp
snailone008/Gameinterface-Doudizhu
8f7f9e3a4e73651ec9aa7eecb2f57a82ea6879ba
[ "Apache-2.0" ]
null
null
null
model_qtlog4/main.cpp
snailone008/Gameinterface-Doudizhu
8f7f9e3a4e73651ec9aa7eecb2f57a82ea6879ba
[ "Apache-2.0" ]
null
null
null
model_qtlog4/main.cpp
snailone008/Gameinterface-Doudizhu
8f7f9e3a4e73651ec9aa7eecb2f57a82ea6879ba
[ "Apache-2.0" ]
null
null
null
#include <QApplication> #include <qblog4qt.h> #include<QDebug> #include "qsampledata.h" #include <QJsonDocument> #include <QJsonObject> #include "reflectionobject.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); Log4Info("hello world log4info4!", "abcdefg"); Log4Warn("Log4Warn", "234"); ...
23.224138
77
0.64588
snailone008
9cac069f3770e1db1fd827f37c8d5c80ec8968f1
2,172
cpp
C++
src/engine/sound/openal/OpenALSound.cpp
zapolnov/TankHero
a907417dc171cb0d4ea04539ae09ba37ee7782ab
[ "MIT" ]
null
null
null
src/engine/sound/openal/OpenALSound.cpp
zapolnov/TankHero
a907417dc171cb0d4ea04539ae09ba37ee7782ab
[ "MIT" ]
null
null
null
src/engine/sound/openal/OpenALSound.cpp
zapolnov/TankHero
a907417dc171cb0d4ea04539ae09ba37ee7782ab
[ "MIT" ]
null
null
null
#include "OpenALSound.h" #include "src/engine/utility/StbVorbis.h" #include <cassert> #include <cstdlib> OpenALSound::OpenALSound(ALCcontext* context) : mContext(context) , mBuffer(0) { if (mContext) { alcMakeContextCurrent(mContext); alGenBuffers(1, &mBuffer); } } OpenALSound::~OpenAL...
25.857143
93
0.653315
zapolnov
66d771cd17310ce13c1ca32d1ed1d8c8f4ac995a
1,250
hpp
C++
lib/ArduinoJson/src/ArduinoJson/Object/ObjectFunctions.hpp
shybzzz/ESP-1ch-Gateway
25cac33837e06b11439193a3a0a2dc81b35bf686
[ "MIT" ]
274
2016-04-13T11:34:42.000Z
2022-03-22T08:29:30.000Z
lib/ArduinoJson/src/ArduinoJson/Object/ObjectFunctions.hpp
shybzzz/ESP-1ch-Gateway
25cac33837e06b11439193a3a0a2dc81b35bf686
[ "MIT" ]
99
2016-04-15T09:58:24.000Z
2022-03-23T16:05:28.000Z
lib/ArduinoJson/src/ArduinoJson/Object/ObjectFunctions.hpp
shybzzz/ESP-1ch-Gateway
25cac33837e06b11439193a3a0a2dc81b35bf686
[ "MIT" ]
134
2016-05-19T02:40:20.000Z
2022-03-18T11:32:32.000Z
// ArduinoJson - arduinojson.org // Copyright Benoit Blanchon 2014-2020 // MIT License #pragma once #include <ArduinoJson/Collection/CollectionData.hpp> namespace ARDUINOJSON_NAMESPACE { template <typename Visitor> void objectAccept(const CollectionData *obj, Visitor &visitor) { if (obj) visitor.visitObject(*...
24.038462
80
0.7064
shybzzz
66dca17d5f818dd022cb1ee1a201aba82c08af48
1,848
cpp
C++
src/src/NodeValue/Type.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
3
2019-04-08T17:34:19.000Z
2020-01-03T04:47:06.000Z
src/src/NodeValue/Type.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
4
2020-04-19T22:09:06.000Z
2020-11-06T15:47:08.000Z
src/src/NodeValue/Type.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
null
null
null
#include "Config/LoggerConfigLang.h" #include "Symbol.h" #include "Type.h" #include "Service/SymbolTable.h" #include "Service/TypeCrosser/TypeCrossExpression.h" #include "Runtime/Service/ScriptTypeSerializer.h" SKA_LOGC_CONFIG(ska::LogLevel::Disabled, ska::Type) ska::Type ska::Type::crossTypes(const TypeCrosser& cro...
28
111
0.687229
Scorbutics
66dffa219e24da14812ed15dee516e225071835e
222
cpp
C++
src/Modules/MainAppModule/MainAppModule.cpp
Di-Strix/MaterializeLayout
4cf1b4c696c961b4909cb1e149e3bef44310a145
[ "MIT" ]
1
2021-07-25T08:35:08.000Z
2021-07-25T08:35:08.000Z
src/Modules/MainAppModule/MainAppModule.cpp
Di-Strix/MaterializeLayout
4cf1b4c696c961b4909cb1e149e3bef44310a145
[ "MIT" ]
null
null
null
src/Modules/MainAppModule/MainAppModule.cpp
Di-Strix/MaterializeLayout
4cf1b4c696c961b4909cb1e149e3bef44310a145
[ "MIT" ]
null
null
null
#include "MainAppModule.h" MaterializeLayoutModule getMainAppModule() { return { { "", 0, 0 }, { "f6cc125703de810dcfc41a47649d9dbe", APPLICATION_JS, APPLICATION_JS_LENGTH } }; }
17.076923
42
0.608108
Di-Strix
66e1dd2914210b3df93e7f9f168b7eace86e22d7
6,257
cpp
C++
src/oxtra/dispatcher/dispatcher.cpp
oxtra/oxtra
cd538062869bfe68fc8552604c22334589d7380c
[ "BSD-3-Clause" ]
9
2019-10-22T19:44:25.000Z
2021-05-02T17:47:14.000Z
src/oxtra/dispatcher/dispatcher.cpp
oxtra/oxtra
cd538062869bfe68fc8552604c22334589d7380c
[ "BSD-3-Clause" ]
1
2020-11-16T20:06:14.000Z
2020-11-16T20:06:14.000Z
src/oxtra/dispatcher/dispatcher.cpp
oxtra/oxtra
cd538062869bfe68fc8552604c22334589d7380c
[ "BSD-3-Clause" ]
2
2020-11-16T17:05:47.000Z
2021-05-02T17:47:16.000Z
#include "oxtra/dispatcher/dispatcher.h" #include "oxtra/dispatcher/syscalls.h" #include "execution_context.h" #include "oxtra/debugger/debugger.h" #include "oxtra/logger/logger.h" #include "elf.h" #include <cstring> using namespace dispatcher; using namespace codegen; using namespace utils; Dispatcher::Dispatcher(c...
38.863354
124
0.728464
oxtra
66e46613f997a1dfa1e0a4714876a343eb4317d9
4,066
hpp
C++
src/Evolution/Systems/CurvedScalarWave/TimeDerivative.hpp
kidder/spectre
97ae95f72320f9f67895d3303824e64de6fd9077
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Evolution/Systems/CurvedScalarWave/TimeDerivative.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Evolution/Systems/CurvedScalarWave/TimeDerivative.hpp
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. #pragma once #include <cstddef> #include "DataStructures/Tensor/TypeAliases.hpp" #include "Evolution/Systems/CurvedScalarWave/Characteristics.hpp" #include "Evolution/Systems/CurvedScalarWave/Tags.hpp" #include "NumericalAlgorithms/LinearOperators...
41.489796
78
0.679538
kidder
66e5f1e085c8cfe167976c28e1c9c9a6b36b919d
6,484
hpp
C++
include/sharpen/ByteBuffer.hpp
KnownSpace/Sharpen
28c6a7c430b6eeb37eb8d554859321a2bee43776
[ "MIT" ]
13
2020-10-25T04:02:07.000Z
2022-03-29T13:21:30.000Z
include/sharpen/ByteBuffer.hpp
KnownSpace/Sharpen
28c6a7c430b6eeb37eb8d554859321a2bee43776
[ "MIT" ]
18
2020-10-09T04:51:03.000Z
2022-03-01T06:24:23.000Z
include/sharpen/ByteBuffer.hpp
KnownSpace/Sharpen
28c6a7c430b6eeb37eb8d554859321a2bee43776
[ "MIT" ]
7
2020-10-23T04:25:28.000Z
2022-03-23T06:52:39.000Z
#pragma once #ifndef _SHARPEN_BYTEBUFFER_HPP #define _SHARPEN_BYTEBUFFER_HPP #include <vector> #include <algorithm> #include <type_traits> #include "Noncopyable.hpp" #include "TypeDef.hpp" #include "BufferOps.hpp" namespace sharpen { class ByteBuffer { using Vector = std::vector<sharpen::Char>; ...
25.427451
124
0.579426
KnownSpace
66e6a627ad1f5c25ab6c3bdf4b5e5549dc65a566
582
cpp
C++
CCC/16_S2.cpp
juneharold/USACO
a96b54f68e7247c61044f3c0d9e7260952c508e2
[ "MIT" ]
null
null
null
CCC/16_S2.cpp
juneharold/USACO
a96b54f68e7247c61044f3c0d9e7260952c508e2
[ "MIT" ]
null
null
null
CCC/16_S2.cpp
juneharold/USACO
a96b54f68e7247c61044f3c0d9e7260952c508e2
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; int Q, N, A[105], B[105]; void find_max() { int ret=0; for (int i=0; i<N; i++) { int speed=max(A[i], B[N-1-i]); ret+=speed; } cout << ret; } void find_min() { int ret=0; for (int i=0; i<N; i++) { int speed=m...
16.166667
40
0.455326
juneharold
66e7501d1dc224968c7ff05df35a26b7bd63769f
787
cpp
C++
lw/net/router_test.cpp
LifeWanted/liblw
af8e08c47cb8aa7542eb2bef9fe09b7a0b44fed8
[ "MIT" ]
36
2015-10-04T15:05:21.000Z
2022-01-30T07:18:36.000Z
lw/net/router_test.cpp
LifeWanted/liblw
af8e08c47cb8aa7542eb2bef9fe09b7a0b44fed8
[ "MIT" ]
8
2017-03-20T12:28:15.000Z
2021-02-24T20:40:45.000Z
lw/net/router_test.cpp
LifeWanted/liblw
af8e08c47cb8aa7542eb2bef9fe09b7a0b44fed8
[ "MIT" ]
6
2017-09-25T13:50:03.000Z
2021-01-16T00:01:44.000Z
#include "lw/net/router.h" #include <memory> #include "gtest/gtest.h" #include "lw/co/task.h" #include "lw/io/co/co.h" namespace lw::net { namespace { class TestRouter: public Router { public: void attach_routes() override {}; co::Task run(std::unique_ptr<io::CoStream> conn) override { co_return; }; std...
20.179487
70
0.711563
LifeWanted
66e8d236cea32fd16ecaaab843b4b44f5376d3b3
5,137
cpp
C++
bootstrap/frontend/src/ILemitter.cpp
rdrpenguin04/Community-Compiler
3e1909555930aa6e91916a3b186f17a88dbe5aae
[ "MIT" ]
18
2018-04-30T01:42:34.000Z
2019-07-26T08:17:22.000Z
bootstrap/frontend/src/ILemitter.cpp
thebennybox-Community-Compiler-Project/Community-Compiler
08c92b91ae33667b5fa7a6c47db0aa5dc6b0c59c
[ "MIT" ]
52
2018-04-27T19:00:09.000Z
2018-08-20T08:37:04.000Z
bootstrap/frontend/src/ILemitter.cpp
thebennybox-Community-Compiler-Project/Community-Compiler
08c92b91ae33667b5fa7a6c47db0aa5dc6b0c59c
[ "MIT" ]
11
2018-04-28T10:50:18.000Z
2020-08-28T05:35:53.000Z
#include "ILemitter.h" void ILemitter::remove_last() { stream.pop_back(); } void ILemitter::no_operation() { w(NOOP); } void ILemitter::push_u8(uint8_t x) { w(PU08); w(x); } void ILemitter::push_u16(uint16_t x) { w(PU16); w(x); } void ILemitter::push_u32(uint32_t x) { w(PU32); w(x);...
14.269444
67
0.600545
rdrpenguin04
66ee8f7dd3d4f519d3c0b19f5b02ed1bda03b25a
616
cpp
C++
malloc.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
1
2021-04-27T18:23:05.000Z
2021-04-27T18:23:05.000Z
malloc.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
null
null
null
malloc.cpp
rsds8540/cpp-solved-problems
cbd63e0743d7653d8e06401026c16aa1dd5f775b
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int* ptr; int n; cout<<"Enter the size: "; cin>>n; ptr = (int*) malloc(n*sizeof(int));//syntax of malloc // for (int i = 0; i < n; i++) // { // cout<<"Enter the value no. "<<i<<" of this dynamic array: "; // // cin>>...
22.814815
121
0.483766
rsds8540
66eed6d1e3535e2e46d15d0b372e704d4dff0b51
1,006
hpp
C++
include/metal/number/less.hpp
brunocodutra/MPL2
9db9b403e58e0be0bbd295ff64f01e700965f25d
[ "MIT" ]
320
2015-09-28T19:55:56.000Z
2022-03-09T03:00:23.000Z
include/metal/number/less.hpp
brunocodutra/MPL2
9db9b403e58e0be0bbd295ff64f01e700965f25d
[ "MIT" ]
80
2015-09-09T16:45:55.000Z
2021-08-08T21:06:00.000Z
include/metal/number/less.hpp
brunocodutra/MPL2
9db9b403e58e0be0bbd295ff64f01e700965f25d
[ "MIT" ]
26
2016-02-29T16:16:37.000Z
2020-12-14T05:49:24.000Z
#ifndef METAL_NUMBER_LESS_HPP #define METAL_NUMBER_LESS_HPP #include "../config.hpp" namespace metal { /// \cond namespace detail { template <class x, class y> struct _less; } /// \endcond /// \ingroup number /// /// ### Description /// Checks whether a \number is less than another. /// /// ### Usage /// For...
17.344828
58
0.582505
brunocodutra
66efb614ed9846e819bad47581d810cca7177af3
1,914
cpp
C++
src/core/binary_reader.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
src/core/binary_reader.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
src/core/binary_reader.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
#include "core/binary_reader.hpp" #include "core/reader.h" #include <vector> using namespace rive; BinaryReader::BinaryReader(uint8_t* bytes, size_t length) : m_Position(bytes), m_End(bytes + length), m_Overflowed(false), m_Length(length) { } bool BinaryReader::reachedEnd() const { return m_Position...
17.4
73
0.6907
hermet
66f0a1b629c786aecc7384f340daf9fd20d1b6fb
2,492
inl
C++
Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Types/Polynomial.inl
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Types/Polynomial.inl
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Types/Polynomial.inl
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
#ifndef RS_POLYNOMIAL_INL #define RS_POLYNOMIAL_INL using namespace RSLib; // construction/destruction: template<class T> rsPolynomial<T>::rsPolynomial(T *coeffs, int order) { N = order; a = new T[N+1]; for(int n = 0; n <= N; n++) a[n] = coeffs[n]; } template<class T> rsPolynomial<T>::rsPolynomial(const r...
20.42623
74
0.668539
RobinSchmidt
66f297c502b00dc6faacbfe094c9821721caf43f
4,992
cpp
C++
tests/MobileNetDatabase.cpp
Air000/armnn_s32v
ec3ee60825d6b7642a70987c4911944cef7a3ee6
[ "MIT" ]
1
2019-03-19T08:44:28.000Z
2019-03-19T08:44:28.000Z
tests/MobileNetDatabase.cpp
Air000/armnn_s32v
ec3ee60825d6b7642a70987c4911944cef7a3ee6
[ "MIT" ]
null
null
null
tests/MobileNetDatabase.cpp
Air000/armnn_s32v
ec3ee60825d6b7642a70987c4911944cef7a3ee6
[ "MIT" ]
1
2019-10-11T05:58:56.000Z
2019-10-11T05:58:56.000Z
// // Copyright © 2017 Arm Ltd. All rights reserved. // See LICENSE file in the project root for full license information. // #include "InferenceTestImage.hpp" #include "MobileNetDatabase.hpp" #include <boost/numeric/conversion/cast.hpp> #include <boost/assert.hpp> #include <boost/format.hpp> #include <iostream> #inc...
37.253731
108
0.636018
Air000
66f38e2a9da92b3deea2630f2b1a182d24c482fb
1,501
cpp
C++
src/GraphicsInstance.cpp
LuisHsu/Assignment_4
1735738d3d523d9c3a007d9fb471f121071e75fe
[ "BSD-3-Clause" ]
null
null
null
src/GraphicsInstance.cpp
LuisHsu/Assignment_4
1735738d3d523d9c3a007d9fb471f121071e75fe
[ "BSD-3-Clause" ]
null
null
null
src/GraphicsInstance.cpp
LuisHsu/Assignment_4
1735738d3d523d9c3a007d9fb471f121071e75fe
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright 2020 Luis Hsu. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ #include <GraphicsInstance.hpp> #include <iostream> #include <stdexcept> #include <vector> GraphicsInstance::GraphicsInstance(){ // Create instance ...
33.355556
80
0.685543
LuisHsu
66f8f3213d7ef68a96ba325935b779269ba119d4
122
cc
C++
src/game/Utils/Text.cc
FluffyQuack/ja2-stracciatella
59781890986dc5360ed4b148b83836c029121d5f
[ "BSD-Source-Code" ]
346
2016-02-16T11:17:25.000Z
2022-03-28T18:18:14.000Z
src/game/Utils/Text.cc
FluffyQuack/ja2-stracciatella
59781890986dc5360ed4b148b83836c029121d5f
[ "BSD-Source-Code" ]
1,119
2016-02-14T23:19:56.000Z
2022-03-31T21:57:58.000Z
src/game/Utils/Text.cc
FluffyQuack/ja2-stracciatella
59781890986dc5360ed4b148b83836c029121d5f
[ "BSD-Source-Code" ]
90
2016-02-17T22:17:11.000Z
2022-03-12T11:59:56.000Z
#include "Text.h" #include <string_theory/string> ST::string ItemNames[MAXITEMS]; ST::string ShortItemNames[MAXITEMS];
15.25
36
0.762295
FluffyQuack
66f9a3a8b94e46f562cc37170cf59e1ba5393349
7,077
cpp
C++
ql/math/matrix.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
ql/math/matrix.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
2
2017-07-05T09:20:13.000Z
2019-10-31T12:06:51.000Z
ql/math/matrix.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2017 Hao Zhang Copyright (C) 2007, 2008 Klaus Spanderen This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free s...
34.691176
131
0.57157
haozhangphd
0f084c3f8b0fb7b5eecdbb81413c12e677fcf17e
551
hpp
C++
libcaf_io/caf/io/connection_helper.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
2,517
2015-01-04T22:19:43.000Z
2022-03-31T12:20:48.000Z
libcaf_io/caf/io/connection_helper.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
894
2015-01-07T14:21:21.000Z
2022-03-30T06:37:18.000Z
libcaf_io/caf/io/connection_helper.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
570
2015-01-21T18:59:33.000Z
2022-03-31T19:00:02.000Z
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include "caf/detail/io_export.hpp" #include "caf/fwd.hpp" namespace caf::i...
27.55
77
0.767695
seewpx
0f0b93b7d2e0d6d94de1ad4a464e7691c84d46f4
5,799
cpp
C++
FragExt.Lib/SpinLock.cpp
jeremy-boschen/FragExt
c340eecf7cd5992001db1b4a404bcaec09523ba4
[ "Zlib" ]
null
null
null
FragExt.Lib/SpinLock.cpp
jeremy-boschen/FragExt
c340eecf7cd5992001db1b4a404bcaec09523ba4
[ "Zlib" ]
null
null
null
FragExt.Lib/SpinLock.cpp
jeremy-boschen/FragExt
c340eecf7cd5992001db1b4a404bcaec09523ba4
[ "Zlib" ]
2
2020-03-03T12:55:17.000Z
2022-03-07T15:37:33.000Z
/* FragExt - Shell extension for providing file fragmentation * information. * * Copyright (C) 2004-2009 Jeremy Boschen. All rights reserved. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of thi...
23.196
114
0.60407
jeremy-boschen
0f0ce9451345fc882729fe2630d581d3433607e5
4,271
cpp
C++
server.cpp
NewtonVan/SuperDuperDnsServer
0c52094d85b6a7c380e3667dd89b4b6ba999d8b1
[ "MIT" ]
1
2020-07-03T07:29:25.000Z
2020-07-03T07:29:25.000Z
server.cpp
NewtonVan/SuperDuperDnsServer
0c52094d85b6a7c380e3667dd89b4b6ba999d8b1
[ "MIT" ]
null
null
null
server.cpp
NewtonVan/SuperDuperDnsServer
0c52094d85b6a7c380e3667dd89b4b6ba999d8b1
[ "MIT" ]
null
null
null
// // Created by Newton on 2020/6/6. // #include "SuperDuperLib.h" #include "server.h" using namespace dns; Server::Server() { #ifdef _WIN32 m_resolver.init(".\\server.cache"); m_resolver.configure(".\\upperproxy.confg"); #else m_resolver.init("./server.cache"); m_resolver.configure("./upperproxy....
29.455172
108
0.579958
NewtonVan
0f0e12858f753e8e7f78cd8acbf11efe56757a71
7,491
cpp
C++
implementation/cpl_guicommon/cpl_frameobject/cpl_dynamicloader.cpp
cayprogram/cpl_main
9cc8f4c8cf33465506bdb18ddc84340992b16494
[ "MIT" ]
null
null
null
implementation/cpl_guicommon/cpl_frameobject/cpl_dynamicloader.cpp
cayprogram/cpl_main
9cc8f4c8cf33465506bdb18ddc84340992b16494
[ "MIT" ]
null
null
null
implementation/cpl_guicommon/cpl_frameobject/cpl_dynamicloader.cpp
cayprogram/cpl_main
9cc8f4c8cf33465506bdb18ddc84340992b16494
[ "MIT" ]
null
null
null
#include "cpl_frameobjectincludes.h" //----------------------------------------------------------------------------- // class cpl_DynamicLoader //----------------------------------------------------------------------------- // cpl_DynamicLoader* cpl_DynamicLoader::New() { return new cpl_DynamicLoader; } //-------...
31.343096
80
0.453878
cayprogram
0f0e3919b000882168093bcbdb3155247df62e2d
9,835
cpp
C++
src/server/scripts/Kalimdor/HallsOfOrigination/boss_isiset.cpp
Arkania/ArkCORE
2484554a7b54be0b652f9dc3c5a8beba79df9fbf
[ "OpenSSL" ]
42
2015-01-05T10:00:07.000Z
2022-02-18T14:51:33.000Z
src/server/scripts/Kalimdor/HallsOfOrigination/boss_isiset.cpp
superllout/WOW
3d0eeb940cccf8ab7854259172c6d75a85ee4f7d
[ "OpenSSL" ]
null
null
null
src/server/scripts/Kalimdor/HallsOfOrigination/boss_isiset.cpp
superllout/WOW
3d0eeb940cccf8ab7854259172c6d75a85ee4f7d
[ "OpenSSL" ]
31
2015-01-09T02:04:29.000Z
2021-09-01T13:20:20.000Z
/* * Copyright (C) 2011 True Blood <http://www.trueblood-servers.com/> * By Asardial * * Copyright (C) 2011 - 2013 ArkCORE <http://www.arkania.net/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software...
34.031142
145
0.516014
Arkania
0f14be28932ba2c02a33791d56c2bda7265f7f96
1,037
cpp
C++
solutions/1032.stream-of-characters.251031467.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/1032.stream-of-characters.251031467.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/1032.stream-of-characters.251031467.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
struct Node { bool isWord; vector<Node *> edges; Node() : isWord(false), edges(26, NULL) {} }; void addWord(string &s, Node *root) { reverse(s.begin(), s.end()); for (char c : s) { if (!root->edges[c - 'a']) root->edges[c - 'a'] = new Node(); root = root->edges[c - 'a']; } root->isWord =...
17.87931
69
0.56027
satu0king
0f16d9d46f35b4f29cb686ca5646be2f26945c8d
3,788
cpp
C++
src/rollinghashcpp/example5.cpp
zhaoxiaofei/binhash
78e0d465757b93f02cd2d6545717be9e78f93f95
[ "Apache-2.0" ]
35
2018-07-24T13:59:24.000Z
2022-03-15T15:06:40.000Z
src/rollinghashcpp/example5.cpp
zhaoxiaofei/binhash
78e0d465757b93f02cd2d6545717be9e78f93f95
[ "Apache-2.0" ]
6
2018-11-09T20:15:28.000Z
2021-03-04T14:38:01.000Z
src/rollinghashcpp/example5.cpp
zhaoxiaofei/binhash
78e0d465757b93f02cd2d6545717be9e78f93f95
[ "Apache-2.0" ]
6
2018-07-24T15:08:33.000Z
2019-07-05T11:52:05.000Z
#include <string> #include <memory> #include <cassert> #include <iostream> #include "cyclichash.h" /* An issue is application-specific and has to do with the nature of DNA. Even though we usually represent DNA as a string of characters (such as `GATTACA`), this is really only half the story. DNA is double str...
35.735849
98
0.661035
zhaoxiaofei
0f17e95f2e07ba885e2293338bac7d09e6861d87
4,781
hpp
C++
libraries/chain/include/deip/chain/services/dbs_research_token_sale.hpp
DEIPworld/deip-chain
d3fdcfdde179f700156156ea87522a807ec52532
[ "MIT" ]
1
2021-08-16T12:44:43.000Z
2021-08-16T12:44:43.000Z
libraries/chain/include/deip/chain/services/dbs_research_token_sale.hpp
DEIPworld/deip-chain
d3fdcfdde179f700156156ea87522a807ec52532
[ "MIT" ]
null
null
null
libraries/chain/include/deip/chain/services/dbs_research_token_sale.hpp
DEIPworld/deip-chain
d3fdcfdde179f700156156ea87522a807ec52532
[ "MIT" ]
2
2021-08-16T12:44:46.000Z
2021-12-31T17:09:45.000Z
#pragma once #include "dbs_base_impl.hpp" #include <vector> #include <set> #include <functional> #include <deip/chain/schema/deip_object_types.hpp> #include <deip/chain/schema/research_token_sale_object.hpp> #include <deip/chain/schema/research_object.hpp> namespace deip { namespace chain { class dbs_research_token...
55.593023
247
0.735202
DEIPworld
0f1a7f63d3e2f2791457235cf1403d182871fbc0
7,950
cpp
C++
ngraph/core/src/op/avg_pool.cpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
1
2021-03-16T17:40:26.000Z
2021-03-16T17:40:26.000Z
ngraph/core/src/op/avg_pool.cpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
42
2020-11-23T08:09:57.000Z
2022-02-21T13:03:34.000Z
ngraph/core/src/op/avg_pool.cpp
tsocha/openvino
3081fac7581933568b496a3c4e744d1cee481619
[ "Apache-2.0" ]
4
2021-04-02T08:48:38.000Z
2021-07-01T06:59:02.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ngraph/op/avg_pool.hpp" #include "itt.hpp" #include "ngraph/attribute_visitor.hpp" #include "ngraph/graph_util.hpp" #include "ngraph/validation_util.hpp" using namespace std; using namespace ngraph; // *** AvgPool OP SE...
37.857143
113
0.55195
uikilin100
0f1df7e865699da4e50389ddce8587348b1afa92
65
cpp
C++
core/GUI/Selector.cpp
ferluht/pocketdaw
0e40b32191e431cde54cd5944611c4b5b293ea68
[ "BSD-2-Clause" ]
null
null
null
core/GUI/Selector.cpp
ferluht/pocketdaw
0e40b32191e431cde54cd5944611c4b5b293ea68
[ "BSD-2-Clause" ]
null
null
null
core/GUI/Selector.cpp
ferluht/pocketdaw
0e40b32191e431cde54cd5944611c4b5b293ea68
[ "BSD-2-Clause" ]
1
2022-03-29T19:45:51.000Z
2022-03-29T19:45:51.000Z
// // Created by ibelikov on 24.12.19. // #include "Selector.h"
10.833333
35
0.630769
ferluht
0f21beff2666f406d346e39a820ebfd924317262
5,808
hpp
C++
include/Mono/Math/Prime/PrimalityTest_.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/Mono/Math/Prime/PrimalityTest_.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/Mono/Math/Prime/PrimalityTest_.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.MulticastDelegate #include "...
55.314286
295
0.737259
v0idp
0f22e82b232259f8c25d76261756ada321235c48
1,054
cpp
C++
ch04/e4-11.cpp
nanonashy/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
3
2021-12-17T17:25:18.000Z
2022-03-02T15:52:23.000Z
ch04/e4-11.cpp
nashinium/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
1
2020-04-22T07:16:34.000Z
2020-04-22T10:04:04.000Z
ch04/e4-11.cpp
nashinium/PPPUCpp2ndJP
b829867e9e21bf59d9c5ea6c2fbe96bb03597301
[ "MIT" ]
1
2020-04-22T08:13:51.000Z
2020-04-22T08:13:51.000Z
// 問題文: // 1~100の素数をすべて見つけ出すプログラムを作成する。そのための方法の1つは、素数が順番 // に配置された vector // を使用して、数字が素数かどうかをチェックする関数を記述することだ。 // つまり、この vector が primes // という名前であるとすれば、primes[0]==2、primes[1]==3、 primes[2]==5 // などを使用して、数字がそれよりも小さい素数で割り切れるかどうかをチェックする。 // 次に、1~100の各数字が素数かどうかをチェックし、検出された素数を vector // に格納する // グループを記述する...
24.511628
57
0.59203
nanonashy
0f23f885a5b4a6b8e03fe9db68619288ce98e85f
574
cpp
C++
ch06/ex6_21.cpp
jl1987/Cpp-Primer
028dcb44318667bb8713c82ce0c86676a3dcda27
[ "CC0-1.0" ]
1
2019-05-02T19:19:11.000Z
2019-05-02T19:19:11.000Z
ch06/ex6_21.cpp
jl1987/Cpp-Primer
028dcb44318667bb8713c82ce0c86676a3dcda27
[ "CC0-1.0" ]
null
null
null
ch06/ex6_21.cpp
jl1987/Cpp-Primer
028dcb44318667bb8713c82ce0c86676a3dcda27
[ "CC0-1.0" ]
null
null
null
//! @Alan //! //! Exercise 6.21: //! Write a function that takes an int and a pointer to an int and //! returns the larger of the int value or the value to which the //! pointer points. What type should you use for the pointer? //! #include <iostream> #include <string> #include <vector> using namespace std; int La...
14
66
0.601045
jl1987
0f24ea4784fa4696146c038cb3f5eaa6dca973f7
21,864
cpp
C++
utils/vpc/vpc/solutiongenerator_win32.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/utils/vpc/vpc/solutiongenerator_win32.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/utils/vpc/vpc/solutiongenerator_win32.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
//===================== Copyright (c) Valve Corporation. All Rights Reserved. ====================== // // Purpose: // //================================================================================================== #include "vpc.h" #include "dependencies.h" #include "tier1/checksum_md5.h" struct SolutionFolderD...
34.00311
234
0.665935
DannyParker0001
0f256d75fd48b5724c37e77dbc2d6a4dac175b90
29,478
cpp
C++
src/game/client/tf/vgui/tf_deathmatchscoreboard.cpp
Menoly12/Yet-Another-Deathmatch-Mod
8f532c8ba9cacdeedc2407b67926a63d19465603
[ "Unlicense" ]
127
2015-01-07T02:28:55.000Z
2022-03-29T21:30:32.000Z
src/game/client/tf/vgui/tf_deathmatchscoreboard.cpp
Snow150/TF2Classic
d070129a436a8a070659f0267f6e63564a519a47
[ "Unlicense" ]
155
2015-01-09T12:54:20.000Z
2022-03-14T21:11:11.000Z
src/game/client/tf/vgui/tf_deathmatchscoreboard.cpp
Snow150/TF2Classic
d070129a436a8a070659f0267f6e63564a519a47
[ "Unlicense" ]
106
2015-01-07T03:38:13.000Z
2022-03-19T22:42:19.000Z
//========= Copyright © 1996-2006, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include <tier1/fmtstr.h> #include <vgui_controls/Label.h> #include <vgui_controls/Button...
33.121348
164
0.621582
Menoly12
0f265f6779c0fa8f54fe1197709f8ef4f11d5a61
82,955
cc
C++
zircon/system/utest/fidl/decoding_tests.cc
sunshinewithmoonlight/fuchsia-2003
02b23026dc7fecbad063210d5d45fa1b17feeb8b
[ "BSD-3-Clause" ]
null
null
null
zircon/system/utest/fidl/decoding_tests.cc
sunshinewithmoonlight/fuchsia-2003
02b23026dc7fecbad063210d5d45fa1b17feeb8b
[ "BSD-3-Clause" ]
null
null
null
zircon/system/utest/fidl/decoding_tests.cc
sunshinewithmoonlight/fuchsia-2003
02b23026dc7fecbad063210d5d45fa1b17feeb8b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <lib/fidl/coding.h> #include <lib/zx/eventpair.h> #include <stddef.h> #include <zircon/syscalls.h> #include <memory> #include <unittest/unittest...
38.637634
100
0.75858
sunshinewithmoonlight
0f2c28c2da293c95335ad244c303c823214bf393
10,657
cpp
C++
examples/Cpp/MultiContext/Example.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
null
null
null
examples/Cpp/MultiContext/Example.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
null
null
null
examples/Cpp/MultiContext/Example.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
null
null
null
/* * Example.cpp (Example_MultiContext) * * This file is part of the "LLGL" project (Copyright (c) 2015-2019 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include <ExampleBase.h> #include <LLGL/Application.h> int main(int argc, char* argv[]) { try { ExampleBase::Initialize()...
39.6171
115
0.573426
beldenfox
0f2da6cae69cb90e5807084f33aa3711fd13245c
30,781
cpp
C++
examples/osg/osgAtlasPuppet.cpp
axeisghost/DART6motionBlur
23387b0422bf95b75a113dbf5facc5f10d4a3305
[ "BSD-2-Clause" ]
4
2021-02-20T15:59:42.000Z
2022-03-25T04:04:21.000Z
examples/osg/osgAtlasPuppet.cpp
axeisghost/DART6motionBlur
23387b0422bf95b75a113dbf5facc5f10d4a3305
[ "BSD-2-Clause" ]
1
2021-04-14T04:12:48.000Z
2021-04-14T04:12:48.000Z
examples/osg/osgAtlasPuppet.cpp
axeisghost/DART6motionBlur
23387b0422bf95b75a113dbf5facc5f10d4a3305
[ "BSD-2-Clause" ]
2
2019-10-29T12:41:16.000Z
2021-03-22T16:38:27.000Z
/* * Copyright (c) 2015-2016, Humanoid Lab, Georgia Tech Research Corporation * Copyright (c) 2015-2017, Graphics Lab, Georgia Tech Research Corporation * Copyright (c) 2016-2017, Personal Robotics Lab, Carnegie Mellon University * All rights reserved. * * This file is provided under the following "BSD-style" Lic...
34.012155
102
0.659758
axeisghost
0f2e7a17e83c1ea4333eb74dbf13ebec95ac4634
14,359
cpp
C++
header_files/parameters.cpp
shahaneshantanu/memphys
1b95afa505808f302d2dd4689faa45bb6480e8d8
[ "MIT" ]
null
null
null
header_files/parameters.cpp
shahaneshantanu/memphys
1b95afa505808f302d2dd4689faa45bb6480e8d8
[ "MIT" ]
null
null
null
header_files/parameters.cpp
shahaneshantanu/memphys
1b95afa505808f302d2dd4689faa45bb6480e8d8
[ "MIT" ]
1
2022-03-07T00:32:37.000Z
2022-03-07T00:32:37.000Z
//Author: Dr. Shantanu Shahane #include <stdio.h> #include <math.h> #include <stdlib.h> #include <time.h> #include <float.h> #include <string.h> #include <iostream> #include <vector> #include <algorithm> #include "class.hpp" #include <unistd.h> #include <limits.h> #include <Eigen/Dense> #include <unsupported/Eigen/Spar...
48.674576
290
0.622954
shahaneshantanu
0f2fdea1345bc464c9bdb2b115885013fafec6fc
623
hpp
C++
include/react/detail/either.hpp
ldionne/react
57b51d179661a9c21bc1f987d124722ac36399ac
[ "BSL-1.0" ]
6
2015-06-05T17:48:12.000Z
2020-10-04T03:45:18.000Z
include/react/detail/either.hpp
ldionne/react
57b51d179661a9c21bc1f987d124722ac36399ac
[ "BSL-1.0" ]
1
2021-06-23T05:51:46.000Z
2021-06-23T05:51:46.000Z
include/react/detail/either.hpp
ldionne/react
57b51d179661a9c21bc1f987d124722ac36399ac
[ "BSL-1.0" ]
2
2016-05-06T06:55:40.000Z
2020-03-25T19:19:14.000Z
/*! * @file * Defines `react::detail::either`. */ #ifndef REACT_DETAIL_EITHER_HPP #define REACT_DETAIL_EITHER_HPP namespace react { namespace either_detail { template <typename Left, typename Right> auto either_impl(typename Left::type*) -> Left; template <typename Left, typename Right> auto eithe...
23.074074
68
0.704655
ldionne
0f309eef930ac51ebd33a7739e312482a967d776
4,567
cc
C++
test/tcp_client_test.cc
chengchenwish/evpp
750f87eb7c0f0313c85e280f41ba0f424ad455ce
[ "BSD-3-Clause" ]
3,189
2017-03-04T02:56:39.000Z
2022-03-31T16:06:08.000Z
test/tcp_client_test.cc
chengchenwish/evpp
750f87eb7c0f0313c85e280f41ba0f424ad455ce
[ "BSD-3-Clause" ]
259
2017-03-07T02:01:25.000Z
2022-03-27T09:16:19.000Z
test/tcp_client_test.cc
chengchenwish/evpp
750f87eb7c0f0313c85e280f41ba0f424ad455ce
[ "BSD-3-Clause" ]
990
2017-03-06T03:55:43.000Z
2022-03-24T10:50:18.000Z
#include "test_common.h" #include <evpp/libevent.h> #include <evpp/event_watcher.h> #include <evpp/event_loop.h> #include <evpp/event_loop_thread.h> #include <evpp/tcp_server.h> #include <evpp/buffer.h> #include <evpp/tcp_conn.h> #include <evpp/tcp_client.h> TEST_UNIT(testTCPClientConnectFailed) { std::shared_ptr...
33.580882
117
0.631706
chengchenwish
0f3542ebd5f79b9e21004f8d57726f8f5d30619a
369
hpp
C++
gearoenix/render/buffer/gx-rnd-buf-dynamic.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/render/buffer/gx-rnd-buf-dynamic.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/render/buffer/gx-rnd-buf-dynamic.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_RENDER_BUFFER_DYNAMIC_HPP #define GEAROENIX_RENDER_BUFFER_DYNAMIC_HPP #include "gx-rnd-buf-buffer.hpp" namespace gearoenix::render::buffer { class Dynamic : public Buffer { protected: Dynamic(const unsigned int s, engine::Engine* const e) noexcept : Buffer(s, e) { } public: vi...
21.705882
67
0.723577
Hossein-Noroozpour
0f38b2c5e0a7119a8cd7e2acf0fd6b9ad7c81e9a
2,482
cpp
C++
Error.cpp
dascenzo/MyDictionary
f258f987f05d58be0c0df6eec58eec6be0b441dc
[ "MIT" ]
1
2021-01-28T14:29:01.000Z
2021-01-28T14:29:01.000Z
Error.cpp
dascenzo/MyDictionary
f258f987f05d58be0c0df6eec58eec6be0b441dc
[ "MIT" ]
null
null
null
Error.cpp
dascenzo/MyDictionary
f258f987f05d58be0c0df6eec58eec6be0b441dc
[ "MIT" ]
null
null
null
#include "Error.h" #include <cstdio> MissingArgument::MissingArgument(Variant action, std::string_view option) noexcept : ActionMisuseNoShorthand(std::move(action)), m_option(option) { } const char* MissingArgument::option() const noexcept { return m_option; } InvalidArgument::InvalidArgument(Variant action, std::...
33.540541
109
0.763497
dascenzo
0f394b0de39f090d8d7e6278831746d78210eb93
168
cpp
C++
AdaLovelace2020/kipr/audio.cpp
AdaLovelace-Botball/Botball2020
c2cecbd40218e4434ceaf45a50651b35c575eb10
[ "MIT" ]
null
null
null
AdaLovelace2020/kipr/audio.cpp
AdaLovelace-Botball/Botball2020
c2cecbd40218e4434ceaf45a50651b35c575eb10
[ "MIT" ]
null
null
null
AdaLovelace2020/kipr/audio.cpp
AdaLovelace-Botball/Botball2020
c2cecbd40218e4434ceaf45a50651b35c575eb10
[ "MIT" ]
null
null
null
/* * audio.cpp * * Created on: Nov 13, 2015 * Author: Joshua Southerland */ #include "wallaby/audio.h" #include <cstdio> void beep() { printf("\a"); }
9.882353
34
0.577381
AdaLovelace-Botball
0f3ce89ccc8f77617da456671d594cd839868d8b
1,102
cpp
C++
EU4toV3/Source/Mappers/Titles/TitleMapping.cpp
Idhrendur/EU4toVic3
b29ba8e59a3bd14af11fb6b30f4626cde7264a4f
[ "MIT" ]
3
2018-12-23T17:04:15.000Z
2021-05-06T14:12:28.000Z
EU4toV2/Source/Mappers/Titles/TitleMapping.cpp
IhateTrains/EU4toVic2
061f5e1a0bc1a1f3b54bdfe471b501260149b56b
[ "MIT" ]
null
null
null
EU4toV2/Source/Mappers/Titles/TitleMapping.cpp
IhateTrains/EU4toVic2
061f5e1a0bc1a1f3b54bdfe471b501260149b56b
[ "MIT" ]
null
null
null
#include "TitleMapping.h" #include "ParserHelpers.h" #include "CommonRegexes.h" mappers::TitleMapping::TitleMapping(std::istream& theStream) { registerKeys(); parseStream(theStream); clearRegisteredKeywords(); } void mappers::TitleMapping::registerKeys() { registerKeyword("name", [this](const std::string& unused,...
30.611111
87
0.725045
Idhrendur
0f4023e200b5020fec5f29bb12ee6013d768d349
219
hpp
C++
Libraries/Graphics/Precompiled.hpp
jodavis42/ZilchShadersSamples
3c94d295b68ae2e81ece3b12f3a17fe7d59566de
[ "MIT" ]
1
2019-08-31T00:45:44.000Z
2019-08-31T00:45:44.000Z
Libraries/Graphics/Precompiled.hpp
jodavis42/ZilchShadersSamples
3c94d295b68ae2e81ece3b12f3a17fe7d59566de
[ "MIT" ]
2
2019-09-08T16:06:05.000Z
2019-09-08T16:06:58.000Z
Libraries/Graphics/Precompiled.hpp
jodavis42/ZilchShadersSamples
3c94d295b68ae2e81ece3b12f3a17fe7d59566de
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// Authors: Joshua Davis /////////////////////////////////////////////////////////////////////////////// #include "GraphicsStandard.hpp"
36.5
79
0.200913
jodavis42
0f436bec11e66a3506319833a0729ba0c27a96e9
1,262
cpp
C++
ch03/stringtest.cpp
dingqunfei/CppPrimerPamphlet
fee63cd05d0e3c6c01c42c08376797c993ffafde
[ "Apache-2.0" ]
null
null
null
ch03/stringtest.cpp
dingqunfei/CppPrimerPamphlet
fee63cd05d0e3c6c01c42c08376797c993ffafde
[ "Apache-2.0" ]
null
null
null
ch03/stringtest.cpp
dingqunfei/CppPrimerPamphlet
fee63cd05d0e3c6c01c42c08376797c993ffafde
[ "Apache-2.0" ]
null
null
null
/** * @file test.cpp * @brief * @author dqflying (dqflying@gmail.com) * @version 1.0 * @date 2020-06-03 * * @copyright Copyright (c) 2020 DQFLYING.INC * * @par 新增文件: * * * Date Version Author LISENCE * 2020-06-03 1.0 dqflying XXXXXXX * Description:...
18.028571
62
0.504754
dingqunfei
0f4528e7c75a7b5e9c084d1c2ee63de397ef07e7
3,006
cpp
C++
libs/graph/example/cycle_ratio_example.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/graph/example/cycle_ratio_example.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/graph/example/cycle_ratio_example.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
// Copyright (C) 2006-2009 Dmitry Bufistov and Andrey Parfenov // Use, modification and distribution is subject to 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 <cassert> #include <ctime> #include <boost/random/m...
35.785714
98
0.644045
zyiacas
0f4ae352650e1fa61883ecfca758ad4a99c6ef95
1,567
cpp
C++
android-31/java/time/format/SignStyle.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/time/format/SignStyle.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/time/format/SignStyle.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JArray.hpp" #include "../../../JString.hpp" #include "./SignStyle.hpp" namespace java::time::format { // Fields java::time::format::SignStyle SignStyle::ALWAYS() { return getStaticObjectField( "java.time.format.SignStyle", "ALWAYS", "Ljava/time/format/SignStyle;" ); } java::time::f...
21.175676
64
0.674537
YJBeetle
0f51b824b220cbc7eec4093f0be20bbfce17125b
8,423
cpp
C++
libtsuba/src/RDGCore.cpp
bozhiyou/katana
74aef79010f6db444b19e94bac28e8f7c8856338
[ "BSD-3-Clause" ]
null
null
null
libtsuba/src/RDGCore.cpp
bozhiyou/katana
74aef79010f6db444b19e94bac28e8f7c8856338
[ "BSD-3-Clause" ]
null
null
null
libtsuba/src/RDGCore.cpp
bozhiyou/katana
74aef79010f6db444b19e94bac28e8f7c8856338
[ "BSD-3-Clause" ]
null
null
null
#include "RDGCore.h" #include "RDGPartHeader.h" #include "katana/ArrowInterchange.h" #include "katana/Result.h" #include "tsuba/Errors.h" #include "tsuba/ParquetReader.h" namespace { katana::Result<void> UpsertProperties( const std::shared_ptr<arrow::Table>& props, std::shared_ptr<arrow::Table>* to_update, ...
33.424603
80
0.676244
bozhiyou
0f55ab3f42af11d94aaf4943bfce2266aeee7cde
708
cc
C++
tests/test_challenge.cc
thomasmarsh/monkey
de79536cad78371cf25ea0c26a492f700e2c92f8
[ "MIT" ]
6
2016-08-31T06:26:32.000Z
2022-02-10T23:28:29.000Z
tests/test_challenge.cc
thomasmarsh/monkey
de79536cad78371cf25ea0c26a492f700e2c92f8
[ "MIT" ]
1
2017-04-26T16:37:35.000Z
2017-04-26T16:37:35.000Z
tests/test_challenge.cc
thomasmarsh/monkey
de79536cad78371cf25ea0c26a492f700e2c92f8
[ "MIT" ]
null
null
null
#include "challenge.h" #include "log.h" #include "support/catch.hpp" TEST_CASE("initial challenge state good", "[challenge]") { Challenge c(4); REQUIRE(!c.finished()); } TEST_CASE("detect end of challenge", "[challenge]") { Challenge c(4); for (int i=0; i < 4; ++i) { c.round.pass(); c...
19.135135
58
0.526836
thomasmarsh
0f59b28fe549e8636334aa952a1738f96f72200d
16,807
cpp
C++
WDL/plush2/pl_make.cpp
badi91/iPlug2
e508e85060871cef4ff16c9bc80c503c375e0a14
[ "Zlib" ]
1,305
2018-07-28T08:48:47.000Z
2022-03-31T23:06:59.000Z
WDL/plush2/pl_make.cpp
badi91/iPlug2
e508e85060871cef4ff16c9bc80c503c375e0a14
[ "Zlib" ]
582
2019-01-01T15:37:55.000Z
2022-03-30T22:57:16.000Z
WDL/plush2/pl_make.cpp
badi91/iPlug2
e508e85060871cef4ff16c9bc80c503c375e0a14
[ "Zlib" ]
284
2018-10-17T22:16:26.000Z
2022-03-30T15:38:19.000Z
/****************************************************************************** Plush Version 1.2 make.c Object Primitives Copyright (c) 1996-2000, Justin Frankel ******************************************************************************* Notes: Most of these routines are highly unoptimized. They could all u...
31.239777
99
0.483906
badi91
0f5a9701adff5b6a3dee6e54845012ec6f29a095
12,202
hpp
C++
include/System/Xml/XmlProcessingInstruction.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Xml/XmlProcessingInstruction.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Xml/XmlProcessingInstruction.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Xml.XmlLinkedNode #include "...
54.231111
203
0.738158
v0idp
0f647838e6c007f41414050dcf4b34ee1314d066
3,035
cpp
C++
Source/AllProjects/AIUtils/CIDAI/CIDAI_BTNodeFactory.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/AIUtils/CIDAI/CIDAI_BTNodeFactory.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/AIUtils/CIDAI/CIDAI_BTNodeFactory.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDAI_BTNodeFactory.cpp // // AUTHOR: Dean Roddey // // CREATED: 12/07/2016 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opens...
28.101852
85
0.421417
MarkStega
0f65afef2866e9ba1e4dbcc08eac8a63ada40c4a
50,070
cc
C++
src/writer/spirv/builder_constructor_expression_test.cc
sunnyps/tint
22daca166bbc412345fc60d4f60646d6d2f3ada0
[ "Apache-2.0" ]
null
null
null
src/writer/spirv/builder_constructor_expression_test.cc
sunnyps/tint
22daca166bbc412345fc60d4f60646d6d2f3ada0
[ "Apache-2.0" ]
null
null
null
src/writer/spirv/builder_constructor_expression_test.cc
sunnyps/tint
22daca166bbc412345fc60d4f60646d6d2f3ada0
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Tint Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
26.919355
79
0.669762
sunnyps
0f6738ad200f86863aeebb2794c76ac05e98a1fa
1,877
cpp
C++
programs_v2/chapter_10/example_10_4/modules/motion_sensor/motion_sensor.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
2
2021-05-03T17:21:37.000Z
2021-06-08T08:32:07.000Z
programs_v2/chapter_10/example_10_4/modules/motion_sensor/motion_sensor.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
null
null
null
programs_v2/chapter_10/example_10_4/modules/motion_sensor/motion_sensor.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
2
2020-10-14T19:06:24.000Z
2021-06-08T08:32:09.000Z
//=====[Libraries]============================================================= #include "arm_book_lib.h" #include "motion_sensor.h" #include "pc_serial_com.h" //=====[Declaration of private defines]======================================== //=====[Declaration of private data types]==================================...
24.697368
79
0.602025
epernia
0f6b911cc3b29677a043042e76d2fa1857e8af88
6,756
cpp
C++
bolt/server/src/url_utils.cpp
gamunu/bolt
c1a2956f02656f3ec2c244486a816337126905ae
[ "Apache-2.0" ]
1
2022-03-06T09:23:56.000Z
2022-03-06T09:23:56.000Z
bolt/server/src/url_utils.cpp
gamunu/bolt
c1a2956f02656f3ec2c244486a816337126905ae
[ "Apache-2.0" ]
3
2021-04-23T18:12:20.000Z
2021-04-23T18:12:47.000Z
bolt/server/src/url_utils.cpp
gamunu/bolt
c1a2956f02656f3ec2c244486a816337126905ae
[ "Apache-2.0" ]
null
null
null
#include <url_utils.hpp> #include <boost/algorithm/string/split.hpp> #include <boost/algorithm/string/classification.hpp> #include <regex> #include <message_types.hpp> vector<string_t> UrlUtils::splitUri(const http_request& message) { return uri::split_path(uri::decode(message.relative_uri().path())); } /// <summary...
25.688213
191
0.658526
gamunu
0f71a13fe7bbca1b1dd842c861f5fe5fa5be9332
1,477
cpp
C++
Classes/Scenes/SplashScene.cpp
datakop/shipio
d24826d5477830a5563700574fafdf0ab686f47e
[ "MIT" ]
null
null
null
Classes/Scenes/SplashScene.cpp
datakop/shipio
d24826d5477830a5563700574fafdf0ab686f47e
[ "MIT" ]
null
null
null
Classes/Scenes/SplashScene.cpp
datakop/shipio
d24826d5477830a5563700574fafdf0ab686f47e
[ "MIT" ]
null
null
null
#include "SplashScene.h" #include "MainMenuScene.h" #include "Definitions.h" USING_NS_CC; Scene* SplashScene::createScene() { // 'scene' is an autorelease object auto scene = Scene::create(); // 'layer' is an autorelease object auto layer = SplashScene::create(); // add layer as a child to s...
26.375
110
0.665538
datakop
0f71a986d711e6e9509b65d72c3031303a12e523
7,256
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/gil/extension/numeric/sampler.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
153
2015-02-03T06:03:54.000Z
2022-03-20T15:06:34.000Z
ReactNativeFrontend/ios/Pods/boost/boost/gil/extension/numeric/sampler.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
429
2015-03-22T09:49:04.000Z
2022-03-28T08:32:08.000Z
ReactNativeFrontend/ios/Pods/boost/boost/gil/extension/numeric/sampler.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
215
2015-03-15T09:20:51.000Z
2022-03-30T12:40:07.000Z
// // Copyright 2005-2007 Adobe Systems Incorporated // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // #ifndef BOOST_GIL_EXTENSION_NUMERIC_SAMPLER_HPP #define BOOST_GIL_EXTENSION_NUMERIC_SAMPLER_HPP #include <b...
38.391534
153
0.643881
Harshitha91
0f72fe0fafe806b12360e88900c0d937b34f04ca
1,567
cpp
C++
Sparky-core/src/sp/graphics/shaders/ShaderFactory.cpp
LifeOrGame/Sparky
2ebcba2613b47011a224ddce5bc9267b46ba0119
[ "Apache-2.0" ]
1,303
2015-02-15T05:12:55.000Z
2022-03-18T18:23:28.000Z
Sparky-core/src/sp/graphics/shaders/ShaderFactory.cpp
WildFire212/Sparky
a679d0834e37eb3570dff18b01550210734cb97e
[ "Apache-2.0" ]
124
2015-04-02T14:15:05.000Z
2021-05-05T12:47:16.000Z
Sparky-core/src/sp/graphics/shaders/ShaderFactory.cpp
WildFire212/Sparky
a679d0834e37eb3570dff18b01550210734cb97e
[ "Apache-2.0" ]
538
2015-02-19T21:53:15.000Z
2022-03-11T06:18:05.000Z
#include "sp/sp.h" #include "ShaderFactory.h" #include "sp/graphics/API/Context.h" namespace sp { namespace graphics { namespace ShaderFactory { #if defined(SP_PLATFORM_WINDOWS) static const char* s_BatchRendererShaderGL = #include "sp/platform/opengl/shaders/BatchRenderer.shader" ; static const char* s_BatchR...
23.38806
114
0.746011
LifeOrGame
0f73f2833c8edee55a017101a079d075b1ebd422
3,869
cpp
C++
src/WMAnalysis.cpp
UK-MAC/WMTools
308b46dda235de0f57ddcfaf8780d6015443805a
[ "MIT" ]
9
2015-03-27T05:03:22.000Z
2021-12-11T16:52:13.000Z
src/WMAnalysis.cpp
UK-MAC/WMTools
308b46dda235de0f57ddcfaf8780d6015443805a
[ "MIT" ]
null
null
null
src/WMAnalysis.cpp
UK-MAC/WMTools
308b46dda235de0f57ddcfaf8780d6015443805a
[ "MIT" ]
null
null
null
#include "../include/WMAnalysis.h" WMAnalysis::WMAnalysis(string tracefile, bool graph, bool functions, bool allocations, bool time_search, double time_val) { /* Generate a tracefile name (from rank id) if not provided with one */ if (tracefile.empty()) tracefile = WMUtils::makeFileName(); trace_file_name = ...
26.868056
156
0.666839
UK-MAC
0f77710680f101585b0991b336c361d628845c0f
21,288
cc
C++
verilog/CST/declaration_test.cc
ColtonProvias/verible
ded8ad5e03d0eca2125d9ae3ba6c4f07919b4565
[ "Apache-2.0" ]
null
null
null
verilog/CST/declaration_test.cc
ColtonProvias/verible
ded8ad5e03d0eca2125d9ae3ba6c4f07919b4565
[ "Apache-2.0" ]
null
null
null
verilog/CST/declaration_test.cc
ColtonProvias/verible
ded8ad5e03d0eca2125d9ae3ba6c4f07919b4565
[ "Apache-2.0" ]
null
null
null
// Copyright 2017-2020 The Verible Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
32.600306
80
0.521233
ColtonProvias
0f7cd5ea5b7ba5628d5a7f9f10c53f28617f977c
3,091
cpp
C++
OrbitLinuxTracing/PerfEventProcessor2.cpp
MagicPoncho/orbit
c92d2f64ad3caeef0e41ee04719d84217820b9f8
[ "BSD-2-Clause" ]
null
null
null
OrbitLinuxTracing/PerfEventProcessor2.cpp
MagicPoncho/orbit
c92d2f64ad3caeef0e41ee04719d84217820b9f8
[ "BSD-2-Clause" ]
null
null
null
OrbitLinuxTracing/PerfEventProcessor2.cpp
MagicPoncho/orbit
c92d2f64ad3caeef0e41ee04719d84217820b9f8
[ "BSD-2-Clause" ]
1
2020-05-20T04:32:01.000Z
2020-05-20T04:32:01.000Z
#include "PerfEventProcessor2.h" #include <OrbitBase/Logging.h> #include <memory> #include <queue> #include "PerfEvent.h" #include "Utils.h" namespace LinuxTracing { void PerfEventQueue::PushEvent(int origin_fd, std::unique_ptr<PerfEvent> event) { if (fd_event_queues_.count(origin_...
30.303922
80
0.693627
MagicPoncho
0f7f06817ead0a7bc722e41881d61d57aee8ea7b
5,662
hpp
C++
src/axom/inlet/LuaReader.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
86
2019-04-12T20:39:37.000Z
2022-01-28T17:06:08.000Z
src/axom/inlet/LuaReader.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
597
2019-04-25T22:36:16.000Z
2022-03-31T20:21:54.000Z
src/axom/inlet/LuaReader.hpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
21
2019-06-27T15:53:08.000Z
2021-09-30T20:17:41.000Z
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level LICENSE file for details. // // SPDX-License-Identifier: (BSD-3-Clause) /*! ******************************************************************************* * \file LuaReader.hpp * * \brief ...
34.950617
85
0.548746
bmhan12
0f7faf87e8f4b7f13e893b0f02c9fbc2789a103f
1,058
cpp
C++
test/verify/aoj-0275.test.cpp
jupiro/library
f3e0a2f35aefab49ff8960c17a264118e97b3378
[ "Unlicense" ]
null
null
null
test/verify/aoj-0275.test.cpp
jupiro/library
f3e0a2f35aefab49ff8960c17a264118e97b3378
[ "Unlicense" ]
null
null
null
test/verify/aoj-0275.test.cpp
jupiro/library
f3e0a2f35aefab49ff8960c17a264118e97b3378
[ "Unlicense" ]
null
null
null
#define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0275" #include "../../template/template.cpp" #include "../../graph/shortest-path/dijkstra.hpp" #include "../../graph/others/topological-sort.hpp" #include "../../graph/others/offline-dag-reachability.hpp" int main() { int S, R, A, B, Q; cin...
29.388889
81
0.529301
jupiro
0f80e25f175fd2b8630264be60481c4c4b2ff7ff
1,031
cpp
C++
code/985.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
23
2020-03-30T05:44:56.000Z
2021-09-04T16:00:57.000Z
code/985.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
1
2020-05-10T15:04:05.000Z
2020-06-14T01:21:44.000Z
code/985.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
6
2020-03-30T05:45:04.000Z
2020-08-13T10:01:39.000Z
#include <bits/stdc++.h> #define INF 2000000000 using namespace std; typedef long long ll; int read(){ int f = 1, x = 0; char c = getchar(); while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();} while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar(); return f * x; } class Solution { public: v...
22.413043
83
0.42774
Nightwish-cn
0f82335da3f3edac0c35a3ee4244178c6e777529
8,696
cpp
C++
mcrouter/test/cpp_unit_tests/mcrouter_cpp_tests.cpp
wicky-info/mcrouter
bc8bbbcc3e9a6ef79146d4096f3e39af942ada09
[ "BSD-3-Clause" ]
1
2015-11-08T10:09:45.000Z
2015-11-08T10:09:45.000Z
mcrouter/test/cpp_unit_tests/mcrouter_cpp_tests.cpp
wicky-info/mcrouter
bc8bbbcc3e9a6ef79146d4096f3e39af942ada09
[ "BSD-3-Clause" ]
null
null
null
mcrouter/test/cpp_unit_tests/mcrouter_cpp_tests.cpp
wicky-info/mcrouter
bc8bbbcc3e9a6ef79146d4096f3e39af942ada09
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include <sema...
27.961415
79
0.701472
wicky-info
0f82b4e511ccf0386914803cb9bc9594387be4bb
1,339
cpp
C++
labs/lab02/test-stack.cpp
josdyr/set10108
fea3ef54745b40fe8da018563e107623d619713a
[ "MIT" ]
null
null
null
labs/lab02/test-stack.cpp
josdyr/set10108
fea3ef54745b40fe8da018563e107623d619713a
[ "MIT" ]
null
null
null
labs/lab02/test-stack.cpp
josdyr/set10108
fea3ef54745b40fe8da018563e107623d619713a
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <thread> #include "threadsafe_stack.h" using namespace std; void pusher(shared_ptr<threadsafe_stack<unsigned int>> stack) { // Pusher will push 1 million values onto the stack for (unsigned int i = 0; i < 100000; ++i) { stack->push(i); // Make...
22.694915
71
0.578043
josdyr
abf373a2383872ee47c042dbc21e1c84a184d854
467
cpp
C++
Stats/RunningMean.cpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
108
2020-10-01T17:12:40.000Z
2022-03-30T09:18:03.000Z
Stats/RunningMean.cpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
94
2020-10-03T13:40:30.000Z
2022-03-30T09:18:00.000Z
Stats/RunningMean.cpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
17
2020-10-29T13:27:59.000Z
2022-03-18T13:05:03.000Z
#include"Stats/RunningMean.hpp" #include"Util/Str.hpp" #include<cstdlib> namespace { union UD { std::uint64_t u; double d; }; } namespace Stats { std::ostream& operator<<(std::ostream& os, RunningMean& m) { union UD dat; dat.d = m.mean; os << std::hex << dat.u << " " << m.samples << " "; return os; } std:...
13.342857
60
0.608137
3nprob
abf3dae1543514dff36e509af6cc8a749b0e8cbe
7,778
cc
C++
modules/planning/scenarios/side_pass/stage_approach_obstacle.cc
aurora12344/project
f904643843c7c41d422b92fb53279475b4b0b1bd
[ "Apache-2.0" ]
2
2019-01-15T08:34:59.000Z
2019-01-15T08:35:00.000Z
modules/planning/scenarios/side_pass/stage_approach_obstacle.cc
aurora12344/project
f904643843c7c41d422b92fb53279475b4b0b1bd
[ "Apache-2.0" ]
null
null
null
modules/planning/scenarios/side_pass/stage_approach_obstacle.cc
aurora12344/project
f904643843c7c41d422b92fb53279475b4b0b1bd
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
35.354545
79
0.696194
aurora12344
abf58024ccaa48643c7b50910dd9f429f65d70b8
38,933
cpp
C++
source/parser/parser.cpp
ThatGuyMike7/masonc
43a3a69cd64f52fda8a629360c52a222549d6368
[ "BSL-1.0" ]
3
2020-08-10T13:37:48.000Z
2021-07-06T10:14:39.000Z
source/parser/parser.cpp
ThatGuyMike7/masonc
43a3a69cd64f52fda8a629360c52a222549d6368
[ "BSL-1.0" ]
null
null
null
source/parser/parser.cpp
ThatGuyMike7/masonc
43a3a69cd64f52fda8a629360c52a222549d6368
[ "BSL-1.0" ]
null
null
null
#include <parser.hpp> #include <common.hpp> #include <mod.hpp> #include <mod_handle.hpp> #include <type.hpp> #include <logger.hpp> #include <timer.hpp> #include <lexer.hpp> #include <build_stage.hpp> #include <iostream> #include <optional> #include <limits> #include <cstring> namespace masonc::parser { void pars...
32.910397
152
0.532325
ThatGuyMike7
abf879b6c13c89fd9480e7aa7d32fa6d3ed98c98
3,169
cpp
C++
src/advent5.cpp
arkadye/advent_of_code_2020
6652f6e0ab8c09312fbfbb5934c553c264c467cc
[ "CC0-1.0" ]
2
2020-12-30T07:12:09.000Z
2021-11-21T18:37:10.000Z
src/advent5.cpp
arkadye/advent_of_code_2020
6652f6e0ab8c09312fbfbb5934c553c264c467cc
[ "CC0-1.0" ]
null
null
null
src/advent5.cpp
arkadye/advent_of_code_2020
6652f6e0ab8c09312fbfbb5934c553c264c467cc
[ "CC0-1.0" ]
null
null
null
#include "../advent/advent5.h" #include "../utils/advent_utils.h" #include "../utils/sorted_vector.h" #include <string> #include <numeric> #include <cassert> namespace { using FileIt = std::istream_iterator<std::string>; using utils::open_puzzle_input; using utils::sorted_vector; constexpr char FOR...
25.352
118
0.667403
arkadye
abfb64d2d20d1f6e622671c9d362c5378aeda2c4
171
cpp
C++
FerrousEngine/stream_writer.cpp
Syncaidius/FerrousEngine
a53d439dbdb153422f1007f69dce89c330231999
[ "MIT" ]
3
2019-06-04T23:56:29.000Z
2019-11-29T23:45:59.000Z
FerrousEngine/stream_writer.cpp
Syncaidius/FerrousEngine
a53d439dbdb153422f1007f69dce89c330231999
[ "MIT" ]
null
null
null
FerrousEngine/stream_writer.cpp
Syncaidius/FerrousEngine
a53d439dbdb153422f1007f69dce89c330231999
[ "MIT" ]
null
null
null
#include "stream_writer.h" namespace fe { StreamWriter::StreamWriter(Stream* stream) { _stream = stream; } StreamWriter::~StreamWriter() { _stream = nullptr; } }
15.545455
45
0.695906
Syncaidius
abfc0d16224addb8eb26c927bc505e792146898a
1,357
cpp
C++
src/Evolution/Systems/ScalarWave/Equations.cpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
2
2021-04-11T04:07:42.000Z
2021-04-11T05:07:54.000Z
src/Evolution/Systems/ScalarWave/Equations.cpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
4
2018-06-04T20:26:40.000Z
2018-07-27T14:54:55.000Z
src/Evolution/Systems/ScalarWave/Equations.cpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Evolution/Systems/ScalarWave/Equations.hpp" #include <cstddef> #include "DataStructures/DataVector.hpp" #include "DataStructures/Tensor/Tensor.hpp" #include "Utilities/ContainerHelpers.hpp" #include "Utilities/GenerateInstantiations.hpp"...
31.55814
69
0.755343
macedo22
abfc6acb696f70a8a35483228319ab9068bf3fcf
4,626
cpp
C++
src/conjuntos.cpp
NaturalFlow/ConjuntosTP1
fccc0aa4b48ffa7a71138a46bce35c2c94ffdd13
[ "MIT" ]
null
null
null
src/conjuntos.cpp
NaturalFlow/ConjuntosTP1
fccc0aa4b48ffa7a71138a46bce35c2c94ffdd13
[ "MIT" ]
null
null
null
src/conjuntos.cpp
NaturalFlow/ConjuntosTP1
fccc0aa4b48ffa7a71138a46bce35c2c94ffdd13
[ "MIT" ]
null
null
null
#include "conjuntos.h" void lerConjunto(int* conjunto, int qtdElementos) { for(unsigned int i = 0; i < qtdElementos; i++) { std::cin >> conjunto[i]; } } void imprimirConjunto(int* conjunto, int qtdElementos, std::string nome) { std::cout << nome << '{'; for(unsigned int i = 0; i < qtdE...
31.04698
91
0.447255
NaturalFlow
280c4d24b44603cb17eba0f6208d5876b0d49d1f
3,001
hpp
C++
silkrpc/json/types.hpp
gelfand/silkrpc
ecbfb0bb31c4d9ca8bd37bd193ae922fb4bbfbb3
[ "Apache-2.0" ]
null
null
null
silkrpc/json/types.hpp
gelfand/silkrpc
ecbfb0bb31c4d9ca8bd37bd193ae922fb4bbfbb3
[ "Apache-2.0" ]
null
null
null
silkrpc/json/types.hpp
gelfand/silkrpc
ecbfb0bb31c4d9ca8bd37bd193ae922fb4bbfbb3
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The Silkrpc Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
31.260417
86
0.765078
gelfand
28123cf935482d836abfe70489e67c1b4f776444
7,440
cc
C++
src/DesktopApp/main.cc
lurume84/blink-desktop
d6d01f8dc461edd22192a521fbd49669bfa8f684
[ "MIT" ]
75
2019-03-08T14:15:49.000Z
2022-01-05T17:30:43.000Z
src/DesktopApp/main.cc
lurume84/blink-desktop
d6d01f8dc461edd22192a521fbd49669bfa8f684
[ "MIT" ]
55
2019-02-17T01:34:12.000Z
2022-02-26T21:07:33.000Z
src/DesktopApp/main.cc
lurume84/blink-desktop
d6d01f8dc461edd22192a521fbd49669bfa8f684
[ "MIT" ]
20
2019-05-21T19:02:31.000Z
2022-03-28T07:29:28.000Z
// Copyright (c) 2015 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. #include <windows.h> #include "include/base/cef_scoped_ptr.h" #include "include/cef_command_line.h" #include "include/cef_sandbox_...
36.470588
159
0.761694
lurume84
281480c8e5b26bc76ccc8896f98222fc7ea382b3
2,361
cc
C++
atom/renderer/api/atom_api_renderer_ipc.cc
joaomoreno/electron
9547ff135f3f14d4bad31ae446b0a2e7a0f0ea3d
[ "MIT" ]
3
2019-03-20T10:57:42.000Z
2020-11-02T07:02:40.000Z
atom/renderer/api/atom_api_renderer_ipc.cc
joaomoreno/electron
9547ff135f3f14d4bad31ae446b0a2e7a0f0ea3d
[ "MIT" ]
5
2016-06-10T16:57:36.000Z
2019-03-30T18:51:36.000Z
atom/renderer/api/atom_api_renderer_ipc.cc
joaomoreno/electron
9547ff135f3f14d4bad31ae446b0a2e7a0f0ea3d
[ "MIT" ]
3
2016-07-22T16:53:13.000Z
2020-12-18T18:11:36.000Z
// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/renderer/api/atom_api_renderer_ipc.h" #include "atom/common/api/api_messages.h" #include "atom/common/native_mate_converters/string16_converter.h" #include "atom/common/...
29.5125
75
0.71834
joaomoreno
281889d0a0d5786e1b45594677b7a487ddb21204
5,112
cc
C++
zbluenet/zbluenet/src/zbluenet/logger_mgr.cc
zhengjinwei123/zbluenet
2d3c26f587de34ca7924176487b92e0700756792
[ "Apache-2.0" ]
3
2021-09-08T02:36:08.000Z
2022-01-02T20:18:44.000Z
zbluenet/zbluenet/src/zbluenet/logger_mgr.cc
zhengjinwei123/zbluenet
2d3c26f587de34ca7924176487b92e0700756792
[ "Apache-2.0" ]
null
null
null
zbluenet/zbluenet/src/zbluenet/logger_mgr.cc
zhengjinwei123/zbluenet
2d3c26f587de34ca7924176487b92e0700756792
[ "Apache-2.0" ]
null
null
null
#include <zbluenet/logger_mgr.h> #include <zbluenet/logger_sink.h> #include <vector> namespace zbluenet { class LoggerMgr::Impl { public: using LogFormatter = LoggerMgr::LogFormatter; using LoggerVec = std::vector<Logger *>; Impl(); ~Impl(); void setMaxLoggerCount(int count); void setMaxLogSize(int si...
24.227488
137
0.655125
zhengjinwei123
2819917cd0acc64cac0ec556690c06ba125529ba
524
hpp
C++
pythran/pythonic/time/time.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
1
2018-03-24T00:33:03.000Z
2018-03-24T00:33:03.000Z
pythran/pythonic/time/time.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/time/time.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_TIME_TIME_HPP #define PYTHONIC_TIME_TIME_HPP #include "pythonic/include/time/time.hpp" #include "pythonic/utils/functor.hpp" #include <chrono> PYTHONIC_NS_BEGIN namespace time { double time() { std::chrono::time_point<std::chrono::steady_clock> tp = std::chrono::steady_clock::now()...
18.714286
65
0.694656
SylvainCorlay
281bf7ef8deb624403c334298e80baddf9b26944
7,025
cpp
C++
wxWidgets-2.9.1/src/generic/propdlg.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
241
2015-01-04T00:36:58.000Z
2022-01-06T19:19:23.000Z
wxWidgets-2.9.1/src/generic/propdlg.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
10
2015-07-10T18:27:17.000Z
2019-06-26T20:59:59.000Z
wxWidgets-2.9.1/src/generic/propdlg.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
82
2015-01-25T18:02:35.000Z
2022-03-05T12:28:17.000Z
///////////////////////////////////////////////////////////////////////////// // Name: src/generic/propdlg.cpp // Purpose: wxPropertySheetDialog // Author: Julian Smart // Modified by: // Created: 2005-03-12 // RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows lice...
29.893617
109
0.644982
gamekit-developers
281f018a81b8c3bf1ac15a9d5b1d3c9ce5cb084f
13,938
cpp
C++
swage/refine_high_order_mesh.cpp
CollinsEM/ELEMENTS
cdce322459d74b0723878e650360f135f71dd1d8
[ "BSD-3-Clause" ]
14
2020-07-21T21:54:41.000Z
2022-01-04T15:44:02.000Z
swage/refine_high_order_mesh.cpp
CollinsEM/ELEMENTS
cdce322459d74b0723878e650360f135f71dd1d8
[ "BSD-3-Clause" ]
2
2021-05-05T14:34:21.000Z
2021-12-01T01:53:32.000Z
swage/refine_high_order_mesh.cpp
CollinsEM/ELEMENTS
cdce322459d74b0723878e650360f135f71dd1d8
[ "BSD-3-Clause" ]
8
2020-11-25T21:37:06.000Z
2022-02-01T22:02:18.000Z
#include "lagrange_polynomials.h" #include "swage.h" #include "lagrange_element.h" #include "point_distributions.h" namespace swage { void refine_high_order_mesh(mesh_t &input_mesh, mesh_t &mesh) { // High order mesh parameters const int dim = 3; int elem_order = input_mesh.elem_order(); int nu...
37.67027
103
0.531784
CollinsEM
2820c3abc86d471553bdf32f5da651987802a270
1,090
cpp
C++
competitive programming/leetcode/222. Count Complete Tree Nodes.cpp
kashyap99saksham/Code
96658d0920eb79c007701d2a3cc9dbf453d78f96
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
competitive programming/leetcode/222. Count Complete Tree Nodes.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
competitive programming/leetcode/222. Count Complete Tree Nodes.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
Given a complete binary tree, count the number of nodes. Note: Definition of a complete binary tree from Wikipedia: In a complete binary tree every level, except possibly the last, is completely filled, and all nodes in the last level are as far left as possible. It can have between 1 and 2h nodes inclusive at the la...
20.566038
213
0.619266
kashyap99saksham
2821754670cab7193162fc5bb1e60143b4757972
433
cpp
C++
Asked questions/tempCodeRunnerFile.cpp
SeekerNik/code
e36105361daffac2b6e48ab63f3b9d79120f6310
[ "MIT" ]
null
null
null
Asked questions/tempCodeRunnerFile.cpp
SeekerNik/code
e36105361daffac2b6e48ab63f3b9d79120f6310
[ "MIT" ]
null
null
null
Asked questions/tempCodeRunnerFile.cpp
SeekerNik/code
e36105361daffac2b6e48ab63f3b9d79120f6310
[ "MIT" ]
null
null
null
void checkMagazine(vector<string> magazine, vector<string> note) { int count = 0; for (int i = 0; i < magazine.size(); i++) { for (int j = 0; j < note.size(); j++) { if (magazine[i] == note[i]) { count++; } } } ...
19.681818
65
0.357968
SeekerNik
2821a82c8df46da9444d8a8b697bf8eb7dbd57cd
1,470
cpp
C++
src/gui/css-parser/driver.cpp
lii-enac/djnn-cpp
f27c5ba3186186ee22c93ae91c16063556e929b6
[ "BSD-2-Clause" ]
4
2018-09-11T14:27:57.000Z
2019-12-16T21:06:26.000Z
src/gui/css-parser/driver.cpp
lii-enac/djnn-cpp
f27c5ba3186186ee22c93ae91c16063556e929b6
[ "BSD-2-Clause" ]
null
null
null
src/gui/css-parser/driver.cpp
lii-enac/djnn-cpp
f27c5ba3186186ee22c93ae91c16063556e929b6
[ "BSD-2-Clause" ]
2
2018-06-11T14:15:30.000Z
2019-01-09T12:23:35.000Z
/* * djnn v2 * * The copyright holders for the contents of this file are: * Ecole Nationale de l'Aviation Civile, France (2020) * See file "license.terms" for the rights and conditions * defined by copyright holders. * * * Contributors: * Mathieu Magnaudet <mathieu.magnaudet@enac.fr> * */ #i...
17.926829
80
0.614286
lii-enac
2821ae11d5924bc784e86b6221c14f4a445c5367
356
hpp
C++
src/util/unicode/case.hpp
lu-plus-plus/ama
18c9623c0f6d5d0cb26bd0717b40ea3b5f1ce5e8
[ "BSD-2-Clause" ]
24
2022-01-06T20:26:42.000Z
2022-02-18T07:56:44.000Z
src/util/unicode/case.hpp
lu-plus-plus/ama
18c9623c0f6d5d0cb26bd0717b40ea3b5f1ce5e8
[ "BSD-2-Clause" ]
null
null
null
src/util/unicode/case.hpp
lu-plus-plus/ama
18c9623c0f6d5d0cb26bd0717b40ea3b5f1ce5e8
[ "BSD-2-Clause" ]
4
2022-01-06T20:26:44.000Z
2022-01-14T06:59:48.000Z
#ifndef _CASE_JCH_HPP #define _CASE_JCH_HPP #include <string> #include "../jc_array.h" #include <functional> /*#pragma add("jc_files", "./case.jc");*/ namespace unicode { std::string toUpper(std::span<char> s); std::string toLower(std::span<char> s); std::string toUpperASCII(std::span<char> s); std::string toLowerA...
23.733333
45
0.702247
lu-plus-plus
28230aadfa00778f8a72451c887bc5bc1ebc4ee5
319
cpp
C++
CSES/Generate.cpp
pratik8696/DSA
049a76b6e2445bb5de2e87f3755038609006c06a
[ "MIT" ]
2
2021-09-27T14:12:28.000Z
2021-09-28T03:35:46.000Z
CSES/Generate.cpp
pratik8696/DSA
049a76b6e2445bb5de2e87f3755038609006c06a
[ "MIT" ]
2
2021-09-30T09:07:11.000Z
2021-10-17T18:42:34.000Z
CSES/Generate.cpp
pratik8696/DSA
049a76b6e2445bb5de2e87f3755038609006c06a
[ "MIT" ]
null
null
null
#include <stdio.h> int main() { int n; scanf("%d", &n); char s[1000]; scanf("%s", &s); switch (s[n - 1]) { case 'a': case 'e': case 'i': case 'o': case 'u': printf("Vowel Found"); break; default: printf("Consonants Found"); } return 0; }
13.869565
35
0.429467
pratik8696
28292efcdb7fb42a13e4a61b49c387009c8bf158
2,404
cpp
C++
tests/Unit/PointwiseFunctions/Hydro/Test_SpecificEnthalpy.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/PointwiseFunctions/Hydro/Test_SpecificEnthalpy.cpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/PointwiseFunctions/Hydro/Test_SpecificEnthalpy.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 <limits> #include <string> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/DataVector.hpp" #include "DataStructures/Tensor/Tensor.hpp" #include "Framework/CheckWithRandomVal...
39.409836
80
0.697587
nilsvu
2829428881fb2d79e868bfd52c804134db20e9d8
4,923
cpp
C++
Source/Plugins/bsfVulkanRenderAPI/Managers/BsVulkanTextureManager.cpp
pgruenbacher/bsf
9bbac75ca4cc445cd26b435f74465ad91d3e528e
[ "MIT" ]
2
2019-07-08T17:26:25.000Z
2019-10-13T19:15:28.000Z
Source/Plugins/bsfVulkanRenderAPI/Managers/BsVulkanTextureManager.cpp
REGoth-project/bsf
e176800d1cb9e71b7be8a28bdae935ed9ddd1de4
[ "MIT" ]
null
null
null
Source/Plugins/bsfVulkanRenderAPI/Managers/BsVulkanTextureManager.cpp
REGoth-project/bsf
e176800d1cb9e71b7be8a28bdae935ed9ddd1de4
[ "MIT" ]
4
2019-06-23T09:55:47.000Z
2019-07-08T17:23:05.000Z
//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "Managers/BsVulkanTextureManager.h" #include "BsVulkanTexture...
27.502793
124
0.719683
pgruenbacher
282a78990fe955fe99e900487d29333fcf725d06
7,963
cpp
C++
src/lib/OpenEXR/ImfStdIO.cpp
msercheli/openexr
9912f6b3886f6c695547747d70e19b98c0e38d59
[ "BSD-3-Clause" ]
517
2018-08-11T02:18:47.000Z
2022-03-27T05:31:40.000Z
src/lib/OpenEXR/ImfStdIO.cpp
msercheli/openexr
9912f6b3886f6c695547747d70e19b98c0e38d59
[ "BSD-3-Clause" ]
391
2018-07-31T21:28:52.000Z
2022-03-28T16:51:18.000Z
src/lib/OpenEXR/ImfStdIO.cpp
msercheli/openexr
9912f6b3886f6c695547747d70e19b98c0e38d59
[ "BSD-3-Clause" ]
189
2018-12-22T15:39:26.000Z
2022-03-16T17:03:20.000Z
// // SPDX-License-Identifier: BSD-3-Clause // Copyright (c) Contributors to the OpenEXR Project. // //----------------------------------------------------------------------------- // // Low-level file input and output for OpenEXR // based on C++ standard iostreams. // //-----------------------------------------------...
19.095923
99
0.615597
msercheli
282b04bff1262494d8f9d85462248e917e26df68
20,160
cc
C++
tests/libtests/faults/TestAdjustTopology_quad.cc
cehanagan/pylith
cf5c1c34040460a82f79b6eb54df894ed1b1ee93
[ "MIT" ]
93
2015-01-08T16:41:22.000Z
2022-02-25T13:40:02.000Z
tests/libtests/faults/TestAdjustTopology_quad.cc
sloppyjuicy/pylith
ac2c1587f87e45c948638b19560813d4d5b6a9e3
[ "MIT" ]
277
2015-02-20T16:27:35.000Z
2022-03-30T21:13:09.000Z
tests/libtests/faults/TestAdjustTopology_quad.cc
sloppyjuicy/pylith
ac2c1587f87e45c948638b19560813d4d5b6a9e3
[ "MIT" ]
71
2015-03-24T12:11:08.000Z
2022-03-03T04:26:02.000Z
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University at Buffalo // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
47.435294
102
0.531647
cehanagan
282f3fac6957fc271b07c96a4ea6c62f395dd1ee
7,649
cpp
C++
src/components/transmission/miprtpcomponent.cpp
xchbx/fox
12787683ba10db8f5eedf21e2d0e7a63bebc1664
[ "Apache-2.0" ]
2
2019-04-12T10:26:43.000Z
2019-06-21T15:20:11.000Z
src/components/transmission/miprtpcomponent.cpp
xchbx/NetCamera
12787683ba10db8f5eedf21e2d0e7a63bebc1664
[ "Apache-2.0" ]
1
2019-08-06T16:57:49.000Z
2019-08-06T16:57:49.000Z
src/components/transmission/miprtpcomponent.cpp
xchbx/NetCamera
12787683ba10db8f5eedf21e2d0e7a63bebc1664
[ "Apache-2.0" ]
1
2020-12-31T08:52:03.000Z
2020-12-31T08:52:03.000Z
/* This file is a part of EMIPLIB, the EDM Media over IP Library. Copyright (C) 2006-2016 Hasselt University - Expertise Centre for Digital Media (EDM) (http://www.edm.uhasselt.be) This library is free software; you can redistribute it and/or modify it under the terms of the GNU ...
27.028269
120
0.722709
xchbx
2833bb09ad4fcc31f15e4d9e37fe9dc795de0eef
4,184
cpp
C++
test/control/PathPlannerConstAcc.cpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
10
2015-02-17T15:27:50.000Z
2021-12-10T08:34:13.000Z
test/control/PathPlannerConstAcc.cpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
6
2016-05-10T17:11:09.000Z
2022-03-31T07:52:11.000Z
test/control/PathPlannerConstAcc.cpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
13
2016-05-01T09:56:51.000Z
2022-03-28T09:27:49.000Z
#include <eeros/control/PathPlannerConstAcc.hpp> #include <eeros/core/Fault.hpp> #include <eeros/math/Matrix.hpp> #include <gtest/gtest.h> #include <Utils.hpp> using namespace eeros; using namespace eeros::control; using namespace eeros::math; // Test name TEST(controlPathPlannerConstAcc, name) { PathPlannerConstA...
55.786667
98
0.709369
ClaudiaVisentin
2837ff7f975880ba2dad6461f1db3dda540400d3
23,028
cxx
C++
VTK/Graphics/vtkSubPixelPositionEdgels.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
1
2021-07-31T19:38:03.000Z
2021-07-31T19:38:03.000Z
VTK/Graphics/vtkSubPixelPositionEdgels.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
null
null
null
VTK/Graphics/vtkSubPixelPositionEdgels.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
2
2019-01-22T19:51:40.000Z
2021-07-31T19:38:05.000Z
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile$ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distrib...
29.867704
79
0.472642
matthb2
283a81341237133b5e509f5d9e787dade9951564
6,587
cxx
C++
proof/clas12_selector.cxx
tylern4/hipoTests
e6c773f009e041a9d96ebdabddcc005fe2c7267c
[ "MIT" ]
null
null
null
proof/clas12_selector.cxx
tylern4/hipoTests
e6c773f009e041a9d96ebdabddcc005fe2c7267c
[ "MIT" ]
null
null
null
proof/clas12_selector.cxx
tylern4/hipoTests
e6c773f009e041a9d96ebdabddcc005fe2c7267c
[ "MIT" ]
null
null
null
#define clas12_selector_cxx // The class definition in clas12_selector.h has been generated automatically // by the ROOT utility TTree::MakeSelector(). This class is derived // from the ROOT class TSelector. For more information on the TSelector // framework see $ROOTSYS/README/README.SELECTOR or the ROOT User Manual. ...
34.851852
87
0.653256
tylern4
283bca6812d3eca896e2d12520e94c8dbd9d4107
9,072
cpp
C++
Examples/SimpleExample.cpp
wxie2013/Spike_July_2019
5cfa90e6bfaa5bcf6d13568617e39a6725e3c988
[ "MIT" ]
null
null
null
Examples/SimpleExample.cpp
wxie2013/Spike_July_2019
5cfa90e6bfaa5bcf6d13568617e39a6725e3c988
[ "MIT" ]
1
2019-08-16T21:18:21.000Z
2019-08-16T21:18:21.000Z
Examples/SimpleExample.cpp
wxie2013/Spike_July_2019
5cfa90e6bfaa5bcf6d13568617e39a6725e3c988
[ "MIT" ]
null
null
null
/* An Example Model for running the SPIKE simulator To create the executable for this network: - Run cmake from the build directory: "cmake ../" - Make this example: "make ExampleExperiment" - Finally, execute the binary: "./ExampleExperiment" */ #include "Spike/Spike.hpp" // The function which will au...
48.255319
142
0.792549
wxie2013