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
c6e6aff7b869e946e8ce197c512959410aa8f360
2,344
hpp
C++
LAStools/LASlib/inc/lasreaderstored.hpp
RohitDhankar/dcGIS
835c66edd319372b590c0c7b92450694ff8920cd
[ "MIT" ]
null
null
null
LAStools/LASlib/inc/lasreaderstored.hpp
RohitDhankar/dcGIS
835c66edd319372b590c0c7b92450694ff8920cd
[ "MIT" ]
null
null
null
LAStools/LASlib/inc/lasreaderstored.hpp
RohitDhankar/dcGIS
835c66edd319372b590c0c7b92450694ff8920cd
[ "MIT" ]
null
null
null
/* =============================================================================== FILE: lasreaderstored.hpp CONTENTS: Reads LiDAR points from another LASreader and stores them in compressed form so they can be read from memory on the second read. This is especially used for piping LiDA...
29.3
93
0.671928
RohitDhankar
c6e769d7965258076e7d507f9d20465a263dfad2
1,926
cc
C++
bench/x16-transpose.cc
arkhadem/XNNPACK
276871c0d32e2779e485af07fbdeda565d8794ed
[ "BSD-3-Clause" ]
null
null
null
bench/x16-transpose.cc
arkhadem/XNNPACK
276871c0d32e2779e485af07fbdeda565d8794ed
[ "BSD-3-Clause" ]
null
null
null
bench/x16-transpose.cc
arkhadem/XNNPACK
276871c0d32e2779e485af07fbdeda565d8794ed
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 Google LLC // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #include <xnnpack/AlignedAllocator.h> #include <xnnpack/common.h> #include <xnnpack/params.h> #include <xnnpack/transpose.h> #include <algorithm> #include...
31.064516
86
0.727414
arkhadem
c6e93d4eecdc3d9afb8d9854be503cc87bccec45
8,142
cpp
C++
wpilibc/src/test/native/cpp/simulation/RoboRioSimTest.cpp
shueja-personal/allwpilib
4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b
[ "BSD-3-Clause" ]
707
2016-05-11T16:54:13.000Z
2022-03-30T13:03:15.000Z
wpilibc/src/test/native/cpp/simulation/RoboRioSimTest.cpp
shueja-personal/allwpilib
4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b
[ "BSD-3-Clause" ]
2,308
2016-05-12T00:17:17.000Z
2022-03-30T20:08:10.000Z
wpilibc/src/test/native/cpp/simulation/RoboRioSimTest.cpp
shueja-personal/allwpilib
4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b
[ "BSD-3-Clause" ]
539
2016-05-11T20:33:26.000Z
2022-03-28T20:20:25.000Z
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "frc/simulation/RoboRioSim.h" // NOLINT(build/include_order) #include <hal/HAL.h> #include <hal/HALBase.h> #...
38.587678
76
0.783837
shueja-personal
c6e97133fbe1963369ac733aea948146ae49baf3
3,586
cc
C++
CommonTools/CandAlgos/plugins/ParticleDecayProducer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
CommonTools/CandAlgos/plugins/ParticleDecayProducer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
CommonTools/CandAlgos/plugins/ParticleDecayProducer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
/**\class ParticleDecayProducer * * Original Author: Nicola De Filippis * */ // user include files #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/global/EDProducer.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/Utilities/interface/I...
39.844444
118
0.709147
PKUfudawei
c6e9aad65719f1f86f7426a63249dd3065a42239
6,016
cpp
C++
src/receptor.cpp
annanguyen99/FixedRandom_idock
5e4a7705836e22da93bf9962ba5ea4092a08a05d
[ "Apache-2.0" ]
37
2015-02-11T02:24:36.000Z
2022-01-19T13:41:25.000Z
src/receptor.cpp
annanguyen99/FixedRandom_idock
5e4a7705836e22da93bf9962ba5ea4092a08a05d
[ "Apache-2.0" ]
30
2015-02-01T07:21:24.000Z
2021-03-27T12:27:28.000Z
src/receptor.cpp
annanguyen99/FixedRandom_idock
5e4a7705836e22da93bf9962ba5ea4092a08a05d
[ "Apache-2.0" ]
23
2017-04-02T20:16:38.000Z
2022-03-30T13:21:20.000Z
#include <cmath> #include <boost/filesystem/fstream.hpp> #include "array.hpp" #include "scoring_function.hpp" #include "receptor.hpp" receptor::receptor(const path& p, const array<float, 3>& center, const array<float, 3>& size, const float granularity) : center(center), size(size), corner0(center - 0.5f * size),...
35.597633
616
0.610539
annanguyen99
c6eb60185523c0fc2044f25b460b27e623e234a6
4,920
cpp
C++
OpenYuma/netconf/test/test-suites/common/simple-edit-tests-startup.cpp
5GExchange/escape
eb35d460597a0386b18dd5b6a5f62a3f30eed5fa
[ "Apache-2.0" ]
10
2016-11-16T16:26:16.000Z
2021-04-26T17:20:28.000Z
OpenYuma/netconf/test/test-suites/common/simple-edit-tests-startup.cpp
5GExchange/escape
eb35d460597a0386b18dd5b6a5f62a3f30eed5fa
[ "Apache-2.0" ]
3
2017-04-20T11:29:17.000Z
2017-11-06T17:12:12.000Z
OpenYuma/netconf/test/test-suites/common/simple-edit-tests-startup.cpp
5GExchange/escape
eb35d460597a0386b18dd5b6a5f62a3f30eed5fa
[ "Apache-2.0" ]
10
2017-03-27T13:58:52.000Z
2020-06-24T22:42:51.000Z
// ---------------------------------------------------------------------------| // Boost Test Framework // ---------------------------------------------------------------------------| #include <boost/test/unit_test.hpp> // ---------------------------------------------------------------------------| // Standard include...
38.139535
92
0.481911
5GExchange
c6ed6c668c7966dd0052b64c22c541f2127ba936
2,935
cpp
C++
kernel/thor/generic/fiber.cpp
avdgrinten/managarm
4c4478cbde21675ca31e65566f10e1846b268bd5
[ "MIT" ]
13
2017-02-13T23:29:44.000Z
2021-09-30T05:41:21.000Z
kernel/thor/generic/fiber.cpp
avdgrinten/managarm
4c4478cbde21675ca31e65566f10e1846b268bd5
[ "MIT" ]
12
2016-12-03T13:06:13.000Z
2018-05-04T15:49:17.000Z
kernel/thor/generic/fiber.cpp
avdgrinten/managarm
4c4478cbde21675ca31e65566f10e1846b268bd5
[ "MIT" ]
1
2021-12-01T19:01:53.000Z
2021-12-01T19:01:53.000Z
#include "kernel.hpp" #include "fiber.hpp" namespace thor { void KernelFiber::blockCurrent(FiberBlocker *blocker) { auto this_fiber = thisFiber(); while(true) { // Run the WQ outside of the locks. this_fiber->_associatedWorkQueue.run(); StatelessIrqLock irq_lock; auto lock = frigg::guard(&this_fiber->_mut...
24.872881
84
0.720613
avdgrinten
c6ed878a1395bbc4c41ee7186f8b8ea634525ce5
404
cpp
C++
1_languages/c++/src/TemplatesONSTLTemplates.cpp
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
1_languages/c++/src/TemplatesONSTLTemplates.cpp
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
1_languages/c++/src/TemplatesONSTLTemplates.cpp
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; template <class T> T sum(T operand1, T operand2) { return operand1 + operand2; } template <class T> T * createVector(T vectorDataType) { vector<T> v = new vector<char>; return v; //vector * vectorPtr = &v; } int main() { int a = 1, b = 1; ...
13.032258
34
0.611386
praisetompane
c6ee2f9ebe0f6cebd85327fae888484e4d978d04
8,802
hpp
C++
VTIL-Architecture/routine/serialization.hpp
wallds/VTIL-Core
8ca24f7b4b4bdd918bfe6ae084fe408984634fa2
[ "BSD-3-Clause" ]
906
2020-05-04T01:45:29.000Z
2022-03-31T21:45:05.000Z
VTIL-Architecture/routine/serialization.hpp
wallds/VTIL-Core
8ca24f7b4b4bdd918bfe6ae084fe408984634fa2
[ "BSD-3-Clause" ]
44
2020-05-04T22:33:21.000Z
2022-03-30T08:52:34.000Z
VTIL-Architecture/routine/serialization.hpp
wallds/VTIL-Core
8ca24f7b4b4bdd918bfe6ae084fe408984634fa2
[ "BSD-3-Clause" ]
131
2020-05-02T17:27:03.000Z
2022-03-28T16:50:01.000Z
// Copyright (c) 2020 Can Boluk and contributors of the VTIL Project // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain...
37.139241
159
0.676096
wallds
c6f09efecc6a375cacf8f116d3b90cffdb5b17d9
3,582
cpp
C++
test/KOMO/factored/main.cpp
Jung-Su/rai
8bd074ab933692815f0f2e19c5593625cdc364cb
[ "MIT" ]
null
null
null
test/KOMO/factored/main.cpp
Jung-Su/rai
8bd074ab933692815f0f2e19c5593625cdc364cb
[ "MIT" ]
null
null
null
test/KOMO/factored/main.cpp
Jung-Su/rai
8bd074ab933692815f0f2e19c5593625cdc364cb
[ "MIT" ]
null
null
null
#include <KOMO/komo.h> #include <Kin/TM_default.h> #include <Kin/F_collisions.h> #include <Kin/viewer.h> #include <Kin/F_pose.h> #include <Optim/MP_Solver.h> //=========================================================================== void testFactored(){ rai::Configuration C("../switches/model2.g"); rai::Frame...
27.136364
109
0.585427
Jung-Su
c6f19356c0331681f41911e85362da3a41bd4d2f
2,510
hpp
C++
src/unstd/Arena.hpp
zmeadows/aerocore
15d68c6eebf42e9280c9b172c8fce970af7a30e8
[ "MIT" ]
2
2019-01-11T16:17:15.000Z
2019-08-03T04:00:02.000Z
src/unstd/Arena.hpp
zmeadows/aerocore
15d68c6eebf42e9280c9b172c8fce970af7a30e8
[ "MIT" ]
null
null
null
src/unstd/Arena.hpp
zmeadows/aerocore
15d68c6eebf42e9280c9b172c8fce970af7a30e8
[ "MIT" ]
null
null
null
#pragma once #include "unstd/types.hpp" #include "unstd/DynamicArray.hpp" namespace { struct Arena { private: u8* start; u8* end; u8* tip; using Self = Arena; template <typename T> u8* find_aligned_tip() const { u8* requested_memory = this->tip; while (requested_memory != t...
23.457944
91
0.581275
zmeadows
c6f1ec5756a982a0c4cad44ac739391d4c1af330
33,301
cc
C++
wise/src/node/application/wiseMultiCameraPeriodicApp_ICF/WiseMultiCameraPeriodicApp_ICF.cc
qwertyh26/wisemnet
1d8269d141be255642ca36dbff8b594892085685
[ "Naumen", "Condor-1.1", "MS-PL" ]
6
2017-12-07T05:33:01.000Z
2021-02-20T21:15:48.000Z
wise/src/node/application/wiseMultiCameraPeriodicApp_ICF/WiseMultiCameraPeriodicApp_ICF.cc
MultiCameraNetworks/wisemnet
1d8269d141be255642ca36dbff8b594892085685
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
wise/src/node/application/wiseMultiCameraPeriodicApp_ICF/WiseMultiCameraPeriodicApp_ICF.cc
MultiCameraNetworks/wisemnet
1d8269d141be255642ca36dbff8b594892085685
[ "Naumen", "Condor-1.1", "MS-PL" ]
4
2018-09-17T14:01:11.000Z
2020-05-28T15:47:01.000Z
// ***************************************************************************************** // Copyright (C) 2017 Juan C. SanMiguel and Andrea Cavallaro // You may use, distribute and modify this code under the terms of the ACADEMIC PUBLIC // license (see the attached LICENSE_WISE file). // // This file is part of the...
43.587696
289
0.646647
qwertyh26
c6f61fe935245587970f19d399b9f0041beffed1
707
cpp
C++
Controls/Label.cpp
Carson-Shook/Winclipper
b8b0e7d1a1755f095df974d3eafa8f0fdb5c60f4
[ "MIT" ]
6
2018-06-19T15:50:24.000Z
2022-01-13T09:28:07.000Z
Controls/Label.cpp
Carson-Shook/Winclipper
b8b0e7d1a1755f095df974d3eafa8f0fdb5c60f4
[ "MIT" ]
7
2018-01-07T21:07:55.000Z
2021-12-16T18:55:12.000Z
Controls/Label.cpp
Carson-Shook/Winclipper
b8b0e7d1a1755f095df974d3eafa8f0fdb5c60f4
[ "MIT" ]
null
null
null
#include "Label.h" bool Controls::Label::Create() { RECT boxsize = { 0, 0, 0, 0 }; int finalWidth = 0; int finalHeight = 0; if (AutoSize) { MeasureString(text, font, &boxsize); finalWidth = boxsize.right; finalHeight = boxsize.bottom; } else { finalWidth = DpiScaleX(width); finalHeight = DpiScaleX(h...
16.833333
67
0.673267
Carson-Shook
c6f7c7cfff7bda85ddd440692715f9be58605637
1,351
cc
C++
libraries/ostrich/backend/3rdparty/abseil/absl/base/internal/exception_safety_testing.cc
YYTVicky/marmotta
28c9b8b0791ea1693578af302981a1358e56933d
[ "CC-BY-3.0", "Apache-2.0" ]
45
2015-01-07T08:56:24.000Z
2021-12-23T03:06:04.000Z
libraries/ostrich/backend/3rdparty/abseil/absl/base/internal/exception_safety_testing.cc
YYTVicky/marmotta
28c9b8b0791ea1693578af302981a1358e56933d
[ "CC-BY-3.0", "Apache-2.0" ]
11
2015-08-20T19:15:16.000Z
2020-04-30T01:40:03.000Z
libraries/ostrich/backend/3rdparty/abseil/absl/base/internal/exception_safety_testing.cc
isabella232/marmotta
28c9b8b0791ea1693578af302981a1358e56933d
[ "CC-BY-3.0", "Apache-2.0" ]
71
2015-02-03T19:59:19.000Z
2022-01-15T17:43:49.000Z
// Copyright 2017 The Abseil 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 agre...
32.166667
77
0.732791
YYTVicky
c6f8df5ec7c00a2ea4f6b7befe41741cf65d31b3
10,786
cc
C++
ecclesia/magent/redfish/core/assembly_modifiers_test.cc
google/ecclesia-machine-management
a04559528685563b5356678207206c767409a687
[ "Apache-2.0" ]
22
2020-06-05T22:21:54.000Z
2021-12-09T07:13:14.000Z
ecclesia/magent/redfish/core/assembly_modifiers_test.cc
google/ecclesia-machine-management
a04559528685563b5356678207206c767409a687
[ "Apache-2.0" ]
9
2020-06-11T17:14:29.000Z
2021-06-23T09:28:44.000Z
ecclesia/magent/redfish/core/assembly_modifiers_test.cc
google/ecclesia-machine-management
a04559528685563b5356678207206c767409a687
[ "Apache-2.0" ]
11
2020-06-24T19:44:26.000Z
2021-10-04T00:51:37.000Z
/* * Copyright 2021 Google LLC * * 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 ...
32.884146
94
0.668459
google
05038a7d89c57c565c22429e2cba171f62597b70
1,128
cpp
C++
codeforces/A - Business trip/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/A - Business trip/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/A - Business trip/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Feb/16/2018 18:01 * solution_verdict: Accepted language: GNU C++14 * run...
28.2
111
0.356383
kzvd4729
0503f4e26fc826777334b7eb4a6ab9b97768c2b5
5,573
cpp
C++
aws-cpp-sdk-elasticbeanstalk/source/model/CPUUtilization.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
1
2020-07-16T19:03:13.000Z
2020-07-16T19:03:13.000Z
aws-cpp-sdk-elasticbeanstalk/source/model/CPUUtilization.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-elasticbeanstalk/source/model/CPUUtilization.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
1
2021-10-01T15:29:44.000Z
2021-10-01T15:29:44.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
28.28934
129
0.656379
woohoou
05044b7e41012e9794dec82f9653cb7c1fc1cfbf
5,746
cpp
C++
components/render/dx11_driver/tests/device/all_input_states.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/render/dx11_driver/tests/device/all_input_states.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/render/dx11_driver/tests/device/all_input_states.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" //size_t output_mode = OutputMode_Default; size_t output_mode = OutputMode_All; size_t total_tests = 0; size_t success_tests = 0; size_t wrong_tests = 0; size_t fail_tests = 0; void print_input_layout_desc(const InputLayoutDesc& desc) { static const char* header_names[] = {"Buf...
34.407186
149
0.549774
untgames
050974096f41be59440c679d1dac374fd28d1e0a
7,948
inl
C++
include/voxigen/volume/regionHandle.inl
caseymcc/voxigen
cfb7c7e999a02cdf40fd7344b2d744bf9446837c
[ "MIT" ]
38
2017-05-13T20:14:18.000Z
2022-01-20T12:39:59.000Z
include/voxigen/volume/regionHandle.inl
caseymcc/voxigen
cfb7c7e999a02cdf40fd7344b2d744bf9446837c
[ "MIT" ]
null
null
null
include/voxigen/volume/regionHandle.inl
caseymcc/voxigen
cfb7c7e999a02cdf40fd7344b2d744bf9446837c
[ "MIT" ]
6
2018-01-04T23:59:27.000Z
2021-02-19T03:48:50.000Z
namespace voxigen { template<typename _Region> RegionHandle<_Region>::RegionHandle(RegionHash regionHash, IGridDescriptors *descriptors/*, GeneratorQueue<_Grid> *generatorQueue, DataStore<_Grid> *dataStore, UpdateQueue *updateQueue*/): //m_status(Unknown), m_state(HandleState::Unknown), m_action(HandleAction::Idle), m...
27.50173
188
0.641042
caseymcc
0509e62d1306cd88b5e62139a78f02d9d2bd45aa
2,080
cpp
C++
util/string/pcdata.cpp
HeyLey/catboost
f472aed90604ebe727537d9d4a37147985e10ec2
[ "Apache-2.0" ]
2
2019-07-10T10:49:09.000Z
2020-06-19T11:40:04.000Z
util/string/pcdata.cpp
HeyLey/catboost
f472aed90604ebe727537d9d4a37147985e10ec2
[ "Apache-2.0" ]
null
null
null
util/string/pcdata.cpp
HeyLey/catboost
f472aed90604ebe727537d9d4a37147985e10ec2
[ "Apache-2.0" ]
1
2019-02-01T12:17:04.000Z
2019-02-01T12:17:04.000Z
#include "strspn.h" #include "pcdata.h" static TCompactStrSpn sspn("\"<>&'"); static void EncodeHtmlPcdataAppendInternal(const TStringBuf str, TString& strout, bool qAmp) { const char* s = str.data(); const char* e = s + str.length(); for (;;) { const char* next = sspn.FindFirstOf(s, e); ...
25.679012
100
0.416346
HeyLey
050a78a0320b2da22e02cee94aa29d21fa760a53
28,442
cpp
C++
src/neuralnet/tally.cpp
theMarix/Gridcoin-Research
19e30fa7e4591a423aacb20c6e7824131aefd596
[ "MIT" ]
null
null
null
src/neuralnet/tally.cpp
theMarix/Gridcoin-Research
19e30fa7e4591a423aacb20c6e7824131aefd596
[ "MIT" ]
null
null
null
src/neuralnet/tally.cpp
theMarix/Gridcoin-Research
19e30fa7e4591a423aacb20c6e7824131aefd596
[ "MIT" ]
null
null
null
#include "main.h" #include "neuralnet/accrual/newbie.h" #include "neuralnet/accrual/null.h" #include "neuralnet/accrual/research_age.h" #include "neuralnet/accrual/snapshot.h" #include "neuralnet/claim.h" #include "neuralnet/cpid.h" #include "neuralnet/quorum.h" #include "neuralnet/superblock.h" #include "neuralnet/tal...
30.714903
90
0.62587
theMarix
050a7f611711a8241488923681e602b91680ae66
2,337
hpp
C++
include/eve/arch/expected_cardinal.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
include/eve/arch/expected_cardinal.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
include/eve/arch/expected_cardinal.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
32.458333
100
0.563971
orao
050c358474303c62e21d1235654cc73d78715399
482
hh
C++
dune/gdt/spaces/continuouslagrange.hh
ftalbrecht/dune-gdt
574bc4a3b28d2a6a6195a6b4df6727c61f0d73c9
[ "BSD-2-Clause" ]
null
null
null
dune/gdt/spaces/continuouslagrange.hh
ftalbrecht/dune-gdt
574bc4a3b28d2a6a6195a6b4df6727c61f0d73c9
[ "BSD-2-Clause" ]
null
null
null
dune/gdt/spaces/continuouslagrange.hh
ftalbrecht/dune-gdt
574bc4a3b28d2a6a6195a6b4df6727c61f0d73c9
[ "BSD-2-Clause" ]
1
2018-08-13T11:51:27.000Z
2018-08-13T11:51:27.000Z
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_SPACES_CONTINUOUSLAGRANGE_HH #define DUNE_GDT_SPACES_CONTINUOUSLAGRANGE_HH #warning T...
37.076923
89
0.788382
ftalbrecht
050eb0549e2f8900c0aeb8ef37b0697eb790d62a
4,921
cpp
C++
SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_PathMap.cpp
ErwanLegrand/Arduino-Source
21dd2087b3941db10542ab5858663d07ca0de751
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_PathMap.cpp
ErwanLegrand/Arduino-Source
21dd2087b3941db10542ab5858663d07ca0de751
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_PathMap.cpp
ErwanLegrand/Arduino-Source
21dd2087b3941db10542ab5858663d07ca0de751
[ "MIT" ]
null
null
null
/* Max Lair Detect Path Map * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include "CommonFramework/Tools/ErrorDumper.h" #include "CommonFramework/Inference/ImageTools.h" #include "NintendoSwitch/Commands/NintendoSwitch_PushButtons.h" #include "PokemonSwSh/Inference/PokemonSwSh_Type...
28.281609
111
0.606178
ErwanLegrand
0510e34a6bfe0d0dc2394103bf669939942b44fc
4,243
cpp
C++
source/webserver.cpp
martin-juul/greenhouse
31ddd9e37dd92d0be22c1a41cd84a5e7e45710ff
[ "Apache-2.0" ]
null
null
null
source/webserver.cpp
martin-juul/greenhouse
31ddd9e37dd92d0be22c1a41cd84a5e7e45710ff
[ "Apache-2.0" ]
null
null
null
source/webserver.cpp
martin-juul/greenhouse
31ddd9e37dd92d0be22c1a41cd84a5e7e45710ff
[ "Apache-2.0" ]
null
null
null
#include "http/http_response_builder.h" #include "webserver.h" #include "EthernetInterface.h" #include "mbed.h" #include "website.h" #include <cstring> #include <string> #define IP "192.168.1.100" #define GATEWAY "192.168.1.1" #define NETMASK "255.255.255.0" #define PORT 80 Database *db; EthernetInterface *net; TCP...
25.715152
79
0.605232
martin-juul
0515c6c4967582ad580d47c8cbd5b4faa862daa8
952
cpp
C++
codeforces/1408B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1408B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1408B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// B. Arrays Sum #include <iostream> #include <set> using namespace std; int main(){ int t; cin >> t; while (t--){ int n, k; cin >> n >> k; set<int> st; int tmp; for (int i=0; i<n; ++i){ cin >> tmp; st.insert(tmp); } i...
16.135593
103
0.392857
sgrade
05162d4e4ecefcbe8121d9ce2d4723fd18a4357a
601
cpp
C++
prime_factor.cpp
fastestmk/Competitive-Programming-Algorithms
45ecdfadb070659bcdd4c007205a785442ffe7f1
[ "MIT" ]
null
null
null
prime_factor.cpp
fastestmk/Competitive-Programming-Algorithms
45ecdfadb070659bcdd4c007205a785442ffe7f1
[ "MIT" ]
null
null
null
prime_factor.cpp
fastestmk/Competitive-Programming-Algorithms
45ecdfadb070659bcdd4c007205a785442ffe7f1
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; // A function to print all prime factors of a given number n void primeFactor(int n){ // Print the number of 2s that divide n while(n%2 == 0){ cout << 2 << " "; n = n/2; } // // Print the number of other prime(3, 5, .....) that divide n for(int i = ...
17.171429
65
0.560732
fastestmk
051969b5127e23b415713ed19592072d50df4047
2,743
cpp
C++
test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/fmtflags.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/fmtflags.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/fmtflags.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
32.270588
80
0.575283
K-Wu
0519ca19d336fb508420d08db88d6b43f60eb97c
3,574
cpp
C++
algorithms/graph_algorithms/traversal/advanced/dfs_general.cpp
kruztev/FMI-DSA
f509dba6cd95792ec9c4c9ad55620a3dc06c6602
[ "MIT" ]
24
2017-12-21T13:57:34.000Z
2021-12-08T01:12:32.000Z
algorithms/graph_algorithms/traversal/advanced/dfs_general.cpp
kruztev/FMI-DSA
f509dba6cd95792ec9c4c9ad55620a3dc06c6602
[ "MIT" ]
28
2018-11-01T23:34:08.000Z
2019-10-07T17:42:54.000Z
algorithms/graph_algorithms/traversal/advanced/dfs_general.cpp
kruztev/FMI-DSA
f509dba6cd95792ec9c4c9ad55620a3dc06c6602
[ "MIT" ]
4
2018-04-24T19:28:51.000Z
2020-07-19T14:06:23.000Z
/******************************************************************************* * This file is part of the "Data structures and algorithms" course. FMI 2018/19 *******************************************************************************/ /** * @file dfs_general.cpp * @author Ivan Filipov * @date 01.2019 ...
28.365079
81
0.619194
kruztev
051c3730cafa653843c129f8e87415a17c54f2ea
12,373
cpp
C++
Cores/PicoDrive/cpu/cyclone/OpBranch.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
2
2021-02-04T22:41:57.000Z
2021-03-27T07:28:02.000Z
Cores/PicoDrive/cpu/cyclone/OpBranch.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
null
null
null
Cores/PicoDrive/cpu/cyclone/OpBranch.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
3
2019-02-19T12:55:12.000Z
2019-05-30T08:33:23.000Z
// This file is part of the Cyclone 68000 Emulator // Copyright (c) 2004,2011 FinalDave (emudave (at) gmail.com) // Copyright (c) 2005-2011 Gražvydas "notaz" Ignotas (notasas (at) gmail.com) // This code is licensed under the GNU General Public License version 2.0 and the MAME License. // You can choose the l...
23.257519
97
0.522347
werminghoff
05205ab806326da52b1ffd661aa9403c1f0d654e
170
cpp
C++
main.cpp
Orikson/Custom-3D-Physics-Engine
245bdaef7608d06545f54a29200ba3754480b5bf
[ "MIT" ]
null
null
null
main.cpp
Orikson/Custom-3D-Physics-Engine
245bdaef7608d06545f54a29200ba3754480b5bf
[ "MIT" ]
null
null
null
main.cpp
Orikson/Custom-3D-Physics-Engine
245bdaef7608d06545f54a29200ba3754480b5bf
[ "MIT" ]
null
null
null
#include "Engine/Kernel/kernel.h" int main(int argc, char* argv[]) { Kernel* kernel; kernel->start("3D Rendering", 700, 700);//argc, argv); return 0; }
18.888889
59
0.605882
Orikson
0521d0b883edce2d9225412f281780f758ffb8c7
980
cpp
C++
examples/meme_likes/main.cpp
nzikic/lru_cache
74913307bf712f94bf1f9eaff1397d0ac0c91372
[ "MIT" ]
2
2019-10-03T20:00:04.000Z
2020-08-12T07:42:46.000Z
examples/meme_likes/main.cpp
nzikic/lru_cache
74913307bf712f94bf1f9eaff1397d0ac0c91372
[ "MIT" ]
null
null
null
examples/meme_likes/main.cpp
nzikic/lru_cache
74913307bf712f94bf1f9eaff1397d0ac0c91372
[ "MIT" ]
null
null
null
#include "cache.h" #include <iostream> int main() { using namespace cache; MemeProvider provider{new MemeDataBase, 4}; auto doge = provider.get("Doge"); auto girlfriend = provider.get("Girlfriend"); auto derpina = provider.get("Derpina"); // std::cout << "I like doggos\n"; doge->like(...
23.902439
72
0.508163
nzikic
0523a5ddb1a60da941f4ce7fdddd6b8b352ba398
296
cxx
C++
test/input/Class-template-recurse.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
428
2015-01-06T17:01:38.000Z
2022-03-22T12:34:03.000Z
test/input/Class-template-recurse.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
175
2015-01-06T17:07:37.000Z
2022-03-07T23:06:02.000Z
test/input/Class-template-recurse.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
101
2015-01-25T14:18:42.000Z
2022-02-05T08:56:06.000Z
template <typename T> struct A; template <typename T> struct C; template <typename T> struct B { typedef C<T> type; }; template <typename T> struct C { C() { /* clang-format off */ static_cast<void>(sizeof(typename B< A<T> >::type)); /* clang-format on */ } }; C<void> start;
14.095238
56
0.618243
radoslawcybulski
0524df31e203cdd8a198b77a0c11e540738b5690
950
cpp
C++
backup/2/codesignal/c++/longest-word.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/codesignal/c++/longest-word.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/codesignal/c++/longest-word.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
45.238095
345
0.668421
yangyanzhan
0527053a95db27eea4c3da0542103e5a146f0f09
1,172
cpp
C++
src/Date.cpp
Abdsaddik/Hotel-Reservation-System
f376a7134de634b4912c5bd5bc00dcf655c40cd8
[ "MIT" ]
null
null
null
src/Date.cpp
Abdsaddik/Hotel-Reservation-System
f376a7134de634b4912c5bd5bc00dcf655c40cd8
[ "MIT" ]
null
null
null
src/Date.cpp
Abdsaddik/Hotel-Reservation-System
f376a7134de634b4912c5bd5bc00dcf655c40cd8
[ "MIT" ]
null
null
null
#include "Date.hpp" constexpr int Date::monthDays[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; Date::Date(std::string day, std::string month, std::string year) : day_{ day } , month_{ month } , year_{ year } { } std::istream& operator>>(std::istream& i, Date& d) { std::string ...
25.478261
87
0.494027
Abdsaddik
05272089ea5994c4f2b46068472150a76ccb8328
274
hpp
C++
include/exotico.hpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
null
null
null
include/exotico.hpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
null
null
null
include/exotico.hpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
1
2020-11-18T21:06:29.000Z
2020-11-18T21:06:29.000Z
#pragma once #include <iostream> using std::string; class Exotico{ protected: string origem; public: Exotico(string origem); virtual ~Exotico(); string getOrigem() const; void setOrigem(string origem); };
15.222222
38
0.569343
fernandocunhapereira
052844a514dcef38eb18e20de165e6fdd03ede7e
3,844
cpp
C++
Code/Applications/ResourceServer/ResourceServerWorker.cpp
JuanluMorales/KRG
f3a11de469586a4ef0db835af4bc4589e6b70779
[ "MIT" ]
419
2022-01-27T19:37:43.000Z
2022-03-31T06:14:22.000Z
Code/Applications/ResourceServer/ResourceServerWorker.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
2
2022-01-28T20:35:33.000Z
2022-03-13T17:42:52.000Z
Code/Applications/ResourceServer/ResourceServerWorker.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
20
2022-01-27T20:41:02.000Z
2022-03-26T16:16:57.000Z
#include "ResourceServerWorker.h" //------------------------------------------------------------------------- namespace KRG::Resource { ResourceServerWorker::ResourceServerWorker( TaskSystem* pTaskSystem, String const& workerFullPath ) : m_pTaskSystem( pTaskSystem ) , m_workerFullPath( wor...
35.925234
195
0.513528
JuanluMorales
05287ac70aac83d0edb42e1c5f91e77dfd6bdcf5
317
cc
C++
src/abc171/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc171/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc171/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; string c(ll n); /* int main() { ll n; cin >> n; cout << c(n); } */ string c(ll n) { // n >= 1 string ans = ""; while(n) { n--; ans += (char)('a' + (n % 26)); n/=26; } reverse(ans.begin(), ans.end()); return ans; }
10.931034
34
0.479495
nryotaro
0529bd4ec8c30aaca5480ce9d84e4aebd5a7c387
4,070
cpp
C++
snippets/cpp/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-02-22T09:30:21.000Z
2021-08-02T23:44:31.000Z
snippets/cpp/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder Example/CPP/source.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// <Snippet1> using namespace System; using namespace System::Threading; using namespace System::Reflection; using namespace System::Reflection::Emit; // We will apply this custom attribute to our dynamic type. public ref class ClassCreator: public Attribute { private: String^ creator; public: property String...
34.201681
126
0.69656
BohdanMosiyuk
052f0a897c76cfa5bac07053c5a5e9dc635ca224
5,074
cpp
C++
Source/Core/Lua/Vector2i.cpp
jhasse/RmlUi
b73650e0492314654d9b3b3074d0dc123d6c04e8
[ "MIT" ]
3
2020-03-25T06:05:09.000Z
2021-04-15T09:16:47.000Z
Source/Core/Lua/Vector2i.cpp
jhasse/RmlUi
b73650e0492314654d9b3b3074d0dc123d6c04e8
[ "MIT" ]
2
2022-02-17T19:53:56.000Z
2022-02-19T00:20:18.000Z
Source/Core/Lua/Vector2i.cpp
jhasse/RmlUi
b73650e0492314654d9b3b3074d0dc123d6c04e8
[ "MIT" ]
6
2016-09-13T11:52:20.000Z
2020-10-02T20:29:04.000Z
/* * This source file is part of RmlUi, the HTML/CSS Interface Middleware * * For the latest information, see http://github.com/mikke89/RmlUi * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * Copyright (c) 2019 The RmlUi Team, and contributors * * Permission is hereby granted, free of charge, to...
24.277512
102
0.681711
jhasse
052face85090ffd8be79a621389cd0df9146e3be
8,548
cc
C++
src/plugin/scripting/pythonlib/src/py_array.cc
motor-dev/Motor
98cb099fe1c2d31e455ed868cc2a25eae51e79f0
[ "BSD-3-Clause" ]
null
null
null
src/plugin/scripting/pythonlib/src/py_array.cc
motor-dev/Motor
98cb099fe1c2d31e455ed868cc2a25eae51e79f0
[ "BSD-3-Clause" ]
null
null
null
src/plugin/scripting/pythonlib/src/py_array.cc
motor-dev/Motor
98cb099fe1c2d31e455ed868cc2a25eae51e79f0
[ "BSD-3-Clause" ]
null
null
null
/* Motor <motor.devel@gmail.com> see LICENSE for detail */ #include <motor/plugin.scripting.pythonlib/stdafx.h> #include <motor/meta/engine/call.hh> #include <motor/meta/engine/operatortable.meta.hh> #include <motor/plugin.scripting.pythonlib/pythonlib.hh> #include <py_array.hh> namespace Motor { namespace Python ...
37.823009
100
0.46081
motor-dev
052fb54db31d38875617299a02da659a3dafb361
382
cpp
C++
KM/03code/book/Thinking-In-C-resource-master/Resource/C10/OverridingAmbiguity.cpp
wangcy6/weekly.github.io
f249bed5cf5a2b14d798ac33086cea0c1efe432e
[ "Apache-2.0" ]
10
2019-03-17T10:13:04.000Z
2021-03-03T03:23:34.000Z
KM/03code/book/Thinking-In-C-resource-master/Resource/C10/OverridingAmbiguity.cpp
wangcy6/weekly.github.io
f249bed5cf5a2b14d798ac33086cea0c1efe432e
[ "Apache-2.0" ]
44
2018-12-14T02:35:47.000Z
2021-02-06T09:12:10.000Z
KM/03code/book/Thinking-In-C-resource-master/Resource/C10/OverridingAmbiguity.cpp
wangcy6/weekly
f249bed5cf5a2b14d798ac33086cea0c1efe432e
[ "Apache-2.0" ]
null
null
null
//: C10:OverridingAmbiguity.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // Copyright notice in Copyright.txt #include "NamespaceMath.h" #include "NamespaceOverriding2.h" void s() { using namespace Math; using namespace Calculation; // Everything's ok ...
25.466667
41
0.691099
wangcy6
053033c2002f1ab5f2544a96ffce27294f95f20d
7,788
cpp
C++
Compiler/Types/Class.cpp
rozaxe/emojicode
de62ef1871859429e569e4275c38c18bd43c5271
[ "Artistic-2.0" ]
1
2018-12-31T03:57:28.000Z
2018-12-31T03:57:28.000Z
Compiler/Types/Class.cpp
rozaxe/emojicode
de62ef1871859429e569e4275c38c18bd43c5271
[ "Artistic-2.0" ]
null
null
null
Compiler/Types/Class.cpp
rozaxe/emojicode
de62ef1871859429e569e4275c38c18bd43c5271
[ "Artistic-2.0" ]
1
2019-01-01T13:34:14.000Z
2019-01-01T13:34:14.000Z
// // Class.c // EmojicodeCompiler // // Created by Theo Weidmann on 05.01.15. // Copyright (c) 2015 Theo Weidmann. All rights reserved. // #include "Class.hpp" #include "Analysis/SemanticAnalyser.hpp" #include "Compiler.hpp" #include "CompilerError.hpp" #include "Functions/Initializer.hpp" #include "Package/Packa...
37.990244
121
0.616975
rozaxe
0531bf1b5620a0b869ce0e252eaf80f53d9a07a1
1,227
hxx
C++
opencascade/OpenGl_LayerFilter.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/OpenGl_LayerFilter.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/OpenGl_LayerFilter.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 2015-03-20 // Created by: Denis BOGOLEPOV // Copyright (c) 2012-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 ...
40.9
91
0.773431
valgur
053217b95f12febd1949efc0ffc8b93b18464f22
5,026
cpp
C++
general/toaster/toastDrv/umdf/func/Driver.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
3,084
2015-03-18T04:40:32.000Z
2019-05-06T17:14:33.000Z
general/toaster/toastDrv/umdf/func/Driver.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
275
2015-03-19T18:44:41.000Z
2019-05-06T14:13:26.000Z
general/toaster/toastDrv/umdf/func/Driver.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
3,091
2015-03-19T00:08:54.000Z
2019-05-06T16:42:01.000Z
/*++ Copyright (c) Microsoft Corporation, All Rights Reserved Module Name: Driver.cpp Abstract: This file contains the implementation for the driver object. Environment: Windows User-Mode Driver Framework (WUDF) --*/ #include "stdafx.h" #include "Driver.h" #include "Devi...
24.398058
100
0.557302
ixjf
053277e75ad8e0d6e32ba6dc91aa00c06a1793bb
848
cpp
C++
phase_1/example/montague/variants/unpatched/src/action/list_create.cpp
cromulencellc/chess-aces
7780e29de1991758078816ca501ff79a2586b8c2
[ "MIT" ]
null
null
null
phase_1/example/montague/variants/unpatched/src/action/list_create.cpp
cromulencellc/chess-aces
7780e29de1991758078816ca501ff79a2586b8c2
[ "MIT" ]
null
null
null
phase_1/example/montague/variants/unpatched/src/action/list_create.cpp
cromulencellc/chess-aces
7780e29de1991758078816ca501ff79a2586b8c2
[ "MIT" ]
null
null
null
#include "list_create.hpp" #include "../models/list.hpp" using namespace action; using List = models::List; namespace context = mtl::context; void ListCreate::process(mtl::Context &ctx) { auto body = request.decode_body(); if (!body.has_value()) { throw MontagueRuntimeError("Couldn't create list without body");...
33.92
74
0.689858
cromulencellc
0532e3e431e61692a06d6a35a3d7ac3474709ca5
712
cc
C++
content/app/mojo/mojo_init.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/app/mojo/mojo_init.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/app/mojo/mojo_init.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/app/mojo/mojo_init.h" #include "base/logging.h" #include "mojo/embedder/embedder.h" #include "mojo/public/cpp/environment/environment.h...
21.575758
73
0.73736
Acidburn0zzz
0534e756755b529555548eaa8c6b3428eae80b95
1,015
cc
C++
media/blink/blink_platform_with_task_environment.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
media/blink/blink_platform_with_task_environment.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
media/blink/blink_platform_with_task_environment.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "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 "media/blink/blink_platform_with_task_environment.h" namespace media { BlinkPlatformWithTaskEnvironment::BlinkPlatformWithTaskEnvironment() ...
31.71875
79
0.773399
sarang-apps
05363fc8590c06573c0d400b25235f9b3f18c209
525
hpp
C++
cpp/subprojects/common/include/common/pruning/pruning_no.hpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
8
2020-06-30T01:06:43.000Z
2022-03-14T01:58:29.000Z
cpp/subprojects/common/include/common/pruning/pruning_no.hpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
3
2020-12-14T11:30:18.000Z
2022-02-07T06:31:51.000Z
cpp/subprojects/common/include/common/pruning/pruning_no.hpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
4
2020-06-24T08:45:00.000Z
2021-12-23T21:44:51.000Z
/* * @author Michael Rapp (michael.rapp.ml@gmail.com) */ #pragma once #include "common/pruning/pruning.hpp" /** * An implementation of the class `IPruning` that does not actually perform any pruning, but retains all conditions. */ class NoPruning final : public IPruning { public: std::unique_ptr<IC...
26.25
120
0.68
Waguy02
05383af61a02f084ee8a2aee2985ed30278745c1
1,607
hpp
C++
src/vendor/mariadb-10.6.7/storage/mroonga/lib/mrn_database_manager.hpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/mroonga/lib/mrn_database_manager.hpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/mroonga/lib/mrn_database_manager.hpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
/* -*- c-basic-offset: 2 -*- */ /* Copyright(C) 2010 Tetsuro IKEDA Copyright(C) 2010-2013 Kentoku SHIBA Copyright(C) 2011-2014 Kouhei Sutou <kou@clear-code.com> 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 t...
30.320755
80
0.732421
zettadb
053a2a5bd1f2bb85d9b42b2a529418c1b54f800c
16,335
cpp
C++
third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
40.93985
80
0.727395
metux
053cac8555a52c5d303f05bea5abd07e57ea494c
795
cpp
C++
test/integral/literals.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
2
2015-05-07T14:29:13.000Z
2015-07-04T10:59:46.000Z
test/integral/literals.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
test/integral/literals.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
/* @copyright Louis Dionne 2014 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #include <boost/hana/integral.hpp> #include <boost/hana/detail/assert.hpp> #include <boost/hana/type.hpp> using namespace boost::hana; using nam...
30.576923
78
0.740881
rbock
053d7cdb82041c46ca7dc354a4de7257d9276c88
3,881
cpp
C++
origin/math/matrix/matrix.test/solver.cpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
7
2017-11-22T19:11:00.000Z
2020-08-16T15:53:10.000Z
origin/math/matrix/matrix.test/solver.cpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
null
null
null
origin/math/matrix/matrix.test/solver.cpp
asutton/origin-google
516482c081a357a06402e5f288d645d3e18f69fa
[ "MIT" ]
1
2020-08-07T12:31:36.000Z
2020-08-07T12:31:36.000Z
// Copyright (c) 2008-2010 Kent State University // Copyright (c) 2011-2012 Texas A&M University // // This file is distributed under the MIT License. See the accompanying file // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms // and conditions. #include <random> #include <stdexcept> #incl...
20.643617
78
0.580005
asutton
053e63782c7595b71d7c08a91405a9a19c3b3f8e
6,230
hpp
C++
include/Awl/boost/date_time/special_values_parser.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
4
2016-07-01T02:33:28.000Z
2020-03-03T17:52:54.000Z
include/Awl/boost/date_time/special_values_parser.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
null
null
null
include/Awl/boost/date_time/special_values_parser.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
null
null
null
#ifndef DATE_TIME_SPECIAL_VALUES_PARSER_HPP__ #define DATE_TIME_SPECIAL_VALUES_PARSER_HPP__ /* Copyright (c) 2005 CrystalClear Software, Inc. * Use, modification and distribution is subject to the * Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.t...
38.9375
105
0.676886
Yalir
054202b06e11839aceab0b375806eeff035702c0
4,471
cpp
C++
src/devices/machine/1mb5.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/machine/1mb5.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/machine/1mb5.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:F. Ulivi /********************************************************************* 1mb5.cpp HP-8x I/O Translator chip (1MB5-0101) Reference for this chip: HP, aug 79, 1MB5 Detailed specification - Translator chip *********************************************...
16.620818
111
0.632744
Robbbert
0544105e1cb178a7790287d315e93f2e2cdb1d41
519
cpp
C++
CodeChef/Easy/E0063.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
CodeChef/Easy/E0063.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
CodeChef/Easy/E0063.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
// Problem Code: RRECIPE #include <iostream> #include <string> using namespace std; int recipeReconstruction(string S) { int i, j, mod; long long ways = 1; i = 0; j = S.length() - 1; mod = 1e7 + 9; while (i <= j) { if (S[i] == '?' && S[j] == '?') ways = (ways * 26) % mod; else if (S[i] != '?' && S[j] !=...
15.264706
56
0.499037
Mohammed-Shoaib
0544a6faff86e6388ebf452184c5a661c1fea8c7
13,676
cc
C++
okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/test/fullsystem/pistachio/user/serv/sigma0/region.cc
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
77
2018-12-31T22:12:09.000Z
2021-12-31T22:56:13.000Z
okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/test/fullsystem/pistachio/user/serv/sigma0/region.cc
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
null
null
null
okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/test/fullsystem/pistachio/user/serv/sigma0/region.cc
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
24
2019-01-20T15:51:52.000Z
2021-12-25T18:29:13.000Z
/********************************************************************* * * Copyright (C) 2005, Karlsruhe University * * File path: region.cc * Description: Generic regions * * Redistribution and use in source and binary forms, with or without * modification...
24.730561
77
0.620649
CyberQueenMara
0544eda20f5f7285577ee539f59054822bcab601
5,777
cpp
C++
MC/MC/mcPhaseSpaceIO.cpp
RadOncSys/MC
0d39cb744b16d3bc522032483ff7fbd25dbc8b5e
[ "MIT" ]
5
2018-04-14T07:55:04.000Z
2020-10-28T09:07:09.000Z
MC/MC/mcPhaseSpaceIO.cpp
RadOncSys/MC
0d39cb744b16d3bc522032483ff7fbd25dbc8b5e
[ "MIT" ]
3
2021-11-21T06:12:17.000Z
2021-11-21T06:31:02.000Z
MC/MC/mcPhaseSpaceIO.cpp
RadOncSys/MC
0d39cb744b16d3bc522032483ff7fbd25dbc8b5e
[ "MIT" ]
2
2017-10-05T14:59:40.000Z
2021-08-02T07:24:55.000Z
#include "mcPhaseSpaceIO.h" #include "mcParticle.h" #include "mcDefs.h" #include <float.h> const unsigned int mcPhaseSpaceIO::PHOTON_LATCH = 0x00000000; const unsigned int mcPhaseSpaceIO::NEGATRON_LATCH = 0x40000000; const unsigned int mcPhaseSpaceIO::POSITRON_LATCH = 0x20000000; const unsigned int mcPhaseSpaceIO::BUF...
23.871901
115
0.684265
RadOncSys
0544f76a3052335dde2c02a827bff3694ef09fcc
12,831
cpp
C++
kol_ontology/kol_ParserGoObo.cpp
kellerberrin/KGL_Gene
f8e6c14b8b2009d82d692b28354561b5f0513c5e
[ "MIT" ]
1
2021-04-09T16:24:06.000Z
2021-04-09T16:24:06.000Z
kol_ontology/kol_ParserGoObo.cpp
kellerberrin/KGL_Gene
f8e6c14b8b2009d82d692b28354561b5f0513c5e
[ "MIT" ]
null
null
null
kol_ontology/kol_ParserGoObo.cpp
kellerberrin/KGL_Gene
f8e6c14b8b2009d82d692b28354561b5f0513c5e
[ "MIT" ]
null
null
null
// // Created by kellerberrin on 19/4/21. // #include "kol_OntologyTypes.h" #include "kol_ParserGoObo.h" #include "kol_GoEnums.h" #include "kel_exec_env.h" #include "kel_utility.h" #include <fstream> #include <boost/algorithm/string.hpp> namespace kol = kellerberrin::ontology; /////////////////////////////////...
26.620332
163
0.620528
kellerberrin
0546ad158bf88560ca62abb34b22e877c2597943
2,121
cpp
C++
vcf/VCFBuilder2/CPPClass.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
vcf/VCFBuilder2/CPPClass.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
vcf/VCFBuilder2/CPPClass.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
//CPPClass.h #include "ApplicationKit.h" #include "CPPClass.h" #include "Project.h" #include "FileStream.h" #include "Form.h" #include "FileUtils.h" #include "TextOutputStream.h" #include "ComponentInstance.h" #include "ComponentInfo.h" #include "CodeGenerator.h" using namespace VCF; using namespace VCFB...
22.326316
79
0.673739
tharindusathis
054755c22682a3c6976221f944effa18f11dbd72
5,285
cpp
C++
src/lib/statement/class_constant.cpp
paramah/hiphop-php-osx
5ed8c24abe8ad9fd7bc6dd4c28b4ffff23e54362
[ "PHP-3.01", "Zend-2.0" ]
1
2015-11-05T21:45:07.000Z
2015-11-05T21:45:07.000Z
src/lib/statement/class_constant.cpp
brion/hiphop-php
df70a236e6418d533ac474be0c01f0ba87034d7f
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
src/lib/statement/class_constant.cpp
brion/hiphop-php
df70a236e6418d533ac474be0c01f0ba87034d7f
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) | +---------...
32.030303
79
0.56878
paramah
0548629a5d0721daa2ac7d9a443fe6329e7517b3
11,803
cpp
C++
EvolvedVirtualCreatures/genetic/Genome.cpp
jjuiddong/KarlSims
e05108eb7d2e68bfe0a90a7550eba727424081b6
[ "MIT" ]
5
2016-10-12T12:54:58.000Z
2022-01-07T17:34:33.000Z
EvolvedVirtualCreatures/genetic/Genome.cpp
jjuiddong/KarlSims
e05108eb7d2e68bfe0a90a7550eba727424081b6
[ "MIT" ]
null
null
null
EvolvedVirtualCreatures/genetic/Genome.cpp
jjuiddong/KarlSims
e05108eb7d2e68bfe0a90a7550eba727424081b6
[ "MIT" ]
2
2016-02-02T18:01:20.000Z
2018-04-16T17:15:59.000Z
#include "stdafx.h" #include "Genome.h" #include "../genoype/GenotypeParser.h" #include "../creature/Creature.h" #include "../creature/NeuralNet.h" namespace evc { bool GetChromo_Sub(const genotype_parser::SExpr *pexpr, OUT vector<double> &chromo, INOUT map<string, int> &check); genotype_parser::SExpr* Buil...
25.27409
140
0.693891
jjuiddong
05486679e288e78a6bee14fe3fca45e7a9f8afca
394
cpp
C++
Dataset/Leetcode/test/28/117.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/28/117.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/28/117.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: int XXX(string haystack, string needle) { int hlen = haystack.size(), nlen = needle.size(); if(!nlen) return 0; if(!hlen && nlen) return -1; for(int i = 0; i < hlen; i++) if(haystack[i] == needle[0] && (i+nlen) <= hlen && !haystack.substr(i, nlen...
28.142857
105
0.510152
kkcookies99
0549a80584768f18ad8ff1efd614446145abba17
3,012
cpp
C++
Problem Solving Paradigm/Complete Search/Iterative (Three or more Loops, Harder)/296.cpp
joe-stifler/uHunt
02465ea9868403691e4f0aaa6ddde730afa11f47
[ "MIT" ]
3
2019-05-22T00:36:23.000Z
2021-03-22T12:23:18.000Z
Problem Solving Paradigm/Complete Search/Iterative (Three or more Loops, Harder)/296.cpp
joe-stifler/uHunt
02465ea9868403691e4f0aaa6ddde730afa11f47
[ "MIT" ]
null
null
null
Problem Solving Paradigm/Complete Search/Iterative (Three or more Loops, Harder)/296.cpp
joe-stifler/uHunt
02465ea9868403691e4f0aaa6ddde730afa11f47
[ "MIT" ]
null
null
null
/*------------------------------------------------*/ // Uva Problem No: 296 // Problem Name: Safebreaker // Type: Iterative (Three or More Nested Loops, Harder) (Complete Search) // Autor: Joe Stifler // Data: 2018-01-14 05:35:27 // Runtime: 0.180s // Universidade: Unicamp /*--------------------------------------------...
36.731707
114
0.290837
joe-stifler
d728ea6005676b445529f6f305aab773d5b11308
2,095
cpp
C++
dm-heom/src/heom/observation_type.cpp
noma/dm-heom
85c94f947190064d21bd38544094731113c15412
[ "BSD-3-Clause" ]
7
2019-07-28T01:02:52.000Z
2021-11-09T04:01:36.000Z
dm-heom/src/heom/observation_type.cpp
noma/dm-heom
85c94f947190064d21bd38544094731113c15412
[ "BSD-3-Clause" ]
null
null
null
dm-heom/src/heom/observation_type.cpp
noma/dm-heom
85c94f947190064d21bd38544094731113c15412
[ "BSD-3-Clause" ]
2
2020-04-04T15:20:30.000Z
2021-08-24T15:16:40.000Z
// This file is part of DM-HEOM (https://github.com/noma/dm-heom) // // Copyright (c) 2015-2019 Matthias Noack, Zuse Institute Berlin // // Licensed under the 3-clause BSD License, see accompanying LICENSE, // CONTRIBUTORS.md, and README.md for further information. #include "heom/observation_type.hpp" #include <strin...
25.864198
158
0.698329
noma
d729b8d581770b90594954bf1139f6b86856150a
15,513
hxx
C++
main/sw/inc/unotextcursor.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/inc/unotextcursor.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/inc/unotextcursor.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...
43.698592
79
0.645781
Grosskopf
d729e393137633f1999b0872e797fb5877075b4d
1,189
cpp
C++
Source/Bots/Bot/MortarBot.cpp
thatguyabass/Kill-O-Byte-Source
0d4dfea226514161bb9799f55359f91da0998256
[ "Apache-2.0" ]
2
2016-12-13T19:13:10.000Z
2017-08-14T04:46:52.000Z
Source/Bots/Bot/MortarBot.cpp
thatguyabass/Kill-O-Byte-Source
0d4dfea226514161bb9799f55359f91da0998256
[ "Apache-2.0" ]
null
null
null
Source/Bots/Bot/MortarBot.cpp
thatguyabass/Kill-O-Byte-Source
0d4dfea226514161bb9799f55359f91da0998256
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Snake_Project.h" #include "MortarBot.h" #include "Bots/Controller/MortarAI.h" #include "Powers/Weapons/Weapon.h" #include "Powers/Weapons/Weapon_Single.h" #include "Bots/Misc/RocketTankTargetDecal.h" AMortarBot::AMortarBot() : S...
24.770833
84
0.747687
thatguyabass
d734610af85ea9d5c3a6ecb10388d3d9e28e765b
265
hpp
C++
Hyades/src/Logger.hpp
nbrockett/hyades
18d2218501d1352a88df187efec282174c46d3e0
[ "MIT" ]
null
null
null
Hyades/src/Logger.hpp
nbrockett/hyades
18d2218501d1352a88df187efec282174c46d3e0
[ "MIT" ]
null
null
null
Hyades/src/Logger.hpp
nbrockett/hyades
18d2218501d1352a88df187efec282174c46d3e0
[ "MIT" ]
null
null
null
#pragma once #include "spdlog/spdlog.h" namespace Hyades { class Logger { public: // define static pointer to logger static std::shared_ptr<spdlog::logger> s_logger; static void init(); }; } // namespace Hyades
13.947368
56
0.592453
nbrockett
d7357d8f45dc24e26fba58419f5ad171a51d9d2a
2,231
cpp
C++
aws-cpp-sdk-sagemaker/source/model/DescribeEndpointConfigResult.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-sagemaker/source/model/DescribeEndpointConfigResult.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-sagemaker/source/model/DescribeEndpointConfigResult.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
28.602564
138
0.765128
curiousjgeorge
d737459ecfb299cc1bc4ce00c1c05707d075375a
19,198
cxx
C++
PWGPP/TPC/AliPerformanceDEdx.cxx
benjaminaudurier/AliPhysics
c6af480ee4c8139c820cc7effb44e2e5bfdfaa28
[ "BSD-3-Clause" ]
null
null
null
PWGPP/TPC/AliPerformanceDEdx.cxx
benjaminaudurier/AliPhysics
c6af480ee4c8139c820cc7effb44e2e5bfdfaa28
[ "BSD-3-Clause" ]
null
null
null
PWGPP/TPC/AliPerformanceDEdx.cxx
benjaminaudurier/AliPhysics
c6af480ee4c8139c820cc7effb44e2e5bfdfaa28
[ "BSD-3-Clause" ]
null
null
null
//------------------------------------------------------------------------------ // Implementation of AliPerformanceDEdx class. It keeps information from // comparison of reconstructed and MC particle tracks. In addtion, // it keeps selection cuts used during comparison. The comparison // information is stored in th...
32.050083
205
0.669653
benjaminaudurier
d73792f1e7c58b7301d2e0eca1a73591b7bbb8fa
8,120
cpp
C++
CSB/csb_spmv_test.cpp
sc2020user/jstream
7ee3dfcacfe7a72d37dca53615066a5f8f33ad3a
[ "BSD-4-Clause" ]
1
2021-02-12T01:36:09.000Z
2021-02-12T01:36:09.000Z
CSB/csb_spmv_test.cpp
HPCRL/jstream_SC2020_AE
8b23036f01a46af426dba5bff78548cb0351161d
[ "BSD-4-Clause" ]
null
null
null
CSB/csb_spmv_test.cpp
HPCRL/jstream_SC2020_AE
8b23036f01a46af426dba5bff78548cb0351161d
[ "BSD-4-Clause" ]
1
2021-05-27T04:58:14.000Z
2021-05-27T04:58:14.000Z
#define NOMINMAX #include <iostream> #include <algorithm> #include <numeric> #include <functional> #include <fstream> #include <ctime> #include <cmath> #include <string> #include "timer.gettimeofday.c" #include "cilk_util.h" #include "utility.h" #include "triple.h" #include "csc.h" #include "bicsb.h" #include "bmcsb...
26.79868
126
0.613054
sc2020user
d73ca55be404e2f758607e240cefdd2ec287a48b
4,832
cpp
C++
Sources/External/node/elastos/bridge/car/v8/CarClassV8.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/External/node/elastos/bridge/car/v8/CarClassV8.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/External/node/elastos/bridge/car/v8/CarClassV8.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
#include "ElNode.h" #include "config.h" #if ENABLE(CAR_BRIDGE) #include "etl/HashSet.h" #include "elastos.h" #include "CarClassV8.h" #include "CarMethodV8.h" #include "CarFieldV8.h" #include <utils/Log.h> using namespace JSC::Bindings; CarClassV8::CarClassV8(CobjectWrapper* objectWrapper, bool requireAnnotation) ...
28.934132
113
0.614652
jingcao80
d73d60d77332286dbe2b55775484566f46a515e6
18,451
cpp
C++
app/sys/sys_cli/src/ecalsys_cli.cpp
tcoyvwac/ecal
2e2e446004e306d48e98620208085fd52d35b90b
[ "Apache-2.0" ]
null
null
null
app/sys/sys_cli/src/ecalsys_cli.cpp
tcoyvwac/ecal
2e2e446004e306d48e98620208085fd52d35b90b
[ "Apache-2.0" ]
1
2022-02-22T00:37:20.000Z
2022-02-22T01:02:08.000Z
app/sys/sys_cli/src/ecalsys_cli.cpp
tcoyvwac/ecal
2e2e446004e306d48e98620208085fd52d35b90b
[ "Apache-2.0" ]
1
2022-02-28T10:28:36.000Z
2022-02-28T10:28:36.000Z
/* ========================= eCAL LICENSE ================================= * * Copyright (C) 2016 - 2020 Continental 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 * * ...
37.199597
486
0.572923
tcoyvwac
d73fb48f41cea7af824de32f519a18fc42e661f9
1,041
cc
C++
third_party/blink/renderer/core/inspector/inspector_issue.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
third_party/blink/renderer/core/inspector/inspector_issue.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
third_party/blink/renderer/core/inspector/inspector_issue.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 "third_party/blink/renderer/core/inspector/inspector_issue.h" namespace blink { InspectorIssue::InspectorIssue(mojom::blink::InspectorIssueCode...
29.742857
79
0.705091
zealoussnow
d74104ce2b5ef55aa8c52cf408379f0c9769c90c
1,341
hpp
C++
doc/quickbook/oglplus/quickref/context/clip_control.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
364
2015-01-01T09:38:23.000Z
2022-03-22T05:32:00.000Z
doc/quickbook/oglplus/quickref/context/clip_control.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
55
2015-01-06T16:42:55.000Z
2020-07-09T04:21:41.000Z
doc/quickbook/oglplus/quickref/context/clip_control.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
57
2015-01-07T18:35:49.000Z
2022-03-22T05:32:04.000Z
/* * Copyright 2014-2019 Matus Chochlik. 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) */ //[oglplus_context_ClipControlParams namespace context { struct ClipControlParams { ClipControlParams() noexcept...
25.301887
76
0.712901
matus-chochlik
d74156e48e65274f0c99260ad4003f67edf7f09b
6,230
cpp
C++
src/common/channel/signal/signal_channel.cpp
masterve/test
87a06f974ddc0ca7baf0ca082d7ae8999d9a4196
[ "BSD-3-Clause" ]
1,513
2015-01-02T17:36:20.000Z
2022-03-21T00:10:17.000Z
src/common/channel/signal/signal_channel.cpp
masterve/test
87a06f974ddc0ca7baf0ca082d7ae8999d9a4196
[ "BSD-3-Clause" ]
335
2015-01-02T21:48:21.000Z
2022-01-31T23:10:46.000Z
src/common/channel/signal/signal_channel.cpp
masterve/test
87a06f974ddc0ca7baf0ca082d7ae8999d9a4196
[ "BSD-3-Clause" ]
281
2015-01-08T01:23:41.000Z
2022-03-26T12:31:41.000Z
/* *Copyright (c) 2013-2013, yinqiwen <yinqiwen@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: * * * Redistributions of source code must retain the above copyright notice, * ...
30.390244
80
0.635474
masterve
d74216f573c73b72ff36e4a74b9816740f38a25c
6,658
cc
C++
mist/usb_device.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
mist/usb_device.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
mist/usb_device.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright (c) 2013 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "mist/usb_device.h" #include <libusb.h> #include <base/logging.h> #include "mist/usb_config_descriptor.h" #include "mist/usb_device_des...
27.741667
80
0.750375
emersion
d74249fae91c9185de62a9f867f153e0c1adae43
683
cpp
C++
main.cpp
sweeneyngo/wurd
0ac8a52178a43be6b6e76d31e104120e975e0e2f
[ "MIT" ]
null
null
null
main.cpp
sweeneyngo/wurd
0ac8a52178a43be6b6e76d31e104120e975e0e2f
[ "MIT" ]
null
null
null
main.cpp
sweeneyngo/wurd
0ac8a52178a43be6b6e76d31e104120e975e0e2f
[ "MIT" ]
null
null
null
#include "EditorGui.h" #include "TextIO.h" #include <iostream> #include <string> const std::string DICTIONARYPATH = "dictionary.txt"; const int FOREGROUND_COLOR = COLOR_WHITE; const int BACKGROUND_COLOR = COLOR_BLACK; const int HIGHLIGHT_COLOR = COLOR_RED; // Choices are COLOR_x, where x is WHITE, BLACK, RED, GREEN,...
26.269231
88
0.732064
sweeneyngo
d742b6120d31bef3329f0faa09cedd603aa3325e
23,708
cpp
C++
src/library/tactic/tactic_state.cpp
soonhokong/lean-windows
06dff344c8e0e3876b56294c8443a3b17c26dd48
[ "Apache-2.0" ]
null
null
null
src/library/tactic/tactic_state.cpp
soonhokong/lean-windows
06dff344c8e0e3876b56294c8443a3b17c26dd48
[ "Apache-2.0" ]
null
null
null
src/library/tactic/tactic_state.cpp
soonhokong/lean-windows
06dff344c8e0e3876b56294c8443a3b17c26dd48
[ "Apache-2.0" ]
1
2018-09-22T14:28:09.000Z
2018-09-22T14:28:09.000Z
/* Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "util/fresh_name.h" #include "util/sexpr/option_declarations.h" #include "kernel/type_checker.h" #include "library/constants.h" #include "library/t...
39.447587
125
0.681162
soonhokong
d742e11d0b9576ea4c2c155aaf805608361d3437
58,555
cpp
C++
src/axom/sidre/interface/c_fortran/wrapGroup.cpp
raineyeh/axom
57a6ef7ab50e113e4cf4b639657eb84ff10789c0
[ "BSD-3-Clause" ]
null
null
null
src/axom/sidre/interface/c_fortran/wrapGroup.cpp
raineyeh/axom
57a6ef7ab50e113e4cf4b639657eb84ff10789c0
[ "BSD-3-Clause" ]
null
null
null
src/axom/sidre/interface/c_fortran/wrapGroup.cpp
raineyeh/axom
57a6ef7ab50e113e4cf4b639657eb84ff10789c0
[ "BSD-3-Clause" ]
null
null
null
// wrapGroup.cpp // This file is generated by Shroud 0.12.2. Do not edit. // // Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level LICENSE file for details. // // SPDX-License-Identifier: (BSD-3-Clause) #include "wrapGroup.h" #include <cstring> #in...
37.439258
87
0.628845
raineyeh
d7450a5f5eec71990c3f135f258b788c0c83fc83
852
hpp
C++
modules/boost/simd/constant/include/boost/simd/sdk/meta/float.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
2
2016-09-14T00:23:53.000Z
2018-01-14T12:51:18.000Z
modules/boost/simd/constant/include/boost/simd/sdk/meta/float.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/constant/include/boost/simd/sdk/meta/float.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 & onward LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 & onward LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
38.727273
80
0.56338
pbrunet
d745a6de0b0e94779440115079c52befb84aa3c0
2,292
cpp
C++
vijos/p1780-2.cpp
huanghongxun/ACM
b7595bbe6c0d82ceb271e81fca3e787dc4060a55
[ "Unlicense" ]
3
2018-06-05T13:57:13.000Z
2020-08-05T14:19:02.000Z
vijos/p1780-2.cpp
huanghongxun/ACM
b7595bbe6c0d82ceb271e81fca3e787dc4060a55
[ "Unlicense" ]
null
null
null
vijos/p1780-2.cpp
huanghongxun/ACM
b7595bbe6c0d82ceb271e81fca3e787dc4060a55
[ "Unlicense" ]
null
null
null
#include <cstdio> #include <algorithm> #include <set> using namespace std; const int maxn=100000+10; typedef long long LL; struct City { int h,num; bool operator < (const City rhs) const { return h<rhs.h; } }h[maxn]; set<City> S; set<City>::iterator it; int n,x0,m,NEXT[maxn][2],dist[maxn][2],g[maxn][21]; LL f[max...
17.767442
94
0.49171
huanghongxun
d7476ea188fdf4f49c35f4b65865bfde567429f4
755
cpp
C++
wizard-basic-0-compiler/source/thewizardplusplus/wizard-basic-0/CommentDeleter.cpp
thewizardplusplus/wizard-basic-4
55562c7097c4219c205d93ff20986e5613b9147b
[ "MIT" ]
1
2016-04-17T22:53:05.000Z
2016-04-17T22:53:05.000Z
wizard-basic-0-compiler/source/thewizardplusplus/wizard-basic-0/CommentDeleter.cpp
thewizardplusplus/wizard-basic-4
55562c7097c4219c205d93ff20986e5613b9147b
[ "MIT" ]
null
null
null
wizard-basic-0-compiler/source/thewizardplusplus/wizard-basic-0/CommentDeleter.cpp
thewizardplusplus/wizard-basic-4
55562c7097c4219c205d93ff20986e5613b9147b
[ "MIT" ]
null
null
null
#include "CommentDeleter.h" #include <cctype> using namespace thewizardplusplus::wizard_basic_0; CommentDeleter::CommentDeleter(const std::string& comment_mark) : comment_mark(comment_mark), comment_mark_length(0) { comment_mark_length = comment_mark.length(); } void CommentDeleter::preprocess(CodeLines& code_lin...
24.354839
70
0.713907
thewizardplusplus
d7517e797ca26e3570dd03a5bf26b6b77eb568c4
16,188
cpp
C++
modules/multiresvolume/rendering/errorhistogrammanager.cpp
scivis-exhibitions/OpenSpace
5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e
[ "MIT" ]
489
2015-07-14T22:23:10.000Z
2022-03-30T07:59:47.000Z
modules/multiresvolume/rendering/errorhistogrammanager.cpp
scivis-exhibitions/OpenSpace
5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e
[ "MIT" ]
1,575
2016-07-12T18:10:22.000Z
2022-03-31T20:12:55.000Z
modules/multiresvolume/rendering/errorhistogrammanager.cpp
scivis-exhibitions/OpenSpace
5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e
[ "MIT" ]
101
2016-03-01T02:22:01.000Z
2022-02-25T15:36:27.000Z
/***************************************************************************************** * * * OpenSpace * * ...
40.47
90
0.597109
scivis-exhibitions
d753f6625aecf6dbedf14c5773ac1e6377be09ca
2,723
hh
C++
src/include/profiling.hh
IBM/fkvb
f04b647e1f78dec7e73a7172ea234460e5c720e0
[ "Apache-2.0" ]
2
2021-09-30T13:44:14.000Z
2022-02-02T12:59:50.000Z
src/include/profiling.hh
IBM/fkvb
f04b647e1f78dec7e73a7172ea234460e5c720e0
[ "Apache-2.0" ]
null
null
null
src/include/profiling.hh
IBM/fkvb
f04b647e1f78dec7e73a7172ea234460e5c720e0
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 International Business Machines * All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * Authors: Diego Didona (ddi@zurich.ibm.com), * */ #ifndef PROFILING_HH_ #define PROFILING_HH_ #include <ticks.hh> #if defined(CONF_SDT) #include <sys/sdt.h> # if 0 #define PROBE_TICK...
39.463768
89
0.498715
IBM
d754f406c4bf120d82a0079c3ac1dc57d6730e54
554
cpp
C++
lab/lab3/ex2/main.cpp
YZL24/SUSTech-CS205
c15e4055b3e260e84e94c8db46b4180448c3619f
[ "MIT" ]
null
null
null
lab/lab3/ex2/main.cpp
YZL24/SUSTech-CS205
c15e4055b3e260e84e94c8db46b4180448c3619f
[ "MIT" ]
null
null
null
lab/lab3/ex2/main.cpp
YZL24/SUSTech-CS205
c15e4055b3e260e84e94c8db46b4180448c3619f
[ "MIT" ]
null
null
null
#include <regex> #include "fac.hpp" using namespace std; const regex pattern("^[1-9]+[0-9]*"); int main() { string num; int tar = 0; int64_t f = 1; do { cout << "Please input a positive integer: "; cin >> num; try { tar = stoi(num); } catch (...) { ...
18.466667
58
0.462094
YZL24
d7559762fb5c203b8e547632285a8bdb393909d2
881
cpp
C++
UVA/661.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
UVA/661.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
UVA/661.cpp
DT3264/ProgrammingContestsSolutions
a297f2da654c2ca2815b9aa375c2b4ca0052269d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define f first #define s second using namespace std; int main(){ //freopen("in.txt", "r", stdin); //freopen("out.txt", "w", stdout); int n, m, c; int cases=1; while((cin >> n >> m >> c) && n!=0 && m!=0 && c!=0){ cout << "Sequence " << cases++ << "\n"; vector<pair<bool, int>> vec(...
18.744681
69
0.503973
DT3264
d757d8e7b87f41e0c8d77e4d05f513c0780c8e3f
10,197
cpp
C++
deps/mozjs/js/src/jsweakmap.cpp
zpao/spidernode
843d5b5e9be55ce447fd03127aeeb2c7728ae168
[ "MIT" ]
48
2015-01-09T20:39:35.000Z
2021-12-21T21:17:52.000Z
deps/mozjs/js/src/jsweakmap.cpp
ninja1002/spidernode
ada8fc559bd2c047a6e52c78af9d27ab273c87d5
[ "MIT" ]
2
2016-02-05T10:27:37.000Z
2019-01-22T16:22:51.000Z
deps/mozjs/js/src/jsweakmap.cpp
ninja1002/spidernode
ada8fc559bd2c047a6e52c78af9d27ab273c87d5
[ "MIT" ]
8
2015-01-12T17:14:36.000Z
2018-09-15T14:10:27.000Z
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=4 sw=4 et tw=99: * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file exce...
27.709239
95
0.620477
zpao
d75d70c97843a9982cc163efc1ad8d80b852fb1a
1,427
cpp
C++
cpp/new_features/cpp17/filesystem/file_size.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
2
2019-12-21T00:53:47.000Z
2020-01-01T10:36:30.000Z
cpp/new_features/cpp17/filesystem/file_size.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
cpp/new_features/cpp17/filesystem/file_size.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
// // Created by kaiser on 19-3-22. // #include <cmath> #include <cstddef> #include <cstdlib> #include <filesystem> #include <iostream> #include <numeric> #include <sstream> #include <string> #include <fmt/core.h> namespace fs = std::filesystem; std::string size_string(std::size_t size) { std::stringstream ss; ...
23.783333
65
0.573931
KaiserLancelot
d75dcbe1bb0a389b5ba9b767a3d2bbbe63509ac8
4,243
cc
C++
source/device/acl/op/acl_pooling.cc
zhouzy-creator/Tengine
fea5c064da7b8ed0e24212dcc65d30fda3c7477c
[ "Apache-2.0" ]
4,697
2017-12-30T12:15:43.000Z
2022-03-25T08:22:31.000Z
source/device/acl/op/acl_pooling.cc
zhouzy-creator/Tengine
fea5c064da7b8ed0e24212dcc65d30fda3c7477c
[ "Apache-2.0" ]
943
2018-01-02T06:15:00.000Z
2022-03-31T05:32:32.000Z
source/device/acl/op/acl_pooling.cc
crouchggj/Tengine
587220f924198966c503c1bd15c83451d22f56ad
[ "Apache-2.0" ]
1,076
2017-12-30T12:15:46.000Z
2022-03-30T01:28:56.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 you under the Apache License, Version 2.0 (the * License); you ma...
33.409449
113
0.654018
zhouzy-creator
d75e053dcc105ad880b6c3c61e490822b6ee8c5c
1,827
hpp
C++
atcoder/persistentsegtree.hpp
habara-k/ac-library
c48e576430c335d7037fa88e9fa5f6a61858e68a
[ "Unlicense" ]
null
null
null
atcoder/persistentsegtree.hpp
habara-k/ac-library
c48e576430c335d7037fa88e9fa5f6a61858e68a
[ "Unlicense" ]
null
null
null
atcoder/persistentsegtree.hpp
habara-k/ac-library
c48e576430c335d7037fa88e9fa5f6a61858e68a
[ "Unlicense" ]
null
null
null
#ifndef ATCODER_PERSISTENTSEGTREE_HPP #define ATCODER_PERSISTENTSEGTREE 1 #include <cassert> #include <vector> namespace atcoder { template<class S, S (*op)(S, S), S (*e)()> struct PersistentSegmentTree { struct Node; using ptr = Node*; struct Node { ptr l=nullptr, r=nullptr; S x; ...
25.732394
70
0.477833
habara-k
d75fe25078514d62e6a983d8cbf2423db820a76d
52,876
cc
C++
components/autofill/core/browser/payments/payments_client.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
components/autofill/core/browser/payments/payments_client.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
components/autofill/core/browser/payments/payments_client.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2015 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 "components/autofill/core/browser/payments/payments_client.h" #include <memory> #include <set> #include <string> #include <utility> #include <ve...
40.332571
104
0.70497
zealoussnow
d76160a9912e6582aebf9408bbb84bf8af5e2876
2,105
cpp
C++
CursedHeaven/Motor2D/Lines.cpp
golden-rhino-studio/CursedHeaven
16e7bd3e82b64302564251d4856be570add0f98e
[ "MIT" ]
null
null
null
CursedHeaven/Motor2D/Lines.cpp
golden-rhino-studio/CursedHeaven
16e7bd3e82b64302564251d4856be570add0f98e
[ "MIT" ]
1
2019-03-05T18:25:36.000Z
2019-03-05T18:26:39.000Z
CursedHeaven/Motor2D/Lines.cpp
golden-rhino-studio/CursedHeaven
16e7bd3e82b64302564251d4856be570add0f98e
[ "MIT" ]
null
null
null
#include "j1Render.h" #include "Lines.h" #include "j1Scene1.h" #include "j1App.h" #include "j1Window.h" Lines::Lines(SCENE scene_to_remove, SCENE scene_to_appear, j1Color color, float time) : j1Transitions(time) { this->color = color; scene1 = scene_to_remove; scene2 = scene_to_appear; App->win->GetWindowSize(w, ...
23.651685
109
0.638955
golden-rhino-studio
d762d5fb0bd16a6bef55238b663a37f957338bbe
5,976
cpp
C++
Applications/MainApplication/Gui/MaterialEditor.cpp
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
Applications/MainApplication/Gui/MaterialEditor.cpp
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
Applications/MainApplication/Gui/MaterialEditor.cpp
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
#include <Gui/MaterialEditor.hpp> #include <Engine/RadiumEngine.hpp> #include <Engine/Renderer/RenderObject/RenderObject.hpp> #include <Engine/Renderer/RenderObject/RenderObjectManager.hpp> #include <Engine/Renderer/Material/BlinnPhongMaterial.hpp> #include <Engine/Renderer/RenderTechnique/RenderTechnique.hpp> #inclu...
33.762712
148
0.536145
nmellado
d7654e4f53245ac61b9d54508798063aa849a222
5,777
cpp
C++
Controller.cpp
capiaghi/GoTender
539dc075b5e6ec5ee97a4e1400f2c0d17c0dd65d
[ "Apache-2.0" ]
null
null
null
Controller.cpp
capiaghi/GoTender
539dc075b5e6ec5ee97a4e1400f2c0d17c0dd65d
[ "Apache-2.0" ]
33
2017-05-02T05:53:36.000Z
2018-04-23T16:27:53.000Z
Controller.cpp
capiaghi/GoTender
539dc075b5e6ec5ee97a4e1400f2c0d17c0dd65d
[ "Apache-2.0" ]
null
null
null
// **************************************************************************** /// \file Controller.cpp /// /// \brief Main Controller for the heater /// /// \details Controller for the run state /// /// \author Christoph Capiaghi /// /// \version 0.1 /// /// \date 20170509 /// /// \copyright Lic...
23.579592
79
0.464601
capiaghi
d7674a511773d9359989ed519c862a747310e800
1,440
cxx
C++
main/configmgr/source/nodemap.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/configmgr/source/nodemap.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/configmgr/source/nodemap.cxx
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...
30.638298
69
0.647222
Grosskopf
d7682d25c6ec6edaa58463c496012d51458582d2
4,337
cpp
C++
oxui/objects/dropdown.cpp
amizu03/oxui
2ffcd7259eff8b783a70c56ca5f348e784fb5a87
[ "MIT" ]
null
null
null
oxui/objects/dropdown.cpp
amizu03/oxui
2ffcd7259eff8b783a70c56ca5f348e784fb5a87
[ "MIT" ]
null
null
null
oxui/objects/dropdown.cpp
amizu03/oxui
2ffcd7259eff8b783a70c56ca5f348e784fb5a87
[ "MIT" ]
null
null
null
#include "dropdown.hpp" #include "../panels/panel.hpp" #include "shapes.hpp" #include "../themes/purple.hpp" void oxui::dropdown::think( ) { auto& parent_window = find_parent< window >( object_window ); auto& cursor_pos = parent_window.cursor_pos; animate( rect( cursor_pos.x, cursor_pos.y, area.w, area.h ) ); if ...
33.361538
224
0.649988
amizu03
d769f1c865a4c0de350af72e8ad7693888a6a177
65,136
cpp
C++
source/GTest/Game/GMain.cpp
paradoxnj/Genesis3D
272fc6aa2580de4ee223274ea04a101199c535a1
[ "Condor-1.1", "Unlicense" ]
3
2020-04-29T03:17:50.000Z
2021-05-26T19:53:46.000Z
source/GTest/Game/GMain.cpp
paradoxnj/Genesis3D
272fc6aa2580de4ee223274ea04a101199c535a1
[ "Condor-1.1", "Unlicense" ]
1
2020-04-29T03:12:47.000Z
2020-04-29T03:12:47.000Z
source/GTest/Game/GMain.cpp
paradoxnj/Genesis3D
272fc6aa2580de4ee223274ea04a101199c535a1
[ "Condor-1.1", "Unlicense" ]
null
null
null
/****************************************************************************************/ /* GMain.c */ /* */ /* Author: John Pollard ...
28.063766
143
0.598333
paradoxnj
d76b2436653e0b1c717997efa36db65f71b1e2e7
983
cpp
C++
chapter-07/screen.cpp
aufziehvogel/cpp-primer
1ae8fdcda8580ea5d646a725fbb76110f138dbc8
[ "MIT" ]
null
null
null
chapter-07/screen.cpp
aufziehvogel/cpp-primer
1ae8fdcda8580ea5d646a725fbb76110f138dbc8
[ "MIT" ]
null
null
null
chapter-07/screen.cpp
aufziehvogel/cpp-primer
1ae8fdcda8580ea5d646a725fbb76110f138dbc8
[ "MIT" ]
null
null
null
#include "screen.h" #include <stdexcept> Window_mgr::Window_mgr() { screens = {Screen(24, 80, ' ')}; } Screen Window_mgr::get(ScreenIdx idx) const { if (screens.size() <= idx) throw std::runtime_error("Trying to access invalid screen, actual size: " + screens.size()); return screens[idx]; } void...
22.340909
100
0.649034
aufziehvogel
d76f7d40e7de3541ba27cd42060688c0efc4757c
3,068
hpp
C++
include/seqan3/alignment/matrix/detail/alignment_trace_matrix_base.hpp
joergi-w/seqan3
b757646eee3cddf1f2487db8f1c9f3576ee37391
[ "CC-BY-4.0", "CC0-1.0" ]
283
2017-03-14T23:43:33.000Z
2022-03-28T02:30:02.000Z
include/seqan3/alignment/matrix/detail/alignment_trace_matrix_base.hpp
joergi-w/seqan3
b757646eee3cddf1f2487db8f1c9f3576ee37391
[ "CC-BY-4.0", "CC0-1.0" ]
2,754
2017-03-21T18:39:02.000Z
2022-03-31T13:26:15.000Z
include/seqan3/alignment/matrix/detail/alignment_trace_matrix_base.hpp
joergi-w/seqan3
b757646eee3cddf1f2487db8f1c9f3576ee37391
[ "CC-BY-4.0", "CC0-1.0" ]
88
2017-03-20T12:43:42.000Z
2022-03-17T08:56:13.000Z
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
43.211268
117
0.676988
joergi-w