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
7348b47467dcff0080dd4845e078e1e87f18d370
1,425
cpp
C++
libs/multiprecision/example/mixed_integer_arithmetic.cpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
11
2016-04-12T16:29:29.000Z
2021-06-28T11:01:57.000Z
libs/multiprecision/example/mixed_integer_arithmetic.cpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
3
2018-10-31T19:35:14.000Z
2019-06-04T17:11:27.000Z
libs/multiprecision/example/mixed_integer_arithmetic.cpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
9
2015-09-09T02:38:32.000Z
2021-01-30T00:24:24.000Z
/////////////////////////////////////////////////////////////// // Copyright 2012 John Maddock. 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_ // // Compare arithmetic results using fixed_int to GMP results. // #ifd...
24.152542
88
0.653333
ballisticwhisper
7348bac9bbc8474ab650d4e0ac07c5408457fb95
1,959
hpp
C++
breeze/conversion/roman.hpp
gennaroprota/breeze
f1dfd7154222ae358f5ece936c2897a3ae110003
[ "BSD-3-Clause" ]
1
2021-04-03T22:35:52.000Z
2021-04-03T22:35:52.000Z
breeze/conversion/roman.hpp
gennaroprota/breeze
f1dfd7154222ae358f5ece936c2897a3ae110003
[ "BSD-3-Clause" ]
null
null
null
breeze/conversion/roman.hpp
gennaroprota/breeze
f1dfd7154222ae358f5ece936c2897a3ae110003
[ "BSD-3-Clause" ]
1
2021-10-01T04:26:48.000Z
2021-10-01T04:26:48.000Z
// =========================================================================== // Copyright 2016 Gennaro Prota // // Licensed under the 3-Clause BSD License. // (See accompanying file 3_CLAUSE_BSD_LICENSE.txt or // <https://opensource.org/licenses/BSD-3-C...
31.095238
78
0.453292
gennaroprota
734b8326dabaf8cafd8e4676d3c7c1c0c5310b72
9,839
cpp
C++
Server/Shared/src/PushService.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
4
2015-08-17T20:12:22.000Z
2020-05-30T19:53:26.000Z
Server/Shared/src/PushService.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
Server/Shared/src/PushService.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condit...
36.306273
755
0.621405
wayfinder
734c36b7bf61ac12c065cfe5ad35b0fb84069054
453
cpp
C++
errlist.cpp
commandus/kv
49331945c4f6a6608b9545c212d29acf5867ecd3
[ "MIT" ]
null
null
null
errlist.cpp
commandus/kv
49331945c4f6a6608b9545c212d29acf5867ecd3
[ "MIT" ]
null
null
null
errlist.cpp
commandus/kv
49331945c4f6a6608b9545c212d29acf5867ecd3
[ "MIT" ]
null
null
null
#include <string.h> #include "errlist.h" #define ERR_COUNT 9 static const char* errlist[ERR_COUNT] = { ERR_COMMAND, ERR_PARSE_COMMAND, ERR_LMDB_TXN_BEGIN, ERR_LMDB_TXN_COMMIT, ERR_LMDB_OPEN, ERR_LMDB_CLOSE, ERR_LMDB_PUT, ERR_LMDB_GET, ERR_NO_MEMORY }; const char *strerror_loracli( int errcode ) {...
16.777778
59
0.695364
commandus
734d060157db57b523949477841aca66c0c19fbe
6,663
cpp
C++
FEBioXML/FEBioMaterialSection.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
FEBioXML/FEBioMaterialSection.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
FEBioXML/FEBioMaterialSection.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2021 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining a...
29.878924
101
0.661114
Scriptkiddi
7351f5c38092fa0ff8dc1c69abd7da4881961698
3,715
cpp
C++
USBMissle/servoControl/servoControl.cpp
dennis-tut/thunder-usb-rocketlauncher
d05313382f17ab7a6d4491d3b4439cece13067a9
[ "MIT" ]
1
2019-12-09T05:50:07.000Z
2019-12-09T05:50:07.000Z
USBMissle/servoControl/servoControl.cpp
dennis-tut/thunder-usb-rocketlauncher
d05313382f17ab7a6d4491d3b4439cece13067a9
[ "MIT" ]
null
null
null
USBMissle/servoControl/servoControl.cpp
dennis-tut/thunder-usb-rocketlauncher
d05313382f17ab7a6d4491d3b4439cece13067a9
[ "MIT" ]
null
null
null
// Uses POSIX functions to send and receive data from a Maestro. // NOTE: The Maestro's serial mode must be set to "USB Dual Port". // NOTE: You must change the 'const char * device' line below. // For further information you can look up the user manual for the Micro Maestro 6-channel at servocity.com #include "servoC...
27.518519
135
0.695828
dennis-tut
73527ee13c4e79c4a406eb6e45351efac4dfeb2a
3,237
cc
C++
modules/audio_coding/audio_network_adaptor/dtx_controller_unittest.cc
bebo/webrtc
61ab9c5200ffb1281d038978465543cc52598e16
[ "DOC", "BSD-3-Clause" ]
null
null
null
modules/audio_coding/audio_network_adaptor/dtx_controller_unittest.cc
bebo/webrtc
61ab9c5200ffb1281d038978465543cc52598e16
[ "DOC", "BSD-3-Clause" ]
null
null
null
modules/audio_coding/audio_network_adaptor/dtx_controller_unittest.cc
bebo/webrtc
61ab9c5200ffb1281d038978465543cc52598e16
[ "DOC", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
35.966667
80
0.74359
bebo
7352c44e61c644645556661431e3a9f98e267c79
6,605
cpp
C++
models/AI-Model-Zoo/caffe-xilinx/src/caffe/layers/prelu_fixed_layer.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
models/AI-Model-Zoo/caffe-xilinx/src/caffe/layers/prelu_fixed_layer.cpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
models/AI-Model-Zoo/caffe-xilinx/src/caffe/layers/prelu_fixed_layer.cpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/* * Copyright 2019 Xilinx 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 or agreed to in writin...
35.320856
76
0.669493
hito0512
7353b80717202c1ae8f9774f52548dd8f02bc77a
461
cpp
C++
cpp_programs/Strings.cpp
Lioncat2002/CSE-programs
48c60a34343acd435f2c5a3e731d3f71bb54158c
[ "MIT" ]
1
2021-11-15T15:21:29.000Z
2021-11-15T15:21:29.000Z
cpp_programs/Strings.cpp
Lioncat2002/CSE-programs
48c60a34343acd435f2c5a3e731d3f71bb54158c
[ "MIT" ]
null
null
null
cpp_programs/Strings.cpp
Lioncat2002/CSE-programs
48c60a34343acd435f2c5a3e731d3f71bb54158c
[ "MIT" ]
2
2021-11-14T01:45:51.000Z
2021-11-15T15:21:08.000Z
#include "iostream" class String{ public: std::string a; String(std::string f=""){ a=f; } bool operator==(String const &obj1){ if (a==obj1.a) { return true; } return false; } }; int main(){ std::string x,y; getline(std::cin,x); getli...
14.40625
40
0.449024
Lioncat2002
73549677be5fd26f0e8987c4411fa612817aa154
6,931
cpp
C++
guilib/src/MultiSessionLocWidget.cpp
lajoiepy/rtabmap
ff739a98a5b0fdee4532b1a4e70ffb77677d59d1
[ "BSD-3-Clause" ]
null
null
null
guilib/src/MultiSessionLocWidget.cpp
lajoiepy/rtabmap
ff739a98a5b0fdee4532b1a4e70ffb77677d59d1
[ "BSD-3-Clause" ]
null
null
null
guilib/src/MultiSessionLocWidget.cpp
lajoiepy/rtabmap
ff739a98a5b0fdee4532b1a4e70ffb77677d59d1
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke 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 ...
33.322115
126
0.679411
lajoiepy
7356da6131f50831373ca0acf00437d30637b078
2,892
cpp
C++
main.cpp
kevinyxlu/cs32lab03
582c42181d8e7891a6f34a3ef5f524c915e963a1
[ "MIT" ]
null
null
null
main.cpp
kevinyxlu/cs32lab03
582c42181d8e7891a6f34a3ef5f524c915e963a1
[ "MIT" ]
null
null
null
main.cpp
kevinyxlu/cs32lab03
582c42181d8e7891a6f34a3ef5f524c915e963a1
[ "MIT" ]
null
null
null
// Spring 2021 CS32 lab03 // Created by: Kevin Lu and Kevin Lai // Created on: 04/25/2021 #include <iostream> #include <string> #include <fstream> #include <vector> #include "demogData.h" #include "parse.h" #include "dataAQ.h" using namespace std; int main() { dataAQ theAnswers; //read in a csv file and cr...
31.78022
100
0.606501
kevinyxlu
735834ac54a1fecf74f9fab6c1c3882fd1871d41
1,973
hpp
C++
openbmc_modules/phosphor-inventory-manager/events.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
openbmc_modules/phosphor-inventory-manager/events.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
null
null
null
openbmc_modules/phosphor-inventory-manager/events.hpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
6
2021-11-02T10:56:19.000Z
2022-03-06T11:58:20.000Z
#pragma once #include "types.hpp" #include <memory> #include <vector> namespace phosphor { namespace inventory { namespace manager { class Manager; /** @struct Event * @brief Event object interface. * * The event base is an association of an event type * and an array of filter callbacks. */ struct Event : ...
22.420455
80
0.645717
Eyerunmyden
735adf01eb599dd2d80ebd835b4f0ed3fd7cdd88
530
hpp
C++
gv_base/src/android/gv_stream_android_asset.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
2
2018-12-03T13:17:31.000Z
2020-04-08T07:00:02.000Z
gv_base/src/android/gv_stream_android_asset.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
null
null
null
gv_base/src/android/gv_stream_android_asset.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
null
null
null
namespace gv { class gv_stream_android_asset : public gvi_stream { public: gv_stream_android_asset(); ~gv_stream_android_asset(); virtual bool open(const char* name); virtual bool close(); virtual gv_int tell(); virtual void flush(); virtual gv_int read(void* pdata, gv_int isize); virtual gv_int write(const voi...
23.043478
60
0.750943
dragonsn
735dadd6bbae7fb2c80829c18eb663ba2c45d623
656
hxx
C++
source/pkgsrc/graphics/vigra/patches/patch-include_vigra_separableconvolution.hxx
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
1
2021-11-20T22:46:39.000Z
2021-11-20T22:46:39.000Z
source/pkgsrc/graphics/vigra/patches/patch-include_vigra_separableconvolution.hxx
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
source/pkgsrc/graphics/vigra/patches/patch-include_vigra_separableconvolution.hxx
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
$NetBSD: patch-include_vigra_separableconvolution.hxx,v 1.1 2021/07/08 21:31:13 markd Exp $ fixed noexcept declaration commit/dc730be49fc8def4304a651fa525e43b7754955e --- include/vigra/separableconvolution.hxx.orig 2017-05-19 15:01:08.000000000 +0000 +++ include/vigra/separableconvolution.hxx @@ -1409,10 +1409,10 @@ ...
29.818182
91
0.684451
Scottx86-64
735fc570b49eec55da5cf25fd70c507ebf6b8ffd
1,317
cpp
C++
Source/Runtime/Core/Private/Logger.cpp
blAs1N/BS_Engine
e63be4eaea30c117adfc6fcb7fa2d2e8a57d04b2
[ "MIT" ]
8
2019-12-05T14:05:21.000Z
2020-12-16T07:49:22.000Z
Source/Runtime/Core/Private/Logger.cpp
blAs1N/BS_Engine
e63be4eaea30c117adfc6fcb7fa2d2e8a57d04b2
[ "MIT" ]
66
2019-11-14T10:43:06.000Z
2021-04-11T04:35:53.000Z
Source/Runtime/Core/src/Logger.cpp
blAs1N/BS-Engine
2e16a5b136c3065e185c7376f60cff3ab8f393c2
[ "MIT" ]
2
2019-11-14T13:26:10.000Z
2020-08-06T04:32:26.000Z
#include "Logger.h" #include "spdlog/spdlog.h" namespace { [[nodiscard]] constexpr spdlog::level::level_enum ToSpdLogLevel(LogVerbosity verbosity) noexcept { constexpr spdlog::level::level_enum mapper[]{ spdlog::level::debug, spdlog::level::info, spdlog::level::info, spdlog::level::warn, sp...
25.823529
100
0.659074
blAs1N
73630f650dd33073eb40a5a0c8b988f01a428bfa
3,749
cc
C++
mindspore/lite/src/ops/constant_of_shape.cc
dongkcs/mindspore
cd7df6dbf463ff3128e9181e9d0c779cecb81320
[ "Apache-2.0" ]
2
2020-11-23T13:46:37.000Z
2020-12-20T02:02:38.000Z
mindspore/lite/src/ops/constant_of_shape.cc
dongkcs/mindspore
cd7df6dbf463ff3128e9181e9d0c779cecb81320
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/ops/constant_of_shape.cc
dongkcs/mindspore
cd7df6dbf463ff3128e9181e9d0c779cecb81320
[ "Apache-2.0" ]
1
2021-01-01T08:35:01.000Z
2021-01-01T08:35:01.000Z
/** * Copyright 2019-2020 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
36.398058
115
0.718058
dongkcs
73643306c97d85a7bbcc252b934e5c3b914cf526
8,220
cc
C++
node_modules/gl/angle/src/tests/perf_tests/third_party/perf/perf_test.cc
aaverty/editly
71bccaf91f8d68609c80ba59425b79e3f94579ad
[ "MIT" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
node_modules/gl/angle/src/tests/perf_tests/third_party/perf/perf_test.cc
aaverty/editly
71bccaf91f8d68609c80ba59425b79e3f94579ad
[ "MIT" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
node_modules/gl/angle/src/tests/perf_tests/third_party/perf/perf_test.cc
aaverty/editly
71bccaf91f8d68609c80ba59425b79e3f94579ad
[ "MIT" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "perf_test.h" #include <stdio.h> #include <stdarg.h> #include <vector> namespace { namespace base { std::string FormatString(const char *fmt,...
34.25
85
0.499878
aaverty
736610f7d4f1888bd319def248eae8972030e320
1,780
cc
C++
device/bluetooth/test/mock_bluetooth_gatt_notify_session.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
device/bluetooth/test/mock_bluetooth_gatt_notify_session.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
device/bluetooth/test/mock_bluetooth_gatt_notify_session.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 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 "device/bluetooth/test/mock_bluetooth_gatt_notify_session.h" #include "base/bind.h" #include "device/bluetooth/test/mock_bluetooth_adapter.h" #in...
37.083333
80
0.747191
zealoussnow
736818443673654fe8ba564d31d358fbcfd460c2
1,360
cpp
C++
src/bindings/python/src/compatibility/pyngraph/util.cpp
evgeniya-egupova/openvino
4b8d6c59e3444ecdc549bfdf357d19d625479b89
[ "Apache-2.0" ]
null
null
null
src/bindings/python/src/compatibility/pyngraph/util.cpp
evgeniya-egupova/openvino
4b8d6c59e3444ecdc549bfdf357d19d625479b89
[ "Apache-2.0" ]
44
2020-12-09T12:38:22.000Z
2022-03-28T13:18:29.000Z
src/bindings/python/src/compatibility/pyngraph/util.cpp
rkazants/openvino
a9a583eb42d43322b39b95b164b5b22c4f341111
[ "Apache-2.0" ]
2
2021-11-18T06:09:04.000Z
2021-11-30T07:39:47.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "pyngraph/util.hpp" #include <pybind11/numpy.h> #include "ngraph/validation_util.hpp" #include "ngraph/version.hpp" namespace py = pybind11; void* numpy_to_c(py::array a) { py::buffer_info info = a.request(); re...
30.222222
68
0.5625
evgeniya-egupova
73683f437180e5020aa66c1c106252a467b326b3
1,437
hpp
C++
waveform_system/super_wave_oscillator.hpp
kumataro4160/Sense
ac44d306cc81fb37e017c0dcf12d9f3dd5e9af4b
[ "MIT" ]
null
null
null
waveform_system/super_wave_oscillator.hpp
kumataro4160/Sense
ac44d306cc81fb37e017c0dcf12d9f3dd5e9af4b
[ "MIT" ]
null
null
null
waveform_system/super_wave_oscillator.hpp
kumataro4160/Sense
ac44d306cc81fb37e017c0dcf12d9f3dd5e9af4b
[ "MIT" ]
null
null
null
#pragma once #include "effector.hpp" #include "../../random.hpp" #include "../wave_table_1d.hpp" namespace sense { class SuperWaveOscillator : public Effector { const WaveTable1D waveTable; const std::vector<float64> initialTheta; const std::vector<float64> omegaRate; std::vector<float64> theta; std::v...
23.557377
149
0.66945
kumataro4160
7369778be8ac2e75b45ca12f02b761db0752f7fb
10,492
cpp
C++
test/system/window_focus/main.cpp
alexiynew/nih_framework
a65335586331daa0ece892f98265bd1d2f8f579f
[ "MIT" ]
1
2017-07-14T04:51:54.000Z
2017-07-14T04:51:54.000Z
test/system/window_focus/main.cpp
alexiynew/nih_framework
a65335586331daa0ece892f98265bd1d2f8f579f
[ "MIT" ]
32
2017-02-02T14:49:41.000Z
2019-06-25T19:38:27.000Z
test/system/window_focus/main.cpp
alexiynew/nih_framework
a65335586331daa0ece892f98265bd1d2f8f579f
[ "MIT" ]
null
null
null
#include <chrono> #include <iostream> #include <thread> #include <system/window.hpp> #include <unit_test/suite.hpp> using namespace framework::system; class WindowFocusTest : public framework::unit_test::Suite { public: WindowFocusTest() : Suite("WindowFocusTest") { add_test([this]() { focus_...
40.353846
111
0.648494
alexiynew
7369a7603124fc22fb32661e09864c4842d1468a
267
cpp
C++
chapter-04/exercise_4_36.cpp
aufziehvogel/cpp-primer
1ae8fdcda8580ea5d646a725fbb76110f138dbc8
[ "MIT" ]
null
null
null
chapter-04/exercise_4_36.cpp
aufziehvogel/cpp-primer
1ae8fdcda8580ea5d646a725fbb76110f138dbc8
[ "MIT" ]
null
null
null
chapter-04/exercise_4_36.cpp
aufziehvogel/cpp-primer
1ae8fdcda8580ea5d646a725fbb76110f138dbc8
[ "MIT" ]
null
null
null
#include <iostream> int main() { int i = -10; double d = 3.14; i *= d; std::cout << "Without cast to int: " << i << std::endl; i = -10; i *= static_cast<int>(d); std::cout << "With cast to int: " << i << std::endl; return 0; }
15.705882
59
0.468165
aufziehvogel
736a6ccb0de3d20907a39b91d1be0428fcdd546a
16,769
cpp
C++
llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
vusec/typesan
831ca2af1a629e8ea93bb8c5b4215f12247b595c
[ "Apache-2.0" ]
30
2016-09-06T06:58:43.000Z
2021-12-23T11:59:38.000Z
llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
vusec/typesan
831ca2af1a629e8ea93bb8c5b4215f12247b595c
[ "Apache-2.0" ]
1
2018-05-15T00:55:37.000Z
2018-05-15T00:55:37.000Z
llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
vusec/typesan
831ca2af1a629e8ea93bb8c5b4215f12247b595c
[ "Apache-2.0" ]
17
2016-10-24T06:08:16.000Z
2022-02-18T17:27:14.000Z
//===- llvm/unittest/DebugInfo/PDB/PDBApiTest.cpp -------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
39.549528
80
0.79641
vusec
736a8131ea3337906e02dfabbc432db6ca002eda
4,177
hpp
C++
interfaces/pixel_buffer.hpp
PiotrBanuba/OEP-module
d60204b8f6c3738e6fb8b5c2ea657460397be774
[ "MIT" ]
null
null
null
interfaces/pixel_buffer.hpp
PiotrBanuba/OEP-module
d60204b8f6c3738e6fb8b5c2ea657460397be774
[ "MIT" ]
2
2022-03-16T13:01:29.000Z
2022-03-16T14:06:16.000Z
interfaces/pixel_buffer.hpp
PiotrBanuba/OEP-module
d60204b8f6c3738e6fb8b5c2ea657460397be774
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <functional> #include <interfaces/image_format.hpp> namespace bnb::oep::interfaces { class pixel_buffer; } using pixel_buffer_sptr = std::shared_ptr<bnb::oep::interfaces::pixel_buffer>; namespace bnb::oep::interfaces { class pixel_buffer { public: usi...
29.624113
210
0.570745
PiotrBanuba
736ae9a9e9c29141a7e76f871f82c06e8f75c4ae
7,415
hpp
C++
boost/time_series/characteristic_series.hpp
ericniebler/time_series
4040119366cc21f25c7734bb355e4a647296a96d
[ "BSL-1.0" ]
11
2015-02-21T11:23:44.000Z
2021-08-15T03:39:29.000Z
boost/time_series/characteristic_series.hpp
ericniebler/time_series
4040119366cc21f25c7734bb355e4a647296a96d
[ "BSL-1.0" ]
null
null
null
boost/time_series/characteristic_series.hpp
ericniebler/time_series
4040119366cc21f25c7734bb355e4a647296a96d
[ "BSL-1.0" ]
3
2015-05-09T02:25:42.000Z
2019-11-02T13:39:29.000Z
/////////////////////////////////////////////////////////////////////////////// /// \file characteristic_series.hpp /// A time series that uses characteristic storage // // Copyright 2006 Eric Niebler. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or co...
36.527094
112
0.647876
ericniebler
736bc9153972ecc5ed3971244d48c3e8b6a1530a
1,805
hh
C++
firmware/src/MightyBoard/Motherboard/boards/mighty_one/RGB_LED.hh
jake-b/Sailfish-MightyBoardFirmware
1db488ffe24a34f41e9fbe469210cf5d9fd38c99
[ "AAL" ]
null
null
null
firmware/src/MightyBoard/Motherboard/boards/mighty_one/RGB_LED.hh
jake-b/Sailfish-MightyBoardFirmware
1db488ffe24a34f41e9fbe469210cf5d9fd38c99
[ "AAL" ]
null
null
null
firmware/src/MightyBoard/Motherboard/boards/mighty_one/RGB_LED.hh
jake-b/Sailfish-MightyBoardFirmware
1db488ffe24a34f41e9fbe469210cf5d9fd38c99
[ "AAL" ]
null
null
null
/* * Copyright 2011 by Alison Leonard <alison@makerbot.com> * * 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. * ...
30.083333
76
0.756233
jake-b
736f9ea929f4c7a34fc14ce44795b6f68d63a91b
2,526
cc
C++
quic/test_tools/simulator/alarm_factory.cc
swimfish09/quiche
2bfc754a599cdbdb2a6875a515713648b92ddb97
[ "BSD-3-Clause" ]
null
null
null
quic/test_tools/simulator/alarm_factory.cc
swimfish09/quiche
2bfc754a599cdbdb2a6875a515713648b92ddb97
[ "BSD-3-Clause" ]
null
null
null
quic/test_tools/simulator/alarm_factory.cc
swimfish09/quiche
2bfc754a599cdbdb2a6875a515713648b92ddb97
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 "net/third_party/quiche/src/quic/test_tools/simulator/alarm_factory.h" #include "net/third_party/quiche/src/quic/core/quic_alarm.h" #include...
30.804878
79
0.696754
swimfish09
73779ecd2558d62f7b430ea9e4b7727842a89cd2
89,021
cc
C++
ent/src/yb/cdc/cdc_service.cc
tverona1/yugabyte-db
5099526ca75c25acf893e9bacda7aad33fabf6c8
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
ent/src/yb/cdc/cdc_service.cc
tverona1/yugabyte-db
5099526ca75c25acf893e9bacda7aad33fabf6c8
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
ent/src/yb/cdc/cdc_service.cc
tverona1/yugabyte-db
5099526ca75c25acf893e9bacda7aad33fabf6c8
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
// Copyright (c) YugaByte, 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 or agreed to in writ...
40.009438
100
0.679795
tverona1
737a759420702d6686a8d94c6588ea216a5bdcdc
15,668
cpp
C++
src/ui/host/WindowHost.cpp
crupest/Cru
261681705b9a1b8d939d1420c3373c5591316549
[ "Apache-2.0" ]
null
null
null
src/ui/host/WindowHost.cpp
crupest/Cru
261681705b9a1b8d939d1420c3373c5591316549
[ "Apache-2.0" ]
null
null
null
src/ui/host/WindowHost.cpp
crupest/Cru
261681705b9a1b8d939d1420c3373c5591316549
[ "Apache-2.0" ]
null
null
null
#include "cru/ui/host/WindowHost.h" #include "RoutedEventDispatch.h" #include "cru/common/Base.h" #include "cru/common/log/Logger.h" #include "cru/platform/graphics/Painter.h" #include "cru/platform/gui/InputMethod.h" #include "cru/platform/gui/UiApplication.h" #include "cru/platform/gui/Window.h" #include "cru/ui/Bas...
33.767241
100
0.715918
crupest
737adecb189749033e3e3b42bb9a0ae95d706edf
6,145
cc
C++
src/rtcrtpreceiver.cc
D1plo1d/node-webrtc
eb66ddfdcb6dd9c47d94844022a628ebcf3f79c3
[ "Apache-2.0" ]
null
null
null
src/rtcrtpreceiver.cc
D1plo1d/node-webrtc
eb66ddfdcb6dd9c47d94844022a628ebcf3f79c3
[ "Apache-2.0" ]
null
null
null
src/rtcrtpreceiver.cc
D1plo1d/node-webrtc
eb66ddfdcb6dd9c47d94844022a628ebcf3f79c3
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2018 The node-webrtc project authors. All rights reserved. * * Use of this source code is governed by a BSD-style license that can be found * in the LICENSE.md file in the root of the source tree. All contributing * project authors may be found in the AUTHORS file in the root of the source * tree....
37.699387
136
0.74288
D1plo1d
737dbd7206a5d23be062bdc8aa58ddef44c6b67d
1,465
cpp
C++
convexHull.cpp
singhkeshav510/DSA-Practice
3d0eb2137d061c8b4fcba988c46cd7817dfb7fc7
[ "MIT" ]
null
null
null
convexHull.cpp
singhkeshav510/DSA-Practice
3d0eb2137d061c8b4fcba988c46cd7817dfb7fc7
[ "MIT" ]
null
null
null
convexHull.cpp
singhkeshav510/DSA-Practice
3d0eb2137d061c8b4fcba988c46cd7817dfb7fc7
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class Point{ public: int x; int y; Point(int x,int y){ this->x=x; this->y=y; } }; Point po; void swap(Point &p1, Point &p2){ Point temp = p1; p1 = p2; p2 = temp; } int distSq(Point p1, Point p2){ return (p1.x - p2.x)*(p1.x - p2.x) + (p1.y -...
19.797297
58
0.533106
singhkeshav510
737ef3d0d9f0d15a03eb5340d9ff722f30878f93
2,481
hpp
C++
LED_anima.hpp
sethome2/LED_anima
3250659ebdbf3be411d6cf63ea2f6c903a500d2d
[ "MIT" ]
2
2021-09-24T17:34:40.000Z
2021-12-29T23:58:00.000Z
LED_anima.hpp
sethome2/LED_anima
3250659ebdbf3be411d6cf63ea2f6c903a500d2d
[ "MIT" ]
null
null
null
LED_anima.hpp
sethome2/LED_anima
3250659ebdbf3be411d6cf63ea2f6c903a500d2d
[ "MIT" ]
null
null
null
/* * @Author: sethome * @Description: In User Settings Edit * @FilePath: \LED_anima\LED_anima.hpp */ /* MIT License Copyright (c) 2021 sethome 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 ...
25.316327
80
0.720274
sethome2
7383311d91a3df8df32a36036d591e0250915632
4,940
cpp
C++
src/qt/src/corelib/thread/qmutexpool.cpp
beaglecode/phantomjs
4f17d94afd02c2d9df7ff2cc568494f194aef15f
[ "BSD-3-Clause" ]
1
2018-09-02T16:08:00.000Z
2018-09-02T16:08:00.000Z
src/qt/src/corelib/thread/qmutexpool.cpp
beaglecode/phantomjs
4f17d94afd02c2d9df7ff2cc568494f194aef15f
[ "BSD-3-Clause" ]
null
null
null
src/qt/src/corelib/thread/qmutexpool.cpp
beaglecode/phantomjs
4f17d94afd02c2d9df7ff2cc568494f194aef15f
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ **...
31.265823
77
0.704858
beaglecode
73845f1f677dbe869f72cfe74ff10f1d70fa9792
651
cpp
C++
LeetCode_C++/605_canPlaceFlowers/test.cpp
Yiluhuakai22/algorigthm-study
084ca94342020e4333045c136886eef0292e4eae
[ "MIT" ]
null
null
null
LeetCode_C++/605_canPlaceFlowers/test.cpp
Yiluhuakai22/algorigthm-study
084ca94342020e4333045c136886eef0292e4eae
[ "MIT" ]
null
null
null
LeetCode_C++/605_canPlaceFlowers/test.cpp
Yiluhuakai22/algorigthm-study
084ca94342020e4333045c136886eef0292e4eae
[ "MIT" ]
null
null
null
#include <limits.h> #include "gtest/gtest.h" #include "gmock/gmock.h" #include <cstdlib> #include <iostream> #include <string> #include "solution.h" using ::testing::_; using ::testing::AtLeast; using ::testing::Exactly; using ::testing::Return; using namespace testing; using namespace std; TEST(TEST, TEST) { S...
21.7
69
0.689708
Yiluhuakai22
73849bebaafdbb09f8e340364ca00152cb717840
8,009
hpp
C++
HotSpot1.7-JVM-Linux-x86/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp
codefollower/Open-Source-Research
b9f2aed9d0f060b80be45f713c3d48fe91f247b2
[ "Apache-2.0" ]
184
2015-01-04T03:38:20.000Z
2022-03-30T05:47:21.000Z
HotSpot1.7/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp
doczyw/Open-Source-Research
b9f2aed9d0f060b80be45f713c3d48fe91f247b2
[ "Apache-2.0" ]
1
2016-01-17T09:18:17.000Z
2016-01-17T09:18:17.000Z
HotSpot1.7/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp
doczyw/Open-Source-Research
b9f2aed9d0f060b80be45f713c3d48fe91f247b2
[ "Apache-2.0" ]
101
2015-01-16T23:46:31.000Z
2022-03-30T05:47:06.000Z
/* * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
36.076577
82
0.734049
codefollower
73863b3f01793831b768e0314b32def426edf6a0
161,331
cpp
C++
GameServer/Source/ChaosBox.cpp
sp3cialk/MU-S8EP2-Repack
202856a74c905c203b9b2795fd161f564ca8b257
[ "MIT" ]
10
2019-04-09T23:36:43.000Z
2022-02-10T19:20:52.000Z
GameServer/Source/ChaosBox.cpp
microvn/mu-s8ep2-repack
202856a74c905c203b9b2795fd161f564ca8b257
[ "MIT" ]
1
2019-09-25T17:12:36.000Z
2019-09-25T17:12:36.000Z
GameServer/Source/ChaosBox.cpp
microvn/mu-s8ep2-repack
202856a74c905c203b9b2795fd161f564ca8b257
[ "MIT" ]
9
2019-09-25T17:12:57.000Z
2021-08-18T01:21:25.000Z
#include "stdafx.h" #include "ChaosBox.h" #include "logproc.h" #include "GameMain.h" #include "GameServer.h" #include "..\common\winutil.h" #include "DSProtocol.h" #include "CastleSiegeSync.h" #include "BloodCastle.h" #include "..\common\SetItemOption.h" #include "JewelOfHarmonySystem.h" #include "giocp.h" #include "Cr...
23.179741
288
0.655026
sp3cialk
7389a7eb346ce96a82a7e86c94b25762a6204e2a
271
cpp
C++
BeingZero/MentorPick/filllowertriangularmatrix.cpp
Cha-V/VSCodes
1bd52560bb8e4666abaf3f7c550466a847ed2eb5
[ "MIT" ]
1
2022-01-03T10:39:19.000Z
2022-01-03T10:39:19.000Z
BeingZero/MentorPick/filllowertriangularmatrix.cpp
Cha-V/AllCodesCloser
1bd52560bb8e4666abaf3f7c550466a847ed2eb5
[ "MIT" ]
null
null
null
BeingZero/MentorPick/filllowertriangularmatrix.cpp
Cha-V/AllCodesCloser
1bd52560bb8e4666abaf3f7c550466a847ed2eb5
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <iostream> using namespace std; void fillUpperTriangularMatrix(vector< vector<int> > &mat) { // Do Not Print anything // Do Not Return anything // Just modify the contents of mat as specified in question. int i= }
22.583333
63
0.712177
Cha-V
738bf9e9276acd33cd50501b5cee933117c68d2c
15,908
cc
C++
chrome/browser/feedback/feedback_util.cc
MIPS/external-chromium_org
e31b3128a419654fd14003d6117caa8da32697e7
[ "BSD-3-Clause" ]
2
2017-10-19T13:50:00.000Z
2019-05-26T20:11:54.000Z
chrome/browser/feedback/feedback_util.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/feedback/feedback_util.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-31T19:09:52.000Z
2019-01-04T18:48:50.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/feedback/feedback_util.h" #include <sstream> #include <string> #include <vector> #include "base/bind.h" #include "base/comm...
34.657952
80
0.714609
MIPS
738f2206ce3e2d2398e3a13b609fd024904466ff
4,969
cpp
C++
SDK/Extras/Quesa Model Viewer/AdvMoof Source/AdvWindow.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
24
2019-10-28T07:01:48.000Z
2022-03-04T16:10:39.000Z
SDK/Extras/Quesa Model Viewer/AdvMoof Source/AdvWindow.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
8
2020-04-22T19:42:45.000Z
2021-04-30T16:28:32.000Z
SDK/Extras/Quesa Model Viewer/AdvMoof Source/AdvWindow.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
6
2019-09-22T14:44:15.000Z
2021-04-01T20:04:29.000Z
#include "AdvWindow.h" #include "ResourceIDs.h" AdvWindow::AdvWindow(const Rect &r, const Str255 title, const short defProc, const Boolean hasCloseBox) : inherited( r, title, defProc, hasCloseBox ), mDirty(false) { mFSSpec.name[0] = 0; mSaveFileType = kDocFileType; mSaveFileCreator = kAppCreatorCode; } void A...
26.152632
83
0.688267
h-haris
7392fc8a9d82e673af7233952ab11bc69a6e3973
6,592
cpp
C++
tests/CSSLayoutAlignSelfTest.cpp
diederickh/css-layout
630ae0972b8e48fabbde059916ad56261571bc66
[ "BSD-3-Clause" ]
1
2021-02-02T14:32:18.000Z
2021-02-02T14:32:18.000Z
tests/CSSLayoutAlignSelfTest.cpp
diederickh/css-layout
630ae0972b8e48fabbde059916ad56261571bc66
[ "BSD-3-Clause" ]
null
null
null
tests/CSSLayoutAlignSelfTest.cpp
diederickh/css-layout
630ae0972b8e48fabbde059916ad56261571bc66
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ /** * @Ge...
36.21978
111
0.78125
diederickh
739318b61b073d162ab7a5810af9f18eac819ccc
607
cpp
C++
tools/clang/blink_gc_plugin/tests/templated_class_with_local_class_requires_trace.cpp
TinkerEdgeR-Android/external_v8
7c9cad78aca05245a07529da3d689282cd554df9
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
tools/clang/blink_gc_plugin/tests/templated_class_with_local_class_requires_trace.cpp
TinkerEdgeR-Android/external_v8
7c9cad78aca05245a07529da3d689282cd554df9
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
tools/clang/blink_gc_plugin/tests/templated_class_with_local_class_requires_trace.cpp
TinkerEdgeR-Android/external_v8
7c9cad78aca05245a07529da3d689282cd554df9
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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 "templated_class_with_local_class_requires_trace.h" namespace blink { template<typename T> void TemplatedObject<T>::Trace(Visitor* visitor) { ...
22.481481
73
0.700165
TinkerEdgeR-Android
739362fc3002d68707c63ffe437b7ea598f24533
671
hpp
C++
StartScreen.hpp
MineOzelot/Tseitr
f1629f53c08bacba30106026fa53883dcc335006
[ "MIT" ]
null
null
null
StartScreen.hpp
MineOzelot/Tseitr
f1629f53c08bacba30106026fa53883dcc335006
[ "MIT" ]
null
null
null
StartScreen.hpp
MineOzelot/Tseitr
f1629f53c08bacba30106026fa53883dcc335006
[ "MIT" ]
null
null
null
// // Created by mineozelot on 8/11/18. // #ifndef TSEITR_STARTSCREEN_HPP #define TSEITR_STARTSCREEN_HPP #include "Screen.hpp" #include "Game.hpp" #include "Label.hpp" class StartScreen: public Screen { Label *label_startgame = nullptr; Label *label_leaderboard = nullptr; Label *label_exit = nullptr; SDL_Rect s...
18.135135
58
0.731744
MineOzelot
739435c4353a68cdc3bb4d3c252e8f802d7ec302
1,543
cpp
C++
done/reduce.cpp
birdhumming/usaco
f011e7bd4b71de22736a61004e501af2b273b246
[ "OLDAP-2.2.1" ]
null
null
null
done/reduce.cpp
birdhumming/usaco
f011e7bd4b71de22736a61004e501af2b273b246
[ "OLDAP-2.2.1" ]
null
null
null
done/reduce.cpp
birdhumming/usaco
f011e7bd4b71de22736a61004e501af2b273b246
[ "OLDAP-2.2.1" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; typedef pair <int, int> ii; int N; ii cows[50001]; bool comp1(ii a, ii b) { return a.first < b.first; } bool comp2(ii a, ii b) { return a.second < b.second; } bool valid(int sx, int bx, int sy, int by) { if (sx > bx || sy > by) return false; int o...
26.603448
69
0.436811
birdhumming
73949bd7cbc148e499238c30524e692fd54a164a
600
cpp
C++
master/core/third/RCF/src/RCF/Tools.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/third/RCF/src/RCF/Tools.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/third/RCF/src/RCF/Tools.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:49.000Z
2018-12-27T03:20:31.000Z
//***************************************************************************** // RCF - Remote Call Framework // Copyright (c) 2005. All rights reserved. // Developed by Jarl Lindrud. // Contact: jlindrud@hotmail.com . //***************************************************************************** #include <...
23.076923
80
0.47
importlib
7394d738947489a33f1795a8f97fb3a8aa8efc70
416
cpp
C++
LimeEngine/Engine/IO/EngineIO.cpp
RubyCircle/LimeEngine
06e3628f2aeb3ce023c1251a6379a26b2df2de4b
[ "MIT" ]
1
2022-01-04T19:25:46.000Z
2022-01-04T19:25:46.000Z
LimeEngine/Engine/IO/EngineIO.cpp
RubyCircle/LimeEngine
06e3628f2aeb3ce023c1251a6379a26b2df2de4b
[ "MIT" ]
null
null
null
LimeEngine/Engine/IO/EngineIO.cpp
RubyCircle/LimeEngine
06e3628f2aeb3ce023c1251a6379a26b2df2de4b
[ "MIT" ]
null
null
null
#include "EngineIO.hpp" namespace LimeEngine { EngineIO::EngineIO(RenderIO&& renderIO, SceneIO&& sceneIO) : renderIO(std::move(renderIO)), sceneIO(std::move(sceneIO)) {} std::optional<int> EngineIO::Process() { return renderIO.Process(); } void EngineIO::Render() { renderIO.Render(sceneIO.camera); } Inp...
19.809524
123
0.711538
RubyCircle
7394f11401561cfbf9dd1fc690a9448a328dbdb2
8,378
cpp
C++
core/logd/CommandListener.cpp
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
1,144
2018-12-18T09:46:47.000Z
2022-03-07T14:51:46.000Z
openwrt/package/utils/adbd/src/logd/CommandListener.cpp
Rokid/YodaOS
d0d7bbc277c0fc1c64e2e0a1c82fe6e63f6eb954
[ "Apache-2.0" ]
16
2019-01-28T06:08:40.000Z
2019-12-04T10:26:41.000Z
openwrt/package/utils/adbd/src/logd/CommandListener.cpp
Rokid/YodaOS
d0d7bbc277c0fc1c64e2e0a1c82fe6e63f6eb954
[ "Apache-2.0" ]
129
2018-12-18T09:46:50.000Z
2022-03-30T07:30:13.000Z
/* * Copyright (C) 2012-2014 The Android Open Source Project * * 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 b...
26.852564
84
0.559561
Keneral
73957798587045c386d9d683a9584bfa06ba8f3a
34,704
cpp
C++
test/ut/gpio/GpioSettingsControllerTests.cpp
bkozdras/picosdkal
1830a2b0296510a5d40a69d22d9a21618d664528
[ "MIT" ]
null
null
null
test/ut/gpio/GpioSettingsControllerTests.cpp
bkozdras/picosdkal
1830a2b0296510a5d40a69d22d9a21618d664528
[ "MIT" ]
null
null
null
test/ut/gpio/GpioSettingsControllerTests.cpp
bkozdras/picosdkal
1830a2b0296510a5d40a69d22d9a21618d664528
[ "MIT" ]
null
null
null
/**********************************************************************************/ /* Copyright by @bkozdras <b.kozdras@gmail.com> */ /* Version: 1.0 */ /* Licence: MIT ...
44.895213
119
0.718419
bkozdras
7399c097b98d9ab9982e4b583c0d78c3389ed349
1,652
hxx
C++
main/sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sd/source/ui/slidesorter/inc/model/SlsEnumeration.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...
31.769231
70
0.670097
Grosskopf
739a9cf262fb05a2623562bb4680153985333bcd
23,720
cpp
C++
test/test_block_literal.cpp
fargies/rapidyaml
6fd373c860b1eef3b190a521acabebc2fd2dcb04
[ "MIT" ]
null
null
null
test/test_block_literal.cpp
fargies/rapidyaml
6fd373c860b1eef3b190a521acabebc2fd2dcb04
[ "MIT" ]
null
null
null
test/test_block_literal.cpp
fargies/rapidyaml
6fd373c860b1eef3b190a521acabebc2fd2dcb04
[ "MIT" ]
null
null
null
#include "./test_group.hpp" namespace c4 { namespace yml { TEST(block_literal, empty_block) { { Tree t = parse_in_arena(R"(- | )"); EXPECT_EQ(t[0].val(), csubstr("")); } { Tree t = parse_in_arena(R"(- |- )"); EXPECT_EQ(t[0].val(), csubstr("")); } { Tree t = ...
20.483592
207
0.595573
fargies
739d660e6f945695491fb288c1ebbc7756c49a84
1,182
cpp
C++
.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/void.pass.cpp
clayne/libcudacxx
b6908c62833db1f0bb5ae06944f6613f23d814b3
[ "Apache-2.0" ]
null
null
null
.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/void.pass.cpp
clayne/libcudacxx
b6908c62833db1f0bb5ae06944f6613f23d814b3
[ "Apache-2.0" ]
null
null
null
.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/void.pass.cpp
clayne/libcudacxx
b6908c62833db1f0bb5ae06944f6613f23d814b3
[ "Apache-2.0" ]
1
2021-11-12T21:19:28.000Z
2021-11-12T21:19:28.000Z
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
25.695652
80
0.583756
clayne
739f0ebc3ca99219743f4ba3df4d91f5b04bc2d4
6,734
cpp
C++
be/src/vec/exec/olap_scanner.cpp
acelyc111/doris-vectorized
cb9d1e0128e9f6306dde66265a1f35d15b77e51d
[ "Apache-2.0" ]
null
null
null
be/src/vec/exec/olap_scanner.cpp
acelyc111/doris-vectorized
cb9d1e0128e9f6306dde66265a1f35d15b77e51d
[ "Apache-2.0" ]
null
null
null
be/src/vec/exec/olap_scanner.cpp
acelyc111/doris-vectorized
cb9d1e0128e9f6306dde66265a1f35d15b77e51d
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
40.812121
96
0.574102
acelyc111
739f4d738dfe9542ea3d7331f5b53807081f709e
436
inl
C++
include/glw/Mesh.inl
jarrettchisholm/glr
79a57b12e26fe84595e833cace3528cb9c82bc20
[ "WTFPL" ]
11
2015-08-19T23:15:41.000Z
2018-05-15T21:53:28.000Z
include/glw/Mesh.inl
jarrettchisholm/glr
79a57b12e26fe84595e833cace3528cb9c82bc20
[ "WTFPL" ]
2
2015-05-21T06:37:24.000Z
2015-05-23T05:37:16.000Z
include/glw/Mesh.inl
jarrettchisholm/glr
79a57b12e26fe84595e833cace3528cb9c82bc20
[ "WTFPL" ]
5
2016-10-31T08:02:15.000Z
2018-08-24T07:40:23.000Z
namespace glr { namespace glw { template<class Archive> void Mesh::serialize(Archive& ar, const unsigned int version) { boost::serialization::void_cast_register<Mesh, IMesh>( static_cast<Mesh*>(nullptr), static_cast<IMesh*>(nullptr) ); //ar & boost::serialization::base_object<IMesh>(*this); ar & name_; ar & ...
18.166667
85
0.708716
jarrettchisholm
73a36e5bb6188a20fc799a7f56e06a79e9225565
610
hpp
C++
Siv3D/include/Siv3D/Physics2D/P2ShapeType.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
709
2016-03-19T07:55:58.000Z
2022-03-31T08:02:22.000Z
Siv3D/include/Siv3D/Physics2D/P2ShapeType.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
415
2017-05-21T05:05:02.000Z
2022-03-29T16:08:27.000Z
Siv3D/include/Siv3D/Physics2D/P2ShapeType.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
123
2016-03-19T12:47:08.000Z
2022-03-25T03:47:51.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2021 Ryo Suzuki // Copyright (c) 2016-2021 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "../Common.hpp" names...
14.52381
50
0.506557
emadurandal
73a388ca386bab11f674496b27a87cfa0f9348de
1,908
cpp
C++
rearrangeLinkedList.cpp
JoseChavez98/Competitive-Programing
9ef98c8ae5b88e2730a07a089f9bba78df96b135
[ "MIT" ]
1
2020-03-29T17:23:30.000Z
2020-03-29T17:23:30.000Z
rearrangeLinkedList.cpp
JoseChavez98/Competitive-Programing
9ef98c8ae5b88e2730a07a089f9bba78df96b135
[ "MIT" ]
null
null
null
rearrangeLinkedList.cpp
JoseChavez98/Competitive-Programing
9ef98c8ae5b88e2730a07a089f9bba78df96b135
[ "MIT" ]
null
null
null
// Given the head of a Singly LinkedList, write a method to modify the // LinkedList such that the nodes from the second half of the LinkedList are // inserted alternately to the nodes from the first half in reverse order. So if // the LinkedList has nodes 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> null, your method // should retur...
23.555556
80
0.598008
JoseChavez98
73a58ede73bbe4ee7561805c19a33fc5ba783d68
400
cpp
C++
Source/FSD/Private/AutoShotgunUpgrade.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/AutoShotgunUpgrade.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/AutoShotgunUpgrade.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
#include "AutoShotgunUpgrade.h" #include "Templates/SubclassOf.h" class AItem; class AFSDPlayerState; FUpgradeValues UAutoShotgunUpgrade::GetUpgradedValue(TSubclassOf<AItem> Item, AFSDPlayerState* Player, EAutoShotgunUpgrades NewUpgradeType) { return FUpgradeValues{}; } UAutoShotgunUpgrade::UAutoShotgunUpgrade()...
26.666667
141
0.815
trumank
73a97c332b38f61959998ca3e79354887f70551f
316
cpp
C++
src/DoubleJump.cpp
mustafmst/lost-dungeon
78eab777dc4ffeacca48e647cf5945628992ce7c
[ "MIT" ]
null
null
null
src/DoubleJump.cpp
mustafmst/lost-dungeon
78eab777dc4ffeacca48e647cf5945628992ce7c
[ "MIT" ]
null
null
null
src/DoubleJump.cpp
mustafmst/lost-dungeon
78eab777dc4ffeacca48e647cf5945628992ce7c
[ "MIT" ]
null
null
null
#include "DoubleJump.hpp" #include "assetsAndDefinitions.h" ld::DoubleJump::DoubleJump(GameDataRef data, sf::Vector2f pos, b2World& world) { _type = DOUBLE_JUMP; _sprite.setTexture(data->assets.GetTexture(GEMS_NAME)); _sprite.setTextureRect(sf::IntRect(48,48,16,16)); SetPosition(pos); InitPhysics(world); }
22.571429
78
0.759494
mustafmst
73ab0e23a721296a31385a51f0373b46201ae313
1,456
cpp
C++
RestfulServer.cpp
Enseed/Restful
263df222e7bae3678fe32355aab67dc4265b14ca
[ "Apache-2.0" ]
null
null
null
RestfulServer.cpp
Enseed/Restful
263df222e7bae3678fe32355aab67dc4265b14ca
[ "Apache-2.0" ]
null
null
null
RestfulServer.cpp
Enseed/Restful
263df222e7bae3678fe32355aab67dc4265b14ca
[ "Apache-2.0" ]
null
null
null
#include "Precompiled.h" #include "RestfulServer.h" #include "Domain/DTO/Errors/ErrorDTO.h" #include "Domain/DTO/Errors/ErrorDTO.reflect.h" #include "HTTP/HttpDTOResult.h" #include <boost/uuid/random_generator.hpp> #include <boost/date_time/microsec_time_clock.hpp> #include <Restless/HTTP/HttpStatus.h> #include <Restle...
28.54902
111
0.763736
Enseed
73af655af51ef49d3c251a5c1e13d63a2e067184
1,047
cpp
C++
Game/src/main.cpp
DebugScientist78/Encryption-Game
8044425a11494962d62d162d788e3adac369600f
[ "MIT" ]
null
null
null
Game/src/main.cpp
DebugScientist78/Encryption-Game
8044425a11494962d62d162d788e3adac369600f
[ "MIT" ]
null
null
null
Game/src/main.cpp
DebugScientist78/Encryption-Game
8044425a11494962d62d162d788e3adac369600f
[ "MIT" ]
null
null
null
//main.h ties in the project files in a simple include file and can be called easily #include "../include/main.h" /* * Program name: main.cpp * Date: 10/23/2019 * Purpose: This source file is where the main method is located, * It runs procedurally with the initilizing and then loads into a loop of screens that are ru...
22.76087
98
0.640879
DebugScientist78
73b091bcc2c08ead26f47f76edf5ba13a66d272c
240
cc
C++
Part-I/Ch04/4.2/4.5.cc
RingZEROtlf/Cpp-Primer
bde40534eeca733350825c41f268415fdccb1cc3
[ "MIT" ]
1
2021-09-23T13:13:12.000Z
2021-09-23T13:13:12.000Z
Part-I/Ch04/4.2/4.5.cc
RingZEROtlf/Cpp-Primer
bde40534eeca733350825c41f268415fdccb1cc3
[ "MIT" ]
null
null
null
Part-I/Ch04/4.2/4.5.cc
RingZEROtlf/Cpp-Primer
bde40534eeca733350825c41f268415fdccb1cc3
[ "MIT" ]
null
null
null
#include <iostream> int main() { std::cout << -30 * 3 + 21 / 5 << std::endl; std::cout << -30 + 3 * 21 / 5 << std::endl; std::cout << 30 / 3 * 21 % 5 << std::endl; std::cout << -30 / 3 * 21 % 4 << std::endl; return 0; }
24
47
0.454167
RingZEROtlf
73b0c3d35f89e2aa26ee925591c7453cea2f5106
1,829
cpp
C++
Source/SMat3.cpp
JordanEllis6809/UrsineMath
36f2d82c072af5b209d693b73cd4416a208c0781
[ "MIT" ]
1
2015-11-02T00:50:04.000Z
2015-11-02T00:50:04.000Z
Source/SMat3.cpp
JordanEllis6809/UrsineMath
36f2d82c072af5b209d693b73cd4416a208c0781
[ "MIT" ]
null
null
null
Source/SMat3.cpp
JordanEllis6809/UrsineMath
36f2d82c072af5b209d693b73cd4416a208c0781
[ "MIT" ]
null
null
null
/* --------------------------------------------------------------------------- ** Team Bear King ** DigiPen Institute of Technology 2015 ** ** Mat3.cpp ** ** Author: ** - Jordan Ellis - J.Ellis@digipen.edu ** ** Contributors: ** - <list in same format as author if applicable> ** ----------------------------------------...
21.517647
78
0.38491
JordanEllis6809
73b212471bf4609818cf069ca28cfb416e477f2a
1,164
cpp
C++
source/RobotController/Viewer/ViewerPlugin.cpp
xxzl0130/ProgrammingExperience
4f18ad6eb6bc1e7f0d69b458e0c4efbbf4326cfd
[ "MIT" ]
1
2020-09-08T02:54:11.000Z
2020-09-08T02:54:11.000Z
source/RobotController/Viewer/ViewerPlugin.cpp
xxzl0130/ProgrammingExperience
4f18ad6eb6bc1e7f0d69b458e0c4efbbf4326cfd
[ "MIT" ]
1
2020-09-08T02:53:54.000Z
2020-09-23T00:55:35.000Z
source/RobotController/Viewer/ViewerPlugin.cpp
xxzl0130/ProgrammingExperience
4f18ad6eb6bc1e7f0d69b458e0c4efbbf4326cfd
[ "MIT" ]
null
null
null
#include "Viewer.h" #include "ViewerPlugin.h" #include <QtCore/QtPlugin> ViewerPlugin::ViewerPlugin(QObject *parent) : QObject(parent) { initialized = false; } void ViewerPlugin::initialize(QDesignerFormEditorInterface * /*core*/) { if (initialized) return; initialized = true; } bool ViewerPlugin::isInitiali...
14.923077
70
0.670103
xxzl0130
73b21a8dc601991f73f4086febe7199342f46676
5,583
cpp
C++
src/modules/mouse/wrap_Mouse.cpp
darmie/love2d
3f3f9fa5185653683fddc31eddfda10aff7d9694
[ "Apache-2.0" ]
null
null
null
src/modules/mouse/wrap_Mouse.cpp
darmie/love2d
3f3f9fa5185653683fddc31eddfda10aff7d9694
[ "Apache-2.0" ]
null
null
null
src/modules/mouse/wrap_Mouse.cpp
darmie/love2d
3f3f9fa5185653683fddc31eddfda10aff7d9694
[ "Apache-2.0" ]
1
2021-10-21T14:47:36.000Z
2021-10-21T14:47:36.000Z
/** * Copyright (c) 2006-2019 LOVE Development Team * * 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, * ...
21.228137
130
0.683683
darmie
73b4c3c7ed8df473eca3055c5a94459dd9dc521a
1,304
hpp
C++
include/touca/extra/catch2.hpp
getweasel/weasel-cpp
871e7790edb791b76a62ef3554b3330f1eb3d1f9
[ "Apache-2.0" ]
8
2021-01-02T11:41:31.000Z
2021-04-15T07:05:54.000Z
include/touca/extra/catch2.hpp
getweasel/weasel-cpp
871e7790edb791b76a62ef3554b3330f1eb3d1f9
[ "Apache-2.0" ]
17
2021-01-08T06:52:51.000Z
2021-04-18T20:00:28.000Z
include/touca/extra/catch2.hpp
getweasel/weasel-cpp
871e7790edb791b76a62ef3554b3330f1eb3d1f9
[ "Apache-2.0" ]
1
2021-04-16T10:30:23.000Z
2021-04-16T10:30:23.000Z
// Copyright 2021 Touca, Inc. Subject to Apache-2.0 License. #pragma once #ifndef TOUCA_CATCH #define CATCH_CONFIG_MAIN #include "catch2/catch.hpp" #else #define CATCH_CONFIG_RUNNER #include "catch2/catch.hpp" #include "touca/touca.hpp" int main(int argc, char* argv[]) { Catch::Session session; std::array<std:...
24.603774
70
0.609663
getweasel
73b5252f1768eda8211e0e5a14674cd336f2923e
613
hpp
C++
src/URI.hpp
ImagicTheCat/Tsux
f3bcd188a5defeeed947de942d78534ea3ee68d3
[ "MIT" ]
2
2017-07-24T08:58:32.000Z
2017-11-27T22:26:00.000Z
src/URI.hpp
ImagicTheCat/Tsux
f3bcd188a5defeeed947de942d78534ea3ee68d3
[ "MIT" ]
1
2018-01-19T11:33:51.000Z
2018-01-19T19:58:47.000Z
src/URI.hpp
ImagicTheCat/Tsux
f3bcd188a5defeeed947de942d78534ea3ee68d3
[ "MIT" ]
null
null
null
/* URI encode/decode functions wrapper * source: http://www.codeguru.com/cpp/cpp/algorithms/strings/article.php/c12759/URI-Encoding-and-Decoding.htm * * Uri encode and decode. * RFC1630, RFC1738, RFC2396 */ #ifndef H_URI #define H_URI #include <iostream> class URI{ public: static std::string encode(const...
20.433333
110
0.696574
ImagicTheCat
73b585fcc67f627ef54a644005bf885e9745b2af
7,345
cpp
C++
test/playback.cpp
hradec/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
51
2015-01-07T18:36:39.000Z
2021-11-30T15:24:44.000Z
test/playback.cpp
virneo/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
1
2015-01-08T10:48:43.000Z
2015-02-11T19:32:14.000Z
test/playback.cpp
virneo/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
18
2015-05-11T12:43:37.000Z
2019-11-29T11:15:41.000Z
#include <gtest/gtest.h> #include "duke/cmdline/CmdLineParameters.hpp" #include "duke/engine/Player.hpp" static const size_t startFrame = 90000; using namespace duke; const CmdLineParameters gDefault(0, nullptr); Timeline getTimeline() { Track track; track.add(startFrame, Clip{1}); track.add(startFrame + 1, ...
37.860825
89
0.730565
hradec
73b63043b71bfa118b78a1796bf451cee60fe797
22,852
cpp
C++
measurer/hotspot-measurer/hotspot/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
184
2015-01-04T03:38:20.000Z
2022-03-30T05:47:21.000Z
measurer/hotspot-measurer/hotspot/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
1
2016-01-17T09:18:17.000Z
2016-01-17T09:18:17.000Z
measurer/hotspot-measurer/hotspot/src/share/vm/gc_implementation/parallelScavenge/asPSYoungGen.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
101
2015-01-16T23:46:31.000Z
2022-03-30T05:47:06.000Z
/* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
41.398551
98
0.647208
armoredsoftware
73b661d04a8bed44e1181af6e2649ba7fc7f98aa
1,209
hpp
C++
include/tao/seq/first.hpp
LaudateCorpus1/sequences
637e0abe60bee381a58e2a933829f39b4459587a
[ "MIT" ]
103
2015-10-11T18:42:16.000Z
2022-02-25T18:56:07.000Z
include/tao/seq/first.hpp
LaudateCorpus1/sequences
637e0abe60bee381a58e2a933829f39b4459587a
[ "MIT" ]
7
2017-10-11T10:58:02.000Z
2021-11-10T10:55:44.000Z
include/tao/seq/first.hpp
LaudateCorpus1/sequences
637e0abe60bee381a58e2a933829f39b4459587a
[ "MIT" ]
12
2015-11-17T12:34:47.000Z
2022-02-02T00:47:50.000Z
// Copyright (c) 2019-2020 Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/sequences/ #ifndef TAO_SEQ_FIRST_HPP #define TAO_SEQ_FIRST_HPP #include <cstddef> #include "make_integer_sequence.hpp" #include "select.hpp" namespace tao { namespace seq { namespace impl { ...
23.25
79
0.550868
LaudateCorpus1
73b6f8bb711ea1c657973659ab7a0506ab535f7b
260
cpp
C++
122A.cpp
shaonsani/Codefoce_solving
80b821267f35bc62cd8016a378e7facc890d6ad0
[ "MIT" ]
null
null
null
122A.cpp
shaonsani/Codefoce_solving
80b821267f35bc62cd8016a378e7facc890d6ad0
[ "MIT" ]
null
null
null
122A.cpp
shaonsani/Codefoce_solving
80b821267f35bc62cd8016a378e7facc890d6ad0
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int s; cin>>s; if(s==4||s==47||s==744||s%4==0||s%7==0||s%47==0||s%744==0||s==477) { cout<<"YES"<<endl; } else cout<<"NO"<<endl; return 0; }
15.294118
71
0.423077
shaonsani
73b7dbdadddb23d907f6c381317a32ac4f8bd01d
1,916
hh
C++
common/dstage/dstage.hh
PeterVondras/DAS
72dd5223280ec121f998b4932cc6bf7e83187d46
[ "MIT" ]
null
null
null
common/dstage/dstage.hh
PeterVondras/DAS
72dd5223280ec121f998b4932cc6bf7e83187d46
[ "MIT" ]
null
null
null
common/dstage/dstage.hh
PeterVondras/DAS
72dd5223280ec121f998b4932cc6bf7e83187d46
[ "MIT" ]
null
null
null
// This is an implementation file which is being included as a header so that // we can have dynamic template specialization at compile time. #ifndef DANS02_DSTAGE_CC_IMPL__ #define DANS02_DSTAGE_CC_IMPL__ #include "common/dstage/dstage.h" #include "common/dstage/dstage.h" #include "common/dstage/job.h" #include "glo...
37.568627
79
0.700939
PeterVondras
73b8a583b028e60e2e3777dc80654d9a7d06cc73
4,916
cpp
C++
src/images/SkWebpEncoder.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
src/images/SkWebpEncoder.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
src/images/SkWebpEncoder.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2010 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/images/SkImageEncoderPriv.h" #ifdef SK_ENCODE_WEBP # include "include/core/SkBitmap.h" # include "include/core/SkStream.h" # include "in...
31.312102
99
0.693043
NearTox
73b8e1ff9e9f2d3e3810ccd15e96702288b7047a
3,341
inl
C++
OgreMain/include/Math/Array/SSE2/Single/OgreBooleanMask.inl
FreeNightKnight/ogre-next
f2d1a31887a87c492b4225e063325c48693fec19
[ "MIT" ]
701
2019-09-08T15:56:41.000Z
2022-03-31T05:51:26.000Z
OgreMain/include/Math/Array/SSE2/Single/OgreBooleanMask.inl
FreeNightKnight/ogre-next
f2d1a31887a87c492b4225e063325c48693fec19
[ "MIT" ]
204
2019-09-01T23:02:32.000Z
2022-03-28T14:58:39.000Z
OgreMain/include/Math/Array/SSE2/Single/OgreBooleanMask.inl
FreeNightKnight/ogre-next
f2d1a31887a87c492b4225e063325c48693fec19
[ "MIT" ]
188
2019-09-05T05:14:46.000Z
2022-03-22T21:51:39.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE-Next (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any pe...
45.148649
106
0.55642
FreeNightKnight
73b935d09ea959f7fc3cc2c5fd76ddb882c12193
1,915
cc
C++
pw_multisink/drain.cc
silvergasp/pigweed
b095218bcd7064ddcc5af5f689ce235fc9e4cc91
[ "Apache-2.0" ]
null
null
null
pw_multisink/drain.cc
silvergasp/pigweed
b095218bcd7064ddcc5af5f689ce235fc9e4cc91
[ "Apache-2.0" ]
null
null
null
pw_multisink/drain.cc
silvergasp/pigweed
b095218bcd7064ddcc5af5f689ce235fc9e4cc91
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The Pigweed 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
36.826923
80
0.724804
silvergasp
73b95aae10827f69ac7ebe18a488b36566b0a014
4,980
hpp
C++
src/projects/dbg/graph_printing.hpp
AntonBankevich/LJA
979d7929bf0b39fd142ec6465dc0c17814465ef9
[ "BSD-3-Clause" ]
53
2021-10-10T22:16:27.000Z
2022-03-23T06:21:06.000Z
src/projects/dbg/graph_printing.hpp
AntonBankevich/LJA
979d7929bf0b39fd142ec6465dc0c17814465ef9
[ "BSD-3-Clause" ]
20
2021-05-10T07:44:24.000Z
2022-03-24T13:23:58.000Z
src/projects/dbg/graph_printing.hpp
AntonBankevich/DR
73450ad3b25f90a3c7747aaf17fe60d13d9692d3
[ "BSD-3-Clause" ]
6
2022-01-27T01:45:56.000Z
2022-03-18T04:23:33.000Z
#pragma once #include "component.hpp" #include "sparse_dbg.hpp" namespace dbg { inline void printFasta(std::ostream &out, const Component &component, bool mask = false) { size_t cnt = 0; size_t masked_cnt = 1; for (Edge &edge : component.edges()) { Sequence edge_seq = edge.start...
41.5
128
0.48494
AntonBankevich
73b9be014515a643a6e293b7d7f083e336f1f05d
1,564
cpp
C++
source/fixed_pool.cpp
bhlzlx/EASTL
80eb36c5a6986f814d0983ec26269cbb4ea71ffc
[ "BSD-3-Clause" ]
6,852
2016-02-10T00:42:20.000Z
2022-03-30T07:33:48.000Z
source/fixed_pool.cpp
bhlzlx/EASTL
80eb36c5a6986f814d0983ec26269cbb4ea71ffc
[ "BSD-3-Clause" ]
457
2015-05-01T22:07:45.000Z
2022-03-31T02:19:10.000Z
source/fixed_pool.cpp
bhlzlx/EASTL
80eb36c5a6986f814d0983ec26269cbb4ea71ffc
[ "BSD-3-Clause" ]
1,041
2016-02-10T02:21:49.000Z
2022-03-31T14:10:02.000Z
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Electronic Arts Inc. All rights reserved. /////////////////////////////////////////////////////////////////////////////// #include <EASTL/internal/fixed_pool.h> #include <EASTL/fixed_allocator.h> namespace eastl { E...
22.028169
88
0.582481
bhlzlx
73bdcd8657fe494fd4c9ce0a8f63bdac667c3553
4,882
cpp
C++
gporca/libnaucrates/src/parser/CParseHandlerMetadataColumns.cpp
Tanmoy248/gpdb
67fa1568b3ef2dc1c7757e3e94705de2f92e124b
[ "PostgreSQL", "Apache-2.0" ]
null
null
null
gporca/libnaucrates/src/parser/CParseHandlerMetadataColumns.cpp
Tanmoy248/gpdb
67fa1568b3ef2dc1c7757e3e94705de2f92e124b
[ "PostgreSQL", "Apache-2.0" ]
null
null
null
gporca/libnaucrates/src/parser/CParseHandlerMetadataColumns.cpp
Tanmoy248/gpdb
67fa1568b3ef2dc1c7757e3e94705de2f92e124b
[ "PostgreSQL", "Apache-2.0" ]
1
2022-03-22T18:45:41.000Z
2022-03-22T18:45:41.000Z
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2011 Greenplum, Inc. // // @filename: // CParseHandlerMetadataColumns.cpp // // @doc: // Implementation of the SAX parse handler class for parsing a list of // columns in a relation's metadata. //----...
30.135802
162
0.618189
Tanmoy248
73c0f71c280326d953f8257b2bfb28be5e49382d
86,689
cpp
C++
gen/make_mat_h.cpp
HolyBlackCat/LD45
0a4211826bae66d0076fe5ffaeefc021e759247c
[ "Zlib" ]
1
2019-10-08T02:49:24.000Z
2019-10-08T02:49:24.000Z
gen/make_mat_h.cpp
HolyBlackCat/LD45
0a4211826bae66d0076fe5ffaeefc021e759247c
[ "Zlib" ]
null
null
null
gen/make_mat_h.cpp
HolyBlackCat/LD45
0a4211826bae66d0076fe5ffaeefc021e759247c
[ "Zlib" ]
null
null
null
#include <cstdlib> #include <cstring> #include <fstream> #include <functional> #include <iostream> #include <string> #include <sstream> #include <type_traits> #define VERSION "3.1.7" #pragma GCC diagnostic ignored "-Wpragmas" // Silence GCC warning about the next line disabling a warning that GCC doesn't have. #pragm...
47.920951
251
0.35377
HolyBlackCat
73c161b58274a57a59cce924c645d7a966054c10
10,620
cc
C++
pagespeed/system/controller_manager.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
2
2019-11-02T07:54:17.000Z
2020-04-16T09:26:51.000Z
pagespeed/system/controller_manager.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
12
2017-03-14T18:26:11.000Z
2021-10-01T15:33:50.000Z
pagespeed/system/controller_manager.cc
dimitrilongo/mod_pagespeed
d0d3bc51aa4feddf010b7085872c64cc46b5aae0
[ "Apache-2.0" ]
1
2020-04-16T09:28:30.000Z
2020-04-16T09:28:30.000Z
// Copyright 2016 Google 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 or agreed to in...
35.518395
80
0.651789
dimitrilongo
73c1797ace43d650ae89e6b1ea877ba8fa310af3
28,751
cpp
C++
src/LuminoEngine/src/Scene/MeshVoxelmap/MeshVoxelset.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Scene/MeshVoxelmap/MeshVoxelset.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Scene/MeshVoxelmap/MeshVoxelset.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
 #include "Internal.hpp" #include <LuminoEngine/Graphics/Texture.hpp> #include <LuminoEngine/Rendering/Material.hpp> #include <LuminoEngine/Rendering/RenderingContext.hpp> #include <LuminoEngine/Scene/MeshVoxelmap/MeshVoxelset.hpp> #include <LuminoEngine/Graphics/Texture.hpp> #include <LuminoEngine/Mesh/MeshModel.hpp...
36.25599
183
0.597127
infinnie
73c36ed2f433cceb2c7ca1355a34414c1d746ab5
19,967
cpp
C++
openbmc_modules/phosphor-objmgr/src/test/associations.cpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
14
2021-11-04T07:47:37.000Z
2022-03-21T10:10:30.000Z
openbmc_modules/phosphor-objmgr/src/test/associations.cpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
11
2016-02-09T17:47:53.000Z
2021-08-05T03:39:09.000Z
openbmc_modules/phosphor-objmgr/src/test/associations.cpp
Eyerunmyden/HWMgmt-MegaRAC-OpenEdition
72b03e9fc6e2a13184f1c57b8045b616db9b0a6d
[ "Apache-2.0", "MIT" ]
7
2015-10-19T18:28:07.000Z
2018-11-22T00:35:25.000Z
#include "src/associations.hpp" #include "src/test/util/asio_server_class.hpp" #include "src/test/util/association_objects.hpp" #include "src/test/util/debug_output.hpp" #include <sdbusplus/asio/connection.hpp> #include <sdbusplus/asio/object_server.hpp> #include <gtest/gtest.h> class TestAssociations : public Asio...
35.153169
80
0.698903
Eyerunmyden
73c3942edc74b19f04454276b6220f023326ba9e
27,417
cpp
C++
src/share.cpp
voidluffy/ipmsg342r2src
2134d79fca21f0d434a8561fed873c9a3753339e
[ "X11", "Unlicense" ]
20
2017-08-24T01:44:13.000Z
2022-02-18T16:05:40.000Z
src/share.cpp
voidluffy/ipmsg342r2src
2134d79fca21f0d434a8561fed873c9a3753339e
[ "X11", "Unlicense" ]
null
null
null
src/share.cpp
voidluffy/ipmsg342r2src
2134d79fca21f0d434a8561fed873c9a3753339e
[ "X11", "Unlicense" ]
29
2017-08-24T01:44:14.000Z
2022-02-06T11:57:37.000Z
static char *share_id = "@(#)Copyright (C) H.Shirouzu 2002-2012 share.cpp Ver3.40"; /* ======================================================================== Project Name : IP Messenger for Win32 Module Name : File Share Create : 2002-04-14(Sun) Update : 2012-04-02(Mon) Copyright : H.Shirou...
25.889518
175
0.664186
voidluffy
73c805423bb74136b658ae2c865af1b07203a4e7
57,561
ipp
C++
REDSI_1160929_1161573/boost_1_67_0/libs/multiprecision/test/math/high_prec/gamma_neg.ipp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
85
2015-02-08T20:36:17.000Z
2021-11-14T20:38:31.000Z
libs/boost/libs/multiprecision/test/math/high_prec/gamma_neg.ipp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/boost/libs/multiprecision/test/math/high_prec/gamma_neg.ipp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
27
2015-01-28T16:33:30.000Z
2021-08-12T05:04:39.000Z
static const boost::array<boost::array<typename table_type<T>::type, 3>, 37> gamma_neg = {{ { SC_(-1.99999923706054687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
1,338.627907
1,552
0.978979
Wultyc
73c84c2fe0155d21d7059938330e44fa3668c6df
8,887
cc
C++
paddle/fluid/operators/detection_map_op.cc
yucheng20170406/Paddle
e91fa1741be58899a58e55f3f1625a51fd95aba0
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/detection_map_op.cc
yucheng20170406/Paddle
e91fa1741be58899a58e55f3f1625a51fd95aba0
[ "Apache-2.0" ]
3
2018-04-11T10:25:51.000Z
2018-04-12T01:17:22.000Z
paddle/fluid/operators/detection_map_op.cc
zhaofenqiang/PaddleOnACL
e543af14589e2311ae2f3f6c9887b537d2048666
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
45.341837
80
0.62507
yucheng20170406
73c86456ccc0491f3519f68c2cb39c89001f7ad1
3,021
cpp
C++
src/ImathTest/testToFloat.cpp
methodstudios/Imath
64810ce8ca9d980f1b397d895d20ad8d284f68ad
[ "BSD-3-Clause" ]
1
2021-01-10T16:32:43.000Z
2021-01-10T16:32:43.000Z
src/ImathTest/testToFloat.cpp
oxt3479/Imath
39c31ca077ab76a854c70f0d6810fb36eed37d73
[ "BSD-3-Clause" ]
null
null
null
src/ImathTest/testToFloat.cpp
oxt3479/Imath
39c31ca077ab76a854c70f0d6810fb36eed37d73
[ "BSD-3-Clause" ]
null
null
null
// // SPDX-License-Identifier: BSD-3-Clause // Copyright Contributors to the OpenEXR Project. // #ifdef NDEBUG # undef NDEBUG #endif #include <assert.h> #include <cmath> #include <half.h> #include <iomanip> #include <iostream> using namespace std; // // This test uses the code that generates the toFLoat.h header...
18.309091
77
0.42337
methodstudios
73c86ddec0d10caf6ddf2f679312fa5aca183b13
1,160
cpp
C++
Lab10&11/a1.cpp
dipsonu10/OOPsLabClass
231e608e7301c4802e24de9d5541e435e2f620d3
[ "MIT" ]
null
null
null
Lab10&11/a1.cpp
dipsonu10/OOPsLabClass
231e608e7301c4802e24de9d5541e435e2f620d3
[ "MIT" ]
null
null
null
Lab10&11/a1.cpp
dipsonu10/OOPsLabClass
231e608e7301c4802e24de9d5541e435e2f620d3
[ "MIT" ]
null
null
null
/*WAP in C++ which will overload the Binary Operator (+) where the program will add two Array, store in the resultant array and display the same using member function.*/ #include <iostream> using namespace std; class Addition { public: int *arr; int size; Addition(int S) : size(S) { arr = new int[...
19.333333
87
0.516379
dipsonu10
73c9da8cae3e8e3e636dcdb0440aaa4b9f0e541b
11,561
cpp
C++
code/Core/MDMA_core/src/UI/zoneeditor.cpp
Amxx/MDMA
3be4269e252712081c70522f2af56463da5ac868
[ "CECILL-B" ]
1
2022-01-17T06:39:22.000Z
2022-01-17T06:39:22.000Z
code/Core/MDMA_core/src/UI/zoneeditor.cpp
Amxx/MDMA
3be4269e252712081c70522f2af56463da5ac868
[ "CECILL-B" ]
null
null
null
code/Core/MDMA_core/src/UI/zoneeditor.cpp
Amxx/MDMA
3be4269e252712081c70522f2af56463da5ac868
[ "CECILL-B" ]
null
null
null
#include "zoneeditor.h" #include "ui_zoneeditor.h" #include <QDebug> ZoneEditor::ZoneEditor(Zone& zn, QWidget *parent) : QDialog(parent), ui(new Ui::ZoneEditor), _zn(zn) { ui->setupUi(this); ui->lineEdit_name->setText(_zn._name); ui->comboBox_tab->setCurrentIndex(_zn._tab); ui->tabWidget_type->setCurrentIndex...
38.795302
117
0.636969
Amxx
73ca2c4e220c5484120a7d53e119af4a0e0e8863
4,291
cc
C++
ash/capture_mode/capture_mode_test_api.cc
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
ash/capture_mode/capture_mode_test_api.cc
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
ash/capture_mode/capture_mode_test_api.cc
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.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 "ash/public/cpp/capture_mode/capture_mode_test_api.h" #include "ash/capture_mode/capture_mode_controller.h" #include "ash/capture_mode/capture_m...
33.263566
79
0.783034
blueboxd
73ca5dfab71e0b17d2d290fcc37b81b02ad760ab
2,786
cpp
C++
ontheline.cpp
hiratake26to/tg_ontheline
e471378eff39ea1fd134d0f155a6f159a30462b3
[ "CECILL-B" ]
null
null
null
ontheline.cpp
hiratake26to/tg_ontheline
e471378eff39ea1fd134d0f155a6f159a30462b3
[ "CECILL-B" ]
null
null
null
ontheline.cpp
hiratake26to/tg_ontheline
e471378eff39ea1fd134d0f155a6f159a30462b3
[ "CECILL-B" ]
null
null
null
/** * license is free * \file ontheline.cpp * \author hiratake26to@gmail.com * \date 2017-10-11 JST */ #include <iostream> #include <boost/numeric/ublas/vector.hpp> /** * \brief mouse pointer is on the line * \param xa x of equipment A * \param ya y of equipment A * \param xb x of equipment B * \pa...
28.721649
72
0.548457
hiratake26to
73cdfc12a38991f9288e6ca46fcefbd258e35b32
2,265
cpp
C++
eval/src/vespa/eval/tensor/dense/dense_tensor.cpp
yehzu/vespa
a439476f948f52a57485f5e7700b17bf9aa73417
[ "Apache-2.0" ]
null
null
null
eval/src/vespa/eval/tensor/dense/dense_tensor.cpp
yehzu/vespa
a439476f948f52a57485f5e7700b17bf9aa73417
[ "Apache-2.0" ]
null
null
null
eval/src/vespa/eval/tensor/dense/dense_tensor.cpp
yehzu/vespa
a439476f948f52a57485f5e7700b17bf9aa73417
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "dense_tensor.h" #include <vespa/vespalib/util/stringfmt.h> #include <vespa/vespalib/util/exceptions.h> #include <vespa/eval/eval/operation.h> using vespalib::eval::TensorSpec; namespace ve...
29.038462
118
0.561589
yehzu
73ce1fea608193d9db2d0d86c591af770d758ca7
641
cpp
C++
basic/misc/hacker_rank/hackerrank/countingsort2.cpp
sanjosh/smallprogs
8acf7a357080b9154b55565be7c7667db0d4049b
[ "Apache-2.0" ]
7
2017-02-28T06:33:43.000Z
2021-12-17T04:58:19.000Z
basic/misc/hacker_rank/hackerrank/countingsort2.cpp
sanjosh/smallprogs
8acf7a357080b9154b55565be7c7667db0d4049b
[ "Apache-2.0" ]
null
null
null
basic/misc/hacker_rank/hackerrank/countingsort2.cpp
sanjosh/smallprogs
8acf7a357080b9154b55565be7c7667db0d4049b
[ "Apache-2.0" ]
3
2017-02-28T06:33:30.000Z
2021-02-25T09:42:31.000Z
#include <cmath> #include <cassert> #include <cstdio> #include <vector> #include <map> #include <iostream> #include <algorithm> using namespace std; int main() { long n; cin >> n; std::map<int, int> freq; for (int i = 0; i < 100; i ++) { freq.insert({i, 0}); } for (int i = 0; i < n; i ++) { int a; cin >>...
16.435897
65
0.539782
sanjosh
73d000b4cf6deb66527da35e1433dd2b70808ad2
37,819
cpp
C++
mps/qtt.cpp
ClarkResearchGroup/tensor-tools
25fe4553991d2680b43301aef1960e4c20f1e146
[ "Apache-2.0" ]
8
2020-07-14T01:55:51.000Z
2022-02-12T14:06:59.000Z
mps/qtt.cpp
ClarkResearchGroup/tensor-tools
25fe4553991d2680b43301aef1960e4c20f1e146
[ "Apache-2.0" ]
1
2020-07-31T02:43:25.000Z
2020-08-08T16:18:36.000Z
mps/qtt.cpp
ClarkResearchGroup/tensor-tools
25fe4553991d2680b43301aef1960e4c20f1e146
[ "Apache-2.0" ]
1
2020-12-01T03:40:26.000Z
2020-12-01T03:40:26.000Z
/* * Copyright 2020 Ryan Levy, Xiongjie Yu, and Bryan K. Clark * * 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 requir...
37.743513
151
0.59634
ClarkResearchGroup
73d13975c3f512ef80c422d1ee19e29ff4324e48
1,094
cpp
C++
solutions/1285/competition.cpp
buptlxb/hihoCoder
1995bdfda29d4dab98c002870ef0bc138bc37ce7
[ "Apache-2.0" ]
44
2016-05-11T06:41:14.000Z
2021-12-20T13:45:41.000Z
solutions/1285/competition.cpp
buptlxb/hihoCoder
1995bdfda29d4dab98c002870ef0bc138bc37ce7
[ "Apache-2.0" ]
null
null
null
solutions/1285/competition.cpp
buptlxb/hihoCoder
1995bdfda29d4dab98c002870ef0bc138bc37ce7
[ "Apache-2.0" ]
10
2016-06-25T08:55:20.000Z
2018-07-06T05:52:53.000Z
#include <iostream> #include <vector> #include <limits> #include <algorithm> using namespace std; int solve(const vector<int> &levels, int m, int s, int t) { vector<vector<int>> dp(levels.size()+1, vector<int>(m+1, m+1)); dp[0].assign(m+1, 0); for (int i = 1; i < dp.size(); ++i) { int right = (lev...
25.44186
71
0.442413
buptlxb
73d333297b66e64bd7689c44daddf68d9385bdd4
1,191
cpp
C++
practice/Graphs/Unreachable_nodes_DFS.cpp
Razdeep/Hackerearth-Solutions
af37a2f8271c11ca5ed7ab7a8b1a1ff3436f0ea0
[ "MIT" ]
null
null
null
practice/Graphs/Unreachable_nodes_DFS.cpp
Razdeep/Hackerearth-Solutions
af37a2f8271c11ca5ed7ab7a8b1a1ff3436f0ea0
[ "MIT" ]
null
null
null
practice/Graphs/Unreachable_nodes_DFS.cpp
Razdeep/Hackerearth-Solutions
af37a2f8271c11ca5ed7ab7a8b1a1ff3436f0ea0
[ "MIT" ]
null
null
null
/** * --------------------------- * DFS on graph using stacks * --------------------------- * @author: Rajdeep Roy Chowdhury <rrajdeeproychowdhury@gmail.com> * * https://www.hackerearth.com/practice/algorithms/graphs/depth-first-search/tutorial/ * * */ #include <iostream> #include <vector> #include <stack> #i...
20.894737
86
0.609572
Razdeep
73d508784186fcdebcba6f426b00e13821c6d05e
6,272
cpp
C++
cpp/tests/hifst.task.grammar.gtest.cpp
aurelienwaite/ucam-smt
92781cd777bb62c69e6e73fb29edcd80112e76c9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cpp/tests/hifst.task.grammar.gtest.cpp
aurelienwaite/ucam-smt
92781cd777bb62c69e6e73fb29edcd80112e76c9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cpp/tests/hifst.task.grammar.gtest.cpp
aurelienwaite/ucam-smt
92781cd777bb62c69e6e73fb29edcd80112e76c9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use these files except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed...
33.540107
124
0.649394
aurelienwaite
73d726bde462b5b8c2bb08eb1f5a2e6b4df6403f
647
cpp
C++
src/dopefed.cpp
kant/dopefed
1d5e0170e75eb6899b9feda2e584e23bb01896b8
[ "BSD-3-Clause" ]
5
2019-09-22T19:56:33.000Z
2020-07-06T22:26:26.000Z
src/dopefed.cpp
kant/dopefed
1d5e0170e75eb6899b9feda2e584e23bb01896b8
[ "BSD-3-Clause" ]
1
2019-10-28T08:03:21.000Z
2019-10-28T08:03:21.000Z
src/dopefed.cpp
kant/dopefed
1d5e0170e75eb6899b9feda2e584e23bb01896b8
[ "BSD-3-Clause" ]
1
2019-10-24T19:53:35.000Z
2019-10-24T19:53:35.000Z
/////////////////////////////////////////////////// // // Dopefed Plugin for VCV Version 1 // // Strum 2018-19 // strum@softhome.net // /////////////////////////////////////////////////// #include "dopefed.hpp" Plugin *pluginInstance; void init(rack::Plugin *p) { pluginInstance = p; // Add all Models defin...
24.884615
130
0.615147
kant
73d7da7130321a077a8613b99b8ac3f0bfa48458
23,357
cpp
C++
components/view/qtcomponentstableview_internal.cpp
jhupo/qt-components
e5797879f63d4fb544695d3abefb2a26767e86c5
[ "MIT" ]
null
null
null
components/view/qtcomponentstableview_internal.cpp
jhupo/qt-components
e5797879f63d4fb544695d3abefb2a26767e86c5
[ "MIT" ]
null
null
null
components/view/qtcomponentstableview_internal.cpp
jhupo/qt-components
e5797879f63d4fb544695d3abefb2a26767e86c5
[ "MIT" ]
null
null
null
#include "qtcomponentstableview.h" #include "qtcomponentstableview_internal.h" #include "components/lib/qtcomponentstools.h" #include "components/button/qtcomponentsbutton.h" #include <QMouseEvent> #include <QPainter> #include <QCheckBox> #include <QScrollBar> #include <QHBoxLayout> #include <QVBoxLayout> #include <Q...
30.936424
188
0.653765
jhupo
73d8338aff8e61fb924454a249948f1a31453eaf
2,126
cpp
C++
Evil Space/Random.cpp
Cellyceos/Evil-Space
0c153d07855aa7ae2bd5e47e7ae95d78ba01ee9d
[ "MIT" ]
null
null
null
Evil Space/Random.cpp
Cellyceos/Evil-Space
0c153d07855aa7ae2bd5e47e7ae95d78ba01ee9d
[ "MIT" ]
null
null
null
Evil Space/Random.cpp
Cellyceos/Evil-Space
0c153d07855aa7ae2bd5e47e7ae95d78ba01ee9d
[ "MIT" ]
2
2020-03-29T12:32:51.000Z
2021-03-14T09:18:32.000Z
#include "stdafx.h" #include "Random.h" using namespace std; Random::Random() { SeedGeneration(GetTickCount()); } Random::Random(int seed) { SeedGeneration(seed); } Random::~Random() { delete SeedArray; } void Random::SeedGeneration(int seed) { SeedArray = new int[56]; int num2 = 161803398 - abs(seed); Seed...
14.561644
75
0.596896
Cellyceos
73d8683e9b7a0545cc0ffa7e87831c226cdd88ae
32,564
cc
C++
kvs/daemon.cc
rescrv/Consus
bb05df2f314b1dc7510a3fb73604491227ebc516
[ "BSD-3-Clause" ]
239
2016-12-13T16:27:52.000Z
2021-09-19T20:46:38.000Z
kvs/daemon.cc
ngaut/Consus
bb05df2f314b1dc7510a3fb73604491227ebc516
[ "BSD-3-Clause" ]
6
2016-12-19T02:11:28.000Z
2017-09-07T02:44:47.000Z
kvs/daemon.cc
ngaut/Consus
bb05df2f314b1dc7510a3fb73604491227ebc516
[ "BSD-3-Clause" ]
16
2016-12-18T09:48:28.000Z
2019-01-27T08:51:34.000Z
// Copyright (c) 2015-2016, Robert Escriva, Cornell University // 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...
26.539527
109
0.566024
rescrv
73d90fb54691a16837998b12599c69282956f24f
2,114
cpp
C++
src/xray/maya_animation/sources/sisl/s1350.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/maya_animation/sources/sisl/s1350.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/maya_animation/sources/sisl/s1350.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
#include "pch.h" #define S1350 #include "sislP.h" #if defined(SISLNEEDPROTOTYPES) void s1350(sisl_double ep[],sisl_double epar[], int im,int idim,int ik, SISLCurve **rc, int *jstat) #else void s1350(ep,epar,im,idim,ik,rc,jstat) sisl_double ep[]; sisl_double epar[]; int im; int idim; ...
17.186992
89
0.486282
ixray-team
73da0859e3f717bfd9a9b7d5b02790781db4b14d
5,013
cpp
C++
src/Domain/Creators/Cylinder.cpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
null
null
null
src/Domain/Creators/Cylinder.cpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
null
null
null
src/Domain/Creators/Cylinder.cpp
tomwlodarczyk/spectre
086aaee002f2f07eb812cf17b8e1ba54052feb71
[ "MIT" ]
1
2019-01-03T21:47:04.000Z
2019-01-03T21:47:04.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Domain/Creators/Cylinder.hpp" #include <array> #include <cmath> #include <memory> #include <unordered_map> #include <vector> #include "Domain/Creators/DomainCreator.hpp" // IWYU pragma: keep #include "Domain/Domain.hpp" #include "Domain...
45.572727
79
0.620786
tomwlodarczyk
73dacf82bad5f57ee466d07246f547adced7b4e2
19
cpp
C++
Mantle/Source/mtlpch.cpp
AiManti1/Graphics
050816bf16202b09440412314338373a4d0d6c04
[ "Apache-2.0" ]
null
null
null
Mantle/Source/mtlpch.cpp
AiManti1/Graphics
050816bf16202b09440412314338373a4d0d6c04
[ "Apache-2.0" ]
null
null
null
Mantle/Source/mtlpch.cpp
AiManti1/Graphics
050816bf16202b09440412314338373a4d0d6c04
[ "Apache-2.0" ]
null
null
null
#include "mtlpch.h"
19
19
0.736842
AiManti1