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
1700c91dad77fe317ef0bb30d98d8d15871c7a86
92
cpp
C++
src/examples/12_module/06_arrays_char/main.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-LeytonLL
0c544a3fa189dec5da827efe70fccb9f395cbe7d
[ "MIT" ]
null
null
null
src/examples/12_module/06_arrays_char/main.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-LeytonLL
0c544a3fa189dec5da827efe70fccb9f395cbe7d
[ "MIT" ]
null
null
null
src/examples/12_module/06_arrays_char/main.cpp
acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-LeytonLL
0c544a3fa189dec5da827efe70fccb9f395cbe7d
[ "MIT" ]
null
null
null
#include "arrays_char.h" #include<iostream> int main() { stack_char_array(); return 0; };
11.5
24
0.695652
acc-cosc-1337-fall-2019
17015c7577724502a2a655d2330796e8e8efa964
4,403
cpp
C++
test/integration/cluster_solver/ctint/ctint_hund_lattice_test.cpp
frobnitzem/DCA
9f5d16cbfe1a4c4df1d4c8353654dd2882671dca
[ "BSD-3-Clause" ]
1
2021-06-16T16:26:22.000Z
2021-06-16T16:26:22.000Z
test/integration/cluster_solver/ctint/ctint_hund_lattice_test.cpp
frobnitzem/DCA
9f5d16cbfe1a4c4df1d4c8353654dd2882671dca
[ "BSD-3-Clause" ]
11
2020-04-22T14:50:27.000Z
2021-09-10T05:43:51.000Z
test/integration/cluster_solver/ctint/ctint_hund_lattice_test.cpp
frobnitzem/DCA
9f5d16cbfe1a4c4df1d4c8353654dd2882671dca
[ "BSD-3-Clause" ]
1
2019-09-22T16:33:19.000Z
2019-09-22T16:33:19.000Z
// Copyright (C) 2018 ETH Zurich // Copyright (C) 2018 UT-Battelle, LLC // All rights reserved. // // See LICENSE.txt for terms of usage. // See CITATION.md for citation guidelines, if DCA++ is used for scientific publications. // // Author: Giovanni Balduzzi (gbalduzz@itp.phys.ethz.ch) // // No-change test for CT-INT...
36.691667
109
0.720872
frobnitzem
1701e899bb0bbd564582e6c79cb4ffbb7fd5aa58
15,817
cpp
C++
Crypto_Win/src/RSAKeyImpl.cpp
spiralgenetics/poco
ecb25053f8d10ae063d6b1064706ce2e682de64c
[ "BSL-1.0" ]
null
null
null
Crypto_Win/src/RSAKeyImpl.cpp
spiralgenetics/poco
ecb25053f8d10ae063d6b1064706ce2e682de64c
[ "BSL-1.0" ]
null
null
null
Crypto_Win/src/RSAKeyImpl.cpp
spiralgenetics/poco
ecb25053f8d10ae063d6b1064706ce2e682de64c
[ "BSL-1.0" ]
null
null
null
// // RSAKeyImpl.cpp // // $Id$ // // Library: Crypto_Win // Package: RSA // Module: RSAKeyImpl // // Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/Crypto/RSAKeyImpl.h" #include "Poco/Crypto/X509Certificate.h" #in...
26.405676
133
0.675855
spiralgenetics
170773c50502f252469cb88704b413b4343e820b
5,219
cpp
C++
net/mmc/dhcp/cred.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/mmc/dhcp/cred.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/mmc/dhcp/cred.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corporation, 1997 - 2000 **/ /**********************************************************************/ /* cred.cpp This ...
28.834254
101
0.579805
npocmaka
1708bfc927cfba97c21c31f017a225de08ce89b5
28,658
cc
C++
libcef/browser/menu_model_impl.cc
amirbn7/cef
732a307c751c2670a35fd9e0e4a491cdfc6bcc6b
[ "BSD-3-Clause" ]
null
null
null
libcef/browser/menu_model_impl.cc
amirbn7/cef
732a307c751c2670a35fd9e0e4a491cdfc6bcc6b
[ "BSD-3-Clause" ]
null
null
null
libcef/browser/menu_model_impl.cc
amirbn7/cef
732a307c751c2670a35fd9e0e4a491cdfc6bcc6b
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Embedded Framework Authors. // Portions 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 "libcef/browser/menu_model_impl.h" #include <vector> #include "libc...
27.76938
80
0.666097
amirbn7
170cdc252e7a87a413dc7e5c47f50076b934b462
3,406
cpp
C++
test/test_explode.cpp
yiyuanzhong/flinter
c52655ea5f8e48244fdb59bdf34b915faee57a6e
[ "Apache-2.0" ]
29
2016-01-29T09:31:09.000Z
2021-07-11T12:00:31.000Z
test/test_explode.cpp
yiyuanzhong/flinter
c52655ea5f8e48244fdb59bdf34b915faee57a6e
[ "Apache-2.0" ]
2
2015-03-30T09:59:51.000Z
2017-03-13T09:35:18.000Z
test/test_explode.cpp
yiyuanzhong/flinter
c52655ea5f8e48244fdb59bdf34b915faee57a6e
[ "Apache-2.0" ]
17
2015-03-28T09:24:53.000Z
2021-08-07T10:09:10.000Z
#include <flinter/explode.h> #include <gtest/gtest.h> #include <list> #include <string> #include <vector> TEST(ExplodeTest, TestExplodeNull0) { std::vector<std::string> r; flinter::explode("", "|", &r, true); ASSERT_EQ(r.size(), 1u); EXPECT_TRUE(r[0].empty()); } TEST(ExplodeTest, TestExplodeNull1) {...
23.818182
57
0.557546
yiyuanzhong
170f49dbfc90c9967142d0dc69db1d9764ea68a2
2,973
hpp
C++
include/Core/CastorUtils/Miscellaneous/Debug.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
include/Core/CastorUtils/Miscellaneous/Debug.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
include/Core/CastorUtils/Miscellaneous/Debug.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
/* See LICENSE file in root folder */ #ifndef ___CASTOR_DEBUG_H___ #define ___CASTOR_DEBUG_H___ #include <ostream> #include <sstream> #include <string> namespace castor { class DynamicLibrary; namespace Debug { struct Backtrace { int m_toCapture; int m_toSkip; inline Backtrace( int toCapture = 20, i...
21.235714
88
0.657249
Mu-L
1710bcdf5f2e7155043f2ed192f285637d9194a1
212
cpp
C++
source/Abstract/Action/LambdaAction.cpp
metamaker/custom-global-hotkeys
848c1d01504084eaff5ec23ad174b43eb3298ff9
[ "MIT" ]
1
2017-03-27T15:58:21.000Z
2017-03-27T15:58:21.000Z
source/Abstract/Action/LambdaAction.cpp
metamaker/custom-global-hotkeys
848c1d01504084eaff5ec23ad174b43eb3298ff9
[ "MIT" ]
null
null
null
source/Abstract/Action/LambdaAction.cpp
metamaker/custom-global-hotkeys
848c1d01504084eaff5ec23ad174b43eb3298ff9
[ "MIT" ]
null
null
null
#include "LambdaAction.h" using CustomGlobalHotkeys::Action::LambdaAction; LambdaAction::LambdaAction(TLambdaFunction function): m_function(function) { } void LambdaAction::execute() const { m_function(); }
15.142857
53
0.778302
metamaker
1712855eb11da0ee29bc1b3a02f9a0457a81d32c
10,611
cpp
C++
third_party/spirv-tools/test/fuzz/transformation_replace_opselect_with_conditional_branch_test.cpp
RitwikSaikia/filament
57df4481e99dd45af04e47c9259b44187862bff5
[ "Apache-2.0" ]
13,885
2018-08-03T17:46:24.000Z
2022-03-31T14:26:19.000Z
third_party/spirv-tools/test/fuzz/transformation_replace_opselect_with_conditional_branch_test.cpp
RitwikSaikia/filament
57df4481e99dd45af04e47c9259b44187862bff5
[ "Apache-2.0" ]
3,533
2015-11-16T15:43:09.000Z
2022-03-31T17:42:38.000Z
third_party/spirv-tools/test/fuzz/transformation_replace_opselect_with_conditional_branch_test.cpp
RitwikSaikia/filament
57df4481e99dd45af04e47c9259b44187862bff5
[ "Apache-2.0" ]
1,500
2018-08-03T23:34:27.000Z
2022-03-30T13:43:10.000Z
// Copyright (c) 2020 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 ...
38.306859
80
0.607577
RitwikSaikia
17136afe6ed90455d65d2f197f6dcd48c5fcdb41
2,355
hpp
C++
contributors/nikolai_chernyshov/graph.hpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
1
2022-02-07T15:52:51.000Z
2022-02-07T15:52:51.000Z
contributors/nikolai_chernyshov/graph.hpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
null
null
null
contributors/nikolai_chernyshov/graph.hpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
2
2022-02-07T15:53:00.000Z
2022-02-12T13:31:36.000Z
#pragma once #include <vector> namespace uni_course_cpp { using VertexId = int; using EdgeId = int; struct Edge { enum class Color { Gray, Green, Yellow, Red }; const EdgeId id; const VertexId vertex1_id, vertex2_id; const Color color; Edge(const VertexId& _vertex1_id, const VertexId& _vertex2_id,...
30.192308
79
0.709979
AxoyTO
17150a7b486c4bebd663a453550047d9039167d0
8,254
hpp
C++
modules/scheme/eval.hpp
apache/tuscany-sca-cpp
c47b456bc0c7faa430688803d706860b1806108c
[ "ECL-2.0", "Apache-2.0" ]
4
2016-03-11T21:13:57.000Z
2021-11-10T13:38:53.000Z
modules/scheme/eval.hpp
apache/tuscany-sca-cpp
c47b456bc0c7faa430688803d706860b1806108c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
modules/scheme/eval.hpp
apache/tuscany-sca-cpp
c47b456bc0c7faa430688803d706860b1806108c
[ "ECL-2.0", "Apache-2.0" ]
6
2016-01-05T16:58:49.000Z
2021-11-10T13:38:43.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
28.364261
112
0.695178
apache
1715c5796bc9529cdac6dc74c3a5e7a3d4a3d9dd
238
cpp
C++
app/src/main/cpp/people/people.cpp
kewpieQT/NDKPracticeDemo
a843e78761ecff9f1a1a9361f7d430fa6d8a5bc3
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/people/people.cpp
kewpieQT/NDKPracticeDemo
a843e78761ecff9f1a1a9361f7d430fa6d8a5bc3
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/people/people.cpp
kewpieQT/NDKPracticeDemo
a843e78761ecff9f1a1a9361f7d430fa6d8a5bc3
[ "Apache-2.0" ]
null
null
null
// // Created by Kewpie Qin on 2020/12/2. // #include "people.h" std::string people::getString() { return "this is from people"; } std::string people::getStringFromCStyle(const char *str) { std::string s(str); return s; }
14.875
58
0.642857
kewpieQT
171828d04d852a9a93dc5979b81ed3e8b98c7ee1
13,979
ipp
C++
third_party/include/mvscxx/oglplus/enums/program_resource_property_def.ipp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
third_party/include/mvscxx/oglplus/enums/program_resource_property_def.ipp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
third_party/include/mvscxx/oglplus/enums/program_resource_property_def.ipp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
// File implement/oglplus/enums/program_resource_property_def.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/program_resource_property.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2014 Matus Chochlik. // Distributed under...
30.926991
102
0.836183
Simmesimme
17185798c1d139c484a0bd0d07f22bbbca372dd9
639
cpp
C++
chapter04/example4_01.cpp
ly-mem-thread/multi_threading
284a0c4ae9c7f8e9ba1faa205fb0e6d634d653cb
[ "MIT" ]
213
2018-06-23T04:23:12.000Z
2022-03-22T09:01:17.000Z
chapter04/example4_01.cpp
ZhangChiABC/multi_threading
284a0c4ae9c7f8e9ba1faa205fb0e6d634d653cb
[ "MIT" ]
null
null
null
chapter04/example4_01.cpp
ZhangChiABC/multi_threading
284a0c4ae9c7f8e9ba1faa205fb0e6d634d653cb
[ "MIT" ]
101
2018-06-29T09:17:00.000Z
2022-03-29T09:55:52.000Z
//清单4.1 使用std::condition_variable等待数据 std::mutex mut; std::queue<data_chunk> data_queue; std::condition_variable data_cond; void data_preparation_thread() { while(more_data_to_prepare()) { data_chunk const data=prepare_data(); std::lock_guard<std::mutex> lk(mut); data_queue.push(data); data_cond.notify_one()...
20.612903
53
0.719875
ly-mem-thread
171a2f6a5a3f258ce197fcd6196a9ecd9e67f719
6,725
cpp
C++
src/minimizerdownhillsimplex.cpp
virtmax/NucMath
b2030c19594f3efb9923380fd410870983a0c17a
[ "MIT" ]
null
null
null
src/minimizerdownhillsimplex.cpp
virtmax/NucMath
b2030c19594f3efb9923380fd410870983a0c17a
[ "MIT" ]
null
null
null
src/minimizerdownhillsimplex.cpp
virtmax/NucMath
b2030c19594f3efb9923380fd410870983a0c17a
[ "MIT" ]
null
null
null
#include "minimizerdownhillsimplex.h" nucmath::OPTIMIZER_RETURN_TYPE nucmath::downhill_simplex_optimization(FUNC2MIN opt_func, const std::vector< std::array<double,3> > &initial_p, std::vector<double> &result_p, ...
29.23913
101
0.477918
virtmax
171aefaee15b1ae37a501fa634159acb353a964d
14,467
cc
C++
src/xzero/http/http2/FrameGenerator.cc
pjsaksa/x0
96b69e5a54b006e3d929b9934c2708f7967371bb
[ "MIT" ]
24
2016-07-10T08:05:11.000Z
2021-11-16T10:53:48.000Z
src/xzero/http/http2/FrameGenerator.cc
pjsaksa/x0
96b69e5a54b006e3d929b9934c2708f7967371bb
[ "MIT" ]
14
2015-04-12T10:45:26.000Z
2016-06-28T22:27:50.000Z
src/xzero/http/http2/FrameGenerator.cc
pjsaksa/x0
96b69e5a54b006e3d929b9934c2708f7967371bb
[ "MIT" ]
4
2016-10-05T17:51:38.000Z
2020-04-20T07:45:23.000Z
// This file is part of the "x0" project, http://github.com/christianparpart/x0> // (c) 2009-2018 Christian Parpart <christian@parpart.family> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: http://op...
35.114078
90
0.475496
pjsaksa
171af1d4a20a3a7a2c9a26d94113ee8330bc7630
3,825
cpp
C++
groups/bsl/bslmt/bslmt_turnstile.cpp
hughesr/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
1
2019-01-22T19:44:05.000Z
2019-01-22T19:44:05.000Z
groups/bsl/bslmt/bslmt_turnstile.cpp
anuranrc/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
null
null
null
groups/bsl/bslmt/bslmt_turnstile.cpp
anuranrc/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
null
null
null
// bslmt_turnstile.cpp -*-C++-*- // ---------------------------------------------------------------------------- // NOTICE // // This component is not up to date with current BDE coding standards, and // should not be used as an example f...
32.974138
79
0.556601
hughesr
171cc45b31c61a2f5212e13ae93f8ec11dde1a22
1,246
cpp
C++
kuangbin/SAM/a.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
kuangbin/SAM/a.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
kuangbin/SAM/a.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int N = 500005; int len[N], nxt[N][26], par[N]; int sz, last; int new_node(int l) { len[sz] = l; memset(nxt[sz], 0, sizeof(nxt[sz])); return sz++; } void init() { sz = last = 0; par[sz] = -1; new_node(0); } void add(int c) { int p = last, np = new_node(len...
18.323529
52
0.453451
tusikalanse
171cd096ee97af5d3de21f258110801d61a27f6e
1,198
cpp
C++
sdktools/debuggers/drwatson/drwtsn32.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
sdktools/debuggers/drwatson/drwtsn32.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
sdktools/debuggers/drwatson/drwtsn32.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1993-2001 Microsoft Corporation Module Name: drwtsn32.cpp Abstract: This file implements the user interface for DRWTSN32. this includes both dialogs: the ui for the control of the options & the popup ui for application errors. Author: Wesley Witt (wesw) 1-...
14.975
73
0.54591
npocmaka
171cede105c37c6b9b0bc1700f13ca6f16be1383
4,749
cpp
C++
src/lib/object_store/ObjectStore.cpp
balabit-deps/balabit-os-7-softhsm2
250270da0746b62f2f6904f4b5531037af55b264
[ "BSD-2-Clause" ]
null
null
null
src/lib/object_store/ObjectStore.cpp
balabit-deps/balabit-os-7-softhsm2
250270da0746b62f2f6904f4b5531037af55b264
[ "BSD-2-Clause" ]
null
null
null
src/lib/object_store/ObjectStore.cpp
balabit-deps/balabit-os-7-softhsm2
250270da0746b62f2f6904f4b5531037af55b264
[ "BSD-2-Clause" ]
1
2020-06-09T11:12:49.000Z
2020-06-09T11:12:49.000Z
/* * Copyright (c) 2010 SURFnet bv * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of condition...
25.395722
97
0.695725
balabit-deps
171e841f7192f6d999af5a71f12d639f9ddf42c4
115
cpp
C++
ObserverPattern/ObserverPattern/DisplayElement.cpp
Charleslee522/HeadFirstPattern
2a1bee73ba11a7ea49ce821db26ea532a83f28bd
[ "MIT" ]
1
2017-03-02T11:49:48.000Z
2017-03-02T11:49:48.000Z
ObserverPattern/ObserverPattern/DisplayElement.cpp
Charleslee522/HeadFirstPattern
2a1bee73ba11a7ea49ce821db26ea532a83f28bd
[ "MIT" ]
null
null
null
ObserverPattern/ObserverPattern/DisplayElement.cpp
Charleslee522/HeadFirstPattern
2a1bee73ba11a7ea49ce821db26ea532a83f28bd
[ "MIT" ]
null
null
null
#include "DisplayElement.h" DisplayElement::DisplayElement(void) { } DisplayElement::~DisplayElement(void) { }
9.583333
37
0.747826
Charleslee522
171f0ce2e4dd46b1c7326d69ecc53c3bced40a34
1,289
hpp
C++
src/Utilities/ThreadSafeQueue.hpp
ClubieDong/BoardGameAI
588506278f606fa6bef2864875bf8f78557ef03b
[ "MIT" ]
2
2021-05-26T07:17:24.000Z
2021-05-26T07:21:16.000Z
src/Utilities/ThreadSafeQueue.hpp
ClubieDong/ChessAI
588506278f606fa6bef2864875bf8f78557ef03b
[ "MIT" ]
null
null
null
src/Utilities/ThreadSafeQueue.hpp
ClubieDong/ChessAI
588506278f606fa6bef2864875bf8f78557ef03b
[ "MIT" ]
null
null
null
#pragma once #include <queue> #include <mutex> #include <condition_variable> #include <deque> template <typename T> class ThreadSafeQueue { private: std::queue<T> _Queue; mutable std::mutex _Mtx; std::condition_variable _CV; public: inline explicit ThreadSafeQueue() = default; ThreadSafeQueue(con...
23.436364
65
0.615206
ClubieDong
1720491a97076eee0ad5ccb98d7635d879ace0ce
1,659
cpp
C++
test/kernel/copy_file_test.cpp
dice-group/metall
1b899e7d28264ecf937cf848e934eccadc581783
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
37
2019-07-03T05:48:42.000Z
2022-03-10T20:41:53.000Z
test/kernel/copy_file_test.cpp
dice-group/metall
1b899e7d28264ecf937cf848e934eccadc581783
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
19
2019-05-29T07:56:45.000Z
2022-02-02T07:13:46.000Z
test/kernel/copy_file_test.cpp
dice-group/metall
1b899e7d28264ecf937cf848e934eccadc581783
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
12
2019-06-11T21:56:37.000Z
2022-01-20T15:51:28.000Z
// Copyright 2019 Lawrence Livermore National Security, LLC and other Metall Project Developers. // See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (Apache-2.0 OR MIT) #include "gtest/gtest.h" #include <metall/metall.hpp> #include <metall/detail/file.hpp> #include "../test_utility.hpp" ...
25.523077
99
0.714286
dice-group
1723836adf19d3760146f2a0e8a351b48f7d90a7
9,279
cpp
C++
cpp/keylogger/main.cpp
so61pi/examples
38e2831cd6517864fc05f499f72fbb4ff6ae27c0
[ "MIT" ]
4
2019-05-01T07:23:53.000Z
2022-03-05T00:05:06.000Z
cpp/keylogger/main.cpp
so61pi/examples
38e2831cd6517864fc05f499f72fbb4ff6ae27c0
[ "MIT" ]
16
2020-02-24T13:04:12.000Z
2022-02-26T10:19:48.000Z
cpp/keylogger/main.cpp
so61pi/examples
38e2831cd6517864fc05f499f72fbb4ff6ae27c0
[ "MIT" ]
1
2019-03-30T07:29:58.000Z
2019-03-30T07:29:58.000Z
#include <chrono> #include <ctime> #include <exception> #include <functional> #include <iomanip> #include <memory> #include <sstream> #include <vector> #include <Windows.h> #include <TlHelp32.h> #include <strsafe.h> #include "Window.h" class LogRecord { public: // LogRecord(HWND hWnd) : m_hWnd(hWnd) ...
28.118182
106
0.503287
so61pi
1727a9c1e7f386fa9add68dd75d45631da753989
4,666
cc
C++
src/yb/docdb/docdb_pgapi.cc
hstenzel/yugabyte-db
b25c8f4d7a9e66d106c41c446b71af870aefa304
[ "Apache-2.0", "CC0-1.0" ]
1
2020-06-23T20:28:25.000Z
2020-06-23T20:28:25.000Z
src/yb/docdb/docdb_pgapi.cc
hstenzel/yugabyte-db
b25c8f4d7a9e66d106c41c446b71af870aefa304
[ "Apache-2.0", "CC0-1.0" ]
1
2022-02-16T01:17:34.000Z
2022-02-16T01:17:34.000Z
src/yb/docdb/docdb_pgapi.cc
hstenzel/yugabyte-db
b25c8f4d7a9e66d106c41c446b71af870aefa304
[ "Apache-2.0", "CC0-1.0" ]
1
2020-12-30T00:43:38.000Z
2020-12-30T00:43:38.000Z
//-------------------------------------------------------------------------------------------------- // 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 // // ht...
34.562963
100
0.613588
hstenzel
172d42845c2d98b340484483ff6173d78f7f0702
1,565
cc
C++
3rdParty/V8/v7.9.317/src/compiler/checkpoint-elimination.cc
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
v8_7_5/src/compiler/checkpoint-elimination.cc
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
v8_7_5/src/compiler/checkpoint-elimination.cc
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
1,006
2016-09-27T05:17:27.000Z
2022-03-30T02:46:51.000Z
// Copyright 2016 the V8 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. #include "src/compiler/checkpoint-elimination.h" #include "src/compiler/node-properties.h" namespace v8 { namespace internal { namespace compiler { C...
28.454545
78
0.728435
rajeev02101987
172e357c9e5cfc3f3e9baea194cb48f0ae3fea2a
9,343
cc
C++
stig/server/session.test.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
null
null
null
stig/server/session.test.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
null
null
null
stig/server/session.test.cc
jssmith/stigdb
4b4ade62299f8c6bc1d1aaf5f93dd4b77aa23104
[ "Apache-2.0" ]
1
2020-01-03T20:13:50.000Z
2020-01-03T20:13:50.000Z
/* <stig/server/session.test.cc> Unit test for <stig/server/session.h>. Copyright 2010-2014 Stig 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/lice...
42.468182
206
0.707482
jssmith
17318280684ca9ebfb55e551db233d6f720c048c
2,321
inl
C++
src/ScriptSystem/Init/details/UECS_AutoRefl/World_AutoRefl.inl
Jerry-Shen0527/Utopia
5f40edc814e5f6a33957cdc889524c41c5ef870f
[ "MIT" ]
321
2020-10-04T01:43:36.000Z
2022-03-31T02:43:38.000Z
src/ScriptSystem/Init/details/UECS_AutoRefl/World_AutoRefl.inl
Jerry-Shen0527/Utopia
5f40edc814e5f6a33957cdc889524c41c5ef870f
[ "MIT" ]
9
2020-11-17T04:06:22.000Z
2022-02-19T09:05:29.000Z
src/ScriptSystem/Init/details/UECS_AutoRefl/World_AutoRefl.inl
Jerry-Shen0527/Utopia
5f40edc814e5f6a33957cdc889524c41c5ef870f
[ "MIT" ]
41
2020-10-09T10:09:34.000Z
2022-03-27T02:51:57.000Z
// This file is generated by Ubpa::USRefl::AutoRefl #pragma once #include <USRefl/USRefl.h> #include <UTemplate/Func.h> template<> struct Ubpa::USRefl::TypeInfo<Ubpa::UECS::World> : TypeInfoBase<Ubpa::UECS::World> { #ifdef UBPA_USREFL_NOT_USE_NAMEOF static constexpr char name[18] = "Ubpa::UECS::World"; #endif sta...
29.75641
128
0.661784
Jerry-Shen0527
1737fa77d266672449e78d2289e8a21a73646382
896
cpp
C++
hardwork/sicily_datastructure/list/Find_Mid.1.cpp
jskyzero/Cplusplus.Playground
b4a82bb32af04efcffb6e251ac8956a3cc316174
[ "MIT" ]
null
null
null
hardwork/sicily_datastructure/list/Find_Mid.1.cpp
jskyzero/Cplusplus.Playground
b4a82bb32af04efcffb6e251ac8956a3cc316174
[ "MIT" ]
null
null
null
hardwork/sicily_datastructure/list/Find_Mid.1.cpp
jskyzero/Cplusplus.Playground
b4a82bb32af04efcffb6e251ac8956a3cc316174
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #define ARRAY_LENGTH 250001 void print_num(int * num) { for (int i = 0; i < sizeof(num); i++) { printf("%d ", num[i]); } printf("\n"); } int num[ARRAY_LENGTH]; int main() { int num_size, actually_size, i, temp_num; float ans; scanf("%d", &num_size); ...
21.333333
57
0.554688
jskyzero
173884be24274ff18f2e9d4ee4ff81bc407c4045
944
cpp
C++
src/Graphics/Transform.cpp
ksmai/fire-web-engine
531fd3d2ae78244bf2e2a62571ccbcd6e6c2a5bd
[ "MIT" ]
null
null
null
src/Graphics/Transform.cpp
ksmai/fire-web-engine
531fd3d2ae78244bf2e2a62571ccbcd6e6c2a5bd
[ "MIT" ]
null
null
null
src/Graphics/Transform.cpp
ksmai/fire-web-engine
531fd3d2ae78244bf2e2a62571ccbcd6e6c2a5bd
[ "MIT" ]
null
null
null
#include "glm/gtc/type_ptr.hpp" #include "glm/gtc/matrix_transform.hpp" #include "Graphics/Transform.h" FW::Transform::Transform(): matrix{1.0f}, position{0.0f, 0.0f}, size{1.0f, 1.0f}, radians{0.0f}, dirty{false} { } void FW::Transform::translate(float x, float y) { position.x += x; position.y += y; ...
18.153846
49
0.573093
ksmai
1739fd26d1ebfce4068f2e89dee34cc1efdf99ac
101
cpp
C++
ProfessionalC++/Constexpr/constexpr.cpp
zzragida/CppExamples
d627b097efc04209aa4012f7b7f9d82858da3f2d
[ "Apache-2.0" ]
null
null
null
ProfessionalC++/Constexpr/constexpr.cpp
zzragida/CppExamples
d627b097efc04209aa4012f7b7f9d82858da3f2d
[ "Apache-2.0" ]
null
null
null
ProfessionalC++/Constexpr/constexpr.cpp
zzragida/CppExamples
d627b097efc04209aa4012f7b7f9d82858da3f2d
[ "Apache-2.0" ]
null
null
null
constexpr int getArraySize() { return 32; } int main() { int myArray[getArraySize()]; return 0; }
12.625
43
0.673267
zzragida
173a4d65168dc28ce74662899b8648b65cab8754
534
hpp
C++
_library/cc/data-structures/monotonic_queue.hpp
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
4
2020-11-07T14:38:02.000Z
2022-01-03T19:02:36.000Z
_library/cc/data-structures/monotonic_queue.hpp
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
1
2019-04-17T06:55:14.000Z
2019-04-17T06:55:14.000Z
_library/cc/data-structures/monotonic_queue.hpp
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
null
null
null
#include <deque> #include <functional> template <class T, class Compare = std::less<T>> class monotonic_queue { private: std::deque<std::pair<T, int>> q; const Compare cmp = Compare(); public: void push(const T val) { int cnt = 1; while (q.size() && cmp(q.back().first, val)) { cnt += q.back().se...
18.413793
50
0.559925
zwliew
173c3d5bf1bcc534e90c0f0282aa861e72cda919
11,864
cc
C++
src/gn/label.cc
steezer/gn
52e156194f923abf40c2601cbac4dfa3ad988a08
[ "BSD-3-Clause" ]
84
2016-05-06T13:13:21.000Z
2022-03-15T02:50:59.000Z
src/gn/label.cc
steezer/gn
52e156194f923abf40c2601cbac4dfa3ad988a08
[ "BSD-3-Clause" ]
4
2017-09-29T15:16:43.000Z
2018-07-24T11:48:30.000Z
src/gn/label.cc
steezer/gn
52e156194f923abf40c2601cbac4dfa3ad988a08
[ "BSD-3-Clause" ]
39
2016-08-04T02:24:56.000Z
2022-03-02T02:31:42.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 "gn/label.h" #include "base/logging.h" #include "base/strings/string_util.h" #include "gn/err.h" #include "gn/filesystem_utils.h" #include "...
35.73494
80
0.648095
steezer
173c3f8c61e5896f098f837048f3ed3f6149d40b
8,979
cpp
C++
cpp/open3d/visualization/gui/Util.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
8
2021-03-17T14:24:12.000Z
2022-03-30T15:35:27.000Z
cpp/open3d/visualization/gui/Util.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
1
2021-11-04T09:22:25.000Z
2022-02-14T01:32:31.000Z
cpp/open3d/visualization/gui/Util.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
2
2021-08-24T18:06:55.000Z
2021-12-17T10:48:34.000Z
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2021 www.open3d.org // // Permissio...
34.402299
80
0.484798
Dudulle
173d3b522258ebaec6f23c7bee6a49150e31cc34
2,819
cpp
C++
examples/lambda_transform.cpp
free-x/SensESP
cb549ccc7a4a3e85e0484cd69dbcef10884704c3
[ "Apache-2.0" ]
null
null
null
examples/lambda_transform.cpp
free-x/SensESP
cb549ccc7a4a3e85e0484cd69dbcef10884704c3
[ "Apache-2.0" ]
null
null
null
examples/lambda_transform.cpp
free-x/SensESP
cb549ccc7a4a3e85e0484cd69dbcef10884704c3
[ "Apache-2.0" ]
null
null
null
#include <Arduino.h> #include "math.h" #include "sensesp_app.h" #include "sensors/analog_input.h" #include "signalk/signalk_output.h" #include "transforms/lambda_transform.h" ReactESP app([]() { SetupSerialDebug(115200); // Create a new SensESPApp object. This is the direct constructor call, and // an equivale...
34.378049
79
0.70486
free-x
173e4f39208ddebd61ff28f5d3ad6e81823bc8a6
1,453
cpp
C++
src/trabalho1/Truck.cpp
brunosalgado/programacao-avancada
6ce270bf2547a7cc5708a859f54d729f4d951cfe
[ "MIT" ]
null
null
null
src/trabalho1/Truck.cpp
brunosalgado/programacao-avancada
6ce270bf2547a7cc5708a859f54d729f4d951cfe
[ "MIT" ]
null
null
null
src/trabalho1/Truck.cpp
brunosalgado/programacao-avancada
6ce270bf2547a7cc5708a859f54d729f4d951cfe
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include "Truck.h" Truck::Truck() : _capacity(0.0), _length(0.0), _height(0.0), Vehicle() {} Truck::Truck(string plate, int weight, int max_kmh, double price, double capacity, double length, double height) : _capacity(capacity), _length(length), _height(height), Vehicle ...
29.06
114
0.542326
brunosalgado
173edb31653bb326be6a4f5701e9d0ea9d668671
3,988
hpp
C++
HugeCTR/include/heapex.hpp
ethem-kinginthenorth/HugeCTR
37bf562f19c5b67d669eb84cb4031c6d766cb166
[ "Apache-2.0" ]
1
2020-07-15T07:33:09.000Z
2020-07-15T07:33:09.000Z
HugeCTR/include/heapex.hpp
ethem-kinginthenorth/HugeCTR
37bf562f19c5b67d669eb84cb4031c6d766cb166
[ "Apache-2.0" ]
null
null
null
HugeCTR/include/heapex.hpp
ethem-kinginthenorth/HugeCTR
37bf562f19c5b67d669eb84cb4031c6d766cb166
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
25.729032
77
0.616851
ethem-kinginthenorth
1740170b90f1f40cc6db661e6533989ab4c9c523
5,648
cpp
C++
Assets/FrameCapturer-master/Plugin/fccore/Encoder/Audio/fcFlacContext.cpp
Okashiou/VJx
491cc37e3d6eddd78e4c99d5f211c5e2b2d498f0
[ "MIT" ]
null
null
null
Assets/FrameCapturer-master/Plugin/fccore/Encoder/Audio/fcFlacContext.cpp
Okashiou/VJx
491cc37e3d6eddd78e4c99d5f211c5e2b2d498f0
[ "MIT" ]
null
null
null
Assets/FrameCapturer-master/Plugin/fccore/Encoder/Audio/fcFlacContext.cpp
Okashiou/VJx
491cc37e3d6eddd78e4c99d5f211c5e2b2d498f0
[ "MIT" ]
null
null
null
#include "pch.h" #include "fcInternal.h" #include "Foundation/fcFoundation.h" #include "fcFlacContext.h" #ifdef fcSupportFlac #ifdef _MSC_VER #pragma comment(lib, "libFLAC_static.lib") #pragma comment(lib, "libvorbis_static.lib") #pragma comment(lib, "libogg_static.lib") #define FLAC__NO_DLL #endif #in...
28.964103
206
0.722557
Okashiou
1740fc1adcf4f884468323051aa40be29365accc
5,286
cpp
C++
Sources/VanillaDNN/Layers/DenseLayer.cpp
jaegyeom/Vanilla-DNN
3a783bbbb7d827b82716516eca1ee9e7803804a7
[ "MIT" ]
4
2021-05-20T16:02:43.000Z
2021-10-02T02:37:06.000Z
Sources/VanillaDNN/Layers/DenseLayer.cpp
jaegyeom/Vanilla-DNN
3a783bbbb7d827b82716516eca1ee9e7803804a7
[ "MIT" ]
1
2021-05-14T18:13:28.000Z
2021-05-15T01:57:06.000Z
Sources/VanillaDNN/Layers/DenseLayer.cpp
jaegyeom/Vanilla-DNN
3a783bbbb7d827b82716516eca1ee9e7803804a7
[ "MIT" ]
2
2021-05-14T18:00:34.000Z
2021-10-31T08:23:35.000Z
#ifndef VANILLA_DNN_DENSE_LAYER_CPP #define VANILLA_DNN_DENSE_LAYER_CPP #include <VanillaDNN/Layers/DenseLayer.hpp> DenseLayer::DenseLayer(){ this->dim = 0; } DenseLayer::DenseLayer(const DenseLayer& rhs) { this->dim = rhs.dim; this->weight = rhs.weight; this->bias = rhs.bias; this->setActivation(rhs.getActivat...
28.117021
105
0.699016
jaegyeom
174158f3202bc26d4e749d884eade32d495dd5b7
10,043
hpp
C++
libraries/include/rpc/rpc_msg.hpp
WillAchain/lvm
1511459593df943be8a431ac968ff23083481da8
[ "MIT" ]
19
2017-11-01T02:48:58.000Z
2018-04-25T23:07:33.000Z
libraries/include/rpc/rpc_msg.hpp
WillAchain/lvm
1511459593df943be8a431ac968ff23083481da8
[ "MIT" ]
1
2017-11-10T01:28:43.000Z
2017-11-10T01:28:43.000Z
libraries/include/rpc/rpc_msg.hpp
WillAchain/lvm
1511459593df943be8a431ac968ff23083481da8
[ "MIT" ]
24
2017-11-01T03:30:09.000Z
2018-12-28T21:57:33.000Z
/* author: saiy date: 2017.10.17 rpc message */ #ifndef _RPC_MSG_H_ #define _RPC_MSG_H_ #include <fc/array.hpp> #include <fc/io/varint.hpp> #include <fc/io/raw.hpp> #include <fc/crypto/ripemd160.hpp> #include <fc/reflect/variant.hpp> #include <util/util.hpp> #include <task/task.hpp> enum SocketMode { ASYNC_MOD...
25.361111
101
0.657373
WillAchain
174265eb5288d96d9aca4b2de6378ea41e35ea15
1,379
cc
C++
native/src/skottie/Logger.cc
magneticflux-/skija
90712df54e0d93e48678746fc2e6b1741c3d26a0
[ "Apache-2.0" ]
2,466
2020-04-08T03:01:15.000Z
2022-03-29T20:29:46.000Z
native/src/skottie/Logger.cc
Exit-Zer0/skija
4913775db2d2091cbb817f261292a846e5af022d
[ "Apache-2.0" ]
121
2020-04-30T21:16:57.000Z
2022-02-28T14:39:59.000Z
native/src/skottie/Logger.cc
Exit-Zer0/skija
4913775db2d2091cbb817f261292a846e5af022d
[ "Apache-2.0" ]
119
2020-04-29T18:29:31.000Z
2022-03-19T07:31:38.000Z
#include <jni.h> #include "interop.hh" #include "Skottie.h" using namespace skottie; class SkijaLoggerImpl: public Logger { public: SkijaLoggerImpl() { } ~SkijaLoggerImpl() { fEnv->DeleteWeakGlobalRef(fObject); } void init(JNIEnv* e, jobject o) { fEnv = e; fObject = fEnv-...
27.039216
128
0.659173
magneticflux-
1742e61a23f4e0dc10d0c2422a1a49cb577c48c5
14,418
cc
C++
Ghidra/Features/Decompiler/src/decompile/cpp/sleigh_arch.cc
Bugasu/ghidra
1bfa1aaf33485cec314b96b367c31eff4467b291
[ "Apache-2.0" ]
115
2020-04-29T22:58:59.000Z
2022-03-21T05:42:12.000Z
Ghidra/Features/Decompiler/src/decompile/cpp/sleigh_arch.cc
weisJ/ghidra
7672d4cc34f2f36365335e8da2d6f6079cc9c357
[ "Apache-2.0" ]
3
2020-05-25T11:55:04.000Z
2021-07-03T01:51:23.000Z
Ghidra/Features/Decompiler/src/decompile/cpp/sleigh_arch.cc
weisJ/ghidra
7672d4cc34f2f36365335e8da2d6f6079cc9c357
[ "Apache-2.0" ]
19
2020-04-29T12:29:46.000Z
2022-03-10T02:41:17.000Z
/* ### * IP: GHIDRA * * 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...
30.54661
109
0.689139
Bugasu
1747ee11ca7a6c3025829bb8c721e37f901f2c57
11,606
cpp
C++
src/ModelManager.cpp
GuMiner/TemperFine
434afd574a342433756cac2fa0f5073d22f2ff54
[ "MIT" ]
null
null
null
src/ModelManager.cpp
GuMiner/TemperFine
434afd574a342433756cac2fa0f5073d22f2ff54
[ "MIT" ]
null
null
null
src/ModelManager.cpp
GuMiner/TemperFine
434afd574a342433756cac2fa0f5073d22f2ff54
[ "MIT" ]
null
null
null
#include <cstring> #include <limits> #include <sstream> #include "Logger.h" #include "ModelManager.h" #include "StringUtils.h" ModelManager::ModelManager(ImageManager* imageManager) { nextModelId = 1; this->imageManager = imageManager; } unsigned int ModelManager::GetActualVertexIndex(unsigned in...
32.971591
161
0.609771
GuMiner
174820f058b51a4fc5e55717bc3777a96bd1a019
4,166
cpp
C++
Server/Shared/src/DisturbancePacket.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
4
2015-08-17T20:12:22.000Z
2020-05-30T19:53:26.000Z
Server/Shared/src/DisturbancePacket.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
Server/Shared/src/DisturbancePacket.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...
40.446602
755
0.630821
wayfinder
174d714e3f95ef79e330073edf652faa71e9300c
3,653
cpp
C++
C++/Object-Oriented Programming in C++/Chapter 4_Structures/7.cpp
OjeshManandhar/Code-Backup
67a395fe2439725f42ce0a18b4d2e2e65f00695d
[ "MIT" ]
2
2019-01-03T14:12:52.000Z
2019-03-22T16:13:16.000Z
C++/Object-Oriented Programming in C++/Chapter 4_Structures/7.cpp
OjeshManandhar/Code-Backup
67a395fe2439725f42ce0a18b4d2e2e65f00695d
[ "MIT" ]
null
null
null
C++/Object-Oriented Programming in C++/Chapter 4_Structures/7.cpp
OjeshManandhar/Code-Backup
67a395fe2439725f42ce0a18b4d2e2e65f00695d
[ "MIT" ]
1
2019-01-13T17:54:01.000Z
2019-01-13T17:54:01.000Z
#include <iostream> using namespace std; int main() { enum etype { laborer = 'l', secretary = 's', manager = 'm', accountant = 'a', executive = 'e', researcher = 'r' }; struct date { int day, mon, year; }; struct employee { int no; float com; etype type; date first_day; }e1, e2, e3; char ch; c...
25.545455
128
0.570216
OjeshManandhar
174dd7a05861453228b364159954b61038cc8e58
4,608
cpp
C++
Arduino/stewartplatform/src/CANbus.cpp
skotterud98/StewartPlatform_Qt
d2cae1ed036ec381cda888f49005cb9df380a4a1
[ "MIT" ]
1
2022-01-04T13:24:36.000Z
2022-01-04T13:24:36.000Z
Arduino/stewartplatform/src/CANbus.cpp
skotterud98/StewartPlatform_Qt
d2cae1ed036ec381cda888f49005cb9df380a4a1
[ "MIT" ]
null
null
null
Arduino/stewartplatform/src/CANbus.cpp
skotterud98/StewartPlatform_Qt
d2cae1ed036ec381cda888f49005cb9df380a4a1
[ "MIT" ]
null
null
null
#include "CANbus.h" /* * Constructor */ CANbus::CANbus(Controller* control_ptr) { this->reset(); msg_count = 0; this->control_ptr = control_ptr; } /* * CAN-bus receive ISR */ void CANbus::ref_ISR(CAN_FRAME* frame) { static float ref_pos[MOTORS_TOT] = {0., 0., 0., 0., 0., 0.}; static float r...
23.875648
93
0.488932
skotterud98
174ece62f81f400934bdf1ce4ef8ac30b6f67172
495
cpp
C++
codechef/codechef-2018/NOV18B/PRDRG.cpp
jatin69/Revision-cpp
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
4
2020-01-16T14:49:46.000Z
2021-08-23T12:45:19.000Z
codechef/codechef-2018/NOV18B/PRDRG.cpp
jatin69/coding-practice
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
2
2018-06-06T13:08:11.000Z
2018-10-02T19:07:32.000Z
codechef/codechef-2018/NOV18B/PRDRG.cpp
jatin69/coding-practice
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
5
2018-10-02T13:49:16.000Z
2021-08-11T07:29:50.000Z
/* * Author : Jatin Rohilla * Date : 3-11-2018 * * Editor : Dev c++ 5.11 * Compiler : g++ 5.1.0 * flags : -std=c++11 * */ #include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; while (t--) { int n; cin >> n; long long int y = 1L << n; bool right = true; int ans = 0; ...
12.375
33
0.444444
jatin69
17514004f3041a9af67dc36f5b2ac0ee061f1da9
4,402
cpp
C++
src/CBox2DBody.cpp
divotkey/astu-box2d
0657accc7819e90e610cf923bfc42c4141e03faa
[ "MIT" ]
null
null
null
src/CBox2DBody.cpp
divotkey/astu-box2d
0657accc7819e90e610cf923bfc42c4141e03faa
[ "MIT" ]
null
null
null
src/CBox2DBody.cpp
divotkey/astu-box2d
0657accc7819e90e610cf923bfc42c4141e03faa
[ "MIT" ]
null
null
null
/* * ASTU/Box2D * An integration of Erin Catto's 2D Physics Engine to AST-Utilities. * * Copyright (c) 2020, 2021 Roman Divotkey. All rights reserved. */ // Local includes #include <Suite2D/CPose.h> #include "CBox2DBody.h" // Box2D includes #include <box2d/box2d.h> using namespace std; namespace astu::suite2d...
27.17284
74
0.559746
divotkey
1753140eb0e28bf873520b1338235cbbfcedff02
92
cpp
C++
Non-Ideone/CodeChef/Practice/START01.cpp
beingsushant/BunnyKeCodes
018cae93935ee30ce02561d05cda091ebb6e9643
[ "MIT" ]
1
2018-02-18T13:59:42.000Z
2018-02-18T13:59:42.000Z
Non-Ideone/CodeChef/Practice/START01.cpp
beingsushant/BunnyKeCodes
018cae93935ee30ce02561d05cda091ebb6e9643
[ "MIT" ]
null
null
null
Non-Ideone/CodeChef/Practice/START01.cpp
beingsushant/BunnyKeCodes
018cae93935ee30ce02561d05cda091ebb6e9643
[ "MIT" ]
2
2019-10-31T17:28:17.000Z
2019-10-31T17:52:11.000Z
#include<iostream> using namespace std;   int main() { int n; cin>>n; cout<<n; return 0; }
8.363636
20
0.641304
beingsushant
1755cb0e776a14723d5a1f4b6dfda354eb73ca64
1,564
hh
C++
src/proto/core/platform/File.hh
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
src/proto/core/platform/File.hh
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
src/proto/core/platform/File.hh
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
#pragma once #include "proto/core/common.hh" #include "proto/core/error-handling.hh" #include "proto/core/util/Bitfield.hh" #include "proto/core/util/StringView.hh" #if defined(PROTO_PLATFORM_WINDOWS) #error not implemented #elif defined(PROTO_PLATFORM_MAC) #error not implemented #else # include <stdio.h> //...
22.342857
53
0.609974
kcpikkt
17594d857abe35405ac93da8122c203004e5676c
2,569
cpp
C++
src/window.cpp
orbitrc/blusher-qt
23a868875fbe600a14ea6d49226226fea8931ab6
[ "MIT" ]
null
null
null
src/window.cpp
orbitrc/blusher-qt
23a868875fbe600a14ea6d49226226fea8931ab6
[ "MIT" ]
null
null
null
src/window.cpp
orbitrc/blusher-qt
23a868875fbe600a14ea6d49226226fea8931ab6
[ "MIT" ]
null
null
null
#include <blusher/window.h> #include <blusher/title-bar.h> #define BLUSHER_SHADOW_WIDTH 40 #define BLUSHER_RESIZE_WIDTH 5 #define BLUSHER_BORDER_WIDTH 1 #define BLUSHER_TITLE_BAR_HEIGHT 30 namespace bl { Window::Window() : Surface(nullptr) { this->_width = 200; this->_height = 200; this->_decoratio...
21.771186
77
0.635267
orbitrc
175ccb0f14e5c055fe1b8c51ce239c6777f8bbc2
2,604
cpp
C++
client/src/ui/content/content.cpp
zDestinate/InventoryManagement
b2f568cbeca3e9fa7e2c1fc213f3b527a6755216
[ "MIT" ]
null
null
null
client/src/ui/content/content.cpp
zDestinate/InventoryManagement
b2f568cbeca3e9fa7e2c1fc213f3b527a6755216
[ "MIT" ]
null
null
null
client/src/ui/content/content.cpp
zDestinate/InventoryManagement
b2f568cbeca3e9fa7e2c1fc213f3b527a6755216
[ "MIT" ]
null
null
null
#include <iostream> #include <codecvt> #include "ui/content/content.h" #pragma comment(lib, "comctl32.lib") content::content(HWND hwndParent, int lpParam, int x, int y, int width, int height) { hwnd = CreateWindow("STATIC", "", WS_CHILD | WS_VISIBLE , x, y, width, height, hwndParent, (HMENU)lpParam, NULL, NULL); ...
27.702128
126
0.616743
zDestinate
175d8968efffcd18d5327ebbc452917d2a494d93
7,116
cpp
C++
IDE/ChoiceFile.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
1
2019-08-24T03:18:42.000Z
2019-08-24T03:18:42.000Z
IDE/ChoiceFile.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
9
2020-04-04T19:26:47.000Z
2022-03-25T18:41:20.000Z
IDE/ChoiceFile.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
2
2020-03-02T05:20:41.000Z
2021-05-10T03:59:05.000Z
/* * GDevelop IDE * Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved. * This project is released under the GNU General Public License version 3. */ #include "ChoiceFile.h" //(*InternalHeaders(ChoiceFile) #include <wx/bitmap.h> #include <wx/intl.h> #include <wx/image.h> ...
46.509804
189
0.756886
sutao80216
175e3e9cf0f6256750400f6009f6c662fcde0859
12,498
cc
C++
tensorflow/compiler/mlir/tfrt/transforms/lmhlo_to_gpu/lmhlo_to_gpu_branch.cc
DwayneDuane/tensorflow
c90698124aa164e7683e3a9d03b69e9aa8461244
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/tfrt/transforms/lmhlo_to_gpu/lmhlo_to_gpu_branch.cc
DwayneDuane/tensorflow
c90698124aa164e7683e3a9d03b69e9aa8461244
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/tfrt/transforms/lmhlo_to_gpu/lmhlo_to_gpu_branch.cc
DwayneDuane/tensorflow
c90698124aa164e7683e3a9d03b69e9aa8461244
[ "Apache-2.0" ]
null
null
null
/* Copyright 2022 The TensorFlow 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 a...
40.057692
83
0.68491
DwayneDuane
175ead32a37191b9750e7abbfef089ac42f008af
2,717
cpp
C++
Sources/Elastos/LibCore/tests/bak/Utility/VectorTest/main.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/tests/bak/Utility/VectorTest/main.cpp
xiaoweiruby/Elastos.RT
238e9b747f70fc129769ae7850def4362c43e443
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/tests/bak/Utility/VectorTest/main.cpp
xiaoweiruby/Elastos.RT
238e9b747f70fc129769ae7850def4362c43e443
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
#include "test.h" #include <stdio.h> #include <stdlib.h> typedef int (CTest::*PTestEntry)(int argc, char *argv[]); PTestEntry TestEntry[] = { &CTest::test_Constructor, //1.ok &CTest::test_ConstructorI, //2.ok &CTest::test_ConstructorII, //3.ok &CTest::test_ConstructorLjava_util_Collection, //4.ok &CTes...
33.54321
92
0.692308
jingcao80
1760133acd684eb253a828bf60d35b3fe54ef283
164
hpp
C++
benchmark/windows/common/err_quit.hpp
hexu1985/Portable.Network.Library.For.Cpp
baa6dcafe1aba5e801104aec3185f862de4f931d
[ "MIT" ]
2
2020-06-30T11:46:24.000Z
2020-07-02T08:56:42.000Z
benchmark/windows/common/err_quit.hpp
hexu1985/MiniSocket.For.Cpp
baa6dcafe1aba5e801104aec3185f862de4f931d
[ "MIT" ]
null
null
null
benchmark/windows/common/err_quit.hpp
hexu1985/MiniSocket.For.Cpp
baa6dcafe1aba5e801104aec3185f862de4f931d
[ "MIT" ]
null
null
null
#ifndef UNP_ERR_QUIT_INC #define UNP_ERR_QUIT_INC /** * @brief 打印错误信息, 并退出程序 * * @param fomat 格式字符串, 同printf */ void err_quit(const char *fomat, ...); #endif
13.666667
38
0.689024
hexu1985
17629f70e7fc6e5676a6b500f7ae693092c5e342
49,168
cc
C++
engine/source/console/console.cc
itsasc/Necromantia
f41dfa045eb2c3500320767553d75f83df10e6f9
[ "MIT" ]
null
null
null
engine/source/console/console.cc
itsasc/Necromantia
f41dfa045eb2c3500320767553d75f83df10e6f9
[ "MIT" ]
null
null
null
engine/source/console/console.cc
itsasc/Necromantia
f41dfa045eb2c3500320767553d75f83df10e6f9
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
28.686114
159
0.59256
itsasc
17652121d9975242156f24cc295baddf88e0d4c8
5,419
cpp
C++
examples/example_device/frame/Frame.cpp
Twinklebear/ANARI-SDK
d40eef6a8fb3bab65991f0ec1a347d7fcf7579e1
[ "Apache-2.0" ]
null
null
null
examples/example_device/frame/Frame.cpp
Twinklebear/ANARI-SDK
d40eef6a8fb3bab65991f0ec1a347d7fcf7579e1
[ "Apache-2.0" ]
null
null
null
examples/example_device/frame/Frame.cpp
Twinklebear/ANARI-SDK
d40eef6a8fb3bab65991f0ec1a347d7fcf7579e1
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The Khronos Group // SPDX-License-Identifier: Apache-2.0 #include "Frame.h" // std #include <algorithm> #include <random> namespace anari { namespace example_device { // Helper functions /////////////////////////////////////////////////////////// static uint32_t cvt_uint32(const float &f) { retu...
23.15812
79
0.641262
Twinklebear
17656ca8eb87e30ed3dda19c5fe5dafc2576f8e6
2,261
hpp
C++
modules/utils/filesystem.hpp
psastras/vocabtree
c80bc2044e6a107358c7f838427794a830e58bce
[ "MIT" ]
10
2015-10-03T17:10:08.000Z
2021-02-28T20:36:14.000Z
modules/utils/filesystem.hpp
psastras/vocabtree
c80bc2044e6a107358c7f838427794a830e58bce
[ "MIT" ]
null
null
null
modules/utils/filesystem.hpp
psastras/vocabtree
c80bc2044e6a107358c7f838427794a830e58bce
[ "MIT" ]
5
2017-03-30T02:20:03.000Z
2018-03-28T06:29:53.000Z
#pragma once #include "config.hpp" #include <stdint.h> #include <opencv2/opencv.hpp> /// Provides useful wrappers around many filesystem related functionality, including reading writing /// certain common data structures as well as common operations (ex. file_exists). namespace filesystem { /// Returns the basename...
57.974359
115
0.745245
psastras
17660475e23e7b6c1f8048e81e6e074c94ed2135
575
cpp
C++
week7/7113.Charm_Bracelet.cpp
cebarobot/Programming-T1-MOOC-PKU
282a9951424ac4538739fbf3d434d4e23d9e581a
[ "MIT" ]
1
2020-05-21T00:01:10.000Z
2020-05-21T00:01:10.000Z
week7/7113.Charm_Bracelet.cpp
cebarobot/Programming-T2-MOOC-PKU
282a9951424ac4538739fbf3d434d4e23d9e581a
[ "MIT" ]
null
null
null
week7/7113.Charm_Bracelet.cpp
cebarobot/Programming-T2-MOOC-PKU
282a9951424ac4538739fbf3d434d4e23d9e581a
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <cstdio> #include <algorithm> using namespace std; const int max_n = 3410; const int max_m = 12890; int weight[max_n]; int desirability[max_n]; int dp[max_m]; int main() { int nn, mm; scanf("%d %d", &nn, &mm); for (int i = 0; i < nn; i++) { scanf("%...
21.296296
68
0.52
cebarobot
17691b24975f17cdde7fe8a147e19f8c166a912c
4,091
cpp
C++
Coin3D/src/engines/SoTransformVec3f.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
Coin3D/src/engines/SoTransformVec3f.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
Coin3D/src/engines/SoTransformVec3f.cpp
pniaz20/inventor-utils
2306b758b15bd1a0df3fb9bd250215b7bb7fac3f
[ "MIT" ]
null
null
null
/**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Red...
32.728
80
0.727206
pniaz20
176b4645c457b7348a9fec9d79b2422cf26378f9
64
cpp
C++
src/external/stb_image.cpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
src/external/stb_image.cpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
src/external/stb_image.cpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
#define STB_IMAGE_IMPLEMENTATION #include <external/stb_image.h>
32
32
0.859375
Adanos020
176c0f3cdc8f32af75a6bce1cd880ee83e120465
1,415
cpp
C++
TD2/main_td2a.cpp
SummerOf15/multi-task-rpi2
a6a571515d67f9c4ab2daeb76e851af98692d5f6
[ "Apache-2.0" ]
null
null
null
TD2/main_td2a.cpp
SummerOf15/multi-task-rpi2
a6a571515d67f9c4ab2daeb76e851af98692d5f6
[ "Apache-2.0" ]
null
null
null
TD2/main_td2a.cpp
SummerOf15/multi-task-rpi2
a6a571515d67f9c4ab2daeb76e851af98692d5f6
[ "Apache-2.0" ]
1
2021-04-04T18:31:54.000Z
2021-04-04T18:31:54.000Z
/** * @file main_td2a.cpp * @author ZHANG kai * @brief execute multi-tasks without lock * @version 0.1 * @date 2021-04-03 * * @copyright Copyright (c) 2021 * */ #include <pthread.h> #include <iostream> #include <vector> using namespace std; /** * @brief thread data structure * */ struct Data{ unsi...
17.6875
66
0.599293
SummerOf15
176da841d3cfc0ed8f47e4793551f017cdb3044c
442
hpp
C++
src/request.hpp
jackim/kiss
e9216dfc46c2d047eb107f04d3d99d88ec58f3b5
[ "Apache-2.0" ]
null
null
null
src/request.hpp
jackim/kiss
e9216dfc46c2d047eb107f04d3d99d88ec58f3b5
[ "Apache-2.0" ]
null
null
null
src/request.hpp
jackim/kiss
e9216dfc46c2d047eb107f04d3d99d88ec58f3b5
[ "Apache-2.0" ]
null
null
null
#pragma once #include "http.hpp" #include <string> #include <map> namespace jackim { namespace kiss{ struct Request { Http *http; std::string url; std::string path; std::string query; std::map<std::string , std::string> header; std::string body; unsigned short h...
14.733333
48
0.585973
jackim
176e1666bb0d031e1b2cdc1d0fd0e2d34e5a12f7
4,806
hpp
C++
include/bit/stl/utilities/detail/compiler_traits/platform/generic_posix.hpp
bitwizeshift/bit-stl
cec555fbda2ea1b6e126fa719637dde8d3f2ddd3
[ "MIT" ]
6
2017-03-29T07:20:30.000Z
2021-12-28T20:17:33.000Z
include/bit/stl/utilities/detail/compiler_traits/platform/generic_posix.hpp
bitwizeshift/bit-stl
cec555fbda2ea1b6e126fa719637dde8d3f2ddd3
[ "MIT" ]
6
2017-10-11T02:26:07.000Z
2018-04-16T03:09:48.000Z
include/bit/stl/utilities/detail/compiler_traits/platform/generic_posix.hpp
bitwizeshift/bit-stl
cec555fbda2ea1b6e126fa719637dde8d3f2ddd3
[ "MIT" ]
1
2018-08-27T15:03:47.000Z
2018-08-27T15:03:47.000Z
/***************************************************************************** * \file * \brief This header detects features of generic Posix systems. * * \note This is an internal header file, included by other library headers. * Do not attempt to use it directly. ******************************************...
35.080292
143
0.713275
bitwizeshift
176ee81cc174fcf3ce2b738c6db3e63d7ee3367a
1,618
cpp
C++
src/chapter_11_cryptography/problem_092_computing_file_hashes.cpp
rturrado/the_modern_cpp_challenge
a569a1538802a44c3b7c44134c06c73727f2b5e3
[ "MIT" ]
null
null
null
src/chapter_11_cryptography/problem_092_computing_file_hashes.cpp
rturrado/the_modern_cpp_challenge
a569a1538802a44c3b7c44134c06c73727f2b5e3
[ "MIT" ]
null
null
null
src/chapter_11_cryptography/problem_092_computing_file_hashes.cpp
rturrado/the_modern_cpp_challenge
a569a1538802a44c3b7c44134c06c73727f2b5e3
[ "MIT" ]
null
null
null
#include "chapter_11_cryptography.h" #include <filesystem> #include <format> #include <iostream> // cout #include <vector> #define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 #include "cryptocpp/cryptlib.h" #include "cryptocpp/files.h" // FileSource #include "cryptocpp/filters.h" // HashFilter, StringSink #include "cryptocp...
28.892857
108
0.668727
rturrado
176f763fe5d41dd014235d1d134f35cc55d11c7f
1,524
cpp
C++
Days 171 - 180/Day 179/CreateTreeFromPostorderTraversal.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 171 - 180/Day 179/CreateTreeFromPostorderTraversal.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 171 - 180/Day 179/CreateTreeFromPostorderTraversal.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
#include <iostream> #include <iterator> #include <memory> #include <vector> struct Node { int value; std::shared_ptr<Node> left; std::shared_ptr<Node> right; explicit Node(const int value, const std::shared_ptr<Node>& left = nullptr, const std::shared_ptr<Node>& right = nullptr) : value(value), left(left), rig...
21.771429
122
0.667979
LucidSigma
177148c57dc4c5dfbb9dccebd56cdbe6c93fd6dc
73
hpp
C++
vendor/github.com/bep/golibsass/internal/libsass/sass.hpp
f110/hugo
d99379094f1352ece8751b54ace8964d0811916e
[ "Apache-2.0" ]
17
2020-02-06T22:21:59.000Z
2022-02-17T09:14:36.000Z
vendor/github.com/bep/golibsass/internal/libsass/sass.hpp
f110/hugo
d99379094f1352ece8751b54ace8964d0811916e
[ "Apache-2.0" ]
5
2020-02-12T14:41:49.000Z
2021-11-03T19:45:00.000Z
vendor/github.com/bep/golibsass/internal/libsass/sass.hpp
f110/hugo
d99379094f1352ece8751b54ace8964d0811916e
[ "Apache-2.0" ]
5
2020-02-28T08:01:50.000Z
2021-06-14T14:28:58.000Z
#ifndef USE_LIBSASS_SRC #include "../../libsass_src/src/sass.hpp" #endif
18.25
41
0.739726
f110
1775593d194f14f7190addd2bd604091128c04bf
1,962
hpp
C++
include/StereoEval.hpp
norishigefukushima/OpenCP
63090131ec975e834f85b04e84ec29b2893845b2
[ "BSD-3-Clause" ]
137
2015-03-27T07:11:19.000Z
2022-03-30T05:58:22.000Z
include/StereoEval.hpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
2
2016-05-18T06:33:16.000Z
2016-07-11T17:39:17.000Z
include/StereoEval.hpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
43
2015-02-20T15:34:25.000Z
2022-01-27T14:59:37.000Z
#pragma once #include "common.hpp" namespace cp { CP_EXPORT double calcBadPixel(cv::InputArray groundtruth, cv::InputArray disparityImage, cv::InputArray mask, double th, double amp); CP_EXPORT double calcBadPixel(cv::InputArray groundtruth, cv::InputArray disparityImage, cv::InputArray mask, double th, double amp,...
37.730769
158
0.730887
norishigefukushima
17765bec1b74034842222ffd57f7ef8687d3a376
3,446
cpp
C++
src/vendors/OceanOptics/features/eeprom_slots/EEPROMSlotFeature.cpp
udyni/seabreeze
3d3934f8f0df61c11cef70516cf62a8472cab974
[ "MIT" ]
null
null
null
src/vendors/OceanOptics/features/eeprom_slots/EEPROMSlotFeature.cpp
udyni/seabreeze
3d3934f8f0df61c11cef70516cf62a8472cab974
[ "MIT" ]
null
null
null
src/vendors/OceanOptics/features/eeprom_slots/EEPROMSlotFeature.cpp
udyni/seabreeze
3d3934f8f0df61c11cef70516cf62a8472cab974
[ "MIT" ]
1
2020-07-03T08:36:47.000Z
2020-07-03T08:36:47.000Z
/***************************************************//** * @file EEPROMSlotFeature.cpp * @date February 2009 * @author Ocean Optics, Inc. * * LICENSE: * * SeaBreeze Copyright (C) 2014, Ocean Optics Inc * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software a...
34.808081
77
0.687464
udyni
1779ec588e196d65e916646466f3489dc275d7ef
3,592
cpp
C++
hal/src/electron/ota_flash_hal.cpp
zsoltmazlo/indoor-controller2
5fde9f40b30d087af03f6cccdb97821719941955
[ "MIT" ]
null
null
null
hal/src/electron/ota_flash_hal.cpp
zsoltmazlo/indoor-controller2
5fde9f40b30d087af03f6cccdb97821719941955
[ "MIT" ]
null
null
null
hal/src/electron/ota_flash_hal.cpp
zsoltmazlo/indoor-controller2
5fde9f40b30d087af03f6cccdb97821719941955
[ "MIT" ]
null
null
null
/** ****************************************************************************** * @file ota_flash_hal.cpp * @author Matthew McGowan, Satish Nair * @version V1.0.0 * @date 25-Sept-2014 * @brief ****************************************************************************** Copyright (c) 2013-2015 Parti...
46.649351
161
0.716592
zsoltmazlo
ed06c65c1e63be00ee6faaacdb928e57878040f2
5,616
cxx
C++
lio/VRMLIO.cxx
kanait/hsphparam
00158f81d00e496fed469779bf73094495ac8671
[ "MIT" ]
1
2021-08-23T06:55:22.000Z
2021-08-23T06:55:22.000Z
lio/VRMLIO.cxx
kanait/hsphparam
00158f81d00e496fed469779bf73094495ac8671
[ "MIT" ]
null
null
null
lio/VRMLIO.cxx
kanait/hsphparam
00158f81d00e496fed469779bf73094495ac8671
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////// // // $Id: VRMLIO.cxx 2021/06/05 14:00:43 kanai Exp $ // // Copyright (c) 2021 Takashi Kanai // Released under the MIT license // //////////////////////////////////////////////////////////////////// // for openvrml 0.11.2 #include "envDep.h" #ifdef...
23.016393
80
0.490919
kanait
ed07c50d6aa9d046a2cbe7b36e0f59d31da860fc
1,846
hpp
C++
include/glfw-cxx/GammaRamp.hpp
Mischa-Alff/glfw-cxx
bd335a7c5ac959da0ea1ac009a66b75ada21efb6
[ "MIT" ]
12
2015-07-05T15:07:26.000Z
2020-07-10T03:15:56.000Z
include/glfw-cxx/GammaRamp.hpp
TheRealJoe24/glfw-cxx
bd335a7c5ac959da0ea1ac009a66b75ada21efb6
[ "MIT" ]
1
2016-08-10T16:49:13.000Z
2016-08-19T18:23:04.000Z
include/glfw-cxx/GammaRamp.hpp
TheRealJoe24/glfw-cxx
bd335a7c5ac959da0ea1ac009a66b75ada21efb6
[ "MIT" ]
3
2017-04-24T14:33:46.000Z
2019-06-15T22:15:22.000Z
#pragma once #include <GLFW/glfw3.h> namespace glfw { /*!\brief A class describing gamma ramp parameters. */ class GammaRamp { private: GLFWgammaramp m_gammaramp; public: /*! \brief Returns an array of values describing the response of the red channel. * \return An array of values describing the resp...
30.766667
86
0.703142
Mischa-Alff
ed0828c25cfdeee2038003f864ee0fc8528dcd09
187
cpp
C++
LeetCode/c++/69_Sqrt(x).cpp
Weak-Chicken/Algo_every_day
0976b5986d6c98cb8370ff4239b4a2485f865253
[ "MIT" ]
1
2018-02-08T23:50:19.000Z
2018-02-08T23:50:19.000Z
LeetCode/c++/69_Sqrt(x).cpp
Weak-Chicken/Algo_every_day
0976b5986d6c98cb8370ff4239b4a2485f865253
[ "MIT" ]
1
2018-04-11T19:08:22.000Z
2018-04-12T19:24:57.000Z
LeetCode/c++/69_Sqrt(x).cpp
Weak-Chicken/Cpp_every_day
0976b5986d6c98cb8370ff4239b4a2485f865253
[ "MIT" ]
null
null
null
class Solution { public: int mySqrt(int x) { for (int i = 0; i <= 46340; i++) { if (i * i > x) return i - 1; } return 46340; } };
15.583333
40
0.379679
Weak-Chicken
ed0b4c34c10acf7098ba72fa97d86cb78e452cce
1,072
cc
C++
cpp/src/tree/postorder.cc
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
1
2019-10-17T08:34:55.000Z
2019-10-17T08:34:55.000Z
cpp/src/tree/postorder.cc
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
1
2020-05-24T08:32:13.000Z
2020-05-24T08:32:13.000Z
cpp/src/tree/postorder.cc
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
null
null
null
#include "test.h" /** Question no 145 hard Binary Tree Postorder Traversal * Author : Li-Han, Chen; 陳立瀚 * Date : 24th, January, 2020 * Source : https://leetcode.com/problems/binary-tree-postorder-traversal/ * * Given a binary tree, return the postorder traversal of its nodes' values. * */ /** Solution * Run...
22.333333
76
0.597948
dacozai
ed0bd61059c6a429f4f3137047a030872b7b82b9
300
cc
C++
src/abc206/b.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc206/b.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc206/b.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; #ifndef _debug int main() { ll n; cin >> n; for(ll i = 1;; i++) { ll sum = i * (i + 1ll) / 2ll; if(sum >= n) { cout << i << endl; return 0; } } return 0; } #endif
15.789474
37
0.436667
nryotaro
ed0d15d162306501d9b69ec80cabf8b0be4330db
7,741
cpp
C++
calculate_coeff.cpp
sublimationAC/DDE
fcde429b0db65100b8bd8bf607626b6beff8a431
[ "MIT" ]
null
null
null
calculate_coeff.cpp
sublimationAC/DDE
fcde429b0db65100b8bd8bf607626b6beff8a431
[ "MIT" ]
1
2019-01-05T06:12:34.000Z
2019-01-08T06:20:18.000Z
calculate_coeff.cpp
sublimationAC/DDE
fcde429b0db65100b8bd8bf607626b6beff8a431
[ "MIT" ]
null
null
null
#include "calculate_coeff.h" void init_exp_ide_r_t_pq(iden *ide, int ide_num) { puts("initializing coeffients(R,t,pq)..."); for (int i = 0; i < ide_num; i++) { ide[i].center.resize(ide[i].num,2); ide[i].exp.resize(ide[i].num, G_nShape); ide[i].user.resize(ide[i].num, G_iden_num); ide[i].rot.resize(...
36.861905
123
0.615554
sublimationAC
ed0fad850f4ed330db857a6038c83b4e6fbcc9b1
622
cpp
C++
app/cpp/mysimplegimp/src/gui/dialogs/corner_harris_dialog.cpp
jaroslaw-wieczorek/lpo-image-processing
505494cff99cc8e054106998f86b599f0509880b
[ "MIT" ]
null
null
null
app/cpp/mysimplegimp/src/gui/dialogs/corner_harris_dialog.cpp
jaroslaw-wieczorek/lpo-image-processing
505494cff99cc8e054106998f86b599f0509880b
[ "MIT" ]
null
null
null
app/cpp/mysimplegimp/src/gui/dialogs/corner_harris_dialog.cpp
jaroslaw-wieczorek/lpo-image-processing
505494cff99cc8e054106998f86b599f0509880b
[ "MIT" ]
null
null
null
#include "corner_harris_dialog.h" #include "ui_corner_harris_dialog.h" CornerHarrisDialog::CornerHarrisDialog(QWidget* parent) : QDialog(parent), ui(new Ui::CornerHarrisDialog) { ui->setupUi(this); setFixedSize(size()); } CornerHarrisDialog::~CornerHarrisDialog() { delete ui; } int CornerHarrisDi...
17.277778
57
0.713826
jaroslaw-wieczorek
ed14c70a30fca84051ffab8d97cf833bb694459b
5,531
cpp
C++
vkconfig_core/test/test_path_manager.cpp
johnzupin/VulkanTools
4a4d824b43984d29902f7c8246aab99f0909151d
[ "Apache-2.0" ]
null
null
null
vkconfig_core/test/test_path_manager.cpp
johnzupin/VulkanTools
4a4d824b43984d29902f7c8246aab99f0909151d
[ "Apache-2.0" ]
null
null
null
vkconfig_core/test/test_path_manager.cpp
johnzupin/VulkanTools
4a4d824b43984d29902f7c8246aab99f0909151d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Valve Corporation * Copyright (c) 2020 LunarG, 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 * * Unl...
32.535294
123
0.703851
johnzupin
ed177f33c902b38b177df32bd5282bc7cc3f1a51
3,445
hpp
C++
src/3rd party/boost/boost/graph/topological_sort.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
CvGameCoreDLL/Boost-1.32.0/include/boost/graph/topological_sort.hpp
Imperator-Knoedel/Sunset
19c95f4844586b96341f3474b58e0dacaae485b9
[ "MIT" ]
null
null
null
CvGameCoreDLL/Boost-1.32.0/include/boost/graph/topological_sort.hpp
Imperator-Knoedel/Sunset
19c95f4844586b96341f3474b58e0dacaae485b9
[ "MIT" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
// //======================================================================= // Copyright 1997, 1998, 1999, 2000 University of Notre Dame. // Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek // // This file is part of the Boost Graph Library // // You should have received a copy of the License Agreement for the ...
37.043011
73
0.702758
OLR-xray
ed1b1b4f31ee6bc1756a75dd62f67a374c29a8d9
690
cpp
C++
keygen/keygen.cpp
z-beslaneev/ONVIF_event_server
1ccd481f2e380416f50a8707dd578bd8b9b2498c
[ "MIT" ]
2
2021-03-16T14:04:00.000Z
2021-11-01T15:04:46.000Z
keygen/keygen.cpp
z-beslaneev/ONVIF_event_server
1ccd481f2e380416f50a8707dd578bd8b9b2498c
[ "MIT" ]
null
null
null
keygen/keygen.cpp
z-beslaneev/ONVIF_event_server
1ccd481f2e380416f50a8707dd578bd8b9b2498c
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <iomanip> #include <md5Util.h> #include <sysinfo.h> int main() { std::stringstream sysinfo; try { sysinfo << GetMac() << "||" << GetMicroSDCID() << "||" << GetCPUSerial(); } catch(std::exception& ex) { std::cerr << "Can't get system info: " << ex.what() << ...
19.166667
105
0.617391
z-beslaneev
ed1df7eeaceaa4ec6f35eb670c6a1d1c2ab6d815
2,496
cpp
C++
core_planning/twist_filter/src/velocity_limit.cpp
alanjclark/autoware.ai
ba97edbbffb6f22e78912bf96400a59ef6a13daf
[ "Apache-2.0" ]
2
2020-11-13T11:11:16.000Z
2022-03-09T20:24:54.000Z
core_planning/twist_filter/src/velocity_limit.cpp
alanjclark/autoware.ai
ba97edbbffb6f22e78912bf96400a59ef6a13daf
[ "Apache-2.0" ]
40
2019-06-24T16:56:15.000Z
2022-02-28T13:41:58.000Z
core_planning/twist_filter/src/velocity_limit.cpp
alanjclark/autoware.ai
ba97edbbffb6f22e78912bf96400a59ef6a13daf
[ "Apache-2.0" ]
8
2019-08-20T18:54:00.000Z
2022-02-09T13:54:41.000Z
/* * Copyright (C) 2018-2021 LEIDOS. * * 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...
33.28
92
0.748798
alanjclark
ed1f39b9ef14e23425a52e1a1accacf4fc4b89cb
150
cpp
C++
source/light/Light.cpp
xzrunner/raytracing
c130691a92fab2cc9605f04534f42ca9b99e6fde
[ "MIT" ]
null
null
null
source/light/Light.cpp
xzrunner/raytracing
c130691a92fab2cc9605f04534f42ca9b99e6fde
[ "MIT" ]
null
null
null
source/light/Light.cpp
xzrunner/raytracing
c130691a92fab2cc9605f04534f42ca9b99e6fde
[ "MIT" ]
null
null
null
#include "raytracing/light/Light.h" namespace rt { Light::Light() : m_shadows(true) { } bool Light::CastsShadows() const { return m_shadows; } }
9.375
35
0.686667
xzrunner
ed244531bee2991f8206e0839d0e7eb71a59c0d4
8,352
cpp
C++
gui/qt/mainwidgets/periodictablewidget.cpp
hein09/vipster
b92302bf2bb8b8941e239ce8cbc7209e1e615b0b
[ "BSD-2-Clause" ]
6
2015-12-02T15:33:27.000Z
2017-07-28T17:46:51.000Z
gui/qt/mainwidgets/periodictablewidget.cpp
hein09/vipster
b92302bf2bb8b8941e239ce8cbc7209e1e615b0b
[ "BSD-2-Clause" ]
3
2018-02-04T16:11:19.000Z
2018-03-16T16:23:29.000Z
gui/qt/mainwidgets/periodictablewidget.cpp
hein09/vipster
b92302bf2bb8b8941e239ce8cbc7209e1e615b0b
[ "BSD-2-Clause" ]
1
2017-07-05T11:44:55.000Z
2017-07-05T11:44:55.000Z
#include <QPushButton> #include <QSpinBox> #include <QDoubleSpinBox> #include <QLineEdit> #include <QColorDialog> #include <QMessageBox> #include "periodictablewidget.h" #include "ui_periodictablewidget.h" #include "../mainwindow.h" using namespace Vipster; template<typename T> void PeriodicTableWidget::registerPrope...
34.37037
98
0.561901
hein09
ed265c4016c43ded26a5ddbb1fbfd987e831c225
1,661
hpp
C++
ios/Framework/BanubaEffectPlayer.xcframework/ios-x86_64-simulator/BanubaEffectPlayer.framework/PrivateHeaders/bnb/scene/interfaces/scene.hpp
AbhishekDoshi-Bacancy/AgoraSDK
030a024e5c10189526cb98b5db86998f8da43864
[ "MIT" ]
80
2020-10-30T07:14:40.000Z
2022-03-27T08:52:16.000Z
ios/Framework/BanubaEffectPlayer.xcframework/ios-x86_64-simulator/BanubaEffectPlayer.framework/PrivateHeaders/bnb/scene/interfaces/scene.hpp
aayushparashar/plugin_tester
a43f8458f2f06ef2f5b7e7ac4aa067e8d6f65527
[ "MIT" ]
5
2020-10-27T14:07:20.000Z
2021-06-01T09:03:01.000Z
ios/Framework/BanubaEffectPlayer.xcframework/ios-x86_64-simulator/BanubaEffectPlayer.framework/PrivateHeaders/bnb/scene/interfaces/scene.hpp
aayushparashar/plugin_tester
a43f8458f2f06ef2f5b7e7ac4aa067e8d6f65527
[ "MIT" ]
10
2020-12-01T15:24:24.000Z
2022-02-22T12:38:09.000Z
/// \file /// \addtogroup Scene /// @{ /// // AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from scene.djinni #pragma once #include <bnb/utils/defs.hpp> #include <memory> #include <string> #include <vector> namespace bnb { namespace interfaces { class asset_manager; class entity; class layer;...
27.683333
95
0.691752
AbhishekDoshi-Bacancy
ed268577481fafc0b2405d2dd735f511a150a662
15,427
cpp
C++
packages/monte_carlo/event/weight_cutoff/test/tstStandardWeightCutoffRoulette.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/event/weight_cutoff/test/tstStandardWeightCutoffRoulette.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/event/weight_cutoff/test/tstStandardWeightCutoffRoulette.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file tstStandardWeightCutoffRoulette.cpp //! \author Luke Kersting //! \brief Standard weight cutoff roulette unit tests. //! //---------------------------------------------------------------------------// // Std Lib Includes #...
36.818616
93
0.624684
bam241
ed2721efd4ab23ba17f761c546e35b7a0e1284bb
419
cpp
C++
icpc/2021-1-20/J.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
icpc/2021-1-20/J.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
icpc/2021-1-20/J.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#include <cstdio> #include <cstring> constexpr int PMAX = 1000000; int P; int f[PMAX + 10]; int main() { int T; scanf("%d", &T); while (T--) { scanf("%d", &P); if (P == 2) { puts("1"); continue; } f[1] = 1; int Q = P / 2; double s = 1; for (int i = 2; i <= Q; i++) { f[i] = f[P % i] + 1; ...
12.69697
37
0.439141
Riteme
ed2947c80ffc492eabe3bcd51695782666edb400
252
cpp
C++
src/Step/1. Input Output/2588.cpp
ljh15952/Baekjoon
fd85e5fef0f9fea382628e0c60f4f97dcdc3ec74
[ "MIT" ]
null
null
null
src/Step/1. Input Output/2588.cpp
ljh15952/Baekjoon
fd85e5fef0f9fea382628e0c60f4f97dcdc3ec74
[ "MIT" ]
null
null
null
src/Step/1. Input Output/2588.cpp
ljh15952/Baekjoon
fd85e5fef0f9fea382628e0c60f4f97dcdc3ec74
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main(){ int a; string b; cin >> a >> b; cout << a * (b[2]-'0') << endl; cout << a * (b[1]-'0') << endl; cout << a * (b[0]-'0') << endl; cout << a * stoi(b) << endl; return 0; }
14.823529
32
0.496032
ljh15952
ed29e391a8438e340e06d0b590d4600f3922c799
459
cpp
C++
src/test/resources/botan_rule_tr_test/7_2_2_1_01.cpp
shahrzadav/codyze
c075e8c874f8bef52037d3538166150a488f1607
[ "Apache-2.0" ]
58
2020-04-18T19:26:32.000Z
2022-03-23T20:37:18.000Z
src/test/resources/botan_rule_tr_test/7_2_2_1_01.cpp
shahrzadav/codyze
c075e8c874f8bef52037d3538166150a488f1607
[ "Apache-2.0" ]
409
2020-04-06T08:29:20.000Z
2022-03-31T17:46:54.000Z
src/test/resources/botan_rule_tr_test/7_2_2_1_01.cpp
shahrzadav/codyze
c075e8c874f8bef52037d3538166150a488f1607
[ "Apache-2.0" ]
13
2020-05-04T05:36:02.000Z
2022-01-29T09:24:16.000Z
#include <iostream> #include <botan/auto_rng.h> #include <botan/dh.h> #include <botan/hex.h> #include <botan/rng.h> int main() { const std::vector<uint8_t> data = Botan::hex_decode("6BC1BEE22E409F96E93D7E117393172A"); const std::vector<uint8_t> test_sig = Botan::hex_decode("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")...
28.6875
96
0.732026
shahrzadav
ed2db19588d22d65af0bedeaaaba7d234255eaeb
3,859
cc
C++
chrome/browser/sharing/click_to_call/click_to_call_utils.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/sharing/click_to_call/click_to_call_utils.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/sharing/click_to_call/click_to_call_utils.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sharing/click_to_call/click_to_call_utils.h" #include <algorithm> #include <cctype> #include "base/metrics/histogram_functions....
38.207921
79
0.746826
sarang-apps
ed2f2eeb215d5606846389d43a19b7f68aa30051
2,616
cpp
C++
neopg/openpgp/signature/subpacket/revocation_key_subpacket.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
224
2017-10-29T09:48:00.000Z
2021-07-21T10:27:14.000Z
neopg/openpgp/signature/subpacket/revocation_key_subpacket.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
66
2017-10-29T16:17:55.000Z
2020-11-30T18:53:40.000Z
neopg/openpgp/signature/subpacket/revocation_key_subpacket.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
22
2017-10-29T19:55:45.000Z
2020-01-04T13:25:50.000Z
// OpenPGP revocation key subpacket (implementation) // Copyright 2018 The NeoPG developers // // NeoPG is released under the Simplified BSD License (see license.txt) #include <neopg/openpgp/signature/subpacket/revocation_key_subpacket.h> #include <neopg/parser/parser_input.h> #include <neopg/utils/stream.h> #includ...
29.393258
80
0.712538
mehrdad-shokri
ed2ffaab119b99dbdc3a4a35d317e13faac861ac
4,159
cc
C++
src/MissionManager/KML.cc
matthiasnattke/qgroundcontrol
9f87623a1598529a7bf24ab1122d409d02a0aed5
[ "Apache-2.0" ]
6
2021-05-01T16:37:00.000Z
2022-01-12T10:17:47.000Z
src/MissionManager/KML.cc
matthiasnattke/qgroundcontrol
9f87623a1598529a7bf24ab1122d409d02a0aed5
[ "Apache-2.0" ]
2
2020-03-26T04:24:00.000Z
2020-03-26T13:53:51.000Z
src/MissionManager/KML.cc
matthiasnattke/qgroundcontrol
9f87623a1598529a7bf24ab1122d409d02a0aed5
[ "Apache-2.0" ]
2
2021-05-01T17:29:43.000Z
2021-12-26T12:23:24.000Z
/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ***************************************...
32.24031
124
0.679009
matthiasnattke
ed31083ed3642c091a4b35c876a6e4ae39ac27c2
3,525
cc
C++
iree/hal/vulkan/native_event.cc
qingyunqu/iree
1cc4e6668f227c2c9f0d757342a7882fca4cb8ee
[ "Apache-2.0" ]
1,163
2019-09-13T19:10:42.000Z
2022-03-31T05:44:10.000Z
iree/hal/vulkan/native_event.cc
KoolJBlack/iree
f300aee8c9d0da48179737b77abe690ab58e12f2
[ "Apache-2.0" ]
3,346
2019-09-23T04:16:36.000Z
2022-03-31T23:56:57.000Z
iree/hal/vulkan/native_event.cc
marbre/iree
ce1af180c87ed4b4501d4a7b6f2b2617624440c0
[ "Apache-2.0" ]
311
2019-09-19T02:34:23.000Z
2022-03-28T16:06:57.000Z
// Copyright 2019 The IREE Authors // // Licensed 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 #include "iree/hal/vulkan/native_event.h" #include <cstddef> #include "iree/base/api.h" #includ...
35.25
80
0.741277
qingyunqu
ed32f5df7562ea460e63db0ff760da6ac92f91b0
1,568
cc
C++
PlotUtils/src/SaveUtils.cc
sam7k9621/ManagerUtils
7b9317df002b3df6f23ae9e559d35bb1fc15b6f6
[ "MIT" ]
null
null
null
PlotUtils/src/SaveUtils.cc
sam7k9621/ManagerUtils
7b9317df002b3df6f23ae9e559d35bb1fc15b6f6
[ "MIT" ]
null
null
null
PlotUtils/src/SaveUtils.cc
sam7k9621/ManagerUtils
7b9317df002b3df6f23ae9e559d35bb1fc15b6f6
[ "MIT" ]
null
null
null
/******************************************************************************* * * Filename : SaveUtils.cc * Description : Plot saving utility functions implementation * Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ] * ****************************************************************************...
30.153846
84
0.456633
sam7k9621
ed34e24a06cea55a33695f8b4d726959e1b9537a
375
cpp
C++
SampleCode/ClassTemplate9/main.cpp
Team-Godel/Godel
43bc2bb6ea28881a3db00dd69c1288cb04278d7d
[ "MIT" ]
null
null
null
SampleCode/ClassTemplate9/main.cpp
Team-Godel/Godel
43bc2bb6ea28881a3db00dd69c1288cb04278d7d
[ "MIT" ]
null
null
null
SampleCode/ClassTemplate9/main.cpp
Team-Godel/Godel
43bc2bb6ea28881a3db00dd69c1288cb04278d7d
[ "MIT" ]
null
null
null
#include <GodelLib.h> using namespace std; int main(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { GDL *Gobj = new GDL(hInstance, "GDL Application", DEFAULT_POS, DEFAULT_POS, 640, 480); // Create a window Gobj->showCursor(0); // Disable the cursor Gobj->update()...
23.4375
108
0.682667
Team-Godel
ed34f469655f8403cf28b659ccc036f6df8dbf53
657
cpp
C++
FireThrow/FireThrow/IntroGame.cpp
Oskit-Producciones/C-plus-Games
caa307d82555e576a299d3ef03c9d929e43ad05a
[ "MIT" ]
null
null
null
FireThrow/FireThrow/IntroGame.cpp
Oskit-Producciones/C-plus-Games
caa307d82555e576a299d3ef03c9d929e43ad05a
[ "MIT" ]
null
null
null
FireThrow/FireThrow/IntroGame.cpp
Oskit-Producciones/C-plus-Games
caa307d82555e576a299d3ef03c9d929e43ad05a
[ "MIT" ]
null
null
null
#include "IntroGame.h" IntroGame::IntroGame():GameObject(false,"..//Imagenes//Intro.png") { Enable(true); alpha = 0; sprite.SetColor(sf::Color(255, 255, 255, alpha)); } void IntroGame::NextFrame() { currentframe++; } void IntroGame::Draw(RenderWindow *app) { if (alpha < 230) { sprite.SetCo...
16.846154
67
0.613394
Oskit-Producciones
ed3538ebcbda6b5cdc8f4c63b348f3a69da98d83
907
cpp
C++
0_problems/olimp2018 pre/D.cpp
Team-on/works
16978b61c0d6bcb37e910efb4b5b80e9a2460230
[ "MIT" ]
10
2018-11-12T19:43:28.000Z
2020-09-09T18:48:30.000Z
0_problems/olimp2018 pre/D.cpp
Team-on/works
16978b61c0d6bcb37e910efb4b5b80e9a2460230
[ "MIT" ]
null
null
null
0_problems/olimp2018 pre/D.cpp
Team-on/works
16978b61c0d6bcb37e910efb4b5b80e9a2460230
[ "MIT" ]
null
null
null
/* Гарний рік Здається, ще зовсім недавно настав новий 2013 рік. А чи знали Ви цікавий факт про те, що 2013 рік є першим роком після далекого 1987 року, в якому всі цифри різні? Тепер Вам пропонується розв’язати наступне завдання: заданий номер року y, знайдіть найменший номер року, який строго більше заданого і в яко...
23.868421
164
0.654906
Team-on
ed35f18a12b1fa7d5bfe395a1368b6d39cb25b63
1,212
cpp
C++
src/gen/ns_keyrotsub.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
1
2021-12-24T00:42:42.000Z
2021-12-24T00:42:42.000Z
src/gen/ns_keyrotsub.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
null
null
null
src/gen/ns_keyrotsub.cpp
BlazesRus/niflib
7e8efb6b2c73a3410135dbd6d73694e29f1e9ce8
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005-2020, NIF File Format Library and Tools All rights reserved. Please see niflib.h for license. */ //-----------------------------------NOTICE----------------------------------// // Some of this file is automatically filled in by a Python script. Only // // add custom code in the designated ar...
31.076923
79
0.575908
BlazesRus
ed36eb53705900dda56c0c6aa336d8b936b3e24c
11,929
cxx
C++
libbutl/path-pattern.cxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
6
2018-05-31T06:16:37.000Z
2021-03-19T10:37:11.000Z
libbutl/path-pattern.cxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
3
2020-06-19T05:08:42.000Z
2021-09-29T05:23:07.000Z
libbutl/path-pattern.cxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
1
2020-06-16T14:56:48.000Z
2020-06-16T14:56:48.000Z
// file : libbutl/path-pattern.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #include <libbutl/path-pattern.hxx> #include <cassert> #include <iterator> // reverse_iterator #include <algorithm> // find() #include <libbutl/utility.hxx> // lcase()[_WIN32] #include <libbutl/filesystem.hxx> //...
28.134434
79
0.571632
build2
ed37d64b4813b543bbf3469012debf94add4c05d
3,910
cpp
C++
src/utils/vbsp/leakfile.cpp
JJL772/source-2013-custom
68c6d8c9f7af5ef3ab8d748188e5162236099052
[ "Unlicense" ]
2
2020-07-14T22:36:43.000Z
2021-03-21T17:51:33.000Z
src/utils/vbsp/leakfile.cpp
JJL772/source-2013-custom
68c6d8c9f7af5ef3ab8d748188e5162236099052
[ "Unlicense" ]
null
null
null
src/utils/vbsp/leakfile.cpp
JJL772/source-2013-custom
68c6d8c9f7af5ef3ab8d748188e5162236099052
[ "Unlicense" ]
null
null
null
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// #include "vbsp.h" #include "Color.h" /* ============================================================================== ...
23.27381
117
0.571355
JJL772