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
9535f99c5aea44424a4d81fdec17454840a5d8cb
16,723
cpp
C++
clang/unittests/Analysis/FlowSensitive/MultiVarConstantPropagationTest.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
2
2018-01-16T20:08:24.000Z
2018-01-31T17:05:32.000Z
clang/unittests/Analysis/FlowSensitive/MultiVarConstantPropagationTest.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
18
2022-03-08T13:46:16.000Z
2022-03-23T15:30:29.000Z
clang/unittests/Analysis/FlowSensitive/MultiVarConstantPropagationTest.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
//===- unittests/Analysis/FlowSensitive/SingelVarConstantPropagation.cpp --===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
34.695021
80
0.550619
LaudateCorpus1
953c7e6d5196d4da6d09306a987e3b969dab7330
5,635
cpp
C++
Gems/PhysX/Code/Source/Pipeline/PrimitiveShapeFitter/Utils.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/PhysX/Code/Source/Pipeline/PrimitiveShapeFitter/Utils.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/PhysX/Code/Source/Pipeline/PrimitiveShapeFitter/Utils.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <PhysX_precompiled.h> #include <AzCore/Math/MathUtils.h> #include <AzCore/Math/Matrix3x3.h...
28.175
158
0.526176
aaarsene
953c81db814c355d05cd288567701fae3eed1370
2,943
cpp
C++
snowtest/remote/extractpoint.cpp
jrising/hydronet
c6d7507e658a83fa3d6ddb5550c0a2489ad080cf
[ "MIT" ]
null
null
null
snowtest/remote/extractpoint.cpp
jrising/hydronet
c6d7507e658a83fa3d6ddb5550c0a2489ad080cf
[ "MIT" ]
null
null
null
snowtest/remote/extractpoint.cpp
jrising/hydronet
c6d7507e658a83fa3d6ddb5550c0a2489ad080cf
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <datastr/TimeSeries.h> #include <datastr/DividedRange.h> #include <datastr/FileFormats.h> #include <measure/Inds.h> #include <datastr/GeographicMap.h> #include <datastr/DelayedPartialConfidenceTemporalGeographicMap.h> #include <datastr/PartialConfidenceTemporalGeographicM...
56.596154
174
0.488277
jrising
95422c9e7bdf98658f44e29ca7208534c93cb106
4,314
cpp
C++
src/qt/qtbase/src/sql/doc/snippets/code/src_sql_kernel_qsqldatabase.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/src/sql/doc/snippets/code/src_sql_kernel_qsqldatabase.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/sql/doc/snippets/code/src_sql_kernel_qsqldatabase.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the documentation of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BSD license as f...
31.720588
152
0.677793
power-electro
9542867f11b893d6483e1abe821d62884990acfd
8,466
hpp
C++
tracing/api/sys/trace/Logger.hpp
dterletskiy/carpc
c98d84e5bce69fb30a0f34e7b6cd82b4c98ba9b5
[ "MIT" ]
6
2022-03-24T15:40:03.000Z
2022-03-30T09:40:20.000Z
tracing/api/sys/trace/Logger.hpp
dterletskiy/carpc
c98d84e5bce69fb30a0f34e7b6cd82b4c98ba9b5
[ "MIT" ]
7
2022-03-24T18:53:52.000Z
2022-03-30T10:15:50.000Z
tracing/api/sys/trace/Logger.hpp
dterletskiy/carpc
c98d84e5bce69fb30a0f34e7b6cd82b4c98ba9b5
[ "MIT" ]
1
2022-03-20T21:22:09.000Z
2022-03-20T21:22:09.000Z
#pragma once #include <string.h> #include <map> #include "api/sys/trace/Types.hpp" namespace carpc::trace { const std::size_t s_buffer_size = 2 * 1024; const char* const s_build_msg_error = "----- build message error -----\n"; const std::size_t s_build_msg_error_len = strlen( s_build_msg_error ); cl...
33.330709
132
0.502599
dterletskiy
95443c4de09f8a89e341dfa094d10714a6c3b863
9,767
cpp
C++
GameEngine/ResourceManager.cpp
BenMarshall98/Game-Engine-Uni
cb2e0a75953db0960e3d58a054eb9a6e213ae12a
[ "MIT" ]
null
null
null
GameEngine/ResourceManager.cpp
BenMarshall98/Game-Engine-Uni
cb2e0a75953db0960e3d58a054eb9a6e213ae12a
[ "MIT" ]
null
null
null
GameEngine/ResourceManager.cpp
BenMarshall98/Game-Engine-Uni
cb2e0a75953db0960e3d58a054eb9a6e213ae12a
[ "MIT" ]
null
null
null
#define NOMINMAX #include "ResourceManager.h" #include "ModelLoader.h" #include "AudioManager.h" #include <algorithm> #include "RenderManager.h" std::vector<std::string> ResourceManager::usedModels; std::vector<std::string> ResourceManager::usedTextures; std::vector<std::string> ResourceManager::usedShaders; std::vec...
22.661253
173
0.674516
BenMarshall98
95446e064c181e163d487889a847d6b6795e482a
10,654
cpp
C++
project1-tetris/project1-tetris/Source/ScreenDiffSelect.cpp
lSara-MM/project1-tetris
ab7bad2ee97a168eb547df1c1ad0419b265293e8
[ "MIT" ]
null
null
null
project1-tetris/project1-tetris/Source/ScreenDiffSelect.cpp
lSara-MM/project1-tetris
ab7bad2ee97a168eb547df1c1ad0419b265293e8
[ "MIT" ]
null
null
null
project1-tetris/project1-tetris/Source/ScreenDiffSelect.cpp
lSara-MM/project1-tetris
ab7bad2ee97a168eb547df1c1ad0419b265293e8
[ "MIT" ]
null
null
null
#include "ScreenDiffSelect.h" #include "Application.h" #include "ModuleTextures.h" #include "ModuleRender.h" #include "ModuleAudio.h" #include "ModuleInput.h" #include "ModuleFadeToBlack.h" #include "ModuleParticles.h" #include <iostream> using namespace std; uint Time = 0; uint delta_Time = 0; uint last_TickTime =...
16.416025
83
0.61667
lSara-MM
954623115fb0ddd595dc1d9579026aa66c136ca0
402
cpp
C++
Object Oriented Programming Concepts/CPP OOPS 2 - Classes, Data Members and Functions.cpp
sgpritam/cbcpp
192b55d8d6930091d1ceb883f6dccf06735a391f
[ "MIT" ]
2
2019-11-11T17:16:52.000Z
2020-10-04T06:05:49.000Z
Object Oriented Programming Concepts/CPP OOPS 2 - Classes, Data Members and Functions.cpp
codedevmdu/cbcpp
85c94d81d6e491f67e3cc1ea12534065b7cde16e
[ "MIT" ]
null
null
null
Object Oriented Programming Concepts/CPP OOPS 2 - Classes, Data Members and Functions.cpp
codedevmdu/cbcpp
85c94d81d6e491f67e3cc1ea12534065b7cde16e
[ "MIT" ]
4
2019-10-24T16:58:10.000Z
2020-10-04T06:05:47.000Z
#include<iostream> using namespace std; class Car { public: int price; int model_no; char name[20]; void start() { cout<<"Grr... starting the car "<<name<<endl; } }; int main() { Car C; //Initialization C.price=500; C.model_no=1001; C.name[0]='B';...
14.888889
54
0.482587
sgpritam
954817ef00825813b9ec30d4471c2531bd2f4848
6,469
cpp
C++
env_brdf.cpp
hypernewbie/pbr_baker
2664582786ef4facdac89d56d94f831175deac7f
[ "Unlicense" ]
14
2019-10-15T08:42:19.000Z
2021-01-05T01:56:27.000Z
env_brdf.cpp
vinjn/pbr_baker
2664582786ef4facdac89d56d94f831175deac7f
[ "Unlicense" ]
null
null
null
env_brdf.cpp
vinjn/pbr_baker
2664582786ef4facdac89d56d94f831175deac7f
[ "Unlicense" ]
2
2020-12-31T13:42:28.000Z
2022-02-23T06:09:29.000Z
/* Copyright 2019 Xi Chen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
37.830409
215
0.602566
hypernewbie
954d1da60ca9f10554d66e0951ebc7fcfc6c47d8
42,218
cpp
C++
logdevice/common/test/ConfigurationTest.cpp
YangKian/LogDevice
e5c2168c11e9de867a1bcf519f95016e1c879b5c
[ "BSD-3-Clause" ]
1,831
2018-09-12T15:41:52.000Z
2022-01-05T02:38:03.000Z
logdevice/common/test/ConfigurationTest.cpp
YangKian/LogDevice
e5c2168c11e9de867a1bcf519f95016e1c879b5c
[ "BSD-3-Clause" ]
183
2018-09-12T16:14:59.000Z
2021-12-07T15:49:43.000Z
logdevice/common/test/ConfigurationTest.cpp
YangKian/LogDevice
e5c2168c11e9de867a1bcf519f95016e1c879b5c
[ "BSD-3-Clause" ]
228
2018-09-12T15:41:51.000Z
2022-01-05T08:12:09.000Z
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "logdevice/common/configuration/Configuration.h" #include <memory> #include <...
37.196476
80
0.693496
YangKian
954e526da1a6c3d75dd2a3ef48d0c3b6a63fd761
2,526
cpp
C++
case-studies/PoDoFo/podofo/tools/podofouncompress/podofouncompress.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
podofo-0.9.6/tools/podofouncompress/podofouncompress.cpp
zia95/pdf-toolkit-console-
369d73f66f7d4c74a252e83d200acbb792a6b8d5
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
podofo-0.9.6/tools/podofouncompress/podofouncompress.cpp
zia95/pdf-toolkit-console-
369d73f66f7d4c74a252e83d200acbb792a6b8d5
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
/*************************************************************************** * Copyright (C) 2005 by Dominik Seichter * * domseichter@web.de * * * * This pr...
33.68
105
0.495249
satya-das
9555a3fb0a656ee3e2d01b117a51719ca0f19483
4,294
cpp
C++
inetcore/connectionwizard/icwconn/billopt.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/connectionwizard/icwconn/billopt.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/connectionwizard/icwconn/billopt.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//********************************************************************* //* Microsoft Windows ** //* Copyright(c) Microsoft Corp., 1994 ** //********************************************************************* // // BILLOPT.CPP - Func...
33.286822
136
0.545645
npocmaka
9555dd25ddadf76ef9a4e41b8add0f407c7fc158
104,664
hpp
C++
hpx/preprocessed/apply_10.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/preprocessed/apply_10.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/preprocessed/apply_10.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2013 Hartmut Kaiser // Copyright (c) 2012-2013 Thomas Heller // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // This file has been automatically generated using the Boost.Wave tool. // Do n...
451.137931
19,599
0.678849
andreasbuhr
95589cd23a24a500ce6e8b4060128928696eedb6
89,701
cpp
C++
RotateIt/exiv2/src/basicio.cpp
Vitalii17/RotateIt
621089c334e740b99bc7686d5724b79655adfbad
[ "MIT" ]
1
2017-02-10T16:39:32.000Z
2017-02-10T16:39:32.000Z
RotateIt/exiv2/src/basicio.cpp
vitalii17/RotateIt
621089c334e740b99bc7686d5724b79655adfbad
[ "MIT" ]
null
null
null
RotateIt/exiv2/src/basicio.cpp
vitalii17/RotateIt
621089c334e740b99bc7686d5724b79655adfbad
[ "MIT" ]
null
null
null
// ***************************************************************** -*- C++ -*- /* * Copyright (C) 2004-2017 Andreas Huggel <ahuggel@gmx.net> * * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public...
33.977652
163
0.530206
Vitalii17
955e642c5037f566bf8e6c34c4062e4dba681223
1,118
cpp
C++
algorithms/cpp/Problems 101-200/_132_PalindromicPartitioningII.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 101-200/_132_PalindromicPartitioningII.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 101-200/_132_PalindromicPartitioningII.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
/* Source - https://leetcode.com/problems/palindrome-partitioning-ii/ Author - Shivam Arora */ #include <bits/stdc++.h> using namespace std; int minCut(string s) { int n = s.length(); bool pre[n][n]; memset(pre, false, sizeof(pre)); for(int k = 0; k < n; k++) { for(int i = 0, j = k; j <...
21.5
94
0.392665
shivamacs
9560a707872099649b187238b06465d99aae547e
5,616
hpp
C++
SocketAdapter.hpp
Sologala/socket_cvMat
d3ffa4e68badb29f168f955261671ba316ed586b
[ "BSD-2-Clause" ]
null
null
null
SocketAdapter.hpp
Sologala/socket_cvMat
d3ffa4e68badb29f168f955261671ba316ed586b
[ "BSD-2-Clause" ]
null
null
null
SocketAdapter.hpp
Sologala/socket_cvMat
d3ffa4e68badb29f168f955261671ba316ed586b
[ "BSD-2-Clause" ]
null
null
null
#ifndef SOCKETADAPTER_H #define SOCKETADAPTER_H #pragma once #include <arpa/inet.h> #include <sys/socket.h> #include <unistd.h> #include <cstring> #include "msg.pb.h" #define IMG_BUFFER_SIZE 5000 * 5000 * 4 * 3 #define MSG_HEAD_SIZE 8 enum SocketAdapter_Mode { SERVER = 0, CLIENT = 1 }; template <class DATA, class MS...
28.507614
116
0.637642
Sologala
956142c39f615464d087e03ddc11dda0ce9545ef
9,468
cpp
C++
unittests/http/test_buffered_reader.cpp
paulhuggett/pstore
067be94d87c87fce524c8d76c6f47c347d8f1853
[ "Apache-2.0" ]
11
2018-02-02T21:24:49.000Z
2020-12-11T04:06:03.000Z
unittests/http/test_buffered_reader.cpp
SNSystems/pstore
74e9dd960245d6bfc125af03ed964d8ad660a62d
[ "Apache-2.0" ]
63
2018-02-05T17:24:59.000Z
2022-03-22T17:26:28.000Z
unittests/http/test_buffered_reader.cpp
paulhuggett/pstore
067be94d87c87fce524c8d76c6f47c347d8f1853
[ "Apache-2.0" ]
5
2020-01-13T22:47:11.000Z
2021-05-14T09:31:15.000Z
//===- unittests/http/test_buffered_reader.cpp ----------------------------===// //* _ __ __ _ _ * //* | |__ _ _ / _|/ _| ___ _ __ ___ __| | _ __ ___ __ _ __| | ___ _ __ * //* | '_ \| | | | |_| |_ / _ \ '__/ _ \/ _` | | '__/ _ \/ _` |/ _` |/ _ \ '__...
36.555985
97
0.575201
paulhuggett
956792a122ceac7ce969482efac081aae8ce55b1
15,229
cpp
C++
windows/subwnd/dclock.cpp
whitehara/NP2kai
72117d7a5def7e6c735f6780d53322c044e2b1d3
[ "MIT" ]
170
2017-08-15T17:02:36.000Z
2022-03-30T20:02:26.000Z
windows/subwnd/dclock.cpp
whitehara/NP2kai
72117d7a5def7e6c735f6780d53322c044e2b1d3
[ "MIT" ]
138
2017-07-09T13:18:51.000Z
2022-03-20T17:53:43.000Z
windows/subwnd/dclock.cpp
whitehara/NP2kai
72117d7a5def7e6c735f6780d53322c044e2b1d3
[ "MIT" ]
53
2017-07-17T10:27:42.000Z
2022-03-15T01:09:05.000Z
/** * @file dclock.cpp * @brief 時刻表示クラスの動作の定義を行います */ #include <compiler.h> #include "dclock.h" #include <common/parts.h> #include <np2.h> #include <scrnmng.h> #include <timemng.h> #include <vram/scrndraw.h> #include <vram/palettes.h> //! 唯一のインスタンスです DispClock DispClock::sm_instance; /** * @bri...
22.729851
85
0.547836
whitehara
9568620f0215bcd0d9656ed4e34466b9dbe3f2a2
394
cpp
C++
SDK/lib/include/global_color.cpp
ghsecuritylab/CppSDK
50da768a887241d4e670b3ef73c041b21645620e
[ "Unlicense" ]
1
2019-12-15T12:26:52.000Z
2019-12-15T12:26:52.000Z
SDK/lib/include/global_color.cpp
ghsecuritylab/CppSDK
50da768a887241d4e670b3ef73c041b21645620e
[ "Unlicense" ]
null
null
null
SDK/lib/include/global_color.cpp
ghsecuritylab/CppSDK
50da768a887241d4e670b3ef73c041b21645620e
[ "Unlicense" ]
1
2020-03-07T20:47:45.000Z
2020-03-07T20:47:45.000Z
/* * include/global_color.cpp */ #include "global.h" Color::ARGB Color::fromArgb(u8 red, u8 green, u8 blue, u8 alpha) { Color::ARGB color; color.R = red; color.G = green; color.B = blue; color.A = alpha; return color; } Color::ARGB Color::fromArgb(u8 red, u8 green, u8 blue) { Color::ARGB color; color.R = ...
15.153846
64
0.64467
ghsecuritylab
956b8a555709785c6b7346a21d97242325e4d89a
1,925
cpp
C++
code/shared/lz4_compressor.cpp
LiamTyler/Progression
35680b47dcd4481fe80e2310c722354ccfa53ed8
[ "MIT" ]
3
2020-01-30T19:20:05.000Z
2021-06-30T13:24:51.000Z
code/shared/lz4_compressor.cpp
LiamTyler/Progression
35680b47dcd4481fe80e2310c722354ccfa53ed8
[ "MIT" ]
1
2021-03-31T16:12:45.000Z
2021-03-31T16:12:45.000Z
code/shared/lz4_compressor.cpp
LiamTyler/Progression
35680b47dcd4481fe80e2310c722354ccfa53ed8
[ "MIT" ]
2
2020-03-30T05:18:46.000Z
2021-03-31T16:13:08.000Z
#include "utils/lz4_compressor.hpp" #include "core/assert.hpp" #include "utils/logger.hpp" #include "lz4/lz4.h" #include "memory_map/MemoryMapped.h" #include <fstream> char* LZ4CompressBuffer( const char* uncompressedData, size_t size, int& compressedSize ) { return nullptr; } char* LZ4DecompressBuffer( const ch...
31.557377
128
0.684675
LiamTyler
956d4445e1b746e5786fb41996266325e3d939d4
6,930
cpp
C++
recipes-cbc/cbc/cbc/examples/link.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
recipes-cbc/cbc/cbc/examples/link.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
recipes-cbc/cbc/cbc/examples/link.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
// Copyright (C) 2005, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #include <cassert> #include <iomanip> #include "CoinPragma.hpp" // For Branch and bound #include "OsiSolverInterface.hpp" #include "CbcM...
31.5
99
0.607504
Justin790126
956e8b30e37e2abf5f9820a5a43f4be46f879c76
1,641
cpp
C++
HW1/Problem 2/main.cpp
alakh125/csci2270
84c5f34721f67604c5ddc9ac6028d42f9ee1813f
[ "MIT" ]
null
null
null
HW1/Problem 2/main.cpp
alakh125/csci2270
84c5f34721f67604c5ddc9ac6028d42f9ee1813f
[ "MIT" ]
null
null
null
HW1/Problem 2/main.cpp
alakh125/csci2270
84c5f34721f67604c5ddc9ac6028d42f9ee1813f
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <sstream> struct Park{ std::string parkname; std::string state; int area; }; void addPark (Park parks[], std::string parkname, std::string state, int area, int length); void printList(const Park parks[], int length); using na...
26.047619
92
0.550274
alakh125
9571c7f718f9d07933026224b6f5dd33639490cb
13,042
cpp
C++
DFNs/BundleAdjustment/SvdDecomposition.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
DFNs/BundleAdjustment/SvdDecomposition.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
DFNs/BundleAdjustment/SvdDecomposition.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/** * @author Alessandro Bianco */ /** * @addtogroup DFNs * @{ */ #include "SvdDecomposition.hpp" #include <Converters/FrameToMatConverter.hpp> #include <Macros/YamlcppMacros.hpp> #include <Errors/Assert.hpp> #include <stdlib.h> #include <fstream> using namespace Helpers; using namespace Converters; using names...
46.74552
187
0.783392
H2020-InFuse
9576856d827def72924012e2ecb87a8ab7648b67
13,033
cpp
C++
libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_arithmetic_promote.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_arithmetic_promote.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_arithmetic_promote.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file unit_test_fnd_type_traits_arithmetic_promote.cpp * * @brief arithmetic_promote のテスト * * @author myoukaku */ #include <bksge/fnd/type_traits/arithmetic_promote.hpp> #include <bksge/fnd/type_traits/is_same.hpp> #include <gtest/gtest.h> #define BKSGE_ARITHMETIC_PROMOTE_TEST(T, ...) \ sta...
59.784404
94
0.778792
myoukaku
95872f9d2e6c0ecb3dd86b81e596e689b63c4f51
1,120
hpp
C++
src/storage/DataPoint.hpp
spencercjh/LIBBLE-PS
ca6259ccf20d6ef7f683b2d4bc00d846da127c2c
[ "Apache-2.0" ]
null
null
null
src/storage/DataPoint.hpp
spencercjh/LIBBLE-PS
ca6259ccf20d6ef7f683b2d4bc00d846da127c2c
[ "Apache-2.0" ]
1
2021-07-06T12:08:21.000Z
2021-07-06T12:08:21.000Z
src/storage/DataPoint.hpp
spencercjh/LIBBLE-PS
ca6259ccf20d6ef7f683b2d4bc00d846da127c2c
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2017 LIBBLE team supervised by Dr. Wu-Jun LI at Nanjing University. * 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 Licen...
29.473684
91
0.658929
spencercjh
958b2f5869c8acdc23c1f098b29acb1eb98cda0c
1,972
cpp
C++
test/core/utility/UnicodeTest.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
test/core/utility/UnicodeTest.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
test/core/utility/UnicodeTest.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
#include "CoreTestPCH.h" #include <sne/core/utility/Unicode.h> using namespace sne; using namespace sne::core; // Visual Studio에서 한글 문자열이 포함된 코드를 실행하기 위해서 // "UTF-8 with BOM"으로 저장해야 함 /** * @class UnicodeTest * * Unicode Test */ class UnicodeTest : public testing::Test { private: void testEnglish(); void te...
24.04878
80
0.615619
mark-online
958cc3d74bfa6a54c74c93d8a43a04993317516b
114
cpp
C++
src/entrypoint.cpp
juha-hovi/Jam3D
71b7d10c9cfccb7a376ae9d1753277e0ed45f853
[ "MIT" ]
null
null
null
src/entrypoint.cpp
juha-hovi/Jam3D
71b7d10c9cfccb7a376ae9d1753277e0ed45f853
[ "MIT" ]
null
null
null
src/entrypoint.cpp
juha-hovi/Jam3D
71b7d10c9cfccb7a376ae9d1753277e0ed45f853
[ "MIT" ]
null
null
null
#include "application.h" int main() { Jam3D::Application application; application.Run(); return 0; }
14.25
35
0.649123
juha-hovi
958f6d03a90c76bf3f35058237e52e1e13e0ad42
309
cpp
C++
Ejercicios/Ejercicio19-do-while/do-while.cpp
Nelson-Chacon/cpp
21332e2ecaa815acc116eead80dd5b05cc35b710
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio19-do-while/do-while.cpp
Nelson-Chacon/cpp
21332e2ecaa815acc116eead80dd5b05cc35b710
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio19-do-while/do-while.cpp
Nelson-Chacon/cpp
21332e2ecaa815acc116eead80dd5b05cc35b710
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(int argc, char const *argv[]) { int a = 2; int b =1; while (a>b) { cout<<"(while) A > B"<< endl; break; } do{ cout<<"(do while) A > B"<< endl; break; }while (a>b); return 0; }
14.045455
40
0.433657
Nelson-Chacon
d2e51d6e4bb90c5a9b5f20ee1c8125b5adc19760
5,246
hpp
C++
nRF24L01+/nrf24L01.hpp
Jordieboyz/nRF24L01
18db91377c1b48418b64e4ce1d1f947109220267
[ "BSL-1.0" ]
null
null
null
nRF24L01+/nrf24L01.hpp
Jordieboyz/nRF24L01
18db91377c1b48418b64e4ce1d1f947109220267
[ "BSL-1.0" ]
null
null
null
nRF24L01+/nrf24L01.hpp
Jordieboyz/nRF24L01
18db91377c1b48418b64e4ce1d1f947109220267
[ "BSL-1.0" ]
null
null
null
#ifndef NRF24_HPP #define NRF24_HPP #include "hwlib.hpp" #include "registers.hpp" enum pipeInfo : uint8_t { ERX_P0 = 0, ERX_P1, ERX_P2, ERX_P3, ERX_P4, ERX_P5, RX_ADDR_P0 = 0x0A, RX_ADDR_P1, RX_ADDR_P2, RX_ADDR_P3, RX_ADDR_P4, RX_ADDR_P5, RX_PW_P0 = 0x11, RX_PW_P1, RX_PW_P2, RX_PW_P3, RX_PW_P4, RX_PW_P5 ...
29.977143
109
0.634769
Jordieboyz
d2e56f87ced7c4b8300c4a05f3ebcc6c522bedc6
1,509
cpp
C++
6. Tree/16.A1110.cpp
huangjiayu-zju/PAT-A
ecb07409727c56d556a5af1b201158bab0d0d2e8
[ "MIT" ]
null
null
null
6. Tree/16.A1110.cpp
huangjiayu-zju/PAT-A
ecb07409727c56d556a5af1b201158bab0d0d2e8
[ "MIT" ]
null
null
null
6. Tree/16.A1110.cpp
huangjiayu-zju/PAT-A
ecb07409727c56d556a5af1b201158bab0d0d2e8
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstring> #include<queue> using namespace std; const int maxn = 30; //进行层序遍历,让空结点也入队,如果在访问完N个非空结点之前访问到了空结点,那么说明不是完全二叉树 bool isRoot[maxn];//节点是否是根结点 struct Node{ int left, right;//左右结点的下标 } node[maxn]; //input函数输入数据 int input(){ char id[3]; scanf("%s", id); if(id[0] == '-'){ ...
20.671233
50
0.513585
huangjiayu-zju
d2e620cfdf1ca1e0009e62153d96a522fa9e2fb4
5,857
cc
C++
deps/v8/src/arm/fast-codegen-arm.cc
ekg/node
c77964760047f734c58dab49143ff6487f938c6e
[ "MIT" ]
2
2021-06-29T21:07:26.000Z
2022-01-25T02:50:14.000Z
deps/v8/src/arm/fast-codegen-arm.cc
ekg/node
c77964760047f734c58dab49143ff6487f938c6e
[ "MIT" ]
null
null
null
deps/v8/src/arm/fast-codegen-arm.cc
ekg/node
c77964760047f734c58dab49143ff6487f938c6e
[ "MIT" ]
1
2019-12-19T16:28:13.000Z
2019-12-19T16:28:13.000Z
// Copyright 2009 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
33.090395
77
0.678504
ekg
d2e78785ed9f3d01e875fec26b0436d5b8383246
16,719
hpp
C++
include/rxcpp/rx-util.hpp
schiebel/dVO
2096230d4ee677b9c548d57b702a44b87caef10d
[ "Apache-2.0" ]
null
null
null
include/rxcpp/rx-util.hpp
schiebel/dVO
2096230d4ee677b9c548d57b702a44b87caef10d
[ "Apache-2.0" ]
null
null
null
include/rxcpp/rx-util.hpp
schiebel/dVO
2096230d4ee677b9c548d57b702a44b87caef10d
[ "Apache-2.0" ]
null
null
null
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #pragma once #include "rx-includes.hpp" #if !defined(CPPRX_RX_UTIL_HPP) #define CPPRX_RX_UTIL_HPP #if !defined(RXCPP_THREAD_LOCAL) #if defined(_MSC_VER) #define RXCPP_THREAD_...
32.846758
157
0.479574
schiebel
d2e7b98ec8ccc4359595183dba360d00a0802797
4,253
hh
C++
opticksgeo/OpticksGen.hh
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
opticksgeo/OpticksGen.hh
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
opticksgeo/OpticksGen.hh
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
32.715385
106
0.582177
hanswenzel
d2ed5a4e3897ff6ee3114771e5b733a9c69c1683
7,612
cpp
C++
Chapter_12/Figures/Fig_12_5.cpp
mtrdazzo/Deitel
4efc02147a1768125d2e27d7d68f664c4628cdc5
[ "MIT" ]
1
2021-09-07T19:23:24.000Z
2021-09-07T19:23:24.000Z
Chapter_12/Figures/Fig_12_5.cpp
mtrdazzo/Deitel
4efc02147a1768125d2e27d7d68f664c4628cdc5
[ "MIT" ]
null
null
null
Chapter_12/Figures/Fig_12_5.cpp
mtrdazzo/Deitel
4efc02147a1768125d2e27d7d68f664c4628cdc5
[ "MIT" ]
null
null
null
/** * @file Fig_12_5.cpp * @author Matthew J Randazzo (mtrdazzo@gmail.com) * @brief Show example of dynamic polymorhpism * @version 0.1 * @date 2020-07-14 * * @copyright Copyright (c) 2020 * */ #include <iostream> #include <iomanip> #include "CommissionEmployee2.h" #include "BasePlusCommissionEmployee2.h" ...
28.942966
125
0.679191
mtrdazzo
d2ed706f8b363b7cd001fd30e1fa19c3e986bfe1
106
cc
C++
index_test/test_seek.cc
PudgeXD/courseForLeveldb
5321a35f3a1b1ef2ee6e82cca069d72ae803d1c0
[ "BSD-3-Clause" ]
null
null
null
index_test/test_seek.cc
PudgeXD/courseForLeveldb
5321a35f3a1b1ef2ee6e82cca069d72ae803d1c0
[ "BSD-3-Clause" ]
null
null
null
index_test/test_seek.cc
PudgeXD/courseForLeveldb
5321a35f3a1b1ef2ee6e82cca069d72ae803d1c0
[ "BSD-3-Clause" ]
null
null
null
// // Created by rui on 19-6-10. // #include <iostream> using namespace std; int main(){ return 0; }
8.833333
29
0.613208
PudgeXD
d2ed736990e1208ac482d11c480f9fd230cc1596
6,270
hpp
C++
cpp-projects/exvr-designer/data/states.hpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
cpp-projects/exvr-designer/data/states.hpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
cpp-projects/exvr-designer/data/states.hpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
/*********************************************************************************** ** exvr-designer ** ** MIT License ** ** Copyright (c) [2018] [Florian Lance][EPFL-LNCO] ...
37.771084
151
0.568262
FlorianLance
d2f0a3d686afb1cab613fb674d44c04eb5dd68a7
2,402
cpp
C++
core/utils/Params.cpp
dillonl/ComprehensiveVCFMerge
dee320975c13ba6765fb844b00b90fb56dcff7b2
[ "MIT" ]
null
null
null
core/utils/Params.cpp
dillonl/ComprehensiveVCFMerge
dee320975c13ba6765fb844b00b90fb56dcff7b2
[ "MIT" ]
null
null
null
core/utils/Params.cpp
dillonl/ComprehensiveVCFMerge
dee320975c13ba6765fb844b00b90fb56dcff7b2
[ "MIT" ]
null
null
null
#include "Params.h" #include "Utility.h" namespace cvm { Params::Params(int argc, char** argv) : m_options("CVM", " - Comprehensive VCF Merger (CVM) merges multiple VCF files into a single VCF. CVM reconstructs the sequence of each VCF's alleles with the reference sequence and compares them across all VCFs to discove...
27.295455
327
0.669858
dillonl
d2f2cab2889c5bb9c9899bf92bc3b16b8b1d6343
3,917
cc
C++
xls/fuzzer/ast_generator_test.cc
briansrls/xls
35fd94eff68611d510288938469ee620a38e1976
[ "Apache-2.0" ]
null
null
null
xls/fuzzer/ast_generator_test.cc
briansrls/xls
35fd94eff68611d510288938469ee620a38e1976
[ "Apache-2.0" ]
null
null
null
xls/fuzzer/ast_generator_test.cc
briansrls/xls
35fd94eff68611d510288938469ee620a38e1976
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The XLS Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
35.93578
80
0.695941
briansrls
d2f9f0259bea14a23a0c25a5b9f2f6c8da1e5a76
5,250
hpp
C++
common/StringLinq.hpp
mfkiwl/RayRenderer-dp4a
b57696b23c795f0ca1199e8f009b7a12b88da13a
[ "MIT" ]
18
2018-10-22T10:30:20.000Z
2021-12-10T06:29:39.000Z
common/StringLinq.hpp
mfkiwl/RayRenderer-dp4a
b57696b23c795f0ca1199e8f009b7a12b88da13a
[ "MIT" ]
null
null
null
common/StringLinq.hpp
mfkiwl/RayRenderer-dp4a
b57696b23c795f0ca1199e8f009b7a12b88da13a
[ "MIT" ]
4
2019-06-04T14:04:43.000Z
2021-07-16T01:41:48.000Z
#pragma once #include "Linq2.hpp" #include "SharedString.hpp" #include "StrBase.hpp" #include <string> #include <string_view> namespace common::str { namespace detail { template<typename Char, typename Judger> struct SplitSource { public: using OutType = std::basic_string_view<Char>; static constexpr bool ...
33.870968
138
0.651429
mfkiwl
d2fcc65acb0ec4dbb237827ea399e216cbf7cd16
5,286
hpp
C++
include/RootMotion/FinalIK/RagdollUtility_Child.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/RagdollUtility_Child.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/RagdollUtility_Child.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: RootMotion.FinalIK.RagdollUt...
47.621622
192
0.723231
RedBrumbler
d2fd3a734d71d5af651bcceb133dbba657137ea1
2,216
hpp
C++
include/mlcmst_subnet_solver.hpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
include/mlcmst_subnet_solver.hpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
include/mlcmst_subnet_solver.hpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <vector> #include <unordered_map> #include <mlcmst_solver.hpp> #include <network/mlcst.hpp> #include <network/mlcc_network.hpp> namespace MLCMST { class MLCMST_SubnetSolver final { public: struct Result { double cost; network::MLCST mlcmst; std::ve...
37.559322
110
0.707581
qaskai
d2fd7683f392dccc2ae25fe42c300accb25f55e8
1,329
cpp
C++
Divide and Conquer/Median of Arrays/median.cpp
Subrato-oid/cs-algorithms
4a04fe49f513c439b641a8e4e783a98cd99dc909
[ "MIT" ]
239
2019-10-07T11:01:56.000Z
2022-01-27T19:08:55.000Z
Divide and Conquer/Median of Arrays/median.cpp
ashfreakingoyal/cs-algorithms
08f5aba5c3379e17d03b899fc36efcdccebd181c
[ "MIT" ]
176
2019-10-07T06:59:49.000Z
2020-09-30T08:16:22.000Z
Divide and Conquer/Median of Arrays/median.cpp
ashfreakingoyal/cs-algorithms
08f5aba5c3379e17d03b899fc36efcdccebd181c
[ "MIT" ]
441
2019-10-07T07:34:08.000Z
2022-03-15T07:19:58.000Z
#include <bits/stdc++.h> using namespace std; int getMedian(int arr1[], int arr2[], int n, int m) { int i = 0; int j = 0; int c; int m1 = -1, m2 = -1; if((m + n) % 2 == 1) { for (c = 0; c <= (n + m)/2; c++) { if(i != n && j != m) ...
20.765625
67
0.274643
Subrato-oid
d2fde39d3312861e422d572705ab0f367ecd058e
896
cpp
C++
libcxx/test/libcxx/inclusions/algorithm.inclusions.compile.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
libcxx/test/libcxx/inclusions/algorithm.inclusions.compile.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
libcxx/test/libcxx/inclusions/algorithm.inclusions.compile.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
33.185185
80
0.610491
mkinsner
96008798fa441c14a9ebc14e9f8bc85a8d7a7bbd
5,245
cpp
C++
c_plus_plus/multiround/communicationobjects/sendplanepositionscommobj.cpp
temp-byte/planes
025eddfe5ff52ed5ca65cedfea0ce4f346a78b65
[ "MIT" ]
18
2018-07-24T20:07:14.000Z
2022-02-06T23:17:10.000Z
c_plus_plus/multiround/communicationobjects/sendplanepositionscommobj.cpp
temp-byte/planes
025eddfe5ff52ed5ca65cedfea0ce4f346a78b65
[ "MIT" ]
18
2020-05-25T17:50:36.000Z
2022-01-12T12:39:51.000Z
c_plus_plus/multiround/communicationobjects/sendplanepositionscommobj.cpp
temp-byte/planes
025eddfe5ff52ed5ca65cedfea0ce4f346a78b65
[ "MIT" ]
5
2018-07-25T00:47:00.000Z
2022-01-10T07:16:17.000Z
#include "sendplanepositionscommobj.h" #include <QMessageBox> #include "viewmodels/planespositionsviewmodel.h" #include "multiplayerround.h" bool SendPlanePositionsCommObj::makeRequest() { if (m_GlobalData->m_UserData.m_UserName.isEmpty()) { QMessageBox msgBox(m_ParentWidget); msgBox.setText("No u...
45.608696
218
0.647092
temp-byte
9601782884722b4a1c497fbb5e7b9cf01da189da
309
cpp
C++
LearnOpenGL/SimpleTriangles.cpp
VestLee/LearnOpenGL
68e93a1f7516b797febe90c87261f0ff3c571d7e
[ "MIT" ]
null
null
null
LearnOpenGL/SimpleTriangles.cpp
VestLee/LearnOpenGL
68e93a1f7516b797febe90c87261f0ff3c571d7e
[ "MIT" ]
null
null
null
LearnOpenGL/SimpleTriangles.cpp
VestLee/LearnOpenGL
68e93a1f7516b797febe90c87261f0ff3c571d7e
[ "MIT" ]
null
null
null
#include <Windows.h> #include <stdio.h> #include <GL/glut.h> int main(int argc, char** argv) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB | GLUT_DEPTH); glutInitWindowSize(300, 300); glutCreateWindow("OpenGL"); printf("OpenGL version: %s\n", glGetString(GL_VERSION)); return 0; }
23.769231
58
0.721683
VestLee
960273e0d5fa342a9a7801f5c029da7b14da3bec
32,700
hh
C++
include/cagey-math/old/BasePoint.hh
theycallmecoach/cagey-math
e3a70d6e26abad90bbbaf6bc5f4e7da89651ab59
[ "MIT" ]
1
2019-05-10T23:34:08.000Z
2019-05-10T23:34:08.000Z
include/cagey-math/old/BasePoint.hh
theycallmecoach/cagey-math
e3a70d6e26abad90bbbaf6bc5f4e7da89651ab59
[ "MIT" ]
null
null
null
include/cagey-math/old/BasePoint.hh
theycallmecoach/cagey-math
e3a70d6e26abad90bbbaf6bc5f4e7da89651ab59
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // cagey-math - C++-17 Vector Math Library // Copyright (c) 2016 Kyle Girard <theycallmecoach@gmail.com> // // The MIT License (MIT) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software ...
34.750266
82
0.55208
theycallmecoach
9603020de6c69df040ff3512875e9dc04a7adb7b
70,508
cpp
C++
piLibs/src/libRender/opengl4x/piGL4X_Renderer.cpp
Livictor213/testing2
4121cbb23ec6cb55d8aad3524d1dc029165c8532
[ "MIT" ]
6
2021-03-27T01:54:55.000Z
2021-12-15T22:50:28.000Z
piLibs/src/libRender/opengl4x/piGL4X_Renderer.cpp
Livictor213/testing2
4121cbb23ec6cb55d8aad3524d1dc029165c8532
[ "MIT" ]
null
null
null
piLibs/src/libRender/opengl4x/piGL4X_Renderer.cpp
Livictor213/testing2
4121cbb23ec6cb55d8aad3524d1dc029165c8532
[ "MIT" ]
null
null
null
#define USETEXTURECACHE #include <malloc.h> #include <stdio.h> #define GLCOREARB_PROTOTYPES #include "glcorearb.h" #include "piGL4X_Renderer.h" #include "piGL4X_Ext.h" #include "piGL4X_RenderContext.h" #include "../../libSystem/piStr.h" namespace piLibs { typedef struct { unsigned int mProgID; }piIShader; typ...
35.628095
188
0.632552
Livictor213
96046ebd4f9e5693425634fe9e481cdb497f2936
9,122
cpp
C++
src/tgcreator/tgStructure.cpp
wvat/NTRTsim
0443cbd542e12e23c04adf79ea0d8d003c428baa
[ "Apache-2.0" ]
148
2015-01-08T22:44:00.000Z
2022-03-19T18:42:48.000Z
src/tgcreator/tgStructure.cpp
wvat/NTRTsim
0443cbd542e12e23c04adf79ea0d8d003c428baa
[ "Apache-2.0" ]
107
2015-01-02T16:41:42.000Z
2021-06-14T22:09:19.000Z
src/tgcreator/tgStructure.cpp
wvat/NTRTsim
0443cbd542e12e23c04adf79ea0d8d003c428baa
[ "Apache-2.0" ]
86
2015-01-06T07:02:36.000Z
2022-02-28T17:36:14.000Z
/* * Copyright © 2012, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed * under the Apache License, Version 2.0 (the "License"); * you may not use t...
29.521036
100
0.62267
wvat
96093b609c018eb3ef7b6d80a160f60ad79f433f
1,488
cpp
C++
LightOJ/LightOJ - 1298/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
LightOJ/LightOJ - 1298/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
LightOJ/LightOJ - 1298/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 2019-05-15 00:42:06 * solution_verdict: Accepted language: C++ * run...
28.075472
111
0.438172
kzvd4729
9609ceda16c8c790a443ac654cb6aab25e3aa4e6
821
cc
C++
Matura/rozwiazania/62/zadanie 4.cc
Kwandes/highschool-code
ffaf7aea78236cec709ec7c70886df5427005332
[ "MIT" ]
null
null
null
Matura/rozwiazania/62/zadanie 4.cc
Kwandes/highschool-code
ffaf7aea78236cec709ec7c70886df5427005332
[ "MIT" ]
null
null
null
Matura/rozwiazania/62/zadanie 4.cc
Kwandes/highschool-code
ffaf7aea78236cec709ec7c70886df5427005332
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> using namespace std; int main() { int i; int liczba; int temp; int cyfr6d = 0; int cyfr6o = 0; ifstream plik; plik.open("liczby2.txt"); for(i=0; i<1000; i++) { plik >> liczba; temp = liczba; while (temp) { if...
19.093023
95
0.457978
Kwandes
960b7f307e1c724850a03d98fa118c010730dd67
4,427
cxx
C++
Modules/Loadable/SceneViews/qSlicerSceneViewsModule.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Modules/Loadable/SceneViews/qSlicerSceneViewsModule.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Modules/Loadable/SceneViews/qSlicerSceneViewsModule.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
// Qt includes #include <QtPlugin> // QTGUI includes #include "qSlicerApplication.h" #include "qSlicerCoreIOManager.h" #include <qSlicerNodeWriter.h> // SceneViewsModule includes #include "qSlicerSceneViewsModule.h" #include <qSlicerSceneViewsModuleWidget.h> #include <vtkSlicerSceneViewsModuleLogic.h> // SubjectHi...
34.858268
143
0.580529
TheInterventionCentre
960bcbc38b50b7fee00c52e57087d6ad10fb6fee
7,316
hxx
C++
include/idocp/contact_complementarity/contact_normal_force.hxx
KY-Lin22/idocp
8cacfea7bb2184023eb15316aea07154a62d59bb
[ "BSD-3-Clause" ]
1
2021-09-04T07:43:04.000Z
2021-09-04T07:43:04.000Z
include/idocp/contact_complementarity/contact_normal_force.hxx
KY-Lin22/idocp
8cacfea7bb2184023eb15316aea07154a62d59bb
[ "BSD-3-Clause" ]
null
null
null
include/idocp/contact_complementarity/contact_normal_force.hxx
KY-Lin22/idocp
8cacfea7bb2184023eb15316aea07154a62d59bb
[ "BSD-3-Clause" ]
null
null
null
#ifndef IDOCP_CONTACT_NORMAL_FORCE_HXX_ #define IDOCP_CONTACT_NORMAL_FORCE_HXX_ #include "idocp/contact_complementarity/contact_normal_force.hpp" #include <exception> #include <iostream> #include <assert.h> namespace idocp { inline ContactNormalForce::ContactNormalForce( const Robot& robot, const double barrie...
30.739496
86
0.642564
KY-Lin22
960d8ac353f53dd95e742ad5cc52fcc2f6226b6d
4,905
hpp
C++
src/config/gc.hpp
Gwenio/synafis
37176e965318ae555fdc542fc87ffb79866f770f
[ "ISC" ]
1
2019-01-27T14:44:50.000Z
2019-01-27T14:44:50.000Z
src/config/gc.hpp
Gwenio/synafis
37176e965318ae555fdc542fc87ffb79866f770f
[ "ISC" ]
null
null
null
src/config/gc.hpp
Gwenio/synafis
37176e965318ae555fdc542fc87ffb79866f770f
[ "ISC" ]
null
null
null
/* ISC License (ISC) Copyright 2018-2019 Adam Armstrong Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DI...
32.7
94
0.782671
Gwenio
960f083afdc553cd111f7655aaefb683c6361e00
2,138
cpp
C++
libkram/etc2comp/EtcBlock4x4Encoding_RG11.cpp
yanivams/kramUMK
04d841720cf45b1e7005112643c23177b34ebb84
[ "MIT" ]
53
2020-11-12T03:29:10.000Z
2022-03-13T19:00:52.000Z
libkram/etc2comp/EtcBlock4x4Encoding_RG11.cpp
yanivams/kramUMK
04d841720cf45b1e7005112643c23177b34ebb84
[ "MIT" ]
10
2020-11-11T16:45:46.000Z
2022-03-19T18:45:30.000Z
libkram/etc2comp/EtcBlock4x4Encoding_RG11.cpp
yanivams/kramUMK
04d841720cf45b1e7005112643c23177b34ebb84
[ "MIT" ]
3
2021-09-29T05:44:18.000Z
2022-02-28T11:26:34.000Z
/* * Copyright 2015 The Etc2Comp Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
30.985507
102
0.703929
yanivams
9610efcb7670d5d9dbca7608d56125c8e98920ce
26,809
cpp
C++
src/tests/system/kernel/file_corruption/driver/checksum_device.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/tests/system/kernel/file_corruption/driver/checksum_device.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/tests/system/kernel/file_corruption/driver/checksum_device.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #include "checksum_device.h" #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <algorithm> #include <device_manager.h> #inclu...
21.327765
80
0.699802
Kirishikesan
96137485aca19dee42154adb80eb2367a79b611a
3,481
cpp
C++
src/red4ext.loader/Main.cpp
ADawesomeguy/RED4ext
fec0e216b27c30fca66b31a38b850f814b5a48d6
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/red4ext.loader/Main.cpp
ADawesomeguy/RED4ext
fec0e216b27c30fca66b31a38b850f814b5a48d6
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/red4ext.loader/Main.cpp
ADawesomeguy/RED4ext
fec0e216b27c30fca66b31a38b850f814b5a48d6
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "stdafx.hpp" #include "pwrprof.hpp" BOOL APIENTRY DllMain(HMODULE aModule, DWORD aReason, LPVOID aReserved) { switch (aReason) { case DLL_PROCESS_ATTACH: { DisableThreadLibraryCalls(aModule); try { if (!LoadOriginal()) { return F...
37.031915
120
0.520827
ADawesomeguy
9615a0237f2635883c350f01e691db9eda49f79d
1,853
cpp
C++
masterui/main.cpp
rickfoosusa/dnp
ec17eb20817db32cc6356139afd2daaa1803576f
[ "BSD-2-Clause-FreeBSD" ]
1
2017-09-19T16:37:59.000Z
2017-09-19T16:37:59.000Z
masterui/main.cpp
rickfoosusa/dnp
ec17eb20817db32cc6356139afd2daaa1803576f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
masterui/main.cpp
rickfoosusa/dnp
ec17eb20817db32cc6356139afd2daaa1803576f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// // $Id$ // // Copyright (C) 2007 Turner Technolgoies Inc. http://www.turner.ca // // 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...
30.883333
68
0.706962
rickfoosusa
961866ed4c9d4b6fb23e3b643c36e39975d6154f
9,049
hh
C++
src/ast/detail/types.hh
evanacox/cascade
3b337c465bff91e4987fb6f738a03a82d07b97cc
[ "Apache-2.0" ]
null
null
null
src/ast/detail/types.hh
evanacox/cascade
3b337c465bff91e4987fb6f738a03a82d07b97cc
[ "Apache-2.0" ]
null
null
null
src/ast/detail/types.hh
evanacox/cascade
3b337c465bff91e4987fb6f738a03a82d07b97cc
[ "Apache-2.0" ]
null
null
null
/*---------------------------------------------------------------------------* * * Copyright 2020 Evan Cox * * 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/...
34.14717
99
0.620953
evanacox
961a5ba39f21bad2bc0f5dcee3e6277d326988a3
2,460
cpp
C++
BlueBerry/Bundles/org.blueberry.ui/src/berryPlatformUI.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
1
2017-03-05T05:29:32.000Z
2017-03-05T05:29:32.000Z
BlueBerry/Bundles/org.blueberry.ui/src/berryPlatformUI.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
null
null
null
BlueBerry/Bundles/org.blueberry.ui/src/berryPlatformUI.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
2
2020-10-27T06:51:00.000Z
2020-10-27T06:51:01.000Z
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
25.360825
108
0.698374
danielknorr
961a790274bac6b16f5fd35135542689ac090d23
1,170
cpp
C++
codechef/CHEFCOUN/Wrong Answer (3).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codechef/CHEFCOUN/Wrong Answer (3).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codechef/CHEFCOUN/Wrong Answer (3).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 06-10-2017 16:39:17 * solution_verdict: Wrong Answer language: C++14 * run...
35.454545
111
0.347863
kzvd4729
961aa56c24a00f05dca64939859d74b637135eb8
2,150
cpp
C++
test/btunittest/Agent/EmployeeParTestAgent.cpp
pjkui/behaviac-1
426fbac954d7c1db00eb842d6e0b9390fda82dd3
[ "BSD-3-Clause" ]
2
2016-12-11T09:40:43.000Z
2021-07-09T22:55:38.000Z
test/btunittest/Agent/EmployeeParTestAgent.cpp
BantamJoe/behaviac-1
426fbac954d7c1db00eb842d6e0b9390fda82dd3
[ "BSD-3-Clause" ]
null
null
null
test/btunittest/Agent/EmployeeParTestAgent.cpp
BantamJoe/behaviac-1
426fbac954d7c1db00eb842d6e0b9390fda82dd3
[ "BSD-3-Clause" ]
10
2016-11-29T12:04:07.000Z
2018-09-04T06:13:30.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clau...
32.089552
113
0.640465
pjkui
961bbf250f7721ddd5d8fba573dcef81b1436d73
304
cpp
C++
Point.cpp
argorain/dtw
f863bf38882a36accc6da80101b1201c43cd3261
[ "MIT" ]
null
null
null
Point.cpp
argorain/dtw
f863bf38882a36accc6da80101b1201c43cd3261
[ "MIT" ]
null
null
null
Point.cpp
argorain/dtw
f863bf38882a36accc6da80101b1201c43cd3261
[ "MIT" ]
null
null
null
// // Created by rain on 27.5.15. // #include "Point.h" Point::Point() { x=y=0; } Point::Point(int x, int y) { this->x=x; this->y=y; } int Point::getX() { return x; } int Point::getY() { return y; } void Point::setX(const int x) { this->x=x; } void Point::setY(const int y) { this->y=y; }
16
44
0.559211
argorain
961c21db07f1fef8cbce1c41e0c5c52f43f7908c
336
cpp
C++
cpp/env.cpp
simnalamburt/snippets
8ba4cfcb1305d2b82ea892e3305613eeb7ba382b
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
31
2016-01-27T07:03:25.000Z
2022-02-25T07:59:11.000Z
cpp/env.cpp
simnalamburt/snippets
8ba4cfcb1305d2b82ea892e3305613eeb7ba382b
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2015-01-26T01:27:21.000Z
2015-01-30T16:16:30.000Z
cpp/env.cpp
simnalamburt/snippets
8ba4cfcb1305d2b82ea892e3305613eeb7ba382b
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
3
2017-02-07T04:17:56.000Z
2020-06-12T05:01:31.000Z
#include <cstdlib> #include <iostream> using namespace std; int main() { const auto getenv_or = [](auto env_var, auto default_value) { const auto env = getenv(env_var); return env != nullptr ? env : default_value; }; cout << getenv_or("HOME", "Not found") << endl; cout << getenv_or("HOMEE", "Not fou...
21
63
0.639881
simnalamburt
961d918e340191e1f2f0761a5eb4cff9a96ecede
21,099
cpp
C++
src/storage/forkdb.cpp
metabasenet/metabasenet
e9bc89b22c11981bcf1d71b63b9b66df3a4e54e1
[ "MIT" ]
null
null
null
src/storage/forkdb.cpp
metabasenet/metabasenet
e9bc89b22c11981bcf1d71b63b9b66df3a4e54e1
[ "MIT" ]
null
null
null
src/storage/forkdb.cpp
metabasenet/metabasenet
e9bc89b22c11981bcf1d71b63b9b66df3a4e54e1
[ "MIT" ]
null
null
null
// Copyright (c) 2021-2022 The MetabaseNet developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "forkdb.h" #include <boost/bind.hpp> #include "leveldbeng.h" using namespace std; using namespace hcode; name...
26.741445
158
0.600834
metabasenet
9625f66ca0c7cb91db28f3cd9ede5ad43d0d4080
4,359
cpp
C++
Engine/Source/Editor/BlueprintGraph/Private/K2Node_MakeArray.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Editor/BlueprintGraph/Private/K2Node_MakeArray.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Editor/BlueprintGraph/Private/K2Node_MakeArray.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "K2Node_MakeArray.h" #include "EdGraph/EdGraphPin.h" #include "Engine/Blueprint.h" #include "Framework/Commands/UIAction.h" #include "Framework/MultiBox/MultiBoxBuilder.h" #include "EdGraphSchema_K2.h" #include "EdGraph/EdGraphNodeUtils.h" #include...
29.653061
154
0.752466
windystrife
96295caa4d4dba082d76d8e089c8c823aef7a1b4
15,828
cpp
C++
libraries/spncci/explicit_construction.cpp
nd-nuclear-theory/spncci
18b30e63ca62bfeea9bfadaf2bad3bfb166ce3e4
[ "MIT" ]
1
2021-10-17T22:58:31.000Z
2021-10-17T22:58:31.000Z
libraries/spncci/explicit_construction.cpp
nd-nuclear-theory/spncci
18b30e63ca62bfeea9bfadaf2bad3bfb166ce3e4
[ "MIT" ]
1
2021-02-16T03:16:31.000Z
2021-02-16T19:46:18.000Z
libraries/spncci/explicit_construction.cpp
nd-nuclear-theory/spncci
18b30e63ca62bfeea9bfadaf2bad3bfb166ce3e4
[ "MIT" ]
2
2019-04-27T17:26:59.000Z
2021-04-28T17:04:07.000Z
/**************************************************************** explicit_construction.cpp Anna E. McCoy and Mark A. Caprio University of Notre Dame ****************************************************************/ #include "spncci/explicit_construction.h" #include <omp.h> #include "cppformat/format.h" #incl...
45.222857
155
0.616376
nd-nuclear-theory
962da2035184e223c3aabb2569c6565c254aa433
1,948
cpp
C++
Parse/PFManager.cpp
sourada/Parse-Qt-SDK
32bb10a37ddebc71bae4e648438efb3bd9fdd48b
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
Parse/PFManager.cpp
sourada/Parse-Qt-SDK
32bb10a37ddebc71bae4e648438efb3bd9fdd48b
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
Parse/PFManager.cpp
sourada/Parse-Qt-SDK
32bb10a37ddebc71bae4e648438efb3bd9fdd48b
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// // PFManager.cpp // Parse // // Created by Christian Noon on 11/5/13. // Copyright (c) 2013 Christian Noon. All rights reserved. // // Parse headers #include "PFManager.h" // Qt headers #include <QMutex> #include <QMutexLocker> namespace parse { // Static Globals static QMutex gPFManagerMutex; #ifdef __APPL...
17.54955
102
0.747433
sourada
962ffee954876d8999083f3bffc80ce4602a7c70
1,441
cpp
C++
greedy/Huffman_coding.cpp
verma-tanishq/placement-essentials
515135f417f002db5e59317cce7660f29b8e902a
[ "MIT" ]
1
2021-04-04T16:23:15.000Z
2021-04-04T16:23:15.000Z
greedy/Huffman_coding.cpp
verma-tanishq/placement-essentials
515135f417f002db5e59317cce7660f29b8e902a
[ "MIT" ]
null
null
null
greedy/Huffman_coding.cpp
verma-tanishq/placement-essentials
515135f417f002db5e59317cce7660f29b8e902a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct MinHeapNode{ char data; unsigned frq; MinHeapNode *left; MinHeapNode *right; MinHeapNode(char data, unsigned frq){ left=right=NULL; this->data = data; this->frq = frq; } }; struct comp{ bool opera...
22.169231
70
0.519084
verma-tanishq
9635570a8c1ba2dbdfc1faf6a8ff56b8ffbd5222
1,367
cpp
C++
Chapter13/TextQuery.cpp
FrogLu/CPPP
0ee4632c12b287957739e2061fd6b02234465346
[ "MIT" ]
null
null
null
Chapter13/TextQuery.cpp
FrogLu/CPPP
0ee4632c12b287957739e2061fd6b02234465346
[ "MIT" ]
null
null
null
Chapter13/TextQuery.cpp
FrogLu/CPPP
0ee4632c12b287957739e2061fd6b02234465346
[ "MIT" ]
null
null
null
#include "pch.h" #include "StrVec.h" #include "myfunction.h" #include "TextQuery.h" std::set<TextQuery::line_no>::iterator QueryResult::begin() { auto ret=lines->begin(); return ret; } const std::set<TextQuery::line_no>::iterator QueryResult::begin() const { auto ret = lines->cbegin(); return ret; } ...
22.783333
71
0.556693
FrogLu
963c7efd265515d3a06622501dd8338d5263c25b
3,601
cpp
C++
pc/attr_id.cpp
rtilder/pyth-client
aaf33e1dd13c7c945f1545dd5b207646cba034d3
[ "Apache-2.0" ]
89
2021-05-13T15:05:45.000Z
2022-03-17T16:42:21.000Z
pc/attr_id.cpp
rtilder/pyth-client
aaf33e1dd13c7c945f1545dd5b207646cba034d3
[ "Apache-2.0" ]
46
2021-05-14T15:26:14.000Z
2022-03-31T11:33:48.000Z
pc/attr_id.cpp
rtilder/pyth-client
aaf33e1dd13c7c945f1545dd5b207646cba034d3
[ "Apache-2.0" ]
50
2021-05-18T05:10:38.000Z
2022-03-31T22:26:28.000Z
#include "attr_id.hpp" using namespace pc; /////////////////////////////////////////////////////////////////////////// // attr_dict attr_dict::pos::pos() : idx_( 0 ), len_ ( 0 ) { } void attr_dict::clear() { num_ = 0; abuf_.clear(); avec_.clear(); } unsigned attr_dict::get_num_attr() const { return num_; }...
20.815029
75
0.550958
rtilder
9640b4ab153b76bf5f6ac5aca006d12f618598b4
3,907
cpp
C++
src/Host.cpp
dgu123/enet-pp
19559db6201d5b5d679185731bbb0bc623241576
[ "MIT" ]
null
null
null
src/Host.cpp
dgu123/enet-pp
19559db6201d5b5d679185731bbb0bc623241576
[ "MIT" ]
null
null
null
src/Host.cpp
dgu123/enet-pp
19559db6201d5b5d679185731bbb0bc623241576
[ "MIT" ]
null
null
null
// Copyright (c) 2010 Johann Duscher (alias Jonny Dee) // // 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, m...
32.02459
135
0.668032
dgu123
96444558a1df67b443e3e3b51efad318659be8e0
17,885
cpp
C++
system/test/preprocessor_tools_test.cpp
vinders/pandora_toolbox
f32e301ebaa2b281a1ffc3d6d0c556091420520a
[ "MIT" ]
2
2020-11-19T03:23:35.000Z
2021-02-25T03:34:40.000Z
system/test/preprocessor_tools_test.cpp
vinders/pandora_toolbox
f32e301ebaa2b281a1ffc3d6d0c556091420520a
[ "MIT" ]
null
null
null
system/test/preprocessor_tools_test.cpp
vinders/pandora_toolbox
f32e301ebaa2b281a1ffc3d6d0c556091420520a
[ "MIT" ]
null
null
null
/******************************************************************************* MIT License Copyright (c) 2021 Romain Vinders 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, ...
38.462366
135
0.601342
vinders
9645aa2ab6dbd5e765fff8cc431bc20f5a56dfb0
6,234
cpp
C++
src/sigspm/spmtest.cpp
Hexlord/sig
50be810f3f56e79e56110165972b7911d7519281
[ "Apache-2.0" ]
null
null
null
src/sigspm/spmtest.cpp
Hexlord/sig
50be810f3f56e79e56110165972b7911d7519281
[ "Apache-2.0" ]
null
null
null
src/sigspm/spmtest.cpp
Hexlord/sig
50be810f3f56e79e56110165972b7911d7519281
[ "Apache-2.0" ]
null
null
null
# pragma once # include <sig/gs_vars.h> # include <sig/sn_poly_editor.h> # include <sig/sn_lines.h> # include <sigogl/gl_texture.h> # include <sigogl/gl_resources.h> # include <sigogl/ui_radio_button.h> # include <sigogl/ws_viewer.h> # include <sigogl/ws_run.h> # include "spm_manager.h" class SpmViewer : public WsVi...
34.441989
113
0.675008
Hexlord
9646cd98ebe3115856182d1ed9135977190899a2
22,222
cc
C++
components/favicon/core/large_icon_service_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/favicon/core/large_icon_service_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/favicon/core/large_icon_service_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2015 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 "components/favicon/core/large_icon_service.h" #include <deque> #include <memory> #include "base/bind.h" #include "base/macros.h" #include "bas...
41.458955
80
0.727837
metux
96471df8a208257b172268172b40cd98a5fd3e76
2,953
hpp
C++
products/PurePhone/services/db/include/db/ServiceDB.hpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
1
2021-11-11T22:56:43.000Z
2021-11-11T22:56:43.000Z
products/PurePhone/services/db/include/db/ServiceDB.hpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
null
null
null
products/PurePhone/services/db/include/db/ServiceDB.hpp
SP2FET/MuditaOS-1
2906bb8a2fb3cdd39b167e600f6cc6d9ce1327bd
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include <service-db/DBServiceName.hpp> #include <service-db/ServiceDBCommon.hpp> class AlarmEventRecordInterface; class AlarmsRecordInterface; class CalllogDB; class Ca...
32.450549
105
0.772773
SP2FET
9649ef28c41a5d2316e8dbc02492efc189ff18b7
389
cpp
C++
Logistics/2-D Transformations/Translate.cpp
amrii1/Computer-Graphics
597b4ab061b57d222e54c01a7adf2799cb889f3a
[ "MIT" ]
27
2020-01-18T02:30:40.000Z
2022-03-13T17:15:38.000Z
Logistics/2-D Transformations/Translate.cpp
KINGRANDOLPH/Computer-Graphics
509d2b06a34d9988e6c866eb6f900a56167f78ac
[ "MIT" ]
5
2019-12-13T14:08:05.000Z
2020-08-11T15:31:54.000Z
Logistics/2-D Transformations/Translate.cpp
KINGRANDOLPH/Computer-Graphics
509d2b06a34d9988e6c866eb6f900a56167f78ac
[ "MIT" ]
16
2019-12-17T08:28:42.000Z
2021-10-31T03:47:54.000Z
#include<iostream> using namespace std; int main() { int x,y,tx,ty; cout<<"Translation"; cout<<"Enter point to be translated\n"; cout<<"x: "; cin>>x; cout<<"y: "; cin>>y; cout<<"Enter the translation factors\n"; cout<<"tx: "; cin>>tx; cout<<"ty: "; cin>>ty; //Translate x=x+tx; y=y+ty; // cout<<"Point a...
15.56
41
0.580977
amrii1
964c616723335f4c83822526c277ffb11d238bd9
455
hpp
C++
include/xvega/grammar/marks/mark_rule.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
34
2020-08-14T14:32:51.000Z
2022-02-16T23:20:02.000Z
include/xvega/grammar/marks/mark_rule.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
19
2020-08-20T20:04:39.000Z
2022-02-28T14:34:37.000Z
include/xvega/grammar/marks/mark_rule.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
7
2020-08-14T14:18:17.000Z
2022-02-01T10:59:24.000Z
// Copyright (c) 2020, QuantStack and XVega Contributors // // Distributed under the terms of the BSD 3-Clause License. // // The full license is in the file LICENSE, distributed with this software. #ifndef XVEGA_MARK_RULE_HPP #define XVEGA_MARK_RULE_HPP #include "../marks.hpp" namespace xv { struct mark_rule : ...
19.782609
75
0.707692
domoritz
9654c62959de7600e8de907ad5a6839bd3b48315
585
hpp
C++
ClassicProblem/reFibonacci.hpp
shaneliu-zf/CodeBook
0c30e46f5661051d523c621eac9740d6dcbab440
[ "MIT" ]
3
2020-12-15T12:34:29.000Z
2020-12-15T21:21:33.000Z
ClassicProblem/reFibonacci.hpp
shane-liu-1010/CodeBook
0c30e46f5661051d523c621eac9740d6dcbab440
[ "MIT" ]
null
null
null
ClassicProblem/reFibonacci.hpp
shane-liu-1010/CodeBook
0c30e46f5661051d523c621eac9740d6dcbab440
[ "MIT" ]
null
null
null
int reFibonacci(int n){ union{ double d; long long lld; }log2={0x23C6EF372FE951P-52*n}; int result=((log2.lld>>52)-0x3FF)/0xB1B9D68A8E5338P-56; double power=0x727C9716FFB764P-56; int i=(result+3)/4; switch(result%4){ case 0:do{ power*=0x19E3779B97F4A8P-52; case 3:...
30.789474
88
0.620513
shaneliu-zf
9657b0ece15c4e4552b441526a981b1f5613f3fe
6,270
cpp
C++
wxGUI/ctrl_partition_list.cpp
Null665/partmod
11f2b90c745e27bdb47b105e0bf45834c62d3527
[ "BSD-3-Clause" ]
1
2017-02-12T15:10:38.000Z
2017-02-12T15:10:38.000Z
wxGUI/ctrl_partition_list.cpp
Null665/partmod
11f2b90c745e27bdb47b105e0bf45834c62d3527
[ "BSD-3-Clause" ]
1
2016-06-03T18:20:16.000Z
2016-10-10T22:22:41.000Z
wxGUI/ctrl_partition_list.cpp
Null665/partmod
11f2b90c745e27bdb47b105e0bf45834c62d3527
[ "BSD-3-Clause" ]
null
null
null
#include "ctrl_partition_list.h" #include "../Partmod/numstr.h" #include <algorithm> using std::sort; bool cmp_lv(lvlist a,lvlist b) { return strtoull((char*)a.begin_sect.c_str(),0,10) < strtoull((char*)b.begin_sect.c_str(),0,10); } wxPartitionList::wxPartitionList(wxWindow *parent, wx...
31.039604
123
0.560447
Null665
96585ee31292329c09c58f971397bc2e0b07b37e
6,026
cc
C++
src/ui/filters/tabbareventfilter.cc
pombredanne/veles
e65de5a7c268129acffcdb03034efd8d256d025c
[ "Apache-2.0" ]
918
2017-01-16T17:31:25.000Z
2022-03-27T07:10:31.000Z
src/ui/filters/tabbareventfilter.cc
pombredanne/veles
e65de5a7c268129acffcdb03034efd8d256d025c
[ "Apache-2.0" ]
193
2017-01-17T13:56:10.000Z
2020-09-01T08:29:48.000Z
src/ui/filters/tabbareventfilter.cc
pombredanne/veles
e65de5a7c268129acffcdb03034efd8d256d025c
[ "Apache-2.0" ]
112
2017-02-01T01:05:57.000Z
2022-03-29T07:21:12.000Z
/* * Copyright 2018 CodiLime * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
31.715789
80
0.659144
pombredanne
965a24213b0e0cce210c5eefd6c24f5e1b0ef002
2,730
hpp
C++
DT3Core/Scripting/ScriptingParticleColorRandomizer.hpp
9heart/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2018-10-05T15:03:27.000Z
2019-03-19T11:01:56.000Z
DT3Core/Scripting/ScriptingParticleColorRandomizer.hpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
null
null
null
DT3Core/Scripting/ScriptingParticleColorRandomizer.hpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2016-01-14T07:51:52.000Z
2021-08-21T08:02:51.000Z
#ifndef DT3_SCRIPTINGPARTICLECOLORRANDOMIZER #define DT3_SCRIPTINGPARTICLECOLORRANDOMIZER //============================================================================== /// /// File: ScriptingParticleColorRandomizer.hpp /// /// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved. ...
35.454545
107
0.476923
9heart
965acb9105b85009cae75d76f715acec39a19fe4
6,485
cpp
C++
sdl1/kiloblaster/src/2b_editr.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/kiloblaster/src/2b_editr.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/kiloblaster/src/2b_editr.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
// 2B_EDITR.C // // Kiloblaster v.2 Editor // // Written by Allen W. Pilgrim #include <stdlib.h> #include <ctype.h> #include <string.h> #include <fcntl.h> #include "include/gr.h" #include "include/keyboard.h" #include "include/windows.h" #include "include/gamectrl.h" #include "include/kconfig.h" #include "include/2bla...
24.846743
68
0.578412
pdpdds
965ca6279cac1e760ea9faafa930f71c56e5d994
9,743
cpp
C++
src/resource/resource_manager.cpp
sndrz/glen
398fbc146c92a2fa36433e9a9865344bc4c23c6e
[ "MIT" ]
null
null
null
src/resource/resource_manager.cpp
sndrz/glen
398fbc146c92a2fa36433e9a9865344bc4c23c6e
[ "MIT" ]
null
null
null
src/resource/resource_manager.cpp
sndrz/glen
398fbc146c92a2fa36433e9a9865344bc4c23c6e
[ "MIT" ]
null
null
null
#include "../../includes/resource/resource_manager.hpp" #include "../../includes/render/shader_program.hpp" #include "../../includes/render/texture2d.hpp" #include "../../includes/render/sprite.hpp" #include "../includes/logger.hpp" #include <sstream> #include <fstream> #include <iostream> #include <vector> #define S...
41.815451
193
0.725136
sndrz
9660835c2012e72569a4a4f893a430e82ea2076b
2,939
cpp
C++
src/game/client/swarm/vgui/playerswaitingpanel.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
src/game/client/swarm/vgui/playerswaitingpanel.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
src/game/client/swarm/vgui/playerswaitingpanel.cpp
BlueNovember/alienswarm-reactivedrop
ffaca58157f9fdd36e5c48e8d7d34d8ca958017e
[ "CC0-1.0" ]
null
null
null
#include "cbase.h" #include "PlayersWaitingPanel.h" #include "vgui/isurface.h" #include <KeyValues.h> #include <vgui_controls/Label.h> #include "c_asw_game_resource.h" #include "c_playerresource.h" // memdbgon must be the last include file in a .cpp file!!! #include <tier0/memdbgon.h> PlayersWaitingPanel...
31.602151
114
0.696155
BlueNovember
9663569663a266aae9657999178e5c9e5cbced75
12,841
cpp
C++
RenderCore/Techniques/CommonResources.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
3
2015-12-04T09:16:53.000Z
2021-05-28T23:22:49.000Z
RenderCore/Techniques/CommonResources.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
null
null
null
RenderCore/Techniques/CommonResources.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
2
2015-03-03T05:32:39.000Z
2015-12-04T09:16:54.000Z
// Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "CommonResources.h" #include "CommonBindings.h" #include "../IDevice.h" #include "../Metal/Metal.h" #include "../Metal/Resource.h" // for Metal::CompleteIniti...
62.639024
232
0.696052
djewsbury
966417aa7ffa9a07a97bc85a1348824217b9e726
5,067
cpp
C++
OpenSHMEM/buffon.cpp
aljo242/nn_training
ce583cbf5a03ec10dbece768961863720f83093b
[ "Apache-2.0" ]
null
null
null
OpenSHMEM/buffon.cpp
aljo242/nn_training
ce583cbf5a03ec10dbece768961863720f83093b
[ "Apache-2.0" ]
null
null
null
OpenSHMEM/buffon.cpp
aljo242/nn_training
ce583cbf5a03ec10dbece768961863720f83093b
[ "Apache-2.0" ]
null
null
null
#include <cstdlib> #include <iostream> #include <iomanip> #include <cmath> #include <shmem.h> static const double PI = 3.141592653589793238462643; int buffon_laplace_simulate(double a, double b, double l, int trial_num) { double angle; int hits; int trial; double x1; double x2; double y1; ...
26.253886
86
0.525755
aljo242
966c21903180632e01bb45310a389af5a4677467
8,719
cpp
C++
src/wrapper/lua_qevent.cpp
nddvn2008/bullet-physics-playground
2895af190054b6a38525b679cf3f241c7147ee6f
[ "Zlib" ]
1
2015-10-05T01:25:18.000Z
2015-10-05T01:25:18.000Z
src/wrapper/lua_qevent.cpp
nddvn2008/bullet-physics-playground
2895af190054b6a38525b679cf3f241c7147ee6f
[ "Zlib" ]
null
null
null
src/wrapper/lua_qevent.cpp
nddvn2008/bullet-physics-playground
2895af190054b6a38525b679cf3f241c7147ee6f
[ "Zlib" ]
2
2015-01-02T20:02:13.000Z
2018-02-26T03:08:43.000Z
#include "lua_qevent.h" #include "luabind/dependency_policy.hpp" namespace luabind{ QT_ENUM_CONVERTER(Qt::KeyboardModifiers) QT_ENUM_CONVERTER(Qt::MouseButtons) QT_ENUM_CONVERTER(Qt::MouseButton) QT_ENUM_CONVERTER(Qt::DropAction) QT_ENUM_CONVERTER(Qt::DropActions) } template<typename T> bool isEve...
31.59058
118
0.634247
nddvn2008
966f066b660428f453e76ff4f9310ab3f7219133
23,540
cc
C++
usd/src/usd_parser/USDLinks.cc
robotics-upo/sdformat
30f01b38b5284db2160a566fe8957a00ea707700
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
usd/src/usd_parser/USDLinks.cc
robotics-upo/sdformat
30f01b38b5284db2160a566fe8957a00ea707700
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
usd/src/usd_parser/USDLinks.cc
robotics-upo/sdformat
30f01b38b5284db2160a566fe8957a00ea707700
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2022 Open Source Robotics Foundation * * 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 appl...
30.140845
84
0.64537
robotics-upo
9670a4eeb240b1c0b16e6470a3f25e7d4d99184e
3,763
cpp
C++
coding/point_coding.cpp
ToshUxanoff/omim
a8acb5821c72bd78847d1c49968b14d15b1e06ee
[ "Apache-2.0" ]
13
2019-09-16T17:45:31.000Z
2022-01-29T15:51:52.000Z
coding/point_coding.cpp
MohammadMoeinfar/omim
7b7d1990143bc3cbe218ea14b5428d0fc02d78fc
[ "Apache-2.0" ]
37
2019-10-04T00:55:46.000Z
2019-12-27T15:13:19.000Z
coding/point_coding.cpp
vmihaylenko/omim
00087f340e723fc611cbc82e0ae898b9053b620a
[ "Apache-2.0" ]
13
2019-10-02T15:03:58.000Z
2020-12-28T13:06:22.000Z
#include "coding/point_coding.hpp" #include "geometry/mercator.hpp" #include "base/assert.hpp" #include "base/bits.hpp" #include "base/math.hpp" namespace { double CoordSize(uint8_t coordBits) { ASSERT_LESS_OR_EQUAL(coordBits, 32, ()); return static_cast<double>((uint64_t{1} << coordBits) - 1); } } // namespace...
33.598214
100
0.69705
ToshUxanoff
9671460fad50fc96675723b56d38f5e2a22998ce
1,170
cpp
C++
codechef/STROPR.cpp
hardbeater/Coding-competition-solution
d75eb704caa26a33505f0488f91636cc27d4c849
[ "MIT" ]
1
2016-10-02T03:22:57.000Z
2016-10-02T03:22:57.000Z
codechef/STROPR.cpp
hardbeater/Coding-competition-solution
d75eb704caa26a33505f0488f91636cc27d4c849
[ "MIT" ]
null
null
null
codechef/STROPR.cpp
hardbeater/Coding-competition-solution
d75eb704caa26a33505f0488f91636cc27d4c849
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<vector> #include<cstdlib> #include<cmath> #include<cstring> typedef unsigned long long int lli; lli mod=1000000007; using namespace std; lli a[100010]; lli nu,de; lli power(lli a,lli b) { lli res = 1; while(b > 0) { if( b % 2 != 0) { ...
13.295455
36
0.432479
hardbeater
96727133f2d1e8aa777c256e2a3acb64a6e9a900
2,113
cpp
C++
Siv3D/src/Siv3D/TexturedRoundRect/SivTexturedRoundRect.cpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
2
2021-11-22T00:52:48.000Z
2021-12-24T09:33:55.000Z
Siv3D/src/Siv3D/TexturedRoundRect/SivTexturedRoundRect.cpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/TexturedRoundRect/SivTexturedRoundRect.cpp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
1
2021-12-31T05:08:00.000Z
2021-12-31T05:08:00.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2022 Ryo Suzuki // Copyright (c) 2016-2022 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <Siv3D/TexturedRoundRect.hpp> # incl...
28.945205
146
0.666351
tas9n
9678043ef21e664d14800ffd4eb8e8edaee80920
966
cpp
C++
source/uwp/Renderer/lib/AdaptiveToggleInputConfig.cpp
zhusongm/AdaptiveCards
c8c8d26d0f4c843c26364136fd58cae8a4aefa9b
[ "MIT" ]
null
null
null
source/uwp/Renderer/lib/AdaptiveToggleInputConfig.cpp
zhusongm/AdaptiveCards
c8c8d26d0f4c843c26364136fd58cae8a4aefa9b
[ "MIT" ]
null
null
null
source/uwp/Renderer/lib/AdaptiveToggleInputConfig.cpp
zhusongm/AdaptiveCards
c8c8d26d0f4c843c26364136fd58cae8a4aefa9b
[ "MIT" ]
null
null
null
#include "pch.h" #include "AdaptiveToggleInputConfig.h" #include "AdaptiveSeparationConfig.h" using namespace Microsoft::WRL; using namespace ABI::AdaptiveCards::XamlCardRenderer; namespace AdaptiveCards { namespace XamlCardRenderer { HRESULT AdaptiveToggleInputConfig::RuntimeClassInitialize() noexcept try { ...
28.411765
115
0.771222
zhusongm
967814559a9e5ddd063914b6b6b097beb76a4241
458
cpp
C++
src/Thread.cpp
shalithasuranga/neutralino-server-linux
41bbb6a349af00c65bbbefc9aecd7661b99beea6
[ "MIT" ]
2
2021-01-20T09:32:58.000Z
2021-07-02T04:46:42.000Z
src/Thread.cpp
shalithasuranga/neutralinojs-server-linux
41bbb6a349af00c65bbbefc9aecd7661b99beea6
[ "MIT" ]
2
2018-06-14T15:21:39.000Z
2018-06-19T11:33:11.000Z
src/Thread.cpp
neutralinojs/neutralinojs-server-linux
41bbb6a349af00c65bbbefc9aecd7661b99beea6
[ "MIT" ]
null
null
null
/* * Author: Broglie * E-mail: yibo141@outlook.com */ #include <pthread.h> #include <assert.h> #include "Thread.h" void Thread::start() { assert(!started); started = true; if(pthread_create(&pthreadId, NULL, threadFunc, _arg)) started = false; //std::cout << "----------Thread created------...
19.083333
69
0.593886
shalithasuranga
967b278cf5c670082ad5a8f615252fd100ec0a30
471
cpp
C++
PAT/PAT-A/CPP/1019.General Palindromic Number (20 分).cpp
hao14293/2021-Postgraduate-408
70e1c40e6bcf0c5afe4a4638a7c168069d9c8319
[ "MIT" ]
950
2020-02-21T02:39:18.000Z
2022-03-31T07:27:36.000Z
PAT/PAT-A/CPP/1019.General Palindromic Number (20 分).cpp
RestmeF/2021-Postgraduate-408
70e1c40e6bcf0c5afe4a4638a7c168069d9c8319
[ "MIT" ]
6
2020-04-03T13:08:47.000Z
2022-03-07T08:54:56.000Z
PAT/PAT-A/CPP/1019.General Palindromic Number (20 分).cpp
RestmeF/2021-Postgraduate-408
70e1c40e6bcf0c5afe4a4638a7c168069d9c8319
[ "MIT" ]
131
2020-02-22T15:35:59.000Z
2022-03-21T04:23:57.000Z
#include <iostream> using namespace std; int main(){ int n, d; scanf("%d %d", &n, &d); int arr[40], index = 0; while(n != 0){ arr[index++] = n % d; n = n / d; } int flag = 0; for(int i = 0; i < index / 2; i++){ if(arr[i] != arr[index - i - 1]){ printf("No\n"); flag = 1; break; } } if(!flag) p...
16.241379
37
0.469214
hao14293
967d0c1d78f9f96380f7e150f1147a9a66c8626e
5,445
cpp
C++
drawmapfigure.cpp
AirSThib/MinetestMapperGUI
adb672841de32c1ac1ab36d78731831ecfc369d3
[ "CC-BY-3.0" ]
1
2021-08-05T08:58:04.000Z
2021-08-05T08:58:04.000Z
drawmapfigure.cpp
AirSThib/MinetestMapperGUI
adb672841de32c1ac1ab36d78731831ecfc369d3
[ "CC-BY-3.0" ]
null
null
null
drawmapfigure.cpp
AirSThib/MinetestMapperGUI
adb672841de32c1ac1ab36d78731831ecfc369d3
[ "CC-BY-3.0" ]
1
2021-04-08T14:44:27.000Z
2021-04-08T14:44:27.000Z
#include "drawmapfigure.h" QStringList DrawMapFigure::figuresList = QStringList() << QT_TR_NOOP("Unknown") << QT_TR_NOOP("Arrow") << QT_TR_NOOP("Circle") ...
23.571429
113
0.573737
AirSThib
9680cd5f4ce0ae495da1c59a55444ae5eae43263
5,946
cc
C++
yggdrasil_decision_forests/utils/evaluation_test.cc
isabella232/yggdrasil-decision-forests
52ed2571c46baa9738f81d7341dc27700dbfec73
[ "Apache-2.0" ]
135
2021-05-12T18:02:11.000Z
2022-03-30T16:48:44.000Z
yggdrasil_decision_forests/utils/evaluation_test.cc
google/yggdrasil-decision-forests
0b284d8afe7ac4773abcdeee88a77681f8681127
[ "Apache-2.0" ]
11
2021-06-25T17:25:38.000Z
2022-03-30T03:31:24.000Z
yggdrasil_decision_forests/utils/evaluation_test.cc
isabella232/yggdrasil-decision-forests
52ed2571c46baa9738f81d7341dc27700dbfec73
[ "Apache-2.0" ]
10
2021-05-27T02:51:36.000Z
2022-03-28T07:03:52.000Z
/* * Copyright 2021 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...
36.931677
78
0.697107
isabella232
96826bd1490737b4122f9f80c92a5e14d535d4cc
6,420
hpp
C++
src/libraries/core/fields/fvPatchFields/derived/flowRateOutletVelocity/flowRateOutletVelocityFvPatchVectorField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/fields/fvPatchFields/derived/flowRateOutletVelocity/flowRateOutletVelocityFvPatchVectorField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/fields/fvPatchFields/derived/flowRateOutletVelocity/flowRateOutletVelocityFvPatchVectorField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2014 Applied CCM Copyright (C) 2017 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribut...
30.42654
80
0.597975
MrAwesomeRocks
96827a485e500ad67408a91718f6ee81894de1d4
7,254
cpp
C++
skin_generator/generator.cpp
vicpopov/omim
664b458998fb0f2405f68ae830c2798e027b2dcc
[ "Apache-2.0" ]
7
2020-12-20T23:21:10.000Z
2020-12-23T23:38:58.000Z
skin_generator/generator.cpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
1
2018-11-26T15:44:46.000Z
2018-11-27T10:55:36.000Z
skin_generator/generator.cpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
null
null
null
#include "generator.hpp" #include "base/logging.hpp" #include "base/math.hpp" #include <algorithm> #include <fstream> #include <functional> #include <iostream> #include <iterator> #include <QtXml/QDomElement> #include <QtXml/QDomDocument> #include <QtCore/QDir> namespace tools { namespace { struct GreaterHeight { ...
29.13253
108
0.609181
vicpopov
968365c6410eec6015a053a24d4d9b633575d595
819
hpp
C++
runtime-lib/include/modules/ModuleFactory.hpp
edwino-stein/elrond-runtime-linux
77b64e9c960c53fa8a2a2e5b9d96e060b5c95533
[ "Apache-2.0" ]
null
null
null
runtime-lib/include/modules/ModuleFactory.hpp
edwino-stein/elrond-runtime-linux
77b64e9c960c53fa8a2a2e5b9d96e060b5c95533
[ "Apache-2.0" ]
13
2019-11-29T21:58:39.000Z
2020-04-02T03:30:43.000Z
runtime-lib/include/modules/ModuleFactory.hpp
edwino-stein/elrond-runtime
77b64e9c960c53fa8a2a2e5b9d96e060b5c95533
[ "Apache-2.0" ]
null
null
null
#if !defined _ELROND_RUNTIME_MODULE_FACTORY_HPP #define _ELROND_RUNTIME_MODULE_FACTORY_HPP #include "rtTypes.hpp" namespace elrond { namespace runtime { class ModuleFactory { protected: elrond::String _name; elrond::runtime::M...
26.419355
93
0.545788
edwino-stein
968539cbbbb5705b37cc802cbf63090a1867ae15
14,005
cpp
C++
src/gtsamutils.cpp
tmcg0/bioslam
d59f07733cb3a9a1de8e6dea4b1fb745d706da09
[ "MIT" ]
6
2021-01-26T19:31:46.000Z
2022-03-10T15:33:49.000Z
src/gtsamutils.cpp
tmcg0/bioslam
d59f07733cb3a9a1de8e6dea4b1fb745d706da09
[ "MIT" ]
8
2021-01-26T16:12:22.000Z
2021-08-12T18:39:36.000Z
src/gtsamutils.cpp
tmcg0/bioslam
d59f07733cb3a9a1de8e6dea4b1fb745d706da09
[ "MIT" ]
1
2021-05-02T18:47:42.000Z
2021-05-02T18:47:42.000Z
// -------------------------------------------------------------------- // // (c) Copyright 2021 Massachusetts Institute of Technology // // Author: Tim McGrath // // All rights reserved. See LICENSE file for license information. // // -----------------...
46.374172
173
0.619564
tmcg0