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
f9cc18b43b3fac64fd050497fcd4052b7a504534
13,764
cpp
C++
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/ObjectRegister.cpp
cpc/carla
2b4af4c08c751461e23558809a1d8dcb5dc740dc
[ "MIT" ]
3
2021-01-08T13:04:11.000Z
2021-01-25T16:56:52.000Z
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/ObjectRegister.cpp
cpc/carla
2b4af4c08c751461e23558809a1d8dcb5dc740dc
[ "MIT" ]
2
2021-03-31T20:10:04.000Z
2021-12-13T20:48:30.000Z
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Util/ObjectRegister.cpp
cpc/carla
2b4af4c08c751461e23558809a1d8dcb5dc740dc
[ "MIT" ]
4
2021-04-15T03:45:53.000Z
2021-12-24T13:13:39.000Z
// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "Carla.h" #include "Carla/Util/ObjectRegister.h" #include "Carla/Game/Tagger.h" #if ...
32.539007
133
0.7415
[ "object", "transform" ]
f9d10afae8741595ec5bdb04855859c61f80cdb9
679
cpp
C++
HackerRank/Plus Minus.cpp
lucaswilliamgomes/QuestionsCompetitiveProgramming
f0a2cf42bb5a00e5d677b7f3211ac399fe2bf6a0
[ "MIT" ]
null
null
null
HackerRank/Plus Minus.cpp
lucaswilliamgomes/QuestionsCompetitiveProgramming
f0a2cf42bb5a00e5d677b7f3211ac399fe2bf6a0
[ "MIT" ]
null
null
null
HackerRank/Plus Minus.cpp
lucaswilliamgomes/QuestionsCompetitiveProgramming
f0a2cf42bb5a00e5d677b7f3211ac399fe2bf6a0
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void plusMinus(vector<int> arr) { int tam = arr.size(); double bigger = 0; double zero = 0; double smaller = 0; double ans; for (int i = 0; i < tam; i++){ if (arr[i] == 0) zero++; else if (arr[i] < 0) smaller++; else bigge...
16.560976
39
0.478645
[ "vector" ]
f9d40d89616ddcb81823a50c39b69df621b749ed
1,059
cpp
C++
find_total_length.cpp
Kaban-5/square_free_words
850302a12e56f05e07aee7b8f84dc9b97f45fa0c
[ "MIT" ]
null
null
null
find_total_length.cpp
Kaban-5/square_free_words
850302a12e56f05e07aee7b8f84dc9b97f45fa0c
[ "MIT" ]
null
null
null
find_total_length.cpp
Kaban-5/square_free_words
850302a12e56f05e07aee7b8f84dc9b97f45fa0c
[ "MIT" ]
null
null
null
void calc_number_of_states(int32_t l, int32_t r, int32_t depth, const vector<string> &dictionary, int &states_needed) { if (l == r) return; states_needed++; if (int32_t(dictionary[l].size()) == depth) l++; if (l == r) return; array<int32_t, 4> where = {l, r, r, r}; int32_t ptr = 1; for (...
22.531915
118
0.626062
[ "vector" ]
f9d51ee831d8e93589263a81b3bee23e48895028
901
cpp
C++
problems/validate_binary_search_tree/solution.cpp
sauravchandra1/Leetcode
be89c7d8d93083326a94906a28bfad2342aa1dfe
[ "MIT" ]
null
null
null
problems/validate_binary_search_tree/solution.cpp
sauravchandra1/Leetcode
be89c7d8d93083326a94906a28bfad2342aa1dfe
[ "MIT" ]
null
null
null
problems/validate_binary_search_tree/solution.cpp
sauravchandra1/Leetcode
be89c7d8d93083326a94906a28bfad2342aa1dfe
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
31.068966
93
0.531632
[ "vector" ]
f9d6ceb9f656de5b7d3effc954dcbeb58829324e
1,288
hpp
C++
src/Console/Console.hpp
RainingComputers/ShnooTalk
714f6648363a99e011e329ed1a3f800e6fe65f39
[ "MIT" ]
6
2021-07-17T16:02:07.000Z
2022-02-05T16:33:51.000Z
src/Console/Console.hpp
RainingComputers/ShnooTalk
714f6648363a99e011e329ed1a3f800e6fe65f39
[ "MIT" ]
1
2021-07-16T07:14:31.000Z
2021-07-16T07:22:10.000Z
src/Console/Console.hpp
RainingComputers/ShnooTalk
714f6648363a99e011e329ed1a3f800e6fe65f39
[ "MIT" ]
2
2021-07-16T02:54:27.000Z
2022-03-29T20:51:57.000Z
#ifndef CONSOLE_CONSOLE #define CONSOLE_CONSOLE #include <fstream> #include <map> #include <vector> #include "../Builder/Unit.hpp" #include "../PrettyPrint/Errors.hpp" struct CompileError { }; struct InternalBugError { }; class Console { std::string fileName; std::ifstream* file; std::map<std::string,...
23
112
0.700311
[ "vector" ]
f9edebf2885a948212a11d45aabcb2217f958174
616
cpp
C++
src/analyzers/multi_analyzer.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
615
2015-01-31T17:14:03.000Z
2022-03-27T03:03:02.000Z
src/analyzers/multi_analyzer.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
167
2015-01-20T17:48:16.000Z
2021-12-20T00:15:29.000Z
src/analyzers/multi_analyzer.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
264
2015-01-30T00:08:01.000Z
2022-03-02T17:19:11.000Z
/** * @file multi_analyzer.cpp */ #include "meta/analyzers/multi_analyzer.h" namespace meta { namespace analyzers { multi_analyzer::multi_analyzer(std::vector<std::unique_ptr<analyzer>>&& toks) : analyzers_{std::move(toks)} { /* nothing */ } multi_analyzer::multi_analyzer(const multi_analyzer& other) { ...
19.25
78
0.693182
[ "vector" ]
f9f45c58bcbdce9079c962a91eaae6f3c8aff288
1,167
cpp
C++
src/builder.cpp
cssartori/ovig
3af99cc5d1d4d0e9043b0bb3fe1043fb5a53d25d
[ "MIT" ]
3
2021-04-16T22:40:17.000Z
2021-11-03T13:18:57.000Z
src/builder.cpp
cssartori/ovig
3af99cc5d1d4d0e9043b0bb3fe1043fb5a53d25d
[ "MIT" ]
4
2021-07-31T14:32:28.000Z
2021-07-31T14:40:25.000Z
src/builder.cpp
cssartori/ovig
3af99cc5d1d4d0e9043b0bb3fe1043fb5a53d25d
[ "MIT" ]
4
2019-09-19T09:52:57.000Z
2021-06-16T18:55:56.000Z
#include "../include/builder.hpp" #include <algorithm> using namespace std; namespace Builder{ //Builds an instance of the problem specified in InstanceType (currently supported types are PDPTW and CVRP) //This function considers that locations are given and all the information must be generated. int build(const ...
37.645161
162
0.732648
[ "vector" ]
e602ffb5bff84a1a22c92294f608f1233cb159d4
5,676
cpp
C++
oeml-sdk/cpp-qt5-client/client/OAIValidationError.cpp
Martin-Molinero/coinapi-sdk
8633f61e0809e7ee4032100fe08454e8c4ad5e0c
[ "MIT" ]
1
2020-07-23T05:47:52.000Z
2020-07-23T05:47:52.000Z
oeml-sdk/cpp-qt5-client/client/OAIValidationError.cpp
Martin-Molinero/coinapi-sdk
8633f61e0809e7ee4032100fe08454e8c4ad5e0c
[ "MIT" ]
null
null
null
oeml-sdk/cpp-qt5-client/client/OAIValidationError.cpp
Martin-Molinero/coinapi-sdk
8633f61e0809e7ee4032100fe08454e8c4ad5e0c
[ "MIT" ]
null
null
null
/** * OEML - REST API * This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> * * The version of the OpenAPI document: v1 * C...
25.567568
246
0.687104
[ "object" ]
e60380a0fa14874fd03173b1d61dc4e59fd99c33
29,376
cpp
C++
readdy/test/TestPotentials.cpp
ilyasku/readdy
3e09e5c8eb2dd861758d3b91cc3a4a00301c13af
[ "BSD-3-Clause" ]
51
2015-02-24T18:19:34.000Z
2022-03-30T06:57:47.000Z
readdy/test/TestPotentials.cpp
readdy/readdy
ef400db60a29107672a7f2bc42f6c3db4de34eb0
[ "BSD-3-Clause" ]
81
2016-05-25T22:29:39.000Z
2022-03-28T14:22:18.000Z
readdy/test/TestPotentials.cpp
ilyasku/readdy
3e09e5c8eb2dd861758d3b91cc3a4a00301c13af
[ "BSD-3-Clause" ]
15
2015-03-10T03:16:49.000Z
2021-10-11T11:26:39.000Z
/******************************************************************** * Copyright © 2018 Computational Molecular Biology Group, * * Freie Universität Berlin (GER) * * * * Redistribution and use in source and ...
57.826772
131
0.56713
[ "vector", "model" ]
e604a32bdb4d08117946a25e9bd99b84abb454fc
1,002
cpp
C++
cpp-leetcode/leetcode17-letter-combinations-of-a-phone-number_iterate.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
45
2021-07-25T00:45:43.000Z
2022-03-24T05:10:43.000Z
cpp-leetcode/leetcode17-letter-combinations-of-a-phone-number_iterate.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
null
null
null
cpp-leetcode/leetcode17-letter-combinations-of-a-phone-number_iterate.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
15
2021-07-25T00:40:52.000Z
2021-12-27T06:25:31.000Z
#include <algorithm> #include <vector> #include <string> #include <iostream> using namespace std; class Solution { public: vector<string> letterCombinations(string digits) { vector<string> dict = {"", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz"}; if(digits == "") return {}; ...
22.772727
97
0.478044
[ "vector" ]
e6061a19cc8655b6fabf1b85810e14248db9ed05
2,720
cpp
C++
srcs/elements/Flag.cpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
6
2020-03-13T16:45:13.000Z
2022-03-30T18:20:48.000Z
srcs/elements/Flag.cpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
191
2020-03-02T14:47:19.000Z
2020-06-03T08:13:00.000Z
srcs/elements/Flag.cpp
tnicolas42/bomberman
493d7243fabb1e5b6d5adfdcb5eb5973869b83a2
[ "MIT" ]
null
null
null
#include "Flag.hpp" #include "SceneGame.hpp" #include "AudioManager.hpp" // -- Constructors ------------------------------------------------------------- /** * @brief Construct a new Flag:: Flag object * * @param game A reference to the SceneGame master object */ Flag::Flag(SceneGame &game) : AObject(game) { typ...
19.854015
82
0.591544
[ "object", "model" ]
e607b91449fa8177f539a8528762c8b9a243056f
788
hpp
C++
include/altacore/ast/try-catch-block.hpp
alta-lang/alta-core
290ebcd94b4b2956fd34f5cd0e516e756d4fc219
[ "MIT" ]
null
null
null
include/altacore/ast/try-catch-block.hpp
alta-lang/alta-core
290ebcd94b4b2956fd34f5cd0e516e756d4fc219
[ "MIT" ]
6
2019-03-04T01:37:27.000Z
2019-09-07T20:12:36.000Z
include/altacore/ast/try-catch-block.hpp
alta-lang/alta-core
290ebcd94b4b2956fd34f5cd0e516e756d4fc219
[ "MIT" ]
null
null
null
#ifndef ALTACORE_AST_TRY_CATCH_BLOCK_HPP #define ALTACORE_AST_TRY_CATCH_BLOCK_HPP #include "statement-node.hpp" #include "block-node.hpp" #include "type.hpp" #include "../det/scope.hpp" #include <vector> namespace AltaCore { namespace AST { class TryCatchBlock: public StatementNode { public: virtu...
26.266667
98
0.696701
[ "vector" ]
e60c8a2cd13b4edf5d7caf668bf07ba60da007ae
2,943
cpp
C++
test/test_lexer.cpp
madedit/aclang
698ea6a56812f3702d63b6b4235a5eee8eaa0773
[ "MIT" ]
10
2015-01-27T09:16:29.000Z
2021-05-07T16:39:05.000Z
test/test_lexer.cpp
madedit/aclang
698ea6a56812f3702d63b6b4235a5eee8eaa0773
[ "MIT" ]
null
null
null
test/test_lexer.cpp
madedit/aclang
698ea6a56812f3702d63b6b4235a5eee8eaa0773
[ "MIT" ]
4
2015-01-27T09:45:05.000Z
2021-05-07T16:39:06.000Z
#include <stdio.h> #include <string.h> #include <iostream> #include <fstream> #include <string> #include <ac_lexer.h> void test_lexer() { size_t length; char *buffer; #if 1 buffer= " /* block /* *comment */ /+ \n" " /+ // line comment +/\n" "/= +/ /= / \n" "x\"e...
25.153846
98
0.431532
[ "vector" ]
e63165349ef0c283e60363bd78485d6b24d7ee25
1,906
cpp
C++
sources/Renderer/Direct3D11/D3D11ObjectUtils.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
1,403
2016-09-28T21:48:07.000Z
2022-03-31T23:58:57.000Z
sources/Renderer/Direct3D11/D3D11ObjectUtils.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
70
2016-10-13T20:15:58.000Z
2022-01-12T23:51:12.000Z
sources/Renderer/Direct3D11/D3D11ObjectUtils.cpp
beldenfox/LLGL
3a54125ebfa79bb06fccf8c413d308ff22186b52
[ "BSD-3-Clause" ]
122
2016-10-23T15:33:44.000Z
2022-03-07T07:41:23.000Z
/* * D3D11ObjectUtils.cpp * * This file is part of the "LLGL" project (Copyright (c) 2015-2019 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include "D3D11ObjectUtils.h" #include <string> #include <cstring> namespace LLGL { // Declare custom object of "WKPDID_D3DDebugObjectName" as defi...
28.029412
124
0.627492
[ "object" ]
e633fb3eb79071f98c5801f8f92f6c355c0a9334
1,914
hpp
C++
src/map_storage.hpp
thealexhoar/Apollo
60e92729375b6b18944274c62e0e3612b453e33f
[ "MIT" ]
3
2017-09-16T03:57:18.000Z
2018-05-29T22:38:23.000Z
src/map_storage.hpp
thealexhoar/Apollo
60e92729375b6b18944274c62e0e3612b453e33f
[ "MIT" ]
null
null
null
src/map_storage.hpp
thealexhoar/Apollo
60e92729375b6b18944274c62e0e3612b453e33f
[ "MIT" ]
null
null
null
// // Created by alex on 18/02/18. // #pragma once #include <type_traits> #include <unordered_map> #include <unordered_set> #include <vector> #include <assert.h> #include "entity.hpp" #include "storage.hpp" namespace apollo { template<class C> class MapStorage : public Storage<C> { private: std...
25.184211
68
0.552769
[ "vector" ]
e639a91e8556ac40a8412828a8015dbe85f5d4ef
4,671
cpp
C++
Project1/mainwindow.cpp
MarcLF/CuteTProject1
fc2e2e596e5bce495dc059d29b3f36141ad33be5
[ "Apache-2.0" ]
null
null
null
Project1/mainwindow.cpp
MarcLF/CuteTProject1
fc2e2e596e5bce495dc059d29b3f36141ad33be5
[ "Apache-2.0" ]
null
null
null
Project1/mainwindow.cpp
MarcLF/CuteTProject1
fc2e2e596e5bce495dc059d29b3f36141ad33be5
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include "ui_rendering.h" #include "inspector.h" #include "hierarchy.h" #include "myopenglwidget.h" #include "lightdirection.h" #include "dofoptions.h" #include "mesh.h" #include "resource.h" #include "entity.h" #include "componentrender.h" #include <QFile> #include <...
24.455497
187
0.626204
[ "mesh" ]
e63d005e4d5db73682ebf5b59860cacd494c2d3e
4,498
cc
C++
DPGAnalysis/SiStripTools/src/RunHistogramManager.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DPGAnalysis/SiStripTools/src/RunHistogramManager.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DPGAnalysis/SiStripTools/src/RunHistogramManager.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "DPGAnalysis/SiStripTools/interface/RunHistogramManager.h" #include "FWCore/Framework/interface/Run.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ServiceRegistry/interface/Service.h" #include "CommonTools/UtilAlgos/interface/TFileService.h" #include "TH1F.h" #include "TH2F.h" #i...
29.398693
216
0.721654
[ "vector" ]
e656c56ed89d686db091cfad5c9cba634b35b8d8
28,846
cpp
C++
bin/evoef/EvoEF/src/ProgramFunction.cpp
tommyhuangthu/SSIPe
47a3043b7f07dbc55906e0ea653d32d7de8502c2
[ "MIT" ]
7
2020-01-12T01:41:27.000Z
2021-08-12T05:13:37.000Z
bin/evoef/EvoEF/src/ProgramFunction.cpp
tommyhuangthu/SSIPe
47a3043b7f07dbc55906e0ea653d32d7de8502c2
[ "MIT" ]
null
null
null
bin/evoef/EvoEF/src/ProgramFunction.cpp
tommyhuangthu/SSIPe
47a3043b7f07dbc55906e0ea653d32d7de8502c2
[ "MIT" ]
2
2020-03-27T11:13:26.000Z
2021-01-14T22:26:31.000Z
/******************************************************************************************************************************* This file is a part of the EvoDesign physical Energy Function (EvoEF) Copyright (c) 2019 Xiaoqiang Huang (tommyhuangthu@foxmail.com, xiaoqiah@umich.edu) Permission is hereby granted, free o...
55.687259
194
0.637697
[ "model" ]
e65c9901464cb3248ed64d1b73b5fffc79875490
5,133
cc
C++
src/executor.cc
alan-baker/amber
13dd6edfc6a0779093fa6182d1f57800d1e21504
[ "Apache-2.0" ]
null
null
null
src/executor.cc
alan-baker/amber
13dd6edfc6a0779093fa6182d1f57800d1e21504
[ "Apache-2.0" ]
null
null
null
src/executor.cc
alan-baker/amber
13dd6edfc6a0779093fa6182d1f57800d1e21504
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Amber 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...
32.283019
79
0.624002
[ "object", "vector" ]
e65d15011c05a643b0046bf0a519924231f2920d
5,641
cpp
C++
core_view/core_view.cpp
liember/lieEngine
d58ea0874a764d60b464e8db9163009ba99a7a24
[ "MIT" ]
1
2020-02-29T00:35:46.000Z
2020-02-29T00:35:46.000Z
core_view/core_view.cpp
liember/lieEngine
d58ea0874a764d60b464e8db9163009ba99a7a24
[ "MIT" ]
null
null
null
core_view/core_view.cpp
liember/lieEngine
d58ea0874a764d60b464e8db9163009ba99a7a24
[ "MIT" ]
null
null
null
#include "core_view.hpp" using namespace lieEngine::View; /* void Component::Label::correctTexture() { int texW = 0; int texH = 0; SDL_QueryTexture(texture, NULL, NULL, &texW, &texH); dstrect = {0, 0, texW, texH}; } void Component::Label::getTextureText(const char *t) { if (texture == nullptr) ...
20.892593
125
0.586775
[ "render" ]
e65f768db1db23802f1f0db8300192b7fe930af1
10,129
cpp
C++
src/presolve/to_sat.cpp
Coloquinte/umo
1f39c316d6584bbed22913aabaa4bfb5ee02d72b
[ "MIT" ]
1
2021-04-24T20:56:25.000Z
2021-04-24T20:56:25.000Z
src/presolve/to_sat.cpp
Coloquinte/umo
1f39c316d6584bbed22913aabaa4bfb5ee02d72b
[ "MIT" ]
null
null
null
src/presolve/to_sat.cpp
Coloquinte/umo
1f39c316d6584bbed22913aabaa4bfb5ee02d72b
[ "MIT" ]
null
null
null
#include "presolve/to_sat.hpp" #include "model/operator.hpp" #include "utils/utils.hpp" #include <cassert> using namespace std; namespace umoi { namespace presolve { class ToSat::Transformer { public: Transformer(PresolvedModel &); void run(); void createExpressions(); void satify(uint32_t i); ...
31.070552
95
0.607661
[ "vector", "model" ]
e66608a6d30e28a504c533854ad05cd972299e25
3,203
hh
C++
include/items/misc.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
include/items/misc.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
include/items/misc.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
#pragma once #include "collection.hh" namespace valk { class User; class Guild; class Channel; class Color { private: uint32_t value; public: uint8_t r, g, b, a; Color(const uint8_t _r = 0, const uint8_t _g = 0, const uint8_t _b = 0, const uint8_t _a = 0) : r(_r), g(_g), b(_b), a...
22.398601
58
0.583203
[ "vector" ]
e674a0dfde6a8e71de2e29228b03bb2a1fd85c32
3,771
cpp
C++
libs/pcl/pcl_examples/draw_correspondences/main_draw_correspondences.cpp
quanhua92/learning-notes
a9c50d3955c51bb58f4b012757c550b76c5309ef
[ "Apache-2.0" ]
null
null
null
libs/pcl/pcl_examples/draw_correspondences/main_draw_correspondences.cpp
quanhua92/learning-notes
a9c50d3955c51bb58f4b012757c550b76c5309ef
[ "Apache-2.0" ]
null
null
null
libs/pcl/pcl_examples/draw_correspondences/main_draw_correspondences.cpp
quanhua92/learning-notes
a9c50d3955c51bb58f4b012757c550b76c5309ef
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <pcl/io/pcd_io.h> #include <pcl/io/obj_io.h> #include <pcl/point_cloud.h> #include <pcl/console/parse.h> #include <pcl/common/transforms.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/filters/passthrough.h> using namespace std; using namespace pcl; void showHelp(char * pro...
33.078947
117
0.714134
[ "vector", "transform" ]
e67e06e3fb1e99f797bc1c1b22c35024a8043a0e
21,885
cpp
C++
retrace/d3d9state_images.cpp
Gurten/apitrace
e4ab1fee3eeb1f9f95a3b6f68339a0e5a87f5528
[ "MIT" ]
1,723
2015-01-08T19:10:21.000Z
2022-03-31T16:41:40.000Z
retrace/d3d9state_images.cpp
Gurten/apitrace
e4ab1fee3eeb1f9f95a3b6f68339a0e5a87f5528
[ "MIT" ]
471
2015-01-02T15:02:34.000Z
2022-03-26T17:54:10.000Z
retrace/d3d9state_images.cpp
Gurten/apitrace
e4ab1fee3eeb1f9f95a3b6f68339a0e5a87f5528
[ "MIT" ]
380
2015-01-22T19:06:32.000Z
2022-03-25T02:20:39.000Z
/************************************************************************** * * Copyright 2011 Jose Fonseca * 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 wit...
31.948905
137
0.633585
[ "render", "vector" ]
e68357f970cce03c81f4c72dbe899d5011201221
3,802
cc
C++
chrome/browser/enterprise/connectors/device_trust/key_management/core/signing_key_pair_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/enterprise/connectors/device_trust/key_management/core/signing_key_pair_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/enterprise/connectors/device_trust/key_management/core/signing_key_pair_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/enterprise/connectors/device_trust/key_management/core/signing_key_pair.h" #include <memory> #include <vector> #include "chrome...
40.021053
134
0.790637
[ "vector" ]
e6851e1174f604e1e925e04c4053f82cef6a0817
5,836
cpp
C++
video-led-driver.cpp
jhurliman/video-led-driver
63178b69a5501f284440c669b6b826257b3f179d
[ "MIT" ]
null
null
null
video-led-driver.cpp
jhurliman/video-led-driver
63178b69a5501f284440c669b6b826257b3f179d
[ "MIT" ]
null
null
null
video-led-driver.cpp
jhurliman/video-led-driver
63178b69a5501f284440c669b6b826257b3f179d
[ "MIT" ]
null
null
null
#include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include "rpi_ws281x/ws2811.h" #include <execinfo.h> #include <stdlib.h> #include <unistd.h> #include <chrono> #include <csignal> #include <iostream> #include <string> #include <thread> constexpr int LED_COUNT = 300; constexpr size_t IMAG...
31.545946
95
0.609664
[ "transform" ]
e685d25cdb7ec9d2800513132bc63599fbcde0ff
41,652
cc
C++
tests/zlib.cc
lethalbit/libalfheim
e70db0db7a7998e974e08fe2a955814e247e1ff6
[ "BSD-3-Clause" ]
1
2021-05-05T15:58:36.000Z
2021-05-05T15:58:36.000Z
tests/zlib.cc
lethalbit/libalfheim
e70db0db7a7998e974e08fe2a955814e247e1ff6
[ "BSD-3-Clause" ]
null
null
null
tests/zlib.cc
lethalbit/libalfheim
e70db0db7a7998e974e08fe2a955814e247e1ff6
[ "BSD-3-Clause" ]
null
null
null
/* SPDX-License-Identifier: BSD-3-Clause */ /* zlib.cc - libalfheim zlib test suite */ #include <libalfheim/internal/zlib.hh> #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> using libalfheim::internal::gzfile_t; using libalfheim::internal::zlib_t; // HACK!: These tests will explode on any machine other than a...
46.695067
87
0.656919
[ "vector" ]
e68cda5a98102da7f9c4352564c4e057dd5f24a4
4,753
hpp
C++
src/include/strie/louds.hpp
MatsuTaku/succinct-tries
58cf61bd05b78aadaee478a78f0dcf4e558a50c1
[ "MIT" ]
null
null
null
src/include/strie/louds.hpp
MatsuTaku/succinct-tries
58cf61bd05b78aadaee478a78f0dcf4e558a50c1
[ "MIT" ]
null
null
null
src/include/strie/louds.hpp
MatsuTaku/succinct-tries
58cf61bd05b78aadaee478a78f0dcf4e558a50c1
[ "MIT" ]
null
null
null
#ifndef SUCCINCT_TRIES__LOUDS_HPP_ #define SUCCINCT_TRIES__LOUDS_HPP_ #include <string> #include <cstring> #include <string_view> #include <iterator> #include <type_traits> #include <cassert> #include <exception> #include <vector> #include <queue> #include <tuple> #include <initializer_list> #include <iostream> #incl...
26.853107
98
0.601515
[ "vector" ]
e68e974b36fd03a4fe88f0db4e16a2f55ea14907
1,064
cpp
C++
samples/plot-function.cpp
franko/elementary-plotlib
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
14
2020-04-03T02:14:08.000Z
2021-07-16T21:05:56.000Z
samples/plot-function.cpp
franko/elementary-plotlib
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
2
2020-04-22T15:40:42.000Z
2020-04-28T21:17:23.000Z
samples/plot-function.cpp
franko/libcanvas
d11b56a13893781d84a8e93183f01b13140dd4e3
[ "MIT" ]
1
2020-04-30T07:49:02.000Z
2020-04-30T07:49:02.000Z
#include <cmath> #include "elem/elem.h" using namespace elem; int main() { // The function FxLine generate a Path object based on a // mathematical function (x) -> f(x). Path sin_line = FxLine(0.0001, 8 * math::Tau(), [](double x) { return std::sin(x) / x; }); // Declare a plot object. Plot plot...
29.555556
94
0.632519
[ "object" ]
e6971e27d57c57f34f88dfa1fdf0fb69d6f850f9
1,281
cpp
C++
Week4/PriorityQueue/TestPriorityQueue.cpp
AvansTi/TMTI-DATC-Voorbeelden
572d009ad9378228d125e4025bc0f9aa7763d053
[ "BSD-3-Clause" ]
2
2019-04-26T07:13:05.000Z
2020-04-24T09:47:20.000Z
Week4/PriorityQueue/TestPriorityQueue.cpp
AvansTi/TMTI-DATC-Voorbeelden
572d009ad9378228d125e4025bc0f9aa7763d053
[ "BSD-3-Clause" ]
null
null
null
Week4/PriorityQueue/TestPriorityQueue.cpp
AvansTi/TMTI-DATC-Voorbeelden
572d009ad9378228d125e4025bc0f9aa7763d053
[ "BSD-3-Clause" ]
1
2020-05-08T12:19:30.000Z
2020-05-08T12:19:30.000Z
#include <iostream> #include <functional> #include <string> #include <queue> #include <deque> #include <vector> using namespace std; template<typename T> void printQueue(T& pQueue) { while (!pQueue.empty()) { cout << pQueue.top() << " "; pQueue.pop(); } } int main() { auto cmp = [](const int lhs, const int r...
19.119403
61
0.618267
[ "vector" ]
e6a157d42580ffc2aa33106f9241197902097e94
3,196
cpp
C++
samples/softrender/MipMap.cpp
kunka/SoftRender
8089844e9ab00ab71ef1a820641ec07ae8df248d
[ "MIT" ]
6
2019-01-25T08:41:14.000Z
2021-08-22T07:06:11.000Z
samples/softrender/MipMap.cpp
kunka/SoftRender
8089844e9ab00ab71ef1a820641ec07ae8df248d
[ "MIT" ]
null
null
null
samples/softrender/MipMap.cpp
kunka/SoftRender
8089844e9ab00ab71ef1a820641ec07ae8df248d
[ "MIT" ]
3
2019-01-25T08:41:16.000Z
2020-09-04T06:04:29.000Z
// // Created by huangkun on 2018/8/19. // #include "MipMap.h" #include "Input.h" TEST_NODE_IMP_BEGIN MipMap::MipMap() { TEX_WIDTH = 1024; TEX_HEIGHT = 1024; } bool MipMap::init() { SoftRender::init(); verticesPlane = { // postions // textu...
32.612245
120
0.508135
[ "mesh", "vector", "transform" ]
e6a250a3943ea40bf2f5ee140b197ad076214968
2,953
hpp
C++
source/globals.hpp
Vortetty/GBATextLib
d2643169c64e645076f6c97a2948a830ffd69eb4
[ "Apache-2.0" ]
null
null
null
source/globals.hpp
Vortetty/GBATextLib
d2643169c64e645076f6c97a2948a830ffd69eb4
[ "Apache-2.0" ]
null
null
null
source/globals.hpp
Vortetty/GBATextLib
d2643169c64e645076f6c97a2948a830ffd69eb4
[ "Apache-2.0" ]
null
null
null
#ifndef globals #define globals #include <math.h> #include <climits> #include <cstring> #include <initializer_list> #define color uint16_t #define colorSet std::vector<color> unsigned short* videoBuffer = (unsigned short*)0x06000000; struct Vector2 { int_fast32_t x; ...
34.337209
193
0.586861
[ "vector" ]
e6a29ec255730c45eb1ccf6f0cb75ac037765e1b
8,011
cpp
C++
B2G/gecko/content/svg/content/src/SVGAnimatedLengthList.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/content/svg/content/src/SVGAnimatedLengthList.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/content/svg/content/src/SVGAnimatedLengthList.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ #include "SVGAnimatedLengthList.h"...
38.147619
90
0.705655
[ "object" ]
e6a9023bb77e191f4771ea8e5e76e4bb4fe13d62
586
cpp
C++
Arrays/Simulation array/Anti Diagonals.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
7
2019-06-29T08:57:07.000Z
2021-02-13T06:43:40.000Z
Arrays/Simulation array/Anti Diagonals.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
null
null
null
Arrays/Simulation array/Anti Diagonals.cpp
cenation092/InterviewBit-Solutions
ac4510a10d965fb681f7b3c80990407e18bc2668
[ "MIT" ]
3
2020-06-17T04:26:26.000Z
2021-02-12T04:51:40.000Z
vector<vector<int> > Solution::diagonal(vector<vector<int> > &A) { int n = A.size() + A.size()-1; vector<vector<int> > v(n); for( int i = 0; i < A.size(); i++ ){ int x = 0, y = i; while( x >= 0 && y >= 0 && x < A.size() && y < A.size()){ v[i].push_back(A[x][y]); x++, ...
29.3
66
0.366894
[ "vector" ]
e6b17a2f1247f62e1cac238632586d7ee0d31ced
654
cpp
C++
engine/modules/physx/editor/physx_controller_capsule_editor.cpp
Texas-C/echo
486acc57c9149363206a2367c865a2ccbac69975
[ "MIT" ]
675
2019-02-07T01:23:19.000Z
2022-03-28T05:45:10.000Z
engine/modules/physx/editor/physx_controller_capsule_editor.cpp
Texas-C/echo
486acc57c9149363206a2367c865a2ccbac69975
[ "MIT" ]
843
2019-01-25T01:06:46.000Z
2022-03-16T11:15:53.000Z
engine/modules/physx/editor/physx_controller_capsule_editor.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
83
2019-02-20T06:18:46.000Z
2022-03-20T09:36:09.000Z
#include "physx_controller_capsule_editor.h" #include "engine/core/editor/editor.h" #include "engine/core/math/Curve.h" #include "engine/core/main/Engine.h" namespace Echo { #ifdef ECHO_EDITOR_MODE PhysxControllerCapsuleEditor::PhysxControllerCapsuleEditor(Object* object) : ObjectEditor(object) { } PhysxContro...
21.8
130
0.787462
[ "object" ]
e6b3265f29e682ce175debaf13dff6e79e8fad21
4,579
cpp
C++
aws-cpp-sdk-backup/source/model/BackupPlansListMember.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-backup/source/model/BackupPlansListMember.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-backup/source/model/BackupPlansListMember.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/backup/model/BackupPlansListMember.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { ...
24.751351
154
0.762175
[ "model" ]
e6b62a75c4acb0f326756bc651d1e813470635dd
11,948
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/clangcodemodel/clangcompletionchunkstotextconverter.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/plugins/clangcodemodel/clangcompletionchunkstotextconverter.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/clangcodemodel/clangcompletionchunkstotextconverter.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
33.751412
103
0.732675
[ "vector" ]
e6b94f6717cb5abc70e878547d37e2c5278ed372
10,064
cpp
C++
Common/Geometry/Buffer/plgnsbak.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Common/Geometry/Buffer/plgnsbak.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Common/Geometry/Buffer/plgnsbak.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// // Copyright (C) 2004-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
35.312281
106
0.56558
[ "object" ]
e6bd47048fb05b3890c5d28f8da825e6ee6bb2db
5,104
hpp
C++
octopus/global_variable.hpp
STEllAR-GROUP/octopus
a1f910d63380e4ebf91198ac2bc2896505ce6146
[ "BSL-1.0" ]
4
2016-01-30T14:47:21.000Z
2017-11-19T19:03:19.000Z
octopus/global_variable.hpp
STEllAR-GROUP/octopus
a1f910d63380e4ebf91198ac2bc2896505ce6146
[ "BSL-1.0" ]
null
null
null
octopus/global_variable.hpp
STEllAR-GROUP/octopus
a1f910d63380e4ebf91198ac2bc2896505ce6146
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2012 Bryce Adelstein-Lelbach // // 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) //////////////////////////////////...
34.255034
80
0.536442
[ "vector" ]
e6c099dbdf0dd4aba9d1781622b229fed478595b
6,177
cpp
C++
Udemy/07. [CODING] Uniform Variables/main.cpp
Mavrikant/OpenGL-Course
c65c1bb4360e1de056c7a5616cd55e55b91ed9d4
[ "MIT" ]
null
null
null
Udemy/07. [CODING] Uniform Variables/main.cpp
Mavrikant/OpenGL-Course
c65c1bb4360e1de056c7a5616cd55e55b91ed9d4
[ "MIT" ]
null
null
null
Udemy/07. [CODING] Uniform Variables/main.cpp
Mavrikant/OpenGL-Course
c65c1bb4360e1de056c7a5616cd55e55b91ed9d4
[ "MIT" ]
null
null
null
#include <cmath> #include <iostream> #include <stdio.h> #include <string.h> #include <GL/glew.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> // Window dimensions const GLint WIDTH = 800; const GLint HEIGHT = 600; GLuint VBO, VAO, shader, Rot...
28.465438
117
0.54962
[ "transform" ]
e6c3a18d04962204898b085f40d9450131b7858a
8,566
cc
C++
compiler/utils/assembler.cc
lifansama/xposed_art_n
ec3fbe417d74d4664cec053d91dd4e3881176374
[ "MIT" ]
234
2017-07-18T05:30:27.000Z
2022-01-07T02:21:31.000Z
compiler/utils/assembler.cc
lifansama/xposed_art_n
ec3fbe417d74d4664cec053d91dd4e3881176374
[ "MIT" ]
21
2017-07-18T04:56:09.000Z
2018-08-10T17:32:16.000Z
compiler/utils/assembler.cc
lifansama/xposed_art_n
ec3fbe417d74d4664cec053d91dd4e3881176374
[ "MIT" ]
56
2017-07-18T10:37:10.000Z
2022-01-07T02:19:22.000Z
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
33.724409
88
0.692272
[ "vector" ]
e6c837fa309538799a44d6461f5053a59d4a67f9
4,154
cpp
C++
source/RightPopupMenu.cpp
xzrunner/sketch
e16ffae33e6e583c13591e027e664f3a14c41dcb
[ "MIT" ]
null
null
null
source/RightPopupMenu.cpp
xzrunner/sketch
e16ffae33e6e583c13591e027e664f3a14c41dcb
[ "MIT" ]
null
null
null
source/RightPopupMenu.cpp
xzrunner/sketch
e16ffae33e6e583c13591e027e664f3a14c41dcb
[ "MIT" ]
null
null
null
#include "sketch/RightPopupMenu.h" #include "sketch/ConsEditView.h" #include <ee0/EditPanelImpl.h> #include <ee0/WxStagePage.h> #include <SM_Calc.h> #include <geoshape/Shape2D.h> #include <geoshape/Point2D.h> #include <geoshape/Line2D.h> #include <node0/SceneNode.h> #include <node2/CompShape.h> #include <wx/window.h...
27.879195
115
0.624699
[ "shape", "vector" ]
e6cc7819fb0e049190a96cba25e42fc06bed5383
2,073
cpp
C++
GoogleServiceServer/xmlParser.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
GoogleServiceServer/xmlParser.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
GoogleServiceServer/xmlParser.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
#include <windows.h> #include <iostream> #include "xmlParser.h" #include <stdarg.h> #include "Base64.h" #include "Coder.h" using namespace std; int XMLParser::getvalue(char * str,char * name,char *dst,int * dstlen,int base64flag) { int strsize = lstrlenA(str); string h = string("<") + (name) + ">"; int cmp...
17.717949
97
0.51616
[ "vector" ]
e6cf9365aa35cf83e63ce6638a21aba944e3821e
16,175
cpp
C++
parser/Parser.cpp
stefaniatadama/cps2000-minilang-interpreter
9cde131af3491ad453d21f8e5de767fdc677a6e1
[ "MIT" ]
1
2020-02-13T08:06:58.000Z
2020-02-13T08:06:58.000Z
parser/Parser.cpp
stefaniatadama/cps2000-minilang-interpreter
9cde131af3491ad453d21f8e5de767fdc677a6e1
[ "MIT" ]
null
null
null
parser/Parser.cpp
stefaniatadama/cps2000-minilang-interpreter
9cde131af3491ad453d21f8e5de767fdc677a6e1
[ "MIT" ]
null
null
null
#include <stdexcept> #include <vector> #include <iostream> #include "Parser.h" #include "../AST/ASTProgramNode.h" #include "../AST/ASTRealLiteralExpressionNode.h" #include "../AST/ASTIntLiteralExpressionNode.h" #include "../AST/ASTBoolLiteralExpressionNode.h" #include "../AST/ASTStringLiteralExpressionNode.h" #include ...
34.414894
164
0.679815
[ "vector" ]
5c7fadd499e6c2987ed50365b84c53d2dc0a4150
1,157
cpp
C++
10-arrays-and-vectors/10.32-optional-peoples-weights/solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
2
2020-09-04T22:06:06.000Z
2020-09-09T04:00:25.000Z
10-arrays-and-vectors/10.32-optional-peoples-weights/solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
14
2020-08-24T01:44:36.000Z
2021-01-01T08:44:17.000Z
10-arrays-and-vectors/10.32-optional-peoples-weights/solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
1
2020-09-04T22:13:13.000Z
2020-09-04T22:13:13.000Z
#include <iostream> #include <string> #include <vector> #include <fstream> #include <iomanip> using namespace std; void OutputStats(vector<double>& weights); void ReadWeights(const string& filename, vector<double>& weights); int main() { const string FILENAME = "input.txt"; vector<double> weights; ReadW...
22.25
67
0.548833
[ "vector" ]
5c828377c5539607796e55c705f5a3808d13d9d1
9,341
cpp
C++
native/rambo/CPU/rambo_wo_mkl.cpp
geexie/dpbench
7d41409ded3c816f35003bc5aea071852bceb892
[ "BSD-2-Clause" ]
8
2021-03-26T15:17:58.000Z
2022-01-21T21:56:19.000Z
native/rambo/CPU/rambo_wo_mkl.cpp
geexie/dpbench
7d41409ded3c816f35003bc5aea071852bceb892
[ "BSD-2-Clause" ]
22
2021-03-30T21:20:57.000Z
2022-02-22T13:42:17.000Z
native/rambo/CPU/rambo_wo_mkl.cpp
geexie/dpbench
7d41409ded3c816f35003bc5aea071852bceb892
[ "BSD-2-Clause" ]
7
2021-03-23T11:00:43.000Z
2022-02-02T12:28:55.000Z
/* Copyright (c) 2020, Intel Corporation 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 of conditions and the following disclaimer. * ...
31.451178
81
0.554009
[ "vector" ]
5c82d68bca26821ca9ef9cc3c98e21ac941e7e4e
566
cpp
C++
Graph/topSort.cpp
GajuuKool/DSA_CPP
c63b64783238680fcb97f908298c7378f9109063
[ "MIT" ]
null
null
null
Graph/topSort.cpp
GajuuKool/DSA_CPP
c63b64783238680fcb97f908298c7378f9109063
[ "MIT" ]
null
null
null
Graph/topSort.cpp
GajuuKool/DSA_CPP
c63b64783238680fcb97f908298c7378f9109063
[ "MIT" ]
4
2021-10-04T09:52:06.000Z
2021-10-04T10:11:08.000Z
void DFS_Top(vector<int> adj[], int start, int &label, vector<bool> &visited, vector<int> &order) { visited[start] = true; for(int v: adj[start]) if(!visited[v]) DFS_Top(adj,v,label,visited,order); order[start] = label--; } vector<int> TopSort(vector<int> adj[], int n) { vector<bool> visited(n+1,false); ...
20.214286
97
0.627208
[ "vector" ]
5c861538c9553781541758299b9ad617a472a691
7,262
cpp
C++
src/ofxOpenCvDnnSegmentation.cpp
TetsuakiBaba/ofxOpenCvDnnSegmentation
f5f207de53ff82f4573e1381ed7c0277eca3f36b
[ "MIT" ]
11
2019-07-13T16:53:35.000Z
2022-01-06T11:12:24.000Z
src/ofxOpenCvDnnSegmentation.cpp
bemoregt/ofxOpenCvDnnSegmentation
f5f207de53ff82f4573e1381ed7c0277eca3f36b
[ "MIT" ]
1
2020-09-03T17:18:52.000Z
2021-07-27T01:33:37.000Z
src/ofxOpenCvDnnSegmentation.cpp
bemoregt/ofxOpenCvDnnSegmentation
f5f207de53ff82f4573e1381ed7c0277eca3f36b
[ "MIT" ]
1
2019-07-15T13:21:15.000Z
2019-07-15T13:21:15.000Z
#include "ofxOpenCvDnnSegmentation.h" vector<string> split(string& input, char delimiter) { istringstream stream(input); string field; vector<string> result; while (getline(stream, field, delimiter)) { result.push_back(field); } return result; } ofxOpenCvDnnSegmentation::ofxOpenCvDnnS...
28.478431
112
0.574497
[ "vector", "model" ]
5c88c28a76f95b93b840facd2af4815dbc21be62
16,216
cpp
C++
lib/tlrGL/Mesh.cpp
darbyjohnston/tlRender
0bdb8aa3795a0098811a7c3ed6add3023bcfd55a
[ "BSD-3-Clause" ]
59
2021-04-26T23:38:35.000Z
2022-03-23T15:21:44.000Z
lib/tlrGL/Mesh.cpp
darbyjohnston/tlRender
0bdb8aa3795a0098811a7c3ed6add3023bcfd55a
[ "BSD-3-Clause" ]
17
2021-04-30T02:03:08.000Z
2022-01-11T19:54:47.000Z
lib/tlrGL/Mesh.cpp
darbyjohnston/tlRender
0bdb8aa3795a0098811a7c3ed6add3023bcfd55a
[ "BSD-3-Clause" ]
5
2021-06-07T16:11:53.000Z
2021-12-10T23:29:45.000Z
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2021-2022 Darby Johnston // All rights reserved. #include <tlrGL/Mesh.h> #include <tlrCore/Math.h> #include <tlrCore/Mesh.h> #include <array> namespace tlr { namespace gl { namespace { struct PackedNormal { ...
42.119481
118
0.435126
[ "mesh", "vector" ]
5c99ccf7cd05a93555101f78c6b560f25f2d827b
2,231
cpp
C++
test/tests/frame_test.cpp
pkuehne/fortress
1fac97edcb47b4dd6bf65f553585c22d0cd2e4de
[ "MIT" ]
null
null
null
test/tests/frame_test.cpp
pkuehne/fortress
1fac97edcb47b4dd6bf65f553585c22d0cd2e4de
[ "MIT" ]
118
2015-08-03T08:06:53.000Z
2022-01-13T17:26:00.000Z
test/tests/frame_test.cpp
pkuehne/fortress
1fac97edcb47b4dd6bf65f553585c22d0cd2e4de
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "../../src/windows/frame.h" #include "../mocks/widget_mock.h" using namespace ::testing; TEST(Frame, realignCalledForChildren) { unsigned int x = 5; unsigned int y = 7; unsigned int width = 100; unsigned int height = 200; Frame frame; WidgetMock mock; fr...
21.247619
78
0.632004
[ "render" ]
5c9a08276c848273a45266ae99da64ac93f2fb88
3,592
cpp
C++
src/pre-commit-hook/main.cpp
HuuugeGames/Lucy
020b8e6d3ba4605bfc65a29c5072c9643ebd8c43
[ "Apache-2.0" ]
null
null
null
src/pre-commit-hook/main.cpp
HuuugeGames/Lucy
020b8e6d3ba4605bfc65a29c5072c9643ebd8c43
[ "Apache-2.0" ]
null
null
null
src/pre-commit-hook/main.cpp
HuuugeGames/Lucy
020b8e6d3ba4605bfc65a29c5072c9643ebd8c43
[ "Apache-2.0" ]
null
null
null
#include <sys/select.h> #include <cassert> #include <cstdio> #include <cstdlib> #include <cstring> #include <string_view> #include <unistd.h> #include <vector> #include "Config.hpp" #include "Git.hpp" #include "Job.hpp" std::vector <std::string> collectFilenames(git_diff *diff) { std::vector <std::string> result; a...
25.295775
120
0.629733
[ "vector" ]
5c9bb5cf02a9737697dccfe7e7672941cdc2cdea
16,144
cpp
C++
src/run_recover.cpp
rwtourdot/mlinker
406c18a4727a16739d6300f08e218aec4779be97
[ "MIT" ]
1
2021-08-24T15:35:40.000Z
2021-08-24T15:35:40.000Z
src/run_recover.cpp
rwtourdot/mlinker
406c18a4727a16739d6300f08e218aec4779be97
[ "MIT" ]
1
2021-08-10T02:58:45.000Z
2021-08-10T20:23:19.000Z
src/run_recover.cpp
rwtourdot/mlinker
406c18a4727a16739d6300f08e218aec4779be97
[ "MIT" ]
2
2021-03-18T16:03:56.000Z
2021-03-18T16:05:41.000Z
#include "run_recover.h" /////////////// namespaces /////////////////// namespace opt { static std::string chr_choice = "chr20"; static std::string input_scaffold_file = "./output/hap_full_scaffold_oct7_K562_chr20.dat"; static std::string input_graph_file = "./output/graph_variant_oct3_K562_bam...
51.909968
315
0.580216
[ "vector" ]
5c9f76832b03657a7fba430d5d92a4bcd5bf475d
4,959
cpp
C++
src/Sphere.cpp
omi-lab/tp_math_utils
bbcdec7a680fb2fd029006ad456efb5e81d840c3
[ "MIT" ]
null
null
null
src/Sphere.cpp
omi-lab/tp_math_utils
bbcdec7a680fb2fd029006ad456efb5e81d840c3
[ "MIT" ]
null
null
null
src/Sphere.cpp
omi-lab/tp_math_utils
bbcdec7a680fb2fd029006ad456efb5e81d840c3
[ "MIT" ]
3
2018-08-30T10:01:10.000Z
2020-10-07T10:56:26.000Z
#include "tp_math_utils/Sphere.h" #include "glm/gtx/compatibility.hpp" namespace tp_math_utils { //################################################################################################## //Geometry3D Sphere::icosahedralClass1(float radius, // size_t division, // ...
30.99375
100
0.463803
[ "geometry", "vector" ]
5ca0730f5961899ca300e6d439a9df86c97975ea
3,804
hpp
C++
src/openEL_ActuatorM5StackGrayBMM150.hpp
openel/openel-arduino
8d429cb8b6e0d3ba152655a67459bc0f5ab54186
[ "MIT", "BSD-3-Clause" ]
1
2021-11-19T08:53:36.000Z
2021-11-19T08:53:36.000Z
src/openEL_ActuatorM5StackGrayBMM150.hpp
openel/openel-arduino
8d429cb8b6e0d3ba152655a67459bc0f5ab54186
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/openEL_ActuatorM5StackGrayBMM150.hpp
openel/openel-arduino
8d429cb8b6e0d3ba152655a67459bc0f5ab54186
[ "MIT", "BSD-3-Clause" ]
2
2021-11-07T00:22:12.000Z
2021-11-07T06:41:45.000Z
/* * MIT License * * Copyright (c) 2017 M5Stack * Copyright (c) 2021 JASA(Japan Embedded Systems Technology Association) * * 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 rest...
45.285714
125
0.784963
[ "vector" ]
5cafe87d4520b49d71a0308f24301f7193d844c2
1,596
cpp
C++
hphp/runtime/test/object.cpp
OrochiProject/hhvm-verifier
4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5
[ "PHP-3.01", "Zend-2.0" ]
1
2016-09-14T15:47:16.000Z
2016-09-14T15:47:16.000Z
hphp/runtime/test/object.cpp
OrochiProject/hhvm-verifier
4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/test/object.cpp
OrochiProject/hhvm-verifier
4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | +---------...
39.9
75
0.469298
[ "object" ]
5cb18c3407f24e165ff38e4e7ebbc8091a8ff339
3,663
cpp
C++
mps_voxels/src/mps_voxels/logging/DataLog.cpp
UM-ARM-Lab/multihypothesis_segmentation_tracking
801d460afbf028100374c880bc684187ec8b909f
[ "MIT" ]
3
2020-10-31T21:42:36.000Z
2021-12-16T12:56:02.000Z
mps_voxels/src/mps_voxels/logging/DataLog.cpp
UM-ARM-Lab/multihypothesis_segmentation_tracking
801d460afbf028100374c880bc684187ec8b909f
[ "MIT" ]
1
2020-11-11T03:46:08.000Z
2020-11-11T03:46:08.000Z
mps_voxels/src/mps_voxels/logging/DataLog.cpp
UM-ARM-Lab/multihypothesis_segmentation_tracking
801d460afbf028100374c880bc684187ec8b909f
[ "MIT" ]
1
2022-03-02T12:32:21.000Z
2022-03-02T12:32:21.000Z
/* * Copyright (c) 2020 Andrew Price * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditi...
30.525
110
0.715261
[ "vector" ]
5cb7670efbf9c2525e5a8badbfef314abbb71128
10,870
hpp
C++
assembled_chunk_msgpack.hpp
CHIMEFRB/ch_frb_io
1c283cda329c16cd04cf79d9d520a2076f748c9d
[ "MIT" ]
null
null
null
assembled_chunk_msgpack.hpp
CHIMEFRB/ch_frb_io
1c283cda329c16cd04cf79d9d520a2076f748c9d
[ "MIT" ]
17
2016-06-15T22:55:57.000Z
2020-09-25T18:15:40.000Z
assembled_chunk_msgpack.hpp
CHIMEFRB/ch_frb_io
1c283cda329c16cd04cf79d9d520a2076f748c9d
[ "MIT" ]
3
2017-01-12T11:42:19.000Z
2019-01-14T23:54:44.000Z
#ifndef _ASSEMBLED_CHUNK_MSGPACK_HPP #define _ASSEMBLED_CHUNK_MSGPACK_HPP #include <vector> #include <iostream> #include <msgpack.hpp> extern "C" { // UGH: c99 #define __STDC_VERSION__ 199901L #include <bitshuffle.h> } #include <ch_frb_io.hpp> /** Code for packing objects into msgpack mesages, and vice versa. **...
41.018868
194
0.603128
[ "object", "vector" ]
5cbefb26f8b66a27db226ae9762f64c117f9290b
389,751
cxx
C++
dev/ese/src/ese/space.cxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
1
2021-02-02T07:04:07.000Z
2021-02-02T07:04:07.000Z
dev/ese/src/ese/space.cxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
null
null
null
dev/ese/src/ese/space.cxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "std.hxx" #include "_space.hxx" #ifdef PERFMON_SUPPORT PERFInstanceLiveTotal<> cSPPagesTrimmed; LONG LSPPagesTrimmedCEFLPv( LONG iInstance, VOID *pvBuf ) { cSPPagesTrimmed.PassTo( iInstance, pvBuf ); return 0; } PERFIns...
30.788451
206
0.548501
[ "3d" ]
5cc671535f7be9922ff5ef9760a30eb0e24b3c73
5,378
cpp
C++
test/conversion.cpp
ChasonTang/N-API
4ab22f6b72e94c818673e536bf4cbb69409a643b
[ "Apache-2.0" ]
20
2021-02-25T06:14:48.000Z
2022-03-10T10:09:08.000Z
test/conversion.cpp
ChasonTang/N-API
4ab22f6b72e94c818673e536bf4cbb69409a643b
[ "Apache-2.0" ]
2
2021-08-06T11:12:32.000Z
2021-09-09T10:03:03.000Z
test/conversion.cpp
ChasonTang/N-API
4ab22f6b72e94c818673e536bf4cbb69409a643b
[ "Apache-2.0" ]
2
2022-02-14T09:15:16.000Z
2022-03-28T02:54:07.000Z
#include <test.h> EXTERN_C_START static NAPIValue toBool(NAPIEnv env, NAPICallbackInfo info) { size_t argc = 1; NAPIValue args[1]; assert(napi_get_cb_info(env, info, &argc, args, nullptr, nullptr) == NAPICommonOK); NAPIValue output; assert(napi_coerce_to_bool(env, args[0], &output) == NAPIExcepti...
59.098901
120
0.690591
[ "object" ]
5cccaefe13baebc25fafe3cdb1484b549162dd63
21,223
hpp
C++
external/openglcts/modules/glesext/geometry_shader/esextcGeometryShaderRendering.hpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
354
2017-01-24T17:12:38.000Z
2022-03-30T07:40:19.000Z
external/openglcts/modules/glesext/geometry_shader/esextcGeometryShaderRendering.hpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
275
2017-01-24T20:10:36.000Z
2022-03-24T16:24:50.000Z
external/openglcts/modules/glesext/geometry_shader/esextcGeometryShaderRendering.hpp
iabernikhin/VK-GL-CTS
a3338eb2ded98b5befda64f9325db0d219095a00
[ "Apache-2.0" ]
190
2017-01-24T18:02:04.000Z
2022-03-27T13:11:23.000Z
#ifndef _ESEXTCGEOMETRYSHADERRENDERING_HPP #define _ESEXTCGEOMETRYSHADERRENDERING_HPP /*------------------------------------------------------------------------- * OpenGL Conformance Test Suite * ----------------------------- * * Copyright (c) 2014-2016 The Khronos Group Inc. * * Licensed under the Apache License...
38.170863
115
0.732413
[ "geometry", "shape" ]
5ccffcbb1f03ee19cc23ae17d4c5350f35d61b30
3,013
cpp
C++
Razor/src/Razor/Animation/AnimationManager.cpp
0zirix/Razor
b902d316da058caa636efce15da405beb73d9f73
[ "MIT" ]
2
2021-09-25T02:44:02.000Z
2021-10-03T09:37:54.000Z
Razor/src/Razor/Animation/AnimationManager.cpp
0zirix/Razor
b902d316da058caa636efce15da405beb73d9f73
[ "MIT" ]
null
null
null
Razor/src/Razor/Animation/AnimationManager.cpp
0zirix/Razor
b902d316da058caa636efce15da405beb73d9f73
[ "MIT" ]
null
null
null
#include "rzpch.h" #include "BoneTransform.h" #include "Bone.h" #include "AnimationManager.h" #include "Animation.h" #include "Razor/Geometry/SkeletalMesh.h" namespace Razor { AnimationManager::AnimationManager(SkeletalMesh* mesh) : mesh(mesh), current_animation(nullptr), delta(0.0f), time(0.0f) { } Ani...
25.319328
149
0.715898
[ "mesh", "geometry", "vector" ]
5cd72ab727f82c8787a9d9c5522df125eaf735a7
15,476
cpp
C++
test/projective/direct_linear_transformation.cpp
Rookfighter/cv-eigen
0387bf62e22e9d9fb86e6fa03e05bc8250c7d651
[ "MIT" ]
8
2019-10-02T04:21:46.000Z
2020-12-08T07:56:04.000Z
test/projective/direct_linear_transformation.cpp
Rookfighter/cv-eigen
0387bf62e22e9d9fb86e6fa03e05bc8250c7d651
[ "MIT" ]
8
2019-10-21T12:13:58.000Z
2021-08-01T15:14:28.000Z
test/projective/direct_linear_transformation.cpp
Rookfighter/cv-eigen
0387bf62e22e9d9fb86e6fa03e05bc8250c7d651
[ "MIT" ]
2
2019-10-02T04:17:24.000Z
2020-12-08T07:56:11.000Z
/* direct_linear_transformation.cpp * * Author: Fabian Meyer * Created On: 25 Sep 2019 */ #include "assert/eigen_require.h" #include <cve/projective/direct_linear_transformation.h> using namespace cve; typedef double Scalar; typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> Matrix; typedef Eigen::Mat...
171.955556
1,260
0.796976
[ "model" ]
5cd7e200e212086281f492cddf1ecacfdac1682a
20,266
cpp
C++
glipf/src/processors/foreground-histogram-processor.cpp
cognitivesystems/smartcamera
5374193260e6385becfe8086a70d21d650314beb
[ "BSD-2-Clause" ]
1
2017-03-27T16:14:59.000Z
2017-03-27T16:14:59.000Z
glipf/src/processors/foreground-histogram-processor.cpp
cognitivesystems/smartcamera
5374193260e6385becfe8086a70d21d650314beb
[ "BSD-2-Clause" ]
null
null
null
glipf/src/processors/foreground-histogram-processor.cpp
cognitivesystems/smartcamera
5374193260e6385becfe8086a70d21d650314beb
[ "BSD-2-Clause" ]
null
null
null
#include <glipf/processors/foreground-histogram-processor.h> #include <glipf/gles-utils/shader-builder.h> #include <glipf/gles-utils/glsl-program-builder.h> #include <boost/variant/get.hpp> #include <glm/gtc/type_ptr.hpp> #include <cstring> #define BASE_TEXTURE_WIDTH 160 #define BASE_TEXTURE_HEIGHT 120 #define HIS...
38.675573
107
0.690072
[ "vector", "model" ]
5cdb755955a3875590bc64b28d997ab161a4952a
1,952
hpp
C++
src/vm/object_support/factory.hpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
10
2020-01-23T20:41:19.000Z
2021-12-28T20:24:44.000Z
src/vm/object_support/factory.hpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
22
2021-03-25T16:22:08.000Z
2022-03-17T12:50:38.000Z
src/vm/object_support/factory.hpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
null
null
null
#ifndef TIRO_VM_OBJECT_SUPPORT_FACTORY_HPP #define TIRO_VM_OBJECT_SUPPORT_FACTORY_HPP #include "common/assert.hpp" #include "common/defs.hpp" #include "vm/context.hpp" #include "vm/object_support/layout.hpp" namespace tiro::vm { namespace detail { template<typename Layout, typename... Args> inline Layout* create_im...
36.830189
100
0.722848
[ "object" ]
5ce527610d7612f56a69ededb4afdeb4293582f2
23,388
cpp
C++
CsCoreDEPRECATED/Source/CsCoreDEPRECATED/Weapon/CsFpsWeapon.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsCoreDEPRECATED/Source/CsCoreDEPRECATED/Weapon/CsFpsWeapon.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsCoreDEPRECATED/Source/CsCoreDEPRECATED/Weapon/CsFpsWeapon.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2019 Closed Sum Games, LLC. All Rights Reserved. #include "Weapon/CsFpsWeapon.h" #include "CsCoreDEPRECATED.h" #include "CsCVars.h" // Library #include "Library/CsLibrary_Common.h" // Pawn #include "Player/CsFpsPawn.h" // Anim #include "Animation/CsAnimInstance_Character.h" #include "Animation/CsAnim...
33.268848
167
0.77792
[ "mesh" ]
5ceb53acd4b7702a3c7a120c3f0423ec8b994993
758
cpp
C++
codeforces/363/B.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
5
2020-06-30T12:44:25.000Z
2021-07-14T06:35:57.000Z
codeforces/363/B.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
null
null
null
codeforces/363/B.cpp
amitdu6ey/Online-Judge-Submissions
9585aec29228211454bca5cf1d5738f49fb0aa8f
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #define ll long long using namespace std; void solve(){ ll n,k,sum=0,min=0,ans=1; cin>>n>>k; vector<ll> a(n); for(vector<ll>::iterator it = a.begin();it != a.end();it++){ cin>>*it; } for(vector<ll>::iterator it = a.begin();it != a.begin()+k;it++){ ...
20.486486
68
0.472296
[ "vector" ]
5cec6b2ccaa52b7856c5fc4ac162bb599b7bb78a
13,189
cc
C++
storage/browser/quota/usage_tracker_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
storage/browser/quota/usage_tracker_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
storage/browser/quota/usage_tracker_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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 <stdint.h> #include <utility> #include <vector> #include "base/bind.h" #include "base/location.h" #include "base/macros.h" #include "base/run_l...
33.559796
80
0.719312
[ "vector" ]
5cf2a987bcdfb263237a1f9abfa01b8c6a968a4a
1,052
cpp
C++
grooking_patterns_cpp/dp_probs/min_diff_partition.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
1
2021-09-19T16:41:58.000Z
2021-09-19T16:41:58.000Z
grooking_patterns_cpp/dp_probs/min_diff_partition.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
null
null
null
grooking_patterns_cpp/dp_probs/min_diff_partition.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; size_t min_diff_dp(vector<unsigned> &arr) { size_t sum = accumulate(arr.begin(), arr.end(), 0); vector<vector<bool>> dp(arr.size()+1, vector<bool> (sum+1, 0)); for(size_t i = 0; i <= arr.size(); ++i) dp[i][0] = 1; for(size_t i = 1; i <= sum; ++i) dp[0][i]...
23.909091
77
0.475285
[ "vector" ]
9dd1287fd13282d503a7b425251478dea3e3c5d9
5,987
hh
C++
src/cxx/include/layout/Barcode.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
5
2021-06-07T12:36:11.000Z
2022-02-08T09:49:02.000Z
src/cxx/include/layout/Barcode.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
1
2022-03-01T23:55:57.000Z
2022-03-01T23:57:15.000Z
src/cxx/include/layout/Barcode.hh
sbooeshaghi/bcl2fastq
3f39a24cd743fa71fba9b7dcf62e5d33cea8272d
[ "BSD-3-Clause" ]
null
null
null
/** * BCL to FASTQ file converter * Copyright (c) 2007-2017 Illumina, Inc. * * This software is covered by the accompanying EULA * and certain third party copyright/licenses, and any user of this * source file is bound by the terms therein. * * \file Barcode.hh * * \brief Declaration of barcode. * * \aut...
28.509524
106
0.663772
[ "vector" ]
9dd187726df31df2d5c4c7af59883862413c1a56
268
hpp
C++
sha1-hmac.hpp
zolbooo/gtotp
7635e177b47aab07c8e3748560d308103d3d9503
[ "MIT" ]
null
null
null
sha1-hmac.hpp
zolbooo/gtotp
7635e177b47aab07c8e3748560d308103d3d9503
[ "MIT" ]
null
null
null
sha1-hmac.hpp
zolbooo/gtotp
7635e177b47aab07c8e3748560d308103d3d9503
[ "MIT" ]
null
null
null
#include <openssl/hmac.h> #include <cstring> #include <string> #include <vector> const int hmac_size = 20; std::vector<uint8_t> sha1_hmac(std::string key, std::string message); std::vector<uint8_t> sha1_hmac(std::vector<uint8_t> key, std::vector<uint8_t> message);
26.8
87
0.738806
[ "vector" ]
9de61966cab0303e5a7067e766776c19f04cf1b7
656
cpp
C++
escenario.cpp
EnriqueJose99/P3Lab-6_EnriqueGaleanoTalavera_NUEVO
3819f35527aeb0b53a4e5e5a597e1d37063409ac
[ "MIT" ]
null
null
null
escenario.cpp
EnriqueJose99/P3Lab-6_EnriqueGaleanoTalavera_NUEVO
3819f35527aeb0b53a4e5e5a597e1d37063409ac
[ "MIT" ]
null
null
null
escenario.cpp
EnriqueJose99/P3Lab-6_EnriqueGaleanoTalavera_NUEVO
3819f35527aeb0b53a4e5e5a597e1d37063409ac
[ "MIT" ]
null
null
null
#include "escenario.h" #include "bombas.h" #include <iostream> #include <string> using namespace std; Escenario::Escenario(){ } Escenario::Escenario(string pNombreEs){ nombreEs = pNombreEs; } void Escenario::setNombreEs(string pNombreEs){ nombreEs = pNombreEs; } string Escenario::getNombreEs(){ return nombre...
16.820513
46
0.625
[ "vector" ]
9de84b29e8b8b7b20a801f9f9495c1644d126be7
64,303
cpp
C++
shell/osshell/accessib/narrator/narrator/narrator.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
shell/osshell/accessib/narrator/narrator/narrator.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
shell/osshell/accessib/narrator/narrator/narrator.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/************************************************************************* Project: Narrator Module: narrator.c Author: Paul Blenkhorn Date: April 1997 Notes: Contains main application initalization code Credit to be given to MSAA team - bits of code ...
31.215049
129
0.581948
[ "object" ]
9df0795bf465759bc3fe7f9df717d9567ee0aeed
2,812
cpp
C++
demo/thread-pools/thread-pools.cpp
AndreLouisCaron/w32
75b26a149e268138cbcf43e6f4669756ac4ac850
[ "BSD-2-Clause" ]
9
2015-12-30T15:21:20.000Z
2021-03-21T04:23:14.000Z
demo/thread-pools/thread-pools.cpp
AndreLouisCaron/w32
75b26a149e268138cbcf43e6f4669756ac4ac850
[ "BSD-2-Clause" ]
1
2022-01-02T11:12:57.000Z
2022-01-02T11:12:57.000Z
demo/thread-pools/thread-pools.cpp
AndreLouisCaron/w32
75b26a149e268138cbcf43e6f4669756ac4ac850
[ "BSD-2-Clause" ]
5
2018-04-09T04:44:58.000Z
2020-04-10T12:51:51.000Z
// Copyright (c) 2009-2012, Andre Caron (andre.l.caron@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 //...
34.292683
75
0.620555
[ "object" ]
9df2a853531d5aa3452aa7ea89a2645c78e1a81b
701
cpp
C++
src/NodeRTLib/CppTemplates/StaticPropertyGetter.cpp
appliedrd/NodeRT
10b3003032078d2ae43db56636f094f1f5d6836e
[ "Apache-2.0" ]
568
2015-01-06T17:35:15.000Z
2022-03-09T17:51:38.000Z
src/NodeRTLib/CppTemplates/StaticPropertyGetter.cpp
appliedrd/NodeRT
10b3003032078d2ae43db56636f094f1f5d6836e
[ "Apache-2.0" ]
141
2015-02-11T20:49:13.000Z
2022-02-25T11:36:51.000Z
src/NodeRTLib/CppTemplates/StaticPropertyGetter.cpp
appliedrd/NodeRT
10b3003032078d2ae43db56636f094f1f5d6836e
[ "Apache-2.0" ]
58
2015-05-03T10:05:08.000Z
2022-02-07T21:23:17.000Z
 static void @(Model.Name)Getter(Local<String> property, const Nan::PropertyCallbackInfo<v8::Value> &info) { HandleScope scope; try {@{ var jsConversionInfo = Converter.ToJS(Model.PropertyType, TX.MainModel.Types.ContainsKey(Model.PropertyType)); var winrtConversionInfo = Con...
38.944444
120
0.654779
[ "model" ]
9df683e3105e79585e280a553ee00f5bd3c718c4
5,764
cpp
C++
test/test_math.cpp
tristanpenman/gameutils
d4695922c6a8ba201a67fc8e5319da53e0d25323
[ "BSD-2-Clause" ]
null
null
null
test/test_math.cpp
tristanpenman/gameutils
d4695922c6a8ba201a67fc8e5319da53e0d25323
[ "BSD-2-Clause" ]
null
null
null
test/test_math.cpp
tristanpenman/gameutils
d4695922c6a8ba201a67fc8e5319da53e0d25323
[ "BSD-2-Clause" ]
null
null
null
#include "gameutils/math.h" #include "gtest/gtest.h" using gameutils::Vec2; using gameutils::Vec3; using gameutils::Mat3; using gameutils::Mat4; using gameutils::Quat; class TestMath : public testing::Test { }; //---------------------------------------------------------------------------- // // Ve...
25.847534
79
0.534698
[ "vector", "transform" ]
9dfb80f4c77eb704748ec07f6e4a4a6353c4f223
2,878
hpp
C++
legacy/multiple_occupancy_3d/gillespie3d.hpp
physics-based-ml/LatticeGillespieCpp
2d583bc4cd762b7d6a045eaf9d3b680cf3616888
[ "MIT" ]
null
null
null
legacy/multiple_occupancy_3d/gillespie3d.hpp
physics-based-ml/LatticeGillespieCpp
2d583bc4cd762b7d6a045eaf9d3b680cf3616888
[ "MIT" ]
null
null
null
legacy/multiple_occupancy_3d/gillespie3d.hpp
physics-based-ml/LatticeGillespieCpp
2d583bc4cd762b7d6a045eaf9d3b680cf3616888
[ "MIT" ]
null
null
null
// vector #ifndef VECTOR_h #define VECTOR_h #include <vector> #endif // string #ifndef STRING_h #define STRING_h #include <string> #endif // Other Gillespie3D #ifndef SPECIES_h #define SPECIES_h #include "species.hpp" #endif #ifndef REACTIONS_h #define REACTIONS_h #include "reactions.hpp" #endif #ifndef LATTICE_h ...
21.161765
113
0.561849
[ "vector" ]
3b026d8eb80b8e365121cfa9c3f4240a0de9e831
2,941
cpp
C++
test/numeric_test.cpp
sebrockm/Linqpp
6689f6cbb076b30f260ef4cee2dd657cd6b8cc36
[ "MIT" ]
7
2017-08-09T06:12:15.000Z
2021-09-23T01:00:51.000Z
test/numeric_test.cpp
sebrockm/Linqpp
6689f6cbb076b30f260ef4cee2dd657cd6b8cc36
[ "MIT" ]
null
null
null
test/numeric_test.cpp
sebrockm/Linqpp
6689f6cbb076b30f260ef4cee2dd657cd6b8cc36
[ "MIT" ]
null
null
null
#include <complex> #include <forward_list> #include <limits> #include <list> #include <vector> #include "Linqpp.hpp" #include "catch.hpp" using namespace Linqpp; TEST_CASE("numeric tests") { std::vector<int> ran = { 1, 2, 3, 4, 5 }; std::list<int> bid = { 6, 7, 8, 9 }; std::forward_list<int> forw = { 3, ...
37.705128
139
0.532132
[ "vector" ]
3b085c25f707d4b112e3507a71bfa92185405b8c
3,900
cpp
C++
AGVCCON/fFastLoading.cpp
jluzardo1971/ActiveGanttVC
4748cb4d942551dc64c9017f279c90969cdcc634
[ "MIT" ]
null
null
null
AGVCCON/fFastLoading.cpp
jluzardo1971/ActiveGanttVC
4748cb4d942551dc64c9017f279c90969cdcc634
[ "MIT" ]
null
null
null
AGVCCON/fFastLoading.cpp
jluzardo1971/ActiveGanttVC
4748cb4d942551dc64c9017f279c90969cdcc634
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------------------- // COPYRIGHT NOTICE // ---------------------------------------------------------------------------------------- // // The Source Code Store LLC // ACTIVEGANTT SCHEDULER COMPONENT FOR C++ - ActiveGan...
34.513274
116
0.638462
[ "solid" ]
3b0e606c9d855e867f6f18125402df9cd58456ba
9,385
cc
C++
node_modules/nodegit/src/buf.cc
jiumx60rus/grishyGhost
c56241304da11b9a1307c6261cca50f7546981b1
[ "MIT" ]
null
null
null
node_modules/nodegit/src/buf.cc
jiumx60rus/grishyGhost
c56241304da11b9a1307c6261cca50f7546981b1
[ "MIT" ]
null
null
null
node_modules/nodegit/src/buf.cc
jiumx60rus/grishyGhost
c56241304da11b9a1307c6261cca50f7546981b1
[ "MIT" ]
null
null
null
// This is a generated file, modify: generate/templates/class_content.cc. #include <nan.h> #include <string.h> #include <chrono> #include <thread> extern "C" { #include <git2.h> } #include "../include/functions/copy.h" #include "../include/macros.h" #include "../include/buf.h" #include "../include/buf.h" #inc...
24.313472
123
0.631113
[ "object" ]
3b13f289d84ad26bce4de1300f60c3b913c9f75d
2,671
cc
C++
RecoJets/JetProducers/src/CastorJetIDHelper.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoJets/JetProducers/src/CastorJetIDHelper.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoJets/JetProducers/src/CastorJetIDHelper.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "RecoJets/JetProducers/interface/CastorJetIDHelper.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "DataFormats/CastorReco/interface/CastorTower.h" #include "DataFormats/HcalRecHit/interface/CastorRecHit.h" #include "DataFormats/HcalDetId/interface/HcalCastorDetId.h" #include "TMath.h" ...
31.05814
104
0.651441
[ "vector" ]
3b152e4a9b1480c95f48bb44ee16d2e2a0d15672
44,114
hpp
C++
src/cmr/matrix.hpp
discopt/cmr
669811a8c8cbaa12dabd2a1242f0c0ff1aea6e09
[ "MIT" ]
4
2015-04-13T12:48:09.000Z
2019-06-26T11:56:31.000Z
src/cmr/matrix.hpp
xammy/unimodularity-test
669811a8c8cbaa12dabd2a1242f0c0ff1aea6e09
[ "MIT" ]
11
2021-08-19T09:06:05.000Z
2021-11-27T23:18:47.000Z
src/cmr/matrix.hpp
discopt/cmr
669811a8c8cbaa12dabd2a1242f0c0ff1aea6e09
[ "MIT" ]
null
null
null
#pragma once #include <cmr/config.h> #include <cmr/export.h> #include <boost/numeric/ublas/matrix.hpp> #include "matrix_transposed.hpp" #include <iomanip> namespace tu { namespace detail { template <typename Iterator> class Range { public: Range(Iterator begin, Iterator end) : _be...
25.236842
143
0.57399
[ "vector" ]
3b17860f03d53676240adec50678b9f924a0b27c
6,250
cpp
C++
mudis/src/strategy_redis_sentinel.cpp
lyramilk/mudis
7e9243bcc8d70b7cc464614558af08c8a81b1b13
[ "Apache-2.0" ]
null
null
null
mudis/src/strategy_redis_sentinel.cpp
lyramilk/mudis
7e9243bcc8d70b7cc464614558af08c8a81b1b13
[ "Apache-2.0" ]
null
null
null
mudis/src/strategy_redis_sentinel.cpp
lyramilk/mudis
7e9243bcc8d70b7cc464614558af08c8a81b1b13
[ "Apache-2.0" ]
null
null
null
#include "strategy.h" #include "redis_proxy.h" #include <libmilk/dict.h> #include <netdb.h> #include <errno.h> #include <string.h> #include <arpa/inet.h> /* #include <sys/epoll.h> #include <sys/poll.h> #include <errno.h> #include <sys/socket.h> #include <arpa/inet.h> #include <string.h> #include <cassert> #include <ne...
25.510204
218
0.65296
[ "vector" ]
3b18b6842429c41354f0b6d3caba35f82fad8792
1,008
cpp
C++
src/funcs/aim/norecoil/norecoil.cpp
UnkwUsr/hlhax
0198368ae04c7d353d38e2f74bd30046f5b99944
[ "MIT" ]
5
2022-02-13T18:46:22.000Z
2022-03-19T22:23:54.000Z
src/funcs/aim/norecoil/norecoil.cpp
UnkwUsr/hlhax
0198368ae04c7d353d38e2f74bd30046f5b99944
[ "MIT" ]
1
2022-03-20T19:54:11.000Z
2022-03-20T22:14:33.000Z
src/funcs/aim/norecoil/norecoil.cpp
UnkwUsr/hlhax
0198368ae04c7d353d38e2f74bd30046f5b99944
[ "MIT" ]
null
null
null
#include "funcs/aim/norecoil/norecoil.h" #include "globals.h" #include "utils/cvars/cvars.h" namespace Cvars { cvar_t* norecoil; } namespace NoRecoil { DEF_HOOK(CL_CreateMove) DEF_HOOK(V_CalcRefdef) Vector recoil_angles; void Init() { ADD_HOOK(CL_CreateMove, gp_Client) ADD...
21.446809
69
0.631944
[ "vector" ]
3b2a3769a8250111f1d2656a0d0155162df8c59a
4,042
hpp
C++
include/GlobalNamespace/HMMainThreadDispatcher.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/HMMainThreadDispatcher.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/HMMainThreadDispatcher.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: PersistentSingleton`1 #include "GlobalNamespace/PersistentSingleton_1....
47
123
0.723404
[ "object" ]
3b36b15a37f716b2a30c2973c5287f1d4de0b3c4
3,272
hpp
C++
Support/Modules/DGLib/DGPopUp.hpp
graphisoft-python/TextEngine
20c2ff53877b20fdfe2cd51ce7abdab1ff676a70
[ "Apache-2.0" ]
3
2019-07-15T10:54:54.000Z
2020-01-25T08:24:51.000Z
Support/Modules/DGLib/DGPopUp.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
null
null
null
Support/Modules/DGLib/DGPopUp.hpp
graphisoft-python/GSRoot
008fac2c6bf601ca96e7096705e25b10ba4d3e75
[ "Apache-2.0" ]
1
2020-09-26T03:17:22.000Z
2020-09-26T03:17:22.000Z
// ***************************************************************************** // File: DGPopUp.hpp // // Description: PopUp classes // // Project: GRAPHISOFT Dialog Manager (DGLib) // // Namespace: DG // // Contact person: AZS, BM // // SG compatible // *********************************************************...
24.058824
80
0.622249
[ "object" ]
3b39b9beda5445471841d9af8a381207eee45890
1,152
cpp
C++
convo/Pthread.cpp
navneel99/image_processing_library
c4a13be8a9c7b2d7b1f6373bc6b3707d0d01be76
[ "MIT" ]
null
null
null
convo/Pthread.cpp
navneel99/image_processing_library
c4a13be8a9c7b2d7b1f6373bc6b3707d0d01be76
[ "MIT" ]
null
null
null
convo/Pthread.cpp
navneel99/image_processing_library
c4a13be8a9c7b2d7b1f6373bc6b3707d0d01be76
[ "MIT" ]
null
null
null
#include "convolution.hpp" #include <pthread.h> // maximum number of threads #define MAX_THREAD 5 vector<vector<float> > matA; vector<float> matB; vector<float> matC; int t; int m; int step_i = 0; void* multi(void* arg) { int core = step_i++; for (int i = core * t/ MAX_THREAD; i < (core + 1) * t /...
21.735849
78
0.502604
[ "vector" ]
3b3a458148dbca1302fa0e05885daf44de7d891f
4,829
cpp
C++
Source/FirebaseAnalytics/Private/FirebaseAnalyticsUtils.cpp
GloryOfNight/UE4_FirebaseAnalytics
cb489a05c2d492ef15bf6ef3f674e65b91349aa0
[ "MIT" ]
11
2020-05-16T03:17:54.000Z
2022-02-03T17:11:03.000Z
Source/FirebaseAnalytics/Private/FirebaseAnalyticsUtils.cpp
GloryOfNight/UE4_FirebaseAnalytics
cb489a05c2d492ef15bf6ef3f674e65b91349aa0
[ "MIT" ]
3
2020-05-21T11:38:24.000Z
2021-03-10T20:41:16.000Z
Source/FirebaseAnalytics/Private/FirebaseAnalyticsUtils.cpp
GloryOfNight/UE4FirebaseAnalytics
cb489a05c2d492ef15bf6ef3f674e65b91349aa0
[ "MIT" ]
4
2020-05-19T03:00:03.000Z
2021-05-27T13:40:25.000Z
#include "FirebaseAnalyticsUtils.h" #include "firebase/analytics.h" #include "firebase/analytics/event_names.h" #include "firebase/analytics/parameter_names.h" #include "Analytics.h" #include "FirebaseAnalyticsProvider.h" void UFirebaseAnalyticsUtils::SetFirebaseUserProperty(const FString& Name, const FString& Prope...
39.909091
249
0.790433
[ "vector" ]
3b42ad62ab50021bcfeb294f4ae90b88743986c3
41,058
cpp
C++
dev/Code/CryEngine/RenderDll/Common/tests/Shaders/VertexTests.cpp
BadDevCode/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
2
2020-06-27T12:13:44.000Z
2020-06-27T12:13:46.000Z
dev/Code/CryEngine/RenderDll/Common/tests/Shaders/VertexTests.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
null
null
null
dev/Code/CryEngine/RenderDll/Common/tests/Shaders/VertexTests.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "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...
38.300373
285
0.716182
[ "vector" ]
3b446beeb9c4502b09c933aa37f66a57f6b83d4a
1,990
hpp
C++
2019/day17/cpp/include/asci.hpp
ivobatkovic/advent-of-code
e43489bcd2307f0f3ac8b0ec4e850f0a201f9944
[ "MIT" ]
3
2019-12-14T16:24:50.000Z
2020-12-06T16:40:13.000Z
2019/day17/cpp/include/asci.hpp
ivobatkovic/advent-of-code
e43489bcd2307f0f3ac8b0ec4e850f0a201f9944
[ "MIT" ]
4
2019-12-03T14:18:13.000Z
2020-12-03T08:29:32.000Z
2019/day17/cpp/include/asci.hpp
ivobatkovic/advent-of-code
e43489bcd2307f0f3ac8b0ec4e850f0a201f9944
[ "MIT" ]
2
2019-12-06T07:25:57.000Z
2020-12-08T12:42:37.000Z
#ifndef _ASCI_H_ #define _ASCI_H_ #include <map> #include <utility> #include "2019/day5/cpp/include/intcode.hpp" class Asci { public: std::string m_file_name; Intcode m_intcode; std::map<std::pair<int, int>, int> m_mp; /** * @brief Construct a new Asci object * * @param file_name */ Asci(std:...
18.773585
71
0.607538
[ "object", "vector" ]
3b462307f43db207f730abd663cb94bc3371a0e1
4,304
cpp
C++
master/geometrize-master/geometrize-master/geometrize/dialog/scriptconsole.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/geometrize-master/geometrize-master/geometrize/dialog/scriptconsole.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/geometrize-master/geometrize-master/geometrize/dialog/scriptconsole.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
#include "scriptconsole.h" #include "ui_scriptconsole.h" #include <QEvent> #include "chaiscript/chaiscript.hpp" #include "logger/logger.h" #include "logger/logmessageevents.h" #include "script/scriptrunner.h" #include "script/scriptutil.h" namespace geometrize { namespace dialog { class ScriptConsole::ScriptConso...
26.732919
189
0.613383
[ "vector" ]
8dca3aa60bed98bf68122586169b306e796e0a7b
5,862
cpp
C++
tcb/src/v20180608/model/CloudBaseRunVolumeMount.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
tcb/src/v20180608/model/CloudBaseRunVolumeMount.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
tcb/src/v20180608/model/CloudBaseRunVolumeMount.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
29.457286
151
0.679973
[ "vector", "model" ]
8dd38e96581fe6cd40b598683071ccb245887ad1
2,263
cpp
C++
1-100/94. Binary Tree Inorder Traversal.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
1-100/94. Binary Tree Inorder Traversal.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
1-100/94. Binary Tree Inorder Traversal.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ // version 1 Generic version class Solution { public: vector<int> inorderTraversal(TreeNode *root) { stack<pair<TreeNo...
20.205357
59
0.496244
[ "vector" ]
8dd4909b2d5e2ab4ac7c4ab7c7c7892ebcc14122
1,265
cpp
C++
11327.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
11327.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
11327.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
16.428571
47
0.549407
[ "vector" ]
8dd84faa932f59add14a55999bd0dcdf91e758d0
2,119
hpp
C++
sources/Framework/Tools/spStoryboardEvent.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/Framework/Tools/spStoryboardEvent.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/Framework/Tools/spStoryboardEvent.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2020-02-15T09:17:41.000Z
2020-05-21T14:10:40.000Z
/* * Storyboard trigger header * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #ifndef __SP_STORYBOARD_EVENT_H__ #define __SP_STORYBOARD_EVENT_H__ #include "Base/spStandard.hpp" #ifdef SP_COMPILE_WITH_STORYBOARD #...
16.05303
85
0.505427
[ "vector" ]
8dd8a45ece002f9da04624ccdae68911951ad7a1
734
cpp
C++
codes/Leetcode/leetcode023.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/Leetcode/leetcode023.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/Leetcode/leetcode023.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* mergeKLists(vector<ListNode*>& lists) { ListNode head = ListNode(0); ListNode* ans = &head; ListNode* move = ans; ...
21.588235
51
0.551771
[ "vector" ]
8dd8cd1626186f4a4d625bb79264c4c61da56cae
4,773
cpp
C++
Deprecated/Project1/inspectorwidget.cpp
jesusdz/AGP
fc6401f1432313324d6fd07f7aeec411c0857276
[ "Unlicense" ]
null
null
null
Deprecated/Project1/inspectorwidget.cpp
jesusdz/AGP
fc6401f1432313324d6fd07f7aeec411c0857276
[ "Unlicense" ]
null
null
null
Deprecated/Project1/inspectorwidget.cpp
jesusdz/AGP
fc6401f1432313324d6fd07f7aeec411c0857276
[ "Unlicense" ]
null
null
null
#include "inspectorwidget.h" #include "entitywidget.h" #include "transformwidget.h" #include "shaperendererwidget.h" #include "backgroundrendererwidget.h" #include "componentwidget.h" #include "scene.h" #include "mainwindow.h" #include <QLayout> #include <QVBoxLayout> #include <QSpacerItem> #include <QPushButton> Insp...
36.715385
126
0.764299
[ "shape", "transform" ]
8ddf92dea4a05405e01413295ad3fa486454ccab
459
hpp
C++
BookingManager.hpp
Aliw7979/UTRIP
7c6153fb185f7dc3a87ac456157319d83dd8669f
[ "MIT" ]
null
null
null
BookingManager.hpp
Aliw7979/UTRIP
7c6153fb185f7dc3a87ac456157319d83dd8669f
[ "MIT" ]
null
null
null
BookingManager.hpp
Aliw7979/UTRIP
7c6153fb185f7dc3a87ac456157319d83dd8669f
[ "MIT" ]
null
null
null
#ifndef BOOKINGMANAGER_H #define BOOKINGMANAGER_H "BOOKINGMANAGER_H" #include"BookedItem.hpp" #include<vector> class BookingManager { public: void add_item(std::string id_init, std::string hotel_id_init, std::string room_type_init, int quantity_init, int cost_init, ...
25.5
72
0.688453
[ "vector" ]
8de487330bed2d88a43fe208d023102208e1325a
1,057
hpp
C++
Packt_CreatingGamesWithAI/BattleCity/BattleCityGameWorld.hpp
mcihanozer/Hands-On-Game-AI-Development
36453b678cfeb644aeeccf4e77069fa6531684d2
[ "MIT" ]
6
2018-12-04T04:39:42.000Z
2022-03-01T09:36:39.000Z
Packt_CreatingGamesWithAI/BattleCity/BattleCityGameWorld.hpp
mcihanozer/Hands-On-Game-AI-Development
36453b678cfeb644aeeccf4e77069fa6531684d2
[ "MIT" ]
1
2019-07-25T19:52:35.000Z
2019-07-25T19:52:35.000Z
Packt_CreatingGamesWithAI/BattleCity/BattleCityGameWorld.hpp
PacktPublishing/Hands-On-Game-AI-Development
27328e4658bfd1606abe51cc14a8adbe8c752d76
[ "MIT" ]
4
2018-11-08T09:29:02.000Z
2020-05-09T21:21:28.000Z
// // GameWorld.hpp // Packt_CreatingGamesWithAI // // Created by Cihan Ozer on 17/05/2018. // Copyright © 2018 Cihan Ozer. All rights reserved. // #ifndef GameWorld_hpp #define GameWorld_hpp #include "AbstractGameWorld.hpp" #include "Player.hpp" #include "TankAI.hpp" #include "Wall.hpp" class BattleCityGameWo...
20.326923
80
0.694418
[ "vector" ]
8dedf4ea6b024b634c4cbe2cc4b1c3fc8a2fc83e
13,865
cpp
C++
project-2/src/application.cpp
JRBarreraM/CI4321_COMPUTACION_GRAFICA_I
8d5aaa536fdfe0e2e678bc9b7abb613e33057b07
[ "MIT" ]
1
2022-02-08T10:39:40.000Z
2022-02-08T10:39:40.000Z
project-2/src/application.cpp
JRBarreraM/CI4321_COMPUTACION_GRAFICA_I
8d5aaa536fdfe0e2e678bc9b7abb613e33057b07
[ "MIT" ]
null
null
null
project-2/src/application.cpp
JRBarreraM/CI4321_COMPUTACION_GRAFICA_I
8d5aaa536fdfe0e2e678bc9b7abb613e33057b07
[ "MIT" ]
null
null
null
#include "application.h" #include "gl_utils.h" #include "dynamic_scene/ambient_light.h" #include "dynamic_scene/directional_light.h" #include "dynamic_scene/area_light.h" #include "dynamic_scene/point_light.h" #include "dynamic_scene/spot_light.h" #include "dynamic_scene/sphere.h" #include "dynamic_scene/mesh.h" #inc...
27.564612
107
0.62308
[ "mesh", "geometry", "render", "vector", "transform" ]
8dee779453be6d94fc90262e4e78f2c0c1819e2c
40,575
cpp
C++
esidl/v8api/test/dom.test.cpp
rvedam/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
2
2020-11-30T18:38:20.000Z
2021-06-07T07:44:03.000Z
esidl/v8api/test/dom.test.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
1
2019-01-14T03:09:45.000Z
2019-01-14T03:09:45.000Z
esidl/v8api/test/dom.test.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011 Esrille Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
71.560847
144
0.79581
[ "object" ]