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
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
a329249f0ebba8fe652ea2c9b5ec824ac54923ab
4,274
cc
C++
chrome/browser/icon_manager.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
chrome/browser/icon_manager.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
chrome/browser/icon_manager.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright (c) 2011 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/icon_manager.h" #include "base/bind.h" #include "base/memory/scoped_ptr.h" #include "base/stl_util.h" #include "base/task_ru...
28.684564
80
0.681329
kjthegod
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
a32b23390d62dece87661ef81eae43ce7657daad
56,124
cpp
C++
tools/sandbox/sandbox.cpp
bje-/wex
65a2823fa7c29894fecc0d655521796681bb0e87
[ "BSD-3-Clause" ]
null
null
null
tools/sandbox/sandbox.cpp
bje-/wex
65a2823fa7c29894fecc0d655521796681bb0e87
[ "BSD-3-Clause" ]
null
null
null
tools/sandbox/sandbox.cpp
bje-/wex
65a2823fa7c29894fecc0d655521796681bb0e87
[ "BSD-3-Clause" ]
null
null
null
/*********************************************************************************************************************** * WEX, Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provide...
37.641851
181
0.631548
bje-
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
a32d5d6a544b76fcd443cf548f5b9c30439129b8
5,899
hpp
C++
ugc/binary/visitors.hpp
imanmoghimiq30/omim
16e8a4feeb9a8fa41a2aaf42a1c9c32f77d9d423
[ "Apache-2.0" ]
null
null
null
ugc/binary/visitors.hpp
imanmoghimiq30/omim
16e8a4feeb9a8fa41a2aaf42a1c9c32f77d9d423
[ "Apache-2.0" ]
null
null
null
ugc/binary/visitors.hpp
imanmoghimiq30/omim
16e8a4feeb9a8fa41a2aaf42a1c9c32f77d9d423
[ "Apache-2.0" ]
null
null
null
#pragma once #include "ugc/types.hpp" #include "coding/read_write_utils.hpp" #include "coding/text_storage.hpp" #include "coding/varint.hpp" #include "base/assert.hpp" #include <algorithm> #include <cmath> #include <cstdint> #include <iterator> #include <string> #include <type_traits> #include <vector> class Reade...
26.692308
99
0.645194
imanmoghimiq30
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
cd14056a64378b49468cfaf9ef6a3bcab86f1f63
308
cpp
C++
LeetCode/Solutions/LC1375.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
LeetCode/Solutions/LC1375.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
LeetCode/Solutions/LC1375.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
/* Problem Statement: https://leetcode.com/problems/bulb-switcher-iii/ */ class Solution { public: int numTimesAllBlue(vector<int>& light) { int cnt, max_l; cnt = max_l = 0; for (int i = 1; i <= light.size(); i++) { max_l = max(light[i - 1], max_l); cnt += (i == max_l); } return cnt; } };
19.25
67
0.594156
Mohammed-Shoaib
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
cd1bf5fd32b6510ab82befddf4f186130934f23d
13,823
cpp
C++
src/tests/servers/app/playground/ObjectWindow.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/tests/servers/app/playground/ObjectWindow.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/tests/servers/app/playground/ObjectWindow.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
// main.cpp #include <stdio.h> #include <stdlib.h> #include <Application.h> #include <Alert.h> #include <Bitmap.h> #include <Box.h> #include <Button.h> #include <Catalog.h> #include <CheckBox.h> #include <ColorControl.h> #include <ListItem.h> #include <ListView.h> #include <Menu.h> #include <MenuBar.h> #include <Menu...
27.868952
94
0.708602
Kirishikesan
cd1d908666d2b8ddf79c28d79ed7be4a7e7d4085
338
cpp
C++
cf/1178/b.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
cf/1178/b.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
cf/1178/b.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; char s[1000010]; int n; long long ans, pre, preo; int main() { scanf("%s", s + 1); n = strlen(s + 1); for(int i = 1; i <= n; ++i) { if(s[i] == 'v') { if(s[i - 1] == 'v') { ans += preo; pre++; } } if(s[i] == 'o') preo += pre; } printf("%lld\n", ...
14.695652
30
0.45858
tusikalanse
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
cd2624b3f4038d42f8eb6610711c43ea38ebe4ed
603
cpp
C++
LeetCode/LC00402.cpp
Sunrisepeak/AC-Online-Judge
5b5ea2eefa2ba48d718957720158fb79134a8fa7
[ "Apache-2.0" ]
3
2019-03-17T11:47:05.000Z
2021-12-10T03:41:42.000Z
LeetCode/LC00402.cpp
Sunrisepeak/AC-Online-Judge
5b5ea2eefa2ba48d718957720158fb79134a8fa7
[ "Apache-2.0" ]
null
null
null
LeetCode/LC00402.cpp
Sunrisepeak/AC-Online-Judge
5b5ea2eefa2ba48d718957720158fb79134a8fa7
[ "Apache-2.0" ]
null
null
null
class Solution { public: string removeKdigits(string num, int k) { int stackTop = 0, j = 0; for (; j < num.size(); j++) { while (k && stackTop > 0 && num[stackTop - 1] > num[j]) { stackTop--; k--; } num[stackTop++] = num[j]; } stack...
24.12
92
0.482587
Sunrisepeak
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
cd30b6421b0ff5394919022909ace123b5716dc7
334
cc
C++
test/printable_test.cc
vesavlad/utl
8a293414defd6fac4d2448b4ea1afca766f71730
[ "MIT" ]
null
null
null
test/printable_test.cc
vesavlad/utl
8a293414defd6fac4d2448b4ea1afca766f71730
[ "MIT" ]
null
null
null
test/printable_test.cc
vesavlad/utl
8a293414defd6fac4d2448b4ea1afca766f71730
[ "MIT" ]
null
null
null
#include "catch2/catch.hpp" #include <sstream> #include "utl/struct/printable.h" struct a { MAKE_PRINTABLE(a) int i_ = 1; int j_ = 2; double d_ = 100.0; std::string s_ = "hello world"; }; TEST_CASE("printable") { a instance; std::stringstream ss; ss << instance; CHECK(ss.str() == "{1, 2, 100, hell...
15.904762
48
0.61976
vesavlad
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
cd35897c8e03b3f83adf2855cf80f8b412d68271
4,300
hpp
C++
clicache/src/impl/ManagedCacheableDelta.hpp
rhoughton-pivot/geode-native
ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd
[ "Apache-2.0" ]
48
2017-02-08T22:24:07.000Z
2022-02-06T02:47:56.000Z
clicache/src/impl/ManagedCacheableDelta.hpp
rhoughton-pivot/geode-native
ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd
[ "Apache-2.0" ]
388
2017-02-13T17:09:45.000Z
2022-03-29T22:18:39.000Z
clicache/src/impl/ManagedCacheableDelta.hpp
rhoughton-pivot/geode-native
ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd
[ "Apache-2.0" ]
68
2017-02-09T18:43:15.000Z
2022-03-14T22:59:13.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
36.134454
108
0.653953
rhoughton-pivot
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
cd38b3ab0aa765f801ace0bf39ed272383960bbb
7,085
cc
C++
chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 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/launcher/launcher.h" #include "ash/shelf/shelf_view.h" #include "ash/shell.h" #include "ash/test/launcher_test_api.h" #include "base/command...
35.248756
106
0.747212
nagineni
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
cd3b6a66bf84d49eb22fbf01a1bc48fb11c7dbc8
1,442
cpp
C++
admin/wmi/wbem/providers/framework/thrdlog/provevt.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/wmi/wbem/providers/framework/thrdlog/provevt.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/wmi/wbem/providers/framework/thrdlog/provevt.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//*************************************************************************** // // PROVEVT.CPP // // Module: OLE MS PROVIDER FRAMEWORK // // Copyright (c) 1996-2001 Microsoft Corporation, All Rights Reserved // //*************************************************************************** #incl...
16.767442
87
0.54577
npocmaka
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
cd40bbe3446e9f464fe022eb64b465a3578cb489
702
cpp
C++
ion/src/device/userland/drivers/pcb_version.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
1,442
2017-08-28T19:39:45.000Z
2022-03-30T00:56:14.000Z
ion/src/device/userland/drivers/pcb_version.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
1,321
2017-08-28T23:03:10.000Z
2022-03-31T19:32:17.000Z
ion/src/device/userland/drivers/pcb_version.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
421
2017-08-28T22:02:39.000Z
2022-03-28T20:52:21.000Z
#include <ion.h> #include <userland/drivers/svcall.h> namespace Ion { uint32_t SVC_ATTRIBUTES devicePcbVersion() { SVC_RETURNING_R0(SVC_PCB_VERSION, uint32_t) } const char * pcbVersion() { constexpr int pcbVersionLength = 5; // xx.yy static char pcbVer[pcbVersionLength + 1] = {'\0'}; if (pcbVer[0] == '\0') {...
22.645161
73
0.584046
VersiraSec
cd43ff836c0a89178818e00d113f641e740591aa
7,082
cpp
C++
src/hobbits-widgets/displaysplitter.cpp
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
304
2020-02-07T21:05:22.000Z
2022-03-24T05:30:37.000Z
src/hobbits-widgets/displaysplitter.cpp
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
135
2020-02-11T22:52:47.000Z
2022-03-17T11:42:17.000Z
src/hobbits-widgets/displaysplitter.cpp
SabheeR/hobbits
8bfb997940c73467af2ceb0275c470b763d2c1bf
[ "MIT" ]
30
2020-03-11T14:36:43.000Z
2022-03-07T04:45:17.000Z
#include "displaysplitter.h" #include <QMouseEvent> DisplaySplitter::DisplaySplitter(QSharedPointer<HobbitsPluginManager> pluginManager, QSharedPointer<DisplayHandle> handle, MultiDisplayWidget* nonSplitWidget, QWidget *parent) : m_mousePressing(false), ...
23.450331
89
0.605761
SabheeR
cd4437ebdb57ac76ccf3660e515e1d5f62175045
7,468
cc
C++
src/net/http/http_stream_factory.cc
Chilledheart/naiveproxy
9d28da89b325a90d33add830f4202c8b17c7c3e3
[ "BSD-3-Clause" ]
null
null
null
src/net/http/http_stream_factory.cc
Chilledheart/naiveproxy
9d28da89b325a90d33add830f4202c8b17c7c3e3
[ "BSD-3-Clause" ]
null
null
null
src/net/http/http_stream_factory.cc
Chilledheart/naiveproxy
9d28da89b325a90d33add830f4202c8b17c7c3e3
[ "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 "net/http/http_stream_factory.h" #include <tuple> #include <utility> #include "base/check.h" #include "base/metrics/histogram_macros.h" #in...
38.694301
80
0.759373
Chilledheart
cd45b6362ab310752c9dd68c3f90fdc74c22f78f
3,821
cpp
C++
beerocks/bwl/dummy/mon_wlan_hal_dummy.cpp
prplfoundation/prplMesh-common
96574a27695d2b6d3d610e680d8faaa52f0635d7
[ "BSD-2-Clause-Patent" ]
1
2019-05-01T14:45:31.000Z
2019-05-01T14:45:31.000Z
beerocks/bwl/dummy/mon_wlan_hal_dummy.cpp
prplfoundation/prplMesh-common
96574a27695d2b6d3d610e680d8faaa52f0635d7
[ "BSD-2-Clause-Patent" ]
2
2019-05-22T15:32:59.000Z
2019-05-27T14:15:55.000Z
beerocks/bwl/dummy/mon_wlan_hal_dummy.cpp
prplfoundation/prplMesh-common
96574a27695d2b6d3d610e680d8faaa52f0635d7
[ "BSD-2-Clause-Patent" ]
1
2019-05-13T09:51:20.000Z
2019-05-13T09:51:20.000Z
/* SPDX-License-Identifier: BSD-2-Clause-Patent * * Copyright (c) 2016-2019 Intel Corporation * * This code is subject to the terms of the BSD+Patent license. * See LICENSE file for more details. */ #include "mon_wlan_hal_dummy.h" #include <beerocks/bcl/beerocks_utils.h> #include <beerocks/bcl/network/network_u...
32.381356
100
0.496205
prplfoundation
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
cd48de8666eeb9c80d482997893cd25a0597eccb
13,325
cc
C++
gnuradio-3.7.13.4/gr-qtgui/lib/histogram_sink_f_impl.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gr-qtgui/lib/histogram_sink_f_impl.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gr-qtgui/lib/histogram_sink_f_impl.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
/* -*- c++ -*- */ /* * Copyright 2013,2015 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your o...
26.076321
87
0.610882
v1259397
cd49749b9661a64bd6e6103466f0ad678574f0b6
13,027
cc
C++
src/yb/util/trace.cc
ananyaks/yugabyte-db
2a4fb09169da3a4c08740e88388576251312589a
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/yb/util/trace.cc
ananyaks/yugabyte-db
2a4fb09169da3a4c08740e88388576251312589a
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/yb/util/trace.cc
ananyaks/yugabyte-db
2a4fb09169da3a4c08740e88388576251312589a
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
32.405473
100
0.685576
ananyaks
cd49f2d29b6c8860ed3a537e0fa717ba32cbaafc
1,207
cc
C++
lib/sk/io/unix/PtyImpl.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
4
2019-02-19T16:48:41.000Z
2022-01-31T07:57:54.000Z
lib/sk/io/unix/PtyImpl.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
1
2019-01-30T04:48:35.000Z
2019-01-30T04:48:35.000Z
lib/sk/io/unix/PtyImpl.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
null
null
null
/* Copyright (c) 2006, Gennady Bystritsky <bystr@mac.com> * * Distributed under the MIT Licence. * This is free software. See 'LICENSE' for details. * You must read and accept the license prior to use. */ #include <sk/util/Class.h> #include <sk/util/String.h> #include <sk/util/Holder.cxx> #include <sk/io/File....
17
85
0.684341
stemkit-collection
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
cd506e9bd105df31ea7606a753f1bd6d2bd9165b
826
cpp
C++
Codeforces/Hello2019/B-Petr and the Combination Lock.cpp
JanaSabuj/cpmaster
d943780c7ca4badbefbce2d300848343c4032650
[ "MIT" ]
1
2020-11-29T08:36:38.000Z
2020-11-29T08:36:38.000Z
Codeforces/Hello2019/B-Petr and the Combination Lock.cpp
Sahu49/CompetitiveProgramming
adf11a546f81878ad2975926219af84deb3414e8
[ "MIT" ]
null
null
null
Codeforces/Hello2019/B-Petr and the Combination Lock.cpp
Sahu49/CompetitiveProgramming
adf11a546f81878ad2975926219af84deb3414e8
[ "MIT" ]
null
null
null
//Built by Sabuj Jana(greenindia) from Jadavpur University #include <bits/stdc++.h> using namespace std; void fileio(){freopen("input.txt", "r", stdin);freopen("output.txt", "w", stdout);freopen("error.txt", "w", stderr);} int main() { fileio(); ios_base::sync_with_stdio(false);cin.tie(nullptr); // int t;c...
15.018182
117
0.520581
JanaSabuj
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
cd55537ecabf1c0a521eef071b03865950b9e4cc
7,865
cpp
C++
Source/AnimController.cpp
pablogalve/Edu-Game-Engine
99b5ae6a96a1168f43f3e8f81f89bfca897b9109
[ "Unlicense" ]
null
null
null
Source/AnimController.cpp
pablogalve/Edu-Game-Engine
99b5ae6a96a1168f43f3e8f81f89bfca897b9109
[ "Unlicense" ]
null
null
null
Source/AnimController.cpp
pablogalve/Edu-Game-Engine
99b5ae6a96a1168f43f3e8f81f89bfca897b9109
[ "Unlicense" ]
null
null
null
#include "Globals.h" #include "AnimController.h" #include "ResourceAnimation.h" #include "Application.h" #include "ModuleResources.h" #include "Leaks.h" namespace { inline float Interpolate(float first, float second, float lambda) { return first * (1.0f - lambda) + second * lambda; } inlin...
28.189964
153
0.610172
pablogalve
cd593d8d98bbecf071c341a51887e1929b4c432e
12,606
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/widgets/util/qsystemtrayicon_x11.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/widgets/util/qsystemtrayicon_x11.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/widgets/util/qsystemtrayicon_x11.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtWidgets module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid comm...
32.323077
161
0.687292
GrinCash
cd5dbaabb97f9f5bff03997000bbe08825221788
1,107
cpp
C++
src/csim/constant.cpp
kodack64/qulacs-osaka
4ccc3ff084f10942e22d8663a01ed67efd24d9f7
[ "MIT" ]
4
2022-01-26T06:56:00.000Z
2022-03-18T02:07:24.000Z
src/csim/constant.cpp
kodack64/qulacs-osaka
4ccc3ff084f10942e22d8663a01ed67efd24d9f7
[ "MIT" ]
104
2021-11-12T04:15:02.000Z
2022-03-30T05:12:20.000Z
src/csim/constant.cpp
kodack64/qulacs-osaka
4ccc3ff084f10942e22d8663a01ed67efd24d9f7
[ "MIT" ]
3
2021-12-19T11:52:38.000Z
2022-03-09T04:20:17.000Z
#include "constant.hpp" // elementary set of gates const CTYPE PAULI_MATRIX[4][4] = { {1, 0, 0, 1}, {0, 1, 1, 0}, {0, -1.i, 1.i, 0}, {1, 0, 0, -1}}; const CTYPE S_GATE_MATRIX[4] = {1, 0, 0, 1.i}; const CTYPE S_DAG_GATE_MATRIX[4] = {1, 0, 0, -1.i}; const CTYPE T_GATE_MATRIX[4] = { COSPI8 - 1.i * SINPI8, 0., ...
29.131579
66
0.560976
kodack64
cd60f27ec09825d1ad26354a8a2d7abfc9a31c33
13,151
cpp
C++
graphlearn/core/operator/aggregator/test/aggregating_op_unittest.cpp
amznero/graph-learn
edb359edc0ce2bfdd5651cff62c592ded40a0849
[ "Apache-2.0" ]
1,088
2020-03-26T10:40:53.000Z
2022-03-31T01:27:21.000Z
graphlearn/core/operator/aggregator/test/aggregating_op_unittest.cpp
Seventeen17/graph-learn
77bd92f960e4d178a3606444684f7f04c7f5b738
[ "Apache-2.0" ]
134
2020-03-27T12:49:43.000Z
2022-03-31T09:39:40.000Z
graphlearn/core/operator/aggregator/test/aggregating_op_unittest.cpp
Seventeen17/graph-learn
77bd92f960e4d178a3606444684f7f04c7f5b738
[ "Apache-2.0" ]
230
2020-03-27T07:16:30.000Z
2022-03-29T01:57:47.000Z
/* Copyright 2020 Alibaba Group Holding Limited. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
36.030137
107
0.605277
amznero
cd6242bfd88e48b52b88c3410bf1dfbf1e9cd235
29,466
cpp
C++
legacy/gnupg/kbx/keybox-search.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
224
2017-10-29T09:48:00.000Z
2021-07-21T10:27:14.000Z
legacy/gnupg/kbx/keybox-search.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
66
2017-10-29T16:17:55.000Z
2020-11-30T18:53:40.000Z
legacy/gnupg/kbx/keybox-search.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
22
2017-10-29T19:55:45.000Z
2020-01-04T13:25:50.000Z
/* keybox-search.c - Search operations * Copyright (C) 2001, 2002, 2003, 2004, 2012, * 2013 Free Software Foundation, Inc. * * This file is part of GnuPG. * * GnuPG is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the ...
29.290258
80
0.605206
mehrdad-shokri
cd6376bd1b0b4391ccef2c969d955232a6055a29
56,820
cpp
C++
Code/Libraries/3D/src/meshfactory.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
6
2022-01-22T02:18:07.000Z
2022-02-14T09:30:53.000Z
Code/Libraries/3D/src/meshfactory.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
null
null
null
Code/Libraries/3D/src/meshfactory.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
null
null
null
#include "core.h" #include "3d.h" #include "meshfactory.h" #include "mesh.h" #include "ivertexbuffer.h" #include "ivertexdeclaration.h" #include "iindexbuffer.h" #include "vector.h" #include "vector4.h" #include "vector2.h" #include "bonearray.h" #include "matrix.h" #include "view.h" #include "frustum.h" #include "math...
31.21978
140
0.666051
dphrygian
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
cd666a3cf12073c96cab42cf5bcd29ffc7b4b8f9
1,142
cpp
C++
website/archive/binaries/mac/src/muscle/distpwkimura.cpp
homiak/jabaws
f9c48c1311a07bffd99866f3d70a82e889f10493
[ "Apache-2.0" ]
1
2019-06-30T00:40:32.000Z
2019-06-30T00:40:32.000Z
website/archive/binaries/mac/src/muscle/distpwkimura.cpp
homiak/jabaws
f9c48c1311a07bffd99866f3d70a82e889f10493
[ "Apache-2.0" ]
null
null
null
website/archive/binaries/mac/src/muscle/distpwkimura.cpp
homiak/jabaws
f9c48c1311a07bffd99866f3d70a82e889f10493
[ "Apache-2.0" ]
null
null
null
#include "muscle.h" #include "distfunc.h" #include "msa.h" #include "seqvect.h" #include "pwpath.h" void DistPWKimura(const SeqVect &v, DistFunc &DF) { SEQWEIGHT SeqWeightSave = GetSeqWeightMethod(); SetSeqWeightMethod(SEQWEIGHT_Henikoff); const unsigned uSeqCount = v.Length(); DF.SetCount(uSeqCount)...
24.826087
71
0.66725
homiak
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
cd6c13e763188e4501afbf2f7eff5d4d2753d202
4,377
cpp
C++
symphony.cpp
ssb22/clara-empricost
1927f0b6416b3a0874ba48ddce550141b6e617ef
[ "Apache-2.0" ]
null
null
null
symphony.cpp
ssb22/clara-empricost
1927f0b6416b3a0874ba48ddce550141b6e617ef
[ "Apache-2.0" ]
null
null
null
symphony.cpp
ssb22/clara-empricost
1927f0b6416b3a0874ba48ddce550141b6e617ef
[ "Apache-2.0" ]
null
null
null
/* Clara Empricost - Condition List Action Rejection Algorithm for the Evaluation of Music at Pseudo-Random Idea Construction Stage (C) 1996-2001 Silas S. Brown http://ssb22.user.srcf.net This code is no longer being maintained by the author. Licensed under the Apache License, Version ...
38.394737
124
0.711675
ssb22
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
cd75a54c6baa548cb260f12530c702b34bc173ae
25,412
cc
C++
benchmarks/sto/Transaction.cc
shenweihai1/rolis-eurosys2022
59b3fd58144496a9b13415e30b41617b34924323
[ "MIT" ]
null
null
null
benchmarks/sto/Transaction.cc
shenweihai1/rolis-eurosys2022
59b3fd58144496a9b13415e30b41617b34924323
[ "MIT" ]
null
null
null
benchmarks/sto/Transaction.cc
shenweihai1/rolis-eurosys2022
59b3fd58144496a9b13415e30b41617b34924323
[ "MIT" ]
null
null
null
#include "Transaction.hh" #include <typeinfo> #include <set> #include "OutputDataSerializer.h" //#include "SerializeUtility.h" #include "Hashtable.hh" #include "MassTrans.hh" #include "Interface.hh" #include "deptran/s_main.h" #include <stdio.h> #include <stdlib.h> #include <vector> #include <queue> #include <mutex> ...
34.064343
237
0.594365
shenweihai1
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
cd8be86b4eb3c8e6a660d732156662537acbe851
386
cpp
C++
3rdParty/boost/1.71.0/libs/smart_ptr/test/lwm_win32_cs_test.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
3rdParty/boost/1.71.0/libs/smart_ptr/test/lwm_win32_cs_test.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
3rdParty/boost/1.71.0/libs/smart_ptr/test/lwm_win32_cs_test.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
// // lwm_win32_cs_test.cpp // // Copyright 2017 Peter Dimov // // 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) // #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) # include <windows.h> # include...
20.315789
66
0.720207
rajeev02101987
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
cd8eaf1d86aaf92281d7f80cfeee74d27d26bc2f
3,993
cpp
C++
src/GafferArnold/IECoreArnoldPreview/ProceduralAlgo.cpp
danieldresser-ie/gaffer
78c22487156a5800fcca49a24f52451a8ac0c559
[ "BSD-3-Clause" ]
1
2016-07-31T09:55:09.000Z
2016-07-31T09:55:09.000Z
src/GafferArnold/IECoreArnoldPreview/ProceduralAlgo.cpp
Kthulhu/gaffer
8995d579d07231988abc92c3ac2788c15c8bc75c
[ "BSD-3-Clause" ]
null
null
null
src/GafferArnold/IECoreArnoldPreview/ProceduralAlgo.cpp
Kthulhu/gaffer
8995d579d07231988abc92c3ac2788c15c8bc75c
[ "BSD-3-Clause" ]
1
2020-02-15T16:15:54.000Z
2020-02-15T16:15:54.000Z
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2016, Image Engine Design 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: // // * Re...
38.028571
103
0.658903
danieldresser-ie
cd929e71ffb34b252a65ddb61c8d120cf151b596
4,686
cc
C++
xdl/test/data_io/packer/pack_skey_test.cc
hitflame/x-deeplearning
c8029396c6ae6dbf397a34a1801ceadc824e4f8d
[ "Apache-2.0" ]
2
2019-11-11T09:51:56.000Z
2021-08-04T04:02:29.000Z
xdl/test/data_io/packer/pack_skey_test.cc
hitflame/x-deeplearning
c8029396c6ae6dbf397a34a1801ceadc824e4f8d
[ "Apache-2.0" ]
1
2019-11-29T14:52:53.000Z
2019-11-29T14:52:53.000Z
xdl/test/data_io/packer/pack_skey_test.cc
hitflame/x-deeplearning
c8029396c6ae6dbf397a34a1801ceadc824e4f8d
[ "Apache-2.0" ]
1
2019-08-03T05:22:19.000Z
2019-08-03T05:22:19.000Z
/* Copyright (C) 2016-2018 Alibaba Group Holding Limited Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
24.663158
80
0.657064
hitflame
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
cd973454905f6d21b11220027c6639b85c528faa
1,172
cpp
C++
2.3/8/Solution.cpp
zhengyhn/cskaoyan-data-structure-solution
a523d66c7b5932b16b807699dd631635f03bfd61
[ "MIT" ]
1
2021-03-25T04:43:34.000Z
2021-03-25T04:43:34.000Z
2.3/8/Solution.cpp
zhengyhn/cskaoyan-data-structure-solution
a523d66c7b5932b16b807699dd631635f03bfd61
[ "MIT" ]
null
null
null
2.3/8/Solution.cpp
zhengyhn/cskaoyan-data-structure-solution
a523d66c7b5932b16b807699dd631635f03bfd61
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct ListNode { int value; ListNode *next; ListNode(int x) : value(x), next(NULL) {} }; class Solution { public: ListNode* findCommonNode(ListNode *head1, ListNode *head2) { int len1 = 0; int len2 = 0; ListNode *p = head1; while (p != NULL) { ...
19.533333
62
0.555461
zhengyhn
cd97b546b5001ae0722171969cc0a0fce80d5773
2,921
cpp
C++
tests/parser_test.cpp
lgirdk/jst
1790e2b22146d2417f467677e029f597277c73e3
[ "Apache-2.0" ]
null
null
null
tests/parser_test.cpp
lgirdk/jst
1790e2b22146d2417f467677e029f597277c73e3
[ "Apache-2.0" ]
null
null
null
tests/parser_test.cpp
lgirdk/jst
1790e2b22146d2417f467677e029f597277c73e3
[ "Apache-2.0" ]
1
2021-01-26T23:10:10.000Z
2021-01-26T23:10:10.000Z
/* If not stated otherwise in this file or this component's Licenses.txt file the following copyright and licenses apply: Copyright 2018 RDK Management 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 Li...
25.622807
103
0.627867
lgirdk
cd9a3856b3aed3a9ce71abcd1f88b18db058c515
52,588
cxx
C++
direct/src/dcparser/dcClass.cxx
kestred/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
3
2018-03-09T12:07:29.000Z
2021-02-25T06:50:25.000Z
direct/src/dcparser/dcClass.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
direct/src/dcparser/dcClass.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
// Filename: dcClass.cxx // Created by: drose (05Oct00) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should ha...
34.103761
96
0.565833
kestred
cd9b49bc9e1fe3ad76e1c95061ec3c10adfc9a1e
10,130
cpp
C++
clang/test/SemaSYCL/check-direct-attribute-propagation.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
653
2018-12-27T15:00:01.000Z
2022-03-30T11:52:23.000Z
clang/test/SemaSYCL/check-direct-attribute-propagation.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang/test/SemaSYCL/check-direct-attribute-propagation.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
// RUN: %clang_cc1 -fsycl-is-device -internal-isystem %S/Inputs -sycl-std=2020 -ast-dump %s | FileCheck %s // Tests for AST of [[intel::scheduler_target_fmax_mhz()]], [[intel::num_simd_work_items()]], // [[intel::no_global_work_offset()]], [[intel::max_global_work_dim()]], [[intel::sycl_explicit_simd]], // [[sycl::req...
34.455782
106
0.607601
mkinsner
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
cd9fb766d681ac93d0d59a4674f1df9a71c330f9
9,102
cc
C++
mindspore/lite/src/ir/tensor.cc
i4oolish/mindspore
dac3be31d0f2c0a3516200f47af30980e566601b
[ "Apache-2.0" ]
1
2020-08-10T12:06:22.000Z
2020-08-10T12:06:22.000Z
mindspore/lite/src/ir/tensor.cc
dilingsong/mindspore
4276050f2494cfbf8682560a1647576f859991e8
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/ir/tensor.cc
dilingsong/mindspore
4276050f2494cfbf8682560a1647576f859991e8
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
28.179567
107
0.65535
i4oolish
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
cda69c0b1ff51513b30495011ea7f8290af0a1e7
9,349
cc
C++
src/developer/debug/zxdb/symbols/type_test_support.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
null
null
null
src/developer/debug/zxdb/symbols/type_test_support.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
5
2020-09-06T09:02:06.000Z
2022-03-02T04:44:22.000Z
src/developer/debug/zxdb/symbols/type_test_support.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 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/developer/debug/zxdb/symbols/type_test_support.h" #include "src/developer/debug/zxdb/symbols/base_type.h" #include "src/developer/debug/zxdb...
41.367257
100
0.691839
zhangpf