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
d2dcd4c2633801db322269d367ba024fb961ad47
384
cpp
C++
string_array/string_array/main.cpp
silentShadow/C-plus-plus
fb0108beb83f69d0c207f75dc29fae8c1657121c
[ "MIT" ]
null
null
null
string_array/string_array/main.cpp
silentShadow/C-plus-plus
fb0108beb83f69d0c207f75dc29fae8c1657121c
[ "MIT" ]
null
null
null
string_array/string_array/main.cpp
silentShadow/C-plus-plus
fb0108beb83f69d0c207f75dc29fae8c1657121c
[ "MIT" ]
null
null
null
// // main.cpp // string_array // // Created by Jonathan Reiter on 6/3/16. // Copyright © 2016 Jonathan Reiter. All rights reserved. // #include <iostream> #include <string> using namespace std; int main() { string members[] = {"Jonny", "Paul", "Ben", "Ringo"}; for (int i = 0; i < 4; i++) { ...
15.36
58
0.541667
silentShadow
d2df115b253d364d5896a77c6d1692ca58081a1d
8,957
cpp
C++
track_odometry/test/src/test_track_odometry.cpp
fangzheng81/neonavigation
1251ac6dfcb7fa102a21925863ff930a3fc03111
[ "BSD-3-Clause" ]
1
2019-09-26T01:13:02.000Z
2019-09-26T01:13:02.000Z
track_odometry/test/src/test_track_odometry.cpp
DiaS-77/neonavigation
486e0b34d0c5601e3a8517c71ba329535e641b6b
[ "BSD-3-Clause" ]
null
null
null
track_odometry/test/src/test_track_odometry.cpp
DiaS-77/neonavigation
486e0b34d0c5601e3a8517c71ba329535e641b6b
[ "BSD-3-Clause" ]
2
2019-10-05T12:27:54.000Z
2020-07-23T10:42:47.000Z
/* * Copyright (c) 2018-2019, the neonavigation authors * 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 * not...
30.057047
97
0.67824
fangzheng81
d2e1fa813fc7092527657cca4336ad0055119896
1,195
cpp
C++
examples/simpleClientClass/simpleStreamer.cpp
Max-Mobility/socket.io-client-cpp
575223b4f8e6664493a0c6ff88b66297a92d38d6
[ "MIT" ]
null
null
null
examples/simpleClientClass/simpleStreamer.cpp
Max-Mobility/socket.io-client-cpp
575223b4f8e6664493a0c6ff88b66297a92d38d6
[ "MIT" ]
null
null
null
examples/simpleClientClass/simpleStreamer.cpp
Max-Mobility/socket.io-client-cpp
575223b4f8e6664493a0c6ff88b66297a92d38d6
[ "MIT" ]
null
null
null
#include "simpleClient.h" void SimpleStreamer::on_connected() { _lock.lock(); _cond.notify_all(); _connect_finish = true; _connected = true; _lock.unlock(); } void SimpleStreamer::on_close() { _connected = false; } void SimpleStreamer::on_fail() { _lock.lock(); _cond.notify_all(); _connect_fi...
15.126582
75
0.666109
Max-Mobility
d2e20c703eb0cbf9df4758d98a5a93fa06058a27
57
hpp
C++
Example/Pods/Headers/Public/WCDB/WCDB/statement_release.hpp
hatjs880328s/IIPureOCWCDB
14e1dbe450a6b8e0119ff5ef1ce4f4edb5e1e211
[ "MIT" ]
5
2020-09-06T08:22:27.000Z
2021-09-22T05:32:53.000Z
iOSProjects/Pods/Headers/Public/WCDB/WCDB/statement_release.hpp
YYDreams/iOSProjects
7b142ecfb82349c5301816d3bc46cc2a76f16683
[ "Apache-2.0" ]
null
null
null
iOSProjects/Pods/Headers/Public/WCDB/WCDB/statement_release.hpp
YYDreams/iOSProjects
7b142ecfb82349c5301816d3bc46cc2a76f16683
[ "Apache-2.0" ]
5
2020-04-29T11:20:00.000Z
2021-11-09T08:49:20.000Z
../../../../WCDB/objc/WCDB/abstract/statement_release.hpp
57
57
0.701754
hatjs880328s
d2e326ff3d07283e34d6306577e70363005bcd0e
122
cpp
C++
code/engine.vc2008/xrManagedEngineLib/CallbackTypes.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/engine.vc2008/xrManagedEngineLib/CallbackTypes.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/engine.vc2008/xrManagedEngineLib/CallbackTypes.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
3
2020-10-12T18:04:42.000Z
2020-10-12T18:04:59.000Z
#include "stdafx.h" #include "FunctionInvoker.h" FunctionInvoker<unsigned int> Shedule_Update_Invoker("shedule_update");
24.4
71
0.811475
Rikoshet-234
5e44f233b6c7218a0f767c76deb368be7ac82a10
1,071
cpp
C++
src/graphics/renderable/Layer.cpp
vitaminac/minige
15adb8084e66b5e6800b706559d1ce63220ea116
[ "MIT" ]
1
2021-03-25T13:40:11.000Z
2021-03-25T13:40:11.000Z
src/graphics/renderable/Layer.cpp
vitaminac/minige
15adb8084e66b5e6800b706559d1ce63220ea116
[ "MIT" ]
null
null
null
src/graphics/renderable/Layer.cpp
vitaminac/minige
15adb8084e66b5e6800b706559d1ce63220ea116
[ "MIT" ]
null
null
null
#include "Layer.h" namespace gengine { namespace graphics { Layer::Layer(Renderer2D* renderer, Shader* shader, geometry::mat4 projection_matrix) :renderer(renderer), shader(shader), projection_matrix(projection_matrix) { this->shader->enable(); this->shader->setUniformMat4(...
28.945946
166
0.54155
vitaminac
5e45de3a22442603be005b2bea678374f8288439
2,046
cc
C++
auth/tests/desktop/rpcs/reset_password_test.cc
IvanArtogon/firebase-cpp-sdk
dbe14b68c6cd7aeb585f560bf093fc76fab6fbc5
[ "Apache-2.0" ]
1
2021-02-14T19:09:51.000Z
2021-02-14T19:09:51.000Z
auth/tests/desktop/rpcs/reset_password_test.cc
IvanArtogon/firebase-cpp-sdk
dbe14b68c6cd7aeb585f560bf093fc76fab6fbc5
[ "Apache-2.0" ]
null
null
null
auth/tests/desktop/rpcs/reset_password_test.cc
IvanArtogon/firebase-cpp-sdk
dbe14b68c6cd7aeb585f560bf093fc76fab6fbc5
[ "Apache-2.0" ]
1
2020-08-16T11:53:44.000Z
2020-08-16T11:53:44.000Z
// Copyright 2017 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
33
78
0.707234
IvanArtogon
5e464265d799784250e40ef0246d8ae0d37aba56
2,483
cpp
C++
aws-cpp-sdk-kinesisanalyticsv2/source/model/UpdateApplicationRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-kinesisanalyticsv2/source/model/UpdateApplicationRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-kinesisanalyticsv2/source/model/UpdateApplicationRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2020-11-04T03:18:11.000Z
2020-11-04T03:18:11.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/kinesisanalyticsv2/model/UpdateApplicationRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::KinesisAnalyticsV2::Model; using namespace ...
29.211765
185
0.808296
Neusoft-Technology-Solutions
5e4865e4ce97666c6f0b4d7ad91dd0e387932c87
3,077
cpp
C++
src/cosmoscout/main.cpp
bernstein/cosmoscout-vr
4243384a0f96853dc12fc8e9d5862c9c37f7cadf
[ "MIT" ]
null
null
null
src/cosmoscout/main.cpp
bernstein/cosmoscout-vr
4243384a0f96853dc12fc8e9d5862c9c37f7cadf
[ "MIT" ]
null
null
null
src/cosmoscout/main.cpp
bernstein/cosmoscout-vr
4243384a0f96853dc12fc8e9d5862c9c37f7cadf
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////// // This file is part of CosmoScout VR // // and may be used under the terms of the MIT license. See the LICENSE file for details. // // ...
33.086022
100
0.542411
bernstein
5e48b3deeca191dff86aa7d36cc8c5f2ab15b218
1,967
hpp
C++
src/viewer/tile_provider.hpp
malasiot/maplite
1edeec673110cdd5fa904ff2ff88289b6c3ec324
[ "MIT" ]
12
2017-05-11T21:44:57.000Z
2021-12-30T08:35:56.000Z
src/viewer/tile_provider.hpp
malasiot/mftools
1edeec673110cdd5fa904ff2ff88289b6c3ec324
[ "MIT" ]
8
2016-10-27T10:10:05.000Z
2019-12-07T21:27:02.000Z
src/viewer/tile_provider.hpp
malasiot/mftools
1edeec673110cdd5fa904ff2ff88289b6c3ec324
[ "MIT" ]
5
2017-10-17T08:18:58.000Z
2021-11-12T11:44:23.000Z
#ifndef __TILE_PROVIDER_H__ #define __TILE_PROVIDER_H__ #include <QPixmap> #include <QPixmapCache> #include "geometry.hpp" class TileProvider: public QObject { Q_OBJECT public: TileProvider(const QByteArray &id, unsigned int tileSize): tile_size_(tileSize), id_(id), async_(false), start_zoom_(-1), has...
28.926471
100
0.68124
malasiot
5e4c64946150222e401dbf38c34a8ebdbd70d2c0
962
cc
C++
chrome/browser/chromeos/policy/stub_enterprise_install_attributes.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-08-04T15:17:59.000Z
2016-10-23T08:11:14.000Z
chrome/browser/chromeos/policy/stub_enterprise_install_attributes.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/policy/stub_enterprise_install_attributes.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "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) 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 "chrome/browser/chromeos/policy/stub_enterprise_install_attributes.h" #include <string> #include "chrome/browser/policy/cloud/cloud_policy_...
26.722222
78
0.785863
pozdnyakov
5e4de08ccf4c1ed4e615d55ce4b84e736ec89ffa
10,624
cpp
C++
remodet_repository_wdh_part/hp_demo_bak.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/hp_demo_bak.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/hp_demo_bak.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
// if not use OPENCV, note it. #include <opencv2/opencv.hpp> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> // if not use, note it. #include <fstream> #include <iostream> #include <sstream> #include <string> #include <vector> #include <map> // Google log &...
36.634483
156
0.577654
UrwLee
5e4eeb30aab610c15d659219b4b2639ae6bf94b8
2,162
hh
C++
psdaq/psdaq/eb/Batch.hh
ZhenghengLi/lcls2
94e75c6536954a58c8937595dcac295163aa1cdf
[ "BSD-3-Clause-LBNL" ]
16
2017-11-09T17:10:56.000Z
2022-03-09T23:03:10.000Z
psdaq/psdaq/eb/Batch.hh
ZhenghengLi/lcls2
94e75c6536954a58c8937595dcac295163aa1cdf
[ "BSD-3-Clause-LBNL" ]
6
2017-12-12T19:30:05.000Z
2020-07-09T00:28:33.000Z
psdaq/psdaq/eb/Batch.hh
ZhenghengLi/lcls2
94e75c6536954a58c8937595dcac295163aa1cdf
[ "BSD-3-Clause-LBNL" ]
25
2017-09-18T20:02:43.000Z
2022-03-27T22:27:42.000Z
#ifndef Pds_Eb_Batch_hh #define Pds_Eb_Batch_hh #include "eb.hh" #include "psdaq/service/EbDgram.hh" #include <cstdint> // For uint64_t #include <cstddef> // for size_t namespace Pds { namespace Eb { class Batch { public: Batch(); public: sta...
23.758242
85
0.584181
ZhenghengLi
5e5016ca697c7845540ba25711dcfef827df438b
1,221
cpp
C++
src/EnemyWandering.cpp
anqin-gh/minimaze
cfa3df279c75d5fe95a2e69af4569a3981a6f274
[ "MIT" ]
null
null
null
src/EnemyWandering.cpp
anqin-gh/minimaze
cfa3df279c75d5fe95a2e69af4569a3981a6f274
[ "MIT" ]
null
null
null
src/EnemyWandering.cpp
anqin-gh/minimaze
cfa3df279c75d5fe95a2e69af4569a3981a6f274
[ "MIT" ]
null
null
null
#include <algorithm> #include <random> #include <EnemyWandering.h> #include <Renderer.h> #include <RendManager.h> namespace minimaze { EnemyWandering::EnemyWandering() : m_rend_manager{&RendManager::get_instance()} { init(); } void EnemyWandering::init() { std::default_random_engine generator; std::uniform_int_...
21.421053
64
0.719902
anqin-gh
5e560a970d4604b6a6b5b3ed5440ef5e5b52e92f
2,693
cpp
C++
internal/query/src/querier.cpp
mingkaic/tenncor
f2fa9652e55e9ca206de5e9741fe41bde43791c1
[ "BSL-1.0", "MIT" ]
1
2020-12-29T20:38:08.000Z
2020-12-29T20:38:08.000Z
internal/query/src/querier.cpp
mingkaic/tenncor
f2fa9652e55e9ca206de5e9741fe41bde43791c1
[ "BSL-1.0", "MIT" ]
16
2018-01-28T04:20:19.000Z
2021-01-23T09:38:52.000Z
internal/query/src/querier.cpp
mingkaic/tenncor
f2fa9652e55e9ca206de5e9741fe41bde43791c1
[ "BSL-1.0", "MIT" ]
null
null
null
#include "internal/query/querier.hpp" #ifdef QUERY_QUERIER_HPP namespace query { inline bool doub_eq (const double& a, const double& b) { return std::fabs(a - b) < std::numeric_limits<float>::epsilon(); } bool equals ( QResultsT& candidates, const marsh::iObject* attr, const Attribute& pba, const Query& matcher...
24.044643
76
0.59042
mingkaic
5e5710941b5bfedbc3bd03b2c065a90f96c0d2cd
16,820
cpp
C++
Modules/ExampleModule/src/smartrefinement.cpp
pv6/smart-refinement-tool
1221a0a22ec0fc868cf922267fd0af73697025ea
[ "BSD-3-Clause" ]
null
null
null
Modules/ExampleModule/src/smartrefinement.cpp
pv6/smart-refinement-tool
1221a0a22ec0fc868cf922267fd0af73697025ea
[ "BSD-3-Clause" ]
null
null
null
Modules/ExampleModule/src/smartrefinement.cpp
pv6/smart-refinement-tool
1221a0a22ec0fc868cf922267fd0af73697025ea
[ "BSD-3-Clause" ]
null
null
null
#include <smartrefinement.hpp> #include <queue> #include <iostream> #include <vvt/algorithms/generallsm.hpp> #include <vvt/algorithms/chanveselsm.hpp> namespace vvt { namespace accessory { SmartRefinement::SmartRefinement(viewer::base *viewer) : PropagationAccessory(viewer), smartBr...
37.968397
147
0.481391
pv6
5e59824552fc0d88437aa54cf513d0704cf47ee2
3,100
hpp
C++
src/stan/math/rev/core.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
src/stan/math/rev/core.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
src/stan/math/rev/core.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_REV_CORE_HPP #define STAN_MATH_REV_CORE_HPP #include <stan/math/rev/core/autodiffstackstorage.hpp> #include <stan/math/rev/core/build_vari_array.hpp> #include <stan/math/rev/core/chainable_alloc.hpp> #include <stan/math/rev/core/chainablestack.hpp> #include <stan/math/rev/core/init_chainablest...
47.692308
65
0.785806
alashworth
5e5bc38c68e2b2a36041f55727630c8942e686e4
1,337
cc
C++
solutions/cses/dp/1097.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
4
2020-11-07T14:38:02.000Z
2022-01-03T19:02:36.000Z
solutions/cses/dp/1097.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
1
2019-04-17T06:55:14.000Z
2019-04-17T06:55:14.000Z
solutions/cses/dp/1097.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
null
null
null
#include <stdio.h> #include <algorithm> #include <array> #include <bitset> #include <cassert> #include <climits> #include <cmath> #include <deque> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <string> #include <unordered_map> #incl...
20.890625
80
0.471952
zwliew
5e683509ed69e27ce1bc582e62270e503fe47f28
592
hpp
C++
include/rive/nested_animation.hpp
rive-app/rive-cpp
2cc9cc92868d468ca75f8b5fcc40ad1ec33d27b1
[ "MIT" ]
139
2020-08-17T20:10:24.000Z
2022-03-28T12:22:44.000Z
include/rive/nested_animation.hpp
rive-app/rive-cpp
2cc9cc92868d468ca75f8b5fcc40ad1ec33d27b1
[ "MIT" ]
89
2020-08-28T16:41:01.000Z
2022-03-28T19:10:49.000Z
include/rive/nested_animation.hpp
rive-app/rive-cpp
2cc9cc92868d468ca75f8b5fcc40ad1ec33d27b1
[ "MIT" ]
19
2020-10-19T00:54:40.000Z
2022-02-28T05:34:17.000Z
#ifndef _RIVE_NESTED_ANIMATION_HPP_ #define _RIVE_NESTED_ANIMATION_HPP_ #include "rive/generated/nested_animation_base.hpp" #include <stdio.h> namespace rive { class NestedAnimation : public NestedAnimationBase { public: StatusCode onAddedDirty(CoreContext* context) override; // Advance animations and apply the...
28.190476
69
0.782095
rive-app
5e686496b797fb9ec22025e3d40802b44a013a21
10,688
cpp
C++
oneflow/core/framework/placement_sbp_util.cpp
Warmchay/oneflow
5a333ff065bb89990318de2f1bd650e314d49301
[ "Apache-2.0" ]
null
null
null
oneflow/core/framework/placement_sbp_util.cpp
Warmchay/oneflow
5a333ff065bb89990318de2f1bd650e314d49301
[ "Apache-2.0" ]
null
null
null
oneflow/core/framework/placement_sbp_util.cpp
Warmchay/oneflow
5a333ff065bb89990318de2f1bd650e314d49301
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The OneFlow 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 agre...
46.469565
99
0.711546
Warmchay
5e6d1eaa5f7d9cfa04f05a64b5fa55436d372cbf
5,620
cpp
C++
dist/two/type.cpp
raptoravis/two
4366fcf8b3072d0233eb8e1e91ac1105194f60f5
[ "Zlib" ]
578
2019-05-04T09:09:42.000Z
2022-03-27T23:02:21.000Z
dist/two/type.cpp
raptoravis/two
4366fcf8b3072d0233eb8e1e91ac1105194f60f5
[ "Zlib" ]
14
2019-05-11T14:34:56.000Z
2021-02-02T07:06:46.000Z
dist/two/type.cpp
raptoravis/two
4366fcf8b3072d0233eb8e1e91ac1105194f60f5
[ "Zlib" ]
42
2019-05-11T16:04:19.000Z
2022-01-24T02:21:43.000Z
#include <two/infra.h> #include <two/type.h> #ifdef TWO_MODULES module two.obj; #else #endif namespace two { AnyHandler AnyHandler::none; } #ifdef TWO_MODULES module two.type; #else #endif namespace two { vector<Prototype*> g_prototypes = vector<Prototype*>(c_max_types); Prototype::Prototype(Type& type, span...
31.931818
158
0.682028
raptoravis
5e6e42425dcad7b83032aa5639e9bd1c2b6eb83e
2,268
cpp
C++
world/seasons/source/SeasonFactory.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
world/seasons/source/SeasonFactory.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
world/seasons/source/SeasonFactory.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "SeasonFactory.hpp" #include "Spring.hpp" #include "Summer.hpp" #include "Autumn.hpp" #include "Winter.hpp" using namespace std; SeasonSerializationMap SeasonFactory::season_map; SeasonFactory::SeasonFactory() { } SeasonFactory::~SeasonFactory() { } ISeasonPtr SeasonFactory::create_season(const Season sea...
23.873684
117
0.715608
prolog
5e703cdd9ca2cb7d95d7f6c206ba3cfc36a709ea
5,736
hpp
C++
game/quest/PC.hpp
miguelmig/LibM2
dad7591a885a421842851905dc2bc8bbd648ca20
[ "BSD-3-Clause" ]
null
null
null
game/quest/PC.hpp
miguelmig/LibM2
dad7591a885a421842851905dc2bc8bbd648ca20
[ "BSD-3-Clause" ]
null
null
null
game/quest/PC.hpp
miguelmig/LibM2
dad7591a885a421842851905dc2bc8bbd648ca20
[ "BSD-3-Clause" ]
1
2021-11-14T10:51:30.000Z
2021-11-14T10:51:30.000Z
/* This file belongs to the LibM2 library (http://github.com/imermcmaps/LibM2) * Copyright (c) 2013, iMer (www.imer.cc) * All rights reserved. * Licensed under the BSD 3-clause license (http://opensource.org/licenses/BSD-3-Clause) */ #ifndef __LIBM2_GAME_QUEST_HPP #define __LIBM2_GAME_QUEST_HPP #include "../stdIncl...
49.025641
354
0.614017
miguelmig
5e704717d60453d3b88d72c0f87bfadb9c7113f7
1,280
hh
C++
util/bufferreader.hh
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
util/bufferreader.hh
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
util/bufferreader.hh
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstdint> // TODO endianness as a type param? eg: BufferReader<LittleEndian> // TODO read N bytes // TODO read string of N bytes (encoding?) // TODO test length and remaining namespace bold { class BufferReader { public: BufferReader(const char* ptr) : d_start(ptr), d_p...
17.297297
66
0.582031
drewnoakes
5e72592f1eabbbc9a0c9a14c97531d4fc154e159
4,891
cc
C++
verilog/analysis/checkers/numeric_format_string_style_rule.cc
imphil/verible
cc9ec78b29e2e0190f6244a7d8981a2a90d77d79
[ "Apache-2.0" ]
487
2019-11-07T02:16:12.000Z
2021-07-08T14:44:12.000Z
verilog/analysis/checkers/numeric_format_string_style_rule.cc
hzeller/verible
c926ededf7953febb5f577b081474987d0f0209d
[ "Apache-2.0" ]
704
2019-11-12T18:00:12.000Z
2021-07-08T08:21:31.000Z
verilog/analysis/checkers/numeric_format_string_style_rule.cc
hzeller/verible
c926ededf7953febb5f577b081474987d0f0209d
[ "Apache-2.0" ]
96
2019-11-12T06:21:03.000Z
2021-07-06T23:20:39.000Z
// Copyright 2017-2020 The Verible Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
30.191358
80
0.645062
imphil
5e73977de01edda429bf31620ef17ccf67aad6d5
3,568
cpp
C++
day18a.cpp
Fossegrimen/advent-of-code
d9323346c167435fe461214e9eae990a1940c78e
[ "MIT" ]
null
null
null
day18a.cpp
Fossegrimen/advent-of-code
d9323346c167435fe461214e9eae990a1940c78e
[ "MIT" ]
null
null
null
day18a.cpp
Fossegrimen/advent-of-code
d9323346c167435fe461214e9eae990a1940c78e
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> #include <sstream> #include <stack> #include <string> #include <vector> typedef std::queue<char> OutputQueue; typedef std::stack<char> OperatorStack; typedef std::vector<char> TokenList; void shuntingYardAlgorithm(const TokenList& tokens, OutputQueue& outputQueue); uint64_t...
23.629139
84
0.43778
Fossegrimen
5e76666312e198d4bca69ff7c21fe85b79cf3922
2,169
cpp
C++
problems/codeforces/1520/f-guess-the-kth-zero/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/codeforces/1520/f-guess-the-kth-zero/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/codeforces/1520/f-guess-the-kth-zero/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define long int64_t #define DV(a) (" [" #a "=" + to_string(a) + "]") // ***** struct fenwick { int N; vector<int> tree; explicit fenwick(int N = 0) : N(N), tree(N + 1, 0) {} int sum(int i) { int sum = 0; while (i > 0) { sum...
19.718182
66
0.420009
brunodccarvalho
5e7a9d6a3c0e5e060c1c63b7d3da15fb8ea4f4ff
483
hpp
C++
include/fcppt/container/tree/optional_ref_decl.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/container/tree/optional_ref_decl.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/container/tree/optional_ref_decl.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // 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) #ifndef FCPPT_CONTAINER_TREE_OPTIONAL_REF_DECL_HPP_INCLUDED #define FCPPT_CONTAINER_TREE_OPTIONAL_...
30.1875
61
0.776398
vinzenz
5e7c817c6621a61112d7d514238a587961b91ffc
1,662
cpp
C++
LeetCode/C++/93. Restore IP Addresses.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/93. Restore IP Addresses.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/93. Restore IP Addresses.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//backtracking //Runtime: 4 ms, faster than 80.26% of C++ online submissions for Restore IP Addresses. //Memory Usage: 7.1 MB, less than 26.58% of C++ online submissions for Restore IP Addresses. class Solution { public: vector<string> ans; string join(const string& s, vector<int>& split){ string r...
31.358491
92
0.484356
shreejitverma
5e7f18c28fca97ab25b2e639734e788486d458d9
1,530
inl
C++
Core/DianYing/Include/Dy/Meta/Information/Inline/DMetaMetarialInstanceTmp.inl
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
4
2019-03-17T19:46:54.000Z
2019-12-09T20:11:01.000Z
Core/DianYing/Include/Dy/Meta/Information/Inline/DMetaMetarialInstanceTmp.inl
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
Core/DianYing/Include/Dy/Meta/Information/Inline/DMetaMetarialInstanceTmp.inl
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
#ifndef GUARD_DY_META_INFORMATION_INLINE_DMETAMETARIALINSTANCETMP_INL #define GUARD_DY_META_INFORMATION_INLINE_DMETAMETARIALINSTANCETMP_INL /// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITE...
34.772727
81
0.769281
liliilli
5e8033d6a5e8dbc6b5461d779d6109848849d550
15,005
cpp
C++
libs/yap/example/autodiff_library/BinaryOPNode.cpp
Talustus/boost_src
ffe074de008f6e8c46ae1f431399cf932164287f
[ "BSL-1.0" ]
32
2019-02-27T06:57:07.000Z
2021-08-29T10:56:19.000Z
third_party/boost/libs/yap/example/autodiff_library/BinaryOPNode.cpp
avplayer/cxxrpc
7049b4079fac78b3828e68f787d04d699ce52f6d
[ "BSL-1.0" ]
1
2019-03-04T11:21:00.000Z
2019-05-24T01:36:31.000Z
third_party/boost/libs/yap/example/autodiff_library/BinaryOPNode.cpp
avplayer/cxxrpc
7049b4079fac78b3828e68f787d04d699ce52f6d
[ "BSL-1.0" ]
5
2019-08-20T13:45:04.000Z
2022-03-01T18:23:49.000Z
/* * BinaryOPNode.cpp * * Created on: 6 Nov 2013 * Author: s0965328 */ #include "auto_diff_types.h" #include "BinaryOPNode.h" #include "PNode.h" #include "Stack.h" #include "Tape.h" #include "EdgeSet.h" #include "Node.h" #include "VNode.h" #include "OPNode.h" #include "ActNode.h" #include "...
23.013804
113
0.588937
Talustus
5e82025e8dadf298a606cd33e4afd6e015564838
962
cpp
C++
ITP1/ITP1_7D.cpp
taki-d/AizuOnlineJudgeAnswer
9ab2a6db91d9ea703081703b66ee5aaeb8ec0c31
[ "MIT" ]
2
2017-05-02T06:46:31.000Z
2017-06-18T21:59:05.000Z
ITP1/ITP1_7D.cpp
taki-d/AizuOnlineJudgeAnswer
9ab2a6db91d9ea703081703b66ee5aaeb8ec0c31
[ "MIT" ]
null
null
null
ITP1/ITP1_7D.cpp
taki-d/AizuOnlineJudgeAnswer
9ab2a6db91d9ea703081703b66ee5aaeb8ec0c31
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { int a,b,c; cin >> a >> b >> c; vector<vector<int>> A(a,vector<int>(b,0)); vector<vector<int>> B(b,vector<int>(c,0)); for (int d = 0; d < a; ++d) { for (int e = 0; e < b; ++e) { cin >> A.at(d).at(e); ...
18.862745
68
0.351351
taki-d
5e83c1758508b791cb57a8fffdd64d222b9b10c4
16,013
cpp
C++
copasi/sedml/SEDMLUtils.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
copasi/sedml/SEDMLUtils.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
copasi/sedml/SEDMLUtils.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
// Copyright (C) 2019 by Pedro Mendes, Rector and Visitors of the // University of Virginia, University of Heidelberg, and University // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and...
29.061706
130
0.614563
SzVarga
5e88986ddffff23f840c96fd4ed5316b03269989
581
cpp
C++
src/common/sun.cpp
alexkafer/planets
ad118c7ba9d479afc29ba9d5b65222c8c7f2cde2
[ "Unlicense", "MIT" ]
null
null
null
src/common/sun.cpp
alexkafer/planets
ad118c7ba9d479afc29ba9d5b65222c8c7f2cde2
[ "Unlicense", "MIT" ]
null
null
null
src/common/sun.cpp
alexkafer/planets
ad118c7ba9d479afc29ba9d5b65222c8c7f2cde2
[ "Unlicense", "MIT" ]
1
2021-03-02T16:54:40.000Z
2021-03-02T16:54:40.000Z
#include "sun.hpp" #include "graphics/vert_buffer.hpp" Sun::Sun(float radius): OrbitalMass({0.f, 0, 0, 0, 0}, 5), shape(radius) { std::cout << "Sun created\n"; } void Sun::upload() { VertAttributes sunAttrs; sunAttrs.add_(VertAttributes::POSITION) .add_(VertAttributes::NORMAL) .add_(Ver...
25.26087
74
0.660929
alexkafer
5e88c33719a8b3c623d5ae9d2b5b3a96e8ed9d82
90
hpp
C++
2SST/2LW/files.hpp
AVAtarMod/University
3c784a1e109b7a6f6ea495278ec3dc126258625a
[ "BSD-3-Clause" ]
1
2021-07-31T06:55:08.000Z
2021-07-31T06:55:08.000Z
2SST/2LW/files.hpp
AVAtarMod/University-C
e516aac99eabbcbe14d897239f08acf6c8e146af
[ "BSD-3-Clause" ]
1
2020-11-25T12:00:11.000Z
2021-01-13T08:51:52.000Z
2SST/2LW/files.hpp
AVAtarMod/University-C
e516aac99eabbcbe14d897239f08acf6c8e146af
[ "BSD-3-Clause" ]
null
null
null
#ifndef FILES #define FILES #include <fstream> bool isFileExist(const char *file); #endif
15
35
0.766667
AVAtarMod
5e88c9cd294c0c9ca7fd2c0eb85bfc85a43eea8d
4,251
cpp
C++
sjf_p.cpp
tanujsinghal24/Lab_codes-COC3930-
3f36835b16897304c6b5d00ead1219d76f6b58df
[ "MIT" ]
1
2021-08-02T08:35:32.000Z
2021-08-02T08:35:32.000Z
sjf_p.cpp
tanujsinghal24/Lab_codes-COC3930-
3f36835b16897304c6b5d00ead1219d76f6b58df
[ "MIT" ]
null
null
null
sjf_p.cpp
tanujsinghal24/Lab_codes-COC3930-
3f36835b16897304c6b5d00ead1219d76f6b58df
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class System_p { public: int process_num ,burst_time,arrival_t; }; int n; int wait_time[1000], turn_around_t[1000], total_wt = 0,total_tat = 0; void print_process(System_p pt[],int i,int curr_t){ cout << "Process num Burst time Arrival time Current time\n"; ...
32.204545
168
0.537521
tanujsinghal24
5e890d1e38aab834240113dda32730c054454f38
1,261
cpp
C++
aws-cpp-sdk-kinesis/source/model/SubscribeToShardRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-kinesis/source/model/SubscribeToShardRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-kinesis/source/model/SubscribeToShardRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/kinesis/model/SubscribeToShardRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Kinesis::Model; using namespace Aws::Utils::Json; using...
21.372881
98
0.75337
Neusoft-Technology-Solutions
5e8adc56b28047c250962ca4213d1599c115c497
189
cpp
C++
Random.cpp
JAPLJ/Legerdemain
78a7634f8dc1f4398c407d41acea0478484f111d
[ "MIT" ]
1
2017-04-06T08:24:06.000Z
2017-04-06T08:24:06.000Z
Random.cpp
JAPLJ/Legerdemain
78a7634f8dc1f4398c407d41acea0478484f111d
[ "MIT" ]
null
null
null
Random.cpp
JAPLJ/Legerdemain
78a7634f8dc1f4398c407d41acea0478484f111d
[ "MIT" ]
null
null
null
#include "Random.h" #include <random> Random Random::instance; int Random::randint(int lo, int hi) { std::uniform_int_distribution<int> dist(lo, hi); return dist(instance.mt); }
17.181818
52
0.693122
JAPLJ
5e8b22afdc251b65480a82d20249eeabcd099f99
4,103
cpp
C++
src/mpc-base.cpp
PepMS/eagle-mpc
522b4af6f31dcdec72c9c461ace28bb774aa4057
[ "BSD-3-Clause" ]
10
2021-07-14T10:50:20.000Z
2022-03-14T06:27:13.000Z
src/mpc-base.cpp
PepMS/multicopter-mpc
522b4af6f31dcdec72c9c461ace28bb774aa4057
[ "BSD-3-Clause" ]
29
2020-06-04T08:38:52.000Z
2020-09-25T10:26:25.000Z
src/mpc-base.cpp
PepMS/eagle-mpc
522b4af6f31dcdec72c9c461ace28bb774aa4057
[ "BSD-3-Clause" ]
2
2021-11-02T02:14:45.000Z
2022-01-10T11:32:59.000Z
#include "eagle_mpc/mpc-base.hpp" namespace eagle_mpc { MpcAbstract::MpcAbstract(const std::string& yaml_path) { eagle_mpc::ParserYaml parser(yaml_path); params_server_ = boost::make_shared<ParamsServer>(parser.get_params()); initializeRobotObjects(); loadParams(); int_models_.reserve(params_.kno...
46.101124
119
0.737022
PepMS
5e8ccbbf856ee66c4c6afbe3f21b273f792e6fbc
1,749
cpp
C++
Editor/Source/Controls/ToolbarView.cpp
Claudio-Marchini/Lumen
41183d71f0fe6dfe9964617b127b40b26339c822
[ "MIT" ]
null
null
null
Editor/Source/Controls/ToolbarView.cpp
Claudio-Marchini/Lumen
41183d71f0fe6dfe9964617b127b40b26339c822
[ "MIT" ]
null
null
null
Editor/Source/Controls/ToolbarView.cpp
Claudio-Marchini/Lumen
41183d71f0fe6dfe9964617b127b40b26339c822
[ "MIT" ]
null
null
null
#include "ToolbarView.h" #include "../EditorApplication.h" #include <imgui/imgui.h> void ToolbarView::Render() { if (ImGui::BeginMainMenuBar()) { if (ImGui::BeginMenu("Project")) { if (ImGui::MenuItem("Create")) { mFileOpen = true; } ImGui::MenuItem("Open"); if (ImGui::MenuItem("Save")...
20.576471
103
0.626072
Claudio-Marchini
5e906bde120ef8c06b7312812947a1ed610dcf97
609
cpp
C++
Leetcode/May-Challenge/remove-kdigits.cpp
shashankkmciv18/dsa
6feba269292d95d36e84f1adb910fe2ed5467f71
[ "MIT" ]
54
2020-07-31T14:50:23.000Z
2022-03-14T11:03:02.000Z
Leetcode/May-Challenge/remove-kdigits.cpp
SahilMund/dsa
a94151b953b399ea56ff50cf30dfe96100e8b9a7
[ "MIT" ]
null
null
null
Leetcode/May-Challenge/remove-kdigits.cpp
SahilMund/dsa
a94151b953b399ea56ff50cf30dfe96100e8b9a7
[ "MIT" ]
30
2020-08-15T17:39:02.000Z
2022-03-10T06:50:18.000Z
class Solution { public: string removeKdigits(string num, int k) { int n = num.size(); if( n<= k ) { return "0"; } while(k) { int i = 0; // for finding the peaks. while(i+1<n && num[i+1]>=num[i]) i++; ...
20.3
58
0.338259
shashankkmciv18
5e91443948cd6fcb252f4d3afbb40e79771127f5
4,403
cpp
C++
src/sf/Thread.cpp
bqqbarbhg/spear
727f41fa5197f9681337d1ff37ea63c44708f0d4
[ "BSD-3-Clause" ]
29
2020-07-27T09:56:02.000Z
2022-03-28T01:38:07.000Z
src/sf/Thread.cpp
bqqbarbhg/spear
727f41fa5197f9681337d1ff37ea63c44708f0d4
[ "BSD-3-Clause" ]
3
2020-05-29T11:43:20.000Z
2020-09-04T09:56:56.000Z
src/sf/Thread.cpp
bqqbarbhg/spear
727f41fa5197f9681337d1ff37ea63c44708f0d4
[ "BSD-3-Clause" ]
2
2020-05-29T11:34:46.000Z
2021-03-08T08:39:07.000Z
#include "Thread.h" #include "Internal.h" #if defined(TRACY_ENABLE) #include "ext/tracy/Tracy.hpp" #endif #if SF_OS_WINDOWS #define WIN32_LEAN_AND_MEAN #include <Windows.h> #elif SF_USE_PTHREADS #include <pthread.h> #if SF_OS_EMSCRIPTEN #include <emscripten.h> #include <emscripten/threading.h> #el...
20.671362
154
0.678174
bqqbarbhg
5e920058302229030b495ccc64ce0a3139ccc199
4,226
cpp
C++
psx/_dump_/47/_dump_c_src_/diabpsx/source/quests.cpp
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
15
2018-06-28T01:11:25.000Z
2021-09-27T15:57:18.000Z
psx/_dump_/47/_dump_c_src_/diabpsx/source/quests.cpp
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-29T04:08:23.000Z
2019-10-17T13:57:22.000Z
psx/_dump_/47/_dump_c_src_/diabpsx/source/quests.cpp
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-28T01:11:34.000Z
2020-05-23T09:21:48.000Z
// C:\diabpsx\SOURCE\QUESTS.CPP #include "types.h" // address: 0x80060B58 // line start: 160 // line end: 220 void TSK_Lava2Water__FP4TASK(struct TASK *T) { // address: 0xFFFFFFB0 // size: 0x20 auto unsigned short LAVAPAL[16]; // address: 0xFFFFFFD0 // size: 0x20 auto unsigned short WATERPAL[16]; // address:...
15.256318
89
0.604117
maoa3
5e993460efef73c852f0c0da59d4ff81ccfb98e3
182
cpp
C++
regression/esbmc-cpp/qt/QVector/vector_capacity_bug/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/qt/QVector/vector_capacity_bug/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/qt/QVector/vector_capacity_bug/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
#include <QVector> #include <cassert> int main () { QVector<int> myQVector; myQVector << 1 << 4 << 6 << 8 << 10 << 12; assert( !(myQVector.capacity() > 0) ); return 0; }
13
44
0.56044
shmarovfedor
5e99fc1ad3513b3b4399c14fccbfcc41d5f07bc7
749
hpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/torsten/expect_near_matrix_eq.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/torsten/expect_near_matrix_eq.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/torsten/expect_near_matrix_eq.hpp
csetraynor/Torsten
55b59b8068e2a539346f566ec698c755a9e3536c
[ "BSD-3-Clause" ]
null
null
null
#ifndef TEST_MATH_MATRIX_EXPECT_NEAR_MATRIX_EQ_HPP #define TEST_MATH_MATRIX_EXPECT_NEAR_MATRIX_EQ_HPP #include <gtest/gtest.h> void expect_near_matrix_eq(const Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic>& a, const Eigen::Matrix...
32.565217
84
0.543391
csetraynor
5e9b2b33dccecfcee45176a9b9692fff4562fc2b
4,059
cpp
C++
game_server/src/ecs/system/hatred_system.cpp
mzxdream/cherry
cf247ecda039a7255b7fc0e1b2c2a591bb4af8e0
[ "Apache-2.0" ]
null
null
null
game_server/src/ecs/system/hatred_system.cpp
mzxdream/cherry
cf247ecda039a7255b7fc0e1b2c2a591bb4af8e0
[ "Apache-2.0" ]
null
null
null
game_server/src/ecs/system/hatred_system.cpp
mzxdream/cherry
cf247ecda039a7255b7fc0e1b2c2a591bb4af8e0
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <ecs/component/hatred.h> #include <ecs/component/location.h> #include <ecs/component/serialize/component_serialize.h> #include <ecs/component/view.h> #include <ecs/event/component_event.h> #include <ecs/system/hatred_system.h> #include <scene/scene.h> #include <world.h> namespace cherry {...
36.241071
80
0.612712
mzxdream
5e9e28e61087468619cdf5fbde79cf0393bf04da
1,609
cpp
C++
wpilibc/src/test/native/cpp/simulation/AnalogTriggerSimTest.cpp
shueja-personal/allwpilib
4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b
[ "BSD-3-Clause" ]
707
2016-05-11T16:54:13.000Z
2022-03-30T13:03:15.000Z
wpilibc/src/test/native/cpp/simulation/AnalogTriggerSimTest.cpp
shueja-personal/allwpilib
4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b
[ "BSD-3-Clause" ]
2,308
2016-05-12T00:17:17.000Z
2022-03-30T20:08:10.000Z
wpilibc/src/test/native/cpp/simulation/AnalogTriggerSimTest.cpp
shueja-personal/allwpilib
4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b
[ "BSD-3-Clause" ]
539
2016-05-11T20:33:26.000Z
2022-03-28T20:20:25.000Z
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "frc/simulation/AnalogTriggerSim.h" // NOLINT(build/include_order) #include <hal/HAL.h> #include "callback_h...
28.732143
80
0.765071
shueja-personal
5ea16254bd340594b68996760722d1463f05ff33
647
cpp
C++
src/bits_of_matcha/tensor/iterations/flatiteration.cpp
patztablook22/matcha-core
c6c595e82a6f2ff42342f28ed856be37a2b2ab5c
[ "MIT" ]
null
null
null
src/bits_of_matcha/tensor/iterations/flatiteration.cpp
patztablook22/matcha-core
c6c595e82a6f2ff42342f28ed856be37a2b2ab5c
[ "MIT" ]
null
null
null
src/bits_of_matcha/tensor/iterations/flatiteration.cpp
patztablook22/matcha-core
c6c595e82a6f2ff42342f28ed856be37a2b2ab5c
[ "MIT" ]
1
2022-01-09T12:07:04.000Z
2022-01-09T12:07:04.000Z
#include "bits_of_matcha/tensor/iterations/flatiteration.h" #include "bits_of_matcha/tensor/iterators/flatiterator.h" #include "bits_of_matcha/tensor/tensor.h" namespace matcha { template <class T, class Access> FlatIteration<T, Access>::FlatIteration(Access& tensor) : tensor_(tensor) {} template <class T, class ...
23.962963
71
0.735703
patztablook22
5ea3878acb0a6799a1327973d36d59e0acf096d6
5,787
cpp
C++
src/Script/gameObjs/majorGos/bushs/Bush.cpp
turesnake/tprPixelGames
6b5471a072a1a8b423834ab04ff03e64df215d5e
[ "BSD-3-Clause" ]
591
2020-03-12T05:10:33.000Z
2022-03-30T13:41:59.000Z
src/Script/gameObjs/majorGos/bushs/Bush.cpp
turesnake/tprPixelGames
6b5471a072a1a8b423834ab04ff03e64df215d5e
[ "BSD-3-Clause" ]
4
2020-04-06T01:55:06.000Z
2020-05-02T04:28:04.000Z
src/Script/gameObjs/majorGos/bushs/Bush.cpp
turesnake/tprPixelGames
6b5471a072a1a8b423834ab04ff03e64df215d5e
[ "BSD-3-Clause" ]
112
2020-04-05T23:55:36.000Z
2022-03-17T11:58:02.000Z
/* * ======================= Bush.cpp ========================== * -- tpr -- * CREATE -- 2019.10.09 * MODIFY -- * ---------------------------------------------------------- */ #include "pch.h" #include "Script/...
31.796703
101
0.51633
turesnake
5ea8820da0106fd47dbe8c8727502233e2c7aca2
379
hpp
C++
include/ce2/modules/ae/detail/ae_defines.hpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
include/ce2/modules/ae/detail/ae_defines.hpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
include/ce2/modules/ae/detail/ae_defines.hpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
#pragma once #include "chokoengine.hpp" #define CE_MOD_AE_NS ModuleAE #define CE_BEGIN_MOD_AE_NAMESPACE\ CE_BEGIN_NAMESPACE\ namespace CE_MOD_AE_NS { #define CE_END_MOD_AE_NAMESPACE }\ CE_END_NAMESPACE #if PLATFORM_WIN #ifdef BUILD_MODULE_AE #define CE_AE_EXPORT __declspec(dllexport) #else #define CE_AE_EXPORT _...
17.227273
42
0.825858
chokomancarr
5ea906dc45617093f59b7a7d0595d94ba4b23efd
11,885
cc
C++
media/base/android/media_player_bridge.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
media/base/android/media_player_bridge.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
media/base/android/media_player_bridge.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:25:45.000Z
2020-11-04T07:25:45.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 "media/base/android/media_player_bridge.h" #include "base/android/jni_android.h" #include "base/android/jni_string.h" #include "base/basicty...
29.638404
80
0.734623
codenote
5eaaa89704591e20926447a76de9cf021a1864ac
1,579
cpp
C++
base/crts/crtw32/rtc/stack.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/crts/crtw32/rtc/stack.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/crts/crtw32/rtc/stack.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*** *stack.cpp - RTC support * * Copyright (c) 1998-2001, Microsoft Corporation. All rights reserved. * * *Revision History: * 07-28-98 JWM Module incorporated into CRTs (from KFrei) * 05-11-99 KBF Error if RTC support define not enabled * 07-15-01 PML Remove all ALPHA, MIPS, ...
20.506494
92
0.525016
npocmaka
5eac58620adb30b5a225f27e47cf7ed807f85462
4,869
cc
C++
src/PingService.cc
taschik/ramcloud
6ef2e1cd61111995881d54bda6f9296b4777b928
[ "0BSD" ]
1
2016-01-18T12:41:28.000Z
2016-01-18T12:41:28.000Z
src/PingService.cc
taschik/ramcloud
6ef2e1cd61111995881d54bda6f9296b4777b928
[ "0BSD" ]
null
null
null
src/PingService.cc
taschik/ramcloud
6ef2e1cd61111995881d54bda6f9296b4777b928
[ "0BSD" ]
null
null
null
/* Copyright (c) 2011-2012 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(...
31.211538
80
0.659889
taschik
5ead6da0ea4124805da8dfa169fee9826a3c4b94
2,528
cc
C++
thread/test/WeakCallback_test.cc
ririripley/recipes
04267c68a7424326b4aa8dd14b1a879b59ab887c
[ "BSD-3-Clause" ]
1,418
2015-01-07T09:40:09.000Z
2022-03-29T08:37:02.000Z
thread/test/WeakCallback_test.cc
ririripley/recipes
04267c68a7424326b4aa8dd14b1a879b59ab887c
[ "BSD-3-Clause" ]
22
2015-02-17T17:31:18.000Z
2022-02-08T07:00:29.000Z
thread/test/WeakCallback_test.cc
ririripley/recipes
04267c68a7424326b4aa8dd14b1a879b59ab887c
[ "BSD-3-Clause" ]
854
2015-01-03T11:56:10.000Z
2022-03-31T08:50:28.000Z
#include "../WeakCallback.h" #define BOOST_TEST_MAIN #ifdef BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #else #include <boost/test/included/unit_test.hpp> #endif #include <stdio.h> #include <boost/noncopyable.hpp> class String { public: String(const char* str) { printf("String ctor this %p\n", t...
18.588235
93
0.629351
ririripley
5eadd409f127c8b4fcf46a006fd9a0e3ac303e55
1,694
cpp
C++
clang/test/Driver/sycl-offload.cpp
steffenlarsen/llvm
9d60c3d97773c63b8ee597c35c3f897dbc1a7f9f
[ "Apache-2.0" ]
null
null
null
clang/test/Driver/sycl-offload.cpp
steffenlarsen/llvm
9d60c3d97773c63b8ee597c35c3f897dbc1a7f9f
[ "Apache-2.0" ]
null
null
null
clang/test/Driver/sycl-offload.cpp
steffenlarsen/llvm
9d60c3d97773c63b8ee597c35c3f897dbc1a7f9f
[ "Apache-2.0" ]
null
null
null
/// Check "-aux-target-cpu" and "target-cpu" are passed when compiling for SYCL offload device and host codes: // RUN: %clang -### -fsycl -c %s 2>&1 | FileCheck -check-prefix=CHECK-OFFLOAD %s // CHECK-OFFLOAD: clang{{.*}} "-cc1" {{.*}} "-fsycl-is-device" // CHECK-OFFLOAD-SAME: "-aux-target-cpu" "[[HOST_CPU_NAME:[^ ...
62.740741
110
0.619835
steffenlarsen
5eaf05902abdb938a52200beeb204c685b041d2b
20,651
cpp
C++
src/jnc_ct/jnc_ct_OperatorMgr/jnc_ct_CastOp_DataPtr.cpp
project-kotinos/vovkos___jancy
7050c9edba3185f8293b3e06766f31970ff1ed1a
[ "MIT" ]
null
null
null
src/jnc_ct/jnc_ct_OperatorMgr/jnc_ct_CastOp_DataPtr.cpp
project-kotinos/vovkos___jancy
7050c9edba3185f8293b3e06766f31970ff1ed1a
[ "MIT" ]
null
null
null
src/jnc_ct/jnc_ct_OperatorMgr/jnc_ct_CastOp_DataPtr.cpp
project-kotinos/vovkos___jancy
7050c9edba3185f8293b3e06766f31970ff1ed1a
[ "MIT" ]
null
null
null
//.............................................................................. // // This file is part of the Jancy toolkit. // // Jancy is distributed under the MIT license. // For details see accompanying license.txt file, // the public copy of which is also available at: // http://tibbo.com/downloads/archive/...
27.244063
121
0.702048
project-kotinos
5eb38f1610c536d5bae4e478119b780d351fa8f9
6,296
cpp
C++
third_party/android_crazy_linker/src/src/crazy_linker_util_unittest.cpp
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/android_crazy_linker/src/src/crazy_linker_util_unittest.cpp
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/android_crazy_linker/src/src/crazy_linker_util_unittest.cpp
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 "crazy_linker_util.h" #include <gtest/gtest.h> #include <utility> namespace crazy { TEST(GetBaseNamePtr, Test) { const char kString[] = "/t...
21.198653
73
0.580845
zealoussnow
5eb6a20b0b73279855218d0c2d00eb1ca6c594d3
14,127
hpp
C++
src/hotspot/share/gc/parallel/psPromotionManager.inline.hpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
1
2020-12-26T04:52:15.000Z
2020-12-26T04:52:15.000Z
src/hotspot/share/gc/parallel/psPromotionManager.inline.hpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
1
2020-12-26T04:57:19.000Z
2020-12-26T04:57:19.000Z
src/hotspot/share/gc/parallel/psPromotionManager.inline.hpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
1
2021-12-06T01:13:18.000Z
2021-12-06T01:13:18.000Z
/* * Copyright (c) 2002, 2021, 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 ...
39.132964
130
0.683231
1690296356
5eb6cc9ecbe82e80d5d57e365e50d79f65fe8661
2,054
cpp
C++
src/game/snake_game.cpp
Hippo/Snake
9390c34e86685bf905bad85d09819f0df8b2d7e0
[ "MIT" ]
null
null
null
src/game/snake_game.cpp
Hippo/Snake
9390c34e86685bf905bad85d09819f0df8b2d7e0
[ "MIT" ]
null
null
null
src/game/snake_game.cpp
Hippo/Snake
9390c34e86685bf905bad85d09819f0df8b2d7e0
[ "MIT" ]
null
null
null
#include "game/snake_game.hpp" #include <chrono> #include <queue> #include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> static std::queue<int> s_KeyQueue; #define MILLIS() std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolu...
26
140
0.614898
Hippo
5eb8a6fac8cb84f19d7dad312cdefdba71d4291a
1,825
cpp
C++
fboss/agent/SflowShimUtils.cpp
dgrnbrg-meta/fboss
cde5aa021fbb28e08cc912a7c227e93ed3faefee
[ "BSD-3-Clause" ]
1
2022-02-10T10:48:41.000Z
2022-02-10T10:48:41.000Z
fboss/agent/SflowShimUtils.cpp
dgrnbrg-meta/fboss
cde5aa021fbb28e08cc912a7c227e93ed3faefee
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/SflowShimUtils.cpp
dgrnbrg-meta/fboss
cde5aa021fbb28e08cc912a7c227e93ed3faefee
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2004-present Facebook. All Rights Reserved. #include "fboss/agent/SflowShimUtils.h" namespace facebook::fboss::utility { SflowShimHeaderInfo parseSflowShim(folly::io::Cursor& cursor) { SflowShimHeaderInfo shim{}; shim.asic = SflowShimAsic::SFLOW_SHIM_ASIC_UNKNOWN; uint8_t srcPort = cursor.readBE...
32.589286
76
0.70137
dgrnbrg-meta
5eba72f10a96b5069dbb5d037b90b77ab08ad604
4,015
cpp
C++
cui_raw/cui_rawImpl/Text/Text.cpp
alecmus/cui
bbfc1cbeeac43b717b05094d69adf8a57469d125
[ "MIT" ]
7
2020-03-17T10:47:39.000Z
2021-03-19T04:49:03.000Z
cui_raw/cui_rawImpl/Text/Text.cpp
alecmus/cui
bbfc1cbeeac43b717b05094d69adf8a57469d125
[ "MIT" ]
1
2021-05-21T15:17:31.000Z
2021-05-24T09:34:37.000Z
cui_raw/cui_rawImpl/Text/Text.cpp
alecmus/cui
bbfc1cbeeac43b717b05094d69adf8a57469d125
[ "MIT" ]
1
2020-03-20T13:22:38.000Z
2020-03-20T13:22:38.000Z
// // Text.cpp - text control implementation // // cui framework, part of the liblec library // Copyright (c) 2016 Alec Musasa (alecmus at live dot com) // // Released under the MIT license. For full details see the // file LICENSE.txt // #include "../cui_rawImpl.h" static bool design = false; LRESULT CALLBACK cui_r...
23.757396
107
0.700872
alecmus
5ebb412f4a888654ce1059403fcbf0e730ed7023
1,052
cpp
C++
src/game/server/infclass/entities/laser-teleport.cpp
srdante/teeworlds-infclassR
8b05eae1f23297617da47403cf04bceafdc198ac
[ "Zlib" ]
6
2021-02-24T22:15:23.000Z
2022-03-23T18:41:58.000Z
src/game/server/infclass/entities/laser-teleport.cpp
srdante/teeworlds-infclassR
8b05eae1f23297617da47403cf04bceafdc198ac
[ "Zlib" ]
75
2021-02-02T17:48:50.000Z
2022-03-23T18:54:25.000Z
src/game/server/infclass/entities/laser-teleport.cpp
srdante/teeworlds-infclassR
8b05eae1f23297617da47403cf04bceafdc198ac
[ "Zlib" ]
8
2021-03-13T15:06:27.000Z
2022-03-23T12:09:07.000Z
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include <game/server/gamecontext.h> #include "laser-teleport.h" CLaserTeleport::CLaserTeleport(CGameContext *pGameContext, vec2 StartPos,...
27.684211
122
0.737643
srdante
5ebf84420dd74f26c0ae3a9a2ebc6a9d46fe8777
595
cpp
C++
codeforce6/1029B. Creating the Contest.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce6/1029B. Creating the Contest.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce6/1029B. Creating the Contest.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
/* Idea: - Using cumulative sum we can determine the maximum number of consequtive elements that form the answer. */ #include <bits/stdc++.h> using namespace std; int const N = 2e5 + 1; int n, a[N]; bool ck[N]; int main() { scanf("%d", &n); for(int i = 0; i < n; ++i) scanf("%d", a + i); for(i...
14.875
58
0.457143
khaled-farouk
5ec2f30b9e28db0a7b27c22722c4511d6d99eb34
2,842
cxx
C++
smtk/session/polygon/vtk/vtkPolygonArcProvider.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
40
2015-02-21T19:55:54.000Z
2022-01-06T13:13:05.000Z
smtk/session/polygon/vtk/vtkPolygonArcProvider.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
127
2015-01-15T20:55:45.000Z
2021-08-19T17:34:15.000Z
smtk/session/polygon/vtk/vtkPolygonArcProvider.cxx
jcfr/SMTK
0069ea37f8f71a440b8f10a157b84a56ca004551
[ "BSD-3-Clause-Clear" ]
27
2015-03-04T14:17:51.000Z
2021-12-23T01:05:42.000Z
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
28.42
90
0.689655
jcfr
5ec73d33048f446fe2e21da885d82b95f5720d80
10,076
cpp
C++
BinarySearchTrees-Improved/SearchTree.cpp
jogdandsnehal14/BinarySearchTrees-Improved
0a1df1bfefdc55241cbc2e22d7e9674ba0d651fc
[ "MIT" ]
null
null
null
BinarySearchTrees-Improved/SearchTree.cpp
jogdandsnehal14/BinarySearchTrees-Improved
0a1df1bfefdc55241cbc2e22d7e9674ba0d651fc
[ "MIT" ]
null
null
null
BinarySearchTrees-Improved/SearchTree.cpp
jogdandsnehal14/BinarySearchTrees-Improved
0a1df1bfefdc55241cbc2e22d7e9674ba0d651fc
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- // File: SearchTree.cpp // Author: Snehal Jogdand // Date: 01/14/2020 // Program 1: Improved binary search trees // // DESCRIPTION: // SearchTree: // The class file for SearchTree class // Provides the set of variables and functio...
26.585752
89
0.597261
jogdandsnehal14
5eca1173bcd8decc94a75037514d66d74e9ecacd
37,582
cpp
C++
src/algos/fmath.cpp
rdmenezes/fibernavigator2
bbb8bc8ff16790580d5b03fce7e1fad45fae1b91
[ "MIT" ]
null
null
null
src/algos/fmath.cpp
rdmenezes/fibernavigator2
bbb8bc8ff16790580d5b03fce7e1fad45fae1b91
[ "MIT" ]
null
null
null
src/algos/fmath.cpp
rdmenezes/fibernavigator2
bbb8bc8ff16790580d5b03fce7e1fad45fae1b91
[ "MIT" ]
null
null
null
/* * fmath.cpp * * Created on: Jul 17, 2012 * @author Ralph Schurade */ #include "fmath.h" #include "math.h" #include "../thirdparty/newmat10/newmatap.h" #include "../thirdparty/newmat10/newmatio.h" #include "../thirdparty/newmat10/newmatrm.h" #include "../thirdparty/newmat10/precisio.h" #include <QDebug> #incl...
30.357027
161
0.414879
rdmenezes
5ecb86d81887a82e2049be442d56db498b130b8a
2,194
cpp
C++
codes/UVA/10001-19999/uva10641.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva10641.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva10641.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <cmath> #include <algorithm> using namespace std; const int N = 105; const int M = 1005; const int INF = 0x3f3f3f3f; const double eps = 1e-6; const double pi = atan(1.0)*4; struct state { int l, r, val; }s[M]; struct point { double x, y; point (double x = 0, double ...
17.275591
74
0.494075
JeraKrs
5ece56c363f9bef2a5e89e10ef8ee7690b553ca4
3,817
cpp
C++
src/MQTT/Network.cpp
dinhhuy258/mqtt-client
b07e027e7e3d2d84008a22513bedebf6d95c4bb1
[ "MIT" ]
8
2016-06-01T09:44:10.000Z
2022-01-19T01:03:50.000Z
src/MQTT/Network.cpp
dinhhuy258/mqtt-client
b07e027e7e3d2d84008a22513bedebf6d95c4bb1
[ "MIT" ]
null
null
null
src/MQTT/Network.cpp
dinhhuy258/mqtt-client
b07e027e7e3d2d84008a22513bedebf6d95c4bb1
[ "MIT" ]
4
2017-01-06T02:51:24.000Z
2022-01-19T01:03:52.000Z
#include "Network.h" #include <iostream> #include "Utils.h" Network::Network() : connectedCallback(nullptr), disconnectedCallback(nullptr), receivedCallback(nullptr), sentCallback(nullptr), socket(nullptr) { } void Network::Connect(std::string host, uint32_t port, bool security) { if (security) { socket = make_un...
24.158228
145
0.685617
dinhhuy258
5ed00c45c1058e41ab71fbfbc351c8add170a0b8
1,491
hpp
C++
libkcommon/hclust_compactor.hpp
disa-mhembere/knor
5c4174b80726eb5fc8da7042d517e8c3929ec747
[ "Apache-2.0" ]
13
2017-06-30T12:48:54.000Z
2021-05-26T06:54:10.000Z
libkcommon/hclust_compactor.hpp
disa-mhembere/knor
5c4174b80726eb5fc8da7042d517e8c3929ec747
[ "Apache-2.0" ]
30
2016-11-21T23:21:48.000Z
2017-03-05T06:26:52.000Z
libkcommon/hclust_compactor.hpp
disa-mhembere/k-par-means
5c4174b80726eb5fc8da7042d517e8c3929ec747
[ "Apache-2.0" ]
5
2017-04-11T00:44:04.000Z
2018-11-01T10:41:06.000Z
/* * Copyright 2016 neurodata (http://neurodata.io/) * Written by Disa Mhembere (disa@jhu.edu) * * This file is part of knor * * 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 * * ...
30.428571
83
0.603622
disa-mhembere
5ed615d1056095dcf175c37f14284e9416e27c03
45,085
cpp
C++
src/devices/cpu/dspp/dsppdrc.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/cpu/dspp/dsppdrc.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/cpu/dspp/dsppdrc.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Philip Bennett /****************************************************************************** DSPP UML recompiler core ******************************************************************************/ #include "emu.h" #include "debugger.h" #include "dspp.h" #include "...
33.746257
144
0.577554
Robbbert
5ed76785dc9b3ed5ed6a9d089bcbc28b0e017326
4,797
cpp
C++
catboost/private/libs/text_features/feature_calcer.cpp
PallHaraldsson/catboost
f4b86aae0acb853f0216081518d490e52722ad88
[ "Apache-2.0" ]
null
null
null
catboost/private/libs/text_features/feature_calcer.cpp
PallHaraldsson/catboost
f4b86aae0acb853f0216081518d490e52722ad88
[ "Apache-2.0" ]
null
null
null
catboost/private/libs/text_features/feature_calcer.cpp
PallHaraldsson/catboost
f4b86aae0acb853f0216081518d490e52722ad88
[ "Apache-2.0" ]
null
null
null
#include "feature_calcer.h" #include <catboost/libs/helpers/serialization.h> #include <util/system/guard.h> namespace NCB { void TTextCalcerSerializer::Save(IOutputStream* stream, const TTextFeatureCalcer& calcer) { WriteMagic(CalcerMagic.data(), MagicSize, Alignment, stream); ::Save(stream, sta...
33.545455
148
0.66354
PallHaraldsson
5eddaa1e4c73618c8bbf3056d1b2a275d5ad9ced
1,585
cxx
C++
kernel/mutex.cxx
SuperLeaf1995/uDOS
9c2236b14ccdc2a4c25ec5e725b8df4525bf8b96
[ "Unlicense" ]
2
2022-01-23T00:11:16.000Z
2022-01-26T22:18:01.000Z
kernel/mutex.cxx
SuperLeaf1995/uDOS
9c2236b14ccdc2a4c25ec5e725b8df4525bf8b96
[ "Unlicense" ]
null
null
null
kernel/mutex.cxx
SuperLeaf1995/uDOS
9c2236b14ccdc2a4c25ec5e725b8df4525bf8b96
[ "Unlicense" ]
2
2022-02-03T22:04:59.000Z
2022-03-26T10:51:25.000Z
export module mutex; export namespace base { typedef volatile int short atomic_int; struct mutex { enum { UNLOCKED = 0, LOCKED = 1, }; mutex(mutex& lhs) = delete; mutex(const mutex& lhs) = delete; mutex(mutex&& lhs) = delete; ...
22.323944
57
0.4347
SuperLeaf1995
5edf4bcab9b34cf83025786e36f24f600e164ddc
1,601
cpp
C++
menu/MenuComponent.cpp
fpeterek/arduino_menu
a854b303bfcc2b197401de3592f9a7165564b11c
[ "MIT" ]
null
null
null
menu/MenuComponent.cpp
fpeterek/arduino_menu
a854b303bfcc2b197401de3592f9a7165564b11c
[ "MIT" ]
null
null
null
menu/MenuComponent.cpp
fpeterek/arduino_menu
a854b303bfcc2b197401de3592f9a7165564b11c
[ "MIT" ]
null
null
null
// // MenuComponent.cpp // menu // // Created by Filip Peterek on 26/01/2017. // Copyright © 2017 Filip Peterek. All rights reserved. // #include "MenuComponent.hpp" void noFunction() { return; } MenuComponent::MenuComponent() { string = (char *) malloc(2 * sizeof(char)); strcpy(string, ""); ...
17.215054
81
0.620862
fpeterek
5ee7a117d61504477aa81ee3698c1333c6fa8bef
563
cpp
C++
2.cpp
wuyongfa-genius/Algorithms_in_C-
0973fc1e2c01a818056a0f0b3bfac7a62449bc73
[ "MIT" ]
1
2021-08-17T05:22:09.000Z
2021-08-17T05:22:09.000Z
2.cpp
wuyongfa-genius/Algorithms_in_C-
0973fc1e2c01a818056a0f0b3bfac7a62449bc73
[ "MIT" ]
null
null
null
2.cpp
wuyongfa-genius/Algorithms_in_C-
0973fc1e2c01a818056a0f0b3bfac7a62449bc73
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; int main(){ vector<vector<double>>in={{0.0400, 0.0800, 0.1200, 0.1600, 0.2000}, {0.2400, 0.2800, 0.3200, 0.3600, 0.4000}, {0.4400, 0.4800, 0.5200, 0.5600, 0.6000}, {0.6400, 0.6800, 0.7200, 0.7600, 0.8000}, {0.8400, 0.8800, 0.9200, 0.9600, 1...
28.15
71
0.571936
wuyongfa-genius
d67398c6c220e203a4e37e2cd80a33fd61a6d338
1,167
hpp
C++
game/code/common/game/bowlergame/gamescript/levelscript6.hpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
null
null
null
game/code/common/game/bowlergame/gamescript/levelscript6.hpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
null
null
null
game/code/common/game/bowlergame/gamescript/levelscript6.hpp
justinctlam/MarbleStrike
64fe36a5a4db2b299983b0e2556ab1cd8126259b
[ "MIT" ]
2
2019-03-08T03:02:45.000Z
2019-05-14T08:41:26.000Z
#ifndef LEVEL_SCRIPT_6_HPP #define LEVEL_SCRIPT_6_HPP ////////////////////////////////////////////////////// // INCLUDES ////////////////////////////////////////////////////// #include "common/game/bowlergame/gamescript/levelscript.hpp" ////////////////////////////////////////////////////// // FORWARD DECLARATIONS /...
22.018868
60
0.456727
justinctlam
d6753cd765b808e4f5d8d9b8282128610b29230f
15,744
cc
C++
src/sepia/cluster/medoids.cc
mahmoudimus/flamingo
61b46a9f57c9aa4050b0dd8b95a44e1abef0d006
[ "Unlicense" ]
4
2018-08-23T08:05:33.000Z
2019-06-13T09:23:27.000Z
src/sepia/cluster/medoids.cc
mahmoudimus/flamingo
61b46a9f57c9aa4050b0dd8b95a44e1abef0d006
[ "Unlicense" ]
null
null
null
src/sepia/cluster/medoids.cc
mahmoudimus/flamingo
61b46a9f57c9aa4050b0dd8b95a44e1abef0d006
[ "Unlicense" ]
null
null
null
/* $Id: medoids.cc 4143 2008-12-08 23:23:55Z abehm $ Copyright (C) 2007 by The Regents of the University of California Redistribution of this file is permitted under the terms of the BSD license Date: 01/14/2006 Author: Rares Vernica <rares (at) ics.uci.edu> */ #include "medoids.h" #include <cstdlib> ...
27.38087
82
0.55545
mahmoudimus
d67927f1561a131ccbc566922fca8e4679197cb9
717
hpp
C++
ares/fc/fc.hpp
moon-chilled/Ares
909fb098c292f8336d0502dc677050312d8b5c81
[ "0BSD" ]
7
2020-07-25T11:44:39.000Z
2021-01-29T13:21:31.000Z
ares/fc/fc.hpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
null
null
null
ares/fc/fc.hpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
1
2021-03-22T16:15:30.000Z
2021-03-22T16:15:30.000Z
#pragma once //started: 2011-09-05 #include <ares/ares.hpp> #include <component/processor/mos6502/mos6502.hpp> #include <component/audio/ym2149/ym2149.hpp> #include <component/audio/ym2413/ym2413.hpp> #include <component/eeprom/x24c01/x24c01.hpp> namespace ares::Famicom { #include <ares/inline.hpp> struct Regio...
23.9
50
0.707113
moon-chilled
d67a4821068d7a35b268da8e5e7661b7c65cd068
3,411
cpp
C++
src/hssh/local_topological/training/boosting_feature_selection.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
3
2020-03-05T23:56:14.000Z
2021-02-17T19:06:50.000Z
src/hssh/local_topological/training/boosting_feature_selection.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
1
2021-03-07T01:23:47.000Z
2021-03-07T01:23:47.000Z
src/hssh/local_topological/training/boosting_feature_selection.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
1
2021-03-03T07:54:16.000Z
2021-03-03T07:54:16.000Z
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
34.454545
118
0.61888
anuranbaka
d67acbf8f7a05b2d9fc364162a06e452d6b8c175
6,163
cpp
C++
src/gluon/app/app.cpp
cmourglia/gluon-old
9c9a55e86cd8878c0e90917882965c87c84969eb
[ "MIT" ]
null
null
null
src/gluon/app/app.cpp
cmourglia/gluon-old
9c9a55e86cd8878c0e90917882965c87c84969eb
[ "MIT" ]
null
null
null
src/gluon/app/app.cpp
cmourglia/gluon-old
9c9a55e86cd8878c0e90917882965c87c84969eb
[ "MIT" ]
2
2022-02-21T19:09:02.000Z
2022-02-21T19:09:51.000Z
#include "gluon/app/app.h" // #include "gluon/core/Utils.h" #include <SDL.h> #include <SDL_image.h> #include <beard/io/io.h> #include <nanosvg.h> #include <vector> #include "gluon/widgets/widget.h" GluonApp* GluonApp::s_instance = nullptr; GluonApp* GluonApp::instance() { return s_instance; } GluonApp::GluonApp(i...
29.917476
80
0.469252
cmourglia
d67c1099519ae718f4c37319460961db62833847
993
cc
C++
chrome/browser/ui/sync/browser_synced_tab_delegate.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/ui/sync/browser_synced_tab_delegate.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/ui/sync/browser_synced_tab_delegate.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2018 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/ui/sync/browser_synced_tab_delegate.h" #include "chrome/browser/sync/sessions/sync_sessions_router_tab_helper.h" #include "compo...
31.03125
73
0.79859
zealoussnow
d67ce055c71847927406dd2e774cbd3657ab1ae1
14,896
hpp
C++
src/hadt_forward_list.hpp
gahcep/HeterogeneousList
e39a6b3ceff2423e9ed3711bbf9bff5c1e5d145f
[ "MIT" ]
null
null
null
src/hadt_forward_list.hpp
gahcep/HeterogeneousList
e39a6b3ceff2423e9ed3711bbf9bff5c1e5d145f
[ "MIT" ]
null
null
null
src/hadt_forward_list.hpp
gahcep/HeterogeneousList
e39a6b3ceff2423e9ed3711bbf9bff5c1e5d145f
[ "MIT" ]
null
null
null
#pragma once // std::bidirectional_iterator_tag, std::forward_iterator_tag, std::iterator #include <iterator> // std::out_of_range, std::length_error #include <stdexcept> // std::cout, std::endl, std::ostream #include <iostream> // std::move, std::swap, std::ptrdiff_t #include <utility> // std::is_same, std::enabl...
24.951424
115
0.66058
gahcep
d67f2bb45571bc373a35179532f8fd9e2994bff9
20,207
cpp
C++
da/min/OPTI/Solvers/Source/cbcmex_old.cpp
Heliot7/open-set-da
cd3c8c9a2491dd7165259e8fde769046f735a5b8
[ "BSD-3-Clause" ]
83
2017-11-21T00:50:05.000Z
2022-03-18T00:54:25.000Z
da/min/OPTI/Solvers/Source/cbcmex_old.cpp
Heliot7/open-set-da
cd3c8c9a2491dd7165259e8fde769046f735a5b8
[ "BSD-3-Clause" ]
6
2017-11-21T00:50:44.000Z
2021-09-07T13:43:14.000Z
da/min/OPTI/Solvers/Source/cbcmex_old.cpp
Heliot7/open-set-da
cd3c8c9a2491dd7165259e8fde769046f735a5b8
[ "BSD-3-Clause" ]
15
2018-03-06T00:01:29.000Z
2021-07-28T05:18:16.000Z
/* CBCMEX - A MATLAB MEX Interface to CBC * Released Under the BSD 3-Clause License: * http://www.i2c2.aut.ac.nz/Wiki/OPTI/index.php/DL/License * * Copyright (C) Jonathan Currie 2012-2013 * www.i2c2.aut.ac.nz */ #include "mex.h" #include "Coin_C_defines.h" #include "config_clp_default.h" #include "config_cbc_def...
34.839655
114
0.545801
Heliot7
d680da63aa1e35fd53bd14dada1f39efa659114b
679
hpp
C++
RFGR Extended Camera/pch.hpp
Moneyl/RFGR-Extended-Camera
a68fa3a531f0be71eea0416bdd390bd1b1fa560e
[ "MIT" ]
4
2020-05-25T01:42:56.000Z
2021-01-16T19:46:50.000Z
RFGR Extended Camera/pch.hpp
Moneyl/RFGR-Extended-Camera
a68fa3a531f0be71eea0416bdd390bd1b1fa560e
[ "MIT" ]
null
null
null
RFGR Extended Camera/pch.hpp
Moneyl/RFGR-Extended-Camera
a68fa3a531f0be71eea0416bdd390bd1b1fa560e
[ "MIT" ]
null
null
null
#pragma once //Keep in mind that precompiled header use is actually disabled for the moment, since I was having issues getting them working properly. #pragma warning(push, 0) //Disable warnings on included files since I can't / won't modify them to remove warnings. #include <windows.h> #include <stdio.h> #include <st...
26.115385
136
0.748159
Moneyl
d68582f71f2fc072e07c8f7be7c157197ab3f61b
4,887
cpp
C++
plugins/channel-safely/channel-manager.cpp
cppcooper/dfhack-cxxrandom
550ee4441473ced455ab552ccdbff77cf0978e31
[ "CC-BY-3.0" ]
null
null
null
plugins/channel-safely/channel-manager.cpp
cppcooper/dfhack-cxxrandom
550ee4441473ced455ab552ccdbff77cf0978e31
[ "CC-BY-3.0" ]
null
null
null
plugins/channel-safely/channel-manager.cpp
cppcooper/dfhack-cxxrandom
550ee4441473ced455ab552ccdbff77cf0978e31
[ "CC-BY-3.0" ]
null
null
null
#include "channel-manager.h" #include "inlines.h" #include <df/block_square_event_designation_priorityst.h> #include <LuaTools.h> #include <LuaWrapper.h> extern color_ostream* debug_out; extern bool cheat_mode; // executes dig designations for the specified tile coordinates static bool dig_now_tile(color_ostream &ou...
41.415254
125
0.606916
cppcooper
d688e280038f673816c624e808145f579b1b157a
2,533
cpp
C++
fboss/agent/hw/test/dataplane_tests/HwInDiscardCounterTests.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
1
2020-03-20T22:47:21.000Z
2020-03-20T22:47:21.000Z
fboss/agent/hw/test/dataplane_tests/HwInDiscardCounterTests.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/test/dataplane_tests/HwInDiscardCounterTests.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #in...
32.896104
80
0.702724
phshaikh
d6895fc87a464aec04165fc254a2ea15e733e06f
2,198
cpp
C++
utility/fsutils.cpp
anatolse/beam
43c4ce0011598641d9cdeffbfdee66fde0a49730
[ "Apache-2.0" ]
2
2020-03-11T09:10:10.000Z
2020-04-17T13:45:08.000Z
utility/fsutils.cpp
anatolse/beam
43c4ce0011598641d9cdeffbfdee66fde0a49730
[ "Apache-2.0" ]
null
null
null
utility/fsutils.cpp
anatolse/beam
43c4ce0011598641d9cdeffbfdee66fde0a49730
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Beam Team // // 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...
31.4
97
0.66424
anatolse
d68d60e836ae31e5531df8ad7cbb210367525877
1,052
cc
C++
device/usb/usb_descriptors.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-02-03T05:32:07.000Z
2019-02-03T05:32:07.000Z
device/usb/usb_descriptors.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/usb/usb_descriptors.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 "device/usb/usb_descriptors.h" namespace device { UsbEndpointDescriptor::UsbEndpointDescriptor() : address(0), direction(USB_DIRECTIO...
23.909091
73
0.730989
kjthegod
d6917a653edaec9f829f04d7520029e30008ea9c
5,018
cpp
C++
experimental/Pomdog.Experimental/Rendering/Renderer.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Rendering/Renderer.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Rendering/Renderer.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #include "Renderer.hpp" #include "RenderCommand.hpp" #include "Pomdog.Experimental/Rendering/RenderCommandProcessor.hpp" #include "Pomdog/Graphics/GraphicsCommandList.hpp" #include "Pomdog/Utility/Assert.hpp" #include <algorithm> #include <functio...
25.343434
81
0.676365
ValtoForks
d69236b2dbbfa8f1a674d34f30360b9f9f0bebb3
10,022
cpp
C++
code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_to_temporal_base.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_to_temporal_base.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_to_temporal_base.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
34.439863
113
0.675314
wangcy6
d694116e42ea4f7293c4db1780197698d435c225
6,510
cpp
C++
third_party/WebKit/Source/platform/audio/StereoPanner.cpp
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
third_party/WebKit/Source/platform/audio/StereoPanner.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
third_party/WebKit/Source/platform/audio/StereoPanner.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.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 "platform/audio/StereoPanner.h" #include "platform/audio/AudioBus.h" #include "platform/audio/AudioUtilities.h" #include "wtf/MathExtras.h" #incl...
35.769231
74
0.615975
google-ar
d69526bacc874b51045fc26db91ebeb35ae36f94
12,135
cpp
C++
Engine/Source/Runtime/AnimGraphRuntime/Private/BoneControllers/AnimNode_Fabrik.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/AnimGraphRuntime/Private/BoneControllers/AnimNode_Fabrik.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/AnimGraphRuntime/Private/BoneControllers/AnimNode_Fabrik.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "BoneControllers/AnimNode_Fabrik.h" #include "AnimationRuntime.h" #include "Components/SkeletalMeshComponent.h" #include "DrawDebugHelpers.h" #include "Animation/AnimInstanceProxy.h" ///////////////////////////////////////////////////// // AnimNode...
39.917763
204
0.776185
windystrife
d6984666bc2ca846b10e0e34b9da321c7ff06d8b
5,269
cpp
C++
ImageProcessing/HarrisCornerDetector.cpp
IntelSoftware/MulticoreImageProcessing
1dbb65b6ac893d608016f6595523f5b0b9ba342e
[ "Intel" ]
14
2018-07-18T08:08:51.000Z
2021-12-24T15:32:23.000Z
ImageProcessing/HarrisCornerDetector.cpp
IntelSoftware/MulticoreImageProcessing
1dbb65b6ac893d608016f6595523f5b0b9ba342e
[ "Intel" ]
null
null
null
ImageProcessing/HarrisCornerDetector.cpp
IntelSoftware/MulticoreImageProcessing
1dbb65b6ac893d608016f6595523f5b0b9ba342e
[ "Intel" ]
7
2018-10-10T09:02:05.000Z
2021-03-20T05:34:28.000Z
#include "stdafx.h" #include < math.h> #include <fstream> #include "omp.h" using namespace std; extern "C" __declspec(dllexport) int __stdcall HarrisCornerDetector(BYTE* inBGR, BYTE* outBGR, int stride, int width, int height, KVP* arr, int nArr) { // Pack the following structure on one-byte boundaries: smallest poss...
34.89404
149
0.59423
IntelSoftware
d6998d6612575288ebed1b2c85d3f7c60738ad8a
440
cc
C++
cc/template.cc
asciphx/CarryLib
6f8c54f182525eee47feae412a109e15ead319cc
[ "MIT" ]
1
2021-12-02T11:24:08.000Z
2021-12-02T11:24:08.000Z
cc/template.cc
asciphx/CarryLib
6f8c54f182525eee47feae412a109e15ead319cc
[ "MIT" ]
null
null
null
cc/template.cc
asciphx/CarryLib
6f8c54f182525eee47feae412a109e15ead319cc
[ "MIT" ]
null
null
null
#include <string> #include <iostream> using namespace std; template <typename T,int N> class Array{private:T arr[N]; public:int Size()const{return N;}}; template <typename T> void print(T& x) { std::cout << x << std::endl; } template <typename T, typename... Args> void print(T s, Args... a) { std::cout << s; print<Args...
27.5
71
0.618182
asciphx
d6a2b7460e047a9fbe289a488e5b9ebf1d56154c
5,326
hpp
C++
src/color/lab/convert/LabCH.hpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
120
2015-12-31T22:30:14.000Z
2022-03-29T15:08:01.000Z
src/color/lab/convert/LabCH.hpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
6
2016-08-22T02:14:56.000Z
2021-11-06T22:39:52.000Z
src/color/lab/convert/LabCH.hpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
23
2016-02-03T01:56:26.000Z
2021-09-28T16:36:27.000Z
#ifndef color_lab_convert_LabCH #define color_lab_convert_LabCH #include "../../_internal/convert.hpp" #include "../category.hpp" #include "../../LabCH/LabCH.hpp" namespace color { namespace _internal { template < typename lab_tag_name ,typename LabCH_tag_...
40.656489
160
0.647953
ehtec
d6a76973891f68e41b3c62084dae8a29d8a61ab6
8,726
cpp
C++
sound-cloud/audio/Audio.cpp
MikaylaFischler/light-art-sound-cloud
31fa393d85e42fb0523579b46da5a1680fa63650
[ "MIT" ]
null
null
null
sound-cloud/audio/Audio.cpp
MikaylaFischler/light-art-sound-cloud
31fa393d85e42fb0523579b46da5a1680fa63650
[ "MIT" ]
null
null
null
sound-cloud/audio/Audio.cpp
MikaylaFischler/light-art-sound-cloud
31fa393d85e42fb0523579b46da5a1680fa63650
[ "MIT" ]
null
null
null
#include "Audio.hpp" AudioControlSGTL5000* Audio::board = NULL; AudioInputI2S* Audio::input = NULL; AudioAnalyzeFFT1024* Audio::fft_l = NULL; AudioAnalyzeFFT1024* Audio::fft_r = NULL; AudioConnection* Audio::fft_l_conn = NULL; AudioConnection* Audio::fft_r_conn = NULL; float** Audio::last_fft = NULL; float*** Audio::f...
30.833922
159
0.683475
MikaylaFischler
d6ad47df68a2fcb10c7d062499ad5b3f4b09c858
260
cpp
C++
src/skills/Skill.cpp
char-lotl/traveller-cc
802d36d7eaa8b027655912c4c71f7ebff2f2059f
[ "MIT" ]
null
null
null
src/skills/Skill.cpp
char-lotl/traveller-cc
802d36d7eaa8b027655912c4c71f7ebff2f2059f
[ "MIT" ]
null
null
null
src/skills/Skill.cpp
char-lotl/traveller-cc
802d36d7eaa8b027655912c4c71f7ebff2f2059f
[ "MIT" ]
null
null
null
#include <optional> #include <string> #include "Skill.h" Skill::Skill(skill_type ws) : which_skill(ws) { // nothing required here } Skill::Skill(skill_type ws, std::string subsk) : which_skill(ws), specialty(subsk) { // still nothing required here }
20
48
0.7
char-lotl
d6ae0786b9df375767708406bdc7c02258a5dfb4
925
cpp
C++
src/shader.cpp
cbries/tetrisgl
a40f22140d05c2cf6116946459a99a0477c1569a
[ "MIT" ]
1
2015-02-23T19:06:04.000Z
2015-02-23T19:06:04.000Z
src/shader.cpp
cbries/tetrisgl
a40f22140d05c2cf6116946459a99a0477c1569a
[ "MIT" ]
null
null
null
src/shader.cpp
cbries/tetrisgl
a40f22140d05c2cf6116946459a99a0477c1569a
[ "MIT" ]
null
null
null
/* * Copyright (c) 2008 Christian Benjamin Ries * License: MIT * Website: https://github.com/cbries/tetrisgl */ #include <stdio.h> #include <stdlib.h> #include <string> #include <iostream> #include "shader.h" #include "textfile.h" GLuint setShaders( std::string filename ) { GLuint v, f; char *vs = NULL,*fs = N...
18.877551
49
0.675676
cbries
d6af020326eb0058e688e2e0c92a0d4c933038d4
8,161
cpp
C++
clang-tools-extra/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
clang-tools-extra/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
clang-tools-extra/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
//===--- VirtualClassDestructorCheck.cpp - clang-tidy -----------------===// // // 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 // //===-------------------------------...
37.26484
80
0.687171
LaudateCorpus1
d6b35ae2331cfd74b20a6fe63fc1a21789b750d9
673
cc
C++
algo/lc.114.cc
cdluminate/MyNotes
cf28f2a3fa72723153147e21fed5e7b598baf44f
[ "CC0-1.0" ]
null
null
null
algo/lc.114.cc
cdluminate/MyNotes
cf28f2a3fa72723153147e21fed5e7b598baf44f
[ "CC0-1.0" ]
null
null
null
algo/lc.114.cc
cdluminate/MyNotes
cf28f2a3fa72723153147e21fed5e7b598baf44f
[ "CC0-1.0" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: void flatten(TreeNode* root) { if (nullptr == root) return; flatten(ro...
23.206897
59
0.481426
cdluminate
d6b42c58ecda30c17d6cfe97615a6f11bcaafbf5
25,018
cpp
C++
src/modules/processes/ColorCalibration/BackgroundNeutralizationInterface.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/ColorCalibration/BackgroundNeutralizationInterface.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/ColorCalibration/BackgroundNeutralizationInterface.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 2.4.9 // ---------------------------------------------------------------------------- // Standard ColorCalibration Process Module Version 1.5.1 // -------------------...
43.509565
145
0.6664
fmeschia