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
4b3e15649008fff3ff878c272fb4d0dc5fe8314f
1,134
cpp
C++
heap_sort.cpp
MDarshan123/Algorithms-1
c077ef399f4fea59f683c0338e56d1a87a79a466
[ "MIT" ]
33
2019-10-20T03:07:31.000Z
2021-12-05T06:50:12.000Z
heap_sort.cpp
MDarshan123/Algorithms-1
c077ef399f4fea59f683c0338e56d1a87a79a466
[ "MIT" ]
51
2019-10-09T18:09:53.000Z
2021-07-06T08:28:39.000Z
heap_sort.cpp
MDarshan123/Algorithms-1
c077ef399f4fea59f683c0338e56d1a87a79a466
[ "MIT" ]
117
2019-10-09T18:10:58.000Z
2022-02-22T14:22:47.000Z
# Python program for implementation of heap Sort # To heapify subtree rooted at index i. # n is size of heap def heapify(arr, n, i): largest = i # Initialize largest as root l = 2 * i + 1 # left = 2*i + 1 r = 2 * i + 2 # right = 2*i + 2 # See if left child of root exists and is # greater than root if...
23.625
51
0.603175
MDarshan123
4b40cb282bccefe5f63fcfea11d1405e9c6c359e
16,227
cc
C++
Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/src/contrib/random/sgx_random_engine.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/random/sgx_random_engine.cc
clhne/tvm
d59320c764bd09474775e1b292f3c05c27743d24
[ "Apache-2.0" ]
23
2019-07-29T05:21:52.000Z
2020-08-31T18:51:42.000Z
src/contrib/random/sgx_random_engine.cc
clhne/tvm
d59320c764bd09474775e1b292f3c05c27743d24
[ "Apache-2.0" ]
51
2019-07-12T05:10:25.000Z
2021-07-28T16:19:06.000Z
/*! * Copyright (c) 2018 by Contributors * \file random/sgx_random_engine.h * \brief SGX trusted random engine */ #include <dmlc/logging.h> #include <sgx_trts.h> #include <algorithm> #include <cmath> #include "../../runtime/sgx/common.h" namespace tvm { namespace contrib { /*! * \brief An interface for generati...
55.762887
92
0.762125
mengkai94
4b425e1bcfaab4ff82c705397313c550c4eecbdd
4,120
cxx
C++
Modules/Filtering/ImageGradient/test/itkGradientImageFilterTest2.cxx
floryst/ITK
321e673bcbac15aae2fcad863fd0977b7fbdb3e9
[ "Apache-2.0" ]
1
2021-11-29T14:41:43.000Z
2021-11-29T14:41:43.000Z
Modules/Filtering/ImageGradient/test/itkGradientImageFilterTest2.cxx
floryst/ITK
321e673bcbac15aae2fcad863fd0977b7fbdb3e9
[ "Apache-2.0" ]
1
2017-08-18T19:28:52.000Z
2017-08-18T19:28:52.000Z
Modules/Filtering/ImageGradient/test/itkGradientImageFilterTest2.cxx
floryst/ITK
321e673bcbac15aae2fcad863fd0977b7fbdb3e9
[ "Apache-2.0" ]
1
2017-08-18T19:07:39.000Z
2017-08-18T19:07:39.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
30.518519
99
0.674029
floryst
4b42a06a27f4d72f91b1a18e9c18eb11801c3a31
24,236
cpp
C++
tests/args-test.cpp
mbits-libs/libargs
72f5f2b87ae39f26638a585fa4ad0b96b4152ae6
[ "MIT" ]
null
null
null
tests/args-test.cpp
mbits-libs/libargs
72f5f2b87ae39f26638a585fa4ad0b96b4152ae6
[ "MIT" ]
2
2020-09-25T10:07:38.000Z
2020-10-11T16:01:17.000Z
tests/args-test.cpp
mbits-libs/libargs
72f5f2b87ae39f26638a585fa4ad0b96b4152ae6
[ "MIT" ]
null
null
null
#include <args/parser.hpp> #include <iostream> #include <string_view> using namespace std::literals; struct test { const char* title; int (*callback)(); int expected{0}; std::string_view output{}; }; std::vector<test> g_tests; template <typename Test> struct registrar { registrar() { ::g_tests.push_back( ...
31.151671
718
0.609589
mbits-libs
4b42cf206f3e1c9b44048a47981ebfdd2d78de10
6,505
cpp
C++
C++CodeSnippets/HLD [LOJ-1348].cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2019-03-31T05:47:30.000Z
2019-03-31T05:47:30.000Z
C++CodeSnippets/HLD [LOJ-1348].cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
C++CodeSnippets/HLD [LOJ-1348].cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
/** * @author : Maruf Tuhin * @College : CUET CSE 11 * @Topcoder : the_redback * @CodeForces : the_redback * @UVA : the_redback * @link : http://www.fb.com/maruf.2hin */ #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long llu; ...
26.443089
79
0.465796
Maruf-Tuhin
4b43788c40830200684afa37f82a146623c14339
5,748
cpp
C++
lib/analyzer/expressions/typeclass.cpp
reaver-project/vapor
17ddb5c60b483bd17a288319bfd3e8a43656859e
[ "Zlib" ]
4
2017-07-22T23:12:36.000Z
2022-01-13T23:57:06.000Z
lib/analyzer/expressions/typeclass.cpp
reaver-project/vapor
17ddb5c60b483bd17a288319bfd3e8a43656859e
[ "Zlib" ]
36
2016-11-26T17:46:16.000Z
2019-05-21T16:27:13.000Z
lib/analyzer/expressions/typeclass.cpp
reaver-project/vapor
17ddb5c60b483bd17a288319bfd3e8a43656859e
[ "Zlib" ]
3
2016-10-01T21:04:32.000Z
2021-03-20T06:57:53.000Z
/** * Vapor Compiler Licence * * Copyright © 2017-2019 Michał "Griwes" Dominiak * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this ...
37.324675
110
0.60421
reaver-project
4b438c9f87d7bc33cfe4d9a966bba4f1e2767a67
3,036
cpp
C++
sp/src/game/client/dbr/hud_hull.cpp
URAKOLOUY5/source-sdk-2013
d6e2d4b6d3e93b1224e6b4aa378d05309eee20bc
[ "Unlicense" ]
2
2022-02-18T18:16:37.000Z
2022-02-23T21:21:37.000Z
sp/src/game/client/dbr/hud_hull.cpp
URAKOLOUY5/u5-maps
d6e2d4b6d3e93b1224e6b4aa378d05309eee20bc
[ "Unlicense" ]
null
null
null
sp/src/game/client/dbr/hud_hull.cpp
URAKOLOUY5/u5-maps
d6e2d4b6d3e93b1224e6b4aa378d05309eee20bc
[ "Unlicense" ]
null
null
null
#include "cbase.h" #include "hud.h" #include "hud_macros.h" #include "c_baseplayer.h" #include "hud_hull.h" #include "iclientmode.h" #include "vgui/ISurface.h" using namespace vgui; #include "tier0/memdbgon.h" #ifndef DBR DECLARE_HUDELEMENT (CHudHull); #endif # define HULL_INIT 80 //-----------------------...
26.172414
105
0.525033
URAKOLOUY5
4b45421dcb8c6a9168ef3b3b2d44ed2d2dbd917b
19,308
cxx
C++
Rendering/VR/vtkVRRenderWindow.cxx
jpouderoux/VTK
1af22bcce698e121b6c8064ea724636621d1bf7e
[ "BSD-3-Clause" ]
1
2021-11-23T02:09:28.000Z
2021-11-23T02:09:28.000Z
Rendering/VR/vtkVRRenderWindow.cxx
zist8888/VTK
74ae7be4aa33c94b0535ebbdaf7d27573d7c7614
[ "BSD-3-Clause" ]
null
null
null
Rendering/VR/vtkVRRenderWindow.cxx
zist8888/VTK
74ae7be4aa33c94b0535ebbdaf7d27573d7c7614
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkVRRenderWindow.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 software is distribute...
31.497553
100
0.610317
jpouderoux
4b456dc0150daf1a1979db5991fec39e2c70fefe
732
cpp
C++
Ticker.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
Ticker.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
Ticker.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#include "Ticker.hpp" BEGIN_INANITY Ticker::Ticker() : lastTick(-1), pauseTick(-1) { tickCoef = 1.0f / Time::GetTicksPerSecond(); } void Ticker::Pause() { // if already paused, do nothing if(pauseTick >= 0) return; // remember pause time pauseTick = Time::GetTick(); } float Ticker::Tick() { // get curren...
15.25
45
0.659836
quyse
4b4571a1dcce05248083a5fc2bc7cf8acfc8de44
1,851
cpp
C++
Code/Libraries/Rodin/src/BTNodes/rodinbtnodeuseresource.cpp
lihop/Eldritch
bb38ff8ad59e4c1f11b1430ef482e60f7618a280
[ "Zlib" ]
4
2019-09-15T20:00:23.000Z
2021-08-27T23:32:53.000Z
Code/Libraries/Rodin/src/BTNodes/rodinbtnodeuseresource.cpp
lihop/Eldritch
bb38ff8ad59e4c1f11b1430ef482e60f7618a280
[ "Zlib" ]
null
null
null
Code/Libraries/Rodin/src/BTNodes/rodinbtnodeuseresource.cpp
lihop/Eldritch
bb38ff8ad59e4c1f11b1430ef482e60f7618a280
[ "Zlib" ]
1
2021-03-27T11:27:03.000Z
2021-03-27T11:27:03.000Z
#include "core.h" #include "rodinbtnodeuseresource.h" #include "configmanager.h" #include "Components/wbcomprodinresourcemap.h" #include "Components/wbcomprodinbehaviortree.h" #include "wbentity.h" RodinBTNodeUseResource::RodinBTNodeUseResource() : m_Resource() , m_ForceClaim( false ) { } RodinBTNodeUseResource::~Rod...
26.070423
93
0.763911
lihop
4b45b2aa280d0a1054559f1185dd10551b0220e2
331
cpp
C++
src/power.cpp
Glowman554/FoxOS-kernel
06c9f820dee8769b23cf6ba4d5df9cb9324a14d7
[ "MIT" ]
13
2021-02-19T16:54:18.000Z
2022-01-06T18:02:20.000Z
src/power.cpp
Glowman554/FoxOS-kernel
06c9f820dee8769b23cf6ba4d5df9cb9324a14d7
[ "MIT" ]
1
2021-08-21T16:55:38.000Z
2021-08-24T10:34:32.000Z
src/power.cpp
Glowman554/FoxOS-kernel
06c9f820dee8769b23cf6ba4d5df9cb9324a14d7
[ "MIT" ]
4
2021-08-20T15:28:01.000Z
2022-03-22T19:02:56.000Z
#include <power.h> #include <pci/acpi.h> #include <interrupts/panic.h> #include <stivale2.h> //#do_reboot-doc: Reboot FoxOS void do_reboot() { uint8_t good = 0x02; while (good & 0x02) { good = inb(0x64); } outb(0x64, 0xfe); asm("hlt"); interrupts::Panic p = interrupts::Panic((char*) "Reboot failed!"); p.do_...
18.388889
67
0.655589
Glowman554
4b49ad3749602235aac24ea6c174b33d47f545f6
45,547
cc
C++
Calibration/EcalCalibAlgos/src/ElectronCalibrationUniv.cc
malbouis/cmssw
16173a30d3f0c9ecc5419c474bb4d272c58b65c8
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Calibration/EcalCalibAlgos/src/ElectronCalibrationUniv.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Calibration/EcalCalibAlgos/src/ElectronCalibrationUniv.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DataFormats/EcalDetId/interface/EBDetId.h" #include "DataFormats/DetId/interface/DetId.h" #include "Calibration/Tools/interface/calibXMLwriter.h" #include "Calibration/Tools/interface/CalibrationCluster.h" #include "Calibration/Tools/interface/Househol...
44.091965
166
0.629855
malbouis
4b4a53a88a31216c53148baa1ab0b86d8d60022f
14,142
cpp
C++
src/client/client/Command_Client_Engine.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
src/client/client/Command_Client_Engine.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
src/client/client/Command_Client_Engine.cpp
Kuga23/Projet-M2
85c879b8fd1ed4fdf89eedd9f89841cbd7a1e433
[ "MIT" ]
null
null
null
#include <iostream> #include <functional> #include <unistd.h> #include "Command_Client_Engine.h" #include "state.h" #include "render.h" #include "engine.h" using namespace client; using namespace render; using namespace engine; using namespace state; using namespace std; Command_Client_Engine::Command_Client_Engine(...
47.14
119
0.534366
Kuga23
4b4a849a3095755fca6a4b889b518508f7977745
62,983
cxx
C++
Plugins/GenericIOReader/Readers/LANL/GIO/GenericIO.cxx
psavery/ParaView
00074fbc7de29c2ab2f1b90624e07d1af53484ee
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-07-21T07:15:44.000Z
2021-07-21T07:15:44.000Z
Plugins/GenericIOReader/Readers/LANL/GIO/GenericIO.cxx
psavery/ParaView
00074fbc7de29c2ab2f1b90624e07d1af53484ee
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Plugins/GenericIOReader/Readers/LANL/GIO/GenericIO.cxx
psavery/ParaView
00074fbc7de29c2ab2f1b90624e07d1af53484ee
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-03-13T03:35:01.000Z
2021-03-13T03:35:01.000Z
/* * Copyright (C) 2015, UChicago Argonne, LLC * All Rights Reserved * * Generic IO (ANL-15-066) * Hal Finkel, Argonne National Laboratory * * OPEN SOURCE LICENSE * * Under the terms ...
28.370721
100
0.625327
psavery
4b4a88a92eb5389cc24518a5e9e3e5b05e3510f6
423
cc
C++
src/ppl/nn/engines/x86/kernels/onnx/constant_kernel.cc
wolf15/ppl.nn
ac23e5eb518039536f1ef39b43c63d6bda900e77
[ "Apache-2.0" ]
1
2021-06-30T14:07:37.000Z
2021-06-30T14:07:37.000Z
src/ppl/nn/engines/x86/kernels/onnx/constant_kernel.cc
wolf15/ppl.nn
ac23e5eb518039536f1ef39b43c63d6bda900e77
[ "Apache-2.0" ]
null
null
null
src/ppl/nn/engines/x86/kernels/onnx/constant_kernel.cc
wolf15/ppl.nn
ac23e5eb518039536f1ef39b43c63d6bda900e77
[ "Apache-2.0" ]
null
null
null
#include "ppl/nn/engines/x86/kernels/onnx/constant_kernel.h" using namespace std; using namespace ppl::common; namespace ppl { namespace nn { namespace x86 { RetCode ConstantKernel::DoExecute(KernelExecContext* ctx) { auto output = ctx->GetOutput<TensorImpl>(0); GetDevice()->CopyFromHost(&output->GetBufferDes...
30.214286
97
0.728132
wolf15
4b4af7404b2bc9c13c9bfaddb37f9d5ae6b508a7
572
cpp
C++
src/leetcode/8/61231414_wrong_answer.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/leetcode/8/61231414_wrong_answer.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/leetcode/8/61231414_wrong_answer.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
class Solution { public: bool isdigit(char ch) { return (ch <= '9' && ch >= '0'); } int myAtoi(string str) { #define int long long int pos = 0, ret = 0, fl = 1; char ch; while(pos < (int)str.length() && !isdigit(ch = str[pos++])) if(ch == '-') (fl = -1); for(r...
31.777778
109
0.472028
lnkkerst
4b4c4d4b90790b30be2c6ce0010ef3f8ab971bdb
3,898
cpp
C++
devices/laihost/laihost.cpp
JartC0ding/horizon
2b9a75b45ac768a8da0f7a98f164a37690dc583f
[ "MIT" ]
null
null
null
devices/laihost/laihost.cpp
JartC0ding/horizon
2b9a75b45ac768a8da0f7a98f164a37690dc583f
[ "MIT" ]
null
null
null
devices/laihost/laihost.cpp
JartC0ding/horizon
2b9a75b45ac768a8da0f7a98f164a37690dc583f
[ "MIT" ]
null
null
null
extern "C" { #include <lai/host.h> #include <acpispec/tables.h> } #include <memory/page_table_manager.h> #include <memory/page_frame_allocator.h> #include <utils/abort.h> #include <utils/log.h> #include <utils/string.h> #include <utils/port.h> #include <pci/pci.h> #include <timer/timer.h> #include <acpi/acpi.h> ext...
26.161074
112
0.693689
JartC0ding
4b4d9667bcd8c48992dafb1598dcc5c44defc873
4,160
cpp
C++
example/Reading/source/main.cpp
HamletDuFromage/Simple-INI-Parser
ca427f98dc25620432430c563d9a73534b942c37
[ "0BSD" ]
null
null
null
example/Reading/source/main.cpp
HamletDuFromage/Simple-INI-Parser
ca427f98dc25620432430c563d9a73534b942c37
[ "0BSD" ]
null
null
null
example/Reading/source/main.cpp
HamletDuFromage/Simple-INI-Parser
ca427f98dc25620432430c563d9a73534b942c37
[ "0BSD" ]
null
null
null
/* * SimpleIniParser * Copyright (c) 2020 Nichole Mattera * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS I...
33.821138
195
0.568029
HamletDuFromage
4b4d9c3b2d73165f35ead04dcae80358ea85ee85
374
cpp
C++
examples/error_mitigation/simple_mitiq.cpp
ausbin/qcor
e9e0624a0e14b1b980ce9265b71c9b394abc60a8
[ "BSD-3-Clause" ]
59
2019-08-22T18:40:38.000Z
2022-03-09T04:12:42.000Z
examples/error_mitigation/simple_mitiq.cpp
ausbin/qcor
e9e0624a0e14b1b980ce9265b71c9b394abc60a8
[ "BSD-3-Clause" ]
137
2019-09-13T15:50:18.000Z
2021-12-06T14:19:46.000Z
examples/error_mitigation/simple_mitiq.cpp
ausbin/qcor
e9e0624a0e14b1b980ce9265b71c9b394abc60a8
[ "BSD-3-Clause" ]
26
2019-07-08T17:30:35.000Z
2021-12-03T16:24:12.000Z
// run error mitigation with mitiq with // $ qcor -qpu aer[noise-model:noise_model.json] -shots 4096 -em mitiq simple_mitiq.cpp // $ ./a.out __qpu__ void noisy_zero(qreg q) { for (int i = 0; i < 100; i++) { X(q[0]); } Measure(q[0]); } int main() { qreg q = qalloc(1); noisy_zero(q); st...
23.375
87
0.564171
ausbin
4b5209642cd837eb185a7620bf2c05692dbb57e3
62,359
cpp
C++
src/pal/src/map/virtual.cpp
chrisaut/coreclr
849da1bdf828256624dac634eefe8590e48f0c26
[ "MIT" ]
null
null
null
src/pal/src/map/virtual.cpp
chrisaut/coreclr
849da1bdf828256624dac634eefe8590e48f0c26
[ "MIT" ]
null
null
null
src/pal/src/map/virtual.cpp
chrisaut/coreclr
849da1bdf828256624dac634eefe8590e48f0c26
[ "MIT" ]
1
2021-02-24T10:01:34.000Z
2021-02-24T10:01:34.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*++ Module Name: virtual.cpp Abstract: Implementation of virtual memory management functions. --*/...
30.198063
108
0.614474
chrisaut
4b5334791fd558dd47efd07d0e0f53ecfd1088e1
1,282
cc
C++
handy/port_posix.cc
onlyet/handy
780548fc7433c7f3ec541b15a7e87efb996a7218
[ "BSD-2-Clause" ]
2
2018-04-27T15:32:37.000Z
2019-12-27T13:04:58.000Z
handy/port_posix.cc
OnlYet/handy
780548fc7433c7f3ec541b15a7e87efb996a7218
[ "BSD-2-Clause" ]
1
2018-11-13T06:41:51.000Z
2018-11-13T06:41:51.000Z
handy/port_posix.cc
OnlYet/handy
780548fc7433c7f3ec541b15a7e87efb996a7218
[ "BSD-2-Clause" ]
null
null
null
#include "port_posix.h" #include <netdb.h> #include <pthread.h> #include <string.h> #include <sys/syscall.h> #include <unistd.h> #define OS_LINUX namespace handy { namespace port { #ifdef OS_LINUX struct in_addr getHostByName(const std::string &host) { struct in_addr addr; char buf[1024]; struct hostent h...
25.137255
80
0.638846
onlyet
4b53deea56787cb6b802da4d1dc5e7358e42ed8a
10,359
cc
C++
src/Worker.cc
tsw303005/MapReduce
e29778a439210963a7cd8047e55123e0c810b79b
[ "MIT" ]
null
null
null
src/Worker.cc
tsw303005/MapReduce
e29778a439210963a7cd8047e55123e0c810b79b
[ "MIT" ]
null
null
null
src/Worker.cc
tsw303005/MapReduce
e29778a439210963a7cd8047e55123e0c810b79b
[ "MIT" ]
null
null
null
#include "Worker.h" Worker::Worker(char **argv, int cpu_num, int rank, int size) { this->job_name = std::string(argv[1]); this->num_reducer = std::stoi(argv[2]); this->delay = std::stoi(argv[3]); this->input_filename = std::string(argv[4]); this->chunk_size = std::stoi(argv[5]); this->output_di...
28.458791
107
0.551212
tsw303005
4b544ad0ecd7ada690a6c1b109de0382c6378e86
3,501
hpp
C++
heart/src/problem/cell_factories/PlaneStimulusCellFactory.hpp
stu-l/Chaste
8efa8b440660553af66804067639f237c855f557
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
heart/src/problem/cell_factories/PlaneStimulusCellFactory.hpp
stu-l/Chaste
8efa8b440660553af66804067639f237c855f557
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
heart/src/problem/cell_factories/PlaneStimulusCellFactory.hpp
stu-l/Chaste
8efa8b440660553af66804067639f237c855f557
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005-2022, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
38.472527
142
0.748072
stu-l
4b552c1892dbbbcfd60a47b4272ada7a60f94504
3,499
cpp
C++
GDADPRG_HO6/GameObjectPool.cpp
NeilDG/GDADPRG-GDPARCM_Courseware
771509ec7b3eb6d6375807819ca9da957dd22641
[ "MIT" ]
null
null
null
GDADPRG_HO6/GameObjectPool.cpp
NeilDG/GDADPRG-GDPARCM_Courseware
771509ec7b3eb6d6375807819ca9da957dd22641
[ "MIT" ]
null
null
null
GDADPRG_HO6/GameObjectPool.cpp
NeilDG/GDADPRG-GDPARCM_Courseware
771509ec7b3eb6d6375807819ca9da957dd22641
[ "MIT" ]
null
null
null
#include "GameObjectPool.h" #include <iostream> #include "GameObjectManager.h" GameObjectPool::GameObjectPool(string tag, APoolable* poolableCopy, int poolableSize, AGameObject* parent) { this->tag = tag; this->objectCopy = poolableCopy; this->maxPoolSize = poolableSize; this->parent = parent; } GameObjectPool::~...
26.11194
131
0.692769
NeilDG
4b5783feaffc0d23f3d088d4a5ee3bf15ee2c6b1
198
cpp
C++
ExaHyPE/exahype/solvers/CellWiseCoupling.cpp
linusseelinger/ExaHyPE-Tsunami
92a6e14926862e1584ef1e935874c91d252e8112
[ "BSD-3-Clause" ]
2
2019-08-14T22:41:26.000Z
2020-02-04T19:30:24.000Z
ExaHyPE/exahype/solvers/CellWiseCoupling.cpp
linusseelinger/ExaHyPE-Tsunami
92a6e14926862e1584ef1e935874c91d252e8112
[ "BSD-3-Clause" ]
null
null
null
ExaHyPE/exahype/solvers/CellWiseCoupling.cpp
linusseelinger/ExaHyPE-Tsunami
92a6e14926862e1584ef1e935874c91d252e8112
[ "BSD-3-Clause" ]
3
2019-07-22T10:27:36.000Z
2020-05-11T12:25:29.000Z
#include "exahype/solvers/CellWiseCoupling.h" exahype::solvers::CellWiseCoupling::CellWiseCoupling(double time, double repeat): SolverCoupling( SolverCoupling::Type::CellWise, time, repeat) { }
28.285714
81
0.787879
linusseelinger
4b57dce6491d197f21456d7d3dbb59514309aad5
5,034
cpp
C++
src/VK/base/ExtFreeSync2.cpp
Zakhrov/Cauldron
6c50024f6cd4495a1c6d18a58fa4875072ffa243
[ "MIT" ]
1
2019-07-24T12:02:40.000Z
2019-07-24T12:02:40.000Z
src/VK/base/ExtFreeSync2.cpp
Zakhrov/Cauldron
6c50024f6cd4495a1c6d18a58fa4875072ffa243
[ "MIT" ]
null
null
null
src/VK/base/ExtFreeSync2.cpp
Zakhrov/Cauldron
6c50024f6cd4495a1c6d18a58fa4875072ffa243
[ "MIT" ]
null
null
null
// AMD AMDUtils code // // Copyright(c) 2018 Advanced Micro Devices, Inc.All rights reserved. // 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 limitat...
48.403846
187
0.77056
Zakhrov
4b5911b16b46bea84b40d6018d6bfa651aa697d5
2,110
cc
C++
tests/CSGNodeTest.cc
simoncblyth/CSG
9022100123cbc982b741a9e9ae9a544956818770
[ "Apache-2.0" ]
null
null
null
tests/CSGNodeTest.cc
simoncblyth/CSG
9022100123cbc982b741a9e9ae9a544956818770
[ "Apache-2.0" ]
null
null
null
tests/CSGNodeTest.cc
simoncblyth/CSG
9022100123cbc982b741a9e9ae9a544956818770
[ "Apache-2.0" ]
null
null
null
// ./CSGNodeTest.sh #include <vector> #include <iomanip> #include <iostream> #include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> #include "sutil_vec_math.h" #include "CSGNode.h" #include "Sys.h" void test_copy() { glm::mat4 m0(1.f); glm::mat4 m1(2.f); glm::mat4 m2(3.f); m0[0][3] = Sys::int_as_floa...
20.095238
72
0.563981
simoncblyth
4b5917d3c368dd0f8781755970b0334e422fdd9a
1,101
cpp
C++
0001-0100/0073.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
0001-0100/0073.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
0001-0100/0073.cpp
YKR/LeetCode2019
e4c6346eae5c7b85ba53249c46051700a73dd95e
[ "MIT" ]
null
null
null
class Solution { public: void setZeroes(vector<vector<int>>& matrix) { if (matrix.empty() || matrix[0].empty()) return; int n = matrix.size(), m = matrix[0].size(); bool lastRowZero = false; for (int j = 0; j < m; ++j) if (matrix[0][j] == 0) { ...
31.457143
56
0.347866
YKR
4b5afc308f388cadad67a3a4a95f9471189f6432
6,054
cpp
C++
rclcpp/src/rclcpp/executors/static_single_threaded_executor.cpp
asorbini/rclcpp
bc9abd02cd1f34107449e5e849063de7f0e9f71f
[ "Apache-2.0" ]
1
2021-02-01T23:39:44.000Z
2021-02-01T23:39:44.000Z
rclcpp/src/rclcpp/executors/static_single_threaded_executor.cpp
sanjayaranga/rclcpp
1c92e6d6091aae88422ad568761b736abf846e98
[ "Apache-2.0" ]
null
null
null
rclcpp/src/rclcpp/executors/static_single_threaded_executor.cpp
sanjayaranga/rclcpp
1c92e6d6091aae88422ad568761b736abf846e98
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Nobleo Technology // // 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 ...
32.724324
94
0.746283
asorbini
4b5cf1061cc899d4e701a0869bad5e25290fd409
176
hpp
C++
src/HTMLElements/HTMLHeadElement.hpp
windlessStorm/WebWhir
0ed261427d4f4e4f81b62816dc0d94bfacd0890b
[ "MIT" ]
90
2017-04-03T21:42:57.000Z
2022-01-22T11:08:56.000Z
src/HTMLElements/HTMLHeadElement.hpp
windlessStorm/WebWhir
0ed261427d4f4e4f81b62816dc0d94bfacd0890b
[ "MIT" ]
21
2017-03-06T21:45:36.000Z
2017-03-06T21:45:37.000Z
src/HTMLElements/HTMLHeadElement.hpp
windlessStorm/WebWhir
0ed261427d4f4e4f81b62816dc0d94bfacd0890b
[ "MIT" ]
17
2017-04-15T22:42:13.000Z
2021-12-20T09:50:15.000Z
#ifndef HTMLHEADELEMENT_H #define HTMLHEADELEMENT_H #include "HTMLElement.hpp" class HTMLHeadElement : public HTMLElement { public: HTMLHeadElement(); }; #endif
13.538462
42
0.738636
windlessStorm
4b5d23ce14403f0f3a7a4f2dbf24030ab0cfe1b9
6,496
cc
C++
chrome/browser/ui/network_profile_bubble.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-28T10:46:52.000Z
2019-11-28T10:46:52.000Z
chrome/browser/ui/network_profile_bubble.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/network_profile_bubble.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.000Z
// Copyright (c) 2012 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 "chrome/browser/ui/network_profile_bubble.h" #include <windows.h> #include <wtsapi32.h> // Make sure we link the wtsapi lib file in. #pragm...
34.37037
80
0.735991
kjthegod
4b5d7d1c3d2bcdbfcb3610abe894088b437df312
2,087
cpp
C++
src/stubgenerator/stubgenerator.cpp
WinBuilds/libjson-rpc-cpp
eb3404156b389f3e76e859ca764a2f1a45da3bb5
[ "MIT" ]
null
null
null
src/stubgenerator/stubgenerator.cpp
WinBuilds/libjson-rpc-cpp
eb3404156b389f3e76e859ca764a2f1a45da3bb5
[ "MIT" ]
null
null
null
src/stubgenerator/stubgenerator.cpp
WinBuilds/libjson-rpc-cpp
eb3404156b389f3e76e859ca764a2f1a45da3bb5
[ "MIT" ]
null
null
null
/************************************************************************* * libjson-rpc-cpp ************************************************************************* * @file stubgenerator.cpp * @date 01.05.2013 * @author Peter Spiess-Knafl <[email protected]> * @license See attached LICENSE.txt ********...
35.982759
80
0.55103
WinBuilds
4b5dee04ebcc36f796ac7481fa4d22eb71b1bbd2
866
cpp
C++
API/Driver/OpenGL/src/Command/Query.cpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
API/Driver/OpenGL/src/Command/Query.cpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
API/Driver/OpenGL/src/Command/Query.cpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
#include <GL/Command/Buffer.hpp> #include <GL/QueryPool.hpp> OCRA_DECLARE_HANDLE(OCRA::Command::Buffer); OCRA_DECLARE_HANDLE(OCRA::QueryPool); namespace OCRA::Command { void BeginQuery( const Command::Buffer::Handle& a_CommandBuffer, const QueryPool::Handle& a_QueryPool, const uint32_t& ...
32.074074
129
0.69746
Gpinchon
4b5f0b462215ce3c27fb8d26902faf397c88f791
18,192
cpp
C++
rmf_fleet_adapter/rmf_rxcpp/RxCpp-4.1.0/Rx/v2/test/operators/publish.cpp
Capstone-S13/rmf_ros2
66721dd2ab5a458c050bad154c6a17d8e4b5c8f4
[ "Apache-2.0" ]
1,451
2018-05-04T21:36:08.000Z
2022-03-27T07:42:45.000Z
rmf_fleet_adapter/rmf_rxcpp/RxCpp-4.1.0/Rx/v2/test/operators/publish.cpp
Capstone-S13/rmf_ros2
66721dd2ab5a458c050bad154c6a17d8e4b5c8f4
[ "Apache-2.0" ]
150
2018-05-10T10:38:19.000Z
2022-03-24T14:15:11.000Z
rmf_fleet_adapter/rmf_rxcpp/RxCpp-4.1.0/Rx/v2/test/operators/publish.cpp
Capstone-S13/rmf_ros2
66721dd2ab5a458c050bad154c6a17d8e4b5c8f4
[ "Apache-2.0" ]
220
2018-05-05T08:11:16.000Z
2022-03-13T10:34:41.000Z
#include "../test.h" #include <rxcpp/operators/rx-publish.hpp> #include <rxcpp/operators/rx-connect_forever.hpp> #include <rxcpp/operators/rx-ref_count.hpp> #include <rxcpp/operators/rx-map.hpp> #include <rxcpp/operators/rx-merge.hpp> SCENARIO("publish range", "[!hide][range][subject][publish][subject][operators]"){ ...
34.259887
97
0.445031
Capstone-S13
4b5f3bbb80365fb815744bb378f3c8e80225ee07
9,256
cpp
C++
UnrealEngine-4.11.2-release/Engine/Source/Runtime/AIModule/Private/EnvironmentQuery/Tests/EnvQueryTest_Pathfinding.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2016-10-01T21:35:52.000Z
2016-10-01T21:35:52.000Z
UnrealEngine-4.11.2-release/Engine/Source/Runtime/AIModule/Private/EnvironmentQuery/Tests/EnvQueryTest_Pathfinding.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
null
null
null
UnrealEngine-4.11.2-release/Engine/Source/Runtime/AIModule/Private/EnvironmentQuery/Tests/EnvQueryTest_Pathfinding.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2021-04-27T08:48:33.000Z
2021-04-27T08:48:33.000Z
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "AIModulePrivate.h" #include "AI/Navigation/NavigationSystem.h" #include "AI/Navigation/NavAgentInterface.h" #include "EnvironmentQuery/Contexts/EnvQueryContext_Querier.h" #include "EnvironmentQuery/Items/EnvQueryItemType_VectorBase.h" #include "Env...
39.896552
222
0.784032
armroyce
4b60e237f32d8903ee202101513eabbd349fab27
352
cpp
C++
src/core/aa_clip.cpp
nicelbole/skia.c
ce60902da5768973316075917e347d5f61097e74
[ "Apache-2.0" ]
null
null
null
src/core/aa_clip.cpp
nicelbole/skia.c
ce60902da5768973316075917e347d5f61097e74
[ "Apache-2.0" ]
null
null
null
src/core/aa_clip.cpp
nicelbole/skia.c
ce60902da5768973316075917e347d5f61097e74
[ "Apache-2.0" ]
null
null
null
AAClip* create_aa_clip() { AAClip *clip = malloc(sizeof(AAClip)); clip->bounds.setEmpty(); clip->run_head = nullptr; return clip; } AAClip* create_aa_clip(const AAClip& src) { AAClip* clip = malloc(sizeof(AAClip)); clip->run_head = nullptr; *clip = src; return clip; } void delete_aa_clip(AAClip* clip)...
16.761905
41
0.6875
nicelbole
4b610bec63b9e74ff0100d2707996f2b72a7c074
2,892
cpp
C++
src/mongo/db/pipeline/accumulator.cpp
wentingwang/morphus
af40299a5f07fd3157946112738f602a566a9908
[ "Apache-2.0" ]
24
2015-10-15T00:03:57.000Z
2021-04-25T18:21:31.000Z
src/mongo/db/pipeline/accumulator.cpp
stennie/mongo
9ff44ae9ad16a70e49517a78279260a37d31ac7c
[ "Apache-2.0" ]
1
2015-06-02T12:19:19.000Z
2015-06-02T12:19:19.000Z
src/mongo/db/pipeline/accumulator.cpp
stennie/mongo
9ff44ae9ad16a70e49517a78279260a37d31ac7c
[ "Apache-2.0" ]
3
2017-07-26T11:17:11.000Z
2021-11-30T00:11:32.000Z
/** * Copyright (c) 2011 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOU...
36.607595
84
0.641425
wentingwang
4b611427d23e90bf2bff67429967beaebd7a79bc
2,407
cpp
C++
bucket_BB/clucene/patches/patch-src__core__CLucene__util__BitSet.cpp
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
17
2017-04-22T21:53:52.000Z
2021-01-21T16:57:55.000Z
bucket_BB/clucene/patches/patch-src__core__CLucene__util__BitSet.cpp
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
186
2017-09-12T20:46:52.000Z
2021-11-27T18:15:14.000Z
bucket_BB/clucene/patches/patch-src__core__CLucene__util__BitSet.cpp
jrmarino/ravensource
91d599fd1f2af55270258d15e72c62774f36033e
[ "FTL" ]
74
2017-09-06T14:48:01.000Z
2021-08-28T02:48:27.000Z
--- src/core/CLucene/util/BitSet.cpp.orig 2011-03-17 00:21:07 UTC +++ src/core/CLucene/util/BitSet.cpp @@ -32,6 +32,25 @@ const uint8_t BitSet::BYTE_COUNTS[256] = 3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7, 4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8}; +const uint8_t BitSet::BYTE_OFFSETS[256] = { + ...
35.397059
86
0.427919
jrmarino
4b625c2b53bbb7da89a23da8837473a212e765e9
376,712
cc
C++
3rdParty/V8/v7.1.302.28/test/cctest/test-assembler-mips.cc
cclauss/arangodb
089f7a7e60483f0fb73171d159f922dd3de283e9
[ "BSL-1.0", "Apache-2.0" ]
4
2019-04-20T15:56:13.000Z
2019-12-23T07:14:01.000Z
3rdParty/V8/v7.1.302.28/test/cctest/test-assembler-mips.cc
fceller/arangodb
22eec2e35407d868ac36f06b9abdbee3fb3c3ef3
[ "Apache-2.0" ]
1
2019-02-13T09:53:48.000Z
2019-02-13T09:53:48.000Z
3rdParty/V8/v7.1.302.28/test/cctest/test-assembler-mips.cc
fceller/arangodb
22eec2e35407d868ac36f06b9abdbee3fb3c3ef3
[ "Apache-2.0" ]
null
null
null
// Copyright 2012 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
36.017975
80
0.562576
cclauss
b49ee02b8dfc79ea768391b51d38ec4b44863f61
2,412
cc
C++
leetcode/ds_list_missing_number.cc
prashrock/C-
3ed46815d40b3e42cd9f36d23c8ee2a9de742323
[ "MIT" ]
1
2016-12-05T10:42:46.000Z
2016-12-05T10:42:46.000Z
leetcode/ds_list_missing_number.cc
prashrock/CPP
3ed46815d40b3e42cd9f36d23c8ee2a9de742323
[ "MIT" ]
null
null
null
leetcode/ds_list_missing_number.cc
prashrock/CPP
3ed46815d40b3e42cd9f36d23c8ee2a9de742323
[ "MIT" ]
null
null
null
//g++-5 --std=c++11 -Wall -g -o ds_list_missing_number ds_list_missing_number.cc /** * @file Find Missing Number from Array * @brief Given array containing n distinct integers [0, n) find missing integer */ // https://leetcode.com/problems/missing-number/ #include <iostream> /* std::cout ...
33.5
81
0.538972
prashrock
b49f395cef0e4b108b73c6ae583ef37eff3d02eb
4,137
cpp
C++
Vendor/Include/bullet/BulletCollision/Gimpact/btContactProcessing.cpp
allogic/Redshift
4606267b53e3d094ba588acb9ceaa97e3289632b
[ "MIT" ]
null
null
null
Vendor/Include/bullet/BulletCollision/Gimpact/btContactProcessing.cpp
allogic/Redshift
4606267b53e3d094ba588acb9ceaa97e3289632b
[ "MIT" ]
null
null
null
Vendor/Include/bullet/BulletCollision/Gimpact/btContactProcessing.cpp
allogic/Redshift
4606267b53e3d094ba588acb9ceaa97e3289632b
[ "MIT" ]
null
null
null
/* This source file is part of GIMPACT Library. For the latest info, see http://gimpact.sourceforge.net/ Copyright (c) 2007 Francisco Leon Najera. C.C. 80087371. email: [email protected] This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable fo...
23.505682
243
0.719604
allogic
b49f6ce41d181e942f2e4dab67fbb039f4a6d4dd
6,047
cpp
C++
Source/Falcor/Core/API/D3D12/D3D12Resource.cpp
jeongsoopark/Falcor
48aa4e28d6812ced004b56c83484de03b19526fa
[ "BSD-3-Clause" ]
2
2019-11-04T03:46:56.000Z
2019-11-05T03:25:31.000Z
Source/Falcor/Core/API/D3D12/D3D12Resource.cpp
wowhyuck/Falcor
48aa4e28d6812ced004b56c83484de03b19526fa
[ "BSD-3-Clause" ]
8
2019-10-30T10:32:19.000Z
2019-11-21T14:55:25.000Z
Source/Falcor/Core/API/D3D12/D3D12Resource.cpp
wowhyuck/Falcor
48aa4e28d6812ced004b56c83484de03b19526fa
[ "BSD-3-Clause" ]
2
2019-10-31T06:34:55.000Z
2019-11-27T16:54:42.000Z
/*************************************************************************** # Copyright (c) 2018, NVIDIA 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 sourc...
39.012903
140
0.676699
jeongsoopark
b49fb7d26b8c0162262044733b2279cbcbf30db6
823
cpp
C++
construct-binary-tree-from-preorder-and-inorder/main.cpp
rickytan/LeetCode
7df9a47928552babaf5d2abf1d153bd92d44be09
[ "MIT" ]
1
2015-04-04T18:32:31.000Z
2015-04-04T18:32:31.000Z
construct-binary-tree-from-preorder-and-inorder/main.cpp
rickytan/LeetCode
7df9a47928552babaf5d2abf1d153bd92d44be09
[ "MIT" ]
null
null
null
construct-binary-tree-from-preorder-and-inorder/main.cpp
rickytan/LeetCode
7df9a47928552babaf5d2abf1d153bd92d44be09
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: TreeNode *buildTree(vector<int> &preorder, vector<int> &inorder) { i...
22.861111
87
0.602673
rickytan
b49ff458628b0c5c3cdfe7da2ac9780d026ce4b4
12,220
cpp
C++
kvbc/src/ReplicaImp.cpp
sync-bft/concord-clone
fcc5a454ca16446f04351676f330df2382699929
[ "Apache-2.0" ]
null
null
null
kvbc/src/ReplicaImp.cpp
sync-bft/concord-clone
fcc5a454ca16446f04351676f330df2382699929
[ "Apache-2.0" ]
null
null
null
kvbc/src/ReplicaImp.cpp
sync-bft/concord-clone
fcc5a454ca16446f04351676f330df2382699929
[ "Apache-2.0" ]
null
null
null
// Copyright 2018-2020 VMware, all rights reserved // // KV Blockchain replica implementation. #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/param.h> #include <unistd.h> #include "ReplicaImp.h" #include <inttypes.h> #include <algorithm> #include <cassert> #include <chrono> #include <cstdlib>...
36.477612
120
0.723404
sync-bft
b4a07feb3a01881c7c13ffc77852481b1c248c06
1,139
hh
C++
include/ftk/utils/scatter.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
19
2018-11-01T02:15:17.000Z
2022-03-28T16:55:00.000Z
include/ftk/utils/scatter.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
12
2019-04-14T12:49:41.000Z
2021-10-20T03:59:21.000Z
include/ftk/utils/scatter.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
9
2019-02-08T19:40:46.000Z
2021-06-15T00:31:09.000Z
#ifndef _DIYEXT_SCATTER_HH #define _DIYEXT_SCATTER_HH #include <ftk/external/diy/mpi.hpp> #include <ftk/utils/serialization.hh> #include <numeric> namespace diy { namespace mpi { template <typename Obj> inline void scatterv(const communicator& comm, const std::vector<Obj> &ins, Obj &out, int root = 0) ...
20.339286
65
0.651449
hguo
b4a240be38ac640a2e444854cc45f56d12abeecb
13,324
hxx
C++
main/starmath/source/mathmlimport.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/starmath/source/mathmlimport.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/starmath/source/mathmlimport.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
38.62029
141
0.666992
Grosskopf
b4a4f274283ff435bf2e8f4a7db55a429580833e
1,229
cpp
C++
tests/unit/src/get_all_widgets.cpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
69
2016-12-07T05:56:53.000Z
2020-11-27T20:59:05.000Z
tests/unit/src/get_all_widgets.cpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
103
2015-07-10T14:42:21.000Z
2020-09-09T16:16:21.000Z
tests/unit/src/get_all_widgets.cpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
18
2016-11-22T14:41:37.000Z
2020-04-22T18:16:10.000Z
#include <tst/set.hpp> #include <tst/check.hpp> #include <morda/gui.hpp> #include <morda/widgets/group/column.hpp> #include "../../harness/util/dummy_context.hpp" namespace{ tst::set set("get_all_widgets", [](tst::suite& suite){ suite.add("get_all_widgets_function", []{ morda::gui m(make_dummy_context()); au...
16.835616
78
0.498779
igagis
b4a6e99d62c96a7bf64bf4102df97e5e0a62de59
15,362
cc
C++
src/fcst/source/layers/catalyst_layer.cc
jeremyjiezhou/Learn-PyTorch
7e4404609bacd2ec796f6ca3ea118e8e34ab4a22
[ "MIT" ]
24
2016-10-04T20:49:55.000Z
2022-03-12T19:07:10.000Z
src/fcst/source/layers/catalyst_layer.cc
jeremyjiezhou/Learn-PyTorch
7e4404609bacd2ec796f6ca3ea118e8e34ab4a22
[ "MIT" ]
null
null
null
src/fcst/source/layers/catalyst_layer.cc
jeremyjiezhou/Learn-PyTorch
7e4404609bacd2ec796f6ca3ea118e8e34ab4a22
[ "MIT" ]
9
2016-12-11T22:15:03.000Z
2020-11-21T13:51:05.000Z
//--------------------------------------------------------------------------- // // FCST: Fuel Cell Simulation Toolbox // // Copyright (C) 2013 by Energy Systems Design Laboratory, University of Alberta // // This software is distributed under the MIT License. // For more information, see the README file in...
46.978593
213
0.593217
jeremyjiezhou
b4a7433fbd7f183050b4626f558d7b32054c877f
2,437
cc
C++
rtc_base/testutils.cc
airmelody5211/webrtc-clone
943843f1da42e47668c22ca758830334167f1b17
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
rtc_base/testutils.cc
zhangj1024/webrtc
3a6b729a8edaabd2fe324e1f6f830869ec38d5ab
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
rtc_base/testutils.cc
zhangj1024/webrtc
3a6b729a8edaabd2fe324e1f6f830869ec38d5ab
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
/* * Copyright 2007 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 ...
27.382022
75
0.629462
airmelody5211
b4a756dcb85a3911a1482af0b3334cc0e585488d
243
cpp
C++
libs/core/render/src/bksge_core_render_frame_buffer.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/src/bksge_core_render_frame_buffer.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/src/bksge_core_render_frame_buffer.cpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file bksge_core_render_frame_buffer.cpp * * @brief FrameBuffer の実装 * * @author myoukaku */ #include <bksge/fnd/config.hpp> #if !defined(BKSGE_HEADER_ONLY) #include <bksge/core/render/inl/frame_buffer_inl.hpp> #endif
18.692308
54
0.695473
myoukaku
b4a884b2d92d9c9e3a74e342111feea17c0bff18
2,691
cc
C++
third_party/blink/renderer/core/scroll/scrollbar_theme_overlay_mobile.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/scroll/scrollbar_theme_overlay_mobile.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/scroll/scrollbar_theme_overlay_mobile.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 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 "third_party/blink/renderer/core/scroll/scrollbar_theme_overlay_mobile.h" #include "third_party/blink/public/platform/platform.h" #include "thir...
40.772727
82
0.697882
sarang-apps
b4a96cd3a1e8fba64a73730d66fc74f02cd14db2
4,881
cpp
C++
src/mongo/dbtests/keypatterntests.cpp
wonderslug/mongo
8da54bf660d2a5095e0e20c94734f784d49f0aeb
[ "Apache-2.0" ]
1
2015-07-17T04:37:51.000Z
2015-07-17T04:37:51.000Z
src/mongo/dbtests/keypatterntests.cpp
wonderslug/mongo
8da54bf660d2a5095e0e20c94734f784d49f0aeb
[ "Apache-2.0" ]
null
null
null
src/mongo/dbtests/keypatterntests.cpp
wonderslug/mongo
8da54bf660d2a5095e0e20c94734f784d49f0aeb
[ "Apache-2.0" ]
null
null
null
// keypatterntests.cpp - Tests for the KeyPattern class // /** * Copyright (C) 2012 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * Th...
40.338843
100
0.544356
wonderslug
b4aa0f8d7ffcaf0004af1791b153c8e4f88443eb
5,565
cc
C++
src/eckit/thread/ThreadPool.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
10
2018-03-01T22:11:10.000Z
2021-05-17T14:13:58.000Z
src/eckit/thread/ThreadPool.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
43
2018-04-11T11:13:44.000Z
2022-03-31T15:28:03.000Z
src/eckit/thread/ThreadPool.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
20
2018-03-07T21:36:50.000Z
2022-03-30T13:25:25.000Z
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an interg...
25.645161
120
0.532435
dvuckovic
b4aa9cc7048eb0c33ed984dc932031a41f2588b7
99,824
cpp
C++
src/urAPI.cpp
jongwook/urMus
b3d22e8011253f137a3581e84db8e79accccc7a4
[ "MIT", "AML", "BSD-3-Clause" ]
1
2015-11-05T00:50:07.000Z
2015-11-05T00:50:07.000Z
src/urAPI.cpp
jongwook/urMus
b3d22e8011253f137a3581e84db8e79accccc7a4
[ "MIT", "AML", "BSD-3-Clause" ]
null
null
null
src/urAPI.cpp
jongwook/urMus
b3d22e8011253f137a3581e84db8e79accccc7a4
[ "MIT", "AML", "BSD-3-Clause" ]
null
null
null
/* * urAPI.c * urMus * * Created by Georg Essl on 6/20/09. * Copyright 2009 Georg Essl. All rights reserved. See LICENSE.txt for license details. * */ #include "urAPI.h" #include "urGraphics.h" #include "MachTimer.h" //TODO//#include "RIOAudioUnitLayer.h" #include "urSound.h" #include "httpServer.h" // Mak...
24.34138
132
0.694021
jongwook
b4ab7508b8b65363e2c87d6b37e60967ec9bd4da
2,552
cpp
C++
SimpleEngine/Main.cpp
RichardBangs/SimpleEngine
a4acdf11d05e018db5a55994291475df55856c0c
[ "MIT" ]
null
null
null
SimpleEngine/Main.cpp
RichardBangs/SimpleEngine
a4acdf11d05e018db5a55994291475df55856c0c
[ "MIT" ]
null
null
null
SimpleEngine/Main.cpp
RichardBangs/SimpleEngine
a4acdf11d05e018db5a55994291475df55856c0c
[ "MIT" ]
null
null
null
#include "glew.h" #include "freeglut.h" #include "glm.hpp" #include "Path.h" #include "Renderer\RenderableManager.h" #include "Renderer\Camera.h" #include "Renderer\ShaderLoader.h" #include "Renderer\WindowManager.h" #include "Game\InputManager.h" #include "Game\GameManager.h" #include <iostream> #include <vector>...
20.580645
113
0.723354
RichardBangs
b4ac5ff96fde73b7daa9d1da116a7917e99ad54c
21,270
hpp
C++
lib/include/base_dkg.hpp
fetchai/research-dvrf
943b335e1733bb9b2ef403e4f8237dfdc4f93952
[ "Apache-2.0" ]
16
2020-02-08T00:04:58.000Z
2022-01-18T11:42:07.000Z
lib/include/base_dkg.hpp
fetchai/research-dvrf
943b335e1733bb9b2ef403e4f8237dfdc4f93952
[ "Apache-2.0" ]
null
null
null
lib/include/base_dkg.hpp
fetchai/research-dvrf
943b335e1733bb9b2ef403e4f8237dfdc4f93952
[ "Apache-2.0" ]
4
2021-07-20T08:56:08.000Z
2022-01-03T01:48:12.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2019-2020 Fetch.AI Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Licen...
34.473258
120
0.658063
fetchai
b4b01ddff1189da2fcffbeb47138f9644b0fb89c
1,009
cpp
C++
waterbox/bsnescore/bsnes/sfc/coprocessor/sa1/iram.cpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
waterbox/bsnescore/bsnes/sfc/coprocessor/sa1/iram.cpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
waterbox/bsnescore/bsnes/sfc/coprocessor/sa1/iram.cpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
auto SA1::IRAM::conflict() const -> bool { if(configuration.hacks.coprocessor.delayedSync) return false; if((cpu.r.mar & 0x40f800) == 0x003000) return cpu.refresh() == 0; //00-3f,80-bf:3000-37ff return false; } auto SA1::IRAM::read(uint address, uint8 data) -> uint8 { if(!size()) return data; address = bus...
27.27027
92
0.686819
Fortranm
b4b04407fd4a536b00436666f0ba5fe5c63361b9
909
cpp
C++
venv/lib/python3.7/site-packages/pystan/stan/lib/stan_math/test/unit/math/prim/scal/fun/promote_elements_test.cpp
vchiapaikeo/prophet
e8c250ca7bfffc280baa7dabc80a2c2d1f72c6a7
[ "MIT" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
venv/lib/python3.7/site-packages/pystan/stan/lib/stan_math/test/unit/math/prim/scal/fun/promote_elements_test.cpp
vchiapaikeo/prophet
e8c250ca7bfffc280baa7dabc80a2c2d1f72c6a7
[ "MIT" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
test/unit/math/prim/scal/fun/promote_elements_test.cpp
riddell-stan/math
d84ee0d991400d6cf4b08a07a4e8d86e0651baea
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/scal.hpp> #include <stan/math/rev/core/var.hpp> #include <gtest/gtest.h> #include <boost/typeof/typeof.hpp> #include <type_traits> using stan::math::promote_elements; using stan::math::var; TEST(MathFunctionsScalPromote_Elements, int2double) { int from; promote_elements<double, int> p; ...
27.545455
56
0.752475
vchiapaikeo
b4b0744abd82d7c910b256ca203276348aed6a49
4,101
hpp
C++
ext/src/java/lang/Integer.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/lang/Integer.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/lang/Integer.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <java/lang/Number.hpp> #include <java/lang/Comparable.hpp> struct default_init_tag; class java::lang::Integer final : public Number ...
32.291339
116
0.717142
pebble2015
b4b1b1587b36708cb4f4e6a416f5bd994fd8848a
3,665
cpp
C++
src/GafferBindings/ReferenceBinding.cpp
PaulDoessel/gaffer-play
8b72dabb388e12424c230acfb0bd209049b01bd6
[ "BSD-3-Clause" ]
1
2016-07-31T09:55:09.000Z
2016-07-31T09:55:09.000Z
src/GafferBindings/ReferenceBinding.cpp
Kthulhu/gaffer
8995d579d07231988abc92c3ac2788c15c8bc75c
[ "BSD-3-Clause" ]
null
null
null
src/GafferBindings/ReferenceBinding.cpp
Kthulhu/gaffer
8995d579d07231988abc92c3ac2788c15c8bc75c
[ "BSD-3-Clause" ]
1
2020-02-15T16:15:54.000Z
2020-02-15T16:15:54.000Z
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2013, Image Engine Design 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: // // * R...
33.018018
157
0.703683
PaulDoessel
b4b4b7612769a8959e9781c826428e3fcfdb3b7b
4,441
cpp
C++
tinysdl/Game/Tetris/App.cpp
silent1603/silent1603-TinySDL
7b3470b2e343bcec8d4788de2d817b41bec1141d
[ "MIT" ]
null
null
null
tinysdl/Game/Tetris/App.cpp
silent1603/silent1603-TinySDL
7b3470b2e343bcec8d4788de2d817b41bec1141d
[ "MIT" ]
null
null
null
tinysdl/Game/Tetris/App.cpp
silent1603/silent1603-TinySDL
7b3470b2e343bcec8d4788de2d817b41bec1141d
[ "MIT" ]
null
null
null
#include "App.hpp" namespace Tetris { #define MIN_SIZE_WIDTH 600 #define MIN_SIZE_HEIGHT 400 App::App(/* args */) : m_strTitle("Tetris"), m_iWidth(800), m_iHeight(600) { } App::~App() { } App::App(std::string title, int width, int heig...
28.467949
126
0.517901
silent1603
b4b5b33df2ac6538dd6be817ea7bb9e279244b1a
178
cpp
C++
Iniciante/1008.cpp
nobreconfrade/AKIRA
6040f6db0efe3a4c9ca7fe360859bf3f3ca58e42
[ "Apache-2.0" ]
null
null
null
Iniciante/1008.cpp
nobreconfrade/AKIRA
6040f6db0efe3a4c9ca7fe360859bf3f3ca58e42
[ "Apache-2.0" ]
null
null
null
Iniciante/1008.cpp
nobreconfrade/AKIRA
6040f6db0efe3a4c9ca7fe360859bf3f3ca58e42
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <stdio.h> using namespace std; int main(){ float a,b,c; cin>>a>>b>>c; printf("NUMBER = %.0f\n",a); printf("SALARY = U$ %.2f\n",b*c); return 0; }
17.8
34
0.601124
nobreconfrade
b4b7bf5748274f32a4a9eafc01bedf69be03d47d
2,228
cpp
C++
samples/stencil/average_env/main.cpp
Jerry-Ma/grppi
d6e5435a2c146605fc53eed899d1777ac0b35699
[ "ECL-2.0", "Apache-2.0" ]
75
2017-05-05T08:22:47.000Z
2022-02-18T23:48:13.000Z
samples/stencil/average_env/main.cpp
Jerry-Ma/grppi
d6e5435a2c146605fc53eed899d1777ac0b35699
[ "ECL-2.0", "Apache-2.0" ]
317
2017-03-29T15:26:18.000Z
2021-10-02T04:18:27.000Z
samples/stencil/average_env/main.cpp
Yagoloco2210/grppi
03f3712f282298a64b37dc560b28f6109437b774
[ "ECL-2.0", "Apache-2.0" ]
21
2017-08-02T14:35:19.000Z
2022-02-17T22:19:06.000Z
/* * Copyright 2018 Universidad Carlos III de Madrid * * 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...
25.033708
79
0.639138
Jerry-Ma
b4bab8beddc277e7ec1c0d68931e5cb56e009338
6,914
hpp
C++
dependencies/osi_clp/Clp/src/ClpDynamicExampleMatrix.hpp
zyxrrr/GraphSfM
1af22ec17950ffc8a5c737a6a46f4465c40aa470
[ "BSD-3-Clause" ]
5
2020-01-28T08:38:35.000Z
2021-06-19T04:11:23.000Z
dependencies/osi_clp/Clp/src/ClpDynamicExampleMatrix.hpp
zyxrrr/GraphSfM
1af22ec17950ffc8a5c737a6a46f4465c40aa470
[ "BSD-3-Clause" ]
null
null
null
dependencies/osi_clp/Clp/src/ClpDynamicExampleMatrix.hpp
zyxrrr/GraphSfM
1af22ec17950ffc8a5c737a6a46f4465c40aa470
[ "BSD-3-Clause" ]
3
2019-11-26T14:43:13.000Z
2021-10-06T08:03:46.000Z
/* $Id$ */ // Copyright (C) 2004, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #ifndef ClpDynamicExampleMatrix_H #define ClpDynamicExampleMatrix_H #include "CoinPragma.hpp" #include "ClpDynamicMatrix.hp...
36.973262
98
0.614406
zyxrrr
b4bba29492d76f324d1eb8dc7a2a3a6d3362e579
8,093
cpp
C++
ShaderParser/NodeGraph.cpp
pocketgems/XLE2
82771e9ab1fc3b12927f1687bbe05d4f7dce8765
[ "MIT" ]
3
2018-05-17T08:39:39.000Z
2020-12-09T13:20:26.000Z
ShaderParser/NodeGraph.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
null
null
null
ShaderParser/NodeGraph.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
2
2015-03-03T05:32:39.000Z
2015-12-04T09:16:54.000Z
// Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "NodeGraph.h" namespace GraphLanguage { const std::string s_resultName = "result"; const std::string ParameterName_NodeInstantiation = "<instantiation>"; NodeGra...
35.968889
160
0.540344
pocketgems
b4bc34420daa43633be23c1cc9e20ad6852e3bfe
496
cpp
C++
Contest 1006/D.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1006/D.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1006/D.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
#include<iostream> #include<cmath> #include<iomanip> using namespace std; int main() { unsigned long orig,i,j,tmp; cin >> orig; tmp = orig; if (orig == 1){ cout << "1=1"<<endl; goto endapp; } cout << orig << '='; for (i = 2; tmp != 1 && i<=orig; ++i){ while (tmp%i == ...
19.84
42
0.431452
PC-DOS
b4bdef12b202efb72b46b38e20fb24e47b565294
11,416
cpp
C++
Server/src/modules/SD3/scripts/eastern_kingdoms/zulgurub/instance_zulgurub.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/src/modules/SD3/scripts/eastern_kingdoms/zulgurub/instance_zulgurub.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
Server/src/modules/SD3/scripts/eastern_kingdoms/zulgurub/instance_zulgurub.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
null
null
null
/** * ScriptDev3 is an extension for mangos providing enhanced features for * area triggers, creatures, game objects, instances, items, and spells beyond * the default database scripting in mangos. * * Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/> * Copyright (C) 2014-2022 MaNGOS <https://getma...
32.617143
148
0.530221
ZON3DEV
b4be27c953d61b8905bae5d0d8eb889e3254fc24
441
hpp
C++
Classes/ui/pause/PauseLayer.hpp
cpinan/Turbo-Race
c9394c308a8d25ece63a90326bad7283d5005d46
[ "Apache-2.0" ]
null
null
null
Classes/ui/pause/PauseLayer.hpp
cpinan/Turbo-Race
c9394c308a8d25ece63a90326bad7283d5005d46
[ "Apache-2.0" ]
null
null
null
Classes/ui/pause/PauseLayer.hpp
cpinan/Turbo-Race
c9394c308a8d25ece63a90326bad7283d5005d46
[ "Apache-2.0" ]
null
null
null
// // PauseLayer.hpp // TurboRace // // Created by Carlos Eduardo Pinan Indacochea on 21/02/22. // #ifndef PauseLayer_hpp #define PauseLayer_hpp #include "cocos2d.h" enum PauseButtons { kTagPauseResumeGame = 0, kTagPauseGoHome = 1, kTagPausePlayAgain = 2 }; class PauseLayer : public cocos2d::LayerCol...
15.206897
59
0.698413
cpinan
b4bfe6b3eafcda5b6be8c87c328622e205ab7fd9
6,335
cxx
C++
main/extensions/workben/testcomponent.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/extensions/workben/testcomponent.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/extensions/workben/testcomponent.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
28.926941
105
0.671823
Grosskopf
b4c6dbf231034e03bdfb97199c67fdca208eeaf2
3,882
cpp
C++
libtorrent/test/main.cpp
majestrate/twister-core
b509c202607f09169b3ca2380390eb91f6486238
[ "MIT" ]
754
2015-01-04T02:12:17.000Z
2022-03-20T10:27:35.000Z
libtorrent/test/main.cpp
majestrate/twister-core
b509c202607f09169b3ca2380390eb91f6486238
[ "MIT" ]
144
2015-01-04T03:36:56.000Z
2022-02-04T21:54:21.000Z
libtorrent/test/main.cpp
twisterarmy/twister-core
9584caf124320fd185ec36fa5ffc95cc7891260e
[ "MIT" ]
185
2015-01-04T23:11:39.000Z
2022-03-03T18:39:19.000Z
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
26.958333
81
0.735188
majestrate
b4c8ba33533492c15aee8d37ddd5e8f71a5c8c73
9,822
cpp
C++
tools/rpc_replay/rpc_replay.cpp
coxin12/brpc
3d9a6ec81b74c875464fab1a6ab2ebf6081cadaa
[ "Apache-2.0" ]
1
2021-03-21T14:41:57.000Z
2021-03-21T14:41:57.000Z
tools/rpc_replay/rpc_replay.cpp
shaellancelot/brpc
88481be8ab5ad23b30727ea17b27ce7557779690
[ "Apache-2.0" ]
null
null
null
tools/rpc_replay/rpc_replay.cpp
shaellancelot/brpc
88481be8ab5ad23b30727ea17b27ce7557779690
[ "Apache-2.0" ]
1
2018-03-13T10:29:40.000Z
2018-03-13T10:29:40.000Z
// Copyright (c) 2014 Baidu, 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...
35.716364
88
0.582264
coxin12
b4c96c9995e47735e8c51f89cf4515a8855830f6
1,658
hpp
C++
android-31/android/service/notification/NotificationListenerService_Ranking.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/service/notification/NotificationListenerService_Ranking.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-31/android/service/notification/NotificationListenerService_Ranking.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../../JObject.hpp" namespace android::app { class NotificationChannel; } namespace android::content::pm { class ShortcutInfo; } class JString; class JObject; class JString; namespace android::service::notification { class NotificationListenerService_Ranking : public JObject { public: ...
28.101695
176
0.764777
YJBeetle
b4cb37fb8d82cabc96487db673d422889877bfe4
4,070
cc
C++
chrome/browser/ui/views/autofill/payments/virtual_card_selection_dialog_browsertest.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/ui/views/autofill/payments/virtual_card_selection_dialog_browsertest.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/ui/views/autofill/payments/virtual_card_selection_dialog_browsertest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 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/callback_helpers.h" #include "base/run_loop.h" #include "chrome/browser/ui/autofill/payments/virtual_card_selection_dialog_controller_impl....
34.201681
94
0.739803
Ron423c
b4cbcff6dd3c1ecaabf5a595e8d82e24bcafa1a6
21,105
cpp
C++
core/conn/odbc/src/odbc/nsksrvr/Interface/linux/Listener_srvr_ps.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
148
2015-06-18T21:26:04.000Z
2017-12-25T01:47:01.000Z
core/conn/odbc/src/odbc/nsksrvr/Interface/linux/Listener_srvr_ps.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
1,352
2015-06-20T03:05:01.000Z
2017-12-25T14:13:18.000Z
core/conn/odbc/src/odbc/nsksrvr/Interface/linux/Listener_srvr_ps.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
166
2015-06-19T18:52:10.000Z
2017-12-27T06:19:32.000Z
/********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
29.683544
146
0.641554
CoderSong2015
b4cd3db2b61d2df2b7acb44a0d4910af8ba5d18b
7,493
hpp
C++
heart/src/solver/electrics/monodomain/MonodomainPurkinjeSolver.hpp
SoftMatterMechanics/ApicalStressFibers
17d343c09a246a50f9e3a3cbfc399ca6bef353ce
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-09-10T16:12:13.000Z
2020-09-10T16:12:13.000Z
heart/src/solver/electrics/monodomain/MonodomainPurkinjeSolver.hpp
SoftMatterMechanics/ApicalStressFibers
17d343c09a246a50f9e3a3cbfc399ca6bef353ce
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
heart/src/solver/electrics/monodomain/MonodomainPurkinjeSolver.hpp
SoftMatterMechanics/ApicalStressFibers
17d343c09a246a50f9e3a3cbfc399ca6bef353ce
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-09-10T16:12:21.000Z
2020-09-10T16:12:21.000Z
/* Copyright (c) 2005-2020, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
40.722826
106
0.73949
SoftMatterMechanics
b4d2d41a91ef04a6c22f36a5d1a4454a9662faf1
2,250
cc
C++
libs/numeric/bindings/lapack/test/ublas_gesv.cc
inducer/boost-numeric-bindings
1f994e8a2e161cddb6577eacc76b7bc358701cbe
[ "BSL-1.0" ]
1
2019-01-14T19:18:21.000Z
2019-01-14T19:18:21.000Z
libs/numeric/bindings/lapack/test/ublas_gesv.cc
inducer/boost-numeric-bindings
1f994e8a2e161cddb6577eacc76b7bc358701cbe
[ "BSL-1.0" ]
null
null
null
libs/numeric/bindings/lapack/test/ublas_gesv.cc
inducer/boost-numeric-bindings
1f994e8a2e161cddb6577eacc76b7bc358701cbe
[ "BSL-1.0" ]
1
2020-11-23T09:56:06.000Z
2020-11-23T09:56:06.000Z
// solving A * X = B // using driver function gesv() #include <cstddef> #include <iostream> #include <complex> #include <boost/numeric/bindings/lapack/gesv.hpp> #include <boost/numeric/bindings/traits/ublas_matrix.hpp> #include <boost/numeric/bindings/traits/std_vector.hpp> #include "utils.h" namespace ublas = boost...
22.277228
67
0.507111
inducer
b4d360a6b712b22de80a1575c1c5a6da1e560128
5,130
cpp
C++
src/kl25_tsi.cpp
jlsalvat/mbed_frdm-kl25z
cdb70a1e39108d04dd110eb3ffe1a8056fa2e198
[ "Unlicense" ]
1
2019-11-16T19:37:57.000Z
2019-11-16T19:37:57.000Z
src/kl25_tsi.cpp
jlsalvat/mbed_frdm-kl25z
cdb70a1e39108d04dd110eb3ffe1a8056fa2e198
[ "Unlicense" ]
null
null
null
src/kl25_tsi.cpp
jlsalvat/mbed_frdm-kl25z
cdb70a1e39108d04dd110eb3ffe1a8056fa2e198
[ "Unlicense" ]
null
null
null
#include "kl25_tsi.h" #include "mbed.h" /****************************************************************************** * Example 1 : put a cable on A0 pin and touch this pin for lighting red light #include "mbed.h" DigitalOut red(LED_RED); int main(){ uint16_t sense_A0; tsiInit(TSI_CURRENT_8uA, TSI_CURRENT_64...
34.897959
151
0.64386
jlsalvat
b4d4abdff683cda1524438f03f2b408dfdc4a97d
570
cpp
C++
CONTESTS/CODEFORCES/div2 835/835 B.cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
1
2021-11-22T02:26:43.000Z
2021-11-22T02:26:43.000Z
CONTESTS/CODEFORCES/div2 835/835 B.cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
CONTESTS/CODEFORCES/div2 835/835 B.cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; string s; int main() { // freopen("in.txt", "r", stdin); // freopen("out.txt", "w", stdout); std::ios_base::sync_with_stdio(false); cin.tie(0); ll k, cnt=0; cin>>k>>s; sort(s.begin(), s.end()); ...
14.25
43
0.42807
priojeetpriyom
b4d4b3c7310008c7f8a6d6ded367e9df3489bfa7
62,613
cxx
C++
Libs/MRML/Logic/vtkMRMLColorLogic.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Libs/MRML/Logic/vtkMRMLColorLogic.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Libs/MRML/Logic/vtkMRMLColorLogic.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
/*=auto========================================================================= Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Program: 3D Slicer Module: $RCSfile: vtkMRMLColorLogic.cx...
34.084377
195
0.60644
TheInterventionCentre
b4d5364d6f4d6a845e1119163c1bf5caec1b51c9
4,933
hpp
C++
iOS/G3MiOSSDK/Commons/Basic/CameraGoToPositionEffect.hpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
1
2016-08-23T10:29:44.000Z
2016-08-23T10:29:44.000Z
iOS/G3MiOSSDK/Commons/Basic/CameraGoToPositionEffect.hpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MiOSSDK/Commons/Basic/CameraGoToPositionEffect.hpp
restjohn/g3m
608657fd6f0e2898bd963d15136ff085b499e97e
[ "BSD-2-Clause" ]
null
null
null
// // CameraGoToPositionEffect.hpp // G3MiOSSDK // // Created by José Miguel S N on 24/10/12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #ifndef G3MiOSSDK_CameraGoToPositionEffect #define G3MiOSSDK_CameraGoToPositionEffect #include "Geodetic3D.hpp" class CameraGoToPositionEffect : public E...
33.331081
116
0.618285
restjohn
b4d580f9e0c0ddd4943739636a66ffdb9888716c
4,402
cc
C++
cc/test/test_in_process_context_provider.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-08-13T21:04:58.000Z
2015-08-13T21:04:58.000Z
cc/test/test_in_process_context_provider.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
cc/test/test_in_process_context_provider.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T06:34:36.000Z
2020-11-04T06:34:36.000Z
// Copyright 2013 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 "cc/test/test_in_process_context_provider.h" #include "base/lazy_instance.h" #include "gpu/GLES2/gl2extchromium.h" #include "gpu/command_buffer/...
31.442857
80
0.76965
Fusion-Rom
b4d5dc235eabd6ec0fbe5f492ca7e75afea7c2e3
2,811
cpp
C++
src/machine_address_transfer.cpp
CyberZHG/MIXAL
06ebe91bb5abcc1ed4ff4af71809a1a41272c4f3
[ "MIT" ]
5
2020-07-15T16:16:06.000Z
2021-07-14T04:26:36.000Z
src/machine_address_transfer.cpp
CyberZHG/MIXAL
06ebe91bb5abcc1ed4ff4af71809a1a41272c4f3
[ "MIT" ]
1
2020-08-15T16:13:40.000Z
2020-08-15T16:13:40.000Z
src/machine_address_transfer.cpp
CyberZHG/MIXAL
06ebe91bb5abcc1ed4ff4af71809a1a41272c4f3
[ "MIT" ]
2
2020-08-16T00:41:48.000Z
2021-05-23T18:43:33.000Z
#include <iostream> #include "machine.h" /** * @file * @brief Address transfer operations. */ namespace mixal { /** Increase rA or rX by the address value. * * @see overflow */ void Computer::executeINC(const InstructionWord& instruction, Register5* reg) { int32_t value = reg->value(); int32_t address...
29.904255
79
0.683742
CyberZHG
b4d729af309196232b690f0ee270d9d0e80326e3
3,723
cpp
C++
Core/Widgets/SiteIcon.cpp
Acidburn0zzz/navigateur-seilo-js
097ef5f9996333eef903f8c7fbc419cfc28ae03d
[ "MIT" ]
1
2018-06-19T06:17:48.000Z
2018-06-19T06:17:48.000Z
Core/Widgets/SiteIcon.cpp
Acidburn0zzz/navigateur-seilo-js
097ef5f9996333eef903f8c7fbc419cfc28ae03d
[ "MIT" ]
null
null
null
Core/Widgets/SiteIcon.cpp
Acidburn0zzz/navigateur-seilo-js
097ef5f9996333eef903f8c7fbc419cfc28ae03d
[ "MIT" ]
null
null
null
/*********************************************************************************** ** MIT License ** ** ** ** Copyright (c) 2018 Victor DENIS ([email protected]) ...
32.094828
84
0.583132
Acidburn0zzz
b4d83621cae5c1d2d77fddcdbb56b3331e22b7a9
252
cpp
C++
src/kriti/TimeValue.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
2
2015-10-05T19:33:19.000Z
2015-12-08T08:39:17.000Z
src/kriti/TimeValue.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
1
2017-04-30T16:26:08.000Z
2017-05-01T03:00:42.000Z
src/kriti/TimeValue.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
null
null
null
#include <time.h> #include "TimeValue.h" namespace Kriti { TimeValue TimeValue::current() { struct timespec current; clock_gettime(CLOCK_MONOTONIC, &current); return current.tv_nsec + current.tv_sec*1000000000; } } // namespace Kriti
16.8
55
0.718254
etherealvisage
b4d8f1b7d1c9ce6f4f1739de3b99b23960b45c80
4,471
hpp
C++
src/oatpp/codegen/api_controller/base_undef.hpp
Purlemon/oatpp
128816a027ca82f8de8da5bad445641e71fb437f
[ "Apache-2.0" ]
5,252
2018-04-04T13:52:44.000Z
2022-03-31T13:42:28.000Z
src/oatpp/codegen/api_controller/base_undef.hpp
Purlemon/oatpp
128816a027ca82f8de8da5bad445641e71fb437f
[ "Apache-2.0" ]
416
2018-04-22T14:03:25.000Z
2022-03-31T13:30:56.000Z
src/oatpp/codegen/api_controller/base_undef.hpp
Purlemon/oatpp
128816a027ca82f8de8da5bad445641e71fb437f
[ "Apache-2.0" ]
1,140
2018-07-31T10:09:52.000Z
2022-03-31T19:18:13.000Z
/*************************************************************************** * * Project _____ __ ____ _ _ * ( _ ) /__\ (_ _)_| |_ _| |_ * )(_)( /(__)\ )( (_ _)(_ _) * (_____)(__)(__)(__) |_| |_| * * * Copyright 2018-present, Leoni...
30.834483
81
0.669425
Purlemon
b4db1d7e68a00024cf8e4ef64494ce6f134282b0
26,522
cpp
C++
dependencies/FreeImage/FreeImage/PluginPNG.cpp
sumneko/BLPConverter
792392375061b80f3275f04353715b183309f91f
[ "MIT" ]
53
2015-01-21T02:20:04.000Z
2022-03-14T20:52:10.000Z
dependencies/FreeImage/FreeImage/PluginPNG.cpp
sumneko/BLPConverter
792392375061b80f3275f04353715b183309f91f
[ "MIT" ]
5
2016-01-10T08:54:22.000Z
2020-09-10T14:58:23.000Z
dependencies/FreeImage/FreeImage/PluginPNG.cpp
sumneko/BLPConverter
792392375061b80f3275f04353715b183309f91f
[ "MIT" ]
29
2015-02-13T13:42:23.000Z
2021-12-22T16:04:47.000Z
// ========================================================== // PNG Loader and Writer // // Design and implementation by // - Floris van den Berg ([email protected]) // - Herve Drolon ([email protected]) // - Detlev Vendt ([email protected]) // - Aaron Shumate ([email protected]) // // This file is part of FreeI...
28.922574
116
0.669557
sumneko
b4dd8f024ae515013e5bf490deb1d1acd9740376
4,249
cpp
C++
src/server/old/server_simulated/server_simple.cpp
EdgeLab-FHDO/ResourceAllocationE2EL
426d0104ab3439c1b107262aeade340999a8bafb
[ "MIT" ]
null
null
null
src/server/old/server_simulated/server_simple.cpp
EdgeLab-FHDO/ResourceAllocationE2EL
426d0104ab3439c1b107262aeade340999a8bafb
[ "MIT" ]
1
2020-04-14T17:10:46.000Z
2020-04-14T17:10:46.000Z
src/server/old/server_simulated/server_simple.cpp
EdgeLab-FHDO/ResourceAllocationE2EL
426d0104ab3439c1b107262aeade340999a8bafb
[ "MIT" ]
null
null
null
/* A simple server in the internet domain using TCP The port number is passed as an argument */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <iostream> #include <cpprest/http_client.h> #inc...
27.590909
102
0.587197
EdgeLab-FHDO
b4de8f00ebe48a9ced52f6fa51080c759423ad08
1,461
hpp
C++
third_party/boost/simd/function/bitwise_and.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
5
2018-02-20T11:21:12.000Z
2019-11-12T13:45:09.000Z
third_party/boost/simd/function/bitwise_and.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/function/bitwise_and.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
2
2017-12-12T12:29:52.000Z
2019-04-08T15:55:25.000Z
//================================================================================================== /*! @file @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //===========================...
24.762712
100
0.613963
xmar
b4dfbda23cada387b7d3ed387269647ba5ec2850
722
cc
C++
Contests/Virtual Judge/Summer 20190710/A.cc
DCTewi/My-Codes
9904f8057ec96e21cbc8cf9c62a49658a0f6d392
[ "MIT" ]
null
null
null
Contests/Virtual Judge/Summer 20190710/A.cc
DCTewi/My-Codes
9904f8057ec96e21cbc8cf9c62a49658a0f6d392
[ "MIT" ]
null
null
null
Contests/Virtual Judge/Summer 20190710/A.cc
DCTewi/My-Codes
9904f8057ec96e21cbc8cf9c62a49658a0f6d392
[ "MIT" ]
null
null
null
// A Calandar #include <bits/stdc++.h> using namespace std; typedef long long ll; const string days[] = {"Friday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday"}; string date; ll yy1, yy2, m1, m2, d1, d2, offset; int main() { int T; scanf("%d", &T); while (T--) { scanf("%lld%lld%lld", &y...
21.878788
89
0.445983
DCTewi
b4e16904f5ba11c19ee99bfeb9e8205bcf639a10
728
cc
C++
cxx/satellite/src/SensitiveDetectorFactory.cc
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
cxx/satellite/src/SensitiveDetectorFactory.cc
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
cxx/satellite/src/SensitiveDetectorFactory.cc
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
// // Created by zelenyy on 07.12.17. // #include "SensitiveDetectorFactory.hh" #include "SensitiveScoredDetector.hh" #include "G4SDManager.hh" using namespace std; G4VSensitiveDetector *SensitiveDetectorFactory::getSensitiveDetector(G4GDMLAuxListType::const_iterator vit) { auto name = (*vit).value; G4SDMan...
26.962963
109
0.721154
Zelenyy
b4e2959d4569b3a2fe6e34d099433cc45686a1a4
924
cpp
C++
test/examples_test/02_module_test/02_module_tests.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-Ruby1909
3edea4f327aea2b8c9c7e788693339d1625a039f
[ "MIT" ]
null
null
null
test/examples_test/02_module_test/02_module_tests.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-Ruby1909
3edea4f327aea2b8c9c7e788693339d1625a039f
[ "MIT" ]
null
null
null
test/examples_test/02_module_test/02_module_tests.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-Ruby1909
3edea4f327aea2b8c9c7e788693339d1625a039f
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp" #include "if.h" #include "if_else.h" #include "switch.h" TEST_CASE("Verify Test Configuration", "verification") { REQUIRE(true == true); } TEST_CASE("Test is even function") { REQUIRE(is_even(2) ==...
27.176471
97
0.685065
acc-cosc-1337-spring-2020
b4e30396f958ebc6cf81d57b713635ac95a5406e
2,658
cpp
C++
actions/SendMessageAction.cpp
horfee/alarmpi
e48e016d2378f0db0ef19abd47d144d0b1dbd904
[ "Apache-2.0" ]
null
null
null
actions/SendMessageAction.cpp
horfee/alarmpi
e48e016d2378f0db0ef19abd47d144d0b1dbd904
[ "Apache-2.0" ]
null
null
null
actions/SendMessageAction.cpp
horfee/alarmpi
e48e016d2378f0db0ef19abd47d144d0b1dbd904
[ "Apache-2.0" ]
null
null
null
/* * SendMessageAction.cpp * * Created on: 3 août 2015 * Author: horfee */ #include "SendMessageAction.h" #include "../Properties.h" #include <ctime> #include <locale> namespace alarmpi { SendMessageAction::SendMessageAction(std::string name, std::string message, bool synchronous): Action(name, synchrono...
29.208791
140
0.611362
horfee
b4e59b2d4ff7ae5363cb8830079782c204448464
7,679
cpp
C++
src/runtime_src/core/tools/common/XBMain.cpp
DavidMarec/XRT
629f07123bff878a7916b82068b925acf5c4aa9c
[ "Apache-2.0" ]
null
null
null
src/runtime_src/core/tools/common/XBMain.cpp
DavidMarec/XRT
629f07123bff878a7916b82068b925acf5c4aa9c
[ "Apache-2.0" ]
null
null
null
src/runtime_src/core/tools/common/XBMain.cpp
DavidMarec/XRT
629f07123bff878a7916b82068b925acf5c4aa9c
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2019-2022 Xilinx, Inc * * 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
37.096618
234
0.650345
DavidMarec
b4e868e08e9d479d724d5eff05c4abb63dbde16f
569
cpp
C++
cpp/optimizers/ut/optimizer_ut.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
1
2019-02-15T09:40:43.000Z
2019-02-15T09:40:43.000Z
cpp/optimizers/ut/optimizer_ut.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
null
null
null
cpp/optimizers/ut/optimizer_ut.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
2
2018-09-29T10:17:26.000Z
2018-10-03T20:33:31.000Z
#include <core/vec_factory.h> #include <core/optimizers/gradient_descent.h> #include <core/vec_tools/fill.h> #include <core/vec_tools/distance.h> #include <core/funcs/lq.h> #include <gtest/gtest.h> TEST(Optimizer, GradientDescentTest) { const int N = 10; const double q = 2; const double EPS = 0.01; G...
20.321429
55
0.659051
equivalence1
b4e8e9b3393dddbcf50e3367d317acd84f1c7744
18,826
hpp
C++
gsa/wit/COIN/Bcp/include/BCP_matrix.hpp
kant/CMMPPT
c64b339712db28a619880c4c04839aef7d3b6e2b
[ "Apache-2.0" ]
1
2019-10-25T05:25:23.000Z
2019-10-25T05:25:23.000Z
gsa/wit/COIN/Bcp/include/BCP_matrix.hpp
kant/CMMPPT
c64b339712db28a619880c4c04839aef7d3b6e2b
[ "Apache-2.0" ]
2
2019-09-04T17:34:59.000Z
2020-09-16T08:10:57.000Z
gsa/wit/COIN/Bcp/include/BCP_matrix.hpp
kant/CMMPPT
c64b339712db28a619880c4c04839aef7d3b6e2b
[ "Apache-2.0" ]
18
2019-07-22T19:01:25.000Z
2022-03-03T15:36:11.000Z
// Copyright (C) 2000, International Business Machines // Corporation and others. All Rights Reserved. #ifndef _BCP_MATRIX_H #define _BCP_MATRIX_H // This file is fully docified. #include <cmath> #include <cfloat> #include "CoinPackedVector.hpp" #include "CoinPackedMatrix.hpp" #include "BCP_vector.hpp" //########...
41.650442
79
0.625783
kant
b4edd9903a9b291dca0cc419439d573b9a957efb
5,512
cpp
C++
Desktop/Lib/CCore/src/video/lib/Shape.FixedFrame.cpp
SergeyStrukov/CCore-3-xx
820507e78f8aa35ca05761e00e060c8f64c59af5
[ "BSL-1.0" ]
8
2017-12-21T07:00:16.000Z
2020-04-02T09:05:55.000Z
Desktop/Lib/CCore/src/video/lib/Shape.FixedFrame.cpp
SergeyStrukov/CCore-3-xx
820507e78f8aa35ca05761e00e060c8f64c59af5
[ "BSL-1.0" ]
null
null
null
Desktop/Lib/CCore/src/video/lib/Shape.FixedFrame.cpp
SergeyStrukov/CCore-3-xx
820507e78f8aa35ca05761e00e060c8f64c59af5
[ "BSL-1.0" ]
1
2020-03-30T09:54:18.000Z
2020-03-30T09:54:18.000Z
/* Shape.FixedFrame.cpp */ //---------------------------------------------------------------------------------------- // // Project: CCore 3.50 // // Tag: Desktop // // License: Boost Software License - Version 1.0 - August 17th, 2003 // // see http://www.boost.org/LICENSE_1_0.txt or the local copy // // ...
21.53125
90
0.630987
SergeyStrukov
b4eef0fcf4c0c5747f617ca484bff6622669060b
11,488
cc
C++
algorithms/loopclosure/inverted-multi-index/test/test_inverted-multi-index.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
1,936
2017-11-27T23:11:37.000Z
2022-03-30T14:24:14.000Z
algorithms/loopclosure/inverted-multi-index/test/test_inverted-multi-index.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
353
2017-11-29T18:40:39.000Z
2022-03-30T15:53:46.000Z
algorithms/loopclosure/inverted-multi-index/test/test_inverted-multi-index.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
661
2017-11-28T07:20:08.000Z
2022-03-28T08:06:29.000Z
#include <utility> #include <vector> #include <Eigen/Core> #include <aslam/common/memory.h> #include <maplab-common/test/testing-entrypoint.h> #include <maplab-common/test/testing-predicates.h> #include <inverted-multi-index/inverted-multi-index-common.h> #include <inverted-multi-index/inverted-multi-index.h> namesp...
48.677966
80
0.616382
AdronTech
b4f02c1822a80467f974b87e28504ea4c78819be
12,609
cpp
C++
C++/6.cpp
pissmilk/old_homework
e7d07fc6773529df2fe09cfa61b751e3a18fbf28
[ "MIT" ]
null
null
null
C++/6.cpp
pissmilk/old_homework
e7d07fc6773529df2fe09cfa61b751e3a18fbf28
[ "MIT" ]
null
null
null
C++/6.cpp
pissmilk/old_homework
e7d07fc6773529df2fe09cfa61b751e3a18fbf28
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; class Hole { public: bool isEmpty = true; int id = -1; Hole *upRight = nullptr; Hole *upLeft = nullptr; Hole *downLeft = nullptr; Hole *downRight = nullptr; Hole *left = nullptr; Hole *right...
38.325228
207
0.44722
pissmilk
b4f0464df70ec90e1830f970cde7a89b2b9bf6db
10,795
cpp
C++
example/oglplus/026_stencil_shadow.cpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
example/oglplus/026_stencil_shadow.cpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
example/oglplus/026_stencil_shadow.cpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
/** * @example oglplus/026_stencil_shadow.cpp * @brief Shows how to render shadows using geometry shader and stencil buffer * * @oglplus_screenshot{026_stencil_shadow} * * Copyright 2008-2015 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0....
25.459906
87
0.663733
Extrunder
b4f10f80f28b32110c8241615f73353e7c005a39
2,185
hpp
C++
extras/deprecated/vom/vom/l2_emulation_cmds.hpp
yasics/vpp
a4d0956082f12ac8269fd415134af7f605c1f3c9
[ "Apache-2.0" ]
751
2017-07-13T06:16:46.000Z
2022-03-30T09:14:35.000Z
extras/deprecated/vom/vom/l2_emulation_cmds.hpp
yasics/vpp
a4d0956082f12ac8269fd415134af7f605c1f3c9
[ "Apache-2.0" ]
32
2021-03-24T06:04:08.000Z
2021-09-14T02:02:22.000Z
extras/deprecated/vom/vom/l2_emulation_cmds.hpp
yasics/vpp
a4d0956082f12ac8269fd415134af7f605c1f3c9
[ "Apache-2.0" ]
479
2017-07-13T06:17:26.000Z
2022-03-31T18:20:43.000Z
/* * Copyright (c) 2017 Cisco and/or its affiliates. * 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 applicabl...
21.213592
75
0.679634
yasics