hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
6f30f8866e10646651936829e03ec8c884d94946
1,868
cpp
C++
CodeForces/CF 670 Div 2/C/main.cpp
MuhamedAbdalla/My-CForAtCoder-Round-Solutions
ad66158da86d00f32a58974c8bed29a7407c08e9
[ "MIT" ]
1
2021-04-26T00:17:23.000Z
2021-04-26T00:17:23.000Z
CodeForces/CF 670 Div 2/C/main.cpp
MuhamedAbdalla/MyProblemSolving-Contest-Solutions
ad66158da86d00f32a58974c8bed29a7407c08e9
[ "MIT" ]
null
null
null
CodeForces/CF 670 Div 2/C/main.cpp
MuhamedAbdalla/MyProblemSolving-Contest-Solutions
ad66158da86d00f32a58974c8bed29a7407c08e9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int N = 1e5 + 5; int n, mx[N], dep[N], u, maxi; map<pair<int, int>, bool> pq; vector<int> e[N]; void init() { for (int i = 0; i <= n; i++) { e[i].clear(); } fill(dep, dep + n + 1, 0); fill(mx, mx + n + 1, 0); pq.clear(); } void rdfs(int...
20.755556
54
0.32334
[ "vector" ]
6f31fecdf2cdbbf8e06de9a830fda2396409ee45
16,361
cpp
C++
src/drivers/AHCI/AHCIDriver.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
5
2021-12-21T19:17:00.000Z
2022-03-10T17:56:59.000Z
src/drivers/AHCI/AHCIDriver.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
null
null
null
src/drivers/AHCI/AHCIDriver.cpp
LittleCodingFox/ToastOS
28475cbde3bd358460e070575e91496bf211f1d5
[ "BSD-2-Clause" ]
null
null
null
#include <string.h> #include "AHCIDriver.hpp" #include "../../low-level/paging/PageFrameAllocator.hpp" #include "../../low-level/paging/PageTableManager.hpp" namespace Drivers { namespace AHCI { #define ATA_DEV_BUSY 0x80 #define ATA_DEV_DRQ 0x08 #define ATA_CMD_RE...
31.403071
157
0.526313
[ "model" ]
6f350cc89e6272304ee43b95aefc660794d03d55
993
cpp
C++
modules/randomwalk/ext/RandomWalksLib/SparseSolverEigenCG.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
5
2018-06-19T06:20:01.000Z
2021-07-31T05:54:25.000Z
modules/randomwalk/ext/RandomWalksLib/SparseSolverEigenCG.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
modules/randomwalk/ext/RandomWalksLib/SparseSolverEigenCG.cpp
hmsgit/campvis
d97de6a86323866d6a8f81d2a641e3e0443a6b39
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include "SparseSolverEigenCG.h" SparseSolverEigenCG::SparseSolverEigenCG(int iterations, double tolerance) { this->iterations = iterations; this->tolerance = tolerance; } std::vector<double> SparseSolverEigenCG::solve_Ax_b(SparseMatrix<double> A, SparseVector<double> b, int numel, std::vector<int> & uidx, ...
26.131579
219
0.671702
[ "vector" ]
6f3eacafbe683ae972e66c99dddc2406e31b451c
1,728
cpp
C++
oreon.engine/oreon.engine/engine/CoreEngine.cpp
antarezz/Oreon.Engine-OpenGL-Cpp
6a36a3138fe291f114be25ee69a0d5ac96edd2f0
[ "MIT" ]
4
2017-08-27T07:44:05.000Z
2018-09-02T07:27:31.000Z
oreon.engine/oreon.engine/engine/CoreEngine.cpp
antarezz/Oreon.Engine-OpenGL-Cpp
6a36a3138fe291f114be25ee69a0d5ac96edd2f0
[ "MIT" ]
null
null
null
oreon.engine/oreon.engine/engine/CoreEngine.cpp
antarezz/Oreon.Engine-OpenGL-Cpp
6a36a3138fe291f114be25ee69a0d5ac96edd2f0
[ "MIT" ]
2
2020-02-18T15:44:23.000Z
2020-12-13T19:49:25.000Z
#include "CoreEngine.h" using namespace std::chrono_literals; int CoreEngine::fps; CoreEngine::CoreEngine() : isRunning(false),frametime(1/100.0f){} void CoreEngine::createWindow(int width, int height, char* title) { Window::getInstance().create(width,height,title); } void CoreEngine::init() { } void CoreEngine...
16.776699
67
0.662616
[ "render" ]
6f3fc520f6fb6c940311a13209c95a3a4d6d96f8
5,941
cpp
C++
modules/fbx/data/fbx_bone.cpp
MichaelBelousov/godot
ad64d5de1170109a53a5d0cfd8101824c2c4d77c
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/fbx/data/fbx_bone.cpp
MichaelBelousov/godot
ad64d5de1170109a53a5d0cfd8101824c2c4d77c
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/fbx/data/fbx_bone.cpp
MichaelBelousov/godot
ad64d5de1170109a53a5d0cfd8101824c2c4d77c
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/*************************************************************************/ /* fbx_bone.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
55.523364
173
0.651069
[ "transform" ]
6f4171ce135a16edb1eae36baf87bca890d6c8ff
5,661
cpp
C++
tests/ieventemitter.test.cpp
futoin/core-cpp-api
20ae11bf39de03fa64da800ba1c60a953cf5c122
[ "Apache-2.0" ]
7
2018-09-25T19:32:16.000Z
2018-10-05T14:29:34.000Z
tests/ieventemitter.test.cpp
futoin/core-cpp-api
20ae11bf39de03fa64da800ba1c60a953cf5c122
[ "Apache-2.0" ]
null
null
null
tests/ieventemitter.test.cpp
futoin/core-cpp-api
20ae11bf39de03fa64da800ba1c60a953cf5c122
[ "Apache-2.0" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright 2018 FutoIn Project // Copyright 2018 Andrey Galkin // // 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...
32.348571
79
0.673379
[ "vector" ]
6f4204c1a02fef0af8ec6c6f1f7e0f70d0746949
1,706
cpp
C++
nudg++/trunk/Src/Codes3D/TopTheta.cpp
Notargets/nodal-dg
1866dbdfeeff34b7586e70d308dbfe42a2b59844
[ "MIT" ]
93
2015-01-26T17:48:24.000Z
2022-03-16T10:26:07.000Z
nudg++/trunk/Src/Codes3D/TopTheta.cpp
Notargets/nodal-dg
1866dbdfeeff34b7586e70d308dbfe42a2b59844
[ "MIT" ]
4
2016-01-27T02:45:40.000Z
2021-11-26T11:50:08.000Z
nudg++/trunk/Src/Codes3D/TopTheta.cpp
Notargets/nodal-dg
1866dbdfeeff34b7586e70d308dbfe42a2b59844
[ "MIT" ]
80
2015-04-03T18:44:50.000Z
2022-03-30T19:25:22.000Z
// TopTheta.cpp // function topu = TopTheta(u, theta) // 2007/10/11 //--------------------------------------------------------- #include "NDGLib_headers.h" #include "NDG3D.h" // template <class T> void Sort_Index(const Vector<T>& A, Vector<T>& S, IVec& IX, eDir dir); // =eAscend void Sort_Index(const DVec& A, DVec& S...
25.848485
104
0.478312
[ "vector" ]
6f4240707e4085475a8945f1d284104883f4939b
1,351
cpp
C++
src/process.cpp
malaca3/Project2SystemMonitor
2375b94f572a6a646e15ca426144db105ee7014e
[ "MIT" ]
null
null
null
src/process.cpp
malaca3/Project2SystemMonitor
2375b94f572a6a646e15ca426144db105ee7014e
[ "MIT" ]
null
null
null
src/process.cpp
malaca3/Project2SystemMonitor
2375b94f572a6a646e15ca426144db105ee7014e
[ "MIT" ]
null
null
null
#include <unistd.h> #include <cctype> #include <sstream> #include <string> #include <vector> #include <unistd.h> #include "process.h" #include "linux_parser.h" using std::string; using std::to_string; using std::vector; Process::Process(int i): pid(i){ CalcCpuUtilization(); } int Process::Pid() { return pid; } ...
23.701754
87
0.641747
[ "vector" ]
6f4371f0aad4749d3a8f4fe1b23ae49a9a4f7e5a
1,951
hpp
C++
pwiz/utility/math/Parabola.hpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
11
2015-01-08T08:33:44.000Z
2019-07-12T06:14:54.000Z
pwiz/utility/math/Parabola.hpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
pwiz/utility/math/Parabola.hpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
4
2016-02-03T09:41:16.000Z
2021-08-01T18:42:36.000Z
// // $Id: Parabola.hpp 1195 2009-08-14 22:12:04Z chambm $ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2006 Louis Warschaw Prostate Cancer Center // Cedars Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2.0 (the "Li...
27.097222
77
0.670425
[ "vector" ]
6f47979e0e926bc052d26e0551926152bb300c38
1,163
cpp
C++
GeeksForGeeks/Convert array into Zig-Zag fashion.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
GeeksForGeeks/Convert array into Zig-Zag fashion.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
GeeksForGeeks/Convert array into Zig-Zag fashion.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <locale> #include <algorithm> #include <cmath> #include <unordered_map> #include <unordered_set> #include <set> #include <bitset> #include <climits> #include <list> #include <queue> #include <stack> #include <utility> using namespace std; #define INF 1e7 ...
21.537037
62
0.421324
[ "vector" ]
6f51d419e072e8338b1c5c675b5ed19568f4e085
19,600
cpp
C++
src/OrbitCaptureClient/GpuQueueSubmissionProcessor.cpp
Mu-L/orbit
9a3338d1fda66c4c3723333023dd039acc3c40a0
[ "BSD-2-Clause" ]
null
null
null
src/OrbitCaptureClient/GpuQueueSubmissionProcessor.cpp
Mu-L/orbit
9a3338d1fda66c4c3723333023dd039acc3c40a0
[ "BSD-2-Clause" ]
null
null
null
src/OrbitCaptureClient/GpuQueueSubmissionProcessor.cpp
Mu-L/orbit
9a3338d1fda66c4c3723333023dd039acc3c40a0
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2020 The Orbit Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "OrbitCaptureClient/GpuQueueSubmissionProcessor.h" #include "OrbitBase/Logging.h" using orbit_client_protos::Color; using orbit_client_protos:...
48.395062
100
0.764847
[ "vector" ]
6f56edd365d97cc50fcff9544f6a3f7c56c75c15
9,848
cpp
C++
legacy/eva-to-be-ported/gims/src/DataProcessor/LineIntersection.cpp
lucid-at-dream/citylife
d0313536027e25c000cb8ed6146bdf67e1ed5c33
[ "MIT" ]
2
2022-02-15T18:09:06.000Z
2022-02-15T22:37:26.000Z
legacy/eva-to-be-ported/gims/src/DataProcessor/LineIntersection.cpp
futuo/citylife
f9b855e740d970ab6a0a7204348b40849b3b9ac3
[ "MIT" ]
1
2022-02-18T16:58:39.000Z
2022-02-18T16:58:39.000Z
legacy/eva-to-be-ported/gims/src/DataProcessor/LineIntersection.cpp
lucid-at-dream/citylife
d0313536027e25c000cb8ed6146bdf67e1ed5c33
[ "MIT" ]
null
null
null
#include "LineIntersection.hpp" //helper functions for the linestring intersection matrix construction void DE9IM_mls_ls(DE9IM *resultset, GIMS_MultiLineString *query, GIMS_LineString *other) { BentleySolver bs; GIMS_MultiLineString *other_mls = new GIMS_MultiLineString(1); other_mls->append(other); ...
31.87055
109
0.555544
[ "geometry" ]
6f597765e28c6e47b7d905559af810e9a49c7d7b
9,356
hpp
C++
Include/MH/Geometry/Math.hpp
n-suudai/MHLib
1f67d696f1147d8f4df56f9531f91eae8913ab9a
[ "MIT" ]
null
null
null
Include/MH/Geometry/Math.hpp
n-suudai/MHLib
1f67d696f1147d8f4df56f9531f91eae8913ab9a
[ "MIT" ]
null
null
null
Include/MH/Geometry/Math.hpp
n-suudai/MHLib
1f67d696f1147d8f4df56f9531f91eae8913ab9a
[ "MIT" ]
null
null
null
 #pragma once #include "MH/External/Eigen.hpp" #include "MH/OS/Types.hpp" #include "MH/OS/Assert.hpp" namespace MH { namespace Geometry { typedef f32 Radius; typedef Eigen::Matrix4f Matrix4x4; typedef Eigen::Matrix3f Matrix3x3; typedef Eigen::Matrix2f ...
26.134078
138
0.55451
[ "geometry" ]
6f5983b9b1d1bb29668552aa3bd8d068f7f47193
1,373
cc
C++
components/dom_distiller/core/dom_distiller_service.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2017-04-05T01:51:34.000Z
2018-02-15T03:11:54.000Z
components/dom_distiller/core/dom_distiller_service.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-12-13T19:44:12.000Z
2021-12-13T19:44:12.000Z
components/dom_distiller/core/dom_distiller_service.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2017-04-05T01:52:03.000Z
2022-02-13T17:58:45.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/dom_distiller/core/dom_distiller_service.h" #include "components/dom_distiller/core/dom_distiller_store.h" namespace dom_distiller {...
31.204545
77
0.74654
[ "vector" ]
6f59d26cd12651b8f96ff4f494b7ef92cdfd4c2e
2,906
cpp
C++
modules/unitest/encode/test_encoder.cpp
zhaoying9105/CNStream
22c8e26ac5f2db613d33aaf636b1a96dba5e3417
[ "Apache-2.0" ]
1
2020-07-20T10:46:40.000Z
2020-07-20T10:46:40.000Z
modules/unitest/encode/test_encoder.cpp
zhaoying9105/CNStream
22c8e26ac5f2db613d33aaf636b1a96dba5e3417
[ "Apache-2.0" ]
null
null
null
modules/unitest/encode/test_encoder.cpp
zhaoying9105/CNStream
22c8e26ac5f2db613d33aaf636b1a96dba5e3417
[ "Apache-2.0" ]
null
null
null
/************************************************************************* * Copyright (C) [2019] by Cambricon, Inc. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
31.247312
80
0.676875
[ "vector" ]
6f5a50c9ed6bc855e0fa5b10b00eae718e161650
77,319
cc
C++
lib/deckard/src/ptgen/gcc/lex.yy.cc
mir597/ml_safe
e0da1d9c564b0e8850e75db1d3d976b959bf61cb
[ "BSD-3-Clause" ]
1
2018-03-19T13:57:35.000Z
2018-03-19T13:57:35.000Z
lib/deckard/src/ptgen/gcc/lex.yy.cc
mir597/ml_safe
e0da1d9c564b0e8850e75db1d3d976b959bf61cb
[ "BSD-3-Clause" ]
null
null
null
lib/deckard/src/ptgen/gcc/lex.yy.cc
mir597/ml_safe
e0da1d9c564b0e8850e75db1d3d976b959bf61cb
[ "BSD-3-Clause" ]
3
2020-10-21T10:50:23.000Z
2021-12-27T21:34:50.000Z
#line 2 "lex.yy.cc" #line 4 "lex.yy.cc" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* First, we deal wi...
27.712903
116
0.582341
[ "object" ]
6f5cfffc3c573152d577986cea0e1a7c7ab0b245
4,338
cpp
C++
src/Conversion/ONNXToKrnl/Sequence/SequenceErase.cpp
philass/onnx-mlir
09965003137f82d8891676c986ec6403faa9c3cb
[ "Apache-2.0" ]
1
2022-03-23T06:41:14.000Z
2022-03-23T06:41:14.000Z
src/Conversion/ONNXToKrnl/Sequence/SequenceErase.cpp
philass/onnx-mlir
09965003137f82d8891676c986ec6403faa9c3cb
[ "Apache-2.0" ]
1
2022-03-31T23:58:31.000Z
2022-03-31T23:58:31.000Z
src/Conversion/ONNXToKrnl/Sequence/SequenceErase.cpp
philass/onnx-mlir
09965003137f82d8891676c986ec6403faa9c3cb
[ "Apache-2.0" ]
null
null
null
/* * SPDX-License-Identifier: Apache-2.0 */ //===-------SequenceErase.cpp - Lowering SequenceErase Op-----------------=== // // // Copyright 2022 The IBM Research Authors. // // ============================================================================= // // This file lowers the ONNX SequenceErase Operator to Krnl...
39.081081
80
0.684878
[ "shape" ]
6f62d3ac824e79f869deb60aa84c42dc3626a5c8
41,649
cpp
C++
bng/semantic_analyzer.cpp
mcellteam/libbng
1d9fe00a2cc9a8d223078aec2700e7b86b10426a
[ "MIT" ]
null
null
null
bng/semantic_analyzer.cpp
mcellteam/libbng
1d9fe00a2cc9a8d223078aec2700e7b86b10426a
[ "MIT" ]
null
null
null
bng/semantic_analyzer.cpp
mcellteam/libbng
1d9fe00a2cc9a8d223078aec2700e7b86b10426a
[ "MIT" ]
1
2021-05-11T21:13:20.000Z
2021-05-11T21:13:20.000Z
/****************************************************************************** * Copyright (C) 2020-2021 by * The Salk Institute for Biological Studies * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. ************...
33.107313
147
0.652981
[ "vector", "model", "3d" ]
6f6c7de0acf1f4003056f9f0b0a988079a3d002d
7,204
cpp
C++
games/xworld3d/x3item.cpp
ziyuli/XWorld
97db71daf1b82a179a5c3a85b58c46c9debbc247
[ "Apache-2.0" ]
83
2017-08-22T20:13:58.000Z
2022-02-14T01:39:00.000Z
games/xworld3d/x3item.cpp
ziyuli/XWorld
97db71daf1b82a179a5c3a85b58c46c9debbc247
[ "Apache-2.0" ]
15
2017-08-24T00:07:29.000Z
2019-04-25T15:24:53.000Z
games/xworld3d/x3item.cpp
ziyuli/XWorld
97db71daf1b82a179a5c3a85b58c46c9debbc247
[ "Apache-2.0" ]
30
2017-08-23T23:19:12.000Z
2022-02-14T01:43:07.000Z
// Copyright (c) 2017 Baidu Inc. All Rights Reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable la...
31.876106
93
0.621044
[ "render" ]
6f7166db0d99fd80f0b711b540f45a6499ef52d5
20,589
cpp
C++
source/lowlevel/bralgorithm.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
115
2015-01-18T17:29:30.000Z
2022-01-30T04:31:48.000Z
source/lowlevel/bralgorithm.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-22T04:53:38.000Z
2015-01-31T13:52:40.000Z
source/lowlevel/bralgorithm.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-23T20:06:46.000Z
2020-05-20T16:06:00.000Z
/*************************************** Templates to support "algorithm" Copyright (c) 1995-2018 by Rebecca Ann Heineman <becky@burgerbecky.com> It is released under an MIT Open Source license. Please see LICENSE for license details. Yes, you can use it in a commercial title without paying anyth...
26.128173
83
0.558648
[ "object" ]
4cf9a5099823db6c368544e330afdff19929cfd4
761
cpp
C++
AtCoder/abc155/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc155/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc155/c/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { int N; cin >> N; vector<string> S(N, ""); int MX = 0; for (int i = 0; i < N; ++i) { cin >> S[i]; } sort(S.begin(), S.end()); string str = ""; int cnt = 0; vector<pair<str...
23.78125
62
0.442838
[ "vector" ]
9801d5bbe782c41471f56668c0d267621096b9a7
3,491
cpp
C++
src/life/Life3d.cpp
zibas/futz
83fc0e1a7489940bb55e2db6ccc8ca7d1ac0719f
[ "MIT" ]
4
2019-01-30T00:14:29.000Z
2020-05-15T01:14:28.000Z
src/life/Life3d.cpp
zibas/futz
83fc0e1a7489940bb55e2db6ccc8ca7d1ac0719f
[ "MIT" ]
null
null
null
src/life/Life3d.cpp
zibas/futz
83fc0e1a7489940bb55e2db6ccc8ca7d1ac0719f
[ "MIT" ]
null
null
null
#include "Life3d.h" #include <stdio.h> #include <time.h> #include <stdlib.h> #include "Futz.h" #include "input/InputEventQueue.h" #include "core/components/DrawAxis.h" Life3d::Life3d() { width = 100; height = 100; depth = 1; cellClock = 0; cellPeriod = 0.3; speed = 0.5; turnSpeed = 20; srand(time(NULL)); F...
19.61236
98
0.610713
[ "model", "transform" ]
980bf92a0698531deef25a3c0ed88c97c1cd04a0
2,598
cpp
C++
2018/1027_tenka1-2018/E.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
7
2019-03-24T14:06:29.000Z
2020-09-17T21:16:36.000Z
2018/1027_tenka1-2018/E.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
null
null
null
2018/1027_tenka1-2018/E.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
1
2020-07-22T17:27:09.000Z
2020-07-22T17:27:09.000Z
/** * File : E.cpp * Author : Kazune Takahashi * Created : 2018-10-27 22:01:40 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn...
24.509434
103
0.445343
[ "vector" ]
98144b7be4905d7bef586572c6faa73e1e80d2ea
1,364
cc
C++
core/http.cc
theanarkh/No.js
0a1a72ada412a46de8994691b9b490092e515157
[ "MIT" ]
42
2021-06-09T02:25:35.000Z
2022-02-16T06:12:44.000Z
core/http.cc
tangkepeng/No.js
5569dec2d416118cc33b1209c9d4569e51094921
[ "MIT" ]
null
null
null
core/http.cc
tangkepeng/No.js
5569dec2d416118cc33b1209c9d4569e51094921
[ "MIT" ]
2
2021-09-19T02:24:21.000Z
2021-10-07T13:28:42.000Z
#include "http.h" void No::HTTP::Parser::New(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetEnvByContext(args.GetIsolate()->GetCurrentContext()); new Parser(env, args.This()); } void No::HTTP::Parser::Parse(const char * data, size_t len) { // string str; // str.append(da...
38.971429
129
0.697214
[ "object" ]
981da0ccb8fd6ec3ec3a349f4309c6b6a62d7a01
2,880
hpp
C++
include/raycaster/twist.hpp
yycho0108/PCLRayCaster
b80fda4c5357a7777e4e9ea31f36fc09b6502312
[ "MIT" ]
null
null
null
include/raycaster/twist.hpp
yycho0108/PCLRayCaster
b80fda4c5357a7777e4e9ea31f36fc09b6502312
[ "MIT" ]
null
null
null
include/raycaster/twist.hpp
yycho0108/PCLRayCaster
b80fda4c5357a7777e4e9ea31f36fc09b6502312
[ "MIT" ]
null
null
null
#pragma once #include <Eigen/Core> #include <Eigen/Geometry> template <class Scalar> class Twist { using Vector3x = Eigen::Matrix<Scalar, 3, 1>; public: Twist() {} Twist(const Vector3x& rotation, const Vector3x& translation) : rotation_(rotation), translation_(translation) {} Twist(const Twist& twist...
28.514851
78
0.642708
[ "geometry", "transform" ]
98232ad4817133e8a168451e2ee22da4b17a1136
2,362
cpp
C++
source/segmentation/Segmentation.cpp
intive/StudyBox_CV
5ea9b643177667ebdc9809f28db6705b308409f4
[ "Apache-2.0" ]
3
2016-03-07T09:40:49.000Z
2018-05-29T16:13:10.000Z
source/segmentation/Segmentation.cpp
intive/StudyBox_CV
5ea9b643177667ebdc9809f28db6705b308409f4
[ "Apache-2.0" ]
38
2016-03-06T20:44:46.000Z
2016-05-18T19:16:40.000Z
source/segmentation/Segmentation.cpp
blstream/StudyBox_CV
5ea9b643177667ebdc9809f28db6705b308409f4
[ "Apache-2.0" ]
10
2016-03-10T21:30:18.000Z
2016-04-20T07:01:12.000Z
#include "Segmentation.hpp" Segmentation::Segmentation() : usedScale(1) , morphEllipseSize(1, 1) , morphRectSize(1, 1) { } void Segmentation::SetImage(const cv::Mat& image) { if (image.type() != CV_8UC1) cv::cvtColor(image, grayImage, CV_BGR2GRAY); else grayImage = image; } void S...
23.858586
100
0.647756
[ "vector" ]
9831040c3470587ef9a8a4ec3dc89f5d9a809a00
11,983
cpp
C++
artifact/storm/src/storm/builder/BuilderOptions.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/builder/BuilderOptions.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/builder/BuilderOptions.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/builder/BuilderOptions.h" #include "storm/builder/TerminalStatesGetter.h" #include "storm/logic/Formulas.h" #include "storm/logic/LiftableTransitionRewardsVisitor.h" #include "storm/settings/SettingsManager.h" #include "storm/settings/modules/GeneralSettings.h" #include "storm/utility/macros.h" #inc...
42.492908
530
0.63323
[ "vector", "model" ]
983358d0953e9d32158b5c700381aa9786cbd24c
5,083
cpp
C++
executor/operator/arm64/prelu_float.cpp
wangshankun/Tengine_Atlas
b5485039e72b4a624c795ff95d73eb6d719c7706
[ "Apache-2.0" ]
25
2018-12-09T09:31:56.000Z
2021-08-12T10:32:19.000Z
executor/operator/arm64/prelu_float.cpp
wangshankun/Tengine_Atlas
b5485039e72b4a624c795ff95d73eb6d719c7706
[ "Apache-2.0" ]
1
2022-03-31T03:33:42.000Z
2022-03-31T03:33:42.000Z
executor/operator/arm64/prelu_float.cpp
wangshankun/Tengine_Atlas
b5485039e72b4a624c795ff95d73eb6d719c7706
[ "Apache-2.0" ]
6
2018-12-16T01:18:42.000Z
2019-09-18T07:29:56.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
31.376543
128
0.634271
[ "shape", "vector" ]
98378cae74782e931fa24326a43485175ac1ab90
3,114
cc
C++
VerStarting/main_local.cc
gynvael/MythTracer
a33b0c9a6cce8bb66ae2c59d68d20adaf35ce906
[ "MIT" ]
17
2017-06-30T19:57:59.000Z
2020-11-17T20:54:18.000Z
VerStarting/main_local.cc
gynvael/MythTracer
a33b0c9a6cce8bb66ae2c59d68d20adaf35ce906
[ "MIT" ]
2
2017-07-11T07:54:40.000Z
2017-07-11T22:00:16.000Z
VerStarting/main_local.cc
gynvael/MythTracer
a33b0c9a6cce8bb66ae2c59d68d20adaf35ce906
[ "MIT" ]
6
2017-07-10T22:12:33.000Z
2020-11-16T19:08:48.000Z
#include <stdio.h> #include <stdint.h> #include <vector> #ifdef __unix__ # include <sys/stat.h> # include <sys/types.h> #else # include <direct.h> #endif #include "mythtracer.h" #include "camera.h" #include "octtree.h" using math3d::V3D; using raytracer::MythTracer; using raytracer::AABB; using rayt...
19.834395
68
0.47431
[ "vector" ]
9839abef73adcaf622998e9d88928805f5b293af
17,195
cpp
C++
net/tapi/skywalker/apps/avdialer/avtapi/confdetail.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/tapi/skywalker/apps/avdialer/avtapi/confdetail.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/tapi/skywalker/apps/avdialer/avtapi/confdetail.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 1997 Active Voice Corporation. All Rights Reserved. // // Active Agent(r) and Unified Communications(tm) are trademarks of Active Voice Corporation. // // Other brand and product names used herein are tra...
30.166667
145
0.57604
[ "object" ]
98436637ccd8edf3c9a451af28e79b7ab9d9e6fa
20,644
cpp
C++
Core/Code/Testing/mitkPointSetTest.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Core/Code/Testing/mitkPointSetTest.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Core/Code/Testing/mitkPointSetTest.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
30.950525
180
0.70311
[ "geometry" ]
984a90b877c6c762d81729c5fe780edd3ca015fd
6,153
cpp
C++
Kuma Engine/Component_Camera.cpp
GerardClotet/Kuma-Engine
16759a8c5e18b69eb6ce50b6feeaf50d5312e957
[ "MIT" ]
2
2019-10-07T07:11:16.000Z
2019-10-31T16:45:56.000Z
Kuma Engine/Component_Camera.cpp
GerardClotet/Kuma-Engine
16759a8c5e18b69eb6ce50b6feeaf50d5312e957
[ "MIT" ]
null
null
null
Kuma Engine/Component_Camera.cpp
GerardClotet/Kuma-Engine
16759a8c5e18b69eb6ce50b6feeaf50d5312e957
[ "MIT" ]
null
null
null
#include "Component_Camera.h" #include "Application.h" #include "GameObject.h" #include "ModuleWindow.h" #include "ModuleSceneIntro.h" #include "Component_Transform.h" #include "ImGui/imgui.h" Component_Camera::Component_Camera(GameObject* game_object) { this->gameObject_Item = game_object; name = "camera"; comp_typ...
25.6375
139
0.707785
[ "vector", "transform" ]
984b26f1a910f375fe6516a7e9430e744ebd2ef3
4,780
cpp
C++
cegui/src/ScriptModules/Python/bindings/output/CEGUI/NamedArea.pypp.cpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
257
2020-01-03T10:13:29.000Z
2022-03-26T14:55:12.000Z
cegui/src/ScriptModules/Python/bindings/output/CEGUI/NamedArea.pypp.cpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
116
2020-01-09T18:13:13.000Z
2022-03-15T18:32:02.000Z
cegui/src/ScriptModules/Python/bindings/output/CEGUI/NamedArea.pypp.cpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
58
2020-01-09T03:07:02.000Z
2022-03-22T17:21:36.000Z
// This file has been generated by Py++. #include "boost/python.hpp" #include "generators/include/python_CEGUI.h" #include "NamedArea.pypp.hpp" namespace bp = boost::python; void register_NamedArea_class(){ { //::CEGUI::NamedArea typedef bp::class_< CEGUI::NamedArea > NamedArea_exposer_t; NamedA...
38.24
140
0.470711
[ "object" ]
985a5b5236c1c4baf226d08d5fabd7310cb5a9b8
3,689
cpp
C++
Homeworks/0_CppPratices/project/src/executables/4_list_Polynomial/PolynomialList.cpp
Chaphlagical/USTC_CG
9f8b0321e09e5a05afb1c93303e3c736f78503fa
[ "MIT" ]
13
2020-05-21T03:12:48.000Z
2022-01-20T01:25:02.000Z
Homeworks/0_CppPratices/project/src/executables/4_list_Polynomial/PolynomialList.cpp
lyf7115/USTC_CG
9f8b0321e09e5a05afb1c93303e3c736f78503fa
[ "MIT" ]
null
null
null
Homeworks/0_CppPratices/project/src/executables/4_list_Polynomial/PolynomialList.cpp
lyf7115/USTC_CG
9f8b0321e09e5a05afb1c93303e3c736f78503fa
[ "MIT" ]
4
2020-06-13T13:14:14.000Z
2021-12-15T07:36:05.000Z
#include "PolynomialList.h" bool Node_cmp(const Node &node1, const Node &node2) { return node1.deg < node2.deg ? true : false; } void PolynomialList::Compress() { std::list<Node>::iterator it1, it2, it3; it1 = m_Polynomial.begin(); for (; it1 != m_Polynomial.end(); it1++) { for (it2=it1; ++it2 != m_Polynomial....
19.11399
126
0.635945
[ "vector" ]
985d0ab477a6552b709007467e547b4d4d8d6d74
7,854
cpp
C++
src/gfx-pbr/Light.cpp
alecnunn/mud
9e204e2dc65f4a8ab52da3d11e6a261ff279d353
[ "Zlib" ]
1
2019-03-28T20:45:32.000Z
2019-03-28T20:45:32.000Z
src/gfx-pbr/Light.cpp
alecnunn/mud
9e204e2dc65f4a8ab52da3d11e6a261ff279d353
[ "Zlib" ]
null
null
null
src/gfx-pbr/Light.cpp
alecnunn/mud
9e204e2dc65f4a8ab52da3d11e6a261ff279d353
[ "Zlib" ]
null
null
null
// Copyright (c) 2019 Hugo Amiard hugo.amiard@laposte.net // This software is provided 'as-is' under the zlib License, see the LICENSE.txt file. // This notice and the license may not be removed or altered from any source distribution. #include <gfx/Cpp20.h> #include <bgfx/bgfx.h> #ifdef MUD_MODULES module mud.gf...
34.147826
130
0.742552
[ "render", "vector" ]
98611421b2e25350792198a7aba63315f70d99aa
7,883
cpp
C++
main/main.cpp
chemicstry/eacs-esp32-old
8d8b9d580a8963e851ed24a87a693066b276e20a
[ "MIT" ]
1
2021-02-01T05:02:51.000Z
2021-02-01T05:02:51.000Z
main/main.cpp
chemicstry/eacs-esp32-old
8d8b9d580a8963e851ed24a87a693066b276e20a
[ "MIT" ]
null
null
null
main/main.cpp
chemicstry/eacs-esp32-old
8d8b9d580a8963e851ed24a87a693066b276e20a
[ "MIT" ]
null
null
null
#include "WebSocketsClient.h" #include "PN532Instance.h" #include "JSONRPC/JSONRPC.h" #include "Service.h" #include "Utils.h" #include "esp_log.h" #include <thread> #include "Arduino.h" #include "network.h" #include "driver/uart.h" #if CONFIG_USE_MDNS #include <ESPmDNS.h> #endif static const char* TAG = "main"; usin...
25.594156
102
0.624382
[ "object" ]
9863b1464152bd7c1601e854c98120f8d25ff205
5,461
cpp
C++
third_party/WebKit/Source/core/css/threaded/FontObjectThreadedTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/css/threaded/FontObjectThreadedTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/css/threaded/FontObjectThreadedTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "core/css/resolver/FilterOperationResolver.h" #include "core/css/parser/CSSParser.h" #include "core/css/parser/CSSParserContext.h" #include "cor...
36.898649
79
0.719282
[ "vector" ]
986c8ba7c82f91a5b7a5926a337198032a4b8754
5,676
cpp
C++
frontend/src/untested/function_hint.cpp
tyoma/micro-profiler
32f6981c643b93997752d414f631fd6684772b28
[ "MIT" ]
194
2015-07-27T09:54:24.000Z
2022-03-21T20:50:22.000Z
frontend/src/untested/function_hint.cpp
tyoma/micro-profiler
32f6981c643b93997752d414f631fd6684772b28
[ "MIT" ]
63
2015-08-19T16:42:33.000Z
2022-02-22T20:30:49.000Z
frontend/src/untested/function_hint.cpp
tyoma/micro-profiler
32f6981c643b93997752d414f631fd6684772b28
[ "MIT" ]
33
2015-08-21T17:48:03.000Z
2022-02-23T03:54:17.000Z
// Copyright (c) 2011-2021 by Artem A. Gevorkyan (gevorkyan.org) // // 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, ...
39.971831
128
0.746476
[ "render", "model" ]
9871703305b7ca24b73532aeeec44edf0e4cd57e
24,685
cc
C++
rimenative/src/main/jni/librime_jni/rime.cc
Erhannis/hackerskeyboard
beb8c6b3b34d1b317662aa4b4050943909cb0855
[ "Apache-2.0" ]
null
null
null
rimenative/src/main/jni/librime_jni/rime.cc
Erhannis/hackerskeyboard
beb8c6b3b34d1b317662aa4b4050943909cb0855
[ "Apache-2.0" ]
null
null
null
rimenative/src/main/jni/librime_jni/rime.cc
Erhannis/hackerskeyboard
beb8c6b3b34d1b317662aa4b4050943909cb0855
[ "Apache-2.0" ]
null
null
null
#include "rime.h" #include "levers.h" #include <ctime> #include <rime_api.h> static jobject _get_value(JNIEnv *env, RimeConfig* config, const char* key); static RimeSessionId _session_id = 0; void on_message(void* context_object, RimeSessionId session_id, const char* message_type, ...
34.572829
117
0.698359
[ "object" ]
98739aa908deccd22421a53756cfb42dbabc6831
1,536
cpp
C++
CodeForces/Solutions/346C.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
5
2020-10-03T17:15:26.000Z
2022-03-29T21:39:22.000Z
CodeForces/Solutions/346C.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
null
null
null
CodeForces/Solutions/346C.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
1
2021-03-01T12:56:50.000Z
2021-03-01T12:56:50.000Z
// #pragma GCC optimize("Ofast,unroll-loops") // #pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define dd double #define ld long double #define sl(n) scanf("%lld", &n) #define si(n) scanf("%d", &n) #define sd(n) scanf("%lf", &n) #d...
23.272727
82
0.546224
[ "vector" ]
98772f475d911f32ec9de28f39e56bf2b2189eb4
16,620
cpp
C++
GameFramework_ThirdParty/FCollada/FCollada/FMath/FMMatrix44.cpp
GavWood/tutorials
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
8
2017-10-26T14:26:55.000Z
2022-01-07T07:35:39.000Z
GameFramework_ThirdParty/FCollada/FCollada/FMath/FMMatrix44.cpp
GavWood/tutorials
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
1
2018-01-27T19:21:07.000Z
2018-01-31T13:55:09.000Z
GameFramework_ThirdParty/FCollada/FCollada/FMath/FMMatrix44.cpp
GavWood/Game-Framework
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
1
2021-07-21T17:37:33.000Z
2021-07-21T17:37:33.000Z
/* Copyright (C) 2005-2007 Feeling Software Inc. Portions of the code are: Copyright (C) 2005-2007 Sony Computer Entertainment America MIT License: http://www.opensource.org/licenses/mit-license.php */ #include "StdAfx.h" #include "FMMatrix44.h" #include <limits> static float __identity[] = { 1, 0, 0, 0, 0, 1, ...
39.014085
127
0.522503
[ "transform" ]
987b78932adb53ecd1a7f7517cda05f8f56df2fb
9,191
cpp
C++
render_delegate/render_pass.cpp
frenchdog/arnold-usd
53fbc4f9ae94f906371a4043f0dd32c014cecc15
[ "Apache-2.0" ]
2
2020-12-01T03:34:51.000Z
2021-03-06T01:49:44.000Z
render_delegate/render_pass.cpp
BigRoy/arnold-usd
b9d8b237f76348aa45a0e67260336d40901f89d9
[ "BSD-3-Clause" ]
null
null
null
render_delegate/render_pass.cpp
BigRoy/arnold-usd
b9d8b237f76348aa45a0e67260336d40901f89d9
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 Luma Pictures // // 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 i...
44.1875
120
0.666086
[ "render", "vector" ]
987dc554a696482ac9585cc6f862e739055eacf4
4,318
cpp
C++
Modules/TArc/Sources/TArc/Controls/Private/ListView.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Modules/TArc/Sources/TArc/Controls/Private/ListView.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Modules/TArc/Sources/TArc/Controls/Private/ListView.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "TArc/Controls/ListView.h" #include "TArc/Utils/ScopedValueGuard.h" #include <QAbstractListModel> #include <QItemSelectionModel> #include <QVariant> namespace DAVA { namespace ListViewDetails { class ListModel : public QAbstractListModel { public: int rowCount(const QModelIndex& parent) const override ...
29.986111
134
0.653543
[ "vector", "model" ]
987ffa9d5f73c55edf5131a271497e0836129580
2,901
cpp
C++
src/app4.cpp
buxtonpaul/raytrace_challenge
2b19e95f410ee3b0d1b33992bbf4715f6647c6f1
[ "MIT" ]
1
2021-06-06T03:41:52.000Z
2021-06-06T03:41:52.000Z
src/app4.cpp
buxtonpaul/raytrace_challenge
2b19e95f410ee3b0d1b33992bbf4715f6647c6f1
[ "MIT" ]
null
null
null
src/app4.cpp
buxtonpaul/raytrace_challenge
2b19e95f410ee3b0d1b33992bbf4715f6647c6f1
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include "camera.h" #include "canvas.h" #include "color.h" #include "light.h" #include "material.h" #include "matrix.h" #include "rays.h" #include "sphere.h" #include "tuples.h" #include "world.h" #include "pattern.h" using namespace ray_lib; int main(int argc, char *argv[]) { ...
30.861702
80
0.636332
[ "render", "vector", "transform" ]
9884cb31454ecf39c7eda08179d3edf624ce7295
16,530
cpp
C++
dllmain/FilterXXFixes.cpp
emoose/re4_tweaks
4d324c7b66f627d4505a5d142146129c0c3daa3b
[ "Zlib" ]
null
null
null
dllmain/FilterXXFixes.cpp
emoose/re4_tweaks
4d324c7b66f627d4505a5d142146129c0c3daa3b
[ "Zlib" ]
1
2022-03-03T14:43:49.000Z
2022-03-03T14:43:49.000Z
dllmain/FilterXXFixes.cpp
emoose/re4_tweaks
4d324c7b66f627d4505a5d142146129c0c3daa3b
[ "Zlib" ]
1
2022-02-18T16:23:58.000Z
2022-02-18T16:23:58.000Z
#include <iostream> #include "stdafx.h" #include "dllmain.h" #include "Settings.h" #include "Logging/Logging.h" struct Filter01Params { void* OtHandle; // OT = render pass or something int Distance; float AlphaLevel; uint8_t FocusMode; uint8_t UnkD; // if set then it uses code-path with constant 4-pass loop, else...
38.263889
217
0.708469
[ "render", "3d" ]
988d4c7ef2271eb5e9d28646d7db056aa2c7f535
1,681
hpp
C++
include/core/Array.hpp
lzubiaur/godot-cpp
2a4e82b77ea69a3c6dc1ad8117f0019a5adf5cef
[ "MIT" ]
2
2021-11-08T02:44:44.000Z
2021-11-08T09:41:06.000Z
include/core/Array.hpp
lzubiaur/godot-cpp
2a4e82b77ea69a3c6dc1ad8117f0019a5adf5cef
[ "MIT" ]
null
null
null
include/core/Array.hpp
lzubiaur/godot-cpp
2a4e82b77ea69a3c6dc1ad8117f0019a5adf5cef
[ "MIT" ]
null
null
null
#ifndef ARRAY_H #define ARRAY_H #include <gdnative/array.h> #include "Defs.hpp" #include "String.hpp" namespace godot { class Variant; class PoolByteArray; class PoolIntArray; class PoolRealArray; class PoolStringArray; class PoolVector2Array; class PoolVector3Array; class PoolColorArray; class Object; class Arra...
15.71028
53
0.711481
[ "object" ]
988dfbf4aaa3139c3dad53f7a8f802946c3727da
6,380
cpp
C++
src/realRosClass.cpp
CVH95/Canyonero_ROS_controller
8fbe3dcb79086ac9c753b664e75fabc8f53b27a5
[ "MIT" ]
null
null
null
src/realRosClass.cpp
CVH95/Canyonero_ROS_controller
8fbe3dcb79086ac9c753b664e75fabc8f53b27a5
[ "MIT" ]
null
null
null
src/realRosClass.cpp
CVH95/Canyonero_ROS_controller
8fbe3dcb79086ac9c753b664e75fabc8f53b27a5
[ "MIT" ]
null
null
null
/* CANYONERO */ // ROS Controller // MSG generation to communicate with GPIOs #include "realRosClass.h" // Costructor realRosClass::realRosClass() { cout << "CANYONERO" << endl << endl; cout << "Creating a new node..." << endl << endl; } // Destructor realRosClass::~realRosClass() { ROS_INFO("ROS nod...
18.931751
130
0.620846
[ "object" ]
9892013dc33af1af47e9ae709ba173a08b2b7261
17,539
hpp
C++
interface/coroutine/channel.hpp
lanza/coroutine
c90caab988f96997f5bc1bd6f1958b80524fa14a
[ "CC-BY-4.0" ]
368
2018-11-22T22:57:04.000Z
2022-03-31T04:04:54.000Z
interface/coroutine/channel.hpp
lanza/coroutine
c90caab988f96997f5bc1bd6f1958b80524fa14a
[ "CC-BY-4.0" ]
35
2018-11-09T04:38:20.000Z
2022-01-27T01:10:02.000Z
interface/coroutine/channel.hpp
lanza/coroutine
c90caab988f96997f5bc1bd6f1958b80524fa14a
[ "CC-BY-4.0" ]
29
2018-12-26T14:03:47.000Z
2022-02-11T17:36:55.000Z
/** * @file coroutine/channel.hpp * @author github.com/luncliff (luncliff@gmail.com) * @copyright CC BY 4.0 * * @brief C++ Coroutines based channel. It's a simplified form of the channel in The Go Language */ #pragma once #ifndef LUNCLIFF_COROUTINE_CHANNEL_HPP #define LUNCLIFF_COROUTINE_CHANNEL_HPP #include <mu...
31.773551
114
0.634244
[ "object" ]
98956b2411d075211fdefe58623594efd7cd6f03
2,887
cpp
C++
src/main.cpp
pc2/ConvFPGA
7fea531cd4e2f7f820513007a1cdd28d94d37b17
[ "MIT" ]
null
null
null
src/main.cpp
pc2/ConvFPGA
7fea531cd4e2f7f820513007a1cdd28d94d37b17
[ "MIT" ]
null
null
null
src/main.cpp
pc2/ConvFPGA
7fea531cd4e2f7f820513007a1cdd28d94d37b17
[ "MIT" ]
2
2022-03-30T20:09:47.000Z
2022-03-30T20:15:09.000Z
// Arjun Ramaswami #include <iostream> #include "helper.hpp" #include "fft_conv3D.hpp" extern "C"{ #include "convfpga/convfpga.h" } using namespace std; int main(int argc, char* argv[]){ CONFIG conv_config; parse_args(argc, argv, conv_config); print_config(conv_config); if(conv_config.cpuonly){ #ifdef U...
26.981308
89
0.656044
[ "3d" ]
9896e1b2aa19dc12ebb67b095039115da12de96e
79,724
cpp
C++
GCG_Source.build/module.django.core.checks.templates.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.django.core.checks.templates.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
GCG_Source.build/module.django.core.checks.templates.cpp
Pckool/GCG
cee786d04ea30f3995e910bca82635f442b2a6a8
[ "MIT" ]
null
null
null
/* Generated code for Python source for module 'django.core.checks.templates' * created by Nuitka version 0.5.28.2 * * This code is in part copyright 2017 Kay Hayen. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
34.632493
283
0.727058
[ "object" ]
9898de56dad402754e54bc77853b9e530e05abfc
867
cpp
C++
solution/minimum_spanning_tree/1368/main.cpp
imnotmoon/baekjoon
07e7f95316dcc578d065eb384553ae09530f95ac
[ "MIT" ]
1
2021-05-25T11:24:35.000Z
2021-05-25T11:24:35.000Z
solution/minimum_spanning_tree/1368/main.cpp
imnotmoon/baekjoon
07e7f95316dcc578d065eb384553ae09530f95ac
[ "MIT" ]
null
null
null
solution/minimum_spanning_tree/1368/main.cpp
imnotmoon/baekjoon
07e7f95316dcc578d065eb384553ae09530f95ac
[ "MIT" ]
2
2021-09-18T05:47:41.000Z
2021-12-30T14:42:27.000Z
#include<bits/stdc++.h> using namespace std; typedef long long ll; int uf[303]; int find(int x) { if(uf[x] < 0) return x; return uf[x] = find(uf[x]); } bool merge(int a, int b) { a = find(a); b = find(b); if(a == b)return false; uf[b] = a; return true; } int main(){ ios::sync_with_s...
17.693878
37
0.456747
[ "vector" ]
989a3b2c2840f1d783f6e7684b68206fe7eb3299
15,117
hpp
C++
include/morphotree/attributes/smoothnessContourComputer.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
include/morphotree/attributes/smoothnessContourComputer.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
3
2022-03-23T19:16:08.000Z
2022-03-28T00:40:19.000Z
include/morphotree/attributes/smoothnessContourComputer.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
#pragma #include "morphotree/core/alias.hpp" #include "morphotree/attributes/attributeComputer.hpp" #include "morphotree/core/box.hpp" #include "morphotree/core/point.hpp" // Implementation based on // Connected Attribute Filtering Based on Contour Smoothness // G. K. Ouzounis, E. R. Urbach, M. H. F. Wilkison name...
35.320093
123
0.614805
[ "vector" ]
f0f68ff6ca92686c6628bc0397cf6969aafbb1a3
12,297
cpp
C++
catkin_ws/src/srrg2_core/srrg2_core/tests/test_message_sources.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_core/srrg2_core/tests/test_message_sources.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_core/srrg2_core/tests/test_message_sources.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
#include "srrg_messages/instances.h" #include <srrg_data_structures/platform.h> #include <srrg_messages/instances.h> #include <srrg_messages/messages/grid_map_message.h> #include <srrg_property/property_container.h> #include <srrg_messages/messages/imu_message.h> #include <srrg_messages/messages/joints_message.h> #incl...
45.884328
92
0.773847
[ "vector" ]
f0f7b50cbd3d59226931c26e590dbb54025e5be7
2,997
hpp
C++
IO/src/av/include/hwDevice.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
IO/src/av/include/hwDevice.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
IO/src/av/include/hwDevice.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
/* ****************************************************************************** *\ INTEL CORPORATION PROPRIETARY INFORMATION This software is supplied under the terms of a license agreement or nondisclosure agreement with Intel Corporation and may not be copied or disclosed except in accordance with the terms of tha...
36.54878
107
0.585919
[ "render" ]
f0feb3f4834dafed79a1c65228e9e56851a3e870
51,379
cpp
C++
dev/Code/Framework/Tests/ComponentAddRemove.cpp
stickyparticles/lumberyard
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
2
2018-03-29T10:56:36.000Z
2020-12-12T15:28:14.000Z
dev/Code/Framework/Tests/ComponentAddRemove.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/Framework/Tests/ComponentAddRemove.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
3
2019-05-13T09:41:33.000Z
2021-04-09T12:12:38.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
48.839354
205
0.698223
[ "vector" ]
0b038b3e1c30b43bdbe3a33aa5132d8444f39130
2,975
cpp
C++
third-party/llvm/llvm-src/lib/Analysis/ReleaseModeModelRunner.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
250
2019-05-07T12:56:44.000Z
2022-03-10T15:52:06.000Z
third-party/llvm/llvm-src/lib/Analysis/ReleaseModeModelRunner.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
410
2019-06-06T20:52:32.000Z
2022-01-18T14:21:48.000Z
third-party/llvm/llvm-src/lib/Analysis/ReleaseModeModelRunner.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
50
2019-05-10T21:12:24.000Z
2022-01-21T06:39:47.000Z
//===- ReleaseModeModelRunner.cpp - Fast, precompiled model runner -------===// // // 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 // //===---------------------------...
32.692308
80
0.702521
[ "vector", "model" ]
0b0ab91e3cc35ae98bf9d1a7335e5a87a2386f45
7,593
cpp
C++
Src/oDropDown.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
1
2018-08-09T23:44:54.000Z
2018-08-09T23:44:54.000Z
Src/oDropDown.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
2
2015-01-20T03:51:53.000Z
2020-03-27T04:45:38.000Z
Src/oDropDown.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
1
2018-09-13T05:07:08.000Z
2018-09-13T05:07:08.000Z
/* * omnis.xcomp.widget * =================== * * oDropDown.cpp * Source for our dropdown list object * * Omnis' drop down build in dropdown list now supports styled text but it seems lacking * I've also needed a proper multi select dropdown list control for awhile where we * can show which lines are se...
32.310638
171
0.611748
[ "object" ]
0b0c1372db29104da072ad034a75af98cf6953b1
1,476
cpp
C++
interviewPractice/sortLLof012s.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
interviewPractice/sortLLof012s.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
interviewPractice/sortLLof012s.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define fori(i,a,b) for (long int i = a; i <= b ; ++i) #define ford(i,a,b) for(long int i = a;i >= b ; --i) #define mk make_pair #define mod 1000000007 #define pb push_back #define ll long long #define rnd mt19937_64 rng(chrono::high_resolution_clock::now().time_since_epoch...
15.216495
91
0.53252
[ "vector" ]
0b0f22a6fb7dce4b9072fca16fc1094a5867a7a9
5,062
cpp
C++
Code/Framework/AzToolsFramework/Tests/Entity/EditorEntityContextComponentTests.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T12:39:24.000Z
2021-07-20T12:39:24.000Z
Code/Framework/AzToolsFramework/Tests/Entity/EditorEntityContextComponentTests.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzToolsFramework/Tests/Entity/EditorEntityContextComponentTests.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzTest/AzTest.h> #include <AzCore/UserSettings/UserSettingsComponent.h> #include <AzToolsF...
44.79646
158
0.697155
[ "3d" ]
0b10ad7ccdb6689ed63df12d099af4394b772250
5,146
cpp
C++
aws-cpp-sdk-inspector/source/model/NoSuchEntityErrorCode.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
1
2020-07-16T19:03:13.000Z
2020-07-16T19:03:13.000Z
aws-cpp-sdk-inspector/source/model/NoSuchEntityErrorCode.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-inspector/source/model/NoSuchEntityErrorCode.cpp
ploki/aws-sdk-cpp
17074e3e48c7411f81294e2ee9b1550c4dde842c
[ "Apache-2.0" ]
1
2021-10-01T15:29:44.000Z
2021-10-01T15:29:44.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
41.837398
130
0.698601
[ "model" ]
0b1483aa0a812ce9589d67e146c4e73939d9c8bb
6,652
cpp
C++
libs/spirit/test/karma/pattern.cpp
oudream/boost_1_42_0
e92227bf374e478030e89876ec353de6eecaeac0
[ "BSL-1.0" ]
3
2019-06-25T23:20:19.000Z
2021-03-14T19:38:34.000Z
libs/spirit/test/karma/pattern.cpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
libs/spirit/test/karma/pattern.cpp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
3
2016-07-26T08:07:09.000Z
2019-06-25T23:20:21.000Z
// Copyright (c) 2001-2010 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/config/warning_disable.hpp> #include <boost/detail/lightweight_test.hpp> #include <boost/spirit/inclu...
30.796296
89
0.558779
[ "vector" ]
0b18d11930ef2cfee2d9e8a53b5973665702a52d
9,758
cpp
C++
automated-tests/src/dali-toolkit-internal/utc-Dali-TextEditor-internal.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
7
2016-11-18T10:26:51.000Z
2021-01-28T13:51:59.000Z
automated-tests/src/dali-toolkit-internal/utc-Dali-TextEditor-internal.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
13
2020-07-15T11:33:03.000Z
2021-04-09T21:29:23.000Z
automated-tests/src/dali-toolkit-internal/utc-Dali-TextEditor-internal.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
10
2019-05-17T07:15:09.000Z
2021-05-24T07:28:08.000Z
/* * Copyright (c) 2021 Samsung Electronics 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...
32.418605
179
0.767575
[ "render", "vector" ]
0b1ab5e96ab9a081c739ac81de3319efc077d05e
5,394
hpp
C++
stan/math/prim/scal/prob/frechet_lpdf.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/scal/prob/frechet_lpdf.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/scal/prob/frechet_lpdf.hpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_PRIM_SCAL_PROB_FRECHET_LPDF_HPP #define STAN_MATH_PRIM_SCAL_PROB_FRECHET_LPDF_HPP #include <boost/random/weibull_distribution.hpp> #include <boost/random/variate_generator.hpp> #include <stan/math/prim/scal/meta/operands_and_partials.hpp> #include <stan/math/prim/scal/err/check_consistent_sizes.hpp> ...
40.253731
80
0.692807
[ "shape" ]
0b1ce7d431b2f60765e9d764586638d28158614f
1,021
hh
C++
TEvtGen/EvtGen/EvtGenBase/EvtAmpIndex.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
TEvtGen/EvtGen/EvtGenBase/EvtAmpIndex.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
TEvtGen/EvtGen/EvtGenBase/EvtAmpIndex.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
19.634615
76
0.572968
[ "vector" ]
0b22c393b393f7da2b22f25c20822ae3e9abad49
870
cpp
C++
202011/17/_654_MaximumBinaryTree.cpp
uaniheng/leetcode-cpp
d7b4c9ef43cca8ecb703da5a910d79af61eb3394
[ "Apache-2.0" ]
null
null
null
202011/17/_654_MaximumBinaryTree.cpp
uaniheng/leetcode-cpp
d7b4c9ef43cca8ecb703da5a910d79af61eb3394
[ "Apache-2.0" ]
null
null
null
202011/17/_654_MaximumBinaryTree.cpp
uaniheng/leetcode-cpp
d7b4c9ef43cca8ecb703da5a910d79af61eb3394
[ "Apache-2.0" ]
null
null
null
// // Created by gyc on 2020/11/17. // #include "../../common.h" class Solution { private: TreeNode *build(vector<int> &nums, int begin, int end) { if (begin >= end) { return nullptr; } else { auto max = max_element(nums.begin() + begin, nums.begin() + end); int ...
22.307692
77
0.527586
[ "vector" ]
0b34291b72ea6235c5db347c236925b5531e620e
2,416
cpp
C++
MoravaEngine/src/Platform/DX11/DX11PixelShader.cpp
dtrajko/MoravaEngine
dab8a9e84bde6bdb5e979596c29cabccb566b9d4
[ "Apache-2.0" ]
168
2020-07-18T04:20:27.000Z
2022-03-31T23:39:38.000Z
MoravaEngine/src/Platform/DX11/DX11PixelShader.cpp
dtrajko/MoravaEngine
dab8a9e84bde6bdb5e979596c29cabccb566b9d4
[ "Apache-2.0" ]
5
2020-11-23T12:33:06.000Z
2022-01-05T15:15:30.000Z
MoravaEngine/src/Platform/DX11/DX11PixelShader.cpp
dtrajko/MoravaEngine
dab8a9e84bde6bdb5e979596c29cabccb566b9d4
[ "Apache-2.0" ]
8
2020-09-07T03:04:18.000Z
2022-03-25T13:47:16.000Z
#include "DX11PixelShader.h" #include "DX11Context.h" #include <exception> DX11PixelShader::DX11PixelShader(const wchar_t* pixelShaderPath) { ID3D11Device* dx11Device = DX11Context::Get()->GetDX11Device(); CompileDX11Shader(pixelShaderPath); HRESULT hr = dx11Device->CreatePixelShader(m_BytecodePointer, m_Bytec...
26.844444
118
0.750414
[ "vector" ]
0b367a643ea15ccbdeaf25c0ac170df3a05c78cd
7,936
cc
C++
acc_unit_test/acc_unit_test.cc
gicLAB/SECDA
5ee8ec5032657ddd05798e98075e654bdd5a0041
[ "Apache-2.0" ]
5
2021-09-30T14:22:49.000Z
2022-03-01T01:24:03.000Z
acc_unit_test/acc_unit_test.cc
gicLAB/SECDA
5ee8ec5032657ddd05798e98075e654bdd5a0041
[ "Apache-2.0" ]
1
2022-02-03T01:07:53.000Z
2022-02-03T01:07:53.000Z
acc_unit_test/acc_unit_test.cc
gicLAB/SECDA
5ee8ec5032657ddd05798e98075e654bdd5a0041
[ "Apache-2.0" ]
1
2022-01-27T13:15:06.000Z
2022-01-27T13:15:06.000Z
#include <fcntl.h> #include <getopt.h> #include <sys/time.h> #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #include <sys/stat.h> #include <iostream> #include <sys/mman.h> #include <fstream> #include <cstdio> #include <string> #include <vector> #include "helper.h" bool file_check(const std::strin...
41.333333
136
0.583669
[ "vector" ]
0b3b408b54fe0e292bfff2b20aae920d89ddd30c
5,177
hpp
C++
s32v234_sdk/libs/apexcv_pro/hough/graphs/hough_10x4_graph.hpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
null
null
null
s32v234_sdk/libs/apexcv_pro/hough/graphs/hough_10x4_graph.hpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
null
null
null
s32v234_sdk/libs/apexcv_pro/hough/graphs/hough_10x4_graph.hpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
2
2021-01-21T02:06:16.000Z
2021-01-28T10:47:37.000Z
/***************************************************************************** * * NXP Confidential Proprietary * * Copyright (c) 2014-2016 Freescale Semiconductor * Copyright 2017-2018 NXP * All Rights Reserved * ****************************************************************************** * * THIS SOFTWARE IS PROV...
43.872881
105
0.647672
[ "transform" ]
0b5688757d632b6ba54667c0bc7640374d11da7e
3,300
cpp
C++
Semantic/SymbolTable/Entries/Function.cpp
mori-ahk/Sky
b8b27a3d5e63905c95d2305ee931821737a56d12
[ "MIT" ]
1
2020-04-29T02:11:42.000Z
2020-04-29T02:11:42.000Z
Semantic/SymbolTable/Entries/Function.cpp
mori-ahk/Sky
b8b27a3d5e63905c95d2305ee931821737a56d12
[ "MIT" ]
null
null
null
Semantic/SymbolTable/Entries/Function.cpp
mori-ahk/Sky
b8b27a3d5e63905c95d2305ee931821737a56d12
[ "MIT" ]
null
null
null
// // Created by Morteza Ahmadi on 2020-03-05. // #include "Function.h" #include <utility> #include "../../Error/Error.h" Function::Function(Enums::Visibility visibility, std::string name, std::string returnType, std::vector<Variable *> params, std::vector<Variable *> localVars, int position) { ...
26.190476
122
0.627273
[ "vector" ]
0b5b60a8165abf0aa281365599b2e5d28616df9b
4,549
cc
C++
tensorflow/contrib/lite/kernels/transpose_test.cc
jhabikal21/tensorflow
98d20962172301385aae694141801a375debd2bc
[ "Apache-2.0" ]
null
null
null
tensorflow/contrib/lite/kernels/transpose_test.cc
jhabikal21/tensorflow
98d20962172301385aae694141801a375debd2bc
[ "Apache-2.0" ]
null
null
null
tensorflow/contrib/lite/kernels/transpose_test.cc
jhabikal21/tensorflow
98d20962172301385aae694141801a375debd2bc
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 The TensorFlow 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 a...
34.462121
80
0.588261
[ "shape", "vector", "transform" ]
0b5ca96bf4050d1df8d93a47457efa14ae1bfa84
4,523
cpp
C++
inference-engine/tools/calibration_tool/statistics_collector/data_stats.cpp
zhoub/dldt
e42c01cf6e1d3aefa55e2c5df91f1054daddc575
[ "Apache-2.0" ]
null
null
null
inference-engine/tools/calibration_tool/statistics_collector/data_stats.cpp
zhoub/dldt
e42c01cf6e1d3aefa55e2c5df91f1054daddc575
[ "Apache-2.0" ]
null
null
null
inference-engine/tools/calibration_tool/statistics_collector/data_stats.cpp
zhoub/dldt
e42c01cf6e1d3aefa55e2c5df91f1054daddc575
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <stdlib.h> #include <cfloat> #include <cmath> #include <iostream> #include <limits> #include <vector> #include <algorithm> #include <stdint.h> #include <string> #include "data_stats.hpp" //----- dataStats -----// void dataStat...
29.953642
123
0.619721
[ "vector" ]
0b60f7df115bc34086bc287a720aca38fe43c811
267
cpp
C++
String reverse.cpp
jahnvisrivastava100/Leetcode-Solutions
d3acdb1fac94afc704c233235c8914004fe4c846
[ "CC0-1.0" ]
null
null
null
String reverse.cpp
jahnvisrivastava100/Leetcode-Solutions
d3acdb1fac94afc704c233235c8914004fe4c846
[ "CC0-1.0" ]
null
null
null
String reverse.cpp
jahnvisrivastava100/Leetcode-Solutions
d3acdb1fac94afc704c233235c8914004fe4c846
[ "CC0-1.0" ]
null
null
null
class Solution { public: void rev(vector<char>& s,int l,int n){ if(l>=n){ return; } rev(s,l+1,n-1); swap(s[l],s[n]); } void reverseString(vector<char>& s) { rev(s,0,(size(s)-1)); } };
14.833333
42
0.411985
[ "vector" ]
0b6b823d66fd0580c943857f17916908185984b9
2,923
cpp
C++
Engine/Source/Developer/FunctionalTesting/Private/GroundTruthData.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Developer/FunctionalTesting/Private/GroundTruthData.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Developer/FunctionalTesting/Private/GroundTruthData.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "GroundTruthData.h" #include "UObject/UnrealType.h" #include "UObject/Package.h" #include "Misc/PackageName.h" #include "AssetData.h" #if WITH_EDITOR #include "ISourceControlModule.h" #include "ISourceControlProvider.h" #include "ISourceControlOpe...
28.105769
221
0.767362
[ "object" ]
0b6c16dc79382ce2a7ab00814bf1bb34449438fb
1,420
cpp
C++
test/record/init.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
test/record/init.cpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
test/record/init.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <fcppt/catch/begin.hpp> #include <fcppt/catch/end.hpp> #include <fcppt/record/comparison.h...
24.482759
82
0.732394
[ "object" ]
0b83b8ba99d052557c75c0457e12e66574c50747
1,853
cc
C++
SimCalorimetry/EcalTrigPrimAlgos/src/EcalFenixMaxof2.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
SimCalorimetry/EcalTrigPrimAlgos/src/EcalFenixMaxof2.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
SimCalorimetry/EcalTrigPrimAlgos/src/EcalFenixMaxof2.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include <SimCalorimetry/EcalTrigPrimAlgos/interface/EcalFenixMaxof2.h> // global type definitions for class implementation in source file defined by // Tag entries in ArgoUML Result: typedef <typedef_global_source> <tag_value>; EcalFenixMaxof2::EcalFenixMaxof2(int maxNrSamples, int nbMaxStrips) : nbMaxStrips_(nbMaxSt...
37.816327
117
0.619536
[ "vector" ]
0b9ecf588e8b25ae01a10a913e9e1051f36377e8
3,453
cpp
C++
plugins/core/client/src/Madgine/render/rendertarget.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
5
2018-05-16T14:09:34.000Z
2019-10-24T19:01:15.000Z
plugins/core/client/src/Madgine/render/rendertarget.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
71
2017-06-20T06:41:42.000Z
2021-01-11T11:18:53.000Z
plugins/core/client/src/Madgine/render/rendertarget.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
2
2018-05-16T13:57:25.000Z
2018-05-16T13:57:51.000Z
#include "../clientlib.h" #include "rendercontext.h" #include "renderpass.h" #include "rendertarget.h" #include "Meta/keyvalue/metatable_impl.h" #include "gpumeshloader.h" #include "meshdata.h" METATABLE_BEGIN(Engine::Render::RenderTarget) METATABLE_END(Engine::Render::RenderTarget) namespace Engine { namespace R...
25.021739
166
0.562699
[ "render", "vector" ]
0ba3fdbb2c9dd9f295484a3fc343b90b17e421a4
1,198
cc
C++
textQuery/v3/TextQuery.cc
snow-tyan/learn-cpp
ecab0fae7999005ed7fdb60ff4954b4014b2c2e6
[ "MulanPSL-1.0" ]
null
null
null
textQuery/v3/TextQuery.cc
snow-tyan/learn-cpp
ecab0fae7999005ed7fdb60ff4954b4014b2c2e6
[ "MulanPSL-1.0" ]
null
null
null
textQuery/v3/TextQuery.cc
snow-tyan/learn-cpp
ecab0fae7999005ed7fdb60ff4954b4014b2c2e6
[ "MulanPSL-1.0" ]
null
null
null
#include "TextQuery.hh" #include <ctype.h> #include <sstream> TextQuery::TextQuery(ifstream &ifs) : _file(new vector<string>) { string line; int lineNum = 0; while (getline(ifs, line)) { _file->push_back(line); ++lineNum; istringstream iss(line); string word; ...
24.44898
73
0.5601
[ "vector" ]
2438e3340259fa3b5098d940c86680eb6e77ed84
8,236
cpp
C++
examples/nn/4_NLP/5_nlp_text_generation.cpp
lauracanalini/eddl
c5efac642e8e1f99b31dfaaacd0a5a058b09923b
[ "MIT" ]
null
null
null
examples/nn/4_NLP/5_nlp_text_generation.cpp
lauracanalini/eddl
c5efac642e8e1f99b31dfaaacd0a5a058b09923b
[ "MIT" ]
null
null
null
examples/nn/4_NLP/5_nlp_text_generation.cpp
lauracanalini/eddl
c5efac642e8e1f99b31dfaaacd0a5a058b09923b
[ "MIT" ]
null
null
null
/* * EDDL Library - European Distributed Deep Learning Library. * Version: 1.0 * copyright (c) 2021, Universitat Politècnica de València (UPV), PRHLT Research Centre * Date: November 2021 * Author: PRHLT Research Centre, UPV, (rparedes@prhlt.upv.es), (jon@prhlt.upv.es) * All rights reserved */ #include <cstdio> #inclu...
25.109756
89
0.538854
[ "shape", "vector", "model" ]
243cd90d0f4402c14796b6a6530b23631bb65867
19,637
cpp
C++
test/testprevalidation.cpp
evgeniums/cpp-validator
e4feccdce19c249369ddb631571b60613926febd
[ "BSL-1.0" ]
27
2020-09-18T13:45:33.000Z
2022-03-16T21:14:37.000Z
test/testprevalidation.cpp
evgeniums/cpp-validator
e4feccdce19c249369ddb631571b60613926febd
[ "BSL-1.0" ]
7
2020-08-07T21:48:14.000Z
2021-01-14T12:25:37.000Z
test/testprevalidation.cpp
evgeniums/cpp-validator
e4feccdce19c249369ddb631571b60613926febd
[ "BSL-1.0" ]
1
2021-03-30T09:17:58.000Z
2021-03-30T09:17:58.000Z
#include <set> #include <iterator> #include <boost/test/unit_test.hpp> #include <dracosha/validator/validator.hpp> #include <dracosha/validator/adapters/prevalidation_adapter.hpp> #include <dracosha/validator/prevalidation/set_validated.hpp> namespace hana=boost::hana; namespace { DRACOSHA_VALIDATOR_PROPERTY(val1)...
33.798623
125
0.639864
[ "object", "vector" ]
243eb5560001976771faecdc640eb682be093a0f
4,262
hpp
C++
thirdparty/hiir-1.33/hiir/test/TestPhaseHalfPi.hpp
jpcima/spectacle
540d98ac381400bbf58084e3434cb4f300ad7232
[ "0BSD" ]
44
2020-04-16T19:20:00.000Z
2022-02-27T00:10:13.000Z
thirdparty/hiir-1.33/hiir/test/TestPhaseHalfPi.hpp
jpcima/spectacle
540d98ac381400bbf58084e3434cb4f300ad7232
[ "0BSD" ]
18
2020-04-16T03:28:55.000Z
2021-11-15T19:49:12.000Z
thirdparty/hiir-1.33/hiir/test/TestPhaseHalfPi.hpp
jpcima/spectral
540d98ac381400bbf58084e3434cb4f300ad7232
[ "0BSD" ]
3
2020-04-16T01:22:48.000Z
2021-08-10T20:34:30.000Z
/***************************************************************************** TestPhaseHalfPi.hpp Author: Laurent de Soras, 2005 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify...
24.923977
153
0.556781
[ "vector" ]
2446456f74990856453db5c97a9e07882bbdf731
10,192
cc
C++
ash/shelf/login_shelf_gesture_controller.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/shelf/login_shelf_gesture_controller.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/shelf/login_shelf_gesture_controller.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2020 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 "ash/shelf/login_shelf_gesture_controller.h" #include "ash/session/session_controller_impl.h" #include "ash/shelf/contextual_nudge.h" #include "...
34.666667
80
0.736362
[ "transform" ]
2448f3fa98abd2d666f057fef80156d2f4ec41ec
1,484
cc
C++
compiler_gym/envs/llvm/service/ActionSpace.cc
sahirgomez1/CompilerGym
9987fbdfcf8ac9af076baf0ffd695e48f0e804cf
[ "MIT" ]
562
2020-12-21T14:10:20.000Z
2022-03-31T21:23:55.000Z
compiler_gym/envs/llvm/service/ActionSpace.cc
sahirgomez1/CompilerGym
9987fbdfcf8ac9af076baf0ffd695e48f0e804cf
[ "MIT" ]
433
2020-12-22T03:40:41.000Z
2022-03-31T18:16:17.000Z
compiler_gym/envs/llvm/service/ActionSpace.cc
sahirgomez1/CompilerGym
9987fbdfcf8ac9af076baf0ffd695e48f0e804cf
[ "MIT" ]
88
2020-12-22T08:22:00.000Z
2022-03-20T19:00:40.000Z
// Copyright (c) Facebook, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. #include "compiler_gym/envs/llvm/service/ActionSpace.h" #include <fmt/format.h> #include <magic_enum.hpp> #include "compiler_gym/util/En...
33.727273
89
0.703504
[ "vector" ]
244b46f76283d82ef19f223d901007dad5d52459
2,449
hpp
C++
src/utils/input_reads_profiler.hpp
Schaudge/octopus
d0cc5d0840aefdfefae5af8595e3330620106054
[ "MIT" ]
278
2016-10-03T16:30:49.000Z
2022-03-25T05:59:32.000Z
src/utils/input_reads_profiler.hpp
Schaudge/octopus
d0cc5d0840aefdfefae5af8595e3330620106054
[ "MIT" ]
229
2016-10-13T14:07:35.000Z
2022-03-19T18:59:58.000Z
src/utils/input_reads_profiler.hpp
Schaudge/octopus
d0cc5d0840aefdfefae5af8595e3330620106054
[ "MIT" ]
37
2016-10-28T22:47:54.000Z
2022-03-20T07:28:43.000Z
// Copyright (c) 2015-2021 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #ifndef input_reads_profiler_hpp #define input_reads_profiler_hpp #include <cstddef> #include <vector> #include <iosfwd> #include <boost/optional.hpp> #include "config/common.hpp"...
30.6125
96
0.727236
[ "vector" ]
244c202c20d5da86dc50c75a805aeb8c4289d168
10,580
cpp
C++
PanelSwCustomActions/Telemetry.cpp
jozefizso/PanelSwWixExtension
08f1c9a803d94911d06f5d24d8dc43423b13aaa6
[ "Apache-2.0" ]
null
null
null
PanelSwCustomActions/Telemetry.cpp
jozefizso/PanelSwWixExtension
08f1c9a803d94911d06f5d24d8dc43423b13aaa6
[ "Apache-2.0" ]
null
null
null
PanelSwCustomActions/Telemetry.cpp
jozefizso/PanelSwWixExtension
08f1c9a803d94911d06f5d24d8dc43423b13aaa6
[ "Apache-2.0" ]
null
null
null
#include "Telemetry.h" #include "../CaCommon/WixString.h" #include <Winhttp.h> #pragma comment (lib, "Winhttp.lib") #define TELEMETRY_QUERY L"SELECT `Id`, `Url`, `Page`, `Method`, `Data`, `Flags`, `Condition` FROM `PSW_Telemetry`" enum TelemetryQuery { Id=1, Url=2, Page = 3, Method=4, Data=5, Flags=6, Conditio...
33.27044
125
0.711153
[ "object" ]
244d7f2f42bcb398c7348a8c2b7c6e299c87b920
1,181
cpp
C++
cf/Div2/D/Greg and Graph/Greg and Graph.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
cf/Div2/D/Greg and Graph/Greg and Graph.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
cf/Div2/D/Greg and Graph/Greg and Graph.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
#include<soi> #include <bits/stdc++.h> using namespace std; #define int long long #define rep(i,n) for (int i = 0; i < n; ++i) signed main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int INF = 1e11; int n; cin >> n; vector<vector<int>>dist(n, vector<int>(n, INF)); vector<vec...
21.472727
66
0.414056
[ "vector" ]
244e3bfbdf29d8f22aaa86537547b285d9a8a5b9
8,127
hpp
C++
openstudiocore/src/shared_gui_components/OSComboBox.hpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/shared_gui_components/OSComboBox.hpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/shared_gui_components/OSComboBox.hpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitt...
30.324627
124
0.665805
[ "vector", "model" ]
244eaa429b7eda0dc88bf5ed31c44f22078e6951
15,950
cpp
C++
indra/newview/llviewerjointattachment.cpp
SaladDais/LLUDP-Encryption
8a426cd0dd154e1a10903e0e6383f4deb2a6098a
[ "ISC" ]
1
2022-01-29T07:10:03.000Z
2022-01-29T07:10:03.000Z
indra/newview/llviewerjointattachment.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
null
null
null
indra/newview/llviewerjointattachment.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
1
2021-10-01T22:22:27.000Z
2021-10-01T22:22:27.000Z
/** * @file llviewerjointattachment.cpp * @brief Implementation of LLViewerJointAttachment class * * $LicenseInfo:firstyear=2002&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under...
30.208333
132
0.621818
[ "object" ]
2450a43b5602dc53f1536037a5e4fd5921c7702e
5,144
cc
C++
alljoyn/services/controlpanel/cpp/src/ControlPanelControlleeUnit.cc
octoblu/alljoyn
a74003fa25af1d0790468bf781a4d49347ec05c4
[ "ISC" ]
37
2015-01-18T21:27:23.000Z
2018-01-12T00:33:43.000Z
alljoyn/services/controlpanel/cpp/src/ControlPanelControlleeUnit.cc
octoblu/alljoyn
a74003fa25af1d0790468bf781a4d49347ec05c4
[ "ISC" ]
14
2015-02-24T11:44:01.000Z
2020-07-20T18:48:44.000Z
alljoyn/services/controlpanel/cpp/src/ControlPanelControlleeUnit.cc
octoblu/alljoyn
a74003fa25af1d0790468bf781a4d49347ec05c4
[ "ISC" ]
29
2015-01-23T16:40:52.000Z
2019-10-21T12:22:30.000Z
/****************************************************************************** * Copyright AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and th...
31.950311
98
0.6771
[ "vector" ]
245848d20d8b8f53d886974bf76dc3e3c54ccdee
5,074
cpp
C++
main.cpp
NoYavy/RPG
886ed348bc9c5159220921b8ef9ef9e8b721b456
[ "MIT" ]
null
null
null
main.cpp
NoYavy/RPG
886ed348bc9c5159220921b8ef9ef9e8b721b456
[ "MIT" ]
null
null
null
main.cpp
NoYavy/RPG
886ed348bc9c5159220921b8ef9ef9e8b721b456
[ "MIT" ]
null
null
null
/* * main.cpp * * Created on: 19.02.2022 * Author: Noyavy */ #include <ncurses.h> #include "main.h" #include "Player.h" #include "Room.h" #include "Interactable.h" #include "Text.h" #include "Item.h" #include "Portal.h" #include <iostream> using namespace std; int roomx; int roomy; Play...
30.023669
171
0.606031
[ "render" ]
245cb001f50eb89c4999459c3f5dad3a117070b3
1,526
cpp
C++
src/classwork/11_assign/vector.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-nikkig124
d68d1719698e574d1a8f9b159ac2b2079aa21025
[ "MIT" ]
null
null
null
src/classwork/11_assign/vector.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-nikkig124
d68d1719698e574d1a8f9b159ac2b2079aa21025
[ "MIT" ]
null
null
null
src/classwork/11_assign/vector.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-nikkig124
d68d1719698e574d1a8f9b159ac2b2079aa21025
[ "MIT" ]
null
null
null
#include "vector.h" //allocate dynamic memory for array of size //initalized all array elemenrts to 0 Vector::Vector(size_t sz) :size{ sz }, nums{ new int[sz] } { for (size_t i = 0; i < sz; ++i) { nums[i] = 0; } } //COPY CONSTRUCT //set ner class size to teh original array size //allocated a dyna...
17.54023
77
0.598296
[ "vector" ]
245dcdcb6f1d8d46e4a33d27bf5f65bf7d440d22
2,440
cpp
C++
globals.cpp
azarrias/zork
cf9fcf7e8f79e64f32efcef73fde5b7f986ff7c6
[ "FTL" ]
null
null
null
globals.cpp
azarrias/zork
cf9fcf7e8f79e64f32efcef73fde5b7f986ff7c6
[ "FTL" ]
null
null
null
globals.cpp
azarrias/zork
cf9fcf7e8f79e64f32efcef73fde5b7f986ff7c6
[ "FTL" ]
null
null
null
#include "globals.h" #include <string> #include <sstream> #include <vector> #include <unordered_set> #include <algorithm> #include <iostream> using namespace std; Style::Modifier stFgRed(Style::FG_RED); Style::Modifier stFgBlue(Style::FG_BLUE); Style::Modifier stFgYellow(Style::FG_YELLOW); Style::Modifier stBold(Styl...
30.886076
66
0.701639
[ "vector", "transform" ]
24601bdc6b7f5e1a26128123943b7a1f4bd77409
6,731
hh
C++
src/gui/plugins/plotting/Plotting.hh
knoedler/ign-gazebo
c37e4822c1cf59f7302358d0b4dc7b8ba3db5a1d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/gui/plugins/plotting/Plotting.hh
knoedler/ign-gazebo
c37e4822c1cf59f7302358d0b4dc7b8ba3db5a1d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/gui/plugins/plotting/Plotting.hh
knoedler/ign-gazebo
c37e4822c1cf59f7302358d0b4dc7b8ba3db5a1d
[ "ECL-2.0", "Apache-2.0" ]
1
2020-05-07T09:04:39.000Z
2020-05-07T09:04:39.000Z
/* * Copyright (C) 2020 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
39.133721
79
0.682662
[ "vector" ]
2461b24fedb742bfb1e1c8f47851d7bdd29d1682
14,593
cc
C++
bwidgets/bwPainter.cc
julianeisel/bWidgets
35695df104f77b35992013a5602adf2723ab1022
[ "MIT" ]
72
2018-03-26T20:13:47.000Z
2022-03-08T15:59:55.000Z
bwidgets/bwPainter.cc
julianeisel/bWidgets
35695df104f77b35992013a5602adf2723ab1022
[ "MIT" ]
12
2018-03-30T12:54:15.000Z
2021-05-30T23:33:01.000Z
bwidgets/bwPainter.cc
julianeisel/bWidgets
35695df104f77b35992013a5602adf2723ab1022
[ "MIT" ]
10
2018-03-26T23:04:06.000Z
2021-11-17T21:04:27.000Z
#include <algorithm> #include <cassert> #include <cmath> #include <iostream> #include "bwPaintEngine.h" #include "bwPoint.h" #include "bwPolygon.h" #include "bwRange.h" #include "bwStyle.h" #include "bwUtil.h" #include "bwWidgetBaseStyle.h" #include "bwPainter.h" namespace bWidgets { std::unique_ptr<bwPaintEngine> ...
30.465553
99
0.622353
[ "vector" ]
2462bed5a1740e5f765303c5488d6b7522605eaa
1,827
cpp
C++
plainECS/example_usage/main.cpp
NistBox/plainECS
e06c975d2658350165c22b31ef9d0c6253ac5284
[ "MIT" ]
1
2019-09-10T12:43:06.000Z
2019-09-10T12:43:06.000Z
plainECS/example_usage/main.cpp
NistBox/plainECS
e06c975d2658350165c22b31ef9d0c6253ac5284
[ "MIT" ]
null
null
null
plainECS/example_usage/main.cpp
NistBox/plainECS
e06c975d2658350165c22b31ef9d0c6253ac5284
[ "MIT" ]
null
null
null
#include <iostream> #include "ecs.h" #include "systems.h" #include "components.h" #ifdef _DEBUG #pragma comment(lib, "plainECS_Debug.lib") #else #pragma comment(lib, "plainECS_Release.lib") #endif /* Imagine a simple 1-dimentional world. Objects are born in the air, falls due to gravity and are removed from the wo...
20.761364
106
0.686371
[ "object" ]
2471159980402a6bdb6c9df1ef90a449b7e9de6b
1,775
cpp
C++
src/io/github/technicalnotes/programming/problems/29-01-2020/generatespiralmatrix.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/problems/29-01-2020/generatespiralmatrix.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
src/io/github/technicalnotes/programming/problems/29-01-2020/generatespiralmatrix.cpp
chiragbhatia94/programming-cpp
efd6aa901deacf416a3ab599e6599845a8111eac
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" using namespace std; void generateMatrix(int); void fill(vector<vector<int>> &, int, bool, int, bool); int main() { generateMatrix(4); } static int cell = 1; void generateMatrix(int A) { int rowSeq[A]; int colSeq[A]; vector<vector<int>> spiralMatrix; spiralMatrix.resize(A, std::ve...
17.929293
102
0.516056
[ "vector" ]
2471b1e0739f55506dc76d5ece4c25b3ab368007
2,923
hpp
C++
kv/cardano-ferrari.hpp
soonho-tri/kv
4963be6560d8600cdc9ff22d004b2b965ae7b1df
[ "MIT" ]
67
2017-01-04T15:30:54.000Z
2022-03-31T05:45:02.000Z
src/interval/kv/cardano-ferrari.hpp
takafumihoriuchi/HyLaGI
26b9f32a84611ee62d9cbbd903773d224088c959
[ "BSL-1.0" ]
4
2017-02-10T02:59:45.000Z
2019-10-10T14:17:08.000Z
src/interval/kv/cardano-ferrari.hpp
takafumihoriuchi/HyLaGI
26b9f32a84611ee62d9cbbd903773d224088c959
[ "BSL-1.0" ]
5
2021-09-29T02:27:46.000Z
2022-03-31T05:45:04.000Z
/* * Copyright (c) 2013-2014 Masahide Kashiwagi (kashi@waseda.jp) */ #ifndef CARDANO_HPP #define CARDANO_HPP // Solve polynomial equations of degree 3/4 // by Cardano/Ferrari's methods #include <kv/interval.hpp> #include <kv/rdouble.hpp> #include <kv/complex.hpp> #include <boost/numeric/ublas/vector.hpp> namespa...
22.658915
123
0.496066
[ "vector" ]
24724200e2614ea9982eaa731c4549d756a315bb
17,619
cpp
C++
Source/src/core/rendering/Skybox.cpp
AkitaInteractive/Hachiko-Engine
9d682ed7e00e1f6b889e6e73afa36f290cfb2222
[ "MIT" ]
4
2022-02-17T11:44:39.000Z
2022-03-10T02:20:05.000Z
Source/src/core/rendering/Skybox.cpp
AkitaInteractive/Hachiko-Engine
9d682ed7e00e1f6b889e6e73afa36f290cfb2222
[ "MIT" ]
26
2022-02-17T20:02:51.000Z
2022-03-31T22:52:14.000Z
Source/src/core/rendering/Skybox.cpp
AkitaInteractive/Hachiko-Engine
9d682ed7e00e1f6b889e6e73afa36f290cfb2222
[ "MIT" ]
null
null
null
#include "core/hepch.h" #include "Skybox.h" #include "modules/ModuleProgram.h" #include "components/ComponentCamera.h" #include "modules/ModuleResources.h" #include "modules/ModuleRender.h" #include "resources/ResourceTexture.h" #include "resources/ResourceSkybox.h" #include "MathGeoLib.h" Hachiko::Skybox::Skybox() ...
31.631957
178
0.632442
[ "render" ]
247f7b7d10529bbb886efd89d7d3f468af0862a4
6,694
cpp
C++
windows/pw6e.official/CPlusPlus/Chapter09/AnimationEaseGrapher/AnimationEaseGrapher/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:18:08.000Z
2016-11-23T08:18:08.000Z
windows/pw6e.official/CPlusPlus/Chapter09/AnimationEaseGrapher/AnimationEaseGrapher/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
null
null
null
windows/pw6e.official/CPlusPlus/Chapter09/AnimationEaseGrapher/AnimationEaseGrapher/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:17:34.000Z
2016-11-23T08:17:34.000Z
// // MainPage.xaml.cpp // Implementation of the MainPage class. // #include "pch.h" #include "MainPage.xaml.h" using namespace AnimationEaseGrapher; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::UI::Xaml; using...
39.146199
117
0.621153
[ "object" ]
2490d641ec0b12ddcc88ea1eb92128167ed8b357
1,670
hpp
C++
include/codegen/include/GlobalNamespace/EssentialHelpers.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/EssentialHelpers.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/EssentialHelpers.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "e...
37.954545
178
0.715569
[ "object" ]
24920f1d8cbf056fec19e71bdb39067b44208170
1,675
cpp
C++
src/module/base/Common/src/info/AbstractCondition.cpp
403712387/abstract
3c7be3a7866a4a202f9d3d7a69015e84d236fcc9
[ "MIT" ]
1
2020-04-28T03:04:40.000Z
2020-04-28T03:04:40.000Z
src/module/base/Common/src/info/AbstractCondition.cpp
403712387/abstract
3c7be3a7866a4a202f9d3d7a69015e84d236fcc9
[ "MIT" ]
null
null
null
src/module/base/Common/src/info/AbstractCondition.cpp
403712387/abstract
3c7be3a7866a4a202f9d3d7a69015e84d236fcc9
[ "MIT" ]
null
null
null
#include <sstream> #include "AbstractCondition.h" AbstractCondition::AbstractCondition(std::string url, std::set<AbstractType> type, AbstractModel model, int abstractCount) { mStreamUrl = url; mTypes = type; mModel = model; mAbstractCount = abstractCount; } // 获取流的url std::string AbstractCondition::ge...
24.632353
193
0.681791
[ "model" ]