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
215f1f5ebc9379f7692d4b410d57bb03c65910bb
785
cpp
C++
Dataset/Leetcode/train/112/347.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/112/347.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/112/347.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: bool XXX(TreeNode* root, int targetSum) { if(root==NULL)return false; if(dfs(root,targetSum,0)){ return true; } return false; } bool dfs(TreeNode* root, int targetSum,int sum){ if(root!=NULL && root->left==NULL && root->r...
25.322581
139
0.532484
kkcookies99
2163e2ca54a2843b4ff01a6e6583dae9ee2f58d4
145
cpp
C++
func/demo/sleep_short.cpp
J-Heinemann/faasm
6a7472d73ef7cc18e63617c72715c8775afd11a9
[ "Apache-2.0" ]
1
2020-04-21T07:33:42.000Z
2020-04-21T07:33:42.000Z
func/demo/sleep_short.cpp
J-Heinemann/faasm
6a7472d73ef7cc18e63617c72715c8775afd11a9
[ "Apache-2.0" ]
4
2020-02-03T18:54:32.000Z
2020-05-13T18:28:28.000Z
func/demo/sleep_short.cpp
J-Heinemann/faasm
6a7472d73ef7cc18e63617c72715c8775afd11a9
[ "Apache-2.0" ]
null
null
null
#include "faasm/faasm.h" #include <unistd.h> #define SLEEP_TIME_SECONDS 25 FAASM_MAIN_FUNC() { sleep(SLEEP_TIME_SECONDS); return 0; }
13.181818
30
0.710345
J-Heinemann
2166639b89d5e8b22d1e0af575d4381c2ecc93c9
7,774
cpp
C++
Encodings/src/Windows1255Encoding.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
5,766
2015-01-01T01:27:15.000Z
2022-03-31T09:27:29.000Z
Encodings/src/Windows1255Encoding.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
2,345
2015-01-01T20:43:10.000Z
2022-03-31T19:45:02.000Z
Encodings/src/Windows1255Encoding.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
1,963
2015-01-01T01:29:44.000Z
2022-03-31T06:41:54.000Z
// // Windows1255Encoding.cpp // // Library: Encodings // Package: Encodings // Module: Windows1255Encoding // // Copyright (c) 2018, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/Windows1255Encoding.h" namespace Poco { const char* Wi...
75.475728
161
0.635709
astlin
2168d655b057510ad187d6e787408f95ad9dc382
1,270
cpp
C++
Cpp/Lambdas/lambda.cpp
DirtbagDrew/Lectures
275d0884771b6e59bd1b732639e950651e922d9e
[ "MIT" ]
null
null
null
Cpp/Lambdas/lambda.cpp
DirtbagDrew/Lectures
275d0884771b6e59bd1b732639e950651e922d9e
[ "MIT" ]
null
null
null
Cpp/Lambdas/lambda.cpp
DirtbagDrew/Lectures
275d0884771b6e59bd1b732639e950651e922d9e
[ "MIT" ]
null
null
null
#include <iostream> #include <functional> using std::cout; using std::endl; std::function<int(int)> ReturnFunc(); int main() { auto f = []() { cout << "Hello from an anonymous function!" << endl; }; // Examine the type of f f(); auto g = [](int a) { return a + 13; ...
22.280702
80
0.568504
DirtbagDrew
217032cf78f0dadd8cf0245bc17d62e53dc0a148
2,640
cpp
C++
ojcpp/leetcode/300/337_houserobber3.cpp
softarts/oj
2f51f360a7a6c49e865461755aec2f3a7e721b9e
[ "Apache-2.0" ]
3
2019-05-04T03:26:02.000Z
2019-08-29T01:20:44.000Z
ojcpp/leetcode/300/337_houserobber3.cpp
softarts/oj
2f51f360a7a6c49e865461755aec2f3a7e721b9e
[ "Apache-2.0" ]
null
null
null
ojcpp/leetcode/300/337_houserobber3.cpp
softarts/oj
2f51f360a7a6c49e865461755aec2f3a7e721b9e
[ "Apache-2.0" ]
null
null
null
// // Created by rui.zhou on 4/12/2019. // /* * The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each house has one and only one parent house. After a tour, the smart thief realized that "all houses in this place forms a bina...
26.666667
389
0.554167
softarts
21726313a39d0d825a1bae95c70cc94c51a17b7e
1,214
cpp
C++
src/crypto/hash.cpp
g-ongetta/CCF
190b3ca4c41d83719df6aa37c6493cff976ed163
[ "Apache-2.0" ]
null
null
null
src/crypto/hash.cpp
g-ongetta/CCF
190b3ca4c41d83719df6aa37c6493cff976ed163
[ "Apache-2.0" ]
null
null
null
src/crypto/hash.cpp
g-ongetta/CCF
190b3ca4c41d83719df6aa37c6493cff976ed163
[ "Apache-2.0" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache 2.0 License. #include "hash.h" #include <mbedtls/sha256.h> #include <stdexcept> extern "C" { #include <evercrypt/EverCrypt_Hash.h> } using namespace std; void crypto::Sha256Hash::mbedtls_sha256( initializer_list<CBuffer> il,...
22.481481
67
0.724053
g-ongetta
2173bf7c03e21a2684a03cddbff9954f8583e0b7
5,917
cpp
C++
shore/shore-mt/src/fc/w_debug.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
4
2019-01-24T02:00:23.000Z
2021-03-17T11:56:59.000Z
shore/shore-mt/src/fc/w_debug.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
1
2021-11-25T18:08:22.000Z
2021-11-25T18:08:22.000Z
shore/shore-mt/src/fc/w_debug.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
4
2019-01-22T10:35:55.000Z
2021-03-17T11:57:23.000Z
/*<std-header orig-src='shore'> $Id: w_debug.cpp,v 1.1.2.1 2010/01/28 04:53:07 nhall Exp $ SHORE -- Scalable Heterogeneous Object REpository Copyright (c) 1994-99 Computer Sciences Department, University of Wisconsin -- Madison All Rights Reserved. Permission to use, copy, modify and distribu...
24.861345
71
0.618726
anshsarkar
21752185978bfe99310a7581b4c2c2cf6c0a85cf
11,749
cpp
C++
Source/Catastrophe_VS/Characters/PlayerCharacter/PlayerCharacter.cpp
Enderderder/Catastrophe_VerticalSlice
679a04e86db363c3bca642512b86f5b2a8cca1be
[ "MIT" ]
null
null
null
Source/Catastrophe_VS/Characters/PlayerCharacter/PlayerCharacter.cpp
Enderderder/Catastrophe_VerticalSlice
679a04e86db363c3bca642512b86f5b2a8cca1be
[ "MIT" ]
null
null
null
Source/Catastrophe_VS/Characters/PlayerCharacter/PlayerCharacter.cpp
Enderderder/Catastrophe_VerticalSlice
679a04e86db363c3bca642512b86f5b2a8cca1be
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "PlayerCharacter.h" #include "Camera/CameraComponent.h" #include "Camera/CameraActor.h" #include "Components/CapsuleComponent.h" #include "Components/InputComponent.h" #include "Components/StaticMeshComponent.h" #include "Component...
32.366391
180
0.779471
Enderderder
21780b5deb5965454673038016d281c8618c23e2
924
cpp
C++
cli/gflag/src/module.cpp
ArcticNature/extentions
386b6cc88fd9b05ca1c94190e882a0a18f55a898
[ "BSD-3-Clause" ]
null
null
null
cli/gflag/src/module.cpp
ArcticNature/extentions
386b6cc88fd9b05ca1c94190e882a0a18f55a898
[ "BSD-3-Clause" ]
null
null
null
cli/gflag/src/module.cpp
ArcticNature/extentions
386b6cc88fd9b05ca1c94190e882a0a18f55a898
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 Stefano Pogliani <stefano@spogliani.net> #include <string> #include "core/interface/lifecycle.h" #include "core/lifecycle/process.h" #include "core/registry/cli-parser.h" #include "ext/cli/gflags.h" using sf::core::interface::BaseLifecycleArg; using sf::core::interface::BaseLifecycleHandler; using s...
26.4
58
0.756494
ArcticNature
2178596a209e969d49d86c8c8c24bf273129f7a4
364
cpp
C++
Bit Algorithm/Count Number of Set Bits in A Number/SolutionByAbhay.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
261
2019-09-30T19:47:29.000Z
2022-03-29T18:20:07.000Z
Bit Algorithm/Count Number of Set Bits in A Number/SolutionByAbhay.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
647
2019-10-01T16:51:29.000Z
2021-12-16T20:39:44.000Z
Bit Algorithm/Count Number of Set Bits in A Number/SolutionByAbhay.cpp
Mdanish777/Programmers-Community
b5ca9582fc1cd4337baa7077ff62130a1052583f
[ "MIT" ]
383
2019-09-30T19:32:07.000Z
2022-03-24T16:18:26.000Z
#include <bits/stdc++.h> using namespace std; int setBits(int number) { int count = 0; while (number != 0) { if (number & 1 == 1) { ++count; } number = number >> 1; } return count; } int main(int argc, char const* argv[]) { int number; cin >> number; cout...
17.333333
38
0.508242
Mdanish777
2178de00e32fa4fe8f39f55dd10e6fcd455becfd
4,154
cpp
C++
engine/graphics/Private/PipelineDesc.cpp
azhirnov/AE
31a42b9bf3bdd86304d565d66e4710e7d89d7392
[ "MIT" ]
2
2019-11-14T17:55:26.000Z
2022-01-12T09:38:29.000Z
engine/graphics/Private/PipelineDesc.cpp
azhirnov/AE
31a42b9bf3bdd86304d565d66e4710e7d89d7392
[ "MIT" ]
null
null
null
engine/graphics/Private/PipelineDesc.cpp
azhirnov/AE
31a42b9bf3bdd86304d565d66e4710e7d89d7392
[ "MIT" ]
1
2020-04-11T16:04:31.000Z
2020-04-11T16:04:31.000Z
// Copyright (c) 2018-2020, Zhirnov Andrey. For more information see 'LICENSE' #include "graphics/Public/PipelineDesc.h" namespace AE::Graphics { /* ================================================= GraphicsPipelineDesc::operator == ================================================= */ bool GraphicsPipelineDesc:...
29.671429
84
0.508907
azhirnov
21792114ff9d5ef38c87bcc5e0548e9ad7c614f9
9,539
cpp
C++
hanse_ros/hanse_wall_sonar/src/wall_follow_fancy_node.cpp
iti-luebeck/HANSE2012
fd2348823a6a51baf87cd493529f085fb22d65a7
[ "BSD-3-Clause" ]
null
null
null
hanse_ros/hanse_wall_sonar/src/wall_follow_fancy_node.cpp
iti-luebeck/HANSE2012
fd2348823a6a51baf87cd493529f085fb22d65a7
[ "BSD-3-Clause" ]
null
null
null
hanse_ros/hanse_wall_sonar/src/wall_follow_fancy_node.cpp
iti-luebeck/HANSE2012
fd2348823a6a51baf87cd493529f085fb22d65a7
[ "BSD-3-Clause" ]
null
null
null
#include "wall_follow_fancy_node.h" using namespace Eigen; WallFollowFancyNode::WallFollowFancyNode(ros::NodeHandle n):node_(n){ //advertise publishers pub_goal_ = node_.advertise<geometry_msgs::PoseStamped>("sonar/wall_follow/goal", 1000); pub_circles_ = node_.advertise<geometry_msgs::PolygonStamped>("s...
36.830116
153
0.667366
iti-luebeck
217cb9cd795a06ba066b98343082d40530e90512
6,712
cpp
C++
src/core/lib/core_qt_common/controls/wg_action.cpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/lib/core_qt_common/controls/wg_action.cpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/lib/core_qt_common/controls/wg_action.cpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#include "wg_action.hpp" #include "core_generic_plugin/interfaces/i_component_context.hpp" #include "core_ui_framework/i_ui_application.hpp" #include "core_ui_framework/i_ui_framework.hpp" #include "core_ui_framework/i_action.hpp" #include "core_qt_common/interfaces/i_qt_helpers.hpp" #include "helpers/qt_helpers.hpp" ...
18.23913
112
0.692342
wgsyd
217ee0498a3f16453bac3dad2f37d3ea1b1a372f
4,826
cpp
C++
data/magic_mount/core/socket.cpp
chaveza6870/tsu
69eef801bdb85f6b51ec322c0fc0782f3e2f7af1
[ "MIT" ]
1
2019-12-22T22:42:20.000Z
2019-12-22T22:42:20.000Z
data/magic_mount/core/socket.cpp
micc9/tsu
69eef801bdb85f6b51ec322c0fc0782f3e2f7af1
[ "MIT" ]
null
null
null
data/magic_mount/core/socket.cpp
micc9/tsu
69eef801bdb85f6b51ec322c0fc0782f3e2f7af1
[ "MIT" ]
1
2019-12-14T16:13:48.000Z
2019-12-14T16:13:48.000Z
/* socket.c - All socket related operations */ #include <string.h> #include <stdlib.h> #include <fcntl.h> #include <endian.h> #include <daemon.h> #include <utils.h> #include <logging.h> #define ABS_SOCKET_LEN(sun) (sizeof(sa_family_t) + strlen(sun->sun_path + 1) + 1) socklen_t setup_sockaddr(struct sockaddr_un *su...
22.551402
100
0.652507
chaveza6870
2180b81131c7b38844182fdd9fd43f8577c701bc
9,818
cxx
C++
src/tools/log-common/log-desc.cxx
ManticoreProject/manticore
74b07c02ebc6c69764c1256ff0c02a921dcaefbb
[ "MIT" ]
60
2017-12-13T20:07:32.000Z
2022-01-21T09:15:40.000Z
src/tools/log-common/log-desc.cxx
ManticoreProject/pmlc
74b07c02ebc6c69764c1256ff0c02a921dcaefbb
[ "MIT" ]
21
2016-02-12T21:30:13.000Z
2020-03-25T02:22:44.000Z
src/tools/log-common/log-desc.cxx
ManticoreProject/manticore
74b07c02ebc6c69764c1256ff0c02a921dcaefbb
[ "MIT" ]
8
2016-01-21T20:47:53.000Z
2020-04-30T14:31:42.000Z
/*! \file log-desc.cxx * * \author John Reppy */ /* * COPYRIGHT (c) 2009 The Manticore Project (http://manticore.cs.uchicago.edu) * All rights reserved. */ #include "event-desc.hxx" #include "log-desc.hxx" #include <string.h> #include <stdio.h> /* FIXME: replace error message in AddTransition with something els...
23.714976
100
0.63404
ManticoreProject
218130810ffab4bbe79706fcb2bfb73c57ddf5d8
3,009
hpp
C++
units/units.hpp
google/cpp-from-the-sky-down
10c8d16e877796f2906bedbd3a66fb6469b3a211
[ "Apache-2.0" ]
219
2018-08-15T22:01:07.000Z
2022-03-23T11:46:54.000Z
units/units.hpp
sthagen/cpp-from-the-sky-down
72114a17a659e5919b4cbe3363e35c04f833d9d9
[ "Apache-2.0" ]
5
2018-09-11T06:15:28.000Z
2022-01-05T15:27:31.000Z
units/units.hpp
sthagen/cpp-from-the-sky-down
72114a17a659e5919b4cbe3363e35c04f833d9d9
[ "Apache-2.0" ]
27
2018-09-11T06:14:40.000Z
2022-03-20T09:46:14.000Z
// Copyright 2018 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
25.939655
75
0.580259
google
21886401a9dfc06c5a5c2099fcb86b33bec5780e
5,025
cpp
C++
compiler/src/Silang.cpp
jadedrip/SimpleLang
f39c490e5a41151d1d0d2f8c77c6ce524b7842f0
[ "BSD-3-Clause" ]
16
2015-03-30T02:46:49.000Z
2020-07-28T13:36:54.000Z
compiler/src/Silang.cpp
jadedrip/SimpleLang
f39c490e5a41151d1d0d2f8c77c6ce524b7842f0
[ "BSD-3-Clause" ]
1
2020-09-01T09:38:30.000Z
2020-09-01T09:38:30.000Z
compiler/src/Silang.cpp
jadedrip/SimpleLang
f39c490e5a41151d1d0d2f8c77c6ce524b7842f0
[ "BSD-3-Clause" ]
2
2020-02-07T02:09:48.000Z
2020-02-19T13:31:35.000Z
// Silang.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <iostream> #include <memory> #include "Ast/AstNode.h" #include <llvm/ExecutionEngine/ExecutionEngine.h> #include <llvm/Support/TargetSelect.h> #include <llvm/Support/ManagedStatic.h> #include <llvm/Support/Signals.h> #include <llvm/ExecutionEngine/MCJIT.h...
25.125
110
0.683781
jadedrip
218a51d4222e1be7fd560bf4681d04c352462270
6,685
cpp
C++
test/test_eigen_utils.cpp
stellarpower/vio_common
5508203cbcc166cbcd34dc0a6f7852c73e2cff55
[ "BSD-3-Clause" ]
16
2017-06-02T07:22:31.000Z
2022-03-23T02:39:39.000Z
test/test_eigen_utils.cpp
stellarpower/vio_common
5508203cbcc166cbcd34dc0a6f7852c73e2cff55
[ "BSD-3-Clause" ]
2
2020-08-10T04:01:35.000Z
2021-01-18T08:21:17.000Z
test/test_eigen_utils.cpp
stellarpower/vio_common
5508203cbcc166cbcd34dc0a6f7852c73e2cff55
[ "BSD-3-Clause" ]
19
2017-08-03T02:23:11.000Z
2021-09-22T02:17:46.000Z
#include <gtest/gtest.h> #include <iostream> #include "Eigen/Core" #include "Eigen/Dense" #include "vio/eigen_utils.h" TEST(Eigen, Inverse) { Eigen::Matrix<double, 6, 6> information = Eigen::Matrix<double, 6, 6>::Zero(); information(5, 5) = 1.0e8; information(0, 0) = 1.0e8; information(1, 1) = 1.0e8; inform...
39.323529
84
0.6362
stellarpower
218ce951f0ae7d750efd02621147e6ce750ee59a
626
cpp
C++
tests/SelectionTests.cpp
lw983165/Ops
b91808bbf9a011c439476dbdf227aa455b53bf72
[ "Apache-2.0" ]
null
null
null
tests/SelectionTests.cpp
lw983165/Ops
b91808bbf9a011c439476dbdf227aa455b53bf72
[ "Apache-2.0" ]
null
null
null
tests/SelectionTests.cpp
lw983165/Ops
b91808bbf9a011c439476dbdf227aa455b53bf72
[ "Apache-2.0" ]
null
null
null
#include "catch.hpp" #include "Selection.hpp" #include "Circle.hpp" TEST_CASE("copy constructor and equals operator") { Selection *sel = new Selection(); Circle *c1 = new Circle(); Circle *c2 = new Circle(); sel->add(c1); sel->add(c2); REQUIRE(sel->getSize() == 2); Selection *sel2 = new...
20.193548
51
0.578275
lw983165
218d372a58c7587d4d8e687f2afe7be3268f8dc3
2,395
cpp
C++
libs/json/test/value_object.cpp
rzr/json_spirit
065bfd09c45f1f89a9ce254b31fe10e0a53cdf1d
[ "BSL-1.0" ]
103
2015-01-13T18:06:47.000Z
2021-11-24T11:22:29.000Z
libs/json/test/value_object.cpp
rzr/json_spirit
065bfd09c45f1f89a9ce254b31fe10e0a53cdf1d
[ "BSL-1.0" ]
12
2015-08-04T12:46:17.000Z
2021-01-12T06:49:24.000Z
libs/json/test/value_object.cpp
rzr/json_spirit
065bfd09c45f1f89a9ce254b31fe10e0a53cdf1d
[ "BSL-1.0" ]
37
2015-03-07T01:16:37.000Z
2022-01-26T08:42:51.000Z
/** * Copyright (C) 2012, 2013 ciere consulting, ciere.com */ #define BOOST_TEST_MODULE value_object #include <boost/test/unit_test.hpp> #include "ciere/json/io.hpp" #include "ciere/json/value.hpp" #include <string> namespace json = ciere::json; BOOST_TEST_DONT_PRINT_LOG_VALUE(json::value::object_iterator) BOOS...
26.611111
71
0.639666
rzr
218f56e777c20d947629b2cefe9c15c8a2186f8d
5,540
cpp
C++
nucleo32_f303k8/Drivers/MiYALAB_STM32F303K8/USART/Uart.cpp
miyalab/DefaultProjectForSTM32
5e054974fe6e33c08638b2b239db35fc7275f908
[ "MIT" ]
null
null
null
nucleo32_f303k8/Drivers/MiYALAB_STM32F303K8/USART/Uart.cpp
miyalab/DefaultProjectForSTM32
5e054974fe6e33c08638b2b239db35fc7275f908
[ "MIT" ]
null
null
null
nucleo32_f303k8/Drivers/MiYALAB_STM32F303K8/USART/Uart.cpp
miyalab/DefaultProjectForSTM32
5e054974fe6e33c08638b2b239db35fc7275f908
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2020 MiYA LAB(K.Miyauchi) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
34.197531
122
0.537906
miyalab
218fbd71373c01a56caa8165ffee436c1108c47d
3,480
cc
C++
aimsdata/src/aimsfdf/lib/io/fdfprocpar.cc
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
4
2019-07-09T05:34:10.000Z
2020-10-16T00:03:15.000Z
aimsdata/src/aimsfdf/lib/io/fdfprocpar.cc
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
72
2018-10-31T14:52:50.000Z
2022-03-04T11:22:51.000Z
aimsdata/src/aimsfdf/lib/io/fdfprocpar.cc
brainvisa/aims-free
5852c1164292cadefc97cecace022d14ab362dc4
[ "CECILL-B" ]
null
null
null
/* This software and supporting documentation are distributed by * Institut Federatif de Recherche 49 * CEA/NeuroSpin, Batiment 145, * 91191 Gif-sur-Yvette cedex * France * * This software is governed by the CeCILL-B license under * French law and abiding by the rules of distribution of free soft...
35.876289
93
0.623851
brainvisa
218fe650375999474e12775d34a63748733759f5
409
cpp
C++
suda/0407/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
suda/0407/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
suda/0407/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #include <cstring> using namespace std; const int MOD = 1e9 + 7; long long qp(long long a, long long n) { long long res = 1; while(n) { if(n&1) res *= a; a *= a; a %= MOD; res %= MOD; n >>= 1; } return res; } int main() { long long n, k; int cnt = 0; while(~...
15.148148
54
0.542787
tusikalanse
219021cd67531b557eaadb711e7054e2062ff48e
10,485
cpp
C++
ccec/src/Bus.cpp
rdkcmf/rdk-hdmicec
a46b0f30031344c8d2dcdfe1b82c543d885c8394
[ "Apache-2.0" ]
1
2018-09-04T05:48:09.000Z
2018-09-04T05:48:09.000Z
ccec/src/Bus.cpp
rdkcmf/rdk-hdmicec
a46b0f30031344c8d2dcdfe1b82c543d885c8394
[ "Apache-2.0" ]
null
null
null
ccec/src/Bus.cpp
rdkcmf/rdk-hdmicec
a46b0f30031344c8d2dcdfe1b82c543d885c8394
[ "Apache-2.0" ]
1
2018-08-16T20:46:53.000Z
2018-08-16T20:46:53.000Z
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2016 RDK Management * * 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 ...
23.456376
125
0.61774
rdkcmf
219b4444505a17560db90a3e0309b3151f9d9de4
1,708
cpp
C++
cachelib/navy/testing/tests/BufferGenTest.cpp
GerHobbelt/CacheLib
580bf6950aad89cf86dbc153f12dada79b71eaf7
[ "Apache-2.0" ]
578
2021-09-01T14:19:55.000Z
2022-03-29T12:22:46.000Z
cachelib/navy/testing/tests/BufferGenTest.cpp
igchor/Cachelib
7db2c643d49fd0a4ec6c492d94a400cbe0515a70
[ "Apache-2.0" ]
61
2021-09-02T18:48:06.000Z
2022-03-31T01:56:00.000Z
cachelib/navy/testing/tests/BufferGenTest.cpp
igchor/Cachelib
7db2c643d49fd0a4ec6c492d94a400cbe0515a70
[ "Apache-2.0" ]
88
2021-09-02T21:22:19.000Z
2022-03-27T07:40:27.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
26.276923
80
0.645199
GerHobbelt
219cdeb6660499e8cbcfe983ba8c1ea85574556c
824
hpp
C++
cpp/G3M/GEOMultiLine2DMeshSymbol.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
70
2015-02-06T14:39:14.000Z
2022-01-07T08:32:48.000Z
cpp/G3M/GEOMultiLine2DMeshSymbol.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
118
2015-01-21T10:18:00.000Z
2018-10-16T15:00:57.000Z
cpp/G3M/GEOMultiLine2DMeshSymbol.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
41
2015-01-10T22:29:27.000Z
2021-06-08T11:56:16.000Z
// // GEOMultiLine2DMeshSymbol.hpp // G3M // // Created by Diego Gomez Deck on 3/26/13. // // #ifndef __G3M__GEOMultiLine2DMeshSymbol__ #define __G3M__GEOMultiLine2DMeshSymbol__ #include "GEOMeshSymbol.hpp" #include "Color.hpp" class GEOLine2DStyle; class GEOMultiLine2DMeshSymbol : public GEOMeshSymbol { private:...
20.097561
90
0.706311
glob3mobile
219cf28f6a7af2774c2958e28a9ec9390b6e5dd0
181
cpp
C++
AtCoder/ABC049/B/abc049_b.cpp
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
2
2021-07-27T10:46:47.000Z
2021-07-27T10:47:57.000Z
AtCoder/ABC049/B/abc049_b.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
AtCoder/ABC049/B/abc049_b.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int h, w; cin >> h >> w; while (h--) { string s; cin >> s; cout << s << '\n' << s << '\n'; } }
20.111111
39
0.414365
object-oriented-human
219d7018bab8dc6adc95ad85bcfaaa23f793bb02
2,381
hpp
C++
src/port/esp_mesh/impl/function_impl.hpp
rnascunha/coap-te
eaff16162b1a524ad06e18dbdc79ca4c8658b3a8
[ "MIT" ]
null
null
null
src/port/esp_mesh/impl/function_impl.hpp
rnascunha/coap-te
eaff16162b1a524ad06e18dbdc79ca4c8658b3a8
[ "MIT" ]
null
null
null
src/port/esp_mesh/impl/function_impl.hpp
rnascunha/coap-te
eaff16162b1a524ad06e18dbdc79ca4c8658b3a8
[ "MIT" ]
null
null
null
#ifndef COAP_TE_PORT_ESP_MESH_FUNCTION_IMPL_HPP__ #define COAP_TE_PORT_ESP_MESH_FUNCTION_IMPL_HPP__ #include "../function.hpp" #include "message/types.hpp" #include "message/parser.hpp" #include "debug/print_message.hpp" #include "esp_log.h" namespace CoAP{ namespace Port{ namespace ESP_Mesh{ #if COAP_TE_PORT_POSI...
22.252336
93
0.654347
rnascunha
219ebc0196dc1ef078367ea6ff6a81312c7defbb
6,904
cc
C++
utils/dx12test/dx12test.cc
gyakoo/simutils
9e3b35ad30f3022b755b0f13d5f1a2c9fdf79715
[ "MIT" ]
4
2015-10-19T13:53:41.000Z
2020-05-14T19:48:44.000Z
utils/dx12test/dx12test.cc
gyakoo/simutils
9e3b35ad30f3022b755b0f13d5f1a2c9fdf79715
[ "MIT" ]
6
2015-09-30T14:00:32.000Z
2015-09-30T14:06:55.000Z
utils/dx12test/dx12test.cc
gyakoo/simutils
9e3b35ad30f3022b755b0f13d5f1a2c9fdf79715
[ "MIT" ]
null
null
null
#pragma warning(disable:4100 4005 4297) #if defined(_DEBUG) && !defined(_WIN64) #include <vld.h> #endif #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <Windows.h> #undef VIS_DX11 #undef VIS_GL #ifndef VIS_DX12 #define VIS_DX12 #endif #define VIS_IMPLEMENTATION #include <vis.h> struct app_assets...
32.720379
131
0.699594
gyakoo
21a2475c6692579f019d51bd6b520ef889dfc13c
2,710
cpp
C++
UxGL/sources/UxError.cpp
Emmanuel-DUPUIS/heightmapterrain
9c1f41afe8d314607c20ad6341648920debbebbf
[ "MIT" ]
null
null
null
UxGL/sources/UxError.cpp
Emmanuel-DUPUIS/heightmapterrain
9c1f41afe8d314607c20ad6341648920debbebbf
[ "MIT" ]
null
null
null
UxGL/sources/UxError.cpp
Emmanuel-DUPUIS/heightmapterrain
9c1f41afe8d314607c20ad6341648920debbebbf
[ "MIT" ]
null
null
null
//======================================================================== // Height Map Terrain Model // MIT License // Copyright (c) 2017 Emmanuel DUPUIS, emmanuel.dupuis@undecentum.com //======================================================================== #include "UxError.h" #include <direct.h> #i...
25.092593
332
0.536162
Emmanuel-DUPUIS
426f5f4a526887d473249cd23c7470fc7310754d
1,270
cpp
C++
Sources/Inputs/Buttons/ButtonJoystick.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
Sources/Inputs/Buttons/ButtonJoystick.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
Sources/Inputs/Buttons/ButtonJoystick.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
#include "ButtonJoystick.hpp" namespace acid { bool ButtonJoystick::registered = Register("buttonJoystick"); ButtonJoystick::ButtonJoystick(JoystickPort port, JoystickButton button) : m_port(port), m_button(button) { Joysticks::Get()->OnButton().Add([this](JoystickPort port, JoystickButton button, InputAction acti...
30.238095
104
0.725197
dreadris
426fdade61db3462cc7471d4961ef0c8df9f6b78
1,249
cpp
C++
stack3.cpp
jeremyphilemon/datastructures-and-algorithms
8abbdb9048d308426f4a83b815ceb90cf92d8732
[ "MIT" ]
4
2020-04-01T14:00:11.000Z
2021-04-26T20:17:05.000Z
stack3.cpp
jeremyphilemon/DSA
8abbdb9048d308426f4a83b815ceb90cf92d8732
[ "MIT" ]
null
null
null
stack3.cpp
jeremyphilemon/DSA
8abbdb9048d308426f4a83b815ceb90cf92d8732
[ "MIT" ]
4
2020-04-10T08:12:45.000Z
2020-09-23T22:29:43.000Z
/* Write a C program that tests the application function reverse(stack); which reverse the items on the stack passed to it. This function should use two local stacks to do its job. */ #include <stdio.h> #include <stdlib.h> void push(int arr[], int size, int *top, int item) { if(*top==size) printf("\nStack is...
18.641791
73
0.618094
jeremyphilemon
427448ae245ff3dea5d14aee317cf9f223ec7776
4,143
cc
C++
dbs/src/model/DescribeFullBackupSetResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
dbs/src/model/DescribeFullBackupSetResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
dbs/src/model/DescribeFullBackupSetResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
26.388535
86
0.757664
aliyun
4274e746b54323302c3b83077aab5f6d46c8efac
16,179
cc
C++
durbatuluk.cc
joelodom/durbatuluk
c612f0fdbea6875f4cb0f95b24ffec4eafa6adb1
[ "BSD-3-Clause" ]
null
null
null
durbatuluk.cc
joelodom/durbatuluk
c612f0fdbea6875f4cb0f95b24ffec4eafa6adb1
[ "BSD-3-Clause" ]
null
null
null
durbatuluk.cc
joelodom/durbatuluk
c612f0fdbea6875f4cb0f95b24ffec4eafa6adb1
[ "BSD-3-Clause" ]
null
null
null
// // Durbatuluk is Copyright (c) 2012 Joel Odom // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, me...
29.098921
80
0.686878
joelodom
427a18a90e3ca2935695d9f2bdb7408edc96e0f6
396
hpp
C++
overlay/src/nxcord_overlay_utils.hpp
Grarak/NXCord
7ba09804c79cdc74da0d4f4766e6d8a1a8a10279
[ "MIT" ]
36
2019-12-11T15:46:34.000Z
2021-12-18T10:14:36.000Z
overlay/src/nxcord_overlay_utils.hpp
Grarak/NXCord
7ba09804c79cdc74da0d4f4766e6d8a1a8a10279
[ "MIT" ]
10
2020-01-26T11:38:13.000Z
2020-10-10T22:04:20.000Z
overlay/src/nxcord_overlay_utils.hpp
Grarak/NXCord
7ba09804c79cdc74da0d4f4766e6d8a1a8a10279
[ "MIT" ]
7
2020-01-23T13:33:40.000Z
2021-03-23T21:54:08.000Z
#pragma once #define private public #define protected public #include <tesla.hpp> #undef private #undef protected constexpr std::string_view NO_SYSMODULE = "Can't communicate with \nsysmodule!"; constexpr std::string_view NOT_CONNECTED = "Not connected to voice channel."; inline tsl::elm::OverlayFrame *defaultOverla...
26.4
80
0.775253
Grarak
427ae138dfab9411734f96b149a07a5b15d849e5
297
cpp
C++
Ch 06/6.21.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 06/6.21.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 06/6.21.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
/*编写一个函数,令其接受两个参数:一个是int型整数,另一个是int指针。 函数比较int的值和指针所指的值,返回较大的那个 */ #include<iostream> using namespace std; // 比较函数 int compare_int(const int &a, const int *b) { return a > *b ? a : *b; } int main() { int x = 100; int y = 200; int *z = &y; cout << compare_int(x, z) << endl; return 0; }
12.913043
43
0.62963
Felon03
427b1170c333ab65d47be9827db6c46499529998
3,844
cpp
C++
src/WorldGenerator/Grid.cpp
Smerom/WorldBuilder
997a6f2e5a7b1d090cde3ec566845d3c537535e4
[ "MIT" ]
6
2017-03-15T18:27:06.000Z
2022-01-08T04:22:35.000Z
src/WorldGenerator/Grid.cpp
Smerom/WorldBuilder
997a6f2e5a7b1d090cde3ec566845d3c537535e4
[ "MIT" ]
null
null
null
src/WorldGenerator/Grid.cpp
Smerom/WorldBuilder
997a6f2e5a7b1d090cde3ec566845d3c537535e4
[ "MIT" ]
null
null
null
// -- // Grid.cpp // WorldGenerator // #include "Grid.hpp" namespace WorldBuilder { Grid::Grid(const api::Grid *theGrid) : verts(theGrid->vertices_size()){ // copy our verts over uint_fast32_t count = theGrid->vertices_size(); for (uint_fast32_t index = 0; index < count; index++) { ...
42.241758
120
0.581426
Smerom
42829b75df9b0c44a5b7297042b3374ad883df26
1,921
cpp
C++
src/CodingSkill/CPPCoding/TestQuiz2.cpp
SungwooNam/ProgrammingStudy
3c2fe6096fea29547f05ff29bbde14a48c4afa9b
[ "MIT" ]
1
2019-07-22T04:58:15.000Z
2019-07-22T04:58:15.000Z
src/CodingSkill/CPPCoding/TestQuiz2.cpp
SungwooNam/ProgrammingStudy
3c2fe6096fea29547f05ff29bbde14a48c4afa9b
[ "MIT" ]
1
2017-02-21T16:02:41.000Z
2017-02-21T16:02:41.000Z
src/CodingSkill/CPPCoding/TestQuiz2.cpp
SungwooNam/ProgrammingStudy
3c2fe6096fea29547f05ff29bbde14a48c4afa9b
[ "MIT" ]
null
null
null
/* #include <boost/test/unit_test.hpp> #include <vector> #include <numeric> #include <limits> #include <list> #include <set> #include <map> #include <stack> #include <math.h> #include <stdio.h> class Host { private: int m_HostID; int m_InstanceType; std::list<bool> m_Slots; public: Host( int id, int type ); voi...
17
77
0.587194
SungwooNam
4285b2d22cb421b450bbd4555e1fd61bef747fcf
1,525
cpp
C++
src/example_pcl_load_ply_file.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
2
2020-07-14T19:37:43.000Z
2020-07-15T04:38:09.000Z
src/example_pcl_load_ply_file.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
null
null
null
src/example_pcl_load_ply_file.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
null
null
null
/** * Author: Dr. Ing. Ahmad Kamal Nasir * Email: dringakn@gmail.com * Description: * Notes: Add pcl_ros library in CMakeLists * For testing * roscore * rosrun ros_examples example_pcl_load_ply_file _map_file_name:=/home/ahmad/catkin_ws/src/ROSExamples/map/sample.ply * rviz (Ad...
30.5
123
0.66623
dringakn
428b473dc18059f23d96c990007a0299ce57c2e9
4,594
hpp
C++
include/NP-Engine/Window/Window.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Window/Window.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Window/Window.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
//##===----------------------------------------------------------------------===##// // // Author: Nathan Phipps 2/10/21 // //##===----------------------------------------------------------------------===##// #ifndef NP_ENGINE_WINDOW_HPP #define NP_ENGINE_WINDOW_HPP #include <utility> #include "NP-Engine/Primitive/...
22.742574
105
0.690466
naphipps
428b4963aed50144157ca038d0f9e06aee49382a
3,198
cpp
C++
src/abnf/ParserException.cpp
medooze/sdp-
4bf23de4cf6ade65fedb68a8c8a5baf4bd6a3e6d
[ "MIT" ]
32
2018-01-01T17:01:19.000Z
2022-02-25T10:30:47.000Z
src/abnf/ParserException.cpp
medooze/sdp-
4bf23de4cf6ade65fedb68a8c8a5baf4bd6a3e6d
[ "MIT" ]
4
2018-01-08T16:13:05.000Z
2021-01-25T11:47:44.000Z
src/abnf/ParserException.cpp
medooze/sdp-
4bf23de4cf6ade65fedb68a8c8a5baf4bd6a3e6d
[ "MIT" ]
13
2018-09-30T05:59:24.000Z
2022-02-24T08:58:36.000Z
/* ----------------------------------------------------------------------------- * ParserException.cpp * ----------------------------------------------------------------------------- * * Producer : com.parse2.aparse.Parser 2.5 * Produced : Mon Jan 08 13:30:55 CET 2018 * * ---------------------------------...
22.680851
81
0.550031
medooze
428e95ccf96e10655d2dace01af8b187e8c25960
187
cpp
C++
tools/clang/test/SemaTemplate/crash.cpp
clayne/DirectXShaderCompiler
0ef9b702890b1d45f0bec5fa75481290323e14dc
[ "NCSA" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
tools/clang/test/SemaTemplate/crash.cpp
clayne/DirectXShaderCompiler
0ef9b702890b1d45f0bec5fa75481290323e14dc
[ "NCSA" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
tools/clang/test/SemaTemplate/crash.cpp
clayne/DirectXShaderCompiler
0ef9b702890b1d45f0bec5fa75481290323e14dc
[ "NCSA" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: not %clang_cc1 -verify %s -std=c++11 // PR17730 template <typename T> void S<T>::mem1(); template <typename T> void S<T>::mem2() { const int I = sizeof(T); (void)I; }
15.583333
44
0.588235
clayne
428f71f151729d9a102cbb0749f6f5cdd4ab6648
275
hpp
C++
bezGameEngine/src/bez/EntryPoint.hpp
Gustvo/bezGameEngine
8d0ac4613d1a1aac65cab51d337b9a77d56f29ec
[ "MIT" ]
null
null
null
bezGameEngine/src/bez/EntryPoint.hpp
Gustvo/bezGameEngine
8d0ac4613d1a1aac65cab51d337b9a77d56f29ec
[ "MIT" ]
null
null
null
bezGameEngine/src/bez/EntryPoint.hpp
Gustvo/bezGameEngine
8d0ac4613d1a1aac65cab51d337b9a77d56f29ec
[ "MIT" ]
null
null
null
#ifndef ENTRYPOINT_H_INCLUDED #define ENTRYPOINT_H_INCLUDED extern bez::Application *bez::CreateApplication(); int main(int argc, char **argv) { bez::Application *App = bez::CreateApplication(); App->run(); delete App; return 0; } #endif // ENTRYPOINT_H_INCLUDED
18.333333
51
0.730909
Gustvo
429130d2016227a08b4a6362490ca46598c27e8a
1,013
cpp
C++
src/sequences/track.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
1
2021-12-23T21:14:37.000Z
2021-12-23T21:14:37.000Z
src/sequences/track.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
src/sequences/track.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
#include "track.hpp" #include <algorithm> namespace Sequences { SequencePtr Track::insertSequence(uint32_t start, uint32_t length) { const auto it = std::find_if( _sequences.begin(), _sequences.end(), [&](const SequencePtr sequence) -> bool { return sequence->start() >= start; } ); const Sequen...
21.104167
81
0.672261
aalin
42918ec543d89e2a9c7ece5312556a11432124a9
487,114
cpp
C++
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs28.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs28.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs28.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // System.Collections.Generic.Dictionary`2<UnityEngine.Mesh,Microsoft.MixedReality.Toolkit.Utilities.MeshSmoother/MeshReference...
44.25895
479
0.825897
DreVinciCode
42937a8586472399642f3d771bef9c5eef8fca73
4,124
cpp
C++
Engine/Test/Core/Molten/System/UserInputTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
1
2020-10-05T05:24:47.000Z
2020-10-05T05:24:47.000Z
Engine/Test/Core/Molten/System/UserInputTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
null
null
null
Engine/Test/Core/Molten/System/UserInputTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2019 Jimmie Bergmann * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files(the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
38.542056
88
0.629243
jimmiebergmann
429970335fea53bffc30a617719b2848aa93a64a
17,140
cpp
C++
contrib/pgxc_ctl/pgxc_ctl.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
1
2020-06-30T15:00:50.000Z
2020-06-30T15:00:50.000Z
contrib/pgxc_ctl/pgxc_ctl.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
null
null
null
contrib/pgxc_ctl/pgxc_ctl.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
null
null
null
/*------------------------------------------------------------------------- * * pgxc_ctl.c * * Main module of Postgres-XC configuration and operation tool. * * Copyright (c) 2013 Postgres-XC Development Group * *------------------------------------------------------------------------- */ /* * PXC_CTL Pos...
30.390071
118
0.54259
wotchin
429b86ff698811c8243208791f035dc1c010f667
25,105
cpp
C++
platform/mt6592/hardware/m4u/m4u_lib.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
platform/mt6592/hardware/m4u/m4u_lib.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
null
null
null
platform/mt6592/hardware/m4u/m4u_lib.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
25.155311
109
0.631468
touxiong88
429fb6796277573e93d2ffe4dd5fdc517d115921
279
cpp
C++
src/utilities/utilities.cpp
softwarecapital/geometry-central
b4743b4662018d8fa483b31ff4a3af5699db3e93
[ "MIT" ]
539
2018-02-19T16:38:26.000Z
2022-03-31T06:56:22.000Z
src/utilities/utilities.cpp
softwarecapital/geometry-central
b4743b4662018d8fa483b31ff4a3af5699db3e93
[ "MIT" ]
88
2018-11-30T13:19:35.000Z
2022-03-23T18:40:33.000Z
src/utilities/utilities.cpp
softwarecapital/geometry-central
b4743b4662018d8fa483b31ff4a3af5699db3e93
[ "MIT" ]
74
2018-05-12T17:57:04.000Z
2022-03-21T15:01:26.000Z
#include <geometrycentral/utilities/utilities.h> namespace geometrycentral { std::random_device util_random_device; std::mt19937 util_mersenne_twister(util_random_device()); // std::mt19937 util_mersenne_twister(0); // uncomment for determinism } // namespace geometrycentral
27.9
70
0.81362
softwarecapital
42a380fa59cc68005ee814d9122db6475cdc93b0
3,794
cc
C++
release/src/router/aria2-1.18.1/src/DHTGetPeersMessage.cc
ghsecuritylab/bcwifi
4cd7a6989921930f39816583014728b9f07a09a3
[ "FSFAP" ]
18
2015-12-08T17:31:49.000Z
2022-03-21T19:02:11.000Z
release/src/router/aria2-1.18.1/src/DHTGetPeersMessage.cc
ghsecuritylab/bcwifi
4cd7a6989921930f39816583014728b9f07a09a3
[ "FSFAP" ]
null
null
null
release/src/router/aria2-1.18.1/src/DHTGetPeersMessage.cc
ghsecuritylab/bcwifi
4cd7a6989921930f39816583014728b9f07a09a3
[ "FSFAP" ]
8
2015-07-12T14:37:46.000Z
2019-03-05T10:07:33.000Z
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
33.875
80
0.756194
ghsecuritylab
42a874139c83963dcdf592be1b2162e2482cc6ad
549
hpp
C++
src/InputSystem.DirectInput/PrerequisitesDirectInput.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
src/InputSystem.DirectInput/PrerequisitesDirectInput.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
src/InputSystem.DirectInput/PrerequisitesDirectInput.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_PREREQUISITESDIRECTINPUT_98459263_HPP #define POMDOG_PREREQUISITESDIRECTINPUT_98459263_HPP #include "Pomdog/Platform/Win32/PrerequisitesWin32.hpp" #ifndef DIRECTINPUT_VERSION # ifdef DIRECTIN...
28.894737
70
0.806922
bis83
42b528f5b0237210b934945b21c372a93b872d34
3,544
hpp
C++
graph/dfs.hpp
linqingwudiv1/cxx14-graph
11aaa360738f9b40c1994dfede831485f16b9de1
[ "MIT" ]
37
2016-10-06T12:54:20.000Z
2022-03-04T08:26:30.000Z
graph/dfs.hpp
crysisfarcry222/cxx14-graph
5f1866883cb4c048f57c858a25a4ead88b90cb90
[ "MIT" ]
null
null
null
graph/dfs.hpp
crysisfarcry222/cxx14-graph
5f1866883cb4c048f57c858a25a4ead88b90cb90
[ "MIT" ]
7
2017-02-20T16:23:55.000Z
2022-02-14T07:26:38.000Z
// Copyright (c) 2016 Andrew Sutton // All rights reserved #ifndef GRAPH_DFS_HPP #define GRAPH_DFS_HPP #include "common.hpp" namespace origin { // A basic DFS implementation for directed graphs. template<typename G> struct directed_dfs { directed_dfs(G& g) : graph(g), colors(graph.num_vertices(), 0), ...
22.573248
71
0.593115
linqingwudiv1
42b76cd3045a32292e36e2da56826dda7b1f03c3
177
cpp
C++
c++/1073.cpp
RitamDey/My-Simple-Programs
147b455a6a40c371ec894ce979e8a61d242e03bd
[ "Unlicense" ]
2
2016-10-14T16:58:05.000Z
2017-05-04T04:59:18.000Z
c++/1073.cpp
GreenJoey/My-Simple-Programs
147b455a6a40c371ec894ce979e8a61d242e03bd
[ "Unlicense" ]
null
null
null
c++/1073.cpp
GreenJoey/My-Simple-Programs
147b455a6a40c371ec894ce979e8a61d242e03bd
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { int num; cin>>num; for(int a=2;a<=num;a+=2) cout<<a<<"^"<<a<<pow(a,2); return 0; }
16.090909
40
0.581921
RitamDey
42b88474883c49269c9e32a5acef06297f4b5bf7
3,676
cpp
C++
src/sound.cpp
bsegovia/cube
3442b7f62feeda67a66648d2aca8644f39b9ff03
[ "Cube", "Zlib" ]
18
2015-12-01T23:52:21.000Z
2021-11-27T18:15:28.000Z
src/sound.cpp
bsegovia/cube
3442b7f62feeda67a66648d2aca8644f39b9ff03
[ "Cube", "Zlib" ]
null
null
null
src/sound.cpp
bsegovia/cube
3442b7f62feeda67a66648d2aca8644f39b9ff03
[ "Cube", "Zlib" ]
6
2015-09-22T13:26:47.000Z
2021-11-04T12:44:43.000Z
#include "cube.h" #include "SDL/SDL_mixer.h" #define MAXCHAN 32 #define SOUNDFREQ 22050 #define MAXVOL MIX_MAX_VOLUME namespace sound { VARP(soundvol, 0, 255, 255); VARP(musicvol, 0, 128, 255); VAR(soundbufferlen, 128, 1024, 4096); VAR(stereo, 0, 1, 1); static bool nosound = false; static Mix_Music *mod ...
24.837838
90
0.602285
bsegovia
42bae9f9a890bc25aa842aa4cb7032e46c5d85ec
6,714
hpp
C++
ThirdParty-mod/java2cpp/android/widget/ResourceCursorTreeAdapter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/android/widget/ResourceCursorTreeAdapter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/android/widget/ResourceCursorTreeAdapter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: android.widget.ResourceCursorTreeAdapter ================================================================================*/ #ifndef J2CPP...
43.597403
252
0.752011
kakashidinho
42bbb028fafac8ea0fb7f717bcf95d3d367bd700
15,465
cc
C++
rsm.cc
vinx13/SE227
397d9efe403becd48db5ffd65d48af9e7126b6a2
[ "BSD-3-Clause" ]
null
null
null
rsm.cc
vinx13/SE227
397d9efe403becd48db5ffd65d48af9e7126b6a2
[ "BSD-3-Clause" ]
null
null
null
rsm.cc
vinx13/SE227
397d9efe403becd48db5ffd65d48af9e7126b6a2
[ "BSD-3-Clause" ]
2
2019-09-18T14:09:39.000Z
2019-09-25T04:13:59.000Z
// // Replicated state machine implementation with a primary and several // backups. The primary receives requests, assigns each a view stamp (a // vid, and a sequence number) in the order of reception, and forwards // them to all backups. A backup executes requests in the order that // the primary stamps them and repl...
30.087549
81
0.686906
vinx13
42bdcb373dcf1516159b7cc72fca4ba3bfddc909
1,432
cpp
C++
test/qt/remote_device/messages/test_IfdVersion.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
test/qt/remote_device/messages/test_IfdVersion.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
test/qt/remote_device/messages/test_IfdVersion.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
/*! * \copyright Copyright (c) 2018 Governikus GmbH & Co. KG, Germany */ #include "messages/IfdVersion.h" #include <QtTest> using namespace governikus; class test_IfdVersion : public QObject { Q_OBJECT private Q_SLOTS: void stringParsing() { QCOMPARE(IfdVersion::fromString("IFDInterface_WebSocket_v0")...
24.271186
128
0.733939
misery
42be4f01f8d6a8048f7a8ffd8482e4c637d69de2
11,234
cpp
C++
sources/UEAA/Core/Enrollee/Enrollee.cpp
KonstantinTomashevich/university-enrollee-apllication-algorithm
75f3da7d84d931401d8ce6ab79344018417ae03e
[ "MIT" ]
null
null
null
sources/UEAA/Core/Enrollee/Enrollee.cpp
KonstantinTomashevich/university-enrollee-apllication-algorithm
75f3da7d84d931401d8ce6ab79344018417ae03e
[ "MIT" ]
null
null
null
sources/UEAA/Core/Enrollee/Enrollee.cpp
KonstantinTomashevich/university-enrollee-apllication-algorithm
75f3da7d84d931401d8ce6ab79344018417ae03e
[ "MIT" ]
null
null
null
#include <UEAA/BuildConfiguration.hpp> #include "Enrollee.hpp" #include <algorithm> #include <cmath> #include <UEAA/Core/Enrollee/EnrolleeHelpers.hpp> #include <UEAA/Utils/CStringToHash.hpp> namespace UEAA { Enrollee::Enrollee (unsigned id) : XMLSerializable (), id_ (id), examsResults_ (), currentCho...
28.440506
120
0.674203
KonstantinTomashevich
42bf7a607e81b1fce155442d5071798a9f901291
3,463
hpp
C++
include/gtirb_pprinter/Mips32PrettyPrinter.hpp
clayne/gtirb-pprinter
97b6f88d527e1dffbb41c56c267ccd58ca270ba7
[ "MIT" ]
null
null
null
include/gtirb_pprinter/Mips32PrettyPrinter.hpp
clayne/gtirb-pprinter
97b6f88d527e1dffbb41c56c267ccd58ca270ba7
[ "MIT" ]
null
null
null
include/gtirb_pprinter/Mips32PrettyPrinter.hpp
clayne/gtirb-pprinter
97b6f88d527e1dffbb41c56c267ccd58ca270ba7
[ "MIT" ]
null
null
null
//===- Mips32PrettyPrinter.hpp ----------------------------------*- C++ -*-===// // // Copyright (c) 2020 GrammaTech, Inc. // // This code is licensed under the MIT license. See the LICENSE file in the // project root for license terms. // // This project is sponsored by the Office of Naval Research, One Liberty //...
40.741176
80
0.650303
clayne
42c47a6bdc233c1aec6d6c079f162658a30e50d9
900
cpp
C++
Chapter08/type_traits.cpp
markusbuchholz/Cpp-High-Performance-Second-Edition
9d8ce97fae15a5f893a780fb3f8b187d11961a43
[ "MIT" ]
57
2020-07-09T22:54:31.000Z
2022-03-31T14:18:41.000Z
Chapter08/type_traits.cpp
markusbuchholz/Cpp-High-Performance-Second-Edition
9d8ce97fae15a5f893a780fb3f8b187d11961a43
[ "MIT" ]
5
2021-04-02T17:25:31.000Z
2021-07-30T09:38:42.000Z
Chapter08/type_traits.cpp
PacktPublishing/Cpp-High-Performance-Second-Edition
9d8ce97fae15a5f893a780fb3f8b187d11961a43
[ "MIT" ]
36
2019-12-25T19:30:47.000Z
2022-03-16T16:41:02.000Z
#include <gtest/gtest.h> #include <cstdint> #include <type_traits> TEST(TypeTraits, Categories) { [[maybe_unused]] auto same_type = std::is_same_v<uint8_t, unsigned char>; const auto is_float_or_double = std::is_floating_point_v<decltype(3.f)>; static_assert(is_float_or_double); } TEST(TypeTraits, UserDefined...
20.930233
75
0.675556
markusbuchholz
42c4e47992a1a973e9c225d979265980374d7035
27,577
cpp
C++
src/map.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
null
null
null
src/map.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
null
null
null
src/map.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
null
null
null
/**************************** Copyright © 2006-2015 Luke Salisbury This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, includi...
26.016038
243
0.671175
mokoi
42cb9358ab3bbd856ec3fada1b050b6acb91d258
2,140
cpp
C++
Data Structures/Linked List/20. Bubble sort by changing pointers.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Data Structures/Linked List/20. Bubble sort by changing pointers.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Data Structures/Linked List/20. Bubble sort by changing pointers.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include<iostream> using namespace std; // BUGGY CODE //Finding it hard to implement . Will do later. //For now data is being swapped like array. struct node{ int data; struct node*next; }; struct node*newNode(int data){ struct node*temp = new struct node; temp->data = data; temp->next = NULL; return temp; } voi...
17.68595
71
0.580841
Ashwanigupta9125
42cc32b2f9e8f282ad0d65f4ce87d2939c5fb62c
602
cpp
C++
Data Structure/Array Or Vector/Selection Sort/SolutionbyMashiyatHussain.cpp
rajethanm4/Programmers-Community
d16083eb0e84403159d999d4d1a8bbf652ca51f6
[ "MIT" ]
8
2020-11-07T10:29:21.000Z
2020-12-26T16:54:13.000Z
Data Structure/Array Or Vector/Selection Sort/SolutionbyMashiyatHussain.cpp
rajethanm4/Programmers-Community
d16083eb0e84403159d999d4d1a8bbf652ca51f6
[ "MIT" ]
null
null
null
Data Structure/Array Or Vector/Selection Sort/SolutionbyMashiyatHussain.cpp
rajethanm4/Programmers-Community
d16083eb0e84403159d999d4d1a8bbf652ca51f6
[ "MIT" ]
null
null
null
#include <stdio.h> void main() { int n,c,d,position,swap; printf("Enter number of elements\n"); scanf("%d",&n); int array[n]; printf("Enter %d integers\n",n); for(c=0;c<n;c++) scanf("%d",&array[c]); for(c=0;c<(n-1);c++) { position=c; for(d=c+1;d<n;d++) { if(array[position]>...
20.066667
47
0.496678
rajethanm4
42d1d227a1da8c56599d64f181074e00aefff000
3,489
cpp
C++
Source/GUI/Submenus/Miscellaneous.cpp
HatchesPls/GrandTheftAutoV-Cheat
f06011362a0a8297439b260a670f5091118ef5de
[ "curl", "MIT" ]
31
2021-07-13T21:24:58.000Z
2022-03-31T13:04:38.000Z
Source/GUI/Submenus/Miscellaneous.cpp
HatchesPls/GrandTheftAutoV-Cheat
f06011362a0a8297439b260a670f5091118ef5de
[ "curl", "MIT" ]
12
2021-07-28T16:53:58.000Z
2022-03-31T22:51:03.000Z
Source/GUI/Submenus/Miscellaneous.cpp
HowYouDoinMate/GrandTheftAutoV-Cheat
1a345749fc676b7bf2c5cd4df63ed6c9b80ff377
[ "curl", "MIT" ]
12
2020-08-16T15:57:52.000Z
2021-06-23T13:08:53.000Z
#include "../Header/Cheat Functions/FiberMain.h" using namespace Cheat; int FakeWantedLevelInteger = 0; void GUI::Submenus::Miscellaneous() { GUI::Title("Miscellaneous"); GUI::MenuOption("Report Statistics", Submenus::ReportStatistics); GUI::MenuOption("Radio", Submenus::Radio); GUI::MenuOption("Extra-sensory Perc...
59.135593
203
0.753224
HatchesPls
42d280720e9c73dd149d2943ec20bca78a661570
3,034
hpp
C++
src/fenestra/Loop.hpp
cout/fenestra
b3424b427a1c8820a5586b09641e1589271fb567
[ "BSD-3-Clause" ]
2
2021-09-27T03:28:17.000Z
2022-01-06T13:38:24.000Z
src/fenestra/Loop.hpp
cout/fenestra
b3424b427a1c8820a5586b09641e1589271fb567
[ "BSD-3-Clause" ]
null
null
null
src/fenestra/Loop.hpp
cout/fenestra
b3424b427a1c8820a5586b09641e1589271fb567
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "Frontend.hpp" #include "Clock.hpp" #include "Context.hpp" #include "Probe.hpp" #include <utility> #include <map> namespace fenestra { class Loop { public: Loop(Frontend & frontend, Context & ctx) : frontend_(frontend) , ctx_(ctx) { } template <typename Fn> void step(Probe &...
33.711111
100
0.625577
cout
42d28464895e250b9b7be6bae0fb8ee1e48889fc
4,897
cpp
C++
src/BasicParser.cpp
cyh2020/stone_compiler_cplus
3b367628095cb3ea9d1a58ad74af87b6c853c3c0
[ "MIT" ]
null
null
null
src/BasicParser.cpp
cyh2020/stone_compiler_cplus
3b367628095cb3ea9d1a58ad74af87b6c853c3c0
[ "MIT" ]
null
null
null
src/BasicParser.cpp
cyh2020/stone_compiler_cplus
3b367628095cb3ea9d1a58ad74af87b6c853c3c0
[ "MIT" ]
null
null
null
#include "BasicParser.h" #include "Token.h" #include "Parser.h" #include "ParserDerived.h" #include <set> #include <string> #include "PrimaryExpr.h" #include "NumberLiteral.h" #include "Name.h" #include "StringLiteral.h" #include "NegativeExpr.h" #include "BinaryExpr.h" #include "BlockStmnt.h" #include "IfStmnt.h" #inc...
24.984694
76
0.608127
cyh2020
42d6c99ca88c7ff4c132ba052c98803db2c71ed7
2,005
hpp
C++
fma65816/include/binary/PluginAdapter.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
14
2018-01-25T10:31:05.000Z
2022-02-19T13:08:11.000Z
fma65816/include/binary/PluginAdapter.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
1
2020-12-24T10:10:28.000Z
2020-12-24T10:10:28.000Z
fma65816/include/binary/PluginAdapter.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
null
null
null
#ifndef __FMA65816_BINARY_PLUGINADAPTER_H__ #define __FMA65816_BINARY_PLUGINADAPTER_H__ #include <map> #include <fma/plugin/Plugin.hpp> #include <fma/plugin/BinaryGeneratorPluginAdapter.hpp> namespace FMA65816 { namespace binary { struct ByteCodeGenerator; typedef std::function<bool(const ByteCodeGenerator &generato...
33.416667
166
0.761097
BenjaminSchulte
42d78a381e6c0d931325e039c92a8dfeaab012d9
19,007
cpp
C++
Classes/GameScene.cpp
1994/AvoidTuitle
6d9a37e2bf799efb299ae415afd2b22f6f9280be
[ "MIT" ]
null
null
null
Classes/GameScene.cpp
1994/AvoidTuitle
6d9a37e2bf799efb299ae415afd2b22f6f9280be
[ "MIT" ]
null
null
null
Classes/GameScene.cpp
1994/AvoidTuitle
6d9a37e2bf799efb299ae415afd2b22f6f9280be
[ "MIT" ]
null
null
null
// // GameScene.cpp // seven // // Created by rimi on 15/6/10. // // #include "GameScene.h" #include "Star.h" #include "Bubble.h" #include "Shell.hpp" #include "iostream" #include "WangBa.hpp" #include "Util.h" #include "ui/CocosGUI.h" #include "Dici.hpp" #include "Music.hpp" #include "Boom.hpp" #include "EndLayer....
30.026856
152
0.578261
1994
42d843cca864ec3b534cc47e255e848d26f09106
1,917
cpp
C++
src/AstIOTypeAnalysis.cpp
iamsiddhant1005/souffle-new-adt
36aae85854b60d121bb7c7cd206f9caf2889bd7f
[ "UPL-1.0" ]
null
null
null
src/AstIOTypeAnalysis.cpp
iamsiddhant1005/souffle-new-adt
36aae85854b60d121bb7c7cd206f9caf2889bd7f
[ "UPL-1.0" ]
null
null
null
src/AstIOTypeAnalysis.cpp
iamsiddhant1005/souffle-new-adt
36aae85854b60d121bb7c7cd206f9caf2889bd7f
[ "UPL-1.0" ]
null
null
null
/* * Souffle - A Datalog Compiler * Copyright (c) 2019, The Souffle Developers. All rights reserved. * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ /*******************************************************...
34.232143
97
0.615023
iamsiddhant1005
42d9c61c0c74cfd48d8438b418e621773e36d366
4,532
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL_Components/OPENGL_COMPONENT_BINTREE_FACE_SCALAR_FIELD.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL_Components/OPENGL_COMPONENT_BINTREE_FACE_SCALAR_FIELD.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL_Components/OPENGL_COMPONENT_BINTREE_FACE_SCALAR_FIELD.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2010, Jon Gretarsson. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //##################################################################### #if !...
39.754386
173
0.754634
schinmayee
42df4dffc224f67c79a6465148f1fa16d71eeba0
569
hpp
C++
src/parser_nodes/poetic_decimal_digits_parser_node_pre.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
src/parser_nodes/poetic_decimal_digits_parser_node_pre.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
src/parser_nodes/poetic_decimal_digits_parser_node_pre.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
// // Copyright (c) 2020 Erwin Rol <erwin@erwinrol.com> // // SPDX-License-Identifier: MIT // #ifndef NEDERROCK_SRC_POETIC_DECIMAL_DIGITS_PARSER_NODE_PRE_HPP #define NEDERROCK_SRC_POETIC_DECIMAL_DIGITS_PARSER_NODE_PRE_HPP #include <memory> #include <vector> class Poetic_Decimal_Digits_Parser_Node; using Poetic_Deci...
29.947368
100
0.855888
lowlander
42e181aaa93c132286fbe57d22e471672e0ddea2
1,196
cc
C++
tests/test_1.cc
z8432k/feodorov-oop-lw-3
8ec4c2ae2439aa86f3562cd52117189ac2b29dc5
[ "MIT" ]
null
null
null
tests/test_1.cc
z8432k/feodorov-oop-lw-3
8ec4c2ae2439aa86f3562cd52117189ac2b29dc5
[ "MIT" ]
null
null
null
tests/test_1.cc
z8432k/feodorov-oop-lw-3
8ec4c2ae2439aa86f3562cd52117189ac2b29dc5
[ "MIT" ]
1
2021-01-23T14:16:23.000Z
2021-01-23T14:16:23.000Z
#include <iostream> #include <string> #include <ComplexNum.h> #include <complex> #include <cassert> using namespace std; int main(int argc, char** argv) { ComplexNum cn(3, 7); complex<double> cn_t {3., 7.}; ComplexNum cn2(10, 2); complex<double> cn2_t {10., 2.}; cout << endl; cout << "First...
22.566038
62
0.550167
z8432k
42e2bd604d2d4f5d551dc55fdd83b6b2fb7faad6
927
cpp
C++
tests/android/app/src/main/cpp/log_buffer.cpp
ondesly/audio_engine
37e68f9e5be3f36b77aac6574e90d2150aef0f6d
[ "BSD-2-Clause" ]
null
null
null
tests/android/app/src/main/cpp/log_buffer.cpp
ondesly/audio_engine
37e68f9e5be3f36b77aac6574e90d2150aef0f6d
[ "BSD-2-Clause" ]
null
null
null
tests/android/app/src/main/cpp/log_buffer.cpp
ondesly/audio_engine
37e68f9e5be3f36b77aac6574e90d2150aef0f6d
[ "BSD-2-Clause" ]
null
null
null
// // log_buffer.cpp // audio_engine // // Created by Dmitrii Torkhov <dmitriitorkhov@gmail.com> on 19.03.2021. // Copyright © 2021 Dmitrii Torkhov. All rights reserved. // #include <streambuf> #include <android/log.h> #include "log_buffer.h" namespace { const char *c_tag = "maw"; } oo::log_buffer::log_b...
22.071429
76
0.607335
ondesly
42e41a173064c32d50d70ac89c00328515cb6331
4,692
hxx
C++
main/toolkit/inc/toolkit/awt/vclxspinbutton.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/toolkit/inc/toolkit/awt/vclxspinbutton.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/toolkit/inc/toolkit/awt/vclxspinbutton.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
48.371134
201
0.617008
Grosskopf
42e51682acd0fe34cb169b0ff1e2885529fce2ed
4,877
cpp
C++
WorldEditor/WorldView.cpp
madeso/infection-survivors
654fc5405dcecccaa7e54f1fdbfec379e0c185da
[ "Zlib" ]
null
null
null
WorldEditor/WorldView.cpp
madeso/infection-survivors
654fc5405dcecccaa7e54f1fdbfec379e0c185da
[ "Zlib" ]
null
null
null
WorldEditor/WorldView.cpp
madeso/infection-survivors
654fc5405dcecccaa7e54f1fdbfec379e0c185da
[ "Zlib" ]
null
null
null
#include "WorldView.hpp" #include "World.hpp" #include "Tool.hpp" #include "MainFrame.hpp" #include <sstream> WorldView::WorldView(wxPanel* parent, MainFrame *iMainFrame, int *gl_attrib) : wxGLCanvas(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE, _T("WorldView"), gl_attrib), mMain(iM...
25.401042
139
0.671519
madeso
42e6389a685752527efdbed31f762e7f4631e386
1,839
cpp
C++
src/http/HttpClient.cpp
SHIINASAMA/MyEngine
be71642d4b23877d156505369312fcb3629d1924
[ "MIT" ]
null
null
null
src/http/HttpClient.cpp
SHIINASAMA/MyEngine
be71642d4b23877d156505369312fcb3629d1924
[ "MIT" ]
null
null
null
src/http/HttpClient.cpp
SHIINASAMA/MyEngine
be71642d4b23877d156505369312fcb3629d1924
[ "MIT" ]
null
null
null
/** * @file HttpClient.cpp * @author kaoru * @date 2021.8.9 * @brief Http 客户端实现 * @version 0.1 */ #include <http/HttpClient.h> #include <http/HttpParser.h> #include <sstream> #include <utility> using namespace MyEngine; bool MyEngine::HttpClient::Get(const string &ipaddress, unsigned short port, const HttpReque...
30.65
148
0.610658
SHIINASAMA
42e8144748b95314e8f21246c6b5acdafa9900a2
4,126
cpp
C++
src/Engine/BoxCollider.cpp
kevinmkchin/ADK
46e0e18e359ebcd4a0ccef36dc9f5d5280858a0f
[ "MIT" ]
15
2021-01-24T23:04:33.000Z
2022-01-12T02:04:50.000Z
src/Engine/BoxCollider.cpp
kevinmkchin/ADK
46e0e18e359ebcd4a0ccef36dc9f5d5280858a0f
[ "MIT" ]
9
2021-02-03T09:08:47.000Z
2021-05-16T20:06:17.000Z
src/Engine/BoxCollider.cpp
kevinmkchin/ADK
46e0e18e359ebcd4a0ccef36dc9f5d5280858a0f
[ "MIT" ]
2
2021-02-26T19:07:39.000Z
2021-08-22T05:15:46.000Z
#include "BoxCollider.h" #include <cassert> #include <cstdlib> BoxCollider::BoxCollider() { offset_x = 0; offset_y = 0; left = 0; top = 0; width = 0; height = 0; } BoxCollider::BoxCollider(float InLeft, float InTop, float InWidth, float InHeight) { offset_x = 0; offset_y = 0; left = InLeft; top = InTop; wi...
19.741627
116
0.663597
kevinmkchin
42eb87bc8f1cfecc71113ef2f638a0a9187acfeb
16,331
cpp
C++
src/databases/Dyna3D/MaterialProperties.cpp
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
226
2018-12-29T01:13:49.000Z
2022-03-30T19:16:31.000Z
src/databases/Dyna3D/MaterialProperties.cpp
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
5,100
2019-01-14T18:19:25.000Z
2022-03-31T23:08:36.000Z
src/databases/Dyna3D/MaterialProperties.cpp
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
84
2019-01-24T17:41:50.000Z
2022-03-10T10:01:46.000Z
#include <MaterialProperties.h> #include <cstring> #include <cstdio> // **************************************************************************** // Method: MaterialProperties::MaterialProperties // // Purpose: // Constructor // // Programmer: Brad Whitlock // Creation: Mon Mar 9 16:04:53 PDT 2009 // // Modif...
28.550699
108
0.482457
visit-dav
42ebbf10bf88d3102bf9258a91c1492eec12df0a
746
cpp
C++
src/problems/101-150/145/problem145.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
1
2019-12-25T10:17:15.000Z
2019-12-25T10:17:15.000Z
src/problems/101-150/145/problem145.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
src/problems/101-150/145/problem145.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
// // Created by Alex Beccaro on 16/01/2020. // #include "problem145.hpp" #include <generics.hpp> using generics::int_pow; namespace problems { uint32_t problem145::solve(uint32_t ub_exp) { uint32_t res = 0; for (uint32_t e = 2; e <= ub_exp; e++) { uint32_t mod = e % 4; ...
20.162162
77
0.395442
abeccaro
42ecaf0e56bd5b02ae8771a1b000bff0ff932233
1,067
hpp
C++
Tut11/Pickable.hpp
vrum/rlTut
0907b357c51a0b983ff8812f5c4887ecb185c9fa
[ "MIT" ]
null
null
null
Tut11/Pickable.hpp
vrum/rlTut
0907b357c51a0b983ff8812f5c4887ecb185c9fa
[ "MIT" ]
null
null
null
Tut11/Pickable.hpp
vrum/rlTut
0907b357c51a0b983ff8812f5c4887ecb185c9fa
[ "MIT" ]
null
null
null
class Pickable : public Persistent { public : bool pick(Actor *owner, Actor *wearer); void drop(Actor *owner, Actor *wearer); virtual bool use(Actor *owner, Actor *wearer); static Pickable *create (TCODZip &zip); protected : enum PickableType { HEALER,LIGHTNING_BOLT,CONFUSER,FIREBALL }; }; class Healer : publi...
21.77551
47
0.713215
vrum
42edb46d60dbb5d26f9f9236512ea5f7bea6385c
21
cpp
C++
Solve/Tree/AvlTree.cpp
nolmegamelab/Learn
29146fc1ba2b3fddb8c85e256362e112b43173fe
[ "MIT" ]
null
null
null
Solve/Tree/AvlTree.cpp
nolmegamelab/Learn
29146fc1ba2b3fddb8c85e256362e112b43173fe
[ "MIT" ]
null
null
null
Solve/Tree/AvlTree.cpp
nolmegamelab/Learn
29146fc1ba2b3fddb8c85e256362e112b43173fe
[ "MIT" ]
null
null
null
#include <functional>
21
21
0.809524
nolmegamelab
42eddc555fa9a5d221c47d3cc203c23b41bad4c7
10,000
cpp
C++
main/jim-and-his-lan-party/jim-and-his-lan-party.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/jim-and-his-lan-party/jim-and-his-lan-party.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/jim-and-his-lan-party/jim-and-his-lan-party.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif #ifdef __MINGW32__ #define __USE_MINGW_ANSI_STDIO 1 #endif #include <algorithm> #include <cstdio> #include <iterator> #include <memory> #include <unordered_map> #include <utility> #include <vector> namespace { using std::size_t; class DisjointPlayerSets...
33.0033
80
0.5881
EliahKagan
0cd493232f23e85f201b21cd253bbad0beaa80e9
1,107
cpp
C++
go_fish.cpp
bolym/C-GoFish
88bc0301d7915c039757528a288f33e4c4d1bb97
[ "MIT" ]
1
2021-03-10T01:10:01.000Z
2021-03-10T01:10:01.000Z
go_fish.cpp
bolym/C-GoFish
88bc0301d7915c039757528a288f33e4c4d1bb97
[ "MIT" ]
null
null
null
go_fish.cpp
bolym/C-GoFish
88bc0301d7915c039757528a288f33e4c4d1bb97
[ "MIT" ]
null
null
null
/****************************************************************** * Program: go_fish.cpp * Author: Michael Boly * Date: 1/30/2019 * Description: Plays Go Fish by the rules * Input: The user chooses an index of the cards in their hand to request from the computer * Output: A wholesome game of Go...
35.709677
75
0.474255
bolym
0cd904b424d3abd62eb663746fbcd2abdbf9d888
6,237
cpp
C++
src/D3D9EXWrapper/ID3D9EXWrapper.cpp
GrimFlash/BBCF-Improvement-Mod-GGPO
9482ead2edd70714f427d3a5683d17b19ab8ac2e
[ "MIT" ]
48
2020-06-09T22:53:52.000Z
2022-01-02T12:44:33.000Z
src/D3D9EXWrapper/ID3D9EXWrapper.cpp
GrimFlash/BBCF-Improvement-Mod-GGPO
9482ead2edd70714f427d3a5683d17b19ab8ac2e
[ "MIT" ]
2
2020-05-27T21:25:49.000Z
2020-05-27T23:56:56.000Z
src/D3D9EXWrapper/ID3D9EXWrapper.cpp
GrimFlash/BBCF-Improvement-Mod-GGPO
9482ead2edd70714f427d3a5683d17b19ab8ac2e
[ "MIT" ]
12
2020-06-17T20:44:17.000Z
2022-01-04T18:15:27.000Z
#include "ID3D9EXWrapper.h" #include "ID3D9EXWrapper_Device.h" #include "Core/logger.h" Direct3D9ExWrapper::Direct3D9ExWrapper(IDirect3D9Ex **ppIDirect3D9Ex) { LOG(1, "cDirect3D9ExWrapper\n"); Direct3D9Ex = *ppIDirect3D9Ex; *ppIDirect3D9Ex = this; } Direct3D9ExWrapper::~Direct3D9ExWrapper() {} HRESULT APIENTRY...
35.4375
266
0.802629
GrimFlash
0cd9398fde86456988c5a8c14b855202799d773d
974
cpp
C++
LeetCode/0416. Partition Equal Subset Sum/solution.cpp
InnoFang/oh-my-algorithms
f559dba371ce725a926725ad28d5e1c2facd0ab2
[ "Apache-2.0" ]
1
2017-03-31T15:24:01.000Z
2017-03-31T15:24:01.000Z
LeetCode/0416. Partition Equal Subset Sum/solution.cpp
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
LeetCode/0416. Partition Equal Subset Sum/solution.cpp
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
/** * 117 / 117 test cases passed. * Runtime: 168 ms * Memory Usage: 11.7 MB */ class Solution { public: bool canPartition(vector<int>& nums) { int n = nums.size(); if (n < 2) return false; int sum = 0, maxn = 0; for (int i = 0; i < n; ++ i) { sum += nums[i]; ...
27.828571
66
0.377823
InnoFang
0cda6397186e9a29a43c80c5790be10a0d1d03aa
3,480
cpp
C++
Practice/2018/2018.4.4/BZOJ1558.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.4.4/BZOJ1558.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.4.4/BZOJ1558.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) #define lson (now<<1) #define rson (lson|1) #define MIN(a,b,c) min(a,min(b,c)) const int maxN=101000; const int inf=2147483647; class Data...
22.597403
133
0.57931
SYCstudio
0cdaad5be54819fa61817b5a794187c35d790328
2,910
hpp
C++
tests/unit/coherence/util/filter/LikeFilterTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
tests/unit/coherence/util/filter/LikeFilterTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
tests/unit/coherence/util/filter/LikeFilterTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "cxxtest/TestSuite.h" #include "coherence/lang.ns" #include "coherence/util/extractor/IdentityExtractor.hpp" #include "coherence/util...
37.307692
140
0.558076
chpatel3
0cdc26208bc53b78b98ca4d69d5bd75dfab87216
424
hpp
C++
src/net.hpp
harry830622/fiduccia-mattheyses-partitioning
0d4960f95f10cd83bd36504fd57ceeab43b0eed0
[ "MIT" ]
null
null
null
src/net.hpp
harry830622/fiduccia-mattheyses-partitioning
0d4960f95f10cd83bd36504fd57ceeab43b0eed0
[ "MIT" ]
null
null
null
src/net.hpp
harry830622/fiduccia-mattheyses-partitioning
0d4960f95f10cd83bd36504fd57ceeab43b0eed0
[ "MIT" ]
null
null
null
#ifndef NET_HPP #define NET_HPP #include <iostream> #include <string> #include <vector> class Net { public: Net(const std::string& name); void Print(std::ostream& os = std::cout, int num_spaces = 0) const; const std::string& Name() const; int NumCells() const; const std::vector<int>& CellIds() const; ...
16.307692
69
0.681604
harry830622
0cdc682910ad6c68c751223b1cfae141a6d31cfa
2,998
cpp
C++
mp/src/game/server/Mod/SF194_Disposer.cpp
hekar/luminousforts-2013
09f07df4def93fa0d774721375a6c7c9da26d71f
[ "Unlicense" ]
7
2019-02-04T01:17:26.000Z
2022-02-26T21:36:34.000Z
mp/src/game/server/Mod/SF194_Disposer.cpp
hekar/luminousforts-2013
09f07df4def93fa0d774721375a6c7c9da26d71f
[ "Unlicense" ]
11
2016-05-06T22:44:46.000Z
2016-05-06T22:45:03.000Z
mp/src/game/server/Mod/SF194_Disposer.cpp
hekar/luminousforts-2013
09f07df4def93fa0d774721375a6c7c9da26d71f
[ "Unlicense" ]
2
2016-06-28T11:34:53.000Z
2017-04-01T18:08:46.000Z
/* ***** BEGIN LICENSE BLOCK ***** Version: MPL 1.1/LGPL 2.1/GPL 2.0 The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with ... for the specific language governing rights and limitations under the License. The Original Code...
23.061538
76
0.715477
hekar
0ce4328248d36a2d78fba3618cc5940317da0c10
16,729
cpp
C++
handlers/videohandler.cpp
Feqzz/qZoom-Client
ac68be4a10a1db66dcf276ee881d5fa093e5f718
[ "MIT" ]
3
2020-08-24T09:03:35.000Z
2020-11-18T17:28:24.000Z
handlers/videohandler.cpp
Stykk-Gruppen/qZoom-Client
ac68be4a10a1db66dcf276ee881d5fa093e5f718
[ "MIT" ]
1
2020-08-24T13:59:24.000Z
2020-08-24T13:59:24.000Z
handlers/videohandler.cpp
Feqzz/qZoom-Client
ac68be4a10a1db66dcf276ee881d5fa093e5f718
[ "MIT" ]
1
2021-09-27T15:33:25.000Z
2021-09-27T15:33:25.000Z
#include "videohandler.h" #define STREAM_PIX_FMT AV_PIX_FMT_YUV420P /* default pix_fmt */ /** * @brief VideoHandler::VideoHandler * @param cDeviceName * @param _writeLock * @param _time * @param imageHandler * @param _socketHandler * @param bufferSize * @param tcpSocketHandler * @param screenShare * @par...
32.295367
204
0.612768
Feqzz
0ce54717bb74591c682d27c6cb4398cac241e933
5,748
cpp
C++
src/c1001.cpp
lua511/hello-acm
a337d7c8c3c8384745ec8e2cf41e5cecb268c7be
[ "MIT" ]
null
null
null
src/c1001.cpp
lua511/hello-acm
a337d7c8c3c8384745ec8e2cf41e5cecb268c7be
[ "MIT" ]
null
null
null
src/c1001.cpp
lua511/hello-acm
a337d7c8c3c8384745ec8e2cf41e5cecb268c7be
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <vector> using namespace std; typedef vector<int> int_vector; string tostring(int_vector iv) { string val; for(int_vector::const_iterator iter = iv.begin(); iter != iv.end(); ++iter) { val.push_back((char)(*iter + '0')); } ret...
19.096346
88
0.388135
lua511
0ce580f0e46cdc3c762600f0c34a3e98c63b9817
6,350
cc
C++
Facebook Hackercup/2021/Round1/C.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
1
2021-12-08T08:58:43.000Z
2021-12-08T08:58:43.000Z
Facebook Hackercup/2021/Round1/C.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
Facebook Hackercup/2021/Round1/C.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
/*============================================================================= # Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/ # FileName: C.cc # Description: Facebook Hacker Cup 2021 - Round1 - C =============================================================================*/ #in...
27.136752
79
0.487559
mjenrungrot
0ce8c6d7568e29ca4f9fbd1d974f0cf8a272d951
13,975
cpp
C++
source/gui/daquiri.cpp
ess-dmsc/daquiri
f218d9a62cdf568b4a52454f1e35d87ec262391c
[ "BSD-2-Clause" ]
2
2018-03-25T05:31:44.000Z
2019-07-25T05:17:51.000Z
source/gui/daquiri.cpp
ess-dmsc/daquiri
f218d9a62cdf568b4a52454f1e35d87ec262391c
[ "BSD-2-Clause" ]
158
2017-11-16T09:20:24.000Z
2022-03-28T11:39:43.000Z
source/gui/daquiri.cpp
ess-dmsc/daquiri
f218d9a62cdf568b4a52454f1e35d87ec262391c
[ "BSD-2-Clause" ]
2
2018-09-20T08:29:21.000Z
2020-08-04T18:34:50.000Z
#include <gui/daquiri.h> #include <daquiri_autogen/include/ui_daquiri.h> #include <gui/Profiles.h> #include <gui/daq/ListModeForm.h> #include <gui/daq/ProjectForm.h> #include <gui/widgets/TabCloseButton.h> #include <gui/widgets/QFileExtensions.h> #include <gui/widgets/qt_util.h> #include <QSettings> #inclu...
31.263982
108
0.631914
ess-dmsc
0ceb21ac1adc5fe533e60dca8836e5c5e7d08a4b
9,580
cpp
C++
src/prod/src/Reliability/Failover/fm/ServiceFactory.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
1
2018-03-15T02:09:21.000Z
2018-03-15T02:09:21.000Z
src/prod/src/Reliability/Failover/fm/ServiceFactory.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
src/prod/src/Reliability/Failover/fm/ServiceFactory.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
33.034483
175
0.679645
AnthonyM
0cec009777f38e317ba1a41db7983cd1ed8f8ed3
6,418
cxx
C++
lassy++/src/LaShellShellCombine.cxx
alonsoJASL/lassy
10aefa4d6b3b9d859e9fc1cd1302b06163cc24d1
[ "Apache-2.0" ]
null
null
null
lassy++/src/LaShellShellCombine.cxx
alonsoJASL/lassy
10aefa4d6b3b9d859e9fc1cd1302b06163cc24d1
[ "Apache-2.0" ]
null
null
null
lassy++/src/LaShellShellCombine.cxx
alonsoJASL/lassy
10aefa4d6b3b9d859e9fc1cd1302b06163cc24d1
[ "Apache-2.0" ]
null
null
null
#define HAS_VTK 1 /* The Circle class (All source codes in one file) (CircleAIO.cpp) */ #include <iostream> // using IO functions #include <string> // using string #include "../include/LaShellShellCombine.h" using namespace std; LaShellShellCombine::LaShellShellCombine() { _output_la = new LaShell(); _ove...
31.460784
147
0.658928
alonsoJASL
0cec2b95a7f8a839f3908729413a15dff8e8e029
611
cpp
C++
sources/Adapters/W32/Midi/W32MidiService.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
66
2015-01-29T09:12:51.000Z
2022-03-23T19:20:49.000Z
sources/Adapters/W32/Midi/W32MidiService.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
18
2015-08-19T19:50:31.000Z
2021-10-12T02:33:09.000Z
sources/Adapters/W32/Midi/W32MidiService.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
20
2015-08-19T00:46:57.000Z
2022-03-14T13:44:49.000Z
#include "W32MidiService.h" #include "W32MidiDEvice.h" #include "System/io/Trace.h" W32MidiService::W32MidiService() { } ; W32MidiService::~W32MidiService() { } ; void W32MidiService::buildDriverList() {// Here we just loop over existing Midi out and create a midi device for each of them. for (unsigned int i=0;i<...
23.5
126
0.698854
haiko21
0cf0083aa44fe2ba3766871eb0485590ba2126bd
1,009
hpp
C++
hld/system/hld_system_chimera.hpp
brandonbraun653/Thor_STM32
2aaba95728936b2d5784e99b96c208a94e3cb8df
[ "MIT" ]
null
null
null
hld/system/hld_system_chimera.hpp
brandonbraun653/Thor_STM32
2aaba95728936b2d5784e99b96c208a94e3cb8df
[ "MIT" ]
36
2019-03-24T14:43:25.000Z
2021-01-11T00:05:30.000Z
hld/system/hld_system_chimera.hpp
brandonbraun653/Thor
46e022f1791c8644955135c630fdd12a4296e44d
[ "MIT" ]
null
null
null
/******************************************************************************** * File Name: * hld_system_chimera.hpp * * Description: * Chimera hooks into Thor System * * 2020 | Brandon Braun | brandonbraun653@gmail.com *******************************************************************************/...
29.676471
81
0.621407
brandonbraun653
0cf128ec565d8b6a7480772b9264c76e4c2be9ed
8,654
cpp
C++
dbms/src/DataStreams/RemoteBlockInputStream.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
1
2017-01-17T17:29:05.000Z
2017-01-17T17:29:05.000Z
dbms/src/DataStreams/RemoteBlockInputStream.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
1
2017-01-13T21:29:36.000Z
2017-01-16T18:29:08.000Z
dbms/src/DataStreams/RemoteBlockInputStream.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
null
null
null
#include <DB/DataStreams/RemoteBlockInputStream.h> #include <DB/DataStreams/OneBlockInputStream.h> #include <DB/Common/VirtualColumnUtils.h> #include <DB/Common/NetException.h> namespace DB { namespace ErrorCodes { extern const int UNKNOWN_PACKET_FROM_SERVER; extern const int LOGICAL_ERROR; } RemoteBlockInputStre...
28.943144
126
0.747053
rudneff
0cf6b74fca7c1adb038d24ab8b39b50f94811e0c
4,183
cpp
C++
lib/Widgets/widget.cpp
tomfleet/M5PaperUI
cad8ccbbdf2273865eb9cbec70f41f87eca3fadd
[ "Apache-2.0" ]
24
2021-02-25T21:17:22.000Z
2022-03-01T19:01:13.000Z
lib/Widgets/widget.cpp
sthagen/M5PaperUI
05025433054d4e59ce8ec01eecbe44ac074b08ec
[ "Apache-2.0" ]
null
null
null
lib/Widgets/widget.cpp
sthagen/M5PaperUI
05025433054d4e59ce8ec01eecbe44ac074b08ec
[ "Apache-2.0" ]
10
2021-02-27T21:26:46.000Z
2022-03-13T12:59:40.000Z
#include "widget.hpp" void Widget::Init() { // Create a new canvas for this on screen component. canvas_->createCanvas(width_, height_); log_d("Initialize widget %s", name_.c_str()); // Initialize the view to be dirty to draw it the first time. view_dirty_ = true; int16_t x = has_own_canvas_ ? 0 : x_; in...
38.376147
80
0.572795
tomfleet
0cf8b8fe6861034f7a97eeb78fcb465b7f53e2b4
4,075
hpp
C++
src/Utils/Logger/ILogger.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
1
2019-06-14T08:24:17.000Z
2019-06-14T08:24:17.000Z
src/Utils/Logger/ILogger.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
src/Utils/Logger/ILogger.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
#ifndef _DEF_OMEGLOND3D_ILOGGER_HPP #define _DEF_OMEGLOND3D_ILOGGER_HPP #include "../Ptr/SmartPtr.hpp" #include <string> #include <sstream> #include <map> #include <iostream> namespace OMGL3D { namespace UTILS { enum LoggerType { OMGL_LOGGER_DEBUG, OMGL_LOGGER_STANDART, ...
32.34127
94
0.340859
Sebajuste