hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
09e3574709070a14b73e67e00a07d9f47742019c
2,328
cpp
C++
src/MaterialLibrary/MaterialLibrary.cpp
niiick1/OpenGLScene
33a99428775e98b4fa3093ff2c481fffffaa974e
[ "MIT" ]
null
null
null
src/MaterialLibrary/MaterialLibrary.cpp
niiick1/OpenGLScene
33a99428775e98b4fa3093ff2c481fffffaa974e
[ "MIT" ]
null
null
null
src/MaterialLibrary/MaterialLibrary.cpp
niiick1/OpenGLScene
33a99428775e98b4fa3093ff2c481fffffaa974e
[ "MIT" ]
1
2019-12-03T21:11:13.000Z
2019-12-03T21:11:13.000Z
#include "MaterialLibrary/MaterialLibrary.h" #include <iostream> #include <GL/glew.h> #include "lodepng/lodepng.h" MaterialLibrary::MaterialLibrary() { //ctor } MaterialLibrary::~MaterialLibrary() { //dtor } void MaterialLibrary::addMaterial(const Material& material) { std::string materialName = materia...
24.765957
126
0.681701
09e46675dfb06c0631712c0b461ef44d4a067078
1,179
hpp
C++
engine/src/vulkan/mesh/Mesh.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
engine/src/vulkan/mesh/Mesh.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
engine/src/vulkan/mesh/Mesh.hpp
Velikss/Bus-Simulator
13bf0b66b9b44e3f4cb1375fc363720ea8f23e19
[ "MIT" ]
null
null
null
#pragma once #include <pch.hpp> #include <vulkan/geometry/Geometry.hpp> #include <vulkan/texture/Texture.hpp> #include <vulkan/util/Invalidatable.hpp> class cMesh : public cInvalidatable { private: cGeometry* ppGeometry; cTexture* ppTexture; cTexture* ppMaterial; public: cMesh(cGeometry* pGeometry, c...
19.327869
93
0.706531
09e46bd9c7d97d85a2cc98e44bbe3466a6f4d569
688
cpp
C++
EasyFramework3d/base/util/FileException.cpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
EasyFramework3d/base/util/FileException.cpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
EasyFramework3d/base/util/FileException.cpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
#include <vs/base/util/FileException.h> namespace vs { namespace base { namespace util { FileException::FileException(string fileOfOccuredError, string placeOfOccuredError, string description, string badFile) :Exception(fileOfOccuredError, placeOfOccuredError, description), corruptedFile(badFile) {} ...
20.235294
88
0.768895
09e8b899528544d05f6b13874715477b89dd7648
755
cpp
C++
238.cpp
mudit1729/LeetCode
766929544b1c87ed4afed120f460d5a4053f6a33
[ "MIT" ]
null
null
null
238.cpp
mudit1729/LeetCode
766929544b1c87ed4afed120f460d5a4053f6a33
[ "MIT" ]
null
null
null
238.cpp
mudit1729/LeetCode
766929544b1c87ed4afed120f460d5a4053f6a33
[ "MIT" ]
null
null
null
class Solution { public: vector<int> productExceptSelf(vector<int>& nums) { vector<int> left; vector<int> right; vector<int> sol; int leftProduct = 1; int rightProduct = 1; int sz = nums.size(); left.resize(sz); right.resize(sz); for(int i = 0...
29.038462
55
0.496689
09ea20c17c26a573a528e218640c675dabbadc80
4,543
cpp
C++
test/test-str-convert.cpp
codalogic/cl-utils
996452272d4c09b8df7928abdaea75b0e786a244
[ "BSD-3-Clause" ]
null
null
null
test/test-str-convert.cpp
codalogic/cl-utils
996452272d4c09b8df7928abdaea75b0e786a244
[ "BSD-3-Clause" ]
null
null
null
test/test-str-convert.cpp
codalogic/cl-utils
996452272d4c09b8df7928abdaea75b0e786a244
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------- // Copyright (c) 2016, Codalogic Ltd (http://www.codalogic.com) // All rights reserved. // // The license for this file is based on the BSD-3-Clause license // (http://www.opensource.org/licenses/BSD-3-Clause). // // Redistribution and use i...
36.344
78
0.605107
09eb7f5938cbac14abae5d1e3a0db7968146c587
289
cpp
C++
CodeBlocks/Codeforces/Codeforces228A.cpp
ash1247/DocumentsWindows
66f65b5170a1ba766cfae08b7104b63ab87331c2
[ "MIT" ]
null
null
null
CodeBlocks/Codeforces/Codeforces228A.cpp
ash1247/DocumentsWindows
66f65b5170a1ba766cfae08b7104b63ab87331c2
[ "MIT" ]
null
null
null
CodeBlocks/Codeforces/Codeforces228A.cpp
ash1247/DocumentsWindows
66f65b5170a1ba766cfae08b7104b63ab87331c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main( void ) { set<long int> collection; long int s; int count = 0; for(int i = 0; i < 4; i++ ) { cin >> s; collection.insert( s ); } cout << 4 - collection.size() << endl; return 0; }
13.136364
42
0.49481
09ebcc68dfbb4af9f94e0032a83a7b566a3ffa0f
30,521
cc
C++
proto/echo_test.pb.cc
iwtbabc/irpc
647b126450b986e73b350ed451c90d48ec3a420c
[ "MIT" ]
1
2018-08-28T12:01:01.000Z
2018-08-28T12:01:01.000Z
proto/echo_test.pb.cc
majianfei/irpc
647b126450b986e73b350ed451c90d48ec3a420c
[ "MIT" ]
null
null
null
proto/echo_test.pb.cc
majianfei/irpc
647b126450b986e73b350ed451c90d48ec3a420c
[ "MIT" ]
1
2018-07-28T04:53:12.000Z
2018-07-28T04:53:12.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: echo_test.proto #include "echo_test.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #include <google...
36.683894
168
0.708135
09ed8ae6f9161309aab513e3acd85580da208796
83
cpp
C++
Build Systems/CommandLine/HelloBeatles/src/johnpaul/john.cpp
prynix/learning-programming
85aea40a61fb824a2b4e142331d9ac7971fef263
[ "MIT" ]
2
2017-03-14T16:02:08.000Z
2017-05-02T13:48:18.000Z
Build Systems/CommandLine/HelloBeatles/src/johnpaul/john.cpp
CajetanP/learning-programming
85aea40a61fb824a2b4e142331d9ac7971fef263
[ "MIT" ]
4
2021-05-20T21:10:13.000Z
2022-02-26T09:50:19.000Z
Build Systems/CommandLine/HelloBeatles/src/johnpaul/john.cpp
CajetanP/learning-programming
85aea40a61fb824a2b4e142331d9ac7971fef263
[ "MIT" ]
1
2021-06-18T01:31:24.000Z
2021-06-18T01:31:24.000Z
#include <iostream> #include "john.hpp" void john () { std::cout << "John, "; }
10.375
23
0.578313
09f1e6a2325353bc86a80ee5418c6718e4dc34e1
438,576
cpp
C++
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs60.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs60.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs60.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // System.Collections.Generic.Dictionary`2<Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer,System.UInt32> struct Dict...
43.923485
593
0.824824
09f381cac5664aaf463332dd64fec997c03dacee
1,526
cc
C++
merror/domain/defer_test.cc
google/merror
b0bf376e110b66da70c150afddd9d3b8337282d6
[ "Apache-2.0" ]
2
2021-03-23T19:00:51.000Z
2022-01-26T06:28:35.000Z
merror/domain/defer_test.cc
google/merror
b0bf376e110b66da70c150afddd9d3b8337282d6
[ "Apache-2.0" ]
null
null
null
merror/domain/defer_test.cc
google/merror
b0bf376e110b66da70c150afddd9d3b8337282d6
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
28.792453
75
0.684142
09f394326c41452e3b3348422e9a06929717e413
2,279
cpp
C++
2020/day12/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
2020/day12/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
2020/day12/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
#include "common/types.h" #include "utils/file.h" #include "utils/utils.h" #define DEBUG_LEVEL 5 #include "common/debug.h" int main(int argc, char *argv[]) { auto lines = File::readAllLines(argv[1]); { Point<int> position; int angle = 90; for (auto &l : lines) { int distance = utils::toInt(l.substr(1))...
18.834711
82
0.523475
09f547590222a1fc0b109f21a33c9c7a91386b5a
526
cpp
C++
ProjectEuler/66/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
ProjectEuler/66/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
ProjectEuler/66/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define rg register #define rep(i,x,y) for(rg int i=(x);i<=(y);++i) #define per(i,x,y) for(rg int i=(x);i>=(y);--i) using namespace std; typedef long long LL; inline LL sqr(LL x){return x*x;} LL ansd,ansx; int main(){ int n;scanf("%d",&n); rep(d,1,n)if(sqr(LL(sqrt(d)))!=d){ for(LL y=1;;++y){...
21.04
48
0.553232
09f5622660315bdacee42b4d1a8e844860ac2a21
7,123
cpp
C++
openEAR-0.1.0/src/smileComponent.cpp
trimlab/Voice-Emotion-Detection
c7272dd2f70e2d4b8eee304e68578494d7ef624c
[ "MIT" ]
null
null
null
openEAR-0.1.0/src/smileComponent.cpp
trimlab/Voice-Emotion-Detection
c7272dd2f70e2d4b8eee304e68578494d7ef624c
[ "MIT" ]
null
null
null
openEAR-0.1.0/src/smileComponent.cpp
trimlab/Voice-Emotion-Detection
c7272dd2f70e2d4b8eee304e68578494d7ef624c
[ "MIT" ]
null
null
null
/*F****************************************************************************** * * openSMILE - open Speech and Music Interpretation by Large-space Extraction * the open-source Munich Audio Feature Extraction Toolkit * Copyright (C) 2008-2009 Florian Eyben, Martin Woellmer, Bjoern Schuller * * * Institu...
29.928571
208
0.701249
09f802dec9f0bc3b642bc1181631a48567eac0e3
1,939
hpp
C++
include/uvx/method.hpp
keeword/uvx
7e924d29c8e8d44a49447de0bf93bd60f680311f
[ "MIT" ]
null
null
null
include/uvx/method.hpp
keeword/uvx
7e924d29c8e8d44a49447de0bf93bd60f680311f
[ "MIT" ]
null
null
null
include/uvx/method.hpp
keeword/uvx
7e924d29c8e8d44a49447de0bf93bd60f680311f
[ "MIT" ]
null
null
null
#pragma once #include <any> #include <unordered_map> #include <type_traits> #include "functype.hpp" namespace utils { class methods { private: using method_type = std::function<std::any(std::any)>; template <typename R, typename F> struct invoker { static R invoke(const F& f, std::any any) { ...
30.296875
115
0.621454
09f8408031c24c372dc91a3cdaccaff97849463c
5,210
inl
C++
include/Utopia/Render/details/RenderState_AutoRefl.inl
Justin-sky/Utopia
71912290155a469ad578234a1f5e1695804e04a3
[ "MIT" ]
null
null
null
include/Utopia/Render/details/RenderState_AutoRefl.inl
Justin-sky/Utopia
71912290155a469ad578234a1f5e1695804e04a3
[ "MIT" ]
null
null
null
include/Utopia/Render/details/RenderState_AutoRefl.inl
Justin-sky/Utopia
71912290155a469ad578234a1f5e1695804e04a3
[ "MIT" ]
1
2021-04-24T23:26:09.000Z
2021-04-24T23:26:09.000Z
// This file is generated by Ubpa::USRefl::AutoRefl #pragma once #include <USRefl/USRefl.h> template<> struct Ubpa::USRefl::TypeInfo<Ubpa::Utopia::CullMode> : Ubpa::USRefl::TypeInfoBase<Ubpa::Utopia::CullMode> { static constexpr AttrList attrs = {}; static constexpr FieldList fields = { Field{"NONE", Ubpa::Uto...
34.966443
67
0.708445
09f87c36d351e468333e228978c46fdb10cf5348
1,157
cpp
C++
Gears/SpeedLimiter.cpp
gaybro8777/GTAVManualTransmission
b3bafedf3dbcbdb83e8e7febb87ca61e0c2b5dd6
[ "Zlib" ]
144
2016-02-01T01:22:24.000Z
2022-03-29T09:13:12.000Z
Gears/SpeedLimiter.cpp
gaybro8777/GTAVManualTransmission
b3bafedf3dbcbdb83e8e7febb87ca61e0c2b5dd6
[ "Zlib" ]
86
2016-02-27T14:20:31.000Z
2022-03-30T08:10:47.000Z
Gears/SpeedLimiter.cpp
gaybro8777/GTAVManualTransmission
b3bafedf3dbcbdb83e8e7febb87ca61e0c2b5dd6
[ "Zlib" ]
39
2016-02-07T07:57:54.000Z
2022-03-30T12:41:02.000Z
#include "SpeedLimiter.h" #include "ScriptSettings.hpp" #include "VehicleData.hpp" #include "Input/CarControls.hpp" #include "Util/MathExt.h" #include "Util/UIUtils.h" #include <inc/enums.h> #include <inc/natives.h> extern CarControls g_controls; extern ScriptSettings g_settings; extern Vehicle g_playerVehicle; exte...
27.547619
139
0.681936
09f94f2a212b43700813f98a591251bca1801bfb
390
cc
C++
src/Algorithms/algorithm-factory.cc
nandofioretto/GpuDBE
0722f1f6f0e850795f76825cfaf833997f7fe4af
[ "MIT" ]
null
null
null
src/Algorithms/algorithm-factory.cc
nandofioretto/GpuDBE
0722f1f6f0e850795f76825cfaf833997f7fe4af
[ "MIT" ]
null
null
null
src/Algorithms/algorithm-factory.cc
nandofioretto/GpuDBE
0722f1f6f0e850795f76825cfaf833997f7fe4af
[ "MIT" ]
null
null
null
#include "Algorithms/algorithm-factory.hh" #include "Algorithms/algorithm.hh" #include "Algorithms/DPOP/dpop.hh" #include "Kernel/agent.hh" #include <string> #include <vector> Algorithm* AlgorithmFactory::create (Agent& a, std::string type, std::vector<std::string> params) { if (type.compare("DPOP") == 0 or type.co...
22.941176
63
0.7
67006f9854b9893fb7ac37adb20133822135a87e
1,225
cpp
C++
WirelessThermometer/TimerSwitchWithServo/DataStore.cpp
anders-liu/arduino-gallery
8c65701a33358891b7105b50f831d7f5797288ad
[ "MIT" ]
1
2019-11-07T22:44:27.000Z
2019-11-07T22:44:27.000Z
WirelessThermometer/TimerSwitchWithServo/DataStore.cpp
anders-liu/arduino-gallery
8c65701a33358891b7105b50f831d7f5797288ad
[ "MIT" ]
null
null
null
WirelessThermometer/TimerSwitchWithServo/DataStore.cpp
anders-liu/arduino-gallery
8c65701a33358891b7105b50f831d7f5797288ad
[ "MIT" ]
null
null
null
#include <EEPROM.h> #include "DataStore.h" DataStore ds; #define DS_ADDR_SERVO_OFF 0 #define DS_ADDR_SERVO_ON 1 #define DS_ADDR_SERVO_CUR 2 #define DS_ADDR_POWER_ON 3 void DataStore::setup() { this->setUiStage(UI_STAGE_RUNNING); uint8_t value; value = EEPROM.read(DS_ADDR_SERVO_OFF); this->setServoOffValue(v...
24.5
62
0.76898
67056af3de6c923955e352a9e7b1c6a52627a03d
1,120
cc
C++
third_party/blink/renderer/modules/webtransport/datagram_duplex_stream.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/renderer/modules/webtransport/datagram_duplex_stream.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
third_party/blink/renderer/modules/webtransport/datagram_duplex_stream.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/webtransport/datagram_duplex_stream.h" namespace blink { void DatagramDuplexStream::setIncomingMaxAge(absl:...
29.473684
83
0.746429
67059c9fa758079550b6625591ddb4b1ce48a904
2,376
cpp
C++
7DRL 2017/Player.cpp
marukrap/woozoolike
ca16b67bce61828dded707f1c529558646daf0b3
[ "MIT" ]
37
2017-03-26T00:20:49.000Z
2021-02-11T18:23:22.000Z
7DRL 2017/Player.cpp
marukrap/woozoolike
ca16b67bce61828dded707f1c529558646daf0b3
[ "MIT" ]
null
null
null
7DRL 2017/Player.cpp
marukrap/woozoolike
ca16b67bce61828dded707f1c529558646daf0b3
[ "MIT" ]
9
2017-03-24T04:38:35.000Z
2021-08-22T00:02:43.000Z
#include "Player.hpp" Player::Player() { // arrow keys and Home, End, PageUp, PageDn keyBinding[sf::Keyboard::Left] = Action::MoveLeft; keyBinding[sf::Keyboard::Right] = Action::MoveRight; keyBinding[sf::Keyboard::Up] = Action::MoveUp; keyBinding[sf::Keyboard::Down] = Action::MoveDown; keyBinding[sf::Ke...
36
61
0.703704
67067bf81c9745b8fed4b21f8815aeb15457a001
407
cpp
C++
master.cpp
senlinzhan/etcd-service-discovery
2387aeca3e75b0e525afc6d757d1e13672ca272c
[ "MIT" ]
2
2019-08-15T10:06:57.000Z
2020-11-04T12:34:03.000Z
master.cpp
senlinzhan/etcd-service-discovery
2387aeca3e75b0e525afc6d757d1e13672ca272c
[ "MIT" ]
null
null
null
master.cpp
senlinzhan/etcd-service-discovery
2387aeca3e75b0e525afc6d757d1e13672ca272c
[ "MIT" ]
null
null
null
#include "EtcdManager.h" #include <unistd.h> int main(int argc, char *argv[]) { std::vector<std::string> address; address.push_back("11.11.11.11:20002"); address.push_back("22.22.22.22:20002"); address.push_back("33.33.33.33:20002"); EtcdManager etcdWatcher(address); etcdWatcher.startMultiWat...
18.5
46
0.621622
6707c0e5e449744b2f81657569421bf1c1b21b86
1,716
cpp
C++
DevGame/Motor2D/Settings.cpp
MAtaur00/Development-Game
3c8ef10d9a42abc2d4547b1a67c45e98b9e29f07
[ "MIT" ]
null
null
null
DevGame/Motor2D/Settings.cpp
MAtaur00/Development-Game
3c8ef10d9a42abc2d4547b1a67c45e98b9e29f07
[ "MIT" ]
null
null
null
DevGame/Motor2D/Settings.cpp
MAtaur00/Development-Game
3c8ef10d9a42abc2d4547b1a67c45e98b9e29f07
[ "MIT" ]
5
2018-11-07T16:04:35.000Z
2018-11-12T11:01:05.000Z
#include "Settings.h" #include "j1Gui.h" #include "j1Textures.h" #include "j1Render.h" #include "p2Log.h" #include "j1Window.h" #include "j1App.h" #include "Menu.h" #include "Brofiler/Brofiler.h" Settings::Settings() { name.create("credits"); } Settings::~Settings() {} bool Settings::Awake(pugi::xml_node& conf) { ...
21.721519
145
0.674825
670ae57e73f005580c3c6b3f9bf5a6dcc307d67e
1,070
hpp
C++
src/BlobManager.hpp
kitab15/OSCReceiver
101a3850e14725b51566aee7e9bd162fd5b9c946
[ "MIT" ]
null
null
null
src/BlobManager.hpp
kitab15/OSCReceiver
101a3850e14725b51566aee7e9bd162fd5b9c946
[ "MIT" ]
null
null
null
src/BlobManager.hpp
kitab15/OSCReceiver
101a3850e14725b51566aee7e9bd162fd5b9c946
[ "MIT" ]
null
null
null
// // BlobManager.hpp // OSCReceiverSendero // // Created by Christian Bouvier on 11/20/16. // // #ifndef BlobManager_hpp #define BlobManager_hpp #include <stdio.h> #include "ofxOsc.h" #define EXPIRATION_TIME 5 #define OSC_PORT_BLOBS 12345 #define BlobManager (*BlobManagerClass::instance()) struct blob { in...
18.448276
51
0.658879
671045c2f8eee9555dee45635c71459d9957f643
11,909
cpp
C++
tools/tool_load_prediction/src/tool.cpp
jusch196/chameleon-apps
b63a6b20a62c450565403b0768551cca9c288156
[ "BSD-3-Clause" ]
null
null
null
tools/tool_load_prediction/src/tool.cpp
jusch196/chameleon-apps
b63a6b20a62c450565403b0768551cca9c288156
[ "BSD-3-Clause" ]
null
null
null
tools/tool_load_prediction/src/tool.cpp
jusch196/chameleon-apps
b63a6b20a62c450565403b0768551cca9c288156
[ "BSD-3-Clause" ]
2
2020-03-30T08:08:53.000Z
2021-04-16T10:24:50.000Z
#include "tool.h" //================================================================ // Variables //================================================================ static cham_t_set_callback_t cham_t_set_callback; static cham_t_get_rank_data_t cham_t_get_rank_data; static cham_t_get_thread_data_t cham_t_get_...
38.169872
121
0.653287
e24d1e8b8a9be0041d7790e11dbee71d320af3e1
1,438
cpp
C++
src/start.cpp
eostitan/eosio-wps
02be171c267b35e9be3ef250da706e2e6c972752
[ "MIT" ]
null
null
null
src/start.cpp
eostitan/eosio-wps
02be171c267b35e9be3ef250da706e2e6c972752
[ "MIT" ]
null
null
null
src/start.cpp
eostitan/eosio-wps
02be171c267b35e9be3ef250da706e2e6c972752
[ "MIT" ]
null
null
null
[[eosio::action]] void wps::init() { require_auth( get_self() ); const name ram_payer = get_self(); check( !_state.exists(), "already initialized" ); auto state = _state.get_or_default(); auto settings = _settings.get_or_default(); _state.set( state, ram_payer ); _settings.set( settings, ...
31.26087
109
0.700974
e24f9319dc8e4e15a01678d1bc16795557e21cec
4,057
hpp
C++
iRODS/lib/api/include/procStat.hpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/lib/api/include/procStat.hpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/lib/api/include/procStat.hpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* procStat.h - This dataObj may be generated by a program or script */ #ifndef PROC_STAT_HPP #define PROC_STAT_HPP /* This is a Object File I/O API call */ ...
36.881818
93
0.681538
e25004596e1839e8068f01d786a042b4b4bc5c32
1,624
cxx
C++
PerceptualMetric/cython/src/treeio.cxx
PolasekT/ICTree
d13ad603101805bcc288411504ecffd6f2e1f365
[ "MIT" ]
3
2021-12-09T22:37:03.000Z
2022-02-16T13:40:44.000Z
PerceptualMetric/cython/src/treeio.cxx
PolasekT/ICTree
d13ad603101805bcc288411504ecffd6f2e1f365
[ "MIT" ]
null
null
null
PerceptualMetric/cython/src/treeio.cxx
PolasekT/ICTree
d13ad603101805bcc288411504ecffd6f2e1f365
[ "MIT" ]
3
2021-12-09T22:37:08.000Z
2022-02-03T14:38:39.000Z
/** * @author Tomas Polasek * @date 26.4.2021 * @version 1.0 * @brief Python wrapper for TreeIO. */ #include "treeio.h" #include <iostream> int testIntegration(const std::string &s) { std::cout << "Hello World: " << s << std::endl; return 42; } treeio::ArrayTree *treeConstruct() { return new tre...
28
110
0.667488
e250f6db4f581914b7d9947082dd2dfd43c27541
2,116
cpp
C++
Leetcode/res/Remove Invalid Parentheses/1.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
1
2022-03-04T16:06:41.000Z
2022-03-04T16:06:41.000Z
Leetcode/res/Remove Invalid Parentheses/1.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
null
null
null
Leetcode/res/Remove Invalid Parentheses/1.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
null
null
null
\* Author: allannozomu Runtime: 24 ms Memory: 11.5 MB*\ class Solution { private: int minimun_removed; public: string buildFromMask(string& s, vector<int>& mask){ string res = ""; for (int i = 0 ; i < mask.size(); ++i){ if (mask[i]){ res += s[i]; } ...
35.266667
138
0.547259
e25489f1fbef7a0c2bb34822f8e953e95351f9e6
2,110
cpp
C++
samples/Hello/third-party/fuzzylite/examples/takagi-sugeno/matlab/sltbu_fl.cpp
okocsis/ios-cmake
ca61d83725bc5b1a755928f4592badbd9a8b37f4
[ "BSD-3-Clause" ]
null
null
null
samples/Hello/third-party/fuzzylite/examples/takagi-sugeno/matlab/sltbu_fl.cpp
okocsis/ios-cmake
ca61d83725bc5b1a755928f4592badbd9a8b37f4
[ "BSD-3-Clause" ]
null
null
null
samples/Hello/third-party/fuzzylite/examples/takagi-sugeno/matlab/sltbu_fl.cpp
okocsis/ios-cmake
ca61d83725bc5b1a755928f4592badbd9a8b37f4
[ "BSD-3-Clause" ]
null
null
null
#include <fl/Headers.h> int main(int argc, char** argv){ //Code automatically generated with fuzzylite 6.0. using namespace fl; Engine* engine = new Engine; engine->setName("sltbu_fl"); engine->setDescription(""); InputVariable* distance = new InputVariable; distance->setName("distance"); distance->setDescription("...
31.969697
87
0.759716
e256b0f147945b96164c23b7a8e0484d18ca5441
603
cpp
C++
src/TextsHelper.cpp
TB989/Game
9cf6e1267f1bc08b2e7f5f9a8278914f930c7c51
[ "MIT" ]
null
null
null
src/TextsHelper.cpp
TB989/Game
9cf6e1267f1bc08b2e7f5f9a8278914f930c7c51
[ "MIT" ]
null
null
null
src/TextsHelper.cpp
TB989/Game
9cf6e1267f1bc08b2e7f5f9a8278914f930c7c51
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include "TextsHelper.h" std::string getNextToken(std::ifstream &file,char delim){ std::string token; while(true){ char ch; file.get(ch); if(ch==delim){ break; } else{ token+=ch; } ...
17.735294
57
0.532338
e259f83d35e8fd797273e82a11d088e0e4f22297
1,218
hpp
C++
src/include/duckdb/function/scalar/regexp.hpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
2,816
2018-06-26T18:52:52.000Z
2021-04-06T10:39:15.000Z
src/include/duckdb/function/scalar/regexp.hpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
1,310
2021-04-06T16:04:52.000Z
2022-03-31T13:52:53.000Z
src/include/duckdb/function/scalar/regexp.hpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
270
2021-04-09T06:18:28.000Z
2022-03-31T11:55:37.000Z
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/function/scalar/regexp.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/function/function_set.hpp" #include "re2/re2.h...
24.36
99
0.665846
e25d6b3ec6918c719b9450c0d4cb211513cf0d56
8,221
cpp
C++
test/TestUnicode.cpp
m5knt/Pits
7f7f9ab3013f446ffc8faee3b832a7b8043d4bed
[ "MIT" ]
null
null
null
test/TestUnicode.cpp
m5knt/Pits
7f7f9ab3013f446ffc8faee3b832a7b8043d4bed
[ "MIT" ]
null
null
null
test/TestUnicode.cpp
m5knt/Pits
7f7f9ab3013f446ffc8faee3b832a7b8043d4bed
[ "MIT" ]
null
null
null
#include "Pits/Unicode.hpp" #include "Pits/Timer.hpp" #include <uchar.h> #include <cassert> #include <string_view> #include <iostream> #include <codecvt> #include <vector> using namespace std::literals; #if __cplusplus <= 201703L namespace std { using u8string = basic_string<char>; } #endif template <class Job...
36.537778
110
0.554069
e25ed53686e2f3df256950b71982cf2191468168
1,160
cpp
C++
yumi_dynamics/src/external_force_node.cpp
SebastianGrans/yumi
14fa92585105d29fbff9c633f93919513a526c79
[ "Apache-2.0" ]
4
2020-04-04T14:18:12.000Z
2020-08-05T11:24:03.000Z
yumi_dynamics/src/external_force_node.cpp
SebastianGrans/yumi
14fa92585105d29fbff9c633f93919513a526c79
[ "Apache-2.0" ]
1
2021-10-10T19:35:36.000Z
2022-01-01T23:26:55.000Z
yumi_dynamics/src/external_force_node.cpp
SebastianGrans/yumi
14fa92585105d29fbff9c633f93919513a526c79
[ "Apache-2.0" ]
2
2020-08-27T11:02:12.000Z
2021-08-08T16:53:57.000Z
#include "external_force/external_force.hpp" #include "kdl_wrapper/kdl_wrapper.h" #include <urdf/model.h> #include <rclcpp/rclcpp.hpp> #include <future> #include <unistd.h> // Ctr+C handler void signal_callback_handler(int signum) { std::cout << "Caught signal " << signum << std::endl; // Terminate ros node rcl...
21.481481
94
0.67069
e25fb5a1c1f4767600c624b4ed6b0508e58b11f3
187
hh
C++
macos/cc/WindowDelegate.hh
rgkirch/JWM
390fc92398758171e402529f8a6da4cce2a3efc6
[ "Apache-2.0" ]
177
2021-05-13T01:03:45.000Z
2021-08-30T18:45:58.000Z
macos/cc/WindowDelegate.hh
rgkirch/JWM
390fc92398758171e402529f8a6da4cce2a3efc6
[ "Apache-2.0" ]
130
2021-05-18T13:43:08.000Z
2021-08-30T18:16:01.000Z
macos/cc/WindowDelegate.hh
rgkirch/JWM
390fc92398758171e402529f8a6da4cce2a3efc6
[ "Apache-2.0" ]
13
2021-09-16T14:12:08.000Z
2022-03-21T00:58:01.000Z
#pragma once #import <Cocoa/Cocoa.h> #include "WindowMac.hh" @interface WindowDelegate : NSObject<NSWindowDelegate> - (WindowDelegate*)initWithWindow:(jwm::WindowMac*)initWindow; @end
18.7
62
0.775401
e26277d11b08f7820dc2270d8b1ab03dc700694a
5,138
cpp
C++
Code/CmLib/Segmentation/PlanarCut/code/CutGrid.cpp
JessicaGiven/SalBenchmark_Analysis_Given
0b0d8c3373be9105e9e94bc20b0eeb0bd7c06198
[ "MIT" ]
1
2018-10-07T00:56:57.000Z
2018-10-07T00:56:57.000Z
Code/CmLib/Segmentation/PlanarCut/code/CutGrid.cpp
JessicaGiven/SalBenchmark_Analysis_Given
0b0d8c3373be9105e9e94bc20b0eeb0bd7c06198
[ "MIT" ]
null
null
null
Code/CmLib/Segmentation/PlanarCut/code/CutGrid.cpp
JessicaGiven/SalBenchmark_Analysis_Given
0b0d8c3373be9105e9e94bc20b0eeb0bd7c06198
[ "MIT" ]
null
null
null
/***************************************************************************** * PlanarCut - software to compute MinCut / MaxFlow in a planar graph * * Version 1.0.2 * * * * ...
24.122066
78
0.550603
e267a48b8e237d9e45bb5b4214c264315dabdd82
1,771
hpp
C++
src/projects/error_correction/edit_distance.hpp
AntonBankevich/LJA
979d7929bf0b39fd142ec6465dc0c17814465ef9
[ "BSD-3-Clause" ]
53
2021-10-10T22:16:27.000Z
2022-03-23T06:21:06.000Z
src/projects/error_correction/edit_distance.hpp
AntonBankevich/LJA
979d7929bf0b39fd142ec6465dc0c17814465ef9
[ "BSD-3-Clause" ]
20
2021-05-10T07:44:24.000Z
2022-03-24T13:23:58.000Z
src/projects/error_correction/edit_distance.hpp
AntonBankevich/DR
73450ad3b25f90a3c7747aaf17fe60d13d9692d3
[ "BSD-3-Clause" ]
6
2022-01-27T01:45:56.000Z
2022-03-18T04:23:33.000Z
#pragma once #include "sequences/sequence.hpp" inline size_t edit_distance(Sequence s1, Sequence s2) { size_t left_skip = 0; while(left_skip < s1.size() && left_skip < s2.size() && s1[left_skip] == s2[left_skip]) { left_skip++; } s1 = s1.Subseq(left_skip, s1.size()); s2 = s2.Subseq(left_sk...
39.355556
129
0.508187
e268f822976e0bb32f98f0c35cab8c0813aef33c
1,629
cpp
C++
src/vpp/bufferOps.cpp
nyorain/vpp
ccffafa0b59baa633df779274d7743f169d61c06
[ "BSL-1.0" ]
308
2016-02-23T11:59:20.000Z
2022-03-14T18:40:24.000Z
src/vpp/bufferOps.cpp
nyorain/vpp
ccffafa0b59baa633df779274d7743f169d61c06
[ "BSL-1.0" ]
11
2017-01-21T17:33:13.000Z
2020-08-17T10:33:42.000Z
src/vpp/bufferOps.cpp
nyorain/vpp
ccffafa0b59baa633df779274d7743f169d61c06
[ "BSL-1.0" ]
11
2016-02-23T10:35:08.000Z
2021-12-18T16:15:39.000Z
// Copyright (c) 2016-2020 Jan Kelling // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt #include <vpp/bufferOps.hpp> #include <vpp/queue.hpp> #include <vpp/vk.hpp> #include <dlg/dlg.hpp> #include <cstring> namespace vpp { v...
30.735849
80
0.698588
e26c8c4ebcd6d2f696a66d9958ef8a978cbcaa48
2,142
hh
C++
src/HomologyInference/BlockedProperty.hh
jsb/HomologyInference
a8b6f9ecad375072bd45e96e08c906c8332c3e4f
[ "MIT" ]
3
2021-12-08T06:53:40.000Z
2022-03-23T09:41:01.000Z
src/HomologyInference/BlockedProperty.hh
jsb/HomologyInference
a8b6f9ecad375072bd45e96e08c906c8332c3e4f
[ "MIT" ]
null
null
null
src/HomologyInference/BlockedProperty.hh
jsb/HomologyInference
a8b6f9ecad375072bd45e96e08c906c8332c3e4f
[ "MIT" ]
null
null
null
/* * Author: Janis Born */ #pragma once #include <HomologyInference/Types.hh> #include <HomologyInference/Utils/ExternalProperty.hh> #include <set> namespace HomologyInference { using BlockedEdgeProperty = ExternalProperty<EH, bool>; using BlockedVertexProperty = ExternalProperty<VH, bool>; template<typename M...
25.2
68
0.699813
e270533db408dabd36a8b5ebc92b14c40b824c94
9,013
cc
C++
src/cpp/monitoring/stackdriver_client.cc
haifeng-jin/cloud
78f4ebe1273dbd71bba8794b553caffee0a73f47
[ "Apache-2.0" ]
342
2020-02-10T18:55:31.000Z
2022-03-01T04:30:12.000Z
src/cpp/monitoring/stackdriver_client.cc
haifeng-jin/cloud
78f4ebe1273dbd71bba8794b553caffee0a73f47
[ "Apache-2.0" ]
179
2020-02-14T22:35:42.000Z
2022-01-22T23:06:23.000Z
src/cpp/monitoring/stackdriver_client.cc
haifeng-jin/cloud
78f4ebe1273dbd71bba8794b553caffee0a73f47
[ "Apache-2.0" ]
140
2020-02-10T19:11:50.000Z
2022-02-23T13:04:44.000Z
/* Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dist...
36.787755
80
0.728281
e270f0db65b1608430b2b40a9805bc0d265eece6
328
cpp
C++
src/14000/14915.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
8
2018-04-12T15:54:09.000Z
2020-06-05T07:41:15.000Z
src/14000/14915.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
src/14000/14915.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; char arr[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; int main() { int m, n; string ans, a; cin >> m >> n; while (m) { a = ans; ans = arr[m%n]; ans += a; m /= n; } if (ans == "") ans = "0"; cout <...
14.26087
96
0.411585
e272fcbb62054f78f2af6813e65dcb7281e8fbf1
6,488
cc
C++
src/lb_virtual_file_system.cc
snibug/gyp_example
6bbf1ef53c68df4e5a657e0037cf6c81d2140178
[ "Apache-2.0" ]
null
null
null
src/lb_virtual_file_system.cc
snibug/gyp_example
6bbf1ef53c68df4e5a657e0037cf6c81d2140178
[ "Apache-2.0" ]
null
null
null
src/lb_virtual_file_system.cc
snibug/gyp_example
6bbf1ef53c68df4e5a657e0037cf6c81d2140178
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
28.835556
79
0.679408
e272fe434103717fe92a4b9f83d0e9a1808a036c
3,775
hpp
C++
Engine/Core/Headers/Molten/Renderer/Vulkan/Utility/VulkanPhysicalDevice.hpp
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
2
2019-11-11T21:17:14.000Z
2019-11-11T22:07:26.000Z
Engine/Core/Headers/Molten/Renderer/Vulkan/Utility/VulkanPhysicalDevice.hpp
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
null
null
null
Engine/Core/Headers/Molten/Renderer/Vulkan/Utility/VulkanPhysicalDevice.hpp
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
1
2020-04-05T03:50:57.000Z
2020-04-05T03:50:57.000Z
/* * MIT License * * Copyright (c) 2021 Jimmie Bergmann * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files(the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
31.458333
112
0.744901
e275637de301b64a1886d1e51acab893c87f0a60
10,161
cpp
C++
src/ResourcePack.cpp
japajoe/imgui
d3206dd86c1ce7ed9647193f1374704af70c53af
[ "MIT" ]
null
null
null
src/ResourcePack.cpp
japajoe/imgui
d3206dd86c1ce7ed9647193f1374704af70c53af
[ "MIT" ]
null
null
null
src/ResourcePack.cpp
japajoe/imgui
d3206dd86c1ce7ed9647193f1374704af70c53af
[ "MIT" ]
null
null
null
#include "ResourcePack.h" #include <sys/stat.h> #include <cstring> #include <iostream> bool FileExists(const std::string& filepath) { struct stat buffer; return (stat(filepath.c_str(), &buffer) == 0); } long GetFileSize(const std::string& filepath) { struct stat stat_buf; int rc = stat(filepath.c_...
23.093182
100
0.599547
e275ff5046336033409b67fd70dbc06aea8ec7a1
822
cpp
C++
hwlib/demo/native/native-#0020-string/main.cpp
TheBlindMick/MPU6050
66880369fa7a73755846e60568137dfc07da1b5c
[ "BSL-1.0" ]
46
2017-02-15T14:24:14.000Z
2021-10-01T14:25:57.000Z
hwlib/demo/native/native-#0020-string/main.cpp
TheBlindMick/MPU6050
66880369fa7a73755846e60568137dfc07da1b5c
[ "BSL-1.0" ]
27
2017-02-15T15:13:42.000Z
2021-08-28T15:29:01.000Z
hwlib/demo/native/native-#0020-string/main.cpp
TheBlindMick/MPU6050
66880369fa7a73755846e60568137dfc07da1b5c
[ "BSL-1.0" ]
39
2017-05-18T11:51:03.000Z
2021-09-14T09:07:01.000Z
// ========================================================================== // // hwlib::string demo // // (c) Wouter van Ooijen (wouter@voti.nl) 2017 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // ...
27.4
77
0.457421
e27a9e517fca9ca546376a68178b0fd26256f754
4,145
cpp
C++
lib/glimac/src/Controls.cpp
elisacia/World-Imaker
c168521c168336a4be7835a2adeee9cc7a672681
[ "MIT" ]
null
null
null
lib/glimac/src/Controls.cpp
elisacia/World-Imaker
c168521c168336a4be7835a2adeee9cc7a672681
[ "MIT" ]
null
null
null
lib/glimac/src/Controls.cpp
elisacia/World-Imaker
c168521c168336a4be7835a2adeee9cc7a672681
[ "MIT" ]
null
null
null
#include <glimac/Controls.hpp> namespace glimac { const void moveCamera(const SDL_Event &e, FreeFlyCamera &camera) { switch(e.key.keysym.sym) { case SDLK_z: camera.moveFront(1); break; case SDLK_s: camera.moveFront(-1); break; case SDLK...
24.96988
157
0.55006
e27b3021b3d243450a0c23ecbe6fd92f225f1569
14,240
cpp
C++
Atomic/AtMimeReadWrite.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
4
2019-11-10T21:56:40.000Z
2021-12-11T20:10:55.000Z
Atomic/AtMimeReadWrite.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
null
null
null
Atomic/AtMimeReadWrite.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
1
2019-11-11T08:38:59.000Z
2019-11-11T08:38:59.000Z
#include "AtIncludes.h" #include "AtMimeReadWrite.h" #include "AtImfReadWrite.h" #include "AtMimeGrammar.h" #include "AtMimeQuotedPrintable.h" namespace At { namespace Mime { // FieldWithParams void FieldWithParams::ReadParam(ParseNode const& paramNode, PinStore& store) { // Name Pa...
25.293073
157
0.630969
e283e756b3c4851cbdfe690b435ffdf1fa24f275
5,504
cpp
C++
reporters/html_benchmark_reporter.cpp
Kristian-Popov/opencl-benchmark-and-fractals
b88fe08ea540c5743e9b590b160a995ead272a6e
[ "MIT" ]
null
null
null
reporters/html_benchmark_reporter.cpp
Kristian-Popov/opencl-benchmark-and-fractals
b88fe08ea540c5743e9b590b160a995ead272a6e
[ "MIT" ]
null
null
null
reporters/html_benchmark_reporter.cpp
Kristian-Popov/opencl-benchmark-and-fractals
b88fe08ea540c5743e9b590b160a995ead272a6e
[ "MIT" ]
null
null
null
#include "html_benchmark_reporter.h" #include <chrono> #include <unordered_map> #include <algorithm> #include <iterator> #include "html_document.h" #include "utils.h" #include "devices/device_interface.h" #include "devices/platform_interface.h" #include "fixtures/fixture_id.h" #include "indicators/duration_indicator....
33.560976
133
0.593932
e2857683f842c1b798db84e767486d2327318212
9,589
cpp
C++
src/qt/qtbase/src/plugins/platforms/winrt/qwinrttheme.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/plugins/platforms/winrt/qwinrttheme.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/plugins/platforms/winrt/qwinrttheme.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees hol...
38.051587
122
0.724059
e2893983296a54d0a98e9fe11d5382e26457c54f
3,731
cpp
C++
src/sequence.cpp
liangjin2007/smplxpp
9a0d1cea136ea924628a9a031fa673fc9531dd85
[ "Apache-2.0" ]
73
2020-07-10T03:22:14.000Z
2022-03-02T21:22:18.000Z
src/sequence.cpp
liangjin2007/smplxpp
9a0d1cea136ea924628a9a031fa673fc9531dd85
[ "Apache-2.0" ]
4
2020-07-13T05:59:39.000Z
2021-04-09T03:53:01.000Z
src/sequence.cpp
liangjin2007/smplxpp
9a0d1cea136ea924628a9a031fa673fc9531dd85
[ "Apache-2.0" ]
16
2020-07-10T03:22:20.000Z
2022-02-11T19:09:41.000Z
#include "smplx/sequence.hpp" #include <fstream> #include <iostream> #include <cnpy.h> #include "smplx/util.hpp" #include "smplx/util_cnpy.hpp" namespace smplx { namespace { using util::assert_shape; } // namespace // AMASS npz structure // 'trans': (#frames, 3) // 'gender': str // 'mocap_framer...
33.017699
80
0.551327
e2897e5886fec358d757012ab5d190e56439589e
6,020
cpp
C++
src/tools/ThreadGestion.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
2
2016-03-21T10:48:34.000Z
2017-03-17T19:50:34.000Z
src/tools/ThreadGestion.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
null
null
null
src/tools/ThreadGestion.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
null
null
null
/*************************************************************** * Name: ThreadGestion.cpp * Purpose: Code for Fu(X) 2.0 * Author: David Lecoconnier (david.lecoconnier@free.fr) * Created: 2010-05-07 * Copyright: David Lecoconnier (http://www.getfux.fr) * License: *************************************...
28
146
0.634219
e289a2a9b7a1347a9de65f3ad3194948f5550a39
4,782
cpp
C++
src2/freevariablesofterm.cpp
tamaskenez/forrestlang
76b82803ac435f627ad52f9cfc12fe9c863a8495
[ "MIT" ]
null
null
null
src2/freevariablesofterm.cpp
tamaskenez/forrestlang
76b82803ac435f627ad52f9cfc12fe9c863a8495
[ "MIT" ]
1
2019-03-19T18:11:21.000Z
2019-03-19T18:11:21.000Z
src2/freevariablesofterm.cpp
tamaskenez/somenewlanguage
76b82803ac435f627ad52f9cfc12fe9c863a8495
[ "MIT" ]
null
null
null
#include "freevariablesofterm.h" #include "store.h" namespace snl { FreeVariables GetFreeVariablesCore(Store& store, TermPtr term) { using Tag = term::Tag; const static FreeVariables empty_fvs; switch (term->tag) { case Tag::Abstraction: { auto abstraction = term_cast<term::Abstraction...
38.564516
100
0.557716
e28f417b66cf026be331d48c20c12478da28b11a
5,015
hpp
C++
code/include/graphicPrimitives/FrameRenderable.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
4
2016-06-24T09:22:18.000Z
2019-06-13T13:50:53.000Z
code/include/graphicPrimitives/FrameRenderable.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
null
null
null
code/include/graphicPrimitives/FrameRenderable.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
2
2016-06-10T12:46:17.000Z
2018-10-14T06:37:21.000Z
#ifndef FRAME_RENDERABLE_HPP #define FRAME_RENDERABLE_HPP /**@file * @brief Define a class to render the world frame. * * This file defines the class FrameRenderable to render the world frame. */ #include "../HierarchicalRenderable.hpp" #include <vector> #include <glm/glm.hpp> /**@brief Render the world frame. * ...
38.875969
87
0.698106
e28fd8c80824fcf123f24759e20ea374f33b9160
2,475
cpp
C++
src/OrbitGgp/AccountTest.cpp
tufeigunchu/orbit
407354cf7c9159ff7e3177c603a6850b95509e3a
[ "BSD-2-Clause" ]
1,847
2020-03-24T19:01:42.000Z
2022-03-31T13:18:57.000Z
src/OrbitGgp/AccountTest.cpp
tufeigunchu/orbit
407354cf7c9159ff7e3177c603a6850b95509e3a
[ "BSD-2-Clause" ]
1,100
2020-03-24T19:41:13.000Z
2022-03-31T14:27:09.000Z
src/OrbitGgp/AccountTest.cpp
tufeigunchu/orbit
407354cf7c9159ff7e3177c603a6850b95509e3a
[ "BSD-2-Clause" ]
228
2020-03-25T05:32:08.000Z
2022-03-31T11:27:39.000Z
// Copyright (c) 2021 The Orbit 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 <gtest/gtest.h> #include "OrbitGgp/Account.h" #include "TestUtils/TestUtils.h" namespace orbit_ggp { using orbit_test_utils::HasError; using ...
35.869565
126
0.65697
e2906deeb57926b5ab31789026acd88e800ddb5c
206,623
cpp
C++
clients/cpp-restbed-server/generated/api/BlueOceanApi.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-restbed-server/generated/api/BlueOceanApi.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-restbed-server/generated/api/BlueOceanApi.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI-Generator 5.4.0. * https://openapi-generator.tech * Do not edit the class manually. */ ...
46.100625
373
0.754819
e290b27c13bab64d24723a7681fda41b9acd7c83
646
cpp
C++
data-structure/Raiz.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
data-structure/Raiz.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
data-structure/Raiz.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
//Programa que calcula la raiz de un entero positivo N. //Sin utilizar la libreria math.h //Alumno: Castillo Gardea Mariano //No Control: 01070097 #include <iostream.h> #include <conio.h> #include <stdio.h> void captura(int &); void validacion(int &); void raiz(int &); void main() {int numero; clrscr(); captura(numer...
17.459459
55
0.682663
e291803e5fa70e853eda93302bc9bf0651933484
4,895
cc
C++
chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.h" #include "chrome/browser/browser_process.h" #include "chrome/browser...
45.324074
94
0.758529
e295be7427b5a3e6bbaaf0b0241c43c8a59604de
1,517
cpp
C++
src/demos/damping/damping.cpp
robin-lockwood/gamephysicsengines
c48b20236d20d818a5aa10c4a9852431b69ce211
[ "MIT" ]
null
null
null
src/demos/damping/damping.cpp
robin-lockwood/gamephysicsengines
c48b20236d20d818a5aa10c4a9852431b69ce211
[ "MIT" ]
null
null
null
src/demos/damping/damping.cpp
robin-lockwood/gamephysicsengines
c48b20236d20d818a5aa10c4a9852431b69ce211
[ "MIT" ]
null
null
null
/* * Damping Demo */ #include <cyclone/cyclone.h> #include "../ogl_headers.h" #include "../app.h" #include "../timing.h" #include <stdio.h> #include <cstdlib> class DampingDemo : public Application { struct ParticleObject { cyclone::Particle particle; unsigned startTime; void render() { cyclone::Vec...
17.847059
127
0.613711
e299e516b3c7bb22b7e0ebcf9328c7fd00722361
4,061
cpp
C++
RunInBash/RunInBash.cpp
neosmart/RunInBash
3e2368f95030f1cd39c27001cb21fa50f2e289d1
[ "MIT" ]
83
2017-04-25T03:39:53.000Z
2022-03-17T03:37:59.000Z
RunInBash/RunInBash.cpp
benpope82/RunInBash
3e2368f95030f1cd39c27001cb21fa50f2e289d1
[ "MIT" ]
6
2017-04-25T20:13:01.000Z
2021-08-02T05:03:08.000Z
RunInBash/RunInBash.cpp
neosmart/RunInBash
3e2368f95030f1cd39c27001cb21fa50f2e289d1
[ "MIT" ]
11
2017-05-13T10:14:58.000Z
2021-08-12T17:06:27.000Z
#include "stdafx.h" #include <cassert> #include <memory> #include "ArgHelper.h" template <typename T> //for both const and non-const T *TrimStart(T *str) { assert(str != nullptr); while (str[0] == _T(' ')) { ++str; } return str; } //There is no CommandLineToArgvA(), so we rely on the caller t...
25.067901
112
0.622014
e29a4fca305ebb68a4763fc6e8dc443ed826a5e5
1,359
cc
C++
src/contests/selection-contest-2/E/oldE.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
2
2019-09-07T17:00:26.000Z
2020-08-05T02:08:35.000Z
src/contests/selection-contest-2/E/oldE.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
src/contests/selection-contest-2/E/oldE.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
#include <bits/stdc++.h> #define FR(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> ii; ll dp[3][3005]; int n; vector<ll> C, S; const ll INF = 10e9; ll f(int i, int t) { if (t == 3) return C[i]; if (dp[t][i]) return dp[t][i]; ll...
16.9875
68
0.391464
e29c1cafb8d6986ad83ffad1dd2ed9726774d92d
298
cpp
C++
src/searchResultsLv.cpp
romdb/romdbLauncher
492e6d124817b11f16e7d8329d854ed837a76ea0
[ "Zlib" ]
null
null
null
src/searchResultsLv.cpp
romdb/romdbLauncher
492e6d124817b11f16e7d8329d854ed837a76ea0
[ "Zlib" ]
null
null
null
src/searchResultsLv.cpp
romdb/romdbLauncher
492e6d124817b11f16e7d8329d854ed837a76ea0
[ "Zlib" ]
null
null
null
#include "searchResultsLv.h" #include "Resource.h" LRESULT SearchResultsLv::OnDblClick(DWORD fwKeys, int X, int Y) { LVHITTESTINFO hti = {}; hti.pt.x = X; hti.pt.y = Y; int idx = HitTest(&hti); if (idx != -1) { SendMessageW(GetParent(Handle), WM_COMMAND, ID_OPENROM, idx); } return 0; }
18.625
63
0.667785
e29c61a78ece73b4be810ef62fefefe8c06ef6e5
621
cc
C++
src/abc122/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc122/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc122/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
#ifdef _debug #define _GLIBCXX_DEBUG #endif #include <bits/stdc++.h> using namespace std; typedef long long ll; #ifndef _debug int main() { int n, q; cin >> n >> q; string s; cin >> s; vector<int> l(q), r(q); for(int i = 0; i < q; i++) cin >> l[i] >> r[i]; vector<int> sum(n + 1, 0)...
20.032258
44
0.429952
e29dbfe319d7d92c8e16189da52462af9b78d71d
998
cpp
C++
Classes/ScriptScene.cpp
seagullua/Alarm-x4
bc4ad1bcf34a7c9ea2ab3fbd2b6cfffe4b7156a8
[ "MIT" ]
4
2015-08-12T01:50:44.000Z
2021-02-28T04:58:25.000Z
Classes/ScriptScene.cpp
seagullua/Alarm-x4
bc4ad1bcf34a7c9ea2ab3fbd2b6cfffe4b7156a8
[ "MIT" ]
1
2018-04-06T03:38:06.000Z
2018-04-06T03:38:06.000Z
Classes/ScriptScene.cpp
seagullua/Alarm-x4
bc4ad1bcf34a7c9ea2ab3fbd2b6cfffe4b7156a8
[ "MIT" ]
5
2015-04-21T05:22:52.000Z
2018-02-02T18:12:36.000Z
#include "ScriptScene.h" #include "Core/MTileManager.h" USING_NS_CC; ScriptScene* ScriptScene::create(ScriptPtr script) { ScriptScene *pRet = new ScriptScene(); if (pRet && pRet->init(script)) { pRet->autorelease(); return pRet; } else { delete pRet; pRet = NU...
17.821429
55
0.597194
e29e300a0fbccbea4d87c0c7ef05878613e14c66
3,112
cpp
C++
sdl/main.cpp
bduvenhage/Bits-O-Cpp
a2325978646fd27fc14de99b45c42072447af2db
[ "MIT" ]
19
2018-07-02T17:06:54.000Z
2021-03-04T18:29:21.000Z
sdl/main.cpp
bduvenhage/Bits-O-Cpp
a2325978646fd27fc14de99b45c42072447af2db
[ "MIT" ]
1
2019-04-06T13:46:41.000Z
2020-06-15T14:59:26.000Z
sdl/main.cpp
bduvenhage/Bits-O-Cpp
a2325978646fd27fc14de99b45c42072447af2db
[ "MIT" ]
3
2020-04-14T09:19:43.000Z
2021-03-27T06:40:52.000Z
#include "../defines/tc_defines.h" #include "../math/tc_math.h" #include "../sdl/sdl.h" #include <iostream> #include <iomanip> #include <vector> using Vertex = std::pair<int, int>; using Line = std::pair<Vertex, Vertex>; //! Grow the snowflake one level deeper. std::vector<Line> grow_koch_snowflake(const std::vect...
27.785714
86
0.541131
e29ed02de4ad3f403c946707012cff195fa80cdc
3,714
cpp
C++
src/common/containers/trie-pool.cpp
asgerfv/ai_boggle
7ea541124296e730d10e64de0a7038090a876bb5
[ "MIT" ]
null
null
null
src/common/containers/trie-pool.cpp
asgerfv/ai_boggle
7ea541124296e730d10e64de0a7038090a876bb5
[ "MIT" ]
null
null
null
src/common/containers/trie-pool.cpp
asgerfv/ai_boggle
7ea541124296e730d10e64de0a7038090a876bb5
[ "MIT" ]
null
null
null
#include "trie-pool.hpp" // ---------------------------------------------------------------------------- #define ROTA_USE_CUSTOM_ALLOCATOR 1 // ---------------------------------------------------------------------------- /// Note: Could also have used "__declspec(selectany)" in the header, but this is ...
24.27451
104
0.600969
e2a1546692645f661d2b57fc2aec06b24dbdc63a
247
cpp
C++
SDLEngine/SDLEngine/SDLEngine/src/Collision.cpp
AyushNathJha007/SDLEngine
ef779884fac9e72c038387f976c6e75eb2dd4187
[ "MIT" ]
1
2021-03-23T06:15:30.000Z
2021-03-23T06:15:30.000Z
SDLEngine/SDLEngine/SDLEngine/src/Collision.cpp
AyushNathJha007/SDLEngine
ef779884fac9e72c038387f976c6e75eb2dd4187
[ "MIT" ]
null
null
null
SDLEngine/SDLEngine/SDLEngine/src/Collision.cpp
AyushNathJha007/SDLEngine
ef779884fac9e72c038387f976c6e75eb2dd4187
[ "MIT" ]
null
null
null
#include "Collision.h" bool Collision::CheckCollisonAABB(const SDL_Rect & RectA, const SDL_Rect & RectB) { return (RectA.x + RectA.w >= RectB.x && RectB.x + RectB.w >= RectA.x && RectA.y + RectA.h >= RectB.y && RectB.y + RectB.h >= RectA.y); }
30.875
135
0.651822
e2a174e62ca5ff3e7cb1f9576f7a6e887fd2ce55
11,078
cpp
C++
MarkdownAndroid/SimpleMarkdownParserLib/src/main/cpp/simplemarkdownsymbolfindernative.cpp
crescentflare/SimpleMarkdownParser
908a543071f215b3ab7870741a1b9a6d70b72161
[ "MIT" ]
13
2016-08-01T07:48:25.000Z
2021-06-21T07:56:22.000Z
MarkdownAndroid/SimpleMarkdownParserLib/src/main/cpp/simplemarkdownsymbolfindernative.cpp
crescentflare/SimpleMarkdownParser
908a543071f215b3ab7870741a1b9a6d70b72161
[ "MIT" ]
5
2016-08-02T17:17:31.000Z
2020-09-12T14:40:18.000Z
MarkdownAndroid/SimpleMarkdownParserLib/src/main/cpp/simplemarkdownsymbolfindernative.cpp
crescentflare/SimpleMarkdownParser
908a543071f215b3ab7870741a1b9a6d70b72161
[ "MIT" ]
2
2016-08-03T02:36:26.000Z
2020-01-15T23:05:59.000Z
// -- // Includes // -- #include <jni.h> #include <cstdlib> #include <algorithm> #include <vector> #include <cstring> #include "utfstring.h" // -- // Constants, enum, struct and utility functions for markdown symbols // -- typedef enum { MARKDOWN_SYMBOL_INVALID = 0, MARKDOWN_SYMBOL_ESCAPE, MARKDOWN_SYMB...
37.808874
237
0.62403
e2a1b19379e49506277b71c350e108a2b1c638b2
1,320
cpp
C++
test/pprm_irs_integration_test.cpp
elishafer/mpt
e0997259fbd1431bab4b5ffb6f0d2f00fa380660
[ "BSD-3-Clause" ]
54
2018-09-28T17:28:02.000Z
2022-01-25T20:30:32.000Z
test/pprm_irs_integration_test.cpp
elishafer/mpt
e0997259fbd1431bab4b5ffb6f0d2f00fa380660
[ "BSD-3-Clause" ]
2
2019-11-21T20:16:26.000Z
2020-03-27T12:55:31.000Z
test/pprm_irs_integration_test.cpp
elishafer/mpt
e0997259fbd1431bab4b5ffb6f0d2f00fa380660
[ "BSD-3-Clause" ]
27
2019-05-15T00:18:46.000Z
2021-07-30T00:41:37.000Z
#define MPT_LOG_LEVEL WARN #include "planner_integration_test.hpp" #include <mpt/pprm_irs.hpp> #include <nigh/gnat.hpp> #include <nigh/linear.hpp> using namespace unc::robotics; using namespace mpt; using namespace mpt_test; TEST(pprm_irs_until_solved) { testSolvingBasicScenario<PPRMIRS<>>(); } TEST(pprm_irs_unt...
27.5
97
0.758333
e2a7da63197743e1c74c272fec6d02ec655c1235
644
cpp
C++
testargparser.cpp
HelpMeHelpYou/FlyElephantTask
a3b5c627d273cbba48c5f21f00e9d4a49b55d97a
[ "MIT" ]
null
null
null
testargparser.cpp
HelpMeHelpYou/FlyElephantTask
a3b5c627d273cbba48c5f21f00e9d4a49b55d97a
[ "MIT" ]
null
null
null
testargparser.cpp
HelpMeHelpYou/FlyElephantTask
a3b5c627d273cbba48c5f21f00e9d4a49b55d97a
[ "MIT" ]
null
null
null
#include "argparser.h" #include "gtest/gtest.h" #include "string.h" class TestArgParserFixture : public ::testing::Test { public: std::string param0 = "program"; std::string param1 ="arg0"; std::string param2 ="arg1"; const char* args [3] = {param0.c_str(),param1.c_str(),param2.c_str()}; ArgP...
22.206897
75
0.71118
e2a7eb02618e1146d3dcc4face2b43a79ee039dd
706
cpp
C++
examples/keyboard_example.cpp
yamaha-bps/cbr_drivers
64e971c0a7e79c414e81fe2ac32e6360adb266eb
[ "MIT" ]
null
null
null
examples/keyboard_example.cpp
yamaha-bps/cbr_drivers
64e971c0a7e79c414e81fe2ac32e6360adb266eb
[ "MIT" ]
null
null
null
examples/keyboard_example.cpp
yamaha-bps/cbr_drivers
64e971c0a7e79c414e81fe2ac32e6360adb266eb
[ "MIT" ]
null
null
null
// Copyright Yamaha 2021 // MIT License // https://github.com/yamaha-bps/cbr_drivers/blob/master/LICENSE #include <cbr_drivers/keyboard.hpp> #include <thread> #include <chrono> #include <iostream> int main(int argc, char ** argv) { if (argc != 2) { std::cerr << "usage: keyboard_example <device>" << std::endl; ...
27.153846
98
0.626062
e2ab3dfaa11c7ab8c72a35523b37b1b5fedf4220
19,759
cpp
C++
src/core/impl/StdPlayQueue.cpp
varunamachi/tanyatu
ce055e0fb0b688054fe19ef39b09a6ca655e2457
[ "MIT" ]
1
2018-01-07T18:11:04.000Z
2018-01-07T18:11:04.000Z
src/core/impl/StdPlayQueue.cpp
varunamachi/tanyatu
ce055e0fb0b688054fe19ef39b09a6ca655e2457
[ "MIT" ]
null
null
null
src/core/impl/StdPlayQueue.cpp
varunamachi/tanyatu
ce055e0fb0b688054fe19ef39b09a6ca655e2457
[ "MIT" ]
null
null
null
/******************************************************************************* * Copyright (c) 2014 Varuna L Amachi. All rights reserved. * * 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 ...
30.921753
81
0.557974
e2ab4c80a7fe64fddc92bdb639cb114230d00a54
99
cpp
C++
tets/extended/extended.cpp
modeckrus/qgroundcontrol
7a8048b2f2e9eeb5b55daae38d4c0e88c2bcd0c1
[ "Apache-2.0" ]
null
null
null
tets/extended/extended.cpp
modeckrus/qgroundcontrol
7a8048b2f2e9eeb5b55daae38d4c0e88c2bcd0c1
[ "Apache-2.0" ]
null
null
null
tets/extended/extended.cpp
modeckrus/qgroundcontrol
7a8048b2f2e9eeb5b55daae38d4c0e88c2bcd0c1
[ "Apache-2.0" ]
null
null
null
#include "extended.h" int extended(int a, int b){ LOG(INFO) << "Hey"; return a - b; }
14.142857
27
0.535354
e2af05453b217872a1efe228e70abdbbdee2d7c8
4,892
cpp
C++
csvfix/src/csved_fmerge.cpp
moissinac/csvfix
06cd5638e3a3bb0049fb7138c72211aef972c8d4
[ "MIT" ]
4
2022-01-25T15:54:29.000Z
2022-03-18T21:32:16.000Z
csvfix/src/csved_fmerge.cpp
moissinac/csvfix
06cd5638e3a3bb0049fb7138c72211aef972c8d4
[ "MIT" ]
1
2022-02-08T12:37:47.000Z
2022-02-08T12:37:47.000Z
csvfix/src/csved_fmerge.cpp
moissinac/csvfix
06cd5638e3a3bb0049fb7138c72211aef972c8d4
[ "MIT" ]
5
2021-12-14T05:42:52.000Z
2022-03-11T04:23:47.000Z
//--------------------------------------------------------------------------- // csved_fmerge.cpp // // merge multiple sorted csv files // // Copyright (C) 20011 Neil Butterworth //--------------------------------------------------------------------------- #include "a_base.h" #include "a_collect.h" #include ...
26.879121
79
0.370196
e2b0a0330d4b18167e55b92eada8b5b067622865
6,034
hpp
C++
src/layer/common/product_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
114
2017-06-14T07:05:31.000Z
2021-06-13T05:30:49.000Z
src/layer/common/product_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
7
2017-11-17T08:16:55.000Z
2019-10-05T00:09:20.000Z
src/layer/common/product_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
40
2017-06-15T03:21:10.000Z
2021-10-31T15:03:30.000Z
#ifndef TEXTNET_LAYER_PRODUCT_LAYER_INL_HPP_ #define TEXTNET_LAYER_PRODUCT_LAYER_INL_HPP_ #include <mshadow/tensor.h> #include "../layer.h" #include "../op.h" #include "../../utils/utils.h" namespace textnet { namespace layer { // this layer elem-wise products bottom representations on the last 2 dimensions template...
36.569697
119
0.608883
e2b91deab820a163ea6533cda2728508541ec8c7
402
cpp
C++
protocol_lib/ServiceDelegate.cpp
ThoughtWorksIoTGurgaon/nodes
2973a331b744c7f2abd412b0e0e760f6111ce687
[ "Apache-2.0" ]
null
null
null
protocol_lib/ServiceDelegate.cpp
ThoughtWorksIoTGurgaon/nodes
2973a331b744c7f2abd412b0e0e760f6111ce687
[ "Apache-2.0" ]
1
2015-09-24T02:11:17.000Z
2015-09-24T02:11:17.000Z
protocol_lib/ServiceDelegate.cpp
ThoughtWorksIoTGurgaon/nodes
2973a331b744c7f2abd412b0e0e760f6111ce687
[ "Apache-2.0" ]
null
null
null
/* * File: ServiceDelegate.cpp * Author: Anuj * * Created on 29 November, 2015, 10:13 AM */ #include "ServiceDelegate.h" ServiceDelegate::ServiceDelegate() { } void ServiceDelegate::didWriteToCharacteristic(char id, int len, char * value) {} void ServiceDelegate::didReadFromCharacteristic(char id, int len,...
23.647059
82
0.738806
e2ba4a8bd05cb9fca6d510aa2b05975d4cfc3e42
342
cc
C++
src/ast/literals.cc
anurudhp/decaf-compiler
67a72bb9cf77d46515165074c2ca8786738b02e6
[ "MIT" ]
null
null
null
src/ast/literals.cc
anurudhp/decaf-compiler
67a72bb9cf77d46515165074c2ca8786738b02e6
[ "MIT" ]
null
null
null
src/ast/literals.cc
anurudhp/decaf-compiler
67a72bb9cf77d46515165074c2ca8786738b02e6
[ "MIT" ]
null
null
null
#include "literals.hh" #include "../visitors/visitor.hh" #include "variables.hh" void LiteralAST::accept(ASTvisitor &V) { V.visit(*this); } void IntegerLiteralAST::accept(ASTvisitor &V) { V.visit(*this); } void BooleanLiteralAST::accept(ASTvisitor &V) { V.visit(*this); } void StringLiteralAST::accept(ASTvisitor &V...
26.307692
65
0.710526
e2bc602dd356567c32259d3b2744df18539a54ea
4,314
cpp
C++
Plugins/NotYetLoadingScreen/Source/NotYetLoadingScreen/Private/NYLoadingScreenSettings.cpp
LaudateCorpus1/WarriOrb
7c20320484957e1a7fe0c09ab520967849ba65f1
[ "MIT" ]
200
2021-03-17T11:15:05.000Z
2022-03-31T23:45:09.000Z
Plugins/NotYetLoadingScreen/Source/NotYetLoadingScreen/Private/NYLoadingScreenSettings.cpp
LaudateCorpus1/WarriOrb
7c20320484957e1a7fe0c09ab520967849ba65f1
[ "MIT" ]
null
null
null
Plugins/NotYetLoadingScreen/Source/NotYetLoadingScreen/Private/NYLoadingScreenSettings.cpp
LaudateCorpus1/WarriOrb
7c20320484957e1a7fe0c09ab520967849ba65f1
[ "MIT" ]
38
2021-03-17T13:29:18.000Z
2022-03-04T19:32:52.000Z
// Copyright (c) Csaba Molnar & Daniel Butum. All Rights Reserved. #include "NYLoadingScreenSettings.h" #include "UObject/ConstructorHelpers.h" #include "Engine/Font.h" #include "INYLoadingScreenModule.h" #define LOCTEXT_NAMESPACE "LoadingScreen" /////////////////////////////////////////////////////////////////////...
30.595745
120
0.573713
e2bdbc50e549bfb226810973b8bf1226419c5cf0
14,845
cpp
C++
implementations/ugene/src/libs_3rdparty/QSpec/src/primitives/GTWidget.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/libs_3rdparty/QSpec/src/primitives/GTWidget.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/libs_3rdparty/QSpec/src/primitives/GTWidget.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2017 UniPro <ugene@unipro.ru> * http://ugene.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 Foundation; either version 2 * ...
36.564039
164
0.658201
e2c17b66012062aa9824c0ee97aea7250fc91417
1,817
cc
C++
tools/traceline/traceline/assembler_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
tools/traceline/traceline/assembler_unittest.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
tools/traceline/traceline/assembler_unittest.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stdio.h> #include "assembler.h" int main(int argc, char** argv) { char buf[1024]; CodeBuffer cb(buf); // Branching tests first so ...
21.630952
73
0.636214
e2c2581c230d99a85295d58416f984ae1d900bc8
1,348
cpp
C++
tests/transform/Dct.cpp
ulikoehler/aquila
d5e3bde3c8d07678a95f225b657a7bb23d0c4730
[ "MIT" ]
361
2015-01-06T20:12:35.000Z
2022-03-29T01:58:49.000Z
tests/transform/Dct.cpp
ulikoehler/aquila
d5e3bde3c8d07678a95f225b657a7bb23d0c4730
[ "MIT" ]
30
2015-01-13T12:17:13.000Z
2021-06-03T14:12:10.000Z
tests/transform/Dct.cpp
ulikoehler/aquila
d5e3bde3c8d07678a95f225b657a7bb23d0c4730
[ "MIT" ]
112
2015-01-14T12:01:00.000Z
2022-03-29T06:42:00.000Z
#include "aquila/global.h" #include "aquila/transform/Dct.h" #include "UnitTest++/UnitTest++.h" #include <cstddef> #include <vector> SUITE(Dct) { TEST(AlternatingOnes) { const std::size_t SIZE = 4; const double testArray[SIZE] = {1.0, -1.0, 1.0, -1.0}; std::vector<double> vec(testArray...
26.96
67
0.575668
e2c5da21e0c4be2c2cdde04b62a614c9b5c97567
605
cpp
C++
Game/Source/Boss.cpp
BooStarGamer/Makers-Vs-Players-v2
db7f32e978f682e55f9d2542ac5879f7137e40ff
[ "MIT" ]
null
null
null
Game/Source/Boss.cpp
BooStarGamer/Makers-Vs-Players-v2
db7f32e978f682e55f9d2542ac5879f7137e40ff
[ "MIT" ]
null
null
null
Game/Source/Boss.cpp
BooStarGamer/Makers-Vs-Players-v2
db7f32e978f682e55f9d2542ac5879f7137e40ff
[ "MIT" ]
null
null
null
#include "Boss.h" #include "App.h" #include "Textures.h" Boss::Boss() : Entity(EntityType::BOSS) { } Boss::Boss(BossClass bClass) : Entity(EntityType::BOSS) { bossClass = bClass; // LIFE -> ((x / 1.5) + 20) // STRG -> ((x / 2) + 8) // DEFS -> ((x / 4) + 2) nose // EXPR -> expActLvl + expNextLvl / 2 } Boss::~Bos...
16.805556
93
0.634711
e2c6d4dcf2ef538a5ee27808e7c3a82e63a97086
20,493
cxx
C++
resip/stack/Contents.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
resip/stack/Contents.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
resip/stack/Contents.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#include <vector> #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include "resip/stack/Contents.hxx" #include "rutil/ParseBuffer.hxx" #include "rutil/Logger.hxx" #include "resip/stack/OctetContents.hxx" #include "rutil/MD5Stream.hxx" #include "rutil/WinLeakCheck.hxx" using namespace resip; using namespace std...
28.0342
108
0.611819
e2c7250919917ab7e48d5f7a5ccb8bdb691ee30b
11,209
cpp
C++
droneTrajectoryPlanner/src/sources/potencialFieldMap.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
droneTrajectoryPlanner/src/sources/potencialFieldMap.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
droneTrajectoryPlanner/src/sources/potencialFieldMap.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
////////////////////////////////////////////////////// // potencialFieldMap.cpp // // Created on: Jul 3, 2013 // Author: joselusl // // Last modification on: Oct 26, 2013 // Author: joselusl // ////////////////////////////////////////////////////// #include "potencialFieldMap.h" using namespace std; ...
21.514395
164
0.646356
e2d33d0bd8b5d9b6fde3a5f8833ffda6bd1ff5a2
8,973
cc
C++
gazebo/rendering/selection_buffer/SelectionBuffer.cc
siconos/gazebo-siconos
612f6a78184cb95d5e7a6898c42003c4109ae3c6
[ "ECL-2.0", "Apache-2.0" ]
5
2017-07-14T19:36:51.000Z
2020-04-01T06:47:59.000Z
gazebo/rendering/selection_buffer/SelectionBuffer.cc
siconos/gazebo-siconos
612f6a78184cb95d5e7a6898c42003c4109ae3c6
[ "ECL-2.0", "Apache-2.0" ]
20
2017-07-20T21:04:49.000Z
2017-10-19T19:32:38.000Z
gazebo/rendering/selection_buffer/SelectionBuffer.cc
siconos/gazebo-siconos
612f6a78184cb95d5e7a6898c42003c4109ae3c6
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2012-2016 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
32.046429
80
0.674134
e2d957adf0fc88c1af7466201525729df6da168a
731
cpp
C++
Cpp_Programs/lougu/oj/P1008.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
2
2018-10-01T09:03:35.000Z
2019-05-24T08:53:06.000Z
Cpp_Programs/lougu/oj/P1008.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
null
null
null
Cpp_Programs/lougu/oj/P1008.cpp
xiazeyu/OI_Resource
1de0ab9a84ee22ae4edb612ddeddc712c3c38e56
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <iostream> using namespace std; bool check(int a, int b, int c){ if((a > 999) || (b > 999) || (c > 999)) return false; int i; int t[10] = {0}; t[a % 10] = 1; t[(a % 100) / 10] = 1; t[a / 100] = 1; t[b % 10] = 1; t[(b % 100) / 10] = 1; ...
17
58
0.347469
e2db74577ced00a689d0405635de3263496311e0
3,775
cpp
C++
algorithms/cpp/Problems 201-300/_210_CourseScheduleII.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 201-300/_210_CourseScheduleII.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 201-300/_210_CourseScheduleII.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
/* Source - https://leetcode.com/problems/course-schedule-ii/ Author - Shivam Arora */ #include <bits/stdc++.h> using namespace std; bool dfs(vector<vector<int>>& graph, unordered_set<int>& visited, vector<bool>& recStack, stack<int>& st, int src) { visited.insert(src); recStack[src] = true; for(in...
24.673203
116
0.509934
e2dd208984ed94df4115b83769db56f19d659153
4,586
cpp
C++
services/sms_receive_indexer.cpp
openharmony-gitee-mirror/telephony_sms_mms
4f5eee78093bea8ca3198d54b5999ef889b52b19
[ "Apache-2.0" ]
null
null
null
services/sms_receive_indexer.cpp
openharmony-gitee-mirror/telephony_sms_mms
4f5eee78093bea8ca3198d54b5999ef889b52b19
[ "Apache-2.0" ]
null
null
null
services/sms_receive_indexer.cpp
openharmony-gitee-mirror/telephony_sms_mms
4f5eee78093bea8ca3198d54b5999ef889b52b19
[ "Apache-2.0" ]
1
2021-09-13T12:07:15.000Z
2021-09-13T12:07:15.000Z
/* * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
23.639175
111
0.73986
e2ddc96b8f612c794049531c117810a073c8de18
4,671
cpp
C++
app/genCSV.cpp
yukatayu/tentee_image_similarity
ae787c1b530483b30fdd152dbe51e8b50a1d9c5b
[ "MIT" ]
9
2020-05-07T17:30:04.000Z
2020-07-22T02:11:45.000Z
app/genCSV.cpp
yukatayu/tentee_image_similarity
ae787c1b530483b30fdd152dbe51e8b50a1d9c5b
[ "MIT" ]
null
null
null
app/genCSV.cpp
yukatayu/tentee_image_similarity
ae787c1b530483b30fdd152dbe51e8b50a1d9c5b
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <vector> #include <utility> #include <string> #include <algorithm> #include <fstream> #include <boost/filesystem.hpp> #include <boost/foreach.hpp> #include <opencv2/opencv.hpp> #include <opencv2/features2d.hpp> #include <illust_image_similarity.hpp> using namespace illust_im...
32.213793
107
0.61079
e2de3d31e386a752773e0ca890b7840b971b84b9
43
cpp
C++
morse/DotNet/cellImageBuilders/Processes.cpp
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
1
2019-12-24T15:52:45.000Z
2019-12-24T15:52:45.000Z
morse/DotNet/cellImageBuilders/Processes.cpp
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
null
null
null
morse/DotNet/cellImageBuilders/Processes.cpp
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "Processes.h"
14.333333
22
0.72093
e2e0191f848a36905cd9e826c939e59b0ed66ac0
335
cc
C++
nofx/nofx_ofTexture/nofx_ofGetUsingCustomTextureWrap.cc
sepehr-laal/nofx
7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e
[ "MIT" ]
null
null
null
nofx/nofx_ofTexture/nofx_ofGetUsingCustomTextureWrap.cc
sepehr-laal/nofx
7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e
[ "MIT" ]
null
null
null
nofx/nofx_ofTexture/nofx_ofGetUsingCustomTextureWrap.cc
sepehr-laal/nofx
7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e
[ "MIT" ]
null
null
null
#include "nofx_ofGetUsingCustomTextureWrap.h" #include "ofTexture.h" namespace nofx { namespace ClassWrappers { NAN_METHOD(nofx_ofGetUsingCustomTextureWrap) { NanReturnValue(ofGetUsingCustomTextureWrap()); } // !nofx_ofGetUsingCustomTextureWrap } // !namespace ClassWrappers } // ...
25.769231
52
0.722388
e2e2d057afea2bf6501049c3c5571097b1014a26
10,525
cpp
C++
src/CCString.cpp
nuvaboy/ComfortClasses
cbd1528be66bf567c7038a075443790ec7b130f6
[ "MIT" ]
null
null
null
src/CCString.cpp
nuvaboy/ComfortClasses
cbd1528be66bf567c7038a075443790ec7b130f6
[ "MIT" ]
null
null
null
src/CCString.cpp
nuvaboy/ComfortClasses
cbd1528be66bf567c7038a075443790ec7b130f6
[ "MIT" ]
null
null
null
/* * CCString.cpp * * Created on: 21.01.2019 * Author: jan */ /** * @file CCString.cpp * * @brief Implementierung von CCString, CCString::SplitIterator und anderen zusammenhängenden Funktionen. * * @author Jan Alexander Stiehl */ #include "CCString.hpp" #include <iomanip> #include <limits> #in...
25.484262
107
0.710784
e2e31c6b3373fb7ce53c18dcc608b4c927e31ddf
21,317
cpp
C++
kwset.cpp
h4ck3rm1k3/php-fss-FastStringSearch
2093d69f1b951add5354e5b722842edd9854d8cb
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
kwset.cpp
h4ck3rm1k3/php-fss-FastStringSearch
2093d69f1b951add5354e5b722842edd9854d8cb
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
kwset.cpp
h4ck3rm1k3/php-fss-FastStringSearch
2093d69f1b951add5354e5b722842edd9854d8cb
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
/* kwset.c - search for any of a set of keywords. Copyright 1989, 1998, 2000, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at ...
27.05203
77
0.599381
e2e3b44726b15ea0fa6726997db88f50fdcb0b6c
5,867
cpp
C++
src/sorting_network.cpp
afnaanhashmi/smt-switch
73dd8ccf3c737e6bcf214d9f967df4a16b437eb8
[ "BSD-3-Clause" ]
49
2018-02-20T12:47:28.000Z
2021-08-14T17:06:19.000Z
src/sorting_network.cpp
afnaanhashmi/smt-switch
73dd8ccf3c737e6bcf214d9f967df4a16b437eb8
[ "BSD-3-Clause" ]
117
2017-06-30T18:26:02.000Z
2021-08-17T19:50:18.000Z
src/sorting_network.cpp
afnaanhashmi/smt-switch
73dd8ccf3c737e6bcf214d9f967df4a16b437eb8
[ "BSD-3-Clause" ]
21
2019-10-10T22:22:03.000Z
2021-07-22T14:15:10.000Z
/********************* */ /*! \file sorting_network.cpp ** \verbatim ** Top contributors (to current version): ** Makai Mann ** This file is part of the smt-switch project. ** Copyright (c) 2020 by the authors listed in the file AUTHORS ** in the top-level source...
26.309417
122
0.63593
e2eb0f892f50f04886c4aa27d03cc01a76b60bcd
2,264
cpp
C++
zap/src/zap.cpp
colugomusic/blockhead_fx
e03f493b76f8747aea5522d214f3e8c3bb404110
[ "MIT" ]
null
null
null
zap/src/zap.cpp
colugomusic/blockhead_fx
e03f493b76f8747aea5522d214f3e8c3bb404110
[ "MIT" ]
null
null
null
zap/src/zap.cpp
colugomusic/blockhead_fx
e03f493b76f8747aea5522d214f3e8c3bb404110
[ "MIT" ]
null
null
null
#include <rack++/module/smooth_param.h> #include <rack++/module/channel.h> #include <snd/misc.h> #include "zap.h" using namespace rack; using namespace std::placeholders; Zap::Zap() : BasicStereoEffect("Zap") { param_spread_ = add_smooth_param(0.0f, "Spread"); param_spread_->set_transform([](const ml::...
29.025641
79
0.699647
e2edde13f8bd56ca97d153ea6c610c7940641ed8
5,174
hpp
C++
eagleye_util/fix2kml/include/fix2kml/GoogleEarthPath.hpp
lonfr/eagleye
8c5880827cd41ce62b6f2a1e2f10e90351bab19b
[ "BSD-3-Clause" ]
329
2020-03-19T00:41:00.000Z
2022-03-31T05:52:33.000Z
eagleye_util/fix2kml/include/fix2kml/GoogleEarthPath.hpp
yxw027/eagleye
b5eab2fd162841d7be17ef320faf0bbd4f9627c4
[ "BSD-3-Clause" ]
22
2020-03-20T09:14:19.000Z
2022-03-24T23:47:55.000Z
eagleye_util/fix2kml/include/fix2kml/GoogleEarthPath.hpp
yxw027/eagleye
b5eab2fd162841d7be17ef320faf0bbd4f9627c4
[ "BSD-3-Clause" ]
79
2020-03-19T03:08:29.000Z
2022-03-09T00:54:03.000Z
// 1 tab = 8 spaces /** * ID: GoogleEarthPath.hpp * EDITED: 23-09-2014 * AUTOR: Andres Gongora * * +------ Description: -----------------------------------------------------------+ * | | * | Class to store GPS coordinates in a Google Earth compatible KML file. | * | This can then be loaded a...
32.3375
111
0.473521
e2eee8e7256aaa6c8be651ed3ec7f3533ade731e
411
cpp
C++
count_set_bits.cpp
michal037/workspace
1b483fafcf47e6aab26f35218e4966486e3f5666
[ "MIT" ]
null
null
null
count_set_bits.cpp
michal037/workspace
1b483fafcf47e6aab26f35218e4966486e3f5666
[ "MIT" ]
null
null
null
count_set_bits.cpp
michal037/workspace
1b483fafcf47e6aab26f35218e4966486e3f5666
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /* https://hackaday.com/2019/06/19/abusing-a-cpus-adders-to-optimize-bit-counting/ */ unsigned char count_set_bits(unsigned int x) { unsigned char ret = 0; while(x) { ret++; x &= x - 1; } return ret; } int main() { cout << "Count the set bits." << endl; cout << ...
19.571429
86
0.649635
e2f0970a4793179463cf01ac6c1cd4a28c13fce6
294
cpp
C++
codeforces/contests/round/622-div2/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/contests/round/622-div2/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/contests/round/622-div2/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> int32_t main(){ desync(); int t; cin >> t; while(t--){ int n, x, y; cin >> n >> x >> y; int lo = min(n, 1+max((int)0, (x+y)-n)); int hi = min(n, x+y-1); cout << lo << ' ' << hi << endl; } return 0; }
18.375
48
0.394558
e2f1d06519c6d2cd8e39dd1e185e10a2c047a274
4,112
cc
C++
tests/test_puzzle_private.cc
joshleeb/Sudoku
4e20ea1e7b1f39280b44bb1f0101c1bc4378f5cc
[ "MIT" ]
null
null
null
tests/test_puzzle_private.cc
joshleeb/Sudoku
4e20ea1e7b1f39280b44bb1f0101c1bc4378f5cc
[ "MIT" ]
null
null
null
tests/test_puzzle_private.cc
joshleeb/Sudoku
4e20ea1e7b1f39280b44bb1f0101c1bc4378f5cc
[ "MIT" ]
null
null
null
#include <vector> #include <catch/catch.hpp> #define private public #include "../src/puzzle.h" SCENARIO("getting available moves", "[puzzle]") { GIVEN("a puzzle with a valid 9x9 board") { std::vector<int> expected_moves{}; puzzle new_puzzle(std::vector<int>{ 5, 3, -1, -1, 7, -1, -1...
31.875969
79
0.514835
e2f2ef30eee8ee1f57f2d867a14644b8ba1910f4
939
cpp
C++
third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitLineClamp.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitLineClamp.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitLineClamp.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "core/css/properties/CSSPropertyAPIWebkitLineClamp.h" #include "core/css/parser/CSSPropertyParserHelpers.h" class CSSParserLocalContext; namesp...
33.535714
78
0.765708
e2f4e5d6fd6503f904d0b2a84f5d395f65b78a0c
473
cpp
C++
C++/Sorting/insertion_sort.cpp
mrjayantk237/Hacktober_Fest_2021
6dcd022a7116b81310534dcd0da8d66c185ac410
[ "MIT" ]
21
2021-10-02T14:14:33.000Z
2022-01-12T16:27:49.000Z
C++/Sorting/insertion_sort.cpp
mrjayantk237/Hacktober_Fest_2021
6dcd022a7116b81310534dcd0da8d66c185ac410
[ "MIT" ]
11
2021-10-03T15:02:56.000Z
2021-10-30T17:42:37.000Z
C++/Sorting/insertion_sort.cpp
mrjayantk237/Hacktober_Fest_2021
6dcd022a7116b81310534dcd0da8d66c185ac410
[ "MIT" ]
64
2021-10-02T09:20:19.000Z
2021-10-31T20:21:01.000Z
#include <iostream> using namespace std; int main(void) { int n; cin >> n; int a[n]; for (int i = 0; i < n; i++) { cin >> a[i]; } for (int i = 1; i < n; i++) { int temp = a[i]; int j = i - 1; while (j >= 0 && a[j] > temp) { a[j + 1] = ...
15.766667
37
0.312896
e2f70fecbc94632b3e8635ec2962c9468f336e2a
2,588
cpp
C++
Olimpiada/2013/betasah.cpp
rlodina99/Learn_cpp
0c5bd9e6c52ca21e2eb95eb91597272ddc842c08
[ "MIT" ]
null
null
null
Olimpiada/2013/betasah.cpp
rlodina99/Learn_cpp
0c5bd9e6c52ca21e2eb95eb91597272ddc842c08
[ "MIT" ]
null
null
null
Olimpiada/2013/betasah.cpp
rlodina99/Learn_cpp
0c5bd9e6c52ca21e2eb95eb91597272ddc842c08
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <climits> using namespace std; int main(){ ifstream f("betasah.in"); int n,d,k; f >> n >> d >> k; int mat[n][n]; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ mat[i][j]=0; } } for(int i=0;i<n;i++){ for(int j=n-1;j>i;j--){ mat[i][j]=9; } } in...
15.046512
38
0.362056