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
c0c57e7b9aa81e7b7b64a21952ddb9edc5c10a23
2,832
cpp
C++
src/Rips_complex/example/example_rips_complex_from_csv_distance_matrix_file.cpp
m0baxter/gudhi-devel
6e14ef1f31e09f3875316440303450ff870d9881
[ "MIT" ]
146
2019-03-15T14:10:31.000Z
2022-03-23T21:14:52.000Z
src/Rips_complex/example/example_rips_complex_from_csv_distance_matrix_file.cpp
m0baxter/gudhi-devel
6e14ef1f31e09f3875316440303450ff870d9881
[ "MIT" ]
398
2019-03-07T14:55:22.000Z
2022-03-31T14:50:40.000Z
src/Rips_complex/example/example_rips_complex_from_csv_distance_matrix_file.cpp
m0baxter/gudhi-devel
6e14ef1f31e09f3875316440303450ff870d9881
[ "MIT" ]
51
2019-03-08T15:58:48.000Z
2022-03-14T10:23:23.000Z
#include <gudhi/Rips_complex.h> // to construct Rips_complex from a csv file representing a distance matrix #include <gudhi/reader_utils.h> #include <gudhi/Simplex_tree.h> #include <gudhi/distance_functions.h> #include <iostream> #include <string> #include <vector> void usage(int nbArgs, char * const progName) { st...
38.794521
116
0.59322
[ "vector" ]
c0c99e1e379ffc2c6be8ebbcad0ee26596375756
3,709
cpp
C++
Spoj/Spoj_AC/MKTHNUM - K-th Number.cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
3
2018-05-11T07:33:20.000Z
2020-08-30T11:02:02.000Z
Spoj/Spoj_AC/MKTHNUM - K-th Number.cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
1
2018-05-11T18:10:26.000Z
2018-05-12T18:00:28.000Z
Spoj/Spoj_AC/MKTHNUM - K-th Number.cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
null
null
null
/*************************************************** * Problem Name : MKTHNUM - K-th Number.cpp * Problem Link : https://www.spoj.com/problems/MKTHNUM/ * OJ : Spoj * Verdict : AC * Date : 2019-03-07 * Problem Type : Segment Tree * Author Name : Saikat Sharma * University : CSE, MBSTU ...
24.726667
109
0.508223
[ "vector" ]
c0cc57ceb6c1759a05d121beadedbf95949c8058
1,193
cpp
C++
Algorithms/1293.Shortest_Path_in_a_Grid_with_Obstacles_Elimination.cpp
metehkaya/LeetCode
52f4a1497758c6f996d515ced151e8783ae4d4d2
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/LeetCode/Problems/1293.Shortest_Path_in_a_Grid_with_Obstacles_Elimination.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/LeetCode/Problems/1293.Shortest_Path_in_a_Grid_with_Obstacles_Elimination.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
#define fi first #define se second typedef pair<int,int> pi; typedef pair<pi,int> pii; class Solution { public: const int DIR[4][2] = {{0,1},{0,-1},{1,0},{-1,0}}; int shortestPath(vector<vector<int>>& ar, int k) { int n = ar.size(); int m = ar[0].size(); queue<pii> Q; int dist[n...
29.097561
54
0.360436
[ "vector" ]
c0d42980b44e96e5d2a1686db824b91913d91cf0
46,421
cpp
C++
src/eng/ldtran.cpp
onecoolx/xpoly
0476208738795f7c23ea4b701e03ee7cd6d33e10
[ "BSD-3-Clause" ]
21
2015-02-01T11:28:39.000Z
2021-11-12T06:44:53.000Z
src/eng/ldtran.cpp
onecoolx/xpoly
0476208738795f7c23ea4b701e03ee7cd6d33e10
[ "BSD-3-Clause" ]
1
2016-02-19T03:21:39.000Z
2017-02-13T03:11:21.000Z
src/eng/ldtran.cpp
onecoolx/xpoly
0476208738795f7c23ea4b701e03ee7cd6d33e10
[ "BSD-3-Clause" ]
8
2015-03-02T11:09:25.000Z
2021-12-09T06:10:44.000Z
/*@ Copyright (c) 2013-2014, Su Zhenyu steven.known@gmail.com 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...
29.699936
81
0.527218
[ "vector", "model", "transform" ]
c0d7abd35f09f032d0a92c70b49d9f8a0b1a71c3
13,794
cpp
C++
OpenTESArena/src/Assets/MIFFile.cpp
faha223/OpenTESArena
ae8f704bd4d10a478aef890b26903bee1f5dd01f
[ "MIT" ]
null
null
null
OpenTESArena/src/Assets/MIFFile.cpp
faha223/OpenTESArena
ae8f704bd4d10a478aef890b26903bee1f5dd01f
[ "MIT" ]
null
null
null
OpenTESArena/src/Assets/MIFFile.cpp
faha223/OpenTESArena
ae8f704bd4d10a478aef890b26903bee1f5dd01f
[ "MIT" ]
null
null
null
#include <algorithm> #include <tuple> #include <unordered_map> #include "Compression.h" #include "MIFFile.h" #include "components/debug/Debug.h" #include "components/utilities/Bytes.h" #include "components/vfs/manager.hpp" namespace { const std::string Tag_FLAT = "FLAT"; const std::string Tag_FLOR = "FLOR"; const...
29.986957
110
0.710889
[ "vector" ]
c0d81ac0d8559d4a8b5b429ea31a1cfb356bddd2
263
cpp
C++
Sandbox/src/Game/Items/Item.cpp
Benner727/SquareRPG
9333ff8417cf1bb74e215ab671554b9708551b64
[ "Apache-2.0" ]
null
null
null
Sandbox/src/Game/Items/Item.cpp
Benner727/SquareRPG
9333ff8417cf1bb74e215ab671554b9708551b64
[ "Apache-2.0" ]
2
2020-05-15T22:20:54.000Z
2020-05-24T06:49:52.000Z
Sandbox/src/Game/Items/Item.cpp
Benner727/SquareRPG
9333ff8417cf1bb74e215ab671554b9708551b64
[ "Apache-2.0" ]
null
null
null
#include "Game/Items/Item.h" Item::Item(int index, int amount) { mIndex = index; mAmount = amount; mSprite = nullptr; mItemDefinition = nullptr; } Item::~Item() { delete mSprite; } void Item::Render(bool ignoreCamera) { mSprite->Render(ignoreCamera); }
12.52381
36
0.692015
[ "render" ]
c0dba174f4b9e87769e19e3b446d2f9f4e661597
8,508
cpp
C++
experimental/graphite/src/UploadTask.cpp
twinsunllc/skia
8318cc9928ef12577f249f49250dd94ee2bc1d28
[ "BSD-3-Clause" ]
null
null
null
experimental/graphite/src/UploadTask.cpp
twinsunllc/skia
8318cc9928ef12577f249f49250dd94ee2bc1d28
[ "BSD-3-Clause" ]
null
null
null
experimental/graphite/src/UploadTask.cpp
twinsunllc/skia
8318cc9928ef12577f249f49250dd94ee2bc1d28
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2022 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "experimental/graphite/src/UploadTask.h" #include "experimental/graphite/include/Recorder.h" #include "experimental/graphite/src/Buffer.h" #include "experimental/grap...
40.132075
100
0.615656
[ "vector" ]
c0df11cf6a1f998de673d8ca298b1c97eff0232d
1,538
cpp
C++
leetcode/15.3sum/15.3Sum_henrytine.cpp
henrytien/AlgorithmSolutions
62339269f4fa698ddd2e73458caef875af05af8f
[ "MIT" ]
15
2020-06-27T03:28:39.000Z
2021-08-13T10:42:24.000Z
leetcode/15.3sum/15.3Sum_henrytine.cpp
henrytien/AlgorithmSolutions
62339269f4fa698ddd2e73458caef875af05af8f
[ "MIT" ]
40
2020-06-27T03:29:53.000Z
2020-11-05T12:29:49.000Z
leetcode/15.3sum/15.3Sum_henrytine.cpp
henrytien/AlgorithmSolutions
62339269f4fa698ddd2e73458caef875af05af8f
[ "MIT" ]
22
2020-07-16T03:23:43.000Z
2022-02-19T16:00:55.000Z
// Source : https://leetcode.com/problems/3sum/ // Author : henrytine // Date : 2020-08-17 /***************************************************************************************************** * * Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find * all unique t...
29.576923
104
0.410273
[ "vector" ]
c0e019bd44d52c9a13bfa1e16210ac3fbc33b3d8
1,733
cpp
C++
src/removeshard.cpp
vaelen/mongo-utils
5c710e62bb878f47f9cf7e1ab54236414f637ba0
[ "Apache-2.0" ]
null
null
null
src/removeshard.cpp
vaelen/mongo-utils
5c710e62bb878f47f9cf7e1ab54236414f637ba0
[ "Apache-2.0" ]
null
null
null
src/removeshard.cpp
vaelen/mongo-utils
5c710e62bb878f47f9cf7e1ab54236414f637ba0
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016 Andrew Young <andrew@vaelen.org> 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 agree...
30.946429
132
0.631852
[ "vector" ]
c0e66bce57f889a267f2c207b52440a4c144b071
1,491
cpp
C++
src/Math.cpp
Tastyep/cpp-rt
c274e86a2fe158746c6a9381c73cf55344823f4e
[ "MIT" ]
null
null
null
src/Math.cpp
Tastyep/cpp-rt
c274e86a2fe158746c6a9381c73cf55344823f4e
[ "MIT" ]
null
null
null
src/Math.cpp
Tastyep/cpp-rt
c274e86a2fe158746c6a9381c73cf55344823f4e
[ "MIT" ]
null
null
null
#include "Math.hh" #include <cmath> #include <iostream> double Math::getPositiveMin(const auto &array) const { bool set = false; double smallest; for (const auto &elem : array) { if (elem > Math::zero && (set == false || elem < smallest)) { set = true; smallest = elem; } } return smalle...
26.157895
80
0.600939
[ "vector" ]
c0ea1c0a69e7580a2d8eb62843400a15bf5af129
575
cpp
C++
libs/phoenix/example/generator2.cpp
jmuskaan72/Boost
047e36c01841a8cd6a5c74d4e3034da46e327bc1
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/phoenix/example/generator2.cpp
xiaoliang2121/Boost
fc90c3fde129c62565c023f091eddc4a7ed9902b
[ "BSL-1.0" ]
4
2015-03-19T08:23:23.000Z
2019-06-24T07:48:47.000Z
libs/phoenix/example/generator2.cpp
xiaoliang2121/Boost
fc90c3fde129c62565c023f091eddc4a7ed9902b
[ "BSL-1.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
#include <boost/phoenix.hpp> #include <boost/typeof/typeof.hpp> #include <iostream> #include <vector> #include <algorithm> int main() { using boost::phoenix::lambda; using boost::phoenix::let; using boost::phoenix::ref; using boost::phoenix::construct; using boost::phoenix::local_names::_a; using ...
17.424242
50
0.593043
[ "vector" ]
c0ec76523c44667c5e56431b34eb4ab698ff807a
20,416
cpp
C++
vegastrike/src/XMLDocument.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/XMLDocument.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
vegastrike/src/XMLDocument.cpp
Ezeer/VegaStrike_win32FR
75891b9ccbdb95e48e15d3b4a9cd977955b97d1f
[ "MIT" ]
null
null
null
#include "XMLDocument.h" #include <assert.h> #include <fstream> #include <expat.h> #include <algorithm> #define PARSING_BUFFER_SIZE 4096 namespace XMLDOM { /****************************************************************** * * * ...
30.156573
117
0.549569
[ "vector" ]
c0f119cbab8f865d5c68106eebfb4f77a302582d
4,434
inl
C++
include/tpf/math/tpf_vector.inl
UniStuttgart-VISUS/tpf
cf9327363242daff9644bc0d0e40577cdaaf97aa
[ "MIT" ]
null
null
null
include/tpf/math/tpf_vector.inl
UniStuttgart-VISUS/tpf
cf9327363242daff9644bc0d0e40577cdaaf97aa
[ "MIT" ]
1
2021-06-10T15:24:28.000Z
2021-06-10T15:24:28.000Z
include/tpf/math/tpf_vector.inl
UniStuttgart-VISUS/tpf
cf9327363242daff9644bc0d0e40577cdaaf97aa
[ "MIT" ]
1
2021-03-19T16:08:34.000Z
2021-03-19T16:08:34.000Z
#include "tpf_vector.h" #include "Eigen/Dense" #include <algorithm> #include <array> #include <cmath> #include <stdexcept> #include <utility> namespace tpf { namespace math { template <typename floatp_t> inline std::pair<Eigen::Matrix<floatp_t, 3, 1>, Eigen::Matrix<floatp_t, 3, 1>> orthonorma...
36.95
167
0.584123
[ "vector" ]
c0f12adb1db371f0e115e593348af0668b107b81
6,139
cpp
C++
src/test/lang/parser/var_decls_grammar_test.cpp
ludkinm/stan
c318114f875266f22c98cf0bebfff928653727cb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
src/test/lang/parser/var_decls_grammar_test.cpp
ludkinm/stan
c318114f875266f22c98cf0bebfff928653727cb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
src/test/lang/parser/var_decls_grammar_test.cpp
ludkinm/stan
c318114f875266f22c98cf0bebfff928653727cb
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <test/unit/lang/utility.hpp> TEST(langParserVarDeclsGrammarDef, addVar) { test_throws("validate_add_var_bad1", "Duplicate declaration of variable"); test_throws("validate_add_var_bad2", "Parameters or transformed parameters " "cannot be integer or integ...
36.111765
80
0.745561
[ "vector" ]
c0f1385ab1b3af1eae2d80ea5ad2bc376786e2b5
12,514
hpp
C++
Schweizer-Messer/sm_common/include/sm/serialization_macros.hpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
2,690
2015-01-07T03:50:23.000Z
2022-03-31T20:27:01.000Z
Schweizer-Messer/sm_common/include/sm/serialization_macros.hpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
481
2015-01-27T10:21:00.000Z
2022-03-31T14:02:41.000Z
Schweizer-Messer/sm_common/include/sm/serialization_macros.hpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
1,091
2015-01-26T21:21:13.000Z
2022-03-30T01:55:33.000Z
/** * @file serialization_macros.hpp * @author Simon Lynen <simon.lynen@mavt.ethz.ch> * @date Thu May 22 02:55:13 2013 * * @brief Comparison macros to facilitate checking in serialization methods. * * */ #ifndef SM_SERIALIZATION_MACROS_HPP #define SM_SERIALIZATION_MACROS_HPP #include <type_traits> #inclu...
30.975248
163
0.689148
[ "object" ]
c0f3cee2eaf7322ff2e16a850a8edcd7f80ea47f
6,289
cpp
C++
tests/obv/any/client.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
20
2019-11-13T12:31:20.000Z
2022-02-27T12:30:39.000Z
tests/obv/any/client.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
46
2019-11-15T20:40:18.000Z
2022-03-31T19:04:36.000Z
tests/obv/any/client.cpp
ClausKlein/taox11
669cfd2d0be258722c7ee32b23f2e5cb83e4520f
[ "MIT" ]
5
2019-11-12T15:00:50.000Z
2022-01-17T17:33:05.000Z
/** * @file client.cpp * @author Marcel Smit * * @brief CORBA C++11 client application * * @copyright Copyright (c) Remedy IT Expertise BV */ #include "anyC.h" #include "ace/Get_Opt.h" #include "testlib/taox11_testlog.h" const ACE_TCHAR *ior = ACE_TEXT("file://test.ior"); bool parse_args (int argc, ACE_...
26.761702
98
0.58976
[ "object" ]
c0f44fa82e5ac4ed0ace26248719470dde7113c2
17,233
cc
C++
source/pch/compat_impl.cc
funrunskypalace/greatwall_memory_trading_libs
d01931e3a85a352f644a9cef5f7f5f569fd7aed7
[ "Apache-2.0" ]
null
null
null
source/pch/compat_impl.cc
funrunskypalace/greatwall_memory_trading_libs
d01931e3a85a352f644a9cef5f7f5f569fd7aed7
[ "Apache-2.0" ]
null
null
null
source/pch/compat_impl.cc
funrunskypalace/greatwall_memory_trading_libs
d01931e3a85a352f644a9cef5f7f5f569fd7aed7
[ "Apache-2.0" ]
null
null
null
#include "pch/compat.h" #include <iterator> #if (defined WINDOWS) || (defined WIN32) #include <WinSock2.h> #include <direct.h> #else #include <dirent.h> #include <dlfcn.h> #endif #include <codecvt> #include <cctype> #include <chrono> #include <random> #include <sstream> #include <string> #include "orchid/common/util...
23.736915
85
0.556548
[ "vector", "transform" ]
c0fa4370607e4a6059b4ccd3a36270f765f2ba7b
390
cpp
C++
minicloudsky/practices/cpp_solutions/main.cpp
minicloudsky/Leetcode_Practice
ae594db57e707350238259195247392a4a2b1276
[ "MIT" ]
null
null
null
minicloudsky/practices/cpp_solutions/main.cpp
minicloudsky/Leetcode_Practice
ae594db57e707350238259195247392a4a2b1276
[ "MIT" ]
null
null
null
minicloudsky/practices/cpp_solutions/main.cpp
minicloudsky/Leetcode_Practice
ae594db57e707350238259195247392a4a2b1276
[ "MIT" ]
null
null
null
#include <iostream> #include<vector> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ using namespace std; //int main(int argc, char** argv) { // int n=100,m=100; // vector<int> nums; // vector<int> nums2{1,3,5}; // vector<int> nums3(n,2); // vector<vector<int>> dp; ...
26
100
0.658974
[ "vector" ]
c0fb75871ea975ebbd49fd95770ab635b5a39513
913
hpp
C++
rendering/window/window_glfw.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
3
2020-03-28T01:36:44.000Z
2020-06-19T23:55:08.000Z
rendering/window/window_glfw.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
rendering/window/window_glfw.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
#pragma once /** * Copyright (C) 2020 Tristan. All Rights Reserved. * This file is licensed under the BSD 2-Clause license. * See the COPYING file for licensing information. */ #include <GLFW/glfw3.h> #include "window.hpp" namespace Rendering { class WindowGLFW : public WindowBase { private: // Private Pro...
20.75
56
0.707558
[ "vector" ]
8d116cbb694ff20f44368eb3bf04fd4548ca6f5d
10,978
cpp
C++
android-extend/src/main/jni/video/src/android/video_adapter.cpp
gqjjqg/android-widget-extend
418d7df266f695a8b638ffa1095835347c266381
[ "zlib-acknowledgement" ]
133
2015-12-10T01:42:17.000Z
2021-11-09T12:09:43.000Z
android-extend/src/main/jni/video/src/android/video_adapter.cpp
gqjjqg/android-widget-extend
418d7df266f695a8b638ffa1095835347c266381
[ "zlib-acknowledgement" ]
29
2017-10-09T03:27:27.000Z
2021-03-19T08:52:08.000Z
android-extend/src/main/jni/video/src/android/video_adapter.cpp
gqjjqg/android-widget-extend
418d7df266f695a8b638ffa1095835347c266381
[ "zlib-acknowledgement" ]
52
2017-11-28T09:56:26.000Z
2022-03-23T14:26:03.000Z
//jni #include <jni.h> #include <android/log.h> #include <android/bitmap.h> //lib c #include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> #include <string.h> //system #include <fcntl.h> #include <sys/select.h> #include <linux/videodev2.h> #include "device.h" #include "logger.h" #include "image....
30.494444
103
0.667426
[ "object" ]
8d1ccad8939a603e324703f9529f015dcccfd490
15,717
cc
C++
src/vw/tools/colormap.cc
maxsu/visionworkbench
34eb3009152d3696471056e65b313d964e658ee8
[ "Apache-2.0" ]
1
2019-06-12T19:42:48.000Z
2019-06-12T19:42:48.000Z
src/vw/tools/colormap.cc
maxsu/visionworkbench
34eb3009152d3696471056e65b313d964e658ee8
[ "Apache-2.0" ]
null
null
null
src/vw/tools/colormap.cc
maxsu/visionworkbench
34eb3009152d3696471056e65b313d964e658ee8
[ "Apache-2.0" ]
null
null
null
// __BEGIN_LICENSE__ // Copyright (c) 2006-2013, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NASA Vision Workbench is licensed under the Apache License, // Version 2.0 (the "License"); you may not use this f...
41.800532
178
0.641916
[ "vector" ]
8d23a00e35814bde885bc11ffa75e4dbe6dbd3c9
66,560
cpp
C++
dev/Gems/CryLegacy/Code/Source/CryAction/PlayerProfiles/PlayerProfileManager.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
1
2019-02-06T19:12:41.000Z
2019-02-06T19:12:41.000Z
dev/Gems/CryLegacy/Code/Source/CryAction/PlayerProfiles/PlayerProfileManager.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
null
null
null
dev/Gems/CryLegacy/Code/Source/CryAction/PlayerProfiles/PlayerProfileManager.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
33.346693
204
0.59985
[ "vector" ]
8d2c909bf8933ae144c6366d98ad67eba4c4dcf3
23,747
cc
C++
base/trace_event/trace_config.cc
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
1
2018-01-27T22:40:53.000Z
2018-01-27T22:40:53.000Z
base/trace_event/trace_config.cc
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
1
2016-01-29T00:54:49.000Z
2016-01-29T00:54:49.000Z
base/trace_event/trace_config.cc
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 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 "base/trace_event/trace_config.h" #include <utility> #include "base/json/json_reader.h" #include "base/json/json_writer.h" #include "base/s...
35.443284
80
0.699667
[ "vector" ]
8d390c2c09cdd2c188c48921077c80168329bd9a
17,065
cpp
C++
Code/Tools/SceneAPI/SceneCore/Containers/SceneManifest.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Code/Tools/SceneAPI/SceneCore/Containers/SceneManifest.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Tools/SceneAPI/SceneCore/Containers/SceneManifest.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <SceneAPI/SceneCore/Containers/SceneManifest.h> #include <AzCore/Casting/numeric_cast.h> #...
46.121622
196
0.539525
[ "object", "vector", "3d" ]
8d39f9b065f02997540b3ac3323d9d8e1f4987b8
6,336
hpp
C++
libmarch/include/march/gas/Solver_decl.hpp
j8xixo12/solvcon
a8bf3a54d4b1ed91d292e0cdbcb6f2710d33d99a
[ "BSD-3-Clause" ]
16
2015-12-09T02:54:42.000Z
2021-04-20T11:26:39.000Z
libmarch/include/march/gas/Solver_decl.hpp
j8xixo12/solvcon
a8bf3a54d4b1ed91d292e0cdbcb6f2710d33d99a
[ "BSD-3-Clause" ]
95
2015-12-09T00:49:40.000Z
2022-02-14T13:34:55.000Z
libmarch/include/march/gas/Solver_decl.hpp
j8xixo12/solvcon
a8bf3a54d4b1ed91d292e0cdbcb6f2710d33d99a
[ "BSD-3-Clause" ]
13
2015-05-08T04:16:42.000Z
2021-01-15T09:28:06.000Z
#pragma once /* * Copyright (c) 2016, Yung-Yu Chen <yyc@solvcon.net> * BSD 3-Clause License, see COPYING */ #include <cstdint> #include <limits> #include <memory> #include "march/core.hpp" #include "march/mesh.hpp" #include "march/gas/Solution.hpp" namespace march { namespace gas { /** * Parameters for the C...
30.757282
115
0.676452
[ "mesh", "vector" ]
8d3b9fd80bcc72c34418dd2125a269833a0bdc7e
2,308
cpp
C++
leetcode/417.cpp
yyong119/ACM-OnlineJudge
5871993b15231c6615bfa3e7c2b04f0f6a23e9dc
[ "MIT" ]
22
2017-08-12T11:56:19.000Z
2022-03-27T10:04:31.000Z
leetcode/417.cpp
yyong119/ACM-OnlineJudge
5871993b15231c6615bfa3e7c2b04f0f6a23e9dc
[ "MIT" ]
2
2017-12-17T02:52:59.000Z
2018-02-09T02:10:43.000Z
leetcode/417.cpp
yyong119/ACM-OnlineJudge
5871993b15231c6615bfa3e7c2b04f0f6a23e9dc
[ "MIT" ]
4
2017-12-22T15:24:38.000Z
2020-05-18T14:51:16.000Z
class Solution { public: const int actions[4][2] = {{-1, 0}, {1, 0}, {0, -1}, {0, 1}}; vector<vector<int>> pacificAtlantic(vector<vector<int>>& matrix) { // init vector<vector<int>> ans; int n = matrix.size(); if (!n) return ans; int m = matrix[0].size(); if (!m) ...
33.941176
81
0.35052
[ "vector" ]
8d3d679b4f40e3e5195cf53228e7b8583b0004c5
4,619
hpp
C++
include/crocoddyl/core/solvers/ddp.hpp
Capri2014/crocoddyl
341874fbad4507d6ed4e05e18e4a9cedf5470d01
[ "BSD-3-Clause" ]
1
2020-04-25T13:17:23.000Z
2020-04-25T13:17:23.000Z
include/crocoddyl/core/solvers/ddp.hpp
Capri2014/crocoddyl
341874fbad4507d6ed4e05e18e4a9cedf5470d01
[ "BSD-3-Clause" ]
null
null
null
include/crocoddyl/core/solvers/ddp.hpp
Capri2014/crocoddyl
341874fbad4507d6ed4e05e18e4a9cedf5470d01
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2018-2020, LAAS-CNRS, University of Edinburgh // Copyright note valid unless otherwise stated in individual files. // All rights reserved. /////////////////////////////////////////////////////////...
43.990476
116
0.696038
[ "vector" ]
8d3fd86c4dda431ca0d0449fdf5102b74c6904ad
937
cpp
C++
C++/Binary Search Tree Iterator/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
2
2016-04-27T11:55:44.000Z
2017-02-06T04:15:46.000Z
C++/Binary Search Tree Iterator/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
null
null
null
C++/Binary Search Tree Iterator/main.cpp
Leobuaa/LeetCode
dc2f0fc2d0ddd38e94e71b7a3ffdb75306178a04
[ "MIT" ]
null
null
null
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class BSTIterator { public: BSTIterator(TreeNode *root) { while (root) { sta.push_back(root); ro...
20.822222
59
0.514408
[ "vector" ]
8d406540724b25dfa6a0188c53318b3cc93c804f
7,344
cpp
C++
Grid.cpp
anthonychoi98/ReverseTetris
948e2791422baa9b17ca7346c44916ba49821207
[ "MIT" ]
null
null
null
Grid.cpp
anthonychoi98/ReverseTetris
948e2791422baa9b17ca7346c44916ba49821207
[ "MIT" ]
null
null
null
Grid.cpp
anthonychoi98/ReverseTetris
948e2791422baa9b17ca7346c44916ba49821207
[ "MIT" ]
null
null
null
#include "Grid.h" #include "Rect.h" Grid::Grid() { // Grid states currentState = chillin; // deleting behavior deletingState = notDeleting; deletingRowIndex = -3; yElements = 20; xElements = 13; rectWidth = 0.14; rectHeight = 0.14; std::vector<std::vector<Rect *>> matrix; ...
25.95053
116
0.446487
[ "vector" ]
8d4259e67ad8834bda1bb0a3dc36b42f7afdead2
9,153
cpp
C++
examples/albumverify/albumverify.cpp
crf8472/libarcstk
b2c29006c7dda6476bf3e7098f51ee30675439fb
[ "MIT" ]
null
null
null
examples/albumverify/albumverify.cpp
crf8472/libarcstk
b2c29006c7dda6476bf3e7098f51ee30675439fb
[ "MIT" ]
null
null
null
examples/albumverify/albumverify.cpp
crf8472/libarcstk
b2c29006c7dda6476bf3e7098f51ee30675439fb
[ "MIT" ]
null
null
null
// // Example for matching local AccurateRip checksums against the checksums // provided by AccurateRip. // #include <algorithm> // for count #include <cstdint> // for uint32_t etc. #include <cstring> // for strtok #include <fstream> // for ifstream etc. #include <iomanip> // for setw, setfill, hex #include <i...
31.34589
81
0.668961
[ "object" ]
1d25732a15dbb4645c1117362ad842bee77c72ed
514
cpp
C++
fakeheap.cpp
W-YXN/MyNOIPProjects
0269a8385a6c8d87511236146f374f39dcdd2b82
[ "Apache-2.0" ]
null
null
null
fakeheap.cpp
W-YXN/MyNOIPProjects
0269a8385a6c8d87511236146f374f39dcdd2b82
[ "Apache-2.0" ]
null
null
null
fakeheap.cpp
W-YXN/MyNOIPProjects
0269a8385a6c8d87511236146f374f39dcdd2b82
[ "Apache-2.0" ]
1
2019-01-19T01:05:07.000Z
2019-01-19T01:05:07.000Z
#include <iostream> #include <cstdlib> #include <cmath> #include <algorithm> #include <queue> using std::cerr; using std::cin; using std::cout; using std::endl; int main(){ priority_queue<int,vector<int>,greater<int> > q; int n; cin>>n; for (int i = 0; i < n; i++) { int code; cin>>c...
17.724138
52
0.480545
[ "vector" ]
1d283af6ff07160a2c63558c34214906695137c7
6,181
cpp
C++
filesys/storman_sdcard.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
13
2018-02-26T14:56:02.000Z
2022-03-31T06:01:56.000Z
filesys/storman_sdcard.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
null
null
null
filesys/storman_sdcard.cpp
nvitya/nvcm
80b5fb2736b400a10edeecdaf24eb998dfab9759
[ "Zlib" ]
3
2020-11-04T09:15:01.000Z
2021-07-06T09:42:00.000Z
/* ----------------------------------------------------------------------------- * This file is a part of the NVCM Tests project: https://github.com/nvitya/nvcmtests * Copyright (c) 2020 Viktor Nagy, nvitya * * This software is provided 'as-is', without any express or implied warranty. * In no event will the autho...
20.265574
90
0.653778
[ "object" ]
1d2fcee1ca99de43175e72653bd357a9fbfe263d
4,839
cpp
C++
tests/test-mempools.cpp
amit1144576/Advance-Database-Systems-Memory-Pooling
2e52f8f4d983903292fe7e01f00d0845a3bdfad7
[ "MIT" ]
2
2019-06-11T14:05:58.000Z
2019-06-11T14:25:45.000Z
tests/test-mempools.cpp
RAO-29/SG-1-Memory-Pooling
2e52f8f4d983903292fe7e01f00d0845a3bdfad7
[ "MIT" ]
null
null
null
tests/test-mempools.cpp
RAO-29/SG-1-Memory-Pooling
2e52f8f4d983903292fe7e01f00d0845a3bdfad7
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <printf.h> #include <cinttypes> #include "shared/common.h" #include "shared/types.h" #include "core/mem/pool.h" //void test_mempool_none(struct pool *pool, struct pool_counters *counters) //{ // /* test alloc */ // { // pool_get_counters(counters, pool); /...
35.065217
105
0.467865
[ "vector" ]
1d34b7354950495b2a6462947643668f9d77923f
9,427
cpp
C++
MapBuilder/main.cpp
coolzoom/namigator
722a9f9e71ac5091acfad6ad53d203e1f1ffcf49
[ "MIT" ]
null
null
null
MapBuilder/main.cpp
coolzoom/namigator
722a9f9e71ac5091acfad6ad53d203e1f1ffcf49
[ "MIT" ]
null
null
null
MapBuilder/main.cpp
coolzoom/namigator
722a9f9e71ac5091acfad6ad53d203e1f1ffcf49
[ "MIT" ]
null
null
null
#include "GameObjectBVHBuilder.hpp" #include "MeshBuilder.hpp" #include "Worker.hpp" #include "parser/Adt/Adt.hpp" #include "parser/MpqManager.hpp" #include "parser/Wmo/WmoInstance.hpp" #include <chrono> #include <cstdint> #include <filesystem> #include <iomanip> #include <iostream> #include <map> #include <sstream> #...
31.740741
80
0.480959
[ "mesh", "geometry", "object", "vector", "transform" ]
1d4017d793315876f3cc79a8ac0942b391b7e29b
8,732
cc
C++
src/script_opt/CPP/DeclFunc.cc
sowmyaramapatruni/zeek
58fae227082dd09107f5389f2f054c4b6a6e1a20
[ "Apache-2.0" ]
1
2021-08-06T02:17:59.000Z
2021-08-06T02:17:59.000Z
src/script_opt/CPP/DeclFunc.cc
kevanGit/zeek
42d2a5fe05ab6c3f94bbdc36e712df2c17bda683
[ "Apache-2.0" ]
null
null
null
src/script_opt/CPP/DeclFunc.cc
kevanGit/zeek
42d2a5fe05ab6c3f94bbdc36e712df2c17bda683
[ "Apache-2.0" ]
1
2020-05-27T17:51:55.000Z
2020-05-27T17:51:55.000Z
// See the file "COPYING" in the main distribution directory for copyright. #include <errno.h> #include <unistd.h> #include <sys/stat.h> #include "zeek/script_opt/CPP/Compile.h" namespace zeek::detail { using namespace std; void CPPCompile::DeclareFunc(const FuncInfo& func) { if ( ! IsCompilable(func) ) retur...
26.867692
78
0.626432
[ "object", "vector" ]
1d5234875e5c334e6f611737b42c1972c746db0e
4,321
cpp
C++
leetcode_solutions/curated_top_100/tree/20201212_662_Maximum_Width_of_Binary_Tree_20201212.cpp
lovms/code_snippets
243d751cb2b3725e20dca1adb5b5563b64a3eed0
[ "MIT" ]
null
null
null
leetcode_solutions/curated_top_100/tree/20201212_662_Maximum_Width_of_Binary_Tree_20201212.cpp
lovms/code_snippets
243d751cb2b3725e20dca1adb5b5563b64a3eed0
[ "MIT" ]
null
null
null
leetcode_solutions/curated_top_100/tree/20201212_662_Maximum_Width_of_Binary_Tree_20201212.cpp
lovms/code_snippets
243d751cb2b3725e20dca1adb5b5563b64a3eed0
[ "MIT" ]
null
null
null
//Given a binary tree, write a function to get the maximum width of the given tree. The maximum width of a tree is the maximum width among all levels. // //The width of one level is defined as the length between the end-nodes (the leftmost and right most non-null nodes in the level, where the null nodes between the end...
22.623037
218
0.57371
[ "vector" ]
1d57b1c1c40b638aa56cead0ec55de6242d8f76c
14,466
cpp
C++
compiler/optimizations/inlineFunctions.cpp
afiuorio/chapel
22e502d12ed5aaacb4964be02a3c1faf4d98c627
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
compiler/optimizations/inlineFunctions.cpp
afiuorio/chapel
22e502d12ed5aaacb4964be02a3c1faf4d98c627
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
compiler/optimizations/inlineFunctions.cpp
afiuorio/chapel
22e502d12ed5aaacb4964be02a3c1faf4d98c627
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright 2004-2018 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is 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 * *...
34.442857
79
0.496474
[ "vector" ]
1d5a5479fa3386773815ba4ad6061e9d68a14237
2,131
cpp
C++
74.SearchA2DMatrix.cpp
mrdrivingduck/leet-code
fee008f3a62849a21ca703e05f755378996a1ff5
[ "MIT" ]
null
null
null
74.SearchA2DMatrix.cpp
mrdrivingduck/leet-code
fee008f3a62849a21ca703e05f755378996a1ff5
[ "MIT" ]
null
null
null
74.SearchA2DMatrix.cpp
mrdrivingduck/leet-code
fee008f3a62849a21ca703e05f755378996a1ff5
[ "MIT" ]
null
null
null
/** * @author Mr Dk. * @version 2021/03/30 */ /* Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right. The first integer of each row is greater than the last integer of the previou...
22.670213
84
0.51572
[ "vector" ]
1d5f8c3929f14ad0f90aec3fa39904eaa3e723b1
6,061
cxx
C++
Modules/Registration/Common/test/itkImageRegistrationMethodTest_11.cxx
rdsouza10/ITK
07cb23f9866768b5f4ee48ebec8766b6e19efc69
[ "Apache-2.0" ]
3
2019-11-19T09:47:25.000Z
2022-02-24T00:32:31.000Z
Modules/Registration/Common/test/itkImageRegistrationMethodTest_11.cxx
JamesLinus/ITK
01fb2f2a97ae7767b7835dd92b40b6cc2c82e750
[ "Apache-2.0" ]
1
2019-03-18T14:19:49.000Z
2020-01-11T13:54:33.000Z
Modules/Registration/Common/test/itkImageRegistrationMethodTest_11.cxx
JamesLinus/ITK
01fb2f2a97ae7767b7835dd92b40b6cc2c82e750
[ "Apache-2.0" ]
1
2022-02-24T00:32:36.000Z
2022-02-24T00:32:36.000Z
/*========================================================================= * * 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...
38.852564
81
0.673651
[ "transform" ]
1d60c02862a28f2ebde2a0985eb9a652b55bba7b
2,783
cpp
C++
src/genetic/gen_alg.cpp
spitefulowl/qap-solver
490e14669e0fefe048c95ee2c709c271c06a4331
[ "MIT" ]
null
null
null
src/genetic/gen_alg.cpp
spitefulowl/qap-solver
490e14669e0fefe048c95ee2c709c271c06a4331
[ "MIT" ]
null
null
null
src/genetic/gen_alg.cpp
spitefulowl/qap-solver
490e14669e0fefe048c95ee2c709c271c06a4331
[ "MIT" ]
null
null
null
#include "genetic/gen_alg.h" namespace genetic { gen_alg::gen_alg(base_generation* generation, base_crossover* crossover, base_mutation* mutation, base_selection* selection, utils::matrix_t* data_volume, utils::matrix_t* transfer_cost, std::size_t iterations, std::size_t population_size, std::size_t probability, st...
40.926471
133
0.763205
[ "vector" ]
1d6217c5fffd8efe743dd0f718963e4cc987cd9d
23,932
cpp
C++
source/loonyland/title.cpp
AutomaticFrenzy/HamSandwich
d991c840fd688cb2541806a33f152ba9aac41a1a
[ "MIT" ]
null
null
null
source/loonyland/title.cpp
AutomaticFrenzy/HamSandwich
d991c840fd688cb2541806a33f152ba9aac41a1a
[ "MIT" ]
null
null
null
source/loonyland/title.cpp
AutomaticFrenzy/HamSandwich
d991c840fd688cb2541806a33f152ba9aac41a1a
[ "MIT" ]
null
null
null
#include "title.h" #include "game.h" #include "jamulfmv.h" #include "pause.h" #include "options.h" #include "pause.h" #include "plasma.h" #include "palettes.h" #include "appdata.h" // special codes in the credits: // @ = use GirlsRWeird font // # = draw a major horizontal line // % = draw a minor horizontal line // $ ...
16.997159
104
0.596858
[ "3d" ]
1d6a7d191ea1d023826c5cb573fb8d071c3110c9
17,414
cpp
C++
admin/netui/llsmgr/ausrdlg.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/llsmgr/ausrdlg.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/llsmgr/ausrdlg.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1994-95 Microsoft Corporation Module Name: ausrdlg.cpp Abstract: Add user dialog implementation. Author: Don Ryan (donryan) 14-Feb-1995 Environment: User Mode - Win32 Revision History: Jeff Parham (jeffparh) 30-Jan-1996 o Added new eleme...
20.062212
100
0.556851
[ "object" ]
1d6bab1461ac47f9bd63abbe2fd02aa55c4657ca
9,383
cpp
C++
src/planner/match/Expand.cpp
yew1eb/nebula-graph
2c6eb04578946abfe2fb230d86c284db9ab738e3
[ "Apache-2.0" ]
null
null
null
src/planner/match/Expand.cpp
yew1eb/nebula-graph
2c6eb04578946abfe2fb230d86c284db9ab738e3
[ "Apache-2.0" ]
null
null
null
src/planner/match/Expand.cpp
yew1eb/nebula-graph
2c6eb04578946abfe2fb230d86c284db9ab738e3
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "planner/match/Expand.h" #include "planner/Logic.h" #include "planner/Query.h" #include "planner/match/MatchSo...
38.613169
98
0.613983
[ "vector" ]
1d73409a7f01c2de6aae0a2c09d6e2e65476ab06
10,474
cpp
C++
admin/admt/dommigsi/prgrnode.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/admt/dommigsi/prgrnode.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/admt/dommigsi/prgrnode.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// This node class ... #include "stdafx.h" #include "MyNodes.h" #include "DomSel.h" #include "..\Common\UString.hpp" #include "..\Common\Common.hpp" #import "\bin\NetEnum.tlb" no_namespace, named_guids // {162A41A3-405C-11d3-8AED-00A0C9AFE114} static const GUID CPruneGraftGUID_NODETYPE = { 0x162a41a3, 0x4...
28.080429
95
0.562727
[ "object" ]
1d736e84c927fcc734e22b5602c75f48430597d5
2,287
cpp
C++
aws-cpp-sdk-apigateway/source/model/CreateAuthorizerRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-apigateway/source/model/CreateAuthorizerRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-apigateway/source/model/CreateAuthorizerRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/apigateway/model/CreateAuthorizerRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::APIGateway::Model; using namespace Aws::Utils::Json;...
23.10101
113
0.763883
[ "model" ]
1d807f36d82efc04a53b668e75da0544890eb3a0
7,667
cpp
C++
src/axom/primal/tests/primal_clip.cpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
src/axom/primal/tests/primal_clip.cpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
src/axom/primal/tests/primal_clip.cpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017-2020, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) #include "gtest/gtest.h" #include "axom/primal/geometry/Point.hpp" #include "axom/primal/geometry/BoundingBox.hpp" #in...
27.778986
80
0.610278
[ "mesh", "geometry", "vector" ]
1d83f29561dfa2f28eaed6b89f8cf568d127c1d6
11,712
cpp
C++
src/gausskernel/storage/mot/core/src/memory/mm_huge_object_allocator.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
1
2021-11-05T10:14:39.000Z
2021-11-05T10:14:39.000Z
src/gausskernel/storage/mot/core/src/memory/mm_huge_object_allocator.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
null
null
null
src/gausskernel/storage/mot/core/src/memory/mm_huge_object_allocator.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
null
null
null
/* * Copyright (c) 2020 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ...
38.4
120
0.626622
[ "object" ]
1d85d9c07c8682c372fceca5b435c4677431529b
2,148
cc
C++
hackt_docker/hackt/src/Object/traits/class_traits.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/traits/class_traits.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/Object/traits/class_traits.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "Object/traits/class_traits.cc" Traits and policy classes for instances. This file used to be "Object/art_object_classification_details.cc". $Id: class_traits.cc,v 1.13 2011/04/02 01:46:07 fang Exp $ */ #include "Object/traits/instance_traits.hh" #include "Object/traits/data_traits.hh" #include "Objec...
24.409091
79
0.672253
[ "object" ]
1d8ee5ae3b81d167cec6d9838602976fb8013a20
4,322
hpp
C++
drape/batcher_helpers.hpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
2
2019-01-24T15:36:20.000Z
2019-12-26T10:03:48.000Z
drape/batcher_helpers.hpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
1
2018-03-07T15:05:23.000Z
2018-03-07T15:05:23.000Z
drape/batcher_helpers.hpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
1
2019-08-09T21:31:29.000Z
2019-08-09T21:31:29.000Z
#pragma once #include "drape/pointers.hpp" #include "std/function.hpp" #include "std/vector.hpp" namespace dp { class AttributeProvider; class BindingInfo; class BatchCallbacks { public: virtual void FlushData(BindingInfo const & binding, void const * data, uint32_t count) = 0; virtual void * GetIndexStorage(u...
27.883871
101
0.78621
[ "vector" ]
1d9406c69d6e98e5b3132bbfb6730d1fef51732d
4,144
cpp
C++
tests/test/endpoint/test_handler.cpp
faasm/faabric
0e7a32c43bf009e22b715e27ae4c58a7866c065f
[ "Apache-2.0" ]
35
2020-10-20T15:15:40.000Z
2022-03-19T15:48:38.000Z
tests/test/endpoint/test_handler.cpp
faasm/faabric
0e7a32c43bf009e22b715e27ae4c58a7866c065f
[ "Apache-2.0" ]
66
2020-10-19T13:48:13.000Z
2022-03-26T15:06:48.000Z
tests/test/endpoint/test_handler.cpp
faasm/faabric
0e7a32c43bf009e22b715e27ae4c58a7866c065f
[ "Apache-2.0" ]
6
2020-10-20T15:15:43.000Z
2021-08-20T23:59:04.000Z
#include <catch2/catch.hpp> #include "faabric_utils.h" #include <DummyExecutor.h> #include <DummyExecutorFactory.h> #include <faabric/endpoint/FaabricEndpointHandler.h> #include <faabric/scheduler/Scheduler.h> #include <faabric/util/json.h> using namespace Pistache; namespace tests { class EndpointHandlerTestFixt...
27.084967
78
0.663127
[ "vector" ]
1d944e919d7974364023bbcd585720bc0539f83c
70,021
cpp
C++
ComputerVisionThesisSolution/ScenceSimulateProj/Core/cSanResourceManager.cpp
zxyinz/ComputerVisionThesis
081cadc6b9d2b05bd42f0ff0ba9d084c1da4faa2
[ "MIT" ]
null
null
null
ComputerVisionThesisSolution/ScenceSimulateProj/Core/cSanResourceManager.cpp
zxyinz/ComputerVisionThesis
081cadc6b9d2b05bd42f0ff0ba9d084c1da4faa2
[ "MIT" ]
null
null
null
ComputerVisionThesisSolution/ScenceSimulateProj/Core/cSanResourceManager.cpp
zxyinz/ComputerVisionThesis
081cadc6b9d2b05bd42f0ff0ba9d084c1da4faa2
[ "MIT" ]
null
null
null
#include"cSanResourceManager.h" using namespace std; using namespace San; using namespace San::FileIOStream; bool cSanResourceManager::iCreateResourceManager() { if(::gloFoundVector(this->m_strName)) { return false; } this->m_bManagerLock=false; this->m_FileMatchTable.clear(); //this->m_TextureList.clear(); //...
31.712409
264
0.738436
[ "object" ]
1d97bf70c501c74e4b74a182ee132beea1422bd9
29,587
cpp
C++
Tests/Tests/VectorTests.cpp
barneydellar/SpaceTypes
da0741563de3416792e1927b9c4c84be10959aed
[ "RSA-MD" ]
7
2019-06-23T02:38:02.000Z
2021-09-08T09:19:32.000Z
Tests/Tests/VectorTests.cpp
barneydellar/SpaceTypes
da0741563de3416792e1927b9c4c84be10959aed
[ "RSA-MD" ]
12
2020-02-29T07:50:34.000Z
2021-04-01T09:29:45.000Z
Tests/Tests/VectorTests.cpp
barneydellar/SpaceTypes
da0741563de3416792e1927b9c4c84be10959aed
[ "RSA-MD" ]
null
null
null
#include "pch.h" #include "SpaceHelpers.h" using namespace Space; TEST_CASE("Vectors can be constructed") { View::Vector v; } TEST_CASE("Vectors have zero value by default") { View::Vector v; CHECK(v[0] == 0); CHECK(v[1] == 0); CHECK(v[2] == 0); } TEST_CASE("Vectors can be constructed from impleme...
35.906553
91
0.681617
[ "vector" ]
1d9b4e291f583a6411b333dbbc3b75dc59976207
1,935
cpp
C++
295_a.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
295_a.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
295_a.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
23.597561
106
0.562274
[ "vector" ]
1d9d3c2c673ddf050d44342e24b9792167d7ff02
6,445
cc
C++
modules/compiled/select_knn_kernel.cu.cc
shahrukhqasim/HGCalML
2808564b31c89d9b7eb882734f6aebc6f35e94f3
[ "BSD-3-Clause" ]
null
null
null
modules/compiled/select_knn_kernel.cu.cc
shahrukhqasim/HGCalML
2808564b31c89d9b7eb882734f6aebc6f35e94f3
[ "BSD-3-Clause" ]
null
null
null
modules/compiled/select_knn_kernel.cu.cc
shahrukhqasim/HGCalML
2808564b31c89d9b7eb882734f6aebc6f35e94f3
[ "BSD-3-Clause" ]
null
null
null
//#define GOOGLE_CUDA 1 #if GOOGLE_CUDA #define EIGEN_USE_GPU #include "select_knn_kernel.h" #include "helpers.h" #include "tensorflow/core/util/gpu_kernel_helper.h" #include <cuda.h> #include <cuda_runtime.h> #include <cuda_runtime_api.h> #include "cuda_helpers.h" namespace tensorflow { namespace functor { namesp...
25.077821
100
0.554383
[ "vector" ]
1da578c1f12e56a1fc6560decde02f5777fa1f94
292,747
cpp
C++
src/SpeciesSpecificParameters.cpp
RemiMattheyDoret/SimBit
ed0e64c0abb97c6c889bc0adeec1277cbc6cbe43
[ "MIT" ]
11
2017-06-06T23:02:48.000Z
2021-08-17T20:13:05.000Z
src/SpeciesSpecificParameters.cpp
RemiMattheyDoret/SimBit
ed0e64c0abb97c6c889bc0adeec1277cbc6cbe43
[ "MIT" ]
1
2017-06-06T23:08:05.000Z
2017-06-07T09:28:08.000Z
src/SpeciesSpecificParameters.cpp
RemiMattheyDoret/SimBit
ed0e64c0abb97c6c889bc0adeec1277cbc6cbe43
[ "MIT" ]
null
null
null
/* Author: Remi Matthey-Doret MIT License Copyright (c) 2017 Remi Matthey-Doret 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 limi...
43.324996
1,090
0.547322
[ "vector", "model" ]
1db77c35d23bb2386902b24e71a150fcecbbf10c
4,934
cc
C++
cpp/icub/gazebo-yarp-plugins/plugins/modelposepublisher/src/ModelPosePublisher.cc
BrunoDaCosta/NL_limit_cycles
62c8c93d8ca9d6c7442154c467cd0f9e27329871
[ "RSA-MD" ]
2
2019-07-26T08:51:15.000Z
2020-10-16T09:52:58.000Z
cpp/icub/gazebo-yarp-plugins/plugins/modelposepublisher/src/ModelPosePublisher.cc
BrunoDaCosta/NL_limit_cycles
62c8c93d8ca9d6c7442154c467cd0f9e27329871
[ "RSA-MD" ]
null
null
null
cpp/icub/gazebo-yarp-plugins/plugins/modelposepublisher/src/ModelPosePublisher.cc
BrunoDaCosta/NL_limit_cycles
62c8c93d8ca9d6c7442154c467cd0f9e27329871
[ "RSA-MD" ]
1
2021-01-26T14:34:05.000Z
2021-01-26T14:34:05.000Z
/* * Copyright (C) 2018 Fondazione Istituto Italiano di Tecnologia iCub Facility * Authors: see AUTHORS file. * CopyPolicy: Released under the terms of the LGPLv2.1 or any later version, see LGPL.TXT or LGPL3.TXT */ // gazebo #include <gazebo/physics/Model.hh> #include <gazebo/physics/Link.hh> #include <gazebo/com...
30.8375
103
0.689501
[ "model", "transform" ]
1dbb7469178f855939bfffb3d1dcb1e8c2fd84e2
1,397
cpp
C++
src/devices/base/BaseDevice.cpp
miso-develop/opniz-device
203c019a2088ede9aab79ec69ebe4fd5f857ff9f
[ "MIT" ]
3
2021-03-18T07:23:38.000Z
2021-09-06T11:37:54.000Z
src/devices/base/BaseDevice.cpp
miso-develop/opniz-device
203c019a2088ede9aab79ec69ebe4fd5f857ff9f
[ "MIT" ]
null
null
null
src/devices/base/BaseDevice.cpp
miso-develop/opniz-device
203c019a2088ede9aab79ec69ebe4fd5f857ff9f
[ "MIT" ]
null
null
null
#include "devices/base/BaseDevice.h" BaseDevice::BaseDevice(const char* address, uint16_t port) : TcpManager(address, port), _responseJsonDoc(1024) {} String BaseDevice::_messageHandler(String message) { const JsonArray messageArray = _jsonParser.parseArray(message); JsonArray responseJsonArray = _responseJso...
37.756757
113
0.695061
[ "vector" ]
1dbcb3bd1dc751cba823707db19588eac54cfc3b
1,610
cpp
C++
leetcode/Two_Sum_2_best.cpp
Dts0/code
5dc2583f8346b83af80a7d1505d4e6b9ce4e54c0
[ "MIT" ]
null
null
null
leetcode/Two_Sum_2_best.cpp
Dts0/code
5dc2583f8346b83af80a7d1505d4e6b9ce4e54c0
[ "MIT" ]
null
null
null
leetcode/Two_Sum_2_best.cpp
Dts0/code
5dc2583f8346b83af80a7d1505d4e6b9ce4e54c0
[ "MIT" ]
null
null
null
/* Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2. Note: Your returned answers (both inde...
25.15625
137
0.608696
[ "vector" ]
1dbfe38f587187ed85411254ae8da4cf0d15629b
749,456
cpp
C++
Bindings/Portable/Generated/binding.cpp
Haukinger/urho
3161c6ad4bf6fbdd7cf91b191017347c32209714
[ "MIT" ]
502
2015-12-07T20:32:12.000Z
2022-03-26T09:27:23.000Z
Bindings/Portable/Generated/binding.cpp
Haukinger/urho
3161c6ad4bf6fbdd7cf91b191017347c32209714
[ "MIT" ]
353
2015-12-07T20:34:16.000Z
2022-03-21T09:49:10.000Z
Bindings/Portable/Generated/binding.cpp
Haukinger/urho
3161c6ad4bf6fbdd7cf91b191017347c32209714
[ "MIT" ]
160
2015-12-08T02:32:38.000Z
2022-02-13T17:47:22.000Z
// Autogenerated, do not edit #include "../../Native/AllUrho.h" #include "../../Native/interop.h" using namespace Urho3D; extern "C" { DllExport void * RefCount_RefCount () { return new RefCount(); } DllExport void * RefCounted_RefCounted () { return new RefCounted(); } DllExport void RefCounted_AddRef (Urho3D::R...
20.165097
522
0.769186
[ "geometry", "render", "object", "shape", "vector", "model", "transform", "solid" ]
1dc69a43a81130c150f964998bab66939d9954fe
823
cpp
C++
src/system/system_entity.cpp
jthomperoo/JamJarNative
20105167f8a81b924356704ac5b982e768e86a3f
[ "MIT" ]
1
2019-10-27T22:30:37.000Z
2019-10-27T22:30:37.000Z
src/system/system_entity.cpp
jthomperoo/JamJarNative
20105167f8a81b924356704ac5b982e768e86a3f
[ "MIT" ]
14
2020-02-01T22:48:56.000Z
2020-02-06T17:41:29.000Z
src/system/system_entity.cpp
jthomperoo/JamJarNative
20105167f8a81b924356704ac5b982e768e86a3f
[ "MIT" ]
null
null
null
#include "system/system_entity.hpp" #include "component/component.hpp" #include "entity/entity.hpp" JamJar::SystemEntity::SystemEntity(Entity *entity, const std::vector<JamJar::Component *> &components) : m_entity(entity) { for (const auto &component : components) { this->m_components[component->m_key]...
32.92
102
0.714459
[ "vector" ]
1dc9381dcce6b2cd2b974bd946c8adf2f8ad566f
8,523
cpp
C++
src/opr-mm/impl/mm_handler.cpp
jonrzhang/MegEngine
94b72022156a068d3e87bceed7e1c7ae77dada16
[ "Apache-2.0" ]
3
2020-10-23T06:33:57.000Z
2020-10-23T06:34:06.000Z
src/opr-mm/impl/mm_handler.cpp
yang-shuohao/MegEngine
2e8742086563ea442c357b14560245c54e0aa0a3
[ "Apache-2.0" ]
null
null
null
src/opr-mm/impl/mm_handler.cpp
yang-shuohao/MegEngine
2e8742086563ea442c357b14560245c54e0aa0a3
[ "Apache-2.0" ]
1
2022-02-21T10:41:55.000Z
2022-02-21T10:41:55.000Z
/** * \file python_module/src/cpp/mm_handler.cpp * * This file is part of MegBrain, a deep learning framework developed by Megvii. * * \copyright Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * */ #include "megbrain/opr/mm_handler.h" #include "megbrain/exception.h" #include "megbrain_build_config.h"...
35.810924
85
0.618092
[ "shape" ]
1dcad965a495445c4a6a924ce134ce2330dadde9
6,644
cxx
C++
engine/src/graphics/render_pass.cxx
Alabuta/VulkanIsland
f33a16fa163527270bc14d03bcfed06dbddbb416
[ "MIT" ]
null
null
null
engine/src/graphics/render_pass.cxx
Alabuta/VulkanIsland
f33a16fa163527270bc14d03bcfed06dbddbb416
[ "MIT" ]
null
null
null
engine/src/graphics/render_pass.cxx
Alabuta/VulkanIsland
f33a16fa163527270bc14d03bcfed06dbddbb416
[ "MIT" ]
1
2018-10-03T17:05:43.000Z
2018-10-03T17:05:43.000Z
#include <algorithm> #include <string> using namespace std::string_literals; #include <fmt/format.h> #include "utility/exceptions.hxx" #include "graphics_api.hxx" #include "render_pass.hxx" namespace { struct subpass_invariant final { std::vector<VkAttachmentReference> input_attachments; std::ve...
42.050633
134
0.653974
[ "render", "vector" ]
1dcfd42afafb5ebb9e35726756fff753c7f741ee
1,608
cpp
C++
2018/Day05/Day05.cpp
jloehr/AdventOfCode
11fa8f52b7ba156cecb729c7a3d24fbec27203d0
[ "MIT" ]
null
null
null
2018/Day05/Day05.cpp
jloehr/AdventOfCode
11fa8f52b7ba156cecb729c7a3d24fbec27203d0
[ "MIT" ]
null
null
null
2018/Day05/Day05.cpp
jloehr/AdventOfCode
11fa8f52b7ba156cecb729c7a3d24fbec27203d0
[ "MIT" ]
null
null
null
// Day05.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "pch.h" std::string Collapse(std::istream & Input); int main() { std::ifstream Input("Input.txt"); std::string Polymer = Collapse(Input); std::cout << "Part One: " << Polymer.size() << std::endl; std::s...
26.8
155
0.674129
[ "transform" ]
1b91b78c4f3fd6710a1414c74f594c904b666e82
22,187
hpp
C++
libqvr/manager.hpp
insonifi/vr-maze
15093b4b3ff0e7df970cc83315c016b43f67b257
[ "MIT" ]
null
null
null
libqvr/manager.hpp
insonifi/vr-maze
15093b4b3ff0e7df970cc83315c016b43f67b257
[ "MIT" ]
null
null
null
libqvr/manager.hpp
insonifi/vr-maze
15093b4b3ff0e7df970cc83315c016b43f67b257
[ "MIT" ]
null
null
null
/* * Copyright (C) 2016, 2017, 2018 Computer Graphics Group, University of Siegen * Written by Martin Lambers <martin.lambers@uni-siegen.de> * * 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 Sof...
40.635531
151
0.702844
[ "geometry", "render", "object", "model" ]
1b937237d127fda7d0f7002278f7b5fb611e6a60
2,085
cpp
C++
Products/UnstoreWorks/unstore.cpp
TrevorDArcyEvans/DivingMagpieSoftware
7ffcfef653b110e514d5db735d11be0aae9953ec
[ "MIT" ]
1
2021-05-27T10:27:25.000Z
2021-05-27T10:27:25.000Z
Products/UnstoreWorks/unstore.cpp
TrevorDArcyEvans/Diving-Magpie-Software
7ffcfef653b110e514d5db735d11be0aae9953ec
[ "MIT" ]
null
null
null
Products/UnstoreWorks/unstore.cpp
TrevorDArcyEvans/Diving-Magpie-Software
7ffcfef653b110e514d5db735d11be0aae9953ec
[ "MIT" ]
null
null
null
// Unstore.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <Windows.h> #include <comdef.h> #include <io.h> #include <sys/types.h> #include <sys/stat.h> #include <tchar.h> //------------------------------------------ HWND g_hWnd = NULL; int UnStore(TCHAR *pcFileName...
21.947368
86
0.508873
[ "geometry" ]
1b9e1a077f72ebfee97972d5491a5bb62470ed40
2,038
cpp
C++
Final Src/Common/Campaign.cpp
vdwtanner/Crusade
f6531de9bc85c98283d34b68f20b52d49339d98c
[ "MIT" ]
1
2019-02-09T08:19:23.000Z
2019-02-09T08:19:23.000Z
Final Src/Common/Campaign.cpp
vdwtanner/Crusade
f6531de9bc85c98283d34b68f20b52d49339d98c
[ "MIT" ]
null
null
null
Final Src/Common/Campaign.cpp
vdwtanner/Crusade
f6531de9bc85c98283d34b68f20b52d49339d98c
[ "MIT" ]
null
null
null
#include "pch.h" #include "Campaign.h" Campaign::Campaign(LPWSTR filepath){ m_name = wstring(filepath).substr(0, wstring(filepath).length() - 4); loadCampaign(filepath); m_currentLevel = 0; } Campaign::~Campaign(){ } //parse csv at LPWSTR filepath to load campaign data. void Campaign::loadCampaign(...
24.853659
141
0.68842
[ "vector" ]
1ba0039a7781f0de82fcc2daf0eb2f8912d09488
4,714
hpp
C++
RobWork/src/rwlibs/task/GraspTask.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/rwlibs/task/GraspTask.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/rwlibs/task/GraspTask.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/* * GraspTask.hpp * * Created on: Aug 15, 2011 * Author: jimali */ #ifndef RWLIBS_TASK_GRASPTASK_HPP_ #define RWLIBS_TASK_GRASPTASK_HPP_ #include "GraspSubTask.hpp" #include "Task.hpp" #include <rw/core/Ptr.hpp> namespace rwlibs { namespace task { /** * @brief A container for describing one or...
29.098765
99
0.562792
[ "vector" ]
1ba36e652f4cffb4575c258498afeee151033f88
2,007
cpp
C++
source/Main.cpp
redagito/Raytracer
451702eab28d6d69a122423f0e13aeb504d376a3
[ "MIT" ]
null
null
null
source/Main.cpp
redagito/Raytracer
451702eab28d6d69a122423f0e13aeb504d376a3
[ "MIT" ]
null
null
null
source/Main.cpp
redagito/Raytracer
451702eab28d6d69a122423f0e13aeb504d376a3
[ "MIT" ]
null
null
null
#include <chrono> #include <iostream> #include "RayTracer.h" #include "Scene.h" #include "ViewPlane.h" #include "Sphere.h" void addSphere(Scene& scene, const glm::dvec3& position, double radius, const glm::vec3& color) { auto sphere = std::make_unique<Sphere>(position, radius); sphere->material->color = colo...
27.121622
97
0.621325
[ "geometry", "render" ]
1ba63cc92f2b82e7318811074c9db2fddd44b0ab
2,906
cpp
C++
catkin_ws/src/beginner_tutorials/src/track_sequential.cpp
lies98/ROS_chasing_ball
6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949
[ "MIT" ]
null
null
null
catkin_ws/src/beginner_tutorials/src/track_sequential.cpp
lies98/ROS_chasing_ball
6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949
[ "MIT" ]
null
null
null
catkin_ws/src/beginner_tutorials/src/track_sequential.cpp
lies98/ROS_chasing_ball
6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <cv_bridge/cv_bridge.h> #include <sensor_msgs/image_encodings.h> #include <sensor_msgs/Image.h> #include <image_transport/image_transport.h> #include <opencv2/objdetect/objdetect.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> class TrackSequentia...
25.716814
161
0.737096
[ "vector" ]
1ba7809ad3a5226782115c9683049b4276618efe
3,701
cpp
C++
src/cup/cup.cpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/cup/cup.cpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/cup/cup.cpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
/* * TS Elements * Copyright 2015-2018 M. Newhouse * Released under the MIT license. */ #include "cup.hpp" #include "cup_settings.hpp" #include <algorithm> namespace ts { namespace cup { Cup::Cup(const CupSettings& cup_settings) : tracks_(cup_settings.tracks), cars_(cup_settings.selected_cars),...
23.724359
85
0.607133
[ "vector" ]
1bb01d446b43dc875855560125b89c45e1afa84a
4,491
cc
C++
dash/test/memory/GlobStaticMemTest.cc
anonymousbitcoin/dash
e549524f25998f9fe2a5ecae240f5ef054a168c0
[ "BSD-3-Clause" ]
null
null
null
dash/test/memory/GlobStaticMemTest.cc
anonymousbitcoin/dash
e549524f25998f9fe2a5ecae240f5ef054a168c0
[ "BSD-3-Clause" ]
null
null
null
dash/test/memory/GlobStaticMemTest.cc
anonymousbitcoin/dash
e549524f25998f9fe2a5ecae240f5ef054a168c0
[ "BSD-3-Clause" ]
2
2019-10-02T23:19:22.000Z
2020-06-27T09:23:31.000Z
#include "GlobStaticMemTest.h" #include <dash/memory/GlobStaticMem.h> TEST_F(GlobStaticMemTest, ConstructorInitializerList) { auto target_local_elements = { 1, 2, 3, 4, 5, 6 }; auto target = dash::GlobStaticMem<int>(target_local_elements); std::vector<int> glob_values; for (dash::team_unit_t u{0}; u < dash...
28.245283
76
0.60432
[ "vector" ]
1bb3157e9a35f2470fed8f7f99eec06f1f9d2e0b
845
cpp
C++
example/fft_ex03.cpp
BoostGSoC21/math
60051b121de05d7084ae1eb78053a209d06b7860
[ "BSL-1.0" ]
null
null
null
example/fft_ex03.cpp
BoostGSoC21/math
60051b121de05d7084ae1eb78053a209d06b7860
[ "BSL-1.0" ]
30
2021-06-22T12:59:38.000Z
2021-09-02T09:27:49.000Z
example/fft_ex03.cpp
BoostGSoC21/math
60051b121de05d7084ae1eb78053a209d06b7860
[ "BSL-1.0" ]
1
2021-06-07T21:15:02.000Z
2021-06-07T21:15:02.000Z
/* boost::math::fft example 03. FFT plan-like API, default engine */ #include <boost/math/fft/bsl_backend.hpp> #include <iostream> #include <vector> #include <complex> namespace fft = boost::math::fft; template<class T> void print(const std::vector< std::complex<T> >& V) { for(auto i=0UL;i<V.si...
19.204545
71
0.544379
[ "vector", "transform" ]
1bb3da7bd6330f2811b4f391005ca259701318cf
3,378
cpp
C++
src/UserInterface/src/Widget/AbstractSimulationVariableWidget.cpp
till213/SkyDolly
75caa54fa9fcbaae04b6605c3c1a68e0cb9a0c16
[ "MIT" ]
21
2021-03-01T00:19:41.000Z
2022-02-22T02:57:19.000Z
src/UserInterface/src/Widget/AbstractSimulationVariableWidget.cpp
till213/SkyDolly
75caa54fa9fcbaae04b6605c3c1a68e0cb9a0c16
[ "MIT" ]
11
2021-06-20T20:16:56.000Z
2022-03-28T19:03:34.000Z
src/UserInterface/src/Widget/AbstractSimulationVariableWidget.cpp
till213/SkyDolly
75caa54fa9fcbaae04b6605c3c1a68e0cb9a0c16
[ "MIT" ]
3
2021-04-06T19:06:16.000Z
2022-01-20T21:22:39.000Z
/** * Sky Dolly - The Black Sheep for your Flight Recordings * * Copyright (c) Oliver Knoll * All rights reserved. * * MIT License * * 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 * ...
40.214286
133
0.75222
[ "model" ]
1bba8c1d58a6c2e5e0ab891da61f117f50ffd342
1,503
cpp
C++
CSES/Tree_Diameter.cpp
aldew5/Competitve-Programming
eb0b93a35af3bd5e806aedc44b835830af01d496
[ "MIT" ]
2
2020-05-09T15:54:18.000Z
2021-01-23T22:32:53.000Z
CSES/Tree_Diameter.cpp
aldew5/Competitive-Programming
fc93723fae739d0b06bcf2dbe3b9274584a79a66
[ "MIT" ]
null
null
null
CSES/Tree_Diameter.cpp
aldew5/Competitive-Programming
fc93723fae739d0b06bcf2dbe3b9274584a79a66
[ "MIT" ]
null
null
null
/* ID: alec3 LANG: C++14 PROG: /* Pick an arbitrary node a. DFS from a to a leaf then DFS from the leaf (b) to the corresponding leaf c. The distance between b and c is the diameter. */ #include <bits/stdc++.h> #define check(x) cout<<(#x)<<": "<<x<<" " << endl; #define line cout << "--------------" << endl; #define ...
17.275862
77
0.55356
[ "vector" ]
1bbf7089233562467e857d70cf72fede1b794181
2,697
cpp
C++
day6/part2.cpp
deltj/advent_of_code_2020
52d1eeeff6ba0df6bc49679ae9fc73e04a543ca1
[ "MIT" ]
null
null
null
day6/part2.cpp
deltj/advent_of_code_2020
52d1eeeff6ba0df6bc49679ae9fc73e04a543ca1
[ "MIT" ]
null
null
null
day6/part2.cpp
deltj/advent_of_code_2020
52d1eeeff6ba0df6bc49679ae9fc73e04a543ca1
[ "MIT" ]
null
null
null
/** * Count customs declaration answers */ #include <cstdlib> #include <fstream> #include <iostream> #include <set> #include <sstream> #include <vector> #include <boost/algorithm/string.hpp> bool everyoneSaysYes(std::vector<std::set<char> > responses, char q) { for(std::vector<std::set<char> >::const_iterator i...
24.972222
113
0.494994
[ "vector" ]
1bc0d7fe85ddfcb3b24aa2d592879266d47249aa
7,198
cpp
C++
src/native/common/jp_methodoverload.cpp
remram44/jpype
f89974af249f6b38c0698c4c8275f71ac4356b5b
[ "Apache-2.0" ]
1
2017-11-29T11:16:44.000Z
2017-11-29T11:16:44.000Z
src/native/common/jp_methodoverload.cpp
vanschelven/jpype_05
11bbb56e147eed69839711eff545c0fb175b1892
[ "Apache-2.0" ]
null
null
null
src/native/common/jp_methodoverload.cpp
vanschelven/jpype_05
11bbb56e147eed69839711eff545c0fb175b1892
[ "Apache-2.0" ]
2
2019-12-16T09:45:03.000Z
2021-04-15T00:20:24.000Z
/***************************************************************************** Copyright 2004 Steve M�nard 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.apach...
21.233038
92
0.618227
[ "object", "vector" ]
1bc66fd54f0fc55f7090f3de7bb8f0b41c4c7e1f
6,786
hh
C++
src/mem/coward_addr_mapper.hh
believe7028/gem5
9486ad465cbecd816a8d9500d05fa86c573756dd
[ "BSD-3-Clause" ]
null
null
null
src/mem/coward_addr_mapper.hh
believe7028/gem5
9486ad465cbecd816a8d9500d05fa86c573756dd
[ "BSD-3-Clause" ]
null
null
null
src/mem/coward_addr_mapper.hh
believe7028/gem5
9486ad465cbecd816a8d9500d05fa86c573756dd
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2012 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
27.697959
77
0.667403
[ "vector" ]
1bc70a5b3217e23d446194c56bc8a0a78125bbb0
27,646
cc
C++
src/tint/resolver/function_validation_test.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/resolver/function_validation_test.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/resolver/function_validation_test.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The Tint Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
34.994937
100
0.603451
[ "vector" ]
1bc85bdbd1b3b2f082593df93d51ce872c753f02
2,985
cpp
C++
src/targets/gpu/loop.cpp
raramakr/AMDMIGraphX
83e7425367f6ce850ec28fe716fe7c23ce34c79f
[ "MIT" ]
72
2018-12-06T18:31:17.000Z
2022-03-30T15:01:02.000Z
src/targets/gpu/loop.cpp
raramakr/AMDMIGraphX
83e7425367f6ce850ec28fe716fe7c23ce34c79f
[ "MIT" ]
1,006
2018-11-30T16:32:33.000Z
2022-03-31T22:43:39.000Z
src/targets/gpu/loop.cpp
raramakr/AMDMIGraphX
83e7425367f6ce850ec28fe716fe7c23ce34c79f
[ "MIT" ]
36
2019-05-07T10:41:46.000Z
2022-03-28T15:59:56.000Z
#include <migraphx/run_loop.hpp> #include <migraphx/gpu/loop.hpp> #include <migraphx/gpu/context.hpp> #include <migraphx/gpu/device/fill.hpp> #include <unordered_map> namespace migraphx { inline namespace MIGRAPHX_INLINE_NS { namespace gpu { shape hip_loop::compute_shape(std::vector<shape> inputs, std::vector<module_...
30.459184
98
0.579899
[ "shape", "vector" ]
1bc87927f0fb32e92f76592de071cc579b3ef466
1,827
hpp
C++
external/vsomeip/implementation/service_discovery/include/remote_subscription_ack.hpp
lixiaolia/ndk-someip-lib
f4088e87f07e3a6bcec402514bb7ebb77ec946ce
[ "Apache-2.0" ]
3
2021-06-17T14:01:04.000Z
2022-03-18T09:22:44.000Z
external/vsomeip/implementation/service_discovery/include/remote_subscription_ack.hpp
lixiaolia/ndk-someip-lib
f4088e87f07e3a6bcec402514bb7ebb77ec946ce
[ "Apache-2.0" ]
1
2022-03-15T06:21:33.000Z
2022-03-28T06:31:12.000Z
external/vsomeip/implementation/service_discovery/include/remote_subscription_ack.hpp
lixiaolia/ndk-someip-lib
f4088e87f07e3a6bcec402514bb7ebb77ec946ce
[ "Apache-2.0" ]
4
2021-06-17T14:12:18.000Z
2021-12-13T11:53:10.000Z
// Copyright (C) 2018 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #ifndef VSOMEIP_V3_SD_REMOTE_SUBSCRIPTION_...
28.107692
78
0.735085
[ "vector" ]
1bcacc95ebfabe2e5785137e3421424fdf61269c
2,784
cpp
C++
JanuaEngine/tgcviewer-cpp/TgcViewer/Ui/TgcUserVars.cpp
gigc/Janua
cbcc8ad0e9501e1faef5b37a964769970aa3d236
[ "MIT", "Unlicense" ]
98
2015-01-13T16:23:23.000Z
2022-02-14T21:51:07.000Z
JanuaEngine/tgcviewer-cpp/TgcViewer/Ui/TgcUserVars.cpp
gigc/Janua
cbcc8ad0e9501e1faef5b37a964769970aa3d236
[ "MIT", "Unlicense" ]
1
2016-06-30T22:07:54.000Z
2016-06-30T22:07:54.000Z
JanuaEngine/tgcviewer-cpp/TgcViewer/Ui/TgcUserVars.cpp
gigc/Janua
cbcc8ad0e9501e1faef5b37a964769970aa3d236
[ "MIT", "Unlicense" ]
13
2015-08-26T11:19:08.000Z
2021-07-12T03:41:50.000Z
///////////////////////////////////////////////////////////////////////////////// // TgcViewer-cpp // // Author: Matias Leone // ///////////////////////////////////////////////////////////////////////////////// #include "TgcViewer/Ui/TgcUserVars.h" #include "TgcViewer/GuiController.h" //required by forward declara...
22.819672
101
0.667026
[ "render" ]
1bd44186ee36c212c55d623fa1870913e4a4682b
4,265
cpp
C++
GUI.cpp
DomRe/gui
04895189b9a8ccf6ee68010b150b1b227242a8c2
[ "MIT" ]
null
null
null
GUI.cpp
DomRe/gui
04895189b9a8ccf6ee68010b150b1b227242a8c2
[ "MIT" ]
null
null
null
GUI.cpp
DomRe/gui
04895189b9a8ccf6ee68010b150b1b227242a8c2
[ "MIT" ]
null
null
null
/* /// /// GUI.cpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #include <magic_enum.hpp> #include "galaxy/core/ServiceLocator.hpp" #include "galaxy/graphics/Renderer2D.hpp" #include "galaxy/resource/Shaderbook.hpp" #include "GUI.hpp" namespace galaxy { namespace ui { GUI::GUI() : Serializable {thi...
18.871681
118
0.709027
[ "render" ]
1bd4730e3363627f698f91ff109eb30bd618eaf6
6,442
cpp
C++
ShootEditor/src/DependencyViewer.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
5
2016-11-13T08:13:57.000Z
2019-03-31T10:22:38.000Z
ShootEditor/src/DependencyViewer.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
null
null
null
ShootEditor/src/DependencyViewer.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
1
2016-12-23T11:25:35.000Z
2016-12-23T11:25:35.000Z
/* Amine Rehioui Created: January 31st 2015 */ #include "ShootEditorCommon.h" #include "DependencyViewer.h" #include "IconManager.h" #include "ShootEditor.h" #include "MeshEntity.h" #include "Image.h" #include "EditorUtils.h" #include <wx/splitter.h> namespace shoot { // Define event table BEGIN_EVENT_TABLE...
30.244131
190
0.742471
[ "object" ]
1bd53c2f46e27b9352f2d9bbbe2edf82dee0263d
2,081
hpp
C++
include/constraint.hpp
EmbersArc/socp_interface
d569ca7315a808e1070d1d01148018f2148ce672
[ "MIT" ]
3
2019-08-24T00:50:42.000Z
2020-03-17T21:35:17.000Z
include/constraint.hpp
EmbersArc/socp_interface
d569ca7315a808e1070d1d01148018f2148ce672
[ "MIT" ]
null
null
null
include/constraint.hpp
EmbersArc/socp_interface
d569ca7315a808e1070d1d01148018f2148ce672
[ "MIT" ]
3
2019-07-22T01:34:50.000Z
2021-06-14T12:45:24.000Z
#pragma once #include "expression.hpp" #include <vector> #include <ostream> namespace op { namespace internal { // represents a constraint like // p_1*x_1 + p_2*x_2 + ... + b == 0 struct EqualityConstraint { explicit EqualityConstraint(const internal::AffineSum &affine); internal::AffineSum affine; ...
35.87931
104
0.725613
[ "vector" ]
1bd87a2413953cd73ff52ed8234696da2b700943
2,523
cc
C++
sgw/src/model/DescribeOssBucketInfoRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
sgw/src/model/DescribeOssBucketInfoRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
sgw/src/model/DescribeOssBucketInfoRequest.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...
26.28125
88
0.766548
[ "model" ]
1bdca6d26f9e682046ac5227fd006e48aabe8771
1,459
hpp
C++
src/renderer_clock.hpp
trazfr/alarm
ea511eb0f16945de2005d828f452c76fce9d77e7
[ "MIT" ]
null
null
null
src/renderer_clock.hpp
trazfr/alarm
ea511eb0f16945de2005d828f452c76fce9d77e7
[ "MIT" ]
null
null
null
src/renderer_clock.hpp
trazfr/alarm
ea511eb0f16945de2005d828f452c76fce9d77e7
[ "MIT" ]
null
null
null
#pragma once #include <memory> class Config; /** * @brief Render the analog clock's hands * * The second hand is only displayed if enabled in the config */ class RendererClock { public: struct Impl; /** * Constructor * * @param screenWidth used for the heigth / width ratio to have a rou...
31.042553
96
0.642906
[ "render" ]
1be01b53869a563e07561299812dd3f24a835e40
2,939
hpp
C++
trunk/src/app/srs_app_ingest.hpp
chundonglinlin/srs.win
0e45a27ebf0df35509cac33741d4e3e8454d83fa
[ "MIT" ]
9
2016-02-04T02:09:25.000Z
2019-08-11T15:11:44.000Z
trunk/src/app/srs_app_ingest.hpp
miffa/simple-rtmp-server
e227bd3a0ef948a1c5f9b14eb41f87323338bb6a
[ "MIT" ]
null
null
null
trunk/src/app/srs_app_ingest.hpp
miffa/simple-rtmp-server
e227bd3a0ef948a1c5f9b14eb41f87323338bb6a
[ "MIT" ]
23
2015-12-06T15:18:41.000Z
2021-12-23T13:59:25.000Z
/* The MIT License (MIT) Copyright (c) 2013-2014 winlin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
30.298969
130
0.764886
[ "object", "vector" ]
1be17322af2ea1a58c8163af1f64a15096da3e0e
21,983
cpp
C++
renderobjects/UmbralMesh.cpp
Zackmon/SeventhUmbral
25580111b361d2fdc2c15fd2cd150e4c763ca774
[ "BSD-2-Clause" ]
92
2015-01-30T01:57:18.000Z
2022-02-14T00:05:30.000Z
renderobjects/UmbralMesh.cpp
Zackmon/SeventhUmbral
25580111b361d2fdc2c15fd2cd150e4c763ca774
[ "BSD-2-Clause" ]
6
2015-08-18T19:57:17.000Z
2022-01-31T14:48:33.000Z
renderobjects/UmbralMesh.cpp
Zackmon/SeventhUmbral
25580111b361d2fdc2c15fd2cd150e4c763ca774
[ "BSD-2-Clause" ]
44
2015-01-03T13:01:21.000Z
2022-01-31T14:24:40.000Z
#include "UmbralMesh.h" #include "ResourceManager.h" #include "GlobalResources.h" #include "PtrStream.h" #include "StdStream.h" #include "D3DShaderDisassembler.h" #include "UmbralEffectProvider.h" #include "UmbralEffect.h" #include "../dataobjects/HalfFloat.h" #define _USE_GAME_SHADERS #ifdef _USE_GAME_SH...
34.402191
155
0.730701
[ "render", "vector" ]
1be697b5618849b06b70c3cf8ba2e28219ff46e8
1,468
cpp
C++
src/C++ STL Examples/algorithms/adjacent_find_example.cpp
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
1
2020-03-15T04:09:11.000Z
2020-03-15T04:09:11.000Z
src/C++ STL Examples/algorithms/adjacent_find_example.cpp
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
null
null
null
src/C++ STL Examples/algorithms/adjacent_find_example.cpp
Fennec2000GH/Software-Engineering-Interview
c7a182d7f8c44f7cabaf77982099594ce297a48b
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <iterator> #include <numeric> #include <vector> using namespace std; //std::adjacent_find /* equality (1) * template <class ForwardIterator> * ForwardIterator adjacent_find (ForwardIterator first, ForwardIterator last); */ /* predicate (2) * template <class ForwardI...
35.804878
117
0.69346
[ "vector" ]
1be6e24825ba9c2599a8835b4f2f67ca48d5d44e
15,555
cpp
C++
modules/opengl/shader/shaderobject.cpp
victorca25/inviwo
34b6675f6b791a08e358d24aea4f75d5baadc6da
[ "BSD-2-Clause" ]
null
null
null
modules/opengl/shader/shaderobject.cpp
victorca25/inviwo
34b6675f6b791a08e358d24aea4f75d5baadc6da
[ "BSD-2-Clause" ]
null
null
null
modules/opengl/shader/shaderobject.cpp
victorca25/inviwo
34b6675f6b791a08e358d24aea4f75d5baadc6da
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2012-2017 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
38.125
100
0.606365
[ "vector" ]
1bee0a7e41fc0d6e2d76a783503fd41cb10d4d6f
2,285
hpp
C++
include/codegen/include/System/Reflection/CustomAttributeTypedArgument.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Reflection/CustomAttributeTypedArgument.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Reflection/CustomAttributeTypedArgument.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:43 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.ValueType #include "System/ValueType.hpp" #include "u...
40.087719
143
0.708972
[ "object" ]
1bf1abc91f3abb90bb003405a572c0ec9a013702
13,457
cc
C++
dcmdata/apps/dcm2pdf.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
24
2015-07-22T05:07:51.000Z
2019-02-28T04:52:33.000Z
dcmdata/apps/dcm2pdf.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
13
2015-07-23T05:43:02.000Z
2021-07-17T17:14:45.000Z
dcmdata/apps/dcm2pdf.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
13
2015-07-23T01:07:30.000Z
2021-01-05T09:49:30.000Z
/* * * Copyright (C) 2007-2010, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmdata * * Author: Marco Ei...
33.896725
121
0.636323
[ "object" ]
1bf4da2ac3f95bd86fe13bb24c44b488dd7c6b52
33,343
cpp
C++
playground/src/imageviewer.cpp
UniStuttgart-VISUS/MLBGStippling
2330c8561682a8eb385728764a93b0aa21ff6f36
[ "MIT" ]
null
null
null
playground/src/imageviewer.cpp
UniStuttgart-VISUS/MLBGStippling
2330c8561682a8eb385728764a93b0aa21ff6f36
[ "MIT" ]
1
2022-02-21T08:39:33.000Z
2022-02-24T17:17:15.000Z
playground/src/imageviewer.cpp
UniStuttgart-VISUS/MLBGStippling
2330c8561682a8eb385728764a93b0aa21ff6f36
[ "MIT" ]
null
null
null
#include "imageviewer.h" #include <QOpenGLWidget> #include <QPdfWriter> #include <QSvgGenerator> #include <QtWidgets> uint qHash(QColor key) { return key.rgba(); } uint qHash(std::tuple<QColor, float> key) { return std::get<0>(key).rgba() ^ qHash(std::get<1>(key)); } class CircleStipplesItem : public QGraphi...
42.638107
183
0.616711
[ "render", "shape", "vector", "transform" ]
1bfd559c98ea4f165e4ed8c22d69247d08016e3e
13,810
cpp
C++
cpp-stl-containers/vector/my-vector.cpp
ElwinCabrera/Standard-Template-Library-Containers-CPP
d6ace1760616cc1abf1e66e38926b9eaa75bcbbd
[ "BSD-3-Clause" ]
null
null
null
cpp-stl-containers/vector/my-vector.cpp
ElwinCabrera/Standard-Template-Library-Containers-CPP
d6ace1760616cc1abf1e66e38926b9eaa75bcbbd
[ "BSD-3-Clause" ]
null
null
null
cpp-stl-containers/vector/my-vector.cpp
ElwinCabrera/Standard-Template-Library-Containers-CPP
d6ace1760616cc1abf1e66e38926b9eaa75bcbbd
[ "BSD-3-Clause" ]
1
2020-05-20T16:04:42.000Z
2020-05-20T16:04:42.000Z
/* Operation Speed CustomVector(); O(1) CustomVector(unsigned int size) O(size) CustomVector(unsigned int size, const T &type) O(size) CustomVector(const CustomVector<T> &v) O(v.size()...
28.592133
94
0.549095
[ "vector" ]
40011cf96ef521b38cd94e20c82f642e5dabfb52
2,284
cpp
C++
aws-cpp-sdk-mediaconvert/source/model/DashIsoPlaybackDeviceCompatibility.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-mediaconvert/source/model/DashIsoPlaybackDeviceCompatibility.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-mediaconvert/source/model/DashIsoPlaybackDeviceCompatibility.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/mediaconvert/model/DashIsoPlaybackDeviceCompatibility.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> us...
32.169014
112
0.66725
[ "model" ]
4002528a1ff37c9be94fdb9d238c64153a43b911
4,300
cpp
C++
mjcore/decomp.cpp
MihailJP/MiHaJong
b81168ab2696dd29af5c400b84c870a9b8a2f01e
[ "MIT" ]
13
2016-01-20T02:10:52.000Z
2022-03-08T15:51:36.000Z
mjcore/decomp.cpp
MihailJP/MiHaJong
b81168ab2696dd29af5c400b84c870a9b8a2f01e
[ "MIT" ]
13
2020-09-28T12:57:52.000Z
2022-02-20T19:20:57.000Z
mjcore/decomp.cpp
MihailJP/MiHaJong
b81168ab2696dd29af5c400b84c870a9b8a2f01e
[ "MIT" ]
4
2016-09-19T13:44:10.000Z
2022-02-18T08:13:37.000Z
#include "decomp.h" #include <cassert> #include "lzma/LzmaLib.h" #include "lzma/Sha256.h" #include "logging.h" #include "reader/readrsrc.h" #include "../common/strcode.h" #include "except.h" #ifndef _MSC_VER #include <cstdlib> #endif #include <algorithm> using std::min; /* 面子データ初期化 */ namespace Compressed { void D...
28.666667
118
0.705581
[ "vector" ]
40076726af347cc881fc023143c47efc7a648258
3,077
cpp
C++
src/mbgl/renderer/painters/painter_line.cpp
skwerlzu/mapbox2
41d2496c07e54a8dad70aea4610c7200711983e5
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/renderer/painters/painter_line.cpp
skwerlzu/mapbox2
41d2496c07e54a8dad70aea4610c7200711983e5
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/renderer/painters/painter_line.cpp
skwerlzu/mapbox2
41d2496c07e54a8dad70aea4610c7200711983e5
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#include <mbgl/renderer/painter.hpp> #include <mbgl/renderer/paint_parameters.hpp> #include <mbgl/renderer/buckets/line_bucket.hpp> #include <mbgl/renderer/render_tile.hpp> #include <mbgl/renderer/layers/render_line_layer.hpp> #include <mbgl/style/layers/line_layer_impl.hpp> #include <mbgl/programs/programs.hpp> #inclu...
33.086022
104
0.58336
[ "geometry" ]
400993949032d2f54ca3588c58d5ca65b841b507
13,359
cpp
C++
src/TRGame/Lighting/LightCalculator/DirectionalLightCalculator.cpp
CXUtk/TRV2
945950012e2385aeb24e80bf5e876703445ba423
[ "Apache-2.0" ]
null
null
null
src/TRGame/Lighting/LightCalculator/DirectionalLightCalculator.cpp
CXUtk/TRV2
945950012e2385aeb24e80bf5e876703445ba423
[ "Apache-2.0" ]
15
2021-09-04T13:02:51.000Z
2021-10-05T05:51:31.000Z
src/TRGame/Lighting/LightCalculator/DirectionalLightCalculator.cpp
CXUtk/TRV2
945950012e2385aeb24e80bf5e876703445ba423
[ "Apache-2.0" ]
null
null
null
#include "DirectionalLightCalculator.h" #include <algorithm> #include <TREngine/Core/Utils/Utils.h> #include <TREngine/Engine.h> #include <TREngine/Core/Render/render.h> #include <TRGame/Worlds/WorldResources.h> #include <TRGame/Worlds/Tile.h> #include <TRGame/Worlds/TileSection.h> static std::vector<Edge> drawSeg...
25.016854
112
0.679317
[ "render", "vector" ]
400e0c23839a1f1f4a240baf6d5f500d4980a5d6
6,943
hpp
C++
third_party/omr/compiler/optimizer/VirtualGuardCoalescer.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/optimizer/VirtualGuardCoalescer.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/optimizer/VirtualGuardCoalescer.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2000, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at http://ec...
33.703883
135
0.656489
[ "transform" ]
401a5e73d8638ca2da54df9a18f881f0d8880ff1
109,109
cc
C++
driver/utility.cc
realnickel/mysql-connector-odbc
cd3aad7a64a2c6bf58c6b04e0a63026bbacc8189
[ "Artistic-1.0-Perl" ]
null
null
null
driver/utility.cc
realnickel/mysql-connector-odbc
cd3aad7a64a2c6bf58c6b04e0a63026bbacc8189
[ "Artistic-1.0-Perl" ]
null
null
null
driver/utility.cc
realnickel/mysql-connector-odbc
cd3aad7a64a2c6bf58c6b04e0a63026bbacc8189
[ "Artistic-1.0-Perl" ]
null
null
null
// Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License, version 2.0, as // published by the Free Software Foundation. // // This program is also distributed with ce...
25.582415
104
0.61544
[ "geometry", "object" ]