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
b85c6f79ba47071da63889439c0ed916c6c90d2b
9,297
cpp
C++
deps/src/boost_1_65_1/libs/algorithm/test/clamp_test.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2018-12-15T20:03:51.000Z
2018-12-15T20:03:51.000Z
deps/src/boost_1_65_1/libs/algorithm/test/clamp_test.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
deps/src/boost_1_65_1/libs/algorithm/test/clamp_test.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2020-10-21T17:46:28.000Z
2020-10-21T17:46:28.000Z
// (C) Copyright Jesse Williamson 2009 // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <iostream> #include <vector> #include <boost/config.hpp> #include <boost/algor...
42.452055
107
0.591481
[ "vector" ]
b85e1c4fdaf2518d2f583f0846a31802f1ba5b23
16,070
hxx
C++
Modules/Filtering/ImageLabel/include/itkBinaryContourImageFilter.hxx
Kronephon/itktest
a34e46226638c08bba315a257e33550a68203d97
[ "Apache-2.0" ]
null
null
null
Modules/Filtering/ImageLabel/include/itkBinaryContourImageFilter.hxx
Kronephon/itktest
a34e46226638c08bba315a257e33550a68203d97
[ "Apache-2.0" ]
null
null
null
Modules/Filtering/ImageLabel/include/itkBinaryContourImageFilter.hxx
Kronephon/itktest
a34e46226638c08bba315a257e33550a68203d97
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
30.609524
115
0.651338
[ "object", "vector" ]
b85fb919ef045aceb281c685401769c925b94067
5,045
cpp
C++
components/m8rscript/GC.cpp
cmarrin/m8rscript
4e24800e1be2c2c5e2ec1b7b52aa6df787e6460c
[ "MIT" ]
1
2018-01-30T19:37:27.000Z
2018-01-30T19:37:27.000Z
components/m8rscript/GC.cpp
cmarrin/m8rscript
4e24800e1be2c2c5e2ec1b7b52aa6df787e6460c
[ "MIT" ]
null
null
null
components/m8rscript/GC.cpp
cmarrin/m8rscript
4e24800e1be2c2c5e2ec1b7b52aa6df787e6460c
[ "MIT" ]
3
2017-04-01T23:41:35.000Z
2019-12-14T23:26:24.000Z
/*------------------------------------------------------------------------- This source file is a part of m8rscript For the latest info, see http:www.marrin.org/ Copyright (c) 2018-2019, Chris Marrin All rights reserved. Use of this source code is governed by the MIT license that can be found in...
28.828571
187
0.513181
[ "object", "vector" ]
b866dad274713028d23e1105a905532cbd5350a8
4,630
cpp
C++
roadway_objects/test/TestRoadwayObjectsWorker.cpp
harderthan/carma-platform
29921896a761a866db9cfee473f02a481d8bb9c9
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
null
null
null
roadway_objects/test/TestRoadwayObjectsWorker.cpp
harderthan/carma-platform
29921896a761a866db9cfee473f02a481d8bb9c9
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
null
null
null
roadway_objects/test/TestRoadwayObjectsWorker.cpp
harderthan/carma-platform
29921896a761a866db9cfee473f02a481d8bb9c9
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
1
2021-06-01T21:05:20.000Z
2021-06-01T21:05:20.000Z
/* * Copyright (C) 2019-2020 LEIDOS. * * 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...
33.309353
110
0.738661
[ "object", "transform" ]
b86f5e95989b6beff144d08a4d2f1ced11f7f522
9,392
cpp
C++
Game/PhysicsWorld.cpp
dwarfcrank/FantasyQuest
e5a35a8631dc056db8ffbc114354244b1530eaa6
[ "MIT" ]
1
2020-05-09T20:03:04.000Z
2020-05-09T20:03:04.000Z
Game/PhysicsWorld.cpp
dwarfcrank/FantasyQuest
e5a35a8631dc056db8ffbc114354244b1530eaa6
[ "MIT" ]
null
null
null
Game/PhysicsWorld.cpp
dwarfcrank/FantasyQuest
e5a35a8631dc056db8ffbc114354244b1530eaa6
[ "MIT" ]
null
null
null
#include "pch.h" #include "Transform.h" #include "PhysicsWorld.h" #include "Scene.h" #include "Mesh.h" #include "Math.h" #include "Components/Transform.h" #include <im3d.h> #include <unordered_map> #include <bullet/btBulletDynamicsCommon.h> using namespace math; static void setEntity(btCollisionObj...
31.516779
152
0.672061
[ "mesh", "render", "shape", "vector", "transform" ]
b8725fc761b56a8c2237df010525d9711b6dcb70
4,184
hxx
C++
opencascade/LocOpe_SplitDrafts.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/LocOpe_SplitDrafts.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/LocOpe_SplitDrafts.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1996-10-02 // Created by: Jacques GOUSSARD // Copyright (c) 1996-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the G...
32.6875
323
0.728011
[ "shape" ]
b87defdd4d1bdfebabdc8a150be3395541d15553
6,078
hpp
C++
boost/proto/transform/impl.hpp
mike-code/boost_1_38_0
7ff8b2069344ea6b0b757aa1f0778dfb8526df3c
[ "BSL-1.0" ]
null
null
null
boost/proto/transform/impl.hpp
mike-code/boost_1_38_0
7ff8b2069344ea6b0b757aa1f0778dfb8526df3c
[ "BSL-1.0" ]
null
null
null
boost/proto/transform/impl.hpp
mike-code/boost_1_38_0
7ff8b2069344ea6b0b757aa1f0778dfb8526df3c
[ "BSL-1.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// \file impl.hpp /// Contains definition of transform<> and transform_impl<> helpers. // // Copyright 2008 Eric Niebler. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at...
31.82199
100
0.627015
[ "transform" ]
b8893c44f29ea91c3baf27f9f39bf0792f984c89
2,055
hpp
C++
SRC/GLD/Window.hpp
GustavoGLD/CLI-Graphics-Library
0f5a884f42618ac2a39ec2061a30d1be5a438e9f
[ "MIT" ]
1
2021-08-29T01:01:41.000Z
2021-08-29T01:01:41.000Z
SRC/GLD/Window.hpp
GustavoGLD/Fast-CLI-Game-Engine
0f5a884f42618ac2a39ec2061a30d1be5a438e9f
[ "MIT" ]
null
null
null
SRC/GLD/Window.hpp
GustavoGLD/Fast-CLI-Game-Engine
0f5a884f42618ac2a39ec2061a30d1be5a438e9f
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <thread> #include "Vectors.hpp" #include "Drawable.hpp" #include "Impl/TimeImpl.hpp" #include "Impl/InputImpl.hpp" #include "Colors.hpp" #include "Input.hpp" #if defined(_WIN32) || defined(_WIN64) #define ClearPrompt() system("cls"); #endif #if defined(__linux__) || defined(...
22.096774
93
0.537713
[ "vector" ]
b88adf002963b8486be40bfeaf8881685314e327
5,026
hpp
C++
oss_src/sketches/countsketch.hpp
venkattgg/venkey
796b9bdfb2fa1b881d82080754643c7e68629cd2
[ "BSD-3-Clause" ]
493
2016-07-11T13:35:24.000Z
2022-02-15T13:04:29.000Z
oss_src/sketches/countsketch.hpp
venkattgg/venkey
796b9bdfb2fa1b881d82080754643c7e68629cd2
[ "BSD-3-Clause" ]
27
2016-07-13T20:01:07.000Z
2022-02-01T18:55:28.000Z
oss_src/sketches/countsketch.hpp
venkattgg/venkey
796b9bdfb2fa1b881d82080754643c7e68629cd2
[ "BSD-3-Clause" ]
229
2016-07-12T10:39:54.000Z
2022-02-15T13:04:31.000Z
/** * Copyright (C) 2016 Turi * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #ifndef GRAPHLAB_SKETCHES_COUNTSKETCH_HPP #define GRAPHLAB_SKETCHES_COUNTSKETCH_HPP #include <cmath> #include <cstdint> #include <functi...
29.22093
106
0.616992
[ "object", "vector" ]
b894074238b8775de332871a1436920e18b08338
9,579
cxx
C++
vtkm/worklet/testing/UnitTestExtractStructured.cxx
yisyuanliou/VTK-m
cc483c8c2319a78b58b3ab849da8ca448e896220
[ "BSD-3-Clause" ]
1
2020-03-02T17:31:48.000Z
2020-03-02T17:31:48.000Z
vtkm/worklet/testing/UnitTestExtractStructured.cxx
yisyuanliou/VTK-m
cc483c8c2319a78b58b3ab849da8ca448e896220
[ "BSD-3-Clause" ]
1
2019-06-03T17:04:59.000Z
2019-06-05T15:13:28.000Z
vtkm/worklet/testing/UnitTestExtractStructured.cxx
yisyuanliou/VTK-m
cc483c8c2319a78b58b3ab849da8ca448e896220
[ "BSD-3-Clause" ]
1
2020-07-20T06:43:49.000Z
2020-07-20T06:43:49.000Z
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
40.417722
92
0.681073
[ "3d" ]
b896050bed8efa75140adc01384801090feb28b9
5,396
cpp
C++
java/src/main/native/jni_util.cpp
farruhnet/AmazonDeepEngine
f64044d1e467333d0c9bb0643f0edf75328c503b
[ "Apache-2.0" ]
3,924
2016-05-10T22:40:39.000Z
2017-05-02T17:54:20.000Z
java/src/main/native/jni_util.cpp
saminfante/amazon-dsstne
f64044d1e467333d0c9bb0643f0edf75328c503b
[ "Apache-2.0" ]
88
2016-05-11T05:11:45.000Z
2017-04-24T02:34:20.000Z
java/src/main/native/jni_util.cpp
saminfante/amazon-dsstne
f64044d1e467333d0c9bb0643f0edf75328c503b
[ "Apache-2.0" ]
633
2016-05-10T23:07:33.000Z
2017-05-02T11:33:50.000Z
/* * Copyright 2016 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 "li...
32.70303
115
0.722758
[ "object" ]
b89aee7648df6c064731fab4593cae2020db83f7
4,115
cc
C++
src/graphics/render/QuadRender.cc
eddiehoyle/sevengine
4f5bd2b16b1179784c831ef8a0d57ccecee0a92e
[ "MIT" ]
1
2019-08-21T05:06:04.000Z
2019-08-21T05:06:04.000Z
src/graphics/render/QuadRender.cc
eddiehoyle/sevengine
4f5bd2b16b1179784c831ef8a0d57ccecee0a92e
[ "MIT" ]
null
null
null
src/graphics/render/QuadRender.cc
eddiehoyle/sevengine
4f5bd2b16b1179784c831ef8a0d57ccecee0a92e
[ "MIT" ]
null
null
null
// // Created by Eddie Hoyle on 28/01/17. // #include <iostream> #include "QuadRender.hh" void print( const Vertex& vertex ) { std::cerr << "Vertex(x=" << vertex.x << ", y=" << vertex.y << ", s=" << vertex.s << ", t=" << vertex.t << ")" << std::endl; } Quad::Quad( float width, float height ) { ...
20.994898
114
0.524423
[ "vector" ]
b89da7a93d521b06b0dcf7333e7806e120e394de
10,627
cpp
C++
examples/kafka-serdes-avro-console-producer.cpp
jhansonhpe/libserdes
0c30d483f3217fe2c4dc3eaafd295b87a081ed49
[ "Apache-2.0" ]
null
null
null
examples/kafka-serdes-avro-console-producer.cpp
jhansonhpe/libserdes
0c30d483f3217fe2c4dc3eaafd295b87a081ed49
[ "Apache-2.0" ]
null
null
null
examples/kafka-serdes-avro-console-producer.cpp
jhansonhpe/libserdes
0c30d483f3217fe2c4dc3eaafd295b87a081ed49
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2015 Confluent 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 ...
26.5675
86
0.570057
[ "object", "vector" ]
b8a1f59985434d911eaad62a7ac831df7d8ced48
1,468
cpp
C++
source/Library.Shared/VectorHelper.cpp
planetpratik/GamePort
d33ea826a8d849bf90fef39df2f05145b9fb4d9c
[ "MIT" ]
1
2020-12-30T16:14:02.000Z
2020-12-30T16:14:02.000Z
source/Library.Shared/VectorHelper.cpp
planetpratik/GamePort
d33ea826a8d849bf90fef39df2f05145b9fb4d9c
[ "MIT" ]
null
null
null
source/Library.Shared/VectorHelper.cpp
planetpratik/GamePort
d33ea826a8d849bf90fef39df2f05145b9fb4d9c
[ "MIT" ]
null
null
null
#include "pch.h" #include "VectorHelper.h" using namespace std; using namespace DirectX; namespace DX { const XMFLOAT2 Vector2Helper::Zero = XMFLOAT2(0.0f, 0.0f); const XMFLOAT2 Vector2Helper::One = XMFLOAT2(1.0f, 1.0f); string Vector2Helper::ToString(const XMFLOAT2& vector) { stringstream stream; stream <<...
29.36
95
0.657357
[ "vector" ]
b8a2ef1356d641b4693438a7fec699cb54010b50
2,851
cc
C++
test/unit/bloom.cc
max101101/tarantool
65bb2fb811fefdce952c1111fb11eda337250aac
[ "BSD-2-Clause" ]
1
2019-01-02T02:16:22.000Z
2019-01-02T02:16:22.000Z
test/unit/bloom.cc
stek29/tarantool
cd9cc4c5057581970db4f8107c2a86ff0b24f4e2
[ "BSD-2-Clause" ]
null
null
null
test/unit/bloom.cc
stek29/tarantool
cd9cc4c5057581970db4f8107c2a86ff0b24f4e2
[ "BSD-2-Clause" ]
1
2020-04-06T18:37:57.000Z
2020-04-06T18:37:57.000Z
#include "salad/bloom.h" #include <unordered_set> #include <vector> #include <iostream> using namespace std; uint32_t h(uint32_t i) { return i * 2654435761; } void simple_test() { cout << "*** " << __func__ << " ***" << endl; struct quota q; quota_init(&q, 100500); srand(time(0)); uint32_t error_count = 0; ui...
25.684685
73
0.605402
[ "vector" ]
b8a6c11e55af31cf236fbc6d290dd81117992c03
1,871
cpp
C++
foundation/cpp/1_basics_of_programming/4_2d_arrays/2.cpp
vikaskbm/pepcoding
fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1
[ "MIT" ]
2
2021-03-16T08:56:46.000Z
2021-03-17T05:37:21.000Z
foundation/cpp/1_basics_of_programming/4_2d_arrays/2.cpp
vikaskbm/pepcoding
fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1
[ "MIT" ]
null
null
null
foundation/cpp/1_basics_of_programming/4_2d_arrays/2.cpp
vikaskbm/pepcoding
fb39b6dd62f4e5b76f75e12f2b222e2adb4854c1
[ "MIT" ]
null
null
null
// Matrix Multiplication // 1. You are given a number n1, representing the number of rows of 1st matrix. // 2. You are given a number m1, representing the number of columns of 1st matrix. // 3. You are given n1*m1 numbers, representing elements of 2d array a1. // 4. You are given a number n2, representing the number o...
23.098765
167
0.556387
[ "vector" ]
b8a8d52a37e2503f6322b46f1d01426a43b23174
3,511
cpp
C++
src/CGnuPlotCircle.cpp
colinw7/CQGnuPlot
8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94
[ "MIT" ]
null
null
null
src/CGnuPlotCircle.cpp
colinw7/CQGnuPlot
8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94
[ "MIT" ]
null
null
null
src/CGnuPlotCircle.cpp
colinw7/CQGnuPlot
8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94
[ "MIT" ]
1
2019-04-01T13:08:45.000Z
2019-04-01T13:08:45.000Z
#include <CGnuPlotCircle.h> #include <CGnuPlotRenderer.h> #include <CGnuPlotGroup.h> CGnuPlotCircle:: CGnuPlotCircle(CGnuPlotGroup *group) : CGnuPlotGroupAnnotation(group) { } CGnuPlotCircle * CGnuPlotCircle:: setData(const CGnuPlotCircle *circle) { (void) CGnuPlotGroupAnnotation::setData(circle); p_ = c...
19.836158
86
0.615779
[ "solid" ]
b8a8f65080a7a461f5d1bd5767d8d53f100582d8
5,785
cpp
C++
libraries/networking/src/ThreadedAssignment.cpp
annabrewer/hifi
ba7ed321355253a4a3bb3af8175e1be5ed5f7769
[ "Apache-2.0" ]
1
2019-07-08T06:54:01.000Z
2019-07-08T06:54:01.000Z
libraries/networking/src/ThreadedAssignment.cpp
VRcentral/VRcentral
d6064b46cfd26af4090ba799db55941c7de21b90
[ "Apache-2.0" ]
null
null
null
libraries/networking/src/ThreadedAssignment.cpp
VRcentral/VRcentral
d6064b46cfd26af4090ba799db55941c7de21b90
[ "Apache-2.0" ]
null
null
null
// // ThreadedAssignment.cpp // libraries/shared/src // // Created by Stephen Birarda on 12/3/2013. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "ThreadedAssignmen...
36.15625
139
0.709594
[ "object" ]
b8a9499ca56fb38f810b782d07e35d3a9afedb38
28,541
cpp
C++
window_inventory.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
window_inventory.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
window_inventory.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
/* Copyright (c) 2012-2013 Cheese and Bacon Games, LLC */ /* See the file docs/COPYING.txt for copying permission. */ #include "window_inventory.h" #include "world.h" #include "render.h" #include "collision.h" #include "quit.h" #include "button_events.h" #include "holidays.h" using namespace std; Window_Inventory::W...
47.175207
199
0.569497
[ "render", "vector" ]
b8afcfe0cb537493da05285cb44dde67fa32a5fb
10,314
cpp
C++
ohm/VoxelBlock.cpp
data61/ohm
1bd81bb3e8a5a400d8af91e39464c640c47d56af
[ "Zlib" ]
45
2020-06-09T23:26:47.000Z
2022-03-16T12:16:33.000Z
ohm/VoxelBlock.cpp
data61/ohm
1bd81bb3e8a5a400d8af91e39464c640c47d56af
[ "Zlib" ]
1
2022-01-10T05:50:36.000Z
2022-01-24T02:50:01.000Z
ohm/VoxelBlock.cpp
data61/ohm
1bd81bb3e8a5a400d8af91e39464c640c47d56af
[ "Zlib" ]
5
2021-02-25T15:08:46.000Z
2022-03-30T13:08:03.000Z
// Copyright (c) 2019 // Commonwealth Scientific and Industrial Research Organisation (CSIRO) // ABN 41 687 119 230 // // Author: Kazys Stepanas #include "VoxelBlock.h" #include "MapLayer.h" #include "VoxelBlockCompressionQueue.h" #include "private/OccupancyMapDetail.h" #include <zlib.h> #include <algorithm> #inclu...
26.651163
120
0.699922
[ "vector" ]
b8b0d71020f5d08c39d5a3ab65c93c0349f872a3
2,676
hpp
C++
Extensions/ZilchShaders/ShaderIntrinsicTypes.hpp
jayrulez/ZeroCore
5da0e2537bc520c3b7ad461e676482382dd5a3e8
[ "MIT" ]
1
2022-03-26T21:08:19.000Z
2022-03-26T21:08:19.000Z
Extensions/ZilchShaders/ShaderIntrinsicTypes.hpp
jodavis42/PhysicsSandbox
3119caaa77721041440cdc1b3cf96d4bd9e2d98b
[ "MIT" ]
null
null
null
Extensions/ZilchShaders/ShaderIntrinsicTypes.hpp
jodavis42/PhysicsSandbox
3119caaa77721041440cdc1b3cf96d4bd9e2d98b
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// /// Authors: Joshua Davis /// Copyright 2015, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #pragma once namespace Zero { class ZilchShaderIRType; } na...
33.45
99
0.606129
[ "geometry" ]
b8bb26acea8fe256f5fc64151b8c5cce2eb4120e
11,052
cpp
C++
s01e10_main.cpp
Michal-Fularz/PSIO_project_2021
49ee9fc65b4b9b64b4ec09da42bcb5593b789416
[ "MIT" ]
null
null
null
s01e10_main.cpp
Michal-Fularz/PSIO_project_2021
49ee9fc65b4b9b64b4ec09da42bcb5593b789416
[ "MIT" ]
null
null
null
s01e10_main.cpp
Michal-Fularz/PSIO_project_2021
49ee9fc65b4b9b64b4ec09da42bcb5593b789416
[ "MIT" ]
null
null
null
#define GL_SILENCE_DEPRECATION #include <iostream> #include <fstream> #include <sstream> #include <SFML/Window.hpp> #include <SFML/Graphics.hpp> #include <SFML/OpenGL.hpp> #include <GL/glu.h> // Windows/Linux #include "planet.h" void draw_cube(double size) { double half_cube_size = size / 2.0; // bottom ...
30.530387
156
0.572023
[ "vector" ]
b8be23dd01a2b54df027e287b5fdad25135b42e1
1,387
cpp
C++
SPOJ/MARBLES.cpp
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
2
2019-04-20T18:03:20.000Z
2019-08-17T21:20:47.000Z
CodeChef/MARBLES.cpp
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
null
null
null
CodeChef/MARBLES.cpp
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
1
2019-04-20T18:03:26.000Z
2019-04-20T18:03:26.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <cmath> #include <vector> #include <cctype> // Input macros #define s(n) scanf("%d",&n) #define sc(n) scanf("%c",&n) #define sl(n) scanf("%lld",&n) #define sf(n) ...
24.333333
60
0.413843
[ "vector" ]
b8be39e0bb20dd0db8b9172f0a78f9d09eccefe0
4,551
cpp
C++
be/src/storage/rowset/segment_rewriter.cpp
hiliuxg/starrocks
04640294c794291e31c132bc6217cc62e71be17c
[ "Zlib", "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
be/src/storage/rowset/segment_rewriter.cpp
hiliuxg/starrocks
04640294c794291e31c132bc6217cc62e71be17c
[ "Zlib", "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
be/src/storage/rowset/segment_rewriter.cpp
hiliuxg/starrocks
04640294c794291e31c132bc6217cc62e71be17c
[ "Zlib", "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT" ]
null
null
null
// Copyright (c) 2021 Beijing Dingshi Zongheng Technology Co., Ltd. All rights reserved. #include "segment_rewriter.h" #include "fs/fs.h" #include "gen_cpp/segment.pb.h" #include "storage/chunk_helper.h" #include "storage/rowset/segment.h" #include "storage/rowset/segment_writer.h" #include "util/filesystem_util.h" #...
44.184466
119
0.712151
[ "vector" ]
b8bff766f21821a2d8bda261c1a3a8518d5e9728
3,694
cpp
C++
src/main.cpp
macneib/Discovery-Server
c499531422e671527f8676e3efba30015993b5d3
[ "Apache-2.0" ]
null
null
null
src/main.cpp
macneib/Discovery-Server
c499531422e671527f8676e3efba30015993b5d3
[ "Apache-2.0" ]
null
null
null
src/main.cpp
macneib/Discovery-Server
c499531422e671527f8676e3efba30015993b5d3
[ "Apache-2.0" ]
1
2021-06-02T11:16:26.000Z
2021-06-02T11:16:26.000Z
#include "log/DSLog.h" #include "version/config.h" #include <fastrtps/Domain.h> #include "DSManager.h" using namespace eprosima; using namespace fastrtps; using namespace rtps; using namespace discovery_server; std::pair<std::set<std::string>, std::string> validationCommandLineParser(int argc, char * argv[]); int...
26.963504
110
0.55333
[ "transform" ]
b8c3556e0feb5ba4731d0d92f0e6465d1d45e758
4,775
cpp
C++
Modules/SceneSerializationBase/test/mitkVectorPropertySerializerTest.cpp
SVRTK/MITK
52252d60e42702e292d188e30f6717fe50c23962
[ "BSD-3-Clause" ]
1
2020-08-13T03:06:41.000Z
2020-08-13T03:06:41.000Z
Modules/SceneSerializationBase/test/mitkVectorPropertySerializerTest.cpp
SVRTK/MITK
52252d60e42702e292d188e30f6717fe50c23962
[ "BSD-3-Clause" ]
null
null
null
Modules/SceneSerializationBase/test/mitkVectorPropertySerializerTest.cpp
SVRTK/MITK
52252d60e42702e292d188e30f6717fe50c23962
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
33.626761
108
0.710576
[ "object", "vector" ]
fefd521eb34b246161ec3b8eb942ad7c7c554baa
10,523
cpp
C++
umd/core/runtime/Emulator.cpp
CSL-KU/nvdla-sw
a39365fe87b442a3a18eab42cafcdb08b417750f
[ "Apache-2.0" ]
1
2020-07-30T08:01:14.000Z
2020-07-30T08:01:14.000Z
umd/core/runtime/Emulator.cpp
CSL-KU/nvdla-sw
a39365fe87b442a3a18eab42cafcdb08b417750f
[ "Apache-2.0" ]
null
null
null
umd/core/runtime/Emulator.cpp
CSL-KU/nvdla-sw
a39365fe87b442a3a18eab42cafcdb08b417750f
[ "Apache-2.0" ]
2
2019-02-12T00:29:27.000Z
2020-10-23T16:56:03.000Z
/* * Copyright (c) 2017-2018, NVIDIA 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: * * Redistributions of source code must retain the above copyright * notice, this list ...
32.082317
179
0.643543
[ "vector" ]
3a0129e942f059687921609f6509b06d65bd9f01
6,282
cc
C++
src/Topology.cc
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
9
2019-04-04T18:03:36.000Z
2019-05-03T23:48:59.000Z
src/Topology.cc
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
16
2019-04-04T12:22:19.000Z
2019-04-09T19:04:42.000Z
src/Topology.cc
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
2
2019-10-11T14:17:26.000Z
2022-03-15T10:06:08.000Z
/* * Copyright 2015 Applied Research Center for Computer Networks * * 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 b...
29.083333
97
0.640401
[ "object", "vector" ]
3a08e0b7e6b4bf23ecb48cdd514a933fa3b4fc06
2,419
hpp
C++
Sources/Editor/Scenes/AssetsEditorScene.hpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/Editor/Scenes/AssetsEditorScene.hpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/Editor/Scenes/AssetsEditorScene.hpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#pragma once #include <Core/AScene.hh> #include <Core/Engine.hh> #include <memory> #include <FileUtils/AssetFiles/Folder.hpp> #include <set> #include "IMenuInheritrance.hpp" namespace AGE { namespace FileUtils { class RawFile; } namespace AE { struct CookConfig; } class AssetsEditorScene : public IMenuInhe...
32.253333
103
0.751137
[ "vector" ]
3a096088075f4c8d19af25676624886d876b8ff5
36
cpp
C++
compiler-native/test/test_parallel.cpp
SleepyToDeath/NetQRE
0176a31afa45faa4877974a4a0575a4e60534090
[ "MIT" ]
2
2021-03-30T15:25:44.000Z
2021-05-14T07:22:25.000Z
compiler-native/test/test_parallel.cpp
SleepyToDeath/NetQRE
0176a31afa45faa4877974a4a0575a4e60534090
[ "MIT" ]
null
null
null
compiler-native/test/test_parallel.cpp
SleepyToDeath/NetQRE
0176a31afa45faa4877974a4a0575a4e60534090
[ "MIT" ]
null
null
null
#include <vector> #include <vector>
12
17
0.722222
[ "vector" ]
3a096b9e18740db1b6422ebe1fb179a8730fa4a7
3,139
cc
C++
polardb/src/model/DescribeDBClusterAccessWhitelistResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
polardb/src/model/DescribeDBClusterAccessWhitelistResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
polardb/src/model/DescribeDBClusterAccessWhitelistResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
40.766234
149
0.818732
[ "vector", "model" ]
3a0a77ff950a4ee2b5978bfb2c0ae833778081bb
12,248
hpp
C++
libraries/chain/include/graphene/chain/crosschain_trx_object.hpp
hbchain/hbcore
649c67d91cf950e0fc4102a6e0ea82e5f7abd17f
[ "MIT" ]
2
2020-07-22T02:08:49.000Z
2020-12-04T08:20:40.000Z
libraries/chain/include/graphene/chain/crosschain_trx_object.hpp
hbchain/hbcore
649c67d91cf950e0fc4102a6e0ea82e5f7abd17f
[ "MIT" ]
null
null
null
libraries/chain/include/graphene/chain/crosschain_trx_object.hpp
hbchain/hbcore
649c67d91cf950e0fc4102a6e0ea82e5f7abd17f
[ "MIT" ]
1
2020-12-01T07:50:29.000Z
2020-12-01T07:50:29.000Z
#pragma once #include <graphene/chain/protocol/asset.hpp> #include <graphene/db/object.hpp> #include <graphene/db/generic_index.hpp> #include <boost/multi_index/composite_key.hpp> #include <graphene/crosschain/crosschain.hpp> #include <map> namespace graphene { namespace chain { using namespace graphene::db; usin...
38.275
173
0.806254
[ "object", "vector" ]
3a0ba9f9ce3ae0d58e402e71dd7bcc3760c6d283
464
cpp
C++
sortVector.cpp
jpvarbed/practiceproblems
88770343139efcb478bd734346535df4f166e632
[ "MIT" ]
null
null
null
sortVector.cpp
jpvarbed/practiceproblems
88770343139efcb478bd734346535df4f166e632
[ "MIT" ]
null
null
null
sortVector.cpp
jpvarbed/practiceproblems
88770343139efcb478bd734346535df4f166e632
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; void print(const vector<auto> &v) { for (auto const& e : v) { cout << e << "\t"; } cout << endl; } int main() { vector<int> a{ 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}; vector<int> b{ 20, 18, 16, 14, 12, 10, 8, 6, 4, 2}; vector<int> c{...
17.846154
55
0.534483
[ "vector" ]
3a0c3f0b7542c529105580f8a4280be67376725d
3,319
cpp
C++
ModelViewer/ViewModels/RootPageViewModel.cpp
peted70/dx-gltf-viewer
d18c8ea888f653baa26dbbabaad194a6e2e60899
[ "MIT" ]
2
2020-02-23T13:56:45.000Z
2020-05-04T21:46:16.000Z
ModelViewer/ViewModels/RootPageViewModel.cpp
peted70/dx-gltf-viewer
d18c8ea888f653baa26dbbabaad194a6e2e60899
[ "MIT" ]
1
2018-01-18T17:04:16.000Z
2018-01-18T17:04:16.000Z
ModelViewer/ViewModels/RootPageViewModel.cpp
peted70/dx-gltf-viewer
d18c8ea888f653baa26dbbabaad194a6e2e60899
[ "MIT" ]
null
null
null
#include "pch.h" #include "RootPageViewModel.h" #include "DelegateCommand.h" #include "SceneManager.h" #include "Utility.h" #include <experimental/resumable> #include <pplawait.h> using namespace ViewModels; using namespace Windows::Storage::Pickers; RootPageViewModel::RootPageViewModel() { LoadFileCommand = ref new...
27.658333
123
0.729738
[ "object" ]
3a0ce34fabb9c7248a1e129447643dd5b30b03a9
746
cc
C++
search-insert-position.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
search-insert-position.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
search-insert-position.cc
sonald/leetcode
3c34e2779a736acc880876f4244f1becd7b199ed
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <random> #include <set> #include <map> #include <algorithm> using namespace std; class Solution { public: int searchInsert(int A[], int n, int target) { int i = 0; for (; i < n; ++i) { if (target <= A[i...
16.577778
54
0.457105
[ "vector" ]
3a0f5693e0e0b1e0b7e0614b07ef0a27c478bcfa
289,755
cpp
C++
GameServer/ProcHelperMsg.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/ProcHelperMsg.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/ProcHelperMsg.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
1
2022-01-17T09:34:39.000Z
2022-01-17T09:34:39.000Z
#include <boost/format.hpp> #include <boost/foreach.hpp> #include "stdhdrs.h" #include "Log.h" #include "Exp.h" #include "Server.h" #include "CmdMsg.h" #include "doFunc.h" #include "WarCastle.h" #include "DBManager.h" #include "../ShareLib/DBCmd.h" #include "DratanCastle.h" #include "Party_recall_manager.h" #include "...
24.588849
255
0.67614
[ "vector" ]
3a1008c21a8158bcf9d4d1b55759dca4319ba176
3,330
hpp
C++
src/lib/matrix/matrix/Slice.hpp
ximiheheda/acrobatic_firm_new
fc823f4c53cbe969b9b278aff9671385ba19b18f
[ "BSD-3-Clause" ]
null
null
null
src/lib/matrix/matrix/Slice.hpp
ximiheheda/acrobatic_firm_new
fc823f4c53cbe969b9b278aff9671385ba19b18f
[ "BSD-3-Clause" ]
null
null
null
src/lib/matrix/matrix/Slice.hpp
ximiheheda/acrobatic_firm_new
fc823f4c53cbe969b9b278aff9671385ba19b18f
[ "BSD-3-Clause" ]
1
2020-02-17T09:25:07.000Z
2020-02-17T09:25:07.000Z
/** * @file Slice.hpp * * A simple matrix template library. * * @author Julian Kent < julian@auterion.com > */ #pragma once #include "math.hpp" namespace matrix { template<typename Type, size_t M, size_t N> class Matrix; template<typename Type, size_t M> class Vector; template <typename Type, size_t P, siz...
23.956835
109
0.488889
[ "vector" ]
3a1295c38d04abc897fa4bf5dac0081fdb345d87
2,733
cc
C++
src/vnsw/agent/controller/controller_sandesh.cc
madkiss/contrail-controller
17f622dfe99f8ab4163436399e80f95dd564814c
[ "Apache-2.0" ]
null
null
null
src/vnsw/agent/controller/controller_sandesh.cc
madkiss/contrail-controller
17f622dfe99f8ab4163436399e80f95dd564814c
[ "Apache-2.0" ]
null
null
null
src/vnsw/agent/controller/controller_sandesh.cc
madkiss/contrail-controller
17f622dfe99f8ab4163436399e80f95dd564814c
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include <cmn/agent_cmn.h> #include <cmn/agent_db.h> #include <controller/controller_sandesh.h> #include <controller/controller_types.h> #include <controller/controller_peer.h> #include <init/agent_param.h> const char *ControllerSandesh::kAuthTy...
33.329268
129
0.672521
[ "vector" ]
3a13987efcdf0bfd95688063663b2914715ac653
4,546
cpp
C++
examples/benchmark/bm_nanoflann.cpp
Jaybro/pico_tree
c6f7fb798b60452add7d0e940c4a7737cd72a992
[ "MIT" ]
23
2020-07-19T23:03:01.000Z
2022-03-07T15:06:26.000Z
examples/benchmark/bm_nanoflann.cpp
Jaybro/pico_tree
c6f7fb798b60452add7d0e940c4a7737cd72a992
[ "MIT" ]
1
2021-01-26T16:53:16.000Z
2021-01-26T23:20:54.000Z
examples/benchmark/bm_nanoflann.cpp
Jaybro/pico_tree
c6f7fb798b60452add7d0e940c4a7737cd72a992
[ "MIT" ]
4
2021-03-04T14:03:28.000Z
2021-05-27T05:36:40.000Z
#include "benchmark.hpp" #include "nano_adaptor.hpp" class BmNanoflann : public pico_tree::Benchmark { public: using NanoAdaptorX = NanoAdaptor<Index, PointX>; }; template <typename NanoAdaptor> using NanoKdTreeCt = nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor<typename NanoAdaptor::ScalarT...
28.236025
80
0.569732
[ "vector" ]
3a1403d791f4514fc2d5f4ce8b319c28f75ece3a
1,222
cpp
C++
src/Explosion.cpp
laferenorg/CppGame
622f1fa70005877a4c0a206f6d0c3c70bfdd3125
[ "MIT" ]
1
2021-06-17T11:48:46.000Z
2021-06-17T11:48:46.000Z
src/Explosion.cpp
laferenorg/CppGame
622f1fa70005877a4c0a206f6d0c3c70bfdd3125
[ "MIT" ]
null
null
null
src/Explosion.cpp
laferenorg/CppGame
622f1fa70005877a4c0a206f6d0c3c70bfdd3125
[ "MIT" ]
null
null
null
/* C++ */ #include <iostream> #include <string> #include <cstring> #include <vector> /* SDL2 */ #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> /* Header */ #include <header/Load.hpp> #include <header/Settings.hpp> #include <header/Explosion.hpp> Explosion::Explosion(int x, int y, float scale, SDL_Renderer* render...
24.938776
77
0.625205
[ "vector" ]
3a141ec2906170daa26361a97bd50702a17d224c
17,235
cpp
C++
src/stream/MarketDefinition.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
5
2019-06-30T06:29:46.000Z
2021-12-17T12:41:23.000Z
src/stream/MarketDefinition.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
2
2018-01-09T17:14:45.000Z
2020-03-23T00:16:50.000Z
src/stream/MarketDefinition.cpp
Sherlock92/greentop
aa278d08babe02326b3ab85a6eafb858d780dec5
[ "MIT" ]
7
2015-09-13T18:40:58.000Z
2020-01-24T10:57:56.000Z
/** * Copyright 2017 Colin Doig. Distributed under the MIT license. */ #include "greentop/stream/MarketDefinition.h" namespace greentop { namespace stream { MarketDefinition::MarketDefinition(const std::string& venue, const std::string& raceType, const std::string& settledTime, const std::string& tim...
30.612789
107
0.678735
[ "vector" ]
3a16269e0a24f195121199c79037a54258df6f3a
550
cpp
C++
Algorithms/22.Generate-Parentheses/solution.cpp
moranzcw/LeetCode_Solutions
49a7e33b83d8d9ce449c758717f74a69e72f808e
[ "MIT" ]
178
2017-07-09T23:13:11.000Z
2022-02-26T13:35:06.000Z
Algorithms/22.Generate-Parentheses/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
1
2020-10-10T16:38:03.000Z
2020-10-10T16:38:03.000Z
Algorithms/22.Generate-Parentheses/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
82
2017-08-19T07:14:39.000Z
2022-02-17T14:07:55.000Z
class Solution { public: void generate(vector<string> &strList, string str, int k, int length) { if(str.size() == length) { if(k==0) strList.push_back(str); return; } if(k>0) { generate(strList, str+')', k-1, length); } ...
22
73
0.489091
[ "vector" ]
3a1b0ae9604dcdd171c91ef1b6f9c7cf06455d57
2,305
cpp
C++
recipes-clp/clp/clp/src/AbcPrimalColumnPivot.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
recipes-clp/clp/clp/src/AbcPrimalColumnPivot.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
recipes-clp/clp/clp/src/AbcPrimalColumnPivot.cpp
Justin790126/meta-coinor
0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9
[ "MIT" ]
null
null
null
// Copyright (C) 2002, International Business Machines // Corporation and others, Copyright (C) 2012, FasterCoin. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #include "CoinPragma.hpp" #include "AbcSimplex.hpp" #include "AbcPrimalColumnPivot.hpp" //#############...
28.109756
80
0.516269
[ "model" ]
3a1be4c816924273b181901e193203160046c8ae
13,405
cpp
C++
src/test/cpp/loggertestcase.cpp
Blaxar/log4cxxNG
8dfdfa2ab3d2fe598a41ec95e71ef01e79bac2ae
[ "Apache-2.0" ]
null
null
null
src/test/cpp/loggertestcase.cpp
Blaxar/log4cxxNG
8dfdfa2ab3d2fe598a41ec95e71ef01e79bac2ae
[ "Apache-2.0" ]
null
null
null
src/test/cpp/loggertestcase.cpp
Blaxar/log4cxxNG
8dfdfa2ab3d2fe598a41ec95e71ef01e79bac2ae
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
28.340381
83
0.717568
[ "object", "vector" ]
3a1ee5ac6870ee4f57efaedd7b27d431c9039a15
4,302
cpp
C++
compiler/sir/transform/manager.cpp
fabbondanza/seq
cb3c0f73ea0f78db69f19022bec0f7a196c8f7a3
[ "Apache-2.0" ]
null
null
null
compiler/sir/transform/manager.cpp
fabbondanza/seq
cb3c0f73ea0f78db69f19022bec0f7a196c8f7a3
[ "Apache-2.0" ]
null
null
null
compiler/sir/transform/manager.cpp
fabbondanza/seq
cb3c0f73ea0f78db69f19022bec0f7a196c8f7a3
[ "Apache-2.0" ]
null
null
null
#include "manager.h" #include <cassert> #include <unordered_set> #include "pass.h" #include "sir/analyze/analysis.h" #include "sir/analyze/dataflow/cfg.h" #include "sir/analyze/dataflow/reaching.h" #include "sir/analyze/module/global_vars.h" #include "sir/transform/folding/folding.h" #include "sir/transform/lowerin...
27.576923
88
0.645049
[ "vector", "transform" ]
3a204817bba64307fbd591816b5b4d072bca7574
5,106
cpp
C++
oi/bzoj/P2286/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/bzoj/P2286/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/bzoj/P2286/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#define NDEBUG #include <cassert> #include <cctype> #include <cstdio> #include <climits> #include <cstring> #include <vector> #include <algorithm> using namespace std; #define BUFFERSIZE 65536 static size_t pos = BUFFERSIZE; static char buffer[BUFFERSIZE]; inline char _getchar() { if (pos == BUFFERSIZE) { ...
19.267925
71
0.433803
[ "vector" ]
3a206cc88314204c0ffff306480d9a70523d777a
3,026
cpp
C++
generator/isolines_generator.cpp
dbf256/organicmaps
1b20d277200dd5444443cf10c6b43cbabf59f3d8
[ "Apache-2.0" ]
1
2022-02-18T17:26:50.000Z
2022-02-18T17:26:50.000Z
generator/isolines_generator.cpp
dbf256/organicmaps
1b20d277200dd5444443cf10c6b43cbabf59f3d8
[ "Apache-2.0" ]
null
null
null
generator/isolines_generator.cpp
dbf256/organicmaps
1b20d277200dd5444443cf10c6b43cbabf59f3d8
[ "Apache-2.0" ]
null
null
null
#include "generator/isolines_generator.hpp" #include "topography_generator/isolines_utils.hpp" #include "topography_generator/utils/contours_serdes.hpp" #include "indexer/classificator.hpp" namespace generator { namespace { std::vector<int> const kAltClasses = {1000, 500, 100, 50, 10}; int const kNamedAltStep = 50; ...
31.520833
100
0.674818
[ "vector" ]
3a20f3b68eb6eb5467b297f405fbcb83e0fa64b9
9,208
cc
C++
lib/kahypar/tests/partition/initial_partitioning/bfs_partitioner_test.cc
sjkelly/LSOracle
21688c5d542740dfc8577349fa615ee655acd92c
[ "MIT" ]
null
null
null
lib/kahypar/tests/partition/initial_partitioning/bfs_partitioner_test.cc
sjkelly/LSOracle
21688c5d542740dfc8577349fa615ee655acd92c
[ "MIT" ]
1
2021-07-26T22:09:49.000Z
2021-07-26T22:09:49.000Z
lib/kahypar/tests/partition/initial_partitioning/bfs_partitioner_test.cc
sjkelly/LSOracle
21688c5d542740dfc8577349fa615ee655acd92c
[ "MIT" ]
2
2021-07-26T14:46:51.000Z
2021-11-09T11:32:09.000Z
/******************************************************************************* * This file is part of KaHyPar. * * Copyright (C) 2015 Tobias Heuer <tobias.heuer@gmx.net> * * KaHyPar is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * ...
35.552124
107
0.711772
[ "vector" ]
3a2af2be48dbed661df84bf036dae5482d2af1a1
4,412
cpp
C++
src/game/server/entities/rope/CRopeSegment.cpp
JoelTroch/halflife-unified-sdk
0ebf7fbde22c346e202fdb26445d7470395eda2a
[ "Unlicense" ]
31
2021-12-04T20:42:48.000Z
2022-03-11T14:16:50.000Z
src/game/server/entities/rope/CRopeSegment.cpp
JoelTroch/halflife-unified-sdk
0ebf7fbde22c346e202fdb26445d7470395eda2a
[ "Unlicense" ]
79
2021-12-11T10:07:30.000Z
2022-03-28T10:09:44.000Z
src/game/server/entities/rope/CRopeSegment.cpp
JoelTroch/halflife-unified-sdk
0ebf7fbde22c346e202fdb26445d7470395eda2a
[ "Unlicense" ]
8
2021-12-10T18:19:10.000Z
2022-03-16T07:49:20.000Z
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object ...
24.375691
118
0.725748
[ "object", "vector", "solid" ]
3a2b245459558ee729658e7ba7229e355bb69ba4
2,204
cpp
C++
code/components/citizen-server-impl/src/ServerNucleus.cpp
FRDamianDev/fivem
1cb0eea119585a2fa519f353fb5b80047b381fce
[ "MIT" ]
1
2021-09-12T02:53:13.000Z
2021-09-12T02:53:13.000Z
code/components/citizen-server-impl/src/ServerNucleus.cpp
FRDamianDev/fivem
1cb0eea119585a2fa519f353fb5b80047b381fce
[ "MIT" ]
1
2021-09-10T21:44:58.000Z
2021-09-10T21:44:58.000Z
code/components/citizen-server-impl/src/ServerNucleus.cpp
tabarra/fivem
e39292eff3e830887175bb3bbb2fe6d0c8859453
[ "MIT" ]
2
2021-02-04T05:55:47.000Z
2021-02-10T18:35:50.000Z
#include <StdInc.h> #include <CoreConsole.h> #include <GameServer.h> #include <HttpClient.h> #include <ServerInstanceBase.h> #include <ServerInstanceBaseRef.h> #include <ServerLicensingComponent.h> #include <TcpListenManager.h> #include <ReverseTcpServer.h> #include <json.hpp> static InitFunction initFunction([]...
29.386667
256
0.602541
[ "object" ]
3a345c45d079ae2f52a5f77ece35afad02046172
2,902
cpp
C++
llvm/lib/Analysis/LibCallSemantics.cpp
impedimentToProgress/ratchet
4a0f4994ee7e16819849fc0a1a1dbb04921a25fd
[ "MIT" ]
4
2018-12-31T04:46:13.000Z
2021-02-04T15:11:03.000Z
llvm/lib/Analysis/LibCallSemantics.cpp
impedimentToProgress/ratchet
4a0f4994ee7e16819849fc0a1a1dbb04921a25fd
[ "MIT" ]
null
null
null
llvm/lib/Analysis/LibCallSemantics.cpp
impedimentToProgress/ratchet
4a0f4994ee7e16819849fc0a1a1dbb04921a25fd
[ "MIT" ]
3
2017-10-28T16:15:33.000Z
2021-11-16T05:11:43.000Z
//===- LibCallSemantics.cpp - Describe library semantics ------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
36.275
80
0.673329
[ "object" ]
3a362e4d6a87b71ada81bd3a052c82e71d68d2a1
364
hpp
C++
Plugins/Events/Events/ResourceEvents.hpp
GideonCrawle/unified
2a310e0012badfcc9675bd8c8554613b5354e21a
[ "MIT" ]
null
null
null
Plugins/Events/Events/ResourceEvents.hpp
GideonCrawle/unified
2a310e0012badfcc9675bd8c8554613b5354e21a
[ "MIT" ]
null
null
null
Plugins/Events/Events/ResourceEvents.hpp
GideonCrawle/unified
2a310e0012badfcc9675bd8c8554613b5354e21a
[ "MIT" ]
null
null
null
#pragma once #include "API/Vector.hpp" #include "Common.hpp" #include "Services/Hooks/Hooks.hpp" #include "Services/Tasks/Tasks.hpp" #include <thread> namespace Events { class ResourceEvents { public: ResourceEvents(NWNXLib::Services::TasksProxy* tasks); virtual ~ResourceEvents(); private: static std::...
15.826087
57
0.730769
[ "vector" ]
3a367a73160119ff16cd57db48fa9a3d0c122c9a
52,000
cpp
C++
Source/Urho3D/AngelScript/Generated_Members_HighPriority.cpp
nikolaynedelchev/Urho3D
f6c59d90e982c93bedf2e337b5cdb55d53ff02e0
[ "MIT" ]
null
null
null
Source/Urho3D/AngelScript/Generated_Members_HighPriority.cpp
nikolaynedelchev/Urho3D
f6c59d90e982c93bedf2e337b5cdb55d53ff02e0
[ "MIT" ]
null
null
null
Source/Urho3D/AngelScript/Generated_Members_HighPriority.cpp
nikolaynedelchev/Urho3D
f6c59d90e982c93bedf2e337b5cdb55d53ff02e0
[ "MIT" ]
null
null
null
// DO NOT EDIT. This file is generated // We need register default constructors before any members to allow using in Array<type> #include "../Precompiled.h" #include "../AngelScript/APITemplates.h" #include "../Container/Allocator.h" #include "../Container/HashBase.h" #include "../Container/LinkedList.h" #include "....
43.297252
178
0.767615
[ "model" ]
3a38dd0cb9b6cd92bd8b747bd59ca70d56eb3940
6,166
cpp
C++
cpp/passes/LILConversionInserter.cpp
veosotano/lil
da2d0774615827d521362ffb731e8abfa3887507
[ "MIT" ]
6
2021-01-02T16:36:28.000Z
2022-01-23T21:50:29.000Z
cpp/passes/LILConversionInserter.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
null
null
null
cpp/passes/LILConversionInserter.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
null
null
null
/******************************************************************** * * LIL Is a Language * * AUTHORS: Miro Keller * * COPYRIGHT: ©2020-today: All Rights Reserved * * LICENSE: see LICENSE file * * This file inserts calls to type conversion functions * ****************************...
32.114583
113
0.520921
[ "vector" ]
3a39e56c415d915783dccfebef8523e3b4fdd300
2,636
hpp
C++
cpp/include/raft/stats/information_criterion.hpp
kaatish/raft
f487da7f2585e60f0a11aef43ce17c990cc6145a
[ "Apache-2.0" ]
null
null
null
cpp/include/raft/stats/information_criterion.hpp
kaatish/raft
f487da7f2585e60f0a11aef43ce17c990cc6145a
[ "Apache-2.0" ]
null
null
null
cpp/include/raft/stats/information_criterion.hpp
kaatish/raft
f487da7f2585e60f0a11aef43ce17c990cc6145a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019-2022, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
36.109589
79
0.66047
[ "model" ]
3a3f18b90010ba91db49eac88ada90672ac88f21
1,621
hh
C++
src/memory/TrackedRam.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
320
2015-06-16T20:32:33.000Z
2022-03-26T17:03:27.000Z
src/memory/TrackedRam.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
2,592
2015-05-30T12:12:21.000Z
2022-03-31T17:16:15.000Z
src/memory/TrackedRam.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
74
2015-06-18T19:51:15.000Z
2022-03-24T15:09:33.000Z
#ifndef TRACKED_RAM_HH #define TRACKED_RAM_HH #include "Ram.hh" namespace openmsx { // Ram with dirty tracking class TrackedRam { public: // Most methods simply delegate to the internal 'ram' object. TrackedRam(const DeviceConfig& config, const std::string& name, static_string_view description, unsigne...
23.838235
71
0.714374
[ "object" ]
3a42ad56fb4b16f3720e5fc70421e20153b30538
26,643
hpp
C++
src/e2/src/ASN1/asn/ber/codec.hpp
shadansari/onos-cu-cp
16cbf4828bd11e4c7319e7a009a26b6f39fde628
[ "Apache-2.0" ]
5
2020-08-31T08:27:42.000Z
2022-03-27T10:39:37.000Z
src/e2/src/ASN1/asn/ber/codec.hpp
shadansari/onos-cu-cp
16cbf4828bd11e4c7319e7a009a26b6f39fde628
[ "Apache-2.0" ]
1
2020-08-28T23:32:17.000Z
2020-08-28T23:32:17.000Z
src/e2/src/ASN1/asn/ber/codec.hpp
shadansari/onos-cu-cp
16cbf4828bd11e4c7319e7a009a26b6f39fde628
[ "Apache-2.0" ]
5
2020-08-27T23:04:34.000Z
2021-11-17T01:49:52.000Z
#pragma once /****************************************************************************** * * Copyright (c) 2019 AT&T Intellectual Property. * Copyright (c) 2018-2019 Nokia. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
28.58691
182
0.563337
[ "object" ]
3a4465dab67ad95485766f4f11dcf080576d67de
844
cpp
C++
1170-compare-strings-by-frequency-of-the-smallest-character/1170-compare-strings-by-frequency-of-the-smallest-character.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
2
2022-01-02T19:15:00.000Z
2022-01-05T21:12:24.000Z
1170-compare-strings-by-frequency-of-the-smallest-character/1170-compare-strings-by-frequency-of-the-smallest-character.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
null
null
null
1170-compare-strings-by-frequency-of-the-smallest-character/1170-compare-strings-by-frequency-of-the-smallest-character.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
1
2022-03-11T17:11:07.000Z
2022-03-11T17:11:07.000Z
class Solution { public: int helper(string &word){ vector<int> arr(26,0); for(char &ch : word){ arr[ch-'a']++; } for(int i=0; i<26; ++i){ if(arr[i]!=0){ return arr[i]; } } return -1; } vector<int> numSm...
24.114286
87
0.422986
[ "vector" ]
3a4b1623a00e4d297d2c9b06b9900bc004e7a03a
5,322
cc
C++
seurat/component/transform_component.cc
Asteur/vrhelper
7b20ac69265ca7390a6c7f52a4f25b0fe87d0b53
[ "Apache-2.0" ]
819
2018-05-04T20:43:55.000Z
2022-03-22T01:21:24.000Z
seurat/component/transform_component.cc
mebalzer/seurat
78c1293debdd2744cba11395024812f277f613f7
[ "Apache-2.0" ]
35
2018-05-05T03:50:16.000Z
2019-11-04T22:56:02.000Z
seurat/component/transform_component.cc
mebalzer/seurat
78c1293debdd2744cba11395024812f277f613f7
[ "Apache-2.0" ]
88
2018-05-04T20:53:42.000Z
2022-03-05T03:50:07.000Z
/* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
33.471698
80
0.733935
[ "transform" ]
3a560aacbcec326db8383f3234c3a104558317c7
5,314
hh
C++
neb/inc/com/centreon/broker/neb/node_events_stream.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
neb/inc/com/centreon/broker/neb/node_events_stream.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
neb/inc/com/centreon/broker/neb/node_events_stream.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2015 Centreon ** ** 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 ...
34.283871
101
0.596726
[ "vector" ]
3a57ca642c17ca8ca37bba18e93b5c7d326abe81
386
cpp
C++
cmake-build-debug/3rdparty/Eigen/Debug/src/Eigen-build/doc/snippets/compile_Jacobi_makeGivens.cpp
TANHAIYU/Self-calibration-using-Homography-Constraints
a3e7efa8cc3de1be1489891d81c0fb00b5b98777
[ "BSD-3-Clause" ]
2
2020-03-17T16:34:31.000Z
2020-06-17T18:30:13.000Z
cmake-build-debug/3rdparty/Eigen/Debug/src/Eigen-build/doc/snippets/compile_Jacobi_makeGivens.cpp
TANHAIYU/planecalib
a3e7efa8cc3de1be1489891d81c0fb00b5b98777
[ "BSD-3-Clause" ]
null
null
null
cmake-build-debug/3rdparty/Eigen/Debug/src/Eigen-build/doc/snippets/compile_Jacobi_makeGivens.cpp
TANHAIYU/planecalib
a3e7efa8cc3de1be1489891d81c0fb00b5b98777
[ "BSD-3-Clause" ]
null
null
null
#include <Eigen/Dense> #include <iostream> using namespace Eigen; using namespace std; int main(int, char**) { cout.precision(3); Vector2f v = Vector2f::Random(); JacobiRotation<float> G; G.makeGivens(v.x(), v.y()); cout << "Here is the vector v:" << endl << v << endl; v.applyOnTheLeft(0, 1, G.adjoint()); cout <<...
21.444444
58
0.634715
[ "vector" ]
3a592331ed49c0baf70d1b1f1dc237d27fdfbdf0
1,401
cxx
C++
panda/src/windisplay/winDetectDx9.cxx
kestred/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
3
2018-03-09T12:07:29.000Z
2021-02-25T06:50:25.000Z
panda/src/windisplay/winDetectDx9.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
panda/src/windisplay/winDetectDx9.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
// Filename: winDetectDx9.cxx // Created by: aignacio (18Jan07) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You s...
28.02
123
0.723055
[ "3d" ]
3a599e6c5ff8c83043c89612c28d9e36f184f38d
3,505
cpp
C++
gtsam_unstable/geometry/tests/testEvent.cpp
acxz/gtsam
cd3854a1f6db923d40ecf3ced56bafbe339d1b3c
[ "BSD-3-Clause" ]
null
null
null
gtsam_unstable/geometry/tests/testEvent.cpp
acxz/gtsam
cd3854a1f6db923d40ecf3ced56bafbe339d1b3c
[ "BSD-3-Clause" ]
null
null
null
gtsam_unstable/geometry/tests/testEvent.cpp
acxz/gtsam
cd3854a1f6db923d40ecf3ced56bafbe339d1b3c
[ "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 * ----...
33.066038
80
0.560057
[ "geometry", "model" ]
3a5a7a0e3eaf14eff0cb7da20c21384fb1b827ad
8,986
cc
C++
libtest/server_container.cc
riddick2z/libmemcached
d6c35953c08a3d5529f1d2633157ec97449a9ca7
[ "BSD-3-Clause" ]
null
null
null
libtest/server_container.cc
riddick2z/libmemcached
d6c35953c08a3d5529f1d2633157ec97449a9ca7
[ "BSD-3-Clause" ]
null
null
null
libtest/server_container.cc
riddick2z/libmemcached
d6c35953c08a3d5529f1d2633157ec97449a9ca7
[ "BSD-3-Clause" ]
null
null
null
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Data Differential YATL (i.e. libtest) library * * Copyright (C) 2012 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
22.807107
121
0.637881
[ "vector" ]
3a5c2f8049a6c51874fdbb9b341bfa7f6e26ca5e
8,965
cpp
C++
sksevr_plugin/plugin/FormDB.cpp
prodigious-moustachio/skyui-vr
932dae1d9e32d375cf874dab87a1944e15f3b932
[ "MIT" ]
null
null
null
sksevr_plugin/plugin/FormDB.cpp
prodigious-moustachio/skyui-vr
932dae1d9e32d375cf874dab87a1944e15f3b932
[ "MIT" ]
null
null
null
sksevr_plugin/plugin/FormDB.cpp
prodigious-moustachio/skyui-vr
932dae1d9e32d375cf874dab87a1944e15f3b932
[ "MIT" ]
null
null
null
#include <filesystem> #include <assert.h> #include "FormDB.h" #include "skse64/GameForms.h" #include "skse64/ScaleformValue.h" #include "skse64/ScaleformCallbacks.h" #include "skse64/ScaleformAPI.h" #include "skse64/Hooks_Scaleform.h" #include "skse64/ScaleformMovie.h" #include "skse64/GameExtraData.h" #include "skse6...
38.476395
183
0.671166
[ "object" ]
3a6aa3e1916d41bc5c37bafd89e700f63e41b582
7,112
hpp
C++
src/shared/uart_framing/uart_framing.hpp
jonl112/Software
61a028a98d5c0dd5e79bf055b231633290ddbf9f
[ "MIT" ]
null
null
null
src/shared/uart_framing/uart_framing.hpp
jonl112/Software
61a028a98d5c0dd5e79bf055b231633290ddbf9f
[ "MIT" ]
null
null
null
src/shared/uart_framing/uart_framing.hpp
jonl112/Software
61a028a98d5c0dd5e79bf055b231633290ddbf9f
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <vector> const uint8_t START_END_FLAG_BYTE = 0x00; namespace { /** * Generates a CRC-16 adhering to the CRC-16-CCITT standard * * @param data the data to calculate the crc of * @param length the length of the data * @return CRC-16 for given data a...
31.892377
90
0.600112
[ "vector" ]
3a6c7c8a097c41c2a95a4943095424861c61407e
2,868
cc
C++
test/percentile_buckets_test.cc
brharrington/atlas-native-client
c85713289dc8a98e8d2d3605c27058a13be6c3be
[ "Apache-2.0" ]
3
2017-09-15T22:52:34.000Z
2019-01-09T22:02:19.000Z
test/percentile_buckets_test.cc
brharrington/atlas-native-client
c85713289dc8a98e8d2d3605c27058a13be6c3be
[ "Apache-2.0" ]
56
2017-09-18T14:14:52.000Z
2020-10-30T20:35:46.000Z
test/percentile_buckets_test.cc
brharrington/atlas-native-client
c85713289dc8a98e8d2d3605c27058a13be6c3be
[ "Apache-2.0" ]
6
2017-09-19T03:14:29.000Z
2019-01-15T02:16:56.000Z
#include "../meter/percentile_buckets.h" #include <gtest/gtest.h> #include <random> using namespace atlas::meter; TEST(PercentileBuckets, IndexOf) { EXPECT_EQ(0, percentile_buckets::IndexOf(-1)); EXPECT_EQ(0, percentile_buckets::IndexOf(0)); EXPECT_EQ(1, percentile_buckets::IndexOf(1)); EXPECT_EQ(2, percentil...
31.173913
78
0.617852
[ "vector" ]
b91ea0d3787135a42c6ea7ded773eee7822248e0
5,534
cc
C++
source/common/stats/stats_impl.cc
Kernelalive/envoy
07c32c26221e778f06f429af0615123b11c0a205
[ "Apache-2.0" ]
null
null
null
source/common/stats/stats_impl.cc
Kernelalive/envoy
07c32c26221e778f06f429af0615123b11c0a205
[ "Apache-2.0" ]
1
2017-11-22T09:35:42.000Z
2017-11-22T09:35:42.000Z
source/common/stats/stats_impl.cc
georgi-d/envoy
3e6e4a73d5c1804842948088dd23b6f2f95ca377
[ "Apache-2.0" ]
null
null
null
#include "common/stats/stats_impl.h" #include <string.h> #include <algorithm> #include <chrono> #include <string> #include "envoy/common/exception.h" #include "common/common/utility.h" #include "common/config/well_known_names.h" namespace Envoy { namespace Stats { namespace { // Round val up to the next multiple...
37.90411
100
0.699313
[ "vector" ]
b92373ff0b94afc8dddeda8a41c3101a99a15c3d
4,519
cpp
C++
cameradar_standalone/src/tasks/path_attack.cpp
pereval-team/cameradar
0e7577ed7c10fcef6e33bae4e311ab2c4a781423
[ "Apache-2.0" ]
1
2019-09-21T14:03:20.000Z
2019-09-21T14:03:20.000Z
cameradar_standalone/src/tasks/path_attack.cpp
pereval-team/cameradar
0e7577ed7c10fcef6e33bae4e311ab2c4a781423
[ "Apache-2.0" ]
null
null
null
cameradar_standalone/src/tasks/path_attack.cpp
pereval-team/cameradar
0e7577ed7c10fcef6e33bae4e311ab2c4a781423
[ "Apache-2.0" ]
1
2018-12-07T03:53:04.000Z
2018-12-07T03:53:04.000Z
// Copyright (C) 2016 Etix Labs - All Rights Reserved. // All information contained herein is, and remains the property of Etix Labs // and its suppliers, // if any. The intellectual and technical concepts contained herein are // proprietary to Etix Labs // Dissemination of this information or reproduction of this mate...
39.295652
100
0.611197
[ "vector", "model" ]
b928adfd57aa7597cf5c8421b058d997385b71bc
1,381
cpp
C++
Assignment5/Graph.cpp
SpiritSeeker/CCN_Lab
ad78eef313c165e7d814e6c5c1a1baa870c03542
[ "Apache-2.0" ]
null
null
null
Assignment5/Graph.cpp
SpiritSeeker/CCN_Lab
ad78eef313c165e7d814e6c5c1a1baa870c03542
[ "Apache-2.0" ]
null
null
null
Assignment5/Graph.cpp
SpiritSeeker/CCN_Lab
ad78eef313c165e7d814e6c5c1a1baa870c03542
[ "Apache-2.0" ]
null
null
null
#include "Graph.h" #include <limits> #include <queue> #include <iostream> Graph::Graph(int vertices) : m_Vertices(vertices) { m_Adjacency = new std::list<intPair>[m_Vertices]; } Graph::~Graph() { delete[] m_Adjacency; } void Graph::AddEdge(int source, int destination, int weight) { m_Adjacency[source].push_back(...
26.056604
89
0.674873
[ "vector" ]
b92ca74b91b76ecde379086993595e7cd1d687b2
7,680
cpp
C++
oss_src/lambda/rcpplambda_utils.cpp
venkattgg/venkey
796b9bdfb2fa1b881d82080754643c7e68629cd2
[ "BSD-3-Clause" ]
493
2016-07-11T13:35:24.000Z
2022-02-15T13:04:29.000Z
oss_src/lambda/rcpplambda_utils.cpp
venkattgg/venkey
796b9bdfb2fa1b881d82080754643c7e68629cd2
[ "BSD-3-Clause" ]
27
2016-07-13T20:01:07.000Z
2022-02-01T18:55:28.000Z
oss_src/lambda/rcpplambda_utils.cpp
venkattgg/venkey
796b9bdfb2fa1b881d82080754643c7e68629cd2
[ "BSD-3-Clause" ]
229
2016-07-12T10:39:54.000Z
2022-02-15T13:04:31.000Z
/* * Copyright (C) 2016 Turi * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #include "rcpplambda_utils.hpp" #include <Rcpp.h> namespace Rcpp { template <> graphlab::flexible_type as(SEXP value) { if (Rf_len...
32.820513
85
0.463542
[ "vector" ]
b9342303dfe91249832d3d0c039f58dc1906f6ad
1,187
cpp
C++
Hackerearth/Practice/Monk and the Islands.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
4
2019-06-04T11:03:38.000Z
2020-06-19T23:37:32.000Z
Hackerearth/Practice/Monk and the Islands.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
null
null
null
Hackerearth/Practice/Monk and the Islands.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
null
null
null
/*coderanant*/ #include <bits/stdc++.h> using namespace std; #define int long long #define ll long long #define f1(i,a,b) for(i=a;i<b;i++) #define f2(i,a,b) for(i=a;i>=b;i--) #define endl '\n' #define pb push_back #define gp " " #define ff first #define ss second #define mp make_pair const int mod=1000000007; int i,j...
18.84127
82
0.52738
[ "vector" ]
b936f8c39382c6a5c66d5308394b37f6e56ad9e7
30,174
cc
C++
services/audio/output_device_mixer_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
services/audio/output_device_mixer_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
services/audio/output_device_mixer_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 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 "services/audio/output_device_mixer_impl.h" #include "base/check.h" #include "base/containers/contains.h" #include "base/dcheck_is_on.h" #includ...
34.445205
80
0.71502
[ "render" ]
b93f6e2a9cd648a097676e6fbf126b9a7f3e66c8
14,219
cpp
C++
davarocr/davarocr/davar_det/datasets/pipelines/lib/east_data.cpp
icedream2/DAVAR-Lab-OCR
c8b82f45516850eeadcab2739fb2a4292f2fdca1
[ "Apache-2.0" ]
387
2021-01-02T07:50:15.000Z
2022-03-31T04:30:03.000Z
davarocr/davarocr/davar_det/datasets/pipelines/lib/east_data.cpp
icedream2/DAVAR-Lab-OCR
c8b82f45516850eeadcab2739fb2a4292f2fdca1
[ "Apache-2.0" ]
70
2021-05-04T18:28:18.000Z
2022-03-31T14:14:52.000Z
davarocr/davarocr/davar_det/datasets/pipelines/lib/east_data.cpp
icedream2/DAVAR-Lab-OCR
c8b82f45516850eeadcab2739fb2a4292f2fdca1
[ "Apache-2.0" ]
83
2021-01-05T08:28:26.000Z
2022-03-31T07:14:03.000Z
/* ################################################################################################## // Copyright Info : Copyright (c) Davar Lab @ Hikvision Research Institute. All rights reserved. // Filename : east_data.cpp // Abstract : GT_mask generating in EAST // Current Version: 1.0.0 /...
33.935561
168
0.58457
[ "geometry", "vector" ]
b945006cdaa553435d936e72911a146374a94e7c
5,140
cpp
C++
src/libtsduck/tsAbstractTable.cpp
mypopydev/tsduck
38e29aa7ba82d0d07ca926a4e37a7f6d167089d3
[ "BSD-2-Clause" ]
null
null
null
src/libtsduck/tsAbstractTable.cpp
mypopydev/tsduck
38e29aa7ba82d0d07ca926a4e37a7f6d167089d3
[ "BSD-2-Clause" ]
null
null
null
src/libtsduck/tsAbstractTable.cpp
mypopydev/tsduck
38e29aa7ba82d0d07ca926a4e37a7f6d167089d3
[ "BSD-2-Clause" ]
null
null
null
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2019, Thierry Lelegard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
36.453901
130
0.597276
[ "object" ]
b94db18649bf1531e84e58a33e5c7bb0bca4a3d1
4,034
hpp
C++
include/doo_ecs/System.hpp
TerensTare/tnt
916067a9bf697101afb1d0785112aa34014e8126
[ "MIT" ]
29
2020-04-22T01:31:30.000Z
2022-02-03T12:21:29.000Z
include/doo_ecs/System.hpp
TerensTare/tnt
916067a9bf697101afb1d0785112aa34014e8126
[ "MIT" ]
6
2020-04-17T10:31:56.000Z
2021-09-10T12:07:22.000Z
include/doo_ecs/System.hpp
TerensTare/tnt
916067a9bf697101afb1d0785112aa34014e8126
[ "MIT" ]
7
2020-03-13T01:50:41.000Z
2022-03-06T23:44:29.000Z
#ifndef TNT_DOO_ECS_SYSTEM_UTILITIES_HPP #define TNT_DOO_ECS_SYSTEM_UTILITIES_HPP #include <concepts> #include <nlohmann/json_fwd.hpp> #include "doo_ecs/Base.hpp" #include "types/SparseSet.hpp" #include "types/TypeUtils.hpp" // TODO: // noexcept // draw_imgui // TODO(maybe): // store base() in a member reference ?...
34.478632
116
0.584036
[ "object" ]
b94f64c58d3aac913f5d3b27dffb73d929a445b1
27,060
cpp
C++
src/services/cuptitrace/CuptiTrace.cpp
daboehme/Caliper
38e2fc9a703601801ea8223a0bbd53795b6a0a3a
[ "BSD-3-Clause" ]
null
null
null
src/services/cuptitrace/CuptiTrace.cpp
daboehme/Caliper
38e2fc9a703601801ea8223a0bbd53795b6a0a3a
[ "BSD-3-Clause" ]
null
null
null
src/services/cuptitrace/CuptiTrace.cpp
daboehme/Caliper
38e2fc9a703601801ea8223a0bbd53795b6a0a3a
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019, Lawrence Livermore National Security, LLC. // See top-level LICENSE file for details. // CuptiTrace.cpp // Implementation of the CUpti trace service #include "caliper/CaliperService.h" #include "caliper/Caliper.h" #include "caliper/SnapshotRecord.h" #include "caliper/common/Log.h" #include "c...
34.296578
149
0.547228
[ "vector" ]
b950976315fdf07a6d5b1fe38be0d3127bb256b3
15,034
cpp
C++
ork.lev2/src/gfx/util/grid.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
25
2015-02-21T04:21:21.000Z
2022-01-20T05:19:27.000Z
ork.lev2/src/gfx/util/grid.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
113
2019-08-23T04:52:14.000Z
2021-09-13T04:04:11.000Z
ork.lev2/src/gfx/util/grid.cpp
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
4
2017-02-20T18:17:55.000Z
2020-06-28T03:47:55.000Z
//////////////////////////////////////////////////////////////// // Orkid Media Engine // Copyright 1996-2020, Michael T. Mayers. // Distributed under the Boost Software License - Version 1.0 - August 17, 2003 // see http://www.boost.org/LICENSE_1_0.txt //////////////////////////////////////////////////////////////// ...
34.324201
131
0.552814
[ "render" ]
b9514d9ace3383a15ffdef8e839b9e9f1f9deddb
6,042
hpp
C++
include/seller.hpp
larteyoh/neroshop
f8d9e6bc74b4b7e49abbe2dba657c4fb87c3af4b
[ "AML" ]
null
null
null
include/seller.hpp
larteyoh/neroshop
f8d9e6bc74b4b7e49abbe2dba657c4fb87c3af4b
[ "AML" ]
null
null
null
include/seller.hpp
larteyoh/neroshop
f8d9e6bc74b4b7e49abbe2dba657c4fb87c3af4b
[ "AML" ]
null
null
null
// filename: .hpp //#pragma once // use #ifndef _HPP, #define _HPP, and #endif instead #ifndef SELLER_HPP_NEROSHOP #define SELLER_HPP_NEROSHOP #include <cmath> // floor #include <random> #include "wallet.hpp" // seller will use wallet to generate a unique subaddress for each tx #include "user.hpp" #include "item.hpp"...
60.42
334
0.740483
[ "vector" ]
b951a72f71b23b5428c34b75dbf70eb814006ed6
5,010
cc
C++
fast_k_means_2020/fast_k_means_main.cc
egonrian/google-research
8177adbe9ca0d7e5a9463b54581fe6dd27be0974
[ "Apache-2.0" ]
3
2021-01-18T04:46:49.000Z
2021-03-05T09:21:40.000Z
fast_k_means_2020/fast_k_means_main.cc
Alfaxad/google-research
2c0043ecd507e75e2df9973a3015daf9253e1467
[ "Apache-2.0" ]
7
2021-11-10T19:44:38.000Z
2022-02-10T06:48:39.000Z
fast_k_means_2020/fast_k_means_main.cc
Alfaxad/google-research
2c0043ecd507e75e2df9973a3015daf9253e1467
[ "Apache-2.0" ]
4
2021-02-08T10:25:45.000Z
2021-04-17T14:46:26.000Z
// Copyright 2020 The Google Research 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...
36.304348
80
0.691816
[ "vector" ]
b952c7c3503c17882c4b2eed86c10fa5f0a3f4e2
7,682
cpp
C++
src/webots/nodes/WbIndexedLineSet.cpp
yjf18340/webots
60d441c362031ab8fde120cc0cd97bdb1a31a3d5
[ "Apache-2.0" ]
1
2019-11-13T08:12:02.000Z
2019-11-13T08:12:02.000Z
src/webots/nodes/WbIndexedLineSet.cpp
chinakwy/webots
7c35a359848bafe81fe0229ac2ed587528f4c73e
[ "Apache-2.0" ]
null
null
null
src/webots/nodes/WbIndexedLineSet.cpp
chinakwy/webots
7c35a359848bafe81fe0229ac2ed587528f4c73e
[ "Apache-2.0" ]
1
2020-09-25T02:01:45.000Z
2020-09-25T02:01:45.000Z
// Copyright 1996-2019 Cyberbotics Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
27.53405
122
0.670919
[ "object", "transform" ]
b952f6a3d3c1e3a007745868960ba18e90984b72
5,901
cpp
C++
src/cascadia/TerminalSettingsModel/FileUtils.cpp
tjrileywisc/terminal
4b45bb8df1f90e6fc463172cb861bf968e162e77
[ "MIT" ]
2
2021-08-10T07:17:40.000Z
2021-08-10T07:17:47.000Z
src/cascadia/TerminalSettingsModel/FileUtils.cpp
tjrileywisc/terminal
4b45bb8df1f90e6fc463172cb861bf968e162e77
[ "MIT" ]
2
2021-02-02T22:25:08.000Z
2021-05-05T00:19:43.000Z
src/cascadia/TerminalSettingsModel/FileUtils.cpp
tjrileywisc/terminal
4b45bb8df1f90e6fc463172cb861bf968e162e77
[ "MIT" ]
2
2021-02-02T22:12:35.000Z
2021-05-04T23:24:57.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include "FileUtils.h" #include <appmodel.h> #include <shlobj.h> #include <WtExeUtils.h> static constexpr std::string_view Utf8Bom{ u8"\uFEFF" }; static constexpr std::wstring_view UnpackagedSettingsFolderName{ L"M...
42.76087
171
0.620912
[ "model" ]
b9556956e57d9690c87916a73aa08a950f529e37
3,436
cc
C++
components/cryptauth/remote_device.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/cryptauth/remote_device.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/cryptauth/remote_device.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2015 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/cryptauth/remote_device.h" #include "base/base64.h" namespace cryptauth { namespace { // Returns true if both vectors are BeaconS...
32.11215
80
0.686263
[ "vector" ]
b958dbc89c37f917ed745450b7c0f41b2b8be4f9
1,608
cpp
C++
D01 Demos/Singleton/Solution/Main.cpp
FeniulaPyra/DSA2
bedaa6c11c7e248a936bf5c0f07a7cb763178ed7
[ "MIT" ]
null
null
null
D01 Demos/Singleton/Solution/Main.cpp
FeniulaPyra/DSA2
bedaa6c11c7e248a936bf5c0f07a7cb763178ed7
[ "MIT" ]
null
null
null
D01 Demos/Singleton/Solution/Main.cpp
FeniulaPyra/DSA2
bedaa6c11c7e248a936bf5c0f07a7cb763178ed7
[ "MIT" ]
null
null
null
/*-------------------------------------------------------------------------------------------------- Programmer: labigm@rit.edu --------------------------------------------------------------------------------------------------*/ #include <ostream> class Foo { static Foo* instance; // will be shared among all objects ...
35.733333
116
0.623756
[ "object" ]
b95f6a28d956711809a2b78a22f23c544e0cca3f
2,014
cpp
C++
aws-cpp-sdk-securityhub/source/model/AwsElbLoadBalancerListenerDescription.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-securityhub/source/model/AwsElbLoadBalancerListenerDescription.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-securityhub/source/model/AwsElbLoadBalancerListenerDescription.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/securityhub/model/AwsElbLoadBalancerListenerDescription.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Uti...
24.26506
110
0.761172
[ "model" ]
b9600e8de57056d7229d0ea0ef8488628d22844c
1,528
hpp
C++
include/ohf/ssl/Handshake.hpp
Good-Pudge/OkHttpFork
b179350d6262f281c1c27d69d944c62f536fe1ba
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
10
2019-02-21T06:21:48.000Z
2022-02-22T08:01:24.000Z
include/ohf/ssl/Handshake.hpp
Good-Pudge/OkHttpFork
b179350d6262f281c1c27d69d944c62f536fe1ba
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
2
2018-02-04T20:16:46.000Z
2018-02-04T20:19:00.000Z
include/ohf/ssl/Handshake.hpp
Good-Pudge/OkHttpFork
b179350d6262f281c1c27d69d944c62f536fe1ba
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
10
2018-10-15T10:17:00.000Z
2022-02-17T02:28:51.000Z
// // Created by Good_Pudge. // #ifndef OKHTTPFORK_SSL_HANDSHAKE_HPP #define OKHTTPFORK_SSL_HANDSHAKE_HPP #include <ohf/ssl/CipherSuite.hpp> #include <ohf/ssl/X509Certificate.hpp> #include <ohf/Principal.hpp> #include <ohf/TLSVersion.hpp> #include <ohf/ssl/SSL.hpp> #include <vector> namespace ohf { namespace ssl...
27.781818
94
0.61322
[ "vector" ]
b965112cde62d8e1990e8f8adad914eedbfc3fff
14,960
cpp
C++
src/algorithms/LBSP/LBSP.cpp
saulocbarreto/bgslibrary
e1890b6b05cd40757ad00e1c71e8c1db13a74a2a
[ "MIT" ]
1,899
2015-01-04T01:13:30.000Z
2022-03-29T21:58:28.000Z
src/algorithms/LBSP/LBSP.cpp
saulocbarreto/bgslibrary
e1890b6b05cd40757ad00e1c71e8c1db13a74a2a
[ "MIT" ]
175
2015-01-25T16:14:03.000Z
2022-03-17T17:36:53.000Z
src/algorithms/LBSP/LBSP.cpp
saulocbarreto/bgslibrary
e1890b6b05cd40757ad00e1c71e8c1db13a74a2a
[ "MIT" ]
752
2015-01-04T01:34:29.000Z
2022-03-29T13:53:33.000Z
#include "LBSP.h" //using namespace bgslibrary::algorithms::lbsp; namespace bgslibrary { namespace algorithms { namespace lbsp { LBSP::LBSP(size_t nThreshold) : m_bOnlyUsingAbsThreshold(true) , m_fRelThreshold(0) // unused , m_nThreshold(nThreshold) , m_oRefImage() {}...
45.333333
187
0.5875
[ "vector" ]
b969ed100aeb4baa67db0039070f62b03f67051f
15,212
cc
C++
node_modules/libxmljs/src/xml_element.cc
jonbaer/hn_reader
9b4ff39b3443cf23f13fec916c1ed79e0ce8817a
[ "Unlicense" ]
2
2016-10-27T14:40:27.000Z
2018-08-12T13:29:49.000Z
node_modules/libxmljs/src/xml_element.cc
jonbaer/hn_reader
9b4ff39b3443cf23f13fec916c1ed79e0ce8817a
[ "Unlicense" ]
null
null
null
node_modules/libxmljs/src/xml_element.cc
jonbaer/hn_reader
9b4ff39b3443cf23f13fec916c1ed79e0ce8817a
[ "Unlicense" ]
null
null
null
// Copyright 2009, Squish Tech, LLC. #include "xml_element.h" #include "xml_document.h" #include "xml_attribute.h" #include "xml_xpath_context.h" namespace libxmljs { #define NAME_SYMBOL v8::String::NewSymbol("name") #define CONTENT_SYMBOL v8::String::NewSymbol("content") v8::Persistent<v8::FunctionTemplate> Xm...
27.115865
93
0.643374
[ "object" ]
b96bd5beaa4a9cef73108f4b6bfa487caadaed49
37,330
cc
C++
src/StateVector.cc
felicepantaleo/helix-fitting
d1540156430f0e4ea85a9fd0e0f08e3447f0ec3f
[ "Apache-2.0" ]
1
2018-06-04T03:44:24.000Z
2018-06-04T03:44:24.000Z
src/StateVector.cc
felicepantaleo/helix-fitting
d1540156430f0e4ea85a9fd0e0f08e3447f0ec3f
[ "Apache-2.0" ]
null
null
null
src/StateVector.cc
felicepantaleo/helix-fitting
d1540156430f0e4ea85a9fd0e0f08e3447f0ec3f
[ "Apache-2.0" ]
null
null
null
// $Id: StateVector.cc,v 1.1 2001/11/16 10:29:55 wwalten Exp $ // -*- C++ -*- #include <CLHEP/config/iostream.h> #include <CLHEP/config/CLHEP.h> #include <stdlib.h> #ifdef DEBUG #include <assert.h> #endif #include "defines.h" #include "Plane.h" #include "StateVector.h" #include "CLHEP/Random/RandGauss.h" #include "CLH...
26.475177
87
0.603134
[ "vector", "transform" ]
b96c5a608d356f15a4d9f143a37fe59cafc85621
4,057
cc
C++
src/algs/ags/local_optimizer.cc
bowie7070/nlopt
95df031058531d84fe9c0727458129f773d22959
[ "MIT-0", "MIT" ]
1,224
2015-01-14T22:56:04.000Z
2022-03-30T18:52:57.000Z
nlopt/src/algs/ags/local_optimizer.cc
yjjuan/automl_cplusplus
7c427584ed94915b549d31a2097f952c3cfdef36
[ "Apache-2.0" ]
349
2015-01-16T22:22:32.000Z
2022-03-29T18:30:05.000Z
nlopt/src/algs/ags/local_optimizer.cc
yjjuan/automl_cplusplus
7c427584ed94915b549d31a2097f952c3cfdef36
[ "Apache-2.0" ]
437
2015-02-20T07:40:41.000Z
2022-03-30T15:21:01.000Z
/* Copyright (C) 2018 Sovrasov V. - All Rights Reserved * You may use, distribute and modify this code under the * terms of the MIT license. * You should have received a copy of the MIT license with * this file. If not visit https://opensource.org/licenses/MIT */ #include "local_optimizer.hpp" #include <cmath> #in...
29.613139
100
0.695095
[ "vector" ]
b96c6f9410e1877de7313adb7a8b4788ea910588
5,497
cc
C++
algorithms/vi-map-helpers/src/vi-map-stats.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
1,936
2017-11-27T23:11:37.000Z
2022-03-30T14:24:14.000Z
algorithms/vi-map-helpers/src/vi-map-stats.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
353
2017-11-29T18:40:39.000Z
2022-03-30T15:53:46.000Z
algorithms/vi-map-helpers/src/vi-map-stats.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
661
2017-11-28T07:20:08.000Z
2022-03-28T08:06:29.000Z
#include "vi-map-helpers/vi-map-stats.h" #include <fstream> // NOLINT #include <sstream> // NOLINT #include <maplab-common/file-system-tools.h> #include <maplab-common/progress-bar.h> #include <posegraph/unique-id.h> #include <vi-map/vi-map.h> namespace vi_map_helpers { VIMapStats::VIMapStats(const vi_map::VIMap&...
36.892617
80
0.7002
[ "vector" ]
b96d554de4031dd72ee3a1d67d16df51bd3b7c84
14,169
cpp
C++
framework/render/video/glRender/GLRender.cpp
chenzheng102/CicadaPlayer
c4cc07dfb091052ea5c61243b81bed5d88a2407d
[ "MIT" ]
3
2020-03-28T08:21:09.000Z
2020-10-25T23:10:43.000Z
framework/render/video/glRender/GLRender.cpp
chenzheng102/CicadaPlayer
c4cc07dfb091052ea5c61243b81bed5d88a2407d
[ "MIT" ]
null
null
null
framework/render/video/glRender/GLRender.cpp
chenzheng102/CicadaPlayer
c4cc07dfb091052ea5c61243b81bed5d88a2407d
[ "MIT" ]
null
null
null
// // Created by lifujun on 2019/8/12. // #define LOG_TAG "GLRender" #include "render_system/EGL/gl_context_factory.h" #include "GLRender.h" #include <utils/timer.h> #include <utils/AFMediaType.h> #include <cassert> #include <cstdlib> using namespace std; static const int MAX_IN_SIZE = 3; #ifdef __ANDROID__ ...
25.575812
114
0.609288
[ "render" ]
b971642287bd35ce1d582d719f3e0106730e6269
641
cpp
C++
atcoder/contests/dp/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
atcoder/contests/dp/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
atcoder/contests/dp/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Educational DP Contest - B - Frog 2 https://atcoder.jp/contests/dp/tasks/dp_b */ #include <bits/stdc++.h> using namespace std; #define FAST_INP ios_base::sync_with_stdio(false);cin.tie(NULL) int main() { FAST_INP; int n, k; cin >> n >> k; vector<int> h(n), dp(n,1e9+5); for(int i=0;i<n;i++...
22.103448
95
0.547582
[ "vector" ]
b9740868864ed114c5d1be990b7e542fd34a6f18
1,635
cpp
C++
hackerrank.com/#hourrank/15/C.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
hackerrank.com/#hourrank/15/C.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
hackerrank.com/#hourrank/15/C.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<set> using namespace std; const long long MOD = 1000000000+9; int getAns(int pairs, int unpaired, vector<vector<int>> & mA, vector<vector<int>> & mB, int allowed = 0) { if(pairs==0&&unpaired==0) return 1; if(unpaired<0||pairs<0) re...
21.513158
105
0.498471
[ "vector" ]
b9763610e4660097bb8b957bd177c83a59350cc0
1,444
hpp
C++
GhostEngine/VDeleter.hpp
KamenBlackRX/GhostEngine
e9ea94a499916efc86094645509eb962a9782344
[ "MIT" ]
2
2018-10-18T09:11:37.000Z
2019-09-03T14:56:08.000Z
GhostEngine/VDeleter.hpp
KamenBlackRX/GhostEngine
e9ea94a499916efc86094645509eb962a9782344
[ "MIT" ]
null
null
null
GhostEngine/VDeleter.hpp
KamenBlackRX/GhostEngine
e9ea94a499916efc86094645509eb962a9782344
[ "MIT" ]
null
null
null
/* * Clean all Vulkan objects. */ template<typename T> class VDeleter { public: VDeleter() : VDeleter([](T, VkAllocationCallbacks*) {}) { PRINT("logWarning: ","Now Deleting objects.\n"); } VDeleter(std::function<void(T, VkAllocationCallbacks*)> deletef) { PRINT("logWarning: ","Now Deleting Callbacks\n"); this...
16.044444
115
0.632271
[ "object" ]
b97804d16bed1392f5e9b33808ef27d8a7fad0b7
2,604
cc
C++
projects/projects/code/GraphicsNode.cc
klu0711/S0006E
b477f99930070aad976409b61decc3bb788fdf93
[ "MIT" ]
null
null
null
projects/projects/code/GraphicsNode.cc
klu0711/S0006E
b477f99930070aad976409b61decc3bb788fdf93
[ "MIT" ]
null
null
null
projects/projects/code/GraphicsNode.cc
klu0711/S0006E
b477f99930070aad976409b61decc3bb788fdf93
[ "MIT" ]
null
null
null
#include "GraphicsNode.h" GraphicsNode::GraphicsNode() { transform = Matrix4::rotY(1); } GraphicsNode::~GraphicsNode() { this->shader = 0; this->meshResource = 0; this->textureResource = 0; } /// Set the shader pointer to an instance void GraphicsNode::setShaderClass(std::shared_ptr<Shader> shader) { this->sh...
28.304348
124
0.748848
[ "mesh", "transform" ]
b9852d50687b142c075d0d20d5004575338f7f09
249
hpp
C++
include/ContainsDuplicateII.hpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
include/ContainsDuplicateII.hpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
include/ContainsDuplicateII.hpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#ifndef CONTAINS_DUPLICATE_II_HPP_ #define CONTAINS_DUPLICATE_II_HPP_ #include <vector> using namespace std; class ContainsDuplicateII { public: bool containsNearbyDuplicate(vector<int> &nums, int k); }; #endif // CONTAINS_DUPLICATE_II_HPP_
17.785714
59
0.799197
[ "vector" ]
b98704a62f09ee9fdb5ba4785609a6b2a2f7233e
7,809
cc
C++
builtin/filtered_dataset.cc
mldbai/mldb
0554aa390a563a6294ecc841f8026a88139c3041
[ "Apache-2.0" ]
665
2015-12-09T17:00:14.000Z
2022-03-25T07:46:46.000Z
builtin/filtered_dataset.cc
mldbai/mldb
0554aa390a563a6294ecc841f8026a88139c3041
[ "Apache-2.0" ]
797
2015-12-09T19:48:19.000Z
2022-03-07T02:19:47.000Z
builtin/filtered_dataset.cc
mldbai/mldb
0554aa390a563a6294ecc841f8026a88139c3041
[ "Apache-2.0" ]
103
2015-12-25T04:39:29.000Z
2022-02-03T02:55:22.000Z
// This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved. /** filtered_dataset.cc -*- C++ -*- Guy Dumais, September 18th, 2015 Copyright (c) 2015 mldb.ai inc. All rights reserved. */ #include "mldb/engine/dataset_collection.h" #include "mldb/sql/sql_expression.h...
29.692015
128
0.614035
[ "vector" ]
b98779c3fea25c0b1c9286b10bf8c911fd7f497e
1,792
cc
C++
Samples/1_ImGui/Source/FGuiHelloWorld.cc
liliilli/SH-D3D11
1ffb4639d5d9dd06d08b2aa21ebc781ee22fb26c
[ "Unlicense", "MIT" ]
null
null
null
Samples/1_ImGui/Source/FGuiHelloWorld.cc
liliilli/SH-D3D11
1ffb4639d5d9dd06d08b2aa21ebc781ee22fb26c
[ "Unlicense", "MIT" ]
null
null
null
Samples/1_ImGui/Source/FGuiHelloWorld.cc
liliilli/SH-D3D11
1ffb4639d5d9dd06d08b2aa21ebc781ee22fb26c
[ "Unlicense", "MIT" ]
null
null
null
/// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE /// AUTHORS OR COPYR...
32.581818
85
0.682478
[ "render", "model" ]
b98809d7a430184bf7229ff77b9d6db023101bdd
5,090
cpp
C++
Samples/2.0/Tutorials/Tutorial_TextureBaking/Tutorial_TextureBaking.cpp
coolzoom/ogre-next
31ec929356e40becafcdef31686bc90cd6da7530
[ "MIT" ]
1
2021-05-12T18:01:21.000Z
2021-05-12T18:01:21.000Z
Samples/2.0/Tutorials/Tutorial_TextureBaking/Tutorial_TextureBaking.cpp
coolzoom/ogre-next
31ec929356e40becafcdef31686bc90cd6da7530
[ "MIT" ]
null
null
null
Samples/2.0/Tutorials/Tutorial_TextureBaking/Tutorial_TextureBaking.cpp
coolzoom/ogre-next
31ec929356e40becafcdef31686bc90cd6da7530
[ "MIT" ]
null
null
null
#include "GraphicsSystem.h" #include "Tutorial_TextureBakingGameState.h" #include "OgreSceneManager.h" #include "OgreCamera.h" #include "OgreRoot.h" #include "OgreWindow.h" #include "OgreConfigFile.h" #include "Compositor/OgreCompositorManager2.h" #include "OgreHlmsManager.h" #include "OgreHlmsPbs.h" //Declares Win...
38.560606
105
0.623379
[ "render" ]