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
3c00ea4af063368d366e43bfb10b205d09d4aa39
322
hpp
C++
engine/core/math/interpolation/LerpXYZf/LerpXYZf.hpp
PiroDev/graphics-engine
bf1e5f57878c02421e2e8a787d94ce6074637402
[ "Apache-2.0" ]
null
null
null
engine/core/math/interpolation/LerpXYZf/LerpXYZf.hpp
PiroDev/graphics-engine
bf1e5f57878c02421e2e8a787d94ce6074637402
[ "Apache-2.0" ]
null
null
null
engine/core/math/interpolation/LerpXYZf/LerpXYZf.hpp
PiroDev/graphics-engine
bf1e5f57878c02421e2e8a787d94ce6074637402
[ "Apache-2.0" ]
null
null
null
#pragma once #include "core/math/interpolation/Lerp/Lerp.hpp" struct LerpXYZf { template <typename T> T operator()(T a, T b, float t) { Lerp lerp; float x = lerp(a.X(), b.X(), t); float y = lerp(a.Y(), b.Y(), t); float z = lerp(a.Z(), b.Z(), t); return {x,y,z}; } }...
20.125
48
0.5
PiroDev
3c02a882093d7ce5efc1f9f88864a71c28d87af1
14,382
cpp
C++
APEX_1.4/shared/general/PxUserProfilerCallback/src/PsUserProfilerPVD.cpp
DoubleTT-Changan/0715
acbd071531ca4f3e2a82525b92f60824178c39fa
[ "Unlicense" ]
null
null
null
APEX_1.4/shared/general/PxUserProfilerCallback/src/PsUserProfilerPVD.cpp
DoubleTT-Changan/0715
acbd071531ca4f3e2a82525b92f60824178c39fa
[ "Unlicense" ]
null
null
null
APEX_1.4/shared/general/PxUserProfilerCallback/src/PsUserProfilerPVD.cpp
DoubleTT-Changan/0715
acbd071531ca4f3e2a82525b92f60824178c39fa
[ "Unlicense" ]
null
null
null
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in bin...
25.913514
190
0.697052
DoubleTT-Changan
3c040770e78affea2ff73870cff5f6f02a5cf003
4,909
hpp
C++
src/physics/thermal_conduction.hpp
joshessman-llnl/serac
1365a8f9ca372f0c50008b4b8f5f718955e4b80c
[ "BSD-3-Clause" ]
null
null
null
src/physics/thermal_conduction.hpp
joshessman-llnl/serac
1365a8f9ca372f0c50008b4b8f5f718955e4b80c
[ "BSD-3-Clause" ]
null
null
null
src/physics/thermal_conduction.hpp
joshessman-llnl/serac
1365a8f9ca372f0c50008b4b8f5f718955e4b80c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019-2020, Lawrence Livermore National Security, LLC and // other Serac Project Developers. See the top-level LICENSE file for // details. // // SPDX-License-Identifier: (BSD-3-Clause) /** * @file thermal_solver.hpp * * @brief An object containing the solver for a thermal conduction PDE */ #ifnde...
25.435233
118
0.693013
joshessman-llnl
3c05ee821a724213154ecb7978d814b923c73db2
5,423
cpp
C++
REDSI_1160929_1161573/boost_1_67_0/libs/spirit/test/qi/real5.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/boost/libs/spirit/test/qi/real5.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/boost/libs/spirit/test/qi/real5.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2001-2011 Hartmut Kaiser Copyright (c) 2011 Bryce Lelbach Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See ac...
39.297101
80
0.44551
Wultyc
3c072513e9cc8f1ca894d5db59629249bf10f939
3,411
hh
C++
src/ros_tf_listener.hh
MaximilienNaveau/dynamic_graph_bridge
6dafe58f9e72263fd361efa824c26ac49b96276d
[ "BSD-2-Clause" ]
null
null
null
src/ros_tf_listener.hh
MaximilienNaveau/dynamic_graph_bridge
6dafe58f9e72263fd361efa824c26ac49b96276d
[ "BSD-2-Clause" ]
null
null
null
src/ros_tf_listener.hh
MaximilienNaveau/dynamic_graph_bridge
6dafe58f9e72263fd361efa824c26ac49b96276d
[ "BSD-2-Clause" ]
1
2021-11-29T16:46:35.000Z
2021-11-29T16:46:35.000Z
#ifndef DYNAMIC_GRAPH_ROS_TF_LISTENER_HH # define DYNAMIC_GRAPH_ROS_TF_LISTENER_HH # include <boost/bind.hpp> # include <tf/transform_listener.h> # include <dynamic-graph/entity.h> # include <dynamic-graph/signal.h> # include <dynamic-graph/command-bind.h> # include <sot/core/matrix-geometry.hh> namespace dynamicg...
31.293578
98
0.609792
MaximilienNaveau
3c077c72ae28c607e34fab4c2021cee4a682f1d7
10,797
cpp
C++
testing/test_preparacion.cpp
miglesias91/scraping
4ac5a81ff5172afce3915db7a49dd4cc7845ac2a
[ "Apache-2.0" ]
null
null
null
testing/test_preparacion.cpp
miglesias91/scraping
4ac5a81ff5172afce3915db7a49dd4cc7845ac2a
[ "Apache-2.0" ]
18
2018-02-12T01:11:17.000Z
2018-05-10T17:15:02.000Z
testing/test_preparacion.cpp
miglesias91/scraping
4ac5a81ff5172afce3915db7a49dd4cc7845ac2a
[ "Apache-2.0" ]
null
null
null
// catch2 #include <catch.hpp> // scraping #include <scraping/include/IAdministradorScraping.h> // analisis #include <analisis/include/FuerzaEnNoticia.h> #include <analisis/include/Sentimiento.h> #include <analisis/include/ResultadoFuerzaEnNoticia.h> #include <analisis/include/ResultadoSentimiento.h> // ...
61.346591
198
0.770029
miglesias91
3c0980f7da1a152303ec234ac70fba4b60892112
1,035
cpp
C++
Applied/CCore/src/ToMemBase.cpp
SergeyStrukov/CCore-2-xx
118aa4011ee7cc587298d6373b6587540e044a83
[ "BSL-1.0" ]
null
null
null
Applied/CCore/src/ToMemBase.cpp
SergeyStrukov/CCore-2-xx
118aa4011ee7cc587298d6373b6587540e044a83
[ "BSL-1.0" ]
null
null
null
Applied/CCore/src/ToMemBase.cpp
SergeyStrukov/CCore-2-xx
118aa4011ee7cc587298d6373b6587540e044a83
[ "BSL-1.0" ]
null
null
null
/* ToMemBase.cpp */ //---------------------------------------------------------------------------------------- // // Project: CCore 2.00 // // Tag: Applied Mini // // License: Boost Software License - Version 1.0 - August 17th, 2003 // // see http://www.boost.org/LICENSE_1_0.txt or the local copy // // C...
17.25
90
0.516908
SergeyStrukov
3c121eb334096ff2c91a202bd462c2666a5b976f
758
hpp
C++
code/modules/data/AddListItemModule.hpp
TU-Berlin-CVRS/uipf
57f4afcfdece904e82624453a938aafdfde8df41
[ "BSD-2-Clause" ]
8
2015-07-07T16:38:38.000Z
2020-11-26T13:52:18.000Z
code/modules/data/AddListItemModule.hpp
TU-Berlin-CVRS/uipf
57f4afcfdece904e82624453a938aafdfde8df41
[ "BSD-2-Clause" ]
129
2015-07-14T19:06:30.000Z
2019-05-29T20:40:00.000Z
code/modules/data/AddListItemModule.hpp
TU-Berlin-CVRS/uipf
57f4afcfdece904e82624453a938aafdfde8df41
[ "BSD-2-Clause" ]
6
2015-08-20T19:00:07.000Z
2020-11-26T13:52:19.000Z
#ifndef _ADDLISTITEMMODULE_ #define _ADDLISTITEMMODULE_ #include "../../framework/ModuleInterface.hpp" #include "../../framework/ModuleBase.hpp" namespace uipf{ // Create an empty list class AddListItemModule : public QObject, ModuleBase { Q_OBJECT Q_PLUGIN_METADATA(IID "org.tu-berlin.uipf.ModuleInterface" ) Q_INTE...
23.6875
79
0.766491
TU-Berlin-CVRS
3c1398ed48d4bdd319bbdb28b953104965bcf0ca
6,390
cpp
C++
update-client-hub/modules/lwm2m-mbed/source/lwm2m-monitor.cpp
marcuschangarm/mbed-cloud-client
d7edc529ed3722c811ff401440ef58ea980bf543
[ "Apache-2.0" ]
27
2018-04-04T12:06:23.000Z
2020-10-16T08:58:38.000Z
update-client-hub/modules/lwm2m-mbed/source/lwm2m-monitor.cpp
marcuschangarm/mbed-cloud-client
d7edc529ed3722c811ff401440ef58ea980bf543
[ "Apache-2.0" ]
41
2018-07-12T08:09:39.000Z
2020-11-06T13:47:43.000Z
update-client-hub/modules/lwm2m-mbed/source/lwm2m-monitor.cpp
marcuschangarm/mbed-cloud-client
d7edc529ed3722c811ff401440ef58ea980bf543
[ "Apache-2.0" ]
53
2018-04-16T08:36:25.000Z
2020-11-02T15:50:43.000Z
// ---------------------------------------------------------------------------- // Copyright 2016-2019 ARM Ltd. // // SPDX-License-Identifier: Apache-2.0 // // 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 ...
31.477833
103
0.707042
marcuschangarm
3c1c58b0c647d3925e2cb2cb3232b4a8e84ef37c
872
cpp
C++
Pearly/src/Pearly/Renderer/Texture.cpp
JumpyLionnn/Pearly
2dce5f54144980cecd998a325422e56bff6c4c83
[ "Apache-2.0" ]
null
null
null
Pearly/src/Pearly/Renderer/Texture.cpp
JumpyLionnn/Pearly
2dce5f54144980cecd998a325422e56bff6c4c83
[ "Apache-2.0" ]
null
null
null
Pearly/src/Pearly/Renderer/Texture.cpp
JumpyLionnn/Pearly
2dce5f54144980cecd998a325422e56bff6c4c83
[ "Apache-2.0" ]
null
null
null
#include "prpch.h" #include "Texture.h" #include "Renderer.h" #include "Platform/OpenGL/OpenGLTexture.h" namespace Pearly { Ref<Texture2D> Texture2D::Create(uint32 width, uint32 height) { switch (Renderer::GetAPI()) { case RendererAPI::API::None: PR_CORE_ASSERT(false, "Renderer API None is currently not suppo...
27.25
118
0.729358
JumpyLionnn
3c1c7c358e69b48e1cbcf46064731ce14d8014f6
688
cpp
C++
Aizu/CesarCipher.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
Aizu/CesarCipher.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
Aizu/CesarCipher.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <string> #include <iostream> #include <algorithm> using namespace std; string decode(string s, int v) { string ans = s; for(int i = 0; i < (int) s.size(); i++) { if(s[i] >= 'a' && s[i] <= 'z') { ans[i] = (s[i] + v) % 26 + 'a'; } } return ans; } int...
22.933333
122
0.412791
aajjbb
3c1f396558e74f120b6cc10dc576dad44e7bce4f
3,048
cpp
C++
src/rtsp/RtpSink.cpp
7956968/miniRtspServer
1de66d613941cd036d63ef32e7284ed68cb4b8a4
[ "MIT" ]
10
2020-07-28T01:14:49.000Z
2021-08-19T04:33:49.000Z
src/rtsp/RtpSink.cpp
TaoistLuo/miniRtspServer
1de66d613941cd036d63ef32e7284ed68cb4b8a4
[ "MIT" ]
null
null
null
src/rtsp/RtpSink.cpp
TaoistLuo/miniRtspServer
1de66d613941cd036d63ef32e7284ed68cb4b8a4
[ "MIT" ]
3
2020-09-15T11:14:55.000Z
2020-09-30T08:39:45.000Z
/************************************************************************* Copyright (c) 2020 Taoist Luo Create by: Taoist Luo CSDN:https://blog.csdn.net/daichanzhang9734/article/details/107549026 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentatio...
29.882353
81
0.682415
7956968
3c1fa063e155984fd3faf5cd2db03ea607393732
22,608
cpp
C++
olp-cpp-sdk-core/tests/client/PendingUrlRequestsTest.cpp
OstapKL/here-data-sdk-cpp
0f7e9078fd1b273d868337d4f859512ffd1782fb
[ "Apache-2.0" ]
21
2019-07-03T07:26:52.000Z
2019-09-04T08:35:07.000Z
olp-cpp-sdk-core/tests/client/PendingUrlRequestsTest.cpp
OstapKL/here-data-sdk-cpp
0f7e9078fd1b273d868337d4f859512ffd1782fb
[ "Apache-2.0" ]
639
2019-09-13T17:14:24.000Z
2020-05-13T11:49:14.000Z
olp-cpp-sdk-core/tests/client/PendingUrlRequestsTest.cpp
OstapKL/here-data-sdk-cpp
0f7e9078fd1b273d868337d4f859512ffd1782fb
[ "Apache-2.0" ]
21
2020-05-14T15:32:28.000Z
2022-03-15T13:52:33.000Z
/* * Copyright (C) 2020 HERE Europe B.V. * * 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 a...
33.394387
80
0.675159
OstapKL
3c212a755a5bb5e9b921802faf3207fc8dd6b63f
2,448
cpp
C++
android-31/android/inputmethodservice/AbstractInputMethodService.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/inputmethodservice/AbstractInputMethodService.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-31/android/inputmethodservice/AbstractInputMethodService.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JArray.hpp" #include "../content/Intent.hpp" #include "./AbstractInputMethodService_AbstractInputMethodImpl.hpp" #include "./AbstractInputMethodService_AbstractInputMethodSessionImpl.hpp" #include "../view/KeyEvent_DispatcherState.hpp" #include "../view/MotionEvent.hpp" #include "../../java/io/FileDescr...
30.6
159
0.774918
YJBeetle
3c21ffb618f6158cc3d225adc5e6ead2a878075f
396
cpp
C++
ds3runtime/scripts/sync_call_script.cpp
tremwil/DS3RuntimeScripting
50508bbf9295f87c459722ea3bea015c85a36de5
[ "MIT" ]
8
2021-06-05T21:59:53.000Z
2022-02-03T10:00:09.000Z
ds3runtime/scripts/sync_call_script.cpp
tremwil/DS3RuntimeScripting
50508bbf9295f87c459722ea3bea015c85a36de5
[ "MIT" ]
null
null
null
ds3runtime/scripts/sync_call_script.cpp
tremwil/DS3RuntimeScripting
50508bbf9295f87c459722ea3bea015c85a36de5
[ "MIT" ]
5
2021-05-17T19:49:29.000Z
2022-02-26T11:00:29.000Z
/* * DS3RuntimeScripting * Contributers: Amir */ #pragma once #include "pch.h" #include "sync_call_script.h" #include "ds3runtime/ds3runtime.h" namespace ds3runtime { void SyncCallScript::execute() { for (auto bulletSpawn : syncBullets) bulletSpawn.launch(); syncBullets.clear(); } void SyncCallScript::launchBul...
17.217391
64
0.760101
tremwil
3c228ea65f934c84c768568390d6b2a66ab56a81
1,250
cpp
C++
LeetCode/SwapNodesInPairs.cpp
Michael-Ma/Coding-Practice
6ab3d76ae1cd3a97046b399c59d6bf2b135d7b5f
[ "MIT" ]
null
null
null
LeetCode/SwapNodesInPairs.cpp
Michael-Ma/Coding-Practice
6ab3d76ae1cd3a97046b399c59d6bf2b135d7b5f
[ "MIT" ]
null
null
null
LeetCode/SwapNodesInPairs.cpp
Michael-Ma/Coding-Practice
6ab3d76ae1cd3a97046b399c59d6bf2b135d7b5f
[ "MIT" ]
null
null
null
#include <sstream> #include <stdio.h> #include <string> #include <cstring> #include <iostream> #include <vector> #include <map> #include <stack> #include <queue> #include <set> #include <cmath> #include <algorithm> #include <cfloat> #include <climits> //#include <unordered_set> //#include <unordered_map> using names...
21.186441
46
0.5528
Michael-Ma
3c2343c690bdbd2d26b2f2643ed7bff7572a6670
11,419
cpp
C++
src/task_jump_2.cpp
RPGP1/task-draft
5459ea24b717c690d00909b77a76f599828f3566
[ "Unlicense" ]
null
null
null
src/task_jump_2.cpp
RPGP1/task-draft
5459ea24b717c690d00909b77a76f599828f3566
[ "Unlicense" ]
null
null
null
src/task_jump_2.cpp
RPGP1/task-draft
5459ea24b717c690d00909b77a76f599828f3566
[ "Unlicense" ]
null
null
null
#include "task_jump.hpp" namespace TaskManager { namespace Expr { Jump::JumpManager::JumpManagerOperator::JumpManagerOperator(const std::shared_ptr<JumpManager>& _jump_manager, const std::shared_ptr<TaskSet>& _taskset) noexcept : JumpIf{_jump_manager, _taskset}, JumpBackIf{_jump_manager, _tasks...
47.978992
237
0.694894
RPGP1
3c2501530d7d4246a772f5c0f774edcf08c6e9dc
3,857
cpp
C++
libraries/wallet/cache.cpp
siwelo/bitshares-2
03561bfcf97801b44863bd51c400aae3ba51e3b0
[ "MIT" ]
null
null
null
libraries/wallet/cache.cpp
siwelo/bitshares-2
03561bfcf97801b44863bd51c400aae3ba51e3b0
[ "MIT" ]
null
null
null
libraries/wallet/cache.cpp
siwelo/bitshares-2
03561bfcf97801b44863bd51c400aae3ba51e3b0
[ "MIT" ]
null
null
null
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * 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. Any modified source or binaries are used only with the BitShares network. *...
41.473118
208
0.736064
siwelo
3c28ada0362a0193875e578cf0ea0346d40baf4f
409
cpp
C++
cahttp/SimpleBuf.cpp
netmindms/cahttp
ea85a7b9143db5ebe96df1ac18476a30e9351248
[ "MIT" ]
null
null
null
cahttp/SimpleBuf.cpp
netmindms/cahttp
ea85a7b9143db5ebe96df1ac18476a30e9351248
[ "MIT" ]
null
null
null
cahttp/SimpleBuf.cpp
netmindms/cahttp
ea85a7b9143db5ebe96df1ac18476a30e9351248
[ "MIT" ]
null
null
null
/* * SimpleBuf.cpp * * Created on: Oct 21, 2015 * Author: netmind */ #include "SimpleBuf.h" SimpleBuf::SimpleBuf() { buffer = nullptr; capacity = 0; size = 0; } SimpleBuf::~SimpleBuf() { if(buffer) { free(buffer); } } void SimpleBuf::alloc(size_t bsize) { if(buffer) { free(buffer); } buffer =...
12.029412
37
0.594132
netmindms
3c298f4a5eaab9ef894d24e30415b6742ef64ff5
1,116
cpp
C++
Session_05/2019/00_Particle/src/ofApp.cpp
SAIC-ATS/ARTTECH3135
179805d373601ac92dcdbb51ddc4925fc65f7c22
[ "MIT" ]
26
2015-09-23T12:31:16.000Z
2020-12-14T03:19:19.000Z
Session_05/2019/00_Particle/src/ofApp.cpp
SAIC-ATS/ARTTECH3135
179805d373601ac92dcdbb51ddc4925fc65f7c22
[ "MIT" ]
2
2017-07-05T18:14:52.000Z
2017-10-31T00:04:13.000Z
Session_05/2019/00_Particle/src/ofApp.cpp
SAIC-ATS/ARTTECH3135
179805d373601ac92dcdbb51ddc4925fc65f7c22
[ "MIT" ]
37
2015-09-19T22:10:32.000Z
2019-12-07T19:35:55.000Z
#include "ofApp.h" void ofApp::setup() { // ofSetFrameRate(1) ofBackground(80); position.x = ofGetWidth() / 2; position.y = 0; position.z = 0; // Alternative syntax. velocity = { 0, 0, 0 }; // Acceleration due to gravity. // We only accelerate in the +y direction (down o...
19.241379
63
0.545699
SAIC-ATS
3c2a85dfd511265cc1c722cc0044f23ef623185f
1,245
cpp
C++
source/tracer/GlobalTrace.cpp
xzrunner/raytracing
c130691a92fab2cc9605f04534f42ca9b99e6fde
[ "MIT" ]
null
null
null
source/tracer/GlobalTrace.cpp
xzrunner/raytracing
c130691a92fab2cc9605f04534f42ca9b99e6fde
[ "MIT" ]
null
null
null
source/tracer/GlobalTrace.cpp
xzrunner/raytracing
c130691a92fab2cc9605f04534f42ca9b99e6fde
[ "MIT" ]
null
null
null
#include "raytracing/tracer/GlobalTrace.h" #include "raytracing/world/World.h" #include "raytracing/material/Material.h" #include "raytracing/utilities/ShadeRec.h" #include "raytracing/utilities/Constants.h" namespace rt { GlobalTrace::GlobalTrace(const World& world) : Tracer(world) { } RGBColor GlobalTrace::TraceR...
19.453125
77
0.636145
xzrunner
3c2be3f54066c35c1347d5d37632df34d158eded
14,453
cc
C++
pagespeed/kernel/cache/purge_context_test.cc
oschaaf/incubator-pagespeed-mod
12a4d582a6eed9114aae6474b4e5fddfa7e4908c
[ "MIT" ]
null
null
null
pagespeed/kernel/cache/purge_context_test.cc
oschaaf/incubator-pagespeed-mod
12a4d582a6eed9114aae6474b4e5fddfa7e4908c
[ "MIT" ]
null
null
null
pagespeed/kernel/cache/purge_context_test.cc
oschaaf/incubator-pagespeed-mod
12a4d582a6eed9114aae6474b4e5fddfa7e4908c
[ "MIT" ]
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 ...
37.736292
80
0.724555
oschaaf
3c2d3da65db418eef95a86d9a5506e1b320c14fb
32,729
cc
C++
src/win32/base/uninstall_helper.cc
soleilpqd/mozc
4767ce2f2b6a63f1f139daea6e98bc7a564d5e4e
[ "BSD-3-Clause" ]
1
2017-09-01T20:55:40.000Z
2017-09-01T20:55:40.000Z
src/win32/base/uninstall_helper.cc
soleilpqd/mozc
4767ce2f2b6a63f1f139daea6e98bc7a564d5e4e
[ "BSD-3-Clause" ]
null
null
null
src/win32/base/uninstall_helper.cc
soleilpqd/mozc
4767ce2f2b6a63f1f139daea6e98bc7a564d5e4e
[ "BSD-3-Clause" ]
2
2020-02-12T15:24:27.000Z
2020-02-22T13:36:21.000Z
// Copyright 2010-2016, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
31.470192
80
0.682697
soleilpqd
3c2ea94823802909038a93a49ee82226fd5f3c2f
1,966
hpp
C++
lkCommon/include/lkCommon/Utils/StaticStack.hpp
lookeypl/lkCommon
efd08396f2b151a320e103bd8111b745246b44e8
[ "WTFPL" ]
1
2020-11-11T20:05:19.000Z
2020-11-11T20:05:19.000Z
lkCommon/include/lkCommon/Utils/StaticStack.hpp
lookeypl/lkCommon
efd08396f2b151a320e103bd8111b745246b44e8
[ "WTFPL" ]
null
null
null
lkCommon/include/lkCommon/Utils/StaticStack.hpp
lookeypl/lkCommon
efd08396f2b151a320e103bd8111b745246b44e8
[ "WTFPL" ]
null
null
null
#pragma once #define _LKCOMMON_UTILS_STATIC_STACK_HPP_ #include "lkCommon/lkCommon.hpp" #include <stddef.h> namespace lkCommon { namespace Utils { /** * A lightweight LIFO stack implementation with zero dynamic allocations. * * @warning For performance, this stack does not perform any checks on * Relea...
22.340909
79
0.614954
lookeypl
3c30881f3aad26bed6c86ade953ddee0fd8b2a95
2,248
cc
C++
onnxruntime/core/language_interop_ops/torch/refcount_tracker.cc
photoszzt/onnxruntime
523db6ef443b0a41de1401004ae4b394dad3314c
[ "MIT" ]
1
2022-03-08T05:02:44.000Z
2022-03-08T05:02:44.000Z
onnxruntime/core/language_interop_ops/torch/refcount_tracker.cc
photoszzt/onnxruntime
523db6ef443b0a41de1401004ae4b394dad3314c
[ "MIT" ]
null
null
null
onnxruntime/core/language_interop_ops/torch/refcount_tracker.cc
photoszzt/onnxruntime
523db6ef443b0a41de1401004ae4b394dad3314c
[ "MIT" ]
1
2022-03-08T05:02:40.000Z
2022-03-08T05:02:40.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "orttraining/core/framework/torch/python_common.h" #include <iostream> #include "core/common/logging/logging.h" #include "core/language_interop_ops/torch/refcount_tracker.h" #include "core/platform/env.h" namespa...
34.060606
157
0.645463
photoszzt
3c31a7333ef325b2160eee5fec0ba91d676f1ed5
1,359
cpp
C++
uva.onlinejudge.org/MagicNumbers.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
6
2016-09-10T03:16:34.000Z
2020-04-07T14:45:32.000Z
uva.onlinejudge.org/MagicNumbers.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
null
null
null
uva.onlinejudge.org/MagicNumbers.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
2
2018-08-11T20:55:35.000Z
2020-01-15T23:23:11.000Z
/* By: facug91 From: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=412 Name: Magic Numbers Date: 08/03/2016 */ #include <bits/stdc++.h> #define endl "\n" #define EPS 1e-9 #define MP make_pair #define F first #define S second #define DB(x...
22.278689
126
0.604121
facug91
3c367342b0ae3cec2e0d19dc53bc66c2d47489e8
440
cpp
C++
src/tibb/src/TabbedScene.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
3
2015-03-07T15:41:18.000Z
2015-11-05T05:07:45.000Z
src/tibb/src/TabbedScene.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
1
2015-04-12T11:50:33.000Z
2015-04-12T21:13:19.000Z
src/tibb/src/TabbedScene.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
5
2015-01-13T17:14:41.000Z
2015-05-25T16:54:26.000Z
/** * Appcelerator Titanium Mobile * Copyright (c) 2012-2013 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ #include "TabbedScene.h" #include <bb/cascades/TabbedPane> using namespace bb::...
20
70
0.736364
ssaracut
3c3b84b33eb21b9907e828c0780fc54e40a10b95
3,853
cpp
C++
hardware/aw/lib/libcapture/buffer_allocator.cpp
ghsecuritylab/Android-7.0
e65af741a5cd5ac6e49e8735b00b456d00f6c0d0
[ "MIT" ]
10
2020-04-17T04:02:36.000Z
2021-11-23T11:38:42.000Z
hardware/aw/lib/libcapture/buffer_allocator.cpp
ghsecuritylab/Android-7.0
e65af741a5cd5ac6e49e8735b00b456d00f6c0d0
[ "MIT" ]
3
2020-02-19T16:53:25.000Z
2021-04-29T07:28:40.000Z
hardware/aw/lib/libcapture/buffer_allocator.cpp
ghsecuritylab/Android-7.0
e65af741a5cd5ac6e49e8735b00b456d00f6c0d0
[ "MIT" ]
5
2019-12-25T04:05:02.000Z
2022-01-14T16:57:55.000Z
/* * sunxi DE2.0 Write-Back utils library * -- Physically contiguous memory allocator interface * * Copyright (C) 2015-2018 AllwinnerTech, Inc. * * Contacts: * Zeng.Yajian <zengyajian@allwinnertech.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
25.019481
92
0.720737
ghsecuritylab
3c426f062de1b588cf562c6fb8184caeb0d0aa15
3,238
cpp
C++
src/gui/profile_list_model.cpp
adam-currie/fannn
b8433b9cc223b98a976590796986a2b0a1e68a68
[ "MIT" ]
2
2021-10-16T01:43:03.000Z
2021-12-12T20:28:43.000Z
src/gui/profile_list_model.cpp
adam-currie/fannn
b8433b9cc223b98a976590796986a2b0a1e68a68
[ "MIT" ]
null
null
null
src/gui/profile_list_model.cpp
adam-currie/fannn
b8433b9cc223b98a976590796986a2b0a1e68a68
[ "MIT" ]
null
null
null
#include "profile_list_model.h" #include "profile_persister.h" #include <algorithm> #include <stdexcept> #include <string> #include "containers_util.h" using std::string; using Fannn::Util::contains; ProfileListModel::ProfileListModel(QObject *parent) : QAbstractListModel(parent) { auto persister = Fannn::Profile...
31.436893
101
0.684064
adam-currie
3c43bf70da25fd81b8ba016b6ce73a5c16e7f0d8
19,774
cxx
C++
resip/recon/UserAgent.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
resip/recon/UserAgent.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
resip/recon/UserAgent.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "UserAgent.hxx" #include "UserAgentDialogSetFactory.hxx" #include "UserAgentCmds.hxx" #include "UserAgentServerAuthManager.hxx" #include "UserAgentClientSubscription.hxx" #include "UserAgentRegistration.hxx" #include "ReconSubsystem.hxx" #include "reflow/FlowMa...
31.337559
160
0.720239
dulton
3c44dad3e7d587cb64e9ea95f0df343b6e50e1ff
1,499
hpp
C++
libraries/chain/include/ngk/chain/webassembly/ngk-vm-oc/ngk-vm-oc.hpp
tianhao13/ngkchain
25d59f3161dd85c8cf9b4ce4bd210bd859deca05
[ "MIT" ]
4
2020-10-21T02:26:35.000Z
2021-02-14T13:15:18.000Z
libraries/chain/include/ngk/chain/webassembly/ngk-vm-oc/ngk-vm-oc.hpp
tianhao13/ngkchain
25d59f3161dd85c8cf9b4ce4bd210bd859deca05
[ "MIT" ]
null
null
null
libraries/chain/include/ngk/chain/webassembly/ngk-vm-oc/ngk-vm-oc.hpp
tianhao13/ngkchain
25d59f3161dd85c8cf9b4ce4bd210bd859deca05
[ "MIT" ]
4
2020-11-02T11:25:56.000Z
2021-01-22T14:12:22.000Z
#pragma once #include <ngk/chain/types.hpp> #include <ngk/chain/webassembly/ngk-vm-oc/ngk-vm-oc.h> #include <exception> #include <stdint.h> #include <stddef.h> #include <setjmp.h> #include <vector> #include <list> namespace ngk { namespace chain { class apply_context; namespace ngkvmoc { using control_block = n...
26.767857
202
0.784523
tianhao13
3c47704ffffe4ef4c955177924b541d952ea6157
46,864
cpp
C++
src/updater.cpp
smarttowel/AppImageUpdate
ac5376d70e55bb9d4684a5bede555f0bbcbfb249
[ "MIT" ]
null
null
null
src/updater.cpp
smarttowel/AppImageUpdate
ac5376d70e55bb9d4684a5bede555f0bbcbfb249
[ "MIT" ]
null
null
null
src/updater.cpp
smarttowel/AppImageUpdate
ac5376d70e55bb9d4684a5bede555f0bbcbfb249
[ "MIT" ]
null
null
null
// system headers+ #include <algorithm> #include <chrono> #include <deque> #include <fnmatch.h> #include <fstream> #include <iostream> #include <libgen.h> #include <mutex> #include <sstream> #include <thread> #include <unistd.h> // library headers #include <zsclient.h> #include <hashlib/sha256.h> #include <cpr/cpr.h> ...
41.88025
134
0.485959
smarttowel
3c48c916165d83ea1649606af974f6d4ae2b10e1
21,267
cpp
C++
bebop_driver/src/bebop.cpp
itssme/bebop_autonomy
f061c8a2c45526eb79c1ba0aaa09618bbd9408d0
[ "BSD-3-Clause" ]
2
2019-02-12T14:55:21.000Z
2021-02-15T23:32:36.000Z
bebop_driver/src/bebop.cpp
itssme/bebop_autonomy
f061c8a2c45526eb79c1ba0aaa09618bbd9408d0
[ "BSD-3-Clause" ]
null
null
null
bebop_driver/src/bebop.cpp
itssme/bebop_autonomy
f061c8a2c45526eb79c1ba0aaa09618bbd9408d0
[ "BSD-3-Clause" ]
null
null
null
/** Software License Agreement (BSD) \file bebop.cpp \authors Mani Monajjemi <mmonajje@sfu.ca> \copyright Copyright (c) 2015, Autonomy Lab (Simon Fraser University), All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following c...
32.972093
168
0.723045
itssme
3c49a66397cc303da71c8dc0b892af4fc3ba9fac
438
cpp
C++
Stack/main.cpp
NagiSenbon/ADTcpp
5038d4cc9d919af55f84f19f7de3c8b71235ab18
[ "MIT" ]
2
2019-01-31T15:01:37.000Z
2019-02-01T12:56:30.000Z
Stack/main.cpp
NagiSenbon/ADTcpp
5038d4cc9d919af55f84f19f7de3c8b71235ab18
[ "MIT" ]
null
null
null
Stack/main.cpp
NagiSenbon/ADTcpp
5038d4cc9d919af55f84f19f7de3c8b71235ab18
[ "MIT" ]
null
null
null
#include <iostream> //#include "Stack_Vector.h" //template<typename T> using Stack = Stack_Vector<T>; #include "Stack_List.h" template<typename T> using Stack = Stack_List<T>; using namespace std; int main() { Stack<int> st; for ( int i = 0; i < 10; i++ ) { st.push( i ); } for ( int i = 0; i < 10; i++ ) { co...
20.857143
55
0.577626
NagiSenbon
3c4f3f361156e50919990a425ca6a2f03a632f65
1,431
cpp
C++
skia/docs/examples/Color_Type_ARGB_4444.cpp
jiangkang/renderer-dog
8081732e2b4dbdb97c8d1f5e23f9e52c6362ff85
[ "MIT" ]
1
2019-03-25T15:37:48.000Z
2019-03-25T15:37:48.000Z
docs/examples/Color_Type_ARGB_4444.cpp
bryphe/esy-skia
9810a02f28270535de10b584bffc536182224c83
[ "BSD-3-Clause" ]
1
2020-09-13T11:08:17.000Z
2020-09-13T11:08:17.000Z
skia/docs/examples/Color_Type_ARGB_4444.cpp
jiangkang/renderer-dog
8081732e2b4dbdb97c8d1f5e23f9e52c6362ff85
[ "MIT" ]
null
null
null
// Copyright 2019 Google LLC. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "fiddle/examples.h" // HASH=33a360c3404ac21db801943336843d8e REG_FIDDLE(Color_Type_ARGB_4444, 256, 96, false, 0) { void draw(SkCanvas* canvas) { canvas->scale(16, 16); SkBi...
46.16129
100
0.639413
jiangkang
3c511c5a89914a48912e42920f3246b389530021
2,662
hpp
C++
include/utility/persistent_container/container_config.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
2
2017-12-10T10:59:48.000Z
2017-12-13T04:11:14.000Z
include/utility/persistent_container/container_config.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
include/utility/persistent_container/container_config.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
#ifndef ___UTILITY__PERSISTENT__CONTAINER__CONFIG___ #define ___UTILITY__PERSISTENT__CONTAINER__CONFIG___ #include<utility/config/utility_config.hpp> namespace utility { namespace persistent_container { namespace config { struct cache_config { public: typedef ...
30.597701
80
0.624718
SakuraLife
3c51eda04e38e0dcf0de0889ffad75eccef24b46
3,281
hpp
C++
include/nix/DataSet.hpp
stoewer/nix
7fe4669284b60b6a27228c2da7d3f61a77c943dc
[ "BSD-3-Clause" ]
53
2015-02-10T01:04:34.000Z
2021-04-24T14:26:04.000Z
include/nix/DataSet.hpp
stoewer/nix
7fe4669284b60b6a27228c2da7d3f61a77c943dc
[ "BSD-3-Clause" ]
262
2015-01-09T13:24:21.000Z
2021-07-02T13:45:31.000Z
include/nix/DataSet.hpp
gicmo/nix
17a5b90e6c12a22e921c181b79eb2a3db1bf61af
[ "BSD-3-Clause" ]
34
2015-03-27T16:41:14.000Z
2020-03-27T06:47:59.000Z
// Copyright (c) 2014, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. // // Author: Christian Kellner <kellner@bio...
24.485075
97
0.619933
stoewer
3c5627ae8d7edb3d1b23dfb28c9c6b5da0a91d5b
6,818
cxx
C++
Podd/THaBPM.cxx
leadmocha/analyzer
ab26d755dbe816975e4165479c9fbefc4c4ca069
[ "BSD-3-Clause" ]
null
null
null
Podd/THaBPM.cxx
leadmocha/analyzer
ab26d755dbe816975e4165479c9fbefc4c4ca069
[ "BSD-3-Clause" ]
null
null
null
Podd/THaBPM.cxx
leadmocha/analyzer
ab26d755dbe816975e4165479c9fbefc4c4ca069
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // // // THaBPM // // // ...
29.903509
80
0.579642
leadmocha
3c585b17b643be42b7ea6094bbe928332ccc910a
1,993
cpp
C++
src/nbla/test/test_relu.cpp
daniel-falk/nnabla
3fe132ea52dc10521cc029a5d6ba8f565cf65ccf
[ "Apache-2.0" ]
2,792
2017-06-26T13:05:44.000Z
2022-03-28T07:55:26.000Z
src/nbla/test/test_relu.cpp
daniel-falk/nnabla
3fe132ea52dc10521cc029a5d6ba8f565cf65ccf
[ "Apache-2.0" ]
138
2017-06-27T07:04:44.000Z
2022-02-28T01:37:15.000Z
src/nbla/test/test_relu.cpp
daniel-falk/nnabla
3fe132ea52dc10521cc029a5d6ba8f565cf65ccf
[ "Apache-2.0" ]
380
2017-06-26T13:23:52.000Z
2022-03-25T16:51:30.000Z
// Copyright 2017,2018,2019,2020,2021 Sony Corporation. // // 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...
29.308824
79
0.680381
daniel-falk
3c5a6b7d1058782da7dee453f54f9de563597d75
23,730
cpp
C++
src/glut/pxWindowNative.cpp
protey7/pxCore
ce09650977516833a3f892623eddba4a84aec1a3
[ "Apache-2.0" ]
null
null
null
src/glut/pxWindowNative.cpp
protey7/pxCore
ce09650977516833a3f892623eddba4a84aec1a3
[ "Apache-2.0" ]
2
2017-12-08T14:22:28.000Z
2018-02-15T03:28:31.000Z
src/glut/pxWindowNative.cpp
protey7/pxCore
ce09650977516833a3f892623eddba4a84aec1a3
[ "Apache-2.0" ]
2
2018-02-16T20:25:24.000Z
2018-07-09T17:28:46.000Z
/* pxCore Copyright 2005-2018 John Robinson 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, s...
21.951896
118
0.647872
protey7
3c5af01909eacd873c1a83b59f52de3af5b128e2
3,604
cc
C++
ui/views/view_targeter.cc
domenic/mojo
53dda76fed90a47c35ed6e06baf833a0d44495b8
[ "BSD-3-Clause" ]
5
2019-05-24T01:25:34.000Z
2020-04-06T05:07:01.000Z
ui/views/view_targeter.cc
domenic/mojo
53dda76fed90a47c35ed6e06baf833a0d44495b8
[ "BSD-3-Clause" ]
null
null
null
ui/views/view_targeter.cc
domenic/mojo
53dda76fed90a47c35ed6e06baf833a0d44495b8
[ "BSD-3-Clause" ]
5
2016-12-23T04:21:10.000Z
2020-06-18T13:52:33.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/view_targeter.h" #include "ui/events/event_target.h" #include "ui/views/focus/focus_manager.h" #include "ui/views/view.h" #include "ui...
31.33913
80
0.675361
domenic
3c5db36a85222d394f0cd4ceb37fc551de360fd0
453
hpp
C++
src/engine/window/Surface.hpp
Lothav/volkano
b345091e4066727ca5cf72111453c0f6a82285a3
[ "MIT" ]
null
null
null
src/engine/window/Surface.hpp
Lothav/volkano
b345091e4066727ca5cf72111453c0f6a82285a3
[ "MIT" ]
null
null
null
src/engine/window/Surface.hpp
Lothav/volkano
b345091e4066727ca5cf72111453c0f6a82285a3
[ "MIT" ]
null
null
null
// // Created by luiz0tavio on 8/30/18. // #ifndef VOLKANO_SURFACE_HPP #define VOLKANO_SURFACE_HPP #include <cstdint> #include <vulkan/vulkan.h> namespace vkn { class Surface { private: static uint16_t width; static uint16_t height; static VkSurfaceKHR surface; publ...
13.727273
36
0.615894
Lothav
3c5e22d0b16e634d792c74f13155d36f1c86251d
6,273
cpp
C++
lib/VM/detail/IdentifierHashTable.cpp
exced/hermes
c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6
[ "MIT" ]
2
2020-02-09T21:47:10.000Z
2021-07-13T09:27:33.000Z
lib/VM/detail/IdentifierHashTable.cpp
exced/hermes
c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6
[ "MIT" ]
6
2021-03-11T07:21:46.000Z
2022-02-27T11:15:48.000Z
lib/VM/detail/IdentifierHashTable.cpp
exced/hermes
c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6
[ "MIT" ]
2
2020-10-25T04:11:10.000Z
2020-10-25T04:11:11.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "hermes/VM/detail/IdentifierHashTable.h" #include "hermes/VM/Deserializer.h" #include "hermes/VM/Serializer.h" #include "...
32.671875
79
0.675753
exced
3c6204b4ea6f6b6004a5f14ff9f6460a02e0c21f
5,273
cc
C++
chromium/chrome/browser/plugins/plugin_installer.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/browser/plugins/plugin_installer.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/browser/plugins/plugin_installer.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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/plugins/plugin_installer.h" #include <utility> #include "base/bind.h" #include "base/bind_helpers.h" #include "base/process...
34.690789
78
0.744358
wedataintelligence
3c62df3e20baca7d3405ea225b064b4f5291c0b9
5,915
cpp
C++
Engine/Source/ThirdParty/PhysX/APEX_1.4/common/src/ApexMeshHash.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/ThirdParty/PhysX/APEX_1.4/common/src/ApexMeshHash.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/ThirdParty/PhysX/APEX_1.4/common/src/ApexMeshHash.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
/* * Copyright (c) 2008-2017, 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 so...
19.848993
122
0.65224
windystrife
3c6b9e29ecbcfa8cb09c1a52a24adc71ac377dfc
507
cpp
C++
AIC/AIC'20 - Level 1 Training/Sheet #3/E.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
AIC/AIC'20 - Level 1 Training/Sheet #3/E.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
AIC/AIC'20 - Level 1 Training/Sheet #3/E.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
//https://codeforces.com/group/Rv2Qzg0DgK/contest/272491/problem/E #include <bits/stdc++.h> using namespace std; #define F first #define S second typedef long long ll; typedef long double ld; ll mod = 1e9 + 7; int main () { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); int n; cin >> n; vector<int> v(n...
24.142857
66
0.617357
MaGnsio
3c721e2350479e5bd1ad28f3110b34e6313463bf
47,440
inl
C++
include/bolt/cl/detail/transform.inl
jayavanth/Bolt
ea1045126efc060c56f43eef926d65490bca7375
[ "BSL-1.0" ]
1
2016-11-29T21:03:54.000Z
2016-11-29T21:03:54.000Z
include/bolt/cl/detail/transform.inl
jayavanth/Bolt
ea1045126efc060c56f43eef926d65490bca7375
[ "BSL-1.0" ]
null
null
null
include/bolt/cl/detail/transform.inl
jayavanth/Bolt
ea1045126efc060c56f43eef926d65490bca7375
[ "BSL-1.0" ]
null
null
null
/*************************************************************************** * Copyright 2012 - 2013 Advanced Micro Devices, 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 * * ...
48.806584
143
0.633284
jayavanth
3c72422154b573ba59da9dafa784a756a8bb89f0
898
cpp
C++
compile/libbcc/bcinfo/Wrap/wrapper_output.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
compile/libbcc/bcinfo/Wrap/wrapper_output.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
null
null
null
compile/libbcc/bcinfo/Wrap/wrapper_output.cpp
Keneral/aframeworks
af1d0010bfb88751837fb1afc355705bd8a9ad8b
[ "Unlicense" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
/* * Copyright 2012, The Android 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.538462
75
0.726058
Keneral
3c725d7bd96bfc4cc2a748ee61fc992b5553986c
2,509
cc
C++
third_party/blink/renderer/platform/p2p/mdns_responder_adapter.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "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/platform/p2p/mdns_responder_adapter.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "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/platform/p2p/mdns_responder_adapter.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2018 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/platform/p2p/mdns_responder_adapter.h" #include <string> #include "jingle/glue/utils.h" #include "mojo/public/cpp/b...
35.842857
87
0.746911
sarang-apps
3c72e3f286a37d536acaa51ed811edb1aa4998aa
1,418
hpp
C++
dp/longest-common-subsequence.hpp
matumoto1234/library
a2c80516a8afe5876696c139fe0e837d8a204f69
[ "Unlicense" ]
2
2021-06-24T11:21:08.000Z
2022-03-15T05:57:25.000Z
dp/longest-common-subsequence.hpp
matumoto1234/library
a2c80516a8afe5876696c139fe0e837d8a204f69
[ "Unlicense" ]
102
2021-10-30T21:30:00.000Z
2022-03-26T18:39:47.000Z
dp/longest-common-subsequence.hpp
matumoto1234/library
a2c80516a8afe5876696c139fe0e837d8a204f69
[ "Unlicense" ]
null
null
null
#pragma once #include "./base.hpp" #include <string> #include <vector> namespace dp { // verify:EDPC_F template <typename T> struct LongestCommonSubsequence { vector<T> s, t; int h, w; vector<vector<int>> dp; LongestCommonSubsequence(vector<T> _s, vector<T> _t): s(_s), t(_t) { h = _s.size...
23.245902
72
0.415374
matumoto1234
3c76e16dc82dd5a00270d85ce260dcad65378378
867
hpp
C++
NWNXLib/API/Mac/API/CJoiningRestrictions.hpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
1
2019-06-04T04:30:24.000Z
2019-06-04T04:30:24.000Z
NWNXLib/API/Mac/API/CJoiningRestrictions.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/CJoiningRestrictions.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
1
2019-10-20T07:54:45.000Z
2019-10-20T07:54:45.000Z
#pragma once #include <cstdint> namespace NWNXLib { namespace API { struct CJoiningRestrictions { int32_t bAllowLocal; int32_t bAllowServer; int32_t bAllowVault; int32_t bFixedParties; int32_t bAllowFighter; int32_t bAllowBarbarian; int32_t bAllowRanger; int32_t bAllowPaladin; in...
19.266667
34
0.727797
acaos
3c77efa73935544b65f3479175f705e0342d9da0
10,431
cpp
C++
Sources/src/SpecialAttack.cpp
Tifox/Grog-Knight
377a661286cda7ee3b2b2d0099641897938c2f8f
[ "Apache-2.0" ]
null
null
null
Sources/src/SpecialAttack.cpp
Tifox/Grog-Knight
377a661286cda7ee3b2b2d0099641897938c2f8f
[ "Apache-2.0" ]
null
null
null
Sources/src/SpecialAttack.cpp
Tifox/Grog-Knight
377a661286cda7ee3b2b2d0099641897938c2f8f
[ "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"); yo...
45.75
157
0.705685
Tifox
3c78bcb00b7035c0bd7a9fc3c399314fd5270126
1,391
cpp
C++
src/image/color.cpp
eisbehr/c10t
c30e55613fa0203cba84cb153392a55391279551
[ "BSD-3-Clause" ]
1
2016-06-07T17:34:32.000Z
2016-06-07T17:34:32.000Z
src/image/color.cpp
eisbehr/c10t
c30e55613fa0203cba84cb153392a55391279551
[ "BSD-3-Clause" ]
null
null
null
src/image/color.cpp
eisbehr/c10t
c30e55613fa0203cba84cb153392a55391279551
[ "BSD-3-Clause" ]
null
null
null
// Distributed under the BSD License, see accompanying LICENSE.txt // (C) Copyright 2010 John-John Tedro et al. #include "image/color.hpp" #include <sstream> #include <string> uint8_t alpha_over_c(uint8_t u, uint8_t o, uint8_t ua, uint8_t oa); /** * Takes two color values and does an alpha over blending without usi...
28.387755
79
0.580158
eisbehr
3c7c76ccc0b9697dfeef26c9bd802a064be5c755
3,526
cpp
C++
All Project/project1.cpp
jaibae21/CPE211_S2021_UAH
9e8e5452526288699e0d7ee22ed393857233501e
[ "MIT" ]
null
null
null
All Project/project1.cpp
jaibae21/CPE211_S2021_UAH
9e8e5452526288699e0d7ee22ed393857233501e
[ "MIT" ]
null
null
null
All Project/project1.cpp
jaibae21/CPE211_S2021_UAH
9e8e5452526288699e0d7ee22ed393857233501e
[ "MIT" ]
1
2022-03-26T08:52:00.000Z
2022-03-26T08:52:00.000Z
//****************************************************************** // The following is a partial header comment block. Modify the // appropriate parts by putting in your information. Look at // the samples handed out to make any necessary additions // You may delete this line and the three above it. // Paycheck pro...
41
83
0.533749
jaibae21
3c85d79c77277da0d6a478b6e02766ddbdaacd54
3,289
cpp
C++
ext/ruby_mapnik/_mapnik_symbolizer.rb.cpp
gravitystorm/Ruby-Mapnik
6e878ca914116ffc3f897cdb3bc94cd0b3c15281
[ "MIT" ]
21
2015-02-04T17:22:57.000Z
2021-12-30T22:08:47.000Z
ext/ruby_mapnik/_mapnik_symbolizer.rb.cpp
gravitystorm/Ruby-Mapnik
6e878ca914116ffc3f897cdb3bc94cd0b3c15281
[ "MIT" ]
20
2015-04-14T16:43:53.000Z
2019-10-01T16:18:50.000Z
ext/ruby_mapnik/_mapnik_symbolizer.rb.cpp
gravitystorm/Ruby-Mapnik
6e878ca914116ffc3f897cdb3bc94cd0b3c15281
[ "MIT" ]
3
2015-05-27T11:27:50.000Z
2020-09-09T09:36:24.000Z
/***************************************************************************** Copyright (C) 2011 Elliot Laster 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 wit...
43.853333
129
0.697172
gravitystorm
3c8813b77a323462c1c77cf469e7e022beab5f4a
1,433
cpp
C++
startalk_ui/QuitOnCloseNotice.cpp
xuepingiw/open_source_startalk
44d962b04039f5660ec47a10313876a0754d3e72
[ "MIT" ]
34
2019-03-18T08:09:24.000Z
2022-03-15T02:03:25.000Z
startalk_ui/QuitOnCloseNotice.cpp
venliong/open_source_startalk
51fda091a932a8adea626c312692836555753a9a
[ "MIT" ]
5
2019-05-29T09:32:05.000Z
2019-08-29T03:01:33.000Z
startalk_ui/QuitOnCloseNotice.cpp
venliong/open_source_startalk
51fda091a932a8adea626c312692836555753a9a
[ "MIT" ]
32
2019-03-15T09:43:22.000Z
2021-08-10T08:26:02.000Z
#include "QuitOnCloseNotice.h" #include "CustomDefine.h" #include "Session.h" #include "SettingData.h" QuitOnCloseNotice::QuitOnCloseNotice(QWidget *parent) : LocalManDialog(parent) { ui.setupUi(this); using namespace Qt; auto remove = WindowTitleHint; auto add = FramelessWindowHint | WindowMinMa...
31.152174
87
0.718772
xuepingiw
3c8949e9b3a96b2201de99d1dc955aff51025ef6
9,213
cpp
C++
src/frontend/CameraParams.cpp
lefthandwriter/Kimera-VIO
641576fd86bdecbd663b4db3cb068f49502f3a2c
[ "BSD-2-Clause" ]
1,024
2019-09-20T22:55:09.000Z
2022-03-30T13:00:14.000Z
src/frontend/CameraParams.cpp
lefthandwriter/Kimera-VIO
641576fd86bdecbd663b4db3cb068f49502f3a2c
[ "BSD-2-Clause" ]
154
2019-09-23T13:10:33.000Z
2022-03-07T02:36:52.000Z
src/frontend/CameraParams.cpp
lefthandwriter/Kimera-VIO
641576fd86bdecbd663b4db3cb068f49502f3a2c
[ "BSD-2-Clause" ]
314
2019-09-20T23:49:05.000Z
2022-03-30T06:21:38.000Z
/* ---------------------------------------------------------------------------- * Copyright 2017, Massachusetts Institute of Technology, * Cambridge, MA 02139 * All Rights Reserved * Authors: Luca Carlone, et al. (see THANKS for the full author list) * See LICENSE for the license information * -------------------...
38.873418
80
0.604798
lefthandwriter
3c8c7a6dbd222654ab7ac130c0b985cebb66868c
3,004
cpp
C++
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorderEventAdd.cpp
adelbennaceur/carla
4d6fefe73d38f0ffaef8ffafccf71245699fc5db
[ "MIT" ]
103
2020-03-10T04:21:50.000Z
2022-03-29T13:26:57.000Z
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorderEventAdd.cpp
adelbennaceur/carla
4d6fefe73d38f0ffaef8ffafccf71245699fc5db
[ "MIT" ]
12
2020-04-11T11:36:01.000Z
2021-12-09T11:35:56.000Z
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorderEventAdd.cpp
adelbennaceur/carla
4d6fefe73d38f0ffaef8ffafccf71245699fc5db
[ "MIT" ]
11
2018-09-28T16:18:37.000Z
2022-01-04T06:02:05.000Z
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "CarlaRecorder.h" #include "CarlaRecorderEventAdd.h" #include "CarlaRecorderHelpers.h"...
28.884615
82
0.672104
adelbennaceur
3c8e8b4532acc284268d548f1ff3f7ee18b2ca90
9,545
cpp
C++
Win32.Rage/misc.cpp
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
2
2021-02-04T06:47:45.000Z
2021-07-28T10:02:10.000Z
Win32.Rage/misc.cpp
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
null
null
null
Win32.Rage/misc.cpp
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
null
null
null
#include "include.h" BOOL AntiSandBox() { char *users[] = {"sandbox", "honey", "vmware", "currentuser", "nepenthes"}; DWORD size = 128; char szUser[128]; int i; GetUserName(szUser, &size); CharLower(szUser); for (i = 0; i < (sizeof(users) / sizeof(LPTSTR)); i++) { if (strstr(szUser, users[i]) != 0) re...
21.546275
139
0.62682
010001111
3c927e7c92e75a362a2b80e991a25fd2927ef931
1,209
cpp
C++
test/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp
webrtcmirrors/chromium_llvm-project_libcxx
f759756c126dcf3f24f7636cf071a4db0f574186
[ "Apache-2.0" ]
null
null
null
test/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp
webrtcmirrors/chromium_llvm-project_libcxx
f759756c126dcf3f24f7636cf071a4db0f574186
[ "Apache-2.0" ]
null
null
null
test/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp
webrtcmirrors/chromium_llvm-project_libcxx
f759756c126dcf3f24f7636cf071a4db0f574186
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
25.723404
85
0.600496
webrtcmirrors
3c92ab6b4300d500a8b9f8314224a28c3b0daa40
5,638
hpp
C++
src/include/def/defrCallBacks.hpp
jinwookjungs/lefdef_parser
32829274d247c418c080328484359a750dae4cec
[ "Apache-2.0" ]
13
2019-04-21T08:09:32.000Z
2022-02-20T03:06:30.000Z
src/include/def/defrCallBacks.hpp
jinwookjungs/lefdef_parser
32829274d247c418c080328484359a750dae4cec
[ "Apache-2.0" ]
3
2019-06-06T02:40:27.000Z
2021-12-01T04:56:20.000Z
src/include/def/defrCallBacks.hpp
jinwookjungs/lefdef_parser
32829274d247c418c080328484359a750dae4cec
[ "Apache-2.0" ]
6
2016-10-21T08:39:35.000Z
2021-01-30T12:38:58.000Z
// ***************************************************************************** // ***************************************************************************** // Copyright 2013, Cadence Design Systems // // This file is part of the Cadence LEF/DEF Open Source // Distribution, Product Version 5.8. // //...
34.802469
80
0.745654
jinwookjungs
3c963c48ed7a3b1a6d6f30426e3a72c66a7ccea8
15,048
cpp
C++
2018/Cpp/day16/part2.cpp
tymscar/Advent-Of-Code
cd7b96b0253191e236bd704b0d8b5540fb3e8ef6
[ "MIT" ]
4
2019-12-08T08:20:53.000Z
2021-12-17T12:04:11.000Z
2018/Cpp/day16/part2.cpp
tymscar/AdventOfCode2018
9742ddb6bbbc917062baad87d6b6de75375f1ae8
[ "MIT" ]
null
null
null
2018/Cpp/day16/part2.cpp
tymscar/AdventOfCode2018
9742ddb6bbbc917062baad87d6b6de75375f1ae8
[ "MIT" ]
4
2020-12-11T22:10:24.000Z
2021-12-25T22:39:05.000Z
#include <iostream> #include <algorithm> #include <fstream> #include <vector> #include <unordered_map> #include <string> std::vector<int> eqrr (int inputOne, int inputTwo, int output, std::vector<int> registorState){ if(registorState[inputOne] == registorState[inputTwo]) registorState[output] = 1; else registor...
37.064039
145
0.692517
tymscar
3c9eb01cb5271cff67030b0ae748d7f85311c5de
2,458
cpp
C++
SurfDetect/integral.cpp
Ewenwan/RVAF
4f6dd3e3fa0ca55b43582995b8eff83c864163eb
[ "BSD-2-Clause" ]
22
2017-08-23T04:46:08.000Z
2021-11-08T08:51:59.000Z
SurfDetect/integral.cpp
Ewenwan/RVAF
4f6dd3e3fa0ca55b43582995b8eff83c864163eb
[ "BSD-2-Clause" ]
1
2017-08-23T12:31:24.000Z
2017-08-23T13:42:09.000Z
SurfDetect/integral.cpp
YangQun1/RVAF
9ee38d8158930c4a4671165f8065952c1d45fef9
[ "BSD-2-Clause" ]
12
2017-10-10T01:52:12.000Z
2020-01-05T14:02:55.000Z
/* SurfDetect // Copyright 2016 Peng Chao, (mail to:me@p-chao.com | http://p-chao.com). Build // this work with opencv > 2.3.1. The program use surf to detect feature points // and generate feature descriptor. You can also directly sample image from video // or camera, a webcamera is necessary if you run the progra...
32.342105
82
0.617575
Ewenwan
3ca0cdf3f18e858a2cac674378757aadfb4bf457
6,183
cpp
C++
lib/sqLITER/test/sqlitertestdataaccess.cpp
tklam/licensing-server
a583ea02fcd290dd3b0665df4b163c94302f3f0b
[ "MIT" ]
null
null
null
lib/sqLITER/test/sqlitertestdataaccess.cpp
tklam/licensing-server
a583ea02fcd290dd3b0665df4b163c94302f3f0b
[ "MIT" ]
null
null
null
lib/sqLITER/test/sqlitertestdataaccess.cpp
tklam/licensing-server
a583ea02fcd290dd3b0665df4b163c94302f3f0b
[ "MIT" ]
null
null
null
#include "sqlitertestdataaccess.h" #define TEST_FILENAME "test.db" csqlitertestdataaccess::csqlitertestdataaccess(void) { } csqlitertestdataaccess::~csqlitertestdataaccess(void) { } void csqlitertestdataaccess::setbasebath(std::string &basepath) { testpath = basepath; fullpath = testpath; fullpath.append(TEST_...
20.140065
97
0.664079
tklam
3ca577b50d33370110df1c57a236191a92213102
457
hpp
C++
include/commonpp/metric/reservoir/types.hpp
deco016/commonpp
ad03dcb6f7dc67359d898016c37a848c855c515b
[ "BSD-2-Clause" ]
32
2015-09-17T20:55:58.000Z
2022-01-24T12:00:39.000Z
include/commonpp/metric/reservoir/types.hpp
deco016/commonpp
ad03dcb6f7dc67359d898016c37a848c855c515b
[ "BSD-2-Clause" ]
7
2015-11-17T21:06:36.000Z
2018-01-30T09:45:15.000Z
include/commonpp/metric/reservoir/types.hpp
deco016/commonpp
ad03dcb6f7dc67359d898016c37a848c855c515b
[ "BSD-2-Clause" ]
11
2015-09-18T09:11:39.000Z
2019-10-06T14:53:22.000Z
/* * File: include/commonpp/metric/reservoir/types.hpp * Part of commonpp. * * Distributed under the 2-clause BSD licence (See LICENCE.TXT file at the * project root). * * Copyright (c) 2015 Thomas Sanchez. All rights reserved. * */ #pragma once namespace commonpp { namespace metric { namespace reservoir { ...
14.741935
74
0.719912
deco016
3ca5ebca20592b48d04d484d09bf44e10da34824
8,325
cpp
C++
soccer/planning/tests/TrajectoryTest.cpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
soccer/planning/tests/TrajectoryTest.cpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
soccer/planning/tests/TrajectoryTest.cpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include <rrt/planning/Path.hpp> #include "TestingUtils.hpp" #include "math.h" #include "planning/Instant.hpp" #include "planning/Trajectory.hpp" #include "planning/planner/PathTargetPlanner.hpp" #include "planning/primitives/PathSmoothing.hpp" #include "planning/primitives/RRTUtil.hpp" #incl...
35.126582
80
0.634715
kasohrab
3ca8d24dcd9171cf7ae5ca2e50cfd0a576b26358
2,100
cpp
C++
functions/+Image/borderFill.cpp
kkapsner/Matlab
98d42184f78b13a4bcb586fab48ad444028163d9
[ "MIT" ]
1
2017-02-12T19:37:17.000Z
2017-02-12T19:37:17.000Z
functions/+Image/borderFill.cpp
kkapsner/Matlab
98d42184f78b13a4bcb586fab48ad444028163d9
[ "MIT" ]
3
2015-01-07T20:12:07.000Z
2018-08-22T18:26:38.000Z
functions/+Image/borderFill.cpp
kkapsner/Matlab
98d42184f78b13a4bcb586fab48ad444028163d9
[ "MIT" ]
null
null
null
#include "mex.h" #include "borderFill/List.cpp" #define idx(dx, dy) (x + dx) * h + y + dy #define check(dx, dy){\ idx = idx(dx, dy);\ if ((image[idx] == image[idx0]) && !outImage[idx]){\ outImage[idx] = 1;\ pixelList.push(x + dx, y + dy);\ }\ } /* * borderFill.cpp */ void mexFunction( i...
22.580645
57
0.439048
kkapsner
3cb2fc5dc695c437874bf7f2b28c374e3ca55c1e
4,449
cpp
C++
src/executable/plot_shasta_alignments.cpp
rlorigro/overlap_analysis
8c8753aeba40c4ba82e0c0499fc8c2f134ba7145
[ "Apache-2.0" ]
null
null
null
src/executable/plot_shasta_alignments.cpp
rlorigro/overlap_analysis
8c8753aeba40c4ba82e0c0499fc8c2f134ba7145
[ "Apache-2.0" ]
null
null
null
src/executable/plot_shasta_alignments.cpp
rlorigro/overlap_analysis
8c8753aeba40c4ba82e0c0499fc8c2f134ba7145
[ "Apache-2.0" ]
null
null
null
#include "SvgPlot.hpp" #include "boost/program_options.hpp" using boost::program_options::options_description; using boost::program_options::variables_map; using boost::program_options::bool_switch; using boost::program_options::value; #include <istream> #include <iostream> #include <functional> using std::experime...
26.963636
134
0.595639
rlorigro
3cb3653e5985a4b3249f736b0957d7bcae5229fa
7,599
cpp
C++
benchmarks/DNN/layers/convolution/direct/unrolled_conv2/conv_layer_generator_tiramisu.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
23
2017-05-03T13:06:34.000Z
2018-06-07T07:12:43.000Z
benchmarks/DNN/layers/convolution/direct/unrolled_conv2/conv_layer_generator_tiramisu.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
2
2017-04-25T08:59:09.000Z
2017-05-11T16:41:55.000Z
benchmarks/DNN/layers/convolution/direct/unrolled_conv2/conv_layer_generator_tiramisu.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
5
2017-02-16T14:26:40.000Z
2018-05-30T16:49:27.000Z
#include <tiramisu/tiramisu.h> #include "configure.h" using namespace tiramisu; int main(int argc, char **argv) { init("conv_tiramisu"); // ------------------------------------------------------- // Layer I // ------------------------------------------------------- var x("x", 0, N), y("y", 0, N),...
35.509346
149
0.627714
akmaru
3cb4849b893113fc861a211801931323b02e049a
414
cpp
C++
RemoveTypeVaArgsT.cpp
DaemonSnake/MetaProgramming
6eed2293b926e4cc856263adf2ce1e00d04f362d
[ "MIT" ]
null
null
null
RemoveTypeVaArgsT.cpp
DaemonSnake/MetaProgramming
6eed2293b926e4cc856263adf2ce1e00d04f362d
[ "MIT" ]
null
null
null
RemoveTypeVaArgsT.cpp
DaemonSnake/MetaProgramming
6eed2293b926e4cc856263adf2ce1e00d04f362d
[ "MIT" ]
null
null
null
// // test.cpp for in /home/penava_b // // Made by penava_b // Login <penava_b@epitech.net> // // Started on Wed Apr 20 23:55:00 2016 penava_b // Last update Mon Jul 11 14:23:32 2016 penava_b // #include "Mpl.hpp" using namespace MPL; template <class ...Args> class TMP {}; Unit(RemoveType) { using OLD = TMP...
18
49
0.657005
DaemonSnake
3cb4be1441fa63988b82083d7a154bc9e92f13f2
570
cpp
C++
Course Experiment/C Language Course Course Exp/Experiment/No.1 Experiment/1.2.1源程序改错.cpp
XJDKC/University-Code-Archive
2dd9c6edb2164540dc50db1bb94940fe53c6eba0
[ "MIT" ]
4
2019-04-01T17:33:38.000Z
2022-01-08T04:07:52.000Z
Course Experiment/C Language Course Course Exp/Experiment/No.1 Experiment/1.2.1源程序改错.cpp
XJDKC/University-Code-Archive
2dd9c6edb2164540dc50db1bb94940fe53c6eba0
[ "MIT" ]
null
null
null
Course Experiment/C Language Course Course Exp/Experiment/No.1 Experiment/1.2.1源程序改错.cpp
XJDKC/University-Code-Archive
2dd9c6edb2164540dc50db1bb94940fe53c6eba0
[ "MIT" ]
1
2021-01-06T11:04:31.000Z
2021-01-06T11:04:31.000Z
#include<stdio.h> #define PI 3.14159 int main(void) { int f; short p,k,newint; double c ,r,s; /* for task 1 */ printf("Input Fahrenheit:"); scanf("%d",&f); c = 5.0/9*(f-32); printf(" \n %d (F) = %.2f (C)\n\n ", f,c); /* for task 2 */ printf("input the radius r:"); scanf("%lf...
22.8
46
0.484211
XJDKC
3cb6b170b6cb89fd04156d5a35c905f27952ebb8
2,593
cpp
C++
homescreen/src/statusbarserver.cpp
hungsonspkt/homescreen
57d13f02f6904a95fd14a3bcaf9ea80b4176f76d
[ "Apache-2.0" ]
null
null
null
homescreen/src/statusbarserver.cpp
hungsonspkt/homescreen
57d13f02f6904a95fd14a3bcaf9ea80b4176f76d
[ "Apache-2.0" ]
null
null
null
homescreen/src/statusbarserver.cpp
hungsonspkt/homescreen
57d13f02f6904a95fd14a3bcaf9ea80b4176f76d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2016 The Qt Company Ltd. * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH * * 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://w...
29.134831
89
0.70806
hungsonspkt
3cb71a962e4f3a3b6457b7da63990ad75ca6ab3d
5,490
cpp
C++
lib_ecm/components/cmp_text.cpp
OlavJDigranes/groupD
1d1fdd4ec0117162d777d0c020cbf4ae1718cf5f
[ "MIT" ]
null
null
null
lib_ecm/components/cmp_text.cpp
OlavJDigranes/groupD
1d1fdd4ec0117162d777d0c020cbf4ae1718cf5f
[ "MIT" ]
null
null
null
lib_ecm/components/cmp_text.cpp
OlavJDigranes/groupD
1d1fdd4ec0117162d777d0c020cbf4ae1718cf5f
[ "MIT" ]
null
null
null
#include "cmp_text.h" #include <system_renderer.h> #include <system_resources.h> using namespace sf; //General text component void TextComponent::update(double dt) { _text.setPosition(_parent->getPosition()); } void TextComponent::render() { Renderer::queue(&_text); } TextComponent::TextComponent(Entity* cons...
28.010204
109
0.710383
OlavJDigranes
3cb75be46872481ade8889cd1a56a2648c33cadc
18,864
cc
C++
chrome/browser/paint_preview/paint_preview_browsertest.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/paint_preview/paint_preview_browsertest.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/paint_preview/paint_preview_browsertest.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 2019 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 "base/base64.h" #include "base/bind.h" #include "base/files/file_path.h" #include "base/files/file_util.h" #include "base/files/scoped_temp_dir.h...
41.459341
96
0.657496
iridium-browser
3cb9f6b82085bc2d44866a0ba13ab36b65fe6494
8,248
cc
C++
ash/display/display_configuration_controller.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
ash/display/display_configuration_controller.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ash/display/display_configuration_controller.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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 "ash/display/display_configuration_controller.h" #include "ash/display/display_animator.h" #include "ash/display/display_util.h" #include "ash/d...
34.366667
78
0.771581
zipated
3cba9e6d5b3aa71faded3c8bbef606d2d265971b
3,039
c++
C++
extra/xftp/tests/test2.c++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
extra/xftp/tests/test2.c++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
extra/xftp/tests/test2.c++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
#include <libstreamcon/sctpconnection.h++> #include <libstreamcon/databuffer.h++> #include <libstreamcon/stream.h++> #include <sys/time.h> #include <libstreamcon/sctpclient.h++> #include <libstreamcon/iofilters/tlsfilter.h++> using namespace streamcon; Mutex mutex; #define KEYFILE "client.pem" #define PASSWORD "pass...
22.021739
88
0.629483
maciek-27
3cbd1157b6c5be92bc2ea6aa85a5a88de15a339c
13,744
cpp
C++
Libs/Visualization/VTK/Core/ctkVTKConnection.cpp
lassoan/CTK
ba271a053217d26e90dee35837cd3979c3bb5b8b
[ "Apache-2.0" ]
1
2015-05-13T02:09:20.000Z
2015-05-13T02:09:20.000Z
Libs/Visualization/VTK/Core/ctkVTKConnection.cpp
medInria/CTK
00694c9f8a0da6ee28fb079902e6a8c3ec428058
[ "Apache-2.0" ]
null
null
null
Libs/Visualization/VTK/Core/ctkVTKConnection.cpp
medInria/CTK
00694c9f8a0da6ee28fb079902e6a8c3ec428058
[ "Apache-2.0" ]
1
2018-10-21T12:09:24.000Z
2018-10-21T12:09:24.000Z
/*========================================================================= Library: CTK Copyright (c) Kitware 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.ap...
30.747204
111
0.525902
lassoan
3cbd5a684a6a6271146f5745dcb39a6e76042baa
12,275
cpp
C++
orbsvcs/Notify/MonitorControlExt/MonitorEventChannelFactory.cpp
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
orbsvcs/Notify/MonitorControlExt/MonitorEventChannelFactory.cpp
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
orbsvcs/Notify/MonitorControlExt/MonitorEventChannelFactory.cpp
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
// $Id$ #include "orbsvcs/Notify/MonitorControlExt/MonitorEventChannelFactory.h" #include "orbsvcs/Notify/MonitorControlExt/NotifyMonitoringExtC.h" #include "orbsvcs/Notify/MonitorControlExt/MonitorEventChannel.h" #include "orbsvcs/Notify/MonitorControl/Dynamic_Statistic.h" #include "orbsvcs/Notify/Properties.h" #incl...
27.834467
76
0.582811
binary42
3cbd6853c10d29c70ee6b9947316bb549c042402
411
cpp
C++
Alphabetic Patterns/alphabeticpattern56.cpp
Kajal13081/CPlusPlus-PatternHouse
257270f9b01e099f9c13f5bde39f07172f5474c0
[ "MIT" ]
4
2021-09-21T03:43:26.000Z
2022-01-07T03:07:56.000Z
Alphabetic Patterns/alphabeticpattern56.cpp
Kajal13081/CPlusPlus-PatternHouse
257270f9b01e099f9c13f5bde39f07172f5474c0
[ "MIT" ]
916
2021-09-01T15:40:24.000Z
2022-01-10T17:57:59.000Z
Alphabetic Patterns/alphabeticpattern56.cpp
Kajal13081/CPlusPlus-PatternHouse
257270f9b01e099f9c13f5bde39f07172f5474c0
[ "MIT" ]
20
2021-09-30T18:13:58.000Z
2022-01-06T09:55:36.000Z
#include<bits/stdc++.h> using namespace std; int main() { int cur_char=4; //(A+4 =E) for (int i=0;i<5;i++) { int inc=0; for (int j=i;j<i+5;j++) { inc=j; if(inc>cur_char) inc=inc-cur_char-1; //if char is > E , char is A ...
21.631579
82
0.372263
Kajal13081
3cbd9c86363034b011acf78b8abdb64e698e2e43
3,665
cpp
C++
mogupro/game/src/Sound/cIntroLoopableBGM.cpp
desspert/mogupro
ac39f5ec3fb670cf5044ef501951270d7d92a748
[ "MIT" ]
null
null
null
mogupro/game/src/Sound/cIntroLoopableBGM.cpp
desspert/mogupro
ac39f5ec3fb670cf5044ef501951270d7d92a748
[ "MIT" ]
null
null
null
mogupro/game/src/Sound/cIntroLoopableBGM.cpp
desspert/mogupro
ac39f5ec3fb670cf5044ef501951270d7d92a748
[ "MIT" ]
null
null
null
#include <Sound/cIntroLoopableBGM.h> #include <cinder/app/App.h> #include <Utility/cScheduler.h> namespace Sound { cIntroLoopableBGM::cIntroLoopableBGM( ) { alGenSources( 1, &source ); } cIntroLoopableBGM::~cIntroLoopableBGM( ) { if ( source != 0 ) { stop( ); alDeleteSources( 1, &source ); } if ( introId != 0 ...
25.10274
172
0.687312
desspert
3cbf4c7b482bbf9aad85eed5762b795f1b257b79
2,020
cpp
C++
src/ui/Windows/TBMStatic.cpp
rafaelx/pwsafe
173a5c16ae2f9071efa67f628d21c30d4486effd
[ "Artistic-2.0" ]
null
null
null
src/ui/Windows/TBMStatic.cpp
rafaelx/pwsafe
173a5c16ae2f9071efa67f628d21c30d4486effd
[ "Artistic-2.0" ]
null
null
null
src/ui/Windows/TBMStatic.cpp
rafaelx/pwsafe
173a5c16ae2f9071efa67f628d21c30d4486effd
[ "Artistic-2.0" ]
null
null
null
/* * Copyright (c) 2003-2019 Rony Shapiro <ronys@pwsafe.org>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2.0.php */ // TBMStatic.cpp : im...
27.297297
81
0.676733
rafaelx
3cc475c5f1d5bdec62d26b69d397cbd2a528b9c2
76,727
cpp
C++
src/hpack.cpp
jonathonl/IPSuite
76dfd7913388851c6714645252b2caa3c5596dcc
[ "MIT" ]
1
2016-03-01T15:23:13.000Z
2016-03-01T15:23:13.000Z
src/hpack.cpp
jonathonl/IPSuite
76dfd7913388851c6714645252b2caa3c5596dcc
[ "MIT" ]
null
null
null
src/hpack.cpp
jonathonl/IPSuite
76dfd7913388851c6714645252b2caa3c5596dcc
[ "MIT" ]
null
null
null
#include <cmath> #include <assert.h> #include <iostream> #include "hpack.hpp" namespace std { template <> struct hash<std::pair<std::string,std::string>> { std::size_t operator()(const std::pair<std::string,std::string>& k) const { // Compute individual hash values for first, // second and ...
74.132367
204
0.37855
jonathonl
3cc56bf3287b00c9261fbea80a9f7b9177dab509
10,096
cpp
C++
source/deepnetvideo/source/deepnetvideo.cpp
hyphaproject/hyphaplugins
b41b396392c5546e3c2802bfc34213c5da04fdf4
[ "MIT" ]
null
null
null
source/deepnetvideo/source/deepnetvideo.cpp
hyphaproject/hyphaplugins
b41b396392c5546e3c2802bfc34213c5da04fdf4
[ "MIT" ]
1
2017-02-18T10:51:07.000Z
2017-02-18T10:51:07.000Z
source/deepnetvideo/source/deepnetvideo.cpp
hyphaproject/hyphaplugins
b41b396392c5546e3c2802bfc34213c5da04fdf4
[ "MIT" ]
null
null
null
// Copyright (c) 2015-2016 Hypha #include "hyphaplugins/deepnetvideo/deepnetvideo.h" #include <cmath> #include <cstdlib> #include <exception> #include <fstream> #include <iostream> #include <sstream> #include <stdexcept> #include <thread> #include <vector> #include <boost/filesystem.hpp> #include <boost/foreach.hpp>...
28.280112
91
0.630349
hyphaproject
3cc5e04a4bf2135ad3f0d4602ff3053dd7b68376
3,533
cpp
C++
FallingSandSurvival/IngameUI.cpp
PieKing1215/FallingSandSurvival
04e11940b5bd6bc867e880d7dd656ab32035a241
[ "BSD-3-Clause" ]
70
2020-06-06T16:13:41.000Z
2022-03-24T15:49:09.000Z
FallingSandSurvival/IngameUI.cpp
PieKing1215/FallingEverythingSurvival
e2c8a0761794c9603591a5670d08c07c7ffb3b90
[ "BSD-3-Clause" ]
13
2020-05-06T23:05:41.000Z
2022-02-21T19:47:09.000Z
FallingSandSurvival/IngameUI.cpp
PieKing1215/FallingEverythingSurvival
e2c8a0761794c9603591a5670d08c07c7ffb3b90
[ "BSD-3-Clause" ]
19
2020-09-04T02:18:16.000Z
2022-03-24T22:19:11.000Z
#include "UIs.hpp" #include "DiscordIntegration.hpp" #define timegm _mkgmtime #define BUILD_WITH_EASY_PROFILER #include <easy/profiler.h> #include "ProfilerConfig.hpp" int IngameUI::state = 0; bool IngameUI::visible = false; bool IngameUI::setup = false; void IngameUI::Setup() { } void IngameUI::Draw(Game* game...
31.265487
165
0.667988
PieKing1215
3cc61b71355a32cd0cd93491fbd5e80ad54be055
11,005
cc
C++
src/common/zp_conf.cc
CatKang/zeppelin
25b329d910d55465a04959e21daa92790ed7b361
[ "Apache-2.0" ]
413
2017-03-21T00:31:26.000Z
2022-03-07T12:03:25.000Z
src/common/zp_conf.cc
CatKang/zeppelin
25b329d910d55465a04959e21daa92790ed7b361
[ "Apache-2.0" ]
21
2017-05-10T14:40:46.000Z
2018-02-03T18:19:15.000Z
src/common/zp_conf.cc
CatKang/zeppelin
25b329d910d55465a04959e21daa92790ed7b361
[ "Apache-2.0" ]
92
2017-03-22T09:57:14.000Z
2022-02-10T01:20:57.000Z
#include "include/zp_conf.h" #include "include/zp_const.h" #include "slash/include/base_conf.h" static int64_t BoundaryLimit(int64_t target, int64_t floor, int64_t ceil) { target = (target < floor) ? floor : target; target = (target > ceil) ? ceil : target; return target; } ZpConf::ZpConf(const std::string& pa...
54.480198
111
0.750204
CatKang
3cc97f66eafcd6fce27974d471ff9df22021f2e1
2,079
cxx
C++
examples/40-numcxx-pde/40-stationary-heat-fe.cxx
j-fu/numcxx
463ef36ee0744af5513e6b5b24342f5323be6ff0
[ "MIT" ]
null
null
null
examples/40-numcxx-pde/40-stationary-heat-fe.cxx
j-fu/numcxx
463ef36ee0744af5513e6b5b24342f5323be6ff0
[ "MIT" ]
null
null
null
examples/40-numcxx-pde/40-stationary-heat-fe.cxx
j-fu/numcxx
463ef36ee0744af5513e6b5b24342f5323be6ff0
[ "MIT" ]
null
null
null
/// /// \example 40-stationary-heat-fe.cxx /// /// Finite element method for stationary heat equation /// #include <cstdio> #include <iostream> #include <ctime> #include <cmath> #include <numcxx/numcxx.hxx> #include <numcxx/simplegrid.hxx> #include <numcxx/fem2d.hxx> #ifdef VTKFIG #include "numcxx/vtkfig-simplegrid.hx...
17.922414
75
0.619529
j-fu
3ccb6d80a8375549608877f466f71d6b9e570101
9,644
cpp
C++
f9_os/src/f9/ipc.cpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
null
null
null
f9_os/src/f9/ipc.cpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
null
null
null
f9_os/src/f9/ipc.cpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
1
2020-03-08T01:08:38.000Z
2020-03-08T01:08:38.000Z
/* * ipc.cpp * * Created on: May 18, 2017 * Author: Paul */ #include "ipc.hpp" #include "thread.hpp" #include "schd.hpp" #include "fpage.hpp" #include "ktimer.hpp" namespace f9 { extern tcb_t *caller; /* Imports from thread.c */ extern tcb_t *thread_map[]; extern int thread_count; static void user_i...
25.717333
113
0.616964
ghsecuritylab
3cce0ade454ad1af19c8bdb9f4c304f18994e4aa
577
hpp
C++
src/Components/SatteliteBody.hpp
ananace/LD45
73687658323c81e563ead4e8f36afb89cbf27232
[ "MIT" ]
null
null
null
src/Components/SatteliteBody.hpp
ananace/LD45
73687658323c81e563ead4e8f36afb89cbf27232
[ "MIT" ]
null
null
null
src/Components/SatteliteBody.hpp
ananace/LD45
73687658323c81e563ead4e8f36afb89cbf27232
[ "MIT" ]
1
2020-03-30T05:00:54.000Z
2020-03-30T05:00:54.000Z
#pragma once #include <entt/entity/fwd.hpp> namespace Components { struct SatteliteBody { entt::entity Orbiting; float Distance, Speed; float CurrentAngle; SatteliteBody() : Distance{}, Speed{}, CurrentAngle{} { } SatteliteBody(entt::entity aOrbiting, float aDistance, float aSpeed) : Orbiting(a...
27.47619
184
0.729636
ananace
3cced1a593e29b215c4b5d63e17fbc685eba9ae6
528
cpp
C++
shared/offline_compiler/source/utilities/linux/get_path.cpp
raiyanla/compute-runtime
43433244f9d17e9c989116808757705754ddbfee
[ "MIT" ]
1
2020-04-17T05:46:04.000Z
2020-04-17T05:46:04.000Z
shared/offline_compiler/source/utilities/linux/get_path.cpp
dkjiang2018/compute-runtime
310947e6ddefc4bb9a7a268fc1ee8639155b730c
[ "MIT" ]
null
null
null
shared/offline_compiler/source/utilities/linux/get_path.cpp
dkjiang2018/compute-runtime
310947e6ddefc4bb9a7a268fc1ee8639155b730c
[ "MIT" ]
1
2020-05-25T21:57:51.000Z
2020-05-25T21:57:51.000Z
/* * Copyright (C) 2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include <sstream> #include <string> #include <sys/types.h> #include <unistd.h> std::string getPath() { char exepath[128] = {0}; std::stringstream ss; ss << "/proc/" << getpid() << "/exe"; if (readlink(ss.str().c_str(...
21.12
58
0.558712
raiyanla
3cd0ed5b8d8c9e4a5324fb75f2189e190ff8ac36
149
hpp
C++
pagerank.hpp
gbossi/Pagerank-DOBFS
bfeb88e8778349dee66308a75d9acb2cfc7f57d0
[ "MIT" ]
3
2018-11-19T02:15:40.000Z
2021-04-10T09:40:01.000Z
pagerank.hpp
gbossi/Pagerank-DOBFS
bfeb88e8778349dee66308a75d9acb2cfc7f57d0
[ "MIT" ]
null
null
null
pagerank.hpp
gbossi/Pagerank-DOBFS
bfeb88e8778349dee66308a75d9acb2cfc7f57d0
[ "MIT" ]
1
2021-09-19T02:01:03.000Z
2021-09-19T02:01:03.000Z
#ifndef _PAGERANK_HPP_ #define _PAGERANK_HPP_ #include "graph.hpp" #include <boost/graph/page_rank.hpp> void pagerank(Graph&, double, int); #endif
16.555556
36
0.771812
gbossi
3cd1f94d974c2298039d4de584a8e42861372ace
546
cpp
C++
Data_Structures/Stacks/largest_area_hist.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
11
2020-03-20T17:24:28.000Z
2022-01-08T02:43:24.000Z
Data_Structures/Stacks/largest_area_hist.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
1
2021-07-25T11:24:46.000Z
2021-07-25T12:09:25.000Z
Data_Structures/Stacks/largest_area_hist.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
4
2020-03-20T17:24:36.000Z
2021-12-07T19:22:59.000Z
// Given an array of integers A of size N. A represents a histogram i.e A[i] denotes height of // the ith histogram’s bar. Width of each bar is 1. // Largest Rectangle in Histogram: Example 1 // Above is a histogram where width of each bar is 1, given height = [2,1,5,6,2,3]. // // | | | | | | // | | | | | // |...
24.818182
94
0.611722
abhishekjha786
3cd35c24450e778221b75c946dbf8b72a7134df7
1,023
cpp
C++
Outer.Tlibc/puts.cpp
lusores/ABRViewer
64d3172651a904908589fc91276366ef3ef0489e
[ "MIT" ]
15
2017-05-15T15:52:24.000Z
2022-03-23T06:48:48.000Z
Outer.Tlibc/puts.cpp
lusores/ABRViewer
64d3172651a904908589fc91276366ef3ef0489e
[ "MIT" ]
null
null
null
Outer.Tlibc/puts.cpp
lusores/ABRViewer
64d3172651a904908589fc91276366ef3ef0489e
[ "MIT" ]
4
2017-09-07T10:55:36.000Z
2021-01-29T08:51:01.000Z
// puts.cpp // based on: // LIBCTINY - Matt Pietrek 2001 // MSDN Magazine, January 2001 // 08/12/06 (mv) #include <windows.h> #include <stdio.h> #include "libct.h" EXTERN_C int puts(const char *s) { //DWORD cbWritten; //HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE); int bw = fwrite(s, ...
23.25
70
0.621701
lusores
3cd42c4dde6728380c810484ae70bf7e3d25ba9e
349
cpp
C++
RPi3/src/apps/botgui/botgui_main.cpp
sahibdhanjal/SLAM
f1f688253c61b27ca6acfdfb353f1d3127b53422
[ "MIT" ]
1
2020-09-20T15:03:56.000Z
2020-09-20T15:03:56.000Z
RPi3/src/apps/botgui/botgui_main.cpp
sahibdhanjal/SLAM
f1f688253c61b27ca6acfdfb353f1d3127b53422
[ "MIT" ]
null
null
null
RPi3/src/apps/botgui/botgui_main.cpp
sahibdhanjal/SLAM
f1f688253c61b27ca6acfdfb353f1d3127b53422
[ "MIT" ]
2
2019-06-29T04:21:35.000Z
2020-12-31T01:33:24.000Z
#include <apps/botgui/botgui.hpp> #include <thread> int main(int argc, char** argv) { lcm::LCM lcmInstance(MULTICAST_URL); BotGui gui(&lcmInstance, argc, argv, 1000, 800, 15); std::thread lcmThread([&]() { while(true) { lcmInstance.handleTimeout(100); } }); gui...
18.368421
56
0.558739
sahibdhanjal
3cd65db0773149765563238fdcc2b5d83f2573f5
1,186
hpp
C++
src/io/ValueReader.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
2
2018-07-04T16:44:04.000Z
2021-01-03T07:26:27.000Z
src/io/ValueReader.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
src/io/ValueReader.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
#pragma once #include <cstring> #include "DOFVector.hpp" #include "Mesh.hpp" namespace AMDiS { namespace io { /** \ingroup Input * * \brief * Namespace of methods which read a value file in AMDiS format and copies * the data to a DOF vector. */ namespace ValueReader { ...
24.708333
78
0.546374
spraetor
3cd81ef6a18b78c954d4582e7a416f2c29046c61
1,071
cpp
C++
015_K-means_Clustering/src/main.cpp
DreamWaterFound/Codes
e7d80eb8bfd7d6f104abd18724cb4bface419233
[ "WTFPL" ]
13
2019-02-28T14:28:23.000Z
2021-12-04T04:55:19.000Z
015_K-means_Clustering/src/main.cpp
DreamWaterFound/Codes
e7d80eb8bfd7d6f104abd18724cb4bface419233
[ "WTFPL" ]
1
2019-09-07T09:00:50.000Z
2019-12-04T02:13:25.000Z
015_K-means_Clustering/src/main.cpp
DreamWaterFound/Codes
e7d80eb8bfd7d6f104abd18724cb4bface419233
[ "WTFPL" ]
1
2020-03-11T16:47:31.000Z
2020-03-11T16:47:31.000Z
#include <iostream> #include <Samples.hpp> #include <string> #include <sstream> #include "K_means.hpp" using namespace std; int main(int argc, char* argv[]) { cout<<"K-means Test."<<endl; if(argc!=4) { cout<<"Usage: "<<argv[0]<<" samples_path class_num iter_max"<<endl; cout<<"Ex: "<<argv...
16.227273
94
0.545285
DreamWaterFound
3cdab58da4e4554659c05cf219e29eb49661f564
2,023
cpp
C++
Engine/Source/Runtime/Engine/Private/Animation/AnimNode_TwoWayBlend.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/Engine/Private/Animation/AnimNode_TwoWayBlend.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/Engine/Private/Animation/AnimNode_TwoWayBlend.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "EnginePrivate.h" #include "Animation/AnimNode_TwoWayBlend.h" ///////////////////////////////////////////////////// // FAnimationNode_TwoWayBlend void FAnimationNode_TwoWayBlend::Initialize(const FAnimationInitializeContext& Context) { A.Initiali...
24.083333
143
0.729115
PopCap
3cdaf3e549e4b46c74a65872b950438eb65b0ac3
1,254
cc
C++
src/sys/fuzzing/common/testing/module.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
src/sys/fuzzing/common/testing/module.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2021-09-19T21:55:09.000Z
2021-12-19T03:34:53.000Z
src/sys/fuzzing/common/testing/module.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
1
2021-08-23T11:33:57.000Z
2021-08-23T11:33:57.000Z
// Copyright 2021 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 "src/sys/fuzzing/common/testing/module.h" #include <lib/syslog/cpp/macros.h> #include <random> namespace fuzzing { FakeModule::FakeModule(uint...
25.08
73
0.6874
allansrc
3cdb20a16e515f11cf2bb3edbdc74c1bc48f4121
8,225
cpp
C++
searchlib/src/vespa/searchlib/features/text_similarity_feature.cpp
leisureshadow/vespa
28a35b8d53cbd6dda54eb141e29b12584b297410
[ "Apache-2.0" ]
null
null
null
searchlib/src/vespa/searchlib/features/text_similarity_feature.cpp
leisureshadow/vespa
28a35b8d53cbd6dda54eb141e29b12584b297410
[ "Apache-2.0" ]
null
null
null
searchlib/src/vespa/searchlib/features/text_similarity_feature.cpp
leisureshadow/vespa
28a35b8d53cbd6dda54eb141e29b12584b297410
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "text_similarity_feature.h" #include <vespa/searchlib/fef/itermdata.h> #include <vespa/searchlib/fef/featurenamebuilder.h> namespace search::features { using CollectionType = fef::FieldInfo...
36.71875
118
0.590517
leisureshadow
3cde63f230a04be8f62f33b544448e08f254b472
996
cpp
C++
925-long-pressed-name/925-long-pressed-name.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
925-long-pressed-name/925-long-pressed-name.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
925-long-pressed-name/925-long-pressed-name.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
class Solution { public: vector<pair<char,int>> compress(string &s){ vector<pair<char,int>> res; int curr = 0; int i = 0; while(i < s.length()){ int cnt = 0; while(i < s.length() && i >= curr && s[curr] == s[i]){ i++; ...
26.918919
66
0.420683
shreydevep
3cdf6e8831a9d46e590dae9f619bfa9ac48221aa
338
cc
C++
skia/ext/platform_device_linux.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
skia/ext/platform_device_linux.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
skia/ext/platform_device_linux.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2006-2008 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 "skia/ext/platform_device_linux.h" namespace skia { PlatformDevice::PlatformDevice(const SkBitmap& bitmap) : SkDevice(bitmap) { } } ...
26
75
0.748521
rwatson