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
9964588474c73e22dc4feb6eaba05e645647b616
1,730
cxx
C++
src/srtkThreeDCircularProjectionGeometryXMLFileWriter.cxx
cyrilmory/CyrilsRTK
bb829a9d6aff45181d1642b4b050dde999169ff8
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/srtkThreeDCircularProjectionGeometryXMLFileWriter.cxx
cyrilmory/CyrilsRTK
bb829a9d6aff45181d1642b4b050dde999169ff8
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/srtkThreeDCircularProjectionGeometryXMLFileWriter.cxx
cyrilmory/CyrilsRTK
bb829a9d6aff45181d1642b4b050dde999169ff8
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*========================================================================= * * Copyright RTK 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 * * http://www.apa...
27.903226
77
0.702312
[ "geometry" ]
996c8a296141bf223e95c8d18391aa9a95f195ab
4,514
cc
C++
Codeforces/256 Division 1/Problem C/C.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/256 Division 1/Problem C/C.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/256 Division 1/Problem C/C.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <cstdio> #include <iostream> #include <cmath> #include <algorithm> #include <cstring> #include <map> #include <set> #include <vector> #include <utility> #include <queue> #include <stack> #include <cassert> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&...
25.794286
139
0.518609
[ "vector" ]
996f035faf536d43f79cbcd0b1c79f0f03c2b042
2,649
hpp
C++
src/instance.hpp
jeffw387/vkaEngine
69bc21d4c10229ab823a887147cb45888d9afbaf
[ "MIT" ]
1
2019-01-12T22:11:32.000Z
2019-01-12T22:11:32.000Z
src/instance.hpp
jeffw387/vkaEngine
69bc21d4c10229ab823a887147cb45888d9afbaf
[ "MIT" ]
1
2019-01-15T23:10:50.000Z
2019-01-16T20:52:19.000Z
src/instance.hpp
jeffw387/vkaEngine
69bc21d4c10229ab823a887147cb45888d9afbaf
[ "MIT" ]
null
null
null
#include <vulkan/vulkan.h> #include <memory> #include <tl/expected.hpp> #include <vector> #include "gsl-lite.hpp" namespace vka { static const char* standard_validation = "VK_LAYER_LUNARG_standard_validation"; class instance { public: explicit instance(VkInstance instance) : m_instance(instance) {} ~ins...
25.970588
57
0.695734
[ "vector" ]
9975d3e7c371b96ce4de622c086b70a2c7e8244c
9,516
cc
C++
src/attributes/EpsgramDecoderAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
41
2018-12-07T23:10:50.000Z
2022-02-19T03:01:49.000Z
src/attributes/EpsgramDecoderAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
59
2019-01-04T15:43:30.000Z
2022-03-31T09:48:15.000Z
src/attributes/EpsgramDecoderAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
13
2019-01-07T14:36:33.000Z
2021-09-06T14:48:36.000Z
/****************************** LICENSE ******************************* * (C) Copyright 1996-2017 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the pr...
37.464567
96
0.73781
[ "vector" ]
9977371ccecdf0b7beb179a31f22c5ed0f4e70e0
1,539
cpp
C++
HomeworkCodes/outdated/2015_hw3_num_inversions/sample_code/cpp/baseline.cpp
senselab/CodeSensor
a9ba992d2ece3df8019e0d8b4c43e0ec9d811091
[ "BSD-2-Clause" ]
3
2016-07-26T09:22:49.000Z
2022-02-04T09:38:15.000Z
HomeworkCodes/outdated/2015_hw3_num_inversions/sample_code/cpp/baseline.cpp
senselab/CodeSensor
a9ba992d2ece3df8019e0d8b4c43e0ec9d811091
[ "BSD-2-Clause" ]
null
null
null
HomeworkCodes/outdated/2015_hw3_num_inversions/sample_code/cpp/baseline.cpp
senselab/CodeSensor
a9ba992d2ece3df8019e0d8b4c43e0ec9d811091
[ "BSD-2-Clause" ]
2
2017-11-19T23:29:43.000Z
2020-03-06T08:39:21.000Z
#include <cstdio> #include <vector> #include <algorithm> #include <utility> #include <string.h> #include <msgpack.hpp> #include <msgpack/fbuffer.hpp> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <stdlib.h> #include <time.h> using namespace std; long long int NumberOfInversions( vector<in...
15.237624
69
0.606238
[ "vector" ]
99797db822cc2e24f5f097533ea12147ca4b92e4
2,361
hpp
C++
word2vec.hpp
Astromis/tinyEmbeddingsEngine
fea1beb7b3fd32640f788209f79cc47312a20efb
[ "MIT" ]
null
null
null
word2vec.hpp
Astromis/tinyEmbeddingsEngine
fea1beb7b3fd32640f788209f79cc47312a20efb
[ "MIT" ]
null
null
null
word2vec.hpp
Astromis/tinyEmbeddingsEngine
fea1beb7b3fd32640f788209f79cc47312a20efb
[ "MIT" ]
1
2021-01-28T09:38:52.000Z
2021-01-28T09:38:52.000Z
#ifndef _WORD2VEC_H #define _WORD2VEC_H #define MAX_STRING 100 #define EXP_TABLE_SIZE 1000 #define MAX_EXP 6 #define MAX_SENTENCE_LENGTH 1000 #define MAX_CODE_LENGTH 40 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <pthread.h> #include <Eigen/Dense> #include <Eigen/Core> #inclu...
25.387097
94
0.689538
[ "vector" ]
5f56da854b00be85ae0f3f15fa83763c8ebaba9d
2,623
cpp
C++
src/fem/Assembler.cpp
tjhakkin/fluidtissue
4c3757bd9961690cb37ba51fbd89a78e4679b89e
[ "MIT" ]
null
null
null
src/fem/Assembler.cpp
tjhakkin/fluidtissue
4c3757bd9961690cb37ba51fbd89a78e4679b89e
[ "MIT" ]
null
null
null
src/fem/Assembler.cpp
tjhakkin/fluidtissue
4c3757bd9961690cb37ba51fbd89a78e4679b89e
[ "MIT" ]
null
null
null
#include <eigen3/Eigen/Sparse> #include <eigen3/Eigen/Geometry> #include "Assembler.hpp" #include "MathTypes.hpp" #include "common/Utils.hpp" namespace FEM { void Assembler::grad( const Mesh3D& mesh, const VecXd u, std::vector<Vec3f>& grad_t ) const { grad_t.resize( mesh.t().size() ); ...
30.149425
81
0.580633
[ "mesh", "geometry", "vector" ]
5f67f3959e0acaa46fad3318eba92ae0be44e083
1,210
cpp
C++
Implementation/ Manasa and Stones.cpp
StavrosChryselis/hackerrank
42a3e393231e237a99a9e54522ce3ec954bf614f
[ "MIT" ]
null
null
null
Implementation/ Manasa and Stones.cpp
StavrosChryselis/hackerrank
42a3e393231e237a99a9e54522ce3ec954bf614f
[ "MIT" ]
null
null
null
Implementation/ Manasa and Stones.cpp
StavrosChryselis/hackerrank
42a3e393231e237a99a9e54522ce3ec954bf614f
[ "MIT" ]
null
null
null
/* **************************************************************** **************************************************************** -> Coded by Stavros Chryselis -> Visit my github for more solved problems over multiple sites -> https://github.com/StavrosChryselis -> Feel free to email me at stavrikios@gm...
20.862069
75
0.404959
[ "vector" ]
5f697450d94d5b36ed6e7e3ce951e8b9713458d8
42,142
cpp
C++
pepnovo/src/QCDAT.cpp
compomics/jwrapper-pepnovo
1bd21a4910d7515dfab7747711917176a6b5ce99
[ "Apache-2.0" ]
null
null
null
pepnovo/src/QCDAT.cpp
compomics/jwrapper-pepnovo
1bd21a4910d7515dfab7747711917176a6b5ce99
[ "Apache-2.0" ]
null
null
null
pepnovo/src/QCDAT.cpp
compomics/jwrapper-pepnovo
1bd21a4910d7515dfab7747711917176a6b5ce99
[ "Apache-2.0" ]
null
null
null
#include "QuickClustering.h" #include "base64.h" DAT_FileBuff::~DAT_FileBuff() { if (buff && pos>buff) flush_buff(); if (buff) delete [] buff; } void DAT_FileBuff::init(string& _path, int dat_buff_size) { if (! ind_was_initialized) { buff = new char[dat_buff_size]; if (! buff) { ...
25.024941
131
0.598714
[ "vector" ]
5f7144368fe2748fbfdd5bdfaea1c96510b2c97d
1,331
cpp
C++
bootstrap/Game.cpp
deadglow/AIE-bootstrap-pathfinding
158ee426f896413d47293f3803a1a7aae687da21
[ "MIT" ]
1
2019-06-03T05:35:58.000Z
2019-06-03T05:35:58.000Z
bootstrap/Game.cpp
deadglow/AIE-bootstrap-pathfinding
158ee426f896413d47293f3803a1a7aae687da21
[ "MIT" ]
1
2019-05-29T00:41:13.000Z
2020-02-20T13:07:00.000Z
bootstrap/Game.cpp
deadglow/AIE-bootstrap-pathfinding
158ee426f896413d47293f3803a1a7aae687da21
[ "MIT" ]
null
null
null
#include "Game.h" #include "Application.h" #include "Input.h" #include "imgui_glfw3.h" namespace aie { Game::Game(const char* title, int width, int height, bool fullscreen) { // Create the Application. Application::Create(title, width, height, fullscreen); // Create the Input manager. Input::Create(); // Inita...
18.486111
69
0.677686
[ "render" ]
5f740fbafd12fa5c64044aa75b133288a60a7c43
2,237
cpp
C++
jpc/native/textbox/src/binding.cpp
Jim00000/RMMZ-Plugin-Collection
5bb530dd1fd1f6300ac10808f7e3734570c04d5d
[ "MIT" ]
3
2020-09-09T13:21:16.000Z
2021-03-30T02:35:33.000Z
jpc/native/textbox/src/binding.cpp
Jim00000/RMMZ-Plugin-Collection
5bb530dd1fd1f6300ac10808f7e3734570c04d5d
[ "MIT" ]
4
2020-09-09T07:18:06.000Z
2020-10-08T14:48:08.000Z
jpc/native/textbox/src/binding.cpp
Jim00000/RMMZ-Plugin-Collection
5bb530dd1fd1f6300ac10808f7e3734570c04d5d
[ "MIT" ]
6
2020-09-08T18:52:59.000Z
2022-03-04T10:31:38.000Z
#include <napi.h> #include <windows.h> #include "textbox.h" namespace { const std::wstring utf8ToWchar(const std::string& utf8) { std::wstring wchar(utf8.size(), 0); MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), utf8.size(), const_cast<LPWSTR>(wchar.c_str()), wchar.size()); return wch...
38.568966
125
0.680823
[ "object" ]
5f75ca254a2133e0ccc081b62329ffda3958e156
8,403
cpp
C++
Samples/ArchiveUtility/Sources/ArchiveUtility.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Samples/ArchiveUtility/Sources/ArchiveUtility.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Samples/ArchiveUtility/Sources/ArchiveUtility.cpp
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #include "Stroika/Frameworks/StroikaPreComp.h" #include <iostream> #include "Stroika/Foundation/Characters/ToString.h" #include "Stroika/Foundation/DataExchange/Archive/Reader.h" #include "Stroika/Foundation/Debug/Trace.h" #include "Stroik...
43.092308
183
0.610377
[ "vector" ]
5f7ead745b4a9979a382357759c8e1f9b3f7b58f
107,472
cc
C++
organizations/organizations.pb.cc
MruV-RP/mruv-pb-cpp
84bbde324c1c484d11909ac4b380c19a0db394ba
[ "MIT" ]
null
null
null
organizations/organizations.pb.cc
MruV-RP/mruv-pb-cpp
84bbde324c1c484d11909ac4b380c19a0db394ba
[ "MIT" ]
2
2020-11-22T15:45:25.000Z
2020-11-25T09:51:53.000Z
organizations/organizations.pb.cc
MruV-RP/mruv-pb-cpp
84bbde324c1c484d11909ac4b380c19a0db394ba
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: organizations/organizations.proto #include "organizations/organizations.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <goo...
41.494981
205
0.778138
[ "object" ]
5f84dc5507822fcbef062e54259d8b7d97c74376
559
cpp
C++
LeetCode/Solutions/LC0714.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
LeetCode/Solutions/LC0714.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
LeetCode/Solutions/LC0714.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
/* Problem Statement: https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/ Time: O(n) Space: O(1) Author: Mohammed Shoaib, github.com/Mohammed-Shoaib */ class Solution { public: int maxProfit(vector<int>& prices, int fee) { int n = prices.size(); vector<int> prev, dp(2); // ini...
21.5
102
0.631485
[ "vector" ]
5f8feab64ce0080b1be8d556481e297f0e2fc372
2,524
hpp
C++
dev/Code/Tools/CrySCompileServer/CrySCompileServer/Core/Server/CrySimpleCache.hpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Tools/CrySCompileServer/CrySCompileServer/Core/Server/CrySimpleCache.hpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Tools/CrySCompileServer/CrySCompileServer/Core/Server/CrySimpleCache.hpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
36.57971
119
0.525357
[ "vector" ]
5f90ef599488d685ee771bfc4a54b6858921e2f0
8,707
cpp
C++
es-core/src/guis/GuiTextEditPopupKeyboard.cpp
joaxn/EmulationStation
0a83e3bc1f63185fa7d38d5b83c8fb5869afffe3
[ "Apache-2.0", "MIT" ]
null
null
null
es-core/src/guis/GuiTextEditPopupKeyboard.cpp
joaxn/EmulationStation
0a83e3bc1f63185fa7d38d5b83c8fb5869afffe3
[ "Apache-2.0", "MIT" ]
null
null
null
es-core/src/guis/GuiTextEditPopupKeyboard.cpp
joaxn/EmulationStation
0a83e3bc1f63185fa7d38d5b83c8fb5869afffe3
[ "Apache-2.0", "MIT" ]
null
null
null
#include "guis/GuiTextEditPopupKeyboard.h" #include "components/MenuComponent.h" #include "utils/StringUtil.h" #include "Log.h" #include <locale> GuiTextEditPopupKeyboard::GuiTextEditPopupKeyboard(Window* window, const std::string& title, const std::string& initValue, const std::function<void(const std::string&)>& okC...
35.979339
336
0.678994
[ "vector" ]
5f9274d87e6c00d124a84125eba85f96d075b363
3,670
cpp
C++
lib/Target/Thru/MCTargetDesc/ThruMCTargetDesc.cpp
tkolar23/llvm-thruputer
1d7d69779eb8834fa2b792e72ab7e2819ec2cbec
[ "Apache-2.0" ]
null
null
null
lib/Target/Thru/MCTargetDesc/ThruMCTargetDesc.cpp
tkolar23/llvm-thruputer
1d7d69779eb8834fa2b792e72ab7e2819ec2cbec
[ "Apache-2.0" ]
null
null
null
lib/Target/Thru/MCTargetDesc/ThruMCTargetDesc.cpp
tkolar23/llvm-thruputer
1d7d69779eb8834fa2b792e72ab7e2819ec2cbec
[ "Apache-2.0" ]
null
null
null
//===-- ThruMCTargetDesc.cpp - Thru Target Descriptions -----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===---------------------------------------------------------...
36.336634
82
0.616621
[ "object" ]
5f96daba25a89812159e8f549f3c10858cb9359b
9,945
cpp
C++
MotionCueingInterface/Source/MotionCueingInterface/Private/MotionProbe.cpp
ue4plugins/MotionCueingInterface
ba7e30bd00422474745fe961a86dee4d49403cf0
[ "BSD-3-Clause" ]
7
2019-05-09T19:14:29.000Z
2021-02-11T13:21:21.000Z
MotionCueingInterface/Source/MotionCueingInterface/Private/MotionProbe.cpp
ue4plugins/MotionCueingInterface
ba7e30bd00422474745fe961a86dee4d49403cf0
[ "BSD-3-Clause" ]
null
null
null
MotionCueingInterface/Source/MotionCueingInterface/Private/MotionProbe.cpp
ue4plugins/MotionCueingInterface
ba7e30bd00422474745fe961a86dee4d49403cf0
[ "BSD-3-Clause" ]
2
2020-09-18T03:40:00.000Z
2022-02-15T19:38:43.000Z
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #include "MotionProbe.h" // IMPLEMENTATION NOTE: fmaheux // The controller needs to get data at high frequency (100-1000Hz) // Unfortunately, the usual Unreal project will run at a lower frequency, usually between 30-60 Hz // So we must collect the necessar...
44.596413
188
0.788135
[ "vector" ]
5fb1995bad6f60d0171f2193fde8b32217a79ce7
1,151
tpp
C++
uppdev/TopicTest/topic++/src/Src.tpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
uppdev/TopicTest/topic++/src/Src.tpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
uppdev/TopicTest/topic++/src/Src.tpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
GROUP("Core", "src") TOPIC("AIndex", "EN-US") #include "src$AIndex$EN-US.topic" END_TOPIC TOPIC("Vector", "CS-CZ") #include "src$Vector$CS-CZ.topic" END_TOPIC TOPIC("Array", "EN-US") #include "src$Array$EN-US.topic" END_TOPIC TOPIC("Array", "CS-CZ") #include "src$Array$CS-CZ.topic" END_TOPIC TOPI...
17.984375
38
0.662033
[ "vector" ]
5fbceb0934c54be222cf59c83a0f2e51804af542
2,685
cpp
C++
toolkits/examples/offlineEvaluate.cpp
bin70/Toolkit
ef47b0bd97334a2ceca415f01570886bfbb11e4a
[ "MIT" ]
null
null
null
toolkits/examples/offlineEvaluate.cpp
bin70/Toolkit
ef47b0bd97334a2ceca415f01570886bfbb11e4a
[ "MIT" ]
null
null
null
toolkits/examples/offlineEvaluate.cpp
bin70/Toolkit
ef47b0bd97334a2ceca415f01570886bfbb11e4a
[ "MIT" ]
1
2021-06-30T08:03:44.000Z
2021-06-30T08:03:44.000Z
#include <common.hpp> #include <utils/argparse.hpp> #include <io/TrajIO.hpp> #include <io/PCDOperator.hpp> #include <point_cloud/common.hpp> #include <build_map/MapManager.hpp> #include <visualization/ShowUtils.hpp> using namespace std; FileOperator fop; ShowUtils su; bool ShowUtils::isPause = true; bool show_cloud =...
26.584158
80
0.645438
[ "vector" ]
5fc81f216bf52d28157f56686da7b4abf25f8c70
6,889
cpp
C++
SDKs/CryCode/3.6.15/CryEngine/CryAction/Mannequin/ProceduralClipParticleEffect.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.6.15/CryEngine/CryAction/Mannequin/ProceduralClipParticleEffect.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.6.15/CryEngine/CryAction/Mannequin/ProceduralClipParticleEffect.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2001-2011. ------------------------------------------------------------------------- History: - 14:12:2011 Created by Jean Geffroy *************************************************************...
33.441748
159
0.702424
[ "transform" ]
5fd32939601f831e48bbfe1f6785d903dd628af3
920
cpp
C++
part-02/1_08_two-sum.cpp
abhijeetbodas2001/DSA
ff244dea639a4a5c203e21df3efa47ff079f452a
[ "MIT" ]
null
null
null
part-02/1_08_two-sum.cpp
abhijeetbodas2001/DSA
ff244dea639a4a5c203e21df3efa47ff079f452a
[ "MIT" ]
null
null
null
part-02/1_08_two-sum.cpp
abhijeetbodas2001/DSA
ff244dea639a4a5c203e21df3efa47ff079f452a
[ "MIT" ]
null
null
null
// Problem: https://leetcode.com/problems/two-sum/ // O(n) time, O(n) space two pass solution. // One can also d this in a single pass, because (a + b) == (b + a) holds! class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { int len = nums.size(); // Value to index mapping ...
28.75
74
0.488043
[ "vector" ]
5fd42a87ad2a75c4c17b77b925bbe15f03237a35
4,019
cpp
C++
Html_Table_Editor/Row.cpp
rickycorte/Html_Table_Editor
c379d0b268d2bced8d93454aa45396fd18af692c
[ "Apache-2.0" ]
null
null
null
Html_Table_Editor/Row.cpp
rickycorte/Html_Table_Editor
c379d0b268d2bced8d93454aa45396fd18af692c
[ "Apache-2.0" ]
1
2016-04-03T19:10:54.000Z
2016-04-03T19:15:07.000Z
Html_Table_Editor/Row.cpp
rickycorte/Html_Table_Editor
c379d0b268d2bced8d93454aa45396fd18af692c
[ "Apache-2.0" ]
1
2016-03-21T18:28:16.000Z
2016-03-21T18:28:16.000Z
/* Html_Table_Editor https://github.com/rickycorte/Html_Table_Editor Copyright (c) 2016 Ricky Corte Licenced under Apache 2.0 Licence http://www.apache.org/licenses/LICENSE-2.0 */ #include "Row.h" Row::Row(const std::string& input, const int rowNumber) : RowNumber(rowNumber) { std::string _input = input; //input =...
21.37766
144
0.655885
[ "vector" ]
5fdcd24618787848ca8cfe02509d1e0c68cb99d8
12,103
cpp
C++
extractor/zio.cpp
eiselekd/dumpbin-py-zfs-rescue
042ce02a574c3216a13b3b3c1a78b824d584eb14
[ "BSD-3-Clause" ]
5
2018-08-02T10:11:21.000Z
2021-01-30T13:31:07.000Z
extractor/zio.cpp
eiselekd/dumpbin-py-zfs-rescue
042ce02a574c3216a13b3b3c1a78b824d584eb14
[ "BSD-3-Clause" ]
1
2020-09-29T08:41:02.000Z
2020-09-29T08:41:02.000Z
extractor/zio.cpp
eiselekd/dumpbin-py-zfs-rescue
042ce02a574c3216a13b3b3c1a78b824d584eb14
[ "BSD-3-Clause" ]
1
2020-01-24T07:35:41.000Z
2020-01-24T07:35:41.000Z
#include "defs.h" #include <assert.h> #include <stddef.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "zio.h" #undef MAX #undef MIN #undef roundup #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define MIN(x, y) (((x) < (y)) ? (x) : (y)...
27.444444
140
0.609601
[ "object", "vector" ]
5fe71a1b8785c449af55668529719985af91c083
4,046
cpp
C++
ipsc/y2018/c.cpp
winger/team-competitions
df24b920181ddcee443764e956191ffc097f581f
[ "Unlicense" ]
1
2018-10-08T07:13:27.000Z
2018-10-08T07:13:27.000Z
ipsc/y2018/c.cpp
winger/team-competitions
df24b920181ddcee443764e956191ffc097f581f
[ "Unlicense" ]
null
null
null
ipsc/y2018/c.cpp
winger/team-competitions
df24b920181ddcee443764e956191ffc097f581f
[ "Unlicense" ]
null
null
null
#include <iostream> #include <tuple> #include <sstream> #include <vector> #include <cmath> #include <ctime> #include <bitset> #include <cassert> #include <cstdio> #include <queue> #include <set> #include <map> #include <fstream> #include <cstdlib> #include <string> #include <cstring> #include <algorithm> #include <nume...
24.822086
98
0.47479
[ "vector" ]
5feacb01e46321755a3421131d2f72d314360507
3,014
cpp
C++
test/test_entity.cpp
rht/ESL
f883155a167d3c48e5ecdca91c8302fefc901c22
[ "Apache-2.0" ]
37
2019-10-13T12:23:32.000Z
2022-03-19T10:40:29.000Z
test/test_entity.cpp
rht/ESL
f883155a167d3c48e5ecdca91c8302fefc901c22
[ "Apache-2.0" ]
3
2020-03-20T04:44:06.000Z
2021-01-12T06:18:33.000Z
test/test_entity.cpp
vishalbelsare/ESL
cea6feda1e588d5f441742dbb1e4c5479b47d357
[ "Apache-2.0" ]
10
2019-11-06T15:59:06.000Z
2021-08-09T17:28:24.000Z
/// \file test_entity.cpp /// /// \brief /// /// \authors Maarten P. Scholl /// \date 2019-08-15 /// \copyright Copyright 2017-2019 The Institute for New Economic Thinking, /// Oxford Martin School, University of Oxford /// /// Licensed under the Apache License, Version 2.0 (the "Lic...
28.704762
111
0.671201
[ "object" ]
5ff94560164e1f77977cd387ac2e6a9ce2378c2a
3,150
hpp
C++
include/iris/internal/broker_impl.hpp
p-ranav/iris
d45ff0a719196eaf3630cbc29ffda41dd9915593
[ "MIT" ]
50
2020-04-07T13:38:29.000Z
2022-01-21T11:25:33.000Z
include/iris/internal/broker_impl.hpp
p-ranav/iris
d45ff0a719196eaf3630cbc29ffda41dd9915593
[ "MIT" ]
1
2020-04-14T09:42:53.000Z
2020-04-14T14:07:20.000Z
include/iris/internal/broker_impl.hpp
p-ranav/iris
d45ff0a719196eaf3630cbc29ffda41dd9915593
[ "MIT" ]
3
2020-04-10T12:55:16.000Z
2020-04-25T09:51:55.000Z
#pragma once #include <atomic> #include <functional> #include <iris/cereal/archives/json.hpp> #include <iris/cereal/archives/portable_binary.hpp> #include <iris/cppzmq/zmq.hpp> #include <iris/kwargs.hpp> #include <iris/operation.hpp> #include <iris/task_system.hpp> #include <memory> #include <queue> #include <string> #...
27.391304
73
0.595873
[ "vector" ]
5fff0b9b4dc83525dbf72934d1762f81bcbd660b
11,011
cpp
C++
modules/task_3/kruglov_algorithm_strassen/Strassen_algorithm.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_3/kruglov_algorithm_strassen/Strassen_algorithm.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/kruglov_algorithm_strassen/Strassen_algorithm.cpp
Stepakrap/pp_2021_autumn
716803a14183172337d51712fb28fe8e86891a3d
[ "BSD-3-Clause" ]
3
2022-02-23T14:20:50.000Z
2022-03-30T09:00:02.000Z
// Copyright 2021 Kruglov Aleksei #include <mpi.h> #include <algorithm> #include <iostream> #include <climits> #include <fstream> #include <sstream> #include <random> #include <cmath> #include "../../../modules/task_3/kruglov_algorithm_strassen/Strassen_algorithm.h" Matrix get_random_matrix(int height, int width, doub...
37.708904
107
0.527654
[ "vector" ]
dfdf2ab6ebc92b09554187fa10378915c685e8c4
3,928
cpp
C++
core/src/data/networkDataSource.cpp
yuqicxy/tangram-es
7c5c879cac79a77fd3691fc98c0447d02b6b73d3
[ "MIT" ]
769
2015-02-26T13:05:53.000Z
2022-03-31T16:34:37.000Z
core/src/data/networkDataSource.cpp
yuqicxy/tangram-es
7c5c879cac79a77fd3691fc98c0447d02b6b73d3
[ "MIT" ]
1,740
2015-01-05T23:46:33.000Z
2022-03-22T19:23:44.000Z
core/src/data/networkDataSource.cpp
yuqicxy/tangram-es
7c5c879cac79a77fd3691fc98c0447d02b6b73d3
[ "MIT" ]
254
2015-02-28T08:58:59.000Z
2022-02-27T07:32:35.000Z
#include "data/networkDataSource.h" #include "log.h" #include "platform.h" namespace Tangram { NetworkDataSource::NetworkDataSource(Platform& _platform, std::string url, UrlOptions options) : m_platform(_platform), m_urlTemplate(std::move(url)), m_options(std::move(options)) {} std::string NetworkDataSo...
30.449612
147
0.582739
[ "vector" ]
dfedde047e70543dad2b766dd28c7ae9022e5a2d
28,909
cpp
C++
src/mj_sim.cpp
rohanpsingh/mc_mujoco
dd944da579a715967098c9d8261753d50ee4299c
[ "BSD-2-Clause" ]
8
2021-09-15T07:43:31.000Z
2021-12-28T08:18:22.000Z
src/mj_sim.cpp
rohanpsingh/mc_mujoco
dd944da579a715967098c9d8261753d50ee4299c
[ "BSD-2-Clause" ]
3
2021-09-15T09:56:44.000Z
2021-11-12T05:02:58.000Z
src/mj_sim.cpp
rohanpsingh/mc_mujoco
dd944da579a715967098c9d8261753d50ee4299c
[ "BSD-2-Clause" ]
4
2021-09-15T06:48:40.000Z
2022-02-28T10:14:27.000Z
#include "mj_sim_impl.h" #include "mj_utils.h" #include <cassert> #include <chrono> #include <type_traits> #include "MujocoClient.h" #include "config.h" #include "backends/imgui_impl_glfw.h" #include "backends/imgui_impl_opengl3.h" #include "implot.h" #include "ImGuizmo.h" #include "MujocoClient.h" #include <boo...
30.494726
120
0.612923
[ "render", "vector", "model" ]
dff296768bf3b36af5b7b466719fa44acd92596b
3,713
cpp
C++
scratch/projects/folds/xCylinder2.cpp
tingelst/versor
c831231e5011cfd1f62da8948cff7956d2f6670b
[ "BSD-3-Clause" ]
null
null
null
scratch/projects/folds/xCylinder2.cpp
tingelst/versor
c831231e5011cfd1f62da8948cff7956d2f6670b
[ "BSD-3-Clause" ]
null
null
null
scratch/projects/folds/xCylinder2.cpp
tingelst/versor
c831231e5011cfd1f62da8948cff7956d2f6670b
[ "BSD-3-Clause" ]
null
null
null
/* * ===================================================================================== * * Filename: xCylinder2.cpp * * Description: * * Version: 1.0 * Created: 12/20/2013 12:55:46 * Revision: none * Compiler: gcc * * Author: Pablo Colapinto (), wolftyp...
24.427632
110
0.424185
[ "vector" ]
5f0e2be47fd5ebf3b435c193529f87a3fb6813cc
6,429
hpp
C++
include/neo_state_machine.hpp
obhi-d/neoscript
408d95d06e5317b3873c9eed5559ac1ed5818bb9
[ "MIT" ]
null
null
null
include/neo_state_machine.hpp
obhi-d/neoscript
408d95d06e5317b3873c9eed5559ac1ed5818bb9
[ "MIT" ]
null
null
null
include/neo_state_machine.hpp
obhi-d/neoscript
408d95d06e5317b3873c9eed5559ac1ed5818bb9
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <forward_list> #include <istream> #include <memory> #include <optional> #include <string> #include <string_view> #include <unordered_map> #include <vector> // neo #include <neo_command.hpp> #include <neo_command_instance.hpp> #include <neo_command_template.hpp> #include <neo_...
27.474359
80
0.646446
[ "vector" ]
5f2cf216a76c06f3c6408ad945e1540b3421826c
13,969
cpp
C++
prob.cpp
juliannieb/IALab4
7612df2cb3f895a69bf50a36e3f31c092d0ac515
[ "MIT" ]
null
null
null
prob.cpp
juliannieb/IALab4
7612df2cb3f895a69bf50a36e3f31c092d0ac515
[ "MIT" ]
null
null
null
prob.cpp
juliannieb/IALab4
7612df2cb3f895a69bf50a36e3f31c092d0ac515
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <iostream> #include <vector> #include <map> #include <string> #include <set> #include <stack> #include <algorithm> using namespace std; struct node { string key; vector<node*> parents; map<string, int> idxOfParents; map<string, float> probabilitiesTable; float probab...
30.904867
108
0.628177
[ "vector" ]
5f3724a07317ee2fe26ae2507e41caef96ebf94a
25,455
cpp
C++
source/EterLib/StateManager.cpp
beetle2k/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
13
2018-08-27T19:06:54.000Z
2021-11-12T05:44:04.000Z
source/EterLib/StateManager.cpp
stempomzeskas/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
null
null
null
source/EterLib/StateManager.cpp
stempomzeskas/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
15
2018-10-25T14:28:10.000Z
2022-03-25T14:05:09.000Z
#include "StdAfx.h" #include "StateManager.h" //#define StateManager_Assert(a) if (!(a)) puts("assert"#a) #define StateManager_Assert(a) assert(a) struct SLightData { enum { LIGHT_NUM = 8, }; D3DLIGHT8 m_akD3DLight[LIGHT_NUM]; } m_kLightData; void CStateManager::SetLight(DWORD index, CONST D3DLIGHT8* pLight)...
33.058442
259
0.803104
[ "render", "transform" ]
5f3738befebbf4d4c2fd943ee1a4f14f8b4284e6
2,796
cpp
C++
src/bug_03.cpp
happanda/advent_2017
9e705f3088d79dac0caa471154ae88ed5106b2d2
[ "MIT" ]
null
null
null
src/bug_03.cpp
happanda/advent_2017
9e705f3088d79dac0caa471154ae88ed5106b2d2
[ "MIT" ]
null
null
null
src/bug_03.cpp
happanda/advent_2017
9e705f3088d79dac0caa471154ae88ed5106b2d2
[ "MIT" ]
null
null
null
#include "advent.h" std::pair<int, int> runFix2_toCoordinates(int N) { const int maxTier = static_cast<int>((-1.0 + std::sqrt(N)) / 2.0); const int tailLen = N - 1 - 4 * (1 + maxTier) * maxTier; std::pair<int, int> coords(maxTier, - maxTier); coords.first = coords.first + (tailLen > 0 ? 1 : 0); coords.second = ...
26.628571
120
0.590129
[ "vector" ]
5f3d9cebf54b2636d1dabfef5548f415b7573044
685
cpp
C++
String/42_recursive_sentence_generation.cpp
ritikrajdev/450DSA
a9efa8c8be781fd7b101407ac807a83b8a0929f4
[ "MIT" ]
null
null
null
String/42_recursive_sentence_generation.cpp
ritikrajdev/450DSA
a9efa8c8be781fd7b101407ac807a83b8a0929f4
[ "MIT" ]
null
null
null
String/42_recursive_sentence_generation.cpp
ritikrajdev/450DSA
a9efa8c8be781fd7b101407ac807a83b8a0929f4
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include "general.h" using namespace std; namespace ritik { void generate_sentences(vector<vector<string>> &vec, int curr = -1, string output = "") { if (curr == -1) curr = vec.size(); if (curr == 0) cout << outp...
22.096774
79
0.515328
[ "vector" ]
5f3db91c6df0f5396ce5256efa160474716d9255
29,603
cpp
C++
src/node_graphics_view.cpp
zcutech/NodeTiler
e592d11962e2c87547fc6ed5631fb13e1a5eb5bd
[ "MIT" ]
4
2021-10-07T21:48:48.000Z
2022-03-30T15:04:12.000Z
src/node_graphics_view.cpp
zcutech/NodeTiler
e592d11962e2c87547fc6ed5631fb13e1a5eb5bd
[ "MIT" ]
null
null
null
src/node_graphics_view.cpp
zcutech/NodeTiler
e592d11962e2c87547fc6ed5631fb13e1a5eb5bd
[ "MIT" ]
null
null
null
// // Created by Charlie Zhong on 2021/9/6. // #include "node_graphics_view.h" #include <cmath> #include <QtWidgets> #include "node_graphics_wire.h" #include "node_graphics_socket.h" #include "node_graphics_scene.h" #include "node_graphics_cutline.h" #include "node_graphics_selection.h" #include "node_graphics_node...
37.567259
109
0.593048
[ "object" ]
5f467f06b5da89a52979ad1bddd322c9ae6125cf
7,017
cpp
C++
modules/task_2/makarov_a_jacobi_method/jacobi_method.cpp
LioBuitrago/pp_2020_autumn_informatics
1ecc1b5dae978295778176ff11ffe42bedbc602e
[ "BSD-3-Clause" ]
1
2020-11-20T15:05:12.000Z
2020-11-20T15:05:12.000Z
modules/task_2/makarov_a_jacobi_method/jacobi_method.cpp
LioBuitrago/pp_2020_autumn_informatics
1ecc1b5dae978295778176ff11ffe42bedbc602e
[ "BSD-3-Clause" ]
1
2021-02-13T03:00:05.000Z
2021-02-13T03:00:05.000Z
modules/task_2/makarov_a_jacobi_method/jacobi_method.cpp
LioBuitrago/pp_2020_autumn_informatics
1ecc1b5dae978295778176ff11ffe42bedbc602e
[ "BSD-3-Clause" ]
1
2020-10-11T09:11:57.000Z
2020-10-11T09:11:57.000Z
// Copyright 2020 Makarov Alexander #include <mpi.h> #include <vector> #include <random> #include "../../../modules/task_2/makarov_a_jacobi_method/jacobi_method.h" std::vector<double> generate_A(int size) { // diagonally dominant matrix generator if (size <=0) return std::vector<double>(); std::random_devi...
35.261307
79
0.508764
[ "vector" ]
5f4aff76add1c9417042c79afa16557392aeaf4f
1,050
hpp
C++
Outpost/CommodityDeck.hpp
chiendarrendor/AlbertsGameMachine
29855669056bf23666791960dc2e79eab47f6a0b
[ "MIT" ]
null
null
null
Outpost/CommodityDeck.hpp
chiendarrendor/AlbertsGameMachine
29855669056bf23666791960dc2e79eab47f6a0b
[ "MIT" ]
null
null
null
Outpost/CommodityDeck.hpp
chiendarrendor/AlbertsGameMachine
29855669056bf23666791960dc2e79eab47f6a0b
[ "MIT" ]
null
null
null
#include "Serialize.hpp" #include "Commodity.hpp" class CommodityDeck { public: CommodityDeck(); CommodityDeck(CommodityType i_type,int i_megavalue,int i_averagevalue); CommodityDeck(const CommodityDeck &i_right); CommodityDeck &operator=(const CommodityDeck &i_right); int GetDeckSize() const; int GetDis...
21.875
79
0.741905
[ "vector" ]
5f4ff267c345a586d2d4599e3d24b8d0dbe95548
2,928
cpp
C++
engine/src/Sprite.cpp
CutiaGames/CutiaEngine
b81d9e7a01c7ec6f49d2a94df1a1976ac7634151
[ "MIT" ]
1
2018-05-11T04:11:27.000Z
2018-05-11T04:11:27.000Z
engine/src/Sprite.cpp
CutiaGames/CutiaEngine
b81d9e7a01c7ec6f49d2a94df1a1976ac7634151
[ "MIT" ]
8
2018-05-11T03:15:30.000Z
2018-06-06T18:47:58.000Z
engine/src/Sprite.cpp
CutiaGames/CutiaEngine
b81d9e7a01c7ec6f49d2a94df1a1976ac7634151
[ "MIT" ]
1
2018-05-11T16:28:17.000Z
2018-05-11T16:28:17.000Z
#include "Sprite.hpp" #include "Game.hpp" #include "Resources.hpp" #include "Camera.hpp" Sprite::Sprite(GameObject& associated) : Component(associated) { texture = nullptr; scale = Vec2(1.f, 1.f); } Sprite::Sprite(GameObject& associated, std::string file, int frameCount, float frameTime, float secondsToSelfDe...
19.651007
139
0.639686
[ "render" ]
55046835167ff1e8d778ebb795892f439e0bab6a
3,813
hpp
C++
nd/src/Operators.hpp
Steve132/ndarray
33962eefc5b7bb031c70b5de8c81365e2638b5f6
[ "MIT" ]
null
null
null
nd/src/Operators.hpp
Steve132/ndarray
33962eefc5b7bb031c70b5de8c81365e2638b5f6
[ "MIT" ]
null
null
null
nd/src/Operators.hpp
Steve132/ndarray
33962eefc5b7bb031c70b5de8c81365e2638b5f6
[ "MIT" ]
null
null
null
#ifndef NDARRAY_SRC_OPERATORS_HPP #define NDARRAY_SRC_OPERATORS_HPP #include<type_traits> #include<iostream> namespace nd { template<class ArrayClass,typename std::enable_if<ArrayClass::num_dimensions==1,int>::type = 0> std::ostream& operator<<(std::ostream& out,const ArrayClass& arr) { for(size_t i=0;i<arr.shap...
28.669173
109
0.709415
[ "shape" ]
550546946916acbaba706ae18a55bbb14bc6fd22
38,445
cpp
C++
imgui_nodes.cpp
pborsutzki/imgui-nodes
51146bd146b6dfbae51e662731a1a1d7a52d1534
[ "BSD-3-Clause" ]
10
2018-01-27T19:01:04.000Z
2021-11-04T19:22:10.000Z
imgui_nodes.cpp
pborsutzki/imgui-nodes
51146bd146b6dfbae51e662731a1a1d7a52d1534
[ "BSD-3-Clause" ]
null
null
null
imgui_nodes.cpp
pborsutzki/imgui-nodes
51146bd146b6dfbae51e662731a1a1d7a52d1534
[ "BSD-3-Clause" ]
3
2019-11-24T07:57:06.000Z
2020-11-26T11:47:50.000Z
#include "imgui_nodes.hpp" #include <imgui.h> #ifndef IMGUI_DEFINE_MATH_OPERATORS #define IMGUI_DEFINE_MATH_OPERATORS #endif // IMGUI_DEFINE_MATH_OPERATORS //#define IMGUI_ANTIALIASFRINGESCALE #include <imgui_internal.h> #include <math.h> #include <vector> #include <array> #include <algorithm> #include "cubicSpl...
38.026706
219
0.622162
[ "geometry", "render", "vector" ]
550775e82dc72e1a11a50c4a381b4e1adb2b5fcd
19,579
cpp
C++
Engine_Source/Source/Platform/DirectX_11/Direct3D11_Context.cpp
GCourtney27/DirectX11RenderingEngine
ebbe470b697c6e5ab98502c0be4163500d91641a
[ "Apache-2.0" ]
2
2021-01-29T08:03:01.000Z
2021-04-10T19:18:54.000Z
Engine_Source/Source/Platform/DirectX_11/Direct3D11_Context.cpp
GCourtney27/DirectX11RenderingEngine
ebbe470b697c6e5ab98502c0be4163500d91641a
[ "Apache-2.0" ]
3
2020-06-04T23:37:07.000Z
2020-06-04T23:39:04.000Z
Engine_Source/Source/Platform/DirectX_11/Direct3D11_Context.cpp
GCourtney27/DirectX11RenderingEngine
ebbe470b697c6e5ab98502c0be4163500d91641a
[ "Apache-2.0" ]
1
2021-04-10T13:36:23.000Z
2021-04-10T13:36:23.000Z
#include <Engine_pch.h> #include "Direct3D11_Context.h" #include "Insight/Core/Application.h" #include "Platform/Win32/Win32_Window.h" #include "Platform/DirectX_11/Geometry/D3D11_Index_Buffer.h" #include "Platform/DirectX_11/Geometry/D3D11_Vertex_Buffer.h" #include "Platform/DirectX_11/Geometry/D3D11_Sphere_Renderer...
34.050435
257
0.76439
[ "geometry", "render" ]
550e1cde56d4ce52190173247997fb46974976fb
8,857
cpp
C++
src/3rdparty/khtml/src/svg/SVGMaskElement.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/svg/SVGMaskElement.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/svg/SVGMaskElement.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 2005 Alexander Kellett <lypanov@kde.org> This file is part of the KDE project This library is free software; you can redistribute it and/or ...
36.29918
164
0.685672
[ "render" ]
550e98c93fd6b829316c0fbb8807e4bf60d59abd
3,098
hpp
C++
include/dctl/util/stopwatch.hpp
sagarpant1/dctl
b858fa139159eff73e8f3eec32da93ba077e0bd3
[ "BSL-1.0" ]
null
null
null
include/dctl/util/stopwatch.hpp
sagarpant1/dctl
b858fa139159eff73e8f3eec32da93ba077e0bd3
[ "BSL-1.0" ]
null
null
null
include/dctl/util/stopwatch.hpp
sagarpant1/dctl
b858fa139159eff73e8f3eec32da93ba077e0bd3
[ "BSL-1.0" ]
1
2020-07-27T14:19:28.000Z
2020-07-27T14:19:28.000Z
#pragma once // Copyright Rein Halbersma 2010-2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <cassert> // assert #include <chrono> // duration_cast, steady_clock,...
26.033613
85
0.428341
[ "vector" ]
55281fc9fe8566c22016ca9153aaa8e693c42c81
6,300
cpp
C++
HW05_Philip_Mark/stereo_analysis_partA_B.cpp
idungoofed/advanced_cv
5399ad7b1a0e20e8eb9eb6e7ae1e5502be2db9f3
[ "MIT" ]
null
null
null
HW05_Philip_Mark/stereo_analysis_partA_B.cpp
idungoofed/advanced_cv
5399ad7b1a0e20e8eb9eb6e7ae1e5502be2db9f3
[ "MIT" ]
null
null
null
HW05_Philip_Mark/stereo_analysis_partA_B.cpp
idungoofed/advanced_cv
5399ad7b1a0e20e8eb9eb6e7ae1e5502be2db9f3
[ "MIT" ]
null
null
null
/** Author: Mark Philip (msp3430) * * Inspired by: * - https://github.com/sourishg/stereo-calibration/blob/master/calib_intrinsic.cpp * - https://github.com/daviddoria/Examples/blob/master/c%2B%2B/OpenCV/CheckerBoardCalibration/CalibrateAndDisplay.cxx * - https://docs.opencv.org/3.1.0/d4/d94/tutorial_c...
38.650307
122
0.604286
[ "vector" ]
552d0535311ae5b07c2df61f746d82a9a8c83fdb
27,805
cxx
C++
main/sd/source/ui/func/fuinsfil.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sd/source/ui/func/fuinsfil.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sd/source/ui/func/fuinsfil.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
33.867235
139
0.667722
[ "vector" ]
5532acc38cc136967489107863d71da456057191
5,011
cpp
C++
transformsystem.cpp
nvpro-samples/gl_cadscene_rendertechniques
70becfc08318c54c2de45f1791e6c7f821144029
[ "Apache-2.0" ]
134
2015-01-09T13:00:56.000Z
2022-02-06T06:23:25.000Z
transformsystem.cpp
nvpro-samples/gl_cadscene_rendertechniques
70becfc08318c54c2de45f1791e6c7f821144029
[ "Apache-2.0" ]
4
2015-08-23T17:44:59.000Z
2019-11-14T14:08:27.000Z
transformsystem.cpp
nvpro-samples/gl_cadscene_rendertechniques
70becfc08318c54c2de45f1791e6c7f821144029
[ "Apache-2.0" ]
38
2015-02-13T22:27:09.000Z
2021-10-16T00:36:26.000Z
/* * Copyright (c) 2014-2021, NVIDIA CORPORATION. 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 ...
34.798611
129
0.735981
[ "vector" ]
5534141f72a5c61a88cbd9ab80890aef8b1d259c
1,176
cpp
C++
Application.cpp
Teeson4/Gong
4104e3389971072b7b43855f8a872d691ecc212e
[ "Apache-2.0" ]
1
2020-06-30T22:47:06.000Z
2020-06-30T22:47:06.000Z
Application.cpp
Teeson4/Gong
4104e3389971072b7b43855f8a872d691ecc212e
[ "Apache-2.0" ]
null
null
null
Application.cpp
Teeson4/Gong
4104e3389971072b7b43855f8a872d691ecc212e
[ "Apache-2.0" ]
null
null
null
#include "Game.h" #include "Timer.h" #define APP_TAG "Application" const int FPS = 60; const int DELAY_TIME = FPS / 1000; int main(int argc, char* args[]) { Timer initTimer; initTimer.start(); if (!g_Game->create()) { Logger::error(APP_TAG, "Failed to create Game."); } else { Logger:...
19.6
122
0.60034
[ "render" ]
553ad08ef40acee38b060d456720a393246a3750
903
cpp
C++
examples/common/straight_line_measurements.cpp
ThorsteinnJonsson/kalman-cpp
cb4ee483c32f051d4964d46d7f7858ca1f54a8ae
[ "MIT" ]
null
null
null
examples/common/straight_line_measurements.cpp
ThorsteinnJonsson/kalman-cpp
cb4ee483c32f051d4964d46d7f7858ca1f54a8ae
[ "MIT" ]
null
null
null
examples/common/straight_line_measurements.cpp
ThorsteinnJonsson/kalman-cpp
cb4ee483c32f051d4964d46d7f7858ca1f54a8ae
[ "MIT" ]
null
null
null
#include "straight_line_measurements.h" std::vector<Measurement> GenerateStraightLineMeasurements(float meas_var, float process_var, float dt, si...
31.137931
76
0.545958
[ "vector" ]
553d81f574f901fe3bb5da04c4e226f84fd304c9
357
cpp
C++
lec_04/recursive_sum.cpp
diable201/Grokking_Algorithms
2597b93a91ec5aabc06f9791b42de03f7d01656b
[ "MIT" ]
1
2020-09-11T10:25:32.000Z
2020-09-11T10:25:32.000Z
lec_04/recursive_sum.cpp
diable201/Grokking_Algorithms
2597b93a91ec5aabc06f9791b42de03f7d01656b
[ "MIT" ]
null
null
null
lec_04/recursive_sum.cpp
diable201/Grokking_Algorithms
2597b93a91ec5aabc06f9791b42de03f7d01656b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; template <typename T> T recursive_sum(vector<T> arr) { if (arr.empty()) return 0; T last_num = arr.back(); arr.pop_back(); return last_num + recursive_sum(arr); } int main() { vector<int> arr_int = {1, 4, 2, 5, 7}; cout << recursive_...
18.789474
43
0.616246
[ "vector" ]
553e8b035241c7bcea83f4a8b7c17dc4f095da3d
4,184
cpp
C++
common/graph_opts/phi_node_removal.cpp
Sacusa/ALADDIN
45ff9ab7edf84dfa964bc870f0c3634d1a4c55fb
[ "BSD-3-Clause" ]
82
2015-04-12T17:29:48.000Z
2020-06-19T00:33:51.000Z
common/graph_opts/phi_node_removal.cpp
Sacusa/ALADDIN
45ff9ab7edf84dfa964bc870f0c3634d1a4c55fb
[ "BSD-3-Clause" ]
31
2015-05-13T09:43:00.000Z
2020-06-20T16:26:06.000Z
common/graph_opts/phi_node_removal.cpp
Sacusa/ALADDIN
45ff9ab7edf84dfa964bc870f0c3634d1a4c55fb
[ "BSD-3-Clause" ]
47
2015-02-10T02:37:11.000Z
2020-06-04T01:24:01.000Z
#include "phi_node_removal.h" // Phi node removal. // // Phi nodes are useful in static compiler analysis but do not need to be // accounted for during simulation. Remove all phi nodes and attach the phi // node's parent to all of its children. std::string PhiNodeRemoval::getCenteredName(size_t size) { return " Re...
41.425743
80
0.6587
[ "vector" ]
553ea5d8af1547712abc82255b76d4b17b80f390
385,088
cpp
C++
hipify-clang/src/Cuda2Hip.cpp
scchan/HIP
2db70fe5fdc701e1eedc73bea1d247cda855ef05
[ "MIT" ]
null
null
null
hipify-clang/src/Cuda2Hip.cpp
scchan/HIP
2db70fe5fdc701e1eedc73bea1d247cda855ef05
[ "MIT" ]
1
2019-04-26T12:23:00.000Z
2019-05-15T14:49:19.000Z
hipify-clang/src/Cuda2Hip.cpp
scchan/HIP
2db70fe5fdc701e1eedc73bea1d247cda855ef05
[ "MIT" ]
null
null
null
/* Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. 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, co...
89.017106
262
0.655481
[ "object", "vector" ]
55456c6f966e2f7e3458c2ef74fd5e97b2f79bcd
15,711
cpp
C++
render/samples/Texture/src/App.cpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
17
2019-02-12T14:40:06.000Z
2021-12-21T12:54:17.000Z
render/samples/Texture/src/App.cpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
null
null
null
render/samples/Texture/src/App.cpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
2
2019-02-21T10:07:42.000Z
2020-05-08T19:49:10.000Z
#include "App.hpp" #include <storm/log/LogHandler.hpp> #include <storm/window/Window.hpp> #include <storm/image/Image.hpp> #include <storm/render/core/Instance.hpp> #include <storm/render/core/PhysicalDevice.hpp> #include <storm/render/core/PhysicalDeviceInfo.hpp> #include <storm/render/core/WindowSurfac...
49.87619
101
0.570556
[ "mesh", "render", "vector", "model" ]
554682db290f1024ea6e2f9a21c9ee15c0d3311c
3,065
cpp
C++
Player.cpp
leguims/Quoridor
1134d35a0943beda365baa33a991916fce859bda
[ "Apache-2.0" ]
1
2018-07-05T07:59:09.000Z
2018-07-05T07:59:09.000Z
Player.cpp
leguims/Quoridor
1134d35a0943beda365baa33a991916fce859bda
[ "Apache-2.0" ]
1
2018-07-05T08:10:51.000Z
2018-07-06T22:38:45.000Z
Player.cpp
leguims/Quoridor
1134d35a0943beda365baa33a991916fce859bda
[ "Apache-2.0" ]
null
null
null
#include "Player.h" #include <vector> #include <string> #include <iostream> #include <random> Player::Player(const PlayerName & name, const Color & color, const BoardPosition & startPosition) : name_{ name }, color_{ color }, walls_{ 10 }, startPosition_{ startPosition }, arrivalPosition_{} { } Move Player::getN...
36.488095
170
0.620881
[ "vector" ]
554743b39162c093154164970e4a3c49325e2897
1,071
hpp
C++
src/pushButton.hpp
NickCis/nodeQt
689c084cce0fd3570daeb531ecb5807ae6d377e0
[ "Unlicense" ]
2
2018-09-29T07:50:06.000Z
2020-03-18T21:25:44.000Z
src/pushButton.hpp
NickCis/nodeQt
689c084cce0fd3570daeb531ecb5807ae6d377e0
[ "Unlicense" ]
null
null
null
src/pushButton.hpp
NickCis/nodeQt
689c084cce0fd3570daeb531ecb5807ae6d377e0
[ "Unlicense" ]
null
null
null
#ifndef PUSHBUTTON_HPP #define PUSHBUTTON_HPP #include <node/v8.h> #include <node/node.h> #include <QPushButton> #include "Widget.hpp" #include "QtAction.hpp" //TODO: sacar stdio.h #include <stdio.h> class PushButton : public node::ObjectWrap { public: static v8::Persistent<v8::FunctionTemplate> constructor; s...
26.775
93
0.730159
[ "object" ]
555d3208f190467a4bebfbaa7a7d822cb0d7a414
814
cpp
C++
Sid's Levels/Level - 3/Arrays/Rain.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
Sid's Levels/Level - 3/Arrays/Rain.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
Sid's Levels/Level - 3/Arrays/Rain.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
class Solution { public: int trap(vector<int>& height) { //OM GAN GANAPATHAYE NAMO NAMAH //JAI SHRI RAM //JAI BAJRANGBALI //AMME NARAYANA, DEVI NARAYANA, LAKSHMI NARAYANA, BHADRE NARAYANA vector<int> left(height.size()), right(height.size()); int maxLeft = INT_MIN,...
29.071429
73
0.479115
[ "vector" ]
556a44c5a232f43f4c5e4fed557b4fe3f33a0740
2,963
hpp
C++
include/paddyutils/functions/getIntersection.hpp
paddy74/paddyutils
e2be1cbee56fffbb225588b391d4efac2a287a1c
[ "MIT" ]
null
null
null
include/paddyutils/functions/getIntersection.hpp
paddy74/paddyutils
e2be1cbee56fffbb225588b391d4efac2a287a1c
[ "MIT" ]
null
null
null
include/paddyutils/functions/getIntersection.hpp
paddy74/paddyutils
e2be1cbee56fffbb225588b391d4efac2a287a1c
[ "MIT" ]
null
null
null
#pragma once #include <unordered_set> namespace paddyutils { /** * @brief Get the intersecting terms of two sets * * @tparam T * @param a * @param b * @return std::list<T> */ template <typename T> std::set<T> getIntersection(std::set<T> const & a, std::set<T> const & b) { std::set<T> interLst; std::se...
21.786765
78
0.591968
[ "vector" ]
556a675fab1de24a03e167b24647fb5d293a8a69
10,813
cpp
C++
Simulink/RS232_SynchB_Buffer.cpp
LeonardoDaga/RS232_For_Matlab
ec4a2c0d9b229d9ac561493d15b4508227d712de
[ "MIT" ]
null
null
null
Simulink/RS232_SynchB_Buffer.cpp
LeonardoDaga/RS232_For_Matlab
ec4a2c0d9b229d9ac561493d15b4508227d712de
[ "MIT" ]
null
null
null
Simulink/RS232_SynchB_Buffer.cpp
LeonardoDaga/RS232_For_Matlab
ec4a2c0d9b229d9ac561493d15b4508227d712de
[ "MIT" ]
1
2021-11-30T19:54:09.000Z
2021-11-30T19:54:09.000Z
/* * File : RS232_Read.c */ #define S_FUNCTION_NAME RS232_SynchB_Buffer #define S_FUNCTION_LEVEL 2 #include <stdio.h> #include <ctype.h> #include "simstruc.h" #include "RS232.h" // INPUT ARGUMENTS #define NUMBER_OF_ARGS 5 #define SYNCHSIZE (int)(*mxGetPr(ssGetSFcnParam(S,0))) #define MASK ssGetSF...
26.055422
93
0.592712
[ "vector" ]
556fe5270ef874343fc6e3ee5ee9623741885072
65,952
cpp
C++
AprilTagTrackers/Tracker.cpp
funnbot/April-Tag-VR-FullBody-Tracker
8720cab49f5241446d9383134fd9507b70c431c0
[ "MIT" ]
null
null
null
AprilTagTrackers/Tracker.cpp
funnbot/April-Tag-VR-FullBody-Tracker
8720cab49f5241446d9383134fd9507b70c431c0
[ "MIT" ]
null
null
null
AprilTagTrackers/Tracker.cpp
funnbot/April-Tag-VR-FullBody-Tracker
8720cab49f5241446d9383134fd9507b70c431c0
[ "MIT" ]
null
null
null
#include "Tracker.h" #include "AprilTagWrapper.h" #include "Connection.h" #include "Debug.h" #include "Helpers.h" #include <opencv2/aruco.hpp> #include <opencv2/aruco/charuco.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #...
40.190128
282
0.580043
[ "object", "vector", "model", "transform", "3d", "solid" ]
55724e65ddac45f2c5ea68eaba5cb2f7ba518be6
4,742
cpp
C++
src/bounce/dynamics/shapes/mesh_shape.cpp
demiurgestudios/bounce
9f8dcae52a074ba76088da9c94471366f6e4ca8f
[ "Zlib" ]
26
2020-02-10T19:28:00.000Z
2021-09-23T22:36:37.000Z
src/bounce/dynamics/shapes/mesh_shape.cpp
demiurgestudios/bounce
9f8dcae52a074ba76088da9c94471366f6e4ca8f
[ "Zlib" ]
null
null
null
src/bounce/dynamics/shapes/mesh_shape.cpp
demiurgestudios/bounce
9f8dcae52a074ba76088da9c94471366f6e4ca8f
[ "Zlib" ]
7
2020-01-22T20:42:33.000Z
2021-02-25T02:34:54.000Z
/* * Copyright (c) 2016-2019 Irlan Robson https://irlanrobson.github.io * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any p...
26.640449
120
0.732813
[ "mesh" ]
5575ea3a270bdc4c89991706745e26cba53a3418
1,980
cpp
C++
cpp/include/string/suffix_array.cpp
torotoki/competitive-library
4c0772c2da245adad9d1ea2bc6fc2b65a4b670de
[ "MIT" ]
3
2017-04-09T10:12:31.000Z
2019-02-11T03:11:27.000Z
cpp/include/string/suffix_array.cpp
torotoki/competitive-library
4c0772c2da245adad9d1ea2bc6fc2b65a4b670de
[ "MIT" ]
null
null
null
cpp/include/string/suffix_array.cpp
torotoki/competitive-library
4c0772c2da245adad9d1ea2bc6fc2b65a4b670de
[ "MIT" ]
1
2019-11-29T06:11:10.000Z
2019-11-29T06:11:10.000Z
struct SuffixArray { struct SAComp { const int h; const vector<int> &g; SAComp(int h, vector<int> &g) : h(h), g(g) {;} bool operator() (int a, int b) { return a != b && (g[a] != g[b] ? g[a] < g[b] : g[a + h] < g[b + h]); } }; int n; char *str; vector<int> sa, lcp; SuffixArray(con...
25.384615
78
0.441414
[ "vector" ]
534e10108eca53c02e31c3f88d6f3ae2a6fd24c8
498
hpp
C++
iOS/G3MApp/G3MApp/G3M3DLandDemoScene.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
70
2015-02-06T14:39:14.000Z
2022-01-07T08:32:48.000Z
iOS/G3MApp/G3MApp/G3M3DLandDemoScene.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
118
2015-01-21T10:18:00.000Z
2018-10-16T15:00:57.000Z
iOS/G3MApp/G3MApp/G3M3DLandDemoScene.hpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
41
2015-01-10T22:29:27.000Z
2021-06-08T11:56:16.000Z
// // G3M3DLandDemoScene.hpp // G3MApp // // Created by Diego Gomez Deck on 10/4/16. // #ifndef G3M3DLandDemoScene_hpp #define G3M3DLandDemoScene_hpp #include "G3MDemoScene.hpp" class G3M3DLandDemoScene : public G3MDemoScene { protected: void rawActivate(const G3MContext* context); void rawSelectOption(const...
16.6
49
0.692771
[ "model", "3d" ]
53522bcb9e3fdfb8938bda3f5f1404a3f3771a0e
1,908
hh
C++
src/bugengine/introspect/api/bugengine/introspect/node/object.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
4
2015-05-13T16:28:36.000Z
2017-05-24T15:34:14.000Z
src/bugengine/introspect/api/bugengine/introspect/node/object.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
null
null
null
src/bugengine/introspect/api/bugengine/introspect/node/object.hh
bugengine/BugEngine
1b3831d494ee06b0bd74a8227c939dd774b91226
[ "BSD-3-Clause" ]
1
2017-03-21T08:28:07.000Z
2017-03-21T08:28:07.000Z
/* BugEngine <bugengine.devel@gmail.com> see LICENSE for detail */ #ifndef BE_INTROSPECT_NODE_OBJECT_HH_ #define BE_INTROSPECT_NODE_OBJECT_HH_ /**************************************************************************************************/ #include <bugengine/introspect/stdafx.h> #include <bugengine/introspect/...
35.333333
100
0.642558
[ "object", "vector" ]
5363ac2e480a553846680aa14bce44e118026146
4,532
cpp
C++
src/Hum2D/SFML/SFMLPlugin.cpp
Galbar/Hummingbird2D-SFML
a48ab0056f9db4f5862eeb9c7d4e5c59b9834129
[ "MIT" ]
null
null
null
src/Hum2D/SFML/SFMLPlugin.cpp
Galbar/Hummingbird2D-SFML
a48ab0056f9db4f5862eeb9c7d4e5c59b9834129
[ "MIT" ]
null
null
null
src/Hum2D/SFML/SFMLPlugin.cpp
Galbar/Hummingbird2D-SFML
a48ab0056f9db4f5862eeb9c7d4e5c59b9834129
[ "MIT" ]
null
null
null
#include <map> #include "Hum2D/Hum2D.hpp" #include "SFMLPlugin.hpp" #include "Drawable.hpp" using namespace h2d; SFMLPlugin::SFMLPlugin(int window_width, int window_height, std::string window_title): p_window_width(window_width), p_window_height(window_height), p_window_title(window_title) {} SFMLPlugin::~SFMLPlugin(...
24.365591
113
0.654898
[ "vector", "transform" ]
53668cb2d91a40a8bdeb14580c743cbf46086afa
6,548
cpp
C++
src/call.cpp
apfeltee/ici
52019325f18c664060484e9ff400df650c430d66
[ "MIT" ]
null
null
null
src/call.cpp
apfeltee/ici
52019325f18c664060484e9ff400df650c430d66
[ "MIT" ]
null
null
null
src/call.cpp
apfeltee/ici
52019325f18c664060484e9ff400df650c430d66
[ "MIT" ]
null
null
null
#define ICI_CORE #include "priv.h" namespace ici { int callv(Object* subject, Object* callable, const char* types, va_list va) { long nargs; long arg; Object* member_obj; Object* ret_obj; char ret_type; char* ret_ptr; ptrdiff_t os_depth; OpCode*...
26.192
94
0.420892
[ "object" ]
537941904e8121a3a5ef9aefce27c1ee37aac859
533
cpp
C++
04. Computation/Dislicked_Words_Bleep/Source.cpp
Dominent/Programming-Principles-and-Practice
664ab5246dc4197584fa2b1a86ea3c8b800d5de4
[ "MIT" ]
null
null
null
04. Computation/Dislicked_Words_Bleep/Source.cpp
Dominent/Programming-Principles-and-Practice
664ab5246dc4197584fa2b1a86ea3c8b800d5de4
[ "MIT" ]
null
null
null
04. Computation/Dislicked_Words_Bleep/Source.cpp
Dominent/Programming-Principles-and-Practice
664ab5246dc4197584fa2b1a86ea3c8b800d5de4
[ "MIT" ]
null
null
null
// Write a program that "bleeps" out words you dislike. #include <iostream> #include <vector> #include <string> using namespace std; int main(int argc, char* argv[]) { vector<string> words; cout << "Enter words: "; for (string word; cin >> word;) { words.push_back(word); } string dislicked_words[] = { "B...
15.228571
78
0.626642
[ "vector" ]
537b33a7cd835484f2cf23ec314dc7b71cd6e0a2
1,812
cpp
C++
SoftRendering/Grid.cpp
RIVER1016/SoftRendering
1dec26cb4551c1978df0f17a1123da6107de1837
[ "MIT" ]
null
null
null
SoftRendering/Grid.cpp
RIVER1016/SoftRendering
1dec26cb4551c1978df0f17a1123da6107de1837
[ "MIT" ]
1
2020-03-21T11:42:54.000Z
2020-03-21T11:44:08.000Z
SoftRendering/Grid.cpp
RIVER1016/SoftRendering
1dec26cb4551c1978df0f17a1123da6107de1837
[ "MIT" ]
null
null
null
#pragma once #include "Grid.h" #include <windows.h> #include <math.h> #define PI 3.1415926f void GridBuffer::init( Device* d, const Vector& origin, const float& s, const int& w, const int& h ) { device = d; width = w + 1; height = h + 1; side = s; Vector** gb; gb = new Vector *[width]; for ( int j = 0; j < width...
20.133333
100
0.524283
[ "vector" ]
537b600cd7547ba0b7f779f1625c1bc7a0e18fa7
681
cpp
C++
Codeforces/Codeforces Round 280 (Div 2)/Vanya and Lanterns.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
13
2021-09-02T07:30:02.000Z
2022-03-22T19:32:03.000Z
Codeforces/Codeforces Round 280 (Div 2)/Vanya and Lanterns.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
null
null
null
Codeforces/Codeforces Round 280 (Div 2)/Vanya and Lanterns.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
3
2021-08-24T16:06:22.000Z
2021-09-17T15:39:53.000Z
/* Author: Utkarsh Pathrabe * Question can be found at http://codeforces.com/contest/492/problem/B * Algorithms: Math and Sorting */ #include <bits/stdc++.h> using namespace std; vector <double> pos; vector <double>::iterator it; int main(void) { int n; double l, d, maximum, prev, a; scanf("%d %lf", &n, &l); ...
20.029412
72
0.572687
[ "vector" ]
538a28ab597d3f7a13f43e32db05156b9c2cd89e
1,605
hpp
C++
model_polyfit.hpp
naughtysucker/naughty_polyfit
7923db70cd2717e4575e921b4f7700c312bd6ef5
[ "Apache-2.0" ]
null
null
null
model_polyfit.hpp
naughtysucker/naughty_polyfit
7923db70cd2717e4575e921b4f7700c312bd6ef5
[ "Apache-2.0" ]
null
null
null
model_polyfit.hpp
naughtysucker/naughty_polyfit
7923db70cd2717e4575e921b4f7700c312bd6ef5
[ "Apache-2.0" ]
null
null
null
/* ***************************************************************************** * @ Encoding: UTF-8 * @ File Name: model_polyfit.hpp * @ Author: gengjinhong * @ Email: 2560295278@qq.com * @ Created Time: 2021-Nov-02(Tuesday) 14:41:42 * @ SPDX-License-Identifier: Apache-2.0 * ***********************************...
29.181818
99
0.672274
[ "vector" ]
538b8175febbd1fd5da1abe5072ad03e7c36693e
306
cpp
C++
CodeChef/Beginner/CHEFDETE.cpp
nsudhanva/Competetive
d9e93fdeefaa4e422a2101db41a7ab0a5676e9da
[ "Unlicense" ]
null
null
null
CodeChef/Beginner/CHEFDETE.cpp
nsudhanva/Competetive
d9e93fdeefaa4e422a2101db41a7ab0a5676e9da
[ "Unlicense" ]
null
null
null
CodeChef/Beginner/CHEFDETE.cpp
nsudhanva/Competetive
d9e93fdeefaa4e422a2101db41a7ab0a5676e9da
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> a(n); vector<bool> r(n + 1, false); for (int i = 0; i < n; ++i) { cin >> a[i]; r[a[i]] = true; } for (int i = 0; i < n + 1; ++i) { if(r[i] == false){ cout << i << " "; } } cout << endl; }
10.928571
32
0.437908
[ "vector" ]
53937de7ac2c98b162630f588b770a0572d94286
32,802
cpp
C++
Source/JavaScriptCore/runtime/JSONObject.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/JavaScriptCore/runtime/JSONObject.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/JavaScriptCore/runtime/JSONObject.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2009-2020 Apple Inc. All rights reserved. * Copyright (C) 2020 Alexey Shvayka <shvaikalesh@gmail.com>. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must...
37.317406
174
0.640266
[ "object", "vector" ]
539a512175496980541483a9532441613db8ea2a
1,154
hpp
C++
include/natalie/range_value.hpp
MiguelBel/natalie
8439d45982b0edb14e51cd1958a865bb7f540b2d
[ "MIT" ]
1
2021-11-17T22:01:36.000Z
2021-11-17T22:01:36.000Z
include/natalie/range_value.hpp
jcs/natalie
36dae5954b80be2af107840de2b1c76b69bf6ac0
[ "MIT" ]
null
null
null
include/natalie/range_value.hpp
jcs/natalie
36dae5954b80be2af107840de2b1c76b69bf6ac0
[ "MIT" ]
null
null
null
#pragma once #include <assert.h> #include "natalie/class_value.hpp" #include "natalie/forward.hpp" #include "natalie/global_env.hpp" #include "natalie/macros.hpp" #include "natalie/value.hpp" namespace Natalie { struct RangeValue : Value { RangeValue(Env *env) : Value { Value::Type::Range, env->Object()...
26.227273
91
0.610919
[ "object" ]
53a69715b66d3d54a90feaf3a326735e3ec1f1bb
8,571
cpp
C++
L1P2/L1P2.cpp
peterekepeter/bitlab
074ceee9ac468f93d1b938ca11eaefdbf7ec1637
[ "MIT" ]
null
null
null
L1P2/L1P2.cpp
peterekepeter/bitlab
074ceee9ac468f93d1b938ca11eaefdbf7ec1637
[ "MIT" ]
null
null
null
L1P2/L1P2.cpp
peterekepeter/bitlab
074ceee9ac468f93d1b938ca11eaefdbf7ec1637
[ "MIT" ]
null
null
null
#include <vector> #include <stdio.h> #include <time.h> inline unsigned char bitcount(int x) { unsigned char acc = 0; while(x) acc+=x&1, x>>=1; return acc; } unsigned char btc_table[65536]; inline unsigned char bitc(const unsigned char x) { return btc_table[x]; } inline unsigned char bitc(const char x) { r...
28.57
151
0.53541
[ "vector" ]
53aca4145b4186f0fea3cdcf3dd2056ea45b105a
13,958
cpp
C++
tools/multi_conv_layer.cpp
graphcore/poplibs
3fe5a3ecafe995eddb72675d1b4a7af8a622009e
[ "MIT" ]
95
2020-07-06T17:11:23.000Z
2022-03-12T14:42:28.000Z
tools/multi_conv_layer.cpp
graphcore/poplibs
3fe5a3ecafe995eddb72675d1b4a7af8a622009e
[ "MIT" ]
null
null
null
tools/multi_conv_layer.cpp
graphcore/poplibs
3fe5a3ecafe995eddb72675d1b4a7af8a622009e
[ "MIT" ]
14
2020-07-15T12:32:57.000Z
2022-01-26T14:58:45.000Z
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #include "poplin/MultiConvolution.hpp" #include <boost/assign/list_of.hpp> #include <boost/optional.hpp> #include <boost/program_options.hpp> #include <boost/version.hpp> #include <iostream> #include <poplibs_support/TestDevice.hpp> #include <poplibs_support/Vec...
38.772222
80
0.634475
[ "vector", "model" ]
53acefa9354b0a9050bfd8d6eaa50c44be4770ec
1,022
cc
C++
cpp/leetcode/22.generate-parentheses.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
3
2021-03-03T13:18:23.000Z
2022-02-09T07:49:24.000Z
cpp/leetcode/22.generate-parentheses.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
null
null
null
cpp/leetcode/22.generate-parentheses.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
1
2021-03-29T15:21:42.000Z
2021-03-29T15:21:42.000Z
#include <gtest/gtest.h> #include <string> #include <vector> namespace { class Solution { public: std::vector<std::string> generateParenthesis(int n) { std::vector<std::string> ret; std::string str; gen(ret, str, 0, 0, n); return ret; } private: void gen(std::vector<std::string>& ret, std::st...
20.039216
80
0.521526
[ "vector" ]
53b1aa053e68573f0bb7b3547856f4a9cab834a3
2,124
cpp
C++
Common_elements.cpp
shalini264/Coding-problem-solutions
77e8b12b771d24e62f4268d6ba8f29f592770bd9
[ "MIT" ]
4
2021-07-11T20:13:56.000Z
2022-02-19T17:22:42.000Z
Common_elements.cpp
shalini264/long-challenge-solutions-in-my-way
77e8b12b771d24e62f4268d6ba8f29f592770bd9
[ "MIT" ]
null
null
null
Common_elements.cpp
shalini264/long-challenge-solutions-in-my-way
77e8b12b771d24e62f4268d6ba8f29f592770bd9
[ "MIT" ]
null
null
null
class Solution { public: vector <int> commonElements (int A[], int B[], int C[], int n1, int n2, int n3) { vector<int>ans; int i=0,j=0,k=0; while(i<n1&&j<n2&&k<n3) { if(A[i]<B[j]&&A[i]<C[k]) { i++;...
24.413793
86
0.240113
[ "vector" ]
53b63285ece672d766a5fa21167c5c95ecc8552b
90,594
cpp
C++
src/ir.cpp
octurion/shapes-compiler
d5f165f457ad876b827ac64a1b0da6f6f718bbef
[ "MIT" ]
1
2022-03-29T04:28:00.000Z
2022-03-29T04:28:00.000Z
src/ir.cpp
octurion/shapes-compiler
d5f165f457ad876b827ac64a1b0da6f6f718bbef
[ "MIT" ]
null
null
null
src/ir.cpp
octurion/shapes-compiler
d5f165f457ad876b827ac64a1b0da6f6f718bbef
[ "MIT" ]
null
null
null
#include "ast.h" #include "ir.h" #include <llvm/ADT/None.h> #include <llvm/Analysis/TypeBasedAliasAnalysis.h> #include <llvm/ExecutionEngine/ExecutionEngine.h> #include <llvm/ExecutionEngine/GenericValue.h> #include <llvm/ExecutionEngine/Interpreter.h> #include <llvm/IR/AssemblyAnnotationWriter.h> #include <llvm/IR...
31.532892
113
0.716736
[ "object", "vector" ]
53b875f5cdbd0b230941cc5e42334e44dbfe3aa5
7,580
cpp
C++
src/engine/editor_extensions/src/choose_asset_window.cpp
code-disaster/halley
5c85c889b76c69c6bdef6f4801c6aba282b7af80
[ "Apache-2.0" ]
1
2021-12-12T23:07:30.000Z
2021-12-12T23:07:30.000Z
src/engine/editor_extensions/src/choose_asset_window.cpp
code-disaster/halley
5c85c889b76c69c6bdef6f4801c6aba282b7af80
[ "Apache-2.0" ]
null
null
null
src/engine/editor_extensions/src/choose_asset_window.cpp
code-disaster/halley
5c85c889b76c69c6bdef6f4801c6aba282b7af80
[ "Apache-2.0" ]
1
2022-01-03T22:49:47.000Z
2022-01-03T22:49:47.000Z
#include "choose_asset_window.h" #include "halley/core/input/input_keyboard.h" #include "halley/ui/ui_anchor.h" #include "halley/ui/widgets/ui_list.h" #include "halley/utils/algorithm.h" #include "halley/ui/widgets/ui_image.h" #include "halley/ui/ui_factory.h" using namespace Halley; ChooseAssetWindow::ChooseAssetW...
24.690554
159
0.703958
[ "vector" ]
53b99576015353e4e2baf9a5bc46523eb73d69c8
9,266
cpp
C++
catkin_ws/src/statek_nav/src/mpc.cpp
Tai-Min/Statek-UAV
932219cde0707cd2cf288e467226a21b8c24d19e
[ "MIT" ]
null
null
null
catkin_ws/src/statek_nav/src/mpc.cpp
Tai-Min/Statek-UAV
932219cde0707cd2cf288e467226a21b8c24d19e
[ "MIT" ]
null
null
null
catkin_ws/src/statek_nav/src/mpc.cpp
Tai-Min/Statek-UAV
932219cde0707cd2cf288e467226a21b8c24d19e
[ "MIT" ]
null
null
null
#include "../include/mpc.hpp" #include <cppad/ipopt/solve.hpp> #include <Eigen/Core> #include <tf/transform_broadcaster.h> #include <tf2_ros/transform_broadcaster.h> #include <tf2_ros/transform_listener.h> #include <tf2/transform_datatypes.h> #include <chrono> #include <iostream> using namespace std; MPC::MPC(double ...
31.624573
143
0.633607
[ "transform" ]
53bfc34d16878bf1a66278b32b17cb18c0598de9
45,539
hpp
C++
src/lib/LoadManager.hpp
Sourin-chatterjee/SpinParser
23fa90c327b8a4543e5afac1b64d18df40975182
[ "MIT" ]
18
2021-06-03T16:03:02.000Z
2022-02-28T00:48:53.000Z
src/lib/LoadManager.hpp
Sourin-chatterjee/SpinParser
23fa90c327b8a4543e5afac1b64d18df40975182
[ "MIT" ]
3
2021-10-08T15:51:51.000Z
2022-03-31T22:20:01.000Z
src/lib/LoadManager.hpp
Sourin-chatterjee/SpinParser
23fa90c327b8a4543e5afac1b64d18df40975182
[ "MIT" ]
2
2022-02-10T17:15:05.000Z
2022-02-11T19:54:27.000Z
/** * @file LoadManager.hpp * @author Finn Lasse Buessen * @brief Implementation of an automatic hybrid OpenMP / MPI load balancer. * * @copyright Copyright (c) 2020 */ #pragma once #include <vector> #include <functional> #include <thread> #include <mutex> #include <boost/date_time.hpp> #include "lib/Log.hpp" ...
44.084221
302
0.724017
[ "object", "vector" ]
53c61a58457010089a0b0b4fedf1e6336e2b2437
6,814
cpp
C++
Chapter12/12.VulkanProject/VulkanProject/Tools.cpp
sonvt1710/CPP-Game-Development-By-Example
0f237e8827680ca5d426e225ba23619c8b586eeb
[ "MIT" ]
75
2019-06-21T07:04:49.000Z
2022-03-22T17:55:28.000Z
Chapter12/12.VulkanProject/VulkanProject/Tools.cpp
sonvt1710/CPP-Game-Development-By-Example
0f237e8827680ca5d426e225ba23619c8b586eeb
[ "MIT" ]
1
2020-09-06T10:51:55.000Z
2020-09-11T12:29:18.000Z
Chapter12/12.VulkanProject/VulkanProject/Tools.cpp
sonvt1710/CPP-Game-Development-By-Example
0f237e8827680ca5d426e225ba23619c8b586eeb
[ "MIT" ]
41
2019-06-18T10:37:38.000Z
2022-03-28T15:22:34.000Z
#include "Tools.h" #include "VulkanContext.h" namespace vkTools { VkImageView createImageView(VkImage image, VkFormat format, VkImageAspectFlags aspectFlags) { VkImageViewCreateInfo viewInfo = {}; viewInfo.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; viewInfo.image = image; viewInfo.viewType = VK_IMA...
34.241206
134
0.764309
[ "3d" ]
53d2ec6bd1fbd131f58512298674328e29eb7e82
1,328
cpp
C++
bcc/abc.cpp
thekaigonzalez/SymbolSearch
54ed7ba70aaf295c42435b734e63fc48fef862a5
[ "MIT" ]
1
2021-07-25T16:55:13.000Z
2021-07-25T16:55:13.000Z
bcc/abc.cpp
thekaigonzalez/SymbolSearch
54ed7ba70aaf295c42435b734e63fc48fef862a5
[ "MIT" ]
null
null
null
bcc/abc.cpp
thekaigonzalez/SymbolSearch
54ed7ba70aaf295c42435b734e63fc48fef862a5
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <fstream> void Run_Point(const char *, const char *); /* implemented */ int main(int argc, char** argv) { try { std::string Fname_BASE = argv[1]; std::string Fname_NEW = argv[2]; if (Fname_BASE == "-f") { std::c...
31.619048
196
0.486446
[ "vector" ]
53d39ff48c9985300a687ed6f95682b0042ca486
15,913
cpp
C++
low-can-binding/utils/openxc-utils.cpp
redpesk-common/canbus-binding
031ebb8657e66129936ba9079faa58e369f97de1
[ "Apache-2.0" ]
null
null
null
low-can-binding/utils/openxc-utils.cpp
redpesk-common/canbus-binding
031ebb8657e66129936ba9079faa58e369f97de1
[ "Apache-2.0" ]
null
null
null
low-can-binding/utils/openxc-utils.cpp
redpesk-common/canbus-binding
031ebb8657e66129936ba9079faa58e369f97de1
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015, 2016 "IoT.bzh" * Author "Romain Forlot" <romain.forlot@iot.bzh> * Author "Loic Collignon" <loic.collignon@iot.bzh> * * 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...
30.720077
174
0.755294
[ "object", "vector" ]
53d75ffc99b22e70a58c7be5df89e256f70b96cf
14,981
cc
C++
src/attributes/CurveAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
41
2018-12-07T23:10:50.000Z
2022-02-19T03:01:49.000Z
src/attributes/CurveAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
59
2019-01-04T15:43:30.000Z
2022-03-31T09:48:15.000Z
src/attributes/CurveAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
13
2019-01-07T14:36:33.000Z
2021-09-06T14:48:36.000Z
/****************************** LICENSE ******************************* * (C) Copyright 1996-2017 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the pr...
44.322485
110
0.759228
[ "vector", "solid" ]
53d7812b1c27e18b7f95bbde97a97892a30f5a85
3,263
cpp
C++
tests/Unit/Evolution/Systems/NewtonianEuler/Subcell/Test_InitialDataTci.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/Evolution/Systems/NewtonianEuler/Subcell/Test_InitialDataTci.cpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/Evolution/Systems/NewtonianEuler/Subcell/Test_InitialDataTci.cpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <cstddef> #include "DataStructures/DataVector.hpp" #include "DataStructures/Tensor/Tensor.hpp" #include "DataStructures/Variables.hpp" #include "Evolution/DgSubcell/Mesh.hpp" #include "Evolution/D...
35.857143
80
0.682194
[ "mesh" ]
53da22e7aeeb4e61f6b08ee857bd0a07d09312da
400
cpp
C++
src/frontal_demo.cpp
ivision-ufba/depth-face-detection
f70441eb9e72fa3f509458ffc202648c2f3e27d1
[ "MIT" ]
15
2017-11-01T11:39:32.000Z
2021-04-02T02:42:59.000Z
src/frontal_demo.cpp
ivision-ufba/depth-face-detection
f70441eb9e72fa3f509458ffc202648c2f3e27d1
[ "MIT" ]
6
2017-07-26T17:55:27.000Z
2020-11-15T22:04:35.000Z
src/frontal_demo.cpp
ivision-ufba/depth-face-detection
f70441eb9e72fa3f509458ffc202648c2f3e27d1
[ "MIT" ]
5
2018-05-09T13:42:17.000Z
2020-01-17T06:22:59.000Z
#include <opencv2/highgui.hpp> #include "abs.hpp" #include "face_detector.hpp" /* Demonstration of frontal depth face detection for a point cloud */ int main(const int argc, char** const argv) { std::vector<cv::Point3d> points; // read point cloud into points // coordinates must be in milimeters // detect ...
22.222222
69
0.725
[ "vector" ]
53dfc99bd7367e45a39cbd6c5a4ab2cd78912d3e
61,907
cpp
C++
klustakwik-0.3.0.rc3/klustakwik.cpp
HasenstaubLab/KlustaKwik-Interface
1ae27c99ee16bdc0137ac76d35afc6bc36524436
[ "MIT" ]
null
null
null
klustakwik-0.3.0.rc3/klustakwik.cpp
HasenstaubLab/KlustaKwik-Interface
1ae27c99ee16bdc0137ac76d35afc6bc36524436
[ "MIT" ]
null
null
null
klustakwik-0.3.0.rc3/klustakwik.cpp
HasenstaubLab/KlustaKwik-Interface
1ae27c99ee16bdc0137ac76d35afc6bc36524436
[ "MIT" ]
null
null
null
// MaskedKlustaKwik2.C // // Fast clustering using the CEM algorithm with Masks. #ifndef VERSION #define VERSION "0.3.0-nogit" #endif // Disable some Visual Studio warnings #define _CRT_SECURE_NO_WARNINGS #include "klustakwik.h" #define _USE_MATH_DEFINES #include<math.h> #ifdef _OPENMP #include<omp.h> #endif // GL...
32.755026
185
0.60557
[ "object", "vector" ]
53e4e087ebdb98c04cac270a4086d4d529ff0a07
6,833
cpp
C++
2017/07/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
2017/07/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
2017/07/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <regex> #include <sstream> #include <string> #include <vector> #include <unordered_map> #include <unordered_set> struct Program { std::string name; long weight; std::vector<std::string> children; mutable long total_weight; Program(std::string&& nam...
30.779279
95
0.593151
[ "vector" ]
53e51811c7e0fadefd209e113159b44deee2256d
746
cpp
C++
src/state/PLCR.cpp
UmbrellaSampler/carnd-term3-1_path_planning
5d3828753b0ecde20aa4a7ba7d0ef16e21acdea7
[ "MIT" ]
null
null
null
src/state/PLCR.cpp
UmbrellaSampler/carnd-term3-1_path_planning
5d3828753b0ecde20aa4a7ba7d0ef16e21acdea7
[ "MIT" ]
null
null
null
src/state/PLCR.cpp
UmbrellaSampler/carnd-term3-1_path_planning
5d3828753b0ecde20aa4a7ba7d0ef16e21acdea7
[ "MIT" ]
null
null
null
// // Created by uwe_e on 03.02.2020. // #include "PLCR.h" #include "trajectory_tools.h" #include "KeepLane.h" #include "LCR.h" std::vector<std::unique_ptr<State>> PLCR::Next_States(std::shared_ptr<Model> model) { Append_Self_To_Last_Models(); std::vector<std::unique_ptr<State>> states; state...
26.642857
97
0.686327
[ "vector", "model" ]
53e6dc4405b001d575ad54b93174a5ae6846be5a
5,329
cpp
C++
Code/BBearEditor/Engine/Lighting/GameObject/BBLight.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
1
2021-09-01T08:19:34.000Z
2021-09-01T08:19:34.000Z
Code/BBearEditor/Engine/Lighting/GameObject/BBLight.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
null
null
null
Code/BBearEditor/Engine/Lighting/GameObject/BBLight.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
null
null
null
#include "BBLight.h" #include "Utils/BBUtils.h" #include "3D/BBIcon.h" #include "Render/BBCamera.h" #include "3D/BBLightIndicator.h" #include "Render/BBRenderPass.h" BBLight::BBLight(BBScene *pScene) : BBLight(pScene, QVector3D(0, 0, 0), QVector3D(0, 0, 0), QVector3D(1, 1, 1)) { } BBLight::BBLight(BBScene *pSce...
25.620192
111
0.688497
[ "render", "3d" ]
53eb5f044e0a6b01d960d9a5e46d19ae10c4c865
593
hpp
C++
include/ball.hpp
core-exe/NonEuclideanRayTracing
4316fa118af6b29c86c99bd4d863dfba1f089c7c
[ "MIT" ]
1
2021-12-02T06:25:54.000Z
2021-12-02T06:25:54.000Z
include/ball.hpp
core-exe/NonEuclideanRayTracing
4316fa118af6b29c86c99bd4d863dfba1f089c7c
[ "MIT" ]
null
null
null
include/ball.hpp
core-exe/NonEuclideanRayTracing
4316fa118af6b29c86c99bd4d863dfba1f089c7c
[ "MIT" ]
null
null
null
# pragma once # include <vecmath.h> # include <functional> # include "object.hpp" using namespace std; class Ball: public Object3{ public: float rad, phi; Vector3f o, v1, v2, v3; function<bool(Vector3f)> pass; float minimal_dt = 3e-5; Ball(){} Ball( float _rad, Vector3f _o,...
22.807692
78
0.595278
[ "object" ]
53f54045ac53e09e453f7255cf9d82d968e3e9af
1,965
cpp
C++
SDKs/CryCode/3.8.1/CryEngine/CryAction/Network/ExplosiveObjectState.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.8.1/CryEngine/CryAction/Network/ExplosiveObjectState.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.8.1/CryEngine/CryAction/Network/ExplosiveObjectState.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2007. ------------------------------------------------------------------------- $Id$ $DateTime$ Description: network breakability: state of an object pre-explosion ----------------------...
28.071429
95
0.587786
[ "object" ]
53f7f5448e1f2ebab0a64a29ae2bb3d4a8ab26fc
11,371
hpp
C++
graphblas/backend/cuda/sparse_vector.hpp
BenBrock/graphblast
c4909e115740e94ab65458a7e1177cbc76b1828d
[ "Apache-2.0" ]
155
2019-01-19T12:15:12.000Z
2022-03-21T02:59:03.000Z
graphblas/backend/cuda/sparse_vector.hpp
BenBrock/graphblast
c4909e115740e94ab65458a7e1177cbc76b1828d
[ "Apache-2.0" ]
16
2019-05-02T19:29:57.000Z
2021-06-30T07:22:57.000Z
graphblas/backend/cuda/sparse_vector.hpp
BenBrock/graphblast
c4909e115740e94ab65458a7e1177cbc76b1828d
[ "Apache-2.0" ]
20
2019-06-10T17:36:41.000Z
2022-03-23T19:48:26.000Z
#ifndef GRAPHBLAS_BACKEND_CUDA_SPARSE_VECTOR_HPP_ #define GRAPHBLAS_BACKEND_CUDA_SPARSE_VECTOR_HPP_ #include <cuda.h> #include <cuda_runtime.h> #include <vector> #include <iostream> #include <unordered_set> #include <algorithm> #include "graphblas/types.hpp" #include "graphblas/util.hpp" namespace graphblas { names...
27.203349
86
0.628265
[ "object", "vector" ]
d87eebcadf3dd9be67e057d7a64bf59749aeaa76
2,525
cpp
C++
beta versions/MultiplicadorMatrices.cpp
tec-csf/tc2017-pf-primavera-2020-equipo-4-1
111f53acb1c7f3e0bebd112ed0bdda9ab0df5174
[ "MIT" ]
null
null
null
beta versions/MultiplicadorMatrices.cpp
tec-csf/tc2017-pf-primavera-2020-equipo-4-1
111f53acb1c7f3e0bebd112ed0bdda9ab0df5174
[ "MIT" ]
null
null
null
beta versions/MultiplicadorMatrices.cpp
tec-csf/tc2017-pf-primavera-2020-equipo-4-1
111f53acb1c7f3e0bebd112ed0bdda9ab0df5174
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <time.h> #include <omp.h> #include <limits.h> #include <math.h> #include <unistd.h> #define NCORES 3 using namespace std; /* En memoria de: * vector<tuple<vector<vector<int>>,int>> */ vector<vector<vector<int>>> list; vector<vector<int>> generarMatri...
24.047619
85
0.423762
[ "vector" ]
d88b2c6630b7400850e59aca5230bbbeb828efcb
5,218
hpp
C++
OpenNI2-FreenectDriver/src/ColorStream.hpp
boehm-e/kinect_led
d14ca53b3c3a26f9c8f47a557f5c97973519fd47
[ "Apache-2.0" ]
10
2020-03-09T02:31:01.000Z
2021-12-14T18:29:27.000Z
OpenNI2-FreenectDriver/src/ColorStream.hpp
boehm-e/kinect_led
d14ca53b3c3a26f9c8f47a557f5c97973519fd47
[ "Apache-2.0" ]
null
null
null
OpenNI2-FreenectDriver/src/ColorStream.hpp
boehm-e/kinect_led
d14ca53b3c3a26f9c8f47a557f5c97973519fd47
[ "Apache-2.0" ]
1
2018-06-23T04:58:30.000Z
2018-06-23T04:58:30.000Z
#pragma once #include <algorithm> // for transform() #include <cmath> // for M_PI #include "libfreenect.hpp" #include "Driver/OniDriverAPI.h" #include "VideoStream.hpp" namespace FreenectDriver { class ColorStream : public VideoStream { public: static constexpr OniSensorType SENSOR_TYPE = ONI_SENSOR_COLOR;...
33.235669
113
0.623419
[ "transform" ]
d890078196762d2cbc447f121602b16cb5832800
5,502
cpp
C++
calib/main/main.cpp
Yihua-Ni/Tools
b40c24b0b2a7025f13182fc5ed5bfcf63b389585
[ "MIT" ]
null
null
null
calib/main/main.cpp
Yihua-Ni/Tools
b40c24b0b2a7025f13182fc5ed5bfcf63b389585
[ "MIT" ]
null
null
null
calib/main/main.cpp
Yihua-Ni/Tools
b40c24b0b2a7025f13182fc5ed5bfcf63b389585
[ "MIT" ]
null
null
null
#include "InitParam/params_init.h" #include "calib/calib.h" #include <iostream> #include <vector> #include <string> int main() { /*1 参数初始化*/ std::string configFile = "/home/minieye/桌面/calib/parameter/vls128.txt" ; INIT init(configFile); std::cout << "参数配置文件输入完成!" << std::endl; /*2 载入标定用图片*/ s...
48.690265
212
0.658306
[ "vector" ]
d893612994cef411d803f681e21682f867ac0cbd
1,199
cpp
C++
src/Tile.cpp
ScaredStorm/SpaceGame
136df0e173b07ebc3f6a0b7c2370edeb7c120af8
[ "MIT" ]
null
null
null
src/Tile.cpp
ScaredStorm/SpaceGame
136df0e173b07ebc3f6a0b7c2370edeb7c120af8
[ "MIT" ]
null
null
null
src/Tile.cpp
ScaredStorm/SpaceGame
136df0e173b07ebc3f6a0b7c2370edeb7c120af8
[ "MIT" ]
null
null
null
#include "Tile.h" Tile::Tile(Vector2 position, TileType type) : _position(position.x, position.y) { _col.r = 255; _col.g = 255; _col.b = 255; _col.a = 255; _type = type; } Tile::Tile(int x, int y, TileType type) : _position(Vector2(x, y)) { _col.r = 255; _col.g = 255; _col.b = 255;...
16.652778
105
0.585488
[ "render" ]
d89cb28acb0271f4a0e6500601a7f7286cf7b6f7
4,283
cc
C++
C++/diTauMLMassInterface.cc
lucastorterotot/DiTau_ML_mass
7870a9184a5b6595b3985ad78f114a0e8a9023cc
[ "MIT" ]
null
null
null
C++/diTauMLMassInterface.cc
lucastorterotot/DiTau_ML_mass
7870a9184a5b6595b3985ad78f114a0e8a9023cc
[ "MIT" ]
null
null
null
C++/diTauMLMassInterface.cc
lucastorterotot/DiTau_ML_mass
7870a9184a5b6595b3985ad78f114a0e8a9023cc
[ "MIT" ]
null
null
null
/*### --- C++ interface to DiTau_ML_mass --- https://github.com/lucastorterotot/DiTau_ML_mass --- Davide Zuolo (University and INFN Milano - Bicocca) --- March 2021 ###*/ #include "../interface/diTauMLMassInterface.h" namespace ditauMLMass { diTauMLMass::diTauMLMass(const std::string & model) { nn_desc.graph....
59.486111
193
0.671725
[ "vector", "model" ]
d8a1437ddc880170226fdb98c8e56f4b7392ee1d
653
hpp
C++
src/ILovePerlin.hpp
digitalhappens/ILovePerlin
574f6b5c8b23edc76edff5856e1352589aebc12b
[ "MIT" ]
2
2020-02-11T22:38:17.000Z
2020-07-06T21:04:32.000Z
src/ILovePerlin.hpp
digitalhappens/ILovePerlin
574f6b5c8b23edc76edff5856e1352589aebc12b
[ "MIT" ]
2
2020-02-07T03:41:10.000Z
2021-05-10T08:33:03.000Z
src/ILovePerlin.hpp
digitalhappens/ILovePerlin
574f6b5c8b23edc76edff5856e1352589aebc12b
[ "MIT" ]
null
null
null
#include "rack.hpp" #include <time.h> #include <iostream> #ifdef ARCH_MAC #include <mach/clock.h> #include <mach/mach.h> #include <mach/mach_time.h> #include <mach/clock_types.h> #endif #ifdef ARCH_LIN #include <string.h> #endif using namespace rack; // Forward-declare the Plugin, defined in Template.cpp exter...
15.547619
71
0.724349
[ "model" ]