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
109
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
48.5k
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
8d451901383a043d62cdc80e5fb6fda54d59fc55
3,103
cpp
C++
src/config_loader.cpp
oeone/ClashSubGenerator
3188f336a4388ed304c82d2d24b9ef69f21f32d5
[ "MIT" ]
2
2021-12-16T11:20:00.000Z
2021-12-16T11:20:11.000Z
src/config_loader.cpp
oeone/ClashSubGenerator
3188f336a4388ed304c82d2d24b9ef69f21f32d5
[ "MIT" ]
1
2020-08-04T02:09:40.000Z
2020-08-04T02:09:40.000Z
src/config_loader.cpp
oeone/ClashSubGenerator
3188f336a4388ed304c82d2d24b9ef69f21f32d5
[ "MIT" ]
3
2020-08-01T07:06:07.000Z
2021-12-14T12:33:36.000Z
// // Created by Kotarou on 2020/8/7. // #include <fstream> #include <fmt/format.h> #include <yaml-cpp/yaml.h> #include <spdlog/spdlog.h> #include "config_loader.h" #include "uri.h" #include "hash.h" #include "httpclient.h" #include "filesystem.h" #include "exception/invalid_uri_exception.h" std::shared_ptr<ConfigLoa...
31.663265
108
0.617145
oeone
8d4753a57f45e5e2681497ef18b41ef86c7aaa30
813
cpp
C++
kernel/posix/string.cpp
mschwartz/amos
345a4f8f52b9805722c10ac4cedb24b480fe2dc7
[ "MIT" ]
4
2020-08-18T00:11:09.000Z
2021-04-05T11:16:32.000Z
kernel/posix/string.cpp
mschwartz/amos
345a4f8f52b9805722c10ac4cedb24b480fe2dc7
[ "MIT" ]
1
2020-08-15T20:39:13.000Z
2020-08-15T20:39:13.000Z
kernel/posix/string.cpp
mschwartz/amos
345a4f8f52b9805722c10ac4cedb24b480fe2dc7
[ "MIT" ]
null
null
null
#include <posix.h> #include <posix/string.h> size_t strlen(char *s) { int count = 0; while (*s++) { count++; } return count; } void strcpy(char *dst, const char *src) { while ((*dst++ = *src++)); } void reverse(char *src) { int l = strlen(src); char work[l+1]; char *dst = work, *end_ptr = ...
16.9375
49
0.499385
mschwartz
8d481bc1adad90985207ec3cbeae0668734d7fa6
1,519
cpp
C++
3666 THE MATRIX PROBLEM/main.cpp
sqc1999-oi/HDU
5583755c5b7055e4a7254b2124f67982cc49b72d
[ "MIT" ]
1
2016-07-18T12:05:44.000Z
2016-07-18T12:05:44.000Z
3666 THE MATRIX PROBLEM/main.cpp
sqc1999-oi/HDU
5583755c5b7055e4a7254b2124f67982cc49b72d
[ "MIT" ]
null
null
null
3666 THE MATRIX PROBLEM/main.cpp
sqc1999-oi/HDU
5583755c5b7055e4a7254b2124f67982cc49b72d
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <stack> #include <cstring> #include <cmath> using namespace std; struct Edge { int To, Next; double Pow; Edge(int to, double pow, int next) : To(to), Pow(pow), Next(next) { } Edge() { } } E[1000001]; int G[1001], cnt, Cnt[1001]; double dis[...
18.301205
45
0.463463
sqc1999-oi
8d4a5ff37dbf9d49be0181b68162842065d0664f
2,140
hpp
C++
Sources/SF2Lib/include/SF2Lib/Render/LowPassFilter.hpp
bradhowes/SF2Lib
766c38c9c49e3cf66f4161edc1695e071c345b63
[ "MIT" ]
null
null
null
Sources/SF2Lib/include/SF2Lib/Render/LowPassFilter.hpp
bradhowes/SF2Lib
766c38c9c49e3cf66f4161edc1695e071c345b63
[ "MIT" ]
null
null
null
Sources/SF2Lib/include/SF2Lib/Render/LowPassFilter.hpp
bradhowes/SF2Lib
766c38c9c49e3cf66f4161edc1695e071c345b63
[ "MIT" ]
null
null
null
// Copyright © 2022 Brad Howes. All rights reserved. #pragma once #include <cassert> #include <iostream> #include "SF2Lib/DSP/DSP.hpp" #include "DSPHeaders/Biquad.hpp" namespace SF2::Render { class LowPassFilter { public: using Coefficients = DSPHeaders::Biquad::Coefficients<Float>; inline static Float defaul...
29.315068
110
0.732243
bradhowes
8d4d75eba468a4a2046fb087e3730c283fee453c
490
cpp
C++
ch04/DemoConstCast.cpp
imshenzhuo/CppPrimer
87c74c0a36223e86571c2aedd9da428c06b04f4d
[ "CC0-1.0" ]
3
2019-09-21T13:03:57.000Z
2020-04-05T02:42:53.000Z
ch04/DemoConstCast.cpp
imshenzhuo/CppPrimer
87c74c0a36223e86571c2aedd9da428c06b04f4d
[ "CC0-1.0" ]
null
null
null
ch04/DemoConstCast.cpp
imshenzhuo/CppPrimer
87c74c0a36223e86571c2aedd9da428c06b04f4d
[ "CC0-1.0" ]
null
null
null
/************************************************************************* > File Name: DemoConstCast.cpp > Author: shenzhuo > Mail: im.shenzhuo@gmail.com > Created Time: 2019年08月29日 星期四 10时39分19秒 ************************************************************************/ #include<iostream> using names...
18.148148
74
0.408163
imshenzhuo
8d4f50cddfb2355f2a867d814a27879a5dc18d15
8,129
cpp
C++
ql/experimental/commodities/energycommodity.cpp
igitur/quantlib
3f6b7271a68004cdb6db90f0e87346e8208234a2
[ "BSD-3-Clause" ]
1
2021-04-28T02:21:54.000Z
2021-04-28T02:21:54.000Z
ql/experimental/commodities/energycommodity.cpp
wangpeng-personal/QuantLib
2e4e4f1662bf15d18d19b396079feb36acb60150
[ "BSD-3-Clause" ]
4
2021-02-08T06:07:05.000Z
2022-03-29T12:23:40.000Z
ql/experimental/commodities/energycommodity.cpp
westonsteimel/QuantLib
739ea894961dc6da5e8aa0b61c392d40637d39c1
[ "BSD-3-Clause" ]
null
null
null
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2008 J. Erik Radmall This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and...
45.926554
100
0.546193
igitur
8d52f5de01200eee6b2c6a4af694c61dbc8cd553
4,026
cpp
C++
10b/Chapter_13_Binary_Search_Tree_Code.cpp
mparsakia/pic-ucla
bca66812d2ce9daa8dcaa7ab126260c75f9c9ab4
[ "Unlicense" ]
1
2020-08-07T13:03:14.000Z
2020-08-07T13:03:14.000Z
10b/Chapter_13_Binary_Search_Tree_Code.cpp
mparsakia/pic-ucla
bca66812d2ce9daa8dcaa7ab126260c75f9c9ab4
[ "Unlicense" ]
null
null
null
10b/Chapter_13_Binary_Search_Tree_Code.cpp
mparsakia/pic-ucla
bca66812d2ce9daa8dcaa7ab126260c75f9c9ab4
[ "Unlicense" ]
null
null
null
#include <vector> #include <iostream> #include <assert.h> #include <stdio.h> #include <algorithm> #include <fstream> #include <cstring> #include <string> #include <iomanip> #include <sstream> #include <map> #include <set> #include <list> // Binary Search Tree using namespace std; class TreeNode { public: v...
19.930693
66
0.633631
mparsakia
8d55c465e9037f1d5bb43fa3ec412752ad98af06
984
hpp
C++
sdk/storage/azure-storage-files-datalake/test/ut/datalake_file_system_client_test.hpp
varchar-io/azure-sdk-for-cpp
4d498c59baf21fa9160ea913d379380ecc60e65d
[ "MIT" ]
null
null
null
sdk/storage/azure-storage-files-datalake/test/ut/datalake_file_system_client_test.hpp
varchar-io/azure-sdk-for-cpp
4d498c59baf21fa9160ea913d379380ecc60e65d
[ "MIT" ]
null
null
null
sdk/storage/azure-storage-files-datalake/test/ut/datalake_file_system_client_test.hpp
varchar-io/azure-sdk-for-cpp
4d498c59baf21fa9160ea913d379380ecc60e65d
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include <azure/storage/files/datalake.hpp> #include "datalake_service_client_test.hpp" #include "test/ut/test_base.hpp" namespace Azure { namespace Storage { namespace Test { class DataLakeFileSystemClientTest : public D...
28.941176
82
0.727642
varchar-io
8d5a723da6ca46440e400b17cb83be03294901c3
596
hpp
C++
tcob/include/tcob/game/Config.hpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
2
2021-08-18T19:14:35.000Z
2021-12-01T14:14:49.000Z
tcob/include/tcob/game/Config.hpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
null
null
null
tcob/include/tcob/game/Config.hpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Tobias Bohnen // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #include <tcob/tcob_config.hpp> #include <tcob/script/LuaScript.hpp> #include <tcob/script/LuaTable.hpp> namespace tcob { ////////////////////////////////////////////////////...
22.074074
61
0.60906
TobiasBohnen
8d64dc75a23e683306389a96bd8e232ccdb68390
1,179
hpp
C++
src/HTMLElements/HTMLElement.hpp
windlessStorm/WebWhir
0ed261427d4f4e4f81b62816dc0d94bfacd0890b
[ "MIT" ]
90
2017-04-03T21:42:57.000Z
2022-01-22T11:08:56.000Z
src/HTMLElements/HTMLElement.hpp
windlessStorm/WebWhir
0ed261427d4f4e4f81b62816dc0d94bfacd0890b
[ "MIT" ]
21
2017-03-06T21:45:36.000Z
2017-03-06T21:45:37.000Z
src/HTMLElements/HTMLElement.hpp
windlessStorm/WebWhir
0ed261427d4f4e4f81b62816dc0d94bfacd0890b
[ "MIT" ]
17
2017-04-15T22:42:13.000Z
2021-12-20T09:50:15.000Z
#ifndef HTMLELEMENT_H #define HTMLELEMENT_H #include <string> #include <vector> #include <memory> class HTMLElement { public: HTMLElement(); HTMLElement(const HTMLElement &element); virtual ~HTMLElement(); std::wstring get_id() const; std::wstring get_title() const; ...
31.026316
71
0.64631
windlessStorm
8d65d0ce0bc4f84d1a9f3a7f41375fea055d62b3
18,694
cpp
C++
src/materialsystem/checkmaterials.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/materialsystem/checkmaterials.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/materialsystem/checkmaterials.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //============================================================================= #include "pch_materialsystem.h" // NOTE: currently this file is marked as "exclude from build" //#define _CHECK_MATERIALS_FOR_PROBLEMS 1 #ifd...
28.111278
184
0.626993
cstom4994
8d66d37fee5dcf53c2a2864894cf5d9dc2201831
4,844
cc
C++
tests/whitebox/db/wb_redis_db.cc
rohitjoshi/waflz
220945e6472762af8d8d7e0849699adcfd488605
[ "Apache-2.0" ]
null
null
null
tests/whitebox/db/wb_redis_db.cc
rohitjoshi/waflz
220945e6472762af8d8d7e0849699adcfd488605
[ "Apache-2.0" ]
null
null
null
tests/whitebox/db/wb_redis_db.cc
rohitjoshi/waflz
220945e6472762af8d8d7e0849699adcfd488605
[ "Apache-2.0" ]
null
null
null
//: ---------------------------------------------------------------------------- //: Copyright (C) 2016 Verizon. All Rights Reserved. //: All Rights Reserved //: //: \file: TODO.cc //: \details: TODO //: \author: Reed P. Morrison //: \date: 12/06/2016 //: //: Licensed under the Apache License, Version 2.0 (th...
47.029126
103
0.469447
rohitjoshi
8d6cb3dee50f6e889499ed9969d9f70c016d518e
752
cpp
C++
test/transducer/remove.cpp
Yohsi/zug
ec11ca4642c51eb07de76a5b4a3b90a675cc428e
[ "BSL-1.0" ]
163
2019-11-19T20:58:55.000Z
2022-03-07T10:30:10.000Z
test/transducer/remove.cpp
Yohsi/zug
ec11ca4642c51eb07de76a5b4a3b90a675cc428e
[ "BSL-1.0" ]
26
2019-09-16T18:09:44.000Z
2022-01-25T10:04:13.000Z
test/transducer/remove.cpp
Yohsi/zug
ec11ca4642c51eb07de76a5b4a3b90a675cc428e
[ "BSL-1.0" ]
16
2019-09-08T15:22:18.000Z
2022-02-11T20:33:04.000Z
// // zug: transducers for C++ // Copyright (C) 2019 Juan Pedro Bolivar Puente // // This software is distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt // #include <catch2/catch.hpp> #include <zug/compose.hpp> #include <zug/transduc...
25.931034
79
0.631649
Yohsi
8d6e3fb5d66937ef9de5f31123ca3d62f514b952
1,343
cpp
C++
source/hougfx/test/hou/gfx/test_text_box_formatting_params.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/hougfx/test/hou/gfx/test_text_box_formatting_params.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/hougfx/test/hou/gfx/test_text_box_formatting_params.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/test.hpp" #include "hou/gfx/text_box_formatting_params.hpp" using namespace hou; using namespace testing; namespace { class test_text_box_formatting_params : public Test {}; } // namespace TEST_F(test_te...
21.31746
73
0.743857
DavideCorradiDev
8d724197a25d463b41babf68fd595e0f1a389599
42,743
cpp
C++
pkgs/apps/fluidanimate/src/pthreads.cpp
mariobadr/parsec-benchmarks
df65311b02d96fc6525fd49cf915a1885987d5a1
[ "BSD-3-Clause" ]
null
null
null
pkgs/apps/fluidanimate/src/pthreads.cpp
mariobadr/parsec-benchmarks
df65311b02d96fc6525fd49cf915a1885987d5a1
[ "BSD-3-Clause" ]
null
null
null
pkgs/apps/fluidanimate/src/pthreads.cpp
mariobadr/parsec-benchmarks
df65311b02d96fc6525fd49cf915a1885987d5a1
[ "BSD-3-Clause" ]
null
null
null
//Code written by Richard O. Lee and Christian Bienia //Modified by Christian Fensch #include <cstdlib> #include <cstring> #include <iostream> #include <fstream> #if defined(WIN32) #define NOMINMAX #include <windows.h> #endif #include <math.h> #include <pthread.h> #include <assert.h> #include <float.h> #include "f...
33.445227
179
0.563624
mariobadr
8d736a42ca153192fb308eac032136f93f9f8d9b
4,668
cpp
C++
src/GuiLayout.cpp
codenamecpp/GrimLandsKeeper
a2207e2a459a254cbc703306ef92a09ecf714090
[ "MIT" ]
14
2020-06-27T18:51:41.000Z
2022-03-30T18:20:02.000Z
src/GuiLayout.cpp
codenamecpp/GLKeeper
a2207e2a459a254cbc703306ef92a09ecf714090
[ "MIT" ]
1
2020-06-07T09:48:11.000Z
2020-06-07T09:48:11.000Z
src/GuiLayout.cpp
codenamecpp/GrimLandsKeeper
a2207e2a459a254cbc703306ef92a09ecf714090
[ "MIT" ]
2
2020-08-27T09:38:10.000Z
2021-08-12T01:17:30.000Z
#include "pch.h" #include "GuiLayout.h" #include "GuiWidget.h" GuiLayout::GuiLayout() : mOrientation(eGuiLayoutOrientation_Horizontal) , mCols(1) , mRows(1) , mSpacingHorz() , mSpacingVert() , mPaddingL() , mPaddingT() , mPaddingR() , mPaddingB() , mLayoutType(eGuiLayo...
25.096774
99
0.591688
codenamecpp
8d740ee14c6eba58a6d514970a59c5e79e2c3b21
550
hpp
C++
src/AST/Statements/ProcedureCallStatement.hpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
src/AST/Statements/ProcedureCallStatement.hpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
src/AST/Statements/ProcedureCallStatement.hpp
CarsonFox/CPSL
07a949166d9399f273ddf15e239ade6e5ea6e4a5
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <memory> #include "Statement.hpp" #include <src/AST/Expressions/Expression.hpp> #include <src/AST/Expressions/ExpressionList.hpp> struct ProcedureCallStatement : Statement { std::string id; std::vector<std::shared_ptr<Expression>> args; Procedure...
22.916667
63
0.732727
CarsonFox
8d7600502f946ed0f5cb6f0ce49cf39a1d62ff17
2,691
cpp
C++
src/viewlinecache.cpp
alexezh/trv
1dd97096ed9f60ffb64c4e44e2e309e9c5002224
[ "MIT" ]
null
null
null
src/viewlinecache.cpp
alexezh/trv
1dd97096ed9f60ffb64c4e44e2e309e9c5002224
[ "MIT" ]
2
2016-11-25T19:52:09.000Z
2017-04-15T14:49:52.000Z
src/viewlinecache.cpp
alexezh/trv
1dd97096ed9f60ffb64c4e44e2e309e9c5002224
[ "MIT" ]
null
null
null
// Copyright (c) 2013 Alexandre Grigorovitch (alexezh@gmail.com). // // 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,...
26.126214
96
0.733928
alexezh
8d76ce6d49188f6daad29d6f68a26819f056b6c3
1,087
hpp
C++
missions/_missions1/dcg.takistan/cfgParams.hpp
ademirt/Arma3
f75c28f59deb45e56d021d9d1d3458b145432bd8
[ "MIT" ]
null
null
null
missions/_missions1/dcg.takistan/cfgParams.hpp
ademirt/Arma3
f75c28f59deb45e56d021d9d1d3458b145432bd8
[ "MIT" ]
null
null
null
missions/_missions1/dcg.takistan/cfgParams.hpp
ademirt/Arma3
f75c28f59deb45e56d021d9d1d3458b145432bd8
[ "MIT" ]
null
null
null
/* Types (SCALAR, BOOL, SIDE) */ class dcg_main_debug { title = "Debug Mode"; values[] = {0,1}; texts[] = {"Off", "On"}; default = 0; setParam = 1; typeName = ""; }; class dcg_main_loadData { title = "Load Mission Data"; values[] = {0,1}; texts[] = {"Off", "On"}; default = 1; setPa...
20.903846
61
0.543698
ademirt
8d7711a46890e79e299c6f3a5a3576b8420c06a6
2,153
hpp
C++
modules/kvm/include/virt86/kvm/kvm_platform.hpp
dmiller423/virt86
f6cedb78dc55b8ea1b8ca4b53209a58a49b5bd60
[ "MIT" ]
148
2019-02-19T11:05:28.000Z
2022-02-26T11:57:05.000Z
modules/kvm/include/virt86/kvm/kvm_platform.hpp
dmiller423/virt86
f6cedb78dc55b8ea1b8ca4b53209a58a49b5bd60
[ "MIT" ]
16
2019-02-19T02:51:48.000Z
2019-12-11T21:17:12.000Z
modules/kvm/include/virt86/kvm/kvm_platform.hpp
dmiller423/virt86
f6cedb78dc55b8ea1b8ca4b53209a58a49b5bd60
[ "MIT" ]
17
2019-02-19T04:05:33.000Z
2021-05-02T12:14:13.000Z
/* Declares the implementation class for the KVM hypervisor platform adapter. Include this file to use KVM as a platform. The platform instance is exposed as a singleton: auto& instance = virt86::kvm::KvmPlatform::Instance(); ------------------------------------------------------------------------------- MIT Licens...
34.174603
98
0.739898
dmiller423
8d78a7cbedccd8599f2906804066cfde7f4782a4
553
cpp
C++
gamma/system/packed_data.cpp
mbellman/gamma
a11a15492366682c2aec0a4570c6d091a83fe632
[ "Unlicense" ]
null
null
null
gamma/system/packed_data.cpp
mbellman/gamma
a11a15492366682c2aec0a4570c6d091a83fe632
[ "Unlicense" ]
null
null
null
gamma/system/packed_data.cpp
mbellman/gamma
a11a15492366682c2aec0a4570c6d091a83fe632
[ "Unlicense" ]
null
null
null
#include "system/packed_data.h" #include "system/type_aliases.h" #define CLAMP(f) (f < 0.0f ? 0.0f : f > 1.0f ? 1.0f : f) namespace Gamma { /** * pVec4 * ----- */ pVec4::pVec4(const Vec3f& value) { r = uint8(CLAMP(value.x) * 255.0f); g = uint8(CLAMP(value.y) * 255.0f); b = uint8(CLAMP(value.z...
23.041667
56
0.551537
mbellman
8d7930c6c57473ce4bfd2a0f3acb576cb0a0a2b0
6,468
cpp
C++
serverS.cpp
ksuryakrishna/Socket-Programming
03c8903f060a59f126156214da191799b0653ac1
[ "MIT" ]
null
null
null
serverS.cpp
ksuryakrishna/Socket-Programming
03c8903f060a59f126156214da191799b0653ac1
[ "MIT" ]
null
null
null
serverS.cpp
ksuryakrishna/Socket-Programming
03c8903f060a59f126156214da191799b0653ac1
[ "MIT" ]
null
null
null
/* ** serverS.cpp: - Creates a map of scores and names - Receives requests from the central and sends the scores to the central - Closes the socket - by Surya Krishna Kasiviswanathan, USC ID: 9083261716 */ #include <iostream> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include ...
26.4
92
0.655071
ksuryakrishna
8d7a0c4969e09c863b8e69d40d7da40793af029e
493
cpp
C++
digitanks/src/dtintro/main.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
5
2015-07-03T18:42:32.000Z
2017-08-25T10:28:12.000Z
digitanks/src/dtintro/main.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
digitanks/src/dtintro/main.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
#include "intro_window.h" extern tvector<Color> FullScreenShot(int& iWidth, int& iHeight); void CreateApplication(int argc, char** argv) { int iWidth, iHeight; tvector<Color> aclrScreenshot = FullScreenShot(iWidth, iHeight); CIntroWindow oWindow(argc, argv); oWindow.SetScreenshot(aclrScreenshot, iWidth, iHeight...
22.409091
67
0.762677
BSVino
8d7c18984a43edbda71911ed108cf2c37a42bc24
2,892
cc
C++
test/tilehierarchy.cc
molind/valhalla
7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c
[ "BSD-2-Clause", "MIT" ]
79
2017-02-15T17:35:48.000Z
2022-03-30T06:16:10.000Z
test/tilehierarchy.cc
molind/valhalla
7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c
[ "BSD-2-Clause", "MIT" ]
null
null
null
test/tilehierarchy.cc
molind/valhalla
7d4cde8587d38fcb20f7a9ea9df34a8fc49bf68c
[ "BSD-2-Clause", "MIT" ]
12
2017-06-16T06:30:54.000Z
2021-12-16T00:43:12.000Z
#include "baldr/tilehierarchy.h" #include "baldr/graphid.h" #include "midgard/pointll.h" #include "test.h" #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> using namespace std; using namespace valhalla::baldr; using namespace valhalla::midgard; namespace { void test_parse() ...
39.616438
87
0.667358
molind
8d7e5dfd75db551d178140dcaacb404d3444bc49
11,236
cpp
C++
installer/hachi_patch.cpp
LRFLEW/AM64DS_WiiU
37d4ada1d06a2b02d0ad82cd9b235018f6a25939
[ "Apache-2.0" ]
8
2021-11-02T04:07:37.000Z
2022-01-15T22:49:36.000Z
installer/hachi_patch.cpp
LRFLEW/AM64DS_WiiU
37d4ada1d06a2b02d0ad82cd9b235018f6a25939
[ "Apache-2.0" ]
null
null
null
installer/hachi_patch.cpp
LRFLEW/AM64DS_WiiU
37d4ada1d06a2b02d0ad82cd9b235018f6a25939
[ "Apache-2.0" ]
null
null
null
#include "hachi_patch.hpp" #include <algorithm> #include <array> #include <cstdint> #include <cstring> #include <numeric> #include <string> #include <string_view> #include <utility> #include <vector> #include <elf.h> #include "exception.hpp" #include "iosufsa.hpp" #include "log.hpp" #include "util.hpp" #include "zli...
39.424561
99
0.590068
LRFLEW
8d838ece296a499f0a7e6ab06e5cb82f6a51d141
1,755
hpp
C++
psychic-ui/components/Button.hpp
WolfieWerewolf/psychic-ui
d67fc4871a3957cd16c15a42d9ed3e64b65f56bf
[ "MIT" ]
29
2018-01-31T04:58:35.000Z
2022-03-24T16:37:02.000Z
psychic-ui/components/Button.hpp
WolfieWerewolf/psychic-ui
d67fc4871a3957cd16c15a42d9ed3e64b65f56bf
[ "MIT" ]
2
2018-03-27T22:43:46.000Z
2022-03-25T14:09:32.000Z
psychic-ui/components/Button.hpp
WolfieWerewolf/psychic-ui
d67fc4871a3957cd16c15a42d9ed3e64b65f56bf
[ "MIT" ]
11
2017-08-28T16:36:49.000Z
2020-03-26T00:02:55.000Z
#pragma once #include <functional> #include <utility> #include "psychic-ui/psychic-ui.hpp" #include "psychic-ui/Component.hpp" #include "psychic-ui/Skin.hpp" #include "Label.hpp" namespace psychic_ui { class Button; class ButtonSkin : public Skin<Button> { public: ButtonSkin() : Skin<Button>() { ...
25.808824
89
0.565812
WolfieWerewolf
8d8c3e1b5f9188fcb7dd5f617a2c59533ae50128
1,715
cpp
C++
Courses/001 - Algorithms Toolbox/week6_dynamic_programming2/3_maximum_value_of_an_arithmetic_expression/placing_parentheses.cpp
aKhfagy/Data-Structures-and-Algorithms-Specialization
3f5582f10c55e108add47292fa40e0eda6910e2d
[ "CC0-1.0" ]
1
2021-01-25T09:56:15.000Z
2021-01-25T09:56:15.000Z
Courses/001 - Algorithms Toolbox/week6_dynamic_programming2/3_maximum_value_of_an_arithmetic_expression/placing_parentheses.cpp
aKhfagy/data-structures-algorithms
3f5582f10c55e108add47292fa40e0eda6910e2d
[ "CC0-1.0" ]
null
null
null
Courses/001 - Algorithms Toolbox/week6_dynamic_programming2/3_maximum_value_of_an_arithmetic_expression/placing_parentheses.cpp
aKhfagy/data-structures-algorithms
3f5582f10c55e108add47292fa40e0eda6910e2d
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <cassert> #include <string> #include <vector> #include <cmath> #include <algorithm> #include <climits> using std::vector; using std::string; using std::max; using std::min; using ll = long long; long long eval(long long a, long long b, char op) { if (op == '*') { return a * b;...
23.175676
75
0.377843
aKhfagy
8d8caec8ba8a05cb849aab8543e869882170d457
8,111
cc
C++
old/rama_dialogblocks/sweep.cc
teenylasers/eggshell
7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e
[ "ICU", "OpenSSL" ]
null
null
null
old/rama_dialogblocks/sweep.cc
teenylasers/eggshell
7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e
[ "ICU", "OpenSSL" ]
127
2017-11-01T01:28:28.000Z
2021-03-18T05:12:21.000Z
old/rama_dialogblocks/sweep.cc
teenylasers/eggshell
7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e
[ "ICU", "OpenSSL" ]
2
2017-10-20T01:16:49.000Z
2018-11-04T02:36:53.000Z
///////////////////////////////////////////////////////////////////////////// // Name: sweep.cc // Purpose: // Author: // Modified by: // Created: // RCS-ID: // Copyright: // Licence: ///////////////////////////////////////////////////////////////////////////// // Precompiled header: #include "../st...
30.152416
153
0.670078
teenylasers
8d8d3317296e0016bc5ce73a2f7d0e60fe2f33d7
12,565
cpp
C++
compiler/luci/import/src/GraphBuilderRegistry.cpp
wateret/ONE
4b1c4721248887d68a18f97d6903e459675163fc
[ "Apache-2.0" ]
null
null
null
compiler/luci/import/src/GraphBuilderRegistry.cpp
wateret/ONE
4b1c4721248887d68a18f97d6903e459675163fc
[ "Apache-2.0" ]
1
2020-09-23T23:12:23.000Z
2020-09-23T23:20:34.000Z
compiler/luci/import/src/GraphBuilderRegistry.cpp
s-barannikov/ONE
608121ca5a790a36a87889934f78574d27df7077
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. 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...
75.239521
100
0.52877
wateret
8d944ad508ecbc8b3457f025a558c30d21065fea
2,273
cpp
C++
cheats/hooks/paintTraverse.cpp
DemonLoverHvH/csgo
f7ff0211fd843bbf00cac5aa62422e5588552b23
[ "MIT" ]
null
null
null
cheats/hooks/paintTraverse.cpp
DemonLoverHvH/csgo
f7ff0211fd843bbf00cac5aa62422e5588552b23
[ "MIT" ]
null
null
null
cheats/hooks/paintTraverse.cpp
DemonLoverHvH/csgo
f7ff0211fd843bbf00cac5aa62422e5588552b23
[ "MIT" ]
null
null
null
#include "hooks.hpp" #include "../menu/menuX88.hpp" #include "../features/visuals/player.hpp" #include "../features/aimbot/aimbot.hpp" #include "../features/visuals/world.hpp" #include "../features/visuals/radar.hpp" #include "../features/misc/misc.hpp" #include "../menu/GUI/drawing.hpp" #include "../globals.hpp" #pra...
23.677083
113
0.678839
DemonLoverHvH
8d94fb1a5d590c30fa82d32647ef6540e428086d
9,299
cpp
C++
ex_4/ex_4.cpp
davidjgmarques/Monte-Carlo-exercises
6c31d524ebfcb434799b86714a7209193729d2d7
[ "MIT" ]
null
null
null
ex_4/ex_4.cpp
davidjgmarques/Monte-Carlo-exercises
6c31d524ebfcb434799b86714a7209193729d2d7
[ "MIT" ]
null
null
null
ex_4/ex_4.cpp
davidjgmarques/Monte-Carlo-exercises
6c31d524ebfcb434799b86714a7209193729d2d7
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <iostream> #include <fstream> #include <math.h> #include <chrono> #include <ctime> #include <cstdlib> #include <time.h> #include <vector> #include <random> #include "TCanvas.h" #include "TStyle.h" #include "TGraph.h" #include "TEllipse.h" #include "TAxis.h" #include "TLi...
30.488525
126
0.600172
davidjgmarques
8d95b9dab635a3344095a5716af257b108db208f
43
hh
C++
Include/Luce/IsOriginalType.hh
kmc7468/luce
6f71407f250dbc0428ceba33aeef345cc601db34
[ "MIT" ]
23
2017-02-09T11:48:01.000Z
2017-04-08T10:19:21.000Z
Include/Luce/IsOriginalType.hh
kmc7468/luce
6f71407f250dbc0428ceba33aeef345cc601db34
[ "MIT" ]
null
null
null
Include/Luce/IsOriginalType.hh
kmc7468/luce
6f71407f250dbc0428ceba33aeef345cc601db34
[ "MIT" ]
null
null
null
#include <Luce/TypeTrait/IsOriginalType.hh>
43
43
0.837209
kmc7468
8d95dbe987289460d119fa679b03aa406d3fc39d
1,345
cpp
C++
201-300/279-Perfect_Squares-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
1
2018-10-02T22:44:52.000Z
2018-10-02T22:44:52.000Z
201-300/279-Perfect_Squares-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
201-300/279-Perfect_Squares-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
// Given a positive integer n, find the least number of perfect square numbers // (for example, 1, 4, 9, 16, ...) which sum to n. // For example, given n = 12, return 3 because 12 = 4 + 4 + 4; given n = 13, // return 2 because 13 = 4 + 9. // Credits: // Special thanks to @jianchao.li.fighter for adding this problem...
24.907407
79
0.466171
ysmiles
8d9ddecdf67249e20cdf8922b70bda0bb92f2f9e
7,037
cpp
C++
source/common/rendering/gles/gles_samplers.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
1
2022-03-30T15:53:09.000Z
2022-03-30T15:53:09.000Z
source/common/rendering/gles/gles_samplers.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
null
null
null
source/common/rendering/gles/gles_samplers.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
null
null
null
/* ** gl_samplers.cpp ** ** Texture sampler handling ** **--------------------------------------------------------------------------- ** Copyright 2015-2019 Christoph Oelckers ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that th...
35.903061
116
0.77533
Quake-Backup
8d9f59e551cb8ff562e4f7744edbcd051282d481
2,193
hpp
C++
modules/boost/simd/base/include/boost/simd/swar/functions/splatted_minimum.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/swar/functions/splatted_minimum.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/swar/functions/splatted_minimum.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2013 MetaScale SAS // // Distributed under the Boost...
31.782609
191
0.639307
psiha
8da01051e45342f754ec1a84c61711a99458bbc5
40,282
ipp
C++
src/maral/mtl/matrix_ops.ipp
arminms/maral
72ac000aa5e37702beec3b3423db7ab2e43da01e
[ "BSL-1.0" ]
1
2022-03-01T19:00:17.000Z
2022-03-01T19:00:17.000Z
src/maral/mtl/matrix_ops.ipp
arminms/maral
72ac000aa5e37702beec3b3423db7ab2e43da01e
[ "BSL-1.0" ]
2
2016-04-28T18:51:08.000Z
2016-05-25T19:43:19.000Z
src/maral/mtl/matrix_ops.ipp
arminms/maral
72ac000aa5e37702beec3b3423db7ab2e43da01e
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // MARAL // (Molecular Architectural Record & Assembly Library) // // Copyright (C) by Armin Madadkar-Sobhani arminms@gmail.com // // See the LICENSE file for terms of u...
34.666093
80
0.502408
arminms
8daa226990508d749b8fe10c744ea91111c11ad8
14,755
cpp
C++
tcp_client/imager/Image_viewer.cpp
v0d0m3r/testing_task
d5fbb01bf4b6736dce43101397247da725df9c65
[ "MIT" ]
null
null
null
tcp_client/imager/Image_viewer.cpp
v0d0m3r/testing_task
d5fbb01bf4b6736dce43101397247da725df9c65
[ "MIT" ]
null
null
null
tcp_client/imager/Image_viewer.cpp
v0d0m3r/testing_task
d5fbb01bf4b6736dce43101397247da725df9c65
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // Qt #include <QtWidgets> #include <QAction> //------------------------------------------------------------------------------ // Local #include "Image_viewer.hpp" #include "imager_lib/Transmit_image_dialog.hpp" //-----------------------...
33.008949
115
0.564351
v0d0m3r
8daa6dd5b5470d4783705cc0136e8ddc06d4b50a
6,135
cc
C++
tests/unit/test_reconstruct.cc
PhilMiller/checkpoint
7d44a3b56057272fc492a3d7e882a568d1fd411b
[ "BSD-3-Clause" ]
null
null
null
tests/unit/test_reconstruct.cc
PhilMiller/checkpoint
7d44a3b56057272fc492a3d7e882a568d1fd411b
[ "BSD-3-Clause" ]
null
null
null
tests/unit/test_reconstruct.cc
PhilMiller/checkpoint
7d44a3b56057272fc492a3d7e882a568d1fd411b
[ "BSD-3-Clause" ]
null
null
null
/* //@HEADER // ***************************************************************************** // // test_reconstruct.cc // DARMA Toolkit v. 1.0.0 // DARMA/checkpoint => Serialization Library // // Copyright 2019 National Technology & Engineering Solu...
26.217949
81
0.704645
PhilMiller
8daac0cc288d290bcc9ddf7aac1a4b8862db03a9
1,403
cpp
C++
source/framework/benchmark/src/dummy_benchmark.cpp
OliverSchmitz/lue
da097e8c1de30724bfe7667cc04344b6535b40cd
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
source/framework/benchmark/src/dummy_benchmark.cpp
OliverSchmitz/lue
da097e8c1de30724bfe7667cc04344b6535b40cd
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
source/framework/benchmark/src/dummy_benchmark.cpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
#include "lue/framework/benchmark/benchmark.hpp" #include "lue/framework/benchmark/main.hpp" #include <iostream> #include <random> #include <thread> static void dummy( lue::benchmark::Environment const& environment, lue::benchmark::Task const& task) { using namespace std::chrono_literals; auto const ...
26.980769
75
0.709195
OliverSchmitz
8dada646277b764f546a21946958702c52f79cb9
337
cpp
C++
1. Algoritmi elementari/Prelucrarea cifrelor unui numar/mediaAritmetica.cpp
RegusAl/School
87deb27f241aab1a93fd1cab0de2c7d8ee93df71
[ "MIT" ]
2
2021-04-20T21:22:37.000Z
2021-04-20T21:23:09.000Z
1. Algoritmi elementari/Prelucrarea cifrelor unui numar/mediaAritmetica.cpp
RegusAl/School
87deb27f241aab1a93fd1cab0de2c7d8ee93df71
[ "MIT" ]
null
null
null
1. Algoritmi elementari/Prelucrarea cifrelor unui numar/mediaAritmetica.cpp
RegusAl/School
87deb27f241aab1a93fd1cab0de2c7d8ee93df71
[ "MIT" ]
null
null
null
// media aritmetica a cifrelor nenule #include <iostream> using namespace std; int main() { int sum = 0, nrcif = 0, medie = 0; int n; cin>>n; while(n) { int uc = n%10; if(uc > 0) { sum += uc; nrcif++; } n = n/10; } medie = sum/nrcif; cout<<"Media aritmetica este "<<medi...
13.48
40
0.525223
RegusAl
8dae4a9315bd5bcae393e27e7d9e4a008b502a12
2,474
cpp
C++
Engine/Src/Runtime/Run/Implementations/Windows/RunWindows.cpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
Engine/Src/Runtime/Run/Implementations/Windows/RunWindows.cpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
Engine/Src/Runtime/Run/Implementations/Windows/RunWindows.cpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS 1 #include <Windows.h> #include <windowsx.h> #include <ApplicationBase//Application.hpp> #include <Application/ApplicationFactory.hpp> #include <PlatformCore/PlatformCore.hpp> #include <Core/Log.hpp> #include <Core/Containers/UniquePointer.hpp> #include <Core/Timer.hpp> #include <Core/...
26.319149
109
0.731205
Septus10
8daeb8b490e76bb7e5ae3363951261a4bcd50e36
26,662
cpp
C++
samples/api/texture_mipmap_generation/texture_mipmap_generation.cpp
fynv/Vulkan-Samples
bdb733ca258686668078de9026e11ca21580d6a7
[ "Apache-2.0" ]
null
null
null
samples/api/texture_mipmap_generation/texture_mipmap_generation.cpp
fynv/Vulkan-Samples
bdb733ca258686668078de9026e11ca21580d6a7
[ "Apache-2.0" ]
null
null
null
samples/api/texture_mipmap_generation/texture_mipmap_generation.cpp
fynv/Vulkan-Samples
bdb733ca258686668078de9026e11ca21580d6a7
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2019, Sascha Willems * * SPDX-License-Identifier: Apache-2.0 * * 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 * * Un...
40.830015
181
0.746231
fynv
8dafa14508f0b02ad248e15e43b72c3c6f628979
4,819
cpp
C++
Source/ShooterGame/Private/UI/Style/ShooterStyle.cpp
wangminzt/AI_FPS
f04c1d6202a92e362b86eaa60245f2e9f3c252d1
[ "MIT" ]
3
2020-07-19T22:44:25.000Z
2020-08-06T08:11:31.000Z
Source/ShooterGame/Private/UI/Style/ShooterStyle.cpp
wangminzt/AI_FPS
f04c1d6202a92e362b86eaa60245f2e9f3c252d1
[ "MIT" ]
null
null
null
Source/ShooterGame/Private/UI/Style/ShooterStyle.cpp
wangminzt/AI_FPS
f04c1d6202a92e362b86eaa60245f2e9f3c252d1
[ "MIT" ]
1
2021-04-15T05:56:04.000Z
2021-04-15T05:56:04.000Z
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "ShooterGame.h" #include "ShooterStyle.h" #include "SlateGameResources.h" TSharedPtr< FSlateStyleSet > FShooterStyle::ShooterStyleInstance = NULL; void FShooterStyle::Initialize() { if ( !ShooterStyleInstance.IsValid() ) { ShooterS...
36.233083
140
0.736252
wangminzt
8db3164e1e1928594f36744cdde0b2d221b8b750
509
cpp
C++
Searching & Sorting/Two number with sum closeset to zero.cpp
vermagaurav8/GeeksforGeeks
f54d3297337981b5fc5054272cfa6788011c2c5a
[ "Apache-2.0" ]
9
2020-10-01T09:29:10.000Z
2022-02-12T04:58:41.000Z
Searching & Sorting/Two number with sum closeset to zero.cpp
vermagaurav8/GeeksforGeeks
f54d3297337981b5fc5054272cfa6788011c2c5a
[ "Apache-2.0" ]
6
2020-10-03T16:08:58.000Z
2020-10-14T12:06:25.000Z
Searching & Sorting/Two number with sum closeset to zero.cpp
vermagaurav8/GeeksforGeeks
f54d3297337981b5fc5054272cfa6788011c2c5a
[ "Apache-2.0" ]
17
2020-10-01T09:17:27.000Z
2021-06-18T09:36:31.000Z
#include<bits/stdc++.h> using namespace std; int main() { int n;cin>>n; while(n--) { int m; cin>>m; vector<int>v(m); for(int i=0;i<m;i++) cin>>v[i]; sort(v.begin(),v.end()); int l=0,r=v.size()-1,sum=0; int m_sum=v[0]+v[r]; while(l<r) { ...
14.138889
45
0.400786
vermagaurav8
8dba60880f4e8f98eb53bb8235ed7a749ee3480c
2,758
cpp
C++
CMinus/CMinus/evaluator/class_evaluator.cpp
benbraide/CMinus
3b845e0bc22840b549f108bf6600f1f34d865e7b
[ "MIT" ]
null
null
null
CMinus/CMinus/evaluator/class_evaluator.cpp
benbraide/CMinus
3b845e0bc22840b549f108bf6600f1f34d865e7b
[ "MIT" ]
null
null
null
CMinus/CMinus/evaluator/class_evaluator.cpp
benbraide/CMinus
3b845e0bc22840b549f108bf6600f1f34d865e7b
[ "MIT" ]
null
null
null
#include "../type/class_type.h" #include "class_evaluator.h" cminus::evaluator::class_::~class_() = default; std::shared_ptr<cminus::memory::reference> cminus::evaluator::class_::evaluate_unary_left(logic::runtime &runtime, const operator_type &op, std::shared_ptr<memory::reference> target) const{ auto callable = f...
48.385965
216
0.741842
benbraide
8dbb81d0405ac9ac1d8493331358cd49c1650292
3,530
cc
C++
src/search_local/index_storage/common/plugin_dgram.cc
jdisearch/isearch1
272bd4ab0dc82d9e33c8543474b1294569947bb3
[ "Apache-2.0" ]
3
2021-08-18T09:59:42.000Z
2021-09-07T03:11:28.000Z
src/search_local/index_storage/common/plugin_dgram.cc
jdisearch/isearch1
272bd4ab0dc82d9e33c8543474b1294569947bb3
[ "Apache-2.0" ]
null
null
null
src/search_local/index_storage/common/plugin_dgram.cc
jdisearch/isearch1
272bd4ab0dc82d9e33c8543474b1294569947bb3
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <sys/un.h> #include <netinet/in.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <linux/sockios.h> #include <string.h> #include <assert.h> #include <stdlib.h> #include <fcntl.h> #include <errno.h> #include "plugin_agent_mgr.h" #include "plugin_dgram.h" #include "plugin_unit.h" #in...
26.541353
134
0.561473
jdisearch
8dbd09b2d4428c42a845c34d3c2d54bcf4c221e8
3,921
cpp
C++
lesson15/src/mainDijkstra.cpp
forsakenmap/CPPExercises2021
48b91b86aa0f02d462fd7fac3d08fed8468c1506
[ "MIT" ]
null
null
null
lesson15/src/mainDijkstra.cpp
forsakenmap/CPPExercises2021
48b91b86aa0f02d462fd7fac3d08fed8468c1506
[ "MIT" ]
null
null
null
lesson15/src/mainDijkstra.cpp
forsakenmap/CPPExercises2021
48b91b86aa0f02d462fd7fac3d08fed8468c1506
[ "MIT" ]
null
null
null
#include <vector> #include <sstream> #include <iostream> #include <stdexcept> // беда не работает дайте руки и мозг int debugPoint(int line) { if (line < 0) return 0; // You can put breakpoint at the following line to catch any rassert failure: return line; } #define rassert(condition, message) if...
29.704545
205
0.502678
forsakenmap
8dbd74f8d6df869cf70a0e3d78d38b3a892d5fdd
4,711
cpp
C++
Test.cpp
shaiBonfil/CPP-Ex1
ec9a82b8de9b99e3dd4488781b363ec36c95509e
[ "MIT" ]
null
null
null
Test.cpp
shaiBonfil/CPP-Ex1
ec9a82b8de9b99e3dd4488781b363ec36c95509e
[ "MIT" ]
null
null
null
Test.cpp
shaiBonfil/CPP-Ex1
ec9a82b8de9b99e3dd4488781b363ec36c95509e
[ "MIT" ]
null
null
null
/** * * AUTHOR: <Shai Bonfil> * * This is a test that gets input of eight characters(less or more * is invalid input), and the purpose is to represent snowman in * a format like you can see in the link below - HNLRXYTB. * Each valid letter is number between 1 to 4 which presets * the following things: * * H...
35.421053
96
0.525791
shaiBonfil
8dbda768e6214c57f275a3994a6e46cb9fb44ef4
393
cpp
C++
pbe/src/pbe/Core/Math/Common.cpp
pavilbezpravil/pbEngine
55c051bdb296f0960ad05447d385a554334c4b5c
[ "Apache-2.0" ]
null
null
null
pbe/src/pbe/Core/Math/Common.cpp
pavilbezpravil/pbEngine
55c051bdb296f0960ad05447d385a554334c4b5c
[ "Apache-2.0" ]
null
null
null
pbe/src/pbe/Core/Math/Common.cpp
pavilbezpravil/pbEngine
55c051bdb296f0960ad05447d385a554334c4b5c
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "Common.h" #include <glm/gtx/matrix_decompose.hpp> std::tuple<glm::vec3, glm::quat, glm::vec3> GetTransformDecomposition(const glm::mat4& transform) { glm::vec3 scale, translation, skew; glm::vec4 perspective; glm::quat orientation; glm::decompose(transform, scale, orientation, translat...
24.5625
97
0.740458
pavilbezpravil
8dc01928c6b39a89fb33198e40721f77c62e262f
5,077
cpp
C++
Modules/Core/vaMemory.cpp
magcius/CMAA2
8ceb0daa2afa6b12804da62631494d2ed4b31b53
[ "Apache-2.0" ]
110
2018-09-04T20:33:59.000Z
2021-12-17T08:46:11.000Z
Modules/Core/vaMemory.cpp
magcius/CMAA2
8ceb0daa2afa6b12804da62631494d2ed4b31b53
[ "Apache-2.0" ]
5
2018-09-05T20:57:08.000Z
2021-02-24T09:02:31.000Z
Modules/Core/vaMemory.cpp
magcius/CMAA2
8ceb0daa2afa6b12804da62631494d2ed4b31b53
[ "Apache-2.0" ]
20
2018-09-05T00:41:13.000Z
2021-08-04T01:31:50.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2016, Intel Corporation // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to de...
52.340206
1,446
0.637187
magcius
8dc09ebb1c96844d37a252c065006eefe7b439ea
2,919
cpp
C++
A07_Supersampling&Anti_aliasing/source/raytracing_stats.cpp
satoshiSchubert/MIT_6.837_CG
df17d4daafbdf2350d44076205a06f87593bbc4a
[ "MIT" ]
null
null
null
A07_Supersampling&Anti_aliasing/source/raytracing_stats.cpp
satoshiSchubert/MIT_6.837_CG
df17d4daafbdf2350d44076205a06f87593bbc4a
[ "MIT" ]
null
null
null
A07_Supersampling&Anti_aliasing/source/raytracing_stats.cpp
satoshiSchubert/MIT_6.837_CG
df17d4daafbdf2350d44076205a06f87593bbc4a
[ "MIT" ]
null
null
null
#include <stdio.h> #include "raytracing_stats.h" int RayTracingStats::width; int RayTracingStats::height; BoundingBox *RayTracingStats::bbox; int RayTracingStats::num_x; int RayTracingStats::num_y; int RayTracingStats::num_z; unsigned long long RayTracingStats::start_time; unsigned long long RayTracingStats::num_nons...
39.986301
103
0.566975
satoshiSchubert
8dc1efe285244301c8bc86b56fd353a27ed544a3
10,193
cpp
C++
Plugins/org.mitk.gui.qt.volumevisualization/src/internal/QmitkVolumeVisualizationView.cpp
ZP-Hust/MITK
ca11353183c5ed4bc30f938eae8bde43a0689bf6
[ "BSD-3-Clause" ]
null
null
null
Plugins/org.mitk.gui.qt.volumevisualization/src/internal/QmitkVolumeVisualizationView.cpp
ZP-Hust/MITK
ca11353183c5ed4bc30f938eae8bde43a0689bf6
[ "BSD-3-Clause" ]
null
null
null
Plugins/org.mitk.gui.qt.volumevisualization/src/internal/QmitkVolumeVisualizationView.cpp
ZP-Hust/MITK
ca11353183c5ed4bc30f938eae8bde43a0689bf6
[ "BSD-3-Clause" ]
1
2019-01-09T08:20:18.000Z
2019-01-09T08:20:18.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) 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 o...
29.544928
161
0.725596
ZP-Hust
8dc4be40baf57c5481b922d3345f37176d7c3963
1,937
cpp
C++
tests/Ontology/AddressTests.cpp
baophucct/wallet-core
9583b45d732fa442f73090c02903a97f09dff6a8
[ "MIT" ]
null
null
null
tests/Ontology/AddressTests.cpp
baophucct/wallet-core
9583b45d732fa442f73090c02903a97f09dff6a8
[ "MIT" ]
null
null
null
tests/Ontology/AddressTests.cpp
baophucct/wallet-core
9583b45d732fa442f73090c02903a97f09dff6a8
[ "MIT" ]
1
2019-03-11T08:54:14.000Z
2019-03-11T08:54:14.000Z
// Copyright © 2017-2019 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "PublicKey.h" #include "HexCoding.h" #include "Ont...
43.044444
120
0.782137
baophucct
44ef77164d82668b870baabd6ceb74c9317b7813
3,902
cpp
C++
thirdparty/vesta/interaction/ObserverController.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
thirdparty/vesta/interaction/ObserverController.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
thirdparty/vesta/interaction/ObserverController.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/* * $Revision: 223 $ $Date: 2010-03-30 05:44:44 -0700 (Tue, 30 Mar 2010) $ * * Copyright by Astos Solutions GmbH, Germany * * this file is published under the Astos Solutions Free Public License * For details on copyright and terms of use see * http://www.astos.de/Astos_Solutions_Free_Public_License.html */ #...
25.337662
115
0.665812
hoehnp
44f6c833a316625f1aec35de8f1722bfcaa615d8
922
hpp
C++
include/mizuiro/color/format/homogenous_ns/types/pointer.hpp
cpreh/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
1
2015-08-22T04:19:39.000Z
2015-08-22T04:19:39.000Z
include/mizuiro/color/format/homogenous_ns/types/pointer.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
include/mizuiro/color/format/homogenous_ns/types/pointer.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef MIZUIRO_COLOR_FORMAT_HOMOGENOUS_NS_TYPES_POINTER_HPP_INCLUDED #define MIZUIRO_COLOR_FORMAT_...
32.928571
98
0.752711
cpreh
44f99489ab1e36fc67b8b82f4daf4bf263a0c57a
55,164
cpp
C++
src/slam/Debug.cpp
meitiever/SLAM-BA
57ee2af8508300e818feb67f7adbe026eee3ada7
[ "MIT" ]
null
null
null
src/slam/Debug.cpp
meitiever/SLAM-BA
57ee2af8508300e818feb67f7adbe026eee3ada7
[ "MIT" ]
null
null
null
src/slam/Debug.cpp
meitiever/SLAM-BA
57ee2af8508300e818feb67f7adbe026eee3ada7
[ "MIT" ]
null
null
null
/* +-----------------------------------+ | | | *** Debugging functionality *** | | | | Copyright (c) -tHE SWINe- 2015 | | | | Debug.cpp ...
36.339921
247
0.619335
meitiever
44feed8c45f1dcf885a76fabaf3620aecb80c7bc
4,294
hpp
C++
plugin/augmented_reality_plugin_wikitude/ios/Frameworks/WikitudeSDK.xcframework/ios-x86_64-simulator/WikitudeSDK.framework/Headers/Plane.hpp
Wikitude/wikitude-flutter-plugin-examples
8ed5e18e8f32e7570328e89df5c69000fda13153
[ "Apache-2.0" ]
9
2019-12-22T09:03:13.000Z
2021-08-20T00:46:05.000Z
plugin/augmented_reality_plugin_wikitude/ios/Frameworks/WikitudeSDK.framework/Headers/Plane.hpp
Wikitude/wikitude-flutter-plugin-examples
8ed5e18e8f32e7570328e89df5c69000fda13153
[ "Apache-2.0" ]
11
2019-09-03T15:45:44.000Z
2022-03-30T11:20:44.000Z
plugin/augmented_reality_plugin_wikitude/ios/Frameworks/WikitudeSDK.xcframework/ios-arm64/WikitudeSDK.framework/Headers/Plane.hpp
Wikitude/wikitude-flutter-plugin-examples
8ed5e18e8f32e7570328e89df5c69000fda13153
[ "Apache-2.0" ]
3
2021-09-01T13:02:11.000Z
2021-11-26T12:02:26.000Z
// // Plane.hpp // WikitudeUniversalSDK // // Created by Alexandru Florea on 01.08.18. // Copyright © 2018 Wikitude. All rights reserved. // #ifndef Plane_hpp #define Plane_hpp #ifdef __cplusplus #include <vector> #include "PlaneType.hpp" #include "Geometry.hpp" #include "CompilerAttributes.hpp" namespace wik...
38.684685
183
0.591057
Wikitude
44ff9431bee60cd6197bd404e35abce7d38e993a
15,303
cpp
C++
cc/vision/vision.cpp
PEQUI-VSSS/VSSS-EMC
0c2b61e308f754ca91df52e46ba48828168223df
[ "MIT" ]
9
2017-07-18T12:37:09.000Z
2018-05-01T14:41:48.000Z
cc/vision/vision.cpp
PEQUI-MEC/VSSS-EMC
0c2b61e308f754ca91df52e46ba48828168223df
[ "MIT" ]
31
2018-07-31T13:10:01.000Z
2022-03-26T16:00:25.000Z
cc/vision/vision.cpp
PEQUI-MEC/VSSS-EMC
0c2b61e308f754ca91df52e46ba48828168223df
[ "MIT" ]
2
2017-10-01T16:09:20.000Z
2018-05-01T17:39:59.000Z
#include <Geometry/Geometry.h> #include <Strategy2/Field.h> #include "vision.hpp" using namespace vision; std::map<unsigned int, Vision::RecognizedTag> Vision::run(cv::Mat raw_frame) { in_frame = raw_frame.clone(); preProcessing(); findTags(); //findElements(); return pick_a_tag(); } void Vision::preProcessing...
33.632967
161
0.673071
PEQUI-VSSS
7800d16778bc873e2a6022ce7c163fe5bd3223cf
464
hh
C++
TrkFitter/TrkLineMaker.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkFitter/TrkLineMaker.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkFitter/TrkLineMaker.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: TrkLineMaker.hh 104 2010-01-15 12:13:14Z stroili $ // // Author(s): Gerhard Raven // //------------------------------------------------------------------------ #ifndef TRKLINEMAKER_HH #define TRKL...
27.294118
76
0.506466
brownd1978
78019d43eaf3bd8f6b49eaf96e4ec72b9aa73015
4,238
cpp
C++
src/Base/View.cpp
geenux/choreonoid
25e534dd4dbf1ac890cdfe80b51add9c4f81e505
[ "MIT" ]
null
null
null
src/Base/View.cpp
geenux/choreonoid
25e534dd4dbf1ac890cdfe80b51add9c4f81e505
[ "MIT" ]
null
null
null
src/Base/View.cpp
geenux/choreonoid
25e534dd4dbf1ac890cdfe80b51add9c4f81e505
[ "MIT" ]
null
null
null
/** @author Shin'ichiro Nakaoka */ #include "View.h" #include "ViewArea.h" #include "ViewManager.h" #include "App.h" #include "AppConfig.h" #include <QLayout> #include <QKeyEvent> #include <QTabWidget> using namespace std; using namespace cnoid; View::View() { isActive_ = false; viewArea_ = 0; defaul...
18.752212
97
0.614205
geenux
78029370fa5c23f92c6e5694ed03dcd806a2a202
3,091
cc
C++
srcs/lox/passes/pass_runner.cc
edimetia3d/cppLox
394bb0855c2a9d9b53f179330c2daa341786a04d
[ "MIT" ]
2
2021-12-25T01:45:26.000Z
2022-02-10T00:50:25.000Z
srcs/lox/passes/pass_runner.cc
edimetia3d/cppLox
394bb0855c2a9d9b53f179330c2daa341786a04d
[ "MIT" ]
null
null
null
srcs/lox/passes/pass_runner.cc
edimetia3d/cppLox
394bb0855c2a9d9b53f179330c2daa341786a04d
[ "MIT" ]
null
null
null
// // LICENSE: MIT // #include "pass_runner.h" #define RUNPASS_AND_UPDATE(KEY_NAME) \ { \ auto old_value = (KEY_NAME)(); \ auto new_value = RunPass(old_value); \ if (new_value != old_value) { \ (KEY_N...
36.364706
89
0.601747
edimetia3d
78056c583afccd8a1339aff0304be824bd66ecc4
26
cpp
C++
components/core/src/streaming_compression/Compressor.cpp
kirkrodrigues/clp
bb81eec43da218a5fa3f3a367e0a24c144bdf0c8
[ "Apache-2.0" ]
28
2021-07-18T02:21:14.000Z
2021-09-30T22:46:24.000Z
components/core/src/streaming_compression/Compressor.cpp
kirkrodrigues/clp
bb81eec43da218a5fa3f3a367e0a24c144bdf0c8
[ "Apache-2.0" ]
15
2021-10-12T03:55:07.000Z
2022-03-24T09:04:35.000Z
components/core/src/streaming_compression/Compressor.cpp
kirkrodrigues/clp
bb81eec43da218a5fa3f3a367e0a24c144bdf0c8
[ "Apache-2.0" ]
11
2021-10-06T11:35:47.000Z
2022-03-20T11:40:49.000Z
#include "Compressor.hpp"
13
25
0.769231
kirkrodrigues
7806073556f48b53e9f81b5b30dd04733b5ab553
515
hpp
C++
src/KawaiiEngine/include/graphics/deps.hpp
Mathieu-Lala/Cute_Solar_System_-3
0bfe496991344709481995af348da2be37a19cac
[ "MIT" ]
4
2021-06-03T11:20:09.000Z
2022-02-11T06:52:54.000Z
src/KawaiiEngine/include/graphics/deps.hpp
Mathieu-Lala/Cute_Solar_System_-3
0bfe496991344709481995af348da2be37a19cac
[ "MIT" ]
35
2021-05-29T09:25:57.000Z
2021-06-28T04:49:22.000Z
src/KawaiiEngine/include/graphics/deps.hpp
Mathieu-Lala/Kawaii_Engine
0bfe496991344709481995af348da2be37a19cac
[ "MIT" ]
null
null
null
#pragma once #include "helpers/warnings.hpp" DISABLE_WARNING_PUSH DISABLE_WARNING_OLD_CAST #include <imgui.h> DISABLE_WARNING_POP #include <imgui_impl_glfw.h> #include <imgui_impl_opengl3.h> #include <GL/glew.h> #include <GLFW/glfw3.h> namespace kawe { namespace ImGuiHelper { template<typename... Args> inline auto...
19.074074
87
0.741748
Mathieu-Lala
7808eb640a7731eb8e80fc180d245ebebb8d74f0
7,658
cpp
C++
libcaf_core/test/typed_response_promise.cpp
v2nero/actor-framework
c2f811809143d32c598471a20363238b0882a761
[ "BSL-1.0", "BSD-3-Clause" ]
1
2020-07-16T19:01:52.000Z
2020-07-16T19:01:52.000Z
libcaf_core/test/typed_response_promise.cpp
Boubou818/actor-framework
da90ef78b26da5d225f039072e616da415c48494
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/test/typed_response_promise.cpp
Boubou818/actor-framework
da90ef78b26da5d225f039072e616da415c48494
[ "BSL-1.0", "BSD-3-Clause" ]
1
2021-02-19T11:25:15.000Z
2021-02-19T11:25:15.000Z
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
33.884956
90
0.536432
v2nero
780983d251b485f9e963bd8bf9de538eec72a7d9
310
cpp
C++
657. Judge Route Circle.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
657. Judge Route Circle.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
657. Judge Route Circle.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
class Solution { public: bool judgeCircle(string moves) { int v = 0, h = 0; unordered_map<char, int>m{{'R', 1}, {'L', -1}, {'U', -1}, {'D', 1}}; for(auto x: moves) if(x == 'L' || x == 'R') h += m[x]; else v += m[x]; return v == 0 && h == 0; } };
25.833333
76
0.387097
rajeev-ranjan-au6
7818f610f9d012020338ac08ac054864afd454c0
565
cpp
C++
codeforces/contests/round/646-div2/c.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/contests/round/646-div2/c.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/contests/round/646-div2/c.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> int32_t main(){ desync(); int t; cin >> t; while(t--){ int n, x; cin >> n >> x; int cnt = 0; for(int i=1; i<n; ++i){ int a, b; cin >> a >> b; if(a == x or b == x) cnt++; } if...
19.482759
41
0.316814
tysm
781969a6b52dc866a1f04fd36357081fcd7d0d5b
7,030
cpp
C++
cpp/open3d/visualization/gui/Button.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
1
2021-05-10T04:23:24.000Z
2021-05-10T04:23:24.000Z
cpp/open3d/visualization/gui/Button.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
null
null
null
cpp/open3d/visualization/gui/Button.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
1
2021-11-05T01:16:13.000Z
2021-11-05T01:16:13.000Z
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2021 www.open3d.org // // Permissio...
37.393617
80
0.624609
Dudulle
781b076387a86f0610600e89ede7e4e78c99712f
370
cpp
C++
Symboltable/src/SymtabEntry.cpp
SystemOfAProg/SysProgTotallyNotTheSolution
0a3b1b65c084b0cd9eac7b35cc486ad0ae6d0bb9
[ "MIT" ]
null
null
null
Symboltable/src/SymtabEntry.cpp
SystemOfAProg/SysProgTotallyNotTheSolution
0a3b1b65c084b0cd9eac7b35cc486ad0ae6d0bb9
[ "MIT" ]
null
null
null
Symboltable/src/SymtabEntry.cpp
SystemOfAProg/SysProgTotallyNotTheSolution
0a3b1b65c084b0cd9eac7b35cc486ad0ae6d0bb9
[ "MIT" ]
null
null
null
#include "../includes/SymtabEntry.h" #include <cstring> SymtabEntry::SymtabEntry(Information* info) { this->info = info; this->next = NULL; } SymtabEntry::~SymtabEntry() { } SymtabEntry* SymtabEntry::getNext() { return this->next; } void SymtabEntry::setNext(SymtabEntry* next) { this->next = next; } Informatio...
16.086957
46
0.7
SystemOfAProg
781e455ed73908ed72b4682a72adeb0c9ad4993a
4,625
hpp
C++
OptimExplorer/core/utils.hpp
MarkTuddenham/OptimExplorer
1fb724bb80b099ade76d9f8d6179cb561dedb9bd
[ "MIT" ]
1
2020-08-18T20:55:26.000Z
2020-08-18T20:55:26.000Z
OptimExplorer/core/utils.hpp
MarkTuddenham/OptimExplorer
1fb724bb80b099ade76d9f8d6179cb561dedb9bd
[ "MIT" ]
4
2020-10-11T12:57:29.000Z
2020-10-11T14:06:17.000Z
OptimExplorer/core/utils.hpp
MarkTuddenham/OptimExplorer
1fb724bb80b099ade76d9f8d6179cb561dedb9bd
[ "MIT" ]
null
null
null
#if defined(_MSC_VER) && !defined(NDEBUG) #define DISABLE_WARNING_PUSH __pragma(warning(push)) #define DISABLE_WARNING_PUSH_ALL __pragma(warning(push, 0)) #define DISABLE_WARNING_POP __pragma(warning(pop)) #define DISABLE_WARNING(warningNumber) __pragma(warning(disable : warningNumber)) #define DISABLE_WARNI...
56.402439
92
0.697297
MarkTuddenham
781eb578aa62046cf3cd83874e434580b0264997
934
hh
C++
src/utils/matrix/MatrixOperations.hh
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
17
2018-02-09T23:39:06.000Z
2022-03-04T16:27:04.000Z
src/utils/matrix/MatrixOperations.hh
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
22
2017-05-31T19:40:14.000Z
2021-09-24T22:07:47.000Z
src/utils/matrix/MatrixOperations.hh
LeoRya/py-orbit
340b14b6fd041ed8ec2cc25b0821b85742aabe0c
[ "MIT" ]
37
2016-12-08T19:39:35.000Z
2022-02-11T19:59:34.000Z
#ifndef __MATRIX_OPERATIONS_H_ #define __MATRIX_OPERATIONS_H_ #include "Matrix.hh" #include "PhaseVector.hh" #include "Bunch.hh" namespace OrbitUtils{ /** The collection of the static methods for matrices. */ class MatrixOperations{ public: /** Inverts the 2D array as a matrix. */ static int inver...
22.780488
68
0.683084
LeoRya
781fbeaa2b4f0bff4d81099f43017283c50ddd3a
7,936
cpp
C++
source/modules/examples/roles/roles.cpp
noglass/FarageBot
f8fbb3a70275230719916fb5083757e8fcf5753b
[ "MIT" ]
null
null
null
source/modules/examples/roles/roles.cpp
noglass/FarageBot
f8fbb3a70275230719916fb5083757e8fcf5753b
[ "MIT" ]
null
null
null
source/modules/examples/roles/roles.cpp
noglass/FarageBot
f8fbb3a70275230719916fb5083757e8fcf5753b
[ "MIT" ]
null
null
null
#include "api/farage.h" #include <unordered_map> #include <unordered_set> #include <fstream> using namespace Farage; #define VERSION "v0.0.4" extern "C" Info Module { "User Roles", "Madison", "User Role Granting System", VERSION, "http://farage.justca.me/", FARAGE_API_VERSION }; namespace rol...
34.960352
151
0.559098
noglass
7822532491068056bccda67af9935be670d60aa6
2,312
cpp
C++
collector/src/main_win32.cpp
tyoma/micro-profiler
32f6981c643b93997752d414f631fd6684772b28
[ "MIT" ]
194
2015-07-27T09:54:24.000Z
2022-03-21T20:50:22.000Z
collector/src/main_win32.cpp
tyoma/micro-profiler
32f6981c643b93997752d414f631fd6684772b28
[ "MIT" ]
63
2015-08-19T16:42:33.000Z
2022-02-22T20:30:49.000Z
collector/src/main_win32.cpp
tyoma/micro-profiler
32f6981c643b93997752d414f631fd6684772b28
[ "MIT" ]
33
2015-08-21T17:48:03.000Z
2022-02-23T03:54:17.000Z
// Copyright (c) 2011-2021 by Artem A. Gevorkyan (gevorkyan.org) // // 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, ...
34.507463
101
0.773356
tyoma
7822a8e6784939bc2e3f32e0ac89b7080553b9aa
68
cpp
C++
BrowserPivotingIE/HTTPProxy/payload.cpp
ZwCreatePhoton/BrowserPivotingIE
5cc0b8f46b29ec7559de164bc8677457b70607e9
[ "MIT" ]
null
null
null
BrowserPivotingIE/HTTPProxy/payload.cpp
ZwCreatePhoton/BrowserPivotingIE
5cc0b8f46b29ec7559de164bc8677457b70607e9
[ "MIT" ]
null
null
null
BrowserPivotingIE/HTTPProxy/payload.cpp
ZwCreatePhoton/BrowserPivotingIE
5cc0b8f46b29ec7559de164bc8677457b70607e9
[ "MIT" ]
null
null
null
#include "HTTPProxy.h" void Payload() { run(DEFAULT_PROXY_PORT); }
11.333333
25
0.720588
ZwCreatePhoton
7825c118fddfb25686acd603cadb9fb07bf4b437
4,568
cpp
C++
engine/modules/openx/opendrive/opendrive_dynamic_mesh.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
58
2018-05-10T17:06:42.000Z
2019-01-24T13:42:22.000Z
engine/modules/openx/opendrive/opendrive_dynamic_mesh.cpp
blab-liuliang/echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
290
2018-01-24T16:29:42.000Z
2019-01-24T07:11:16.000Z
engine/modules/openx/opendrive/opendrive_dynamic_mesh.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
9
2018-08-26T04:06:21.000Z
2019-01-14T03:47:39.000Z
#include "opendrive_dynamic_mesh.h" #include "engine/core/log/log.h" #include "engine/core/scene/node_tree.h" #include "base/renderer.h" #include "base/shader/shader_program.h" #include "engine/core/main/Engine.h" namespace Echo { OpenDriveDynamicMesh::OpenDriveDynamicMesh() : Render() { setRenderType("3d"); } ...
26.252874
148
0.721103
blab-liuliang
782734aaf28fea2fbf28536efde825f2d7d9af08
34,650
cpp
C++
marxan.cpp
hotzevzl/marxan
23ba3a0ada90e721c745b922363458bece3477dc
[ "MIT" ]
5
2021-02-16T07:50:47.000Z
2021-09-14T00:17:13.000Z
marxan.cpp
hotzevzl/marxan
23ba3a0ada90e721c745b922363458bece3477dc
[ "MIT" ]
7
2021-02-17T00:03:09.000Z
2021-10-05T14:46:22.000Z
marxan.cpp
hotzevzl/marxan
23ba3a0ada90e721c745b922363458bece3477dc
[ "MIT" ]
2
2020-10-02T18:08:17.000Z
2021-06-18T09:03:01.000Z
// C++ code for Marxan // version 2.3 introduced multiple connectivity files and their associated weighting file // version 2.4.3 introduced 1D and 2D probability // version 3.0.0 is refactoring of code in 2019 #include <algorithm> #include <chrono> #include <ctime> #include <cfloat> #include <iostream> #include <omp....
38.715084
206
0.579711
hotzevzl
7829431a53fb619a77d9d90b26c090cf99083836
8,699
cpp
C++
HUST_ComputerNetworks_Labs/lab8/myping/myping.cpp
HoverWings/IOTCommunicationTechnologyLabs
376866db63086ddce39aae0d492cc6e95f3df1c1
[ "MIT" ]
1
2019-01-13T06:35:06.000Z
2019-01-13T06:35:06.000Z
HUST_ComputerNetworks_Labs/lab8/myping/myping.cpp
HoverWings/IOTCommunicationTechnologyLabs
376866db63086ddce39aae0d492cc6e95f3df1c1
[ "MIT" ]
null
null
null
HUST_ComputerNetworks_Labs/lab8/myping/myping.cpp
HoverWings/IOTCommunicationTechnologyLabs
376866db63086ddce39aae0d492cc6e95f3df1c1
[ "MIT" ]
1
2019-11-29T14:04:22.000Z
2019-11-29T14:04:22.000Z
/* FileName: myping.cpp * Author: Hover * E-Mail: hover@hust.edu.cn * GitHub: HoverWings * Description: the Hover's impletation of ping * Attention: you may need sudo to run this code */ #include <cstdio> #include <iostream> #include <algorithm> #include <iomanip> #include <vector> #include <...
26.440729
127
0.528911
HoverWings
782cd72175b8921fa2cb51cff5fb26574814e471
748
hpp
C++
src/Core/External/unsw/unsw/motion/generator/ClippedGenerator.hpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
3
2018-09-18T18:05:05.000Z
2019-10-23T17:47:07.000Z
src/Core/External/unsw/unsw/motion/generator/ClippedGenerator.hpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
1
2020-06-08T18:48:32.000Z
2020-06-19T21:41:16.000Z
src/Core/External/unsw/unsw/motion/generator/ClippedGenerator.hpp
pedrohsreis/boulos
a5b68a32cad8cc1fb9f6fbf47fc487ef99d3166e
[ "MIT" ]
9
2018-09-11T17:19:16.000Z
2019-07-30T16:43:56.000Z
#pragma once #include "motion/generator/Generator.hpp" class ClippedGenerator : Generator { public: explicit ClippedGenerator(Generator* g); ~ClippedGenerator(); virtual JointValues makeJoints(ActionCommand::All* request, Odometry* odometry, ...
31.166667
76
0.536096
pedrohsreis
782d226c5d26f8f1df931900d2cc9c874fc226bb
318
cpp
C++
Diameter Of Binary Tree .cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
2
2021-10-01T04:20:04.000Z
2021-10-01T04:20:06.000Z
Diameter Of Binary Tree .cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-01T18:00:09.000Z
2021-10-01T18:00:09.000Z
Diameter Of Binary Tree .cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
8
2021-10-01T04:20:38.000Z
2022-03-19T17:05:05.000Z
int diameterOfBinaryTree(TreeNode* root) { int d=0; rec(root, d); return d; } int rec(TreeNode* root, int &d) { if(root == NULL) return 0; int ld = rec(root->left, d); int rd = rec(root->right, d); d=max(d,ld+rd); return max(ld,rd)+1; }
22.714286
42
0.477987
Subhash3
782d63ef335a860c41b2b6f0ba060154c0ab87d0
3,456
cpp
C++
src/maiken/app.cpp
PhilipDeegan/mkn
399dd01990e130c4deeb0c2800204836d3875ae9
[ "BSD-3-Clause" ]
3
2019-02-07T20:50:36.000Z
2019-08-05T19:22:59.000Z
src/maiken/app.cpp
mkn/mkn
a05b542497270def02200df6620804b89429259b
[ "BSD-3-Clause" ]
null
null
null
src/maiken/app.cpp
mkn/mkn
a05b542497270def02200df6620804b89429259b
[ "BSD-3-Clause" ]
null
null
null
/** Copyright (c) 2017, Philip Deegan. 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 conditions and the follow...
37.978022
104
0.688079
PhilipDeegan
782e5d07868a1bc4f1ef192aa6941837cf8123f8
114
hpp
C++
Music/OnMei/Pitch/OnDo/a_Alias.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
Music/OnMei/Pitch/OnDo/a_Alias.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
Music/OnMei/Pitch/OnDo/a_Alias.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/Music/OnMei/Pitch/OnDo/a_Alias.hpp #pragma once using DoSuu = uint;
19
74
0.72807
p-adic
783255735e65bcabcc634f0512064bc0808cbecf
4,323
cpp
C++
src/vecmath/cross_product.cpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
src/vecmath/cross_product.cpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
src/vecmath/cross_product.cpp
dogesoulseller/weirdlib
35d3be8a7621890e6870a48f3839f00b87d5ced9
[ "MIT" ]
null
null
null
#ifdef WEIRDLIB_ENABLE_VECTOR_MATH #include "../../include/weirdlib_vecmath.hpp" #include "../../include/cpu_detection.hpp" #include "../../include/weirdlib_simdhelper.hpp" #include <array> namespace wlib::vecmath { #if X86_SIMD_LEVEL >= LV_AVX2 static const auto PERM_MASK_CROSSP_LHS = _mm256_set_epi32(0, 0, 1, 0, ...
36.025
87
0.703909
dogesoulseller
783a5175903571c1c754e056cd78e2084ce1d2d1
6,497
cpp
C++
Nacro/SDK/FN_GAB_AthenaDBNO_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_GAB_AthenaDBNO_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_GAB_AthenaDBNO_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function GAB_AthenaDBNO.GAB_AthenaDBN...
29.39819
145
0.785901
Milxnor
78432ee9cf1d62b320b491645d09370833fcc2f4
16,513
cpp
C++
src/Parameters.cpp
MikeHeiber/Ising_OPV
6a108675bdee1847abee0273b7874d9d312b048e
[ "MIT" ]
8
2015-10-26T22:27:51.000Z
2021-09-01T19:40:29.000Z
src/Parameters.cpp
MikeHeiber/Ising_OPV
6a108675bdee1847abee0273b7874d9d312b048e
[ "MIT" ]
13
2017-04-14T18:27:26.000Z
2020-11-27T19:03:22.000Z
src/Parameters.cpp
MikeHeiber/Ising_OPV
6a108675bdee1847abee0273b7874d9d312b048e
[ "MIT" ]
5
2018-05-22T19:15:10.000Z
2020-02-27T02:23:31.000Z
// Copyright (c) 2014-2019 Michael C. Heiber // This source file is part of the Ising_OPV project, which is subject to the MIT License. // For more information, see the LICENSE file that accompanies this software. // The Ising_OPV project can be found on Github at https://github.com/MikeHeiber/Ising_OPV #include "Para...
36.212719
230
0.690002
MikeHeiber
7845268ec5d8209992670ff50587909751d8c545
2,028
cc
C++
libqpdf/Pl_ASCIIHexDecoder.cc
tomty89/qpdf
e0775238b8b011755b9682555a8449b8a71f33eb
[ "Apache-2.0" ]
1,812
2015-01-27T09:07:20.000Z
2022-03-30T23:03:15.000Z
libqpdf/Pl_ASCIIHexDecoder.cc
tomty89/qpdf
e0775238b8b011755b9682555a8449b8a71f33eb
[ "Apache-2.0" ]
584
2015-01-24T00:31:12.000Z
2022-03-24T21:42:38.000Z
libqpdf/Pl_ASCIIHexDecoder.cc
tomty89/qpdf
e0775238b8b011755b9682555a8449b8a71f33eb
[ "Apache-2.0" ]
204
2015-04-09T16:28:06.000Z
2022-03-29T14:29:45.000Z
#include <qpdf/Pl_ASCIIHexDecoder.hh> #include <qpdf/QTC.hh> #include <stdexcept> #include <string.h> #include <ctype.h> Pl_ASCIIHexDecoder::Pl_ASCIIHexDecoder(char const* identifier, Pipeline* next) : Pipeline(identifier, next), pos(0), eod(false) { this->inbuf[0] = '0'; this->inbuf[1] = '0'; ...
17.482759
80
0.52071
tomty89
784e1c675e1798b69faa732596d74064692a0655
11,561
cpp
C++
FEBioFluid/FEFluidSolutesNaturalFlux.cpp
AlexandraAllan23/FEBio
c94a1c30e0bae5f285c0daae40a7e893e63cff3c
[ "MIT" ]
59
2020-06-15T12:38:49.000Z
2022-03-29T19:14:47.000Z
FEBioFluid/FEFluidSolutesNaturalFlux.cpp
AlexandraAllan23/FEBio
c94a1c30e0bae5f285c0daae40a7e893e63cff3c
[ "MIT" ]
36
2020-06-14T21:10:01.000Z
2022-03-12T12:03:14.000Z
FEBioFluid/FEFluidSolutesNaturalFlux.cpp
AlexandraAllan23/FEBio
c94a1c30e0bae5f285c0daae40a7e893e63cff3c
[ "MIT" ]
26
2020-06-25T15:02:13.000Z
2022-03-10T09:14:03.000Z
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obt...
34.927492
155
0.564398
AlexandraAllan23
784e40066228e00614cbf5ff86b6fe1e99c73de0
38,680
cpp
C++
Source/ArchQOR/x86/HLAssembler/Emittables/EInstruction.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/ArchQOR/x86/HLAssembler/Emittables/EInstruction.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/ArchQOR/x86/HLAssembler/Emittables/EInstruction.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//EInstruction.cpp // Copyright (c) 2008-2010, Petr Kobalicek <kobalicek.petr@gmail.com> // Copyright (c) Querysoft Limited 2012 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software...
27.569494
228
0.594907
mfaithfull
7854be80c217f33d28aa45dad4e7ff06fb4cb6d7
1,507
hpp
C++
src/collection_iterator.hpp
stanislav-podlesny/cpp-driver
be08fd0f6cfbf90ec98fdfbe1745e3470bdeeb1d
[ "Apache-2.0" ]
null
null
null
src/collection_iterator.hpp
stanislav-podlesny/cpp-driver
be08fd0f6cfbf90ec98fdfbe1745e3470bdeeb1d
[ "Apache-2.0" ]
null
null
null
src/collection_iterator.hpp
stanislav-podlesny/cpp-driver
be08fd0f6cfbf90ec98fdfbe1745e3470bdeeb1d
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2014-2015 DataStax 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 writing...
25.542373
74
0.711347
stanislav-podlesny
7856065930e739509cee13ad26aea5f0acf43ca8
1,035
cpp
C++
jsUnits/jsEnergy.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
jsUnits/jsEnergy.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
jsUnits/jsEnergy.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 DNV AS // // 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 #include <jsUnits/jsEnergy.h> #include <jsUnits/jsUnitClass.h> #include <Units/Energy.h> #include "jsMomentOfForce.h" #include "j...
34.5
126
0.770048
dnv-opensource
785914de32d34ecb74d516c667d9108859f24afa
697
cpp
C++
Source/Runtime/Foundation/Filesystem/FileStream.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
Source/Runtime/Foundation/Filesystem/FileStream.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
Source/Runtime/Foundation/Filesystem/FileStream.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
// Copyright 2008-2014 Simon Ekström #include "Common.h" #include "FileStream.h" namespace sb { FileStream::FileStream(const File& file) : _file(file) { Assert(_file.IsOpen()); } FileStream::~FileStream() { _file.Close(); } size_t FileStream::Read(void* dst, size_t size) { return _file.Read(dst, (uin...
15.152174
55
0.681492
simeks
785d578f6507848e8cf41c80bbecf74b5faf81d2
7,764
cpp
C++
NtpRsk/NtpRsk.cpp
bochen8709/core
d523ee47c0cbe2db1f3cfe9e71ed77bfd4d2254d
[ "MIT" ]
1
2021-07-11T10:27:46.000Z
2021-07-11T10:27:46.000Z
NtpRsk/NtpRsk.cpp
bochen8709/core
d523ee47c0cbe2db1f3cfe9e71ed77bfd4d2254d
[ "MIT" ]
null
null
null
NtpRsk/NtpRsk.cpp
bochen8709/core
d523ee47c0cbe2db1f3cfe9e71ed77bfd4d2254d
[ "MIT" ]
null
null
null
#include <openssl/bn.h> #include "NtpRsk.h" #include <openssl/rand.h> #include <iostream> /** * A is signature, X is the signed message hash * A^e = X * * e is the RSA exponent, typically 2^16 + 1 * * The proof is d where 1 < d < e (typically 2^16) * * r is a random number, then: * * (A^d *r)^e = X^d * (r^e)...
30.932271
119
0.607805
bochen8709
785e169d4eb1829aa7edce93cd7a20a7269ce9f2
6,418
hpp
C++
SU2-Quantum/Common/include/geometry/meshreader/CCGNSMeshReaderFVM.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/include/geometry/meshreader/CCGNSMeshReaderFVM.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/include/geometry/meshreader/CCGNSMeshReaderFVM.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
/*! * \file CCGNSMeshReaderFVM.hpp * \brief Header file for the class CCGNSMeshReaderFVM. * The implementations are in the <i>CCGNSMeshReaderFVM.cpp</i> file. * \author T. Economon * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU...
38.89697
262
0.677158
Agony5757
78644bcea21477a3d64a6355845324d2669e0442
11,011
cpp
C++
rmf_task/src/rmf_task/requests/Delivery.cpp
Rouein/rmf_task
32de25ff127aed754ca760ef462ef8c3e7dd56a1
[ "Apache-2.0" ]
null
null
null
rmf_task/src/rmf_task/requests/Delivery.cpp
Rouein/rmf_task
32de25ff127aed754ca760ef462ef8c3e7dd56a1
[ "Apache-2.0" ]
null
null
null
rmf_task/src/rmf_task/requests/Delivery.cpp
Rouein/rmf_task
32de25ff127aed754ca760ef462ef8c3e7dd56a1
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2020 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...
31.550143
82
0.647625
Rouein
786c621a3913178ff704534f47c67e734488b933
2,324
cpp
C++
Test/ListenerTest/Test_listener.cpp
tzimer/private-transaction-families
f67a1fe9fdb8a4525736114dc2e464eb4b6d595e
[ "Apache-2.0" ]
null
null
null
Test/ListenerTest/Test_listener.cpp
tzimer/private-transaction-families
f67a1fe9fdb8a4525736114dc2e464eb4b6d595e
[ "Apache-2.0" ]
null
null
null
Test/ListenerTest/Test_listener.cpp
tzimer/private-transaction-families
f67a1fe9fdb8a4525736114dc2e464eb4b6d595e
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "data_map.h" #include "rest_handler.h" #include "Enclave_u.h" #include "mock_sawtooth.h" #include "config.h" #include "txn_handler.h" //declare the extern global std::string config::g_key_path; std::string config::g_rest_url; std::string addr1, addr2, addr3; ...
29.794872
96
0.686317
tzimer
786c9acf12e9132b25b1f5767186dfd6a1a0e1b3
2,680
cpp
C++
mygraphicsscene.cpp
rbax/qtKabuChart
0604b32389e897174da3bb342bdee21ead498c7c
[ "MIT" ]
1
2021-02-16T10:49:00.000Z
2021-02-16T10:49:00.000Z
mygraphicsscene.cpp
rbax/qtKabuChart
0604b32389e897174da3bb342bdee21ead498c7c
[ "MIT" ]
null
null
null
mygraphicsscene.cpp
rbax/qtKabuChart
0604b32389e897174da3bb342bdee21ead498c7c
[ "MIT" ]
null
null
null
/********************************************************************* * Copyright (c) 2016 nari * This source is released under the MIT license * http://opensource.org/licenses/mit-license.php * * This source code is a modification of article website below. * http://www.walletfox.com/course/qgraphicsitemr...
29.130435
114
0.587687
rbax
786fcc1bb43f7f1a89aee484c9057dbaf2eb0488
8,152
hxx
C++
include/crab/streams.hxx
hrissan/crablib
db86e5f52acddcc233aec755d5fce0e6f19c0e21
[ "MIT" ]
3
2020-02-13T02:08:06.000Z
2020-10-06T16:26:30.000Z
include/crab/streams.hxx
hrissan/crablib
db86e5f52acddcc233aec755d5fce0e6f19c0e21
[ "MIT" ]
null
null
null
include/crab/streams.hxx
hrissan/crablib
db86e5f52acddcc233aec755d5fce0e6f19c0e21
[ "MIT" ]
null
null
null
// Copyright (c) 2007-2020, Grigory Buteyko aka Hrissan // Licensed under the MIT License. See LICENSE for details. #include <algorithm> #include <cstring> #include <iostream> #include <limits> #include <stdexcept> #include "streams.hpp" namespace crab { CRAB_INLINE void IStream::read(uint8_t *val, size_t count) { ...
24.70303
80
0.616658
hrissan
7870d51f7968bced59fbe92f44aaadb74120d3b1
935
hpp
C++
entregas/01-cifrado/CifradoVigenere.hpp
gerardogtn/Calidad-y-Pruebas-de-Software
ed338b5627a343b7dee366aaa36cd735f74e53af
[ "MIT" ]
null
null
null
entregas/01-cifrado/CifradoVigenere.hpp
gerardogtn/Calidad-y-Pruebas-de-Software
ed338b5627a343b7dee366aaa36cd735f74e53af
[ "MIT" ]
null
null
null
entregas/01-cifrado/CifradoVigenere.hpp
gerardogtn/Calidad-y-Pruebas-de-Software
ed338b5627a343b7dee366aaa36cd735f74e53af
[ "MIT" ]
null
null
null
// Copyright 2017 Gerardo Teruel #ifndef UNITARIAS_EJERCICIO03_CIFRADOVIGENERE_H_ #define UNITARIAS_EJERCICIO03_CIFRADOVIGENERE_H_ #include <string> class CifradoVigenere : public Cifrado { private: const std::string key; public: explicit CifradoVigenere(const std::string key) : key(key) {} virtual ~CifradoV...
23.375
63
0.581818
gerardogtn
787601bab6e036ffa10b8ead9aa11363a2b98cb0
5,170
cpp
C++
src/asm/Instruction.cpp
rigred/VC4C
6c900c0e2fae2cbdd22c5adb044f385ae005468a
[ "MIT" ]
null
null
null
src/asm/Instruction.cpp
rigred/VC4C
6c900c0e2fae2cbdd22c5adb044f385ae005468a
[ "MIT" ]
null
null
null
src/asm/Instruction.cpp
rigred/VC4C
6c900c0e2fae2cbdd22c5adb044f385ae005468a
[ "MIT" ]
null
null
null
/* * Author: doe300 * * See the file "LICENSE" for the full license governing this code. */ #include "Instruction.h" #include "../Values.h" #include "ALUInstruction.h" #include "BranchInstruction.h" #include "LoadInstruction.h" #include "SemaphoreInstruction.h" #include <cstdbool> #include <memory> using namesp...
30.77381
114
0.67234
rigred
78796f3c89bf6e8a8d616f7be1ffc902210e22fe
67,345
cpp
C++
test/word_break_34.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
null
null
null
test/word_break_34.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
1
2021-03-05T12:56:59.000Z
2021-03-05T13:11:53.000Z
test/word_break_34.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
3
2019-10-30T18:38:15.000Z
2021-03-05T12:10:13.000Z
// Warning! This file is autogenerated. #include <boost/text/word_break.hpp> #include <gtest/gtest.h> #include <algorithm> TEST(word, breaks_34) { // ÷ 0031 × 002E × 2060 × 0031 ÷ 0027 ÷ // ÷ [0.2] DIGIT ONE (Numeric) × [12.0] FULL STOP (MidNumLet) × [4.0] WORD JOINER (Format_FE) × [11.0] DIGIT ONE (Numeri...
76.010158
292
0.594239
eightysquirrels
787d6eac8148288a839a06c366f15b75c55bee35
2,711
cpp
C++
Src/Server/OSSupport/IPLookup.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
2
2019-11-17T14:01:21.000Z
2019-12-24T14:29:45.000Z
Src/Server/OSSupport/IPLookup.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
null
null
null
Src/Server/OSSupport/IPLookup.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
3
2019-08-28T14:37:01.000Z
2020-06-17T16:46:32.000Z
// IPLookup.cpp // Implements the cIPLookup class representing an IP-to-hostname lookup in progress. #include "stdafx.h" #include "IPLookup.h" #include <event2/dns.h> #include "NetworkSingleton.h" #include <log4z.h> using namespace zsummer::log4z; /////////////////////////////////////////////////////////////////...
25.819048
112
0.669864
lcmftianci
787e7f8cd1c9c5266eef712814c2dcafd3c3c3af
1,570
cpp
C++
src/io/spoiler_writer.cpp
Nanarki/randstalker
003afdccaa46935d8a7879d6bdaf5d4ab7dfc4a5
[ "MIT" ]
10
2020-01-19T22:10:01.000Z
2021-12-27T15:30:22.000Z
src/io/spoiler_writer.cpp
Nanarki/randstalker
003afdccaa46935d8a7879d6bdaf5d4ab7dfc4a5
[ "MIT" ]
34
2020-01-19T14:31:02.000Z
2022-03-31T22:02:47.000Z
src/io/spoiler_writer.cpp
Nanarki/randstalker
003afdccaa46935d8a7879d6bdaf5d4ab7dfc4a5
[ "MIT" ]
6
2020-01-19T09:37:47.000Z
2022-01-06T01:12:17.000Z
#include "io.hpp" #include <landstalker_lib/tools/json.hpp> #include <landstalker_lib/model/world_teleport_tree.hpp> #include <landstalker_lib/model/entity_type.hpp> #include "../logic_model/world_region.hpp" #include "../logic_model/randomizer_world.hpp" #include "../logic_model/hint_source.hpp" #include "../randomi...
30.784314
102
0.63121
Nanarki