hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
16064c8d3937a988233e43709e7ba84375c7714f
17,259
cpp
C++
getic/texref.cpp
circinusX1/qgetic
112e20af4e940eae44af9cbf51362f362a743329
[ "BSD-4-Clause" ]
null
null
null
getic/texref.cpp
circinusX1/qgetic
112e20af4e940eae44af9cbf51362f362a743329
[ "BSD-4-Clause" ]
null
null
null
getic/texref.cpp
circinusX1/qgetic
112e20af4e940eae44af9cbf51362f362a743329
[ "BSD-4-Clause" ]
null
null
null
#include "stdafx.h" #include "winwrap.h" #include "GL/gl.h" #include "texref.h" #include "geticapp.h" #include "glwindow.h" #include "view3d.h" #include "geticmainwnd.h" #ifdef WINDOWS # pragma warning (disable: 4786) #endif #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #en...
27.265403
106
0.547598
circinusX1
160851bb5c5591be914c9f011ac26f1690b40c9a
7,036
cpp
C++
src/materialsystem/stdshaders/detail_grass.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/materialsystem/stdshaders/detail_grass.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/materialsystem/stdshaders/detail_grass.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
 #include "BaseVSShader.h" #include "mathlib/vmatrix.h" #include "convar.h" #include "cpp_shader_constant_register_map.h" #include "detail_prop_shader_ps30.inc" #include "detail_prop_shader_vs30.inc" static const float kDefaultSpecColor[] = { 0.905750f, 1.0f, 0.675000f }; BEGIN_VS_SHADER(detail_grass, ""...
34.15534
140
0.777146
cstom4994
160939911fffefe5565b85cc0728557ffca85107
721
cpp
C++
libs/storage/storage.cpp
digitalpiloten/pxt-ev3
b9b21328b16cc69963b45efcb9999f511224f2d0
[ "MIT" ]
40
2019-05-11T06:19:58.000Z
2022-02-19T19:44:19.000Z
libs/storage/storage.cpp
digitalpiloten/pxt-ev3
b9b21328b16cc69963b45efcb9999f511224f2d0
[ "MIT" ]
113
2019-05-27T17:55:18.000Z
2022-02-20T11:57:21.000Z
libs/storage/storage.cpp
digitalpiloten/pxt-ev3
b9b21328b16cc69963b45efcb9999f511224f2d0
[ "MIT" ]
33
2019-05-18T08:11:25.000Z
2022-02-15T02:15:05.000Z
#include "pxt.h" #include <sys/types.h> #include <unistd.h> #include <sys/stat.h> #include <fcntl.h> namespace storage { /** Will be moved. */ //% Buffer __stringToBuffer(String s) { return mkBuffer((uint8_t *)s->data, s->length); } /** Will be moved. */ //% String __bufferToString(Buffer s) { return mkStri...
16.022222
70
0.631068
digitalpiloten
160ad4687ce21f5680448aa95550f036121f2bd6
2,561
hpp
C++
src/mlpack/methods/emst/union_find.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
675
2019-02-07T01:23:19.000Z
2022-03-28T05:45:10.000Z
src/mlpack/methods/emst/union_find.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
843
2019-01-25T01:06:46.000Z
2022-03-16T11:15:53.000Z
src/mlpack/methods/emst/union_find.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
83
2019-02-20T06:18:46.000Z
2022-03-20T09:36:09.000Z
/** * @file union_find.hpp * @author Bill March (march@gatech.edu) * * Implements a union-find data structure. This structure tracks the components * of a graph. Each point in the graph is initially in its own component. * Calling unionfind.Union(x, y) unites the components indexed by x and y. * unionfind.Find...
24.390476
80
0.64467
RMaron
160e479b86b53fbaf0188af1df2cc67bfb705ad4
3,024
cc
C++
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/src/contrib/sort/sort.cc
mengkai94/training_results_v0.6
43dc3e250f8da47b5f8833197d74cb8cf1004fc9
[ "Apache-2.0" ]
64
2021-05-02T14:42:34.000Z
2021-05-06T01:35:03.000Z
src/contrib/sort/sort.cc
clhne/tvm
d59320c764bd09474775e1b292f3c05c27743d24
[ "Apache-2.0" ]
23
2019-07-29T05:21:52.000Z
2020-08-31T18:51:42.000Z
src/contrib/sort/sort.cc
clhne/tvm
d59320c764bd09474775e1b292f3c05c27743d24
[ "Apache-2.0" ]
51
2019-07-12T05:10:25.000Z
2021-07-28T16:19:06.000Z
/*! * Copyright (c) 2017 by Contributors * \file Use standard C library call. */ #include <tvm/runtime/registry.h> #include <tvm/runtime/util.h> #include <dlpack/dlpack.h> #include <algorithm> #include <vector> namespace tvm { namespace contrib { using namespace runtime; template<typename DType> bool CompareAsc...
31.5
79
0.627315
mengkai94
160fa8e9240bf2cf611313c54ab694d7ce45fb96
761
cpp
C++
SDKs/CryCode/3.6.15/CryEngine/CryAction/TweakMenu/TweakMetadataCallback.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.6.15/CryEngine/CryAction/TweakMenu/TweakMetadataCallback.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.6.15/CryEngine/CryAction/TweakMenu/TweakMetadataCallback.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2011. ------------------------------------------------------------------------- Description: Header for tweak item that calls a user-supplied function ***************************************...
26.241379
108
0.554534
amrhead
161080bb0c8adacf590954dc0d782a1dc3fe542b
514
cpp
C++
platforms/leetcode/0121_group_the_people_given_the_group_size_they_belong_to.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
2
2020-09-17T09:04:00.000Z
2020-11-20T19:43:18.000Z
platforms/leetcode/0121_group_the_people_given_the_group_size_they_belong_to.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
platforms/leetcode/0121_group_the_people_given_the_group_size_they_belong_to.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
#include "../../template.hpp" vvi tab(const vi& arr) { unordered_map<int, vi> groups; const int n = arr.size(); vvi ans; for (int i = 0; i < n; ++i) { const int value = arr[i]; groups[value].push_back(i); if (groups[value].size() == value) { ans.push_back(groups[valu...
23.363636
44
0.498054
idfumg
161165f52353d152ea0877dccf35228cd35ef63e
5,330
cc
C++
IntegrationWithMacSim/src/noc.cc
uwuser/MCsim
df0033e73aa7669fd89bc669ff25a659dbb253f6
[ "MIT" ]
1
2021-11-25T20:09:08.000Z
2021-11-25T20:09:08.000Z
IntegrationWithMacSim/src/noc.cc
uwuser/MCsim
df0033e73aa7669fd89bc669ff25a659dbb253f6
[ "MIT" ]
1
2021-11-03T21:15:53.000Z
2021-11-04T15:53:20.000Z
IntegrationWithMacSim/src/noc.cc
uwuser/MCsim
df0033e73aa7669fd89bc669ff25a659dbb253f6
[ "MIT" ]
1
2020-11-25T14:09:30.000Z
2020-11-25T14:09:30.000Z
/* Copyright (c) <2012>, <Georgia Institute of Technology> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions...
29.447514
95
0.63546
uwuser
16119af1d41acfc6f2b844d8848278e5436a4773
2,797
hpp
C++
lib/RdfQueryDB.hpp
ericprud/SWObjects
c2ceae74a9e20649dac84f1da1a4b0d2bd9ddce6
[ "MIT" ]
8
2015-06-29T17:17:37.000Z
2021-05-21T12:05:40.000Z
lib/RdfQueryDB.hpp
ericprud/SWObjects
c2ceae74a9e20649dac84f1da1a4b0d2bd9ddce6
[ "MIT" ]
2
2016-01-17T20:12:24.000Z
2016-12-20T20:32:52.000Z
lib/RdfQueryDB.hpp
ericprud/SWObjects
c2ceae74a9e20649dac84f1da1a4b0d2bd9ddce6
[ "MIT" ]
2
2015-04-08T19:12:02.000Z
2020-01-28T08:52:16.000Z
/* RdfQueryDB - sets of variable bindings and their proofs. * $Id: RdfQueryDB.hpp,v 1.4 2008-10-24 10:57:31 eric Exp $ */ #ifndef RDF_QUERY_DB_H #define RDF_QUERY_DB_H #include "RdfDB.hpp" namespace w3c_sw { class DBExpressor; class RdfQueryDB : public RdfDB { friend class DBExpressor; Operation* op; co...
41.746269
173
0.757955
ericprud
1611b660703dd36b1a4dbc45948d86aac7934211
4,498
hpp
C++
src/rest/connection.hpp
LuDuda/ot-br-posix
68ea812ac4ab590ab14cfa24ed88316a478b2ce4
[ "BSD-3-Clause" ]
null
null
null
src/rest/connection.hpp
LuDuda/ot-br-posix
68ea812ac4ab590ab14cfa24ed88316a478b2ce4
[ "BSD-3-Clause" ]
201
2021-04-03T11:33:49.000Z
2022-03-30T15:09:35.000Z
src/rest/connection.hpp
IHIDCHAOS/ot-br-posix
3fee4f3c7997b72c1b67e223962d30411c7e5d1c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
32.359712
117
0.710093
LuDuda
1618b550128137b262fa34e786a344b04e1d2a2c
4,842
cc
C++
simulation/src/EventAction.cc
ThorbenQuast/HGCal_TB_Geant4
5da74358e5c4495e14a7de1b92d60ee5015decb3
[ "MIT" ]
1
2021-02-18T05:40:51.000Z
2021-02-18T05:40:51.000Z
simulation/src/EventAction.cc
innonano/HGCal_TB_Geant4
9accdd0587b51f8bf34bd2e087c70c3e028c256e
[ "MIT" ]
null
null
null
simulation/src/EventAction.cc
innonano/HGCal_TB_Geant4
9accdd0587b51f8bf34bd2e087c70c3e028c256e
[ "MIT" ]
3
2018-11-05T20:12:04.000Z
2021-02-18T05:40:31.000Z
#include "EventAction.hh" #include "RunAction.hh" #include "G4Event.hh" #include "G4SDManager.hh" #include "G4RunManager.hh" #include "SiliconPixelHit.hh" #include "SiPMHit.hh" //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... EventAction::EventAction() : G4UserEventAction() { hitTi...
30.074534
87
0.686493
ThorbenQuast
161918df61a566882b454429ffa1fdb6d358aa49
110,081
hh
C++
pes.timed/proof.hh
jkeiren/TimeSolver
246d54d43a529c05eccdef4567700eef3b3b1a57
[ "MIT" ]
4
2018-12-19T14:30:27.000Z
2022-03-20T20:19:20.000Z
pes.timed/proof.hh
jkeiren/TimeSolver
246d54d43a529c05eccdef4567700eef3b3b1a57
[ "MIT" ]
null
null
null
pes.timed/proof.hh
jkeiren/TimeSolver
246d54d43a529c05eccdef4567700eef3b3b1a57
[ "MIT" ]
2
2019-04-24T03:18:20.000Z
2019-09-13T07:49:00.000Z
/** \file proof.hh * Proof-search implementation for timed-automata model checking, based on PESs. * @author Peter Fontana * @author Dezhuang Zhang * @author Rance Cleaveland * @author Jeroen Keiren * @copyright MIT Licence, see the accompanying LICENCE.txt */ #ifndef PROOF_HH #define PROOF_HH #include "cpplog...
40.102368
176
0.60669
jkeiren
161c3bd38812f910febb041729d9d9625ce01c7e
1,691
cpp
C++
454 Anagrams.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
454 Anagrams.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
454 Anagrams.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; bool lexicographic(const string& first, const string& second) { return lexicographical_compare(first.begin(), first.end(), second.begin(), second.end()); } const vector<int> letterBase(128, 0); vector<int> GetLette...
21.961039
93
0.506801
zihadboss
161f62d4974fb5139c4c207fb9e671488c9027bb
6,605
cc
C++
L1Trigger/DemonstratorTools/src/BoardDataReader.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
L1Trigger/DemonstratorTools/src/BoardDataReader.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
L1Trigger/DemonstratorTools/src/BoardDataReader.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
#include "L1Trigger/DemonstratorTools/interface/BoardDataReader.h" #include <fstream> #include "L1Trigger/DemonstratorTools/interface/Frame.h" #include "L1Trigger/DemonstratorTools/interface/utilities.h" namespace l1t::demo { BoardDataReader::BoardDataReader(FileFormat format, c...
44.033333
120
0.559576
PKUfudawei
1620a5c571e4917768bdcd5f87cfde02ae94a99c
2,461
cc
C++
src/storage/fs_test/sparse_large.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/storage/fs_test/sparse_large.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
5
2019-12-04T15:13:37.000Z
2020-02-19T08:11:38.000Z
src/storage/fs_test/sparse_large.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.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 <fcntl.h> #include <unistd.h> #include <vector> #include <fbl/unique_fd.h> #include "src/storage/fs_test/fs_test_fixture.h" #include "src/stora...
35.157143
94
0.71475
allansrc
1621b7ddaa1c3f98bf723935fc741fb89f7865e9
553
cpp
C++
examples/q13_timer/src/process/faucet.cpp
ubc333/library
069d68e822992950739661f5f7a7bdffe8d425d4
[ "MIT" ]
null
null
null
examples/q13_timer/src/process/faucet.cpp
ubc333/library
069d68e822992950739661f5f7a7bdffe8d425d4
[ "MIT" ]
null
null
null
examples/q13_timer/src/process/faucet.cpp
ubc333/library
069d68e822992950739661f5f7a7bdffe8d425d4
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <cpen333/process/event.h> int main(int argc, char* argv[]) { if (argc < 4) { std::cout << "Not enough arguments, needed 3: clock_event_name, id, # drips" << std::endl; return -1; } std::string event_name = argv[1]; int id = atoi(argv[2]); ...
23.041667
95
0.562387
ubc333
1623d803a0b5624191395b327caea77507001a89
299
cpp
C++
src/TCPIPNetworkStack/Internet/IPv6/IPv6Defragmenter.cpp
CreatePhotonW/packetator
0a54c1ee76e4e1e48384d705f0304ac03b8df7d2
[ "MIT" ]
2
2021-01-29T13:27:38.000Z
2021-02-10T15:56:31.000Z
src/TCPIPNetworkStack/Internet/IPv6/IPv6Defragmenter.cpp
CreatePhotonW/packetator
0a54c1ee76e4e1e48384d705f0304ac03b8df7d2
[ "MIT" ]
null
null
null
src/TCPIPNetworkStack/Internet/IPv6/IPv6Defragmenter.cpp
CreatePhotonW/packetator
0a54c1ee76e4e1e48384d705f0304ac03b8df7d2
[ "MIT" ]
null
null
null
#include "TCPIPNetworkStack/Internet/IPv6/IPv6Defragmenter.h" IPv6Defragmenter::IPv6Defragmenter() = default; void IPv6Defragmenter::ProcessPacket(Tins::Packet packet) { _packet_count++; // TODO: reassembly _datagram_count++; if (callback != nullptr) callback(packet); }
19.933333
61
0.715719
CreatePhotonW
16245580713b848e03268f06e9561df90057796d
493
cpp
C++
PrintedDocumentLinkingSystem/src/ContentExtractionModule/XMLExtraction/XMLExtractor.cpp
floschne/BachelorThesis
50f54e0ffbe9ec2a009f42f26e20403f1425a723
[ "Apache-2.0" ]
null
null
null
PrintedDocumentLinkingSystem/src/ContentExtractionModule/XMLExtraction/XMLExtractor.cpp
floschne/BachelorThesis
50f54e0ffbe9ec2a009f42f26e20403f1425a723
[ "Apache-2.0" ]
null
null
null
PrintedDocumentLinkingSystem/src/ContentExtractionModule/XMLExtraction/XMLExtractor.cpp
floschne/BachelorThesis
50f54e0ffbe9ec2a009f42f26e20403f1425a723
[ "Apache-2.0" ]
null
null
null
#include "XMLExtractor.h" #include "../../Datatypes/Content.h" #include <pugixml.hpp> namespace PDLS { Content* XMLExtractor::extractContent(Document* xmlDoc)throw(PDLSException) { pugi::xml_document doc; doc.load(*xmlDoc->getStream()); std::stringstream res; for(auto n : doc....
20.541667
81
0.616633
floschne
16256d643420b1409f162fbda6387fc24e5c7d59
632
hh
C++
source/fit/KBCurve.hh
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
3
2021-05-24T19:43:30.000Z
2022-01-06T21:03:23.000Z
source/fit/KBCurve.hh
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
4
2020-05-04T15:52:26.000Z
2021-09-13T10:51:03.000Z
source/fit/KBCurve.hh
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
3
2020-06-14T10:53:58.000Z
2022-01-06T21:03:30.000Z
#ifndef KBCURVE_HH #define KBCURVE_HH #include "TGraph.h" class KBCurve : public TGraph { public: KBCurve(); KBCurve(Int_t nPoints); virtual ~KBCurve() {}; void SetUnitLength(Double_t unitLength); Double_t GetUnitLength(); void SetTension(Double_t tension); Double_t GetTension(); ...
17.555556
64
0.681962
ggfdsa10
1625d579a73047472e7de0805adef62f4f4a9354
635
cc
C++
Code/1199-hexspeak.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
2
2019-12-06T14:08:57.000Z
2020-01-15T15:25:32.000Z
Code/1199-hexspeak.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
1
2020-01-15T16:29:16.000Z
2020-01-26T12:40:13.000Z
Code/1199-hexspeak.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
null
null
null
class Solution { public: string toHexspeak(string num) { long long llnum = stoll(num); string result = ""; while (true) { int n = llnum % 16; if (n == 0) { result = 'O' + result; } else if (n == 1) { result = 'I' + result; ...
25.4
38
0.344882
SMartQi
1626736a903aa1c38829e4091c7a02e8e79b0820
1,076
cc
C++
bft/libbyz/Data.cc
33cn/libbft-go
a0fdec7ca41de865de1056bf50a7ec1ce8e2c41b
[ "BSD-3-Clause" ]
2
2018-12-25T11:59:59.000Z
2019-02-12T01:30:41.000Z
bft/libbyz/Data.cc
33cn/libbft-go
a0fdec7ca41de865de1056bf50a7ec1ce8e2c41b
[ "BSD-3-Clause" ]
null
null
null
bft/libbyz/Data.cc
33cn/libbft-go
a0fdec7ca41de865de1056bf50a7ec1ce8e2c41b
[ "BSD-3-Clause" ]
3
2018-12-12T03:30:20.000Z
2020-12-10T13:53:33.000Z
#include <string.h> #include "th_assert.h" #include "Message_tags.h" #include "Data.h" #ifndef NO_STATE_TRANSLATION Data::Data(int i, Seqno lm, char *data, int totalsz, int chunkn) #else Data::Data(int i, Seqno lm, char *data) #endif : Message(Data_tag, sizeof(Data_rep)) { rep().index = i; rep().padding = 0; rep...
25.619048
64
0.670074
33cn
162d134f7db3456f3d73f91e3d43a5318628459f
1,578
hxx
C++
stdxx/matrix/matrix3op.hxx
JeneLitsch/stdxx
c83fedb802baf523b654b5c39ba03d3425902948
[ "MIT" ]
1
2022-03-08T10:14:38.000Z
2022-03-08T10:14:38.000Z
stdxx/matrix/matrix3op.hxx
JeneLitsch/stdxx
c83fedb802baf523b654b5c39ba03d3425902948
[ "MIT" ]
1
2022-03-11T11:43:31.000Z
2022-03-11T23:18:06.000Z
stdxx/matrix/matrix3op.hxx
JeneLitsch/stdxx
c83fedb802baf523b654b5c39ba03d3425902948
[ "MIT" ]
null
null
null
#pragma once #include "matrix3.hxx" namespace stx { template<typename T> std::ostream & operator<<(std::ostream & out, const matrix3<T> & m) { out << "["; for(std::size_t y = 0; y < 3; y++) { out << (y ? "|" : ""); for(std::size_t x = 0; x < 3; x++) { out << (x ? "," : "") << m(x,y); } } out << "...
21.324324
77
0.481622
JeneLitsch
162d46690fc654b4d7cde774d65c85ed797c068a
2,321
hpp
C++
test/tostring.hpp
magicmoremagic/bengine-texi
e7a6f476ccb85262db8958e39674bc9570956bbe
[ "MIT" ]
null
null
null
test/tostring.hpp
magicmoremagic/bengine-texi
e7a6f476ccb85262db8958e39674bc9570956bbe
[ "MIT" ]
null
null
null
test/tostring.hpp
magicmoremagic/bengine-texi
e7a6f476ccb85262db8958e39674bc9570956bbe
[ "MIT" ]
1
2022-02-19T08:08:21.000Z
2022-02-19T08:08:21.000Z
#pragma once #ifndef BE_GFX_CATCH_TOSTRING_HPP_ #define BE_GFX_CATCH_TOSTRING_HPP_ #include <glm/glm.hpp> #include <be/core/glm.hpp> #include <be/core/extents.hpp> #include <sstream> #include <iomanip> namespace Catch { inline std::string toString(const be::RGB& value) { std::ostringstream oss; oss << "rgb[ " ...
31.794521
138
0.570444
magicmoremagic
162ff519ae045b904d687bee4e303bfcf6f5ffcf
446
hpp
C++
include/mamap/arguments/properties/propertystring.hpp
JoshuaSBrown/MAMAP
0a50455dd6c75726046fc040b0834a9d3273c6eb
[ "MIT" ]
null
null
null
include/mamap/arguments/properties/propertystring.hpp
JoshuaSBrown/MAMAP
0a50455dd6c75726046fc040b0834a9d3273c6eb
[ "MIT" ]
null
null
null
include/mamap/arguments/properties/propertystring.hpp
JoshuaSBrown/MAMAP
0a50455dd6c75726046fc040b0834a9d3273c6eb
[ "MIT" ]
1
2020-12-10T05:18:17.000Z
2020-12-10T05:18:17.000Z
#ifndef _MAMAP_PROPERTY_STRING_HPP #define _MAMAP_PROPERTY_STRING_HPP #include "propertyobject.hpp" namespace mamap { class PropertyString : public PropertyObject { private: virtual PropertyType getPropertyType_(void) const noexcept final { return PropertyType::STRING; } public: PropertyString...
18.583333
70
0.755605
JoshuaSBrown
163023b64878b1def39ba7f149474ecab904cc5b
17,689
cc
C++
src/mod_spdy/common/thread_pool.cc
voku/mod-spdy
bcfb388cbc5415ee660c2b5dbcf61f6f43c2a5ca
[ "Apache-2.0" ]
null
null
null
src/mod_spdy/common/thread_pool.cc
voku/mod-spdy
bcfb388cbc5415ee660c2b5dbcf61f6f43c2a5ca
[ "Apache-2.0" ]
null
null
null
src/mod_spdy/common/thread_pool.cc
voku/mod-spdy
bcfb388cbc5415ee660c2b5dbcf61f6f43c2a5ca
[ "Apache-2.0" ]
null
null
null
// Copyright 2012 Google Inc. // // 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...
36.026477
79
0.707332
voku
16309c68162ae51f513dd3d7e0021c772f9adb72
65,341
cpp
C++
libraries/app/application.cpp
totalgames/playchain-core
f543df51d78dafca09c56fbb7b9912ad550a9404
[ "MIT" ]
1
2019-07-05T14:37:30.000Z
2019-07-05T14:37:30.000Z
libraries/app/application.cpp
totalgames/playchain-core
f543df51d78dafca09c56fbb7b9912ad550a9404
[ "MIT" ]
null
null
null
libraries/app/application.cpp
totalgames/playchain-core
f543df51d78dafca09c56fbb7b9912ad550a9404
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Total Games LLC and contributors. * * The MIT License * * 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 ri...
42.567427
173
0.653984
totalgames
1631d5b49717b76e414aa6d3c9dc96985c4fcff3
7,135
cpp
C++
main.cpp
pmackenz/WE-UQ
4054763a694e207f3b682660db4fe674ce83d9b5
[ "BSD-2-Clause" ]
null
null
null
main.cpp
pmackenz/WE-UQ
4054763a694e207f3b682660db4fe674ce83d9b5
[ "BSD-2-Clause" ]
null
null
null
main.cpp
pmackenz/WE-UQ
4054763a694e207f3b682660db4fe674ce83d9b5
[ "BSD-2-Clause" ]
null
null
null
// Written: fmckenna // Purpose: the typical Qt main for running a QMainWindow #include <MainWindowWorkflowApp.h> #include <QApplication> #include <QFile> #include <QThread> #include <QObject> #include <QDebug> #include <AgaveCurl.h> #include <WorkflowAppWE.h> #include <QTime> #include <QTextStream> #include <Googl...
29.004065
243
0.671479
pmackenz
163253d691d9e2ba6090e9c5b14f7ff95ed761af
3,271
cpp
C++
watchX/lib/BMP280/pressure.cpp
murataka/watchX
74fddc87d90af88197cb83ee7c8c4439330c9957
[ "Apache-2.0" ]
6
2018-06-29T04:34:57.000Z
2020-08-04T05:37:52.000Z
watchX/lib/BMP280/pressure.cpp
murataka/watchX
74fddc87d90af88197cb83ee7c8c4439330c9957
[ "Apache-2.0" ]
null
null
null
watchX/lib/BMP280/pressure.cpp
murataka/watchX
74fddc87d90af88197cb83ee7c8c4439330c9957
[ "Apache-2.0" ]
2
2018-06-22T23:08:14.000Z
2020-08-05T22:53:41.000Z
#include "pressure.h" #include <Wire.h> #define Addr 0x76 void getPressure(){ unsigned int b1[24]; unsigned int data[8]; for (int i = 0; i < 24; i++) { // Start I2C Transmission Wire.beginTransmission(Addr); // Select data register Wire.write((136 + i)); // Stop I2C Transmission Wire.e...
29.468468
113
0.580862
murataka
163474d01da8a5f8172bac0823c7232f4aee3967
969
cpp
C++
src/BehavioralDesignPatterns/Observer/observer.cpp
straceX/DesignPatterns
d35a5afb936deaf8cad5ea3899d70b38070f720a
[ "Apache-2.0" ]
null
null
null
src/BehavioralDesignPatterns/Observer/observer.cpp
straceX/DesignPatterns
d35a5afb936deaf8cad5ea3899d70b38070f720a
[ "Apache-2.0" ]
null
null
null
src/BehavioralDesignPatterns/Observer/observer.cpp
straceX/DesignPatterns
d35a5afb936deaf8cad5ea3899d70b38070f720a
[ "Apache-2.0" ]
null
null
null
#include "observer.h" #include <iostream> int Observer::m_currentId = 0; Observer::Observer(Observable &observable) : m_observable(observable) , m_id{++Observer::m_currentId} { m_observable.Attach(this); std::cout<< "New observer(" << m_id << ") is created.\n"; } Observer::~Observer() { std::cout<...
19.38
103
0.610939
straceX
16357609b78e8315152b0b14eb682f03da804cce
3,685
cpp
C++
MonoNative/mscorlib/System/Security/AccessControl/mscorlib_System_Security_AccessControl_DirectorySecurity.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative/mscorlib/System/Security/AccessControl/mscorlib_System_Security_AccessControl_DirectorySecurity.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative/mscorlib/System/Security/AccessControl/mscorlib_System_Security_AccessControl_DirectorySecurity.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
#include <mscorlib/System/Security/AccessControl/mscorlib_System_Security_AccessControl_DirectorySecurity.h> #include <mscorlib/System/mscorlib_System_Type.h> #include <mscorlib/System/Security/AccessControl/mscorlib_System_Security_AccessControl_AccessRule.h> #include <mscorlib/System/Security/Principal/mscorlib_Syste...
43.352941
194
0.766621
brunolauze
1635bc6a1f20d75f32923ac4ce1ec9c53a851c94
4,826
cpp
C++
cpp/InitWaveSeq.cpp
erwincoumans/wavest8_sdk
a90f9b0073f3819609d885d2d58892f5f4cb4554
[ "Apache-2.0" ]
2
2022-01-19T20:51:26.000Z
2022-01-20T05:18:53.000Z
cpp/InitWaveSeq.cpp
erwincoumans/wavest8_sdk
a90f9b0073f3819609d885d2d58892f5f4cb4554
[ "Apache-2.0" ]
null
null
null
cpp/InitWaveSeq.cpp
erwincoumans/wavest8_sdk
a90f9b0073f3819609d885d2d58892f5f4cb4554
[ "Apache-2.0" ]
null
null
null
/** * This file was generated by bin2cpp v2.3.0 * Copyright (C) 2013-2020 end2endzone.com. All rights reserved. * bin2cpp is open source software, see http://github.com/end2endzone/bin2cpp * Source code for file 'InitWaveSeq.bin', last modified 1611531155. * Do not modify this file. */ #if defined(_WIN32) && !def...
94.627451
579
0.675922
erwincoumans
16363101665f96a106508fd22e0d8c316daaf86d
40,694
cpp
C++
packages/monte_carlo/estimator/native/src/MonteCarlo_EstimatorHandlerFactory_Root.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/estimator/native/src/MonteCarlo_EstimatorHandlerFactory_Root.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/estimator/native/src/MonteCarlo_EstimatorHandlerFactory_Root.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_EstimatorHandlerFactory_Root.cpp //! \author Alex Robinson, Eli Moll //! \brief Estimator handler factory class declaration. //! //---------------------------------------------------------------------------// //...
34.544992
123
0.682189
lkersting
1637e16cb8999cea5171752f4d84d40e20ee7bd2
4,854
cpp
C++
RendererSamples/ImGuiRenderer.cpp
ousttrue/SubRenderer
ea6f44e48a69eb76516648ff85f7c9080b8f1332
[ "MIT" ]
null
null
null
RendererSamples/ImGuiRenderer.cpp
ousttrue/SubRenderer
ea6f44e48a69eb76516648ff85f7c9080b8f1332
[ "MIT" ]
null
null
null
RendererSamples/ImGuiRenderer.cpp
ousttrue/SubRenderer
ea6f44e48a69eb76516648ff85f7c9080b8f1332
[ "MIT" ]
null
null
null
#include "ImGuiRenderer.h" #include <imgui.h> #include <examples/directx11_example/imgui_impl_dx11.h> bool show_test_window = true; bool show_another_window = false; ImVec4 clear_col = ImColor(114, 144, 154); bool initialized = false; static void Custom_ImGui_ImplDX11_NewFrame(int width, int height, floa...
26.67033
248
0.651834
ousttrue
163a1138337075c8afaee4b4748147a85ed7185c
5,524
cc
C++
src/iv_misc/grid.cc
emer/pdpp
ccce243ae356dc5908cdd667419a7afd74cf22ad
[ "BSD-3-Clause" ]
null
null
null
src/iv_misc/grid.cc
emer/pdpp
ccce243ae356dc5908cdd667419a7afd74cf22ad
[ "BSD-3-Clause" ]
null
null
null
src/iv_misc/grid.cc
emer/pdpp
ccce243ae356dc5908cdd667419a7afd74cf22ad
[ "BSD-3-Clause" ]
null
null
null
/* -*- C++ -*- */ /*============================================================================= // // // This file is part of the TypeAccess/C-Super-Script software package. // // // // Copyright (C) 1995 Randall C. O'Reilly, Chadley K. Dawson, // // James L. McClellan...
32.880952
80
0.61097
emer
163a6e7527f717d8fe00b547b87a5d7c7ac998aa
9,783
cc
C++
packager/media/formats/mp2t/es_parser_audio.cc
MarcusWichelmann/shaka-packager
02ac2dfb3990403984c53275a983443bb520ebe1
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
packager/media/formats/mp2t/es_parser_audio.cc
MarcusWichelmann/shaka-packager
02ac2dfb3990403984c53275a983443bb520ebe1
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
packager/media/formats/mp2t/es_parser_audio.cc
MarcusWichelmann/shaka-packager
02ac2dfb3990403984c53275a983443bb520ebe1
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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 "packager/media/formats/mp2t/es_parser_audio.h" #include <stdint.h> #include <algorithm> #include <list> #include "packager/base/logging.h" #i...
35.966912
89
0.682102
MarcusWichelmann
163b1d2e6e32094a5f4fc7850b2e88ccaf0997e5
1,318
cpp
C++
examples/cpp/comm/event/event.cpp
grisharav/bond
db05b170c83f74d0ea561d109ea90ed63b13cfa6
[ "MIT" ]
null
null
null
examples/cpp/comm/event/event.cpp
grisharav/bond
db05b170c83f74d0ea561d109ea90ed63b13cfa6
[ "MIT" ]
null
null
null
examples/cpp/comm/event/event.cpp
grisharav/bond
db05b170c83f74d0ea561d109ea90ed63b13cfa6
[ "MIT" ]
null
null
null
// // This is an example of a service, that waits for events. // // Include auto-generated files. #include "event_reflection.h" #include "event_comm.h" // Include preferred transport #include <bond/comm/transport/epoxy.h> #include <future> using namespace examples::event; // Implement service class ServiceImpl :...
21.258065
65
0.672989
grisharav
163caf4ad8d57cca407fb92b0b1c859b6fdc95a7
17,511
hpp
C++
include/NUnit/Framework/Internal/TestSuite.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
23
2020-08-07T04:09:00.000Z
2022-03-31T22:10:29.000Z
include/NUnit/Framework/Internal/TestSuite.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
6
2021-09-29T23:47:31.000Z
2022-03-30T20:49:23.000Z
include/NUnit/Framework/Internal/TestSuite.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
17
2020-08-20T19:36:52.000Z
2022-03-30T18:28:24.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: NUnit.Framewor...
58.17608
247
0.730626
sc2ad
163cc95c6a97ea9b78a1919f26670e1fc8ae7228
115
cpp
C++
22-matrix/cpp/matrix.cpp
skaadin/learning-projects
977efa1eabab038566d57c455e649da8b440c7e9
[ "MIT" ]
143
2016-07-28T06:00:43.000Z
2022-03-30T14:08:50.000Z
22-matrix/cpp/matrix.cpp
skaadin/learning-projects
977efa1eabab038566d57c455e649da8b440c7e9
[ "MIT" ]
3
2017-11-28T10:09:52.000Z
2021-08-30T09:20:41.000Z
22-matrix/cpp/matrix.cpp
skaadin/learning-projects
977efa1eabab038566d57c455e649da8b440c7e9
[ "MIT" ]
24
2016-10-27T02:02:44.000Z
2022-02-06T07:37:07.000Z
#include "matrix.h" template<typename T> Matrix<T>::Matrix(unsigned _rows, unsigned _cols, const T& _initial) { }
19.166667
70
0.730435
skaadin
163f9a502544c4964749390feb397ba8a80596bf
2,047
hpp
C++
src/Instruction.hpp
zlin888/irispl
ee2228eb1155c4cffb906a327b7257fb1d360590
[ "MIT" ]
4
2020-04-01T05:45:30.000Z
2020-05-14T06:38:25.000Z
src/Instruction.hpp
zlin888/typed-scheme
ee2228eb1155c4cffb906a327b7257fb1d360590
[ "MIT" ]
null
null
null
src/Instruction.hpp
zlin888/typed-scheme
ee2228eb1155c4cffb906a327b7257fb1d360590
[ "MIT" ]
null
null
null
// // Created by Zhitao Lin on 2020/2/7. // #ifndef TYPED_SCHEME_INSTRUCTION_HPP #define TYPED_SCHEME_INSTRUCTION_HPP #include "Utils.hpp" #include "IrisObject.hpp" #include <string> #include <regex> enum class InstructionType { LABEL, COMMENT, INSTRUCTION }; typedef Type InstructionArgumentType; using namespa...
28.430556
105
0.66683
zlin888
164015c21310c532e9555386da829ef2916f23c7
1,027
cc
C++
nox/src/lib/errno_exception.cc
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
28
2015-02-04T13:59:25.000Z
2021-12-29T03:44:47.000Z
nox/src/lib/errno_exception.cc
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
552
2015-01-05T18:25:54.000Z
2022-03-16T18:51:13.000Z
nox/src/lib/errno_exception.cc
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
25
2015-02-04T18:48:20.000Z
2020-06-18T15:51:05.000Z
/* Copyright 2008 (C) Nicira, Inc. * * This file is part of NOX. * * NOX 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. * * N...
28.527778
71
0.700097
ayjazz
1640afc3d8a854e980f42485116468ee0af6b306
2,703
cc
C++
DataFormats/SiStripCommon/src/SiStripNullKey.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
DataFormats/SiStripCommon/src/SiStripNullKey.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
DataFormats/SiStripCommon/src/SiStripNullKey.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "DataFormats/SiStripCommon/interface/SiStripNullKey.h" #include "DataFormats/SiStripCommon/interface/SiStripEnumsAndStrings.h" #include <iomanip> // ----------------------------------------------------------------------------- // SiStripNullKey::SiStripNullKey() : SiStripKey() {;} // ----------------------...
30.715909
80
0.387717
nistefan
f37eb3020f4934146d3ad4cfa9d402c19d058026
11,557
cxx
C++
Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
2
2019-02-13T14:48:19.000Z
2019-12-03T02:54:28.000Z
Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
null
null
null
Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
2
2019-01-17T10:36:14.000Z
2019-12-03T02:54:36.000Z
/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
33.792398
136
0.652332
lfyater
f37ed7c34d6a0e5fa8dbf7eabe786acbdb52c244
12,168
cc
C++
src/crawler_robot_ros/src/teleop_crawler.cc
m-shimizu/Samples_Gazebo_ROS
54ecfc2d77dc8aacce010151593d1d08d04f7bce
[ "MIT" ]
5
2019-01-08T12:54:10.000Z
2022-02-18T10:08:22.000Z
src/crawler_robot_ros/src/teleop_crawler.cc
RoboCup-RSVRL/RoboCup2021RVRL_Demo
431e18505abf34353de526c2b4f5ad75046ea07e
[ "MIT" ]
2
2019-01-11T14:32:07.000Z
2020-01-17T10:20:08.000Z
src/crawler_robot_ros/src/teleop_crawler.cc
m-shimizu/Samples_Gazebo_ROS
54ecfc2d77dc8aacce010151593d1d08d04f7bce
[ "MIT" ]
2
2019-03-20T04:51:08.000Z
2020-06-22T06:32:16.000Z
//============================================================================= // This program is a modification of // $(find hector_quadrotor_teleop)/src/quadrotor_teleop.cpp // Editor : Masaru Shimizu // E-mail : shimizu@sist.chukyo-u.ac.jp // Updated : 25 Mar.2018 //=============================...
37.78882
123
0.623192
m-shimizu
f3813eda5d45461b4fce6371b7d3dc8edcdf9bcb
2,778
cpp
C++
service/src/multimodal_input_service.cpp
chaoyangcui/multimodalinput_input
0060202ec975464fc43f096a6b03c9a92a07c4f7
[ "Apache-2.0" ]
null
null
null
service/src/multimodal_input_service.cpp
chaoyangcui/multimodalinput_input
0060202ec975464fc43f096a6b03c9a92a07c4f7
[ "Apache-2.0" ]
null
null
null
service/src/multimodal_input_service.cpp
chaoyangcui/multimodalinput_input
0060202ec975464fc43f096a6b03c9a92a07c4f7
[ "Apache-2.0" ]
1
2021-09-13T12:08:16.000Z
2021-09-13T12:08:16.000Z
/* * Copyright (C) 2021 Huawei Device 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 law ...
28.639175
104
0.723902
chaoyangcui
f381d82ade9cf79577fc7f5f4381a32ff13f55af
18,359
cpp
C++
arangod/Aql/AqlItemBlock.cpp
specimen151/arangodb
1a3a31dace16293426a19364eb4d93c8f17c0d68
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
arangod/Aql/AqlItemBlock.cpp
specimen151/arangodb
1a3a31dace16293426a19364eb4d93c8f17c0d68
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
arangod/Aql/AqlItemBlock.cpp
specimen151/arangodb
1a3a31dace16293426a19364eb4d93c8f17c0d68
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 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...
31.382906
95
0.58086
specimen151
f384b0657b551edc4e39105903eb172c5201885c
1,145
cxx
C++
Modules/ThirdParty/GDCM/src/gdcm/Source/Common/gdcmDummyValueGenerator.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
945
2015-01-09T00:43:52.000Z
2022-03-30T08:23:02.000Z
Modules/ThirdParty/GDCM/src/gdcm/Source/Common/gdcmDummyValueGenerator.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
2,354
2015-02-04T21:54:21.000Z
2022-03-31T20:58:21.000Z
Modules/ThirdParty/GDCM/src/gdcm/Source/Common/gdcmDummyValueGenerator.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
566
2015-01-04T14:26:57.000Z
2022-03-18T20:33:18.000Z
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed WITHOUT A...
26.627907
78
0.611354
arobert01
f38a4ce750a6c250d04b2b4f5c22493b35d7f4df
4,480
cpp
C++
fem_ofv/src/FEM/boundarycondition.cpp
USArmyResearchLab/ARL_Topologies
2c0d3d806b34171c824705b3e1a00e12460c0930
[ "CC0-1.0" ]
19
2017-08-28T13:05:24.000Z
2021-12-10T00:19:16.000Z
fem_ofv/src/FEM/boundarycondition.cpp
USArmyResearchLab/ARL_Topologies
2c0d3d806b34171c824705b3e1a00e12460c0930
[ "CC0-1.0" ]
null
null
null
fem_ofv/src/FEM/boundarycondition.cpp
USArmyResearchLab/ARL_Topologies
2c0d3d806b34171c824705b3e1a00e12460c0930
[ "CC0-1.0" ]
7
2018-07-09T12:10:06.000Z
2021-09-25T18:57:41.000Z
/* * ARL_Topologies - An extensible topology optimization program * * Written in 2017 by Raymond A. Wildman <raymond.a.wildman.civ@mail.mil> * This project constitutes a work of the United States Government and is not * subject to domestic copyright protection under 17 USC Sec. 105. * Release authorized by the ...
26.19883
124
0.695089
USArmyResearchLab
f38c7428cc403ad2c6895dfc5acd40986d8d32a7
3,525
cpp
C++
src/connectivity/nrf_pipe.cpp
Niels-Post/cpp_mesh
2750d9e824bffd820d872f6e57dbadf6a1138246
[ "BSL-1.0" ]
null
null
null
src/connectivity/nrf_pipe.cpp
Niels-Post/cpp_mesh
2750d9e824bffd820d872f6e57dbadf6a1138246
[ "BSL-1.0" ]
null
null
null
src/connectivity/nrf_pipe.cpp
Niels-Post/cpp_mesh
2750d9e824bffd820d872f6e57dbadf6a1138246
[ "BSL-1.0" ]
null
null
null
/* * * Copyright Niels Post 2019. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * https://www.boost.org/LICENSE_1_0.txt) * */ #include <mesh/connectivity/nrf_pipe.hpp> using nrf24l01::nrf24l01plus; using std::array; using nrf24l01::NRF_REGISTER;...
32.943925
103
0.524255
Niels-Post
f38d423a97d7051a01745d126b68c304da972bae
820
cpp
C++
PyCommon/externalLibs/BaseLib/math/nr/cpp/recipes/ran3.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
PyCommon/externalLibs/BaseLib/math/nr/cpp/recipes/ran3.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
PyCommon/externalLibs/BaseLib/math/nr/cpp/recipes/ran3.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
1
2021-07-26T15:13:55.000Z
2021-07-26T15:13:55.000Z
#include <cstdlib> #include "nr.h" using namespace std; DP NR::ran3(int &idum) { static int inext,inextp; static int iff=0; const int MBIG=1000000000,MSEED=161803398,MZ=0; const DP FAC=(1.0/MBIG); static Vec_INT ma(56); int i,ii,k,mj,mk; if (idum < 0 || iff == 0) { iff=1; mj=labs(MSEED-labs(...
19.069767
49
0.509756
hpgit
f38e728136bd47738a2e51e2ed8c70a9b4871006
4,032
cpp
C++
src/Library/Lights/PointLight.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
1
2018-12-20T19:31:02.000Z
2018-12-20T19:31:02.000Z
src/Library/Lights/PointLight.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
src/Library/Lights/PointLight.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////// // // PointLight.cpp - Implementation of the PointLight class // // Author: Aravind Krishnaswamy // Date of Birth: November 23, 2001 // Tabs: 4 // Comments: // // License Information: Please see the attached LICENSE.TXT file // ///////////////...
25.518987
97
0.678075
aravindkrishnaswamy
f3908c189a183597f84f29fd60b95505608abae2
239
hpp
C++
include/zisa/math/cartesian.hpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
include/zisa/math/cartesian.hpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
include/zisa/math/cartesian.hpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
1
2021-08-24T11:52:51.000Z
2021-08-24T11:52:51.000Z
// SPDX-License-Identifier: MIT // Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval #ifndef CARTESIAN_H_RGB4Z #define CARTESIAN_H_RGB4Z #include "cartesian_decl.hpp" // #include "cartesian_impl.hpp" #endif /* end of include guard */
21.727273
54
0.757322
1uc
f391f07e4303fdbbcaadba774f6b92598f07f3a8
3,562
cc
C++
ui/gfx/win/direct_manipulation.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
ui/gfx/win/direct_manipulation.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
ui/gfx/win/direct_manipulation.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/gfx/win/direct_manipulation.h" #include "base/win/windows_version.h" namespace gfx { namespace win { // static std::unique_ptr<DirectManip...
30.186441
75
0.762212
google-ar
f3992765f2188b119c709ffe241124570f07fd1c
2,790
cxx
C++
src/larsonmiller.cxx
ajey091/neml
23dd2cdb83057fdd17a37fa19f4592c54f821dbf
[ "MIT" ]
6
2020-05-06T17:04:29.000Z
2021-08-03T20:02:22.000Z
src/larsonmiller.cxx
ajey091/neml
23dd2cdb83057fdd17a37fa19f4592c54f821dbf
[ "MIT" ]
66
2018-10-26T01:32:43.000Z
2022-02-01T03:02:18.000Z
src/larsonmiller.cxx
ajey091/neml
23dd2cdb83057fdd17a37fa19f4592c54f821dbf
[ "MIT" ]
14
2018-11-28T17:07:24.000Z
2022-01-06T16:57:15.000Z
#include "larsonmiller.h" #include "math/nemlmath.h" namespace neml { LarsonMillerRelation::LarsonMillerRelation(std::shared_ptr<Interpolate> fn, double C, double rtol, double atol, int miter, bool verbose, ...
24.690265
79
0.629032
ajey091
f39ac22754029ce4d7a7c67869625cd49f120de3
6,054
cpp
C++
BoomBoxSource.cpp
MatthewAlgo/AlienInvadersRetro
fd158d2fcc1765917e8e21ce52467a0776086eba
[ "BSD-4-Clause" ]
null
null
null
BoomBoxSource.cpp
MatthewAlgo/AlienInvadersRetro
fd158d2fcc1765917e8e21ce52467a0776086eba
[ "BSD-4-Clause" ]
null
null
null
BoomBoxSource.cpp
MatthewAlgo/AlienInvadersRetro
fd158d2fcc1765917e8e21ce52467a0776086eba
[ "BSD-4-Clause" ]
null
null
null
#include "BoomBox.h" // Static variable compilation bool MatthewsNamespace::BoomBox::IS_SOUND_ENABLED = 1; bool MatthewsNamespace::BoomBox::IS_MUSIC_ENABLED = 1; int MatthewsNamespace::BoomBox::BOOMBOX_INSTANCES = 0; std::unique_ptr<MatthewsNamespace::BoomBox::DJ> MatthewsNamespace::BoomBox::LocalDJ = std::make_uniqu...
42.041667
161
0.712587
MatthewAlgo
f39b386621000227146d97e26b37e3345670db71
6,513
cpp
C++
src/app-output-model.cpp
mattbucknall/font2c
8823ae1c441217c1ea18c506899e88be24682778
[ "0BSD" ]
null
null
null
src/app-output-model.cpp
mattbucknall/font2c
8823ae1c441217c1ea18c506899e88be24682778
[ "0BSD" ]
null
null
null
src/app-output-model.cpp
mattbucknall/font2c
8823ae1c441217c1ea18c506899e88be24682778
[ "0BSD" ]
null
null
null
/* * font2c - Command-line utility for converting font glyphs into bitmap images * embeddable in C source code. * * https://github.com/mattbucknall/font2c * * Copyright (C) 2022 Matthew T. Bucknall * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is her...
30.577465
111
0.589283
mattbucknall
f39badab9c1be08f0b51d335f9e89d4b6c088d84
732
hpp
C++
ad_map_access/src/route/RouteOperationPrivate.hpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
61
2019-12-19T20:57:24.000Z
2022-03-29T15:20:51.000Z
ad_map_access/src/route/RouteOperationPrivate.hpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
54
2020-04-05T05:32:47.000Z
2022-03-15T18:42:33.000Z
ad_map_access/src/route/RouteOperationPrivate.hpp
woojinjjang/map-1
d12bb410f03d078a995130b4e671746ace8b6287
[ "MIT" ]
31
2019-12-20T07:37:39.000Z
2022-03-16T13:06:16.000Z
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (C) 2020-2021 Intel Corporation // // SPDX-License-Identifier: MIT // // ----------------- END LICENSE BLOCK ----------------------------------- #pragma once #include "ad/map/lane/Types.hpp" #include "ad/map/route/Types.hpp" n...
29.28
105
0.655738
woojinjjang
f39e21c4ebcc78cf092f4701da78ec1716fab61d
306
cpp
C++
SWUST OJ/Mincost0021.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
SWUST OJ/Mincost0021.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
SWUST OJ/Mincost0021.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int n; double cost; while(cin>>n) { cost=0; if(n==0) break; while(n>=13) { n-=8; cost+=18; } if(n<=4) cost+=10; if(n>4&&n<=8) cost+=10+(n-4)*2; if(n>8) cost+=18+(n-8)*2.4; cout<<cost<<endl; } return 0; }
11.333333
23
0.493464
windcry1
f3a0a846bb5ea5754b7a0c0aa7630ac4c19aa1e7
74
cpp
C++
src/Main.cpp
ArrowganceStudios/Gladiators-of-Nyquistborgh
753be76066dff0e2ad2db540babd91dd1462c545
[ "Apache-2.0" ]
null
null
null
src/Main.cpp
ArrowganceStudios/Gladiators-of-Nyquistborgh
753be76066dff0e2ad2db540babd91dd1462c545
[ "Apache-2.0" ]
null
null
null
src/Main.cpp
ArrowganceStudios/Gladiators-of-Nyquistborgh
753be76066dff0e2ad2db540babd91dd1462c545
[ "Apache-2.0" ]
null
null
null
#include "Core.h" int main(void) { Core core; core.Run(); return 0; }
8.222222
17
0.608108
ArrowganceStudios
f3a2e4b8cfda9db61192f49680bbbff61180175c
7,273
cpp
C++
library/src/blas1/rocblas_axpy_strided_batched.cpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
null
null
null
library/src/blas1/rocblas_axpy_strided_batched.cpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
null
null
null
library/src/blas1/rocblas_axpy_strided_batched.cpp
zjunweihit/rocBLAS
c8bda2d15a7772d810810492ebed616eec0959a5
[ "MIT" ]
null
null
null
/* ************************************************************************ * Copyright 2016-2019 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "rocblas_axpy_strided_batched.hpp" #include "logging.h" namespace { template <typename> conste...
39.527174
97
0.348824
zjunweihit
f3a47c6dfad18480ead9ba1530ba53b0536f859b
7,029
cpp
C++
tests/benchmark.cpp
MateusMP/TightECS
2abc21bd40496814c3a8460c406b57a1a78bd78d
[ "MIT" ]
null
null
null
tests/benchmark.cpp
MateusMP/TightECS
2abc21bd40496814c3a8460c406b57a1a78bd78d
[ "MIT" ]
null
null
null
tests/benchmark.cpp
MateusMP/TightECS
2abc21bd40496814c3a8460c406b57a1a78bd78d
[ "MIT" ]
null
null
null
#include <iostream> #include <chrono> #include <string_view> #include "catch2/catch.hpp" #define TECS_LOG_ERROR(message) std::cout << message << std::endl; #define TECS_ASSERT(expr, message) REQUIRE(expr) #include <tecs/tecs.h> #define MEGABYTES(bytes) 1024 * 1024 * (double)bytes class Timer { typedef std::chr...
27.892857
88
0.596529
MateusMP
f3a4d651405c54ce59e6cd1dd7db2f9079ec058b
1,558
cpp
C++
SDK/ARKSurvivalEvolved_CannonMuzzleFlashEmitter_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_CannonMuzzleFlashEmitter_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_CannonMuzzleFlashEmitter_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_CannonMuzzleFlashEmitter_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //---------------------------------------------------------...
27.333333
155
0.716945
2bite
f3a95f1f90f8f927e4be4d353a4310e8b2270628
2,594
cpp
C++
rmf_task/src/rmf_task/InvariantHeuristicQueue.cpp
winnerineast/rmf_core
de589e96a3ca4301dc7ec5538cdb8da84baa82ce
[ "Apache-2.0" ]
109
2019-10-31T02:02:50.000Z
2022-03-30T04:42:19.000Z
rmf_task/src/rmf_task/InvariantHeuristicQueue.cpp
winnerineast/rmf_core
de589e96a3ca4301dc7ec5538cdb8da84baa82ce
[ "Apache-2.0" ]
155
2019-11-15T04:43:31.000Z
2021-04-22T09:45:32.000Z
rmf_task/src/rmf_task/InvariantHeuristicQueue.cpp
winnerineast/rmf_core
de589e96a3ca4301dc7ec5538cdb8da84baa82ce
[ "Apache-2.0" ]
51
2019-10-31T11:30:34.000Z
2022-01-27T03:07:01.000Z
/* * Copyright (C) 2021 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
31.634146
87
0.638396
winnerineast
f3ad4241486ead3d1bd43ec06a52c44e528fc940
2,307
hpp
C++
engine/gems/composite/part_ref.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
engine/gems/composite/part_ref.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
engine/gems/composite/part_ref.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-07-02T11:51:17.000Z
2020-07-02T11:51:17.000Z
/* Copyright (c) 2019, 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...
24.542553
89
0.727352
stereoboy
f3ae6222b0e2a760eb5af4abf5431c9d0de2a3a1
31,931
cpp
C++
code/components/ros-patches-five/src/SCUIStub.cpp
liquiad/fivem
36e943be678cd8b677b8c0a32831ccf592d2e84d
[ "MIT" ]
null
null
null
code/components/ros-patches-five/src/SCUIStub.cpp
liquiad/fivem
36e943be678cd8b677b8c0a32831ccf592d2e84d
[ "MIT" ]
null
null
null
code/components/ros-patches-five/src/SCUIStub.cpp
liquiad/fivem
36e943be678cd8b677b8c0a32831ccf592d2e84d
[ "MIT" ]
null
null
null
/* * 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 <ros/EndpointMapper.h> #include <fstream> #include <cpr/cpr.h> #include "base64.h" #include <botan/botan.h> #i...
31.614851
241
0.619805
liquiad
f3b1489269e8bd438d5c8da7c260fa8ac1d55d51
2,165
hpp
C++
alpaka/test/unit/math/src/Defines.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
6
2021-02-01T09:01:39.000Z
2021-11-14T17:09:03.000Z
alpaka/test/unit/math/src/Defines.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
17
2020-11-09T14:13:50.000Z
2021-11-03T11:54:54.000Z
alpaka/test/unit/math/src/Defines.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
null
null
null
/** Copyright 2019 Jakob Krude, Benjamin Worpitz * * This file is part of alpaka. * * 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 http://mozilla.org/MPL/2.0/. */ #pragma once #include <cm...
30.492958
117
0.455427
alpaka-group
f3b1ab508b6600f27ff7b25ec38b851a4d0af170
868
cpp
C++
packages/nextalign/src/translate/translate.cpp
Centralize/nextclade
22115d497a877369f1e8b765e80ddc68cbbca65f
[ "MIT" ]
null
null
null
packages/nextalign/src/translate/translate.cpp
Centralize/nextclade
22115d497a877369f1e8b765e80ddc68cbbca65f
[ "MIT" ]
null
null
null
packages/nextalign/src/translate/translate.cpp
Centralize/nextclade
22115d497a877369f1e8b765e80ddc68cbbca65f
[ "MIT" ]
null
null
null
#include "translate.h" #include <nextalign/nextalign.h> #include <common/contract.h> #include "../utils/safe_cast.h" #include "decode.h" AminoacidSequence translate(const NucleotideSequenceView& seq, bool translatePastStop /* = false */) { const int seqLength = safe_cast<int>(seq.size()); // NOTE: rounds the r...
25.529412
102
0.686636
Centralize
f3b224f34fdcdac455d84b7699f1eafc88c52504
1,645
cpp
C++
src/lib/cpp/jsontest.cpp
chetmurthy/thrift-nicejson
3ce7a84af55591be4388f93c095032d739ee3917
[ "Apache-2.0" ]
8
2017-11-14T13:22:09.000Z
2020-07-30T02:33:18.000Z
src/lib/cpp/jsontest.cpp
chetmurthy/thrift-nicejson
3ce7a84af55591be4388f93c095032d739ee3917
[ "Apache-2.0" ]
null
null
null
src/lib/cpp/jsontest.cpp
chetmurthy/thrift-nicejson
3ce7a84af55591be4388f93c095032d739ee3917
[ "Apache-2.0" ]
3
2017-11-18T10:53:10.000Z
2018-01-16T20:11:28.000Z
#include <list> #include <boost/smart_ptr.hpp> #include "gtest/gtest.h" #include "json.hpp" using boost::shared_ptr; using std::cout; using std::endl; using std::string; using std::map; using std::list; using std::set; using nlohmann::json; TEST( JSON, ParseEmpty ) { json j = "{}"_json ; ASSERT_TRUE( j.empty()...
18.076923
83
0.604863
chetmurthy
f3b35fed327d513a5ff0cee3ee6fb3189528158e
31,063
cc
C++
test/core/iomgr/resource_quota_test.cc
benjaminp/grpc
dfb1a0f20624417bff408a14b12a23713085b999
[ "Apache-2.0" ]
59
2019-06-28T03:07:42.000Z
2022-03-11T23:09:34.000Z
test/core/iomgr/resource_quota_test.cc
benjaminp/grpc
dfb1a0f20624417bff408a14b12a23713085b999
[ "Apache-2.0" ]
5
2019-07-31T01:49:08.000Z
2021-05-08T02:44:21.000Z
test/core/iomgr/resource_quota_test.cc
dinara92/grpc
53d82af98c2ac243c45ac28c57062273d03cd9dd
[ "Apache-2.0" ]
29
2019-06-12T03:22:18.000Z
2022-03-03T16:47:28.000Z
/* * * Copyright 2016 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
33.401075
82
0.711747
benjaminp
f3b363767bf31e84477c936caa92f14fde7d5b17
1,257
cpp
C++
DOJ/#271.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
null
null
null
DOJ/#271.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
1
2021-11-18T15:10:29.000Z
2021-11-20T07:13:31.000Z
DOJ/#271.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
null
null
null
/* * @author Nickel_Angel (1239004072@qq.com) * @copyright Copyright (c) 2022 */ #include <algorithm> #include <cstdio> #include <cstring> int n, m, a[1010], w[1010], par[1010], rev[1010], dfn[1010], R[1010], timer; int head[1010], to[1010], next[1010], tot, f[1010][10010]; inline void add_edge(int u, int v) { t...
21.305085
81
0.411297
Nickel-Angel
f3b5fb6f88458c8a229810cf99d346f38a1abfa5
1,389
cc
C++
courses/algos/main_project/balgosrbkw/02-sorting/tdmergesort/utest_balgosrbkw_02_tdmergesort/ref_balgosrbkw_02_tdmergesort.cc
obs145628/ml-notebooks
08a64962e106ec569039ab204a7ae4c900783b6b
[ "MIT" ]
1
2020-10-29T11:26:00.000Z
2020-10-29T11:26:00.000Z
courses/algos/main_project/balgosrbkw/02-sorting/quicksort/utest_balgosrbkw_02_quicksort/ref_balgosrbkw_02_quicksort.cc
obs145628/ml-notebooks
08a64962e106ec569039ab204a7ae4c900783b6b
[ "MIT" ]
5
2021-03-18T21:33:45.000Z
2022-03-11T23:34:50.000Z
courses/algos/main_project/balgosrbkw/02-sorting/insertionsort/utest_balgosrbkw_02_insertionsort/ref_balgosrbkw_02_insertionsort.cc
obs145628/ml-notebooks
08a64962e106ec569039ab204a7ae4c900783b6b
[ "MIT" ]
1
2019-12-23T21:50:02.000Z
2019-12-23T21:50:02.000Z
#include <algorithm> #include <cstdint> #include <iostream> #include <vector> class RNG { public: RNG(std::int32_t seed) : _next(seed) {} std::int32_t next() { _next = _next * 1103515245 + 12345; return (_next / 65536) % 32768; } private: std::int32_t _next; }; void print_arr(const std::vector<int> ...
17.582278
53
0.539237
obs145628
f3b64ac84ec5dcd85864d94d6ac86c99cf5ee60a
277
cpp
C++
src/win32/rawdll.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
1
2019-02-13T15:39:56.000Z
2019-02-13T15:39:56.000Z
src/win32/rawdll.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
null
null
null
src/win32/rawdll.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
2
2017-11-09T12:06:41.000Z
2019-02-13T15:40:02.000Z
#include "vixen.h" using namespace Vixen; extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID) { switch (dwReason) { case DLL_PROCESS_ATTACH: World::Startup(); break; case DLL_PROCESS_DETACH: World::Shutdown(); break; } return TRUE; }
14.578947
75
0.707581
Caprica666
f3b8925e94078bbee1a8cccbfafc45cf29b90833
2,528
cpp
C++
Source/core/fetch/DocumentResource.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Source/core/fetch/DocumentResource.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/core/fetch/DocumentResource.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
/* Copyright (C) 2010 Rob Buis <rwlbuis@gmail.com> Copyright (C) 2011 Cosmin Truta <ctruta@gmail.com> Copyright (C) 2012 University of Szeged Copyright (C) 2012 Renata Hodovan <reni@webkit.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Li...
31.209877
105
0.716377
quanganh2627
f3ba6502ac1ae470689769379110d397b47903da
12,489
cpp
C++
extras/Projucer/Source/Project/UI/jucer_HeaderComponent.cpp
sukoi26/JUCE
e3233ae230ac0c13f73ee2d08bd8f2c9b12c4b19
[ "ISC", "Unlicense" ]
1
2016-08-15T14:11:21.000Z
2016-08-15T14:11:21.000Z
extras/Projucer/Source/Project/UI/jucer_HeaderComponent.cpp
sukoi26/JUCE
e3233ae230ac0c13f73ee2d08bd8f2c9b12c4b19
[ "ISC", "Unlicense" ]
4
2019-02-11T11:52:13.000Z
2020-10-09T06:39:18.000Z
extras/Projucer/Source/Project/UI/jucer_HeaderComponent.cpp
sukoi26/JUCE
e3233ae230ac0c13f73ee2d08bd8f2c9b12c4b19
[ "ISC", "Unlicense" ]
null
null
null
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the JUCE 5 End...
31.69797
118
0.601409
sukoi26
f3bc3d85cca6953aa2fdb72863e5fa5e0f7b49ae
406
cpp
C++
12/1252. Cells with Odd Values in a Matrix.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
12/1252. Cells with Odd Values in a Matrix.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
1
2021-12-25T10:33:23.000Z
2022-02-16T00:34:05.000Z
12/1252. Cells with Odd Values in a Matrix.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
class Solution { public: int oddCells(int n, int m, vector<vector<int>>& indices) { vector<char> row(n), col(m); for(auto &p : indices) { row[p[0]] ^= 1; col[p[1]] ^= 1; } int odd_row = count(row.begin(), row.end(), 1); int odd_col = count(col.begin(),...
29
62
0.480296
eagleoflqj
f3bd4cc65abe5ab8574c58d5683e5480c27636ee
4,358
hpp
C++
modules/boost/simd/base/include/boost/simd/swar/functions/simd/sse/ssse3/lookup.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/base/include/boost/simd/swar/functions/simd/sse/ssse3/lookup.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/swar/functions/simd/sse/ssse3/lookup.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // Se...
37.568966
83
0.465351
psiha
f3bd882b23304c981cc8597b8a54a839997c3928
1,776
cpp
C++
src/OpenLoco/GameCommands/ChangeLoan.cpp
JimmyAllnighter/OpenLoco
dda8245be39a033db5cadfa455f1679a3f24ff24
[ "MIT" ]
180
2018-01-18T07:56:44.000Z
2019-02-18T21:33:45.000Z
src/OpenLoco/GameCommands/ChangeLoan.cpp
JimmyAllnighter/OpenLoco
dda8245be39a033db5cadfa455f1679a3f24ff24
[ "MIT" ]
186
2018-01-18T13:17:58.000Z
2019-02-10T12:28:35.000Z
src/OpenLoco/GameCommands/ChangeLoan.cpp
JimmyAllnighter/OpenLoco
dda8245be39a033db5cadfa455f1679a3f24ff24
[ "MIT" ]
35
2018-01-18T12:38:26.000Z
2018-11-14T16:01:32.000Z
#include "../CompanyManager.h" #include "../Economy/Economy.h" #include "../Localisation/StringIds.h" #include "../Ui/WindowManager.h" #include "GameCommands.h" using namespace OpenLoco::Interop; namespace OpenLoco::GameCommands { // 0x0046DE88 static uint32_t changeLoan(const currency32_t newLoan, const uint...
31.714286
130
0.608108
JimmyAllnighter
f3c03b0daea9ca0d5c3e8d5fbc08a11e39101eb5
1,046
hpp
C++
llog/loggable.hpp
Roslaniec/LLog
b75930e137a90f12fa9b5ade2b998e27d2da81ec
[ "MIT" ]
2
2020-07-24T18:23:14.000Z
2021-05-02T10:42:51.000Z
llog/loggable.hpp
Roslaniec/LLog
b75930e137a90f12fa9b5ade2b998e27d2da81ec
[ "MIT" ]
null
null
null
llog/loggable.hpp
Roslaniec/LLog
b75930e137a90f12fa9b5ade2b998e27d2da81ec
[ "MIT" ]
2
2018-04-04T13:54:56.000Z
2019-08-28T20:33:59.000Z
// // Copyright (C) 2013 Karol Roslaniec <llog@roslaniec.net> // #ifndef LINKO_LOGGABLE_HPP #define LINKO_LOGGABLE_HPP #include "logger.hpp" #include "loglevel.hpp" /* * Normally Log instances are created for each thread. * Loggable/Logger classes create Log instance for a single object (module). * Motivation fo...
16.34375
76
0.623327
Roslaniec
f3c0531d6ea7fcb8eeb8ca82263e885c8b03a7f3
1,111
cpp
C++
core/runtime/binaryen/runtime_api/metadata_impl.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
core/runtime/binaryen/runtime_api/metadata_impl.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
core/runtime/binaryen/runtime_api/metadata_impl.cpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "runtime/binaryen/runtime_api/metadata_impl.hpp" namespace kagome::runtime::binaryen { using primitives::OpaqueMetadata; MetadataImpl::MetadataImpl( const std::shared_ptr<RuntimeEnvironmentFactory>...
34.71875
79
0.718272
igor-egorov
f3c0a2cbc650e5c716712de1cb017692c0a04821
11,848
cpp
C++
src/GeepGLFW/Program.cpp
NTForked/EncinoWaves
b7db46962e8405e2c7fb91b3eb7fda03d78489d4
[ "Apache-2.0" ]
64
2015-08-08T08:53:03.000Z
2022-03-09T15:45:21.000Z
src/GeepGLFW/Program.cpp
NTForked/EncinoWaves
b7db46962e8405e2c7fb91b3eb7fda03d78489d4
[ "Apache-2.0" ]
1
2018-10-10T18:50:26.000Z
2018-10-10T18:50:26.000Z
src/GeepGLFW/Program.cpp
NTForked/EncinoWaves
b7db46962e8405e2c7fb91b3eb7fda03d78489d4
[ "Apache-2.0" ]
15
2015-08-09T02:40:15.000Z
2021-08-11T19:39:29.000Z
//-***************************************************************************** // Copyright 2015 Christopher Jon Horvath // // 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:/...
32.460274
80
0.491222
NTForked
f3c51551c8b30ae7dfe299ad87002fdbcc97fc3c
3,196
cpp
C++
examples/lowlevel/benchmark_getifaddrs.cpp
hrissan/crablib
db86e5f52acddcc233aec755d5fce0e6f19c0e21
[ "MIT" ]
3
2020-02-13T02:08:06.000Z
2020-10-06T16:26:30.000Z
examples/lowlevel/benchmark_getifaddrs.cpp
hrissan/crablib
db86e5f52acddcc233aec755d5fce0e6f19c0e21
[ "MIT" ]
null
null
null
examples/lowlevel/benchmark_getifaddrs.cpp
hrissan/crablib
db86e5f52acddcc233aec755d5fce0e6f19c0e21
[ "MIT" ]
null
null
null
// Copyright (c) 2007-2020, Grigory Buteyko aka Hrissan // Licensed under the MIT License. See LICENSE for details. // This code is based on work of https://gist.github.com/alessandro40/7e24df0a17803b71bbdf // Answers the following question - will filling UDP buffer return EAGAIN from sendto (expected, allows 100% ch...
29.321101
116
0.679599
hrissan
f3c5f81232eb38082840ecd07c68c968f9ba8695
7,067
cxx
C++
Interaction/Widgets/vtkFocalPlanePointPlacer.cxx
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
1,755
2015-01-03T06:55:00.000Z
2022-03-29T05:23:26.000Z
Interaction/Widgets/vtkFocalPlanePointPlacer.cxx
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
29
2015-04-23T20:58:30.000Z
2022-03-02T16:16:42.000Z
Interaction/Widgets/vtkFocalPlanePointPlacer.cxx
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
1,044
2015-01-05T22:48:27.000Z
2022-03-31T02:38:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkFocalPlanePointPlacer.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This ...
31.269912
100
0.583982
txwhhny
f3c65e7468e0d1f8f310d28b0e886dea7dc03105
17,957
cpp
C++
SkiaRender/skia-lib/src/svg/SkSVGPaintState.cpp
isuhao/BaijieCppUILibs
7771f225d854c69bc129d983cfcb10d672e1eacd
[ "BSD-3-Clause" ]
10
2015-02-16T03:19:55.000Z
2021-06-16T04:33:37.000Z
src/svg/SkSVGPaintState.cpp
blackberry/Skia
a55319dfb35814b1d7be4540646891332eac9727
[ "Apache-2.0" ]
null
null
null
src/svg/SkSVGPaintState.cpp
blackberry/Skia
a55319dfb35814b1d7be4540646891332eac9727
[ "Apache-2.0" ]
13
2015-02-10T15:02:31.000Z
2021-05-25T09:29:03.000Z
/* libs/graphics/svg/SkSVGPaintState.cpp ** ** Copyright 2006, The Android Open Source Project ** ** 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/...
38.700431
117
0.540402
isuhao
f3c6775f5eab65a6af72d8dcff35cf7e8e6b6db6
23,694
cpp
C++
third_party/WebKit/Source/core/frame/Deprecation.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/frame/Deprecation.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/frame/Deprecation.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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 "core/frame/Deprecation.h" #include "core/dom/Document.h" #include "core/dom/ExecutionContext.h" #include "core/frame/FrameConsole.h" #include "...
42.5386
80
0.68912
metux
f3c93c6424c0d7a9d2e2bacf0931bea7c7b022bb
774
cpp
C++
src/ct_common/common/tuplepool.cpp
xxyzzzq/ct_common
d28dd4362e97dff67fe68c512d6160be285bb05d
[ "MIT" ]
2
2019-03-25T04:13:38.000Z
2021-06-09T05:59:36.000Z
src/ct_common/common/tuplepool.cpp
xxyzzzq/ct_common
d28dd4362e97dff67fe68c512d6160be285bb05d
[ "MIT" ]
null
null
null
src/ct_common/common/tuplepool.cpp
xxyzzzq/ct_common
d28dd4362e97dff67fe68c512d6160be285bb05d
[ "MIT" ]
1
2015-06-15T09:13:22.000Z
2015-06-15T09:13:22.000Z
// Copyright 2016 ct_common authors. See LICENSE file for details. #include "ct_common/common/tuplepool.h" namespace ct_common { namespace { template <class T> inline void hash_combine(std::size_t seed, const T& v) { std::hash<T> hasher; seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } } // anony...
22.114286
66
0.693798
xxyzzzq
f3c95dffd86a521d8dce4feba0b605c45172b597
2,966
cpp
C++
dev/Code/Sandbox/Plugins/MaglevControlPanel/MaglevControlPanelPlugin.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
8
2019-10-07T16:33:47.000Z
2020-12-07T03:59:58.000Z
dev/Code/Sandbox/Plugins/MaglevControlPanel/MaglevControlPanelPlugin.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
dev/Code/Sandbox/Plugins/MaglevControlPanel/MaglevControlPanelPlugin.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
5
2020-08-27T20:44:18.000Z
2021-08-21T22:54:11.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
37.544304
207
0.770735
jeikabu
f3c9e0a5022d518ba0ef07fa434a77d918890c9d
183
hh
C++
include/ftk/numeric/swap.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
19
2018-11-01T02:15:17.000Z
2022-03-28T16:55:00.000Z
include/ftk/numeric/swap.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
12
2019-04-14T12:49:41.000Z
2021-10-20T03:59:21.000Z
include/ftk/numeric/swap.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
9
2019-02-08T19:40:46.000Z
2021-06-15T00:31:09.000Z
#ifndef _FTK_SWAP_HH #define _FTK_SWAP_HH #include <ftk/config.hh> template <typename T> __device__ __host__ inline void swap_helper(T& a, T& b) { T c(a); a = b; b = c; } #endif
13.071429
35
0.688525
hguo
f3cdb83991c26672aeb097a3c65d862867469b00
1,306
cpp
C++
Source/KEngine/src/KEngine/Entity/Entity.cpp
yxbh/KEngine
04d2aced738984f53bf1b2b84b49fbbabfbe6587
[ "Zlib" ]
1
2020-05-29T03:30:08.000Z
2020-05-29T03:30:08.000Z
Source/KEngine/src/KEngine/Entity/Entity.cpp
yxbh/KEngine
04d2aced738984f53bf1b2b84b49fbbabfbe6587
[ "Zlib" ]
null
null
null
Source/KEngine/src/KEngine/Entity/Entity.cpp
yxbh/KEngine
04d2aced738984f53bf1b2b84b49fbbabfbe6587
[ "Zlib" ]
null
null
null
#include <KEngine/Entity/Entity.hpp> #include <KEngine/Entity/EntityComponentID.hpp> #include <KEngine/Entity/IEntityComponent.hpp> #include <cassert> namespace ke { Entity::Entity(const ke::EntityID p_ID) : m_EntityID(p_ID) {} Entity::Entity(ke::Entity && p_rrEntity) : m_ComponentSPMap(std::move(p_rrEntit...
27.208333
115
0.712098
yxbh
f3d0c593a011efd7e0ed5b39f86887836f18da67
1,166
cpp
C++
LeetCode/107_Binary_Tree_Level_Order_Traversal_II/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
1
2020-07-08T23:16:19.000Z
2020-07-08T23:16:19.000Z
LeetCode/107_Binary_Tree_Level_Order_Traversal_II/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
1
2020-05-16T03:12:24.000Z
2020-05-16T03:14:42.000Z
LeetCode/107_Binary_Tree_Level_Order_Traversal_II/main.cpp
sungmen/Acmicpc_Solve
0298a6aec84993a4d8767bd2c00490b7201e06a4
[ "MIT" ]
2
2020-05-16T03:25:16.000Z
2021-02-10T16:51:25.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
26.5
93
0.483705
sungmen
f3d138a0c233bb7ae6d56da60ceeb78fcfaa0298
896
hpp
C++
libs/scenic/include/sge/scenic/render_context/manager_base.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/scenic/include/sge/scenic/render_context/manager_base.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/scenic/include/sge/scenic/render_context/manager_base.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_SCENIC_RENDER_CONTEXT_MANAGER_BASE_HPP_INCLUDED #define SGE_SCENIC_RENDER_CONTEXT_MANAG...
25.6
68
0.768973
cpreh
f3d5e5c9725dab8afe3bcbcae2d3126cb8eb97af
258
cpp
C++
src/Networking/log.cpp
jonahbardos/PY2020
af4f61b86ae5013e58faf4842bf20863b3de3957
[ "Apache-2.0" ]
null
null
null
src/Networking/log.cpp
jonahbardos/PY2020
af4f61b86ae5013e58faf4842bf20863b3de3957
[ "Apache-2.0" ]
null
null
null
src/Networking/log.cpp
jonahbardos/PY2020
af4f61b86ae5013e58faf4842bf20863b3de3957
[ "Apache-2.0" ]
null
null
null
#include "log.h" #include <iostream> int LOG_LEVEL = LOG_INFO; int LOG_DEBUG = 0; int LOG_INFO = 1; int LOG_WARN = 2; int LOG_ERROR = 3; void log(int level, std::string const &msg) { if (level >= LOG_LEVEL) { std::cout << msg << std::endl; } }
13.578947
43
0.624031
jonahbardos
f3db163cb19945addafc57bdfba645a357e176fa
1,771
cc
C++
impeller/renderer/render_pass.cc
charafau/engine
c4a1a72da5dde44cc6288f8c4c0020b03e1e9279
[ "BSD-3-Clause" ]
null
null
null
impeller/renderer/render_pass.cc
charafau/engine
c4a1a72da5dde44cc6288f8c4c0020b03e1e9279
[ "BSD-3-Clause" ]
null
null
null
impeller/renderer/render_pass.cc
charafau/engine
c4a1a72da5dde44cc6288f8c4c0020b03e1e9279
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Flutter 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 "impeller/renderer/render_pass.h" namespace impeller { RenderPass::RenderPass(RenderTarget target) : render_target_(std::move(target)), ...
26.432836
80
0.693958
charafau
f3db8aea81d9a96c8a550530e5560543ee84cc16
4,899
hpp
C++
source/exec/global_executor.hpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
51
2019-05-06T01:33:34.000Z
2021-11-17T11:44:54.000Z
source/exec/global_executor.hpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
191
2019-05-06T18:31:24.000Z
2020-06-19T06:48:06.000Z
source/exec/global_executor.hpp
stryku/cmakesl
e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326
[ "BSD-3-Clause" ]
3
2019-10-12T21:03:29.000Z
2020-06-19T06:22:25.000Z
#pragma once #include "common/strings_container_impl.hpp" #include "decl_sema/declarative_import_handler.hpp" #include "errors/errors_observer.hpp" #include "exec/builtin_identifiers_observer.hpp" #include "exec/cross_translation_unit_static_variables.hpp" #include "exec/module_sema_tree_provider.hpp" #include "sema/a...
32.230263
79
0.782609
stryku
f3de13873c49699a7ae1ca5db0f98bc74488c409
355
cpp
C++
Program's_Contributed_By_Contributors/Dynamic Programming/ClimbingStairs.cpp
shreyukashid/Hacktoberfest2k21
2aecacacc4719bbde253b35361a4bd5956d48ab2
[ "MIT" ]
1
2021-10-02T05:59:49.000Z
2021-10-02T05:59:49.000Z
Program's_Contributed_By_Contributors/Dynamic Programming/ClimbingStairs.cpp
shreyukashid/Hacktoberfest2k21
2aecacacc4719bbde253b35361a4bd5956d48ab2
[ "MIT" ]
null
null
null
Program's_Contributed_By_Contributors/Dynamic Programming/ClimbingStairs.cpp
shreyukashid/Hacktoberfest2k21
2aecacacc4719bbde253b35361a4bd5956d48ab2
[ "MIT" ]
1
2021-10-06T12:27:26.000Z
2021-10-06T12:27:26.000Z
#include<iostream> using namespace std; int climbStairs(int n) { int dp[n + 2]; dp[0] = 0; dp[1] = 1; dp[2] = 2; for (int i = 3; i <= n; i++) { dp[i] = dp[i - 1] + dp[i - 2]; } return dp[n]; } int main(int n) { int n; //Enter Number of Stairs cin>>n; int ans=cli...
14.791667
38
0.470423
shreyukashid
f3df33dfbd1ee4890b32e923f2711bd8bc35a3db
2,653
cpp
C++
src/backend/gporca/libgpopt/src/xforms/CXformGet2TableScan.cpp
zhongyibill/gpdb
12cfded239d5da2ad102697c9d56efb5759807dd
[ "PostgreSQL", "Apache-2.0" ]
1
2021-01-03T17:55:43.000Z
2021-01-03T17:55:43.000Z
src/backend/gporca/libgpopt/src/xforms/CXformGet2TableScan.cpp
zhongyibill/gpdb
12cfded239d5da2ad102697c9d56efb5759807dd
[ "PostgreSQL", "Apache-2.0" ]
16
2020-10-21T18:37:47.000Z
2021-01-13T01:01:15.000Z
src/backend/gporca/libgpopt/src/xforms/CXformGet2TableScan.cpp
zhongyibill/gpdb
12cfded239d5da2ad102697c9d56efb5759807dd
[ "PostgreSQL", "Apache-2.0" ]
1
2020-03-26T02:47:22.000Z
2020-03-26T02:47:22.000Z
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2009 Greenplum, Inc. // // @filename: // CXformGet2TableScan.cpp // // @doc: // Implementation of transform //--------------------------------------------------------------------------- #include "gpos...
26.267327
77
0.55899
zhongyibill
f3df67af56808462afc47d2c6339740ee2857c01
206
cpp
C++
src/GECommandQueue.cpp
omega-graphics/omega-gte-project
9f833e253bafde30ff8a7a2246d308b07cd0b00a
[ "Apache-2.0" ]
1
2021-07-07T17:36:49.000Z
2021-07-07T17:36:49.000Z
src/GECommandQueue.cpp
omega-graphics/omega-gte-project
9f833e253bafde30ff8a7a2246d308b07cd0b00a
[ "Apache-2.0" ]
null
null
null
src/GECommandQueue.cpp
omega-graphics/omega-gte-project
9f833e253bafde30ff8a7a2246d308b07cd0b00a
[ "Apache-2.0" ]
null
null
null
#include "omegaGTE/GECommandQueue.h" _NAMESPACE_BEGIN_ GECommandQueue::GECommandQueue(unsigned size):size(size){}; unsigned GECommandQueue::getSize(){ return size; }; _NAMESPACE_END_
18.727273
63
0.723301
omega-graphics
f3e05c2f925333d6d2e5b6775536f789737f798d
512
hpp
C++
spec/headers/namespaces.hpp
floomby/rbgccxml
f7085e2ae1847452c137c7b9ce6686111a7e6960
[ "MIT" ]
6
2015-11-05T05:13:49.000Z
2020-01-07T14:06:19.000Z
spec/headers/namespaces.hpp
floomby/rbgccxml
f7085e2ae1847452c137c7b9ce6686111a7e6960
[ "MIT" ]
4
2017-03-29T21:56:58.000Z
2020-10-29T13:33:38.000Z
spec/headers/namespaces.hpp
floomby/rbgccxml
f7085e2ae1847452c137c7b9ce6686111a7e6960
[ "MIT" ]
3
2017-10-11T07:34:57.000Z
2022-03-03T20:50:06.000Z
/** * File for testing the ability to find namespaces */ namespace upper { void method1() { } namespace inner1 { void method2() { } } namespace inner2 { void method3() { } namespace nested { void method4() { } } class NamespacedClass { }; } } // Namespace Aliases nam...
14.628571
60
0.632813
floomby
f3e05eb86807825d4671e349b1dab491998659fc
2,975
hpp
C++
drape_frontend/read_manager.hpp
ruilin/RLMap
e16b52f77d165e719b3af20b097f227959e8e374
[ "Apache-2.0" ]
2
2019-01-24T15:36:20.000Z
2019-12-26T10:03:48.000Z
drape_frontend/read_manager.hpp
ruilin/RLMap
e16b52f77d165e719b3af20b097f227959e8e374
[ "Apache-2.0" ]
1
2018-03-07T15:05:23.000Z
2018-03-07T15:05:23.000Z
drape_frontend/read_manager.hpp
ruilin/RLMap
e16b52f77d165e719b3af20b097f227959e8e374
[ "Apache-2.0" ]
1
2019-08-09T21:31:29.000Z
2019-08-09T21:31:29.000Z
#pragma once #include "drape_frontend/custom_symbol.hpp" #include "drape_frontend/engine_context.hpp" #include "drape_frontend/read_mwm_task.hpp" #include "drape_frontend/tile_info.hpp" #include "drape_frontend/tile_utils.hpp" #include "geometry/screenbase.hpp" #include "drape/object_pool.hpp" #include "drape/pointe...
27.546296
94
0.756303
ruilin
f3e15a8a436acd9de0d08c5f292d6a69b82a1158
2,452
hpp
C++
src/ReconnectTimer.hpp
cs-software-gmbh/mq-cph
74210fcc7dd8f0c89a99d769bfa0ef1f12336d02
[ "Apache-2.0" ]
10
2017-09-05T08:47:11.000Z
2021-08-02T15:41:54.000Z
src/ReconnectTimer.hpp
cs-software-gmbh/mq-cph
74210fcc7dd8f0c89a99d769bfa0ef1f12336d02
[ "Apache-2.0" ]
5
2018-08-22T13:14:28.000Z
2022-02-22T08:30:53.000Z
src/ReconnectTimer.hpp
cs-software-gmbh/mq-cph
74210fcc7dd8f0c89a99d769bfa0ef1f12336d02
[ "Apache-2.0" ]
3
2017-02-13T16:23:48.000Z
2021-11-09T10:47:08.000Z
/*<copyright notice="lm-source" pids="" years="2014,2020">*/ /******************************************************************************* * Copyright (c) 2014,2020 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
32.693333
89
0.573002
cs-software-gmbh
f3e244359a4ee1455ed9f802b6f3a56e34f1ac98
532
cpp
C++
cppp/src/15-oop/text-query-again.cpp
ahxxm/cpp-exercise
abbe530770d49843ceaf706fb55b91ef100b1162
[ "WTFPL" ]
2
2016-12-06T00:49:35.000Z
2017-01-15T07:00:24.000Z
cppp/src/15-oop/text-query-again.cpp
ahxxm/cpp-exercise
abbe530770d49843ceaf706fb55b91ef100b1162
[ "WTFPL" ]
5
2016-05-02T13:52:52.000Z
2016-09-28T07:57:09.000Z
cppp/src/15-oop/text-query-again.cpp
ahxxm/cpp-exercise
abbe530770d49843ceaf706fb55b91ef100b1162
[ "WTFPL" ]
null
null
null
#include <string> #include <vector> #include "gtest/gtest.h" class QueryResult; class TextQuery; class Query_base { friend class Query; protected: using line_no = std::vector<std::string>::size_type; virtual ~Query_base() = default; private: virtual QueryResult eval(const TextQuery &) const = 0; virtual st...
18.344828
56
0.695489
ahxxm
f3e5b53d846e86130e5be7ed68d6923fcd7bb93d
192
hpp
C++
callback.hpp
serpapi/serpapi-search-cpp
fc1cafc05d3e2c2b1661789d96f916441d33ecd3
[ "MIT" ]
null
null
null
callback.hpp
serpapi/serpapi-search-cpp
fc1cafc05d3e2c2b1661789d96f916441d33ecd3
[ "MIT" ]
null
null
null
callback.hpp
serpapi/serpapi-search-cpp
fc1cafc05d3e2c2b1661789d96f916441d33ecd3
[ "MIT" ]
null
null
null
#include <cstdint> #include <iostream> #include <memory> #include <string> using namespace std; namespace serpapi { size_t callback(const char* in, size_t size, size_t num, string* out); }
16
71
0.734375
serpapi