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
eb3cf456ff9e3ad2fcf4a6d7562a04584d7b6901
6,512
cpp
C++
SOURCES/ui95/cfonts.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/ui95/cfonts.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/ui95/cfonts.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
#include <windows.h> #include "chandler.h" #ifdef _UI95_PARSER_ // List of Keywords & functions to handle them enum { CFNT_NOTHING=0, CFNT_ID, CFNT_lfHeight, CFNT_lfWidth, CFNT_lfEscapement, CFNT_lfOrientation, CFNT_lfWeight, CFNT_lfItalic, CFNT_lfUnderline, CFNT_lfStrikeOut, CFNT_lfCharSet, CFNT_lfOutPre...
15.394799
97
0.658784
IsraelyFlightSimulator
eb3ea0b38355eaf36bb24a52ce48d1ed47b3ce4b
2,333
cpp
C++
core/src/storage/disk/DiskOperation.cpp
godchen0212/milvus
31306f660ec2eb4f459eadee856f2c1020240a53
[ "Apache-2.0" ]
1
2020-08-10T18:28:59.000Z
2020-08-10T18:28:59.000Z
core/src/storage/disk/DiskOperation.cpp
godchen0212/milvus
31306f660ec2eb4f459eadee856f2c1020240a53
[ "Apache-2.0" ]
null
null
null
core/src/storage/disk/DiskOperation.cpp
godchen0212/milvus
31306f660ec2eb4f459eadee856f2c1020240a53
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
31.958904
81
0.707673
godchen0212
eb4728e436cc8e51b9ddf12c672f337b417442d7
6,025
cc
C++
src/tests/test_populationanalysis.cc
fossabot/xtp
e82cc53f23e213d09da15da80ada6e32ac031a07
[ "Apache-2.0" ]
null
null
null
src/tests/test_populationanalysis.cc
fossabot/xtp
e82cc53f23e213d09da15da80ada6e32ac031a07
[ "Apache-2.0" ]
null
null
null
src/tests/test_populationanalysis.cc
fossabot/xtp
e82cc53f23e213d09da15da80ada6e32ac031a07
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2020 The VOTCA Development Team (http://www.votca.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
32.219251
77
0.673195
fossabot
eb482fbe639686e330cdd183a3791c682d2cc56f
1,794
hpp
C++
include/total_order.hpp
CppPhil/ISP1
dfc9c4ddc3cdb5784aa93ca25e6c9fca31f11676
[ "Unlicense" ]
null
null
null
include/total_order.hpp
CppPhil/ISP1
dfc9c4ddc3cdb5784aa93ca25e6c9fca31f11676
[ "Unlicense" ]
null
null
null
include/total_order.hpp
CppPhil/ISP1
dfc9c4ddc3cdb5784aa93ca25e6c9fca31f11676
[ "Unlicense" ]
null
null
null
/*! * \file total_order.hpp * \brief Exports the TOTAL_ORDER macro. **/ #pragma once #include <ciso646> // not, and /*! * \def TOTAL_ORDER * \brief Defines a total ordering for the type given. * \warning There must be a correct operator< already defined for type. **/ #define TOTAL_ORDER(type) ...
47.210526
71
0.280936
CppPhil
eb4a0083c6fed15efed900b715c2149efebc7c43
10,447
cpp
C++
gm/displacement.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_skia
90b3f9b82dbad266f960601d2120082bb841fb97
[ "BSD-3-Clause" ]
111
2015-01-13T22:01:50.000Z
2021-06-10T15:32:48.000Z
gm/displacement.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_skia
90b3f9b82dbad266f960601d2120082bb841fb97
[ "BSD-3-Clause" ]
129
2015-01-14T16:07:02.000Z
2020-03-11T19:44:42.000Z
gm/displacement.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_skia
90b3f9b82dbad266f960601d2120082bb841fb97
[ "BSD-3-Clause" ]
64
2015-01-14T16:45:39.000Z
2021-09-08T11:16:05.000Z
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkDisplacementMapEffect.h" #include "SkBitmapSource.h" namespace skiagm { class DisplacementMapGM : public GM { public: DisplacementMapGM() : f...
45.421739
106
0.662104
quanganh2627
eb4da6dfa9fa465bdae3a7b326e581ef57f6cccb
1,107
cpp
C++
cpp/int_size_t_comparison.cpp
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
cpp/int_size_t_comparison.cpp
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
cpp/int_size_t_comparison.cpp
berquist/eg
4c368b12eaaffcf0af8032f10348cf8bc1c3957a
[ "Unlicense" ]
null
null
null
#include <iostream> bool compare_against_zero_implicit(size_t arg) { return (arg <= 0); } bool compare_against_zero_implicit(int arg) { return (arg <= 0); } bool compare_against_zero_explicit(int arg) { int zero = 0; return (arg <= 0); } int main() { size_t NB2car_size_t = 28725; int ...
25.744186
97
0.68925
berquist
eb5118e3a93cae0fddab9094be206b7b97246662
11,005
cpp
C++
android-29/android/media/MediaCodec.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-29/android/media/MediaCodec.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/media/MediaCodec.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JArray.hpp" #include "./AudioPresentation.hpp" #include "./Image.hpp" #include "./MediaCodec_BufferInfo.hpp" #include "./MediaCodec_Callback.hpp" #include "./MediaCodec_CryptoInfo.hpp" #include "./MediaCodecInfo.hpp" #include "./MediaCrypto.hpp" #include "./MediaDescrambler.hpp" #include "./MediaFormat....
21.835317
146
0.70159
YJBeetle
eb51fa141be0d6aeeffafb7700ae78e5f309a3ff
17,747
cpp
C++
opentera-webrtc-native-client/OpenteraWebrtcNativeClient/test/src/StreamClientTests.cpp
introlab/opentera-webrtc-teleop
ecb671635832d6d66e0f2f0a7e90b0877ce7c338
[ "Apache-2.0" ]
1
2020-11-21T21:11:43.000Z
2020-11-21T21:11:43.000Z
opentera-webrtc-native-client/OpenteraWebrtcNativeClient/test/src/StreamClientTests.cpp
introlab/opentera-webrtc-teleop
ecb671635832d6d66e0f2f0a7e90b0877ce7c338
[ "Apache-2.0" ]
18
2020-09-30T13:36:55.000Z
2021-03-11T23:06:01.000Z
opentera-webrtc-native-client/OpenteraWebrtcNativeClient/test/src/StreamClientTests.cpp
introlab/opentera-webrtc-teleop
ecb671635832d6d66e0f2f0a7e90b0877ce7c338
[ "Apache-2.0" ]
null
null
null
#include <OpenteraWebrtcNativeClient/StreamClient.h> #include <OpenteraWebrtcNativeClientTests/CallbackAwaiter.h> #include <gtest/gtest.h> #include <subprocess.hpp> #include <boost/filesystem.hpp> #include <opencv2/core.hpp> #include <atomic> #include <chrono> #include <memory> #include <thread> using namespace ...
35.852525
120
0.676396
introlab
eb5409b9bc9f67496b61507909826ba913d41bea
1,833
cpp
C++
utils/matrix_utils.cpp
scalability-llnl/adept-utils
6b36469771f2436901091a1db3151862b0dd26f0
[ "RSA-MD" ]
1
2022-01-14T08:15:31.000Z
2022-01-14T08:15:31.000Z
utils/matrix_utils.cpp
LLNL/adept-utils
6b36469771f2436901091a1db3151862b0dd26f0
[ "RSA-MD" ]
3
2016-08-18T15:58:29.000Z
2018-11-04T21:32:23.000Z
utils/matrix_utils.cpp
scalability-llnl/adept-utils
6b36469771f2436901091a1db3151862b0dd26f0
[ "RSA-MD" ]
2
2015-03-08T15:47:57.000Z
2015-04-13T21:02:55.000Z
/* This file is part of adept-utils. * * Copyright (C) * 2010-2018 Lawrence Livermore National Laboratories, United States of America * * Written by Todd Gamblin, tgamblin@llnl.gov. * LLNL-CODE-417602 * * See the LICENSE file in the package base directory for details. */ #include "matrix_utils.h" #include <...
21.564706
86
0.524277
scalability-llnl
eb54c13999deddd85b04a09ee3a8704e2d897416
1,950
cpp
C++
CISP 430/L1/CISP430V4L1.cpp
gb-camera/college-hw
e36d275ed7fad0a0fdb711a2a4abc82860bc3fcd
[ "Unlicense" ]
null
null
null
CISP 430/L1/CISP430V4L1.cpp
gb-camera/college-hw
e36d275ed7fad0a0fdb711a2a4abc82860bc3fcd
[ "Unlicense" ]
null
null
null
CISP 430/L1/CISP430V4L1.cpp
gb-camera/college-hw
e36d275ed7fad0a0fdb711a2a4abc82860bc3fcd
[ "Unlicense" ]
null
null
null
//Michael Dinh - CISP 430 - Lab #1 #include <iostream> #include <string> using namespace std; class romanType { public: void setRoman(string); void romanToDecimal(); void printDecimal() const; void printRoman() const; romanType(); romanType(string); private: string romanNum; int decimalNum; }; void romanType:...
15.725806
73
0.56359
gb-camera
eb551b93cb9bc7f79861a5da0272e6991347cc91
697
cc
C++
src/analyzer/protocol/ftp/Plugin.cc
yaplej/bro
1e60264548fd3bde5222c027de21c482b009ccb1
[ "Apache-2.0" ]
2,181
2015-01-01T15:31:58.000Z
2022-03-08T22:15:19.000Z
src/analyzer/protocol/ftp/Plugin.cc
yaplej/bro
1e60264548fd3bde5222c027de21c482b009ccb1
[ "Apache-2.0" ]
1,277
2018-12-07T17:12:15.000Z
2022-03-31T22:56:35.000Z
src/analyzer/protocol/ftp/Plugin.cc
yaplej/bro
1e60264548fd3bde5222c027de21c482b009ccb1
[ "Apache-2.0" ]
696
2015-01-01T20:29:40.000Z
2022-02-06T17:39:01.000Z
// See the file in the main distribution directory for copyright. #include "zeek/plugin/Plugin.h" #include "zeek/analyzer/Component.h" #include "zeek/analyzer/protocol/ftp/FTP.h" namespace zeek::plugin::detail::Zeek_FTP { class Plugin : public zeek::plugin::Plugin { public: zeek::plugin::Configuration Configure...
24.892857
89
0.723099
yaplej
eb56f2ebf8ab8c43007882bfe5e9f59b43c3b38d
11,005
cpp
C++
cpp/src/VideoOverlayDemo.cpp
npahucki/RealTimePoseEsitmationDancingGame
45fa716d9c156187ceedff458efa2fa4c3e3c9de
[ "MIT" ]
4
2019-05-08T03:53:14.000Z
2021-10-10T13:15:44.000Z
cpp/src/VideoOverlayDemo.cpp
chunyang-zhang/RealTimePoseEsitmationDancingGame
45fa716d9c156187ceedff458efa2fa4c3e3c9de
[ "MIT" ]
1
2019-05-10T13:41:23.000Z
2019-05-15T10:19:14.000Z
cpp/src/VideoOverlayDemo.cpp
chunyang-zhang/RealTimePoseEsitmationDancingGame
45fa716d9c156187ceedff458efa2fa4c3e3c9de
[ "MIT" ]
1
2019-05-08T03:32:54.000Z
2019-05-08T03:32:54.000Z
// // Created by Nathan Pahucki on 10/11/18. // #include <iostream> #include "VideoOverlayDemo.h" #include "UpperBodyRaisedHandPredictor.h" #include "extract_utils.h" #include <openpose/tracking/headers.hpp> #include <VideoOverlayDemo.h> VideoOverlayDemo::VideoOverlayDemo(const string &windowName_) : VideoPoseCaptu...
42.821012
120
0.636165
npahucki
eb5705a8161d1088d6901950521f685c6dd2823b
336
cpp
C++
1d/sim_error_floord/openacc/main.reference.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
1d/sim_error_floord/openacc/main.reference.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
1d/sim_error_floord/openacc/main.reference.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
#include <cmath> int main(int argc, char** argv){ int dp = 10; int other = 10; int x[10]; if (dp >= 2){ for (auto t1=0;t1<=std::floor( (double)(dp-2) /2);++t1) { int sum = 0; #pragma acc kernels for (auto t3=0;t3<=other-1;++t3) { sum += t3*3; } x[t1] = sum; } ...
16
59
0.464286
realincubus
eb5cbf6aa777ca069042942622eeb43567ae5c0f
953
cpp
C++
archives/problemset/poj.org/2142.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
6
2019-03-23T21:06:25.000Z
2021-06-27T05:22:41.000Z
archives/problemset/poj.org/2142.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
1
2020-10-11T08:14:00.000Z
2020-10-11T08:14:00.000Z
archives/problemset/poj.org/2142.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
3
2019-03-23T21:06:31.000Z
2021-10-24T01:44:01.000Z
#include <iostream> using namespace std; typedef long long int lli; lli lliabs(lli x) { return x>0?x:-x; } lli gcd(lli a,lli b,lli& x,lli &y) { if (!b) { x=1,y=0; return a; } else { lli a_=b,b_=a%b,x_,y_; lli g=gcd(a_,b_,x_,y_); x=y_; y=x_-(a/b)*y_; return g; } } int main...
17.327273
55
0.525708
BoleynSu
eb6023ebd6dcedb99c23eb30638d4eebfd2648d7
51,606
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Solids_And_Fluids/SOLIDS_FLUIDS_DRIVER_DYADIC.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Solids_And_Fluids/SOLIDS_FLUIDS_DRIVER_DYADIC.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Solids_And_Fluids/SOLIDS_FLUIDS_DRIVER_DYADIC.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
#ifndef COMPILE_WITHOUT_DYADIC_SUPPORT //##################################################################### // Copyright 2004-2007, Frank Losasso, Tamar Shinar, Eftychios Sifakis. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. /...
71.476454
209
0.740418
schinmayee
eb612af1ea7fe2800994258a408496099c81b5a7
23,862
cc
C++
src/upr-consumer.cc
mikewied/ep-engine
c8302b874a6d5b705ff2888e9f84dd922dc0dd8a
[ "Apache-2.0" ]
null
null
null
src/upr-consumer.cc
mikewied/ep-engine
c8302b874a6d5b705ff2888e9f84dd922dc0dd8a
[ "Apache-2.0" ]
null
null
null
src/upr-consumer.cc
mikewied/ep-engine
c8302b874a6d5b705ff2888e9f84dd922dc0dd8a
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2013 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
35.882707
81
0.584192
mikewied
eb63e91dac3558b570ba51a381dd792c4a00b1c1
59,799
cpp
C++
plugins/network/NetClass.cpp
sergey-rybalkin/FarManager
26f8df87ee2461ed3c1da4c12b4761d958766608
[ "BSD-3-Clause" ]
null
null
null
plugins/network/NetClass.cpp
sergey-rybalkin/FarManager
26f8df87ee2461ed3c1da4c12b4761d958766608
[ "BSD-3-Clause" ]
null
null
null
plugins/network/NetClass.cpp
sergey-rybalkin/FarManager
26f8df87ee2461ed3c1da4c12b4761d958766608
[ "BSD-3-Clause" ]
null
null
null
#include "NetCommon.hpp" #include "NetCfg.hpp" #include "NetFavorites.hpp" #include "NetClass.hpp" #include "guid.hpp" #include <PluginSettings.hpp> #include <DlgBuilder.hpp> #include <SimpleString.hpp> NetResourceList *CommonRootResources; BOOL SavedCommonRootResources = FALSE; static __int64 GetSetting(FARSETTINGS...
24.161212
166
0.68446
sergey-rybalkin
eb666b71cecb65cc0b21f13ff3d16b605bc27323
888
cpp
C++
src/nosync/exceptions.cpp
zbigniew-chyla/libnosync
28d024047bcb38a90310b81f1e35d7b5c465a83a
[ "BSD-3-Clause" ]
1
2018-05-07T09:09:11.000Z
2018-05-07T09:09:11.000Z
src/nosync/exceptions.cpp
zbigniew-chyla/libnosync
28d024047bcb38a90310b81f1e35d7b5c465a83a
[ "BSD-3-Clause" ]
null
null
null
src/nosync/exceptions.cpp
zbigniew-chyla/libnosync
28d024047bcb38a90310b81f1e35d7b5c465a83a
[ "BSD-3-Clause" ]
null
null
null
// This file is part of libnosync library. See LICENSE file for license details. #include <cstdlib> #include <nosync/exceptions.h> #include <stdexcept> #include <string> #include <system_error> using std::error_code; using std::logic_error; using std::string; using std::system_error; namespace nosync { namespace { ...
14.322581
80
0.733108
zbigniew-chyla
eb66fbf77585520f4e04f19aa5bd1220426adad4
6,635
cc
C++
src/ray/common/network_util.cc
mgelbart/ray
4cec2286572e368a4bd64aae467751a384eff62d
[ "Apache-2.0" ]
22
2018-05-08T05:52:34.000Z
2020-04-01T10:09:55.000Z
src/ray/common/network_util.cc
mgelbart/ray
4cec2286572e368a4bd64aae467751a384eff62d
[ "Apache-2.0" ]
73
2021-09-25T07:11:39.000Z
2022-03-26T07:10:59.000Z
src/ray/common/network_util.cc
mgelbart/ray
4cec2286572e368a4bd64aae467751a384eff62d
[ "Apache-2.0" ]
10
2018-04-27T10:50:59.000Z
2020-02-24T02:41:43.000Z
// Copyright 2017 The Ray Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
32.846535
86
0.64642
mgelbart
eb685b31fd956d02cfffb90953d0aed7332dca02
7,299
cpp
C++
apps/yscnproc.cpp
cyanpencil/yocto-gl
ee0ff506e762bed1ae580e6413c2ea395ef40ac1
[ "MIT" ]
1
2018-03-14T22:43:25.000Z
2018-03-14T22:43:25.000Z
apps/yscnproc.cpp
cyanpencil/yocto-gl
ee0ff506e762bed1ae580e6413c2ea395ef40ac1
[ "MIT" ]
null
null
null
apps/yscnproc.cpp
cyanpencil/yocto-gl
ee0ff506e762bed1ae580e6413c2ea395ef40ac1
[ "MIT" ]
null
null
null
// // LICENSE: // // Copyright (c) 2016 -- 2017 Fabio Pellacini // // 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 conditio...
34.757143
80
0.591999
cyanpencil
eb68870ac37f9ac64b30535c9e56b7b474d0be97
2,710
cpp
C++
turtleProgram.cpp
TabithaRoemish/CSS343_Assignment1
238741f2b676b657cb71ec8545b1b6b0f7932cdf
[ "Unlicense" ]
null
null
null
turtleProgram.cpp
TabithaRoemish/CSS343_Assignment1
238741f2b676b657cb71ec8545b1b6b0f7932cdf
[ "Unlicense" ]
null
null
null
turtleProgram.cpp
TabithaRoemish/CSS343_Assignment1
238741f2b676b657cb71ec8545b1b6b0f7932cdf
[ "Unlicense" ]
null
null
null
// File Name: TurtleProgram.cpp // Programmer: Tabitha Roemish // File contains: TurtleProgram class definitions #include "TurtleProgram.h" #include <iostream> using namespace std; //constructor TurtleProgram::TurtleProgram(string direction, string angleOrLength) { turtleArray = new string[2]; //beginning length...
21.507937
83
0.694465
TabithaRoemish
eb6c8507eddcb466173b93bc844e3e01a176d735
9,114
cpp
C++
riscv/llvm/3.5/cfe-3.5.0.src/test/SemaCXX/decl-microsoft-call-conv.cpp
tangyibin/goblin-core
1940db6e95908c81687b2b22ddd9afbc8db9cdfe
[ "BSD-3-Clause" ]
null
null
null
riscv/llvm/3.5/cfe-3.5.0.src/test/SemaCXX/decl-microsoft-call-conv.cpp
tangyibin/goblin-core
1940db6e95908c81687b2b22ddd9afbc8db9cdfe
[ "BSD-3-Clause" ]
null
null
null
riscv/llvm/3.5/cfe-3.5.0.src/test/SemaCXX/decl-microsoft-call-conv.cpp
tangyibin/goblin-core
1940db6e95908c81687b2b22ddd9afbc8db9cdfe
[ "BSD-3-Clause" ]
1
2021-03-24T06:40:32.000Z
2021-03-24T06:40:32.000Z
// RUN: %clang_cc1 -triple i686-pc-win32 -fms-extensions -verify %s // RUN: %clang_cc1 -triple i686-pc-mingw32 -verify %s // RUN: %clang_cc1 -triple i686-pc-mingw32 -fms-extensions -verify %s typedef void void_fun_t(); typedef void __cdecl cdecl_fun_t(); // Pointers to free functions void free_func_default...
38.948718
152
0.709129
tangyibin
eb6ef146561771bc2168224e093c45b1914351a4
862
hpp
C++
include/msqlite/detail/onerror.hpp
ricardocosme/msqlite
95af5b04831c7af449f87346301b6e26bf749e9f
[ "MIT" ]
19
2020-08-18T21:25:05.000Z
2022-01-14T03:45:41.000Z
include/msqlite/detail/onerror.hpp
ricardocosme/msqlite
95af5b04831c7af449f87346301b6e26bf749e9f
[ "MIT" ]
null
null
null
include/msqlite/detail/onerror.hpp
ricardocosme/msqlite
95af5b04831c7af449f87346301b6e26bf749e9f
[ "MIT" ]
null
null
null
#pragma once #include "msqlite/error.hpp" #include <type_traits> namespace msqlite::detail { template<typename Expected, typename F, typename Ret = std::invoke_result_t<F, typename std::remove_reference_t<Expected>::error_type> > void onerror(Expected&& exp, F&& f, ...
23.297297
88
0.607889
ricardocosme
eb706a9a5e5f79a208868260e7c9b0d6d633540d
1,331
hpp
C++
components/document/support/platform_compat.hpp
jinntechio/RocketJoe
9b08a21fda1609c57b40ef8b9750897797ac815b
[ "BSD-3-Clause" ]
7
2019-06-02T12:04:22.000Z
2019-10-15T18:01:21.000Z
components/document/support/platform_compat.hpp
jinntechio/RocketJoe
9b08a21fda1609c57b40ef8b9750897797ac815b
[ "BSD-3-Clause" ]
26
2019-10-27T12:58:42.000Z
2020-05-30T16:43:48.000Z
components/document/support/platform_compat.hpp
jinntechio/RocketJoe
9b08a21fda1609c57b40ef8b9750897797ac815b
[ "BSD-3-Clause" ]
1
2020-05-25T09:28:46.000Z
2020-05-25T09:28:46.000Z
#pragma once #include <components/document/core/base.hpp> #ifdef _MSC_VER #define NOINLINE __declspec(noinline) #define ALWAYS_INLINE inline #define ASSUME(cond) __assume(cond) #define LITECORE_UNUSED #define __typeof ...
27.163265
107
0.602554
jinntechio
eb71610feddf6fa21386c0d51d519425a099abdc
29
cpp
C++
projects/Vk_11/src/renderer.cpp
AnselmoGPP/Vulkan_samples
9aaefcff024962b41539be70a9179e78856ff6a7
[ "MIT" ]
null
null
null
projects/Vk_11/src/renderer.cpp
AnselmoGPP/Vulkan_samples
9aaefcff024962b41539be70a9179e78856ff6a7
[ "MIT" ]
null
null
null
projects/Vk_11/src/renderer.cpp
AnselmoGPP/Vulkan_samples
9aaefcff024962b41539be70a9179e78856ff6a7
[ "MIT" ]
null
null
null
#include "renderer.hpp"
7.25
24
0.62069
AnselmoGPP
eb72277e8f1d53772dec414047f2080ff97ec505
262
cpp
C++
digitCount.cpp
terminatorx0x0/C-LanguageCode
0a03106eb26f16ef82c4ca29791f244561ffb336
[ "Apache-2.0" ]
null
null
null
digitCount.cpp
terminatorx0x0/C-LanguageCode
0a03106eb26f16ef82c4ca29791f244561ffb336
[ "Apache-2.0" ]
null
null
null
digitCount.cpp
terminatorx0x0/C-LanguageCode
0a03106eb26f16ef82c4ca29791f244561ffb336
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<string.h> using namespace std; int main() { char c[100]; int x,i,count=0; cout<<"Enter the number"; cin>>c; x=strlen(c); for ( i = 0; i < x; i++) { count++; } cout<<count; }
15.411765
30
0.473282
terminatorx0x0
eb734e2dc053319ba12b6b35ab93e0f3f6d2d217
344,004
cpp
C++
spin/builtin_loader.cpp
bradgrantham/viz
8f15e80f6834e931be75552f9b68df26be032785
[ "Apache-2.0" ]
1
2020-04-01T12:55:07.000Z
2020-04-01T12:55:07.000Z
spin/builtin_loader.cpp
bradgrantham/viz
8f15e80f6834e931be75552f9b68df26be032785
[ "Apache-2.0" ]
null
null
null
spin/builtin_loader.cpp
bradgrantham/viz
8f15e80f6834e931be75552f9b68df26be032785
[ "Apache-2.0" ]
1
2019-10-11T23:55:42.000Z
2019-10-11T23:55:42.000Z
// // Copyright 2013-2014, Bradley A. Grantham // // 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...
86.869697
116
0.544744
bradgrantham
eb771da6384b0def3f671cdfba67e16e84b3abb7
4,437
cpp
C++
test/MessageHandlerUnitTest.cpp
SwarmUS/HiveMindBridge
64dd1487c0dc19d173824dc52a8ab65b6b109239
[ "MIT" ]
null
null
null
test/MessageHandlerUnitTest.cpp
SwarmUS/HiveMindBridge
64dd1487c0dc19d173824dc52a8ab65b6b109239
[ "MIT" ]
null
null
null
test/MessageHandlerUnitTest.cpp
SwarmUS/HiveMindBridge
64dd1487c0dc19d173824dc52a8ab65b6b109239
[ "MIT" ]
null
null
null
#include "hivemind-bridge/MessageHandler.h" #include "mocks/HiveMindHostApiRequestHandlerInterfaceMock.h" #include "mocks/HiveMindHostApiResponseHandlerInterfaceMock.h" #include "mocks/UserCallRequestManagerInterfaceMock.h" #include "utils/Logger.h" #include <gmock/gmock.h> #include <pheromones/FunctionCallArgumentDTO....
39.972973
91
0.750732
SwarmUS
eb7e7ea6db59db6619a75ed192d4ead5aed6c473
13,899
cpp
C++
tests/unit/Geometry/Mappings/180ConcatenatedMapping_UnitTest.cpp
hpgem/hpgem
b2f7ac6bdef3262af0c3e8559cb991357a96457f
[ "BSD-3-Clause-Clear" ]
5
2020-04-01T15:35:26.000Z
2022-02-22T02:48:12.000Z
tests/unit/Geometry/Mappings/180ConcatenatedMapping_UnitTest.cpp
hpgem/hpgem
b2f7ac6bdef3262af0c3e8559cb991357a96457f
[ "BSD-3-Clause-Clear" ]
139
2020-01-06T12:42:24.000Z
2022-03-10T20:58:14.000Z
tests/unit/Geometry/Mappings/180ConcatenatedMapping_UnitTest.cpp
hpgem/hpgem
b2f7ac6bdef3262af0c3e8559cb991357a96457f
[ "BSD-3-Clause-Clear" ]
4
2020-04-10T09:19:33.000Z
2021-08-21T07:20:42.000Z
/* This file forms part of hpGEM. This package has been developed over a number of years by various people at the University of Twente and a full list of contributors can be found at http://hpgem.org/about-the-code/team This code is distributed using BSD 3-Clause License. A copy of which can found below. Copyr...
40.286957
80
0.58292
hpgem
eb836fcd1cd8de01db1c7ad6aa873c1eef1fde68
3,412
hpp
C++
redemption/src/core/callback.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/core/callback.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/core/callback.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be usefu...
34.464646
139
0.67585
DianaAssistant
eb85ea9e8d592f581e2533ccfe2f5bafb38e19e8
5,697
hpp
C++
gsa/wit/COIN/Examples/Mkc/include/MKC_lp.hpp
kant/CMMPPT
c64b339712db28a619880c4c04839aef7d3b6e2b
[ "Apache-2.0" ]
1
2019-10-25T05:25:23.000Z
2019-10-25T05:25:23.000Z
gsa/wit/COIN/Examples/Mkc/include/MKC_lp.hpp
kant/CMMPPT
c64b339712db28a619880c4c04839aef7d3b6e2b
[ "Apache-2.0" ]
2
2019-09-04T17:34:59.000Z
2020-09-16T08:10:57.000Z
gsa/wit/COIN/Examples/Mkc/include/MKC_lp.hpp
kant/CMMPPT
c64b339712db28a619880c4c04839aef7d3b6e2b
[ "Apache-2.0" ]
18
2019-07-22T19:01:25.000Z
2022-03-03T15:36:11.000Z
// Copyright (C) 2000, International Business Machines // Corporation and others. All Rights Reserved. #ifndef _MKC_LP_H #define _MKC_LP_H #include <cfloat> #include "BCP_parameters.hpp" #include "BCP_lp_user.hpp" #include "MKC_lp_param.hpp" #include "MKC_knapsack.hpp" #include "MKC_var.hpp" //####################...
39.020548
79
0.566614
kant
eb86da84cfdc1aa0fd2d0c33335fdac3badc9924
1,187
cpp
C++
kdrive/src/knx/telegrams/cemi/RfAdditionalInfo.cpp
weinzierl-engineering/baos
306acc8e86da774fdeecec042dcf99734677fdc0
[ "MIT" ]
34
2015-09-16T10:10:14.000Z
2022-02-19T16:11:04.000Z
kdrive/src/knx/telegrams/cemi/RfAdditionalInfo.cpp
weinzierl-engineering/baos
306acc8e86da774fdeecec042dcf99734677fdc0
[ "MIT" ]
17
2017-01-02T15:26:19.000Z
2022-01-20T01:27:24.000Z
kdrive/src/knx/telegrams/cemi/RfAdditionalInfo.cpp
weinzierl-engineering/baos
306acc8e86da774fdeecec042dcf99734677fdc0
[ "MIT" ]
20
2016-12-12T22:18:08.000Z
2022-03-15T16:20:20.000Z
#include "pch/kdrive_pch.h" #include "kdrive/knx/telegrams/cemi/RfAdditionalInfo.h" using namespace kdrive::knx;using namespace kdrive::knx::cemi;z7a67187a0a:: z7a67187a0a(){addFormatter(&zff3b419262);addFormatter(&z4bd60052e2);addFormatter (&z24086b7caf);addFormatter(&z8a729e8447);addFormatter(&z1261f544f8);} z7a6718...
62.473684
80
0.804549
weinzierl-engineering
eb88cbe7a2b979ced34789b3d7f886041af0d7cd
80
hpp
C++
test/hncrypt_test_providers.hpp
vladp72/hcrypt
6f265e38d27a5c92e882a06c629aa8a2b6ad6c45
[ "MIT" ]
3
2019-09-09T04:58:51.000Z
2022-02-02T02:24:31.000Z
test/hncrypt_test_providers.hpp
vladp72/hcrypt
6f265e38d27a5c92e882a06c629aa8a2b6ad6c45
[ "MIT" ]
null
null
null
test/hncrypt_test_providers.hpp
vladp72/hcrypt
6f265e38d27a5c92e882a06c629aa8a2b6ad6c45
[ "MIT" ]
2
2021-10-19T10:28:08.000Z
2022-02-02T05:22:44.000Z
#pragma once #include "hcrypt_test_helpers.hpp" void test_ncrypt_providers();
13.333333
34
0.8
vladp72
eb8c289da4e950a47e5698f5cc39248b834f6ff0
1,294
cc
C++
ptools/opencontainers_1_8_4/tests/bsearch_test.cc
elam03/vmaf
cceae1fee29ec0269616e7c2364f1714a518b2c3
[ "Apache-2.0" ]
13
2017-07-06T12:38:39.000Z
2021-08-10T08:06:18.000Z
ptools/opencontainers_1_8_4/tests/bsearch_test.cc
elam03/vmaf
cceae1fee29ec0269616e7c2364f1714a518b2c3
[ "Apache-2.0" ]
2
2016-01-29T22:57:15.000Z
2021-08-29T19:07:09.000Z
ptools/opencontainers_1_8_4/tests/bsearch_test.cc
elam03/vmaf
cceae1fee29ec0269616e7c2364f1714a518b2c3
[ "Apache-2.0" ]
4
2017-07-24T01:50:42.000Z
2021-08-10T08:06:20.000Z
// // ///////////////////////////////////////////// Include Files #include "ocarray.h" #include "ocbsearch.h" #if defined(OC_FORCE_NAMESPACE) using namespace OC; #endif void tests () { // "borrowed" this array from the sortedvectort_test int_4 ar[] = { 19, 1, 7, 6, 10, 9, 8, 7, 6, 0, -1, -2, -3, -2, -1, 5, 6...
20.21875
102
0.507728
elam03
eb8ec30dd3f3648dda48fb6d2007a843db46f1cd
5,433
cc
C++
third_party/blink/renderer/core/editing/ime/ime_text_span.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
third_party/blink/renderer/core/editing/ime/ime_text_span.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/core/editing/ime/ime_text_span.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/editing/ime/ime_text_span.h" #include <algorithm> #include "ui/base/ime/ime_text_span.h" #include "ui/base/ime/...
38.531915
79
0.691699
mghgroup
eb8f621378f1fa43c75512d7ca17c4268992996c
1,359
cpp
C++
2dSpriteGame/Monkey/classes/mage.cpp
ScottRMcleod/CPLUSPLUS
94352ddf374b048fab960c1e7d5b2000d08ab399
[ "Unlicense" ]
null
null
null
2dSpriteGame/Monkey/classes/mage.cpp
ScottRMcleod/CPLUSPLUS
94352ddf374b048fab960c1e7d5b2000d08ab399
[ "Unlicense" ]
null
null
null
2dSpriteGame/Monkey/classes/mage.cpp
ScottRMcleod/CPLUSPLUS
94352ddf374b048fab960c1e7d5b2000d08ab399
[ "Unlicense" ]
null
null
null
#include "stdwx.h" #include "mage.h" #include "fireball.h" #include "iceBall.h" #include "level.h" Mage::Mage(Level *l,DrawEngine *de, int s_index, float x, float y, int lives, int mana, char spell_key, char up_key, char down_key, char left_key, char right_key) : Character(l,de,s_index,x,y,lives,up_ke...
20.283582
74
0.640912
ScottRMcleod
eb923b30465e5a9b4b5d1cf19500b6b35f300399
262
hpp
C++
headers/Fields.hpp
BasiqueEvangelist/Purpuri
ad028d9527b7485afe0510f90b32c2dcc2689b1a
[ "MIT" ]
7
2021-04-25T22:26:00.000Z
2021-12-30T21:37:31.000Z
headers/Fields.hpp
BasiqueEvangelist/Purpuri
ad028d9527b7485afe0510f90b32c2dcc2689b1a
[ "MIT" ]
1
2021-06-11T22:48:45.000Z
2021-06-11T22:48:45.000Z
headers/Fields.hpp
BasiqueEvangelist/Purpuri
ad028d9527b7485afe0510f90b32c2dcc2689b1a
[ "MIT" ]
4
2021-02-25T23:52:13.000Z
2021-11-21T02:36:36.000Z
/************** * GEMWIRE * * PURPURI * **************/ #include <stdint.h> #include "Common.hpp" struct FieldData { uint16_t Access; uint16_t Name; uint16_t Descriptor; uint16_t AttributeCount; struct AttributeData* Attributes; };
17.466667
37
0.587786
BasiqueEvangelist
eb93e0b875b1fb73293ac1a60315ddc5eacf9b99
929
cpp
C++
0024-swap-nodes-in-pairs.cpp
Jamesweng/leetcode
1711a2a0e31d831e40137203c9abcba0bf56fcad
[ "Apache-2.0" ]
106
2019-06-08T15:23:45.000Z
2020-04-04T17:56:54.000Z
0024-swap-nodes-in-pairs.cpp
Jamesweng/leetcode
1711a2a0e31d831e40137203c9abcba0bf56fcad
[ "Apache-2.0" ]
null
null
null
0024-swap-nodes-in-pairs.cpp
Jamesweng/leetcode
1711a2a0e31d831e40137203c9abcba0bf56fcad
[ "Apache-2.0" ]
3
2019-07-13T05:51:29.000Z
2020-04-04T17:56:57.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* swapPairs(ListNode* head) { ListNode* p1 = head; if (head == NULL) return NULL; if (head->next == ...
22.658537
46
0.38859
Jamesweng
eb9538e3104478448efd4e39ba9ee1310a164307
3,431
cpp
C++
clang/test/SemaCXX/attr-swiftcall.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
clang/test/SemaCXX/attr-swiftcall.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
497
2017-04-04T14:22:22.000Z
2020-03-10T14:12:27.000Z
clang/test/SemaCXX/attr-swiftcall.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify %s #define SWIFTCALL __attribute__((swiftcall)) #define INDIRECT_RESULT __attribute__((swift_indirect_result)) #define ERROR_RESULT __attribute__((swift_error_result)) #define CONTEXT __attribute__((swift_context)) int notAFunction SWIFTCALL; // e...
90.289474
247
0.805013
medismailben
eb96560b8da57451097099301d34455840a37e37
254
cpp
C++
tools/clang/test/SemaTemplate/crash-8204126.cpp
clayne/DirectXShaderCompiler
0ef9b702890b1d45f0bec5fa75481290323e14dc
[ "NCSA" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
tools/clang/test/SemaTemplate/crash-8204126.cpp
clayne/DirectXShaderCompiler
0ef9b702890b1d45f0bec5fa75481290323e14dc
[ "NCSA" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
tools/clang/test/SemaTemplate/crash-8204126.cpp
clayne/DirectXShaderCompiler
0ef9b702890b1d45f0bec5fa75481290323e14dc
[ "NCSA" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: %clang_cc1 -fsyntax-only -verify %s struct A { template<int> template<typename T> friend void foo(T) {} // expected-error{{extraneous template parameter list}} void bar() { foo(0); } // expected-error{{use of undeclared identifier 'foo'}} };
36.285714
114
0.688976
clayne
eb96e89b5f25fd84b6d01aac27938486a3ca354e
6,060
cpp
C++
src/common/InQueue.cpp
Maximus5/git-bug-1
a52853b683dde57cbd29e943299ab46451c542f4
[ "BSD-3-Clause" ]
1
2015-05-08T22:47:13.000Z
2015-05-08T22:47:13.000Z
src/common/InQueue.cpp
Maximus5/git-bug-1
a52853b683dde57cbd29e943299ab46451c542f4
[ "BSD-3-Clause" ]
null
null
null
src/common/InQueue.cpp
Maximus5/git-bug-1
a52853b683dde57cbd29e943299ab46451c542f4
[ "BSD-3-Clause" ]
null
null
null
 /* Copyright (c) 2009-2012 Maximus5 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 the above copyright notice, this list of conditions and the followin...
29.560976
157
0.712706
Maximus5
eb972e40904f382ce16f02cd927648a972ed8d9c
2,997
cc
C++
src/vcash/GwMakerVcash.cc
duguyifang/btcpool
0127a750b3b26a515e66261cbd9ad7f95c54de01
[ "MIT" ]
585
2016-08-20T22:25:49.000Z
2021-03-11T15:13:54.000Z
src/vcash/GwMakerVcash.cc
immense055/btcpool
0127a750b3b26a515e66261cbd9ad7f95c54de01
[ "MIT" ]
335
2016-09-22T02:58:02.000Z
2021-03-08T07:19:13.000Z
src/vcash/GwMakerVcash.cc
immense055/btcpool
0127a750b3b26a515e66261cbd9ad7f95c54de01
[ "MIT" ]
443
2016-08-20T17:56:54.000Z
2021-03-11T04:10:42.000Z
/* The MIT License (MIT) Copyright (C) 2017 vcash Labs Ltd. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
37
86
0.612279
duguyifang
eb978626efee6e838580d887a5ba2059dff3d1b3
3,401
cpp
C++
VectorUtils.cpp
hulop/CVUtils
cd717656be652400ca669973f5fecd2014ba4269
[ "MIT" ]
null
null
null
VectorUtils.cpp
hulop/CVUtils
cd717656be652400ca669973f5fecd2014ba4269
[ "MIT" ]
null
null
null
VectorUtils.cpp
hulop/CVUtils
cd717656be652400ca669973f5fecd2014ba4269
[ "MIT" ]
1
2019-09-11T10:05:27.000Z
2019-09-11T10:05:27.000Z
/******************************************************************************* * Copyright (c) 2017 IBM Corporation, Carnegie Mellon University and others * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to de...
43.050633
120
0.633931
hulop
eb9d2cc0f420030d52c376b646fc0a0c577e28dd
767
cpp
C++
tools/config_handlers/componentpropertydescription_handler.cpp
mcorino/dancex11
297cb17066873ad7f30e88b0e8d64cd0e6ed2f68
[ "MIT" ]
4
2016-04-12T15:09:28.000Z
2020-01-16T10:42:55.000Z
tools/config_handlers/componentpropertydescription_handler.cpp
mcorino/dancex11
297cb17066873ad7f30e88b0e8d64cd0e6ed2f68
[ "MIT" ]
null
null
null
tools/config_handlers/componentpropertydescription_handler.cpp
mcorino/dancex11
297cb17066873ad7f30e88b0e8d64cd0e6ed2f68
[ "MIT" ]
4
2016-04-12T18:40:25.000Z
2019-11-16T14:41:45.000Z
/** * @file componentpropertydescription_handler.cpp * @author Marijke Hengstmengel * * * @copyright Copyright (c) Remedy IT Expertise BV */ #include "componentpropertydescription_handler.h" #include "datatype_handler.h" #include "dancex11/logger/log.h" namespace DAnCEX11 { namespace Config_Handlers { ...
24.741935
106
0.740548
mcorino
eba0669d8be57cba5d4aa999689636595c656465
5,722
cpp
C++
tsMuxer/dvbSubStreamReader.cpp
alexls74/tsMuxer
451ec61a50a4f6e1859e7ae3dd4b3b99729af1a6
[ "Apache-2.0" ]
null
null
null
tsMuxer/dvbSubStreamReader.cpp
alexls74/tsMuxer
451ec61a50a4f6e1859e7ae3dd4b3b99729af1a6
[ "Apache-2.0" ]
null
null
null
tsMuxer/dvbSubStreamReader.cpp
alexls74/tsMuxer
451ec61a50a4f6e1859e7ae3dd4b3b99729af1a6
[ "Apache-2.0" ]
1
2021-02-13T00:23:15.000Z
2021-02-13T00:23:15.000Z
#include "dvbSubStreamReader.h" #if 1 const static uint64_t TS_FREQ_TO_INT_FREQ_COEFF = INTERNAL_PTS_FREQ / PCR_FREQUENCY; static const int BAD_FRAME = -1; int DVBSubStreamReader::getTSDescriptor(uint8_t* dstBuff) { return 0; } uint8_t* DVBSubStreamReader::findFrame(uint8_t* buff, uint8_t* end) { if (m_firstFra...
29.647668
102
0.477106
alexls74
eba11b3dd1330d68f365278cdaa7935c4f7f20a1
1,004
cpp
C++
cameras/src/pinhole_camera.cpp
ton/lightbox
d4c6ab9849fcafa90c5c3795cb678b8f8ba282fb
[ "MIT" ]
null
null
null
cameras/src/pinhole_camera.cpp
ton/lightbox
d4c6ab9849fcafa90c5c3795cb678b8f8ba282fb
[ "MIT" ]
null
null
null
cameras/src/pinhole_camera.cpp
ton/lightbox
d4c6ab9849fcafa90c5c3795cb678b8f8ba282fb
[ "MIT" ]
null
null
null
#include "cameras/itf/pinhole_camera.h" #include "core/itf/film.h" #include "core/itf/ray.h" #include "core/itf/sampling.h" using namespace lb; /// Constructs a pinhole camera, where the image plane's origin is pointed to /// the by the look at vector relative from the camera's location. Together with /// the look a...
34.62069
96
0.678287
ton
eba120fac8036230a9f0c0175c2129f33014e4c8
922
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/fun/array_builder_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/fun/array_builder_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/fun/array_builder_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/arr.hpp> #include <gtest/gtest.h> using std::vector; using stan::math::array_builder; TEST(MathArray,arrayBuilder) { EXPECT_EQ(0U, array_builder<double>().array().size()); vector<double> v3 = array_builder<double>() .add(1) .add(3) .add(2) .array(); EXPECT_EQ(3U,v3....
23.641026
56
0.612798
yizhang-cae
eba17cf674189dd15f02d921f6cafbd92f39ee0c
8,752
cpp
C++
plugins/cinema4dsdk/source/other/command_test.cpp
urender-vt/cinema4d_cpp_sdk_extended
77235d2e382d1536e0e694609929dbb74883072a
[ "Apache-2.0" ]
23
2018-09-05T21:11:07.000Z
2022-01-12T10:43:17.000Z
plugins/cinema4dsdk/source/other/command_test.cpp
urender-vt/cinema4d_cpp_sdk_extended
77235d2e382d1536e0e694609929dbb74883072a
[ "Apache-2.0" ]
null
null
null
plugins/cinema4dsdk/source/other/command_test.cpp
urender-vt/cinema4d_cpp_sdk_extended
77235d2e382d1536e0e694609929dbb74883072a
[ "Apache-2.0" ]
4
2019-07-12T16:57:20.000Z
2021-06-23T15:33:09.000Z
#include "c4d_basetag.h" #include "c4d_baseobject.h" #include "c4d_objectdata.h" #include "c4d_basedocument.h" #include "c4d_basedraw.h" #include "c4d.h" #include "main.h" #include "command_test.h" namespace maxon { class PaintObject : public ObjectData { INSTANCEOF(PaintObject, ObjectData) public: PaintObject() ...
28.051282
123
0.715722
urender-vt
eba4f7072010baee076959d464199718a5dc80fd
1,149
cpp
C++
SharpMedia.Graphics.Driver.Direct3D10/ServiceProcess.cpp
zigaosolin/SharpMedia
b7b594a4c9c64a03d94862877ba642b0460d1067
[ "Apache-2.0" ]
null
null
null
SharpMedia.Graphics.Driver.Direct3D10/ServiceProcess.cpp
zigaosolin/SharpMedia
b7b594a4c9c64a03d94862877ba642b0460d1067
[ "Apache-2.0" ]
null
null
null
SharpMedia.Graphics.Driver.Direct3D10/ServiceProcess.cpp
zigaosolin/SharpMedia
b7b594a4c9c64a03d94862877ba642b0460d1067
[ "Apache-2.0" ]
null
null
null
#include "GraphicsService.h" #include "GraphicsServiceView.h" #include "ServiceProcess.h" namespace SharpMedia { namespace Graphics { namespace Driver { namespace Direct3D10 { D3D10ServiceProcess::D3D10ServiceProcess() { serviceRegistry = nullptr; } Services::IServiceRegistry^ D3D10ServiceProcess::ServiceReg...
23.9375
147
0.774587
zigaosolin
ebaa9e021ae8464c6184a0297f29199f16483ec1
17,977
cpp
C++
src/Crash/CrashHandler.cpp
Moroque/Buffout4
5e15a71d1879ad481076b234621609d63ea1dae4
[ "MIT" ]
31
2020-09-12T13:17:22.000Z
2022-03-04T20:26:13.000Z
src/Crash/CrashHandler.cpp
Nukem9/Buffout4
b7961236e332e7991edb8b85596a64166b1bf926
[ "MIT" ]
3
2020-09-30T08:15:18.000Z
2021-06-22T18:41:59.000Z
src/Crash/CrashHandler.cpp
Nukem9/Buffout4
b7961236e332e7991edb8b85596a64166b1bf926
[ "MIT" ]
9
2020-09-26T01:49:00.000Z
2022-02-10T02:59:46.000Z
#include "CrashHandler.h" #include "Crash/Introspection/Introspection.h" #include "Crash/Modules/ModuleHandler.h" #define WIN32_LEAN_AND_MEAN #define NOGDICAPMASKS #define NOVIRTUALKEYCODES #define NOWINMESSAGES #define NOWINSTYLES #define NOSYSMETRICS #define NOMENUS #define NOICONS #define NOKEYSTATES #define NOSY...
26.87145
98
0.607387
Moroque
ebab641215c93c45e4407a634a96575fed0e0729
7,996
cpp
C++
ObjectHandler/ohxl/callingrange.cpp
txu2014/quantlib
95c7d94906c30d0c3c4e0758a2ebfe2a62b075ec
[ "BSD-3-Clause" ]
null
null
null
ObjectHandler/ohxl/callingrange.cpp
txu2014/quantlib
95c7d94906c30d0c3c4e0758a2ebfe2a62b075ec
[ "BSD-3-Clause" ]
null
null
null
ObjectHandler/ohxl/callingrange.cpp
txu2014/quantlib
95c7d94906c30d0c3c4e0758a2ebfe2a62b075ec
[ "BSD-3-Clause" ]
1
2022-02-24T04:54:18.000Z
2022-02-24T04:54:18.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2007 Ferdinando Ametrano Copyright (C) 2006, 2007 Eric Ehlers This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is ...
37.716981
118
0.588794
txu2014
ebae31c1919b5f51254ca92da5ee65c22baaeeea
776
cpp
C++
src/nfa.cpp
SuprDewd/states
68f89c8e60767819b0b9d0218bb14f6e8b4fac89
[ "MIT" ]
4
2015-01-09T16:54:26.000Z
2018-10-29T13:07:59.000Z
src/nfa.cpp
SuprDewd/states
68f89c8e60767819b0b9d0218bb14f6e8b4fac89
[ "MIT" ]
null
null
null
src/nfa.cpp
SuprDewd/states
68f89c8e60767819b0b9d0218bb14f6e8b4fac89
[ "MIT" ]
2
2016-07-27T02:54:49.000Z
2018-04-11T17:04:07.000Z
#include "nfa.h" nfa* nfa_from_ast(ast_nfa *m) { nfa *res = new nfa(); res->set_start(m->start); for (ast_statelist::const_iterator it = m->states.begin(); it != m->states.end(); ++it) { ast_state *state = *it; if (state->accept) { res->add_final(state->name); } ...
23.515152
98
0.451031
SuprDewd
ebae4da0577ba722650c00961d6d28d0248d0bd7
8,015
hpp
C++
src/factory.hpp
mmcgurn/CppParser
11cfd5a3007009d0d1f08d589e20fe1ea771f95e
[ "BSD-3-Clause" ]
null
null
null
src/factory.hpp
mmcgurn/CppParser
11cfd5a3007009d0d1f08d589e20fe1ea771f95e
[ "BSD-3-Clause" ]
null
null
null
src/factory.hpp
mmcgurn/CppParser
11cfd5a3007009d0d1f08d589e20fe1ea771f95e
[ "BSD-3-Clause" ]
null
null
null
#ifndef CPPPARSER_FACTORY_HPP #define CPPPARSER_FACTORY_HPP #include <filesystem> #include <functional> #include <iostream> #include <map> #include <memory> #include <string> #include <unordered_set> #include <vector> #include "argumentIdentifier.hpp" #include "instanceTracker.hpp" #include "pathLocator.hpp" namespac...
36.431818
146
0.676232
mmcgurn
ebaf5be445f916eb9125873f62d21533087da357
4,505
cpp
C++
Lucy/LucyText/Town.cpp
Tuz1e/Lucy
284f3308e494a4544750c82f21b4a976a9938257
[ "Apache-2.0" ]
null
null
null
Lucy/LucyText/Town.cpp
Tuz1e/Lucy
284f3308e494a4544750c82f21b4a976a9938257
[ "Apache-2.0" ]
null
null
null
Lucy/LucyText/Town.cpp
Tuz1e/Lucy
284f3308e494a4544750c82f21b4a976a9938257
[ "Apache-2.0" ]
null
null
null
#include "Town.h" #include "ItemManager.h" Town::Town() { myFirstT = true; mySpecialDimensionCost = 25; } Town::~Town() { } void Town::Run(const Player aPlayer) { myPlayer = aPlayer; while (1) { Empty(); if (myFirstT) { Introduction(); } else { myPlayer.Update(); Print("Location: " TOWNNA...
20.201794
122
0.595339
Tuz1e
ebb2c9ab0d1d6feed09fa74e682880d6b650427a
269
cpp
C++
system/CoreMemento.cpp
arulagrawal/cos214_project
1ea65ac7e46b97107c0ec2a75359514bc6c98c15
[ "BSD-2-Clause" ]
null
null
null
system/CoreMemento.cpp
arulagrawal/cos214_project
1ea65ac7e46b97107c0ec2a75359514bc6c98c15
[ "BSD-2-Clause" ]
null
null
null
system/CoreMemento.cpp
arulagrawal/cos214_project
1ea65ac7e46b97107c0ec2a75359514bc6c98c15
[ "BSD-2-Clause" ]
null
null
null
#include "CoreMemento.h" CoreMemento::CoreMemento(int fuelWeight, bool isOn) { this->coreState = new CoreState(fuelWeight, isOn); //cout << "FUEL WEIGHT: " << fuelWeight << endl; } CoreMemento::~CoreMemento() { delete this->coreState; coreState = 0; }
20.692308
54
0.669145
arulagrawal
ebb2e6ab009becd04cda454ffc569d8f3d89b78f
2,854
hpp
C++
snowman.hpp
ItaySharabi/snowman-cpp
8cd6d621c06c7a5fb2c694c855c64d98dbc72e71
[ "MIT" ]
null
null
null
snowman.hpp
ItaySharabi/snowman-cpp
8cd6d621c06c7a5fb2c694c855c64d98dbc72e71
[ "MIT" ]
null
null
null
snowman.hpp
ItaySharabi/snowman-cpp
8cd6d621c06c7a5fb2c694c855c64d98dbc72e71
[ "MIT" ]
null
null
null
#include <iostream> #include <array> using namespace std; namespace ariel { enum type { HAT = 0, LHAND1 = 1, LEYE = 2, NOSE = 3, REYE = 4, RHAND1 = 5, LHAND2 = 6, TORSO = 7, RHAND2 = 8, LHAND3 = 9, BASE = 10 }; const int DEC = 10; const int VALID_LEN = 8; const int NUM_ELEMENTS = 1...
53.849057
123
0.380869
ItaySharabi
ebb30094a14919cdd4cf98563a194e47a2da0b11
1,455
cpp
C++
renderString.cpp
moelatt/3D_TransFormation_OpenGL
facee07358afadd338e7c99a3bb54f32eb80e91e
[ "MIT" ]
null
null
null
renderString.cpp
moelatt/3D_TransFormation_OpenGL
facee07358afadd338e7c99a3bb54f32eb80e91e
[ "MIT" ]
null
null
null
renderString.cpp
moelatt/3D_TransFormation_OpenGL
facee07358afadd338e7c99a3bb54f32eb80e91e
[ "MIT" ]
null
null
null
#include "main.h" // Display Text void renderString(const char* text, int length, int x, int y, int id){ glMatrixMode(GL_PROJECTION); double *array = new double[16]; glGetDoublev(GL_PROJECTION_MATRIX,array); glLoadIdentity(); glOrtho(0,293, 0, 294, -1,3); glMatrixMode(GL_MODELVIEW); glLoadI...
30.3125
81
0.613058
moelatt
ebb31597082a1fe9dc20e2e477ec72e89daba4bf
5,291
cpp
C++
src/subcommand/kmers_main.cpp
ruolin/vg
fddf5a0e3172cfc50eb6f8a561dfbe3dbbbaec04
[ "MIT" ]
740
2016-02-23T02:31:10.000Z
2022-03-31T20:51:36.000Z
src/subcommand/kmers_main.cpp
ruolin/vg
fddf5a0e3172cfc50eb6f8a561dfbe3dbbbaec04
[ "MIT" ]
2,455
2016-02-24T08:17:45.000Z
2022-03-31T20:19:41.000Z
src/subcommand/kmers_main.cpp
ruolin/vg
fddf5a0e3172cfc50eb6f8a561dfbe3dbbbaec04
[ "MIT" ]
169
2016-03-03T15:41:33.000Z
2022-03-31T04:01:53.000Z
/** \file kmers_main.cpp * * Defines the "vg kmers" subcommand, which generates the kmers in a graph. */ #include <omp.h> #include <unistd.h> #include <getopt.h> #include <iostream> #include <set> #include "subcommand.hpp" #include "../vg.hpp" #include "../vg_set.hpp" #include "../kmer.hpp" using namespace std...
29.724719
124
0.502741
ruolin
ebb56995df4546b7eccf4917c3fc6f2ef85e0912
1,804
cc
C++
chrome/browser/ui/webui/conflicts/conflicts_handler.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/ui/webui/conflicts/conflicts_handler.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/ui/webui/conflicts/conflicts_handler.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/conflicts/conflicts_handler.h" #include <utility> #include "base/bind.h" #include "base/values.h" #include "chrome/gri...
34.692308
78
0.756652
zealoussnow
ebb9f9250152e37412bfc37c4d8d4dbed1399365
197
cpp
C++
src/L/L12D1.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/L/L12D1.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/L/L12D1.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; double arr[10]; int main(){ for(int i=0;i<6;i++) cin>>arr[i]; sort(arr,arr+6); cout<<(arr[1]+arr[2]+arr[3]+arr[4])/4<<endl; return 0; }
19.7
48
0.568528
wlhcode
ebbcc8e5a9c307fa8ae02e35344c2fce20d3e606
11,029
cpp
C++
devidhw/UntIdhwBss3/UntIdhwBss3.cpp
mpsitech/idhw_public
6779d0b16ebd63808e17733f6d4f8ef61693f458
[ "BSD-2-Clause" ]
null
null
null
devidhw/UntIdhwBss3/UntIdhwBss3.cpp
mpsitech/idhw_public
6779d0b16ebd63808e17733f6d4f8ef61693f458
[ "BSD-2-Clause" ]
null
null
null
devidhw/UntIdhwBss3/UntIdhwBss3.cpp
mpsitech/idhw_public
6779d0b16ebd63808e17733f6d4f8ef61693f458
[ "BSD-2-Clause" ]
null
null
null
/** * \file UntIdhwBss3.cpp * Digilent Basys3 unit (implementation) * \author Alexander Wirthmueller * \date created: 22 Sep 2017 * \date modified: 22 Sep 2017 */ #include "UntIdhwBss3.h" /****************************************************************************** class UntIdhwBss3 ******************...
33.421212
119
0.751292
mpsitech
ebbcd7f9dc0e4be56099e08eb99ea1a3cb051e7c
19,907
cpp
C++
src/libclipper/test/input_test.cpp
yujialuo/Clipper
7269521f003b542b60d13f3a69276b62f610ef33
[ "Apache-2.0" ]
null
null
null
src/libclipper/test/input_test.cpp
yujialuo/Clipper
7269521f003b542b60d13f3a69276b62f610ef33
[ "Apache-2.0" ]
null
null
null
src/libclipper/test/input_test.cpp
yujialuo/Clipper
7269521f003b542b60d13f3a69276b62f610ef33
[ "Apache-2.0" ]
null
null
null
#include <stdexcept> #include <type_traits> #include <gtest/gtest.h> #include <clipper/datatypes.hpp> using namespace clipper; using std::vector; namespace { const unsigned long SERIALIZED_REQUEST_SIZE = 3; const int NUM_PRIMITIVE_INPUTS = 500; const int NUM_STRING_INPUTS = 300; const uint8_t PRIMITIVE_INPU...
52.525066
116
0.723665
yujialuo
ebbebaa5dc36b9c672feba54e4153c5f2fd3f38d
2,491
cpp
C++
inference-engine/src/mkldnn_plugin/mkldnn/iml_type_mapper.cpp
monroid/openvino
8272b3857ef5be0aaa8abbf7bd0d5d5615dc40b6
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
inference-engine/src/mkldnn_plugin/mkldnn/iml_type_mapper.cpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
inference-engine/src/mkldnn_plugin/mkldnn/iml_type_mapper.cpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "iml_type_mapper.h" using namespace MKLDNNPlugin; impl_desc_type MKLDNNPlugin::parse_impl_name(std::string impl_desc_name) { impl_desc_type res = impl_desc_type::unknown; #define REPLACE_WORD(_wrd, _sub) auto pos = i...
28.306818
98
0.668005
monroid
ebbec5cf685a26b7183ce5989defac7d3d1abe40
12,530
cpp
C++
.build/egal-d-win32/src/OIS/src/win32/Win32JoyStick.old.cpp
Pength-TH/egal-D-engine
f16a8def566f678cb324bd901768d32f4412396f
[ "Apache-2.0" ]
null
null
null
.build/egal-d-win32/src/OIS/src/win32/Win32JoyStick.old.cpp
Pength-TH/egal-D-engine
f16a8def566f678cb324bd901768d32f4412396f
[ "Apache-2.0" ]
null
null
null
.build/egal-d-win32/src/OIS/src/win32/Win32JoyStick.old.cpp
Pength-TH/egal-D-engine
f16a8def566f678cb324bd901768d32f4412396f
[ "Apache-2.0" ]
null
null
null
/* The zlib/libpng License Copyright (c) 2005-2007 Phillip Castaneda (pjcast -- www.wreckedgames.com) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use t...
31.561713
119
0.636153
Pength-TH
ebbfffe2c92b0f530ea14ce2bfe94b099aa7a4a8
5,593
cpp
C++
deps/parallel_quickstep/src/openmp_kernels.cpp
traversaro/gazebo
6fd426b3949c4ca73fa126cde68f5cc4a59522eb
[ "ECL-2.0", "Apache-2.0" ]
887
2020-04-18T08:43:06.000Z
2022-03-31T11:58:50.000Z
deps/parallel_quickstep/src/openmp_kernels.cpp
traversaro/gazebo
6fd426b3949c4ca73fa126cde68f5cc4a59522eb
[ "ECL-2.0", "Apache-2.0" ]
462
2020-04-21T21:59:19.000Z
2022-03-31T23:23:21.000Z
deps/parallel_quickstep/src/openmp_kernels.cpp
traversaro/gazebo
6fd426b3949c4ca73fa126cde68f5cc4a59522eb
[ "ECL-2.0", "Apache-2.0" ]
421
2020-04-21T09:13:03.000Z
2022-03-30T02:22:01.000Z
#include <parallel_common.h> #include <parallel_reduce.h> #include <parallel_math.h> #include "openmp_kernels.h" #include "openmp_utils.h" #include <omp.h> #include <limits> #include "parallel_kernels.h" namespace parallel_ode { template <typename T> void ompZeroVector( T *buffer, int bufferSize ) { //#pragma om...
27.965
110
0.517254
traversaro
ebc0a1f6987bc03b9a3d172b8fb420260facc208
1,861
cpp
C++
orca/gpos/libgpos/src/error/CErrorHandlerStandard.cpp
vitessedata/gpdb.4.3.99.x
9462aad5df1bf120a2a87456b1f9574712227da4
[ "PostgreSQL", "Apache-2.0" ]
3
2017-12-10T16:41:21.000Z
2020-07-08T12:59:12.000Z
orca/gpos/libgpos/src/error/CErrorHandlerStandard.cpp
vitessedata/gpdb.4.3.99.x
9462aad5df1bf120a2a87456b1f9574712227da4
[ "PostgreSQL", "Apache-2.0" ]
null
null
null
orca/gpos/libgpos/src/error/CErrorHandlerStandard.cpp
vitessedata/gpdb.4.3.99.x
9462aad5df1bf120a2a87456b1f9574712227da4
[ "PostgreSQL", "Apache-2.0" ]
4
2017-12-10T16:41:35.000Z
2020-11-28T12:20:30.000Z
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2008 - 2010 Greenplum, Inc. // // @filename: // CErrorHandlerStandardStandard.cpp // // @doc: // Implements standard error handler // // @owner: // // @test: // // //----------------------------------...
22.975309
77
0.564213
vitessedata
ebc1cd3e71913315dead7389213fa9046c1af1c3
13,923
cpp
C++
ogr/ogrsf_frmts/parquet/ogrparquetdriver.cpp
jcphill/gdal
98c9ecf8513325bb69888d368bd9a0d54b79e72b
[ "Apache-2.0" ]
null
null
null
ogr/ogrsf_frmts/parquet/ogrparquetdriver.cpp
jcphill/gdal
98c9ecf8513325bb69888d368bd9a0d54b79e72b
[ "Apache-2.0" ]
null
null
null
ogr/ogrsf_frmts/parquet/ogrparquetdriver.cpp
jcphill/gdal
98c9ecf8513325bb69888d368bd9a0d54b79e72b
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * * Project: Parquet Translator * Purpose: Implements OGRParquetDriver. * Author: Even Rouault, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2022...
40.829912
112
0.576528
jcphill
ebc32935246611f5a27fc970f0df3d5ce07a8686
15,980
cpp
C++
RobotRaconteurCore/src/OpenSSLAuthContext.cpp
robotraconteur/robotraconteur
ff997351761a687be364234684202e3348c4083c
[ "Apache-2.0" ]
37
2019-01-31T06:05:17.000Z
2022-03-21T06:56:18.000Z
RobotRaconteurCore/src/OpenSSLAuthContext.cpp
robotraconteur/robotraconteur
ff997351761a687be364234684202e3348c4083c
[ "Apache-2.0" ]
14
2019-07-18T04:09:45.000Z
2021-08-31T02:04:22.000Z
RobotRaconteurCore/src/OpenSSLAuthContext.cpp
robotraconteur/robotraconteur
ff997351761a687be364234684202e3348c4083c
[ "Apache-2.0" ]
3
2018-11-23T22:03:22.000Z
2021-11-02T10:03:39.000Z
// Copyright 2011-2020 Wason Technology, 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 applicabl...
29.321101
192
0.662328
robotraconteur
ebc3dcb8e6fb433d40ab6575cdb2ad11af5f07f9
21,921
cpp
C++
Cocos2dx-3x/PhotoExample/cocos2d/tests/cpp-tests/Classes/ExtensionsTest/CocoStudioSceneTest/SceneEditorTest.cpp
ezibyte/EziSocial-PhotoExample
12818880696d3f76ffd5b66646bab21fa3619821
[ "Apache-2.0" ]
null
null
null
Cocos2dx-3x/PhotoExample/cocos2d/tests/cpp-tests/Classes/ExtensionsTest/CocoStudioSceneTest/SceneEditorTest.cpp
ezibyte/EziSocial-PhotoExample
12818880696d3f76ffd5b66646bab21fa3619821
[ "Apache-2.0" ]
null
null
null
Cocos2dx-3x/PhotoExample/cocos2d/tests/cpp-tests/Classes/ExtensionsTest/CocoStudioSceneTest/SceneEditorTest.cpp
ezibyte/EziSocial-PhotoExample
12818880696d3f76ffd5b66646bab21fa3619821
[ "Apache-2.0" ]
null
null
null
#include "extensions/cocos-ext.h" #include "../ExtensionsTest.h" #include "SceneEditorTest.h" #include "cocostudio/CocoStudio.h" #include "ui/CocosGUI.h" #include "TriggerCode/EventDef.h" #include "../../testResource.h" using namespace cocos2d; using namespace cocostudio; using namespace ui; Layer *Next(); Layer *Ba...
24.797511
176
0.716482
ezibyte
ebc4a938378d298d83d334badc82e81252ff0f63
2,614
cpp
C++
VSProject/LeetCodeSol/UnitTest/RangeSumQueryTestSuite.cpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
VSProject/LeetCodeSol/UnitTest/RangeSumQueryTestSuite.cpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
VSProject/LeetCodeSol/UnitTest/RangeSumQueryTestSuite.cpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
/******************************************************************************************* * @file RangeSumQueryTestSuite.cpp 2015\12\10 19:10:01 $ * @author Wang Xiaotao<wangxiaotao1980@gmail.com> (中文编码测试) * @note LeetCode No.307 Range Sum Query ***************************************************...
31.493976
94
0.573451
wangxiaotao1980
ebc4c8e1a5f7e0f84bc4da374081d185dbb157ef
1,882
cpp
C++
1030/main.cpp
Heliovic/PAT_Solutions
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
2
2019-03-18T12:55:38.000Z
2019-09-07T10:11:26.000Z
1030/main.cpp
Heliovic/My_PAT_Answer
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
null
null
null
1030/main.cpp
Heliovic/My_PAT_Answer
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
null
null
null
#include <cstdio> #include <climits> #include <algorithm> #include <stack> #define MAX_N 512 using namespace std; int dis[MAX_N], cost[MAX_N], path[MAX_N], visit[MAX_N]; int N, M, S, D; int graph[MAX_N][MAX_N][2]; void dijkstra(int v) { cost[v] = 0; dis[v] = 0; for (int i = 0; i < N - 1; i++) { ...
21.883721
134
0.392136
Heliovic
ebc8dffe1300b6d1e50339cc3dc6b6b8d369dc27
1,791
cpp
C++
marlin-firmware/Marlin/src/HAL/SAMD51/watchdog.cpp
voicevon/gogame_bot
a1d91f4a1b2537d00b5cd5ed78d429a9c1aad3d1
[ "MIT" ]
6
2020-12-04T21:55:04.000Z
2022-02-02T20:49:45.000Z
marlin-firmware/Marlin/src/HAL/SAMD51/watchdog.cpp
voicevon/gogame_bot
a1d91f4a1b2537d00b5cd5ed78d429a9c1aad3d1
[ "MIT" ]
24
2020-12-25T05:00:51.000Z
2021-04-20T00:56:50.000Z
marlin-firmware/Marlin/src/HAL/SAMD51/watchdog.cpp
voicevon/gogame_bot
a1d91f4a1b2537d00b5cd5ed78d429a9c1aad3d1
[ "MIT" ]
3
2021-05-01T15:13:41.000Z
2022-02-11T01:15:30.000Z
/** * Marlin 3D Printer Firmware * * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by...
33.792453
88
0.701284
voicevon
1b0eb356a537279bd2bb8cc73891c4d3afa32b77
2,536
cpp
C++
apps/POLite/pagerank-sync/Run.cpp
POETSII/jordmorr-tinsel
39249538d532e4945d9916748346c261dc5ea75d
[ "BSD-2-Clause" ]
31
2019-09-18T10:55:47.000Z
2021-12-01T20:39:46.000Z
apps/POLite/pagerank-sync/Run.cpp
POETSII/jordmorr-tinsel
39249538d532e4945d9916748346c261dc5ea75d
[ "BSD-2-Clause" ]
26
2019-10-13T13:33:04.000Z
2021-11-10T11:09:48.000Z
apps/POLite/pagerank-sync/Run.cpp
POETSII/jordmorr-tinsel
39249538d532e4945d9916748346c261dc5ea75d
[ "BSD-2-Clause" ]
1
2020-09-11T17:32:43.000Z
2020-09-11T17:32:43.000Z
// SPDX-License-Identifier: BSD-2-Clause #include "PageRank.h" #include <HostLink.h> #include <POLite.h> #include <EdgeList.h> #include <assert.h> #include <iostream> #include <sys/time.h> int main(int argc, char **argv) { // Read in the example edge list and create data structure if (argc != 2) { printf("Spe...
25.108911
77
0.639984
POETSII
1b0f2216e5cf89c3660973628334ae2d070cdd33
700
cpp
C++
src/coreclr/pal/src/safecrt/wcscpy_s.cpp
pyracanda/runtime
72bee25ab532a4d0636118ec2ed3eabf3fd55245
[ "MIT" ]
9,402
2019-11-25T23:26:24.000Z
2022-03-31T23:19:41.000Z
src/coreclr/pal/src/safecrt/wcscpy_s.cpp
pyracanda/runtime
72bee25ab532a4d0636118ec2ed3eabf3fd55245
[ "MIT" ]
37,522
2019-11-25T23:30:32.000Z
2022-03-31T23:58:30.000Z
src/coreclr/pal/src/safecrt/wcscpy_s.cpp
pyracanda/runtime
72bee25ab532a4d0636118ec2ed3eabf3fd55245
[ "MIT" ]
3,629
2019-11-25T23:29:16.000Z
2022-03-31T21:52:28.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /*** *strcpy_s.c - contains wcscpy_s() * * *Purpose: * wcscpy_s() copies one string onto another. * *******************************************************************************...
21.212121
80
0.674286
pyracanda
1b15312d1f8265618dea73e82e5ec067dd72be2d
11,123
cpp
C++
stm32_node/src/node.cpp
mindThomas/JetsonCar-ROSNodes
6a8d06b919fcdc9fb8314c659d3038f3bdf1900f
[ "MIT" ]
8
2018-02-06T03:40:30.000Z
2021-12-27T02:18:41.000Z
stm32_node/src/node.cpp
mindThomas/JetsonCar-ROSNodes
6a8d06b919fcdc9fb8314c659d3038f3bdf1900f
[ "MIT" ]
null
null
null
stm32_node/src/node.cpp
mindThomas/JetsonCar-ROSNodes
6a8d06b919fcdc9fb8314c659d3038f3bdf1900f
[ "MIT" ]
4
2018-01-26T06:07:04.000Z
2021-02-09T23:40:39.000Z
#include <ros/ros.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <errno.h> #include <termios.h> #include <unistd.h> #include <sys/ioctl.h> #include "node.h" #include "crc.h" #include "std_msgs/Int32.h" #include "std_msgs/UInt16.h" termios old_tios; /* Sets up a serial por...
26.483333
223
0.589769
mindThomas
1b17cd25e789caad4f5ab9957aed15e8217bbb8f
182
hpp
C++
src/game/physics.hpp
carstene1ns/pekka-kana-2
89e9eccf267ad40773af3717b8d93b3acf783a97
[ "MIT" ]
55
2017-05-28T11:40:57.000Z
2022-02-22T17:15:46.000Z
src/game/physics.hpp
carstene1ns/pekka-kana-2
89e9eccf267ad40773af3717b8d93b3acf783a97
[ "MIT" ]
11
2017-09-25T22:46:42.000Z
2022-01-21T12:43:27.000Z
src/game/physics.hpp
carstene1ns/pekka-kana-2
89e9eccf267ad40773af3717b8d93b3acf783a97
[ "MIT" ]
21
2017-06-14T02:22:27.000Z
2022-03-23T08:44:13.000Z
//######################### //Pekka Kana 2 //Copyright (c) 2003 Janne Kivilahti //######################### #pragma once int Sprite_Movement(int i); int BonusSprite_Movement(int i);
22.75
36
0.532967
carstene1ns
1b1825436230e1869a2fa2067ddf33b3c4404784
2,052
cpp
C++
timemachine/cpp/src/rmsd_align.cpp
proteneer/timemachine
feee9f24adcb533ab9e1c15a3f4fa4dcc9d9a701
[ "Apache-2.0" ]
91
2019-01-05T17:03:04.000Z
2022-03-11T09:08:46.000Z
timemachine/cpp/src/rmsd_align.cpp
proteneer/timemachine
feee9f24adcb533ab9e1c15a3f4fa4dcc9d9a701
[ "Apache-2.0" ]
474
2019-01-07T14:33:15.000Z
2022-03-31T19:15:12.000Z
timemachine/cpp/src/rmsd_align.cpp
proteneer/timemachine
feee9f24adcb533ab9e1c15a3f4fa4dcc9d9a701
[ "Apache-2.0" ]
12
2019-01-13T00:40:36.000Z
2022-01-14T10:23:54.000Z
#include "rmsd_align.hpp" #include <Eigen/Dense> #include <iostream> // delete me namespace timemachine { /* Optimally align x2 onto x1. In particular, x2 is shifted so that its centroid is placed at the same position as the of x1's centroid. x2 is also rotated so that the RMSD is minimized. */ void rmsd_align_cpu(c...
31.090909
104
0.604776
proteneer
1b1a4d647ce0f462e90ebd527a88bb5a176aaa60
6,836
cpp
C++
llvm/unittests/MC/DwarfLineTables.cpp
NoamDev/TON-Compiler
f76aa2084c7f09a228afef4a6e073c37b350c8f3
[ "Apache-2.0" ]
171
2018-09-17T13:15:12.000Z
2022-03-18T03:47:04.000Z
llvm/unittests/MC/DwarfLineTables.cpp
NoamDev/TON-Compiler
f76aa2084c7f09a228afef4a6e073c37b350c8f3
[ "Apache-2.0" ]
51
2019-10-23T11:55:08.000Z
2021-12-21T06:32:11.000Z
llvm/unittests/MC/DwarfLineTables.cpp
NoamDev/TON-Compiler
f76aa2084c7f09a228afef4a6e073c37b350c8f3
[ "Apache-2.0" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
//===- llvm/unittest/MC/DwarfLineTables.cpp ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------------------------...
37.152174
80
0.654769
NoamDev
1b1b290a0367122147d33c6f126ecf99d658439b
356
cc
C++
src/types.cc
ClementChouteau/CTranslate2
9379e2f3f8b83c0ff10ccccdfc6e7556a56716c1
[ "MIT" ]
null
null
null
src/types.cc
ClementChouteau/CTranslate2
9379e2f3f8b83c0ff10ccccdfc6e7556a56716c1
[ "MIT" ]
null
null
null
src/types.cc
ClementChouteau/CTranslate2
9379e2f3f8b83c0ff10ccccdfc6e7556a56716c1
[ "MIT" ]
null
null
null
#include "ctranslate2/types.h" #include <map> namespace ctranslate2 { static const std::map<DataType, std::string> dtype_names = { {DataType::FLOAT, "float"}, {DataType::INT8, "int8"}, {DataType::INT16, "int16"}, {DataType::INT32, "int32"} }; const std::string& dtype_name(DataType type) { ...
18.736842
62
0.640449
ClementChouteau
1b1bf794c85195093606d2ea98fae3a97727015a
543
cpp
C++
reflection.cpp
vsoftco/snippets
467520e285f9c83024416f050a5357bf659f4860
[ "MIT" ]
13
2015-04-21T09:09:59.000Z
2021-11-27T11:00:40.000Z
reflection.cpp
vsoftco/snippets
467520e285f9c83024416f050a5357bf659f4860
[ "MIT" ]
null
null
null
reflection.cpp
vsoftco/snippets
467520e285f9c83024416f050a5357bf659f4860
[ "MIT" ]
3
2019-08-09T09:29:59.000Z
2021-01-09T08:52:11.000Z
// Basic compile-time reflection in C++11 #include <cstddef> #include <iostream> #include <typeinfo> template <typename T> struct Inspect; template <typename R, typename... Args> struct Inspect<R(Args... args)> { using ReturnT = R; // return type const static std::size_t Param...
24.681818
78
0.622468
vsoftco
1b1c39aa93694500238e15cec1f80a04d93635d1
10,679
cpp
C++
code/engine/xrGame/alife_monster_detail_path_manager.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
58
2016-11-20T19:14:35.000Z
2021-12-27T21:03:35.000Z
code/engine/xrGame/alife_monster_detail_path_manager.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
59
2016-09-10T10:44:20.000Z
2018-09-03T19:07:30.000Z
code/engine/xrGame/alife_monster_detail_path_manager.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
39
2017-02-05T13:35:37.000Z
2022-03-14T11:00:12.000Z
//////////////////////////////////////////////////////////////////////////// // Module : alife_monster_detail_path_manager.cpp // Created : 01.11.2005 // Modified : 22.11.2005 // Author : Dmitriy Iassenev // Description : ALife monster detail path manager class ////////////////////////////////////////////////////...
38.832727
115
0.631707
InNoHurryToCode
1b1d9d3e1435a86409d80c32db6c6bb9f0635be8
16,717
cpp
C++
test/channel/main_channel_tcpserver1.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
39
2015-12-09T09:28:46.000Z
2021-11-16T12:57:25.000Z
test/channel/main_channel_tcpserver1.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
1
2020-10-17T02:23:42.000Z
2020-10-17T02:23:42.000Z
test/channel/main_channel_tcpserver1.cpp
oudream/ccxx
7746ef93b48bf44157048a43c4878152fe6a4d2b
[ "MIT" ]
8
2018-05-29T12:48:13.000Z
2022-02-27T01:45:57.000Z
// // Created by oudream on 2017/3/17. // #include <ccxx/ccxx.h> using namespace std; typedef unsigned char BYTE; //typedef int (*SocketSend_t)(const BYTE * pBuf, const int& nBufLen); #define PACKAGE_OK 0 #define PACKAGE_ERROR 300 #define PACKAGE_REQ_START 0xE9 #define P...
25.214178
108
0.54292
oudream
1b1dd60a6507eeca49787515efa8f712f6f40e6a
2,360
cpp
C++
CodeForces/Solutions/1236E.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
5
2020-10-03T17:15:26.000Z
2022-03-29T21:39:22.000Z
CodeForces/Solutions/1236E.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
null
null
null
CodeForces/Solutions/1236E.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
1
2021-03-01T12:56:50.000Z
2021-03-01T12:56:50.000Z
// #pragma GCC optimize("Ofast,unroll-loops") // #pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define dd double #define ld long double #define sl(n) scanf("%lld", &n) #define si(n) scanf("%d", &n) #define sd(n) scanf("%lf", &n) #d...
25.376344
83
0.551271
Shefin-CSE16
1b1de2d4614a40c2fef4b9cf34877ee86b1ce964
7,010
cpp
C++
Stardust/src/input/Input.cpp
LucidSigma/stardust
7012b46b0e75fa272e0bd39f3a1cc483c29fc10c
[ "MIT" ]
7
2020-10-08T11:40:53.000Z
2022-03-30T10:40:06.000Z
Stardust/src/input/Input.cpp
LucidSigma/stardust
7012b46b0e75fa272e0bd39f3a1cc483c29fc10c
[ "MIT" ]
1
2020-10-08T11:44:27.000Z
2020-12-01T08:43:19.000Z
Stardust/src/input/Input.cpp
LucidSigma/stardust
7012b46b0e75fa272e0bd39f3a1cc483c29fc10c
[ "MIT" ]
null
null
null
#include "stardust/input/Input.h" #include <algorithm> #include <utility> #include "stardust/debug/logging/Log.h" #include "stardust/debug/message_box/MessageBox.h" #include "stardust/math/Math.h" #include "stardust/filesystem/vfs/VFS.h" namespace stardust { [[nodiscard]] Status Input::InitialiseGameControllerDa...
28.847737
152
0.646505
LucidSigma
1b1e0434b4c5e5e4973e25bce93cddfc2c7d5a6b
4,687
cc
C++
2d/src/c_loops_2d.cc
softwarecapital/chr1shr.voro
122531fbe162ea9a94b7e96ee9d57d3957c337ca
[ "BSD-3-Clause-LBNL" ]
43
2019-09-29T01:14:25.000Z
2022-03-02T23:48:25.000Z
2d/src/c_loops_2d.cc
softwarecapital/chr1shr.voro
122531fbe162ea9a94b7e96ee9d57d3957c337ca
[ "BSD-3-Clause-LBNL" ]
15
2019-10-19T23:39:39.000Z
2021-12-30T22:03:51.000Z
2d/src/c_loops_2d.cc
softwarecapital/chr1shr.voro
122531fbe162ea9a94b7e96ee9d57d3957c337ca
[ "BSD-3-Clause-LBNL" ]
23
2019-10-19T23:40:57.000Z
2022-03-29T16:53:17.000Z
// Voro++, a 3D cell-based Voronoi library // // Author : Chris H. Rycroft (LBL / UC Berkeley) // Email : chr@alum.mit.edu // Date : August 30th 2011 /** \file c_loops_2d.cc * \brief Function implementations for the 2D loop classes. */ #include "c_loops_2d.hh" namespace voro { /** Initializes a c_loop_sub...
35.507576
100
0.655217
softwarecapital
1b22ca72a2c4d804cf40e8fbe4e406444e183686
1,521
cpp
C++
CPlusPlus/Algorithms/DFS.cpp
AndrewMcShane/DevMakingSource
fe58fa093e0ce2d2748cb3826d27be6b0ac34149
[ "MIT" ]
3
2021-03-22T14:13:56.000Z
2022-03-01T03:06:22.000Z
CPlusPlus/Algorithms/DFS.cpp
AndrewMcShane/DevMakingSource
fe58fa093e0ce2d2748cb3826d27be6b0ac34149
[ "MIT" ]
null
null
null
CPlusPlus/Algorithms/DFS.cpp
AndrewMcShane/DevMakingSource
fe58fa093e0ce2d2748cb3826d27be6b0ac34149
[ "MIT" ]
null
null
null
#include <list> // Example class of a graph implementation: class Graph { public: Graph(int Size) :Size(Size) { adj = new std::list<int>[Size]; } ~Graph() { delete[] adj; } std::list<int>* adj; int Size; }; void dfs(Grap...
21.728571
64
0.495726
AndrewMcShane
1b22fa0d4a6ba986f671971aaafdb05ed97b034d
357
cpp
C++
answers/leetcode/Valid Anagram/Valid Anagram.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
3
2015-09-04T21:32:31.000Z
2020-12-06T00:37:32.000Z
answers/leetcode/Valid Anagram/Valid Anagram.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
answers/leetcode/Valid Anagram/Valid Anagram.cpp
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
//@type Hash Table Sort //@result 32 / 32 test cases passed. Status: Accepted Runtime: 100 ms Submitted: 0 minutes ago You are here! Your runtime beats 8.22% of cpp submissions. //@algorithm sort class Solution { public: bool isAnagram(string s, string t) { sort(s.begin(), s.end()); sort(t.begin(),...
27.461538
153
0.638655
FeiZhan
1b2523928b7900f0ebd8ee852e33f3ebea9a6eb4
641
cpp
C++
Castenstein/Sky.cpp
bytecode77/castenstein
e2ebfe7f6dfec68bb09b751bf95a04d9ea2ca4a7
[ "BSD-2-Clause" ]
16
2018-07-31T19:53:37.000Z
2022-01-23T15:44:58.000Z
Castenstein/Sky.cpp
bytecode77/castenstein
e2ebfe7f6dfec68bb09b751bf95a04d9ea2ca4a7
[ "BSD-2-Clause" ]
null
null
null
Castenstein/Sky.cpp
bytecode77/castenstein
e2ebfe7f6dfec68bb09b751bf95a04d9ea2ca4a7
[ "BSD-2-Clause" ]
4
2020-01-24T18:35:04.000Z
2021-09-05T16:18:02.000Z
#include "Castenstein.h" Sky::Sky() { } Sky::Sky(string path) { SDL_Surface *surface = Engine::LoadSDLSurface(path); if ((surface->w & (surface->w - 1)) || (surface->h & (surface->h - 1))) throw; Width = surface->w; Height = surface->h; WidthExponent = int(log2(Width)); Buffer = new int[Width * Heigh...
20.677419
80
0.603744
bytecode77
1b258dddc033ccc90851fdf2a03fe8bee54ee952
3,324
hpp
C++
Engine/Networking/NetworkSystem.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
Engine/Networking/NetworkSystem.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
Engine/Networking/NetworkSystem.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
//============================================================================================================== //NetworkSystem.hpp //by Albert Chen Jan-14-2016. //============================================================================================================== #pragma once #ifndef _included_NetworkSyst...
27.02439
112
0.452768
achen889
1b27a771ce978644a8cf231d595181418cce6e1e
3,036
hpp
C++
sprout/math/exp.hpp
kevcadieux/Sprout
6b5addba9face0a6403e66e7db2aa94d87387f61
[ "BSL-1.0" ]
691
2015-01-15T18:52:23.000Z
2022-03-15T23:39:39.000Z
sprout/math/exp.hpp
kevcadieux/Sprout
6b5addba9face0a6403e66e7db2aa94d87387f61
[ "BSL-1.0" ]
22
2015-03-11T01:22:56.000Z
2021-03-29T01:51:45.000Z
sprout/math/exp.hpp
kevcadieux/Sprout
6b5addba9face0a6403e66e7db2aa94d87387f61
[ "BSL-1.0" ]
57
2015-03-11T07:52:29.000Z
2021-12-16T09:15:33.000Z
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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.tx...
33.362637
140
0.637022
kevcadieux
1b28a239c889c3ee0ad32481e5ee61c766ec193d
6,674
cpp
C++
GEO/ProjectData.cpp
ThieJan/ogs5
a05837cac4de890db18845b5bc0cb002d1ca5829
[ "BSD-4-Clause" ]
null
null
null
GEO/ProjectData.cpp
ThieJan/ogs5
a05837cac4de890db18845b5bc0cb002d1ca5829
[ "BSD-4-Clause" ]
null
null
null
GEO/ProjectData.cpp
ThieJan/ogs5
a05837cac4de890db18845b5bc0cb002d1ca5829
[ "BSD-4-Clause" ]
null
null
null
/** * \file ProjectData.cpp * 25/08/2010 KR Initial implementation * \copyright * Copyright (c) 2018, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/licens...
30.75576
114
0.633503
ThieJan
1b2b351ddd0e756bd1fe644d906cfbcda41fa396
14,177
cpp
C++
AIFS_ROS/hiperlab_rostools/src/QuadMocapRatesControl/ExampleVehicleStateMachine.cpp
muellerlab/agri-fly
6851f2f207e73300b4ed9be7ec1c72c2f23eeef5
[ "BSD-2-Clause" ]
1
2022-03-09T21:31:49.000Z
2022-03-09T21:31:49.000Z
AIFS_ROS/hiperlab_rostools/src/QuadMocapRatesControl/ExampleVehicleStateMachine.cpp
muellerlab/agri-fly
6851f2f207e73300b4ed9be7ec1c72c2f23eeef5
[ "BSD-2-Clause" ]
4
2022-02-11T18:24:49.000Z
2022-03-28T01:16:51.000Z
AIFS_ROS/hiperlab_rostools/src/QuadMocapRatesControl/ExampleVehicleStateMachine.cpp
muellerlab/agri-fly
6851f2f207e73300b4ed9be7ec1c72c2f23eeef5
[ "BSD-2-Clause" ]
null
null
null
#include "ExampleVehicleStateMachine.hpp" using namespace std; using namespace Offboard; ExampleVehicleStateMachine::ExampleVehicleStateMachine() { _name = "INVALID"; _id = 0; _flightStage = StageWaitForStart; _lastFlightStage = StageComplete; _systemLatencyTime = 0; _vehicleIsReadyForProgramToExit = fa...
32.741339
96
0.579178
muellerlab
1b2bb45071d6890b39189d0301ce6deb8fdf96c1
287
cpp
C++
naive_simulation_works/systemc_for_dummies/half_adder/MyTestBenchMonitor.cpp
VSPhaneendraPaluri/pvsdrudgeworks
5827f45567eecbcf0bb606de6adb1fb94fe2d8c6
[ "MIT" ]
null
null
null
naive_simulation_works/systemc_for_dummies/half_adder/MyTestBenchMonitor.cpp
VSPhaneendraPaluri/pvsdrudgeworks
5827f45567eecbcf0bb606de6adb1fb94fe2d8c6
[ "MIT" ]
null
null
null
naive_simulation_works/systemc_for_dummies/half_adder/MyTestBenchMonitor.cpp
VSPhaneendraPaluri/pvsdrudgeworks
5827f45567eecbcf0bb606de6adb1fb94fe2d8c6
[ "MIT" ]
null
null
null
#include <systemc.h> #include "MyTestBenchMonitor.h" void MyTestBenchMonitor::Display_Patterns() { cout << "At time : " << sc_time_stamp(); cout << "\ta = " << TBMonitor_a << "\tb = " << TBMonitor_b; cout << "\tCarry = " << TBMonitor_carry << "\tSum = " << TBMonitor_sum << endl; }
26.090909
80
0.620209
VSPhaneendraPaluri
1b2ec6d330971fcc560985d7bbd22e36761359c8
15,773
cpp
C++
usb-device.cpp
KeyboxWallet/keyboxd
67c9103aaf48d5e83c922311acf5a4deab8c0755
[ "MIT" ]
2
2018-11-26T10:40:46.000Z
2019-05-30T05:30:01.000Z
usb-device.cpp
KeyboxWallet/keyboxd
67c9103aaf48d5e83c922311acf5a4deab8c0755
[ "MIT" ]
null
null
null
usb-device.cpp
KeyboxWallet/keyboxd
67c9103aaf48d5e83c922311acf5a4deab8c0755
[ "MIT" ]
1
2018-10-16T10:17:23.000Z
2018-10-16T10:17:23.000Z
#include "usb-device.hpp" #include "keybox-proto-types.h" #include "keybox-errcodes.h" #include "messages.pb.h" #include "base64.h" #include "buffer-utils.hpp" #include <sstream> #include "device-manager.hpp" #include <streambuf> struct membuf : std::streambuf { membuf(char *begin, char *end) { this->...
28.471119
126
0.548596
KeyboxWallet
1b31cf9943cabd2531c511aa9f4ef6511b697215
3,205
cc
C++
be/src/runtime/thread-resource-mgr.cc
AtScaleInc/Impala
1073a9108220faffe61c3bc9dff7a953adde12df
[ "Apache-2.0" ]
51
2015-01-02T04:10:26.000Z
2020-11-21T16:33:19.000Z
be/src/runtime/thread-resource-mgr.cc
AtScaleInc/Impala
1073a9108220faffe61c3bc9dff7a953adde12df
[ "Apache-2.0" ]
58
2015-01-29T15:52:19.000Z
2016-04-19T08:19:02.000Z
be/src/runtime/thread-resource-mgr.cc
AtScaleInc/Impala
1073a9108220faffe61c3bc9dff7a953adde12df
[ "Apache-2.0" ]
8
2015-03-16T11:03:41.000Z
2019-07-11T06:39:31.000Z
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
29.40367
82
0.725741
AtScaleInc
1b33649b2e05a2d7b0599b8b4840175e4dacde27
6,678
cpp
C++
Sources/Elastos/Packages/Service/Telecomm/src/elastos/droid/server/telecom/TelecomBroadcastReceiver.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Packages/Service/Telecomm/src/elastos/droid/server/telecom/TelecomBroadcastReceiver.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Packages/Service/Telecomm/src/elastos/droid/server/telecom/TelecomBroadcastReceiver.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
46.699301
139
0.707397
jingcao80
1b395593b2764ebfed69f0214e767ed26b8d2cf2
1,285
cpp
C++
src/Modeling/BaseMesh.cpp
fcaillaud/SARAH
ca79c7d9449cf07eec9d5cc13293ec0c128defc1
[ "MIT" ]
null
null
null
src/Modeling/BaseMesh.cpp
fcaillaud/SARAH
ca79c7d9449cf07eec9d5cc13293ec0c128defc1
[ "MIT" ]
null
null
null
src/Modeling/BaseMesh.cpp
fcaillaud/SARAH
ca79c7d9449cf07eec9d5cc13293ec0c128defc1
[ "MIT" ]
null
null
null
#include "BaseMesh.hpp" namespace Sarah { namespace Modeling { BaseMesh::BaseMesh(std::string p_meshName): m_name(p_meshName), m_vertices(), m_faces(), m_colors(), m_glMesh() { m_vertices.push_back(geo::Vertex(-50, -50, -50)); m_colors.push_back(geo::Vertex(1, 0, 0)); m_vertices.push_back(geo::Ve...
21.416667
69
0.642023
fcaillaud
1b3a3aaac169ca26270b0bc4d77b271c8c1e5308
14,080
cxx
C++
main/framework/source/dispatch/helpagentdispatcher.cxx
jimjag/openoffice
74746a22d8cc22b031b00fcd106f4496bf936c77
[ "Apache-2.0" ]
1
2019-12-27T19:25:34.000Z
2019-12-27T19:25:34.000Z
main/framework/source/dispatch/helpagentdispatcher.cxx
ackza/openoffice
d49dfe9c625750e261c7ed8d6ccac8d361bf3418
[ "Apache-2.0" ]
1
2019-11-25T03:08:58.000Z
2019-11-25T03:08:58.000Z
main/framework/source/dispatch/helpagentdispatcher.cxx
ackza/openoffice
d49dfe9c625750e261c7ed8d6ccac8d361bf3418
[ "Apache-2.0" ]
6
2019-11-19T00:28:25.000Z
2019-11-22T06:48:49.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
31.927438
145
0.616477
jimjag
1b3a7b7f0a3360ae911322c0931bdb875ab7dedf
5,540
cpp
C++
http/TunisHTTPFontRequestHandler.cpp
mchiasson/TunisFontPackagerService
91723b44c1266da0b92bf0c945b9bb690e2e8bf1
[ "MIT" ]
null
null
null
http/TunisHTTPFontRequestHandler.cpp
mchiasson/TunisFontPackagerService
91723b44c1266da0b92bf0c945b9bb690e2e8bf1
[ "MIT" ]
null
null
null
http/TunisHTTPFontRequestHandler.cpp
mchiasson/TunisFontPackagerService
91723b44c1266da0b92bf0c945b9bb690e2e8bf1
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2017-2018 Mathieu-Andre Chiasson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to...
42.290076
237
0.640794
mchiasson
1b3b67e9dc8ef2a1bbd0bc4953a39acc6c7be881
1,637
cpp
C++
seed/DSP/decimator/decimator.cpp
KrisTiasMusic/DaisyExamples
340cca01798ada16287c2328d5a46259f40141bf
[ "MIT" ]
1
2022-03-18T01:24:33.000Z
2022-03-18T01:24:33.000Z
seed/DSP/decimator/decimator.cpp
KrisTiasMusic/DaisyExamples
340cca01798ada16287c2328d5a46259f40141bf
[ "MIT" ]
null
null
null
seed/DSP/decimator/decimator.cpp
KrisTiasMusic/DaisyExamples
340cca01798ada16287c2328d5a46259f40141bf
[ "MIT" ]
null
null
null
#include "daisysp.h" #include "daisy_seed.h" // Shortening long macro for sample rate #ifndef sample_rate #endif // Interleaved audio definitions #define LEFT (i) #define RIGHT (i + 1) using namespace daisysp; using namespace daisy; static DaisySeed seed; static Oscillator osc; static Decimator decim; static Pha...
23.724638
69
0.638363
KrisTiasMusic