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
60314451e1e4e034ceea302e35e5e5cc9c11edd4
21,382
hpp
C++
torch/lib/c10d/Utils.hpp
mleshen/pytorch
314a578154d9f0981bc08397aaaeaf50d8233730
[ "Intel" ]
3
2021-01-03T16:39:28.000Z
2022-02-02T14:49:37.000Z
torch/lib/c10d/Utils.hpp
mleshen/pytorch
314a578154d9f0981bc08397aaaeaf50d8233730
[ "Intel" ]
1
2021-05-10T01:18:33.000Z
2021-05-10T01:18:33.000Z
torch/lib/c10d/Utils.hpp
mleshen/pytorch
314a578154d9f0981bc08397aaaeaf50d8233730
[ "Intel" ]
1
2021-08-06T22:50:37.000Z
2021-08-06T22:50:37.000Z
#pragma once #include <ATen/ATen.h> #include <c10/util/accumulate.h> #include <c10d/Types.hpp> #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> typedef SSIZE_T ssize_t; #pragma comment(lib, "Ws2_32.lib") #else #include <fcntl.h> #include <netdb.h> #include <sys/poll.h> #include <sys/socket.h> #include <unist...
30.854257
80
0.605322
mleshen
60372c6fa6c3a74f40295d237ce2e860ee2ee61c
28,301
cpp
C++
tests/test_cases/reorder_gpu_test.cpp
kyper999/clDNN_neuset
85148cef898dbf1b314ef742092824c447474f2d
[ "BSL-1.0", "Intel", "Apache-2.0" ]
1
2018-06-07T09:21:08.000Z
2018-06-07T09:21:08.000Z
tests/test_cases/reorder_gpu_test.cpp
kyper999/clDNN_neuset
85148cef898dbf1b314ef742092824c447474f2d
[ "BSL-1.0", "Intel", "Apache-2.0" ]
null
null
null
tests/test_cases/reorder_gpu_test.cpp
kyper999/clDNN_neuset
85148cef898dbf1b314ef742092824c447474f2d
[ "BSL-1.0", "Intel", "Apache-2.0" ]
null
null
null
/* // Copyright (c) 2016 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
29.449532
143
0.543126
kyper999
6037404ef7b5caba437ed595f53dd4890ed0802a
964
hpp
C++
cpp/bls/include/bls/msg.hpp
aguycalled/react-native-mcl
a4754aa23b473db2765ceac288a44cca39b20087
[ "MIT" ]
212
2016-08-10T03:54:55.000Z
2022-03-28T02:43:08.000Z
cpp/bls/include/bls/msg.hpp
aguycalled/react-native-mcl
a4754aa23b473db2765ceac288a44cca39b20087
[ "MIT" ]
78
2016-09-06T22:22:52.000Z
2022-03-29T11:21:33.000Z
cpp/bls/include/bls/msg.hpp
aguycalled/react-native-mcl
a4754aa23b473db2765ceac288a44cca39b20087
[ "MIT" ]
112
2016-09-06T02:32:02.000Z
2022-03-28T07:41:10.000Z
#pragma once /** @file @brief check msg @author MITSUNARI Shigeo(@herumi) @license modified new BSD license http://opensource.org/licenses/BSD-3-Clause */ #include <stdint.h> #include <set> #include <memory.h> namespace bls_util { const size_t MSG_SIZE = 32; struct Msg { uint8_t v[MSG_SIZE]; bool operator<(co...
18.901961
63
0.644191
aguycalled
603b990e12f490d760778268ff031a8f3583032e
3,012
cpp
C++
ovPCRE.cpp
theloox/ovSTR
f1fddb6a6e0e3761c770ab604728f7e7f8805466
[ "MIT" ]
null
null
null
ovPCRE.cpp
theloox/ovSTR
f1fddb6a6e0e3761c770ab604728f7e7f8805466
[ "MIT" ]
null
null
null
ovPCRE.cpp
theloox/ovSTR
f1fddb6a6e0e3761c770ab604728f7e7f8805466
[ "MIT" ]
null
null
null
/*************************************************************************** * 2005 by Axel Gonzalez * * loox@e-shell.net * * * * This so...
17.928571
110
0.479748
theloox
603bb4a1397054f1c4d25d2c2ee7114147f8466f
5,759
cpp
C++
fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp
quanganh2627/bytm-x64-L-w05-2015_external_pdfium
86957661fc29ce82c3101107f95a11d1f9e59932
[ "BSD-3-Clause" ]
4
2015-06-24T17:11:51.000Z
2015-07-16T13:10:25.000Z
fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp
quanganh2627/bytm-x64-L-w05-2015_external_pdfium
86957661fc29ce82c3101107f95a11d1f9e59932
[ "BSD-3-Clause" ]
null
null
null
fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp
quanganh2627/bytm-x64-L-w05-2015_external_pdfium
86957661fc29ce82c3101107f95a11d1f9e59932
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "../../include/pdfwindow/PDFWindow.h" #include "../../include...
23.410569
94
0.667477
quanganh2627
603c304083c76ea484ec2b6a10fb55c0f0d38824
1,381
cc
C++
garnet/lib/ui/gfx/engine/duration_predictor.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
garnet/lib/ui/gfx/engine/duration_predictor.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
garnet/lib/ui/gfx/engine/duration_predictor.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "garnet/lib/ui/gfx/engine/duration_predictor.h" #include <src/lib/fxl/logging.h> namespace scenic_impl { namespace gfx { DurationPredictor::Dur...
31.386364
89
0.740768
zhangpf
603f43cdde744bc7f8046572508c2294a0231ee8
711
cpp
C++
vta/bundles/FCTest/vtaFCTestBundle.cpp
etri/nest-compiler
c6ac790ed12807f2e0855e3aa0170cb149dc237d
[ "Apache-2.0" ]
112
2020-12-16T07:05:39.000Z
2022-03-15T08:12:03.000Z
vta/bundles/FCTest/vtaFCTestBundle.cpp
etri/nest-compiler
c6ac790ed12807f2e0855e3aa0170cb149dc237d
[ "Apache-2.0" ]
1
2022-02-25T03:36:18.000Z
2022-02-25T05:01:43.000Z
vta/bundles/FCTest/vtaFCTestBundle.cpp
etri/nest-compiler
c6ac790ed12807f2e0855e3aa0170cb149dc237d
[ "Apache-2.0" ]
10
2021-01-08T01:36:26.000Z
2022-02-23T02:03:08.000Z
#include "vta/runtime.h" #include "vta/vtalib/include/Bundle/VTABundle.h" #include "vtaFCTestBundle.h" SymbolTableEntry symbolTableEntry[2]={{"inputP",0,2048,'1'},{"outP",2048,1000,'1'}}; BundleConfig vtaFCTestBundle_config = {2052000, 3048, 0, 64, 2, symbolTableEntry}; int vtaFCTestMainEntry(int8_t *constantWeight,...
41.823529
154
0.7173
etri
603fe78538b1cd7b86abaaf5c7c1d79049fa445a
5,710
cpp
C++
Tests/support/matrix_support.cpp
Freddan-67/V3DLib
dcefc24a9a399ee1f5d1aa5529f44d9fd2486929
[ "MIT" ]
44
2021-01-16T14:17:15.000Z
2022-03-11T19:53:59.000Z
Tests/support/matrix_support.cpp
RcCreeperTech/V3DLib
38eb8d55b8276de5cf703d8e13fb9b5f220c49f0
[ "MIT" ]
8
2021-01-16T17:52:02.000Z
2021-12-18T22:38:00.000Z
Tests/support/matrix_support.cpp
RcCreeperTech/V3DLib
38eb8d55b8276de5cf703d8e13fb9b5f220c49f0
[ "MIT" ]
7
2021-01-16T14:25:47.000Z
2022-02-03T16:34:45.000Z
#include "matrix_support.h" #include "../doctest.h" #include "Support/Helpers.h" // random_float() using namespace V3DLib; void compare_arrays(Float::Array2D &a, float const *b, float precision) { // Values empirically determined - the bigger the matrices, the less precise if (precision == -1.0f) { if (Pla...
26.073059
101
0.509282
Freddan-67
6041e1f3f7b63e83347fb38d839271d52df36c2a
8,928
cpp
C++
inference-engine/src/mkldnn_plugin/cpu_blocked_memory_desc.cpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
1
2021-03-16T17:40:26.000Z
2021-03-16T17:40:26.000Z
inference-engine/src/mkldnn_plugin/cpu_blocked_memory_desc.cpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
42
2020-11-23T08:09:57.000Z
2022-02-21T13:03:34.000Z
inference-engine/src/mkldnn_plugin/cpu_blocked_memory_desc.cpp
v-Golubev/openvino
26936d1fbb025c503ee43fe74593ee9d7862ab15
[ "Apache-2.0" ]
4
2021-04-02T08:48:38.000Z
2021-07-01T06:59:02.000Z
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "cpu_blocked_memory_desc.h" #include "mkldnn_memory.h" #include "utils/cpu_utils.hpp" using namespace MKLDNNPlugin; BlockedMemoryDesc::BlockedMemoryDesc(InferenceEngine::Precision prc, const std::vector<size_t>& dims) : Memory...
36
152
0.620408
uikilin100
60436c3bf19201796208b71626c01ccfc8cbd6b2
27,650
cpp
C++
src/gpe_editor/gpe_scene_tilemap_class.cpp
jaymicrocode/Game-Pencil-Engine
28501fdf21ad7b3ff2ac7912e6f7a988a9ace7e4
[ "MIT" ]
null
null
null
src/gpe_editor/gpe_scene_tilemap_class.cpp
jaymicrocode/Game-Pencil-Engine
28501fdf21ad7b3ff2ac7912e6f7a988a9ace7e4
[ "MIT" ]
null
null
null
src/gpe_editor/gpe_scene_tilemap_class.cpp
jaymicrocode/Game-Pencil-Engine
28501fdf21ad7b3ff2ac7912e6f7a988a9ace7e4
[ "MIT" ]
null
null
null
/* gpe_scene_tilemap_class.cpp This file is part of: GAME PENCIL ENGINE https://www.pawbyte.com/gamepencilengine Copyright (c) 2014-2020 Nathan Hurde, Chase Lee. Copyright (c) 2014-2020 PawByte LLC. Copyright (c) 2014-2020 Game Pencil Engine contributors ( Contributors Page ) Permission is hereby granted, f...
37.213997
236
0.548897
jaymicrocode
60481535d06cdd537c08cc7621a16701f6263dcc
1,625
cc
C++
test/common/common/basic_resource_impl_test.cc
lopter-dbx/envoy
d342e96e7ba2319329838e799021838354e88118
[ "Apache-2.0" ]
218
2019-05-10T01:11:27.000Z
2022-01-12T07:12:59.000Z
test/common/common/basic_resource_impl_test.cc
lopter-dbx/envoy
d342e96e7ba2319329838e799021838354e88118
[ "Apache-2.0" ]
624
2020-10-19T12:21:29.000Z
2021-05-09T22:47:00.000Z
test/common/common/basic_resource_impl_test.cc
lopter-dbx/envoy
d342e96e7ba2319329838e799021838354e88118
[ "Apache-2.0" ]
93
2019-05-10T00:15:21.000Z
2021-10-14T09:32:30.000Z
#include <limits> #include "common/common/basic_resource_impl.h" #include "test/mocks/runtime/mocks.h" #include "gtest/gtest.h" using testing::NiceMock; using testing::Return; namespace Envoy { class BasicResourceLimitImplTest : public testing::Test { protected: NiceMock<Runtime::MockLoader> runtime_; }; TEST_...
21.959459
86
0.714462
lopter-dbx
6048a7840f1b8305021db025815847a3fb0dba78
11,580
cpp
C++
applications/freezing_soil_application/custom_conditions/face_load_pressure.cpp
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
2
2020-04-30T19:13:08.000Z
2021-04-14T19:40:47.000Z
applications/freezing_soil_application/custom_conditions/face_load_pressure.cpp
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
1
2020-04-30T19:19:09.000Z
2020-05-02T14:22:36.000Z
applications/freezing_soil_application/custom_conditions/face_load_pressure.cpp
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
1
2020-06-12T08:51:24.000Z
2020-06-12T08:51:24.000Z
/* ============================================================================== KratosR1StructuralApplication A library based on: Kratos A General Purpose Software for Multi-Physics Finite Element Analysis Version 1.0 (Released on march 05, 2007). Copyright 2007 Pooyan Dadvand, Riccardo Rossi, Janosch Stascheit, Fel...
41.505376
211
0.589292
AndreaVoltan
60490e8223ed24a6d95cc69636b5a15321481d1b
1,940
cpp
C++
comm/sender_test.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
7
2019-04-09T16:25:49.000Z
2021-12-07T10:29:52.000Z
comm/sender_test.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
null
null
null
comm/sender_test.cpp
RickAi/csci5570
2814c0a6bf608c73bf81d015d13e63443470e457
[ "Apache-2.0" ]
4
2019-08-07T07:43:27.000Z
2021-05-21T07:54:14.000Z
#include "glog/logging.h" #include "gtest/gtest.h" #include "comm/sender.hpp" #include <iostream> #include <vector> namespace minips { namespace { class TestSender : public testing::Test { public: TestSender() {} ~TestSender() {} protected: void SetU...
24.25
59
0.495876
RickAi
6049e827e03267426651bb93dc2981591c5369c9
1,602
hpp
C++
src/Cajita.hpp
sfogerty/Cajita
6126509050f73c58614c9ae340015dd96ea4dfe7
[ "BSD-3-Clause" ]
20
2019-07-26T15:24:51.000Z
2020-02-29T01:40:33.000Z
src/Cajita.hpp
sfogerty/Cajita
6126509050f73c58614c9ae340015dd96ea4dfe7
[ "BSD-3-Clause" ]
26
2019-07-29T16:17:03.000Z
2020-06-09T18:27:37.000Z
src/Cajita.hpp
sfogerty/Cajita
6126509050f73c58614c9ae340015dd96ea4dfe7
[ "BSD-3-Clause" ]
6
2019-07-24T21:42:10.000Z
2020-04-10T12:05:50.000Z
/**************************************************************************** * Copyright (c) 2019-2020 by the Cajita authors * * All rights reserved. * * * * This ...
37.255814
78
0.555556
sfogerty
604ca4120540c41f055cc079e5f7346f1eafdfdf
6,177
cpp
C++
windows/wrapper/impl_org_webRtc_RTCRemoteOutboundRtpStreamStats.cpp
kevinhartman/webrtc-apis
c95bc4b8515bfb0920f3694ccba34ee5e2f63692
[ "BSD-3-Clause" ]
null
null
null
windows/wrapper/impl_org_webRtc_RTCRemoteOutboundRtpStreamStats.cpp
kevinhartman/webrtc-apis
c95bc4b8515bfb0920f3694ccba34ee5e2f63692
[ "BSD-3-Clause" ]
null
null
null
windows/wrapper/impl_org_webRtc_RTCRemoteOutboundRtpStreamStats.cpp
kevinhartman/webrtc-apis
c95bc4b8515bfb0920f3694ccba34ee5e2f63692
[ "BSD-3-Clause" ]
null
null
null
// Generated by zsLibEventingTool #include "impl_org_webRtc_RTCRemoteOutboundRtpStreamStats.h" using ::zsLib::String; using ::zsLib::Optional; using ::zsLib::Any; using ::zsLib::AnyPtr; using ::zsLib::AnyHolder; using ::zsLib::Promise; using ::zsLib::PromisePtr; using ::zsLib::PromiseWithHolder; using ::zsLib::Promis...
33.032086
137
0.535697
kevinhartman
604d76204206a3460fb5f812df71aad5d4412b2d
4,433
hpp
C++
NWNXLib/API/API/CNWSPlaceable.hpp
nwnstuff/unified
2da1201fdded07235f3d2809a3215315140d19da
[ "MIT" ]
null
null
null
NWNXLib/API/API/CNWSPlaceable.hpp
nwnstuff/unified
2da1201fdded07235f3d2809a3215315140d19da
[ "MIT" ]
null
null
null
NWNXLib/API/API/CNWSPlaceable.hpp
nwnstuff/unified
2da1201fdded07235f3d2809a3215315140d19da
[ "MIT" ]
null
null
null
#pragma once #include "nwn_api.hpp" #include "CExoString.hpp" #include "CExoLocString.hpp" #include "CExoArrayList.hpp" #include "Vector.hpp" #include "CResRef.hpp" #include "CNWSObject.hpp" #ifdef NWN_API_PROLOGUE NWN_API_PROLOGUE(CNWSPlaceable) #endif struct CNWSObjectActionNode; struct CResStruct; struct CNWSAre...
31.439716
165
0.765847
nwnstuff
604e5692484977e3ff4b257224d809d9f5e9acf6
197
cpp
C++
templates/== libraryName ==/src/library_main.cpp
julian-becker/slush-cmake-library
5511f2276853545b366a34bdda48885f6b2b956b
[ "MIT" ]
null
null
null
templates/== libraryName ==/src/library_main.cpp
julian-becker/slush-cmake-library
5511f2276853545b366a34bdda48885f6b2b956b
[ "MIT" ]
null
null
null
templates/== libraryName ==/src/library_main.cpp
julian-becker/slush-cmake-library
5511f2276853545b366a34bdda48885f6b2b956b
[ "MIT" ]
null
null
null
#include <<%= libraryName %>/export.h> #include <iostream> <%= LIBRARYNAME %>_API int <%= libraryName %>_api() { std::cout << "hello from <%= libraryName %>" << std::endl; return 12345; }
21.888889
62
0.598985
julian-becker
604ff12d561cded190e636446b8a0ca555384546
14,457
cpp
C++
src/toolkits/feature_engineering/dict_transform_utils.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
src/toolkits/feature_engineering/dict_transform_utils.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
src/toolkits/feature_engineering/dict_transform_utils.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #include <toolkits/feature_engineering/dict_transform_utils.hpp> #include <core/data/flexible_type/f...
32.414798
90
0.60552
Bpowers4
6050123017fabbb197c8363977751b1a3c29ea58
12,208
hpp
C++
include/etl/op/dim_view.hpp
wichtounet/etl
8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94
[ "MIT" ]
210
2015-02-13T11:40:45.000Z
2022-01-21T21:46:42.000Z
include/etl/op/dim_view.hpp
wichtounet/etl
8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94
[ "MIT" ]
5
2017-01-31T18:12:48.000Z
2020-07-16T15:18:00.000Z
include/etl/op/dim_view.hpp
wichtounet/etl
8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94
[ "MIT" ]
25
2016-11-26T16:32:56.000Z
2021-07-20T02:08:51.000Z
//======================================================================= // Copyright (c) 2014-2020 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
34.88
147
0.574132
wichtounet
60502ce5ecedb8247b8c3662268eb535d64305b6
715
cpp
C++
cpp/student/student.cpp
shauryachawla/misc
e50eb7c8979f9b3f7ecc43464cf7ccc91bf4d0bb
[ "MIT" ]
null
null
null
cpp/student/student.cpp
shauryachawla/misc
e50eb7c8979f9b3f7ecc43464cf7ccc91bf4d0bb
[ "MIT" ]
null
null
null
cpp/student/student.cpp
shauryachawla/misc
e50eb7c8979f9b3f7ecc43464cf7ccc91bf4d0bb
[ "MIT" ]
1
2019-10-07T08:22:09.000Z
2019-10-07T08:22:09.000Z
#include "student.h" #include <iostream> using namespace std; void Student::input (void) { cout << "\n\nRoll No: "; cin >> rollno; cout << "Name: "; cin.ignore(); cin.getline(name, 20); cout << "MARKS" << endl; cout << "Phy: "; cin >> marks[phy]; cout << "Chem: "; cin >> marks[chem]; ...
24.655172
60
0.513287
shauryachawla
60537596a9774a77332ba1d40d430a02f2ebe5f8
1,573
cc
C++
Mu2eG4/src/Mu2eUniverse.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
null
null
null
Mu2eG4/src/Mu2eUniverse.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
Mu2eG4/src/Mu2eUniverse.cc
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// // Umbrela for the the Mu2e G4 world classes // // $Id: Mu2eUniverse.cc,v 1.2 2012/11/19 23:03:49 genser Exp $ // $Author: genser $ // $Date: 2012/11/19 23:03:49 $ // // Original author Rob Kutschke // // // C++ includes #include <iostream> #include <vector> #include <iomanip> // Framework includes #include "art/F...
24.578125
100
0.643357
bonventre
6053fa76062bcfa303e9dd3acb1fc387dfd2057d
3,570
cpp
C++
Source/Source/Common/SO3World/Src/KNpcOrderList.cpp
uvbs/FullSource
07601c5f18d243fb478735b7bdcb8955598b9a90
[ "MIT" ]
2
2018-07-26T07:58:14.000Z
2019-05-31T14:32:18.000Z
Jx3Full/Source/Source/Common/SO3World/Src/KNpcOrderList.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
null
null
null
Jx3Full/Source/Source/Common/SO3World/Src/KNpcOrderList.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
5
2021-02-03T10:25:39.000Z
2022-02-23T07:08:37.000Z
#include "stdafx.h" #include "KMath.h" #include "Global.h" #include "KNpcOrderList.h" using namespace std; BOOL KNpcOrderManager::Init() { BOOL bResult = false; int nRetCode = false; ITabFile* piTabFile = NULL; char szFileName[MAX_PATH]; int ...
27.890625
101
0.566387
uvbs
60568d7eeac972c43eb899da7ac15d571144af92
507
cc
C++
src/samplers/SamplerFattal/bimage/btest.cc
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
44
2018-01-09T19:56:29.000Z
2022-03-03T06:38:54.000Z
src/samplers/SamplerFattal/bimage/btest.cc
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
16
2018-01-29T18:01:42.000Z
2022-03-31T07:01:09.000Z
src/samplers/SamplerFattal/bimage/btest.cc
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
12
2018-03-14T00:24:14.000Z
2022-03-03T06:40:07.000Z
#include "bimage.hh" #include <math.h> #include <fstream> #include <stdlib.h> #include <iostream> using namespace std; int main(int argc, char* argv[]){ BImage image(257,256) ; image.clear(255,255,255) ; image.text(10,10,"abc ABC 123 @$%& ][{}.,:") ; // fghijklmnopquvwxyz") ; for(int i = 0 ; i < 16 ; i+...
16.354839
74
0.540434
FrancoisGaits
6056ab2add72b1ec078a0e58df3d0eee5dafb44f
53,420
cpp
C++
tools/dumpce/dumpce.cpp
tizenorg/external.icu
5b69033400476be749862631609f60bd7daaacd7
[ "ICU" ]
3
2016-03-25T14:11:57.000Z
2021-08-24T19:46:11.000Z
tools/dumpce/dumpce.cpp
tizenorg/external.icu
5b69033400476be749862631609f60bd7daaacd7
[ "ICU" ]
null
null
null
tools/dumpce/dumpce.cpp
tizenorg/external.icu
5b69033400476be749862631609f60bd7daaacd7
[ "ICU" ]
2
2018-01-18T04:38:16.000Z
2019-05-29T02:20:44.000Z
/******************************************************************** * COPYRIGHT: * Copyright (C) 2001-2011 IBM, Inc. All Rights Reserved. * ********************************************************************/ /******************************************************************************** * * File dumpce.cpp ...
33.40838
200
0.549495
tizenorg
605757c835aa09d53b965180a09441a30458a1b2
12,800
cpp
C++
NOLF/ClientShellDLL/FolderWeapons.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
38
2019-09-16T14:46:42.000Z
2022-03-10T20:28:10.000Z
NOLF/ClientShellDLL/FolderWeapons.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
39
2019-08-12T01:35:33.000Z
2022-02-28T16:48:16.000Z
NOLF/ClientShellDLL/FolderWeapons.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
6
2019-09-17T12:49:18.000Z
2022-03-10T20:28:12.000Z
// FolderWeapons.cpp: implementation of the CFolderWeapons class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "FolderWeapons.h" #include "FolderCommands.h" #include "MissionData.h" #include "MissionMgr.h" #include "ClientRes.h" #include "InterfaceMgr.h" #inclu...
24.380952
97
0.624766
haekb
605779aec247a93cff658e28eff006079d781e70
30,481
cpp
C++
Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/UnitTests/unitTestOneWayDopplerPartials.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/UnitTests/unitTestOneWayDopplerPartials.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/UnitTests/unitTestOneWayDopplerPartials.cpp
sebranchett/tudat
24e5f3cc85c250fcbed0aac37f026c1dd7fd6c44
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2019, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
56.973832
153
0.661658
sebranchett
6058ab2b2f86f8c0d1e8094850e835a5c8767413
1,845
cpp
C++
C++/InfoArena/Arhiva probleme/Grarb/main.cpp
Nicu-Ducal/Competitive-Programming
c84126a4cb701b0764664db490b7e594495c8592
[ "MIT" ]
null
null
null
C++/InfoArena/Arhiva probleme/Grarb/main.cpp
Nicu-Ducal/Competitive-Programming
c84126a4cb701b0764664db490b7e594495c8592
[ "MIT" ]
null
null
null
C++/InfoArena/Arhiva probleme/Grarb/main.cpp
Nicu-Ducal/Competitive-Programming
c84126a4cb701b0764664db490b7e594495c8592
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; template <typename T> ostream& operator<<(ostream &os, const vector<T> &v) { os << '{'; string sep; for (const auto &x : v) os << sep << x, sep = ", "; return os << '}'; } template <typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return os <...
24.6
171
0.476423
Nicu-Ducal
6058ccad1acc11ed529ce45cad4b23b357cf5c98
14,597
cc
C++
test/unit/energy_comparison/weibel_driver.cc
HPCL/vpic
4b9dbb714f1d521fda0af69a29495ebfa5d4634c
[ "Unlicense" ]
2
2017-04-21T00:33:05.000Z
2021-02-13T06:06:53.000Z
test/unit/energy_comparison/weibel_driver.cc
HPCL/vpic
4b9dbb714f1d521fda0af69a29495ebfa5d4634c
[ "Unlicense" ]
null
null
null
test/unit/energy_comparison/weibel_driver.cc
HPCL/vpic
4b9dbb714f1d521fda0af69a29495ebfa5d4634c
[ "Unlicense" ]
null
null
null
//#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() #define CATCH_CONFIG_RUNNER // We will provide a custom main #include "catch.hpp" // TODO: this import may ultimately be a bad idea, but it lets you paste an input deck in... #include "deck/wrapper.h" #include "src/species_advance/species_advance.h...
37.048223
136
0.611975
HPCL
605a0f65f0e1e368456e7ba5d78f1c7b313fe66f
2,205
hpp
C++
includes/Fox/Lexer/Token.hpp
Pierre-vh/Fox
ab3d9a5b3c409b5611840c477abef989830ea571
[ "MIT" ]
17
2019-01-17T22:41:11.000Z
2020-08-27T03:39:07.000Z
includes/Fox/Lexer/Token.hpp
Pierre-vh/Moonshot
ab3d9a5b3c409b5611840c477abef989830ea571
[ "MIT" ]
null
null
null
includes/Fox/Lexer/Token.hpp
Pierre-vh/Moonshot
ab3d9a5b3c409b5611840c477abef989830ea571
[ "MIT" ]
2
2019-06-30T19:07:10.000Z
2019-12-26T17:30:17.000Z
//----------------------------------------------------------------------------// // Part of the Fox project, licensed under the MIT license. // See LICENSE.txt in the project root for license information. // File : Token.hpp // Author : Pierre van Houtryve //------------------...
30.625
81
0.570975
Pierre-vh
605c71ebb028d6055653a9c1781de822a64e3e9b
47,941
cpp
C++
src/build_vehicle_gui.cpp
trademarks/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
8
2016-10-21T09:01:43.000Z
2021-05-31T06:32:14.000Z
src/build_vehicle_gui.cpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
null
null
null
src/build_vehicle_gui.cpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
4
2017-05-16T00:15:58.000Z
2020-08-06T01:46:31.000Z
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
34.739855
301
0.728208
trademarks
605e265b864bd9d680900d13c2b8b4d4909505c8
1,320
hpp
C++
src/FrozenWasteland.hpp
miRackModular/FrozenWasteland
2e21f41cb121c2a4036b509a26061bf7981d4d9a
[ "CC0-1.0" ]
null
null
null
src/FrozenWasteland.hpp
miRackModular/FrozenWasteland
2e21f41cb121c2a4036b509a26061bf7981d4d9a
[ "CC0-1.0" ]
null
null
null
src/FrozenWasteland.hpp
miRackModular/FrozenWasteland
2e21f41cb121c2a4036b509a26061bf7981d4d9a
[ "CC0-1.0" ]
null
null
null
#include "rack.hpp" using namespace rack; extern Plugin *pluginInstance; extern Model *modelBPMLFO; extern Model *modelBPMLFO2; extern Model *modelBPMLFOPhaseExpander; extern Model *modelDamianLillard; extern Model *modelEverlastingGlottalStopper; extern Model *modelHairPick; extern Model *modelLissajousLFO; exter...
30
45
0.852273
miRackModular
605e4b58ca412594170dcd9f6562cfb13e8dde7f
3,025
ipp
C++
implement/oglplus/enums/precision_type_def.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/oglplus/enums/precision_type_def.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/oglplus/enums/precision_type_def.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
// File implement/oglplus/enums/precision_type_def.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/precision_type.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2017 Matus Chochlik. // Distributed under the Boost Software Li...
26.077586
62
0.798347
jnbrq
60652138789f318acbf8aaba47d8cf518ef89802
1,121
hh
C++
include/trick/MTV.hh
dexueyang/trick-dup0
2d5d5502fa896d3c42eda40ce0ee45e98ec35463
[ "NASA-1.3" ]
null
null
null
include/trick/MTV.hh
dexueyang/trick-dup0
2d5d5502fa896d3c42eda40ce0ee45e98ec35463
[ "NASA-1.3" ]
null
null
null
include/trick/MTV.hh
dexueyang/trick-dup0
2d5d5502fa896d3c42eda40ce0ee45e98ec35463
[ "NASA-1.3" ]
3
2021-06-22T11:02:39.000Z
2021-10-21T00:58:00.000Z
#ifndef MTV_HH #define MTV_HH #include <string> #include "trick/IPPythonEvent.hh" namespace Trick { class MTV { public: MTV() ; Trick::IPPythonEvent dummy_event ; /**< trick_io(*io) trick_units(--) */ Trick::IPPythonEvent ** mtv_list ; /**< trick_io(*io) trick_un...
26.690476
96
0.607493
dexueyang
60671f89364864ec9dea61361a7a3a8f7fe65f6a
1,822
hpp
C++
DDMallocDetector/MallocDetector/Classes/detector/MallocCollectorHelper.hpp
djs66256/DDMallocDetector
f719cdb7abbd8c9590c0fdb68361b943c1674adf
[ "BSD-2-Clause" ]
10
2018-04-08T16:37:17.000Z
2021-07-13T11:04:38.000Z
DDMallocDetector/MallocDetector/Classes/detector/MallocCollectorHelper.hpp
djs66256/DDMallocDetector
f719cdb7abbd8c9590c0fdb68361b943c1674adf
[ "BSD-2-Clause" ]
null
null
null
DDMallocDetector/MallocDetector/Classes/detector/MallocCollectorHelper.hpp
djs66256/DDMallocDetector
f719cdb7abbd8c9590c0fdb68361b943c1674adf
[ "BSD-2-Clause" ]
2
2019-02-13T09:21:41.000Z
2021-07-13T11:04:41.000Z
// // MallocCollectorHelper.hpp // cfunction // // Created by hzduanjiashun on 2018/3/28. // Copyright © 2018年 Daniel. All rights reserved. // #ifndef MallocCollectorHelper_hpp #define MallocCollectorHelper_hpp #include <stdio.h> #include <memory> #include <malloc/malloc.h> #include "MallocMemory.hpp" namespace ...
22.775
84
0.502195
djs66256
6068bfd22ae93d26a163098241f831908c014575
6,504
cxx
C++
PMD/anal/AliPMDOfflineCalibTask.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
PMD/anal/AliPMDOfflineCalibTask.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
PMD/anal/AliPMDOfflineCalibTask.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
29.165919
103
0.628998
AllaMaevskaya
60695c9676c50e738917c4abd03ecb8d3dd5beea
671
cpp
C++
Excercises_Source/2.Bitfields.cpp
ChenpoHU/C-Excercies_OOP
b009b5a8da82fda6b3918f9f77b1d62ad0a1f876
[ "MIT" ]
null
null
null
Excercises_Source/2.Bitfields.cpp
ChenpoHU/C-Excercies_OOP
b009b5a8da82fda6b3918f9f77b1d62ad0a1f876
[ "MIT" ]
null
null
null
Excercises_Source/2.Bitfields.cpp
ChenpoHU/C-Excercies_OOP
b009b5a8da82fda6b3918f9f77b1d62ad0a1f876
[ "MIT" ]
null
null
null
#include <iostream> struct BitFieldStruct { unsigned int a : 4; unsigned int b : 3; }; int main() { BitFieldStruct x; x.a = 06; x.b = x.a | 3; // | bitwise OR, || logical OR ; & bitwise AND, && logicalwise AND std::cout << x.a << '\n' << std::endl;// converted to unsigned and then displayed std::cout << x.b <<...
25.807692
83
0.520119
ChenpoHU
606a40d66e7f65605f06cce15bba65817f404485
1,240
cpp
C++
extras/lib_info/SdFat_Gre/examples/LowLatencyLoggerMPU6050/UserFunctions.cpp
UTSAAH/Dhwani-HA_Library
f182d8b6571d48b1e506637684844eb12e0a791c
[ "MIT" ]
181
2019-09-20T15:49:09.000Z
2022-03-23T01:27:29.000Z
Transmitters/Old Version/X_CTRL_STM32F4xx/X_CTRL_GUN/Libraries/SdFat/examples/LowLatencyLoggerMPU6050/UserFunctions.cpp
DogDod/X-CTRL
683ffe3b40222e1da6ff156b6595c691cd09fec1
[ "MIT" ]
7
2020-03-06T19:37:07.000Z
2020-05-05T20:33:32.000Z
Transmitters/Old Version/X_CTRL_STM32F4xx/X_CTRL_GUN/Libraries/SdFat/examples/LowLatencyLoggerMPU6050/UserFunctions.cpp
DogDod/X-CTRL
683ffe3b40222e1da6ff156b6595c691cd09fec1
[ "MIT" ]
75
2019-10-25T02:53:27.000Z
2022-03-23T01:25:00.000Z
// User data functions. Modify these functions for your data items. #include "UserTypes.h" #include "Wire.h" #include "I2Cdev.h" #include "MPU6050.h" //------------------------------------------------------------------------------ MPU6050 mpu; static uint32_t startMicros; // Acquire a data record. void acquireData(dat...
23.846154
80
0.592742
UTSAAH
606cea24b8145cd4923cac5f70c31f32aef2378f
5,886
hpp
C++
src/Utils/Constantes.hpp
brunograssano/SuperMarioBros-Honguitos
f945e434bc317a6d8c8d682b1042d8a385929156
[ "MIT" ]
4
2021-02-21T17:12:46.000Z
2021-02-25T20:36:27.000Z
src/Utils/Constantes.hpp
brunograssano/SuperMarioBros-Honguitos
f945e434bc317a6d8c8d682b1042d8a385929156
[ "MIT" ]
null
null
null
src/Utils/Constantes.hpp
brunograssano/SuperMarioBros-Honguitos
f945e434bc317a6d8c8d682b1042d8a385929156
[ "MIT" ]
2
2021-02-20T19:49:33.000Z
2021-02-25T20:35:22.000Z
#ifndef TP_TALLER_DE_PROGRAMACION_FIUBA_CONSTANTES_HPP #define TP_TALLER_DE_PROGRAMACION_FIUBA_CONSTANTES_HPP #include <stdint.h> const int ANCHO_FONDO = 8177; #define VALOR_POR_DEFECTO_ANCHO 800 #define VALOR_POR_DEFECTO_ALTO 600 #define TIEMPO_ESPERA_GAME_LOOP 5 #define IZQUIERDA 1 #define DERECHA 2 #define ARRIBA 3...
39.503356
99
0.74227
brunograssano
606ffb194da6ff4a1ca462fd0eaf631574c13785
1,074
cpp
C++
math/normal3.cpp
masrtis/eyebeam
a9ea111c7958838c19c0b26ea1961f119b4f91f1
[ "MIT" ]
null
null
null
math/normal3.cpp
masrtis/eyebeam
a9ea111c7958838c19c0b26ea1961f119b4f91f1
[ "MIT" ]
4
2020-12-13T14:55:24.000Z
2021-03-10T01:47:36.000Z
math/normal3.cpp
masrtis/eyebeam
a9ea111c7958838c19c0b26ea1961f119b4f91f1
[ "MIT" ]
null
null
null
#include "normal3.h" #include <cmath> #include <ostream> namespace eyebeam { Normal3 operator+(const Normal3& lhs, const Normal3& rhs) { auto result(lhs); result += rhs; return result; } Normal3 operator-(const Normal3& lhs, const Normal3& rhs) { auto result(lhs); result -= rhs; return resul...
16.029851
70
0.623836
masrtis
6072d2fe54028b06e9ebadf3c78dda234ef29f64
15,068
cpp
C++
http/gzip_mem.cpp
hdsy/public
20ee6559ba4f84a2356785fc53b54c1a4dcdf354
[ "Apache-2.0" ]
null
null
null
http/gzip_mem.cpp
hdsy/public
20ee6559ba4f84a2356785fc53b54c1a4dcdf354
[ "Apache-2.0" ]
null
null
null
http/gzip_mem.cpp
hdsy/public
20ee6559ba4f84a2356785fc53b54c1a4dcdf354
[ "Apache-2.0" ]
1
2020-05-10T23:42:34.000Z
2020-05-10T23:42:34.000Z
#include <stdio.h> #include <zlib.h> #include <string.h> #include <stdlib.h> #include "gzip_mem.h" #define OF(args) args #define OS_CODE 3 // unix #if MAX_MEM_LEVEL >= 8 # define DEF_MEM_LEVEL 8 #else # define DEF_MEM_LEVEL MAX_MEM_LEVEL #endif /* default memLevel */ #define Z_BUFSIZE 16384 #def...
29.837624
88
0.521503
hdsy
6075b9bf5c04375251eb250f9f00a81da9c255f0
1,683
cc
C++
RecoParticleFlow/PFClusterTools/src/Utils.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoParticleFlow/PFClusterTools/src/Utils.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoParticleFlow/PFClusterTools/src/Utils.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "RecoParticleFlow/PFClusterTools/interface/Utils.h" #include <stdio.h> #include <math.h> #include <regex.h> #include <glob.h> #include "TCanvas.h" #include "TVector3.h" using namespace std; using namespace pftools; bool Utils::StringMatch(const char* str, const char* pattern) { int status; regex_t ...
20.035714
65
0.628045
pasmuss
6078c16e5ce080020fc7292bdd4928bd5b127f9a
2,473
cc
C++
RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitWorkerMaxSample.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitWorkerMaxSample.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitWorkerMaxSample.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/** \class EcalMaxSampleUncalibRecHitProducer * produce ECAL uncalibrated rechits from dataframes * * \author G. Franzoni, E. Di Marco * */ #include "RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitWorkerMaxSample.h" #include "DataFormats/Common/interface/Handle.h" #include "DataFormats/EcalDigi/int...
40.540984
120
0.756571
ckamtsikis
607a96483c9d37a6152bba71eb234421ceeb2172
5,936
cpp
C++
src/athena/MemoryWriter.cpp
encounter/athena
6adba82abd8b7f48e6eca9f74361d0c605bc9ec8
[ "MIT" ]
null
null
null
src/athena/MemoryWriter.cpp
encounter/athena
6adba82abd8b7f48e6eca9f74361d0c605bc9ec8
[ "MIT" ]
null
null
null
src/athena/MemoryWriter.cpp
encounter/athena
6adba82abd8b7f48e6eca9f74361d0c605bc9ec8
[ "MIT" ]
null
null
null
#include "athena/MemoryWriter.hpp" #include <cstdio> #include <cstring> #ifdef HW_RVL #include <malloc.h> #endif // HW_RVL namespace athena::io { MemoryWriter::MemoryWriter(atUint8* data, atUint64 length, bool takeOwnership) : m_data(data), m_length(length), m_bufferOwned(takeOwnership) { if (!data) { atError...
21.585455
103
0.635782
encounter
607dfe415a7df668b437c3650c3805edc55c2547
16,550
cc
C++
jni/sources/modules/rtp_rtcp/source/forward_error_correction_internal.cc
guo19941204/c-jni
866a2bc3f1148824e1a5c270fdf452888cb06d2b
[ "MIT" ]
null
null
null
jni/sources/modules/rtp_rtcp/source/forward_error_correction_internal.cc
guo19941204/c-jni
866a2bc3f1148824e1a5c270fdf452888cb06d2b
[ "MIT" ]
null
null
null
jni/sources/modules/rtp_rtcp/source/forward_error_correction_internal.cc
guo19941204/c-jni
866a2bc3f1148824e1a5c270fdf452888cb06d2b
[ "MIT" ]
null
null
null
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All con...
37.871854
82
0.602115
guo19941204
607e0486d7f8a1727ef97f5885bec89a799311c6
21,702
cc
C++
chrome/browser/external_protocol/external_protocol_policy_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/external_protocol/external_protocol_policy_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/external_protocol/external_protocol_policy_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 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 "base/values.h" #include "chrome/browser/external_protocol/auto_launch_protocols_policy_handler.h" #include "chrome/browser/external_protocol/ext...
46.174468
82
0.736568
zealoussnow
607e300251eb0aac876c03dad8357a69e4656472
17,436
cpp
C++
external_libs/pgenlib/pgenlibr.cpp
tedyun/regenie
6d31b5165e098a08ff575e5a36c0cb6219247cc6
[ "MIT" ]
null
null
null
external_libs/pgenlib/pgenlibr.cpp
tedyun/regenie
6d31b5165e098a08ff575e5a36c0cb6219247cc6
[ "MIT" ]
null
null
null
external_libs/pgenlib/pgenlibr.cpp
tedyun/regenie
6d31b5165e098a08ff575e5a36c0cb6219247cc6
[ "MIT" ]
null
null
null
/* * * File obtained from pgenlibr R library: * https://github.com/chrchang/plink-ng/tree/master/2.0/pgenlibr * * License info obtained from DESCRIPTION file: * https://github.com/chrchang/plink-ng/blob/master/2.0/pgenlibr/DESCRIPTION * ----------------------------------------------------- Package: pgenlibr ...
41.81295
382
0.71708
tedyun
607eb76c427464a3e63567d4b48312bd5c8f70a5
1,335
hh
C++
gecode/string/find.hh
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
1
2021-05-26T13:27:00.000Z
2021-05-26T13:27:00.000Z
gecode/string/find.hh
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
null
null
null
gecode/string/find.hh
ramadini/gecode
ff0d261486a67f66895850a771f161bfa8bf9839
[ "MIT-feh" ]
null
null
null
#ifndef __GECODE_STRING_FIND_HH__ #define __GECODE_STRING_FIND_HH__ namespace Gecode { namespace String { /** * \brief %Propagator for string find. * */ class Find : public MixTernaryPropagator<StringView, PC_STRING_DOM, StringView, PC_STRING_DOM, Gecode::Int::IntView, Gecode::Int::PC_INT_BND> {...
32.560976
79
0.697378
ramadini
60800365b8156a58de2c7956ce2151c151a87257
4,152
cc
C++
src/core/ext/transport/chttp2/client/insecure/channel_create.cc
mnuck/grpc
d5b1f9809202bf2338f94a9e1c07bc511b42d67d
[ "Apache-2.0" ]
91
2018-11-24T05:33:58.000Z
2022-03-16T05:58:05.000Z
src/core/ext/transport/chttp2/client/insecure/channel_create.cc
mnuck/grpc
d5b1f9809202bf2338f94a9e1c07bc511b42d67d
[ "Apache-2.0" ]
11
2019-06-02T23:50:17.000Z
2022-02-04T23:58:56.000Z
src/core/ext/transport/chttp2/client/insecure/channel_create.cc
mnuck/grpc
d5b1f9809202bf2338f94a9e1c07bc511b42d67d
[ "Apache-2.0" ]
18
2018-11-24T10:35:29.000Z
2021-04-22T07:22:10.000Z
/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
39.169811
80
0.729046
mnuck
60850ff8061079e361d38c3d4c9eb8eefb3caf0d
9,397
cpp
C++
osquery/events/darwin/fsevents.cpp
justintime32/osquery
721dd1ed624b25738c2471dae617d7868df8fb0d
[ "BSD-3-Clause" ]
1
2018-10-30T03:58:24.000Z
2018-10-30T03:58:24.000Z
osquery/events/darwin/fsevents.cpp
justintime32/osquery
721dd1ed624b25738c2471dae617d7868df8fb0d
[ "BSD-3-Clause" ]
null
null
null
osquery/events/darwin/fsevents.cpp
justintime32/osquery
721dd1ed624b25738c2471dae617d7868df8fb0d
[ "BSD-3-Clause" ]
2
2020-09-23T04:49:23.000Z
2022-03-29T17:32:31.000Z
/* * Copyright (c) 2014-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. * */ #in...
29.737342
79
0.650846
justintime32
60861cacfeab2c90a6d780e5665912549d8ae382
653
cpp
C++
src/Pixel.cpp
kosiken/lion-image-to-ascii
c000d0f90f06a88935f5ffc62e40402238025f4c
[ "MIT" ]
2
2021-05-04T00:30:43.000Z
2021-10-17T15:32:26.000Z
src/Pixel.cpp
kosiken/lion-image-to-ascii
c000d0f90f06a88935f5ffc62e40402238025f4c
[ "MIT" ]
null
null
null
src/Pixel.cpp
kosiken/lion-image-to-ascii
c000d0f90f06a88935f5ffc62e40402238025f4c
[ "MIT" ]
null
null
null
#include <iostream> #include "Pixel.h" #define LION_DIV 256 LionPixel::LionPixel() { r = 0; g= 0; b = 0; } LionPixel::LionPixel(int red, int green, int blue) { r = red; g = green; b = blue; } LionPixel::LionPixel(int red, int green, int blue, double alpha) { r = red; g = green...
14.195652
66
0.496172
kosiken
6087d9cae3034483a3e68ea7dad0b80232a6cd47
11,112
cpp
C++
f9_os/src/f9/thread.cpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
null
null
null
f9_os/src/f9/thread.cpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
null
null
null
f9_os/src/f9/thread.cpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
1
2020-03-08T01:08:38.000Z
2020-03-08T01:08:38.000Z
#include "thread.hpp" #include "fpage.hpp" #include "schd.hpp" #include "ktimer.hpp" #include "ipc.hpp" #include "irq.hpp" namespace f9 { __attribute__((weak)) void root_thread(); __attribute__((weak)) void root_thread() { while(1); } DECLARE_KTABLE(tcb_t, thread_table, CONFIG_MAX_THREADS); //volatile tcb_t *curre...
23.4926
93
0.652988
ghsecuritylab
608b51e70ce7335628db84bb13a86b1bb3236cc9
5,187
cc
C++
daemon/timings.cc
jimwwalker/memcached
0b4aec7aff016c56edc9fb6008f21cf4ec06edcd
[ "BSD-3-Clause" ]
null
null
null
daemon/timings.cc
jimwwalker/memcached
0b4aec7aff016c56edc9fb6008f21cf4ec06edcd
[ "BSD-3-Clause" ]
null
null
null
daemon/timings.cc
jimwwalker/memcached
0b4aec7aff016c56edc9fb6008f21cf4ec06edcd
[ "BSD-3-Clause" ]
null
null
null
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include "config.h" #include "timings.h" #include <memcached/protocol_binary.h> #include <stdlib.h> #include <string.h> #include <sstream> #ifdef HAVE_ATOMIC #include <atomic> #else #include <cstdatomic> #endif typedef struct timings_st {...
27.015625
77
0.601697
jimwwalker
608e8341b4f4009be7368848d99c77ca32307ff6
12,039
cpp
C++
source/mango/image/image_hdr.cpp
ufoym/mango
9732fc528f66439f50a3a7cb72d4ba42a59a3d54
[ "Zlib" ]
3
2021-02-27T10:29:37.000Z
2022-02-16T16:31:26.000Z
source/mango/image/image_hdr.cpp
ufoym/mango
9732fc528f66439f50a3a7cb72d4ba42a59a3d54
[ "Zlib" ]
null
null
null
source/mango/image/image_hdr.cpp
ufoym/mango
9732fc528f66439f50a3a7cb72d4ba42a59a3d54
[ "Zlib" ]
5
2021-03-22T11:06:00.000Z
2022-02-22T02:53:19.000Z
/* MANGO Multimedia Development Platform Copyright (C) 2012-2021 Twilight Finland 3D Oy Ltd. All rights reserved. */ #include <cmath> #include <mango/core/pointer.hpp> #include <mango/core/buffer.hpp> #include <mango/core/system.hpp> #include <mango/image/image.hpp> namespace { using namespace mango; u...
27.361364
129
0.395216
ufoym
6091411015121751c0a2850261a59e0fbec426ec
711
cpp
C++
regression/esbmc-cpp/qt/QMultiMap/multimap_swap/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/qt/QMultiMap/multimap_swap/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/qt/QMultiMap/multimap_swap/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
// swap QMultiMaps #include <iostream> #include <QMultiMap> #include <cassert> using namespace std; int main () { QMultiMap<char,int> foo; QMultiMap<char,int> bar; QMultiMap<char,int>::iterator it; foo['x']=100; foo['y']=200; bar['a']=11; bar['b']=22; bar['c']=33; foo.swap(bar); cout << "foo co...
18.230769
53
0.528833
shmarovfedor
6091a0fd7a26cbcae458ded9ac29c32b47c6d59d
1,691
cc
C++
extensions/browser/browser_context_keyed_service_factories.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-01-25T10:18:18.000Z
2021-01-23T15:29:56.000Z
extensions/browser/browser_context_keyed_service_factories.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
extensions/browser/browser_context_keyed_service_factories.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:24:13.000Z
2020-11-04T07:24:13.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/browser/browser_context_keyed_service_factories.h" #include "extensions/browser/api/api_resource_manager.h" #include "extensions/bro...
45.702703
89
0.825547
justremotephone
60924806e9f5450a31679b7be2d3cb4ba58cdfc8
828
cpp
C++
TrackerValidation/FixationTarget.cpp
tim-murphy/eye-tracker-validation
70515aa9dc61c19fe61eb07bf2606be29e5e80e7
[ "MIT" ]
null
null
null
TrackerValidation/FixationTarget.cpp
tim-murphy/eye-tracker-validation
70515aa9dc61c19fe61eb07bf2606be29e5e80e7
[ "MIT" ]
16
2021-02-12T10:57:29.000Z
2021-11-25T00:35:29.000Z
TrackerValidation/FixationTarget.cpp
tim-murphy/eye-tracker-validation
70515aa9dc61c19fe61eb07bf2606be29e5e80e7
[ "MIT" ]
null
null
null
// Fixation target abstract class // Written by Tim Murphy <tim@murphy.org> 2021 #include "FixationTarget.h" #include "CircleTarget.h" #include "CrosshairBullseyeTarget.h" #include <stdexcept> FixationTarget::FixationTarget(unsigned int diameter) :diameter(diameter) { } unsigned int FixationTarget::getDiameter...
23
65
0.642512
tim-murphy
6092e6a75c1ff242c56b736c861d3751d55f8fa7
1,007
cpp
C++
725.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
725.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
725.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: vector<ListNode*> splitListToParts(ListNode* root, int k) { int d=depth(root); vector<int> ls; while(k>0){ ...
22.886364
63
0.443893
zfang399
6093c27fff28d9a1205aeb335ae5d728bee82eaf
2,099
cc
C++
cpp/common/statics/ordered-function-registry.cc
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
37
2017-06-09T13:55:23.000Z
2022-01-28T12:51:17.000Z
cpp/common/statics/ordered-function-registry.cc
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
null
null
null
cpp/common/statics/ordered-function-registry.cc
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
5
2017-06-09T13:55:26.000Z
2021-11-11T03:51:56.000Z
//***************************************************************** // Copyright 2015 MIT Lincoln Laboratory // Project: SPAR // Authors: OMD // Description: Implmentation of OrderedFunctionRegistry // // Modifications: // Date Name Modification // ---- ---- ...
38.163636
79
0.626965
nathanawmk
609476a6eed961cfbe3eb1c4bc49126779a41d14
8,694
cpp
C++
dali-toolkit/internal/controls/scrollable/scrollable-impl.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali-toolkit/internal/controls/scrollable/scrollable-impl.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali-toolkit/internal/controls/scrollable/scrollable-impl.cpp
wonrst/dali-toolkit
f15407e1710844219f3e418e83e689b5ff7341c2
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2014 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
31.846154
146
0.740741
wonrst
6096ff76fc04dfe49b92bc0c651093e3de6d60a7
4,838
hxx
C++
main/sd/source/ui/inc/animobjs.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sd/source/ui/inc/animobjs.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sd/source/ui/inc/animobjs.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
24.434343
76
0.665771
Grosskopf
6097a5ec98ed3f1abee304f6eb6ed6a9a20ef17d
9,353
cpp
C++
gadgets/pmri/gpuCgSpiritGadget.cpp
roopchansinghv/gadgetron
fb6c56b643911152c27834a754a7b6ee2dd912da
[ "MIT" ]
1
2022-02-22T21:06:36.000Z
2022-02-22T21:06:36.000Z
gadgets/pmri/gpuCgSpiritGadget.cpp
apd47/gadgetron
073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2
[ "MIT" ]
null
null
null
gadgets/pmri/gpuCgSpiritGadget.cpp
apd47/gadgetron
073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2
[ "MIT" ]
null
null
null
#include "gpuCgSpiritGadget.h" #include "cuNDArray_operators.h" #include "cuNDArray_elemwise.h" #include "cuNDArray_blas.h" #include "cuNDArray_utils.h" #include "cuNDArray_reductions.h" #include "GadgetMRIHeaders.h" #include "b1_map.h" #include "GPUTimer.h" #include "vector_td_utilities.h" #include "hoNDArray_fileio.h...
36.535156
145
0.674436
roopchansinghv
609d81f105e1a97e4bf67ec24425ba6d671c8e6b
2,441
cpp
C++
Vorlesungsmaterial/22-05-04/lambda.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
Vorlesungsmaterial/22-05-04/lambda.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
Vorlesungsmaterial/22-05-04/lambda.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <iostream> #include <iomanip> #include <string> #include <vector> #include "lambda.hpp" using namespace std; bool lessLength(const string &f, const string &s) { return f.length() < s.length(); } void lambda() { vector<string> myStrVec = {"12345", "123456", "1234"...
28.383721
116
0.565752
TEL21D
609dd584e2c58d9f2a457464d8ae604c3e7269dd
2,159
cpp
C++
test/unit/alphabet/mask/mask_test.cpp
BuildJet/seqan3
fc8cb3f1db119be30ec76f3d3cec3fecd7865c1c
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
test/unit/alphabet/mask/mask_test.cpp
BuildJet/seqan3
fc8cb3f1db119be30ec76f3d3cec3fecd7865c1c
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
test/unit/alphabet/mask/mask_test.cpp
BuildJet/seqan3
fc8cb3f1db119be30ec76f3d3cec3fecd7865c1c
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
43.18
104
0.645206
BuildJet
60a00c7037587a140b01a3b1c39160f93ae0d5ef
3,685
cpp
C++
Daa_code/common/Key_name_from_public_data.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
2
2020-02-28T10:40:12.000Z
2021-02-18T03:32:28.000Z
Daa_code/common/Key_name_from_public_data.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
null
null
null
Daa_code/common/Key_name_from_public_data.cpp
UoS-SCCS/ecc-daa
eebd40d01aed7a3ccb8dc33df8a4b6415f02dda9
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * File: Key_name_from_public_data.cpp * Description: Calculate the key's name from its public data (TPMT_PUBLIC) * * Author: Chris Newton * * Created: Tueday 29 May 2018 * * (C) Copyright 2018, University of Surrey. * *****...
46.0625
95
0.52483
UoS-SCCS
60a190b7c88eb32491fe1e688731c422eca0ff47
249
cpp
C++
packages/eigen-eigen-323c052e1731/doc/snippets/MatrixBase_block_int_int.cpp
k4rth33k/dnnc-operators
a7fe3f1240c12b3438558def71fbfcd4520446c3
[ "Apache-2.0" ]
5
2019-08-16T14:35:17.000Z
2020-07-11T23:59:22.000Z
packages/eigen-eigen-323c052e1731/doc/snippets/MatrixBase_block_int_int.cpp
k4rth33k/dnnc-operators
a7fe3f1240c12b3438558def71fbfcd4520446c3
[ "Apache-2.0" ]
6
2019-08-12T04:38:14.000Z
2019-09-04T16:32:13.000Z
packages/eigen-eigen-323c052e1731/doc/snippets/MatrixBase_block_int_int.cpp
k4rth33k/dnnc-operators
a7fe3f1240c12b3438558def71fbfcd4520446c3
[ "Apache-2.0" ]
7
2019-08-15T13:29:00.000Z
2019-09-09T17:08:04.000Z
Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.block<2,2>(1,1):" << endl << m.block<2,2>(1,1) << endl; m.block<2,2>(1,1).setZero(); cout << "Now the matrix m is:" << endl << m << endl;
41.5
75
0.542169
k4rth33k
60a24eb840195547b91e04b7dae2db3b80ea5191
288
cpp
C++
test/StackTest.cpp
smikes/CppUnitLite
5714498fd5cb8d2ece2cf17e09c32cf2c1e120cf
[ "Zlib" ]
17
2015-12-05T02:32:26.000Z
2021-11-22T08:43:40.000Z
test/StackTest.cpp
brave/CppUnitLite
651565f1aed136b06469045f3b1362152de21d0f
[ "Zlib" ]
5
2015-03-25T20:36:04.000Z
2019-06-21T03:03:43.000Z
test/StackTest.cpp
smikes/CppUnitLite
5714498fd5cb8d2ece2cf17e09c32cf2c1e120cf
[ "Zlib" ]
17
2015-02-09T07:29:18.000Z
2021-04-09T07:29:42.000Z
#include "CppUnitLite/TestHarness.h" #include "Stack.h" #include <string> SimpleString StringFrom(const std::string& value) { return SimpleString(value.c_str()); } TEST( Stack, creation ) { Stack s; LONGS_EQUAL(0, s.size()); std::string b = "asa"; CHECK_EQUAL("asa", b); }
13.714286
49
0.670139
smikes
60a329f1d855e8f3374889f1ea948bd10136c032
1,091
cc
C++
korean/core/chars/distance_test.cc
jeongukjae/korean
8ce493a96558c9c2bb14b9e2ed74e3d0ddefa4ae
[ "MIT" ]
1
2022-02-11T13:47:23.000Z
2022-02-11T13:47:23.000Z
korean/core/chars/distance_test.cc
jeongukjae/korean
8ce493a96558c9c2bb14b9e2ed74e3d0ddefa4ae
[ "MIT" ]
null
null
null
korean/core/chars/distance_test.cc
jeongukjae/korean
8ce493a96558c9c2bb14b9e2ed74e3d0ddefa4ae
[ "MIT" ]
null
null
null
#include "korean/core/chars/distance.h" #include <gmock/gmock.h> #include <gtest/gtest.h> using namespace korean::chars; TEST(distance, calculateLevenshtein) { ASSERT_EQ(calculateLevenshteinDistance(L"abcdef", L"abdef"), 1); ASSERT_EQ(calculateLevenshteinDistance(L"안녕", L"안하세요"), 3); ASSERT_EQ(calculateLevensh...
38.964286
102
0.724106
jeongukjae
60a40149e2dd260cb8a0a4e503d974086c0df0ff
784
cpp
C++
ASAE/ASAE/Buffer.cpp
BenFields724/AutoSim
063350df2e27c38623a736a463aaf8b0124c9218
[ "MIT" ]
null
null
null
ASAE/ASAE/Buffer.cpp
BenFields724/AutoSim
063350df2e27c38623a736a463aaf8b0124c9218
[ "MIT" ]
null
null
null
ASAE/ASAE/Buffer.cpp
BenFields724/AutoSim
063350df2e27c38623a736a463aaf8b0124c9218
[ "MIT" ]
null
null
null
// // Buffer.cpp // ASAE // // Created by Benjamin G Fields on 4/2/18. // Copyright © 2018 Benjamin G Fields. All rights reserved. // // Description: defines the implementatin of the buffer object #include "Buffer.hpp" //Description:return the state of the buffer by saying if it is full,empty or still has space ...
19.6
93
0.672194
BenFields724
60a6ba044e3289aa9516e4a3c755391e2e6e17b9
650
cpp
C++
src/basic/tests/unit_tests_talker.cpp
sgermanserrano/gitlab_ci_test
df415655757d9674a31ca704bef6bb7c456e7c09
[ "Apache-2.0" ]
null
null
null
src/basic/tests/unit_tests_talker.cpp
sgermanserrano/gitlab_ci_test
df415655757d9674a31ca704bef6bb7c456e7c09
[ "Apache-2.0" ]
null
null
null
src/basic/tests/unit_tests_talker.cpp
sgermanserrano/gitlab_ci_test
df415655757d9674a31ca704bef6bb7c456e7c09
[ "Apache-2.0" ]
1
2019-03-05T16:33:21.000Z
2019-03-05T16:33:21.000Z
#include "basic/talker.h" #include <gtest/gtest.h> class MyTestSuite : public ::testing::Test { public: MyTestSuite(){} ~MyTestSuite(){} }; TEST_F(MyTestSuite, lowValue){ Talker rt; int initial_value = 3; int value = rt.doSomeMath(initial_value); ASSERT_EQ(value, initial_value+5) << "Value should be its initi...
19.117647
81
0.690769
sgermanserrano
60a79112e0ac1dfcca72ab62a4ad3a39509ff384
4,648
hpp
C++
Compiler/boost/boost/signals2/detail/slot_call_iterator.hpp
davidov541/MiniC
d3b16a1568b97a4d801880b110a8be04fe848adb
[ "Apache-2.0" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
LibsExternes/Includes/boost/signals2/detail/slot_call_iterator.hpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
LibsExternes/Includes/boost/signals2/detail/slot_call_iterator.hpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
// Boost.Signals2 library // Copyright Douglas Gregor 2001-2004. // Copyright Frank Mori Hess 2007-2008. // Use, modification and // distribution is subject to the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // For more in...
31.405405
98
0.592083
davidov541
60aa521408a96d6d1babe621f163b73e17372c30
2,074
cpp
C++
DataCollector/process.cpp
aisecstudent/DeepPuzzling
8c3438393a5aa2a715f0058e96c07ea9ade430ac
[ "MIT" ]
61
2021-11-26T13:17:13.000Z
2022-01-24T15:42:06.000Z
DataCollector/process.cpp
aisecstudent/DeepPuzzling
8c3438393a5aa2a715f0058e96c07ea9ade430ac
[ "MIT" ]
1
2021-11-30T06:44:52.000Z
2021-12-02T11:30:09.000Z
DataCollector/process.cpp
aisecstudent/DeepPuzzling
8c3438393a5aa2a715f0058e96c07ea9ade430ac
[ "MIT" ]
4
2021-11-26T16:23:38.000Z
2021-11-27T07:38:54.000Z
#include "pch.h" #include "process.h" std::vector<ProcessInfo> GetProcessInfo() { STARTUPINFO st; PROCESS_INFORMATION pi; PROCESSENTRY32 ps; HANDLE hSnapshot; HANDLE processHandle = NULL; std::vector<ProcessInfo> PInfo; ZeroMemory(&st, sizeof(STARTUPINFO)); ZeroMemory(&pi, sizeof(PROCESS_INFORMAT...
22.301075
101
0.69865
aisecstudent
60aaf441847206e12116cd1be45012ac344c7a02
3,386
cpp
C++
libs/qmdnsengine/src/src/prober.cpp
JinRIIS/Custom-QGC
b08876453a90ddf1d8778c4f49bcbe68021bd09d
[ "Apache-2.0" ]
51
2017-05-29T23:18:18.000Z
2021-12-04T01:59:13.000Z
libs/qmdnsengine/src/src/prober.cpp
JinRIIS/Custom-QGC
b08876453a90ddf1d8778c4f49bcbe68021bd09d
[ "Apache-2.0" ]
31
2017-05-09T02:56:29.000Z
2022-03-23T08:51:25.000Z
libs/qmdnsengine/src/src/prober.cpp
JinRIIS/Custom-QGC
b08876453a90ddf1d8778c4f49bcbe68021bd09d
[ "Apache-2.0" ]
27
2018-01-17T10:14:27.000Z
2022-03-31T01:42:20.000Z
/* * The MIT License (MIT) * * Copyright (c) 2017 Nathan Osman * * 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,...
32.247619
95
0.697874
JinRIIS
60ac292a7bd709282e30bd8dfad3bf2efe7ad776
8,323
cc
C++
chrome/common/extensions/update_manifest.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
212
2015-01-31T11:55:58.000Z
2022-02-22T06:35:11.000Z
chrome/common/extensions/update_manifest.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
5
2015-03-27T14:29:23.000Z
2019-09-25T13:23:12.000Z
chrome/common/extensions/update_manifest.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
221
2015-01-07T06:21:24.000Z
2022-02-11T02:51:12.000Z
// Copyright (c) 2011 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/common/extensions/update_manifest.h" #include <algorithm> #include "base/memory/scoped_ptr.h" #include "base/stl_util.h" #include "...
31.05597
79
0.675237
Scopetta197
60acc4f14e001deaee20496a931c0689e58789e7
36,168
cpp
C++
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp
jljusten/VK-GL-CTS
711e764f295a627eebe677a54ebc85d58d6e8920
[ "Apache-2.0" ]
1
2021-02-25T09:06:00.000Z
2021-02-25T09:06:00.000Z
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp
jljusten/VK-GL-CTS
711e764f295a627eebe677a54ebc85d58d6e8920
[ "Apache-2.0" ]
null
null
null
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp
jljusten/VK-GL-CTS
711e764f295a627eebe677a54ebc85d58d6e8920
[ "Apache-2.0" ]
null
null
null
/*------------------------------------------------------------------------ * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2016 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
45.956798
245
0.729982
jljusten
60ad8e75b8cc5955a9a862f5195d25d658fe4cd0
1,527
hpp
C++
LeetCode/C++/0041._First_Missing_Positive/solution.hpp
icgw/LeetCode
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
4
2018-09-12T09:32:17.000Z
2018-12-06T03:17:38.000Z
LeetCode/C++/0041._First_Missing_Positive/solution.hpp
icgw/algorithm
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
null
null
null
LeetCode/C++/0041._First_Missing_Positive/solution.hpp
icgw/algorithm
cb70ca87aa4604d1aec83d4224b3489eacebba75
[ "MIT" ]
null
null
null
#include <vector> using std::vector; using std::swap; class Solution { public: int firstMissingPositive(vector<int>& nums) { int n = nums.size(); for (int i = 0; i < n; ++i) { while (nums[i] > 0 && nums[i] <= n && nums[nums[i] - 1] != nums[i]) sw...
30.54
83
0.32482
icgw
60ae90add18acce55ac34c30fcffcc2909635dd5
4,367
cc
C++
drds/src/model/DescribeDrdsDBClusterResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
drds/src/model/DescribeDrdsDBClusterResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
drds/src/model/DescribeDrdsDBClusterResult.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...
40.435185
99
0.771468
iamzken
60af0dfb31366455544682d2c976e9e7ac494484
3,306
cc
C++
chrome/common/extensions/api/system_indicator/system_indicator_handler_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/common/extensions/api/system_indicator/system_indicator_handler_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/common/extensions/api/system_indicator/system_indicator_handler_unittest.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/extensions/api/system_indicator/system_indicator_handler.h" #include "base/test/values_test_util.h" #include "components/version_...
34.8
83
0.621295
sarang-apps
60afebb2dc180c6fed882952e29a3a46b908a1d5
16,636
cpp
C++
NOLF/ObjectDLL/Intelligence.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
38
2019-09-16T14:46:42.000Z
2022-03-10T20:28:10.000Z
NOLF/ObjectDLL/Intelligence.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
39
2019-08-12T01:35:33.000Z
2022-02-28T16:48:16.000Z
NOLF/ObjectDLL/Intelligence.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
6
2019-09-17T12:49:18.000Z
2022-03-10T20:28:12.000Z
// ----------------------------------------------------------------------- // // // MODULE : Intelligence.cpp // // PURPOSE : Implementation of the Intelligence object // // CREATED : 9/14/99 // // (c) 1999-2000 Monolith Productions, Inc. All Rights Reserved // // -----------------------------------------------------...
24.215429
105
0.592871
haekb
60b2316d6236b4b14589dff7691e1415e36d80ec
141
cpp
C++
test2.cpp
abc123me/mandelbrot_c
8bd3f61ce1941310f48fe9f0f2ca68e15f8b2a83
[ "MIT" ]
null
null
null
test2.cpp
abc123me/mandelbrot_c
8bd3f61ce1941310f48fe9f0f2ca68e15f8b2a83
[ "MIT" ]
null
null
null
test2.cpp
abc123me/mandelbrot_c
8bd3f61ce1941310f48fe9f0f2ca68e15f8b2a83
[ "MIT" ]
null
null
null
#include "stdio.h" #include "util.h" int main(int argc, char** argv) { cmplx_f c = atocmplx_f(argv[1]); c.print(); puts(""); return 0; }
15.666667
33
0.617021
abc123me
60b565b0e2126fc08988fc395e67a41e12ba07bc
1,142
hpp
C++
include/Filas.hpp
PedroAcA/so
938ceb7bd6ee4160ec0799d6415ca133eb53e02a
[ "MIT" ]
null
null
null
include/Filas.hpp
PedroAcA/so
938ceb7bd6ee4160ec0799d6415ca133eb53e02a
[ "MIT" ]
null
null
null
include/Filas.hpp
PedroAcA/so
938ceb7bd6ee4160ec0799d6415ca133eb53e02a
[ "MIT" ]
null
null
null
#ifndef MODULO_FILAS_H//include de guarda #define MODULO_FILAS_H #include <deque> #include <vector> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "Processos/Processo.hpp" #include "../include/LeitorEntradas.hpp" class Filas{ public: /* Esta classe implementa as filas de prioridade simples. S...
21.961538
106
0.759194
PedroAcA
60b751ac3f280f755897d8c9f1585e27ca241b83
2,912
cpp
C++
src/tests/functional/inference_engine/transformations/resolve_gen_names_collisions.cpp
pfinashx/openvino
1d417e888b508415510fb0a92e4a9264cf8bdef7
[ "Apache-2.0" ]
null
null
null
src/tests/functional/inference_engine/transformations/resolve_gen_names_collisions.cpp
pfinashx/openvino
1d417e888b508415510fb0a92e4a9264cf8bdef7
[ "Apache-2.0" ]
17
2021-11-25T10:22:17.000Z
2022-03-28T13:19:31.000Z
src/tests/functional/inference_engine/transformations/resolve_gen_names_collisions.cpp
pfinashx/openvino
1d417e888b508415510fb0a92e4a9264cf8bdef7
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/resolve_gen_names_collisions.hpp" #include "gtest/gtest.h" #include "openvino/opsets/opset8.hpp" #include "openvino/pass/manager.hpp" TEST(ResolveGeneratedNameCollisionsTest, FixGeneratedNames) { auto...
44.121212
105
0.721841
pfinashx
60b7d809be74bbc4f5480a2294bf44b71745a167
6,201
cc
C++
cryptohome/cert/cert_provision_client.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
null
null
null
cryptohome/cert/cert_provision_client.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
null
null
null
cryptohome/cert/cert_provision_client.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2017 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Client for cert_provision library. #include <base/bind.h> #include <base/command_line.h> #include <base/files/file_util.h> #include <base/strings...
34.071429
79
0.607805
strassek
60b9ec2465e416545a7422c557240225431a473f
4,245
cpp
C++
examples/win32/Win32.cpp
yoyonel/sflm2-custom
1ebeabe7cfe6605590b341f7b415b24bed1f50d1
[ "Zlib" ]
null
null
null
examples/win32/Win32.cpp
yoyonel/sflm2-custom
1ebeabe7cfe6605590b341f7b415b24bed1f50d1
[ "Zlib" ]
null
null
null
examples/win32/Win32.cpp
yoyonel/sflm2-custom
1ebeabe7cfe6605590b341f7b415b24bed1f50d1
[ "Zlib" ]
null
null
null
//////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// #include <SFML/Graphics.hpp> #include <windows.h> #include <cmath> HWND button; //////////////////////////////////////////////////////////// /// Function called whenever o...
32.906977
143
0.54629
yoyonel
60bb1ee20f89d138407a84ba5d07d197b2ca436b
166,332
hpp
C++
external/boost_1_60_0/qsboost/phoenix/core/detail/preprocessed/call_50.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/phoenix/core/detail/preprocessed/call_50.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/phoenix/core/detail/preprocessed/call_50.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
/*============================================================================== Copyright (c) 2005-2010 Joel de Guzman Copyright (c) 2010 Thomas Heller Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ===...
97.156542
3,191
0.621859
wouterboomsma
60bb6951d7ba7390222e945f807c0b5551e529c6
1,039
cpp
C++
Ass7/Q8.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
Ass7/Q8.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
Ass7/Q8.cpp
nitishgarg2002/DSA-assignments
34ec3e77e6bb00bc2ab86d2960a18d9e53300c06
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct Node { int data; struct Node *left, *right; }; bool iterativeSearch(struct Node* root, int key) { while (root != NULL) { if (key > root->data) root = root->right; else if (key < root->data) root = root->left; else return true; } return false;...
17.610169
58
0.628489
nitishgarg2002
60bd34d4741ea33784463ca8c037f839c8bef2c3
1,574
cpp
C++
Train/El_Sageer/El_Sageer_Pupil/08 - 14 - [SP]/08 - 10 - [SP] Brute Force/10 - [SP] Brute Force/extra/4.CF [467B].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
1
2019-12-19T06:51:20.000Z
2019-12-19T06:51:20.000Z
Train/El_Sageer/El_Sageer_Pupil/08 - 14 - [SP]/08 - 10 - [SP] Brute Force/10 - [SP] Brute Force/extra/4.CF [467B].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
Train/El_Sageer/El_Sageer_Pupil/08 - 14 - [SP]/08 - 10 - [SP] Brute Force/10 - [SP] Brute Force/extra/4.CF [467B].cpp
mohamedGamalAbuGalala/Practice
2a5fa3bdaf995d0c304f04231e1a69e6960f72c8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // input handle #define iln() scanf("\n") #define in(n) scanf("%d",&n) #define ins(n) scanf("%s",n) #define inc(n) scanf("%c",&n) #define inf(n) scanf("%lf",&n) #define inl(n) scanf("%lld",&n) #define ot(x) printf("%d", x) #define sp() printf(" ") #define ots(x) printf("%s"...
25.387097
85
0.576239
mohamedGamalAbuGalala
60bd97fce1793240c01a2c27f987df91e406831a
776
hpp
C++
Libraries/Gameplay/DefaultGame.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Libraries/Gameplay/DefaultGame.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Gameplay/DefaultGame.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #pragma once namespace Zero { /// Create the starting space and load the starting level into that space class DefaultGameSetup : public Component { public: ZilchDeclareType(DefaultGameSetup, TypeCopyMode::ReferenceType); DefaultGameSetup(); // Component Interface void Initi...
22.823529
76
0.753866
RyanTylerRae
60bdb76c845c09b3386e2c3d06b65c916577ae7b
8,110
cpp
C++
Core/GDCore/Serialization/SerializerElement.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
1
2019-08-24T03:18:42.000Z
2019-08-24T03:18:42.000Z
Core/GDCore/Serialization/SerializerElement.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
9
2020-04-04T19:26:47.000Z
2022-03-25T18:41:20.000Z
Core/GDCore/Serialization/SerializerElement.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
2
2020-03-02T05:20:41.000Z
2021-05-10T03:59:05.000Z
#include "GDCore/Serialization/SerializerElement.h" #include <iostream> namespace gd { SerializerElement SerializerElement::nullElement; SerializerElement::SerializerElement() : valueUndefined(true), isArray(false) {} SerializerElement::SerializerElement(const SerializerValue& value) : valueUndefined(false), e...
33.102041
80
0.6164
sutao80216
60bff93a2d1c86ee195cce173b5eb541bb0eff88
7,087
cpp
C++
test/thread/source/TestThreadRWSemaLock.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
255
2019-06-11T07:05:51.000Z
2022-03-08T20:35:12.000Z
test/thread/source/TestThreadRWSemaLock.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
4
2019-08-10T21:35:17.000Z
2021-11-24T10:42:24.000Z
test/thread/source/TestThreadRWSemaLock.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
75
2019-07-08T00:16:33.000Z
2022-02-25T03:41:13.000Z
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Electronic Arts Inc. All rights reserved. /////////////////////////////////////////////////////////////////////////////// #include "TestThread.h" #include <EATest/EATest.h> #include <eathread/eathread_thread.h> #include <...
27.257692
116
0.693241
tlzyh
60c2a63fc40b22d424c579291dbc7add26e10f4f
8,693
cpp
C++
applications/_libs/cmp_mesh/jrt/jrtppmimage.cpp
galek/Compressonator
cb281b97eb05e35ec739a462c71524c4b1eefae3
[ "MIT" ]
622
2016-05-12T17:39:27.000Z
2020-03-09T08:51:41.000Z
applications/_libs/cmp_mesh/jrt/jrtppmimage.cpp
galek/Compressonator
cb281b97eb05e35ec739a462c71524c4b1eefae3
[ "MIT" ]
110
2020-03-14T15:30:42.000Z
2022-03-31T07:59:29.000Z
applications/_libs/cmp_mesh/jrt/jrtppmimage.cpp
galek/Compressonator
cb281b97eb05e35ec739a462c71524c4b1eefae3
[ "MIT" ]
105
2016-05-12T18:55:39.000Z
2020-03-04T15:02:01.000Z
/************************************************************************************//** // Copyright (c) 2006-2015 Advanced Micro Devices, Inc. All rights reserved. /// \author AMD Developer Tools Team /// \file ****************************************************************************************/ #include "tootle...
26.26284
130
0.531002
galek
60c347cbfc16aacf9b224bbdadebd88d336cf128
3,371
cpp
C++
3rdparty/unittest-cpp-master/tests/TestDeferredTestReporter.cpp
SiddGururani/MUSI8903_Assignment_2
c4a4dba1206e5772cd1c515ecc59fe7eac803de5
[ "MIT" ]
493
2015-04-16T13:43:20.000Z
2022-03-31T03:54:17.000Z
3rdparty/unittest-cpp-master/tests/TestDeferredTestReporter.cpp
SiddGururani/MUSI8903_Assignment_2
c4a4dba1206e5772cd1c515ecc59fe7eac803de5
[ "MIT" ]
30
2015-01-13T12:17:13.000Z
2021-06-03T14:12:10.000Z
3rdparty/unittest-cpp-master/tests/TestDeferredTestReporter.cpp
SiddGururani/MUSI8903_Assignment_2
c4a4dba1206e5772cd1c515ecc59fe7eac803de5
[ "MIT" ]
112
2015-01-14T12:01:00.000Z
2022-03-29T06:42:00.000Z
#include "UnitTest++/Config.h" #ifndef UNITTEST_NO_DEFERRED_REPORTER #include "UnitTest++/UnitTestPP.h" #include "UnitTest++/DeferredTestReporter.h" #include <cstring> namespace UnitTest { namespace { #ifndef UNITTEST_MEMORYOUTSTREAM_IS_STD_OSTRINGSTREAM MemoryOutStream& operator <<(MemoryOutStream& lhs, const s...
27.406504
94
0.741916
SiddGururani
60c3624ae54625c59d506dfb35ab0fe7368b4bd6
16,722
cc
C++
llcc/front-end/src/inter_code_generator.cc
toy-compiler/toy_js_compiler
4267c96cd65b2359b6ba70dad7ee1f17114e88fc
[ "MIT" ]
2
2019-03-12T07:42:33.000Z
2019-03-12T07:42:41.000Z
llcc/front-end/src/inter_code_generator.cc
toy-compiler/awesomeCC
4267c96cd65b2359b6ba70dad7ee1f17114e88fc
[ "MIT" ]
null
null
null
llcc/front-end/src/inter_code_generator.cc
toy-compiler/awesomeCC
4267c96cd65b2359b6ba70dad7ee1f17114e88fc
[ "MIT" ]
1
2019-11-29T11:13:22.000Z
2019-11-29T11:13:22.000Z
/** * @file inter_code_generator.h * @brief 中间代码生成器类具体实现 */ #include "../include/inter_code_generator.h" #define POS(cur) cur->line_number, cur->pos map<string, VARIABLE_INFO_ENUM> Info::VAR_INFO_MAP = { {"double", VARIABLE_INFO_ENUM::DOUBLE}, {"float", VARIABLE_INFO_ENUM::DOUBLE}, {"int"...
27.916528
118
0.54204
toy-compiler
60c3729869adc42ebc876a7485af606fca846d14
10,759
hxx
C++
inc/TimerThread.hxx
Clovel/TimerThread
95083010066deeedb3d9e19e332f10827d7b0852
[ "MIT" ]
1
2020-03-04T08:59:59.000Z
2020-03-04T08:59:59.000Z
inc/TimerThread.hxx
Clovel/TimerThread
95083010066deeedb3d9e19e332f10827d7b0852
[ "MIT" ]
2
2020-03-05T08:33:02.000Z
2020-03-05T08:49:17.000Z
inc/TimerThread.hxx
Clovel/TimerThread
95083010066deeedb3d9e19e332f10827d7b0852
[ "MIT" ]
null
null
null
/** * TimerThread class definition * * @file TimerThread.hxx */ #ifndef TIMERTHREAD_HXX #define TIMERTHREAD_HXX /* Includes -------------------------------------------- */ #include <functional> #include <chrono> #include <unordered_map> #include <set> #include <thread> #include <mutex> #include <condition_variabl...
38.701439
121
0.53992
Clovel
60c6a5e9afdf2df843fcafedeeeb78e3ecf4f186
1,910
cc
C++
src/parser/uparser.cc
aldebaran/urbi
12fe46efbee81a662bfa792fce7b75353d166dbb
[ "BSD-3-Clause" ]
12
2015-01-10T10:49:05.000Z
2018-08-20T14:53:31.000Z
src/parser/uparser.cc
akimd/urbi
12fe46efbee81a662bfa792fce7b75353d166dbb
[ "BSD-3-Clause" ]
4
2016-08-14T16:44:41.000Z
2018-09-21T11:56:12.000Z
src/parser/uparser.cc
akimd/urbi
12fe46efbee81a662bfa792fce7b75353d166dbb
[ "BSD-3-Clause" ]
15
2015-01-28T20:27:02.000Z
2021-09-28T19:26:08.000Z
/* * Copyright (C) 2006-2012, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ /// \file parser/uparser.cc...
20.537634
71
0.603141
aldebaran
60c85ecb66d625c57d203206d68bcaf76636cbcf
215
hpp
C++
src/modules/osg/generated_code/BufferObject.pypp.hpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
src/modules/osg/generated_code/BufferObject.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
src/modules/osg/generated_code/BufferObject.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 BufferObject_hpp__pyplusplus_wrapper #define BufferObject_hpp__pyplusplus_wrapper void register_BufferObject_class(); #endif//BufferObject_hpp__pyplusplus_wrapper
23.888889
44
0.855814
JaneliaSciComp
60c8fb1d62c0c830f6f1f6d628612b2f38e982bc
82,756
cpp
C++
test/cpp/tensorexpr/test_loopnest.cpp
jsun94/nimble
e5c899a69677818b1becc58100577441e15ede13
[ "BSD-3-Clause" ]
206
2020-11-28T22:56:38.000Z
2022-03-27T02:33:04.000Z
test/cpp/tensorexpr/test_loopnest.cpp
jsun94/nimble
e5c899a69677818b1becc58100577441e15ede13
[ "BSD-3-Clause" ]
19
2020-12-09T23:13:14.000Z
2022-01-24T23:24:08.000Z
test/cpp/tensorexpr/test_loopnest.cpp
jsun94/nimble
e5c899a69677818b1becc58100577441e15ede13
[ "BSD-3-Clause" ]
28
2020-11-29T15:25:12.000Z
2022-01-20T02:16:27.000Z
#include <test/cpp/tensorexpr/test_base.h> #include <memory> #include <sstream> #include <stdexcept> #include <unordered_map> #include <test/cpp/tensorexpr/padded_buffer.h> #include <torch/csrc/jit/tensorexpr/analysis.h> #include <torch/csrc/jit/tensorexpr/bounds_inference.h> #include <torch/csrc/jit/tensorexpr/eval.h...
28.273317
80
0.579221
jsun94
60c93459c11005fc58de0e9708297bb4ac81b707
7,948
hpp
C++
src/lib/analysis/Args.hpp
testdlc/repo-new-18
1f95a44997c46081cce17cd2379216b9c039bd95
[ "BSD-3-Clause" ]
null
null
null
src/lib/analysis/Args.hpp
testdlc/repo-new-18
1f95a44997c46081cce17cd2379216b9c039bd95
[ "BSD-3-Clause" ]
null
null
null
src/lib/analysis/Args.hpp
testdlc/repo-new-18
1f95a44997c46081cce17cd2379216b9c039bd95
[ "BSD-3-Clause" ]
null
null
null
// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research and development of //...
29.656716
77
0.55385
testdlc
60cab731452bbb76cb0839c1bfa98e55f65e1325
1,823
cpp
C++
Experimental/Grace-Experimental/src/Commands/TurnByAngle.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
5
2016-12-16T19:05:05.000Z
2021-03-05T01:23:27.000Z
Experimental/Grace-Experimental/src/Commands/TurnByAngle.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
null
null
null
Experimental/Grace-Experimental/src/Commands/TurnByAngle.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
2
2020-01-03T01:52:43.000Z
2022-02-02T01:23:45.000Z
/* * TurnByAngle.cpp * * Created on: Apr 14, 2018 * Author: healym */ #include "TurnByAngle.h" #include "../Robot.h" constexpr double LEFT_POWER = .25; constexpr double RIGHT_POWER = -.25; namespace { // Converts an angle (in degrees) to a value in the range [0..360). double normalizeAngle(double angleD...
27.621212
75
0.696105
quasics
60cc3df86cf31033db5c0ff70ed6e6f94509b3c5
2,717
cpp
C++
core/inst_c4c.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
10
2017-07-04T03:05:42.000Z
2022-01-20T17:37:06.000Z
core/inst_c4c.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
2
2020-06-29T13:32:15.000Z
2021-12-22T23:04:43.000Z
core/inst_c4c.cpp
autch/piemu
bf15030757c49325c155a853871aee45b616717a
[ "Zlib" ]
5
2021-08-28T02:21:56.000Z
2022-01-16T21:39:16.000Z
#include "inst.h" /**************************************************************************** * CLASS 4C ****************************************************************************/ #undef INST #define INST INST_CLASS_4C C33_OP(scan0_rd_rs) { c33word ua, ub; ua = Rs.w; for(ub = 0; ub < 8; ub++) { ...
14.686486
78
0.375782
autch
60cd2c65df7bc743837a1fbc20efeca4e6d56e69
41
hpp
C++
src/boost_fusion_include_at_c.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_include_at_c.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_include_at_c.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/include/at_c.hpp>
20.5
40
0.780488
miathedev