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
8b2207ddb588860a7cbda8fe9b2e844b701cb641
7,396
cpp
C++
app/bin/miner/xmr-stak/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
2
2018-01-25T04:29:57.000Z
2020-02-13T15:30:55.000Z
app/bin/miner/xmr-stak/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
1
2019-05-26T17:51:57.000Z
2019-05-26T17:51:57.000Z
app/bin/miner/xmr-stak/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
chrisknepper/electron-gui-crypto-miner
e154b1f1ea6ce8285c7a682a8dcef90f17a5c8a2
[ "MIT" ]
5
2018-02-17T11:32:37.000Z
2021-02-26T22:26:07.000Z
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * This program is distributed in the hope that it will be useful, * bu...
24.409241
123
0.70768
chrisknepper
8b25238e89a48ce19f3ed57de0a4692b7f8ce2c5
50,386
cpp
C++
CloakCompiler/MeshCompiler.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakCompiler/MeshCompiler.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakCompiler/MeshCompiler.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "CloakCompiler/Mesh.h" #include "CloakEngine/Files/ExtendedBuffers.h" #include "Engine/TempHandler.h" #include "Engine/BoundingVolume.h" #include <assert.h> #include <sstream> //#define DEBUG_ENFORCE_STRIPS //#define DEBUG_ENFORCE_NO_STRIPS #define ALLOW_STRIP_LIST_MIX #de...
38.462595
296
0.575934
Bizzarrus
8b25b5b117dea936c9867a72fb89755fa9461ee2
1,870
cc
C++
examples/mdc2250_example.cc
GAVLab/mdc2250
dfbdda0827d0a798f50ca4dea733a78c961062de
[ "Unlicense" ]
1
2018-07-24T20:12:27.000Z
2018-07-24T20:12:27.000Z
examples/mdc2250_example.cc
GAVLab/mdc2250
dfbdda0827d0a798f50ca4dea733a78c961062de
[ "Unlicense" ]
null
null
null
examples/mdc2250_example.cc
GAVLab/mdc2250
dfbdda0827d0a798f50ca4dea733a78c961062de
[ "Unlicense" ]
null
null
null
#include <iostream> #include "mdc2250/mdc2250.h" #include "mdc2250/decode.h" void telemetry_callback(const std::string &telemetry) { std::cout << "Got telemetry: " << telemetry << std::endl; } int run() { mdc2250::MDC2250 my_mdc2250(true); my_mdc2250.connect("/dev/tty.USA49Wfd122P1.1"); // Disable echo my_...
31.166667
67
0.705348
GAVLab
8b2633dcefee9dc0b5ad9a4b7878986a5675fb66
927
cc
C++
below2.1/busyschedule.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/busyschedule.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/busyschedule.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <utility> using namespace std; int main(){ int n; while (true) { cin>>n; cin.ignore(255,'\n'); if(n == 0){ break; } string s; pair<string,int> arr[n]; string raw[n]; for (int i = 0;...
20.152174
43
0.332255
danzel-py
8b2643b2dcbd8408f37c51fda66b99addd961d6e
3,478
hpp
C++
libs/core/futures/include/hpx/futures/detail/future_transforms.hpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
1,822
2015-01-03T11:22:37.000Z
2022-03-31T14:49:59.000Z
libs/core/futures/include/hpx/futures/detail/future_transforms.hpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
3,288
2015-01-05T17:00:23.000Z
2022-03-31T18:49:41.000Z
libs/core/futures/include/hpx/futures/detail/future_transforms.hpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
431
2015-01-07T06:22:14.000Z
2022-03-31T14:50:04.000Z
// Copyright (c) 2017 Denis Blank // // SPDX-License-Identifier: BSL-1.0 // 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) #pragma once #include <hpx/functional/deferred_call.hpp> #include <hpx/futures/traits/ac...
33.442308
80
0.648936
Andrea-MariaDB-2
8b269b265fdd89139337633dad2b80e826f3aed2
1,461
cc
C++
chromium/content/browser/devtools/devtools_manager.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/content/browser/devtools/devtools_manager.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/content/browser/devtools/devtools_manager.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/devtools/devtools_manager.h" #include "base/bind.h" #include "base/message_loop/message_loop.h" #include "content/browser/d...
28.096154
77
0.721424
wedataintelligence
8b29b1ce9bcceb73f0e8bd0d279e333787967fe9
1,696
cc
C++
src/lib/TileSet.cc
jube/libtmx
495d94ddb11d10b3dd2e7707b2c57916675a9f2b
[ "0BSD" ]
5
2015-04-29T14:05:30.000Z
2021-03-26T19:27:13.000Z
src/lib/TileSet.cc
jube/libtmx
495d94ddb11d10b3dd2e7707b2c57916675a9f2b
[ "0BSD" ]
1
2015-03-24T08:57:28.000Z
2015-03-24T08:57:28.000Z
src/lib/TileSet.cc
jube/libtmx
495d94ddb11d10b3dd2e7707b2c57916675a9f2b
[ "0BSD" ]
4
2015-03-23T23:42:37.000Z
2020-07-09T08:23:13.000Z
/* * Copyright (c) 2013-2014, Julien Bernard * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO...
36.085106
111
0.685142
jube
8b29f915938cd201b214ed8f2c2c872c9525dd05
4,619
cpp
C++
src/is_slam/src/slam_odom.cpp
chenjianqu/is_slam
519664c1c32d53119d5e3b36f5acc06e338495fb
[ "MIT" ]
2
2021-12-29T12:35:04.000Z
2021-12-30T09:10:54.000Z
src/is_slam/src/slam_odom.cpp
chenjianqu/is_slam
519664c1c32d53119d5e3b36f5acc06e338495fb
[ "MIT" ]
null
null
null
src/is_slam/src/slam_odom.cpp
chenjianqu/is_slam
519664c1c32d53119d5e3b36f5acc06e338495fb
[ "MIT" ]
null
null
null
/******************************************************* * Copyright (C) 2022, Chen Jianqu, Shanghai University * * This file is part of is_slam. * * Licensed under the MIT License; * you may not use this file except in compliance with the License. *******************************************************/ #incl...
25.103261
109
0.688461
chenjianqu
8b2a3bbb1bbd584e4ad0a7ebba277153f87c69d4
31,921
cc
C++
hoomd/hpmc/UpdaterBoxMC.cc
USF-GT-Molecular-Modeling/hoomd-blue
2ba2f9e60b0320746d21aa8219bfc9df119c053f
[ "BSD-3-Clause" ]
null
null
null
hoomd/hpmc/UpdaterBoxMC.cc
USF-GT-Molecular-Modeling/hoomd-blue
2ba2f9e60b0320746d21aa8219bfc9df119c053f
[ "BSD-3-Clause" ]
null
null
null
hoomd/hpmc/UpdaterBoxMC.cc
USF-GT-Molecular-Modeling/hoomd-blue
2ba2f9e60b0320746d21aa8219bfc9df119c053f
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009-2022 The Regents of the University of Michigan. // Part of HOOMD-blue, released under the BSD 3-Clause License. #include "UpdaterBoxMC.h" #include "hoomd/RNGIdentifiers.h" #include <numeric> #include <vector> /*! \file UpdaterBoxMC.cc \brief Definition of UpdaterBoxMC */ namespace hoomd ...
36.068927
100
0.53717
USF-GT-Molecular-Modeling
8b2b4ea1edf1d7f52c6c0a80f5cd2cc24224d672
3,489
inl
C++
include/base64_decode.inl
bcrist/bengine-util
398ccedf39ce8d85c15ad0b8334991a6498ac80d
[ "MIT" ]
null
null
null
include/base64_decode.inl
bcrist/bengine-util
398ccedf39ce8d85c15ad0b8334991a6498ac80d
[ "MIT" ]
null
null
null
include/base64_decode.inl
bcrist/bengine-util
398ccedf39ce8d85c15ad0b8334991a6498ac80d
[ "MIT" ]
null
null
null
#if !defined(BE_UTIL_STRING_BASE64_DECODE_HPP_) && !defined(DOXYGEN) #include "base64_decode.hpp" #elif !defined(BE_UTIL_STRING_BASE64_DECODE_INL_) #define BE_UTIL_STRING_BASE64_DECODE_INL_ namespace be::util { namespace detail { /////////////////////////////////////////////////////////////////////////////// template...
28.834711
109
0.4818
bcrist
8b2bb95f3f9879c38eaabd0cf0635e78cb47e11a
83,980
cpp
C++
module-services/service-cellular/ServiceCellular.cpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
null
null
null
module-services/service-cellular/ServiceCellular.cpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
null
null
null
module-services/service-cellular/ServiceCellular.cpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "endpoints/developerMode/event/ATRequest.hpp" #include "handler/RawATHandler.hpp" #include "CellularUrcHandler.hpp" #include "service-cellular/CellularCall.hpp" #include "ser...
36.768827
126
0.651643
SP2FET
8b2bbd9da35d3774d949b40fdc27ec6110b0762c
20,461
hpp
C++
boost/lib/include/boost/asio/impl/compose.hpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
177
2021-02-19T02:01:04.000Z
2022-03-30T07:31:21.000Z
boost/lib/include/boost/asio/impl/compose.hpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
188
2021-02-19T04:15:55.000Z
2022-03-26T09:42:15.000Z
boost/lib/include/boost/asio/impl/compose.hpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
78
2021-03-05T03:01:13.000Z
2022-03-29T07:10:01.000Z
// // impl/compose.hpp // ~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot 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) // #ifndef BOOST_ASIO_IMPL_COMPOSE_HPP...
32.070533
80
0.740335
mamil
8b2dc994901a53642a4b7d3101ba4968a5d21caa
4,922
cpp
C++
GridGenerator/GridGenerator.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
1
2020-11-09T09:08:02.000Z
2020-11-09T09:08:02.000Z
GridGenerator/GridGenerator.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
null
null
null
GridGenerator/GridGenerator.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
null
null
null
#include <Windows.h> #include <iostream> #include <fstream> #include <vector> #include <string> //const unsigned int SCREEN_WIDTH = 256; //const unsigned int SCREEN_HEIGHT = 224; const unsigned int SCREEN_WIDTH = 500; const unsigned int SCREEN_HEIGHT = 500; const unsigned int CELL_WIDTH = SCREEN_WIDTH; const unsigne...
28.287356
94
0.609102
Izay0i
8b303d6788c9887d1bc1f67344ad5b24afa0316d
8,330
cpp
C++
src/mame/drivers/spg2xx_shredmjr.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/spg2xx_shredmjr.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/spg2xx_shredmjr.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Ryan Holtz, David Haywood #include "emu.h" #include "includes/spg2xx.h" class shredmjr_game_state : public spg2xx_game_state { public: shredmjr_game_state(const machine_config &mconfig, device_type type, const char *tag) : spg2xx_game_state(mconfig, type, tag), m_por...
33.32
301
0.72509
Robbbert
8b3114c6134d5018fee2d93708f7a6ce984dc7e6
2,625
cpp
C++
src/test/pq/notifications.cpp
skaae/taopq
a621cbba1f63c599819466f3da7ef7d352bdaf0d
[ "BSL-1.0" ]
142
2018-12-10T10:12:50.000Z
2022-03-26T16:01:06.000Z
src/test/pq/notifications.cpp
skaae/taopq
a621cbba1f63c599819466f3da7ef7d352bdaf0d
[ "BSL-1.0" ]
45
2018-11-29T13:13:59.000Z
2022-01-17T07:03:30.000Z
src/test/pq/notifications.cpp
skaae/taopq
a621cbba1f63c599819466f3da7ef7d352bdaf0d
[ "BSL-1.0" ]
34
2018-11-29T14:03:59.000Z
2022-03-15T13:08:13.000Z
// Copyright (c) 2016-2021 Daniel Frey and Dr. Colin Hirsch // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #include "../getenv.hpp" #include "../macros.hpp" #include <tao/pq/connection.hpp> #if defined( _WIN32 ...
29.166667
105
0.670095
skaae
8b3142098669ae216ebb5d300178f723667b43e8
2,955
hpp
C++
src/cpu/x64/lrn/jit_avx512_common_lrn_bwd_nhwc.hpp
NomotoKazuhiro/oneDNN
18795301d6776bc1431ec808cba7bdf83d191bf8
[ "Apache-2.0" ]
13
2020-05-29T07:39:23.000Z
2021-11-22T14:01:28.000Z
src/cpu/x64/lrn/jit_avx512_common_lrn_bwd_nhwc.hpp
NomotoKazuhiro/oneDNN
18795301d6776bc1431ec808cba7bdf83d191bf8
[ "Apache-2.0" ]
8
2020-09-04T02:05:19.000Z
2021-12-24T02:18:37.000Z
src/cpu/x64/lrn/jit_avx512_common_lrn_bwd_nhwc.hpp
NomotoKazuhiro/oneDNN
18795301d6776bc1431ec808cba7bdf83d191bf8
[ "Apache-2.0" ]
24
2020-08-07T04:21:48.000Z
2021-12-09T02:03:35.000Z
/******************************************************************************* * Copyright 2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
35.60241
80
0.720474
NomotoKazuhiro
8b3287ce970f6aea0e3ce65b9b5531055ed91c25
875
cpp
C++
Problems/rotateImage.cpp
ShivamDureja/Data-Structures-And-Algorithms
49c8fe18cbb57c54e8af900ca166604f967e7285
[ "Unlicense" ]
1
2021-11-24T05:25:42.000Z
2021-11-24T05:25:42.000Z
Problems/rotateImage.cpp
ShivamDureja/Data-Structures-And-Algorithms
49c8fe18cbb57c54e8af900ca166604f967e7285
[ "Unlicense" ]
null
null
null
Problems/rotateImage.cpp
ShivamDureja/Data-Structures-And-Algorithms
49c8fe18cbb57c54e8af900ca166604f967e7285
[ "Unlicense" ]
null
null
null
#include <iostream> #include <algorithm> void rotate_image(int a[][4], int n) { for (int i = 0; i < n; i++) { std::reverse(a[i], a[i] + n); } //take transpose for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if(i<j) std::swap(a[i][...
19.886364
74
0.354286
ShivamDureja
8b346aa9944149ba6214bd17c7a6126bb21c0115
392
cpp
C++
kuangbin/1/e.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
kuangbin/1/e.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
kuangbin/1/e.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #include <cstring> #include <queue> using namespace std; int flag, n; void dfs(unsigned long long x, int k){ if(flag) return; if(x % n == 0){ printf("%llu\n", x); flag = 1; return; } if(k == 19) return; dfs(x * 10, k + 1); dfs(x * 10 + 1, k + 1); } int main(){...
12.645161
38
0.540816
tusikalanse
8b347c3494d34d4d749fdbc9eb8960a8cd5a10da
31,004
cpp
C++
lib/src/AMRTools/QuadCFInterp.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
10
2018-02-01T20:57:36.000Z
2022-03-17T02:57:49.000Z
lib/src/AMRTools/QuadCFInterp.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
19
2018-10-04T21:37:18.000Z
2022-02-25T16:20:11.000Z
lib/src/AMRTools/QuadCFInterp.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
11
2019-01-12T23:33:32.000Z
2021-08-09T15:19:50.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "QuadCFInterp.H" #include "BoxIterator.H" #include "QuadCFInterpF_F...
34.564103
89
0.505967
rmrsk
8b3656201ca82e44df019eb542cb94d58c49daca
2,195
hpp
C++
include/memoria/context/fixedsize_stack.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
include/memoria/context/fixedsize_stack.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
include/memoria/context/fixedsize_stack.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright Oliver Kowalke 2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef MEMORIA_CONTEXT_FIXEDSIZE_H #define MEMORIA_CONTEXT_FIXEDSIZE_H #include <cstddef> #include <cstdl...
23.858696
105
0.680182
victor-smirnov
8b37b2b67143965ce4f2db5fdd9c67c1cba7e4e4
579
hpp
C++
include/uitsl/chrono/TimeGuard.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
15
2020-07-31T23:06:09.000Z
2022-01-13T18:05:33.000Z
include/uitsl/chrono/TimeGuard.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
137
2020-08-13T23:32:17.000Z
2021-10-16T04:00:40.000Z
include/uitsl/chrono/TimeGuard.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
3
2020-08-09T01:52:03.000Z
2020-10-02T02:13:47.000Z
#pragma once #ifndef UITSL_CHRONO_TIMEGUARD_HPP_INCLUDE #define UITSL_CHRONO_TIMEGUARD_HPP_INCLUDE #include <chrono> namespace uitsl { template<typename DurationType, typename Clock=std::chrono::steady_clock> class TimeGuard { DurationType &dest; const std::chrono::time_point<Clock> start; public: explicit...
18.09375
76
0.732297
mmore500
8b3807485cad4609617e9017bb5fcb8d213dbb88
8,241
cpp
C++
CSGOSimple/helpers/utils.cpp
Tyler-Admin/CSGOSimple
99a659a1368ed9445b9ccf8ec4514d25d9bf81d6
[ "MIT" ]
400
2018-10-30T14:52:13.000Z
2022-03-29T11:46:24.000Z
CSGOSimple/helpers/utils.cpp
Tyler-Admin/CSGOSimple
99a659a1368ed9445b9ccf8ec4514d25d9bf81d6
[ "MIT" ]
126
2018-12-03T15:54:57.000Z
2022-03-23T17:11:53.000Z
CSGOSimple/helpers/utils.cpp
Tyler-Admin/CSGOSimple
99a659a1368ed9445b9ccf8ec4514d25d9bf81d6
[ "MIT" ]
316
2018-11-09T22:38:38.000Z
2022-03-25T13:35:09.000Z
#include "Utils.hpp" #define NOMINMAX #include <Windows.h> #include <stdio.h> #include <string> #include <vector> #include "../valve_sdk/csgostructs.hpp" #include "Math.hpp" HANDLE _out = NULL, _old_out = NULL; HANDLE _err = NULL, _old_err = NULL; HANDLE _in = NULL, _old_in = NULL; namespace Utils { std::vector<c...
27.47
158
0.522752
Tyler-Admin
8b3983bd411a0009e438efb1d049f0c0a0ed2050
6,873
cpp
C++
cpp/src/test/recommender_data/TestShuffleIterator.cpp
rpalovics/Alpenglow
63472ce667d517d6c7f47c9d0559861392fca3f9
[ "Apache-2.0" ]
28
2017-07-23T22:47:44.000Z
2022-03-12T15:11:13.000Z
cpp/src/test/recommender_data/TestShuffleIterator.cpp
proto-n/Alpenglow
7a15d5c57b511787379f095e7310e67423159fa0
[ "Apache-2.0" ]
4
2017-05-10T10:23:17.000Z
2019-05-23T14:07:09.000Z
cpp/src/test/recommender_data/TestShuffleIterator.cpp
proto-n/Alpenglow
7a15d5c57b511787379f095e7310e67423159fa0
[ "Apache-2.0" ]
9
2017-05-04T09:20:58.000Z
2021-12-14T08:19:01.000Z
#include <vector> #include <gtest/gtest.h> #include "../../main/recommender_data/ShuffleIterator.h" namespace { class TestShuffleIterator : public ::testing::Test { public: RecommenderData rd; TestShuffleIterator() { EXPECT_TRUE(rd.initialize()); } virtual ~TestShuffleIterator() { // You can do clea...
32.885167
82
0.66332
rpalovics
8b3a96e837d481a05a97ecc4d1b5fe5bdebb373e
4,301
cpp
C++
compiler/tfldump/src/Read.cpp
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
1
2021-01-23T06:05:14.000Z
2021-01-23T06:05:14.000Z
compiler/tfldump/src/Read.cpp
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
null
null
null
compiler/tfldump/src/Read.cpp
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
23.762431
86
0.687515
juitem
8b3caed5e086b375e3f851f8eb858ac79e2db7df
9,916
cpp
C++
examples/example-ftxui-extension.cpp
perfkitpp/perfkit
19b691c8337b47594ed6be28051b3a5ee31af389
[ "MIT" ]
null
null
null
examples/example-ftxui-extension.cpp
perfkitpp/perfkit
19b691c8337b47594ed6be28051b3a5ee31af389
[ "MIT" ]
6
2021-10-14T15:38:06.000Z
2022-01-08T12:55:04.000Z
examples/example-ftxui-extension.cpp
perfkitpp/perfkit
19b691c8337b47594ed6be28051b3a5ee31af389
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2021-2022. Seungwoo Kang // // 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,...
40.145749
130
0.619907
perfkitpp
8b3d56d6f717976bb780f72b942c32c9839a2262
945
cc
C++
node/binding/webgl/WebGLTexture.cc
jwxbond/GCanvas
f4bbb207d3b47abab3103da43371f47a86b0a3bd
[ "Apache-2.0" ]
4
2017-08-04T04:31:33.000Z
2019-11-01T06:32:23.000Z
node/binding/webgl/WebGLTexture.cc
jwxbond/GCanvas
f4bbb207d3b47abab3103da43371f47a86b0a3bd
[ "Apache-2.0" ]
2
2017-10-31T11:55:16.000Z
2018-02-01T10:33:39.000Z
node/binding/webgl/WebGLTexture.cc
jwxbond/GCanvas
f4bbb207d3b47abab3103da43371f47a86b0a3bd
[ "Apache-2.0" ]
null
null
null
/** * Created by G-Canvas Open Source Team. * Copyright (c) 2017, Alibaba, Inc. All rights reserved. * * This source code is licensed under the Apache Licence 2.0. * For the full copyright and license information, please view * the LICENSE file in the root directory of this source tree. */ #include "WebGLTexture...
29.53125
97
0.719577
jwxbond
8b3e21556e4ec325a557384cae395eda73b602c2
3,819
cpp
C++
test/unit/module/math/cosd.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
test/unit/module/math/cosd.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
test/unit/module/math/cosd.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
46.012048
116
0.532338
the-moisrex
8b3e4f0a9886e7b1a98fc35c7f3e579114ba0685
12,285
hpp
C++
include/Zenject/SubContainerCreatorByNewGameObjectMethod_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/Zenject/SubContainerCreatorByNewGameObjectMethod_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/Zenject/SubContainerCreatorByNewGameObjectMethod_1.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: Zenject.SubContainerCreatorB...
67.131148
347
0.745136
RedBrumbler
8b3f1722dddf3cac01b47221a64d5617d9507d60
40,349
cpp
C++
libs/hwui/BakedOpDispatcher.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
libs/hwui/BakedOpDispatcher.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
libs/hwui/BakedOpDispatcher.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
46.324914
124
0.667997
Keneral
8b3f702a6b81cfdd8959c5c94baef649a2f9fa82
18,192
cc
C++
test/extensions/filters/network/ratelimit/ratelimit_test.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
17,703
2017-09-14T18:23:43.000Z
2022-03-31T22:04:17.000Z
test/extensions/filters/network/ratelimit/ratelimit_test.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
15,957
2017-09-14T16:38:22.000Z
2022-03-31T23:56:30.000Z
test/extensions/filters/network/ratelimit/ratelimit_test.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
3,780
2017-09-14T18:58:47.000Z
2022-03-31T17:10:47.000Z
#include <memory> #include <string> #include <vector> #include "envoy/extensions/filters/network/ratelimit/v3/rate_limit.pb.h" #include "envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.pb.h" #include "envoy/stats/stats.h" #include "source/common/buffer/buffer_impl.h" #include "source/common/network/filter_man...
39.633987
100
0.711906
dcillera
8b4044dfc93820f57b4efeb09353d3bd75fb4479
11,553
cpp
C++
celix/dfi/private/test/json_rpc_tests.cpp
marcojansen/android-inaetics
c9b938c6a1323a96e8d7094f3a74300f67872bc4
[ "Apache-2.0" ]
null
null
null
celix/dfi/private/test/json_rpc_tests.cpp
marcojansen/android-inaetics
c9b938c6a1323a96e8d7094f3a74300f67872bc4
[ "Apache-2.0" ]
null
null
null
celix/dfi/private/test/json_rpc_tests.cpp
marcojansen/android-inaetics
c9b938c6a1323a96e8d7094f3a74300f67872bc4
[ "Apache-2.0" ]
null
null
null
/** *Licensed to the Apache Software Foundation (ASF) under one *or more contributor license agreements. See the NOTICE file *distributed with this work for additional information *regarding copyright ownership. The ASF licenses this file *to you under the Apache License, Version 2.0 (the *"License"); you may n...
26.93007
211
0.553882
marcojansen
8b4747e4710b7cca1bd4bea6ef6bc8b09e003976
5,173
cc
C++
chromium/mojo/shell/public/cpp/lib/application_test_base.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/mojo/shell/public/cpp/lib/application_test_base.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/mojo/shell/public/cpp/lib/application_test_base.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// 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 <utility> #include "base/command_line.h" #include "base/strings/utf_string_conversions.h" #include "mojo/public/cpp/bindings/binding.h" #include...
30.791667
80
0.727818
wedataintelligence
8b47a768f57943a5439417a4d261faa7a68a47b4
3,115
cpp
C++
third_party/p7zip/CPP/7zip/UI/FileManager/ListViewDialog.cpp
VirtualLib/juice
3d5912059f3a80ec1fef5c5031a395578904fe9c
[ "MIT" ]
4
2017-03-02T10:19:03.000Z
2020-03-05T03:29:28.000Z
third_party/p7zip/CPP/7zip/UI/FileManager/ListViewDialog.cpp
VirtualLib/juice
3d5912059f3a80ec1fef5c5031a395578904fe9c
[ "MIT" ]
null
null
null
third_party/p7zip/CPP/7zip/UI/FileManager/ListViewDialog.cpp
VirtualLib/juice
3d5912059f3a80ec1fef5c5031a395578904fe9c
[ "MIT" ]
2
2021-12-04T06:44:33.000Z
2021-12-08T15:14:42.000Z
// ListViewDialog.cpp #include "StdAfx.h" #include "ListViewDialog.h" #include "RegistryUtils.h" #ifdef LANG #include "LangUtils.h" #endif using namespace NWindows; bool CListViewDialog::OnInit() { #ifdef LANG LangSetDlgItems(*this, NULL, 0); #endif _listView.Attach(GetItem(IDL_LISTVIEW)); // FIXME if (...
21.335616
94
0.611878
VirtualLib
8b493c1079d1ebbc4ee13a035bfc4be94fca4e05
2,724
cc
C++
components/services/app_service/public/cpp/icon_loader.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
components/services/app_service/public/cpp/icon_loader.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/services/app_service/public/cpp/icon_loader.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/services/app_service/public/cpp/icon_loader.h" #include <utility> #include "base/callback.h" namespace apps { IconLoader::Release...
34.05
77
0.676946
mghgroup
8b497b3621445471c08ac0031a630a4c1e176df9
188
cpp
C++
c++/ld/include/slice.cpp
nkysg/Asenal
12444c7e50fae2be82d3c4737715a52e3693a3cd
[ "Apache-2.0" ]
5
2017-04-10T03:35:40.000Z
2020-11-26T10:00:57.000Z
c++/ld/include/slice.cpp
nkysg/Asenal
12444c7e50fae2be82d3c4737715a52e3693a3cd
[ "Apache-2.0" ]
1
2015-04-09T13:45:25.000Z
2015-04-09T13:45:25.000Z
c++/ld/include/slice.cpp
baotiao/Asenal
102170aa92ae72b1d589dd74e8bbbc9ae27a8d97
[ "Apache-2.0" ]
15
2015-03-10T04:15:10.000Z
2021-03-19T13:00:48.000Z
#include <slice.h> namespace ld { bool Slice::starts_with(const Slice& rhs) const { return (size_ >= rhs.size_) && (memcmp(data_, rhs.data(), rhs.size_) == 0); } }
15.666667
83
0.574468
nkysg
8b4f1b0fee4fbc0a88e890a4008cce88d17c4842
1,519
cpp
C++
event_loop_base_kqueue.cpp
looyao/mevent
fa268e93b33264c71d086ba9387b5ab2fabd0257
[ "MIT" ]
42
2017-03-07T02:45:22.000Z
2019-02-26T15:26:25.000Z
event_loop_base_kqueue.cpp
looyao/mevent
fa268e93b33264c71d086ba9387b5ab2fabd0257
[ "MIT" ]
null
null
null
event_loop_base_kqueue.cpp
looyao/mevent
fa268e93b33264c71d086ba9387b5ab2fabd0257
[ "MIT" ]
11
2017-03-07T06:42:30.000Z
2019-03-06T03:15:46.000Z
#include "event_loop_base.h" #include <sys/event.h> #include <stdlib.h> namespace mevent { int EventLoopBase::Create() { return kqueue(); } int EventLoopBase::Add(int evfd, int fd, int mask, void *data) { struct kevent ev; if (mask & MEVENT_IN) { EV_SET(&ev, fd, EVFILT_READ, EV_ADD, 0, 0, d...
23.734375
95
0.520737
looyao
8b4f9229f18863d94803761c7014227131f0b0ec
7,863
hxx
C++
opencascade/AIS_InteractiveObject.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
37
2020-01-20T21:50:21.000Z
2022-02-09T13:01:09.000Z
opencascade/AIS_InteractiveObject.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/AIS_InteractiveObject.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
22
2020-04-03T21:59:52.000Z
2022-03-06T18:43:35.000Z
// Created on: 1996-12-11 // Created by: Robert COUBLANC // Copyright (c) 1996-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GN...
50.403846
144
0.732926
valgur
332b529cc50e39e2da681bfc7adf5fbcaff7d7b6
352
cpp
C++
test/error/reduction_bounds.cpp
OAID/Halide
769b8554ec36b70ea53c73605ad021cf431476fc
[ "Apache-2.0" ]
4,303
2015-01-02T12:04:37.000Z
2022-03-31T11:35:06.000Z
test/error/reduction_bounds.cpp
OAID/Halide
769b8554ec36b70ea53c73605ad021cf431476fc
[ "Apache-2.0" ]
4,323
2015-01-01T13:31:25.000Z
2022-03-31T22:43:57.000Z
test/error/reduction_bounds.cpp
OAID/Halide
769b8554ec36b70ea53c73605ad021cf431476fc
[ "Apache-2.0" ]
1,032
2015-01-12T12:50:16.000Z
2022-03-28T01:55:11.000Z
#include "Halide.h" #include <stdio.h> using namespace Halide; int main(int argc, char **argv) { Func f("f"), g("g"); Var x("x"); RDom r(0, 100, "r"); f(x) = x; g(x) = 0; g(x) = f(g(x - 1)) + r; f.compute_at(g, r.x); // Use of f is unbounded in g. g.realize({100}); printf...
14.08
34
0.485795
OAID
332d77eb71a4311cc316f682b76f34991f99d338
2,324
cpp
C++
automated-tests/src/dali/dali-test-suite-utils/test-render-surface.cpp
nui-dali/dali-core
bc9255ec35bec7223cd6a18fb2b3a6fcc273936b
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
automated-tests/src/dali/dali-test-suite-utils/test-render-surface.cpp
nui-dali/dali-core
bc9255ec35bec7223cd6a18fb2b3a6fcc273936b
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-03-22T10:19:17.000Z
2020-03-22T10:19:17.000Z
automated-tests/src/dali/dali-test-suite-utils/test-render-surface.cpp
fayhot/dali-core
a69ea317f30961164520664a645ac36c387055ef
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
20.034483
99
0.770224
nui-dali
332ef21318659e715f1f6001ab794cc66f16270b
94,272
cpp
C++
src/test/app/AccountTxPaging_test.cpp
sneh19337/rippled
442205bdf270d26f0936f7ece5f03bcc952a6a8b
[ "BSL-1.0" ]
3,804
2015-01-02T01:50:44.000Z
2022-03-31T23:28:19.000Z
src/test/app/AccountTxPaging_test.cpp
sneh19337/rippled
442205bdf270d26f0936f7ece5f03bcc952a6a8b
[ "BSL-1.0" ]
3,131
2015-01-01T04:00:06.000Z
2022-03-31T19:41:33.000Z
src/test/app/AccountTxPaging_test.cpp
sneh19337/rippled
442205bdf270d26f0936f7ece5f03bcc952a6a8b
[ "BSL-1.0" ]
1,349
2015-01-04T04:36:22.000Z
2022-03-31T08:56:50.000Z
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2016 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby grante...
43.403315
80
0.409761
sneh19337
332f0f13acb05d384ddc9992f6123529f29d7dcc
1,791
hpp
C++
plugins/account_plugin/include/eosio/account_plugin/account_manager.hpp
jayden211/eos3
974e98739f3ce5cbcf8c8bc4a241a9e29c7e1d22
[ "MIT" ]
null
null
null
plugins/account_plugin/include/eosio/account_plugin/account_manager.hpp
jayden211/eos3
974e98739f3ce5cbcf8c8bc4a241a9e29c7e1d22
[ "MIT" ]
null
null
null
plugins/account_plugin/include/eosio/account_plugin/account_manager.hpp
jayden211/eos3
974e98739f3ce5cbcf8c8bc4a241a9e29c7e1d22
[ "MIT" ]
null
null
null
/** * @file * @copyright defined in eos/LICENSE.txt */ #pragma once #include <eosio/chain/transaction.hpp> #include "model.hpp" namespace fc { class variant; } namespace eosio { namespace account { /// Provides associate of wallet name to wallet and manages the interaction with each wallet. /// /// The name of ...
30.355932
118
0.726968
jayden211
332fabc654220811b7f2a3fa3e8e4b966530a521
2,602
cpp
C++
test/protobuf-pbop-plugin-unittest/TestBufferedConnection.cpp
themucha/protobuf-pbop-plugin
824b9db7d64d699f9c00fc79ea50b460345994d8
[ "MIT" ]
4
2020-09-10T08:38:40.000Z
2022-02-28T23:39:32.000Z
test/protobuf-pbop-plugin-unittest/TestBufferedConnection.cpp
themucha/protobuf-pbop-plugin
824b9db7d64d699f9c00fc79ea50b460345994d8
[ "MIT" ]
15
2020-06-24T20:31:56.000Z
2020-07-25T16:30:56.000Z
test/protobuf-pbop-plugin-unittest/TestBufferedConnection.cpp
end2endzone/protobuf-pipe-plugin
40dd2ba245fe0713f6b1f68622bc765711d3c7b8
[ "MIT-0", "MIT" ]
3
2021-07-16T21:22:38.000Z
2022-02-28T23:39:34.000Z
/********************************************************************************** * MIT License * * Copyright (c) 2018 Antoine Beauchamp * * 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 So...
30.611765
83
0.690623
themucha
332fd4ce8d394e1084a66c35b4bbbbef0b6c7d66
12,318
cpp
C++
amt/Selection.cpp
dehilsterlexis/eclide-1
0c1685cc7165191b5033d450c59aec479f01010a
[ "Apache-2.0" ]
8
2016-08-29T13:34:18.000Z
2020-12-04T15:20:36.000Z
amt/Selection.cpp
dehilsterlexis/eclide-1
0c1685cc7165191b5033d450c59aec479f01010a
[ "Apache-2.0" ]
221
2016-06-20T19:51:48.000Z
2022-03-29T20:46:46.000Z
amt/Selection.cpp
dehilsterlexis/eclide-1
0c1685cc7165191b5033d450c59aec479f01010a
[ "Apache-2.0" ]
13
2016-06-24T15:59:31.000Z
2022-01-01T11:48:20.000Z
#include "StdAfx.h" #include "Selection.h" // =========================================================================== class NoCaseCompare { public: bool operator ()(const std::_tstring & l, const std::_tstring & r) const { return _tcsicmp(l.c_str(), r.c_str()) < 0; } }; // ==================...
31.911917
196
0.632408
dehilsterlexis
332feca63b89116619245c718a218cf790008234
3,347
hpp
C++
includes/utils/opengl/Shader.hpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
6
2020-03-13T16:45:13.000Z
2022-03-30T18:20:48.000Z
includes/utils/opengl/Shader.hpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
191
2020-03-02T14:47:19.000Z
2020-06-03T08:13:00.000Z
includes/utils/opengl/Shader.hpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
null
null
null
#ifndef SHADER_HPP_ #define SHADER_HPP_ #include <string> #include <fstream> #include <sstream> #include "includesOpengl.hpp" /** * @brief Shader class used to manage shader compilation * * It also adds some tools to set uniform and activate shader easier * Warning! before instantiating a Shader object you need ...
31.87619
107
0.683896
tnicolas42
3331757475cabab8b155d46b723b7294567871bc
1,570
hpp
C++
Source/AliveLibAE/FootSwitch.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
null
null
null
Source/AliveLibAE/FootSwitch.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
null
null
null
Source/AliveLibAE/FootSwitch.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
null
null
null
#pragma once #include "BaseAnimatedWithPhysicsGameObject.hpp" #include "Path.hpp" #include "FunctionFwd.hpp" enum class SwitchOp : s16; enum class FootSwitchTriggerBy : s16 { eOnlyAbe_0 = 0, eAnyone_1 = 1, }; struct Path_FootSwitch final : public Path_TLV { s16 field_10_id; Scale_short field_12_scal...
23.787879
71
0.751592
Leonard2
3332cd4f747431afa12ee581f73f6c5d4515a574
18,366
cc
C++
src/tint/reader/spirv/parser_type.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/reader/spirv/parser_type.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/reader/spirv/parser_type.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The Tint Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
31.181664
97
0.67674
encounter
3334a81c2583860a639ea5e929b629572b6d3297
3,958
cpp
C++
sensing/preprocessor/pointcloud/pointcloud_preprocessor/src/outlier_filter/voxel_grid_outlier_filter_nodelet.cpp
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
null
null
null
sensing/preprocessor/pointcloud/pointcloud_preprocessor/src/outlier_filter/voxel_grid_outlier_filter_nodelet.cpp
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
null
null
null
sensing/preprocessor/pointcloud/pointcloud_preprocessor/src/outlier_filter/voxel_grid_outlier_filter_nodelet.cpp
kmiya/AutowareArchitectureProposal.iv
386b52c9cc90f4535ad833014f2f9500f0e64ccf
[ "Apache-2.0" ]
1
2021-07-20T09:38:30.000Z
2021-07-20T09:38:30.000Z
// Copyright 2020 Tier IV, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
40.387755
98
0.755937
kmiya
333598e821152bec2c7cb5871a80786fb60c2dd7
28,411
cpp
C++
tests/unit/test_timer.cpp
TanJay/openthread
ffd28ebd4d874fbc71f556ced86efc306e6a2d4b
[ "BSD-3-Clause" ]
null
null
null
tests/unit/test_timer.cpp
TanJay/openthread
ffd28ebd4d874fbc71f556ced86efc306e6a2d4b
[ "BSD-3-Clause" ]
null
null
null
tests/unit/test_timer.cpp
TanJay/openthread
ffd28ebd4d874fbc71f556ced86efc306e6a2d4b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2016, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
42.723308
127
0.639189
TanJay
333a7c80909dbe0c80e2f55ad224219311a575aa
2,983
cpp
C++
lib/ai/strategy.cpp
TaimoorRana/Risk
ed96461f2b87d6336e50b27a35f50946e9125c86
[ "MIT" ]
3
2016-05-23T09:39:08.000Z
2016-10-08T03:28:24.000Z
lib/ai/strategy.cpp
TaimoorRana/Risk
ed96461f2b87d6336e50b27a35f50946e9125c86
[ "MIT" ]
3
2017-09-11T00:51:55.000Z
2017-09-11T00:52:05.000Z
lib/ai/strategy.cpp
Taimoorrana1/Risk
ed96461f2b87d6336e50b27a35f50946e9125c86
[ "MIT" ]
1
2017-02-12T19:35:39.000Z
2017-02-12T19:35:39.000Z
#include "strategy.h" #include "librisk.h" Strategy::Strategy() { this->driver = GameDriver::getInstance(); } /** * @brief A signal sent to the Strategy class from the game driver to indicate * that a computer-controlled player should made their move. * * The AI strategy implementations override each of the fooP...
32.78022
99
0.712035
TaimoorRana
333be30b4764b335302c25d2b6dc8ac79f8e55f5
1,137
cpp
C++
TwitchXX/PeriodType.cpp
burannah/TwitchXX
d1845c615d106bfb223e20cdab0c88923f2588ad
[ "BSD-3-Clause" ]
8
2016-10-22T11:36:48.000Z
2021-02-03T07:09:54.000Z
TwitchXX/PeriodType.cpp
burannah/TwitchXX
d1845c615d106bfb223e20cdab0c88923f2588ad
[ "BSD-3-Clause" ]
3
2018-10-01T20:48:03.000Z
2018-10-25T12:11:25.000Z
TwitchXX/PeriodType.cpp
burannah/TwitchXX
d1845c615d106bfb223e20cdab0c88923f2588ad
[ "BSD-3-Clause" ]
3
2017-12-09T11:29:31.000Z
2020-11-09T15:19:25.000Z
// // Created by buran on 14/03/18. // #include <PeriodType.h> #include <TwitchException.h> std::string TwitchXX::PeriodType::toString(TwitchXX::PeriodType::Value v) { static const std::map<Value, std::string> strs{{Value::ALL, "all"}, {Value::DAY, "day"}, {Value::WEEK, "week"}, {Value::MONTH, "month"}}; try ...
27.071429
141
0.626209
burannah
333c389d97af347535bf2571053a19641ff8cb80
1,307
cpp
C++
libs/network/example/http/hello_world_client.cpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
1
2018-01-28T14:30:42.000Z
2018-01-28T14:30:42.000Z
libs/network/example/http/hello_world_client.cpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
1
2018-08-10T04:47:12.000Z
2018-08-10T13:54:57.000Z
libs/network/example/http/hello_world_client.cpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
5
2017-12-28T12:42:25.000Z
2021-07-01T07:41:53.000Z
// Copyright (c) Glyn Matthews 2010. // 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) //[ hello_world_client_main /*` This is a part of the 'Hello World' example. We create a client o...
27.229167
69
0.58378
antoinelefloch
33402a2eec18bba9e74289088e47168089f2333e
464
cpp
C++
libfree/inet_pton_ipv4.cpp
xmac1/udpserver
d392eaf716f7762ec40bc01710a108364e0b2ca2
[ "Apache-2.0" ]
null
null
null
libfree/inet_pton_ipv4.cpp
xmac1/udpserver
d392eaf716f7762ec40bc01710a108364e0b2ca2
[ "Apache-2.0" ]
null
null
null
libfree/inet_pton_ipv4.cpp
xmac1/udpserver
d392eaf716f7762ec40bc01710a108364e0b2ca2
[ "Apache-2.0" ]
null
null
null
// // Created by xmac on 18-10-17. // #include <bits/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <cerrno> #include <cstring> int inet_pton(int family, const char* strptr, void* addrptr) { if (family == AF_INET) { struct in_addr in_val; if (inet_aton(strptr, &in_val)) { ...
19.333333
62
0.586207
xmac1
33406a33053a64a4375a14b8d09d72fab0ccf2d6
387
cpp
C++
assets/code_box/bk_2748_slow.cpp
happyOBO/happyOBO.github.io
96e60a67b9b84c26f01312f8ca5ade35803c521f
[ "MIT" ]
2
2020-10-24T03:25:30.000Z
2021-08-01T05:18:18.000Z
assets/code_box/bk_2748_slow.cpp
happyOBO/happyOBO.github.io
96e60a67b9b84c26f01312f8ca5ade35803c521f
[ "MIT" ]
2
2020-12-05T14:31:19.000Z
2020-12-06T05:09:43.000Z
assets/code_box/bk_2748_slow.cpp
happyOBO/happyOBO.github.io
96e60a67b9b84c26f01312f8ca5ade35803c521f
[ "MIT" ]
4
2020-08-26T10:02:11.000Z
2020-10-22T05:55:18.000Z
#include <iostream> #include <vector> #include <utility> // pair using namespace std; // 동적 계획법 int pibonacci(int n) { if(n <= 1) { return n; } else { return pibonacci(n-1) + pibonacci(n-2); } } int main(void) { // int n; // cin>>n; for(int i = 0; i< 90;i++) ...
11.727273
47
0.472868
happyOBO
334518e6b1c62b6b6f2af9bd1a633e2cb1498c13
35,923
cxx
C++
main/sc/source/ui/dbgui/pvlaydlg.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sc/source/ui/dbgui/pvlaydlg.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sc/source/ui/dbgui/pvlaydlg.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
37.694648
179
0.650725
Grosskopf
33459a3e4d3f4d771d7a680d4943e8f3028c6087
2,673
hpp
C++
graph_tree/HLD_lazy.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
graph_tree/HLD_lazy.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
graph_tree/HLD_lazy.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
#pragma once #include"./graph_template.hpp" #include"../segment_tree/lazy_segment_tree.hpp" template<typename T,typename E,typename F,typename G,typename H> class HLD_lazy{ int child_size(const graph& v,int n,int p){ int cnt=0; for(auto t:v[n]){ if(t!=p)cnt+=child_size(v,t,n); } return sz[n]=cnt+1; } vo...
22.275
101
0.564908
hotman78
3345f74f0df4da067d4ae5922f0dba006d80869e
676
cpp
C++
src/sequencer_src/interface/components/field/PitchParameterField.cpp
pigatron-industries/xen_sequence
0deb8d066b1476a7bd72d83efe3534dd0ab9fbf1
[ "Unlicense" ]
null
null
null
src/sequencer_src/interface/components/field/PitchParameterField.cpp
pigatron-industries/xen_sequence
0deb8d066b1476a7bd72d83efe3534dd0ab9fbf1
[ "Unlicense" ]
null
null
null
src/sequencer_src/interface/components/field/PitchParameterField.cpp
pigatron-industries/xen_sequence
0deb8d066b1476a7bd72d83efe3534dd0ab9fbf1
[ "Unlicense" ]
null
null
null
#include "PitchParameterField.h" PitchParameterField::PitchParameterField(const char* _name) : ParameterField(_name) { } void PitchParameterField::increment(int16_t amount) { value += amount; if(value > max) { value = max; } dirtyValue = true; } void PitchParameterField::decrement(int16_t...
21.125
61
0.613905
pigatron-industries
334643dd47c207e863046585a1cc5f7bdea0d79f
1,005
hpp
C++
SDK/ARKSurvivalEvolved_Task_StunForestKaiju_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Task_StunForestKaiju_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Task_StunForestKaiju_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Task_StunForestKaiju_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //-------------------------------------------------...
29.558824
152
0.553234
2bite
33465f942ba9784413f05fae279e98d3edfb5ef4
4,878
cpp
C++
HelicopterGame/Engine.cpp
MattGardiner97/HelicopterGame
7cb14bd66e7ce69adb528a4974e5a1933b9fb057
[ "MIT" ]
2
2020-04-23T11:32:45.000Z
2020-11-05T16:33:46.000Z
HelicopterGame/Engine.cpp
MattGardiner97/HelicopterGame
7cb14bd66e7ce69adb528a4974e5a1933b9fb057
[ "MIT" ]
null
null
null
HelicopterGame/Engine.cpp
MattGardiner97/HelicopterGame
7cb14bd66e7ce69adb528a4974e5a1933b9fb057
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string> #include "Engine.h" using namespace std; bool Engine::Init(string WindowTitle) { TTF_Init(); _graphics = new Graphics; if (_graphics->Init(WindowTitle) == false) return false; _textureManager = new TextureManager(_graphics->GetRenderer()); _time = new Time; if (_time->...
19.280632
98
0.709922
MattGardiner97
334786e68bc004796b29c2ee3ed234a180ba5a9b
1,182
hpp
C++
source/gameplay/EnemyProjectiles.hpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
null
null
null
source/gameplay/EnemyProjectiles.hpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
null
null
null
source/gameplay/EnemyProjectiles.hpp
Xett/gba-modern
8b74fcf78d49c156dc4ffa6c4adba8fd812004dd
[ "MIT" ]
1
2020-11-20T03:12:02.000Z
2020-11-20T03:12:02.000Z
//-------------------------------------------------------------------------------- // EnemyProjectiles.hpp //-------------------------------------------------------------------------------- // The class that manages the projectiles fired by the enemies //-----------------------------------------------------------------...
25.695652
82
0.538071
Xett
334a491b4cee77ecb4bcce660376daef16196376
2,522
hpp
C++
SuperReads_RNA/global-1/jellyfish/include/jellyfish/text_dumper.hpp
Kuanhao-Chao/multiStringTie
be37f9b4ae72b14e7cf645f24725b7186f66a816
[ "MIT" ]
255
2015-02-18T20:27:23.000Z
2022-03-18T18:55:35.000Z
SuperReads_RNA/global-1/jellyfish/include/jellyfish/text_dumper.hpp
Kuanhao-Chao/multiStringTie
be37f9b4ae72b14e7cf645f24725b7186f66a816
[ "MIT" ]
350
2015-03-11T14:24:06.000Z
2022-03-29T03:54:10.000Z
SuperReads_RNA/global-1/jellyfish/include/jellyfish/text_dumper.hpp
wrf/stringtie
2e99dccd9a2e2ce51cfddcb3896984fa773697f7
[ "MIT" ]
66
2015-02-19T00:21:38.000Z
2022-03-30T09:52:23.000Z
/* This file is part of Jellyfish. Jellyfish 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 of the License, or (at your option) any later version. Jellyfish is distributed ...
28.337079
81
0.693101
Kuanhao-Chao
334be7e3852fcf1c0eca1319c7605414027b5142
6,194
cc
C++
chrome/browser/ui/app_list/search/arc/arc_playstore_search_result.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-11-16T13:10:29.000Z
2021-11-16T13:10:29.000Z
chrome/browser/ui/app_list/search/arc/arc_playstore_search_result.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/app_list/search/arc/arc_playstore_search_result.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/app_list/search/arc/arc_playstore_search_result.h" #include <utility> #include "ash/public/cpp/app_list/app_list_config.h" #...
36.650888
80
0.733775
zealoussnow
334d01c7077b5ab8b0418cc313ebb7b6942228d6
265,388
cpp
C++
groups/bsl/bslstl/bslstl_stack.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
1
2021-01-05T00:22:16.000Z
2021-01-05T00:22:16.000Z
groups/bsl/bslstl/bslstl_stack.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
2
2020-11-05T15:20:55.000Z
2021-01-05T19:38:43.000Z
groups/bsl/bslstl/bslstl_stack.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
2
2020-01-16T17:58:12.000Z
2020-08-11T20:59:30.000Z
// bslstl_stack.t.cpp -*-C++-*- #include <bslstl_stack.h> #include <bslstl_vector.h> #include <bsltf_stdstatefulallocator.h> #include <bsltf_stdtestallocator.h> #include <bsltf_templatetestfacility.h> #include <bsltf_testvaluesarray.h> #include <bslma_allocator.h> #inc...
37.389124
79
0.527254
eddiepierce
334ddc2ac61746fa777a1e3134aec36a47bbdbc4
1,025
cc
C++
tests/pyre.lib/grid/product_iteration.cc
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
25
2018-04-23T01:45:39.000Z
2021-12-10T06:01:23.000Z
tests/pyre.lib/grid/product_iteration.cc
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
53
2018-05-31T04:55:00.000Z
2021-10-07T21:41:32.000Z
tests/pyre.lib/grid/product_iteration.cc
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
12
2018-04-23T22:50:40.000Z
2022-02-20T17:27:23.000Z
// -*- c++ -*- // // michael a.g. aïvázis <michael.aivazis@para-sim.com> // (c) 1998-2021 all rights reserved // support #include <cassert> // get the grid #include <pyre/grid.h> // type alias using product_t = pyre::grid::product_t<4>; // exercise iterating over products int main(int argc, char * argv[]) { //...
19.339623
56
0.552195
avalentino
3353681f4be9746c055cfc4add9289605ead21b8
2,060
cpp
C++
Source/Filtering/imstkQuadricDecimate.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
15
2021-09-20T17:33:52.000Z
2022-02-12T09:49:57.000Z
Source/Filtering/imstkQuadricDecimate.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
null
null
null
Source/Filtering/imstkQuadricDecimate.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
3
2021-10-06T19:55:41.000Z
2022-02-17T21:59:16.000Z
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
31.212121
132
0.689806
Kitware
3353ff81d09048c05d9b81e88a697c3030074d58
7,859
cc
C++
source/common/http/codec_client.cc
spenceral/envoy
5333b928d8bcffa26ab19bf018369a835f697585
[ "Apache-2.0" ]
1
2020-10-27T21:20:41.000Z
2020-10-27T21:20:41.000Z
source/common/http/codec_client.cc
spenceral/envoy
5333b928d8bcffa26ab19bf018369a835f697585
[ "Apache-2.0" ]
137
2020-11-19T03:32:36.000Z
2022-03-28T21:14:14.000Z
source/common/http/codec_client.cc
baojr/envoy
fe62d976a26faa46efc590a48a734f11ee6545f9
[ "Apache-2.0" ]
1
2021-05-18T14:12:17.000Z
2021-05-18T14:12:17.000Z
#include "common/http/codec_client.h" #include <cstdint> #include <memory> #include "envoy/http/codec.h" #include "common/common/enum_to_int.h" #include "common/config/utility.h" #include "common/http/exception.h" #include "common/http/http1/codec_impl.h" #include "common/http/http2/codec_impl.h" #include "common/ht...
37.070755
97
0.706451
spenceral
335429284fd1efb27cd28cc4ff339f1d8a761c44
1,173
hh
C++
src/plugin/graphics/3d/api/bugengine/plugin.graphics.3d/shader/shader.script.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
4
2015-05-13T16:28:36.000Z
2017-05-24T15:34:14.000Z
src/plugin/graphics/3d/api/bugengine/plugin.graphics.3d/shader/shader.script.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
null
null
null
src/plugin/graphics/3d/api/bugengine/plugin.graphics.3d/shader/shader.script.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
1
2017-03-21T08:28:07.000Z
2017-03-21T08:28:07.000Z
/* BugEngine <bugengine.devel@gmail.com> see LICENSE for detail */ #ifndef BE_3D_SHADER_SHADER_SCRIPT_HH_ #define BE_3D_SHADER_SHADER_SCRIPT_HH_ /**************************************************************************************************/ #include <bugengine/plugin.graphics.3d/stdafx.h> #include <buge...
24.957447
101
0.599318
bugengine
3354a84bee3d35265cbe663d2405c9cfa1adef30
11,427
hpp
C++
libraries/boost/include/boost/hana/tuple.hpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
918
2016-12-22T02:53:08.000Z
2022-03-22T06:21:35.000Z
libraries/boost/include/boost/hana/tuple.hpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
594
2018-09-06T02:03:01.000Z
2022-03-23T19:18:26.000Z
libraries/boost/include/boost/hana/tuple.hpp
SheldonHH/eosio.cdt
64448283307b2daebb7db4df947fafd3fc56a83c
[ "MIT" ]
349
2018-09-06T05:02:09.000Z
2022-03-12T11:07:17.000Z
/*! @file Defines `boost::hana::tuple`. @copyright Louis Dionne 2013-2017 @copyright Jason Rice 2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_TUPLE_HPP #define BOOST_HANA_TUPLE_HPP #include <boost/...
36.507987
105
0.548613
SheldonHH
3359a6ae3816d07eb1feae546979c1f85c2c3098
578
cpp
C++
src/RE/BSShader/BSShaderMaterial/BSLightingShaderMaterialLandscape.cpp
fireundubh/CommonLibSSE-po3
cf30265f3cd3aa70a8eeff4d598754439e983ddd
[ "MIT" ]
1
2021-08-30T20:33:43.000Z
2021-08-30T20:33:43.000Z
src/RE/BSShader/BSShaderMaterial/BSLightingShaderMaterialLandscape.cpp
fireundubh/CommonLibSSE-po3
cf30265f3cd3aa70a8eeff4d598754439e983ddd
[ "MIT" ]
null
null
null
src/RE/BSShader/BSShaderMaterial/BSLightingShaderMaterialLandscape.cpp
fireundubh/CommonLibSSE-po3
cf30265f3cd3aa70a8eeff4d598754439e983ddd
[ "MIT" ]
null
null
null
#include "RE/BSShader/BSShaderMaterial/BSLightingShaderMaterialBase/BSLightingShaderMaterialLandscape.h" namespace RE { BSLightingShaderMaterialLandscape* BSLightingShaderMaterialLandscape::CreateMaterial() { auto material = malloc<BSLightingShaderMaterialLandscape>(); material->ctor(); return material; } ...
28.9
104
0.811419
fireundubh
335acd0f7e0fe3cd4c6f95b7aea5810746f8e5b3
31,089
cc
C++
src/gb/base/flags_test.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
1
2020-07-11T17:03:19.000Z
2020-07-11T17:03:19.000Z
src/gb/base/flags_test.cc
jpursey/gbits
4dfedd1297ca368ad1d80a03308fc4da0241f948
[ "MIT" ]
2
2021-12-10T13:38:51.000Z
2022-02-22T16:02:24.000Z
src/gb/base/flags_test.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
null
null
null
// Copyright (c) 2020 John Pursey // // Use of this source code is governed by an MIT-style License that can be found // in the LICENSE file or at https://opensource.org/licenses/MIT. #include "gb/base/flags.h" #include "gtest/gtest.h" namespace gb { namespace { enum BasicEnum { kBasicEnum_Zero, kBasicEnum_One,...
49.347619
80
0.650455
jpursey
335ca6fb8a6661b107a94f833bbb91c34917de01
482
cpp
C++
vox.render/profiling/profiler_spy.cpp
ArcheGraphics/Arche-cpp
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
8
2022-02-15T12:54:57.000Z
2022-03-30T16:35:58.000Z
vox.render/profiling/profiler_spy.cpp
yangfengzzz/DigitalArche
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
null
null
null
vox.render/profiling/profiler_spy.cpp
yangfengzzz/DigitalArche
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
null
null
null
// Copyright (c) 2022 Feng Yang // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include "profiler_spy.h" namespace vox { ProfilerSpy::ProfilerSpy(const std::string &p_name) : nam...
22.952381
73
0.709544
ArcheGraphics
335cf0ef3cfb3c0478f8f48740f0f2ca47759b91
836
cpp
C++
Data Structures and Libraries/Linear Data Structures with Built-in Libraries/10264 The Most Potent Corner.cpp
satvik007/UvaRevision
b2473130eb17435ac55132083e85262491db3d1b
[ "MIT" ]
null
null
null
Data Structures and Libraries/Linear Data Structures with Built-in Libraries/10264 The Most Potent Corner.cpp
satvik007/UvaRevision
b2473130eb17435ac55132083e85262491db3d1b
[ "MIT" ]
null
null
null
Data Structures and Libraries/Linear Data Structures with Built-in Libraries/10264 The Most Potent Corner.cpp
satvik007/UvaRevision
b2473130eb17435ac55132083e85262491db3d1b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector <ll> vi; int n; vi a, b; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout); while(cin >> n){ a.resize(1 << n); b.resize(a.size());...
24.588235
63
0.404306
satvik007
335f2459bf433f0f369bf98d4226422b110deaf2
2,805
cpp
C++
src/utilities/Convertible.cpp
gle8098/succotash
7f4189418301b4f9322a4cfa6dc205fcbe999d40
[ "MIT" ]
2
2020-05-19T10:52:20.000Z
2020-10-26T18:39:22.000Z
src/utilities/Convertible.cpp
gle8098/succotash
7f4189418301b4f9322a4cfa6dc205fcbe999d40
[ "MIT" ]
2
2020-04-27T08:27:22.000Z
2020-05-06T17:27:06.000Z
src/utilities/Convertible.cpp
gle8098/succotash
7f4189418301b4f9322a4cfa6dc205fcbe999d40
[ "MIT" ]
null
null
null
#include "Convertible.hpp" #include <functional> #include <stdexcept> namespace succotash::utilities { //------------------------------------------------------------------------------ // Local functions which are not for export //------------------------------------------------------------------------------ inline ...
26.214953
80
0.547594
gle8098
3362d8f4beef1376eb5dba1aaad9fe6cb430e9fe
872
hpp
C++
modules/classes/HoldQueue1.hpp
PercyPanJX/Scheduling-and-Deadlock-Avoidance
d51d6a7b3da7333559592e7381add1c0ef25fb2e
[ "Apache-2.0" ]
null
null
null
modules/classes/HoldQueue1.hpp
PercyPanJX/Scheduling-and-Deadlock-Avoidance
d51d6a7b3da7333559592e7381add1c0ef25fb2e
[ "Apache-2.0" ]
null
null
null
modules/classes/HoldQueue1.hpp
PercyPanJX/Scheduling-and-Deadlock-Avoidance
d51d6a7b3da7333559592e7381add1c0ef25fb2e
[ "Apache-2.0" ]
1
2020-07-24T20:07:23.000Z
2020-07-24T20:07:23.000Z
/* * HoldQueue1.hpp * * Created on: 2018/5/13 * Author: Qun Cheng * Author: Jiaxuan(Percy) Pan */ #ifndef HOLDQUEUE1_HPP_ #define HOLDQUEUE1_HPP_ #include "HoldQueue2.hpp" class HoldQueue1{ std::list<Job> q; public: HoldQueue1(){} bool empty(){ return q.empty(); } ...
12.823529
43
0.516055
PercyPanJX
33644ce440a5f006d9304c5e93ae4520c2eb71f8
4,892
cc
C++
validator/cpp/htmlparser/renderer.cc
li-cai/amphtml
78fed1a5551cae5486717acbd45878a1e36343a0
[ "Apache-2.0" ]
3
2016-02-25T15:32:53.000Z
2021-01-21T16:11:38.000Z
validator/cpp/htmlparser/renderer.cc
ColombiaOnline/amphtml
92f8b2681933d3904c64f1d162f6e25dc8fb617c
[ "Apache-2.0" ]
93
2020-03-05T19:09:47.000Z
2021-05-13T15:12:03.000Z
validator/cpp/htmlparser/renderer.cc
ColombiaOnline/amphtml
92f8b2681933d3904c64f1d162f6e25dc8fb617c
[ "Apache-2.0" ]
1
2018-04-03T08:10:10.000Z
2018-04-03T08:10:10.000Z
#include <algorithm> #include "atomutil.h" #include "elements.h" #include "renderer.h" #include "strings.h" namespace htmlparser { namespace { inline void WriteToBuffer(const std::string& str, std::stringbuf* buf) { buf->sputn(str.c_str(), str.size()); } // Writes str surrounded by quotes to buf. Normally it wil...
28.44186
78
0.55601
li-cai
3364b3d7bf5e8c34701a087abd3890bbd3554559
5,878
cpp
C++
src/rpg_setup.cpp
MarianoGnu/liblcf
02c640335ad13f2d815409a171045c42b23f7b86
[ "MIT" ]
null
null
null
src/rpg_setup.cpp
MarianoGnu/liblcf
02c640335ad13f2d815409a171045c42b23f7b86
[ "MIT" ]
null
null
null
src/rpg_setup.cpp
MarianoGnu/liblcf
02c640335ad13f2d815409a171045c42b23f7b86
[ "MIT" ]
null
null
null
/* * This file is part of liblcf. Copyright (c) 2018 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright and license information, please view the COPYING * file that was distributed with t...
28.259615
77
0.732052
MarianoGnu
3365a5ad57e6c45f7114f0b79dd29353013c7b01
2,490
cpp
C++
Codeforces/915C/greedy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Codeforces/915C/greedy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Codeforces/915C/greedy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <iostream> #include <cstdio> #include <cmath> #include <algorithm> #include <cstring> #include <string> #include <iomanip> #include <climits> #include <vector> #include <set> #include <queue> #define SIZE 10 using namespace std; int arr[SIZE]; int main() { ios::sync_with_stdio(false); string origNum,...
22.035398
62
0.323293
codgician
3365b0a0467138b16194c86b4580da019d4859d4
703
cpp
C++
backend/tests/test-helib-fp-int8_t-multByConst.cpp
vkurilin/SHEEP
2ccaef32c16efcf5dbc8eefd1dc243bed4ac2fbb
[ "MIT" ]
40
2018-12-03T13:01:06.000Z
2022-02-23T13:04:12.000Z
backend/tests/test-helib-fp-int8_t-multByConst.cpp
vkurilin/SHEEP
2ccaef32c16efcf5dbc8eefd1dc243bed4ac2fbb
[ "MIT" ]
63
2018-09-11T14:13:31.000Z
2020-01-14T16:12:39.000Z
backend/tests/test-helib-fp-int8_t-multByConst.cpp
vkurilin/SHEEP
2ccaef32c16efcf5dbc8eefd1dc243bed4ac2fbb
[ "MIT" ]
7
2019-07-10T14:48:31.000Z
2022-03-23T09:12:11.000Z
#include <memory> #include <algorithm> #include <cassert> #include <cstdint> #include "circuit-repo.hpp" #include "circuit-test-util.hpp" #include "context-helib.hpp" int main(void) { using namespace SHEEP; ContextHElib_Fp<int8_t> ctx; std::vector<ContextHElib_Fp<int8_t>::Plaintext> pt_input = {55, -42, 120};...
22.677419
79
0.70128
vkurilin
3365bc9ea0ff7a332d8d478b2da52f7d8acda705
11,408
cpp
C++
wallet/swaps/swap_offers_board.cpp
DavidBurkett/beam
c352f54fb18136188d4470d2178a95b1deb335c2
[ "Apache-2.0" ]
null
null
null
wallet/swaps/swap_offers_board.cpp
DavidBurkett/beam
c352f54fb18136188d4470d2178a95b1deb335c2
[ "Apache-2.0" ]
null
null
null
wallet/swaps/swap_offers_board.cpp
DavidBurkett/beam
c352f54fb18136188d4470d2178a95b1deb335c2
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The Beam Team // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
37.526316
149
0.579856
DavidBurkett
3365dfa70b4ebb775aa8effd904b37fe9c221358
3,005
hpp
C++
libHCore/inc/time.hpp
adeliktas/Hayha3
a505b6e79e6cabd8ef8d899eeb9f7e39251b58b5
[ "MIT" ]
15
2021-11-22T07:31:22.000Z
2022-02-22T22:53:51.000Z
libHCore/inc/time.hpp
adeliktas/Hayha3
a505b6e79e6cabd8ef8d899eeb9f7e39251b58b5
[ "MIT" ]
1
2021-11-26T19:27:40.000Z
2021-11-26T19:27:40.000Z
libHCore/inc/time.hpp
adeliktas/Hayha3
a505b6e79e6cabd8ef8d899eeb9f7e39251b58b5
[ "MIT" ]
5
2021-11-20T18:21:24.000Z
2021-12-26T12:32:47.000Z
#ifndef TIME_HPP #define TIME_HPP #include <chrono> using namespace std::chrono; using timeStamp = time_point<steady_clock,microseconds>; using timeStampSeconds = time_point<steady_clock,seconds>; extern timeStamp programStart; timeStamp getCurrentTimeMicro(); timeStamp getTimeInFuture(uint64_t usec); int64_t ti...
22.095588
70
0.607654
adeliktas
3367bee0403b76726145b57b717270d602017c5b
15,126
cc
C++
chromeos/services/secure_channel/ble_advertiser_impl.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chromeos/services/secure_channel/ble_advertiser_impl.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chromeos/services/secure_channel/ble_advertiser_impl.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/services/secure_channel/ble_advertiser_impl.h" #include "base/bind.h" #include "base/containers/contains.h" #include "base/logging.h" ...
38.48855
83
0.741108
Ron423c
336a74ffe49d50fe6f417490dd822e9a5b42d1b7
1,420
cpp
C++
aws-cpp-sdk-ssm/source/model/LabelParameterVersionResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-ssm/source/model/LabelParameterVersionResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-ssm/source/model/LabelParameterVersionResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ssm/model/LabelParameterVersionResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aw...
27.307692
122
0.764085
Neusoft-Technology-Solutions
336b38c40225cee0bbdf06e838432a167b048ea0
7,082
cc
C++
src/unix/ibus/key_event_handler.cc
sousuke0422/crIME
abc711e0c2cad19950703d59ed4d1ffe4bd76953
[ "BSD-3-Clause" ]
1
2021-02-24T07:03:26.000Z
2021-02-24T07:03:26.000Z
src/unix/ibus/key_event_handler.cc
sousuke0422/crIME
abc711e0c2cad19950703d59ed4d1ffe4bd76953
[ "BSD-3-Clause" ]
108
2018-05-29T17:33:53.000Z
2019-07-22T00:01:54.000Z
src/unix/ibus/key_event_handler.cc
sousuke0422/crIME
abc711e0c2cad19950703d59ed4d1ffe4bd76953
[ "BSD-3-Clause" ]
1
2021-12-29T08:15:14.000Z
2021-12-29T08:15:14.000Z
// Copyright 2010-2018, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
35.059406
79
0.670291
sousuke0422
336b462ccee7e5caea92825ff3340f8f06560b62
1,868
hpp
C++
include/rba/RBASoundContent.hpp
NaohiroNISHIGUCHI/RBA
ac86e4ffa643b8050b25161c951bb43f4e36235a
[ "Apache-2.0" ]
2
2020-07-17T11:13:48.000Z
2020-07-30T09:37:08.000Z
include/rba/RBASoundContent.hpp
NaohiroNISHIGUCHI/RBA
ac86e4ffa643b8050b25161c951bb43f4e36235a
[ "Apache-2.0" ]
null
null
null
include/rba/RBASoundContent.hpp
NaohiroNISHIGUCHI/RBA
ac86e4ffa643b8050b25161c951bb43f4e36235a
[ "Apache-2.0" ]
3
2020-06-25T07:19:19.000Z
2020-06-26T13:06:13.000Z
// Copyright (c) 2018 DENSO CORPORATION. All rights reserved. /** * Sound content class */ #ifndef RBASOUNDCONTENT_HPP #define RBASOUNDCONTENT_HPP #ifdef _MSC_VER #ifdef _WINDLL #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT __declspec(dllimport) #endif #else #define DLL_EXPORT #endif #include <...
22.238095
83
0.728587
NaohiroNISHIGUCHI
336ef2fb6bfaec758b0a786ded531b6e095dcf91
3,858
cc
C++
obj/pillar.cc
vinijabes/simutrans
cb90d7e29e8f7910936d98733fe9fe5f24893535
[ "Artistic-1.0" ]
null
null
null
obj/pillar.cc
vinijabes/simutrans
cb90d7e29e8f7910936d98733fe9fe5f24893535
[ "Artistic-1.0" ]
null
null
null
obj/pillar.cc
vinijabes/simutrans
cb90d7e29e8f7910936d98733fe9fe5f24893535
[ "Artistic-1.0" ]
null
null
null
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ #include <string.h> #include "../simworld.h" #include "../simobj.h" #include "../simmem.h" #include "../display/simimg.h" #include "../bauer/brueckenbauer.h" #include "../descriptor/bridge_desc.h" #include "../bod...
26.606897
202
0.666407
vinijabes
336f1b15eae0ec9e0b76c2b529b9a3c57d7e2b3e
2,988
hpp
C++
include/veriblock/signutil.hpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
include/veriblock/signutil.hpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
include/veriblock/signutil.hpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
// Copyright (c) 2019-2020 Xenios SEZC // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef __SIGNUTIL__HPP__ #define __SIGNUTIL__HPP__ #include <stdexcept> #include <vector> #include "slice.hpp"...
32.478261
70
0.754351
overcookedpanda
3370fb7140a0863746381561b69e4f83ba5faa0b
53,641
cpp
C++
legacy/btmux-mux20/mux/src/btech/mech.hitloc.cpp
murrayma/btmux
3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa
[ "ClArtistic", "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-07-09T17:37:42.000Z
2020-07-09T17:37:42.000Z
legacy/btmux-mux20/mux/src/btech/mech.hitloc.cpp
murrayma/btmux
3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa
[ "ClArtistic", "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
legacy/btmux-mux20/mux/src/btech/mech.hitloc.cpp
murrayma/btmux
3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa
[ "ClArtistic", "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-11-07T00:02:47.000Z
2020-11-07T00:02:47.000Z
/* * $Id: mech.hitloc.c,v 1.1.1.1 2005/01/11 21:18:17 kstevens Exp $ * * Author: Markus Stenberg <fingon@iki.fi> * * Copyright (c) 1996 Markus Stenberg * Copyright (c) 1998-2002 Thomas Wouters * Copyright (c) 2000-2002 Cord Awtry * All rights reserved * * Created: Fri Sep 20 19:54:48 1996 fingon * ...
23.787583
122
0.489793
murrayma
33727831f41b819ff16ff7f11aef09eb0e2644a4
587
cpp
C++
Quick-Sort.cpp
cirno99/Algorithms
6425b143f406693caf8f882bdfe5497c81df255a
[ "Unlicense" ]
1,210
2016-08-07T13:32:12.000Z
2022-03-21T01:01:57.000Z
Quick-Sort.cpp
NeilQingqing/Algorithms-2
c10d4c212fa1fbf8b9fb3c781d61f41e75e96aaa
[ "Unlicense" ]
7
2016-09-11T11:41:03.000Z
2017-10-29T02:12:57.000Z
Quick-Sort.cpp
NeilQingqing/Algorithms-2
c10d4c212fa1fbf8b9fb3c781d61f41e75e96aaa
[ "Unlicense" ]
514
2016-10-17T03:52:16.000Z
2022-03-19T16:23:33.000Z
#include <cstdio> #include <cstdlib> #define MAX_ELEMENT_COUNT 1000000 using namespace std; int d[MAX_ELEMENT_COUNT]; void qsort(int l, int r) { if (l < r) { int x = d[r]; int j = l - 1; for (int i = l; i <= r; i++) { if (d[i] <= x) { j++; int temp = d[i]; d[i] = d[j]; d[j] = temp...
11.979592
44
0.49063
cirno99
33742d5fccf1faefb39775097644bbf70fa1b965
22,255
cpp
C++
fdbserver/workloads/RandomSelector.actor.cpp
dlambrig/foundationdb
f02c3523d6ea3b52cbcce09a4f3e81b020abe9b7
[ "Apache-2.0" ]
null
null
null
fdbserver/workloads/RandomSelector.actor.cpp
dlambrig/foundationdb
f02c3523d6ea3b52cbcce09a4f3e81b020abe9b7
[ "Apache-2.0" ]
4
2018-09-12T20:32:19.000Z
2019-07-27T19:10:01.000Z
fdbserver/workloads/RandomSelector.actor.cpp
dlambrig/foundationdb
f02c3523d6ea3b52cbcce09a4f3e81b020abe9b7
[ "Apache-2.0" ]
null
null
null
/* * RandomSelector.actor.cpp * * This source file is part of the FoundationDB open source project * * Copyright 2013-2018 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
39.599644
293
0.597079
dlambrig
33755a50eb1476a6e77c3e9b7b8f35bbc38bf95a
3,532
cpp
C++
tests/distance_test.cpp
xjdr/VectorSearch
ab2c14c8f49d840a69ee1c93ec2c334704f59153
[ "MIT" ]
null
null
null
tests/distance_test.cpp
xjdr/VectorSearch
ab2c14c8f49d840a69ee1c93ec2c334704f59153
[ "MIT" ]
null
null
null
tests/distance_test.cpp
xjdr/VectorSearch
ab2c14c8f49d840a69ee1c93ec2c334704f59153
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "../vsearch/distance.h" #include "../vsearch/vsearch.pb.h" #include <iostream> #include <fstream> #include <string> class DistanceTest : public testing::Test { }; TEST(DistanceTest, DistanceTest_L2_Test_Far) { float pX[] = {1.3, 1.3}; float pY[] = {6.6, 6.2}; float r = vsear...
33.320755
86
0.669309
xjdr
337677706c3aa68ffd78265ced8be2125a993e25
1,892
cpp
C++
src/util/BalanceTests.cpp
fonero-project/fonero-core
75d6bcadf36df2bfe10c4b7777281540566f1f34
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/util/BalanceTests.cpp
fonero-project/fonero-core
75d6bcadf36df2bfe10c4b7777281540566f1f34
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/util/BalanceTests.cpp
fonero-project/fonero-core
75d6bcadf36df2bfe10c4b7777281540566f1f34
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 Fonero Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "lib/catch.hpp" #include "util/types.h" using namespace fonero; bool addBalance(int64...
34.4
74
0.638478
fonero-project
337698b6aedd957da61d9b6c57a7325651b7ace2
34,406
cc
C++
Geometry/HGCalGeometry/src/HGCalGeometry.cc
tklijnsma/cmssw
d7f103c459dd195eaa651ce0c30e4bd4bfd0fe43
[ "Apache-2.0" ]
1
2020-07-12T11:51:32.000Z
2020-07-12T11:51:32.000Z
Geometry/HGCalGeometry/src/HGCalGeometry.cc
tklijnsma/cmssw
d7f103c459dd195eaa651ce0c30e4bd4bfd0fe43
[ "Apache-2.0" ]
3
2020-02-19T08:33:16.000Z
2020-03-13T10:02:19.000Z
Geometry/HGCalGeometry/src/HGCalGeometry.cc
tklijnsma/cmssw
d7f103c459dd195eaa651ce0c30e4bd4bfd0fe43
[ "Apache-2.0" ]
1
2018-01-22T10:20:10.000Z
2018-01-22T10:20:10.000Z
/* for High Granularity Calorimeter * This geometry is essentially driven by topology, * which is thus encapsulated in this class. * This makes this geometry not suitable to be loaded * by regular CaloGeometryLoader<T> */ #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Utilities/interf...
44.166881
120
0.602627
tklijnsma
3377c4fe87b370c2b62636485d384f0a7bfa2d26
2,764
hpp
C++
include/sprout/range/adaptor/reversed.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/range/adaptor/reversed.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/range/adaptor/reversed.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==...
31.05618
106
0.709479
thinkoid
33782bfb7cfbdce14ac6dbc52b9be958ce0ed8dc
181
cpp
C++
VisceralCombatEngine/src/VCE/Renderer/RenderCommand.cpp
celestialkey/VisceralCombatEngine
b8021218401be5504ff07b087d9562c8c8ddbfb4
[ "Apache-2.0" ]
null
null
null
VisceralCombatEngine/src/VCE/Renderer/RenderCommand.cpp
celestialkey/VisceralCombatEngine
b8021218401be5504ff07b087d9562c8c8ddbfb4
[ "Apache-2.0" ]
null
null
null
VisceralCombatEngine/src/VCE/Renderer/RenderCommand.cpp
celestialkey/VisceralCombatEngine
b8021218401be5504ff07b087d9562c8c8ddbfb4
[ "Apache-2.0" ]
null
null
null
#include "vcepch.h" #include "RenderCommand.h" #include "Platform/OpenGL/OpenGLRendererAPI.h" namespace VCE { RendererAPI* RenderCommand::s_RendererAPI = new OpenGLRendererAPI; }
22.625
67
0.790055
celestialkey
3378ca8ab9cff2eb2f2ba1cbcba5f8f9e8d4bc8d
797
cpp
C++
0139 Word Break/solution.cpp
Aden-Tao/LeetCode
c34019520b5808c4251cb76f69ca2befa820401d
[ "MIT" ]
1
2019-12-19T04:13:15.000Z
2019-12-19T04:13:15.000Z
0139 Word Break/solution.cpp
Aden-Tao/LeetCode
c34019520b5808c4251cb76f69ca2befa820401d
[ "MIT" ]
null
null
null
0139 Word Break/solution.cpp
Aden-Tao/LeetCode
c34019520b5808c4251cb76f69ca2befa820401d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class Solution { public: bool wordBreak(string s, vector<string>& wordDict) { unordered_set<string> dict(wordDict.begin(), wordDict.end()); vector<bool> dp(s.size() + 1, false);//dp表示字符之间的隔板,n个字符有n+1个隔板 dp[0] = true;//dp[0]是s[0]前面的隔板 ...
25.709677
70
0.460477
Aden-Tao
337a5ca724a532b719ac2574692b24f9b9005041
1,236
cpp
C++
joins/src/generators/uniform_generator.cpp
wagjamin/HashJoins
143ef7a90d8226ce26b8a5e2ec1be33af0f00d74
[ "MIT" ]
1
2022-01-08T05:55:07.000Z
2022-01-08T05:55:07.000Z
joins/src/generators/uniform_generator.cpp
wagjamin/HashJoins
143ef7a90d8226ce26b8a5e2ec1be33af0f00d74
[ "MIT" ]
null
null
null
joins/src/generators/uniform_generator.cpp
wagjamin/HashJoins
143ef7a90d8226ce26b8a5e2ec1be33af0f00d74
[ "MIT" ]
1
2020-05-08T03:58:17.000Z
2020-05-08T03:58:17.000Z
// // Benjamin Wagner 2018 // #include "generators/uniform_generator.h" #include <random> namespace generators { uniform_generator::uniform_generator(size_t min, uint64_t max, uint64_t count): built(false), min(min), max(max), count (count), data() { // Generate a pseudo random seed value ...
24.235294
100
0.604369
wagjamin
337b718539ddfe0f1fc0481bc8ceb14308fa1609
29,280
cpp
C++
include/aegis/impl/guild.cpp
willem640/aegis.cpp
8b560dc641c5c941c9474bec171999ca4b2c4108
[ "X11" ]
null
null
null
include/aegis/impl/guild.cpp
willem640/aegis.cpp
8b560dc641c5c941c9474bec171999ca4b2c4108
[ "X11" ]
null
null
null
include/aegis/impl/guild.cpp
willem640/aegis.cpp
8b560dc641c5c941c9474bec171999ca4b2c4108
[ "X11" ]
null
null
null
// // guild.cpp // ********* // // Copyright (c) 2019 Sharon W (sharon at aegis dot gg) // // Distributed under the MIT License. (See accompanying file LICENSE) // #include "aegis/guild.hpp" #include <string> #include <memory> #include "aegis/core.hpp" #include "aegis/member.hpp" #include "aegis/channel.hpp" #include ...
32.533333
186
0.645048
willem640
337d99d360949b5d94b5b3af654da0c7c8ce1e4b
1,597
hpp
C++
src/core/level/graph.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
44
2019-06-06T21:33:30.000Z
2022-03-26T06:18:23.000Z
src/core/level/graph.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
1
2019-09-27T12:04:52.000Z
2019-09-29T13:30:42.000Z
src/core/level/graph.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
8
2019-07-26T16:44:26.000Z
2020-11-24T17:56:18.000Z
#pragma once #include <vector> #include <spdlog/spdlog.h> struct graphNode { graphNode(int x, int y) : x(x), y(y) {} int x; int y; }; struct graphEdge { graphEdge(int neighbourIndex, float dist) : neighbourIndex(neighbourIndex), dist(dist) {} int neighbourIndex; float dist; }; class Graph { public: Graph(); ...
32.591837
186
0.745773
guillaume-haerinck
337ff47c0be48b980a20638b4332ce25cd37f980
1,765
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_aguila/ag_LegendBody.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_aguila/ag_LegendBody.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_aguila/ag_LegendBody.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
#include "ag_LegendBody.h" #include <QApplication> /*! \file This file contains the implementation of the LegendBody class. */ namespace ag { //------------------------------------------------------------------------------ // DEFINITION OF STATIC CLASS MEMBERS //----------------------------------------------...
16.495327
80
0.415297
quanpands
33815308bd8d30f2771ee2020bb087d87e69c96d
22,259
cpp
C++
extras/jbcoin-libpp/extras/jbcoind/src/jbcoin/json/impl/json_reader.cpp
trongnmchainos/validator-keys-tool
cae131d6ab46051c0f47509b79b6efc47a70eec0
[ "BSL-1.0" ]
2
2020-03-03T12:46:29.000Z
2020-11-14T09:52:14.000Z
extras/jbcoin-libpp/extras/jbcoind/src/jbcoin/json/impl/json_reader.cpp
trongnmchainos/validator-keys-tool
cae131d6ab46051c0f47509b79b6efc47a70eec0
[ "BSL-1.0" ]
null
null
null
extras/jbcoin-libpp/extras/jbcoind/src/jbcoin/json/impl/json_reader.cpp
trongnmchainos/validator-keys-tool
cae131d6ab46051c0f47509b79b6efc47a70eec0
[ "BSL-1.0" ]
1
2020-03-03T12:46:30.000Z
2020-03-03T12:46:30.000Z
//------------------------------------------------------------------------------ /* This file is part of jbcoind: https://github.com/jbcoin/jbcoind Copyright (c) 2012, 2013 Jbcoin Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
23.138254
131
0.508334
trongnmchainos
3384423eb091f293f99d66f52a09831939616fde
32,676
cpp
C++
applications/mne_scan/plugins/ssvepbci/ssvepbci.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
2
2017-04-20T20:21:16.000Z
2017-04-26T16:30:25.000Z
applications/mne_scan/plugins/ssvepbci/ssvepbci.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
null
null
null
applications/mne_scan/plugins/ssvepbci/ssvepbci.cpp
13grife37/mne-cpp-swpold
9b89b3d7fe273d9f4ffd69b504e17f284eaba263
[ "BSD-3-Clause" ]
1
2017-04-23T15:55:31.000Z
2017-04-23T15:55:31.000Z
//============================================================================================================= /** * @file ssvepbci.cpp * @author Viktor Klüber <viktor.klueber@tu-ilmenau.de>; * Lorenz Esch <lorenz.esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1...
37.344
191
0.562095
13grife37