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
dc099f9300c0294a933f125597250addf2186707
5,273
cpp
C++
src/Objects/Spiral.cpp
heyjoeway/CuckySonic
122ccc7319d117b977b5c019cedc6de6951bfc49
[ "MIT" ]
1
2019-12-16T16:32:46.000Z
2019-12-16T16:32:46.000Z
src/Objects/Spiral.cpp
heyjoeway/CuckySonic
122ccc7319d117b977b5c019cedc6de6951bfc49
[ "MIT" ]
null
null
null
src/Objects/Spiral.cpp
heyjoeway/CuckySonic
122ccc7319d117b977b5c019cedc6de6951bfc49
[ "MIT" ]
1
2019-12-13T22:04:02.000Z
2019-12-13T22:04:02.000Z
#include <stdint.h> #include "../Level.h" #include "../Game.h" #include "../Log.h" #include "../MathUtil.h" //#define SPIRAL_OFFSET_FIX //Fixes the radius offset to scale properly static const uint8_t FlipAngleTable[] = { 0x00,0x00, 0x01,0x01,0x16,0x16,0x16,0x16,0x2C,0x2C, 0x2C,0x2C,0x42,0x42,0x42,0x42,0x58,0x58, ...
26.497487
100
0.535938
heyjoeway
dc0a628b5b8c4cefbfa6addb955d5241025331d7
1,731
cc
C++
Codeforces/252 Division 2/Problem D/D.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/252 Division 2/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/252 Division 2/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<cstdio> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<queue> #include<stack> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define...
18.612903
79
0.514731
VastoLorde95
dc0dcb6630b98b9d5853238ec6aa4c17ab3ab11f
786
cpp
C++
infer/tests/codetoanalyze/cpp/errors/vector/iterator_access.cpp
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
1
2017-09-14T09:03:44.000Z
2017-09-14T09:03:44.000Z
infer/tests/codetoanalyze/cpp/errors/vector/iterator_access.cpp
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
2
2020-11-13T19:42:27.000Z
2020-11-13T19:49:19.000Z
infer/tests/codetoanalyze/cpp/errors/vector/iterator_access.cpp
shakenetwork/infer
faf04af1f4bd7a590948f3760cc9a11540420361
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2016 - present 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. */ #include <...
21.243243
78
0.604326
shakenetwork
dc0ddd3dc12fe6d5070d300b9baf89cb9ff7d362
1,436
cpp
C++
Cpp_Projects/HP_Calculator/hp_rechner.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
Cpp_Projects/HP_Calculator/hp_rechner.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
Cpp_Projects/HP_Calculator/hp_rechner.cpp
EderLukas/Portfolio
1c9adef3435129d26d3c6275a79ed363bf062e8f
[ "MIT" ]
null
null
null
/* * source code: hp_rechner.cpp * author: Lukas Eder * date: 28.12.2017 * * Descr.: * Grundlegende Rechnungen von Addition, Subtraktion, Multiplikation und Division nach dem HP-Rechner-Model. */ #include "hpFunktionen.h" #include <iostream> using namespace std; // Hauptprogramm int main(...
18.894737
109
0.533426
EderLukas
dc0e1ca53b71dc9a172a14e2e61a5a2335496bfa
11,486
cxx
C++
test/unit/grid_heating/gridHeatingTestElec.cxx
tnakaicode/vpic
44c5c1f89de0ba57d54e4109176ba0a1714ce7e5
[ "BSD-3-Clause" ]
110
2017-02-14T20:02:57.000Z
2022-03-02T17:27:23.000Z
test/unit/grid_heating/gridHeatingTestElec.cxx
tnakaicode/vpic
44c5c1f89de0ba57d54e4109176ba0a1714ce7e5
[ "BSD-3-Clause" ]
124
2017-02-03T17:00:05.000Z
2022-02-28T20:47:36.000Z
test/unit/grid_heating/gridHeatingTestElec.cxx
tnakaicode/vpic
44c5c1f89de0ba57d54e4109176ba0a1714ce7e5
[ "BSD-3-Clause" ]
70
2017-01-19T19:15:12.000Z
2022-03-09T12:56:14.000Z
//============================================================================== /* Grid heating test case for electros in 2D This deck is made for quickly testing code changes by testing the grid heating rate. It initializes a 2D box of electrons with periodic boundary conditions and lets it evolve for ...
38.286667
141
0.559986
tnakaicode
dc0eb820d91d3e84942c7cb38a5ec15534bc08c4
2,204
cc
C++
cloudwf/src/model/SetUpgradeImgByModelRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
cloudwf/src/model/SetUpgradeImgByModelRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
cloudwf/src/model/SetUpgradeImgByModelRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
25.929412
81
0.760436
iamzken
dc0ee3e12e145c6957d7534a82041d2733c608e8
38,320
hpp
C++
include/armadillo_bits/wrapper_lapack.hpp
embarktrucks/armadillo-code
edfce747962f8ad508db660caa3892ed1a4069f8
[ "Apache-2.0" ]
16
2021-03-14T16:30:32.000Z
2022-03-18T13:41:53.000Z
include/armadillo_bits/wrapper_lapack.hpp
sinmx/armadillo
1314e433b09a77455647e84375292a2b0a16ac94
[ "Apache-2.0" ]
1
2018-01-08T09:16:37.000Z
2018-02-28T15:43:40.000Z
include/armadillo_bits/wrapper_lapack.hpp
sinmx/armadillo
1314e433b09a77455647e84375292a2b0a16ac94
[ "Apache-2.0" ]
4
2020-03-08T14:04:50.000Z
2020-12-03T08:51:04.000Z
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2008-2016 National ICT Australia (NICTA) // // 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...
29.91413
268
0.582777
embarktrucks
dc133148e87e81cf79dcc080817d4377684ab185
12,250
hh
C++
third_party/OpenMesh-8.1/src/OpenMesh/Tools/Subdivider/Adaptive/Composite/RuleInterfaceT.hh
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
62
2020-11-06T17:29:24.000Z
2022-03-21T19:21:16.000Z
third_party/OpenMesh-8.1/src/OpenMesh/Tools/Subdivider/Adaptive/Composite/RuleInterfaceT.hh
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
134
2017-02-25T20:47:43.000Z
2022-03-14T06:54:58.000Z
third_party/OpenMesh-8.1/src/OpenMesh/Tools/Subdivider/Adaptive/Composite/RuleInterfaceT.hh
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
6
2021-02-19T07:20:19.000Z
2021-12-27T09:07:27.000Z
/* ========================================================================= * * * * OpenMesh * * Copyright (c) 2001-2015, RWTH-Aachen University * * ...
30.397022
129
0.533224
hporro
dc17e129762729e809cefe6f33c1e5dcee550e89
217
hh
C++
Include/Zion/Log.hh
zionmultiplayer/Client
291c027c4011cb1ab207c9b394fb5f4b1da8652c
[ "MIT" ]
4
2022-02-08T07:04:49.000Z
2022-02-09T23:43:49.000Z
Include/Zion/Log.hh
zionmultiplayer/Client
291c027c4011cb1ab207c9b394fb5f4b1da8652c
[ "MIT" ]
null
null
null
Include/Zion/Log.hh
zionmultiplayer/Client
291c027c4011cb1ab207c9b394fb5f4b1da8652c
[ "MIT" ]
null
null
null
#pragma once namespace Zion { class Log { public: static void Open(const char *filename); static void Close(); static void Write(const char *format, ...); }; };
18.083333
55
0.520737
zionmultiplayer
dc19b4bf11e668d5cf6fc8dd48356bd945c17f06
34,710
cpp
C++
src/AC3DPlugins/obj8_import.cpp
den-rain/xptools
4c39da8d44a4a92e9efb2538844d433496b38f07
[ "X11", "MIT" ]
null
null
null
src/AC3DPlugins/obj8_import.cpp
den-rain/xptools
4c39da8d44a4a92e9efb2538844d433496b38f07
[ "X11", "MIT" ]
null
null
null
src/AC3DPlugins/obj8_import.cpp
den-rain/xptools
4c39da8d44a4a92e9efb2538844d433496b38f07
[ "X11", "MIT" ]
null
null
null
/* * Copyright (c) 2007, Laminar Research. * * 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, ...
36.006224
172
0.681648
den-rain
dc1abdf77ef4738900b3dcc654db8e753608f195
28,436
cpp
C++
test/cxx/Core/SpawningKit/HandshakePerformTest.cpp
m5o/passenger
9640816af708867d0994bd2eddb80ac24399f855
[ "MIT" ]
2,728
2015-01-01T10:06:45.000Z
2022-03-30T18:12:58.000Z
test/cxx/Core/SpawningKit/HandshakePerformTest.cpp
m5o/passenger
9640816af708867d0994bd2eddb80ac24399f855
[ "MIT" ]
1,192
2015-01-01T06:03:19.000Z
2022-03-31T09:14:36.000Z
test/cxx/Core/SpawningKit/HandshakePerformTest.cpp
m5o/passenger
9640816af708867d0994bd2eddb80ac24399f855
[ "MIT" ]
334
2015-01-08T20:47:03.000Z
2022-02-18T07:07:01.000Z
#include <TestSupport.h> #include <Core/SpawningKit/Handshake/Prepare.h> #include <Core/SpawningKit/Handshake/Perform.h> #include <LoggingKit/Context.h> #include <SystemTools/UserDatabase.h> #include <boost/bind/bind.hpp> #include <cstdio> #include <IOTools/IOUtils.h> using namespace std; using namespace Passenger; us...
31.630701
122
0.727247
m5o
dc1b7cd50823d8f78d0abed3fa4ea84afd42ef00
7,019
cxx
C++
applications/js_cdi_server/targets/js.emscripten/main.cxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
34
2015-05-23T03:57:56.000Z
2022-03-27T03:48:48.000Z
applications/js_cdi_server/targets/js.emscripten/main.cxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
214
2015-07-05T05:06:55.000Z
2022-02-06T14:53:14.000Z
applications/js_cdi_server/targets/js.emscripten/main.cxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
38
2015-08-28T05:32:07.000Z
2021-07-06T16:47:23.000Z
/** \copyright * Copyright (c) 2013, Balazs Racz * 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 li...
35.271357
148
0.618464
balazsracz
dc2090a8c236cb7ff67543336f86908555f5fc1b
335
cpp
C++
books/tech/cpp/std-11/b_sutherland-cpp_recipes/ch_10-memory/recipe_10.2-using_stack_memory/02-class_varibles_on_the_stack/main.cpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
1
2017-05-04T08:23:46.000Z
2017-05-04T08:23:46.000Z
books/techno/cpp/__intermediate/cpp_recipes_a_problem_solution_approach_b_shutherland/code/ch_10-MEMORY/recipe_10.2-using_stack_memory/02-class_varibles_on_the_stack/main.cpp
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
null
null
null
books/techno/cpp/__intermediate/cpp_recipes_a_problem_solution_approach_b_shutherland/code/ch_10-MEMORY/recipe_10.2-using_stack_memory/02-class_varibles_on_the_stack/main.cpp
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
null
null
null
#include <iostream> class MyClass { public: MyClass() { std::cout << "Constructor called!" << std::endl; } ~MyClass() { std::cout << "Destructor called!" << std::endl; } }; int main() { MyClass myClass; std::cout << "Function body!" << std::endl; ...
16.75
60
0.483582
ordinary-developer
dc2128e0d36510297a49c0ea322fba2baa90d13e
6,713
cc
C++
chrome/browser/extensions/api/identity/identity_mint_queue_unittest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
chrome/browser/extensions/api/identity/identity_mint_queue_unittest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-12-13T19:44:12.000Z
2021-12-13T19:44:12.000Z
chrome/browser/extensions/api/identity/identity_mint_queue_unittest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2017-04-05T01:52:03.000Z
2022-02-13T17:58:45.000Z
// 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/extensions/api/identity/identity_mint_queue.h" #include <vector> #include "testing/gmock/include/gmock/gmock.h" #include "t...
36.091398
80
0.731864
nagineni
dc218df738ec770a57a06c101e884a29706610e6
1,106
cpp
C++
homework/Propazhin/04/matrix.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
12
2018-02-20T15:25:12.000Z
2022-02-15T03:31:55.000Z
homework/Propazhin/04/matrix.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
1
2018-02-26T12:40:47.000Z
2018-02-26T12:40:47.000Z
homework/Propazhin/04/matrix.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
33
2018-02-20T15:25:11.000Z
2019-02-13T22:33:36.000Z
#include "matrix.h" #include <iostream> Matrix::~Matrix() { for (size_t i = 0; i < cols; i++) delete[] arr[i]; delete[] arr; } Matrix& Matrix::operator *= (int k) { for (size_t i = 0; i < cols; i++) for (size_t j = 0; j < rows; j++) arr[i][j] *= k; return *this; } bool Mat...
19.75
55
0.536166
nkotelevskii
dc22a5090698cd215315a989cc3f41eb0f086031
2,086
cpp
C++
Engine/Source/Runtime/AnimGraphRuntime/Private/BoneControllers/AnimNode_ObserveBone.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/AnimGraphRuntime/Private/BoneControllers/AnimNode_ObserveBone.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/AnimGraphRuntime/Private/BoneControllers/AnimNode_ObserveBone.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "AnimGraphRuntimePrivatePCH.h" #include "BoneControllers/AnimNode_ObserveBone.h" #include "AnimationRuntime.h" ///////////////////////////////////////////////////// // FAnimNode_ObserveBone FAnimNode_ObserveBone::FAnimNode_ObserveBone() : Display...
35.355932
197
0.778523
PopCap
dc2412763be970d0ac53c0a3664feb704b6905b7
1,317
hpp
C++
kernel/src/modelingTools/RelationTypes.hpp
bremond/siconos
8deea56ff6779379f4f69e0376d24a81562a42d4
[ "Apache-2.0" ]
null
null
null
kernel/src/modelingTools/RelationTypes.hpp
bremond/siconos
8deea56ff6779379f4f69e0376d24a81562a42d4
[ "Apache-2.0" ]
null
null
null
kernel/src/modelingTools/RelationTypes.hpp
bremond/siconos
8deea56ff6779379f4f69e0376d24a81562a42d4
[ "Apache-2.0" ]
null
null
null
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 * *...
31.357143
75
0.772969
bremond
dc25abbea41d1af3961493eec08d89258cc87558
19,392
cc
C++
rocksdb-6.14.5-unmodified/table/block_based/partitioned_filter_block.cc
cssl-unist/tweezer
3a6c2c65ff61a525150aa2b1ae30b561ac79d241
[ "MIT" ]
null
null
null
rocksdb-6.14.5-unmodified/table/block_based/partitioned_filter_block.cc
cssl-unist/tweezer
3a6c2c65ff61a525150aa2b1ae30b561ac79d241
[ "MIT" ]
null
null
null
rocksdb-6.14.5-unmodified/table/block_based/partitioned_filter_block.cc
cssl-unist/tweezer
3a6c2c65ff61a525150aa2b1ae30b561ac79d241
[ "MIT" ]
null
null
null
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #include "table/block_based/partitioned_filter_block.h" ...
37.581395
80
0.698381
cssl-unist
dc25ac98836587fdbea428d73ec9a32938708afe
626
cpp
C++
Codeforces/contests/Codeforces Round #740 (Div. 2, based on VK Cup 2021 - Final (Engine))/D.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
Codeforces/contests/Codeforces Round #740 (Div. 2, based on VK Cup 2021 - Final (Engine))/D.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
Codeforces/contests/Codeforces Round #740 (Div. 2, based on VK Cup 2021 - Final (Engine))/D.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
/* D. Up the Strip */ // https://codeforces.com/contest/1561/problem/D1 // Date: Aug/24/2021 18:29 (00:54:05) // Runtime: 6000 ms // Memory: 29160 KB // Verdict: TLE #include <iostream> #include <string.h> using namespace std; int n, m; int memo[4000010]; int count(int x) { if (memo[x] != -1) return memo[x];...
21.586207
68
0.535144
LeKSuS-04
dc25d7aff1fd976c19d99335e047bf0468cbcf07
4,090
hpp
C++
openstudiocore/src/project/ConcreteObjectRecords.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/project/ConcreteObjectRecords.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/project/ConcreteObjectRecords.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
40.9
83
0.771394
ORNL-BTRIC
dc27846a28ec616352a0fc676d036a4916953736
357
hpp
C++
function.hpp
Kayasama/Mine-Sweeper-master
f7f6cb54cba1ee86ba6b84302be88bb949f99740
[ "MIT" ]
null
null
null
function.hpp
Kayasama/Mine-Sweeper-master
f7f6cb54cba1ee86ba6b84302be88bb949f99740
[ "MIT" ]
null
null
null
function.hpp
Kayasama/Mine-Sweeper-master
f7f6cb54cba1ee86ba6b84302be88bb949f99740
[ "MIT" ]
null
null
null
#ifndef _FUNCTION_HPP #define _FUNCTION_HPP #include <SDL2/SDL.h> #include <string> #include "block.hpp" void gameover(const std::string &message); block *XYtoArr(int x, int y); void dfs(block *it); block *mouseToArr(int _x, int _y); void setball(); void init(); inline void clock(const unsigned int frames_per_second...
19.833333
56
0.747899
Kayasama
dc28d53b00a958fb711ad49fcc2ab21a0a8a650d
612
cpp
C++
Searching/1. Linear Search/Linear Search.cpp
kanitmann/DSA_mastery
9b006892f24c697aae98ede0be203b87ad67c16a
[ "MIT" ]
1
2021-03-03T19:07:41.000Z
2021-03-03T19:07:41.000Z
Searching/1. Linear Search/Linear Search.cpp
kanitmann/DSA_mastery
9b006892f24c697aae98ede0be203b87ad67c16a
[ "MIT" ]
null
null
null
Searching/1. Linear Search/Linear Search.cpp
kanitmann/DSA_mastery
9b006892f24c697aae98ede0be203b87ad67c16a
[ "MIT" ]
null
null
null
#include<iostream> #define MAX_SIZE 5 int sort(int arr[MAX_SIZE], int key) { int pos = 0; for(int i=0;i<MAX_SIZE;i++) { if(arr[i]==key) return(i); } return (-1); } int main() { int list[MAX_SIZE]; int ele; std::cout<<"Enter Array: "; for(int i = 0; ...
20.4
54
0.503268
kanitmann
dc29d1609d1f94e419039cbd1e6cbb4b3b0b4668
2,480
cpp
C++
RusOI-reg/16-numbers.cpp
SpeedOfMagic/CompetitiveProgramming
03f9d2925dbf9af29e93f67753397b5fbff7ab27
[ "MIT" ]
1
2021-05-07T07:38:26.000Z
2021-05-07T07:38:26.000Z
RusOI-reg/16-numbers.cpp
SpeedOfMagic/CompetitiveProgramming
03f9d2925dbf9af29e93f67753397b5fbff7ab27
[ "MIT" ]
null
null
null
RusOI-reg/16-numbers.cpp
SpeedOfMagic/CompetitiveProgramming
03f9d2925dbf9af29e93f67753397b5fbff7ab27
[ "MIT" ]
null
null
null
/** MIT License Copyright (c) 2018 Vasilyev Daniil **/ #include <bits/stdc++.h> using namespace std; #pragma GCC optimize("Ofast") template<typename T> using v = vector<T>; #define int long long typedef string str; typedef vector<int> vint; #define rep(a, l, r) for(int a = (l); a < (r); a++) #define pb push_ba...
27.252747
133
0.468952
SpeedOfMagic
dc2ad5ebed96a92dd7965248f93618f5780174b5
4,424
hh
C++
src/shared/Alphabet.hh
AlgoLab/BEETL
b5953f841b3c8928e8e6e96a105d2b1efe1aea28
[ "BSD-Source-Code" ]
null
null
null
src/shared/Alphabet.hh
AlgoLab/BEETL
b5953f841b3c8928e8e6e96a105d2b1efe1aea28
[ "BSD-Source-Code" ]
null
null
null
src/shared/Alphabet.hh
AlgoLab/BEETL
b5953f841b3c8928e8e6e96a105d2b1efe1aea28
[ "BSD-Source-Code" ]
null
null
null
/** ** Copyright (c) 2011 Illumina, Inc. ** ** ** This software is covered by the "Illumina Non-Commercial Use Software ** and Source Code License Agreement" and any user of this software or ** source file is bound by the terms therein (see accompanying file ** Illumina_Non-Commercial_Use_Software_and_Source_Cod...
35.677419
88
0.573463
AlgoLab
dc2ae9cd37386c66d6357345fa01b89e2cc54e02
4,899
hpp
C++
code/linear/tropical.hpp
Brunovsky/competitive
41cf49378e430ca20d844f97c67aa5059ab1e973
[ "MIT" ]
1
2020-02-10T09:15:59.000Z
2020-02-10T09:15:59.000Z
code/linear/tropical.hpp
Brunovsky/kickstart
41cf49378e430ca20d844f97c67aa5059ab1e973
[ "MIT" ]
null
null
null
code/linear/tropical.hpp
Brunovsky/kickstart
41cf49378e430ca20d844f97c67aa5059ab1e973
[ "MIT" ]
null
null
null
#pragma once #include <bits/stdc++.h> using namespace std; // Tropical matrix operations (max plus or min plus) template <typename T> struct tmat { using vec = vector<T>; using unit_type = T; static constexpr T inf = numeric_limits<T>::lowest() / 2; static const T add(const T& a, const T& b) { return ...
31.606452
80
0.441519
Brunovsky
dc2bedf536d5a1d5870e4417529522bcc453dcb7
1,234
cpp
C++
src/gfx/device.cpp
Necrys/engine
c4a69bcfa39d6410b7c24f142f692de1df145ffc
[ "Unlicense" ]
null
null
null
src/gfx/device.cpp
Necrys/engine
c4a69bcfa39d6410b7c24f142f692de1df145ffc
[ "Unlicense" ]
null
null
null
src/gfx/device.cpp
Necrys/engine
c4a69bcfa39d6410b7c24f142f692de1df145ffc
[ "Unlicense" ]
null
null
null
#include <glapi.h> #include <device.h> #include <config.h> #include <window.h> #include <GLFW/glfw3.h> #include <GL/gl.h> namespace engine { namespace gfx { Device::Device(Window& wnd): m_log("GFX_DEVICE"), m_window(wnd) { } bool Device::init() { m_log.debug("init"); if (!glapi::init()) { ...
18.984615
61
0.664506
Necrys
dc2bfdb1739d5efedc36fe06e8285f353b4bc353
5,496
cpp
C++
src/pal/tests/palsuite/threading/QueueUserAPC/test2/test2.cpp
elinor-fung/coreclr
c1801e85024add717f518feb6a9caed60d54500f
[ "MIT" ]
159
2020-06-17T01:01:55.000Z
2022-03-28T10:33:37.000Z
src/pal/tests/palsuite/threading/QueueUserAPC/test2/test2.cpp
elinor-fung/coreclr
c1801e85024add717f518feb6a9caed60d54500f
[ "MIT" ]
19
2020-06-27T01:16:35.000Z
2022-02-06T20:33:24.000Z
src/pal/tests/palsuite/threading/QueueUserAPC/test2/test2.cpp
elinor-fung/coreclr
c1801e85024add717f518feb6a9caed60d54500f
[ "MIT" ]
19
2020-05-21T08:18:20.000Z
2021-06-29T01:13:13.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*===================================================================== ** ** Source: test2.c ** ** Purpose: Tests ...
24.426667
78
0.549309
elinor-fung
dc2cfa9f16ec95c64a39b816566477272c8d13be
2,057
cc
C++
src/fe-write.cc
tdaede/fluxengine
056055bf0bf8b4091ab9d23b1542d1549aa99e6a
[ "MIT" ]
247
2019-01-07T05:12:52.000Z
2022-03-30T02:30:21.000Z
src/fe-write.cc
tdaede/fluxengine
056055bf0bf8b4091ab9d23b1542d1549aa99e6a
[ "MIT" ]
337
2019-02-19T17:56:56.000Z
2022-03-31T22:04:25.000Z
src/fe-write.cc
tdaede/fluxengine
056055bf0bf8b4091ab9d23b1542d1549aa99e6a
[ "MIT" ]
57
2019-01-07T05:18:17.000Z
2022-03-05T09:12:28.000Z
#include "globals.h" #include "flags.h" #include "writer.h" #include "fluxmap.h" #include "decoders/decoders.h" #include "encoders/encoders.h" #include "sector.h" #include "proto.h" #include "fluxsink/fluxsink.h" #include "fluxsource/fluxsource.h" #include "arch/brother/brother.h" #include "arch/ibm/ibm.h" #include "im...
25.395062
85
0.713175
tdaede
dc2d411d6cd6c8bacc6ceb50980515692cd7ffdf
2,594
cpp
C++
src/gui/win/layout/items/li_wire.cpp
lbz007/rectanglequery
59d6eb007bf65480fa3e9245542d0b6071f81831
[ "BSD-3-Clause" ]
null
null
null
src/gui/win/layout/items/li_wire.cpp
lbz007/rectanglequery
59d6eb007bf65480fa3e9245542d0b6071f81831
[ "BSD-3-Clause" ]
null
null
null
src/gui/win/layout/items/li_wire.cpp
lbz007/rectanglequery
59d6eb007bf65480fa3e9245542d0b6071f81831
[ "BSD-3-Clause" ]
null
null
null
#include "li_wire.h" #include <QDebug> #include "../layout_def.h" #include "li_layer.h" namespace open_edi { namespace gui { LI_Wire::LI_Wire(ScaleFactor* scale_factor) : LI_Base(scale_factor) { item_ = new LGI_Wire; item_->setLiBase(this); pen_.setColor(QColor(0xff, 0, 0, 0xff)); brush_ = QBrush(Q...
24.471698
98
0.615266
lbz007
dc2f19297e0c528f98ef5d47fc7902bac8ede3ca
2,151
hpp
C++
include/coco/combix/combinators/choice.hpp
agatan/coco
e19e74cf97d788b435351379296ea3ead901c576
[ "BSL-1.0" ]
1
2016-08-31T04:44:17.000Z
2016-08-31T04:44:17.000Z
include/coco/combix/combinators/choice.hpp
agatan/coco
e19e74cf97d788b435351379296ea3ead901c576
[ "BSL-1.0" ]
null
null
null
include/coco/combix/combinators/choice.hpp
agatan/coco
e19e74cf97d788b435351379296ea3ead901c576
[ "BSL-1.0" ]
null
null
null
#ifndef COCO_COMBIX_COMBINATORS_CHOICE_HPP_ #define COCO_COMBIX_COMBINATORS_CHOICE_HPP_ #include <type_traits> #include <utility> #include <coco/combix/error.hpp> #include <coco/combix/parser_traits.hpp> namespace coco { namespace combix { template <typename... P> struct choice_parser; template <type...
26.231707
79
0.598326
agatan
dc310cc44ed33e191a9bcd380ff199740ab2f7f8
8,593
hpp
C++
cmdstan/stan/lib/stan_math/stan/math/torsten/events_record.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/stan/math/torsten/events_record.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/stan/math/torsten/events_record.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_TORSTEN_NONMEN_EVENTS_RECORD_HPP #define STAN_MATH_TORSTEN_NONMEN_EVENTS_RECORD_HPP #include <stan/math/torsten/dsolve/pk_vars.hpp> #include <stan/math/torsten/return_type.hpp> #include <boost/math/tools/promotion.hpp> #include <Eigen/Dense> #include <numeric> #include <string> #include <vector> nam...
32.673004
124
0.584895
csetraynor
dc3280a3a76518bc325fbc6be30ddd3f46936cd0
2,793
hpp
C++
include/framework/Parser.hpp
Vitaliy-Grigoriev/Protocol-Analyzer
853aef9cfe355db481f558a2cdee298cc57d0ee4
[ "MIT" ]
14
2018-02-06T20:45:00.000Z
2020-06-23T06:53:51.000Z
include/framework/Parser.hpp
Vitaliy-Grigoriev/http2-analyzer
853aef9cfe355db481f558a2cdee298cc57d0ee4
[ "MIT" ]
null
null
null
include/framework/Parser.hpp
Vitaliy-Grigoriev/http2-analyzer
853aef9cfe355db481f558a2cdee298cc57d0ee4
[ "MIT" ]
6
2018-02-03T11:53:52.000Z
2020-05-07T03:10:29.000Z
// ============================================================================ // Copyright (c) 2017-2019, by Vitaly Grigoriev, <Vit.link420@gmail.com>. // This file is part of ProtocolAnalyzer open source project under MIT License. // ============================================================================ #ifnd...
33.25
110
0.56212
Vitaliy-Grigoriev
dc333129b23470245651fa871f40e2980aedba3c
772
cpp
C++
tools/train/source/parameters/Distributions.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
6,958
2019-05-06T02:38:02.000Z
2022-03-31T18:08:48.000Z
tools/train/source/parameters/Distributions.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1,775
2019-05-06T04:40:19.000Z
2022-03-30T15:39:24.000Z
tools/train/source/parameters/Distributions.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1,511
2019-05-06T02:38:05.000Z
2022-03-31T16:59:39.000Z
// // Distributions.cpp // MNN // // Created by MNN on 2019/11/28. // Copyright © 2018, Alibaba Group Holding Limited // #include "Distributions.hpp" #include <cmath> namespace MNN { namespace Train { void Distributions::uniform(const int count, const float min, const float max, float *r, std::mt19937 gen) { ...
24.903226
110
0.641192
xhuan28
dc344799ac401d7747b1ddd615442c7520b21c43
7,422
cc
C++
F/src/vbobuild.cc
vaginessa/Ctrl-Alt-Test
b981ebdbc6b0678f004c4052d70ebb56af2d89a0
[ "Apache-2.0" ]
114
2015-04-14T10:30:05.000Z
2021-06-11T02:57:59.000Z
F/src/vbobuild.cc
vaginessa/Ctrl-Alt-Test
b981ebdbc6b0678f004c4052d70ebb56af2d89a0
[ "Apache-2.0" ]
null
null
null
F/src/vbobuild.cc
vaginessa/Ctrl-Alt-Test
b981ebdbc6b0678f004c4052d70ebb56af2d89a0
[ "Apache-2.0" ]
11
2015-07-26T02:11:32.000Z
2020-04-02T21:06:15.000Z
// // Construction de VBO // #include "vbobuild.hh" #include "sys/msys.h" #include "sys/msys_debug.h" #include "cube.hh" namespace VBO { // ========================================================================= // Versions pour les hommes, où il faut gérer les indices // Version de base, avec position et ...
27.286765
78
0.545001
vaginessa
dc34f47fa4d9615c28b7a730d60cb4f2947b0ccf
21,402
cpp
C++
src/Preprocessor.cpp
adcirc/gahm
bf31b2478bc8db1b41c3d8fac65acf034b6a743c
[ "MIT" ]
1
2021-07-21T00:59:59.000Z
2021-07-21T00:59:59.000Z
src/Preprocessor.cpp
adcirc/gahm
bf31b2478bc8db1b41c3d8fac65acf034b6a743c
[ "MIT" ]
null
null
null
src/Preprocessor.cpp
adcirc/gahm
bf31b2478bc8db1b41c3d8fac65acf034b6a743c
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2020 ADCIRC Development Group // // 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, ...
39.126143
80
0.60985
adcirc
dc3622a3bce0a9d3a996629a687830e67f4b9399
3,636
cpp
C++
tests/src/TerminalOutputTests.cpp
codesmithyide/ishiko-cpp-terminal
643b551fd01471323e2ffd118670ed529014822b
[ "MIT" ]
null
null
null
tests/src/TerminalOutputTests.cpp
codesmithyide/ishiko-cpp-terminal
643b551fd01471323e2ffd118670ed529014822b
[ "MIT" ]
null
null
null
tests/src/TerminalOutputTests.cpp
codesmithyide/ishiko-cpp-terminal
643b551fd01471323e2ffd118670ed529014822b
[ "MIT" ]
null
null
null
/* Copyright (c) 2020 Xavier Leclercq Released under the MIT License See https://github.com/Ishiko-cpp/Terminal/blob/master/LICENSE.txt */ #include "TerminalOutputTests.h" #include "Ishiko/Terminal/TerminalOutput.h" #include <Ishiko/Process/CurrentProcess.h> #include <boost/filesystem/operations.hpp> usin...
36
123
0.768977
codesmithyide
dc37ebc2fe2e18f2e37f8402565df01993e2b02f
1,290
inl
C++
include/msstl/converted/xcharconv.h.inl
iboB/mscharconv
7c4bd58ebabda50140ee833c8b869d6ca1d11243
[ "Apache-2.0" ]
34
2021-04-17T14:25:24.000Z
2021-08-21T19:22:58.000Z
include/msstl/converted/xcharconv.h.inl
iboB/mscharconv
7c4bd58ebabda50140ee833c8b869d6ca1d11243
[ "Apache-2.0" ]
1
2021-11-19T00:30:13.000Z
2021-11-26T04:13:38.000Z
include/msstl/converted/xcharconv.h.inl
iboB/mscharconv
7c4bd58ebabda50140ee833c8b869d6ca1d11243
[ "Apache-2.0" ]
3
2021-04-17T14:25:27.000Z
2021-08-06T08:28:09.000Z
// xcharconv.h internal header // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception //~ #pragma once #ifndef _XCHARCONV_H #define _XCHARCONV_H //~ #include <yvals_core.h> //~ #if _STL_COMPILER_PREPROCESSOR //~ #include <cstdint> //~ #include <type_traits> //~ #include <x...
23.888889
117
0.693798
iboB
dc3a411dcdb33e8e5a1608ec599746c217ea97e4
734
hpp
C++
include/nall/string/char/utility.hpp
wareya/kotareci
14c87d1364d442456f93cebe73a288f85b79ba74
[ "Libpng" ]
null
null
null
include/nall/string/char/utility.hpp
wareya/kotareci
14c87d1364d442456f93cebe73a288f85b79ba74
[ "Libpng" ]
null
null
null
include/nall/string/char/utility.hpp
wareya/kotareci
14c87d1364d442456f93cebe73a288f85b79ba74
[ "Libpng" ]
null
null
null
#ifdef NALL_STRING_INTERNAL_HPP namespace nall { template<bool Insensitive> bool chrequal(char x, char y) { if(Insensitive) return chrlower(x) == chrlower(y); return x == y; } template<bool Quoted, typename T> bool quoteskip(T*& p) { if(Quoted == false) return false; if(*p != '\'' && *p != '\"') return false...
18.35
52
0.506812
wareya
dc3ce990dd73312c8a8ac7a634e63da91dac404f
6,781
cpp
C++
source/microbit/microbiti2c.cpp
kopp/minipython
c26f50028e98e20c760cf63588ff46786c7304e1
[ "MIT" ]
null
null
null
source/microbit/microbiti2c.cpp
kopp/minipython
c26f50028e98e20c760cf63588ff46786c7304e1
[ "MIT" ]
null
null
null
source/microbit/microbiti2c.cpp
kopp/minipython
c26f50028e98e20c760cf63588ff46786c7304e1
[ "MIT" ]
null
null
null
/* * This file is part of the MiniPython project, http://minipython.org/ * * The MIT License (MIT) * * Copyright (c) 2015-2017 Kevin Thomas * * 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 S...
37.054645
105
0.699897
kopp
dc40a7c67eb1603a55fdb5c56b0fe89b3c260e25
8,226
cpp
C++
openstudiocore/src/model/test/GroundHeatExchangerVertical_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-04-21T15:38:54.000Z
2019-04-21T15:38:54.000Z
openstudiocore/src/model/test/GroundHeatExchangerVertical_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
null
null
null
openstudiocore/src/model/test/GroundHeatExchangerVertical_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-07-18T06:52:29.000Z
2019-07-18T06:52:29.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
37.221719
120
0.752127
hongyuanjia
dc4172443571ea59ac06aa0e3f45d066c5e10c74
3,568
cpp
C++
regression/reference/example/pyUserLibrarymodule.cpp
ExternalRepositories/shroud
86c39d2324d947d28055f9024f52cc493eb0c813
[ "BSD-3-Clause" ]
73
2017-10-11T17:01:50.000Z
2022-01-01T21:42:12.000Z
regression/reference/example/pyUserLibrarymodule.cpp
ExternalRepositories/shroud
86c39d2324d947d28055f9024f52cc493eb0c813
[ "BSD-3-Clause" ]
29
2018-03-21T19:34:29.000Z
2022-02-04T18:13:14.000Z
regression/reference/example/pyUserLibrarymodule.cpp
ExternalRepositories/shroud
86c39d2324d947d28055f9024f52cc493eb0c813
[ "BSD-3-Clause" ]
8
2017-11-22T14:27:01.000Z
2022-03-30T08:49:03.000Z
// pyUserLibrarymodule.cpp // This file is generated by Shroud nowrite-version. Do not edit. // Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Shroud Project Developers. // See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) // #include "pyUserLib...
25.126761
77
0.71889
ExternalRepositories
dc42d4f656d36b3228e4cc905fd4ae855bd88645
1,529
cpp
C++
test/function/leak/target.cpp
Jk-bit/stumpless
e7374b7b9f5618b335c5e657c759a5c47fb8499f
[ "Apache-2.0" ]
28
2019-03-20T22:33:11.000Z
2022-03-19T16:59:21.000Z
test/function/leak/target.cpp
Jk-bit/stumpless
e7374b7b9f5618b335c5e657c759a5c47fb8499f
[ "Apache-2.0" ]
204
2017-10-08T22:26:31.000Z
2022-03-26T16:16:51.000Z
test/function/leak/target.cpp
Jk-bit/stumpless
e7374b7b9f5618b335c5e657c759a5c47fb8499f
[ "Apache-2.0" ]
30
2020-01-17T17:48:49.000Z
2022-03-13T06:18:20.000Z
// SPDX-License-Identifier: Apache-2.0 /* * Copyright 2019-2020 Joel E. Anderson * * 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.8
75
0.671681
Jk-bit
dc43ac26e14ecadfa5e82081eaa80a7b45c1a934
5,295
cpp
C++
Source/ObjectProxy.cpp
nolancs/OrangeMUD
3db3ddf73855bb76110d7a6a8e67271c36652b04
[ "MIT" ]
4
2020-01-25T04:20:07.000Z
2022-01-14T02:59:28.000Z
Source/ObjectProxy.cpp
nolancs/OrangeMUD
3db3ddf73855bb76110d7a6a8e67271c36652b04
[ "MIT" ]
null
null
null
Source/ObjectProxy.cpp
nolancs/OrangeMUD
3db3ddf73855bb76110d7a6a8e67271c36652b04
[ "MIT" ]
1
2020-04-01T04:36:48.000Z
2020-04-01T04:36:48.000Z
/****************************************************************************** Author: Matthew Nolan OrangeMUD Codebase Date: January 2001 [Crossplatform] License: MIT License Permission is hereby granted, free of charge, to any pers...
19.046763
79
0.552786
nolancs
dc465eb06aee5b46116e2c94acc01f27161d8217
5,761
cpp
C++
src/DialogManager/DialogManager/src/CExpressionPicker.cpp
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
3
2019-11-26T05:33:47.000Z
2020-05-18T06:49:41.000Z
src/DialogManager/DialogManager/src/CExpressionPicker.cpp
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
null
null
null
src/DialogManager/DialogManager/src/CExpressionPicker.cpp
xylsxyls/xueyelingshuan
61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9
[ "MIT" ]
null
null
null
#include "CExpressionPicker.h" #include <QHeaderView> #include <QMouseEvent> #include "CExpressionPickerDelegate.h" #include <QDebug> CExpressionPicker::CExpressionPicker(QWidget *parent) :QTableView(parent) ,mModel(new QStandardItemModel(this)) ,mPreView(new QLabel(this)) ,mShowPreView(fal...
25.267544
87
0.619511
xylsxyls
dc469b8ca9fec546a251c4f9eb45ca3db0986ab9
2,777
cpp
C++
Source/Services/Misc/contextual_search_game_clip_uri_info.cpp
claytonv/xbox-live-api
d8db86cf930085c7547ae95999c9b301506de343
[ "MIT" ]
3
2020-07-15T17:50:24.000Z
2021-11-17T11:15:11.000Z
Source/Services/Misc/contextual_search_game_clip_uri_info.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
null
null
null
Source/Services/Misc/contextual_search_game_clip_uri_info.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
1
2021-02-01T01:56:08.000Z
2021-02-01T01:56:08.000Z
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "xsapi/contextual_search_service.h" NAMESPACE_MICROSOFT_XBOX_SERVICES_CONTEXTUAL_SEARCH_CPP_BEGIN contextual_search_game_clip_uri_info::contextual_se...
30.855556
107
0.764494
claytonv
dc4e683a355e65a3d1e39c1feca306c11c8830cb
8,329
cpp
C++
Source/FSD/Private/FSDWidgetBlueprintLibrary.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
8
2021-07-10T20:06:05.000Z
2022-03-04T19:03:50.000Z
Source/FSD/Private/FSDWidgetBlueprintLibrary.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
9
2022-01-13T20:49:44.000Z
2022-03-27T22:56:48.000Z
Source/FSD/Private/FSDWidgetBlueprintLibrary.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
2
2021-07-10T20:05:42.000Z
2022-03-14T17:05:35.000Z
#include "FSDWidgetBlueprintLibrary.h" #include "Templates/SubclassOf.h" class UObject; class UWidget; class UHorizontalBox; class UUserWidget; class UWidgetAnimation; class USizeBox; class UPanelWidget; class UTextBlock; class UImage; class UWindowWidget; class AFSDPlayerState; class UFSDCheatManager; class APlayerCo...
37.017778
312
0.817505
Dr-Turtle
dc4e79d12722135d83cc445feee48bd77d308cff
4,491
cpp
C++
App.BeanOfLight/src/AnimalThirdPersonControler.cpp
BeanOfLight/BeanOfLight
ec8ae0d81fd548c2128d6e8ae8860e6e34c36e52
[ "MIT" ]
null
null
null
App.BeanOfLight/src/AnimalThirdPersonControler.cpp
BeanOfLight/BeanOfLight
ec8ae0d81fd548c2128d6e8ae8860e6e34c36e52
[ "MIT" ]
null
null
null
App.BeanOfLight/src/AnimalThirdPersonControler.cpp
BeanOfLight/BeanOfLight
ec8ae0d81fd548c2128d6e8ae8860e6e34c36e52
[ "MIT" ]
null
null
null
#include "AnimalThirdPersonControler.h" #include <OgreMath.h> #include "TerrainUtils.h" const float camDist = 900.f; AnimalThirdPersonControler::AnimalThirdPersonControler() : m_lookAround(false), m_camDistance(camDist), m_camAngularSpeed(0.0015f), m_camHeightOffset(0.f), m_pCamera(nullptr), m_pAnimal(nullptr...
32.543478
153
0.754843
BeanOfLight
dc51223a2a6ac53b1f377668309060dc08f17033
1,537
cpp
C++
src/kernels/cpu/roi_align.cpp
ViewFaceCore/TenniS
c1d21a71c1cd025ddbbe29924c8b3296b3520fc0
[ "BSD-2-Clause" ]
null
null
null
src/kernels/cpu/roi_align.cpp
ViewFaceCore/TenniS
c1d21a71c1cd025ddbbe29924c8b3296b3520fc0
[ "BSD-2-Clause" ]
null
null
null
src/kernels/cpu/roi_align.cpp
ViewFaceCore/TenniS
c1d21a71c1cd025ddbbe29924c8b3296b3520fc0
[ "BSD-2-Clause" ]
null
null
null
// // Created by kier on 2019-09-03. // #include "runtime/operator.h" #include "global/operator_factory.h" #include "backend/name.h" #include "core/tensor_builder.h" #include "runtime/stack.h" #include "kernels/cpu/operator_on_cpu.h" #include "backend/base/base_roi_align.h" #include "dragon/roi_align_op.h" /** * THi...
28.462963
95
0.585556
ViewFaceCore
dc51ab493c502205b7f761e6168f2ae218120cc9
59,189
cpp
C++
tests/juliet/testcases/CWE675_Duplicate_Operations_on_Resource/main.cpp
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
28
2017-01-20T15:25:54.000Z
2020-03-17T00:28:31.000Z
tests/juliet/testcases/CWE675_Duplicate_Operations_on_Resource/main.cpp
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
1
2021-07-12T02:57:17.000Z
2021-07-16T02:07:29.000Z
tests/juliet/testcases/CWE675_Duplicate_Operations_on_Resource/main.cpp
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
2
2019-07-15T19:07:04.000Z
2019-09-07T14:21:04.000Z
/* NOTE - eventually this file will be automatically updated using a Perl script that understand * the naming of test case files, functions, and namespaces. */ #include <time.h> /* for time() */ #include <stdlib.h> /* for srand() */ #include "std_testcase.h" #include "testcases.h" int main(int argc, ch...
46.938144
97
0.871513
RanerL
dc54953678bd002e7bf38c74658598e37771f97d
2,783
cpp
C++
samples/cpp/create_mask.cpp
thisisgopalmandal/opencv
4e2ef8c8f57644ccb8e762a37f70a61007c6be1c
[ "BSD-3-Clause" ]
56
2020-03-24T15:17:56.000Z
2022-03-21T13:44:08.000Z
samples/cpp/create_mask.cpp
thisisgopalmandal/opencv
4e2ef8c8f57644ccb8e762a37f70a61007c6be1c
[ "BSD-3-Clause" ]
9
2019-10-19T06:55:30.000Z
2019-10-21T15:08:33.000Z
samples/cpp/create_mask.cpp
thisisgopalmandal/opencv
4e2ef8c8f57644ccb8e762a37f70a61007c6be1c
[ "BSD-3-Clause" ]
15
2020-05-06T13:41:20.000Z
2022-03-31T19:15:47.000Z
/* * create_mask.cpp * * Author: * Siddharth Kherada <siddharthkherada27[at]gmail[dot]com> * * This tutorial demonstrates how to make mask image (black and white). * The program takes as input a source image and outputs its corresponding * mask image. */ #include "opencv2/imgproc.hpp" #include "opencv2/imgcodecs.hpp" ...
23
78
0.551563
thisisgopalmandal
dc57539f88602e33d29c83670d425b7994305558
4,469
hpp
C++
include/desola/profiling/EqualityCheckingVisitor.hpp
FrancisRussell/desola
a469428466e4849c7c0e2009a0c50b89184cae01
[ "Apache-2.0" ]
2
2021-12-17T10:46:20.000Z
2021-12-18T11:53:50.000Z
include/desola/profiling/EqualityCheckingVisitor.hpp
FrancisRussell/desola
a469428466e4849c7c0e2009a0c50b89184cae01
[ "Apache-2.0" ]
null
null
null
include/desola/profiling/EqualityCheckingVisitor.hpp
FrancisRussell/desola
a469428466e4849c7c0e2009a0c50b89184cae01
[ "Apache-2.0" ]
null
null
null
/****************************************************************************/ /* Copyright 2005-2006, Francis Russell */ /* */ /* Licensed under the Apache License, Version 2.0 (the License); */ /* y...
22.685279
142
0.573059
FrancisRussell
dc58390656a009f243fd7e7855f84365afe22107
10,279
cpp
C++
src/raytracing/nvpro_core/nvvk/buffersuballocator_vk.cpp
zorofee/bgfx
56e69c858d56f452e8abe9902a760e5b4ba59747
[ "BSD-2-Clause" ]
null
null
null
src/raytracing/nvpro_core/nvvk/buffersuballocator_vk.cpp
zorofee/bgfx
56e69c858d56f452e8abe9902a760e5b4ba59747
[ "BSD-2-Clause" ]
null
null
null
src/raytracing/nvpro_core/nvvk/buffersuballocator_vk.cpp
zorofee/bgfx
56e69c858d56f452e8abe9902a760e5b4ba59747
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2014-2021, NVIDIA CORPORATION. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
28.792717
129
0.67633
zorofee
dc5dd1a91bef80ba080bbcc5820c6b3ea8ac9b14
2,771
cpp
C++
src/listener.cpp
lydiazoghbi/beginner_tutorials
cbf5d5a7a44e8c6005b511ed0fc9a8a1dc937056
[ "Unlicense", "BSD-3-Clause" ]
null
null
null
src/listener.cpp
lydiazoghbi/beginner_tutorials
cbf5d5a7a44e8c6005b511ed0fc9a8a1dc937056
[ "Unlicense", "BSD-3-Clause" ]
null
null
null
src/listener.cpp
lydiazoghbi/beginner_tutorials
cbf5d5a7a44e8c6005b511ed0fc9a8a1dc937056
[ "Unlicense", "BSD-3-Clause" ]
null
null
null
/* * BSD License * * Copyright (c) Lydia Zoghbi 2019 * * 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 the So...
33.792683
82
0.716348
lydiazoghbi
dc5e42057a892a1fbbb263c7034c46d30d45da19
5,163
cpp
C++
dev/Code/CryEngine/CryAction/FlowSystem/Nodes/FlowTrackEventNode.cpp
crazyskateface/lumberyard
164512f8d415d6bdf37e195af319ffe5f96a8f0b
[ "AML" ]
1
2020-03-24T04:54:22.000Z
2020-03-24T04:54:22.000Z
dev/Code/CryEngine/CryAction/FlowSystem/Nodes/FlowTrackEventNode.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
null
null
null
dev/Code/CryEngine/CryAction/FlowSystem/Nodes/FlowTrackEventNode.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
2
2019-07-09T00:03:08.000Z
2020-03-24T04:54:27.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
27.031414
113
0.647879
crazyskateface
dc5eba32b42ce287379b17be3d5bdf1d80ce1415
826
cc
C++
geometry/plane.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
1
2022-02-28T04:19:34.000Z
2022-02-28T04:19:34.000Z
geometry/plane.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
null
null
null
geometry/plane.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
null
null
null
#include "plane.hh" namespace geometry { bool Plane::intersect(const Line& line, Out<Vec3> point) const { constexpr double EPS = 1e-7; if (line.direction.cross(normal).norm() < EPS) { // Parallel return false; } const double d = (origin - line.point).dot(normal) / (line.direction.dot(normal)); *po...
22.324324
84
0.634383
IJDykeman
dc60dddf0d676504c596858d35dfb257261b7d45
259
hpp
C++
src/modules/osgViewer/generated_code/RecordCameraPathHandler.pypp.hpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
src/modules/osgViewer/generated_code/RecordCameraPathHandler.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
src/modules/osgViewer/generated_code/RecordCameraPathHandler.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-11-28T17:00:31.000Z
2020-01-08T07:00:59.000Z
// This file has been generated by Py++. #ifndef RecordCameraPathHandler_hpp__pyplusplus_wrapper #define RecordCameraPathHandler_hpp__pyplusplus_wrapper void register_RecordCameraPathHandler_class(); #endif//RecordCameraPathHandler_hpp__pyplusplus_wrapper
28.777778
55
0.880309
JaneliaSciComp
dc6110aa5a8ab5613b01d86632d47725e2432275
2,918
cpp
C++
soccer/src/soccer/radio/radio.cpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
200
2015-01-26T01:45:34.000Z
2022-03-19T13:05:31.000Z
soccer/src/soccer/radio/radio.cpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
1,254
2015-01-03T01:57:35.000Z
2022-03-16T06:32:21.000Z
soccer/src/soccer/radio/radio.cpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
206
2015-01-21T02:03:18.000Z
2022-02-01T17:57:46.000Z
#include "radio.hpp" namespace radio { DEFINE_FLOAT64(kRadioParamModule, timeout, 0.25, "Timeout after which radio will assume a robot is disconnected. Seconds."); Radio::Radio() : Node{"radio", rclcpp::NodeOptions{} .automatically_declare_parameters_from_overrides(true) ...
43.552239
100
0.577108
xiaoqingyu0113
dc62bad401397865017b61073ec57761399965c8
14,278
cpp
C++
openstudiocore/src/model/YearDescription.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/model/YearDescription.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/model/YearDescription.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
33.516432
155
0.698697
ORNL-BTRIC
dc64e0ed895adde1606bd1f077143af6656b5d9c
19,068
cpp
C++
CodeGenere/photogram/cEqAppui_NoDist__PProjInc_M2CFour11x2.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
CodeGenere/photogram/cEqAppui_NoDist__PProjInc_M2CFour11x2.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
CodeGenere/photogram/cEqAppui_NoDist__PProjInc_M2CFour11x2.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
// File Automatically generated by eLiSe #include "StdAfx.h" #include "cEqAppui_NoDist__PProjInc_M2CFour11x2.h" cEqAppui_NoDist__PProjInc_M2CFour11x2::cEqAppui_NoDist__PProjInc_M2CFour11x2(): cElCompiledFonc(2) { AddIntRef (cIncIntervale("Intr",0,16)); AddIntRef (cIncIntervale("Orient",16,22)); AddIntRef...
38.05988
165
0.707363
kikislater
dc64ff403dd7d036b83871e06a9e3282ee996373
5,488
cpp
C++
src/trace/DXInterceptor/dxcodegen/Generator/StructHelperGenerator.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
23
2016-01-14T04:47:13.000Z
2022-01-13T14:02:08.000Z
src/trace/DXInterceptor/dxcodegen/Generator/StructHelperGenerator.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
2
2018-03-25T14:39:20.000Z
2022-03-18T05:11:21.000Z
src/trace/DXInterceptor/dxcodegen/Generator/StructHelperGenerator.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
17
2016-02-13T05:35:35.000Z
2022-03-24T16:05:40.000Z
//////////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "Config/GeneratorConfiguration.h" #include "Items/StructSpecificCode.h" #include "Items/StructDescription.h" #include "Generator/StructHelperGenerator.h" using namespace std; using namespace dxcodegen::Config...
33.876543
208
0.552843
attila-sim
dc659f25833a9c5bc406113db9e33bfe67a989a1
1,165
cpp
C++
C-Plus-Plus/math/armstrong_number.cpp
zhcet19/NeoAlgo-1
c534a23307109280bda0e4867d6e8e490002a4ee
[ "MIT" ]
897
2020-06-25T00:12:52.000Z
2022-03-24T00:49:31.000Z
C-Plus-Plus/math/armstrong_number.cpp
zhcet19/NeoAlgo-1
c534a23307109280bda0e4867d6e8e490002a4ee
[ "MIT" ]
5,707
2020-06-24T17:53:28.000Z
2022-01-22T05:03:15.000Z
C-Plus-Plus/math/armstrong_number.cpp
zhcet19/NeoAlgo-1
c534a23307109280bda0e4867d6e8e490002a4ee
[ "MIT" ]
1,817
2020-06-25T03:51:05.000Z
2022-03-29T05:14:07.000Z
/* In recreational number theory, a narcissistic number is also known as a pluperfect digital invariant (PPDI), an Armstrong number or a plus perfect number is a number that is the sum of its digits each raised to the power of the number of digits. */ #include <bits/stdc++.h> using namespace std; // Function to check...
20.086207
84
0.681545
zhcet19
dc6678ef9afe543c5d5deced9af83b002c54688a
347
cpp
C++
src/package.cpp
michaelbrockus/ram-package-cpp
a7cfb37239c6cf49e15e9291c504175d7fac3c47
[ "Apache-2.0" ]
null
null
null
src/package.cpp
michaelbrockus/ram-package-cpp
a7cfb37239c6cf49e15e9291c504175d7fac3c47
[ "Apache-2.0" ]
1
2021-11-29T23:15:50.000Z
2021-11-29T23:15:50.000Z
src/package.cpp
michaelbrockus/ram-package-cpp
a7cfb37239c6cf49e15e9291c504175d7fac3c47
[ "Apache-2.0" ]
null
null
null
// // file: package.cpp // author: Michael Brockus // gmail: <michaelbrockus@gmail.com> // #include "hackazon/package.hpp" // // Should return a greeting message as it’s initial value // // Param list: // -> There is none to speak of at this time. // const char *hak::greet(void) { return "Hello, C++ Developer."; }...
19.277778
57
0.665706
michaelbrockus
dc68b8da5e55997fa812e97a16c0ff0cdf99d031
1,680
hpp
C++
src/BinaryBuffer.hpp
HU-ACTS/sensor-module
6277cba8eb41cf3ecb0aafd58ed25d58abff2d81
[ "Apache-2.0" ]
null
null
null
src/BinaryBuffer.hpp
HU-ACTS/sensor-module
6277cba8eb41cf3ecb0aafd58ed25d58abff2d81
[ "Apache-2.0" ]
null
null
null
src/BinaryBuffer.hpp
HU-ACTS/sensor-module
6277cba8eb41cf3ecb0aafd58ed25d58abff2d81
[ "Apache-2.0" ]
null
null
null
/** * @file binaryBuffer.hpp * @data 21 september, 2017 * * \class BinaryBuffer * * \brief Buffer between sensor and SPI SD write * * This class holds a finite amount of data and acts * as a FiFo. */ #pragma once #include <vector> #include "SystemVariables.hpp" #include "esp_log.h" class BinaryBuffer...
19.310345
121
0.630357
HU-ACTS
dc6a20cd581d10f2831db74ceee608e7064af81d
6,589
cpp
C++
tp4/test/tests.cpp
ctrlMarcio/feup-cal
ba9004e2c5d0612c1d4eda93f00ce126cce091d2
[ "MIT" ]
null
null
null
tp4/test/tests.cpp
ctrlMarcio/feup-cal
ba9004e2c5d0612c1d4eda93f00ce126cce091d2
[ "MIT" ]
null
null
null
tp4/test/tests.cpp
ctrlMarcio/feup-cal
ba9004e2c5d0612c1d4eda93f00ce126cce091d2
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "../src/Graph.h" #include "../src/Person.h" using namespace std; using testing::Eq; void createNetwork(Graph<Person> & net1) { Person p1("Ana",19); Person p2("Carlos",33); Person p3("Filipe", 20); Person p4("Ines", 18); Person p5("Maria",...
28.899123
91
0.604948
ctrlMarcio
dc6b1ac6b929f04af408a582bff1b04a643f3be5
496
cpp
C++
src/qt/ionspaymentprocessor.cpp
IOCoin/Chameleon-
6d4ad8e1dc7127fd992d65ce0c7039d0248f8b5a
[ "MIT" ]
3
2019-04-28T14:45:33.000Z
2021-04-15T09:04:32.000Z
src/qt/ionspaymentprocessor.cpp
IOCoin/Chameleon-
6d4ad8e1dc7127fd992d65ce0c7039d0248f8b5a
[ "MIT" ]
null
null
null
src/qt/ionspaymentprocessor.cpp
IOCoin/Chameleon-
6d4ad8e1dc7127fd992d65ce0c7039d0248f8b5a
[ "MIT" ]
1
2019-07-07T03:19:05.000Z
2019-07-07T03:19:05.000Z
#include "ionspaymentprocessor.h" #include <QString> #include <iostream> IONSPaymentProcessor::IONSPaymentProcessor(BitcoinGUI * gui, QObject * parent) : QObject(parent), gui(gui) { } void IONSPaymentProcessor::pay(QString address, QString fee) { QString uri("chameleon:" + address + "?amount=" + fee); gui...
19.84
78
0.719758
IOCoin
dc6bd473fb4f511baf9097d7d38c69e7d537650f
4,209
cxx
C++
Source/Applications/AppCommon/pqCMBColorMapWidget.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
Source/Applications/AppCommon/pqCMBColorMapWidget.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
Source/Applications/AppCommon/pqCMBColorMapWidget.cxx
developkits/cmb
caaf9cd7ffe0b7c1ac3be9edbce0f9430068d2cb
[ "BSD-3-Clause" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
26.980769
91
0.692801
developkits
dc6c5b6abbdafa433eaf0cba7d63ccaf1937fec2
1,567
cpp
C++
test/main.cpp
zzh8829/LOLMapView
a042cc6c32fac170b5050a19bf5f72b36bc2189e
[ "MIT" ]
5
2015-08-16T02:23:18.000Z
2021-07-23T19:00:16.000Z
test/main.cpp
zzh8829/LOLMapView
a042cc6c32fac170b5050a19bf5f72b36bc2189e
[ "MIT" ]
1
2021-01-16T14:50:17.000Z
2021-01-16T14:50:17.000Z
test/main.cpp
zzh8829/LOLMapView
a042cc6c32fac170b5050a19bf5f72b36bc2189e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <algorithm> #include <cstring> #include <set> using namespace std; class Class { public: virtual int func1() { return 0; } virtual int func2() { return 1; } int var1; float var2; }; class Der : public Class { public: int func1() { return ...
13.168067
60
0.557754
zzh8829
dc6c883d239f80c74a1828fe076332e42a412f95
5,215
hpp
C++
shared/ebm_native/TreeSweep.hpp
StanislavParovoy/interpret
e2cdb2690988c953ebed81343d6b99e831d3bdf1
[ "MIT" ]
2,674
2019-10-03T14:14:35.000Z
2022-03-31T13:40:49.000Z
shared/ebm_native/TreeSweep.hpp
StanislavParovoy/interpret
e2cdb2690988c953ebed81343d6b99e831d3bdf1
[ "MIT" ]
257
2019-11-08T19:22:56.000Z
2022-03-29T20:09:07.000Z
shared/ebm_native/TreeSweep.hpp
StanislavParovoy/interpret
e2cdb2690988c953ebed81343d6b99e831d3bdf1
[ "MIT" ]
367
2019-10-31T15:33:21.000Z
2022-03-31T13:40:50.000Z
// Copyright (c) 2018 Microsoft Corporation // Licensed under the MIT license. // Author: Paul Koch <code@koch.ninja> #ifndef TREE_SWEEP_HPP #define TREE_SWEEP_HPP #include <type_traits> // std::is_standard_layout #include <stddef.h> // size_t, ptrdiff_t #include "ebm_native.h" #include "logging.h" #include "zones.h...
38.62963
133
0.771812
StanislavParovoy
dc6cefc0ede1e6ca1c2b0d630ac5a56aaefd6665
863
cpp
C++
proxygen/lib/http/codec/compress/HPACKEncoderBase.cpp
Mu-L/proxygen
10c368c3fbb7fd357a7c73f8e15dd4cf1d15f399
[ "BSD-3-Clause" ]
null
null
null
proxygen/lib/http/codec/compress/HPACKEncoderBase.cpp
Mu-L/proxygen
10c368c3fbb7fd357a7c73f8e15dd4cf1d15f399
[ "BSD-3-Clause" ]
null
null
null
proxygen/lib/http/codec/compress/HPACKEncoderBase.cpp
Mu-L/proxygen
10c368c3fbb7fd357a7c73f8e15dd4cf1d15f399
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * 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. */ #include <proxygen/lib/http/codec/compress/HPACKEncoderBase.h> namespace proxygen { uint32_t HPAC...
30.821429
79
0.697567
Mu-L
dc7096bc57120b88d88b63f377fb508eaa3183aa
5,104
cpp
C++
src/modules/twinkle.cpp
Cameloah/fairy-in-a-jar
a1ddc913664aff0bc7e9e71a1cd0a8cdecf44074
[ "MIT" ]
null
null
null
src/modules/twinkle.cpp
Cameloah/fairy-in-a-jar
a1ddc913664aff0bc7e9e71a1cd0a8cdecf44074
[ "MIT" ]
null
null
null
src/modules/twinkle.cpp
Cameloah/fairy-in-a-jar
a1ddc913664aff0bc7e9e71a1cd0a8cdecf44074
[ "MIT" ]
null
null
null
#include "modules/twinkle.h" // Background color for 'unlit' pixels // Can be set to CRGB::Black if desired. CRGB gBackgroundColor = CRGB::Black; // Example of dim incandescent fairy light background color // CRGB gBackgroundColor = CRGB(CRGB::FairyLight).nscale8_video(16); // Add or remove palette names from this ...
28.513966
94
0.669867
Cameloah
dc70f7550217cfede7f560d4066f7d67f637bf1e
1,574
cpp
C++
src/elona/browser.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/browser.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/browser.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
#include "browser.hpp" #include <cstdlib> #include <string> #include "../util/range.hpp" #include "config/config.hpp" #ifdef ELONA_OS_WINDOWS #include <windows.h> #endif using namespace std::literals::string_literals; namespace { bool _is_trusted_url(const char* url) { const char* trusted_urls[] = { "...
18.963855
68
0.617535
XrosFade
dc718e28571039e76a6f51489477a1781cb5d665
3,856
cpp
C++
server/api/src/rsDataObjLseek.cpp
aghsmith/irods
31d48a47a4942df688da94b30aa8a5b5210261bb
[ "BSD-3-Clause" ]
1
2022-03-08T13:00:56.000Z
2022-03-08T13:00:56.000Z
server/api/src/rsDataObjLseek.cpp
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
server/api/src/rsDataObjLseek.cpp
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
#include "irods/rsDataObjLseek.hpp" #include "irods/dataObjLseek.h" #include "irods/rodsLog.h" #include "irods/rsGlobalExtern.hpp" #include "irods/rcGlobalExtern.h" #include "irods/subStructFileLseek.h" #include "irods/objMetaOpr.hpp" #include "irods/subStructFileUnlink.h" #include "irods/rsSubStructFileLseek.hpp" #in...
34.738739
102
0.696577
aghsmith
dc7207b35da8dff0d9bbfe3d8c601d9a94f5cafd
11,439
hxx
C++
com/rpc/runtime/mtrt/secclnt.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/rpc/runtime/mtrt/secclnt.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/rpc/runtime/mtrt/secclnt.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (C) Microsoft Corporation, 1991 - 1999 Module Name: secclnt.hxx Abstract: This file contains an abstraction to the security support for clients and that which is common to both servers and clients. Author: Michael Montague (mikemon) 10-Apr-1992 Revision History: ...
20.648014
93
0.655564
npocmaka
dc789022f623c1b1bcf6e21863d05f788dee77d7
6,192
cpp
C++
Source/WebCore/html/HTMLSlotElement.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/WebCore/html/HTMLSlotElement.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/WebCore/html/HTMLSlotElement.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2015 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
34.592179
157
0.721576
jacadcaps
dc78e1b955c29b261b2103479ea00bb836c0a31f
3,457
cc
C++
lite/kernels/arm/concat_compute.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
lite/kernels/arm/concat_compute.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
lite/kernels/arm/concat_compute.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
33.240385
78
0.649407
xw-github
dc7b9cfa26f956c189206b088a989af82ea64920
47,529
inl
C++
src/fonts/stb_font_consolas_bold_35_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
3
2018-03-13T12:51:57.000Z
2021-10-11T11:32:17.000Z
src/fonts/stb_font_consolas_bold_35_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
src/fonts/stb_font_consolas_bold_35_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
// Font generated by stb_font_inl_generator.c (4/1 bpp) // // Following instructions show how to use the only included font, whatever it is, in // a generic way so you can replace it with any other font by changing the include. // To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_consolas_bold_35_us...
66.660589
133
0.797913
stetre
dc7c7aad5a84b37e159d8e5fcb8c8879c09905b7
13,988
hpp
C++
libs/ml/include/ml/dataloaders/tensor_dataloader.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
libs/ml/include/ml/dataloaders/tensor_dataloader.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
libs/ml/include/ml/dataloaders/tensor_dataloader.hpp
devjsc/ledger
5681480faf6e2aeee577f149c17745d6ab4d4ab3
[ "Apache-2.0" ]
null
null
null
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Licen...
32.082569
100
0.696097
devjsc
dc7df497c6f0f6510db247d9385e1e9d2214fe87
7,100
cpp
C++
libraries/chain/gravity_evaluator.cpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
8
2018-05-25T17:58:46.000Z
2018-06-23T21:13:26.000Z
libraries/chain/gravity_evaluator.cpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
14
2018-05-25T19:44:30.000Z
2018-08-03T11:35:27.000Z
libraries/chain/gravity_evaluator.cpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
6
2018-05-30T04:37:46.000Z
2019-03-05T14:47:34.000Z
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
43.030303
183
0.600282
petrkotegov
dc804902a46674089cae956272d34190e371d7f6
4,009
hpp
C++
modules/core/linalg/include/nt2/linalg/functions/gallery/kms.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/core/linalg/include/nt2/linalg/functions/gallery/kms.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/core/linalg/include/nt2/linalg/functions/gallery/kms.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
42.2
126
0.499127
pbrunet
dc828fcddb0a659452f04bb7a96fd368e4a1d4d6
4,625
cpp
C++
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/Async Notification Sample/C++/server/library/asyncnotify.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/Async Notification Sample/C++/server/library/asyncnotify.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/Async Notification Sample/C++/server/library/asyncnotify.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
// // Windows Server (Printing) Driver Development Kit Samples. // // // Copyright (c) 1990 - 2005 Microsoft Corporation. // All Rights Reserved. // // // This source code is intended only as a supplement to Microsoft // Development Tools and/or on-line documentation. See these other // materials for detailed in...
34.774436
141
0.568649
zzgchina888
dc86a02d5d9ddea2b60805bb68a57b445ec690dc
3,020
hpp
C++
upass/verifier/upass_verifier.hpp
masc-ucsc/lgraph
923a6f9b9fe7b3fe68d0ef028d9ad597317a0331
[ "BSD-3-Clause" ]
46
2018-05-31T23:07:02.000Z
2019-09-16T20:21:03.000Z
upass/verifier/upass_verifier.hpp
masc-ucsc/lgraph
923a6f9b9fe7b3fe68d0ef028d9ad597317a0331
[ "BSD-3-Clause" ]
120
2018-05-16T23:11:09.000Z
2019-09-25T18:52:49.000Z
upass/verifier/upass_verifier.hpp
masc-ucsc/lgraph
923a6f9b9fe7b3fe68d0ef028d9ad597317a0331
[ "BSD-3-Clause" ]
8
2018-11-08T18:53:52.000Z
2019-09-05T20:04:20.000Z
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #pragma once #include "fmt/format.h" #include "lnast_ntype.hpp" #include "upass_core.hpp" struct uPass_verifier : public upass::uPass { public: using uPass::uPass; // Assignment // void process_assign() override { check_binar...
31.458333
97
0.671854
masc-ucsc
dc87d18e6b2106b111bb9e13745676a8752e419b
2,268
cpp
C++
SocketWatcher/RegisterServer.cpp
kiranjosek/HAM
26ef64aba7064f2279114213fbad37ab8cdafd7b
[ "Apache-2.0" ]
1
2020-06-14T01:16:20.000Z
2020-06-14T01:16:20.000Z
SocketWatcher/RegisterServer.cpp
kiranjosek/HAM
26ef64aba7064f2279114213fbad37ab8cdafd7b
[ "Apache-2.0" ]
null
null
null
SocketWatcher/RegisterServer.cpp
kiranjosek/HAM
26ef64aba7064f2279114213fbad37ab8cdafd7b
[ "Apache-2.0" ]
1
2020-06-14T01:16:21.000Z
2020-06-14T01:16:21.000Z
#include "RegisterServer.h" RegisterServer::RegisterServer(int port) { int sockFd= CreateServerSocket(port); CreateEpollSocket(sockFd); watchEvent = &SocketWatcher::StartServerWatcher; printf("Register Server\n"); } RegisterServer::RegisterServer(char* ipAddr,int port) { int sockFd = CreateClientS...
23.873684
86
0.666226
kiranjosek
dc8807302de6a2674509187012e123a28919d462
7,388
cpp
C++
src/LuminoEngine/src/Graphics/RenderPass.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Graphics/RenderPass.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Graphics/RenderPass.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
/* 移行 Note: map を各 GraphicsResource から CommandBuffer へ移動する。 ※ ネイティブの map (transfar) は RenderPass の外側でなければ使えないので、順序制御するため CommandBuffer に統合したい CommandBuffer と RenderPass は全て pool からインスタンスを得る。インスタンスを外側で保持し続けてはならない。 */ #include "Internal.hpp" #include <LuminoEngine/Graphics/Texture.hpp> #include <LuminoEngine/Gra...
28.091255
177
0.70804
infinnie
dc8812275a6a339a60bb8ae06392c6c1fb9d39ae
1,108
cpp
C++
JTS/CF-B/CF6-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
2
2019-03-18T16:06:10.000Z
2019-04-07T23:17:06.000Z
JTS/CF-B/CF6-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
null
null
null
JTS/CF-B/CF6-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
1
2019-03-18T16:06:52.000Z
2019-03-18T16:06:52.000Z
// Date : 2019-03-26 // Author : Rahul Sharma // Problem : http://codeforces.com/contest/6/problem/B #include <iostream> #include <string> int main() { using namespace std; ios_base::sync_with_stdio(false); cin.tie(0); int n, m; cin >> n >> m; char p; cin >> p; char d[128] = {}...
20.518519
54
0.351083
rahulsrma26
dc88ab7715a71359d350dbea83a12ceea676505c
86,244
cpp
C++
plugin/al/mayautils/AL/maya/utils/NodeHelper.cpp
sopvop/maya-usd
c567a1661152ec2450359767fa2b0ca8cac4dc83
[ "Apache-2.0" ]
1
2020-01-09T06:42:22.000Z
2020-01-09T06:42:22.000Z
plugin/al/mayautils/AL/maya/utils/NodeHelper.cpp
ZhongLingXiao/maya-usd
c567a1661152ec2450359767fa2b0ca8cac4dc83
[ "Apache-2.0" ]
null
null
null
plugin/al/mayautils/AL/maya/utils/NodeHelper.cpp
ZhongLingXiao/maya-usd
c567a1661152ec2450359767fa2b0ca8cac4dc83
[ "Apache-2.0" ]
null
null
null
// // Copyright 2017 Animal Logic // // 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...
33.311703
198
0.568527
sopvop
dc890a98b0b0213c56e0104fdb93a5bbc767409d
744
hpp
C++
samples/omp/KSC-daphne/include/ndt_worker.hpp
rubis-lab/popt-dev
f52b213005fcbce38f326bbd798fa015cca171bc
[ "MIT" ]
1
2021-10-12T09:02:47.000Z
2021-10-12T09:02:47.000Z
samples/omp/KSC-daphne/include/ndt_worker.hpp
rubis-lab/popt-dev
f52b213005fcbce38f326bbd798fa015cca171bc
[ "MIT" ]
null
null
null
samples/omp/KSC-daphne/include/ndt_worker.hpp
rubis-lab/popt-dev
f52b213005fcbce38f326bbd798fa015cca171bc
[ "MIT" ]
null
null
null
// #ifndef __NDTDLWORKER_H__ // #define __NDTDLWORKER_H__ // #include <omp.h> // #include <cmath> // #include <string> // #include <vector> // #include <rts/core/pt.hpp> // #include <rts/op/exp.hpp> // #include "ndt_kernel.hpp" // #include "sched_log.hpp" // #include "sched_core.hpp" // #include "sched_deadline.hpp" //...
24
47
0.625
rubis-lab
dc893fd46df1575862244fb3ec44f42cbb74d463
532
cpp
C++
Codeforces/HelpfulMaths.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
Codeforces/HelpfulMaths.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
Codeforces/HelpfulMaths.cpp
canis-majoris123/CompetitiveProgramming
be6c208abe6e0bd748c3bb0e715787506d73588d
[ "MIT" ]
null
null
null
//https://codeforces.com/problemset/problem/339/A #include<bits/stdc++.h> using namespace std ; #define aakriti string int main() { ios_base::sync_with_stdio(false); cin.tie(0); aakriti s ; int a ; cin >> s ; sort(s.begin(), s.end()); vector<char>v; for(int i = 0; i < s.size(...
19
50
0.443609
canis-majoris123
dc89c2265d0f73f7387fa1aef8b5a46382e8a74f
165,042
cxx
C++
dev/ese/src/ese/dbutil.cxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
1
2021-02-02T07:04:07.000Z
2021-02-02T07:04:07.000Z
dev/ese/src/ese/dbutil.cxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
null
null
null
dev/ese/src/ese/dbutil.cxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "std.hxx" #include "_bt.hxx" #include "_dump.hxx" #include "_space.hxx" #include "stat.hxx" LOCAL ERR ErrDBUTLDumpTables( DBCCINFO *pdbccinfo, PFNTABLE pfntable, VOID* pvCtx = NULL ); #if !defined( MINIMAL_FUNCTIONALITY ) || define...
33.47029
222
0.559197
augustoproiete-forks
dc8beb7e0e475f5430bc7ce23d8e16ac69573998
3,338
cpp
C++
src/collision.cpp
vcoutasso/AmiaMond
958a5a935ffd8c702147f1a53dd964dccb566a12
[ "MIT" ]
3
2020-05-13T21:44:25.000Z
2021-09-23T20:21:52.000Z
src/collision.cpp
vcoutasso/AmiaMond
958a5a935ffd8c702147f1a53dd964dccb566a12
[ "MIT" ]
1
2019-06-18T02:08:15.000Z
2019-07-01T18:29:15.000Z
src/collision.cpp
vcoutasso/AmiaMond
958a5a935ffd8c702147f1a53dd964dccb566a12
[ "MIT" ]
1
2020-06-23T17:59:24.000Z
2020-06-23T17:59:24.000Z
/* * File: collision.cpp * Author: Nick (original version), ahnonay (SFML2 compatibility) */ #include <SFML/Graphics.hpp> #include "collision.hpp" namespace Collision { sf::Vector2f GetSpriteCenter(const sf::Sprite & Object) { sf::FloatRect AABB = Object.getGlobalBounds(); return sf::Vector2f(AABB.left + ...
33.717172
185
0.674356
vcoutasso
dc8f0cc38547939dcee1d3a977d40d96e1f7a7d6
2,177
cpp
C++
infer/tests/codetoanalyze/cpp/pulse/fbstring.cpp
JacobBarthelmeh/infer
12c582a69855e17a2cf9c7b6cdf7f8e9c71e5341
[ "MIT" ]
30
2019-06-28T15:20:25.000Z
2021-08-25T11:37:30.000Z
infer/tests/codetoanalyze/cpp/pulse/fbstring.cpp
JacobBarthelmeh/infer
12c582a69855e17a2cf9c7b6cdf7f8e9c71e5341
[ "MIT" ]
39
2019-06-28T15:08:12.000Z
2020-07-17T01:44:33.000Z
infer/tests/codetoanalyze/cpp/pulse/fbstring.cpp
JacobBarthelmeh/infer
12c582a69855e17a2cf9c7b6cdf7f8e9c71e5341
[ "MIT" ]
17
2019-06-28T14:40:41.000Z
2021-03-11T19:26:13.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 <stdlib.h> // Caricature of folly::basic_fbstring without the union between small // and medium/large data representations...
22.214286
99
0.649977
JacobBarthelmeh
dc8ffd8eb171620b43a8b04ac703d218ae42e844
9,300
cpp
C++
Amcl/cpp_armv7l/ecdh_NIST256.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
2
2020-02-28T10:40:12.000Z
2021-02-18T03:32:28.000Z
Amcl/cpp_armv7l/ecdh_NIST256.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
null
null
null
Amcl/cpp_armv7l/ecdh_NIST256.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
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 not use this f...
21.330275
126
0.605806
UoS-SCCS
dc942c79cd64ccf6f1695c44efd44629642dc60b
194
hpp
C++
src/icons.hpp
nagalun/guimachi
571ffcb762d12c14e019106d7324232f90b02729
[ "0BSD" ]
null
null
null
src/icons.hpp
nagalun/guimachi
571ffcb762d12c14e019106d7324232f90b02729
[ "0BSD" ]
null
null
null
src/icons.hpp
nagalun/guimachi
571ffcb762d12c14e019106d7324232f90b02729
[ "0BSD" ]
null
null
null
#pragma once #include <QIcon> #include <QColor> QIcon loadSvgIconReplacingColor(const char * file, QColor newColor); QIcon loadSvgIconReplacingColor(const char * file, const char * newColor);
24.25
74
0.783505
nagalun
dc94724dd0deb1a74db111bf376f1677049459a9
2,118
cpp
C++
factories/UltrasonicFactory.cpp
Team302/2018PowerUp
f681304ce67593e80ade0376ef82abb90ceb201f
[ "MIT" ]
null
null
null
factories/UltrasonicFactory.cpp
Team302/2018PowerUp
f681304ce67593e80ade0376ef82abb90ceb201f
[ "MIT" ]
2
2018-09-07T14:16:18.000Z
2018-09-07T14:18:49.000Z
factories/UltrasonicFactory.cpp
Team302/2018PowerUp
f681304ce67593e80ade0376ef82abb90ceb201f
[ "MIT" ]
null
null
null
/* * UltrasonicFactory.cpp * * Created on: Feb 10, 2018 * Author: team302 */ #include <factories/UltrasonicFactory.h> #include <subsys/components/DragonUltrasonic.h> UltrasonicFactory* UltrasonicFactory::m_ultrasonicFactory = nullptr; DragonUltrasonic* UltrasonicFactory::m_ultrasonic = nullptr; ...
26.810127
90
0.598678
Team302
dc960644bd4b4287355cafc309349aa9403b371c
17,578
cpp
C++
SXR/SDK/sxrsdk/src/main/jni/objects/vertex_buffer.cpp
xcaostagit/sxrsdk
f9fe29de2bdc010cc9cbfc63a4b3d25e910a6de6
[ "Apache-2.0" ]
15
2018-10-24T19:46:44.000Z
2021-11-14T19:57:04.000Z
SXR/SDK/sxrsdk/src/main/jni/objects/vertex_buffer.cpp
xcaostagit/sxrsdk
f9fe29de2bdc010cc9cbfc63a4b3d25e910a6de6
[ "Apache-2.0" ]
84
2018-10-25T15:55:49.000Z
2019-12-10T23:26:45.000Z
SXR/SDK/sxrsdk/src/main/jni/objects/vertex_buffer.cpp
xcaostagit/sxrsdk
f9fe29de2bdc010cc9cbfc63a4b3d25e910a6de6
[ "Apache-2.0" ]
19
2018-10-26T20:44:33.000Z
2019-06-28T14:40:03.000Z
/**** * * VertexBuffer maintains a vertex data array with locations, normals, * colors and texcoords. * ****/ #include "vertex_buffer.h" #include <sstream> #include "glm/gtc/matrix_inverse.hpp" #define NO_LOGGING #include "util/sxr_log.h" namespace sxr { VertexBuffer::VertexBuffer(const char* layout_desc, i...
32.372007
133
0.490898
xcaostagit
dc968986514ea0009709d2dae96c4023c687eb2a
1,486
cpp
C++
altitude.cpp
ErofeevAA/taskCats
16fbcba6a0b824a581c7fed9c720b523a65fb2da
[ "MIT" ]
2
2021-05-02T04:44:00.000Z
2021-07-08T09:39:42.000Z
altitude.cpp
ErofeevAA/taskCats
16fbcba6a0b824a581c7fed9c720b523a65fb2da
[ "MIT" ]
null
null
null
altitude.cpp
ErofeevAA/taskCats
16fbcba6a0b824a581c7fed9c720b523a65fb2da
[ "MIT" ]
null
null
null
#include <fstream> #include <stack> #include <vector> int main() { std::ifstream in_file("input.txt"); int N; in_file >> N; std::vector<int> a(N); for(int i = 0; i < N; ++i) { in_file >> a[i]; } in_file.close(); std::stack<int> stack; std::vector<int> nums_global_end(N); ...
27.018182
77
0.415882
ErofeevAA
dc9b1735c27afca52d4377bf2214dcab05521598
7,466
cc
C++
atom/browser/extensions/api/atom_extensions_api_client.cc
kewde/muon
43661f9a8ceefda8e3aba0e8944a72995aa53281
[ "MIT" ]
1,027
2016-12-24T13:05:29.000Z
2022-02-21T11:07:32.000Z
atom/browser/extensions/api/atom_extensions_api_client.cc
kewde/muon
43661f9a8ceefda8e3aba0e8944a72995aa53281
[ "MIT" ]
366
2016-12-24T05:58:54.000Z
2018-12-31T23:02:03.000Z
atom/browser/extensions/api/atom_extensions_api_client.cc
kewde/muon
43661f9a8ceefda8e3aba0e8944a72995aa53281
[ "MIT" ]
122
2017-01-14T23:48:49.000Z
2022-03-09T01:51:53.000Z
// Copyright (c) 2014 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/extensions/api/atom_extensions_api_client.h" #include <memory> #include <string> #include "atom/browser/extensions/atom_extension_web_contents_observer.h" #inc...
36.960396
81
0.731181
kewde
dc9c070e7a3f13d868daa5d58b9ca8870f42ead4
3,611
cc
C++
cpp/src/parquet/encryption/key_toolkit_internal.cc
davisusanibar/arrow
07ac9fd86c6225f493943e4ab0ff35b0fdbfb2ae
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
1
2021-12-03T13:50:32.000Z
2021-12-03T13:50:32.000Z
cpp/src/parquet/encryption/key_toolkit_internal.cc
davisusanibar/arrow
07ac9fd86c6225f493943e4ab0ff35b0fdbfb2ae
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
2
2021-11-17T14:36:51.000Z
2022-01-23T16:49:53.000Z
cpp/src/parquet/encryption/key_toolkit_internal.cc
davisusanibar/arrow
07ac9fd86c6225f493943e4ab0ff35b0fdbfb2ae
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
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...
43.506024
90
0.715037
davisusanibar
dc9e975a21fb35347041fff95a802f04d365349e
1,049
cpp
C++
modules/imgproc/perf/perf_morph.cpp
thisisgopalmandal/opencv
4e2ef8c8f57644ccb8e762a37f70a61007c6be1c
[ "BSD-3-Clause" ]
56,632
2016-07-04T16:36:08.000Z
2022-03-31T18:38:14.000Z
modules/imgproc/perf/perf_morph.cpp
thisisgopalmandal/opencv
4e2ef8c8f57644ccb8e762a37f70a61007c6be1c
[ "BSD-3-Clause" ]
13,593
2016-07-04T13:59:03.000Z
2022-03-31T21:04:51.000Z
modules/imgproc/perf/perf_morph.cpp
thisisgopalmandal/opencv
4e2ef8c8f57644ccb8e762a37f70a61007c6be1c
[ "BSD-3-Clause" ]
54,986
2016-07-04T14:24:38.000Z
2022-03-31T22:51:18.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #include "perf_precomp.hpp" namespace opencv_test { #define TYPICAL_MAT_TYPES_MORPH CV_8UC1, CV_8UC4 #define TYPICAL_MATS_M...
24.395349
102
0.681602
thisisgopalmandal
dca124941f50c7350815deef4062cbbb64b65b3c
952
cpp
C++
net-p2p/tekcoin/files/patch-src__net.cpp
tuaris/FreeBSD-Coin-Ports
330d9f5a10cf7dc1cddc3566b897bd4e6e265d9f
[ "BSD-2-Clause" ]
4
2016-04-07T23:38:13.000Z
2021-11-19T10:46:46.000Z
net-p2p/tekcoin/files/patch-src__net.cpp
tuaris/FreeBSD-Coin-Ports
330d9f5a10cf7dc1cddc3566b897bd4e6e265d9f
[ "BSD-2-Clause" ]
1
2018-01-20T15:45:23.000Z
2018-01-22T16:22:54.000Z
net-p2p/tekcoin/files/patch-src__net.cpp
tuaris/FreeBSD-Coin-Ports
330d9f5a10cf7dc1cddc3566b897bd4e6e265d9f
[ "BSD-2-Clause" ]
6
2016-04-07T23:41:03.000Z
2019-03-05T08:31:21.000Z
--- src/net.cpp.orig 2015-11-30 23:06:15 UTC +++ src/net.cpp @@ -58,7 +58,7 @@ static bool vfLimited[NET_MAX] = {}; static CNode* pnodeLocalHost = NULL; CAddress addrSeenByPeer(CService("0.0.0.0", 0), nLocalServices); uint64 nLocalHostNonce = 0; -array<int, THREAD_MAX> vnThreadsRunning; +boost::array<int, THREA...
34
84
0.663866
tuaris
dca417e020360b0ff967b917e4575725dfaa9038
404
cc
C++
experiment/memory-referencing-bug-experiment/main.cc
SeanChao/Computer-Systems
00e24308412916f345380fcb4d4a3de257b0c3ec
[ "MIT" ]
null
null
null
experiment/memory-referencing-bug-experiment/main.cc
SeanChao/Computer-Systems
00e24308412916f345380fcb4d4a3de257b0c3ec
[ "MIT" ]
null
null
null
experiment/memory-referencing-bug-experiment/main.cc
SeanChao/Computer-Systems
00e24308412916f345380fcb4d4a3de257b0c3ec
[ "MIT" ]
1
2021-12-21T08:49:42.000Z
2021-12-21T08:49:42.000Z
#include <iostream> struct str{ int a[2]; double d; }; double fun(int i) { str s; s.a[i] = 1073741824; s.d = 3.14; return s.d; } int main() { std::cout << fun(0) << '\n'; std::cout << fun(1) << '\n'; std::cout << fun(2) << '\n'; std::cout << fun(3) << '\n'; ...
17.565217
33
0.408416
SeanChao