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
1b810ec3f5ca1cb0bd9cfd2c2903caaed49c0e7e
6,133
hxx
C++
opencascade/AdvApp2Var_ApproxF2var.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/AdvApp2Var_ApproxF2var.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/AdvApp2Var_ApproxF2var.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with spe...
27.751131
81
0.585358
mgreminger
1b823b8aafefca059bd3731c308007b7c4e82603
31,992
cc
C++
sources/opl3/ui/operator_editor.cc
jfrey-xx/ADLplug
108944ab774d3bbcf5cfdc78e1df4e82a88ea522
[ "BSL-1.0" ]
316
2018-04-19T14:44:25.000Z
2022-03-28T23:58:05.000Z
sources/opl3/ui/operator_editor.cc
jfrey-xx/ADLplug
108944ab774d3bbcf5cfdc78e1df4e82a88ea522
[ "BSL-1.0" ]
81
2018-04-21T11:04:46.000Z
2022-02-22T19:51:08.000Z
sources/opl3/ui/operator_editor.cc
jfrey-xx/ADLplug
108944ab774d3bbcf5cfdc78e1df4e82a88ea522
[ "BSL-1.0" ]
23
2018-09-01T18:04:33.000Z
2021-11-18T11:36:35.000Z
/* ============================================================================== This is an automatically generated GUI class created by the Projucer! Be careful when adding custom code to these files, as only the code within the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loade...
40.190955
133
0.624594
jfrey-xx
1b82c04d6fa6d0e0e0c770de4422db1b18a26c69
2,386
inl
C++
WebAssembly/fpzip/src/pcencoder.inl
jvo203/FITSWEBQLSE
3b2b3c74d623c3510cfa81a4e30ac5bd0af48cb0
[ "MIT" ]
60
2020-01-03T20:12:39.000Z
2022-03-14T19:46:22.000Z
src/pcencoder.inl
aras-p/fpzip
79aa1b1bd5a0b9497b8ad4352d8561ab17113cdf
[ "BSD-3-Clause" ]
4
2020-06-05T16:59:29.000Z
2021-06-16T09:06:02.000Z
src/pcencoder.inl
aras-p/fpzip
79aa1b1bd5a0b9497b8ad4352d8561ab17113cdf
[ "BSD-3-Clause" ]
5
2020-03-13T10:18:17.000Z
2021-08-28T18:04:41.000Z
// specialization for small alphabets ----------------------------------------- template <typename T, class M> class PCencoder<T, M, false> { public: PCencoder(RCencoder* re, RCmodel*const* rm) : re(re), rm(rm) {} T encode(T real, T pred, uint context = 0); static const uint symbols = 2 * (1 << M::bits) - 1; pri...
33.138889
79
0.564962
jvo203
1b82c19dfb057df6ede2b70d4cc2fce9324d6558
38
hh
C++
RAVL2/MSVC/include/Ravl/DP/Pipes.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/DP/Pipes.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/DP/Pipes.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
#include "../.././Core/IO/Pipes.hh"
9.5
35
0.526316
isuhao
1b875b3349081687e6b9c5fe6094e309e2713ab7
31,250
cc
C++
curv/builtin.cc
iplayfast/curv
e14ff67ba269c630b78be4708454fefcdbfc4378
[ "Apache-2.0" ]
null
null
null
curv/builtin.cc
iplayfast/curv
e14ff67ba269c630b78be4708454fefcdbfc4378
[ "Apache-2.0" ]
null
null
null
curv/builtin.cc
iplayfast/curv
e14ff67ba269c630b78be4708454fefcdbfc4378
[ "Apache-2.0" ]
null
null
null
// Copyright 2016-2018 Doug Moen // Licensed under the Apache License, version 2.0 // See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0 #include <cassert> #include <cmath> #include <cstdlib> #include <string> #include <boost/math/constants/constants.hpp> #include <boost/filesystem.hpp> #in...
31.75813
84
0.588096
iplayfast
1b88e855a8002879c5a18bafa21bc646d65cfc8e
13,643
cpp
C++
source/lib/PccLibEncoder/source/PCCNormalsGenerator.cpp
Dinghow/mpeg-pcc-tmc2
1018e5467ea0d18b879272bcba8c060e1cfd97a9
[ "BSD-3-Clause" ]
null
null
null
source/lib/PccLibEncoder/source/PCCNormalsGenerator.cpp
Dinghow/mpeg-pcc-tmc2
1018e5467ea0d18b879272bcba8c060e1cfd97a9
[ "BSD-3-Clause" ]
null
null
null
source/lib/PccLibEncoder/source/PCCNormalsGenerator.cpp
Dinghow/mpeg-pcc-tmc2
1018e5467ea0d18b879272bcba8c060e1cfd97a9
[ "BSD-3-Clause" ]
null
null
null
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2017, ISO/IEC * All rights reser...
44.152104
121
0.564978
Dinghow
1b8a52d6a1f2b485a9f6a9701005c7f41033b698
4,737
cpp
C++
plugins/WinVST/UltrasonX/UltrasonX.cpp
themucha/airwindows
13bace268f2356e2a037e935c0845d91bfcb79a6
[ "MIT" ]
null
null
null
plugins/WinVST/UltrasonX/UltrasonX.cpp
themucha/airwindows
13bace268f2356e2a037e935c0845d91bfcb79a6
[ "MIT" ]
null
null
null
plugins/WinVST/UltrasonX/UltrasonX.cpp
themucha/airwindows
13bace268f2356e2a037e935c0845d91bfcb79a6
[ "MIT" ]
null
null
null
/* ======================================== * UltrasonX - UltrasonX.h * Copyright (c) 2016 airwindows, All rights reserved * ======================================== */ #ifndef __UltrasonX_H #include "UltrasonX.h" #endif AudioEffect* createEffectInstance(audioMasterCallback audioMaster) {return new UltrasonX(aud...
37.007813
104
0.695799
themucha
b8440821b6c2207c4e18a7d8705d5c5f3141435e
9,091
cpp
C++
src/select/select_impl.cpp
b1nhm1nh/zsummerX
0825d2a3b7476df614411c65a59f94df4fb927f6
[ "MIT" ]
343
2015-01-23T09:48:53.000Z
2022-03-17T04:42:22.000Z
src/select/select_impl.cpp
zhuguang/zsummerX
8e2e355aaa2f64d37348633ea5c2f1ec44a54152
[ "MIT" ]
22
2015-05-06T13:47:17.000Z
2021-04-11T11:39:51.000Z
src/select/select_impl.cpp
zhuguang/zsummerX
8e2e355aaa2f64d37348633ea5c2f1ec44a54152
[ "MIT" ]
178
2015-02-13T03:30:10.000Z
2022-03-17T04:42:13.000Z
/* * zsummerX License * ----------- * * zsummerX is licensed under the terms of the MIT license reproduced below. * This means that zsummerX is free software and can be used for both academic * and commercial purposes at absolutely no cost. * * * ============================================================...
29.420712
109
0.571554
b1nhm1nh
b84602d59cb7ef68d70b89dd04d7c07da56ae332
625
ipp
C++
libs/config/test/boost_no_std_typeinfo.ipp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
11
2015-07-12T13:04:52.000Z
2021-05-30T23:23:46.000Z
libs/config/test/boost_no_std_typeinfo.ipp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
null
null
null
libs/config/test/boost_no_std_typeinfo.ipp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
3
2015-12-23T01:51:57.000Z
2019-08-25T04:58:32.000Z
// (C) Copyright Peter Dimov 2007. // Use, modification and distribution are subject to 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) // See http://www.boost.org/libs/config for most recent version. // MACRO: ...
25
99
0.6768
zyiacas
b846d36adac564c33820141a84eebee099380df9
2,739
cxx
C++
sw/3rd_party/VTK-7.1.0/Examples/ParallelProcessing/Generic/Cxx/TaskParallelismWithPorts.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
4
2019-05-30T01:52:12.000Z
2021-09-29T21:12:13.000Z
sw/3rd_party/VTK-7.1.0/Examples/ParallelProcessing/Generic/Cxx/TaskParallelismWithPorts.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
null
null
null
sw/3rd_party/VTK-7.1.0/Examples/ParallelProcessing/Generic/Cxx/TaskParallelismWithPorts.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
2
2019-08-30T23:36:13.000Z
2019-11-08T16:52:01.000Z
/*========================================================================= Program: Visualization Toolkit Module: TaskParallelismWithPorts.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
29.138298
76
0.619204
esean
b84757937bcb1064675cd86e3362120718882383
3,240
cpp
C++
labs3_17142.cpp
goongg/SamSung
d07f8ca06fa21c2c26f63f89978b79a204373262
[ "CECILL-B" ]
null
null
null
labs3_17142.cpp
goongg/SamSung
d07f8ca06fa21c2c26f63f89978b79a204373262
[ "CECILL-B" ]
null
null
null
labs3_17142.cpp
goongg/SamSung
d07f8ca06fa21c2c26f63f89978b79a204373262
[ "CECILL-B" ]
null
null
null
//연구소 3 다시풀기 8시 40분 #include <iostream> #include <vector> #include <queue> #include <algorithm> #include <string> using namespace std; #define debug 0 int dx[4] ={ -1, 0, 1, 0}; int dy[4] ={ 0, 1, 0, -1 }; class lab { public: int n, m; vector<int> t; vector<int> vis; int blac=0; int time; ...
21.315789
100
0.437346
goongg
b8478a49f898e10c0bb161004640961b96364e04
1,492
cpp
C++
platform/glfw/glfw_renderer_frontend.cpp
gomapi/gomapi-sdk-ios
e494bf0b31f612b5547e2830c1179ecd8bf350ed
[ "BSL-1.0", "Apache-2.0" ]
5
2019-12-02T07:13:06.000Z
2019-12-02T14:34:36.000Z
platform/glfw/glfw_renderer_frontend.cpp
gomapi/gomapi-sdk-ios
e494bf0b31f612b5547e2830c1179ecd8bf350ed
[ "BSL-1.0", "Apache-2.0" ]
1
2021-05-28T03:48:40.000Z
2021-05-28T03:48:40.000Z
platform/glfw/glfw_renderer_frontend.cpp
gomapi/gomapi-sdk-ios
e494bf0b31f612b5547e2830c1179ecd8bf350ed
[ "BSL-1.0", "Apache-2.0" ]
1
2020-02-12T14:00:22.000Z
2020-02-12T14:00:22.000Z
#include "glfw_renderer_frontend.hpp" #include <mbgl/renderer/renderer.hpp> #include <mbgl/gfx/backend_scope.hpp> GLFWRendererFrontend::GLFWRendererFrontend(std::unique_ptr<mbgl::Renderer> renderer_, GLFWView& glfwView_) : glfwView(glfwView_) , renderer(std::move(renderer_)) { glfwView.setRenderFronte...
31.083333
114
0.735925
gomapi
b8484451cf9ee98b67f41ee32d67249456d1ea73
5,912
cpp
C++
app/application.cpp
Lut1n/Vulkan-BrickBreaker
05b2c9a59277d2a18e4ba8085ccc77ce620a8ca8
[ "MIT" ]
1
2020-06-15T01:44:13.000Z
2020-06-15T01:44:13.000Z
app/application.cpp
Lut1n/Vulkan-BrickBreaker
05b2c9a59277d2a18e4ba8085ccc77ce620a8ca8
[ "MIT" ]
null
null
null
app/application.cpp
Lut1n/Vulkan-BrickBreaker
05b2c9a59277d2a18e4ba8085ccc77ce620a8ca8
[ "MIT" ]
null
null
null
#include "application.h" #include "game/brick.h" #include "game/paddle.h" #include "game/platform.h" #include "game/background.h" #include "game/camera.h" #include "game/ball.h" //-------------------------------------------------------------- MiniVkApplication::MiniVkApplication() : currentFrame(0) ...
30.791667
130
0.594384
Lut1n
b84b2061b6d35ec21dc7194e137c0044517a953f
4,840
cpp
C++
kjvm/kjvm.cpp
kuasha/jvm
e2244e6ac985fd299db742c8a7bb90893885c20d
[ "MIT" ]
8
2020-10-15T05:35:09.000Z
2021-06-06T17:53:18.000Z
kjvm/kjvm.cpp
kuasha/jvm
e2244e6ac985fd299db742c8a7bb90893885c20d
[ "MIT" ]
null
null
null
kjvm/kjvm.cpp
kuasha/jvm
e2244e6ac985fd299db742c8a7bb90893885c20d
[ "MIT" ]
2
2021-06-05T04:34:10.000Z
2022-03-13T14:40:03.000Z
// kjvm.cpp : Defines the entry point for the console application. // #include <stdio.h> #include <string.h> #include <assert.h> #include "kjvm.h" #include "JavaClass.h" #include "ClassHeap.h" #include "types.h" #include "constants.h" #include "ExecutionEngine.h" #include "ObjectHeap.h" JavaClass *LoadC...
27.344633
222
0.648347
kuasha
b84c5b8194f8d705b07ce95ab810647313f3ac03
1,064
cpp
C++
Easy/38 - Count and Say.cpp
WangZixuan/Leetcode
4593e8b48c4ce810567473a825735ffde3f7a0f0
[ "WTFPL" ]
11
2015-08-06T15:43:48.000Z
2022-02-16T01:30:24.000Z
Easy/38 - Count and Say.cpp
WangZixuan/Leetcode
4593e8b48c4ce810567473a825735ffde3f7a0f0
[ "WTFPL" ]
1
2015-08-17T13:33:55.000Z
2015-08-27T03:43:47.000Z
Easy/38 - Count and Say.cpp
WangZixuan/Leetcode
4593e8b48c4ce810567473a825735ffde3f7a0f0
[ "WTFPL" ]
2
2021-09-30T14:39:05.000Z
2021-10-02T11:02:20.000Z
/* Count and Say The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11. 11 is read off as "two 1s" or 21. 21 is read off as "one 2, then one 1" or 1211. Given an integer n, generate the nth sequence. Note: The sequence of integers ...
16.888889
76
0.607143
WangZixuan
b84d05416a4b47afcb3ba24dd7e08de57c80ed39
658
cpp
C++
exam-1/fall-2018/9.cpp
lherman-cs/cs4160
abcc582e59f139ba8d8e74600ee028f321b308fd
[ "Apache-2.0" ]
2
2019-04-18T21:28:18.000Z
2019-04-18T21:28:52.000Z
exam-1/fall-2018/9.cpp
lherman-cs/cs4160
abcc582e59f139ba8d8e74600ee028f321b308fd
[ "Apache-2.0" ]
null
null
null
exam-1/fall-2018/9.cpp
lherman-cs/cs4160
abcc582e59f139ba8d8e74600ee028f321b308fd
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <list> const int MAX = 20; const int MAX_NUMBER = 101; void eraseLessThan(std::list<int> &l, int max) { std::cout << "removing all less than " << max << std::endl; auto it = l.begin(); while (it != l.end()) { if (*it < max) { it = l.erase(it); } else { it++; }...
19.939394
69
0.534954
lherman-cs
b85420fdf60791b0a6e3b9d29c2984bd67cf6921
2,214
cc
C++
test/test_fseek.cc
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
1
2020-09-10T16:47:09.000Z
2020-09-10T16:47:09.000Z
test/test_fseek.cc
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
null
null
null
test/test_fseek.cc
menonfled/menon_cpp_lib
729bb581023e7558360fd17ac0866e20b2d7ec40
[ "BSL-1.0" ]
null
null
null
// test_fseek.cc #include "menon/io.hh" #include <boost/core/lightweight_test.hpp> #include <cstddef> #include <vector> #include <fstream> // テストデータの作成 long long make_test_file(char const* path) { std::vector<std::byte> v(256, std::byte(123)); if (auto stream = std::fopen(path, "wb")) { std::fwrite(v.data()...
25.744186
60
0.644986
menonfled
b854ce1b6c524e8dc9fdf931860abf58d57a087a
6,084
cpp
C++
lc7/src/CLC7NavBar.cpp
phixion/l0phtcrack
48ee2f711134e178dbedbd925640f6b3b663fbb5
[ "Apache-2.0", "MIT" ]
2
2021-10-20T00:25:39.000Z
2021-11-08T12:52:42.000Z
lc7/src/CLC7NavBar.cpp
Brute-f0rce/l0phtcrack
25f681c07828e5e68e0dd788d84cc13c154aed3d
[ "Apache-2.0", "MIT" ]
null
null
null
lc7/src/CLC7NavBar.cpp
Brute-f0rce/l0phtcrack
25f681c07828e5e68e0dd788d84cc13c154aed3d
[ "Apache-2.0", "MIT" ]
1
2022-03-14T06:41:16.000Z
2022-03-14T06:41:16.000Z
#include"stdafx.h" CLC7NavBar::CLC7NavBar(QStackedWidget *stackedwidget):QScrollArea(NULL), m_buttongroup(this) { TR; m_stackedwidget=stackedwidget; installEventFilter(this); ILC7ColorManager *colman = CLC7App::getInstance()->GetMainWindow()->GetColorManager(); m_buttongroup.setExclusive(true); ...
23.4
108
0.716798
phixion
b855805b1278fab0d5d3267d2e813e5f401fa998
2,589
hpp
C++
include/src/Extra/SOC/SOCLaw.impl.hpp
sjokic/WallDestruction
2e1c000096df4aa027a91ff1732ce50a205b221a
[ "MIT" ]
1
2021-11-03T11:30:05.000Z
2021-11-03T11:30:05.000Z
include/src/Extra/SOC/SOCLaw.impl.hpp
sjokic/WallDestruction
2e1c000096df4aa027a91ff1732ce50a205b221a
[ "MIT" ]
null
null
null
include/src/Extra/SOC/SOCLaw.impl.hpp
sjokic/WallDestruction
2e1c000096df4aa027a91ff1732ce50a205b221a
[ "MIT" ]
null
null
null
/* * This file is part of So-bogus, a C++ sparse block matrix library and * Second Order Cone solver. * * Copyright 2013 Gilles Daviet <gdaviet@gmail.com> * * So-bogus 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 Softwa...
31.573171
105
0.70954
sjokic
b857437f1b00b85fe95cd917783c18cdff9f528a
7,806
cpp
C++
system-test/fwf.cpp
2733284198/MaxScale
b921dddbf06fcce650828ca94a3d715012b7072f
[ "BSD-3-Clause" ]
1
2020-10-29T07:39:00.000Z
2020-10-29T07:39:00.000Z
system-test/fwf.cpp
2733284198/MaxScale
b921dddbf06fcce650828ca94a3d715012b7072f
[ "BSD-3-Clause" ]
null
null
null
system-test/fwf.cpp
2733284198/MaxScale
b921dddbf06fcce650828ca94a3d715012b7072f
[ "BSD-3-Clause" ]
null
null
null
/** * @file fwf - Firewall filter test (also regression test for MXS-683 "qc_mysqlembedded reports as-name * instead of original-name") * - setup Firewall filter to use rules from rule file fw/ruleXX, where XX - number of sub-test * - execute queries for fw/passXX file, expect OK * - execute queries from fw/denyXX...
32.798319
104
0.532667
2733284198
b85d97e3f1be1f2f02837d347e42ce6731c58414
2,956
cc
C++
lite/kernels/x86/search_grnn_compute_test.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
1
2020-03-09T03:51:31.000Z
2020-03-09T03:51:31.000Z
lite/kernels/x86/search_grnn_compute_test.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
null
null
null
lite/kernels/x86/search_grnn_compute_test.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
29.267327
79
0.679296
jameswu2014
b85eaa44ffdcdb3de29aefc2c6da4dd85d35dd17
64
hh
C++
RAVL2/MSVC/include/Ravl/Image/GrabfileReader.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/Image/GrabfileReader.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/Image/GrabfileReader.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
#include "../.././Contrib/RawVidFileFormat/GrabfileReader.hh"
16
61
0.71875
isuhao
b85ef9a5b75347f0b4343e4ded5b180cc0544bda
3,180
cc
C++
lullaby/tools/common/file_utils.cc
dherbst/lullaby
0b6675c9fc534c606236f40486987540ad098007
[ "Apache-2.0" ]
1,198
2017-06-09T08:10:52.000Z
2022-03-21T13:39:50.000Z
lullaby/tools/common/file_utils.cc
dherbst/lullaby
0b6675c9fc534c606236f40486987540ad098007
[ "Apache-2.0" ]
14
2017-06-10T00:47:46.000Z
2020-12-31T05:19:55.000Z
lullaby/tools/common/file_utils.cc
dherbst/lullaby
0b6675c9fc534c606236f40486987540ad098007
[ "Apache-2.0" ]
183
2017-06-09T22:19:20.000Z
2022-02-23T03:31:35.000Z
/* Copyright 2017-2019 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
26.722689
78
0.691824
dherbst
b863500d594a9420bc294d29a2c88d0c2c8f0895
1,393
cc
C++
算法导论/educoder/sort/heap_sort.cc
wine99/hfut-cs-assignments
77ebe4b5fe613f90eb54b8bdcfd1d8afbbd321da
[ "MIT" ]
56
2020-05-28T15:21:47.000Z
2022-03-29T08:54:55.000Z
算法导论/educoder/sort/heap_sort.cc
wine99/hfut-cs-assignments
77ebe4b5fe613f90eb54b8bdcfd1d8afbbd321da
[ "MIT" ]
2
2020-05-29T03:49:05.000Z
2021-08-04T00:43:26.000Z
算法导论/educoder/sort/heap_sort.cc
wine99/hfut-cs-assignments
77ebe4b5fe613f90eb54b8bdcfd1d8afbbd321da
[ "MIT" ]
14
2021-05-22T04:52:47.000Z
2022-03-29T08:55:00.000Z
#include <cstdio> #include <iostream> using namespace std; void print_array(int* arr, int n) // 打印数组 { if (n == 0) { printf("ERROR: Array length is ZERO\n"); return; } printf("%d", arr[0]); for (int i = 1; i < n; i++) { printf(" %d", arr[i]); } printf("\n"); } void adj...
24.017241
77
0.480258
wine99
b864112cd5544b5d4e68be3887738c1bc9a43f2f
2,297
cc
C++
chrome/browser/ui/app_list/search/ranking/score_normalizing_ranker.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/ui/app_list/search/ranking/score_normalizing_ranker.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/ui/app_list/search/ranking/score_normalizing_ranker.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2021 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/app_list/search/ranking/score_normalizing_ranker.h" #include "base/strings/strcat.h" #include "base/strings/string_number_con...
34.283582
80
0.730083
zealoussnow
b86635f2d1fb465311fb8c1e568bf312e7cece9d
2,517
cpp
C++
src/lib/storage/segment_accessor.cpp
dey4ss/hyrise
c304b9ced36044e303eb8a4d68a05fc7edc04819
[ "MIT" ]
1
2019-12-30T13:23:30.000Z
2019-12-30T13:23:30.000Z
src/lib/storage/segment_accessor.cpp
dey4ss/hyrise
c304b9ced36044e303eb8a4d68a05fc7edc04819
[ "MIT" ]
11
2019-12-02T20:47:52.000Z
2020-02-04T23:19:31.000Z
src/lib/storage/segment_accessor.cpp
dey4ss/hyrise
c304b9ced36044e303eb8a4d68a05fc7edc04819
[ "MIT" ]
1
2020-11-17T19:18:58.000Z
2020-11-17T19:18:58.000Z
#include "segment_accessor.hpp" #include "resolve_type.hpp" namespace opossum::detail { template <typename T> std::unique_ptr<AbstractSegmentAccessor<T>> CreateSegmentAccessor<T>::create( const std::shared_ptr<const BaseSegment>& segment) { std::unique_ptr<AbstractSegmentAccessor<T>> accessor; resolve_segment...
50.34
119
0.688915
dey4ss
b86685f9997fc8e9371a9d5a24e56d36000d0f9e
2,535
cpp
C++
OS1/Project/Code/src/Kernsem.cpp
aleksamagicka/CollegeAssignments
59edfcf2f5782ddf2d2f3b6ed98b2e641e5fa00d
[ "Unlicense" ]
null
null
null
OS1/Project/Code/src/Kernsem.cpp
aleksamagicka/CollegeAssignments
59edfcf2f5782ddf2d2f3b6ed98b2e641e5fa00d
[ "Unlicense" ]
null
null
null
OS1/Project/Code/src/Kernsem.cpp
aleksamagicka/CollegeAssignments
59edfcf2f5782ddf2d2f3b6ed98b2e641e5fa00d
[ "Unlicense" ]
null
null
null
#include "kernsem.h" #include "asystem.h" KernelSem::KernelSem(int init, Semaphore *initSemph) : count(init), semph(initSemph) { System::semaphores.add(this); } KernelSem::~KernelSem() { while (count < 0) signal(); } int KernelSem::val() const { return count; } int KernelSem::wait(Time maxTimeToWait) { loc...
20.778689
129
0.677712
aleksamagicka
b8678d33d9523e9b130d6bf78609589644ae8809
20
cpp
C++
Lidar_Lane_Separator_Detection/src/Segment.cpp
michaellengyel/Lidar_Lane_Separator_Detection
1d099501f5498fb3f9f998fab8b2737e6c624def
[ "Apache-2.0" ]
null
null
null
Lidar_Lane_Separator_Detection/src/Segment.cpp
michaellengyel/Lidar_Lane_Separator_Detection
1d099501f5498fb3f9f998fab8b2737e6c624def
[ "Apache-2.0" ]
null
null
null
Lidar_Lane_Separator_Detection/src/Segment.cpp
michaellengyel/Lidar_Lane_Separator_Detection
1d099501f5498fb3f9f998fab8b2737e6c624def
[ "Apache-2.0" ]
null
null
null
#include "Segment.h"
20
20
0.75
michaellengyel
b8690a1397fcea3fa74496c86685c051198079f6
4,735
hpp
C++
libs/core/datastructures/include/hpx/datastructures/tagged_pair.hpp
AnshMishra2001/hpx
00846a06bf2653c595b43aed3abe02c42998e230
[ "BSL-1.0" ]
null
null
null
libs/core/datastructures/include/hpx/datastructures/tagged_pair.hpp
AnshMishra2001/hpx
00846a06bf2653c595b43aed3abe02c42998e230
[ "BSL-1.0" ]
null
null
null
libs/core/datastructures/include/hpx/datastructures/tagged_pair.hpp
AnshMishra2001/hpx
00846a06bf2653c595b43aed3abe02c42998e230
[ "BSL-1.0" ]
null
null
null
// Copyright Eric Niebler 2013-2015 // Copyright 2015-2020 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // 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) // // This was modeled after the code available i...
35.601504
80
0.577191
AnshMishra2001
b86b0d4762b5df97d94954219dcdb26dd59f2e86
17,882
cpp
C++
d3d/voxel/voxelize.cpp
minghanz/d3d
1d08013238b300489f61be57cdd20a105d16a632
[ "MIT" ]
27
2020-04-16T22:24:47.000Z
2022-01-12T08:23:43.000Z
d3d/voxel/voxelize.cpp
minghanz/d3d
1d08013238b300489f61be57cdd20a105d16a632
[ "MIT" ]
2
2020-08-11T07:03:35.000Z
2021-02-05T06:43:26.000Z
d3d/voxel/voxelize.cpp
minghanz/d3d
1d08013238b300489f61be57cdd20a105d16a632
[ "MIT" ]
6
2020-04-16T21:49:50.000Z
2022-01-26T15:38:47.000Z
#include "d3d/voxel/voxelize.h" #include <unordered_map> #include <unordered_set> #include <array> #include <tuple> #include <vector> #include <iostream> #include <limits> using namespace std; using namespace at; using namespace pybind11::literals; template <typename T> using toptional = torch::optional<T>; typedef ...
36.946281
135
0.593054
minghanz
b86e2bcff4598d6cb3e50c8a2895af98d6312f0e
7,608
cc
C++
diagnostics/cros_healthd/events/bluetooth_events_impl_test.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
diagnostics/cros_healthd/events/bluetooth_events_impl_test.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
diagnostics/cros_healthd/events/bluetooth_events_impl_test.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 The Chromium OS 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 <memory> #include <string> #include <utility> #include <base/bind.h> #include <base/check.h> #include <base/run_loop.h> #include <base/test/t...
33.813333
80
0.744479
Toromino
b86fdf20471ea8badf2b98ef3174f590d96188a9
6,852
cpp
C++
Mario_Game/title.cpp
Rossterrrr/Qt
3e5c2934ce19675390d2ad6d513a14964d8cbe50
[ "MIT" ]
3
2019-09-02T05:17:08.000Z
2021-01-07T11:21:34.000Z
QtMario_Youtube-master/QtMario_Original Code/title.cpp
Jhongesell/Qt
3fc548731435d3f6fffbaec1bdfd19371232088e
[ "MIT" ]
null
null
null
QtMario_Youtube-master/QtMario_Original Code/title.cpp
Jhongesell/Qt
3fc548731435d3f6fffbaec1bdfd19371232088e
[ "MIT" ]
null
null
null
#include "title.h" #include "loginwindow.h" #include <QMessageBox> Title::Title(View *view, QWidget *parent) : QGraphicsScene(parent){ viewer = view; scroll = new QScrollBar; scroll = viewer->horizontalScrollBar(); background = new AnimatedGraphicsItem; background->setPixmap(QPixmap(":/images/bac...
31.004525
95
0.641419
Rossterrrr
b87257a0c6a1ce5e74afdffa0ffd25ad460441fa
8,899
cpp
C++
inetsrv/iis/admin/migrtool/ui/postprocessadd.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/admin/migrtool/ui/postprocessadd.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/admin/migrtool/ui/postprocessadd.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "stdafx.h" #include "WizardSheet.h" #include "CommandDlg.h" CPostProcessAdd::CPostProcessAdd( CWizardSheet* pTheSheet ) : m_pTheSheet( pTheSheet ) { m_strTitle.LoadString( IDS_TITLE_POSTPROCESS ); m_strSubTitle.LoadString( IDS_SUBTITLE_POSTPROCESS ); SetHeaderTitle( m_strTitle ); ...
29.369637
112
0.602315
npocmaka
b87258732d44223afa72a788f2950b11b3939e65
35,929
cc
C++
plugins/experimental/cookie_remap/cookie_remap.cc
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
1,351
2015-01-03T08:25:40.000Z
2022-03-31T09:14:08.000Z
plugins/experimental/cookie_remap/cookie_remap.cc
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
7,009
2015-01-14T16:22:45.000Z
2022-03-31T17:18:04.000Z
plugins/experimental/cookie_remap/cookie_remap.cc
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
901
2015-01-11T19:21:08.000Z
2022-03-18T18:21:33.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 you under the Apache License, Version 2.0 (the "License"); you may no...
27.57406
122
0.550419
cmcfarlen
b876f4e871d4aeba187eb19460307071bc5eadea
12,190
hpp
C++
overlapping_wfc.hpp
xyproto/fast-wfc-cxx
4511f71218bf5b422a70f2539912311ad9126e24
[ "MIT" ]
null
null
null
overlapping_wfc.hpp
xyproto/fast-wfc-cxx
4511f71218bf5b422a70f2539912311ad9126e24
[ "MIT" ]
null
null
null
overlapping_wfc.hpp
xyproto/fast-wfc-cxx
4511f71218bf5b422a70f2539912311ad9126e24
[ "MIT" ]
null
null
null
#ifndef FAST_WFC_OVERLAPPING_WFC_HPP_ #define FAST_WFC_OVERLAPPING_WFC_HPP_ #include <unordered_map> #include <vector> #include "array2D.hpp" #include "wfc.hpp" /** * Options needed to use the overlapping wfc. */ struct OverlappingWFCOptions { bool periodic_input; // True if the input is toric. bool period...
37.623457
98
0.57219
xyproto
b877694b3d7bd62ad48f6b1322df50f0986b90b5
3,721
cpp
C++
example-Basic/src/ofApp.cpp
thorikawa/ofxSyphon
83cca453ba6d6359923a5871bfdbf9a68ef65d99
[ "BSD-2-Clause" ]
118
2015-01-19T04:54:18.000Z
2021-09-29T07:36:06.000Z
example-Basic/src/ofApp.cpp
thorikawa/ofxSyphon
83cca453ba6d6359923a5871bfdbf9a68ef65d99
[ "BSD-2-Clause" ]
33
2015-01-30T21:36:42.000Z
2022-02-10T11:47:14.000Z
example-Basic/src/ofApp.cpp
thorikawa/ofxSyphon
83cca453ba6d6359923a5871bfdbf9a68ef65d99
[ "BSD-2-Clause" ]
28
2015-01-21T05:26:47.000Z
2021-06-05T14:30:28.000Z
#include "ofApp.h" const int width = 800; const int height = 600; //-------------------------------------------------------------- void ofApp::setup(){ counter = 0; ofSetCircleResolution(50); //ofBackground(0,0,0); bSmooth = false; ofSetWindowTitle("ofxSyphon Example"); mainOutputSyphonServe...
26.963768
164
0.601182
thorikawa
b87aa314e26331d69774bef6858d817ed0087130
2,801
hpp
C++
src/rp/intelbeaengine.hpp
clayne/rp
5cf489872a7f31c5688e55b99cd41b586a1006e3
[ "MIT" ]
1
2022-01-17T17:40:29.000Z
2022-01-17T17:40:29.000Z
src/rp/intelbeaengine.hpp
clayne/rp
5cf489872a7f31c5688e55b99cd41b586a1006e3
[ "MIT" ]
null
null
null
src/rp/intelbeaengine.hpp
clayne/rp
5cf489872a7f31c5688e55b99cd41b586a1006e3
[ "MIT" ]
null
null
null
// Axel '0vercl0k' Souchet - January 12 2022 #pragma once #include "disassenginewrapper.hpp" #include <beaengine/BeaEngine.h> class IntelBeaEngine : public DisassEngineWrapper { public: /*! The different architectures BeaRopGadgetFinder handles */ enum E_Arch { x86 = 32, x64 = 64 }; explicit IntelBeaEngine(con...
33.345238
80
0.653695
clayne
b87b3292e0d300a7a0f343d67544309a72d3470b
2,005
cc
C++
src/q_1251_1300/q1288.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
null
null
null
src/q_1251_1300/q1288.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
2
2021-12-15T10:51:15.000Z
2022-01-26T17:03:16.000Z
src/q_1251_1300/q1288.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <iostream> #include <vector> using namespace std; /** * This file is generated by leetcode_add.py * * 1288. * Remove Covered Intervals * * ––––––––––––––––––––––––––––– Description ––––––––––––––––––––––––––––– * * Given an array ‘intervals’ where ‘intervals[i] = [lᵢ,...
27.465753
95
0.539651
vNaonLu
b87bb4b690d2dc5869d77c3611bc2783a0266475
6,024
cc
C++
media/cast/test/receiver/framer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
media/cast/test/receiver/framer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
media/cast/test/receiver/framer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// 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 "media/cast/test/receiver/framer.h" #include "base/logging.h" #include "media/cast/constants.h" namespace media { namespace cast { Framer::Fra...
29.674877
80
0.663845
zealoussnow
b87df593d29beba63e7f8814d90b2a0fed8249cd
580
hpp
C++
config/src/vespa/config/helper/configpoller.hpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2020-06-02T13:28:29.000Z
2020-06-02T13:28:29.000Z
config/src/vespa/config/helper/configpoller.hpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2021-03-31T22:24:20.000Z
2021-03-31T22:24:20.000Z
config/src/vespa/config/helper/configpoller.hpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2020-12-08T19:56:35.000Z
2020-12-08T19:56:35.000Z
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. namespace config { template <typename ConfigType> void ConfigPoller::subscribe(const std::string & configId, IFetcherCallback<ConfigType> * callback, milliseconds subscribeTimeout) { std::unique_...
38.666667
125
0.786207
amahussein
b87e7b45c29c66f4617b070f238fa2f3faff4415
2,943
cpp
C++
hotspot/src/os/solaris/vm/threadCritical_solaris.cpp
dbac/jdk8
abfce42ff6d4b8b77d622157519ecd211ba0aa8f
[ "MIT" ]
1
2020-12-26T04:52:15.000Z
2020-12-26T04:52:15.000Z
hotspot/src/os/solaris/vm/threadCritical_solaris.cpp
dbac/jdk8
abfce42ff6d4b8b77d622157519ecd211ba0aa8f
[ "MIT" ]
1
2020-12-26T04:57:19.000Z
2020-12-26T04:57:19.000Z
hotspot/src/os/solaris/vm/threadCritical_solaris.cpp
dbac/jdk8
abfce42ff6d4b8b77d622157519ecd211ba0aa8f
[ "MIT" ]
1
2021-12-06T01:13:18.000Z
2021-12-06T01:13:18.000Z
/* * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
33.827586
83
0.692491
dbac
b87f61a901338830bacddd80b689d591cb5bddb3
25,904
cpp
C++
builder/llpcBuilder.cpp
hustwarhd/llpc
ff548ab17c0c5e79c3cfca9fa6d3bc717624ae85
[ "MIT" ]
null
null
null
builder/llpcBuilder.cpp
hustwarhd/llpc
ff548ab17c0c5e79c3cfca9fa6d3bc717624ae85
[ "MIT" ]
null
null
null
builder/llpcBuilder.cpp
hustwarhd/llpc
ff548ab17c0c5e79c3cfca9fa6d3bc717624ae85
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2019 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 ...
40.72956
123
0.552617
hustwarhd
b8820d698f9791ef3cae05f9ed6ee384fa697210
4,324
tcc
C++
libcross2d/include/cross2d/skeleton/tweeny/tweenpoint.tcc
minkcv/pinballnx
2a911c144c97278abcff00c237766380908031de
[ "MIT" ]
6
2019-07-01T03:21:02.000Z
2021-09-13T17:15:01.000Z
libcross2d/include/cross2d/skeleton/tweeny/tweenpoint.tcc
minkcv/pinballnx
2a911c144c97278abcff00c237766380908031de
[ "MIT" ]
3
2019-07-01T03:53:56.000Z
2020-06-17T09:14:27.000Z
libcross2d/include/cross2d/skeleton/tweeny/tweenpoint.tcc
minkcv/pinballnx
2a911c144c97278abcff00c237766380908031de
[ "MIT" ]
1
2019-07-23T12:28:30.000Z
2019-07-23T12:28:30.000Z
/* This file is part of the Tweeny library. Copyright (c) 2016-2018 Leonardo G. Lucena de Freitas Copyright (c) 2016 Guilherme R. Costa 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 witho...
37.275862
120
0.641304
minkcv
b882ee10eca24255a32735d5f932e10d4224b817
9,142
cpp
C++
Core/fbp/bp_all.cpp
vais-ral/CCPi-Reconstruction
6c9f5eb9af308981b6d1c910dc1a38e8f6e83acd
[ "Apache-2.0" ]
1
2018-11-09T11:58:32.000Z
2018-11-09T11:58:32.000Z
Core/fbp/bp_all.cpp
vais-ral/CCPi-Reconstruction
6c9f5eb9af308981b6d1c910dc1a38e8f6e83acd
[ "Apache-2.0" ]
8
2018-05-22T12:58:27.000Z
2020-10-15T14:54:04.000Z
Core/fbp/bp_all.cpp
vais-ral/CCPi-Reconstruction
6c9f5eb9af308981b6d1c910dc1a38e8f6e83acd
[ "Apache-2.0" ]
1
2019-01-11T12:04:53.000Z
2019-01-11T12:04:53.000Z
#include "defs.h" bool fbp_gpu_20_fs(allData *aD){ unsigned int onx, ony, wo, ho, obnx, obny, nx, ny, wh, wh2, wu, vH; float sx, sy, ps; double angleStart, angleStep; Ipp32f *vux, *vuy, *v; Ipp64f *v1, *v2, *v3, *v4; xFBP_gpu *fg; gpu_info *gi; xData *xd; xRoi *xr; fg = aD->fg; gi = aD->gi;...
22.352078
120
0.607963
vais-ral
b88562691a6bf5d67067985a8f47ede759226625
3,316
cc
C++
cpp/src/pegasus/parquet/parquet_reader_test.cc
jerrychenhf/pegasus
be7b75c86649836589009a7469e2cf249caab5a1
[ "Apache-2.0" ]
3
2020-11-02T02:32:21.000Z
2022-01-01T08:02:32.000Z
cpp/src/pegasus/parquet/parquet_reader_test.cc
jerrychenhf/pegasus
be7b75c86649836589009a7469e2cf249caab5a1
[ "Apache-2.0" ]
null
null
null
cpp/src/pegasus/parquet/parquet_reader_test.cc
jerrychenhf/pegasus
be7b75c86649836589009a7469e2cf249caab5a1
[ "Apache-2.0" ]
2
2021-12-31T08:37:13.000Z
2021-12-31T11:05:47.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 you under the Apache License, Version 2.0 (the // "License"); you may...
38.114943
122
0.75573
jerrychenhf
b888b9126c171245de259d7cefe90c151647eead
4,532
cpp
C++
app/src/main/cpp/zqcnn_mtcnn_nchwc4_jni.cpp
zhu260824/ZQCNN_Android
337fab2b58f14d118b59072d9469646cdba43d57
[ "Apache-2.0" ]
8
2019-06-18T14:38:56.000Z
2020-09-14T07:23:08.000Z
app/src/main/cpp/zqcnn_mtcnn_nchwc4_jni.cpp
zhu260824/ZQCNN_Android
337fab2b58f14d118b59072d9469646cdba43d57
[ "Apache-2.0" ]
1
2019-06-26T09:10:21.000Z
2019-06-26T09:10:21.000Z
app/src/main/cpp/zqcnn_mtcnn_nchwc4_jni.cpp
zhu260824/ZQCNN_Android
337fab2b58f14d118b59072d9469646cdba43d57
[ "Apache-2.0" ]
3
2019-06-27T00:49:48.000Z
2020-04-17T02:21:50.000Z
// // Created by ZL on 2019-06-13. // #include "zqcnn_mtcnn_nchwc4.h" #include <android/log.h> #include <jni.h> #include <string> #include <vector> #include <imgproc/types_c.h> #define TAG "ZQCNN" #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,TAG,__VA_ARGS__) using namespace std; using namespace cv; using n...
36.845528
94
0.644748
zhu260824
b88c66d7cf69b1a9011829927330aa1b86ce3c8a
1,980
cpp
C++
UVa 11620 - City of Egocentrics/sample/11620 - City of Egocentrics.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 11620 - City of Egocentrics/sample/11620 - City of Egocentrics.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 11620 - City of Egocentrics/sample/11620 - City of Egocentrics.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <stdio.h> #include <algorithm> using namespace std; const int MAXN = 128; int A[MAXN][MAXN], B[MAXN][MAXN], n; int mark[MAXN][MAXN]; void print(char c) { printf("%c\n", c); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) if (mark[i][j]) printf("%d %d\n", i, j); } } void solve() { for (...
17.068966
58
0.378788
tadvi
b88d01986d5ec067a1ae8b6d269fd6015928f63b
481
cpp
C++
src/Functions/ilike.cpp
zzachimed/ClickHouse
a403f1cd1b2655a60ca196d209ef443ef6d91b39
[ "Apache-2.0" ]
8,629
2016-06-14T21:03:01.000Z
2019-09-23T07:46:38.000Z
src/Functions/ilike.cpp
zzachimed/ClickHouse
a403f1cd1b2655a60ca196d209ef443ef6d91b39
[ "Apache-2.0" ]
4,335
2016-06-15T12:58:31.000Z
2019-09-23T11:18:43.000Z
src/Functions/ilike.cpp
zzachimed/ClickHouse
a403f1cd1b2655a60ca196d209ef443ef6d91b39
[ "Apache-2.0" ]
1,700
2016-06-15T09:25:11.000Z
2019-09-23T11:16:38.000Z
#include "FunctionsStringSearch.h" #include "FunctionFactory.h" #include "MatchImpl.h" namespace DB { namespace { struct NameILike { static constexpr auto name = "ilike"; }; using ILikeImpl = MatchImpl<NameILike, MatchTraits::Syntax::Like, MatchTraits::Case::Insensitive, MatchTraits::Result::DontNegate>; using F...
18.5
131
0.767152
zzachimed
b8912f7577b1ff9fb94ab1de217144dd547167b8
2,449
cpp
C++
addStrings/main.cpp
DaveKerk/Cloud-Code
37db3f7e203b909271bfcdd0df331904fd17c412
[ "MIT" ]
null
null
null
addStrings/main.cpp
DaveKerk/Cloud-Code
37db3f7e203b909271bfcdd0df331904fd17c412
[ "MIT" ]
1
2017-01-26T04:11:23.000Z
2017-02-03T01:14:41.000Z
addStrings/main.cpp
DaveKerk/Cloud-Code
37db3f7e203b909271bfcdd0df331904fd17c412
[ "MIT" ]
null
null
null
// 00000011111111112222222222333333333344444444445555555555666666666677777777778 // 45678901234567890123456789012345678901234567890123456789012345678901234567890 // // File Name : addStrings.cpp // File Type : Source code // Purpose : Main program (Adding two strings). // // Date : 2017-02-23 // Version :...
38.265625
92
0.705186
DaveKerk
b892545b8861da99b61befca57cb6746ced83e6c
648
cpp
C++
CtCI-6th-Edition-cpp/04_Trees_and_Graphs/04_Check_Balanced/isBalanced.test.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
CtCI-6th-Edition-cpp/04_Trees_and_Graphs/04_Check_Balanced/isBalanced.test.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
CtCI-6th-Edition-cpp/04_Trees_and_Graphs/04_Check_Balanced/isBalanced.test.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
#include "catch.hpp" #include "isBalanced.hpp" namespace BT = BinaryTreeUnique; TEST_CASE("isBalanced test", "[isBalanced]") { auto tree = BT::create("[]"); REQUIRE(isBalanced(tree) == true); tree = BT::create("[1]"); REQUIRE(isBalanced(tree) == true); tree = BT::create("[1,2]"); REQUIRE(isBalanced(tree...
23.142857
48
0.617284
longztian
b89400e94f3467a599d91ccfb19b79fe41f67548
2,901
hpp
C++
engine/gtp/Engine.hpp
imalerich/imgo
1dc999b62d95b74dd992fd1daf1cb0d974bba8a7
[ "MIT" ]
null
null
null
engine/gtp/Engine.hpp
imalerich/imgo
1dc999b62d95b74dd992fd1daf1cb0d974bba8a7
[ "MIT" ]
null
null
null
engine/gtp/Engine.hpp
imalerich/imgo
1dc999b62d95b74dd992fd1daf1cb0d974bba8a7
[ "MIT" ]
null
null
null
#ifndef ENGINE_HPP #define ENGINE_HPP #include <iostream> #include <sstream> #include <string> #include <map> #include "Command.hpp" #include "Argument.hpp" namespace gtp { /** * Defines a function that may be registered to the GTP Engine. * When an engine recives the corresponding Command, the registered * func...
30.536842
99
0.722509
imalerich
b895c774ee235f0a32ab770b51cc581514e2e94f
4,524
cpp
C++
Job-0/Job-0/Job-1-main.cpp
xiliangjianke/GAMES101
251f285d21f00dd542ebc326d47b9daddb0c6753
[ "MIT" ]
null
null
null
Job-0/Job-0/Job-1-main.cpp
xiliangjianke/GAMES101
251f285d21f00dd542ebc326d47b9daddb0c6753
[ "MIT" ]
null
null
null
Job-0/Job-0/Job-1-main.cpp
xiliangjianke/GAMES101
251f285d21f00dd542ebc326d47b9daddb0c6753
[ "MIT" ]
null
null
null
//#include "Triangle.hpp" //#include "rasterizer.hpp" //#include <eigen3/Eigen/Eigen> //#include <iostream> //#include <opencv2/opencv.hpp> ///* //constexpr double MY_PI = 3.1415926; // //Eigen::Matrix4f get_view_matrix(Eigen::Vector3f eye_pos) //{ // Eigen::Matrix4f view = Eigen::Matrix4f::Identity(); // // Eigen::Mat...
26
113
0.596596
xiliangjianke
b897659ed171f916cfb637567e47fb13868eff3c
2,040
cpp
C++
parrlibgl/spritebatch.cpp
AlessandroParrotta/parrlibgl
2d0a27a16bb17be8d4554bfcdc4f5e2a4946db96
[ "MIT" ]
null
null
null
parrlibgl/spritebatch.cpp
AlessandroParrotta/parrlibgl
2d0a27a16bb17be8d4554bfcdc4f5e2a4946db96
[ "MIT" ]
null
null
null
parrlibgl/spritebatch.cpp
AlessandroParrotta/parrlibgl
2d0a27a16bb17be8d4554bfcdc4f5e2a4946db96
[ "MIT" ]
null
null
null
#include "SpriteBatch.h" namespace prb { void SpriteBatch::init() { vao = { { { {}, 4 } } }; //this probably leaks memory if you reinitialize the spritebatch sh = { "assets/shaders/spritebatch.vert", "assets/shaders/spritebatch.frag" }; } SpriteBatch::SpriteBatch() {} SpriteBatch::SpriteBatch(Sprite const& at...
43.404255
204
0.640686
AlessandroParrotta
b897bc9be34af804432b95d2f473110d244472a5
11,701
cpp
C++
test/virtual_float.cpp
johnmcfarlane/dsp
a62d7acc69a96b5cf770ea74b03034798cd4577f
[ "BSL-1.0" ]
null
null
null
test/virtual_float.cpp
johnmcfarlane/dsp
a62d7acc69a96b5cf770ea74b03034798cd4577f
[ "BSL-1.0" ]
null
null
null
test/virtual_float.cpp
johnmcfarlane/dsp
a62d7acc69a96b5cf770ea74b03034798cd4577f
[ "BSL-1.0" ]
1
2018-04-30T07:45:20.000Z
2018-04-30T07:45:20.000Z
// Copyright Heikki Berg 2017 - 2018 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file ../../LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <random> #include <gtest/gtest.h> #include <dsp/complex.h> #include <dsp/dsp_types.h> #incl...
31.286096
86
0.576276
johnmcfarlane
b897df97da696e9b310e69ff5d44eb8b892d1cac
11,993
cpp
C++
to/lang/OpenCV-2.2.0/samples/gpu/hog.cpp
eirTony/INDI1
42642d8c632da53f60f2610b056547137793021b
[ "MIT" ]
null
null
null
to/lang/OpenCV-2.2.0/samples/gpu/hog.cpp
eirTony/INDI1
42642d8c632da53f60f2610b056547137793021b
[ "MIT" ]
14
2016-11-24T10:46:39.000Z
2016-12-10T07:24:15.000Z
to/lang/OpenCV-2.2.0/samples/gpu/hog.cpp
eirTony/INDI1
42642d8c632da53f60f2610b056547137793021b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <sstream> #include <iomanip> #include <stdexcept> #include "opencv2/gpu/gpu.hpp" #include "opencv2/highgui/highgui.hpp" using namespace std; using namespace cv; /** Contains all properties of application (including those which can be changed by user i...
29.685644
133
0.560744
eirTony
b89902749f712e950284009eaa76065c5224362f
2,160
cpp
C++
windows/src/test/cpp/ClientExtensionTest.cpp
ane-community/cryptopp-ane
1c2550b0e2ee85503d94b8292a588430d94de706
[ "MIT" ]
3
2015-06-16T18:56:29.000Z
2019-03-06T03:18:33.000Z
windows/src/test/cpp/ClientExtensionTest.cpp
ane-community/cryptopp-ane
1c2550b0e2ee85503d94b8292a588430d94de706
[ "MIT" ]
null
null
null
windows/src/test/cpp/ClientExtensionTest.cpp
ane-community/cryptopp-ane
1c2550b0e2ee85503d94b8292a588430d94de706
[ "MIT" ]
null
null
null
/* * =BEGIN MIT LICENSE * * The MIT License (MIT) * * Copyright (c) 2014 Andras Csizmadia * http://www.vpmedia.hu * * 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 restric...
30.422535
80
0.657407
ane-community
b89a06c8554e9d0b604c6516bfd664f640294d99
1,413
hpp
C++
src/game/sys/sound/sound_sys.hpp
lowkey42/BanishedBlaze
71e66f444a84bea1eca3639de3f3ff1f79e385d1
[ "MIT" ]
null
null
null
src/game/sys/sound/sound_sys.hpp
lowkey42/BanishedBlaze
71e66f444a84bea1eca3639de3f3ff1f79e385d1
[ "MIT" ]
null
null
null
src/game/sys/sound/sound_sys.hpp
lowkey42/BanishedBlaze
71e66f444a84bea1eca3639de3f3ff1f79e385d1
[ "MIT" ]
null
null
null
/** System that manages sound effects **************************************** * * * Copyright (c) 2016 Florian Oetke * * This file is distributed under the MIT License * * ...
23.55
79
0.55414
lowkey42
b89a48069d6488ef09291eaf8d1e3f7a91b9fc26
608
cpp
C++
Interview Preparation Kit - CPP/06. Greedy Algorithms/001. Minimum Absolute Difference in an Array.cpp
Snehakri022/HackerrankPractice
15c2da0bfb4bce744b345c4a3613ae9a769f2676
[ "MIT" ]
831
2018-05-12T19:06:09.000Z
2022-03-31T19:33:54.000Z
Interview Preparation Kit - CPP/06. Greedy Algorithms/001. Minimum Absolute Difference in an Array.cpp
Snehakri022/HackerrankPractice
15c2da0bfb4bce744b345c4a3613ae9a769f2676
[ "MIT" ]
2
2019-06-17T14:58:56.000Z
2021-03-05T23:49:59.000Z
Interview Preparation Kit - CPP/06. Greedy Algorithms/001. Minimum Absolute Difference in an Array.cpp
Snehakri022/HackerrankPractice
15c2da0bfb4bce744b345c4a3613ae9a769f2676
[ "MIT" ]
457
2018-06-11T07:01:57.000Z
2022-03-28T11:08:34.000Z
// Problem: https://www.hackerrank.com/challenges/minimum-absolute-difference-in-an-array/problem // Score: 15 #include <iostream> #include <vector> #include <algorithm> using namespace std; int main(){ int n; cin >> n; vector<int> arr; for (int i = 0; i < n; i++){ int tmp; cin >> t...
17.371429
97
0.509868
Snehakri022
b89ae093da4b64b42052cfd2fe2ed5e50755dde3
8,152
cpp
C++
clients/cpp-restsdk/generated/model/GenericResource.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
23
2017-08-01T12:25:26.000Z
2022-01-25T03:44:11.000Z
clients/cpp-restsdk/generated/model/GenericResource.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
35
2017-06-14T03:28:15.000Z
2022-02-14T10:25:54.000Z
clients/cpp-restsdk/generated/model/GenericResource.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
11
2017-08-31T19:00:20.000Z
2021-12-19T12:04:12.000Z
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * OpenAPI spec version: 1.1.1 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT. * https://openapi-generator.tech * Do not edit the class manually. */ #include ...
26.640523
141
0.703876
PankTrue
b8a20d7bcb754876f1238a5299cb7c9ca05accdf
5,970
hpp
C++
src/astrolabe_exception.hpp
jose-navarro/ASTROLABE
95482bf4ecd7c22e0bcef18aeae0d8b828b3327c
[ "MIT" ]
null
null
null
src/astrolabe_exception.hpp
jose-navarro/ASTROLABE
95482bf4ecd7c22e0bcef18aeae0d8b828b3327c
[ "MIT" ]
3
2019-05-28T05:34:50.000Z
2019-12-09T12:58:22.000Z
src/astrolabe_exception.hpp
jose-navarro/astrolabe
95482bf4ecd7c22e0bcef18aeae0d8b828b3327c
[ "MIT" ]
null
null
null
/** \file astrolabe_exception.hpp \brief Definition of the topmost, general ASTROLABE exception. \ingroup ASTROLABE_exceptions_group */ #ifndef ASTROLABE_EXCEPTION_HPP #define ASTROLABE_EXCEPTION_HPP #include <stdexcept> #include <string> using namespace std; class astrolabe_time; /** \brief ASTROLABE's topmost, ...
25.622318
90
0.627303
jose-navarro
b8a321eb384a8c56db31894ac2698db5a374dc2e
1,990
cpp
C++
Sources/engine/assetdatabase/private/assetdatabase/PathTree.cpp
Zino2201/ZinoEngine
519d34a1d2b09412c8e2cba6b685b4556ec2c2ac
[ "MIT" ]
20
2019-12-22T20:40:22.000Z
2021-07-06T00:23:45.000Z
Sources/engine/assetdatabase/private/assetdatabase/PathTree.cpp
Zino2201/ZinoEngine
519d34a1d2b09412c8e2cba6b685b4556ec2c2ac
[ "MIT" ]
32
2020-07-11T15:51:13.000Z
2021-06-07T10:25:07.000Z
Sources/engine/assetdatabase/private/assetdatabase/PathTree.cpp
Zino2201/ZinoEngine
519d34a1d2b09412c8e2cba6b685b4556ec2c2ac
[ "MIT" ]
3
2019-12-19T17:04:04.000Z
2021-05-17T01:49:59.000Z
#include "PathTree.h" #include <sstream> #include "StringUtil.h" namespace ze::assetdatabase { void PathTree::add(const std::filesystem::path& path) { ZE_CHECK(path.is_relative()); /** Check if path already exists */ if (has_path(path)) return; /** Insert the path in the map if it is a directory */ if (!path...
21.170213
91
0.647236
Zino2201
b8a79a4bbf613fa1c526f04b1ca6fcb0c4677904
520
cpp
C++
tute04.cpp
SLIIT-FacultyOfComputing/tutorial-02b-IT21191688
4dea9fc2c31d6761332971e8e310c79f4da778bd
[ "MIT" ]
null
null
null
tute04.cpp
SLIIT-FacultyOfComputing/tutorial-02b-IT21191688
4dea9fc2c31d6761332971e8e310c79f4da778bd
[ "MIT" ]
null
null
null
tute04.cpp
SLIIT-FacultyOfComputing/tutorial-02b-IT21191688
4dea9fc2c31d6761332971e8e310c79f4da778bd
[ "MIT" ]
null
null
null
#include <iostream> long Factorial(int no); long nCr(int n, int r); int main() { int n, r; std::cout << "Enter a value for n "; std::cin >> n; std::cout << "Enter a value for r "; std::cin >> r; std::cout << "nCr = "; std::cout << nCr(n, r); std::cout << std::endl; return 0; } long Factorial(int no) { long...
14.054054
56
0.546154
SLIIT-FacultyOfComputing
b8a928f4114f88c9dfe65711e92def42e79fc27b
2,620
cpp
C++
cpp/daal/src/algorithms/adaboost/adaboost_predict_dense_default_batch_fpt_dispatcher.cpp
Pahandrovich/daal
3310c7a9a41a2f0eb72082115c0db98484e4d58d
[ "Apache-2.0" ]
1
2021-02-05T15:41:08.000Z
2021-02-05T15:41:08.000Z
cpp/daal/src/algorithms/adaboost/adaboost_predict_dense_default_batch_fpt_dispatcher.cpp
Pahandrovich/daal
3310c7a9a41a2f0eb72082115c0db98484e4d58d
[ "Apache-2.0" ]
null
null
null
cpp/daal/src/algorithms/adaboost/adaboost_predict_dense_default_batch_fpt_dispatcher.cpp
Pahandrovich/daal
3310c7a9a41a2f0eb72082115c0db98484e4d58d
[ "Apache-2.0" ]
null
null
null
/* file: adaboost_predict_dense_default_batch_fpt_dispatcher.cpp */ /******************************************************************************* * Copyright 2014-2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
33.589744
145
0.708397
Pahandrovich
b8acd63d07bc0f2c52e871117bc6e61b11be11d0
5,655
cpp
C++
tests/src/unit/detail/record.cpp
JakariaBlaine/blackhole
e340329c6e2e3166858d8466656ad12300b686bd
[ "MIT" ]
193
2015-01-05T08:48:05.000Z
2022-01-31T22:04:01.000Z
tests/src/unit/detail/record.cpp
JakariaBlaine/blackhole
e340329c6e2e3166858d8466656ad12300b686bd
[ "MIT" ]
135
2015-01-13T13:02:49.000Z
2022-01-12T15:06:48.000Z
tests/src/unit/detail/record.cpp
JakariaBlaine/blackhole
e340329c6e2e3166858d8466656ad12300b686bd
[ "MIT" ]
40
2015-01-21T16:37:30.000Z
2022-01-25T15:54:04.000Z
#include <memory> #include <src/recordbuf.hpp> #include <gtest/gtest.h> namespace blackhole { inline namespace v1 { namespace { TEST(recordbuf_t, FromRecordMessage) { std::unique_ptr<recordbuf_t> result; { const string_view message("GET"); const attribute_pack pack; const record_t ...
27.1875
84
0.640318
JakariaBlaine
b8adc7d8895a94058707a407ed9472316f79e0d6
128
cpp
C++
engine/src/core/Allocator.cpp
jsandham/PhysicsEngine
51115ee9a59f3bc6e0895113c67563cfd4a1ef3c
[ "MIT" ]
2
2018-12-19T01:52:39.000Z
2022-03-29T16:04:15.000Z
engine/src/core/Allocator.cpp
jsandham/PhysicsEngine
51115ee9a59f3bc6e0895113c67563cfd4a1ef3c
[ "MIT" ]
null
null
null
engine/src/core/Allocator.cpp
jsandham/PhysicsEngine
51115ee9a59f3bc6e0895113c67563cfd4a1ef3c
[ "MIT" ]
null
null
null
#include "../../include/core/Allocator.h" using namespace PhysicsEngine; Allocator::Allocator() { } Allocator::~Allocator(){};
16
41
0.710938
jsandham
b8afaf9523b596a374f84040ad7f91f6b5cc68e1
495
hpp
C++
src/totem.hpp
Hazematman/Ultrabrew2021
934d8609179effcf26ce2f5d53361031d8a1aa01
[ "WTFPL" ]
3
2021-12-14T00:14:53.000Z
2022-03-30T04:08:34.000Z
src/totem.hpp
Hazematman/Ultrabrew2021
934d8609179effcf26ce2f5d53361031d8a1aa01
[ "WTFPL" ]
null
null
null
src/totem.hpp
Hazematman/Ultrabrew2021
934d8609179effcf26ce2f5d53361031d8a1aa01
[ "WTFPL" ]
1
2021-12-09T10:21:11.000Z
2021-12-09T10:21:11.000Z
#ifndef TOTEM_HPP #define TOTEM_HPP #include "gameobject.hpp" class Totem : public GameObject { public: Totem(btVector3 origin, btDiscreteDynamicsWorld *dyn_world); virtual bool collide(btManifoldPoint &cp, const btCollisionObjectWrapper *obj1, int id1, int index1); virtual void u...
23.571429
84
0.723232
Hazematman
b8b3288e128db7300c87f650925b3f87918bb5fc
3,840
cpp
C++
src/compositor/scenegraph/input/singlebonetracker.cpp
Quora-Users/motorcar
e1cb943d2874a4716556c314190a48294e2bf53a
[ "BSD-2-Clause" ]
216
2015-01-20T17:14:01.000Z
2022-03-05T16:14:25.000Z
src/compositor/scenegraph/input/singlebonetracker.cpp
Quora-Users/motorcar
e1cb943d2874a4716556c314190a48294e2bf53a
[ "BSD-2-Clause" ]
12
2015-07-09T06:46:09.000Z
2017-04-13T05:41:08.000Z
src/compositor/scenegraph/input/singlebonetracker.cpp
Quora-Users/motorcar
e1cb943d2874a4716556c314190a48294e2bf53a
[ "BSD-2-Clause" ]
29
2015-03-14T03:19:52.000Z
2021-01-29T13:43:51.000Z
/**************************************************************************** **This file is part of the Motorcar 3D windowing framework ** ** **Copyright (C) 2014 Forrest Reiling ** ** ** You may use this file under the terms of the BSD license as follows: ** ** "Redistribution and use in source and binary forms, with...
33.684211
155
0.732292
Quora-Users
b8b4c69573bb9151f2bc9c7f4a7039e88c727175
383
cpp
C++
C++/oj1337.cpp
muinocriz/hfutoj
9c6b0602f1b155cd9cec38e673b064c64f1dc7d6
[ "Apache-2.0" ]
18
2018-03-22T14:33:14.000Z
2021-11-07T07:05:32.000Z
C++/oj1337.cpp
muinocriz/hfutoj
9c6b0602f1b155cd9cec38e673b064c64f1dc7d6
[ "Apache-2.0" ]
null
null
null
C++/oj1337.cpp
muinocriz/hfutoj
9c6b0602f1b155cd9cec38e673b064c64f1dc7d6
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int t,i,j,k; int sum; char a,b; cin >>t; while(t--) { sum=0; cin>>i>>a>>j>>b>>k; if(a=='+') sum = i+j; else sum = i-j; if(b=='+') sum = sum + k; else ...
15.32
27
0.355091
muinocriz
b8bb0b7fef2d2a8eb1acaa5fe098070efa4cc796
13,125
cpp
C++
data/interactive_markers/src/tools.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
2
2020-06-02T07:45:58.000Z
2021-01-25T12:42:10.000Z
melodic/src/interactive_markers/src/tools.cpp
disorn-inc/ROS-melodic-python3-Opencv-4.1.1-CUDA
3d265bb64712e3cd7dfa0ad56d78fcdebafdb4b0
[ "BSD-3-Clause" ]
null
null
null
melodic/src/interactive_markers/src/tools.cpp
disorn-inc/ROS-melodic-python3-Opencv-4.1.1-CUDA
3d265bb64712e3cd7dfa0ad56d78fcdebafdb4b0
[ "BSD-3-Clause" ]
7
2019-07-22T15:33:42.000Z
2020-06-02T07:45:45.000Z
/* * Copyright (c) 2011, Willow Garage, 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: * * * Redistributions of source code must retain the above copyright * notice, this l...
29.428251
106
0.6592
khairulislam
b8bd27ca51efb91deee6403b18e3279bfbd28ce8
3,492
cpp
C++
ecal/core/src/ecal_process_stub.cpp
jonico/ecal
244531e4a0f3be8f1ce881f5bbeca354b05d29aa
[ "Apache-2.0" ]
null
null
null
ecal/core/src/ecal_process_stub.cpp
jonico/ecal
244531e4a0f3be8f1ce881f5bbeca354b05d29aa
[ "Apache-2.0" ]
null
null
null
ecal/core/src/ecal_process_stub.cpp
jonico/ecal
244531e4a0f3be8f1ce881f5bbeca354b05d29aa
[ "Apache-2.0" ]
null
null
null
#include <sys/file.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <iostream> #include "ecal_process_stub.h" int main(int argc, char** argv) { if (argc <= 1) { std::cout << "This program is part of eCAL and should not be launched manually." << std::endl; return EXIT_FAILURE; } ...
34.92
165
0.625716
jonico
b8be8de72b7b10648fe75e002dc639285ea5ece9
4,978
cpp
C++
RayTracer/RayTracer/src/Graphics/Primitives/BoundingBox.cpp
cristi191096/RayTracer
4065fc86e3445bb6f57b494e02298f12ec3e4da1
[ "Apache-2.0" ]
null
null
null
RayTracer/RayTracer/src/Graphics/Primitives/BoundingBox.cpp
cristi191096/RayTracer
4065fc86e3445bb6f57b494e02298f12ec3e4da1
[ "Apache-2.0" ]
null
null
null
RayTracer/RayTracer/src/Graphics/Primitives/BoundingBox.cpp
cristi191096/RayTracer
4065fc86e3445bb6f57b494e02298f12ec3e4da1
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "BoundingBox.h" BoundingBox::BoundingBox(glm::vec3 min, glm::vec3 max) { m_Params[0] = min; m_Params[1] = max; m_Centre = (min + max) * 0.5f; //Split(0); } BoundingBox::~BoundingBox() { } void BoundingBox::Split(int level) { //if (level == MAX_DEPTH) return; glm::vec3 min; glm:...
24.766169
108
0.608076
cristi191096
b8bedb543fcb1bdf3fe9fd5f07c3dd18bbb41276
6,763
cpp
C++
pyschedcl/passes/feature_pass/tests/mv/src/main.cpp
sarthak-chakraborty/pyschedcl-concurrent
a9fe435b79ed429bfcbee27e6f90a2b67c3b41da
[ "MIT" ]
null
null
null
pyschedcl/passes/feature_pass/tests/mv/src/main.cpp
sarthak-chakraborty/pyschedcl-concurrent
a9fe435b79ed429bfcbee27e6f90a2b67c3b41da
[ "MIT" ]
null
null
null
pyschedcl/passes/feature_pass/tests/mv/src/main.cpp
sarthak-chakraborty/pyschedcl-concurrent
a9fe435b79ed429bfcbee27e6f90a2b67c3b41da
[ "MIT" ]
1
2020-12-10T17:41:20.000Z
2020-12-10T17:41:20.000Z
#include <algorithm> #include <cassert> #include <iostream> #include <sstream> #include <string.h> #include <stdio.h> #include "Buffer.h" #include "Device.h" #include "Event.h" #include "Kernel.h" #include "Platform.h" #include "Program.h" #include "Queue.h" #include "SystemConfiguration.h" #include "bench_support.h"...
32.204762
83
0.560698
sarthak-chakraborty
b8bf8b4ada3e129d4729be4ae6939433e0c5d4b3
216
cpp
C++
src/main.cpp
DomonkosSuranyi/neural-glider
e131d9a91337fd42e5d827556ac3c1e2b21dbc4d
[ "MIT" ]
null
null
null
src/main.cpp
DomonkosSuranyi/neural-glider
e131d9a91337fd42e5d827556ac3c1e2b21dbc4d
[ "MIT" ]
null
null
null
src/main.cpp
DomonkosSuranyi/neural-glider
e131d9a91337fd42e5d827556ac3c1e2b21dbc4d
[ "MIT" ]
null
null
null
#include <negli/NeuralGliderGame.hpp> #include <negli/ConsolePrint.hpp> using namespace negli; int main() { NeuralGliderGame game = NeuralGliderGame(20, 20, 5, 5); negli::printGame(game); return 0; }
15.428571
59
0.699074
DomonkosSuranyi
b8bfb109ed59d7e98bbe354fd1fc27e4ab7e8636
4,611
cpp
C++
src/main.cpp
n-ari/c91-tsp
f760582269a7e7c645e414fa4b89c06e99f03c35
[ "MIT" ]
null
null
null
src/main.cpp
n-ari/c91-tsp
f760582269a7e7c645e414fa4b89c06e99f03c35
[ "MIT" ]
null
null
null
src/main.cpp
n-ari/c91-tsp
f760582269a7e7c645e414fa4b89c06e99f03c35
[ "MIT" ]
null
null
null
#include <iostream> #include "util.hpp" #include "tsp.hpp" #include "nearest_neighbor.hpp" #include "nearest_insertion.hpp" #include "farthest_insertion.hpp" #include "double_mst.hpp" #include "greedy.hpp" #include "quick_boruvka.hpp" #include "two_opt.hpp" // main routine int main(int argc, char **argv){ if(argc<2...
24.657754
60
0.589243
n-ari
b8c1d6eaf8bd946b16d2f0fffc01aea65bc662a3
370
hpp
C++
Common/GameEngine/component/graphical/Drawable.hpp
Pierre-Narcisi/r-type
ac1b10e404313fef56eaea52e0252d85b7feae05
[ "Unlicense" ]
null
null
null
Common/GameEngine/component/graphical/Drawable.hpp
Pierre-Narcisi/r-type
ac1b10e404313fef56eaea52e0252d85b7feae05
[ "Unlicense" ]
null
null
null
Common/GameEngine/component/graphical/Drawable.hpp
Pierre-Narcisi/r-type
ac1b10e404313fef56eaea52e0252d85b7feae05
[ "Unlicense" ]
null
null
null
/* ** EPITECH PROJECT, 2021 ** rtype ** File description: ** Created by seb, */ #pragma once namespace ecs {namespace component { struct Drawable { Drawable() { this->layer = 0; this->visible = false; } Drawable(unsigned int layer, bool visible) { this->layer = layer; this->visible = visible; } ...
16.086957
46
0.627027
Pierre-Narcisi
fef74a3ee35c0682f94ffc385d97330afa35efc7
3,442
cpp
C++
tests/op/test_tensorrt_op_clip.cpp
sunnycase/Tengine
fe1b148f64ffe0546fc18000293aa7abd6308fb3
[ "Apache-2.0" ]
2
2021-07-29T02:02:33.000Z
2022-03-02T08:56:52.000Z
tests/op/test_tensorrt_op_clip.cpp
sunnycase/Tengine
fe1b148f64ffe0546fc18000293aa7abd6308fb3
[ "Apache-2.0" ]
null
null
null
tests/op/test_tensorrt_op_clip.cpp
sunnycase/Tengine
fe1b148f64ffe0546fc18000293aa7abd6308fb3
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
28.446281
142
0.647298
sunnycase
fef932d3d5f0b6ea85389a95dfd62345c79ead4f
1,368
cpp
C++
Graphs/NumberOfIslands.cpp
diivyya/DSA_codes
e50de5a863d52cc70f29b81e45c9301cf002ba2b
[ "MIT" ]
null
null
null
Graphs/NumberOfIslands.cpp
diivyya/DSA_codes
e50de5a863d52cc70f29b81e45c9301cf002ba2b
[ "MIT" ]
null
null
null
Graphs/NumberOfIslands.cpp
diivyya/DSA_codes
e50de5a863d52cc70f29b81e45c9301cf002ba2b
[ "MIT" ]
null
null
null
//No of islands (only 4 neighbours) //Time: O(M*N) //Space: O(M*N) #include <bits/stdc++.h> using namespace std; bool isInside(int n, int m, int i, int j) { if(i<0||j<0||i>n-1||j>m-1) return false; return true; } void dfs(vector<vector<char>>&grid, vector<vector<bool>>&vis, int n, int m, i...
22.8
93
0.407164
diivyya
fefa85d9d309040b173f27a6da35461b91f70102
1,353
hpp
C++
adbase/Logging/AsyncLogging.hpp
weiboad/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
62
2017-02-15T11:36:46.000Z
2022-03-14T09:11:10.000Z
adbase/Logging/AsyncLogging.hpp
AraHaan/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
5
2017-02-21T05:32:14.000Z
2017-05-21T13:15:07.000Z
adbase/Logging/AsyncLogging.hpp
AraHaan/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
22
2017-02-16T02:11:25.000Z
2020-02-12T18:12:44.000Z
#if !defined ADBASE_LOGGING_HPP_ # error "Not allow include this header." #endif #ifndef ADBASE_UTILITY_ASYNCLOGGING_HPP_ #define ADBASE_UTILITY_ASYNCLOGGING_HPP_ #include <thread> #include <condition_variable> #include <vector> namespace adbase { /** * @addtogroup logging adbase::Logging */ /*@{*/ class Async...
19.608696
87
0.733186
weiboad
fefece9337b6ae3bafc108b2e17cdbdebe7a00da
4,485
cpp
C++
source/samples/BLETest.cpp
danielstl/microbit-v2-samples
bdf296781b736b858f453b06ff7324ccc194a3ae
[ "MIT" ]
23
2020-11-18T00:27:57.000Z
2022-03-20T17:50:14.000Z
source/samples/BLETest.cpp
danielstl/microbit-v2-samples
bdf296781b736b858f453b06ff7324ccc194a3ae
[ "MIT" ]
37
2020-10-19T16:15:27.000Z
2022-03-20T12:21:22.000Z
source/samples/BLETest.cpp
danielstl/microbit-v2-samples
bdf296781b736b858f453b06ff7324ccc194a3ae
[ "MIT" ]
40
2020-10-14T15:26:13.000Z
2022-02-21T12:41:44.000Z
/* The MIT License (MIT) Copyright (c) 2021 Lancaster University. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
38.663793
113
0.733333
danielstl
feff010f88248ab5fc0827a993aeb88f49ad90ee
438
cpp
C++
HFMidiLib/port.cpp
hefsoftware/HFMidiLib
e816d92a6effe8b70420a7db431c7197e0c4f727
[ "MIT" ]
null
null
null
HFMidiLib/port.cpp
hefsoftware/HFMidiLib
e816d92a6effe8b70420a7db431c7197e0c4f727
[ "MIT" ]
null
null
null
HFMidiLib/port.cpp
hefsoftware/HFMidiLib
e816d92a6effe8b70420a7db431c7197e0c4f727
[ "MIT" ]
null
null
null
/* * Copyright 2021 Marzocchi Alessandro * All rights reserved. Distributed under the terms of the MIT license. */ #include "port.h" using namespace HFMidi; Port::Port() { } void Port::sendEvent(const QByteArray &data) { sendData(data); } bool Port::sendData(const QByteArray &data) { Q_UNUSED(data); retur...
14.6
71
0.696347
hefsoftware
fefffc3af6d878593c69fee7959c556962f63749
660
cpp
C++
02. Algorithms/09. Dynamic Programming/006. House Robber II/code.cpp
dr490n1s3d-3d8/Data-Structures-and-Algorithms
f2bba2d836f448cc0cd894c4e9791819910571d5
[ "MIT" ]
1
2022-03-06T13:58:27.000Z
2022-03-06T13:58:27.000Z
02. Algorithms/09. Dynamic Programming/006. House Robber II/code.cpp
dr490n1s3d-3d8/Data-Structures-and-Algorithms
f2bba2d836f448cc0cd894c4e9791819910571d5
[ "MIT" ]
null
null
null
02. Algorithms/09. Dynamic Programming/006. House Robber II/code.cpp
dr490n1s3d-3d8/Data-Structures-and-Algorithms
f2bba2d836f448cc0cd894c4e9791819910571d5
[ "MIT" ]
1
2022-03-24T15:25:34.000Z
2022-03-24T15:25:34.000Z
class Solution { public: int rob(vector<int>& nums) { int n = nums.size() ; if(n==1) return nums[0] ; if(n==2) return max(nums[0],nums[1]) ; int dp1[n-1] ; dp1[0] = nums[0] ; dp1[1] = max(nums[0],nums[1]) ; for(int i=2...
23.571429
54
0.369697
dr490n1s3d-3d8
3a0142aad30569e9bf55c812144b062b67a7119d
15,475
cc
C++
Dependencies/Grpc/Cpp/proto/gRPCCommunication/GrpcStepInput.pb.cc
DNAI-io/RL-Agent
0f4df4af4b7617bf010aafc3f40349db2d14d93e
[ "MIT" ]
null
null
null
Dependencies/Grpc/Cpp/proto/gRPCCommunication/GrpcStepInput.pb.cc
DNAI-io/RL-Agent
0f4df4af4b7617bf010aafc3f40349db2d14d93e
[ "MIT" ]
null
null
null
Dependencies/Grpc/Cpp/proto/gRPCCommunication/GrpcStepInput.pb.cc
DNAI-io/RL-Agent
0f4df4af4b7617bf010aafc3f40349db2d14d93e
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: proto/gRPCCommunication/GrpcStepInput.proto #include "proto/gRPCCommunication/GrpcStepInput.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set....
41.71159
236
0.765428
DNAI-io
3a020dd3dd9621e2d1d76204c4720f5446e4407f
2,338
cpp
C++
node/src/ops/Pad.cpp
wangli69087/webnn-native
8fc751ee87dd797137a6443a28b8dd34d0a4d692
[ "Apache-2.0" ]
null
null
null
node/src/ops/Pad.cpp
wangli69087/webnn-native
8fc751ee87dd797137a6443a28b8dd34d0a4d692
[ "Apache-2.0" ]
null
null
null
node/src/ops/Pad.cpp
wangli69087/webnn-native
8fc751ee87dd797137a6443a28b8dd34d0a4d692
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The WebNN-native 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 ...
41.017544
99
0.61976
wangli69087
3a024a78147f0f1d108a91d8d73eb54493c718e8
1,259
cpp
C++
ControlWindow.cpp
pipmix/WinUI2
d5f897aa58c9d0024ff45e3a8a562bcf925ca361
[ "MIT" ]
null
null
null
ControlWindow.cpp
pipmix/WinUI2
d5f897aa58c9d0024ff45e3a8a562bcf925ca361
[ "MIT" ]
null
null
null
ControlWindow.cpp
pipmix/WinUI2
d5f897aa58c9d0024ff45e3a8a562bcf925ca361
[ "MIT" ]
null
null
null
#include "ControlWindow.h" void CreateControlWindow(WinDat& wd){ wd._handle = CreateWindowEx(0, wd._className, NULL, wd._style, wd._x, wd._y, wd._w, wd._h, wd._parent, 0, NULL, NULL); HTREEITEM hRoot; TV_INSERTSTRUCT tvins; tvins = { 0 }; tvins.hInsertAfter = TVI_ROOT; tvins.item.mask = TVIF_TEXT; tvins....
23.754717
119
0.72359
pipmix
3a03e0a95acfb6fce27ba7ae88db0f22d41f6946
5,339
cpp
C++
feature/vldsift.cpp
abhishek4747/imagenet2010-devkit
6ad756179dc2f85aec65ee5ed3a94ef17f351d81
[ "MIT" ]
2
2017-11-28T14:58:46.000Z
2020-05-05T04:43:43.000Z
feature/vldsift.cpp
abhishek4747/imagenet2010-devkit
6ad756179dc2f85aec65ee5ed3a94ef17f351d81
[ "MIT" ]
null
null
null
feature/vldsift.cpp
abhishek4747/imagenet2010-devkit
6ad756179dc2f85aec65ee5ed3a94ef17f351d81
[ "MIT" ]
2
2020-05-05T04:43:47.000Z
2021-11-27T16:49:35.000Z
extern "C" { #include "vl/generic.h" #include "vl/stringop.h" #include "vl/pgm.h" #include "vl/dsift.h" #include "vl/sift.h" #include "vl/getopt_long.h" } #include <errno.h> #include <cstdlib> #include <cstdio> #include <cassert> #include <iostream> #include <sstream> #include <cmath> #include <string> #include <cstdi...
22.914163
131
0.554411
abhishek4747
3a05ddb3d8d3e19c15db99ecac35e8450db1259a
5,885
cpp
C++
Modules/US/USModel/mitkUSDeviceWriterXML.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/US/USModel/mitkUSDeviceWriterXML.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/US/USModel/mitkUSDeviceWriterXML.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
37.246835
188
0.746814
wyyrepo
3a087fceb1f9cb99e6e419ac33c956794e78c256
9,122
cpp
C++
include/oled.cpp
va3wam/pentaBot
76c94e405a8c1b773a5b6ed30eaff8f126a47629
[ "MIT" ]
null
null
null
include/oled.cpp
va3wam/pentaBot
76c94e405a8c1b773a5b6ed30eaff8f126a47629
[ "MIT" ]
97
2021-08-30T13:35:39.000Z
2022-03-31T02:51:47.000Z
include/oled.cpp
va3wam/pentaBot
76c94e405a8c1b773a5b6ed30eaff8f126a47629
[ "MIT" ]
1
2021-10-29T19:09:33.000Z
2021-10-29T19:09:33.000Z
/******************************************************************************* * @file oled.cpp * @brief File containing all OLED functions. *******************************************************************************/ #ifndef oled_cpp // Start of precompiler check to avoid dupicate inclusion of this code blo...
36.342629
125
0.60513
va3wam
3a0b9822633116707d1d816cfafc655726d16bd8
3,222
hpp
C++
tutorial-day-2/cpp-toolkit/02_normalization_component/solution/normalized.hpp
NERSC/timemory-tutorials
06056bfad1599364d0f881d53f280b2308313e69
[ "MIT" ]
15
2020-08-10T11:42:30.000Z
2021-07-29T06:18:41.000Z
tutorial-day-2/cpp-toolkit/02_normalization_component/solution/normalized.hpp
NERSC/timemory-tutorials
06056bfad1599364d0f881d53f280b2308313e69
[ "MIT" ]
6
2020-07-13T16:37:34.000Z
2021-05-20T10:50:01.000Z
tutorial-day-2/cpp-toolkit/02_normalization_component/solution/normalized.hpp
NERSC/timemory-tutorials
06056bfad1599364d0f881d53f280b2308313e69
[ "MIT" ]
2
2020-10-22T19:22:19.000Z
2021-04-19T15:36:10.000Z
#include "timemory/mpl/math.hpp" #include "timemory/mpl/stl.hpp" #include <timemory/components.hpp> #include <timemory/components/base.hpp> #include <timemory/mpl/types.hpp> // for overload resolution, e.g. foo.store(normalize_tag{}, size_t) struct normalization {}; namespace tim { namespace component { template <ty...
20.392405
82
0.676909
NERSC
3a0caed9c94a94401d720ac84ad4c0a9c8a26413
2,181
cpp
C++
src/effects/VST3/internal/x11/PlugFrame.cpp
sthagen/audacity-audacity
2f7ef196221bc20e7bcaa079c4d7d471563151b2
[ "CC-BY-3.0" ]
1
2022-03-23T09:09:18.000Z
2022-03-23T09:09:18.000Z
src/effects/VST3/internal/x11/PlugFrame.cpp
sthagen/audacity-audacity
2f7ef196221bc20e7bcaa079c4d7d471563151b2
[ "CC-BY-3.0" ]
null
null
null
src/effects/VST3/internal/x11/PlugFrame.cpp
sthagen/audacity-audacity
2f7ef196221bc20e7bcaa079c4d7d471563151b2
[ "CC-BY-3.0" ]
null
null
null
/********************************************************************** Audacity: A Digital Audio Editor @file PlugFrame.cpp @author Vitaly Sverchinsky @brief Part of Audacity VST3 module **********************************************************************/ #include "PlugFrame.h" using namespace intern...
29.472973
98
0.644658
sthagen
3a0f2adc46d8eee62126b5f74997a8b066ebb1eb
2,607
cpp
C++
SAD-3D/Source/PanelAbout.cpp
t3m1X/SAD-3D
129973f9c15eac62cd1e868224190a961f0684bd
[ "MIT" ]
null
null
null
SAD-3D/Source/PanelAbout.cpp
t3m1X/SAD-3D
129973f9c15eac62cd1e868224190a961f0684bd
[ "MIT" ]
null
null
null
SAD-3D/Source/PanelAbout.cpp
t3m1X/SAD-3D
129973f9c15eac62cd1e868224190a961f0684bd
[ "MIT" ]
null
null
null
#include "PanelAbout.h" #include "Application.h" #include "ModuleGui.h" #include "Imgui/imgui.h" #include "mmgr/mmgr.h" PanelAbout::PanelAbout(char * name) : Panel(name) { } PanelAbout::~PanelAbout() { } bool PanelAbout::Draw() { ImGuiWindowFlags settingsFlags = 0; settingsFlags = ImGuiWindowFlags_NoFocusOnAppe...
42.737705
485
0.726506
t3m1X
3a0fda872f54dd180b67600e81631493d6ff426c
13,944
cpp
C++
Tools/EditorFramework/EngineProcess/Implementation/EngineProcessDocumentContext.cpp
eltld/ezEngine
3230235249dd2769f166872b753efd6bd8347c98
[ "CC-BY-3.0" ]
null
null
null
Tools/EditorFramework/EngineProcess/Implementation/EngineProcessDocumentContext.cpp
eltld/ezEngine
3230235249dd2769f166872b753efd6bd8347c98
[ "CC-BY-3.0" ]
null
null
null
Tools/EditorFramework/EngineProcess/Implementation/EngineProcessDocumentContext.cpp
eltld/ezEngine
3230235249dd2769f166872b753efd6bd8347c98
[ "CC-BY-3.0" ]
1
2020-03-08T04:55:16.000Z
2020-03-08T04:55:16.000Z
#include <PCH.h> #include <EditorFramework/EngineProcess/EngineProcessDocumentContext.h> #include <EditorFramework/EngineProcess/EngineProcessMessages.h> #include <EditorFramework/IPC/SyncObject.h> #include <EditorFramework/EngineProcess/EngineProcessMessages.h> #include <EditorFramework/EngineProcess/EngineProcessView...
29.110647
143
0.727625
eltld
3a1333267ba4408a140f01de409b239e004253b3
1,987
cc
C++
src/devices/temperature/drivers/tmp112/tmp112-test.cc
csrpi/fuchsia
2f015594dcb4c13aa51eee305ad561078f1f9b7f
[ "BSD-2-Clause" ]
null
null
null
src/devices/temperature/drivers/tmp112/tmp112-test.cc
csrpi/fuchsia
2f015594dcb4c13aa51eee305ad561078f1f9b7f
[ "BSD-2-Clause" ]
null
null
null
src/devices/temperature/drivers/tmp112/tmp112-test.cc
csrpi/fuchsia
2f015594dcb4c13aa51eee305ad561078f1f9b7f
[ "BSD-2-Clause" ]
null
null
null
// 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 "tmp112.h" #include <lib/fake_ddk/fake_ddk.h> #include <lib/mock-i2c/mock-i2c.h> #include <zxtest/zxtest.h> namespace { bool FloatNear(float a...
29.220588
88
0.717665
csrpi
3a14283ea57ebe466e1b4e7b69e3e3d93b97efbc
1,186
cc
C++
platform/epoll_platform_impl/quic_epoll_clock.cc
MacroLau/quiche
21b1a63ead0a03497127d7f9ae74c3f0eed07e58
[ "Apache-2.0" ]
102
2021-05-18T10:31:57.000Z
2022-03-29T04:25:42.000Z
platform/epoll_platform_impl/quic_epoll_clock.cc
MacroLau/quiche
21b1a63ead0a03497127d7f9ae74c3f0eed07e58
[ "Apache-2.0" ]
9
2021-06-02T06:44:30.000Z
2022-03-14T07:52:34.000Z
platform/epoll_platform_impl/quic_epoll_clock.cc
MacroLau/quiche
21b1a63ead0a03497127d7f9ae74c3f0eed07e58
[ "Apache-2.0" ]
23
2021-05-18T13:07:50.000Z
2022-02-24T02:16:02.000Z
// NOLINT(namespace-quic) // // This file is part of the QUICHE platform implementation, and is not to be // consumed or referenced directly by other Envoy code. It serves purely as a // porting layer for QUICHE. #include "platform/epoll_platform_impl/quic_epoll_clock.h" namespace quic { QuicEpollClock::QuicEpollClo...
30.410256
93
0.77403
MacroLau
3a14418b5b63b643fa73d0de8cdf04438e409c98
12,922
cpp
C++
plugins/monitor/pluginsrc/cpu_stats_linux.cpp
pretty-wise/link
16a4241c4978136d8c4bd1caab20bdf37df9caaf
[ "Unlicense" ]
null
null
null
plugins/monitor/pluginsrc/cpu_stats_linux.cpp
pretty-wise/link
16a4241c4978136d8c4bd1caab20bdf37df9caaf
[ "Unlicense" ]
5
2019-12-27T05:51:10.000Z
2022-02-12T02:24:58.000Z
plugins/monitor/pluginsrc/cpu_stats_linux.cpp
pretty-wise/link
16a4241c4978136d8c4bd1caab20bdf37df9caaf
[ "Unlicense" ]
null
null
null
/* * Copywrite 2014-2015 Krzysztof Stasik. All rights reserved. */ #include "monitor_plugin.h" #include "base/io/base_file.h" #include "common/json/json_writer.h" #include "link/plugin_log.h" #include "base/core/time_utils.h" #include "base/core/assert.h" #include <unistd.h> namespace Link { static const streamsi...
26.157895
77
0.638291
pretty-wise
3a14d40d59d1c1ddd94b4c01a08c6c40475e01e6
150
cpp
C++
old/AtCoder/arc056/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
old/AtCoder/arc056/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
old/AtCoder/arc056/A.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "template.hpp" int main() { int64_t a, b, k, l; cin >> a >> b >> k >> l; cout << min(k % l * a + k / l * b, k / l * b + b) << endl; }
18.75
60
0.426667
not522
3a15141528e6dda2f9bf0ab28c793d143c7a5f14
5,380
cpp
C++
avk/internal/main.cpp
hanxingyixue-arch/AVK
0a19ba3e71bac1c5944b084311669f23ff5fda72
[ "BSD-2-Clause" ]
1
2021-03-09T02:39:45.000Z
2021-03-09T02:39:45.000Z
avk/internal/main.cpp
hanxingyixue-arch/AVK
0a19ba3e71bac1c5944b084311669f23ff5fda72
[ "BSD-2-Clause" ]
null
null
null
avk/internal/main.cpp
hanxingyixue-arch/AVK
0a19ba3e71bac1c5944b084311669f23ff5fda72
[ "BSD-2-Clause" ]
null
null
null
#include "../external_dependencies/cmts/include/cmts.h" #include "algorithm_thread.h" #include "graphics/vulkan_state.h" #include "windows-specific/framework.h" #include "windows-specific/Resource.h" #include <atomic> #include <chrono> #define MAX_LOADSTRING 100 HINSTANCE hinstance; HWND hwnd; static HACCEL accel; s...
28.167539
123
0.64684
hanxingyixue-arch
3a1588c32aae4d242d82280d4d2868edde1df202
999
hpp
C++
PP/tuple/concept.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
3
2019-07-12T23:12:24.000Z
2019-09-05T07:57:45.000Z
PP/tuple/concept.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
PP/tuple/concept.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
#pragma once #include <PP/declval.hpp> #include <PP/get_type.hpp> #include <PP/macros/simple_concept.hpp> #include <PP/value_t.hpp> #include <PP/tuple/count.hpp> #include <PP/tuple/element.hpp> #include <PP/tuple/get.hpp> #include <PP/tuple/value_sequence_for.hpp> namespace PP::detail { template <typename T, auto I> c...
24.975
75
0.648649
Petkr
3a163a1d66dc0789e7dda43cf37d991caf425013
24,837
cpp
C++
src/OrbitVulkanLayer/VulkanLayerProducerImplTest.cpp
tufeigunchu/orbit
407354cf7c9159ff7e3177c603a6850b95509e3a
[ "BSD-2-Clause" ]
2
2020-07-31T08:18:58.000Z
2021-12-26T06:43:07.000Z
src/OrbitVulkanLayer/VulkanLayerProducerImplTest.cpp
tufeigunchu/orbit
407354cf7c9159ff7e3177c603a6850b95509e3a
[ "BSD-2-Clause" ]
null
null
null
src/OrbitVulkanLayer/VulkanLayerProducerImplTest.cpp
tufeigunchu/orbit
407354cf7c9159ff7e3177c603a6850b95509e3a
[ "BSD-2-Clause" ]
1
2021-03-10T15:21:19.000Z
2021-03-10T15:21:19.000Z
// Copyright (c) 2020 The Orbit 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 <gmock/gmock.h> #include <gtest/gtest.h> #include "FakeProducerSideService/FakeProducerSideService.h" #include "VulkanLayerProducerImpl.h" nam...
47.218631
98
0.793816
tufeigunchu
3a17b43d010b587291241dfa2aec969429e24ef3
10,856
cpp
C++
RcsPySim/src/cpp/pyEnv/module.cpp
theogruner/SimuRLacra
4893514ccdeb10a736c55de9aa7753fd51c5afec
[ "DOC", "Zlib", "BSD-3-Clause" ]
52
2020-05-02T13:55:09.000Z
2022-03-09T14:49:36.000Z
RcsPySim/src/cpp/pyEnv/module.cpp
theogruner/SimuRLacra
4893514ccdeb10a736c55de9aa7753fd51c5afec
[ "DOC", "Zlib", "BSD-3-Clause" ]
40
2020-09-01T15:19:22.000Z
2021-11-02T14:51:41.000Z
RcsPySim/src/cpp/pyEnv/module.cpp
theogruner/SimuRLacra
4893514ccdeb10a736c55de9aa7753fd51c5afec
[ "DOC", "Zlib", "BSD-3-Clause" ]
13
2020-07-03T11:39:21.000Z
2022-02-20T01:12:42.000Z
/******************************************************************************* Copyright (c) 2020, Fabio Muratore, Honda Research Institute Europe GmbH, and Technical University of Darmstadt. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted prov...
46.393162
126
0.605195
theogruner
3a1afcbceeae17911fc911949ede0b302f08f7a5
1,485
cpp
C++
double_comparison.cpp
TyeolRik/CodingProblems_CPP
1b4d42dd1b24200b8da073948070e65c556f98b4
[ "MIT" ]
null
null
null
double_comparison.cpp
TyeolRik/CodingProblems_CPP
1b4d42dd1b24200b8da073948070e65c556f98b4
[ "MIT" ]
null
null
null
double_comparison.cpp
TyeolRik/CodingProblems_CPP
1b4d42dd1b24200b8da073948070e65c556f98b4
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #define EPSILON 1e-10 bool is_same(double __x, double __y) { if(std::abs(__x - __y) < EPSILON) { std::cout << std::fixed << "IN Function __x\t\t" << __x << "\n"; std::cout << std::fixed << "IN Function __y\t\t" << __y << "\n"; std::cout << std::fixe...
46.40625
101
0.517845
TyeolRik