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
ec227843bff823854bb7d77c491ca51fad330f4a
14,023
hpp
C++
inc/tlib/String.hpp
tvarney/tlib
990b65df258dd470839b3209fd80b98426867896
[ "MIT" ]
null
null
null
inc/tlib/String.hpp
tvarney/tlib
990b65df258dd470839b3209fd80b98426867896
[ "MIT" ]
null
null
null
inc/tlib/String.hpp
tvarney/tlib
990b65df258dd470839b3209fd80b98426867896
[ "MIT" ]
null
null
null
#ifndef TLIB_STRING_HPP #define TLIB_STRING_HPP #include <stdint.h> #include <stddef.h> #include <boost/locale.hpp> #include <locale> #include <string> #include <utility> namespace tlib { template <typename Allocator> class Utf8String { public: /** * \brief Create an empty Utf8String ...
34.036408
98
0.525636
[ "object" ]
ec2397b70a7cecf99022df8fd439d9a12465ef1c
5,631
cc
C++
src/main/audio.cc
hisahi/hiemalia
bb5370d6ef0b2480b3b8f563d292ddfab7c0f6e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/main/audio.cc
hisahi/hiemalia
bb5370d6ef0b2480b3b8f563d292ddfab7c0f6e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/main/audio.cc
hisahi/hiemalia
bb5370d6ef0b2480b3b8f563d292ddfab7c0f6e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
/****************************************************************************/ /* */ /* HIEMALIA SOURCE CODE (C) 2021 SAMPO HIPPELAINEN (HISAHI). */ /* SEE THE LICENSE FILE IN THE SOURCE ROOT DIRECTORY FOR LICENSE INFO. */ /* ...
33.718563
78
0.572367
[ "vector" ]
ec2427ca95acf6e0627a95681e3f3a2f0e87316c
2,606
cc
C++
larq_compute_engine/mlir/python/graphdef_tfl_flatbuffer.cc
godhj93/compute-engine
1f812a6722e2ee6a510c883826fd5925f9c34b18
[ "Apache-2.0" ]
null
null
null
larq_compute_engine/mlir/python/graphdef_tfl_flatbuffer.cc
godhj93/compute-engine
1f812a6722e2ee6a510c883826fd5925f9c34b18
[ "Apache-2.0" ]
null
null
null
larq_compute_engine/mlir/python/graphdef_tfl_flatbuffer.cc
godhj93/compute-engine
1f812a6722e2ee6a510c883826fd5925f9c34b18
[ "Apache-2.0" ]
null
null
null
#include <exception> #include "larq_compute_engine/mlir/python/common.h" #include "larq_compute_engine/mlir/tf_tfl_passes.h" #include "larq_compute_engine/mlir/tf_to_tfl_flatbuffer.h" #include "mlir/IR/MLIRContext.h" #include "pybind11/pybind11.h" #include "tensorflow/compiler/mlir/lite/transforms/passes.h" #include "...
36.194444
79
0.717959
[ "object", "vector" ]
ec26a44a39e1cc936e2e2586908702bd4e82a110
11,595
cpp
C++
FlexEngine/src/Graphics/Vulkan/VulkanRenderPass.cpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
762
2017-11-07T23:40:58.000Z
2022-03-31T16:03:22.000Z
FlexEngine/src/Graphics/Vulkan/VulkanRenderPass.cpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
5
2018-03-13T14:41:06.000Z
2020-11-01T12:02:29.000Z
FlexEngine/src/Graphics/Vulkan/VulkanRenderPass.cpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
43
2017-11-17T11:22:37.000Z
2022-03-14T01:51:19.000Z
#include "stdafx.hpp" #if COMPILE_VULKAN #include "Graphics/Vulkan/VulkanRenderPass.hpp" #include "Graphics/Vulkan/VulkanDevice.hpp" #include "Graphics/Vulkan/VulkanHelpers.hpp" #include "Graphics/Vulkan/VulkanInitializers.hpp" #include "Graphics/Vulkan/VulkanRenderer.hpp" namespace flex { namespace vk { VulkanR...
39.305085
213
0.784649
[ "render", "vector" ]
ec2f25316431ea7aee9035835288a276ad5d8634
14,344
cpp
C++
RobWork/src/rwlibs/opengl/RWGLFrameBuffer.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/rwlibs/opengl/RWGLFrameBuffer.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/rwlibs/opengl/RWGLFrameBuffer.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
53.125926
100
0.725669
[ "object" ]
ec39dece7e174bce1f8d070800313209bac31f36
713
cpp
C++
CodeForces/Complete/100-199/159C-StringManipulation.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/100-199/159C-StringManipulation.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/100-199/159C-StringManipulation.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <iostream> #include <vector> #include <set> int main(){ const int N = 26; std::ios_base::sync_with_stdio(false); long k; std::cin >> k; std::string s; std::cin >> s; std::string t(""); for(long p = 0; p < k; p++){t += s;} std::vector<std::vector<long> > m(N); std::vector<bool>...
23.766667
68
0.465638
[ "vector" ]
ec39e70f029eb63e379218d18d0b49c9349d7846
1,511
hh
C++
gazebo/gui/model/ModelEditorPalette_TEST.hh
shyamalschandra/gazebo-official
0b2d72d8ad7ef17c0b3e5aea627c3ec1753310c5
[ "ECL-2.0", "Apache-2.0" ]
1
2015-04-06T16:17:36.000Z
2015-04-06T16:17:36.000Z
gazebo/gui/model/ModelEditorPalette_TEST.hh
shyamalschandra/gazebo-official
0b2d72d8ad7ef17c0b3e5aea627c3ec1753310c5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/gui/model/ModelEditorPalette_TEST.hh
shyamalschandra/gazebo-official
0b2d72d8ad7ef17c0b3e5aea627c3ec1753310c5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
30.22
75
0.741231
[ "model" ]
ec4290c9c9d77d5a14c0ad56081daec79634ccaa
1,454
cc
C++
codeforces/593/A.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
codeforces/593/A.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
codeforces/593/A.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using vi = vector<int>; using vvi = vector<vi>; using ii = pair<int,int>; using vii = vector<ii>; using l = long long; using vl = vector<l>; using vvl = vector<vl>; using lu = unsigned long long; using vb = vector<bool>; using vvb = vector<vb>; using vd = vector<double>; us...
24.233333
66
0.429161
[ "vector" ]
ec4c1e28caf95bc9a84504f2d1e633540f802f76
861
cc
C++
leetcode/66-plus-one.cc
Stone-Zeng/toys
ca040cb1b1546cdb422940f3785c6b1a5624bc89
[ "MIT" ]
6
2019-03-11T10:38:02.000Z
2022-01-07T08:55:58.000Z
leetcode/66-plus-one.cc
Stone-Zeng/toys
ca040cb1b1546cdb422940f3785c6b1a5624bc89
[ "MIT" ]
null
null
null
leetcode/66-plus-one.cc
Stone-Zeng/toys
ca040cb1b1546cdb422940f3785c6b1a5624bc89
[ "MIT" ]
1
2021-03-05T02:03:11.000Z
2021-03-05T02:03:11.000Z
// 66. Plus One // https://leetcode.com/problems/plus-one/ #include <iostream> #include <vector> using namespace std; class Solution { public: vector<int> plusOne(vector<int>& digits) { for (auto iter = digits.rbegin(); iter != digits.rend(); ++iter) { if (*iter != 9) { (*iter)...
21
74
0.426249
[ "vector" ]
ec4d4c0514d97c7a1ef6e613f1975cbd77ade366
4,782
hpp
C++
core/algorithms/partitioning/seed_partitioner.hpp
wickedb/LSOracle
ec2df3a3c9c1cc3b1c2dd7ca4dc7a52285781110
[ "MIT" ]
37
2018-08-12T11:25:57.000Z
2020-11-30T16:09:41.000Z
core/algorithms/partitioning/seed_partitioner.hpp
wickedb/LSOracle
ec2df3a3c9c1cc3b1c2dd7ca4dc7a52285781110
[ "MIT" ]
28
2021-02-18T22:09:38.000Z
2022-03-09T08:08:14.000Z
core/algorithms/partitioning/seed_partitioner.hpp
wickedb/LSOracle
ec2df3a3c9c1cc3b1c2dd7ca4dc7a52285781110
[ "MIT" ]
15
2021-02-26T17:10:24.000Z
2022-03-26T12:41:45.000Z
/* LSOracle: A learning based Oracle for Logic Synthesis * MIT License * Copyright 2019 Laboratory for Nano Integrated Systems (LNIS) * * 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 ...
33.440559
87
0.599749
[ "vector" ]
ec559ef457f39be718358e5e117e645a0228695a
4,636
cpp
C++
SMOL/Misc/StringUtils.cpp
all500234765/SMOL
d6f1e9401105cd1bf2209f30311dc90bcc78e43b
[ "MIT" ]
null
null
null
SMOL/Misc/StringUtils.cpp
all500234765/SMOL
d6f1e9401105cd1bf2209f30311dc90bcc78e43b
[ "MIT" ]
null
null
null
SMOL/Misc/StringUtils.cpp
all500234765/SMOL
d6f1e9401105cd1bf2209f30311dc90bcc78e43b
[ "MIT" ]
null
null
null
#include "pc.h" #include "StringUtils.h" #include "Misc/Log.h" #include <sstream> #include <cstring> #include <cstdarg> #include <string> template <typename T> std::string ToString(T val) { std::stringstream stream; stream << val; return stream.str(); } String Bytes2String(size_t bytes) { const Stri...
23.532995
83
0.512295
[ "vector" ]
ec58b68bd5b23fecf8015006bdf21f07d40b3f76
3,266
cpp
C++
android-31/java/util/concurrent/CopyOnWriteArraySet.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/util/concurrent/CopyOnWriteArraySet.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/util/concurrent/CopyOnWriteArraySet.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JObjectArray.hpp" #include "../../../JObject.hpp" #include "./CopyOnWriteArrayList.hpp" #include "./CopyOnWriteArraySet.hpp" namespace java::util::concurrent { // Fields // QJniObject forward CopyOnWriteArraySet::CopyOnWriteArraySet(QJniObject obj) : java::util::AbstractSet(obj) {} // Constr...
20.540881
91
0.677587
[ "object" ]
ec5a2a0a8489809c80e9221d725575c994db23a2
14,882
cpp
C++
tests/day05_tests.cpp
beached/aoc_2017
553d42e50b81384ad93aae6e0aec624ca7c8bf58
[ "MIT" ]
1
2017-12-11T16:17:18.000Z
2017-12-11T16:17:18.000Z
tests/day05_tests.cpp
beached/aoc_2017
553d42e50b81384ad93aae6e0aec624ca7c8bf58
[ "MIT" ]
null
null
null
tests/day05_tests.cpp
beached/aoc_2017
553d42e50b81384ad93aae6e0aec624ca7c8bf58
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2017 Darrell Wright // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files( the "Software" ), to deal // in the Software without restriction, including without limitation the rights // to use,...
84.556818
113
0.458272
[ "vector" ]
ec61afd9e1f670e534e8e6d7f64dbca3ce351997
3,770
cpp
C++
test_conformance/spirv_new/test_op_branch.cpp
jainvikas8/OpenCL-CTS
b7e7a3eb65d80d6847bd522f66f876fd5f6fe938
[ "Apache-2.0" ]
130
2017-05-16T14:15:25.000Z
2022-03-26T22:31:05.000Z
test_conformance/spirv_new/test_op_branch.cpp
jainvikas8/OpenCL-CTS
b7e7a3eb65d80d6847bd522f66f876fd5f6fe938
[ "Apache-2.0" ]
919
2017-05-19T08:01:20.000Z
2022-03-29T23:08:35.000Z
test_conformance/spirv_new/test_op_branch.cpp
jainvikas8/OpenCL-CTS
b7e7a3eb65d80d6847bd522f66f876fd5f6fe938
[ "Apache-2.0" ]
125
2017-05-17T01:14:15.000Z
2022-03-25T22:34:42.000Z
/****************************************************************** Copyright (c) 2016 The Khronos Group Inc. All Rights Reserved. This code is protected by copyright laws and contains material proprietary to the Khronos Group, Inc. This is UNPUBLISHED PROPRIETARY SOURCE CODE that may not be disclosed in whole or in p...
45.421687
101
0.589125
[ "vector" ]
ec644eb0e54bf3216b4a7d84ab1cd5a689e25464
48,148
cpp
C++
sdl1/wolf4sdl/wl_draw.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/wolf4sdl/wl_draw.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/wolf4sdl/wl_draw.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
// WL_DRAW.C #include "wl_def.h" #pragma hdrstop #include "wl_cloudsky.h" #include "wl_atmos.h" #include "wl_shade.h" /* ============================================================================= LOCAL CONSTANTS =====================================================================...
29.216019
119
0.452584
[ "object", "shape", "transform" ]
ec6577a1ebb99eb85469a56a29f561ae4f7ec6da
4,597
cpp
C++
net/http/HttpServer.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
27
2019-04-27T00:51:22.000Z
2022-03-30T04:05:44.000Z
net/http/HttpServer.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
9
2020-05-03T12:17:50.000Z
2021-10-15T02:18:47.000Z
net/http/HttpServer.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
1
2019-04-16T01:45:36.000Z
2019-04-16T01:45:36.000Z
#include "Object.hpp" #include "StrongPointer.hpp" #include "ArrayList.hpp" #include "AutoLock.hpp" #include "Error.hpp" #include "HttpHeader.hpp" #include "HttpInternalException.hpp" #include "HttpLinker.hpp" #include "HttpLinkerManager.hpp" #include "HttpPacket.hpp" #include "HttpServer.hpp" #include "InetAddress.hp...
30.646667
81
0.561018
[ "object" ]
ec65bf12e23650c3b8b6c1dcc4c31320efc3cc56
14,474
cc
C++
cpp/src/arrow/dataset/file_base.cc
karldw/arrow
0d995486e6eb4c94a64f03578731aad05c151596
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
1
2020-09-30T02:48:39.000Z
2020-09-30T02:48:39.000Z
cpp/src/arrow/dataset/file_base.cc
karldw/arrow
0d995486e6eb4c94a64f03578731aad05c151596
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
20
2021-05-09T06:53:01.000Z
2022-03-27T22:21:50.000Z
cpp/src/arrow/dataset/file_base.cc
karldw/arrow
0d995486e6eb4c94a64f03578731aad05c151596
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
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...
36.736041
90
0.69725
[ "vector", "transform" ]
ec6a30f1438cbb90955da12b3e2a899cc7021b51
5,455
cc
C++
ash/wm/desks/persistent_desks_bar_view.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
ash/wm/desks/persistent_desks_bar_view.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
ash/wm/desks/persistent_desks_bar_view.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "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 "ash/wm/desks/persistent_desks_bar_view.h" #include "ash/shell.h" #include "ash/style/ash_color_provider.h" #include "ash/system/unified/collaps...
34.308176
80
0.699542
[ "vector" ]
ec6f059d9e0fe5ed51f3c0122c9f14f96363b15b
3,630
cpp
C++
JPR/src/jpr_interface.cpp
huangqx/MultiScanRegistration
fb56eb4f51f322423add2e33ef25890e5df8908d
[ "MIT" ]
93
2020-08-14T09:40:07.000Z
2022-01-05T17:07:05.000Z
JPR/src/jpr_interface.cpp
huangqx/MultiScanRegistration
fb56eb4f51f322423add2e33ef25890e5df8908d
[ "MIT" ]
null
null
null
JPR/src/jpr_interface.cpp
huangqx/MultiScanRegistration
fb56eb4f51f322423add2e33ef25890e5df8908d
[ "MIT" ]
12
2020-08-24T02:04:30.000Z
2022-01-04T14:14:28.000Z
/*--- function [scanposes, corres] = jpr_interface(datapoints, scan_offsets, paras) Input: Output --*/ #include "mex.h" #include "point_cloud.h" #include "linear_algebra.h" #include "affine_transformation.h" #include "joint_pairwise_registration.h" #include <vector> #include <algorithm> using namespace s...
33.302752
78
0.622865
[ "mesh", "vector" ]
ec72d889c73f966a224feae9184c3c6f21ce1e2a
856
cpp
C++
Understand Pointers/SmartPointers.cpp
soumilk/Inheritance-
8aa19aef0f4d739db71124af1616ec8f6ddd8375
[ "BSL-1.0" ]
12
2019-07-04T19:35:36.000Z
2021-11-28T15:10:19.000Z
Understand Pointers/SmartPointers.cpp
soumilk/Inheritance-
8aa19aef0f4d739db71124af1616ec8f6ddd8375
[ "BSL-1.0" ]
13
2019-07-16T17:15:27.000Z
2019-10-25T09:07:12.000Z
Understand Pointers/SmartPointers.cpp
soumilk/Inheritance-
8aa19aef0f4d739db71124af1616ec8f6ddd8375
[ "BSL-1.0" ]
16
2019-08-16T00:52:50.000Z
2021-09-29T15:03:32.000Z
#include<iostream> /* * * @author Avinash Mager * Smart pointer are a kind of pointers whose destruction happens impliceitely. * Usually these are the wrappers over the pointer variable/object. * This program demonstrates the use of smart pointers by aking an example of calculation of factorial. */ using namespace s...
15.563636
103
0.641355
[ "object" ]
ec766eb51d3cd4237cc693f38d96bb0abbd4d94e
3,551
cpp
C++
src/conv.cpp
songqun/speedup-aarch64-cpu
a78dea87e25e71e68ab1985e91d5d99b1aa6fb1a
[ "MIT" ]
13
2019-07-14T12:45:44.000Z
2022-02-08T06:10:14.000Z
src/conv.cpp
songqun/speedup-aarch64-cpu
a78dea87e25e71e68ab1985e91d5d99b1aa6fb1a
[ "MIT" ]
null
null
null
src/conv.cpp
songqun/speedup-aarch64-cpu
a78dea87e25e71e68ab1985e91d5d99b1aa6fb1a
[ "MIT" ]
null
null
null
#include "conv.hpp" // More description see header for detail. void get_output_hw(int ih, int iw, int fh, int fw, int s, int p, int *oh, int *ow) { // ignore remainder if it appears divided by s, like what Caffe does. *oh = (ih + 2*p - fh) / s + 1; *ow = (iw + 2*p - fw) / s + 1; } void infer_conv_alg(int nb...
26.5
133
0.580118
[ "transform" ]
3f3f229de193cd1b1e446211226d6eb61dc10178
9,202
cpp
C++
ping360_sonar/src/ping360_node.cpp
AlexisFetet/ping360_sonar
9060485a4800bd010c4c1135a8bba1936408a150
[ "MIT" ]
4
2019-12-13T20:52:54.000Z
2019-12-20T12:33:03.000Z
ping360_sonar/src/ping360_node.cpp
AlexisFetet/ping360_sonar
9060485a4800bd010c4c1135a8bba1936408a150
[ "MIT" ]
9
2019-12-13T20:35:41.000Z
2020-01-09T19:27:56.000Z
ping360_sonar/src/ping360_node.cpp
Robotics-CentraleNantes/ping360_sonar
0e74e7bfb91beee494822cb311e1b378102bce96
[ "MIT" ]
1
2020-01-06T08:34:46.000Z
2020-01-06T08:34:46.000Z
#include <ping360_sonar/ping360_node.h> #include <ping360_sonar/sector.h> #include <ping-message-common.h> #include <ping-message-ping360.h> using namespace std::chrono_literals; using namespace ping360_sonar; using std::string; using std::vector; Ping360Sonar::Ping360Sonar(rclcpp::NodeOptions options) : Node("pin...
33.220217
140
0.679418
[ "vector" ]
3f3f621a179f781442dc47a90a5670aebcd83913
2,107
cpp
C++
CPP/ListNode/23/MergeKSortedLists3.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
CPP/ListNode/23/MergeKSortedLists3.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
CPP/ListNode/23/MergeKSortedLists3.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
// // Created by Insomnia on 2018/6/23. // #include<iostream> #include <vector> #include <algorithm> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {}; }; ListNode *mergeTwoLists(ListNode *listOne, ListNode *listTwo) { //考察21题目知识点 ListNode t...
18.646018
63
0.506882
[ "vector" ]
3f3f7cb7ff47e08421ec6221088286354ee8d00e
15,185
cc
C++
plugins/experimental/lua/hook.cc
syucream/trafficserver
144b2ef0a80c154ae132c9e73e94a5b4596c2b81
[ "Apache-2.0" ]
1
2016-04-29T08:11:46.000Z
2016-04-29T08:11:46.000Z
plugins/experimental/lua/hook.cc
syucream/trafficserver
144b2ef0a80c154ae132c9e73e94a5b4596c2b81
[ "Apache-2.0" ]
null
null
null
plugins/experimental/lua/hook.cc
syucream/trafficserver
144b2ef0a80c154ae132c9e73e94a5b4596c2b81
[ "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 no...
30.128968
117
0.708001
[ "object" ]
3f46024e215d8df5acb84517539ed1f14740af06
13,694
cpp
C++
src/librrl/test/audio_signal_flow_checking.cpp
s3a-spatialaudio/VISR
55f6289bc5058d4898106f3520e1a60644ffb3ab
[ "ISC" ]
17
2019-03-12T14:52:22.000Z
2021-11-09T01:16:23.000Z
src/librrl/test/audio_signal_flow_checking.cpp
s3a-spatialaudio/VISR
55f6289bc5058d4898106f3520e1a60644ffb3ab
[ "ISC" ]
null
null
null
src/librrl/test/audio_signal_flow_checking.cpp
s3a-spatialaudio/VISR
55f6289bc5058d4898106f3520e1a60644ffb3ab
[ "ISC" ]
2
2019-08-11T12:53:07.000Z
2021-06-22T10:08:08.000Z
/* Copyright Institue of Sound and Vibration Research - All rights reserved. */ #include <librrl/audio_signal_flow.hpp> #include <librrl/integrity_checking.hpp> #include <libvisr/audio_input.hpp> #include <libvisr/audio_output.hpp> #include <libvisr/atomic_component.hpp> #include <libvisr/composite_component.hpp> #in...
36.811828
149
0.682708
[ "object", "vector" ]
3f55de7d62c91f69be146dc98590daa97ed2c6d7
1,992
cc
C++
CPP/muduo/testsuite/datetime/benchmark.cc
ctimbai/coding-demo
96e2bdc1716a088070d9994c86b36c8dfe80a684
[ "Apache-2.0" ]
null
null
null
CPP/muduo/testsuite/datetime/benchmark.cc
ctimbai/coding-demo
96e2bdc1716a088070d9994c86b36c8dfe80a684
[ "Apache-2.0" ]
null
null
null
CPP/muduo/testsuite/datetime/benchmark.cc
ctimbai/coding-demo
96e2bdc1716a088070d9994c86b36c8dfe80a684
[ "Apache-2.0" ]
null
null
null
#include "datetime/TimerQueue.h" #include "datetime/TimerWheel.h" #include "reactor/EventLoop.h" #include "logging/Logging.h" #include <chrono> #include <random> #include <iostream> using namespace libcpp; const int k = 1000 * 1000; const double unit = 0.01; const double base = 3600; std::vector<int> distribution; st...
25.87013
64
0.627008
[ "vector" ]
3f5d785f461e0a4557f4db3a781910b90f184799
18,634
hpp
C++
cpp/oneapi/dal/algo/decision_forest/test/fixture.hpp
dmitrii-kriukov/oneDAL
e962159893ffabdcc601f999f998ce2373c3ce71
[ "Apache-2.0" ]
169
2020-03-30T09:13:05.000Z
2022-03-15T11:12:36.000Z
cpp/oneapi/dal/algo/decision_forest/test/fixture.hpp
dmitrii-kriukov/oneDAL
e962159893ffabdcc601f999f998ce2373c3ce71
[ "Apache-2.0" ]
1,198
2020-03-24T17:26:18.000Z
2022-03-31T08:06:15.000Z
cpp/oneapi/dal/algo/decision_forest/test/fixture.hpp
dmitrii-kriukov/oneDAL
e962159893ffabdcc601f999f998ce2373c3ce71
[ "Apache-2.0" ]
75
2020-03-30T11:39:58.000Z
2022-03-26T05:16:20.000Z
/******************************************************************************* * Copyright 2020-2021 Intel 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.apa...
44.578947
100
0.592251
[ "shape", "model" ]
3f6434db5ac6fc116fada80768b8e1b66edb518b
11,638
hh
C++
includes/rend3d.hh
hisahi/hiemalia
bb5370d6ef0b2480b3b8f563d292ddfab7c0f6e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
includes/rend3d.hh
hisahi/hiemalia
bb5370d6ef0b2480b3b8f563d292ddfab7c0f6e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
includes/rend3d.hh
hisahi/hiemalia
bb5370d6ef0b2480b3b8f563d292ddfab7c0f6e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
/****************************************************************************/ /* */ /* HIEMALIA SOURCE CODE (C) 2021 SAMPO HIPPELAINEN (HISAHI). */ /* SEE THE LICENSE FILE IN THE SOURCE ROOT DIRECTORY FOR LICENSE INFO. */ /* ...
35.809231
80
0.419144
[ "vector", "model" ]
3f6bc09f157462f49cca5c04fad85af172515472
3,715
cpp
C++
src/modules/gdgem/tests/HitGenerator.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
8
2017-12-02T09:20:26.000Z
2022-03-28T08:17:40.000Z
src/modules/gdgem/tests/HitGenerator.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
296
2017-10-24T09:06:10.000Z
2022-03-31T07:31:06.000Z
src/modules/gdgem/tests/HitGenerator.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
8
2018-04-08T15:35:50.000Z
2021-04-12T05:06:15.000Z
// Copyright (C) 2019 European Spallation Source ERIC #include <algorithm> #include <cmath> #include <cstdio> #include <fmt/format.h> #include <gdgem/tests/HitGenerator.h> #include <vector> #include <cassert> /// \todo Should not belong to gdgem but to common, reduction? namespace Gem { // void HitGenerator::printHit...
27.932331
117
0.607537
[ "vector" ]
3f702eebf9239074ff68df4b2de3574a3efb0cfb
1,595
cpp
C++
_KaramayEngine/karamay_engine_graphics_unit_cmake/karamay_engine_graphics_unit/source/renderer_framework/std_ui_framework/std_ui_framework.cpp
Karamays/karamay_engine
858054ea5155d0b690b7cf17d0e6a6266e0b0b9c
[ "MIT" ]
null
null
null
_KaramayEngine/karamay_engine_graphics_unit_cmake/karamay_engine_graphics_unit/source/renderer_framework/std_ui_framework/std_ui_framework.cpp
Karamays/karamay_engine
858054ea5155d0b690b7cf17d0e6a6266e0b0b9c
[ "MIT" ]
null
null
null
_KaramayEngine/karamay_engine_graphics_unit_cmake/karamay_engine_graphics_unit/source/renderer_framework/std_ui_framework/std_ui_framework.cpp
Karamays/karamay_engine
858054ea5155d0b690b7cf17d0e6a6266e0b0b9c
[ "MIT" ]
1
2022-01-29T08:24:14.000Z
2022-01-29T08:24:14.000Z
#include "std_ui_framework.h" #include "graphics/opengl/dispatcher/gl_renderer_dispatcher.h" #include "renderers/templates/gl_shader_toy_renderer.h" namespace std_ui_framework { gl_renderer_template<gl_shader_toy_renderer> _shader_toy_renderer_template; } bool std_ui_framework::framework::initialize() noexcept { ...
27.033898
83
0.734169
[ "render", "vector" ]
3f73a82bb5fc873d7db2eb23a0701eca0bb85789
5,918
cpp
C++
mapleall/maple_driver/src/compiler.cpp
lvyitian/mapleall
1112501c1bcbff5d9388bf46f195d56560c5863a
[ "MulanPSL-1.0" ]
null
null
null
mapleall/maple_driver/src/compiler.cpp
lvyitian/mapleall
1112501c1bcbff5d9388bf46f195d56560c5863a
[ "MulanPSL-1.0" ]
null
null
null
mapleall/maple_driver/src/compiler.cpp
lvyitian/mapleall
1112501c1bcbff5d9388bf46f195d56560c5863a
[ "MulanPSL-1.0" ]
null
null
null
/* * Copyright (c) [2019-2020] Huawei Technologies Co., Ltd. All rights reserved. * * OpenArkCompiler is licensed under the Mulan Permissive Software License v2. * You can use this software according to the terms and conditions of the MulanPSL - 2.0. * You may obtain a copy of MulanPSL - 2.0 at: * * https://op...
37.694268
116
0.692971
[ "vector" ]
3f827d715aaa3f379560552006f053ce15da478b
1,444
cpp
C++
SDLTuts/Main.cpp
Amaranthos/SDLPlayground
693a0430c2d814089408bd6c55d5174c1469ea73
[ "MIT" ]
null
null
null
SDLTuts/Main.cpp
Amaranthos/SDLPlayground
693a0430c2d814089408bd6c55d5174c1469ea73
[ "MIT" ]
null
null
null
SDLTuts/Main.cpp
Amaranthos/SDLPlayground
693a0430c2d814089408bd6c55d5174c1469ea73
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string> #include <cmath> #include <sstream> #include <iostream> #include <fstream> #include <SDL.h> #include <SDL_image.h> //#include <SDL_ttf.h> #include "Globals.h" #include "Texture.h" #include "Window.h" #include "Dot.h" bool Init(); bool LoadMedia(Game::Tile* tiles[]); void Close(Ga...
18.278481
92
0.623269
[ "render" ]
3f8472b3683b54d092a4354c460ec13f7696fffe
9,708
cpp
C++
src/vidhrdw/xevious.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
33
2015-08-10T11:13:47.000Z
2021-08-30T10:00:46.000Z
src/vidhrdw/xevious.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
13
2015-08-25T03:53:08.000Z
2022-03-30T18:02:35.000Z
src/vidhrdw/xevious.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
40
2015-08-25T05:09:21.000Z
2022-02-08T05:02:30.000Z
/*************************************************************************** vidhrdw.c Functions to emulate the video hardware of the machine. ***************************************************************************/ #include "driver.h" unsigned char *xevious_fg_videoram,*xevious_fg_colorram; unsigned char...
25.547368
118
0.560466
[ "3d" ]
3f8c18bdbfe01ad7eb3ce7b421dad6f9dd622089
2,764
cpp
C++
inex/render/base/sources/command_processor.cpp
PhysShell/inexplicable_engine
a91d2f30fc4c64abd5a78fd71f21b13052c86c9d
[ "WTFPL" ]
null
null
null
inex/render/base/sources/command_processor.cpp
PhysShell/inexplicable_engine
a91d2f30fc4c64abd5a78fd71f21b13052c86c9d
[ "WTFPL" ]
null
null
null
inex/render/base/sources/command_processor.cpp
PhysShell/inexplicable_engine
a91d2f30fc4c64abd5a78fd71f21b13052c86c9d
[ "WTFPL" ]
null
null
null
#include "pch.h" #include "command_processor.h" #include <inex/render/base/world.h> using inex::render::command_processor; using inex::render::engine::command; using inex::render::engine::wrapper; //using inex::render::delete_on_tick_callback_type; command_processor::command_processor ( /*delete_on_tick_callback_type...
23.423729
88
0.666787
[ "render" ]
3f92993a7ba425ab73accb8360a89e2ae89478f8
3,792
cc
C++
src/model/standard_model_node.cc
karaoulanis/nemesis-code
1ed488b389a552802ea910c9d8045f4cb0e57200
[ "BSL-1.0" ]
2
2019-07-02T11:59:42.000Z
2020-08-17T11:51:55.000Z
src/model/standard_model_node.cc
karaoulanis/nemesis-code
1ed488b389a552802ea910c9d8045f4cb0e57200
[ "BSL-1.0" ]
null
null
null
src/model/standard_model_node.cc
karaoulanis/nemesis-code
1ed488b389a552802ea910c9d8045f4cb0e57200
[ "BSL-1.0" ]
null
null
null
/******************************************************************************* * nemesis. an experimental finite element code. * * Copyright (C) 2004-2011 F.E.Karaoulanis [http://www.nemesis-project.org] * * ...
42.606742
80
0.545359
[ "vector", "model" ]
3f9cb9ca81fa4f7b473364319b3ec8c1f4a5552e
16,365
cpp
C++
Modules/Core/src/DataManagement/mitkPropertyRelationRuleBase.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/Core/src/DataManagement/mitkPropertyRelationRuleBase.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/Core/src/DataManagement/mitkPropertyRelationRuleBase.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
28.166954
150
0.697097
[ "vector" ]
3fa2cfc6336e4415177def06cd771941eec199c3
3,461
hpp
C++
libraries/chain/include/muse/chain/history_object.hpp
top1st/SounDAC-Source
5e4a898a17cfda2fcb9da23572e97246174654f1
[ "BSD-2-Clause" ]
2
2018-10-07T11:46:51.000Z
2019-05-07T09:51:44.000Z
libraries/chain/include/muse/chain/history_object.hpp
top1st/SounDAC-Source
5e4a898a17cfda2fcb9da23572e97246174654f1
[ "BSD-2-Clause" ]
26
2018-08-20T13:03:25.000Z
2019-10-02T19:42:00.000Z
libraries/chain/include/muse/chain/history_object.hpp
top1st/SounDAC-Source
5e4a898a17cfda2fcb9da23572e97246174654f1
[ "BSD-2-Clause" ]
7
2018-08-23T13:53:11.000Z
2020-10-16T06:48:41.000Z
#pragma once #include <muse/chain/protocol/authority.hpp> #include <muse/chain/protocol/types.hpp> #include <muse/chain/protocol/operations.hpp> #include <muse/chain/protocol/base_operations.hpp> #include <muse/chain/witness_objects.hpp> #include <muse/chain/streaming_platform_objects.hpp> #include <graphene/db/gene...
38.88764
144
0.668882
[ "object" ]
3fb579001e436aec8db3dce1550efb1b7311631e
6,213
hpp
C++
logos/bootstrap/pull.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
3
2020-01-17T18:05:19.000Z
2021-12-29T04:21:59.000Z
logos/bootstrap/pull.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
null
null
null
logos/bootstrap/pull.hpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
2
2020-12-22T05:51:53.000Z
2021-06-08T00:27:46.000Z
#pragma once #include <deque> #include <unordered_map> #include <memory> #include <logos/consensus/persistence/block_cache.hpp> #include <logos/bootstrap/bootstrap_messages.hpp> #include <logos/node/node.hpp> namespace Bootstrap { using PullPtr = std::shared_ptr<PullRequest>; using BSBPtr = std::shared_ptr<...
29.727273
86
0.579752
[ "vector" ]
3fb672144e712f9afe9566f6ccc3b4ae5f54b45f
2,026
cpp
C++
src/glfwOnWindows/besaier.cpp
99611400/computerGraphics
37255b51e82ccd3a02ad0d5a33b686bbe7cb4ede
[ "Apache-2.0" ]
1
2021-06-29T10:22:35.000Z
2021-06-29T10:22:35.000Z
src/glfwOnWindows/besaier.cpp
99611400/computerGraphics
37255b51e82ccd3a02ad0d5a33b686bbe7cb4ede
[ "Apache-2.0" ]
null
null
null
src/glfwOnWindows/besaier.cpp
99611400/computerGraphics
37255b51e82ccd3a02ad0d5a33b686bbe7cb4ede
[ "Apache-2.0" ]
null
null
null
#include <chrono> #include <iostream> #include <opencv2/opencv.hpp> std::vector<cv::Point2f> control_points; cv::Point2f lerp_v2f(const cv::Point2f& a, const cv::Point2f& b, float t) { return a + (b - a) * t; } cv::Point2f recursive_bezier(const std::vector<cv::Point2f> &control_points, float t) { if (c...
22.263736
89
0.588351
[ "vector" ]
3fb9f1af04720e8ad9d2331b1f7ec22d0278ed8a
17,739
cpp
C++
frameworks/compile/slang/slang_rs_backend.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
frameworks/compile/slang/slang_rs_backend.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
null
null
null
frameworks/compile/slang/slang_rs_backend.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
/* * Copyright 2010-2012, The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
34.511673
80
0.593889
[ "object", "vector" ]
3fbfddd64bf7aff386229102601197c1ffde1aaa
2,253
cxx
C++
1.5 Secretary Swap/main.cxx
SemenMartynov/openedu-itmo-algorithms
93697a1ac4de2300a9140d8752de7851743c0426
[ "MIT" ]
null
null
null
1.5 Secretary Swap/main.cxx
SemenMartynov/openedu-itmo-algorithms
93697a1ac4de2300a9140d8752de7851743c0426
[ "MIT" ]
null
null
null
1.5 Secretary Swap/main.cxx
SemenMartynov/openedu-itmo-algorithms
93697a1ac4de2300a9140d8752de7851743c0426
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <algorithm> #include <vector> int main(int argc, char **argv) { std::vector<int> nums; size_t nums_c = 0; int item = 0; bool item_in_proccess = false; bool item_is_negative = false; std::ifstream fin("input.txt"); char buf[4096]; do ...
24.225806
84
0.363515
[ "vector" ]
3fc542139bb58f64379d7a7a4962d01cb1e088f4
760
hpp
C++
PO_class/assignment_2/cplex/include/Data.hpp
ItamarRocha/Operations-Research
55c4d54959555c3b9d54641e76eb6cfb2c011a2c
[ "MIT" ]
7
2020-07-04T01:50:12.000Z
2021-06-03T21:54:52.000Z
PO_class/assignment_2/cplex/include/Data.hpp
ItamarRocha/Operations-Research
55c4d54959555c3b9d54641e76eb6cfb2c011a2c
[ "MIT" ]
null
null
null
PO_class/assignment_2/cplex/include/Data.hpp
ItamarRocha/Operations-Research
55c4d54959555c3b9d54641e76eb6cfb2c011a2c
[ "MIT" ]
null
null
null
#ifndef _DATA_H_ #define _DATA_H_ #include <vector> #include <stdio.h> #include <iostream> #include <stdlib.h> #include <chrono> #define N_MODES 3 using namespace std::chrono; class Data { private: int N_tasks; int N_days; int penalty; int max_duration; std::vector<std::...
16.170213
58
0.597368
[ "vector" ]
3fd209e524ba93b4edfe51c06d55a03f918712d2
3,477
hh
C++
Shared/BrainCloudEvent.hh
pascalf1309/braincloud-objc
d3519eb26d753515a0d57d2ce07fe26399c14fac
[ "Apache-2.0" ]
null
null
null
Shared/BrainCloudEvent.hh
pascalf1309/braincloud-objc
d3519eb26d753515a0d57d2ce07fe26399c14fac
[ "Apache-2.0" ]
1
2019-11-30T17:08:15.000Z
2019-11-30T17:08:15.000Z
Shared/BrainCloudEvent.hh
pascalf1309/braincloud-objc
d3519eb26d753515a0d57d2ce07fe26399c14fac
[ "Apache-2.0" ]
null
null
null
// // BrainCloudEvent.h // brainCloudClientObjc // // Created by Hill, Bradley on 2015-08-12. // Copyright (c) 2016 bitHeads. All rights reserved. // #pragma once #import <Foundation/Foundation.h> #import "BrainCloudCompletionBlocks.hh" @class BrainCloudClient; @interface BrainCloudEvent : NSObject /** * Init...
35.121212
85
0.745758
[ "object" ]
3fd9466d35ab3a00ffb8215502943450ef90bf7e
3,030
hpp
C++
src/agl/engine/object.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/engine/object.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/engine/object.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once #include "geometry.hpp" #include "material.hpp" #include "uniform.hpp" #include <agl/opengl/all.hpp> #include <iostream> #include <memory> struct Object { std::shared_ptr<Geometry> geometry = {}; std::shared_ptr<Material> material = {}; std::map<std::string, agl::Texture> textures = {}; ...
27.545455
81
0.543234
[ "geometry", "render", "object" ]
3fe471731709d9d15b26e52ba199734e7901f523
4,940
cpp
C++
Code/Gfx/Source/D3D12/ShaderInputLayout.cpp
Mu-L/Luna-Engine-0.6
05ae1037f0d173589a535eb6ec2964f20d80e5c1
[ "MIT" ]
167
2020-06-17T06:09:41.000Z
2022-03-13T20:31:26.000Z
Code/Gfx/Source/D3D12/ShaderInputLayout.cpp
Mu-L/Luna-Engine-0.6
05ae1037f0d173589a535eb6ec2964f20d80e5c1
[ "MIT" ]
2
2020-07-11T15:12:50.000Z
2021-06-01T01:45:49.000Z
Code/Gfx/Source/D3D12/ShaderInputLayout.cpp
Mu-L/Luna-Engine-0.6
05ae1037f0d173589a535eb6ec2964f20d80e5c1
[ "MIT" ]
22
2020-06-12T02:26:10.000Z
2022-01-02T14:04:32.000Z
// Copyright 2018-2020 JXMaster. All rights reserved. /* * @file ShaderInputLayout.cpp * @author JXMaster * @date 2020/3/14 */ #include "ShaderInputLayout.hpp" #ifdef LUNA_GFX_D3D12 namespace Luna { namespace Gfx { namespace D3D12 { RV ShaderInputLayout::init(const ShaderInputLayoutDesc& desc) { m_gro...
35.285714
133
0.718016
[ "geometry" ]
3fe552badfa99f17ed325af63897519ea1516326
3,461
cpp
C++
run_cb.cpp
ricardaxel/bayesmix
c9fb79c2f6fb05783adf31dd31030440413ae9cb
[ "BSD-3-Clause" ]
null
null
null
run_cb.cpp
ricardaxel/bayesmix
c9fb79c2f6fb05783adf31dd31030440413ae9cb
[ "BSD-3-Clause" ]
null
null
null
run_cb.cpp
ricardaxel/bayesmix
c9fb79c2f6fb05783adf31dd31030440413ae9cb
[ "BSD-3-Clause" ]
1
2020-12-21T21:24:49.000Z
2020-12-21T21:24:49.000Z
#include <Eigen/Dense> #include <fstream> #include <iostream> #include <sstream> #include <string> #include <vector> #include "src/includes.hpp" using namespace std; using namespace Eigen; template <typename M> M load_csv1(const std::string &path) { // Use this if csv is separated with "," std::ifstream indata; ...
29.581197
78
0.610228
[ "vector" ]
6847ddcac86821cf331b8eed51d4575186a1afcc
1,500
cpp
C++
Volume_10/Number_2/Baerentzen2005/Appsrc/PointImpostors/PointRecord.cpp
kyeonghopark/jgt-code
08bbcc298e12582e32cb56a52e70344c57689d73
[ "MIT" ]
415
2015-10-24T17:37:12.000Z
2022-02-18T04:09:07.000Z
Volume_10/Number_2/Baerentzen2005/Appsrc/PointImpostors/PointRecord.cpp
kyeonghopark/jgt-code
08bbcc298e12582e32cb56a52e70344c57689d73
[ "MIT" ]
8
2016-01-15T13:23:16.000Z
2021-05-27T01:49:50.000Z
Volume_10/Number_2/Baerentzen2005/Appsrc/PointImpostors/PointRecord.cpp
kyeonghopark/jgt-code
08bbcc298e12582e32cb56a52e70344c57689d73
[ "MIT" ]
77
2015-10-24T22:36:29.000Z
2022-03-24T01:03:54.000Z
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #ifdef WIN32 #include <io.h> #else #include <unistd.h> #endif #include "PointRecord.h" using namespace std; bool save_points(const std::string& fname, const std::vector<PointRecord>& points, float unit_scale) { int f = creat(fname.d...
19.480519
75
0.598667
[ "vector" ]
6849d361e69c89ed27fd47aecb6c541644cae4b9
2,900
cpp
C++
src/main.cpp
victor-smirnov/dumbo-seastar
4a9d57c927f64826b5bf138763569825f5ab0cb9
[ "Apache-2.0" ]
2
2017-12-15T07:14:53.000Z
2019-09-07T12:49:01.000Z
src/main.cpp
victor-smirnov/dumbo-seastar
4a9d57c927f64826b5bf138763569825f5ab0cb9
[ "Apache-2.0" ]
null
null
null
src/main.cpp
victor-smirnov/dumbo-seastar
4a9d57c927f64826b5bf138763569825f5ab0cb9
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Victor Smirnov // // 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 ...
23.966942
90
0.657586
[ "vector" ]
68582866c6e23776a0359e8dd7913812c880a63f
11,171
cc
C++
cc_code/src/hmm/hmm/peptide-hmm.test.cc
erisyon/whatprot
176cd7e6ee99ea3f91794dcf1ec14f3578b7ee3c
[ "MIT" ]
null
null
null
cc_code/src/hmm/hmm/peptide-hmm.test.cc
erisyon/whatprot
176cd7e6ee99ea3f91794dcf1ec14f3578b7ee3c
[ "MIT" ]
1
2021-06-12T00:50:08.000Z
2021-06-15T17:59:12.000Z
cc_code/src/hmm/hmm/peptide-hmm.test.cc
erisyon/whatprot
176cd7e6ee99ea3f91794dcf1ec14f3578b7ee3c
[ "MIT" ]
1
2021-06-11T19:34:43.000Z
2021-06-11T19:34:43.000Z
/******************************************************************************\ * Author: Matthew Beauregard Smith * * Affiliation: The University of Texas at Austin * * Department: Oden Institute and Institute for Cellular and Molecular Biology...
36.387622
80
0.62528
[ "vector", "model" ]
6859875627d32ead1e8f69727fc7e2981abee694
16,422
cpp
C++
sizeTest.cpp
dib-lab/2020-paper-mqf-benchmarks
29245836d142b4912c120f3e3899042e972e959c
[ "BSD-3-Clause" ]
1
2020-07-15T20:27:53.000Z
2020-07-15T20:27:53.000Z
sizeTest.cpp
dib-lab/2020-paper-mqf-benchmarks
29245836d142b4912c120f3e3899042e972e959c
[ "BSD-3-Clause" ]
null
null
null
sizeTest.cpp
dib-lab/2020-paper-mqf-benchmarks
29245836d142b4912c120f3e3899042e972e959c
[ "BSD-3-Clause" ]
1
2021-03-22T01:09:08.000Z
2021-03-22T01:09:08.000Z
#include "gqf.h" #include <stdio.h> /* printf, scanf, puts, NULL */ #include <stdlib.h> #include<iostream> #include <fstream> #include "hashutil.h" #include "kmer.h" #include <vector> #include <chrono> #include<cmath> #include <random> #include <algorithm> #include "Benchmark_Utils_Script/generators.hpp" #include ...
32.844
119
0.611497
[ "vector" ]
685a1ba865e1401bac3f819de78a9132522b8e2d
1,998
cpp
C++
example/heartbeat_example.cpp
alipay/sofa-bolt-cpp
6f422c0a8767ff8292db2b7c0557f9990219eb6b
[ "Apache-2.0" ]
13
2018-09-05T07:10:11.000Z
2019-04-30T01:31:32.000Z
example/heartbeat_example.cpp
sofastack/sofa-bolt-cpp
6f422c0a8767ff8292db2b7c0557f9990219eb6b
[ "Apache-2.0" ]
1
2018-11-03T03:54:40.000Z
2018-11-05T11:37:33.000Z
example/heartbeat_example.cpp
sofastack/sofa-bolt-cpp
6f422c0a8767ff8292db2b7c0557f9990219eb6b
[ "Apache-2.0" ]
2
2019-09-08T13:52:09.000Z
2021-04-21T08:42:08.000Z
#include <iostream> #include <stdio.h> #include <thread> #include <random> #include <thread> #include "rpc.h" #include "../src/common/log.h" int main() { if (!antflash::globalInit()) { LOG_INFO("global init fail."); return -1; } antflash::ChannelOptions options; options.connection_type...
29.382353
93
0.547548
[ "vector" ]
686ce43ab63f7ddf6b8ba43a26197047967afd30
3,797
cpp
C++
benchmark/arrays_and_strings.cpp
lkeegan/CTCI
1f15dabaf85aaa6d2f8bd21b5451d55173cf8ad4
[ "MIT" ]
1
2018-10-09T03:52:16.000Z
2018-10-09T03:52:16.000Z
benchmark/arrays_and_strings.cpp
lkeegan/CTCI
1f15dabaf85aaa6d2f8bd21b5451d55173cf8ad4
[ "MIT" ]
null
null
null
benchmark/arrays_and_strings.cpp
lkeegan/CTCI
1f15dabaf85aaa6d2f8bd21b5451d55173cf8ad4
[ "MIT" ]
null
null
null
#include <benchmark/benchmark.h> #include <arrays_and_strings.hpp> #include <random> using namespace ctci::arrays_and_strings; void BM_is_unique_a(benchmark::State& state) { std::string unique_string; for (int ci = 0; ci < 128; ++ci) { unique_string.push_back(static_cast<char>(ci)); } int n = state.range(...
23.73125
76
0.609428
[ "vector" ]
686d6e6468fabf1967f1b2fc0c7383e158ff9ca2
1,243
cpp
C++
Codeforces 963B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 963B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 963B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define pb push_back #define pob pop_back #define fp first #define sp second #define mp make_pair #define ins insert #define uEdge(u, v) g[u].pb(v), g[v].pb(u) #define uwEdge(u, v, w) g[u].pb({v, w}), g[v].pb({u, w}) #define dEdge(u, v) g[u].pb(v) #define dwEdge(u, v, w) g[u].pb({v, w}) #define...
23.45283
97
0.578439
[ "vector" ]
686fa801a18f8dfb5347bf89b538e752d5421581
926
cpp
C++
world/religion/source/unit_tests/Deity_test.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
world/religion/source/unit_tests/Deity_test.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
world/religion/source/unit_tests/Deity_test.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "gtest/gtest.h" TEST(SW_World_Religion_Deity, serialization_id) { Deity d; EXPECT_EQ(ClassIdentifier::CLASS_ID_DEITY, d.get_class_identifier()); } TEST(SW_World_Religion_Deity, saveload) { Deity d, d2; d.set_id("foo"); d.set_name_sid("test"); d.set_description_sid("asdf"); d.set_short_descrip...
20.130435
71
0.732181
[ "vector" ]
687b2f0779fa65973a316928feee9886e1a5592d
2,358
cc
C++
headless/lib/browser/headless_browser_impl_aura.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
headless/lib/browser/headless_browser_impl_aura.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
headless/lib/browser/headless_browser_impl_aura.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "headless/lib/browser/headless_browser_impl.h" #include "content/public/browser/render_widget_host_view.h" #include "content/public/browser/web_...
35.727273
80
0.772265
[ "geometry" ]
687c6a90f712f562714dd25a1ca73603206e078e
2,596
cpp
C++
dataset/test/modification/1466_all/28/transformation_1.cpp
Karina5005/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
3
2022-02-15T00:29:39.000Z
2022-03-15T08:36:44.000Z
dataset/test/modification/1466_all/28/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
dataset/test/modification/1466_all/28/transformation_1.cpp
Kira5005-code/Plagiarism
ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> #include<bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; #define pb push_back #define fo(i,n) for(int i=0;i<n;i++) #define foo(i,n) for(int i=1;i<=n;i++) #define int long long int #define mod 1...
10.771784
99
0.468028
[ "vector" ]
687d9d72117b836f3ea8a50b8396f01b14749380
10,495
cpp
C++
detection/mainwindow.cpp
WenzheDai/Auto_sort
20c73fb189cf00f302861b4269bee7a2bf8af8eb
[ "MIT" ]
1
2022-02-05T20:59:48.000Z
2022-02-05T20:59:48.000Z
detection/mainwindow.cpp
WenzheDai/Pipeline-Real-time-Detection-and-Sorting-System
20c73fb189cf00f302861b4269bee7a2bf8af8eb
[ "MIT" ]
null
null
null
detection/mainwindow.cpp
WenzheDai/Pipeline-Real-time-Detection-and-Sorting-System
20c73fb189cf00f302861b4269bee7a2bf8af8eb
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); mThread_motor = new thread_motor(); mUtils = new ImageUtils(); mUtils->setLED(ui->label_led_red, 0, 16); mUtils->setLED(ui->label_...
31.422156
89
0.543592
[ "object", "shape" ]
687dbb3400846c83fa5b40609ffe232daf67a6ac
4,724
cpp
C++
modules/hash_calculator/src/Utils.cpp
nicledomaS/HashCalculator
4708824e2ddde1fc7c330711ae7939c57556cb7d
[ "Apache-2.0" ]
null
null
null
modules/hash_calculator/src/Utils.cpp
nicledomaS/HashCalculator
4708824e2ddde1fc7c330711ae7939c57556cb7d
[ "Apache-2.0" ]
null
null
null
modules/hash_calculator/src/Utils.cpp
nicledomaS/HashCalculator
4708824e2ddde1fc7c330711ae7939c57556cb7d
[ "Apache-2.0" ]
null
null
null
#include "Utils.h" #include "SegmentImpl.h" #include "SegmentGroup.h" #include "FileMapper.h" #include <iostream> #include <fcntl.h> #include <sched.h> namespace hash_calculator { namespace { constexpr auto MaxSingleBufSize = 200; // MB constexpr auto MaxPartBufSize = 50; // MB constexpr auto MaxBigSegmentCount =...
30.282051
110
0.646274
[ "vector" ]
6897943ec1fe6c0d9a0bed15ab8b7ab6ca7accc6
4,730
cpp
C++
gtsam/slam/tests/testBetweenFactor.cpp
h-rover/gtsam
a0206e210d8f47b6ee295a1fbf95af84d98c5cf0
[ "BSD-3-Clause" ]
1,402
2017-03-28T00:18:11.000Z
2022-03-30T10:28:32.000Z
gtsam/slam/tests/testBetweenFactor.cpp
h-rover/gtsam
a0206e210d8f47b6ee295a1fbf95af84d98c5cf0
[ "BSD-3-Clause" ]
851
2017-11-27T15:09:56.000Z
2022-03-31T22:26:38.000Z
gtsam/slam/tests/testBetweenFactor.cpp
h-rover/gtsam
a0206e210d8f47b6ee295a1fbf95af84d98c5cf0
[ "BSD-3-Clause" ]
565
2017-11-30T16:15:59.000Z
2022-03-31T02:53:04.000Z
/** * @file testBetweenFactor.cpp * @brief * @author Duy-Nguyen Ta, Varun Agrawal * @date Aug 2, 2013 */ #include <CppUnitLite/TestHarness.h> #include <gtsam/base/TestableAssertions.h> #include <gtsam/base/numericalDerivative.h> #include <gtsam/geometry/Pose3.h> #include <gtsam/geometry/Rot3.h> #include <gtsam/in...
37.84
113
0.610571
[ "geometry", "vector", "model" ]
68995082ac2f402b434ada5494ab841e1760fada
49,482
cpp
C++
src/generator/x86_64/generator.cpp
ERAP-SBT/ERAP-SBT
67cf885634ed9205650ee2353849d623d318e2d6
[ "MIT" ]
2
2022-03-28T07:43:02.000Z
2022-03-30T11:53:25.000Z
src/generator/x86_64/generator.cpp
ERAP-SBT/ERAP-SBT
67cf885634ed9205650ee2353849d623d318e2d6
[ "MIT" ]
null
null
null
src/generator/x86_64/generator.cpp
ERAP-SBT/ERAP-SBT
67cf885634ed9205650ee2353849d623d318e2d6
[ "MIT" ]
2
2022-03-30T10:39:04.000Z
2022-03-30T11:53:28.000Z
#include "generator/x86_64/generator.h" #include <iostream> using namespace generator::x86_64; // TODO: imm handling is questionable at best here namespace { std::array<const char *, 4> op_reg_mapping_64 = {"rax", "rbx", "rcx", "rdx"}; std::array<const char *, 4> op_reg_mapping_32 = {"eax", "ebx", "ecx", "edx"}; ...
40.492635
188
0.558425
[ "vector" ]
68a230bd9fbbf77a86d0890aeebb481211aa8a9e
19,021
cpp
C++
ext/include/osgEarthDrivers/wms/ReaderWriterWMS.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
6
2015-09-26T15:33:41.000Z
2021-06-13T13:21:50.000Z
ext/include/osgEarthDrivers/wms/ReaderWriterWMS.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
null
null
null
ext/include/osgEarthDrivers/wms/ReaderWriterWMS.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
5
2015-05-04T09:02:23.000Z
2019-06-17T11:34:12.000Z
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2013 Pelican Mapping * http://osgearth.org * * osgEarth 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 Foundat...
32.626072
131
0.536144
[ "object", "vector", "3d" ]
68a40ee08c3e8a3446a0a22000860b3e8e89de16
12,151
cpp
C++
SurgSim/Physics/Fem1DElementBeam.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
24
2015-01-19T16:18:59.000Z
2022-03-13T03:29:11.000Z
SurgSim/Physics/Fem1DElementBeam.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
3
2018-12-21T14:54:08.000Z
2022-03-14T12:38:07.000Z
SurgSim/Physics/Fem1DElementBeam.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
8
2015-04-10T19:45:36.000Z
2022-02-02T17:00:59.000Z
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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/LICE...
34.519886
114
0.641099
[ "geometry", "vector", "solid" ]
68a82d5127175bcc989a0cfb01b483b0b050bba4
6,735
hpp
C++
Testing/test_string.hpp
Joseph-Heetel/StringCppTemplateLib_Dev
dd9a9a3e4b23f4af21c7dda1e5423c66362885bc
[ "MIT" ]
null
null
null
Testing/test_string.hpp
Joseph-Heetel/StringCppTemplateLib_Dev
dd9a9a3e4b23f4af21c7dda1e5423c66362885bc
[ "MIT" ]
null
null
null
Testing/test_string.hpp
Joseph-Heetel/StringCppTemplateLib_Dev
dd9a9a3e4b23f4af21c7dda1e5423c66362885bc
[ "MIT" ]
null
null
null
#pragma once #include "jhtstring.hpp" #include <cassert> #include <iostream> namespace jht { inline void RunTests_String() { std::cout << "RunTests_String\n"; { // Constructors String str0; assert(!str0.IsManaged()); assert(str0.Length() == 0); assert(strcmp(str0.ConstData(), "") == 0); String s...
32.853659
99
0.62346
[ "vector" ]
68af204852d5a4d3e11a5d1238208099e29209d8
3,770
cpp
C++
inference-engine/src/vpu/graph_transformer/src/stages/static_shape_nms.cpp
cwzrad/openvino
ae4bd370eac7c695bd797a31e62317d328dbe742
[ "Apache-2.0" ]
1
2020-08-25T06:01:49.000Z
2020-08-25T06:01:49.000Z
inference-engine/src/vpu/graph_transformer/src/stages/static_shape_nms.cpp
cwzrad/openvino
ae4bd370eac7c695bd797a31e62317d328dbe742
[ "Apache-2.0" ]
1
2021-07-24T15:22:27.000Z
2021-07-24T15:22:27.000Z
inference-engine/src/vpu/graph_transformer/src/stages/static_shape_nms.cpp
cwzrad/openvino
ae4bd370eac7c695bd797a31e62317d328dbe742
[ "Apache-2.0" ]
1
2020-08-13T08:33:55.000Z
2020-08-13T08:33:55.000Z
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/frontend/frontend.hpp> #include <ngraph/op/non_max_suppression.hpp> #include <memory> #include <set> namespace vpu { namespace { class StaticShapeNMS final : public StageNode { private: StagePtr cloneImpl() co...
35.233645
145
0.644032
[ "model" ]
68b21aa1f10e5dad08b31bb476749b5b1915f1a0
8,576
cpp
C++
Engine/ChunkMesh.cpp
tairoman/CraftClone
b50e40f5fb4a10febe8a17a37a439aa238d8deb3
[ "MIT" ]
5
2018-11-17T18:15:44.000Z
2020-04-26T11:27:16.000Z
Engine/ChunkMesh.cpp
tairoman/CraftClone
b50e40f5fb4a10febe8a17a37a439aa238d8deb3
[ "MIT" ]
1
2020-04-22T13:03:52.000Z
2020-04-23T12:57:40.000Z
Engine/ChunkMesh.cpp
tairoman/CraftClone
b50e40f5fb4a10febe8a17a37a439aa238d8deb3
[ "MIT" ]
null
null
null
#include "ChunkMesh.h" #include "Chunk.h" using namespace Engine; namespace { // How many block types there are constexpr auto numTypes = 4; // How many vertices per block side constexpr auto numVertices = 6; constexpr auto texArraySize = numTypes * numVertices; constexpr std::array<glm::vec2, texArraySize> texLook...
49.287356
174
0.53125
[ "vector" ]
68b249ba2d25bd4f9a51537be4d1a1cbaeea961b
29,987
cpp
C++
Stars45/Weapon.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
Stars45/Weapon.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
4
2019-09-05T22:22:57.000Z
2021-03-28T02:09:24.000Z
Stars45/Weapon.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
/* Starshatter OpenSource Distribution Copyright (c) 1997-2004, Destroyer Studios LLC. 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 t...
24.803143
100
0.495281
[ "object", "transform", "solid" ]
68b4058b9b8fad42cb68c5942dc0bfd5f1b18fdf
4,223
cpp
C++
src/math/Vector.test.cpp
j0ntan/RayTracerChallenge
91e201b2d7f90032580101a1ccf18eb2d6e5b522
[ "Unlicense" ]
null
null
null
src/math/Vector.test.cpp
j0ntan/RayTracerChallenge
91e201b2d7f90032580101a1ccf18eb2d6e5b522
[ "Unlicense" ]
null
null
null
src/math/Vector.test.cpp
j0ntan/RayTracerChallenge
91e201b2d7f90032580101a1ccf18eb2d6e5b522
[ "Unlicense" ]
null
null
null
#include <cmath> #include <gtest/gtest.h> #include <math/Vector.hpp> TEST(Vector, defaultConstruct) { Vector v; } TEST(Vector, componentsDefaultedToZero) { Vector v; ASSERT_FLOAT_EQ(v.x(), 0.0); ASSERT_FLOAT_EQ(v.y(), 0.0); ASSERT_FLOAT_EQ(v.z(), 0.0); } TEST(Vector, initialValueConstructed) { Vector v(1.0...
24.988166
77
0.606915
[ "vector" ]
68bbcf5b3a20f66f9318cc80e094e81798cb07cc
4,772
hpp
C++
deps/glider/ui/ListBox.hpp
Xecutor/zorroeditor
69627f9a555ee739ea4fce0c9eb9f589b1e7f5f9
[ "MIT" ]
null
null
null
deps/glider/ui/ListBox.hpp
Xecutor/zorroeditor
69627f9a555ee739ea4fce0c9eb9f589b1e7f5f9
[ "MIT" ]
null
null
null
deps/glider/ui/ListBox.hpp
Xecutor/zorroeditor
69627f9a555ee739ea4fce0c9eb9f589b1e7f5f9
[ "MIT" ]
null
null
null
#ifndef __GLIDER_UI_LISTBOX_HPP__ #define __GLIDER_UI_LISTBOX_HPP__ #include "UIContainer.hpp" #include "ScrollBar.hpp" #include <set> namespace glider{ namespace ui{ enum ListBoxEventType{ lbetSelectionChanged, lbetCount }; class ListBox:public UIContainer{ public: ListBox(); void draw(); UIObject* getSel...
21.690909
105
0.61798
[ "vector" ]
68bd1409612e2d3d13e31a714fb914c5b0630213
18,234
cpp
C++
src/eepp/physics/cspace.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
src/eepp/physics/cspace.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
src/eepp/physics/cspace.cpp
dogtwelve/eepp
dd672ff0e108ae1e08449ca918dc144018fb4ba4
[ "MIT" ]
null
null
null
#include <eepp/physics/cspace.hpp> #include <eepp/physics/cphysicsmanager.hpp> #ifdef PHYSICS_RENDERER_ENABLED #include <eepp/window/cengine.hpp> #include <eepp/graphics/cglobalbatchrenderer.hpp> using namespace EE::Graphics; #endif CP_NAMESPACE_BEGIN cSpace * cSpace::New() { return cpNew( cSpace, () ); } void cSp...
28.18238
146
0.709992
[ "shape" ]
68bd6c71f18c594fba89124991e7e34316fbe7a7
4,597
cpp
C++
UFORun/Classes/OpponentUpdate.cpp
centrallydecentralized/ufo
29e8f9ce4ce92635ed22f8a051c917cfe6e0313d
[ "BSD-3-Clause" ]
58
2015-01-05T04:40:48.000Z
2021-12-17T06:01:28.000Z
UFORun/Classes/OpponentUpdate.cpp
centrallydecentralized/ufo
29e8f9ce4ce92635ed22f8a051c917cfe6e0313d
[ "BSD-3-Clause" ]
null
null
null
UFORun/Classes/OpponentUpdate.cpp
centrallydecentralized/ufo
29e8f9ce4ce92635ed22f8a051c917cfe6e0313d
[ "BSD-3-Clause" ]
46
2015-01-03T06:20:54.000Z
2020-04-18T13:32:52.000Z
// // Nextpeer Sample for Cocos2d-X // http://www.nextpeer.com // // Created by Nextpeer development team. // Copyright (c) 2014 Innobell, Ltd. All rights reserved. // #include "OpponentUpdate.h" #include "ViewPort.h" #include "Box2D.h" OpponentUpdate::OpponentUpdate() { } MultiplayerMessageType OpponentUpdate::g...
32.373239
138
0.682184
[ "vector" ]
68cea9c296fa9fc98798e3c120cfa5875adf1a98
382
cpp
C++
src/question461.cpp
lxb1226/leetcode_cpp
554280de6be2a77e2fe41a5e77cdd0f884ac2e20
[ "MIT" ]
null
null
null
src/question461.cpp
lxb1226/leetcode_cpp
554280de6be2a77e2fe41a5e77cdd0f884ac2e20
[ "MIT" ]
null
null
null
src/question461.cpp
lxb1226/leetcode_cpp
554280de6be2a77e2fe41a5e77cdd0f884ac2e20
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int hammingDistance(int x, int y) { int s = x ^ y, ret = 0; while(s){ ret += s & 1; s >>= 1; } return ret; } }; int main(){ int x = 1, y = 4; Solution su; a...
15.916667
40
0.479058
[ "vector" ]
68d1140fd5d2b6ed4b04ef85b41dafdf79b8acaa
8,862
cpp
C++
middleware/http/source/outbound/handle.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
null
null
null
middleware/http/source/outbound/handle.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
null
null
null
middleware/http/source/outbound/handle.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
1
2022-02-21T18:30:25.000Z
2022-02-21T18:30:25.000Z
//! //! Copyright (c) 2021, The casual project //! //! This software is licensed under the MIT license, https://opensource.org/licenses/MIT //! #include "http/outbound/handle.h" #include "http/outbound/request.h" #include "http/common.h" #include "domain/message/discovery.h" #include "common/communication/instance....
43.229268
172
0.474385
[ "transform" ]
68e9a482c24fabec4caff6f853fd53fcbac56edd
1,061
cpp
C++
Codeforces/Contest 1629/C.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
1
2021-09-14T11:25:21.000Z
2021-09-14T11:25:21.000Z
Codeforces/Contest 1629/C.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
null
null
null
Codeforces/Contest 1629/C.cpp
Sansiff/Coding-Practice
b76f5a403c478abedc7bf22acb314b6cebb538ea
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define int long long #define lowbit(x) (x&-x) #define rep(i, l, r) for(int i = l; i < r; i ++) #define all(x) (x).begin(),(x).end() #define fi first #define se second using namespace std; typedef long long LL; typedef pair<int,int> PII; typedef vector<int> VI; typedef vector<vector<int>> VII; ...
23.577778
50
0.457116
[ "vector" ]
68f41a866de91e5361e78ab5346720fa46bdf765
1,216
cpp
C++
src/Stages/ProjectileMaker.cpp
lucashflores/jogo-tecprog
21b114f21b933247a321e17905338a4f51620d2a
[ "MIT" ]
null
null
null
src/Stages/ProjectileMaker.cpp
lucashflores/jogo-tecprog
21b114f21b933247a321e17905338a4f51620d2a
[ "MIT" ]
null
null
null
src/Stages/ProjectileMaker.cpp
lucashflores/jogo-tecprog
21b114f21b933247a321e17905338a4f51620d2a
[ "MIT" ]
null
null
null
#include "Stages/ProjectileMaker.h" using namespace Stages; ProjectileMaker::ProjectileMaker() { } ProjectileMaker::ProjectileMaker(EntityList* pEL) { if (pEL) entityList = pEL; } ProjectileMaker::~ProjectileMaker() { if (entityList) entityList = NULL; } void ProjectileMaker::makeProjectile...
27.636364
106
0.71875
[ "vector" ]
190495b7aabf468a3a410bb7016f1ceec1f1d2b8
5,724
cc
C++
omaha/goopdate/app_command_model.cc
r3yn0ld4/omaha
05eeb606c433b7d0622dc95a10afd0c8d7af11b6
[ "Apache-2.0" ]
1,975
2015-07-03T07:00:50.000Z
2022-03-31T20:04:04.000Z
omaha/goopdate/app_command_model.cc
rodriguez74745/omaha
a244aea380b48fc488a0555c3fa51a2e03677557
[ "Apache-2.0" ]
277
2015-07-18T00:13:30.000Z
2022-03-31T22:18:39.000Z
omaha/goopdate/app_command_model.cc
rodriguez74745/omaha
a244aea380b48fc488a0555c3fa51a2e03677557
[ "Apache-2.0" ]
685
2015-07-18T11:24:49.000Z
2022-03-30T20:50:12.000Z
// Copyright 2012 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
32.896552
78
0.662474
[ "object", "vector", "model" ]
1906f1d4b1b20cb2bbcb4d823dc5e5a453850f5d
1,416
cpp
C++
src/Base/Dialog.cpp
roto5296/choreonoid
ffe12df8db71e32aea18833afb80dffc42c373d0
[ "MIT" ]
66
2020-03-11T14:06:01.000Z
2022-03-23T23:18:27.000Z
src/Base/Dialog.cpp
roto5296/choreonoid
ffe12df8db71e32aea18833afb80dffc42c373d0
[ "MIT" ]
12
2020-07-23T06:13:11.000Z
2022-01-13T14:25:01.000Z
src/Base/Dialog.cpp
roto5296/choreonoid
ffe12df8db71e32aea18833afb80dffc42c373d0
[ "MIT" ]
18
2020-07-17T15:57:54.000Z
2022-03-29T13:18:59.000Z
/** @author Shin'ichiro Nakaoka */ #include "Dialog.h" #include "MainWindow.h" using namespace cnoid; /** This constructor sets MainWindwo::instance() to the parent widget of this dialog */ Dialog::Dialog() : QDialog(MainWindow::instance()) { #if defined(__APPLE__) && defined(__MACH__) // This is neede...
18.153846
83
0.652542
[ "geometry" ]
1912544dfdf25cdfceef423dae5c5a7bec84cd47
8,756
cpp
C++
BUS_QEV_Act.cpp
liudong206/qt_can_test
d0f50c300d689137da155d9aec059ea201dc3218
[ "Apache-2.0" ]
null
null
null
BUS_QEV_Act.cpp
liudong206/qt_can_test
d0f50c300d689137da155d9aec059ea201dc3218
[ "Apache-2.0" ]
null
null
null
BUS_QEV_Act.cpp
liudong206/qt_can_test
d0f50c300d689137da155d9aec059ea201dc3218
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "BUS_QEV_Act.h" #include <unistd.h> #include <stdio.h> #include <sys/time.h> #include <stdlib.h> namespace vehicle { namespace qev { void vehicle_acticvity::VehicleParsingFunc(uint64_t InstanceId) { struct timeval ctime; CAN_Data_Assignment(ECUTempDate); #if 1 thread t(key_cont...
34.203125
196
0.600274
[ "vector" ]
191bcab62be362c03658b9f31d724241aa9c6c7b
1,781
cxx
C++
StRoot/StSpinPool/StTriggerFilterMaker/StTriggerFilterMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StSpinPool/StTriggerFilterMaker/StTriggerFilterMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StSpinPool/StTriggerFilterMaker/StTriggerFilterMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
// $Id: StTriggerFilterMaker.cxx,v 1.2 2015/09/09 20:29:39 akio Exp $ #include "StTriggerFilterMaker.h" #include "StMuDSTMaker/COMMON/StMuDst.h" #include "StMuDSTMaker/COMMON/StMuEvent.h" ClassImp(StTriggerFilterMaker) StTriggerFilterMaker::StTriggerFilterMaker(const char *name) : StMaker(name), mPrint(0) { } StTri...
32.981481
94
0.614823
[ "vector" ]
192496a3bc61b443bf2786a4065d06ade2831e54
846
cc
C++
day05/main.cc
thorstel/Advent-of-Code-2020
8b183d904f94b0cdc93524ae8e7cf3dcf72da0f1
[ "MIT" ]
6
2020-12-03T14:56:06.000Z
2021-11-28T11:48:44.000Z
day05/main.cc
thorstel/Advent-of-Code-2020
8b183d904f94b0cdc93524ae8e7cf3dcf72da0f1
[ "MIT" ]
null
null
null
day05/main.cc
thorstel/Advent-of-Code-2020
8b183d904f94b0cdc93524ae8e7cf3dcf72da0f1
[ "MIT" ]
1
2020-12-05T21:27:56.000Z
2020-12-05T21:27:56.000Z
#include <bits/stdc++.h> using namespace std; using ll = long long; int main() { string pass; vector<ll> ids; while (cin >> pass) { ll r1 = 0, r2 = 127; for (auto i = 0; i < 7; ++i) { if (pass[i] == 'F') { r2 -= ((r2 - r1 + 1) / 2); } else { assert(pass[i] == 'B'); r1 += ((r2 - r1 + 1) / 2); ...
18
54
0.432624
[ "vector" ]
1929bcf4862aa6cac2b48d68c5e1218cab84cecd
32,667
cpp
C++
src/animation/animation_system.cpp
OndraVoves/LumixEngine
b7040d7a5b9dc1c6bc78e5e6d9b33b7f585c435f
[ "MIT" ]
null
null
null
src/animation/animation_system.cpp
OndraVoves/LumixEngine
b7040d7a5b9dc1c6bc78e5e6d9b33b7f585c435f
[ "MIT" ]
null
null
null
src/animation/animation_system.cpp
OndraVoves/LumixEngine
b7040d7a5b9dc1c6bc78e5e6d9b33b7f585c435f
[ "MIT" ]
null
null
null
#include "animation_system.h" #include "animation/animation.h" #include "animation/controller.h" #include "animation/events.h" #include "engine/base_proxy_allocator.h" #include "engine/blob.h" #include "engine/crc32.h" #include "engine/engine.h" #include "engine/json_serializer.h" #include "engine/lua_wrapper.h" #incl...
28.580052
161
0.731105
[ "model", "transform" ]
1931cccc2257fcc9489c3394be698f1abaae4de1
3,560
cpp
C++
answers/98/ans.cpp
yumaokao/leetcpp
440296f8639673bb5b8f33ee8764f25bb7fc75db
[ "MIT" ]
null
null
null
answers/98/ans.cpp
yumaokao/leetcpp
440296f8639673bb5b8f33ee8764f25bb7fc75db
[ "MIT" ]
null
null
null
answers/98/ans.cpp
yumaokao/leetcpp
440296f8639673bb5b8f33ee8764f25bb7fc75db
[ "MIT" ]
null
null
null
#include <string> #include <climits> #include <iostream> #include <vector> #include <queue> using namespace std; /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ struct Tr...
23.267974
76
0.579494
[ "vector" ]
1932d038cd9415e14b0cb713fe5feb188882c9f9
11,643
cpp
C++
video/opengl/libretro_test_gl_compute_shaders/gl/mesh.cpp
jimbo00000/libretro-samples
7418a585efd24c6506ca5f09f90c36268f0074ed
[ "MIT" ]
58
2016-09-12T06:14:09.000Z
2022-03-27T06:16:56.000Z
video/opengl/libretro_test_gl_compute_shaders/gl/mesh.cpp
jimbo00000/libretro-samples
7418a585efd24c6506ca5f09f90c36268f0074ed
[ "MIT" ]
9
2016-09-12T05:00:23.000Z
2021-05-14T18:38:51.000Z
video/opengl/libretro_test_gl_compute_shaders/gl/mesh.cpp
jimbo00000/libretro-samples
7418a585efd24c6506ca5f09f90c36268f0074ed
[ "MIT" ]
39
2016-09-04T17:43:59.000Z
2021-07-07T05:35:19.000Z
#include "mesh.hpp" #include "shader.hpp" #include <set> using namespace std; using namespace glm; namespace GL { template<typename T> inline T parse_line(const string& data); template<> inline vec2 parse_line(const string& data) { float x = 0, y = 0; vector<string> split = String::split(d...
28.60688
95
0.488019
[ "mesh", "vector" ]
1936230135540216cf3efdd70e1289daee38f592
26,496
hpp
C++
include/eagine/msgbus/posix_mqueue.hpp
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
1
2021-07-18T10:17:10.000Z
2021-07-18T10:17:10.000Z
include/eagine/msgbus/posix_mqueue.hpp
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
null
null
null
include/eagine/msgbus/posix_mqueue.hpp
matus-chochlik/eagine-msgbus
1672be9db227e918b17792e01d8a45ac58954181
[ "BSL-1.0" ]
1
2021-06-25T07:15:10.000Z
2021-06-25T07:15:10.000Z
/// @file /// /// Copyright 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 /// #ifndef EAGINE_MSGBUS_POSIX_MQUEUE_HPP #define EAGINE_MSGBUS_POSIX_MQUEUE_HPP #include "conn_factory.hpp" #inclu...
34.012837
87
0.585145
[ "object" ]
193cd06ed37b7f12d8e7baf2d873390f7982236a
2,641
cpp
C++
SFML_RPG/src/Game.cpp
realjf/SFML_RPG
51fe895d3e3c75f26fe45c7b3ba145fd3112b212
[ "Apache-2.0" ]
null
null
null
SFML_RPG/src/Game.cpp
realjf/SFML_RPG
51fe895d3e3c75f26fe45c7b3ba145fd3112b212
[ "Apache-2.0" ]
null
null
null
SFML_RPG/src/Game.cpp
realjf/SFML_RPG
51fe895d3e3c75f26fe45c7b3ba145fd3112b212
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "Game.h" // static functions // init functions // constructor/destructor Game::Game() { initVariables(); initGraphicsSettings(); initWindow(); initKeys(); initStateData(); initStates(); } Game::~Game() { delete m_Window; while (!m_States.empty()) { delete m_States.top(); m...
16.302469
158
0.671337
[ "render" ]
1943704ac0e6c245f005c04d47b5f29fdc6fb5e9
1,733
cpp
C++
PolyRender/Auto.cpp
pauldoo/scratch
1c8703d8b8e5cc5a026bfd5f0b036b9632faf161
[ "0BSD" ]
null
null
null
PolyRender/Auto.cpp
pauldoo/scratch
1c8703d8b8e5cc5a026bfd5f0b036b9632faf161
[ "0BSD" ]
4
2021-08-31T22:03:39.000Z
2022-02-19T07:12:05.000Z
PolyRender/Auto.cpp
pauldoo/scratch
1c8703d8b8e5cc5a026bfd5f0b036b9632faf161
[ "0BSD" ]
1
2022-02-23T13:46:49.000Z
2022-02-23T13:46:49.000Z
#include "stdafx.h" #include "AutoDeclarations.h" #include "Auto.h" #include "Utilities.h" #include "DestructionAsserter.h" #include "LinkCount.h" #include "ColorSolid.h" #include "TextureMap.h" #include "Intersect.h" #include "BumpMap.h" #include "World.h" #include "RenderInfo.h" #include "RenderMask.h...
21.395062
48
0.704559
[ "solid" ]
194527e9b9d492f3b7699a0e10e4c671a8942e00
3,138
cc
C++
components/service/ucloud/live/src/model/DescribeMixStreamListRequest.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
components/service/ucloud/live/src/model/DescribeMixStreamListRequest.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
components/service/ucloud/live/src/model/DescribeMixStreamListRequest.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "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...
24.325581
82
0.757808
[ "model" ]
194548acf18b4a32cc47f41b0101a6156aa30c39
7,287
cc
C++
src/animation/offline/collada/collada.cc
nstokes2/ozz-animation
0b9a1c90398dbc8dc11394fbc93720159db19cc9
[ "Zlib" ]
null
null
null
src/animation/offline/collada/collada.cc
nstokes2/ozz-animation
0b9a1c90398dbc8dc11394fbc93720159db19cc9
[ "Zlib" ]
null
null
null
src/animation/offline/collada/collada.cc
nstokes2/ozz-animation
0b9a1c90398dbc8dc11394fbc93720159db19cc9
[ "Zlib" ]
null
null
null
//============================================================================// // // // ozz-animation, 3d skeletal animation libraries and tools. // // https://code.google.com/p/ozz-animation/ ...
35.033654
80
0.543571
[ "3d" ]
194a1c093c5512830519d290e2553702349fa132
2,600
cc
C++
code/render/visibility/visibilitysortjob.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
code/render/visibility/visibilitysortjob.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
code/render/visibility/visibilitysortjob.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
//------------------------------------------------------------------------------ // visibilitysortjob.cc // (C) 2018-2020 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "render/stdneb.h" #include "jobs/jobs.h" #include "visibilitycon...
32.5
118
0.641154
[ "render", "model" ]
194d3002b879312f2270841b0bb9ac8722341679
3,396
cxx
C++
smtk/bridge/cgm/ImportSolid.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
smtk/bridge/cgm/ImportSolid.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
smtk/bridge/cgm/ImportSolid.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
//========================================================================= // 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...
31.444444
110
0.662839
[ "model" ]
1958e4557f9dcc9ecb9eae395b7b51e1afb964ea
3,192
hpp
C++
yprocessing.hpp
frenchraccoon/whyparser
5e8211a2d2e81b79041ff7784fac1b851a5dd533
[ "BSD-2-Clause" ]
null
null
null
yprocessing.hpp
frenchraccoon/whyparser
5e8211a2d2e81b79041ff7784fac1b851a5dd533
[ "BSD-2-Clause" ]
null
null
null
yprocessing.hpp
frenchraccoon/whyparser
5e8211a2d2e81b79041ff7784fac1b851a5dd533
[ "BSD-2-Clause" ]
null
null
null
/** * YCombinator Main Parser Logic. * Specialization of mapped records parser to extract hacker news logs stats * Copyright (C) 2018 Xavier Roche (http://www.httrack.com/) * All rights reserved. * License: http://opensource.org/licenses/BSD-2-Clause **/ #ifndef RX_YPROCESSING_HPP #define RX_YPROCESSING_HPP #in...
24.181818
93
0.681078
[ "vector" ]
1968992a1b47b9e685b7b137848df8fb5b717f9b
3,138
cpp
C++
src/sensor_factory.cpp
trazfr/alarm
ea511eb0f16945de2005d828f452c76fce9d77e7
[ "MIT" ]
null
null
null
src/sensor_factory.cpp
trazfr/alarm
ea511eb0f16945de2005d828f452c76fce9d77e7
[ "MIT" ]
null
null
null
src/sensor_factory.cpp
trazfr/alarm
ea511eb0f16945de2005d828f452c76fce9d77e7
[ "MIT" ]
null
null
null
#include "sensor_factory.hpp" #include "sensor.hpp" #include "sensor_iio.hpp" #include "sensor_thermal.hpp" #include <algorithm> #include <cstring> #include <numeric> #include <ostream> #include <vector> namespace { constexpr size_t sumSize() { return 0; } template <typename... Params> size_t sumSize(const std:...
24.904762
128
0.632887
[ "vector" ]
196934035c0a285c4173203be609e7b225d1dd11
3,869
cpp
C++
test/src/tracking/multi_tracker_test.cpp
PPokorski/laser_object_tracker
bc967459218b417c7e0e97603464e77f110e25ef
[ "BSD-3-Clause" ]
14
2019-08-05T04:00:58.000Z
2022-03-24T02:15:23.000Z
test/src/tracking/multi_tracker_test.cpp
PPokorski/laser_object_tracker
bc967459218b417c7e0e97603464e77f110e25ef
[ "BSD-3-Clause" ]
null
null
null
test/src/tracking/multi_tracker_test.cpp
PPokorski/laser_object_tracker
bc967459218b417c7e0e97603464e77f110e25ef
[ "BSD-3-Clause" ]
5
2020-03-11T12:09:45.000Z
2021-11-09T12:33:32.000Z
/********************************************************************* * * BSD 3-Clause License * * Copyright (c) 2019, Piotr Pokorski * 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. R...
43.47191
114
0.719307
[ "vector" ]
19732c52b4579e68c2a56c59e020c9fb7906fabc
4,062
cpp
C++
tests/io_test.cpp
gnieradk/oneSolver
cd04c51ac3e63e7e091acb496c2f568410a0af56
[ "MIT" ]
1
2021-09-30T13:27:38.000Z
2021-09-30T13:27:38.000Z
tests/io_test.cpp
gnieradk/oneSolver
cd04c51ac3e63e7e091acb496c2f568410a0af56
[ "MIT" ]
null
null
null
tests/io_test.cpp
gnieradk/oneSolver
cd04c51ac3e63e7e091acb496c2f568410a0af56
[ "MIT" ]
5
2020-12-23T12:36:41.000Z
2022-02-21T08:35:16.000Z
/*! file io_test.cpp * * @copyright Licensed under MIT license by hyperQ – Ewa Hendzel * */ #include "model/qubo.hpp" #include "model/solution.hpp" #include <boost/test/data/test_case.hpp> #include <boost/test/unit_test.hpp> #include <sstream> const std::string qubo_file_contents("c qubo Target MaxNodes NumNod...
33.570248
80
0.590596
[ "model" ]
197f2ec0a22d0f5e51b6ef23061b6e67b3d7fd2f
831
cpp
C++
solutions/604.design-compressed-string-iterator.326214775.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/604.design-compressed-string-iterator.326214775.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/604.design-compressed-string-iterator.326214775.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class StringIterator { string s; int i; char c = ' '; int count = 0; public: StringIterator(string compressedString) : s(compressedString), i(0) { _set(); } void _set() { if (count > 0) return; if (i >= s.size()) { c = ' '; return; } while (count == 0 && i < s.si...
16.62
71
0.499398
[ "object" ]
198038b3e332094f60bd6deae39334be08c696fa
990
hh
C++
geometry/spatial/interpolator.hh
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2019-04-14T11:40:28.000Z
2019-04-14T11:40:28.000Z
geometry/spatial/interpolator.hh
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
5
2018-04-18T13:54:29.000Z
2019-08-22T20:04:17.000Z
geometry/spatial/interpolator.hh
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2018-12-24T03:45:47.000Z
2018-12-24T03:45:47.000Z
#pragma once #include "eigen.hh" #include "util/optional.hh" namespace geometry { namespace spatial { struct ControlPoint { double parameter; jcc::Vec3 value; }; // Return a sorted vector of control points std::vector<ControlPoint> sort_control_points(const std::vector<ControlPoint>& points); class Interpolato...
24.146341
87
0.739394
[ "geometry", "vector" ]
19810fb90f35011ebfa83c8d1030009eac8b3ef0
1,750
cpp
C++
src/editor/AssetListRequest.cpp
CronosTs/phobos3d
c0336456d946f3a9e62fb9b7815831ad32820da5
[ "Zlib" ]
2
2015-01-14T20:20:51.000Z
2015-09-08T15:49:18.000Z
src/editor/AssetListRequest.cpp
CronosTs/phobos3d
c0336456d946f3a9e62fb9b7815831ad32820da5
[ "Zlib" ]
null
null
null
src/editor/AssetListRequest.cpp
CronosTs/phobos3d
c0336456d946f3a9e62fb9b7815831ad32820da5
[ "Zlib" ]
1
2015-11-03T13:58:58.000Z
2015-11-03T13:58:58.000Z
#include "Phobos/Editor/AssetListRequest.h" #include "Phobos/Editor/RequestFactory.h" #include <Phobos/Register/Hive.h> #include <Phobos/Register/Manager.h> #include <Phobos/Register/Table.h> #include <Phobos/Game/Things/Keys.h> #include <OgreResourceGroupManager.h> #include <JsonCreator/Object.h> #include <JsonCr...
25
127
0.700571
[ "mesh", "object" ]
1981bc852cea40614fa23740dcf4f5abbcd42d31
4,826
cpp
C++
src/gamebase/src/impl/tools/ObjectsSelector.cpp
TheMrButcher/opengl_lessons
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
1
2016-10-25T21:15:16.000Z
2016-10-25T21:15:16.000Z
src/gamebase/src/impl/tools/ObjectsSelector.cpp
TheMrButcher/gamebase
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
375
2016-06-04T11:27:40.000Z
2019-04-14T17:11:09.000Z
src/gamebase/src/impl/tools/ObjectsSelector.cpp
TheMrButcher/gamebase
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
null
null
null
/** * Copyright (c) 2018 Slavnejshev Filipp * This file is licensed under the terms of the MIT license. */ #include <stdafx.h> #include <gamebase/impl/tools/ObjectsSelector.h> #include <gamebase/impl/serial/ISerializer.h> #include <gamebase/impl/serial/IDeserializer.h> namespace gamebase { namespace impl { Object...
28.72619
91
0.67385
[ "object", "transform" ]
19880551637b7754310f96a02ed815573cd10949
3,958
cc
C++
feature-lines.cc
GaryRay/mallie
8588a98efff2d9c143cc361dedb1303e4452453c
[ "Zlib" ]
null
null
null
feature-lines.cc
GaryRay/mallie
8588a98efff2d9c143cc361dedb1303e4452453c
[ "Zlib" ]
null
null
null
feature-lines.cc
GaryRay/mallie
8588a98efff2d9c143cc361dedb1303e4452453c
[ "Zlib" ]
null
null
null
#include "feature-lines.h" #ifdef _MSC_VER #define _USE_MATH_DEFINES #endif #include <cmath> #include <cstring> #include <cstdio> #include <algorithm> #include <vector> #include "common.h" using namespace mallie; typedef struct { float x; float y; } Point; static inline int clamp(float x, int w) { int i = (i...
28.47482
80
0.505306
[ "vector" ]
198c5379ce4cf13c75e50fdeea99c2e5172034ff
642
cpp
C++
contest/yukicoder/168.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/yukicoder/168.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/yukicoder/168.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "container/union_find.hpp" #include "math.hpp" int main() { int n(in); Vector<Tuple<int64_t, int64_t>> p(n, in); Vector<Tuple<int64_t, int, int>> dis; for (int i = 0; i < n; ++i) { for (int j = 0; j < n; ++j) { auto nrm = norm(p[i].get<0>(), p[i].get<1>(), p[j].get<0>(), p[j].get<1...
24.692308
75
0.490654
[ "vector" ]
198cb56a3280649267b6c6f85882177c809db857
4,126
cpp
C++
Sources/Internal/Base/FixedSizePoolAllocator.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Sources/Internal/Base/FixedSizePoolAllocator.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/Base/FixedSizePoolAllocator.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "Base/FixedSizePoolAllocator.h" #include "Base/TemplateHelpers.h" #if defined(__DAVAENGINE_MACOS__) || defined(__DAVAENGINE_IPHONE__) #include <stdlib.h> #endif #include <cstdlib> namespace DAVA { FixedSizePoolAllocator::FixedSizePoolAllocator(uint32 _blockSize, uint32 _blockArraySize) { DVASSERT(_blockS...
27.324503
153
0.6762
[ "object" ]