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
b854c32de772d03a6fdd8c663b42248b8bd86857
809
cpp
C++
libhttp-cpp/src/http_protocol_handler_cache.cpp
adaigle/http-cpp
84139c95f02a6ccf9943f348fef09040027a52d8
[ "MIT" ]
3
2016-04-16T13:11:26.000Z
2017-04-19T14:29:37.000Z
libhttp-cpp/src/http_protocol_handler_cache.cpp
adaigle/http-cpp
84139c95f02a6ccf9943f348fef09040027a52d8
[ "MIT" ]
null
null
null
libhttp-cpp/src/http_protocol_handler_cache.cpp
adaigle/http-cpp
84139c95f02a6ccf9943f348fef09040027a52d8
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////// // Forward declarations #include "http_protocol_handler.h" /////////////////////////////////////////////////////////// // Class declaration #include "http_protocol_handler_cache.h" bool http_protocol_handler_cache::contains(const key_type& key) const noexcep...
29.962963
115
0.634116
adaigle
b85884b0d20312a64ecb3968dd562624a1112fde
110,453
cpp
C++
src/meta/math.meta.cpp
murataka/two
f6f9835de844a38687e11f649ff97c3fb4146bbe
[ "Zlib" ]
578
2019-05-04T09:09:42.000Z
2022-03-27T23:02:21.000Z
src/meta/math.meta.cpp
murataka/two
f6f9835de844a38687e11f649ff97c3fb4146bbe
[ "Zlib" ]
14
2019-05-11T14:34:56.000Z
2021-02-02T07:06:46.000Z
src/meta/math.meta.cpp
murataka/two
f6f9835de844a38687e11f649ff97c3fb4146bbe
[ "Zlib" ]
42
2019-05-11T16:04:19.000Z
2022-01-24T02:21:43.000Z
#ifdef TWO_MODULES module; #include <infra/Cpp20.h> module TWO(math); #else #include <cstddef> #include <stl/new.h> #include <infra/ToString.h> #include <infra/ToValue.h> #include <type/Vector.h> #include <refl/MetaDecl.h> #include <refl/Module.h> #include <meta/infra.meta.h> #include <meta/type.meta.h> #include <meta/...
55.784343
603
0.634243
murataka
b859eec63bc7ae7f17c08a78ae6fd3129b9871cd
10,036
cc
C++
simskin.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
null
null
null
simskin.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
null
null
null
simskin.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
null
null
null
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ #include "descriptor/skin_desc.h" #include "descriptor/spezial_obj_tpl.h" #include "simskin.h" #include "tpl/slist_tpl.h" /* * Alle Skin-Bestandteile, die wir brauchen */ // menus const skin_desc_t* skinverwaltung...
41.471074
134
0.684735
BradenButler
b85b1ce012436c8027d27012447aa11002774da6
237
cpp
C++
cpp/collision/common.cpp
vizee/misc
2946559d496008505656f2fed3596600878733bf
[ "MIT" ]
null
null
null
cpp/collision/common.cpp
vizee/misc
2946559d496008505656f2fed3596600878733bf
[ "MIT" ]
null
null
null
cpp/collision/common.cpp
vizee/misc
2946559d496008505656f2fed3596600878733bf
[ "MIT" ]
null
null
null
#include "common.h" #include <cmath> float sind(float d) { constexpr auto c = 3.14159265358979323846 / 180; return std::sin(d * c); } float cosd(float d) { constexpr auto c = 3.14159265358979323846 / 180; return std::cos(d * c); }
15.8
49
0.675105
vizee
b85f1da2fb50e36189b8a5ffc532fe75e95ff617
2,566
cpp
C++
source/MaterialXGenShader/Nodes/ClosureMultiplyNode.cpp
mjyip-lucasfilm/MaterialX
19b0bd84c4537539350c1c065cc68fb400567f05
[ "BSD-3-Clause" ]
1
2021-11-04T19:19:57.000Z
2021-11-04T19:19:57.000Z
source/MaterialXGenShader/Nodes/ClosureMultiplyNode.cpp
mjyip-lucasfilm/MaterialX
19b0bd84c4537539350c1c065cc68fb400567f05
[ "BSD-3-Clause" ]
1
2022-03-20T05:13:09.000Z
2022-03-20T05:13:09.000Z
source/MaterialXGenShader/Nodes/ClosureMultiplyNode.cpp
fire/MaterialX
3f645e370f3bdb214bd8d666dd2b8977cd6a9469
[ "BSD-3-Clause" ]
null
null
null
// // TM & (c) 2021 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <MaterialXGenShader/Nodes/ClosureMultiplyNode.h> #include <MaterialXGenShader/ShaderGenerator.h> #include <MaterialXGenShader/GenContext.h> #include <MaterialXGenShader/TypeDesc...
36.657143
150
0.683944
mjyip-lucasfilm
b85fcc22468f13841f49ef7023e3f1fa7e4edcbf
3,088
cpp
C++
application/tools/treeitem.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
5
2018-06-19T06:20:01.000Z
2021-07-31T05:54:25.000Z
application/tools/treeitem.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
application/tools/treeitem.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// ================================================================================================ // // This file is part of the CAMPVis Software Framework. // // If not explicitly stated otherwise: Copyright (C) 2012-2015, all rights reserved, // Christian Schulte zu Berge <christian.szb@in.tum.de> // ...
31.835052
100
0.565738
hmsgit
b86345f5020a32df8b343ecf242eaab4b8332079
9,490
cpp
C++
crnlib/crn_pixel_format.cpp
HugoPeters/crunch
44c8402e24441c7524ca364941fd224ab3b971e9
[ "Zlib" ]
478
2015-01-04T16:59:53.000Z
2022-03-07T20:28:07.000Z
crnlib/crn_pixel_format.cpp
HugoPeters/crunch
44c8402e24441c7524ca364941fd224ab3b971e9
[ "Zlib" ]
83
2015-01-15T21:45:06.000Z
2021-11-08T11:01:48.000Z
crnlib/crn_pixel_format.cpp
HugoPeters/crunch
44c8402e24441c7524ca364941fd224ab3b971e9
[ "Zlib" ]
175
2015-01-04T03:30:39.000Z
2020-01-27T17:08:14.000Z
// File: crn_pixel_format.cpp // See Copyright Notice and license at the end of inc/crnlib.h #include "crn_core.h" #include "crn_pixel_format.h" #include "crn_image.h" namespace crnlib { namespace pixel_format_helpers { const pixel_format g_all_pixel_formats[] = { PIXEL_FMT_DXT1,...
33.772242
126
0.511591
HugoPeters
b864a2fcd4bb0e9fe1a312ce66e6f566e0239c34
3,772
hpp
C++
include/acl/default_allocator.hpp
obhi-d/acl
8860227ffceff559b32425bdab7419fb99a807d4
[ "MIT" ]
null
null
null
include/acl/default_allocator.hpp
obhi-d/acl
8860227ffceff559b32425bdab7419fb99a807d4
[ "MIT" ]
null
null
null
include/acl/default_allocator.hpp
obhi-d/acl
8860227ffceff559b32425bdab7419fb99a807d4
[ "MIT" ]
null
null
null
#pragma once #include "allocator.hpp" #include "detail/common.hpp" #include "detail/memory_tracker.hpp" #include "type_traits.hpp" namespace acl { struct default_allocator_tag {}; template <> struct allocator_traits<default_allocator_tag> { using is_always_equal = std::true_type; using prop...
27.136691
118
0.700424
obhi-d
b8699a2786febd82e13746cd95d728585679ed2f
50
hpp
C++
src/boost_test_unit_test_log_formatter.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_test_unit_test_log_formatter.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_test_unit_test_log_formatter.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/test/unit_test_log_formatter.hpp>
25
49
0.84
miathedev
b86ba05a984d0205c97b42a0e09197b0896b2aad
470
cpp
C++
lattercase_prmutation.cpp
sumanrakshit/Recursion
ec762392f5ed82915d52251cf6e9f599c90c7098
[ "MIT" ]
null
null
null
lattercase_prmutation.cpp
sumanrakshit/Recursion
ec762392f5ed82915d52251cf6e9f599c90c7098
[ "MIT" ]
null
null
null
lattercase_prmutation.cpp
sumanrakshit/Recursion
ec762392f5ed82915d52251cf6e9f599c90c7098
[ "MIT" ]
null
null
null
verctor<string>fun(string s) { string ip=s; string op=" "; vector<string> v; solve(ip,op); } void solve( string ip,string op,vector<string>& v) { if(ip.length()==0) v.push_back(op); return; } if(isalpha(ip[0])) { string op1=op; string op2=op; op1.push_back(tolower(ip[0])); op2.push_back(toupper(ip[0])); i...
14.242424
50
0.638298
sumanrakshit
b86dc9c160ecda786aeaf4998151b75586461e35
831
hh
C++
TrkExt/inc/TrkExtProtonAbsorber.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-06-25T00:00:12.000Z
2021-06-25T00:00:12.000Z
TrkExt/inc/TrkExtProtonAbsorber.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
TrkExt/inc/TrkExtProtonAbsorber.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// // ProtonAbsorber description for TrkExt // // $Id: TrkExtProtonAbsorber.hh,v 1.1 2012/08/04 00:22:10 mjlee Exp $ // $Author: mjlee $ // $Date: 2012/08/04 00:22:10 $ // // Original author MyeongJae Lee // // #ifndef TrkExtProtonAbsorber_HH #define TrkExtProtonAbsorber_HH #include <string> #include "CLHEP/Vector...
18.065217
73
0.685921
bonventre
b86e7c0bd45891e77c5791bb2b7d2d89247c18e9
15,729
cc
C++
src/base/android/orderfile/orderfile_call_graph_instrumentation.cc
huanyifan/naiveproxy
f7691d7020a7f0c2de4e25e363f8766dfc46466f
[ "BSD-3-Clause" ]
1
2021-03-21T10:43:16.000Z
2021-03-21T10:43:16.000Z
src/base/android/orderfile/orderfile_call_graph_instrumentation.cc
ocavue/naiveproxy
7f7b555bba1fd2257796fb6061c823dfbabe6632
[ "BSD-3-Clause" ]
null
null
null
src/base/android/orderfile/orderfile_call_graph_instrumentation.cc
ocavue/naiveproxy
7f7b555bba1fd2257796fb6061c823dfbabe6632
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/android/orderfile/orderfile_instrumentation.h" #include <time.h> #include <unistd.h> #include <atomic> #include <cstdio> #include <cs...
37.45
80
0.699409
huanyifan
b8717cfe1ce412a0322bb92e9496bfde8e10e7a8
1,509
cpp
C++
tests/extract_coefficient.cpp
rburing/kontsevich_graph_series-
20d443646d7047f5d273c2a44436ef7e5e9b63ca
[ "MIT" ]
4
2017-10-04T20:07:55.000Z
2019-09-16T17:54:51.000Z
tests/extract_coefficient.cpp
rburing/kontsevich_graph_series-cpp
20d443646d7047f5d273c2a44436ef7e5e9b63ca
[ "MIT" ]
null
null
null
tests/extract_coefficient.cpp
rburing/kontsevich_graph_series-cpp
20d443646d7047f5d273c2a44436ef7e5e9b63ca
[ "MIT" ]
null
null
null
#include "../kontsevich_graph_series.hpp" #include <ginac/ginac.h> #include <iostream> #include <fstream> using namespace std; using namespace GiNaC; int main(int argc, char* argv[]) { if (argc != 3) { cout << "Usage: " << argv[0] << " <graph-series-filename> <expression>\n\n" << "If <expr...
33.533333
182
0.59841
rburing
b874b7e533db05ec6188edd3f4d661d0352d8fdb
2,604
cpp
C++
Axis.CommonLibrary/application/output/collectors/ElementArtificialEnergyCollector.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.CommonLibrary/application/output/collectors/ElementArtificialEnergyCollector.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.CommonLibrary/application/output/collectors/ElementArtificialEnergyCollector.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#include "ElementArtificialEnergyCollector.hpp" #include <assert.h> #include "domain/analyses/ModelKinematics.hpp" #include "domain/algorithms/messages/ModelStateUpdateMessage.hpp" #include "domain/elements/FiniteElement.hpp" #include "domain/physics/InfinitesimalState.hpp" #include "application/output/recordsets/Resul...
32.148148
127
0.733103
renato-yuzup
b8774b7054db3e152f8cdae0c495b353c263b0a9
5,029
cpp
C++
source/NanairoCore/ToneMappingOperator/tone_mapping_operator.cpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
30
2015-09-06T03:14:29.000Z
2021-06-18T11:00:19.000Z
source/NanairoCore/ToneMappingOperator/tone_mapping_operator.cpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
31
2016-01-14T14:50:34.000Z
2018-06-25T13:21:48.000Z
source/NanairoCore/ToneMappingOperator/tone_mapping_operator.cpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
6
2017-04-09T13:07:47.000Z
2021-05-29T21:17:34.000Z
/*! \file tone_mapping_operator.cpp \author Sho Ikeda Copyright (c) 2015-2018 Sho Ikeda This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #include "tone_mapping_operator.hpp" // Standard C++ library #include <memory> #include <vector> // Zisc #include "zisc...
30.113772
82
0.630145
byzin
b879b4ba55dca632a7c86b01693d847b39bcc825
3,070
cpp
C++
src/misc.cpp
gvegayon/phylogenetic
6cf77f34e7313060327176069e3ad08e6866b827
[ "MIT" ]
null
null
null
src/misc.cpp
gvegayon/phylogenetic
6cf77f34e7313060327176069e3ad08e6866b827
[ "MIT" ]
5
2017-01-19T19:52:09.000Z
2017-03-29T23:34:21.000Z
src/misc.cpp
USCbiostats/phylogenetic
6cf77f34e7313060327176069e3ad08e6866b827
[ "MIT" ]
null
null
null
#include <Rcpp.h> using namespace Rcpp; //' Matrix of states //' //' @param P Integer scalar. Number of functions. //' @return A matrix of size 2^P by P with all the possible //' (0,1) combinations of functions. //' @examples //' states(3) //' @export // [[Rcpp::export(rng=false)]] IntegerMatrix states( int P ) {...
22.740741
85
0.563844
gvegayon
b87b4186e6e62bc0421b2b1ee6f14633066c1dff
302
hpp
C++
src/include/SNUAlbedo.hpp
timspainNERSC/loader
a8048b5b30433295b3a163cc17a49e97fabec35b
[ "MIT" ]
null
null
null
src/include/SNUAlbedo.hpp
timspainNERSC/loader
a8048b5b30433295b3a163cc17a49e97fabec35b
[ "MIT" ]
null
null
null
src/include/SNUAlbedo.hpp
timspainNERSC/loader
a8048b5b30433295b3a163cc17a49e97fabec35b
[ "MIT" ]
null
null
null
/* * SNUAlbedo.hpp * * Created on: Sep 23, 2021 * Author: timpai */ #include "IAlbedo.hpp" #ifndef SRC_INCLUDE_SNUALBEDO_HPP_ #define SRC_INCLUDE_SNUALBEDO_HPP_ namespace Model{ class SNUAlbedo : public IAlbedo { public: double albedo(); }; } #endif /* SRC_INCLUDE_SNUALBEDO_HPP_ */
14.380952
39
0.705298
timspainNERSC
b87caf3a286579592b485629433caed9dc3712f5
542
cpp
C++
BackjoonAlgorithm/10886. 0 = not cute _ 1 = cute.cpp
Minusi/AlgorithmArchive
f579f91024a582cdf7e36591308123f8c920e204
[ "Unlicense" ]
null
null
null
BackjoonAlgorithm/10886. 0 = not cute _ 1 = cute.cpp
Minusi/AlgorithmArchive
f579f91024a582cdf7e36591308123f8c920e204
[ "Unlicense" ]
null
null
null
BackjoonAlgorithm/10886. 0 = not cute _ 1 = cute.cpp
Minusi/AlgorithmArchive
f579f91024a582cdf7e36591308123f8c920e204
[ "Unlicense" ]
null
null
null
//#include <iostream> //using namespace std; // ////#define DEBUG //#ifdef DEBUG //#include <chrono> //#include "Utility.h" // //chrono::system_clock::time_point Start; //chrono::nanoseconds Time; //#endif // // // //int main() //{ // ios::sync_with_stdio(false); // cin.tie(NULL); // // int N; // cin >> N; // // int Vo...
15.485714
46
0.5369
Minusi
b889d4c8b31d99aef4e8ba464312c2472dcdeb0f
1,405
hxx
C++
OCC/opencascade-7.2.0/x64/debug/inc/Graphic3d_TypeOfShadingModel.hxx
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
OCC/opencascade-7.2.0/x64/debug/inc/Graphic3d_TypeOfShadingModel.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
OCC/opencascade-7.2.0/x64/debug/inc/Graphic3d_TypeOfShadingModel.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
// Created on: 1991-10-07 // Created by: NW,JPB,CAL // Copyright (c) 1991-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Les...
41.323529
85
0.790036
jiaguobing
b88db5183a55e043b0260402107487ffaec845ea
3,595
cpp
C++
SDL2Helper.cpp
Blinky0815/SDL2CppWrapper
9bf4c6e5d9aa662fee7a3b2cb181b0d5a315231c
[ "Apache-2.0" ]
null
null
null
SDL2Helper.cpp
Blinky0815/SDL2CppWrapper
9bf4c6e5d9aa662fee7a3b2cb181b0d5a315231c
[ "Apache-2.0" ]
null
null
null
SDL2Helper.cpp
Blinky0815/SDL2CppWrapper
9bf4c6e5d9aa662fee7a3b2cb181b0d5a315231c
[ "Apache-2.0" ]
1
2019-11-14T10:32:44.000Z
2019-11-14T10:32:44.000Z
/* * Copyright [2012] Olaf - blinky0815 - christ ] * 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 requi...
32.387387
231
0.674826
Blinky0815
b88e4f1428390fbeb031c34a8d8757dc36aadac1
11,178
cpp
C++
Source/UtilsNet/DbAdapterSQLServerNet/DbAdapterSQLServer.cpp
keshbach/Arcade
662048e92d5a65b6100fd424a00545069a175651
[ "Apache-2.0" ]
null
null
null
Source/UtilsNet/DbAdapterSQLServerNet/DbAdapterSQLServer.cpp
keshbach/Arcade
662048e92d5a65b6100fd424a00545069a175651
[ "Apache-2.0" ]
null
null
null
Source/UtilsNet/DbAdapterSQLServerNet/DbAdapterSQLServer.cpp
keshbach/Arcade
662048e92d5a65b6100fd424a00545069a175651
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Copyright (C) 2009-2022 Kevin Eshbach ///////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "DbAdapterSQLServer.h" #include "SQLServerOdbc.h" #include "SQLServerAdo.h" #include <Uti...
35.150943
136
0.652353
keshbach
b88f41058c88e6d86d1c145e8c59b4035efb0b43
5,015
cpp
C++
ares/ps1/peripheral/io.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/ps1/peripheral/io.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/ps1/peripheral/io.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
auto Peripheral::receive() -> u8 { u8 data = 0xff; if(io.receiveSize) { data = io.receiveData; io.receiveData >>= 8; io.receiveSize--; } return data; } auto Peripheral::transmit(u8 data) -> void { if(io.slotNumber == 0) { if(!memoryCardPort1.acknowledge()) { io.receiveSize = 1; io...
25.075
60
0.594816
CasualPokePlayer
b8936d4713d7e590e2744e5b398d605b6adef268
10,273
cpp
C++
FEBioMix/FEMassActionReversibleEffective.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
FEBioMix/FEMassActionReversibleEffective.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
FEBioMix/FEMassActionReversibleEffective.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
/*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) 2021 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 obtaining a...
31.804954
112
0.564295
Scriptkiddi
b8941ee46158286f6e3c6df9390a52082e70cc49
411
cpp
C++
Marlin-BIQUBX_ALMOST_STOCK/Marlin/src/lcd/extui/lib/btt_ui/TscAPI.cpp
Ejay-3D/Marlin-Biqu
bcf9d30c2fb998ca7d2ebf8c2cb917a96eb2d018
[ "MIT" ]
6
2020-12-04T21:55:04.000Z
2022-02-02T20:49:45.000Z
Marlin-BIQUBX_ALMOST_STOCK/Marlin/src/lcd/extui/lib/btt_ui/TscAPI.cpp
Ejay-3D/Marlin-Biqu
bcf9d30c2fb998ca7d2ebf8c2cb917a96eb2d018
[ "MIT" ]
1
2021-06-16T09:37:24.000Z
2021-06-16T09:44:32.000Z
Marlin-BIQUBX_ALMOST_STOCK/Marlin/src/lcd/extui/lib/btt_ui/TscAPI.cpp
Ejay-3D/Marlin-Biqu
bcf9d30c2fb998ca7d2ebf8c2cb917a96eb2d018
[ "MIT" ]
3
2021-05-01T15:13:41.000Z
2022-02-11T01:15:30.000Z
#include "TscAPI.h" #include "../../../../MarlinCore.h" extern "C" void syncWriteToL1Cache(char ch); Terminal terminalAck; size_t Terminal::write(uint8_t c) { // if (marlin_state == MF_INITIALIZING) return 1; syncWriteToL1Cache(c); return 1; } int Terminal::available(void) { return 1; } int Terminal::peek(...
13.258065
51
0.6691
Ejay-3D
b898f91146e9d22dc96e768c173840c2ae670bc7
1,206
cpp
C++
BasicRayTracing/hitableList.cpp
GI-Backyard/BasicRayTracing
4cbcc856c8fb572487ddac6bd3ff369cb90ea721
[ "MIT" ]
null
null
null
BasicRayTracing/hitableList.cpp
GI-Backyard/BasicRayTracing
4cbcc856c8fb572487ddac6bd3ff369cb90ea721
[ "MIT" ]
null
null
null
BasicRayTracing/hitableList.cpp
GI-Backyard/BasicRayTracing
4cbcc856c8fb572487ddac6bd3ff369cb90ea721
[ "MIT" ]
null
null
null
// // hitableList.cpp // BasicRayTracing // // Created by huabingxu on 2019/3/28. // Copyright © 2019 harrisonxu. All rights reserved. // #include "hitableList.hpp" HitableList::~HitableList() { for(const auto& i : hitables) { delete i; } } void HitableList::addHitable(Hitable* a) { hitables....
21.927273
83
0.574627
GI-Backyard
b8a3067e000ef072dcc9582957daaef13f842252
303
cpp
C++
August LeetCode Challenge/Day_27.cpp
mishrraG/100DaysOfCode
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
13
2020-08-10T14:06:37.000Z
2020-09-24T14:21:33.000Z
August LeetCode Challenge/Day_27.cpp
mishrraG/DaysOfCP
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
null
null
null
August LeetCode Challenge/Day_27.cpp
mishrraG/DaysOfCP
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
1
2020-05-31T21:09:14.000Z
2020-05-31T21:09:14.000Z
// The rand7() API is already defined for you. // int rand7(); // @return a random integer in the range 1 to 7 class Solution { public: int n, m; int rand10() { n = rand7(), m = 7; while (n > 5) { m = n - 5; n = rand7(); } while (m == 7) m = rand7(); return (m % 2 ? 5 : 0) + n; } };
17.823529
47
0.514851
mishrraG
b8a5c5f36966ebb9d22c9bc3fc3de8f5b0b49451
3,184
hpp
C++
Lib/Chip/STM32L4x2.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/STM32L4x2.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/STM32L4x2.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstdint> #include <Chip/CM4/STMicro/STM32L4x2/DAC1.hpp> #include <Chip/CM4/STMicro/STM32L4x2/DMA1.hpp> #include <Chip/CM4/STMicro/STM32L4x2/DMA2.hpp> #include <Chip/CM4/STMicro/STM32L4x2/CRC.hpp> #include <Chip/CM4/STMicro/STM32L4x2/LCD.hpp> #include <Chip/CM4/STMicro/STM32L4x2/TSC.hpp> #include...
46.144928
51
0.789887
operativeF
b8a734d3bd93a1b7833827f572116a5486a480ec
19,755
cpp
C++
source/Lib/CommonLib/Buffer.cpp
caosqwantoffer/BMS_unnormal
be4b35123c97103d8f31300eaaf39ddba6eb2d05
[ "BSD-3-Clause" ]
null
null
null
source/Lib/CommonLib/Buffer.cpp
caosqwantoffer/BMS_unnormal
be4b35123c97103d8f31300eaaf39ddba6eb2d05
[ "BSD-3-Clause" ]
null
null
null
source/Lib/CommonLib/Buffer.cpp
caosqwantoffer/BMS_unnormal
be4b35123c97103d8f31300eaaf39ddba6eb2d05
[ "BSD-3-Clause" ]
null
null
null
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2018, ITU/ISO/IEC * All rights reserved. * *...
34.237435
317
0.650519
caosqwantoffer
b8a7f8ca0777f25f7e15fa28f8d682f81198cafa
2,149
cpp
C++
common/MessageThread.cpp
CK-RK3326-P/hardware_rockchip_camera
f2771726c34f2f1819ff85921fe45bc2136bfebe
[ "Apache-2.0" ]
null
null
null
common/MessageThread.cpp
CK-RK3326-P/hardware_rockchip_camera
f2771726c34f2f1819ff85921fe45bc2136bfebe
[ "Apache-2.0" ]
null
null
null
common/MessageThread.cpp
CK-RK3326-P/hardware_rockchip_camera
f2771726c34f2f1819ff85921fe45bc2136bfebe
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015-2017 Intel Corporation * Copyright (c) 2017, Fuzhou Rockchip Electronics Co., Ltd * * 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.or...
26.8625
76
0.677524
CK-RK3326-P
b8ad30ffebc6ccd1ca513c842db217b5068ba6c8
1,499
cpp
C++
modules/complex-number/test/test_soldatov_gleb_complex_number.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
modules/complex-number/test/test_soldatov_gleb_complex_number.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
modules/complex-number/test/test_soldatov_gleb_complex_number.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
// Copyright 2022 Soldatov Gleb #include <gtest/gtest.h> #include "include/complex_number.h" TEST(Soldatov_Gleb_ComplexNumberTest, Complex_Number_Create_Zero) { double re = 0.0; double im = 0.0; ComplexNumber z(re, im); EXPECT_DOUBLE_EQ(re, z.getRe()); EXPECT_DOUBLE_EQ(im, z.getIm()); } TEST(Sol...
28.283019
67
0.665777
BalovaElena
b8ad4f894ef85ad543acb0045c1c5fb2d1bd215e
4,177
cpp
C++
lib/src/PyParse/PyIF.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
null
null
null
lib/src/PyParse/PyIF.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
null
null
null
lib/src/PyParse/PyIF.cpp
rmrsk/Chombo-3.3
f2119e396460c1bb19638effd55eb71c2b35119e
[ "BSD-3-Clause-LBNL" ]
1
2021-04-13T19:06:43.000Z
2021-04-13T19:06:43.000Z
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #ifdef CH_USE_EB #include "PyIF.H" #include "PyWorkshop.H" //--------------...
28.806897
73
0.350012
rmrsk
b8afa16d4139932f14a7e4bf96ebfa442165bde7
4,227
hpp
C++
include/System/Net/EndPoint.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/System/Net/EndPoint.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/System/Net/EndPoint.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" #include "beatsaber-hook/shared/utils/il2cpp-utils-met...
45.945652
187
0.721079
RedBrumbler
b8b0312eed8428e72a0acda137c98010c74aae0c
707
cpp
C++
source/sill/components/sound-emitter-component.cpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
15
2018-02-26T08:20:03.000Z
2022-03-06T03:25:46.000Z
source/sill/components/sound-emitter-component.cpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
32
2018-02-26T08:26:38.000Z
2020-09-12T17:09:38.000Z
source/sill/components/sound-emitter-component.cpp
Breush/lava
1b1b1f0785300b93b4a9f35fca4490502fea6552
[ "MIT" ]
null
null
null
#include <lava/sill/components/sound-emitter-component.hpp> #include <lava/sill/entity.hpp> #include <lava/sill/game-engine.hpp> using namespace lava::sill; SoundEmitterComponent::SoundEmitterComponent(Entity& entity) : IComponent(entity) , m_audioEngine(m_entity.engine().audioEngine()) { } void SoundEmitte...
27.192308
84
0.74116
Breush
b8bc9cf4bf41c55e2b979e69668133ce2f1308ea
2,010
cpp
C++
Framework/Sources/o2/Assets/Types/BinaryAsset.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
181
2015-12-09T08:53:36.000Z
2022-03-26T20:48:39.000Z
Framework/Sources/o2/Assets/Types/BinaryAsset.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
29
2016-04-22T08:24:04.000Z
2022-03-06T07:06:28.000Z
Framework/Sources/o2/Assets/Types/BinaryAsset.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
13
2018-04-24T17:12:04.000Z
2021-11-12T23:49:53.000Z
#include "o2/stdafx.h" #include "BinaryAsset.h" #include "o2/Assets/Assets.h" #include "o2/Utils/Debug/Log/LogStream.h" namespace o2 { BinaryAsset::BinaryAsset() {} BinaryAsset::BinaryAsset(const BinaryAsset& other): AssetWithDefaultMeta<BinaryAsset>(other), data(this), dataSize(this) { if (other.mDataSize >...
17.787611
92
0.671144
zenkovich
b8be31161e55cb6255ab045d2f25fee5c8896c51
3,008
inl
C++
xp_comm_proj/rd_stat/CGFCMath.inl
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
3
2020-08-03T08:52:20.000Z
2021-04-10T11:55:49.000Z
xp_comm_proj/rd_metar/libMETARS/CGFCMath.inl
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
null
null
null
xp_comm_proj/rd_metar/libMETARS/CGFCMath.inl
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
1
2021-06-08T18:16:45.000Z
2021-06-08T18:16:45.000Z
/* ** Author: Samuel R. Blackburn ** CI$: 76300,326 ** Internet: sblackbu@erols.com ** ** You can use it any way you like as long as you don't try to sell it. ** ** Any attempt to sell GFC in source code form must have the permission ** of the original author. You can produce commercial executables with ** GFC but you ...
21.485714
143
0.67254
avs
b8c0ab84e25acf92614336eea7c2c1d923a02ac0
4,060
cc
C++
src/filter_test.cc
mk990/pkgfile
18729d176af8fb6365487459bc3e74bb44ae96d6
[ "MIT" ]
61
2015-03-13T18:20:23.000Z
2022-01-20T21:18:47.000Z
src/filter_test.cc
mk990/pkgfile
18729d176af8fb6365487459bc3e74bb44ae96d6
[ "MIT" ]
33
2015-10-07T00:54:44.000Z
2021-12-24T03:15:10.000Z
src/filter_test.cc
mk990/pkgfile
18729d176af8fb6365487459bc3e74bb44ae96d6
[ "MIT" ]
23
2015-03-13T18:20:48.000Z
2022-02-27T19:41:21.000Z
#include "filter.hh" #include "gmock/gmock.h" #include "gtest/gtest.h" namespace { TEST(DirectoryFilterTest, MatchesDirectories) { pkgfile::filter::Directory filter; EXPECT_TRUE(filter.Matches("/bin/")); EXPECT_FALSE(filter.Matches("/bin")); EXPECT_FALSE(filter.Matches("")); } TEST(BinaryFilterTest, Matche...
29.42029
78
0.700246
mk990
b8c2b72c5c4f4f033cd9732884095fe0cb1939a3
6,158
cc
C++
src/Client/sessionKeyExchange.cc
debe-sgx/debe
641f2b6473fec8ebea301c533d5aab563e53bcbb
[ "MIT" ]
null
null
null
src/Client/sessionKeyExchange.cc
debe-sgx/debe
641f2b6473fec8ebea301c533d5aab563e53bcbb
[ "MIT" ]
null
null
null
src/Client/sessionKeyExchange.cc
debe-sgx/debe
641f2b6473fec8ebea301c533d5aab563e53bcbb
[ "MIT" ]
null
null
null
/** * @file sessionKeyExchange.cc * @author * @brief session key exchange based on ECDH * @version 0.1 * @date 2021-09-13 * * @copyright Copyright (c) 2021 * */ #include "../../include/sessionKeyExchange.h" /** * @brief Construct a new Session Key Exchange object * * @param dataSecurityChannel for sec...
31.10101
107
0.708022
debe-sgx
fef5b4582753b3016e423b2d45969f959789ab41
2,992
hpp
C++
assembler_disassembler/src/encoding_stuff_class.hpp
fl4shk/frost32_cpu
1bc6e08b3814d67d64b2e431b070ced90d0ec2c5
[ "MIT" ]
1
2018-05-19T09:36:24.000Z
2018-05-19T09:36:24.000Z
assembler_disassembler/src/encoding_stuff_class.hpp
fl4shk/frost32_cpu
1bc6e08b3814d67d64b2e431b070ced90d0ec2c5
[ "MIT" ]
null
null
null
assembler_disassembler/src/encoding_stuff_class.hpp
fl4shk/frost32_cpu
1bc6e08b3814d67d64b2e431b070ced90d0ec2c5
[ "MIT" ]
null
null
null
#ifndef src__slash__encoding_stuff_class_hpp #define src__slash__encoding_stuff_class_hpp // src/encoding_stuff_class.hpp #include "misc_includes.hpp" class EncodingStuff { public: // enums enum class ArgsType : u32 { ThreeRegs, TwoRegs, TwoRegsOneImm, TwoRegsOneSimm, OneRegOnePcOneSimm, OneRegOneImm...
26.245614
70
0.826203
fl4shk
fef7ca2a03f935cabf0ab7e3d297392712d4ec64
1,104
cpp
C++
src/smt/params/theory_arith_params.cpp
flowingcloudbackup/z3
83d84dcedde7b1fd3c7f05da25da8fbfa819c708
[ "MIT" ]
1
2021-09-07T03:24:22.000Z
2021-09-07T03:24:22.000Z
src/smt/params/theory_arith_params.cpp
abarth/z3
c8931a7bba6e9250e5c92d4c520ecfcf6a51f5d3
[ "MIT" ]
null
null
null
src/smt/params/theory_arith_params.cpp
abarth/z3
c8931a7bba6e9250e5c92d4c520ecfcf6a51f5d3
[ "MIT" ]
null
null
null
/*++ Copyright (c) 2006 Microsoft Corporation Module Name: theory_arith_params.cpp Abstract: <abstract> Author: Leonardo de Moura (leonardo) 2008-05-06. Revision History: --*/ #include"theory_arith_params.h" #include"smt_params_helper.hpp" void theory_arith_params::updt_params(params_ref const & _p...
26.926829
82
0.751812
flowingcloudbackup
fef8ce9b14218bc0a0027b9e7404e23f4a9b016f
1,631
cpp
C++
codeforce/595/b2/main.cpp
rockoanna/nirvana
81fadbe66b0a24244feec312c6f7fe5c8effccaa
[ "MIT" ]
null
null
null
codeforce/595/b2/main.cpp
rockoanna/nirvana
81fadbe66b0a24244feec312c6f7fe5c8effccaa
[ "MIT" ]
12
2019-09-04T10:38:24.000Z
2019-12-08T18:09:41.000Z
codeforce/595/b2/main.cpp
rockoanna/nirvana
81fadbe66b0a24244feec312c6f7fe5c8effccaa
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef int64_t i64; typedef int32_t i32; typedef uint64_t u64; typedef uint32_t u32; typedef string st; typedef stringstream ss; typedef double db; typedef vector<i64> vl; typedef vector<i32> vi; typedef vector<char> vc; typedef vector<db> vd; typedef vector<st> vs; t...
16.814433
52
0.448804
rockoanna
fef98bc5f11faf92c8755ab8a831ad0e640c1cd6
6,770
cpp
C++
src/conrad/ConradDeviceManager.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
null
null
null
src/conrad/ConradDeviceManager.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
null
null
null
src/conrad/ConradDeviceManager.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
1
2021-05-03T08:51:50.000Z
2021-05-03T08:51:50.000Z
#include <zmq.h> #include "commands/DeviceUnpairCommand.h" #include "commands/DeviceSetValueCommand.h" #include "commands/DeviceAcceptCommand.h" #include "commands/NewDeviceCommand.h" #include "commands/GatewayListenCommand.h" #include "conrad/ConradDeviceManager.h" #include "conrad/PowerMeterSwitch.h" #include "conra...
27.745902
87
0.744018
jozhalaj
fefbaa2dc9f254e0ca5aa3828af132e59a74ca84
10,480
cc
C++
src/modules/vm/vm.cc
stealify/stealify
3cdd95f852c38a6ad4c3d068754259bf5a5ced02
[ "Apache-2.0" ]
5
2018-10-28T07:59:04.000Z
2021-02-14T20:50:14.000Z
src/modules/vm/vm.cc
stealify/stealify
3cdd95f852c38a6ad4c3d068754259bf5a5ced02
[ "Apache-2.0" ]
123
2017-11-05T23:34:05.000Z
2022-03-08T08:42:06.000Z
src/modules/vm/vm.cc
stealify/stealify
3cdd95f852c38a6ad4c3d068754259bf5a5ced02
[ "Apache-2.0" ]
1
2020-01-12T00:38:37.000Z
2020-01-12T00:38:37.000Z
#include "vm.h" void stealify::vm::CreateContext(const FunctionCallbackInfo<Value> &args) { Isolate *isolate = args.GetIsolate(); HandleScope handleScope(isolate); Local<ArrayBuffer> ab = args[0].As<ArrayBuffer>(); Local<ObjectTemplate> global = ObjectTemplate::New(isolate); Local<ObjectTemplate> stealify = ...
39.69697
92
0.702099
stealify
fefbdeff2865a7677ea68120051d5ba1877a8a44
3,511
cpp
C++
aws-cpp-sdk-ssm/source/model/NotificationEvent.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-ssm/source/model/NotificationEvent.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-ssm/source/model/NotificationEvent.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
32.509259
92
0.623469
ambasta
fefc3b5095c64bf24f382481f9ebafc46d730181
962
cpp
C++
Tools/EditorFramework/Dialog.cpp
lmj0591/mygui
311fb9d07089f64558eb7f77e9b37c4cb91e3559
[ "MIT" ]
590
2015-01-06T09:22:06.000Z
2022-03-21T18:23:02.000Z
Tools/EditorFramework/Dialog.cpp
lmj0591/mygui
311fb9d07089f64558eb7f77e9b37c4cb91e3559
[ "MIT" ]
159
2015-01-07T03:34:23.000Z
2022-02-21T21:28:51.000Z
Tools/EditorFramework/Dialog.cpp
lmj0591/mygui
311fb9d07089f64558eb7f77e9b37c4cb91e3559
[ "MIT" ]
212
2015-01-05T07:33:33.000Z
2022-03-28T22:11:51.000Z
/*! @file @author Albert Semenov @date 08/2008 */ #include "Precompiled.h" #include "Dialog.h" #include "DialogManager.h" namespace tools { Dialog::Dialog() : mModal(false), mRootWidget(nullptr) { } void Dialog::doModal() { MYGUI_ASSERT(mModal != true, "Already modal mode"); mModal = true; MyGU...
16.305085
68
0.699584
lmj0591
fefe2b20930ef77bab82441d4d3d6db506a41fc5
13,398
cpp
C++
Linked List/Clone A LL With Next & Random Pointer.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
8
2021-02-13T17:07:27.000Z
2021-08-20T08:20:40.000Z
Linked List/Clone A LL With Next & Random Pointer.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
null
null
null
Linked List/Clone A LL With Next & Random Pointer.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
5
2021-02-17T18:12:20.000Z
2021-10-10T17:49:34.000Z
// Prob: https://leetcode.com/problems/copy-list-with-random-pointer/ // Ref: https://www.youtube.com/watch?v=VNf6VynfpdM&list=PLgUwDviBIf0r47RKH7fdWN54AbWFgGuii&index=14 /******************************************************************************************************/ // METHOD - 1 // O(n) time and space. #inc...
30.107865
165
0.541275
Edith-3000
3a01ac8c42946400589137d8c0f310b9cd8f8113
2,252
cpp
C++
test/exception/exception_test.cpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
null
null
null
test/exception/exception_test.cpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
null
null
null
test/exception/exception_test.cpp
aeolusbot-tommyliu/fl
a50d0c9620a8f86e0cd14a5e22ee0f022d00bd02
[ "MIT" ]
1
2018-11-20T14:05:50.000Z
2018-11-20T14:05:50.000Z
/* * This is part of the fl library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2015 Max Planck Society, * Autonomous Motion Department, * Institute for Intelligent Systems * * This Source Code Form is subject to the terms of the MIT License (MIT). ...
25.022222
82
0.601243
aeolusbot-tommyliu
3a073d28ddff81346b41630cca7a97f45884945c
3,459
cpp
C++
Graphs/RiverSizes.cpp
tdkhan/algo-expert
f14c0a86acd2b77f9744c2d7d936759f31375a83
[ "MIT" ]
null
null
null
Graphs/RiverSizes.cpp
tdkhan/algo-expert
f14c0a86acd2b77f9744c2d7d936759f31375a83
[ "MIT" ]
null
null
null
Graphs/RiverSizes.cpp
tdkhan/algo-expert
f14c0a86acd2b77f9744c2d7d936759f31375a83
[ "MIT" ]
null
null
null
/* #################################################################################################### You're given a two-dimensional array (a matrix) of potentially unequal height and width containing only 0s and 1s. Each 0 represents land, and each 1 represents part of a river. A river consists of any number of 1s ...
32.027778
104
0.59815
tdkhan
3a09178afb6dfcb4c703e303acc006cecd8e197f
428
hpp
C++
include/unordered_map/details/bit/clz.hpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
include/unordered_map/details/bit/clz.hpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
include/unordered_map/details/bit/clz.hpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
#pragma once #include "unordered_map/details/config.hpp" #include "unordered_map/details/type.hpp" namespace wiz::details::bit { WIZ_HIDE_FROM_ABI constexpr s32 clz(u32 x) noexcept { return __builtin_clz(x); } WIZ_HIDE_FROM_ABI constexpr s32 clz(usize x) noexcept { return __builtin_clzl(x); } WIZ_HIDE_...
28.533333
87
0.75
Wizermil
3a0f5b6eee02403d7496c1fbfd1e5248294f2b1d
3,095
cpp
C++
dali/internal/update/common/discard-queue.cpp
vcebollada/dali-core
1f880695d4f6cb871db7f946538721e882ba1633
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali/internal/update/common/discard-queue.cpp
vcebollada/dali-core
1f880695d4f6cb871db7f946538721e882ba1633
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-03-22T10:19:17.000Z
2020-03-22T10:19:17.000Z
dali/internal/update/common/discard-queue.cpp
fayhot/dali-core
a69ea317f30961164520664a645ac36c387055ef
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * 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...
29.47619
95
0.745719
vcebollada
3a0fa447df0a27501e5af6671c28db8a9726a286
4,421
cpp
C++
sources/modules/levelset/ExplicitIntegration/Terms/TermRestrictUpdate.cpp
mdoshi96/beacls
860426ed1336d9539dea195987efcdd8a8276a1c
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
30
2017-12-17T22:57:50.000Z
2022-01-30T17:06:34.000Z
sources/modules/levelset/ExplicitIntegration/Terms/TermRestrictUpdate.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
2
2017-03-24T06:18:16.000Z
2017-04-04T16:16:06.000Z
sources/modules/levelset/ExplicitIntegration/Terms/TermRestrictUpdate.cpp
codingblazes/beacls
6c1d685ee00e3b39d8100c4a170a850682679abc
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
8
2018-07-06T01:47:21.000Z
2021-07-23T15:50:34.000Z
#include <levelset/ExplicitIntegration/Terms/TermRestrictUpdate.hpp> #include <levelset/Grids/HJI_Grid.hpp> #include <levelset/ExplicitIntegration/SchemeData.hpp> #include <cmath> #include <numeric> #include <typeinfo> #include "TermRestrictUpdate_impl.hpp" using namespace levelset; TermRestrictUpdate_impl::TermRestri...
32.992537
197
0.706175
mdoshi96
3a12290eb0ff33fa4424674e219920a2c64eeb80
26,555
cpp
C++
wrap/Class.cpp
alexhagiopol/GTSAM
c397fac199d0202c7abb1cd8e6005731658f56e8
[ "BSD-3-Clause" ]
105
2017-12-02T14:39:49.000Z
2022-02-19T18:20:25.000Z
trunk/wrap/Class.cpp
shaolinbit/PPP-BayesTree
6f469775277a1a33447bf4c19603c796c2c63c75
[ "MIT" ]
5
2018-09-04T15:15:59.000Z
2020-09-08T08:51:02.000Z
trunk/wrap/Class.cpp
shaolinbit/PPP-BayesTree
6f469775277a1a33447bf4c19603c796c2c63c75
[ "MIT" ]
31
2018-01-10T03:21:28.000Z
2021-08-06T06:18:35.000Z
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information ...
40.05279
176
0.621766
alexhagiopol
3a155155abdb621421ef272c5790557617822ffb
1,007
cpp
C++
Queues/Queue.cpp
krcpr007/DSA-Abdul_Bari_codesAndPdfs-
06d19a936009502d39fb5e401e9d90bf6d7911c9
[ "MIT" ]
1
2021-12-06T13:49:47.000Z
2021-12-06T13:49:47.000Z
Queues/Queue.cpp
krcpr007/DSA-Abdul_Bari_codesAndPdfs-
06d19a936009502d39fb5e401e9d90bf6d7911c9
[ "MIT" ]
null
null
null
Queues/Queue.cpp
krcpr007/DSA-Abdul_Bari_codesAndPdfs-
06d19a936009502d39fb5e401e9d90bf6d7911c9
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct Queue { int size, front, Rear; int *Q; }; void Create(struct Queue *q, int size) { q->size = size; q->front = q->Rear = -1; // q->Q = new int; q->Q = (int *)malloc(q->size * sizeof(int)); } void enqueue(struct Queue *q, int x) { if (q->Rear == ...
16.783333
48
0.466733
krcpr007
3a16c74e8933743dae65f08f0e2b5998d0fec923
9,941
cpp
C++
osquery/main/windows/daemon.cpp
Akhilpakanati/osquery
81d8a4aa687f8e9a6c09a0dbcef3722fdc01aa8a
[ "BSD-3-Clause" ]
null
null
null
osquery/main/windows/daemon.cpp
Akhilpakanati/osquery
81d8a4aa687f8e9a6c09a0dbcef3722fdc01aa8a
[ "BSD-3-Clause" ]
null
null
null
osquery/main/windows/daemon.cpp
Akhilpakanati/osquery
81d8a4aa687f8e9a6c09a0dbcef3722fdc01aa8a
[ "BSD-3-Clause" ]
1
2016-09-03T18:08:49.000Z
2016-09-03T18:08:49.000Z
/* * Copyright (c) 2014-present, Facebook, Inc. * 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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #in...
29.942771
80
0.654361
Akhilpakanati
3a1771cbb281c8f3df916c6c29b64229640133c6
8,854
hpp
C++
tools/ouzel/visualstudio/VcxProject.hpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
1
2021-03-01T13:17:49.000Z
2021-03-01T13:17:49.000Z
tools/ouzel/visualstudio/VcxProject.hpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
null
null
null
tools/ouzel/visualstudio/VcxProject.hpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
null
null
null
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #ifndef OUZEL_VISUALSTUDIO_VCXPROJECT_HPP #define OUZEL_VISUALSTUDIO_VCXPROJECT_HPP #include <map> #include <string> #include <random> #include <vector> namespace ouzel::visualstudio { struct Guid final { std::uint32_t timeLow; std...
40.063348
218
0.50576
taida957789
3a1846c145228f90e16435ec385619be844f7ffe
14,406
cpp
C++
code/components/tool-formats/src/ConvertFormats.cpp
duck-37/fivem
6e7c0a657bb480657c510bffe40f6de386ba3fbe
[ "MIT" ]
2
2020-12-23T02:42:00.000Z
2021-05-16T15:18:52.000Z
code/components/tool-formats/src/ConvertFormats.cpp
duck-37/fivem
6e7c0a657bb480657c510bffe40f6de386ba3fbe
[ "MIT" ]
null
null
null
code/components/tool-formats/src/ConvertFormats.cpp
duck-37/fivem
6e7c0a657bb480657c510bffe40f6de386ba3fbe
[ "MIT" ]
3
2020-12-23T02:42:18.000Z
2021-04-07T12:06:03.000Z
/* * This file is part of the CitizenFX project - http://citizen.re/ * * See LICENSE and MENTIONS in the root of the source tree for information * regarding licensing. */ #include "StdInc.h" #include "ToolComponentHelpers.h" #include "IteratorView.h" #include <boost/filesystem.hpp> #define RAGE_F...
27.918605
202
0.617173
duck-37
3a19166f7751fe13a5c7364ae8129bb76456d65b
462
hpp
C++
error.hpp
viniciusferrao/nixShell
d2250d9e2d2bf94fe8af95f7a107764a5be477e8
[ "Apache-2.0" ]
null
null
null
error.hpp
viniciusferrao/nixShell
d2250d9e2d2bf94fe8af95f7a107764a5be477e8
[ "Apache-2.0" ]
null
null
null
error.hpp
viniciusferrao/nixShell
d2250d9e2d2bf94fe8af95f7a107764a5be477e8
[ "Apache-2.0" ]
null
null
null
/* * Universidade Federal do Rio de Janeiro * Escola Politecnica * Departamento de Eletronica e de Computacao * Prof. Simone Markenson * Linguagens de Programação - Turma 2009/1 * Authors: * -> Vinicius Figueiredo Ferrao * -> Victor Dabarian * -> Diego Santos Wanderley * Description: Header para definição da...
22
79
0.746753
viniciusferrao
3a1aab3dde76256c24dad9e803c092404f0594b0
3,240
hpp
C++
include/r2p/Thread.hpp
r2p/Middleware
6438bdef16671482ecc1330679fa56439f916c61
[ "BSD-2-Clause" ]
1
2020-11-26T04:21:41.000Z
2020-11-26T04:21:41.000Z
include/r2p/Thread.hpp
r2p/Middleware
6438bdef16671482ecc1330679fa56439f916c61
[ "BSD-2-Clause" ]
null
null
null
include/r2p/Thread.hpp
r2p/Middleware
6438bdef16671482ecc1330679fa56439f916c61
[ "BSD-2-Clause" ]
1
2020-11-26T04:21:47.000Z
2020-11-26T04:21:47.000Z
#pragma once #include <r2p/common.hpp> #include <r2p/impl/Thread_.hpp> #include <r2p/MemoryPool.hpp> namespace r2p { class Time; class Thread : private Uncopyable { public: enum PriorityEnum { READY = Thread_::READY, IDLE = Thread_::IDLE, LOWEST = Thread_::LOWEST, NORMAL = ...
21.038961
79
0.630247
r2p
3a1ca605da6af428042076418f63dd71156c8b7e
155
cpp
C++
src/Physics/PhysicsActor.cpp
Stral9315/xsngine
4a4afe21f12483dbe266113b17a4b51ea850ee56
[ "MIT" ]
13
2015-02-05T22:44:29.000Z
2021-09-04T21:28:10.000Z
src/Physics/PhysicsActor.cpp
Stral9315/xsngine
4a4afe21f12483dbe266113b17a4b51ea850ee56
[ "MIT" ]
47
2015-03-23T14:11:06.000Z
2017-05-21T05:14:57.000Z
src/Physics/PhysicsActor.cpp
Stral9315/xsngine
4a4afe21f12483dbe266113b17a4b51ea850ee56
[ "MIT" ]
7
2015-04-29T00:48:23.000Z
2018-04-01T13:12:40.000Z
#include "Common/Common.h" #include "Physics/PhysicsActor.h" namespace Physics { RigidActor::RigidActor( VolumeType type ) { } } // namespace Physics
15.5
44
0.729032
Stral9315
3a287243e581611cbfc0923b8947d970087f71f5
2,373
cpp
C++
examples/segment/seg_sweep2.cpp
anish-krishnan/PAM
aab06beae89a35ddcbeec02e7b8121d9953f41bd
[ "MIT" ]
75
2018-10-01T23:18:14.000Z
2022-03-29T08:14:11.000Z
examples/segment/seg_sweep2.cpp
anish-krishnan/PAM
aab06beae89a35ddcbeec02e7b8121d9953f41bd
[ "MIT" ]
3
2019-10-28T10:27:35.000Z
2019-11-27T22:12:36.000Z
examples/segment/seg_sweep2.cpp
anish-krishnan/PAM
aab06beae89a35ddcbeec02e7b8121d9953f41bd
[ "MIT" ]
18
2018-10-29T21:57:32.000Z
2021-11-08T01:57:22.000Z
#include <algorithm> #include <iostream> #include <vector> #include <random> #include <climits> #include <cstdlib> #include <iomanip> #include <pam/pam.h> #include <pam/get_time.h> #include <pam/parse_command_line.h> #include <parlay/random.h> #include <parlay/primitives.h> #include "seg_utils_horizontal.h" #include ...
26.076923
93
0.609777
anish-krishnan
3a2983a9457f47e7b9e83313eb28dd35da97b092
7,373
cc
C++
src/developer/forensics/feedback_data/integrity_reporter.cc
gobftald/fuchsia-rpi
6910a347563ab4576b4da60a3a8626de5bbeebf9
[ "BSD-3-Clause" ]
1
2022-01-20T15:42:41.000Z
2022-01-20T15:42:41.000Z
src/developer/forensics/feedback_data/integrity_reporter.cc
gobftald/fuchsia-rpi
6910a347563ab4576b4da60a3a8626de5bbeebf9
[ "BSD-3-Clause" ]
null
null
null
src/developer/forensics/feedback_data/integrity_reporter.cc
gobftald/fuchsia-rpi
6910a347563ab4576b4da60a3a8626de5bbeebf9
[ "BSD-3-Clause" ]
1
2021-08-15T04:29:11.000Z
2021-08-15T04:29:11.000Z
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/developer/forensics/feedback_data/integrity_reporter.h" #include "src/developer/forensics/feedback_data/errors.h" #include "src/developer/fo...
38.005155
99
0.714228
gobftald
3a2be054877f2411e37df286c0bdc5856369c07f
4,501
cpp
C++
libvast/src/transform_steps/hash.cpp
lava/vast
0bc9e3c12eb31ec50dd0270626d55e84b2255899
[ "BSD-3-Clause" ]
1
2021-05-14T02:03:17.000Z
2021-05-14T02:03:17.000Z
libvast/src/transform_steps/hash.cpp
5l1v3r1/vast
a2cb4be879a13cef855da2c1d73083204aed4dff
[ "BSD-3-Clause" ]
null
null
null
libvast/src/transform_steps/hash.cpp
5l1v3r1/vast
a2cb4be879a13cef855da2c1d73083204aed4dff
[ "BSD-3-Clause" ]
null
null
null
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2021 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #include "vast/transform_steps/hash.hpp" #include "vast...
34.358779
79
0.638747
lava
3a2eba98c579c17580c01154de196384781aeae1
2,557
cpp
C++
codeforces/1301/B.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
5
2020-06-30T12:44:25.000Z
2021-07-14T06:35:57.000Z
codeforces/1301/B.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
null
null
null
codeforces/1301/B.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
null
null
null
// [amitdu6ey] // g++ -std=c++11 -o2 -Wall filename.cpp -o filename #include <bits/stdc++.h> #define hell 1000000009 #define bug1(x) cout<<"$ "<<x<<" $"<<endl #define bug2(x) cout<<"% "<<x<<" %"<<endl #define bug3(x) cout<<"# "<<x<<" #"<<endl #define ll long long #define pb push_back #define mp make_pair #define tr(z)...
25.828283
75
0.484943
amitdu6ey
3a30e4d0abbe92286ee31a4123c55cbe468bc2c1
966
cpp
C++
src/Main.cpp
mak1a/SivComponent
1043cde67a5dc14f2d4e0128aecfee7f54ed7002
[ "MIT" ]
1
2021-01-24T08:55:59.000Z
2021-01-24T08:55:59.000Z
src/Main.cpp
mak1a/SivComponent
1043cde67a5dc14f2d4e0128aecfee7f54ed7002
[ "MIT" ]
2
2021-01-24T06:12:12.000Z
2021-01-24T14:37:10.000Z
src/Main.cpp
mak1a/SivComponent
1043cde67a5dc14f2d4e0128aecfee7f54ed7002
[ "MIT" ]
null
null
null
#define NO_S3D_USING #include <Siv3D.hpp> // OpenSiv3D v0.4.3 #include "PhotonComponent/PhotonComponent.hpp" #include "PhotonComponent/PhotonInit.hpp" #include "Title.hpp" #include "main/AssetLoad.hpp" #include "main/Game/Game.hpp" #include "main/InstantiateEntry.hpp" #include "main/Matching/Matching.hpp" #include ...
21.954545
50
0.70911
mak1a
3a342d7224f5b77ed8e66a944a23af70b9696bbb
9,976
cpp
C++
main.cpp
ShumWengSang/Eye-Renderer
b335e4e098711663852ecbff47800a4d5d830dc2
[ "MIT" ]
null
null
null
main.cpp
ShumWengSang/Eye-Renderer
b335e4e098711663852ecbff47800a4d5d830dc2
[ "MIT" ]
null
null
null
main.cpp
ShumWengSang/Eye-Renderer
b335e4e098711663852ecbff47800a4d5d830dc2
[ "MIT" ]
null
null
null
#define STB_IMAGE_IMPLEMENTATION #include "stdafx.h" #include "Ray.h" #include "Hittable/IHittable.h" #include "Hittable/HittableList.h" #include "Hittable/Sphere.h" #include "Camera.h" #include "Material/Material.h" #include "Material/Lambertian.h" #include "Material/Metal.h" #include "Material/Dielectric.h" #include ...
31.872204
96
0.564455
ShumWengSang
3a3434724e4b658e087cf466c46a64990918cb49
1,505
hpp
C++
lib/Zany/ThreadPool.hpp
ViguierB/ZiaApi
536b919cc2ccc86a6bbd4997c8d4e4d958d8c2ce
[ "Beerware" ]
null
null
null
lib/Zany/ThreadPool.hpp
ViguierB/ZiaApi
536b919cc2ccc86a6bbd4997c8d4e4d958d8c2ce
[ "Beerware" ]
null
null
null
lib/Zany/ThreadPool.hpp
ViguierB/ZiaApi
536b919cc2ccc86a6bbd4997c8d4e4d958d8c2ce
[ "Beerware" ]
null
null
null
/* ** EPITECH PROJECT, 2018 ** api ** File description: ** ThreadPool.hpp */ #pragma once #include <condition_variable> #include <map> #include <queue> #include <list> #include <functional> #include <cstdint> #include <atomic> #include <mutex> #include <thread> #include "./Context.hpp" namespace zany { class Thread...
19.545455
84
0.693023
ViguierB
3a35621cde2aa4dbefeaafe01a44b5550dbc94d2
3,526
cpp
C++
src/Config/Configuration.cpp
eiji-shimizu/eihire
3996cf9d0c5d4fd8201141093aea6bb8017e7657
[ "MIT" ]
null
null
null
src/Config/Configuration.cpp
eiji-shimizu/eihire
3996cf9d0c5d4fd8201141093aea6bb8017e7657
[ "MIT" ]
null
null
null
src/Config/Configuration.cpp
eiji-shimizu/eihire
3996cf9d0c5d4fd8201141093aea6bb8017e7657
[ "MIT" ]
null
null
null
#include "Config/Configuration.h" #include "Exception/Exception.h" #include <iostream> namespace Eihire::Config { namespace { void addAndLoad(std::vector<PropertiesMap> &propertiesMapList, const std::vector<std::string> &filePathList) { for (const auto &filePath : filePathList) { ...
28.435484
116
0.560408
eiji-shimizu
3a36d70e85b2191516c2fca289371b34ca043798
13,984
hpp
C++
os/api_log.hpp
JehTeh/jel
2c43cf23ea7b89e7ec0f7c2e9549be74ab0bbc4b
[ "MIT" ]
14
2018-10-09T00:08:26.000Z
2021-09-24T19:49:42.000Z
os/api_log.hpp
JehTeh/jel
2c43cf23ea7b89e7ec0f7c2e9549be74ab0bbc4b
[ "MIT" ]
null
null
null
os/api_log.hpp
JehTeh/jel
2c43cf23ea7b89e7ec0f7c2e9549be74ab0bbc4b
[ "MIT" ]
null
null
null
/** @file os/api_log.hpp * @brief Logging primitives for use by the jel and application code. * * @detail * * @author Jonathan Thomson */ /** * MIT License * * Copyright 2018, Jonathan Thomson * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and * asso...
46.151815
100
0.735269
JehTeh
3a39ec1167545a2f57e741094abda883af3791c7
6,616
inl
C++
TricksterEngine/Include/Noesis/NsDrawing/Color.inl
Trickje/Trickster
ab73f15ec1b45676a20793ad6d4e9acfc2ba944e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
TricksterEngine/Include/Noesis/NsDrawing/Color.inl
Trickje/Trickster
ab73f15ec1b45676a20793ad6d4e9acfc2ba944e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
TricksterEngine/Include/Noesis/NsDrawing/Color.inl
Trickje/Trickster
ab73f15ec1b45676a20793ad6d4e9acfc2ba944e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////// // NoesisGUI - http://www.noesisengine.com // Copyright (c) 2013 Noesis Technologies S.L. All Rights Reserved. //////////////////////////////////////////////////////////////////////////////////////////////////// #incl...
32.431373
100
0.346735
Trickje
3a43763657b9b40dfb21a43c7c299ba8061e7c89
1,395
cpp
C++
Source/GA/GAItem.cpp
JackHarb89/ga2014
2d63e0f423ede52071605039a64eed4db792cb43
[ "Apache-2.0" ]
1
2015-04-09T20:19:27.000Z
2015-04-09T20:19:27.000Z
Source/GA/GAItem.cpp
JackHarb89/ga2014
2d63e0f423ede52071605039a64eed4db792cb43
[ "Apache-2.0" ]
null
null
null
Source/GA/GAItem.cpp
JackHarb89/ga2014
2d63e0f423ede52071605039a64eed4db792cb43
[ "Apache-2.0" ]
null
null
null
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. #include "GA.h" #include "GAItem.h" #include "Net/UnrealNetwork.h" AGAItem::AGAItem(const class FPostConstructInitializeProperties& PCIP) : Super(PCIP) { bReplicates = true; bAlwaysRelevant = true; bReplicateMovement = true; } // Replic...
26.826923
96
0.763441
JackHarb89
3a494fd8169def91a58c24a1f6ece20e1521683f
2,185
cpp
C++
src/hello_imgui/internal/menu_statusbar.cpp
jhoffmann2/hello_imgui
7430223491de1ee12b4e3c30cc430d026ae10d62
[ "MIT" ]
245
2020-06-21T10:06:45.000Z
2022-03-24T04:43:23.000Z
src/hello_imgui/internal/menu_statusbar.cpp
jhoffmann2/hello_imgui
7430223491de1ee12b4e3c30cc430d026ae10d62
[ "MIT" ]
19
2020-06-22T22:06:25.000Z
2021-09-05T12:28:44.000Z
src/hello_imgui/internal/menu_statusbar.cpp
jhoffmann2/hello_imgui
7430223491de1ee12b4e3c30cc430d026ae10d62
[ "MIT" ]
36
2020-06-20T04:42:54.000Z
2022-03-29T10:55:20.000Z
#include "hello_imgui/internal/menu_statusbar.h" #include "hello_imgui/internal/docking_details.h" #include "imgui.h" #include "imgui_internal.h" #include <string> namespace HelloImGui { namespace Menu_StatusBar { void ShowDefaultAppMenu_Quit(RunnerParams & runnerParams) { std::string appName = runnerParams.appWi...
25.406977
110
0.710297
jhoffmann2
3a4a92e48f40ac04ee501d2a51acf3bc577fca1f
3,464
cpp
C++
libcaf_core/test/inbound_path.cpp
v2nero/actor-framework
c2f811809143d32c598471a20363238b0882a761
[ "BSL-1.0", "BSD-3-Clause" ]
1
2019-03-06T14:27:41.000Z
2019-03-06T14:27:41.000Z
libcaf_core/test/inbound_path.cpp
Boubou818/actor-framework
da90ef78b26da5d225f039072e616da415c48494
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/test/inbound_path.cpp
Boubou818/actor-framework
da90ef78b26da5d225f039072e616da415c48494
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
38.065934
80
0.428984
v2nero
3a4e3bf82e13c6060d0b740a0d65b92330ef1986
220
cxx
C++
CMakeSample/tutorial.cxx
lidanqing-i/vs-code
04aa8523583b389ed14b84d9da5f585e3c16ea01
[ "Unlicense" ]
1
2021-03-30T00:33:34.000Z
2021-03-30T00:33:34.000Z
CMakeSample/tutorial.cxx
lidanqing-intel/vs-code
04aa8523583b389ed14b84d9da5f585e3c16ea01
[ "Unlicense" ]
null
null
null
CMakeSample/tutorial.cxx
lidanqing-intel/vs-code
04aa8523583b389ed14b84d9da5f585e3c16ea01
[ "Unlicense" ]
null
null
null
if (argc < 2){ // report version std::cout << argv[0] << " Version " << Tutorial_VERSION_MAJOR << "." << Tutorial_VERSION_MINOR << std::endl; std::cout << " Usage: " << argv[0] << "number" << std::endl; return 1; }
31.428571
109
0.577273
lidanqing-i
3a50bb86c136a7fc79d536c6edfa9da22c254c8a
1,716
cpp
C++
examples/MovingAverageFilter.cpp
ianran/DSP-lite
6c4cf040abf18a4c8e7bc0ba970df7ad77b1f0fe
[ "MIT" ]
null
null
null
examples/MovingAverageFilter.cpp
ianran/DSP-lite
6c4cf040abf18a4c8e7bc0ba970df7ad77b1f0fe
[ "MIT" ]
null
null
null
examples/MovingAverageFilter.cpp
ianran/DSP-lite
6c4cf040abf18a4c8e7bc0ba970df7ad77b1f0fe
[ "MIT" ]
null
null
null
/* Copyright 2019 Ian Rankin * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without limitation the rights to use, copy, modify, merge, * publish, distri...
33
93
0.716783
ianran
3a50d04422a686d0fbc889c0522fa065e6d78519
12,055
cxx
C++
osprey/ipa/main/analyze/inline_script_parser.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/ipa/main/analyze/inline_script_parser.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/ipa/main/analyze/inline_script_parser.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2003, 2004 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000-2003, Intel Corporation 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 co...
38.148734
120
0.6545
sharugupta
3a54624f69fad848fda4ea440a24c7124115ae21
29,743
cc
C++
tensorflow/core/user_ops/direct_sparse_pooling_kd_gpu.cu.cc
TimoHackel/ILA-SCNN
99ff4b3f68877d660dc56e086b6a12d6846b379a
[ "Apache-2.0" ]
24
2018-02-01T15:49:22.000Z
2021-01-11T16:31:18.000Z
tensorflow/core/user_ops/direct_sparse_pooling_kd_gpu.cu.cc
TimoHackel/ILA-SCNN
99ff4b3f68877d660dc56e086b6a12d6846b379a
[ "Apache-2.0" ]
null
null
null
tensorflow/core/user_ops/direct_sparse_pooling_kd_gpu.cu.cc
TimoHackel/ILA-SCNN
99ff4b3f68877d660dc56e086b6a12d6846b379a
[ "Apache-2.0" ]
4
2018-10-29T18:43:22.000Z
2020-09-28T07:19:52.000Z
#if GOOGLE_CUDA #define EIGEN_USE_GPU #include <time.h> #include <sstream> #include "direct_sparse_pooling_kd_gpu.h" #include "direct_sparse_cuda_helpers_gpu.h" //TODO: support same SAME and UNPADDED convolutions #ifndef max #define max( a, b ) ( ((a) > (b)) ? (a) : (b) ) #endif #define EPS__ 1./65536. namespace...
51.637153
367
0.724675
TimoHackel
3a597814ae5d8a1f512197a0e0b51b32907aa3b4
3,398
cc
C++
rtc_base/rtc_certificate_generator.cc
jomael/WEBRTC
6dd6651852028ab57ae1aaeebe7a5d902f19c536
[ "BSD-3-Clause" ]
null
null
null
rtc_base/rtc_certificate_generator.cc
jomael/WEBRTC
6dd6651852028ab57ae1aaeebe7a5d902f19c536
[ "BSD-3-Clause" ]
null
null
null
rtc_base/rtc_certificate_generator.cc
jomael/WEBRTC
6dd6651852028ab57ae1aaeebe7a5d902f19c536
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2016 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 contributing ...
35.768421
80
0.704532
jomael
3a5ceaf9f62ca4bd49c8d44ad8e3e973f9b3909a
774
hpp
C++
include/detect.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
7
2019-08-22T20:48:15.000Z
2021-12-31T16:08:59.000Z
include/detect.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
10
2019-08-22T21:40:43.000Z
2020-09-03T14:21:21.000Z
include/detect.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
2
2019-08-22T21:08:28.000Z
2019-08-23T21:31:56.000Z
#pragma once #include <type_traits> namespace nstd { namespace detail { template <class Default, class AlwaysVoid, template <class...> class Op, class... Args> struct detector { using value_t = std::false_type; using type = Default; }; template <class Default, template <class...> class Op, class... Args> str...
29.769231
139
0.686047
AeroStun
3a5e8b98371c165cb7a9846a7fcc64bbc71ea901
175
cpp
C++
src/buffers.cpp
YarikRevich/Sansa
80ce09ac569de80a64c71d93f8326221560c9bdb
[ "MIT" ]
null
null
null
src/buffers.cpp
YarikRevich/Sansa
80ce09ac569de80a64c71d93f8326221560c9bdb
[ "MIT" ]
null
null
null
src/buffers.cpp
YarikRevich/Sansa
80ce09ac569de80a64c71d93f8326221560c9bdb
[ "MIT" ]
null
null
null
#include "buffers.hpp" namespace Sansa { IndexBuffer::IndexBuffer() { } void IndexBuffer::Bind() { } void IndexBuffer::Unbind() { } }
9.210526
30
0.531429
YarikRevich
3a5f599c231535f4c0c7748c99a820c80ce14140
18,356
cpp
C++
src/LN2_DEVEIN.cpp
layerfMRI/LAYNII
906b9ce765a20d71915ad7ba62db7c413af9739e
[ "BSD-3-Clause" ]
70
2018-04-09T13:16:42.000Z
2022-03-25T11:35:05.000Z
src/LN2_DEVEIN.cpp
yyinghua/LAYNII
8727e9f7801533069f3e6372ed50e7b718867557
[ "BSD-3-Clause" ]
48
2018-12-06T01:17:48.000Z
2022-03-31T13:55:28.000Z
src/LN2_DEVEIN.cpp
yyinghua/LAYNII
8727e9f7801533069f3e6372ed50e7b718867557
[ "BSD-3-Clause" ]
17
2019-04-25T20:57:34.000Z
2022-03-07T12:20:31.000Z
#include "../dep/laynii_lib.h" #include <limits> int show_help(void) { printf( "LN2_DEVEIN : Mitigates venous signal in one of three different ways.\n" "\n" " 1. Estimates microvascular component in layer-fMRI GE-BOLD. It does\n" " so by using an estimate of the local macrovascular blood...
40.791111
140
0.451623
layerfMRI
3a6450e00b5df4e6955cbaa4bd43076d3f0b2ac2
3,640
cpp
C++
Fuji/Source/Drivers/Linux/MFSystem_Linux.cpp
TurkeyMan/fuji
afd6a26c710ce23965b088ad158fe916d6a1a091
[ "BSD-2-Clause" ]
35
2015-01-19T22:07:48.000Z
2022-02-21T22:17:53.000Z
Fuji/Source/Drivers/Linux/MFSystem_Linux.cpp
TurkeyMan/fuji
afd6a26c710ce23965b088ad158fe916d6a1a091
[ "BSD-2-Clause" ]
1
2022-02-23T09:34:15.000Z
2022-02-23T09:34:15.000Z
Fuji/Source/Drivers/Linux/MFSystem_Linux.cpp
TurkeyMan/fuji
afd6a26c710ce23965b088ad158fe916d6a1a091
[ "BSD-2-Clause" ]
4
2015-05-11T03:31:35.000Z
2018-09-27T04:55:57.000Z
#include "Fuji_Internal.h" #if MF_SYSTEM == MF_DRIVER_LINUX #include "MFSystem_Internal.h" #include "MFHeap.h" #include "MFInput.h" #include "MFFileSystem.h" #include <sys/time.h> #include <sys/utsname.h> #include <time.h> #include <stdio.h> #if MF_DISPLAY == MF_DRIVER_SDL2 || MF_INPUT == MF_DRIVER_...
22.060606
102
0.69533
TurkeyMan
3a65428ccf202e5009456ffd6d05dbb79dfe2c09
3,873
cpp
C++
systems/opengl/shaders/ShadowMapSrc.cpp
phisko/kengine
c30f98cc8e79cce6574b5f61088b511f29bbe8eb
[ "MIT" ]
259
2018-11-01T05:12:37.000Z
2022-03-28T11:15:27.000Z
systems/opengl/shaders/ShadowMapSrc.cpp
raptoravis/kengine
619151c20e9db86584faf04937bed3d084e3bc21
[ "MIT" ]
2
2018-11-30T13:58:44.000Z
2018-12-17T11:58:42.000Z
systems/opengl/shaders/ShadowMapSrc.cpp
raptoravis/kengine
619151c20e9db86584faf04937bed3d084e3bc21
[ "MIT" ]
16
2018-12-01T13:38:18.000Z
2021-12-04T21:31:55.000Z
#include "macro_as_string.hpp" namespace kengine::Shaders::src { namespace ShadowMap { namespace Frag { const char * glsl = R"( #version 330 uniform sampler2D shadowMap; uniform mat4 lightSpaceMatrix; uniform float bias; uniform int pcfSamples; vec2 getShadowMapValue(vec3 worldPos) { vec4 worldPosLightSpac...
30.738095
98
0.672347
phisko
3a65bc4da636979920244b9da6c097dca1a18c9d
10,079
cpp
C++
getting_started/clk_freq/split_kernel_c/src/host.cpp
liquan0902/xilinx_example
79e9c363d4a6684ff0e1ca543ffd9b78ef0f517b
[ "BSD-3-Clause" ]
null
null
null
getting_started/clk_freq/split_kernel_c/src/host.cpp
liquan0902/xilinx_example
79e9c363d4a6684ff0e1ca543ffd9b78ef0f517b
[ "BSD-3-Clause" ]
null
null
null
getting_started/clk_freq/split_kernel_c/src/host.cpp
liquan0902/xilinx_example
79e9c363d4a6684ff0e1ca543ffd9b78ef0f517b
[ "BSD-3-Clause" ]
null
null
null
/********** Copyright (c) 2017, Xilinx, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
37.32963
129
0.606707
liquan0902
3a6a8ac0613a7f050312c55f1b1e3254b8f7c677
102
cpp
C++
GlobalObjects/GlobalObjects.cpp
Harrm/playrix-public
d2a7dda8594fc585a6d0989091a807793e9a2b81
[ "MIT" ]
44
2016-09-20T11:25:12.000Z
2022-03-15T20:58:58.000Z
GlobalObjects/GlobalObjects.cpp
Harrm/playrix-public
d2a7dda8594fc585a6d0989091a807793e9a2b81
[ "MIT" ]
null
null
null
GlobalObjects/GlobalObjects.cpp
Harrm/playrix-public
d2a7dda8594fc585a6d0989091a807793e9a2b81
[ "MIT" ]
17
2016-09-19T08:36:03.000Z
2021-07-29T13:31:13.000Z
#include "GlobalObjectGetterTests.h" int main() { GlobalObjectGetterTests::Test(); return 0; }
11.333333
36
0.705882
Harrm
3a71eaccc07f6af616b2abbb1ce39ab1070d395d
123
cpp
C++
AtCoder/abc069/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc069/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc069/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int n, m; cin >> n >> m; printf("%d\n", (n - 1) * (m - 1)); }
20.5
38
0.495935
H-Tatsuhiro
b9197b92915dc8d6ff255d431ea823ecb29b34c9
3,462
hpp
C++
ThirdParty/Thalmic/Include/myo/cxx/Hub.hpp
getnamo/myo-ue4
0a8510012da34e5102f1e40fb07162ca509c356b
[ "MIT" ]
42
2015-01-05T13:41:16.000Z
2021-02-20T13:49:28.000Z
ThirdParty/Thalmic/Include/myo/cxx/Hub.hpp
getnamo/myo-ue4
0a8510012da34e5102f1e40fb07162ca509c356b
[ "MIT" ]
9
2015-11-20T21:34:43.000Z
2022-02-01T20:53:14.000Z
ThirdParty/Thalmic/Include/myo/cxx/Hub.hpp
getnamo/myo-ue4
0a8510012da34e5102f1e40fb07162ca509c356b
[ "MIT" ]
20
2015-01-24T02:30:50.000Z
2022-01-25T05:31:29.000Z
// Copyright (C) 2013-2014 Thalmic Labs Inc. // Distributed under the Myo SDK license agreement. See LICENSE.txt for details. #pragma once #include <vector> #include <myo/libmyo.h> namespace myo { class Myo; class DeviceListener; /// @brief A Hub provides access to one or more Myo instances. class Hub { public: ...
36.442105
120
0.716349
getnamo
b91fe351c69eea64a1d32b71fc9d0cd0ab14ac8c
287
cpp
C++
src/value/Long.cpp
JimmyDdotEXE/jpl
2949e32cf0225debd0dd0e778cd226e8ed6d2aba
[ "MIT" ]
null
null
null
src/value/Long.cpp
JimmyDdotEXE/jpl
2949e32cf0225debd0dd0e778cd226e8ed6d2aba
[ "MIT" ]
null
null
null
src/value/Long.cpp
JimmyDdotEXE/jpl
2949e32cf0225debd0dd0e778cd226e8ed6d2aba
[ "MIT" ]
null
null
null
#include "value/Long.h" Long::Long(){ literal = false; value = 0; } Long::Long(long v){ literal = true; value = v; } Long::Long(std::string s) : Num("long", s){ literal = false; value = 0; } bool Long::isLiteral(){ return literal; } long Long::getValue(){ return value; }
10.62963
43
0.606272
JimmyDdotEXE
b920a1ac80230ac462c353676fc5bfb27766cd04
1,104
hpp
C++
Library/Source/EnergyManager/Monitoring/Monitors/NodeMonitor.hpp
NB4444/BachelorProjectEnergyManager
d1fd93dcc83af6d6acd36b7efda364ac2aab90eb
[ "MIT" ]
null
null
null
Library/Source/EnergyManager/Monitoring/Monitors/NodeMonitor.hpp
NB4444/BachelorProjectEnergyManager
d1fd93dcc83af6d6acd36b7efda364ac2aab90eb
[ "MIT" ]
null
null
null
Library/Source/EnergyManager/Monitoring/Monitors/NodeMonitor.hpp
NB4444/BachelorProjectEnergyManager
d1fd93dcc83af6d6acd36b7efda364ac2aab90eb
[ "MIT" ]
null
null
null
#pragma once #include "EnergyManager/Hardware/Node.hpp" #include "EnergyManager/Monitoring/Monitors/DeviceMonitor.hpp" #include "EnergyManager/Utility/Units/Joule.hpp" #include <memory> namespace EnergyManager { namespace Monitoring { namespace Monitors { /** * Monitors a Node. */ class NodeMonitor ...
24
114
0.673007
NB4444
b92443669ee6aaf59cb0b856bbb63935fe835d97
1,659
cc
C++
src/CleanData.cc
yuvashankar/Research
bc96cd74939a7022d64dbea86483fb4a579dd24d
[ "Unlicense" ]
null
null
null
src/CleanData.cc
yuvashankar/Research
bc96cd74939a7022d64dbea86483fb4a579dd24d
[ "Unlicense" ]
null
null
null
src/CleanData.cc
yuvashankar/Research
bc96cd74939a7022d64dbea86483fb4a579dd24d
[ "Unlicense" ]
null
null
null
/** \file CleanData.cc \brief This file contains the code to remove any noise in the input data. */ // MIT License // Copyright (c) [2017] [Vinay Yuvashankar] // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Softwar...
36.866667
81
0.718505
yuvashankar
b927c6eb2483f9ca356ff3892d03d90f93a66a0e
173
hpp
C++
include/palette.hpp
dyigitpolat/komposto.ai
ee610053730d59207d073da18f645c9e27725189
[ "MIT" ]
1
2021-05-11T13:42:18.000Z
2021-05-11T13:42:18.000Z
include/palette.hpp
dyigitpolat/komposto.ai
ee610053730d59207d073da18f645c9e27725189
[ "MIT" ]
13
2021-05-16T19:56:32.000Z
2022-02-09T23:46:12.000Z
include/palette.hpp
dyigitpolat/komposto.ai
ee610053730d59207d073da18f645c9e27725189
[ "MIT" ]
null
null
null
#pragma once #include "tone.hpp" #include <vector> namespace komposto { class Palette { public: std::vector<Tone> tones_; Tone get_base_tone() const; }; }
9.105263
31
0.653179
dyigitpolat
b92f6d7c77a4f2c48bfb05cc6acada5c92727e5b
4,043
cpp
C++
test/TestIEType.cpp
sten13/libfc
dccfab49a2cc2112bc6a20315a842ee92b31bcd4
[ "Unlicense" ]
4
2017-01-04T12:08:45.000Z
2021-11-22T13:38:07.000Z
test/TestIEType.cpp
sten13/libfc
dccfab49a2cc2112bc6a20315a842ee92b31bcd4
[ "Unlicense" ]
1
2017-05-31T13:51:06.000Z
2017-05-31T13:51:06.000Z
test/TestIEType.cpp
sten13/libfc
dccfab49a2cc2112bc6a20315a842ee92b31bcd4
[ "Unlicense" ]
4
2016-04-07T09:15:59.000Z
2021-06-24T13:32:15.000Z
/* Copyright (c) 2011-2014 ETH Zürich. 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 conditi...
33.139344
78
0.75439
sten13
b9393ba316e63ca23a443f04aa009dbe2cc90048
2,795
hpp
C++
common/common/utils/string-utils.hpp
okayvlev/red-o-lator
2e1e73d44c24f22b09eb1c75d1cbfc3ab98fe60d
[ "MIT" ]
null
null
null
common/common/utils/string-utils.hpp
okayvlev/red-o-lator
2e1e73d44c24f22b09eb1c75d1cbfc3ab98fe60d
[ "MIT" ]
3
2021-05-08T12:33:35.000Z
2021-06-06T18:46:21.000Z
common/common/utils/string-utils.hpp
okayvlev/red-o-lator
2e1e73d44c24f22b09eb1c75d1cbfc3ab98fe60d
[ "MIT" ]
4
2021-04-02T08:31:38.000Z
2021-05-01T21:47:18.000Z
#pragma once #include <algorithm> #include <cassert> #include <cctype> #include <functional> #include <locale> #include <string_view> #include <vector> namespace utils { static inline void ltrimInplace(std::string& s) { s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](unsigned char ch) { return !std::...
25.642202
80
0.565295
okayvlev
b93e6a1e3c2ef582a11db22cf837aeaddc59ab7f
6,105
hpp
C++
include/armadillo_bits/op_flip_meat.hpp
getfiit/armadillo-code
3a896deca12a0f596b52d84185ebfad65df650b7
[ "Apache-2.0" ]
null
null
null
include/armadillo_bits/op_flip_meat.hpp
getfiit/armadillo-code
3a896deca12a0f596b52d84185ebfad65df650b7
[ "Apache-2.0" ]
null
null
null
include/armadillo_bits/op_flip_meat.hpp
getfiit/armadillo-code
3a896deca12a0f596b52d84185ebfad65df650b7
[ "Apache-2.0" ]
1
2021-11-21T10:19:08.000Z
2021-11-21T10:19:08.000Z
// SPDX-License-Identifier: Apache-2.0 // // Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2008-2016 National ICT Australia (NICTA) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
21.051724
84
0.557084
getfiit
b945850134604386c7931daf62998f679d0c9a7b
324
cpp
C++
src/MainToolkit.cpp
conradshyu/chromium-bsu
da951da3743071117c632d483c5ee2e4de52aa5c
[ "ClArtistic" ]
null
null
null
src/MainToolkit.cpp
conradshyu/chromium-bsu
da951da3743071117c632d483c5ee2e4de52aa5c
[ "ClArtistic" ]
null
null
null
src/MainToolkit.cpp
conradshyu/chromium-bsu
da951da3743071117c632d483c5ee2e4de52aa5c
[ "ClArtistic" ]
null
null
null
/* * Copyright (c) 2000 Mark B. Allan. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #include "MainToolkit.h" MainToolkit::MainToolkit(int, char **) { } MainToolkit::~MainToolkit() { ...
17.052632
59
0.682099
conradshyu
b94a54416634c9a3d79db4c88c2f672983b5c033
5,803
cpp
C++
pwiz/utility/chemistry/IsotopeTableTest.cpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
11
2015-01-08T08:33:44.000Z
2019-07-12T06:14:54.000Z
pwiz/utility/chemistry/IsotopeTableTest.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
pwiz/utility/chemistry/IsotopeTableTest.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
4
2016-02-03T09:41:16.000Z
2021-08-01T18:42:36.000Z
// // $Id: IsotopeTableTest.cpp 4129 2012-11-20 00:05:37Z chambm $ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2006 Louis Warschaw Prostate Cancer Center // Cedars Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2.0 (the "Lic...
24.179167
79
0.6264
edyp-lab
b94cf8a4c3f2c5fdb0017ba30a353bea5b706eb3
1,410
cpp
C++
example/main.cpp
pqrs-org/cpp-process
4d0087c2a7d05d6c09c41257e070deb73ba18445
[ "BSL-1.0" ]
1
2020-11-13T15:27:30.000Z
2020-11-13T15:27:30.000Z
example/main.cpp
pqrs-org/cpp-process
4d0087c2a7d05d6c09c41257e070deb73ba18445
[ "BSL-1.0" ]
null
null
null
example/main.cpp
pqrs-org/cpp-process
4d0087c2a7d05d6c09c41257e070deb73ba18445
[ "BSL-1.0" ]
null
null
null
#include <iostream> #include <pqrs/process.hpp> namespace { auto global_wait = pqrs::make_thread_wait(); } int main(void) { auto time_source = std::make_shared<pqrs::dispatcher::hardware_time_source>(); auto dispatcher = std::make_shared<pqrs::dispatcher::dispatcher>(time_source); pqrs::process::process p(disp...
25.178571
80
0.48227
pqrs-org
b94f6cb11adfec48409ffdedef049a61a7f389f9
24,010
cpp
C++
examples/recruitment_curve.cpp
mahilab/FES_Exo
46b5f911048993eadaceaf51d50a8a0d2d523507
[ "MIT" ]
null
null
null
examples/recruitment_curve.cpp
mahilab/FES_Exo
46b5f911048993eadaceaf51d50a8a0d2d523507
[ "MIT" ]
null
null
null
examples/recruitment_curve.cpp
mahilab/FES_Exo
46b5f911048993eadaceaf51d50a8a0d2d523507
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2020 MAHI Lab // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, ...
43.33935
350
0.614577
mahilab
b950549b926ab2af6ffe5689489f2836076bffd5
5,440
cpp
C++
apps/modules/rtsp_sink/src/rtsp_sink.cpp
BaronChiao/CNStream
58982896d415ff25cccf3d36bc2dc8e0dbd34544
[ "Apache-2.0" ]
1
2019-12-13T07:46:58.000Z
2019-12-13T07:46:58.000Z
apps/modules/rtsp_sink/src/rtsp_sink.cpp
BaronChiao/CNStream
58982896d415ff25cccf3d36bc2dc8e0dbd34544
[ "Apache-2.0" ]
null
null
null
apps/modules/rtsp_sink/src/rtsp_sink.cpp
BaronChiao/CNStream
58982896d415ff25cccf3d36bc2dc8e0dbd34544
[ "Apache-2.0" ]
null
null
null
/************************************************************************* * Copyright (C) [2019] by Cambricon, Inc. 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 a...
35.555556
112
0.627574
BaronChiao
b951ee85f82a450e3e07b5b9a692afd717d45c28
2,384
hpp
C++
applications/unit_tests/tests/physics/rigidbody.hpp
Rythe-Interactive/Rythe-Engine.rythe-legacy
c119c494524b069a73100b12dc3d8b898347830d
[ "MIT" ]
2
2022-03-08T09:46:17.000Z
2022-03-28T08:07:05.000Z
applications/unit_tests/tests/physics/rigidbody.hpp
Rythe-Interactive/Rythe-Engine.rythe-legacy
c119c494524b069a73100b12dc3d8b898347830d
[ "MIT" ]
3
2022-03-02T13:49:10.000Z
2022-03-22T11:54:06.000Z
applications/unit_tests/tests/physics/rigidbody.hpp
Rythe-Interactive/Rythe-Engine.rythe-legacy
c119c494524b069a73100b12dc3d8b898347830d
[ "MIT" ]
null
null
null
#pragma once #include "unit_test.hpp" #include <physics/components/rigidbody.hpp> static void TestRigidbody() { using namespace legion; physics::rigidbody rigidbody; #define NOT ! LEGION_SUBTEST("Rigidbody Read and Write") { physics::RigidbodyData& rbData = rigidbody.rigidbodyData; ...
31.368421
90
0.659815
Rythe-Interactive
b9531a986c281b7cc21582dc3266e5db3c91b108
1,429
cpp
C++
src/fill.cpp
paragchaudhuri/mydraw-basecode
10dadf6b63b6201d6a8e77b8470c549479332ccd
[ "MIT" ]
1
2018-12-06T05:19:36.000Z
2018-12-06T05:19:36.000Z
src/fill.cpp
paragchaudhuri/mydraw-basecode
10dadf6b63b6201d6a8e77b8470c549479332ccd
[ "MIT" ]
null
null
null
src/fill.cpp
paragchaudhuri/mydraw-basecode
10dadf6b63b6201d6a8e77b8470c549479332ccd
[ "MIT" ]
null
null
null
/* This file is part of the mydraw. mydraw is a simple, interactive drawing program written using OpenGL. This code base is meant to serve as a starter code for an assignment in a Computer Graphics course. Copyright (c) 2018 by Parag Chaudhuri mydraw is free software; you can redistrib...
46.096774
80
0.769769
paragchaudhuri
b953ade684d0be3e8ae15de8de3c328832015e33
6,272
cpp
C++
tc 160+/FeudaliasWar.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/FeudaliasWar.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/FeudaliasWar.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <cmath> using namespace std; double sqr(double x) { return x*x; } double dist(int x1, int y1, int x2, int y2) { return sqrt(sqr(x1-x2) + sq...
43.86014
652
0.531409
ibudiselic