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
38846959d5bf379d9561e83129412060a412a297
32,539
cc
C++
lib/packet.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
1
2020-02-13T07:15:58.000Z
2020-02-13T07:15:58.000Z
lib/packet.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
null
null
null
lib/packet.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
4
2021-11-11T21:47:10.000Z
2021-12-03T00:05:15.000Z
// -*- related-file-name: "../include/click/packet.hh" -*- /* * packet.{cc,hh} -- a packet structure. In the Linux kernel, a synonym for * `struct sk_buff' * Eddie Kohler, Robert Morris, Nickolai Zeldovich * * Copyright (c) 1999-2001 Massachusetts Institute of Technology * Copyright (c) 2008-2011 Regents of the U...
32.967579
114
0.664987
[ "object" ]
38876477a64112755d3e96881e0e341dcb316b03
997
cpp
C++
LuckBalance.cpp
sachanakshat/Competitive_Practice
63170d87398bf5bd163febecdcfef8db21c632c7
[ "MIT" ]
null
null
null
LuckBalance.cpp
sachanakshat/Competitive_Practice
63170d87398bf5bd163febecdcfef8db21c632c7
[ "MIT" ]
null
null
null
LuckBalance.cpp
sachanakshat/Competitive_Practice
63170d87398bf5bd163febecdcfef8db21c632c7
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <chrono> #include<bits/stdc++.h> using namespace std; using namespace std::chrono; void print(vector<vector<int>> vect) { for(int i = 0; i< vect.size(); i++) { for(int j = 0; j<vect[0].size(); j++) cout<<vect[i][j]<<" "; ...
22.659091
74
0.503511
[ "vector" ]
388ab4699ab20439452134f3703a6322e930685a
6,321
cpp
C++
pthread/Implementation.cpp
dpocheng/CPP-Sobel-Filter-for-edge-detection
609fb98f010af60ee66a1cbb3f1963602f153634
[ "Apache-2.0" ]
null
null
null
pthread/Implementation.cpp
dpocheng/CPP-Sobel-Filter-for-edge-detection
609fb98f010af60ee66a1cbb3f1963602f153634
[ "Apache-2.0" ]
null
null
null
pthread/Implementation.cpp
dpocheng/CPP-Sobel-Filter-for-edge-detection
609fb98f010af60ee66a1cbb3f1963602f153634
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Pok On Cheng // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
27.012821
156
0.523019
[ "vector" ]
389c2b3fc8e5d98b6db3bb17dc981f1666c973ae
1,603
cpp
C++
C++/BucketSort.cpp
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
215
2021-10-01T08:18:16.000Z
2022-03-29T04:12:03.000Z
C++/BucketSort.cpp
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
175
2021-10-03T10:47:31.000Z
2021-10-20T11:55:32.000Z
C++/BucketSort.cpp
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
807
2021-10-01T08:11:45.000Z
2021-11-21T18:57:09.000Z
/*bucketSort(arr[], n) 1) Create n empty buckets (Or lists). 2) Do following for every array element arr[i]. .......a) Insert arr[i] into bucket[n*array[i]] 3) Sort individual buckets using insertion sort. 4) Concatenate all sorted buckets. */ /*Time Complexity: If we assume that insertion in a bucket takes O(1) time...
26.716667
344
0.635059
[ "vector" ]
389f79a4ef757737bf79955fa7eb78956fc80e6a
102,284
cpp
C++
ptgl/Core/PrimitiveShapeVertex.cpp
tsumehashi/ptgl
00434830fa6fbc7987513d6bdd9c967ca66a70c5
[ "Apache-2.0" ]
1
2019-04-06T11:46:02.000Z
2019-04-06T11:46:02.000Z
ptgl/Core/PrimitiveShapeVertex.cpp
tsumehashi/ptgl
00434830fa6fbc7987513d6bdd9c967ca66a70c5
[ "Apache-2.0" ]
null
null
null
ptgl/Core/PrimitiveShapeVertex.cpp
tsumehashi/ptgl
00434830fa6fbc7987513d6bdd9c967ca66a70c5
[ "Apache-2.0" ]
null
null
null
#include "PrimitiveShapeVertex.h" #include <cmath> namespace ptgl { PrimitiveShapeVertex::PrimitiveShapeVertex() { } PrimitiveShapeVertex::~PrimitiveShapeVertex() { } // Point const VertexList PrimitiveShapeVertex::PointVertices = { {0, 0, 0, 0, 0, 1, 0, 0}, }; const std::vector<GLuint> PrimitiveShapeVertex:...
32.337654
107
0.480192
[ "vector" ]
38b0722f6cc4a6c9d2462e614bf6b733b00b3fed
8,907
cpp
C++
dev/Code/Sandbox/Plugins/CryDesigner/Util/EdgesSharpnessManager.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Sandbox/Plugins/CryDesigner/Util/EdgesSharpnessManager.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Sandbox/Plugins/CryDesigner/Util/EdgesSharpnessManager.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
30.608247
111
0.609521
[ "vector", "model" ]
38b5310a2c3f6f9c359469fe52b1be89cb49c4d1
1,753
hpp
C++
VS_GETServer/AsynchronusGetServer/server.hpp
jjgrayg/Boost-ASIO-Asynchronous-GET-Server
91922224ee225592e512f86f7fcb5a709c99d2fa
[ "BSL-1.0" ]
1
2022-03-18T22:23:08.000Z
2022-03-18T22:23:08.000Z
VS_GETServer/AsynchronusGetServer/server.hpp
jjgrayg/Boost-ASIO-Asynchronous-GET-Server
91922224ee225592e512f86f7fcb5a709c99d2fa
[ "BSL-1.0" ]
null
null
null
VS_GETServer/AsynchronusGetServer/server.hpp
jjgrayg/Boost-ASIO-Asynchronous-GET-Server
91922224ee225592e512f86f7fcb5a709c99d2fa
[ "BSL-1.0" ]
null
null
null
/* A basic asynchronous server that responds to browser get requests. Capable of sending a limited number of binary files and all text files with a properly formatted HTTP response. Author: Jarod Graygo Special thanks to GitHub user beached for his barebones ASIO server His base code may be f...
29.711864
104
0.731318
[ "vector" ]
38b5666e1a6ab3ad6b90c87cb90833183d43917e
6,177
cpp
C++
source/Player_DeepQ.cpp
codabeans/StarCraft-Micro-AI
1988f134ea59beff1c37386759ce54fbbc1357f6
[ "MIT" ]
1
2019-12-25T11:34:25.000Z
2019-12-25T11:34:25.000Z
source/Player_DeepQ.cpp
codabeans/StarCraft-Micro-AI
1988f134ea59beff1c37386759ce54fbbc1357f6
[ "MIT" ]
null
null
null
source/Player_DeepQ.cpp
codabeans/StarCraft-Micro-AI
1988f134ea59beff1c37386759ce54fbbc1357f6
[ "MIT" ]
null
null
null
#include "../include/Player_DeepQ.h" using namespace SparCraft; using namespace caffe; using namespace std; //constructor, sets important private member variables //as well as constructs our caffe network, if it can Player_DeepQ::Player_DeepQ(const IDType & playerID, const DeepQParameters & params) { _playerID = ...
25.953782
147
0.613728
[ "vector", "model" ]
38b9446d088e03e0354d2bb57198e060dd5f34ea
14,223
cpp
C++
src/main.cpp
cs498/mazegenerator
9fb9b816088e7f312d8411689c9f182175a2a45c
[ "MIT" ]
null
null
null
src/main.cpp
cs498/mazegenerator
9fb9b816088e7f312d8411689c9f182175a2a45c
[ "MIT" ]
null
null
null
src/main.cpp
cs498/mazegenerator
9fb9b816088e7f312d8411689c9f182175a2a45c
[ "MIT" ]
null
null
null
#include "breadthfirstsearch.h" #include "circularhexagonmaze.h" #include "circularmaze.h" #include "depthfirstsearch.h" #include "hexagonalmaze.h" #include "honeycombmaze.h" #include "kruskal.h" #include "looperasedrandomwalk.h" #include "prim.h" #include "rectangularmaze.h" #include "usermaze.h" #include <cstring> #i...
37.827128
145
0.440976
[ "vector" ]
38c235fa9bb33d72abfadeb919e0c01f570bea2a
1,872
cpp
C++
modules/aos/scene/PrismaticJoint.cpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/aos/scene/PrismaticJoint.cpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/aos/scene/PrismaticJoint.cpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
#include "PrismaticJoint.h" namespace aos { PrismaticJoint::PrismaticJoint() : KinematicJoint(0.0, 10.0, 0.0, true) { } PrismaticJoint::~PrismaticJoint() { } void PrismaticJoint::set_joint_value(real_t value) { if (value > _joint_max_limit || value < _joint_min_limit) { // Todo - Add notific...
26.742857
111
0.737179
[ "transform" ]
38c36a4a8a811fac373885bddf5a655a6b25ad04
3,507
cpp
C++
laplace-2d/laplace/main.cpp
dglowienka/numerical_models
bfc7ba15737d4066a92c72d9789835e6799086fa
[ "MIT" ]
null
null
null
laplace-2d/laplace/main.cpp
dglowienka/numerical_models
bfc7ba15737d4066a92c72d9789835e6799086fa
[ "MIT" ]
null
null
null
laplace-2d/laplace/main.cpp
dglowienka/numerical_models
bfc7ba15737d4066a92c72d9789835e6799086fa
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include "gaussian_elimination.h" int main(void) { using namespace std; int m, n; double l, r, t, b; vector<double> b_it; vector<vector<double>> A_it; vector<vector<double>> a; ofstream laplace; laplace.open("Laplace.txt"); printf("\tEnter boundary c...
19.269231
58
0.461648
[ "vector" ]
38c85c22e32d2daa274126a76fa3d1890fdd87c5
8,659
cpp
C++
src/server/libaccess/aclpath.cpp
jvirkki/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
13
2015-10-09T05:59:20.000Z
2021-11-12T10:38:51.000Z
src/server/libaccess/aclpath.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
null
null
null
src/server/libaccess/aclpath.cpp
JamesLinus/heliod
efdf2d105e342317bd092bab2d727713da546174
[ "BSD-3-Clause" ]
6
2016-05-23T10:53:29.000Z
2019-12-13T17:57:32.000Z
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * * THE BSD LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribut...
34.7751
137
0.649382
[ "object" ]
38d5cc23f82b782e2bcb3c5a3bef8425a956a1c2
5,211
cpp
C++
src/rws_subscription.cpp
herrvonregen/abb_librws
a34f824b76b7a63b41f53054f1d0588535aa6b39
[ "BSD-3-Clause" ]
null
null
null
src/rws_subscription.cpp
herrvonregen/abb_librws
a34f824b76b7a63b41f53054f1d0588535aa6b39
[ "BSD-3-Clause" ]
5
2021-11-25T09:24:05.000Z
2022-02-21T13:41:14.000Z
src/rws_subscription.cpp
NoMagicAi/abb_librws
bbd22f45ae43d087f64411d3114658445dd73407
[ "BSD-3-Clause" ]
2
2021-03-20T09:30:53.000Z
2022-01-02T13:13:30.000Z
#include <abb_librws/rws_subscription.h> #include <abb_librws/rws_error.h> #include <abb_librws/parsing.h> #include <Poco/Net/HTTPRequest.h> #include <boost/exception/diagnostic_information.hpp> #include <iostream> namespace abb :: rws { using namespace Poco::Net; SubscriptionGroup::SubscriptionGroup(Subscri...
27.282723
129
0.709269
[ "vector" ]
38e0ab150ecf07b71754c109becf1e46273a4719
920
cpp
C++
week2/leetcode1074.cpp
AndyRao/GeekTime_Algorithm
6a8273d577bf8306dc3b44c2693cc2b0a69e8ad6
[ "Apache-2.0" ]
null
null
null
week2/leetcode1074.cpp
AndyRao/GeekTime_Algorithm
6a8273d577bf8306dc3b44c2693cc2b0a69e8ad6
[ "Apache-2.0" ]
null
null
null
week2/leetcode1074.cpp
AndyRao/GeekTime_Algorithm
6a8273d577bf8306dc3b44c2693cc2b0a69e8ad6
[ "Apache-2.0" ]
null
null
null
class Solution { public: int numSubmatrixSumTarget(vector<vector<int>>& matrix, int target) { int count = 0; int m = matrix.size(); int n = matrix[0].size(); for(int i = 0; i < m; i++) { vector<int> sum(n); for(int j = i; j < m; j++) { for(int ...
24.864865
72
0.408696
[ "vector" ]
38e3fe131b480c2553184b7fe8ea98698306cdc3
466
cpp
C++
move/general_move.cpp
Alaya-in-Matrix/Chinese-chess
f8e9963251186e696289a8060a7ead70eb0efe47
[ "WTFPL" ]
2
2019-11-08T10:01:59.000Z
2020-05-21T12:41:10.000Z
move/general_move.cpp
Alaya-in-Matrix/Chinese-chess
f8e9963251186e696289a8060a7ead70eb0efe47
[ "WTFPL" ]
null
null
null
move/general_move.cpp
Alaya-in-Matrix/Chinese-chess
f8e9963251186e696289a8060a7ead70eb0efe47
[ "WTFPL" ]
null
null
null
#include<iostream> #include<vector> #include"../global.h" using namespace std; /****************************声明*********************************/ void General_move(short pos,short Side_tag,vector<mov>& Move_array) { void Save_move(short&,short&,vector<mov>&); short i=0; for(i=0;i<4;i++) { short next=pos+General_di...
17.923077
67
0.572961
[ "vector" ]
38f1802dbdc720acede6fb611e42339b70a2ea29
567
cpp
C++
Dojo/C++ Programming Practices and Principles - Stroustrup/ch4/ex13sieveoferatosthenes.cpp
miguelraz/PathToPerformance
4f098e55023007e62c338d31a7ed2a46a3c99752
[ "MIT" ]
5
2017-05-04T22:25:06.000Z
2022-02-15T13:44:50.000Z
Dojo/C++ Programming Practices and Principles - Stroustrup/ch4/ex13sieveoferatosthenes.cpp
miguelraz/PathToPerformance
4f098e55023007e62c338d31a7ed2a46a3c99752
[ "MIT" ]
null
null
null
Dojo/C++ Programming Practices and Principles - Stroustrup/ch4/ex13sieveoferatosthenes.cpp
miguelraz/PathToPerformance
4f098e55023007e62c338d31a7ed2a46a3c99752
[ "MIT" ]
null
null
null
//Exercise13: Sieve of Eratosthenes int main() { cout << "Gimme the x in 1:x " << endl; int max; cin >> max; vector<int> numbers(max,0); vector<int> primes; for (int i = 0; i < max; ++i) numbers[i] = i; for (int i = 2; i < max; ++i) { if (numbers[i] != 0 && i != 0) { primes.push_back(i); ...
21
74
0.486772
[ "vector" ]
38f3c1be91cb964be56db7bb77412de087413a2f
8,967
cpp
C++
src/v2i-hub/PreemptionPlugin/src/include/PreemptionPluginWorker.cpp
networkmodeling/V2X-Hub
d363f49a4c9af76823a23033b9f7983f2f6ae095
[ "Apache-2.0" ]
null
null
null
src/v2i-hub/PreemptionPlugin/src/include/PreemptionPluginWorker.cpp
networkmodeling/V2X-Hub
d363f49a4c9af76823a23033b9f7983f2f6ae095
[ "Apache-2.0" ]
null
null
null
src/v2i-hub/PreemptionPlugin/src/include/PreemptionPluginWorker.cpp
networkmodeling/V2X-Hub
d363f49a4c9af76823a23033b9f7983f2f6ae095
[ "Apache-2.0" ]
null
null
null
//========================================================================== // Name : PreemptionPlugin.cpp // Author : FHWA Saxton Transportation Operations Laboratory // Version : // Copyright : Copyright (c) 2019 FHWA Saxton Transportation Operations Laboratory. All rights reserved. // Descriptio...
34.621622
186
0.51578
[ "object" ]
38f93571245b52080e614ac526cd7c18e6d8d79b
9,239
cpp
C++
engine/conversion/source/CharacterDumper.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/conversion/source/CharacterDumper.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/conversion/source/CharacterDumper.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include <iomanip> #include <sstream> #include <boost/algorithm/string.hpp> #include <boost/tokenizer.hpp> #include "global_prototypes.hpp" #include "ArtifactDumper.hpp" #include "AttackDumper.hpp" #include "CharacterDumper.hpp" #include "ClassManager.hpp" #include "ColourTextKeys.hpp" #include "ConductsDumper.hpp" #in...
29.14511
232
0.668146
[ "vector" ]
38f97191106b26b71a8a45955573d8cbe54a9404
900
cc
C++
components/ntp_snippets/mock_content_suggestions_provider_observer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/ntp_snippets/mock_content_suggestions_provider_observer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/ntp_snippets/mock_content_suggestions_provider_observer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2016 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/ntp_snippets/mock_content_suggestions_provider_observer.h" namespace ntp_snippets { MockContentSuggestionsProviderObserver:: Mo...
33.333333
79
0.801111
[ "vector" ]
38fc46a91ff5c3561a6d225ccc1458c0ffbe4ba1
2,369
cpp
C++
src/swift2d/materials/HeatSpriteShader.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
src/swift2d/materials/HeatSpriteShader.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
src/swift2d/materials/HeatSpriteShader.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // // This file is part of Swift2D. // // ...
40.152542
80
0.398902
[ "transform" ]
ac024c87823ed6f9f2a43295fac3131d279b9a31
5,545
cpp
C++
qbGradient.cpp
QuantitativeBytes/qbGradient
ca0f9d519f164daf1992deeae3008c76212937ee
[ "MIT" ]
3
2021-11-02T18:39:15.000Z
2021-12-22T10:15:06.000Z
qbGradient.cpp
QuantitativeBytes/qbGradient
ca0f9d519f164daf1992deeae3008c76212937ee
[ "MIT" ]
null
null
null
qbGradient.cpp
QuantitativeBytes/qbGradient
ca0f9d519f164daf1992deeae3008c76212937ee
[ "MIT" ]
1
2021-11-02T18:39:17.000Z
2021-11-02T18:39:17.000Z
/* ************************************************************************ qbGradient class implementation. qbGradient is a simple implementation of the gradient descent method for numerical optimization, intended to demonstrate the principles of the method for educational purposes. The code utilizes f...
30.13587
84
0.728224
[ "object", "vector" ]
f199f139d2d33a2c8bf7317d9f8019f5c66a2203
12,440
cpp
C++
MapReaderV2/UE3/FStaticMesh.cpp
balannarcis96/skylake-tools
e1ff6308d250f81397a85ab6012cc4dc10e06228
[ "MIT" ]
3
2020-05-18T14:37:07.000Z
2020-12-24T08:49:34.000Z
MapReaderV2/UE3/FStaticMesh.cpp
balannarcis96/skylake-tools
e1ff6308d250f81397a85ab6012cc4dc10e06228
[ "MIT" ]
null
null
null
MapReaderV2/UE3/FStaticMesh.cpp
balannarcis96/skylake-tools
e1ff6308d250f81397a85ab6012cc4dc10e06228
[ "MIT" ]
null
null
null
#include "FStaticMesh.h" #include "UObject.h" #include "FLightMap.h" #include "D3D.h" #include <fstream> FVert::FVert() { } FVert::FVert(FIStream * stream) :FReadable(stream) { pVertex = stream->ReadInt32(); iSide = stream->ReadInt32(); shadowTexCoord = FVector2(stream); backfaceShadowTexCoord = FVector2(stream...
22.017699
82
0.674035
[ "render" ]
f19a62364ab1c27590ccf38dbddf14f1268b4cb8
7,596
cpp
C++
src/main.cpp
Gnarwhal/LudumDare44
a09e60a57cd7da22d401651ae4b9fbe3f7389ab0
[ "MIT" ]
null
null
null
src/main.cpp
Gnarwhal/LudumDare44
a09e60a57cd7da22d401651ae4b9fbe3f7389ab0
[ "MIT" ]
null
null
null
src/main.cpp
Gnarwhal/LudumDare44
a09e60a57cd7da22d401651ae4b9fbe3f7389ab0
[ "MIT" ]
null
null
null
/******************************************************************************* * * Copyright (c) 2019 Gnarly Narwhal * * ----------------------------------------------------------------------------- * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
25.575758
104
0.685361
[ "render" ]
f19da41b8de48d83d740741d2528d3183626422c
11,914
cpp
C++
moveit_planners/pilz_industrial_motion_planner/src/velocity_profile_atrap.cpp
FabianSchuetze/moveit2
d1960f3994daff215c4a51de15c96ce618f4d97d
[ "BSD-3-Clause" ]
1,116
2016-07-29T06:39:49.000Z
2022-03-31T08:42:14.000Z
moveit_planners/pilz_industrial_motion_planner/src/velocity_profile_atrap.cpp
FabianSchuetze/moveit2
d1960f3994daff215c4a51de15c96ce618f4d97d
[ "BSD-3-Clause" ]
2,784
2016-07-29T15:19:38.000Z
2022-03-31T01:35:59.000Z
moveit_planners/pilz_industrial_motion_planner/src/velocity_profile_atrap.cpp
FabianSchuetze/moveit2
d1960f3994daff215c4a51de15c96ce618f4d97d
[ "BSD-3-Clause" ]
956
2016-07-30T17:03:44.000Z
2022-03-31T15:48:31.000Z
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2018 Pilz GmbH & Co. KG * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following c...
26.358407
119
0.602988
[ "vector" ]
f1a1d245438a722adb409ef6be0a7b75448e59df
9,454
cxx
C++
Filters/ExtractDataType/vtkExtractPolyData.cxx
ObjectivitySRC/PVGPlugins
5e24150262af751159d719cc810620d1770f2872
[ "BSD-2-Clause" ]
4
2016-01-21T21:45:43.000Z
2021-07-31T19:24:09.000Z
Filters/ExtractDataType/vtkExtractPolyData.cxx
ObjectivitySRC/PVGPlugins
5e24150262af751159d719cc810620d1770f2872
[ "BSD-2-Clause" ]
null
null
null
Filters/ExtractDataType/vtkExtractPolyData.cxx
ObjectivitySRC/PVGPlugins
5e24150262af751159d719cc810620d1770f2872
[ "BSD-2-Clause" ]
6
2015-08-31T06:21:03.000Z
2021-07-31T19:24:10.000Z
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile: vtkExtractPolyData.cxx,v $ By: Matthew Livingstone =========================================================================*/ // Modified By: Matthew Livingstone #include "vtkE...
30.996721
88
0.613074
[ "object" ]
f1a793242117e677d98d5ac55afe2bbdfd69212e
1,149
cpp
C++
woff2_dec.cpp
alimilhim/woff2-wasm
78c679a73d6cb40056896842121297948aaec8b8
[ "MIT" ]
1
2020-02-21T16:34:22.000Z
2020-02-21T16:34:22.000Z
woff2_dec.cpp
alimilhim/woff2-wasm
78c679a73d6cb40056896842121297948aaec8b8
[ "MIT" ]
null
null
null
woff2_dec.cpp
alimilhim/woff2-wasm
78c679a73d6cb40056896842121297948aaec8b8
[ "MIT" ]
null
null
null
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ #include <string> #include "woff2/src/file.h" #include <woff2/decode.h> #include <vector> #include <emscripten.h> #include <emscripten/bind.h> //#inclu...
24.978261
85
0.673629
[ "vector" ]
f1a9cbbfb3c468e1953b4d9fabd5915a033ef025
38,069
cxx
C++
GPU/GPUTracking/Standalone/standalone.cxx
aknospe/AliRoot
96d76b2078d6b757a2843ae4a890a85021241e70
[ "BSD-3-Clause" ]
null
null
null
GPU/GPUTracking/Standalone/standalone.cxx
aknospe/AliRoot
96d76b2078d6b757a2843ae4a890a85021241e70
[ "BSD-3-Clause" ]
null
null
null
GPU/GPUTracking/Standalone/standalone.cxx
aknospe/AliRoot
96d76b2078d6b757a2843ae4a890a85021241e70
[ "BSD-3-Clause" ]
null
null
null
//**************************************************************************\ //* This file is property of and copyright by the ALICE Project *\ //* ALICE Experiment at CERN, All rights reserved. *\ //* *\ //* Prim...
40.030494
346
0.702829
[ "vector", "transform" ]
f1ac324fb2023affe4a487177b999a89135075c2
1,240
cpp
C++
codes/CF/1487/B.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/CF/1487/B.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/CF/1487/B.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <ctime> #include <cmath> #include <cassert> #include <algorithm> #include <vector> #include <string> #include <map> #include <set> #include <sstream> #include <list> #include <queue> #include <stack> //#include <unordered_map> //#inclu...
19.375
51
0.575
[ "vector" ]
f1b28ea179abef4a5ca44d541b5aa721b074b217
15,843
cpp
C++
libNCUI/module/dll/JsTypeMapHandler.cpp
realmark1r8h/tomoyadeng
aceab8fe403070bc12f9d49fdb7add0feb20424d
[ "BSD-2-Clause" ]
24
2018-11-20T14:45:57.000Z
2021-12-30T13:38:42.000Z
libNCUI/module/dll/JsTypeMapHandler.cpp
realmark1r8h/tomoyadeng
aceab8fe403070bc12f9d49fdb7add0feb20424d
[ "BSD-2-Clause" ]
null
null
null
libNCUI/module/dll/JsTypeMapHandler.cpp
realmark1r8h/tomoyadeng
aceab8fe403070bc12f9d49fdb7add0feb20424d
[ "BSD-2-Clause" ]
11
2018-11-29T00:09:14.000Z
2021-11-23T08:13:17.000Z
#include "stdafx.h" #include "module/dll/JsTypeMapHandler.h" #include <windows.h> #include <amo/string.hpp> #include <amo/logger.hpp> #include "module/dll/TypeMapManager.h" #include "module/dll/DllValueHandler.h" namespace amo { template < typename T > void createHandler(CefRefPtr<CefV8Value> object, ...
40.415816
74
0.461339
[ "object" ]
f1b853d707c49fd56301f799aced8881580937bc
6,206
cpp
C++
GDML/GDML/GMLParser.cpp
gopi487krishna/GML
06d8ee9f056af09e4034b2fa0fe11653a70d097c
[ "MIT" ]
1
2020-03-19T04:24:09.000Z
2020-03-19T04:24:09.000Z
GDML/GDML/GMLParser.cpp
gopi487krishna/GML
06d8ee9f056af09e4034b2fa0fe11653a70d097c
[ "MIT" ]
null
null
null
GDML/GDML/GMLParser.cpp
gopi487krishna/GML
06d8ee9f056af09e4034b2fa0fe11653a70d097c
[ "MIT" ]
null
null
null
#include "GDML.h" const std::string& gml::ParsingTools::trim(std::string& tag_text, char trimchar) { auto it = std::remove(tag_text.begin(), tag_text.end(), trimchar); tag_text.erase(it, tag_text.end()); return tag_text; } std::vector<std::string> gml::ParsingTools::splitIntoTokens(const std::string& tag_text, cons...
29.273585
198
0.700129
[ "vector" ]
f1bc8507b9b3e1b6cfff2a9b014dfef776866fd2
1,827
hpp
C++
include/depthai/pipeline/datatype/StereoDepthConfig.hpp
SpectacularAI/depthai-core
7516ca0d179c5f0769ecdab0020ac3a6de09cab9
[ "MIT" ]
null
null
null
include/depthai/pipeline/datatype/StereoDepthConfig.hpp
SpectacularAI/depthai-core
7516ca0d179c5f0769ecdab0020ac3a6de09cab9
[ "MIT" ]
null
null
null
include/depthai/pipeline/datatype/StereoDepthConfig.hpp
SpectacularAI/depthai-core
7516ca0d179c5f0769ecdab0020ac3a6de09cab9
[ "MIT" ]
null
null
null
#pragma once #include <unordered_map> #include <vector> #include "depthai-shared/datatype/RawStereoDepthConfig.hpp" #include "depthai/pipeline/datatype/Buffer.hpp" namespace dai { /** * StereoDepthConfig message. */ class StereoDepthConfig : public Buffer { std::shared_ptr<RawBuffer> serialize() const overrid...
27.268657
118
0.68856
[ "vector" ]
f1be3d4b7b374af763594ae60d8c495a470f04f6
19,859
cpp
C++
RadeonGPUAnalyzerBackend/Src/beUtils.cpp
jeongjoonyoo/AMD_RGA
26c6bfdf83f372eeadb1874420aa2ed55569d50f
[ "MIT" ]
null
null
null
RadeonGPUAnalyzerBackend/Src/beUtils.cpp
jeongjoonyoo/AMD_RGA
26c6bfdf83f372eeadb1874420aa2ed55569d50f
[ "MIT" ]
null
null
null
RadeonGPUAnalyzerBackend/Src/beUtils.cpp
jeongjoonyoo/AMD_RGA
26c6bfdf83f372eeadb1874420aa2ed55569d50f
[ "MIT" ]
null
null
null
//================================================================= // Copyright 2017 Advanced Micro Devices, Inc. All rights reserved. //================================================================= // C++. #include <algorithm> #include <sstream> #include <fstream> #include <iostream> #include <cctype> ...
33.831346
136
0.597412
[ "object", "vector", "transform" ]
f1bfcc6028dc8c54b084b8874faf843daee7e3be
2,445
cpp
C++
main.cpp
lukaszplk/conv_hex_to_dec_and_back
d2a15f77effcdae525aca3840dd42ca776efb7df
[ "MIT" ]
null
null
null
main.cpp
lukaszplk/conv_hex_to_dec_and_back
d2a15f77effcdae525aca3840dd42ca776efb7df
[ "MIT" ]
null
null
null
main.cpp
lukaszplk/conv_hex_to_dec_and_back
d2a15f77effcdae525aca3840dd42ca776efb7df
[ "MIT" ]
null
null
null
#include <string> #include<iostream> #include<vector> #include <algorithm> #include <math.h> using namespace std; int strtoi(string x) { int num = 0; for (int i = 0; i < x.length(); i++) { num = num * 10 + (int(x[i]) - 48); } return num; } string conv(int n, int m) { string num = "";...
29.817073
106
0.428221
[ "vector" ]
f1c8955c0f9d1855d4e9cf4470253161b3321bf4
2,623
cpp
C++
src/boost_python_exception/standard_exception_translator.cpp
abingham/boost_python_exception
7882d5e8df051494498a58c06e046cb52421620b
[ "BSL-1.0" ]
1
2015-03-28T08:28:56.000Z
2015-03-28T08:28:56.000Z
src/boost_python_exception/standard_exception_translator.cpp
abingham/boost_python_exception
7882d5e8df051494498a58c06e046cb52421620b
[ "BSL-1.0" ]
3
2015-01-08T08:10:55.000Z
2015-01-08T10:20:42.000Z
src/boost_python_exception/standard_exception_translator.cpp
abingham/boost_python_exception
7882d5e8df051494498a58c06e046cb52421620b
[ "BSL-1.0" ]
2
2018-11-13T07:42:31.000Z
2020-03-10T22:43:31.000Z
#include <boost_python_exception/standard_exception_translator.hpp> #include <sstream> #include <boost/python/extract.hpp> #include <boost/assign/list_of.hpp> #include <boost/foreach.hpp> #include <boost_python_exception/exceptions.hpp> #include <boost_python_exception/python_compat.hpp> #include <boost_python_excep...
33.628205
116
0.704156
[ "object" ]
f1d3fcf1f0d57a1cdc202b51dc9b5dbe920f16a7
1,071
hpp
C++
src/topfd/common/topfd_process.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
8
2018-05-23T14:37:31.000Z
2022-02-04T23:48:38.000Z
src/topfd/common/topfd_process.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
9
2019-08-31T08:17:45.000Z
2022-02-11T20:58:06.000Z
src/topfd/common/topfd_process.hpp
toppic-suite/toppic-suite
b5f0851f437dde053ddc646f45f9f592c16503ec
[ "Apache-2.0" ]
4
2018-04-25T01:39:38.000Z
2020-05-20T19:25:07.000Z
//Copyright (c) 2014 - 2020, The Trustees of Indiana University. // //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 a...
27.461538
74
0.734827
[ "vector" ]
f1d5f302161b7e083e2968340de5b65336f768a8
3,580
cpp
C++
src/prelude.cpp
mpetri/ans-large-alphabet
416c7e794a3f6ffa4db4d327b4ac2f3c229e99ff
[ "Apache-2.0" ]
null
null
null
src/prelude.cpp
mpetri/ans-large-alphabet
416c7e794a3f6ffa4db4d327b4ac2f3c229e99ff
[ "Apache-2.0" ]
null
null
null
src/prelude.cpp
mpetri/ans-large-alphabet
416c7e794a3f6ffa4db4d327b4ac2f3c229e99ff
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
32.252252
74
0.623743
[ "vector" ]
f1d66dff5c0604dab89dd84f2ad1a740e3b74f42
5,469
cpp
C++
source/DrawArea.cpp
X-141/JpDrawApplication
365bd934bf907465f9dcd0d331c8f0ebb350c2c3
[ "MIT" ]
1
2021-06-08T00:01:17.000Z
2021-06-08T00:01:17.000Z
source/DrawArea.cpp
X-141/JpDrawApplication
365bd934bf907465f9dcd0d331c8f0ebb350c2c3
[ "MIT" ]
null
null
null
source/DrawArea.cpp
X-141/JpDrawApplication
365bd934bf907465f9dcd0d331c8f0ebb350c2c3
[ "MIT" ]
null
null
null
#include "DrawArea.hpp" #include <QPainter> #include <QMouseEvent> #include <QPixmap> #include <QDir> #include <QVector> #include <QRegularExpression> #include "ImageProcessMethods.hpp" #include "opencv2/imgproc.hpp" #include "Log.hpp" std::string resourcePath = "../resource/"; DrawArea::DrawArea(QWidget* parent)...
29.722826
99
0.659353
[ "object", "vector" ]
f1d88caa3b81a0aa9be33b6645a8efb206141884
7,706
hpp
C++
ad_map_access/impl/include/ad/map/lane/BorderOperation.hpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
null
null
null
ad_map_access/impl/include/ad/map/lane/BorderOperation.hpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
null
null
null
ad_map_access/impl/include/ad/map/lane/BorderOperation.hpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
null
null
null
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (C) 2018-2020 Intel Corporation // // SPDX-License-Identifier: MIT // // ----------------- END LICENSE BLOCK ----------------------------------- #pragma once #include "ad/map/lane/Types.hpp" #include "ad/map/point/ECEFOperation...
44.287356
120
0.748897
[ "vector" ]
f1da6a17933a50cff2d41a6ca0e62a6e5fae16ed
3,356
cpp
C++
example/main.cpp
pqrs-org/cpp-osx-iokit_hid_device
8a96acd1944303cb264dd8f73c0f0c1484ce46b2
[ "BSL-1.0" ]
null
null
null
example/main.cpp
pqrs-org/cpp-osx-iokit_hid_device
8a96acd1944303cb264dd8f73c0f0c1484ce46b2
[ "BSL-1.0" ]
null
null
null
example/main.cpp
pqrs-org/cpp-osx-iokit_hid_device
8a96acd1944303cb264dd8f73c0f0c1484ce46b2
[ "BSL-1.0" ]
null
null
null
#include <IOKit/hid/IOHIDElement.h> #include <IOKit/hid/IOHIDUsageTables.h> #include <csignal> #include <pqrs/osx/iokit_hid_device.hpp> #include <pqrs/osx/iokit_hid_manager.hpp> namespace { auto global_wait = pqrs::make_thread_wait(); } int main(void) { std::signal(SIGINT, [](int) { global_wait->notify(); });...
35.702128
110
0.592074
[ "vector" ]
f1e7bbfc3c05d50a11929640481213fae20d1958
5,609
cxx
C++
panda/src/tinydisplay/tinyGraphicsBuffer.cxx
kestred/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
3
2018-03-09T12:07:29.000Z
2021-02-25T06:50:25.000Z
panda/src/tinydisplay/tinyGraphicsBuffer.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
panda/src/tinydisplay/tinyGraphicsBuffer.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
// Filename: tinyGraphicsBuffer.cxx // Created by: drose (08Aug08) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. Yo...
32.235632
86
0.543769
[ "3d" ]
f1e9abbfab1b10b3bb4453f664bbbe41089575d6
998
cpp
C++
plugins/renderer/directx11/src/DirectX11/util/directx11pixelshader.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
5
2018-05-16T14:09:34.000Z
2019-10-24T19:01:15.000Z
plugins/renderer/directx11/src/DirectX11/util/directx11pixelshader.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
71
2017-06-20T06:41:42.000Z
2021-01-11T11:18:53.000Z
plugins/renderer/directx11/src/DirectX11/util/directx11pixelshader.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
2
2018-05-16T13:57:25.000Z
2018-05-16T13:57:51.000Z
#include "../directx11lib.h" #include "directx11pixelshader.h" #include "../directx11rendercontext.h" namespace Engine { namespace Render { DirectX11PixelShader::DirectX11PixelShader(ID3DBlob *pShaderBlob) { sDevice->CreatePixelShader(pShaderBlob->GetBufferPointer(), pShaderBlob->GetBufferSize(), nu...
22.177778
117
0.647295
[ "render" ]
f1eb59edbba9f0de34320b726947a8ac8652c586
6,374
cpp
C++
tests/main.cpp
adeobootpin/light-tensor
dfc2d19495848e773b7367427cf848e4ac30b29d
[ "MIT" ]
null
null
null
tests/main.cpp
adeobootpin/light-tensor
dfc2d19495848e773b7367427cf848e4ac30b29d
[ "MIT" ]
null
null
null
tests/main.cpp
adeobootpin/light-tensor
dfc2d19495848e773b7367427cf848e4ac30b29d
[ "MIT" ]
null
null
null
#include "tensor.h" #include "tests.h" int main(int argc, char* argv[]) { int ret; int total_tests; int total_tests_passed; bool run_on_gpu = false; const char* MNIST_training_images; const char* MNIST_training_labels; const char* MNIST_test_images; const char* MNIST_test_labels; total_tests = ...
18.52907
146
0.635708
[ "model" ]
f1f9a2b7a215f07e00d353a1d4319629dae18fbe
1,484
cc
C++
tests/titan/externalFunctionsC.cc
gusgonnet/minimalistThermostat
6ee1e3a5434340ba8a5e2684cb40607d763482cc
[ "MIT" ]
7
2016-03-28T19:18:39.000Z
2017-05-15T07:32:38.000Z
tests/titan/externalFunctionsC.cc
gusgonnet/minimalistThermostat
6ee1e3a5434340ba8a5e2684cb40607d763482cc
[ "MIT" ]
null
null
null
tests/titan/externalFunctionsC.cc
gusgonnet/minimalistThermostat
6ee1e3a5434340ba8a5e2684cb40607d763482cc
[ "MIT" ]
7
2016-04-29T01:19:39.000Z
2019-12-16T15:00:35.000Z
#include <iostream> #include <fstream> #include <sstream> #include "TTCN3.hh" #include <time.h> #include <unistd.h> #include <vector> namespace externalFunctions { using namespace std; string executeOnShell(const string& command); string streamRead(FILE* stream); string executeOnShell(const string& comman...
27.481481
95
0.681267
[ "vector" ]
f1fa719b410cc4ea430d3b26cc5b7ab4008418cc
3,734
cpp
C++
src/LoggingBase.cpp
ess-dmsc/graylog-logger
56cadc4a91fb4d31b3c6f6e4b62f38350c408a35
[ "BSD-2-Clause" ]
10
2018-01-10T08:18:16.000Z
2022-02-01T10:33:00.000Z
src/LoggingBase.cpp
ess-dmsc/graylog-logger
56cadc4a91fb4d31b3c6f6e4b62f38350c408a35
[ "BSD-2-Clause" ]
21
2017-03-24T18:56:57.000Z
2022-01-20T07:35:58.000Z
src/LoggingBase.cpp
ess-dmsc/graylog-logger
56cadc4a91fb4d31b3c6f6e4b62f38350c408a35
[ "BSD-2-Clause" ]
2
2017-03-23T15:57:18.000Z
2020-04-07T10:12:09.000Z
/* Copyright (C) 2018 European Spallation Source, ERIC. See LICENSE file */ //===----------------------------------------------------------------------===// /// /// \file /// /// \brief Implementation of the base logging class. /// //===----------------------------------------------------------------------===// #inclu...
26.295775
80
0.617836
[ "vector" ]
7b01a8492930a1f9b5758dcc7edc8ba20f4fc81c
8,102
cpp
C++
lib/smurff-cpp/SmurffCpp/Utils/Distribution.cpp
msteijaert/smurff
e6066d51e1640e9aad0118628ba72c9d662919fb
[ "MIT" ]
null
null
null
lib/smurff-cpp/SmurffCpp/Utils/Distribution.cpp
msteijaert/smurff
e6066d51e1640e9aad0118628ba72c9d662919fb
[ "MIT" ]
null
null
null
lib/smurff-cpp/SmurffCpp/Utils/Distribution.cpp
msteijaert/smurff
e6066d51e1640e9aad0118628ba72c9d662919fb
[ "MIT" ]
null
null
null
// From: // http://stackoverflow.com/questions/6142576/sample-from-multivariate-normal-gaussian-distribution-in-c #include <iostream> #include <chrono> #include <functional> #include "ThreadVector.hpp" #include "omp_util.h" #ifdef USE_BOOST_RANDOM #include <boost/random.hpp> #define MERSENNE_TWISTER boost::rando...
25.884984
223
0.611331
[ "shape", "vector" ]
7b05e0a46fd8e4c17e6b98d2127e37c09f6505e4
6,632
cpp
C++
src/master/worker.cpp
abudnik/prun
643a6bf49249e220f08317b8a4739570faf7b2ae
[ "Apache-2.0" ]
20
2015-05-14T19:44:01.000Z
2018-04-14T15:25:08.000Z
src/master/worker.cpp
abudnik/prun
643a6bf49249e220f08317b8a4739570faf7b2ae
[ "Apache-2.0" ]
11
2015-04-15T19:51:06.000Z
2017-01-03T14:57:49.000Z
src/master/worker.cpp
abudnik/prun
643a6bf49249e220f08317b8a4739570faf7b2ae
[ "Apache-2.0" ]
7
2015-05-08T12:44:38.000Z
2021-12-10T18:00:01.000Z
/* =========================================================================== This software is licensed under the Apache 2 license, quoted below. Copyright (C) 2013 Andrey Budnik <budnik27@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with ...
21.121019
80
0.539505
[ "vector" ]
7b07ac766c8e40b8a8b0ca08dec89948783aec50
1,043
cpp
C++
DistinctPowers.cpp
AlirezaKamyab/ProjectEuler
7237d2813ec2fe851c77960e41cd2e8e1520bf9f
[ "MIT" ]
null
null
null
DistinctPowers.cpp
AlirezaKamyab/ProjectEuler
7237d2813ec2fe851c77960e41cd2e8e1520bf9f
[ "MIT" ]
null
null
null
DistinctPowers.cpp
AlirezaKamyab/ProjectEuler
7237d2813ec2fe851c77960e41cd2e8e1520bf9f
[ "MIT" ]
1
2020-12-28T16:49:06.000Z
2020-12-28T16:49:06.000Z
//Created on: Dec 21, 2020 by Alireza #include<iostream> #include<vector> #include<set> #include<cmath> using namespace std; bool isPrime(int number); vector<int> PrimeDivisions(int number, int power); int main(int argc, char ** argv){ set<vector<int>> answers; for(int i = 2; i <= 100; ++i){ for(int j = 2; j <= 1...
19.314815
68
0.596357
[ "vector" ]
7b0c19989e7528fd79c474e2fb12589b6dba298c
5,555
cpp
C++
test/container_test.cpp
cjgdev/jemallocator
5512eb10c4ab8a268cfd6d992bddd6199be41779
[ "MIT" ]
1
2015-11-06T03:27:05.000Z
2015-11-06T03:27:05.000Z
test/container_test.cpp
cjgdev/jemallocator
5512eb10c4ab8a268cfd6d992bddd6199be41779
[ "MIT" ]
null
null
null
test/container_test.cpp
cjgdev/jemallocator
5512eb10c4ab8a268cfd6d992bddd6199be41779
[ "MIT" ]
null
null
null
/* * Copyright (C) 2015 Christopher Gilbert <christopher.john.gilbert@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 limitation the r...
30.355191
124
0.719532
[ "vector" ]
7b0cc432f391dad2d4a357455457362015763468
7,526
cc
C++
paddle/fluid/operators/strided_slice_op.cc
jhjiangcs/Paddle
fcf53e55ff22c54175efdb32ac367c6e04f19900
[ "Apache-2.0" ]
3
2019-07-17T09:30:31.000Z
2021-12-27T03:16:55.000Z
paddle/fluid/operators/strided_slice_op.cc
cryoco/Paddle
39ac41f137d685af66078adf2f35d65473978b4a
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/strided_slice_op.cc
cryoco/Paddle
39ac41f137d685af66078adf2f35d65473978b4a
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2019 PaddlePaddle Authors. 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 by applicable law or...
38.397959
80
0.671273
[ "shape", "vector" ]
7b11c0d5f8079531740db5b29aa96e443871a411
3,356
cc
C++
tensorflow/compiler/xla/service/xla_debug_info_manager.cc
mcx/tensorflow
d7e521a1ad21681855b439b9c2a05837c804e488
[ "Apache-2.0" ]
1
2022-03-18T17:36:11.000Z
2022-03-18T17:36:11.000Z
tensorflow/compiler/xla/service/xla_debug_info_manager.cc
mcx/tensorflow
d7e521a1ad21681855b439b9c2a05837c804e488
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/service/xla_debug_info_manager.cc
mcx/tensorflow
d7e521a1ad21681855b439b9c2a05837c804e488
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 The TensorFlow Authors. 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 by applicable law or a...
34.244898
80
0.699344
[ "object", "vector" ]
7b260d63f8ac23ffd4a3cce3011ff1aa2c4bf59a
4,800
cpp
C++
src/OpenGLUtils.cpp
QuanHBui/OpenGL-Compute
db746c78e60b36ea41261e7d2325a9df1d60ea44
[ "MIT" ]
null
null
null
src/OpenGLUtils.cpp
QuanHBui/OpenGL-Compute
db746c78e60b36ea41261e7d2325a9df1d60ea44
[ "MIT" ]
null
null
null
src/OpenGLUtils.cpp
QuanHBui/OpenGL-Compute
db746c78e60b36ea41261e7d2325a9df1d60ea44
[ "MIT" ]
null
null
null
#include "OpenGLUtils.h" #include <cstdio> #include <fstream> #include <iostream> namespace oglutils { std::string readFileAsString(const std::string &fileName) { std::string result; std::ifstream fileHandle(fileName); if (fileHandle.is_open()) { fileHandle.seekg(0, std::ios::end); result.reserve((size_t)fil...
37.209302
120
0.719375
[ "geometry" ]
7b2eaa8f9ddd993d5874f1736516e9f6d9e2ea1c
2,260
cpp
C++
187.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
187.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
187.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <string> #include <unordered_set> #include <vector> #include <algorithm> #include <climits> #include <stack> #include <sstream> #include <numeric> #include <unordered_map> #include <array> using namespace std; class Solution { public: const int len = 10; vector...
16.028369
64
0.495133
[ "vector" ]
7b3351b4b2fa6738c84fa0c38d3953835f1c2cab
10,264
cc
C++
src/SOE.cc
grayvalley/soe
ac484973b0ce8890310cc17764dd27a7e1e18507
[ "Apache-2.0" ]
null
null
null
src/SOE.cc
grayvalley/soe
ac484973b0ce8890310cc17764dd27a7e1e18507
[ "Apache-2.0" ]
null
null
null
src/SOE.cc
grayvalley/soe
ac484973b0ce8890310cc17764dd27a7e1e18507
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 Juha-Samuli Hellén * * 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 agr...
31.975078
88
0.59509
[ "object" ]
7b36e974dd6a000cacab821bba4856cab38f7a0b
1,377
cpp
C++
seek-test.cpp
LaurentBerger/libseek
d26a1ed76770c8e5ef2116b41a52300da6d9dac7
[ "MIT" ]
68
2015-01-13T21:43:28.000Z
2021-05-31T13:28:42.000Z
seek-test.cpp
kkalya/seek
84e726c1e7955ae5bd7a5fa69988db417824b047
[ "MIT" ]
10
2015-11-20T11:22:26.000Z
2020-11-19T06:33:43.000Z
seek-test.cpp
kkalya/seek
84e726c1e7955ae5bd7a5fa69988db417824b047
[ "MIT" ]
29
2015-03-13T04:37:20.000Z
2020-07-14T15:50:05.000Z
#include <thread> #include <chrono> #include <fstream> #include <sstream> #include <vector> #include "seek.hpp" using namespace std; using namespace LibSeek; inline void sleep(float secs) { chrono::milliseconds dura(int(1000*secs)); this_thread::sleep_for(dura); } int main() { setbuf(stdout, NULL); Imager iface...
17.43038
65
0.545389
[ "vector" ]
7b3a62e14e800f3f0db7a4b3b9e6b26d2fc9ae8d
2,160
cpp
C++
Cthulhu/src/TypeRegistryLocal.cpp
Yunusbcr/labgraph
a00ae7098b7b0e0eda8ce2e7e62dae86854616fb
[ "MIT" ]
124
2021-07-14T21:25:59.000Z
2022-03-08T20:40:16.000Z
Cthulhu/src/TypeRegistryLocal.cpp
VanEdward/labgraph
9488feac59f9ef86091befdeaddb69d84e4d6fb3
[ "MIT" ]
46
2021-07-16T18:41:11.000Z
2022-03-31T20:53:00.000Z
Cthulhu/src/TypeRegistryLocal.cpp
VanEdward/labgraph
9488feac59f9ef86091befdeaddb69d84e4d6fb3
[ "MIT" ]
22
2021-07-16T18:34:56.000Z
2022-03-31T15:12:06.000Z
// Copyright 2004-present Facebook. All Rights Reserved. #include "TypeRegistryLocal.h" #define DEFAULT_LOG_CHANNEL "Cthulhu" #include <logging/Log.h> namespace cthulhu { TypeInfoInterfacePtr TypeRegistryLocal::findSampleType(const std::type_index& sampleType) const { auto it = sampleTypeMap_.find(sampleType); ...
30.422535
100
0.710185
[ "vector" ]
7b3b032c285ec2450813b1b2329425e71b3aa905
711
cpp
C++
leetcode_archived_cpp/LeetCode_72.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
null
null
null
leetcode_archived_cpp/LeetCode_72.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
7
2021-03-19T04:41:21.000Z
2021-10-19T15:46:36.000Z
leetcode_archived_cpp/LeetCode_72.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
null
null
null
class Solution { public: int minDistance(string word1, string word2) { vector<vector<int>> dp(word1.size()+1, vector<int>(word2.size()+1, 0)); for (int i = 0;i <= word1.size(); i++) dp[i][0] = i; for (int j = 0;j <= word2.size(); j++) dp[0][j] = j; ...
29.625
79
0.376934
[ "vector" ]
7b4070199c78378d3bfaf8a4bcd6f435e3a707cb
106
cpp
C++
samples/tests/src/ownheaderbeforestandardgood.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
4
2018-06-15T12:54:10.000Z
2020-09-22T16:01:35.000Z
samples/tests/src/ownheaderbeforestandardgood.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
null
null
null
samples/tests/src/ownheaderbeforestandardgood.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
null
null
null
#include "test.h" #include "otherHeader.h" #include <vector> //This works fine int main() { return 0; }
13.25
24
0.669811
[ "vector" ]
0da81a567eb1a9e59a0c12b6f523f7f7b5b33ef3
15,418
cc
C++
cpp/src/arrow/flight/transport.cc
davisusanibar/arrow
07ac9fd86c6225f493943e4ab0ff35b0fdbfb2ae
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
1
2021-12-14T06:44:19.000Z
2021-12-14T06:44:19.000Z
cpp/src/arrow/flight/transport.cc
davisusanibar/arrow
07ac9fd86c6225f493943e4ab0ff35b0fdbfb2ae
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
2
2021-11-17T14:36:51.000Z
2022-01-23T16:49:53.000Z
cpp/src/arrow/flight/transport.cc
davisusanibar/arrow
07ac9fd86c6225f493943e4ab0ff35b0fdbfb2ae
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
43.067039
90
0.680568
[ "vector" ]
0daba9f4117a5205216f13ea572acde76e2c8021
4,568
hpp
C++
crogine/include/crogine/graphics/Image.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
41
2017-08-29T12:14:36.000Z
2022-02-04T23:49:48.000Z
crogine/include/crogine/graphics/Image.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
11
2017-09-02T15:32:45.000Z
2021-12-27T13:34:56.000Z
crogine/include/crogine/graphics/Image.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
5
2020-01-25T17:51:45.000Z
2022-03-01T05:20:30.000Z
/*----------------------------------------------------------------------- Matt Marchant 2017 - 2020 http://trederia.blogspot.com crogine - Zlib license. This software is provided 'as-is', without any express or implied warranty.In no event will the authors be held liable for any damages arising from the use of this ...
34.606061
124
0.648205
[ "vector" ]
0db7fc3d7cb2f18eb1da5ebd2ecbfaab417c309b
2,413
cpp
C++
nfc-i2c-tool.cpp
linkineo/ntag-nfc-i2c-tool
6a1d6e830839a50313f8658121fc67085a405322
[ "MIT" ]
3
2019-07-26T17:54:34.000Z
2021-10-16T18:30:46.000Z
nfc-i2c-tool.cpp
linkineo/ntag-nfc-i2c-tool
6a1d6e830839a50313f8658121fc67085a405322
[ "MIT" ]
null
null
null
nfc-i2c-tool.cpp
linkineo/ntag-nfc-i2c-tool
6a1d6e830839a50313f8658121fc67085a405322
[ "MIT" ]
null
null
null
#include "i2c-dev.h" #include <iostream> #include <string> #include <fcntl.h> #include <unistd.h> #include <bitset> #include <vector> const uint8_t page_size_bytes = 16; void read_nfc(int fd,uint8_t page) { uint8_t values[16]; uint8_t res = i2c_smbus_read_i2c_block_data(fd, page, page_size_bytes, &values[0]); ...
23.891089
131
0.556569
[ "vector" ]
0dbd34cdcc3b3c7eb09064bc0ead763d2ac3e1b8
6,145
cpp
C++
src/ekf.cpp
nobunoby/EKF
610ac2ca1958173c771e1150992cea1e5d5d9da4
[ "MIT" ]
null
null
null
src/ekf.cpp
nobunoby/EKF
610ac2ca1958173c771e1150992cea1e5d5d9da4
[ "MIT" ]
null
null
null
src/ekf.cpp
nobunoby/EKF
610ac2ca1958173c771e1150992cea1e5d5d9da4
[ "MIT" ]
null
null
null
#include <algorithm> #include <math.h> #include <random> #include "ekf.hpp" #include "matplotlibcpp.h" namespace plt = matplotlibcpp; namespace prediction { void plot(Eigen::Vector4d truth, Eigen::Vector4d pred, Eigen::Vector4d obs) { // plot planned path static std::vector<double> truth_x(1), truth_y(1); tr...
27.070485
94
0.572335
[ "vector" ]
0dd998e8c2b56b7f2bf36d0ba0874afd3f2c054c
37,962
cpp
C++
engine.cpp
vkvd/polyedit
07eb56571bb6b53a5f87b5ac1480b7454622d37e
[ "MIT" ]
21
2016-10-13T21:49:03.000Z
2021-08-07T21:56:31.000Z
engine.cpp
vkvd/polyedit
07eb56571bb6b53a5f87b5ac1480b7454622d37e
[ "MIT" ]
1
2018-08-01T06:37:10.000Z
2018-08-02T14:03:02.000Z
engine.cpp
vkvd/polyedit
07eb56571bb6b53a5f87b5ac1480b7454622d37e
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "engine.h" #include "poly.h" #include "tinyfiledialogs.h" #include "json/json.h" #include <iomanip> #include "imgui/imgui.h" #include "imgui/imconfig.h" #include "imgui-backends/SFML/imgui-events-SFML.h" #include "imgui-backends/SFML/imgui-rendering-SFML.h" #include "imgui/imguico...
31.582363
365
0.606211
[ "render", "vector" ]
0ddf79d5133bc416b13632f9a3a190ecb61820cc
1,729
cpp
C++
robot_control/src/tools/src/reference_client.cpp
SjoerdKoop/vicon_control
26d10318999ae686d76eca2c63a0f2f1e7ad4191
[ "BSD-3-Clause" ]
2
2019-03-14T14:19:40.000Z
2019-10-24T10:33:50.000Z
robot_control/src/tools/src/reference_client.cpp
SjoerdKoop/vicon_control
26d10318999ae686d76eca2c63a0f2f1e7ad4191
[ "BSD-3-Clause" ]
null
null
null
robot_control/src/tools/src/reference_client.cpp
SjoerdKoop/vicon_control
26d10318999ae686d76eca2c63a0f2f1e7ad4191
[ "BSD-3-Clause" ]
2
2018-10-08T09:16:34.000Z
2020-01-10T07:25:24.000Z
// Components #include "peer.h" // Peer // System #include <cstdlib> // EXIT_*, std::exit #include <iostream> // std::cout, std::endl #include <signal.h> // sigaction #include <string> // std::stoi // Tools #include "tools.h" // isValidIP, isValidPort // Checks whether provided arguments are correct bool...
20.104651
114
0.637363
[ "vector" ]
0de16b59c9d1890ea7a7437f05aff43464510eae
9,681
cpp
C++
gazebo_ros_soft_hand/test/adaptive_synergy_transmission_loader_test.cpp
hamalMarino/pisa-iit-soft-hand
004145301bb71b82cca4d08ffb27b77cce36b7ea
[ "BSD-3-Clause" ]
14
2017-01-23T15:14:18.000Z
2021-12-16T14:41:22.000Z
gazebo_ros_soft_hand/test/adaptive_synergy_transmission_loader_test.cpp
CentroEPiaggio/pisa-iit-soft-hand
174eebc6e9e33c886cab7995f749830a436de3e8
[ "BSD-3-Clause" ]
17
2015-02-04T11:08:24.000Z
2020-05-14T16:33:09.000Z
gazebo_ros_soft_hand/test/adaptive_synergy_transmission_loader_test.cpp
hamalMarino/pisa-iit-soft-hand
004145301bb71b82cca4d08ffb27b77cce36b7ea
[ "BSD-3-Clause" ]
19
2015-03-25T03:12:30.000Z
2021-02-04T09:46:47.000Z
/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2013, PAL Robotics S.L. // Copyright (c) 2014, Research Center "E. Piaggio" // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are ...
39.353659
126
0.722033
[ "vector" ]
0deaaca09c00cc879f692ee53a17a97e6b752458
26,547
hpp
C++
vpp/algorithms/line_tracker_4_sfm/sfm/structure_from_motion.hpp
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
624
2015-01-05T16:40:41.000Z
2022-03-01T03:09:43.000Z
vpp/algorithms/line_tracker_4_sfm/sfm/structure_from_motion.hpp
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
10
2015-01-22T20:50:13.000Z
2018-05-15T10:41:34.000Z
vpp/algorithms/line_tracker_4_sfm/sfm/structure_from_motion.hpp
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
113
2015-01-19T11:58:35.000Z
2022-03-28T05:15:20.000Z
#include "structure_from_motion.hh" namespace vpp { //from http://www.mip.informatik.uni-kiel.de/tiki-index.php?page=Lilian+Zhang void pose_estimation_from_line_correspondence(Eigen::MatrixXf start_points, Eigen::MatrixXf end_points, ...
35.538153
133
0.489472
[ "vector", "model", "3d" ]
0ded7225cc371075cb36df62a3fd533b52a8e5f5
2,827
cpp
C++
test/unit/math/mix/meta/return_type_test.cpp
HaoZeke/math
fdf7f70dceed60f3b3f93137c6ac123a457b80a3
[ "BSD-3-Clause" ]
1
2020-05-18T13:10:50.000Z
2020-05-18T13:10:50.000Z
test/unit/math/mix/meta/return_type_test.cpp
HaoZeke/math
fdf7f70dceed60f3b3f93137c6ac123a457b80a3
[ "BSD-3-Clause" ]
2
2019-07-23T12:45:30.000Z
2020-05-01T20:43:03.000Z
test/unit/math/mix/meta/return_type_test.cpp
SteveBronder/math
3f21445458866897842878f65941c6bcb90641c2
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/mix.hpp> #include <gtest/gtest.h> #include <test/unit/util.hpp> #include <complex> #include <vector> using stan::return_type; using stan::math::fvar; using stan::math::var; using d_t = double; using v_t = var; using fd_t = fvar<double>; using ffd_t = fvar<fd_t>; using fv_t = fvar<var>; using ffv_t ...
31.764045
77
0.65122
[ "vector" ]
0df4719c37fe278955b6b2eafb261d947a0f6f5a
7,971
cpp
C++
Funambol/source/common/base/util/EncodingHelper.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
Funambol/source/common/base/util/EncodingHelper.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
Funambol/source/common/base/util/EncodingHelper.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
/* * Funambol is a mobile platform developed by Funambol, Inc. * Copyright (C) 2003 - 2007 Funambol, Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by * the Free Software Foundation with the addit...
32.271255
111
0.596036
[ "object", "transform" ]
df02fa32675347c7d9e9b09019ee84592f48b915
842
hpp
C++
include/class/brush.hpp
KusStar/-
8a7117e5d7b4f0dc9a4d34e12076f301f8bb37ec
[ "MIT" ]
null
null
null
include/class/brush.hpp
KusStar/-
8a7117e5d7b4f0dc9a4d34e12076f301f8bb37ec
[ "MIT" ]
null
null
null
include/class/brush.hpp
KusStar/-
8a7117e5d7b4f0dc9a4d34e12076f301f8bb37ec
[ "MIT" ]
null
null
null
#pragma once #ifndef __BRUSH_H__ #define __BRUSH_H__ #include <string> #include <vector> #include "escaper.hpp" class Brush { public: Brush() = default; ~Brush() { clear(); } void draw() { std::cout << oss_.str(); } void flush() { std::cout << escaper::erase::lines(lines()); clear(...
16.192308
52
0.495249
[ "vector" ]
df0882283d8acb542316ea1818d4589ebf699f1e
4,754
cpp
C++
webkit/WebCore/platform/graphics/haiku/ImageHaiku.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/platform/graphics/haiku/ImageHaiku.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/platform/graphics/haiku/ImageHaiku.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2006 Dirk Mueller <mueller@kde.org> * Copyright (C) 2006 Zack Rusin <zack@kde.org> * Copyright (C) 2006 Simon Hausmann <hausmann@kde.org> * Copyright (C) 2007 Ryan Leavengood <leavengood@gmail.com> * Copyright (C) 2008 Andrea Anzani <andrea.anzani@gmail.com> * * All rights reserved. * * Redi...
31.071895
210
0.705301
[ "vector" ]
df0ca4af2eb7879524ed9d6ebdbc9334ed7229ad
24,528
cpp
C++
src/other/ext/openscenegraph/src/osgDB/ClassInterface.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/other/ext/openscenegraph/src/osgDB/ClassInterface.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/other/ext/openscenegraph/src/osgDB/ClassInterface.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2013 Robert Osfield * * 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 * included with this...
37.677419
242
0.660144
[ "object", "vector" ]
df0e48f56584c5ad2aba8f1459b590a3c7c44901
10,888
cpp
C++
src/gtest/utils.cpp
lanamineh/qsl
7e339d2345297709ef817d78ae3a52a33b1c8614
[ "Apache-2.0" ]
null
null
null
src/gtest/utils.cpp
lanamineh/qsl
7e339d2345297709ef817d78ae3a52a33b1c8614
[ "Apache-2.0" ]
null
null
null
src/gtest/utils.cpp
lanamineh/qsl
7e339d2345297709ef817d78ae3a52a33b1c8614
[ "Apache-2.0" ]
null
null
null
/* * Authors: Lana Mineh and John Scott * Copyright 2021 Phasecraft Ltd. and John Scott * * 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/LI...
27.704835
84
0.660176
[ "vector" ]
df15ab4489ed5f9e1c49fb30fe52f8493512507f
17,509
hpp
C++
src/mlpack/methods/cf/cf_impl.hpp
haritha1313/mlpack
3b7bbf0f14172cdb00fd16cbf12918b07c888b96
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/methods/cf/cf_impl.hpp
haritha1313/mlpack
3b7bbf0f14172cdb00fd16cbf12918b07c888b96
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/methods/cf/cf_impl.hpp
haritha1313/mlpack
3b7bbf0f14172cdb00fd16cbf12918b07c888b96
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @file cf_impl.hpp * @author Mudit Raj Gupta * @author Sumedh Ghaisas * * Collaborative Filtering. * * Implementation of CF class to perform Collaborative Filtering on the * specified data set. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD li...
38.736726
80
0.676452
[ "object", "vector", "model" ]
b30da183c33863e1e9310912377d4f07c843f3ed
153
cpp
C++
ComputingTheLongestCommonPrefixArray/ComputingTheLongestCommonPrefixArray/CPPAppendix.cpp
TomoGudelj/Computing-the-longest-common-prefix
6fd891f8c51ffa1057a1394d404d6ee9a7c50c0c
[ "MIT" ]
null
null
null
ComputingTheLongestCommonPrefixArray/ComputingTheLongestCommonPrefixArray/CPPAppendix.cpp
TomoGudelj/Computing-the-longest-common-prefix
6fd891f8c51ffa1057a1394d404d6ee9a7c50c0c
[ "MIT" ]
null
null
null
ComputingTheLongestCommonPrefixArray/ComputingTheLongestCommonPrefixArray/CPPAppendix.cpp
TomoGudelj/Computing-the-longest-common-prefix
6fd891f8c51ffa1057a1394d404d6ee9a7c50c0c
[ "MIT" ]
null
null
null
#include "CPPAppendix.h" //template<typename T> int IndexOf(std::vector<T> &vec, T el) //{ // return find(vec.begin(), vec.end(), el) - vec.begin(); //}
25.5
61
0.627451
[ "vector" ]
b30e31765f18b51fa71206e8f4edcbd0c759f33e
17,642
hpp
C++
include/PSkelMap.hpp
lapesd/PSkel-MPPA-Async
b508a114d7e8ece2214337c568fb15738c5077b1
[ "BSD-3-Clause" ]
null
null
null
include/PSkelMap.hpp
lapesd/PSkel-MPPA-Async
b508a114d7e8ece2214337c568fb15738c5077b1
[ "BSD-3-Clause" ]
null
null
null
include/PSkelMap.hpp
lapesd/PSkel-MPPA-Async
b508a114d7e8ece2214337c568fb15738c5077b1
[ "BSD-3-Clause" ]
null
null
null
//------------------------------------------------------------------------------- // Copyright (c) 2015, Alyson D. Pereira <alyson.deives@outlook.com>, // Rodrigo C. O. Rocha <rcor.cs@gmail.com> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are...
33.349716
145
0.659846
[ "3d" ]
b310d2a537e02e3b3650a5f28d3bb6d3c252921b
440
cpp
C++
cpp/alg_accumulate.cpp
PhilipDaniels/learn
cbacb52fd472b5c90b6c3890bb912cd3020905fc
[ "MIT" ]
null
null
null
cpp/alg_accumulate.cpp
PhilipDaniels/learn
cbacb52fd472b5c90b6c3890bb912cd3020905fc
[ "MIT" ]
null
null
null
cpp/alg_accumulate.cpp
PhilipDaniels/learn
cbacb52fd472b5c90b6c3890bb912cd3020905fc
[ "MIT" ]
null
null
null
#include <functional> #include <iostream> #include <numeric> #include <vector> using namespace std; int main(int argc, char *argv[]) { vector<int> src { 1, 2, 100, 200, 300 }; int sum = accumulate(src.begin(), src.end(), 0); cout << "sum = " << sum << "\n"; int product = accumulate(src.begin(), src.e...
22
52
0.538636
[ "vector" ]
b311c46521558e2d14c951a9542f5475f98ad361
945
cpp
C++
LeetCode/C++/1008.cpp
maalolankannan1/HacktoberFest2021-1
c23136d5aaabd198f5af60ad1b990a4788a40d51
[ "Apache-2.0" ]
11
2021-10-01T06:53:31.000Z
2022-02-05T20:36:20.000Z
LeetCode/C++/1008.cpp
maalolankannan1/HacktoberFest2021-1
c23136d5aaabd198f5af60ad1b990a4788a40d51
[ "Apache-2.0" ]
37
2021-10-01T06:54:01.000Z
2021-10-20T18:02:31.000Z
LeetCode/C++/1008.cpp
maalolankannan1/HacktoberFest2021-1
c23136d5aaabd198f5af60ad1b990a4788a40d51
[ "Apache-2.0" ]
110
2021-10-01T06:51:28.000Z
2021-10-31T18:00:55.000Z
/** * 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...
21.477273
93
0.511111
[ "vector" ]
b31213562c97ce2974cc450e33ba0af715fd4e12
2,542
cpp
C++
solutions/LeetCode/C++/676.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
solutions/LeetCode/C++/676.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
solutions/LeetCode/C++/676.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 4 ms submission class MagicDictionary { public: /** Initialize your data structure here. */ MagicDictionary() { } /** Build a dictionary through a list of words */ void buildDict(vector<str...
28.244444
119
0.543666
[ "object", "vector" ]
b3267ffddda58e08d4d794c33dba51d6efe12a5e
696
cpp
C++
Aizu/SumOfIntegers2.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
Aizu/SumOfIntegers2.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
Aizu/SumOfIntegers2.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <iostream> #include <vector> #include <stdio.h> #include <string.h> using namespace std; int N, S, ans, dp[100][100][100]; void rec(int base, int x, int used) { if(x == S && used == N) { if(!dp[base][x][used]) { dp[base][x][used] = 1; ans += 1; } ret...
19.333333
37
0.416667
[ "vector" ]
b32bd044bc2d8afa67365debfe2e620c224bae5c
16,222
cxx
C++
Widgets/vtkKWEPaintbrushShapeBox.cxx
wuzhuobin/vtkEdge
ed13af68a72cec79e3645f7e842d6074592abfa2
[ "BSD-3-Clause" ]
1
2021-01-09T16:06:14.000Z
2021-01-09T16:06:14.000Z
Widgets/vtkKWEPaintbrushShapeBox.cxx
wuzhuobin/vtkEdge
ed13af68a72cec79e3645f7e842d6074592abfa2
[ "BSD-3-Clause" ]
null
null
null
Widgets/vtkKWEPaintbrushShapeBox.cxx
wuzhuobin/vtkEdge
ed13af68a72cec79e3645f7e842d6074592abfa2
[ "BSD-3-Clause" ]
null
null
null
//============================================================================= // This file is part of VTKEdge. See vtkedge.org for more information. // // Copyright (c) 2010 Kitware, Inc. // // VTKEdge may be used under the terms of the BSD License // Please see the file Copyright.txt in the root directory of...
31.136276
144
0.515904
[ "shape", "vector" ]
b32e835b745f527d49f339234116579f146a51db
1,921
cpp
C++
Slicer/Slicing/BoundaryDetection.cpp
twang15/BarrierFinder
c20ff99ffeeeabc1508682bc99ffb4c7659e7e9f
[ "MIT" ]
null
null
null
Slicer/Slicing/BoundaryDetection.cpp
twang15/BarrierFinder
c20ff99ffeeeabc1508682bc99ffb4c7659e7e9f
[ "MIT" ]
null
null
null
Slicer/Slicing/BoundaryDetection.cpp
twang15/BarrierFinder
c20ff99ffeeeabc1508682bc99ffb4c7659e7e9f
[ "MIT" ]
null
null
null
#include "BoundaryDetection.h" void initializeSCCAuxInfo(const std::vector<BasicBlock*>& scc, AuxiliaryMap& auxiliaryMap) { for (std::vector<BasicBlock*>::const_iterator I = scc.begin(), E = scc.end(); I != E; ++I) { BasicBlock *bb = *I; //Create bb to auxInfo mapping entry. AuxiliaryInfo auxInfo...
27.84058
98
0.622592
[ "vector" ]
b330d6d6d1e3b724a0db55bcf9fc1a8b2078252d
867
hpp
C++
src/json_operations/json_operations.hpp
Wolfiwolf/blockchain_node
b1108f11a155fdd766f7fb6f10ed8dd0a1428fce
[ "MIT" ]
null
null
null
src/json_operations/json_operations.hpp
Wolfiwolf/blockchain_node
b1108f11a155fdd766f7fb6f10ed8dd0a1428fce
[ "MIT" ]
null
null
null
src/json_operations/json_operations.hpp
Wolfiwolf/blockchain_node
b1108f11a155fdd766f7fb6f10ed8dd0a1428fce
[ "MIT" ]
null
null
null
#ifndef JSON_OPERATIONS_H #define JSON_OPERATIONS_H #include <string> #include "../models/models.h" namespace BlockchainNode { class JsonOperations { public: static int get_int_value(const std::string& json_str, const std::string& key); static unsigned long int get_unsigned_long_int_value(cons...
34.68
114
0.727797
[ "vector" ]
b33969ff852ddc528c66b31d1edaf5cc1fa3462d
2,235
hpp
C++
include/grafos/io.hpp
KROSF/EDNL
601fcd765e9acd2974ca73e4c63ac381f36bbe51
[ "MIT" ]
null
null
null
include/grafos/io.hpp
KROSF/EDNL
601fcd765e9acd2974ca73e4c63ac381f36bbe51
[ "MIT" ]
14
2019-03-16T17:47:16.000Z
2019-06-12T14:48:14.000Z
include/grafos/io.hpp
KROSF/EDNL
601fcd765e9acd2974ca73e4c63ac381f36bbe51
[ "MIT" ]
1
2019-03-16T17:45:08.000Z
2019-03-16T17:45:08.000Z
#ifndef GRAFOS_IO_HPP #define GRAFOS_IO_HPP #include <ostream> #include <vector> #include "grafos/lista.hpp" #include "grafos/matriz.hpp" #include "grafos/pmc.hpp" namespace grafos { namespace pmc { template <typename T> std::ostream& operator<<(std::ostream& os, const vector<T>& v) { for (size_t i = 0; i < v.size()...
27.592593
72
0.517226
[ "vector" ]
b33ddde97a9f2e0f6497eae376eec581493c3ceb
1,039
cpp
C++
Hackerrank/10 Days of Statistics/Day 0 - Mean Median Mode .cpp
JanaSabuj/cpmaster
d943780c7ca4badbefbce2d300848343c4032650
[ "MIT" ]
1
2020-11-29T08:36:38.000Z
2020-11-29T08:36:38.000Z
Hackerrank/10 Days of Statistics/Day 0 - Mean Median Mode .cpp
Sahu49/CompetitiveProgramming
adf11a546f81878ad2975926219af84deb3414e8
[ "MIT" ]
null
null
null
Hackerrank/10 Days of Statistics/Day 0 - Mean Median Mode .cpp
Sahu49/CompetitiveProgramming
adf11a546f81878ad2975926219af84deb3414e8
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <map> #include <iomanip> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n; cin>>n; vector<int> vec(n); int total = 0; for(in...
18.553571
77
0.503369
[ "vector" ]
b34252b9fe70b7a108f2523bf2d7fe3b4cc5ff66
7,946
cc
C++
DetectorDescription/Core/src/DDPartSelection.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
DetectorDescription/Core/src/DDPartSelection.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
DetectorDescription/Core/src/DDPartSelection.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "DetectorDescription/Core/interface/Singleton.h" #include "DetectorDescription/Core/interface/DDLogicalPart.h" #include "DetectorDescription/Core/interface/DDName.h" #include "DetectorDescription/Core/interface/DDPartSelection.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "boost/spirit/...
28.789855
151
0.602819
[ "vector" ]
b34961681fe678903263f2ad0dfd4d4cd10ed4ec
2,260
cpp
C++
src/deserialization.cpp
Xaenalt/model_server
f977dbf1246ebf85e960ca058e814deac7c6a16c
[ "Apache-2.0" ]
234
2020-04-24T22:09:49.000Z
2022-03-30T10:40:04.000Z
src/deserialization.cpp
Xaenalt/model_server
f977dbf1246ebf85e960ca058e814deac7c6a16c
[ "Apache-2.0" ]
199
2020-04-29T08:43:21.000Z
2022-03-29T09:05:52.000Z
src/deserialization.cpp
Xaenalt/model_server
f977dbf1246ebf85e960ca058e814deac7c6a16c
[ "Apache-2.0" ]
80
2020-04-29T14:54:41.000Z
2022-03-30T14:50:29.000Z
//***************************************************************************** // Copyright 2021 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.ap...
42.641509
148
0.655752
[ "shape" ]
b35047d52c263b08bc3233d1728e832d29b0bb26
6,940
cc
C++
src/evaluator.cc
CN-TU/remy
0c0887322b0cbf6e3497e3aeb95c979907f03623
[ "Apache-2.0" ]
6
2020-03-19T04:16:02.000Z
2022-03-30T15:41:39.000Z
src/evaluator.cc
CN-TU/remy
0c0887322b0cbf6e3497e3aeb95c979907f03623
[ "Apache-2.0" ]
1
2020-05-20T12:05:49.000Z
2021-11-14T13:39:23.000Z
src/evaluator.cc
CN-TU/remy
0c0887322b0cbf6e3497e3aeb95c979907f03623
[ "Apache-2.0" ]
null
null
null
#include <fcntl.h> #include "configrange.hh" #include "evaluator.hh" #include "network.cc" #include "rat-templates.cc" #include "fish-templates.cc" template <typename T> Evaluator< T >::Evaluator( const ConfigRange & range ) : _prng_seed( global_PRNG()() ), /* freeze the PRNG seed for the life of this Evaluator */ ...
33.68932
232
0.6817
[ "vector" ]
b356fa1af39fe0280607d80fad6ac30e17724134
438
cpp
C++
solutions/c++/problems/[1833_Medium] Maximum Ice Cream Bars.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
6
2021-02-20T14:00:22.000Z
2022-03-31T15:26:44.000Z
solutions/c++/problems/[1833_Medium] Maximum Ice Cream Bars.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
null
null
null
solutions/c++/problems/[1833_Medium] Maximum Ice Cream Bars.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
null
null
null
class Solution { public: int maxIceCream(vector<int> &costs, int coins) { int n = costs.size(); sort(costs.begin(), costs.end()); int count = 0; for (int i = 0; i < n; i++) { int curr = costs[i]; if (coins >= curr) { coins -= curr; ...
24.333333
52
0.39726
[ "vector" ]
b3599a09716c38f104f45523c58cadd96fca5dd8
1,647
cpp
C++
platforms/codeforces/all/codeforces_1323_A.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
2
2020-09-17T09:04:00.000Z
2020-11-20T19:43:18.000Z
platforms/codeforces/all/codeforces_1323_A.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
platforms/codeforces/all/codeforces_1323_A.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
#include <iostream> #include <cassert> #include <limits> #include <cmath> #include <algorithm> #include <vector> #include <unordered_map> #include <unordered_set> #include <string> #include <array> #include <map> #include <set> #include <deque> #include <list> #include <sstream> #include <iomanip> #include <numeric> #i...
23.197183
83
0.471767
[ "vector" ]
b3636bf7e7eb82ea7a5600352e5cf5a35a4b6bfd
853
cpp
C++
source/459.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
2
2017-02-28T11:39:13.000Z
2019-12-07T17:23:20.000Z
source/459.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
source/459.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
// // 459.cpp // LeetCode // // Created by Narikbi on 10.03.17. // Copyright © 2017 app.leetcode.kz. All rights reserved. // #include <stdio.h> #include <iostream> #include <vector> #include <string> #include <algorithm> #include <deque> #include <queue> #include <set> #include <map> #include <stack> #include <cma...
18.543478
58
0.526377
[ "vector" ]
b364d6634a78570e5d2ff1e05472924312b8245e
4,167
cpp
C++
mapnikvt/src/mapnikvt/GeneratorUtils.cpp
farfromrefug/mobile-carto-libs
c7e81a7c73661aa047de9ba7e8bbdf3a24bbf1df
[ "BSD-3-Clause" ]
6
2018-06-27T17:43:35.000Z
2021-06-29T18:50:49.000Z
mapnikvt/src/mapnikvt/GeneratorUtils.cpp
farfromrefug/mobile-carto-libs
c7e81a7c73661aa047de9ba7e8bbdf3a24bbf1df
[ "BSD-3-Clause" ]
22
2019-04-10T06:38:09.000Z
2022-01-20T08:12:02.000Z
mapnikvt/src/mapnikvt/GeneratorUtils.cpp
farfromrefug/mobile-carto-libs
c7e81a7c73661aa047de9ba7e8bbdf3a24bbf1df
[ "BSD-3-Clause" ]
5
2019-03-12T10:25:20.000Z
2021-12-28T10:18:56.000Z
#include "GeneratorUtils.h" #include "ValueGenerator.h" #include "ExpressionGenerator.h" #include "TransformGenerator.h" #include "ParseTables.h" #include "ColorGenerator.h" #include <iomanip> #include <sstream> #include <utility> #include <boost/algorithm/string.hpp> namespace carto { namespace mvt { std::strin...
40.456311
165
0.644828
[ "vector", "transform" ]
b365d3dc5e93b91273e30d34c05041c65bb91596
6,125
cc
C++
src/MainWindow.cc
gajus123/Genetic-Cars
f399ebcf0952465e91d8711e08f0c38e6c18bb92
[ "MIT" ]
null
null
null
src/MainWindow.cc
gajus123/Genetic-Cars
f399ebcf0952465e91d8711e08f0c38e6c18bb92
[ "MIT" ]
1
2018-10-25T21:04:03.000Z
2018-10-25T21:06:35.000Z
src/MainWindow.cc
gajus123/Genetic-Cars
f399ebcf0952465e91d8711e08f0c38e6c18bb92
[ "MIT" ]
1
2018-11-28T13:39:05.000Z
2018-11-28T13:39:05.000Z
/*! * @authors Jakub Gajownik, Rafał Galczak * @date 14.12.17 * */ #include <MainWindow.h> #include <physics/objects/GroundGenerator.h> #include <ui/ui_MainWindow.h> MainWindow::MainWindow(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags), simulation_(), simulation_view_(simulatio...
40.562914
149
0.718857
[ "vector" ]
b37a36771ae72af98ab051fcd9fa65b7dc444f62
1,169
cpp
C++
CleaningShift/CleaningShift.cpp
biyue111/POJ
7b45d737015b22c6b3a5eaa539bcc157a78010fc
[ "MIT" ]
null
null
null
CleaningShift/CleaningShift.cpp
biyue111/POJ
7b45d737015b22c6b3a5eaa539bcc157a78010fc
[ "MIT" ]
null
null
null
CleaningShift/CleaningShift.cpp
biyue111/POJ
7b45d737015b22c6b3a5eaa539bcc157a78010fc
[ "MIT" ]
null
null
null
//Date : 2016-1-19 // #include <cstdio> #include <algorithm> #include <vector> using namespace std; bool compare(const pair<int,int> a,const pair<int,int> b) { return a.first < b.first; } int main() { vector< pair<int,int> > teams; int N,T,tmpb,tmpe,endtime,num,begintime,flag; scanf("%d%d",&N,&T);...
21.648148
74
0.523524
[ "vector" ]
b38148d6229dd1eb3becef8a23429aafec15fcab
1,761
hpp
C++
1.48/tuning/object.hpp
spirick/tuninglib
c390d7abc74847be0ebd9d08905151d72347ab82
[ "MIT" ]
3
2021-12-01T18:31:31.000Z
2021-12-06T02:15:00.000Z
1.48/tuning/object.hpp
spirick/tuninglib
c390d7abc74847be0ebd9d08905151d72347ab82
[ "MIT" ]
null
null
null
1.48/tuning/object.hpp
spirick/tuninglib
c390d7abc74847be0ebd9d08905151d72347ab82
[ "MIT" ]
null
null
null
// Spirick Tuning // // A C++ class and template library // for performance critical applications. // Copyright (C) 1996-2021 Dietmar Deimling. // All rights reserved. // Internet www.spirick.com // E-Mail info@spirick.com // // Version 1.48 // File tuning/object.hpp #ifndef TUNING_OBJECT_HPP #define TUNING_OBJEC...
29.35
87
0.467916
[ "object" ]
b383084d8af799200cdbf005c069333f707a0db0
6,536
hpp
C++
src/axom/primal/operators/closest_point.hpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
src/axom/primal/operators/closest_point.hpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
src/axom/primal/operators/closest_point.hpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017-2020, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) /*! * \file * * \brief Consists of a set of methods that compute the closest point on a * geometric primitive B fr...
25.631373
80
0.493727
[ "geometry", "vector" ]
b39166c7d90fd981c39d4bdef09588ce5071b759
766
hpp
C++
lib/native/stopword.hpp
nurcahyaari/Vector-Space-Model-using-Cosine-Similarity
7841347cacf9466b6f9173c82dde97d71cffb82d
[ "MIT" ]
2
2020-04-22T06:00:28.000Z
2020-04-22T19:17:56.000Z
lib/native/stopword.hpp
nurcahyaari/Vector-Space-Model-using-Cosine-Similarity
7841347cacf9466b6f9173c82dde97d71cffb82d
[ "MIT" ]
1
2021-05-11T11:22:18.000Z
2021-05-11T11:22:18.000Z
lib/native/stopword.hpp
nurcahyaari/Vector-Space-Model-using-Cosine-Similarity
7841347cacf9466b6f9173c82dde97d71cffb82d
[ "MIT" ]
null
null
null
#include<iostream> #include<iterator> #include<vector> #include<fstream> #include<string.h> using namespace std; class Stopword { private: vector<string> text; void readFileFromDb(); public: Stopword(vector<string> text); string SearchText(); }; Stopword::Stopword(vect...
20.157895
46
0.571802
[ "vector" ]
b3964a3e053806e4a318d17a407363882ff3f338
2,121
cpp
C++
cod_solucaoInicial.cpp
BrunoBertozzi/tcc-2021
d1a1837d28f7507598e96818ade50671a1050efc
[ "MIT" ]
null
null
null
cod_solucaoInicial.cpp
BrunoBertozzi/tcc-2021
d1a1837d28f7507598e96818ade50671a1050efc
[ "MIT" ]
null
null
null
cod_solucaoInicial.cpp
BrunoBertozzi/tcc-2021
d1a1837d28f7507598e96818ade50671a1050efc
[ "MIT" ]
null
null
null
/*************************************************************** * Nome: Bruno Oswaldo Bertozzi Oliveira * File name: main.cpp * Data 17/02/2021 * ***************************************************************/ #include <iostream> #include <vector> #include <iostream> #include<fstream> #include <algo...
29.873239
122
0.542197
[ "vector" ]
b39bcbec05d02e4d9c9b8c293aea840eb5f4c54b
3,697
cpp
C++
src/mapnik_js_datasource.cpp
calvinmetcalf/node-mapnik
3d26f2089dee3cfc901965f6646d50004a0e0e56
[ "BSD-3-Clause" ]
null
null
null
src/mapnik_js_datasource.cpp
calvinmetcalf/node-mapnik
3d26f2089dee3cfc901965f6646d50004a0e0e56
[ "BSD-3-Clause" ]
null
null
null
src/mapnik_js_datasource.cpp
calvinmetcalf/node-mapnik
3d26f2089dee3cfc901965f6646d50004a0e0e56
[ "BSD-3-Clause" ]
null
null
null
/* #include <mapnik/datasource_cache.hpp> #include "mapnik_js_datasource.hpp" #include "utils.hpp" #include "mem_datasource.hpp" Persistent<FunctionTemplate> JSDatasource::constructor; void JSDatasource::Initialize(Handle<Object> target) { HandleScope scope; constructor = Persistent<FunctionTemplate>::New(...
29.576
153
0.60211
[ "object" ]
b39e7bd94200ee5d4b66faa8c5ad784df0bad79e
1,795
cpp
C++
UVA/Map/417_WordIndex.cpp
shiva92/Contests
720bb3699f774a6ea1f99e888e0cd784e63130c8
[ "Apache-2.0" ]
null
null
null
UVA/Map/417_WordIndex.cpp
shiva92/Contests
720bb3699f774a6ea1f99e888e0cd784e63130c8
[ "Apache-2.0" ]
null
null
null
UVA/Map/417_WordIndex.cpp
shiva92/Contests
720bb3699f774a6ea1f99e888e0cd784e63130c8
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cstdlib> #include <cstring> #include <vector> #include <algorithm> #include <queue> #include <stack> #include <deque> #include <sstream> #include <set> #include <climits> #include <cstdio> #include <string> #include <map> #include <unordered_map> using namespace std; int al...
22.4375
151
0.491365
[ "vector" ]
b39ff81e79a5728fac616bc21e1c31c7e9ef088d
5,867
cpp
C++
X4ConverterTools/src/model/Part.cpp
dsedivec/X4Converter
1713f2efa266bba29bc395567e58b933060bb923
[ "MIT" ]
5
2019-08-03T19:59:39.000Z
2022-01-29T23:50:55.000Z
X4ConverterTools/src/model/Part.cpp
dsedivec/X4Converter
1713f2efa266bba29bc395567e58b933060bb923
[ "MIT" ]
2
2019-12-06T20:19:29.000Z
2021-05-05T07:07:05.000Z
X4ConverterTools/src/model/Part.cpp
dsedivec/X4Converter
1713f2efa266bba29bc395567e58b933060bb923
[ "MIT" ]
2
2021-12-11T12:27:07.000Z
2021-12-14T04:14:19.000Z
#include "X4ConverterTools/model/Part.h" #include <string> #include <iostream> #include <X4ConverterTools/model/CollisionLod.h> #include <X4ConverterTools/model/VisualLod.h> #include <regex> namespace model { Part::Part(std::shared_ptr<ConversionContext> ctx) : AbstractElement(ctx) { hasRef = false; ...
35.77439
112
0.534686
[ "object", "vector", "model" ]
b3a22e8fc392e22afed418657cda23b5a482e195
139
hpp
C++
addons/ammunition/ammo/762x39.hpp
Theseus-Aegis/GTArmory
771c33044c87625b1b19896fab9aad0fa5a7f21c
[ "MIT" ]
2
2020-02-11T08:08:00.000Z
2020-11-06T13:51:29.000Z
addons/ammunition/ammo/762x39.hpp
Theseus-Aegis/GTArmory
771c33044c87625b1b19896fab9aad0fa5a7f21c
[ "MIT" ]
13
2020-02-10T19:04:32.000Z
2021-05-25T14:38:30.000Z
addons/ammunition/ammo/762x39.hpp
Theseus-Aegis/GTArmory
771c33044c87625b1b19896fab9aad0fa5a7f21c
[ "MIT" ]
1
2021-04-24T20:40:31.000Z
2021-04-24T20:40:31.000Z
class CLASS(762x39_BP): B_762x39_Ball_F { hit = 14; caliber = 2.1; model = "\A3\Weapons_f\Data\bullettracer\tracer_yellow"; };
23.166667
60
0.669065
[ "model" ]