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
a22d4c1cc7f16d757453e4eb88c8537cf9153bef
224
hpp
C++
cpp/include/mh/concurrency/main_thread.hpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
null
null
null
cpp/include/mh/concurrency/main_thread.hpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
4
2020-01-04T02:26:00.000Z
2020-04-19T10:46:50.000Z
cpp/include/mh/concurrency/main_thread.hpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
null
null
null
#pragma once #include <thread> namespace mh { inline static const std::thread::id main_thread_id = std::this_thread::get_id(); inline bool is_main_thread() { return main_thread_id == std::this_thread::get_id(); } }
16
81
0.714286
PazerOP
a2344908796c529df62a337119c9aae152cbd0ea
751
cc
C++
c-deps/libroach/cache.cc
benlong-transloc/cockroach
9a38931424b4b84116da606820d3cde699c90879
[ "MIT", "BSD-3-Clause" ]
2
2020-02-28T02:40:42.000Z
2020-02-28T04:08:48.000Z
c-deps/libroach/cache.cc
benlong-transloc/cockroach
9a38931424b4b84116da606820d3cde699c90879
[ "MIT", "BSD-3-Clause" ]
10
2020-09-06T14:29:19.000Z
2022-03-02T04:56:13.000Z
c-deps/libroach/cache.cc
rohany/cockroach
12c640b74f8a16a27eb5ba03df9628cec4c99400
[ "MIT", "BSD-3-Clause" ]
2
2019-11-12T13:38:48.000Z
2020-02-02T09:38:19.000Z
// Copyright 2018 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
27.814815
69
0.729694
benlong-transloc
a2384a8034b31e628d6bcb624278352b1066ef01
835
cpp
C++
projects/client/visual/scenery/test/source/tests/donut_test.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
projects/client/visual/scenery/test/source/tests/donut_test.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
projects/client/visual/scenery/test/source/tests/donut_test.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <glaze/definition/Material.h> #include <glaze/brushes/GL_Desktop_Brush.h> #include "glaze_test/utility.h" using namespace std; using namespace glaze::definition; using namespace glaze; TEST(Box_Test, test_test) { auto code = load_shader("colored.vertex"); Materia...
23.857143
52
0.631138
silentorb
a23b954d4f083885e3d2212f014d11bba31dab9e
7,356
cpp
C++
Src/widget.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
1
2018-08-09T23:44:54.000Z
2018-08-09T23:44:54.000Z
Src/widget.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
2
2015-01-20T03:51:53.000Z
2020-03-27T04:45:38.000Z
Src/widget.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
1
2018-09-13T05:07:08.000Z
2018-09-13T05:07:08.000Z
/* * omnis.xcomp.widget * =================== * * widget.cpp * Widget library implementation * * Bastiaan Olij */ #include "widget.h" #ifdef iswin32 /* not yet supported */ #else #include "monitor_mac.h" #endif qshort mainlib::major() { return OMNISSDK; }; qshort mainlib::minor() { return 124; }; E...
31.302128
87
0.660821
BastiaanOlij
a23c10157cbcccec5e57087d42760495ea114d95
1,008
cc
C++
zircon/system/ulib/storage/buffer/test/vmoid_registry_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
zircon/system/ulib/storage/buffer/test/vmoid_registry_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
zircon/system/ulib/storage/buffer/test/vmoid_registry_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "storage/buffer/vmoid_registry.h" #include <gmock/gmock.h> #include <gtest/gtest.h> namespace storage { namespace { using ::testing::_; TEST(V...
21
73
0.690476
allansrc
a24577b30f05e6f83b580fe4ce44fbce0ab7c8da
1,834
cpp
C++
collection/cp/Algorithm_Collection-master/firstMissingPositive.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/Algorithm_Collection-master/firstMissingPositive.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/Algorithm_Collection-master/firstMissingPositive.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
/*Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant space. Analysis: If we can use another array flag, we can assign flag[A[i]-1] = A[i] to present its occurrence.And get the...
37.428571
238
0.531625
daemonslayer
a245b10013ce2468db678e9bc23521ab7c66b945
3,684
cc
C++
algorithms/forculus/forculus_decrypter.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
algorithms/forculus/forculus_decrypter.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
algorithms/forculus/forculus_decrypter.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
35.085714
80
0.711183
reMarkable
a24bbd680103c5e0bd7054b3e95aa6a8eb8d8e3e
3,303
cpp
C++
compiler/luci/pass/src/RemoveUnnecessarySplitPass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/RemoveUnnecessarySplitPass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/RemoveUnnecessarySplitPass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
27.991525
75
0.696942
chunseoklee
a24bfb0a5c845c9ca80feb2549a6fff554012fcd
5,151
hpp
C++
src/helics/cpp98/Endpoint.hpp
dnadeau4/HELICS-src
cad21acaac68d25b50e08b185d4fe5a1ae054241
[ "BSD-3-Clause" ]
null
null
null
src/helics/cpp98/Endpoint.hpp
dnadeau4/HELICS-src
cad21acaac68d25b50e08b185d4fe5a1ae054241
[ "BSD-3-Clause" ]
null
null
null
src/helics/cpp98/Endpoint.hpp
dnadeau4/HELICS-src
cad21acaac68d25b50e08b185d4fe5a1ae054241
[ "BSD-3-Clause" ]
null
null
null
/* Copyright © 2017-2019, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #ifndef HELICS_CPP98_ENDPOINT_HPP_ #define HELICS_CPP98_ENDPOINT_HPP_ #p...
36.531915
115
0.635411
dnadeau4
a2500101143a610b8c7fa14d6da625291270a722
22,104
cpp
C++
thirdparty/ULib/src/ulib/ldap/ldap.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/ldap/ldap.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/ldap/ldap.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
// ============================================================================ // // = LIBRARY // ULib - c++ library // // = FILENAME // ldap.cpp // // = AUTHOR // Stefano Casazza // // ============================================================================ #include <ulib/url.h> #include <ulib/ldap/ldap...
30.530387
161
0.497647
liftchampion
a2525c82eb57edaf137e876962602c448c65bbc4
3,334
cpp
C++
gmsh/Geo/discreteRegion.cpp
Poofee/fastFEM
14eb626df973e2123604041451912c867ab7188c
[ "MIT" ]
4
2019-05-06T09:35:08.000Z
2021-05-14T16:26:45.000Z
gmsh/Geo/discreteRegion.cpp
Poofee/fastFEM
14eb626df973e2123604041451912c867ab7188c
[ "MIT" ]
null
null
null
gmsh/Geo/discreteRegion.cpp
Poofee/fastFEM
14eb626df973e2123604041451912c867ab7188c
[ "MIT" ]
1
2019-06-28T09:23:43.000Z
2019-06-28T09:23:43.000Z
// Gmsh - Copyright (C) 1997-2019 C. Geuzaine, J.-F. Remacle // // See the LICENSE.txt file for license information. Please report all // issues on https://gitlab.onelab.info/gmsh/gmsh/issues. #include "GmshConfig.h" #include "discreteRegion.h" #include "MVertex.h" #include "GModelIO_GEO.h" #include "Geo.h" #include "...
28.495726
80
0.632873
Poofee
a25812c405b0455b36c0084c8766f1fffafe2b9d
6,616
cpp
C++
src/Node.cpp
caitp/TimedText
7fa0724b3ba99539d17cd0c8be59922676f7114c
[ "Unlicense" ]
2
2017-08-01T11:17:43.000Z
2022-03-19T21:26:45.000Z
src/Node.cpp
caitp/TimedText
7fa0724b3ba99539d17cd0c8be59922676f7114c
[ "Unlicense" ]
null
null
null
src/Node.cpp
caitp/TimedText
7fa0724b3ba99539d17cd0c8be59922676f7114c
[ "Unlicense" ]
null
null
null
// // Copyright (c) 2013 Caitlin Potter and Contributors // 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, t...
19.011494
74
0.667322
caitp
a25d5c53b29e80e096b16da7437b5840896c5bae
2,684
cpp
C++
examples/file_loader/file_loader.cpp
torbjoernk/CTML
0eb16c35c591f990db32d41c58bce71d41817b8c
[ "MIT" ]
1
2018-08-07T15:07:26.000Z
2018-08-07T15:07:26.000Z
examples/file_loader/file_loader.cpp
torbjoernk/CTML
0eb16c35c591f990db32d41c58bce71d41817b8c
[ "MIT" ]
null
null
null
examples/file_loader/file_loader.cpp
torbjoernk/CTML
0eb16c35c591f990db32d41c58bce71d41817b8c
[ "MIT" ]
null
null
null
#include "CTML.h" #include "dirent.h" bool add_files_to_doc(std::string folderPath, CTML::Node* containerNode) { DIR *directory = NULL; // open the folder path directory = opendir(folderPath.c_str()); // return false if it doesn't exist if (directory == NULL) { std::cout << "Directory not found!\n"; return fa...
33.55
84
0.69076
torbjoernk
a25dfa61654baf386d71959105626bfe2049567e
57
cpp
C++
algorithms/des/info.cpp
playahammer/crypto
27db00a5e1c58bd78dae34164fad4c719ff7f2cf
[ "MIT" ]
null
null
null
algorithms/des/info.cpp
playahammer/crypto
27db00a5e1c58bd78dae34164fad4c719ff7f2cf
[ "MIT" ]
null
null
null
algorithms/des/info.cpp
playahammer/crypto
27db00a5e1c58bd78dae34164fad4c719ff7f2cf
[ "MIT" ]
1
2019-04-26T02:23:44.000Z
2019-04-26T02:23:44.000Z
#include "log.h" Info::Info() { } QString Info::Info
5.7
18
0.596491
playahammer
a262f7b192a34e3efee1f74fc4223861f275b0fd
4,487
cpp
C++
src/server/protocol/ServerProtocol.cpp
zminor/Zony_CPP
311c75a3d6acebb7f4265b63813b19eeaa9d8926
[ "MIT" ]
null
null
null
src/server/protocol/ServerProtocol.cpp
zminor/Zony_CPP
311c75a3d6acebb7f4265b63813b19eeaa9d8926
[ "MIT" ]
null
null
null
src/server/protocol/ServerProtocol.cpp
zminor/Zony_CPP
311c75a3d6acebb7f4265b63813b19eeaa9d8926
[ "MIT" ]
null
null
null
#include "ServerProtocol.h" #include "../../utils/Utils.h" namespace HttpServer { ServerProtocol::ServerProtocol( Socket::Adapter &sock, const ServerSettings &settings, ServerControls &controls ) noexcept : sock(sock), settings(settings), controls(controls) { } ServerProtocol::ServerPro...
23.615789
86
0.640517
zminor
a264baaa6da8b663d483dfc76c2506d201409a6f
2,434
hpp
C++
include/domain/structure/field/svector_center.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
include/domain/structure/field/svector_center.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
include/domain/structure/field/svector_center.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
#ifndef _S_VECTOR_CENTER_HPP_ #define _S_VECTOR_CENTER_HPP_ #include "sfield.hpp" #include "utility/tinyformat.hpp" #include "algebra/array/multi_array.hpp" #include <limits> namespace carpio{ template<St DIM, class FIELD> class SVectorCenter_{ public: typedef SIndex_<DIM> Index; typedef SGrid_<DIM> GridB...
21.927928
68
0.554232
hyperpower
a26caffc313c3585b461573217a412f2b87ff712
3,139
cpp
C++
computer_vision/video_audio/video_decode_ffmpeg/rtsp_ffmpeg_test/src/test.cpp
magic428/subjects_notes
6930adbb3f445c11ca9d024abb12a53d6aca19e7
[ "MIT" ]
2
2020-03-18T17:13:00.000Z
2020-03-25T02:34:03.000Z
computer_vision/video_audio/video_decode_ffmpeg/rtsp_ffmpeg_test/src/test.cpp
magic428/subjects_notes
6930adbb3f445c11ca9d024abb12a53d6aca19e7
[ "MIT" ]
null
null
null
computer_vision/video_audio/video_decode_ffmpeg/rtsp_ffmpeg_test/src/test.cpp
magic428/subjects_notes
6930adbb3f445c11ca9d024abb12a53d6aca19e7
[ "MIT" ]
null
null
null
/******************************************************************************* * Video encoding example *******************************************************************************/ int main(int argc, char** argv) { AVCodec *codec = NULL; AVCodecContext *codecCtx= NULL; AVFormatContext *pFor...
30.182692
82
0.566104
magic428
a2700571f7e9bf2d6a9e6a83e91970a8e058ad46
1,442
cpp
C++
src/code-examples/chapter-10/functors-optional/main.cpp
nhatvu148/helpers
1a6875017cf39790dfe40ecec9dcee4410b1d89e
[ "MIT" ]
null
null
null
src/code-examples/chapter-10/functors-optional/main.cpp
nhatvu148/helpers
1a6875017cf39790dfe40ecec9dcee4410b1d89e
[ "MIT" ]
null
null
null
src/code-examples/chapter-10/functors-optional/main.cpp
nhatvu148/helpers
1a6875017cf39790dfe40ecec9dcee4410b1d89e
[ "MIT" ]
null
null
null
#include <optional> #include <string> #include <iostream> #include <vector> #include <algorithm> #include <range/v3/view/transform.hpp> #include <range/v3/view/filter.hpp> // We can define a range facade that allows using std::optional // as if it was a proper range (as in range-v3 library). // If the optional is emp...
22.888889
64
0.653259
nhatvu148
a27073b60d9cad11e32d5c469bca677e37901975
3,951
cpp
C++
src_test/test_utils/TestCase.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_test/test_utils/TestCase.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_test/test_utils/TestCase.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * TestCase.cpp * * Created on: 2018/05/06 * Author: iizuka */ #include "test_utils/TestCase.h" #include "test_utils/TestGroup.h" #include "test_utils/TestGroupActions.h" #include "test_utils/Check.h" #include "test_utils/TestEnv.h" #include "test_utils/TestParams.h" #include "base/UnicodeString.h" #incl...
21.95
146
0.647684
alinous-core
a2746799b5f0e0552105b05d98da248b16a6d79b
6,463
cpp
C++
lib/dirac_domain_wall.cpp
Marcogarofalo/quda
7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda
[ "MIT" ]
null
null
null
lib/dirac_domain_wall.cpp
Marcogarofalo/quda
7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda
[ "MIT" ]
null
null
null
lib/dirac_domain_wall.cpp
Marcogarofalo/quda
7dd7ba316d5f872d1a332bdf55a2204a1a4a7dda
[ "MIT" ]
null
null
null
#include <iostream> #include <dirac_quda.h> #include <dslash_quda.h> #include <blas_quda.h> namespace quda { DiracDomainWall::DiracDomainWall(const DiracParam &param) : DiracWilson(param, 5), m5(param.m5), kappa5(0.5 / (5.0 + m5)), Ls(param.Ls) { } DiracDomainWall::DiracDomainWall(con...
28.852679
111
0.63763
Marcogarofalo
a276a5c5b571915bbb078380db42a824cf878ed6
2,822
cpp
C++
modules/core/src/intrinsic.cpp
shreddered/imagestego
633b41bce2e653a3e8a46b812f05af814088ea51
[ "MIT" ]
2
2020-10-10T11:44:40.000Z
2020-10-25T01:55:21.000Z
modules/core/src/intrinsic.cpp
shreddered/imagestego
633b41bce2e653a3e8a46b812f05af814088ea51
[ "MIT" ]
9
2020-09-21T20:56:58.000Z
2021-01-26T13:04:05.000Z
modules/core/src/intrinsic.cpp
shreddered/imagestego
633b41bce2e653a3e8a46b812f05af814088ea51
[ "MIT" ]
2
2021-01-24T13:49:51.000Z
2021-03-13T23:14:15.000Z
/* * This file is a part of imagestego library. * * Copyright (c) 2020-2021 Dmitry Kalinin <x.shreddered.x@gmail.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 restrict...
30.673913
81
0.739546
shreddered
a2771f8c514fe3d60e0124e1404599d1f26d0490
12,183
cc
C++
bin/context_engine/context_repository_unittest.cc
Acidburn0zzz/peridot
9a3b1fb8e834d0315092478d83d0176ef28cb765
[ "BSD-3-Clause" ]
1
2018-02-05T23:33:32.000Z
2018-02-05T23:33:32.000Z
bin/context_engine/context_repository_unittest.cc
Acidburn0zzz/peridot
9a3b1fb8e834d0315092478d83d0176ef28cb765
[ "BSD-3-Clause" ]
null
null
null
bin/context_engine/context_repository_unittest.cc
Acidburn0zzz/peridot
9a3b1fb8e834d0315092478d83d0176ef28cb765
[ "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 "peridot/bin/context_engine/context_repository.h" #include "gtest/gtest.h" #include "lib/context/cpp/context_metadata_builder.h" #include "lib/con...
36.044379
79
0.703111
Acidburn0zzz
a278813e4ddaccac4036a265740e6d7bd98c0dcc
688
cpp
C++
win32/src/Display.cpp
deianvn/swt-plus-plus
e85236e8279b4e6f5993d94d1bd14e6fc7e1dd1b
[ "Apache-2.0" ]
null
null
null
win32/src/Display.cpp
deianvn/swt-plus-plus
e85236e8279b4e6f5993d94d1bd14e6fc7e1dd1b
[ "Apache-2.0" ]
null
null
null
win32/src/Display.cpp
deianvn/swt-plus-plus
e85236e8279b4e6f5993d94d1bd14e6fc7e1dd1b
[ "Apache-2.0" ]
null
null
null
#include "swt/widgets/Display.hpp" #include <windows.h> #include <iostream> namespace swt { int Display::readAndDispatch() { MSG msg; while (GetMessage(&msg, NULL, 0, 0)) { TranslateMessage(&msg); DispatchMessage(&msg); } return static_cast<int>...
17.2
50
0.55814
deianvn
a27a370fd9ee3abfa131633d8c39a1198ca07edf
416
cpp
C++
alex/chapter5/5.8_max_element.cpp
Alexhhhc/gay-school-cpp-homework
fa864ce1632367ef0fa269c25030e60d3a0aafac
[ "BSD-3-Clause" ]
null
null
null
alex/chapter5/5.8_max_element.cpp
Alexhhhc/gay-school-cpp-homework
fa864ce1632367ef0fa269c25030e60d3a0aafac
[ "BSD-3-Clause" ]
null
null
null
alex/chapter5/5.8_max_element.cpp
Alexhhhc/gay-school-cpp-homework
fa864ce1632367ef0fa269c25030e60d3a0aafac
[ "BSD-3-Clause" ]
null
null
null
//例5.8 //用函数求一个矩阵中的最大元 #include <iostream> using namespace std; int main() { int max_value(int array[3][4]); //函数声明 int a[3][4]={{11,32,45,67},{22,44,66,88},{15,72,43,37}}; //定义数组并初始化 cout<<"max_value is"<<max_value(a)<<endl; //输出最大值 return 0; } int max_value(int array[3][4]) { int i,j,max; max=array[0][0]; for(i=0;...
20.8
68
0.605769
Alexhhhc
a27f6723c35a56017a2417fdde7b64172e160231
5,288
cpp
C++
main/FieldText.cpp
liebman/esp32-gps-ntp
75a73ee038aa825654ca1d235904e0fa9925be06
[ "MIT" ]
9
2020-12-26T23:20:44.000Z
2022-03-05T17:55:14.000Z
main/FieldText.cpp
liebman/esp32-gps-ntp
75a73ee038aa825654ca1d235904e0fa9925be06
[ "MIT" ]
1
2022-01-27T19:29:57.000Z
2022-02-10T13:19:44.000Z
main/FieldText.cpp
liebman/esp32-gps-ntp
75a73ee038aa825654ca1d235904e0fa9925be06
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2020 Christopher B. Liebman * * 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,...
34.562092
152
0.647126
liebman
a2839bb0b3aeee53b85e5c825847670f870f5299
8,942
cpp
C++
AnalyzerExamples/SpiAnalyzer/SpiAnalyzer.cpp
blargony/RFFEAnalyzer
24684cee1494f5ac4bd7d9c9f020f42248a06f89
[ "MIT" ]
15
2015-06-23T23:28:24.000Z
2022-03-12T03:23:31.000Z
AnalyzerExamples/SpiAnalyzer/SpiAnalyzer.cpp
blargony/RFFEAnalyzer
24684cee1494f5ac4bd7d9c9f020f42248a06f89
[ "MIT" ]
3
2015-06-23T23:41:48.000Z
2022-03-16T22:20:50.000Z
AnalyzerExamples/SpiAnalyzer/SpiAnalyzer.cpp
blargony/RFFEAnalyzer
24684cee1494f5ac4bd7d9c9f020f42248a06f89
[ "MIT" ]
3
2015-06-23T23:28:30.000Z
2020-07-30T15:46:04.000Z
#include "SpiAnalyzer.h" #include "SpiAnalyzerSettings.h" #include <AnalyzerChannelData.h> //enum SpiBubbleType { SpiData, SpiError }; SpiAnalyzer::SpiAnalyzer() : Analyzer2(), mSettings( new SpiAnalyzerSettings() ), mSimulationInitilized( false ), mMosi( NULL ), mMiso( NULL ), mClock( NULL ), ...
27.015106
164
0.708454
blargony
a2840ffffa6f81dec80b567d6c793b5d06851f60
24,378
hpp
C++
include/boost/text/normalize.hpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
include/boost/text/normalize.hpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
include/boost/text/normalize.hpp
jan-moeller/text
c61e51c82dfb0ae6e74200c01ce040fa6db730c4
[ "BSL-1.0" ]
null
null
null
#ifndef BOOST_TEXT_NORMALIZE_HPP #define BOOST_TEXT_NORMALIZE_HPP #include <boost/text/utility.hpp> #include <boost/text/detail/normalization_data.hpp> #include <boost/container/static_vector.hpp> #include <algorithm> namespace boost { namespace text { namespace detail { template<typename Iter, std::...
36.330849
89
0.533145
jan-moeller
a286214987b0d5bc0e6b30aaf759eac0a030398a
118
cpp
C++
stack/tempCodeRunnerFile.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
stack/tempCodeRunnerFile.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
stack/tempCodeRunnerFile.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
// st.pop(); // cout << st.Top() << endl; // st.pop(); // st.pop(); // st.pop(); // cout << st.em
19.666667
32
0.347458
yusufkhan004
a287bde9e3020f15b712a9521be0a95bb82b6aea
277
cpp
C++
A-set/405A. Gravity Flip/405A. Gravity Flip.cpp
AhmedRamadan6/Codeforces
efd61d610243160381491f44702b5634b004e5fb
[ "MIT" ]
1
2020-04-13T00:45:25.000Z
2020-04-13T00:45:25.000Z
A-set/405A. Gravity Flip/405A. Gravity Flip.cpp
AhmedRamadan6/Codeforces
efd61d610243160381491f44702b5634b004e5fb
[ "MIT" ]
null
null
null
A-set/405A. Gravity Flip/405A. Gravity Flip.cpp
AhmedRamadan6/Codeforces
efd61d610243160381491f44702b5634b004e5fb
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int c[n-1]; for (int i=0;i<n;i++) cin >> c[i]; sort(c,c+n); for (int i=0;i<n;i++) cout << c[i] << " " ; return 0; }
17.3125
30
0.418773
AhmedRamadan6
a2922759fb4b76a506c8637d71d5c458986bcbe6
341
cpp
C++
ZZZ_OtherDemo/00-dyld-832.7.3/testing/kernel-cache-tests/auxkc-vtable-metaclass-patching/foo.cpp
1079278593/TreasureChest
8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8
[ "MIT" ]
null
null
null
ZZZ_OtherDemo/00-dyld-832.7.3/testing/kernel-cache-tests/auxkc-vtable-metaclass-patching/foo.cpp
1079278593/TreasureChest
8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8
[ "MIT" ]
null
null
null
ZZZ_OtherDemo/00-dyld-832.7.3/testing/kernel-cache-tests/auxkc-vtable-metaclass-patching/foo.cpp
1079278593/TreasureChest
8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8
[ "MIT" ]
null
null
null
#include "foo.h" #include <memory.h> void* operator new(size_t size) { return (void*)1; } void operator delete(void*) { } OSDefineMetaClassAndStructors( Foo, OSObject ) OSMetaClassDefineReservedUnused( Foo, 0 ) OSMetaClassDefineReservedUnused( Foo, 1 ) OSMetaClassDefineReservedUnused( Foo, 2 ) OSMetaClassDefineRese...
24.357143
52
0.771261
1079278593
a2942b9f952745a967812b3fde5c4e6ddeac6068
12,519
cpp
C++
computation.cpp
hotzevzl/marxan
23ba3a0ada90e721c745b922363458bece3477dc
[ "MIT" ]
5
2021-02-16T07:50:47.000Z
2021-09-14T00:17:13.000Z
computation.cpp
hotzevzl/marxan
23ba3a0ada90e721c745b922363458bece3477dc
[ "MIT" ]
7
2021-02-17T00:03:09.000Z
2021-10-05T14:46:22.000Z
computation.cpp
hotzevzl/marxan
23ba3a0ada90e721c745b922363458bece3477dc
[ "MIT" ]
2
2020-10-02T18:08:17.000Z
2021-06-18T09:03:01.000Z
// All functions here should be unit and should not have dependencies on the core marxan files. #include <algorithm> #include "computation.hpp" #include "marxan.hpp" #include "utils.hpp" namespace marxan { // Sums all connectivity edges for a pu. double connectionCost1(const sconnections& connections, doub...
35.974138
162
0.455627
hotzevzl
a2948dac22b52450e64e88418bbf4ea6981b03ad
442
cc
C++
src/interpreter/command/mc-cmd-list.cc
babynewton/mycurl
4701659ca5cb8b2f140ed07e9dc76764be3a9bc0
[ "MIT" ]
null
null
null
src/interpreter/command/mc-cmd-list.cc
babynewton/mycurl
4701659ca5cb8b2f140ed07e9dc76764be3a9bc0
[ "MIT" ]
null
null
null
src/interpreter/command/mc-cmd-list.cc
babynewton/mycurl
4701659ca5cb8b2f140ed07e9dc76764be3a9bc0
[ "MIT" ]
null
null
null
#include "command/mc-cmd-list.h" #include <cstdio> void mcCmdList::help(void){ fprintf(stdout, "Usage: list\n"); fprintf(stdout, " lists opend urls or alias\n"); } mcLanguageState mcCmdList::parse(mcScanner& scanner, mcIPerformer* performer){ mcToken token = scanner.tokenize(); if(token.id != MC_TOKEN_EOL) { f...
26
78
0.717195
babynewton
a2948e60903235901f2f0b6f06b045b1eb45a3e8
19,455
cpp
C++
Source/BWEB/Station.cpp
Cmccrave/CMProtoBot
220cddaf41724004daf5aace5b48a07e28931279
[ "MIT" ]
32
2017-03-04T19:38:13.000Z
2022-03-16T02:03:01.000Z
libs/BWEB/Source/Station.cpp
krogenth/AdditionalPylons
60a2ba5503857de9c6aafa5261e911f39ad0ccf1
[ "MIT" ]
39
2022-01-10T22:23:20.000Z
2022-03-31T03:56:21.000Z
libs/BWEB/Source/Station.cpp
krogenth/AdditionalPylons
60a2ba5503857de9c6aafa5261e911f39ad0ccf1
[ "MIT" ]
8
2017-12-26T23:47:18.000Z
2021-09-15T04:25:28.000Z
#include "BWEB.h" using namespace std; using namespace BWAPI; namespace BWEB { namespace { vector<Station> stations; vector<const BWEM::Base *> mainBases; vector<const BWEM::Base *> natBases; } void Station::addResourceReserves() { const auto addReserve = [&](Unit res...
38.448617
230
0.486199
Cmccrave
a29558a201889d425c1ff0f0cea1b6f5d0a907fa
125
cpp
C++
chapter-12/12.1.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-12/12.1.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-12/12.1.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
// b1 has 4 elements; // b2's code block has ended, os b2 is destroyed, there is no point in saying how many elements in b2.
41.666667
102
0.72
zero4drift
a29908b3004fb0fad0016b7a77e184713333d6a2
477
cpp
C++
replacinginteger.cpp
tanner00/ICPC-Season-2
0be745706e6551005f45343dfda6a0e658dfbbfb
[ "MIT" ]
null
null
null
replacinginteger.cpp
tanner00/ICPC-Season-2
0be745706e6551005f45343dfda6a0e658dfbbfb
[ "MIT" ]
null
null
null
replacinginteger.cpp
tanner00/ICPC-Season-2
0be745706e6551005f45343dfda6a0e658dfbbfb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { cin.tie(NULL); ios_base::sync_with_stdio(false); int64_t n, k; cin >> n >> k; // we take the smaller of these two values: // n % k is what we'd be left over with if we stopped before negatives // k - (n % k) is what we'd be left over with (positive)...
22.714286
76
0.610063
tanner00
a299120c0bfba1ae5fd788d09a6a17dd01e38fb5
1,175
cpp
C++
vsedit/src/script_editor/script_completer.cpp
jkotra/vapoursynth-editor
ee028830d5d390bd3fbde5577577444c011f4987
[ "MIT" ]
null
null
null
vsedit/src/script_editor/script_completer.cpp
jkotra/vapoursynth-editor
ee028830d5d390bd3fbde5577577444c011f4987
[ "MIT" ]
null
null
null
vsedit/src/script_editor/script_completer.cpp
jkotra/vapoursynth-editor
ee028830d5d390bd3fbde5577577444c011f4987
[ "MIT" ]
null
null
null
#include "script_completer.h" //============================================================================== ScriptCompleter::ScriptCompleter(QAbstractItemModel *a_pModel, QObject *a_pParent) : QCompleter(a_pModel, a_pParent) { } //=================================================...
25.543478
86
0.417872
jkotra
a29f8b5a1efa699a8f6745882ba77ee3b1446821
566
cpp
C++
test/doc/algo/any_of.cpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
test/doc/algo/any_of.cpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
test/doc/algo/any_of.cpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
#include <eve/module/core.hpp> #include <eve/algo.hpp> #include <iostream> #include <vector> #include "print.hpp" int main() { std::vector<int> v = {2,6,-10,32,-8,2,-6,8,-2,4}; std::cout << " -> v = "; doc_utils::print(v); std::cout << " -> eve::algo::any_of(v, i >= 4) ...
26.952381
91
0.484099
clayne
9474be3b14b2bc74de0da5b8ec349fc737cf28e2
3,219
cc
C++
basic/exact.cc
ririripley/recipes
04267c68a7424326b4aa8dd14b1a879b59ab887c
[ "BSD-3-Clause" ]
1,418
2015-01-07T09:40:09.000Z
2022-03-29T08:37:02.000Z
basic/exact.cc
algoideas/recipes
77bc5cb180e49edb31983938386ef23f752e2d2f
[ "BSD-3-Clause" ]
22
2015-02-17T17:31:18.000Z
2022-02-08T07:00:29.000Z
basic/exact.cc
algoideas/recipes
77bc5cb180e49edb31983938386ef23f752e2d2f
[ "BSD-3-Clause" ]
854
2015-01-03T11:56:10.000Z
2022-03-31T08:50:28.000Z
#include "uint.h" #include <float.h> #include <stdio.h> #include <iostream> #include <ios> // convert a floating point number to exact decimal number class Float { public: Float(int exponent, uint64_t mantissa) : E(exponent), M(mantissa) { } std::string decimal() const { std::string dec = integer(...
19.993789
75
0.522833
ririripley
9475d8991e797c396727f113c84eaf86110dfe5c
1,000
hpp
C++
packages/raspiSync/include/raspiSync.hpp
Falcons-Robocup/code
2281a8569e7f11cbd3238b7cc7341c09e2e16249
[ "Apache-2.0" ]
2
2021-01-15T13:27:19.000Z
2021-08-04T08:40:52.000Z
packages/raspiSync/include/raspiSync.hpp
Falcons-Robocup/code
2281a8569e7f11cbd3238b7cc7341c09e2e16249
[ "Apache-2.0" ]
null
null
null
packages/raspiSync/include/raspiSync.hpp
Falcons-Robocup/code
2281a8569e7f11cbd3238b7cc7341c09e2e16249
[ "Apache-2.0" ]
5
2018-05-01T10:39:31.000Z
2022-03-25T03:02:35.000Z
// Copyright 2019 Andre Pool (Falcons) // SPDX-License-Identifier: Apache-2.0 // Copyright 2019 Andre Pool // SPDX-License-Identifier: Apache-2.0 #ifndef RASPI_SYNC_HPP #define RASPI_SYNC_HPP #include "camGrabReceive.hpp" #include "raspiControl.hpp" #include <cstdint> #include <iostream> #include <thread> #include ...
20
81
0.71
Falcons-Robocup
9478ba14e0f0a379ffba877339acfe10100a8e16
522
cpp
C++
gongen/src/version.cpp
Bitrium-Games/gongen
0a4a39d19e851c85d8e6a99b9a054c59ec32551d
[ "MIT" ]
3
2021-07-01T13:59:45.000Z
2021-07-07T13:53:09.000Z
gongen/src/version.cpp
Bitrium-Games/gongen
0a4a39d19e851c85d8e6a99b9a054c59ec32551d
[ "MIT" ]
null
null
null
gongen/src/version.cpp
Bitrium-Games/gongen
0a4a39d19e851c85d8e6a99b9a054c59ec32551d
[ "MIT" ]
2
2021-06-21T17:45:20.000Z
2021-06-21T19:22:19.000Z
#include <gen/version.hpp> #undef ERROR gen::gongen_version::gongen_version(uint16 milestone, uint16 major, uint16 minor, uint16 patch) : milestone(milestone), major(major), minor(minor), patch(patch) { } gen::string gen::gongen_version::toString() const { gen::string result; result.append(std::to_string(milestone...
27.473684
162
0.726054
Bitrium-Games
9478bf286211f52fd3d102c698c510a47899f840
3,938
cpp
C++
source/block.cpp
theKlanc/Z3
97c28f31483d1d5c8c7d1aa61155b256b3d4094a
[ "MIT" ]
4
2020-08-09T20:34:28.000Z
2021-07-22T23:30:40.000Z
source/block.cpp
theKlanc/Z3
97c28f31483d1d5c8c7d1aa61155b256b3d4094a
[ "MIT" ]
5
2020-02-18T23:19:14.000Z
2020-02-18T23:26:24.000Z
source/block.cpp
theKlanc/Z3
97c28f31483d1d5c8c7d1aa61155b256b3d4094a
[ "MIT" ]
null
null
null
#include <iostream> #include "services.hpp" #include "block.hpp" #include "json.hpp" using nlohmann::json; blockRotation operator++(blockRotation& a, int) { return a = (blockRotation)((static_cast<int>(a) + 1) % 4); } blockRotation operator--(blockRotation& a, int) { return a = (blockRotation)(( static_cast<int>(a...
23.722892
145
0.636872
theKlanc
947a23c26e6596b74361c63d2aa235d8f1d1bf0f
361
cpp
C++
nodelibpd.cpp
teropa/node-libpd
3a07bb10fe7080473a4579ba851746cd9d0d72a2
[ "BSD-3-Clause" ]
1
2021-05-04T16:34:59.000Z
2021-05-04T16:34:59.000Z
nodelibpd.cpp
teropa/node-libpd
3a07bb10fe7080473a4579ba851746cd9d0d72a2
[ "BSD-3-Clause" ]
null
null
null
nodelibpd.cpp
teropa/node-libpd
3a07bb10fe7080473a4579ba851746cd9d0d72a2
[ "BSD-3-Clause" ]
null
null
null
#include "src/NodePd.hpp" using v8::FunctionTemplate; namespace nodePd { // NativeExtension.cc represents the top level of the module. // C++ constructs that are exposed to javascript are exported here NAN_MODULE_INIT(InitAll) { // Passing target down to the next NAN_MODULE_INIT NodePd::Init(target); } NODE_MOD...
21.235294
66
0.756233
teropa
947a85f61825eec5c0801f30004ef88198c36edb
7,756
cpp
C++
tests/test_local_ham.cpp
chaeyeunpark/ExactDiagonalization
c93754e724486cc68453399c5dda6a2dadf45cb8
[ "MIT" ]
1
2021-04-24T08:47:05.000Z
2021-04-24T08:47:05.000Z
tests/test_local_ham.cpp
chaeyeunpark/ExactDiagonalization
c93754e724486cc68453399c5dda6a2dadf45cb8
[ "MIT" ]
1
2021-09-28T19:02:14.000Z
2021-09-28T19:02:14.000Z
tests/test_local_ham.cpp
chaeyeunpark/ExactDiagonalization
c93754e724486cc68453399c5dda6a2dadf45cb8
[ "MIT" ]
1
2020-03-22T18:59:11.000Z
2020-03-22T18:59:11.000Z
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include <Eigen/Dense> #include <Eigen/Eigenvalues> #include <unsupported/Eigen/KroneckerProduct> #include <Spectra/MatOp/SparseSymMatProd.h> #include <Spectra/SymEigsSolver.h> #include <iostream> #include <cassert> #include <random> #include <algorithm> #include "ed...
24.31348
85
0.647886
chaeyeunpark
947d1390256ada9bca1292f25b4b71686952c03e
10,408
cpp
C++
pxr/usdImaging/lib/usdImaging/materialAdapter.cpp
navefx/YuksUSD
56c2e1def36ee07121f4ecb349c1626472b3c338
[ "AML" ]
6
2018-08-26T13:27:22.000Z
2021-08-14T23:57:38.000Z
pxr/usdImaging/lib/usdImaging/materialAdapter.cpp
navefx/YuksUSD
56c2e1def36ee07121f4ecb349c1626472b3c338
[ "AML" ]
1
2021-08-14T23:57:51.000Z
2021-08-14T23:57:51.000Z
pxr/usdImaging/lib/usdImaging/materialAdapter.cpp
navefx/YuksUSD
56c2e1def36ee07121f4ecb349c1626472b3c338
[ "AML" ]
4
2018-06-14T18:14:59.000Z
2021-09-13T22:20:50.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
37.039146
79
0.64412
navefx
947ffd82a8f2ee330e0277e49c4d1f0ddb1f328c
752
cc
C++
ext/snow-ext/hash.cc
nilium/snow
296466e49fd5ebd8d4d40dbf96b14903daa705a8
[ "Zlib", "BSD-2-Clause" ]
4
2015-10-01T20:10:20.000Z
2021-08-28T23:43:33.000Z
ext/snow-ext/hash.cc
nilium/snow
296466e49fd5ebd8d4d40dbf96b14903daa705a8
[ "Zlib", "BSD-2-Clause" ]
null
null
null
ext/snow-ext/hash.cc
nilium/snow
296466e49fd5ebd8d4d40dbf96b14903daa705a8
[ "Zlib", "BSD-2-Clause" ]
null
null
null
#include "hash.hh" #include "murmur3.h" namespace murmur3 { uint32_t hash32(const string &str, uint32_t seed) { return hash32(str.c_str(), str.size(), seed); } uint64_t hash64(const string &str, uint32_t seed) { return hash64(str.c_str(), str.size(), seed); } uint64_t hash64(const char *str, const size_t lengt...
18.8
88
0.683511
nilium
9480e7c1a18f1682a67c7f2ee6baec0dfc9b7093
16,998
ipp
C++
include/native/async/ActionCallbackFinally.ipp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
16
2016-03-16T22:16:18.000Z
2021-04-05T04:46:38.000Z
include/native/async/ActionCallbackFinally.ipp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
11
2016-03-16T22:02:26.000Z
2021-04-04T02:20:51.000Z
include/native/async/ActionCallbackFinally.ipp
nodenative/nodenative
cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3
[ "MIT" ]
5
2016-03-22T14:03:34.000Z
2021-01-06T18:08:46.000Z
#ifndef __NATIVE_ASYNC_ACTIONCALLBACKFINALLY_IPP__ #define __NATIVE_ASYNC_ACTIONCALLBACKFINALLY_IPP__ /*-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. * Propose : * -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/ #include "./ActionCallbackFinally.hpp" #include "./Future.hpp" namespace native { template <typename R, typename...
45.571046
120
0.628486
nodenative
9483c83e1d7cb618fe4f641897f083fd06d51411
18,291
cpp
C++
skinManagerGui-gtk/src/main.cpp
robotology-legacy/icub-gtk-modules
10b1d645b4a9818b0cb002b0d2d015e13ad32168
[ "BSD-3-Clause" ]
null
null
null
skinManagerGui-gtk/src/main.cpp
robotology-legacy/icub-gtk-modules
10b1d645b4a9818b0cb002b0d2d015e13ad32168
[ "BSD-3-Clause" ]
null
null
null
skinManagerGui-gtk/src/main.cpp
robotology-legacy/icub-gtk-modules
10b1d645b4a9818b0cb002b0d2d015e13ad32168
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2010 RobotCub Consortium, European Commission FP6 Project IST-004370 * Authors: Andrea Del Prete * email: andrea.delprete@iit.it * website: www.robotcub.org * Permission is granted to copy, distribute, and/or modify this program * under the terms of the GNU General Public License, version 2...
45.7275
139
0.691542
robotology-legacy
9483cd23602c72ffc8cd854fe54102cea2e0eb0a
1,846
cc
C++
test/test_file_writer.cc
wobbals/barc
ce7a417b37941a696105904e67058adbf0a35c59
[ "Apache-2.0" ]
8
2017-02-21T21:07:44.000Z
2021-05-16T10:22:06.000Z
test/test_file_writer.cc
wobbals/barc
ce7a417b37941a696105904e67058adbf0a35c59
[ "Apache-2.0" ]
11
2017-03-06T22:09:34.000Z
2020-05-12T07:06:09.000Z
test/test_file_writer.cc
wobbals/barc
ce7a417b37941a696105904e67058adbf0a35c59
[ "Apache-2.0" ]
6
2017-02-21T21:35:48.000Z
2019-12-03T06:42:27.000Z
// // test_file_writer.c // barc // // Created by Charley Robinson on 3/16/17. // extern "C" { #include <unistd.h> #include "file_writer.h" } #include "gtest/gtest.h" TEST(FileWriter, AllocFileWriter) { struct file_writer_t* file_writer = NULL; file_writer_alloc(&file_writer); EXPECT_TRUE(file_writer != NUL...
26.371429
79
0.684724
wobbals
9486169b2ea75e97af60597fe4737dea2993fe73
1,088
cpp
C++
codes/moderncpp/type_traits/is_function/is_function01/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
3
2022-01-25T07:33:43.000Z
2022-03-30T10:25:09.000Z
codes/moderncpp/type_traits/is_function/is_function01/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
null
null
null
codes/moderncpp/type_traits/is_function/is_function01/main.cpp
eric2003/ModernCMake
48fe5ed2f25481a7c93f86af38a692f4563afcaa
[ "MIT" ]
2
2022-01-17T13:39:12.000Z
2022-03-30T10:25:12.000Z
#include <iostream> #include <type_traits> int a(int i){return i;} // function int(*b)(int)=a; // pointer to function struct C { int operator()(int i){return i;} } c; // function-like class int main( int argc, char **argv ) { { # define REF(x) << #x "...
31.085714
72
0.517463
eric2003
94898f7becfe84ce195e0163ca94a9fdce0d90aa
2,735
cpp
C++
test/net/ReceiverTest.cpp
RoboTeamTwente/roboteam_mimir
fd62d50ca8dd3a6e35448e1d2eaca655546e5b21
[ "MIT" ]
1
2019-11-16T17:44:13.000Z
2019-11-16T17:44:13.000Z
test/net/ReceiverTest.cpp
RoboTeamTwente/roboteam_mimir
fd62d50ca8dd3a6e35448e1d2eaca655546e5b21
[ "MIT" ]
51
2019-09-29T09:16:22.000Z
2020-10-24T10:04:59.000Z
test/net/ReceiverTest.cpp
RoboTeamTwente/roboteam_mimir
fd62d50ca8dd3a6e35448e1d2eaca655546e5b21
[ "MIT" ]
null
null
null
// // Created by rolf on 19-09-19. // #include "net/Receiver.h" #include "gtest/gtest.h" TEST(ReceiverTest,receiveTest){ //We are going to manually send commands to test the receiver QUdpSocket sendSocket; QHostAddress address("127.0.0.1"); unsigned int port = 10006; net::Receiver receiver(addres...
31.079545
85
0.696527
RoboTeamTwente
948b863e1c8374f2af65293d88e38b9c4aacbf52
11,235
cpp
C++
src/caffe/layers/search_n_layer.cpp
suyuan32/atlas_200dk_caffe
119c7696ea787363e2f58c2a7fb6e7395098b0d1
[ "MIT" ]
1
2021-09-17T14:24:01.000Z
2021-09-17T14:24:01.000Z
src/caffe/layers/search_n_layer.cpp
suyuan32/atlas_200dk_caffe
119c7696ea787363e2f58c2a7fb6e7395098b0d1
[ "MIT" ]
null
null
null
src/caffe/layers/search_n_layer.cpp
suyuan32/atlas_200dk_caffe
119c7696ea787363e2f58c2a7fb6e7395098b0d1
[ "MIT" ]
null
null
null
/* * Copyright (c) Huawei Technologies Co., Ltd. 2019-2019. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the Apache License Version 2.0.You may not use this file except in compliance with the License. * * This program is distributed in the h...
35.330189
120
0.594482
suyuan32
948c95b8a409ced5d4964cb99c3bd1dd77ce1fe6
7,467
cpp
C++
src/tools/cppgen/code/ast_decl.cpp
brezillon/opensplice
725ae9d949c83fce1746bd7d8a154b9d0a81fe3e
[ "Apache-2.0" ]
133
2017-11-09T02:10:00.000Z
2022-03-29T09:45:10.000Z
src/tools/cppgen/code/ast_decl.cpp
brezillon/opensplice
725ae9d949c83fce1746bd7d8a154b9d0a81fe3e
[ "Apache-2.0" ]
131
2017-11-07T14:48:43.000Z
2022-03-13T15:30:47.000Z
src/tools/cppgen/code/ast_decl.cpp
brezillon/opensplice
725ae9d949c83fce1746bd7d8a154b9d0a81fe3e
[ "Apache-2.0" ]
94
2017-11-09T02:26:19.000Z
2022-02-24T06:38:25.000Z
/* COPYRIGHT Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United States of America. All Rights Reserved. This product is protected by copyright and distributed under the following license restricting its use. The Interface Definition Language Compiler Front End (CFE) is made available for ...
23.189441
75
0.714745
brezillon
948d4b4be64c30871044e059a320c622fa676986
1,919
cpp
C++
src/GreenFractals.cpp
ecssiah/Buddhabrot-Variations
cdc6c9c273c0e33036acf1850c1ad87e8432c37e
[ "MIT" ]
null
null
null
src/GreenFractals.cpp
ecssiah/Buddhabrot-Variations
cdc6c9c273c0e33036acf1850c1ad87e8432c37e
[ "MIT" ]
null
null
null
src/GreenFractals.cpp
ecssiah/Buddhabrot-Variations
cdc6c9c273c0e33036acf1850c1ad87e8432c37e
[ "MIT" ]
null
null
null
#include <cmath> #include <complex> #include <vector> #include <iostream> #include <Eigen/Geometry> #include <Magick++.h> #include "Constants.h" #include "ImageGenerator.h" #include "FractalInstance.h" using namespace std; using namespace Eigen; using namespace Magick; vector<FractalInstance> fractals; // user lit...
20.634409
67
0.583116
ecssiah
948dff59d71da8ab5af5b4c07aaf0576684d3bcc
1,171
cpp
C++
Camp_2-2563/07_MST/39_CableCar.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_2-2563/07_MST/39_CableCar.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_2-2563/07_MST/39_CableCar.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
/* * AUTHOR : Hydrolyzed~ * SCHOOL : RYW * CENTER : BUU * TASK : Cable Car TOI12 * ALGO : Minimum Spanning Tree * DATE : 9 May 2021 * */ #include<bits/stdc++.h> using namespace std; #define dec(x,y) fixed << setprecision(y) << x #define all(x) (x).begin(), (x).end() #define endl '\n' #define int long long...
16.492958
49
0.541418
MasterIceZ
9497622dfd397a60d8fcf26e94920c41c83170e6
430
hpp
C++
CocoaPhoenix/include/cocoa_phx/PHXViewDelegate.hpp
phoenix-engine/phoenix
c3285482ee507b566a1c38da071439dab507a877
[ "MIT" ]
2
2019-05-04T19:33:26.000Z
2019-06-29T13:19:33.000Z
CocoaPhoenix/include/cocoa_phx/PHXViewDelegate.hpp
phoenix-engine/phoenix
c3285482ee507b566a1c38da071439dab507a877
[ "MIT" ]
13
2019-05-05T12:40:54.000Z
2020-02-29T20:32:11.000Z
CocoaPhoenix/include/cocoa_phx/PHXViewDelegate.hpp
phoenix-engine/phoenix
c3285482ee507b566a1c38da071439dab507a877
[ "MIT" ]
4
2018-09-15T21:59:08.000Z
2019-05-04T20:19:07.000Z
// // PHXViewDelegate.hpp // CocoaPhoenix // // Created by Bodie Solomon on 3/12/19. // #ifndef PHXViewDelegate_hpp #define PHXViewDelegate_hpp /// PHXViewDelegate responds to UI draw events by making the appropriate calls /// into the Phoenix engine object. @interface PHXViewDelegate : NSObject<MTKViewDelegate> ...
21.5
78
0.765116
phoenix-engine
949ca9f22fa28763a77c01cce817538524129fc5
3,809
cpp
C++
Projects/RealityEngine/source/Engine.cpp
Volta948/RealityEngine
1a9e4b7db00617176d06004af934d6602dd5920a
[ "BSD-3-Clause" ]
null
null
null
Projects/RealityEngine/source/Engine.cpp
Volta948/RealityEngine
1a9e4b7db00617176d06004af934d6602dd5920a
[ "BSD-3-Clause" ]
null
null
null
Projects/RealityEngine/source/Engine.cpp
Volta948/RealityEngine
1a9e4b7db00617176d06004af934d6602dd5920a
[ "BSD-3-Clause" ]
1
2021-11-05T02:55:27.000Z
2021-11-05T02:55:27.000Z
// Copyright Reality Engine. All Rights Reserved. #include "Engine.h" #define GLFW_INCLUDE_NONE #include <glfw/glfw3.h> Reality::GameEngine::GameEngine() { g_SceneManager = new SceneManager; g_Logger = new Logger; g_AudioEngine = new AudioEngine; g_Randomizer = new Randomizer; g_PlayerPref = new Pla...
38.474747
93
0.699396
Volta948
949d5267be41656bf2b98284eeddb72ab25c34c6
3,754
cpp
C++
src/csaltTester/src/TestOptCtrl/src/pointpath/RayleighControlStateConstraintPointObject.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
src/csaltTester/src/TestOptCtrl/src/pointpath/RayleighControlStateConstraintPointObject.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
src/csaltTester/src/TestOptCtrl/src/pointpath/RayleighControlStateConstraintPointObject.cpp
IncompleteWorlds/GMAT_2020
624de54d00f43831a4d46b46703e069d5c8c92ff
[ "Apache-2.0" ]
null
null
null
//$Id$ //------------------------------------------------------------------------------ // RayleighControlStateConstraintPointObject //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool. // // Copyright (c) 2002 - 2020 United Sta...
37.168317
150
0.415024
IncompleteWorlds
94a56834a38a173a81c91e308bac6853c89f697e
1,299
cpp
C++
llvm-clang/clang_mini_rpc/clang_mini_rpc_client.cpp
chromatic-universe/cci-llvm-clang-cpp
e2fcc54067237c5d68d629d00952cb0e525a1012
[ "MIT" ]
null
null
null
llvm-clang/clang_mini_rpc/clang_mini_rpc_client.cpp
chromatic-universe/cci-llvm-clang-cpp
e2fcc54067237c5d68d629d00952cb0e525a1012
[ "MIT" ]
null
null
null
llvm-clang/clang_mini_rpc/clang_mini_rpc_client.cpp
chromatic-universe/cci-llvm-clang-cpp
e2fcc54067237c5d68d629d00952cb0e525a1012
[ "MIT" ]
null
null
null
//clang_mini_rpc_client.cpp william k. johnson #include <iostream> #include <memory> #include <string> #include <thrift/protocol/TBinaryProtocol.h> #include <thrift/transport/TSocket.h> #include <thrift/transport/TTransportUtils.h> #include "gen-cpp/cci_mini_clang_rpc.h" using namespace apache::thrift; using name...
24.055556
79
0.627406
chromatic-universe
94a5afc4e5dc980877c947b6ac3ec47d6ab1db74
26,883
cpp
C++
Extension.Viewer.ABR/Extension.Viewer.ABR.cpp
lusores/ABRViewer
64d3172651a904908589fc91276366ef3ef0489e
[ "MIT" ]
15
2017-05-15T15:52:24.000Z
2022-03-23T06:48:48.000Z
Extension.Viewer.ABR/Extension.Viewer.ABR.cpp
lusores/ABRViewer
64d3172651a904908589fc91276366ef3ef0489e
[ "MIT" ]
null
null
null
Extension.Viewer.ABR/Extension.Viewer.ABR.cpp
lusores/ABRViewer
64d3172651a904908589fc91276366ef3ef0489e
[ "MIT" ]
4
2017-09-07T10:55:36.000Z
2021-01-29T08:51:01.000Z
/* copyright (c) 1996 - 2008 Ivan Varzar. lusores@gmail.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright noti...
29.803769
301
0.621582
lusores
94a7e264c212454507fb4d9832d699e9d812651f
2,727
cpp
C++
unit_tests/test_supportvectormachine.cpp
BrentP-tmx/Pamplemousse
6cd69d3369bf557c344d9a3a82b9c15f2381c366
[ "Apache-2.0" ]
6
2020-09-23T15:38:28.000Z
2021-11-16T20:39:21.000Z
unit_tests/test_supportvectormachine.cpp
BrentP-tmx/Pamplemousse
6cd69d3369bf557c344d9a3a82b9c15f2381c366
[ "Apache-2.0" ]
null
null
null
unit_tests/test_supportvectormachine.cpp
BrentP-tmx/Pamplemousse
6cd69d3369bf557c344d9a3a82b9c15f2381c366
[ "Apache-2.0" ]
2
2021-10-04T22:16:48.000Z
2022-02-25T00:32:40.000Z
// Copyright 2018-2020 Lexis Nexis Risk Solutions // // 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...
34.518987
122
0.650532
BrentP-tmx
94ad15b7992a92d00844ca3b0402a9c6b2cd0ec0
311
cpp
C++
Get_Started_contest/8.find_me.cpp
MadanParth786/Codeshef_DSA_learning_Series
0582c5a1598c2233c9ab433ce71feb9816166bc7
[ "MIT" ]
2
2021-07-03T09:00:06.000Z
2021-07-03T09:46:27.000Z
Get_Started_contest/8.find_me.cpp
MadanParth786/Codeshef_DSA_learning_Series
0582c5a1598c2233c9ab433ce71feb9816166bc7
[ "MIT" ]
null
null
null
Get_Started_contest/8.find_me.cpp
MadanParth786/Codeshef_DSA_learning_Series
0582c5a1598c2233c9ab433ce71feb9816166bc7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(void) { int n,k; bool found=false; int a[n]; cin>>n>>k; for(int i=0;i<n;i++) { cin>>a[i]; if(a[i]==k){ found=true; break; } } if(found){ cout<<"1"<<"\n"; } else{ cout<<"-1"<<"\n"; } }
11.518519
24
0.418006
MadanParth786
94ad617e30613b47e2fa342e23ce2bcec974c57a
3,489
cpp
C++
Overworld/Forest.cpp
NoahKittleson/RPG-Engine
e7ce30973b5d1eed09e3d5acfd89f549c2feffd8
[ "MIT", "Unlicense" ]
4
2016-06-30T19:55:40.000Z
2020-01-10T21:03:00.000Z
Overworld/Forest.cpp
NoahKittleson/RPG-Engine
e7ce30973b5d1eed09e3d5acfd89f549c2feffd8
[ "MIT", "Unlicense" ]
null
null
null
Overworld/Forest.cpp
NoahKittleson/RPG-Engine
e7ce30973b5d1eed09e3d5acfd89f549c2feffd8
[ "MIT", "Unlicense" ]
null
null
null
// // Forest.cpp // Overworld // // Created by Noah Kittleson on 7/7/18. // Copyright © 2018 Noah. All rights reserved. // #include "Forest.hpp" Forest::Forest(const ResourceHolder& resources, const std::vector<Condition>& activeConds) : MapSection(MapID::Forest, NoMusic, sf::Vector2f(550 * scale, 350 * scale)) {...
43.6125
119
0.70364
NoahKittleson
94aec82990bbfe9f1179dec54262e4b9f55a02d6
413
cpp
C++
swexpert/3308.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
swexpert/3308.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
swexpert/3308.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> #include <algorithm> using namespace std; #define MAX 100001 int num[MAX]; int main() { int T, n, x; cin >> T; for (int t=1; t<=T; ++t) { cin >> n; int len = 0; fill(num, num+MAX, 0); for (int i=0; i<n; ++i) { cin >> x; int it = lower_bound(num, num+len, x) - num; if (it == le...
14.241379
47
0.486683
juseongkr
94b0fee0885891546ad81efcc2e98b090642d5d4
782
cpp
C++
Section 8/Video 3/locks.cpp
irshadqemu/C-Standard-Template-Library-in-Practice
05a52a03c2fc50031f065da41d89cfbf651499f9
[ "MIT" ]
17
2019-10-10T21:09:51.000Z
2022-01-13T15:54:24.000Z
Section 8/Video 3/locks.cpp
irshadqemu/C-Standard-Template-Library-in-Practice
05a52a03c2fc50031f065da41d89cfbf651499f9
[ "MIT" ]
null
null
null
Section 8/Video 3/locks.cpp
irshadqemu/C-Standard-Template-Library-in-Practice
05a52a03c2fc50031f065da41d89cfbf651499f9
[ "MIT" ]
16
2019-10-10T21:09:55.000Z
2022-02-13T11:42:52.000Z
#include <thread> #include <iostream> #include <mutex> #define TRANSACTIONS 100000 using namespace std; void deposit(int& account, mutex& m) { for (int i = 0; i < TRANSACTIONS; i++) { { lock_guard<mutex> lock(m); ++account; } } } void withdraw(int& account, mutex& m) { for (int i = 0; i < ...
17.377778
69
0.589514
irshadqemu
94b6a75b96c61ac067d3fa7995e4942a579bbe9a
3,092
cpp
C++
codeforces/F - Music in Car/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/F - Music in Car/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/F - Music in Car/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Jun/09/2020 16:14 * solution_verdict: Accepted language: GNU C++14 * run...
27.855856
112
0.518758
kzvd4729
94b71997dcf168861cb127f7c6f17f6248a1201b
7,968
hpp
C++
src/arch/pico/video/ssd1351.hpp
yocto-8/yocto-8
4911a82f399776731d3030234c731c15593f1910
[ "MIT" ]
22
2021-06-20T21:23:29.000Z
2022-03-26T01:46:10.000Z
src/arch/pico/video/ssd1351.hpp
yocto-8/yocto-8
4911a82f399776731d3030234c731c15593f1910
[ "MIT" ]
2
2021-09-06T12:08:32.000Z
2021-09-06T12:23:55.000Z
src/arch/pico/video/ssd1351.hpp
yocto-8/yocto-8
4911a82f399776731d3030234c731c15593f1910
[ "MIT" ]
1
2021-11-26T08:34:59.000Z
2021-11-26T08:34:59.000Z
#pragma once #include <hardware/gpio.h> #include <hardware/spi.h> #include <hardware/dma.h> #include <array> #include <cstdint> #include <cmath> #include <span> #include <emu/emulator.hpp> #include <devices/image.hpp> #include <devices/screenpalette.hpp> #include <video/palette.hpp> namespace arch::pico::video { st...
28.457143
120
0.593499
yocto-8
94bc4de85927f68c910556ea6200887766e422e4
16,007
cpp
C++
source/rastertechnique/clustervisibleprefixsumtechnique.cpp
AlejandroC1983/cvrtgi
9894fc79d4036a0490dbc194b9d04654574f16d4
[ "Apache-2.0" ]
2
2022-03-25T00:37:25.000Z
2022-03-26T00:13:53.000Z
source/rastertechnique/clustervisibleprefixsumtechnique.cpp
AlejandroC1983/cvrtgi
9894fc79d4036a0490dbc194b9d04654574f16d4
[ "Apache-2.0" ]
null
null
null
source/rastertechnique/clustervisibleprefixsumtechnique.cpp
AlejandroC1983/cvrtgi
9894fc79d4036a0490dbc194b9d04654574f16d4
[ "Apache-2.0" ]
1
2022-03-02T21:11:29.000Z
2022-03-02T21:11:29.000Z
/* Copyright 2022 Alejandro Cosin & Gustavo Patow Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
41.1491
176
0.736928
AlejandroC1983
94bccdd9ce6a0352d4348011bfd28601edcec459
15,876
hpp
C++
ThirdParty-mod/java2cpp/java/util/concurrent/SynchronousQueue.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/java/util/concurrent/SynchronousQueue.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/java/util/concurrent/SynchronousQueue.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.util.concurrent.SynchronousQueue ================================================================================*/ #ifndef J2CPP_IN...
39.492537
173
0.736017
kakashidinho
94bd48507b8a1b6eaef772d2ef1544ff3a92f888
7,841
cpp
C++
RobWork/src/sandbox/optimization/example_optimization.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/sandbox/optimization/example_optimization.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/sandbox/optimization/example_optimization.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/* * example_gradientdescent.cpp * * Created on: Feb 7, 2015 * Author: dagothar * * This example shows how to use optimizers. */ #include <iostream> #include <stdexcept> #include <fstream> #include <rw/math/Math.hpp> #include <rw/math/Q.hpp> #include <rw/math/FunctionFactory.hpp> #include <rw/rw.hpp> #i...
25.792763
77
0.647877
ZLW07
94bebc0bc1fa72ff75ac4ce8285ea09d86c34f6d
1,245
hpp
C++
src/adapt/sierra_element/MeshObjTopology.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
3
2017-08-08T21:06:02.000Z
2020-01-08T13:23:36.000Z
src/adapt/sierra_element/MeshObjTopology.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2016-12-17T00:18:56.000Z
2019-08-09T15:29:25.000Z
src/adapt/sierra_element/MeshObjTopology.hpp
jrood-nrel/percept
363cdd0050443760d54162f140b2fb54ed9decf0
[ "BSD-2-Clause" ]
2
2017-11-30T07:02:41.000Z
2019-08-05T17:07:04.000Z
// Copyright 2002 - 2008, 2010, 2011 National Technology Engineering // Solutions of Sandia, LLC (NTESS). Under the terms of Contract // DE-NA0003525 with NTESS, the U.S. Government retains certain rights // in this software. // // Use of this source code is governed by a BSD-style // license that can be found in the L...
26.489362
73
0.652209
jrood-nrel
94bf0b992b8a6ac778e64cd8ecba77d2f76f9d48
2,781
cpp
C++
aws-cpp-sdk-config/source/model/AggregateConformancePackCompliance.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-config/source/model/AggregateConformancePackCompliance.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-config/source/model/AggregateConformancePackCompliance.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/config/model/AggregateConformancePackCompliance.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; nam...
24.830357
139
0.781014
perfectrecall
94bfdbab5f07f61ff7b9b16d9a59b462641acf97
20,188
cpp
C++
source/magma/vulkan/render-engine-impl.cpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
15
2018-02-26T08:20:03.000Z
2022-03-06T03:25:46.000Z
source/magma/vulkan/render-engine-impl.cpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
32
2018-02-26T08:26:38.000Z
2020-09-12T17:09:38.000Z
source/magma/vulkan/render-engine-impl.cpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
null
null
null
#include "./render-engine-impl.hpp" #include "../aft-vulkan/scene-aft.hpp" #include "../shmag-reader.hpp" #include "./helpers/queue.hpp" #include "./holders/swapchain-holder.hpp" #include "./render-image-impl.hpp" #include "./render-targets/i-render-target-impl.hpp" #include "./stages/present.hpp" using namespace lav...
37.594041
135
0.68932
Breush
94c0c556d4b31c5f87ff85882a08a0bbfa16e2c4
7,354
cc
C++
tests/test.cc
CS126SP20/final-project-ckesan2
419d4b5ecc21ba7d1f3412c05f0098e7130d3703
[ "MIT" ]
null
null
null
tests/test.cc
CS126SP20/final-project-ckesan2
419d4b5ecc21ba7d1f3412c05f0098e7130d3703
[ "MIT" ]
null
null
null
tests/test.cc
CS126SP20/final-project-ckesan2
419d4b5ecc21ba7d1f3412c05f0098e7130d3703
[ "MIT" ]
null
null
null
// Copyright (c) 2020 CS126SP20. All rights reserved. #define CATCH_CONFIG_MAIN #include <mylibrary/gameengine.h> #include <mylibrary/circle.h> #include <catch2/catch.hpp> TEST_CASE("Getting the correct score", "[game score]") { //makes sure the score is 0 at the start of the game mylibrary::GameEngine engine; ...
28.393822
80
0.684389
CS126SP20
94c556dd34cd648160958e09cea3be093ebe2b20
825
cpp
C++
Game/Scene/EnemyGuide/RollBackGround.cpp
IndistinQuest/Game
3c8363026388a452a1e1b5a46ff34bb8fa8baff4
[ "MIT" ]
2
2016-12-09T02:21:23.000Z
2017-08-31T13:49:13.000Z
Game/Scene/EnemyGuide/RollBackGround.cpp
IndistinQuest/Game
3c8363026388a452a1e1b5a46ff34bb8fa8baff4
[ "MIT" ]
null
null
null
Game/Scene/EnemyGuide/RollBackGround.cpp
IndistinQuest/Game
3c8363026388a452a1e1b5a46ff34bb8fa8baff4
[ "MIT" ]
null
null
null
#include "RollBackGround.h" const double RollBackGround::W = 1280; const double RollBackGround::H = 720; const int RollBackGround::ROLL_SPEED = 5; RollBackGround::RollBackGround(String firstAssetName, String secondAssetName) { firstAssetName_m = firstAssetName; secondAssetName_m = secondAssetName; fPoint_m = Poi...
19.642857
77
0.718788
IndistinQuest
94cec4bf7f8985766a7a265da5c1f49a179e31f9
1,558
hxx
C++
inetsrv/query/filters/html/source/metatag.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/filters/html/source/metatag.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/filters/html/source/metatag.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation, 1992 - 1996 // // File: metatag.hxx // // Contents: Parsing algorithm for image tags // //-------------------------------------------------------------------------- #if !defined(...
25.540984
77
0.485879
npocmaka
94d0714cb70d236d16149f4e358e5497b2949ded
2,541
hpp
C++
include/mmf/optimizationSO3_approx.hpp
jstraub/dpMM
538c432d5f98c040d5c1adb072e545e38f97fc69
[ "MIT-feh" ]
11
2015-04-27T15:14:01.000Z
2021-11-18T00:19:18.000Z
include/mmf/optimizationSO3_approx.hpp
jstraub/dpMM
538c432d5f98c040d5c1adb072e545e38f97fc69
[ "MIT-feh" ]
null
null
null
include/mmf/optimizationSO3_approx.hpp
jstraub/dpMM
538c432d5f98c040d5c1adb072e545e38f97fc69
[ "MIT-feh" ]
6
2015-07-02T12:46:20.000Z
2022-03-30T04:39:30.000Z
/* Copyright (c) 2015, Julian Straub <jstraub@csail.mit.edu> Licensed * under the MIT license. See the license file LICENSE. */ #pragma once #include <stdint.h> #include <iostream> #include <vector> #include <Eigen/Core> #include <Eigen/Dense> #include <Eigen/QR> // CUDA runtime #include <cuda_runtime.h> // Utiliti...
28.550562
72
0.668634
jstraub
94d2717921df8f08be83a2babe28c834bda1d911
3,176
hpp
C++
cocos2d/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_manual.hpp
weiDDD/particleSystem
32652b09da35e025956999227f08be83b5d79cb1
[ "Apache-2.0" ]
34
2017-08-16T13:58:24.000Z
2022-03-31T11:50:25.000Z
cocos2d/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_manual.hpp
weiDDD/particleSystem
32652b09da35e025956999227f08be83b5d79cb1
[ "Apache-2.0" ]
null
null
null
cocos2d/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_manual.hpp
weiDDD/particleSystem
32652b09da35e025956999227f08be83b5d79cb1
[ "Apache-2.0" ]
17
2017-08-18T07:42:44.000Z
2022-01-02T02:43:06.000Z
/**************************************************************************** Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to dea...
26.689076
87
0.691751
weiDDD
94dab9a0cd96ec7ac344ae472ca764b0a84a3d26
192
cpp
C++
Primero/Cuatrimestre1/FS/Practicas/Parciales/Parcial2/makefile-gdb/division.cpp
diegxsantiago/
7e9bc298d1cd1f20a2177178400bbf7e6e0bab3d
[ "MIT" ]
1
2021-02-08T18:22:50.000Z
2021-02-08T18:22:50.000Z
Primero/Cuatrimestre1/FS/Practicas/Parciales/Parcial2/makefile-gdb/division.cpp
diegxsantiago/gii
7e9bc298d1cd1f20a2177178400bbf7e6e0bab3d
[ "MIT" ]
null
null
null
Primero/Cuatrimestre1/FS/Practicas/Parciales/Parcial2/makefile-gdb/division.cpp
diegxsantiago/gii
7e9bc298d1cd1f20a2177178400bbf7e6e0bab3d
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <stdio.h> #include "funciones.h" /* producto de dos numeros */ int division (int x, int y) { int tmp; tmp = x / y; return tmp; }
10.666667
28
0.536458
diegxsantiago
94db874be36602fd7af0139f01c400625acb088a
925
cpp
C++
src/backend/generic/runtime/sycl/api.cpp
alexbatashev/athena
eafbb1e16ed0b273a63a20128ebd4882829aa2db
[ "MIT" ]
2
2020-07-16T06:42:27.000Z
2020-07-16T06:42:28.000Z
src/backend/generic/runtime/sycl/api.cpp
PolarAI/polarai-framework
c5fd886732afe787a06ebf6fb05fc38069257457
[ "MIT" ]
null
null
null
src/backend/generic/runtime/sycl/api.cpp
PolarAI/polarai-framework
c5fd886732afe787a06ebf6fb05fc38069257457
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // Copyright (c) 2020 Athena. All rights reserved. // https://getathena.ml // // Licensed under MIT license. // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "A...
28.90625
80
0.621622
alexbatashev
94e3575f63a486b5c93822233a7c3fa80e2e1de1
95,049
hh
C++
extern/glow/src/glow/detail/xxHash/xxh3.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
11
2019-10-23T19:15:42.000Z
2021-12-07T07:37:39.000Z
extern/glow/src/glow/detail/xxHash/xxh3.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
6
2019-10-29T04:11:17.000Z
2020-10-30T16:27:23.000Z
extern/glow/src/glow/detail/xxHash/xxh3.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
2
2020-01-22T17:53:55.000Z
2020-10-01T09:18:00.000Z
/* * xxHash - Extremely Fast Hash algorithm * Development source file for `xxh3` * Copyright (C) 2019-2020 Yann Collet * * BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
40.071248
177
0.636367
rovedit
94e5183afe2e08634bf2985a20f996ef87d685d8
1,946
cpp
C++
cdm/cpp/patient/conditions/SEChronicVentricularSystolicDysfunction.cpp
isuhao/engine1
4b928612290150c2a3e0455e38e52d13d90a7340
[ "Apache-2.0" ]
2
2019-03-15T04:20:11.000Z
2019-05-02T18:39:45.000Z
cdm/cpp/patient/conditions/SEChronicVentricularSystolicDysfunction.cpp
sinmx/engine1
4b928612290150c2a3e0455e38e52d13d90a7340
[ "Apache-2.0" ]
null
null
null
cdm/cpp/patient/conditions/SEChronicVentricularSystolicDysfunction.cpp
sinmx/engine1
4b928612290150c2a3e0455e38e52d13d90a7340
[ "Apache-2.0" ]
1
2018-09-22T04:10:37.000Z
2018-09-22T04:10:37.000Z
/* Distributed under the Apache License, Version 2.0. See accompanying NOTICE file for details.*/ #include "stdafx.h" #include "patient/conditions/SEChronicVentricularSystolicDysfunction.h" PROTO_PUSH #include "bind/cdm/PatientConditions.pb.h" PROTO_POP SEChronicVentricularSystolicDysfunction::SEChronicVentricular...
35.381818
160
0.828366
isuhao
94efd0d68247f41cfe2aca7fc2265f8b590afac7
3,063
cpp
C++
GrowtopiaServer/resource/server/GamePacket.cpp
LinkProfitSG/GTPS
fa654fb20b62d8ff3e35c3784f5d0fa7a3368135
[ "Apache-2.0" ]
2
2021-06-08T08:17:56.000Z
2021-12-02T20:41:28.000Z
GrowtopiaServer/resource/server/GamePacket.cpp
LinkProfitSG/GTPS
fa654fb20b62d8ff3e35c3784f5d0fa7a3368135
[ "Apache-2.0" ]
1
2021-12-02T20:46:47.000Z
2021-12-02T20:52:40.000Z
GrowtopiaServer/resource/server/GamePacket.cpp
LinkProfitSG/GTPS
fa654fb20b62d8ff3e35c3784f5d0fa7a3368135
[ "Apache-2.0" ]
3
2021-07-27T21:30:35.000Z
2021-10-07T07:52:27.000Z
#pragma warning (disable : 4244) #include "../../Server.hpp" using namespace std; GamePacket::~GamePacket() { delete[] data_; } GamePacket::GamePacket(int delay, int netId) { len_ = 61; int messageType = 0x4, packetType = 0x1, charState = 0x8; memset(data_, 0, 61); memcpy(data_, &messageType, 4); ...
25.525
71
0.615736
LinkProfitSG
94efd14de0824c213675483ff1b8d37b46fb5b2e
6,774
cpp
C++
CIM_Framework/CIMFramework/CPPClasses/Src/CIM_AssociatedPowerManagementService.cpp
rgl/lms
cda6a25e0f39b2a18f10415560ee6a2cfc5fbbcb
[ "Apache-2.0" ]
18
2019-04-17T10:43:35.000Z
2022-03-22T22:30:39.000Z
CIM_Framework/CIMFramework/CPPClasses/Src/CIM_AssociatedPowerManagementService.cpp
rgl/lms
cda6a25e0f39b2a18f10415560ee6a2cfc5fbbcb
[ "Apache-2.0" ]
9
2019-10-03T15:29:51.000Z
2021-12-27T14:03:33.000Z
CIM_Framework/CIMFramework/CPPClasses/Src/CIM_AssociatedPowerManagementService.cpp
isabella232/lms
50d16f81b49aba6007388c001e8137352c5eb42e
[ "Apache-2.0" ]
8
2019-06-13T23:30:50.000Z
2021-06-25T15:51:59.000Z
//---------------------------------------------------------------------------- // // Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved. // // File: CIM_AssociatedPowerManagementService.cpp // // Contents: The association between a Managed System Element and its power management service. // //...
34.212121
153
0.780632
rgl
94f541c491108f4eaf9f02fa2ed97656cd9c91a5
4,997
hpp
C++
src/MultiLayerOptics/src/MultiPaneSpecular.hpp
bakonyidani/Windows-CalcEngine
afa4c4a9f88199c6206af8bc994a073931fc8b91
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/MultiLayerOptics/src/MultiPaneSpecular.hpp
bakonyidani/Windows-CalcEngine
afa4c4a9f88199c6206af8bc994a073931fc8b91
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/MultiLayerOptics/src/MultiPaneSpecular.hpp
bakonyidani/Windows-CalcEngine
afa4c4a9f88199c6206af8bc994a073931fc8b91
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifndef MultiPaneSpecular_H #define MultiPaneSpecular_H #include <memory> #include <vector> #include "WCECommon.hpp" namespace FenestrationCommon { enum class Side; enum class Property; class CSeries; } // namespace FenestrationCommon namespace SingleLayerOptics { class CSpecularCell; class ...
40.626016
99
0.634981
bakonyidani
94fa986787378cf10f900dae5321385b0539cb3d
1,041
cpp
C++
sources/Dwarf/AST/AstVariableReference.cpp
KonstantinTomashevich/dwarf-scripting-language
1cb7e2719ee66c77172d647f33052358dfe36be3
[ "MIT" ]
null
null
null
sources/Dwarf/AST/AstVariableReference.cpp
KonstantinTomashevich/dwarf-scripting-language
1cb7e2719ee66c77172d647f33052358dfe36be3
[ "MIT" ]
null
null
null
sources/Dwarf/AST/AstVariableReference.cpp
KonstantinTomashevich/dwarf-scripting-language
1cb7e2719ee66c77172d647f33052358dfe36be3
[ "MIT" ]
null
null
null
#include "AstVariableReference.hpp" #include <assert.h> namespace Dwarf { AstVariableReference::AstVariableReference (std::string name, AstValue *provider) : name_ (name), provider_ (provider) { assert (!name_.empty ()); } AstVariableReference::~AstVariableReference () { delete provider_; } std::stri...
20.82
83
0.634006
KonstantinTomashevich
94faee49b23fdc6a8c5ada686f4ce0c259f63930
2,879
hpp
C++
RoviSamplePlugin/src/SamplePlugin.hpp
balintmaci/RoVi_project
29a948aef0d7596e7ba6afab36016b494ba1132e
[ "Unlicense" ]
null
null
null
RoviSamplePlugin/src/SamplePlugin.hpp
balintmaci/RoVi_project
29a948aef0d7596e7ba6afab36016b494ba1132e
[ "Unlicense" ]
null
null
null
RoviSamplePlugin/src/SamplePlugin.hpp
balintmaci/RoVi_project
29a948aef0d7596e7ba6afab36016b494ba1132e
[ "Unlicense" ]
null
null
null
#ifndef SAMPLEPLUGIN_HPP #define SAMPLEPLUGIN_HPP // RobWork includes #include <rw/models/WorkCell.hpp> #include <rw/kinematics/State.hpp> #include <rwlibs/opengl/RenderImage.hpp> #include <rwlibs/simulation/GLFrameGrabber.hpp> #include <rwlibs/simulation/GLFrameGrabber25D.hpp> #include <rw/rw.hpp> #includ...
25.936937
113
0.727336
balintmaci
94fb49108c7686359b444c6f4da79ec6eb6845b8
419
cpp
C++
cpp_level_2_solutions/2_2_add_two_ints.cpp
PacktPublishing/Practical-C-Learn-C-Basics-Step-by-Step
553d18984f47ffe5275c67346f64551eef659e2f
[ "MIT" ]
1
2022-03-13T06:12:44.000Z
2022-03-13T06:12:44.000Z
cpp_level_2_solutions/2_2_add_two_ints.cpp
PacktPublishing/Practical-C-Learn-C-Basics-Step-by-Step
553d18984f47ffe5275c67346f64551eef659e2f
[ "MIT" ]
null
null
null
cpp_level_2_solutions/2_2_add_two_ints.cpp
PacktPublishing/Practical-C-Learn-C-Basics-Step-by-Step
553d18984f47ffe5275c67346f64551eef659e2f
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int add_two_ints(int number1, int number2) { return number1 + number2; } int main() { int number1, number2; cout << "Enter number 1: "; cin >> number1; cout << "Enter number 2: "; cin >> number2; cout << number1 << " + " << number...
19.045455
56
0.520286
PacktPublishing
94fffca5cfd2b81cde9129fc6ce7cad56885a943
790
cpp
C++
pwiz_tools/Bumbershoot/idpicker/Qonverter/waffles/GWindows.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
2
2019-12-28T21:24:36.000Z
2020-04-18T03:52:05.000Z
pwiz_tools/Bumbershoot/idpicker/Qonverter/waffles/GWindows.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
pwiz_tools/Bumbershoot/idpicker/Qonverter/waffles/GWindows.cpp
austinkeller/pwiz
aa8e575cb40fd5e97cc7d922e4d8da44c9277cca
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2006, Mike Gashler This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. see http://www.gnu.org/copy...
18.809524
67
0.712658
austinkeller
a20200110301e45c9d28f9183090dd41f4768738
119
cpp
C++
Source/DreamPlace/DreamPlaceGameStateBase.cpp
YuanweiZHANG/DreamPlace
b005c22e2353e674a0596c078083b82efe9ae733
[ "MIT" ]
null
null
null
Source/DreamPlace/DreamPlaceGameStateBase.cpp
YuanweiZHANG/DreamPlace
b005c22e2353e674a0596c078083b82efe9ae733
[ "MIT" ]
null
null
null
Source/DreamPlace/DreamPlaceGameStateBase.cpp
YuanweiZHANG/DreamPlace
b005c22e2353e674a0596c078083b82efe9ae733
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "DreamPlaceGameStateBase.h"
19.833333
78
0.789916
YuanweiZHANG
a2062d229e19af94da5938ee3d5873e8af47f19f
963
hpp
C++
tlx/define/visibility_hidden.hpp
GerHobbelt/tlx
81a71238b17df27d98a4dff9ceba21bd79fddffb
[ "BSL-1.0" ]
284
2017-02-26T08:49:15.000Z
2022-03-30T21:55:37.000Z
tlx/define/visibility_hidden.hpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
24
2017-09-05T21:02:41.000Z
2022-03-07T10:09:59.000Z
tlx/define/visibility_hidden.hpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
62
2017-02-23T12:29:27.000Z
2022-03-31T07:45:59.000Z
/******************************************************************************* * tlx/define/visibility_hidden.hpp * * Part of tlx - http://panthema.net/tlx * * Copyright (C) 2019 Timo Bingmann <tb@panthema.net> * * All rights reserved. Published under the Boost Software License, Version 1.0 ******************...
27.514286
80
0.496366
GerHobbelt
a20649589052eeb907eead30aa4ec0efeff71dea
2,027
cc
C++
tao_compiler/mlir/disc/transforms/disc_strip_shape_constraint_ops.cc
JamesTheZ/BladeDISC
e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34
[ "Apache-2.0" ]
null
null
null
tao_compiler/mlir/disc/transforms/disc_strip_shape_constraint_ops.cc
JamesTheZ/BladeDISC
e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34
[ "Apache-2.0" ]
null
null
null
tao_compiler/mlir/disc/transforms/disc_strip_shape_constraint_ops.cc
JamesTheZ/BladeDISC
e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 The TensorFlow 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 by applicable law or a...
36.196429
83
0.729156
JamesTheZ
a20817730921ccb27a6936fc99a3bc4af62579aa
380
cc
C++
1189/lectures/tools/make/example2/list.cc
JohnMai1994/CS246-2018_Fall_Term
a95a9cf5bc710131a6e51b863b002efdd425b89c
[ "MIT" ]
2
2020-07-13T17:08:29.000Z
2021-11-19T15:47:06.000Z
1189/lectures/tools/make/example1/list.cc
JohnMai1994/CS246-2018_Fall_Term
a95a9cf5bc710131a6e51b863b002efdd425b89c
[ "MIT" ]
null
null
null
1189/lectures/tools/make/example1/list.cc
JohnMai1994/CS246-2018_Fall_Term
a95a9cf5bc710131a6e51b863b002efdd425b89c
[ "MIT" ]
4
2021-05-29T22:40:59.000Z
2022-03-25T19:19:15.000Z
#include "list.h" #include "node.h" List::Iterator List::begin() { return Iterator(theList); } List::Iterator List::end() {return Iterator(nullptr); } List::~List() { delete theList; } void List::addToFront(int n) { theList = new Node(n, theList); } int List::ith(int i) { Node *cur = theList; for (int j = 0; j ...
22.352941
64
0.621053
JohnMai1994
a20a1bae04eb55f7b54548c42c85340c822f7f2c
2,157
cpp
C++
Algorithm/0401 (Easy)Binary Watch/Brute-Force.cpp
ZexinLi0w0/LeetCode
cf3988620ccdcc3d54b9beafd04c517c96f01bb9
[ "MIT" ]
1
2020-12-03T10:10:15.000Z
2020-12-03T10:10:15.000Z
Algorithm/0401 (Easy)Binary Watch/Brute-Force.cpp
ZexinLi0w0/LeetCode
cf3988620ccdcc3d54b9beafd04c517c96f01bb9
[ "MIT" ]
null
null
null
Algorithm/0401 (Easy)Binary Watch/Brute-Force.cpp
ZexinLi0w0/LeetCode
cf3988620ccdcc3d54b9beafd04c517c96f01bb9
[ "MIT" ]
null
null
null
class Solution { void generateNumbers(int bits, long temp_num, set<long>& numbers){ if (bits == 0){ numbers.insert(temp_num); return; } // If we have bits available, out of all 10 available bits, we need to do the follwoing: // For all bits (from 0 t...
36.559322
111
0.545665
ZexinLi0w0
a2125800640f6d634c28e3d9de4de896424ba2d5
22,165
cpp
C++
src/Plugins/RenX/RenX.Core/RenX_LadderDatabase.cpp
Constructive-Tyranny/Jupiter-Bot
2f1261b55b0b420ad2a2cc7aa30118296e0a87d1
[ "0BSD" ]
9
2016-02-04T09:54:24.000Z
2021-11-25T18:56:44.000Z
src/Plugins/RenX/RenX.Core/RenX_LadderDatabase.cpp
Constructive-Tyranny/Jupiter-Bot
2f1261b55b0b420ad2a2cc7aa30118296e0a87d1
[ "0BSD" ]
8
2015-08-04T15:19:53.000Z
2021-11-18T19:39:05.000Z
src/Plugins/RenX/RenX.Core/RenX_LadderDatabase.cpp
JustinAJ/Jupiter-Bot
2f1261b55b0b420ad2a2cc7aa30118296e0a87d1
[ "0BSD" ]
15
2016-08-22T13:04:25.000Z
2022-02-18T16:19:00.000Z
/** * Copyright (C) 2015-2021 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO...
34.741379
325
0.70467
Constructive-Tyranny
a21368cb25f93ac1d5ea2744906c7339e88fa503
6,015
cpp
C++
RealTimeAbstract_Qt version/3 RealTimeAbstract_Qt/RealTimeAbstract_Qt/GeneratedFiles/Release/moc_videoabstract_qtver.cpp
billhhh/Maskedman_double_mode
8937ddc2d8f154eaaa93b2449dff127f03b488f2
[ "MIT" ]
null
null
null
RealTimeAbstract_Qt version/3 RealTimeAbstract_Qt/RealTimeAbstract_Qt/GeneratedFiles/Release/moc_videoabstract_qtver.cpp
billhhh/Maskedman_double_mode
8937ddc2d8f154eaaa93b2449dff127f03b488f2
[ "MIT" ]
null
null
null
RealTimeAbstract_Qt version/3 RealTimeAbstract_Qt/RealTimeAbstract_Qt/GeneratedFiles/Release/moc_videoabstract_qtver.cpp
billhhh/Maskedman_double_mode
8937ddc2d8f154eaaa93b2449dff127f03b488f2
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'videoabstract_qtver.h' ** ** Created: Sat Oct 4 11:02:03 2014 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2) ** ** WARNING! All changes made in this file will be lost! ****************...
37.830189
198
0.62128
billhhh
a219274fdbaeb5d5349d0e396011930fd1ae8130
10,875
hpp
C++
include/System/Net/HttpWebResponse.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Net/HttpWebResponse.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Net/HttpWebResponse.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.Net.WebResponse #include "System/Net/WebResponse.hpp" // Inclu...
50.115207
792
0.713379
darknight1050
b8cbe36dcdf1dde5ca15ed055ff885b50aa3be44
710
cpp
C++
spider/shared/net/tcpconn_handler.cpp
wonghoifung/learning-python
ad1691be1d185bfff828779a553b2c59d36d16ea
[ "MIT" ]
null
null
null
spider/shared/net/tcpconn_handler.cpp
wonghoifung/learning-python
ad1691be1d185bfff828779a553b2c59d36d16ea
[ "MIT" ]
null
null
null
spider/shared/net/tcpconn_handler.cpp
wonghoifung/learning-python
ad1691be1d185bfff828779a553b2c59d36d16ea
[ "MIT" ]
null
null
null
// // Created by huanghaifeng on 15-9-1. // Copyright (c) 2015 wonghoifung. All rights reserved. // #include "tcpconn_handler.h" #include "shared/utils/logger.h" tcpconn_handler::tcpconn_handler() { } tcpconn_handler::~tcpconn_handler() { } void tcpconn_handler::on_highwatermark(tcpconn_ptr conn, size_t size, si...
18.684211
88
0.690141
wonghoifung
b8cce46fa44b9e0520c7c6b9d38e8ec00dae1f9b
5,678
cpp
C++
coreLibrary_200/source/core/dgSPDMatrix.cpp
rastullahs-lockenpracht/newton
99b82478f3de9ee7c8d17c8ebefe62e46283d857
[ "Zlib" ]
null
null
null
coreLibrary_200/source/core/dgSPDMatrix.cpp
rastullahs-lockenpracht/newton
99b82478f3de9ee7c8d17c8ebefe62e46283d857
[ "Zlib" ]
null
null
null
coreLibrary_200/source/core/dgSPDMatrix.cpp
rastullahs-lockenpracht/newton
99b82478f3de9ee7c8d17c8ebefe62e46283d857
[ "Zlib" ]
null
null
null
/* Copyright (c) <2003-2011> <Julio Jerez, Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software f...
22.621514
109
0.645826
rastullahs-lockenpracht
b8ccf145d567676eab9664e83a4c16491e117826
5,253
cpp
C++
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCCertificateGenerator.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCCertificateGenerator.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCCertificateGenerator.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2018 Apple Inc. * * 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 and the following di...
41.362205
202
0.733295
jacadcaps
b8d25404da4825927f28a42d9c7e9f05978cdb7d
2,014
cpp
C++
src/ck/android/ck/src/main/cpp/com_crickettechnology_audio_Bank.cpp
opala-studios/ck
dff23ff3912de114ef0c7ca57da6506f0a9bee51
[ "Zlib" ]
23
2020-02-23T23:20:22.000Z
2021-12-30T16:09:23.000Z
src/ck/android/ck/src/main/cpp/com_crickettechnology_audio_Bank.cpp
opala-studios/ck
dff23ff3912de114ef0c7ca57da6506f0a9bee51
[ "Zlib" ]
3
2020-03-17T05:50:40.000Z
2020-10-12T18:18:44.000Z
src/ck/android/ck/src/main/cpp/com_crickettechnology_audio_Bank.cpp
opala-studios/ck
dff23ff3912de114ef0c7ca57da6506f0a9bee51
[ "Zlib" ]
10
2020-03-02T15:07:32.000Z
2022-01-29T03:34:55.000Z
#include <jni.h> #include "ck/bank.h" #include "ck/core/javastringref_android.h" extern "C" { jboolean Java_com_crickettechnology_audio_Bank_nativeIsLoaded(JNIEnv* env, jclass, jlong inst) { CkBank* bank = (CkBank*) inst; return bank->isLoaded(); } jboolean Java_com_crickettechnology_audio_Bank_nativeIsFail...
28.771429
141
0.739821
opala-studios