hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
b5cd5ed893535932712ac661a6939930b707839c
12,034
cc
C++
xarm_api/src/xarm_core/instruction/uxbus_cmd.cc
stevewen/xarm_ros
93770d50faf83be627ad16c268c7477ba72187c5
[ "BSD-3-Clause" ]
null
null
null
xarm_api/src/xarm_core/instruction/uxbus_cmd.cc
stevewen/xarm_ros
93770d50faf83be627ad16c268c7477ba72187c5
[ "BSD-3-Clause" ]
null
null
null
xarm_api/src/xarm_core/instruction/uxbus_cmd.cc
stevewen/xarm_ros
93770d50faf83be627ad16c268c7477ba72187c5
[ "BSD-3-Clause" ]
null
null
null
/* Copyright 2017 UFACTORY Inc. All Rights Reserved. * * Software License Agreement (BSD License) * * Author: Jimy Zhang <jimy92@163.com> ============================================================================*/ #include "xarm/instruction/uxbus_cmd.h" #include "xarm/instruction/servo3_config.h" #inclu...
28.248826
80
0.650241
stevewen
b5cd79a05b721e64c5f9a08ccd37f1c95e5f6e76
3,585
cc
C++
crypto/uuid.cc
stablecc/scclib
cedcb3b37a814d3a393e128db7aa9753f518cbaf
[ "BSD-3-Clause" ]
null
null
null
crypto/uuid.cc
stablecc/scclib
cedcb3b37a814d3a393e128db7aa9753f518cbaf
[ "BSD-3-Clause" ]
10
2022-02-27T18:52:11.000Z
2022-03-21T14:11:35.000Z
crypto/uuid.cc
stablecc/scclib
cedcb3b37a814d3a393e128db7aa9753f518cbaf
[ "BSD-3-Clause" ]
null
null
null
/* BSD 3-Clause License Copyright (c) 2022, Stable Cloud Computing, Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions...
28.228346
80
0.67894
stablecc
b5cda330eefe38e66510d1bc15d4e51a916d1222
543
hpp
C++
liboh/include/oh/ProxyLightObject.hpp
princeofcode/sirikata
41d33a574934aea2d8a30ce3514509b7a4ec182e
[ "BSD-3-Clause" ]
1
2016-05-09T07:55:37.000Z
2016-05-09T07:55:37.000Z
liboh/include/oh/ProxyLightObject.hpp
princeofcode/sirikata
41d33a574934aea2d8a30ce3514509b7a4ec182e
[ "BSD-3-Clause" ]
null
null
null
liboh/include/oh/ProxyLightObject.hpp
princeofcode/sirikata
41d33a574934aea2d8a30ce3514509b7a4ec182e
[ "BSD-3-Clause" ]
null
null
null
#ifndef _SIRIKATA_PROXY_LIGHT_OBJECT_HPP_ #define _SIRIKATA_PROXY_LIGHT_OBJECT_HPP_ #include "LightListener.hpp" #include "ProxyPositionObject.hpp" namespace Sirikata { /** * This class represents a ProxyObject that holds a LightInfo */ class SIRIKATA_OH_EXPORT ProxyLightObject : public MarkovianProvider1<LightList...
27.15
84
0.779006
princeofcode
b5cdb76ac53f7881584cc514459e4a5c2d0db674
3,520
cpp
C++
ThreadTaxi.cpp
MapleStoryGameHack/Deprecated-RwBox-Plus
df927665c316b43791c4b72e2ac8a00789d05877
[ "MIT" ]
1
2021-07-11T13:01:57.000Z
2021-07-11T13:01:57.000Z
ThreadTaxi.cpp
MapleStoryGameHack/Deprecated-RwBox-Plus
df927665c316b43791c4b72e2ac8a00789d05877
[ "MIT" ]
null
null
null
ThreadTaxi.cpp
MapleStoryGameHack/Deprecated-RwBox-Plus
df927665c316b43791c4b72e2ac8a00789d05877
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #pragma hdrstop #include "Map.h"; #include "ThreadTaxi.h" #include "Pointer.h" #include "Function.h" #include "WindowHook.h" //--------------------------------------------------------------------------- TThreadTaxi* ThreadTaxi ; __...
21.728395
93
0.578977
MapleStoryGameHack
b5ce5589a216c73c7dcfc97d020e48d119c9b4cc
622
cc
C++
codeforces/1130/b.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
codeforces/1130/b.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
codeforces/1130/b.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://codeforces.com/contest/1130/problem/B #include<bits/stdc++.h> using namespace std; using ll=long long; using vi=vector<ll>; using vvi=vector<vi>; int main(){ ios::sync_with_stdio(0); cin.tie(0); ll n; cin>>n; vvi a(n); for(ll i=0;i<2*n;i++){ ll x; cin>>x; x--; a[x].push_back(i); ...
17.277778
57
0.512862
Ashindustry007
b5cefd2065c6c3cf7aaff7828bf4683581136abb
1,172
cpp
C++
OpenCV/facedetect.cpp
AmarOk1412/Scripts-CDSB
87a356ab32af231787b0831286053c2b5fef7abf
[ "WTFPL" ]
null
null
null
OpenCV/facedetect.cpp
AmarOk1412/Scripts-CDSB
87a356ab32af231787b0831286053c2b5fef7abf
[ "WTFPL" ]
null
null
null
OpenCV/facedetect.cpp
AmarOk1412/Scripts-CDSB
87a356ab32af231787b0831286053c2b5fef7abf
[ "WTFPL" ]
null
null
null
#include <opencv2/objdetect/objdetect.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> #include <stdio.h> #define ESC 27 using namespace std; using namespace cv; int main(int argc, const char** argv) { CascadeClassifier face_cascade; face_cascade.load("haarcas...
20.206897
125
0.703925
AmarOk1412
b5d02d9f1cc28410f04a505d24a5922ca36f8690
3,339
cpp
C++
code_reading/oceanbase-master/deps/oblib/unittest/lib/container/test_ring_buffer.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/deps/oblib/unittest/lib/container/test_ring_buffer.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/deps/oblib/unittest/lib/container/test_ring_buffer.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
24.021583
88
0.609763
wangcy6
b5d09e10d87dd250f44f3d9d73afb41ca07c0cb9
1,028
hpp
C++
Keys.hpp
dnasdw/ctrcdnfetch
f3a4dcfd5f6e615635e1acea8746cd67e5e83643
[ "MIT" ]
1
2020-10-26T17:13:32.000Z
2020-10-26T17:13:32.000Z
Keys.hpp
dnasdw/ctrcdnfetch
f3a4dcfd5f6e615635e1acea8746cd67e5e83643
[ "MIT" ]
null
null
null
Keys.hpp
dnasdw/ctrcdnfetch
f3a4dcfd5f6e615635e1acea8746cd67e5e83643
[ "MIT" ]
null
null
null
#ifndef __KEYS_HPP__ #define __KEYS_HPP__ #include "types.h" namespace NintendoData { namespace KeyUtils { namespace Storage { enum KeyType { KeyX, KeyY, KeyNormal }; void ReloadStorage(); const u8* GetKey(int keyslot, KeyType type = KeyX, bool retail = true); const u8* GetKeyX(int keyslo...
35.448276
103
0.703307
dnasdw
b5d1b131006a5d8e01b001fb277f2fd11aaf7080
1,411
cpp
C++
tests/module/object_test.cpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
1
2018-10-18T10:15:53.000Z
2018-10-18T10:15:53.000Z
tests/module/object_test.cpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
7
2019-12-04T23:36:03.000Z
2021-04-21T12:37:07.000Z
tests/module/object_test.cpp
mambaru/wfc
170bf87302487c0cedc40b47c84447a765894774
[ "MIT" ]
null
null
null
#define IOW_DISABLE_LOG #include <iow/logger.hpp> #include <wfc/domain_object.hpp> #include <wfc/module/instance.hpp> #include <wfc/module/singleton.hpp> #include <wfc/module/multiton.hpp> #include <fas/utility/ignore_args.hpp> struct itest: public wfc::iinterface { ~itest(){} }; struct options { int test = 33...
18.565789
77
0.669029
mambaru
b5d417695dc6a5ef7d643a1cf3c2f9178f0f0f48
18,707
cpp
C++
gearoenix/render/graph/tree/gx-rnd-gr-tr-pbr.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/render/graph/tree/gx-rnd-gr-tr-pbr.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/render/graph/tree/gx-rnd-gr-tr-pbr.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#include "gx-rnd-gr-tr-pbr.hpp" #include "../../../core/asset/gx-cr-asset-manager.hpp" #include "../../../core/sync/gx-cr-sync-kernel-workers.hpp" #include "../../../physics/gx-phs-engine.hpp" #include "../../../system/gx-sys-application.hpp" #include "../../camera/gx-rnd-cmr-perspective.hpp" #include "../../engine/gx-...
41.943946
158
0.600043
Hossein-Noroozpour
b5dcb140de4475a08dd5ba6bbdd81b4c578931b4
4,639
cc
C++
ui/ozone/platform/dri/crtc_controller.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/ozone/platform/dri/crtc_controller.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/ozone/platform/dri/crtc_controller.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-04-04T13:34:56.000Z
2020-11-04T07:17:52.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/ozone/platform/dri/crtc_controller.h" #include "base/logging.h" #include "base/time/time.h" #include "ui/ozone/platform/dri/dri_wrapper.h" #...
31.773973
80
0.661781
hefen1
b5df3f87c0836fa18ab4d58b828505a316c0c16c
2,670
cpp
C++
vcc/src/fence.cpp
sjfricke/vulkan-cpp-library
82314d765013ce96e23186594259eebaf3127072
[ "Apache-2.0" ]
276
2016-04-04T20:47:47.000Z
2022-02-01T21:48:42.000Z
vcc/src/fence.cpp
sjfricke/vulkan-cpp-library
82314d765013ce96e23186594259eebaf3127072
[ "Apache-2.0" ]
2
2017-03-23T20:33:23.000Z
2017-05-17T21:03:16.000Z
vcc/src/fence.cpp
sjfricke/vulkan-cpp-library
82314d765013ce96e23186594259eebaf3127072
[ "Apache-2.0" ]
42
2016-04-07T21:00:53.000Z
2021-09-05T09:17:03.000Z
/* * Copyright 2016 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 applicable law or agree...
34.675325
87
0.753933
sjfricke
b5e06ebbf8a12bc929daf4a1551f54864f3ecc8a
1,230
cpp
C++
Longest Subarray of 1's After Deleting One Element.cpp
PoojaRani24/Leetcode_Monthly_Challenge
9ad56cb332b33bf8ce1c4ef5e64f92a1599e598b
[ "MIT" ]
null
null
null
Longest Subarray of 1's After Deleting One Element.cpp
PoojaRani24/Leetcode_Monthly_Challenge
9ad56cb332b33bf8ce1c4ef5e64f92a1599e598b
[ "MIT" ]
null
null
null
Longest Subarray of 1's After Deleting One Element.cpp
PoojaRani24/Leetcode_Monthly_Challenge
9ad56cb332b33bf8ce1c4ef5e64f92a1599e598b
[ "MIT" ]
null
null
null
class Solution { public: int longestSubarray(vector<int>& nums) { vector<pair<int,int>>v; int count=0; for(int i=0;i<nums.size();){ if(nums[i]==0) i++; else{ int start=i; int c=0; while(i<nums.size() && n...
26.73913
55
0.339837
PoojaRani24
b5e3847310e58f59993c42ded3f4625891223f52
1,062
cpp
C++
CsPlugin/Source/CsEditor/Public/DetailCustomizations/EnumStruct/Team/ECsTeamCustomization.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsPlugin/Source/CsEditor/Public/DetailCustomizations/EnumStruct/Team/ECsTeamCustomization.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsPlugin/Source/CsEditor/Public/DetailCustomizations/EnumStruct/Team/ECsTeamCustomization.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved. #include "DetailCustomizations/EnumStruct/Team/ECsTeamCustomization.h" // Types #include "Team/CsTypes_Team.h" #define LOCTEXT_NAMESPACE "ECsTeamCustomization" #define EnumMapType EMCsTeam #define EnumType FECsTeam FECsTeamCustomization::FECsTeamCus...
25.285714
96
0.834275
closedsum
b5e4860f8b8f0f766cdf780d3f4708b774d987ed
3,264
hpp
C++
include/Pomdog/Graphics/DepthStencilDescription.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/DepthStencilDescription.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/DepthStencilDescription.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_DEPTHSTENCILDESCRIPTION_E14C5D77_HPP #define POMDOG_DEPTHSTENCILDESCRIPTION_E14C5D77_HPP #include "ComparisonFunction.hpp" #include "DepthStencilOperation.hpp" #include "Pomdog/Basic/Export.hpp" ...
35.478261
74
0.704044
bis83
b5ece2947cc73f1bb321c8c8e02d09bc2888ca5f
1,916
cpp
C++
src/SolarChargeSystem/lib/SerialReceiver/SerialReceiver.cpp
jack96013/Solar-Charge-System
e64c5fece5bff9b7a7f1c7d9b92235ed9e391812
[ "MIT" ]
null
null
null
src/SolarChargeSystem/lib/SerialReceiver/SerialReceiver.cpp
jack96013/Solar-Charge-System
e64c5fece5bff9b7a7f1c7d9b92235ed9e391812
[ "MIT" ]
null
null
null
src/SolarChargeSystem/lib/SerialReceiver/SerialReceiver.cpp
jack96013/Solar-Charge-System
e64c5fece5bff9b7a7f1c7d9b92235ed9e391812
[ "MIT" ]
null
null
null
#include "SerialReceiver.h" SerialReceiver::SerialReceiver() { } void SerialReceiver::begin(Stream& serial,uint16_t bufferLength) { this->serial = &serial; receiveBufferLength = bufferLength; receiveBuffer.reserve(bufferLength + 1); //serial.println("Ready !"); } void SerialReceiver::run() ...
20.602151
79
0.600731
jack96013
b5eec152c2d814fe6deada75cf753da496deb74c
362
cpp
C++
Source/MarchingCubes/MarchingCubesGameModeBase.cpp
Styvak/Marching-Cubes-UE4
2ef8266f0a63294fbd1789724281b4d87e9b8daa
[ "MIT" ]
2
2020-04-19T12:07:33.000Z
2020-05-15T21:17:48.000Z
Source/MarchingCubes/MarchingCubesGameModeBase.cpp
Styvak/Marching-Cubes-UE4
2ef8266f0a63294fbd1789724281b4d87e9b8daa
[ "MIT" ]
null
null
null
Source/MarchingCubes/MarchingCubesGameModeBase.cpp
Styvak/Marching-Cubes-UE4
2ef8266f0a63294fbd1789724281b4d87e9b8daa
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "MarchingCubesGameModeBase.h" #include "BlockManager.h" void AMarchingCubesGameModeBase::InitGame(const FString& MapName, const FString& Options, FString& ErrorMessage) { Super::InitGame(MapName, Options, ErrorMessage); BlockM...
30.166667
112
0.792818
Styvak
b5f031cd0c6b4408ae9cc3709dfb9e10e6935c84
2,228
hpp
C++
combinator/aggregate.hpp
kindone/proptest
174981600571b75bbd9ed69f56453c9994d2878c
[ "MIT" ]
null
null
null
combinator/aggregate.hpp
kindone/proptest
174981600571b75bbd9ed69f56453c9994d2878c
[ "MIT" ]
null
null
null
combinator/aggregate.hpp
kindone/proptest
174981600571b75bbd9ed69f56453c9994d2878c
[ "MIT" ]
null
null
null
#pragma once #include "../Shrinkable.hpp" #include "../Random.hpp" #include "../GenBase.hpp" #include "../util/function_traits.hpp" #include "../util/std.hpp" #include "../generator/integral.hpp" /** * @file aggregate.hpp * @brief Generator combinator for aggregating sequencially generated values into a value with ...
37.762712
117
0.686266
kindone
b5f3921e8c1e683e8363151dbf1fc343f6525cc2
502
cpp
C++
src/nimbro/motion/gait_engines/feed_gait/src/kinematics/feed_kinematics_base.cpp
ssr-yuki/humanoid_op_ros
e8be8c445ead8c0d470c7998fdc28446ca9eb47a
[ "BSD-3-Clause" ]
45
2015-11-04T01:29:12.000Z
2022-02-11T05:37:42.000Z
src/nimbro/motion/gait_engines/feed_gait/src/kinematics/feed_kinematics_base.cpp
ssr-yuki/humanoid_op_ros
e8be8c445ead8c0d470c7998fdc28446ca9eb47a
[ "BSD-3-Clause" ]
1
2016-08-10T04:00:32.000Z
2016-08-10T12:59:36.000Z
src/nimbro/motion/gait_engines/feed_gait/src/kinematics/feed_kinematics_base.cpp
ssr-yuki/humanoid_op_ros
e8be8c445ead8c0d470c7998fdc28446ca9eb47a
[ "BSD-3-Clause" ]
20
2016-03-05T14:28:45.000Z
2021-01-30T00:50:47.000Z
// Feedback gait kinematics base class // Author: Philipp Allgeuer <pallgeuer@ais.uni-bonn.de> // Includes #include <feed_gait/kinematics/feed_kinematics_base.h> // Namespaces using namespace feed_gait; // // FeedKinematicsBase class // // Gait halt pose function: PoseCommand void FeedKinematicsBase::getHaltPose(Po...
22.818182
65
0.782869
ssr-yuki
b5f41904025ba35fbe68d8a502804c774be8181a
191
hpp
C++
src/AudioLib/EffectType.hpp
CircuitMess/JayD-Library
f90bbb72224681a972cd2b535f80925a3319e631
[ "MIT" ]
2
2021-08-19T17:23:46.000Z
2021-10-10T17:11:04.000Z
src/AudioLib/EffectType.hpp
CircuitMess/JayD-Library
f90bbb72224681a972cd2b535f80925a3319e631
[ "MIT" ]
null
null
null
src/AudioLib/EffectType.hpp
CircuitMess/JayD-Library
f90bbb72224681a972cd2b535f80925a3319e631
[ "MIT" ]
1
2021-11-21T16:02:06.000Z
2021-11-21T16:02:06.000Z
#ifndef JAYD_LIBRARY_EFFECTTYPE_HPP #define JAYD_LIBRARY_EFFECTTYPE_HPP enum EffectType { NONE, SPEED, LOWPASS, HIGHPASS, REVERB, BITCRUSHER, COUNT }; #endif //JAYD_LIBRARY_EFFECTTYPE_HPP
21.222222
58
0.82199
CircuitMess
b5f4e469e002fba53bf7f9bdfcccb3e86bcabefa
2,552
cpp
C++
uva/uva1588/main.cpp
oklen/my-soluation
56d6c32f0a328332b090f9d633365b75605f4616
[ "MIT" ]
null
null
null
uva/uva1588/main.cpp
oklen/my-soluation
56d6c32f0a328332b090f9d633365b75605f4616
[ "MIT" ]
null
null
null
uva/uva1588/main.cpp
oklen/my-soluation
56d6c32f0a328332b090f9d633365b75605f4616
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; constexpr int intsize = sizeof(int); int fillstr(char *ar) { int count = 0; char cache = getchar(); if(cache == EOF) exit(0); while(cache!='\n') { ar[count++] = cache; cache = getchar(); } return count; } i...
22
107
0.375
oklen
b5f511168de95fe0d248f4b44369abfff29e0a25
18,603
cpp
C++
globfit/src/RelationGraph.cpp
frozar/RAPter
8f1f9a37e4ac12fa08a26d18f58d3b335f797200
[ "Apache-2.0" ]
27
2017-09-21T19:52:28.000Z
2022-03-09T13:47:02.000Z
globfit/src/RelationGraph.cpp
frozar/RAPter
8f1f9a37e4ac12fa08a26d18f58d3b335f797200
[ "Apache-2.0" ]
12
2017-07-26T15:00:32.000Z
2021-12-03T03:08:15.000Z
globfit/src/RelationGraph.cpp
frozar/RAPter
8f1f9a37e4ac12fa08a26d18f58d3b335f797200
[ "Apache-2.0" ]
11
2017-03-24T16:56:08.000Z
2020-11-21T13:18:33.000Z
#include <boost/graph/breadth_first_search.hpp> #include <boost/graph/biconnected_components.hpp> #include <boost/graph/connected_components.hpp> #include "Primitive.h" #include "GlobFit.h" #include "RelationGraph.h" class PathDetectedException { public: protected: private: }; class path_recorder:publ...
34.968045
178
0.622319
frozar
b5f5162e7ba888302af6f4ecf48dc048e8c80be4
648
cpp
C++
HSAHRBNUOJ/P27xx/P2711.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
HSAHRBNUOJ/P27xx/P2711.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
HSAHRBNUOJ/P27xx/P2711.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <cstdio> #define MAXN 110 using namespace std; struct point { int x; int y; }; point a[MAXN]; int n, ans; bool judge(int p, int q, int r) { if (a[p].x == a[q].x && a[q].x == a[r].x) return false; if (a[p].y == a[q].y && a[q].y == a[r].y) return false; if ((a[r].y - a[q].y) * (a[q].x - a[p].x) == (a[r]....
19.058824
98
0.464506
HeRaNO
b5f673fb80ce02ef3b53323ff159b7c8e8907e38
1,197
cpp
C++
Records.cpp
pmwasson/LightCycle
42e9b7e0fe0e17ee231f43577b222288306be238
[ "MIT" ]
2
2019-12-07T19:37:31.000Z
2020-03-18T13:33:46.000Z
Records.cpp
pmwasson/LightCycle
42e9b7e0fe0e17ee231f43577b222288306be238
[ "MIT" ]
null
null
null
Records.cpp
pmwasson/LightCycle
42e9b7e0fe0e17ee231f43577b222288306be238
[ "MIT" ]
1
2020-06-30T15:46:03.000Z
2020-06-30T15:46:03.000Z
#include "Records.h" void Records::validate() { if (checksum != calcChecksum()) { edgeRaceMinutes = 99; edgeRaceSeconds = 0; edgeRaceSeed = 0xFADED; crazyCourierScore = 0; crazyCourierSeed = 0xDECAF; checksum = calcChecksum(); } } bool Records::setER(uint32_t seed, uint8_t minutes, uint8_t...
23.019231
101
0.619048
pmwasson
b5fd38e38aba66f3e4f63ed577a561d4dfae7516
3,079
cpp
C++
redis-cli/command.cpp
mobile-pos/amp
efe4eb4fda1e6f1ad2ee6113c3bf0a9a61068763
[ "MIT" ]
6
2020-09-12T08:16:46.000Z
2020-11-19T04:05:35.000Z
redis-cli/command.cpp
mobile-pos/amp
efe4eb4fda1e6f1ad2ee6113c3bf0a9a61068763
[ "MIT" ]
null
null
null
redis-cli/command.cpp
mobile-pos/amp
efe4eb4fda1e6f1ad2ee6113c3bf0a9a61068763
[ "MIT" ]
2
2020-12-11T02:27:56.000Z
2021-11-18T02:15:01.000Z
#include "command.h" using namespace Redis; Command::Command(QString commandName, QObject *parent) : QObject(parent), commandName(commandName) { arguments << commandName; } void Command::addArgument(QVariant argument) { arguments << argument; } void Command::addArgumentStrings(QStringList arguments) { ...
18.889571
73
0.683664
mobile-pos
b5fd899d46cd2044378731b452add96fc5a8fee3
9,183
cpp
C++
bundle/calamares/src/calamares/DebugWindow.cpp
ehalferty/garchinstall
29185f13a53d6bef0983349f29856a349e753d0a
[ "BSD-2-Clause" ]
null
null
null
bundle/calamares/src/calamares/DebugWindow.cpp
ehalferty/garchinstall
29185f13a53d6bef0983349f29856a349e753d0a
[ "BSD-2-Clause" ]
null
null
null
bundle/calamares/src/calamares/DebugWindow.cpp
ehalferty/garchinstall
29185f13a53d6bef0983349f29856a349e753d0a
[ "BSD-2-Clause" ]
null
null
null
/* === This file is part of Calamares - <https://calamares.io> === * * SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac <teo@kde.org> * SPDX-FileCopyrightText: 2019 Adriaan de Groot <groot@kde.org> * SPDX-License-Identifier: GPL-3.0-or-later * * Calamares is Free Software: see the License-Identifier above. ...
31.665517
120
0.582054
ehalferty
bd0403e8ed23cf7df3d81530bfdbea5c6b1f7840
1,564
cpp
C++
tools/deps/MachoParser/src/MachoTools.cpp
streamwater/HookZz
b09b89ea520c442142bf93b32c1a92b082715d59
[ "Apache-2.0" ]
4
2019-04-23T14:44:50.000Z
2020-11-05T06:52:37.000Z
tools/deps/MachoParser/src/MachoTools.cpp
streamwater/HookZz
b09b89ea520c442142bf93b32c1a92b082715d59
[ "Apache-2.0" ]
null
null
null
tools/deps/MachoParser/src/MachoTools.cpp
streamwater/HookZz
b09b89ea520c442142bf93b32c1a92b082715d59
[ "Apache-2.0" ]
4
2019-04-23T08:26:33.000Z
2021-09-21T07:45:19.000Z
// Copyright 2017 jmpews // // 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 ...
30.666667
78
0.698849
streamwater
bd0508eac89c0ad4ebc1d8293f06bfcef10623e2
3,546
cpp
C++
dynamic_programming_tsp_solution/main.cpp
adw1n/TSP
a98ac96593023d1e782e60ff3e562b54caa7cc88
[ "WTFPL" ]
null
null
null
dynamic_programming_tsp_solution/main.cpp
adw1n/TSP
a98ac96593023d1e782e60ff3e562b54caa7cc88
[ "WTFPL" ]
1
2015-01-03T03:36:36.000Z
2015-01-03T03:37:21.000Z
dynamic_programming_tsp_solution/main.cpp
adw1n/TSP
a98ac96593023d1e782e60ff3e562b54caa7cc88
[ "WTFPL" ]
null
null
null
//DP O(n^2 * 2^n) solution for tsp problem #include <cstdio> #include <iostream> #include <algorithm> #include <string> #include <vector> #include <cstring> #include <set> #include <numeric> #include <utility> #include <map> #include <cmath> #include <functional> #include <chrono> using namespace std; using namespace c...
31.660714
118
0.648336
adw1n
bd0594d47c0c5ad4f3923d2845466807efb29609
707
cpp
C++
2nd/378_kth_smallest_element_in_a_sorted_matrix.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
2nd/378_kth_smallest_element_in_a_sorted_matrix.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
2nd/378_kth_smallest_element_in_a_sorted_matrix.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; class Solution { public: int kthSmallest(vector<vector<int>>& matrix, int k) { if (matrix.empty()) return 0; int left = matrix[0][0], right = matrix.back().back(); while (left < right) { int cnt = 0; ...
23.566667
106
0.472419
buptlxb
bd05fc8012747354593e61af4b0c9f4bc1f9267a
1,044
cpp
C++
test/compare/test_compare_uint64.cpp
VeloPayments/v-portable-runtime
0810b249f78b04c9003db47782eb6a5bbb95f028
[ "MIT" ]
null
null
null
test/compare/test_compare_uint64.cpp
VeloPayments/v-portable-runtime
0810b249f78b04c9003db47782eb6a5bbb95f028
[ "MIT" ]
null
null
null
test/compare/test_compare_uint64.cpp
VeloPayments/v-portable-runtime
0810b249f78b04c9003db47782eb6a5bbb95f028
[ "MIT" ]
1
2020-07-03T18:18:24.000Z
2020-07-03T18:18:24.000Z
/** * \file test_compare_uint64.cpp * * Unit tests for compare_uint64. * * \copyright 2017 Velo-Payments, Inc. All rights reserved. */ #include <gtest/gtest.h> #include <vpr/compare.h> /** * Test that comparing two uint64_t values that are equal results in 0. */ TEST(compare_uint64, equality) { const uin...
22.212766
71
0.65613
VeloPayments
bd07027f10655ddf7e7644cece5a940dd0649e0d
7,191
cpp
C++
ShaderGLLib/Material.cpp
EPAC-Saxon/advance-obj-JulienBaumgartner
884aaf5a960f4f9575b0e9028b3234eacbfbb75b
[ "MIT" ]
null
null
null
ShaderGLLib/Material.cpp
EPAC-Saxon/advance-obj-JulienBaumgartner
884aaf5a960f4f9575b0e9028b3234eacbfbb75b
[ "MIT" ]
null
null
null
ShaderGLLib/Material.cpp
EPAC-Saxon/advance-obj-JulienBaumgartner
884aaf5a960f4f9575b0e9028b3234eacbfbb75b
[ "MIT" ]
null
null
null
#include "Material.h" #include <iterator> #include <fstream> #include <sstream> namespace sgl { std::map<std::string, std::shared_ptr<Material>> LoadMaterialsFromMtl(std::string file) { std::map<std::string, std::shared_ptr<Material>> materials; std::ifstream ifs; ifs.open(file, std::ifstream::in); if (!ifs...
22.54232
119
0.590738
EPAC-Saxon
bd07c25d6feec31f895d37fbd5aa4cc862c65811
1,578
cpp
C++
ModernOpenGLUdemy/main.cpp
killerasus/ModernOpenGL
3bde26a468e945282cd0f8366939bd6c2730ab05
[ "MIT" ]
2
2019-10-16T00:05:57.000Z
2019-10-16T00:17:25.000Z
ModernOpenGLUdemy/main.cpp
killerasus/ModernOpenGL
3bde26a468e945282cd0f8366939bd6c2730ab05
[ "MIT" ]
null
null
null
ModernOpenGLUdemy/main.cpp
killerasus/ModernOpenGL
3bde26a468e945282cd0f8366939bd6c2730ab05
[ "MIT" ]
null
null
null
#include <iostream> #include <GL/glew.h> #include <GLFW/glfw3.h> const GLint WIDTH = 800, HEIGHT = 600; int main() { if (!glfwInit()) { std::cout << "GLFW initialization failed!" << std::endl; glfwTerminate(); return 1; } // Setup GLFW window properties // OpenGL version glfwWindowHint(GLFW_CONTEXT_VERSI...
22.542857
91
0.720532
killerasus
bd0c7f26e20517c38fe3a380aa92afbc081f20d4
4,847
cpp
C++
src/api/API.cpp
myxor/ceema
e0a9f299fd488da38a9a1492502017995d59e183
[ "Apache-2.0" ]
19
2018-08-31T12:52:13.000Z
2021-08-11T18:05:42.000Z
src/api/API.cpp
myxor/ceema
e0a9f299fd488da38a9a1492502017995d59e183
[ "Apache-2.0" ]
4
2019-02-01T09:12:56.000Z
2022-01-14T21:36:17.000Z
src/api/API.cpp
myxor/ceema
e0a9f299fd488da38a9a1492502017995d59e183
[ "Apache-2.0" ]
5
2021-03-28T18:06:21.000Z
2022-01-13T17:46:12.000Z
/** * Copyright 2017 Harold Bruintjes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
42.147826
110
0.706416
myxor
bd0e127ea93ad4b923f4790be65c14f7046fd2d5
4,668
cpp
C++
Visual Mercutio/zModelBP/PSS_RiskNewFileDlg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Visual Mercutio/zModelBP/PSS_RiskNewFileDlg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Visual Mercutio/zModelBP/PSS_RiskNewFileDlg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/**************************************************************************** * ==> PSS_RiskNewFileDlg --------------------------------------------------* **************************************************************************** * Description : Provides a create a new risk file dialog box * * Devel...
32.643357
81
0.477721
Jeanmilost
bd135eb20b929718d7642e8d65a5bd52e3093f55
438
cpp
C++
src/generate_ua_nodeset2.cpp
Jokymon/TinyModelCompiler
dd0251cd8c1915e5615f43348c03f4176d9e90af
[ "MIT" ]
1
2020-01-03T16:18:47.000Z
2020-01-03T16:18:47.000Z
src/generate_ua_nodeset2.cpp
Jokymon/TinyModelCompiler
dd0251cd8c1915e5615f43348c03f4176d9e90af
[ "MIT" ]
null
null
null
src/generate_ua_nodeset2.cpp
Jokymon/TinyModelCompiler
dd0251cd8c1915e5615f43348c03f4176d9e90af
[ "MIT" ]
1
2020-01-30T20:54:12.000Z
2020-01-30T20:54:12.000Z
#include "ua_nodeset2_generator.h" #include <CLI/CLI.hpp> #include <iostream> #include <string> int main(int argc, char **argv) { CLI::App app; std::string docname; app.add_option("docname", docname, "Path to the Opc.Ua.NodeSet2.xml input file") ->required(); CLI11_PARSE(app, argc, argv); ...
19.043478
84
0.680365
Jokymon
bd14c36f8c89d0bc09bbf909b0862b8d22e91b02
1,980
cpp
C++
src/vega/pathname.cpp
project-eutopia/vega
c7b536c5e949094a908fa8f378729dbffc657f4a
[ "MIT" ]
18
2018-01-23T12:28:13.000Z
2022-02-13T12:23:21.000Z
src/vega/pathname.cpp
project-eutopia/vega
c7b536c5e949094a908fa8f378729dbffc657f4a
[ "MIT" ]
2
2018-11-29T01:51:25.000Z
2022-03-22T14:14:22.000Z
src/vega/pathname.cpp
project-eutopia/vega
c7b536c5e949094a908fa8f378729dbffc657f4a
[ "MIT" ]
6
2019-02-01T09:54:44.000Z
2022-01-09T22:13:54.000Z
#include "vega/pathname.h" namespace vega { Pathname::Pathname() noexcept : full_name_(), last_slash_(std::string::npos), last_dot_(std::string::npos) {} Pathname::Pathname(const std::string& full_name) noexcept : full_name_(full_name), last_slash_(std::string::npos), ...
26.052632
91
0.621717
project-eutopia
bd1545f163aa78bc26da6765ece2afb2198c552e
652
hpp
C++
src/Dispatcher.hpp
tblyons/goon
fd5fbdda14fe1b4869e365c7cebec2bcb7de06e3
[ "Unlicense" ]
1
2022-02-11T21:25:53.000Z
2022-02-11T21:25:53.000Z
apps/Goon/src/Dispatcher.hpp
tybl/tybl
cc74416d3d982177d46b89c0ca44f3a8e1cf00d6
[ "Unlicense" ]
15
2021-08-21T13:41:29.000Z
2022-03-08T14:13:43.000Z
apps/Goon/src/Dispatcher.hpp
tybl/tybl
cc74416d3d982177d46b89c0ca44f3a8e1cf00d6
[ "Unlicense" ]
null
null
null
// License: The Unlicense (https://unlicense.org) #ifndef GOON_DISPATCHER_HPP #define GOON_DISPATCHER_HPP #include <SDL2/SDL.h> #include <functional> #include <vector> struct Dispatcher { Dispatcher(void); bool KeepRunning(void) const; void ProcessEvents(void); void AddKeyboardListener(std::function<void(...
28.347826
70
0.760736
tblyons
bd168b5563576a730d42a2d3e9d2c92f433af997
1,246
hpp
C++
include/interpolation/appoximate.hpp
mnrn/game-memo
8ed939b8ccc77ba9266beddd6214a5c0c5cc03c2
[ "Apache-2.0" ]
null
null
null
include/interpolation/appoximate.hpp
mnrn/game-memo
8ed939b8ccc77ba9266beddd6214a5c0c5cc03c2
[ "Apache-2.0" ]
null
null
null
include/interpolation/appoximate.hpp
mnrn/game-memo
8ed939b8ccc77ba9266beddd6214a5c0c5cc03c2
[ "Apache-2.0" ]
null
null
null
/** * @brief 近似していきます。近似アルゴリズムとは関係ありません。 * @date 2018/12/24 */ #ifndef APPROXIMATE_HPP #define APPROXIMATE_HPP // ******************************************************************************** // Include files // ******************************************************************************** #include <climi...
25.958333
83
0.422151
mnrn
bd18b866b9459091ef5ec62a3e6f9a2319c38bf5
1,127
cc
C++
src/02_management/12_move.cc
chanchann/lighao
5c06c4dfcf93b9dd59522971f9c939af128b9378
[ "MIT" ]
1
2021-01-18T02:37:03.000Z
2021-01-18T02:37:03.000Z
src/02_management/12_move.cc
chanchann/Thread
5c06c4dfcf93b9dd59522971f9c939af128b9378
[ "MIT" ]
null
null
null
src/02_management/12_move.cc
chanchann/Thread
5c06c4dfcf93b9dd59522971f9c939af128b9378
[ "MIT" ]
null
null
null
/* 下面实现一个为std::thread添加了析构行为的joining_thread TODO */ #include <iostream> #include <thread> class A { std::thread t; public: A() noexcept = default; template<typename T, typename... Ts> explicit A(T&& f, Ts&&... args) : t(std::forward<T>(f), std::forward<Ts>(args)...) {} explicit ...
22.54
66
0.535936
chanchann
bd1939be39508ed63c7723040f71afabc12c94c6
7,116
hpp
C++
engine/alice/application.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
engine/alice/application.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
engine/alice/application.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-07-02T11:51:17.000Z
2020-07-02T11:51:17.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
36.870466
100
0.723159
stereoboy
bd1da0dfad056a510f059f4a7642bff52a7cf4e3
3,240
cpp
C++
tc 160+/MagicBoxes.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/MagicBoxes.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/MagicBoxes.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; /* NE RADI */ bool canMake[31][31][1<<15]; bool done[31][31][1<<15]; bool go(int x, int y, int mask) { assert(x>=0 && y>=0)...
27.931034
309
0.517901
ibudiselic
bd226bd072be31791ea4537446d0236960feab71
421
cpp
C++
Level-1/9. Recursion on the way up/Print_Permutations.cpp
anubhvshrma18/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
22
2021-06-02T04:25:55.000Z
2022-01-30T06:25:07.000Z
Level-1/9. Recursion on the way up/Print_Permutations.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
2
2021-10-17T19:26:10.000Z
2022-01-14T18:18:12.000Z
Level-1/9. Recursion on the way up/Print_Permutations.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
8
2021-07-21T09:55:15.000Z
2022-01-31T10:32:51.000Z
#include <iostream> using namespace std; void printPermutations(string str, string asf){ // write your code here if(str.length()==0){ cout << asf << endl; } for(int i=0;i<str.length();i++){ swap(str[0],str[i]); string y=""; y+=str[0]; printPermutations(str.substr...
18.304348
47
0.539192
anubhvshrma18
bd2bc1ea4e7c4ac7babe7112e769ae65f6f92ed4
2,308
cpp
C++
core/utils/src/TimeTracker.cpp
nicsor/BreadCrumbs
9ee5111d87d7a71b0a3910c14c4751eb3f1635ab
[ "MIT" ]
null
null
null
core/utils/src/TimeTracker.cpp
nicsor/BreadCrumbs
9ee5111d87d7a71b0a3910c14c4751eb3f1635ab
[ "MIT" ]
null
null
null
core/utils/src/TimeTracker.cpp
nicsor/BreadCrumbs
9ee5111d87d7a71b0a3910c14c4751eb3f1635ab
[ "MIT" ]
null
null
null
/** * @file TimeTracker.cpp * * @author Nicolae Natea * Contact: nicu@natea.ro */ #include <cstdint> #include <map> #include <mutex> #include <core/util/TimeTracker.hpp> namespace core { namespace util { namespace { struct TimeInfo { uint64_t times_called; ///< Keep track of number...
31.616438
137
0.557192
nicsor
bd2c0645a6e63bf2ac8123eac1c868a4125ee907
22,274
cpp
C++
src/level/lightingcalculator.cpp
alexeyden/whack
2bff3beb0afb8c5aaba996b2838d2f0b9797039c
[ "WTFPL" ]
null
null
null
src/level/lightingcalculator.cpp
alexeyden/whack
2bff3beb0afb8c5aaba996b2838d2f0b9797039c
[ "WTFPL" ]
null
null
null
src/level/lightingcalculator.cpp
alexeyden/whack
2bff3beb0afb8c5aaba996b2838d2f0b9797039c
[ "WTFPL" ]
null
null
null
#include "lightingcalculator.h" #include "entityvisualinfoextractor.h" #include "level.h" #include "util/math.h" #include "util/rect.h" void LightingCalculator::calculate() { preparePass(); calculatePass(); averagePass(); spritesPass(); } void LightingCalculator::preparePass() { for(unsigned i = 0; i < _level->s...
35.355556
121
0.633923
alexeyden
bd2f24769b4675ea5eb988c7616f917e027b2783
8,612
hpp
C++
cc/include/bounding_eccentricities.hpp
parthmittal/graph-algorithms
10ebeead1b3fc1ad52f9f69a5bf42d90c5604508
[ "MIT" ]
null
null
null
cc/include/bounding_eccentricities.hpp
parthmittal/graph-algorithms
10ebeead1b3fc1ad52f9f69a5bf42d90c5604508
[ "MIT" ]
null
null
null
cc/include/bounding_eccentricities.hpp
parthmittal/graph-algorithms
10ebeead1b3fc1ad52f9f69a5bf42d90c5604508
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <iterator> #include <queue> #include <vector> #include <graph.hpp> #include <optparser.hpp> #ifndef __BOUNDING_ECCENTRICITY_HPP__ #define __BOUNDING_ECCENTRICITY_HPP__ namespace our { using namespace std; /* * An iterative bfs implementation that returns the distanc...
32.996169
80
0.474686
parthmittal
bd31b969c8a8f046cb9da623d66a153f98ef167b
3,385
cpp
C++
test/test_kernelarg.cpp
rise-lang/yacx
da81fe8f814151b1c2024617f0bc9891f210cd84
[ "MIT" ]
5
2019-12-16T15:32:05.000Z
2021-05-21T18:36:37.000Z
test/test_kernelarg.cpp
rise-lang/yacx
da81fe8f814151b1c2024617f0bc9891f210cd84
[ "MIT" ]
98
2019-12-07T15:28:18.000Z
2021-03-02T14:20:48.000Z
test/test_kernelarg.cpp
rise-lang/yacx
da81fe8f814151b1c2024617f0bc9891f210cd84
[ "MIT" ]
6
2019-12-08T13:20:57.000Z
2021-05-16T11:21:14.000Z
#include "test_compare.hpp" #include "yacx/Headers.hpp" #include "yacx/KernelArgs.hpp" #include "yacx/Source.hpp" #include <catch2/catch.hpp> #include <iostream> using yacx::KernelArg, yacx::Source, yacx::Headers; CATCH_REGISTER_ENUM(compare, compare::CORRECT, compare::CHECK_COMPARE_WRONG, compar...
34.540816
77
0.467061
rise-lang
bd320c78da022b4ae14dfbb6afff43b64024c678
6,369
hxx
C++
ds/adsi/ldap/globals.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/ldap/globals.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/ldap/globals.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1995 // // File: globals.hxx // // Contents: // // History: //---------------------------------------------------------------------------- extern TCHAR *s...
22.99278
79
0.651908
npocmaka
bd332dd50289923aa99b1205d1b715bf2588c36c
5,424
cpp
C++
TAO/tests/Bug_1535_Regression/bug_1535_regression.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tests/Bug_1535_Regression/bug_1535_regression.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tests/Bug_1535_Regression/bug_1535_regression.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: bug_1535_regression.cpp 92387 2010-10-28 07:46:18Z johnnyw $ #include "Test.h" #include "tao/Utils/ORB_Destroyer.h" #include "tao/Utils/RIR_Narrow.h" #include "tao/Utils/PolicyList_Destroyer.h" PortableServer::POA_ptr create_persistent_POA (PortableServer::POA_ptr parent, char const * n...
24.542986
89
0.588127
cflowe
bd36c9ba7242d8535dfaadecbaea76c9db574ee4
320
cpp
C++
test/t_0011.cpp
rayloyal/leetcode
79ded19bbb9f2d294b609f30bd3cbfe2cf8311a9
[ "MIT" ]
1
2022-03-02T14:19:55.000Z
2022-03-02T14:19:55.000Z
test/t_0011.cpp
rayloyal/leetcode
79ded19bbb9f2d294b609f30bd3cbfe2cf8311a9
[ "MIT" ]
null
null
null
test/t_0011.cpp
rayloyal/leetcode
79ded19bbb9f2d294b609f30bd3cbfe2cf8311a9
[ "MIT" ]
null
null
null
#include "q_0011.h" #include "gtest/gtest.h" using namespace std; using ::testing::Test; TEST(Q0011, EXAMPLE){ Solution solution; vector<int> height1 = {1, 8, 6, 2, 5, 4, 8, 3, 7}; ASSERT_EQ(solution.maxArea(height1), 49); vector<int> height2 = {1, 1}; ASSERT_EQ(solution.maxArea(height2), 1); }
20
54
0.640625
rayloyal
bd371762adb95fd0bdec8328c6e81eff72b7e664
547
cpp
C++
60 Must Solve List/Unique Email Addresses.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
60 Must Solve List/Unique Email Addresses.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
60 Must Solve List/Unique Email Addresses.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
// Hari class Solution { public: string ruler(string email){ string cleanMail; for(char c: email){ if(c == '+' || c == '@') break; if(c == '.') continue; cleanMail += c; } cleanMail += email.substr(email.find('@')); return cleanMail; }...
21.88
51
0.482633
Tiger-Team-01
bd38582b1dbd9cb4342900ad66bbde0535bb73ad
3,060
cpp
C++
lib/project_euler/0001-0050/Problem17.cpp
wtmitchell/project_euler
b0fd328af41901aa53f757f1dd84f44f71d7be44
[ "MIT" ]
2
2016-04-03T08:44:15.000Z
2018-10-05T02:12:19.000Z
lib/project_euler/0001-0050/Problem17.cpp
wtmitchell/challenge_problems
b0fd328af41901aa53f757f1dd84f44f71d7be44
[ "MIT" ]
null
null
null
lib/project_euler/0001-0050/Problem17.cpp
wtmitchell/challenge_problems
b0fd328af41901aa53f757f1dd84f44f71d7be44
[ "MIT" ]
null
null
null
//===-- project_euler/Problem17.cpp -----------------------------*- C++ -*-===// // // ProjectEuler.net solutions by Will Mitchell // // This file is distributed under the MIT License. See LICENSE for details. // //===----------------------------------------------------------------------===// /// /// \class project_eul...
29.708738
80
0.63268
wtmitchell
bd399cd1cda1969d2bd5786d2646317b001d54a8
1,247
cpp
C++
011/demo.cpp
jiejieTop/c-plus-plus
2f5832333eb2521e08aea430e65f003cdf4611a5
[ "Apache-2.0" ]
null
null
null
011/demo.cpp
jiejieTop/c-plus-plus
2f5832333eb2521e08aea430e65f003cdf4611a5
[ "Apache-2.0" ]
null
null
null
011/demo.cpp
jiejieTop/c-plus-plus
2f5832333eb2521e08aea430e65f003cdf4611a5
[ "Apache-2.0" ]
null
null
null
/* * @Author: jiejie * @Github: https://github.com/jiejieTop * @Date: 2020-03-21 15:55:37 * @LastEditTime: 2020-04-01 00:45:32 * @Description: the code belongs to jiejie, please keep the author information and source code according to the license. */ #include <string> #include <cstring> #include <iostream> #incl...
15.78481
121
0.615076
jiejieTop
bd3b3ec24327e465114d49a5114bac5b1750a4ba
985
cc
C++
chrome/browser/supervised_user/supervised_user_test_util.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "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/supervised_user/supervised_user_test_util.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "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/supervised_user/supervised_user_test_util.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "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 2020 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/supervised_user/supervised_user_test_util.h" #include "chrome/browser/profiles/profile.h" #include "chrome/common/pref_names.h" ...
35.178571
73
0.735025
chromium
bd3fef6937348f5e42026b3f068ee912e83bceb5
1,006
cpp
C++
test/bubblesort.cpp
SherlockZhang3/MyCppTest
393b91270e1485a8e7ff78bd11d9b91c7af3a872
[ "Apache-2.0" ]
null
null
null
test/bubblesort.cpp
SherlockZhang3/MyCppTest
393b91270e1485a8e7ff78bd11d9b91c7af3a872
[ "Apache-2.0" ]
null
null
null
test/bubblesort.cpp
SherlockZhang3/MyCppTest
393b91270e1485a8e7ff78bd11d9b91c7af3a872
[ "Apache-2.0" ]
null
null
null
/*================================================================ * Copyright (c) 2022年 SherlockZhang. All rights reserved. * * 文件名称:bubblesort.cpp * 创 建 者:SherlockZhang * 邮 箱:SherlockZhang@aliyun.com * 创建日期:2021年02月23日 * 描 述:冒泡排序,其实应该说是反冒泡排序,把最大的数沉到后方。 * #pragma once ==============================...
24.536585
71
0.457256
SherlockZhang3
bd40e6b8cac0dac07eac0b6e7ff9f1a6db88d8dd
621
cc
C++
adlik_serving/runtime/tensorflow/model/plan_model_loader.cc
yuanliya/Adlik
602074b44064002fc0bb054e17a989a5bcf22e92
[ "Apache-2.0" ]
548
2019-09-27T07:37:47.000Z
2022-03-31T05:12:38.000Z
adlik_serving/runtime/tensorflow/model/plan_model_loader.cc
yespon/Adlik
c890eea7b9d0983905dd38c380839bda1a2d8237
[ "Apache-2.0" ]
533
2019-09-27T06:30:41.000Z
2022-03-29T07:34:08.000Z
adlik_serving/runtime/tensorflow/model/plan_model_loader.cc
yespon/Adlik
c890eea7b9d0983905dd38c380839bda1a2d8237
[ "Apache-2.0" ]
54
2019-10-10T02:19:31.000Z
2021-12-28T03:37:45.000Z
// Copyright 2019 ZTE corporation. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #include "adlik_serving/runtime/tensorflow/model/plan_model_loader.h" #include "adlik_serving/runtime/tensorflow/model/plan_model_factory.h" namespace tensorflow { cub::Status PlanModelLoader::loadBare() { if (auto mode...
22.178571
70
0.731079
yuanliya
bd434a766d281b10a06c7695d9803c9dffb2bddb
589
cpp
C++
C++/M02_Fundamentals/L04_StringsAndStreams/Exercises/Solutions/P05_InvalidInput.cpp
todorkrastev/softuni-software-engineering
cfc0b5eaeb82951ff4d4668332ec3a31c59a5f84
[ "MIT" ]
null
null
null
C++/M02_Fundamentals/L04_StringsAndStreams/Exercises/Solutions/P05_InvalidInput.cpp
todorkrastev/softuni-software-engineering
cfc0b5eaeb82951ff4d4668332ec3a31c59a5f84
[ "MIT" ]
null
null
null
C++/M02_Fundamentals/L04_StringsAndStreams/Exercises/Solutions/P05_InvalidInput.cpp
todorkrastev/softuni-software-engineering
cfc0b5eaeb82951ff4d4668332ec3a31c59a5f84
[ "MIT" ]
1
2022-02-23T13:03:14.000Z
2022-02-23T13:03:14.000Z
#include <iostream> #include <sstream> #include <string> using namespace std; int main() { string inp; getline(cin, inp); istringstream input(inp); string current; ostringstream streamLetters; int sum = 0; while (input >> current) { char c = current[0]; if ((c >= 'a' ...
16.361111
63
0.475382
todorkrastev
bd49a473ba04607edf42d8ee0c3a946a6b35e102
2,740
cpp
C++
learncpp/ej6c6.cpp
ignaciop/c-varios
c8ef033485efd19a01fbc43658be36473eb1d08d
[ "MIT" ]
null
null
null
learncpp/ej6c6.cpp
ignaciop/c-varios
c8ef033485efd19a01fbc43658be36473eb1d08d
[ "MIT" ]
null
null
null
learncpp/ej6c6.cpp
ignaciop/c-varios
c8ef033485efd19a01fbc43658be36473eb1d08d
[ "MIT" ]
null
null
null
#include <iostream> #include <array> #include <ctime> #include <cstdlib> enum CardSuit { SUIT_CLUB, SUIT_DIAMOND, SUIT_HEART, SUIT_SPADE, MAX_SUITS }; enum CardRank { RANK_2, RANK_3, RANK_4, RANK_5, RANK_6, RANK_7, RANK_8, RANK_9, RANK_10, RANK_JACK, RANK_QUEEN, RANK_KING, RANK_ACE, MAX_RANKS }; ...
20.916031
76
0.633212
ignaciop
bd4d6a5048b2e6cb1a39b74982989d8c1ebe87cc
1,812
cc
C++
benchmark/unordered_map_benchmark.cc
uazo/goma-client
1cffeb7978539ac2fee02257ca0a95a05b4c6cc0
[ "BSD-3-Clause" ]
4
2018-12-26T10:54:24.000Z
2022-03-31T21:19:47.000Z
benchmark/unordered_map_benchmark.cc
uazo/goma-client
1cffeb7978539ac2fee02257ca0a95a05b4c6cc0
[ "BSD-3-Clause" ]
null
null
null
benchmark/unordered_map_benchmark.cc
uazo/goma-client
1cffeb7978539ac2fee02257ca0a95a05b4c6cc0
[ "BSD-3-Clause" ]
1
2021-05-31T13:27:25.000Z
2021-05-31T13:27:25.000Z
// Copyright 2018 The Goma 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 <random> #include <unordered_map> #include "absl/container/flat_hash_map.h" #include "benchmark/benchmark.h" namespace devtools_goma { template <c...
22.37037
73
0.657837
uazo
bd4f382bb6fb76eb87a50d0974245357ea70e6ec
23,775
cpp
C++
ExploringScaleSymmetry/Chapter6/automata2D/Evolver.cpp
TGlad/ExploringScaleSymmetry
25b2dae0279a0ac26f6bae2277d3b76a1cda8b04
[ "MIT" ]
null
null
null
ExploringScaleSymmetry/Chapter6/automata2D/Evolver.cpp
TGlad/ExploringScaleSymmetry
25b2dae0279a0ac26f6bae2277d3b76a1cda8b04
[ "MIT" ]
null
null
null
ExploringScaleSymmetry/Chapter6/automata2D/Evolver.cpp
TGlad/ExploringScaleSymmetry
25b2dae0279a0ac26f6bae2277d3b76a1cda8b04
[ "MIT" ]
null
null
null
// Thomas Lowe, 2020. // Defines the evolution of the automaton. Typically a fixed function of the neighbouring cells. #include "evolver.h" #include "Image.h" #include <string.h> #include <algorithm> using namespace std; Evolver::Evolver(int depth) { this->depth = depth; bitmaps = new Image*[depth+1]; bitmapDual...
23.400591
118
0.492492
TGlad
bd53af54ccd266c823556b38c6bb37d8d0bf6290
23,001
cpp
C++
ros/src/Mobile_Platform.cpp
norlab-ulaval/navtechradar
4d3ccd2558e79142d656a6c12cd826d9397b0f2d
[ "MIT" ]
2
2020-11-18T17:48:40.000Z
2021-01-12T14:15:17.000Z
ros/src/Mobile_Platform.cpp
norlab-ulaval/navtechradar
4d3ccd2558e79142d656a6c12cd826d9397b0f2d
[ "MIT" ]
null
null
null
ros/src/Mobile_Platform.cpp
norlab-ulaval/navtechradar
4d3ccd2558e79142d656a6c12cd826d9397b0f2d
[ "MIT" ]
1
2022-03-22T16:09:51.000Z
2022-03-22T16:09:51.000Z
/* Copyright 2016 Navtech Radar Limited This file is part of iasdk which is released under The MIT License (MIT). See file LICENSE.txt in project root or go to https://opensource.org/licenses/MIT for full license details. */ /* Node Description: Example Application: Moving Platform Data Processor + Visualizer This...
39.656897
245
0.677449
norlab-ulaval
bd5506aa474c31782c9b4bad560841be06bf25d2
52
cpp
C++
TRAVELLING SALESMAN PROBLEM/stdafx.cpp
Emperor86/racheal-folusho
b1ed0dbc71e7f696ade23c8042d17718ebd2fb2f
[ "MIT" ]
null
null
null
TRAVELLING SALESMAN PROBLEM/stdafx.cpp
Emperor86/racheal-folusho
b1ed0dbc71e7f696ade23c8042d17718ebd2fb2f
[ "MIT" ]
null
null
null
TRAVELLING SALESMAN PROBLEM/stdafx.cpp
Emperor86/racheal-folusho
b1ed0dbc71e7f696ade23c8042d17718ebd2fb2f
[ "MIT" ]
null
null
null
////For precompiled headers #include "stdafx.h"
13
28
0.673077
Emperor86
bd5561a3c355f33ea27f417e351e0457091c9bf9
2,047
cpp
C++
luogu/codes/P4783.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
1
2021-02-22T03:39:24.000Z
2021-02-22T03:39:24.000Z
luogu/codes/P4783.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
luogu/codes/P4783.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
/************************************************************* * > File Name : P4783.cpp * > Author : Tony * > Created Time : 2019/05/18 00:14:50 **************************************************************/ #include <bits/stdc++.h> using namespace std; typedef long long LL; const LL mod ...
28.041096
78
0.31998
Tony031218
32e80c663cdd87684b96a42b9d99fb19fdf8e349
1,628
hpp
C++
mod/wrd/frame/thread.hpp
kniz/World
13b0c8c7fdc6280efcb2135dc3902754a34e6d06
[ "MIT" ]
1
2019-02-02T07:07:32.000Z
2019-02-02T07:07:32.000Z
mod/wrd/frame/thread.hpp
kniz/World
13b0c8c7fdc6280efcb2135dc3902754a34e6d06
[ "MIT" ]
25
2016-09-23T16:36:19.000Z
2019-02-12T14:14:32.000Z
mod/wrd/frame/thread.hpp
kniz/World
13b0c8c7fdc6280efcb2135dc3902754a34e6d06
[ "MIT" ]
null
null
null
#pragma once #include "../builtin/container/mgd/tarr.hpp" #include "../builtin/container/native/tnmap.hpp" #include "frame.hpp" namespace wrd { class slotLoader; typedef tnarr<frame> frames; class _wout thread : public node { WRD(CLASS(thread, node), FRIEND_VERIFY(defAssignExpr, isDe...
25.4375
73
0.613022
kniz
32e83204e9a70e8224dd58e8583c3ed4be2e4923
5,823
cc
C++
log/checkpoint_sender.cc
QiumingLu/dawn
58ebdb0d5389f6e3244c91aa09f20a7a47ee8042
[ "BSD-3-Clause" ]
13
2016-12-02T17:00:39.000Z
2020-11-24T08:24:43.000Z
log/checkpoint_sender.cc
QiumingLu/dawn
58ebdb0d5389f6e3244c91aa09f20a7a47ee8042
[ "BSD-3-Clause" ]
1
2018-06-12T05:18:57.000Z
2018-06-12T09:31:05.000Z
log/checkpoint_sender.cc
QiumingLu/dawn
58ebdb0d5389f6e3244c91aa09f20a7a47ee8042
[ "BSD-3-Clause" ]
2
2018-02-01T04:17:38.000Z
2020-04-26T10:21:06.000Z
// Copyright (c) 2016 Mirants Lu. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "log/checkpoint_sender.h" #include <vector> #include "log/checkpoint_manager.h" #include "paxos/config.h" #include "skywalker/file.h" #include "skywa...
30.170984
78
0.660484
QiumingLu
32eb7af8480ec3cf7a6c4bbbd4a80d38ebd6377c
39,341
cpp
C++
src/script/lua_api/l_mapgen.cpp
crazyBaboon/MathWorlds
dd35e88e207a26be8632999ad09eeef81820343d
[ "CC-BY-4.0" ]
1
2018-03-01T13:03:01.000Z
2018-03-01T13:03:01.000Z
src/script/lua_api/l_mapgen.cpp
crazyBaboon/MathWorlds
dd35e88e207a26be8632999ad09eeef81820343d
[ "CC-BY-4.0" ]
null
null
null
src/script/lua_api/l_mapgen.cpp
crazyBaboon/MathWorlds
dd35e88e207a26be8632999ad09eeef81820343d
[ "CC-BY-4.0" ]
null
null
null
/* Minetest Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later ve...
25.679504
88
0.689281
crazyBaboon
32f001602699f6595c27fc1572306c97c5a2d0b0
2,577
cc
C++
edas/src/model/ListConfigCentersResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
edas/src/model/ListConfigCentersResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
edas/src/model/ListConfigCentersResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
33.038462
108
0.780753
aliyun
32f11db0729e90e6d3b0383560439ac40545ae4a
957
cpp
C++
GFG/All_Code/1.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
GFG/All_Code/1.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
GFG/All_Code/1.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
class Solution { public: // create isupper() function bool isupper(char c) { return c >= 'A' && c <= 'Z'; } string arrangeString(string str) { int sum=0; //store all capital letters in a vector and all integer in different vector vector<char> capital; vector<int> in...
17.4
83
0.486938
jnvshubham7
32f5107af06c7dc0199c24de35bda54ec13df7f6
1,238
cpp
C++
src/easy/calculate-distance/solutions/c++/solution.cpp
rdtsc/codeeval-solutions
d5c06baf89125e9e9f4b163ee57e5a8f7e73e717
[ "MIT" ]
null
null
null
src/easy/calculate-distance/solutions/c++/solution.cpp
rdtsc/codeeval-solutions
d5c06baf89125e9e9f4b163ee57e5a8f7e73e717
[ "MIT" ]
null
null
null
src/easy/calculate-distance/solutions/c++/solution.cpp
rdtsc/codeeval-solutions
d5c06baf89125e9e9f4b163ee57e5a8f7e73e717
[ "MIT" ]
null
null
null
#include <cassert> #include <cmath> #include <fstream> #include <iostream> #include <limits> template<typename T> struct Point2d { using value_type = T; Point2d() : x(), y() {} friend std::istream& operator>>(std::istream& inputStream, Point2d& point) { static constexpr auto ignoreLimit = std::nume...
24.76
79
0.636511
rdtsc
fd002ae81f34a991282284bee5286b60508ad213
1,164
cpp
C++
tests/Test_json11.cpp
mattparks/Serial
327cbd7a8446434975de5466e53966e6f362532e
[ "MIT" ]
2
2020-01-02T15:02:07.000Z
2020-06-28T19:45:53.000Z
tests/Test_json11.cpp
mattparks/Serial
327cbd7a8446434975de5466e53966e6f362532e
[ "MIT" ]
null
null
null
tests/Test_json11.cpp
mattparks/Serial
327cbd7a8446434975de5466e53966e6f362532e
[ "MIT" ]
null
null
null
#include <fstream> #include <gtest/gtest.h> #include <json11/json11.hpp> #include "MemoryData.hpp" static class Json11Data { public: json11::Json canada; json11::Json catalog; json11::Json twitter; } json11Data; TEST(json11, parseInMemory) { std::string err; json11Data.canada = json11::Json::parse(MemoryData::...
32.333333
107
0.747423
mattparks
fd01b6c6ca2b1d23ffc199101def58cccd4d36bc
2,792
cpp
C++
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/model/psu.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/model/psu.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/model/psu.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
/*! * @copyright * Copyright (c) 2015-2019 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
38.777778
85
0.745344
opencomputeproject
fd06776d3caabb93ba92481f1953dc2aaa8115e0
7,724
cpp
C++
net/homenet/config/dll/hncstrs.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/homenet/config/dll/hncstrs.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/homenet/config/dll/hncstrs.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1997 - 2000 // // File: H N C S T R S . C P P // // Contents: Constant string definitions // // Notes: // // Author: jonburs 21 June 2000 // //---...
44.906977
131
0.72333
npocmaka
fd07203282a5ae22b4030a053f9cb7a812387b64
1,776
cpp
C++
Lab 1/Ch_02-SourceCode/first_last_lab1A.cpp
candr002/CS150
8270f60769fc8a9c18e5c5c46879b63663ba2117
[ "Unlicense" ]
null
null
null
Lab 1/Ch_02-SourceCode/first_last_lab1A.cpp
candr002/CS150
8270f60769fc8a9c18e5c5c46879b63663ba2117
[ "Unlicense" ]
null
null
null
Lab 1/Ch_02-SourceCode/first_last_lab1A.cpp
candr002/CS150
8270f60769fc8a9c18e5c5c46879b63663ba2117
[ "Unlicense" ]
null
null
null
/* ************************************************************* Programmer: your name goes here file: first_last_lab1A.cpp change this TA Name: ( put the name of your lab TA here ) TA Email: (find out your TAs email, and put it here) Given the length and width of a rectangle...
30.101695
74
0.543356
candr002
fd0a0c8bc0a0a65f09217ac5ff7ebbd688911cd1
685
cpp
C++
engine/src/resources/text.cpp
gguedesaz/thunder
41fbd8393dc6974ae26e1d77d5f2f8f252e14b5c
[ "Apache-2.0" ]
null
null
null
engine/src/resources/text.cpp
gguedesaz/thunder
41fbd8393dc6974ae26e1d77d5f2f8f252e14b5c
[ "Apache-2.0" ]
null
null
null
engine/src/resources/text.cpp
gguedesaz/thunder
41fbd8393dc6974ae26e1d77d5f2f8f252e14b5c
[ "Apache-2.0" ]
null
null
null
#include "resources/text.h" #include <variant.h> #define DATA "Data" #include <log.h> class TextPrivate { public: ByteArray m_Data; }; Text::Text() : p_ptr(new TextPrivate) { } Text::~Text() { delete p_ptr; } void Text::loadUserData(const VariantMap &data) { auto it = data.find(DATA); i...
15.222222
55
0.614599
gguedesaz
fd0a1148a9c5147f96bb3d20de84c538c1c85fb2
1,752
cpp
C++
src/tf.cpp
JeroenBongers96/suii_3d_vision_ros
82197531f44d58d2579cd2563757581aae91d021
[ "BSD-3-Clause" ]
null
null
null
src/tf.cpp
JeroenBongers96/suii_3d_vision_ros
82197531f44d58d2579cd2563757581aae91d021
[ "BSD-3-Clause" ]
null
null
null
src/tf.cpp
JeroenBongers96/suii_3d_vision_ros
82197531f44d58d2579cd2563757581aae91d021
[ "BSD-3-Clause" ]
1
2020-01-01T22:29:24.000Z
2020-01-01T22:29:24.000Z
#include "tf.h" Transformation::Transformation() { std::cout << "TRANSFORMATION CREATED" << std::endl; std::cout << "##############################" << std::endl; } tf_struct_data Transformation::getTf(pcl::PointCloud<pcl::PointXYZ>::Ptr cloud) { //Calculate the TF from a given PCD pcl::MomentOfIner...
39.818182
167
0.693493
JeroenBongers96
fd0c7f939264a99f958c88c75bf0b80b09fa9fe0
869
cpp
C++
01_Programming_Basics/01_Programming_Basics_with_C++/12_Nested_Loops_Lab/08_cookie_factory.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
01_Programming_Basics/01_Programming_Basics_with_C++/12_Nested_Loops_Lab/08_cookie_factory.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
01_Programming_Basics/01_Programming_Basics_with_C++/12_Nested_Loops_Lab/08_cookie_factory.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main() { int n = 0; cin >> n; cin.ignore(); for(int i = 0; i < n; i++) { bool flour = false; bool eggs = false; bool sugar = false; while(true) { string products = ""; getline(cin, products); if(p...
18.104167
77
0.443038
Knightwalker
fd0e6c8493a55abd25ac5a8c7fcc1dd5b46ff55b
4,017
cpp
C++
src/Cpp/networks_lib/bimap_str_int.cpp
PathwayAnalysisPlatform/ProteoformNetworks
3d31e5b3cb4abc45e6419fa982c08b3dc5c2624e
[ "Apache-2.0" ]
1
2019-08-16T12:40:14.000Z
2019-08-16T12:40:14.000Z
src/Cpp/networks_lib/bimap_str_int.cpp
LuisFranciscoHS/ProteoformNetworks
a6baa87fe6f76905f6d58a2f7cb66aad5d8d56c5
[ "Apache-2.0" ]
9
2019-08-16T07:33:33.000Z
2022-03-04T22:20:02.000Z
src/Cpp/networks_lib/bimap_str_int.cpp
LuisFranciscoHS/ProteoformNetworks
a6baa87fe6f76905f6d58a2f7cb66aad5d8d56c5
[ "Apache-2.0" ]
1
2022-02-21T17:42:48.000Z
2022-02-21T17:42:48.000Z
#include "bimap_str_int.hpp" Bimap_str_int::Bimap_str_int() { } std::string rtrim(std::string &s) { if (s.length() > 0) { auto it = s.end() - 1; while (isspace(*it)) { s.erase(it); it = s.end() - 1; } } return s; } vs convert_uss_to_vs(const uss &a_set) { ...
30.431818
120
0.636794
PathwayAnalysisPlatform
fd0f022e398ad675bde99872b460846a60c7006d
229
cpp
C++
module/timer.cpp
Matej-Chmel/hnsw-mch
fee8f4c0e06269dfa4dd1b62e9b0d4408f494d03
[ "MIT" ]
null
null
null
module/timer.cpp
Matej-Chmel/hnsw-mch
fee8f4c0e06269dfa4dd1b62e9b0d4408f494d03
[ "MIT" ]
null
null
null
module/timer.cpp
Matej-Chmel/hnsw-mch
fee8f4c0e06269dfa4dd1b62e9b0d4408f494d03
[ "MIT" ]
null
null
null
#include "timer.h" namespace mch { Timer::Timer() {} void Timer::start() { this->_start = system_clock::now(); } ll Timer::stop() { return duration_cast<milliseconds>(system_clock::now() - this->_start).count(); } }
14.3125
81
0.637555
Matej-Chmel
fd11af26a355261c9fa59c2fa1a80e32ba376a7c
886
cpp
C++
src/main.cpp
LuisHsu/Assignment_4
1735738d3d523d9c3a007d9fb471f121071e75fe
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
LuisHsu/Assignment_4
1735738d3d523d9c3a007d9fb471f121071e75fe
[ "BSD-3-Clause" ]
null
null
null
src/main.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 <exception> #include <iostream> #include <unistd.h> #include <termios.h> #include <SpiningCube.hpp> int main(int argc, char const *argv[]){ str...
23.945946
53
0.646727
LuisHsu
fd121f8e6cc0bc74c3e6252f16e0f94bff96cdaa
591
hpp
C++
src/frontend/internal/patch_args.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
14
2020-04-14T17:00:56.000Z
2021-08-30T08:29:26.000Z
src/frontend/internal/patch_args.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
27
2020-12-27T16:00:44.000Z
2021-08-01T13:12:14.000Z
src/frontend/internal/patch_args.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
1
2020-05-29T18:33:37.000Z
2020-05-29T18:33:37.000Z
#pragma once #include "frontend/diag.hpp" #include "frontend/source_table.hpp" #include "prog/program.hpp" #include <functional> namespace frontend::internal { using PatchDiagReportFunc = std::function<void(Diag)>; /* Patches all call expressions in the program to include any information that was not available * wh...
31.105263
100
0.774958
BastianBlokland
fd15d303beaf57426353061df12517d496968fa8
1,569
cpp
C++
codeforces/A - Number of Apartments/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/A - Number of Apartments/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/A - Number of Apartments/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729# created: Mar/24/2021 19:41 * solution_verdict: Accepted language: GNU C++17 (64) * run...
28.017857
111
0.472275
kzvd4729
fd1a6891a77eab53fe831499466f91e5161229d8
6,258
cpp
C++
src/WebinariaEditor/TimelineControl/OverlayControl.cpp
mkmpvtltd1/Webinaria
41d86467800adb48e77ab49b92891fae2a99bb77
[ "MIT" ]
5
2015-03-31T15:51:22.000Z
2022-03-10T07:01:56.000Z
src/WebinariaEditor/TimelineControl/OverlayControl.cpp
mkmpvtltd1/Webinaria
41d86467800adb48e77ab49b92891fae2a99bb77
[ "MIT" ]
null
null
null
src/WebinariaEditor/TimelineControl/OverlayControl.cpp
mkmpvtltd1/Webinaria
41d86467800adb48e77ab49b92891fae2a99bb77
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "OverlayControl.h" #include "OverlayElement.h" #include "utils.h" OverlayControl::OverlayControl() : activeOverlay(0) , hitTestAnchor(ohtNone) { memset(&clickAnchor, 0, sizeof(clickAnchor)); } OverlayControl::~OverlayControl() { } Overlay* OverlayControl::GetActiveOverlay() const { ...
23.007353
107
0.71109
mkmpvtltd1
fd1c2497840d64b8bc73e62fdaa9815b1ca59956
6,430
hpp
C++
src/server/piece/Piece.hpp
LB--/ChessPlusPlus
70b389f0c3f4a5299ed4a2292bed22383ff95ed0
[ "Apache-1.1" ]
1
2021-07-11T18:04:34.000Z
2021-07-11T18:04:34.000Z
src/server/piece/Piece.hpp
LB--/ChessPlusPlus
70b389f0c3f4a5299ed4a2292bed22383ff95ed0
[ "Apache-1.1" ]
null
null
null
src/server/piece/Piece.hpp
LB--/ChessPlusPlus
70b389f0c3f4a5299ed4a2292bed22383ff95ed0
[ "Apache-1.1" ]
2
2017-10-02T23:25:35.000Z
2019-09-08T10:03:34.000Z
#ifndef chesspp_server_piece_Piece_HeaderPlusPlus #define chesspp_server_piece_Piece_HeaderPlusPlus #include "server/config/BoardConfig.hpp" #include <memory> #include <set> #include <typeinfo> #include <iosfwd> namespace chesspp { namespace server { namespace board { class Board; } namespace...
31.519608
94
0.473872
LB--
fd1f55dd9bc4b4175c4acc40a89ed26b1f343964
187
hpp
C++
pythran/pythonic/include/numpy/add/accumulate.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,647
2015-01-13T01:45:38.000Z
2022-03-28T01:23:41.000Z
pythran/pythonic/include/numpy/add/accumulate.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,116
2015-01-01T09:52:05.000Z
2022-03-18T21:06:40.000Z
pythran/pythonic/include/numpy/add/accumulate.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
180
2015-02-12T02:47:28.000Z
2022-03-14T10:28:18.000Z
#ifndef PYTHONIC_INCLUDE_NUMPY_ADD_ACCUMULATE_HPP #define PYTHONIC_INCLUDE_NUMPY_ADD_ACCUMULATE_HPP #define UFUNC_NAME add #include "pythonic/include/numpy/ufunc_accumulate.hpp" #endif
23.375
54
0.877005
davidbrochart
fd23938cbc9e14eab4be2683bbcd009f4bf8c631
15,242
cpp
C++
prototype/src/asf_meta/meta_ut1_table.cpp
glshort/MapReady
c9065400a64c87be46418ab32e3a251ca2f55fd5
[ "BSD-3-Clause" ]
3
2017-12-31T05:33:28.000Z
2021-07-28T01:51:22.000Z
prototype/src/asf_meta/meta_ut1_table.cpp
glshort/MapReady
c9065400a64c87be46418ab32e3a251ca2f55fd5
[ "BSD-3-Clause" ]
null
null
null
prototype/src/asf_meta/meta_ut1_table.cpp
glshort/MapReady
c9065400a64c87be46418ab32e3a251ca2f55fd5
[ "BSD-3-Clause" ]
7
2017-04-26T18:18:33.000Z
2020-05-15T08:01:09.000Z
/* Table prepared by script process_epoc.sh eopc01.1900-2006 on Tue Jun 20 10:53:11 AKDT 2006 Format: <UTC year> <TAI-UTC> <UT1-TAI> (DUT source) */ { 1972.00, 10, -10.04749},/*IERS*/ { 1972.10, 10, -10.16419},/*IERS*/ { 1972.20, 10, -10.28450},/*IERS*/ { 1972.30, 10, -10.41373},/*IERS*/ { 1972.40, 10, -10.5400...
34.719818
45
0.544286
glshort
fd27823da30cf2c99148fc361d2ed35542f6ab40
2,130
cpp
C++
src/util/string_util.cpp
luist18/feup-aeda-proj1
c9d500f3fbc24d36fed85a706926872094c2bf0b
[ "MIT" ]
null
null
null
src/util/string_util.cpp
luist18/feup-aeda-proj1
c9d500f3fbc24d36fed85a706926872094c2bf0b
[ "MIT" ]
null
null
null
src/util/string_util.cpp
luist18/feup-aeda-proj1
c9d500f3fbc24d36fed85a706926872094c2bf0b
[ "MIT" ]
1
2020-04-03T17:10:34.000Z
2020-04-03T17:10:34.000Z
#include <vector> #include <string> #include <sstream> #include <iomanip> #include <random> #include <algorithm> #include "string_util.h" std::vector<std::string> string_util::split(const std::string &string, const std::string &delimiter) { std::string aux = string; std::string token; size_t pos = 0; s...
27.662338
114
0.615023
luist18
fd2e91aee0cd8b477dfab122b7ad308982499973
3,178
cpp
C++
gueepo2D/engine/core/renderer/Renderer.cpp
guilhermepo2/gueepo2D
deb03ff39c871710c07d36c366b53b34dbfebf08
[ "MIT" ]
1
2022-02-03T19:24:47.000Z
2022-02-03T19:24:47.000Z
gueepo2D/engine/core/renderer/Renderer.cpp
guilhermepo2/gueepo2D
deb03ff39c871710c07d36c366b53b34dbfebf08
[ "MIT" ]
4
2021-10-30T19:03:07.000Z
2022-02-10T01:06:02.000Z
gueepo2D/engine/core/renderer/Renderer.cpp
guilhermepo2/gueepo2D
deb03ff39c871710c07d36c366b53b34dbfebf08
[ "MIT" ]
1
2021-10-01T03:08:21.000Z
2021-10-01T03:08:21.000Z
#include "gueepo2Dpch.h" #include "Renderer.h" #include "core/Containers/string.h" #include "core/filesystem/Filesystem.h" #include "core/renderer/OrtographicCamera.h" #include "core/Renderer/RendererAPI.h" #include "core/Renderer/Shader.h" #include "core/Renderer/SpriteBatcher.h" // Specific Renderer APIs #include ...
27.877193
123
0.69163
guilhermepo2
fd3064ad9e0677815b06b9eb961cf0c0376d285c
295
hh
C++
events/NewPlayerEvent.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
5
2016-03-15T20:14:10.000Z
2020-10-30T23:56:24.000Z
events/NewPlayerEvent.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
3
2018-12-19T19:12:44.000Z
2020-04-02T13:07:00.000Z
events/NewPlayerEvent.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
2
2016-04-11T19:29:28.000Z
2021-11-26T20:53:22.000Z
#ifndef NEWPLAYEREVENT_H_ # define NEWPLAYEREVENT_H_ # include "AEvent.hh" class NewPlayerEvent : public AEvent { public: NewPlayerEvent(unsigned int hash); virtual ~NewPlayerEvent(); unsigned int getRemoteId() const; protected: unsigned int _hash; }; #endif /* !NEWPLAYEREVENT_H_ */
17.352941
36
0.752542
deb0ch
fd327d1641017eb8fd91a66d05ede5f755759d7a
10,510
cpp
C++
frenet_planner_ros/src/frenetROS_obst.cpp
anime-sh/frenet-gym
2f8f4aa5a3de8c0e63aee81b0891ea0cf16bc305
[ "MIT" ]
1
2021-12-10T11:40:12.000Z
2021-12-10T11:40:12.000Z
frenet_planner_ros/src/frenetROS_obst.cpp
anime-sh/frenet-gym
2f8f4aa5a3de8c0e63aee81b0891ea0cf16bc305
[ "MIT" ]
1
2021-05-29T09:12:19.000Z
2021-05-29T09:12:19.000Z
frenet_planner_ros/src/frenetROS_obst.cpp
anime-sh/frenet-gym
2f8f4aa5a3de8c0e63aee81b0891ea0cf16bc305
[ "MIT" ]
1
2020-09-17T14:30:44.000Z
2020-09-17T14:30:44.000Z
#include "../include/frenet_optimal_trajectory.hpp" #include <ros/ros.h> #include <geometry_msgs/Twist.h> #include <nav_msgs/Path.h> #include <tf/transform_datatypes.h> #include <utility> #include <ros/console.h> #include <std_msgs/String.h> #include <std_msgs/Float64.h> #include <thread> #include <chrono> namespace ...
26.811224
190
0.677545
anime-sh
fd36ce26d4be3904e2ad166a033ca00fa1f33f78
2,812
hpp
C++
waterbox/ares64/ares/nall/emulation/21fx.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
waterbox/ares64/ares/nall/emulation/21fx.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
296
2021-10-16T18:00:18.000Z
2022-03-31T12:09:00.000Z
waterbox/ares64/ares/nall/emulation/21fx.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
#pragma once #include <nall/nall.hpp> #include <nall/serial.hpp> using namespace nall; struct FX { auto open(Arguments& arguments) -> bool; auto close() -> void; auto readable() -> bool; auto read() -> u8; auto writable() -> bool; auto write(u8 data) -> void; auto read(u32 offset, u32 length) -> vector...
21.79845
107
0.63478
Fortranm
fd370b1916e9f70f78daaa6e4b16f876ff71acab
836
cpp
C++
console/src/boost_1_78_0/libs/hana/test/issues/github_460.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
1,260
2015-10-19T20:49:55.000Z
2022-03-30T03:17:05.000Z
console/src/boost_1_78_0/libs/hana/test/issues/github_460.cpp
vany152/FilesHash
39f282807b7f1abc56dac389e8259ee3bb557a8d
[ "MIT" ]
310
2015-10-20T12:42:04.000Z
2022-03-31T17:19:53.000Z
Libs/boost_1_76_0/libs/hana/test/issues/github_460.cpp
Antd23rus/S2DE
47cc7151c2934cd8f0399a9856c1e54894571553
[ "MIT" ]
218
2015-11-02T06:46:17.000Z
2022-02-07T05:25:54.000Z
// Copyright Jason Rice 2020 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #include <boost/hana/define_struct.hpp> #include <boost/hana/equal.hpp> #include <boost/hana/members.hpp> #include <boost/hana/not_equal.hpp> name...
29.857143
81
0.696172
vany152
fd3a945300df5ca2ac17b3e959d996cfd02d0c10
1,403
cpp
C++
LivestreamEx/SubProcessorDanmuDouyu.cpp
cnSchwarzer/LivestreamExtract
14aabf3c5bb728941c62e3871b9aa1f55d0390a5
[ "MIT" ]
8
2021-04-01T00:36:34.000Z
2021-06-13T15:58:17.000Z
LivestreamEx/SubProcessorDanmuDouyu.cpp
cnSchwarzer/LivestreamExtract
14aabf3c5bb728941c62e3871b9aa1f55d0390a5
[ "MIT" ]
null
null
null
LivestreamEx/SubProcessorDanmuDouyu.cpp
cnSchwarzer/LivestreamExtract
14aabf3c5bb728941c62e3871b9aa1f55d0390a5
[ "MIT" ]
2
2021-04-16T04:00:34.000Z
2021-08-30T03:06:47.000Z
#include "SubProcessorDanmuDouyu.h" #include <filesystem> #include <fstream> #include "../common.h" void SubProcessorDanmuDouyu::initialize(LivestreamDanmuDouyu* dm) { dm->onChatMessage([=](ChatMessage* msg) { danmu(reinterpret_cast<ChatMessageDouyu*>(msg)); }); } void SubProcessorDanmuDouyu::danmu(ChatMessa...
23
87
0.703493
cnSchwarzer
fd3c63cfa74d73ef827df6b19f1dae409a9b6502
15,480
cpp
C++
uwsim_resources/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
1
2020-11-30T09:55:33.000Z
2020-11-30T09:55:33.000Z
uwsim_resources/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
null
null
null
uwsim_resources/uwsim_osgworks/src/osgwTools/TangentSpaceGeneratorDouble.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
2
2020-11-21T19:50:54.000Z
2020-12-27T09:35:29.000Z
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * osgWorks is (C) Copyright 2009-2012 by Kenneth Mark Bryden * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1 as published by the Fr...
37.033493
149
0.461693
epsilonorion
fd3d0a66668762df21be8791e950c82c515166d9
2,120
hpp
C++
Engine/Source/Core/Testing.hpp
AhsanSarwar45/Qombat-OLD
0247441cf4927733ef0786c6df9a087461b0260b
[ "Apache-2.0" ]
null
null
null
Engine/Source/Core/Testing.hpp
AhsanSarwar45/Qombat-OLD
0247441cf4927733ef0786c6df9a087461b0260b
[ "Apache-2.0" ]
null
null
null
Engine/Source/Core/Testing.hpp
AhsanSarwar45/Qombat-OLD
0247441cf4927733ef0786c6df9a087461b0260b
[ "Apache-2.0" ]
null
null
null
// #pragma once // #include "Core/Core.hpp" // #include "Core/Configuration/ConfigManager.hpp" // #include "Core/Memory/PoolAllocator.hpp" // #include "Core/Memory/StackAllocator.hpp" // #include "Utility/Hashing.hpp" // #include <Core/Configuration/Configuration.hpp> // namespace QMBT // { // class MemoryLogger //...
27.179487
92
0.602358
AhsanSarwar45
fd402f55cf0e7f00c97c9edff1c1f848eed9ad4e
17,006
cpp
C++
test/test.cpp
erichschroeter/circular_buffer
b161e9043b8996ef00c38afe43a6cffe8dfaaffe
[ "MIT" ]
2
2015-03-17T09:53:42.000Z
2020-05-15T07:28:37.000Z
test/test.cpp
erichschroeter/circular_buffer
b161e9043b8996ef00c38afe43a6cffe8dfaaffe
[ "MIT" ]
null
null
null
test/test.cpp
erichschroeter/circular_buffer
b161e9043b8996ef00c38afe43a6cffe8dfaaffe
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include <circular_buffer.h> #ifdef _WIN32 #define snprintf _snprintf_s #define sprintf sprintf_s #define strcat strcat_s #endif static int get_seed() { /* If user set CB_SEED env var, use it. Otherwise use default. */ char *env = getenv("CB_SEED"); if (env == NULL)...
28.155629
88
0.688639
erichschroeter
fd415f40366e15530e9acc482cf037f4fda479d6
351
cpp
C++
demos/stdio/carrots/carrots.cpp
rambasnet/CPP-Fundamentals
bc2fa9fddac95ffaca56d3251842f35c52eb76b8
[ "MIT" ]
6
2021-03-12T10:02:23.000Z
2022-01-11T12:27:41.000Z
demos/stdio/carrots/carrots.cpp
rambasnet/CPPFundamentals
d0dabf1969b2a084b15e8c0bbba3f70045b263f5
[ "MIT" ]
1
2021-03-13T18:07:37.000Z
2021-05-12T09:09:17.000Z
demos/stdio/carrots/carrots.cpp
rambasnet/CPPFundamentals
d0dabf1969b2a084b15e8c0bbba3f70045b263f5
[ "MIT" ]
10
2021-03-12T10:02:33.000Z
2022-03-07T23:20:39.000Z
/* Kattis problem - https://open.kattis.com/problems/carrots Solving for Carrots Algorithm steps: - read only the first line (two numbers) - output the second number */ #include <iostream> #include <cstdio> // printf using namespace std; int main() { int N, P; cin >> N >> P; //cout << P << endl; pri...
16.714286
57
0.62963
rambasnet
fd42376fcd48f86a650efbef3d27f2221688aa60
882
cpp
C++
src/Przeszkoda_Prost.cpp
broszczakmateusz/Dron-poprawione
a7a3efc370e2ddf6110fd8e3672296cf32775dc2
[ "MIT" ]
null
null
null
src/Przeszkoda_Prost.cpp
broszczakmateusz/Dron-poprawione
a7a3efc370e2ddf6110fd8e3672296cf32775dc2
[ "MIT" ]
null
null
null
src/Przeszkoda_Prost.cpp
broszczakmateusz/Dron-poprawione
a7a3efc370e2ddf6110fd8e3672296cf32775dc2
[ "MIT" ]
null
null
null
// // Created by mati on 07.06.2020. // #include "Przeszkoda_Prost.h" Przeszkoda_Prost::Przeszkoda_Prost(std::shared_ptr<drawNS::Draw3DAPI> ptrApi, const SWektor<double,ROZMIAR> &sr) : Prostopadloscian(ptrApi, sr) { for (int i = 0; i<8; i++) { Wierzcholki[i] = Wierzcholki[i] /2; } SWektor<...
26.727273
112
0.646259
broszczakmateusz
fd42e1fb90e15220993a425ab67d649d58b8b1e0
2,842
cpp
C++
Programiranje Test 2 - Fuzija (spajanje) 2 niza u jedan/main.cpp
owlCoder/C_Plus_Plus_Projects
d2c70411c9322c89a8d6158a144e161abce65735
[ "MIT" ]
null
null
null
Programiranje Test 2 - Fuzija (spajanje) 2 niza u jedan/main.cpp
owlCoder/C_Plus_Plus_Projects
d2c70411c9322c89a8d6158a144e161abce65735
[ "MIT" ]
null
null
null
Programiranje Test 2 - Fuzija (spajanje) 2 niza u jedan/main.cpp
owlCoder/C_Plus_Plus_Projects
d2c70411c9322c89a8d6158a144e161abce65735
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; #include "FUZIJA.hpp" #include "PRAVOUGAONIK.hpp" #include "TACKA.hpp" int main() { int na, nb, nc, i; { cout << "\n---------------------- <int> ----------------------\n"; cout << endl << "Unos dimenzije za prvi niz: "; cin >> na;...
23.882353
81
0.354328
owlCoder
fd47f756c6468c0c78a994564c8a0efa229d2268
1,721
cpp
C++
gpmp2/obstacle/tests/testSelfCollision.cpp
Cryptum169/gpmp2
f361baac4917b9a4d1220411e9c69dc9f96f4277
[ "BSD-3-Clause" ]
null
null
null
gpmp2/obstacle/tests/testSelfCollision.cpp
Cryptum169/gpmp2
f361baac4917b9a4d1220411e9c69dc9f96f4277
[ "BSD-3-Clause" ]
null
null
null
gpmp2/obstacle/tests/testSelfCollision.cpp
Cryptum169/gpmp2
f361baac4917b9a4d1220411e9c69dc9f96f4277
[ "BSD-3-Clause" ]
null
null
null
/** * @file testSelfCollisionArm.cpp * @author Mustafa Mukadam **/ #include <CppUnitLite/TestHarness.h> #include <gtsam/base/Matrix.h> #include <gtsam/base/Testable.h> #include <gtsam/base/numericalDerivative.h> #include <gpmp2/obstacle/SelfCollisionArm.h> #include <iostream> #include <cmath> using namespace ...
28.213115
86
0.617083
Cryptum169
fd4ea416767b84ab190e43866def0e8565f86d59
2,159
cpp
C++
src/dataEntry.cpp
fborsani/water-usage-manager
74bacca63f255837054247cd26bad90c5e2ce31f
[ "MIT" ]
null
null
null
src/dataEntry.cpp
fborsani/water-usage-manager
74bacca63f255837054247cd26bad90c5e2ce31f
[ "MIT" ]
null
null
null
src/dataEntry.cpp
fborsani/water-usage-manager
74bacca63f255837054247cd26bad90c5e2ce31f
[ "MIT" ]
1
2019-11-16T20:15:48.000Z
2019-11-16T20:15:48.000Z
#include "dataEntry.h" dataEntry::dataEntry(QString date, QString cons, QString user):date(date),cons(cons),user(user){} dataEntry::dataEntry(std::string stdDate, std::string stdCons, std::string stdUser): date(date.fromStdString(stdDate)), cons(cons.fromStdString(stdUser)), user(user.fromStdString(s...
55.358974
100
0.728115
fborsani
fd57a84e742671ace2a25b648a9028b9f8e41bee
966
cpp
C++
library/source/operations_tests/pretty_print_tester.cpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
null
null
null
library/source/operations_tests/pretty_print_tester.cpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
null
null
null
library/source/operations_tests/pretty_print_tester.cpp
spiretrading/darcel
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
[ "MIT" ]
1
2020-04-17T13:25:25.000Z
2020-04-17T13:25:25.000Z
#include <sstream> #include <catch.hpp> #include "darcel/operations/pretty_print.hpp" #include "darcel/syntax/literal_expression.hpp" using namespace darcel; using namespace std; TEST_CASE("test_pretty_print_let", "[pretty_print]") { SECTION("Int literal") { std::stringstream ss; auto l = std::make_unique<L...
30.1875
68
0.665631
spiretrading