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
effbb78d1b482ac51f09564be2d44b4f43186217
11,359
cc
C++
src/E2AP-c/subscription/subscription_handler.cc
o-ran-sc/ric-app-admin
0a168f272a81ac4c3afe42e014f8032f2a159d97
[ "Apache-2.0" ]
null
null
null
src/E2AP-c/subscription/subscription_handler.cc
o-ran-sc/ric-app-admin
0a168f272a81ac4c3afe42e014f8032f2a159d97
[ "Apache-2.0" ]
null
null
null
src/E2AP-c/subscription/subscription_handler.cc
o-ran-sc/ric-app-admin
0a168f272a81ac4c3afe42e014f8032f2a159d97
[ "Apache-2.0" ]
null
null
null
/* ================================================================================== Copyright (c) 2018-2019 AT&T Intellectual Property. 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 Licens...
31.640669
204
0.697421
[ "vector" ]
560d98a09ccdd795f109c15cb354c003ffdad83d
7,785
cpp
C++
bazaar/Map/MapView.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
bazaar/Map/MapView.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
bazaar/Map/MapView.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include "MapView.h" #define IMAGECLASS MapViewImg #define IMAGEFILE <Map/MapView.iml> #include <Draw/iml_source.h> #define SetButtonStyle(but,im1,im2) \ static Button::Style but##_style = Button::StyleNormal(); \ but##_style.look[0] = MapViewImg::im1(); \ but##_style.look[1] = MapViewImg::im1(...
24.55836
77
0.649326
[ "vector" ]
560f7ec0362fb7b8e89695714592f8fba933759b
1,588
hpp
C++
src/foreign_if/server/exrpc_pca.hpp
wmeddie/frovedis
c134e5e64114799cc7c265c72525ff98d06b49c1
[ "BSD-2-Clause" ]
null
null
null
src/foreign_if/server/exrpc_pca.hpp
wmeddie/frovedis
c134e5e64114799cc7c265c72525ff98d06b49c1
[ "BSD-2-Clause" ]
null
null
null
src/foreign_if/server/exrpc_pca.hpp
wmeddie/frovedis
c134e5e64114799cc7c265c72525ff98d06b49c1
[ "BSD-2-Clause" ]
null
null
null
#ifndef _EXRPC_PCA_HPP_ #define _EXRPC_PCA_HPP_ #include "frovedis.hpp" #include "frovedis/matrix/pca.hpp" #include "../exrpc/exrpc_expose.hpp" #include "pca_result.hpp" using namespace frovedis; template <class MATRIX, class T> pca_result frovedis_pca(exrpc_ptr_t& data_ptr, int& k, bool& is...
37.809524
87
0.698992
[ "vector" ]
56115fa1bb596dc35d7938ce26eb20c37a204b1e
6,057
cpp
C++
src/utils.cpp
mozman/ezdxf.cpp
09295f7dafe2a76253807fccd92560fd45eb97a5
[ "MIT" ]
2
2021-02-10T08:14:59.000Z
2021-12-09T08:55:01.000Z
src/utils.cpp
mozman/ezdxf.cpp
09295f7dafe2a76253807fccd92560fd45eb97a5
[ "MIT" ]
null
null
null
src/utils.cpp
mozman/ezdxf.cpp
09295f7dafe2a76253807fccd92560fd45eb97a5
[ "MIT" ]
1
2021-02-10T08:25:20.000Z
2021-02-10T08:25:20.000Z
// Copyright (c) 2020, Manfred Moitzi // License: MIT License // #include "ezdxf/utils.hpp" #include "ezdxf/tag/tag.hpp" #include <stdexcept> using namespace ezdxf::tag; namespace ezdxf::utils { // Source: https://stackoverflow.com/questions/216823/whats-the-best-way-to-trim-stdstring void ltrim(std::string ...
29.837438
95
0.489681
[ "vector" ]
5618e12186b0b6a95cdb8ce4e548c34a42a87611
1,349
cpp
C++
third_party/WebKit/Source/platform/geometry/FloatQuadTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/geometry/FloatQuadTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/geometry/FloatQuadTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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 "platform/geometry/FloatQuad.h" #include <limits> #include "platform/wtf/text/WTFString.h" #include "testing/gtest/include/gtest/gtest.h" names...
33.725
77
0.670867
[ "geometry" ]
5622a55c735aea1826a8c95c9b5ed541329bd679
7,269
cpp
C++
ace/tao/orbsvcs/orbsvcs/Time/tao_tio.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/Time/tao_tio.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tao/orbsvcs/orbsvcs/Time/tao_tio.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// -*- C++ -*- // TAO_TIO.cpp,v 1.16 2001/03/28 23:49:14 bala Exp #include "TAO_TIO.h" // Constructor. TAO_TIO::TAO_TIO (TimeBase::TimeT lower, TimeBase::TimeT upper) { this->attr_time_interval.lower_bound = lower; this->attr_time_interval.upper_bound = upper; } // Destructor. TAO...
26.529197
71
0.508873
[ "object" ]
562636f3a977bb1b4b5f32a2625fe34784fa0cd8
3,496
cpp
C++
ydb/ydb_lock_test.cpp
allenporter/thebends
5e35c7e654e5260b37218e59b02fb0b1a5cb2eca
[ "Apache-2.0" ]
4
2015-07-27T04:05:50.000Z
2021-01-28T21:56:09.000Z
ydb/ydb_lock_test.cpp
allenporter/thebends
5e35c7e654e5260b37218e59b02fb0b1a5cb2eca
[ "Apache-2.0" ]
null
null
null
ydb/ydb_lock_test.cpp
allenporter/thebends
5e35c7e654e5260b37218e59b02fb0b1a5cb2eca
[ "Apache-2.0" ]
null
null
null
// ydb_trans_test.cpp // Author: Allen Porter <allen@thebends.org> // // Test basic functionality of the lock table. #include <iostream> #include <string> #include "ydb_lock.h" #include "ydb_trans.h" using namespace std; class Ydb_Lock_Test { public: static void test1(); static void test2(); static void test3...
26.892308
73
0.678204
[ "object" ]
562af3ace4bfc2841dec214aa5485dfddad43dce
5,097
cpp
C++
KoopaTroopa.cpp
zacharytay1994/NotSoSuperMario
e0828f4cb2231f2e5993a71a492a25892744e129
[ "CC-BY-3.0" ]
2
2019-11-22T06:04:43.000Z
2019-12-05T13:29:17.000Z
KoopaTroopa.cpp
zacharytay1994/NotSoSuperMario
e0828f4cb2231f2e5993a71a492a25892744e129
[ "CC-BY-3.0" ]
null
null
null
KoopaTroopa.cpp
zacharytay1994/NotSoSuperMario
e0828f4cb2231f2e5993a71a492a25892744e129
[ "CC-BY-3.0" ]
null
null
null
#include "KoopaTroopa.h" #include "PhysicsComponent.h" #include "CollisionDetectionComponent.h" #include <cstdlib> #include <iostream> #include <sstream> KoopaTroopa::KoopaTroopa(ColliderManager& cm, const Vec2<float>& position) : GameObject("pictures\\" + theme + "\\testsquare.png", 64, 64, 1, D3DXVECTOR2(position....
24.985294
178
0.672356
[ "render" ]
5635dc9fc7e70e90aefc8c3f8c809ac3d8877547
2,815
cxx
C++
Testing/Code/Review/itkQuadEdgeMeshDeleteEdgeTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
1
2018-04-15T13:32:43.000Z
2018-04-15T13:32:43.000Z
Testing/Code/Review/itkQuadEdgeMeshDeleteEdgeTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
Testing/Code/Review/itkQuadEdgeMeshDeleteEdgeTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkQuadEdgeMeshDeleteEdgeTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ITKCo...
33.117647
76
0.607815
[ "mesh" ]
5636c208bb198246715c1c80db0db0973b3696cf
6,128
cpp
C++
realm/realm-library/src/main/cpp/io_realm_internal_OsObjectStore.cpp
schmalliso/realm-java
5c270e7a11191e6f7246c9d6c4c37fa892aa0b37
[ "Apache-2.0" ]
1
2021-12-16T13:09:38.000Z
2021-12-16T13:09:38.000Z
realm/realm-library/src/main/cpp/io_realm_internal_OsObjectStore.cpp
schmalliso/realm-java
5c270e7a11191e6f7246c9d6c4c37fa892aa0b37
[ "Apache-2.0" ]
null
null
null
realm/realm-library/src/main/cpp/io_realm_internal_OsObjectStore.cpp
schmalliso/realm-java
5c270e7a11191e6f7246c9d6c4c37fa892aa0b37
[ "Apache-2.0" ]
1
2021-12-16T13:08:41.000Z
2021-12-16T13:08:41.000Z
/* * Copyright 2017 Realm Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
44.729927
116
0.598074
[ "object" ]
56399322589f557c65e8e1497646e37a4170a7a3
3,876
hpp
C++
src/main/mapmaker/calculator.hpp
PatrickLindemann/warzone-osm-processor
16cbc956723f79d07dd1c1dcfd11ac7842a63312
[ "MIT" ]
null
null
null
src/main/mapmaker/calculator.hpp
PatrickLindemann/warzone-osm-processor
16cbc956723f79d07dd1c1dcfd11ac7842a63312
[ "MIT" ]
null
null
null
src/main/mapmaker/calculator.hpp
PatrickLindemann/warzone-osm-processor
16cbc956723f79d07dd1c1dcfd11ac7842a63312
[ "MIT" ]
null
null
null
#pragma once #include "model/geometry/point.hpp" #include "model/geometry/rectangle.hpp" #include "handler/bounds_handler.hpp" #include "functions/center.hpp" using namespace model; namespace mapmaker { template <typename T> class BoundsCalculator { public: /* Constructors */ Bou...
25.5
106
0.514964
[ "geometry", "vector", "model" ]
563f0892e825d3f9ad6a70029e9192d28987a619
24,762
cpp
C++
applications/popart/transformer_transducer/custom_ops/rnnt_loss/rnnt_utils.cpp
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
260
2019-11-18T01:50:00.000Z
2022-03-28T23:08:53.000Z
applications/popart/transformer_transducer/custom_ops/rnnt_loss/rnnt_utils.cpp
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
27
2020-01-28T23:07:50.000Z
2022-02-14T15:37:06.000Z
applications/popart/transformer_transducer/custom_ops/rnnt_loss/rnnt_utils.cpp
payoto/graphcore_examples
46d2b7687b829778369fc6328170a7b14761e5c6
[ "MIT" ]
56
2019-11-18T02:13:12.000Z
2022-02-28T14:36:09.000Z
// Copyright (c) 2021 Graphcore Ltd. All rights reserved. #include "rnnt_utils.hpp" #include "ipu_utils.hpp" #include "poplar/Program.hpp" #include <popnn/Loss.hpp> #include <popops/ElementWise.hpp> #include <popops/Reduce.hpp> #include <poputil/TileMapping.hpp> #include <poputil/Util.hpp> #include <poputil/VertexTemp...
42.915078
80
0.541434
[ "shape", "vector" ]
56451805c2b3c75cb27ff4e5a5593e0a1d1f79f8
8,382
cpp
C++
src/pke/lib/bfvrns-poly-impl.cpp
tony-blake/Pallisade
b7764a4f9f836fe9adefb7bb0ee4825b38c72398
[ "BSD-2-Clause" ]
null
null
null
src/pke/lib/bfvrns-poly-impl.cpp
tony-blake/Pallisade
b7764a4f9f836fe9adefb7bb0ee4825b38c72398
[ "BSD-2-Clause" ]
null
null
null
src/pke/lib/bfvrns-poly-impl.cpp
tony-blake/Pallisade
b7764a4f9f836fe9adefb7bb0ee4825b38c72398
[ "BSD-2-Clause" ]
null
null
null
/* * @file bfvrns-poly-impl.cpp - poly implementation for the BFVrns scheme. * @author TPOC: palisade@njit.edu * * @copyright Copyright (c) 2017, New Jersey Institute of Technology (NJIT) * All rights reserved. * Redistribution and use in source and binary forms, with or without modification, * are permitted pro...
28.903448
133
0.802911
[ "vector" ]
871f4a6c63707866daa12ffd019e2e15125c86a3
1,237
hpp
C++
src/NeuralNetworks.hpp
alpylmz/ML-Models
04bf40f7b81e76b58f6bc8c491292a67f9c0df49
[ "MIT" ]
2
2020-06-04T16:25:53.000Z
2020-06-04T20:27:59.000Z
src/NeuralNetworks.hpp
alpylmz/ML-Models
04bf40f7b81e76b58f6bc8c491292a67f9c0df49
[ "MIT" ]
null
null
null
src/NeuralNetworks.hpp
alpylmz/ML-Models
04bf40f7b81e76b58f6bc8c491292a67f9c0df49
[ "MIT" ]
1
2020-06-04T09:00:07.000Z
2020-06-04T09:00:07.000Z
#include "Matrix.hpp" #include "Models.hpp" #include <math.h> /*TO DO: * Stronger tests * Much cleaner implementation with Matrix class * Manipulation of epoch number * = operator overloading */ class Neural_Networks{ private: //holds how many unit are there in each corresponding layer //star...
29.452381
108
0.683104
[ "vector" ]
87328170126fcee552b4287d4f24b75474aed9b3
12,994
cpp
C++
LDPC.cpp
mtahernia/Non-Binary-GF-q-LDPC
a85f71830d295ab177f23be900ea8f51d4ae0cf7
[ "BSD-3-Clause" ]
1
2021-11-08T08:02:11.000Z
2021-11-08T08:02:11.000Z
LDPC.cpp
mtahernia/Non-Binary-GF-q-LDPC
a85f71830d295ab177f23be900ea8f51d4ae0cf7
[ "BSD-3-Clause" ]
null
null
null
LDPC.cpp
mtahernia/Non-Binary-GF-q-LDPC
a85f71830d295ab177f23be900ea8f51d4ae0cf7
[ "BSD-3-Clause" ]
null
null
null
/* * LDPC.cpp * * Created on: 22 Dec, 2014 * Author: Mehrdad Tahernia * User: mehrdad */ #include <cstdlib> #include "Report.h" #include "Channel.h" #include "Encoding.h" #include "Utils_2.h" // vector, array #include "Variable_Node.h" #include "Check_Node.h" #include "Edge.h" #include "LDPC.h" /******...
26.681725
131
0.583038
[ "vector" ]
8733a97d7b7e6de9d9c099bdc0394ae7b0ffa349
2,246
hpp
C++
src/_common/common.hpp
andry81/bittools
6c0a87188f0cd86d44118c6fe468e121fefd2940
[ "MIT" ]
null
null
null
src/_common/common.hpp
andry81/bittools
6c0a87188f0cd86d44118c6fe468e121fefd2940
[ "MIT" ]
null
null
null
src/_common/common.hpp
andry81/bittools
6c0a87188f0cd86d44118c6fe468e121fefd2940
[ "MIT" ]
null
null
null
#ifndef __COMMON_HPP__ #define __COMMON_HPP__ #include <windows.h> #include <tchar.h> #include <string> #include <vector> #include <limits> #include <algorithm> #include "std/tstring.hpp" #include "std/tstdio.hpp" #include "tacklelib/utility/platform.hpp" #include "tacklelib/utility/type_traits.hpp" ...
26.116279
109
0.569012
[ "vector" ]
8739d49076000d4bd3472c781c81b49b353807ac
1,757
cpp
C++
Contest/Contest 154/D/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
1
2021-11-19T19:58:33.000Z
2021-11-19T19:58:33.000Z
Contest/Contest 154/D/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
null
null
null
Contest/Contest 154/D/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
2
2021-11-26T12:47:27.000Z
2022-01-13T16:14:46.000Z
// // main.cpp // D // // Created by 边俊林 on 2019/9/15. // Copyright © 2019 Minecode.Link. All rights reserved. // #include <map> #include <set> #include <queue> #include <stack> #include <vector> #include <cstdio> #include <numeric> #include <cstdlib> #include <iostream> #include <algorithm> #include <unordered_ma...
23.426667
86
0.483779
[ "vector" ]
873b98ac2f02b793110b1f81b996368558d94130
1,561
cpp
C++
trunk/RayTracer/RayTracer/src/Image.cpp
Monster88Ra/RayTracer
948cc707e12ef0e75266b26aaca42ee07adb6b0b
[ "MIT" ]
null
null
null
trunk/RayTracer/RayTracer/src/Image.cpp
Monster88Ra/RayTracer
948cc707e12ef0e75266b26aaca42ee07adb6b0b
[ "MIT" ]
1
2018-11-23T04:56:10.000Z
2018-11-27T04:29:58.000Z
trunk/RayTracer/RayTracer/src/Image.cpp
Monster88Ra/RayTracer
948cc707e12ef0e75266b26aaca42ee07adb6b0b
[ "MIT" ]
null
null
null
#include <Windows.h> #include <sstream> #include <cassert> #include <limits> #include "Image.h" Image::Image(const std::string &fileName, const Vector2i &outputResolution): m_pixelColors(outputResolution.y), m_outputResolution(outputResolution), m_fileName(fileName) { // Resize each vector to the amount o...
24.777778
79
0.695708
[ "vector" ]
87410aa0a8a62b99f6cb4080bd9aac4ee506bd57
4,697
cpp
C++
CrossArchitecture.cpp
laie/CrossArchitecture
6de01acc713630736bbe9dfe6c3b73693ee35261
[ "MIT" ]
9
2016-01-04T10:02:49.000Z
2018-11-08T08:33:53.000Z
CrossArchitecture.cpp
laie/CrossArchitecture
6de01acc713630736bbe9dfe6c3b73693ee35261
[ "MIT" ]
null
null
null
CrossArchitecture.cpp
laie/CrossArchitecture
6de01acc713630736bbe9dfe6c3b73693ee35261
[ "MIT" ]
1
2021-02-01T03:42:32.000Z
2021-02-01T03:42:32.000Z
#include "CrossArchitecture.h" #include <vector> #include <intrin.h> using namespace CrossArchitecture; TEB64 CrossArchitecture::GetTEB64() { #if _WIN64 return *(TEB64*)__readgsqword(0x30); #else TEB64 teb64; Ptr64 teb64Ptr=0; BeginX64Stub; DB_(0x41) DB_(0x54); //push r12 ; R12 register should always contain ...
31.52349
187
0.734298
[ "vector" ]
8741b4a86395965e81379bb4ba9bb9d1e2e7554c
18,685
cpp
C++
ScatterGL/Source/main.cpp
Gian1080/ScatterGL
c9508d0e99448e7e29e7ad751758723a1dafc820
[ "Unlicense" ]
null
null
null
ScatterGL/Source/main.cpp
Gian1080/ScatterGL
c9508d0e99448e7e29e7ad751758723a1dafc820
[ "Unlicense" ]
null
null
null
ScatterGL/Source/main.cpp
Gian1080/ScatterGL
c9508d0e99448e7e29e7ad751758723a1dafc820
[ "Unlicense" ]
null
null
null
#include "pch.h" #include "GeneralStructs.h" #include "ScatterGLui.h" #include "Camera.h" #include "Shader.h" #include "GLTexture.h" #include "MeshObject.h" #include "StaticFunction.h" #include "Mesh.h" #include "Model.h" #include "Framebuffer.h" #include "Scatter.h" ScatterGL::GenericInfo info{}; ScatterGL::Framebuff...
38.288934
148
0.763447
[ "mesh", "render", "vector", "model" ]
8741d4852fa9812c766df52f8a468ebc958210f1
6,630
cc
C++
cc/algorithms/algorithm_test.cc
Jolly608090/differential-privacy
74d5be96d4abe6820ef4838c00a1b78c72ae01af
[ "Apache-2.0" ]
null
null
null
cc/algorithms/algorithm_test.cc
Jolly608090/differential-privacy
74d5be96d4abe6820ef4838c00a1b78c72ae01af
[ "Apache-2.0" ]
null
null
null
cc/algorithms/algorithm_test.cc
Jolly608090/differential-privacy
74d5be96d4abe6820ef4838c00a1b78c72ae01af
[ "Apache-2.0" ]
null
null
null
// // Copyright 2019 Google LLC // // 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 ...
34.53125
80
0.695023
[ "vector" ]
8742206b13eec95ecb8cb84bd8c8c74695509ec7
731
cpp
C++
day04/part2.cpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
day04/part2.cpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
day04/part2.cpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
#include "part2.hpp" using namespace std; const string ALPHABET = "abcdefghijklmnopqrstuvwxyz"; string decryptName(const Room &room) { string res; for (const char &c : room.encryptedName) { if (c == '-') { res += ' '; } else { res += ALPHABET[(ALPHABET.find(c) + room...
22.84375
69
0.543092
[ "vector" ]
87457ee50e9e7fd4c0b2b2a88802fbc75818c63e
895
cpp
C++
DataStructures/Slot-2_04-11-2019/BFS.cpp
EnEm/cs204
e74e8a7353f5f3bb22f6077e55e591160287d422
[ "MIT" ]
null
null
null
DataStructures/Slot-2_04-11-2019/BFS.cpp
EnEm/cs204
e74e8a7353f5f3bb22f6077e55e591160287d422
[ "MIT" ]
null
null
null
DataStructures/Slot-2_04-11-2019/BFS.cpp
EnEm/cs204
e74e8a7353f5f3bb22f6077e55e591160287d422
[ "MIT" ]
3
2019-08-22T09:37:44.000Z
2019-11-09T03:29:07.000Z
#include<iostream> #include<vector> #include<queue> using namespace std; vector<int> bfs(int root,vector<int> adjancency_list[],int n) { bool visited[n+1]={}; queue<int> precedence_list; vector<int> bfs_order; precedence_list.push(root); while(!precedence_list.empty()) { root=precedence...
18.645833
61
0.53743
[ "vector" ]
87466342e617add10f4fb0c5c7b809d6605d2dd0
5,012
cxx
C++
Base/QTGUI/qSlicerSingletonViewFactory.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Base/QTGUI/qSlicerSingletonViewFactory.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Base/QTGUI/qSlicerSingletonViewFactory.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
/*============================================================================== Copyright (c) Laboratory for Percutaneous Surgery (PerkLab) Queen's University, Kingston, ON, Canada. All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law...
32.128205
156
0.576816
[ "object" ]
8748d5b9157a59ee7dccab858d44897c0a1828a1
2,458
cpp
C++
db/silkworm/etl/collector.cpp
Giulio2002/silkworm
137073771a32cfb1282eaa2469e8ea6d4f7a998b
[ "Apache-2.0" ]
null
null
null
db/silkworm/etl/collector.cpp
Giulio2002/silkworm
137073771a32cfb1282eaa2469e8ea6d4f7a998b
[ "Apache-2.0" ]
null
null
null
db/silkworm/etl/collector.cpp
Giulio2002/silkworm
137073771a32cfb1282eaa2469e8ea6d4f7a998b
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The Silkworm Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
31.113924
83
0.638324
[ "vector" ]
87651bc87ae5d4e48ef986cf9d2787f43938711e
973
cpp
C++
qrrepo/private/classes/logicalObject.cpp
anastasia143/qreal
9bd224b41e569c9c50ab88848a5746a010c65ad7
[ "Apache-2.0" ]
39
2015-01-26T16:18:43.000Z
2021-12-20T23:36:41.000Z
qrrepo/private/classes/logicalObject.cpp
anastasia143/qreal
9bd224b41e569c9c50ab88848a5746a010c65ad7
[ "Apache-2.0" ]
1,248
2019-02-21T19:32:09.000Z
2022-03-29T16:50:04.000Z
qrrepo/private/classes/logicalObject.cpp
anastasia143/qreal
9bd224b41e569c9c50ab88848a5746a010c65ad7
[ "Apache-2.0" ]
58
2015-03-03T12:57:28.000Z
2020-05-09T15:54:42.000Z
/* Copyright 2007-2015 QReal Research Group * * 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...
25.605263
75
0.746146
[ "object" ]
876dd82c2ceee4da74a86191cd9f9b761f84979a
5,771
cpp
C++
test/fragmentation_benchmark_pmem.cpp
JohnSully/memkind
7c11836a9b0262ff23ef7f45b47a44996f25ab36
[ "BSD-3-Clause" ]
1
2019-07-02T21:30:48.000Z
2019-07-02T21:30:48.000Z
test/fragmentation_benchmark_pmem.cpp
JohnSully/memkind
7c11836a9b0262ff23ef7f45b47a44996f25ab36
[ "BSD-3-Clause" ]
null
null
null
test/fragmentation_benchmark_pmem.cpp
JohnSully/memkind
7c11836a9b0262ff23ef7f45b47a44996f25ab36
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2019 Intel Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice(s), * this list of c...
34.147929
95
0.656039
[ "vector" ]
878a211e9a193abc0025514eb13308228c0b169a
2,672
hpp
C++
packages/monte_carlo/estimator/native/src/MonteCarlo_CellTrackLengthFluxEstimator.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/estimator/native/src/MonteCarlo_CellTrackLengthFluxEstimator.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/estimator/native/src/MonteCarlo_CellTrackLengthFluxEstimator.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_CellTrackLengthFluxEstimator.hpp //! \author Alex Robinson //! \brief Cell track length flux estimator class declaration. //! //---------------------------------------------------------------------------// #ifnd...
33.4
81
0.619386
[ "vector" ]
879ef581278608bae48e289936b2574926334b97
14,243
cpp
C++
Lib-ZeroG/src/ZeroG/vulkan/VulkanBackend.cpp
PetorSFZ/ZeroG
0e3330c2877c3dd840f2a7864b5767d53a92b97d
[ "Zlib" ]
null
null
null
Lib-ZeroG/src/ZeroG/vulkan/VulkanBackend.cpp
PetorSFZ/ZeroG
0e3330c2877c3dd840f2a7864b5767d53a92b97d
[ "Zlib" ]
null
null
null
Lib-ZeroG/src/ZeroG/vulkan/VulkanBackend.cpp
PetorSFZ/ZeroG
0e3330c2877c3dd840f2a7864b5767d53a92b97d
[ "Zlib" ]
null
null
null
// Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se) // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for ...
32.370455
102
0.70231
[ "vector" ]
87a34c5ff2a9d78609f1b025ec47bf51d5fb4f10
1,685
hpp
C++
lib/vector/Vector.hpp
frndmg/simplex-method
0fe509d43ac794344b5d95f7e4faacd0dd444d56
[ "MIT" ]
2
2019-11-25T20:54:56.000Z
2019-11-25T20:55:20.000Z
lib/vector/Vector.hpp
frndmg/simplex-method
0fe509d43ac794344b5d95f7e4faacd0dd444d56
[ "MIT" ]
null
null
null
lib/vector/Vector.hpp
frndmg/simplex-method
0fe509d43ac794344b5d95f7e4faacd0dd444d56
[ "MIT" ]
1
2019-11-25T23:14:18.000Z
2019-11-25T23:14:18.000Z
#pragma once #include <vector> #include <functional> #include "Types.hpp" class Vector { public: typedef tensor_t <1> :: type line_t; typedef const std::function <real_t (real_t)> mapfunc_t; typedef const std::function <real_t (real_t, real_t)> mapfunc_2_t; private: line_t line_; public: //Vector Vector(); Vec...
19.593023
71
0.703858
[ "vector" ]
87aaf7ac5fc0f3341814e8200341abcc5dd66bcd
4,348
cpp
C++
src/integrators/deterministdirect.cpp
TheoBouche/pbrt-v3
a44745896bd31458df55fdf0cdf0ffff7a7b2328
[ "BSD-2-Clause" ]
null
null
null
src/integrators/deterministdirect.cpp
TheoBouche/pbrt-v3
a44745896bd31458df55fdf0cdf0ffff7a7b2328
[ "BSD-2-Clause" ]
null
null
null
src/integrators/deterministdirect.cpp
TheoBouche/pbrt-v3
a44745896bd31458df55fdf0cdf0ffff7a7b2328
[ "BSD-2-Clause" ]
null
null
null
// integrators/deterministDirect.cpp* #include "integrators/deterministdirect.h" #include "interaction.h" #include "paramset.h" #include "camera.h" #include "film.h" #include "stats.h" namespace pbrt { void DeterministDirectIntegrator::Preprocess(const Scene &scene, Sampler &sampler) ...
34.784
134
0.640524
[ "vector" ]
87afdcc613c261860f3db514f9f40d02a0b8ce56
4,437
hpp
C++
wz4/wz4frlib/fxparticle_mc.hpp
wzman/werkkzeug4CE
af5ff27829ed4c501515ef5131165048e991c9b4
[ "BSD-2-Clause" ]
47
2015-03-22T05:58:47.000Z
2022-03-29T19:13:37.000Z
wz4/wz4frlib/fxparticle_mc.hpp
whpskyeagle/werkkzeug4CE
af5ff27829ed4c501515ef5131165048e991c9b4
[ "BSD-2-Clause" ]
null
null
null
wz4/wz4frlib/fxparticle_mc.hpp
whpskyeagle/werkkzeug4CE
af5ff27829ed4c501515ef5131165048e991c9b4
[ "BSD-2-Clause" ]
16
2015-12-31T08:13:18.000Z
2021-03-09T02:07:30.000Z
/*+**************************************************************************/ /*** ***/ /*** This file is distributed under a BSD license. ***/ /*** See LICENSE.txt for details. ***/ /***...
24.11413
124
0.599053
[ "render" ]
87b0112e0fc6ecc154a0c25e1b9de505158c1670
1,109
cpp
C++
main.cpp
zu1kbackup/pangolin
b2b668f7f3419d6dfd7eb04c7cba28d4385cfd35
[ "Unlicense" ]
37
2020-11-27T00:31:43.000Z
2022-03-30T11:27:49.000Z
main.cpp
zu1kbackup/pangolin
b2b668f7f3419d6dfd7eb04c7cba28d4385cfd35
[ "Unlicense" ]
null
null
null
main.cpp
zu1kbackup/pangolin
b2b668f7f3419d6dfd7eb04c7cba28d4385cfd35
[ "Unlicense" ]
12
2021-07-10T12:23:16.000Z
2022-03-07T06:48:14.000Z
#include "inject/injector.h" #include <zero/log.h> #include <zero/cmdline.h> int main(int argc, char ** argv) { INIT_CONSOLE_LOG(zero::INFO); zero::CCmdline cmdline; cmdline.add({"pid", "process id", zero::value<int>()}); cmdline.addOptional({"daemon", 'd', "daemon mode", zero::value<bool>(), true});...
28.435897
109
0.630298
[ "vector" ]
87bbd8b39c1eae357a1ac1d1e529335d5e8479ef
3,145
cpp
C++
test/nuc/main.cpp
atrtnkw/sph
c6bb3d7fd18f57c51fe60197706741e5a26e6ce4
[ "MIT" ]
2
2018-07-11T00:43:01.000Z
2020-01-11T13:41:50.000Z
test/nuc/main.cpp
atrtnkw/sph
c6bb3d7fd18f57c51fe60197706741e5a26e6ce4
[ "MIT" ]
null
null
null
test/nuc/main.cpp
atrtnkw/sph
c6bb3d7fd18f57c51fe60197706741e5a26e6ce4
[ "MIT" ]
1
2020-01-06T14:22:25.000Z
2020-01-06T14:22:25.000Z
#include <iostream> #include <vector> #include <cassert> #include <cstring> #include <limits> enum KernelType {CubicSpline = 0, WendlandC2 = 1, WendlandC4 = 2}; #include "particle_simulator.hpp" #include "hdr_run.hpp" #include "hdr_time.hpp" #include "hdr_heos.hpp" #include "hdr_nuc.hpp" #include "hdr_nse.hpp" inlin...
25.778689
92
0.475994
[ "vector" ]
87bc4ba2faf4a36c01c914bc590236ca8d9217c6
1,088
hpp
C++
thirdparty/libgenerator/inc/generator/PathVertex.hpp
ppiecuch/godot
ff2098b324b814a0d1bd9d5722aa871fc5214fab
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
thirdparty/libgenerator/inc/generator/PathVertex.hpp
ppiecuch/godot
ff2098b324b814a0d1bd9d5722aa871fc5214fab
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
thirdparty/libgenerator/inc/generator/PathVertex.hpp
ppiecuch/godot
ff2098b324b814a0d1bd9d5722aa871fc5214fab
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
// Copyright 2015 Markus Ilmola // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. #ifndef GENERATOR_PATHVER...
23.652174
69
0.722426
[ "vector" ]
87c40d5a2134e4d510653a5fb4b646d82eb64403
977
cpp
C++
InterviewBit/Heaps And Maps/WaysToFormMaxHeap.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
InterviewBit/Heaps And Maps/WaysToFormMaxHeap.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
InterviewBit/Heaps And Maps/WaysToFormMaxHeap.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
2
2021-01-23T14:35:48.000Z
2021-03-15T05:04:24.000Z
const long long mod = 1e9 + 7; const long long N = 101; vector<vector<long long>> nCr(N, vector<long long>(N, -1)); vector<long long> dp(N, -1); long long findNcR(long long n, long long r) { if (nCr[n][r] != -1) { return nCr[n][r] % mod; } if (r > n) { nCr[n][r] = 0; return nCr[n][r]; } if (n <= 1 || r == ...
20.354167
92
0.501535
[ "vector" ]
87c7f8e6dea01769004daf5aa75e588bc1b81bb3
16,292
cpp
C++
Src/GameManager.cpp
muffinista/palm-pitch
aa09c857b1ccc14672b3eb038a419bd13abc0925
[ "MIT" ]
1
2015-11-13T21:40:35.000Z
2015-11-13T21:40:35.000Z
Src/GameManager.cpp
muffinista/palm-pitch
aa09c857b1ccc14672b3eb038a419bd13abc0925
[ "MIT" ]
null
null
null
Src/GameManager.cpp
muffinista/palm-pitch
aa09c857b1ccc14672b3eb038a419bd13abc0925
[ "MIT" ]
null
null
null
#include <PalmOS.h> #include "Common.h" #include "ComputerPlayer.h" #include "GameManager.h" #include "GameTable.h" #include "HumanPlayer.h" #include "PitchApp.h" GameManager::GameManager() { // // set some defaults // cutthroat = false; winning_score = 11; first_game = true; scores[0]...
18.40904
104
0.574883
[ "vector" ]
87c9b466d06c675e05ddc2de800b55473b9ac2aa
31,622
cpp
C++
MonoNative.Tests/mscorlib/System/mscorlib_System_Type_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/mscorlib_System_Type_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/mscorlib_System_Type_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System // Name: Type // C++ Typed Name: mscorlib::System::Type #include <gtest/gtest.h> #include <mscorlib/System/mscorlib_System_Type.h> #include <mscorlib/System/Reflection/mscorlib_System_R...
23.285714
417
0.723705
[ "object", "vector" ]
d7aaa749fe7a6f364bc9e0b9ef9c5e1e0c2ba167
10,641
cpp
C++
TreeCode_link/double_sort.cpp
glenco/SLsimLib
fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb
[ "MIT" ]
2
2017-03-22T13:18:32.000Z
2021-05-01T01:54:31.000Z
TreeCode_link/double_sort.cpp
glenco/SLsimLib
fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb
[ "MIT" ]
49
2016-10-05T03:08:38.000Z
2020-11-03T15:39:26.000Z
TreeCode_link/double_sort.cpp
glenco/SLsimLib
fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb
[ "MIT" ]
1
2017-07-10T08:52:53.000Z
2017-07-10T08:52:53.000Z
/* double_sort is adapted from NR sort2 to take an unsigned long */ /* second array brr */ /* note #undef's at end of file */ #include "slsimlib.h" #include <nrutil.h> #include <mutex> #include <thread> #include <future> #define NRANSI #define M 7 #define NSTACK 50 namespace Utilities{ void double_sort(unsigned l...
28.604839
131
0.517245
[ "vector" ]
d7ad16b39944be8bfe7cc74e5ec07b49505eb22d
12,148
cpp
C++
src/main.cpp
handsomefox/uni_cpp_project
b05a3a5b64d757c7ccd08271bda7de1ccd04c94b
[ "MIT" ]
1
2021-01-10T12:55:43.000Z
2021-01-10T12:55:43.000Z
src/main.cpp
handsomefox/uni_cpp_project
b05a3a5b64d757c7ccd08271bda7de1ccd04c94b
[ "MIT" ]
null
null
null
src/main.cpp
handsomefox/uni_cpp_project
b05a3a5b64d757c7ccd08271bda7de1ccd04c94b
[ "MIT" ]
null
null
null
#include "pch.h" int* GenArray(const size_t size) { srand(static_cast<unsigned>(time(nullptr))); int* array = new int[size]; for (size_t i = 0; i < size; ++i) array[i] = 1 + rand() % 100; return array; } void ArrayAdd(const size_t size) { int* array = GenArray(1000); double sum = 0; for (size_t i = 0; i <...
28.383178
166
0.647926
[ "object" ]
d7ad2dd0e0618d77a8f800a0f5e63163c922231a
2,120
cpp
C++
segmentation/Caffe_Segmentation/examples/seg/cropDet.cpp
USCDataScience/cmu-fg-bg-similarity
d8fc9a53937551f7a052bc2c6f442bcc29ea2615
[ "Apache-2.0" ]
8
2020-04-13T21:40:26.000Z
2022-01-22T11:32:31.000Z
segmentation/Caffe_Segmentation/examples/seg/cropDet.cpp
USCDataScience/cmu-fg-bg-similarity
d8fc9a53937551f7a052bc2c6f442bcc29ea2615
[ "Apache-2.0" ]
null
null
null
segmentation/Caffe_Segmentation/examples/seg/cropDet.cpp
USCDataScience/cmu-fg-bg-similarity
d8fc9a53937551f7a052bc2c6f442bcc29ea2615
[ "Apache-2.0" ]
null
null
null
/* * cropDet.cpp * * Created on: Nov 30, 2014 * Author: rohitgirdhar */ #include <glog/logging.h> #include <leveldb/db.h> #include <leveldb/write_batch.h> #include <cstdio> #include <algorithm> #include <string> #include <iostream> #include <fstream> #include <vector> #include <set> #include <algorithm> #i...
26.835443
79
0.588208
[ "vector" ]
d7bbe85c1371f2ee0b5b3a3d69ffc097e6090656
599
cpp
C++
src/test_ztj.cpp
TaojingZHANG/openvslam
846ecaa825c83602014808de5bb412196d701561
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
src/test_ztj.cpp
TaojingZHANG/openvslam
846ecaa825c83602014808de5bb412196d701561
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
src/test_ztj.cpp
TaojingZHANG/openvslam
846ecaa825c83602014808de5bb412196d701561
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
// // Created by ztj on 2021/6/6. // #include <map> #include <vector> #include <unordered_map> #include <iostream> using namespace std; vector<int> inorderTraversal(){ vector<int> ret; vector<int> ret2; ret.insert(ret.end(),ret2.begin(),ret2.end()); return vector<int>(); }; int main(int argc, c...
13.021739
50
0.585977
[ "vector" ]
d7cd73f8fd9ce56d340d11bbfdd95ea03af93070
7,262
hpp
C++
include/Textbox.hpp
edbird/Worlds-Best-Text-Editor
92c4175ab1f34109c98374aa6839bc6dd0eb34fc
[ "MIT" ]
null
null
null
include/Textbox.hpp
edbird/Worlds-Best-Text-Editor
92c4175ab1f34109c98374aa6839bc6dd0eb34fc
[ "MIT" ]
26
2018-03-15T12:03:40.000Z
2018-06-01T21:14:48.000Z
include/Textbox.hpp
edbird/Worlds-Best-Text-Editor
92c4175ab1f34109c98374aa6839bc6dd0eb34fc
[ "MIT" ]
null
null
null
#ifndef TEXTBOX_HPP #define TEXTBOX_HPP #include "Functions.hpp" #include "GUIObject.hpp" #include "Buffer.hpp" #include "FontTextureManager.hpp" //#include "CharMatrix.hpp" #include <SDL.h> #include <SDL_ttf.h> #include <string> #include <sstream> class Textbox : public Buffer, public GUIObject { public: ...
23.966997
151
0.580832
[ "object", "vector" ]
d7d4b668e9ad5e80a96715e5945ae0a3ebcc98bc
1,522
cpp
C++
exe/src/control/parameters/setrationodecountvsgridspotcountcmd.cpp
jonpetri/CollectGame
251beb560f8246468479f04461bfc0b1298a7e70
[ "MIT" ]
null
null
null
exe/src/control/parameters/setrationodecountvsgridspotcountcmd.cpp
jonpetri/CollectGame
251beb560f8246468479f04461bfc0b1298a7e70
[ "MIT" ]
null
null
null
exe/src/control/parameters/setrationodecountvsgridspotcountcmd.cpp
jonpetri/CollectGame
251beb560f8246468479f04461bfc0b1298a7e70
[ "MIT" ]
null
null
null
#include "setrationodecountvsgridspotcountcmd.h" #include "model/game/collectgame.h" #include "model/game/gameparameters.h" //----------------------------------------------------------------------------------------------------------------------- // SetRatioNodeCountVsGridSpotCountCmd :: Constructors / Destructors //-...
36.238095
121
0.507227
[ "model" ]
d7d7b2496155157788dc5bec016259fc3b2a62fd
7,934
cpp
C++
sumu/aps/aps-0.9.1/aps/test.cpp
Sera91/sumu
1ad51e89c62ea8074735611d88668094d5cf1c3d
[ "BSD-3-Clause" ]
4
2021-11-04T11:32:33.000Z
2021-12-24T14:55:14.000Z
sumu/aps/aps-0.9.1/aps/test.cpp
Sera91/sumu
1ad51e89c62ea8074735611d88668094d5cf1c3d
[ "BSD-3-Clause" ]
18
2021-10-30T07:31:12.000Z
2022-02-05T10:25:08.000Z
sumu/aps/aps-0.9.1/aps/test.cpp
Sera91/sumu
1ad51e89c62ea8074735611d88668094d5cf1c3d
[ "BSD-3-Clause" ]
3
2020-12-29T11:45:18.000Z
2022-03-10T12:09:18.000Z
#include "aps.h" #include "ar.h" #include "array.h" #include "conf.h" #include "logdouble.h" #include "types.h" #include <cmath> #include <limits> #include <random> #include <vector> namespace aps { namespace { template <typename A, typename B> void check_equal(const A& a, const B& b, const char* file, int line) { ...
22.798851
82
0.60247
[ "vector" ]
d7e2e6cd6b63be796b238f2e277177d4c6df36b7
1,623
hpp
C++
pose_refinement/SA-LMPE/ba/openMVG/sfm/sfm_view_io.hpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
90
2019-05-19T03:48:23.000Z
2022-02-02T15:20:49.000Z
pose_refinement/SA-LMPE/ba/openMVG/sfm/sfm_view_io.hpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
11
2019-05-22T07:45:46.000Z
2021-05-20T01:48:26.000Z
pose_refinement/SA-LMPE/ba/openMVG/sfm/sfm_view_io.hpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
18
2019-05-19T03:48:32.000Z
2021-05-29T18:19:16.000Z
// This file is part of OpenMVG, an Open Multiple View Geometry C++ library. // Copyright (c) 2015 Pierre Moulon. // 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/. #...
32.46
76
0.72212
[ "geometry" ]
d7f60c19125337c5d755692b4ea6425970363b09
357
cpp
C++
Engine/Source/FishEngine/InstantiateObject.cpp
ValtoGameEngines/Fish-Engine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
240
2017-02-17T10:08:19.000Z
2022-03-25T14:45:29.000Z
Engine/Source/FishEngine/InstantiateObject.cpp
ValtoGameEngines/Fish-Engine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
2
2016-10-12T07:08:38.000Z
2017-04-05T01:56:30.000Z
Engine/Source/FishEngine/InstantiateObject.cpp
yushroom/FishEngine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
39
2017-03-02T09:40:07.000Z
2021-12-04T07:28:53.000Z
#include <FishEngine/Object.hpp> #include <FishEngine/GameObject.hpp> namespace FishEngine { //template<> //GameObjectPtr Object::Instantiate(GameObjectPtr const & original) //{ // //return std::dynamic_pointer_cast<GameObject>( original->Clone() ); // auto ret = std::make_shared<GameObject>(); // original->Copy...
23.8
72
0.708683
[ "object" ]
d7fa680392eef65f34957ddfe8a0238636af58a2
1,232
cpp
C++
libs/numeric/mtl/test/resize_vector_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
libs/numeric/mtl/test/resize_vector_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
libs/numeric/mtl/test/resize_vector_test.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and And...
18.953846
94
0.632305
[ "vector" ]
d7fb91c8d1928e384fed642b182f33ed763607db
5,226
cpp
C++
examples/word_count/word_count_run.cpp
TiFu/thrill-hyperloglog
bac13cd4ba23ec4bf6fe2e32ffa79d68c348cbcf
[ "BSD-2-Clause" ]
2
2021-01-03T19:29:25.000Z
2021-01-03T19:29:31.000Z
examples/word_count/word_count_run.cpp
TiFu/thrill-hyperloglog
bac13cd4ba23ec4bf6fe2e32ffa79d68c348cbcf
[ "BSD-2-Clause" ]
null
null
null
examples/word_count/word_count_run.cpp
TiFu/thrill-hyperloglog
bac13cd4ba23ec4bf6fe2e32ffa79d68c348cbcf
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * examples/word_count/word_count_run.cpp * * Part of Project Thrill - http://project-thrill.org * * Copyright (C) 2015 Alexander Noe <aleexnoe@gmail.com> * Copyright (C) 2016 Timo Bingmann <tb@panthema.net> * * All rights reserved....
28.402174
86
0.529468
[ "vector" ]
cc01e1f702a52e482d31eab7f421016373c24d38
9,636
cpp
C++
src/scan1_pg.cpp
gatarelib/qtl2
4aba67a3a43ca16888c18f913934098bb28895c0
[ "RSA-MD" ]
null
null
null
src/scan1_pg.cpp
gatarelib/qtl2
4aba67a3a43ca16888c18f913934098bb28895c0
[ "RSA-MD" ]
null
null
null
src/scan1_pg.cpp
gatarelib/qtl2
4aba67a3a43ca16888c18f913934098bb28895c0
[ "RSA-MD" ]
null
null
null
// scan chromosome with linear mixed model for polygenic effect // [[Rcpp::depends(RcppEigen)]] #include "scan1_pg.h" #include <RcppEigen.h> #include <math.h> #include "lmm.h" #include "scan1_hk.h" #include "matrix.h" #include "linreg.h" using namespace Rcpp; // LMM scan of a single chromosome with additive covaria...
42.637168
90
0.649751
[ "vector", "model", "3d" ]
cc094f49ae43a841359f14e5ac531016e0d25a2c
15,294
cc
C++
chrome/browser/password_manager/android/password_store_android_backend_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-11-16T13:10:29.000Z
2021-11-16T13:10:29.000Z
chrome/browser/password_manager/android/password_store_android_backend_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/password_manager/android/password_store_android_backend_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/password_manager/android/password_store_android_backend.h" #include <memory> #include <vector> #include "base/callback_forward....
40.567639
90
0.759056
[ "vector" ]
cc1110124cfd3e31afde13e478d310364f152b64
6,226
cpp
C++
src/Sparrow/Sparrow/Implementations/Nddo/Utils/IntegralsEvaluationUtils/ChargesInMultipoles.cpp
DockBio/sparrow
f82cf86584e9edfc6f2c78af4896dc6f2ee8a455
[ "BSD-3-Clause" ]
null
null
null
src/Sparrow/Sparrow/Implementations/Nddo/Utils/IntegralsEvaluationUtils/ChargesInMultipoles.cpp
DockBio/sparrow
f82cf86584e9edfc6f2c78af4896dc6f2ee8a455
[ "BSD-3-Clause" ]
null
null
null
src/Sparrow/Sparrow/Implementations/Nddo/Utils/IntegralsEvaluationUtils/ChargesInMultipoles.cpp
DockBio/sparrow
f82cf86584e9edfc6f2c78af4896dc6f2ee8a455
[ "BSD-3-Clause" ]
null
null
null
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ #include "ChargesInMultipoles.h" namespace Scine { namespace Sparrow { namespace nddo { namespace m...
72.395349
129
0.788468
[ "vector" ]
cc11bc7d2c10dda80012221e6eae5ce3b678707d
880
cpp
C++
aws-cpp-sdk-connect/source/model/UpdateRoutingProfileDefaultOutboundQueueRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-connect/source/model/UpdateRoutingProfileDefaultOutboundQueueRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-connect/source/model/UpdateRoutingProfileDefaultOutboundQueueRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/connect/model/UpdateRoutingProfileDefaultOutboundQueueRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Connect::Model; using namespace...
23.157895
101
0.790909
[ "model" ]
cc1cae1619edf1b2fd3af9f5effcde1bd35ee67c
1,051
cpp
C++
src/Entity.cpp
algisb/shadiray
eb0d782c726ccf5d718c9abcde0fe2bc6fe54b0a
[ "MIT" ]
null
null
null
src/Entity.cpp
algisb/shadiray
eb0d782c726ccf5d718c9abcde0fe2bc6fe54b0a
[ "MIT" ]
null
null
null
src/Entity.cpp
algisb/shadiray
eb0d782c726ccf5d718c9abcde0fe2bc6fe54b0a
[ "MIT" ]
null
null
null
/// /// @file Entity.cpp /// @brief Anything and everything #include "Entity.h" using namespace kelp; Entity::Entity(World * _world, std::string _tag) { m_world = _world; m_tag = _tag; m_world->m_entities.push_back(this); } Entity::~Entity() { for(int i = 0; i< m_components.size(); i++) dele...
19.830189
57
0.610847
[ "render" ]
cc1fc39a0158e5137836dba5842b28176aeb68ad
7,756
cpp
C++
src/app/Toolbar.cpp
lahwran/Rack
d63e23b2b64cdad54da7609ee8e018d9f45ced2f
[ "Zlib", "BSD-3-Clause" ]
84
2018-05-02T13:15:42.000Z
2019-11-25T15:53:59.000Z
src/app/Toolbar.cpp
lahwran/Rack
d63e23b2b64cdad54da7609ee8e018d9f45ced2f
[ "Zlib", "BSD-3-Clause" ]
17
2018-05-02T13:18:44.000Z
2019-10-29T00:16:56.000Z
src/app/Toolbar.cpp
lahwran/Rack
d63e23b2b64cdad54da7609ee8e018d9f45ced2f
[ "Zlib", "BSD-3-Clause" ]
9
2018-05-06T18:39:58.000Z
2019-10-03T15:15:26.000Z
#include "app.hpp" #include "window.hpp" #include "engine.hpp" #include "settings.hpp" #include "asset.hpp" namespace rack { struct NewItem : MenuItem { void onAction(EventAction &e) override { gRackWidget->reset(); } }; struct DisconnectItem : MenuItem { void onAction(EventAction &e) override { gRackWidget-...
26.561644
129
0.707323
[ "vector" ]
cc25fbdccc0e28564af91fccf6f9ab7985b38ed9
5,978
hpp
C++
blades/freelan/libs/kfather/include/kfather/formatter.hpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/freelan/libs/kfather/include/kfather/formatter.hpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/freelan/libs/kfather/include/kfather/formatter.hpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * libkfather - C++ JSON parser/producer library. * Copyright (C) 2010-2012 Julien Kauffmann <julien.kauffmann@freelan.org> * * This file is part of libkfather. * * libkfather is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as * published by the F...
24.804979
104
0.678488
[ "object" ]
cc32285d47cff40e589f990257b0929385f33720
7,892
cpp
C++
KablunkEditor/src/Panels/ContentBrowserPanel.cpp
happymonkey1/KablunkEngine
ca7dff1e3dfcdc47fe0f776adef6f2c99ca5557e
[ "MIT" ]
null
null
null
KablunkEditor/src/Panels/ContentBrowserPanel.cpp
happymonkey1/KablunkEngine
ca7dff1e3dfcdc47fe0f776adef6f2c99ca5557e
[ "MIT" ]
null
null
null
KablunkEditor/src/Panels/ContentBrowserPanel.cpp
happymonkey1/KablunkEngine
ca7dff1e3dfcdc47fe0f776adef6f2c99ca5557e
[ "MIT" ]
null
null
null
#include "Panels/ContentBrowserPanel.h" #include "Kablunk/Project/Project.h" #include <imgui/imgui.h> #include <glm/gtc/type_ptr.hpp> #include "imgui/imgui_internal.h" #include <thread> #include <assimp/Importer.hpp> #include <assimp/scene.h> namespace Kablunk { //extern const std::filesystem::path g_asset_path =...
30.828125
137
0.702864
[ "vector", "model" ]
cc36c88f63d7b9fff07ac8b33ce5cf6377e369e4
1,914
hpp
C++
Common/Database.hpp
arves100/retrospy-server
079d786c84e9271c041000d10cf7610d8e96cec4
[ "BSD-3-Clause" ]
null
null
null
Common/Database.hpp
arves100/retrospy-server
079d786c84e9271c041000d10cf7610d8e96cec4
[ "BSD-3-Clause" ]
null
null
null
Common/Database.hpp
arves100/retrospy-server
079d786c84e9271c041000d10cf7610d8e96cec4
[ "BSD-3-Clause" ]
null
null
null
#ifndef _RSS_COMMON_DATABASE_HPP_ #define _RSS_COMMON_DATABASE_HPP_ #include <string> #include <vector> #include "sqlite3.h" // Use ResultQuery if you want to execute "SELECT" queries class ResultQuery { public: ResultQuery(); ~ResultQuery(); bool next(const char *query); bool isFirst() { return nCurrRow == 1 ?...
29.446154
119
0.751306
[ "vector" ]
cc3b5f217488551e8920a11204f82f72b0164293
33,009
cpp
C++
modules/visual_script/visual_script_expression.cpp
leyyin/godot
68325d7254db711beaedddad218e2cddb405c42c
[ "CC-BY-3.0", "MIT" ]
5
2017-02-06T18:37:37.000Z
2021-06-29T06:45:26.000Z
modules/visual_script/visual_script_expression.cpp
leyyin/godot
68325d7254db711beaedddad218e2cddb405c42c
[ "CC-BY-3.0", "MIT" ]
17
2016-12-30T14:35:53.000Z
2017-03-07T21:07:50.000Z
modules/visual_script/visual_script_expression.cpp
leyyin/godot
68325d7254db711beaedddad218e2cddb405c42c
[ "CC-BY-3.0", "MIT" ]
1
2020-10-22T12:22:52.000Z
2020-10-22T12:22:52.000Z
#include "visual_script_expression.h" bool VisualScriptExpression::_set(const StringName& p_name, const Variant& p_value) { if (String(p_name)=="expression") { expression=p_value; expression_dirty=true; ports_changed_notify(); return true; } if (String(p_name)=="out_type") { output_type=Variant::Type(i...
21.659449
175
0.621497
[ "vector" ]
cc3f54713c8bdd6d090dff84ae62504aee0a7fa5
2,873
cpp
C++
Day_17/03_Postorder_Traversal.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
Day_17/03_Postorder_Traversal.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
Day_17/03_Postorder_Traversal.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
// Problem Link: // https://leetcode.com/problems/binary-tree-postorder-traversal/ // Approach 1: (Recursive) // TC: O(n) // SC: O(n) // Approach 2: (Iterative 2 Stacks) // TC: O(n) // SC: O(n) // Approach 3: (Iterative 1 Stack) (Store negative type-casted address values) // TC: O(n) // SC: O(n) #include <bits/stdc...
19.02649
78
0.516533
[ "vector" ]
cc4914a918379ef51b121da4870276cc85e332d3
6,116
cpp
C++
Project/Motor2D/Boo.cpp
albertllopart/SMW-Reborn
198579b08c449544ba90d9333ad154674f05afc4
[ "Unlicense" ]
1
2020-03-19T18:08:06.000Z
2020-03-19T18:08:06.000Z
Project/Motor2D/Boo.cpp
albertllopart/SMW-Reborn
198579b08c449544ba90d9333ad154674f05afc4
[ "Unlicense" ]
null
null
null
Project/Motor2D/Boo.cpp
albertllopart/SMW-Reborn
198579b08c449544ba90d9333ad154674f05afc4
[ "Unlicense" ]
null
null
null
#include "Boo.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Render.h" #include "j1Window.h" #include "j1Textures.h" #include "j1Player.h" #include "j1EntityModule.h" #include "j1Map.h" #include "j1Pathfinding.h" #include "Brofiler\Brofiler.h" Boo::Boo() : Entity() ...
21.089655
142
0.665141
[ "render" ]
cc591e047b8c17f7d60a5e29c255b4f1599fae97
918
cpp
C++
Problemset/shortest-palindrome/shortest-palindrome.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2020-10-06T01:06:45.000Z
2020-10-06T01:06:45.000Z
Problemset/shortest-palindrome/shortest-palindrome.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
null
null
null
Problemset/shortest-palindrome/shortest-palindrome.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2021-11-17T13:52:51.000Z
2021-11-17T13:52:51.000Z
// @Title: 最短回文串 (Shortest Palindrome) // @Author: Singularity0909 // @Date: 2020-08-29 17:36:32 // @Runtime: 4 ms // @Memory: 7.3 MB class Solution { public: string shortestPalindrome(string s) { int n = s.size(); vector<int> fail(n, -1); for (int i = 1; i < n; ++i) { int j = ...
25.5
66
0.367102
[ "vector" ]
7ff4837cead3e6790630a6bfbfa12f60f4b116bc
15,680
cpp
C++
inetsrv/iis/admin/cnfgprts/loguictl.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/admin/cnfgprts/loguictl.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/admin/cnfgprts/loguictl.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// LogUICtl.cpp : Implementation of the CLogUICtrl OLE control class. #include "stdafx.h" #include "cnfgprts.h" #include "LogUICtl.h" #include "LogUIPpg.h" #include <iiscnfg.h> #include "initguid.h" #include <inetcom.h> #include <logtype.h> #include <ilogobj.hxx> #ifdef _DEBUG #define new DEBUG_NEW ...
28.56102
103
0.578954
[ "object", "model" ]
7ff8a92b6ac3a17ce64935962186be924bf0a9a6
2,276
hpp
C++
src/type-safety/Xform.hpp
mikosz/type-safety
c5d30e620246c357dd97a71adca0443cb01b7064
[ "MIT" ]
2
2019-08-19T10:17:50.000Z
2019-08-26T12:57:04.000Z
src/type-safety/Xform.hpp
mikosz/type-safety
c5d30e620246c357dd97a71adca0443cb01b7064
[ "MIT" ]
null
null
null
src/type-safety/Xform.hpp
mikosz/type-safety
c5d30e620246c357dd97a71adca0443cb01b7064
[ "MIT" ]
null
null
null
#pragma once #include <type_traits> #include <stdexcept> #include "CompressedPair.hpp" #include "Matrix.hpp" #include "Point.hpp" #include "space.hpp" namespace type_safety { template <class FromSpaceT, class ToSpaceT> class Xform : CompressedPair<FromSpaceT, ToSpaceT> { public: template <class... SpaceParams> X...
25.863636
95
0.732865
[ "vector" ]
7fff7bfc77bf4f2b08fe9db8cf37de1f85f2f014
802
cpp
C++
h2o_plant.cpp
antonte/terraform
40efa22e21f3219f8ff498c13ed9a15b4ba1c114
[ "MIT" ]
null
null
null
h2o_plant.cpp
antonte/terraform
40efa22e21f3219f8ff498c13ed9a15b4ba1c114
[ "MIT" ]
null
null
null
h2o_plant.cpp
antonte/terraform
40efa22e21f3219f8ff498c13ed9a15b4ba1c114
[ "MIT" ]
1
2019-04-10T03:48:19.000Z
2019-04-10T03:48:19.000Z
#include "h2o_plant.hpp" #include "rend.hpp" #include "terrain.hpp" #include "world.hpp" #include <shade/shader_program.hpp> #include <shade/obj.hpp> #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/transform.hpp> H2OPlant::H2OPlant(World &world, int lifeSpan, int aProdRate, float x, float y) : Entity(world, x, y...
21.105263
79
0.683292
[ "transform" ]
3d05b0a53111b55980456afc5d478b40fb2a3e97
1,630
hh
C++
construct/detail/XMLUtils.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
construct/detail/XMLUtils.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
construct/detail/XMLUtils.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
//---------------------------------*-C++-*-----------------------------------// /*! * \file construct/detail/XMLUtils.hh * \brief XMLUtils class declaration * \note Copyright (c) 2021 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //---------------------------------------------------------------------------/...
31.346154
79
0.579755
[ "shape", "vector", "transform" ]
3d110353e301c0188c5554e37a6bb53bf9327b11
645
cpp
C++
Dataset/Leetcode/train/4/165.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/4/165.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/4/165.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: double XXX(vector<int>& nums1, vector<int>& nums2) { int m = nums1.size(), n = nums2.size(); vector<int> num(m+n); int l = 0, r = 0; for (int i = 0; i < m+n; ++i) { if (l == m) num[i] = nums2[r++]; else if (r == n) ...
24.807692
63
0.362791
[ "vector" ]
3d18237020a582787577eae7ae06f686e3e4f11d
13,072
cpp
C++
Source/Foundation/bsfCore/Network/BsNetwork.cpp
ValtoFrameworks/bsf
bb7a21e813a400dfdb8473dc3827e8e75150de99
[ "MIT" ]
2
2019-07-08T17:26:25.000Z
2019-10-13T19:15:28.000Z
Source/Foundation/bsfCore/Network/BsNetwork.cpp
ValtoFrameworks/bsf
bb7a21e813a400dfdb8473dc3827e8e75150de99
[ "MIT" ]
null
null
null
Source/Foundation/bsfCore/Network/BsNetwork.cpp
ValtoFrameworks/bsf
bb7a21e813a400dfdb8473dc3827e8e75150de99
[ "MIT" ]
4
2019-06-23T09:55:47.000Z
2019-07-08T17:23:05.000Z
//************************************ bs::framework - Copyright 2019 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "BsNetwork.h" #include "RakNet/RakPeer.h" #include "RakNet/M...
27.991435
124
0.711291
[ "object", "vector" ]
3d1d945fa6c524f08e2734610fc0a2abf2bf0570
15,837
cpp
C++
src/lqr_quaternion.cpp
llanesc/lqr-tracking
270f2f5164a668bfb77e19f5191595f1d3913a16
[ "MIT" ]
4
2020-12-17T10:00:48.000Z
2021-08-19T22:17:36.000Z
src/lqr_quaternion.cpp
llanesc/lqr-tracking
270f2f5164a668bfb77e19f5191595f1d3913a16
[ "MIT" ]
2
2020-11-30T18:12:36.000Z
2021-04-28T05:08:35.000Z
src/lqr_quaternion.cpp
llanesc/lqr-tracking
270f2f5164a668bfb77e19f5191595f1d3913a16
[ "MIT" ]
5
2020-04-22T09:00:04.000Z
2022-03-19T09:33:58.000Z
#include "lqr_controller/lqr_quaternion.hpp" namespace LQR { LQR_Quaternion::LQR_Quaternion(ros::NodeHandle& nodeHandle) : nodeHandle_(nodeHandle) { quadraticCost_.loadConfigFile(ros::package::getPath("lqr_controller") + "/lqrCostEuler.info", "termLQR"); Q_ = quadraticCost_.getStateWeight(); R_ = quadraticCos...
30.871345
237
0.647408
[ "vector" ]
3d238b3dc4ea1697781f02a4647d7733210deb81
2,482
cpp
C++
src/Source/SteamImageInfo.cpp
pouwelsjochem/com.coronalabs-plugin.steamworks
d4a8e04f020d213d416ab3d77fdf34ebc09194c9
[ "MIT" ]
null
null
null
src/Source/SteamImageInfo.cpp
pouwelsjochem/com.coronalabs-plugin.steamworks
d4a8e04f020d213d416ab3d77fdf34ebc09194c9
[ "MIT" ]
1
2020-05-22T22:53:41.000Z
2020-07-09T14:19:17.000Z
src/Source/SteamImageInfo.cpp
pouwelsjochem/com.coronalabs-plugin.steamworks
d4a8e04f020d213d416ab3d77fdf34ebc09194c9
[ "MIT" ]
2
2020-10-22T09:44:56.000Z
2020-10-28T17:13:41.000Z
// ---------------------------------------------------------------------------- // // SteamImageInfo.cpp // Copyright (c) 2016 Corona Labs Inc. All rights reserved. // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // // -------------------------...
21.964602
95
0.681708
[ "object" ]
3d2e0da09cfc121d02060c0a6cb08ee10d0cec4e
8,545
cpp
C++
gtsam/geometry/ParallaxAnglePoint3.cpp
Ellon/gtsam-3.1.0
7968c07cf79ff39ffce05dd7c1aadcd97d7c3c21
[ "BSD-3-Clause" ]
3
2020-03-13T21:19:55.000Z
2020-08-11T12:14:04.000Z
gtsam/geometry/ParallaxAnglePoint3.cpp
Ellon/gtsam-3.1.0
7968c07cf79ff39ffce05dd7c1aadcd97d7c3c21
[ "BSD-3-Clause" ]
null
null
null
gtsam/geometry/ParallaxAnglePoint3.cpp
Ellon/gtsam-3.1.0
7968c07cf79ff39ffce05dd7c1aadcd97d7c3c21
[ "BSD-3-Clause" ]
null
null
null
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * ----...
34.043825
219
0.639087
[ "vector", "3d" ]
3d2f50d16e9111150ffda548159d5eee2203ed39
2,107
cc
C++
tensorflow/g3doc/how_tos/adding_an_op/register_kernels.cc
vsilyaev/tensorflow
f41959ccb2d9d4c722fe8fc3351401d53bcf4900
[ "Apache-2.0" ]
1
2020-01-12T14:38:34.000Z
2020-01-12T14:38:34.000Z
tensorflow/g3doc/how_tos/adding_an_op/register_kernels.cc
vsilyaev/tensorflow
f41959ccb2d9d4c722fe8fc3351401d53bcf4900
[ "Apache-2.0" ]
null
null
null
tensorflow/g3doc/how_tos/adding_an_op/register_kernels.cc
vsilyaev/tensorflow
f41959ccb2d9d4c722fe8fc3351401d53bcf4900
[ "Apache-2.0" ]
null
null
null
#include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" using namespace tensorflow; template <typename T> class ZeroOutOp : public OpKernel { public: explicit ZeroOutOp(OpKernelConstruction* context) : OpKernel(context) {} void Compute(OpKernelContext* context) ove...
32.415385
79
0.573802
[ "shape" ]
3d3316c30c309de18a6dd045b861098ab598097b
1,832
cpp
C++
tools/parser-test.cpp
b0r3dd3v/souper
26fc1d3f59ee86885c0b073865b8c97130a9778d
[ "Apache-2.0" ]
1,758
2015-01-02T13:40:08.000Z
2022-03-30T17:24:53.000Z
tools/parser-test.cpp
b0r3dd3v/souper
26fc1d3f59ee86885c0b073865b8c97130a9778d
[ "Apache-2.0" ]
556
2015-01-02T13:11:38.000Z
2022-03-01T20:55:11.000Z
tools/parser-test.cpp
b0r3dd3v/souper
26fc1d3f59ee86885c0b073865b8c97130a9778d
[ "Apache-2.0" ]
144
2015-01-03T07:30:58.000Z
2022-03-08T07:41:08.000Z
// Copyright 2014 The Souper 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 ap...
31.050847
76
0.623362
[ "vector" ]
3d37175d511c965f2014acb3b5819e55bf6a11ad
629
cpp
C++
codeforces/gym/2018 ACM-ICPC, Syrian Collegiate Programming Contest/i.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/gym/2018 ACM-ICPC, Syrian Collegiate Programming Contest/i.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/gym/2018 ACM-ICPC, Syrian Collegiate Programming Contest/i.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> #include <cpplib/adt/point.hpp> #include <cpplib/geometry/see.hpp> int32_t main(){ ifstream cin("robots.in"); desync(); int t; cin >> t; while(t--){ int n, R, r; cin >> n >> R >> r; vector<point<int> > points; point<int> p; points...
22.464286
73
0.430843
[ "geometry", "vector" ]
3d38cfc8ac8c4a2493e22e9f2a264c5504764384
4,925
cpp
C++
TicTacToe Game/p2x.cpp
ngocdai94/C-Projects
f62bbf635152dec6286f00e375ddb7221eb7c4cf
[ "MIT" ]
null
null
null
TicTacToe Game/p2x.cpp
ngocdai94/C-Projects
f62bbf635152dec6286f00e375ddb7221eb7c4cf
[ "MIT" ]
null
null
null
TicTacToe Game/p2x.cpp
ngocdai94/C-Projects
f62bbf635152dec6286f00e375ddb7221eb7c4cf
[ "MIT" ]
null
null
null
//Dai Nguyen //p2.cpp //Purpose: Create a Tic Tac Toe game with a size from 3 to 25 // for 2 users to play //Input: row and column indexes of gameboard // //Output: display gameboard and result of the game #include "tictactoex.h" //function prototype: //display welcome message and instruction void we...
25
78
0.608325
[ "object" ]
3d4257c6b71b451953621d59a503f91ac9699fe1
4,444
cpp
C++
RenderEngine/src/Rendering/ShaderProgram.cpp
RubenB-1643541/MarblingSimulation
7534d7bcc4952a85a2512d354569256f8129c2cd
[ "MIT" ]
null
null
null
RenderEngine/src/Rendering/ShaderProgram.cpp
RubenB-1643541/MarblingSimulation
7534d7bcc4952a85a2512d354569256f8129c2cd
[ "MIT" ]
null
null
null
RenderEngine/src/Rendering/ShaderProgram.cpp
RubenB-1643541/MarblingSimulation
7534d7bcc4952a85a2512d354569256f8129c2cd
[ "MIT" ]
null
null
null
#include "pch.h" #include "ShaderProgram.h" RenderEngine::ShaderProgram::ShaderProgram() { } RenderEngine::ShaderProgram::ShaderProgram(Shader& shader) { Create(shader); } /* //http://www.opengl-tutorial.org/beginners-tutorials/tutorial-2-the-first-triangle/ */ bool RenderEngine::ShaderProgram::Creat...
29.825503
96
0.724797
[ "vector" ]
3d44c71effe79a0a87441755582ca388e4525f83
14,936
cpp
C++
Example/Source/ExampleSDL2/Private/Main.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
187
2015-11-02T21:27:57.000Z
2022-02-17T21:39:17.000Z
Example/Source/ExampleSDL2/Private/Main.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
null
null
null
Example/Source/ExampleSDL2/Private/Main.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
20
2015-11-04T19:17:01.000Z
2021-11-18T11:23:25.000Z
/*********************************************************\ * Copyright (c) 2012-2021 The Unrimp Team * * 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 wit...
41.373961
217
0.676018
[ "render", "object" ]
3d462a700ea886972be0be20dc7919cbc1dde02a
3,420
hpp
C++
nvidia_flex/common/maths.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
4
2018-09-15T20:30:38.000Z
2022-02-13T19:41:00.000Z
nvidia_flex/common/maths.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
4
2017-09-05T15:18:40.000Z
2018-08-27T01:15:46.000Z
nvidia_flex/common/maths.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
null
null
null
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
31.376147
111
0.726901
[ "vector" ]
3d4987b8433e5e1199c83bc5093b31c621344b85
9,184
cpp
C++
opengl/opengl_layer_testing/source/start.cpp
h1k421/GLoat-examples
2ec9c5669b3d36b84fd5789227664547650d982f
[ "0BSD" ]
4
2019-11-16T18:06:40.000Z
2019-11-19T14:54:19.000Z
opengl/opengl_layer_testing/source/start.cpp
h1k421/GLoat-examples
2ec9c5669b3d36b84fd5789227664547650d982f
[ "0BSD" ]
null
null
null
opengl/opengl_layer_testing/source/start.cpp
h1k421/GLoat-examples
2ec9c5669b3d36b84fd5789227664547650d982f
[ "0BSD" ]
null
null
null
#include <gloat.hpp> #include <string> #include <vector> #include "EGL/egl.h" #include "EGL/eglext.h" #include "glad/glad.h" extern bool g_opengl_core; extern int g_opengl_major; extern int g_opengl_minor; void fs_free(void *ptr, size_t unk) // unk = size? { free(ptr); } void init_fs(void) { nn::fs::SetAllo...
27.252226
79
0.571973
[ "render", "vector" ]
3d572a1d039c941280e2cd6e1dda5ce6a3e25603
43,966
cpp
C++
src/Technosoftware/Server/Da/DaGenericServer.cpp
AkatorMr/opc-daae-server
7d56e4603064b53476d3c0971a4d873066fba65f
[ "Info-ZIP" ]
null
null
null
src/Technosoftware/Server/Da/DaGenericServer.cpp
AkatorMr/opc-daae-server
7d56e4603064b53476d3c0971a4d873066fba65f
[ "Info-ZIP" ]
null
null
null
src/Technosoftware/Server/Da/DaGenericServer.cpp
AkatorMr/opc-daae-server
7d56e4603064b53476d3c0971a4d873066fba65f
[ "Info-ZIP" ]
1
2021-04-15T01:08:29.000Z
2021-04-15T01:08:29.000Z
/* * Copyright (c) 2020 Technosoftware GmbH. All rights reserved * Web: https://technosoftware.com * * The source code in this file is covered under a dual-license scenario: * - Owner of a purchased license: SCLA 1.0 * - GPL V3: everybody else * * SCLA license terms accompanied with this source code. * S...
32.02185
139
0.508256
[ "object" ]
3d5d636b99c4fff7b06e1e9f71dae0461ae4107a
10,024
cc
C++
extensions/html_flash_element/html_flash_element.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
175
2015-01-01T12:40:33.000Z
2019-05-24T22:33:59.000Z
extensions/html_flash_element/html_flash_element.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
11
2015-01-19T16:30:56.000Z
2018-04-25T01:06:52.000Z
extensions/html_flash_element/html_flash_element.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
97
2015-01-19T15:35:29.000Z
2019-05-15T05:48:02.000Z
/* Copyright 2008 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
29.922388
80
0.650539
[ "object" ]
3d5d9578cacd67d91f9334f3e00c1089b6f1b9a0
5,432
cpp
C++
src/graph/DataLayerVisitor.cpp
MaximMilashchenko/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
2,313
2017-03-24T16:25:28.000Z
2022-03-31T03:00:30.000Z
src/graph/DataLayerVisitor.cpp
MaximMilashchenko/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
952
2017-03-28T07:05:58.000Z
2022-03-30T09:54:02.000Z
src/graph/DataLayerVisitor.cpp
MaximMilashchenko/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
714
2017-03-24T22:21:51.000Z
2022-03-18T19:49:57.000Z
/* * Copyright (c) 2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 ...
34.163522
122
0.713733
[ "shape" ]
87ce0013c3a24e8963d995935dbe88ddd5f73fe0
7,874
cpp
C++
GameObject.cpp
Maknee/WeirdSnake
6f79f0ea7161fd0af433f1934fbcd50901f0c851
[ "MIT" ]
null
null
null
GameObject.cpp
Maknee/WeirdSnake
6f79f0ea7161fd0af433f1934fbcd50901f0c851
[ "MIT" ]
null
null
null
GameObject.cpp
Maknee/WeirdSnake
6f79f0ea7161fd0af433f1934fbcd50901f0c851
[ "MIT" ]
null
null
null
#include "GameObject.h" #include "GraphicsEngine.h" GameObject::GameObject(Shader & shader) { this->shader = shader; this->initRenderData(); } GameObject::~GameObject() { glDeleteVertexArrays(1, &this->VAO); glDeleteBuffers(1, &this->VBO); motionState.reset(); rigidBody.reset(); shape.reset(); } ...
33.506383
129
0.633985
[ "shape", "model" ]
87d127d1eab95cbedaeb1b21a018da2ea31805b8
21,488
hpp
C++
GViewCore/include/GView.hpp
gdt050579/GView
e5b8f286ee9a5e3bf11510c3aa9c21baeacee723
[ "MIT" ]
7
2021-12-28T23:42:07.000Z
2022-03-27T17:29:58.000Z
GViewCore/include/GView.hpp
gdt050579/GView
e5b8f286ee9a5e3bf11510c3aa9c21baeacee723
[ "MIT" ]
25
2021-11-11T19:32:00.000Z
2022-03-31T11:54:02.000Z
GViewCore/include/GView.hpp
gdt050579/GView
e5b8f286ee9a5e3bf11510c3aa9c21baeacee723
[ "MIT" ]
1
2021-11-24T15:11:35.000Z
2021-11-24T15:11:35.000Z
#pragma once // Version MUST be in the following format <Major>.<Minor>.<Patch> #define GVIEW_VERSION "0.40.0" #include <AppCUI/include/AppCUI.hpp> using namespace AppCUI::Controls; using namespace AppCUI::Utils; using namespace AppCUI::Graphics; using namespace AppCUI; #ifdef CORE_EXPORTABLE # ifdef BUILD_FOR_W...
29.638621
137
0.585397
[ "object" ]
87d22f24ca82ef931884a643735779debb27f0e3
4,667
hpp
C++
allium/mesh/range.hpp
hrittich/allium
d2691f51f9dc5ccaf808dd11fb28d251eb00b15d
[ "Apache-2.0" ]
1
2022-03-20T15:52:32.000Z
2022-03-20T15:52:32.000Z
allium/mesh/range.hpp
BuboniK666/allium
d2691f51f9dc5ccaf808dd11fb28d251eb00b15d
[ "Apache-2.0" ]
null
null
null
allium/mesh/range.hpp
BuboniK666/allium
d2691f51f9dc5ccaf808dd11fb28d251eb00b15d
[ "Apache-2.0" ]
1
2022-03-20T15:54:06.000Z
2022-03-20T15:54:06.000Z
// Copyright 2020 Hannah Rittich // // 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 ...
25.927778
75
0.57403
[ "shape" ]
87dfae5153f5c60a7dd61ff37f8839190fcc91c2
22,794
cpp
C++
PSME/agent/network/src/discovery/discovery_manager.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
5
2021-10-07T15:36:37.000Z
2022-03-01T07:21:49.000Z
PSME/agent/network/src/discovery/discovery_manager.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
null
null
null
PSME/agent/network/src/discovery/discovery_manager.cpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
1
2022-03-01T07:21:51.000Z
2022-03-01T07:21:51.000Z
/*! * @copyright * Copyright (c) 2015-2017 Intel Corporation * * @copyright * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * @copyright * http://www.apache.org/licenses/LICENSE-...
43.007547
87
0.584101
[ "model" ]
87e100ae92b64d6fe85549b7de1ba2ccb8a7c739
6,632
cpp
C++
ndlk/ortogon_u-2/source/exact_cover_u.cpp
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
null
null
null
ndlk/ortogon_u-2/source/exact_cover_u.cpp
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
4
2020-09-07T15:54:45.000Z
2020-09-27T16:47:16.000Z
ndlk/ortogon_u-2/source/exact_cover_u.cpp
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
null
null
null
#include "exact_cover_u.h" std::vector<transver> baza_trans; std::vector<exact_cover::data*> exact_cover::O; std::vector<exact_cover::data> exact_cover::heads; std::vector<exact_cover::data> exact_cover::nodes; bool is_dlk(const kvadrat& kvad){ long long flag, t; for(int i = 0; i < raz; i += por){ f...
29.215859
129
0.518094
[ "vector" ]
87e1f316e5b4bf74cd6da034e8ec0748373dc48d
3,386
cc
C++
src/oryol-conv3d/AssimpLoader.cc
13rac1/oryol-tools
9f0719343718d379d0cb52838260da78466e4ba7
[ "MIT" ]
null
null
null
src/oryol-conv3d/AssimpLoader.cc
13rac1/oryol-tools
9f0719343718d379d0cb52838260da78466e4ba7
[ "MIT" ]
null
null
null
src/oryol-conv3d/AssimpLoader.cc
13rac1/oryol-tools
9f0719343718d379d0cb52838260da78466e4ba7
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // AssimpLoader.cc //------------------------------------------------------------------------------ #include "AssimpLoader.h" #include "ExportUtil/Log.h" #include "assimp/scene.h" #include "assimp/postprocess.h" using namespace OryolTool...
37.622222
118
0.560248
[ "mesh", "3d" ]
87e4329f2b324b2edb11955e4e97887c0e7d6b48
37,428
cpp
C++
src/CryptoNoteCore/Currency.cpp
Camellia73/BlackRoseCoin_Diamond_V2
f155f7f9eb7f8db711b9e3a0d417038321a92abe
[ "BSD-3-Clause" ]
null
null
null
src/CryptoNoteCore/Currency.cpp
Camellia73/BlackRoseCoin_Diamond_V2
f155f7f9eb7f8db711b9e3a0d417038321a92abe
[ "BSD-3-Clause" ]
null
null
null
src/CryptoNoteCore/Currency.cpp
Camellia73/BlackRoseCoin_Diamond_V2
f155f7f9eb7f8db711b9e3a0d417038321a92abe
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // Copyright (c) 2017-2019, The Iridium developers // Copyright (c) 2018-2019, The MonetaVerde developers // // This file is part of Bytecoin. // // Bytecoin is free software: you can redistribute it and/or modify // it under the terms of th...
41.356906
322
0.723122
[ "vector" ]
87e5007d3dd3ca9c0acb41929d610a7f26f4ce88
2,254
hpp
C++
pomdog/graphics/gl4/render_target2d_gl4.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
163
2015-03-16T08:42:32.000Z
2022-01-11T21:40:22.000Z
pomdog/graphics/gl4/render_target2d_gl4.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
17
2015-04-12T20:57:50.000Z
2020-10-10T10:51:45.000Z
pomdog/graphics/gl4/render_target2d_gl4.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
21
2015-04-12T20:45:11.000Z
2022-01-14T20:50:16.000Z
// Copyright mogemimi. Distributed under the MIT license. #pragma once #include "pomdog/basic/conditional_compilation.hpp" #include "pomdog/graphics/forward_declarations.hpp" #include "pomdog/graphics/gl4/opengl_prerequisites.hpp" #include "pomdog/graphics/gl4/texture2d_gl4.hpp" #include "pomdog/graphics/render_targe...
32.2
98
0.748004
[ "render" ]
87ead99702027bc7f38ddc92a8ec6ddbc882cf00
436
cpp
C++
UVa/10055 - Hashmat the Brave Warrior/file.cpp
s1nisteR/CPSolutions
b840f1f1c7283b4bb581d1d5d54c27a828f5601d
[ "MIT" ]
1
2022-02-05T10:54:11.000Z
2022-02-05T10:54:11.000Z
UVa/10055 - Hashmat the Brave Warrior/file.cpp
s1nisteR/CPSolutions
b840f1f1c7283b4bb581d1d5d54c27a828f5601d
[ "MIT" ]
null
null
null
UVa/10055 - Hashmat the Brave Warrior/file.cpp
s1nisteR/CPSolutions
b840f1f1c7283b4bb581d1d5d54c27a828f5601d
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> #include <array> #include <vector> #include <utility> #include <cmath> #include <bitset> using namespace std; int main() { //Fast IO ios_base::sync_with_stdio(false); cin.tie(NULL); #ifndef ONLINE_JUDGE freopen("inputf.in","r",stdin); freopen("output...
12.823529
34
0.642202
[ "vector" ]
87ee4dd5cc02a7bf036cda40394764dbb3414a31
5,092
hpp
C++
stapl_release/stapl/runtime/this_context.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/runtime/this_context.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/runtime/this_context.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
32.851613
79
0.459741
[ "object" ]
87ef65677b75706d21cb2ab08e274458b959f964
13,221
cpp
C++
examples/interpreter/physl.cpp
NK-Nikunj/phylanx
6898992513a122c49d26947d877f329365486665
[ "BSL-1.0" ]
null
null
null
examples/interpreter/physl.cpp
NK-Nikunj/phylanx
6898992513a122c49d26947d877f329365486665
[ "BSL-1.0" ]
null
null
null
examples/interpreter/physl.cpp
NK-Nikunj/phylanx
6898992513a122c49d26947d877f329365486665
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2018 Parsa Amini // Copyright (c) 2018 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 <phylanx/phylanx.hpp> #include <phylanx/execution_tree/compiler/primitive_name.hpp>...
32.484029
88
0.606308
[ "vector", "transform" ]
87ff5140fc553ad481deba8de55e95654f0d701a
5,975
hpp
C++
ui-cpp/thirdparty/Lyra/include/lyra/cli_parser.hpp
bck2302000/spirit
14ed7782bd23f4828bf23ab8136ae31a21037bb3
[ "MIT" ]
92
2016-10-02T16:17:27.000Z
2022-02-22T11:23:49.000Z
ui-cpp/thirdparty/Lyra/include/lyra/cli_parser.hpp
bck2302000/spirit
14ed7782bd23f4828bf23ab8136ae31a21037bb3
[ "MIT" ]
590
2016-09-24T12:46:36.000Z
2022-03-24T18:27:18.000Z
ui-cpp/thirdparty/Lyra/include/lyra/cli_parser.hpp
bck2302000/spirit
14ed7782bd23f4828bf23ab8136ae31a21037bb3
[ "MIT" ]
46
2016-09-26T07:20:17.000Z
2022-02-17T19:55:17.000Z
// Copyright 2018-2019 Rene Rivera // Copyright 2017 Two Blue Cubes Ltd. All rights reserved. // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef LYRA_CLI_PARSER_HPP #define LYRA_CLI_PARSER_HPP #include "lyra/e...
24.387755
80
0.678494
[ "vector" ]
e2125754449b241fd9b902f1a110cc8fb796b41b
2,606
cpp
C++
src/kalman_filter.cpp
dan-fern/CarND-Extended-Kalman-Filter-Project
025679863b5f93470cd13c6f965ec6b39770f149
[ "MIT" ]
null
null
null
src/kalman_filter.cpp
dan-fern/CarND-Extended-Kalman-Filter-Project
025679863b5f93470cd13c6f965ec6b39770f149
[ "MIT" ]
null
null
null
src/kalman_filter.cpp
dan-fern/CarND-Extended-Kalman-Filter-Project
025679863b5f93470cd13c6f965ec6b39770f149
[ "MIT" ]
null
null
null
#include "kalman_filter.h" using Eigen::MatrixXd; using Eigen::VectorXd; // NOTE: Eigen lib does not initialize VectorXd or MatrixXd objects with zeros. /** Constructor */ KalmanFilter::KalmanFilter( ) { } /** Destructor */ KalmanFilter::~KalmanFilter( ) { } /** Init Initializes Kalman filter * @param x...
19.021898
79
0.537989
[ "model" ]
e219fec048fdb859e727ac16dcdc9e8c998c5781
8,568
cpp
C++
openbabel-2.4.1/src/formats/freefracformat.cpp
sxhexe/reaction-route-search
f7694c84ca1def4a133ade3e1e2e09705cd28312
[ "MIT" ]
1
2017-09-16T07:36:29.000Z
2017-09-16T07:36:29.000Z
openbabel-2.4.1/src/formats/freefracformat.cpp
sxhexe/reaction-route-search
f7694c84ca1def4a133ade3e1e2e09705cd28312
[ "MIT" ]
null
null
null
openbabel-2.4.1/src/formats/freefracformat.cpp
sxhexe/reaction-route-search
f7694c84ca1def4a133ade3e1e2e09705cd28312
[ "MIT" ]
null
null
null
/********************************************************************** Copyright (C) 2005-2006 by Geoffrey R. Hutchison Some portions Copyright (C) 2004 by Chris Morley This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free So...
31.733333
156
0.595355
[ "vector" ]
e2225bafe1f18dff78a68f59e1b1447e0f38676f
13,609
cpp
C++
src/planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/src/scene_module/blind_spot/scene.cpp
zqw-hooper/AutowareArchitectureProposal
93ca87fd7255be697219a100a97a639a56f6c4a7
[ "Apache-2.0" ]
null
null
null
src/planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/src/scene_module/blind_spot/scene.cpp
zqw-hooper/AutowareArchitectureProposal
93ca87fd7255be697219a100a97a639a56f6c4a7
[ "Apache-2.0" ]
null
null
null
src/planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/src/scene_module/blind_spot/scene.cpp
zqw-hooper/AutowareArchitectureProposal
93ca87fd7255be697219a100a97a639a56f6c4a7
[ "Apache-2.0" ]
4
2021-06-21T11:58:51.000Z
2021-08-06T08:25:54.000Z
/* * Copyright 2020 Tier IV, 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 appli...
35.440104
100
0.699758
[ "geometry", "object", "vector", "model" ]
e223f86407f313b37c2e67df2c1e74454c8854d7
397
cpp
C++
RaccoonPythonLibrary/RPL/Object.cpp
KamikazeRaccoons/RaccoonPythonInterpreter
a4cb6595669a1bdea5c4e56158566cb9c1a6d162
[ "Apache-2.0" ]
1
2016-02-15T23:08:11.000Z
2016-02-15T23:08:11.000Z
RaccoonPythonLibrary/RPL/Object.cpp
KamikazeRaccoons/RaccoonPythonInterpreter
a4cb6595669a1bdea5c4e56158566cb9c1a6d162
[ "Apache-2.0" ]
null
null
null
RaccoonPythonLibrary/RPL/Object.cpp
KamikazeRaccoons/RaccoonPythonInterpreter
a4cb6595669a1bdea5c4e56158566cb9c1a6d162
[ "Apache-2.0" ]
null
null
null
#include "Object.h" namespace rpl { Object::~Object() { delete m_pMutex; } void Object::lock() { m_pMutex->lock(); } void Object::unlock() { m_pMutex->unlock(); } void Object::destroy() const { delete this; } Object::ScopedLock::ScopedLock(Object* parent) { m_pParent = parent; m_pParent->...
11.342857
47
0.622166
[ "object" ]
e225461fb4cdeefd2a1e9df065851e908ad1b424
4,018
cpp
C++
Gems/AtomTressFX/External/Code/src/SDF.cpp
whywhywhyw/o3de
8e09f66799d4c8f188d45861d821e8656a554cb1
[ "Apache-2.0", "MIT" ]
678
2016-01-26T13:39:34.000Z
2022-03-22T09:12:05.000Z
Gems/AtomTressFX/External/Code/src/SDF.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
36
2016-01-26T15:30:17.000Z
2021-09-14T11:44:23.000Z
Gems/AtomTressFX/External/Code/src/SDF.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
131
2016-01-26T12:53:31.000Z
2022-02-17T04:23:22.000Z
///--------------------------------------------------------------------------------------- // Example code for managing objects for signed-distance fields (SDFs) // // This includes the TressFXSDFCollision objects. Associated with each is a system // for skinning the model on the GPU (since that is input to Tres...
41.854167
132
0.715281
[ "model" ]
e22958a833ba30675d2b2f6f8dfabfe72a445cf1
3,739
hpp
C++
ThirdParty/oglplus-develop/include/oglplus/bound.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
ThirdParty/oglplus-develop/include/oglplus/bound.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
ThirdParty/oglplus-develop/include/oglplus/bound.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
/** * @file oglplus/bound.hpp * @brief OGLplus bound objects * * @author Matus Chochlik * * Copyright 2010-2013 Matus Chochlik. 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) */ #pragma once #ifndef O...
25.609589
81
0.740572
[ "object" ]