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
30cb03fcf3fa2ca15e36f9680c4d649fb10648a4
5,788
cpp
C++
extras/soundio/src/input_soundio.cpp
newdigate/teensy-audio-x86-stubs
f9c25e6e53595b94fa674816540fafdced1561e1
[ "MIT" ]
null
null
null
extras/soundio/src/input_soundio.cpp
newdigate/teensy-audio-x86-stubs
f9c25e6e53595b94fa674816540fafdced1561e1
[ "MIT" ]
null
null
null
extras/soundio/src/input_soundio.cpp
newdigate/teensy-audio-x86-stubs
f9c25e6e53595b94fa674816540fafdced1561e1
[ "MIT" ]
null
null
null
#include "input_soundio.h" #include <soundio/soundio.h> audio_block_t * AudioInputSoundIO::block_left = NULL; audio_block_t * AudioInputSoundIO::block_right = NULL; bool AudioInputSoundIO::update_responsibility = false; struct SoundIo *AudioInputSoundIO::soundio = NULL; struct RecordContext AudioInputSoundIO::rc; voi...
31.628415
115
0.646856
newdigate
30cbb085d723bed1e36d9d986a216e5388af0bd7
7,615
hpp
C++
src/thirdparty/stlsoft/STLSoft/include/stlsoft/algorithms/collection.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
null
null
null
src/thirdparty/stlsoft/STLSoft/include/stlsoft/algorithms/collection.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
null
null
null
src/thirdparty/stlsoft/STLSoft/include/stlsoft/algorithms/collection.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
2
2020-11-04T03:07:09.000Z
2020-11-05T08:14:45.000Z
/* ///////////////////////////////////////////////////////////////////////// * File: stlsoft/algorithms/collection.hpp * * Purpose: Whole collection algorithms. * * Created: 17th January 2002 * Updated: 19th February 2017 * * Home: http://stlsoft.org/ * * Copyright (c) 2002-2017, Mat...
33.108696
80
0.67262
nneesshh
30d06f8aa4dfaebe242332d5849bbfd210574570
476
cpp
C++
src/CreditsKeyboardManager.cpp
nondejus/lemmings
50e28675e8916eed16bfc8c44d02326d47d5c9ac
[ "MIT" ]
26
2018-04-21T02:13:28.000Z
2022-02-13T05:06:36.000Z
src/CreditsKeyboardManager.cpp
nondejus/lemmings
50e28675e8916eed16bfc8c44d02326d47d5c9ac
[ "MIT" ]
null
null
null
src/CreditsKeyboardManager.cpp
nondejus/lemmings
50e28675e8916eed16bfc8c44d02326d47d5c9ac
[ "MIT" ]
6
2019-08-21T02:37:40.000Z
2021-06-08T18:31:07.000Z
#include <GL/glew.h> #include <GL/glut.h> #include "CreditsKeyboardManager.h" #include "Credits.h" #include "StateManager.h" void CreditsKeyboardManager::keyPressed(int key) { if (key == 27) // Escape code { StateManager::instance().changeMenu(); Credits::instance().endMusic(); } } void CreditsKeyboardMana...
14.875
56
0.728992
nondejus
30ded5e0c406e0bb1dad0425fd27679e1bd68a05
604
cc
C++
AICSE-demo-student/demo/east/tf-SBC/cwise_op_sbc_mlu.cc
iuming/AI_Computer_Systems
b47c4914a23acfdc469e1a80735bf68191b2acba
[ "MIT" ]
5
2020-12-07T03:16:49.000Z
2022-01-08T13:59:20.000Z
AICSE-demo-student/demo/east/tf-SBC/cwise_op_sbc_mlu.cc
iuming/AI_Computer_Systems
b47c4914a23acfdc469e1a80735bf68191b2acba
[ "MIT" ]
21
2020-09-25T22:41:00.000Z
2022-03-12T00:50:43.000Z
AICSE-demo-student/demo/east/tf-SBC/cwise_op_sbc_mlu.cc
iuming/AI_Computer_Systems
b47c4914a23acfdc469e1a80735bf68191b2acba
[ "MIT" ]
1
2022-02-18T09:01:43.000Z
2022-02-18T09:01:43.000Z
#include "tensorflow/core/kernels/cwise_op_sbc_mlu.h" namespace tensorflow { #if CAMBRICON_MLU #define REGISTER_MLU(T) \ REGISTER_KERNEL_BUILDER(Name("SBC") \ .Device(DEVICE_MLU) \ ...
30.2
72
0.528146
iuming
30e39d01885554d0ffddf52b0d4d09b80f58ae06
1,548
cpp
C++
bench/cpp/msp430_mpsoc3d_testbench.cpp
PacoReinaCampo/MPSoC-MSP430
f07e3d20d4f63163e00e56d14e516341aaaec2c3
[ "MIT" ]
1
2020-02-14T00:23:08.000Z
2020-02-14T00:23:08.000Z
bench/cpp/msp430_mpsoc3d_testbench.cpp
PacoReinaCampo/MPSoC-MSP430
f07e3d20d4f63163e00e56d14e516341aaaec2c3
[ "MIT" ]
null
null
null
bench/cpp/msp430_mpsoc3d_testbench.cpp
PacoReinaCampo/MPSoC-MSP430
f07e3d20d4f63163e00e56d14e516341aaaec2c3
[ "MIT" ]
1
2021-08-08T01:07:04.000Z
2021-08-08T01:07:04.000Z
#include "Vmsp430_mpsoc3d_testbench__Syms.h" #include "Vmsp430_mpsoc3d_testbench__Dpi.h" #include <VerilatedToplevel.h> #include <VerilatedControl.h> #include <ctime> #include <cstdlib> using namespace simutilVerilator; VERILATED_TOPLEVEL(msp430_mpsoc3d_testbench, clk, rst) int main(int argc, char *argv[]) { m...
45.529412
124
0.799742
PacoReinaCampo
30e3f3b662760b449570be52a639f02d5bd83b7d
624
cpp
C++
C语言程序设计基础/空心数字梯形.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
63
2021-01-10T02:32:17.000Z
2022-03-30T04:08:38.000Z
C语言程序设计基础/空心数字梯形.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
2
2021-06-09T05:38:58.000Z
2021-12-14T13:53:54.000Z
C语言程序设计基础/空心数字梯形.cpp
xiabee/BIT-CS
5d8d8331e6b9588773991a872c259e430ef1eae1
[ "Apache-2.0" ]
20
2021-01-12T11:49:36.000Z
2022-03-26T11:04:58.000Z
#include<stdio.h> int main() { int c,m,i,j; scanf("%d %d",&c,&m); if(c==1) { printf("%d",m); return 0; }else { for(i=1;i<=c;++i) { for(j=1;j<=i-1;++j) printf(" "); if(i==1) { for(int k=1;k<=(3*c-2+1)/2;++k) printf("%d",(m+k-1)%10); for(int k=(3*c-2)/2;k>=1;--k) printf("%d",(m+k-1)%...
18.909091
35
0.407051
xiabee
30ebf5de6a62c5a444303f0b68ffce01e7ca9262
11,258
cpp
C++
src/core/FrameBuffer.cpp
Guarneri1743/SoftRasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
4
2020-12-14T10:58:35.000Z
2020-12-14T16:38:18.000Z
src/core/FrameBuffer.cpp
J-Mat/CPU-Rasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
null
null
null
src/core/FrameBuffer.cpp
J-Mat/CPU-Rasterizer
d7a7344e43d91ce575724cc1d121551e6008dc01
[ "MIT" ]
null
null
null
#include "FrameBuffer.hpp" #include <execution> #include <algorithm> #include "ImageUtil.hpp" namespace CpuRasterizer { FrameBuffer::FrameBuffer(size_t w, size_t h, FrameContent flag) : content_flag(flag), width(w), height(h), filtering(Filtering::kBilinear) { clear_color = {0, 0, 0, 0}; resize(w, h); } ...
23.454167
103
0.660952
Guarneri1743
30f04d4d49265ff634f47ead77c722dcbdcd332a
1,215
cpp
C++
misc/data_parallel/research/openmp/tests/test_poly_contains.cpp
mchapman87501/DMCWingWorks
973979d515d054a835f78ff0fe86fd909e1138c7
[ "MIT" ]
null
null
null
misc/data_parallel/research/openmp/tests/test_poly_contains.cpp
mchapman87501/DMCWingWorks
973979d515d054a835f78ff0fe86fd909e1138c7
[ "MIT" ]
null
null
null
misc/data_parallel/research/openmp/tests/test_poly_contains.cpp
mchapman87501/DMCWingWorks
973979d515d054a835f78ff0fe86fd909e1138c7
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <assert.h> #include <cmath> #include "point.h" #include "particle.h" #include "polygon.h" using namespace std; using namespace wingworks; void test_poly_contains_1() { vector<Point> vertices; const double x_center = 3.0; const double r = 3.0; for (doubl...
24.3
81
0.588477
mchapman87501
30f0dcdef28adf527912edefc649bbf4f583e06f
20,024
cpp
C++
src/Extensions/Classifiers/Barbedo/Barbedo.cpp
berkus/music-cs
099b66cb1285d19955e953f916ec6c12c68f2242
[ "MIT" ]
null
null
null
src/Extensions/Classifiers/Barbedo/Barbedo.cpp
berkus/music-cs
099b66cb1285d19955e953f916ec6c12c68f2242
[ "MIT" ]
null
null
null
src/Extensions/Classifiers/Barbedo/Barbedo.cpp
berkus/music-cs
099b66cb1285d19955e953f916ec6c12c68f2242
[ "MIT" ]
null
null
null
// Copyright (c) 2008-2009 Marcos José Sant'Anna Magalhães // // 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,...
24.782178
135
0.593987
berkus
30f1cc3f571af4c6875d5857b8156ac5854c1b47
7,910
cpp
C++
netlink/netlink.cpp
npoltorapavlo/c_samples
5fc1a7c4959f9dd2764ac0552d4a108dfbb0399b
[ "Unlicense" ]
1
2021-08-07T06:04:26.000Z
2021-08-07T06:04:26.000Z
netlink/netlink.cpp
npoltorapavlo/c_samples
5fc1a7c4959f9dd2764ac0552d4a108dfbb0399b
[ "Unlicense" ]
null
null
null
netlink/netlink.cpp
npoltorapavlo/c_samples
5fc1a7c4959f9dd2764ac0552d4a108dfbb0399b
[ "Unlicense" ]
null
null
null
#include <errno.h> #include <cstring> #include <net/if.h> #include <arpa/inet.h> #include <sys/socket.h> #include <linux/rtnetlink.h> #include <unistd.h> #include <cstdio> #include <cstdlib> #define ROUTE_ADDR_SIZE 32 #define IF_ADDR_SIZE 256 #define MSG_BUF_SIZE 8192 #define USEC_IN_MSEC 1000 struct RouteInfo { in...
22.156863
75
0.550569
npoltorapavlo
30f275533249e72683f36cb31fd296adfbe3a36b
757
cc
C++
constructs/test/epsilon_greedy_test.cc
shrenikm/Mnyrve
6e0f41adfc9665ab4b516db73fa64a236e684c71
[ "MIT" ]
null
null
null
constructs/test/epsilon_greedy_test.cc
shrenikm/Mnyrve
6e0f41adfc9665ab4b516db73fa64a236e684c71
[ "MIT" ]
2
2018-11-04T07:01:20.000Z
2018-11-17T07:40:19.000Z
constructs/test/epsilon_greedy_test.cc
shrenikm/Mnyrve
6e0f41adfc9665ab4b516db73fa64a236e684c71
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "constructs/include/epsilon_greedy.h" namespace { using mnyrve::constructs::EpsilonGreedy; class EpsilonGreedyTest : public ::testing::Test { protected: EpsilonGreedyTest() { } void SetUp() override { } EpsilonGreedy eg1_{EpsilonGreedy(0.1)}; }; TEST_F(E...
14.283019
50
0.689564
shrenikm
30f5c145753f2d17466aa5065cdba7e7d9537246
8,438
cpp
C++
src/prod/src/ServiceModel/ETWDescription.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/ServiceModel/ETWDescription.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/ServiceModel/ETWDescription.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
27.575163
119
0.563522
gridgentoo
30fa8e01e4a9524e7a24124c6585918ec090b95d
7,876
cpp
C++
test/l0_system/socket.test.cpp
dapaulid/libremo
3aa1da6ed13586e842906f21c2eb4c82fec716fe
[ "MIT" ]
1
2021-02-03T08:25:37.000Z
2021-02-03T08:25:37.000Z
test/l0_system/socket.test.cpp
dapaulid/libremo
3aa1da6ed13586e842906f21c2eb4c82fec716fe
[ "MIT" ]
null
null
null
test/l0_system/socket.test.cpp
dapaulid/libremo
3aa1da6ed13586e842906f21c2eb4c82fec716fe
[ "MIT" ]
null
null
null
#include "../test.h" #include "../../src/l0_system/socket.h" #include "../../src/l0_system/error.h" #include <future> #include <string.h> #include <chrono> //------------------------------------------------------------------------------ // helpers //-------------------------------------------------------------------...
26.166113
80
0.565515
dapaulid
30fdfbe180020d573ee8bd25a1cc2e17914a6d7d
8,346
cpp
C++
PsgDBUtils/PsgDBUSpecFldEdt.cpp
rs0h/PostGISGDO
abf980569b703e80567b43817ea1d79fdee626e9
[ "Apache-2.0" ]
null
null
null
PsgDBUtils/PsgDBUSpecFldEdt.cpp
rs0h/PostGISGDO
abf980569b703e80567b43817ea1d79fdee626e9
[ "Apache-2.0" ]
null
null
null
PsgDBUtils/PsgDBUSpecFldEdt.cpp
rs0h/PostGISGDO
abf980569b703e80567b43817ea1d79fdee626e9
[ "Apache-2.0" ]
null
null
null
// Copyright 2013 Intergraph Corporation // // 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 l...
28.195946
82
0.58531
rs0h
a500aa849dcb041a1252635160e7c55c72029d92
3,004
cpp
C++
src/dataset.cpp
ifilot/neuralnetworkdemo
bd8ade34baee843df00aa88ece5de8db1c199253
[ "MIT" ]
1
2019-07-28T20:12:38.000Z
2019-07-28T20:12:38.000Z
src/dataset.cpp
ifilot/neuralnetworkdemo
bd8ade34baee843df00aa88ece5de8db1c199253
[ "MIT" ]
null
null
null
src/dataset.cpp
ifilot/neuralnetworkdemo
bd8ade34baee843df00aa88ece5de8db1c199253
[ "MIT" ]
1
2019-07-28T20:12:39.000Z
2019-07-28T20:12:39.000Z
/************************************************************************************ * This file is part of neuralnetworkdemo. * * https://github.com/ifilot/neuralnetworkdemo * * ...
63.914894
107
0.478695
ifilot
a501858abeb4fad7fcbc4efacf707fde2c1e9850
9,695
cpp
C++
thirdparty/AngelCode/sdk/tests/test_feature/source/test_constobject.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
1
2021-07-25T15:10:39.000Z
2021-07-25T15:10:39.000Z
thirdparty/AngelCode/sdk/tests/test_feature/source/test_constobject.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
null
null
null
thirdparty/AngelCode/sdk/tests/test_feature/source/test_constobject.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
null
null
null
#include "utils.h" namespace TestConstObject { #define TESTNAME "TestConstObject" static const char *script2 = "const string URL_SITE = \"http://www.sharkbaitgames.com\"; \n" "const string URL_GET_HISCORES = URL_SITE + \"/get_hiscores.php\"; \n" "const string URL_CAN_SUBMIT_...
38.78
176
0.6164
kcat
a503b2a3309da5e67f1fce1d8368debcc0ca889f
6,161
cxx
C++
Root/FSRCorrection.cxx
xju2/H4l
43c544aa0e8034041dc351f63fa03b24ff05521f
[ "Apache-2.0" ]
null
null
null
Root/FSRCorrection.cxx
xju2/H4l
43c544aa0e8034041dc351f63fa03b24ff05521f
[ "Apache-2.0" ]
null
null
null
Root/FSRCorrection.cxx
xju2/H4l
43c544aa0e8034041dc351f63fa03b24ff05521f
[ "Apache-2.0" ]
null
null
null
#include <H4l/FSRCorrection.h> #include "FsrUtils/FsrPhotonTool.h" using namespace std; FSRCorrection::FSRCorrection(quadruplet *in_quad, bool debug) { m_quad = in_quad; m_debug = debug; m_quad_fsr = new quadruplet; } FSRCorrection::~FSRCorrection() { delete m_quad_fsr; } void FSRCorrection::apply...
51.341667
295
0.611589
xju2
a503dc8f20bd4d662af0e069d2cf35cc7afd093d
2,461
hpp
C++
src/uhs/atomizer/watchtower/controller.hpp
JonWiggins/opencbdc-tx
628dfb9487390bd6a2a520645cbc5a1aaca06eac
[ "MIT" ]
null
null
null
src/uhs/atomizer/watchtower/controller.hpp
JonWiggins/opencbdc-tx
628dfb9487390bd6a2a520645cbc5a1aaca06eac
[ "MIT" ]
null
null
null
src/uhs/atomizer/watchtower/controller.hpp
JonWiggins/opencbdc-tx
628dfb9487390bd6a2a520645cbc5a1aaca06eac
[ "MIT" ]
null
null
null
// Copyright (c) 2021 MIT Digital Currency Initiative, // Federal Reserve Bank of Boston // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef OPENCBDC_TX_SRC_WATCHTOWER_CONTROLLER_H_ #define OPENCBDC_TX_SRC...
35.157143
70
0.667208
JonWiggins
a50c454c37d4167dd396369914034c956233172e
4,732
cpp
C++
TM1638_Arduino.cpp
jlebunetel/TM1638_Arduino
24777f74b0efc793841ae930b5638a363ac2536b
[ "MIT" ]
1
2019-08-10T09:45:30.000Z
2019-08-10T09:45:30.000Z
TM1638_Arduino.cpp
jlebunetel/TM1638_Arduino
24777f74b0efc793841ae930b5638a363ac2536b
[ "MIT" ]
null
null
null
TM1638_Arduino.cpp
jlebunetel/TM1638_Arduino
24777f74b0efc793841ae930b5638a363ac2536b
[ "MIT" ]
null
null
null
// include Arduino core library #include "Arduino.h" // include this library's description file #include "TM1638_Arduino.h" // include description files for other libraries used // Constructor ///////////////////////////////////////////////////////////////// // Function that handles the creation and setup of instanc...
26.886364
94
0.66568
jlebunetel
a50dc4ddea72ef639119ba076e88027076a00dcb
3,061
cc
C++
project/c++/mri/src/cpp/src/up_events.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/cpp/src/up_events.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/cpp/src/up_events.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2012 JDS Uniphase. All rights reserved. * $URL: http://sinsvn5.sin.ds.jdsu.net/svn/xtreme/branches/1.00.100_phase2_tip/src/cpp/src/up_events.cc $ * $Revision: 8896 $ * $Author: lim59234 $ * $Date: 2013-12-27 16:42:43 +0800 (Fri, 27 Dec 2013) $ * UP events implementations for EDR events and CPP int...
22.181159
106
0.668082
jia57196
a50fbfd43ea21fb7e4570c5491c859a2d45b80b2
1,955
cc
C++
paddle/fluid/inference/tests/api/lite_mul_model_test.cc
Sand3r-/Paddle
1217a521554d63caa1381b8716910d0268dfc22d
[ "Apache-2.0" ]
2
2020-02-11T08:53:05.000Z
2020-02-20T08:06:25.000Z
paddle/fluid/inference/tests/api/lite_mul_model_test.cc
Sand3r-/Paddle
1217a521554d63caa1381b8716910d0268dfc22d
[ "Apache-2.0" ]
null
null
null
paddle/fluid/inference/tests/api/lite_mul_model_test.cc
Sand3r-/Paddle
1217a521554d63caa1381b8716910d0268dfc22d
[ "Apache-2.0" ]
2
2019-08-16T12:03:28.000Z
2019-09-03T13:02:57.000Z
/* Copyright (c) 2018 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 by applicable law or...
33.135593
75
0.72532
Sand3r-
a511d94e171c69837a8206f11ffbf82243384e79
43,768
cpp
C++
src/modules/devices/sy_devices.cpp
oyranos-cms/Synnefo
ca6b8cd7055b47fc64182a4e0d1a6dcf54781fe5
[ "BSD-2-Clause" ]
4
2015-04-26T19:38:56.000Z
2018-03-02T09:02:27.000Z
src/modules/devices/sy_devices.cpp
oyranos-cms/Synnefo
ca6b8cd7055b47fc64182a4e0d1a6dcf54781fe5
[ "BSD-2-Clause" ]
1
2017-10-31T21:49:28.000Z
2017-10-31T21:49:28.000Z
src/modules/devices/sy_devices.cpp
oyranos-cms/Synnefo
ca6b8cd7055b47fc64182a4e0d1a6dcf54781fe5
[ "BSD-2-Clause" ]
null
null
null
#include <QMessageBox> #include <QProgressDialog> #include <QFile> #include <QTime> #include <QTimer> #ifdef HAVE_QT_DBUS #include <QtDBus/QtDBus> #endif #include "sy_devices.h" #include "sy_devices_config.h" // Qt Designer code translation. #include "ui_sy_devices.h" #include <oyranos.h> #include <oyranos...
34.220485
182
0.637361
oyranos-cms
a512cb5c796fbcb21de13153973275ff68d38143
2,134
hpp
C++
three/scenes/scene.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
three/scenes/scene.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
three/scenes/scene.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
#ifndef THREE_SCENE_HPP #define THREE_SCENE_HPP #include <three/common.hpp> #include <three/core/object3d.hpp> #include <three/renderers/renderables/renderable_object.hpp> namespace three { class Scene : public Object3D { public: typedef std::shared_ptr<Scene> Ptr; static Ptr create() { return make_shared...
27.714286
118
0.584817
Lecrapouille
a517dc1e9093c1ec8c03e1815ab48fb87e92dfd4
3,903
cpp
C++
src/SP2C/SPC_Mat33.cpp
Kareus/SP2C
74a3cdb89bc5b2414277bf87e7c6a2b9d0313990
[ "MIT" ]
null
null
null
src/SP2C/SPC_Mat33.cpp
Kareus/SP2C
74a3cdb89bc5b2414277bf87e7c6a2b9d0313990
[ "MIT" ]
null
null
null
src/SP2C/SPC_Mat33.cpp
Kareus/SP2C
74a3cdb89bc5b2414277bf87e7c6a2b9d0313990
[ "MIT" ]
null
null
null
#include <SP2C/SPC_Mat33.h> namespace SP2C { SPC_Mat33::SPC_Mat33(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) { m[0][0] = m00; m[0][1] = m01; m[0][2] = m02; m[1][0] = m10; m[1][1] = m11; m[1][2] = m12; m[2][0] = m20; m[2][1] = m21; m...
20.118557
129
0.472457
Kareus
a51a366e37c4523bc14aa5c1399d458553260ee6
760
cc
C++
AlgoNote/ch4/SelectSort.cc
pusidun/code_repo
c8049e1f6be53e5d4d7ae44ae6782b96b0d9767d
[ "MIT" ]
null
null
null
AlgoNote/ch4/SelectSort.cc
pusidun/code_repo
c8049e1f6be53e5d4d7ae44ae6782b96b0d9767d
[ "MIT" ]
null
null
null
AlgoNote/ch4/SelectSort.cc
pusidun/code_repo
c8049e1f6be53e5d4d7ae44ae6782b96b0d9767d
[ "MIT" ]
null
null
null
#include <cstdlib> #include <ctime> #include <iostream> #include <vector> using namespace std; void selectSort(vector<int>& vec) { int len = vec.size(); if (len == 0) return; for (int i = 0; i < len - 1; ++i) { int minidx = i; for (int j = i + 1; j < len; ++j) { if (vec[j] < vec[minidx]) minidx = j...
19.487179
47
0.544737
pusidun
a51aa56632abd43e5715092b750f553695b21ef0
15,591
cpp
C++
src/effects/shadows/SkSpotShadowMaskFilter.cpp
picmonkey/skia
8bc3eecfc3f688c504c64d676e7de9b2f938a866
[ "BSD-3-Clause" ]
null
null
null
src/effects/shadows/SkSpotShadowMaskFilter.cpp
picmonkey/skia
8bc3eecfc3f688c504c64d676e7de9b2f938a866
[ "BSD-3-Clause" ]
4
2016-04-08T23:04:42.000Z
2017-06-16T21:46:02.000Z
src/effects/shadows/SkSpotShadowMaskFilter.cpp
picmonkey/skia
8bc3eecfc3f688c504c64d676e7de9b2f938a866
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkSpotShadowMaskFilter.h" #include "SkReadBuffer.h" #include "SkStringUtils.h" #include "SkWriteBuffer.h" #if SK_SUPPORT_GPU #include "GrContext.h" #include "GrRend...
43.672269
99
0.567122
picmonkey
a51c5edbb5dae2c55ad3cf424222e17fe03a7ec2
93
cpp
C++
gauss-elimination/source/TestGen.cpp
matheusvxf/mpi
2ea271b3a5ef93b0f7b0e0862f2b157057dcb8ba
[ "MIT" ]
null
null
null
gauss-elimination/source/TestGen.cpp
matheusvxf/mpi
2ea271b3a5ef93b0f7b0e0862f2b157057dcb8ba
[ "MIT" ]
null
null
null
gauss-elimination/source/TestGen.cpp
matheusvxf/mpi
2ea271b3a5ef93b0f7b0e0862f2b157057dcb8ba
[ "MIT" ]
1
2020-03-12T07:33:12.000Z
2020-03-12T07:33:12.000Z
#include "TestFramework.h" int main() { using namespace Test; Test::GenerateTest(10); }
11.625
26
0.688172
matheusvxf
a51c8d23140bb1f80e3c9d8365148bc5ad113d99
1,069
cc
C++
Development/OrignalDev/ProbabilityFramework/UnitTest/testVariablePropositionBoolean.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
Development/OrignalDev/ProbabilityFramework/UnitTest/testVariablePropositionBoolean.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
Development/OrignalDev/ProbabilityFramework/UnitTest/testVariablePropositionBoolean.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
#include <cppunit/extensions/HelperMacros.h> #include "Ravl/Prob/VariablePropositionBoolean.hh" using namespace RavlProbN; class VariablePropositionBooleanTest: public CppUnit::TestCase { CPPUNIT_TEST_SUITE( VariablePropositionBooleanTest ); CPPUNIT_TEST( testBooleanValue ); CPPUNIT_TEST( testToString ); CPPUNI...
28.131579
72
0.789523
isuhao
a51da0837a40381f69c32d9a9a694131a643815e
949
hpp
C++
src/tmx/TmxApi/tmx/j2735_messages/MapDataMessage.hpp
networkmodeling/V2X-Hub
d363f49a4c9af76823a23033b9f7983f2f6ae095
[ "Apache-2.0" ]
56
2019-04-25T19:06:11.000Z
2022-03-25T20:26:25.000Z
src/tmx/TmxApi/tmx/j2735_messages/MapDataMessage.hpp
networkmodeling/V2X-Hub
d363f49a4c9af76823a23033b9f7983f2f6ae095
[ "Apache-2.0" ]
184
2019-04-24T18:20:08.000Z
2022-03-22T18:56:45.000Z
src/tmx/TmxApi/tmx/j2735_messages/MapDataMessage.hpp
networkmodeling/V2X-Hub
d363f49a4c9af76823a23033b9f7983f2f6ae095
[ "Apache-2.0" ]
34
2019-04-03T15:21:16.000Z
2022-03-20T04:26:53.000Z
/* * @file MapDataMessage.hpp * * Created on: Apr 28, 2016 * Author: Gregory M. Baumgardner */ #ifndef TMX_J2735_MESSAGES_MAPDATAMESSAGE_HPP_ #define TMX_J2735_MESSAGES_MAPDATAMESSAGE_HPP_ #include <MapData.h> #include <tmx/j2735_messages/J2735MessageTemplate.hpp> #include <tmx/messages/TmxJ2735.hpp> TMX_...
27.114286
99
0.797682
networkmodeling
a51e548ef917c3c030f04d2ca10d10057b80b465
1,142
cpp
C++
patrones/structural/bridge.cpp
jrinconada/cpp-examples
069e3cc910b2c2d0716af36bef28336003fb6d9e
[ "MIT" ]
1
2018-02-22T12:33:44.000Z
2018-02-22T12:33:44.000Z
patrones/structural/bridge.cpp
jrinconada/cpp-examples
069e3cc910b2c2d0716af36bef28336003fb6d9e
[ "MIT" ]
null
null
null
patrones/structural/bridge.cpp
jrinconada/cpp-examples
069e3cc910b2c2d0716af36bef28336003fb6d9e
[ "MIT" ]
null
null
null
#include <iostream> class Implementation { public: virtual void doSomething() = 0; }; // Clase instanciable que recibe una implemanción dependiente de la plataforma class ConcreteClass { Implementation* implementation; public: ConcreteClass(Implementation* i) { implementation = i; } void ...
24.297872
78
0.705779
jrinconada
a51ef308c2bf3f04366ea2bed7a5b7dc681f2fa4
1,416
cpp
C++
C++/74. SearchA2DMatrix.cpp
nizD/LeetCode-Solutions
7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349
[ "MIT" ]
263
2020-10-05T18:47:29.000Z
2022-03-31T19:44:46.000Z
C++/74. SearchA2DMatrix.cpp
nizD/LeetCode-Solutions
7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349
[ "MIT" ]
1,264
2020-10-05T18:13:05.000Z
2022-03-31T23:16:35.000Z
C++/74. SearchA2DMatrix.cpp
nizD/LeetCode-Solutions
7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349
[ "MIT" ]
760
2020-10-05T18:22:51.000Z
2022-03-29T06:06:20.000Z
/*Search a 2D Matrix */ /*PROBLEM STATEMENT*/ /* Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right. The first integer of each row is greater than the last integer of the previous row. */ /*EXAMPLES*...
27.230769
116
0.475282
nizD
a521854e66a9ea88f3402ad7657aa0d0c7c6aed9
1,162
cpp
C++
examples/contacts/server.cpp
CapacitorSet/FHE-tools
1271f2d65b3390c7156606b266b93c5d23ed398a
[ "Apache-2.0" ]
2
2018-08-28T04:50:57.000Z
2019-02-26T22:06:36.000Z
examples/contacts/server.cpp
CapacitorSet/Glovebox
1271f2d65b3390c7156606b266b93c5d23ed398a
[ "Apache-2.0" ]
null
null
null
examples/contacts/server.cpp
CapacitorSet/Glovebox
1271f2d65b3390c7156606b266b93c5d23ed398a
[ "Apache-2.0" ]
null
null
null
#include <cassert> #include <glovebox.h> #include <rpc/server.h> #include "contact.h" ServerParams server_params; Contact contacts[] = { {"", 504'305'6784}, {"", 208'348'4604}, {"", 713'729'7840}, {"", 714'543'1510}, {"", 907'553'8994}, {"", 704'551'2763}, {"", 172'265'8920}, {"", 583'642'3948}, {"", 754...
27.023256
83
0.63253
CapacitorSet
a5251d4419e9a4383d30f49455060579d6d13fa9
1,024
cpp
C++
tests/matrix_add.cpp
ivansipiran/numpyeigen
48c6ccc5724572c6107240fa472d3c1ff04d679d
[ "MIT" ]
75
2018-08-31T18:49:17.000Z
2022-02-12T11:25:00.000Z
tests/matrix_add.cpp
ivansipiran/numpyeigen
48c6ccc5724572c6107240fa472d3c1ff04d679d
[ "MIT" ]
54
2018-07-19T18:08:36.000Z
2022-01-04T15:30:52.000Z
tests/matrix_add.cpp
ivansipiran/numpyeigen
48c6ccc5724572c6107240fa472d3c1ff04d679d
[ "MIT" ]
9
2019-03-04T21:16:15.000Z
2021-10-16T10:02:34.000Z
#include <tuple> #include <Eigen/Core> #include <npe.h> npe_function(matrix_add) npe_arg(b, npe_matches(a)) npe_arg(a, dense_double, dense_float) npe_doc(R"(Add two matrices of the same type)") npe_begin_code() npe_Matrix_a ret1 = a + b; return npe::move(ret1); npe_end_code() npe_function(matrix_add2) n...
16.786885
60
0.722656
ivansipiran
a526ab9707f91ac116f7bc13791e36bdd4713fd8
1,854
cpp
C++
projectionSceneManager/src/SceneManager.cpp
c-c-c/gold-creative-coding
d7ccb5d5f706caafed27050a4c3a514c56a8230e
[ "MIT" ]
1
2020-04-25T06:34:59.000Z
2020-04-25T06:34:59.000Z
projectionSceneManager/src/SceneManager.cpp
c-c-c/gold-creative-coding-1
d7ccb5d5f706caafed27050a4c3a514c56a8230e
[ "MIT" ]
null
null
null
projectionSceneManager/src/SceneManager.cpp
c-c-c/gold-creative-coding-1
d7ccb5d5f706caafed27050a4c3a514c56a8230e
[ "MIT" ]
null
null
null
#include "SceneManager.h" //note: I could refactor in order to get rid of some of the repetition between the two functions void SceneManager::setup(string scenesFile, ofxPiMapper *_piMapper){ piMapper = _piMapper; if (result.open(scenesFile)){ cout << "file opened successfully" << endl; allowTr...
36.352941
121
0.587918
c-c-c
a5284c9bd4e06a506e701c1ad7a4c768efc359ef
7,079
cpp
C++
src/XliPlatform/android/EGLContext.cpp
fuse-open/uno-base
27e259c5ed34ccc68b39cb80fd9d02442ae3339e
[ "MIT" ]
4
2018-05-14T07:49:34.000Z
2018-05-21T06:40:17.000Z
src/XliPlatform/android/EGLContext.cpp
fuse-open/legacy-cpp-framework
27e259c5ed34ccc68b39cb80fd9d02442ae3339e
[ "MIT" ]
2
2018-10-21T12:40:49.000Z
2020-04-16T17:55:55.000Z
src/XliPlatform/android/EGLContext.cpp
fuse-open/legacy-cpp-framework
27e259c5ed34ccc68b39cb80fd9d02442ae3339e
[ "MIT" ]
4
2018-05-14T17:03:51.000Z
2018-12-01T08:05:02.000Z
#include <XliPlatform/GLContext.h> #include <uBase/Console.h> #include <uBase/Memory.h> #include <XliPlatform/Window.h> #include <EGL/egl.h> #include <uBase/Console.h> #include <stdlib.h> #include <string.h> #ifdef ANDROID # include <android/native_window.h> # define NATIVE_HANDLE ANativeWindow* #endif namespace Xli ...
33.549763
170
0.546546
fuse-open
a528872c16255febef74c6ee063d563f34fbccf5
4,455
cpp
C++
daemons/Proxy/src/session.cpp
SorcererX/SepiaStream
e8eccdb7019dd94e8585471535debf8bae1325f5
[ "BSD-2-Clause" ]
null
null
null
daemons/Proxy/src/session.cpp
SorcererX/SepiaStream
e8eccdb7019dd94e8585471535debf8bae1325f5
[ "BSD-2-Clause" ]
6
2015-03-11T06:18:26.000Z
2017-05-01T18:40:33.000Z
daemons/Proxy/src/session.cpp
SorcererX/SepiaStream
e8eccdb7019dd94e8585471535debf8bae1325f5
[ "BSD-2-Clause" ]
null
null
null
#include "session.h" #include "msgsocket.h" #include <sepia/comm/dispatcher.h> #include <sepia/comm/observer.h> #include <functional> using sepia::network::TcpSocket; Session::Session( int a_socket ) { m_socket = new MsgSocket( a_socket ); init(); } Session::Session( sepia::network::TcpSocket* a_socket ) { ...
32.282609
104
0.664198
SorcererX
a52a8ec1ee7e31a4c0a2c28d751dc92cfd425d40
9,770
cpp
C++
Question1/mainwindow.cpp
A-new-b/curriculum-design
f51d8fa999aea8860267035189459affb90e5cf3
[ "MIT" ]
null
null
null
Question1/mainwindow.cpp
A-new-b/curriculum-design
f51d8fa999aea8860267035189459affb90e5cf3
[ "MIT" ]
3
2020-04-18T14:53:16.000Z
2020-04-20T01:39:47.000Z
Question1/mainwindow.cpp
A-new-b/curriculum-design
f51d8fa999aea8860267035189459affb90e5cf3
[ "MIT" ]
1
2020-04-18T06:15:58.000Z
2020-04-18T06:15:58.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" #include "category.h" #include "goods_in.h" #include "goods_out.h" #include<QMessageBox> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); //给第一个table设置只允许单行选中且无法编辑 ui->category_table->verti...
35.787546
126
0.659058
A-new-b
a52b9c60f73b97b3e3b90e61ce4189b9f58f6652
1,055
cpp
C++
Practice/2019.3.17/CF908G.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2019.3.17/CF908G.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2019.3.17/CF908G.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<iostream> using namespace std; const int maxN=710; const int Mod=1e9+7; char Input[maxN]; int n,Num[maxN]; int F[maxN][maxN][10][2]; void Plus(int &x,int y); int main() { scanf("%s",Input+1); n=strlen(Input+1); reverse(&Input[1],&In...
22.446809
88
0.522275
SYCstudio
a52d059c158b63073d6ce9340b6d9dad008ac689
27,283
cpp
C++
ChineseChess/ChineseChess/Game.cpp
Zhang-Yu-Bo/Project01-ChineseChess
6daa4f2ad78bf572dbba3289eaa38ce9be3fece0
[ "MIT" ]
null
null
null
ChineseChess/ChineseChess/Game.cpp
Zhang-Yu-Bo/Project01-ChineseChess
6daa4f2ad78bf572dbba3289eaa38ce9be3fece0
[ "MIT" ]
null
null
null
ChineseChess/ChineseChess/Game.cpp
Zhang-Yu-Bo/Project01-ChineseChess
6daa4f2ad78bf572dbba3289eaa38ce9be3fece0
[ "MIT" ]
null
null
null
#include "Game.h" // 鍵盤掃描碼 // 上: 72 // 下: 80 // 左: 75 // 右: 77 // <: 44 // >: 46 // Enter: 13 // Esc: 27 // w 119 // a 97 // s 115 // d 100 // space 32 #ifdef _CONSOLE_INFO_HANDLE_ CONSOLE_CURSOR_INFO cci; HANDLE handle; COORD cursorPosition; #endif // _CONSOLE_INFO_HANDLE_ #ifdef _CHESS_CHINESE_ const ...
27.896728
124
0.522413
Zhang-Yu-Bo
a530377c182c648b4f103a69bfd5a4760224c725
6,966
cpp
C++
common/checks/check.cpp
ane-community/botan-crypto-ane
71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74
[ "MIT" ]
1
2018-03-09T20:21:47.000Z
2018-03-09T20:21:47.000Z
common/checks/check.cpp
ane-community/botan-crypto-ane
71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74
[ "MIT" ]
null
null
null
common/checks/check.cpp
ane-community/botan-crypto-ane
71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74
[ "MIT" ]
null
null
null
/* * (C) 2009 Jack Lloyd * * Distributed under the terms of the Botan license */ /* * Test Driver for Botan */ #include <vector> #include <string> #include <iostream> #include <cstdlib> #include <cstring> #include <exception> #include <limits> #include <memory> #include <botan/botan.h> #include <botan/libstate.h>...
27.317647
83
0.522394
ane-community
a5314f327ad9ee307932ed6002d2a2ae77ab8429
362
hpp
C++
addons/uh60_ui/uiConfig/turretInfo.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
14
2021-02-11T23:23:21.000Z
2021-09-08T05:36:47.000Z
addons/uh60_ui/uiConfig/turretInfo.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
130
2021-09-09T21:43:16.000Z
2022-03-30T09:00:37.000Z
addons/uh60_ui/uiConfig/turretInfo.hpp
ZHANGTIANYAO1/H-60
4c6764f74190dbe7d81ddeae746cf78d8b7dff92
[ "Naumen", "Condor-1.1", "MS-PL" ]
11
2021-02-18T19:55:51.000Z
2021-09-01T17:08:47.000Z
class RscUnitInfo; class Rsc_vtx_MELB_Turret_UnitInfo: RscUnitInfo { idd = 300; onLoad = "uiNamespace setVariable [""vtx_uh60_flir_ui"",(_this select 0)];['onLoad',_this,'RscUnitInfo','IGUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay');"; controls[] = {"MELB_GUI"}; class VScrollbar; class H...
32.909091
171
0.709945
ZHANGTIANYAO1
a537fe421f8d6aa904b9e1fa4bef55f9abcb2b30
4,774
cc
C++
paddle/memory/memory.cc
QingshuChen/Paddle
25a92be3e123ed21fd98c7be6bd7e3a6320756a3
[ "Apache-2.0" ]
null
null
null
paddle/memory/memory.cc
QingshuChen/Paddle
25a92be3e123ed21fd98c7be6bd7e3a6320756a3
[ "Apache-2.0" ]
9
2017-09-13T07:39:31.000Z
2017-10-18T05:58:23.000Z
paddle/memory/memory.cc
QingshuChen/Paddle
25a92be3e123ed21fd98c7be6bd7e3a6320756a3
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 ...
28.933333
76
0.679095
QingshuChen
a53a60e7797651a33dca80209ab89431f5f1b611
16,872
cpp
C++
PyQt6-6.0.0/qpy/QtCore/qpycore_types.cpp
sonerkcardak/python-detailed-assistant
161b82289c5ae7149fe638ba6a5192b6aa6833d8
[ "Apache-2.0" ]
null
null
null
PyQt6-6.0.0/qpy/QtCore/qpycore_types.cpp
sonerkcardak/python-detailed-assistant
161b82289c5ae7149fe638ba6a5192b6aa6833d8
[ "Apache-2.0" ]
null
null
null
PyQt6-6.0.0/qpy/QtCore/qpycore_types.cpp
sonerkcardak/python-detailed-assistant
161b82289c5ae7149fe638ba6a5192b6aa6833d8
[ "Apache-2.0" ]
null
null
null
// This contains the meta-type used by PyQt. // // Copyright (c) 2021 Riverbank Computing Limited <info@riverbankcomputing.com> // // This file is part of PyQt6. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in /...
32.137143
138
0.602655
sonerkcardak
a53a81743ea33f490a21605cd01d9d0f294e193e
285
cpp
C++
sum function.cpp
0ishita-jana/-dev-info-day1
e6053be728856b3a92d3137bdfd30e16700f7d06
[ "MIT" ]
null
null
null
sum function.cpp
0ishita-jana/-dev-info-day1
e6053be728856b3a92d3137bdfd30e16700f7d06
[ "MIT" ]
null
null
null
sum function.cpp
0ishita-jana/-dev-info-day1
e6053be728856b3a92d3137bdfd30e16700f7d06
[ "MIT" ]
null
null
null
#include<stdio.h> #include<conio.h> int sum(); int main() { int a; a=sum(); printf("%d",a); getch(); } int sum() { int i=1,n=5,l=0; while(i<=n) { int j=i; int s=1; while(j!=0) { s=s*j; j--; } l=l+s+i; i++; } return l; }
8.382353
18
0.403509
0ishita-jana
a53b495230a4de07c222c5aaaa99bf8cb5368f54
3,009
cpp
C++
examples/example6/example6.cpp
jonaslindemann/ivf2
67bee6c36b5824d045957ea2b223bc0595d59b47
[ "MIT" ]
1
2021-09-12T12:10:19.000Z
2021-09-12T12:10:19.000Z
examples/example6/example6.cpp
jonaslindemann/ivf2
67bee6c36b5824d045957ea2b223bc0595d59b47
[ "MIT" ]
null
null
null
examples/example6/example6.cpp
jonaslindemann/ivf2
67bee6c36b5824d045957ea2b223bc0595d59b47
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <vector> #include <string> #include <map> #include <imgui.h> #include <imgui_impl_glfw.h> #include <imgui_impl_opengl3.h> #include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <ivf/gl.h> #include <ivf/nodes.h> #include <ivf/ui.h> #include "te...
20.895833
86
0.683948
jonaslindemann
a53e1c0410c4143ce59c0642900ce1202c046dfb
1,830
cpp
C++
tools/paint/mymanipulatedframe.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
118
2016-11-01T06:01:44.000Z
2022-03-30T05:20:19.000Z
tools/paint/mymanipulatedframe.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
56
2016-09-30T09:29:36.000Z
2022-03-31T17:15:32.000Z
tools/paint/mymanipulatedframe.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
28
2016-07-31T23:48:51.000Z
2021-05-25T05:32:47.000Z
#include "mymanipulatedframe.h" MyManipulatedFrame::MyManipulatedFrame() { m_threshold = 20; m_keepsGrabbingMouse = false; m_onlyRotate = false; m_onlyTranslate = false; } int MyManipulatedFrame::threshold() { return m_threshold; } bool MyManipulatedFrame::onlyRotate() { return m_onlyRotate; } bool MyManipula...
23.766234
68
0.730055
shouhengli
a542fba1d0b39e9c3c9f9c16078c711aac1ea7b0
11,588
cpp
C++
jblib/jreadhdr.cpp
neoflame99/jbmat
cec3102d8a1685d8cff6b83b122b895f0aaa78c7
[ "MIT" ]
null
null
null
jblib/jreadhdr.cpp
neoflame99/jbmat
cec3102d8a1685d8cff6b83b122b895f0aaa78c7
[ "MIT" ]
null
null
null
jblib/jreadhdr.cpp
neoflame99/jbmat
cec3102d8a1685d8cff6b83b122b895f0aaa78c7
[ "MIT" ]
null
null
null
#include "jreadhdr.h" #include <QByteArray> #include <stdio.h> #include <QRegExp> #include <QStringList> #include <math.h> double rgb2xyz_bt709[3][3] = { {0.4124564, 0.3575761, 0.1804375}, {0.2126729, 0.7151522, 0.0721750}, {0.0193339, 0.1191920, 0.9...
32.01105
115
0.437608
neoflame99
a542feffb4350fb313cc312173ad4bfca190f17e
8,272
cpp
C++
frameworks/core/components/transform/transform_component.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/core/components/transform/transform_component.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/core/components/transform/transform_component.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
1
2021-09-13T11:17:50.000Z
2021-09-13T11:17:50.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
34.756303
114
0.741417
openharmony-gitee-mirror
a54488a6e69fa8684cd5f54150f4b0f5c88ba363
4,095
cpp
C++
src/gui_statusbar_glues.cpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
50
2015-01-15T10:00:31.000Z
2022-02-04T20:45:25.000Z
src/gui_statusbar_glues.cpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
88
2020-03-15T17:40:04.000Z
2022-03-15T08:21:44.000Z
src/gui_statusbar_glues.cpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
19
2017-03-11T04:32:01.000Z
2022-01-12T22:47:12.000Z
#include "lxgui/gui_statusbar.hpp" #include "lxgui/gui_uiobject_tpl.hpp" #include "lxgui/gui_texture.hpp" #include "lxgui/gui_out.hpp" #include <sol/state.hpp> /** A @{Frame} representing a variable-length bar. * This frame has three main properties: a minimum value, a * maximum value, and a current va...
33.842975
110
0.659829
cschreib
a544e9ad39cd908fde483289df4167d2edddca6d
972
cpp
C++
src/AnalysisObjectives.cpp
ClaudeTO80/Opti_plus_plus
772bdce297f2b52455ba483b747890362d97beb4
[ "MIT" ]
4
2020-02-03T17:05:24.000Z
2022-01-25T23:02:40.000Z
src/AnalysisObjectives.cpp
ClaudeTO80/Opti_plus_plus
772bdce297f2b52455ba483b747890362d97beb4
[ "MIT" ]
null
null
null
src/AnalysisObjectives.cpp
ClaudeTO80/Opti_plus_plus
772bdce297f2b52455ba483b747890362d97beb4
[ "MIT" ]
null
null
null
#include "AnalysisObjectives.h" using namespace std; using namespace AnalysisGenerator; AnalysisObjective::AnalysisObjective(std::string name, ObjDir dir) : name_(name), dir_(dir) {} shared_ptr<AnalysisObjective> AnalysisObjectiveCreator::createObjective(const std::string& name, AnalysisObjective::ObjDir dir)...
28.588235
128
0.736626
ClaudeTO80
a5482ecd6f15484c0646051790c2926ba9272ece
4,374
cpp
C++
demogl/cpp/DemoGL/dgl_dllfifoqueue.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
demogl/cpp/DemoGL/dgl_dllfifoqueue.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
demogl/cpp/DemoGL/dgl_dllfifoqueue.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// File: dgl_dllfifoqueue.cpp. // Purpose: implements first in first out queue for prepare thread -> main system communication ////////////////////////////////////////////////////////////////////// // Part of DemoGL Demo System sourcecode. See version information ///////////////////////////////////////////////////...
28.588235
121
0.60128
tharindusathis
a54951c18e2dda94bb3a5e8d8ddf2b89a10d51f3
2,481
cpp
C++
app/src/main/cpp/fire/util/data_texture_pair.cpp
Schitrus/DATX02-20-21
4f0beb6a85ce2ed71875df2277f8c4b80214ebd9
[ "MIT" ]
1
2020-02-20T11:41:43.000Z
2020-02-20T11:41:43.000Z
app/src/main/cpp/fire/util/data_texture_pair.cpp
Schitrus/DATX02-20-21
4f0beb6a85ce2ed71875df2277f8c4b80214ebd9
[ "MIT" ]
null
null
null
app/src/main/cpp/fire/util/data_texture_pair.cpp
Schitrus/DATX02-20-21
4f0beb6a85ce2ed71875df2277f8c4b80214ebd9
[ "MIT" ]
null
null
null
// // Created by kirderf1 on 2020-03-29. // #include "data_texture_pair.h" #include <GLES3/gl31.h> #include <glm/glm.hpp> #include "helper.h" #include <android/log.h> #define LOG_TAG "Texture" #define LOG_ERROR(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) #define LOG_INFO(...) __android_log_p...
25.84375
93
0.733575
Schitrus
a54cee761f904d97b71ba919b71baee4fb3c2c00
1,097
cc
C++
Codeforces/FoxAndNumberGame.cc
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
Codeforces/FoxAndNumberGame.cc
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
Codeforces/FoxAndNumberGame.cc
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <bits/stdc++.h> template<typename T> T gcd(T a, T b) { if(!b) return a; return gcd(b, a % b); } template<typename T> T lcm(T a, T b) { return a * b / gcd(a, b); } template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; } template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; ...
15.236111
67
0.476755
aajjbb
a55313589a98eb526c9f9f72ef333bed0fae44b6
4,837
cpp
C++
src/qt/messagedialog/usersmodel.cpp
xeddmc/blocknet
540e6ca201b2487d952c9ed6f514668d8d3773dc
[ "MIT" ]
38
2015-01-09T17:32:28.000Z
2021-11-20T17:46:55.000Z
src/qt/messagedialog/usersmodel.cpp
xeddmc/blocknet
540e6ca201b2487d952c9ed6f514668d8d3773dc
[ "MIT" ]
4
2021-11-20T17:47:09.000Z
2021-11-22T05:21:12.000Z
src/qt/messagedialog/usersmodel.cpp
xeddmc/blocknet
540e6ca201b2487d952c9ed6f514668d8d3773dc
[ "MIT" ]
12
2015-02-10T10:34:12.000Z
2019-01-01T06:31:08.000Z
//***************************************************************************** //***************************************************************************** #include "usersmodel.h" #include "../addresstablemodel.h" #include <QDebug> //***************************************************************************** /...
31.206452
99
0.384743
xeddmc
a5553163ded35aa3cc3497238a9ebf2fd59c176c
1,176
cxx
C++
Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmDeltaEncodingCodec.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
945
2015-01-09T00:43:52.000Z
2022-03-30T08:23:02.000Z
Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmDeltaEncodingCodec.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
2,354
2015-02-04T21:54:21.000Z
2022-03-31T20:58:21.000Z
Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmDeltaEncodingCodec.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
566
2015-01-04T14:26:57.000Z
2022-03-18T20:33:18.000Z
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed WITHOUT A...
23.058824
78
0.655612
arobert01
a2228f04c89d1d6c359f7ecb71eff33d321773af
18,931
cpp
C++
libS3ORAM/ServerKaryS3ORAMO.cpp
thanghoang/libS3ORAM
7f180637902dadaf053642761dee0d891fc4d20e
[ "MIT" ]
5
2018-12-31T14:09:34.000Z
2020-02-22T17:13:10.000Z
libS3ORAM/ServerKaryS3ORAMO.cpp
thanghoang/libS3ORAM
7f180637902dadaf053642761dee0d891fc4d20e
[ "MIT" ]
null
null
null
libS3ORAM/ServerKaryS3ORAMO.cpp
thanghoang/libS3ORAM
7f180637902dadaf053642761dee0d891fc4d20e
[ "MIT" ]
null
null
null
/* * ServerKaryS3ORAMO.cpp * * Created on: Apr 7, 2017 * Author: ceyhunozkaptan, thanghoang */ #include "ServerKaryS3ORAMO.hpp" #include "Utils.hpp" #include "S3ORAM.hpp" #include "struct_socket.h" #include "struct_thread_computation.h" #include "struct_thread_loadData.h" ServerKaryS3ORAMO::ServerKaryS3OR...
35.651601
169
0.597116
thanghoang
a22290fddb9ea71fa1b16c28e9e5da5f5677d9e2
369
hpp
C++
src/sn_String/repl.hpp
Airtnp/SuperNaiveCppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
4
2017-04-01T08:09:09.000Z
2017-05-20T11:35:58.000Z
src/sn_String/repl.hpp
Airtnp/ACppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
null
null
null
src/sn_String/repl.hpp
Airtnp/ACppLib
0745aa79dc5060cd0f7025658164374b991c698e
[ "MIT" ]
null
null
null
#ifndef SN_STRING_REPL_H #define SN_STRING_REPL_H #include "../sn_CommonHeader.h" namespace sn_String { namespace repl { using std::to_string; std::string to_string(std::string input) { return input; } std::string to_string(char* input) { return static_cast...
17.571429
51
0.598916
Airtnp
a224e3e3f9e25e0a2cd4bf69147bc092a6f03f35
318
hpp
C++
logos/wallet_server/client/common.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
3
2020-01-17T18:05:19.000Z
2021-12-29T04:21:59.000Z
logos/wallet_server/client/common.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
null
null
null
logos/wallet_server/client/common.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
2
2020-12-22T05:51:53.000Z
2021-06-08T00:27:46.000Z
#pragma once #include <unordered_map> class CallbackHandler; namespace wallet_server { namespace client { namespace callback { using Handlers = std::unordered_map<uint64_t, CallbackHandler>; using Handle = uint64_t; } // namespace callback } // namespace client } // namespace wallet_server
18.705882
67
0.720126
LogosNetwork
a225ada3b7f81a0ca2a3014f00b7b50108fcb5a8
1,540
cpp
C++
linked-list/segregate-0-1-2.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
linked-list/segregate-0-1-2.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
linked-list/segregate-0-1-2.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct Node { int data; Node *next; } *head = nullptr, *last = nullptr; Node *segregate(Node *head) { Node *node = head; Node *head0 = nullptr, *tail0 = nullptr, *head1 = nullptr; Node *tail1 = nullptr, *head2 = nullptr, ...
20
63
0.352597
Strider-7
a2293b8a02491edb73d52aa3ebec1bc41d29c8ed
35,830
cpp
C++
src/autowiring/test/AutoFilterTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
src/autowiring/test/AutoFilterTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
src/autowiring/test/AutoFilterTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "TestFixtures/Decoration.hpp" #include <autowiring/AutoPacket.h> #include <autowiring/AutoPacketFactory.h> #include <autowiring/Deferred.h> #include <autowiring/demangle.h> #include <autowiring/ObjectPool.h> #include <autowir...
38.279915
161
0.722774
CaseyCarter
a2339e6b518f5c9cf9a29c9434bcd9c43151743d
670
cpp
C++
3750/6647062_AC_0MS_168K.cpp
vandreas19/POJ_sol
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
18
2017-08-14T07:34:42.000Z
2022-01-29T14:20:29.000Z
3750/6647062_AC_0MS_168K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
null
null
null
3750/6647062_AC_0MS_168K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
14
2016-12-21T23:37:22.000Z
2021-07-24T09:38:57.000Z
#include<cstdio> const int CHILD_NUM_MAX=64,NAME_LEN_MAX=15; int main(){ int childNum; scanf("%d",&childNum); char names[CHILD_NUM_MAX][NAME_LEN_MAX+1]; for(int childID=0;childID<childNum;childID++) scanf("%s",names+childID); int begin,outCount; scanf("%d,%d",&begin,&outCount); begin--; bool ou...
21.612903
64
0.634328
vandreas19
a2344ba9a28558705686dbb204bba6446393466b
300
hpp
C++
Inchworm/src/stacktrace.hpp
tomas-pluskal/trinityrnaseq
1d079c12c29b7c2257b5e859f830f88ccb479af5
[ "BSD-3-Clause" ]
4
2019-01-16T12:05:05.000Z
2021-11-17T08:38:21.000Z
Inchworm/src/stacktrace.hpp
tomas-pluskal/trinityrnaseq
1d079c12c29b7c2257b5e859f830f88ccb479af5
[ "BSD-3-Clause" ]
1
2021-11-27T03:36:45.000Z
2021-11-29T14:13:14.000Z
Inchworm/src/stacktrace.hpp
tomas-pluskal/trinityrnaseq
1d079c12c29b7c2257b5e859f830f88ccb479af5
[ "BSD-3-Clause" ]
7
2015-03-24T14:23:58.000Z
2020-01-15T16:54:10.000Z
#ifndef __STACKTRACE__ #define __STACKTRACE__ #include <string> using namespace std; /* based on article described here: http://www.linuxjournal.com/article/6391 Stack Backtracing Inside Your Program Aug 11, 2003 By Gianluca Insolvibile Linux Journal */ string stacktrace(); #endif
15.789474
43
0.753333
tomas-pluskal
a23557b9ce6f886dfe97a8aa5ed9e6ef7f92a7ce
11,660
cpp
C++
tests/mock_zookeeper.cpp
Morgan-Stanley/treadmill-runtime
5907a65ad4dcee3af67aa69c2cbd54cc6a0fe82f
[ "Apache-2.0" ]
null
null
null
tests/mock_zookeeper.cpp
Morgan-Stanley/treadmill-runtime
5907a65ad4dcee3af67aa69c2cbd54cc6a0fe82f
[ "Apache-2.0" ]
null
null
null
tests/mock_zookeeper.cpp
Morgan-Stanley/treadmill-runtime
5907a65ad4dcee3af67aa69c2cbd54cc6a0fe82f
[ "Apache-2.0" ]
null
null
null
#include "mock_zookeeper.h" #include <fstream> #include <future> #include <iostream> #include <sstream> #include <strings.h> #include <treadmill/fs.h> using namespace treadmill::test; namespace fs = std::filesystem; extern "C" { /* zookeeper state constants */ const int ZOO_EXPIRED_SESSION_STATE = -112; const int...
31.857923
80
0.648285
Morgan-Stanley
a23679d9bf7279586b531f6bff1397d66a2f299d
510
cpp
C++
moses/moses-cmd/Client.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-01-25T00:51:56.000Z
2022-01-07T15:09:38.000Z
moses/moses-cmd/Client.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
1
2020-06-23T08:29:09.000Z
2020-06-24T12:11:47.000Z
moses/moses-cmd/Client.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-06-08T08:36:27.000Z
2021-12-26T20:36:16.000Z
#include "tbench_client.h" #include <cstring> #include <string> /******************************************************************************* * Tailbench client api implementation *******************************************************************************/ void tBenchClientInit() { } size_t tBenchClientGenR...
25.5
81
0.472549
anshsarkar
a236c906e4d55984af889f4b1ffca537d0e8a757
2,579
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/coreplugin/shellcommand.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/plugins/coreplugin/shellcommand.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/coreplugin/shellcommand.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 Brian McGillion and Hugues Delorme ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ...
36.323944
101
0.663048
kevinlq
a237191b34e80fbdd2a8b3b89935d6eeb3e66fde
1,861
cpp
C++
src/triangle.cpp
matheusportela/black-hole-ray-tracer
3a7f1a32d6d44f74278b721e1f49e11b8a9ad86e
[ "MIT" ]
null
null
null
src/triangle.cpp
matheusportela/black-hole-ray-tracer
3a7f1a32d6d44f74278b721e1f49e11b8a9ad86e
[ "MIT" ]
null
null
null
src/triangle.cpp
matheusportela/black-hole-ray-tracer
3a7f1a32d6d44f74278b721e1f49e11b8a9ad86e
[ "MIT" ]
null
null
null
#include "triangle.hpp" Triangle::Triangle(Eigen::Vector4d p1, Eigen::Vector4d p2, Eigen::Vector4d p3) : p1(p1), p2(p2), p3(p3) {} std::string Triangle::getType() { return "triangle"; } double Triangle::calculateIntersectionTime(Ray ray) { auto rayDirection = ray.getDirection(); auto rayPosition = ray.ge...
24.813333
106
0.540032
matheusportela
a23a874d99841e458aaf60d5a4c2683b5895d6c3
433
hpp
C++
metric/n-api/crossfilter/convert.hpp
Stepka/telegram_clustering_contest
52a012af2ce821410caa98cba840364710eb4256
[ "Apache-2.0" ]
2
2019-12-03T17:08:04.000Z
2021-08-25T05:06:29.000Z
metric/n-api/crossfilter/convert.hpp
Stepka/telegram_clustering_contest
52a012af2ce821410caa98cba840364710eb4256
[ "Apache-2.0" ]
1
2021-09-02T02:25:51.000Z
2021-09-02T02:25:51.000Z
metric/n-api/crossfilter/convert.hpp
Stepka/telegram_clustering_contest
52a012af2ce821410caa98cba840364710eb4256
[ "Apache-2.0" ]
null
null
null
#ifndef CONVERT_H_GUARD #define CONVERT_H_GUARD /* 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/. Copyright (c) 2019 Panda Team */ template <typename T> T convert_t...
24.055556
69
0.743649
Stepka
a2425b5bb8a1b03880727c0d4860d0d345dac0c2
9,842
cpp
C++
src/TankController.cpp
jgfoster/Open_Acidification_pH-stat_arduino
b4d880e0f02c659af4ef2963c1ec11a7885e301e
[ "MIT" ]
4
2019-11-07T17:51:20.000Z
2020-08-27T05:00:43.000Z
src/TankController.cpp
jgfoster/Open_Acidification_pH-stat_arduino
b4d880e0f02c659af4ef2963c1ec11a7885e301e
[ "MIT" ]
34
2020-04-23T16:48:12.000Z
2020-09-13T19:48:56.000Z
src/TankController.cpp
jgfoster/Open_Acidification_pH-stat_arduino
b4d880e0f02c659af4ef2963c1ec11a7885e301e
[ "MIT" ]
12
2019-11-07T17:51:14.000Z
2020-09-21T16:06:15.000Z
#include "TankController.h" #include <avr/wdt.h> #include <stdlib.h> #include "Devices/DateTime_TC.h" #include "Devices/EEPROM_TC.h" #include "Devices/EthernetServer_TC.h" #include "Devices/Ethernet_TC.h" #include "Devices/Keypad_TC.h" #include "Devices/LiquidCrystal_TC.h" #include "Devices/PHControl.h" #include "Dev...
32.268852
116
0.663585
jgfoster
a244c47c7fd2b438d8f7347c73a8d06518dafd92
3,019
cpp
C++
Operations/mafOpCreateMeter.cpp
FusionBox2/MAF2
b576955f4f6b954467021f12baedfebcaf79a382
[ "Apache-2.0" ]
1
2018-01-23T09:13:40.000Z
2018-01-23T09:13:40.000Z
Operations/mafOpCreateMeter.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
null
null
null
Operations/mafOpCreateMeter.cpp
gradicosmo/MAF2
86ddf1f52a2de4479c09fd3f43dc321ff412af42
[ "Apache-2.0" ]
3
2020-09-24T16:04:53.000Z
2020-09-24T16:50:30.000Z
/*========================================================================= Program: MAF2 Module: mafOpCreateMeter Authors: Paolo Quadrani Copyright (c) B3C All rights reserved. See Copyright.txt or http://www.scsitaly.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without ...
36.817073
78
0.356409
FusionBox2
a2462875ea82351ccbadd2ad9f9c0f02f6cc1def
15
cpp
C++
Minecraft/src/MC.cpp
Zubairch/Minecraft
70a8449778560b0280b97e45d5e3d317846e0d6c
[ "MIT" ]
null
null
null
Minecraft/src/MC.cpp
Zubairch/Minecraft
70a8449778560b0280b97e45d5e3d317846e0d6c
[ "MIT" ]
null
null
null
Minecraft/src/MC.cpp
Zubairch/Minecraft
70a8449778560b0280b97e45d5e3d317846e0d6c
[ "MIT" ]
null
null
null
#include "MC.h"
15
15
0.666667
Zubairch
a2484585c07b25a364033c6bed33f319678298fb
1,298
cpp
C++
smtp/src/SmtpConfig.cpp
webOS-ports/mojomail
49358ac2878e010f5c6e3bd962f047c476c11fc3
[ "Apache-2.0" ]
6
2015-01-09T02:20:27.000Z
2021-01-02T08:14:23.000Z
mojomail/smtp/src/SmtpConfig.cpp
openwebos/app-services
021d509d609fce0cb41a0e562650bdd1f3bf4e32
[ "Apache-2.0" ]
3
2019-05-11T19:17:56.000Z
2021-11-24T16:04:36.000Z
mojomail/smtp/src/SmtpConfig.cpp
openwebos/app-services
021d509d609fce0cb41a0e562650bdd1f3bf4e32
[ "Apache-2.0" ]
6
2015-01-09T02:21:13.000Z
2021-01-02T02:37:10.000Z
// @@@LICENSE // // Copyright (c) 2010-2013 LG Electronics, 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 require...
24.961538
111
0.728043
webOS-ports
a2495a14ab5492495833a225fd1f9a7f33faa546
304
cpp
C++
aoj/ITP1/ITP1D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
aoj/ITP1/ITP1D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
aoj/ITP1/ITP1D/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); int S; cin >> S; int h, m, s; s = S % 60; S /= 60; m = S % 60; S /= 60; h = S; cout << h << ":" << m << ":" << s << endl; return 0; }
14.47619
46
0.430921
xirc
a24a9f70ab83e089691c0abe3fa07633dc20be9f
4,076
cpp
C++
ace/tao/orbsvcs/orbsvcs/Event/GPlot_File.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
ace/tao/orbsvcs/orbsvcs/Event/GPlot_File.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tao/orbsvcs/orbsvcs/Event/GPlot_File.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// GPlot_File.cpp,v 1.2 1998/08/03 18:59:00 gonzo Exp // // ============================================================================ // // = FILENAME // GPlot_File.cpp // // = AUTHOR // Tim Harrison // // ============================================================================ #include "GPlot...
22.395604
83
0.584396
tharindusathis
a24b3658bcf512f1597ec16c0e7844fec0a2645b
8,092
cpp
C++
Framewave/domain/fwSignal/src/SubC.cpp
dbremner/framewave
94babe445689538e6c3b44b1575cca27893b9bb4
[ "Apache-2.0" ]
null
null
null
Framewave/domain/fwSignal/src/SubC.cpp
dbremner/framewave
94babe445689538e6c3b44b1575cca27893b9bb4
[ "Apache-2.0" ]
1
2019-01-14T04:00:23.000Z
2019-01-14T04:00:23.000Z
Framewave/domain/fwSignal/src/SubC.cpp
dbremner/framewave
94babe445689538e6c3b44b1575cca27893b9bb4
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2006-2009 Advanced Micro Devices, Inc. All Rights Reserved. This software is subject to the Apache v2.0 License. */ #include "Arithmetic/Def/SubDef.h" #include "fwSignal.h" using namespace OPT_LEVEL; // SUBC FwStatus PREFIX_OPT(OPT_PREFIX, fwsSubC_32f )(const Fw32f* pSrc, Fw32f val, ...
40.868687
125
0.616164
dbremner
a24d937339866c2f4df4ae1c7cc203f62b82ceac
3,137
cpp
C++
test/test_com/testTableInfo.cpp
yiliangwu880/CppDbProxy
05015730b9877003ef22f281a30cb80bed8dbf27
[ "BSD-3-Clause" ]
null
null
null
test/test_com/testTableInfo.cpp
yiliangwu880/CppDbProxy
05015730b9877003ef22f281a30cb80bed8dbf27
[ "BSD-3-Clause" ]
null
null
null
test/test_com/testTableInfo.cpp
yiliangwu880/CppDbProxy
05015730b9877003ef22f281a30cb80bed8dbf27
[ "BSD-3-Clause" ]
null
null
null
/* brief: use example and test code */ #include "../com/unit_test.h" #include <functional> #include <limits> #include <queue> #include <string> #include <vector> #include <map> #include <unordered_map> #include "function_traits.h" #include "db_driver/include/db_driver.h" #include "external/svr_util/include...
29.87619
68
0.656678
yiliangwu880
a2504912123affb210563bd4316776dc63887f0a
1,355
cpp
C++
Tests/base/test_ThreadPool.cpp
dingjiefeng/selfServer
b1d496c855aaa3758034167dc4477595ae789f85
[ "MIT" ]
null
null
null
Tests/base/test_ThreadPool.cpp
dingjiefeng/selfServer
b1d496c855aaa3758034167dc4477595ae789f85
[ "MIT" ]
null
null
null
Tests/base/test_ThreadPool.cpp
dingjiefeng/selfServer
b1d496c855aaa3758034167dc4477595ae789f85
[ "MIT" ]
null
null
null
// // Created by jeff on 18-6-6. // #include "gtest/gtest.h" #include "gmock/gmock.h" #include "../../server/base/ThreadPool.h" using namespace selfServer; using testing::Eq; class TestThreadPool : public testing::Test { public: TestThreadPool() = default; }; TEST_F(TestThreadPool, demo) { std::mutex mtx; ...
25.092593
86
0.44059
dingjiefeng
a253125810b7816f159163747cfa0c3634181537
3,299
cpp
C++
src/gui_status.cpp
rogerdahl/striprouter
0d18d95794f4ec362359c0d1e40c3762d2c2b3a3
[ "MIT" ]
16
2016-11-16T18:19:17.000Z
2022-01-20T21:45:48.000Z
src/gui_status.cpp
rogerdahl/striprouter
0d18d95794f4ec362359c0d1e40c3762d2c2b3a3
[ "MIT" ]
6
2017-09-05T18:57:06.000Z
2022-03-29T15:22:36.000Z
src/gui_status.cpp
rogerdahl/striprouter
0d18d95794f4ec362359c0d1e40c3762d2c2b3a3
[ "MIT" ]
5
2017-10-04T00:43:25.000Z
2022-03-29T15:01:33.000Z
#include <fmt/format.h> #include "gui_status.h" #include "via.h" GuiStatus::GuiStatus() { reset(); } GuiStatus::~GuiStatus() { } void GuiStatus::reset() { msPerFrame = 0.0f; nCombinationsChecked = 0; nCheckedPerSec = 0.0f; nCurrentCompletedRoutes = 0; nCurrentFailedRoutes = 0.0; currentCost = 0; ...
23.733813
79
0.691725
rogerdahl
a2549af421338315ea530fab11cc1be7829ddbd1
8,243
cpp
C++
src/Providers/UNIXProviders/NFS/UNIX_NFSProvider.cpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/NFS/UNIX_NFSProvider.cpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/NFS/UNIX_NFSProvider.cpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
32.840637
85
0.70023
brunolauze
a25887dcc9aab4ba6bd50a9afca7765d6a6049d3
18,102
cpp
C++
src/cpp/jail/resonanceDecay/functions.cpp
dereksoeder/iS3D
27fed56d697f8e4a0e08fa9cb261436f4a7c7f8c
[ "MIT" ]
1
2022-02-08T21:26:12.000Z
2022-02-08T21:26:12.000Z
src/cpp/jail/resonanceDecay/functions.cpp
dereksoeder/iS3D
27fed56d697f8e4a0e08fa9cb261436f4a7c7f8c
[ "MIT" ]
13
2018-06-13T19:29:07.000Z
2021-02-07T04:29:10.000Z
src/cpp/jail/resonanceDecay/functions.cpp
dereksoeder/iS3D
27fed56d697f8e4a0e08fa9cb261436f4a7c7f8c
[ "MIT" ]
7
2018-04-11T01:56:22.000Z
2021-07-09T23:00:21.000Z
/* functions.c functions for reso.c main program calculations * Josef Sollfrank Nov. .98 */ // Commented and adjusted by Evan Frodermann, Aug 2005 #include <string.h> #include <stdio.h> #include <math.h> #include <stdlib.h> #include <iostream> #include "Table.h" ...
39.266811
149
0.547011
dereksoeder
a25ac13369dbdab79dee4c7dd3e0c174b7850163
133
cpp
C++
src/ambient_light.cpp
movhex/raytracer
7ce364f5dcc829ac54c81edeee520dabc916c6d8
[ "BSD-2-Clause" ]
2
2021-11-29T10:59:06.000Z
2021-11-29T21:26:21.000Z
src/ambient_light.cpp
movhex/raytracer
7ce364f5dcc829ac54c81edeee520dabc916c6d8
[ "BSD-2-Clause" ]
null
null
null
src/ambient_light.cpp
movhex/raytracer
7ce364f5dcc829ac54c81edeee520dabc916c6d8
[ "BSD-2-Clause" ]
null
null
null
#if !defined(HAVE_CUDA) #include "ambient_light.h" #define INCLUDE_IMPLEMENTATION_FILE #include "ambient_light_cpu_impl.h" #endif
14.777778
35
0.804511
movhex
a25bd6c471767f7fa20450c11f755abba3a33e9c
4,771
cpp
C++
Sources/Elastos/LibCore/src/org/apache/harmony/security/asn1/CASN1Implicit.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/src/org/apache/harmony/security/asn1/CASN1Implicit.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/org/apache/harmony/security/asn1/CASN1Implicit.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
30.196203
89
0.632362
jingcao80
a260c839cb9be1166f3047b2a461563650b58afe
12,284
cpp
C++
CPP/Shared/DistancePrintingPolicy.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
6
2015-12-01T01:12:33.000Z
2021-07-24T09:02:34.000Z
CPP/Shared/DistancePrintingPolicy.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
null
null
null
CPP/Shared/DistancePrintingPolicy.cpp
wayfinder/Wayfinder-S60-Navigator
14d1b729b2cea52f726874687e78f17492949585
[ "BSD-3-Clause" ]
2
2017-02-02T19:31:29.000Z
2018-12-17T21:00:45.000Z
/* 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...
35.918129
758
0.684142
wayfinder
a2612b17054fc8a74bdfb93224a4b8338badb8de
688
cpp
C++
Source/SimpleShooter/BTTask_Shoot.cpp
scarriere/udemy-simple-shooter
04cf7217ae2f3b48daef391622fa0ab86a5f7f33
[ "MIT" ]
null
null
null
Source/SimpleShooter/BTTask_Shoot.cpp
scarriere/udemy-simple-shooter
04cf7217ae2f3b48daef391622fa0ab86a5f7f33
[ "MIT" ]
null
null
null
Source/SimpleShooter/BTTask_Shoot.cpp
scarriere/udemy-simple-shooter
04cf7217ae2f3b48daef391622fa0ab86a5f7f33
[ "MIT" ]
null
null
null
// // Copyright Samuel Carriere 2020 #include "BTTask_Shoot.h" #include "ShooterCharacter.h" #include "AIController.h" #include "BehaviorTree/BehaviorTreeComponent.h" UBTTask_Shoot::UBTTask_Shoot() { NodeName = TEXT("Shoot"); } EBTNodeResult::Type UBTTask_Shoot::ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8...
25.481481
100
0.777616
scarriere
a2638e9d4a3b0f639c6cea0cc8c39cb32502f8b6
2,667
cpp
C++
src/GUI_Alert.cpp
paracelso93/GiocoDeiPianeti
271d108d4516f1cc545f846c87808bb698f5c3bd
[ "MIT" ]
null
null
null
src/GUI_Alert.cpp
paracelso93/GiocoDeiPianeti
271d108d4516f1cc545f846c87808bb698f5c3bd
[ "MIT" ]
null
null
null
src/GUI_Alert.cpp
paracelso93/GiocoDeiPianeti
271d108d4516f1cc545f846c87808bb698f5c3bd
[ "MIT" ]
null
null
null
#include "GUI_Alert.h" bool GUI_Alert::mVisible = false; GUI_Panel GUI_Alert::mBackground = GUI_Panel(); GUI_Label GUI_Alert::mTitleLabel = GUI_Label(); GUI_Label GUI_Alert::mTextLabel = GUI_Label(); sf::Font GUI_Alert::mFont = sf::Font(); int GUI_Alert::mButtonNumber = 0; std::vector<GUI_Button *> GUI_Alert::mButton...
37.041667
207
0.55943
paracelso93
a26705701a20242856d870278c60e3ab604e2eba
2,370
cpp
C++
plugins/common/util/PluginConf.cpp
webosose/webos-fluentbit-plugins
d9cf42f32c403f1d4865c104c1d24ab4b46dd6fa
[ "Apache-2.0" ]
null
null
null
plugins/common/util/PluginConf.cpp
webosose/webos-fluentbit-plugins
d9cf42f32c403f1d4865c104c1d24ab4b46dd6fa
[ "Apache-2.0" ]
null
null
null
plugins/common/util/PluginConf.cpp
webosose/webos-fluentbit-plugins
d9cf42f32c403f1d4865c104c1d24ab4b46dd6fa
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 LG Electronics, 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 agre...
31.184211
106
0.681435
webosose
a26ac8f52cb6242b7cb68ca27beae236bd78d3bd
3,377
cpp
C++
sources/rotationToSliderNode.cpp
jpasserin/harbieNodes
a78823869dd79b9f465f14fe07bfc91ca1850a7b
[ "MIT" ]
5
2021-12-15T08:50:57.000Z
2022-01-26T16:01:08.000Z
sources/rotationToSliderNode.cpp
jpasserin/harbieNodes
a78823869dd79b9f465f14fe07bfc91ca1850a7b
[ "MIT" ]
null
null
null
sources/rotationToSliderNode.cpp
jpasserin/harbieNodes
a78823869dd79b9f465f14fe07bfc91ca1850a7b
[ "MIT" ]
null
null
null
#include "../headers/_Utils.h" #include "../headers/rotationToSliderNode.h" #include <maya/MPlug.h> #include <maya/MDataBlock.h> #include <maya/MDataHandle.h> #include <maya/MFnUnitAttribute.h> #include <maya/MGlobal.h> // Static Members MTypeId RotationToSlider::id(0x001226CB); MObject RotationToSlider::angle; MOb...
25.778626
90
0.737933
jpasserin
a26d62739e8b26e1ef5303eb6c14742b2550b76f
2,996
cpp
C++
newsimplifythesquareroot.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
newsimplifythesquareroot.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
newsimplifythesquareroot.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <map> #include <math.h> #include <algorithm> #include <iterator> using namespace std; vector<int> sieve(30000001); void calculate_sieve() { for(int i=0;i<30000001;i++) { sieve[i]=-1; } for(int i=4;i<30000001;i+=2) { sieve[i]=2; } for(int i=3;i*i<30000001;i+...
14.831683
73
0.470961
sagar-sam
a273921a1c0ac91485fc464d0319be44a211be11
1,905
cpp
C++
04. Arrays/8_Move all zeroes to end of array.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
225
2021-10-01T03:09:01.000Z
2022-03-11T11:32:49.000Z
04. Arrays/8_Move all zeroes to end of array.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
252
2021-10-01T03:45:20.000Z
2021-12-07T18:32:46.000Z
04. Arrays/8_Move all zeroes to end of array.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
911
2021-10-01T02:55:19.000Z
2022-02-06T09:08:37.000Z
/** 4. Move all zeroes to end of array Easy Accuracy: 51.81% Submissions: 10335 Points: 2 Given an array arr[] of N positive integers. Push all the zero’s of the given array to the right end of the array while maitaining the order of non-zero elements. Example 1: Input: N = 5 Arr[] = {3, 5, 0, 0, 4} Output: 3 5 4 0...
21.896552
228
0.612073
Ujjawalgupta42
a273cd568aa090be306621cf15e4ee55e1178497
9,255
cpp
C++
common/ScratchpadDatapath.cpp
httsai/NTHU_Aladdin
4140fcdade512b89647608b9b724690c5d3b2ba4
[ "BSL-1.0" ]
null
null
null
common/ScratchpadDatapath.cpp
httsai/NTHU_Aladdin
4140fcdade512b89647608b9b724690c5d3b2ba4
[ "BSL-1.0" ]
null
null
null
common/ScratchpadDatapath.cpp
httsai/NTHU_Aladdin
4140fcdade512b89647608b9b724690c5d3b2ba4
[ "BSL-1.0" ]
null
null
null
/* Implementation of an accelerator datapath that uses a private scratchpad for * local memory. */ #include <string> #include "ScratchpadDatapath.h" ScratchpadDatapath::ScratchpadDatapath( std::string bench, std::string trace_file, std::string config_file, float cycle_t) : BaseDatapath(bench, trace_fil...
30.747508
83
0.622474
httsai
a278fa48c9d0965555f1e20b2ecc44bf29cfa134
13,412
cpp
C++
PyDK/DCHingeConstraint.cpp
hhg128/DKGL
c61bc6546ac5655da97462cc532a9034ba08516d
[ "PSF-2.0", "BSD-3-Clause" ]
14
2015-09-12T01:32:05.000Z
2021-10-13T02:52:53.000Z
PyDK/DCHingeConstraint.cpp
hhg128/DKGL
c61bc6546ac5655da97462cc532a9034ba08516d
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
PyDK/DCHingeConstraint.cpp
hhg128/DKGL
c61bc6546ac5655da97462cc532a9034ba08516d
[ "PSF-2.0", "BSD-3-Clause" ]
3
2015-11-10T03:12:49.000Z
2018-10-15T15:38:31.000Z
#include <Python.h> #include <structmember.h> #include <DK/DK.h> #include "DCConstraint.h" #include "DCObject.h" struct DCHingeConstraint { DCConstraint base; DKHingeConstraint* constraint; }; static PyObject* DCHingeConstraintNew(PyTypeObject* type, PyObject* args, PyObject* kwds) { DCHingeConstraint* self = (DCH...
30.691076
130
0.706233
hhg128
a2791a38b47f60706529c48fba4ae2723268d152
2,880
cpp
C++
binary_tree_right_side_view.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
binary_tree_right_side_view.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
binary_tree_right_side_view.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
// Problem: https://leetcode.com/problems/binary-tree-right-side-view/ #include <vector> #include <deque> #include "utils.h" namespace binary_tree_right_side_view { struct TreeNode { int val; TreeNode* left; TreeNode* right; }; class Solution { public: // Time: O(n), Space: O(w + h) // n - numbe...
24.615385
97
0.434028
artureganyan
a27948b65d480bd042d677db26191b507ef9bb6b
1,308
cpp
C++
erts/emulator/asmjit/x86/x86builder.cpp
williamthome/otp
c4f24d6718ac56c431f0fccf240c5b15482792ed
[ "Apache-2.0" ]
null
null
null
erts/emulator/asmjit/x86/x86builder.cpp
williamthome/otp
c4f24d6718ac56c431f0fccf240c5b15482792ed
[ "Apache-2.0" ]
null
null
null
erts/emulator/asmjit/x86/x86builder.cpp
williamthome/otp
c4f24d6718ac56c431f0fccf240c5b15482792ed
[ "Apache-2.0" ]
2
2015-10-18T22:36:46.000Z
2022-01-26T14:01:57.000Z
// This file is part of AsmJit project <https://asmjit.com> // // See asmjit.h or LICENSE.md for license and copyright information // SPDX-License-Identifier: Zlib #include "../core/api-build_p.h" #if !defined(ASMJIT_NO_X86) && !defined(ASMJIT_NO_BUILDER) #include "../x86/x86assembler.h" #include "../x86/x86builder.h...
24.679245
67
0.659786
williamthome
a279e63b5c5982eb16e090eea227c4742ee5f821
3,576
cpp
C++
core/sqf/src/seabed/src/threadltls.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
148
2015-06-18T21:26:04.000Z
2017-12-25T01:47:01.000Z
core/sqf/src/seabed/src/threadltls.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
1,352
2015-06-20T03:05:01.000Z
2017-12-25T14:13:18.000Z
core/sqf/src/seabed/src/threadltls.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
166
2015-06-19T18:52:10.000Z
2017-12-27T06:19:32.000Z
//------------------------------------------------------------------ // // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
25.726619
78
0.593121
CoderSong2015
a27b08a850d3c46abc49cf95c867c3407b606286
13,336
cpp
C++
amor-ros-pkg/ROSARIA/RosAria.cpp
tuw-cpsg/dynamic_mapping
12c5c9a9e66e16cb451c457d46a4d6cab5e2213b
[ "CC0-1.0" ]
9
2017-12-17T07:43:15.000Z
2021-10-10T15:03:39.000Z
amor-ros-pkg/ROSARIA/RosAria.cpp
tuw-cpsg/dynamic_mapping
12c5c9a9e66e16cb451c457d46a4d6cab5e2213b
[ "CC0-1.0" ]
null
null
null
amor-ros-pkg/ROSARIA/RosAria.cpp
tuw-cpsg/dynamic_mapping
12c5c9a9e66e16cb451c457d46a4d6cab5e2213b
[ "CC0-1.0" ]
6
2016-01-27T03:40:58.000Z
2021-06-15T08:12:14.000Z
#include <stdio.h> #include <math.h> #include <Aria.h> #include "ros/ros.h" #include "geometry_msgs/Twist.h" #include "geometry_msgs/Pose.h" #include "geometry_msgs/PoseStamped.h" #include <sensor_msgs/PointCloud.h> //for sonar data #include "nav_msgs/Odometry.h" #include "ROSARIA/BumperState.h" #include "tf/tf.h" #i...
32.526829
119
0.681239
tuw-cpsg
a27d0456a86de8fe2924fce6dbfedecd65e0e3cd
1,927
cc
C++
sync/internal_api/public/base/invalidation_state_test_util.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
2
2020-06-10T07:15:26.000Z
2020-12-13T19:44:12.000Z
sync/internal_api/public/base/invalidation_state_test_util.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
sync/internal_api/public/base/invalidation_state_test_util.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "sync/internal_api/public/base/invalidation_state_test_util.h" #include "base/basictypes.h" #include "sync/internal_api/public/base/invalida...
30.109375
79
0.754541
quisquous
a27d1fc265d6090e6acac6a08b94bd1149b9b3c0
4,760
cpp
C++
src/fixie_lib/desktop_gl_impl/texture.cpp
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
7
2015-01-09T22:08:17.000Z
2021-10-12T10:32:58.000Z
src/fixie_lib/desktop_gl_impl/texture.cpp
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
1
2015-08-19T07:51:53.000Z
2015-08-19T07:51:53.000Z
src/fixie_lib/desktop_gl_impl/texture.cpp
vonture/fixie
7fa1a6787ae26ee141a906fe39fb85c2e3cf4dfc
[ "MIT" ]
5
2015-08-20T07:10:23.000Z
2022-03-24T07:09:10.000Z
#include "fixie_lib/desktop_gl_impl/texture.hpp" #include "fixie_lib/desktop_gl_impl/framebuffer.hpp" #include "fixie_lib/debug.hpp" #include "fixie/fixie_gl_es.h" namespace fixie { namespace desktop_gl_impl { #define GL_FRAMEBUFFER 0x8D40 texture::texture(std::shared_ptr<const gl_functions> ...
51.73913
212
0.693487
vonture
a2828a2f6fe36c63fd11c455d1b6bf51c2fb1c07
1,666
cpp
C++
src/anfibio_nativo.cpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
null
null
null
src/anfibio_nativo.cpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
null
null
null
src/anfibio_nativo.cpp
fernandocunhapereira/petfera
6c1a3661df2561f53691abc548b1ce4202a3ba1e
[ "MIT" ]
1
2020-11-18T21:06:29.000Z
2020-11-18T21:06:29.000Z
#include "anfibio_nativo.hpp" /** *@brief Construtor que instancia um objeto do tipo AnfibioNativo *@param Caracteristicas inerentes aos anfibios nativos */ AnfibioNativo::AnfibioNativo(string identificacao, double preco, string descricao, double peso, tipoSexo sexo, Venenosos tipoVen, string estado, ...
32.038462
118
0.638655
fernandocunhapereira
a28a2cf03db9388114f8b44a46ee81f7adece6ff
157
hpp
C++
src/libv/serial/types/std_vector.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
src/libv/serial/types/std_vector.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
src/libv/serial/types/std_vector.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv.serial, File: src/libv/serial/types/std_vector.hpp, Author: Császár Mátyás [Vader] #pragma once // ext #include <cereal/types/vector.hpp>
22.428571
99
0.738854
cpplibv
a28eda70bdeb0d602dbab24654e28e6e4de0b34e
1,579
cpp
C++
graph/mst/loj/F1059/Solution.cpp
MdAman02/problem_solving
0cc1e3b8c74eca5a0ec9d02125cf5b8ee0aa7da5
[ "MIT" ]
17
2020-11-12T17:41:41.000Z
2021-10-01T13:19:42.000Z
graph/mst/loj/F1059/Solution.cpp
MdAman02/problem_solving
0cc1e3b8c74eca5a0ec9d02125cf5b8ee0aa7da5
[ "MIT" ]
15
2019-09-23T06:33:47.000Z
2020-06-04T18:55:45.000Z
graph/mst/loj/F1059/Solution.cpp
MdAman02/problem_solving
0cc1e3b8c74eca5a0ec9d02125cf5b8ee0aa7da5
[ "MIT" ]
16
2019-09-21T23:19:58.000Z
2020-06-18T07:26:39.000Z
// problem name: Air Ports // problem link: http://lightoj.com/volume_showproblem.php?problem=1059 // contest link: (?) // time: (?) // author: aman // other_tags: (?) #include<iostream> #include<vector> #include<queue> #include<cstring> using namespace std; #define mx 10010 #define f first #define s second ty...
16.278351
71
0.576314
MdAman02
a29123ee9f2e2887d9bcda6ae8e4caa476c9130a
2,584
cpp
C++
Backtracking-Recursion/0079-Word-Search/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
5
2019-05-11T18:33:32.000Z
2019-12-13T09:13:02.000Z
Backtracking-Recursion/0079-Word-Search/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
null
null
null
Backtracking-Recursion/0079-Word-Search/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
null
null
null
/// Source : https://leetcode.com/problems/word-search/description/ /// Author : Fei /// Time : Jul-01-2019 #include <iostream> #include <vector> #include <cassert> using namespace std; // Backtrack // Time Complexity: O(m*n*length(word)) // Space Complexity: O(m*n) class Solution { public: bool exist(vector<v...
27.2
97
0.485681
FeiZhao0531