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
e9d6e50343051d7a46cd39ba8de15e3b50100248
2,369
cpp
C++
Source/OpenTournament/UR_Ammo.cpp
NATOcm/OpenTournament
d279034fdad80bdbacb4d0dc687c334545364688
[ "OML" ]
null
null
null
Source/OpenTournament/UR_Ammo.cpp
NATOcm/OpenTournament
d279034fdad80bdbacb4d0dc687c334545364688
[ "OML" ]
null
null
null
Source/OpenTournament/UR_Ammo.cpp
NATOcm/OpenTournament
d279034fdad80bdbacb4d0dc687c334545364688
[ "OML" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "UR_Ammo.h" #include "UR_Weapon.h" #include "UR_InventoryComponent.h" #include "Engine.h" #include "OpenTournament.h" #include "UR_Character.h" // Sets default values AUR_Ammo::AUR_Ammo(const FObjectInitializer& Object...
29.987342
177
0.743774
NATOcm
e9d828303c4ff6fb18b1755be725f7294977499b
629
cpp
C++
_posts/KickStart/2021_Round_B/Increasing Substring.cpp
Yukun4119/Yukun4119.github.io
152f87e46295bcb09f485bce2dd27ae2b9316d6a
[ "MIT" ]
null
null
null
_posts/KickStart/2021_Round_B/Increasing Substring.cpp
Yukun4119/Yukun4119.github.io
152f87e46295bcb09f485bce2dd27ae2b9316d6a
[ "MIT" ]
null
null
null
_posts/KickStart/2021_Round_B/Increasing Substring.cpp
Yukun4119/Yukun4119.github.io
152f87e46295bcb09f485bce2dd27ae2b9316d6a
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long #define ar array void solve(int len, string str){ int curSum = 1; cout << 1 << " "; for(int i = 1; i < len; i++){ if(str[i] > str[i - 1]) { curSum++; } else{ curSum = 1; } ...
17
40
0.406995
Yukun4119
e9d9069c98c942b3368527f19576d82262a8b4da
1,763
cpp
C++
src/module/Pid.cpp
Oiwane/etrobocon2019
065bbd58f721b479a4862c3344a8fb744fd18df6
[ "WTFPL" ]
3
2020-02-29T16:32:00.000Z
2021-05-10T18:30:12.000Z
src/module/Pid.cpp
Oiwane/etrobocon2019
065bbd58f721b479a4862c3344a8fb744fd18df6
[ "WTFPL" ]
310
2019-05-21T06:56:11.000Z
2019-11-18T19:12:32.000Z
src/module/Pid.cpp
Oiwane/etrobocon2019
065bbd58f721b479a4862c3344a8fb744fd18df6
[ "WTFPL" ]
12
2019-05-21T06:19:59.000Z
2021-05-17T15:19:48.000Z
/** * @file Pid.cpp * @brief PID制御クラス * @author T.Miyaji */ #include "Pid.h" PidGain::PidGain(double Kp_, double Ki_, double Kd_) : ConstPidGain(Kp_, Ki_, Kd_)//, Kp(Kp_), Ki(Ki_), Kd(Kd_) { } Pid::Pid(double target_, double Kp_, double Ki_, double Kd_) : target(target_), gain(Kp_, Ki_, Kd_), integral(0...
18.755319
82
0.6211
Oiwane
e9da2f8a629a8c55e28158299f6c63c553f29559
13,581
cpp
C++
spine-cocos2dx/MBSpineFramework/cocos2d-x-3.17.2/tests/performance-tests/Classes/tests/controller.cpp
BowenCoder/spine-cocos2dx
cfac5100b78782b2d4ce84b472a435f46aff4da9
[ "MIT" ]
null
null
null
spine-cocos2dx/MBSpineFramework/cocos2d-x-3.17.2/tests/performance-tests/Classes/tests/controller.cpp
BowenCoder/spine-cocos2dx
cfac5100b78782b2d4ce84b472a435f46aff4da9
[ "MIT" ]
null
null
null
spine-cocos2dx/MBSpineFramework/cocos2d-x-3.17.2/tests/performance-tests/Classes/tests/controller.cpp
BowenCoder/spine-cocos2dx
cfac5100b78782b2d4ce84b472a435f46aff4da9
[ "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
27.381048
129
0.600545
BowenCoder
e9dba42178d9d92f71535b72fa3fb4a4ab1115f5
6,214
cc
C++
src/quicksilver/PopulationControl.cc
cpc/hipcl-samples
59ce99784b5e3158a9e23a9790a277586ada70e5
[ "MIT" ]
1
2020-12-29T21:44:16.000Z
2020-12-29T21:44:16.000Z
src/quicksilver/PopulationControl.cc
cpc/hipcl-samples
59ce99784b5e3158a9e23a9790a277586ada70e5
[ "MIT" ]
null
null
null
src/quicksilver/PopulationControl.cc
cpc/hipcl-samples
59ce99784b5e3158a9e23a9790a277586ada70e5
[ "MIT" ]
1
2020-04-09T22:04:18.000Z
2020-04-09T22:04:18.000Z
#include "PopulationControl.hh" #include "Globals.hh" #include "MC_Particle.hh" #include "MC_Processor_Info.hh" #include "MonteCarlo.hh" #include "NVTX_Range.hh" #include "ParticleVault.hh" #include "ParticleVaultContainer.hh" #include "utilsMpi.hh" #include <vector> namespace { void PopulationControlGuts(const double...
36.769231
80
0.691664
cpc
e9dbbf1d6b858347e18074452de13632c686f057
926
cpp
C++
Lib/Filters/PowerFilter.cpp
vfdev-5/GeoImageViewer
31e8d6c9340a742c0ffad4c159338da2c15564d7
[ "Apache-2.0" ]
3
2016-08-27T10:46:43.000Z
2022-03-11T11:39:37.000Z
Lib/Filters/PowerFilter.cpp
vfdev-5/GeoImageViewer
31e8d6c9340a742c0ffad4c159338da2c15564d7
[ "Apache-2.0" ]
null
null
null
Lib/Filters/PowerFilter.cpp
vfdev-5/GeoImageViewer
31e8d6c9340a742c0ffad4c159338da2c15564d7
[ "Apache-2.0" ]
2
2016-08-27T10:46:45.000Z
2018-06-06T01:50:54.000Z
// Opencv #include <opencv2/imgproc/imgproc.hpp> // Project #include "PowerFilter.h" namespace Filters { //****************************************************************************** /*! \class PowerFilter \brief applies power operation on input image */ //*******************************...
21.534884
81
0.395248
vfdev-5
e9de17cbc602dcd1f34870fed745273110b33f8d
14,949
cxx
C++
ds/adsi/winnt/ccache.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/winnt/ccache.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/winnt/ccache.cxx
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: ccache.cxx // // Contents: Class Cache functionality for the NT Provider // // //-----------------------------------------------...
19.85259
79
0.45876
npocmaka
e9de7686b8409d39b981c1368ed62c5d3aeef028
212
cc
C++
src/commands/text_processing/TSR.cc
jhhuh/imgui-terminal
134f9cb6779738ecf00d6aba8315702986f71115
[ "MIT" ]
32
2017-09-19T07:25:29.000Z
2022-03-21T08:21:48.000Z
src/commands/text_processing/TSR.cc
jhhuh/imgui-terminal
134f9cb6779738ecf00d6aba8315702986f71115
[ "MIT" ]
1
2017-10-24T18:56:36.000Z
2017-10-24T18:56:36.000Z
src/commands/text_processing/TSR.cc
jhhuh/imgui-terminal
134f9cb6779738ecf00d6aba8315702986f71115
[ "MIT" ]
10
2017-10-18T05:08:14.000Z
2022-03-21T09:29:04.000Z
#include <terminal/Terminal.hh> namespace terminal { // Tabulation Stop Remove // ECMA-48 8.3.156 bool Terminal::TSR(uint32_t p) { // no default log("TSR(%u)", p); //! @todo return false; } }
10.095238
31
0.608491
jhhuh
e9e194746202dfce6120c13d255a498a8d780fd5
2,848
cpp
C++
Deitel/Chapter05/exercises/5.30/Question.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
Deitel/Chapter05/exercises/5.30/Question.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Deitel/Chapter05/exercises/5.30/Question.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
/* * ===================================================================================== * * Filename: * * Description: * * Version: 1.0 * Created: Thanks to github you know it * Revision: none * Compiler: g++ * * Author: Mahmut Erdem ÖZGEN m.erdemozgen...
24.982456
88
0.508076
SebastianTirado
e9e19b9fe9823a14ad2f4b9741f0ce517bd24ab5
471
hpp
C++
Engine/Include/Sapphire/Maths/Space/TrComps.hpp
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
2
2020-03-18T09:06:21.000Z
2020-04-09T00:07:56.000Z
Engine/Include/Sapphire/Maths/Space/TrComps.hpp
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
null
null
null
Engine/Include/Sapphire/Maths/Space/TrComps.hpp
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
null
null
null
// Copyright 2020 Sapphire development team. All Rights Reserved. #pragma once #ifndef SAPPHIRE_MATHS_TR_COMPS_GUARD #define SAPPHIRE_MATHS_TR_COMPS_GUARD #include <Core/Types/Int.hpp> namespace Sa { enum class TrComp : uint8 { None = 0, Position = 1 << 0, Rotation = 1 << 1, Scale = 1 << 2, // === ...
13.852941
65
0.649682
SapphireSuite
e9e2430d410fb5da9fcd33d9f7e3b3ddd6adee8c
8,588
hpp
C++
engine/engine/core/buffers/buffer.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
engine/engine/core/buffers/buffer.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
engine/engine/core/buffers/buffer.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2022-01-28T16:37:51.000Z
2022-01-28T16:37:51.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...
34.079365
100
0.680135
ddr95070
e9e773d1fcbe1bbdfaadbcbae3b45b1baf2afd37
803
ipp
C++
include/network/protocol/http/client/connection_manager.ipp
iBeacons/cpp-netlib
9d03a037e465df96a98c1db5f3e50a865f501b64
[ "BSL-1.0" ]
1
2017-04-11T17:27:38.000Z
2017-04-11T17:27:38.000Z
include/network/protocol/http/client/connection_manager.ipp
iBeacons/cpp-netlib
9d03a037e465df96a98c1db5f3e50a865f501b64
[ "BSL-1.0" ]
null
null
null
include/network/protocol/http/client/connection_manager.ipp
iBeacons/cpp-netlib
9d03a037e465df96a98c1db5f3e50a865f501b64
[ "BSL-1.0" ]
null
null
null
// Copyright 2011 Dean Michael Berris <dberris@google.com>. // Copyright 2011 Google, Inc. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef NETWORK_PROTOCOL_HTTP_CLIENT_CONNECTION_MANAGER_IPP_20111103 #de...
33.458333
73
0.801993
iBeacons
e9eb978e3086fe8baa1e6cfdeb16ca3be755e92b
7,980
cpp
C++
plugins/newarc.ex/Newarc/Source/processname.cpp
MKadaner/FarManager
c99a14c12e3481dd25ce71451ecd264656f631bb
[ "BSD-3-Clause" ]
1,256
2015-07-07T12:19:17.000Z
2022-03-31T18:41:41.000Z
plugins/newarc.ex/Newarc/Source/processname.cpp
MKadaner/FarManager
c99a14c12e3481dd25ce71451ecd264656f631bb
[ "BSD-3-Clause" ]
305
2017-11-01T18:58:50.000Z
2022-03-22T11:07:23.000Z
plugins/newarc.ex/Newarc/Source/processname.cpp
MKadaner/FarManager
c99a14c12e3481dd25ce71451ecd264656f631bb
[ "BSD-3-Clause" ]
183
2017-10-28T11:31:14.000Z
2022-03-30T16:46:24.000Z
#define PF_FLAG_QUOTE_SPACES 1 //Q #define PF_FLAG_QUOTE_ALL 2 //q #define PF_FLAG_USE_BACKSLASH 4 //S #define PF_FLAG_DIR_NAME_AS_MASK 8 //M #define PF_FLAG_DIR_NAME_AS_NAME 16 //N #define PF_FLAG_NAME_ONLY 32 //W #define PF_FLAG_PATH_ONLY 64 //P #define PF_FLAG_ANSI_CHARSET 128 //A #define PF_FLAG_UTF8_CHAR...
19
89
0.637719
MKadaner
e9ee1d5b06d1784ea7b044621adae46fbb1b4c7f
459
hpp
C++
module/ngx_http_java_module/ngx_http_java_module.hpp
webcpp/hinginx
b380df41df5cd4763fba2a01a0fa0738bf6e5d4d
[ "BSD-2-Clause" ]
null
null
null
module/ngx_http_java_module/ngx_http_java_module.hpp
webcpp/hinginx
b380df41df5cd4763fba2a01a0fa0738bf6e5d4d
[ "BSD-2-Clause" ]
null
null
null
module/ngx_http_java_module/ngx_http_java_module.hpp
webcpp/hinginx
b380df41df5cd4763fba2a01a0fa0738bf6e5d4d
[ "BSD-2-Clause" ]
null
null
null
#pragma once extern "C" { #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> } #include <regex> #include <memory> #include "java.hpp" static std::shared_ptr<std::regex> java_uri_re = nullptr; static std::shared_ptr<hi::java> java_engine = nullptr; typedef struct { ngx_str_t class_path; ngx...
17.653846
57
0.727669
webcpp
e9f183f51a30ccbc179e0378846d734e1b3e1fe5
235
cpp
C++
pytorch/pcdet/ops/nms/src/iou3d_nms_api.cpp
chasingw/pointpillars_pytorch_trt
941075a23d86991393ea71ddbeb916ca80b73400
[ "Apache-2.0" ]
45
2021-04-30T04:52:39.000Z
2022-03-30T07:09:59.000Z
pytorch/pcdet/ops/nms/src/iou3d_nms_api.cpp
chasingw/pointpillars_pytorch_trt
941075a23d86991393ea71ddbeb916ca80b73400
[ "Apache-2.0" ]
17
2021-05-27T10:15:32.000Z
2022-01-15T08:45:53.000Z
pytorch/pcdet/ops/nms/src/iou3d_nms_api.cpp
chasingw/pointpillars_pytorch_trt
941075a23d86991393ea71ddbeb916ca80b73400
[ "Apache-2.0" ]
15
2021-05-24T05:43:17.000Z
2022-03-02T02:53:56.000Z
#include <torch/serialize/tensor.h> #include <torch/extension.h> #include <vector> #include <cuda.h> #include <cuda_runtime_api.h> #include "iou3d_nms.h" PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { m.def("nms", &nms, "nms func"); }
18.076923
42
0.719149
chasingw
e9f4462d7dcf69b6cdb7b0f0cd6fffc36658416c
3,755
hpp
C++
src/tools/log.hpp
otgaard/zap
d50e70b5baf5f0fbf7a5a98d80c4d1bcc6166215
[ "MIT" ]
8
2016-04-24T21:02:59.000Z
2021-11-14T20:37:17.000Z
src/tools/log.hpp
otgaard/zap
d50e70b5baf5f0fbf7a5a98d80c4d1bcc6166215
[ "MIT" ]
null
null
null
src/tools/log.hpp
otgaard/zap
d50e70b5baf5f0fbf7a5a98d80c4d1bcc6166215
[ "MIT" ]
1
2018-06-09T19:51:38.000Z
2018-06-09T19:51:38.000Z
/* Created by Darren Otgaar on 2016/03/05. http://www.github.com/otgaard/zap */ #ifndef ZAP_LOG_HPP #define ZAP_LOG_HPP #include <mutex> #include <memory> #include <sstream> #include <iostream> #include <functional> #include <core/core.hpp> #if !defined(_WIN32) const char* const LOG_RESET = "\033[0m"; const char* co...
33.230088
110
0.621039
otgaard
e9f4fba01c203388e3ddbf7bf0a6640937acbfc0
1,754
cpp
C++
comps/example/src/ExampleComp.cpp
caochunxi/llbc_comps
5985c5ac020e21a73cb221f56ae7660ead2cfa3b
[ "MIT" ]
6
2021-01-04T01:21:10.000Z
2021-12-17T02:25:54.000Z
comps/example/src/ExampleComp.cpp
caochunxi/llbc_comps
5985c5ac020e21a73cb221f56ae7660ead2cfa3b
[ "MIT" ]
null
null
null
comps/example/src/ExampleComp.cpp
caochunxi/llbc_comps
5985c5ac020e21a73cb221f56ae7660ead2cfa3b
[ "MIT" ]
1
2020-12-30T12:21:13.000Z
2020-12-30T12:21:13.000Z
// The MIT License (MIT) // Copyright (c) 2013 lailongwei<lailongwei@126.com> // // 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 r...
33.730769
88
0.736032
caochunxi
e9fa2fc6ec5ef65f2e41f93cbf725c68a4894e10
1,441
cpp
C++
lib/obsolete/ExpertSystem/CLIPSModuleBuilder.cpp
DrItanium/durandal
dd45114bbe30819a69dec5c1162e6fad162119ed
[ "BSD-3-Clause" ]
1
2018-05-25T05:20:09.000Z
2018-05-25T05:20:09.000Z
lib/obsolete/ExpertSystem/CLIPSModuleBuilder.cpp
DrItanium/durandal
dd45114bbe30819a69dec5c1162e6fad162119ed
[ "BSD-3-Clause" ]
2
2015-11-23T05:22:47.000Z
2015-11-23T05:24:03.000Z
lib/obsolete/ExpertSystem/CLIPSModuleBuilder.cpp
DrItanium/durandal
dd45114bbe30819a69dec5c1162e6fad162119ed
[ "BSD-3-Clause" ]
null
null
null
#include "ExpertSystem/CLIPSModuleBuilder.h" #include "llvm/Module.h" using namespace llvm; CLIPSModuleBuilder::CLIPSModuleBuilder(std::string nm, std::string ty) : CLIPSObjectBuilder(nm, ty) { } void CLIPSModuleBuilder::build(Module* mod, KnowledgeConstructor* kc) { open(); addField("pointer", (PointerAddress...
34.309524
103
0.664816
DrItanium
e9fe3077182502bf34438e939cc5ae6c5883e15d
1,774
cpp
C++
test/api/api_misuse.cpp
SylvainHocq/mapbox-gl-native
bca9d091805dc01a4456ab3f24e9de87f9b4aa48
[ "BSL-1.0", "Apache-2.0" ]
1
2021-04-26T05:41:57.000Z
2021-04-26T05:41:57.000Z
test/api/api_misuse.cpp
SylvainHocq/mapbox-gl-native
bca9d091805dc01a4456ab3f24e9de87f9b4aa48
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
test/api/api_misuse.cpp
SylvainHocq/mapbox-gl-native
bca9d091805dc01a4456ab3f24e9de87f9b4aa48
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#include <mbgl/test/util.hpp> #include <mbgl/test/stub_file_source.hpp> #include <mbgl/test/fixture_log_observer.hpp> #include <mbgl/map/map.hpp> #include <mbgl/platform/default/headless_display.hpp> #include <mbgl/storage/online_file_source.hpp> #include <mbgl/util/exception.hpp> #include <mbgl/util/run_loop.hpp> #i...
26.088235
87
0.668546
SylvainHocq
1800a88c6a34573069996679dd42487ce4aac0a4
2,520
hpp
C++
modules/scene_manager/include/nav_msgs/srv/set_map__response__rosidl_typesupport_opensplice_cpp.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/nav_msgs/srv/set_map__response__rosidl_typesupport_opensplice_cpp.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/nav_msgs/srv/set_map__response__rosidl_typesupport_opensplice_cpp.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
// generated from // rosidl_typesupport_opensplice_cpp/resource/msg__rosidl_typesupport_opensplice_cpp.hpp.em // generated code does not contain a copyright notice #ifndef NAV_MSGS__SRV__SET_MAP__RESPONSE__ROSIDL_TYPESUPPORT_OPENSPLICE_CPP_HPP_ #define NAV_MSGS__SRV__SET_MAP__RESPONSE__ROSIDL_TYPESUPPORT_OPENSPLICE_CP...
27.096774
121
0.846825
Omnirobotic
18013dd6c8dc8cf0aa00540f743c54b5c61b9a94
901
cpp
C++
src/main/cpp/Autonomous/Steps/TimedDrive.cpp
FRCTeam16/TMW2021OMB
5ac92a1ac2030d2913c18ba7a55450a4b46abbc7
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/Autonomous/Steps/TimedDrive.cpp
FRCTeam16/TMW2021OMB
5ac92a1ac2030d2913c18ba7a55450a4b46abbc7
[ "BSD-3-Clause" ]
9
2022-01-24T17:02:09.000Z
2022-01-24T17:02:11.000Z
src/main/cpp/Autonomous/Steps/TimedDrive.cpp
FRCTeam16/TMW2021OMB
5ac92a1ac2030d2913c18ba7a55450a4b46abbc7
[ "BSD-3-Clause" ]
1
2022-02-20T02:09:17.000Z
2022-02-20T02:09:17.000Z
#include "Autonomous/Steps/TimedDrive.h" #include "Robot.h" #include "Util/RampUtil.h" bool TimedDrive::Run(std::shared_ptr<World> world) { const double currentTime = world->GetClock(); if (startTime < 0) { startTime = currentTime; Robot::driveBase->UseOpenLoopDrive(); Robot::driveBase->SetTargetAngle(angle); ...
25.742857
87
0.63374
FRCTeam16
18037e0167f3a34a25ee74d5e4da2b275d5d72bd
506
inl
C++
Refureku/Library/Include/Public/Refureku/TypeInfo/Archetypes/Template/ClassTemplate.inl
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
143
2020-04-07T21:38:21.000Z
2022-03-30T01:06:33.000Z
Refureku/Library/Include/Public/Refureku/TypeInfo/Archetypes/Template/ClassTemplate.inl
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
7
2021-03-30T07:26:21.000Z
2022-03-28T16:31:02.000Z
Refureku/Library/Include/Public/Refureku/TypeInfo/Archetypes/Template/ClassTemplate.inl
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
11
2020-06-06T09:45:12.000Z
2022-01-25T17:17:55.000Z
/** * Copyright (c) 2021 Julien SOYSOUVANH - All Rights Reserved * * This file is part of the Refureku library project which is released under the MIT License. * See the README.md file for full license details. */ template <std::size_t ArgsCount> ClassTemplateInstantiation const* ClassTemplate::getTemplateInstantiatio...
26.631579
132
0.756917
jsoysouvanh
180539f6b3db70c6f377097c4726053ab9b2f786
1,109
cpp
C++
test/pqxx_test.cpp
ankane/pgvector-cpp
d84bd0cc70eeb5371c7a92efa88163de9ea927ba
[ "MIT" ]
null
null
null
test/pqxx_test.cpp
ankane/pgvector-cpp
d84bd0cc70eeb5371c7a92efa88163de9ea927ba
[ "MIT" ]
null
null
null
test/pqxx_test.cpp
ankane/pgvector-cpp
d84bd0cc70eeb5371c7a92efa88163de9ea927ba
[ "MIT" ]
null
null
null
#include "../include/pqxx.hpp" #include <cassert> #include <optional> #include <pqxx/pqxx> void setup(pqxx::connection &conn) { pqxx::work txn{conn}; txn.exec0("CREATE EXTENSION IF NOT EXISTS vector"); txn.exec0("DROP TABLE IF EXISTS items"); txn.exec0("CREATE TABLE items (id serial primary key, factors vector...
28.435897
77
0.646528
ankane
1805dd093a477beba6418965c96f7860355a4e63
2,944
cpp
C++
libraries/chain/wast_to_wasm.cpp
yinchengtsinghua/EOSIOChineseCPP
dceabf6315ab8c9a064c76e943b2b44037165a85
[ "MIT" ]
21
2019-01-23T04:17:48.000Z
2021-11-15T10:50:33.000Z
libraries/chain/wast_to_wasm.cpp
jiege1994/EOSIOChineseCPP
dceabf6315ab8c9a064c76e943b2b44037165a85
[ "MIT" ]
1
2019-08-06T07:53:54.000Z
2019-08-13T06:51:29.000Z
libraries/chain/wast_to_wasm.cpp
jiege1994/EOSIOChineseCPP
dceabf6315ab8c9a064c76e943b2b44037165a85
[ "MIT" ]
11
2019-01-24T07:47:43.000Z
2020-10-29T02:18:20.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 /* *@文件 *@eos/license中定义的版权 **/ #include <eosio/chain/wast_to_wasm.hpp> #include <Inline/BasicTypes.h> #include <IR/Mo...
32.351648
106
0.631114
yinchengtsinghua
18063fac4a0ba2877f21f81984a018571c325802
5,899
cpp
C++
src/DecisionEngine/Core/Components/UnitTests/Index_UnitTest.cpp
davidbrownell/DavidBrownell_DecisionEngine
f331b57f7b5ab4a5de84595f79df191fc0c13fba
[ "BSL-1.0" ]
null
null
null
src/DecisionEngine/Core/Components/UnitTests/Index_UnitTest.cpp
davidbrownell/DavidBrownell_DecisionEngine
f331b57f7b5ab4a5de84595f79df191fc0c13fba
[ "BSL-1.0" ]
null
null
null
src/DecisionEngine/Core/Components/UnitTests/Index_UnitTest.cpp
davidbrownell/DavidBrownell_DecisionEngine
f331b57f7b5ab4a5de84595f79df191fc0c13fba
[ "BSL-1.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////// /// /// \file Index_UnitTest.cpp /// \brief Unit test for Index.h /// /// \author David Brownell <db@DavidBrownell.com> /// \date 2020-05-23 10:53:31 /// /// \note /// /// \bug /// //////////////...
32.234973
141
0.502967
davidbrownell
180ada3bcb42c87452c123c24a55712b97ab09a5
104,591
hpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_bgp_oper.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_bgp_oper.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_bgp_oper.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _CISCO_IOS_XE_BGP_OPER_ #define _CISCO_IOS_XE_BGP_OPER_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xe { namespace Cisco_IOS_XE_bgp_oper { class BgpStateData : public ydk::Entity { public: BgpStateData(); ~B...
57.625895
349
0.719746
CiscoDevNet
180d3973f99e8ca145b1117d02ee90392b76c118
1,696
cpp
C++
Laborator8/Project1/Project1/Source.cpp
GeorgeDenis/oop-2022
45b026f762a85c4e683f413b5c785b7e8541de04
[ "MIT" ]
null
null
null
Laborator8/Project1/Project1/Source.cpp
GeorgeDenis/oop-2022
45b026f762a85c4e683f413b5c785b7e8541de04
[ "MIT" ]
null
null
null
Laborator8/Project1/Project1/Source.cpp
GeorgeDenis/oop-2022
45b026f762a85c4e683f413b5c785b7e8541de04
[ "MIT" ]
1
2022-02-23T16:38:17.000Z
2022-02-23T16:38:17.000Z
#define _CRT_SECURE_NO_WARNINGS #include <string> #include <map> #include <cstdio> #include <iostream> #include <queue> using namespace std; bool Comparare(pair<string, int>& stanga, pair<string, int>& dreapta) { if (stanga.second != dreapta.second) return stanga.second < dreapta.second; else { ...
27.803279
116
0.551887
GeorgeDenis
180d5d3920f5966139b418540bceb4a9fdcb0a55
1,005
cpp
C++
evias/core/ro_container.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
1
2015-10-31T03:18:02.000Z
2015-10-31T03:18:02.000Z
evias/core/ro_container.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
null
null
null
evias/core/ro_container.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
null
null
null
#include "ro_container.cpp" using namespace evias::core; evias::core::readOnlyContainer::readOnlyContainer() : _dataPointer(0), _dataSize(0) { } evias::core::readOnlyContainer::readOnlyContainer(const Container* copy) : _dataPointer(copy->getData()), _dataSize(copy->getSize()) { } evias::cor...
20.1
88
0.715423
evias
180ee55b55b026732ba452b197d55f1e6e7f7e22
356
cpp
C++
lesson01/exampe16.cpp
Youngfellows/LinuxCPP
6148346ba2c5c0a6d29a4f3a564baf9f06d619fe
[ "Apache-2.0" ]
null
null
null
lesson01/exampe16.cpp
Youngfellows/LinuxCPP
6148346ba2c5c0a6d29a4f3a564baf9f06d619fe
[ "Apache-2.0" ]
null
null
null
lesson01/exampe16.cpp
Youngfellows/LinuxCPP
6148346ba2c5c0a6d29a4f3a564baf9f06d619fe
[ "Apache-2.0" ]
null
null
null
#include<iostream> int main() { //类型转换 float temp = 23.3; std::cout << temp << std::endl; double volume = 4.57; long double ld = 6.23E23; std::cout << volume << std::endl; std::cout << ld << std::endl; std::cout << volume * ld << std::endl; std::cout << temp/volume <...
17.8
43
0.5
Youngfellows
180f1e49d0102a23cdbcbe6d013dc76e3c430b66
2,557
cpp
C++
MaterialLib/FractureModels/CreateMohrCoulomb.cpp
HaibingShao/ogs6_ufz
d4acfe7132eaa2010157122da67c7a4579b2ebae
[ "BSD-4-Clause" ]
null
null
null
MaterialLib/FractureModels/CreateMohrCoulomb.cpp
HaibingShao/ogs6_ufz
d4acfe7132eaa2010157122da67c7a4579b2ebae
[ "BSD-4-Clause" ]
null
null
null
MaterialLib/FractureModels/CreateMohrCoulomb.cpp
HaibingShao/ogs6_ufz
d4acfe7132eaa2010157122da67c7a4579b2ebae
[ "BSD-4-Clause" ]
null
null
null
/** * \copyright * Copyright (c) 2012-2017, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #include "CreateMohrCoulomb.h" #include "ProcessL...
35.027397
106
0.746187
HaibingShao
18134b8fe388d34fa17eb86f057b359995c13d21
13,355
hpp
C++
include/seqan3/alphabet/detail/alphabet_proxy.hpp
h-2/seqan3
2cbc19c6f2cdb76c65ed6ff6ae70fc67334146d7
[ "CC-BY-4.0", "CC0-1.0" ]
4
2018-03-09T09:37:51.000Z
2020-07-28T04:52:01.000Z
include/seqan3/alphabet/detail/alphabet_proxy.hpp
h-2/seqan3
2cbc19c6f2cdb76c65ed6ff6ae70fc67334146d7
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
include/seqan3/alphabet/detail/alphabet_proxy.hpp
h-2/seqan3
2cbc19c6f2cdb76c65ed6ff6ae70fc67334146d7
[ "CC-BY-4.0", "CC0-1.0" ]
1
2018-03-09T09:37:54.000Z
2018-03-09T09:37:54.000Z
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
39.164223
119
0.673306
h-2
1826e5671918e7fb8faa820ab9cde99cdbf92dbe
1,255
cpp
C++
Source/Life/AI/Perceptions/UtilityAiFindNearestActorPerception.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
5
2022-02-09T21:19:03.000Z
2022-03-03T01:53:03.000Z
Source/Life/AI/Perceptions/UtilityAiFindNearestActorPerception.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
null
null
null
Source/Life/AI/Perceptions/UtilityAiFindNearestActorPerception.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
null
null
null
#include "Life/AI/Perceptions/UtilityAiFindNearestActorPerception.h" #include "Systems/Public/Iterator.h" #include "Life/AI/Reasoner/UtilityAiMemory.h" struct Meta { float DistanceSquared = 0; AActor* Actor = nullptr; }; void UUtilityAiFindNearestActorPerception::Perceive(AActor* Actor, USystemsWorld& Systems, ...
26.702128
76
0.631873
PsichiX
1826f405a781f2bb0b1730fcdc0cb166cadc0a56
3,468
cpp
C++
Sourcecode/private/mx/core/YesNoNumber.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
45
2019-04-16T19:55:08.000Z
2022-02-14T02:06:32.000Z
Sourcecode/private/mx/core/YesNoNumber.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
70
2019-04-07T22:45:21.000Z
2022-03-03T15:35:59.000Z
Sourcecode/private/mx/core/YesNoNumber.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
21
2019-05-13T13:59:06.000Z
2022-03-25T02:21:05.000Z
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License // self #include "mx/core/YesNoNumber.h" // std #include <sstream> #include <type_traits> namespace mx { namespace core { template<class> inline constexpr bool always_false_v = false; YesN...
25.313869
80
0.467705
Webern
182a280d1798bc89384eb89187c5c31075855e41
8,473
cpp
C++
src/slib/ui/list_report_view_win32.cpp
emarc99/SLib
4e492d6c550f845fd1b3f40bf10183097eb0e53c
[ "MIT" ]
146
2017-03-21T07:50:43.000Z
2022-03-19T03:32:22.000Z
src/slib/ui/list_report_view_win32.cpp
Crasader/SLib
4e492d6c550f845fd1b3f40bf10183097eb0e53c
[ "MIT" ]
50
2017-03-22T04:08:15.000Z
2019-10-21T16:55:48.000Z
src/slib/ui/list_report_view_win32.cpp
Crasader/SLib
4e492d6c550f845fd1b3f40bf10183097eb0e53c
[ "MIT" ]
55
2017-03-21T07:52:58.000Z
2021-12-27T13:02:08.000Z
/* * Copyright (c) 2008-2019 SLIBIO <https://github.com/SLIBIO> * * 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 * ...
31.265683
138
0.646406
emarc99
182b750d61a9fbf8a654b567071e8ad243a5df41
9,357
cpp
C++
modules/mojo/input/native/keyinfo.cpp
D-a-n-i-l-o/wonkey
6c9129a12fb622b971468ee5cc7adbedadd372ff
[ "Zlib" ]
109
2021-01-06T20:27:33.000Z
2022-03-07T19:28:50.000Z
modules/mojo/input/native/keyinfo.cpp
D-a-n-i-l-o/wonkey
6c9129a12fb622b971468ee5cc7adbedadd372ff
[ "Zlib" ]
4
2021-01-08T20:25:05.000Z
2021-06-08T05:36:48.000Z
modules/mojo/input/native/keyinfo.cpp
D-a-n-i-l-o/wonkey
6c9129a12fb622b971468ee5cc7adbedadd372ff
[ "Zlib" ]
11
2021-01-14T17:20:42.000Z
2021-08-08T18:46:42.000Z
#include "keyinfo.h" #include <SDL.h> wxKeyInfo wxKeyInfos[]={ "0",SDL_SCANCODE_0,SDLK_0, "1",SDL_SCANCODE_1,SDLK_1, "2",SDL_SCANCODE_2,SDLK_2, "3",SDL_SCANCODE_3,SDLK_3, "4",SDL_SCANCODE_4,SDLK_4, "5",SDL_SCANCODE_5,SDLK_5, "6",SDL_SCANCODE_6,SDLK_6, "7",SDL_SCANCODE_7,SDLK_7, "8",SDL_SCANCODE_8,SDLK_8, "9",SDL_SCA...
41.039474
77
0.84354
D-a-n-i-l-o
182baeda498d90c07dd31f944315c68ea155bf34
7,217
cpp
C++
Src/Reader.cpp
craflin/md2tex
ee813151f5427cea61fa3ea045cea13f594cb58f
[ "Apache-2.0" ]
null
null
null
Src/Reader.cpp
craflin/md2tex
ee813151f5427cea61fa3ea045cea13f594cb58f
[ "Apache-2.0" ]
null
null
null
Src/Reader.cpp
craflin/md2tex
ee813151f5427cea61fa3ea045cea13f594cb58f
[ "Apache-2.0" ]
null
null
null
#include "Reader.hpp" #include <nstd/File.hpp> #include <nstd/Error.hpp> #include <nstd/Document/Xml.hpp> #include "InputData.hpp" bool Reader::read(const String& inputFile, InputData& inputData) { inputData.inputFile = inputFile; if(File::extension(inputFile).compareIgnoreCase("md") == 0) { InputData::C...
49.431507
223
0.651656
craflin
182c9b2ab3bc7625270be9f9f6686c5b92a9c634
984
cc
C++
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/nnvm/src/top/vision/yolo/region.cc
mengkai94/training_results_v0.6
43dc3e250f8da47b5f8833197d74cb8cf1004fc9
[ "Apache-2.0" ]
64
2021-05-02T14:42:34.000Z
2021-05-06T01:35:03.000Z
nnvm/src/top/vision/yolo/region.cc
clhne/tvm
d59320c764bd09474775e1b292f3c05c27743d24
[ "Apache-2.0" ]
23
2019-07-29T05:21:52.000Z
2020-08-31T18:51:42.000Z
nnvm/src/top/vision/yolo/region.cc
clhne/tvm
d59320c764bd09474775e1b292f3c05c27743d24
[ "Apache-2.0" ]
51
2019-07-12T05:10:25.000Z
2021-07-28T16:19:06.000Z
/*! * Copyright (c) 2018 by Contributors * \file region.cc * \brief Property def of pooling operators. */ #include <nnvm/op.h> #include <nnvm/node.h> #include <nnvm/op_attr_types.h> #include <nnvm/top/nn.h> #include "../../op_common.h" #include "region.h" namespace nnvm { namespace top { NNVM_REGISTER_OP(yolo_re...
27.333333
76
0.66565
mengkai94
183005e1ac1b6fe93255b485f6550f4df62974c4
940
ipp
C++
freeflow/sdn/request.ipp
flowgrammable/freeflow-legacy
c5cd77495d44fe3a9e48a2e06fbb44f7418d388e
[ "Apache-2.0" ]
1
2017-07-30T04:18:29.000Z
2017-07-30T04:18:29.000Z
freeflow/sdn/request.ipp
flowgrammable/freeflow-legacy
c5cd77495d44fe3a9e48a2e06fbb44f7418d388e
[ "Apache-2.0" ]
null
null
null
freeflow/sdn/request.ipp
flowgrammable/freeflow-legacy
c5cd77495d44fe3a9e48a2e06fbb44f7418d388e
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2013-2014 Flowgrammable, 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...
30.322581
70
0.729787
flowgrammable
183197b782f702659fe52b087e8ba4d16e27559e
2,484
cc
C++
zircon/system/ulib/async/test/irq_tests.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
zircon/system/ulib/async/test/irq_tests.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
zircon/system/ulib/async/test/irq_tests.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <lib/async-testing/dispatcher_stub.h> #include <lib/async/cpp/irq.h> #include <lib/zx/interrupt.h> #include <unittest/unittest.h> namespace { c...
30.666667
98
0.75
opensource-assist
1835de201ce5637e1a52e6fba2c78b2ed804ffc6
1,732
hpp
C++
src/ivorium_graphics/Animation/Connectors/Cooldown_Connector.hpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
3
2021-02-26T02:59:09.000Z
2022-02-08T16:44:21.000Z
src/ivorium_graphics/Animation/Connectors/Cooldown_Connector.hpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
null
null
null
src/ivorium_graphics/Animation/Connectors/Cooldown_Connector.hpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Transform_ConnectorI.hpp" #include "../Animation/AnimNode.hpp" #include "../../Defs.hpp" #include <ivorium_core/ivorium_core.hpp> #include <cmath> namespace iv { /** This connector changes value of child node at most at given rate. Slows down changes of target - change will not be appl...
35.346939
125
0.56582
ivorne
183a11e9f6e0c5fd5a67ff0be320e96838534ac3
20,992
cpp
C++
libakumuli/page.cpp
vladon/Akumuli
c45672a23b929ccb3a5743cc5e9aae980c160eb0
[ "Apache-2.0" ]
null
null
null
libakumuli/page.cpp
vladon/Akumuli
c45672a23b929ccb3a5743cc5e9aae980c160eb0
[ "Apache-2.0" ]
null
null
null
libakumuli/page.cpp
vladon/Akumuli
c45672a23b929ccb3a5743cc5e9aae980c160eb0
[ "Apache-2.0" ]
1
2021-09-22T07:11:13.000Z
2021-09-22T07:11:13.000Z
/** * Copyright (c) 2013 Eugene Lazin <4lazin@gmail.com> * * 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 app...
31.614458
122
0.58608
vladon
183c1e2d937ce1c624a715fce3d36848893944f0
1,075
cpp
C++
src/titanic/model/AlternativeMachine.cpp
LaroyenneG/Fuzzy-Logic
0d2911c02b5bd4eedcca42925e7e35c5dd450bf8
[ "Apache-2.0" ]
null
null
null
src/titanic/model/AlternativeMachine.cpp
LaroyenneG/Fuzzy-Logic
0d2911c02b5bd4eedcca42925e7e35c5dd450bf8
[ "Apache-2.0" ]
null
null
null
src/titanic/model/AlternativeMachine.cpp
LaroyenneG/Fuzzy-Logic
0d2911c02b5bd4eedcca42925e7e35c5dd450bf8
[ "Apache-2.0" ]
null
null
null
#include "AlternativeMachine.h" namespace model { AlternativeMachine::AlternativeMachine() : Engine(ALTERNATIVE_DEFAULT_PROPELLER_DIAMETER / 2.0, ALTERNATIVE_DEFAULT_PROPELLER_WEIGHT, ALTERNATIVE_DEFAULT_MAX_POWER, ALTERNATIVE_DEFAULT_MAX_SPEED, ALTERNATIVE_DEFAULT_FRICTION, ...
34.677419
118
0.685581
LaroyenneG
183d00a9783887b9081c3b3756936046cbc55051
552
cpp
C++
Conversion.cpp
dabbertorres/unicode
a886097339711371e178a8e39dbc4bc33370d0c1
[ "MIT" ]
1
2018-04-24T12:03:34.000Z
2018-04-24T12:03:34.000Z
Conversion.cpp
dabbertorres/utf8
a886097339711371e178a8e39dbc4bc33370d0c1
[ "MIT" ]
1
2016-09-13T01:36:24.000Z
2016-09-13T01:36:24.000Z
Conversion.cpp
dabbertorres/unicode
a886097339711371e178a8e39dbc4bc33370d0c1
[ "MIT" ]
null
null
null
#include "Conversion.hpp" #include <memory> namespace dbr { namespace unicode { utf32::ImmutableString toUTF32(const utf8::ImmutableString& str) { auto* data = str.data(); auto len = utf8::characterLength(data); auto out = std::make_unique<utf32::Char[]>(len); for(auto i = 0u; i < len; ++i) ...
16.235294
69
0.603261
dabbertorres
183d46b469eaad5abd7c23a99133ffd19a75a17b
118
cc
C++
code/snip_overflow_tle.cc
xry111/2019-summer-lecture-debug
ee9800750050cf724bd001c5f511dd0445a82cfe
[ "CC-BY-4.0" ]
3
2019-09-08T11:41:34.000Z
2020-11-14T12:20:57.000Z
code/snip_overflow_tle.cc
xry111/2019-summer-lecture-debug
ee9800750050cf724bd001c5f511dd0445a82cfe
[ "CC-BY-4.0" ]
2
2021-09-14T09:40:40.000Z
2021-09-19T13:22:10.000Z
code/snip_overflow_tle.cc
xry111/2019-summer-lecture-debug
ee9800750050cf724bd001c5f511dd0445a82cfe
[ "CC-BY-4.0" ]
null
null
null
int a, b, ans = 0; scanf("%d%d", &a, &b); for (int i = a; i <= b; i++) ans += foo(i); printf("%d\n", ans); return 0;
16.857143
28
0.457627
xry111
183e619df94fdd7eb005fd72e5033c9ab8ff2266
5,527
hpp
C++
3rdparty/libprocess/src/mpsc_linked_queue.hpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
4,537
2015-01-01T03:26:40.000Z
2022-03-31T03:07:00.000Z
3rdparty/libprocess/src/mpsc_linked_queue.hpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
227
2015-01-29T02:21:39.000Z
2022-03-29T13:35:50.000Z
3rdparty/libprocess/src/mpsc_linked_queue.hpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
1,992
2015-01-05T12:29:19.000Z
2022-03-31T03:07:07.000Z
// 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 // distributed ...
29.55615
116
0.666908
zagrev
183ea26e68695c2e3a498e28b78f6f563ed68fa6
7,955
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_cfgcreator.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_cfgcreator.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_model_engine/calc_cfgcreator.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
#ifndef INCLUDED_STDDEFX #include "stddefx.h" #define INCLUDED_STDDEFX #endif #ifndef INCLUDED_CALC_CFGCREATOR #include "calc_cfgcreator.h" #define INCLUDED_CALC_CFGCREATOR #endif // Library headers. #ifndef INCLUDED_STACK #include <stack> #define INCLUDED_STACK #endif // PCRaster library headers. // Module headers...
22.158774
80
0.508737
quanpands
183f69fee2cdc3929bd87a080dbf16710817c42c
4,857
cpp
C++
packages/monte_carlo/core/test/tstAdjointKleinNishinaSamplingTypeHelpers.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/core/test/tstAdjointKleinNishinaSamplingTypeHelpers.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/core/test/tstAdjointKleinNishinaSamplingTypeHelpers.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_AdjointKleinNishinaSamplingType.hpp //! \author Alex Robinson //! \brief Adjoint Klein-Nishina sampling type helper function unit tests //! //----------------------------------------------------------------------...
38.244094
98
0.646695
bam241
1841dc01afabd4ea7b689d52988926927bed8374
4,199
cpp
C++
Main alarm box/MainAlarm/TimerMode.cpp
nicholas-p1/LightAlarm
3528a196edcba485cefac7a57adffb4e6434b97c
[ "MIT" ]
null
null
null
Main alarm box/MainAlarm/TimerMode.cpp
nicholas-p1/LightAlarm
3528a196edcba485cefac7a57adffb4e6434b97c
[ "MIT" ]
null
null
null
Main alarm box/MainAlarm/TimerMode.cpp
nicholas-p1/LightAlarm
3528a196edcba485cefac7a57adffb4e6434b97c
[ "MIT" ]
null
null
null
#include "Arduino.h" #include "TimerMode.h" #include "IMode.h" #include "ILogger.h" #include "UserIO.h" TimerMode::TimerMode(ILogger *_logger, UserIO *_io) : logger{_logger}, io(_io), isEnabled{false}, isPaused{false}, IMode("Timer mode") {} void TimerMode::resetAll() { timeAtStartMS = 0; timerDurationMS = 0; ...
23.723164
150
0.663253
nicholas-p1
1842316ff2cf1820289cd7b10b7efa8223b2cb5b
3,566
cpp
C++
Source/10.0.18362.0/ucrt/stdlib/bsearch.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
Source/10.0.18362.0/ucrt/stdlib/bsearch.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
Source/10.0.18362.0/ucrt/stdlib/bsearch.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// // bsearch.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. // // Defines bsearch(), which performs a binary search over an array. // #include <corecrt_internal.h> #include <search.h> #ifdef _M_CEE #define __fileDECL __clrcall #else #define __fileDECL __cdecl #endif /*** *char *bsea...
28.07874
111
0.579361
825126369
18476dc64a5ae27c1cf6c1ce7d5783cc31d8910d
7,492
cpp
C++
vespalib/src/vespa/vespalib/datastore/fixed_size_hash_map.cpp
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
vespalib/src/vespa/vespalib/datastore/fixed_size_hash_map.cpp
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
vespalib/src/vespa/vespalib/datastore/fixed_size_hash_map.cpp
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "fixed_size_hash_map.h" #include "entry_comparator.h" #include <vespa/vespalib/util/array.hpp> #include <vespa/vespalib/util/memoryusage.h> #include <cassert> #include <stdexcept> namespace vespal...
33.900452
150
0.65977
kashiish
18485249c4aeacdef37195d8192a339a60b0b808
24,156
hh
C++
tests/Titon/Route/RouterTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
tests/Titon/Route/RouterTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
tests/Titon/Route/RouterTest.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh namespace Titon\Route; use Titon\Cache\Storage\MemoryStorage; use Titon\Test\Stub\Route\FilterStub; use Titon\Test\Stub\Route\TestRouteStub; use Titon\Test\TestCase; use Titon\Utility\State\Get; use Titon\Utility\State\Server; use Titon\Context\Depository; /** * @property \Titon\Route\Router $object */ class R...
41.864818
151
0.569382
ciklon-z
1849d981ceba91e60cfe1f51ab8e262572a514cf
2,779
cc
C++
Lacewing/src/cxx/filter2.cc
SortaCore/bluewing-cpp-server
14fa85d7493cde2a62cc84183032f5d240dc3743
[ "MIT" ]
2
2021-07-17T21:08:47.000Z
2021-07-25T08:50:27.000Z
Lacewing/src/cxx/filter2.cc
SortaCore/bluewing-cpp-server
14fa85d7493cde2a62cc84183032f5d240dc3743
[ "MIT" ]
null
null
null
Lacewing/src/cxx/filter2.cc
SortaCore/bluewing-cpp-server
14fa85d7493cde2a62cc84183032f5d240dc3743
[ "MIT" ]
2
2019-09-08T10:00:42.000Z
2020-11-11T20:49:38.000Z
/* vim: set et ts=3 sw=3 ft=cpp: * * Copyright (C) 2012, 2013 James McLaughlin et al. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain th...
24.8125
77
0.738035
SortaCore
184c55598661b95d8dff818e631ad839701b49fd
1,677
hpp
C++
libs/core/include/core/containers/set_difference.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
1
2019-09-11T09:46:04.000Z
2019-09-11T09:46:04.000Z
libs/core/include/core/containers/set_difference.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
libs/core/include/core/containers/set_difference.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
1
2019-09-19T12:38:46.000Z
2019-09-19T12:38:46.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Licen...
32.882353
99
0.601073
devjsc
184f32469faf8b91612fcddd71a61b81fd04f66e
520
cpp
C++
Code-Chef/easy/RESQ.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
1
2019-05-20T14:38:05.000Z
2019-05-20T14:38:05.000Z
Code-Chef/easy/RESQ.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
null
null
null
Code-Chef/easy/RESQ.cpp
kishorevarma369/Competitive-Programming
f2fd01b0168cb2908f2cc1794ba2c8a461b06838
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long int ll; int main(int argc, char const *argv[]) { ll t; cin>>t; while(t--) { ll n,i=1,val,c=INT_MAX; cin>>n; while(i*i<=n) { if(n%i==0) { val=n/i; if(i...
16.774194
42
0.361538
kishorevarma369
1850257d868f83544e8335089ad0962fbf99dc43
2,640
cpp
C++
source/Transcriptome_geneCountsAddAlign.cpp
Gavin-Lijy/STAR
4571190968fc134aa4bd0d4d7065490253b1a4c5
[ "MIT" ]
1,315
2015-01-07T02:03:15.000Z
2022-03-30T09:48:17.000Z
source/Transcriptome_geneCountsAddAlign.cpp
Gavin-Lijy/STAR
4571190968fc134aa4bd0d4d7065490253b1a4c5
[ "MIT" ]
1,429
2015-01-08T00:09:17.000Z
2022-03-31T08:12:14.000Z
source/Transcriptome_geneCountsAddAlign.cpp
Gavin-Lijy/STAR
4571190968fc134aa4bd0d4d7065490253b1a4c5
[ "MIT" ]
495
2015-01-23T20:00:45.000Z
2022-03-31T13:24:50.000Z
#include "Transcriptome.h" #include "serviceFuns.cpp" void Transcriptome::geneCountsAddAlign(uint nA, Transcript **aAll, vector<int32> &gene1) { gene1.assign(quants->geneCounts.nType,-1); if (nA>1) { quants->geneCounts.cMulti++; } else { Transcript& a=*aAll[0];//one unique alignment o...
41.25
125
0.481061
Gavin-Lijy
185136c00cc13479752b2120e562a951fd07c971
1,542
cpp
C++
src/repeater_firing_result.cpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
4
2016-07-05T07:42:07.000Z
2020-07-15T15:27:22.000Z
src/repeater_firing_result.cpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
1
2020-05-07T20:58:21.000Z
2020-05-07T20:58:21.000Z
src/repeater_firing_result.cpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014 Matthew Harvey * * 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...
21.71831
75
0.748379
skybaboon
4c75092335ad9deed6540605874af80c92dc45d4
7,375
cpp
C++
Game/Client/WXCore/Core/TerrainTileOptimized.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/WXCore/Core/TerrainTileOptimized.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/WXCore/Core/TerrainTileOptimized.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "TerrainTileOptimized.h" #include "Terrain.h" #include "TerrainTileRenderable.h" #include <OgreSceneManager.h> #include <OgreSceneNode.h> namespace WX { class TerrainTileOptimizedRenderable : public TerrainTileRenderable { public: TerrainTileOptimizedRenderable(TerrainTile *parent) : TerrainTile...
33.220721
115
0.599729
hackerlank
4c77b4642b45cbc045a61b46666e3907b1ab53c3
762
cpp
C++
3rdparty/eigen3/test/signTest.cpp
OpenMA/openma
6f3b55292fd0a862b3444f11d71d0562cfe81ac1
[ "Unlicense" ]
41
2016-06-28T13:51:39.000Z
2022-01-20T16:33:00.000Z
3rdparty/eigen3/test/signTest.cpp
bmswgnp/openma
6f3b55292fd0a862b3444f11d71d0562cfe81ac1
[ "Unlicense" ]
82
2016-04-09T15:19:31.000Z
2018-11-15T18:56:12.000Z
3rdparty/eigen3/test/signTest.cpp
bmswgnp/openma
6f3b55292fd0a862b3444f11d71d0562cfe81ac1
[ "Unlicense" ]
9
2016-03-29T14:28:31.000Z
2020-07-29T07:39:19.000Z
#include <cxxtest/TestDrive.h> #include <Eigen_openma/Utils/sign.h> CXXTEST_SUITE(SignTest) { CXXTEST_TEST(positive) { TS_ASSERT_EQUALS(sign(1292) > 0, true); TS_ASSERT_EQUALS(sign(9999) > 0, true); TS_ASSERT_EQUALS(sign(1) > 0, true); }; CXXTEST_TEST(negative) { TS_ASSERT_EQUALS(sign(-11...
23.090909
45
0.691601
OpenMA
4c7949b64ead14c6e43e448268b857d014f3665b
3,321
hpp
C++
external/swak/libraries/simpleSearchableSurfaces/Transformations/rotateSearchableSurface.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
external/swak/libraries/simpleSearchableSurfaces/Transformations/rotateSearchableSurface.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
external/swak/libraries/simpleSearchableSurfaces/Transformations/rotateSearchableSurface.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright: ICE Stroemungsfoschungs GmbH Copyright held by original author ------------------------------------------------------------------------------- License This file is based on CAELUS. CAELUS is free software: you can redist...
27
79
0.551039
MrAwesomeRocks
4c7c38d24cae81840f1295d3a38f43b657403330
531
cpp
C++
code/tst/utility/array.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
3
2020-04-29T14:55:58.000Z
2020-08-20T08:43:24.000Z
code/tst/utility/array.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
1
2022-03-12T11:37:46.000Z
2022-03-12T20:17:38.000Z
code/tst/utility/array.cpp
shossjer/fimbulwinter
d894e4bddb5d2e6dc31a8112d245c6a1828604e3
[ "0BSD" ]
null
null
null
#include "utility/array.hpp" #include <catch2/catch.hpp> #include <array> TEST_CASE( "array_span", "[utility]" ) { auto myarray = std::array<int, 7>{{1, 2, 3, 4, 5, 6, 7}}; auto myarrayspan = utility::make_array_span(myarray); (void)myarrayspan; // fix warning about not being used // auto myhalfspan = make_array...
26.55
66
0.677966
shossjer
4c826bd4ebdbef1d135ec2ba108d48d69bbe8ecd
1,839
cpp
C++
core/graphics/geom/Area.cpp
yangxlei/F2Native
69a27994ccb0be65ce6f905ed258f5dc286cbb70
[ "MIT" ]
178
2020-11-16T06:35:02.000Z
2022-03-28T07:41:47.000Z
core/graphics/geom/Area.cpp
yangxlei/F2Native
69a27994ccb0be65ce6f905ed258f5dc286cbb70
[ "MIT" ]
9
2020-11-21T03:56:02.000Z
2022-03-07T11:12:03.000Z
core/graphics/geom/Area.cpp
yangxlei/F2Native
69a27994ccb0be65ce6f905ed258f5dc286cbb70
[ "MIT" ]
16
2020-11-20T15:54:19.000Z
2022-03-21T10:12:30.000Z
#include "Area.h" #include "graphics/XChart.h" using namespace xg; nlohmann::json geom::Area::CreateShapePointsCfg(XChart &chart, nlohmann::json &data) { auto &xScale = chart.GetScale(GetXScaleField()); auto &yScale = chart.GetScale(GetYScaleField()); nlohmann::json &xVal = data[GetXScaleField()]; nl...
30.65
100
0.566069
yangxlei
4c8450c141f087fb9a3b5f30a9063fdb6203b5e9
492
cpp
C++
REDSI_1160929_1161573/boost_1_67_0/libs/log/config/visibility/visibility.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
1
2018-12-15T19:57:24.000Z
2018-12-15T19:57:24.000Z
REDSI_1160929_1161573/boost_1_67_0/libs/log/config/visibility/visibility.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
null
null
null
REDSI_1160929_1161573/boost_1_67_0/libs/log/config/visibility/visibility.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
1
2019-03-08T11:06:22.000Z
2019-03-08T11:06:22.000Z
/* * Copyright Andrey Semashev 2007 - 2015. * 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) */ // Guess what, MSVC doesn't ever fail on unknown options, even with /WX. Hence this ad...
28.941176
102
0.674797
Wultyc
4c856d5befa26187a9e2e0b1d896e28c95e005a8
98,864
cxx
C++
ds/ds/src/ldap/client/open.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/ds/src/ldap/client/open.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/ds/src/ldap/client/open.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1996 Microsoft Corporation Module Name: open.cxx open a connection to an LDAP server Abstract: This module implements the LDAP ldap_open API. Author: Andy Herron (andyhe) 08-May-1996 Anoop Anantha (AnoopA) 24-Jun-1998 Revision History: --...
31.677027
178
0.4912
npocmaka
4c8621d6bb1d223d9f320ca6ca26b110b62eefe1
13,059
cpp
C++
dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-10-19T13:45:40.000Z
2020-12-10T20:21:03.000Z
dali/internal/imaging/tizen/native-image-source-impl-tizen.cpp
expertisesolutions/dali-adaptor
810bf4dea833ea7dfbd2a0c82193bc0b3b155011
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020 Samsung Electronics 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...
23.657609
152
0.65832
Coquinho
4c8b57362fcf4c2b8573a0eea0588030b6d23f26
940
hpp
C++
include/Module/Decoder/Turbo/Decoder_turbo_std.hpp
FredrikBlomgren/aff3ct
fa616bd923b2dcf03a4cf119cceca51cf810d483
[ "MIT" ]
315
2016-06-21T13:32:14.000Z
2022-03-28T09:33:59.000Z
include/Module/Decoder/Turbo/Decoder_turbo_std.hpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
153
2017-01-17T03:51:06.000Z
2022-03-24T15:39:26.000Z
include/Module/Decoder/Turbo/Decoder_turbo_std.hpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
119
2017-01-04T14:31:58.000Z
2022-03-21T08:34:16.000Z
/*! * \file * \brief Class module::Decoder_turbo_std. */ #ifndef DECODER_TURBO_NAIVE_HPP #define DECODER_TURBO_NAIVE_HPP #include "Module/Interleaver/Interleaver.hpp" #include "Module/Decoder/Decoder_SISO.hpp" #include "Module/Decoder/Turbo/Decoder_turbo.hpp" namespace aff3ct { namespace module { template <typenam...
25.405405
71
0.667021
FredrikBlomgren
4c8d334444a7d507f32a37789da0a5c4e52b0128
17,762
cpp
C++
export/windows/cpp/obj/src/openfl/_legacy/utils/ArrayBufferView.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/openfl/_legacy/utils/ArrayBufferView.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/openfl/_legacy/utils/ArrayBufferView.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
// Generated by Haxe 3.3.0 #include <hxcpp.h> #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_haxe_io_Bytes #include <haxe/io/Bytes.h> #endif #ifndef INCLUDED_openfl__legacy_utils_ArrayBufferView #include <openfl/_legacy/utils/ArrayBufferView.h> #endif #ifndef INCLUDED_openfl__legacy_utils_ByteArray #inc...
41.990544
210
0.721371
TinyPlanetStudios
4c8ec46d7c8e5b75c587e9ef9ed0b6fee0bffd90
3,523
cpp
C++
c/Haxe/OpenFL/01.HelloWorld/Export/windows/cpp/obj/src/sys/io/_Process/Stdin.cpp
amenoyoya/old-project
640ec696af5d18267d86629098f41451857f8103
[ "MIT" ]
null
null
null
c/Haxe/OpenFL/01.HelloWorld/Export/windows/cpp/obj/src/sys/io/_Process/Stdin.cpp
amenoyoya/old-project
640ec696af5d18267d86629098f41451857f8103
[ "MIT" ]
1
2019-07-07T09:52:20.000Z
2019-07-07T09:52:20.000Z
c/Haxe/OpenFL/01.HelloWorld/Export/windows/cpp/obj/src/sys/io/_Process/Stdin.cpp
amenoyoya/old-project
640ec696af5d18267d86629098f41451857f8103
[ "MIT" ]
null
null
null
#include <hxcpp.h> #ifndef INCLUDED_haxe_io_Bytes #include <haxe/io/Bytes.h> #endif #ifndef INCLUDED_haxe_io_Output #include <haxe/io/Output.h> #endif #ifndef INCLUDED_sys_io__Process_Stdin #include <sys/io/_Process/Stdin.h> #endif namespace sys{ namespace io{ namespace _Process{ Void Stdin_obj::__cons...
24.130137
159
0.688334
amenoyoya
4c8f76cf36d62c885082b9dcf6bfc294222323c3
3,367
cpp
C++
src/brylageo.cpp
KPO-2020-2021/zad5_3-KrystianCyga
e978ed7964bc863771d08a5dce2af491766249b4
[ "Unlicense" ]
null
null
null
src/brylageo.cpp
KPO-2020-2021/zad5_3-KrystianCyga
e978ed7964bc863771d08a5dce2af491766249b4
[ "Unlicense" ]
null
null
null
src/brylageo.cpp
KPO-2020-2021/zad5_3-KrystianCyga
e978ed7964bc863771d08a5dce2af491766249b4
[ "Unlicense" ]
null
null
null
#include "../inc/brylageo.hh" #define FOLDER_WLASCIWY "../BrylyWzorcowe/" #define FOLDER_ROBOCZY "../datasets/" #define WZORZEC_SZESCIAN "../BrylyWzorcowe/szescian.dat" #define WZORZEC_ROTOR "../BrylyWzorcowe/graniastoslup6.dat" #include <fstream> brylageo::brylageo() { skala[0] = 1; skala[1] = 1; skala[...
23.711268
89
0.582418
KPO-2020-2021
4c911c3b6a5398610177b6b451ce58955c448d14
2,659
cpp
C++
native/cocos/core/geometry/Distance.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
native/cocos/core/geometry/Distance.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
native/cocos/core/geometry/Distance.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
#include "cocos/core/geometry/Distance.h" #include "cocos/core/geometry/AABB.h" #include "cocos/core/geometry/Obb.h" #include "cocos/core/geometry/Plane.h" #include "cocos/math/Mat4.h" #include <algorithm> #include "base/std/container/array.h" #include "cocos/math/Utils.h" #include "cocos/math/Vec3.h" namespace cc {...
33.2375
97
0.622038
SteveLau-GameDeveloper
4c91fcba34fa734d0b1a3dbd18f4299bc4fd87f4
42,011
hpp
C++
fem/fespace.hpp
Arthur-laurent312/mfem
913361dd0db723d07e9c7492102f8b887acabc48
[ "BSD-3-Clause" ]
null
null
null
fem/fespace.hpp
Arthur-laurent312/mfem
913361dd0db723d07e9c7492102f8b887acabc48
[ "BSD-3-Clause" ]
null
null
null
fem/fespace.hpp
Arthur-laurent312/mfem
913361dd0db723d07e9c7492102f8b887acabc48
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
44.268704
86
0.696627
Arthur-laurent312
4c94a7815ce8cc4d812f29577d9773c5fb983e8f
2,454
cpp
C++
Leetcode Top Interview Questions/solutions/Intersection of Two Linked Lists.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
5
2021-08-10T18:47:49.000Z
2021-08-21T15:42:58.000Z
Leetcode Top Interview Questions/solutions/Intersection of Two Linked Lists.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
2
2022-02-25T13:36:46.000Z
2022-02-25T14:06:44.000Z
Leetcode Top Interview Questions/solutions/Intersection of Two Linked Lists.cpp
Akshad7829/DataStructures-Algorithms
439822c6a374672d1734e2389d3fce581a35007d
[ "MIT" ]
1
2021-08-11T06:36:42.000Z
2021-08-11T06:36:42.000Z
/* Intersection of Two Linked Lists =============================== Write a program to find the node at which the intersection of two singly linked lists begins. Example 1: Input: intersectVal = 8, listA = [4,1,8,4,5], listB = [5,6,1,8,4,5], skipA = 2, skipB = 3 Output: Reference of the node with value = 8 Input Expl...
32.289474
307
0.649959
Akshad7829
4c94ba2a61a762a86a6f0371a1ed98f2b64cc625
670
hpp
C++
shift/render.vk/private/shift/render/vk/memory_manager_livedebug.hpp
cspanier/shift
5b3b9be310155fbc57d165d06259b723a5728828
[ "Apache-2.0" ]
2
2018-11-28T18:14:08.000Z
2020-08-06T07:44:36.000Z
shift/render.vk/private/shift/render/vk/memory_manager_livedebug.hpp
cspanier/shift
5b3b9be310155fbc57d165d06259b723a5728828
[ "Apache-2.0" ]
4
2018-11-06T21:01:05.000Z
2019-02-19T07:52:52.000Z
shift/render.vk/private/shift/render/vk/memory_manager_livedebug.hpp
cspanier/shift
5b3b9be310155fbc57d165d06259b723a5728828
[ "Apache-2.0" ]
null
null
null
#ifndef SHIFT_RENDER_VK_MEMORY_MANAGER_LIVEDEBUG_HPP #define SHIFT_RENDER_VK_MEMORY_MANAGER_LIVEDEBUG_HPP #include <string> #include <shift/livedebug/request_handler.hpp> namespace shift::render::vk { /// class memory_manager_request_handler : public livedebug::request_handler { public: /// Constructor. memory_ma...
22.333333
80
0.762687
cspanier
4c9523051c686fa4adb84ee4cef34db2d4892c09
50,403
cpp
C++
bins/broker/storage/MessageStorage.cpp
asvgit/broker
766b66015b842be4d1106ff6c6145ad489c03c59
[ "Apache-2.0" ]
null
null
null
bins/broker/storage/MessageStorage.cpp
asvgit/broker
766b66015b842be4d1106ff6c6145ad489c03c59
[ "Apache-2.0" ]
null
null
null
bins/broker/storage/MessageStorage.cpp
asvgit/broker
766b66015b842be4d1106ff6c6145ad489c03c59
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2014-present IVK JSC. 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 appl...
44.135727
150
0.642839
asvgit
4c9533595ba35cc7690a50b3de4af4e1dfd59a31
5,126
cpp
C++
toolboxes/fatwater/bounded_field_map.cpp
roopchansinghv/gadgetron
fb6c56b643911152c27834a754a7b6ee2dd912da
[ "MIT" ]
1
2022-02-22T21:06:36.000Z
2022-02-22T21:06:36.000Z
toolboxes/fatwater/bounded_field_map.cpp
apd47/gadgetron
073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2
[ "MIT" ]
null
null
null
toolboxes/fatwater/bounded_field_map.cpp
apd47/gadgetron
073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2
[ "MIT" ]
null
null
null
// // Created by dchansen on 9/4/18. // #include "bounded_field_map.h" #include <boost/math/constants/constants.hpp> #include <boost/math/tools/minima.hpp> #include <numeric> #include <GadgetronTimer.h> constexpr float PI = boost::math::constants::pi<float>(); namespace Gadgetron { namespace FatWater { ...
36.35461
151
0.464885
roopchansinghv
4c95eabae144be335da77ddf4d4002b5c8fbf95d
4,955
cpp
C++
src/Particles/FlexiblePatchyRod.cpp
mtortora/chiralDFT
d5ea5e940d6bc72d96fd9728d042de1e09d3ef85
[ "MIT" ]
2
2018-01-03T09:33:09.000Z
2019-06-14T13:29:37.000Z
src/Particles/FlexiblePatchyRod.cpp
mtortora/chiralDFT
d5ea5e940d6bc72d96fd9728d042de1e09d3ef85
[ "MIT" ]
null
null
null
src/Particles/FlexiblePatchyRod.cpp
mtortora/chiralDFT
d5ea5e940d6bc72d96fd9728d042de1e09d3ef85
[ "MIT" ]
null
null
null
// =================================================================== /** * Flexible patchy rod derived particle class. * Particle model from http://dx.doi.org/10.1039/c7sm02077e */ // =================================================================== /* * FlexiblePatchyRod.cpp: Version 1.0 * Created 18/12/2017 ...
36.433824
127
0.539859
mtortora
4c994842752b45e22246872205f35a3e2e111d41
10,896
cpp
C++
CloakEngine/DX12Device.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/DX12Device.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/DX12Device.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #if CHECK_OS(WINDOWS,10) #include "Implementation/Rendering/DX12/Device.h" #include "Implementation/Rendering/DX12/Casting.h" #include "Implementation/Rendering/DX12/Resource.h" #include "Implementation/Rendering/DX12/ColorBuffer.h" #include "Implementation/Rendering/DX12/RootSignature.h" n...
51.63981
389
0.687133
Bizzarrus
4c99c6f18b421a3a060af9c410e3c7df700aa39b
1,079
cpp
C++
plugins/glib/src/application/models/CollectionData.cpp
winterdl/kinoko
9cb040e2efcbe08377826c4bb7518cfd0ced0564
[ "MIT" ]
119
2020-09-22T07:40:55.000Z
2022-03-28T18:28:02.000Z
plugins/glib/src/application/models/CollectionData.cpp
winterdl/kinoko
9cb040e2efcbe08377826c4bb7518cfd0ced0564
[ "MIT" ]
32
2021-07-19T12:03:00.000Z
2022-03-25T06:39:04.000Z
plugins/glib/src/application/models/CollectionData.cpp
winterdl/kinoko
9cb040e2efcbe08377826c4bb7518cfd0ced0564
[ "MIT" ]
14
2021-07-16T14:38:35.000Z
2022-03-06T00:25:37.000Z
// // Created by gen on 7/24/20. // #include <nlohmann/json.hpp> #include "CollectionData.h" #include "../utils/JSON.h" using namespace gs; CollectionData::CollectionData() : flag(0) { } gc::Array CollectionData::all(const std::string &type) { return CollectionData::query()->equal("type", type)->sortBy("identif...
29.972222
127
0.652456
winterdl
4c9d053b22563ca5ceb2eeba5beb612158ee5331
625
cpp
C++
car_inher.cpp
ishansheth/ModernCpp-Exercises
c33d63ea9e6fe3115fbac51304a75292f32998cd
[ "MIT" ]
null
null
null
car_inher.cpp
ishansheth/ModernCpp-Exercises
c33d63ea9e6fe3115fbac51304a75292f32998cd
[ "MIT" ]
null
null
null
car_inher.cpp
ishansheth/ModernCpp-Exercises
c33d63ea9e6fe3115fbac51304a75292f32998cd
[ "MIT" ]
null
null
null
#include <iostream> class car { public: car(const std::string& name) : name(name) {} void all_info() const { std::cout<< "car name:"<<name<<std::endl; } protected: std::string name; }; class truck : public car { public: truck(const std::String& name, double weight): car(name),...
15.625
75
0.5584
ishansheth
4ca1ae89c3c0a8c805c8c2154f31bd65dc173363
4,566
cpp
C++
test/allocator/wary_ptr/test_wary_ptr_two_ptrs.cpp
bi-ts/dst
d68d4cfb7509a2f65c8120d88cbc198874343f30
[ "BSL-1.0" ]
null
null
null
test/allocator/wary_ptr/test_wary_ptr_two_ptrs.cpp
bi-ts/dst
d68d4cfb7509a2f65c8120d88cbc198874343f30
[ "BSL-1.0" ]
null
null
null
test/allocator/wary_ptr/test_wary_ptr_two_ptrs.cpp
bi-ts/dst
d68d4cfb7509a2f65c8120d88cbc198874343f30
[ "BSL-1.0" ]
1
2021-09-03T10:48:56.000Z
2021-09-03T10:48:56.000Z
// Copyright Maksym V. Bilinets 2015 - 2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt ) #include <dst/allocator/wary_ptr.h> #include <dst/allocator/detail/wary_ptr_factory.h> #include...
27.841463
80
0.681997
bi-ts
4ca769de97d0bfa30c935718b70d2c02387b0b0f
6,811
cpp
C++
MLPP/LogReg/LogReg.cpp
KangLin/MLPP
abd2dba6076c98aa2e1c29fb3198b74a3f28f8fe
[ "MIT" ]
927
2021-12-03T07:02:25.000Z
2022-03-30T07:37:23.000Z
MLPP/LogReg/LogReg.cpp
DJofOUC/MLPP
6940fc1fbcb1bc16fe910c90a32d9e4db52e264f
[ "MIT" ]
7
2022-02-13T22:38:08.000Z
2022-03-07T01:00:32.000Z
MLPP/LogReg/LogReg.cpp
DJofOUC/MLPP
6940fc1fbcb1bc16fe910c90a32d9e4db52e264f
[ "MIT" ]
132
2022-01-13T02:19:04.000Z
2022-03-23T19:23:56.000Z
// // LogReg.cpp // // Created by Marc Melikyan on 10/2/20. // #include "LogReg.hpp" #include "Activation/Activation.hpp" #include "LinAlg/LinAlg.hpp" #include "Regularization/Reg.hpp" #include "Utilities/Utilities.hpp" #include "Cost/Cost.hpp" #include <iostream> #include <random> namespace MLPP{ LogReg::LogR...
34.055
175
0.569079
KangLin
4cac90491b78898f9afbb382b33aa3d32d6aae04
183
cpp
C++
146/Square.cpp
shuowangphd/cpp400
6d764f4bf461c91d100a141875f39b8f56ec7c02
[ "MIT" ]
null
null
null
146/Square.cpp
shuowangphd/cpp400
6d764f4bf461c91d100a141875f39b8f56ec7c02
[ "MIT" ]
null
null
null
146/Square.cpp
shuowangphd/cpp400
6d764f4bf461c91d100a141875f39b8f56ec7c02
[ "MIT" ]
null
null
null
#include "Square.h" #include "Shape.h" namespace ns{ Square::Square(double len) : Shape(len) { } double Square::getArea() const{ return getLen()*getLen(); } }
18.3
45
0.595628
shuowangphd
4cb197419c055cd421e7e84f866b09d3f0165c39
1,144
cpp
C++
data/test/cpp/4cb197419c055cd421e7e84f866b09d3f0165c39RepoPath.cpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/cpp/4cb197419c055cd421e7e84f866b09d3f0165c39RepoPath.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/cpp/4cb197419c055cd421e7e84f866b09d3f0165c39RepoPath.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#include "stdafx.h" namespace filerepo { RepoPath::RepoPath( const tstring &path ) : repo_dir_(path) { } RepoPath::RepoPath( const RepoPath &rp ) { *this = rp; } RepoPath::RepoPath() { } tstring RepoPath::GetIndexFilePath() { return AppendPath(repo_dir_, _T("index")); } tstring RepoPath::GetTagsDirP...
15.253333
52
0.666084
harshp8l
4cb1f38dc799ca637054f1aa5cfec434cfa9a1ba
3,013
cpp
C++
velox/dwio/dwrf/common/Common.cpp
vancexu/velox
fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4
[ "Apache-2.0" ]
672
2021-09-22T16:45:58.000Z
2022-03-31T13:42:31.000Z
velox/dwio/dwrf/common/Common.cpp
vancexu/velox
fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4
[ "Apache-2.0" ]
986
2021-09-22T17:02:52.000Z
2022-03-31T23:57:25.000Z
velox/dwio/dwrf/common/Common.cpp
vancexu/velox
fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4
[ "Apache-2.0" ]
178
2021-09-22T17:27:47.000Z
2022-03-31T03:18:37.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
28.971154
76
0.698307
vancexu
4cb6b6bf6ec32e29ff5e6f6a96db16f3be0a3cf4
3,614
cc
C++
archetype/Serialization.cc
gitosaurus/archetype
849cd50e653adab6e5ca6f23d5350217a8a4d025
[ "MIT" ]
6
2015-05-04T17:18:54.000Z
2021-01-24T16:23:56.000Z
archetype/Serialization.cc
gitosaurus/archetype
849cd50e653adab6e5ca6f23d5350217a8a4d025
[ "MIT" ]
null
null
null
archetype/Serialization.cc
gitosaurus/archetype
849cd50e653adab6e5ca6f23d5350217a8a4d025
[ "MIT" ]
null
null
null
// // Serialization.cpp // archetype // // Created by Derek Jones on 6/15/14. // Copyright (c) 2014 Derek Jones. All rights reserved. // // For Windows #define _SCL_SECURE_NO_WARNINGS #include <stdexcept> #include <algorithm> #include <iterator> #include <sstream> #include "Serialization.hh" using namespace std...
27.587786
94
0.546486
gitosaurus
4cb9f755ecff148bd0501ffe24efe666f03d10c5
1,213
hpp
C++
graph/chromatic-number.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
graph/chromatic-number.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
graph/chromatic-number.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#pragma once #include <cstdint> #include <utility> #include <vector> using namespace std; namespace ChromaticNumberImpl { using i64 = int64_t; template <uint32_t mod> int calc(int n, vector<pair<int, int>> hist) { for (int c = 1; c <= n; c++) { i64 sm = 0; for (auto& [i, x] : hist) sm += (x = i64(x) * i % m...
25.808511
61
0.546579
NachiaVivias
4cbb2b3efc81a9b50ba7e07e5013cbd99199e4da
4,983
cpp
C++
TestTravelingSalesman.cpp
sormo/geneticAlgorithm
c69eafa757bfead611663afb6403394e65cbb616
[ "MIT" ]
null
null
null
TestTravelingSalesman.cpp
sormo/geneticAlgorithm
c69eafa757bfead611663afb6403394e65cbb616
[ "MIT" ]
null
null
null
TestTravelingSalesman.cpp
sormo/geneticAlgorithm
c69eafa757bfead611663afb6403394e65cbb616
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <cmath> #include <map> #include <chrono> #include "json.hpp" #include "BinaryGASolver.h" #include "Common.h" using json = nlohmann::json; #define POPULATION_SIZE 300 #define MUTATION_PROBABILITY 0.01 #define CROSSOVER_FACTOR 0.75 #define MAX_NUMBER_OF_GENERATIONS 15000...
32.357143
127
0.693157
sormo
4cbc6a6435fb02e95017c88dcce968fd9614a896
731
cpp
C++
配套代码/L059/REV_059/REV_059.cpp
zmrbak/ReverseAnalysis
994fdc61c8af2eecc2a065a6f5ee0aacf371e836
[ "MIT" ]
35
2019-11-19T03:12:09.000Z
2022-02-18T08:38:53.000Z
配套代码/L059/REV_059/REV_059.cpp
zmrbak/ReverseAnalysis
994fdc61c8af2eecc2a065a6f5ee0aacf371e836
[ "MIT" ]
null
null
null
配套代码/L059/REV_059/REV_059.cpp
zmrbak/ReverseAnalysis
994fdc61c8af2eecc2a065a6f5ee0aacf371e836
[ "MIT" ]
22
2019-08-03T17:07:17.000Z
2022-02-18T08:38:55.000Z
// REV_059.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <iostream> uint64_t f() { return 0x1234567890ABCDEF; } uint64_t f_add(uint64_t a, uint64_t b) { return a + b; } uint64_t f_sub(uint64_t a, uint64_t b) { return a - b; } uint64_t f_multi(uint64_t a, uint64_t b) { return a * b; } uint64_t f...
14.057692
53
0.614227
zmrbak
4cc093252fc67a14c5155b461029119f5beb30c9
1,386
cpp
C++
engine/src/Util/Logger.cpp
kyle-piddington/MoonEngine
243cce7988ee089d0fc51d817e2736501e019702
[ "MIT", "BSD-3-Clause" ]
5
2017-01-20T00:23:23.000Z
2018-07-17T07:48:04.000Z
engine/src/Util/Logger.cpp
kyle-piddington/MoonEngine
243cce7988ee089d0fc51d817e2736501e019702
[ "MIT", "BSD-3-Clause" ]
null
null
null
engine/src/Util/Logger.cpp
kyle-piddington/MoonEngine
243cce7988ee089d0fc51d817e2736501e019702
[ "MIT", "BSD-3-Clause" ]
2
2017-01-24T05:09:37.000Z
2021-02-18T14:42:00.000Z
#include "Logger.h" #include <iostream> #include <string> using namespace MoonEngine; std::ostream * Logger::_logStream; LogLevel Logger::_logLevel = ERROR; void Logger::ProvideErrorStream(std::ostream * str) { _logStream = str; } void Logger::SetLogLevel(LogLevel level) { _logLevel = level; } void Log...
22.721311
74
0.445166
kyle-piddington
4cc1853c9c123c7dac466c8c05cb8c9a68f42780
318
hpp
C++
include/vm/vm.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
14
2020-04-14T17:00:56.000Z
2021-08-30T08:29:26.000Z
include/vm/vm.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
27
2020-12-27T16:00:44.000Z
2021-08-01T13:12:14.000Z
include/vm/vm.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
1
2020-05-29T18:33:37.000Z
2020-05-29T18:33:37.000Z
#pragma once #include "novasm/executable.hpp" #include "vm/exec_state.hpp" #include "vm/platform_interface.hpp" namespace vm { // Execute the given program. Will block until the execution is complete. auto run(const novasm::Executable* executable, PlatformInterface* iface) noexcept -> ExecState; } // namespace vm
26.5
95
0.77044
BastianBlokland
4cc1c75ffb236182b3e61f008634bd0a329b9242
14,737
cpp
C++
src/textures.cpp
FAETHER/VEther
081f0df2c4279c21e1d55bfc336a43bc96b5f1c3
[ "MIT" ]
3
2019-12-07T23:57:47.000Z
2019-12-31T19:46:41.000Z
src/textures.cpp
FAETHER/VEther
081f0df2c4279c21e1d55bfc336a43bc96b5f1c3
[ "MIT" ]
null
null
null
src/textures.cpp
FAETHER/VEther
081f0df2c4279c21e1d55bfc336a43bc96b5f1c3
[ "MIT" ]
null
null
null
#include "textures.h" #include "control.h" #include "render.h" #include "zone.h" #include "lodepng.h" #include "flog.h" #include <math.h> /* { GVAR: logical_device -> startup.cpp GVAR: max2DTex_size -> startup.cpp GVAR: descriptor_pool -> control.cpp GVAR: command_buffer -> control.cpp GVAR: staging_buffe...
37.214646
171
0.749406
FAETHER
4cc2ee85567c9588b00ba02803f9f87bb9e99f8a
201
hpp
C++
src/main.hpp
Dyndrilliac/shell
7f2e858502cf98d5df190d94dd557f1005e74ca5
[ "MIT" ]
null
null
null
src/main.hpp
Dyndrilliac/shell
7f2e858502cf98d5df190d94dd557f1005e74ca5
[ "MIT" ]
null
null
null
src/main.hpp
Dyndrilliac/shell
7f2e858502cf98d5df190d94dd557f1005e74ca5
[ "MIT" ]
null
null
null
/* Main Header File Project: Shell-CPP Author: Matthew Boyette (N00868808) Date: 9/27/2017 */ #pragma once #include "stringSplitter.hpp" #include "shell.hpp" using namespace std;
15.461538
40
0.671642
Dyndrilliac
4cc5ba098e996643ef66ad4eee7ec3c262ac765f
3,281
cpp
C++
source/LibFgWin/FgGuiWinSelect.cpp
maamountki/FaceGenBaseLibrary
0c647920e913354028ed09fff3293555e84d2b94
[ "MIT" ]
null
null
null
source/LibFgWin/FgGuiWinSelect.cpp
maamountki/FaceGenBaseLibrary
0c647920e913354028ed09fff3293555e84d2b94
[ "MIT" ]
null
null
null
source/LibFgWin/FgGuiWinSelect.cpp
maamountki/FaceGenBaseLibrary
0c647920e913354028ed09fff3293555e84d2b94
[ "MIT" ]
null
null
null
// // Copyright (c) 2015 Singular Inversions Inc. (facegen.com) // Use, modification and distribution is subject to the MIT License, // see accompanying file LICENSE.txt or facegen.com/base_library_license.txt // // Authors: Andrew Beatty // Created: Oct 14, 2011 // #include "stdafx.h" #include "FgGuiApiSelec...
28.042735
98
0.579092
maamountki
4ccd4e11ae9b2217c0e9e3a5eaa295f9239cd36b
1,862
cc
C++
tests/tools/tflite_run/src/tensor_dumper.cc
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
255
2020-05-22T07:45:29.000Z
2022-03-29T23:58:22.000Z
tests/tools/tflite_run/src/tensor_dumper.cc
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
5,102
2020-05-22T07:48:33.000Z
2022-03-31T23:43:39.000Z
tests/tools/tflite_run/src/tensor_dumper.cc
periannath/ONE
61e0bdf2bcd0bc146faef42b85d469440e162886
[ "Apache-2.0" ]
120
2020-05-22T07:51:08.000Z
2022-02-16T19:08:05.000Z
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. 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...
26.225352
96
0.70247
periannath
4cd1c222366e766aa2107c486dcac887e2fb07a1
7,660
cc
C++
mindspore/lite/test/ut/src/runtime/kernel/opencl/depthwise_conv2d_tests.cc
taroxd/mindspore
9bb620ff2caaac7f1c53c4b104935f22352cb88f
[ "Apache-2.0" ]
55
2020-12-17T10:26:06.000Z
2022-03-28T07:18:26.000Z
mindspore/lite/test/ut/src/runtime/kernel/opencl/depthwise_conv2d_tests.cc
taroxd/mindspore
9bb620ff2caaac7f1c53c4b104935f22352cb88f
[ "Apache-2.0" ]
null
null
null
mindspore/lite/test/ut/src/runtime/kernel/opencl/depthwise_conv2d_tests.cc
taroxd/mindspore
9bb620ff2caaac7f1c53c4b104935f22352cb88f
[ "Apache-2.0" ]
14
2021-01-29T02:39:47.000Z
2022-03-23T05:00:26.000Z
/** * Copyright 2020 Huawei Technologies 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 appli...
56.323529
121
0.617493
taroxd
4cd2aaef96e5d2b5b7b3ecaf267bdfb15bbbe044
372
hpp
C++
Source/Maths/Matrices/Matrix3x4.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
Source/Maths/Matrices/Matrix3x4.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
Source/Maths/Matrices/Matrix3x4.hpp
KingKiller100/kLibrary
37971acd3c54f9ea0decdf78b13e47c935d4bbf0
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Matrix.hpp" namespace kmaths { template<class T> using Matrix3x4 = Matrix<T, 3, 4>; using Matrix3x4s = Matrix3x4 < int >; // 3 rows - 4 columns - signed integer using Matrix3x4f = Matrix3x4 < float >; // 3 rows - 4 columns - floating point using Matrix3x4d = Matrix3x4 < double ...
26.571429
89
0.666667
KingKiller100
4cd5c85f1aa53aa82449174f646a9b0428af3cf0
795
cpp
C++
source/random.cpp
in1tiate/OoT3D_Randomizer
baa1f4a0f4a2e1aadec9547120b29d1617211f45
[ "MIT" ]
133
2020-08-25T20:27:08.000Z
2022-03-28T04:38:44.000Z
source/random.cpp
in1tiate/OoT3D_Randomizer
baa1f4a0f4a2e1aadec9547120b29d1617211f45
[ "MIT" ]
112
2020-11-27T18:51:33.000Z
2022-03-28T21:58:21.000Z
source/random.cpp
in1tiate/OoT3D_Randomizer
baa1f4a0f4a2e1aadec9547120b29d1617211f45
[ "MIT" ]
57
2020-08-24T08:54:39.000Z
2022-03-27T18:08:51.000Z
#include "random.hpp" #include <random> static bool init = false; static std::mt19937_64 generator; //Initialize with seed specified void Random_Init(uint32_t seed) { init = true; generator = std::mt19937_64{seed}; } //Returns a random integer in range [min, max-1] uint32_t Random(int min, int max) { if...
26.5
72
0.69434
in1tiate
4cd8d8b7eef22d3bb218a925ec6800d1a496803d
3,944
cpp
C++
Abzynt/Abzynt/sdk/config/config.cpp
patrykkolodziej/Abzynt-Cheat
862c72514f868fe24728ae83278647bcc3092180
[ "MIT" ]
14
2019-04-11T19:09:26.000Z
2021-03-27T06:18:02.000Z
Abzynt/Abzynt/sdk/config/config.cpp
patrykkolodziej/Abzynt-Cheat
862c72514f868fe24728ae83278647bcc3092180
[ "MIT" ]
2
2019-05-01T09:19:31.000Z
2019-08-23T01:20:20.000Z
Abzynt/Abzynt/sdk/config/config.cpp
patrykkolodziej/Abzynt-Cheat
862c72514f868fe24728ae83278647bcc3092180
[ "MIT" ]
7
2019-04-16T12:49:30.000Z
2020-09-27T01:53:49.000Z
#include "config.hpp" c_config g_config("config.json"); c_config::c_config(const std::string config_path) { char current_path[MAX_PATH] = ""; GetModuleFileNameA(NULL, current_path, MAX_PATH); PathRemoveFileSpecA(current_path); PathAddBackslashA(current_path); path += config_path; } void c_config::s...
41.957447
92
0.677485
patrykkolodziej
4cdfe1d286d6b6ce88b3dabe4b1aa97096b91d33
9,033
cpp
C++
cpp/lib/graph/functional_graph.cpp
KATO-Hiro/atcoder-1
c2cbfcfd5c3d46ac9810ba330a37d437aa2839c2
[ "MIT" ]
null
null
null
cpp/lib/graph/functional_graph.cpp
KATO-Hiro/atcoder-1
c2cbfcfd5c3d46ac9810ba330a37d437aa2839c2
[ "MIT" ]
null
null
null
cpp/lib/graph/functional_graph.cpp
KATO-Hiro/atcoder-1
c2cbfcfd5c3d46ac9810ba330a37d437aa2839c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; // -------------------------------------------------------- #define FOR(i,l,r) for (ll i = (l); i < (r); ++i) #define REP(i,n) FOR(i,0,n) #define BIT(b,i) (((b)>>(i)) & 1) // -------------------------------------------------------- // References: // ...
28.951923
86
0.435736
KATO-Hiro
4ce2aac2db35d7c362099463fc83d8e3ab73049c
52,453
cpp
C++
syn/core/grm_parser.cpp
asmwarrior/syncpp
df34b95b308d7f2e6479087d629017efa7ab9f1f
[ "Apache-2.0" ]
1
2019-02-08T02:23:56.000Z
2019-02-08T02:23:56.000Z
syn/core/grm_parser.cpp
asmwarrior/syncpp
df34b95b308d7f2e6479087d629017efa7ab9f1f
[ "Apache-2.0" ]
null
null
null
syn/core/grm_parser.cpp
asmwarrior/syncpp
df34b95b308d7f2e6479087d629017efa7ab9f1f
[ "Apache-2.0" ]
1
2020-12-02T02:37:40.000Z
2020-12-02T02:37:40.000Z
/* * Copyright 2014 Anton Karmanov * * 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...
35.779673
119
0.739138
asmwarrior
4ce4b03fc07e7bd088be5cb5037af11bab8a3cb2
2,146
hh
C++
neb/inc/com/centreon/broker/neb/downtime_map.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
40
2015-03-10T07:55:39.000Z
2021-06-11T10:13:56.000Z
neb/inc/com/centreon/broker/neb/downtime_map.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
297
2015-04-30T10:02:04.000Z
2022-03-09T13:31:54.000Z
neb/inc/com/centreon/broker/neb/downtime_map.hh
centreon-lab/centreon-broker
b412470204eedc01422bbfd00bcc306dfb3d2ef5
[ "Apache-2.0" ]
29
2015-08-03T10:04:15.000Z
2021-11-25T12:21:00.000Z
/* ** Copyright 2009-2013 Centreon ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed t...
32.515152
77
0.770736
centreon-lab