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
1121a8d72c6584ad3151ef30e8a0a74461b6cf03
5,619
cpp
C++
mainapp/Classes/Games/Spelling/ChildNodes/SpellingGameBoard.cpp
JaagaLabs/GLEXP-Team-KitkitSchool
f94ea3e53bd05fdeb2a9edcc574bc054e575ecc0
[ "Apache-2.0" ]
45
2019-05-16T20:49:31.000Z
2021-11-05T21:40:54.000Z
mainapp/Classes/Games/Spelling/ChildNodes/SpellingGameBoard.cpp
rdsmarketing/GLEXP-Team-KitkitSchool
6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e
[ "Apache-2.0" ]
123
2019-05-28T14:03:04.000Z
2019-07-12T04:23:26.000Z
pehlaschool/Classes/Games/Spelling/ChildNodes/SpellingGameBoard.cpp
maqsoftware/Pehla-School-Hindi
61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43
[ "Apache-2.0" ]
29
2019-05-16T17:49:26.000Z
2021-12-30T16:36:24.000Z
// // GameBoard.cpp -- Game board with a picture and answer slots on it // TodoSchool on Sep 12, 2016 // // Copyright (c) 2016 Enuma, Inc. All rights reserved. // See LICENSE.md for more details. // #include "SpellingGameBoard.h" #include "SpellingWordImage.h" #include "../Utils/SpellingMainDepot.h" BEGIN_NS_SP...
26.885167
99
0.597259
JaagaLabs
112215122d2f80283c23c9e1aa9cd2386a868be6
4,956
cc
C++
ut/event_utils_test.cc
RakeshVaghasiya/cortx-s3server
356c00f7523883300f3271b365545f4ff8b4c2be
[ "Apache-2.0" ]
35
2020-09-25T07:27:10.000Z
2022-03-23T07:49:57.000Z
ut/event_utils_test.cc
RakeshVaghasiya/cortx-s3server
356c00f7523883300f3271b365545f4ff8b4c2be
[ "Apache-2.0" ]
1,000
2020-09-24T13:10:23.000Z
2022-03-28T08:19:34.000Z
ut/event_utils_test.cc
RakeshVaghasiya/cortx-s3server
356c00f7523883300f3271b365545f4ff8b4c2be
[ "Apache-2.0" ]
150
2020-09-24T14:41:40.000Z
2022-03-04T05:37:17.000Z
/* * Copyright (c) 2020 Seagate Technology LLC and/or its Affiliates * * 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 req...
33.04
80
0.719734
RakeshVaghasiya
1124282697492c8a72078a38e588eaaf7648ce96
2,927
cpp
C++
clang/test/CodeGenCXX/debug-info-scope.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
clang/test/CodeGenCXX/debug-info-scope.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
497
2017-04-04T14:22:22.000Z
2020-03-10T14:12:27.000Z
clang/test/CodeGenCXX/debug-info-scope.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: %clang_cc1 -debug-info-kind=limited -std=c++11 -emit-llvm %s -o -| FileCheck %s // // Two variables with the same name in subsequent if staments need to be in separate scopes. // // rdar://problem/14024005 int src(); void f(); void func() { // CHECK: = !DILocalVariable(name: "i" // CHECK-SAME: ...
40.09589
118
0.523744
medismailben
11247b0a46266ea1827ed45e5ec5498869d38f80
1,035
cpp
C++
helperlib/fourier.cpp
Ben1980/fourier
7edd8e7004a528d574584cba08d8c653edc5ee41
[ "MIT" ]
null
null
null
helperlib/fourier.cpp
Ben1980/fourier
7edd8e7004a528d574584cba08d8c653edc5ee41
[ "MIT" ]
null
null
null
helperlib/fourier.cpp
Ben1980/fourier
7edd8e7004a528d574584cba08d8c653edc5ee41
[ "MIT" ]
2
2020-03-25T15:54:40.000Z
2020-08-31T08:42:56.000Z
#include "fourier.h" #include <algorithm> #include <cmath> bool Fourier::Equal(const Coefficients& expected, const Coefficients& result) { if(!expected || !result) return false; if(expected().size() != result().size()) return false; const bool equal = std::equal(expected().begin(), expected().end(), resul...
34.5
92
0.66087
Ben1980
1126843072c418bbb69d2c4511b0610d92d88e13
5,408
cpp
C++
tests/cthread/test_cthread_read_defined_3.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
86
2020-10-23T15:59:47.000Z
2022-03-28T18:51:19.000Z
tests/cthread/test_cthread_read_defined_3.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
18
2020-12-14T13:11:26.000Z
2022-03-14T05:34:20.000Z
tests/cthread/test_cthread_read_defined_3.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
17
2020-10-29T16:19:43.000Z
2022-03-11T09:51:05.000Z
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ // // Created by ripopov on 12/4/...
32
79
0.571006
hachetman
112a10fafc301bd5da5276252f09e35d75868bbf
1,016
cpp
C++
src/ConvexConcaveCollisionAlgorithm.cpp
yoshinoToylogic/bulletsharp
79558f9e78b68f1d218d64234645848661a54e01
[ "MIT" ]
null
null
null
src/ConvexConcaveCollisionAlgorithm.cpp
yoshinoToylogic/bulletsharp
79558f9e78b68f1d218d64234645848661a54e01
[ "MIT" ]
null
null
null
src/ConvexConcaveCollisionAlgorithm.cpp
yoshinoToylogic/bulletsharp
79558f9e78b68f1d218d64234645848661a54e01
[ "MIT" ]
null
null
null
#include "StdAfx.h" #ifndef DISABLE_COLLISION_ALGORITHMS #include "CollisionObject.h" #include "CollisionObjectWrapper.h" #include "ConvexConcaveCollisionAlgorithm.h" ConvexConcaveCollisionAlgorithm::CreateFunc::CreateFunc() : CollisionAlgorithmCreateFunc(new btConvexConcaveCollisionAlgorithm::CreateFunc()...
29.028571
105
0.813976
yoshinoToylogic
112acc7bafbf886dea086b46cb7e491d34d8ec71
2,194
cc
C++
login.cc
DSNP/dsnpd
0670d60c80a407b8a399b7a456ce0b2c2d3ee6bd
[ "MIT" ]
null
null
null
login.cc
DSNP/dsnpd
0670d60c80a407b8a399b7a456ce0b2c2d3ee6bd
[ "MIT" ]
3
2021-02-04T00:26:22.000Z
2021-02-04T00:30:06.000Z
login.cc
DSNP/dsnpd
0670d60c80a407b8a399b7a456ce0b2c2d3ee6bd
[ "MIT" ]
null
null
null
/* * Copyright (c) 2009-2011, Adrian Thurston <thurston@complang.org> * * 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 PROVI...
35.387097
86
0.707384
DSNP
112d8a47697576f7b2c6b8e9b86373b13629d8de
3,303
cpp
C++
Tests/substring.cpp
klassen-software-solutions/kssutil
985a80e96d648c448f2ac81d7dcbc48054e0c7aa
[ "MIT" ]
1
2019-05-08T16:45:02.000Z
2019-05-08T16:45:02.000Z
Tests/substring.cpp
klassen-software-solutions/kssutil
985a80e96d648c448f2ac81d7dcbc48054e0c7aa
[ "MIT" ]
14
2019-01-23T15:22:55.000Z
2021-08-27T23:23:42.000Z
Tests/substring.cpp
klassen-software-solutions/kssutil
985a80e96d648c448f2ac81d7dcbc48054e0c7aa
[ "MIT" ]
1
2022-02-05T09:04:53.000Z
2022-02-05T09:04:53.000Z
// // substring.cpp // kssutil // // Created by Steven W. Klassen on 2014-01-25. // Copyright (c) 2014 Klassen Software Solutions. All rights reserved. // #include <iostream> #include <kss/test/all.h> #include <kss/util/substring.hpp> using namespace std; using namespace kss::util; using namespace kss::util::str...
38.406977
114
0.6703
klassen-software-solutions
112dc5e1ced9272942baca39a38edea5f4cd359e
728
cpp
C++
vm86/executeBytecodeOnHostMachine.cpp
Sainan/vm86
e9cf021c78bdfc03d250a0b10f55ff5213d1af89
[ "Unlicense" ]
1
2021-09-27T11:50:44.000Z
2021-09-27T11:50:44.000Z
vm86/executeBytecodeOnHostMachine.cpp
Sainan/vm86
e9cf021c78bdfc03d250a0b10f55ff5213d1af89
[ "Unlicense" ]
null
null
null
vm86/executeBytecodeOnHostMachine.cpp
Sainan/vm86
e9cf021c78bdfc03d250a0b10f55ff5213d1af89
[ "Unlicense" ]
null
null
null
#include "executeBytecodeOnHostMachine.hpp" #include <stdexcept> #include <windows.h> namespace vm86 { regvalue_t executeBytecodeOnHostMachine(const std::vector<uint8_t>& bytecode, regvalue_t reg_counter, regvalue_t reg_data) { void* const buffer = VirtualAlloc(nullptr, bytecode.size(), MEM_COMMIT, PAGE_READWRIT...
30.333333
123
0.752747
Sainan
112e0c2bd4e0c9c1d0064ec2f4e6ff39a6e61bb9
4,368
cpp
C++
TestSrc/TestTokens.cpp
dirkcgrunwald/SAM
0478925c506ad38fd405954cc4415a3e96e77d90
[ "MIT" ]
null
null
null
TestSrc/TestTokens.cpp
dirkcgrunwald/SAM
0478925c506ad38fd405954cc4415a3e96e77d90
[ "MIT" ]
null
null
null
TestSrc/TestTokens.cpp
dirkcgrunwald/SAM
0478925c506ad38fd405954cc4415a3e96e77d90
[ "MIT" ]
null
null
null
#define BOOST_TEST_MAIN TestTokens #include <boost/test/unit_test.hpp> #include <stdexcept> #include <stack> #include <tuple> #include <sam/Tokens.hpp> #include <sam/VastNetflow.hpp> #include <sam/FeatureMap.hpp> using namespace sam; struct F { VastNetflow netflow; std::shared_ptr<FeatureMap> featureMap = std::ma...
25.694118
79
0.688645
dirkcgrunwald
1131678bba79ee520c00c81d92d58c74d2b5e7e8
4,562
cc
C++
src/ui/scenic/lib/gfx/tests/vk_session_handler_test.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/ui/scenic/lib/gfx/tests/vk_session_handler_test.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/ui/scenic/lib/gfx/tests/vk_session_handler_test.cc
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2019 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/ui/scenic/lib/gfx/tests/vk_session_handler_test.h" #include "src/ui/lib/escher/test/common/gtest_escher.h" #include "src/ui/lib/escher/test/...
39.669565
99
0.740465
wwjiang007
1131a29608fbbb76c124977c6e1437c9e2726135
335
cpp
C++
Codes/multiple_variables_declarations_&_constant.cpp
Felipe-Pereira-Barros/CPP
050add96024c8e5b0d01ebb6cab52452cbb6dff5
[ "MIT" ]
2
2020-05-21T14:44:36.000Z
2020-05-28T01:08:18.000Z
Codes/multiple_variables_declarations_&_constant.cpp
Felipe-Pereira-Barros/CPP
050add96024c8e5b0d01ebb6cab52452cbb6dff5
[ "MIT" ]
null
null
null
Codes/multiple_variables_declarations_&_constant.cpp
Felipe-Pereira-Barros/CPP
050add96024c8e5b0d01ebb6cab52452cbb6dff5
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; #define pi 3.1415 #define channel cout << "Felipe Pereira Barros\n\n"; int main(){ //int LIFE, AMMO, HEALTH; /*int LIFE; int AMMO; int HEALTH;*/ int LIFE=3; int AMMO=500; int HEALTH=100; cout << pi << "\n\n"; channel system("pause"); ...
14.565217
52
0.576119
Felipe-Pereira-Barros
1134a720ba180c863b06ec264c436a5b9364aa46
501
cpp
C++
q/src/res/Impl/Free_Type_Font_Loader.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
36
2015-03-09T16:47:14.000Z
2021-02-04T08:32:04.000Z
q/src/res/Impl/Free_Type_Font_Loader.cpp
jeanlemotan/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
42
2017-02-11T11:15:51.000Z
2019-12-28T16:00:44.000Z
q/src/res/Impl/Free_Type_Font_Loader.cpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
5
2015-10-15T05:46:48.000Z
2020-05-11T17:40:36.000Z
#include "QStdAfx.h" #include "res/Resource.h" #include "text/Font.h" #include "Free_Type_Font_Loader.h" using namespace q; using namespace res; using namespace impl; using namespace data; using namespace text; bool Free_Type_Font_Loader::can_load_from_source(data::Source& /*source*/) const { return t...
20.04
95
0.712575
jeanleflambeur
11358911a844e31705ece41a0e1b2844f713f22c
3,481
cpp
C++
Source/Tools/FalcorTest/Tests/Slang/TraceRayFlags.cpp
gonsolo/Falcor
db27e6fa0efb1c04a51333c14ddfeac309995145
[ "BSD-3-Clause" ]
1,615
2017-07-28T05:41:39.000Z
2022-03-31T16:31:57.000Z
Source/Tools/FalcorTest/Tests/Slang/TraceRayFlags.cpp
gonsolo/Falcor
db27e6fa0efb1c04a51333c14ddfeac309995145
[ "BSD-3-Clause" ]
232
2017-08-03T10:58:41.000Z
2022-03-31T16:17:46.000Z
Source/Tools/FalcorTest/Tests/Slang/TraceRayFlags.cpp
gonsolo/Falcor
db27e6fa0efb1c04a51333c14ddfeac309995145
[ "BSD-3-Clause" ]
383
2017-07-30T04:28:34.000Z
2022-03-30T05:12:13.000Z
/*************************************************************************** # Copyright (c) 2015-21, NVIDIA CORPORATION. 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...
41.939759
135
0.62798
gonsolo
11368f5297c08c1bdcf850dd42ba2e324d86ecc4
496
cpp
C++
math_logics/factorial.cpp
sanathvernekar/Routine_codes
a898ca7e79cf39c289cb2fefaf764c9f8e0eb331
[ "MIT" ]
null
null
null
math_logics/factorial.cpp
sanathvernekar/Routine_codes
a898ca7e79cf39c289cb2fefaf764c9f8e0eb331
[ "MIT" ]
null
null
null
math_logics/factorial.cpp
sanathvernekar/Routine_codes
a898ca7e79cf39c289cb2fefaf764c9f8e0eb331
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define mod 1000000007 #define ll long long int ll factorial[2000000]; ll max_fact=1; ll fact(ll x){ ll i; if(x<=max_fact)return factorial[x]; else{ for(i=max_fact+1;i<=x;i++){ factorial[i]=(factorial[i-1]*i)%mod; } max_fact=...
13.052632
48
0.560484
sanathvernekar
1137fbf75eb8394bd90cb9ee9dc5dd7dd992d983
1,539
cpp
C++
07-Exercises/JA2/hex-colors.cpp
VasAtanasov/SoftUni-CPP-Fundamentals-September-2019
369450ddaa17d23b4f07921d974842813e200d12
[ "MIT" ]
null
null
null
07-Exercises/JA2/hex-colors.cpp
VasAtanasov/SoftUni-CPP-Fundamentals-September-2019
369450ddaa17d23b4f07921d974842813e200d12
[ "MIT" ]
null
null
null
07-Exercises/JA2/hex-colors.cpp
VasAtanasov/SoftUni-CPP-Fundamentals-September-2019
369450ddaa17d23b4f07921d974842813e200d12
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <sstream> #include <iterator> std::string decimalToHexadecimal(int); void hexToDecimal(std::stringstream &, std::string &, int &, int); int main() { std::string stringOne, stringTwo; std::cin >> stringOne >> stringTwo; std::vector<std::string> ...
23.676923
102
0.558155
VasAtanasov
11395bed29ed905ef9ebbb97b267c6743d734db9
2,732
cpp
C++
MikaCL/main.cpp
acbarrentine/Mika
8d88f015360c1ab731da0fda1281a3327dcb9ec9
[ "Unlicense" ]
null
null
null
MikaCL/main.cpp
acbarrentine/Mika
8d88f015360c1ab731da0fda1281a3327dcb9ec9
[ "Unlicense" ]
null
null
null
MikaCL/main.cpp
acbarrentine/Mika
8d88f015360c1ab731da0fda1281a3327dcb9ec9
[ "Unlicense" ]
null
null
null
#include "stdafx.h" #include "../Compiler/Compiler.h" void Usage() { GCompiler.Message(MsgSeverity::kInfo, "Usage: MikaCL <glue_source_header_path> [-s <source_script_path>] [-o <output_file_path>] [-d <debug_file_path>]\n"); GCompiler.Message(MsgSeverity::kInfo, " Example: MikaCL TestScrits/MikaGlue.mikah -s...
29.376344
160
0.577233
acbarrentine
113991f8365f2ad8f215a2e724b66b2f303a4c39
1,959
cpp
C++
aws-cpp-sdk-cloudformation/source/model/HookFailureMode.cpp
truthiswill/aws-sdk-cpp
6e854b6a8bc7945f150c3a11551196bda341962a
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-cloudformation/source/model/HookFailureMode.cpp
truthiswill/aws-sdk-cpp
6e854b6a8bc7945f150c3a11551196bda341962a
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-cloudformation/source/model/HookFailureMode.cpp
truthiswill/aws-sdk-cpp
6e854b6a8bc7945f150c3a11551196bda341962a
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/cloudformation/model/HookFailureMode.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws...
27.591549
92
0.612047
truthiswill
1139f80ad93449a8825303cf5acc8c00bb52b271
8,390
hxx
C++
Core/itkLabelVotingBinaryImageFilter.hxx
ITISFoundation/osparc-iseg
6f38924120b3a3e7a0292914d2c17f24c735309b
[ "MIT" ]
32
2018-03-26T12:39:19.000Z
2022-03-22T20:54:22.000Z
Core/itkLabelVotingBinaryImageFilter.hxx
dyollb/osparc-iseg
6f38924120b3a3e7a0292914d2c17f24c735309b
[ "MIT" ]
10
2018-04-03T15:54:22.000Z
2022-02-01T14:32:36.000Z
Core/itkLabelVotingBinaryImageFilter.hxx
dyollb/osparc-iseg
6f38924120b3a3e7a0292914d2c17f24c735309b
[ "MIT" ]
11
2018-03-08T13:11:28.000Z
2021-02-01T10:43:39.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
30.845588
109
0.691657
ITISFoundation
113c06d48e5b23a134320ba4ed19d37e986077df
5,074
cc
C++
TDDD33/Lab5-LinkedList/linked_list.cc
MichelJeremy/LiU_Homework
b70365d030924333355f93dde7388a8455262a32
[ "MIT" ]
null
null
null
TDDD33/Lab5-LinkedList/linked_list.cc
MichelJeremy/LiU_Homework
b70365d030924333355f93dde7388a8455262a32
[ "MIT" ]
null
null
null
TDDD33/Lab5-LinkedList/linked_list.cc
MichelJeremy/LiU_Homework
b70365d030924333355f93dde7388a8455262a32
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<iomanip> #include "linked_list.h" using namespace std; /* instanciate a new empty list */ Sorted_List::Sorted_List(){ head =nullptr; }; // Copy operator Sorted_List& Sorted_List::operator=( const Sorted_List& other ) { head = copy(other.head); return *this...
22.352423
79
0.590461
MichelJeremy
113d4ec59b667f21c51e67beb59435ce74119818
3,732
cc
C++
mindspore/ccsrc/parallel/allreduce_fusion/allreduce_node.cc
unseenme/mindspore
4ba052f0cd9146ac0ccc4880a778706f1b2d0af8
[ "Apache-2.0" ]
7
2020-05-24T03:19:26.000Z
2020-05-24T03:20:00.000Z
mindspore/ccsrc/parallel/allreduce_fusion/allreduce_node.cc
unseenme/mindspore
4ba052f0cd9146ac0ccc4880a778706f1b2d0af8
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/parallel/allreduce_fusion/allreduce_node.cc
unseenme/mindspore
4ba052f0cd9146ac0ccc4880a778706f1b2d0af8
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
29.856
105
0.679528
unseenme
113de64bfc72e1832c8714ad09ca78d608e0b49e
3,124
cpp
C++
tengine/game/entities/camera.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
5
2015-07-03T18:42:32.000Z
2017-08-25T10:28:12.000Z
tengine/game/entities/camera.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
tengine/game/entities/camera.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
#include "camera.h" #include <geometry.h> #include <game/cameramanager.h> REGISTER_ENTITY(CCamera); NETVAR_TABLE_BEGIN(CCamera); NETVAR_TABLE_END(); SAVEDATA_TABLE_BEGIN_EDITOR(CCamera); SAVEDATA_DEFINE_HANDLE_ENTITY(CSaveData::DATA_COPYTYPE, CEntityHandle<CBaseEntity>, m_hCameraTarget, "CameraTarget"); SAVEDATA...
29.752381
118
0.775288
BSVino
11428a68207a99a641a24b498cbb687ed23e8802
733
cpp
C++
Medusa/MedusaCore/Core/Geometry/Rect2.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
1
2019-04-22T09:09:50.000Z
2019-04-22T09:09:50.000Z
Medusa/MedusaCore/Core/Geometry/Rect2.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
null
null
null
Medusa/MedusaCore/Core/Geometry/Rect2.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
1
2021-06-30T14:08:03.000Z
2021-06-30T14:08:03.000Z
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #include "MedusaCorePreCompiled.h" #include "Rect2.h" #ifdef MEDUSA_SCRIPT #include "CoreLib/Common/angelscript.h" MEDUSA_SCRIPT_BEGIN; void RegisterRect2F(asIScri...
27.148148
120
0.748977
JamesLinus
1143bc71afc36016db3bb24076bd9939f4a79156
1,784
cpp
C++
uva.onlinejudge.org/PeskyPalindromes.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
6
2016-09-10T03:16:34.000Z
2020-04-07T14:45:32.000Z
uva.onlinejudge.org/PeskyPalindromes.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
null
null
null
uva.onlinejudge.org/PeskyPalindromes.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
2
2018-08-11T20:55:35.000Z
2020-01-15T23:23:11.000Z
/* By: facug91 From: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=5&page=show_problem&problem=289 Name: Pesky Palindromes Number: 353 Date: 22/06/2014 */ #include <iostream> #include <cstdio> #include <cstdlib> #include <string> #include <cstring> #include <cmath> #i...
20.744186
117
0.602578
facug91
1144057f81b7a046a4813d43e0adc0104debe066
214,371
cc
C++
3rdparty/poppler-library/poppler/Annot.cc
PDF2CASH/PDF2CASH_Parser
8cc8255cc4aff92f98e3a089ba50c3eb24c96446
[ "MIT" ]
null
null
null
3rdparty/poppler-library/poppler/Annot.cc
PDF2CASH/PDF2CASH_Parser
8cc8255cc4aff92f98e3a089ba50c3eb24c96446
[ "MIT" ]
null
null
null
3rdparty/poppler-library/poppler/Annot.cc
PDF2CASH/PDF2CASH_Parser
8cc8255cc4aff92f98e3a089ba50c3eb24c96446
[ "MIT" ]
null
null
null
//======================================================================== // // Annot.cc // // Copyright 2000-2003 Glyph & Cog, LLC // //======================================================================== //======================================================================== // // Modified under the Poppler ...
32.207181
305
0.552794
PDF2CASH
114492e420f2b0202b17594790b10c85305ce532
5,523
cpp
C++
libaln/src/alncalcconfidence.cpp
Bill-Armstrong/NANO
34356c2bcbc5e5b81383a0caf6da84dd0df03482
[ "MIT" ]
2
2020-10-05T21:48:53.000Z
2020-10-05T21:49:01.000Z
libaln/src/alncalcconfidence.cpp
Bill-Armstrong/NANO
34356c2bcbc5e5b81383a0caf6da84dd0df03482
[ "MIT" ]
1
2020-08-14T08:00:12.000Z
2020-08-14T08:00:12.000Z
libaln/src/alncalcconfidence.cpp
Bill-Armstrong/NANO
34356c2bcbc5e5b81383a0caf6da84dd0df03482
[ "MIT" ]
4
2020-07-22T23:07:02.000Z
2022-01-14T03:22:31.000Z
// ALN Library /* MIT License Copyright (c) 2020 William Ward Armstrong 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,...
29.222222
89
0.673728
Bill-Armstrong
1145033b0fe6d6dad1658b1922fb2387246a8e1f
214
cpp
C++
C++/o1-check-power-of-2.cpp
xenron/sandbox-dev-lintcode
114145723af43eafc84ff602ad3ac7b353a9fc38
[ "MIT" ]
695
2015-04-18T16:11:56.000Z
2022-03-11T13:28:44.000Z
C++/o1-check-power-of-2.cpp
Abd-Elrazek/LintCode
8f6ee0ff38cb7cf8bf9fca800243823931604155
[ "MIT" ]
4
2015-07-04T13:07:35.000Z
2020-08-11T11:32:29.000Z
C++/o1-check-power-of-2.cpp
Abd-Elrazek/LintCode
8f6ee0ff38cb7cf8bf9fca800243823931604155
[ "MIT" ]
338
2015-04-28T04:39:03.000Z
2022-03-16T03:00:15.000Z
// Time: O(1) // Space: O(1) class Solution { public: /* * @param n: An integer * @return: True or false */ bool checkPowerOf2(int n) { return n > 0 && (n & (n - 1)) == 0; } };
15.285714
43
0.453271
xenron
114a1b95175b42ec9a10955ba24cabc439c1284a
864
cpp
C++
cpp/sowcpp/src/ch09/prog9-13.cpp
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
cpp/sowcpp/src/ch09/prog9-13.cpp
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
cpp/sowcpp/src/ch09/prog9-13.cpp
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
// Practice Program 9-13 // Demonstrates a pointer to a const parameter #include <iostream> void displayValues(const int *, int); int main() { // Array sizes const int SIZE = 6; // Define an array of const ints const int array1[SIZE] = { 1, 2, 3, 4, 5, 6}; // Define an array of nonconst ints ...
22.153846
95
0.626157
newnix
114b7c156decc9542072cfaff1c9070b3f42f069
13,987
cpp
C++
export/windows/obj/src/lime/system/JNI.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/system/JNI.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/system/JNI.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
1
2021-07-16T22:57:01.000Z
2021-07-16T22:57:01.000Z
// Generated by Haxe 4.0.0-rc.2+77068e10c #include <hxcpp.h> #ifndef INCLUDED_Reflect #include <Reflect.h> #endif #ifndef INCLUDED_haxe_IMap #include <haxe/IMap.h> #endif #ifndef INCLUDED_haxe_Log #include <haxe/Log.h> #endif #ifndef INCLUDED_haxe_ds_StringMap #include <haxe/ds/StringMap.h> #endif #ifndef INCLUDED_lim...
38.320548
219
0.679917
arturspon
114da60a83afbf61ee7e8b550c99eb501d9b97ca
6,220
cpp
C++
test/views/binding_view.cpp
shi27feng/mockturtle
032dcd590b57040c5ff10d80b515353ffe822671
[ "MIT" ]
null
null
null
test/views/binding_view.cpp
shi27feng/mockturtle
032dcd590b57040c5ff10d80b515353ffe822671
[ "MIT" ]
null
null
null
test/views/binding_view.cpp
shi27feng/mockturtle
032dcd590b57040c5ff10d80b515353ffe822671
[ "MIT" ]
null
null
null
#include <catch.hpp> #include <sstream> #include <lorina/genlib.hpp> #include <mockturtle/io/genlib_reader.hpp> #include <mockturtle/networks/klut.hpp> #include <mockturtle/views/binding_view.hpp> using namespace mockturtle; std::string const simple_library = "GATE zero 0 O=CONST0;\n" ...
41.744966
124
0.595981
shi27feng
1150563ce1ba961345148e6969fb8447cf082339
697
cpp
C++
src/adc_sync.cpp
close2/alibvr-examples
a1d267670349aad23c0986ead59ebba6d279c130
[ "MIT" ]
null
null
null
src/adc_sync.cpp
close2/alibvr-examples
a1d267670349aad23c0986ead59ebba6d279c130
[ "MIT" ]
null
null
null
src/adc_sync.cpp
close2/alibvr-examples
a1d267670349aad23c0986ead59ebba6d279c130
[ "MIT" ]
null
null
null
#define F_CPU 8000000UL #include <util/delay.h> #include "ports.h" #include "adc.h" // First define the Adc. // We want a single conversion, whenever we start a conversion. // Use the internal 1.1V voltage as reference. typedef Adc<_adc::Ref::V1_1> AdcV1_1; typedef PIN_D6 Led; __attribute__ ((OS_main)) int main(vo...
21.78125
63
0.647059
close2
115195ae922a1f8c40e04d62777d976724703b09
557
cpp
C++
Dataset/Leetcode/train/102/346.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/102/346.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/102/346.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>>res; queue<TreeNode*>q; vector<vector<int>> XXX(TreeNode* root) { if(!root)return res; q.push(root); while(q.size()){ vector<int>ans; int len=q.size(); while(len--){ auto t=q.front(); ...
22.28
45
0.425494
kkcookies99
1152b7e84283053e94cac0b2cbca972a6d5d8832
9,301
cpp
C++
dawn/src/dawn/dawn-opt.cpp
PanicSheep/dawn
5ae233b1bff66dd9d7b53cde88ad3e957b4a5143
[ "MIT" ]
null
null
null
dawn/src/dawn/dawn-opt.cpp
PanicSheep/dawn
5ae233b1bff66dd9d7b53cde88ad3e957b4a5143
[ "MIT" ]
null
null
null
dawn/src/dawn/dawn-opt.cpp
PanicSheep/dawn
5ae233b1bff66dd9d7b53cde88ad3e957b4a5143
[ "MIT" ]
null
null
null
//===--------------------------------------------------------------------------------*- C++ -*-===// // _ // | | // __| | __ ___ ___ ___ // / _` |/ _` \ \ /\ / / '_ | // | (_| | (_| |\ V V /| | | | // ...
37.353414
162
0.641329
PanicSheep
1154769f682578831f0622843a5ffdcf8cf129c7
21,007
cpp
C++
src/game/etj_save_system.cpp
Aciz/etjump
6215e86cf9aeef504dc4eb24a57ecdc797cb7a2e
[ "BSL-1.0", "MIT" ]
16
2019-09-07T18:08:08.000Z
2022-03-04T21:37:06.000Z
src/game/etj_save_system.cpp
Aciz/etjump
6215e86cf9aeef504dc4eb24a57ecdc797cb7a2e
[ "BSL-1.0", "MIT" ]
121
2019-09-07T19:30:39.000Z
2022-01-31T20:59:48.000Z
src/game/etj_save_system.cpp
etjump/etjump
8dcc3ca939e95063e630367d98cac7ffeec6d88c
[ "BSL-1.0", "MIT" ]
14
2019-09-07T17:20:40.000Z
2022-01-30T06:47:15.000Z
/* * MIT License * * Copyright (c) 2021 ETJump team <zero@etjump.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 ...
22.95847
150
0.691531
Aciz
11560cc0749782c95fe8d7e9eb3bc8c1a252a41c
378
cpp
C++
Cjing3D/system/component/object.cpp
maoxiezhao/Cjing3D
f052c95243307745bcaa9c3b881d225c0839012d
[ "Zlib", "MIT" ]
3
2018-12-16T10:37:28.000Z
2021-03-23T04:32:22.000Z
Cjing3D/system/component/object.cpp
maoxiezhao/Cjing3D
f052c95243307745bcaa9c3b881d225c0839012d
[ "Zlib", "MIT" ]
null
null
null
Cjing3D/system/component/object.cpp
maoxiezhao/Cjing3D
f052c95243307745bcaa9c3b881d225c0839012d
[ "Zlib", "MIT" ]
1
2021-04-02T16:47:02.000Z
2021-04-02T16:47:02.000Z
#include "object.h" void Cjing3D::ObjectComponent::Serialize(Archive& archive, U32 seed) { mMeshID = SerializeEntity(archive, seed); archive >> mColor; archive >> mObjectType; archive >> mRenderableType; } void Cjing3D::ObjectComponent::Unserialize(Archive& archive) const { archive << mMeshID; archive << mColor...
21
68
0.738095
maoxiezhao
11568c625c1ac0e673bba6c223552e2b85258442
2,673
cc
C++
source/extensions/key_value/file_based/config.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
17,703
2017-09-14T18:23:43.000Z
2022-03-31T22:04:17.000Z
source/extensions/key_value/file_based/config.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
15,957
2017-09-14T16:38:22.000Z
2022-03-31T23:56:30.000Z
source/extensions/key_value/file_based/config.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
3,780
2017-09-14T18:58:47.000Z
2022-03-31T17:10:47.000Z
#include "source/extensions/key_value/file_based/config.h" #include "envoy/registry/registry.h" namespace Envoy { namespace Extensions { namespace KeyValue { FileBasedKeyValueStore::FileBasedKeyValueStore(Event::Dispatcher& dispatcher, std::chrono::seconds flush_interva...
43.112903
100
0.680135
dcillera
115747e69ec6f2e22509d7426923f8bf7d1f2742
1,363
cpp
C++
Source/SphereObject.cpp
claytonkanderson/Sunburst
881363da513f138d57d6032b4d0d33bf85a4d096
[ "MIT" ]
null
null
null
Source/SphereObject.cpp
claytonkanderson/Sunburst
881363da513f138d57d6032b4d0d33bf85a4d096
[ "MIT" ]
null
null
null
Source/SphereObject.cpp
claytonkanderson/Sunburst
881363da513f138d57d6032b4d0d33bf85a4d096
[ "MIT" ]
null
null
null
// // SphereObj.cpp // CSE_168 // // Created by Clayton Anderson on 4/11/17. // Copyright © 2017 Clayton Anderson. All rights reserved. // #define GLM_ENABLE_EXPERIMENTAL #include "SphereObject.hpp" bool SphereObject::Intersect(const Ray &ray, Intersection &hit) { vec3 p, d, q, c; p = ray.Origin; d = ...
20.969231
63
0.486427
claytonkanderson
115aecf65fcf6963d88f8a388f032b1c23117aef
31,650
cpp
C++
hal/src/main/native/mau/Counter.cpp
kauailabs/allwpilib
07525a90800f180d6957847aa9380c01e8f055a6
[ "BSD-3-Clause" ]
2
2019-07-17T16:54:19.000Z
2020-10-27T14:45:24.000Z
hal/src/main/native/mau/Counter.cpp
kauailabs/allwpilib
07525a90800f180d6957847aa9380c01e8f055a6
[ "BSD-3-Clause" ]
40
2018-09-01T22:49:33.000Z
2020-09-17T21:19:43.000Z
hal/src/main/native/mau/Counter.cpp
kauailabs/allwpilib
07525a90800f180d6957847aa9380c01e8f055a6
[ "BSD-3-Clause" ]
2
2020-12-16T13:33:03.000Z
2020-12-18T13:39:11.000Z
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
34.290358
154
0.734408
kauailabs
11606275a283f7c6a9eef32a7fd10f10bb80e42b
12,542
cpp
C++
lifecycle/src/lifecycle_talker.cpp
HATAEGON/demos
fb3ad7e7fc6548c30e77a6ed86a2bd108fce5d82
[ "Apache-2.0" ]
null
null
null
lifecycle/src/lifecycle_talker.cpp
HATAEGON/demos
fb3ad7e7fc6548c30e77a6ed86a2bd108fce5d82
[ "Apache-2.0" ]
null
null
null
lifecycle/src/lifecycle_talker.cpp
HATAEGON/demos
fb3ad7e7fc6548c30e77a6ed86a2bd108fce5d82
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Open Source Robotics Foundation, 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 appli...
40.588997
96
0.737123
HATAEGON
11618218922b6e1590c9d93f947d503eb08537d3
273
hpp
C++
src/info.hpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
src/info.hpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
src/info.hpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
1
2019-12-05T00:56:32.000Z
2019-12-05T00:56:32.000Z
#pragma once #include <gtkmm.h> class Info : public Gtk::InfoBar { Info(); public: static Info &get() { static Info instance; return instance; } void print(const std::string &text); private: Gtk::Label label; sigc::connection timeout_connection; };
14.368421
38
0.666667
jlangvand
1162d411ed8e866a631960d8d608af41e9398756
1,160
hxx
C++
ds/security/protocols/msv_sspi/test/inc/remote.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/security/protocols/msv_sspi/test/inc/remote.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/security/protocols/msv_sspi/test/inc/remote.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 2001 Microsoft Corporation Module Name: remote.hxx Abstract: remote data structure Author: Larry Zhu (LZhu) December 1, 2001 Environment: User Mode Revision History: --*/ #ifndef REMOTE_HXX #define REMOTE_HXX #define REMOT...
20.714286
76
0.682759
npocmaka
11678fedcabd0106b1d812718274714701f60a7a
9,433
cpp
C++
NYP_Framework_Week08_SOLUTION/Base/Source/SpatialPartition/Grid.cpp
KianMarvi/Assignment
8133acec4dd65bc49316aec8deb3961035bdef27
[ "MIT" ]
null
null
null
NYP_Framework_Week08_SOLUTION/Base/Source/SpatialPartition/Grid.cpp
KianMarvi/Assignment
8133acec4dd65bc49316aec8deb3961035bdef27
[ "MIT" ]
8
2019-12-29T17:17:00.000Z
2020-02-07T08:08:01.000Z
NYP_Framework_Week08_SOLUTION/Base/Source/SpatialPartition/Grid.cpp
KianMarvi/Assignment
8133acec4dd65bc49316aec8deb3961035bdef27
[ "MIT" ]
null
null
null
#include "Grid.h" #include "stdio.h" #include "MeshBuilder.h" #include "RenderHelper.h" #include "../GenericEntity.h" #include "../SceneGraph/SceneGraph.h" /******************************************************************************** Constructor *********************************************************************...
30.33119
102
0.457225
KianMarvi
11693cdca03008dcf4f1d1c9d9d9e2cd55ab4853
2,017
cpp
C++
bin/lib/setuptools/main.cpp
TansuoTro/CPPS
cca35d8dc2128aba7fa4a40cb6d83487e265cf3f
[ "MIT" ]
null
null
null
bin/lib/setuptools/main.cpp
TansuoTro/CPPS
cca35d8dc2128aba7fa4a40cb6d83487e265cf3f
[ "MIT" ]
null
null
null
bin/lib/setuptools/main.cpp
TansuoTro/CPPS
cca35d8dc2128aba7fa4a40cb6d83487e265cf3f
[ "MIT" ]
null
null
null
#import "json" #import "compress" namespace setuptools{ //生成安装文件 var setup(var option){ io.mkdir("dist"); var filename = "{option["name"]}-{option["username"]}-{option["version"]}-{option["platfrom"]}"; var configname = "dist/{filename}.json"; print("build config json file..."); var jsonval = json.encode(o...
23.183908
98
0.632127
TansuoTro
1169ee34ea2877ceb9aecaba831780eb12dc634c
7,097
cpp
C++
Programs/QuickEd/Classes/Modules/PackageModule/Private/PackageWidget.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/QuickEd/Classes/Modules/PackageModule/Private/PackageWidget.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/QuickEd/Classes/Modules/PackageModule/Private/PackageWidget.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "Classes/Modules/PackageModule/Private/PackageWidget.h" #include "Classes/Model/PackageHierarchy/PackageBaseNode.h" #include "Classes/Model/PackageHierarchy/PackageControlsNode.h" #include "Classes/Model/PackageHierarchy/PackageNode.h" #include "Classes/Modules/PackageModule/Private/PackageModel.h" #include "...
28.967347
133
0.719036
stinvi
116c8dfd6129ad74f1dd6ae441a5bc1bb7a09067
65,211
cc
C++
src/paths/long/SupportedHyperBasevector6.cc
Amjadhpc/w2rap-contigger
221f6cabedd19743046ee5dec18e6feb85130218
[ "MIT" ]
48
2016-04-26T16:52:59.000Z
2022-01-15T09:18:17.000Z
src/paths/long/SupportedHyperBasevector6.cc
Amjadhpc/w2rap-contigger
221f6cabedd19743046ee5dec18e6feb85130218
[ "MIT" ]
45
2016-04-27T08:20:56.000Z
2022-02-14T07:47:11.000Z
src/paths/long/SupportedHyperBasevector6.cc
Amjadhpc/w2rap-contigger
221f6cabedd19743046ee5dec18e6feb85130218
[ "MIT" ]
15
2016-05-11T14:35:25.000Z
2022-01-15T09:18:45.000Z
/////////////////////////////////////////////////////////////////////////////// // SOFTWARE COPYRIGHT NOTICE AGREEMENT // // This software and its documentation are copyright (2014) by the // // Broad Institute. All rights are reserved. This software is supplied // ...
43.071995
91
0.494119
Amjadhpc
1172cce167b95ca9b05e836c5abee13c484c6b3d
110,612
cpp
C++
groups/bal/ball/ball_fileobserver.t.cpp
hughesr/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
1
2019-01-22T19:44:05.000Z
2019-01-22T19:44:05.000Z
groups/bal/ball/ball_fileobserver.t.cpp
anuranrc/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
null
null
null
groups/bal/ball/ball_fileobserver.t.cpp
anuranrc/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
null
null
null
// ball_fileobserver.t.cpp -*-C++-*- // ---------------------------------------------------------------------------- // NOTICE // // This component is not up to date with current BDE coding standards, and // should not be used as an example f...
38.621508
79
0.517656
hughesr
11735a061840d0bbabdb7bf57d273e56d8b72ce5
505
cpp
C++
tests/parsers/headers/cseq_parsers.cpp
voivoid/CppSip
4d5776e777b4f95f60357d8f7c05926222751d33
[ "MIT" ]
null
null
null
tests/parsers/headers/cseq_parsers.cpp
voivoid/CppSip
4d5776e777b4f95f60357d8f7c05926222751d33
[ "MIT" ]
null
null
null
tests/parsers/headers/cseq_parsers.cpp
voivoid/CppSip
4d5776e777b4f95f60357d8f7c05926222751d33
[ "MIT" ]
null
null
null
#include "boost/test/unit_test.hpp" #include "CppSip/parser/headers/cseq.h" #include "parsers/utils.h" namespace CppSipHdr = CppSip::Message::Headers; namespace { define_parser( CSeq, CppSipHdr::CSeq ) } BOOST_AUTO_TEST_SUITE( header_parsers ) BOOST_AUTO_TEST_CASE( test_CSEQ_parser ) { { const auto [ id, m...
18.703704
67
0.724752
voivoid
1173978138e68a0eaa676e21d4dc9e160aa79789
9,151
cpp
C++
Ko-Fi Engine/Source/PanelConfiguration.cpp
Chamfer-Studios/Ko-Fi-Engine
cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e
[ "MIT" ]
2
2022-02-26T23:35:53.000Z
2022-03-04T16:25:18.000Z
Ko-Fi Engine/Source/PanelConfiguration.cpp
Chamfer-Studios/Ko-Fi-Engine
cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e
[ "MIT" ]
2
2022-02-23T09:41:09.000Z
2022-03-08T08:46:21.000Z
Ko-Fi Engine/Source/PanelConfiguration.cpp
Chamfer-Studios/Ko-Fi-Engine
cdc7fd9fd8c30803ac2e3fe0ecaf1923bbd7532e
[ "MIT" ]
1
2022-03-03T18:41:32.000Z
2022-03-03T18:41:32.000Z
#include "PanelConfiguration.h" #include "PanelChooser.h" #include "Engine.h" #include "M_Window.h" #include "M_SceneManager.h" #include "M_Renderer3D.h" #include "M_Input.h" #include "M_Audio.h" #include "EngineConfig.h" #include "M_Editor.h" #include "SceneIntro.h" #include <imgui.h> #include "glew.h" PanelConfigur...
34.794677
166
0.674571
Chamfer-Studios
11756dfeb3c34fdf33fa1179e84e87cc4a6bf2d5
3,307
cpp
C++
Cpp-C/Ema/Src/Access/Impl/OmmXmlDecoder.cpp
mattpeacock/Elektron-SDK
5b2134f219cecbb8b796a7e6d629b2463bc52b84
[ "Apache-2.0" ]
null
null
null
Cpp-C/Ema/Src/Access/Impl/OmmXmlDecoder.cpp
mattpeacock/Elektron-SDK
5b2134f219cecbb8b796a7e6d629b2463bc52b84
[ "Apache-2.0" ]
null
null
null
Cpp-C/Ema/Src/Access/Impl/OmmXmlDecoder.cpp
mattpeacock/Elektron-SDK
5b2134f219cecbb8b796a7e6d629b2463bc52b84
[ "Apache-2.0" ]
1
2020-09-05T13:32:19.000Z
2020-09-05T13:32:19.000Z
/*|----------------------------------------------------------------------------- *| This source code is provided under the Apache 2.0 license -- *| and is provided AS IS with no warranty or guarantee of fit for purpose. -- *| See the project's LICENSE.md for details. ...
24.496296
87
0.692168
mattpeacock
1176b4de385af7e2333cf73d93da9cbca6b00a1c
356
cpp
C++
source/main.cpp
danielga/gm_ffi
b3f557a3203febcdf38f24cf6bc476230861284e
[ "BSD-3-Clause" ]
3
2016-03-26T13:09:05.000Z
2021-08-25T16:41:53.000Z
source/main.cpp
danielga/gm_ffi
b3f557a3203febcdf38f24cf6bc476230861284e
[ "BSD-3-Clause" ]
5
2016-06-29T21:10:04.000Z
2021-08-25T13:01:23.000Z
source/main.cpp
danielga/gm_ffi
b3f557a3203febcdf38f24cf6bc476230861284e
[ "BSD-3-Clause" ]
1
2021-01-29T03:56:50.000Z
2021-01-29T03:56:50.000Z
#include <GarrysMod/Lua/Interface.h> extern "C" int luaopen_cffi( lua_State *L ); GMOD_MODULE_OPEN( ) { if( luaopen_cffi( LUA->GetState( ) ) != 0 ) { LUA->Push( -1 ); LUA->SetField( GarrysMod::Lua::INDEX_GLOBAL, "ffi" ); } return 1; } GMOD_MODULE_CLOSE( ) { LUA->PushNil( ); LUA->SetField( GarrysMod::Lua::...
16.181818
55
0.640449
danielga
1177660ea0e4a284a8efbb5e5f41b9ea804d7e01
11,887
cpp
C++
src/.dustbin/PhonetisaurusE2F.cpp
cesine/phonetisaurus
d50d503f39f42cb71c5fd270e26463f54a66cd3c
[ "BSD-3-Clause", "BSD-2-Clause", "Apache-2.0" ]
2
2016-10-25T12:59:33.000Z
2019-10-04T20:51:05.000Z
src/.dustbin/PhonetisaurusE2F.cpp
cesine/phonetisaurus
d50d503f39f42cb71c5fd270e26463f54a66cd3c
[ "BSD-3-Clause", "BSD-2-Clause", "Apache-2.0" ]
1
2017-07-20T19:30:04.000Z
2019-10-04T21:09:30.000Z
src/.dustbin/PhonetisaurusE2F.cpp
cesine/phonetisaurus
d50d503f39f42cb71c5fd270e26463f54a66cd3c
[ "BSD-3-Clause", "BSD-2-Clause", "Apache-2.0" ]
null
null
null
/* * Phonetisaurus.cpp * Copyright (c) [2012-], Josef Robert Novak 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 n...
32.040431
107
0.633213
cesine
117e063904ed41e24d36f1dad5e1ebde7ef81d85
4,038
cc
C++
modules/bridge/test/bridge_sender_test.cc
yilun917/apollo
022bc600f5cef8005a02e2c3b1a2485f56d6adfc
[ "Apache-2.0" ]
null
null
null
modules/bridge/test/bridge_sender_test.cc
yilun917/apollo
022bc600f5cef8005a02e2c3b1a2485f56d6adfc
[ "Apache-2.0" ]
null
null
null
modules/bridge/test/bridge_sender_test.cc
yilun917/apollo
022bc600f5cef8005a02e2c3b1a2485f56d6adfc
[ "Apache-2.0" ]
1
2020-02-20T13:47:23.000Z
2020-02-20T13:47:23.000Z
/****************************************************************************** * Copyright 2019 The Apollo Authors. 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 ...
36.053571
80
0.664438
yilun917
117eae835ed8e56b1fdc785782ba67e902b817ef
50,910
cpp
C++
src/sim/tcFlightPort.cpp
dhanin/friendly-bassoon
fafcfd3921805baddc1889dc0ee2fa367ad882f8
[ "BSD-3-Clause" ]
2
2021-11-17T10:59:38.000Z
2021-11-17T10:59:45.000Z
src/sim/tcFlightPort.cpp
dhanin/nws
87a3f24a7887d84b9884635064b48d456b4184e2
[ "BSD-3-Clause" ]
null
null
null
src/sim/tcFlightPort.cpp
dhanin/nws
87a3f24a7887d84b9884635064b48d456b4184e2
[ "BSD-3-Clause" ]
null
null
null
/** ** @file tcFlightport.cpp */ /* ** Copyright (c) 2014, GCBLUE PROJECT ** 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 copy...
25.20297
146
0.638106
dhanin
1182b7560f530850ad7253bc1ebe90a895d55637
2,120
cpp
C++
Oem/dbxml/xqilla/src/functions/FunctionLowerCase.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Oem/dbxml/xqilla/src/functions/FunctionLowerCase.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Oem/dbxml/xqilla/src/functions/FunctionLowerCase.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
/* * Copyright (c) 2001-2008 * DecisionSoft Limited. All rights reserved. * Copyright (c) 2004-2008 * Oracle. 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...
26.17284
103
0.741038
achilex
118477ec71e3ca1e4c19d792171845eb5d8402e3
7,373
cpp
C++
q1/main.cpp
mike10004/cs-bridge-2020-hw14
321066a0d497377673511665989a0f4d426c85e7
[ "MIT" ]
null
null
null
q1/main.cpp
mike10004/cs-bridge-2020-hw14
321066a0d497377673511665989a0f4d426c85e7
[ "MIT" ]
null
null
null
q1/main.cpp
mike10004/cs-bridge-2020-hw14
321066a0d497377673511665989a0f4d426c85e7
[ "MIT" ]
null
null
null
// mac937@nyu.edu // hw14 #include <iostream> #include <vector> #include <cassert> #include <cstdlib> #include <ctime> using namespace std; const bool VERBOSE = false; /** * Performs calculations required to divide a region of an array into two roughly equal halves. * @param start array start index * @param leng...
34.453271
134
0.586735
mike10004
11850413d20f9a0a87b54725896fdb6cda9f0a75
3,066
cpp
C++
Classes/JniIf.cpp
link-marie/Cocos2dxAppDemo-Android
d9935ae821aaa177d5cbb2f8a07166ee287899f9
[ "Apache-2.0" ]
null
null
null
Classes/JniIf.cpp
link-marie/Cocos2dxAppDemo-Android
d9935ae821aaa177d5cbb2f8a07166ee287899f9
[ "Apache-2.0" ]
null
null
null
Classes/JniIf.cpp
link-marie/Cocos2dxAppDemo-Android
d9935ae821aaa177d5cbb2f8a07166ee287899f9
[ "Apache-2.0" ]
null
null
null
/* * Java < - - > C++ interface * */ #include "cocos2d.h" #include "JniIf.h" using namespace cocos2d; extern "C" { const char* getString( const char* func) { cocos2d::JniMethodInfo methodInfo; if( !cocos2d::JniHelper::getStaticMethodInfo( methodInfo, kClassName, func, "()Ljava/lang/String;")) { return ""; ...
25.983051
103
0.670581
link-marie
1187addb4c919f924b5a736a34f10a7eb34b57bc
54
cpp
C++
lib/cmake/Qt5SerialBus/Qt5SerialBus_TinyCanBusPlugin_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
lib/cmake/Qt5SerialBus/Qt5SerialBus_TinyCanBusPlugin_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
lib/cmake/Qt5SerialBus/Qt5SerialBus_TinyCanBusPlugin_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
#include <QtPlugin> Q_IMPORT_PLUGIN(TinyCanBusPlugin)
18
33
0.851852
samlior
118ad3e07cb0d4caa4634bccf7c0525514b306a0
5,278
cc
C++
services/network/cors/cors_util_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
services/network/cors/cors_util_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
services/network/cors/cors_util_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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 "services/network/cors/cors_util.h" #include "testing/gtest/include/gtest/gtest.h" namespace network { namespace cors { namespace { using Co...
40.290076
80
0.494884
zealoussnow
118bade351832547369c6167ddddb202d78af347
11,922
cc
C++
caffe2/contrib/opengl/core/rewrite_net.cc
huiqun2001/caffe2
97209961b675c8bea3831450ba46c9e8b7bad3de
[ "MIT" ]
null
null
null
caffe2/contrib/opengl/core/rewrite_net.cc
huiqun2001/caffe2
97209961b675c8bea3831450ba46c9e8b7bad3de
[ "MIT" ]
null
null
null
caffe2/contrib/opengl/core/rewrite_net.cc
huiqun2001/caffe2
97209961b675c8bea3831450ba46c9e8b7bad3de
[ "MIT" ]
null
null
null
// Copyright 2004-present Facebook. All Rights Reserved. #include "rewrite_net.h" #include "caffe2/core/operator.h" #include "caffe2/utils/proto_utils.h" #include <unordered_map> #include <unordered_set> #ifdef CAFFE2_ANDROID #include "../android/AndroidGLContext.h" #endif namespace caffe2 { struct Analysis { str...
33.583099
99
0.635632
huiqun2001
118c35a5565a5d9cce8365a3f49be697a7311e5f
7,825
cpp
C++
src/network/bidirectional_network_graph.cpp
jczaplew/fmm
e325196f355b6c7674d1846401fb14b0d9203301
[ "Apache-2.0" ]
545
2017-11-13T11:45:24.000Z
2022-03-31T12:31:54.000Z
src/network/bidirectional_network_graph.cpp
jczaplew/fmm
e325196f355b6c7674d1846401fb14b0d9203301
[ "Apache-2.0" ]
198
2017-12-28T14:54:27.000Z
2022-03-31T10:54:31.000Z
src/network/bidirectional_network_graph.cpp
jczaplew/fmm
e325196f355b6c7674d1846401fb14b0d9203301
[ "Apache-2.0" ]
145
2018-01-17T14:29:42.000Z
2022-03-16T03:06:47.000Z
#include "network/bidirectional_network_graph.hpp" #include "network/heap.hpp" #include "network/network.hpp" #include "network/network_graph.hpp" #include "util/debug.hpp" #include <cmath> #include <iostream> #include <algorithm> #include <unordered_map> #include <queue> using namespace FMM; using namespace FMM::COR...
28.874539
77
0.632971
jczaplew
118c6b9e5f6942c6117d85d95fff59575ff20bd2
2,551
hpp
C++
rocprim/include/rocprim/device/detail/ordered_block_id.hpp
yoichiyoshida/rocPRIM
024f15a9106ad2e9dd831601ed5a017d99382e20
[ "MIT" ]
null
null
null
rocprim/include/rocprim/device/detail/ordered_block_id.hpp
yoichiyoshida/rocPRIM
024f15a9106ad2e9dd831601ed5a017d99382e20
[ "MIT" ]
null
null
null
rocprim/include/rocprim/device/detail/ordered_block_id.hpp
yoichiyoshida/rocPRIM
024f15a9106ad2e9dd831601ed5a017d99382e20
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved. // // 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 // t...
28.988636
80
0.705214
yoichiyoshida
118ca1e41e8a0d525fe38b440e681d65243e8549
14,220
cc
C++
src/components/application_manager/test/request_info_test.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
249
2015-01-15T16:50:53.000Z
2022-03-24T13:23:34.000Z
src/components/application_manager/test/request_info_test.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
2,917
2015-01-12T16:17:49.000Z
2022-03-31T11:57:47.000Z
src/components/application_manager/test/request_info_test.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
306
2015-01-12T09:23:20.000Z
2022-01-28T18:06:30.000Z
/* * Copyright (c) 2015, Ford Motor Company * 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...
39.065934
80
0.702672
Sohei-Suzuki-Nexty
1191c9090cbb9454da1726296d9f98ba48a8ae84
26,113
cc
C++
dcmsr/libsrc/dsrxmld.cc
jcfr/DCMTK
0e42647975cb5e2d00e0ee0c5aba635f0f1db181
[ "BSD-3-Clause" ]
null
null
null
dcmsr/libsrc/dsrxmld.cc
jcfr/DCMTK
0e42647975cb5e2d00e0ee0c5aba635f0f1db181
[ "BSD-3-Clause" ]
null
null
null
dcmsr/libsrc/dsrxmld.cc
jcfr/DCMTK
0e42647975cb5e2d00e0ee0c5aba635f0f1db181
[ "BSD-3-Clause" ]
null
null
null
/* * * Copyright (C) 2003-2009, OFFIS * * This software and supporting documentation were developed by * * Kuratorium OFFIS e.V. * Healthcare Information and Communication Systems * Escherweg 2 * D-26121 Oldenburg, Germany * * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRA...
33.349936
125
0.581703
jcfr
1192c9adb045532f7ae747d1e8ff28c2216e33dd
3,339
cc
C++
gpu/ipc/service/gpu_memory_buffer_factory_surface_texture.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
gpu/ipc/service/gpu_memory_buffer_factory_surface_texture.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
gpu/ipc/service/gpu_memory_buffer_factory_surface_texture.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "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 "gpu/ipc/service/gpu_memory_buffer_factory_surface_texture.h" #include "gpu/ipc/common/android/surface_texture_manager.h" #include "ui/gl/androi...
30.633028
79
0.760108
maidiHaitai
1193aedfa533cb891972c4b3a7f6b8ae4a9be8d9
2,346
cpp
C++
src/Color_tester/Color_tester_view.cpp
InzynierDomu/LED_tester
27e09fb27ac200620d8610416e1ae9e777543a0a
[ "MIT" ]
null
null
null
src/Color_tester/Color_tester_view.cpp
InzynierDomu/LED_tester
27e09fb27ac200620d8610416e1ae9e777543a0a
[ "MIT" ]
null
null
null
src/Color_tester/Color_tester_view.cpp
InzynierDomu/LED_tester
27e09fb27ac200620d8610416e1ae9e777543a0a
[ "MIT" ]
null
null
null
/** * @file Color_tester_view.cpp * @brief UI view for color picker mode * @author by Szymon Markiewicz * @details http://www.inzynierdomu.pl/ * @date 03-2022 */ #include "Color_tester_view.h" #include <cstdlib> #include <iomanip> #include <sstream> #include <string> namespace Color_tester { /** * @brief con...
24.4375
121
0.733589
InzynierDomu
1195323f6ac92d597adeb454ea37c3b3bb358b59
4,080
cc
C++
chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h" #include <stdint.h> #include <string> #include "base/files/file_path.h"...
35.789474
80
0.768137
sarang-apps
119778dc0c75b0e91409d2c4fecf64f597bb4d1c
707
cpp
C++
simple/471a.cpp
SnowOnion/CodeForcesLee
c2e964432ce9c2f6ca0c9038934c10f1bf1268b3
[ "MIT" ]
null
null
null
simple/471a.cpp
SnowOnion/CodeForcesLee
c2e964432ce9c2f6ca0c9038934c10f1bf1268b3
[ "MIT" ]
null
null
null
simple/471a.cpp
SnowOnion/CodeForcesLee
c2e964432ce9c2f6ca0c9038934c10f1bf1268b3
[ "MIT" ]
null
null
null
#include<cstdio> #include<memory.h> int main(){ int inp[10]; int a[10]; memset(a,0,sizeof(a)); for(int i=0;i<6;i++){ scanf("%d",&inp[i]); a[inp[i]]++; } int has2=0,has4=0; for(int i=1;i<=9;i++){ if(a[i]==6){ printf("Elephant\n"); ...
15.369565
37
0.356436
SnowOnion
119815249ebb8306641fdd2dc90bdb576aa3575a
9,070
cc
C++
zircon/system/core/virtcon/vc-input.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
null
null
null
zircon/system/core/virtcon/vc-input.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
5
2020-09-06T09:02:06.000Z
2022-03-02T04:44:22.000Z
zircon/system/core/virtcon/vc-input.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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 <fcntl.h> #include <fuchsia/device/manager/c/fidl.h> #include <fuchsia/hardware/pty/c/fidl.h> #include <hid/usages.h> #include <lib/fdio/directory...
29.070513
101
0.577949
zhangpf
1198b2a29e5d3346bf767d17ac195f249db9431a
4,469
cpp
C++
source/Scene.cpp
Kair0z/Custom-Raytracer
5130c389776d75ba93f2748e25e2c24239dddd2f
[ "MIT" ]
null
null
null
source/Scene.cpp
Kair0z/Custom-Raytracer
5130c389776d75ba93f2748e25e2c24239dddd2f
[ "MIT" ]
null
null
null
source/Scene.cpp
Kair0z/Custom-Raytracer
5130c389776d75ba93f2748e25e2c24239dddd2f
[ "MIT" ]
null
null
null
#include "pch.h" #include "Scene.h" #include "PSphere.h" #include "PPlane.h" #include "LDirection.h" #include "LPoint.h" #include "Camera.h" #include <iostream> #include <iomanip> #include "SDL.h" #include "PTriangle.h" #include "PMesh.h" #include "CatchInput.h" Scene::Scene() : m_ActiveCameraIdx{} { } Scene::~Scen...
20.040359
116
0.691206
Kair0z
119aef15434d6416111b2583a82e12f23d1b51a9
6,939
cpp
C++
tcaplusdb/src/v20190823/model/ServerDetailInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
tcaplusdb/src/v20190823/model/ServerDetailInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
tcaplusdb/src/v20190823/model/ServerDetailInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
27.535714
146
0.686987
suluner
119c658607b40f46704273dfd4a72b3a4d73fb3f
256
hpp
C++
include/RED4ext/Scripting/Natives/Generated/world/ProxyMeshDependencyMode.hpp
flibX0r/RED4ext.SDK
18d075ef7559e35d8b02dc2e00a03ccc7ff4d77b
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/world/ProxyMeshDependencyMode.hpp
flibX0r/RED4ext.SDK
18d075ef7559e35d8b02dc2e00a03ccc7ff4d77b
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/world/ProxyMeshDependencyMode.hpp
flibX0r/RED4ext.SDK
18d075ef7559e35d8b02dc2e00a03ccc7ff4d77b
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> namespace RED4ext { namespace world { enum class ProxyMeshDependencyMode : uint8_t { Auto = 0, Discard = 1, }; } // namespace world } // namespace RED4ext
16
57
0.707031
flibX0r
119efbbd2ade10a020c4b26ff837aaba752a0919
3,808
cpp
C++
dispenso/task_set.cpp
jeffamstutz/dispenso
0fb1db63a386c1ba59cd761677af6e9f0052c61c
[ "MIT" ]
1
2022-01-26T01:12:01.000Z
2022-01-26T01:12:01.000Z
dispenso/task_set.cpp
jeffamstutz/dispenso
0fb1db63a386c1ba59cd761677af6e9f0052c61c
[ "MIT" ]
null
null
null
dispenso/task_set.cpp
jeffamstutz/dispenso
0fb1db63a386c1ba59cd761677af6e9f0052c61c
[ "MIT" ]
null
null
null
// Copyright (c) Facebook, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE.md file in the root directory of this source tree. #include "task_set.h" namespace dispenso { void ConcurrentTaskSet::trySetCurrentException() { #if defined(__cpp_exceptions) auto st...
32
98
0.738445
jeffamstutz
119fd92aa61927c9548a45669eb423160e6a2d15
12,725
cpp
C++
unit_tests/mem_obj/mem_obj_destruction_tests.cpp
ArturHarasimiuk/compute-runtime
10db7e03285022c42dac5aeb7efdde6c9810bfa1
[ "MIT" ]
null
null
null
unit_tests/mem_obj/mem_obj_destruction_tests.cpp
ArturHarasimiuk/compute-runtime
10db7e03285022c42dac5aeb7efdde6c9810bfa1
[ "MIT" ]
null
null
null
unit_tests/mem_obj/mem_obj_destruction_tests.cpp
ArturHarasimiuk/compute-runtime
10db7e03285022c42dac5aeb7efdde6c9810bfa1
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "core/memory_manager/allocations_list.h" #include "core/os_interface/os_context.h" #include "runtime/helpers/memory_properties_flags_helpers.h" #include "runtime/mem_obj/mem_obj.h" #include "runtime/platform/platform.h" ...
40.141956
177
0.719293
ArturHarasimiuk
11a05285c205c1ee5abb44736ee54f2c8e9e7516
1,207
cpp
C++
src/cmake_project/impl/cprj_includes_parser_context.cpp
lpea/cppinclude
dc126c6057d2fe30569e6e86f66d2c8eebb50212
[ "MIT" ]
177
2020-08-24T19:20:35.000Z
2022-03-27T01:58:04.000Z
src/cmake_project/impl/cprj_includes_parser_context.cpp
lpea/cppinclude
dc126c6057d2fe30569e6e86f66d2c8eebb50212
[ "MIT" ]
15
2020-08-30T17:59:42.000Z
2022-01-12T11:14:10.000Z
src/cmake_project/impl/cprj_includes_parser_context.cpp
lpea/cppinclude
dc126c6057d2fe30569e6e86f66d2c8eebb50212
[ "MIT" ]
11
2020-09-17T23:31:10.000Z
2022-03-04T13:15:21.000Z
#include "cmake_project/impl/cprj_includes_parser_context.hpp" #include <string_view> //------------------------------------------------------------------------------ namespace cmake_project { //------------------------------------------------------------------------------ IncludeParserContext::IncludeParserContext...
25.145833
80
0.408451
lpea
11a1a2b66f679c3038332a03db6b1c3ad46fc30b
7,412
cpp
C++
Samples/EmbedDemo/okApp.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
241
2015-01-04T00:36:58.000Z
2022-01-06T19:19:23.000Z
Samples/EmbedDemo/okApp.cpp
slagusev/gamekit
a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d
[ "MIT" ]
10
2015-07-10T18:27:17.000Z
2019-06-26T20:59:59.000Z
Samples/EmbedDemo/okApp.cpp
slagusev/gamekit
a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d
[ "MIT" ]
82
2015-01-25T18:02:35.000Z
2022-03-05T12:28:17.000Z
/* ------------------------------------------------------------------------------- This file is part of OgreKit. http://gamekit.googlecode.com/ Copyright (c) 2006-2010 harkon.kr Contributor(s): none yet. ------------------------------------------------------------------------------- This software is...
21.73607
113
0.688073
gamekit-developers
11a1c3cbd48282ac9b9c98cba873df20f9c9dd52
948
hpp
C++
filesystem/include/fs-utility.hpp
thuleqaid/boost_study
59469af4e7b569c87c0a1de53644a39e7f9ae766
[ "MIT" ]
1
2016-03-02T16:44:59.000Z
2016-03-02T16:44:59.000Z
filesystem/include/fs-utility.hpp
thuleqaid/boost_study
59469af4e7b569c87c0a1de53644a39e7f9ae766
[ "MIT" ]
null
null
null
filesystem/include/fs-utility.hpp
thuleqaid/boost_study
59469af4e7b569c87c0a1de53644a39e7f9ae766
[ "MIT" ]
null
null
null
#ifndef __FS_UTILITY_HPP__ #define __FS_UTILITY_HPP__ #include <boost/filesystem.hpp> namespace bfs=boost::filesystem; /* make multi-level directory */ void makedirs(const bfs::path& inpath); /* walk throuth the directory */ template<typename WalkAction> bool walk(const bfs::path& inpath, WalkAction action, bool recu...
23.121951
137
0.707806
thuleqaid
11a360f91be2a77e3745d36aefc3eb31a8f977f9
813
cpp
C++
Sample/DTL/Storage/FileBMP.cpp
LaudateCorpus1/DungeonTemplateLibrary
df04d758b038c800de8ee624365a64b64684f34d
[ "BSL-1.0" ]
587
2018-12-16T08:16:41.000Z
2021-01-27T15:43:17.000Z
Sample/DTL/Storage/FileBMP.cpp
LaudateCorpus1/DungeonTemplateLibrary
df04d758b038c800de8ee624365a64b64684f34d
[ "BSL-1.0" ]
20
2019-04-24T12:49:31.000Z
2019-12-27T17:45:04.000Z
Sample/DTL/Storage/FileBMP.cpp
LaudateCorpus1/DungeonTemplateLibrary
df04d758b038c800de8ee624365a64b64684f34d
[ "BSL-1.0" ]
48
2018-12-24T10:58:46.000Z
2021-01-24T08:41:56.000Z
#include <DTL.hpp> #include <DTL/ImageWrite.hpp> #include <cstdint> #include <array> int main() { using shape_t = std::uint_fast8_t; std::array<std::array<shape_t, 256>, 256> matrix{ {} }; dtl::CellularAutomatonMixIsland<shape_t>(200, 0, 1, 2, 3, 4).draw(matrix); dtl::storage::FileBMP<shape_t>("file_sample.bmp...
18.477273
121
0.576876
LaudateCorpus1
11ac3be20d2a90517a9b1370623a40f951d7c8a7
1,148
cpp
C++
src/HAPCompositeAccessory.cpp
lmartu68/Particle-HAP
3e8c3bd7fdc13ceb6fe3d06b92565262ac4f49bd
[ "MIT" ]
59
2019-01-29T12:05:28.000Z
2021-06-16T04:36:53.000Z
src/HAPCompositeAccessory.cpp
lmartu68/Particle-HAP
3e8c3bd7fdc13ceb6fe3d06b92565262ac4f49bd
[ "MIT" ]
16
2019-03-13T12:38:56.000Z
2021-11-13T09:47:36.000Z
src/HAPCompositeAccessory.cpp
lmartu68/Particle-HAP
3e8c3bd7fdc13ceb6fe3d06b92565262ac4f49bd
[ "MIT" ]
19
2019-02-12T04:38:47.000Z
2021-12-09T22:03:29.000Z
// // CompositeAccessory.cpp // HKTester // // Created by Lukas Jezny on 02/03/2019. // Copyright © 2019 Lukas Jezny. All rights reserved. // #include "HAPCompositeAccessory.h" void HAPCompositeAccessory::identity(bool oldValue, bool newValue, HKConnection *sender) { } bool HAPCompositeAccessory::handle() { ...
31.888889
226
0.689024
lmartu68
11ace328c904bd8e3fe10fba8bfb01a722017f4a
37
cpp
C++
vm/mterp/c/OP_UNUSED_A8FF.cpp
ThirdProject/android_dalvik
6a9739380c73a0256f2484f2bcd0b8f908a2db52
[ "Apache-2.0" ]
null
null
null
vm/mterp/c/OP_UNUSED_A8FF.cpp
ThirdProject/android_dalvik
6a9739380c73a0256f2484f2bcd0b8f908a2db52
[ "Apache-2.0" ]
null
null
null
vm/mterp/c/OP_UNUSED_A8FF.cpp
ThirdProject/android_dalvik
6a9739380c73a0256f2484f2bcd0b8f908a2db52
[ "Apache-2.0" ]
null
null
null
HANDLE_OPCODE(OP_UNUSED_A8FF) OP_END
12.333333
29
0.891892
ThirdProject
11ae69d2daec2802ea93630f28fc9ec275743e86
790
cpp
C++
COJ/Bingo!.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
COJ/Bingo!.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
COJ/Bingo!.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cstdio> #include <string> #include <cstring> #include <list> #include <iterator> #include <cstdlib> #include <set> //Not sent, probably WA using namespace std; int main () { int n, b, aux, act; list<int> sobrantes; set<int> total; list<int>::iterator itr; ci...
15.490196
66
0.520253
MartinAparicioPons
11b1d365ae8c51bdb0e87cb5d681b7f90c8fca25
11,374
cc
C++
L1Trigger/L1TTrackMatch/plugins/L1TrackerJetProducer.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
L1Trigger/L1TTrackMatch/plugins/L1TrackerJetProducer.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
L1Trigger/L1TTrackMatch/plugins/L1TrackerJetProducer.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////// // // // Producer of L1TkJetParticle, // // Cluster L1 tracks using fastjet // // ...
40.913669
210
0.678038
thesps
11b5305e8e5681361f9e42be5e1b9e7a3eb23da7
1,021
hpp
C++
ThirdParty/oglplus-develop/include/oglplus/ext/NV_path_rendering/color.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
24
2015-01-31T15:30:49.000Z
2022-01-29T08:36:42.000Z
ThirdParty/oglplus-develop/include/oglplus/ext/NV_path_rendering/color.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
4
2015-08-21T02:29:15.000Z
2020-05-02T13:50:36.000Z
ThirdParty/oglplus-develop/include/oglplus/ext/NV_path_rendering/color.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
9
2015-06-08T22:04:15.000Z
2021-08-16T03:52:11.000Z
/** * @file oglplus/ext/NV_path_rendering/color.hpp * @brief Wrapper for the NV_path_rendering color enumeration * * @author Matus Chochlik * * Copyright 2010-2014 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.bo...
24.309524
68
0.782566
vif
11b53e59de6319daaaec98ecd460c63568a18c9f
2,527
cc
C++
gazebo/math/Vector3_TEST.cc
thomas-moulard/gazebo-deb
456da84cfb7b0bdac53241f6c4e86ffe1becfa7d
[ "ECL-2.0", "Apache-2.0" ]
8
2015-07-02T08:23:30.000Z
2020-11-17T19:00:38.000Z
gazebo/math/Vector3_TEST.cc
thomas-moulard/gazebo-deb
456da84cfb7b0bdac53241f6c4e86ffe1becfa7d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/math/Vector3_TEST.cc
thomas-moulard/gazebo-deb
456da84cfb7b0bdac53241f6c4e86ffe1becfa7d
[ "ECL-2.0", "Apache-2.0" ]
10
2015-04-22T18:33:15.000Z
2021-11-16T10:17:45.000Z
/* * Copyright 2013 Open Source Robotics 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
26.882979
75
0.62129
thomas-moulard
11b7b52a58bc0279d4ed984f1ffdc4e7e3746048
178
cpp
C++
HSAHRBNUOJ/P30xx/P3042.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
HSAHRBNUOJ/P30xx/P3042.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
HSAHRBNUOJ/P30xx/P3042.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <cstdio> using namespace std; int main() { int n; long long ans = 0; scanf("%d", &n); while (n >= 5) { n /= 5; ans += n; } printf("%lld\n", ans); return 0; }
11.866667
23
0.522472
HeRaNO
11bbdde8db92ba3c2d46a80033d3acdfbc449519
1,808
cc
C++
kerberos/platform_helper.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
kerberos/platform_helper.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
kerberos/platform_helper.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2016 The Chromium OS 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 "kerberos/platform_helper.h" #include <unistd.h> #include <algorithm> #include <string> #include <base/files/file_util.h> #include <base/opt...
27.815385
76
0.678097
strassek
11be90e78fbffbad86c8bbb8ce0df2738521ac9e
20,625
cpp
C++
Systems/Engine/Resource.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
null
null
null
Systems/Engine/Resource.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
null
null
null
Systems/Engine/Resource.cpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// /// \file Resource.cpp /// Implementation of the resource system class. /// /// Authors: Chris Peters, Joshua Claeys /// Copyright 2010-2016, DigiPen Institute of Technology /// /////////////////////////////////////////////////...
29.422254
132
0.636606
jodavis42
11bf27c160201211f01279d3b1d7cc1bd00726dc
11,479
cpp
C++
tests/ParserTests/ParserTests_Literals.cpp
mattmassicotte/three
3986c656724d1317bdb46d4777f8f952103d7ce7
[ "MIT" ]
8
2015-01-02T21:40:55.000Z
2016-05-12T10:48:09.000Z
tests/ParserTests/ParserTests_Literals.cpp
mattmassicotte/three
3986c656724d1317bdb46d4777f8f952103d7ce7
[ "MIT" ]
null
null
null
tests/ParserTests/ParserTests_Literals.cpp
mattmassicotte/three
3986c656724d1317bdb46d4777f8f952103d7ce7
[ "MIT" ]
null
null
null
#include "../ParserTestsBase.h" #include "compiler/constructs/DataType.h" class ParserTests_Literals : public ParserTestsBase { }; TEST_F(ParserTests_Literals, IntegerLiteral) { ASTNode* node = this->parseSingleFunction("def test(Int a)\n" " a = 1\n" ...
40.850534
111
0.612248
mattmassicotte
11bff38e98a1f0a2ec0091e791a1f8db66c63247
735
cpp
C++
TimeSeriesAnalysisLibrary/packages/TimeSeriesForecast/src/Forecast.cpp
jmorenov/TimeSeriesAnalysis
e9b357666e1700a96c715d78279a33fde70c207a
[ "MIT" ]
null
null
null
TimeSeriesAnalysisLibrary/packages/TimeSeriesForecast/src/Forecast.cpp
jmorenov/TimeSeriesAnalysis
e9b357666e1700a96c715d78279a33fde70c207a
[ "MIT" ]
null
null
null
TimeSeriesAnalysisLibrary/packages/TimeSeriesForecast/src/Forecast.cpp
jmorenov/TimeSeriesAnalysis
e9b357666e1700a96c715d78279a33fde70c207a
[ "MIT" ]
null
null
null
#include <Rcpp.h> using namespace Rcpp; // [[Rcpp::export]] RObject ErrorForecast(SEXP data_forecast, SEXP centers_) { Rcpp::NumericMatrix data_f(data_forecast); Rcpp::List centers(centers_); NumericMatrix result = NumericMatrix(centers.size(), data_f.cols()); for (int i = 0; i < result.rows(); i++) { Nume...
27.222222
70
0.62585
jmorenov
11c057a6e114986bd5be8f079dc1bc67cf973eec
4,846
cc
C++
mindspore/lite/src/ops/transpose.cc
Rossil2012/mindspore
8a20b5d784b3fec6d32e058581ec56ec553a06a0
[ "Apache-2.0" ]
1
2021-04-23T06:35:18.000Z
2021-04-23T06:35:18.000Z
mindspore/lite/src/ops/transpose.cc
nudt-eddie/mindspore
55372b41fdfae6d2b88d7078971e06d537f6c558
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/ops/transpose.cc
nudt-eddie/mindspore
55372b41fdfae6d2b88d7078971e06d537f6c558
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019-2020 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
35.632353
110
0.67499
Rossil2012
11c185563fa4dc6746afc1c32079527de5eddcee
3,734
cpp
C++
src/Bint/shifts.cpp
tigertv/Bint
3f4e6c203d687d5ed31a6027bc9a132f5e8a58a8
[ "MIT" ]
8
2021-02-11T19:52:06.000Z
2022-03-29T05:31:48.000Z
src/Bint/shifts.cpp
tigertv/BeeNum
3f4e6c203d687d5ed31a6027bc9a132f5e8a58a8
[ "MIT" ]
2
2020-11-10T22:35:39.000Z
2020-11-24T20:22:04.000Z
src/Bint/shifts.cpp
tigertv/BeeNum
3f4e6c203d687d5ed31a6027bc9a132f5e8a58a8
[ "MIT" ]
1
2020-11-18T01:25:03.000Z
2020-11-18T01:25:03.000Z
/* * MIT License * * This file is part of the BeeNum (https://github.com/tigertv/BeeNum). * Copyright (c) 2020 Max Vetrov(tigertv). * * 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 w...
21.964706
81
0.63203
tigertv
11c2ca55023c9ef3e88b0ee19757d529057f4850
1,133
cpp
C++
TGEditor/TGEditor.cpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEditor/TGEditor.cpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEditor/TGEditor.cpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
#include "TGEditor.hpp" Texture tex1; Texture tex2; Mesh mesh; Mesh mesh2; Font arial; Camera camera; tg_ui::UIEntity entity = tg_ui::UIEntity({0, 0}, {0.3, 0.15}); int main() { Editor editor = Editor(); std::cout << "Starting Editor" << std::endl; tg_ui::UITextureComponent texture = tg_ui::UITextureComponent(&te...
21.377358
120
0.676964
ThePixly
11c94aef96b9693f36ccfe4c0f938afca3d0f1f3
2,066
cpp
C++
logic/extensions.cpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
1
2018-02-06T08:36:39.000Z
2018-02-06T08:36:39.000Z
logic/extensions.cpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
null
null
null
logic/extensions.cpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
null
null
null
#include "extensions.hpp" #include <functional> #include "compat/util.hpp" using namespace options; using ext_fun_type = void(IExtension::*)(Pose&); using ext_mask = IExtension::event_mask; using ext_ord = IExtension::event_ordinal; static constexpr struct event_type_mapping { ext_fun_type ptr; ext_mask mas...
28.694444
107
0.674734
cpuwolf
11cbcf069349a496a1f758a35b9ac9c0e03b8f24
1,924
cpp
C++
src/math/fft.cpp
SYury/mipt-zzzzz-teambook
72731effc3ccc279ed670ed712a3f76c524865ac
[ "MIT" ]
null
null
null
src/math/fft.cpp
SYury/mipt-zzzzz-teambook
72731effc3ccc279ed670ed712a3f76c524865ac
[ "MIT" ]
null
null
null
src/math/fft.cpp
SYury/mipt-zzzzz-teambook
72731effc3ccc279ed670ed712a3f76c524865ac
[ "MIT" ]
null
null
null
typedef complex<double> ftype; const double pi = acos(-1); ftype w[maxn]; template<typename T> void fft(T *in, ftype *out, int n, int k = 1) { if(n == 1) { *out = *in; return; } n /= 2; fft(in, out, n, 2 * k); fft(in + k, out + n, n, 2 * k); for(int i = 0; i < n; i++) { ...
25.653333
74
0.405405
SYury
11d0f9de17d3fc48efa7122e43a9d2f769acd6c1
2,559
cpp
C++
src/services/pcn-nat/src/serializer/NatJsonObject.cpp
francescomessina/polycube
38f2fb4ffa13cf51313b3cab9994be738ba367be
[ "ECL-2.0", "Apache-2.0" ]
337
2018-12-12T11:50:15.000Z
2022-03-15T00:24:35.000Z
src/services/pcn-nat/src/serializer/NatJsonObject.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
253
2018-12-17T21:36:15.000Z
2022-01-17T09:30:42.000Z
src/services/pcn-nat/src/serializer/NatJsonObject.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
90
2018-12-19T15:49:38.000Z
2022-03-27T03:56:07.000Z
/** * nat API * nat API generated from nat.yang * * OpenAPI spec version: 1.0.0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/polycube-network/swagger-codegen.git * branch polycube */ /* Do not edit this file manually */ #include "NatJsonObject.h" #include <rege...
17.895105
82
0.677999
francescomessina
11d31048398c89df46803d4cbc0d92904d003ad1
5,177
cpp
C++
watchman/tests/CacheTest.cpp
chadaustin/watchman
b01a841f3eca5ebaf5ce4a62e1937c95851f450e
[ "MIT" ]
9,308
2015-01-03T13:33:47.000Z
2022-03-31T06:45:26.000Z
watchman/test/CacheTest.cpp
00mjk/watchman
eb22a60e74f04065e24eb51ba1dd1342d66f2ad6
[ "MIT" ]
878
2015-01-07T15:28:33.000Z
2022-03-30T09:30:10.000Z
watchman/test/CacheTest.cpp
00mjk/watchman
eb22a60e74f04065e24eb51ba1dd1342d66f2ad6
[ "MIT" ]
932
2015-01-05T08:25:00.000Z
2022-03-25T11:11:42.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <folly/executors/ManualExecutor.h> #include <folly/init/Init.h> #include <folly/portability/GTest.h> #include <deque> #inc...
34.513333
80
0.637048
chadaustin
11d5afa4c990b22e96b78db375dc349177a406bb
11,589
cpp
C++
src/plugins/blogique/core.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/blogique/core.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/blogique/core.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2010-2012 Oleg Linkin * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
27.462085
87
0.670377
MellonQ
11d5e7eb8888584dfb791f040dbdc5396a955edd
481
cpp
C++
syncfusion/cpp_succinctly/PimplSample/PimplSample.cpp
gusenov/examples-cpp
2cd0abe15bf534c917bcfbca70694daaa19c4612
[ "MIT" ]
12
2019-08-18T19:28:55.000Z
2022-03-29T12:55:20.000Z
syncfusion/cpp_succinctly/PimplSample/PimplSample.cpp
gusenov/examples-cpp
2cd0abe15bf534c917bcfbca70694daaa19c4612
[ "MIT" ]
null
null
null
syncfusion/cpp_succinctly/PimplSample/PimplSample.cpp
gusenov/examples-cpp
2cd0abe15bf534c917bcfbca70694daaa19c4612
[ "MIT" ]
null
null
null
#include <iostream> #include <ostream> #include "Sandwich.h" #include "../pchar.h" using namespace std; int _pmain(int /*argc*/, _pchar* /*argv*/[]) { Sandwich s; s.AddIngredient(L"Turkey"); s.AddIngredient(L"Cheddar"); s.AddIngredient(L"Lettuce"); s.AddIngredient(L"Tomato"); s.AddIngredient(L"Mayo"); ...
20.041667
47
0.661123
gusenov
11d6afa8d19152ec96b88173ac1146576b9201f2
1,026
cpp
C++
aprindere/a.cpp
MarianVasilca/The100DayProject
df207c5a96b917a8a0134d9138bf000400120746
[ "MIT" ]
null
null
null
aprindere/a.cpp
MarianVasilca/The100DayProject
df207c5a96b917a8a0134d9138bf000400120746
[ "MIT" ]
null
null
null
aprindere/a.cpp
MarianVasilca/The100DayProject
df207c5a96b917a8a0134d9138bf000400120746
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> using namespace std; ifstream fin("aprindere.in"); ofstream fout("aprindere.out"); const int NMax = 1005; int N, M, T[NMax]; bool Room[NMax]; vector < int > V[NMax]; int Result; void Read() { fin >> N >> M; for(int i = 0; i < N; i++) ...
16.819672
59
0.437622
MarianVasilca
11d7289ac61638aaae9e708b656c6f4115b01ae7
5,406
cpp
C++
formal_languages/components/GrammarComponents.cpp
joaovicentesouto/INE5421
484fae0a512ec043c7f2078ccc0d2c7f4e5dad1f
[ "MIT" ]
2
2018-06-20T04:28:54.000Z
2018-11-29T15:54:39.000Z
formal_languages/components/GrammarComponents.cpp
joaovicentesouto/INE5421
484fae0a512ec043c7f2078ccc0d2c7f4e5dad1f
[ "MIT" ]
null
null
null
formal_languages/components/GrammarComponents.cpp
joaovicentesouto/INE5421
484fae0a512ec043c7f2078ccc0d2c7f4e5dad1f
[ "MIT" ]
2
2018-05-14T16:00:59.000Z
2018-06-20T04:28:57.000Z
#include "GrammarComponents.hpp" namespace formal_device { namespace grammar { Symbol::Symbol(const string_type &value) : m_value{value} { } Symbol::Symbol(string_type &&value) : m_value{std::move(value)} { } bool Symbol::is_terminal() const { return std::regex_match(m_value, std::regex("[a-z]")) || m_v...
22.431535
99
0.672031
joaovicentesouto
11d903a7f33944dee2c22ff52b49ff48e55aa65f
1,005
cpp
C++
Infrastructure/KEI.Infrastructure.CLR/ViewService.cpp
athulrajts/Resusables
0ef297ab0501b305589402d0aec0c1da80313b04
[ "MIT" ]
null
null
null
Infrastructure/KEI.Infrastructure.CLR/ViewService.cpp
athulrajts/Resusables
0ef297ab0501b305589402d0aec0c1da80313b04
[ "MIT" ]
null
null
null
Infrastructure/KEI.Infrastructure.CLR/ViewService.cpp
athulrajts/Resusables
0ef297ab0501b305589402d0aec0c1da80313b04
[ "MIT" ]
null
null
null
#pragma once #include "pch.h" #include "ViewService.h" #include "ViewServiceNativeWrapper.h" void ViewService::AutoInitialize() { ViewServiceNativeWrapper::AutoInitialize(); } void ViewService::InitializeBaseViewService() { ViewServiceNativeWrapper::InitializeBaseViewService(); } void ViewService::ErrorDialog(std...
24.512195
84
0.806965
athulrajts