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
109
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
48.5k
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
6df79c99a5a5b748cfee99a1a127d7dc24fbd7e7
886
cpp
C++
src/remove-duplicates-from-sorted-list.cpp
Liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
9
2015-09-09T20:28:31.000Z
2019-05-15T09:13:07.000Z
src/remove-duplicates-from-sorted-list.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2015-02-25T13:10:09.000Z
2015-02-25T13:10:09.000Z
src/remove-duplicates-from-sorted-list.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2016-08-31T19:14:52.000Z
2016-08-31T19:14:52.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: void deleteNode(ListNode* &front, ListNode* &rear) { if (front && rear) { front->next = rear->next; rear = fro...
21.095238
56
0.454853
Liuchang0812
6df9fc911a91003d2720ec935028cb47bc9fba9e
473
cpp
C++
problem_solving/CodeForces/274A/18761704_AC_124ms_3968kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
2
2020-09-02T12:07:47.000Z
2020-11-17T11:17:16.000Z
problem_solving/CodeForces/274A/18761704_AC_124ms_3968kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
null
null
null
problem_solving/CodeForces/274A/18761704_AC_124ms_3968kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
4
2020-08-11T14:23:34.000Z
2020-11-17T10:52:31.000Z
#include <bits/stdc++.h> #define le 100005 #define ll long long int using namespace std; set<ll> st; ll n[le]; int main(){ //freopen("input.txt", "r", stdin); int len, a, b; ll m; scanf("%lld %lld", &len, &m); for(int i = 0; i < len; scanf("%lld", &n[i]), i++); sort(n, n + len); for(int i = 0; i < len; i+...
20.565217
53
0.5074
cosmicray001
a302f908ae638211ad933252152e4ecc29f1316b
15,085
hpp
C++
System.Core/include/Switch/System/Threading/ThreadPool.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
4
2021-10-14T01:43:00.000Z
2022-03-13T02:16:08.000Z
System.Core/include/Switch/System/Threading/ThreadPool.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
null
null
null
System.Core/include/Switch/System/Threading/ThreadPool.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
2
2022-03-13T02:16:06.000Z
2022-03-14T14:32:57.000Z
/// @file /// @brief Contains Switch::System::Threading::ThreadPool class. #pragma once #include "../../Types.hpp" #include "../../RefPtr.hpp" #include "../../Static.hpp" #include "../TimeSpan.hpp" #include "../Collections/Generic/List.hpp" #include "Thread.hpp" #include "RegisteredWaitHandle.hpp" #include "WaitCallba...
80.239362
349
0.742459
kkptm
a305a169228eceeac7bc4f8c8c6835624d5246d8
717
cpp
C++
Library/Private/Pegasus/Public/Pegasus/IndexBase.cpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
3
2021-06-02T05:06:48.000Z
2022-01-26T09:39:44.000Z
Library/Private/Pegasus/Public/Pegasus/IndexBase.cpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
Library/Private/Pegasus/Public/Pegasus/IndexBase.cpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
#include <Pegasus/IndexBase.hpp> #include <Pegasus/Storage.hpp> namespace Emergence::Pegasus { bool IndexBase::CanBeDropped () const noexcept { // Self reference is always here. return GetReferenceCount () <= 1u && activeCursors == 0u; } const StandardLayout::Mapping &IndexBase::GetRecordMapping () const noex...
28.68
96
0.730823
KonstantinTomashevich
a309a6f52f6e4d572f21ef3410ba2f33ac1c40b5
7,620
cpp
C++
src/widgets/numformatter.cpp
Evropa1/audacity
3be57fce49d293bd64cb0904b3883c885503ab2e
[ "CC-BY-3.0" ]
21
2015-08-02T20:43:37.000Z
2022-02-06T04:19:16.000Z
src/widgets/numformatter.cpp
Evropa1/audacity
3be57fce49d293bd64cb0904b3883c885503ab2e
[ "CC-BY-3.0" ]
null
null
null
src/widgets/numformatter.cpp
Evropa1/audacity
3be57fce49d293bd64cb0904b3883c885503ab2e
[ "CC-BY-3.0" ]
3
2016-05-15T05:35:57.000Z
2018-09-21T20:50:11.000Z
///////////////////////////////////////////////////////////////////////////// // // Backport from wxWidgets-3.0-rc1 // ///////////////////////////////////////////////////////////////////////////// // Name: src/common/numformatter.cpp // Purpose: NumberFormatter // Author: Fulvio Senore, Vadim Zeitlin //...
28.539326
87
0.55315
Evropa1
a30c60ff2aeca437a3aacc432563da53b1e9924d
520
cpp
C++
libs/opencl/src/opencl/memory_object/create_image_format.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/opencl/src/opencl/memory_object/create_image_format.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/opencl/src/opencl/memory_object/create_image_format.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/opencl/memory_object/create_image_format.hpp> cl_image_format sge::opencl::memory_ob...
32.5
100
0.753846
cpreh
a30f41fabd942b546abb29c9023c42d10fc333bb
1,389
cpp
C++
uHunt series 2015/Session 1 (Warming Up - Ad Hoc Problems)/1586 - Molar mass.cpp
Sohieeb/competitive-programming
fe3fca0d4d2a242053d097c7ae71667a135cfc45
[ "MIT" ]
1
2020-01-30T20:08:24.000Z
2020-01-30T20:08:24.000Z
uHunt series 2015/Session 1 (Warming Up - Ad Hoc Problems)/1586 - Molar mass.cpp
Sohieb/competitive-programming
fe3fca0d4d2a242053d097c7ae71667a135cfc45
[ "MIT" ]
null
null
null
uHunt series 2015/Session 1 (Warming Up - Ad Hoc Problems)/1586 - Molar mass.cpp
Sohieb/competitive-programming
fe3fca0d4d2a242053d097c7ae71667a135cfc45
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using namespace __gnu_cxx; typedef double db; typedef long long ll; typedef pair<db, db> pdd; typedef pair<ll, ll> pll; typedef pair<int, int> pii; typedef unsigned long long ull; #define F first #define S second #define pnl printf("\n") #define ...
21.045455
45
0.465803
Sohieeb
a30f9a1197ed08756ef282821eb18f79c63c19d1
1,214
cpp
C++
GameEngineCore/AnimationControllerActor.cpp
csyonghe/spire-engine
9c98b277a6643688365f9ce308e8621d90af9c97
[ "MIT" ]
60
2016-12-02T17:12:51.000Z
2022-01-23T09:23:19.000Z
GameEngineCore/AnimationControllerActor.cpp
csyonghe/spire-engine
9c98b277a6643688365f9ce308e8621d90af9c97
[ "MIT" ]
5
2016-11-14T21:18:57.000Z
2019-07-12T04:01:12.000Z
GameEngineCore/AnimationControllerActor.cpp
csyonghe/spire-engine
9c98b277a6643688365f9ce308e8621d90af9c97
[ "MIT" ]
11
2016-11-14T21:11:46.000Z
2020-09-10T07:29:01.000Z
#include "AnimationControllerActor.h" #include "Engine.h" #include "MeshBuilder.h" namespace GameEngine { void AnimationControllerActor::TimeChanged() { EvalAnimation(Time.GetValue()); } void AnimationControllerActor::IsPlayingChanged() { } SkeletalMeshActor * AnimationControllerAct...
26.977778
84
0.60626
csyonghe
a3184b440d91969cf3dbb7c101ce800dbc4ba915
25,445
cpp
C++
dbbrain/src/v20210527/model/SlowLogTopSqlItem.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
dbbrain/src/v20210527/model/SlowLogTopSqlItem.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
dbbrain/src/v20210527/model/SlowLogTopSqlItem.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
28.849206
155
0.695972
sinjoywong
a31aa12af5dc2ef9e0082d77174be0a120578d62
5,380
cxx
C++
Qt/Core/pq3DWidgetFactory.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
1
2021-07-31T19:38:03.000Z
2021-07-31T19:38:03.000Z
Qt/Core/pq3DWidgetFactory.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
null
null
null
Qt/Core/pq3DWidgetFactory.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
2
2019-01-22T19:51:40.000Z
2021-07-31T19:38:05.000Z
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ParaView lice...
33.625
93
0.645725
matthb2
a31e845b50b3df7345502861c9d0473c2b0dbbbf
292
cc
C++
utility/std_stubs.cc
natersoz/nrf
f5fd98275e291f02ad53818aee857278ac23d7df
[ "Apache-2.0" ]
3
2018-03-04T19:21:11.000Z
2021-01-15T09:17:53.000Z
utility/std_stubs.cc
natersoz/nrf
f5fd98275e291f02ad53818aee857278ac23d7df
[ "Apache-2.0" ]
37
2018-10-09T04:28:51.000Z
2019-06-07T03:48:39.000Z
utility/std_stubs.cc
natersoz/nrf
f5fd98275e291f02ad53818aee857278ac23d7df
[ "Apache-2.0" ]
null
null
null
/** * @file std_stubs.cc * @copyright (c) 2018, natersoz. Distributed under the Apache 2.0 license. */ #include <cstddef> // Under gcc using virtual destructors, even when no malloc is involved, // requires a delete operator to satisy the linker. void operator delete(void*, size_t) {}
22.461538
75
0.719178
natersoz
a3216796b291da88a868b848bbb35ac4b32c75c4
2,184
cpp
C++
src/Engine/EngineSettings.cpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
src/Engine/EngineSettings.cpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
src/Engine/EngineSettings.cpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
#include <sstream> #include <filesystem> #include "System/Locator.hpp" #include "Engine/Preferences.hpp" #include "Engine/EngineSettings.hpp" #include "../System/_Util.hpp" namespace fs = std::filesystem; namespace ng { EngineSettings::EngineSettings() = default; void EngineSettings::loadPacks() { auto devPath = ng...
28.736842
105
0.624542
Mac1512
a321c313fdbc1d18d9ff11bd7aed31a2b4491599
1,276
cpp
C++
src/battery.cpp
underscoredotspace/watchy-revolution
9403314a47e53565e36172c37a75d9622657c51f
[ "MIT" ]
null
null
null
src/battery.cpp
underscoredotspace/watchy-revolution
9403314a47e53565e36172c37a75d9622657c51f
[ "MIT" ]
null
null
null
src/battery.cpp
underscoredotspace/watchy-revolution
9403314a47e53565e36172c37a75d9622657c51f
[ "MIT" ]
null
null
null
#include "battery.h" #include <esp_adc_cal.h> #include "Watchy.h" // for logging macros namespace Watchy { esp_adc_cal_characteristics_t *getADCCharacteristics() { static esp_adc_cal_characteristics_t *adc_chars; // default is nullptr if (!adc_chars) { // only initialize it if we're actually go...
35.444444
79
0.719436
underscoredotspace
a324632ff8f265c48f23dc594f631de7a5a1641b
2,904
cc
C++
cpp/Max_submatrix_rectangle.cc
iskhanba/epicode
fda752e5e016ab64011083450be91bec9ee8358a
[ "MIT" ]
null
null
null
cpp/Max_submatrix_rectangle.cc
iskhanba/epicode
fda752e5e016ab64011083450be91bec9ee8358a
[ "MIT" ]
null
null
null
cpp/Max_submatrix_rectangle.cc
iskhanba/epicode
fda752e5e016ab64011083450be91bec9ee8358a
[ "MIT" ]
null
null
null
// Copyright (c) 2013 Elements of Programming Interviews. All rights reserved. #include <algorithm> #include <cassert> #include <deque> #include <iostream> #include <limits> #include <random> #include <vector> #include "./Max_submatrix_rectangle_brute_force.h" using std::cout; using std::default_random_engine; using...
31.225806
82
0.495179
iskhanba
a325b3ab4f22f8e883e3edf77e2400740cac78ca
2,795
hpp
C++
streams/file_data_provider.hpp
aamshukov/compression
3dd06242601798469145feddcd7441f295608454
[ "MIT" ]
1
2019-07-08T17:33:26.000Z
2019-07-08T17:33:26.000Z
streams/file_data_provider.hpp
aamshukov/compression
3dd06242601798469145feddcd7441f295608454
[ "MIT" ]
null
null
null
streams/file_data_provider.hpp
aamshukov/compression
3dd06242601798469145feddcd7441f295608454
[ "MIT" ]
null
null
null
//.............................. // UI Lab Inc. Arthur Amshukov . //.............................. #ifndef __COMPRESSION_FILE_DATA_PROVIDER_H__ #define __COMPRESSION_FILE_DATA_PROVIDER_H__ #pragma once BEGIN_NAMESPACE(compression) class file_data_provider : public data_provider<byte> { public: ...
21.666667
97
0.561002
aamshukov
a325c834022c3335b957396c73a31deaaecba407
11,776
cpp
C++
dbms/src/IO/tests/write_buffer_aio.cpp
ssmike/ClickHouse
fafecb3c25a59777ed691c0a1936d66181d4d093
[ "Apache-2.0" ]
5
2018-05-10T14:40:44.000Z
2020-12-13T11:43:15.000Z
dbms/src/IO/tests/write_buffer_aio.cpp
ssmike/ClickHouse
fafecb3c25a59777ed691c0a1936d66181d4d093
[ "Apache-2.0" ]
null
null
null
dbms/src/IO/tests/write_buffer_aio.cpp
ssmike/ClickHouse
fafecb3c25a59777ed691c0a1936d66181d4d093
[ "Apache-2.0" ]
2
2020-05-23T04:55:22.000Z
2020-05-24T11:30:51.000Z
#include <IO/WriteBufferAIO.h> #include <Core/Defines.h> #include <boost/filesystem.hpp> #include <iostream> #include <fstream> #include <streambuf> #include <cstdlib> namespace { namespace fs = boost::filesystem; void run(); void die(const std::string & msg); void runTest(unsigned int num, const std::function<boo...
23.599198
121
0.591882
ssmike
a325fde9a26bb9974619a17beaf032294a21141e
277
cpp
C++
test/compile_time_tests/test_state_invalid_type.cpp
doheide/thistam
2ead48afc88bf8c6073b2558f2749b8ec06ec5ec
[ "MIT" ]
1
2018-09-23T22:10:59.000Z
2018-09-23T22:10:59.000Z
test/compile_time_tests/test_state_invalid_type.cpp
doheide/thism
2ead48afc88bf8c6073b2558f2749b8ec06ec5ec
[ "MIT" ]
null
null
null
test/compile_time_tests/test_state_invalid_type.cpp
doheide/thism
2ead48afc88bf8c6073b2558f2749b8ec06ec5ec
[ "MIT" ]
null
null
null
#include "thism/sm2.h" struct E_Lala; MAKE_EVENT(E_Lala, 0); struct EventList; MAKE_EVENT_LIST(EventList, E_Lala); #include "base_test_sys_sm.h" struct SM_Test; Make_StateMachine( SM_Test, MarkInitialState<S_Main>, S_Tick, S_TickInner, S_TickInnerInner, S_Tack, int );
18.466667
107
0.776173
doheide
a327d419d11e8b17ad297a85ed00ae885bb2d9cf
9,163
cpp
C++
tutorials/displacement_geometry/displacement_geometry_device.cpp
brechtvl/embree
ae029e2ff83bebbbe8742c88aba5b0521aba1a23
[ "Apache-2.0" ]
1,700
2015-01-02T15:40:58.000Z
2022-03-30T19:58:13.000Z
tutorials/displacement_geometry/displacement_geometry_device.cpp
brechtvl/embree
ae029e2ff83bebbbe8742c88aba5b0521aba1a23
[ "Apache-2.0" ]
338
2015-01-06T08:47:31.000Z
2022-03-21T14:32:34.000Z
tutorials/displacement_geometry/displacement_geometry_device.cpp
brechtvl/embree
ae029e2ff83bebbbe8742c88aba5b0521aba1a23
[ "Apache-2.0" ]
346
2015-01-13T09:44:09.000Z
2022-03-31T23:27:37.000Z
// Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "../common/tutorial/tutorial_device.h" namespace embree { /* configuration */ #define EDGE_LEVEL 256.0f #define ENABLE_SMOOTH_NORMALS 0 /* scene data */ RTCScene g_scene = nullptr; /* previous camera position */ Vec3fa old_p; ...
30.851852
134
0.629379
brechtvl
a32950870227c57fad10390ecdb6f71190ec1a9d
2,181
cpp
C++
position-sender/src/positionstreamtest.cpp
keithel/helloworld-capnproto-streamer
946b14465af4ea7ee5bea4d7e521b38abd6f4d1e
[ "Apache-2.0" ]
1
2017-11-03T08:13:04.000Z
2017-11-03T08:13:04.000Z
position-sender/src/positionstreamtest.cpp
keithel/helloworld-capnproto-streamer
946b14465af4ea7ee5bea4d7e521b38abd6f4d1e
[ "Apache-2.0" ]
null
null
null
position-sender/src/positionstreamtest.cpp
keithel/helloworld-capnproto-streamer
946b14465af4ea7ee5bea4d7e521b38abd6f4d1e
[ "Apache-2.0" ]
null
null
null
#include "positionstreamtest.h" #include <iostream> #include <list> #include <vector> #include <capnp/message.h> #include <capnp/serialize.h> #include "position.capnp.h" #include <sys/socket.h> #include <unistd.h> typedef ::kj::Array< ::capnp::word> WordArray; using std::list; using std::vector; vector<unsigned char>...
29.876712
107
0.643283
keithel
a32a93c1f3b358e718cbd8fa2561bd7bb5e8f1c7
8,328
hpp
C++
src/serac/physics/materials/solid_functional_material.hpp
btalamini/serac
f7a1628d05393a3f5efce4d1808a0c3fde9bf188
[ "BSD-3-Clause" ]
null
null
null
src/serac/physics/materials/solid_functional_material.hpp
btalamini/serac
f7a1628d05393a3f5efce4d1808a0c3fde9bf188
[ "BSD-3-Clause" ]
null
null
null
src/serac/physics/materials/solid_functional_material.hpp
btalamini/serac
f7a1628d05393a3f5efce4d1808a0c3fde9bf188
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019-2022, 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 solid_functional_material.hpp * * @brief The material and load types for the solid functional physics ...
31.665399
118
0.673631
btalamini
a32cae8cbd99a6bce6127730c804f34b4a154d9b
2,935
cpp
C++
src/Client/Engine/ParticleHandler.cpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
10
2021-08-17T20:55:52.000Z
2022-03-28T00:45:14.000Z
src/Client/Engine/ParticleHandler.cpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
null
null
null
src/Client/Engine/ParticleHandler.cpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
2
2021-07-05T18:49:56.000Z
2021-07-10T22:03:17.000Z
#include "ParticleHandler.hpp" #include "Converter.hpp" #include <cstring> const float GRAVITY = 38.0f; void ParticleHandler::init(TextureArray* _array, BlockTextureHandler* _textureHandler){ m_blockTextureHandler = _textureHandler; m_textureArray = _array; m_quad.init(); m_shader.load("res/shaders/particle_vert...
34.940476
110
0.718569
fqhd
a32d4b4c9b42b63f5f2e34211f1b019ad161c476
8,790
cpp
C++
ProjectMajestic/Main.cpp
Edgaru089/ProjectMajestic
16cda6f86fd5ad02baedc9481609d6140cdda62a
[ "MIT" ]
1
2018-08-29T06:36:23.000Z
2018-08-29T06:36:23.000Z
ProjectMajestic/Main.cpp
Edgaru089/ProjectMajestic
16cda6f86fd5ad02baedc9481609d6140cdda62a
[ "MIT" ]
null
null
null
ProjectMajestic/Main.cpp
Edgaru089/ProjectMajestic
16cda6f86fd5ad02baedc9481609d6140cdda62a
[ "MIT" ]
null
null
null
#pragma warning(disable:4244) #pragma warning(disable:4018) #define NOMINMAX #include <cstdlib> #include <iostream> #include <fstream> #include <thread> #include <SFML/Graphics.hpp> #include <SFML/Network.hpp> #include "Main.hpp" #include "LogSystem.hpp" #include "App.hpp" using namespace std; void threadRenderi...
27.46875
160
0.686348
Edgaru089
a32e4ee072614de748464cc290a5ed7f3801b5e4
329
cpp
C++
src/engine/camera/FPSCamera.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
null
null
null
src/engine/camera/FPSCamera.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
1
2017-04-05T01:40:02.000Z
2017-04-05T07:36:55.000Z
src/engine/camera/FPSCamera.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
null
null
null
#include "FPSCamera.h" #include <iostream> const GLfloat MAX = 89.99f; const GLfloat MIN = -89.99f; void FPSCamera::rotateRight(const GLfloat & value) { GLfloat v = value; if (theta + value >= MAX) v = MAX - theta; else if (theta + value <= MIN) v = MIN - theta; else v = value; theta += v; FreeCamera::rotateRi...
20.5625
50
0.656535
Armanimani
a32ea93e9fa2c8593e4fbc37c285ce632676b08e
11,711
hpp
C++
ct_core/include/ct/external/cppad/local/erf_op.hpp
vklemm/control-toolbox
f5f8cf9331c0aecd721ff6296154e2a55c72f679
[ "BSD-2-Clause" ]
1
2019-12-01T14:45:18.000Z
2019-12-01T14:45:18.000Z
ct_core/include/external/cppad/local/erf_op.hpp
ADVRHumanoids/ct
774ad978c032fda0ef3c2eed0dc3f25f829df7f8
[ "Apache-2.0" ]
null
null
null
ct_core/include/external/cppad/local/erf_op.hpp
ADVRHumanoids/ct
774ad978c032fda0ef3c2eed0dc3f25f829df7f8
[ "Apache-2.0" ]
1
2021-04-01T20:05:31.000Z
2021-04-01T20:05:31.000Z
// $Id$ # ifndef CPPAD_ERF_OP_HPP # define CPPAD_ERF_OP_HPP # if CPPAD_USE_CPLUSPLUS_2011 /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under...
27.234884
77
0.649389
vklemm
cd144906d5fc8f5fabf2730a824c2fffd7a97435
730
cpp
C++
Problems/Timus/1581_Teamwork/src/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
Problems/Timus/1581_Teamwork/src/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
1
2019-05-09T19:17:00.000Z
2019-05-09T19:17:00.000Z
Problems/Timus/1581_Teamwork/src/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
/* * @author v.sharayenko (grand87@yandex.ru) */ #pragma comment(linker, "/STACK:16777216") #include <stdio.h> //#define ONLINE_JUDGE int main() { #ifndef ONLINE_JUDGE freopen("input.txt", "rt", stdin); freopen("output.txt", "wt", stdout); #endif size_t length = 0; scanf("%d", &length); size...
16.590909
43
0.50137
grand87
cd164ebcbb11830a5d5df5c6c546ef0cfa6b1ac6
594
cpp
C++
aleatorios.cpp
JCSUCoder/introduccion-programacion-puj
2c1149a18946eb915c593b84282a352e87067cc7
[ "MIT" ]
1
2021-02-16T16:40:07.000Z
2021-02-16T16:40:07.000Z
aleatorios.cpp
JCSUCoder/introduccion-programacion-puj
2c1149a18946eb915c593b84282a352e87067cc7
[ "MIT" ]
null
null
null
aleatorios.cpp
JCSUCoder/introduccion-programacion-puj
2c1149a18946eb915c593b84282a352e87067cc7
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <time.h> // https://www.cplusplus.com/reference/cstdlib/rand /** * En los computadores no existe una forma de escojer algún número aleatorio, * por lo que se usna números pseudoaleatorio **/ using namespace std; int main() { cout << "Inicializando con semilla alea...
22.846154
78
0.62963
JCSUCoder
cd1f186f58e4b3913dd3399f8b90fa9e34ec8775
9,561
hh
C++
src/base/vnc/vncserver.hh
lokamdheeraj/gem5_comprehensive
bebf8e2ae8fef57284b56985c1f7d353a133011f
[ "BSD-3-Clause" ]
31
2015-12-15T19:14:10.000Z
2021-12-31T17:40:21.000Z
src/base/vnc/vncserver.hh
lokamdheeraj/gem5_comprehensive
bebf8e2ae8fef57284b56985c1f7d353a133011f
[ "BSD-3-Clause" ]
5
2015-12-04T08:06:47.000Z
2020-08-09T21:49:46.000Z
src/base/vnc/vncserver.hh
lokamdheeraj/gem5_comprehensive
bebf8e2ae8fef57284b56985c1f7d353a133011f
[ "BSD-3-Clause" ]
21
2015-11-05T08:25:45.000Z
2021-06-19T02:24:50.000Z
/* * Copyright (c) 2010 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
29.06079
80
0.664261
lokamdheeraj
cd25980111faa35ce011d73e550975772c9fea36
2,576
hpp
C++
include/boost/url/src.hpp
vgrigoriu/url
8911d05c35123f978e90321fea863385b63525d4
[ "BSL-1.0" ]
null
null
null
include/boost/url/src.hpp
vgrigoriu/url
8911d05c35123f978e90321fea863385b63525d4
[ "BSL-1.0" ]
null
null
null
include/boost/url/src.hpp
vgrigoriu/url
8911d05c35123f978e90321fea863385b63525d4
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/CPPAlliance/url // #ifndef BOOST_URL_SRC_HPP #define B...
33.454545
79
0.778339
vgrigoriu
cd25aeb7658df87798dd2efb30780a6065e78190
1,089
hpp
C++
lib/test/exception_fixture.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
10
2017-12-21T05:20:40.000Z
2021-09-18T05:14:01.000Z
lib/test/exception_fixture.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
2
2017-12-21T07:31:54.000Z
2021-06-23T08:52:35.000Z
lib/test/exception_fixture.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
7
2016-02-17T13:20:31.000Z
2021-11-08T09:30:43.000Z
/** @file "/owlcpp/lib/test/exception_fixture.hpp" part of owlcpp project. @n @n Distributed under the Boost Software License, Version 1.0; see doc/license.txt. @n Copyright Mikhail K Levin 2012 *******************************************************************************/ #ifndef EXCEPTION_FIXTURE_HPP_ #define EXCE...
32.029412
85
0.647383
GreyMerlin
cd260497c17ff46105c17f45c69f21a8e6c15747
6,381
cpp
C++
testMatrix2.cpp
benjamincommeau2/special_container
d36d3e8a12572dc5ef985b6ccd06336309eea4fa
[ "MIT" ]
null
null
null
testMatrix2.cpp
benjamincommeau2/special_container
d36d3e8a12572dc5ef985b6ccd06336309eea4fa
[ "MIT" ]
null
null
null
testMatrix2.cpp
benjamincommeau2/special_container
d36d3e8a12572dc5ef985b6ccd06336309eea4fa
[ "MIT" ]
null
null
null
/* Copyright Benjamin Commeau Use CamelCase for all names. Start types (such as classes, structs, and typedefs) with a capital letter, other names (functions, variables) with a lowercase letter. You may use an all-lowercase name with underscores if your class closely resembles an external construct (e.g., a standard...
35.254144
416
0.601943
benjamincommeau2
cd2a22f8413b198b8ce04dda1f7865272ee97a81
6,928
cpp
C++
src/oatpp/core/base/Environment.cpp
nuvo-legrand/oatpp
b9ecdb6be67884bece9d2b41f6e8b8b152d293ac
[ "Apache-2.0" ]
1
2020-03-09T14:37:39.000Z
2020-03-09T14:37:39.000Z
src/oatpp/core/base/Environment.cpp
Lisprez/oatpp
7b0e629e2b55f841c17579d708eefafa07ad227f
[ "Apache-2.0" ]
null
null
null
src/oatpp/core/base/Environment.cpp
Lisprez/oatpp
7b0e629e2b55f841c17579d708eefafa07ad227f
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * * Project _____ __ ____ _ _ * ( _ ) /__\ (_ _)_| |_ _| |_ * )(_)( /(__)\ )( (_ _)(_ _) * (_____)(__)(__)(__) |_| |_| * * * Copyright 2018-present, Leoni...
32.834123
159
0.693707
nuvo-legrand
cd2f5bf692783f4a8773e85f6912079ba6950d20
2,642
cpp
C++
piel/gavcconstants.cpp
diakovliev/pie
eb957a5e44496ba802d8b4fcace64ad48be16871
[ "BSD-3-Clause" ]
null
null
null
piel/gavcconstants.cpp
diakovliev/pie
eb957a5e44496ba802d8b4fcace64ad48be16871
[ "BSD-3-Clause" ]
null
null
null
piel/gavcconstants.cpp
diakovliev/pie
eb957a5e44496ba802d8b4fcace64ad48be16871
[ "BSD-3-Clause" ]
1
2017-12-28T11:37:42.000Z
2017-12-28T11:37:42.000Z
/* * Copyright (c) 2017, Dmytro Iakovliev daemondzk@gmail.com * 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 * no...
52.84
87
0.682059
diakovliev
cd30ae75b9088c1eefee540387bed257c53210be
486
hh
C++
source/src/vision/runner.hh
Dr-MunirShah/black-sheep
e908203d9516e01f90f4ed4c796cf4143d0df0c0
[ "MIT" ]
7
2019-07-25T10:06:31.000Z
2021-02-20T06:00:51.000Z
source/src/vision/runner.hh
Dr-MunirShah/black-sheep
e908203d9516e01f90f4ed4c796cf4143d0df0c0
[ "MIT" ]
null
null
null
source/src/vision/runner.hh
Dr-MunirShah/black-sheep
e908203d9516e01f90f4ed4c796cf4143d0df0c0
[ "MIT" ]
1
2019-08-31T23:32:02.000Z
2019-08-31T23:32:02.000Z
#pragma once #include "lut/colour.hh" /** * runner.hh * * A template for running image processing. **/ class Runner{ public: /** * process() * * Process a given pixel. * * @param x The X position of the pixel. * @param y The Y position of the pixel. * @param p The pixel. ...
19.44
83
0.582305
Dr-MunirShah
cd314901054369f8e53e28200400f5e656841956
4,698
cpp
C++
samples/gl-330-draw-instanced-array.cpp
galek/ogl-samples
38cada7a9458864265e25415ae61586d500ff5fc
[ "MIT" ]
571
2015-01-08T16:29:38.000Z
2022-03-16T06:45:42.000Z
samples/gl-330-draw-instanced-array.cpp
galek/ogl-samples
38cada7a9458864265e25415ae61586d500ff5fc
[ "MIT" ]
45
2015-01-15T12:47:28.000Z
2022-03-04T09:22:32.000Z
samples/gl-330-draw-instanced-array.cpp
galek/ogl-samples
38cada7a9458864265e25415ae61586d500ff5fc
[ "MIT" ]
136
2015-01-31T15:24:57.000Z
2022-02-17T19:26:24.000Z
#include "test.hpp" namespace { char const* VERT_SHADER_SOURCE("gl-330/instanced-array.vert"); char const* FRAG_SHADER_SOURCE("gl-330/instanced-array.frag"); GLsizei const VertexCount = 6; GLsizeiptr const PositionSize = VertexCount * sizeof(glm::vec2); glm::vec2 const PositionData[VertexCount] = { glm::vec2(...
24.216495
136
0.697318
galek
cd317321e9cc065f112bd4145e17bdd43b71c376
1,244
cpp
C++
include/File.cpp
igorabrandao/Flood_IT
a590b1b8ac164c137c121dc74f719329589e28c8
[ "MIT" ]
1
2021-07-15T01:24:36.000Z
2021-07-15T01:24:36.000Z
include/File.cpp
igorabrandao/Flood_IT
a590b1b8ac164c137c121dc74f719329589e28c8
[ "MIT" ]
null
null
null
include/File.cpp
igorabrandao/Flood_IT
a590b1b8ac164c137c121dc74f719329589e28c8
[ "MIT" ]
null
null
null
// *************************************************** // ** Implements the functions related to the Game // ** Interface class // *************************************************** #include "File.h" // *************************************************** // ** Functions // ********************************************...
25.916667
67
0.472669
igorabrandao
cd33ee77980344493844c714d70dcd754349a66b
1,316
cpp
C++
Framework/Sources/o2/Utils/Tasks/TaskManager.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
181
2015-12-09T08:53:36.000Z
2022-03-26T20:48:39.000Z
Framework/Sources/o2/Utils/Tasks/TaskManager.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
29
2016-04-22T08:24:04.000Z
2022-03-06T07:06:28.000Z
Framework/Sources/o2/Utils/Tasks/TaskManager.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
13
2018-04-24T17:12:04.000Z
2021-11-12T23:49:53.000Z
#include "o2/stdafx.h" #include "TaskManager.h" #include "o2/Utils/Tasks/Task.h" namespace o2 { DECLARE_SINGLETON(TaskManager); void TaskManager::StopTask(int id) { for (auto task : mTasks) { if (task->mId == id) { delete task; return; } } } void TaskManager::StopAllTasks() { auto tas...
17.315789
90
0.649696
zenkovich
cd36df2127a7435b12211eb3513b7d98601ec15b
1,588
hpp
C++
stopwatch/stopwatch.hpp
helderdaniel/cpplib
d78dcaabf618a8f5e1596e17c2d6d98bfaaa808c
[ "MIT" ]
null
null
null
stopwatch/stopwatch.hpp
helderdaniel/cpplib
d78dcaabf618a8f5e1596e17c2d6d98bfaaa808c
[ "MIT" ]
null
null
null
stopwatch/stopwatch.hpp
helderdaniel/cpplib
d78dcaabf618a8f5e1596e17c2d6d98bfaaa808c
[ "MIT" ]
null
null
null
/** * StopWatch class definition * v2.0 hdaniel@ualg.pt 2011 * v2.1 hdaniel@ualg.pt 2019 apr * v3.0 hdaniel@ualg.pt 2019 apr C++14 * v3.1 hdaniel@ualg.pt 2019 may C++14 * Changelog: * return time() from last reset() to last lap() * Note: Time is always real time, so it counts user inputs and event wa...
20.894737
81
0.65995
helderdaniel
cd38d18fa67c4ab2fa4a961eac204e81266f6773
1,110
cpp
C++
branch/MSP432/SaltyOS/Kernel/GUI/Text/FontAddressing.cpp
wtywtykk/STM32Framework_SaltyProject
ba52576006a9c4bdb3c0e6b0dbef2d261359da50
[ "MIT" ]
1
2019-04-03T12:17:25.000Z
2019-04-03T12:17:25.000Z
branch/MSP432/SaltyOS/Kernel/GUI/Text/FontAddressing.cpp
wtywtykk/STM32Framework_SaltyProject
ba52576006a9c4bdb3c0e6b0dbef2d261359da50
[ "MIT" ]
null
null
null
branch/MSP432/SaltyOS/Kernel/GUI/Text/FontAddressing.cpp
wtywtykk/STM32Framework_SaltyProject
ba52576006a9c4bdb3c0e6b0dbef2d261359da50
[ "MIT" ]
1
2021-06-09T11:20:08.000Z
2021-06-09T11:20:08.000Z
#include "Kernel\Common\KCommon.h" #include "FontAddressing.h" #include <EmbeddedResources.h> u32 GetStartAddress(const FONTINDEX* Index) { if (Index->StorageMode & AddressInFlash) { return Index->DataStart + (u32)&_binary_Resource_Pack_bin_start; } else { return Index->DataStart; } } u32 GetEndAddress(cons...
20.555556
72
0.734234
wtywtykk
cd39a0cc91ec7f47bc1eca92634909d780ede62d
526
cpp
C++
ace/Intrusive_List_Node.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
16
2015-05-11T04:33:44.000Z
2022-02-15T04:28:39.000Z
ace/Intrusive_List_Node.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
null
null
null
ace/Intrusive_List_Node.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
7
2015-01-08T16:11:34.000Z
2021-07-04T16:04:40.000Z
// $Id$ #ifndef ACE_INTRUSIVE_LIST_NODE_CPP #define ACE_INTRUSIVE_LIST_NODE_CPP #include "ace/Intrusive_List_Node.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ #if !defined (__ACE_INLINE__) #include "ace/Intrusive_List_Node.inl" #endif /* __ACE_INLINE__ */ ACE_BEGIN_VERSI...
18.785714
58
0.785171
BeiJiaan
cd3cb00269b44a1d3ca7158e9fd6db7d9c610197
1,846
cpp
C++
Entregas/ACM_Tarea25/P02/HW25P02.cpp
cesar-magana/Advanced_Programming
7b5ff09cd2816b67ca9f68d5ede211c73fb73de5
[ "MIT" ]
null
null
null
Entregas/ACM_Tarea25/P02/HW25P02.cpp
cesar-magana/Advanced_Programming
7b5ff09cd2816b67ca9f68d5ede211c73fb73de5
[ "MIT" ]
null
null
null
Entregas/ACM_Tarea25/P02/HW25P02.cpp
cesar-magana/Advanced_Programming
7b5ff09cd2816b67ca9f68d5ede211c73fb73de5
[ "MIT" ]
null
null
null
/*------------------------------------------------------------ PROGRAMACIÓN AVANZADA I HW25P01 César Magaña cesar@cimat.mx --------------------------------------------------------------*/ #include <iostream> #define FOR(i, n) for( int i = 0, _n = (n); i < _n; i++ ) using namespace std; //----------------------------...
19.849462
86
0.378115
cesar-magana
cd3e40a98dddec68b8dfd14429dc73c275f2d11b
2,215
cpp
C++
tests/reflect/main.cpp
zhangguolian/cpp-framework
47bdf67a9dd917fa25f4c0c1b9e57ea437967497
[ "Apache-2.0" ]
8
2019-06-06T06:20:03.000Z
2022-03-13T23:44:20.000Z
tests/reflect/main.cpp
Guolian-Zhang/cpp-framework
47bdf67a9dd917fa25f4c0c1b9e57ea437967497
[ "Apache-2.0" ]
null
null
null
tests/reflect/main.cpp
Guolian-Zhang/cpp-framework
47bdf67a9dd917fa25f4c0c1b9e57ea437967497
[ "Apache-2.0" ]
3
2019-12-02T04:06:57.000Z
2021-08-11T14:01:51.000Z
/* * * Copyright 2018 Guolian Zhang. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
30.342466
126
0.625734
zhangguolian
cd3f1cca82a86d4034556c654dc91c5f6f89c3fa
744
cpp
C++
src/Ic3d/IcObject.cpp
simviu/IcEng
52ca0359011f7b3a40d915fa526f1254fe131bbe
[ "BSD-3-Clause" ]
10
2017-04-13T06:43:11.000Z
2020-10-28T18:14:54.000Z
src/Ic3d/IcObject.cpp
simviu/IcEng
52ca0359011f7b3a40d915fa526f1254fe131bbe
[ "BSD-3-Clause" ]
1
2018-05-23T08:13:12.000Z
2018-10-15T15:34:16.000Z
src/Ic3d/IcObject.cpp
simviu/IcEng
52ca0359011f7b3a40d915fa526f1254fe131bbe
[ "BSD-3-Clause" ]
2
2018-03-30T19:19:11.000Z
2020-01-23T15:41:39.000Z
// // IcObject.cpp // DevEng // // Created by Sherman Chen on 3/11/16. // Copyright (c) 2016 Simviu Technology Inc. // All rights reserved. // http://www.simviu.com/dev // #include "Ic3d.h" #include "IcRenderEng.h" namespace Ic3d { //-------------------------------------------- // calcMat //---------------...
19.076923
47
0.47043
simviu
cd45fde462adb73474e75a9b4a8619b7cf4e2094
2,708
cpp
C++
Engine/src/Graphics/DX12/ByteAddressBufferDX12.cpp
jpvanoosten/VolumeTiledForwardShading
daf27632cb173c05faace6db0b72a74ae0fe216c
[ "MIT" ]
70
2017-11-12T08:25:47.000Z
2022-03-10T03:16:06.000Z
Engine/src/Graphics/DX12/ByteAddressBufferDX12.cpp
jpvanoosten/VolumeTiledForwardShading
daf27632cb173c05faace6db0b72a74ae0fe216c
[ "MIT" ]
null
null
null
Engine/src/Graphics/DX12/ByteAddressBufferDX12.cpp
jpvanoosten/VolumeTiledForwardShading
daf27632cb173c05faace6db0b72a74ae0fe216c
[ "MIT" ]
11
2017-12-18T12:42:32.000Z
2022-02-04T08:19:53.000Z
#include <EnginePCH.h> #include <Graphics/DX12/ByteAddressBufferDX12.h> #include <Graphics/DX12/DeviceDX12.h> #include <Graphics/DX12/GraphicsCommandBufferDX12.h> #include <Common.h> using namespace Graphics; ByteAddressBufferDX12::ByteAddressBufferDX12( std::shared_ptr<DeviceDX12> device ) : BufferDX12( device ...
36.106667
143
0.762925
jpvanoosten
cd479fcddefa78d26b7a89acf6ca68eb325f7900
777
cpp
C++
src/qnitecategoryaxis.cpp
sleihkauf/qnite
e13f56da7aab123df0f9fcdac8a7292c0e4138f8
[ "MIT" ]
90
2015-04-16T09:35:35.000Z
2022-03-27T15:55:31.000Z
src/qnitecategoryaxis.cpp
sleihkauf/qnite
e13f56da7aab123df0f9fcdac8a7292c0e4138f8
[ "MIT" ]
37
2015-04-28T08:45:21.000Z
2022-02-03T13:29:04.000Z
src/qnitecategoryaxis.cpp
sleihkauf/qnite
e13f56da7aab123df0f9fcdac8a7292c0e4138f8
[ "MIT" ]
18
2017-05-19T09:08:29.000Z
2021-12-30T06:16:55.000Z
#include "qnitecategoryaxis.h" #include "qnitelinearmapper.h" QniteCategoryAxis::QniteCategoryAxis(QQuickItem *parent) : QniteAxis{parent} { setMapper(new QniteLinearMapper(this)); } void QniteCategoryAxis::setValues(const QStringList &v) { if (m_values != v) { m_values = v; emit valuesChanged(); pro...
19.923077
78
0.644788
sleihkauf
cd4b8e837d81b280965f9fef892a3fdc682021f2
440
cpp
C++
raytracer/src/Materials/Material.cpp
noahssarcastic/raytracer
672d9cd474a4ce1d5bf35f9612cf511eebc1113b
[ "MIT" ]
null
null
null
raytracer/src/Materials/Material.cpp
noahssarcastic/raytracer
672d9cd474a4ce1d5bf35f9612cf511eebc1113b
[ "MIT" ]
null
null
null
raytracer/src/Materials/Material.cpp
noahssarcastic/raytracer
672d9cd474a4ce1d5bf35f9612cf511eebc1113b
[ "MIT" ]
null
null
null
// // Created by ninig on 4/19/2020. // #include <Constants.h> #include "Material.h" Material::Material() {} Material::Material(const Material& material) = default; Material::~Material() = default; RGBColor Material::shade(ShadeRec& sr) { return BLACK; } Material& Material::operator=(const Material& rhs) { ...
14.666667
55
0.65
noahssarcastic
cd4d8c2ee43ed3d18ce8ff9cd412ba4bb5fefb7a
9,164
cc
C++
chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc
lauer3912/chromium.src
969c559f5e43b329295b68c49ae9bf46a833395c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-16T03:57:28.000Z
2021-01-23T15:29:45.000Z
chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc
davgit/chromium.src
29b19806a790a12fb0a64ee148d019e27db350db
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc
davgit/chromium.src
29b19806a790a12fb0a64ee148d019e27db350db
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-03-15T13:21:38.000Z
2017-03-15T13:21:38.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 "chrome/browser/ui/views/apps/shaped_app_window_targeter.h" #include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h" #include "u...
40.370044
80
0.672086
lauer3912
cd4f9b72f88d76d30accfadd12d4bb069257a82a
6,071
cpp
C++
src/pbrt/bssrdf.cpp
pierremoreau/pbrt-v4
9d2ec6ee56cd0171ebcb251f3bf0f647155dd97d
[ "Apache-2.0" ]
5
2021-01-28T18:05:22.000Z
2021-02-17T02:09:50.000Z
src/pbrt/bssrdf.cpp
pierremoreau/pbrt-v4
9d2ec6ee56cd0171ebcb251f3bf0f647155dd97d
[ "Apache-2.0" ]
null
null
null
src/pbrt/bssrdf.cpp
pierremoreau/pbrt-v4
9d2ec6ee56cd0171ebcb251f3bf0f647155dd97d
[ "Apache-2.0" ]
null
null
null
// pbrt is Copyright(c) 1998-2020 Matt Pharr, Wenzel Jakob, and Greg Humphreys. // The pbrt source code is licensed under the Apache License, Version 2.0. // SPDX: Apache-2.0 #include <pbrt/bssrdf.h> #include <pbrt/media.h> #include <pbrt/shapes.h> #include <pbrt/util/math.h> #include <pbrt/util/memory.h> #include <p...
41.868966
90
0.598913
pierremoreau
cd5136a31aac9e8f830632b5c68a48e3cc587161
15,417
cpp
C++
match/match.cpp
valette/FROG
5d36729b7c4309303baa39d472d6beaf795d1173
[ "CECILL-B" ]
15
2019-10-13T05:25:50.000Z
2022-03-12T16:58:39.000Z
match/match.cpp
valette/FROG
5d36729b7c4309303baa39d472d6beaf795d1173
[ "CECILL-B" ]
7
2020-10-22T20:05:42.000Z
2020-11-18T19:41:03.000Z
match/match.cpp
valette/FROG
5d36729b7c4309303baa39d472d6beaf795d1173
[ "CECILL-B" ]
1
2020-01-21T09:16:01.000Z
2020-01-21T09:16:01.000Z
#include <sstream> #include <string> #include <vector> #include <tuple> #include <fstream> #include <iostream> #include <cmath> #include <omp.h> #include <assert.h> #include <cfloat> #include <stdio.h> #include <chrono> #include <thread> # ifdef USE_SSE_FOR_MATCHING #include <boost/align/aligned_allocator.hpp> #inclu...
22.311143
156
0.584031
valette
cd5175badc9f81aed30a719bd06064466699d7e1
615
cpp
C++
src/proposers.cpp
greymass/eosio-wps
d109674a7e268db95d94af1c9c4d9d1bf07c93dd
[ "MIT" ]
null
null
null
src/proposers.cpp
greymass/eosio-wps
d109674a7e268db95d94af1c9c4d9d1bf07c93dd
[ "MIT" ]
null
null
null
src/proposers.cpp
greymass/eosio-wps
d109674a7e268db95d94af1c9c4d9d1bf07c93dd
[ "MIT" ]
null
null
null
[[eosio::action]] void wps::setproposer(const eosio::name proposer, const std::map<name, string> metadata_json ) { require_auth( proposer ); const eosio::name ram_payer = proposer; auto proposers_itr = _proposers.find( proposer.value ); if ( proposers_itr == _proposers.end() ) { _proposers.emp...
30.75
94
0.596748
greymass
cd52554d57fcf8b2762f6153b3cca3e6402bf011
2,528
cpp
C++
src/dtkComposerSupport/dtkComposerNodeControl.cpp
eti-nne/dtk
b5095c7a181e7497391a6a1fa0bb37e71dfa4b56
[ "BSD-3-Clause" ]
null
null
null
src/dtkComposerSupport/dtkComposerNodeControl.cpp
eti-nne/dtk
b5095c7a181e7497391a6a1fa0bb37e71dfa4b56
[ "BSD-3-Clause" ]
null
null
null
src/dtkComposerSupport/dtkComposerNodeControl.cpp
eti-nne/dtk
b5095c7a181e7497391a6a1fa0bb37e71dfa4b56
[ "BSD-3-Clause" ]
1
2020-04-21T14:41:52.000Z
2020-04-21T14:41:52.000Z
/* dtkComposerNodeControl.cpp --- * * Author: David Rey * Copyright (C) 2008-2011 - David Rey, Inria. * Created: Tue Feb 14 15:40:50 2012 (+0100) * Version: $Id: cd52554d57fcf8b2762f6153b3cca3e6402bf011 $ * Last-Updated: mer. mars 28 13:58:30 2012 (+0200) * By: Nicolas Niclausse * Update #: 31 ...
22.371681
110
0.673259
eti-nne
cd52b73af25bbf1ac24f07667db541953bec5d12
3,199
hpp
C++
code/contrafold/src/ComputationWrapper.hpp
jialiasus2/RNA-Contest-2021
d8cd340061ac7a70e1c2bba67d36c89cbde2555c
[ "Apache-2.0" ]
null
null
null
code/contrafold/src/ComputationWrapper.hpp
jialiasus2/RNA-Contest-2021
d8cd340061ac7a70e1c2bba67d36c89cbde2555c
[ "Apache-2.0" ]
null
null
null
code/contrafold/src/ComputationWrapper.hpp
jialiasus2/RNA-Contest-2021
d8cd340061ac7a70e1c2bba67d36c89cbde2555c
[ "Apache-2.0" ]
null
null
null
////////////////////////////////////////////////////////////////////// // ComputationWrapper.hpp // // This class provides a wrapper around the Computation class that // provides a framework for translating basic queries into the format // needed by the Computation class. This class also provides caching // facilities...
45.056338
178
0.682088
jialiasus2
cd53d2245fd7d3e41ff9619ae3d2ceee2f46202d
1,203
hpp
C++
src/terark/io/FileDataIO.hpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
11
2021-11-19T04:57:42.000Z
2022-03-27T12:44:17.000Z
src/terark/io/FileDataIO.hpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
null
null
null
src/terark/io/FileDataIO.hpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
1
2022-02-17T10:17:01.000Z
2022-02-17T10:17:01.000Z
#pragma once #include "DataIO.hpp" #include "FileStream.hpp" #include "StreamBuffer.hpp" namespace terark { template<class DataIO> class FileDataInput : public DataIO { public: FileStream file; FileDataInput(const char* fname) : file(fname, "rb") { this->attach(&file); } }; template<class DataIO> class...
30.846154
90
0.784705
rockeet
cd53d9496fc95563878a55d0cbd44d8e03ec5bc9
5,656
cpp
C++
src/ComDriverSpi.cpp
IGB-Germany/IGB-ComDriverSpi
8ec0b370796f2ff8ec8eb331cc9d2d22fd10aa40
[ "RSA-MD" ]
null
null
null
src/ComDriverSpi.cpp
IGB-Germany/IGB-ComDriverSpi
8ec0b370796f2ff8ec8eb331cc9d2d22fd10aa40
[ "RSA-MD" ]
null
null
null
src/ComDriverSpi.cpp
IGB-Germany/IGB-ComDriverSpi
8ec0b370796f2ff8ec8eb331cc9d2d22fd10aa40
[ "RSA-MD" ]
null
null
null
//SPI communication layer #include "ComDriverSpi.h" ComDriverSpi::ComDriverSpi() //Initalization list : _slaveSelectPin{slaveSelectPin}, _frequency {8000000}, _dataOrder {MSBFIRST}, _dataMode {SPI_MODE0}, _transferOption {transferStartEnd} { //start the SPI library SPI.begin(); //initalize the...
21.753846
153
0.74505
IGB-Germany
cd54aba1a846434828957915cdb3972798eb6030
11,054
cpp
C++
src/wul/store.cpp
OCEANOFANYTHING/writeurl
a3b43a6a6319cc0c46d355cc51319e2a8d1ad031
[ "MIT" ]
8
2018-01-27T18:24:10.000Z
2021-05-05T22:13:42.000Z
src/wul/store.cpp
OCEANOFANYTHING/writeurl
a3b43a6a6319cc0c46d355cc51319e2a8d1ad031
[ "MIT" ]
3
2020-02-20T13:28:53.000Z
2021-05-06T21:24:13.000Z
src/wul/store.cpp
OCEANOFANYTHING/writeurl
a3b43a6a6319cc0c46d355cc51319e2a8d1ad031
[ "MIT" ]
4
2018-03-17T17:01:50.000Z
2021-07-13T17:17:27.000Z
#include <string> #include <sstream> #include <vector> #include <map> #include <cassert> #include <rapidjson/reader.h> #include "rapidjson/writer.h" #include "rapidjson/stringbuffer.h" #include <rapidjson/error/en.h> #include <writeurl/error.hpp> #include <writeurl/store.hpp> #include <writeurl/file.hpp> #include <i...
24.784753
112
0.609282
OCEANOFANYTHING
cd63c856938b59ff94af080e26edd1af47ed594c
364
cpp
C++
tests/PulseInTest/stdafx.cpp
JustAddWires/galileo-sdk
1a2b8a884db6ad2d0ba87f2c86c7e768877fa030
[ "BSD-2-Clause" ]
1
2017-04-22T07:07:35.000Z
2017-04-22T07:07:35.000Z
tests/PulseInTest/stdafx.cpp
JustAddWires/galileo-sdk
1a2b8a884db6ad2d0ba87f2c86c7e768877fa030
[ "BSD-2-Clause" ]
null
null
null
tests/PulseInTest/stdafx.cpp
JustAddWires/galileo-sdk
1a2b8a884db6ad2d0ba87f2c86c7e768877fa030
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the BSD 2-Clause License. // See License.txt in the project root for license information. // stdafx.cpp : source file that includes just the standard includes #include "stdafx.h" // TODO: reference any additional headers y...
33.090909
74
0.744505
JustAddWires
cd6611326be039f16e08571fcf1326aad74af2ed
1,387
cpp
C++
n-ray tree/429 N-ary Tree Level Order Traversal.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
n-ray tree/429 N-ary Tree Level Order Traversal.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
n-ray tree/429 N-ary Tree Level Order Traversal.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
// // 429 N-ary Tree Level Order Traversal.cpp // Leetcode // // Created by Quinn on 2020/8/15. // Copyright © 2020 Quinn. All rights reserved. // #include <vector> #include <queue> using namespace::std; // Definition for a Node. class Node { public: int val; vector<Node*> children; Node() {} N...
22.015873
55
0.484499
CoderQuinnYoung
cd668d5e77b882b1a4c038a6099f963eff2647da
10,616
hpp
C++
trunk/src/app/srs_app_server.hpp
daimaqiao/srs
f729bb9ac484a7ae452090e2583abb348385d2e9
[ "MIT" ]
24
2016-02-01T02:04:19.000Z
2021-04-09T22:22:14.000Z
trunk/src/app/srs_app_server.hpp
darcy-shimmer/srs
14be74ca5ea8f1341900768984798cfdd12f759b
[ "MIT" ]
1
2020-01-02T05:56:07.000Z
2020-01-02T05:56:07.000Z
trunk/src/app/srs_app_server.hpp
darcy-shimmer/srs
14be74ca5ea8f1341900768984798cfdd12f759b
[ "MIT" ]
37
2016-02-01T04:22:56.000Z
2017-06-15T19:55:17.000Z
/* The MIT License (MIT) Copyright (c) 2013-2015 SRS(ossrs) 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, merg...
27.645833
97
0.710531
daimaqiao
cd6757ddc895a22f7328170db729ed46e202f45c
836
cpp
C++
Refureku/Library/Source/TypeInfo/Namespace/NamespaceFragment.cpp
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
143
2020-04-07T21:38:21.000Z
2022-03-30T01:06:33.000Z
Refureku/Library/Source/TypeInfo/Namespace/NamespaceFragment.cpp
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
7
2021-03-30T07:26:21.000Z
2022-03-28T16:31:02.000Z
Refureku/Library/Source/TypeInfo/Namespace/NamespaceFragment.cpp
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
11
2020-06-06T09:45:12.000Z
2022-01-25T17:17:55.000Z
#include "Refureku/TypeInfo/Namespace/NamespaceFragment.h" #include "Refureku/TypeInfo/Namespace/NamespaceFragmentImpl.h" #include "Refureku/TypeInfo/Entity/EntityUtility.h" using namespace rfk; NamespaceFragment::NamespaceFragment(char const* name, std::size_t id) noexcept: Entity(new NamespaceFragmentImpl(name, i...
29.857143
90
0.811005
jsoysouvanh
cd67d7be62a612bdc28e6c3071584824715143f1
820
hpp
C++
Nacro/Offsets.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
null
null
null
Nacro/Offsets.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
null
null
null
Nacro/Offsets.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <iostream> namespace Offsets { uintptr_t GEngineOffset = 0x674AB20; //Gloabal Engine* uintptr_t GWorldOffset = 0x674CD00; //Global World* uintptr_t GNamesOffset = 0x66587C8; //Global NameArray* uintptr_t GUObjectArrayOffset = 0x6661380; //Global ObjectArray-Class* uintptr_t ...
45.555556
82
0.760976
Milxnor
cd6e1b17fa937a3a3f7acfb7ac91082b43a58f28
6,420
cpp
C++
website/src/cimage.cpp
Wt-Works/saai.ir
18b9e75616300994c8d5034f766b6e91c6a48c16
[ "MIT", "Unlicense" ]
1
2021-08-28T01:24:22.000Z
2021-08-28T01:24:22.000Z
website/src/cimage.cpp
Wt-Works/saai.ir
18b9e75616300994c8d5034f766b6e91c6a48c16
[ "MIT", "Unlicense" ]
null
null
null
website/src/cimage.cpp
Wt-Works/saai.ir
18b9e75616300994c8d5034f766b6e91c6a48c16
[ "MIT", "Unlicense" ]
null
null
null
#include <fstream> #include <string> #include <cstdlib> #include <boost/lexical_cast.hpp> #include <Magick++.h> #include <b64/encode.h> //#include <b64/decode.h> #include "cimage.hpp" using namespace std; using namespace Magick; using namespace SAAIIR; unsigned int CImage::qDef = 85; unsigned int CImage::dpiMin ...
21.762712
80
0.502492
Wt-Works
cd7126013e418c21161fe1af438e3e808ab099b5
3,724
cpp
C++
src/LLC/random.cpp
bibbityjibbity/LLL-TAO
4073ba412f71bf27d21fd297497a7c276ebd2d67
[ "MIT" ]
null
null
null
src/LLC/random.cpp
bibbityjibbity/LLL-TAO
4073ba412f71bf27d21fd297497a7c276ebd2d67
[ "MIT" ]
null
null
null
src/LLC/random.cpp
bibbityjibbity/LLL-TAO
4073ba412f71bf27d21fd297497a7c276ebd2d67
[ "MIT" ]
null
null
null
/*__________________________________________________________________________________________ (c) Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014] ++ (c) Copyright The Nexus Developers 2014 - 2019 Distributed under the MIT software license, see the accompanying ...
26.225352
121
0.632653
bibbityjibbity
cd73093798e8b85089a23bf06d81bdb6e78aefd7
35,314
hpp
C++
stan/math/rev/core/var.hpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-06-14T14:33:37.000Z
2020-06-14T14:33:37.000Z
stan/math/rev/core/var.hpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
null
null
null
stan/math/rev/core/var.hpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-05-10T12:55:07.000Z
2020-05-10T12:55:07.000Z
#ifndef STAN_MATH_REV_CORE_VAR_HPP #define STAN_MATH_REV_CORE_VAR_HPP #include <stan/math/rev/core/vari.hpp> #include <stan/math/rev/core/grad.hpp> #include <stan/math/rev/core/chainable_alloc.hpp> #include <stan/math/prim/meta.hpp> #include <stan/math/rev/meta/is_vari.hpp> #include <stan/math/rev/meta/arena_type.hpp>...
33.98845
80
0.665742
bayesmix-dev
cd76cf0bd5126336dd3da95f7321f8290b69eaf9
1,936
cpp
C++
aws-cpp-sdk-frauddetector/source/model/TrainingResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-frauddetector/source/model/TrainingResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-frauddetector/source/model/TrainingResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/frauddetector/model/TrainingResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { ...
21.511111
90
0.763946
perfectrecall
cd7a861acf79844671a8928c650fa1788f3990be
952
hpp
C++
GPRO Net SDK/include/gpro-net/tile.hpp
Jacob-Rose/GPR-430-Network-Architecture
c56a1ec4dfc284b2a2fa957a5bcecace9723269b
[ "Apache-2.0" ]
null
null
null
GPRO Net SDK/include/gpro-net/tile.hpp
Jacob-Rose/GPR-430-Network-Architecture
c56a1ec4dfc284b2a2fa957a5bcecace9723269b
[ "Apache-2.0" ]
null
null
null
GPRO Net SDK/include/gpro-net/tile.hpp
Jacob-Rose/GPR-430-Network-Architecture
c56a1ec4dfc284b2a2fa957a5bcecace9723269b
[ "Apache-2.0" ]
null
null
null
#ifndef TILE_ENTITY_H #define TILE_ENTITY_H #include "entity.h" #include "resource-manager.h" namespace jr { class TileEntity; } class jr::TileEntity : public jr::Entity { public: const float m_Scale = 1.0f; sf::Vector2i m_Position; char m_TileID; TileEntity(int tileID, sf::Vector2i pos) : Entity(), m_TileI...
19.04
142
0.721639
Jacob-Rose
cd7abfe0b8c7394c212892456ac4991b63f9575f
43,714
cpp
C++
tests/journald_tests.cpp
Oleksandr-Zasikan/dcos-mesos-modules
7d91c7f92c94f483f427e74b55046e34df0420c7
[ "Apache-2.0" ]
null
null
null
tests/journald_tests.cpp
Oleksandr-Zasikan/dcos-mesos-modules
7d91c7f92c94f483f427e74b55046e34df0420c7
[ "Apache-2.0" ]
null
null
null
tests/journald_tests.cpp
Oleksandr-Zasikan/dcos-mesos-modules
7d91c7f92c94f483f427e74b55046e34df0420c7
[ "Apache-2.0" ]
null
null
null
#include <map> #include <string> #include <vector> #include <gmock/gmock.h> #include <mesos/hook.hpp> #include <mesos/mesos.hpp> #include <mesos/resources.hpp> #include <mesos/module/module.hpp> #include <mesos/scheduler/scheduler.hpp> #include <process/clock.hpp> #include <process/future.hpp> #include <process/gm...
31.908029
80
0.705861
Oleksandr-Zasikan
cd7fa3cf500458b6612751f061b87dd27deaf0b7
6,439
cpp
C++
aten/src/ATen/native/TensorTransformations.cpp
sigmunjr/pytorch
526e12029274cf0257954616d5cd5260b1021f52
[ "Intel" ]
1
2021-05-11T11:53:47.000Z
2021-05-11T11:53:47.000Z
aten/src/ATen/native/TensorTransformations.cpp
sigmunjr/pytorch
526e12029274cf0257954616d5cd5260b1021f52
[ "Intel" ]
1
2021-05-10T01:18:33.000Z
2021-05-10T01:18:33.000Z
aten/src/ATen/native/TensorTransformations.cpp
sigmunjr/pytorch
526e12029274cf0257954616d5cd5260b1021f52
[ "Intel" ]
null
null
null
#include <ATen/native/TensorTransformations.h> #include <ATen/WrapDimUtilsMulti.h> #include <ATen/NativeFunctions.h> #include <ATen/Parallel.h> #include <c10/util/Exception.h> #include <algorithm> #include <vector> namespace at { namespace native { constexpr size_t dim_bitset_size = 64; template <typename scalar_t...
28.617778
114
0.634881
sigmunjr
cd85207b0c9ec8743b782b8e30cb67fbb8aa9e09
4,972
cpp
C++
CaptureManagerSource/Scheduler/ScheduleWorkImpl.cpp
luoyingwen/CaptureManagerSDK
e96395a120175a45c56ff4e2b3283b807a42fd75
[ "MIT" ]
null
null
null
CaptureManagerSource/Scheduler/ScheduleWorkImpl.cpp
luoyingwen/CaptureManagerSDK
e96395a120175a45c56ff4e2b3283b807a42fd75
[ "MIT" ]
null
null
null
CaptureManagerSource/Scheduler/ScheduleWorkImpl.cpp
luoyingwen/CaptureManagerSDK
e96395a120175a45c56ff4e2b3283b807a42fd75
[ "MIT" ]
null
null
null
/* MIT License Copyright(c) 2020 Evgeny Pereguda 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, merge, publish, ...
21.247863
94
0.661504
luoyingwen
cd892e5833cff1835e9ce8025c01382166bee38d
845
cpp
C++
4344.cpp
gcjjyy/acmicpc
763e7a3ec5aabdab6935b9e9970561baafb07729
[ "MIT" ]
null
null
null
4344.cpp
gcjjyy/acmicpc
763e7a3ec5aabdab6935b9e9970561baafb07729
[ "MIT" ]
null
null
null
4344.cpp
gcjjyy/acmicpc
763e7a3ec5aabdab6935b9e9970561baafb07729
[ "MIT" ]
null
null
null
/* 문제 대학생 새내기들의 90%는 자신이 반에서 평균은 넘는다고 생각한다. 당신은 그들에게 슬픈 진실을 알려줘야 한다. 입력 첫째 줄에는 테스트케이스 C가 주어진다. 둘째 줄부터 각 테스트케이스 마다 첫 수로 정수 N(1 <= N <= 1000)명의 학생이 주어지고 그 다음으로 N명의 0부터 100 사이의 점수가 이어서 주어진다. 출력 각 케이스마다 한줄씩 평균을 넘는 학생들의 비율을 소수점 넷째자리에서 반올림하여 출력한다. */ #include <stdio.h> int C; int A[1001]; int count; int total; double ave...
20.119048
92
0.486391
gcjjyy
cd8b29698f27bd382fdf1931ada265e793a1048c
6,118
cc
C++
coursera/accelerated_cs/c3w3_union/dsunion.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
coursera/accelerated_cs/c3w3_union/dsunion.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
coursera/accelerated_cs/c3w3_union/dsunion.cc
e-dnx/courses
d21742a51447496f541dc8ec32b0df79d709dbff
[ "MIT" ]
null
null
null
#include <iostream> #include <unordered_map> #include <algorithm> // You are provided this version of a DisjointSets class. // See below for the tasks to complete. // (Please note: You may not edit the primary class definition here.) class DisjointSets { public: // We'll statically allocate space for at most 256 node...
36.201183
124
0.676038
e-dnx
cd8e5f362435eb31aad76c453bcbbfa3bc64c823
301
cpp
C++
tests/dsn7/src/Main.cpp
TonyBrewer/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
13
2015-02-26T22:46:18.000Z
2020-03-24T11:53:06.000Z
tests/dsn7/src/Main.cpp
PacificBiosciences/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
5
2016-02-25T17:08:19.000Z
2018-01-20T15:24:36.000Z
tests/dsn7/src/Main.cpp
TonyBrewer/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
12
2015-04-13T21:39:54.000Z
2021-01-15T01:00:13.000Z
#include "Ht.h" using namespace Ht; int main(int argc, char **argv) { CHtHif *pHtHif = new CHtHif(); CHtSuUnit *pSuUnit = new CHtSuUnit(pHtHif); pSuUnit->SendCall_cxr1(); // wait for return while (!pSuUnit->RecvReturn_cxr1()) usleep(1000); delete pHtHif; printf("PASSED\n"); return 0; }
15.05
50
0.681063
TonyBrewer
cd92a471b97ac69e681ab7fd68c5a3c0be79bb14
732
cpp
C++
Code/Modules/mutant/mutant/binary_io_psp.cpp
mrneo240/suicide-barbie
c8b01f9c04755e7f6d1d261fc4a1600cd6705b96
[ "MIT" ]
57
2021-01-02T00:18:22.000Z
2022-03-27T14:40:25.000Z
Code/Modules/mutant/mutant/binary_io_psp.cpp
mrneo240/suicide-barbie
c8b01f9c04755e7f6d1d261fc4a1600cd6705b96
[ "MIT" ]
1
2021-01-05T20:43:02.000Z
2021-01-11T23:04:41.000Z
Code/Modules/mutant/mutant/binary_io_psp.cpp
mrneo240/suicide-barbie
c8b01f9c04755e7f6d1d261fc4a1600cd6705b96
[ "MIT" ]
8
2021-01-01T22:34:43.000Z
2022-03-22T01:21:26.000Z
#include "binary_io_psp.h" //#include "types_ios.h" #include <pspiofilemgr.h> namespace mutant { file_input::file_input( std::string const& name ) : mFile( 0 ) { if( (mFile = sceIoOpen( name.c_str(), PSP_O_RDONLY, 0777 )) > 0 ) { sceIoLseek(mFile, 0, PSP_SEEK_SET); } } file_input::~file_input() { if(...
17.023256
69
0.63388
mrneo240
cd93562a63f2687ad478fa2ad239374c69326e5d
447
cpp
C++
code/GravitationalObject.cpp
gtnardy/flappy_cow
bde49ac7e67194355e0011a53b88cf99ecd5ab83
[ "MIT" ]
null
null
null
code/GravitationalObject.cpp
gtnardy/flappy_cow
bde49ac7e67194355e0011a53b88cf99ecd5ab83
[ "MIT" ]
2
2019-05-06T17:59:29.000Z
2019-05-06T18:02:17.000Z
code/GravitationalObject.cpp
gtnardy/flappy_cow
bde49ac7e67194355e0011a53b88cf99ecd5ab83
[ "MIT" ]
null
null
null
#include "GravitationalObject.h" GravitationalObject::GravitationalObject(Vector2 _size, Vector2 _position, string image_path, double _weight): Object(_size, _position, image_path) { weight = _weight; } GravitationalObject::~GravitationalObject() { } bool GravitationalObject::draw(bool paused) { if (!paused) ...
17.88
149
0.742729
gtnardy
cd938fe1c190186b315f5154df89e9b4185f3725
17,401
cpp
C++
goto-programs/goto_convert_functions.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
goto-programs/goto_convert_functions.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
goto-programs/goto_convert_functions.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
/*******************************************************************\ Module: Goto Programs with Functions Author: Daniel Kroening Date: June 2003 \*******************************************************************/ #include <assert.h> #include <base_type.h> #include <prefix.h> #include <std_code.h> #include <st...
28.714521
83
0.655882
holao09
cd964d39477eb22aec62da3c0f8f403efdb6969a
2,554
cpp
C++
BehaviroalPatterns/observer/Observer.cpp
enuguru/design_patterns
7b5a70d65811c39d15cbfa8b7a0603a16a851265
[ "MIT" ]
null
null
null
BehaviroalPatterns/observer/Observer.cpp
enuguru/design_patterns
7b5a70d65811c39d15cbfa8b7a0603a16a851265
[ "MIT" ]
null
null
null
BehaviroalPatterns/observer/Observer.cpp
enuguru/design_patterns
7b5a70d65811c39d15cbfa8b7a0603a16a851265
[ "MIT" ]
null
null
null
/* * C++ Design Patterns: * Author: Junzhuo Du [github.com/Junzhuodu] * 2020 * */ #include <iostream> #include <vector> class Subject; class Observer { public: Observer(const int id) : id_(id) {} virtual ~Observer() {} virtual int getState() = 0; virtual void update(Subject* subject) = 0; ...
20.764228
94
0.596711
enuguru
cd9c5957cd1ea5eebce0b60ec671b3d6e987a1a9
2,724
cpp
C++
exptree.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
1
2021-07-22T04:19:46.000Z
2021-07-22T04:19:46.000Z
exptree.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
null
null
null
exptree.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; struct etnode { etnode *lc; int tag; union { int x; char c; }data; etnode *rc; }; typedef etnode * etptr; struct stack { etptr data; stack *next; }; struct snode { char data; snode* next; }; typedef snode* stk; void push(stk &s,char t) { if(s==NULL) { s=new(snod...
13.287805
55
0.497063
sushithreddy75
cd9c6382f865ff964a32975d1d352451dae02f73
6,250
cpp
C++
tests/MinMaxManagerTestSuite.cpp
psobow/TicTacToeCpp
479ba81b9fcb37be4776ef528f0e8d81bed4245c
[ "MIT" ]
null
null
null
tests/MinMaxManagerTestSuite.cpp
psobow/TicTacToeCpp
479ba81b9fcb37be4776ef528f0e8d81bed4245c
[ "MIT" ]
null
null
null
tests/MinMaxManagerTestSuite.cpp
psobow/TicTacToeCpp
479ba81b9fcb37be4776ef528f0e8d81bed4245c
[ "MIT" ]
null
null
null
#include "../libs/catch.hpp" #include "MinMaxManagerTestSuite.hh" /* TEST TEMPLATE SCENARIO( "", "[MinMaxManager]" ){ GIVEN( "MinMaxManager, BoardManager initialization, Clean up board" ) { BoardManager *boardManager = BoardManager::getInstance(); boardManager->resetEverySlot(); WHEN( "...
36.127168
145
0.6384
psobow
cda09f848cfc0043102546f4ba1d6bca8968177f
8,851
cpp
C++
HW6 Lights and Shading/HW6 Lights and Shading/main.cpp
Gongzq5/2019-sysu-CG
3b594f3e1d1d7724a0b56f7546c50a31bb12fb45
[ "Apache-2.0" ]
2
2021-09-16T15:52:48.000Z
2021-09-16T15:52:49.000Z
HW6 Lights and Shading/Submission/src/main.cpp
Gongzq5/2019-sysu-CG
3b594f3e1d1d7724a0b56f7546c50a31bb12fb45
[ "Apache-2.0" ]
null
null
null
HW6 Lights and Shading/Submission/src/main.cpp
Gongzq5/2019-sysu-CG
3b594f3e1d1d7724a0b56f7546c50a31bb12fb45
[ "Apache-2.0" ]
null
null
null
#pragma once #include <glad/glad.h> #include <GLFW/glfw3.h> #include "imgui.h" #include "imgui_impl_glfw.h" #include "imgui_impl_opengl3.h" #include "HW4.h" #include <iostream> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "Camera.h" #include "shader.h" void fr...
32.903346
108
0.610552
Gongzq5
cda0c8a69080a82eb24627e04c7c8612cb759469
742
cpp
C++
user/drivers/filesystem/src/util/Path.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
4
2021-06-22T20:52:30.000Z
2022-02-04T00:19:44.000Z
user/drivers/filesystem/src/util/Path.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
null
null
null
user/drivers/filesystem/src/util/Path.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
null
null
null
#include "Path.h" #include <cstddef> #include <string> using namespace util; /// Path separator character constexpr static const char kPathSeparator{'/'}; /** * Splits the path into its individual components. The path should be absolute (that is, have a * leading slash) for this to work right. No escaping of slas...
27.481481
95
0.691375
tristanseifert
cdb2b732fd19adef0f3459f0dea6dc376e933559
275
cpp
C++
tests/engine/physic/test_collision_info.cpp
LorenzoDiStefano/Frogger
372782b3d9e7cb9c77b4b9524940aa169a1d2f3c
[ "MIT" ]
null
null
null
tests/engine/physic/test_collision_info.cpp
LorenzoDiStefano/Frogger
372782b3d9e7cb9c77b4b9524940aa169a1d2f3c
[ "MIT" ]
null
null
null
tests/engine/physic/test_collision_info.cpp
LorenzoDiStefano/Frogger
372782b3d9e7cb9c77b4b9524940aa169a1d2f3c
[ "MIT" ]
null
null
null
#include "../../pch.h" TEST(collision_info_test, init) { collision_info_t collision_info; collision_info_init(&collision_info); EXPECT_TRUE( collision_info.collider == NULL && collision_info.delta.x == 0 && collision_info.delta.y == 0 ); }
21.153846
42
0.654545
LorenzoDiStefano
cdb66ab7841543220a89ced48e72bdcc187db613
1,601
ipp
C++
implement/oglplus/enums/reset_notif_strategy_def.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/oglplus/enums/reset_notif_strategy_def.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/oglplus/enums/reset_notif_strategy_def.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
// File implement/oglplus/enums/reset_notif_strategy_def.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/reset_notif_strategy.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2017 Matus Chochlik. // Distributed under the Boost...
30.788462
74
0.818863
jnbrq
cdb70998f4c21f0676d05505c8c2fd29e84e2a28
6,605
cpp
C++
td/telegram/ThemeManager.cpp
d351d3r/td
ab4736df2897c452af18528840d343cb476045c2
[ "BSL-1.0" ]
null
null
null
td/telegram/ThemeManager.cpp
d351d3r/td
ab4736df2897c452af18528840d343cb476045c2
[ "BSL-1.0" ]
null
null
null
td/telegram/ThemeManager.cpp
d351d3r/td
ab4736df2897c452af18528840d343cb476045c2
[ "BSL-1.0" ]
null
null
null
// // Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2021 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "td/telegram/ThemeManager.h" #include "td/telegram/...
37.106742
120
0.725208
d351d3r
cdb8058891e2023870a48616522c85725cdd7065
11,808
cpp
C++
Neko98/AlwaysOnTopPet.cpp
leiqunni/Neko98
4e1a1d0888c4edb620c806a532657da30c68894f
[ "BSD-Source-Code" ]
16
2019-09-02T19:47:49.000Z
2022-03-03T01:40:13.000Z
Neko98/AlwaysOnTopPet.cpp
leiqunni/Neko98
4e1a1d0888c4edb620c806a532657da30c68894f
[ "BSD-Source-Code" ]
2
2018-04-07T17:44:23.000Z
2021-09-11T20:25:11.000Z
Neko98/AlwaysOnTopPet.cpp
leiqunni/Neko98
4e1a1d0888c4edb620c806a532657da30c68894f
[ "BSD-Source-Code" ]
5
2019-09-04T18:10:16.000Z
2021-07-10T19:31:51.000Z
// AlwaysOnTopPet.cpp: implementation of the CAlwaysOnTopPet class. // ////////////////////////////////////////////////////////////////////// #include "AlwaysOnTopPet.h" //class name constant static const char* g_szOnTopClassName = "NekoOnTop_Wnd"; //forward declaration LRESULT CALLBACK WndProc_OnTop(HWND hWnd, UINT...
30.122449
196
0.672849
leiqunni
cdb87c36b130e099fed5c7f5863d8449ae70c0bc
3,781
cpp
C++
users-archive/attachments/20130529/afd792d4/attachment-0003.cpp
zayenz/gecode.github.io
e759c2c1940d9a018373bcc6c316d9cb04efa5a0
[ "MIT-feh" ]
1
2020-10-28T06:11:30.000Z
2020-10-28T06:11:30.000Z
users-archive/attachments/20130529/afd792d4/attachment-0003.cpp
zayenz/gecode.github.io
e759c2c1940d9a018373bcc6c316d9cb04efa5a0
[ "MIT-feh" ]
1
2019-05-05T11:10:31.000Z
2019-05-05T11:10:31.000Z
users-archive/attachments/20130529/afd792d4/attachment-0003.cpp
zayenz/gecode.github.io
e759c2c1940d9a018373bcc6c316d9cb04efa5a0
[ "MIT-feh" ]
4
2019-05-03T18:43:19.000Z
2020-12-17T04:06:59.000Z
// Square Packing.cpp : Defines the entry point for the console application. // #include <gecode/int.hh> #include <gecode/search.hh> #include <gecode/gist.hh> #include <gecode/driver.hh> #include <gecode/minimodel.hh> #include <type_traits> #include <array> #include <cmath> void nooverlap(Gecode::Home h...
31.247934
118
0.658556
zayenz
cdbf2aff7a8887464b0de7911e195e3397ee7f7e
1,188
cpp
C++
test/Splines/Tangent.cpp
kurocha/splines
00ba452d378f71b26bddbfe787f68dea6e6160ad
[ "MIT", "Unlicense" ]
null
null
null
test/Splines/Tangent.cpp
kurocha/splines
00ba452d378f71b26bddbfe787f68dea6e6160ad
[ "MIT", "Unlicense" ]
null
null
null
test/Splines/Tangent.cpp
kurocha/splines
00ba452d378f71b26bddbfe787f68dea6e6160ad
[ "MIT", "Unlicense" ]
null
null
null
// // Tangent.cpp // This file is part of the "Splines" project and released under the MIT License. // // Created by Samuel Williams on 9/6/2020. // Copyright, 2020, by Samuel Williams. All rights reserved. // #include <UnitTest/UnitTest.hpp> #include <Splines/Polyline.hpp> #include <Splines/Spline.hpp> #include ...
23.76
82
0.63468
kurocha
02cc53c73971a07c61e6d069df192913b347eefe
3,229
cpp
C++
src/zisa/model/all_variables.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
src/zisa/model/all_variables.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
src/zisa/model/all_variables.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
1
2021-08-24T11:52:51.000Z
2021-08-24T11:52:51.000Z
// SPDX-License-Identifier: MIT // Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval #include <zisa/model/all_variables.hpp> namespace zisa { bool operator==(const AllVariablesDimensions &a, const AllVariablesDimensions &b) { return (a.n_cells == b.n_cells) && (a.n_cvars == b.n_cvars) && ...
27.836207
80
0.673893
1uc
02d13bc0cd9f702c6482eab0542a1207f80ca09e
7,357
cpp
C++
serial/dataanalysis.cpp
dreamtravel/Sensor_PC
7fa7b4acd217fd97ada5c19a7127d0332b1e6256
[ "MIT" ]
null
null
null
serial/dataanalysis.cpp
dreamtravel/Sensor_PC
7fa7b4acd217fd97ada5c19a7127d0332b1e6256
[ "MIT" ]
null
null
null
serial/dataanalysis.cpp
dreamtravel/Sensor_PC
7fa7b4acd217fd97ada5c19a7127d0332b1e6256
[ "MIT" ]
null
null
null
/***************************************************************************** ** **Copyright (C) 2014 UP-TECH Corporation and/or its subsidiary(-ies). **All rights reserved. **Contact: UP-TECH Corporation (anld@up-tech.com) ** **This file is part of the Sensor Data Analysis Thread. ** ********************************...
31.042194
79
0.488922
dreamtravel
02d1ad7743661964343baa4cdfefc1a656b7f90a
11,202
cpp
C++
Framework/Source/C++11/LWCore/LWCrypto.cpp
slicer4ever/Lightwaver
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
3
2017-10-24T08:04:49.000Z
2018-08-28T10:08:08.000Z
Framework/Source/C++11/LWCore/LWCrypto.cpp
slicer4ever/Lightwave
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
null
null
null
Framework/Source/C++11/LWCore/LWCrypto.cpp
slicer4ever/Lightwave
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
null
null
null
#include "LWCore/LWCrypto.h" #include "LWCore/LWByteBuffer.h" #include <cstring> #include <iostream> uint32_t LWCrypto::HashMD5(const char *InBuffer, uint32_t InBufferLen, char *OutBuffer){ char Buffer[64]; uint32_t Table[] = { 0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, 0xf57c0faf, 0x4787c62a, 0xa8304613, ...
47.668085
118
0.644885
slicer4ever
02d73d0103383a1d6bbc883a23a2426a9f770aac
700
cpp
C++
src/particle.cpp
robdan7/Impact
75dfce522b569bbd2f4dfb549aa78d2196c8e793
[ "MIT" ]
null
null
null
src/particle.cpp
robdan7/Impact
75dfce522b569bbd2f4dfb549aa78d2196c8e793
[ "MIT" ]
null
null
null
src/particle.cpp
robdan7/Impact
75dfce522b569bbd2f4dfb549aa78d2196c8e793
[ "MIT" ]
null
null
null
// // Created by Robin on 2021-06-22. // #include "particle.h" namespace Impact { Same_arena_allocator<1,uint16_t,particle> particle::s_allocator; private_ptr<particle> particle::Create(const vec3 &position, const vec3 &velocity, scalar inverse_mass, const vec3 &acceleration) { auto ID = (ptr_prim...
35
113
0.718571
robdan7
02d74315f5be49263ec8ebe3d6e405305898d227
507
hpp
C++
include/yall/timer.hpp
Bajron/yall
b1d191b884c94a8a6e55271837f9c778d101784f
[ "MIT" ]
null
null
null
include/yall/timer.hpp
Bajron/yall
b1d191b884c94a8a6e55271837f9c778d101784f
[ "MIT" ]
null
null
null
include/yall/timer.hpp
Bajron/yall
b1d191b884c94a8a6e55271837f9c778d101784f
[ "MIT" ]
null
null
null
#pragma once #include "yall/logger.hpp" #include <chrono> namespace yall { template <class T = std::chrono::steady_clock> struct Timer { Logger logger; typename T::time_point last; Timer(Logger logger): logger(logger), last(T::now()) { logger("Timer starts"); } void operator()(const std::string& mess...
19.5
92
0.615385
Bajron
02dad15413d8f093655f32e1ae7647226174a299
2,271
inl
C++
BG3Extender/GameDefinitions/PropertyMaps/SurfaceActions.inl
Norbyte/bg3se
209275d5c99d92c65f47c07906f4e9bdcf28a073
[ "MIT" ]
3
2021-11-08T22:29:01.000Z
2022-01-23T03:19:56.000Z
BG3Extender/GameDefinitions/PropertyMaps/SurfaceActions.inl
Norbyte/bg3se
209275d5c99d92c65f47c07906f4e9bdcf28a073
[ "MIT" ]
2
2021-09-14T22:37:46.000Z
2021-12-26T17:08:47.000Z
BG3Extender/GameDefinitions/PropertyMaps/SurfaceActions.inl
Norbyte/bg3se
209275d5c99d92c65f47c07906f4e9bdcf28a073
[ "MIT" ]
null
null
null
BEGIN_CLS(esv::SurfaceAction) P(StoryActionID) P_REF(Originator) P_RO(Handle) END_CLS() BEGIN_CLS(esv::CreateSurfaceActionBase) INHERIT(esv::SurfaceAction) P(Owner) P(Duration) P(IsControlledByConcentration) P(Position) P(SurfaceType) END_CLS() BEGIN_CLS(esv::CreateSurfaceAction) INHERIT(esv::CreateSurfaceActionBas...
16.221429
47
0.810216
Norbyte
02e030a012a432beec829074eeb8ab806fed386a
1,351
hpp
C++
platforms/magnum/include/tangram/platform_magnum.hpp
mathisloge/tangram-es
36899751d86f8899d864414784b8c88e4ce42349
[ "MIT" ]
null
null
null
platforms/magnum/include/tangram/platform_magnum.hpp
mathisloge/tangram-es
36899751d86f8899d864414784b8c88e4ce42349
[ "MIT" ]
null
null
null
platforms/magnum/include/tangram/platform_magnum.hpp
mathisloge/tangram-es
36899751d86f8899d864414784b8c88e4ce42349
[ "MIT" ]
null
null
null
#pragma once #include "map.h" #include "platform.h" #include <Magnum/GL/Texture.h> #include <memory> #include <tangram_export.h> #include <utility> namespace Tangram { void TANGRAM_EXPORT setContext(Magnum::GL::Context& ctx); class TANGRAM_EXPORT MagnumTexture { public: explicit MagnumTexture(const int width, co...
30.022222
107
0.680237
mathisloge
02e2649d890fa2c0b0438de3d478fc1254d1dc99
3,646
cpp
C++
src/Dynamics/ParticleSystem/ParticleSystem.cpp
regnore/peridyno
4cc45d8436cc4406edd9f044307cf92ecd7f1244
[ "Apache-2.0" ]
2
2022-01-29T08:51:50.000Z
2022-02-22T12:07:09.000Z
src/Dynamics/ParticleSystem/ParticleSystem.cpp
regnore/peridyno
4cc45d8436cc4406edd9f044307cf92ecd7f1244
[ "Apache-2.0" ]
null
null
null
src/Dynamics/ParticleSystem/ParticleSystem.cpp
regnore/peridyno
4cc45d8436cc4406edd9f044307cf92ecd7f1244
[ "Apache-2.0" ]
null
null
null
#include "ParticleSystem.h" #include "Topology/PointSet.h" namespace dyno { IMPLEMENT_TCLASS(ParticleSystem, TDataType) template<typename TDataType> ParticleSystem<TDataType>::ParticleSystem(std::string name) : Node(name) { auto ptSet = std::make_shared<PointSet<TDataType>>(); this->stateTopology()->setData...
23.986842
89
0.655513
regnore
02e62bdd77b56323811501590f0a0feb86fa30ab
14,000
cpp
C++
es-app/src/guis/GuiRomsManager.cpp
digitalLumberjack/EmulationStation
15ce9ce0c40faee69611c69ffcb1cf57d0182330
[ "MIT" ]
51
2015-11-15T12:17:15.000Z
2020-12-30T18:36:06.000Z
es-app/src/guis/GuiRomsManager.cpp
digitalLumberjack/EmulationStation
15ce9ce0c40faee69611c69ffcb1cf57d0182330
[ "MIT" ]
78
2015-11-18T11:56:30.000Z
2018-03-29T17:45:51.000Z
es-app/src/guis/GuiRomsManager.cpp
digitalLumberjack/EmulationStation
15ce9ce0c40faee69611c69ffcb1cf57d0182330
[ "MIT" ]
81
2015-12-27T11:09:20.000Z
2021-06-04T09:42:47.000Z
/* * Copyright (c) 2015 Filipe Azevedo <pasnox@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, ...
33.898305
157
0.729643
digitalLumberjack
02e9d3fe2e6161eea8ec8aa49e781617ebc1819c
1,134
cpp
C++
Wonderland/Wonderland/Editor/Foundation/Shader/ShaderBase.cpp
RodrigoHolztrattner/Wonderland
ffb71d47c1725e7cd537e2d1380962b5dfdc3d75
[ "MIT" ]
3
2018-04-09T13:01:07.000Z
2021-03-18T12:28:48.000Z
Wonderland/Wonderland/Editor/Foundation/Shader/ShaderBase.cpp
RodrigoHolztrattner/Wonderland
ffb71d47c1725e7cd537e2d1380962b5dfdc3d75
[ "MIT" ]
null
null
null
Wonderland/Wonderland/Editor/Foundation/Shader/ShaderBase.cpp
RodrigoHolztrattner/Wonderland
ffb71d47c1725e7cd537e2d1380962b5dfdc3d75
[ "MIT" ]
1
2021-03-18T12:28:50.000Z
2021-03-18T12:28:50.000Z
//////////////////////////////////////////////////////////////////////////////// // Filename: ShaderBase.cpp //////////////////////////////////////////////////////////////////////////////// #include "ShaderBase.h" /* ShaderBase::ShaderBase() { } ShaderBase::ShaderBase(const ShaderBase& other) { } ShaderBase::~Shade...
20.25
100
0.620811
RodrigoHolztrattner
02ea66375f730b7ce666e6b6878c17178e74c9fe
935
cpp
C++
matrix.cpp
ikamei15/ikamei
53f979f431b257a11baa2b280b280936c9182156
[ "MIT" ]
null
null
null
matrix.cpp
ikamei15/ikamei
53f979f431b257a11baa2b280b280936c9182156
[ "MIT" ]
null
null
null
matrix.cpp
ikamei15/ikamei
53f979f431b257a11baa2b280b280936c9182156
[ "MIT" ]
null
null
null
#include<conio.h> #include<iostream.h> main() { int a,b; int matrix1[2][2]; int matrix2[2][2]; int matrix3[2][2]; clrscr(); cout<<"\t**Tugas Logika Algoritma**\n\n"; for(a=0;a<=1;a++) { for(b=0;b<=1;b++) { cout<<"Masukkan nilai ke - "<<a<<" "<<b<<" ";cin>>matrix1[a][b]; } } cout<<"\nmatrix1\n...
15.080645
69
0.435294
ikamei15
02ed89884a3cda0aec7a5d1455a1b7e142769d0f
1,413
cpp
C++
Source/PyramidMath/SupplyContainer.cpp
andriuchap/summer-ue4jam-2019
125a67cffe6b98d5d6a04b762a07e2c75256d86b
[ "Apache-2.0" ]
null
null
null
Source/PyramidMath/SupplyContainer.cpp
andriuchap/summer-ue4jam-2019
125a67cffe6b98d5d6a04b762a07e2c75256d86b
[ "Apache-2.0" ]
null
null
null
Source/PyramidMath/SupplyContainer.cpp
andriuchap/summer-ue4jam-2019
125a67cffe6b98d5d6a04b762a07e2c75256d86b
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SupplyContainer.h" #include "PyramidMathCharacter.h" #include "Components/StaticMeshComponent.h" #include "Components/BoxComponent.h" ASupplyContainer::ASupplyContainer(const FObjectInitializer& ObjInitializer) { bIsLooted = fal...
26.166667
91
0.801132
andriuchap
02f0a4cb8b9c54b99df844cb8231e3c485341e14
351
hpp
C++
src/graphics/graphics.hpp
otgaard/zap
d50e70b5baf5f0fbf7a5a98d80c4d1bcc6166215
[ "MIT" ]
8
2016-04-24T21:02:59.000Z
2021-11-14T20:37:17.000Z
src/graphics/graphics.hpp
otgaard/zap
d50e70b5baf5f0fbf7a5a98d80c4d1bcc6166215
[ "MIT" ]
null
null
null
src/graphics/graphics.hpp
otgaard/zap
d50e70b5baf5f0fbf7a5a98d80c4d1bcc6166215
[ "MIT" ]
1
2018-06-09T19:51:38.000Z
2018-06-09T19:51:38.000Z
// // Created by otgaard on 2018/02/11. // #ifndef ZAP_GRAPHICS_HPP #define ZAP_GRAPHICS_HPP #if defined(_WIN32) #if !defined(GRAPHICS_EXPORT) #if defined(ZAP_STATIC) #include "graphics_exports_s.h" #else #include "graphics_exports.h" #endif #else #include GRAPHICS_EXPORT #endif #else #define ZAPGRAPHICS_EXPORT #en...
14.04
36
0.774929
otgaard
02f5254cf6f71a05d3b3d24f8df09ae7257af5d6
1,259
cpp
C++
test/data-tests/testcases/test-101.cpp
zhaitianduo/libosmium
42fc3238f942baac47d8520425664376478718b1
[ "BSL-1.0" ]
4,526
2015-01-01T15:31:00.000Z
2022-03-31T17:33:49.000Z
test/data-tests/testcases/test-101.cpp
zhaitianduo/libosmium
42fc3238f942baac47d8520425664376478718b1
[ "BSL-1.0" ]
4,497
2015-01-01T15:29:12.000Z
2022-03-31T19:19:35.000Z
test/data-tests/testcases/test-101.cpp
zhaitianduo/libosmium
42fc3238f942baac47d8520425664376478718b1
[ "BSL-1.0" ]
3,023
2015-01-01T18:40:53.000Z
2022-03-30T13:30:46.000Z
#include <stdexcept> #include "common.hpp" class TestHandler101 : public osmium::handler::Handler { public: TestHandler101() : osmium::handler::Handler() { } void node(const osmium::Node& node) const { constexpr const double epsilon = 0.00000001; if (node.id() == 101000) { ...
29.27907
81
0.597299
zhaitianduo
02fa59699466b1edc0b01eaa013012d0141b6164
12,994
cpp
C++
Modules/Classification/CLMiniApps/CLVoxelFeatures.cpp
samsmu/MITK
c93dce6dc38d8f4c961de4440e4dd113b9841c8c
[ "BSD-3-Clause" ]
5
2015-02-05T10:58:41.000Z
2019-04-17T15:04:07.000Z
Modules/Classification/CLMiniApps/CLVoxelFeatures.cpp
kometa-dev/MITK
984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d
[ "BSD-3-Clause" ]
141
2015-03-03T06:52:01.000Z
2020-12-10T07:28:14.000Z
Modules/Classification/CLMiniApps/CLVoxelFeatures.cpp
kometa-dev/MITK
984b5f7ac8ea614e80f303381ef1fc77d8ca4c3d
[ "BSD-3-Clause" ]
4
2015-02-19T06:48:13.000Z
2020-06-19T16:20:25.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
39.615854
232
0.667693
samsmu
02fc0bb1c3985caa2abc873795acae251811786d
22,561
cpp
C++
TouchGFX/target/HW_Init.cpp
argandas/STM32F746G-DISCO_TouchGFX_Demo-Graph
0375fad81b314bd1b9ec8f9101b51ac077d5ea81
[ "MIT" ]
3
2019-12-30T21:16:50.000Z
2021-05-11T05:28:25.000Z
TouchGFX/target/HW_Init.cpp
argandas/STM32F746G-DISCO_TouchGFX_Demo-Graph
0375fad81b314bd1b9ec8f9101b51ac077d5ea81
[ "MIT" ]
null
null
null
TouchGFX/target/HW_Init.cpp
argandas/STM32F746G-DISCO_TouchGFX_Demo-Graph
0375fad81b314bd1b9ec8f9101b51ac077d5ea81
[ "MIT" ]
1
2020-03-15T14:35:46.000Z
2020-03-15T14:35:46.000Z
/** ****************************************************************************** * @file HW_Init.cpp * @author MCD Application Team * @version V1.0.0RC1 * @date 19-June-2017 * @brief This file implements the hardware configuration for the GUI library ********************************************...
33.723468
89
0.621027
argandas