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
a97d92a56aa7408d7e8a5b17ee7f970b0be21218
5,243
hpp
C++
tests/test_utilities.hpp
Felix-Rm/iac
59bfc7e859d4cc0b923c75dd34316ae2fafd9097
[ "BSD-2-Clause" ]
null
null
null
tests/test_utilities.hpp
Felix-Rm/iac
59bfc7e859d4cc0b923c75dd34316ae2fafd9097
[ "BSD-2-Clause" ]
null
null
null
tests/test_utilities.hpp
Felix-Rm/iac
59bfc7e859d4cc0b923c75dd34316ae2fafd9097
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include "ftest/test_logging.hpp" #include "iac.hpp" #define TEST_UTILS_CREATE_NODE_WITH_ENDPOINT(node_name, ep_name, name, id) \ iac::LocalNode node_name{}; \ iac::LocalEndpoint ep_name{id, name}; \ node_name.add_loc...
47.663636
171
0.536716
Felix-Rm
a97f0873aa383a1ce0cb699ac69f6bab0d48c4f5
505
cpp
C++
cppprimer_anwser/8.9.cpp
iusyu/c_practic
7428b8d37df09cb27bc9d66d1e34c81a973b6119
[ "MIT" ]
null
null
null
cppprimer_anwser/8.9.cpp
iusyu/c_practic
7428b8d37df09cb27bc9d66d1e34c81a973b6119
[ "MIT" ]
null
null
null
cppprimer_anwser/8.9.cpp
iusyu/c_practic
7428b8d37df09cb27bc9d66d1e34c81a973b6119
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <fstream> #include <vector> int main( int argv, char *argc[] ) { using namespace std; string tmpLine; ifstream infile { argc[1] }; vector<string> vline; while( getline(infile, tmpLine ) ) { vline.push_back(tmpLine); tmpLine.clear(); } for( auto itr = vline....
18.703704
60
0.631683
iusyu
a97f1c4fe24c012b0c6a95f403c693fcae040720
62
cpp
C++
unit_test/threads/Test_Threads_Blas1_team_scal.cpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
156
2017-03-01T23:38:10.000Z
2022-03-27T21:28:03.000Z
unit_test/threads/Test_Threads_Blas1_team_scal.cpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
1,257
2017-03-03T15:25:16.000Z
2022-03-31T19:46:09.000Z
unit_test/threads/Test_Threads_Blas1_team_scal.cpp
dialecticDolt/kokkos-kernels
00189c0be23a70979aeaa162f0abd4c0e4d1c479
[ "BSD-3-Clause" ]
76
2017-03-01T17:03:59.000Z
2022-03-03T21:04:41.000Z
#include<Test_Threads.hpp> #include<Test_Blas1_team_scal.hpp>
20.666667
34
0.83871
dialecticDolt
a981dc23d05ebe3dbbb4942ae81b9a4f5361926b
3,366
cpp
C++
misc/lcs.cpp
arupa-loka/lrep
7ef6ce39e7527693f8fb7d62b80a69fa29adc295
[ "Apache-2.0" ]
null
null
null
misc/lcs.cpp
arupa-loka/lrep
7ef6ce39e7527693f8fb7d62b80a69fa29adc295
[ "Apache-2.0" ]
null
null
null
misc/lcs.cpp
arupa-loka/lrep
7ef6ce39e7527693f8fb7d62b80a69fa29adc295
[ "Apache-2.0" ]
null
null
null
/* LCS - Longest Common Substring * between two strings. */ #include <iostream> #include <cstdlib> #include <cstdio> #include <cstring> void dump_array(int A[], int size) { for (int i=0; i<size; ++i) printf("%i\t", A[i]); printf("\n"); return; } void dump_array2(char A[], int size) { for (int i=0; ...
22.44
78
0.521687
arupa-loka
a984a7326ed18131076a35092f409932d8d84658
4,478
cxx
C++
DreamDaq/macro_root/cu_dream_avg_gioca.cxx
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
3
2021-07-22T12:17:48.000Z
2021-07-27T07:22:54.000Z
DreamDaq/macro_root/cu_dream_avg_gioca.cxx
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
38
2021-07-14T15:41:04.000Z
2022-03-29T14:18:20.000Z
DreamDaq/macro_root/cu_dream_avg_gioca.cxx
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
7
2021-07-21T12:00:33.000Z
2021-11-13T10:45:30.000Z
void cu_dream_avg(TString runfile, float *res = 0){ TFile *f = TFile::Open(runfile); float SAM = 2; //sigmas_around_mean TH1F * h; TF1 *g = new TF1("g","gaus"); f->GetObject("Cu_Dream/Cu_dream_S_tot",h); new TCanvas("S","S",12,10,700,500); h->GetXaxis()->SetRange(1400,2100); h->Fit(g,"q","",1500,200...
28.705128
131
0.575033
ivivarel
a985679b523f5591398ff126a25890c1fa881f22
9,030
hpp
C++
native/external-libraries/boost/boost/log/utility/init/formatter_parser.hpp
l3dlp-sandbox/airkinect-2-core
49aecbd3c3fd9584434089dd2d9eef93567036e7
[ "Apache-2.0" ]
null
null
null
native/external-libraries/boost/boost/log/utility/init/formatter_parser.hpp
l3dlp-sandbox/airkinect-2-core
49aecbd3c3fd9584434089dd2d9eef93567036e7
[ "Apache-2.0" ]
null
null
null
native/external-libraries/boost/boost/log/utility/init/formatter_parser.hpp
l3dlp-sandbox/airkinect-2-core
49aecbd3c3fd9584434089dd2d9eef93567036e7
[ "Apache-2.0" ]
null
null
null
/* * Copyright Andrey Semashev 2007 - 2010. * 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) */ /*! * \file formatter_parser.hpp * \author Andrey Semashev * \date 07.04.2008 * * The...
37.625
124
0.739978
l3dlp-sandbox
a98bf9d1fe00309110362eb8fc84f838c4cec862
54,393
cpp
C++
src/Base/ViewArea.cpp
team-FisMa/choreonoid
83265e8ffe96eb0aec977be7a43cd8c218fc5905
[ "MIT" ]
66
2020-03-11T14:06:01.000Z
2022-03-23T23:18:27.000Z
src/Base/ViewArea.cpp
team-FisMa/choreonoid
83265e8ffe96eb0aec977be7a43cd8c218fc5905
[ "MIT" ]
12
2020-07-23T06:13:11.000Z
2022-01-13T14:25:01.000Z
src/Base/ViewArea.cpp
team-FisMa/choreonoid
83265e8ffe96eb0aec977be7a43cd8c218fc5905
[ "MIT" ]
18
2020-07-17T15:57:54.000Z
2022-03-29T13:18:59.000Z
/** @author Shin'ichiro Nakaoka */ #include "ViewArea.h" #include "View.h" #include "ViewManager.h" #include "MenuManager.h" #include "MessageView.h" #include "MainWindow.h" #include "Timer.h" #include <QApplication> #include <QBoxLayout> #include <QSplitter> #include <QTabWidget> #include <QTabBar> #include <QRubb...
29.354021
124
0.569338
team-FisMa
a98c6659e7e2d09cd339050f1085f6014755868e
1,532
cpp
C++
test/bdev/bdevc++/common/DefaultAllocStrategy.cpp
janlt/spdk
263a281579bd956acf596cd3587872c209050816
[ "BSD-3-Clause" ]
1
2020-04-15T12:13:35.000Z
2020-04-15T12:13:35.000Z
test/bdev/bdevc++/common/DefaultAllocStrategy.cpp
janlt/spdk
263a281579bd956acf596cd3587872c209050816
[ "BSD-3-Clause" ]
null
null
null
test/bdev/bdevc++/common/DefaultAllocStrategy.cpp
janlt/spdk
263a281579bd956acf596cd3587872c209050816
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
27.357143
77
0.762402
janlt
a98cf83342e38836ba0b91c858fd5f2a5ef5dad5
50
cpp
C++
KonvDateiNeu.cpp
jbxplan/GMLToolbox-src
fec35558787db18d222598e376bc7c1071c69a55
[ "Apache-2.0" ]
2
2021-05-04T06:23:46.000Z
2022-02-04T21:40:07.000Z
KonvDateiNeu.cpp
jbxplan/GMLToolbox-src
fec35558787db18d222598e376bc7c1071c69a55
[ "Apache-2.0" ]
null
null
null
KonvDateiNeu.cpp
jbxplan/GMLToolbox-src
fec35558787db18d222598e376bc7c1071c69a55
[ "Apache-2.0" ]
2
2020-07-13T12:14:11.000Z
2021-05-04T06:23:49.000Z
#include "StdAfx.h" #include "KonvDateiNeu.h"
12.5
26
0.68
jbxplan
a98de385549e00f2d6b052025a8762437b3ef5ed
5,714
hpp
C++
src/oatpp/core/collection/ListMap.hpp
swarkentin/oatpp
6838f37c04277e44b22e23df33e8eded70701f3c
[ "Apache-2.0" ]
1
2019-11-19T17:46:28.000Z
2019-11-19T17:46:28.000Z
src/oatpp/core/collection/ListMap.hpp
swarkentin/oatpp
6838f37c04277e44b22e23df33e8eded70701f3c
[ "Apache-2.0" ]
1
2019-11-22T15:42:39.000Z
2019-11-22T15:42:39.000Z
src/oatpp/core/collection/ListMap.hpp
swarkentin/oatpp
6838f37c04277e44b22e23df33e8eded70701f3c
[ "Apache-2.0" ]
1
2019-11-22T00:45:50.000Z
2019-11-22T00:45:50.000Z
/*************************************************************************** * * Project _____ __ ____ _ _ * ( _ ) /__\ (_ _)_| |_ _| |_ * )(_)( /(__)\ )( (_ _)(_ _) * (_____)(__)(__)(__) |_| |_| * * * Copyright 2018-present, Leoni...
20.553957
90
0.543052
swarkentin
a98dff33bb3eecd4a229af12682359bbf2f87ffc
14,672
cpp
C++
src/api/processors/thumbnail.cpp
sucangit/images
6171702646129b3dadbbeb7bfe75e4ac9379b714
[ "BSD-3-Clause" ]
826
2018-06-22T07:20:04.000Z
2022-03-31T21:52:34.000Z
src/api/processors/thumbnail.cpp
sucangit/images
6171702646129b3dadbbeb7bfe75e4ac9379b714
[ "BSD-3-Clause" ]
210
2018-06-18T15:50:12.000Z
2022-03-30T22:56:28.000Z
src/api/processors/thumbnail.cpp
sucangit/images
6171702646129b3dadbbeb7bfe75e4ac9379b714
[ "BSD-3-Clause" ]
121
2018-06-19T19:41:43.000Z
2022-03-20T19:20:29.000Z
#include "thumbnail.h" #include "../exceptions/large.h" #include <algorithm> #include <cmath> #include <string> #include <tuple> namespace weserv { namespace api { namespace processors { using enums::Canvas; using enums::ImageType; // Set to true in order to have a greater advantage of the JPEG // shrink-on-load f...
33.497717
80
0.582061
sucangit
a98ef7f7aa35078dd39e14254884d93be6f559bd
401
cpp
C++
cpp/src/player_utils.cpp
calincru/UltimateTicTacToe
2811c9021369f97dd3d6fa4f2247cbadb1aece49
[ "Apache-2.0" ]
null
null
null
cpp/src/player_utils.cpp
calincru/UltimateTicTacToe
2811c9021369f97dd3d6fa4f2247cbadb1aece49
[ "Apache-2.0" ]
null
null
null
cpp/src/player_utils.cpp
calincru/UltimateTicTacToe
2811c9021369f97dd3d6fa4f2247cbadb1aece49
[ "Apache-2.0" ]
null
null
null
// Self #include "player_utils.hpp" // Project #include "utils.hpp" namespace tictactoe { player_e player_utils::opponent(player_e player) { TTT_ASSERT(player == player_e::ME || player == player_e::OPPONENT, "opponent precondition"); return player == player_e::OPPONENT ? player_e::ME ...
23.588235
70
0.618454
calincru
817bbc88fc0a18ff51f05c50dd8c600457b3c84e
4,512
cpp
C++
core/src/data/tileSource.cpp
flyskyosg/tangram-es
7d0d7297485fdb388455b15810690c1568bdbedb
[ "MIT" ]
null
null
null
core/src/data/tileSource.cpp
flyskyosg/tangram-es
7d0d7297485fdb388455b15810690c1568bdbedb
[ "MIT" ]
null
null
null
core/src/data/tileSource.cpp
flyskyosg/tangram-es
7d0d7297485fdb388455b15810690c1568bdbedb
[ "MIT" ]
1
2019-08-31T14:43:29.000Z
2019-08-31T14:43:29.000Z
#include "data/tileSource.h" #include "data/formats/geoJson.h" #include "data/formats/mvt.h" #include "data/formats/topoJson.h" #include "data/tileData.h" #include "platform.h" #include "tile/tileID.h" #include "tile/tile.h" #include "tile/tileTask.h" #include "log.h" #include <atomic> #include <functional> namespac...
29.684211
108
0.672651
flyskyosg
817d9f34d37507b0c168d13ff88f415f94b5604e
1,455
cpp
C++
z2/src/WyrazenieZesp.cpp
MultiMixization/ZadanieLiczbyZepsolone
c6e4d0d66497bd5347a23e17714f1777a9678fbc
[ "MIT" ]
null
null
null
z2/src/WyrazenieZesp.cpp
MultiMixization/ZadanieLiczbyZepsolone
c6e4d0d66497bd5347a23e17714f1777a9678fbc
[ "MIT" ]
null
null
null
z2/src/WyrazenieZesp.cpp
MultiMixization/ZadanieLiczbyZepsolone
c6e4d0d66497bd5347a23e17714f1777a9678fbc
[ "MIT" ]
null
null
null
#include "WyrazenieZesp.hh" using std::cout; using std::cin; /* * Tu nalezy zdefiniowac funkcje, ktorych zapowiedzi znajduja sie * w pliku naglowkowym. */ std::istream & operator >> (std::istream & strm, Operator & Op) { char znak; strm >> znak; switch(znak) { case '+': Op=Op_Dodaj; brea...
17.321429
68
0.557388
MultiMixization
817e85987e99618d4499db11459e34b90e714d99
1,954
cpp
C++
firmware/src/lib/simple_fs/mock_spi_flash.cpp
rundb/dictofun
cc9d80da88819095ef0fdcdf816d976c2afa4eba
[ "Apache-2.0" ]
6
2021-10-07T18:34:51.000Z
2022-02-03T20:34:26.000Z
firmware/src/lib/simple_fs/mock_spi_flash.cpp
rundb/dictofun
cc9d80da88819095ef0fdcdf816d976c2afa4eba
[ "Apache-2.0" ]
29
2021-10-08T20:37:47.000Z
2022-03-18T20:27:53.000Z
firmware/src/lib/simple_fs/mock_spi_flash.cpp
rundb/dictofun
cc9d80da88819095ef0fdcdf816d976c2afa4eba
[ "Apache-2.0" ]
2
2021-10-06T16:13:56.000Z
2021-10-08T20:42:56.000Z
// SPDX-License-Identifier: Apache-2.0 /* * Copyright (c) 2022, Roman Turkin */ #include "simple_fs.h" #include <cstring> #include <iostream> using namespace std; namespace test { // Simulating a standard 128Mbit memory (16 Mb) constexpr size_t MOCK_MEMORY_SIZE = 16 * 1024 * 1024; constexpr size_t PAGE_SIZE = 256...
27.138889
97
0.66479
rundb
818230de7f12ce5819ad5de75759369dfb91b5c0
2,483
cpp
C++
ql/experimental/mcbasket/mcpathbasketengine.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
ql/experimental/mcbasket/mcpathbasketengine.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
2
2017-07-05T09:20:13.000Z
2019-10-31T12:06:51.000Z
ql/experimental/mcbasket/mcpathbasketengine.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2008 Andrea Odetti 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/o...
37.059701
126
0.633911
haozhangphd
81826b98faa4efe5e6045b8c40c4f324e4fd52da
5,907
cpp
C++
cdn/src/v20180606/model/DescribeScdnTopDataResponse.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
cdn/src/v20180606/model/DescribeScdnTopDataResponse.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
cdn/src/v20180606/model/DescribeScdnTopDataResponse.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
32.103261
116
0.651261
sinjoywong
8189ad4d84cffe7cd66a7da5eea8304425b9c383
601
cpp
C++
src/parser/transform/statement/transform_delete.cpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
2
2020-01-07T17:19:02.000Z
2020-01-09T22:04:04.000Z
src/parser/transform/statement/transform_delete.cpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
null
null
null
src/parser/transform/statement/transform_delete.cpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
null
null
null
#include "duckdb/parser/statement/delete_statement.hpp" #include "duckdb/parser/transformer.hpp" using namespace duckdb; using namespace std; unique_ptr<DeleteStatement> Transformer::TransformDelete(postgres::Node *node) { auto stmt = reinterpret_cast<postgres::DeleteStmt *>(node); assert(stmt); auto result = make...
31.631579
80
0.770383
RelationalAI-oss
818c43491286cc8f73f8a65a56f6a54f4c2c8b2d
13,386
cpp
C++
source/annotator/source/main/mainwindow.cpp
annotatorproject/annotator
637b7469051b7f5ab3c9994de458fd8a1cafdb70
[ "Apache-2.0" ]
null
null
null
source/annotator/source/main/mainwindow.cpp
annotatorproject/annotator
637b7469051b7f5ab3c9994de458fd8a1cafdb70
[ "Apache-2.0" ]
null
null
null
source/annotator/source/main/mainwindow.cpp
annotatorproject/annotator
637b7469051b7f5ab3c9994de458fd8a1cafdb70
[ "Apache-2.0" ]
null
null
null
// Copyright 2015-2017 Annotator Team #include "mainwindow.h" #include "ui_mainwindow.h" #include <string> #include <AnnotatorLib/Annotation.h> #include <AnnotatorLib/Commands/CleanSession.h> #include <AnnotatorLib/Commands/CompressSession.h> #include <QApplication> #include <QCheckBox> #include <QDebug> #include <...
33.215881
80
0.708726
annotatorproject
818dd04aa637d30278cf11ecd1982abbdadbc877
15,269
cpp
C++
source/flashplayer/brflashmanager.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
115
2015-01-18T17:29:30.000Z
2022-01-30T04:31:48.000Z
source/flashplayer/brflashmanager.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-22T04:53:38.000Z
2015-01-31T13:52:40.000Z
source/flashplayer/brflashmanager.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-23T20:06:46.000Z
2020-05-20T16:06:00.000Z
/*************************************** Flash player manager Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com> It is released under an MIT Open Source license. Please see LICENSE for license details. Yes, you can use it in a commercial title without paying anything, just gi...
28.918561
99
0.62676
Olde-Skuul
818ec90634660c0f090307c219f591f551b378cf
381
cpp
C++
xlloption/fms_sequence_constant.t.cpp
GR6250-2019/hw6
13a78ed4474c5e37b82a3ded10eef95b706e382b
[ "MIT" ]
null
null
null
xlloption/fms_sequence_constant.t.cpp
GR6250-2019/hw6
13a78ed4474c5e37b82a3ded10eef95b706e382b
[ "MIT" ]
null
null
null
xlloption/fms_sequence_constant.t.cpp
GR6250-2019/hw6
13a78ed4474c5e37b82a3ded10eef95b706e382b
[ "MIT" ]
null
null
null
// fms_sequence_constant.t.cpp - Test constant sequences. #include <cassert> #include "fms_sequence_constant.h" using namespace fms::sequence; int test_sequence_constant() { constant c(42); assert(c); assert(*c == 42); assert(++c && *c == 42); assert(++c && *c == 42); return 0; ...
21.166667
58
0.632546
GR6250-2019
818f3e012c9ae59bb19734c573c19f48e1f5eaf9
4,067
cpp
C++
libs/besiq/method/peer_method.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
1
2015-10-21T14:22:12.000Z
2015-10-21T14:22:12.000Z
libs/besiq/method/peer_method.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
2
2019-05-26T20:52:31.000Z
2019-05-28T16:19:49.000Z
libs/besiq/method/peer_method.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
2
2016-11-06T14:58:37.000Z
2019-05-26T14:03:13.000Z
#include <dcdflib/libdcdf.hpp> #include <besiq/method/peer_method.hpp> #include <besiq/stats/snp_count.hpp> peer_method::peer_method(method_data_ptr data) : method_type::method_type( data ) { m_weight = arma::ones<arma::vec>( data->phenotype.size( ) ); } std::vector<std::string> peer_method::init() { std::vec...
35.365217
128
0.588886
hoehleatsu
81913ee91dd7b1b46d1e7227740ec4e5c2bf7d91
2,606
cpp
C++
Employee-database-test-v1/Employee-database-test-v1.cpp
TheJoyfulProgrammer/My-CPP-Demos
1c19cb2bdf041e788c141a7816f37c264e106411
[ "MIT" ]
null
null
null
Employee-database-test-v1/Employee-database-test-v1.cpp
TheJoyfulProgrammer/My-CPP-Demos
1c19cb2bdf041e788c141a7816f37c264e106411
[ "MIT" ]
null
null
null
Employee-database-test-v1/Employee-database-test-v1.cpp
TheJoyfulProgrammer/My-CPP-Demos
1c19cb2bdf041e788c141a7816f37c264e106411
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <fstream> int main () { std::fstream DatabaseFile; std::string EmployeeID, EmployeeName, EmployeeAddress, EmployeePhone, EmployeeDepartment; std::string EmployeePosition, EmployeeHiredDate, EmployeeRatePerDay, EmployeeRatePerHour, EmployeeOvertimeRate...
40.092308
116
0.605909
TheJoyfulProgrammer
81928e3f6e8c1667a72587f1209edac785ec4709
5,902
cpp
C++
OpenTESArena/src/Interface/Panel.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/Panel.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/Panel.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
#include <vector> #include "SDL.h" #include "CinematicPanel.h" #include "CursorAlignment.h" #include "ImageSequencePanel.h" #include "ImagePanel.h" #include "MainMenuPanel.h" #include "Panel.h" #include "RichTextString.h" #include "TextAlignment.h" #include "TextBox.h" #include "../Game/Game.h" #include...
25.222222
84
0.689258
Digital-Monk
8193a7552545c3c7fef8863bf87bb19cd2ff5007
154
cpp
C++
public/similarity_plugin/input/10/12/10 12 5112100047--Fungsi Hello World!.cpp
laurensiusadi/elearning-pweb
c72ae1fc414895919ef71ae370686353d9086bce
[ "MIT" ]
null
null
null
public/similarity_plugin/input/10/12/10 12 5112100047--Fungsi Hello World!.cpp
laurensiusadi/elearning-pweb
c72ae1fc414895919ef71ae370686353d9086bce
[ "MIT" ]
null
null
null
public/similarity_plugin/input/10/12/10 12 5112100047--Fungsi Hello World!.cpp
laurensiusadi/elearning-pweb
c72ae1fc414895919ef71ae370686353d9086bce
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; void Print() { cout << "Hello World!" << endl; } int main() { int aaaa = 2; print(); return 0; }
12.833333
35
0.558442
laurensiusadi
8198d1fef53f71d33f40f519f595842d8db97b5b
3,018
cpp
C++
QmlVlcConfig.cpp
mdkcore0/QmlVlc
67c764d72dd6c45f47322b0da4e10fa94c60aabe
[ "BSD-2-Clause" ]
null
null
null
QmlVlcConfig.cpp
mdkcore0/QmlVlc
67c764d72dd6c45f47322b0da4e10fa94c60aabe
[ "BSD-2-Clause" ]
null
null
null
QmlVlcConfig.cpp
mdkcore0/QmlVlc
67c764d72dd6c45f47322b0da4e10fa94c60aabe
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * Copyright (c) 2014, Sergey Radionov <rsatom_gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Red...
38.692308
80
0.680583
mdkcore0
819bf7d4469ce00e40d22618123389fa3b931b08
6,382
cpp
C++
test/console_tests.cpp
bponsler/ros2_console
2ad033046a1d72c509f20d6478fa86ecf21fc6be
[ "Apache-2.0" ]
null
null
null
test/console_tests.cpp
bponsler/ros2_console
2ad033046a1d72c509f20d6478fa86ecf21fc6be
[ "Apache-2.0" ]
null
null
null
test/console_tests.cpp
bponsler/ros2_console
2ad033046a1d72c509f20d6478fa86ecf21fc6be
[ "Apache-2.0" ]
2
2017-07-31T05:25:47.000Z
2017-12-07T22:14:49.000Z
// project headers #include <ros2_console/console.hpp> // gtest includes #include <gtest/gtest.h> TEST(TimeTestSuite, testRegularNoArgs) { ROS_DEBUG("Empty format"); ROS_INFO("Empty format"); ROS_WARN("Empty format"); ROS_ERROR("Empty format"); ROS_FATAL("Empty format"); } TEST(TimeTestSuite, testRegular)...
38.215569
89
0.623316
bponsler
819d02aa678c629cbf59da927a1341b0fb71b6d3
2,570
cpp
C++
Code/Editor/EditorFramework/Manipulators/Implementation/SphereManipulatorAdapter.cpp
jakrams/ezEngine
2308f9d708f829b1716f54d3f79bbd262bb86132
[ "MIT" ]
null
null
null
Code/Editor/EditorFramework/Manipulators/Implementation/SphereManipulatorAdapter.cpp
jakrams/ezEngine
2308f9d708f829b1716f54d3f79bbd262bb86132
[ "MIT" ]
null
null
null
Code/Editor/EditorFramework/Manipulators/Implementation/SphereManipulatorAdapter.cpp
jakrams/ezEngine
2308f9d708f829b1716f54d3f79bbd262bb86132
[ "MIT" ]
null
null
null
#include <EditorFramework/EditorFrameworkPCH.h> #include <EditorFramework/DocumentWindow/EngineDocumentWindow.moc.h> #include <EditorFramework/Manipulators/SphereManipulatorAdapter.h> #include <ToolsFoundation/Object/ObjectAccessorBase.h> ezSphereManipulatorAdapter::ezSphereManipulatorAdapter() {} ezSphereManipulato...
32.531646
141
0.781712
jakrams
819faf953b8b078fed9e3da98544ec8204ce7850
9,608
cpp
C++
third party/openRTMFP-Cumulus/CumulusLib/sources/Flow.cpp
Patrick-Bay/SocialCastr
888a57ca63037e566f6c0bf03a646ae91b484086
[ "MIT" ]
5
2015-04-30T09:08:30.000Z
2018-08-13T05:00:39.000Z
third party/openRTMFP-Cumulus/CumulusLib/sources/Flow.cpp
Patrick-Bay/SocialCastr
888a57ca63037e566f6c0bf03a646ae91b484086
[ "MIT" ]
null
null
null
third party/openRTMFP-Cumulus/CumulusLib/sources/Flow.cpp
Patrick-Bay/SocialCastr
888a57ca63037e566f6c0bf03a646ae91b484086
[ "MIT" ]
null
null
null
/* Copyright 2010 OpenRTMFP This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in...
25.68984
242
0.688905
Patrick-Bay
81ab333630250bf0b6cc8d485148a0564974f1c8
19,863
cpp
C++
dof-mgr/test/dofmngr_test/tGlobalIndexerUtilities.cpp
hillyuan/Tianxin
57c7a5ed2466dda99471dec41cd85878335774d7
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
dof-mgr/test/dofmngr_test/tGlobalIndexerUtilities.cpp
hillyuan/Tianxin
57c7a5ed2466dda99471dec41cd85878335774d7
[ "BSD-3-Clause" ]
null
null
null
dof-mgr/test/dofmngr_test/tGlobalIndexerUtilities.cpp
hillyuan/Tianxin
57c7a5ed2466dda99471dec41cd85878335774d7
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85...
38.12476
132
0.704274
hillyuan
81b1dc92ab2ff3381fa3c701f930769f05c6561c
2,949
cpp
C++
Engine/Networking/NetworkHandler.cpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Networking/NetworkHandler.cpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Networking/NetworkHandler.cpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
#include "NetworkHandler.hpp" NetworkHandler::NetworkHandler(){ inPort = outPort = 50012; lastMessageAddress = new char[20]; } /** * Bind the socket to the given port. Opens Socket to listen * to connections on given port. * @param port Port to bind to. */ void NetworkHandler::bind(unsigned short port){ ...
22.860465
85
0.683622
artur-kink
81b9dabcc958fef94124ea2894226716a1682354
1,843
cpp
C++
src/libFonts/GeeGrow_SSD1306_libLettersCyrillic.cpp
geegrow/GeeGrow_SSD1306_128_32
068cad4d844e85ae2d256f770fac3c567126d03b
[ "BSD-3-Clause" ]
null
null
null
src/libFonts/GeeGrow_SSD1306_libLettersCyrillic.cpp
geegrow/GeeGrow_SSD1306_128_32
068cad4d844e85ae2d256f770fac3c567126d03b
[ "BSD-3-Clause" ]
null
null
null
src/libFonts/GeeGrow_SSD1306_libLettersCyrillic.cpp
geegrow/GeeGrow_SSD1306_128_32
068cad4d844e85ae2d256f770fac3c567126d03b
[ "BSD-3-Clause" ]
null
null
null
/*! * @file GeeGrow_SSD1306_libLettersCyrillic.cpp * * This is an addon library for the GeeGrow SSD1306 128x32 display, which implements support of cyrillic letters * https://geegrow.ru * * @section author Author * Written by Anton Pomazanov * * @section license License * BSD license, all text here must be...
35.442308
86
0.55236
geegrow
81ba2157ab715a23b1fcffe35d74136289825e67
2,166
cpp
C++
libs/mesh/meshPhysicalNodesTri2D.cpp
paranumal/benchparanumal
8e2e247ad828282782b2e3dc443167954e90648c
[ "MIT" ]
3
2019-06-14T09:28:51.000Z
2021-12-12T22:49:26.000Z
libs/mesh/meshPhysicalNodesTri2D.cpp
paranumal/benchparanumal
8e2e247ad828282782b2e3dc443167954e90648c
[ "MIT" ]
null
null
null
libs/mesh/meshPhysicalNodesTri2D.cpp
paranumal/benchparanumal
8e2e247ad828282782b2e3dc443167954e90648c
[ "MIT" ]
1
2020-03-25T17:10:25.000Z
2020-03-25T17:10:25.000Z
/* The MIT License (MIT) Copyright (c) 2017-2022 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus 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 limi...
31.391304
78
0.695291
paranumal
81baab1ac6e87fa0ea9ad31634efe841d32df4d8
3,520
cc
C++
test/fuzzers/audio_processing_configs_fuzzer.cc
tangxuan1023/Webrtc-src
506ffb744d2bd50a1f5c2893e414b453ca0f1e99
[ "DOC", "BSD-3-Clause" ]
1
2018-01-30T01:15:38.000Z
2018-01-30T01:15:38.000Z
test/fuzzers/audio_processing_configs_fuzzer.cc
tangxuan1023/Webrtc-src
506ffb744d2bd50a1f5c2893e414b453ca0f1e99
[ "DOC", "BSD-3-Clause" ]
1
2018-02-10T01:29:22.000Z
2018-02-10T01:29:22.000Z
test/fuzzers/audio_processing_configs_fuzzer.cc
tangxuan1023/Webrtc-src
506ffb744d2bd50a1f5c2893e414b453ca0f1e99
[ "DOC", "BSD-3-Clause" ]
1
2018-11-27T09:06:37.000Z
2018-11-27T09:06:37.000Z
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
36.28866
77
0.750568
tangxuan1023
81be8a37b9807e8be2da3560630c133e01d1d289
452
cpp
C++
codes/HDU/hdu5477.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu5477.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu5477.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int maxn = 1e5 + 5; int N, A, B, L; int main () { int cas; scanf("%d", &cas); for (int kcas = 1; kcas <= cas; kcas++) { int ans = 0, len = 0; scanf("%d%d%d%d", &N, &A, &B, &L); int l, r; while (N--) { scanf("%d%d", &l...
16.740741
48
0.49115
JeraKrs
81c05331c419e85bbe4689eb301c92164ca455c4
2,409
hpp
C++
src/entropy/BinaryEntropyEncoder.hpp
flanglet/kanzi-cpp
680085d03fdf77d924af61c8333a1257b01b6de5
[ "Apache-2.0" ]
52
2018-05-16T07:31:17.000Z
2022-03-27T17:36:48.000Z
src/entropy/BinaryEntropyEncoder.hpp
flanglet/kanzi-cpp
680085d03fdf77d924af61c8333a1257b01b6de5
[ "Apache-2.0" ]
4
2019-07-20T12:49:05.000Z
2021-12-12T20:34:59.000Z
src/entropy/BinaryEntropyEncoder.hpp
flanglet/kanzi-cpp
680085d03fdf77d924af61c8333a1257b01b6de5
[ "Apache-2.0" ]
1
2019-07-02T13:27:32.000Z
2019-07-02T13:27:32.000Z
/* Copyright 2011-2021 Frederic Langlet 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 ...
29.024096
106
0.660025
flanglet
81c1b5b34e4fa1b70cc06abe76e19c6ec03698f0
678
cpp
C++
src_smartcontract_db/schema_table/record/table_record_local/LocalOidFactory.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_smartcontract_db/schema_table/record/table_record_local/LocalOidFactory.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_smartcontract_db/schema_table/record/table_record_local/LocalOidFactory.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * LocalOidFactory.cpp * * Created on: 2020/09/25 * Author: iizuka */ #include "schema_table/record/table_record_local/LocalOidFactory.h" #include "schema_table/record/table_record_local/LocalCdbOid.h" #include "schema_table/record/table_record_value/VmInstanceValueConverter.h" #include "base_thread/Sys...
19.941176
76
0.761062
alinous-core
81c403b2822493ba708a5831aa9ef4335bdf483d
7,424
hpp
C++
libs/boost_1_72_0/boost/proto/detail/traits.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/proto/detail/traits.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/proto/detail/traits.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
#if !defined(BOOST_PROTO_DONT_USE_PREPROCESSED_FILES) #include <boost/proto/detail/preprocessed/traits.hpp> #elif !defined(BOOST_PP_IS_ITERATING) #define BOOST_PROTO_CHILD(Z, N, DATA) \ /** INTERNAL ONLY */ \ typedef...
36.935323
80
0.670663
henrywarhurst
81c4611002014185af5342ee8b4909b2d43dc54c
851
hpp
C++
include/concept/numeric.hpp
janisozaur/safe_numerics
c494e9d6bddc47292b1bb1552469196b01fcdc55
[ "BSL-1.0" ]
null
null
null
include/concept/numeric.hpp
janisozaur/safe_numerics
c494e9d6bddc47292b1bb1552469196b01fcdc55
[ "BSL-1.0" ]
null
null
null
include/concept/numeric.hpp
janisozaur/safe_numerics
c494e9d6bddc47292b1bb1552469196b01fcdc55
[ "BSL-1.0" ]
null
null
null
#ifndef BOOST_NUMERIC_CONCEPT_NUMERIC_HPP #define BOOST_NUMERIC_CONCEPT_NUMERIC_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif // Copyright (c) 2012 Robert Ramey // // Distributed under the Boost Software License, Version 1.0. (See // accompanying...
24.314286
71
0.716804
janisozaur
81c5fcf526e6ff58d6576cc3b71c80bb83acfd24
2,957
cpp
C++
src/Yson/Common/ReaderIterators.cpp
jebreimo/Yson
499374426a49a5e70658623fdce69bfaa203cc1c
[ "BSD-2-Clause" ]
1
2022-03-07T08:45:50.000Z
2022-03-07T08:45:50.000Z
src/Yson/Common/ReaderIterators.cpp
jebreimo/Yson
499374426a49a5e70658623fdce69bfaa203cc1c
[ "BSD-2-Clause" ]
null
null
null
src/Yson/Common/ReaderIterators.cpp
jebreimo/Yson
499374426a49a5e70658623fdce69bfaa203cc1c
[ "BSD-2-Clause" ]
null
null
null
//**************************************************************************** // Copyright © 2021 Jan Erik Breimo. All rights reserved. // Created by Jan Erik Breimo on 2021-06-03. // // This file is distributed under the BSD License. // License text is included with the source distribution. //************************...
23.846774
78
0.487656
jebreimo
81cb63447779129f7bc92e2b8673ff59767110ca
37,720
hxx
C++
include/nifty/graph/opt/multicut/cgc.hxx
DerThorsten/n3p
c4bd4cd90f20e68f0dbd62587aba28e4752a0ac1
[ "MIT" ]
38
2016-06-29T07:42:50.000Z
2021-12-09T09:25:25.000Z
include/nifty/graph/opt/multicut/cgc.hxx
tbullmann/nifty
00119fd4753817b931272d6d3120b6ebd334882a
[ "MIT" ]
62
2016-07-27T16:07:53.000Z
2022-03-30T17:24:36.000Z
include/nifty/graph/opt/multicut/cgc.hxx
tbullmann/nifty
00119fd4753817b931272d6d3120b6ebd334882a
[ "MIT" ]
20
2016-01-25T21:21:52.000Z
2021-12-09T09:25:16.000Z
#pragma once #include <queue> #include "boost/format.hpp" #include "nifty/tools/changable_priority_queue.hxx" #include "nifty/tools/runtime_check.hxx" #include "nifty/graph/components.hxx" #include "nifty/graph/opt/multicut/multicut_base.hxx" #include "nifty/graph/opt/common/solver_factory.hxx" #include "nifty/gr...
37.682318
156
0.531124
DerThorsten
81ccef7c6e9b7ed20ba190aed89b84d2aaf2ed9c
2,153
cpp
C++
src/MC_DDH_Create.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
src/MC_DDH_Create.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
src/MC_DDH_Create.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
/** * This file is a part of the FUMe project. * * To the extent possible under law, the person who associated CC0 with * FUMe has waived all copyright and related or neighboring rights * to FUMe. * * You should have received a copy of the CC0 legalcode along with this * work. If not, see http://creativecommon...
27.602564
86
0.498374
ekhidbor
81cfe417f98681829e92f49534953fdfdcf228f2
40,620
cpp
C++
Samples/CaseStudies/NBody/NBodyGravityAmp.cpp
AdeMiller/CppAmp
2f2c222ec796968dcdc43ea1d84c825169693331
[ "MS-PL" ]
null
null
null
Samples/CaseStudies/NBody/NBodyGravityAmp.cpp
AdeMiller/CppAmp
2f2c222ec796968dcdc43ea1d84c825169693331
[ "MS-PL" ]
null
null
null
Samples/CaseStudies/NBody/NBodyGravityAmp.cpp
AdeMiller/CppAmp
2f2c222ec796968dcdc43ea1d84c825169693331
[ "MS-PL" ]
null
null
null
//=============================================================================== // // Microsoft Press // C++ AMP: Accelerated Massive Parallelism with Microsoft Visual C++ // //=============================================================================== // Copyright (c) 2012-2013 Ade Miller & Kate Gregory. ...
45.183537
184
0.632398
AdeMiller
81d1300e1f418c9f7b6b6a28c3195c33cd388869
23,636
cpp
C++
Engine/source/gui/worldEditor/worldEditorSelection.cpp
RichardRanft/OmniEngine.Net
3363364e8c4514d5ef18574ce2200368e5946df4
[ "MIT", "Unlicense" ]
1
2015-01-21T06:12:21.000Z
2015-01-21T06:12:21.000Z
Engine/source/gui/worldEditor/worldEditorSelection.cpp
lukaspj/OmniEngine.Net
85edaa3e8afbb016352ce5784147cb9fe5fe35c1
[ "MIT", "Unlicense" ]
null
null
null
Engine/source/gui/worldEditor/worldEditorSelection.cpp
lukaspj/OmniEngine.Net
85edaa3e8afbb016352ce5784147cb9fe5fe35c1
[ "MIT", "Unlicense" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
25.691304
151
0.546285
RichardRanft
81d48f61adb55c012d64cff3d2451011438537c6
4,101
cpp
C++
src/Exception.cpp
markuspf/velocypack
0cf8f21764f0336c32925ccd48f488cb8068a097
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/Exception.cpp
markuspf/velocypack
0cf8f21764f0336c32925ccd48f488cb8068a097
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/Exception.cpp
markuspf/velocypack
0cf8f21764f0336c32925ccd48f488cb8068a097
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
35.051282
80
0.682273
markuspf
81d61b6d27ee2e797b6f3cf390084e5abd99ea23
21,788
cpp
C++
Sources/Extras/CoreMediaIO/DeviceAbstractionLayer/Devices/DP/Base/CMIO_DP_ControlDictionary.cpp
nnanhthu/QuickomVC
6d4641336dd5d515238c94feb8f6a025fc8d181b
[ "MIT" ]
170
2018-11-28T10:20:54.000Z
2022-03-29T01:54:43.000Z
Sources/Extras/CoreMediaIO/DeviceAbstractionLayer/Devices/DP/Base/CMIO_DP_ControlDictionary.cpp
nnanhthu/QuickcomVirtualCamera
4eba93196549a9ad8ee63fb5a741586098e9ca5b
[ "MIT" ]
19
2018-12-03T15:06:54.000Z
2022-02-11T00:02:59.000Z
Sources/Extras/CoreMediaIO/DeviceAbstractionLayer/Devices/DP/Base/CMIO_DP_ControlDictionary.cpp
nnanhthu/QuickcomVirtualCamera
4eba93196549a9ad8ee63fb5a741586098e9ca5b
[ "MIT" ]
25
2018-11-29T02:15:09.000Z
2021-12-28T20:56:35.000Z
/* File: CMIO_DP_ControlDictionary.cpp Abstract: n/a Version: 1.2 */ //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Includes //-----------------------------------...
55.159494
246
0.329447
nnanhthu
81d822767a2f6d5af43642d68d38fd4c8a77df40
9,454
cpp
C++
test/frame/test_manager.cpp
tangzhenquan/atframe_utils
94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef
[ "MIT" ]
1
2021-02-10T15:29:46.000Z
2021-02-10T15:29:46.000Z
test/frame/test_manager.cpp
tangzhenquan/atframe_utils
94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef
[ "MIT" ]
null
null
null
test/frame/test_manager.cpp
tangzhenquan/atframe_utils
94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef
[ "MIT" ]
null
null
null
/* * test_manager.cpp * * Created on: 2014年3月11日 * Author: owent * * Released under the MIT license */ #include <cstring> #include <iostream> #include <sstream> #include <string> #include <vector> #include "cli/cmd_option.h" #include "cli/cmd_option_phoenix.h" #include "cli/shell_font.h" #include "tes...
40.575107
139
0.591919
tangzhenquan
81dd704359816e69341c161204b56aa71781dfb4
14,962
cc
C++
src/lib/socket/socket.cc
easel/v8cgi
0ac37452006803fb7bc83e64e934b4009aabc910
[ "BSD-3-Clause" ]
4
2016-01-31T08:49:35.000Z
2021-07-12T17:31:42.000Z
src/lib/socket/socket.cc
easel/v8cgi
0ac37452006803fb7bc83e64e934b4009aabc910
[ "BSD-3-Clause" ]
null
null
null
src/lib/socket/socket.cc
easel/v8cgi
0ac37452006803fb7bc83e64e934b4009aabc910
[ "BSD-3-Clause" ]
1
2017-11-28T13:02:40.000Z
2017-11-28T13:02:40.000Z
/** * Socket library. Provides a simple OO abstraction atop several socket-related functions. */ #include <v8.h> #include "macros.h" #include "common.h" #include <stdlib.h> #include <errno.h> #include <string.h> #ifdef windows # include <winsock2.h> # include <ws2tcpip.h> # define close(s) closesocket(s) #else ...
27.105072
119
0.650715
easel
81defe5efd2f0ed797e47949e8dc5f3d7ea874f7
927
cpp
C++
Solutions/1-50/43/Solution.cpp
kitegi/Edmonton
774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d
[ "Unlicense" ]
2
2021-07-16T13:30:10.000Z
2021-07-16T18:17:40.000Z
Solutions/1-50/43/Solution.cpp
kitegi/Edmonton
774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d
[ "Unlicense" ]
null
null
null
Solutions/1-50/43/Solution.cpp
kitegi/Edmonton
774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d
[ "Unlicense" ]
1
2021-04-16T22:56:07.000Z
2021-04-16T22:56:07.000Z
#include <algorithm> #include <boost/multiprecision/cpp_int.hpp> #include <iostream> #include <numeric> #include <string> #include <vector> using namespace std; using boost::multiprecision::cpp_int; int main(int argc, char *argv[]) { vector<cpp_int> nums; string base = "0123456789"; do { // Convert...
28.090909
120
0.571737
kitegi
81e215a986b7b39587f83c100af2fe357878b728
8,632
cpp
C++
mediainfo/MediaInfoLib/Source/MediaInfo/Audio/File_Ape.cpp
pavel-pimenov/sandbox
d29b6cb42f93953d36dfc648cdd168e90c9daf83
[ "MIT" ]
null
null
null
mediainfo/MediaInfoLib/Source/MediaInfo/Audio/File_Ape.cpp
pavel-pimenov/sandbox
d29b6cb42f93953d36dfc648cdd168e90c9daf83
[ "MIT" ]
null
null
null
mediainfo/MediaInfoLib/Source/MediaInfo/Audio/File_Ape.cpp
pavel-pimenov/sandbox
d29b6cb42f93953d36dfc648cdd168e90c9daf83
[ "MIT" ]
null
null
null
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //--------------------------------------------------------------------------- // Pre-compilation #include "Medi...
40.909953
135
0.41323
pavel-pimenov
81e4b5a4aec9a4379f523c26dfc488ec3dab5633
3,334
cpp
C++
Day Two/DayTwo.cpp
Heartbroken-Git/Advent-Code-2017
d7284621983693e2bbd88b021912a401a480494f
[ "WTFPL" ]
null
null
null
Day Two/DayTwo.cpp
Heartbroken-Git/Advent-Code-2017
d7284621983693e2bbd88b021912a401a480494f
[ "WTFPL" ]
null
null
null
Day Two/DayTwo.cpp
Heartbroken-Git/Advent-Code-2017
d7284621983693e2bbd88b021912a401a480494f
[ "WTFPL" ]
null
null
null
#include <iostream> using namespace std; const int NB_ROWS = 16; const int NB_COLS = 16; const int INPUT[NB_ROWS][NB_COLS] = {{5048, 177, 5280, 5058, 4504, 3805, 5735, 220, 4362, 1809, 1521, 230, 772, 1088, 178, 1794}, {6629, 3839, 258, 4473, 5961, 6539, 6870, 4140, 4638, 387, 7464...
42.74359
129
0.454709
Heartbroken-Git
81e8a29839be1131be37ec1eae739962694fe642
22,846
cc
C++
squid/squid3-3.3.8.spaceify/src/comm/ModSelect.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/src/comm/ModSelect.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/src/comm/ModSelect.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
/* * DEBUG: section 05 Socket Functions * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * * Squid is the result of efforts by numerous individuals from * the Internet community; see the CONTRIBUTORS file for full * details. Many...
27.997549
127
0.582597
spaceify
81e90055a4fd33b8c83255a27cc7bf0879e2e687
1,527
inl
C++
lib/nimg/pixel.inl
4rknova/asciimg
f907d530c3f7bb22e4b374da2e5d4cb6308a78eb
[ "MIT" ]
3
2017-12-01T09:39:27.000Z
2021-03-23T06:02:41.000Z
lib/nimg/pixel.inl
4rknova/asciimg
f907d530c3f7bb22e4b374da2e5d4cb6308a78eb
[ "MIT" ]
1
2022-03-05T23:39:57.000Z
2022-03-05T23:41:41.000Z
lib/nimg/pixel.inl
4rknova/asciimg
f907d530c3f7bb22e4b374da2e5d4cb6308a78eb
[ "MIT" ]
null
null
null
#ifndef NIMG_PIXEL_INL_INCLUDED #define NIMG_PIXEL_INL_INCLUDED #ifndef NIMG_PIXEL_H_INCLUDED error "pixel.h must be included before pixel.inl" #endif /* NIMG_PIXEL_H_INCLUDED */ namespace nimg { namespace util { #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ static inline pixel32_t rgba_c_to_pixel...
21.208333
109
0.67649
4rknova
81ef98d6692e4cd62fb3ee57abf026e58c6d2230
2,350
cc
C++
src/firstGreedy.cc
vanessavvp/DAA-pr07-parallel-machine-scheduling-problem
f5d5d1fb9e1b2abe0bafa3d1ce5ddfa79535fb02
[ "MIT" ]
null
null
null
src/firstGreedy.cc
vanessavvp/DAA-pr07-parallel-machine-scheduling-problem
f5d5d1fb9e1b2abe0bafa3d1ce5ddfa79535fb02
[ "MIT" ]
null
null
null
src/firstGreedy.cc
vanessavvp/DAA-pr07-parallel-machine-scheduling-problem
f5d5d1fb9e1b2abe0bafa3d1ce5ddfa79535fb02
[ "MIT" ]
1
2021-05-08T08:48:49.000Z
2021-05-08T08:48:49.000Z
/** * PROJECT HEADER * @input firstGreedy.cc * @author: Vanessa Valentina Villalba Perez * Contact: alu0101265704@ull.edu.es * @date: 24/04/2021 * Subject: Diseño y Análisis de Algoritmos * Practice: Numberº7 * Purpose: Parallel Machine Scheduling Problem with Dependent Setup Times */ #include "../include/fir...
34.057971
81
0.640426
vanessavvp
81f1ae6b0896471187f2460c9d4fc9e419b76f4e
1,043
cpp
C++
src/diff/deltas/type_members_delta.cpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
3
2017-07-02T08:33:22.000Z
2019-03-16T00:48:11.000Z
src/diff/deltas/type_members_delta.cpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
null
null
null
src/diff/deltas/type_members_delta.cpp
kmichel/zizany
cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435
[ "MIT" ]
null
null
null
#include "type_members_delta.hpp" #include "../../json_writer.hpp" #include "../../unity_type.hpp" namespace zizany { type_members_delta::type_members_delta(const delta_set_operation operation_, const type_identity &identity_, const member_path &path_, const unity_type &added_type_) : delta(), ...
31.606061
169
0.644295
kmichel
81f3c68269f137abe299445e7d4e033b8559e4cf
1,669
cpp
C++
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/main(7).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/main(7).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/main(7).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
#include <iostream> #include "UnsortedType.cpp" using namespace std; int main() { UnsortedType<int> List; int items; cout<<"Enter four items: "<<endl; for(int i=0;i<4;i++) { cin>>items; List.InsertItem(items); } cout<<endl; int temp; for(int i=0;i<4;i++) { ...
14.144068
45
0.467945
diptu
81f87815db1b02e654663d14117f02b1be4a2a6d
1,147
cpp
C++
TouchGFX/generated/fonts/src/Kerning_trebucbd_40_4bpp.cpp
timagr615/ILI9488_touchGFX
5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2
[ "MIT" ]
null
null
null
TouchGFX/generated/fonts/src/Kerning_trebucbd_40_4bpp.cpp
timagr615/ILI9488_touchGFX
5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2
[ "MIT" ]
null
null
null
TouchGFX/generated/fonts/src/Kerning_trebucbd_40_4bpp.cpp
timagr615/ILI9488_touchGFX
5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2
[ "MIT" ]
null
null
null
#include <touchgfx/Font.hpp> FONT_KERNING_LOCATION_FLASH_PRAGMA KEEP extern const touchgfx::KerningNode kerning_trebucbd_40_4bpp[] FONT_KERNING_LOCATION_FLASH_ATTRIBUTE = { { 0x0050, -1 }, // (First char = [0x0050, P], Second char = [0x0020, ], Kerning dist = -1) { 0x0050, -5 }, // (First char = [0x0050, P]...
71.6875
108
0.581517
timagr615
81f91e5d62ea1b21dc10f088a614ed54bad12d96
5,850
cpp
C++
MMOCoreORB/src/server/zone/objects/tangible/tool/SurveyToolImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/objects/tangible/tool/SurveyToolImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/objects/tangible/tool/SurveyToolImplementation.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* Copyright <SWGEmu> See file COPYING for copying conditions.*/ #include "engine/engine.h" #include "server/zone/objects/tangible/tool/SurveyTool.h" #include "server/zone/managers/resource/ResourceManager.h" #include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/objects/player/PlayerObj...
31.967213
129
0.767179
V-Fib
81f948772b86b8a29812ea7c61940fea3de11fff
1,868
cpp
C++
core/TextureData.cpp
jmppmj/3dgameengine_jillplatts
64f472322423aa4d2c8be5366f36d78dde9f568b
[ "MIT" ]
null
null
null
core/TextureData.cpp
jmppmj/3dgameengine_jillplatts
64f472322423aa4d2c8be5366f36d78dde9f568b
[ "MIT" ]
null
null
null
core/TextureData.cpp
jmppmj/3dgameengine_jillplatts
64f472322423aa4d2c8be5366f36d78dde9f568b
[ "MIT" ]
null
null
null
#include "TextureData.hpp" #include <iostream> #include "../libs/stb_image.h" TextureData::TextureData(std::string texturePath) { // Save path information this->path = texturePath; // Set type this->type = TEXTURE_UCHAR; // Load texture from file data = stbi_load(this->path.c_str(), &width, &height, &channels...
23.35
92
0.663276
jmppmj
3b4a0518b87d5005d31bff3e05586c4752488b7b
2,152
cpp
C++
MonoNative/mscorlib/System/Reflection/mscorlib_System_Reflection_ReflectionContext.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative/mscorlib/System/Reflection/mscorlib_System_Reflection_ReflectionContext.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative/mscorlib/System/Reflection/mscorlib_System_Reflection_ReflectionContext.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
#include <mscorlib/System/Reflection/mscorlib_System_Reflection_ReflectionContext.h> #include <mscorlib/System/Reflection/mscorlib_System_Reflection_TypeInfo.h> #include <mscorlib/System/Reflection/mscorlib_System_Reflection_Assembly.h> #include <mscorlib/System/mscorlib_System_Type.h> #include <mscorlib/System/mscorli...
42.196078
199
0.750929
brunolauze
3b4bd633767cf38e6f2d0da3172953734e733b0f
2,774
cpp
C++
cpp-GEngine/Sprite.cpp
leftidev/cpp-GEngine
fb1a000336f8295386c5e9e401072cfe0679b587
[ "MIT" ]
4
2016-04-02T05:52:59.000Z
2021-05-15T21:03:17.000Z
deps/include/GEngine/Sprite.cpp
lefti-/cpp-Gravity-Gizmo
b9ddde976a6585f2c9cc978372146383f19dd00d
[ "MIT" ]
null
null
null
deps/include/GEngine/Sprite.cpp
lefti-/cpp-Gravity-Gizmo
b9ddde976a6585f2c9cc978372146383f19dd00d
[ "MIT" ]
1
2016-04-13T17:25:44.000Z
2016-04-13T17:25:44.000Z
#include <cstddef> #include "Vertex.h" #include "ResourceManager.h" #include "Sprite.h" namespace GEngine { Sprite::Sprite() { _vboID = 0; } Sprite::~Sprite() { if (_vboID != 0) { glDeleteBuffers(1, &_vboID); } } // Initializes the sprite VBO. x, y, width, and height are // in the normalized device coordina...
25.218182
104
0.709805
leftidev
3b4c7fce17e3293df7f023dc4f5a0dd45c5b4dae
2,546
hpp
C++
modules/filters/include/toffy/viewers/cloudviewpcl.hpp
voxel-dot-at/toffy
e9f14b186cf57225ad9eae99f227f894f0e5f940
[ "Apache-2.0" ]
null
null
null
modules/filters/include/toffy/viewers/cloudviewpcl.hpp
voxel-dot-at/toffy
e9f14b186cf57225ad9eae99f227f894f0e5f940
[ "Apache-2.0" ]
null
null
null
modules/filters/include/toffy/viewers/cloudviewpcl.hpp
voxel-dot-at/toffy
e9f14b186cf57225ad9eae99f227f894f0e5f940
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 Simon Vogl <svogl@voxel.at> Angel Merino-Sastre <amerino@voxel.at> 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/licen...
27.673913
81
0.699136
voxel-dot-at
3b5354fef2127f9bf998fd9014549c4087a96382
41,063
cpp
C++
maya/AbcExport/AttributesWriter.cpp
nebkor/ardent-embic
4eab1c4f089438bd26636f4be3be3efa83bc8338
[ "MIT" ]
null
null
null
maya/AbcExport/AttributesWriter.cpp
nebkor/ardent-embic
4eab1c4f089438bd26636f4be3be3efa83bc8338
[ "MIT" ]
null
null
null
maya/AbcExport/AttributesWriter.cpp
nebkor/ardent-embic
4eab1c4f089438bd26636f4be3be3efa83bc8338
[ "MIT" ]
null
null
null
//-***************************************************************************** // // Copyright (c) 2009-2011, // Sony Pictures Imageworks Inc. and // Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. // // All rights reserved. // // Redistribution and use in source and binary forms, with ...
29.842297
80
0.489735
nebkor
3b5b63cc8e23153073febc697d4a2c4ff40382cd
16,664
cc
C++
src/shell_content_browser_client.cc
ghrhomeDist/node-webkit
5fc6d07a60a05dd57f76cb6171fe909c3ee5e1e7
[ "MIT" ]
45
2015-02-06T07:42:18.000Z
2018-05-21T02:15:15.000Z
src/shell_content_browser_client.cc
mcdongWang/node-webkit
e3cfc89e2458eafec81880c2ad5ef81cbf68f6ed
[ "MIT" ]
null
null
null
src/shell_content_browser_client.cc
mcdongWang/node-webkit
e3cfc89e2458eafec81880c2ad5ef81cbf68f6ed
[ "MIT" ]
15
2015-01-23T05:39:08.000Z
2017-11-02T11:32:27.000Z
// Copyright (c) 2012 Intel Corp // Copyright (c) 2012 The Chromium Authors // // 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...
37.113586
107
0.756361
ghrhomeDist
3b5d408abc93f3b3eb11822aa3a880398d4bc274
24,036
cpp
C++
source/games/duke/src/hudweapon_r.cpp
DosFreak/Raze
389f760d45748da28ba758f12be1be2a9ba9b4b2
[ "RSA-MD" ]
null
null
null
source/games/duke/src/hudweapon_r.cpp
DosFreak/Raze
389f760d45748da28ba758f12be1be2a9ba9b4b2
[ "RSA-MD" ]
null
null
null
source/games/duke/src/hudweapon_r.cpp
DosFreak/Raze
389f760d45748da28ba758f12be1be2a9ba9b4b2
[ "RSA-MD" ]
null
null
null
//------------------------------------------------------------------------- /* Copyright (C) 1996, 2003 - 3D Realms Entertainment Copyright (C) 2017-2019 Nuke.YKT Copyright (C) 2020 - Christoph Oelckers This file is part of Duke Nukem 3D version 1.5 - Atomic Edition Duke Nukem 3D is free software; you can redistribut...
26.442244
164
0.497462
DosFreak
3b5d8fb02ccc621c836803679fc4f732ae9c6ca3
2,731
cpp
C++
engine/engine/core/math/tests/so2.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
null
null
null
engine/engine/core/math/tests/so2.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
null
null
null
engine/engine/core/math/tests/so2.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2022-01-28T16:37:51.000Z
2022-01-28T16:37:51.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
29.684783
97
0.650311
ddr95070
3b5e5b3f8b1e92c69cdec142e4a70fa0a041498a
17,015
hpp
C++
toonz/sources/include/tcg/hpp/triangulate.hpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
3,710
2016-03-26T00:40:48.000Z
2022-03-31T21:35:12.000Z
toonz/sources/include/tcg/hpp/triangulate.hpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
4,246
2016-03-26T01:21:45.000Z
2022-03-31T23:10:47.000Z
toonz/sources/include/tcg/hpp/triangulate.hpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
633
2016-03-26T00:42:25.000Z
2022-03-17T02:55:13.000Z
#pragma once #ifndef TCG_TRIANGULATE_HPP #define TCG_TRIANGULATE_HPP // tcg includes #include "../triangulate.h" #include "../traits.h" #include "../point_ops.h" // OS-specific includes #if defined(_WIN32) #include "windows.h" #include <GL/glu.h> #elif defined(MACOSX) #include <GLUT/glut.h> #elif defined(LINUX) || d...
32.043315
88
0.595416
rozhuk-im
3b5fb1de34b20a87477b2c36c828330d52cf2501
5,130
cpp
C++
Malmo/test/CppTests/test_mission.cpp
geekstor/malmo-1
ce1e7972d9c1d6244a2615af0dc80f709222c6fd
[ "MIT" ]
null
null
null
Malmo/test/CppTests/test_mission.cpp
geekstor/malmo-1
ce1e7972d9c1d6244a2615af0dc80f709222c6fd
[ "MIT" ]
null
null
null
Malmo/test/CppTests/test_mission.cpp
geekstor/malmo-1
ce1e7972d9c1d6244a2615af0dc80f709222c6fd
[ "MIT" ]
null
null
null
// -------------------------------------------------------------------------------------------------- // Copyright (c) 2016 Microsoft Corporation // // 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 th...
47.5
247
0.6577
geekstor
3b63fb5a8114e3086e39398b3e433cb1385a70ae
3,500
cpp
C++
src/test/r3/colon-case/level-data/AssetManagerTests/AssetManagerTests-main.cpp
ryantherileyman/riley-colon-case
16c7f1239b7b70373ee9d250f028f49e5da1d4a5
[ "Apache-2.0" ]
1
2021-02-24T04:38:33.000Z
2021-02-24T04:38:33.000Z
src/test/r3/colon-case/level-data/AssetManagerTests/AssetManagerTests-main.cpp
ryantherileyman/riley-colon-case
16c7f1239b7b70373ee9d250f028f49e5da1d4a5
[ "Apache-2.0" ]
42
2020-12-29T22:16:12.000Z
2021-05-03T02:46:07.000Z
src/test/r3/colon-case/level-data/AssetManagerTests/AssetManagerTests-main.cpp
ryantherileyman/riley-colon-case
16c7f1239b7b70373ee9d250f028f49e5da1d4a5
[ "Apache-2.0" ]
null
null
null
#include <assert.h> #include <iostream> #include <r3/colon-case/level-data/r3-colonCase-AssetManager.hpp> using namespace r3::colonCase; bool testGetMapStatus_LoadingNotInitiated() { AssetManager assetManager; assetManager.setCampaignFolder("good-campaign"); AssetLoadingStatus status = assetManager.getMapStatus(...
29.91453
101
0.781714
ryantherileyman
3b644ec2aaedf297aa236db8d950b8e68b12e507
4,867
cpp
C++
GMPsgCtl/GMPsgCtl.cpp
rs0h/PostGISGDO
abf980569b703e80567b43817ea1d79fdee626e9
[ "Apache-2.0" ]
null
null
null
GMPsgCtl/GMPsgCtl.cpp
rs0h/PostGISGDO
abf980569b703e80567b43817ea1d79fdee626e9
[ "Apache-2.0" ]
null
null
null
GMPsgCtl/GMPsgCtl.cpp
rs0h/PostGISGDO
abf980569b703e80567b43817ea1d79fdee626e9
[ "Apache-2.0" ]
null
null
null
// Copyright 2011 Intergraph Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
32.66443
157
0.626875
rs0h
3b66f441ac36850e03dd468893e4b5c4f6aa7153
370
hpp
C++
include/reptil_exotico.hpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
null
null
null
include/reptil_exotico.hpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
null
null
null
include/reptil_exotico.hpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
1
2020-11-18T21:06:29.000Z
2020-11-18T21:06:29.000Z
#include "reptil.hpp" #include "exotico.hpp" class ReptilExotico: public Reptil, public Exotico{ private: ostream& print(ostream& o) const; public: ReptilExotico(string identificacao, double preco, string descricao, double peso, tipoSexo sexo, Venomous veneno, double comprim...
33.636364
96
0.675676
fernandocunhapereira
3b6a04141721ceaac640c4aa7a8f57879d111345
397
cpp
C++
Teste e exercicios/Struct/struct.cpp
Lu1zReis/exercicios-cpp
81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0
[ "MIT" ]
null
null
null
Teste e exercicios/Struct/struct.cpp
Lu1zReis/exercicios-cpp
81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0
[ "MIT" ]
null
null
null
Teste e exercicios/Struct/struct.cpp
Lu1zReis/exercicios-cpp
81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct pessoa{ string nome; int idade; int cpf; }; int main() { pessoa p; cout << "digite os dados: " << endl; cout << "CPF ->"; cin >> p.cpf; cout << "Idade ->"; cin >> p.idade; cout << "Nome ->"; cin >> p.nom...
14.178571
55
0.465995
Lu1zReis
3b6bd84c11236d5c1867cd89f95a8ee212dfbe2e
437
cpp
C++
a132.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
a132.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
a132.cpp
puyuliao/ZJ-d879
bead48e0a500f21bc78f745992f137706d15abf8
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #include<stdint.h> using namespace std; #define IOS {cin.tie(nullptr);ios_base::sync_with_stdio(false);} #define N 1000000 int main() { IOS; int n; while(cin >> n && n){ cout << "The parity of "; int ans = 0; for(unsigned int i=1<<31;i;i>>=1){ if(n & i) cout << 1,a...
16.185185
65
0.512586
puyuliao
3b762a18ef43aed5c40d70ddf8023f4ac64cbe4c
2,596
cpp
C++
src/custom/common/misc.cpp
ntoskrnl7/crtsys
2948afde9496d4e873dc067d1d0e8a545ce894bc
[ "MIT" ]
null
null
null
src/custom/common/misc.cpp
ntoskrnl7/crtsys
2948afde9496d4e873dc067d1d0e8a545ce894bc
[ "MIT" ]
null
null
null
src/custom/common/misc.cpp
ntoskrnl7/crtsys
2948afde9496d4e873dc067d1d0e8a545ce894bc
[ "MIT" ]
null
null
null
// clang-format off // // vcruntime/guard_support.c // extern "C" unsigned char _guard_xfg_dispatch_icall_nop = 0x90; // // vcruntime/utility_app.cpp // #include <windows.h> #define _ROAPI_ #include <roapi.h> EXTERN_C ROAPI _Check_return_ HRESULT WINAPI RoInitialize ( _In_ RO_INIT_TYPE initType ) { ...
15.829268
92
0.689137
ntoskrnl7
3b77575f201d6f6fda58cbcc5f311fa7de6117be
984
cxx
C++
test/t1144.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
10
2018-03-26T07:41:44.000Z
2021-11-06T08:33:24.000Z
test/t1144.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
null
null
null
test/t1144.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
1
2020-11-17T03:17:00.000Z
2020-11-17T03:17:00.000Z
/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ #include <stdio.h> #include <string>...
28.941176
74
0.556911
paulwratt
3b798da7a049860bc39caa1d61915556cd50e71a
17,812
hpp
C++
xfinal/mime.hpp
maxbad/xfinal
3e8ba689fc40b896bb2555aebf903672335b8b7b
[ "MIT" ]
57
2019-05-14T09:55:14.000Z
2022-03-17T07:08:55.000Z
xfinal/mime.hpp
maxbad/xfinal
3e8ba689fc40b896bb2555aebf903672335b8b7b
[ "MIT" ]
12
2019-05-18T02:34:48.000Z
2021-06-29T15:30:41.000Z
xfinal/mime.hpp
maxbad/xfinal
3e8ba689fc40b896bb2555aebf903672335b8b7b
[ "MIT" ]
22
2019-06-15T10:09:33.000Z
2022-01-18T09:24:25.000Z
#pragma once #include "string_view.hpp" #include <map> namespace xfinal { static std::map<nonstd::string_view, nonstd::string_view> mime_map = { { ".323", "text/h323" }, { ".3gp", "video/3gpp" }, { ".aab", "application/x-authoware-bin" }, { ".aam", "application/x-authoware-map" }, { ".aas", "application/x-authow...
34.789063
90
0.552493
maxbad
3b79f31a046bb2ceaabb630cb05fa4e25ca4b6e0
6,539
cxx
C++
src/matrix_4x4.cxx
cervenkam/muscle-deformation-PBD
66cce66944a8e81cb9bbc82f845bd45beccf0d9b
[ "Apache-2.0" ]
1
2020-11-15T23:21:31.000Z
2020-11-15T23:21:31.000Z
src/matrix_4x4.cxx
cervenkam/muscle-deformation-PBD
66cce66944a8e81cb9bbc82f845bd45beccf0d9b
[ "Apache-2.0" ]
null
null
null
src/matrix_4x4.cxx
cervenkam/muscle-deformation-PBD
66cce66944a8e81cb9bbc82f845bd45beccf0d9b
[ "Apache-2.0" ]
null
null
null
/* ########################################################### # PBD algorithm implementation # # Thesis: Muscle Fibres Deformation using Particle System # # Author: Martin Cervenka # # Version: 5/2019 # ##...
37.365714
71
0.577
cervenkam
3b7a78749f9f6caa6e06878f7645abb189daede8
11,615
cpp
C++
sources/unvrtool.cpp
unvrtool/unvrtool
1f9601f1b3f7db16244cec6064e648a3df45d2f6
[ "BSD-3-Clause" ]
null
null
null
sources/unvrtool.cpp
unvrtool/unvrtool
1f9601f1b3f7db16244cec6064e648a3df45d2f6
[ "BSD-3-Clause" ]
null
null
null
sources/unvrtool.cpp
unvrtool/unvrtool
1f9601f1b3f7db16244cec6064e648a3df45d2f6
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2020, Jan Ove Haaland, 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 "_headers_std.hpp" #include "util.hpp" #include "config.hpp" #include "vrrecorder.hpp" using namespace std; c...
38.716667
145
0.620146
unvrtool
3b8053fec43e49d20300eef56be3664934adb7e3
5,574
cpp
C++
Oxcart/src/data/Model.cpp
JackiBackiBoy/Oxcart
75cb9efbbf4122d06015f6700bcf3b22b1241a2c
[ "Apache-2.0" ]
1
2020-10-06T13:52:15.000Z
2020-10-06T13:52:15.000Z
Oxcart/src/data/Model.cpp
JackiBackiBoy/Oxcart
75cb9efbbf4122d06015f6700bcf3b22b1241a2c
[ "Apache-2.0" ]
null
null
null
Oxcart/src/data/Model.cpp
JackiBackiBoy/Oxcart
75cb9efbbf4122d06015f6700bcf3b22b1241a2c
[ "Apache-2.0" ]
null
null
null
#include "Model.h" #include <iostream> #include "GL/glew.h" #include "vendor/stb_image/stb_image.h" Model::Model(const std::string& aPath, const bool& anIsFlippedUVs) : myIsFlippedUVs(anIsFlippedUVs) { LoadModel(aPath); } void Model::Render(Shader& aShader) { for (unsigned int i = 0; i < myMeshes.size(); i++) { ...
26.542857
117
0.719232
JackiBackiBoy
3b80beb3bb688b516d918bffbb1cb93a8e9c502a
484
cpp
C++
Implementations/06 - DP (3)/6.2 - Examples/Traveling Salesman (4).cpp
Senpat/USACO
7f65e083e70c10b43224c6e1acbab79af249b942
[ "MIT" ]
null
null
null
Implementations/06 - DP (3)/6.2 - Examples/Traveling Salesman (4).cpp
Senpat/USACO
7f65e083e70c10b43224c6e1acbab79af249b942
[ "MIT" ]
null
null
null
Implementations/06 - DP (3)/6.2 - Examples/Traveling Salesman (4).cpp
Senpat/USACO
7f65e083e70c10b43224c6e1acbab79af249b942
[ "MIT" ]
null
null
null
/** * Description: Bitset DP example * Solves TSP for small N */ const int MX = 15; int N, dp[MX][1<<MX], dist[MX][MX]; int solve() { F0R(i,N) F0R(j,1<<N) dp[i][j] = MOD; dp[0][1] = 0; F0R(j,1<<N) F0R(i,N) if (j&(1<<i)) F0R(k,N) if (!(j&(1<<k))) dp[k][j^(1<<k)] = min(dp[k][j^(1...
22
57
0.417355
Senpat
3b8416520722faa27530f6ed5064873df412ef17
1,414
cpp
C++
GL_GraphicLab/src/Scene/TriangleScene.cpp
acros/GL_GraphicLab
a2b892d87d0f022c15f092ab45950495dbdb4bd4
[ "MIT" ]
3
2016-11-16T18:04:50.000Z
2018-05-10T11:31:52.000Z
GL_GraphicLab/src/Scene/TriangleScene.cpp
acros/GL_GraphicLab
a2b892d87d0f022c15f092ab45950495dbdb4bd4
[ "MIT" ]
null
null
null
GL_GraphicLab/src/Scene/TriangleScene.cpp
acros/GL_GraphicLab
a2b892d87d0f022c15f092ab45950495dbdb4bd4
[ "MIT" ]
null
null
null
#include "TriangleScene.h" TriangleScene::TriangleScene(Renderer& renderer) : Scene(renderer) { mVertStr = "#version 300 es \n" "layout(location = 0) in vec4 vPosition; \n" "void main() \n" "{ \n" " gl_Position ...
23.966102
65
0.476662
acros
3b86ba6e6e90bb73e2ed0e2ca9a13a513ba19ef8
12,048
cpp
C++
prototype/TAT-C/cpp/test/SystemTest_Analysis.cpp
Randl/GMAT
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
2
2020-01-01T13:14:57.000Z
2020-12-09T07:05:07.000Z
prototype/TAT-C/cpp/test/SystemTest_Analysis.cpp
rdadan/GMAT-R2016a
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
1
2018-03-15T08:58:37.000Z
2018-03-20T20:11:26.000Z
prototype/TAT-C/cpp/test/SystemTest_Analysis.cpp
rdadan/GMAT-R2016a
d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5
[ "Apache-2.0" ]
3
2019-10-13T10:26:49.000Z
2020-12-09T07:06:55.000Z
//------------------------------------------------------------------------------ // SystemTest_Analysis //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Author: Wendy Shoan // Created: 2016.05.31 // /** * System ...
40.840678
127
0.534363
Randl
3b898bfcedf9131a37a2ad56305439fe557e7b94
4,765
cpp
C++
src/Field.cpp
renatocf/rugby-game-cpp
4a00f1b582304d728f47e39d6a97d02bdce40e16
[ "MIT" ]
null
null
null
src/Field.cpp
renatocf/rugby-game-cpp
4a00f1b582304d728f47e39d6a97d02bdce40e16
[ "MIT" ]
null
null
null
src/Field.cpp
renatocf/rugby-game-cpp
4a00f1b582304d728f47e39d6a97d02bdce40e16
[ "MIT" ]
null
null
null
// C Headers #include <cassert> // Standard exceptions #include <sstream> #include <stdexcept> // Internal headers #include "Dimension.hpp" #include "Position.hpp" // Main header #include "Field.hpp" namespace rugby { /* ////////////////////////////////////////////////////////////////////////// */ /* -------------...
33.090278
80
0.375236
renatocf
3b8d0919b8a8894ea4ae3b9f0431ca57787d895e
3,426
hpp
C++
missions/po4.tanoa/Tasks/op_2_targetWeaponsCache.hpp
ademirt/Arma3
f75c28f59deb45e56d021d9d1d3458b145432bd8
[ "MIT" ]
null
null
null
missions/po4.tanoa/Tasks/op_2_targetWeaponsCache.hpp
ademirt/Arma3
f75c28f59deb45e56d021d9d1d3458b145432bd8
[ "MIT" ]
null
null
null
missions/po4.tanoa/Tasks/op_2_targetWeaponsCache.hpp
ademirt/Arma3
f75c28f59deb45e56d021d9d1d3458b145432bd8
[ "MIT" ]
null
null
null
class op_2_TargetWeaponsCache: TaskDefaults { scope = 1; typeID = 2; positionSearchTypes[] = {"Town","Shack","Village","House","Clearing","Hill"}; positionSearchRadius = 1000; positionNearLast = 1; class TaskDetails { title = "%1"; description[] = { "<t>Ref: %2</t> | <t>Date: %3<br/>AO: %4 %5 near %6</t>" ...
25.567164
138
0.603619
ademirt
3b942e189ccfcc2de67a8dca1bfd1bc5c1c50938
2,006
cpp
C++
src/RE/T/TESForm.cpp
colinswrath/CommonLibSSE
9c693f6a2406fb6128ee0dd0462bfc9ddbd83eee
[ "MIT" ]
118
2019-02-07T22:34:11.000Z
2022-03-29T10:40:40.000Z
src/RE/T/TESForm.cpp
colinswrath/CommonLibSSE
9c693f6a2406fb6128ee0dd0462bfc9ddbd83eee
[ "MIT" ]
63
2019-07-30T13:50:11.000Z
2022-02-19T02:14:33.000Z
src/RE/T/TESForm.cpp
colinswrath/CommonLibSSE
9c693f6a2406fb6128ee0dd0462bfc9ddbd83eee
[ "MIT" ]
71
2019-05-21T00:15:51.000Z
2022-03-03T15:14:19.000Z
#include "RE/T/TESForm.h" #include "RE/B/BGSDefaultObjectManager.h" #include "RE/F/FormTraits.h" #include "RE/I/IObjectHandlePolicy.h" #include "RE/I/InventoryEntryData.h" #include "RE/T/TESFullName.h" #include "RE/T/TESGlobal.h" #include "RE/T/TESModel.h" #include "RE/T/TESObjectREFR.h" #include "RE/V/VirtualMachine....
24.765432
107
0.666999
colinswrath
3b956fe7da7e80058d9a6d2171a462d5186a13fc
2,502
cc
C++
src/IndexEntryParser.cc
Black-Library/black-library-parsers
e5fa87d1066c0247e3636a51ff0b973c894c4aec
[ "MIT" ]
null
null
null
src/IndexEntryParser.cc
Black-Library/black-library-parsers
e5fa87d1066c0247e3636a51ff0b973c894c4aec
[ "MIT" ]
null
null
null
src/IndexEntryParser.cc
Black-Library/black-library-parsers
e5fa87d1066c0247e3636a51ff0b973c894c4aec
[ "MIT" ]
null
null
null
/** * IndexEntryParser.cc */ #include <functional> #include <iostream> #include <LogOperations.h> #include <IndexEntryParser.h> #include <ShortTimeGenerator.h> namespace black_library { namespace core { namespace parsers { namespace BlackLibraryCommon = black_library::core::common; IndexEntryParser::IndexEntr...
24.057692
149
0.701039
Black-Library
3b9704f9fdda59e24eca8c843b63597101f3bc0e
460
cpp
C++
page23/page23.cpp
valeriivoronkov/cplusplus_schildt3
8690889543f595e00bef99fc6981260fffae67d3
[ "MIT" ]
null
null
null
page23/page23.cpp
valeriivoronkov/cplusplus_schildt3
8690889543f595e00bef99fc6981260fffae67d3
[ "MIT" ]
null
null
null
page23/page23.cpp
valeriivoronkov/cplusplus_schildt3
8690889543f595e00bef99fc6981260fffae67d3
[ "MIT" ]
null
null
null
/* * Эта программа преобразует галлоны в литры. */ /* * File: page23.cpp * Author: xcoder * * Created on November 5, 2018, 7:56 PM */ #include <iostream> using namespace std; /* * */ int main(int argc, char** argv) { int gallons, liters; cout << "Введите количество галлонов: "; cin >> gallo...
16.428571
52
0.604348
valeriivoronkov
3b9776ec72bc734ab0906517a86a44e35cceedc9
231
cpp
C++
parser.cpp
wistron-corporation/openpower-vpd-parser
73b589b85ec6194853f1474b76e62623468debdb
[ "Apache-2.0" ]
null
null
null
parser.cpp
wistron-corporation/openpower-vpd-parser
73b589b85ec6194853f1474b76e62623468debdb
[ "Apache-2.0" ]
null
null
null
parser.cpp
wistron-corporation/openpower-vpd-parser
73b589b85ec6194853f1474b76e62623468debdb
[ "Apache-2.0" ]
null
null
null
#include "parser.hpp" #include "impl.hpp" namespace openpower { namespace vpd { Store parse(Binary&& vpd) { parser::Impl p(std::move(vpd)); Store s = p.run(); return s; } } // namespace vpd } // namespace openpower
12.157895
35
0.636364
wistron-corporation
3b984a4f11986b24fd1a3619b9199a63e44a4c1c
4,273
cpp
C++
dpctl-capi/tests/test_sycl_kernel_interface.cpp
reazulhoque/dpctl
27634efff7bcaf2096d3e236d9739e1a25e0d99e
[ "Apache-2.0" ]
1
2020-08-09T13:55:34.000Z
2020-08-09T13:55:34.000Z
dpctl-capi/tests/test_sycl_kernel_interface.cpp
PokhodenkoSA/pydppl
9b8644b167a2bc9d1067e5c0d13d3abef0bff82b
[ "Apache-2.0" ]
6
2021-07-08T08:08:25.000Z
2021-09-10T13:55:55.000Z
dpctl-capi/tests/test_sycl_kernel_interface.cpp
PokhodenkoSA/dpctl
9b8644b167a2bc9d1067e5c0d13d3abef0bff82b
[ "Apache-2.0" ]
null
null
null
//===-- test_sycl_program_interface.cpp - Test cases for kernel interface ===// // // Data Parallel Control (dpctl) // // Copyright 2020-2021 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. /...
32.618321
80
0.668617
reazulhoque
3b9927fc8098750630ef4b9ab94e0988cfe835bc
3,350
cpp
C++
igl/grad_intrinsic.cpp
sabinaRachev/3D-Snake-Game-Final-Project
5c1f2044d848f24d6ce60dc61411393b503c8da2
[ "Apache-2.0" ]
null
null
null
igl/grad_intrinsic.cpp
sabinaRachev/3D-Snake-Game-Final-Project
5c1f2044d848f24d6ce60dc61411393b503c8da2
[ "Apache-2.0" ]
null
null
null
igl/grad_intrinsic.cpp
sabinaRachev/3D-Snake-Game-Final-Project
5c1f2044d848f24d6ce60dc61411393b503c8da2
[ "Apache-2.0" ]
null
null
null
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2018 Alec Jacobson <alecjacobson@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at h...
42.405063
297
0.617612
sabinaRachev
3b99a4e4b231502a984dd8f0f4f67f5e803b42ec
18,365
hpp
C++
include/public/coherence/lang/MemberHolder.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
include/public/coherence/lang/MemberHolder.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
include/public/coherence/lang/MemberHolder.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_MEMBER_HOLDER_HPP #define COH_MEMBER_HOLDER_HPP #include "coherence/lang/compatibility.hpp" #include "coherence/lang/Object.hpp" ...
29.290271
121
0.475306
chpatel3
3b9b986737b81383ae0ff870aae62b36e1df9a3c
1,970
cpp
C++
logdevice/server/admincommands/Setting.cpp
SimonKinds/LogDevice
fc9ac2fccb6faa3292b2b0a610a9eb77fd445824
[ "BSD-3-Clause" ]
1
2018-10-17T06:49:04.000Z
2018-10-17T06:49:04.000Z
logdevice/server/admincommands/Setting.cpp
msdgwzhy6/LogDevice
bc2491b7dfcd129e25490c7d5321d3d701f53ac4
[ "BSD-3-Clause" ]
null
null
null
logdevice/server/admincommands/Setting.cpp
msdgwzhy6/LogDevice
bc2491b7dfcd129e25490c7d5321d3d701f53ac4
[ "BSD-3-Clause" ]
null
null
null
/** * 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/commandline_util_chrono.h" #include "logdevice/common/debug...
37.169811
77
0.641624
SimonKinds
3b9fe445254bf70394f25bf86cf613ca2970ddbd
17,545
cpp
C++
rose_sketch/arduino/lib/ICS/IcsServo.cpp
h7ga40/GR-ROSE-TensorFlowLite
259033510f2509a2d790c175967f235cc25c1742
[ "BSD-2-Clause" ]
null
null
null
rose_sketch/arduino/lib/ICS/IcsServo.cpp
h7ga40/GR-ROSE-TensorFlowLite
259033510f2509a2d790c175967f235cc25c1742
[ "BSD-2-Clause" ]
null
null
null
rose_sketch/arduino/lib/ICS/IcsServo.cpp
h7ga40/GR-ROSE-TensorFlowLite
259033510f2509a2d790c175967f235cc25c1742
[ "BSD-2-Clause" ]
null
null
null
// KONDO ICS Serial Servo // Based on ICS3.5 #include <stdio.h> #include <string.h> #include "IcsController.h" #include "IcsServo.h" /**************************************** Constants of ICS Protocol ****************************************/ // CMD(command) #define CMD_POSITION 0x80 // POSITION command #def...
24.607293
98
0.545683
h7ga40
3ba0f92f37beeafe101daf9808789de976cbfc28
812
cpp
C++
leetcode.com/0005 Longest Palindromic Substring/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0005 Longest Palindromic Substring/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0005 Longest Palindromic Substring/better.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
// O(N*N) #include <iostream> #include <string> #include <vector> using namespace std; class Solution { public: string longestPalindrome(string s) { int sLen = s.length(), maxLen = 0, maxStart = 0; int i = 0, l = 0, r = 0, len = 0; while(i<sLen-maxLen/2) { l = r =...
22.555556
62
0.488916
sky-bro
3ba2f1a1e49122cfb4e52fe42e414242e3b28b37
2,668
cpp
C++
oldlib/BBST/AVL_set.cpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
oldlib/BBST/AVL_set.cpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
oldlib/BBST/AVL_set.cpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
template<typename T> class AVL_set{ struct node; using np=node*; struct node{ T val; int cnt=1; int dep=0; np ch[2]={nullptr,nullptr}; node(T val):val(val){} }; np root=nullptr; inline int count(np t){return t?t->cnt:0;} inline int depth(np t){return t?t->de...
31.023256
92
0.562219
hotman78
3ba580d7b5e16ca2ea04c2843780b2e5bc52ec95
17,353
cpp
C++
src/slave/containerizer/isolators/cgroups/mem.cpp
tillt/mesos
3031114c7bb93853b526fa62e4735a96bc8a9150
[ "Apache-2.0" ]
1
2015-07-18T09:47:35.000Z
2015-07-18T09:47:35.000Z
src/slave/containerizer/isolators/cgroups/mem.cpp
yuzhu/mesos-akaros
6a905943542cd93e1f71069ea6c228b7085533b7
[ "Apache-2.0" ]
1
2015-12-21T23:47:34.000Z
2015-12-21T23:47:47.000Z
src/slave/containerizer/isolators/cgroups/mem.cpp
tillt/mesos
3031114c7bb93853b526fa62e4735a96bc8a9150
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
29.511905
79
0.659079
tillt
3ba93888c98593010f148d1e15cc0a859dde5a9d
6,416
cpp
C++
videosource.cpp
bulletsk/pientertain
96f29b8d13467c89b22c862505953e2e0644451f
[ "BSD-3-Clause" ]
null
null
null
videosource.cpp
bulletsk/pientertain
96f29b8d13467c89b22c862505953e2e0644451f
[ "BSD-3-Clause" ]
null
null
null
videosource.cpp
bulletsk/pientertain
96f29b8d13467c89b22c862505953e2e0644451f
[ "BSD-3-Clause" ]
null
null
null
#include "videosource.hh" #include "videosourceimage.hh" #include "videosourceraspberrycam.hh" #include <QDebug> #include <QSettings> #include <QCoreApplication> #include <QElapsedTimer> static const int s_minArea = 5; static const int s_maxArea = 200; static const int s_minSmooth = 0; static const int s_maxSmooth = 1...
24.676923
209
0.662251
bulletsk
3baa9a73ca36b841fca71531d2526543986bc046
1,311
cpp
C++
I2C/I2CDev.cpp
jwolf02/libdriver
e83992ab3e83e2d58f59b021926f6e947ac20897
[ "MIT" ]
null
null
null
I2C/I2CDev.cpp
jwolf02/libdriver
e83992ab3e83e2d58f59b021926f6e947ac20897
[ "MIT" ]
null
null
null
I2C/I2CDev.cpp
jwolf02/libdriver
e83992ab3e83e2d58f59b021926f6e947ac20897
[ "MIT" ]
null
null
null
#include <I2CDev.hpp> #include <fcntl.h> #include <unistd.h> #include <sys/ioctl.h> #include <sys/types.h> #include <linux/i2c-dev.h> #include <common.hpp> const std::string I2CDev::DEFAULT_NAME = "/dev/i2c-1"; I2CDev::I2CDev(const std::string &devname, int address) { open(devname, address); } I2CDev::~I2CDev() ...
18.728571
60
0.561404
jwolf02
3bab3143caf3d6293adb586e53216c7a80453d9e
31,173
hpp
C++
include/integratorxx/deprecated/lebedev/lebedev_266.hpp
evaleev/IntegratorXX
70339ca2d8f753e477dffb64788913c1bc12b519
[ "BSD-3-Clause" ]
null
null
null
include/integratorxx/deprecated/lebedev/lebedev_266.hpp
evaleev/IntegratorXX
70339ca2d8f753e477dffb64788913c1bc12b519
[ "BSD-3-Clause" ]
null
null
null
include/integratorxx/deprecated/lebedev/lebedev_266.hpp
evaleev/IntegratorXX
70339ca2d8f753e477dffb64788913c1bc12b519
[ "BSD-3-Clause" ]
3
2019-05-09T21:02:21.000Z
2021-03-04T21:34:35.000Z
namespace IntegratorXX::deprecated { namespace LebedevGrids { /** * \brief Lebedev-Laikov Quadrature specification for Order = 266 * */ template <typename T> struct lebedev_266 { static constexpr std::array<cartesian_pt_t<T>,266> points = { 1.000000000000000e+00, 0.000000000000000e+00, 0.000000...
56.472826
84
0.655535
evaleev
3bb01ab833d6e10dd860d94800fe384865ee0ada
5,905
cpp
C++
OrionUO/Managers/ColorManager.cpp
SirGlorg/OrionUO
42209bd144392fddff9e910562ccec1bf5704049
[ "MIT" ]
1
2019-04-27T22:20:34.000Z
2019-04-27T22:20:34.000Z
OrionUO/Managers/ColorManager.cpp
SirGlorg/OrionUO
42209bd144392fddff9e910562ccec1bf5704049
[ "MIT" ]
1
2018-12-28T13:45:08.000Z
2018-12-28T13:45:08.000Z
OrionUO/Managers/ColorManager.cpp
heppcatt/Siebenwind-Beta-Client
ba25683f37f9bb7496d12aa2b2117cba397370e2
[ "MIT" ]
null
null
null
// MIT License // Copyright (C) August 2016 Hotride CColorManager g_ColorManager; CColorManager::CColorManager() : m_HuesCount(0) { } CColorManager::~CColorManager() { } void CColorManager::Init() { DEBUG_TRACE_FUNCTION; intptr_t addr = (intptr_t)g_FileManager.m_HuesMul.Start; size_t size = g_FileM...
23.156863
97
0.535986
SirGlorg