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
7acae51e9ab34b040270e07fb1bf9e3816e4a705
26,054
cpp
C++
measurer/hotspot-measurer/hotspot/agent/src/os/win32/SwDbgSub.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
null
null
null
measurer/hotspot-measurer/hotspot/agent/src/os/win32/SwDbgSub.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
null
null
null
measurer/hotspot-measurer/hotspot/agent/src/os/win32/SwDbgSub.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
29.472851
110
0.598411
[ "vector" ]
7ad257e8bf30a31799b0c9f15f35de77aeed5a74
81,756
cpp
C++
sim/simx/execute.cpp
troyguo/vortex-1
77002dd06ad51dd71497d2a17842c3f5b1989db6
[ "BSD-3-Clause" ]
null
null
null
sim/simx/execute.cpp
troyguo/vortex-1
77002dd06ad51dd71497d2a17842c3f5b1989db6
[ "BSD-3-Clause" ]
null
null
null
sim/simx/execute.cpp
troyguo/vortex-1
77002dd06ad51dd71497d2a17842c3f5b1989db6
[ "BSD-3-Clause" ]
1
2021-11-28T02:19:01.000Z
2021-11-28T02:19:01.000Z
#include <iostream> #include <stdlib.h> #include <unistd.h> #include <math.h> #include <bitset> #include <climits> #include <sys/types.h> #include <sys/stat.h> #include <assert.h> #include <util.h> #include <rvfloats.h> #include "warp.h" #include "instr.h" #include "core.h" using namespace vortex; union reg_data_t { ...
34.760204
142
0.452346
[ "vector" ]
7ad39ad8cb0bb64394276feabb1b45a07c83b599
16,933
cpp
C++
libethcore/Block.cpp
imtypist/FISCO-BCOS
30a281d31e83ca666ef203193963a6d32e39e36a
[ "Apache-2.0" ]
null
null
null
libethcore/Block.cpp
imtypist/FISCO-BCOS
30a281d31e83ca666ef203193963a6d32e39e36a
[ "Apache-2.0" ]
null
null
null
libethcore/Block.cpp
imtypist/FISCO-BCOS
30a281d31e83ca666ef203193963a6d32e39e36a
[ "Apache-2.0" ]
null
null
null
/* * @CopyRight: * FISCO-BCOS is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * FISCO-BCOS is distributed in the hope that it ...
33.267191
100
0.64265
[ "vector" ]
7ad8f86fef91007ee50cbe03668373973542af1e
2,036
cpp
C++
Tests/PerformanceTests/DFPCs/PerformanceTestInterface.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
Tests/PerformanceTests/DFPCs/PerformanceTestInterface.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
Tests/PerformanceTests/DFPCs/PerformanceTestInterface.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/* -------------------------------------------------------------------------- * * (C) Copyright … * * --------------------------------------------------------------------------- */ /*! * @file PerformanceTestInterface.cpp * @date 16/03/2018 * @author Alessandro Bianco */ /*! * @addtogroup GuiTests * * Impleme...
25.135802
177
0.50835
[ "vector" ]
7ae10c8e6caa2a992715ddbc6f06286d70aa1124
1,401
hpp
C++
include/nav2_mpc_controller/mpc_core.hpp
harderthan/nav2_mpc_controller
825990a3e5c008bdde4329cbe465c94ccb19f556
[ "Apache-2.0" ]
6
2021-06-09T13:07:01.000Z
2022-01-30T23:27:21.000Z
include/nav2_mpc_controller/mpc_core.hpp
harderthan/nav2_mpc_controller
825990a3e5c008bdde4329cbe465c94ccb19f556
[ "Apache-2.0" ]
null
null
null
include/nav2_mpc_controller/mpc_core.hpp
harderthan/nav2_mpc_controller
825990a3e5c008bdde4329cbe465c94ccb19f556
[ "Apache-2.0" ]
4
2021-08-04T11:31:33.000Z
2021-10-14T02:56:23.000Z
/* # Copyright 2021 Harderthan # Original Code is from https://github.com/Geonhee-LEE/mpc_ros # # 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....
27.470588
74
0.744468
[ "vector", "model" ]
7ae656c60cbafc043f4eaf90017972af1c65a2f4
1,012
cpp
C++
advent-of-code-2020/day7.2.cpp
ricekot/learning
885c783a116b15a35ca7761a65040f57343f8c1b
[ "MIT" ]
null
null
null
advent-of-code-2020/day7.2.cpp
ricekot/learning
885c783a116b15a35ca7761a65040f57343f8c1b
[ "MIT" ]
null
null
null
advent-of-code-2020/day7.2.cpp
ricekot/learning
885c783a116b15a35ca7761a65040f57343f8c1b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int total_bags_in(string); map<string, vector<pair<int, string>>> bags_in; int main(){ ifstream list("input/day7.txt"); string line; while (getline(list, line)){ istringstream iss(line); string parent_adjective, parent_colour; iss >> ...
29.764706
90
0.649209
[ "vector" ]
7ae682a7ce7cd3a4b0eb3896905c54fc3c55dd10
71,474
cpp
C++
Cpp/Parser/Parser.cpp
Gabidal/GAC
f36b76bceb6a39a87b50c393eb3540f4085bd879
[ "MIT" ]
5
2019-08-19T18:18:08.000Z
2019-12-13T19:26:03.000Z
Cpp/Parser/Parser.cpp
Gabidal/GAC
f36b76bceb6a39a87b50c393eb3540f4085bd879
[ "MIT" ]
3
2019-04-15T19:24:36.000Z
2020-02-29T13:09:07.000Z
Cpp/Parser/Parser.cpp
Gabidal/GAC
f36b76bceb6a39a87b50c393eb3540f4085bd879
[ "MIT" ]
2
2019-10-08T23:16:05.000Z
2019-12-18T22:58:04.000Z
#include "../../H/Parser/Parser.h" #include "../../H/UI/Safe.h" #include "../../H/Docker/Mangler.h" #include "../../H/UI/Usr.h" #include "../../H/Parser/PostProsessor.h" //this is for unamed parameters. int arg_count = 0; extern Usr* sys; extern Safe* safe; vector<int> Parser::Get_Amount_Of(int i, long Flag,...
30.505335
218
0.650418
[ "object", "vector", "transform" ]
7aec9033a436cb4e051d9253d32b5143d103d51f
1,425
cpp
C++
Codejam/CodeJam2017QualificationC_BathRoom/CodeJam2017QualificationC_BathRoom/solve2.cpp
PuppyRush/Algorithms
1bfb7622ffdc2c7d4b9e408b67a81f31395d9513
[ "MIT" ]
1
2019-02-23T01:17:05.000Z
2019-02-23T01:17:05.000Z
Codejam/CodeJam2017QualificationC_BathRoom/CodeJam2017QualificationC_BathRoom/solve2.cpp
PuppyRush/Algorithms
1bfb7622ffdc2c7d4b9e408b67a81f31395d9513
[ "MIT" ]
null
null
null
Codejam/CodeJam2017QualificationC_BathRoom/CodeJam2017QualificationC_BathRoom/solve2.cpp
PuppyRush/Algorithms
1bfb7622ffdc2c7d4b9e408b67a81f31395d9513
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #define MIN(a,b) ((a>b)?b:a) #define MAX(a,b) ((a>b)?b:a) #define FOR(i,size) for(i ; i < size ; ++i) #define FOR_IN(i,size) for(i ; i <= size ; ++i) #define FOR_REV(i) for(i ; i >=0 ; --i) #define FOR_REV_SIZE(i,size) for(i ; i >=size ; --i) #include <iostream> #include <cstring> #inc...
20.357143
77
0.656842
[ "vector" ]
7aeeaf1276ec8f9acfb803bf68c2fa46a3fab9bb
2,007
cpp
C++
cvt/gl/scene/GLSVisitor.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
11
2017-04-04T16:38:31.000Z
2021-08-04T11:31:26.000Z
cvt/gl/scene/GLSVisitor.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
null
null
null
cvt/gl/scene/GLSVisitor.cpp
tuxmike/cvt
c6a5df38af4653345e795883b8babd67433746e9
[ "MIT" ]
8
2016-04-11T00:58:27.000Z
2022-02-22T07:35:40.000Z
/* The MIT License (MIT) Copyright (c) 2011 - 2013, Philipp Heise and Sebastian Klose 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 limitat...
33.45
80
0.736423
[ "mesh" ]
7af8360814ed897c29e6d23c47bb0ba0d9e242d2
16,108
hpp
C++
src/IO/Importers/Actions/ReadVolumeData.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
1
2022-01-11T00:17:33.000Z
2022-01-11T00:17:33.000Z
src/IO/Importers/Actions/ReadVolumeData.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
null
null
null
src/IO/Importers/Actions/ReadVolumeData.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <cstddef> #include <optional> #include <string> #include <tuple> #include <variant> #include <vector> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/DataBox/PrefixHelpers.hpp" #include "DataStructures/...
46.420749
80
0.678048
[ "vector" ]
7afac096f61f3b1f0476a5e8f3fb884897406cc9
3,350
cpp
C++
1_course/5_week/5_longest_common_subseq3/cpp/main.cpp
claytonjwong/Algorithms-UCSD
09d433a1cbc00dc8d913ece8716ac539b81340cd
[ "Unlicense" ]
6
2019-11-13T01:19:28.000Z
2021-08-10T19:19:57.000Z
1_course/5_week/5_longest_common_subseq3/cpp/main.cpp
claytonjwong/Algorithms-UCSD
09d433a1cbc00dc8d913ece8716ac539b81340cd
[ "Unlicense" ]
null
null
null
1_course/5_week/5_longest_common_subseq3/cpp/main.cpp
claytonjwong/Algorithms-UCSD
09d433a1cbc00dc8d913ece8716ac539b81340cd
[ "Unlicense" ]
3
2019-11-13T03:11:15.000Z
2020-11-28T20:05:38.000Z
/** * * C++ implementation to find the longest common subsequence between three strings * * (c) Copyright 2019 Clayton J. Wong ( http://www.claytonjwong.com ) * **/ #include <iostream> #include <sstream> #include <iterator> #include <algorithm> #include <string> #include <vector> #include <unordered_map> #includ...
36.813187
113
0.428657
[ "vector" ]
bb058b52a0fe0b4727e3a3c1e984a5c6cd2ec9a7
2,564
cpp
C++
src/Account.cpp
AymenFJA/Stockmarket_Portfolio
8bf4b5a7e89b147975ab04a4f8b1212461ee92b1
[ "MIT" ]
null
null
null
src/Account.cpp
AymenFJA/Stockmarket_Portfolio
8bf4b5a7e89b147975ab04a4f8b1212461ee92b1
[ "MIT" ]
null
null
null
src/Account.cpp
AymenFJA/Stockmarket_Portfolio
8bf4b5a7e89b147975ab04a4f8b1212461ee92b1
[ "MIT" ]
1
2018-12-02T20:17:33.000Z
2018-12-02T20:17:33.000Z
#include <stdlib.h> #include <vector> #include <iostream> #include <fstream> #include <string> #include <sstream> #include "Account.h" #include"Globales.h" #include <time.h> Account::Account() //constructor { } int Account::PriceUpdate() //(put the values from the file in the vecotr) updatting vect...
22.491228
141
0.609984
[ "vector" ]
bb06e27f0cdbea4b8d652324820a6deecbb0bdbc
590
cpp
C++
uva/UVa11078.cpp
Embracethemoon/hundreds_for_one
3807c1aab16d2a709faf4abe934af53ce9d58b7c
[ "MIT" ]
null
null
null
uva/UVa11078.cpp
Embracethemoon/hundreds_for_one
3807c1aab16d2a709faf4abe934af53ce9d58b7c
[ "MIT" ]
null
null
null
uva/UVa11078.cpp
Embracethemoon/hundreds_for_one
3807c1aab16d2a709faf4abe934af53ce9d58b7c
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <iostream> #include <algorithm> #include <vector> #include <queue> #include <set> #include <map> #include <string> #include <cmath> #include <cstdlib> #include <ctime> using namespace std; void solve(){ int n; scanf("%d", &n); int foo, cur, res; cur = -2e5; res = -3e5...
14.75
34
0.579661
[ "vector" ]
bb0bfb94b18749602ad36d89c66b81f46ef9f8f5
271
cpp
C++
main.cpp
Ahmad-Sai/Huffman-Code
7d41ee56c9f79db3949769d09b7a810d47985fce
[ "MIT" ]
null
null
null
main.cpp
Ahmad-Sai/Huffman-Code
7d41ee56c9f79db3949769d09b7a810d47985fce
[ "MIT" ]
null
null
null
main.cpp
Ahmad-Sai/Huffman-Code
7d41ee56c9f79db3949769d09b7a810d47985fce
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstring> #include <fstream> #include <math.h> #include <bitset> #include "priorityqueue.hpp" #include "encoder.cpp" #include "decoder.cpp" using namespace std; int main(){ encode(); decode(); return 1; }
14.263158
28
0.667897
[ "vector" ]
bb0d3d917a9b71f86fa49e7ed3a40f9d2f492a01
289
cpp
C++
solutions/1001.n-repeated-element-in-size-2n-array/1001.n-repeated-element-in-size-2n-array.1558233725.cpp
nettee/leetcode
19aa8d54d64cce3679db5878ee0194fad95d8fa1
[ "MIT" ]
1
2021-01-14T06:01:02.000Z
2021-01-14T06:01:02.000Z
solutions/1001.n-repeated-element-in-size-2n-array/1001.n-repeated-element-in-size-2n-array.1558233725.cpp
nettee/leetcode
19aa8d54d64cce3679db5878ee0194fad95d8fa1
[ "MIT" ]
8
2018-03-27T11:47:19.000Z
2018-11-12T06:02:12.000Z
solutions/1001.n-repeated-element-in-size-2n-array/1001.n-repeated-element-in-size-2n-array.1558233725.cpp
nettee/leetcode
19aa8d54d64cce3679db5878ee0194fad95d8fa1
[ "MIT" ]
2
2020-04-30T09:47:01.000Z
2020-12-03T09:34:08.000Z
class Solution { public: int repeatedNTimes(vector<int>& A) { unordered_set<int> s; for (int d : A) { if (s.find(d) == s.end()) { s.insert(d); } else { return d; } } return 0; } };
19.266667
40
0.377163
[ "vector" ]
bb1194ec315981393d37b177cb11cc598db67756
7,135
cpp
C++
src/common.cpp
jtlehtinen/win11-clock
70b160e33ec7f54d490337c7f8051a9b180c5dc4
[ "MIT" ]
null
null
null
src/common.cpp
jtlehtinen/win11-clock
70b160e33ec7f54d490337c7f8051a9b180c5dc4
[ "MIT" ]
null
null
null
src/common.cpp
jtlehtinen/win11-clock
70b160e33ec7f54d490337c7f8051a9b180c5dc4
[ "MIT" ]
null
null
null
#include "common.h" #include <stdio.h> #include <dwmapi.h> #include <shellscalingapi.h> namespace { namespace registry { DWORD read_dword(const std::wstring& subkey, const std::wstring& value) { DWORD result = 0; DWORD size = static_cast<DWORD>(sizeof(result)); if (RegGetValueW(HKEY_CURRENT_USE...
34.635922
139
0.680729
[ "vector" ]
bb12690c5545031b8b64d8914577c57a2bfe1e87
10,059
cpp
C++
src/CQGnuPlotGroup.cpp
colinw7/CQGnuPlot
8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94
[ "MIT" ]
null
null
null
src/CQGnuPlotGroup.cpp
colinw7/CQGnuPlot
8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94
[ "MIT" ]
null
null
null
src/CQGnuPlotGroup.cpp
colinw7/CQGnuPlot
8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94
[ "MIT" ]
1
2019-04-01T13:08:45.000Z
2019-04-01T13:08:45.000Z
#include <CQGnuPlotGroup.h> #include <CQGnuPlotWindow.h> #include <CQGnuPlotPlot.h> #include <CQGnuPlotCanvas.h> #include <CQGnuPlotDevice.h> #include <CQGnuPlotRenderer.h> #include <CQGnuPlotEnum.h> #include <CQGnuPlotLabel.h> #include <CQGnuPlotKey.h> #include <CQGnuPlotRenderer.h> #include <CQGnuPlotArrow.h> #includ...
20.445122
93
0.663784
[ "vector" ]
bb1c931016702488459d01dd96ca839427851e51
13,054
hh
C++
include/benchmark/all_libraries/pcl_test.hh
mlawsonca/benchmarking_suite_range_searching_libraries
85f2e6be47633836e56684636851eeb393c46d7d
[ "MIT" ]
1
2021-10-07T18:46:56.000Z
2021-10-07T18:46:56.000Z
include/benchmark/all_libraries/pcl_test.hh
mlawsonca/benchmarking_suite_range_searching_libraries
85f2e6be47633836e56684636851eeb393c46d7d
[ "MIT" ]
null
null
null
include/benchmark/all_libraries/pcl_test.hh
mlawsonca/benchmarking_suite_range_searching_libraries
85f2e6be47633836e56684636851eeb393c46d7d
[ "MIT" ]
null
null
null
#ifndef PCL_TEST_HH #define PCL_TEST_HH #include <math.h> /* cbrt, round */ #include <pcl/point_cloud.h> #include <pcl/octree/octree_search.h> #include <pcl/kdtree/kdtree_flann.h> #ifdef USE_GPU #include <pcl/gpu/octree/octree.hpp> #include <pcl/gpu/containers/impl/device_array.hpp> #include <pcl/me...
45.16955
159
0.506358
[ "vector" ]
bb20bdbdec082c8677053820d51512a629b2dc4a
14,103
hpp
C++
include/util.hpp
Razdeep/autocomplete
fbe73627d58805e137bef2ebb10945cd845c5928
[ "MIT" ]
26
2020-05-12T10:55:48.000Z
2022-03-07T10:57:37.000Z
include/util.hpp
Razdeep/autocomplete
fbe73627d58805e137bef2ebb10945cd845c5928
[ "MIT" ]
3
2021-08-04T18:27:03.000Z
2022-02-08T11:22:53.000Z
include/util.hpp
Razdeep/autocomplete
fbe73627d58805e137bef2ebb10945cd845c5928
[ "MIT" ]
3
2020-05-24T08:07:29.000Z
2021-07-19T09:59:56.000Z
#pragma once #pragma once #include <string.h> #include <sys/time.h> #include <cassert> #include <ctime> #include <iostream> #include <locale> #include <vector> #include <smmintrin.h> #include <xmmintrin.h> #include "../external/essentials/include/essentials.hpp" #define LIKELY(x) __builtin_expect(!!(x), 1) #define...
40.409742
79
0.469049
[ "vector" ]
bb21557145b5481b4a41f0f68ad2ea7571a21b61
7,313
cpp
C++
apriltags-cpp/src/quadtest.cpp
jacknlliu/apriltags_ros
403e5a2e6bdd23b846d3c9a9ffea83e49bca8978
[ "MIT" ]
10
2018-04-25T10:48:20.000Z
2020-03-26T13:01:57.000Z
apriltags-cpp/src/quadtest.cpp
jacknlliu/apriltags_ros
403e5a2e6bdd23b846d3c9a9ffea83e49bca8978
[ "MIT" ]
1
2018-07-11T01:47:50.000Z
2018-09-04T22:49:24.000Z
apriltags-cpp/src/quadtest.cpp
jacknlliu/apriltags_ros
403e5a2e6bdd23b846d3c9a9ffea83e49bca8978
[ "MIT" ]
3
2018-11-15T14:30:06.000Z
2019-11-18T01:17:07.000Z
/********************************************************************* * This file is distributed as part of the C++ port of the APRIL tags * library. The code is licensed under GPLv2. * * Original author: Edwin Olson <ebolson@umich.edu> * C++ port and modifications: Matt Zucker <mzucker1@swarthmore.edu> ********...
24.959044
84
0.515384
[ "geometry", "vector" ]
bb23cfc1d8a8876f106dfbee1bc395c2c81bee9b
6,997
cpp
C++
genetic_code/SQP/MINL2/TINL2.cpp
umbax/HyGP
d6a38b624f531638a78f7a69b8a5f89538e128c8
[ "Apache-2.0" ]
3
2017-07-08T21:53:12.000Z
2022-02-09T08:16:48.000Z
genetic_code/SQP/MINL2/TINL2.cpp
umbax/HyGP
d6a38b624f531638a78f7a69b8a5f89538e128c8
[ "Apache-2.0" ]
null
null
null
genetic_code/SQP/MINL2/TINL2.cpp
umbax/HyGP
d6a38b624f531638a78f7a69b8a5f89538e128c8
[ "Apache-2.0" ]
1
2017-07-08T21:53:02.000Z
2017-07-08T21:53:02.000Z
/* TINL2.F -- translated by f2c (version 20050501). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the en...
32.393519
106
0.561955
[ "object", "vector" ]
bb2b1fd79bb6e41dbbf697abc34ba0b078ab4548
3,969
cpp
C++
src/classwork/05_assign/sequence.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-delaneyld
62c66c4f5c51f65300d07fe6d16a8887a30d913d
[ "MIT" ]
1
2022-02-04T02:24:34.000Z
2022-02-04T02:24:34.000Z
src/classwork/05_assign/sequence.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-delaneyld
62c66c4f5c51f65300d07fe6d16a8887a30d913d
[ "MIT" ]
null
null
null
src/classwork/05_assign/sequence.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-delaneyld
62c66c4f5c51f65300d07fe6d16a8887a30d913d
[ "MIT" ]
null
null
null
//write include statements #include <string> #include <iostream> #include <cctype> #include "sequence.h" using std::cout, std::string, std::cin; //function get_gc_content //returns decimal percent of G and C from a given constant dna string double get_gc_content(const std::string& dna) { double percent_gc,...
20.353846
102
0.593852
[ "vector" ]
bb2fe8a6a96c249ce8d748d81598913441656a28
3,109
hpp
C++
RobWorkSim/src/rwsim/util/PlanarSupportPoseGenerator.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWorkSim/src/rwsim/util/PlanarSupportPoseGenerator.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWorkSim/src/rwsim/util/PlanarSupportPoseGenerator.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/* * PlanarSupportPoseGenerator.hpp * * Created on: 19/08/2010 * Author: jimali */ #ifndef RWSIM_UTIL_PLANARSUPPORTPOSEGENERATOR_HPP_ #define RWSIM_UTIL_PLANARSUPPORTPOSEGENERATOR_HPP_ #include "SupportPose.hpp" #include <rw/core/Ptr.hpp> #include <rw/geometry/Plane.hpp> #include <vector> namespace rw {...
30.480392
95
0.624317
[ "mesh", "geometry", "object", "vector" ]
bb34bf39f2201e02a3e146ae55df0d544b351d21
1,288
cpp
C++
Codeforces/713C/dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Codeforces/713C/dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Codeforces/713C/dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <iostream> #include <cstdio> #include <algorithm> #include <cmath> #include <string> #include <cstring> #include <iomanip> #include <climits> #include <vector> #include <queue> #include <map> #include <set> #include <stack> #include <functional> #include <iterator> #define SIZE 3010 using namespace std; long ...
19.815385
60
0.501553
[ "vector" ]
7d6d5386a5b486f749c3857fa8a4065d1335d93a
38,503
cpp
C++
wall.cpp
Czerwony-Kapturek/wallpaper-changer
e316d1d0eaa71defdcf623a7e4a92a376c4ce28c
[ "MIT" ]
1
2020-11-03T09:21:55.000Z
2020-11-03T09:21:55.000Z
wall.cpp
Czerwony-Kapturek/wallpaper-changer
e316d1d0eaa71defdcf623a7e4a92a376c4ce28c
[ "MIT" ]
null
null
null
wall.cpp
Czerwony-Kapturek/wallpaper-changer
e316d1d0eaa71defdcf623a7e4a92a376c4ce28c
[ "MIT" ]
null
null
null
////////////////////////////// // Wallpaper Changer ////////////////////////////// // Some magic needed for LoadIconMetric not to throw error while linking app #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyTo...
32.464587
194
0.587175
[ "object", "vector" ]
7d731a134ecd682362020b4e019acfece24d52e3
5,141
hpp
C++
ChangeJournal/VolumeOptions.hpp
ambray/Ntfs
c610315b007d0d0d1666d878e4f9c955deb86077
[ "MIT" ]
20
2016-02-04T12:23:39.000Z
2021-12-30T04:17:49.000Z
ChangeJournal/VolumeOptions.hpp
c3358/Ntfs
c610315b007d0d0d1666d878e4f9c955deb86077
[ "MIT" ]
null
null
null
ChangeJournal/VolumeOptions.hpp
c3358/Ntfs
c610315b007d0d0d1666d878e4f9c955deb86077
[ "MIT" ]
6
2015-07-15T04:29:07.000Z
2020-12-21T22:35:17.000Z
#pragma once /******************************************************************************** * The MIT License (MIT) * * Copyright (c) 2015, Aaron M. Bray, aaron.m.bray@gmail.com * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the...
36.460993
116
0.706672
[ "vector" ]
7d7685e894e056ed667dffcbd84deb6ac1d5f89f
3,861
hpp
C++
apps/opencs/model/world/regionmap.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/model/world/regionmap.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/model/world/regionmap.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef CSM_WOLRD_REGIONMAP_H #define CSM_WOLRD_REGIONMAP_H #include <map> #include <string> #include <vector> #include <QAbstractTableModel> #include "record.hpp" #include "cell.hpp" #include "cellcoordinates.hpp" namespace CSMWorld { class Data; /// \brief Model for the region map /// /// This cl...
31.909091
102
0.603212
[ "vector", "model" ]
7d770bc571e7912a00299f39d93d1fb99a5a7acc
3,715
cpp
C++
src/align/lmk_scan_rigid_pipe.cpp
ycjungSubhuman/Kinect-Face
b582bd8572e998617b5a0d197b4ac9bd4a9b42be
[ "CNRI-Python" ]
7
2018-08-12T22:05:26.000Z
2021-05-14T08:39:32.000Z
src/align/lmk_scan_rigid_pipe.cpp
ycjungSubhuman/Kinect-Face
b582bd8572e998617b5a0d197b4ac9bd4a9b42be
[ "CNRI-Python" ]
null
null
null
src/align/lmk_scan_rigid_pipe.cpp
ycjungSubhuman/Kinect-Face
b582bd8572e998617b5a0d197b4ac9bd4a9b42be
[ "CNRI-Python" ]
2
2019-02-14T08:29:16.000Z
2019-03-01T07:11:17.000Z
#include <iostream> #include <pcl/common/copy_point.h> #include <pcl/registration/transformation_estimation_svd_scale.h> #include "align/rigid_pipe.h" using namespace std; using namespace telef::feature; using namespace telef::types; using namespace telef::face; namespace telef::align { LmkToScanRigidFittingPipe::...
35.721154
80
0.680215
[ "vector", "transform", "3d" ]
7d7917997ad54e60fc4140af2043e0c9e77a08d2
7,463
cc
C++
websocket/server.cc
hanoi404/websocket
7f0ff5315d8c74d1ea82b2714ecd92f9b3ea0ba9
[ "MIT" ]
1
2021-04-08T00:48:44.000Z
2021-04-08T00:48:44.000Z
websocket/server.cc
hanoi404/websocket
7f0ff5315d8c74d1ea82b2714ecd92f9b3ea0ba9
[ "MIT" ]
null
null
null
websocket/server.cc
hanoi404/websocket
7f0ff5315d8c74d1ea82b2714ecd92f9b3ea0ba9
[ "MIT" ]
1
2021-11-22T08:50:21.000Z
2021-11-22T08:50:21.000Z
// Copyright(c) 2019, 2020 // Yuming Meng <mengyuming@hotmail.com>. // All rights reserved. // // Author: Yuming Meng // Date: 2020-01-07 16:49 // Description: No. #include "server.h" #include <stdlib.h> #include <string.h> #include <time.h> #include <errno.h> #if defined(__linux__) #include <arpa/inet.h> #include...
27.743494
78
0.626826
[ "vector" ]
7d8b2b7140443aa453131d2e7dcd579965b2fdcf
9,814
cpp
C++
Sandbox/src/SandboxApp.cpp
Zheap/RabbitEngine
42bf6c651f36180340434bf23b045d813c5d5e73
[ "Apache-2.0" ]
null
null
null
Sandbox/src/SandboxApp.cpp
Zheap/RabbitEngine
42bf6c651f36180340434bf23b045d813c5d5e73
[ "Apache-2.0" ]
null
null
null
Sandbox/src/SandboxApp.cpp
Zheap/RabbitEngine
42bf6c651f36180340434bf23b045d813c5d5e73
[ "Apache-2.0" ]
null
null
null
#include <Rabbit.h> #include "Platform/OpenGL/OpenGLShader.h" #include "imgui/imgui.h" #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> class ExampleLayer : public Rabbit::Layer { public: ExampleLayer() : Layer("Example"), m_Camera(-1.6f, 1.6f, -0.9f, 0.9f), m_CameraPosition(0.0f)...
31.967427
151
0.587324
[ "transform" ]
7d8ca2f1191b1ddb20f19a0dd89d836b2cb459dd
631
hpp
C++
surround360_camera_ctl_ui/source/CameraListView.hpp
DarwinSenior/Surround360
2031b7ca8aa5cc00dc23285cfdde2570842dc617
[ "BSD-3-Clause" ]
2,326
2016-07-26T17:05:59.000Z
2021-08-14T11:37:25.000Z
surround360_camera_ctl_ui/source/CameraListView.hpp
wkMvg/Surround360
5a8eabd4acdef749bd49be57cad1078a2bf5189c
[ "BSD-3-Clause" ]
273
2016-07-26T18:53:12.000Z
2020-07-31T06:03:42.000Z
surround360_camera_ctl_ui/source/CameraListView.hpp
wkMvg/Surround360
5a8eabd4acdef749bd49be57cad1078a2bf5189c
[ "BSD-3-Clause" ]
674
2016-07-26T17:16:56.000Z
2021-07-19T08:33:36.000Z
/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the license found in the * LICENSE_camera_ctl_ui file in the root directory of this subproject. */ #pragma once #include <vector> #include <tuple> #include <set> #include <gtkmm.h> #include "CameraListModel....
19.71875
70
0.722662
[ "vector" ]
7d9d547f75aa241892848f27656d1d84980fa838
1,788
hpp
C++
libs/opencl/include/sge/opencl/program/build_parameters.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/opencl/include/sge/opencl/program/build_parameters.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/opencl/include/sge/opencl/program/build_parameters.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_OPENCL_PROGRAM_BUILD_PARAMETERS_HPP_INCLUDED #define SGE_OPENCL_PROGRAM_BUILD_PARAMETER...
31.368421
93
0.782998
[ "object" ]
7db0e4321cf91869ceceb16aaa5c7ec6fb4f7b4f
69,134
cc
C++
tensorflow/core/example/example_parser_configuration.pb.cc
1250281649/tensorflow
fc6f4ec813c3514fc4a4c6a078f3f492b3ff325c
[ "Apache-2.0" ]
null
null
null
tensorflow/core/example/example_parser_configuration.pb.cc
1250281649/tensorflow
fc6f4ec813c3514fc4a4c6a078f3f492b3ff325c
[ "Apache-2.0" ]
2
2021-08-25T15:57:35.000Z
2022-02-10T01:09:32.000Z
tensorflow/core/example/example_parser_configuration.pb.cc
1250281649/tensorflow
fc6f4ec813c3514fc4a4c6a078f3f492b3ff325c
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/example/example_parser_configuration.proto #include "tensorflow/core/example/example_parser_configuration.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include ...
45.363517
299
0.775769
[ "object", "shape" ]
7db7c132c25d3c119cce69757955940f854433c1
27,169
cpp
C++
ToolKit/Markup/XTPMarkupInline.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
2
2018-03-30T06:40:08.000Z
2022-02-23T12:40:13.000Z
ToolKit/Markup/XTPMarkupInline.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
null
null
null
ToolKit/Markup/XTPMarkupInline.cpp
11Zero/DemoBCG
8f41d5243899cf1c82990ca9863fb1cb9f76491c
[ "MIT" ]
1
2020-08-11T05:48:02.000Z
2020-08-11T05:48:02.000Z
// XTPMarkupInline.cpp: implementation of the CXTPMarkupInline class. // // This file is a part of the XTREME TOOLKIT PRO MFC class library. // (c)1998-2011 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITH...
27.723469
175
0.763407
[ "render", "object" ]
7dbbfcd25b0cc158cf3052eac3f2c3230523d77b
10,366
cpp
C++
kinectGrab.cpp
buq2/matlab_multiview_toolbox
2ded59134119ba41f88332dd2e31e7fff71433f5
[ "BSD-2-Clause-FreeBSD" ]
2
2019-01-04T09:01:37.000Z
2021-11-10T09:12:21.000Z
kinectGrab.cpp
buq2/matlab_multiview_toolbox
2ded59134119ba41f88332dd2e31e7fff71433f5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
kinectGrab.cpp
buq2/matlab_multiview_toolbox
2ded59134119ba41f88332dd2e31e7fff71433f5
[ "BSD-2-Clause-FreeBSD" ]
3
2019-01-04T09:01:57.000Z
2021-11-10T09:12:23.000Z
#include "mex.h" #include "libfreenect.h" #include <vector> #include <cmath> #include <limits> //NaN #include <pthread.h> void usage() { mexPrintf( "Returns depth and RGB data from Kinect using libfreenect\n" "\n" "Inputs:\n" " numFrames - Number of frames to grab (double)\n" "\n" "O...
32.292835
132
0.671233
[ "vector" ]
7dbf320e1b36d8abf5bcea4b3ca4c1f4a93aa7cf
9,188
cpp
C++
qtxmlpatterns/src/xmlpatterns/expr/qorderby.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtxmlpatterns/src/xmlpatterns/expr/qorderby.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtxmlpatterns/src/xmlpatterns/expr/qorderby.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtXmlPatterns module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid...
34.541353
141
0.608293
[ "vector" ]
7dbfe24d3c4f5ff1add55f3ed3242168afae1f96
15,526
cpp
C++
hackathon/zhi/reconstruction_evaluation/reco_eval_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/zhi/reconstruction_evaluation/reco_eval_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
hackathon/zhi/reconstruction_evaluation/reco_eval_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/* reco_eval_plugin.cpp * This is a test plugin, you can use it as a demo. * 2019-2-4 : by Zhi Zhou */ #include "v3d_message.h" #include <vector> #include "reco_eval_plugin.h" #include "../../../released_plugins/v3d_plugins/swc_to_maskimage/filter_dialog.h" #include "../AllenNeuron_postprocessing/sort_swc_IVSCC.h"...
39.01005
159
0.470952
[ "vector" ]
7dc4346b9635e8aac157fe24cbf58b1620b51589
640
cpp
C++
BOJ_CPP/25053.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/25053.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
BOJ_CPP/25053.cpp
tnsgh9603/BOJ_CPP
432b1350f6c67cce83aec3e723e30a3c6b5dbfda
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) using namespace std; int main() { fastio; int t; cin >> t; while (t--) { int n; cin >> n; vector<int> diff2beauty(11, -1000); for (int i = 0; i < n; ++i) { int b, d; ...
23.703704
86
0.467188
[ "vector" ]
7dd6b8bb81176b03c6234793d7223024af0b9a1a
1,329
cpp
C++
2021/Day 1/Day 1 - CPP/Program.cpp
edgorman/Advent-of-Code
7c354dfdfd0c072c59b15bcac265c19e6a088440
[ "MIT" ]
null
null
null
2021/Day 1/Day 1 - CPP/Program.cpp
edgorman/Advent-of-Code
7c354dfdfd0c072c59b15bcac265c19e6a088440
[ "MIT" ]
null
null
null
2021/Day 1/Day 1 - CPP/Program.cpp
edgorman/Advent-of-Code
7c354dfdfd0c072c59b15bcac265c19e6a088440
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <vector> #include <numeric> std::string PartOne(std::vector<int> input) { uint32_t numberOfIncreases = 0; for (int i = 1; i < input.size(); i++) { if (input[i] > input[i - 1]) { numberOfIncreases++; } ...
20.765625
99
0.545523
[ "vector" ]
8fc044fa85cfc2c36b7a51e1a0a4d8307f0d0ce0
17,269
cpp
C++
src/embeddings/tools/glove.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
615
2015-01-31T17:14:03.000Z
2022-03-27T03:03:02.000Z
src/embeddings/tools/glove.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
167
2015-01-20T17:48:16.000Z
2021-12-20T00:15:29.000Z
src/embeddings/tools/glove.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
264
2015-01-30T00:08:01.000Z
2022-03-02T17:19:11.000Z
/** * @file glove.cpp * @author Chase Geigle * * This tool builds word embedding vectors from a weighted cooccurrence * matrix using the GloVe model. * * @see http://nlp.stanford.edu/projects/glove/ */ #include <thread> #include "cpptoml.h" #include "meta/embeddings/cooccur_iterator.h" #include "meta/io/files...
33.662768
80
0.534484
[ "vector", "model", "transform" ]
8fcae12135f7f94f80f34970dec0497d38f97742
807
cc
C++
test/replace.cc
fcharlie/BelaUtils
3d3f8e48a5e73a7427c951ff048f267e0360b5ae
[ "Apache-2.0" ]
28
2020-07-19T11:15:36.000Z
2022-03-18T02:52:39.000Z
test/replace.cc
fcharlie/BelaUtils
3d3f8e48a5e73a7427c951ff048f267e0360b5ae
[ "Apache-2.0" ]
null
null
null
test/replace.cc
fcharlie/BelaUtils
3d3f8e48a5e73a7427c951ff048f267e0360b5ae
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <string> #include <string_view> #include <cstdio> std::string ReplaceAll(std::string_view str, std::string_view rep, std::string_view to) { std::string s; s.reserve(str.size()); while (!str.empty()) { auto pos = str.find(rep); if (pos == std::string::npos...
26.032258
79
0.537794
[ "vector" ]
8fd0b1bf992359dd08c85a9be316fa2f001dc5e8
1,635
cpp
C++
Entity.cpp
EWBiv/graphics-project
7343d467c0184a2b23d2ca5c8c9d9ef0c22d4088
[ "MIT" ]
null
null
null
Entity.cpp
EWBiv/graphics-project
7343d467c0184a2b23d2ca5c8c9d9ef0c22d4088
[ "MIT" ]
null
null
null
Entity.cpp
EWBiv/graphics-project
7343d467c0184a2b23d2ca5c8c9d9ef0c22d4088
[ "MIT" ]
null
null
null
#include "Entity.h" #include <d3d11.h> using namespace DirectX; Entity::Entity(Mesh* mesh, Material* mat, bool draw) { mesh_ = mesh; material_ = mat; shouldDraw = draw; } Entity::~Entity() { } Mesh* Entity::GetMesh() { return mesh_; } Transform* Entity::GetTransform() { return &transform_; } Material* Entit...
24.772727
140
0.73211
[ "mesh", "transform" ]
8fd3ff5dec83a8683693a239ae24f8c73fdb5685
4,349
cpp
C++
GIDI/Src/GIDI_array3d.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
GIDI/Src/GIDI_array3d.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
GIDI/Src/GIDI_array3d.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
/* # <<BEGIN-copyright>> # Copyright 2019, Lawrence Livermore National Security, LLC. # See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: MIT # <<END-copyright>> */ #include <stdlib.h> #include <algorithm> #include "GIDI.hpp" #include <HAPI.hpp> namespace GIDI { /*! \class Array3d * Class...
38.830357
132
0.509772
[ "shape", "vector", "3d" ]
8fd4fdfaf7940de69cc14f6666e09ece85cd3322
4,475
cpp
C++
Doodle Jump/source/player/Player.cpp
AlexTemnyakov/Doodle-Jump
9d6809d3180b88e962fdc3557682c64599cfcfaf
[ "MIT" ]
1
2019-08-27T15:17:23.000Z
2019-08-27T15:17:23.000Z
Doodle Jump/source/player/Player.cpp
AlexTemnyakov/Doodle-Jump
9d6809d3180b88e962fdc3557682c64599cfcfaf
[ "MIT" ]
null
null
null
Doodle Jump/source/player/Player.cpp
AlexTemnyakov/Doodle-Jump
9d6809d3180b88e962fdc3557682c64599cfcfaf
[ "MIT" ]
null
null
null
#include "Player.h" #include <thread> Rectangle* collisions(Player* p, set<Block*> blocks); Rectangle* hasGround(Player* p, set<Block*> blocks); Player::Player(const char* texturePath, int w, int h, int _x, int _y, SDL_Renderer* renderer) { Utils u; textureLeft = new Texture(u.playersTextureLeftPath, w, h, renderer...
17.54902
195
0.57162
[ "render" ]
8fdd4a27690d26e70587a556ef7cdc34026f0d25
9,619
hpp
C++
ridge_detection/rd/utils/assessment_quality.hpp
play7046118/RidgeDetection
701b55948fff23fd516d8ba3929b03edb0c9b4c5
[ "MIT" ]
10
2016-10-24T16:38:45.000Z
2021-09-23T13:53:54.000Z
ridge_detection/rd/utils/assessment_quality.hpp
play7046118/RidgeDetection
701b55948fff23fd516d8ba3929b03edb0c9b4c5
[ "MIT" ]
null
null
null
ridge_detection/rd/utils/assessment_quality.hpp
play7046118/RidgeDetection
701b55948fff23fd516d8ba3929b03edb0c9b4c5
[ "MIT" ]
5
2020-02-22T23:30:02.000Z
2021-09-23T12:57:42.000Z
/** * @file assessment_quality.hpp * @author Adam Rogowiec * * This file is an integral part of the master thesis entitled: * "Elaboration and implementation in CUDA technology parallel version of * estimation of multidimensional random variable density function ridge * detection algorithm." * , which is co...
25.313158
117
0.535399
[ "vector" ]
8fdd4f3f87cd130caaf865c04a93058705f1ced5
1,198
cpp
C++
components/physics/bullet_driver/sources/bullet_utils.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/physics/bullet_driver/sources/bullet_utils.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/physics/bullet_driver/sources/bullet_utils.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" namespace physics { namespace low_level { namespace bullet { //преобразование векторов void vector_from_bullet_vector (const btVector3& bullet_vector, math::vec3f& target_vector) { target_vector.x = bullet_vector.x (); target_vector.y = bullet_vector.y (); target_vector.z =...
23.96
111
0.740401
[ "vector" ]
8fe35f397ab11aa53743c58639d60c8dae28a6f9
4,030
cpp
C++
examples/WifiCam/handlers.cpp
RobAxt/esp32cam
211f7d2a628e3cb71002ee9b76430a8c208c2b15
[ "ISC" ]
null
null
null
examples/WifiCam/handlers.cpp
RobAxt/esp32cam
211f7d2a628e3cb71002ee9b76430a8c208c2b15
[ "ISC" ]
null
null
null
examples/WifiCam/handlers.cpp
RobAxt/esp32cam
211f7d2a628e3cb71002ee9b76430a8c208c2b15
[ "ISC" ]
null
null
null
#include "WifiCam.hpp" #include <StreamString.h> #include <uri/UriBraces.h> static const char FRONTPAGE[] = R"EOT( <!doctype html> <title>esp32cam WifiCam example</title> <style> table,th,td { border: solid 1px #000000; border-collapse: collapse; } th,td { padding: 0.4rem; } a { text-decoration: none; } footer { margi...
29.202899
98
0.608685
[ "solid" ]
8ff1f0356253cccb53ccf0c5404beea8a618c9ad
2,345
cpp
C++
src/net/HttpServer.cpp
Maltliquor/HttpServer
b05825752d96e5a7331be30db7587478db9b3124
[ "MIT" ]
null
null
null
src/net/HttpServer.cpp
Maltliquor/HttpServer
b05825752d96e5a7331be30db7587478db9b3124
[ "MIT" ]
null
null
null
src/net/HttpServer.cpp
Maltliquor/HttpServer
b05825752d96e5a7331be30db7587478db9b3124
[ "MIT" ]
null
null
null
#include "src/net/HttpServer.h" #include "src/net/HttpRequest.h" #include "src/net/HttpResponse.h" using namespace serverlib; namespace serverlib { namespace detail { void defaultHttpCallback(const HttpRequest&, HttpResponse* resp){ resp->setStatusCode(HttpResponse::NotFound404); resp->setContentTy...
27.588235
87
0.652026
[ "vector" ]
8ff4cc2534aba8bb43d96406e4e074c8a34ffb35
4,578
cpp
C++
annotation_tools/mpii_annotator/ThreeDGroundTruthLabeler/ThreeDGroundTruthLabeler/common/UtilityWin/ConsoleHelper.cpp
strawberryfg/NAPA-NST-HPE
a11a63aaa1ebdc2836dad0b9640dffb951ab7e50
[ "MIT" ]
4
2020-12-16T12:53:48.000Z
2021-04-20T04:11:11.000Z
annotation_tools/mpii_annotator/ThreeDGroundTruthLabeler/ThreeDGroundTruthLabeler/common/UtilityWin/ConsoleHelper.cpp
strawberryfg/NAPA-NST-HPE
a11a63aaa1ebdc2836dad0b9640dffb951ab7e50
[ "MIT" ]
null
null
null
annotation_tools/mpii_annotator/ThreeDGroundTruthLabeler/ThreeDGroundTruthLabeler/common/UtilityWin/ConsoleHelper.cpp
strawberryfg/NAPA-NST-HPE
a11a63aaa1ebdc2836dad0b9640dffb951ab7e50
[ "MIT" ]
1
2021-01-03T01:00:58.000Z
2021-01-03T01:00:58.000Z
/*************************************************************************\ Microsoft Research Asia Copyright(c) 2003 Microsoft Corporation Module Name: Helper, to display a console window for debug Usage: 1. Adding this CPP file into project will automatically raise a console window with the applic...
26.16
90
0.591525
[ "object" ]
8ffc31428035a5b3cd306210d1291c409125f44a
10,489
cpp
C++
emitter/ppc/ppcruntime_printer.cpp
nandor/genm-opt
b3347d508fff707837d1dc8232487ebfe157fe2a
[ "MIT" ]
13
2020-06-25T18:26:54.000Z
2021-02-16T03:14:38.000Z
emitter/ppc/ppcruntime_printer.cpp
nandor/genm-opt
b3347d508fff707837d1dc8232487ebfe157fe2a
[ "MIT" ]
3
2020-07-01T01:39:47.000Z
2022-01-24T23:47:12.000Z
emitter/ppc/ppcruntime_printer.cpp
nandor/genm-opt
b3347d508fff707837d1dc8232487ebfe157fe2a
[ "MIT" ]
2
2021-03-11T05:08:09.000Z
2021-07-17T23:36:17.000Z
// This file if part of the llir-opt project. // Licensing information can be found in the LICENSE file. // (C) 2018 Nandor Licker. All rights reserved. #include <llvm/BinaryFormat/ELF.h> #include <llvm/CodeGen/MachineModuleInfo.h> #include <llvm/IR/Mangler.h> #include <llvm/MC/MCSectionELF.h> #include <llvm/MC/MCInst...
28.425474
83
0.567356
[ "vector" ]
8ffff573c010bdb9343423f9b7ed7ccab6815a4a
8,679
cc
C++
test/performance/ExpectData.cc
diegoferigo/ign-physics
8f0d8ce3229f53fbf4e05cb0273530169e6d9fef
[ "ECL-2.0", "Apache-2.0" ]
39
2020-04-15T16:56:50.000Z
2022-03-23T19:53:01.000Z
test/performance/ExpectData.cc
diegoferigo/ign-physics
8f0d8ce3229f53fbf4e05cb0273530169e6d9fef
[ "ECL-2.0", "Apache-2.0" ]
265
2020-04-17T22:46:45.000Z
2022-03-30T21:34:29.000Z
test/performance/ExpectData.cc
diegoferigo/ign-physics
8f0d8ce3229f53fbf4e05cb0273530169e6d9fef
[ "ECL-2.0", "Apache-2.0" ]
26
2020-04-16T08:08:56.000Z
2022-01-12T07:47:34.000Z
/* * Copyright (C) 2017 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
33.770428
80
0.724623
[ "vector" ]
8908d96897ab31c419f6bf77ea0c5d25f782cbbb
3,251
cpp
C++
test/common_test.cpp
4paradigm/prpc
2d264b696dd08191346535b852bb2b5391506a20
[ "Apache-2.0" ]
2
2021-08-24T03:35:11.000Z
2021-09-08T15:17:07.000Z
test/common_test.cpp
4paradigm/prpc
2d264b696dd08191346535b852bb2b5391506a20
[ "Apache-2.0" ]
null
null
null
test/common_test.cpp
4paradigm/prpc
2d264b696dd08191346535b852bb2b5391506a20
[ "Apache-2.0" ]
null
null
null
#include <cstdlib> #include <cstdio> #include <queue> #include <string> #include <glog/logging.h> #include <gtest/gtest.h> #include "common.h" namespace paradigm4 { namespace pico { namespace core { TEST(commonTest, pico_common_time_relevent_function_check) { std::chrono::system_clock::time_point t0; char f...
30.961905
91
0.641341
[ "vector" ]
89094851bd304492fb3af8845e88bab8ec1f882f
1,710
hh
C++
src/ArtificialViscosity/CheapVonNeumanViscosity.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/ArtificialViscosity/CheapVonNeumanViscosity.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/ArtificialViscosity/CheapVonNeumanViscosity.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // A specialized version of the scalar VonNeuman viscosity, which uses the // last stored version of DvDx to compute the velocity divergence. // // Created by JMO, Sun Jan 14 22:59:51 PST 2001 //-------------------------------------------...
31.090909
95
0.64152
[ "vector" ]
890aaa2c0a29a75951c8473689d041cc2a3cf1d1
362
cpp
C++
12015/12015.cpp14.cpp
isac322/BOJ
35959dd1a63d75ebca9ed606051f7a649d5c0c7b
[ "MIT" ]
14
2017-05-02T02:00:42.000Z
2021-11-16T07:25:29.000Z
12015/12015.cpp14.cpp
isac322/BOJ
35959dd1a63d75ebca9ed606051f7a649d5c0c7b
[ "MIT" ]
1
2017-12-25T14:18:14.000Z
2018-02-07T06:49:44.000Z
12015/12015.cpp14.cpp
isac322/BOJ
35959dd1a63d75ebca9ed606051f7a649d5c0c7b
[ "MIT" ]
9
2016-03-03T22:06:52.000Z
2020-04-30T22:06:24.000Z
#include <cstdio> #include <algorithm> #include <vector> using namespace std; int main() { unsigned long n, t; vector<unsigned long> arr; scanf("%lu", &n); for (int i = 0; i < n; i++) { scanf("%lu", &t); auto iter = lower_bound(arr.begin(), arr.end(), t); if (iter == arr.end()) arr.emplace_back(t); else *...
20.111111
53
0.59116
[ "vector" ]
890ab0dd34d794fba0728e318f36215a40cd9ab6
1,117
cpp
C++
leetcode/permutations(46)/main.cpp
bryancalisto/competitive_prog
776aefb73872acaf35f0dde08c6341c5cfb670a6
[ "Unlicense" ]
null
null
null
leetcode/permutations(46)/main.cpp
bryancalisto/competitive_prog
776aefb73872acaf35f0dde08c6341c5cfb670a6
[ "Unlicense" ]
null
null
null
leetcode/permutations(46)/main.cpp
bryancalisto/competitive_prog
776aefb73872acaf35f0dde08c6341c5cfb670a6
[ "Unlicense" ]
null
null
null
//https://leetcode.com/problems/permutations/ #include <bits/stdc++.h> using namespace std; class Solution { public: vector<vector<int>> permute(vector<int> &nums) { vector<vector<int>> result; vector<int> currentSet; return _permute(nums, currentSet, result); } vector<vector<int>> _permute(vect...
20.685185
103
0.56043
[ "vector" ]
891021d5a2f29a8773141905cd765889fbb19c34
28,850
cpp
C++
src/chromalightnessdiagram.cpp
Qt-Widgets/perceptualcolor
05006bf8707c3a22e1d13656117de89c2db05516
[ "MIT" ]
1
2021-01-10T06:31:27.000Z
2021-01-10T06:31:27.000Z
src/chromalightnessdiagram.cpp
Qt-Widgets/perceptualcolor
05006bf8707c3a22e1d13656117de89c2db05516
[ "MIT" ]
null
null
null
src/chromalightnessdiagram.cpp
Qt-Widgets/perceptualcolor
05006bf8707c3a22e1d13656117de89c2db05516
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT /* * Copyright (c) 2020 Lukas Sommer somerluk@gmail.com * * 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 limit...
38.262599
357
0.686031
[ "render", "shape", "transform" ]
8915a57365c3c4b614a8dd6875b53116b188298c
2,285
hpp
C++
states/Playing.hpp
boavenn/SimpleSpaceShooter
e9cac301eae8a5c09b22ea51a7921eb81a26230b
[ "MIT" ]
null
null
null
states/Playing.hpp
boavenn/SimpleSpaceShooter
e9cac301eae8a5c09b22ea51a7921eb81a26230b
[ "MIT" ]
null
null
null
states/Playing.hpp
boavenn/SimpleSpaceShooter
e9cac301eae8a5c09b22ea51a7921eb81a26230b
[ "MIT" ]
null
null
null
#pragma once #include "StateManager.hpp" #include "../entities/Projectile.hpp" #include "../util/Background.hpp" #include "../util/Random.hpp" #include "../weapons/OneShot.hpp" #include "../entities/aliens/Alien01.hpp" #include "../effects/ParticleExplosion.hpp" #include "../effects/Explosion.hpp" #include "../util/Sou...
26.569767
53
0.745733
[ "vector" ]
891aba78d8f5ad5b53ac5ca0b925815a1ea6654a
2,731
cpp
C++
BattleTanks/Source/BattleTanks/Private/TankProjectile.cpp
Visherac/UnrealCourse_BattleTanks
42b30469328495098162a9501437f26b2131e274
[ "MIT" ]
null
null
null
BattleTanks/Source/BattleTanks/Private/TankProjectile.cpp
Visherac/UnrealCourse_BattleTanks
42b30469328495098162a9501437f26b2131e274
[ "MIT" ]
null
null
null
BattleTanks/Source/BattleTanks/Private/TankProjectile.cpp
Visherac/UnrealCourse_BattleTanks
42b30469328495098162a9501437f26b2131e274
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "TankProjectile.h" #include "Engine/World.h" #include "Kismet/GameplayStatics.h" #include "TimerManager.h" #include "Particles/ParticleSystemComponent.h" #include "Components/StaticMeshComponent.h" #include "PhysicsEngine/RadialFor...
35.467532
174
0.809594
[ "mesh" ]
891f22f61d5c448782601dcee8b0026b4e5eb1aa
302
cpp
C++
acwing/0891.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
null
null
null
acwing/0891.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
null
null
null
acwing/0891.cpp
zyzisyz/OJ
55221a55515231182b6bd133edbdb55501a565fc
[ "Apache-2.0" ]
2
2020-01-01T13:49:08.000Z
2021-03-06T06:54:26.000Z
#include<iostream> #include<vector> using namespace std; int n; int main(void) { cin>>n; vector<int> table(n, 0); for(int i=0; i<n; i++) { cin>>table[i]; } int res = table[0]; for(int i=1; i<n; i++){ res = res^table[i]; } if(res){ cout<<"Yes"<<endl; } else{ cout<<"No"<<endl; } }
12.08
25
0.546358
[ "vector" ]
891fd0bd077c271b1547ff73aa1f3985817b305e
8,221
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/IfcGeometricRepresentationSubContext.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
1
2018-10-23T09:43:07.000Z
2018-10-23T09:43:07.000Z
IfcPlusPlus/src/ifcpp/IFC4/IfcGeometricRepresentationSubContext.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/IfcGeometricRepresentationSubContext.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
/* -*-c++-*- IfcPlusPlus - www.ifcplusplus.com - Copyright (C) 2011 Fabian Gerold * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * in...
60.896296
246
0.763532
[ "vector", "model" ]
892409a60db5d45a6b3aa07e6191528c97aed52c
1,959
cpp
C++
test/bstream/test4.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
test/bstream/test4.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
test/bstream/test4.cpp
Collobos/nodeoze
40d98bb085d27f6c283aac61d2b373bf761188d6
[ "MIT" ]
null
null
null
#include <nodeoze/test.h> #include <nodeoze/bstream.h> #include <nodeoze/bstream/ombstream.h> #include <nodeoze/bstream/imbstream.h> #include <nodeoze/bstream/stdlib.h> #include <utility> #include <thread> #include <chrono> using namespace nodeoze; namespace test_4 { struct struct_A { struct_A() {} struct_A(...
19.59
97
0.602348
[ "vector" ]
892946e492fcd8a0ab302435ab0b13928bdfafc3
12,672
cpp
C++
moveit_calibration_plugins/handeye_calibration_target/src/handeye_target_aruco.cpp
RoboticsYY/moveit_calibration
e37d4f707a5e966fb19620f3eaa2235692cd09d4
[ "BSD-3-Clause" ]
1
2021-04-25T12:32:22.000Z
2021-04-25T12:32:22.000Z
moveit_calibration_plugins/handeye_calibration_target/src/handeye_target_aruco.cpp
RoboticsYY/moveit_calibration
e37d4f707a5e966fb19620f3eaa2235692cd09d4
[ "BSD-3-Clause" ]
2
2020-07-02T17:43:10.000Z
2020-08-10T06:51:42.000Z
moveit_calibration_plugins/handeye_calibration_target/src/handeye_target_aruco.cpp
RoboticsYY/moveit_calibration
e37d4f707a5e966fb19620f3eaa2235692cd09d4
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2019, Intel Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
42.381271
120
0.683712
[ "vector", "transform" ]
892a8d18ee6f676698f73bccf6221bb524e4ac0f
928
cpp
C++
CodeForces/1152B_Neko_Performs_Cat_Furrier_Transform.cpp
ASM-ATIKUR/Competitive_Programming_Atikur_Rahman
9552e4dca7daad5c07542514d4b8c8baabea1989
[ "MIT" ]
null
null
null
CodeForces/1152B_Neko_Performs_Cat_Furrier_Transform.cpp
ASM-ATIKUR/Competitive_Programming_Atikur_Rahman
9552e4dca7daad5c07542514d4b8c8baabea1989
[ "MIT" ]
null
null
null
CodeForces/1152B_Neko_Performs_Cat_Furrier_Transform.cpp
ASM-ATIKUR/Competitive_Programming_Atikur_Rahman
9552e4dca7daad5c07542514d4b8c8baabea1989
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int x, a, cnt, pt, i, ans=0; vector <int> v; cin>>x; while(1) { a=x; cnt=1; i=1; pt=0; int pb=0; while(a>0) { //cout<<(a&1)<<endl; if(!(a&1)) {p...
16
33
0.292026
[ "vector" ]
9f1c63e4f1aa998797f6430d6f83470ffe80078d
3,899
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/err/check_matching_dims_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/err/check_matching_dims_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/err/check_matching_dims_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/mat.hpp> #include <gtest/gtest.h> #include <test/unit/util.hpp> TEST(ErrorHandlingMatrix, checkMatchingDimsMatrix) { Eigen::Matrix<double,Eigen::Dynamic,Eigen::Dynamic> y; Eigen::Matrix<double,Eigen::Dynamic,Eigen::Dynamic> x; y.resize(3,3); x.resize(3,3); EXPECT_NO_THROW(stan::ma...
38.60396
114
0.566299
[ "vector" ]
9f2d75c7f626777333a0ed457ba1ce95d86e6707
12,133
cpp
C++
main.cpp
rfordyce/sudoku_solver
39a65dea0010088d473b5505196660bad7a55091
[ "MIT" ]
null
null
null
main.cpp
rfordyce/sudoku_solver
39a65dea0010088d473b5505196660bad7a55091
[ "MIT" ]
null
null
null
main.cpp
rfordyce/sudoku_solver
39a65dea0010088d473b5505196660bad7a55091
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <vector> #include <getopt.h> //for getopt() #include <cstdlib> //for exit() #include <string> #include "entry.hpp" #include "setup.cpp" #include "brute.cpp" void printBoard(char type='x') { std::cout << "i" << iterations << " "; switch(type) { case 'r': std::cou...
29.884236
135
0.528476
[ "vector" ]
9f331071844c39b2e02f67eae3967f55e0725b02
2,302
cc
C++
components/password_manager/core/browser/http_password_migrator.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
components/password_manager/core/browser/http_password_migrator.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
components/password_manager/core/browser/http_password_migrator.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/password_manager/core/browser/http_password_migrator.h" #include "components/password_manager/core/browser/password_store.h" #includ...
37.737705
78
0.68245
[ "vector" ]
9f3b55bf696725d9a09ef17bcc6ec41cdb9ac05b
10,844
hpp
C++
src/core/math/matrix.hpp
qkmaxware/Qlib
60e346aa978ab78f40e496d35b637863f140ef20
[ "MIT" ]
1
2019-03-29T22:39:00.000Z
2019-03-29T22:39:00.000Z
src/core/math/matrix.hpp
qkmaxware/Qlib
60e346aa978ab78f40e496d35b637863f140ef20
[ "MIT" ]
null
null
null
src/core/math/matrix.hpp
qkmaxware/Qlib
60e346aa978ab78f40e496d35b637863f140ef20
[ "MIT" ]
null
null
null
#ifndef _QLIB_MATH_MATRIX_H #define _QLIB_MATH_MATRIX_H #include "complex.hpp" #include "./../general/object.hpp" #include <stdexcept> #include <vector> #include <math.h> #include <sstream> namespace qlib { namespace math { //---------------------------------------------------------- //Early declarations (before ...
28.020672
100
0.447621
[ "object", "vector" ]
9f45de9f143b73aaa27508449200cdfa30321fb3
7,429
cxx
C++
Code/Numerics/itkSingleValuedVnlCostFunctionAdaptor.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
1
2018-04-15T13:32:43.000Z
2018-04-15T13:32:43.000Z
Code/Numerics/itkSingleValuedVnlCostFunctionAdaptor.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
Code/Numerics/itkSingleValuedVnlCostFunctionAdaptor.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkSingleValuedVnlCostFunctionAdaptor.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. S...
28.033962
122
0.701171
[ "object" ]
9f4ce39fb7e75e02b14cec63c63ca265a9e30a65
1,205
hpp
C++
Engine/Code/Engine/Math/Random.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
Engine/Code/Engine/Math/Random.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
Engine/Code/Engine/Math/Random.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
#pragma once #include <vector> class Rgba; class Vec2; class Vec3; namespace Random { extern int g_seed; void InitSeed(); void SetSeed( unsigned int seed ); bool CheckChance( float chanceForSuccess ); // If 0.27f passed, returns true 27% of the time float FloatZeroToOne(); // Gives floats in [0.0f,1.0f] float Fl...
25.638298
92
0.729461
[ "vector" ]
9f58718ed30b5f559a389dae99742540741d76d4
4,825
hpp
C++
Patcher/Source/DirTree/TreeModel.hpp
sylwow/SharpsenBox
856c8751a6c236598d5f615b87b216365f85064b
[ "MIT" ]
6
2020-10-04T11:26:25.000Z
2022-01-10T13:52:57.000Z
Patcher/Source/DirTree/TreeModel.hpp
sylwow/LaunchBox
856c8751a6c236598d5f615b87b216365f85064b
[ "MIT" ]
null
null
null
Patcher/Source/DirTree/TreeModel.hpp
sylwow/LaunchBox
856c8751a6c236598d5f615b87b216365f85064b
[ "MIT" ]
1
2021-03-28T15:10:50.000Z
2021-03-28T15:10:50.000Z
#pragma once #include <QObject> #include <QQmlApplicationEngine> #include <QDebug> #include <QThread> #include <QAbstractItemModel> #include <QObject> #include <QDir> #include <QStandardItemModel> #include <QStandardItem> #include "IQmlObject.hpp" #include "TreeItem.hpp" #include <iostream> #include <filesystem> #incl...
31.535948
128
0.723109
[ "vector" ]
9f750cddc807f8e16ee426255dab02af3d2bed4d
1,198
cpp
C++
ural/1207.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
5
2015-07-14T10:29:25.000Z
2016-10-11T12:45:18.000Z
ural/1207.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
null
null
null
ural/1207.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
3
2016-08-23T01:05:26.000Z
2017-05-28T02:04:20.000Z
/* Problem: Ural1207 Algorithm: Geometry Time: O() Memory: O() Detail: Simple Coded by Biribiri */ #include <cstdio> #include <cstring> #include <cmath> #include <algorithm> using namespace std; const int MaxN = 10000; const double INF = 1e9; const double EPS = 1e-6; const double PI = acos((do...
20.305085
63
0.556761
[ "geometry" ]
9f7b10137d48516a23bfc6e89428c3a809d23009
5,694
cpp
C++
Plain/src/Common/MeshProcessing.cpp
Gaukler/PlainRenderer
cf0f41a2300bee9f29a886230c061776cb29ba5e
[ "MIT" ]
9
2021-04-09T14:07:45.000Z
2022-03-06T07:51:14.000Z
Plain/src/Common/MeshProcessing.cpp
Gaukler/PlainRenderer
cf0f41a2300bee9f29a886230c061776cb29ba5e
[ "MIT" ]
14
2021-04-10T11:06:06.000Z
2021-05-07T14:20:34.000Z
Plain/src/Common/MeshProcessing.cpp
Gaukler/PlainRenderer
cf0f41a2300bee9f29a886230c061776cb29ba5e
[ "MIT" ]
null
null
null
#include "pch.h" #include "MeshProcessing.h" #include "Common/CompressedTypes.h" std::vector<AxisAlignedBoundingBox> AABBListFromMeshes(const std::vector<MeshData>& meshes) { std::vector<AxisAlignedBoundingBox> AABBList; AABBList.reserve(meshes.size()); for (const MeshData& meshData : meshes) { AAB...
50.389381
130
0.650509
[ "vector" ]
9f7ff7898245f0cc4e7c50b5ae0e740c488fe2bd
605
cpp
C++
Assignments/hw10/solution/solution_bonus/testActivity.cpp
henrisota/Algorithms-and-Data-Structures
88de93a920b57290c0a63b967073da2e09c5a34d
[ "MIT" ]
null
null
null
Assignments/hw10/solution/solution_bonus/testActivity.cpp
henrisota/Algorithms-and-Data-Structures
88de93a920b57290c0a63b967073da2e09c5a34d
[ "MIT" ]
null
null
null
Assignments/hw10/solution/solution_bonus/testActivity.cpp
henrisota/Algorithms-and-Data-Structures
88de93a920b57290c0a63b967073da2e09c5a34d
[ "MIT" ]
null
null
null
/* CH-231-A hw10_p2.cpp Henri Sota h.sota@jacobs-university.de */ #include <iostream> #include <vector> #include "Activity.h" int main() { std::vector<Activity> list = { Activity(1, 4), Activity(3, 5), Activity(0, 6), Activity(5, 7), Activity(3, 9), Activity(5, 9), Activity(6, 10), Activity(8, 11)...
18.333333
65
0.639669
[ "vector" ]
9f8f17101745dd4d0e1375847c874155c93d757b
1,213
hpp
C++
scenes/3D_graphics/01_modeling/HumanConstructions.hpp
victor-radermecker/Island-Project
3284cea0ec5b143bfe410b0999caa06e79498df5
[ "MIT" ]
null
null
null
scenes/3D_graphics/01_modeling/HumanConstructions.hpp
victor-radermecker/Island-Project
3284cea0ec5b143bfe410b0999caa06e79498df5
[ "MIT" ]
null
null
null
scenes/3D_graphics/01_modeling/HumanConstructions.hpp
victor-radermecker/Island-Project
3284cea0ec5b143bfe410b0999caa06e79498df5
[ "MIT" ]
null
null
null
#pragma once #include "main/scene_base/base.hpp" using namespace vcl; struct treasure_model { // init and draw void init_all(); void draw_all(std::map<std::string, GLuint>& shaders, scene_structure& scene); vcl::hierarchy_mesh_drawable hierarchy_treasure; //Functions void create_treasure_box(); void ope...
23.784314
144
0.754328
[ "mesh" ]
9f936f5bea1c75d40996ecdfacd14083199dfaf8
36,918
cc
C++
extensions/cuda/stats.cc
lijun99/pyre
004dfd4c06489b4ba5b32877338ca6440f2d523b
[ "BSD-3-Clause" ]
3
2019-08-02T21:02:47.000Z
2021-09-08T13:59:43.000Z
extensions/cuda/stats.cc
lijun99/pyre
004dfd4c06489b4ba5b32877338ca6440f2d523b
[ "BSD-3-Clause" ]
null
null
null
extensions/cuda/stats.cc
lijun99/pyre
004dfd4c06489b4ba5b32877338ca6440f2d523b
[ "BSD-3-Clause" ]
null
null
null
// -*- C++ -*- // -*- coding: utf-8 -*- // // Lijun Zhu // california institute of technology // (c) 2016-2019 all rights reserved // #include <portinfo> #include <Python.h> #include <pyre/journal.h> #include <iostream> #include <sstream> // my declarations #include "stats.h" // local support #include "capsules.h" #...
34.567416
132
0.601116
[ "vector" ]
9f950e3f1f291c6a416b011efdb0b057cfc78a36
614
cpp
C++
Greedy/Greedy.cpp
jordantonni/HackerRank_Algorithms
48c6df9688d4d45e7249c29fd70aba67234c74cd
[ "MIT" ]
null
null
null
Greedy/Greedy.cpp
jordantonni/HackerRank_Algorithms
48c6df9688d4d45e7249c29fd70aba67234c74cd
[ "MIT" ]
null
null
null
Greedy/Greedy.cpp
jordantonni/HackerRank_Algorithms
48c6df9688d4d45e7249c29fd70aba67234c74cd
[ "MIT" ]
null
null
null
// https://www.hackerrank.com/challenges/greedy-florist/problem // Jordan Tonni #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <functional> using namespace std; int main() { int n, k; cin >> n >> k; vector<int> prices(n); for(int i=0; i<n; ++i) ...
18.606061
63
0.557003
[ "vector" ]
9f953d37f91ffa17e3c0fa6bed9de6dc86ded3ec
6,728
hpp
C++
common/glf/glf.hpp
Groovounet/ogl-samples
7f8be365d1823b8609caf539d790c90712cd4c46
[ "Unlicense" ]
null
null
null
common/glf/glf.hpp
Groovounet/ogl-samples
7f8be365d1823b8609caf539d790c90712cd4c46
[ "Unlicense" ]
null
null
null
common/glf/glf.hpp
Groovounet/ogl-samples
7f8be365d1823b8609caf539d790c90712cd4c46
[ "Unlicense" ]
2
2020-12-30T04:44:14.000Z
2021-03-17T00:43:45.000Z
#ifndef GLF_WINDOW_INCLUDED #define GLF_WINDOW_INCLUDED //#pragma warning(disable : once) // OpenGL #ifdef WIN32 # define WIN32_LEAN_AND_MEAN # include <windows.h> # include <GL/glew.h> # include <GL/wglew.h> # include <cl/cl.h> # include <cl/cl_ext.h> # include <cl/cl_gl.h> # include <cl/cl_gl_ext.h> //# include <GL...
17.076142
65
0.669738
[ "vector" ]
7a0476a76a6302c57f14b0116d8cef1aa4cd677e
557
cc
C++
primer/examples/iterators.cc
CaffeineViking/concepts-primer
041cec40fa4a25cd954ce91da6d9d10ee31499a3
[ "MIT" ]
17
2019-05-01T21:49:43.000Z
2022-02-25T06:50:47.000Z
primer/examples/iterators.cc
CaffeineViking/concepts-primer
041cec40fa4a25cd954ce91da6d9d10ee31499a3
[ "MIT" ]
null
null
null
primer/examples/iterators.cc
CaffeineViking/concepts-primer
041cec40fa4a25cd954ce91da6d9d10ee31499a3
[ "MIT" ]
null
null
null
#include "concepts.h" #include <list> #include <vector> #include <forward_list> int main(int, char**) { std::forward_list fl { 1, 2, 3, 4, 5 }; ForwardIterator fi { fl.begin() }; std::list bl { 1, 2, 3, 4, 5 }; BidirectionalIterator bi { bl.begin() }; std::vector ra { 1, 2, 3, 4, 5 }; Rando...
19.206897
44
0.601436
[ "vector" ]
7a1438c919534d427c4d87154effe9fabcda7148
652
cpp
C++
iMvc/iMvc.cpp
mkinsz/iProject
b3cd3b41549131c36866a94575b3ae0ce24f66b6
[ "Apache-2.0" ]
null
null
null
iMvc/iMvc.cpp
mkinsz/iProject
b3cd3b41549131c36866a94575b3ae0ce24f66b6
[ "Apache-2.0" ]
null
null
null
iMvc/iMvc.cpp
mkinsz/iProject
b3cd3b41549131c36866a94575b3ae0ce24f66b6
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <memory> #include "PegRow.h" #include "Peg.h" #include "GameModel.h" #include "GameView.h" #include "GameController.h" int main() { // Create Game Model std::shared_ptr<GameModel> gameModelPtr = std::make_shared<GameModel>(12, 4); // Create Game Controller std::shared_ptr<GameContr...
22.482759
101
0.748466
[ "render", "model" ]
7a1beb709202a7b52a58eba160b34bd9de4ec7d6
14,814
cpp
C++
gdal-drivers/solid.cpp
melowntech/gdal-drivers
50b931502fe1ad8fbee1f534ecd26b6fab46e7a0
[ "BSD-2-Clause" ]
1
2018-08-26T07:36:21.000Z
2018-08-26T07:36:21.000Z
gdal-drivers/solid.cpp
melowntech/gdal-drivers
50b931502fe1ad8fbee1f534ecd26b6fab46e7a0
[ "BSD-2-Clause" ]
1
2017-06-26T18:55:26.000Z
2017-09-08T18:47:01.000Z
gdal-drivers/solid.cpp
Melown/gdal-drivers
1457d5ea9587d4063e7a199aa467cbfb65a9e8da
[ "BSD-2-Clause" ]
1
2019-09-25T05:09:58.000Z
2019-09-25T05:09:58.000Z
/** * Copyright (c) 2017 Melown Technologies SE * * 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 f...
30.294479
80
0.603011
[ "vector", "transform", "solid" ]
7a1ea8c7e5c4615bf39d64ad3095376b32eae960
10,946
cpp
C++
src/hdf5_imputation.cpp
isglobal-brge/BigDataStatMeth
e19ab43b052dab1a066d5adff3c6778868f247b0
[ "MIT" ]
2
2020-07-02T00:34:59.000Z
2021-02-03T11:30:31.000Z
src/hdf5_imputation.cpp
isglobal-brge/BigDataStatMeth
e19ab43b052dab1a066d5adff3c6778868f247b0
[ "MIT" ]
null
null
null
src/hdf5_imputation.cpp
isglobal-brge/BigDataStatMeth
e19ab43b052dab1a066d5adff3c6778868f247b0
[ "MIT" ]
1
2021-01-22T16:34:39.000Z
2021-01-22T16:34:39.000Z
#include "include/hdf5_imputation.h" // Get value for imputation int get_value_to_impute_discrete(std::map<double, double> probMap) { std::vector <double> probs; // Get values and counts for each map element for( auto it = probMap.begin(); it != probMap.end(); ++it ) probs.push_back( it->second )...
34.639241
187
0.578019
[ "vector" ]
7a21ffd6f466a6a5fdcb1afc3a26f05ce2745972
4,405
cpp
C++
LRUCache.cpp
liuslevis/leetcode
3447b338cd4efc7d817e35e182dda3a53899b8c2
[ "MIT" ]
null
null
null
LRUCache.cpp
liuslevis/leetcode
3447b338cd4efc7d817e35e182dda3a53899b8c2
[ "MIT" ]
null
null
null
LRUCache.cpp
liuslevis/leetcode
3447b338cd4efc7d817e35e182dda3a53899b8c2
[ "MIT" ]
null
null
null
/* 用时6h,2天,(我的方法思路对,但是出错case无法找到),参考ref实现accept, 100ms === Should learn how to analysis as below === ref: https://leetcode.com/discuss/13964/accepted-c-solution-296-ms 1. hash map holds iterators to linked list 2. linked list holds key and value, key to access hash map items 3. when item is accessed, it's promoted -...
25.760234
89
0.563451
[ "vector" ]
7a2448048b6f7d94fcb9142a134bf73371727a82
1,827
cpp
C++
src/robot_manager_node.cpp
temoto-framework/temoto_robot_manager
98d44dccaad83a466d7a01531bc8f125468e0887
[ "Apache-2.0" ]
null
null
null
src/robot_manager_node.cpp
temoto-framework/temoto_robot_manager
98d44dccaad83a466d7a01531bc8f125468e0887
[ "Apache-2.0" ]
2
2020-05-14T14:26:10.000Z
2020-06-01T07:13:56.000Z
src/robot_manager_node.cpp
temoto-telerobotics/temoto_robot_manager
98d44dccaad83a466d7a01531bc8f125468e0887
[ "Apache-2.0" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2019 TeMoto Telerobotics * * 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://w...
32.052632
103
0.659551
[ "object" ]
7a255d6a086ed93c63926edc9b188d8bcf203e12
1,427
cpp
C++
Easy/Sleep Cycle/Sleep Cycle.cpp
anishsingh42/CodeChef
50f5c0438516210895e513bc4ee959b9d99ef647
[ "Apache-2.0" ]
127
2020-10-13T18:04:35.000Z
2022-02-17T10:56:27.000Z
Easy/Sleep Cycle/Sleep Cycle.cpp
anishsingh42/CodeChef
50f5c0438516210895e513bc4ee959b9d99ef647
[ "Apache-2.0" ]
132
2020-10-13T18:06:53.000Z
2021-10-17T18:44:26.000Z
Easy/Sleep Cycle/Sleep Cycle.cpp
anishsingh42/CodeChef
50f5c0438516210895e513bc4ee959b9d99ef647
[ "Apache-2.0" ]
364
2020-10-13T18:04:52.000Z
2022-03-04T14:34:53.000Z
#include <bits/stdc++.h> typedef long long ll; typedef long double ld; #define fr(i, a, b) for (ll i = a; i < b; i++) #define rf(i, a, b) for (ll i = a; i >= b; i--) typedef std::vector<long long> vi; #define F first #define S second #define fast \ ios_base::sync_with_stdio(0); \ cin.tie(0)...
21.953846
47
0.384723
[ "vector" ]
7a2e37df3c4c02f70e77f246a23f0636e614a847
1,973
cpp
C++
aws-cpp-sdk-dlm/source/model/LocationValues.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-dlm/source/model/LocationValues.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-dlm/source/model/LocationValues.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/dlm/model/LocationValues.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils; n...
27.788732
92
0.6148
[ "model" ]
7a331c951e2c28e0b72da43ecc914fb15d30ea75
2,940
cc
C++
ref_src/2009-Connected-Iterative-Scan/src-refactor/graph/temporal_network.cc
GraphProcessor/LocalityBasedGraphAlgo
de6e48498eb43a106312f14149a3060501b8a49c
[ "MIT" ]
null
null
null
ref_src/2009-Connected-Iterative-Scan/src-refactor/graph/temporal_network.cc
GraphProcessor/LocalityBasedGraphAlgo
de6e48498eb43a106312f14149a3060501b8a49c
[ "MIT" ]
null
null
null
ref_src/2009-Connected-Iterative-Scan/src-refactor/graph/temporal_network.cc
GraphProcessor/LocalityBasedGraphAlgo
de6e48498eb43a106312f14149a3060501b8a49c
[ "MIT" ]
1
2021-01-06T14:03:59.000Z
2021-01-06T14:03:59.000Z
#include "temporal_network.h" /** *@fn TemporalNetwork::AddNetwork ( const string& filename, const string& delimiters ) * *Adds a network structure to the end of the temporal network represented by this structure. * *@TODO - Add parameter to notify if the network is directed or undirected. * - Add option to...
40.273973
127
0.565646
[ "vector" ]
7a34d8affd67528fa4b73b8811140abc6f963e26
2,009
cpp
C++
src/ConvNet/RegressionLayer.cpp
OuluLinux/ConvNetCpp
48854357b49b35d6599fb8ae42be01f4ba1903a6
[ "MIT" ]
7
2017-05-04T17:20:10.000Z
2019-10-02T13:08:33.000Z
src/ConvNet/RegressionLayer.cpp
sppp/ConvNetC-
48854357b49b35d6599fb8ae42be01f4ba1903a6
[ "MIT" ]
null
null
null
src/ConvNet/RegressionLayer.cpp
sppp/ConvNetC-
48854357b49b35d6599fb8ae42be01f4ba1903a6
[ "MIT" ]
3
2017-04-13T06:29:23.000Z
2018-01-09T07:44:09.000Z
#include "LayerBase.h" namespace ConvNet { void LayerBase::InitRegression(int input_width, int input_height, int input_depth) { int input_count = input_width * input_height * input_depth; output_depth = input_count; output_width = 1; output_height = 1; } Volume& LayerBase::ForwardRegression(Volume& input, bool ...
25.43038
99
0.687904
[ "vector" ]
7a3791e5b339169ab0f0574b31266f8ae6c5cde1
110,319
cpp
C++
CPP2D/DPrinter.cpp
Geod24/CPP2D
3ca5c4b85f587bcac897ab74a8d9195811a8bcba
[ "BSL-1.0" ]
94
2016-05-28T11:20:44.000Z
2021-08-24T13:27:33.000Z
CPP2D/DPrinter.cpp
Geod24/CPP2D
3ca5c4b85f587bcac897ab74a8d9195811a8bcba
[ "BSL-1.0" ]
31
2016-05-12T20:30:01.000Z
2021-03-07T22:19:16.000Z
CPP2D/DPrinter.cpp
Geod24/CPP2D
3ca5c4b85f587bcac897ab74a8d9195811a8bcba
[ "BSL-1.0" ]
11
2016-09-06T19:47:18.000Z
2021-04-26T14:19:44.000Z
// // Copyright (c) 2016 Loïc HAMOT // // 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 "DPrinter.h" #include <iostream> #include <fstream> #include <sstream> #include <locale> #include <ciso646> #inclu...
25.787518
136
0.659442
[ "object", "vector", "transform" ]
7a3a6c1502f4e291a0f4df2d65adad1859ce4255
5,446
cpp
C++
rootex/core/input/input_manager.cpp
meetcshah19/Rootex
002725f80ee6ce02a01e1d18630f5635ad2a5b0c
[ "MIT" ]
null
null
null
rootex/core/input/input_manager.cpp
meetcshah19/Rootex
002725f80ee6ce02a01e1d18630f5635ad2a5b0c
[ "MIT" ]
null
null
null
rootex/core/input/input_manager.cpp
meetcshah19/Rootex
002725f80ee6ce02a01e1d18630f5635ad2a5b0c
[ "MIT" ]
null
null
null
#include "input_manager.h" #include "event_manager.h" #include <functional> void InputManager::initialize(unsigned int width, unsigned int height) { m_GainputManager.SetDisplaySize(width, height); m_Width = width; m_Height = height; DeviceIDs[Device::Mouse] = m_GainputManager.CreateDevice<gainput::InputDeviceMou...
26.309179
133
0.752295
[ "vector" ]
7a3ab7ef1412bb9f6d7a40adaaeed923e6da9ea2
1,056
cpp
C++
12. Stack/SortAstack.cpp
LikhithaTadikonda/DSA-cpp
51ba2e1fe2cc832d55d2f6316498581efac65581
[ "MIT" ]
149
2021-09-17T17:11:06.000Z
2021-10-01T17:32:18.000Z
12. Stack/SortAstack.cpp
LikhithaTadikonda/DSA-cpp
51ba2e1fe2cc832d55d2f6316498581efac65581
[ "MIT" ]
138
2021-09-29T14:04:05.000Z
2021-10-01T17:43:18.000Z
12. Stack/SortAstack.cpp
LikhithaTadikonda/DSA-cpp
51ba2e1fe2cc832d55d2f6316498581efac65581
[ "MIT" ]
410
2021-09-27T03:13:55.000Z
2021-10-01T17:59:42.000Z
#include<bits/stdc++.h> using namespace std; class SortedStack{ public: stack<int> s; void sort(); }; void printStack(stack<int> s) { while (!s.empty()) { printf("%d ", s.top()); s.pop(); } printf("\n"); } int main() { int t; cin>>t; while(t--) { SortedSt...
15.529412
157
0.544508
[ "vector" ]
7a3b6a235c730fcd152e7bc1d09b48002eeac282
359
cpp
C++
Day 1/Q.2]/Ravi.cpp
gopalshendge18/Practice-Question
c0dfefb4b6d7c3c5344d09b23d311f07a4444149
[ "MIT" ]
1
2022-01-03T14:04:26.000Z
2022-01-03T14:04:26.000Z
Day 1/Q.2]/Ravi.cpp
gopalshendge18/Practice-Question
c0dfefb4b6d7c3c5344d09b23d311f07a4444149
[ "MIT" ]
null
null
null
Day 1/Q.2]/Ravi.cpp
gopalshendge18/Practice-Question
c0dfefb4b6d7c3c5344d09b23d311f07a4444149
[ "MIT" ]
8
2021-11-03T04:12:17.000Z
2021-12-11T09:28:54.000Z
void nextPermutation(vector<int>& nums) { int n = nums.size(); int i = n-2, j = n-1; while(i>=0 && nums[i]>=nums[i+1]) i--; if(i<0) { reverse(nums.begin(), nums.end()); } else { while(nums[j]<=nums[i]) j--; swap(nums[i],nums[j]); reverse(nums.beg...
18.894737
50
0.440111
[ "vector" ]
7a3f45e962ab2c6d0904952f8f760c56cf141515
22,549
cpp
C++
Engine/Source/Runtime/GameplayTasks/Private/GameplayTasksComponent.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/GameplayTasks/Private/GameplayTasksComponent.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/GameplayTasks/Private/GameplayTasksComponent.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "GameplayTasksComponent.h" #include "UObject/Package.h" #include "Net/UnrealNetwork.h" #include "Engine/ActorChannel.h" #include "GameFramework/Actor.h" #include "VisualLogger/VisualLoggerTypes.h" #include "VisualLogger/VisualLogger.h" #include "Gam...
29.208549
305
0.728369
[ "object" ]
7a5f958b75f35071c0844b9f142f339e61097fa2
6,117
cpp
C++
MACHINATH/MACHINATH/pickup.cpp
susajin/MACHINATH
1e75097f86218f143411885240bbcf211a6e9c99
[ "MIT" ]
null
null
null
MACHINATH/MACHINATH/pickup.cpp
susajin/MACHINATH
1e75097f86218f143411885240bbcf211a6e9c99
[ "MIT" ]
null
null
null
MACHINATH/MACHINATH/pickup.cpp
susajin/MACHINATH
1e75097f86218f143411885240bbcf211a6e9c99
[ "MIT" ]
null
null
null
#include <vector> #include "sound.h" #include "common.h" #include "pickup.h" #include "customMath.h" #include "mydirect3d.h" #include "player.h" #include "effect.h" #include "score.h" // globals static std::vector<Pickup*> g_pickup; static float g_zRotSpeed = 0; void SpawnPickupAtRandom(Map* map); ...
23.709302
125
0.547
[ "vector", "transform" ]
7a703e769aaff1d9111601503cb6d7d6d462b6de
18,332
cpp
C++
src/io/hdf5functions_blosc.cpp
mosaic-group/LibAPR
69097a662bf671d77a548fc47dae2c590675bfac
[ "Apache-2.0" ]
27
2018-12-03T20:38:44.000Z
2022-03-23T17:53:51.000Z
src/io/hdf5functions_blosc.cpp
mosaic-group/LibAPR
69097a662bf671d77a548fc47dae2c590675bfac
[ "Apache-2.0" ]
49
2018-11-28T09:10:56.000Z
2022-01-12T20:42:11.000Z
src/io/hdf5functions_blosc.cpp
mosaic-group/LibAPR
69097a662bf671d77a548fc47dae2c590675bfac
[ "Apache-2.0" ]
7
2018-12-07T19:30:53.000Z
2020-10-03T14:38:07.000Z
/////////////////////////////////////////// // // ImageGen 2016 // // Bevan Cheeseman 2016 // // Header file with some specific hdf5 functions // ////////////////////////////////////////// #include "hdf5functions_blosc.h" /** * Register the 'blosc' filter with the HDF5 library */ void hdf5_register_blosc(){ ...
35.253846
188
0.638283
[ "geometry", "vector" ]
7a717c07688239195bbc6569826f25a7744359e5
467
cpp
C++
A_problems/translatrion.cpp
tarek99samy/code_forces_problems
a2e6fd1ad762843a4fa1e4a2561299a21ec2bb2e
[ "MIT" ]
null
null
null
A_problems/translatrion.cpp
tarek99samy/code_forces_problems
a2e6fd1ad762843a4fa1e4a2561299a21ec2bb2e
[ "MIT" ]
null
null
null
A_problems/translatrion.cpp
tarek99samy/code_forces_problems
a2e6fd1ad762843a4fa1e4a2561299a21ec2bb2e
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; //#include<windows.h> #include<cstring> #include<string> #include<algorithm> #include<stack> #include<vector> #include<cmath> #include<list> int main() { string s1, s2; cin >> s1 >> s2; if (s1.size() != s2.size()) { cout << "NO\n "; return 0; } int size = s1.size(); f...
13.735294
34
0.554604
[ "vector" ]
7a7477d5d795672c06a3ae12e47c4564079cdf4f
4,008
cc
C++
third_party/blink/renderer/core/frame/csp/media_list_directive.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/frame/csp/media_list_directive.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/frame/csp/media_list_directive.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// 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 "third_party/blink/renderer/core/frame/csp/media_list_directive.h" #include "third_party/blink/renderer/core/frame/csp/content_security_policy.h...
33.123967
88
0.673154
[ "vector" ]
7a822d48316d973a48ca850cb4cf3364885b563e
6,006
cpp
C++
herald-tests-zephyr/src/main.cpp
theheraldproject/herald-for-cpp
571e92f5c3bb363df40dba98b7e88ffe4609cdc2
[ "Apache-2.0" ]
8
2021-04-02T22:39:50.000Z
2022-03-05T21:50:54.000Z
herald-tests-zephyr/src/main.cpp
adamfowleruk/herald-for-cpp
6268834298462caa26bec84c3ab887e624928304
[ "Apache-2.0" ]
49
2021-04-02T10:59:42.000Z
2021-12-30T16:44:46.000Z
herald-tests-zephyr/src/main.cpp
adamfowleruk/herald-for-cpp
6268834298462caa26bec84c3ab887e624928304
[ "Apache-2.0" ]
8
2021-03-31T18:57:49.000Z
2021-09-19T08:53:11.000Z
/* * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr/types.h> #include <stddef.h> #include <string.h> #include <errno.h> #include <sys/printk.h> #include <sys/byteorder.h> #include <zephyr.h> #include <kernel_structs.h> // #include <sys/thread_stack.h> // Cannot be found in NCS v1.6.0 // #include <drivers/g...
34.517241
153
0.686813
[ "vector" ]
7a83dfae8a0d24a58d775b37c89332af9df5bd61
386
cpp
C++
solutions/1370.increasing-decreasing-string.326239841.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/1370.increasing-decreasing-string.326239841.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/1370.increasing-decreasing-string.326239841.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class Solution { public: string sortString(string s) { vector<int> mp(256); string result; for (char c : s) mp[c]++; while (result.size() < s.size()) { for (char i = 'a'; i <= 'z'; i++) if (mp[i]-- > 0) result += i; for (char i = 'z'; i >= 'a'; i--) if (mp...
18.380952
39
0.419689
[ "vector" ]
185237b0d8aace7c786e00cd46ea1fa14698daea
243
hpp
C++
PatternMatch/generic/pattern_match_types.hpp
suiyili/Algorithms
d6ddc8262c5d681ecc78938b6140510793a29d91
[ "MIT" ]
null
null
null
PatternMatch/generic/pattern_match_types.hpp
suiyili/Algorithms
d6ddc8262c5d681ecc78938b6140510793a29d91
[ "MIT" ]
null
null
null
PatternMatch/generic/pattern_match_types.hpp
suiyili/Algorithms
d6ddc8262c5d681ecc78938b6140510793a29d91
[ "MIT" ]
null
null
null
#pragma once #include "generic/resource_manager/resource_manager.hpp" #include <unordered_set> namespace pattern_match{ //pmr::vector and its resource allocator template<typename T> using pmr_hash_set = std::pmr::unordered_set<T>; }
22.090909
56
0.769547
[ "vector" ]
185bb0d589b461e5c655451556e78ab675f43268
4,623
cc
C++
vcs/src/model/ListDevicesResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
vcs/src/model/ListDevicesResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
vcs/src/model/ListDevicesResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
39.512821
92
0.754272
[ "model" ]