hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
4f922825623d68bf502a8726890b3376a7b1e5ad
3,316
cc
C++
src/fcst/source/layers/homogeneous_CL.cc
OpenFcst/OpenFcst0.2
770a0d9b145cd39c3a065b653a53b5082dc5d85c
[ "MIT" ]
16
2015-05-08T18:19:39.000Z
2021-05-21T17:22:47.000Z
src/fcst/source/layers/homogeneous_CL.cc
OpenFcst/OpenFcst0.2
770a0d9b145cd39c3a065b653a53b5082dc5d85c
[ "MIT" ]
3
2016-09-05T10:17:36.000Z
2016-12-11T18:23:06.000Z
src/fcst/source/layers/homogeneous_CL.cc
OpenFcst/OpenFcst0.2
770a0d9b145cd39c3a065b653a53b5082dc5d85c
[ "MIT" ]
1
2021-04-15T16:45:47.000Z
2021-04-15T16:45:47.000Z
//--------------------------------------------------------------------------- // // FCST: Fuel Cell Simulation Toolbox // // Copyright (C) 2006-13 by Energy Systems Design Laboratory, University of Alberta // // This software is distributed under the MIT License. // For more information, see the README file...
37.681818
123
0.503619
OpenFcst
4f93d422c57cdc708062a3fddc26bc7560ccd52c
762,726
hpp
C++
runtime.Kokkos.NET/Analyzes/BesselMethods.hpp
trmcnealy/Kokkos.NET
d81aa03d720c7d8a089fdb42da18b240f127758c
[ "MIT" ]
null
null
null
runtime.Kokkos.NET/Analyzes/BesselMethods.hpp
trmcnealy/Kokkos.NET
d81aa03d720c7d8a089fdb42da18b240f127758c
[ "MIT" ]
null
null
null
runtime.Kokkos.NET/Analyzes/BesselMethods.hpp
trmcnealy/Kokkos.NET
d81aa03d720c7d8a089fdb42da18b240f127758c
[ "MIT" ]
null
null
null
#pragma once #include <runtime.Kokkos/ViewTypes.hpp> #include <runtime.Kokkos/Extensions.hpp> #include <Complex.hpp> //template<typename DataType, class ExecutionSpace> //using KokkosView = Kokkos::View<float*, typename ExecutionSpace::array_layout, ExecutionSpace>; static int32 c__1 = 1; static System::Comple...
36.627257
258
0.427556
trmcnealy
4f9559843067ede1a3b32ca819d485ada6c6a072
184
cpp
C++
Chapter12/Source/Chapter12/Chapter12.cpp
xiaomozi/Unreal-Engine-4-Scripting-with-CPlusPlus-Cookbook
b17ea5de947f018b5c34f1621ce2785d6236c3a4
[ "MIT" ]
115
2016-10-27T15:46:35.000Z
2022-03-28T02:00:31.000Z
Chapter12/Source/Chapter12/Chapter12.cpp
xiaomozi/Unreal-Engine-4-Scripting-with-CPlusPlus-Cookbook
b17ea5de947f018b5c34f1621ce2785d6236c3a4
[ "MIT" ]
3
2016-11-06T06:45:42.000Z
2021-03-20T01:06:39.000Z
Chapter12/Source/Chapter12/Chapter12.cpp
xiaomozi/Unreal-Engine-4-Scripting-with-CPlusPlus-Cookbook
b17ea5de947f018b5c34f1621ce2785d6236c3a4
[ "MIT" ]
60
2016-12-08T18:16:43.000Z
2022-02-26T05:44:57.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "Chapter12.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Chapter12, "Chapter12" );
36.8
80
0.809783
xiaomozi
4f95a67664a448eb0cd5a40c135cae3369e203bc
5,009
inl
C++
src/core/CPU.inl
Senryoku/NESen
7573eddc55da0e140cf01e609b1041b2c6e4e853
[ "MIT" ]
1
2015-10-16T09:15:37.000Z
2015-10-16T09:15:37.000Z
src/core/CPU.inl
Senryoku/NESen
7573eddc55da0e140cf01e609b1041b2c6e4e853
[ "MIT" ]
null
null
null
src/core/CPU.inl
Senryoku/NESen
7573eddc55da0e140cf01e609b1041b2c6e4e853
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////// // CPU Inline functions word_t CPU::read(addr_t addr) { if(addr < RAMSize) return _ram[addr]; else if(addr < 0x2000) // RAM mirrors return _ram[addr % RAMSize]; else if(addr < 0x2008) // PPU registers return ppu->...
21.778261
96
0.597924
Senryoku
4f96e70aa9041c16e9de823d8fa07141e39b3023
26,870
cpp
C++
interface/src/ui/overlays/Web3DOverlay.cpp
cain-kilgore/hifi
51bf3c1466f4e7fe783a81baae4dd96912560c92
[ "Apache-2.0" ]
null
null
null
interface/src/ui/overlays/Web3DOverlay.cpp
cain-kilgore/hifi
51bf3c1466f4e7fe783a81baae4dd96912560c92
[ "Apache-2.0" ]
null
null
null
interface/src/ui/overlays/Web3DOverlay.cpp
cain-kilgore/hifi
51bf3c1466f4e7fe783a81baae4dd96912560c92
[ "Apache-2.0" ]
null
null
null
// // Web3DOverlay.cpp // // Created by Clement on 7/1/14. // Modified and renamed by Zander Otavka on 8/4/15 // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "Web3DOv...
43.833605
159
0.700595
cain-kilgore
4f99e8788a3aeb592ed260fa26f02b977127bc88
619
cpp
C++
prova tema3.cpp
RafelNunes/ifsc-programacao
40622fb1a5496e09f4800220e293385468fef323
[ "MIT" ]
null
null
null
prova tema3.cpp
RafelNunes/ifsc-programacao
40622fb1a5496e09f4800220e293385468fef323
[ "MIT" ]
null
null
null
prova tema3.cpp
RafelNunes/ifsc-programacao
40622fb1a5496e09f4800220e293385468fef323
[ "MIT" ]
null
null
null
#include<stdio.h> #include<math.h> main() { float peso=0, altura=0, IMC=0, soma=0, soma2; printf("Digite seu peso[em kg]: "); scanf("%f", &peso); while(peso>0){ soma = peso; printf("Digite sua altura: "); scanf("%f", &altura); soma = pow(altura,2); IMC = peso/soma; if(IMC<18.5){ pr...
16.289474
46
0.546042
RafelNunes
4f9b64c95a7ad0282b731837dcb0f65f699b4ef2
8,308
hpp
C++
build-time-parser/core_tree.hpp
daher-alfawares/build-time-parser
eaf8c8a446a7a91380a5fce4b006a2addd43d974
[ "Apache-2.0" ]
null
null
null
build-time-parser/core_tree.hpp
daher-alfawares/build-time-parser
eaf8c8a446a7a91380a5fce4b006a2addd43d974
[ "Apache-2.0" ]
null
null
null
build-time-parser/core_tree.hpp
daher-alfawares/build-time-parser
eaf8c8a446a7a91380a5fce4b006a2addd43d974
[ "Apache-2.0" ]
null
null
null
//C++ ////////////////////////////////////////////////////////////////////////////// // // // Filename : ASCII_Table.hpp // // Created by : Daher Alfawares ...
29.884892
176
0.455344
daher-alfawares
4f9ebfd2a7c62b1714faf78d1eef9f22d7e4549f
414
cpp
C++
AndGate.cpp
sgeisler/LogSim
c2120430117a569a1d108f99ad57422bb949d6d2
[ "MIT" ]
null
null
null
AndGate.cpp
sgeisler/LogSim
c2120430117a569a1d108f99ad57422bb949d6d2
[ "MIT" ]
null
null
null
AndGate.cpp
sgeisler/LogSim
c2120430117a569a1d108f99ad57422bb949d6d2
[ "MIT" ]
null
null
null
#include "AndGate.h" AndGate::AndGate() { //ctor } AndGate::~AndGate() { //dtor } string AndGate::getName() { return "AND"; } size_t AndGate::getInputCount() { return 2; } bool AndGate::getOutput(size_t pin) { switch(pin) { case 0: return inputs[0] && inputs[1]; break; ...
10.615385
38
0.562802
sgeisler
4fa0d2e502a73eb6acb82ef6cf154c64fe234bf7
7,055
hh
C++
app/demo-loop/LDemoRun.i.hh
tmdelellis/celeritas
5252bcb0659892ae9082ca2b6716e3c84e18004b
[ "Apache-2.0", "MIT" ]
null
null
null
app/demo-loop/LDemoRun.i.hh
tmdelellis/celeritas
5252bcb0659892ae9082ca2b6716e3c84e18004b
[ "Apache-2.0", "MIT" ]
null
null
null
app/demo-loop/LDemoRun.i.hh
tmdelellis/celeritas
5252bcb0659892ae9082ca2b6716e3c84e18004b
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2021 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
34.925743
79
0.610489
tmdelellis
4fa0f6f65d05fef23d30d652a335ec60e0206b99
2,948
cpp
C++
liupeng/src/main/java/liupeng/Ch2_HDFS/liveMedia/BasicUDPSource.cpp
jayfans3/example
6982e33d760dd8e4d94de40c81ae733434bf3f1b
[ "BSD-2-Clause" ]
null
null
null
liupeng/src/main/java/liupeng/Ch2_HDFS/liveMedia/BasicUDPSource.cpp
jayfans3/example
6982e33d760dd8e4d94de40c81ae733434bf3f1b
[ "BSD-2-Clause" ]
null
null
null
liupeng/src/main/java/liupeng/Ch2_HDFS/liveMedia/BasicUDPSource.cpp
jayfans3/example
6982e33d760dd8e4d94de40c81ae733434bf3f1b
[ "BSD-2-Clause" ]
null
null
null
/********** This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This libr...
39.837838
109
0.756784
jayfans3
4fa234e07691200e669d988a3d9d903daea69479
8,624
cpp
C++
tests/pso_test.cpp
walragatver/ensmallen
7c37b614e35bd1e8f2131d5ee631013493be53bf
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
tests/pso_test.cpp
walragatver/ensmallen
7c37b614e35bd1e8f2131d5ee631013493be53bf
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
tests/pso_test.cpp
walragatver/ensmallen
7c37b614e35bd1e8f2131d5ee631013493be53bf
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/** * @file pso_test.cpp * @author Suryoday Basak * @author Chintan Soni * * Test file for PSO optimizer. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack. If no...
26.617284
78
0.6875
walragatver
4fa461fad38e54f11567bd1adeb0c54ff6e448bf
1,187
cpp
C++
code/framework/src/integrations/server/networking/engine.cpp
MafiaHub/Framework
9514ef2a9ae8e95e100e415568b683d46e1ba709
[ "OpenSSL" ]
18
2021-09-17T16:41:14.000Z
2022-02-01T15:22:20.000Z
code/framework/src/integrations/server/networking/engine.cpp
MafiaHub/Framework
9514ef2a9ae8e95e100e415568b683d46e1ba709
[ "OpenSSL" ]
36
2021-09-21T10:22:16.000Z
2022-01-22T10:25:11.000Z
code/framework/src/integrations/server/networking/engine.cpp
MafiaHub/Framework
9514ef2a9ae8e95e100e415568b683d46e1ba709
[ "OpenSSL" ]
6
2021-09-26T11:06:32.000Z
2022-01-21T15:07:05.000Z
/* * MafiaHub OSS license * Copyright (c) 2022, MafiaHub. All rights reserved. * * This file comes from MafiaHub, hosted at https://github.com/MafiaHub/Framework. * See LICENSE file in the source repository for information regarding licensing. */ #include "engine.h" #include <logging/logger.h> namespace Framew...
29.675
131
0.648694
MafiaHub
4fa685fd477cf664517c5d8408e0281b0357f454
1,029
cpp
C++
BusinessCardVCard/BusinessCardVCard.cpp
jgamez118/SPRING2019-ITSE1307
63cb213e2ebd2888fc4f5e53b2037966fb55137a
[ "MIT" ]
null
null
null
BusinessCardVCard/BusinessCardVCard.cpp
jgamez118/SPRING2019-ITSE1307
63cb213e2ebd2888fc4f5e53b2037966fb55137a
[ "MIT" ]
null
null
null
BusinessCardVCard/BusinessCardVCard.cpp
jgamez118/SPRING2019-ITSE1307
63cb213e2ebd2888fc4f5e53b2037966fb55137a
[ "MIT" ]
null
null
null
// BusinessCardVCard.cpp : This file contains the 'main' function. Program execution begins and ends there. /* Jonathan Gamez ITSE-1307-002 2/20/19 */ // We have to include fstream #include "pch.h" #include <iostream> #include <fstream> using namespace std; int main() { // Use ofstream to output files...
27.078947
108
0.669582
jgamez118
4facb4c7facdf15d2433eccdbde2a34dc067f52f
18,874
cpp
C++
toonz/sources/toonz/matchlinecommand.cpp
areckx/opentoonz
a86fd8f80a1a07f97a8d230fda44fd1d6a7de576
[ "BSD-3-Clause" ]
1
2021-08-07T00:16:54.000Z
2021-08-07T00:16:54.000Z
toonz/sources/toonz/matchlinecommand.cpp
LibrePhone/opentoonz
cb95a29db4c47ab1f36a6e85a039c4c9c901f88a
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/toonz/matchlinecommand.cpp
LibrePhone/opentoonz
cb95a29db4c47ab1f36a6e85a039c4c9c901f88a
[ "BSD-3-Clause" ]
1
2021-08-07T00:16:58.000Z
2021-08-07T00:16:58.000Z
// TnzCore includes #include "tsystem.h" #include "tundo.h" #include "tpalette.h" // TnzLib includes #include "toonz/toonzscene.h" #include "toonz/txshcell.h" #include "toonz/txshsimplelevel.h" #include "toonz/levelset.h" #include "toonz/hook.h" #include "toonz/levelproperties.h" #include "toonz/txshlevelhandle.h" #...
31.352159
107
0.576984
areckx
4fb15d392e82d584e89c654f2a962027b6d76402
7,272
cc
C++
src/developer/forensics/last_reboot/tests/main_service_unittest.cc
csrpi/fuchsia
2f015594dcb4c13aa51eee305ad561078f1f9b7f
[ "BSD-2-Clause" ]
3
2021-09-02T07:21:06.000Z
2022-03-12T03:20:10.000Z
src/developer/forensics/last_reboot/tests/main_service_unittest.cc
csrpi/fuchsia
2f015594dcb4c13aa51eee305ad561078f1f9b7f
[ "BSD-2-Clause" ]
null
null
null
src/developer/forensics/last_reboot/tests/main_service_unittest.cc
csrpi/fuchsia
2f015594dcb4c13aa51eee305ad561078f1f9b7f
[ "BSD-2-Clause" ]
2
2022-02-25T12:22:49.000Z
2022-03-12T03:20:10.000Z
// Copyright 2020 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/forensics/last_reboot/main_service.h" #include <lib/syslog/cpp/macros.h> #include <memory> #include <gmock/gmock.h> #include <gt...
40.4
96
0.632288
csrpi
4fb32df1a76ee57e5e0db852d707791dc9015c47
10,496
cpp
C++
Chapter16-Policy-Based-Design/11_pack.cpp
shekerkamma/Hands-On-Design-Patterns-with-CPP
5f6aa05ac44491a92fef6e38179d1bd3c8e39347
[ "MIT" ]
1
2020-11-23T21:57:24.000Z
2020-11-23T21:57:24.000Z
Chapter16-Policy-Based-Design/11_pack.cpp
shekerkamma/Hands-On-Design-Patterns-with-CPP
5f6aa05ac44491a92fef6e38179d1bd3c8e39347
[ "MIT" ]
null
null
null
Chapter16-Policy-Based-Design/11_pack.cpp
shekerkamma/Hands-On-Design-Patterns-with-CPP
5f6aa05ac44491a92fef6e38179d1bd3c8e39347
[ "MIT" ]
1
2022-01-21T23:14:24.000Z
2022-01-21T23:14:24.000Z
// Variadic template policies #include <cstdlib> #include <iostream> using std::cin; using std::cout; using std::endl; template <typename T, typename V> struct ComparableSelf { friend bool operator==(V lhs, V rhs) { return lhs.get() == rhs.get(); } friend bool operator!=(V lhs, V rhs) { return lhs.get() != rhs...
25.050119
121
0.403106
shekerkamma
4fba518be24ecce0257377d7484b45362b517e9a
2,547
cc
C++
io/example/zero-source1/zero-source1.cc
diegows/wanproxy
c0ad933f7ca5ba44bafb7f44f25c4e720375ff14
[ "BSD-2-Clause" ]
3
2015-04-27T06:20:12.000Z
2019-03-08T11:41:39.000Z
io/example/zero-source1/zero-source1.cc
diegows/wanproxy
c0ad933f7ca5ba44bafb7f44f25c4e720375ff14
[ "BSD-2-Clause" ]
1
2015-02-13T22:00:57.000Z
2015-02-13T22:00:57.000Z
io/example/zero-source1/zero-source1.cc
diegows/wanproxy
c0ad933f7ca5ba44bafb7f44f25c4e720375ff14
[ "BSD-2-Clause" ]
4
2015-08-31T09:50:58.000Z
2019-06-11T08:21:28.000Z
/* * Copyright (c) 2010-2011 Juli Mallett. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of cond...
25.47
77
0.715744
diegows
4fbb558aeeb0ff9ff132bfcd7bb1b996954ca55d
24,513
cpp
C++
src/caffe/test/test_math_functions.cpp
alemagnani/caffe
9dfd7e44a452800566260d8b6f9bc27a29a34d76
[ "BSD-2-Clause" ]
2
2015-12-02T09:51:57.000Z
2016-05-03T09:34:30.000Z
src/caffe/test/test_math_functions.cpp
alemagnani/caffe
9dfd7e44a452800566260d8b6f9bc27a29a34d76
[ "BSD-2-Clause" ]
null
null
null
src/caffe/test/test_math_functions.cpp
alemagnani/caffe
9dfd7e44a452800566260d8b6f9bc27a29a34d76
[ "BSD-2-Clause" ]
null
null
null
#include <stdint.h> // for uint32_t & uint64_t #include <time.h> #include <climits> #include <cmath> // for std::fabs #include <cstdlib> // for rand_r #include <vector> #include "gtest/gtest.h" #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/filler.hpp" #include "caffe/util/benchmark.hpp" #inc...
26.673558
80
0.607882
alemagnani
4fbc03e946878551b5e3438b518cf8f3461219b7
12,666
hpp
C++
external/windows/boost/include/boost/xpressive/detail/static/grammar.hpp
foxostro/CheeseTesseract
737ebbd19cee8f5a196bf39a11ca793c561e56cb
[ "MIT" ]
1
2016-05-17T03:36:52.000Z
2016-05-17T03:36:52.000Z
external/windows/boost/include/boost/xpressive/detail/static/grammar.hpp
foxostro/CheeseTesseract
737ebbd19cee8f5a196bf39a11ca793c561e56cb
[ "MIT" ]
null
null
null
external/windows/boost/include/boost/xpressive/detail/static/grammar.hpp
foxostro/CheeseTesseract
737ebbd19cee8f5a196bf39a11ca793c561e56cb
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // grammar.hpp // // Copyright 2007 Eric Niebler. 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_XPRESSIVE_DE...
39.335404
137
0.507974
foxostro
4fbd58f757ee63b8af07dd815009c8a44d374d34
2,893
cpp
C++
P1/test_BST.cpp
jayx2thez/c100
e81e5182b452a2bf698d37315791cd2e45f73a6e
[ "MIT" ]
null
null
null
P1/test_BST.cpp
jayx2thez/c100
e81e5182b452a2bf698d37315791cd2e45f73a6e
[ "MIT" ]
null
null
null
P1/test_BST.cpp
jayx2thez/c100
e81e5182b452a2bf698d37315791cd2e45f73a6e
[ "MIT" ]
1
2018-07-31T01:45:51.000Z
2018-07-31T01:45:51.000Z
#include "BST.hpp" #include <iostream> #include <algorithm> #include <vector> using namespace std; /** * A simple test driver for the BST class template. * P1 CSE 100 2013 * Author: P. Kube (c) 2013 */ int main() { /* Create an STL vector of some ints */ vector<int> v; v.push_back(3); v.push_back(4); v...
25.830357
84
0.550294
jayx2thez
4fc5d5093b8b7b73dc755edb88a22df40abcea4b
15,207
cpp
C++
src/game/server/hl2/weapon_ar2.cpp
LillyWho/TF2HLCoop
04d572fbf7da76c7d4e8f9481bad5a27b5406203
[ "Unlicense" ]
2
2019-04-08T00:09:06.000Z
2020-11-22T23:12:30.000Z
src/game/server/hl2/weapon_ar2.cpp
Kenzzer/TF2HLCoop
86097fe5c7f097fbfff4b3c394280cc53c2cadf9
[ "Unlicense" ]
null
null
null
src/game/server/hl2/weapon_ar2.cpp
Kenzzer/TF2HLCoop
86097fe5c7f097fbfff4b3c394280cc53c2cadf9
[ "Unlicense" ]
1
2021-05-01T15:43:17.000Z
2021-05-01T15:43:17.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "basecombatweapon.h" #include "npcevent.h" #include "basecombatcharacter.h" #include "ai_basenpc...
29.643275
181
0.61544
LillyWho
4fc6268918834168640fa817c73b0d200ef3e34b
1,507
cpp
C++
az_ykan_v1.0.1/Arduino-master/variants/wifi_slot/analogRead.cpp
angelbarusta/ind-matageyco
08be088f2178312e9bac94b9604bacd5223f4b53
[ "Apache-2.0" ]
null
null
null
az_ykan_v1.0.1/Arduino-master/variants/wifi_slot/analogRead.cpp
angelbarusta/ind-matageyco
08be088f2178312e9bac94b9604bacd5223f4b53
[ "Apache-2.0" ]
null
null
null
az_ykan_v1.0.1/Arduino-master/variants/wifi_slot/analogRead.cpp
angelbarusta/ind-matageyco
08be088f2178312e9bac94b9604bacd5223f4b53
[ "Apache-2.0" ]
null
null
null
#include "wiring_private.h" #include "pins_arduino.h" extern "C" int __analogRead(uint8_t pin); extern "C" int analogRead(uint8_t pin) { static uint8_t currentAin = 0; delay(0); if (pin >= ANALOG_INPUT_HARDWARE) { return 0; } uint8_t ain = analog_pin_to_mux_channel[pin]; if (ain == (uint8_t)NOT_A_P...
29.54902
72
0.716656
angelbarusta
4fc6a482195e682396076802e47835ad06cbf005
8,023
cpp
C++
src/curl/curl.cpp
rolandhill/vsgXchange
a7564a032bb1c6cc5c324d24a852e274c417d3a9
[ "MIT" ]
null
null
null
src/curl/curl.cpp
rolandhill/vsgXchange
a7564a032bb1c6cc5c324d24a852e274c417d3a9
[ "MIT" ]
null
null
null
src/curl/curl.cpp
rolandhill/vsgXchange
a7564a032bb1c6cc5c324d24a852e274c417d3a9
[ "MIT" ]
null
null
null
/* <editor-fold desc="MIT License"> Copyright(c) 2021 Robert Osfield 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, mod...
32.613821
460
0.613736
rolandhill
4fc8274e871319a985672f67145114b8ad3f85af
1,683
hpp
C++
webot/controllers/waypoints_runner/lidar_wrapper.hpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
null
null
null
webot/controllers/waypoints_runner/lidar_wrapper.hpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
6
2019-11-14T13:49:39.000Z
2019-12-04T09:36:21.000Z
webot/controllers/waypoints_runner/lidar_wrapper.hpp
DEIS-Tools/model-utilities
a1a38f7f8adcedc0b175fa7d3d06e4551688903a
[ "MIT" ]
2
2019-11-20T18:01:34.000Z
2020-05-05T07:18:37.000Z
/*Copyright 2019 Anders Madsen, Emil Jørgensen Njor, Emil Stenderup Bækdahl, Frederik Baymler *Mathiesen, Nikolaj Jensen Ulrik, Simon Mejlby Virenfeldt * *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 th...
43.153846
100
0.766488
DEIS-Tools
4fc8ffd7dbce8068b401550114dac7d9970c41ea
5,986
cpp
C++
src/frameworks/wilhelm/src/itf/IBassBoost.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/wilhelm/src/itf/IBassBoost.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/wilhelm/src/itf/IBassBoost.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2010 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...
27.458716
100
0.679419
dAck2cC2
4fc99370f30980c4192c1681f81b9f0482de01f8
122
cc
C++
main.cc
marcopush/util-cpp
560c46bae8cbfa00ef76db4bd139ede21543ccf8
[ "Apache-2.0" ]
null
null
null
main.cc
marcopush/util-cpp
560c46bae8cbfa00ef76db4bd139ede21543ccf8
[ "Apache-2.0" ]
null
null
null
main.cc
marcopush/util-cpp
560c46bae8cbfa00ef76db4bd139ede21543ccf8
[ "Apache-2.0" ]
1
2020-08-30T20:10:53.000Z
2020-08-30T20:10:53.000Z
#include "util.hh" // A basic main function to test compilation int main (int, char const* const* const) { return 0; }
17.428571
44
0.688525
marcopush
4fc99c40dbab9bdb0947d5f3b28a7c044cec2255
11,095
cpp
C++
tests/FontHostTest.cpp
fmalita/skia
8367b8cb7a6b2f163ee41365323cb219b7049b15
[ "BSD-3-Clause" ]
1
2020-02-21T01:15:42.000Z
2020-02-21T01:15:42.000Z
tests/FontHostTest.cpp
fmalita/skia
8367b8cb7a6b2f163ee41365323cb219b7049b15
[ "BSD-3-Clause" ]
null
null
null
tests/FontHostTest.cpp
fmalita/skia
8367b8cb7a6b2f163ee41365323cb219b7049b15
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Resources.h" #include "SkEndian.h" #include "SkFontStream.h" #include "SkOSFile.h" #include "SkPaint.h" #include "SkStream.h" #include "SkTypeface.h" #include "Test....
35.790323
122
0.616133
fmalita
4fcb86b80a848674c44c68665b88b0a8a8f621ae
83,462
cc
C++
src/bbdep_sm.cc
poluyan/PEPSGO
d1039bf0362bddca6247ffadf7b2124e6cfb64cf
[ "Apache-2.0" ]
1
2021-06-07T16:07:04.000Z
2021-06-07T16:07:04.000Z
src/bbdep_sm.cc
poluyan/PEPSGO
d1039bf0362bddca6247ffadf7b2124e6cfb64cf
[ "Apache-2.0" ]
null
null
null
src/bbdep_sm.cc
poluyan/PEPSGO
d1039bf0362bddca6247ffadf7b2124e6cfb64cf
[ "Apache-2.0" ]
null
null
null
/************************************************************************** Copyright © 2018 Sergey Poluyan <svpoluyan@gmail.com> 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 ...
34.804837
174
0.63859
poluyan
4fd75de455ab7f708bc3978e215ddd1c9716a9d3
2,884
cpp
C++
source/example.cpp
M-Unterreiner/aufgabenblatt-3
05c032c4768346ee22b1fe4efe3f59a4577ea243
[ "MIT" ]
null
null
null
source/example.cpp
M-Unterreiner/aufgabenblatt-3
05c032c4768346ee22b1fe4efe3f59a4577ea243
[ "MIT" ]
null
null
null
source/example.cpp
M-Unterreiner/aufgabenblatt-3
05c032c4768346ee22b1fe4efe3f59a4577ea243
[ "MIT" ]
null
null
null
#include "window.hpp" #include <GLFW/glfw3.h> #include <utility> #include <cmath> #include "circle.hpp" #include "rectangle.hpp" #include "color.hpp" int main(int argc, char* argv[]) { Window win{std::make_pair(800,800)}; while (!win.should_close()) { if (win.get_key(GLFW_KEY_ESCAPE) == GLFW_PRESS) { w...
29.731959
143
0.61165
M-Unterreiner
4fd81c87641620b00666bc3172d99b13d10fe3d7
7,237
cpp
C++
vm/capi/module.cpp
drnic/rubinius
32ee5714fbfe0d5aeae5d71cac246b41f10d15b9
[ "BSD-3-Clause" ]
1
2019-06-27T12:45:49.000Z
2019-06-27T12:45:49.000Z
vm/capi/module.cpp
drnic/rubinius
32ee5714fbfe0d5aeae5d71cac246b41f10d15b9
[ "BSD-3-Clause" ]
null
null
null
vm/capi/module.cpp
drnic/rubinius
32ee5714fbfe0d5aeae5d71cac246b41f10d15b9
[ "BSD-3-Clause" ]
null
null
null
#include "builtin/object.hpp" #include "builtin/module.hpp" #include "builtin/symbol.hpp" #include "helpers.hpp" #include "call_frame.hpp" #include "capi/capi.hpp" #include "capi/include/ruby.h" using namespace rubinius; using namespace rubinius::capi; extern "C" { int rb_const_defined(VALUE module_handle, ID con...
31.881057
95
0.701396
drnic
4fdaf805a54f063e9f331fc49c7ddba8a468c415
3,113
cpp
C++
src/verification_platform/dut/centroiding_cpp_module.cpp
schulz89/Verification-Platform-for-Star-Trackers
5216feb8036506503713c0c1f89728ecc40b3d5c
[ "Apache-2.0" ]
3
2020-03-06T10:32:00.000Z
2022-01-18T21:14:26.000Z
src/verification_platform/dut/centroiding_cpp_module.cpp
schulz89/Verification-Platform-for-Star-Trackers
5216feb8036506503713c0c1f89728ecc40b3d5c
[ "Apache-2.0" ]
1
2020-10-30T06:25:21.000Z
2020-10-30T06:25:21.000Z
src/verification_platform/dut/centroiding_cpp_module.cpp
schulz89/Verification-Platform-for-Star-Trackers
5216feb8036506503713c0c1f89728ecc40b3d5c
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Victor Hugo Schulz // 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...
32.768421
118
0.67459
schulz89
4fdbf34a968150bbb1b6eef1d361852385579e53
2,430
cpp
C++
src/Functions/yesterday.cpp
akvasha/ClickHouse
2e3e56f3538f4b0ac9cfb58275ce2c0ff85754f9
[ "Apache-2.0" ]
null
null
null
src/Functions/yesterday.cpp
akvasha/ClickHouse
2e3e56f3538f4b0ac9cfb58275ce2c0ff85754f9
[ "Apache-2.0" ]
null
null
null
src/Functions/yesterday.cpp
akvasha/ClickHouse
2e3e56f3538f4b0ac9cfb58275ce2c0ff85754f9
[ "Apache-2.0" ]
null
null
null
#include <common/DateLUT.h> #include <Core/Field.h> #include <DataTypes/DataTypeDate.h> #include <Functions/IFunctionOld.h> #include <Functions/FunctionFactory.h> namespace DB { class ExecutableFunctionYesterday : public IExecutableFunction { public: explicit ExecutableFunctionYesterday(time_t time_) : day_va...
27.303371
127
0.738272
akvasha
4fde84abf2e9378aa82a7eb49bf617d2ba7ee61c
33
cpp
C++
r_utils/source/r_nullable.cpp
TroyDL/revere
541bdc2bed9db212c1b74414b24733cf39675d08
[ "BSD-3-Clause" ]
3
2022-02-15T19:30:32.000Z
2022-03-11T20:00:47.000Z
r_utils/source/r_nullable.cpp
TroyDL/revere
541bdc2bed9db212c1b74414b24733cf39675d08
[ "BSD-3-Clause" ]
6
2022-02-15T19:35:29.000Z
2022-02-16T00:36:46.000Z
r_utils/source/r_nullable.cpp
TroyDL/revere
541bdc2bed9db212c1b74414b24733cf39675d08
[ "BSD-3-Clause" ]
2
2020-11-17T06:46:32.000Z
2022-02-10T21:43:36.000Z
#include "r_utils/r_nullable.h"
11
31
0.757576
TroyDL
4fe00a1a9ac699c730bea42ce51d608d97cedbcc
6,500
cpp
C++
unlabeled_mapf/src/lib_ga.cpp
Kei18/tswap
4f1fb59579c88de122d04a3760dbdda8aa82ba34
[ "MIT" ]
2
2022-02-13T23:31:31.000Z
2022-02-14T05:34:38.000Z
unlabeled_mapf/src/lib_ga.cpp
Kei18/tswap
4f1fb59579c88de122d04a3760dbdda8aa82ba34
[ "MIT" ]
null
null
null
unlabeled_mapf/src/lib_ga.cpp
Kei18/tswap
4f1fb59579c88de122d04a3760dbdda8aa82ba34
[ "MIT" ]
1
2022-03-18T00:07:47.000Z
2022-03-18T00:07:47.000Z
#include "../include/lib_ga.hpp" #include <climits> #include <cstring> #include <queue> LibGA::FieldEdge::FieldEdge(int sindex, int gindex, Node* _s, Node* _g, int _d) : start_index(sindex), goal_index(gindex), s(_s), g(_g), evaled(false), inst_d(_d), d(0) { } LibGA::FieldEdge...
23.98524
80
0.505077
Kei18
4fe04a185fabfc7bfc0413598fb8c2dbac6effdc
371
cpp
C++
cpp/cpp_primer/chapter12/ex_12_23a.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
2
2019-12-21T00:53:47.000Z
2020-01-01T10:36:30.000Z
cpp/cpp_primer/chapter12/ex_12_23a.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
cpp/cpp_primer/chapter12/ex_12_23a.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
// // Created by kaiser on 18-12-19. // #include <cstring> #include <iostream> #include <memory> int main() { const char* s1{"hello"}; const char* s2{"world"}; auto size{std::strlen(s1) + std::strlen(s2) + 1}; auto s{std::make_unique<char[]>(size)}; std::strcpy(s.get(), s1); std::strcpy(s.get() + std::s...
17.666667
51
0.579515
KaiserLancelot
4fe09b802e897fdfdbf1e6cc59bb7cedb05148b4
324
cpp
C++
maximum array.cpp
0ishita-jana/-dev-info-day1
e6053be728856b3a92d3137bdfd30e16700f7d06
[ "MIT" ]
null
null
null
maximum array.cpp
0ishita-jana/-dev-info-day1
e6053be728856b3a92d3137bdfd30e16700f7d06
[ "MIT" ]
null
null
null
maximum array.cpp
0ishita-jana/-dev-info-day1
e6053be728856b3a92d3137bdfd30e16700f7d06
[ "MIT" ]
null
null
null
//maximum number in array using function #include<stdio.h> #include<conio.h> int max(int a[],int); int main() { int a[]={10,5,45,12,19}; int n=5,m; m=max(a,n); printf("\n maximum number is %d",m); return 0; getch(); } max(int x[],int k) { int t,i; t=x[0]; for(i=1;i<k;i++) { if(x[i]>t) t=x[i]; } return(t)...
12
40
0.561728
0ishita-jana
4fe14ce542efba945f2390b5c6b6c4195609930e
297
hh
C++
RecoDataProducts/inc/StrawHitPosition.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-06-25T00:00:12.000Z
2021-06-25T00:00:12.000Z
RecoDataProducts/inc/StrawHitPosition.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
125
2020-04-03T13:44:30.000Z
2021-10-15T21:29:57.000Z
RecoDataProducts/inc/StrawHitPosition.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
#ifndef RecoDataProducts_StrawHitPosition_hh #define RecoDataProducts_StrawHitPosition_hh // deprecated class, use ComboHit instead #include "RecoDataProducts/inc/ComboHit.hh" namespace mu2e { typedef ComboHit StrawHitPosition; typedef ComboHitCollection StrawHitPositionCollection; } #endif
27
56
0.851852
bonventre
4fe2a9e6273b242ea4bb3fb4b764e6137d01f5aa
15,441
cc
C++
proxy/ControlBase.cc
ibrezac/trafficserver
640c4f738b7858f93069f987ea141e0cafae72da
[ "Apache-2.0" ]
null
null
null
proxy/ControlBase.cc
ibrezac/trafficserver
640c4f738b7858f93069f987ea141e0cafae72da
[ "Apache-2.0" ]
null
null
null
proxy/ControlBase.cc
ibrezac/trafficserver
640c4f738b7858f93069f987ea141e0cafae72da
[ "Apache-2.0" ]
null
null
null
/** @file A brief file description @section license License 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 und...
25.777963
118
0.6111
ibrezac
4fe315cdb673da9b55946c57c21be1ba59907697
29,092
cpp
C++
src/arm7tdmidisasm.cpp
KellanClark/ecnavdA-yoBemaG
56e295181255fb6c23863a5064df016d8641220a
[ "MIT" ]
3
2022-02-17T05:58:51.000Z
2022-03-29T19:41:39.000Z
src/arm7tdmidisasm.cpp
KellanClark/ecnavdA-yoBemaG
56e295181255fb6c23863a5064df016d8641220a
[ "MIT" ]
null
null
null
src/arm7tdmidisasm.cpp
KellanClark/ecnavdA-yoBemaG
56e295181255fb6c23863a5064df016d8641220a
[ "MIT" ]
null
null
null
#include "arm7tdmidisasm.hpp" static const u32 armDataProcessingMask = 0b1100'0000'0000; static const u32 armDataProcessingBits = 0b0000'0000'0000; static const u32 armMultiplyMask = 0b1111'1100'1111; static const u32 armMultiplyBits = 0b0000'0000'1001; static const u32 armMultiplyLongMask = 0b1111'1000'1111; static ...
37.538065
188
0.647498
KellanClark
4fe31d5cf1dc1f07d35028caae068d23ce061886
129
hpp
C++
deps/opencv/win/include/opencv2/xphoto/tonemap.hpp
YLiLarry/ggframe
ffb6a7d7d878c155d03830cf6fb6fb8f948084f0
[ "MIT" ]
null
null
null
deps/opencv/win/include/opencv2/xphoto/tonemap.hpp
YLiLarry/ggframe
ffb6a7d7d878c155d03830cf6fb6fb8f948084f0
[ "MIT" ]
null
null
null
deps/opencv/win/include/opencv2/xphoto/tonemap.hpp
YLiLarry/ggframe
ffb6a7d7d878c155d03830cf6fb6fb8f948084f0
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:47ff9de6ff45a1c42bd6bdeb0c3013cc69dbf46ce5d5025bc3e920128f0ee5c2 size 2082
32.25
75
0.883721
YLiLarry
4fef86e35d345c50885e6ad6284ec9fc522ea862
2,441
cpp
C++
tests/test_tcpEchoServer.cpp
yangshaoguang/ZLToolKit
d3a1bd9d8a3162d0237954034d85f1313008cab2
[ "MIT" ]
null
null
null
tests/test_tcpEchoServer.cpp
yangshaoguang/ZLToolKit
d3a1bd9d8a3162d0237954034d85f1313008cab2
[ "MIT" ]
null
null
null
tests/test_tcpEchoServer.cpp
yangshaoguang/ZLToolKit
d3a1bd9d8a3162d0237954034d85f1313008cab2
[ "MIT" ]
1
2022-03-20T05:15:09.000Z
2022-03-20T05:15:09.000Z
/* * MIT License * * Copyright (c) 2016 xiongziliang <771730766@qq.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
29.768293
81
0.721016
yangshaoguang
4feff197ef20e1b384e9879c4734db628ade5b22
6,444
cpp
C++
src/city_test.cpp
mheyman/daw_json_link_vcpkg_tests
efb56c122bec2f1a80d6a1843752510a2a8ca956
[ "BSL-1.0" ]
275
2019-04-28T18:53:01.000Z
2022-03-29T23:10:14.000Z
src/city_test.cpp
mheyman/daw_json_link_vcpkg_tests
efb56c122bec2f1a80d6a1843752510a2a8ca956
[ "BSL-1.0" ]
78
2019-11-15T16:20:11.000Z
2022-02-23T01:24:49.000Z
src/city_test.cpp
mheyman/daw_json_link_vcpkg_tests
efb56c122bec2f1a80d6a1843752510a2a8ca956
[ "BSL-1.0" ]
15
2019-06-20T10:28:47.000Z
2022-03-10T16:45:10.000Z
// Copyright (c) Darrell Wright // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/beached/daw_json_link // // This file highlights some of the ways of working with JSON array d...
31.90099
80
0.608007
mheyman
4ff347f2aa7e49d2322e4ed15c6d1dc2e623933c
187
cpp
C++
no_of_objects_created.cpp
rvgarg/oops_programs
f9b5e8b884dab27f5b0737f7aa6848fef870f04d
[ "Apache-2.0" ]
null
null
null
no_of_objects_created.cpp
rvgarg/oops_programs
f9b5e8b884dab27f5b0737f7aa6848fef870f04d
[ "Apache-2.0" ]
null
null
null
no_of_objects_created.cpp
rvgarg/oops_programs
f9b5e8b884dab27f5b0737f7aa6848fef870f04d
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; class foo { public: static int count; foo() { count++; } }; int foo::count = 0; int main() { foo a, b, c, d; cout << foo::count; }
13.357143
23
0.566845
rvgarg
4ff46761caa2700eb490f321a7ceabcc1446c9cc
5,503
cpp
C++
Source/CNormalShot.cpp
pbghogehoge/kog
7d45ba8ddc1b01987ccca416dbd7901a23f4412f
[ "MIT" ]
41
2019-02-08T09:10:30.000Z
2022-03-24T15:54:58.000Z
Source/CNormalShot.cpp
pbghogehoge/kog
7d45ba8ddc1b01987ccca416dbd7901a23f4412f
[ "MIT" ]
null
null
null
Source/CNormalShot.cpp
pbghogehoge/kog
7d45ba8ddc1b01987ccca416dbd7901a23f4412f
[ "MIT" ]
4
2019-02-08T09:26:59.000Z
2020-05-07T15:44:34.000Z
/* * CNormalShot.cpp : 自機の通常ショット * */ #include "CNormalShot.h" #include "Gian2001.h" #include "RndCtrl.h" /***** [プライベートな定数] *****/ #define NS_SPEED (12 * 256) // 通常ショットの移動速度 #define NS_MAXSIZE (16 * 256) // 通常ショットの最大サイズ #define NS_HITSIZE ( 8 * 256) // 通常ショットの当たり判定サイズ #define NS_MAX_TIME...
22.279352
63
0.567327
pbghogehoge
4ff76fb9174f86c896be42ba16d1f983877975e2
944
cpp
C++
ds-algo/search/src/search/InsertSearch.cpp
hebostary/Notes
32e0537ba6f2cb257cd2a202ba2504a7cf70a7ed
[ "Unlicense" ]
null
null
null
ds-algo/search/src/search/InsertSearch.cpp
hebostary/Notes
32e0537ba6f2cb257cd2a202ba2504a7cf70a7ed
[ "Unlicense" ]
null
null
null
ds-algo/search/src/search/InsertSearch.cpp
hebostary/Notes
32e0537ba6f2cb257cd2a202ba2504a7cf70a7ed
[ "Unlicense" ]
null
null
null
#include "Search.hpp" #include "../common/common.hpp" int insertsearch(int *a, int n, int key) { cout<<"***********[Begin]Insert Search**********"<<endl; int re = -1; int low, mid, high; low = 0; high = n - 1; int ite = 0; while(low <= high) { cout<<"Search counter: " << ite++ << en...
24.842105
71
0.456568
hebostary
4ff98e6878ff74331b5ab0e32d3817059bfc6a88
446
cpp
C++
src/main/cpp/cn/edu/SUSTech/YeCanming/Algs/lab11_network_flow/problemA.cpp
2catycm/P_Algorithm_Design_and_Analysis_cpp
d1678d4db6f59a11215a8c790c2852bf9ad852dd
[ "MulanPSL-1.0" ]
null
null
null
src/main/cpp/cn/edu/SUSTech/YeCanming/Algs/lab11_network_flow/problemA.cpp
2catycm/P_Algorithm_Design_and_Analysis_cpp
d1678d4db6f59a11215a8c790c2852bf9ad852dd
[ "MulanPSL-1.0" ]
null
null
null
src/main/cpp/cn/edu/SUSTech/YeCanming/Algs/lab11_network_flow/problemA.cpp
2catycm/P_Algorithm_Design_and_Analysis_cpp
d1678d4db6f59a11215a8c790c2852bf9ad852dd
[ "MulanPSL-1.0" ]
null
null
null
// // Created by 叶璨铭 on 2022/5/20. // #include <iostream> //#include "EdmondsKarpFlowNetwork.h" #include "DinicFlowNetwork.h" int main() { size_t N, M, S, T; std::cin >> N >> M >> S >> T; FlowNetwork<uint64_t> flowNetwork{N, M, S, T}; for (int i = 0; i < M; ++i) { int u, v, c; std::cin>...
22.3
55
0.547085
2catycm
4ffa2bce1efd580677d71215b09713c5a1e860dc
5,491
hpp
C++
base/coeff_array.hpp
simonpp/2dRidgeletBTE
5d08cbb5c57fc276c7a528f128615d23c37ef6a0
[ "BSD-3-Clause" ]
1
2019-11-08T03:15:56.000Z
2019-11-08T03:15:56.000Z
base/coeff_array.hpp
simonpp/2dRidgeletBTE
5d08cbb5c57fc276c7a528f128615d23c37ef6a0
[ "BSD-3-Clause" ]
null
null
null
base/coeff_array.hpp
simonpp/2dRidgeletBTE
5d08cbb5c57fc276c7a528f128615d23c37ef6a0
[ "BSD-3-Clause" ]
1
2019-11-08T03:15:56.000Z
2019-11-08T03:15:56.000Z
#pragma once #include <Eigen/Dense> #include <type_traits> #include <vector> #ifdef USE_MPI #include <mpi.h> #endif #include "base/exceptions.hpp" #include "my_map.hpp" namespace _local { template <typename T> struct TransposeAdaptor { TransposeAdaptor(const T &t_) : t(t_){/* empty */}; const T &operator...
24.734234
95
0.675105
simonpp
4ffac3b42ce4ce07c41cfbfc51af1cfecd1d0cc5
5,156
hpp
C++
host_buffer.hpp
Metalhead33/SharedBuffers
c152004f9e1a337671bf8aefc7b89cb0e6403ce2
[ "Apache-2.0" ]
null
null
null
host_buffer.hpp
Metalhead33/SharedBuffers
c152004f9e1a337671bf8aefc7b89cb0e6403ce2
[ "Apache-2.0" ]
null
null
null
host_buffer.hpp
Metalhead33/SharedBuffers
c152004f9e1a337671bf8aefc7b89cb0e6403ce2
[ "Apache-2.0" ]
null
null
null
#ifndef HOST_BUFFER_HPP #define HOST_BUFFER_HPP #include "abstract_buffer.hpp" #include <vector> #include <array> #include <cstring> #include <initializer_list> #include <iterator> template <typename T> class dynamic_host_buffer : public abstract_buffer<T> { public: typedef abstract_buffer<T> base_buffer; typedef st...
34.145695
126
0.730411
Metalhead33
4ffb956b7d2774d75925ce73973e209c5d04f581
1,011
hpp
C++
api/includes/header/HeaderNormalizer.hpp
SaltTeam/ZiaAPI
fe8592cdfce0d05c09eeb82e42cd70a60e0427c3
[ "Unlicense" ]
1
2017-12-20T16:30:07.000Z
2017-12-20T16:30:07.000Z
api/includes/header/HeaderNormalizer.hpp
SaltTeam/ZiaAPI
fe8592cdfce0d05c09eeb82e42cd70a60e0427c3
[ "Unlicense" ]
11
2017-12-11T13:04:39.000Z
2018-02-13T09:11:15.000Z
api/includes/header/HeaderNormalizer.hpp
SaltTeam/ZiaAPI
fe8592cdfce0d05c09eeb82e42cd70a60e0427c3
[ "Unlicense" ]
null
null
null
/** * Zia Httpd Server API * * @authors SaltTeam * @date 10/11/2017 * @package Zia */ #pragma once #include <string> #include "Header.hpp" /** * @namespace Zia */ namespace Zia { namespace HeaderNormalizer { /** * Normalization Type for your header name. You should never have to use...
21.0625
115
0.562809
SaltTeam
4ffb9e0b256dbcd110e861a58220f167dfca63fc
6,224
hpp
C++
Game/Xerces/src/xercesc/dom/DOMAttr.hpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Xerces/src/xercesc/dom/DOMAttr.hpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Xerces/src/xercesc/dom/DOMAttr.hpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#ifndef DOMAttr_HEADER_GUARD_ #define DOMAttr_HEADER_GUARD_ /* * Copyright 2001-2002,2004 The Apache Software Foundation. * * 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 * * ht...
34.38674
94
0.558162
hackerlank
4ffc0b4031e408357f95de33dcff38badaf422ac
205
cpp
C++
acm/shuoj/contest/20160409/5.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
17
2016-01-01T12:57:25.000Z
2022-02-06T09:55:12.000Z
acm/shuoj/contest/20160409/5.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
null
null
null
acm/shuoj/contest/20160409/5.cpp
xiaohuihuigh/cpp
c28bdb79ecb86f44a92971ac259910546dba29a7
[ "MIT" ]
8
2018-12-27T01:31:49.000Z
2022-02-06T09:55:12.000Z
#include<bits/stdc++.h> using namespace std; int a[100]; int main(){ int t; cin>>t; while(t--){ int n; cin>>n; int ans = 0; while(n){ if(n&1)ans++; n>>=1; } cout<<(1<<ans)<<endl; } }
11.388889
23
0.502439
xiaohuihuigh
4ffda9d2d20ab8a27fd0285c13371c3be2883be6
5,780
cpp
C++
Source/SystemQOR/MSWindows/WinQL/System/Security/WinQLImpersonation.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinQL/System/Security/WinQLImpersonation.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinQL/System/Security/WinQLImpersonation.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//WinQLImpersonation.cpp // Copyright Querysoft Limited 2013 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit ...
40.138889
139
0.646886
mfaithfull
4ffee2b3a369b100f68f89d7f96fb913762669c9
8,630
cpp
C++
src/fn_miscs.cpp
brindhavenkatesan92/libsass
1b372e4e23fab20bd3db4fe05efa65adcba6a2cb
[ "MIT" ]
null
null
null
src/fn_miscs.cpp
brindhavenkatesan92/libsass
1b372e4e23fab20bd3db4fe05efa65adcba6a2cb
[ "MIT" ]
null
null
null
src/fn_miscs.cpp
brindhavenkatesan92/libsass
1b372e4e23fab20bd3db4fe05efa65adcba6a2cb
[ "MIT" ]
null
null
null
#include "ast.hpp" #include "expand.hpp" #include "fn_utils.hpp" #include "fn_miscs.hpp" namespace Sass { namespace Functions { // features static std::set<std::string> features { "global-variable-shadowing", "extend-selector-pseudoclass", "at-error", "units-level-3", "custom-...
34.52
121
0.569525
brindhavenkatesan92
4fff47e2fd682f57073d9dbfbebe846d18d64c02
9,548
cpp
C++
libraries/model/src/model/Stage.cpp
DaveDubUK/hifi
1ceed98ca2f43f9accef2a174a16ab4228093144
[ "Apache-2.0" ]
null
null
null
libraries/model/src/model/Stage.cpp
DaveDubUK/hifi
1ceed98ca2f43f9accef2a174a16ab4228093144
[ "Apache-2.0" ]
null
null
null
libraries/model/src/model/Stage.cpp
DaveDubUK/hifi
1ceed98ca2f43f9accef2a174a16ab4228093144
[ "Apache-2.0" ]
null
null
null
// // Stage.cpp // libraries/model/src/model // // Created by Sam Gateau on 2/24/2015. // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "Stage.h" #include ...
31.202614
137
0.681295
DaveDubUK
8b006b13212ae5f01646607126ba7397e691e26a
6,997
cpp
C++
lectures/23-GraphsII/code/Kruskal/src/kruskal.cpp
tofergregg/cs106X-website-spring-2017
1c1f4bab672248a77bdb881e818dee49b48c0070
[ "MIT" ]
2
2018-02-21T07:10:58.000Z
2019-07-26T03:54:43.000Z
lectures/23-GraphsII/code/Kruskal/src/kruskal.cpp
tofergregg/cs106X-website-spring-2017
1c1f4bab672248a77bdb881e818dee49b48c0070
[ "MIT" ]
null
null
null
lectures/23-GraphsII/code/Kruskal/src/kruskal.cpp
tofergregg/cs106X-website-spring-2017
1c1f4bab672248a77bdb881e818dee49b48c0070
[ "MIT" ]
6
2017-01-04T03:17:03.000Z
2020-11-16T06:28:30.000Z
#include <iostream> #include "console.h" #include "basicgraph.h" #include "simpio.h" #include "set.h" #include "priorityqueue.h" #include "gwindow.h" #include "gobjects.h" #include "random.h" #include "map.h" #include <cmath> using namespace std; const bool GRID_GRAPH = true; void kruskal(BasicGraph &graph, BasicGra...
31.949772
102
0.566671
tofergregg
8b0183892fd7736ee1e8e337e08ff31d6b5d799c
421
cpp
C++
leet_code/arrays/specialArr.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
leet_code/arrays/specialArr.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
leet_code/arrays/specialArr.cpp
sahilduhan/codeforces
a8042d52c12806e026fd7027e35e97ed8b4eeed6
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: int specialArray(vector<int>& nums) { int n = nums.size(); while (n > 0){ int count = 0; for (int i = 0; i < nums.size(); i++){ if (nums[i] >= n) count++; } if (coun...
20.047619
50
0.418052
sahilduhan
8b025e8f2089450547be4357391b502e3c43fbde
543
cpp
C++
cli/util/to_http.cpp
Bytecube-Packages/Bytecube
ae4b09d593a8f2487798283d7d1f25c76c1da4a3
[ "Apache-2.0" ]
5
2021-08-04T21:05:41.000Z
2021-09-18T12:55:40.000Z
cli/util/to_http.cpp
Bytecube-Packages/Bytecube
ae4b09d593a8f2487798283d7d1f25c76c1da4a3
[ "Apache-2.0" ]
1
2021-08-12T17:44:35.000Z
2021-08-12T17:44:35.000Z
cli/util/to_http.cpp
Bytecube-Packages/Bytecube
ae4b09d593a8f2487798283d7d1f25c76c1da4a3
[ "Apache-2.0" ]
null
null
null
#include <sstream> #include <string> #include <map> #include "url_encode.cpp" using namespace std; namespace Util{ string to_http(map<string, string> object, bool encode = true) { stringstream ss; for (map<string, string>::iterator it = object.begin(); it != object.end(); ++it) { string seperator = i...
21.72
87
0.593002
Bytecube-Packages
8b063f989bc6486c5caec353714fb03a74039411
730
cpp
C++
src/db/db_drc.cpp
liulixinkerry/ripple
330522a61bcf1cf290c100ce4686ed62dcdc5cab
[ "Unlicense" ]
7
2021-01-25T04:28:38.000Z
2021-11-20T04:14:14.000Z
src/db/db_drc.cpp
Xingquan-Li/ripple
330522a61bcf1cf290c100ce4686ed62dcdc5cab
[ "Unlicense" ]
3
2021-02-25T08:13:41.000Z
2022-02-25T16:37:16.000Z
src/db/db_drc.cpp
Xingquan-Li/ripple
330522a61bcf1cf290c100ce4686ed62dcdc5cab
[ "Unlicense" ]
8
2021-02-27T13:52:25.000Z
2021-11-15T08:01:02.000Z
#include "db.h" using namespace db; #include "../ut/utils.h" /***** EdgeTypes *****/ int EdgeTypes::getEdgeType(const string& name) const { unsigned numTypes = types.size(); for (unsigned i = 0; i != numTypes; ++i) { if (types[i] == name) { return i; } } return -1; } int ...
20.857143
67
0.556164
liulixinkerry
8b072ba900eb2e86b13bcd019acffe41f316d053
2,097
cpp
C++
src/sleek/node/billboard/sprite.cpp
Phirxian/sleek-engine
741d55c8daad67ddf631e8b8fbdced59402d7bda
[ "BSD-2-Clause" ]
null
null
null
src/sleek/node/billboard/sprite.cpp
Phirxian/sleek-engine
741d55c8daad67ddf631e8b8fbdced59402d7bda
[ "BSD-2-Clause" ]
null
null
null
src/sleek/node/billboard/sprite.cpp
Phirxian/sleek-engine
741d55c8daad67ddf631e8b8fbdced59402d7bda
[ "BSD-2-Clause" ]
null
null
null
#include "../scene.h" #include "sprite.h" namespace sleek { namespace scene3d { namespace billboard { Sprite::Sprite(Scene *smgr) noexcept : Billboard(smgr) { mat->Texture.push_back(nullptr); timespec = 100; current = 0; ...
26.884615
158
0.406295
Phirxian
8b07cd1eb7ecf75585e8dc7650332eee0fc25e42
1,464
cpp
C++
examples/misc/context.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
examples/misc/context.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
examples/misc/context.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2007 Andre Merzky <andre@merzky.net> // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE file or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <saga/saga.hpp> #define COUNT 100 void dump_context (saga::context c) { std::vector <st...
19.783784
79
0.485656
saga-project
8b08fd30de6621fa4a7d48a27d38f5d26ac1f1ab
10,610
cpp
C++
src/fasc/fascDGP.cpp
rlinxy/fcore
652288940bd27ecbad69c0366bba20ad0f7515b6
[ "MIT" ]
1
2021-04-29T16:38:46.000Z
2021-04-29T16:38:46.000Z
src/fasc/fascDGP.cpp
rlinxy/fcore
652288940bd27ecbad69c0366bba20ad0f7515b6
[ "MIT" ]
null
null
null
src/fasc/fascDGP.cpp
rlinxy/fcore
652288940bd27ecbad69c0366bba20ad0f7515b6
[ "MIT" ]
1
2019-10-22T08:16:36.000Z
2019-10-22T08:16:36.000Z
#include <fasc/fascDGP.h> void FascDGP::initDataEIP158() { std::vector<uint32_t> tempData = {dev::eth::EIP158Schedule.tierStepGas[0], dev::eth::EIP158Schedule.tierStepGas[1], dev::eth::EIP158Schedule.tierStepGas[2], dev::eth::EIP158Schedule.tierStepGas[3], dev::eth::EIP158Sche...
42.610442
160
0.645806
rlinxy
8b09bbac7453dc478a96ed96d6bd9e8adfe8b1d4
2,649
cpp
C++
samples/vision/sample_vision_featureMatching.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
114
2017-08-13T22:37:32.000Z
2022-03-25T12:28:39.000Z
samples/vision/sample_vision_featureMatching.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
7
2019-10-14T18:19:11.000Z
2021-06-11T09:41:52.000Z
samples/vision/sample_vision_featureMatching.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
18
2017-08-14T01:22:05.000Z
2022-03-12T12:35:07.000Z
/** * Copyright (c) 2021 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #include "saiga/core/framework/framework.h" #include "saiga/core/image/image.h" #include "saiga/core/math/Eigen_Compile_Checker.h" #include "saiga/core/math/random.h" #include "saiga/core/time/all....
27.309278
106
0.593431
no33fewi
8b09caea1fc582d9ef0c66af01b76041e91f4937
1,646
cpp
C++
designer/NumericTablePlugin.cpp
ZgblKylin/NumericTable
778dacc7aa56d246086b8b32c8f79eddb3cb5ac4
[ "MIT" ]
3
2020-02-14T06:46:08.000Z
2020-08-08T16:13:17.000Z
designer/NumericTablePlugin.cpp
ZgblKylin/NumericTable
778dacc7aa56d246086b8b32c8f79eddb3cb5ac4
[ "MIT" ]
null
null
null
designer/NumericTablePlugin.cpp
ZgblKylin/NumericTable
778dacc7aa56d246086b8b32c8f79eddb3cb5ac4
[ "MIT" ]
null
null
null
#include "NumericTablePlugin.h" #include <NumericTable> #if QT_VERSION < 0x050000 Q_EXPORT_PLUGIN2(NumericTablePlugin, NumericTablePlugin) #endif // QT_VERSION < 0x050000 NumericTablePlugin::NumericTablePlugin(QObject* parent) : QObject(parent) { widgets.append(new NumericTablePluginInterface(this)); } QList...
20.835443
86
0.763062
ZgblKylin
8b0c212cb883e4546f00622149ebe2f2796dd603
2,880
cpp
C++
src/013_roman_to_integer.cpp
llife09/leetcode
f5bd6bc7819628b9921441d8362f62123ab881b7
[ "MIT" ]
1
2019-09-01T22:54:39.000Z
2019-09-01T22:54:39.000Z
src/013_roman_to_integer.cpp
llife09/leetcode
f5bd6bc7819628b9921441d8362f62123ab881b7
[ "MIT" ]
6
2019-07-19T07:16:42.000Z
2019-07-26T08:21:31.000Z
src/013_roman_to_integer.cpp
llife09/leetcode
f5bd6bc7819628b9921441d8362f62123ab881b7
[ "MIT" ]
null
null
null
/* Roman to Integer URL: https://leetcode.com/problems/roman-to-integer Tags: ['math', 'string'] ___ Roman numerals are represented by seven different symbols: `I`, `V`, `X`, `L`, `C`, `D` and `M`. Symbol Value I 1 V 5 X 10 L 50 C ...
25.486726
78
0.532986
llife09
8b0c60ec0a49eef971777209e55f663f3614e9bc
4,171
cpp
C++
export/release/windows/obj/src/__ASSET__OPENFL__flixel_fonts_monsterrat_ttf.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/__ASSET__OPENFL__flixel_fonts_monsterrat_ttf.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/__ASSET__OPENFL__flixel_fonts_monsterrat_ttf.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED___ASSET__OPENFL__flixel_fonts_monsterrat_ttf #include <__ASSET__OPENFL__flixel_fonts_monsterrat_ttf.h> #endif #ifndef INCLUDED___ASSET__flixel_fonts_monsterrat_ttf #include <__ASSET__flixel_fonts_monsterrat_ttf.h> #endif #ifndef INCLUDED_lime_text_Font #in...
43.447917
251
0.825462
bobisdabbing
8b14cf768275f12f15b35d36cd0b505e58e0a849
6,697
cpp
C++
Source/Core/RenderAPI/VulkanAPI/VulkanCommandListPool.cpp
Cube219/CubeEngine_old2
d251d540a4fdbc993ec5c9183eb30ac4dc81d5be
[ "MIT" ]
null
null
null
Source/Core/RenderAPI/VulkanAPI/VulkanCommandListPool.cpp
Cube219/CubeEngine_old2
d251d540a4fdbc993ec5c9183eb30ac4dc81d5be
[ "MIT" ]
null
null
null
Source/Core/RenderAPI/VulkanAPI/VulkanCommandListPool.cpp
Cube219/CubeEngine_old2
d251d540a4fdbc993ec5c9183eb30ac4dc81d5be
[ "MIT" ]
null
null
null
#include "VulkanCommandListPool.h" #include "VulkanDebug.h" #include "VulkanUtility.h" #include "VulkanLogicalDevice.h" #include "VulkanQueueManager.h" #include "EngineCore/Assertion.h" namespace cube { namespace render { VulkanCommandListPool::VulkanCommandListPool(SPtr<VulkanLogicalDevice>& device, VulkanQueue...
34.520619
117
0.734359
Cube219
8b19d5200d578b89a2a96e12d448b00cd11ec26e
2,508
hpp
C++
Sisyphe/cppbase/src/debugErrorInfoPredicate.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/cppbase/src/debugErrorInfoPredicate.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/cppbase/src/debugErrorInfoPredicate.hpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
/* * debugErrorInfoPredicate.hpp * * * @date 14-07-2020 * @author Teddy DIDE * @version 1.00 * cppBase generated by gensources. */ #ifndef _DEBUGERRORINFO_PREDICATE_HPP_ #define _DEBUGERRORINFO_PREDICATE_HPP_ NAMESPACE_BEGIN(entity) /// Represents a comparaison class for DebugErrorInfo object. /// This clas...
26.680851
133
0.744019
tedi21
8b1c795ac95d5865d280efe773521ff86f1bc2e7
3,065
hpp
C++
src/NumericalAlgorithms/Interpolation/SendPointsToInterpolator.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/NumericalAlgorithms/Interpolation/SendPointsToInterpolator.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
src/NumericalAlgorithms/Interpolation/SendPointsToInterpolator.hpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <algorithm> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/DataBox/DataBoxTag.hpp" #include "DataStructures/Variables.hpp" #include "Domain/BlockLogicalCoordinates.hpp" #include "Domain/Tags.hpp" #incl...
37.378049
80
0.717781
marissawalker
8b1cc42169c51859260c36e11fd8b82ffadf7f02
6,420
cpp
C++
Synergy/src/Synergy/Renderer/Renderer2D.cpp
nmrsmn/synergy
7f77c70c131debe66d2e91e00827fd30e736cf81
[ "MIT" ]
null
null
null
Synergy/src/Synergy/Renderer/Renderer2D.cpp
nmrsmn/synergy
7f77c70c131debe66d2e91e00827fd30e736cf81
[ "MIT" ]
25
2020-04-05T11:05:08.000Z
2020-06-07T12:48:58.000Z
Synergy/src/Synergy/Renderer/Renderer2D.cpp
nmrsmn/synergy
7f77c70c131debe66d2e91e00827fd30e736cf81
[ "MIT" ]
null
null
null
// Created by Niels Marsman on 21-04-2020. // Copyright © 2020 Niels Marsman. All rights reserved. #include <glad/glad.h> #include <glm/gtc/matrix_transform.hpp> #include "Synergy/Renderer/Renderer2D.h" #include "Synergy/Renderer/Shader.h" #include "Synergy/Renderer/Shaders.h" #include "Synergy/Renderer/Texture.h" ...
30.283019
122
0.556386
nmrsmn
8b2214da4901c7108c5d038b847517e443f93943
9,712
hh
C++
source/base/KBRun.hh
sh-lim/kebi-1
c5cfcf4c26db0dff0067fa3911e1dbcc193c77e9
[ "MIT" ]
null
null
null
source/base/KBRun.hh
sh-lim/kebi-1
c5cfcf4c26db0dff0067fa3911e1dbcc193c77e9
[ "MIT" ]
null
null
null
source/base/KBRun.hh
sh-lim/kebi-1
c5cfcf4c26db0dff0067fa3911e1dbcc193c77e9
[ "MIT" ]
1
2020-08-11T01:39:16.000Z
2020-08-11T01:39:16.000Z
#ifndef KBRUN_HH #define KBRUN_HH #include "KBCompiled.h" #include "KBTask.hh" #include "KBParameterContainer.hh" #include "KBDetectorSystem.hh" #include "KBDetector.hh" #include "KBTpc.hh" #include "KBPadPlane.hh" #include "KBMCTrack.hh" #include "TDatabasePDG.h" #include "TError.h" #include "TH1D.h" #include "TGrap...
30.734177
115
0.699238
sh-lim
8b24a3648905c1fba1fb37c0ad38375505760254
101,819
cpp
C++
_studio/shared/umc/codec/h264_dec/src/umc_h264_dec_bitstream_headers.cpp
wangyan42164/MediaSDK
bc98489e124b52c435a99eb85eef497d871be989
[ "MIT" ]
4
2021-03-03T10:18:53.000Z
2022-03-31T03:04:34.000Z
_studio/shared/umc/codec/h264_dec/src/umc_h264_dec_bitstream_headers.cpp
wangyan42164/MediaSDK
bc98489e124b52c435a99eb85eef497d871be989
[ "MIT" ]
1
2021-01-21T12:27:39.000Z
2021-01-21T12:27:39.000Z
_studio/shared/umc/codec/h264_dec/src/umc_h264_dec_bitstream_headers.cpp
wangyan42164/MediaSDK
bc98489e124b52c435a99eb85eef497d871be989
[ "MIT" ]
1
2022-02-10T03:24:51.000Z
2022-02-10T03:24:51.000Z
// Copyright (c) 2017-2019 Intel Corporation // // 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,...
34.857583
145
0.611281
wangyan42164
8b25aa4cb4d6c6134baf186d56f4b157e585a2c7
4,418
cpp
C++
Fusin/src/Utilities/FusinCharCode.cpp
LegendaryMauricius/Fusin
36364b708257630be8b3f1aec27c9f711d255ab1
[ "MIT" ]
null
null
null
Fusin/src/Utilities/FusinCharCode.cpp
LegendaryMauricius/Fusin
36364b708257630be8b3f1aec27c9f711d255ab1
[ "MIT" ]
null
null
null
Fusin/src/Utilities/FusinCharCode.cpp
LegendaryMauricius/Fusin
36364b708257630be8b3f1aec27c9f711d255ab1
[ "MIT" ]
null
null
null
#include "Utilities/FusinCharCode.h" #include <sstream> #include <map> namespace Fusin { namespace { const std::map<String, Char> NameToKeyMap = { {FUSIN_STR("Home"), CC_HOME}, {FUSIN_STR("End"), CC_END}, {FUSIN_STR("L_Shift"), CC_LSHIFT}, {FUSIN_STR("R_Shift"), CC_RSHIFT}, {FUSIN_STR("L_Ctrl"), CC...
22.426396
73
0.627433
LegendaryMauricius
8b29259ca6ff65382d92f2fdae9eff525497213d
1,250
cpp
C++
lang/cpp/cpp1114/for.cpp
yohshiy/programmers_notes
ececf1fc158ca8f541dc3ebc4310d2694c687ef5
[ "MIT" ]
null
null
null
lang/cpp/cpp1114/for.cpp
yohshiy/programmers_notes
ececf1fc158ca8f541dc3ebc4310d2694c687ef5
[ "MIT" ]
null
null
null
lang/cpp/cpp1114/for.cpp
yohshiy/programmers_notes
ececf1fc158ca8f541dc3ebc4310d2694c687ef5
[ "MIT" ]
null
null
null
/// /// 範囲 for サンプル /// /// g++ -std=c++14 for.cpp #include <iostream> #include <vector> #include <string> #include <map> using namespace std; int main() { // STL コンテナー vector<int> ary = { 3,2,9,6 }; for (auto elem : ary) { cout << elem << endl; } cout << endl; // 配列 int cary[] = { ...
13.888889
66
0.3776
yohshiy
8b2a4df2e8ba9ffedd97f02d9cb7847b245de32f
131,701
cc
C++
vehicle/simvehicle.cc
vinijabes/simutrans
cb90d7e29e8f7910936d98733fe9fe5f24893535
[ "Artistic-1.0" ]
null
null
null
vehicle/simvehicle.cc
vinijabes/simutrans
cb90d7e29e8f7910936d98733fe9fe5f24893535
[ "Artistic-1.0" ]
null
null
null
vehicle/simvehicle.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 <limits.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include "../boden/grund.h" #include "../boden/wege/runway.h" #include "../boden/wege/kanal.h" #include "../boden/wege/schiene.h" #include ...
30.415935
358
0.66203
vinijabes
8b2a5fa7caab27fd1b4932f587ff704a2a67c126
6,262
cpp
C++
ur_calibration/src/calibration_correction.cpp
mowito/Universal_Robots_ROS2_Driver
a5fbbb2e52b9d1111c46bb172c74f9f0063dabbd
[ "BSD-3-Clause" ]
null
null
null
ur_calibration/src/calibration_correction.cpp
mowito/Universal_Robots_ROS2_Driver
a5fbbb2e52b9d1111c46bb172c74f9f0063dabbd
[ "BSD-3-Clause" ]
null
null
null
ur_calibration/src/calibration_correction.cpp
mowito/Universal_Robots_ROS2_Driver
a5fbbb2e52b9d1111c46bb172c74f9f0063dabbd
[ "BSD-3-Clause" ]
null
null
null
// -- BEGIN LICENSE BLOCK ---------------------------------------------- // Created on behalf of Universal Robots A/S // Copyright 2019 FZI Forschungszentrum Informatik // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met:...
35.179775
120
0.696583
mowito
8b2cba9ce1f1cb5957716f26a7ad3f9a843f575f
84,153
hpp
C++
modules/dnn/include/opencv2/dnn/dnn.hpp
Synkar/opencv
266835cd2eb5e0d66eeb2e11bb9add8a3f2e74ae
[ "Apache-2.0" ]
1
2022-01-28T09:14:05.000Z
2022-01-28T09:14:05.000Z
modules/dnn/include/opencv2/dnn/dnn.hpp
Synkar/opencv
266835cd2eb5e0d66eeb2e11bb9add8a3f2e74ae
[ "Apache-2.0" ]
null
null
null
modules/dnn/include/opencv2/dnn/dnn.hpp
Synkar/opencv
266835cd2eb5e0d66eeb2e11bb9add8a3f2e74ae
[ "Apache-2.0" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
49.212281
152
0.637886
Synkar
8b2ccb74852ea6ae8c292a1df0f9b3b34a0f725b
127,016
cpp
C++
src/lib/core/tests/TestCHIPTLV.cpp
simonlingoogle/connectedhomeip
47e8b60c0a903b385accde9f49635187646dd577
[ "Apache-2.0" ]
2
2021-05-21T23:15:07.000Z
2021-12-04T03:53:03.000Z
src/lib/core/tests/TestCHIPTLV.cpp
simonlingoogle/connectedhomeip
47e8b60c0a903b385accde9f49635187646dd577
[ "Apache-2.0" ]
null
null
null
src/lib/core/tests/TestCHIPTLV.cpp
simonlingoogle/connectedhomeip
47e8b60c0a903b385accde9f49635187646dd577
[ "Apache-2.0" ]
null
null
null
/* * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2013-2017 Nest Labs, Inc. * 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 * *...
33.085699
134
0.656791
simonlingoogle
8b3115b344ea66758e6d4c76caea1fc9e07cd806
434
cpp
C++
code/sandbox2.cpp
chistopher/scale-free-flow
2db5fe9563a459035b38b449a293aecbac32710f
[ "MIT" ]
null
null
null
code/sandbox2.cpp
chistopher/scale-free-flow
2db5fe9563a459035b38b449a293aecbac32710f
[ "MIT" ]
null
null
null
code/sandbox2.cpp
chistopher/scale-free-flow
2db5fe9563a459035b38b449a293aecbac32710f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <ScopedTimer.hpp> #include <ProgressIndicator.hpp> #include <common.h> #include <utils.h> #include <Dinics.h> #include <BoykovKolmogorov.h> #include <ghtree.h> #include <girgs/Generator.h> #define rep(a, b) for(int a = 0; a < (b); ++a) #define all(a) (a).begin(),(a).end() /...
15.5
48
0.626728
chistopher
8b32451c1fe2c6d4d57ccedb008590f06ee40187
6,888
hpp
C++
adobe/manip.hpp
jaredwy/adobe_source_libraries
b71f5d08ab10396e9d2ba5e73861ca018f899a2d
[ "BSL-1.0" ]
252
2015-01-09T13:38:47.000Z
2022-03-30T09:02:01.000Z
adobe/manip.hpp
etiennemlb/adobe_source_libraries
5ced8bf61fbb487e9a2c6fa3ea7abc2687448c3b
[ "BSL-1.0" ]
37
2015-05-04T23:49:40.000Z
2022-01-22T18:31:51.000Z
adobe/manip.hpp
etiennemlb/adobe_source_libraries
5ced8bf61fbb487e9a2c6fa3ea7abc2687448c3b
[ "BSL-1.0" ]
59
2015-06-09T07:44:56.000Z
2022-01-22T17:35:05.000Z
/* Copyright 2013 Adobe 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) */ /**************************************************************************************************/ #ifdef ADOBE_STD_SERIALIZATION ...
30.210526
100
0.49187
jaredwy
8b35bbc7066416e55e21909e4033d774ab0d1c2f
5,453
cpp
C++
hphp/runtime/vm/jit/tc-debugger.cpp
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
7
2015-08-28T06:20:50.000Z
2021-11-08T09:48:24.000Z
hphp/runtime/vm/jit/tc-debugger.cpp
thekid/hhvm
3f7d3bdde3cbab3b90dd0f156ae56445738432b1
[ "PHP-3.01", "Zend-2.0" ]
1
2020-01-19T19:06:32.000Z
2020-01-19T19:06:32.000Z
hphp/runtime/vm/jit/tc-debugger.cpp
profclems/hhvm
240f1370de88926a6c0760cc089b93b84bb0f88d
[ "PHP-3.01", "Zend-2.0" ]
3
2018-01-23T20:44:59.000Z
2021-05-06T12:45:31.000Z
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
33.048485
80
0.595085
thekid
8b3896a642293840201ab50be9ea48fe2cd83095
1,892
cpp
C++
codeforces/D - Barcelonian Distance/Wrong answer on test 9.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/D - Barcelonian Distance/Wrong answer on test 9.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/D - Barcelonian Distance/Wrong answer on test 9.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Nov/19/2018 01:59 * solution_verdict: Wrong answer on test 9 language: GNU C++14 * run...
37.098039
111
0.541755
kzvd4729
8b3a2a34ecc89a46f56446af0008e7f5aaa6531f
765
cpp
C++
ad_map_access/impl/tests/generated/ad/map/route/LaneSegmentListTests.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
null
null
null
ad_map_access/impl/tests/generated/ad/map/route/LaneSegmentListTests.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
null
null
null
ad_map_access/impl/tests/generated/ad/map/route/LaneSegmentListTests.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
1
2020-10-27T11:09:30.000Z
2020-10-27T11:09:30.000Z
/* * ----------------- BEGIN LICENSE BLOCK --------------------------------- * * Copyright (C) 2018-2020 Intel Corporation * * SPDX-License-Identifier: MIT * * ----------------- END LICENSE BLOCK ----------------------------------- */ /* * Generated file */ #if defined(__clang__) && (__clang_major__ >= 7) #...
21.857143
74
0.611765
seowwj
8b3e75e2817205050217d3acbc01c3f0f3733b43
19,601
cpp
C++
src/libtsduck/tsSDT.cpp
yrpark99/tsduck
2929092e42c5c7eec95a119af91cc09ffdde2028
[ "BSD-2-Clause" ]
null
null
null
src/libtsduck/tsSDT.cpp
yrpark99/tsduck
2929092e42c5c7eec95a119af91cc09ffdde2028
[ "BSD-2-Clause" ]
null
null
null
src/libtsduck/tsSDT.cpp
yrpark99/tsduck
2929092e42c5c7eec95a119af91cc09ffdde2028
[ "BSD-2-Clause" ]
null
null
null
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2018, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
36.433086
144
0.543646
yrpark99
8b3e89f7e1cb3cd9337b869dca27164abf6eb81b
1,044
cpp
C++
src/thunderbots/software/test/ai/passing/pass.cpp
FSXAC/Software
3754f5ec2c513906f66a05d4399aca516d03ba9f
[ "MIT" ]
null
null
null
src/thunderbots/software/test/ai/passing/pass.cpp
FSXAC/Software
3754f5ec2c513906f66a05d4399aca516d03ba9f
[ "MIT" ]
null
null
null
src/thunderbots/software/test/ai/passing/pass.cpp
FSXAC/Software
3754f5ec2c513906f66a05d4399aca516d03ba9f
[ "MIT" ]
null
null
null
/** * Tests for the "Pass" class */ #include "ai/passing/pass.h" #include <gtest/gtest.h> using namespace AI::Passing; TEST(PassTest, test_constructing_pass_with_negative_speed) { EXPECT_THROW(Pass(Point(1, 2), Point(3, 4), -0.1, Timestamp::fromSeconds(10)), std::invalid_argument); } TEST(Pa...
27.473684
87
0.641762
FSXAC
8b460be9f2d3b90dbc32c9b5a2bb05d21a4b4244
681
cpp
C++
src/libsasm/TokenStream.cpp
Galfodo/SIDdecompiler
aeda7aff18c8d61e5e0716a1301d4d3c52f12234
[ "MIT" ]
11
2019-03-13T12:38:39.000Z
2021-10-17T05:04:58.000Z
src/libsasm/TokenStream.cpp
Galfodo/SIDdecompiler
aeda7aff18c8d61e5e0716a1301d4d3c52f12234
[ "MIT" ]
null
null
null
src/libsasm/TokenStream.cpp
Galfodo/SIDdecompiler
aeda7aff18c8d61e5e0716a1301d4d3c52f12234
[ "MIT" ]
null
null
null
#include "TokenStream.h" #include <assert.h> namespace SASM { TokenStream::TokenStream(GetToken_pf pfGetToken, char const* pzData) : m_pfGetToken(pfGetToken), m_pzData(pzData), m_CachedToken(false) { assert(m_pfGetToken != NULL); } bool TokenStream::next(Token& token) { if (m_CachedToken) { token = m_NextT...
20.636364
137
0.690162
Galfodo
8b4839012406abfdf6796a20b83ec6518e84d7b7
29,625
cpp
C++
lib/Index/IndexDatastore.cpp
gmittert/indexstore-db
31ff487bd8d10531a9af761e4ecc1c929ccee2ff
[ "Apache-2.0" ]
null
null
null
lib/Index/IndexDatastore.cpp
gmittert/indexstore-db
31ff487bd8d10531a9af761e4ecc1c929ccee2ff
[ "Apache-2.0" ]
null
null
null
lib/Index/IndexDatastore.cpp
gmittert/indexstore-db
31ff487bd8d10531a9af761e4ecc1c929ccee2ff
[ "Apache-2.0" ]
null
null
null
//===--- IndexDatastore.cpp -----------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
36.084044
237
0.684489
gmittert
8b48f08041eabfd511df39a8badc93f1cb027293
11,984
cc
C++
test/syscalls/linux/itimer.cc
akhand9999/gvisor
001d57df10531208c048450c8e0bc4c5a9ec9caf
[ "Apache-2.0" ]
2
2021-02-23T03:14:54.000Z
2021-04-16T08:46:24.000Z
test/syscalls/linux/itimer.cc
akhand9999/gvisor
001d57df10531208c048450c8e0bc4c5a9ec9caf
[ "Apache-2.0" ]
8
2020-06-25T09:43:46.000Z
2022-03-31T01:01:00.000Z
test/syscalls/linux/itimer.cc
akhand9999/gvisor
001d57df10531208c048450c8e0bc4c5a9ec9caf
[ "Apache-2.0" ]
3
2021-02-08T17:44:27.000Z
2022-01-14T16:48:26.000Z
// Copyright 2018 The gVisor 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 agree...
33.853107
80
0.69743
akhand9999
8b4e007ede6494ab291587244a35e4a83d3db66b
25,541
cc
C++
db/column_family.cc
aginika/rocksdb
3d74f09979a2eadc1711a13ca4e221b53a6c44b3
[ "BSD-3-Clause" ]
null
null
null
db/column_family.cc
aginika/rocksdb
3d74f09979a2eadc1711a13ca4e221b53a6c44b3
[ "BSD-3-Clause" ]
null
null
null
db/column_family.cc
aginika/rocksdb
3d74f09979a2eadc1711a13ca4e221b53a6c44b3
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // // Copyright (c) 2011 The...
34.375505
80
0.688266
aginika
8b4fbb23dd395ae1e1f0788fc5afddf14565361d
2,800
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcEdgeLoop.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
426
2015-04-12T10:00:46.000Z
2022-03-29T11:03:02.000Z
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcEdgeLoop.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
124
2015-05-15T05:51:00.000Z
2022-02-09T15:25:12.000Z
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcEdgeLoop.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
214
2015-05-06T07:30:37.000Z
2022-03-26T16:14:04.000Z
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include "ifcpp/model/AttributeObject.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/model/BuildingGuid.h" #include "ifcpp/reader/ReaderUtil.h" #include "ifcpp/writer/WriterUtil.h" #include...
42.424242
229
0.732857
AlexVlk
332b3eee53dda3c23b959ffe64a4e96d0da94a1b
592
cpp
C++
lab_08/src/pixelate.cpp
srafi1/csci13600-labs-1
60081dced2c237f6843b28f335db9a4ed56a8ac2
[ "BSD-3-Clause" ]
null
null
null
lab_08/src/pixelate.cpp
srafi1/csci13600-labs-1
60081dced2c237f6843b28f335db9a4ed56a8ac2
[ "BSD-3-Clause" ]
2
2018-11-15T17:15:08.000Z
2018-11-20T18:14:33.000Z
lab_08/src/pixelate.cpp
srafi1/csci13600-labs-1
60081dced2c237f6843b28f335db9a4ed56a8ac2
[ "BSD-3-Clause" ]
4
2018-11-08T15:05:15.000Z
2018-12-14T04:08:49.000Z
#include <array> #include "main.hpp" constexpr std::array<std::array<size_t, 2>, 4> offsets = {{{0, 0}, {0, 1}, {1, 0}, {1, 1}}}; void pixelate(std::vector<std::vector<int> >& muhimage) { for (size_t i = 0; i < muhimage.size() / 2; i++) { for (size_t j = 0; j < muhimage[0].size() / 2; j++) { int a = 0; ...
23.68
92
0.464527
srafi1
332b65d32a5a7ad25b371e4d8e23a6bd4bc0aa81
1,587
cpp
C++
basicVoltmeter-textbook-example/basicIOCmd.cpp
betaghIEEE/stm32-mbed-tutorials
fe4f4c37e8e58f4e1e5707231fd5de8759cfe02b
[ "Apache-2.0" ]
null
null
null
basicVoltmeter-textbook-example/basicIOCmd.cpp
betaghIEEE/stm32-mbed-tutorials
fe4f4c37e8e58f4e1e5707231fd5de8759cfe02b
[ "Apache-2.0" ]
null
null
null
basicVoltmeter-textbook-example/basicIOCmd.cpp
betaghIEEE/stm32-mbed-tutorials
fe4f4c37e8e58f4e1e5707231fd5de8759cfe02b
[ "Apache-2.0" ]
null
null
null
#include "basicIOCmd.h" #include "BufferedSerial.h" #include "mbed.h" #include "unity_internals.h" // // Clear the screen // BufferedSerial myPC(USBTX, USBRX, 9600); #define BLINKING_RATE_MS 1000 #define BUFFER_SIZE 1000 e...
18.670588
80
0.512287
betaghIEEE
332c2fd96835af8eb8273fc7d64ecef07627c345
4,320
cpp
C++
aws-cpp-sdk-application-autoscaling/source/model/ScalableTarget.cpp
grujicbr/aws-sdk-cpp
bdd43c178042f09c6739645e3f6cd17822a7c35c
[ "Apache-2.0" ]
1
2020-03-11T05:36:20.000Z
2020-03-11T05:36:20.000Z
aws-cpp-sdk-application-autoscaling/source/model/ScalableTarget.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-application-autoscaling/source/model/ScalableTarget.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
24
121
0.750694
grujicbr
33333cf3e77058e549c76523d5837687bcf9d6fb
7,474
cpp
C++
KDIS/KDataStream.cpp
cdit-ma/kdis
f722221cee0e5ea6869f9e923ad1cdb93d5d289f
[ "BSD-2-Clause" ]
null
null
null
KDIS/KDataStream.cpp
cdit-ma/kdis
f722221cee0e5ea6869f9e923ad1cdb93d5d289f
[ "BSD-2-Clause" ]
null
null
null
KDIS/KDataStream.cpp
cdit-ma/kdis
f722221cee0e5ea6869f9e923ad1cdb93d5d289f
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************* Copyright 2013 Karl Jones 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 ...
27.377289
127
0.500134
cdit-ma
33337503b14c67e7aa1c770bf6232b92fbcedabc
3,173
hpp
C++
include/move.hpp
bsamseth/Goldfish
c99cb9f2b14bbd04e0c2a9ae32b78e074ff6199b
[ "MIT" ]
6
2019-01-23T03:13:36.000Z
2020-09-06T09:54:48.000Z
include/move.hpp
bsamseth/Goldfish
c99cb9f2b14bbd04e0c2a9ae32b78e074ff6199b
[ "MIT" ]
33
2015-12-28T08:48:01.000Z
2019-09-25T11:39:53.000Z
include/move.hpp
bsamseth/Goldfish
c99cb9f2b14bbd04e0c2a9ae32b78e074ff6199b
[ "MIT" ]
6
2018-08-06T14:05:11.000Z
2022-02-15T01:30:49.000Z
#pragma once #include "movetype.hpp" #include "piece.hpp" #include "piecetype.hpp" #include "square.hpp" namespace goldfish { namespace Moves { constexpr int TYPE_SHIFT = 0; constexpr int TYPE_MASK = MoveTypes::MASK << TYPE_SHIFT; constexpr int ORIGIN_SQUARE_SHIFT = 3; constexpr int ORIGIN_SQUARE_M...
29.110092
77
0.676647
bsamseth
33338e281180f80868f3b7f4c494b65c0482c7b8
1,979
hpp
C++
src/estimation/ButterworthFilter.hpp
dakejahl/TeensyFlight3.6
da334100eaa42f82bf7f83f14bf5042397433ebd
[ "MIT" ]
17
2019-09-22T11:58:29.000Z
2022-03-16T03:13:14.000Z
src/estimation/ButterworthFilter.hpp
dakejahl/TeensyFlight3.6
da334100eaa42f82bf7f83f14bf5042397433ebd
[ "MIT" ]
11
2019-09-01T06:56:02.000Z
2020-04-29T11:46:25.000Z
src/estimation/ButterworthFilter.hpp
dakejahl/teensy36_customized
da334100eaa42f82bf7f83f14bf5042397433ebd
[ "MIT" ]
2
2020-01-20T09:57:15.000Z
2020-10-12T05:16:53.000Z
// MIT License // Copyright (c) 2019 Jacob Dahl // 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...
29.102941
81
0.748863
dakejahl
3338e39d62c0d3f9024b522efb11518c16cda176
2,573
cpp
C++
2015/14/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
2015/14/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
2015/14/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <regex> #include <string> #include <vector> struct Reindeer { long speed; long flying_duration; long resting_duration; long cycle_duration; Reindeer(long speed, long flying_duration, long resting_duration) : speed(speed) , flying_duration(f...
27.967391
144
0.647882
adrian-stanciu
333942a730724d50cb03a147c0f0b02f250a3c1a
607
cpp
C++
src/util/MetricResetter.cpp
tangchain/tang-core
b112fc43f7df6153406810fc0ffb6676418d20c8
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/util/MetricResetter.cpp
tangchain/tang-core
b112fc43f7df6153406810fc0ffb6676418d20c8
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/util/MetricResetter.cpp
tangchain/tang-core
b112fc43f7df6153406810fc0ffb6676418d20c8
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
// Copyright 2018 Stellar 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 "MetricResetter.h" namespace tang { void MetricResetter::Process(medida::Counter& co...
17.852941
75
0.729819
tangchain
33406282fb9e979e26e578f4f54eac7a8a9508a9
12,055
cpp
C++
be/src/olap/column_vector.cpp
stgztsw/incubator-doris
f622ce0497bea35e05bc67708e15d7eb2f271f3a
[ "Apache-2.0" ]
1
2022-03-09T03:37:21.000Z
2022-03-09T03:37:21.000Z
be/src/olap/column_vector.cpp
stgztsw/incubator-doris
f622ce0497bea35e05bc67708e15d7eb2f271f3a
[ "Apache-2.0" ]
null
null
null
be/src/olap/column_vector.cpp
stgztsw/incubator-doris
f622ce0497bea35e05bc67708e15d7eb2f271f3a
[ "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...
42.15035
115
0.624637
stgztsw
3340762e762e7f0220a3c5b2abeaccb21c930924
4,435
cpp
C++
src/luaruntime/LuaRuntime.cpp
Dreae/SourceLua
5737eaf3d77bbd715b258df78ab101265890662c
[ "Apache-2.0" ]
null
null
null
src/luaruntime/LuaRuntime.cpp
Dreae/SourceLua
5737eaf3d77bbd715b258df78ab101265890662c
[ "Apache-2.0" ]
null
null
null
src/luaruntime/LuaRuntime.cpp
Dreae/SourceLua
5737eaf3d77bbd715b258df78ab101265890662c
[ "Apache-2.0" ]
null
null
null
#include "luaruntime/LuaRuntime.hpp" #include "luaruntime/lualibs/Server.hpp" #include "luaruntime/lualibs/Curl.hpp" LuaRuntime g_LuaRuntime; LuaRuntime::LuaRuntime() { L = luaL_newstate(); this->basePath = new char[PATH_MAX]; } void LuaRuntime::OnPluginStart() { const char *gameDir = g_SMAPI->GetBaseDir(); ...
27.71875
109
0.660203
Dreae
33415069ea6176d20da69d149d1e6ae99054abc0
136
cpp
C++
src/examples/04_module/01_bank/checking_account.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-HienVuong-1337
d3ea38455829954cd558b8a1c1aa70416d50efd0
[ "MIT" ]
null
null
null
src/examples/04_module/01_bank/checking_account.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-HienVuong-1337
d3ea38455829954cd558b8a1c1aa70416d50efd0
[ "MIT" ]
null
null
null
src/examples/04_module/01_bank/checking_account.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-HienVuong-1337
d3ea38455829954cd558b8a1c1aa70416d50efd0
[ "MIT" ]
null
null
null
//checking_account.cpp #include "checking_account.h" int CheckingAccount::get_balance() const { return BankAccount::get_balance(); }
15.111111
40
0.772059
acc-cosc-1337-fall-2019