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
4818553a9e987f2d528ff7da296a7cdbac63890c
1,235
cpp
C++
BAC_2nd/ch6/UVa11853.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
BAC_2nd/ch6/UVa11853.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
BAC_2nd/ch6/UVa11853.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa11853 Paintball // Rujia Liu #include<cstdio> #include<cstdlib> #include<cmath> #include<cstring> #include<algorithm> using namespace std; const int maxn = 1000 + 5; const double W = 1000.0; int n, vis[maxn]; double x[maxn], y[maxn], r[maxn], left, right; bool ok; bool intersect(int c1, int c2) { return sq...
22.87037
89
0.527935
Anyrainel
48235ef8d9d9e5b17a6c6f7d587e163f308ae52c
698
cpp
C++
src/CSMGameProject/CSMGameProject/EmoticonHandler.cpp
mastrayer/CSM
4ea656584dec4fe60771fbf13dc3d6bca00675fd
[ "MIT" ]
5
2016-06-02T09:50:31.000Z
2018-06-20T04:52:54.000Z
src/CSMGameProject/CSMGameProject/EmoticonHandler.cpp
mastrayer/CSM
4ea656584dec4fe60771fbf13dc3d6bca00675fd
[ "MIT" ]
null
null
null
src/CSMGameProject/CSMGameProject/EmoticonHandler.cpp
mastrayer/CSM
4ea656584dec4fe60771fbf13dc3d6bca00675fd
[ "MIT" ]
null
null
null
#include <stdio.h> #include "PacketHandler.h" #include "PlayerManager.h" #include "GameManager.h" #include "EffectManager.h" #include "EmoticonEffect.h" EmoticonHandler::EmoticonHandler() { } EmoticonHandler::~EmoticonHandler() { } void EmoticonHandler::HandlingPacket( short packetType, NNCircular...
19.942857
140
0.696275
mastrayer
4823be4f463910cd08208685aee8a37cc52df35c
1,433
cpp
C++
Highwaycam/program.cpp
42yeah/Highwaycam
02d06c3e30eef741e252b9f518ab24b3c7ac7e64
[ "MIT" ]
1
2020-06-16T10:29:25.000Z
2020-06-16T10:29:25.000Z
Highwaycam/program.cpp
42yeah/Highwaycam
02d06c3e30eef741e252b9f518ab24b3c7ac7e64
[ "MIT" ]
null
null
null
Highwaycam/program.cpp
42yeah/Highwaycam
02d06c3e30eef741e252b9f518ab24b3c7ac7e64
[ "MIT" ]
null
null
null
// // program.cpp // Highwaycam // // Created by Hao Zhou on 28/05/2020. // Copyright © 2020 John Boiles . All rights reserved. // #include "program.hpp" #include "app.hpp" #include <sstream> GLuint compile(App *app, GLuint type, std::string path) { std::string reason = "Failed to compile shader: " + path; ...
29.244898
69
0.611305
42yeah
482647dae603244f1d36e1ec2e8736a4e65cceca
3,657
cpp
C++
ljrServer/tcp_server.cpp
lijianran/ljrServer
d5087447b92ac4eaffe35dec0c0661cf72a3dad7
[ "Apache-2.0" ]
1
2021-05-15T14:40:36.000Z
2021-05-15T14:40:36.000Z
ljrServer/tcp_server.cpp
lijianran/ljrServer
d5087447b92ac4eaffe35dec0c0661cf72a3dad7
[ "Apache-2.0" ]
null
null
null
ljrServer/tcp_server.cpp
lijianran/ljrServer
d5087447b92ac4eaffe35dec0c0661cf72a3dad7
[ "Apache-2.0" ]
null
null
null
#include "tcp_server.h" #include "config.h" #include "log.h" namespace ljrserver { static ljrserver::ConfigVar<uint64_t>::ptr g_tcp_server_read_timeout = ljrserver::Config::Lookup("tcp_server.read_timeout", (uint64_t)(60 * 1000 * 2), "tcp server read timeout"); static ljrserver::Logger::ptr g_logger...
28.130769
115
0.481816
lijianran
4826b6fb5f83ec6bb737444d63af60e9f165bff6
1,736
cc
C++
compiler/verify/function_type_test.cc
perimosocordiae/Icarus
183098eff886a0503562e5571e7009dd22719367
[ "Apache-2.0" ]
10
2015-10-28T18:54:41.000Z
2021-12-29T16:48:31.000Z
compiler/verify/function_type_test.cc
perimosocordiae/Icarus
183098eff886a0503562e5571e7009dd22719367
[ "Apache-2.0" ]
95
2020-02-27T22:34:02.000Z
2022-03-06T19:45:24.000Z
compiler/verify/function_type_test.cc
perimosocordiae/Icarus
183098eff886a0503562e5571e7009dd22719367
[ "Apache-2.0" ]
2
2019-02-01T23:16:04.000Z
2020-02-27T16:06:02.000Z
#include "compiler/compiler.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "test/module.h" #include "type/overload_set.h" namespace compiler { namespace { using ::testing::IsEmpty; using ::testing::Pair; using ::testing::UnorderedElementsAre; TEST(FunctionType, Empty) { test::TestModule mod; auto ...
33.384615
80
0.685484
perimosocordiae
48274f205b1f63788b25f6e88be3fad4cfc1e0af
128
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:eb2d0741391080bf616202edba473e05dcf8d96886d2d80f3f78df48f9dbe6f9 size 363
32
75
0.882813
initialz
48287ef19fb1ed0ec68f9a36e5be0cc193faf01a
414
cpp
C++
src/core/subsystem/utility/SSStartupScript.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
5
2015-10-11T10:22:39.000Z
2019-07-24T10:09:13.000Z
src/core/subsystem/utility/SSStartupScript.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
src/core/subsystem/utility/SSStartupScript.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
/************************************************** Copyright 2015 Ola Enberg ***************************************************/ #include "SSStartupScript.h" #include <script/ScriptEngine.h> SSStartupScript& SSStartupScript::GetInstance( ) { static SSStartupScript instance; return instance; } void SSStart...
23
69
0.548309
Robograde
4829ec577feb811cf4ebd802de912d5f9820dc8e
8,442
cpp
C++
src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/tests/Token_Strategy_Test.cpp
549654033/RDHelp
0f5f9c7d098635c7216713d7137c845c0d999226
[ "MIT" ]
2
2020-05-20T05:16:34.000Z
2020-05-20T05:19:19.000Z
src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/tests/Token_Strategy_Test.cpp
jimxie2012/RDHelp
0f5f9c7d098635c7216713d7137c845c0d999226
[ "MIT" ]
null
null
null
src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/tests/Token_Strategy_Test.cpp
jimxie2012/RDHelp
0f5f9c7d098635c7216713d7137c845c0d999226
[ "MIT" ]
4
2020-05-20T01:50:16.000Z
2021-08-29T13:48:25.000Z
// $Id: Token_Strategy_Test.cpp 90163 2010-05-18 21:42:20Z mitza $ // ============================================================================ // // = LIBRARY // tests // // = DESCRIPTION // This program tests the behavior of ACE_Token under a variety of scenarios // in order verify whether or no...
33.903614
111
0.572732
549654033
482b528a90ccb709b175ed12a6a65b210056216c
6,691
cpp
C++
painelSingle.cpp
lsfcin/anikillerscin
8bbd1024fdf0d0b0bd815b2615faed02e1d07fe4
[ "MIT" ]
null
null
null
painelSingle.cpp
lsfcin/anikillerscin
8bbd1024fdf0d0b0bd815b2615faed02e1d07fe4
[ "MIT" ]
null
null
null
painelSingle.cpp
lsfcin/anikillerscin
8bbd1024fdf0d0b0bd815b2615faed02e1d07fe4
[ "MIT" ]
null
null
null
#include "painelSingle.h" Textura PainelSingle :: tSingleFundo("Texturas/Menu/menuSinglePlayerPreto.bmp",false); Textura PainelSingle :: tStartS("Texturas/Menu/Botoes/botaostartS.bmp",false); Textura PainelSingle :: tStart("Texturas/Menu/Botoes/botaostartN.bmp",false); Textura PainelSingle :: tBack("Texturas/Menu/Bot...
33.455
114
0.702586
lsfcin
482e3172c7f9f08fe6de9fecba0eabf372aad77f
6,633
cpp
C++
plugins/tapjoy/common/src/cpp/LuaLibTapjoy.cpp
mikolajgucki/ae-engine
c4953feb74853b01b39b45b3bce23c10f6f74db0
[ "MIT" ]
1
2021-02-23T09:36:42.000Z
2021-02-23T09:36:42.000Z
plugins/tapjoy/common/src/cpp/LuaLibTapjoy.cpp
mikolajgucki/ae-engine
c4953feb74853b01b39b45b3bce23c10f6f74db0
[ "MIT" ]
null
null
null
plugins/tapjoy/common/src/cpp/LuaLibTapjoy.cpp
mikolajgucki/ae-engine
c4953feb74853b01b39b45b3bce23c10f6f74db0
[ "MIT" ]
null
null
null
#include "Log.h" #include "ae_lock.h" #include "LuaLibTapjoy.h" using namespace std; namespace ae { namespace tapjoy { /** */ class TapjoyEvent:public Runnable { protected: /** */ LuaLibTapjoy *luaLibTapjoy; public: /** */ TapjoyEvent(LuaLibTapjoy *lib_):Runnable(), ...
22.11
80
0.56641
mikolajgucki
482ec84b9153a0c8d412c008e2197b91e8194cff
15,556
hpp
C++
polympc/src/nmpc.hpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
polympc/src/nmpc.hpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
polympc/src/nmpc.hpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
// This file is part of PolyMPC, a lightweight C++ template library // for real-time nonlinear optimization and optimal control. // // Copyright (C) 2020 Listov Petr <petr.listov@epfl.ch> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distribute...
34.800895
170
0.607547
alexandreguerradeoliveira
482f0c351449b350b65187e77b7a0bfc69803464
4,073
cpp
C++
mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
jinge90/llvm
1f3f9b9b1181feb559e85970155678c18a436711
[ "Apache-2.0" ]
null
null
null
mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
jinge90/llvm
1f3f9b9b1181feb559e85970155678c18a436711
[ "Apache-2.0" ]
null
null
null
mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
jinge90/llvm
1f3f9b9b1181feb559e85970155678c18a436711
[ "Apache-2.0" ]
null
null
null
//===- ArmSVEDialect.cpp - MLIR ArmSVE dialect implementation -------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
38.065421
80
0.57206
jinge90
482fa342f6894b7348fd53358f2a5855d85cd4f5
74,542
cpp
C++
gazebo_lwr4_simulator/src/gazebo_kuka_lwr/src/kuka_lwr_plugin.cpp
mfigat/public_rshpn_tool
3555cb8f1eb35ef12441b9aef63dae8f578c2aa7
[ "BSD-3-Clause" ]
null
null
null
gazebo_lwr4_simulator/src/gazebo_kuka_lwr/src/kuka_lwr_plugin.cpp
mfigat/public_rshpn_tool
3555cb8f1eb35ef12441b9aef63dae8f578c2aa7
[ "BSD-3-Clause" ]
null
null
null
gazebo_lwr4_simulator/src/gazebo_kuka_lwr/src/kuka_lwr_plugin.cpp
mfigat/public_rshpn_tool
3555cb8f1eb35ef12441b9aef63dae8f578c2aa7
[ "BSD-3-Clause" ]
null
null
null
// ################################################################################################### /* Choose either GAZEBO_CALCULATIONS or EXTERNAL_CALCULATIONS */ //#define GAZEBO_CALCULATIONS /* calculation done in gazebo, no shared memory utilised */ #define EXTERNAL_CALCULATIONS /* calculation done in external ...
63.224767
2,711
0.599192
mfigat
483116ba7daa8eed90262193e27e4f97eb2872bc
9,344
cpp
C++
libs/vgc/ui/lineedit.cpp
PixelRick/vgc
154cc275449a51327a36cb6386a17bbcf1149686
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libs/vgc/ui/lineedit.cpp
PixelRick/vgc
154cc275449a51327a36cb6386a17bbcf1149686
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libs/vgc/ui/lineedit.cpp
PixelRick/vgc
154cc275449a51327a36cb6386a17bbcf1149686
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright 2021 The VGC Developers // See the COPYRIGHT file at the top-level directory of this distribution // and at https://github.com/vgc/vgc/blob/master/COPYRIGHT // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may o...
28.487805
165
0.600171
PixelRick
4832732563378140d97279676de4ee377bdd1418
65
cpp
C++
src/runtime/io.cpp
slak44/Xylene
acc5b0d6f3ae0098ab4cc1692dbcbe4d17556647
[ "MIT" ]
2
2019-07-18T00:34:15.000Z
2019-08-09T13:05:26.000Z
src/runtime/io.cpp
slak44/Xylene
acc5b0d6f3ae0098ab4cc1692dbcbe4d17556647
[ "MIT" ]
null
null
null
src/runtime/io.cpp
slak44/Xylene
acc5b0d6f3ae0098ab4cc1692dbcbe4d17556647
[ "MIT" ]
null
null
null
#include "runtime/io.hpp" void printC(char c) { putchar(c); }
10.833333
25
0.646154
slak44
4834cf71f04bd80152ab8157b8e743a86618080f
10,483
cpp
C++
AvxBlas/PixelShuffle3D/pixelshuffle3d_spacetochannel.cpp
tk-yoshimura/AvxBlas
37ae77f05e35aa3e97109785276afba3835585ec
[ "MIT" ]
null
null
null
AvxBlas/PixelShuffle3D/pixelshuffle3d_spacetochannel.cpp
tk-yoshimura/AvxBlas
37ae77f05e35aa3e97109785276afba3835585ec
[ "MIT" ]
null
null
null
AvxBlas/PixelShuffle3D/pixelshuffle3d_spacetochannel.cpp
tk-yoshimura/AvxBlas
37ae77f05e35aa3e97109785276afba3835585ec
[ "MIT" ]
null
null
null
#include "../avxblas.h" #include "../constants.h" #include "../utils.h" #include "../Inline/inline_copy_s.hpp" #pragma unmanaged int pixelshuffle3d_spacetochannel_aligned( const uint n, const uint ic, const uint oc, const uint iw, const uint ow, const uint ih, const uint oh, const uint id, const uint ...
28.958564
127
0.485643
tk-yoshimura
4834e76c2b2db11047bb1b7ff52fd89c538a8fdb
491
hpp
C++
src/process.hpp
Leomotors/Terminal-Video-Player
0f01efb600479d8d3bb562473a871eaa85a71519
[ "MIT" ]
1
2021-12-12T03:55:09.000Z
2021-12-12T03:55:09.000Z
src/process.hpp
Leomotors/Terminal-Video-Player
0f01efb600479d8d3bb562473a871eaa85a71519
[ "MIT" ]
null
null
null
src/process.hpp
Leomotors/Terminal-Video-Player
0f01efb600479d8d3bb562473a871eaa85a71519
[ "MIT" ]
null
null
null
#pragma once #include <opencv2/opencv.hpp> #include "colors.hpp" namespace tplay::process { extern char *ascii_array; extern int ascii_arrlen; void setup(int options1, int options2); void setupColor(int options2); void processFrame(cv::Mat Frame, int width, int height, std::string header); std::string getClosestCo...
23.380952
76
0.727088
Leomotors
4835242860ac2aaf3c74f023f0f6d81329fd7e9e
933
hpp
C++
include/jln/mp/smp/algorithm/is_sorted.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
9
2020-07-04T16:46:13.000Z
2022-01-09T21:59:31.000Z
include/jln/mp/smp/algorithm/is_sorted.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
null
null
null
include/jln/mp/smp/algorithm/is_sorted.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
1
2021-05-23T13:37:40.000Z
2021-05-23T13:37:40.000Z
#pragma once #include <jln/mp/smp/functional/identity.hpp> #include <jln/mp/smp/utility/always.hpp> #include <jln/mp/smp/number/operators.hpp> #include <jln/mp/functional/tee.hpp> #include <jln/mp/functional/if.hpp> #include <jln/mp/list/size.hpp> #include <jln/mp/algorithm/is_sorted.hpp> namespace jln::mp::smp { t...
23.325
60
0.624866
jonathanpoelen
483acf982086365972c20530d88987b51d3e746a
20,901
hpp
C++
src/c4/dump.hpp
kasper93/c4core
170509d06aceefda8980c98a2785e838bb19e578
[ "BSL-1.0", "MIT" ]
null
null
null
src/c4/dump.hpp
kasper93/c4core
170509d06aceefda8980c98a2785e838bb19e578
[ "BSL-1.0", "MIT" ]
null
null
null
src/c4/dump.hpp
kasper93/c4core
170509d06aceefda8980c98a2785e838bb19e578
[ "BSL-1.0", "MIT" ]
null
null
null
#ifndef C4_DUMP_HPP_ #define C4_DUMP_HPP_ #include <c4/substr.hpp> namespace c4 { //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- //------------------------------------------------------------------------...
36.036207
221
0.601933
kasper93
483ae437a02f74fadf782d2e3e83a8cec9d68bf9
326
cpp
C++
dialog/dialogsectorsetup.cpp
ignmiz/ATC_Console
549dd67a007cf54b976e33fed1581f30beb08b06
[ "Intel", "MIT" ]
5
2018-01-08T22:20:07.000Z
2021-06-19T17:42:29.000Z
dialog/dialogsectorsetup.cpp
ignmiz/ATC_Console
549dd67a007cf54b976e33fed1581f30beb08b06
[ "Intel", "MIT" ]
null
null
null
dialog/dialogsectorsetup.cpp
ignmiz/ATC_Console
549dd67a007cf54b976e33fed1581f30beb08b06
[ "Intel", "MIT" ]
2
2017-08-07T23:07:42.000Z
2021-05-09T13:02:39.000Z
#include "dialogsectorsetup.h" #include "ui_dialogsectorsetup.h" DialogSectorSetup::DialogSectorSetup(QWidget *parent) : ATCDialog(parent, "Sector Setup", 600, 800), uiInner(new Ui::DialogSectorSetup) { uiInner->setupUi(this); windowSetup(); } DialogSectorSetup::~DialogSectorSetup() { delete uiInn...
20.375
55
0.726994
ignmiz
483bfb24316d505c6c6086f0ec1f70a61c2e2baf
1,773
cpp
C++
mmcv/ops/csrc/parrots/furthest_point_sample_parrots.cpp
raoshenglong/mmcv
e22740b1d6953d75a0acecce4455d23800b1f018
[ "Apache-2.0" ]
1
2021-08-22T14:47:13.000Z
2021-08-22T14:47:13.000Z
mmcv/ops/csrc/parrots/furthest_point_sample_parrots.cpp
raoshenglong/mmcv
e22740b1d6953d75a0acecce4455d23800b1f018
[ "Apache-2.0" ]
2
2021-04-26T08:32:50.000Z
2021-05-10T06:42:57.000Z
mmcv/ops/csrc/parrots/furthest_point_sample_parrots.cpp
raoshenglong/mmcv
e22740b1d6953d75a0acecce4455d23800b1f018
[ "Apache-2.0" ]
1
2020-12-10T08:35:35.000Z
2020-12-10T08:35:35.000Z
// Copyright (c) OpenMMLab. All rights reserved #include <parrots/compute/aten.hpp> #include <parrots/extension.hpp> #include <parrots/foundation/ssattrs.hpp> #include "furthest_point_sample_pytorch.h" using namespace parrots; #ifdef MMCV_WITH_CUDA void furthest_point_sample_forward_cuda_parrots( CudaContext& ct...
30.568966
80
0.689227
raoshenglong
483d7027df3d118eb493eae1022c11bd5809680b
1,888
cpp
C++
leetcode-algorithms/048. Rotate Image/48.rotate-image.cpp
cnyy7/LeetCode_EY
44e92f102b61f5e931e66081ed6636d7ecbdefd4
[ "MIT" ]
null
null
null
leetcode-algorithms/048. Rotate Image/48.rotate-image.cpp
cnyy7/LeetCode_EY
44e92f102b61f5e931e66081ed6636d7ecbdefd4
[ "MIT" ]
null
null
null
leetcode-algorithms/048. Rotate Image/48.rotate-image.cpp
cnyy7/LeetCode_EY
44e92f102b61f5e931e66081ed6636d7ecbdefd4
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=48 lang=cpp * * [48] Rotate Image * * https://leetcode.com/problems/rotate-image/description/ * * algorithms * Medium (51.26%) * Likes: 2258 * Dislikes: 187 * Total Accepted: 330K * Total Submissions: 626.2K * Testcase Example: '[[1,2,3],[4,5,6],[7,8,9]]' * * You are given...
19.265306
76
0.445975
cnyy7
c61aaf2dedae025a1e16c33697b9a53407dd32c2
5,447
cpp
C++
main/src/deps/gpusurf/gpusurf/src/detector.cpp
utiasASRL/vtr3
b4edca56a19484666d3cdb25a032c424bdc6f19d
[ "Apache-2.0" ]
32
2021-09-15T03:42:42.000Z
2022-03-26T10:40:01.000Z
main/src/deps/gpusurf/gpusurf/src/detector.cpp
shimp-t/vtr3
bdcad784ffe26fabfa737d0e195bcb3bacb930c3
[ "Apache-2.0" ]
7
2021-09-18T19:18:15.000Z
2022-02-02T11:15:40.000Z
main/src/deps/gpusurf/gpusurf/src/detector.cpp
shimp-t/vtr3
bdcad784ffe26fabfa737d0e195bcb3bacb930c3
[ "Apache-2.0" ]
7
2021-09-18T01:31:28.000Z
2022-03-14T05:09:37.000Z
/* Copyright (c) 2010, Paul Furgale and Chi Hay Tong 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...
35.601307
146
0.684597
utiasASRL
c61c1689a56d922465da5c25fd6b6d9ad8e5aec0
5,971
cpp
C++
dblib/src/EDatabase.cpp
cxxjava/CxxDBC
01bee98aa407c9e762cf75f63a2c21942968cf0a
[ "Apache-2.0" ]
20
2017-09-01T08:56:25.000Z
2021-03-18T11:07:38.000Z
dblib/src/EDatabase.cpp
foolishantcat/CxxDBC
f0f9e95baad72318e7fe53231aeca2ffa4a8b574
[ "Apache-2.0" ]
null
null
null
dblib/src/EDatabase.cpp
foolishantcat/CxxDBC
f0f9e95baad72318e7fe53231aeca2ffa4a8b574
[ "Apache-2.0" ]
14
2017-09-01T12:23:36.000Z
2021-09-02T01:06:27.000Z
/* * EDatabase.cpp * * Created on: 2017-6-12 * Author: cxxjava@163.com */ #include "../inc/EDatabase.hh" #include "../../interface/EDBInterface.h" namespace efc { namespace edb { EDatabase::~EDatabase() { // } EDatabase::EDatabase(EDBProxyInf* proxy) : m_DBProxy(proxy), m_AutoCommit(true), m_Error...
21.555957
83
0.676269
cxxjava
c61cd1991f720bd75987be76adaf0f5cca6e7768
4,409
cc
C++
bigtable/client/table_admin.cc
cschuet/google-cloud-cpp
e6397ac48571202ee9a7adef298aad9c7c6facde
[ "Apache-2.0" ]
null
null
null
bigtable/client/table_admin.cc
cschuet/google-cloud-cpp
e6397ac48571202ee9a7adef298aad9c7c6facde
[ "Apache-2.0" ]
null
null
null
bigtable/client/table_admin.cc
cschuet/google-cloud-cpp
e6397ac48571202ee9a7adef298aad9c7c6facde
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
32.902985
80
0.700386
cschuet
c62329643d5be4cf2d8ec26240941a38e72c1964
225
cpp
C++
Resources/Example Code/03 Loops/While Loop Countdown/countdown.cpp
tdfairch2/CS200-Concepts-of-Progamming-Algorithms
050510da8eea06aff3519097cc5f22831036b7cf
[ "MIT" ]
null
null
null
Resources/Example Code/03 Loops/While Loop Countdown/countdown.cpp
tdfairch2/CS200-Concepts-of-Progamming-Algorithms
050510da8eea06aff3519097cc5f22831036b7cf
[ "MIT" ]
null
null
null
Resources/Example Code/03 Loops/While Loop Countdown/countdown.cpp
tdfairch2/CS200-Concepts-of-Progamming-Algorithms
050510da8eea06aff3519097cc5f22831036b7cf
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int counter = 100; while ( counter > 0 ) { // the \t is a tab character. cout << counter << "\t"; counter--; } return 0; }
12.5
37
0.488889
tdfairch2
c62335a7a24ee968a1db12ff3eb2771af010d9c5
8,847
cpp
C++
source/Irrlicht/CGUIProfiler.cpp
vell001/Irrlicht-vell
23d4f03dbcd35dd93681dc0751f327f584516709
[ "IJG" ]
null
null
null
source/Irrlicht/CGUIProfiler.cpp
vell001/Irrlicht-vell
23d4f03dbcd35dd93681dc0751f327f584516709
[ "IJG" ]
null
null
null
source/Irrlicht/CGUIProfiler.cpp
vell001/Irrlicht-vell
23d4f03dbcd35dd93681dc0751f327f584516709
[ "IJG" ]
null
null
null
// This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h // Written by Michael Zeilfelder #include "CGUIProfiler.h" #ifdef _IRR_COMPILE_WITH_GUI_ #include "IGUITable.h" #include "IGUIScrollBar.h" #include "IGUIEnvironment.h" #include "CProfiler.h" n...
26.64759
145
0.703628
vell001
c623b218f302af9881bc54f3567fe19fa1deaaaa
1,384
cpp
C++
src/Nazara/Graphics/AbstractRenderQueue.cpp
AntoineJT/NazaraEngine
e0b05a7e7a2779e20a593b4083b4a881cc57ce14
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
src/Nazara/Graphics/AbstractRenderQueue.cpp
AntoineJT/NazaraEngine
e0b05a7e7a2779e20a593b4083b4a881cc57ce14
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
src/Nazara/Graphics/AbstractRenderQueue.cpp
AntoineJT/NazaraEngine
e0b05a7e7a2779e20a593b4083b4a881cc57ce14
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (C) 2017 Jérôme Leclercq // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Graphics/AbstractRenderQueue.hpp> #include <Nazara/Graphics/Debug.hpp> namespace Nz { /*! * \ingroup graphics * \class N...
20.352941
77
0.725434
AntoineJT
c623e28ad67a964099a008365d871a39ceb7eb6f
6,161
hpp
C++
foedus_code/foedus-core/include/foedus/log/log_type.hpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/include/foedus/log/log_type.hpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/include/foedus/log/log_type.hpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later versi...
37.339394
100
0.735108
sam1016yu
c6266ab319663c6f8892dc11f413a75e87b5a237
1,021
hpp
C++
soccer/src/soccer/planning/planner/pivot_path_planner.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
200
2015-01-26T01:45:34.000Z
2022-03-19T13:05:31.000Z
soccer/src/soccer/planning/planner/pivot_path_planner.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
1,254
2015-01-03T01:57:35.000Z
2022-03-16T06:32:21.000Z
soccer/src/soccer/planning/planner/pivot_path_planner.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
206
2015-01-21T02:03:18.000Z
2022-02-01T17:57:46.000Z
#pragma once #include "planner.hpp" namespace planning { class PivotPathPlanner : public PlannerForCommandType<PivotCommand> { public: PivotPathPlanner() : PlannerForCommandType<PivotCommand>("PivotPathPlanner") {} ~PivotPathPlanner() override = default; PivotPathPlanner(PivotPathPlanner&&) noexc...
31.90625
88
0.728697
xiaoqingyu0113
c626a868fd2d71e50fd03c69ba5e5795e54b5462
626
cpp
C++
src/realsense_demo.cpp
ivision-ufba/depth-face-detection
f70441eb9e72fa3f509458ffc202648c2f3e27d1
[ "MIT" ]
15
2017-11-01T11:39:32.000Z
2021-04-02T02:42:59.000Z
src/realsense_demo.cpp
ivision-ufba/depth-face-detection
f70441eb9e72fa3f509458ffc202648c2f3e27d1
[ "MIT" ]
6
2017-07-26T17:55:27.000Z
2020-11-15T22:04:35.000Z
src/realsense_demo.cpp
ivision-ufba/depth-face-detection
f70441eb9e72fa3f509458ffc202648c2f3e27d1
[ "MIT" ]
5
2018-05-09T13:42:17.000Z
2020-01-17T06:22:59.000Z
#include <opencv2/highgui.hpp> #include "face_detector.hpp" #include "realsense.hpp" /* RealSense demonstration for faces in angles from 0 to 30 degrees in the * x-axis, -20 to 20 in the y-xis and no rotation in the z-axis */ int main() { RealSense rs; FaceDetector detector; while (true) { rs.get_images(...
25.04
78
0.635783
ivision-ufba
c628548dee59482174d11be3a487ed1748817b0d
5,817
cpp
C++
c86ctl/src/vis/vis_c86sub.cpp
honet/c86ctl
c1e454d4e0652c55dacb9435dfac218dfad89e7f
[ "BSD-3-Clause" ]
10
2015-04-04T17:05:04.000Z
2021-12-31T02:51:43.000Z
c86ctl/src/vis/vis_c86sub.cpp
honet/c86ctl
c1e454d4e0652c55dacb9435dfac218dfad89e7f
[ "BSD-3-Clause" ]
null
null
null
c86ctl/src/vis/vis_c86sub.cpp
honet/c86ctl
c1e454d4e0652c55dacb9435dfac218dfad89e7f
[ "BSD-3-Clause" ]
2
2015-04-09T14:16:29.000Z
2020-12-16T02:00:50.000Z
/*** c86ctl Copyright (c) 2009-2012, honet. All rights reserved. This software is licensed under the BSD license. honet.kk(at)gmail.com */ #include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include "resource.h" #include "vis_c86sub.h" #include "vis_c86skin.h" #ifdef ...
26.440909
90
0.517105
honet
c6318ce193499b2925946ca964effcaef39c3f7b
6,842
cpp
C++
dotnet/native/sealnet/galoiskeys_wrapper.cpp
MasterMann/SEAL
791ae130de895e6323d36a12515cf2d59071e414
[ "MIT" ]
5
2019-04-29T01:46:05.000Z
2021-10-10T10:28:02.000Z
dotnet/native/sealnet/galoiskeys_wrapper.cpp
MasterMann/SEAL
791ae130de895e6323d36a12515cf2d59071e414
[ "MIT" ]
null
null
null
dotnet/native/sealnet/galoiskeys_wrapper.cpp
MasterMann/SEAL
791ae130de895e6323d36a12515cf2d59071e414
[ "MIT" ]
4
2019-04-18T11:28:13.000Z
2020-11-01T14:25:35.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // SEALNet #include "sealnet/stdafx.h" #include "sealnet/galoiskeys_wrapper.h" #include "sealnet/utilities.h" // SEAL #include "seal/galoiskeys.h" using namespace std; using namespace seal; using namespace sealnet; names...
26.315385
117
0.691026
MasterMann
c6326b407c937159bc6842753b2255d41c32e2b7
5,110
cpp
C++
tests/algo/test_bad_cmp.cpp
hthetran/stxxl
7f0223e52e9f10f28ed7d368cffecbbeeaa60ca7
[ "BSL-1.0" ]
null
null
null
tests/algo/test_bad_cmp.cpp
hthetran/stxxl
7f0223e52e9f10f28ed7d368cffecbbeeaa60ca7
[ "BSL-1.0" ]
null
null
null
tests/algo/test_bad_cmp.cpp
hthetran/stxxl
7f0223e52e9f10f28ed7d368cffecbbeeaa60ca7
[ "BSL-1.0" ]
null
null
null
/*************************************************************************** * tests/algo/test_bad_cmp.cpp * * Part of the STXXL. See http://stxxl.org * * Copyright (C) 2002 Roman Dementiev <dementiev@mpi-sb.mpg.de> * Copyright (C) 2011 Andreas Beckmann <beckmann@cs.uni-frankfurt.de> * * Distributed under ...
29.883041
142
0.567906
hthetran
c63395f9b6d6e83658a4fe9f8f722cb308cec702
5,699
cpp
C++
src/cubic_bezier.cpp
pdulewic/Bezier_Curves
eb913d264337b362ed8e13b1e77c16102b7f718f
[ "MIT" ]
1
2019-10-03T14:44:52.000Z
2019-10-03T14:44:52.000Z
src/cubic_bezier.cpp
pdulewic/Bezier_Curves
eb913d264337b362ed8e13b1e77c16102b7f718f
[ "MIT" ]
null
null
null
src/cubic_bezier.cpp
pdulewic/Bezier_Curves
eb913d264337b362ed8e13b1e77c16102b7f718f
[ "MIT" ]
null
null
null
#include "inc/cubic_bezier.h" #include "inc/movable_curve.h" #include <QDebug> //===================================================================== CubicBezier::CubicBezier(QObject *parent): QObject(parent), bezierCurve(nullptr), bezierPolygon(nullptr), plot(nullptr) {} //=================================...
28.928934
108
0.576943
pdulewic
c6384197ea85f1031d58c965a8cf21977a20dc72
1,499
cpp
C++
hash/hash.cpp
kozok-dev/samples
2a33da9ba458a26bc0be373320323a63641e3582
[ "CC0-1.0" ]
null
null
null
hash/hash.cpp
kozok-dev/samples
2a33da9ba458a26bc0be373320323a63641e3582
[ "CC0-1.0" ]
null
null
null
hash/hash.cpp
kozok-dev/samples
2a33da9ba458a26bc0be373320323a63641e3582
[ "CC0-1.0" ]
null
null
null
#include "hash.h" void Hash::Str(const void *pstr, void *pdata, UINT len, const void *pkey, UINT key_len) { if (pkey == NULL) Init(); else initHMAC((BYTE *)pkey, key_len > 0 ? key_len : strlen((char *)pkey)); Update((BYTE *)pstr, len > 0 ? len : strlen((char *)pstr)); if (pkey == NULL) Final(); else fi...
18.280488
90
0.559039
kozok-dev
c639a907f4b9a96976bb873703332ed76932e128
25
cpp
C++
_KaramayEngine/karamay_engine_graphics_unit/karamay_engine_graphics_unit/source/graphics/variable/gl_variable.cpp
MorphingDev/karamay_engine
044aaf7af813b01dbc26185852865c8a0369efca
[ "MIT" ]
null
null
null
_KaramayEngine/karamay_engine_graphics_unit/karamay_engine_graphics_unit/source/graphics/variable/gl_variable.cpp
MorphingDev/karamay_engine
044aaf7af813b01dbc26185852865c8a0369efca
[ "MIT" ]
null
null
null
_KaramayEngine/karamay_engine_graphics_unit/karamay_engine_graphics_unit/source/graphics/variable/gl_variable.cpp
MorphingDev/karamay_engine
044aaf7af813b01dbc26185852865c8a0369efca
[ "MIT" ]
1
2022-01-29T08:34:51.000Z
2022-01-29T08:34:51.000Z
#include "gl_variable.h"
12.5
24
0.76
MorphingDev
c63a2b28c87818ae1402720a990319b4c7d06c53
2,381
cpp
C++
test/libp2p/peer/key_book/inmem_key_repository_test.cpp
Alexey-N-Chernyshov/cpp-libp2p
8b52253f9658560a4b1311b3ba327f02284a42a6
[ "Apache-2.0", "MIT" ]
135
2020-06-13T08:57:36.000Z
2022-03-27T05:26:11.000Z
test/libp2p/peer/key_book/inmem_key_repository_test.cpp
igor-egorov/cpp-libp2p
7c9d83bf0760a5f653d86ddbb00645414c61d4fc
[ "Apache-2.0", "MIT" ]
41
2020-06-12T15:45:05.000Z
2022-03-07T23:10:33.000Z
test/libp2p/peer/key_book/inmem_key_repository_test.cpp
igor-egorov/cpp-libp2p
7c9d83bf0760a5f653d86ddbb00645414c61d4fc
[ "Apache-2.0", "MIT" ]
43
2020-06-15T10:12:45.000Z
2022-03-21T03:04:50.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include <exception> #include <gtest/gtest.h> #include <libp2p/crypto/key.hpp> #include <libp2p/peer/key_repository.hpp> #include <libp2p/peer/key_repository/inmem_key_repository.hpp> #include "testutil/outcome.hpp" ...
28.011765
79
0.685006
Alexey-N-Chernyshov
c63c2969392e17bbec61c48820aee3f2b18bc67f
12,025
cpp
C++
co-op/UI/ProjectPropsDlg.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
67
2018-03-02T10:50:02.000Z
2022-03-23T18:20:29.000Z
co-op/UI/ProjectPropsDlg.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
null
null
null
co-op/UI/ProjectPropsDlg.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
9
2018-03-01T16:38:28.000Z
2021-03-02T16:17:09.000Z
//------------------------------------ // (c) Reliable Software, 2000 - 2008 //------------------------------------ #include "precompiled.h" #include "ProjectPropsDlg.h" #include "ProjectOptionsEx.h" #include "ProjectDb.h" #include "OutputSink.h" #include "AppInfo.h" #include "DistributorInfo.h" #include "BrowseForFo...
26.141304
103
0.701289
BartoszMilewski
c63dfdc64b825c51e66673f45c46cf593b5a5bb8
3,346
cxx
C++
Interaction/Widgets/Testing/Cxx/TestTextWidgetBackgroundInteractive.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
1,755
2015-01-03T06:55:00.000Z
2022-03-29T05:23:26.000Z
Interaction/Widgets/Testing/Cxx/TestTextWidgetBackgroundInteractive.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
29
2015-04-23T20:58:30.000Z
2022-03-02T16:16:42.000Z
Interaction/Widgets/Testing/Cxx/TestTextWidgetBackgroundInteractive.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
1,044
2015-01-05T22:48:27.000Z
2022-03-31T02:38:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: TestTextWidgetBackgroundInteractive.cxx =========================================================================*/ // // This example tests the vtkTextWidget. // First include the required hea...
28.355932
76
0.70532
cclauss
c63e75eacc1730ae8c5b2a70530fa0053123c133
1,220
cpp
C++
Codeforces/Round-394-Div2/C.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-01-30T13:21:30.000Z
2018-01-30T13:21:30.000Z
Codeforces/Round-394-Div2/C.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
null
null
null
Codeforces/Round-394-Div2/C.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-08-29T13:26:50.000Z
2018-08-29T13:26:50.000Z
// Brute Force // 2 // 19-11-2020 #include <bits/stdc++.h> #define all(A) begin(A), end(A) #define rall(A) rbegin(A), rend(A) #define sz(A) int(A.size()) #define pb push_back #define mp make_pair using namespace std; typedef long long ll; typedef pair <int, int> pii; typedef pair <ll, ll> pll; typede...
21.034483
54
0.456557
TISparta
c64436019d510a9593a970c4a5bf38071dc323db
10,177
cc
C++
felicia/drivers/camera/camera_frame.cc
chokobole/felicia
3b5eeb5f93c59c5364d3932bc407e054977aa1ec
[ "BSD-3-Clause" ]
17
2018-10-28T13:58:01.000Z
2022-03-22T07:54:12.000Z
felicia/drivers/camera/camera_frame.cc
chokobole/felicia
3b5eeb5f93c59c5364d3932bc407e054977aa1ec
[ "BSD-3-Clause" ]
2
2018-11-09T04:15:58.000Z
2018-11-09T06:42:57.000Z
felicia/drivers/camera/camera_frame.cc
chokobole/felicia
3b5eeb5f93c59c5364d3932bc407e054977aa1ec
[ "BSD-3-Clause" ]
5
2019-10-31T06:50:05.000Z
2022-03-22T07:54:30.000Z
// Copyright (c) 2019 The Felicia 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 "felicia/drivers/camera/camera_frame.h" #include "libyuv.h" #include "third_party/chromium/base/logging.h" #include "felicia/core/lib/unit/t...
37.278388
80
0.657168
chokobole
c645e3f9178c4968c207a235b93709d9a8e7bed8
2,944
cpp
C++
DPC++Compiler/simple-vector-inc/src/simple-vector-incr.cpp
jcarlosrm/BaseKit-code-samples
aef313f3846e6095e91ec27609fdd947056dc952
[ "MIT" ]
1
2020-02-21T06:58:51.000Z
2020-02-21T06:58:51.000Z
DPC++Compiler/simple-vector-inc/src/simple-vector-incr.cpp
jcarlosrm/BaseKit-code-samples
aef313f3846e6095e91ec27609fdd947056dc952
[ "MIT" ]
null
null
null
DPC++Compiler/simple-vector-inc/src/simple-vector-incr.cpp
jcarlosrm/BaseKit-code-samples
aef313f3846e6095e91ec27609fdd947056dc952
[ "MIT" ]
null
null
null
//============================================================== // Copyright © 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <CL/sycl.hpp> #include <iostream> using namespace cl::sycl; static const size_t N = 2; // ################...
34.635294
79
0.56284
jcarlosrm
c6515a5a74e42f4587d05da3d5dab3833a584e14
8,397
cpp
C++
server/Enclave/enclave_csk.cpp
ndokmai/sgx-genome-variants-search
dd83fb53d0a82594b9ab2c253a246a80095ca12b
[ "MIT" ]
17
2019-01-07T14:32:31.000Z
2022-03-17T00:36:05.000Z
server/Enclave/enclave_csk.cpp
ndokmai/sgx-genome-variants-search
dd83fb53d0a82594b9ab2c253a246a80095ca12b
[ "MIT" ]
2
2020-04-20T19:05:30.000Z
2021-11-23T05:58:02.000Z
server/Enclave/enclave_csk.cpp
ndokmai/sgx-genome-variants-search
dd83fb53d0a82594b9ab2c253a246a80095ca12b
[ "MIT" ]
3
2019-05-30T20:33:29.000Z
2020-07-29T19:25:17.000Z
#include <stdlib.h> #include <string.h> #include <sgx_trts.h> #include "enclave_csk.h" #include "util.h" struct csk* m_csk = NULL; static inline uint32_t calc_hash(uint64_t x, uint64_t a, uint64_t b) { uint64_t result = a * x + b; result = (result & 0x7FFFFFFF) + (result >> 31); if(result >= 0x7FFFFFFF) { retu...
22.942623
111
0.605097
ndokmai
c65445b0564c02430e6e98c76662a90bc47cb8c0
654
hpp
C++
framework/include/GeometryNode.hpp
GottaGoGitHub/CGLab_Almert119915_Portwich119649
027babb2018ee1ae1eb03d37ceb5777db708941c
[ "MIT" ]
null
null
null
framework/include/GeometryNode.hpp
GottaGoGitHub/CGLab_Almert119915_Portwich119649
027babb2018ee1ae1eb03d37ceb5777db708941c
[ "MIT" ]
null
null
null
framework/include/GeometryNode.hpp
GottaGoGitHub/CGLab_Almert119915_Portwich119649
027babb2018ee1ae1eb03d37ceb5777db708941c
[ "MIT" ]
null
null
null
#ifndef OPENGL_FRAMEWORK_GEOMETRYNODE_H #define OPENGL_FRAMEWORK_GEOMETRYNODE_H # include "Node.hpp" #include "model.hpp" #include "structs.hpp" class GeometryNode : public Node { public: // constructor explicit GeometryNode(std::string name); GeometryNode(const std::shared_ptr<Node> &parent, std::strin...
19.235294
88
0.718654
GottaGoGitHub
c656b522b117929a0f5323359307667d0728e617
2,857
cpp
C++
Super Synthesis Engine/Source/Graphics/Texture2D.cpp
nstearns96/Super-Synthesis-Engine
64824c50557e64decc9710a5b2aa63cd93712122
[ "MIT" ]
null
null
null
Super Synthesis Engine/Source/Graphics/Texture2D.cpp
nstearns96/Super-Synthesis-Engine
64824c50557e64decc9710a5b2aa63cd93712122
[ "MIT" ]
null
null
null
Super Synthesis Engine/Source/Graphics/Texture2D.cpp
nstearns96/Super-Synthesis-Engine
64824c50557e64decc9710a5b2aa63cd93712122
[ "MIT" ]
null
null
null
#include "Graphics/Texture2D.h" #include "Logging/Logger.h" #include "Resources/Assets/TextureAssetUtils.h" #include "Vulkan/Devices/VulkanDeviceManager.h" #include "Vulkan/Memory/VulkanBuffer.h" namespace SSE { extern Logger gLogger; namespace Graphics { bool Texture2D::create(Bitmap& bitmap, VkImageTiling ...
29.760417
149
0.732587
nstearns96
c6588f3d9d41f0506b7ab80b6ad5cad2fff9c7f6
1,493
cpp
C++
owGameM2/M2_Part_Material.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owGameM2/M2_Part_Material.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owGameM2/M2_Part_Material.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
1
2020-05-11T13:32:49.000Z
2020-05-11T13:32:49.000Z
#include "stdafx.h" // General #include "M2_Part_Material.h" // M2Blend converter struct { SM2_Material::BlendModes M2Blend; uint8 EGxBLend; } M2Blend_To_EGxBlend[SM2_Material::COUNT] = { { SM2_Material::M2BLEND_OPAQUE, 0 }, { SM2_Material::M2BLEND_ALPHA_KEY, 1 }, { SM2_Material::M2BLEND_ALPHA, 2 }, {...
31.104167
110
0.77294
adan830
c659b80313aa4f0bd8906c83beb7ce897ddb71c6
2,429
cpp
C++
pi4home-core/src/pi4home/cover/mqtt_cover_component.cpp
khzd/pi4home
937bcdcf77bab111cca10af1fe45c63a55c29aae
[ "MIT" ]
1
2019-05-16T02:52:12.000Z
2019-05-16T02:52:12.000Z
pi4home-core/src/pi4home/cover/mqtt_cover_component.cpp
khzd/pi4home
937bcdcf77bab111cca10af1fe45c63a55c29aae
[ "MIT" ]
null
null
null
pi4home-core/src/pi4home/cover/mqtt_cover_component.cpp
khzd/pi4home
937bcdcf77bab111cca10af1fe45c63a55c29aae
[ "MIT" ]
null
null
null
#include "pi4home/defines.h" #ifdef USE_MQTT_COVER #include "pi4home/cover/mqtt_cover_component.h" #include "pi4home/log.h" PI4HOME_NAMESPACE_BEGIN namespace cover { static const char *TAG = "cover.mqtt"; MQTTCoverComponent::MQTTCoverComponent(Cover *cover) : cover_(cover) {} void MQTTCoverComponent::setup() { ...
32.386667
110
0.670646
khzd
c65be78a5202ef05fe8255c9f4c4ab3489a57fea
10,253
cpp
C++
OpenCP/libimq/ssim.cpp
norishigefukushima/OpenCP
63090131ec975e834f85b04e84ec29b2893845b2
[ "BSD-3-Clause" ]
137
2015-03-27T07:11:19.000Z
2022-03-30T05:58:22.000Z
OpenCP/libimq/ssim.cpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
2
2016-05-18T06:33:16.000Z
2016-07-11T17:39:17.000Z
OpenCP/libimq/ssim.cpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
43
2015-02-20T15:34:25.000Z
2022-01-27T14:59:37.000Z
#include <math.h> #include "imq.h" //MS_SSIMF(float *forig_img, float *fcomp_img, _INT32 PX, _INT32 PY, bool Wang, bool SSIM, _INT32 bits_per_pixel_1, bool fast, float a, float b, float g) const float aa = 0.05f; const float bb = 0.15f; const float gg = 0.10f; //------------------------------------------------------...
35.975439
153
0.424071
norishigefukushima
c65c030429c89ebdddaa12559bd3bf44cc74607a
10,761
cpp
C++
src/utils/vrad/disp_vrad.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/utils/vrad/disp_vrad.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/utils/vrad/disp_vrad.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "disp_vrad.h" #include "utllinkedlist.h" #include "utlvector.h" #include "iscratchpad3d.h" #include "scratchpadut...
35.166667
160
0.552086
cstom4994
c65d53273ae435ccfd3c072836fa7c16ebd5c802
19,973
hpp
C++
include/xframe/xaxis_variant.hpp
jeandet/xframe
b4fa0759cab381418a3d23f0d61f74d0d400a5c0
[ "BSD-3-Clause" ]
null
null
null
include/xframe/xaxis_variant.hpp
jeandet/xframe
b4fa0759cab381418a3d23f0d61f74d0d400a5c0
[ "BSD-3-Clause" ]
null
null
null
include/xframe/xaxis_variant.hpp
jeandet/xframe
b4fa0759cab381418a3d23f0d61f74d0d400a5c0
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** * Copyright (c) 2017, Johan Mabille, Sylvain Corlay and Wolf Vollprecht * * * * Distributed under the terms of the BSD 3-Clause License. * * ...
34.856894
139
0.588945
jeandet
c65e6ac358893c7fd86fc06780c4d88f26dee4ea
490
cpp
C++
source/lab2/gradient_descent.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
source/lab2/gradient_descent.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
source/lab2/gradient_descent.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
#include "lab2/gradient_descent.h" using namespace lab2; Vector GradientDescent::iteration(NFunction &f, double) { Vector x = points_last(); Vector f_x_grad = f.grad(x); Vector y = x - f_x_grad * a; double f_x = f(x); while (f(y) >= f_x && iteration_count <= 1000) { a /=...
23.333333
57
0.577551
Jovvik
c660fb687eac42f5a2637c516194aca94aa6edf9
4,238
cpp
C++
fileOperation/fileoperation.cpp
ycsoft/FatCat-Server
fe01d3278927437c04977f3009154537868cc354
[ "MIT" ]
30
2015-08-31T04:25:35.000Z
2022-02-19T17:39:23.000Z
fileOperation/fileoperation.cpp
Mark0518/FatCat-Server
fe01d3278927437c04977f3009154537868cc354
[ "MIT" ]
null
null
null
fileOperation/fileoperation.cpp
Mark0518/FatCat-Server
fe01d3278927437c04977f3009154537868cc354
[ "MIT" ]
35
2015-08-31T10:19:03.000Z
2021-09-18T07:37:00.000Z
#include "fileoperation.h" #include "./../Monster/monsterstruct.h" #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <cstdio> fileOperation::fileOperation() { buffMap1 = NULL; buffMap2 = NULL; buffMap3 = NULL; } fileOperation::~fileOperation() { if(buffMap1)...
20.673171
134
0.475224
ycsoft
c663069e51486f921da516fb37120d1ba02b2955
3,289
cpp
C++
src/controller.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
null
null
null
src/controller.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
4
2020-12-22T17:48:49.000Z
2021-02-20T21:48:24.000Z
src/controller.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Dmytro Shestakov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
42.166667
119
0.678322
hrandib
c66a191d6ceb80358468f251110a58e922d8cb28
837
cpp
C++
example/mallocTrim.cpp
weiboad/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
62
2017-02-15T11:36:46.000Z
2022-03-14T09:11:10.000Z
example/mallocTrim.cpp
AraHaan/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
5
2017-02-21T05:32:14.000Z
2017-05-21T13:15:07.000Z
example/mallocTrim.cpp
AraHaan/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
22
2017-02-16T02:11:25.000Z
2020-02-12T18:12:44.000Z
#include <adbase/Logging.hpp> #include <unordered_map> void printMallInfo() { std::unordered_map<std::string, int> info = adbase::mallInfo(); for (auto &t : info) { LOG_INFO << t.first << ":" << t.second; } } int main(void) { std::unordered_map<std::string, std::string> data; printMallInf...
23.25
70
0.55675
weiboad
c670bc3965a2be20b24cb8a93e96815a144d34c2
37,190
hpp
C++
src/libtriton/includes/triton/api.hpp
thebabush/Triton
a9d4b9a88ae946d88b81b054aab375bb2cba9ef4
[ "Apache-2.0" ]
1
2019-09-26T16:57:57.000Z
2019-09-26T16:57:57.000Z
src/libtriton/includes/triton/api.hpp
thebabush/Triton
a9d4b9a88ae946d88b81b054aab375bb2cba9ef4
[ "Apache-2.0" ]
null
null
null
src/libtriton/includes/triton/api.hpp
thebabush/Triton
a9d4b9a88ae946d88b81b054aab375bb2cba9ef4
[ "Apache-2.0" ]
null
null
null
//! \file /* ** Copyright (C) - Triton ** ** This program is under the terms of the BSD License. */ #ifndef TRITON_API_H #define TRITON_API_H #include <triton/architecture.hpp> #include <triton/ast.hpp> #include <triton/astContext.hpp> #include <triton/astRepresentation.hpp> #include <triton/callbacks.hpp> #include...
56.865443
236
0.677198
thebabush
c670e5d05918c4a477525189faa382f6ce3ee177
15,251
cpp
C++
node/Poly1305.cpp
sundys/ZeroTierOne
269501eaa0c22bdc402e689b0d061325fb6ddbce
[ "RSA-MD" ]
8,205
2015-01-02T16:34:03.000Z
2022-03-31T18:18:28.000Z
node/Poly1305.cpp
sundys/ZeroTierOne
269501eaa0c22bdc402e689b0d061325fb6ddbce
[ "RSA-MD" ]
1,401
2015-01-01T05:45:53.000Z
2022-03-31T14:00:00.000Z
node/Poly1305.cpp
sundys/ZeroTierOne
269501eaa0c22bdc402e689b0d061325fb6ddbce
[ "RSA-MD" ]
1,243
2015-01-09T07:30:49.000Z
2022-03-31T12:36:48.000Z
/* 20080912 D. J. Bernstein Public domain. */ #include "Constants.hpp" #include "Poly1305.hpp" #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #ifdef __WINDOWS__ #pragma warning(disable: 4146) #endif namespace ZeroTier { namespace { typedef struct poly1305_context { size_t aligner...
29.328846
193
0.541342
sundys
c6729f5f0fb5e5cf8c9d4befedccf81e2892168d
1,909
cpp
C++
archives/training/2013.03.02 ACME Training Nine - ZOJ Monthly, November 2012/C.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
6
2019-03-23T21:06:25.000Z
2021-06-27T05:22:41.000Z
archives/training/2013.03.02 ACME Training Nine - ZOJ Monthly, November 2012/C.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
1
2020-10-11T08:14:00.000Z
2020-10-11T08:14:00.000Z
archives/training/2013.03.02 ACME Training Nine - ZOJ Monthly, November 2012/C.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
3
2019-03-23T21:06:31.000Z
2021-10-24T01:44:01.000Z
//============================================================================ // Name : test.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #inclu...
20.978022
79
0.475118
BoleynSu
c6731fe6f4d0b69900a6e5b7bf5254eee44b1b09
10,697
cpp
C++
nv/g_dbscan.cpp
houwenbo87/DBSCAN
3452d32186f2b59f2f1e515cebdf0ce15cb3e2f7
[ "BSD-2-Clause-FreeBSD" ]
1
2020-09-18T22:40:39.000Z
2020-09-18T22:40:39.000Z
nv/g_dbscan.cpp
houwenbo87/DBSCAN
3452d32186f2b59f2f1e515cebdf0ce15cb3e2f7
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
nv/g_dbscan.cpp
houwenbo87/DBSCAN
3452d32186f2b59f2f1e515cebdf0ce15cb3e2f7
[ "BSD-2-Clause-FreeBSD" ]
1
2021-09-15T11:06:53.000Z
2021-09-15T11:06:53.000Z
#include "g_dbscan.h" #include <cuda.h> namespace { bool has_nonzero(std::vector<int>& v) { for (size_t i = 0; i < v.size(); ++i) { if (v[i] > 0) return true; } return false; } } namespace clustering { GDBSCAN::GDBSCAN(const Dataset::Ptr dset) : m_dset(dset) , d_data(0) , ...
31.09593
81
0.618304
houwenbo87
c6735e0f7e36f1d9c9effe211678d06a91179a9f
307
cpp
C++
Lesson 06/CallByVal2.cpp
noenemy/Book-Quick-Guide-C-
51ddffb6c5e4b1f4351ba878e543b179b744388b
[ "MIT" ]
null
null
null
Lesson 06/CallByVal2.cpp
noenemy/Book-Quick-Guide-C-
51ddffb6c5e4b1f4351ba878e543b179b744388b
[ "MIT" ]
null
null
null
Lesson 06/CallByVal2.cpp
noenemy/Book-Quick-Guide-C-
51ddffb6c5e4b1f4351ba878e543b179b744388b
[ "MIT" ]
null
null
null
#include <stdio.h> void AddAndPrint( int *pnParam ); int main() { int a = 10; AddAndPrint( &a ); printf("a = %d\n", a); return 0; } void AddAndPrint( int *pnParam ) { if ( pnParam == NULL ) return; *pnParam = *pnParam + 10; printf("*pnParam = %d\n", *pnParam); }
12.28
40
0.527687
noenemy
c675088f2de205f41199c5abd29d7447dd6b76c2
13,394
cpp
C++
groups/bdl/bdlt/bdlt_calendar.cpp
apaprocki/bde
ba252cb776f92fae082d5d422aa2852a9be46849
[ "Apache-2.0" ]
1
2021-04-28T13:51:30.000Z
2021-04-28T13:51:30.000Z
groups/bdl/bdlt/bdlt_calendar.cpp
apaprocki/bde
ba252cb776f92fae082d5d422aa2852a9be46849
[ "Apache-2.0" ]
null
null
null
groups/bdl/bdlt/bdlt_calendar.cpp
apaprocki/bde
ba252cb776f92fae082d5d422aa2852a9be46849
[ "Apache-2.0" ]
1
2019-06-26T13:28:48.000Z
2019-06-26T13:28:48.000Z
// bdlt_calendar.cpp -*-C++-*- #include <bdlt_calendar.h> #include <bsls_ident.h> BSLS_IDENT_RCSID(bdlt_calendar_cpp,"$Id$ $CSID$") #include <bslalg_swaputil.h> #include <bslma_default.h> #include <bsls_assert.h> #include <bsl_algorithm.h> #include <bsl_ostream.h> na...
33.908861
79
0.565029
apaprocki
c6779b9a90b189149949b14b7c66db635910f0c9
3,049
cpp
C++
src/system/cmd_line.cpp
mzxdream/mzx
831b8ec761af78678f9588f927e12a2279c0b2d7
[ "Apache-2.0" ]
1
2019-04-26T02:54:06.000Z
2019-04-26T02:54:06.000Z
src/system/cmd_line.cpp
mzxdream/mzx
831b8ec761af78678f9588f927e12a2279c0b2d7
[ "Apache-2.0" ]
null
null
null
src/system/cmd_line.cpp
mzxdream/mzx
831b8ec761af78678f9588f927e12a2279c0b2d7
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <list> #include <map> #include <mutex> #include <unistd.h> #include <mzx/string/string_util.h> #include <mzx/system/cmd_line.h> #include <mzx/thread.h> namespace mzx { static int KeyBoardHitReturn() { struct timeval tv; tv.tv_sec = 0; tv.tv_usec = 0; fd_set fds; FD_ZERO...
21.321678
79
0.541161
mzxdream
c678dfa624154fe38517d29e1e7f5058a3da162f
5,099
cpp
C++
samples/cortex/mx-gcc/4-debug-m3-stm32f2xx/src/main.cpp
diamondx131/scmrtos-sample-projects
3b34a485b6ca4b16705c250383ae5d30c81966f1
[ "MIT" ]
9
2015-10-07T15:27:27.000Z
2021-04-07T06:13:24.000Z
samples/cortex/mx-gcc/4-debug-m3-stm32f2xx/src/main.cpp
diamondx131/scmrtos-sample-projects
3b34a485b6ca4b16705c250383ae5d30c81966f1
[ "MIT" ]
4
2017-07-04T10:51:51.000Z
2019-09-25T11:20:24.000Z
samples/cortex/mx-gcc/4-debug-m3-stm32f2xx/src/main.cpp
diamondx131/scmrtos-sample-projects
3b34a485b6ca4b16705c250383ae5d30c81966f1
[ "MIT" ]
9
2015-12-04T15:34:32.000Z
2020-07-01T16:10:59.000Z
//****************************************************************************** //* //* FULLNAME: Single-Chip Microcontroller Real-Time Operating System //* //* NICKNAME: scmRTOS //* //* PROCESSOR: ARM Cortex-M3 //* //* TOOLKIT: ARM GCC //* //* PURPOSE: Port Test File //* //* Version: v5...
27.413978
80
0.521867
diamondx131
c6794313406de573af08d9f97f4b5f705f70a7a5
1,471
cpp
C++
oclint-rules/rules/basic/ForLoopShouldBeWhileLoopRule.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
3,128
2015-01-01T06:00:31.000Z
2022-03-29T23:43:20.000Z
oclint-rules/rules/basic/ForLoopShouldBeWhileLoopRule.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
432
2015-01-03T15:43:08.000Z
2022-03-29T02:32:48.000Z
oclint-rules/rules/basic/ForLoopShouldBeWhileLoopRule.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
454
2015-01-06T03:11:12.000Z
2022-03-22T05:49:38.000Z
#include "oclint/AbstractASTVisitorRule.h" #include "oclint/RuleSet.h" using namespace std; using namespace clang; using namespace oclint; class ForLoopShouldBeWhileLoopRule : public AbstractASTVisitorRule<ForLoopShouldBeWhileLoopRule> { public: virtual const string name() const override { return "for...
21.318841
96
0.600952
BGU-AiDnD
c67a7bade02aaedb517201b768f13e0b6607787b
4,676
cpp
C++
libraries/lps/test/linearization_stochastic_test.cpp
tneele/mCRL2
8f2d730d650ffec15130d6419f69c50f81e5125c
[ "BSL-1.0" ]
null
null
null
libraries/lps/test/linearization_stochastic_test.cpp
tneele/mCRL2
8f2d730d650ffec15130d6419f69c50f81e5125c
[ "BSL-1.0" ]
null
null
null
libraries/lps/test/linearization_stochastic_test.cpp
tneele/mCRL2
8f2d730d650ffec15130d6419f69c50f81e5125c
[ "BSL-1.0" ]
null
null
null
// Author(s): Jan Friso Groote // Copyright: see the accompanying file COPYING or copy at // https://github.com/mCRL2org/mCRL2/blob/master/COPYING // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // /// \file s...
34.382353
123
0.666809
tneele
c67d961ea7a2dc7b47b9fbb334881e1989cb8b6a
4,607
cpp
C++
src/DemoRenderer.cpp
fdarling/qt-non-blocking-opengl-demo
8fcc313a8bb7506a2429ddce2cb28944d46b8fc8
[ "Unlicense" ]
2
2020-07-19T17:52:08.000Z
2021-02-14T15:50:20.000Z
src/DemoRenderer.cpp
fdarling/qt-non-blocking-opengl-demo
8fcc313a8bb7506a2429ddce2cb28944d46b8fc8
[ "Unlicense" ]
null
null
null
src/DemoRenderer.cpp
fdarling/qt-non-blocking-opengl-demo
8fcc313a8bb7506a2429ddce2cb28944d46b8fc8
[ "Unlicense" ]
null
null
null
#include "DemoRenderer.h" #include "OpenGLWindow.h" #include <QOpenGLFunctions_3_0> #include <QThread> #define _USE_MATH_DEFINES #include <math.h> void DrawCube(QOpenGLFunctions_3_0 *f) { f->glBegin(GL_QUADS); // Draw The Cube Using quads f->glColor3f(0.0f, 1.0f, 0.0f); // Color Blue f->gl...
35.992188
108
0.580855
fdarling
c67ec2df87232a37fc71e941cf903ffb37bf6154
7,514
cpp
C++
Server/Shared/src/Memcached.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
4
2015-08-17T20:12:22.000Z
2020-05-30T19:53:26.000Z
Server/Shared/src/Memcached.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
Server/Shared/src/Memcached.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd 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 condit...
37.57
755
0.565611
wayfinder
c681b7875e762a600648e5b7332ccc0ae0817de5
10,769
cpp
C++
Umbrella-Engine/Image/Image.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
Umbrella-Engine/Image/Image.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
Umbrella-Engine/Image/Image.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
#include "Image.h" #include <map> namespace J::Utils { using namespace J::Math; static uint8 _GetBytesPerChannel(ERawImageFormat InFormat) { switch (InFormat) { case ERawImageFormat::L8: case ERawImageFormat::LA8: case ERawImageFormat::R8: case ERawImageFormat::RGB8: case ERawImageFormat::RGBA8: ...
24.530752
103
0.679172
jfla-fan
c6834844a8fbe1aaac74578b70ab9dda587242ba
2,101
inl
C++
examples/volcano/command.inl
djohansson/slang
69227ad7d46b8741274c93a42a891d70458f2d45
[ "MIT" ]
2
2019-08-16T13:33:28.000Z
2020-08-12T21:48:24.000Z
examples/volcano/command.inl
djohansson/slang
69227ad7d46b8741274c93a42a891d70458f2d45
[ "MIT" ]
null
null
null
examples/volcano/command.inl
djohansson/slang
69227ad7d46b8741274c93a42a891d70458f2d45
[ "MIT" ]
null
null
null
template <GraphicsBackend B> CommandBufferAccessScope<B> CommandPoolContext<B>::commands(const CommandBufferAccessScopeDesc<B>& beginInfo) { if (myRecordingCommands[beginInfo.level] && myRecordingCommands[beginInfo.level].value().getDesc() == beginInfo) return internalCommands(beginInfo); else r...
30.449275
116
0.753927
djohansson
c685185805e819674063c9e3a3080a6c08931440
140
cxx
C++
Libs/MRML/Widgets/DesignerPlugins/qSlicerTablesModuleWidgetsPlugin.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Libs/MRML/Widgets/DesignerPlugins/qSlicerTablesModuleWidgetsPlugin.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Libs/MRML/Widgets/DesignerPlugins/qSlicerTablesModuleWidgetsPlugin.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
#include "qSlicerTablesModuleWidgetsPlugin.h" #include <QtPlugin> Q_EXPORT_PLUGIN2(customwidgetplugin, qSlicerTablesModuleWidgetsPlugin);
23.333333
71
0.864286
TheInterventionCentre
c68595b039476436a4786ce09f3f1702b1cc36b5
1,149
cpp
C++
algorithms/cpp/188.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
3
2016-10-01T10:15:09.000Z
2017-07-09T02:53:36.000Z
algorithms/cpp/188.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
algorithms/cpp/188.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int maxProfit(int K, vector<int> &prices) { // dp[k, i] represents the max profit up until prices[i] (Note: NOT ending with prices[i]) using at most k transactions. // dp[k, i] = max(dp[k, i-1], prices[i] - prices[j...
33.794118
128
0.468233
viing937
c686dd7e0019ed44db46fcd2d6130180da316666
346
hpp
C++
src/cif/fusion/table.hpp
academicRobot/mmstructlib
76949620c9e9ca26faf10ff1a21c6fda1a564f5c
[ "MIT" ]
null
null
null
src/cif/fusion/table.hpp
academicRobot/mmstructlib
76949620c9e9ca26faf10ff1a21c6fda1a564f5c
[ "MIT" ]
null
null
null
src/cif/fusion/table.hpp
academicRobot/mmstructlib
76949620c9e9ca26faf10ff1a21c6fda1a564f5c
[ "MIT" ]
null
null
null
#ifndef CIF_FUSION_TABLE_HPP #define CIF_FUSION_TABLE_HPP #include <cif/table.hpp> #include <boost/fusion/include/adapt_struct.hpp> BOOST_FUSION_ADAPT_TPL_STRUCT( (string_tp), (cif::table)(string_tp), (string_tp, name) (std::vector<string_tp>, cellNames) (std::vector<boost::optional<string_tp> >, cells) ) #endi...
21.625
50
0.768786
academicRobot
c68717e0c2888726e89bf12a28c2c90853b0bc01
2,132
cpp
C++
Week 2/7_last_digit_of_the_sum_of_fibonacci_numbers_again/fibonacci_partial_sum.cpp
osamamagdy/Algorithmic-Toolbox
c095e64ae89aa376eabf579dafc959975de78a4d
[ "MIT" ]
null
null
null
Week 2/7_last_digit_of_the_sum_of_fibonacci_numbers_again/fibonacci_partial_sum.cpp
osamamagdy/Algorithmic-Toolbox
c095e64ae89aa376eabf579dafc959975de78a4d
[ "MIT" ]
null
null
null
Week 2/7_last_digit_of_the_sum_of_fibonacci_numbers_again/fibonacci_partial_sum.cpp
osamamagdy/Algorithmic-Toolbox
c095e64ae89aa376eabf579dafc959975de78a4d
[ "MIT" ]
1
2021-01-29T21:57:48.000Z
2021-01-29T21:57:48.000Z
/* #include <iostream> #include <vector> using std::vector; long long get_fibonacci_partial_sum_naive(long long from, long long to) { long long sum = 0; long long current = 0; long long next = 1; for (long long i = 0; i <= to; ++i) { if (i >= from) { sum += current; } ...
19.207207
131
0.587711
osamamagdy
c689704815cfd5906fc7af2219123219d8e5a0af
6,892
cpp
C++
CWE-399/source_files/CVE-2016-5277/firefox_49.0b1_CVE_2016_5277_dom_animation_DocumentTimeline.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
185
2017-12-14T08:18:15.000Z
2022-03-30T02:58:36.000Z
CWE-399/source_files/CVE-2016-5277/firefox_49.0b1_CVE_2016_5277_dom_animation_DocumentTimeline.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
11
2018-01-30T23:31:20.000Z
2022-01-17T05:03:56.000Z
CWE-399/source_files/CVE-2016-5277/firefox_49.0b1_CVE_2016_5277_dom_animation_DocumentTimeline.cpp
CGCL-codes/VulDeePecker
98610f3e116df97a1e819ffc81fbc7f6f138a8f2
[ "Apache-2.0" ]
87
2018-01-10T08:12:32.000Z
2022-02-19T10:29:31.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0...
30.09607
79
0.719965
CGCL-codes
c68f2536aab3eb7207f1c8fb417e434ea0b30229
1,872
cpp
C++
c++/en/dropbox/representative_numbers/representative_numbers/representative_numbers.cpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
c++/en/dropbox/representative_numbers/representative_numbers/representative_numbers.cpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
c++/en/dropbox/representative_numbers/representative_numbers/representative_numbers.cpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
// representative_numbers.cpp #include "pch.h" #include <iostream> #include <fstream> using namespace std; //#define DEBUG 1 #define DEBUG 0 void swap(int &a, int &b) { int t; t = a; a = b; b = t; } void bubble_sort(int* arr, int N) { int b = N; // bar for (int i = 0; i < N; i++) { ...
14.740157
71
0.470085
aimldl
c6969b82ae72a203a91f8c208b6ee03e3f884f29
51,555
cpp
C++
src/segmenter.cpp
LLNL/LIST
83c78f9dadc8cdfa2cf1d36985a572ba0b276e8b
[ "MIT" ]
12
2020-08-28T02:01:14.000Z
2022-03-23T07:51:33.000Z
src/segmenter.cpp
LLNL/LIST
83c78f9dadc8cdfa2cf1d36985a572ba0b276e8b
[ "MIT" ]
1
2020-09-15T10:42:44.000Z
2022-02-07T21:03:15.000Z
src/segmenter.cpp
LLNL/LIST
83c78f9dadc8cdfa2cf1d36985a572ba0b276e8b
[ "MIT" ]
1
2021-09-05T12:41:07.000Z
2021-09-05T12:41:07.000Z
//****************************************************************************** // Copyright 2019-2020 Lawrence Livermore National Security, LLC and other // LIST Project Developers. See the LICENSE file for details. // SPDX-License-Identifier: MIT // // LIvermore Sem image Tools (LIST) // Segmentation class (.h, .cpp...
31.706642
287
0.506372
LLNL
c696f56c8f48b0c5aef6edcd804cadbfa9959707
8,475
cpp
C++
ext/Objects/bytearrayobject-test.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
278
2021-08-31T00:46:51.000Z
2022-02-13T19:43:28.000Z
ext/Objects/bytearrayobject-test.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
9
2021-11-05T22:28:43.000Z
2021-11-23T08:39:04.000Z
ext/Objects/bytearrayobject-test.cpp
tekknolagi/skybison
bea8fc2af0a70e7203b4c19f36c14a745512a335
[ "CNRI-Python-GPL-Compatible" ]
12
2021-08-31T07:49:54.000Z
2021-10-08T01:09:01.000Z
// Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) #include <cstring> #include "Python.h" #include "gtest/gtest.h" #include "capi-fixture.h" #include "capi-testing.h" namespace py { namespace testing { using ByteArrayExtensionApiTest = ExtensionApi; TEST_F(ByteArrayExtensionApiTest, AsSt...
37.834821
79
0.785605
creativemindplus
578dc541119789c17a31f55d05729d25c98556df
6,307
cpp
C++
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/Storage/WebToStorageProcessConnection.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
1
2021-05-27T07:29:31.000Z
2021-05-27T07:29:31.000Z
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/Storage/WebToStorageProcessConnection.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/Storage/WebToStorageProcessConnection.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
/* * Copyright (C) 2013 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
39.41875
154
0.767243
mlcldh
578e01324ff9a18f505abef35d050a68776d75d7
296
cpp
C++
engine/src/Graphics/TerrainInstance.cpp
aleksigron/graphics-toolkit
f8e60c57316a72dff9de07512e9771deb3799208
[ "MIT" ]
14
2017-10-17T16:20:20.000Z
2021-12-21T14:49:00.000Z
engine/src/Graphics/TerrainInstance.cpp
aleksigron/graphics-toolkit
f8e60c57316a72dff9de07512e9771deb3799208
[ "MIT" ]
null
null
null
engine/src/Graphics/TerrainInstance.cpp
aleksigron/graphics-toolkit
f8e60c57316a72dff9de07512e9771deb3799208
[ "MIT" ]
1
2019-05-12T13:50:23.000Z
2019-05-12T13:50:23.000Z
#include "Graphics/TerrainInstance.hpp" TerrainInstance::TerrainInstance() : meshId(MeshId::Null), terrainSize(128.0f), terrainResolution(128), textureScale(0.25f, 0.25f), minHeight(-0.25f), maxHeight(0.05f), heightData(nullptr), vertexArrayId(0), uniformBufferId(0), textureId(0) { }
18.5
39
0.736486
aleksigron
5790db543563f27ea8ff6c6c0e0ae7f4e464bdc0
845
cpp
C++
Library/Room/Mode.cpp
theater/ArduinoMega
6515e6b6fbe62f75bf67ea2470760757af457b92
[ "Apache-2.0" ]
null
null
null
Library/Room/Mode.cpp
theater/ArduinoMega
6515e6b6fbe62f75bf67ea2470760757af457b92
[ "Apache-2.0" ]
null
null
null
Library/Room/Mode.cpp
theater/ArduinoMega
6515e6b6fbe62f75bf67ea2470760757af457b92
[ "Apache-2.0" ]
null
null
null
/* * Mode.cpp * * Created on: Mar 15, 2018 * Author: theater */ #include <Mode.h> #include <MqttUtil.h> Mode::Mode(ModeType mode) : Mode(mode, NULL) { } Mode::Mode(ModeType mode, char * id ) { this->id = id; this->mode = mode; this->callbackTopic = createCallbackTopic(id); MqttUtil::s...
17.604167
74
0.577515
theater
5799c85453ccc713e6e2727a3b553576ec20a296
4,057
hpp
C++
RobWork/src/rw/geometry/Cylinder.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/rw/geometry/Cylinder.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/rw/geometry/Cylinder.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
33.254098
98
0.588366
ZLW07
579cb1a772acc36d0615bf87b7c588fcb54e2326
17,506
cpp
C++
scripts/im2ply/PointCloud.cpp
danielsuo/rgbd-annotator
500ad86a424511c289db6ba458c9335928e130fc
[ "MIT" ]
25
2016-10-22T16:47:28.000Z
2021-08-23T11:58:11.000Z
scripts/im2ply/PointCloud.cpp
danielsuo/rgbd-annotator
500ad86a424511c289db6ba458c9335928e130fc
[ "MIT" ]
null
null
null
scripts/im2ply/PointCloud.cpp
danielsuo/rgbd-annotator
500ad86a424511c289db6ba458c9335928e130fc
[ "MIT" ]
7
2016-11-29T07:33:53.000Z
2018-03-14T11:13:02.000Z
#include "PointCloud.h" Camera *PointCloud::PointCloud::camera = new Camera(298.44268798828125, 247.51919555664062, 615.1951904296875, 615.19525146484375); PointCloud::PointCloud() { color = cv::Mat(0, 3, CV_32FC1); depth = cv::Mat(0, 3, CV_32FC1); } PointCloud::PointCloud(vector<char> *color_buffer, vector<char...
34.942116
131
0.541129
danielsuo
579f25abdbd7a27642bfc7bf6bca97650fc0110b
1,260
cpp
C++
ke_mode/winnt/ntke_cpprtl/gstatic_test_suite/test_gstatic01.cpp
133a/project_ntke_cpprtl
f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c
[ "MIT" ]
12
2016-08-02T19:22:26.000Z
2022-02-28T21:20:18.000Z
ke_mode/winnt/ntke_cpprtl/gstatic_test_suite/test_gstatic01.cpp
133a/project_ntke_cpprtl
f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c
[ "MIT" ]
null
null
null
ke_mode/winnt/ntke_cpprtl/gstatic_test_suite/test_gstatic01.cpp
133a/project_ntke_cpprtl
f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c
[ "MIT" ]
6
2018-04-15T16:51:40.000Z
2021-04-23T19:32:34.000Z
///////////////////////////////////////////////////////////////////////////// //// copyright (c) 2012-2017 project_ntke_cpprtl //// mailto:kt133a@seznam.cz //// license: the MIT license ///////////////////////////////////////////////////////////////////////////// #ifdef NT_KERNEL_MODE # include "ntddk.inclu...
15.75
77
0.543651
133a
57a155adde6e6d0de020675cf9b6eaec7ef2d7d4
289
cpp
C++
NCGB/Compile/src/Debug3.cpp
mcdeoliveira/NC
54b2a81ebda9e5260328f88f83f56fe8cf472ac3
[ "BSD-3-Clause" ]
103
2016-09-21T06:01:23.000Z
2022-03-27T06:52:10.000Z
NCGB/Compile/src/Debug3.cpp
albinjames/NC
157a55458931a18dd1f42478872c9df0de5cc450
[ "BSD-3-Clause" ]
11
2017-03-27T13:11:42.000Z
2022-03-08T13:46:14.000Z
NCGB/Compile/src/Debug3.cpp
albinjames/NC
157a55458931a18dd1f42478872c9df0de5cc450
[ "BSD-3-Clause" ]
21
2017-06-23T09:01:21.000Z
2022-02-18T06:24:00.000Z
// Debug3.c #include "Debug3.hpp" OfstreamProxy Debug3::s_ErrorFile("p9c_error_file"); OfstreamProxy Debug3::s_TimingFile("p9c_timing_file"); OfstreamProxy Debug3::s_InefficiencyFile(".impoving.ncgb.efficiency"); OfstreamProxy Debug3::s_NeedToWriteCodeFile(".need.to.write.code");
36.125
71
0.785467
mcdeoliveira
57a619f2aca1fb57f5f0192d2da657303f56d0f5
3,789
cpp
C++
BattleTank/Source/BattleTank/Private/SprungWheel.cpp
rmolinamir/BattleTank
f2887ce0703f9d4efd157aca2988e0be2f436deb
[ "MIT" ]
1
2018-11-29T06:08:16.000Z
2018-11-29T06:08:16.000Z
BattleTank/Source/BattleTank/Private/SprungWheel.cpp
rmolinamir/BattleTank
f2887ce0703f9d4efd157aca2988e0be2f436deb
[ "MIT" ]
null
null
null
BattleTank/Source/BattleTank/Private/SprungWheel.cpp
rmolinamir/BattleTank
f2887ce0703f9d4efd157aca2988e0be2f436deb
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SprungWheel.h" #include "UObject/ConstructorHelpers.h" #include "Components/SphereComponent.h" #include "PhysicsEngine/PhysicsConstraintComponent.h" #include "Components/SceneComponent.h" #include "GameFramework/Controller.h" // ...
30.312
161
0.773555
rmolinamir
57a666a259ae8493beef0554fc47706ad0ab4cec
1,603
hxx
C++
c++/src/laolx/parser/OperatorFunctionId.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
c++/src/laolx/parser/OperatorFunctionId.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
c++/src/laolx/parser/OperatorFunctionId.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
// // OperatorFunctionId.hxx // // // Created by Karl W Pfalzer. // #ifndef laolx_parser_OperatorFunctionId_hxx #define laolx_parser_OperatorFunctionId_hxx #include "laolx/parser/laolx.hxx" namespace laolx { namespace parser { class OverloadableOperator : public _Acceptor { public: explicit OverloadableOper...
19.083333
74
0.679351
kpfalzer
57a71d2cfb1d136a1e75e095ade0219ba494b7fc
159
hh
C++
src/Zynga/Framework/Service/V2/Swagger.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
19
2018-04-23T09:30:48.000Z
2022-03-06T21:35:18.000Z
src/Zynga/Framework/Service/V2/Swagger.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
22
2017-11-27T23:39:25.000Z
2019-08-09T08:56:57.000Z
src/Zynga/Framework/Service/V2/Swagger.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
28
2017-11-16T20:53:56.000Z
2021-01-04T11:13:17.000Z
<?hh // strict namespace Zynga\Framework\Service\V2; use Zynga\Framework\Service\V2\Swagger\Base as SwaggerBase; final class Swagger extends SwaggerBase {}
19.875
59
0.786164
chintan-j-patel
57a769c2dd67e4bc743d914fee078e886c8025d9
1,984
cpp
C++
src/Chapter 2/B - Find a Median String/BA2B.cpp
titansarus/Bioinformatics-Algorithms
f501b2461e7af7f6aee698e14a1c4a0371a4847f
[ "MIT" ]
1
2021-02-08T22:34:08.000Z
2021-02-08T22:34:08.000Z
src/Chapter 2/B - Find a Median String/BA2B.cpp
titansarus/Bioinformatics-Algorithms
f501b2461e7af7f6aee698e14a1c4a0371a4847f
[ "MIT" ]
null
null
null
src/Chapter 2/B - Find a Median String/BA2B.cpp
titansarus/Bioinformatics-Algorithms
f501b2461e7af7f6aee698e14a1c4a0371a4847f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; char nucleotides[4] = {'A', 'T', 'C', 'G'}; int hamming_distance(const string &a, const string &b) { int answer = 0; for (int i = 0; i < a.size(); i++) { if (a[i] != b[i]) { answer++; } } return answer; } int leas...
22.545455
79
0.558972
titansarus
57a81479a91c16028f54e6b744ceccd16bc4d970
305
cc
C++
CommonTools/RecoAlgos/plugins/CaloJetShallowCloneProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
CommonTools/RecoAlgos/plugins/CaloJetShallowCloneProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
CommonTools/RecoAlgos/plugins/CaloJetShallowCloneProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "DataFormats/JetReco/interface/CaloJet.h" #include "CommonTools/CandAlgos/interface/ShallowCloneProducer.h" typedef ShallowCloneProducer<reco::CaloJetCollection> CaloJetShallowCloneProducer; #include "FWCore/Framework/interface/MakerMacros.h" DEFINE_FWK_MODULE( CaloJetShallowCloneProducer );
33.888889
82
0.855738
nistefan
57a889dd6cc0035632f4a077d0b0dbcc5d09bc6c
76
cpp
C++
src/priv/qfhook.cpp
tomicooler/quickflux
0b0a144afa54a397382605ccea52286107678cb9
[ "Apache-2.0" ]
306
2015-06-12T11:18:53.000Z
2022-02-25T09:53:07.000Z
src/priv/qfhook.cpp
tomicooler/quickflux
0b0a144afa54a397382605ccea52286107678cb9
[ "Apache-2.0" ]
32
2015-06-23T18:11:21.000Z
2021-10-08T21:27:10.000Z
src/priv/qfhook.cpp
tomicooler/quickflux
0b0a144afa54a397382605ccea52286107678cb9
[ "Apache-2.0" ]
74
2015-12-14T13:12:06.000Z
2022-02-02T09:22:55.000Z
#include "qfhook.h" QFHook::QFHook(QObject *parent) : QObject(parent) { }
10.857143
49
0.684211
tomicooler
57b1eb7fd98b09c64f7ee1df48067fc178d13085
1,575
cpp
C++
source/app/iosuhax.cpp
emiyl/dumpling
48d76f5a4c035585683e1b414df2b66d5bb12e15
[ "MIT" ]
53
2020-04-11T15:49:21.000Z
2022-03-20T03:47:33.000Z
source/app/iosuhax.cpp
emiyl/dumpling
48d76f5a4c035585683e1b414df2b66d5bb12e15
[ "MIT" ]
22
2020-08-14T19:45:13.000Z
2022-03-30T00:49:27.000Z
source/app/iosuhax.cpp
emiyl/dumpling
48d76f5a4c035585683e1b414df2b66d5bb12e15
[ "MIT" ]
11
2020-04-19T09:19:08.000Z
2022-03-21T20:16:54.000Z
#include "iosuhax.h" #include "gui.h" int32_t mcpHookHandle = -1; int32_t fsaHandle = -1; int32_t iosuhaxHandle = -1; OSEvent haxStartEvent = {}; void haxStartCallback(IOSError arg1, void *arg2) { } bool openIosuhax() { WHBLogPrint("Preparing iosuhax..."); WHBLogConsoleDraw(); // Open MCP to send t...
25.819672
91
0.660317
emiyl
57b23524ca7c81bb0b3701aa84c555431b8cda0c
3,826
cpp
C++
SerialPrograms/Source/PokemonSwSh/Programs/EggPrograms/PokemonSwSh_EggSuperCombined2.cpp
ercdndrs/Arduino-Source
c0490f0f06aaa38759aa8f11def9e1349e551679
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonSwSh/Programs/EggPrograms/PokemonSwSh_EggSuperCombined2.cpp
ercdndrs/Arduino-Source
c0490f0f06aaa38759aa8f11def9e1349e551679
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonSwSh/Programs/EggPrograms/PokemonSwSh_EggSuperCombined2.cpp
ercdndrs/Arduino-Source
c0490f0f06aaa38759aa8f11def9e1349e551679
[ "MIT" ]
null
null
null
/* Egg Super-Combined 2 * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include "Common/SwitchFramework/FrameworkSettings.h" #include "PokemonSwSh/Programs/ReleaseHelpers.h" #include "PokemonSwSh_EggHelpers.h" #include "PokemonSwSh_EggCombinedShared.h" #include "PokemonSwSh_EggSuper...
34.781818
151
0.670413
ercdndrs
57bc0a7501acae5ab7ed283ba9bdc7dd3d49b10a
1,952
hpp
C++
include/Log.hpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
include/Log.hpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
include/Log.hpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
#ifndef __EVEL_ENGINE_LOG_HPP__ #define __EVEL_ENGINE_LOG_HPP__ #include "spdlog/spdlog.h" #include "spdlog/sinks/stdout_color_sinks.h" #include "spdlog/sinks/basic_file_sink.h" namespace EvelEngine { class Log { public: Log(); ~Log(); void initialize(); ...
30.030769
72
0.441598
savageking-io
57bd226413697bca6d490a522c7cc5a8a4f0b247
12,156
cpp
C++
src/OVAFTModel.cpp
kokarare1212/OpenVAFT
42dbec4ed1123a98f465e61833a69f25bc948cd2
[ "Apache-2.0" ]
1
2022-03-23T02:35:52.000Z
2022-03-23T02:35:52.000Z
src/OVAFTModel.cpp
kokarare1212/OpenVAFT
42dbec4ed1123a98f465e61833a69f25bc948cd2
[ "Apache-2.0" ]
null
null
null
src/OVAFTModel.cpp
kokarare1212/OpenVAFT
42dbec4ed1123a98f465e61833a69f25bc948cd2
[ "Apache-2.0" ]
null
null
null
#include "OVAFTModel.h" #include <CubismDefaultParameterId.hpp> #include <CubismModelSettingJson.hpp> #include <Motion/CubismMotion.hpp> #include <fstream> #include <Id/CubismIdManager.hpp> #include <Rendering/OpenGL/CubismRenderer_OpenGLES2.hpp> #include <Utils/CubismString.hpp> #include "OVAFTFaceTracker.h" #include...
35.964497
128
0.675716
kokarare1212
57be967f71730e8671550a9fd56d1915d458195e
1,136
cpp
C++
LIFA/Firmware/LINX/examples/RaspberryPi_2_B_Tcp/src/RaspberryPi_2_B_Tcp.cpp
Errrneist/AIARG-UWKWT-HighLevel-Break-Controller
78c60f16094c344a32bdc5ff49f4e1b65ff05f97
[ "Apache-2.0" ]
null
null
null
LIFA/Firmware/LINX/examples/RaspberryPi_2_B_Tcp/src/RaspberryPi_2_B_Tcp.cpp
Errrneist/AIARG-UWKWT-HighLevel-Break-Controller
78c60f16094c344a32bdc5ff49f4e1b65ff05f97
[ "Apache-2.0" ]
null
null
null
LIFA/Firmware/LINX/examples/RaspberryPi_2_B_Tcp/src/RaspberryPi_2_B_Tcp.cpp
Errrneist/AIARG-UWKWT-HighLevel-Break-Controller
78c60f16094c344a32bdc5ff49f4e1b65ff05f97
[ "Apache-2.0" ]
null
null
null
/**************************************************************************************** ** LINX TCP Listener For Raspberry Pi 2 Model B ** ** For more information see: www.labviewmakerhub.com/linx ** For support visit the forums at: www.labviewmakerhub.com/forums/linx ** ** Written By Sam Kristoff ...
26.418605
125
0.607394
Errrneist
57c3da9320fb5e787eb1e9ceacb0f86b57881810
2,190
cpp
C++
minimum-absolute-difference-in-bst/Solution.cpp
marcos-sb/leetcode
35369f5cd9e84d3339343080087e32ec1264f410
[ "Apache-2.0" ]
1
2019-10-07T15:58:39.000Z
2019-10-07T15:58:39.000Z
minimum-absolute-difference-in-bst/Solution.cpp
marcos-sb/leetcode
35369f5cd9e84d3339343080087e32ec1264f410
[ "Apache-2.0" ]
null
null
null
minimum-absolute-difference-in-bst/Solution.cpp
marcos-sb/leetcode
35369f5cd9e84d3339343080087e32ec1264f410
[ "Apache-2.0" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ // this solution implements the following idea but in O(1) space: // the min abs diff between any two nodes in a BST lies be...
38.421053
102
0.626941
marcos-sb
57c513e32a933ef4abb0e53b6e0bec1df76a9448
1,419
cpp
C++
data/dailyCodingProblem457.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem457.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem457.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* Given a word W and a string S, find all starting indices in S which are anagrams of W. For example, given that W is "ab", and S is "abxaba", return 0, 3, and 4. */ // return true if umap2 contains all the keys of umap1 with respective values // and all other keys of um...
26.773585
114
0.676533
vidit1999
57ca944954ffc17cdd2fc142cf3cc7f137dd3804
28,755
cpp
C++
sigaba.cpp
rmsk2/rmsk2
812b2e495c9a15c16075d4358ca9b7b950b7a26c
[ "Apache-2.0" ]
4
2020-06-16T03:52:50.000Z
2021-12-25T13:12:02.000Z
sigaba.cpp
rmsk2/rmsk2
812b2e495c9a15c16075d4358ca9b7b950b7a26c
[ "Apache-2.0" ]
null
null
null
sigaba.cpp
rmsk2/rmsk2
812b2e495c9a15c16075d4358ca9b7b950b7a26c
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * Copyright 2018 Martin Grap * * 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...
36.033835
142
0.659503
rmsk2
57d102e39b44fe96aa9215603fa39577802ccf5f
3,259
cxx
C++
src/Conic.cxx
fermi-lat/geometry
71a08bdb0caf952566fed8d8aeb62bd264a4bab7
[ "BSD-3-Clause" ]
null
null
null
src/Conic.cxx
fermi-lat/geometry
71a08bdb0caf952566fed8d8aeb62bd264a4bab7
[ "BSD-3-Clause" ]
null
null
null
src/Conic.cxx
fermi-lat/geometry
71a08bdb0caf952566fed8d8aeb62bd264a4bab7
[ "BSD-3-Clause" ]
null
null
null
// $Id: Conic.cxx,v 1.1.1.1 1999/12/20 22:28:06 burnett Exp $ // Author: T. Burnett // Project: geometry // // Conic class implementation #include "geometry/Conic.h" inline static double sqr(double x){return x*x;} //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Conic::Conic( const Point&...
30.175926
115
0.45382
fermi-lat
57d71f638c6d45c8454660e0b733b6641ea36295
771
hpp
C++
3BIT/ISA/argparser.hpp
MisoKov/vutbr-fit-bit
5bee4c50ea231f2f6f9f1ce9260e2a913e1cfc6b
[ "MIT" ]
null
null
null
3BIT/ISA/argparser.hpp
MisoKov/vutbr-fit-bit
5bee4c50ea231f2f6f9f1ce9260e2a913e1cfc6b
[ "MIT" ]
null
null
null
3BIT/ISA/argparser.hpp
MisoKov/vutbr-fit-bit
5bee4c50ea231f2f6f9f1ce9260e2a913e1cfc6b
[ "MIT" ]
null
null
null
/** * @file argparser.hpp * @author Michal Koval, xkoval17 FIT * @date 14.11.2020 * @brief Header file for arguments parsing part of program * @note Compiler: gcc 7.5 */ #ifndef ISA_ARGPARSER_H #define ISA_ARGPARSER_H #include "errors.hpp" #include <string.h> #include <iostream> #include <string> /** * Structu...
19.275
59
0.705577
MisoKov