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
026f2fd789a41f9561e612149e980d6e7dc664e6
956
cpp
C++
sturm_mex.cpp
jonathanventura/polynomial
ab737843199ed48881da6dcf5dc05d34903af059
[ "Unlicense" ]
16
2017-04-28T11:46:50.000Z
2021-10-01T11:41:00.000Z
sturm_mex.cpp
jonathanventura/polynomial
ab737843199ed48881da6dcf5dc05d34903af059
[ "Unlicense" ]
1
2018-08-14T00:31:47.000Z
2018-08-14T00:31:47.000Z
sturm_mex.cpp
jonathanventura/polynomial
ab737843199ed48881da6dcf5dc05d34903af059
[ "Unlicense" ]
11
2016-02-27T11:37:01.000Z
2022-02-08T05:58:18.000Z
#include "mex.h" #include "Polynomial/Polynomial.hpp" void mexFunction( int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] ) { if ( nlhs != 1 || nrhs != 3 ) { mexErrMsgTxt("usage: roots = sturm_mex(coeffs,lb,ub)"); } int m = mxGetM(prhs[0]); int n = mxGetN(prhs[0]); if ( m != 1 ...
32.965517
81
0.600418
[ "vector" ]
0276204410e0f8a0c525821060e02c03cece8927
7,029
hpp
C++
src/tools/rest-backend/model_user.hpp
mirunix/libelektra
a808874567b2c0c823f7619fa72078d89802bca1
[ "BSD-3-Clause" ]
null
null
null
src/tools/rest-backend/model_user.hpp
mirunix/libelektra
a808874567b2c0c823f7619fa72078d89802bca1
[ "BSD-3-Clause" ]
1
2019-06-25T11:54:12.000Z
2019-06-25T11:54:12.000Z
src/tools/rest-backend/model_user.hpp
mirunix/libelektra
a808874567b2c0c823f7619fa72078d89802bca1
[ "BSD-3-Clause" ]
1
2021-07-06T18:09:20.000Z
2021-07-06T18:09:20.000Z
/** * @file * * @brief model for user * * @copyright BSD License (see LICENSE.md or https://www.libelektra.org) */ #ifndef ELEKTRA_REST_MODEL_USER_HPP #define ELEKTRA_REST_MODEL_USER_HPP #include <map> #include <string> #include <utility> #include <boost/algorithm/string/compare.hpp> #include <boost/algorithm/...
21.429878
122
0.650021
[ "object", "model" ]
0277bb2839a6cb0f3b985fd63010f770d8dbf7f5
3,126
cpp
C++
toonz/sources/stdfx/solarizefx.cpp
ss23/opentoonz
b42e43d4b8d9fedc26022d145218b9a147a30985
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/stdfx/solarizefx.cpp
ss23/opentoonz
b42e43d4b8d9fedc26022d145218b9a147a30985
[ "BSD-3-Clause" ]
null
null
null
toonz/sources/stdfx/solarizefx.cpp
ss23/opentoonz
b42e43d4b8d9fedc26022d145218b9a147a30985
[ "BSD-3-Clause" ]
1
2019-10-07T17:12:30.000Z
2019-10-07T17:12:30.000Z
#include "texception.h" #include "tfxparam.h" #include "stdfx.h" namespace { template <typename T, typename PIXEL> void prepare_lut(double max, int edge, std::vector<T> &lut) { double aux = (double)PIXEL::maxChannelValue; int i = 0; for (i = 0; i <= edge; i++) { lut[i] = (int)((max / edge) * i); } for (i = e...
23.503759
80
0.631478
[ "vector" ]
027d29a779a2c2969627ff87aa213fc9bedf4253
704
hpp
C++
src/render/types.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
2
2020-10-27T00:16:18.000Z
2021-03-29T12:59:48.000Z
src/render/types.hpp
JacobDomagala/DEngine
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
58
2020-08-23T21:38:21.000Z
2021-08-05T16:12:31.000Z
src/render/types.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
null
null
null
#pragma once #include <array> #include <string> #include <glm/glm.hpp> namespace shady::render { enum class TextureType { DIFFUSE_MAP = 0, SPECULAR_MAP = 1, NORMAL_MAP = 2, CUBE_MAP = 3 }; struct UniformBufferObject { glm::mat4 proj = {}; glm::mat4 view = {}; glm::mat4 light...
16.761905
50
0.617898
[ "render", "model" ]
028354f3dea8a7dee2d0c7c044468cab9c77dbc3
211
cc
C++
src/function.cc
shangjiaxuan/Kagami
6e6013b1ad2ebdf4b67162929fd2cd19c61635e3
[ "BSD-2-Clause" ]
null
null
null
src/function.cc
shangjiaxuan/Kagami
6e6013b1ad2ebdf4b67162929fd2cd19c61635e3
[ "BSD-2-Clause" ]
null
null
null
src/function.cc
shangjiaxuan/Kagami
6e6013b1ad2ebdf4b67162929fd2cd19c61635e3
[ "BSD-2-Clause" ]
null
null
null
#include "function.h" namespace kagami { Message MakeInvokePoint(string id, string type_id) { vector<string> arg = { id,type_id }; return Message(kCodeInterface, util::CombineStringVector(arg)); } }
26.375
67
0.71564
[ "vector" ]
0288a06be30288de64fdfc26c52d429ccb398c38
2,580
cpp
C++
cvc3/src/theory_simulate/simulate_theorem_producer.cpp
kencheung/js-symbolic-executor
18266513cc9bc885434890c8612aa26f0e2eab8b
[ "Apache-2.0" ]
5
2015-10-11T08:32:50.000Z
2019-02-01T22:59:18.000Z
cvc3/src/theory_simulate/simulate_theorem_producer.cpp
kencheung/js-symbolic-executor
18266513cc9bc885434890c8612aa26f0e2eab8b
[ "Apache-2.0" ]
null
null
null
cvc3/src/theory_simulate/simulate_theorem_producer.cpp
kencheung/js-symbolic-executor
18266513cc9bc885434890c8612aa26f0e2eab8b
[ "Apache-2.0" ]
null
null
null
/*****************************************************************************/ /*! *\file simulate_theorem_producer.cpp *\brief Trusted implementation of the proof rules for symbolic simulator * * Author: Sergey Berezin * * Created: Tue Oct 7 10:55:24 2003 * * <hr> * * License to use, copy, modify, sell and...
30
79
0.551163
[ "vector" ]
028922be1eb1f97bbd49da07c3c873957943fc12
15,514
cc
C++
xdelta-3.0.11/xdelta3/examples/checksum_test.cc
initbithq/xdelta-async
0ce2fb019675d37a0997c2dde423a4114413eddb
[ "Apache-2.0" ]
1
2019-08-07T06:13:15.000Z
2019-08-07T06:13:15.000Z
depends/xdelta/3.0.6/examples/checksum_test.cc
ProtocolONE/cord.game-downloader
90950019937cd2974801ca2f53ed3b4ecd1d219b
[ "Apache-2.0" ]
null
null
null
depends/xdelta/3.0.6/examples/checksum_test.cc
ProtocolONE/cord.game-downloader
90950019937cd2974801ca2f53ed3b4ecd1d219b
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2007 Josh MacDonald */ extern "C" { #include "test.h" #include <assert.h> } #include <list> #include <vector> #include <map> #include <algorithm> using std::list; using std::map; using std::vector; // MLCG parameters // a, a* uint32_t good_32bit_values[] = { 1597334677U, // ... 741103597U, ...
21.165075
121
0.589532
[ "vector" ]
028a274666854741db0752d9d9591d71deec10e1
41,150
cpp
C++
src/real_space_prj.cpp
cocteautwins/SIRIUS-develop
8ab09ca7cc69e9a7dc76475b7b562b20d56deea3
[ "BSD-2-Clause" ]
null
null
null
src/real_space_prj.cpp
cocteautwins/SIRIUS-develop
8ab09ca7cc69e9a7dc76475b7b562b20d56deea3
[ "BSD-2-Clause" ]
null
null
null
src/real_space_prj.cpp
cocteautwins/SIRIUS-develop
8ab09ca7cc69e9a7dc76475b7b562b20d56deea3
[ "BSD-2-Clause" ]
null
null
null
#include <gsl/gsl_sf_bessel.h> #include "real_space_prj.h" namespace sirius { Real_space_prj::Real_space_prj(Unit_cell& unit_cell__, Communicator const& comm__, double R_mask_scale__, double mask_alpha__, ...
41.523713
148
0.52175
[ "vector", "transform", "3d" ]
0296182a8beaeb084439880a8a18c3dabb0405b7
17,403
hpp
C++
saga/impl/packages/namespace/namespace_dir_cpi.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/impl/packages/namespace/namespace_dir_cpi.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/impl/packages/namespace/namespace_dir_cpi.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
#ifndef SAGA_IMPL_PACKAGES_DATA_NAMESPACE_NAMESPACEDIR_CPI_HPP #define SAGA_IMPL_PACKAGES_DATA_NAMESPACE_NAMESPACEDIR_CPI_HPP #if defined(__WAVE__) && defined(SAGA_CREATE_PREPROCESSED_FILES) #pragma wave option(preserve: 2, line: 0, output: "preprocessed/namespace_dir_cpi.hpp") #endif // Copyright (c) 2005-2007 Andre...
49.86533
136
0.651439
[ "object", "vector" ]
02999136d561d1b85afddb9e34ddcf4d7827a48a
3,813
hpp
C++
trie/include/wordsearch_solver/trie/trie.hpp
Arghnews/wordsearch_solver
cf25db64ca3d1facd9191aad075654f124f0d580
[ "MIT" ]
null
null
null
trie/include/wordsearch_solver/trie/trie.hpp
Arghnews/wordsearch_solver
cf25db64ca3d1facd9191aad075654f124f0d580
[ "MIT" ]
null
null
null
trie/include/wordsearch_solver/trie/trie.hpp
Arghnews/wordsearch_solver
cf25db64ca3d1facd9191aad075654f124f0d580
[ "MIT" ]
null
null
null
#ifndef TRIE_HPP #define TRIE_HPP #include "wordsearch_solver/trie/node.hpp" #include "wordsearch_solver/utility/flat_char_value_map.hpp" #include <fmt/core.h> #include <fmt/format.h> #include <fmt/ostream.h> #include <fmt/ranges.h> #include <algorithm> #include <cstdint> #include <initializer_list> #include <iterat...
32.589744
80
0.723839
[ "vector" ]
0299bf82d03d85f2a29c7daf5b0098462e977dd0
1,561
cpp
C++
main.cpp
husmen/Eight-Point-Algorithm-Cpp
9019128948437c48c166eec5e7d6ccf2774bf80e
[ "MIT" ]
null
null
null
main.cpp
husmen/Eight-Point-Algorithm-Cpp
9019128948437c48c166eec5e7d6ccf2774bf80e
[ "MIT" ]
null
null
null
main.cpp
husmen/Eight-Point-Algorithm-Cpp
9019128948437c48c166eec5e7d6ccf2774bf80e
[ "MIT" ]
null
null
null
#include <iostream> #include "EightPointAlgorithm.hpp" using namespace std; int main() { vector<Point2d> points_left, points_right; double points_left_tmp[16] = {10, 20, 30, 50, 60, 80, 90, 120, 130, 170, 180, 230, 240, 300, 310, 380}; double points_right_tmp[16] = {20, 30, 40, 60, 70, 90, 100, 130, 140, 180, 19...
40.025641
107
0.682255
[ "vector" ]
029eeab2ab8c6ff7a5510f3f894e4ad9cf396ad2
3,287
hpp
C++
src/Evolution/EventsAndDenseTriggers/DenseTriggers/Or.hpp
fmahebert/spectre
936e2dff0434f169b9f5b03679cd27794003700a
[ "MIT" ]
null
null
null
src/Evolution/EventsAndDenseTriggers/DenseTriggers/Or.hpp
fmahebert/spectre
936e2dff0434f169b9f5b03679cd27794003700a
[ "MIT" ]
null
null
null
src/Evolution/EventsAndDenseTriggers/DenseTriggers/Or.hpp
fmahebert/spectre
936e2dff0434f169b9f5b03679cd27794003700a
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <algorithm> #include <memory> #include <pup.h> #include <vector> #include "Evolution/EventsAndDenseTriggers/DenseTrigger.hpp" #include "Options/Options.hpp" #include "Options/ParseOptions.hpp" #include "Parallel/CharmPupable....
31.304762
80
0.700943
[ "vector" ]
029faec694784f65d0e7f03359baa593acb1f2fe
16,726
cpp
C++
src/level.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/level.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/level.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
/** * @file level.cpp * @author Team Rogue++ * @date December 08, 2016 * * @brief Member definitions for the Level class */ #include <algorithm> #include <iostream> #include <iterator> #include <map> #include <math.h> #include <queue> #include <tuple> #include <vector> #include "include/amulet.h" #include "inc...
23.458626
152
0.630396
[ "vector" ]
02ada0a3f084672595ec6b3b54c8b96f442f45f5
1,384
hpp
C++
include/actl/geometry/algorithm/intersect/line_sphere.hpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
17
2018-08-22T06:48:20.000Z
2022-02-22T21:20:09.000Z
include/actl/geometry/algorithm/intersect/line_sphere.hpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
include/actl/geometry/algorithm/intersect/line_sphere.hpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
// Copyright 2017 Oleksandr Bacherikov. // // Distributed under the Boost Software License, Version 1.0 // (see accompanying file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #pragma once #include <actl/geometry/algorithm/area/point_line.hpp> #include <actl/geometry/algorithm/intersect/intersect...
26.615385
76
0.621387
[ "geometry", "vector" ]
02bb43a1a9f87da7035d3ecda7528e7753e9e0e2
2,917
cpp
C++
CS33901/mzrimsek/assignment03/aps/ImplementationModel/src/UseCaseTester.cpp
mzrimsek/school
d8791e3b94e883a771d0546b3729f3cbd18921c0
[ "MIT" ]
null
null
null
CS33901/mzrimsek/assignment03/aps/ImplementationModel/src/UseCaseTester.cpp
mzrimsek/school
d8791e3b94e883a771d0546b3729f3cbd18921c0
[ "MIT" ]
2
2015-01-30T17:49:32.000Z
2015-02-04T02:17:17.000Z
CS33901/mzrimsek/assignment03/aps/ImplementationModel/src/UseCaseTester.cpp
mzrimsek/School
d8791e3b94e883a771d0546b3729f3cbd18921c0
[ "MIT" ]
null
null
null
#include "Terminal.h" #include "Models/Vehicle.h" #include "Models/Customer.h" #include "Models/Ticket.h" #include <string> #include <iostream> #include <fstream> using namespace std; Vehicle* createVehicle(string fileName) { ifstream inputFile(fileName.c_str()); string* lines = new string[6]; if(inputFi...
25.146552
98
0.655468
[ "model" ]
02c0af832872c62f6cb61edbebaba568b1f2c3e0
2,266
cpp
C++
examples/demo_common/PartDatabase.cpp
rafael-radkowski/TrackingExpert-
007310637e1582d9623e518510d5d9eccaa23c2c
[ "MIT" ]
26
2020-02-28T06:20:36.000Z
2021-12-09T09:52:06.000Z
examples/demo_common/PartDatabase.cpp
rafael-radkowski/TrackingExpert-
007310637e1582d9623e518510d5d9eccaa23c2c
[ "MIT" ]
6
2020-02-19T15:04:27.000Z
2021-08-15T20:32:08.000Z
examples/demo_common/PartDatabase.cpp
rafael-radkowski/TrackingExpert-
007310637e1582d9623e518510d5d9eccaa23c2c
[ "MIT" ]
5
2020-07-09T18:58:34.000Z
2021-08-16T00:40:06.000Z
#include "PartDatabase.h" Model* findModel(std::unordered_map<int, Model*> models, std::string name) { for (std::pair<int, Model*> p : models) { if (p.second->name.compare(name) == 0) { return p.second; } } return NULL; } PartDatabase::PartDatabase() { models = std::unordered_map<int, Model*>(); size ...
19.877193
136
0.657988
[ "model" ]
02c57cf1549f32b3273b8db9a108f8730aac9c0a
671
cpp
C++
daily_challenge/February_LeetCoding_Challenge_2021/longestHarmoniousSubsequence.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
1
2021-01-27T16:37:36.000Z
2021-01-27T16:37:36.000Z
daily_challenge/February_LeetCoding_Challenge_2021/longestHarmoniousSubsequence.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
null
null
null
daily_challenge/February_LeetCoding_Challenge_2021/longestHarmoniousSubsequence.cpp
archit-1997/LeetCode
7c0f74da0836d3b0855f09bae8960f81a384f3f3
[ "MIT" ]
null
null
null
class Solution { public: int findLHS(vector<int> &nums) { map<int, int> hash; int n = nums.size(); for (int i = 0; i < n; i++) hash[nums[i]]++; if (hash.size() <= 1) return 0; int ans = INT_MIN; vector<pair<int, int>> v; for (auto it = hash.begin(); it != hash.end(); it++) {...
19.735294
58
0.469449
[ "vector" ]
02ca4ea98d0be205c444593aa0c2262dde5876b7
2,219
cc
C++
ivpd/src/model/CreateSegmentBodyJobRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
ivpd/src/model/CreateSegmentBodyJobRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
ivpd/src/model/CreateSegmentBodyJobRequest.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...
28.088608
99
0.746282
[ "vector", "model" ]
02cac6ece7ccedd36620f243bee0f3b01228422d
978
cpp
C++
grooking_patterns_cpp/game_theory/divide_subtract.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
1
2021-09-19T16:41:58.000Z
2021-09-19T16:41:58.000Z
grooking_patterns_cpp/game_theory/divide_subtract.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
null
null
null
grooking_patterns_cpp/game_theory/divide_subtract.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
null
null
null
//https://practice.geeksforgeeks.org/problems/divide-and-subtract-game2253/1/?category%5B%5D #include <bits/stdc++.h> using namespace std; template <typename T> void fastInput(T &x) { bool neg = false; register int c; x = 0; c = getchar(); if(c == '-') { neg = true; c = getchar(); } while(c < 48 or c >...
25.736842
98
0.497955
[ "vector" ]
c49970161e11527ac4daeec4308153329f2b68a5
2,253
cpp
C++
ch11/flann/flann_surf_demo.cpp
icyplayer/OpenCV3Learning
c2d107b6b8895086f499c6be16c2e15521d36799
[ "MIT" ]
null
null
null
ch11/flann/flann_surf_demo.cpp
icyplayer/OpenCV3Learning
c2d107b6b8895086f499c6be16c2e15521d36799
[ "MIT" ]
null
null
null
ch11/flann/flann_surf_demo.cpp
icyplayer/OpenCV3Learning
c2d107b6b8895086f499c6be16c2e15521d36799
[ "MIT" ]
null
null
null
/* * flann_surf_demo.cpp * * Created on: 2017年3月21日 * Author: icyplayer */ // FIXME cannot run under Mac OS X 10.12, video related. #include <opencv2/opencv.hpp> #include <opencv2/features2d/features2d.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/nonfree/features2d.hpp> #include <iostream>...
25.896552
91
0.731913
[ "object", "vector" ]
c4b1b81b0c846c8d765f90becd0af6f7b4ace252
4,908
cpp
C++
source/Core/CastorUtils/Platform/Win32/LoggerConsole.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
source/Core/CastorUtils/Platform/Win32/LoggerConsole.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
source/Core/CastorUtils/Platform/Win32/LoggerConsole.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
#include "CastorUtils/Log/LoggerConsole.hpp" #if defined( CU_PlatformWindows ) #include "CastorUtils/Miscellaneous/StringUtils.hpp" #include <Windows.h> #include <tchar.h> #include <codecvt> #include <iomanip> #undef min #undef max #undef abs #define CU_UseAnsiCode 0 namespace castor { void printCDBConsole( Stri...
19.247059
99
0.59617
[ "vector" ]
c4b29658e31c97c3e4e39ade620b5ed0fd8dcc1a
6,767
cpp
C++
c_glib/arrow-glib/local-file-system.cpp
timkpaine/arrow
a96297e65e17e728e4321cdecc7ace146e1363fb
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
9,734
2016-02-17T13:22:12.000Z
2022-03-31T09:35:00.000Z
c_glib/arrow-glib/local-file-system.cpp
timkpaine/arrow
a96297e65e17e728e4321cdecc7ace146e1363fb
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
11,470
2016-02-19T15:30:28.000Z
2022-03-31T23:27:21.000Z
c_glib/arrow-glib/local-file-system.cpp
XpressAI/arrow
eafd885e06f6bbc1eb169ed64016f804c1810bec
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
2,637
2016-02-17T10:56:29.000Z
2022-03-31T08:20:13.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
31.919811
91
0.723511
[ "object" ]
c4bca34aad9a48a3db9279f7aab0e3155578aa4c
8,651
hxx
C++
code/rtkIncrementalFourDROOSTERConeBeamReconstructionFilter.hxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
code/rtkIncrementalFourDROOSTERConeBeamReconstructionFilter.hxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
code/rtkIncrementalFourDROOSTERConeBeamReconstructionFilter.hxx
ldqcarbon/RTK
88df8ed953805aca3c5a73c22cb940164e7cc296
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/*========================================================================= * * Copyright RTK Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
41.995146
151
0.709629
[ "vector" ]
c4c23c5079f95e5320d1e7174191fba75b3efc59
4,149
cpp
C++
src/compositor/scenegraph/scene.cpp
Quora-Users/motorcar
e1cb943d2874a4716556c314190a48294e2bf53a
[ "BSD-2-Clause" ]
216
2015-01-20T17:14:01.000Z
2022-03-05T16:14:25.000Z
src/compositor/scenegraph/scene.cpp
Quora-Users/motorcar
e1cb943d2874a4716556c314190a48294e2bf53a
[ "BSD-2-Clause" ]
12
2015-07-09T06:46:09.000Z
2017-04-13T05:41:08.000Z
src/compositor/scenegraph/scene.cpp
Quora-Users/motorcar
e1cb943d2874a4716556c314190a48294e2bf53a
[ "BSD-2-Clause" ]
29
2015-03-14T03:19:52.000Z
2021-01-29T13:43:51.000Z
/**************************************************************************** **This file is part of the Motorcar 3D windowing framework ** ** **Copyright (C) 2014 Forrest Reiling ** ** ** You may use this file under the terms of the BSD license as follows: ** ** "Redistribution and use in source and binary forms, with...
23.573864
77
0.684984
[ "vector", "3d" ]
c4c49972245e8b198d4a7247ddef8fa449c55485
5,993
cpp
C++
examples.cpp
Rawk/mysql-cpp
12e4a46b75c0ab2d2fea6ea80a94bf0471b468c5
[ "MIT" ]
80
2015-04-21T09:28:29.000Z
2022-03-29T13:10:00.000Z
examples.cpp
Rawk/mysql-cpp
12e4a46b75c0ab2d2fea6ea80a94bf0471b468c5
[ "MIT" ]
2
2018-10-02T07:51:34.000Z
2019-09-06T13:13:48.000Z
examples.cpp
Rawk/mysql-cpp
12e4a46b75c0ab2d2fea6ea80a94bf0471b468c5
[ "MIT" ]
42
2015-07-23T12:38:24.000Z
2022-01-17T03:56:31.000Z
#include "MySql.hpp" #include "MySqlException.hpp" #include <cassert> #include <iostream> #include <memory> #include <string> #include <tuple> #include <vector> using std::basic_ostream; using std::cin; using std::cout; using std::endl; using std::get; using std::ostream; using std::string; using std::tuple; using s...
28.674641
79
0.559319
[ "vector" ]
c4c71d4609fda8cdd516b599518e6aa367f9fd94
7,040
cpp
C++
multidropdown.cpp
buldzzxx/Aurora
5a6d27646f94e2858b84f3c34c3612edc9722f95
[ "MIT" ]
1
2021-12-14T18:34:05.000Z
2021-12-14T18:34:05.000Z
multidropdown.cpp
buldzzxx/Aurora
5a6d27646f94e2858b84f3c34c3612edc9722f95
[ "MIT" ]
null
null
null
multidropdown.cpp
buldzzxx/Aurora
5a6d27646f94e2858b84f3c34c3612edc9722f95
[ "MIT" ]
2
2021-12-14T04:27:32.000Z
2022-03-13T22:00:47.000Z
#include "includes.h" void MultiDropdown::arrow1(Point p) { render::rect_filled(p.x + m_w - 11, p.y + m_offset + 9 + 2, 1, 1, { 152, 152, 152, m_parent->m_alpha }); render::rect_filled(p.x + m_w - 10, p.y + m_offset + 9 + 2, 1, 1, { 152, 152, 152, m_parent->m_alpha }); render::rect_filled(p.x + m_w - 9, p.y + m_off...
34.851485
198
0.625994
[ "render" ]
c4cd494e68261b17c989f7bf2369383307e7fffa
8,133
cpp
C++
src/cpp/libwmi.cpp
warriordog/jwmi
57a24992dd2ba4237e962ef7b3e2d3aa9931d45b
[ "MIT" ]
4
2019-11-06T01:45:21.000Z
2021-07-06T14:36:41.000Z
src/cpp/libwmi.cpp
warriordog/jwmi
57a24992dd2ba4237e962ef7b3e2d3aa9931d45b
[ "MIT" ]
null
null
null
src/cpp/libwmi.cpp
warriordog/jwmi
57a24992dd2ba4237e962ef7b3e2d3aa9931d45b
[ "MIT" ]
3
2020-01-21T06:17:20.000Z
2020-09-23T08:44:54.000Z
#include "libwmi.h" #include <iostream> #pragma comment(lib, "wbemuuid.lib") using namespace std; namespace libwmi { HRESULT openCOM() { // open COM HRESULT hr = CoInitializeEx(0, COINIT_MULTITHREADED); if (FAILED(hr)) { #ifdef LIBWMI_DEBUG cout << ...
30.923954
121
0.456043
[ "object" ]
c4d43d9a57dcd146d3c7b8ed45c429e76fe26d70
8,066
cpp
C++
UtilityLib/Src/Serialization/Base64.cpp
toumilov/UtilityLib
e97094fb3460b466803be8445e812e9e3cb837d7
[ "MIT" ]
null
null
null
UtilityLib/Src/Serialization/Base64.cpp
toumilov/UtilityLib
e97094fb3460b466803be8445e812e9e3cb837d7
[ "MIT" ]
null
null
null
UtilityLib/Src/Serialization/Base64.cpp
toumilov/UtilityLib
e97094fb3460b466803be8445e812e9e3cb837d7
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstring> #include "Serialization/Base64.hpp" namespace UtilityLib { namespace Serialization { static const std::string mapping_ = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; static void process_chunk( const char *chunk, std::string &result ) { r...
29.014388
104
0.43268
[ "vector" ]
c4f1c3b529cea74b28e2382c62f699a66c11ebd4
941
cpp
C++
LeetCodeCPP/997. Find the Town Judge/main.cpp
18600130137/leetcode
fd2dc72c0b85da50269732f0fcf91326c4787d3a
[ "Apache-2.0" ]
1
2019-03-29T03:33:56.000Z
2019-03-29T03:33:56.000Z
LeetCodeCPP/997. Find the Town Judge/main.cpp
18600130137/leetcode
fd2dc72c0b85da50269732f0fcf91326c4787d3a
[ "Apache-2.0" ]
null
null
null
LeetCodeCPP/997. Find the Town Judge/main.cpp
18600130137/leetcode
fd2dc72c0b85da50269732f0fcf91326c4787d3a
[ "Apache-2.0" ]
null
null
null
// // main.cpp // 997. Find the Town Judge // // Created by admin on 2019/2/25. // Copyright © 2019年 liu. All rights reserved. // #include <iostream> #include <vector> #include <unordered_map> using namespace std; class Solution { public: int findJudge(int N, vector<vector<int>>& trust) { if(trust.siz...
20.021277
63
0.511158
[ "vector" ]
c4fafe46e00a8c8259aa55eba9ad94a869faf39c
2,579
hpp
C++
tracking/archival_manager.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
tracking/archival_manager.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
tracking/archival_manager.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#pragma once #include "routing/router.hpp" #include "coding/file_writer.hpp" #include "base/logging.hpp" #include <chrono> #include <cstdint> #include <exception> #include <optional> #include <string> #include <utility> #include <vector> namespace tracking { struct ArchivingSettings { size_t m_minFreeSpaceOnDisk...
28.032609
95
0.738658
[ "vector" ]
c4fee4d0717657aacc6d95339243ac396d175846
1,813
cpp
C++
example/example.cpp
qingl812/microlife-json
69042e12a7c30941e701e1863e92d450713f216c
[ "MIT" ]
null
null
null
example/example.cpp
qingl812/microlife-json
69042e12a7c30941e701e1863e92d450713f216c
[ "MIT" ]
null
null
null
example/example.cpp
qingl812/microlife-json
69042e12a7c30941e701e1863e92d450713f216c
[ "MIT" ]
null
null
null
#include "microlife/json.hpp" #include <iostream> using json = microlife::json; int main() { // 解析json { json j; j.parse("{\"a\":1,\"b\":2}"); std::cout << (j.is_object() ? "is object" : "not object") << std::endl; auto a = j.get<json::object_t&>().find("a"); auto b ...
29.241935
79
0.47711
[ "object" ]
f203a36c34314934b0221615ca2144e41fa6fa20
5,715
cpp
C++
demo/png_2d_planning.cpp
elishafer/mpt
e0997259fbd1431bab4b5ffb6f0d2f00fa380660
[ "BSD-3-Clause" ]
54
2018-09-28T17:28:02.000Z
2022-01-25T20:30:32.000Z
demo/png_2d_planning.cpp
elishafer/mpt
e0997259fbd1431bab4b5ffb6f0d2f00fa380660
[ "BSD-3-Clause" ]
2
2019-11-21T20:16:26.000Z
2020-03-27T12:55:31.000Z
demo/png_2d_planning.cpp
elishafer/mpt
e0997259fbd1431bab4b5ffb6f0d2f00fa380660
[ "BSD-3-Clause" ]
27
2019-05-15T00:18:46.000Z
2021-07-30T00:41:37.000Z
// Software License Agreement (BSD-3-Clause) // // Copyright 2018 The University of North Carolina at Chapel Hill // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // 1. Redistributions of source code must retain...
34.427711
110
0.671041
[ "shape", "vector" ]
f206b7b104ddf634456d8d6ee86e0b6ab66b4de0
16,791
cpp
C++
src_segmenter/Lib/normxcorr2_mex_ALL/cv_src/cverror.cpp
angelolab/MIBI_GUI
ad4ede6b65c4e3772122e77986ab5922cb631319
[ "BSD-3-Clause" ]
1
2021-04-28T16:51:44.000Z
2021-04-28T16:51:44.000Z
cv_src/cverror.cpp
charismaticchiu/Change_detection_patchmatch
46000495cf207f55af5a1f717cdce1e75d52f2a6
[ "BSD-2-Clause" ]
4
2021-06-25T21:36:47.000Z
2022-02-04T21:47:29.000Z
cv_src/cverror.cpp
charismaticchiu/Change_detection_patchmatch
46000495cf207f55af5a1f717cdce1e75d52f2a6
[ "BSD-2-Clause" ]
1
2020-01-28T19:46:34.000Z
2020-01-28T19:46:34.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
31.385047
111
0.613603
[ "object" ]
f2185441fba5a408c60340627d1a7d0bb7de4d59
1,449
cpp
C++
include/extra/MouseShootFeature.cpp
hvidal/GameEngine3D
1794ad891d2200260be935283645a03af3ebcfcc
[ "MIT" ]
6
2020-07-03T21:14:56.000Z
2021-11-11T09:37:40.000Z
include/extra/MouseShootFeature.cpp
hvidal/GameEngine3D
1794ad891d2200260be935283645a03af3ebcfcc
[ "MIT" ]
null
null
null
include/extra/MouseShootFeature.cpp
hvidal/GameEngine3D
1794ad891d2200260be935283645a03af3ebcfcc
[ "MIT" ]
2
2020-08-15T22:37:21.000Z
2021-01-17T11:31:27.000Z
#include "MouseShootFeature.h" void MouseShootFeature::mouseDown(Uint8 button, int x, int y, const GameState& gameState) { // Not perfect, but SDL provides the button as Uint8, not as an enum class. if (button == static_cast<int>(mActionButton) && gameState.mode == GameMode::RUNNING) shoot(x, y); } void MouseSh...
31.5
123
0.740511
[ "shape", "transform" ]
35eb42e65b4177cc36429990c27353d6646c5c90
489
cpp
C++
C++/find-first-palindromic-string-in-the-array.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/find-first-palindromic-string-in-the-array.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/find-first-palindromic-string-in-the-array.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n) // Space: O(1) class Solution { public: string firstPalindrome(vector<string>& words) { for (const auto& w : words) { if (is_palindrome(w)) { return w; } } return ""; } private: bool is_palindrome(const string& s) { int...
18.807692
51
0.406953
[ "vector" ]
c409269d0d174250bd194d28373abb22e8bf4cf7
8,876
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/threads/rwmutex.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/threads/rwmutex.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/threads/rwmutex.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
24.862745
83
0.647702
[ "object", "3d" ]
c40c7d3c4769afe642e64d075c82ed60897b35ce
276
cpp
C++
leetcode_archived_cpp/LeetCode_324.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
null
null
null
leetcode_archived_cpp/LeetCode_324.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_324.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
null
null
null
class Solution { public: void wiggleSort(vector<int>& nums) { vector<int> s(nums); sort(s.begin(), s.end()); for(int i = 0, j = (nums.size()+1)/2, k = nums.size()-1;k >= 0;k--) { nums[k] = s[k&1 ? j++ : i++]; } } };
23
75
0.42029
[ "vector" ]
c4122a3f899ef4a94109f78531249ccae85136fe
5,255
cc
C++
ui/aura/mus/property_converter.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
ui/aura/mus/property_converter.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/aura/mus/property_converter.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "ui/aura/mus/property_converter.h" #include "mojo/public/cpp/bindings/type_converter.h" #include "services/ui/public/cpp/property_type_converter...
35.748299
80
0.694957
[ "vector" ]
c412782322ab1ca7a997dbe9f35a3ecec66f2d71
931
hpp
C++
include/model.hpp
akitsu-sanae/phylan
bf949de7b5a91dfd965c3fcc4868b76b4b577375
[ "BSL-1.0" ]
null
null
null
include/model.hpp
akitsu-sanae/phylan
bf949de7b5a91dfd965c3fcc4868b76b4b577375
[ "BSL-1.0" ]
null
null
null
include/model.hpp
akitsu-sanae/phylan
bf949de7b5a91dfd965c3fcc4868b76b4b577375
[ "BSL-1.0" ]
null
null
null
/*============================================================================ Copyright (C) 2016 akitsu sanae https://github.com/akitsu-sanae/phylan Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) ===============================...
19.808511
78
0.556391
[ "vector", "model" ]
c4189ffdc9d98653d67ab44345282174f72a1977
63,471
cpp
C++
WRK-V1.2/clr/src/jit64/peverify/readerir.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/jit64/peverify/readerir.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/jit64/peverify/readerir.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to ...
21.298993
186
0.63837
[ "object" ]
c418a28e25369b748d6a194d74e8c571f17de0d8
7,829
cpp
C++
cradle/tests/imaging/isobands.cpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
null
null
null
cradle/tests/imaging/isobands.cpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
null
null
null
cradle/tests/imaging/isobands.cpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
4
2018-09-28T17:12:54.000Z
2022-03-20T14:22:29.000Z
#include <cradle/imaging/isobands.hpp> #include <cradle/imaging/isolines.hpp> #include <cradle/imaging/image.hpp> #include <cradle/imaging/geometry.hpp> #include <cradle/geometry/polygonal.hpp> #include <algorithm> #define BOOST_TEST_MODULE isobands #include <cradle/imaging/test.hpp> double tolerance = 0.001; using ...
35.265766
78
0.608762
[ "geometry", "vector" ]
c41a67112c0418dba811763041e81f57d2e2db41
10,814
hpp
C++
include/mem/SubtypeAllocator/refc.hpp
fabianbs96/pool_allocator
1bdeedc4dc1064beb2e51f8e60c9a2dda5654ab9
[ "MIT" ]
null
null
null
include/mem/SubtypeAllocator/refc.hpp
fabianbs96/pool_allocator
1bdeedc4dc1064beb2e51f8e60c9a2dda5654ab9
[ "MIT" ]
null
null
null
include/mem/SubtypeAllocator/refc.hpp
fabianbs96/pool_allocator
1bdeedc4dc1064beb2e51f8e60c9a2dda5654ab9
[ "MIT" ]
null
null
null
#pragma once #include <atomic> #include <cassert> #include <type_traits> #ifdef HAVE_LLVM #include "llvm/ADT/DenseMapInfo.h" #include "llvm/Support/Hashing.h" #endif #include "mem/SubtypeAllocator/SubtypeAllocatorDriver.hpp" #include "mem/SubtypeAllocator/detail/SubtypeAllocatorDriverBase.hpp" namespace mem { temp...
32.869301
80
0.659423
[ "object" ]
c41f4422291d4e81066e876e7dd8241d87b2e84d
3,855
hpp
C++
src/age_common/api/age_types.hpp
c-sp/AGE
054bc4c7c0fe703439b73575d56a23eb3700d695
[ "Apache-2.0" ]
2
2022-02-12T12:51:14.000Z
2022-02-13T19:14:36.000Z
src/age_common/api/age_types.hpp
c-sp/AGE
054bc4c7c0fe703439b73575d56a23eb3700d695
[ "Apache-2.0" ]
4
2021-05-19T18:11:22.000Z
2021-09-27T18:17:26.000Z
src/age_common/api/age_types.hpp
c-sp/AGE
054bc4c7c0fe703439b73575d56a23eb3700d695
[ "Apache-2.0" ]
null
null
null
// // Copyright 2020 Christoph Sprenger // // 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...
29.653846
125
0.68249
[ "vector" ]
c421f4c82cb327b1f2cf80c4415fc0eff3285aa7
11,489
hpp
C++
blast/include/algo/blast/api/blast_types.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/algo/blast/api/blast_types.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/algo/blast/api/blast_types.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
/* $Id: blast_types.hpp 573102 2018-10-23 12:07:38Z fongah2 $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government ...
34.70997
79
0.662634
[ "object", "vector" ]
c4231b52d9f1f20ca72c996762d43083b3850e62
4,190
cpp
C++
src/game/client/hl2/energy_wave_effect.cpp
bluedogz162/tf_coop_extended_custom
0212744ebef4f74c4e0047320d9da7d8571a8ee0
[ "Unlicense" ]
4
2020-04-24T22:20:34.000Z
2022-01-10T23:16:53.000Z
src/game/client/hl2/energy_wave_effect.cpp
bluedogz162/tf_coop_extended_custom
0212744ebef4f74c4e0047320d9da7d8571a8ee0
[ "Unlicense" ]
1
2020-05-01T19:13:25.000Z
2020-05-02T07:01:45.000Z
src/game/client/hl2/energy_wave_effect.cpp
bluedogz162/tf_coop_extended_custom
0212744ebef4f74c4e0047320d9da7d8571a8ee0
[ "Unlicense" ]
3
2020-04-24T22:20:36.000Z
2022-02-21T21:48:05.000Z
//=========== (C) Copyright 2000 Valve, L.L.C. All rights reserved. =========== // // Purpose: The EWave effect // //============================================================================= #include "cbase.h" #include "energy_wave_effect.h" //-------------------------------------------------------------------...
29.928571
88
0.507399
[ "vector" ]
c42abcbfab5dfafdf0429668f29edf4ac371dc38
3,282
cc
C++
slick/test/unittest/geometry_line2d_unittest.cc
williammc/Slick
67dec11ea252e7e3a7d6097369a0f313cf1d2fdd
[ "BSD-3-Clause" ]
1
2017-04-13T05:26:40.000Z
2017-04-13T05:26:40.000Z
slick/test/unittest/geometry_line2d_unittest.cc
williammc/Slick
67dec11ea252e7e3a7d6097369a0f313cf1d2fdd
[ "BSD-3-Clause" ]
null
null
null
slick/test/unittest/geometry_line2d_unittest.cc
williammc/Slick
67dec11ea252e7e3a7d6097369a0f313cf1d2fdd
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <Eigen/Geometry> #include "slick/geometry/line2d.h" #include "slick/test/unittest/util.h" const int N = 10; template <typename T> void check_on_line(const slick::Line2DBase<T> &line, const Eigen::Matrix<T, 2, 1> &pt) { const auto lv = (line.point2() - line.point1...
33.835052
80
0.640463
[ "geometry", "vector" ]
c43638f82783bc08bf0617a888dbc5816839d39c
6,555
cpp
C++
libraries/entities/src/TextEntityItem.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
libraries/entities/src/TextEntityItem.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
libraries/entities/src/TextEntityItem.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
// // TextEntityItem.cpp // libraries/entities/src // // Created by Brad Hefta-Gaub on 12/4/13. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <glm/gtx/transform.hp...
39.017857
110
0.70389
[ "transform" ]
c443d408ca6f1e0f4400f59d95987c8a84786829
622
hpp
C++
libs/core/font/include/bksge/core/font/otf/cff2.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/font/include/bksge/core/font/otf/cff2.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/font/include/bksge/core/font/otf/cff2.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file cff2.hpp * * @brief CompactFontFormat2Table の定義 * * @author myoukaku */ #ifndef BKSGE_CORE_FONT_OTF_CFF2_HPP #define BKSGE_CORE_FONT_OTF_CFF2_HPP #include <bksge/core/font/otf/read_big_endian.hpp> #include <bksge/core/font/otf/types.hpp> #include <cstdint> #include <vector> namespa...
16.810811
74
0.697749
[ "vector" ]
c45acd7aa76a1cfb9330c77324b63f3775c83deb
4,054
hpp
C++
modules/cdm_gtest.hpp
TyRoXx/cdm
758cb59106c6acdc987b6f859387db2398415127
[ "MIT" ]
4
2015-11-01T20:41:55.000Z
2021-08-04T00:49:37.000Z
modules/cdm_gtest.hpp
TyRoXx/cdm
758cb59106c6acdc987b6f859387db2398415127
[ "MIT" ]
1
2015-10-29T21:33:53.000Z
2015-10-29T21:33:53.000Z
modules/cdm_gtest.hpp
TyRoXx/cdm
758cb59106c6acdc987b6f859387db2398415127
[ "MIT" ]
1
2021-08-04T00:49:38.000Z
2021-08-04T00:49:38.000Z
#ifndef CDM_GTEST_HPP #define CDM_GTEST_HPP #include <ventura/file_operations.hpp> #include <ventura/run_process.hpp> #include <silicium/sink/iterator_sink.hpp> #include <cdm/cmake_generator.hpp> namespace cdm { struct gtest_paths { ventura::absolute_path include; ventura::absolute_path library; ventura::abso...
40.54
108
0.670696
[ "vector" ]
c4678bf51c8dfdf8d71bce0215c8b1e85f594081
3,672
cpp
C++
libpolycrypto/bench/BenchAMT.cpp
ibalajiarun/libpolycrypto
89a69ed90ee4e9287222cc5781ff11562286f454
[ "MIT" ]
25
2020-01-29T19:33:48.000Z
2022-03-28T16:45:51.000Z
libpolycrypto/bench/BenchAMT.cpp
ibalajiarun/libpolycrypto
89a69ed90ee4e9287222cc5781ff11562286f454
[ "MIT" ]
2
2020-03-18T12:33:27.000Z
2020-03-18T18:30:55.000Z
libpolycrypto/bench/BenchAMT.cpp
ibalajiarun/libpolycrypto
89a69ed90ee4e9287222cc5781ff11562286f454
[ "MIT" ]
8
2020-07-09T01:35:42.000Z
2021-07-20T04:54:47.000Z
#include <polycrypto/PolyOps.h> #include <polycrypto/PolyCrypto.h> #include <polycrypto/RootsOfUnityEval.h> #include <polycrypto/Utils.h> #include <vector> #include <cmath> #include <iostream> #include <ctime> #include <fstream> #include <xutils/Log.h> #include <xutils/Timer.h> #include <xassert/XAssert.h> using nam...
31.655172
123
0.594499
[ "vector" ]
c47663ccdb3c0c25259c9f2e04f7c0402cd881f7
2,723
hh
C++
src/include/uDepot/net.hh
nik-io/uDepot
06b94b7f2438b38b46572ede28072e24997e40c6
[ "BSD-3-Clause" ]
null
null
null
src/include/uDepot/net.hh
nik-io/uDepot
06b94b7f2438b38b46572ede28072e24997e40c6
[ "BSD-3-Clause" ]
null
null
null
src/include/uDepot/net.hh
nik-io/uDepot
06b94b7f2438b38b46572ede28072e24997e40c6
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020 International Business Machines * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * * Authors: Nikolas Ioannou (nio@zurich.ibm.com), * Kornilios Kourtis (kou@zurich.ibm.com, kornilios@gmail.com) * */ #ifndef _UDEPOT_NET_HH_ #define _UDEPOT_NET_HH_ #includ...
28.663158
83
0.662137
[ "vector" ]
c4766d0e2910bd1c46ab4edf0e2316b3252c69b2
9,785
cpp
C++
tactical_wildfire_management/src/twm/Problem.cpp
XanX3601/stochastic_mcts_optimization
743ef3df090427750fee55fd69d7646a88d5946a
[ "Apache-2.0" ]
null
null
null
tactical_wildfire_management/src/twm/Problem.cpp
XanX3601/stochastic_mcts_optimization
743ef3df090427750fee55fd69d7646a88d5946a
[ "Apache-2.0" ]
null
null
null
tactical_wildfire_management/src/twm/Problem.cpp
XanX3601/stochastic_mcts_optimization
743ef3df090427750fee55fd69d7646a88d5946a
[ "Apache-2.0" ]
null
null
null
#include <twm/Problem.h> #include <algorithm> #include <random> #include <stdexcept> #include <unordered_map> #include <vector> #include "twm/Action.h" void twm::Problem::init_legal_actions() { int cell_count = get_cell_count(); legal_actions = std::vector<twm::Action>(cell_count + 1); for (int cell_ind...
42.176724
97
0.685641
[ "vector" ]
c48102f425a9407dc74c13b39dfeff0272976463
2,011
cpp
C++
ares/sg/system/system.cpp
moon-chilled/Ares
909fb098c292f8336d0502dc677050312d8b5c81
[ "0BSD" ]
7
2020-07-25T11:44:39.000Z
2021-01-29T13:21:31.000Z
ares/sg/system/system.cpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
null
null
null
ares/sg/system/system.cpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
1
2021-03-22T16:15:30.000Z
2021-03-22T16:15:30.000Z
#include <sg/sg.hpp> namespace ares::SG1000 { Scheduler scheduler; System system; #include "controls.cpp" #include "serialization.cpp" auto System::run() -> void { if(scheduler.enter() == Event::Frame) { vdp.refresh(); controls.poll(); } } auto System::load(Node::Object& root) -> void { if(node) unloa...
21.858696
71
0.632521
[ "object", "model" ]
c4849cb5b0ef088ca3ceb4d0d068009d7a73088c
1,614
cpp
C++
cf/1178/f.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
cf/1178/f.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
cf/1178/f.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using LL = long long; const int N = 1e6 + 10, mod = 998244353, M = 1010; int a[N]; int n, m; int f[M][M], mx[M], mn[M]; vector<int> d; vector<int> C[M]; int main() { scanf("%d%d", &n, &m); d.push_back(-1); for(int i = 1; i <= m; ++i) { scanf("%d", &a[i]); if(d.emp...
22.732394
72
0.420694
[ "vector" ]
c4870a64d65fb2d758976021c20a02782767ef49
4,396
cc
C++
engine/source/platform/Tickable.cc
itsasc/Necromantia
f41dfa045eb2c3500320767553d75f83df10e6f9
[ "MIT" ]
312
2015-02-17T15:07:28.000Z
2022-03-12T07:09:56.000Z
src/platform/Tickable.cc
lukaspj/Torque6
db6cd08f18f4917e0c6557b2766fb40d8e2bee39
[ "MIT" ]
23
2015-03-30T14:47:37.000Z
2020-11-02T00:00:24.000Z
src/platform/Tickable.cc
lukaspj/Torque6
db6cd08f18f4917e0c6557b2766fb40d8e2bee39
[ "MIT" ]
73
2015-02-17T15:07:30.000Z
2021-10-02T03:11:59.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restrictio...
31.625899
99
0.564377
[ "vector" ]
c488a6fea4901ccaa52c60e20e3e86dbc99a96b9
7,238
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
3,294
2016-10-30T05:27:20.000Z
2022-03-31T15:59:30.000Z
samples/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
16,739
2016-10-28T19:41:29.000Z
2022-03-31T22:38:48.000Z
samples/snippets/cpp/VS_Snippets_Remoting/MimeText_Match_MatchColl_9/CPP/mimetext_match_matchcoll_9.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
6,701
2016-10-29T20:56:11.000Z
2022-03-31T12:32:26.000Z
// System.Web.Services.Description.MimeTextMatchCollection // System.Web.Services.Description.MimeTextMatchCollection() // System.Web.Services.Description.MimeTextMatchCollection.Contains // System.Web.Services.Description.MimeTextMatchCollection.Add // System.Web.Services.Description.MimeTextMatchCollection.CopyTo // ...
39.98895
121
0.680713
[ "object" ]
c494d292891d0a15ba9423c112c8bab0f5558f44
11,108
cc
C++
source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc
qiyanz/neuropod
13c2bc794b168583588b68269026ec4ed76163ed
[ "Apache-2.0" ]
887
2020-06-08T16:10:28.000Z
2022-03-27T21:55:43.000Z
source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc
qiyanz/neuropod
13c2bc794b168583588b68269026ec4ed76163ed
[ "Apache-2.0" ]
150
2020-06-09T10:43:15.000Z
2022-03-30T02:48:39.000Z
source/neuropod/bindings/java/src/main/native/com_uber_neuropod_Neuropod.cc
qiyanz/neuropod
13c2bc794b168583588b68269026ec4ed76163ed
[ "Apache-2.0" ]
70
2020-06-08T18:43:12.000Z
2022-03-18T20:37:51.000Z
/* Copyright (c) 2020 UATC, LLC 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 writing, software d...
37.026667
120
0.64269
[ "vector", "model" ]
c4953ef8234f96bd2f41334a75c412c720f9135c
6,207
cpp
C++
viewOverride/viewOverrideOperations.cpp
artineering-io/viewOverride
d37784e5cc3d2eb25f13ba566e6b6b62e5cd47bb
[ "MIT" ]
null
null
null
viewOverride/viewOverrideOperations.cpp
artineering-io/viewOverride
d37784e5cc3d2eb25f13ba566e6b6b62e5cd47bb
[ "MIT" ]
null
null
null
viewOverride/viewOverrideOperations.cpp
artineering-io/viewOverride
d37784e5cc3d2eb25f13ba566e6b6b62e5cd47bb
[ "MIT" ]
null
null
null
// Title viewOverrideOperations.cpp // Summary viewOverride Viewport 2.0 render override operations // Copyright 2020 Artineering and/or its licensors // License MIT #include <maya/MShaderManager.h> #include "viewOverrideOperations.h" ///////////////////////////////////////////////////////////...
31.994845
129
0.657483
[ "render", "object" ]
7bcb316abc4a25f9ab5e285fab59a06fcf97a98f
13,706
cpp
C++
resources/Wireshark/WiresharkDissectorFoo/ui/qt/moc_lbm_lbtrm_transport_dialog.cpp
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
2
2020-09-11T05:51:42.000Z
2020-12-31T11:42:02.000Z
resources/Wireshark/WiresharkDissectorFoo/ui/qt/moc_lbm_lbtrm_transport_dialog.cpp
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
null
null
null
resources/Wireshark/WiresharkDissectorFoo/ui/qt/moc_lbm_lbtrm_transport_dialog.cpp
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'lbm_lbtrm_transport_dialog.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.1) ** ** WARNING! All changes made in this file will be lost! ******************************************...
47.099656
146
0.651321
[ "object" ]
7bd467bb32477cf4a89c5c366c94c5030dda2e1a
5,036
cpp
C++
2019/day6/day6.cpp
Fadi88/AoC
8b24f2f2cc7b4e1c63758e81e63d8670a261cc7c
[ "Unlicense" ]
12
2019-12-15T21:53:19.000Z
2021-12-24T17:03:41.000Z
2019/day6/day6.cpp
Fadi88/adventofcode19
dd2456bdd163beb02dbfe9dcea2b021061c7671e
[ "Unlicense" ]
1
2021-12-15T20:40:51.000Z
2021-12-15T22:19:48.000Z
2019/day6/day6.cpp
Fadi88/adventofcode19
dd2456bdd163beb02dbfe9dcea2b021061c7671e
[ "Unlicense" ]
5
2020-12-11T06:00:24.000Z
2021-12-20T21:37:46.000Z
#include <iostream> #include <fstream> #include <vector> #include <sstream> #include <chrono> #include <map> #include <algorithm> #include <limits> class timer { public: timer(std::string point) { m_start_point = std::chrono::high_resolution_clock::now(); m_point = point; } ~timer() { ...
24.446602
134
0.559174
[ "vector" ]
7bdd122de4bc69ce7d4d5281ec96833952556882
49,097
cpp
C++
base/cluster/mgmt/cluscfg/server/cenumcluscfgmanagedresources.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/cluster/mgmt/cluscfg/server/cenumcluscfgmanagedresources.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/cluster/mgmt/cluscfg/server/cenumcluscfgmanagedresources.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000-2002 Microsoft Corporation // // Module Name: // CEnumClusCfgManagedResources.cpp // // Description: // This file contains the definition of the CEnumClusCfgManagedResources // class. // ...
25.598019
191
0.477137
[ "object" ]
7bdeab80048fac1e41ce2a79eaacc989fc611fbb
16,008
cpp
C++
projects/LuaLib/src/SystemAPI.cpp
mikaelkindborg/mobilelua
64424ab2116330cc3be729f84a2d014b1b7c9c64
[ "MIT" ]
27
2015-12-16T16:57:13.000Z
2022-03-27T05:54:32.000Z
projects/LuaLib/src/SystemAPI.cpp
mikaelkindborg/mobilelua
64424ab2116330cc3be729f84a2d014b1b7c9c64
[ "MIT" ]
null
null
null
projects/LuaLib/src/SystemAPI.cpp
mikaelkindborg/mobilelua
64424ab2116330cc3be729f84a2d014b1b7c9c64
[ "MIT" ]
4
2015-10-25T02:19:06.000Z
2021-07-06T07:16:13.000Z
/* * Copyright (c) 2011 MoSync AB * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, ...
21.839018
80
0.647301
[ "geometry" ]
7be1ed0838ef6cc82c737fe6c13c24adbd615e4c
910
cpp
C++
01-arduino/06-send/04-send-generic/src/main.cpp
acarabott/unity-arduino
55f2f271eb60d08d701cbcafe972d4a937e55b53
[ "MIT" ]
2
2018-06-05T00:14:18.000Z
2020-12-15T14:52:38.000Z
01-arduino/06-send/04-send-generic/src/main.cpp
acarabott/unity-arduino
55f2f271eb60d08d701cbcafe972d4a937e55b53
[ "MIT" ]
null
null
null
01-arduino/06-send/04-send-generic/src/main.cpp
acarabott/unity-arduino
55f2f271eb60d08d701cbcafe972d4a937e55b53
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <ArduinoJson.h> const float ANALOG_MAX = 1023.0f; const int D2 = 2; const int D4 = 4; void setup() { Serial.begin(115200); while (!Serial) continue; pinMode(2, INPUT); pinMode(4, INPUT); pinMode(7, INPUT); } void loop() { // create our JSON object ArduinoJson::StaticJso...
22.195122
64
0.673626
[ "object" ]
7be5f4e6817bd3b959fb12402abb5dbafb5fa9fd
4,911
cpp
C++
optimal_control_acado/EocarNphases.cpp
Carla-Ferreira/ViolinOptimalControl
6a0d1e1880b845ce15b6d6b9412b60acb1a6f55f
[ "MIT" ]
3
2019-07-02T13:37:14.000Z
2022-03-31T17:29:31.000Z
optimal_control_acado/EocarNphases.cpp
Carla-Ferreira/ViolinOptimalControl
6a0d1e1880b845ce15b6d6b9412b60acb1a6f55f
[ "MIT" ]
1
2020-04-16T02:21:49.000Z
2020-04-16T02:21:49.000Z
optimal_control_acado/EocarNphases.cpp
Carla-Ferreira/ViolinOptimalControl
6a0d1e1880b845ce15b6d6b9412b60acb1a6f55f
[ "MIT" ]
11
2019-04-23T15:14:07.000Z
2021-04-02T15:05:49.000Z
#include <acado_optimal_control.hpp> #include <bindings/acado_gnuplot/gnuplot_window.hpp> #include "BiorbdModel.h" #include "includes/dynamics.h" #include "includes/objectives.h" #include "includes/constraints.h" #include "includes/utils.h" #include <vector> #include <memory> USING_NAMESPACE_ACADO /* ---------- Model...
34.342657
113
0.570963
[ "vector", "model" ]
7bf2e83ee9ea0b714aaf1a264abdca7dc3613544
13,916
cpp
C++
aabb.cpp
BachiLi/delta_ray
67694873e73f8ffa0b22acd09bf178d31d926d46
[ "MIT" ]
null
null
null
aabb.cpp
BachiLi/delta_ray
67694873e73f8ffa0b22acd09bf178d31d926d46
[ "MIT" ]
null
null
null
aabb.cpp
BachiLi/delta_ray
67694873e73f8ffa0b22acd09bf178d31d926d46
[ "MIT" ]
null
null
null
#include "aabb.h" #include <iostream> AABB::AABB() { p_min = make_vector3(std::numeric_limits<float>::infinity(), std::numeric_limits<float>::infinity(), std::numeric_limits<float>::infinity() ); p_max = make_vector3(-std::numeric_limits<float>::infinity(), ...
41.416667
88
0.479879
[ "vector" ]
7bf47f7a0b8456965c61f567c3682edcfe9b1963
819
cpp
C++
test/test_string.cpp
pmed/sqlitepp
f971d266069b3c836bc50da70f7129e6f77c0e15
[ "BSL-1.0" ]
20
2015-01-09T15:34:58.000Z
2021-12-21T03:32:08.000Z
test/test_string.cpp
pmed/sqlitepp
f971d266069b3c836bc50da70f7129e6f77c0e15
[ "BSL-1.0" ]
2
2016-08-10T18:54:44.000Z
2018-02-13T06:08:35.000Z
test/test_string.cpp
pmed/sqlitepp
f971d266069b3c836bc50da70f7129e6f77c0e15
[ "BSL-1.0" ]
4
2015-04-17T11:28:18.000Z
2020-07-13T06:39:51.000Z
#include <tut.h> #include <sqlitepp/string.hpp> using namespace sqlitepp; namespace tut { struct string_data { string_t str_; }; typedef tut::test_group<string_data> string_test_group; typedef string_test_group::object object; string_test_group str_g("1. string"); template<>template<> void ...
16.38
56
0.639805
[ "object" ]
7bf596614e55806f700a8bf215ff574cb8205358
2,759
cpp
C++
Demos/ODFAEG-CLIENT/hero.cpp
Ornito/ODFAEG-1
f563975ae4bdd2e178d1ed7267e1920425aa2c4d
[ "Zlib" ]
null
null
null
Demos/ODFAEG-CLIENT/hero.cpp
Ornito/ODFAEG-1
f563975ae4bdd2e178d1ed7267e1920425aa2c4d
[ "Zlib" ]
null
null
null
Demos/ODFAEG-CLIENT/hero.cpp
Ornito/ODFAEG-1
f563975ae4bdd2e178d1ed7267e1920425aa2c4d
[ "Zlib" ]
null
null
null
#include "hero.h" namespace sorrok { using namespace odfaeg::core; using namespace odfaeg::graphic::gui; Hero::Hero(std::string factionName, std::string name, std::string sex, std::string currentMapName, std::string hairColor, std::string eyesColor, std::string skinColor, std::string faceType, std::...
37.283784
130
0.587894
[ "vector" ]
7bf5e04e45f2f7a7c653b50949653471ba3161f1
19,179
cpp
C++
keyvi/3rdparty/tpie/apps/spatial_join/pbsmj.cpp
remusao/keyvi
7ea51e4ae94d355c677cce349a1c17290f24252c
[ "Apache-2.0" ]
147
2015-10-06T19:10:01.000Z
2021-08-19T07:52:02.000Z
keyvi/3rdparty/tpie/apps/spatial_join/pbsmj.cpp
remusao/keyvi
7ea51e4ae94d355c677cce349a1c17290f24252c
[ "Apache-2.0" ]
148
2015-10-06T09:24:56.000Z
2018-12-08T08:42:54.000Z
keyvi/3rdparty/tpie/apps/spatial_join/pbsmj.cpp
remusao/keyvi
7ea51e4ae94d355c677cce349a1c17290f24252c
[ "Apache-2.0" ]
34
2015-10-09T06:55:52.000Z
2021-01-05T18:43:57.000Z
// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*- // vi:set ts=4 sts=4 sw=4 noet : // Copyright 2008, The TPIE development team // // This file is part of TPIE. // // TPIE is free software: you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public ...
29.827372
104
0.646749
[ "object" ]
7bf6fdbaf74a8dd946895ec41d990f1d3642d047
8,951
cc
C++
seurat/mesh/mesh_component_util_test.cc
Asteur/vrhelper
7b20ac69265ca7390a6c7f52a4f25b0fe87d0b53
[ "Apache-2.0" ]
819
2018-05-04T20:43:55.000Z
2022-03-22T01:21:24.000Z
seurat/mesh/mesh_component_util_test.cc
mebalzer/seurat
78c1293debdd2744cba11395024812f277f613f7
[ "Apache-2.0" ]
35
2018-05-05T03:50:16.000Z
2019-11-04T22:56:02.000Z
seurat/mesh/mesh_component_util_test.cc
mebalzer/seurat
78c1293debdd2744cba11395024812f277f613f7
[ "Apache-2.0" ]
88
2018-05-04T20:53:42.000Z
2022-03-05T03:50:07.000Z
/* Copyright 2017 Google Inc. 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 agreed to in ...
40.139013
80
0.646297
[ "mesh", "geometry", "vector" ]
d0007d02869edd1e168285af32ac2b6c20999d38
6,651
cc
C++
go_game/gameboard.cc
sanjnair/projects
9d7fce9a9d219b7e63a06bb57d16f23e20eb4dc3
[ "MIT" ]
null
null
null
go_game/gameboard.cc
sanjnair/projects
9d7fce9a9d219b7e63a06bb57d16f23e20eb4dc3
[ "MIT" ]
6
2017-09-11T03:36:02.000Z
2017-09-19T06:56:05.000Z
go_game/gameboard.cc
sanjnair/projects
9d7fce9a9d219b7e63a06bb57d16f23e20eb4dc3
[ "MIT" ]
null
null
null
/// /// Game board class /// @author - Sanjay Nair /// #include "gameboard.h" #include "gameexception.h" #include <queue> #include <iostream> #include <iomanip> using namespace std; /// /// define navigation pattern for stones /// static const vector<pair<int, int>> CELL_NAV_PATTERN = { {0, -1}, {0, 1}, {-1, 0}, {1...
25.679537
92
0.555405
[ "vector" ]
d00557a8de32f3960fdc2bf80c3a27e31fa04749
2,587
cpp
C++
src/player.cpp
Andlon/aria
30fcabf9a2f577c6bbaea66ca0b3ead21dba92e1
[ "MIT" ]
null
null
null
src/player.cpp
Andlon/aria
30fcabf9a2f577c6bbaea66ca0b3ead21dba92e1
[ "MIT" ]
1
2015-08-26T15:20:32.000Z
2015-08-26T15:20:32.000Z
src/player.cpp
Andlon/aria
30fcabf9a2f577c6bbaea66ca0b3ead21dba92e1
[ "MIT" ]
null
null
null
#include <aria/player.hpp> #include <string> #include <cstddef> #include <iostream> namespace asio = boost::asio; using boost::asio::ip::tcp; using boost::system::error_code; namespace aria { player::player(std::shared_ptr<player_callbacks> callbacks) : _callbacks(callbacks), _resolver(io_service()) ...
31.54878
90
0.454194
[ "vector" ]
d0059d56a7c071f9feae94a40a9fe5a29acd6418
32,578
cpp
C++
src/base/matrix.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
1
2019-02-13T15:39:56.000Z
2019-02-13T15:39:56.000Z
src/base/matrix.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
null
null
null
src/base/matrix.cpp
Caprica666/vixen
b71e9415bbfa5f080aee30a831e3b0c8f70fcc7d
[ "BSD-2-Clause" ]
2
2017-11-09T12:06:41.000Z
2019-02-13T15:40:02.000Z
/**** * * Matrix: 3D transformation matrix class * ****/ #include "vixen.h" namespace Vixen { Messenger& operator<<(Messenger& d, const Col4& c) { return d << c.r << c.g << c.b << c.a; } Messenger& operator>>(Messenger& d, Col4& c) { return d >> c.r >> c.g >> c.b >> c.a; } Messenger& operator<<(Messenger& d, c...
24.680303
119
0.53134
[ "vector", "model", "transform", "3d" ]
d009bd50a3fa4a373a216221272c187c128bbe11
3,271
cpp
C++
src/Temporal/features/RelationSourceFeature.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/Temporal/features/RelationSourceFeature.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/Temporal/features/RelationSourceFeature.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
/*#include "Generic/common/leak_detection.h" #include "Temporal/features/RelationSourceFeature.h" #include <sstream> #include <boost/foreach.hpp> #include <boost/functional/hash.hpp> #include <boost/make_shared.hpp> #include "Generic/common/SessionLogger.h" #include "Generic/theories/SentenceTheory.h" #include "Generi...
26.593496
82
0.748701
[ "vector" ]
d0187195255c805561f8d74050d1ab070e15ca9e
2,148
cpp
C++
src/deploy.cpp
JamesZook/libtree
6ba310bdd85822e5bf674530be50b4b6839f7a5d
[ "MIT" ]
null
null
null
src/deploy.cpp
JamesZook/libtree
6ba310bdd85822e5bf674530be50b4b6839f7a5d
[ "MIT" ]
null
null
null
src/deploy.cpp
JamesZook/libtree
6ba310bdd85822e5bf674530be50b4b6839f7a5d
[ "MIT" ]
null
null
null
#include <sstream> #include <libtree/deploy.hpp> #include <libtree/exec.hpp> #include <termcolor/termcolor.hpp> // Copy binaries over, change their rpath if they have it, and strip them void deploy(std::vector<Elf> const &deps, fs::path const &bin, fs::path const &lib, fs::path const &chrpath_path, fs::path const &s...
42.117647
169
0.589851
[ "vector" ]
d025776651f238639c6abeef220b2642826f26db
1,915
cpp
C++
HackerRank/University-Codesprint-5/Sword-profit.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-01-30T13:21:30.000Z
2018-01-30T13:21:30.000Z
HackerRank/University-Codesprint-5/Sword-profit.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
null
null
null
HackerRank/University-Codesprint-5/Sword-profit.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-08-29T13:26:50.000Z
2018-08-29T13:26:50.000Z
/** * > Author : TISparta * > Date : 09-09-18 * > Tags : DP, Convex Hull Trick * > Difficulty : 6 / 10 */ #include<bits/stdc++.h> using namespace::std; typedef long long ll; typedef pair <ll, ll> Point; const int MAX_N = 3e5; const ll MOD = 1e9 + 7, INV = (MOD + 1) / 2; int n, m, sz; ll a[MAX_...
22.267442
106
0.475196
[ "vector" ]
d028b2b178b792d42d164b73c30938a4847025d1
22,542
cpp
C++
extensions/unit/unittest_extension_message.cpp
tschaffter/apl-core-library
3a05342ba0fa2432c320476795c13e8cd990e8ee
[ "Apache-2.0" ]
28
2019-11-05T12:23:01.000Z
2022-03-22T10:01:53.000Z
extensions/unit/unittest_extension_message.cpp
alexa/apl-core-library
b0859273851c4f62290d1f85c42bf22eb087fb35
[ "Apache-2.0" ]
7
2020-03-28T12:44:08.000Z
2022-01-23T17:02:27.000Z
extensions/unit/unittest_extension_message.cpp
tschaffter/apl-core-library
3a05342ba0fa2432c320476795c13e8cd990e8ee
[ "Apache-2.0" ]
15
2019-12-25T10:15:52.000Z
2021-12-30T03:50:00.000Z
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
28.570342
121
0.594402
[ "object" ]
d0293a646036cb0c79069016ebaa3f55dc5f945b
9,618
cpp
C++
src/PfcCompress.cpp
avr-aics-riken/PFClib
aaf08cc3a5f2e3df79ca4bfd834627e1adb58887
[ "BSD-2-Clause" ]
2
2015-03-17T17:31:34.000Z
2019-01-31T15:17:11.000Z
src/PfcCompress.cpp
avr-aics-riken/PFClib
aaf08cc3a5f2e3df79ca4bfd834627e1adb58887
[ "BSD-2-Clause" ]
null
null
null
src/PfcCompress.cpp
avr-aics-riken/PFClib
aaf08cc3a5f2e3df79ca4bfd834627e1adb58887
[ "BSD-2-Clause" ]
null
null
null
/* * PFClib - Parallel File Compression library * * Copyright (c) 2013-2014 Advanced Institute for Computational Science, RIKEN. * All rights reserved. * */ /** * @file PfcCompress.cpp * @brief CPfcCompress Class * @author aics */ #include "PfcCompress.h" #include "PfcCioDfiUtil.h" #include "PfcPathUti...
25.648
88
0.56623
[ "vector" ]
d02db56f54a4cffff17df7b2634898e2151d783c
106,840
cpp
C++
parser/preprocessed/SqlLexer_gen.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
null
null
null
parser/preprocessed/SqlLexer_gen.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
null
null
null
parser/preprocessed/SqlLexer_gen.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
1
2021-12-04T18:48:44.000Z
2021-12-04T18:48:44.000Z
#line 2 "SqlLexer_gen.cpp" #line 4 "SqlLexer_gen.cpp" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 39 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif /* Fir...
30.121229
136
0.620077
[ "object", "vector" ]
d02eecfaae2fa8a44d51224598068271360e3105
1,292
cpp
C++
day2_for_each.cpp
KuKuXia/30-Days-Plan-for-Practicing-C-Plus-Plus-11-STL
dddb1f3f6b43b628b87dcb26b72495e5c7d19e55
[ "MIT" ]
null
null
null
day2_for_each.cpp
KuKuXia/30-Days-Plan-for-Practicing-C-Plus-Plus-11-STL
dddb1f3f6b43b628b87dcb26b72495e5c7d19e55
[ "MIT" ]
null
null
null
day2_for_each.cpp
KuKuXia/30-Days-Plan-for-Practicing-C-Plus-Plus-11-STL
dddb1f3f6b43b628b87dcb26b72495e5c7d19e55
[ "MIT" ]
null
null
null
// // Created by LongXiaJun on 2018/12/8 0008. // #include <vector> #include <algorithm> #include <iostream> #include "day2_for_each.h" namespace demo_for_each { namespace definition_for_each { // Possible Definition template<typename InputIt, typename UnaryFunction> UnaryFunction for_ea...
24.377358
78
0.51935
[ "object", "vector" ]
d02f415cf74fb92d8a3d661a34fff4dfd2bf2d15
160,956
hpp
C++
extras/lzma_c.hpp
SSBMTonberry/pocketlzma
46c5ca4071dee47025acd95d01c71032e53bef74
[ "BSD-2-Clause" ]
5
2021-02-19T19:10:33.000Z
2022-01-22T07:46:14.000Z
extras/lzma_c.hpp
SSBMTonberry/pocketlzma
46c5ca4071dee47025acd95d01c71032e53bef74
[ "BSD-2-Clause" ]
null
null
null
extras/lzma_c.hpp
SSBMTonberry/pocketlzma
46c5ca4071dee47025acd95d01c71032e53bef74
[ "BSD-2-Clause" ]
null
null
null
/*! * Public Domain * * This is a slightly modified cross-platform single-header version of Igor Pavlov's C-implementation of LZMA. * This is released under Public Domain to honor Igor Pavlov's hard work, which he himself put under Public Domain * for all of us to use as we please. So all credit for the LZMA l...
24.077188
150
0.648941
[ "object", "3d" ]
d02f901a05c2e3e2d3e920712388d186add03b4a
5,285
cpp
C++
examples_oldgl_glfw/105_MeshSlices/main.cpp
nobuyuki83/delfem2
118768431ccc5b77ed10b8f76f625d38e0b552f0
[ "MIT" ]
153
2018-08-16T21:51:33.000Z
2022-03-28T10:34:48.000Z
examples_oldgl_glfw/105_MeshSlices/main.cpp
nobuyuki83/delfem2
118768431ccc5b77ed10b8f76f625d38e0b552f0
[ "MIT" ]
63
2018-08-16T21:53:34.000Z
2022-02-22T13:50:34.000Z
examples_oldgl_glfw/105_MeshSlices/main.cpp
nobuyuki83/delfem2
118768431ccc5b77ed10b8f76f625d38e0b552f0
[ "MIT" ]
18
2018-12-17T05:39:15.000Z
2021-11-16T08:21:16.000Z
/* * Copyright (c) 2019 Nobuyuki Umetani * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <vector> #include <string> #include <cassert> #include <cstdlib> #include <set> #include <filesystem> #if defined(_WIN32) // windows # ...
29.361111
92
0.596973
[ "vector" ]
d032190ef49d3a535c1927829089b72ed05a4f79
1,788
cc
C++
test/ast_reader/test_ast_reader_libtooling.cc
onah/ciana
9edce752bae39618adb3a9192ed2499ce6d61a81
[ "MIT" ]
null
null
null
test/ast_reader/test_ast_reader_libtooling.cc
onah/ciana
9edce752bae39618adb3a9192ed2499ce6d61a81
[ "MIT" ]
null
null
null
test/ast_reader/test_ast_reader_libtooling.cc
onah/ciana
9edce752bae39618adb3a9192ed2499ce6d61a81
[ "MIT" ]
null
null
null
#include "ast_reader_libtooling.h" #include "location.h" #include <gtest/gtest.h> #include <fstream> #include <iostream> #include <vector> class ASTReaderLibToolingTest : public ::testing::Test { protected: virtual void SetUp() { const std::string FileName = ".cianarc"; std::ofstream File; File.open(F...
25.913043
103
0.685682
[ "vector" ]
d037b83cb3d8c9d1dcfe18585989fc43064fbb83
10,244
cpp
C++
optimal_control_casadi/UpAndDownBow.cpp
Carla-Ferreira/ViolinOptimalControl
6a0d1e1880b845ce15b6d6b9412b60acb1a6f55f
[ "MIT" ]
3
2019-07-02T13:37:14.000Z
2022-03-31T17:29:31.000Z
optimal_control_casadi/UpAndDownBow.cpp
Carla-Ferreira/ViolinOptimalControl
6a0d1e1880b845ce15b6d6b9412b60acb1a6f55f
[ "MIT" ]
1
2020-04-16T02:21:49.000Z
2020-04-16T02:21:49.000Z
optimal_control_casadi/UpAndDownBow.cpp
Carla-Ferreira/ViolinOptimalControl
6a0d1e1880b845ce15b6d6b9412b60acb1a6f55f
[ "MIT" ]
11
2019-04-23T15:14:07.000Z
2021-04-02T15:05:49.000Z
// C++ (and CasADi) from here on #include <casadi.hpp> #include "utils.h" #include "biorbdCasadi_interface_common.h" #include "AnimationCallback.h" #include "biorbd.h" extern biorbd::Model m; biorbd::Model m("../../models/BrasViolon.bioMod"); const std::string optimizationName("UpAndDowsBowCasadi"); const ViolinStri...
40.490119
118
0.687134
[ "vector", "model" ]
d03f976f8e0a941225adabb805f7ba0257a3e6bc
36,054
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/widget/DatePickerCalendarDelegate.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/widget/DatePickerCalendarDelegate.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/widget/DatePickerCalendarDelegate.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
33.790066
115
0.689299
[ "object" ]
d042ca7db4f67b301f191963036ef24a07329c51
9,474
cpp
C++
Samples/UWP/D3D12PipelineStateCache/src/PSOLibrary.cpp
dsrour/DSX2
e3489ff4bc3d49ed00480b4a6eb14ac08f6f98e7
[ "MIT" ]
52
2016-01-26T18:22:02.000Z
2022-02-12T05:22:02.000Z
Samples/UWP/D3D12PipelineStateCache/src/PSOLibrary.cpp
dsrour/DSX2
e3489ff4bc3d49ed00480b4a6eb14ac08f6f98e7
[ "MIT" ]
1
2019-07-14T07:22:52.000Z
2019-07-14T07:22:52.000Z
Samples/UWP/D3D12PipelineStateCache/src/PSOLibrary.cpp
dsrour/DSX2
e3489ff4bc3d49ed00480b4a6eb14ac08f6f98e7
[ "MIT" ]
22
2016-01-27T05:07:27.000Z
2021-12-09T19:19:06.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
28.622356
136
0.703188
[ "3d" ]
d043cabc2fdc25dfcb1eaf2258424530fd329a51
401,421
cxx
C++
PWGHF/vertexingHF/TMVA/LHC19c2a_TMVAClassification_BDT_2_4.class.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
PWGHF/vertexingHF/TMVA/LHC19c2a_TMVAClassification_BDT_2_4.class.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
PWGHF/vertexingHF/TMVA/LHC19c2a_TMVAClassification_BDT_2_4.class.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
#include "LHC19c2a_TMVAClassification_BDT_2_4.class.h" double ReadBDT_LHC19c2a_2_4::GetMvaValue__( const std::vector<double>& inputValues ) const { double myMVA = 0; double norm = 0; for (unsigned int itree=0; itree<fForest.size(); itree++){ BDTNode *current = fForest[itree]; while (current->GetN...
14.807665
100
0.4939
[ "vector" ]
d0446b55ae610b148eee7008f71a392eea47481d
1,306
cpp
C++
src/Parser.cpp
kbiscanic/bioinformatics
b6fd4344efa465578a9dcbdbc5a7dfd6ce722744
[ "MIT" ]
null
null
null
src/Parser.cpp
kbiscanic/bioinformatics
b6fd4344efa465578a9dcbdbc5a7dfd6ce722744
[ "MIT" ]
null
null
null
src/Parser.cpp
kbiscanic/bioinformatics
b6fd4344efa465578a9dcbdbc5a7dfd6ce722744
[ "MIT" ]
null
null
null
#include "Parser.hpp" #include <iostream> // contructor for parser; takes string filename which should be full path to .fa // file Parser::Parser(const char* filename) { Parser::in_.open(filename, ifstream::in); }; // destructor, close input stream on destruction Parser::~Parser() { in_.close(); } //...
22.135593
81
0.594181
[ "vector" ]
d04df9ab9e51762fcd9fd4a0c27866746c3e39a4
7,169
cxx
C++
panda/src/parametrics/nurbsCurveEvaluator.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/parametrics/nurbsCurveEvaluator.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/parametrics/nurbsCurveEvaluator.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * 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. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file nurbsCurveEvaluator.cxx...
25.880866
86
0.668434
[ "object", "vector", "transform", "3d" ]
d04e45c307140646eeb726e5125a803c4cb8cb8b
9,264
cc
C++
ydin/PiiThreadedProcessor.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-19T22:14:18.000Z
2020-04-13T23:27:20.000Z
ydin/PiiThreadedProcessor.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
null
null
null
ydin/PiiThreadedProcessor.cc
topiolli/into
f0a47736f5c93dd32e89e7aad34152ae1afc5583
[ "BSD-3-Clause" ]
14
2015-01-16T05:43:15.000Z
2019-01-29T07:57:11.000Z
/* This file is part of Into. * Copyright (C) Intopii 2013. * All rights reserved. * * Licensees holding a commercial Into license may use this file in * accordance with the commercial license agreement. Please see * LICENSE.commercial for commercial licensing terms. * * Alternatively, this file may be used und...
32.391608
102
0.62921
[ "object" ]
d04f7238b0a959d3a854336c6be95be9da59803d
704
cpp
C++
Section 1/Section1SourceCode/Section1SourceCode/Powerup.cpp
PacktPublishing/Building-a-Multiplayer-3D-Platformer
11990930f0b1623272ba9f0df6fa6b476a0f7a6c
[ "MIT" ]
5
2019-10-10T21:10:57.000Z
2022-02-23T12:03:32.000Z
Section 5/Section5Source/Section5Source/Source/Powerup.cpp
PacktPublishing/Building-a-Multiplayer-3D-Platformer
11990930f0b1623272ba9f0df6fa6b476a0f7a6c
[ "MIT" ]
null
null
null
Section 5/Section5Source/Section5Source/Source/Powerup.cpp
PacktPublishing/Building-a-Multiplayer-3D-Platformer
11990930f0b1623272ba9f0df6fa6b476a0f7a6c
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "MasteringUnreal.h" #include "BaseCharacter.h" #include "Powerup.h" void APowerup::CollectPickup_Implementation(ABaseCharacter * Character) { if (Role != ROLE_Authority) return; if (Character) { //add powerup to inventory C...
27.076923
102
0.761364
[ "mesh" ]
d059dc9560295f0d5050b94da8dea84bf6ed8912
729
cpp
C++
C++/Sets-STL.cpp
HarshitRuwali/HackerRank-Solutions
29c3ebd87723e1237866a551783bf62cf470d919
[ "MIT" ]
8
2020-07-16T12:17:16.000Z
2022-01-11T04:24:03.000Z
C++/Sets-STL.cpp
HarshitRuwali/HackerRank-Solutions
29c3ebd87723e1237866a551783bf62cf470d919
[ "MIT" ]
null
null
null
C++/Sets-STL.cpp
HarshitRuwali/HackerRank-Solutions
29c3ebd87723e1237866a551783bf62cf470d919
[ "MIT" ]
5
2020-11-30T17:40:15.000Z
2022-02-28T11:26:59.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <set> #include <algorithm> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ set<int>s; int n; cin>>n; for (int i = 0; i< n; i++){ int x, c; ...
20.25
78
0.396433
[ "vector" ]
d05a383e070f0eeabaaa8bd17b25482e5be54110
7,185
hpp
C++
inc/assembly_report/assembly_report.hpp
CholoTook/vcf-validator
6ebc7b785235151c460fba26a572db8d36db7d7f
[ "Apache-2.0" ]
115
2015-10-10T16:44:02.000Z
2022-03-17T12:21:19.000Z
inc/assembly_report/assembly_report.hpp
CholoTook/vcf-validator
6ebc7b785235151c460fba26a572db8d36db7d7f
[ "Apache-2.0" ]
122
2015-10-01T12:11:32.000Z
2021-11-30T13:36:16.000Z
inc/assembly_report/assembly_report.hpp
CholoTook/vcf-validator
6ebc7b785235151c460fba26a572db8d36db7d7f
[ "Apache-2.0" ]
34
2016-05-03T14:20:13.000Z
2022-02-17T12:10:17.000Z
/** * Copyright 2014-2018 EMBL - European Bioinformatics Institute * * 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 require...
36.287879
123
0.555045
[ "vector" ]
d06375871a9b098e23d5f46149926da34bffc303
5,901
cc
C++
FTGU_Windows/player/player.cc
zzhang10/FromTheGroundUp
5ffd52210bcdba92ca0efb75f85f46cf5ecaabca
[ "MIT" ]
null
null
null
FTGU_Windows/player/player.cc
zzhang10/FromTheGroundUp
5ffd52210bcdba92ca0efb75f85f46cf5ecaabca
[ "MIT" ]
null
null
null
FTGU_Windows/player/player.cc
zzhang10/FromTheGroundUp
5ffd52210bcdba92ca0efb75f85f46cf5ecaabca
[ "MIT" ]
null
null
null
#include "player.h" #include <iostream> #include <sstream> #include "../display/cell.h" #include "../item/item.h" #include "../globalSettings.h" using namespace std; Player::Player(int x, int y, int h, int d, int a, string race) : Subject(y, x, false, true, global__displayPlayer), health{h}, defense{d}, attack{a...
28.645631
82
0.541434
[ "vector" ]
d066cfdd516840c30f0d03c9d93248d0a206f391
3,306
cpp
C++
benchmark/benchmark.cpp
hunter-packages/thread-pool-cpp
32f7a84208412e3dc2b4f43d93978bf2d688761e
[ "MIT" ]
2
2016-10-11T08:53:16.000Z
2017-05-13T19:23:19.000Z
benchmark/benchmark.cpp
hunter-packages/thread-pool-cpp
32f7a84208412e3dc2b4f43d93978bf2d688761e
[ "MIT" ]
null
null
null
benchmark/benchmark.cpp
hunter-packages/thread-pool-cpp
32f7a84208412e3dc2b4f43d93978bf2d688761e
[ "MIT" ]
3
2016-07-08T18:23:48.000Z
2021-07-01T07:43:47.000Z
#include <thread_pool/thread_pool.hpp> #include <iostream> #include <chrono> #include <thread> #include <vector> #include <future> using namespace tp; using ThreadPoolStd = ThreadPool<>; static const std::size_t CONCURRENCY = 16; static const std::size_t REPOST_COUNT = 1000000; struct Heavy { bool verbose; ...
22.8
79
0.484271
[ "vector" ]
d06730bb323c4aef95e47359d879fa6efda49792
42,088
cpp
C++
B2G/gecko/layout/style/nsTransitionManager.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/layout/style/nsTransitionManager.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/layout/style/nsTransitionManager.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at...
36.984183
108
0.65546
[ "object" ]
d068c80ca5237c421e8d1afb5d4bed52259cdef1
4,454
hpp
C++
src/algorithms/apply_voronoi.hpp
jonancm/viennagrid-python
a56f23ab65cf82b2f06ff546d45c056bb9d326b2
[ "MIT" ]
null
null
null
src/algorithms/apply_voronoi.hpp
jonancm/viennagrid-python
a56f23ab65cf82b2f06ff546d45c056bb9d326b2
[ "MIT" ]
1
2015-05-13T08:28:52.000Z
2015-05-13T08:28:52.000Z
src/algorithms/apply_voronoi.hpp
jonancm/viennagrid-python
a56f23ab65cf82b2f06ff546d45c056bb9d326b2
[ "MIT" ]
null
null
null
/** * Copyright (c) 2013 Jonan Cruz-Martin * * Distributed under the terms of the MIT license, see the accompanying * file COPYING or http://opensource.org/licenses/MIT. * * @file * @brief Implement algorithm `apply_voronoi`. */ #ifndef ALGORITHMS_APPLY_VORONOI_HPP #define ALGORITHMS_APPLY_VORONOI_HPP #incl...
21.516908
95
0.72115
[ "3d" ]
d069d46c390bdc1dff80e939e388df2877b165ed
2,115
cc
C++
be/src/util/benchmark-test.cc
suifengzhuliu/impala
611f4c6f3b18cfcddff3b2956cbb87c295a87655
[ "Apache-2.0" ]
1
2019-12-14T03:09:50.000Z
2019-12-14T03:09:50.000Z
be/src/util/benchmark-test.cc
suifengzhuliu/impala
611f4c6f3b18cfcddff3b2956cbb87c295a87655
[ "Apache-2.0" ]
null
null
null
be/src/util/benchmark-test.cc
suifengzhuliu/impala
611f4c6f3b18cfcddff3b2956cbb87c295a87655
[ "Apache-2.0" ]
1
2020-04-02T18:25:34.000Z
2020-04-02T18:25:34.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
27.828947
71
0.717258
[ "object" ]
d06c710ba0e401b74ff8614a06accb55f19b20ed
15,016
hpp
C++
include/Sora/Parser/Parser.hpp
jamboree/Sora
a75c96452857109e90ff61771991415d880b5b37
[ "MIT" ]
null
null
null
include/Sora/Parser/Parser.hpp
jamboree/Sora
a75c96452857109e90ff61771991415d880b5b37
[ "MIT" ]
null
null
null
include/Sora/Parser/Parser.hpp
jamboree/Sora
a75c96452857109e90ff61771991415d880b5b37
[ "MIT" ]
null
null
null
//===--- Parser.hpp - Sora Language Parser ----------------------*- C++ -*-===// // Part of the Sora project, licensed under the MIT license. // See LICENSE.txt in the project root for license information. // // Copyright (c) 2019 Pierre van Houtryve //===----------------------------------------------------------------...
36.894349
80
0.660895
[ "object" ]
d075aaa2876de98b11d1408c425c7a212b02b7e8
35,229
cpp
C++
bcaaxmlreader.cpp
rdffg/bcaa_importer
f92e0b39673b5c557540154d4567c53a15adadcd
[ "Apache-2.0" ]
null
null
null
bcaaxmlreader.cpp
rdffg/bcaa_importer
f92e0b39673b5c557540154d4567c53a15adadcd
[ "Apache-2.0" ]
2
2019-05-07T22:49:31.000Z
2021-08-20T20:03:53.000Z
bcaaxmlreader.cpp
rdffg/bcaa_importer
f92e0b39673b5c557540154d4567c53a15adadcd
[ "Apache-2.0" ]
null
null
null
#include "bcaaxmlreader.h" //#include "DataAdvice.hxx" #include <memory> #include <QDebug> #include <ios> #include "QDjango.h" #include "model/model.h" #include "saveerror.h" #include "QDjangoQuerySet.h" #include "QSqlDatabase" BcaaXmlReader::BcaaXmlReader(QString filePath, QObject *parent) : QObject(pare...
65.97191
197
0.355304
[ "model" ]
4ee800796c5d7babf22bb97b13f4264992e71e69
622
hpp
C++
converter/inc/wavefront/ObjectReader.hpp
LarsHagemann/OrbitEngine
33e01efaac617c53a701f01729581932fc81e8bf
[ "MIT" ]
null
null
null
converter/inc/wavefront/ObjectReader.hpp
LarsHagemann/OrbitEngine
33e01efaac617c53a701f01729581932fc81e8bf
[ "MIT" ]
2
2022-01-18T21:31:01.000Z
2022-01-20T21:02:09.000Z
converter/inc/wavefront/ObjectReader.hpp
LarsHagemann/OrbitEngine
33e01efaac617c53a701f01729581932fc81e8bf
[ "MIT" ]
null
null
null
#pragma once #include "Reader.hpp" #include "orb/OrbIntermediate.hpp" #include <filesystem> namespace orbtool { namespace fs = std::filesystem; class WFObjectReader : public Reader { private: bool m_warnOnQuad = true; bool m_triangulating = false; std::vector<Vector3f> m_posi...
23.037037
88
0.654341
[ "vector" ]