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
92b1c6a7b55446d4f208d00f303bc7b15d0b4182
296
cpp
C++
Testing/C++/_TDDExtras.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
61
2015-04-21T20:40:37.000Z
2022-03-25T03:35:03.000Z
Testing/C++/_TDDExtras.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
17
2015-06-23T20:51:57.000Z
2020-08-17T17:08:57.000Z
Testing/C++/_TDDExtras.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
56
2015-05-11T11:04:35.000Z
2022-01-15T20:37:04.000Z
#include "_TDDConfigure.h" #include "EigenFilterTest.h" #include "EigenFiltFiltTest.h" #include "EigenIIRFilterDesignTest.h" #include "GammalnTest.h" #include "CombTest.h" #include "CumtrapzTest.h" #include "Interp1Test.h" #include "MedianTest.h" #include "StdTest.h" #include "PercentileTest.h"
24.666667
37
0.777027
mitkof6
92b24e1febd4e548b6c726b55d2d7e972f5f219b
8,994
cpp
C++
libpvguiqt/src/PVLayerStackModel.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
libpvguiqt/src/PVLayerStackModel.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
libpvguiqt/src/PVLayerStackModel.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
// // MIT License // // © ESI Group, 2015 // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, pu...
28.919614
99
0.632199
inendi-inspector
92b39e8022390f7662723c15701eda42b756749c
552
hpp
C++
mspp/mspp/Utils/IterableUtils.hpp
shailist/ms-
4f40dd670bdd442c26abcc1642f748775381bb3c
[ "Unlicense" ]
null
null
null
mspp/mspp/Utils/IterableUtils.hpp
shailist/ms-
4f40dd670bdd442c26abcc1642f748775381bb3c
[ "Unlicense" ]
null
null
null
mspp/mspp/Utils/IterableUtils.hpp
shailist/ms-
4f40dd670bdd442c26abcc1642f748775381bb3c
[ "Unlicense" ]
null
null
null
#pragma once namespace IterableUtils { template <typename TIterable> inline constexpr bool starts_with(const TIterable& iterable, const TIterable& sub_iterable) { auto iterable_iter = iterable.cbegin(); auto sub_iterable_iter = sub_iterable.cbegin(); for (;; ++iterable_iter, ++sub_iterable_iter) { if ((i...
24
92
0.697464
shailist
92b791d0a438f2e5837ccd1f36103314f392b407
109
cpp
C++
examples/libsimdpp/main.cpp
PhoebeWangintw/hunter
67fadbe7388254c8626b2130c0afb0a5f1817e47
[ "BSD-2-Clause" ]
2
2019-05-28T06:24:08.000Z
2021-08-10T17:10:35.000Z
examples/libsimdpp/main.cpp
PhoebeWangintw/hunter
67fadbe7388254c8626b2130c0afb0a5f1817e47
[ "BSD-2-Clause" ]
null
null
null
examples/libsimdpp/main.cpp
PhoebeWangintw/hunter
67fadbe7388254c8626b2130c0afb0a5f1817e47
[ "BSD-2-Clause" ]
1
2020-03-02T16:07:55.000Z
2020-03-02T16:07:55.000Z
#include <simdpp/simd.h> int main() { simdpp::uint8<32> a; simdpp::uint8<32> b; auto c = a + b; }
18.166667
24
0.550459
PhoebeWangintw
92b91c3a630d2dae339e0020e080401f953971b4
129
hpp
C++
Blob_Lib/Include/glm/gtc/matrix_access.hpp
antholuo/Blob_Traffic
5d6acf88044e9abc63c0ff356714179eaa4b75bf
[ "MIT" ]
null
null
null
Blob_Lib/Include/glm/gtc/matrix_access.hpp
antholuo/Blob_Traffic
5d6acf88044e9abc63c0ff356714179eaa4b75bf
[ "MIT" ]
null
null
null
Blob_Lib/Include/glm/gtc/matrix_access.hpp
antholuo/Blob_Traffic
5d6acf88044e9abc63c0ff356714179eaa4b75bf
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:1c7028cb87b23548dc8559943cc413e2ba2fededcfaca6d619d999ced1f117bf size 1468
32.25
75
0.883721
antholuo
92b96f0e0dd0547baa0f1c902788a8c9bd5e3b3e
22,855
cpp
C++
third-party/casadi/external_packages/qpOASES/src/OQPinterface.cpp
dbdxnuliba/mit-biomimetics_Cheetah
f3b0c0f6a3835d33b7f2f345f00640b3fc256388
[ "MIT" ]
8
2020-02-18T09:07:48.000Z
2021-12-25T05:40:02.000Z
third-party/casadi/external_packages/qpOASES/src/OQPinterface.cpp
geekfeiw/Cheetah-Software
f3b0c0f6a3835d33b7f2f345f00640b3fc256388
[ "MIT" ]
null
null
null
third-party/casadi/external_packages/qpOASES/src/OQPinterface.cpp
geekfeiw/Cheetah-Software
f3b0c0f6a3835d33b7f2f345f00640b3fc256388
[ "MIT" ]
13
2019-08-25T12:32:06.000Z
2022-03-31T02:38:12.000Z
/* * This file is part of qpOASES. * * qpOASES -- An Implementation of the Online Active Set Strategy. * Copyright (C) 2007-2015 by Hans Joachim Ferreau, Andreas Potschka, * Christian Kirches et al. All rights reserved. * * qpOASES is free software; you can redistribute it and/or * modify it under the ter...
33.413743
117
0.517611
dbdxnuliba
92ba9bf7560ef6f03ae869dc01267e613f30ae6f
801
cpp
C++
cpp/memory_ranges_uninitialized_fill_n_1.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/memory_ranges_uninitialized_fill_n_1.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/memory_ranges_uninitialized_fill_n_1.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
/* g++ --std=c++20 -pthread -o ../_build/cpp/memory_ranges_uninitialized_fill_n_1.exe ./cpp/memory_ranges_uninitialized_fill_n_1.cpp && (cd ../_build/cpp/;./memory_ranges_uninitialized_fill_n_1.exe) https://en.cppreference.com/w/cpp/memory/ranges/uninitialized_fill_n */ #include <iostream> #include <memory> #include <s...
29.666667
195
0.617978
rpuntaie
92bc0e770e74ab566c2ad501f1c0cc77c0caf138
6,443
cpp
C++
test/system-level/dca/dca_sp_DCA+_mpi_test.cpp
gonidelis/DCA
b219350a335b96c85b74de9a88bd00d4f37f0ce2
[ "BSD-3-Clause" ]
null
null
null
test/system-level/dca/dca_sp_DCA+_mpi_test.cpp
gonidelis/DCA
b219350a335b96c85b74de9a88bd00d4f37f0ce2
[ "BSD-3-Clause" ]
11
2020-04-22T14:50:27.000Z
2021-09-10T05:43:51.000Z
test/system-level/dca/dca_sp_DCA+_mpi_test.cpp
weilewei/DCA
b219350a335b96c85b74de9a88bd00d4f37f0ce2
[ "BSD-3-Clause" ]
1
2019-09-22T16:33:19.000Z
2019-09-22T16:33:19.000Z
// Copyright (C) 2018 ETH Zurich // Copyright (C) 2018 UT-Battelle, LLC // All rights reserved. // // See LICENSE for terms of usage. // See CITATION.md for citation guidelines, if DCA++ is used for scientific publications. // // Author: Urs R. Haehner (haehneru@itp.phys.ethz.ch) // Giovanni Balduzzi (gbalduzz@...
39.771605
100
0.670185
gonidelis
92bd737b215e7eddb8116b6c482a19b1e9c4f3b5
6,902
cpp
C++
engine/src/communication/messages/GPUComponentMessage.cpp
Ethyling/blazingsql
973e868e5f0a80189b69e56090ef2dc26ac90aa1
[ "Apache-2.0" ]
1,059
2019-08-05T13:14:42.000Z
2019-11-28T21:03:23.000Z
engine/src/communication/messages/GPUComponentMessage.cpp
ciusji/blazingsql
a35643d4c983334757eee96d5b9005b8b9fbd21b
[ "Apache-2.0" ]
1,140
2019-11-30T00:36:17.000Z
2022-03-31T22:51:51.000Z
engine/src/communication/messages/GPUComponentMessage.cpp
ciusji/blazingsql
a35643d4c983334757eee96d5b9005b8b9fbd21b
[ "Apache-2.0" ]
109
2019-12-13T08:31:43.000Z
2022-03-31T06:01:26.000Z
#include "GPUComponentMessage.h" using namespace fmt::literals; namespace ral { namespace communication { namespace messages { gpu_raw_buffer_container serialize_gpu_message_to_gpu_containers(ral::frame::BlazingTableView table_view){ std::vector<std::size_t> buffer_sizes; std::vector<const char *> raw_buffers; st...
44.529032
183
0.738626
Ethyling
92c2922b87aa91169fd3c82c5fca5dd7f7e6cf95
17,799
cpp
C++
src/main/conversion/DLSFile.cpp
sykhro/vgmtrans-qt
6d0780bdaaac29ffe118b9be2e2ad87401b426fe
[ "Zlib" ]
18
2018-01-04T17:42:15.000Z
2021-05-26T02:52:22.000Z
src/main/conversion/DLSFile.cpp
sykhro/vgmtrans-qt
6d0780bdaaac29ffe118b9be2e2ad87401b426fe
[ "Zlib" ]
6
2017-10-19T16:47:19.000Z
2021-09-10T15:26:24.000Z
src/main/conversion/DLSFile.cpp
sykhro/vgmtrans-qt
6d0780bdaaac29ffe118b9be2e2ad87401b426fe
[ "Zlib" ]
1
2017-10-19T16:40:12.000Z
2017-10-19T16:40:12.000Z
/* * VGMTrans (c) 2002-2019 * Licensed under the zlib license, * refer to the included LICENSE.txt file */ #include "VGMInstrSet.h" #include "VGMSamp.h" #include "Root.h" using namespace std; // void WriteLIST(vector<uint8_t> & buf, uint32_t listName, uint32_t listSize) //{ // PushTypeOnVectBE<uint32_t>(buf, 0x4...
38.442765
100
0.604135
sykhro
92c7a5881925e2a1cb5a91536bb28fa71b7a20d9
691
hpp
C++
test-suite/generated-src/cpp/constant_enum.hpp
ggilles/djinni
f8b6b6bdd4ef95d63b78d2640b415f3636e58fa5
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/cpp/constant_enum.hpp
ggilles/djinni
f8b6b6bdd4ef95d63b78d2640b415f3636e58fa5
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/cpp/constant_enum.hpp
ggilles/djinni
f8b6b6bdd4ef95d63b78d2640b415f3636e58fa5
[ "Apache-2.0" ]
null
null
null
// AUTOGENERATED FILE - DO NOT MODIFY! // This file was generated by Djinni from constant_enum.djinni #pragma once #include <functional> namespace testsuite { enum class constant_enum : int { SOME_VALUE = 0, SOME_OTHER_VALUE = 1, }; constexpr const char* to_string(constant_enum e) noexcept { constexpr ...
19.742857
62
0.668596
ggilles
92c93878627c2ba2b15cc26e32da6a70d2587e27
442
cc
C++
CondFormats/DataRecord/src/CastorGainsRcd.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
CondFormats/DataRecord/src/CastorGainsRcd.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
CondFormats/DataRecord/src/CastorGainsRcd.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
// -*- C++ -*- // // Package: DataRecord // Class : CastorGainsRcd // // Implementation: // <Notes on implementation> // // Author: // Created: Mon Feb 11 12:16:54 CET 2008 // $Id: CastorGainsRcd.cc,v 1.1 2008/02/15 15:53:55 mccauley Exp $ #include "CondFormats/DataRecord/interface/CastorGainsR...
26
75
0.692308
nistefan
92c9d75b665ccc72165d44f9e3120a4264fcaf40
1,065
cpp
C++
C++/airplane-seat-assignment-probability.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/airplane-seat-assignment-probability.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/airplane-seat-assignment-probability.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(1) // Space: O(1) class Solution { public: double nthPersonGetsNthSeat(int n) { // p(k) = 1 * (prob that 1th passenger takes his own seat) + // 0 * (prob that 1th passenger takes kth one's seat) + // 1 * (prob that 1th passenger takes the others' seat) * /...
29.583333
73
0.406573
jaiskid
92ca7f67c200f4df3b2e92048d8ee211b1619c7a
1,181
cc
C++
mist/usb_interface.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
mist/usb_interface.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
mist/usb_interface.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// 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_interface.h" #include <libusb.h> #include <base/check.h> #include <base/logging.h> #include <base/strings/stringprintf.h> #in...
27.465116
74
0.707028
Toromino
92cc1db93cd9c60aece39e8e1854b738cd8f87b6
3,280
cpp
C++
efigy/src/efigytable.cpp
trailofbits/osquery-extensions
8a1a24a1142757579e001e4fa710e144169ab257
[ "Apache-2.0" ]
194
2017-12-14T14:00:34.000Z
2022-03-21T23:56:06.000Z
efigy/src/efigytable.cpp
trailofbits/osquery-extensions
8a1a24a1142757579e001e4fa710e144169ab257
[ "Apache-2.0" ]
49
2017-12-09T16:32:37.000Z
2021-12-14T22:15:06.000Z
efigy/src/efigytable.cpp
trailofbits/osquery-extensions
8a1a24a1142757579e001e4fa710e144169ab257
[ "Apache-2.0" ]
27
2017-12-14T23:48:39.000Z
2022-02-25T01:54:45.000Z
/* * Copyright (c) 2018 Trail of Bits, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
28.521739
79
0.658841
trailofbits
92d06cf5b5a0e7ad61f2bd93304a20844b9c8024
1,595
cc
C++
EventFilter/L1TRawToDigi/plugins/implementations_stage1/CaloTokens.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
EventFilter/L1TRawToDigi/plugins/implementations_stage1/CaloTokens.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
EventFilter/L1TRawToDigi/plugins/implementations_stage1/CaloTokens.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "FWCore/Framework/interface/ConsumesCollector.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/Utilities/interface/InputTag.h" #include "CaloTokens.h" namespace l1t { namespace stage1 { CaloTokens::CaloTokens(const edm::ParameterSet& cfg, edm::ConsumesCollector& cc) ...
46.911765
89
0.710345
nistefan
92d34bdc75e8f726ba72e0f207e4bbd8dadb960e
5,907
cpp
C++
arduino/stepper_servo_i2c/src/stepper_servo_controller.cpp
naturetwo/plantnotplant
be9e941e517080e175e292c782fefef9c8b17ce5
[ "Apache-2.0" ]
1
2019-03-30T12:36:34.000Z
2019-03-30T12:36:34.000Z
arduino/stepper_servo_i2c/src/stepper_servo_controller.cpp
naturetwo/plantnotplant
be9e941e517080e175e292c782fefef9c8b17ce5
[ "Apache-2.0" ]
null
null
null
arduino/stepper_servo_i2c/src/stepper_servo_controller.cpp
naturetwo/plantnotplant
be9e941e517080e175e292c782fefef9c8b17ce5
[ "Apache-2.0" ]
null
null
null
// Arduino Motor Controller // Marcus Jones 24FEB2019 // // Commands // f: Stepper forward 1 rotation // b: Stepper backward 1 rotation // 1: Servo posion 1 // 2: Servo posion 2 // 3: Servo posion 3 // // Serial API: #include <Arduino.h> #include <Servo.h> #include <Wire.h> #include <Adafruit_NeoPixel.h> // I2C setti...
24.510373
93
0.619096
naturetwo
92d4d92a67fa67b0f562791ff39593ec02bb289d
1,239
hpp
C++
engine/runtime/rendering/generator/cylinder_mesh.hpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
791
2016-11-04T14:13:41.000Z
2022-03-20T20:47:31.000Z
engine/runtime/rendering/generator/cylinder_mesh.hpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
28
2016-12-01T05:59:30.000Z
2021-03-20T09:49:26.000Z
engine/runtime/rendering/generator/cylinder_mesh.hpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
151
2016-12-21T09:44:43.000Z
2022-03-31T13:42:18.000Z
#ifndef GENERATOR_CYLINDERMESH_HPP #define GENERATOR_CYLINDERMESH_HPP #include "axis_swap_mesh.hpp" #include "lathe_mesh.hpp" #include "line_shape.hpp" #include "uv_flip_mesh.hpp" namespace generator { /// Cylinder centered at origin aligned along the z-axis. /// @image html CylinderMesh.svg class cylinder_mesh_t { ...
26.361702
91
0.749798
ValtoForks
92d4e6ce166e1977f3f73e0beadf211dcbbba7d0
1,892
cpp
C++
framework/common/broker_interface.cpp
marcos-mxl/prplMesh
de16b3f74cf90d5d269e4b6f43723a34bc065917
[ "BSD-2-Clause-Patent" ]
1
2019-05-01T14:45:06.000Z
2019-05-01T14:45:06.000Z
framework/common/broker_interface.cpp
marcos-mxl/prplMesh
de16b3f74cf90d5d269e4b6f43723a34bc065917
[ "BSD-2-Clause-Patent" ]
8
2019-05-26T08:19:32.000Z
2019-06-03T14:41:05.000Z
framework/common/broker_interface.cpp
marcos-mxl/prplMesh
de16b3f74cf90d5d269e4b6f43723a34bc065917
[ "BSD-2-Clause-Patent" ]
2
2019-05-01T14:46:58.000Z
2019-05-02T15:23:56.000Z
/* SPDX-License-Identifier: BSD-2-Clause-Patent * * Copyright (c) 2016-2019 Intel Corporation * * This code is subject to the terms of the BSD+Patent license. * See LICENSE file for more details. */ #include <mapf/broker/broker_interface.h> namespace mapf { int BrokerInterface::syncCount = 0; void BrokerInterf...
23.358025
65
0.609408
marcos-mxl
92d6b42a0a5f924cedd60817659ac6fe420ca030
1,318
cpp
C++
sxaccelerate/src/graph/SxGProps.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
sxaccelerate/src/graph/SxGProps.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
sxaccelerate/src/graph/SxGProps.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
// --------------------------------------------------------------------------- // // The general purpose cross platform C/C++ framework // // S x A c c e l e r a t e // // Home: https://www.sxlib.de // License: Apache 2 // Authors: see src/AUTHOR...
22.338983
78
0.528073
ashtonmv
92d7507a777de4cbc7b66ae86ec2ac23ffd7d06f
3,013
cpp
C++
src/gui/tb/tb_str.cpp
sstanfield/hexGame
99edad55703846992d3f64ad4cf9d146d57ca625
[ "Zlib" ]
null
null
null
src/gui/tb/tb_str.cpp
sstanfield/hexGame
99edad55703846992d3f64ad4cf9d146d57ca625
[ "Zlib" ]
null
null
null
src/gui/tb/tb_str.cpp
sstanfield/hexGame
99edad55703846992d3f64ad4cf9d146d57ca625
[ "Zlib" ]
null
null
null
// ================================================================================ // == This file is a part of Turbo Badger. (C) 2011-2014, Emil Segerås == // == See tb_core.h for more information. == // =================================================================...
18.83125
92
0.545636
sstanfield
92df5776c2237871b6299ff2eb1599fa24b05845
695
cpp
C++
Coding/CodeChef/Other/MANRECT.cpp
dhvanilp/Data-Structures-and-Algorithms
d9c04e424ef2d2a73dc8afda7ace4cc294c05420
[ "MIT" ]
null
null
null
Coding/CodeChef/Other/MANRECT.cpp
dhvanilp/Data-Structures-and-Algorithms
d9c04e424ef2d2a73dc8afda7ace4cc294c05420
[ "MIT" ]
null
null
null
Coding/CodeChef/Other/MANRECT.cpp
dhvanilp/Data-Structures-and-Algorithms
d9c04e424ef2d2a73dc8afda7ace4cc294c05420
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define alpha 1000000000 int main(){ int t; cin>>t; while(t--){ long long int k1,k2,k3,k4; cout<<"Q 0 0\n"<<flush; cin>>k1; cout<<"Q 1000000000 1000000000\n"<<flush; cin>>k2; cout<<"Q 1000000000 0\n"<<flush; ...
21.71875
59
0.443165
dhvanilp
92df58be4ba43f7498c6a5f73940bc99d8ac1b5a
975
cpp
C++
cpp1st/week05/byongmin/03.atomic.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
2
2022-03-10T10:18:23.000Z
2022-03-16T15:37:22.000Z
cpp1st/week05/byongmin/03.atomic.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
8
2022-03-09T16:14:47.000Z
2022-03-28T15:35:17.000Z
cpp1st/week05/byongmin/03.atomic.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
4
2022-03-08T00:22:29.000Z
2022-03-12T13:22:43.000Z
#include <iostream> #include <thread> #include <vector> #include <atomic> using namespace std; void increment(int& counter) { for (int i=0; i<10000; ++i) { ++counter; this_thread::sleep_for(chrono::microseconds(1)); } } void incrementAtomic(atomic<int>& counter) { for (int i=0; i<1000...
18.396226
80
0.575385
th4inquiry
92df73a360e783c4042fe13074567eaff71b5cf6
700
cpp
C++
src/system/kernel/arch/x86/paging/x86_physical_page_mapper_mapped.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/system/kernel/arch/x86/paging/x86_physical_page_mapper_mapped.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/system/kernel/arch/x86/paging/x86_physical_page_mapper_mapped.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2012, Alex Smith, alex@alex-smith.me.uk. * Distributed under the terms of the MIT License. */ #include <new> #include "paging/x86_physical_page_mapper.h" // #pragma mark - static X86PhysicalPageMapper sPhysicalPageMapper; static TranslationMapPhysicalPageMapper sKernelPageMapper; // #pragma m...
20.588235
58
0.804286
Kirishikesan
92df942efd3ad032c526291da16c335a7a6567a0
20,069
cc
C++
crash-reporter/util.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
crash-reporter/util.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
crash-reporter/util.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 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 "crash-reporter/util.h" #include <poll.h> #include <signal.h> #include <stdlib.h> #include <algorithm> #include <map> #include <memory> #in...
31.066563
80
0.659724
Toromino
92e0f90428a0a6b4eeec4d42b63b8feabd42c22e
2,202
hpp
C++
src/sdl/error.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/sdl/error.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/sdl/error.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
#pragma once #include "lubee/src/error_chk.hpp" namespace rev { namespace detail { struct SDLErrorI { static const char* Get(); static void Reset(); static const char *const c_apiName; }; struct IMGErrorI { static const char* Get(); static void Reset(); static const char *const c_apiName; };...
33.876923
116
0.669846
degarashi
2bb18eb9a832d5aa49f473e5b4b0752a3cc1e525
6,135
cpp
C++
base/win32/fusion/sxsservice/server/main.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/win32/fusion/sxsservice/server/main.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/win32/fusion/sxsservice/server/main.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "stdinc.h" #pragma hdrstop #include <svcs.h> #include "sxsserviceserver.h" EXTERN_C RPC_IF_HANDLE SxsStoreManager_ServerIfHandle; BOOL CServiceStatus::Initialize( PCWSTR pcwszServiceName, LPHANDLER_FUNCTION pHandler, DWORD dwServiceType, DWORD dwControlsAccepted, DWO...
22.472527
113
0.623961
npocmaka
2bb450124612e631b02f7d839b2f37920171d2fc
6,043
cpp
C++
Final_Fantasy_Mystery_World/Final_Fantasy_Mystery_World/m1EasingSplines.cpp
polarpathgames/Polar-Path
cf0eed03bbd6478c4fdd1eb074f48a2ceb78e0d6
[ "MIT" ]
9
2019-03-05T07:26:04.000Z
2019-10-09T15:57:45.000Z
Final_Fantasy_Mystery_World/Final_Fantasy_Mystery_World/m1EasingSplines.cpp
polarpathgames/Polar-Path
cf0eed03bbd6478c4fdd1eb074f48a2ceb78e0d6
[ "MIT" ]
114
2019-03-10T09:35:12.000Z
2019-06-10T21:39:12.000Z
Final_Fantasy_Mystery_World/Final_Fantasy_Mystery_World/m1EasingSplines.cpp
polarpathgames/Polar-Path
cf0eed03bbd6478c4fdd1eb074f48a2ceb78e0d6
[ "MIT" ]
3
2019-02-25T16:12:40.000Z
2019-11-19T20:48:06.000Z
#include "p2Defs.h" #include "p2Log.h" #include "App.h" #include "m1Input.h" #include "m1Textures.h" #include "m1Render.h" #include "m1MenuManager.h" #include "m1Window.h" #include "m1Map.h" #include "m1EasingSplines.h" #include <string> #include "p2Log.h" #include "Brofiler/Brofiler.h" m1EasingSplines::m1EasingSplin...
29.915842
159
0.730101
polarpathgames
2bb5086b377f9557b71a737d06db2a6d5f33517b
71
cpp
C++
Src/App.cpp
Kataglyphis/GraphicsEngineVulkan
5c66d5761419a6a1b1a6a0628d391d29f03fb0ad
[ "BSD-3-Clause" ]
null
null
null
Src/App.cpp
Kataglyphis/GraphicsEngineVulkan
5c66d5761419a6a1b1a6a0628d391d29f03fb0ad
[ "BSD-3-Clause" ]
null
null
null
Src/App.cpp
Kataglyphis/GraphicsEngineVulkan
5c66d5761419a6a1b1a6a0628d391d29f03fb0ad
[ "BSD-3-Clause" ]
null
null
null
#include "App.h" App::App() { } void App::run() { } App::~App() { }
5.071429
16
0.464789
Kataglyphis
2bb62a640cf30baf34c8397376008da560128338
1,209
cpp
C++
src/test.weapon.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/test.weapon.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/test.weapon.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
/** * @file test.weapon.cpp * @author Team Rogue++ * @date December 08, 2016 * * @brief Member definitions for the WeaponTest class */ #include <exception> #include <iostream> #include <string> #include <vector> #include "include/playerchar.h" #include "include/weapon.h" #include "test.testable.h" /** * @bri...
25.1875
100
0.652605
prinsij
2bbfffebeab6997db4591b2bad5db24d4f641254
5,814
cpp
C++
cpp/sec.cpp
Ypig/vergil
1fedad4a6afbd108530959275e959c4bf5ed0990
[ "MIT" ]
74
2019-10-03T07:22:47.000Z
2022-03-15T11:54:45.000Z
cpp/sec.cpp
Ypig/vergil
1fedad4a6afbd108530959275e959c4bf5ed0990
[ "MIT" ]
null
null
null
cpp/sec.cpp
Ypig/vergil
1fedad4a6afbd108530959275e959c4bf5ed0990
[ "MIT" ]
34
2019-10-05T05:08:26.000Z
2022-02-14T03:36:01.000Z
#include "sec.h" namespace tokza{ SEC_ELE::SEC_ELE() { this->head = 0; this->end = 0; this->file_hash = 0; this->mem_hash = 0; return; } SEC_ELE::~SEC_ELE() { this->head = 0; this->end = 0; this->file_hash = 0; this->mem_hash = 0; ...
31.597826
100
0.5086
Ypig
2bc2a35da628b06dec5d795ffe1a5575b375f772
3,052
cpp
C++
src/Picasso_InputParser.cpp
streeve/picasso
8e546ede7729dbb0462f5a856d06530f7cbf912c
[ "BSD-3-Clause" ]
3
2021-02-17T14:59:09.000Z
2021-09-29T23:29:52.000Z
src/Picasso_InputParser.cpp
streeve/picasso
8e546ede7729dbb0462f5a856d06530f7cbf912c
[ "BSD-3-Clause" ]
48
2021-02-17T17:24:12.000Z
2022-03-18T14:12:02.000Z
src/Picasso_InputParser.cpp
streeve/picasso
8e546ede7729dbb0462f5a856d06530f7cbf912c
[ "BSD-3-Clause" ]
5
2021-02-17T14:39:58.000Z
2021-10-05T18:42:21.000Z
/**************************************************************************** * Copyright (c) 2021 by the Picasso authors * * All rights reserved. * * * * This ...
34.681818
94
0.424967
streeve
2bc3612efa6deba48d73001ac47174f596347899
5,617
hpp
C++
lib/generated/definitions/mask/mask_neon.hpp
db-tu-dresden/TVL
051261d49f993ce5c70629526038a6f7717055ef
[ "Apache-2.0" ]
2
2022-03-21T23:17:32.000Z
2022-03-22T19:56:17.000Z
lib/generated/definitions/mask/mask_neon.hpp
db-tu-dresden/TVL
051261d49f993ce5c70629526038a6f7717055ef
[ "Apache-2.0" ]
1
2022-03-31T11:56:21.000Z
2022-03-31T11:56:21.000Z
lib/generated/definitions/mask/mask_neon.hpp
db-tu-dresden/TVL
051261d49f993ce5c70629526038a6f7717055ef
[ "Apache-2.0" ]
1
2022-03-23T08:38:49.000Z
2022-03-23T08:38:49.000Z
/*==========================================================================* * This file is part of the TVL - a template SIMD library. * * * * Copyright 2022 TVL-Team, Database Research Group TU Dresden * * ...
45.666667
171
0.541926
db-tu-dresden
2bc61916cabd98ca28e8a5e61c37a6f44c5753e7
223
hpp
C++
examples/glfw_opengl_es_renderer/parameters_persistency.hpp
vladimir-voinea/vr
0af18898ee512a0f94be7609e19753b92da03775
[ "MIT" ]
null
null
null
examples/glfw_opengl_es_renderer/parameters_persistency.hpp
vladimir-voinea/vr
0af18898ee512a0f94be7609e19753b92da03775
[ "MIT" ]
null
null
null
examples/glfw_opengl_es_renderer/parameters_persistency.hpp
vladimir-voinea/vr
0af18898ee512a0f94be7609e19753b92da03775
[ "MIT" ]
null
null
null
#pragma once #include <parameters.hpp> bool have_parameters_file(const std::string& path); parameters load_parameters(const std::string& path); void save_parameters(const std::string& path, const parameters& parameters);
27.875
76
0.793722
vladimir-voinea
2bc813b8772e1619ff3e931dcb0e15fe35b54154
1,051
hpp
C++
nd-coursework/books/cpp/C++Templates/traits/ifthenelse.hpp
crdrisko/nd-grad
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
1
2020-09-26T12:38:55.000Z
2020-09-26T12:38:55.000Z
nd-coursework/books/cpp/C++Templates/traits/ifthenelse.hpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
nd-coursework/books/cpp/C++Templates/traits/ifthenelse.hpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
// Copyright (c) 2017 by Addison-Wesley, David Vandevoorde, Nicolai M. Josuttis, and Douglas Gregor. All rights reserved. // See the LICENSE file in the project root for more information. // // Name: ifthenelse.hpp // Author: crdrisko // Date: 08/31/2020-20:09:37 // Description: Selecting between two type parameters ba...
32.84375
121
0.743102
crdrisko
2bc9ec327d7cfd0dfd9eeed6bd82811f3b4a6b20
692
cpp
C++
HDU-Code/2009 Multi-University Training Contest 1/H.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
HDU-Code/2009 Multi-University Training Contest 1/H.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
HDU-Code/2009 Multi-University Training Contest 1/H.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #ifdef WIN32 #define LL "%I64d" #else #define LL "%lld" #endif const int MAXN = 3000001; const int Maxdata = 3000000; int g, p[MAXN]; long long phi[MAXN]; bool vis[MAXN]; int main() { phi[1] = 1; for (int i = 2; i <= Maxdata; i++) { if (!vis[i]) phi[p[++g] = i] = i - 1; ...
18.210526
55
0.482659
PrayStarJirachi
2bca3bb76da31998ae094bb5e148962887c7bb02
523
cpp
C++
Code/Engine/Math/Vector3.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
2
2017-10-02T03:18:55.000Z
2018-11-21T16:30:36.000Z
Code/Engine/Math/Vector3.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
Code/Engine/Math/Vector3.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
#include "Engine/Math/Vector3.hpp" #define STATIC //Do-nothing to indicate static STATIC const Vector3 Vector3::ZERO(0.f, 0.f, 0.f); STATIC const Vector3 Vector3::ONE(1.f, 1.f, 1.f); STATIC const Vector3 Vector3::UNIT_VECTOR_X(1.f, 0.f, 0.f); STATIC const Vector3 Vector3::UNIT_VECTOR_Y(0.f, 1.f, 0.f); STATIC const Vec...
43.583333
59
0.711281
ntaylorbishop
2bcec88dace2a7a2c87a113d27636a436387ef60
619
cc
C++
public/test/cc/test_main.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
3
2015-05-18T14:52:47.000Z
2018-11-12T07:51:00.000Z
public/test/cc/test_main.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
null
null
null
public/test/cc/test_main.cc
room77/77up
736806fbf52a5e722e8e57ef5c248823b067175d
[ "MIT" ]
3
2015-08-04T05:58:18.000Z
2018-11-12T07:51:01.000Z
// Copyright 2012 Room77 Inc. All Rights Reserved. // Author: pramodg@room77.com (Pramod Gupta) // // The default main file that can be used to run unit tests. #include "util/init/main.h" #include "test/cc/test_main.h" extern string gFlag_init_include; int main(int argc, char** argv) { // Init the google mock fram...
21.344828
60
0.694669
room77
2bcf80363a8770c67fcdb4a0143ead4f672fdaad
8,810
cc
C++
c_src/sst_file_manager.cc
k32/erlang-rocksdb
54657d3a44a09bd4357f07ecfa54b327c1033a17
[ "Apache-2.0" ]
2
2022-03-10T08:21:57.000Z
2022-03-10T14:09:33.000Z
c_src/sst_file_manager.cc
tsutsu/erlang-rocksdb
5b1b66d06539dcb5891c12e5d5ff7a16a3ef3824
[ "Apache-2.0" ]
null
null
null
c_src/sst_file_manager.cc
tsutsu/erlang-rocksdb
5b1b66d06539dcb5891c12e5d5ff7a16a3ef3824
[ "Apache-2.0" ]
1
2021-12-31T06:13:02.000Z
2021-12-31T06:13:02.000Z
// Copyright (c) 2018-2020 Benoit Chesneau // // This file is provided to you 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...
32.996255
97
0.673099
k32
2bd45a878db370a93f30d836942761e67ae10d86
2,563
cc
C++
content/shell/renderer/layout_test/gc_controller.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-28T10:46:52.000Z
2019-11-28T10:46:52.000Z
content/shell/renderer/layout_test/gc_controller.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/shell/renderer/layout_test/gc_controller.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.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 "content/shell/renderer/layout_test/gc_controller.h" #include "gin/arguments.h" #include "gin/handle.h" #include "gin/object_template_builder.h"...
35.109589
77
0.736247
kjthegod
2bd8f489ebafa3e13a9524915624eafd0bfa30b6
6,544
cpp
C++
scrabble.cpp
siweiwang24/scrabble
f8fd9e0d8738757ff0b1502cf3093e4cf2b3496e
[ "MIT" ]
null
null
null
scrabble.cpp
siweiwang24/scrabble
f8fd9e0d8738757ff0b1502cf3093e4cf2b3496e
[ "MIT" ]
null
null
null
scrabble.cpp
siweiwang24/scrabble
f8fd9e0d8738757ff0b1502cf3093e4cf2b3496e
[ "MIT" ]
null
null
null
/* Copyright 2019. Siwei Wang. Scrabble solver. */ #include <algorithm> #include <fstream> #include <iostream> #include <map> #include <string> #include <type_traits> #include <unordered_map> #include <unordered_set> #include <vector> using std::cin; using std::cout; using std::ifstream; using std::io...
28.576419
81
0.646699
siweiwang24
2bde43f65ef5fa046d20c5ad721e68d5144cad57
707
cpp
C++
biblioteka/src/model/Service.cpp
aantczakpiotr/OOP-final-project
9559e797f4b98e88a6a97ef39ea6a8a4b67808b2
[ "MIT" ]
null
null
null
biblioteka/src/model/Service.cpp
aantczakpiotr/OOP-final-project
9559e797f4b98e88a6a97ef39ea6a8a4b67808b2
[ "MIT" ]
null
null
null
biblioteka/src/model/Service.cpp
aantczakpiotr/OOP-final-project
9559e797f4b98e88a6a97ef39ea6a8a4b67808b2
[ "MIT" ]
null
null
null
#include <sstream> #include "Service.hpp" #include "ItemException.hpp" Service::Service(double price, int durationInDays) : Item(price), durationInDays(durationInDays) { if (durationInDays < 0) { throw ItemException("Duration cannot be set to 0 or negative, provided: " + std::to_string(durationInDays))...
25.25
116
0.69024
aantczakpiotr
2bde4f01591cbba2ad10e2ae236f67e3c7091b19
7,407
cpp
C++
sample/src/DX12/PSDownsampler.cpp
ColleenKeegan/FidelityFX-SPD
7c796c6d9fa6a9439e3610478148cfd742d97daf
[ "MIT" ]
92
2020-05-11T18:33:09.000Z
2022-03-28T14:17:36.000Z
sample/src/DX12/PSDownsampler.cpp
adv-sw/FidelityFX-SPD
254099a5111dbcbd9b02f629a55991789ec5a9d0
[ "MIT" ]
4
2020-06-03T19:05:47.000Z
2021-03-23T17:38:42.000Z
sample/src/DX12/PSDownsampler.cpp
adv-sw/FidelityFX-SPD
254099a5111dbcbd9b02f629a55991789ec5a9d0
[ "MIT" ]
17
2020-08-18T04:12:37.000Z
2022-03-29T23:27:20.000Z
// SPDSample // // Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved. // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation th...
44.620482
166
0.63575
ColleenKeegan
2be5512eed93e3ee439ebb3537d8988fd766027e
1,451
cpp
C++
test cases/frameworks/9 wxwidgets/wxprog.cpp
kira78/meson
0ae840656c5b87f30872072aa8694667c63c96d2
[ "Apache-2.0" ]
4,047
2015-06-18T10:36:48.000Z
2022-03-31T09:47:02.000Z
test cases/frameworks/9 wxwidgets/wxprog.cpp
kira78/meson
0ae840656c5b87f30872072aa8694667c63c96d2
[ "Apache-2.0" ]
8,206
2015-06-14T12:20:48.000Z
2022-03-31T22:50:37.000Z
test cases/frameworks/9 wxwidgets/wxprog.cpp
kira78/meson
0ae840656c5b87f30872072aa8694667c63c96d2
[ "Apache-2.0" ]
1,489
2015-06-27T04:06:38.000Z
2022-03-29T10:14:48.000Z
#include"mainwin.h" wxBEGIN_EVENT_TABLE(MyFrame, wxFrame) EVT_MENU(ID_Hello, MyFrame::OnHello) EVT_MENU(wxID_EXIT, MyFrame::OnExit) EVT_MENU(wxID_ABOUT, MyFrame::OnAbout) wxEND_EVENT_TABLE() bool MyApp::OnInit() { MyFrame *frame = new MyFrame("Hello World", wxPoint(50, 50), wxSize(450, 340)); frame->Show( true );...
25.45614
81
0.694004
kira78
2be7a2698e1649e99974b65d08258edd176c0c86
13,006
cpp
C++
src/films/transientfilm.cpp
klein-j/transient_pbrt
71d1e3223521a985c93afc5a2e21833afe9f24d7
[ "BSD-2-Clause" ]
null
null
null
src/films/transientfilm.cpp
klein-j/transient_pbrt
71d1e3223521a985c93afc5a2e21833afe9f24d7
[ "BSD-2-Clause" ]
null
null
null
src/films/transientfilm.cpp
klein-j/transient_pbrt
71d1e3223521a985c93afc5a2e21833afe9f24d7
[ "BSD-2-Clause" ]
null
null
null
#include "transientfilm.h" #include "paramset.h" #include "imageio.h" #include "stats.h" #include "TransientImage.hpp" #include "util.h" #include <array> #include <fstream> #include <sstream> namespace pbrt { TransientFileMetaData g_TFMD; STAT_MEMORY_COUNTER("Memory/Film pixels", filmPixelMemory); TransientSam...
35.438692
145
0.687913
klein-j
2be8412cad95ef11e957aae696128ee2d30153b3
1,902
hpp
C++
aplibs/include/anumlst.hpp
pgul/fastlst
ce07baa06b0063f4c9e1374f24e67e1316ee5af4
[ "BSD-3-Clause" ]
2
2018-01-14T02:49:46.000Z
2021-04-11T11:29:11.000Z
aplibs/include/anumlst.hpp
pgul/fastlst
ce07baa06b0063f4c9e1374f24e67e1316ee5af4
[ "BSD-3-Clause" ]
null
null
null
aplibs/include/anumlst.hpp
pgul/fastlst
ce07baa06b0063f4c9e1374f24e67e1316ee5af4
[ "BSD-3-Clause" ]
1
2018-01-10T19:44:14.000Z
2018-01-10T19:44:14.000Z
/*****************************************************************************/ /* */ /* (C) Copyright 1995-1997 Alberto Pasquale */ /* */ ...
46.390244
79
0.241325
pgul
2be86c24de1ed945b238c56ad33487081ad16110
1,722
cpp
C++
test/matrix.cpp
NiklasDallmann/math
e0610b20911923c35660a1c566008cb823e17da8
[ "Apache-2.0" ]
null
null
null
test/matrix.cpp
NiklasDallmann/math
e0610b20911923c35660a1c566008cb823e17da8
[ "Apache-2.0" ]
null
null
null
test/matrix.cpp
NiklasDallmann/math
e0610b20911923c35660a1c566008cb823e17da8
[ "Apache-2.0" ]
null
null
null
#include <chrono> #include <cmath> #include <cstdlib> #include <iostream> #include <memory> #include <matrix.hpp> #include "test.hpp" using namespace nd::math; constexpr std::size_t matrixOrder = 512u; using MatrixType = Matrix<float, matrixOrder, matrixOrder>; int main(int, char **) { { constexpr std::size_t ...
27.774194
125
0.660859
NiklasDallmann
2be8d16505f271a9d0b742a1236714b95aa58b61
2,097
cpp
C++
ListProcessing/Polynomial.cpp
Mohitmauryagit/datastructures
df61f3f5b592dc4fe0b9d6a966b87f3348328e0a
[ "MIT" ]
8
2021-08-12T08:09:37.000Z
2021-12-30T10:45:54.000Z
ListProcessing/Polynomial.cpp
Mohitmauryagit/datastructures
df61f3f5b592dc4fe0b9d6a966b87f3348328e0a
[ "MIT" ]
7
2021-06-09T05:13:23.000Z
2022-01-24T04:47:59.000Z
ListProcessing/Polynomial.cpp
Mohitmauryagit/datastructures
df61f3f5b592dc4fe0b9d6a966b87f3348328e0a
[ "MIT" ]
4
2021-11-07T07:09:58.000Z
2022-02-08T11:43:56.000Z
#include<iostream> using namespace std; typedef struct mynode{ int coef; int pow; mynode* next; } node; void insert(node** head, int val,int pow) { if((*head)==NULL) { node* newnode=(node*)malloc(sizeof(node)); newnode->coef=val; newnode->pow=pow; newnode->next=NULL;...
18.723214
76
0.469242
Mohitmauryagit
2bea8f091bcefe22842b48d839502ee2d4f5d1f0
2,098
cpp
C++
gpu/src/GrGLIndexBuffer.cpp
blackberry/Skia
a55319dfb35814b1d7be4540646891332eac9727
[ "Apache-2.0" ]
10
2015-02-16T03:19:55.000Z
2021-06-16T04:33:37.000Z
gpu/src/GrGLIndexBuffer.cpp
blackberry/Skia
a55319dfb35814b1d7be4540646891332eac9727
[ "Apache-2.0" ]
null
null
null
gpu/src/GrGLIndexBuffer.cpp
blackberry/Skia
a55319dfb35814b1d7be4540646891332eac9727
[ "Apache-2.0" ]
13
2015-02-10T15:02:31.000Z
2021-05-25T09:29:03.000Z
/* Copyright 2011 Google Inc. Copyright (C) 2011 Research In Motion Limited. 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/...
24.97619
76
0.623928
blackberry
2bf39d78e830470d56455008ab83f5ef908b0e73
412
cpp
C++
149.cpp
jonathanxqs/lintcode
148435aff0a83ac5d77a7ccbd5d0caaea3140a62
[ "MIT" ]
1
2016-06-21T16:29:37.000Z
2016-06-21T16:29:37.000Z
149.cpp
jonathanxqs/lintcode
148435aff0a83ac5d77a7ccbd5d0caaea3140a62
[ "MIT" ]
null
null
null
149.cpp
jonathanxqs/lintcode
148435aff0a83ac5d77a7ccbd5d0caaea3140a62
[ "MIT" ]
null
null
null
class Solution { public: /** * @param prices: Given an integer array * @return: Maximum profit */ int maxProfit(vector<int> &prices) { // write your code here int min=INT_MAX,rt_profit=0; for (auto const s:prices){ if (s-min>rt_profit) rt_profit=s-min; i...
17.913043
46
0.541262
jonathanxqs
2bf450f408f7ba571d335ad220b2e4a2a03550e4
885
cpp
C++
C++/Language/A Tour Of C++/StringAndRegex/Strings.cpp
prynix/learning-programming
85aea40a61fb824a2b4e142331d9ac7971fef263
[ "MIT" ]
2
2017-03-14T16:02:08.000Z
2017-05-02T13:48:18.000Z
C++/Language/A Tour Of C++/StringAndRegex/Strings.cpp
CajetanP/learning-programming
85aea40a61fb824a2b4e142331d9ac7971fef263
[ "MIT" ]
4
2021-05-20T21:10:13.000Z
2022-02-26T09:50:19.000Z
C++/Language/A Tour Of C++/StringAndRegex/Strings.cpp
CajetanP/learning-programming
85aea40a61fb824a2b4e142331d9ac7971fef263
[ "MIT" ]
1
2021-06-18T01:31:24.000Z
2021-06-18T01:31:24.000Z
#include <iostream> using std::string; using std::cout; using std::endl; string compose (const string& name, const string& domain) { return name + '@' + domain; } string name = "Cajetan Puchalski"; void m3 () { string s = name.substr (8, 9); cout << name << endl; name.replace (0, 7, "hello"); std::cout << nam...
16.698113
59
0.572881
prynix
2bf96316c92cde0e864eb0da637d87e42a5c709e
14,150
cpp
C++
implementations/ugene/src/plugins/GUITestBase/src/GTUtilsDashboard.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/GUITestBase/src/GTUtilsDashboard.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/GUITestBase/src/GTUtilsDashboard.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * This program 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; either version 2 * ...
40.084986
149
0.725442
r-barnes
2bff15a2f598a1e2effbb666032452d05defe259
1,657
cpp
C++
src/platform/aarch64_vm/os.cpp
jaeh/IncludeOS
1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02
[ "Apache-2.0" ]
4
2016-05-18T12:30:04.000Z
2019-07-19T20:49:23.000Z
src/platform/aarch64_vm/os.cpp
jaeh/IncludeOS
1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02
[ "Apache-2.0" ]
2
2016-02-22T14:49:18.000Z
2016-04-03T18:19:27.000Z
src/platform/aarch64_vm/os.cpp
AndreasAakesson/IncludeOS
891b960a0a7473c08cd0d93a2bba7569c6d88b48
[ "Apache-2.0" ]
1
2017-04-20T11:45:25.000Z
2017-04-20T11:45:25.000Z
#include <kernel.hpp> #include <timer.h> #include <service> #include <kernel/events.hpp> #include "platform.hpp" #define DEBUG #define MYINFO(X,...) INFO("Kernel", X, ##__VA_ARGS__) extern bool os_default_stdout; struct alignas(SMP_ALIGN) OS_CPU { uint64_t cycles_hlt = 0; }; static SMP::Array<OS_CPU> os_per_cpu; ...
21.24359
75
0.704285
jaeh
9200501f534949246d20a99262bc3ed797b432e4
40,160
cc
C++
src/Basics/Isotope.cc
pygamma-mrs/gamma
c83a7c242c481d2ecdfd49ba394fea3d5816bccb
[ "BSD-3-Clause" ]
4
2021-03-15T10:02:13.000Z
2022-01-16T11:06:28.000Z
src/Basics/Isotope.cc
pygamma-mrs/gamma
c83a7c242c481d2ecdfd49ba394fea3d5816bccb
[ "BSD-3-Clause" ]
1
2022-01-27T15:35:03.000Z
2022-01-27T15:35:03.000Z
src/Basics/Isotope.cc
pygamma-mrs/gamma
c83a7c242c481d2ecdfd49ba394fea3d5816bccb
[ "BSD-3-Clause" ]
null
null
null
/* Isotope.cc ***************************************************-*-c++-*- ** ** ** G A M M A ** ** ** ** Isotope Implementation ** ** ** ** Copyright (c) 1990 ** ** Tilo Levante, Scott A. Smith ** ** Eidgenoessische Technische Hochschule ** ...
46.055046
86
0.502291
pygamma-mrs
92009eca9ebe617f308bc971789fb3abb0dc8664
3,129
cc
C++
toolkit/gl_font.cc
teenylasers/eggshell
7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e
[ "ICU", "OpenSSL" ]
null
null
null
toolkit/gl_font.cc
teenylasers/eggshell
7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e
[ "ICU", "OpenSSL" ]
null
null
null
toolkit/gl_font.cc
teenylasers/eggshell
7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e
[ "ICU", "OpenSSL" ]
null
null
null
// Copyright (C) 2014-2020 Russell Smith. // // This program 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, either version 3 of the License, or (at your option) // any later version. // // This program is d...
30.086538
78
0.63311
teenylasers
9202045d76ad92acc2e3f6db2b7e3004145ed454
5,759
hpp
C++
src/libraries/turbulenceModels/compressible/LES/kOmegaSSTDES/compressiblekOmegaSSTDES.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/turbulenceModels/compressible/LES/kOmegaSSTDES/compressiblekOmegaSSTDES.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/turbulenceModels/compressible/LES/kOmegaSSTDES/compressiblekOmegaSSTDES.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2016 Applied CCM ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it under the te...
23.699588
79
0.631186
MrAwesomeRocks
92039f8f242ee91aadb4765a2252cee259355645
6,918
cpp
C++
lua_cpp_experiment/lua_cpp_experiment/main.cpp
baransrc/lua-cpp-experiment
d8d31d41e4399f19a6b04699baa7f604a3babecc
[ "MIT" ]
2
2022-02-14T19:21:05.000Z
2022-02-21T01:28:55.000Z
lua_cpp_experiment/lua_cpp_experiment/main.cpp
baransrc/lua-cpp-experiment
d8d31d41e4399f19a6b04699baa7f604a3babecc
[ "MIT" ]
null
null
null
lua_cpp_experiment/lua_cpp_experiment/main.cpp
baransrc/lua-cpp-experiment
d8d31d41e4399f19a6b04699baa7f604a3babecc
[ "MIT" ]
null
null
null
#include <iostream> #include "entity_component.h" #include "lua_helper.h" #include "script.h" //bool check_lua(lua_State* L, int result) //{ // if (result != 0) // { // std::string error_message = lua_tostring(L, -1); // std::cout << error_message << std::endl; // // return false; // } // // return true; //} // //...
26.918288
146
0.651923
baransrc
920604f22fdeefe4691f3ad2deef1ac4a64b5b9d
227
cpp
C++
1_DSAA_code/TestIntCell.cpp
amdfansheng/alogrithm
b2e1dd4094b766895dda8c8fc2cbb2e37e6aa22d
[ "MIT" ]
7
2018-07-22T14:29:58.000Z
2021-05-03T04:40:13.000Z
1_DSAA_code/TestIntCell.cpp
amdfansheng/alogrithm
b2e1dd4094b766895dda8c8fc2cbb2e37e6aa22d
[ "MIT" ]
null
null
null
1_DSAA_code/TestIntCell.cpp
amdfansheng/alogrithm
b2e1dd4094b766895dda8c8fc2cbb2e37e6aa22d
[ "MIT" ]
5
2019-02-13T14:50:51.000Z
2020-07-24T09:05:22.000Z
#include <iostream> #include "IntCell.h" using namespace std; int main( ) { IntCell m; // Or, IntCell m( 0 ); but not IntCell m( ); m.write( 5 ); cout << "Cell contents: " << m.read( ) << endl; return 0; }
16.214286
61
0.555066
amdfansheng
9207489418252ce1c6f3758c1f5ff70ed2503335
3,320
cpp
C++
groups/bdl/bdldfp/bdldfp_decimalimputil_inteldfp.t.cpp
silky/bde
c5d57392c022509e6346695b2c368f862afaefec
[ "Apache-2.0" ]
1
2019-06-27T11:32:37.000Z
2019-06-27T11:32:37.000Z
groups/bdl/bdldfp/bdldfp_decimalimputil_inteldfp.t.cpp
silky/bde
c5d57392c022509e6346695b2c368f862afaefec
[ "Apache-2.0" ]
null
null
null
groups/bdl/bdldfp/bdldfp_decimalimputil_inteldfp.t.cpp
silky/bde
c5d57392c022509e6346695b2c368f862afaefec
[ "Apache-2.0" ]
null
null
null
// bdldfp_decimalimputil_inteldfp.t.cpp -*-C++-*- #include <bdldfp_decimalimputil_inteldfp.h> #include <bsls_ident.h> BSLS_IDENT("$Id$") #include <bdls_testutil.h> #include <bsls_assert.h> #include <bsl_iostream.h> // =====================================================================...
32.871287
79
0.471386
silky
920c2f978460652ba6a709d9a9b4abb6ab32fcb5
13,682
hxx
C++
admin/activec/test/snapins/sample/samplesnap.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/activec/test/snapins/sample/samplesnap.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/activec/test/snapins/sample/samplesnap.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1994 - 1999 // // File: samplesnap.hxx // // Contents: Classes that implement sample snapin using the framework. // //----------------------------------------------...
34.903061
143
0.625859
npocmaka
920c4481b54b5bd0acae7b8003cc8c11870f4970
843
cpp
C++
tests/cthread/test_cthread_wait_n_fail2.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
86
2020-10-23T15:59:47.000Z
2022-03-28T18:51:19.000Z
tests/cthread/test_cthread_wait_n_fail2.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
18
2020-12-14T13:11:26.000Z
2022-03-14T05:34:20.000Z
tests/cthread/test_cthread_wait_n_fail2.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
17
2020-10-29T16:19:43.000Z
2022-03-11T09:51:05.000Z
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ #include <systemc.h> // wait(N) ...
21.615385
79
0.457888
hachetman
920dae05d475699885703980679dfb55d99c2d7c
13,990
cpp
C++
src/terminal/RenderBufferBuilder.cpp
herrhotzenplotz/contour
f6e58671fd94b44d88a76941bcf9c88a585a3550
[ "Apache-2.0" ]
null
null
null
src/terminal/RenderBufferBuilder.cpp
herrhotzenplotz/contour
f6e58671fd94b44d88a76941bcf9c88a585a3550
[ "Apache-2.0" ]
null
null
null
src/terminal/RenderBufferBuilder.cpp
herrhotzenplotz/contour
f6e58671fd94b44d88a76941bcf9c88a585a3550
[ "Apache-2.0" ]
null
null
null
#include <terminal/Color.h> #include <terminal/ColorPalette.h> #include <terminal/RenderBufferBuilder.h> #include <tuple> using namespace std; namespace terminal { namespace { constexpr RGBColor makeRGBColor(RGBColor fg, RGBColor bg, CellRGBColor cellColor) noexcept { if (holds_alternative<CellFore...
42.265861
109
0.523159
herrhotzenplotz
920de613c60f302b0952759e25aff4c25e77389e
5,575
cpp
C++
src/SimulationClient.cpp
IBM/dna-replication
2569f71c6eed0e6e9e201c1d531c2a93b69efcbe
[ "MIT" ]
null
null
null
src/SimulationClient.cpp
IBM/dna-replication
2569f71c6eed0e6e9e201c1d531c2a93b69efcbe
[ "MIT" ]
null
null
null
src/SimulationClient.cpp
IBM/dna-replication
2569f71c6eed0e6e9e201c1d531c2a93b69efcbe
[ "MIT" ]
3
2019-11-02T06:15:13.000Z
2022-03-09T08:51:08.000Z
#include <fstream> #include <vector> #include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include "Simulation.h" #include "misc/DataManager.h" #include "particle_behaviors/IsotropicParticleDiffusionBehavior.h" #include "particle_behaviors/ProbabilisticParticleActivationBehavior.h" #include "particle_b...
58.072917
148
0.700987
IBM
920fc095c54a05ab23695b82a48f91203952fa06
5,063
cpp
C++
src/lib/core/base/BasicKeyManager.cpp
eirTony/EIRC2
e8cb7239cff9c0ddce72e63d41b352ec1b4d1eb5
[ "BSD-3-Clause" ]
null
null
null
src/lib/core/base/BasicKeyManager.cpp
eirTony/EIRC2
e8cb7239cff9c0ddce72e63d41b352ec1b4d1eb5
[ "BSD-3-Clause" ]
6
2016-04-12T02:41:00.000Z
2016-06-01T09:28:02.000Z
src/lib/core/base/BasicKeyManager.cpp
eirTony/EIRC2
e8cb7239cff9c0ddce72e63d41b352ec1b4d1eb5
[ "BSD-3-Clause" ]
null
null
null
#include "BasicKeyManager.h" #include "Diagnostic.h" #ifdef BUILD_TEST ///////// TEST BasicKeyManagerTest::BasicKeyManagerTest(QObject * parent) : TestObject("BaseLib/BasicKeyManager", parent) { TRACE("in BasicKeyManagerTest ctor", ""); } #endif //\\\\\\\...
26.647368
70
0.601422
eirTony
9212b19d35ae43515484bada4220f4aad4d45c41
1,654
cpp
C++
examples/uvmsc/simple/registers/models/aliasing/sc_main.cpp
kopinions/uvm-systemc
c8171a98bc75b3ff3ec207d369e1b724ae64632f
[ "ECL-2.0", "Apache-2.0" ]
3
2019-08-16T14:24:43.000Z
2022-03-14T13:02:33.000Z
examples/uvmsc/simple/registers/models/aliasing/sc_main.cpp
ezchi/uvm-systemc
3368d7a1756514d7edd3415282dea812f4a5512a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
examples/uvmsc/simple/registers/models/aliasing/sc_main.cpp
ezchi/uvm-systemc
3368d7a1756514d7edd3415282dea812f4a5512a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
//---------------------------------------------------------------------- // Copyright 2004-2011 Synopsys, Inc. // Copyright 2010 Mentor Graphics Corporation // Copyright 2010-2011 Cadence Design Systems, Inc. // Copyright 2013-2014 NXP B.V. // All Rights Reserved Worldwide // // Licensed under the Apache Li...
35.956522
72
0.585852
kopinions
9214939be76289e7a928231da04d3982c68517ff
3,043
cpp
C++
src/a_datastruct_queue_link.cpp
jinfeng95/algorithms
2a663fe53b494fc6b9dd56cefd368375734de7b0
[ "MIT" ]
null
null
null
src/a_datastruct_queue_link.cpp
jinfeng95/algorithms
2a663fe53b494fc6b9dd56cefd368375734de7b0
[ "MIT" ]
null
null
null
src/a_datastruct_queue_link.cpp
jinfeng95/algorithms
2a663fe53b494fc6b9dd56cefd368375734de7b0
[ "MIT" ]
null
null
null
/* Project: single_linked_queue (链队列) Date: 2018/09/17 Author: Frank Yu InitQueue(LinkQueue &Q) 参数:链队Q 功能:初始化 时间复杂度O(1) EnQueue(LinkQueue &Q,QElemType e) 参数:链队Q,元素e 功能:将e入队 时间复杂度:O(1) DeQueue(LinkQueue &Q,QElemType &e) 参数:链队Q,元素e 功能:队头出队,e接收出队元素值 时间复杂度O(1) GetHead(LinkQueue &Q,QElemType &e) 参数:链队Q...
23.05303
81
0.564246
jinfeng95
9214a2d9b73606dcd4d3482ce885b05148700b6a
4,480
cpp
C++
WhispEngine/WhispEngine/PanelCreate.cpp
Empty-Whisper/WhispEngine
f1f8412377db24569ea2e2db7118b0339a11e85d
[ "MIT" ]
10
2019-10-09T15:58:03.000Z
2022-01-24T07:09:16.000Z
WhispEngine/WhispEngine/PanelCreate.cpp
Empty-Whisper/WhispEngine
f1f8412377db24569ea2e2db7118b0339a11e85d
[ "MIT" ]
8
2019-10-21T16:48:49.000Z
2019-10-26T14:25:43.000Z
WhispEngine/WhispEngine/PanelCreate.cpp
Empty-Whisper/WhispEngine
f1f8412377db24569ea2e2db7118b0339a11e85d
[ "MIT" ]
5
2019-10-15T09:17:21.000Z
2020-05-17T21:43:03.000Z
#include "PanelCreate.h" #include "Imgui/imgui.h" #include "Imgui/imgui_internal.h" // for ImGui::PushFlag #include "Application.h" #include "Globals.h" #include "mmgr/mmgr.h" PanelCreate::PanelCreate(const bool &start_active, const SDL_Scancode &shortcut1, const SDL_Scancode &shortcut2, const SDL_Scancode &shortcut3) ...
27.151515
143
0.642188
Empty-Whisper
9215cd4280a9b341ee18292b18834ad134f3ee16
6,783
cpp
C++
apps/viewer.cpp
jess22664/x3ogre
9de430859d877407ae0308908390c9fa004b0e84
[ "MIT" ]
null
null
null
apps/viewer.cpp
jess22664/x3ogre
9de430859d877407ae0308908390c9fa004b0e84
[ "MIT" ]
null
null
null
apps/viewer.cpp
jess22664/x3ogre
9de430859d877407ae0308908390c9fa004b0e84
[ "MIT" ]
null
null
null
#include <iostream> #include <OgreApplicationContext.h> #include <core/SceneAccessInterface.h> #include <core/OgreX3DPlugin.h> #include <OgreOverlaySystem.h> #include <OgreTrays.h> #include <OgreAdvancedRenderControls.h> #include <OgreCameraMan.h> #include <OgreSceneLoaderManager.h> #include <World/Viewpoint.h> #if...
31.696262
117
0.626566
jess22664
921b87e4aff889a0d63cfe0ca6f0ba6c13f72dc7
945
cpp
C++
WTesterClient/widget_setting.cpp
RockRockWhite/WTester
50a9de8ba7c48738eb054680d6eae0a2fc0c06e3
[ "MIT" ]
null
null
null
WTesterClient/widget_setting.cpp
RockRockWhite/WTester
50a9de8ba7c48738eb054680d6eae0a2fc0c06e3
[ "MIT" ]
null
null
null
WTesterClient/widget_setting.cpp
RockRockWhite/WTester
50a9de8ba7c48738eb054680d6eae0a2fc0c06e3
[ "MIT" ]
null
null
null
#include "widget_setting.h" #include "ui_widget_setting.h" #include <QSettings> #include <QMessageBox> #include <QTextCodec> #pragma execution_character_set("utf-8") widget_setting::widget_setting(QWidget *parent) : QWidget(parent), ui(new Ui::widget_setting) { ui->setupUi(this); QSettings setting("\...
25.540541
80
0.725926
RockRockWhite
921cf50c31aca727db5aeb62877e8428ce7318bf
280
hpp
C++
include/RN_Generators.hpp
temken/DaMaSCUS
14be6907230e5ef1b93809a6fb5842330497a7a6
[ "MIT" ]
3
2018-09-13T13:36:50.000Z
2021-10-30T19:35:12.000Z
include/RN_Generators.hpp
temken/DaMaSCUS
14be6907230e5ef1b93809a6fb5842330497a7a6
[ "MIT" ]
2
2017-06-06T14:43:45.000Z
2022-03-16T13:01:56.000Z
include/RN_Generators.hpp
temken/DaMaSCUS
14be6907230e5ef1b93809a6fb5842330497a7a6
[ "MIT" ]
1
2017-06-09T09:48:10.000Z
2017-06-09T09:48:10.000Z
#ifndef __RN_Generators_hpp_ #define __RN_Generators_hpp_ #include <random> extern double ProbabilitySample(std::mt19937& PRNG); extern double MaxwellSample(std::mt19937& PRNG); extern double ThetaSample(std::mt19937& PRNG); extern double PhiSample(std::mt19937& PRNG); #endif
23.333333
52
0.8
temken
921d03f02be8e6d7bac76812068586898e5621c3
5,649
cpp
C++
unit_tests/gen8/image_tests_gen8.cpp
cmey/compute-runtime
118bad16dfe523724dfaf8016bfa6fbe6896348b
[ "MIT" ]
null
null
null
unit_tests/gen8/image_tests_gen8.cpp
cmey/compute-runtime
118bad16dfe523724dfaf8016bfa6fbe6896348b
[ "MIT" ]
null
null
null
unit_tests/gen8/image_tests_gen8.cpp
cmey/compute-runtime
118bad16dfe523724dfaf8016bfa6fbe6896348b
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, ...
45.556452
187
0.779076
cmey
921dc15dceff6350cb59a41acd2a84a0fd2a8dc4
1,852
cpp
C++
phoenix/qt/widget/check-button.cpp
vgmtool/vgm2pre
f4f917df35d531512292541234a5c1722b8af96f
[ "MIT" ]
21
2015-04-13T03:07:12.000Z
2021-11-20T00:27:00.000Z
phoenix/qt/widget/check-button.cpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
2
2015-10-06T14:59:48.000Z
2022-01-27T08:57:57.000Z
phoenix/qt/widget/check-button.cpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
2
2021-11-19T08:36:57.000Z
2022-03-04T16:03:16.000Z
namespace phoenix { Size pCheckButton::minimumSize() { Size size = pFont::size(qtWidget->font(), checkButton.state.text); if(checkButton.state.orientation == Orientation::Horizontal) { size.width += checkButton.state.image.width; size.height = max(checkButton.state.image.height, size.height); } if(ch...
28.9375
103
0.74406
vgmtool
921f0c2bc764b55cdb3c9d8ca033c1c1b9fe864c
7,654
cpp
C++
bin/setsketchscreener.cpp
dnbh/kpg
c9e79b8092434919e9ac90dc199f49845403c2ba
[ "MIT" ]
69
2018-01-08T19:56:55.000Z
2022-03-05T17:14:05.000Z
bin/setsketchscreener.cpp
dnbaker/emp
c9e79b8092434919e9ac90dc199f49845403c2ba
[ "MIT" ]
6
2018-04-14T21:09:51.000Z
2021-07-17T21:08:54.000Z
bin/setsketchscreener.cpp
dnbaker/emp
c9e79b8092434919e9ac90dc199f49845403c2ba
[ "MIT" ]
11
2018-03-21T19:28:35.000Z
2021-06-29T17:33:34.000Z
#include <getopt.h> #include <unistd.h> #include <sys/stat.h> #include <cstdio> #include <memory> #include <cstdint> #include <vector> #include <chrono> #include <string> #include <iostream> #include <fstream> #include <numeric> #include <cassert> #include <thread> #ifdef _OPENMP #include <omp.h> #endif #include <zli...
38.462312
188
0.615103
dnbh
921f51a06063630f5746ec98482fd55037faaeeb
5,318
cc
C++
tools/hgdb-replay/hgdb-replay.cc
Kuree/hgdb
8a4771cff437979c1934efd1f07436aa5a36f2e9
[ "BSD-2-Clause" ]
34
2021-01-19T21:14:06.000Z
2022-03-31T18:42:58.000Z
tools/hgdb-replay/hgdb-replay.cc
Kuree/hgdb
8a4771cff437979c1934efd1f07436aa5a36f2e9
[ "BSD-2-Clause" ]
33
2021-01-12T18:50:16.000Z
2022-03-23T04:49:20.000Z
tools/hgdb-replay/hgdb-replay.cc
Kuree/hgdb
8a4771cff437979c1934efd1f07436aa5a36f2e9
[ "BSD-2-Clause" ]
2
2021-03-28T06:58:46.000Z
2022-03-31T02:55:53.000Z
#include <filesystem> #include <iostream> #include "argparse/argparse.hpp" #include "engine.hh" #include "log.hh" #include "sim.hh" #ifdef USE_FSDB #include "../fsdb/fsdb.hh" #endif #define STRINGIFY2(X) #X #define STRINGIFY(X) STRINGIFY2(X) #define VERSION_STR STRINGIFY(VERSION_NUMBER) std::optional<argparse::Argu...
34.089744
129
0.640278
Kuree
921f68f9d3e6cd6b4a398911de5014e0e8087c77
3,252
cpp
C++
Sources/PureStd/Private/IO/EngineIO.cpp
PierreEVEN/pure3D
b891c1e762e56851a0a6c4ef32876f18a9b3db97
[ "MIT" ]
1
2020-12-12T22:13:41.000Z
2020-12-12T22:13:41.000Z
Sources/PureStd/Private/IO/EngineIO.cpp
PierreEVEN/pure3D
b891c1e762e56851a0a6c4ef32876f18a9b3db97
[ "MIT" ]
null
null
null
Sources/PureStd/Private/IO/EngineIO.cpp
PierreEVEN/pure3D
b891c1e762e56851a0a6c4ef32876f18a9b3db97
[ "MIT" ]
null
null
null
#include "IO/EngineIO.h" #include <fstream> #if _WIN32 #include <Windows.h> #endif #include <filesystem> #include "IO/Log.h" std::ofstream outputFile; EngineInputOutput& EngineInputOutput::operator<<(bool _Val) { OutputText(_Val ? "true" : "false"); return IO; } EngineInputOutput& EngineInputOutput::operator<<(c...
21.972973
128
0.72171
PierreEVEN
921f95c502cf3e918f90f8c792c37d907dbe7adc
515
cpp
C++
include/math/symb/Operand.cpp
philsupertramp/game-math
56526b673bfc9c71515c8402b5ffa237f1819a39
[ "MIT" ]
null
null
null
include/math/symb/Operand.cpp
philsupertramp/game-math
56526b673bfc9c71515c8402b5ffa237f1819a39
[ "MIT" ]
34
2020-11-27T13:33:04.000Z
2022-03-06T13:40:39.000Z
include/math/symb/Operand.cpp
philsupertramp/game-math
56526b673bfc9c71515c8402b5ffa237f1819a39
[ "MIT" ]
null
null
null
#include "Operand.h" bool isConstant(const std::string& in) { std::unordered_set<std::string> funList; for(const auto& elem : DefaultSymbols) { funList.insert(elem.first); } return funList.find(in) != funList.end(); } bool hasSymbol(const std::vector<std::shared_ptr<Symbolic>>& container, const std::shared...
39.615385
111
0.673786
philsupertramp
922114cbffcf25b5a8c965189d48eab319ed6965
3,275
cpp
C++
src/saiga/vulkan/pipeline/PipelineBase.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
src/saiga/vulkan/pipeline/PipelineBase.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
src/saiga/vulkan/pipeline/PipelineBase.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
/** * Copyright (c) 2017 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #include "PipelineBase.h" #include "saiga/vulkan/Vertex.h" #include "saiga/vulkan/VulkanInitializers.hpp" namespace Saiga { namespace Vulkan { PipelineBase::PipelineBase(vk::PipelineBindPoint ty...
28.478261
113
0.695573
SimonMederer
9221415e18382ac152d76880f3a691de417c4607
817
cpp
C++
competitive_programming/programming_contests/uri/tda_rational_2.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
competitive_programming/programming_contests/uri/tda_rational_2.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
competitive_programming/programming_contests/uri/tda_rational_2.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
// https://www.urionlinejudge.com.br/judge/en/problems/view/1022 #include <iostream> #include <string> using namespace std; int mdc(int num1, int num2) { int remainder; do { remainder = num1 % num2; num1 = num2; num2 = remainder; } while (remainder != 0); return num1; } int main() { string ope, op; in...
19.452381
74
0.537332
LeandroTk
9221e6ba8587b0635371a3f355da1beefcba429d
1,405
cpp
C++
carryarm_actionlib/src/carryarm_client.cpp
buzzer/tams_pr2
73eada99f88c300858f05d57b868e6a8109a800c
[ "BSD-2-Clause" ]
null
null
null
carryarm_actionlib/src/carryarm_client.cpp
buzzer/tams_pr2
73eada99f88c300858f05d57b868e6a8109a800c
[ "BSD-2-Clause" ]
null
null
null
carryarm_actionlib/src/carryarm_client.cpp
buzzer/tams_pr2
73eada99f88c300858f05d57b868e6a8109a800c
[ "BSD-2-Clause" ]
null
null
null
#include <ros/ros.h> #include <actionlib/client/simple_action_client.h> #include <actionlib/client/terminal_state.h> #include <carryarm_actionlib/CarryarmAction.h> int main (int argc, char **argv) { ros::init(argc, argv, "test_carryarm"); // create the action client // true causes the client to spin its own thr...
25.089286
89
0.683274
buzzer
92257b0dbddb99cf36172dc9ea3dd8c3f9ea9c33
733
cpp
C++
src/0232.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0232.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0232.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <sstream> #include <algorithm> #include <map> #include <hash_map> #include <hash_set> #include <queue> #include <stack> using namespace std; class MyQueue { public: explicit MyQueue() = default; void push(int x) { while (!p1->empty()) { p...
14.096154
31
0.547067
killf
92258e27bebc9d404a247ecaf7959240b2946ba5
6,829
cxx
C++
Dockerized/rdpstack/cmake-3.17.2/Source/cmLoadCommandCommand.cxx
nsimbi/Proconsul
70cb520463bf9d9e36b37c57db5c7798a8604c03
[ "MIT" ]
3
2021-10-14T07:40:15.000Z
2022-02-27T09:20:33.000Z
Dockerized/rdpstack/cmake-3.17.2/Source/cmLoadCommandCommand.cxx
nsimbi/Proconsul
70cb520463bf9d9e36b37c57db5c7798a8604c03
[ "MIT" ]
null
null
null
Dockerized/rdpstack/cmake-3.17.2/Source/cmLoadCommandCommand.cxx
nsimbi/Proconsul
70cb520463bf9d9e36b37c57db5c7798a8604c03
[ "MIT" ]
2
2021-10-21T06:12:36.000Z
2022-03-07T15:52:28.000Z
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmLoadCommandCommand.h" #include <csignal> #include <cstdio> #include <cstdlib> #include <cstring> #include <utility> #include <cm/memory> #include "cmCPluginA...
26.468992
78
0.662176
nsimbi
9225bd900af1c8b462d8d3814f6a7f75eb74ec9d
512
hxx
C++
admin/dsutils/displayspecifierupgrade/headers.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/dsutils/displayspecifierupgrade/headers.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/dsutils/displayspecifierupgrade/headers.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// Copyright (C) 1997 Microsoft Corporation // // All header files used by this project; for the purpose of creating a // pre-compiled header file // // 05-18-01 lucios // // This file must be named with a .hxx extension due to some weird and // inscrutible requirement of BUILD. #ifndef HEADERS_HXX_INC...
18.962963
72
0.697266
npocmaka
9227bc3c0f1be4bb041cf3d4a9bb14a12002bf7e
10,204
hpp
C++
src/reconstruction/dataset.hpp
ebarjou/xpulse_recon
5c9eb8e32a2f2b84a9850fabc2103c116a0b9ce6
[ "Apache-2.0" ]
null
null
null
src/reconstruction/dataset.hpp
ebarjou/xpulse_recon
5c9eb8e32a2f2b84a9850fabc2103c116a0b9ce6
[ "Apache-2.0" ]
null
null
null
src/reconstruction/dataset.hpp
ebarjou/xpulse_recon
5c9eb8e32a2f2b84a9850fabc2103c116a0b9ce6
[ "Apache-2.0" ]
null
null
null
/** * ©2020-2022 ALPhANOV (https://www.alphanov.com/) All Rights Reserved * Author: Barjou Emile */ #pragma once namespace dataset { #include "dataset/parameters.hpp" #include "dataset/geometry.hpp" #include "dataset/geometry_chunk.hpp" #include "dataset/data_loader.hpp" /** * @brief Mana...
37.653137
137
0.53136
ebarjou
92281407fff2a2121ec0282c29bf84649c118096
1,333
cpp
C++
Codeorces/new_colony.cpp
maayami/Data-Structures-Algorithms
f2f7cf808be43b85f35a7b1801460ecc20d75695
[ "CC0-1.0" ]
1
2020-05-14T18:22:10.000Z
2020-05-14T18:22:10.000Z
Codeorces/new_colony.cpp
mayank-genesis/Data-Structures-Algorithms
f2f7cf808be43b85f35a7b1801460ecc20d75695
[ "CC0-1.0" ]
null
null
null
Codeorces/new_colony.cpp
mayank-genesis/Data-Structures-Algorithms
f2f7cf808be43b85f35a7b1801460ecc20d75695
[ "CC0-1.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define gc getchar_unlocked #define fo(i, n) for (int i = 0; i < n; i++) #define Fo(i, k, n) for (int i = k; i < n; i++) #define ll long long #define pb(i) push_back(i) #define e "\n" #define traverseVector(i) for (auto i = v.begin(); i != v.end(); ++i) #define rtraverseVe...
19.895522
109
0.507877
maayami
922a2535552915eda1dbffc443d98986dcb3c897
451
hpp
C++
src/rdx/rdx_loadshell.hpp
elasota/rdx2
e08ca09a07d3ac8675f7f950a7bdf838a9f5f907
[ "MIT" ]
null
null
null
src/rdx/rdx_loadshell.hpp
elasota/rdx2
e08ca09a07d3ac8675f7f950a7bdf838a9f5f907
[ "MIT" ]
null
null
null
src/rdx/rdx_loadshell.hpp
elasota/rdx2
e08ca09a07d3ac8675f7f950a7bdf838a9f5f907
[ "MIT" ]
null
null
null
#ifndef __RDX_LOADSHELL_HPP__ #define __RDX_LOADSHELL_HPP__ #include "rdx_coretypes.hpp" #include "rdx_objectguid.hpp" #include "rdx_typeprocessor.hpp" struct rdxSLoadShell { rdxLargeUInt fileOffset; bool isAnonymous; bool isConstant; bool isCloaked; rdxSObjectGUID typeName...
21.47619
50
0.72949
elasota
922b1feb5079da74b1f3f8f14bc1ccad0ff7d8f6
2,533
hh
C++
track/SenseContainer.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
track/SenseContainer.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
track/SenseContainer.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
//---------------------------------*-C++-*-----------------------------------// /*! * \file track/SenseContainer.hh * \brief SenseContainer class declaration * \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //---------------------------------------------------------------------------...
27.835165
79
0.452033
celeritas-project
922e9f6b78b016995411b4f706e8a35fc98fb33b
13,207
cpp
C++
cbnb/domain.cpp
Thiago-AS/cbnb
544d04fb3f093e819cb8a54ae623a8304abb9cc9
[ "MIT" ]
null
null
null
cbnb/domain.cpp
Thiago-AS/cbnb
544d04fb3f093e819cb8a54ae623a8304abb9cc9
[ "MIT" ]
null
null
null
cbnb/domain.cpp
Thiago-AS/cbnb
544d04fb3f093e819cb8a54ae623a8304abb9cc9
[ "MIT" ]
null
null
null
#include "domain.h" /** * Validates the agency code, where it must be 5 digits long, and must contain only numeric values. * If the parameter does not pass validation, throws invalid argument exception. */ void Agency::Validate(string code) throw(invalid_argument) { if (code.size() != 5) throw invalid...
31.296209
114
0.622094
Thiago-AS
923150a8beb661e41363361d78cf8605f67648c1
1,876
cpp
C++
19_RegularExpressionsMatching/RegularExpressions.cpp
tcandzq/coding-interviews
12e29cd59b0773577eddd6868d9381247f3a9fde
[ "MIT" ]
2
2020-07-26T08:57:12.000Z
2020-09-21T01:56:47.000Z
19_RegularExpressionsMatching/RegularExpressions.cpp
tcandzq/coding-interviews
12e29cd59b0773577eddd6868d9381247f3a9fde
[ "MIT" ]
null
null
null
19_RegularExpressionsMatching/RegularExpressions.cpp
tcandzq/coding-interviews
12e29cd59b0773577eddd6868d9381247f3a9fde
[ "MIT" ]
null
null
null
// 面试题19:正则表达式匹配 // 题目:请实现一个函数用来匹配包含'.'和'*'的正则表达式。模式中的字符'.' // 表示任意一个字符,而'*'表示它前面的字符可以出现任意次(含0次)。在本题 // 中,匹配是指字符串的所有字符匹配整个模式。例如,字符串"aaa"与模式"a.a" // 和"ab*ac*a"匹配,但与"aa.a"及"ab*a"均不匹配。 /* 同leetcode https://leetcode-cn.com/problems/regular-expression-matching/ 10. 正则表达式匹配 分情况讨论: //如果模式串当前字符的下一位是 *: 如果当前字符匹配成功: ...
25.69863
124
0.534115
tcandzq
9236d13051c74d2f4e1d3e1bd2654c0621adb205
2,845
cc
C++
CalibTracker/SiPixelGainCalibration/test/SimpleTestPrintOutPixelCalibAnalyzer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-08-09T08:42:11.000Z
2019-08-09T08:42:11.000Z
CalibTracker/SiPixelGainCalibration/test/SimpleTestPrintOutPixelCalibAnalyzer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
CalibTracker/SiPixelGainCalibration/test/SimpleTestPrintOutPixelCalibAnalyzer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-03-19T13:44:54.000Z
2019-03-19T13:44:54.000Z
// -*- C++ -*- // // Package: SimpleTestPrintOutPixelCalibAnalyzer // Class: SimpleTestPrintOutPixelCalibAnalyzer // /**\class SimpleTestPrintOutPixelCalibAnalyzer CalibTracker/SiPixelGainCalibration/test/SimpleTestPrintOutPixelCalibAnalyzer.cc Description: <one line class summary> Implementation: <No...
26.588785
255
0.708963
nistefan
9237ffce68c33af3456a590081ee8855b2d87591
2,520
hpp
C++
examples/interpolate1d/interpolate1d/partition.hpp
McKillroy/hpx
f1bcb93f90a0b3c96e5fb3423028f0347f17f943
[ "BSL-1.0" ]
null
null
null
examples/interpolate1d/interpolate1d/partition.hpp
McKillroy/hpx
f1bcb93f90a0b3c96e5fb3423028f0347f17f943
[ "BSL-1.0" ]
null
null
null
examples/interpolate1d/interpolate1d/partition.hpp
McKillroy/hpx
f1bcb93f90a0b3c96e5fb3423028f0347f17f943
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2017 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // 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) #if !defined(HPX_PARTITION_AUG_04_2011_0251PM) #define HPX_PARTITION_AUG_04_2011_...
30.731707
80
0.602778
McKillroy
923a618895abb3b0e851ce817c684cc1b33f9f85
1,034
cpp
C++
nn_runtime/nnrt/model_transform/transformations.cpp
phytec-mirrors/nn-imx
58525bf968e8d90004f6d782ad37cea28991a439
[ "MIT" ]
null
null
null
nn_runtime/nnrt/model_transform/transformations.cpp
phytec-mirrors/nn-imx
58525bf968e8d90004f6d782ad37cea28991a439
[ "MIT" ]
null
null
null
nn_runtime/nnrt/model_transform/transformations.cpp
phytec-mirrors/nn-imx
58525bf968e8d90004f6d782ad37cea28991a439
[ "MIT" ]
null
null
null
#include <cassert> #include "nnrt/model.hpp" #include "nnrt/error.hpp" #include "nnrt/model_transform/transformations.hpp" namespace nnrt { TransformationSet::~TransformationSet() { for (auto trans : transformations_) { delete trans; } } int TransformationSet::run(Model* model) { (void)model; // ...
22.478261
63
0.655706
phytec-mirrors
923d20c17f78d19485a495842b2c68e518f25270
174
cpp
C++
src/Engine/Renderer2/D3D11/Renderer_ShaderD3D11.cpp
MasonLeeBack/RSEngine
9ac4a0380898cb59a48d29dc7250dfb70430932f
[ "MIT" ]
1
2019-01-03T13:42:10.000Z
2019-01-03T13:42:10.000Z
src/Engine/Renderer2/D3D11/Renderer_ShaderD3D11.cpp
MasonLeeBack/RSEngine
9ac4a0380898cb59a48d29dc7250dfb70430932f
[ "MIT" ]
2
2019-01-03T19:00:42.000Z
2019-01-03T19:02:16.000Z
src/Engine/Renderer2/D3D11/Renderer_ShaderD3D11.cpp
MasonLeeBack/RSEngine
9ac4a0380898cb59a48d29dc7250dfb70430932f
[ "MIT" ]
null
null
null
/* RSEngine Copyright (c) 2020 Mason Lee Back File name: Renderer_ShaderD3D11.cpp */ #include <Renderer2/D3D11/Renderer_ShaderD3D11.h> namespace rs { } // namespace rs
11.6
49
0.741379
MasonLeeBack
923d3315b54761616f2a1f5afb6f8a22a7b80502
9,453
cpp
C++
src/GUI/ReadWrite.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
1
2022-01-15T00:00:27.000Z
2022-01-15T00:00:27.000Z
src/GUI/ReadWrite.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
null
null
null
src/GUI/ReadWrite.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
3
2021-10-14T02:36:56.000Z
2022-03-22T21:03:31.000Z
/* The Forgotten Client Copyright (C) 2020 Saiyans King This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, in...
40.055085
198
0.780281
Olddies710
923dc0f01c84100d2bdd8360b88e541c7deaed5a
3,025
cc
C++
third_party/blink/renderer/modules/indexeddb/idb_observation.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/indexeddb/idb_observation.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/indexeddb/idb_observation.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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/modules/indexeddb/idb_observation.h" #include "third_party/blink/renderer/bindings/core/v8/to_v8_for_core.h" #includ...
33.241758
82
0.73157
sarang-apps
923f1ca2fb8280e4e0fa9d1260373d30fb265c5b
9,021
cpp
C++
QTermWidget/lib/qtermwidget.cpp
rkoyama1623/Quantum
429d11f0b2c737164005ba70c98611baef69d1c5
[ "Unlicense" ]
35
2015-01-13T00:57:17.000Z
2022-03-16T20:39:56.000Z
QTermWidget/lib/qtermwidget.cpp
KR8T3R/Quantum
429d11f0b2c737164005ba70c98611baef69d1c5
[ "Unlicense" ]
null
null
null
QTermWidget/lib/qtermwidget.cpp
KR8T3R/Quantum
429d11f0b2c737164005ba70c98611baef69d1c5
[ "Unlicense" ]
31
2015-01-29T03:59:52.000Z
2022-03-16T20:40:43.000Z
/* Copyright (C) 2008 e_k (e_k@users.sourceforge.net) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ...
25.627841
117
0.695156
rkoyama1623
9240205fd9fc33462aa38e45572ca65e546edbcf
834
cpp
C++
Data Structures/Prime Numbers/PrimeFactorization.cpp
ravikjha7/Competitive_Programming
86df773c258d6675bb3244030e6d71aa32e01fce
[ "MIT" ]
null
null
null
Data Structures/Prime Numbers/PrimeFactorization.cpp
ravikjha7/Competitive_Programming
86df773c258d6675bb3244030e6d71aa32e01fce
[ "MIT" ]
null
null
null
Data Structures/Prime Numbers/PrimeFactorization.cpp
ravikjha7/Competitive_Programming
86df773c258d6675bb3244030e6d71aa32e01fce
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; #define mod 1000000007 void file() { #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif } // Time Complexity : O(sqrt(N)) void FindPrime(ll n) { for(int i = 2; i <= sqrt(n); i++) { if(n %...
13.03125
39
0.479616
ravikjha7
9240c2f7ba6c9aa10531027860fb1b407388a7d3
533
hh
C++
tests/applications/QuickSilver/QuickSilver_orig_ser/src/MC_Distance_To_Facet.hh
rutgers-apl/omp-racer
a8a32e186950997b8eee7864f766819129a5ee06
[ "BSD-2-Clause" ]
2
2020-09-17T15:18:49.000Z
2021-03-06T10:21:23.000Z
tests/applications/QuickSilver/QuickSilver_orig/src/MC_Distance_To_Facet.hh
rutgers-apl/omp-racer
a8a32e186950997b8eee7864f766819129a5ee06
[ "BSD-2-Clause" ]
1
2020-09-08T18:36:24.000Z
2020-09-17T15:18:27.000Z
tests/applications/QuickSilver/QuickSilver_orig_ser/src/MC_Distance_To_Facet.hh
rutgers-apl/omp-racer
a8a32e186950997b8eee7864f766819129a5ee06
[ "BSD-2-Clause" ]
1
2021-01-19T15:28:15.000Z
2021-01-19T15:28:15.000Z
#ifndef MCT_DISTANCE_INCLUDE #define MCT_DISTANCE_INCLUDE #include "DeclareMacro.hh" HOST_DEVICE_CLASS class MC_Distance_To_Facet { public: double distance; int facet; int subfacet; HOST_DEVICE_CUDA MC_Distance_To_Facet(): distance(0.0), facet(0), subfacet(0) {} private: MC_Distance_To_Facet( ...
23.173913
106
0.731707
rutgers-apl
924699cf6b0b84cdeeb997b187cde8ae93a8e977
8,356
cpp
C++
HW4_birdeye/src/example_18-01_from_disk.cpp
Citing/CV-Course
f3e062347fa1cea85ca57181c90f23ad577c0e8c
[ "MIT" ]
4
2019-12-14T11:21:54.000Z
2021-01-15T13:55:35.000Z
HW4_birdeye/src/example_18-01_from_disk.cpp
Citing/CV-Course
f3e062347fa1cea85ca57181c90f23ad577c0e8c
[ "MIT" ]
null
null
null
HW4_birdeye/src/example_18-01_from_disk.cpp
Citing/CV-Course
f3e062347fa1cea85ca57181c90f23ad577c0e8c
[ "MIT" ]
2
2020-11-26T13:04:08.000Z
2020-12-02T01:14:53.000Z
#define main e18_2 #define help help2 // Example 18-1. Reading a chessboard’s width and height, reading them from disk and calibrating // the requested number of views, and calibrating the camera // You need these includes for the function // #include <windows.h> // for windows systems #include <dirent.h> // f...
38.865116
99
0.575156
Citing
924e33aff8698577d8e01d40e776b8930c09ca31
920
hpp
C++
SDK/ARKSurvivalEvolved_BoneModifiersContainer_ChibiThylacoleo_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_BoneModifiersContainer_ChibiThylacoleo_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_BoneModifiersContainer_ChibiThylacoleo_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_BoneModifiersContainer_ChibiThylacoleo_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //----------------------------------...
23.589744
146
0.68587
2bite
924eaf825e68dc10d0511708d21f41cd7c5bfb8a
518
cpp
C++
Codeforces/1291D.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
Codeforces/1291D.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
Codeforces/1291D.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <bits/stdc++.h> #define MAXN 200005 using namespace std; char s[MAXN]; int T,n,l,r,cnt[MAXN][26]; int main() { scanf("%s",s+1);n=strlen(s+1); for (int i=1;i<=n;i++) for (int j=0;j<26;j++) cnt[i][j]=cnt[i-1][j]+(s[i]-'a'==j); scanf("%d",&T); while (T--) { scanf("%d %d",&l,&r); if (l==r) puts("Ye...
17.862069
57
0.494208
HeRaNO