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
9cebaef221d0202e0896d0835fd19c401414bc97
1,046
cpp
C++
test/integration/executor/executor_fixture_param_provider.cpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
test/integration/executor/executor_fixture_param_provider.cpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
test/integration/executor/executor_fixture_param_provider.cpp
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "integration/executor/executor_fixture_param_provider.hpp" #include "integration/executor/executor_fixture_param.hpp" #include "integration/executor/executor_fixture_param_postgres.hpp" #include "integration/...
33.741935
80
0.739006
[ "vector" ]
9ceedaafd3bf3e3032a33017e935ef07357202a5
3,285
cpp
C++
RLSimion/Lib/utils.cpp
xcillero001/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
1
2019-02-21T10:40:28.000Z
2019-02-21T10:40:28.000Z
RLSimion/Lib/utils.cpp
JosuGom3z/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
null
null
null
RLSimion/Lib/utils.cpp
JosuGom3z/SimionZoo
b343b08f3356e1aa230d4132b0abb58aac4c5e98
[ "MIT" ]
null
null
null
#include "utils.h" #include "config.h" #include <algorithm> #include <fstream> Table::Table() { } Table::~Table() { } unsigned int parseHeader(const char* pInputString, vector<double>& outVector, char delimChar= '\t') { unsigned int numParsedValues = 0; if (!pInputString) return 0; const char* pt = pInputString;...
23.297872
99
0.660274
[ "vector" ]
9cef4528a84e90d15303bd7bcd182e43866a49d0
3,530
cpp
C++
Engine/src/renderer/geometry/ObjLoader.cpp
Owlinated/SkyHockey
787a7fa6c4cd1773c5a5c7e15e014f675947a21e
[ "MIT" ]
null
null
null
Engine/src/renderer/geometry/ObjLoader.cpp
Owlinated/SkyHockey
787a7fa6c4cd1773c5a5c7e15e014f675947a21e
[ "MIT" ]
null
null
null
Engine/src/renderer/geometry/ObjLoader.cpp
Owlinated/SkyHockey
787a7fa6c4cd1773c5a5c7e15e014f675947a21e
[ "MIT" ]
null
null
null
#include <memory> #include <vector> #include <cstdio> #include <string> #include <map> #include <tuple> #include <cstring> #include <glm/glm.hpp> #include <stdexcept> #include <iostream> #include <tiny_obj_loader.h> #include <src/support/Logger.h> #include "ObjLoader.h" /** * Create a new loader to loa...
33.942308
122
0.632861
[ "mesh", "object", "shape", "vector" ]
9cf38918e4de64223ff5b04d1daa5a6a5b8d6912
8,316
hpp
C++
include/yaarc/Value.hpp
Cookieverse/yaarc
3e61c1cdb80a766f821249fcf4d6d72b19e247d2
[ "BSL-1.0" ]
null
null
null
include/yaarc/Value.hpp
Cookieverse/yaarc
3e61c1cdb80a766f821249fcf4d6d72b19e247d2
[ "BSL-1.0" ]
null
null
null
include/yaarc/Value.hpp
Cookieverse/yaarc
3e61c1cdb80a766f821249fcf4d6d72b19e247d2
[ "BSL-1.0" ]
null
null
null
#pragma clang diagnostic push #pragma ide diagnostic ignored "google-explicit-constructor" #pragma ide diagnostic ignored "cppcoreguidelines-pro-type-member-init" #ifndef YAARC_VALUE_HPP #define YAARC_VALUE_HPP #include <new> #include <string_view> #include <vector> #include <stdexcept> #include <fmt/format.h> #includ...
25.509202
98
0.63961
[ "vector" ]
9cf6bee91e8338bf8b3b7f3abc8488b0d6e9fc34
28,935
cc
C++
src/storage.cc
caipengbo/kvrocks-annotated
a9b186bb8671304686747f2eedeb5b58dd2890bf
[ "BSD-3-Clause" ]
null
null
null
src/storage.cc
caipengbo/kvrocks-annotated
a9b186bb8671304686747f2eedeb5b58dd2890bf
[ "BSD-3-Clause" ]
null
null
null
src/storage.cc
caipengbo/kvrocks-annotated
a9b186bb8671304686747f2eedeb5b58dd2890bf
[ "BSD-3-Clause" ]
null
null
null
#include "storage.h" #include <fcntl.h> #include <sys/stat.h> #include <iostream> #include <memory> #include <algorithm> #include <event2/buffer.h> #include <glog/logging.h> #include <rocksdb/filter_policy.h> #include <rocksdb/table.h> #include <rocksdb/sst_file_manager.h> #include <rocksdb/utilities/table_properties_...
39.313859
117
0.705754
[ "vector" ]
9cf748b9216862541150b0eaab3eded4f6cd88db
6,698
hpp
C++
sprout/darkroom/renderers/whitted_style.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/darkroom/renderers/whitted_style.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
sprout/darkroom/renderers/whitted_style.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_DARKROOM_RENDERERS_WHITTED_STYLE_HPP #define SPROUT_DARKROOM_RENDERERS_WHITTED_STYLE_HPP #include <cstddef> #include <limits> #include <type_traits> #include <sprout/config.hpp> #include <sprout/tuple/functions.hpp> #include <sprout/darkroom/access/access.hpp> #include <sprout/darkroom/colors/r...
32.995074
106
0.652135
[ "vector" ]
9cf904072e9f2cf5e07dc4f1cefaf0eae7d8eda8
2,161
hpp
C++
src/mlpack/methods/lmnn/lmnn_impl.hpp
steva44/mlpack
a766ea292e968f0cf1783f8293f36f47510fc6ad
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2021-08-10T01:10:46.000Z
2022-01-09T06:54:11.000Z
src/mlpack/methods/lmnn/lmnn_impl.hpp
steva44/mlpack
a766ea292e968f0cf1783f8293f36f47510fc6ad
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2020-06-21T17:36:46.000Z
2020-08-07T07:16:01.000Z
src/mlpack/methods/lmnn/lmnn_impl.hpp
steva44/mlpack
a766ea292e968f0cf1783f8293f36f47510fc6ad
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-06-05T13:27:26.000Z
2020-06-23T09:44:31.000Z
/** * @file methods/lmnn/lmnn_impl.hpp * @author Manish Kumar * * Implementation of Large Margin Nearest Neighbor class. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with ...
30.43662
78
0.698751
[ "object" ]
9cf9eb8d9711594efcd228e20009233052dca49e
15,206
cc
C++
gearsBridge/lshw/src/core/usb.cc
SSEHUB/spassMeter
f5071105fec6f5afbbd7426b8149b7973c1a5e55
[ "Apache-2.0" ]
1
2015-08-06T08:48:12.000Z
2015-08-06T08:48:12.000Z
gearsBridge/lshw/src/core/usb.cc
SSEHUB/spassMeter
f5071105fec6f5afbbd7426b8149b7973c1a5e55
[ "Apache-2.0" ]
1
2018-05-08T12:17:23.000Z
2018-05-09T12:03:13.000Z
gearsBridge/lshw/src/core/usb.cc
SSEHUB/spassMeter
f5071105fec6f5afbbd7426b8149b7973c1a5e55
[ "Apache-2.0" ]
3
2015-09-26T22:19:40.000Z
2018-08-27T05:36:34.000Z
/* * usb.cc * */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include "version.h" #include "config.h" #include "usb.h" #include "osutils.h" #include "heuristics.h" #include "options.h" #include <stdio.h> #include <map> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <errno.h> #inclu...
30.110891
345
0.566618
[ "vector" ]
9cf9efcdbc5c2c6dbe9198f5423be0f2adef3ec2
6,814
cpp
C++
src/VM/ByteCodeChunk.cpp
sunverwerth/strela
e2aa305bd695deaec3bc0f1e32394af033ee0fdf
[ "MIT" ]
16
2019-03-22T14:20:14.000Z
2022-02-06T03:22:08.000Z
src/VM/ByteCodeChunk.cpp
MadHed/strela
e2aa305bd695deaec3bc0f1e32394af033ee0fdf
[ "MIT" ]
2
2018-04-15T10:59:17.000Z
2018-09-28T12:30:31.000Z
src/VM/ByteCodeChunk.cpp
MadHed/strela
e2aa305bd695deaec3bc0f1e32394af033ee0fdf
[ "MIT" ]
1
2021-01-02T18:00:36.000Z
2021-01-02T18:00:36.000Z
// Copyright (c) 2018 Stephan Unverwerth // This code is licensed under MIT license (See LICENSE for details) #include "ByteCodeChunk.h" #include "../exceptions.h" #include "../Ast/FuncDecl.h" #include "../Ast/FuncType.h" #include <string.h> namespace Strela { int ByteCodeChunk::addConstant(VMValue c) { ...
35.675393
162
0.555768
[ "object" ]
9cfe677345d2c2447df6b61d4dd6352baa693632
10,683
cpp
C++
ColliderBit/src/models/SUSY_extras.cpp
GambitBSM/gambit_2.0
a4742ac94a0352585a3b9dcb9b222048a5959b91
[ "Unlicense" ]
1
2021-09-17T22:53:26.000Z
2021-09-17T22:53:26.000Z
ColliderBit/src/models/SUSY_extras.cpp
GambitBSM/gambit_2.0
a4742ac94a0352585a3b9dcb9b222048a5959b91
[ "Unlicense" ]
3
2021-07-22T11:23:48.000Z
2021-08-22T17:24:41.000Z
ColliderBit/src/models/SUSY_extras.cpp
GambitBSM/gambit_2.0
a4742ac94a0352585a3b9dcb9b222048a5959b91
[ "Unlicense" ]
1
2021-08-14T10:31:41.000Z
2021-08-14T10:31:41.000Z
// GAMBIT: Global and Modular BSM Inference Tool // ********************************************* /// \file /// /// SUSY-specific sources for ColliderBit. /// /// ********************************************* /// /// Authors (add name and date if you modify): /// /// \author Anders Kvellestad /// (and...
35.374172
219
0.642048
[ "object", "vector", "model" ]
1402b9d7171c62a525673287bdefff7b4598eb25
10,911
cpp
C++
src/sv_simulator/SVsim.cpp
hsinnan75/Kart-SV
ddd092794fd7f751a436ede2f4d6211e02d2e4ce
[ "MIT" ]
35
2019-09-27T14:29:22.000Z
2022-03-27T20:02:08.000Z
src/sv_simulator/SVsim.cpp
hsinnan75/Kart-SV
ddd092794fd7f751a436ede2f4d6211e02d2e4ce
[ "MIT" ]
71
2019-09-27T14:19:56.000Z
2022-03-31T09:22:25.000Z
src/sv_simulator/SVsim.cpp
hsinnan75/Kart-SV
ddd092794fd7f751a436ede2f4d6211e02d2e4ce
[ "MIT" ]
5
2018-09-04T11:51:35.000Z
2020-01-07T05:26:45.000Z
#include <iostream> #include <fstream> #include <sstream> #include <cstdlib> #include <cstdio> #include <ctype.h> #include <cstring> #include <cmath> #include <ctime> #include <map> #include <vector> #include <algorithm> #define DOM 1000000 #define MutationBlock 3000 #define SNP_rate 3000 // SNPs # per...
35.891447
376
0.53469
[ "vector" ]
14039fb5a3ccf5835eb60282abb4401e585467b3
12,021
cc
C++
tensorflow/core/kernels/spacetobatch_op.cc
abhaikollara/tensorflow
4f96df3659696990cb34d0ad07dc67843c4225a9
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tensorflow/core/kernels/spacetobatch_op.cc
sseung0703/tensorflow
be084bd7a4dd241eb781fc704f57bcacc5c9b6dd
[ "Apache-2.0" ]
1,056
2019-12-15T01:20:31.000Z
2022-02-10T02:06:28.000Z
tensorflow/core/kernels/spacetobatch_op.cc
sseung0703/tensorflow
be084bd7a4dd241eb781fc704f57bcacc5c9b6dd
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/* Copyright 2016 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...
41.167808
80
0.631894
[ "shape" ]
1406e736a8ea4a0e2f84ba63bfb0e93cb537bde5
4,952
cpp
C++
voxgraph/src/frontend/map_tracker/map_tracker.cpp
supernlogn/voxgraph
bd802b5aee54e68e28c94d71cc0fbd7bdda98bd6
[ "BSD-2-Clause" ]
361
2020-04-28T09:47:42.000Z
2022-03-18T02:19:22.000Z
voxgraph/src/frontend/map_tracker/map_tracker.cpp
koide3/voxgraph
61eccede46aacb3041451e715a3e6291620f213c
[ "BSD-2-Clause" ]
35
2020-04-28T09:43:14.000Z
2022-03-15T12:20:04.000Z
voxgraph/src/frontend/map_tracker/map_tracker.cpp
koide3/voxgraph
61eccede46aacb3041451e715a3e6291620f213c
[ "BSD-2-Clause" ]
56
2020-04-28T09:58:07.000Z
2022-02-15T20:13:32.000Z
#include "voxgraph/frontend/map_tracker/map_tracker.h" #include <limits> #include <string> #include <utility> #include "voxgraph/tools/tf_helper.h" namespace voxgraph { MapTracker::MapTracker(VoxgraphSubmapCollection::ConstPtr submap_collection_ptr, FrameNames frame_names, bool verbose) : ...
37.233083
80
0.675283
[ "transform" ]
1406ed8a571794c39a48d24bc1e4748f3963f06e
4,159
cxx
C++
sw/3rd_party/VTK-7.1.0/Common/DataModel/vtkPerlinNoise.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
4
2019-05-30T01:52:12.000Z
2021-09-29T21:12:13.000Z
sw/3rd_party/VTK-7.1.0/Common/DataModel/vtkPerlinNoise.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
null
null
null
sw/3rd_party/VTK-7.1.0/Common/DataModel/vtkPerlinNoise.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
2
2019-08-30T23:36:13.000Z
2019-11-08T16:52:01.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkPerlinNoise.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This s...
27.912752
76
0.540995
[ "vector" ]
1407964579d67dc87f999d989a404aa0e34008ac
2,520
cpp
C++
tests/test_eigen_serialization.cpp
UM-ARM-Lab/arc_utilities
e21bd5062983b25e61e33f832ec66b937540ba10
[ "BSD-2-Clause" ]
10
2017-01-09T14:37:14.000Z
2022-03-16T08:02:08.000Z
tests/test_eigen_serialization.cpp
UM-ARM-Lab/arc_utilities
e21bd5062983b25e61e33f832ec66b937540ba10
[ "BSD-2-Clause" ]
62
2017-05-25T16:52:38.000Z
2022-03-08T20:05:09.000Z
tests/test_eigen_serialization.cpp
UM-ARM-Lab/arc_utilities
e21bd5062983b25e61e33f832ec66b937540ba10
[ "BSD-2-Clause" ]
7
2017-08-04T13:06:17.000Z
2022-03-16T08:02:11.000Z
#include <gtest/gtest.h> #include "arc_utilities/serialization_eigen.hpp" template <typename Scalar, int _Rows> void testFloatVectors(const size_t num_tests, const ssize_t rows = -1) { typedef Eigen::Matrix<Scalar, _Rows, 1> EigenType; for (size_t idx = 0; idx < num_tests; ++idx) { EigenType vec; if (_Ro...
36
101
0.719048
[ "vector" ]
1409a29066ab46eb5635f818947a225e65c66ed3
1,280
cpp
C++
Codingame/CPP/SinglePlayer/Medium/Conway Sequence.cpp
MoonAntonio/codingame
4efdd8176163eb4fc5e246a9662a8c42bc0e8647
[ "Unlicense" ]
null
null
null
Codingame/CPP/SinglePlayer/Medium/Conway Sequence.cpp
MoonAntonio/codingame
4efdd8176163eb4fc5e246a9662a8c42bc0e8647
[ "Unlicense" ]
null
null
null
Codingame/CPP/SinglePlayer/Medium/Conway Sequence.cpp
MoonAntonio/codingame
4efdd8176163eb4fc5e246a9662a8c42bc0e8647
[ "Unlicense" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <cassert> using namespace std; /** * Auto-generated code below aims at helping you parse * the standard input according to the problem statement. **/ int main() { int R; cin >> R; cin.ignore(); int L; cin >> L; ci...
23.272727
57
0.451563
[ "vector" ]
140e4c63830204cf04746d9ed9a552044ee820b1
4,084
cpp
C++
src/qt/qtwebkit/Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2015-05-27T13:52:20.000Z
2015-05-27T13:52:20.000Z
src/qt/qtwebkit/Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebKit2/WebProcess/Geolocation/WebGeolocationManager.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2022-02-18T10:41:38.000Z
2022-02-18T10:41:38.000Z
/* * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
36.464286
301
0.75
[ "vector" ]
140ea5a91472ec0c7e1e64b665339ff9df4207f8
11,261
cc
C++
tests/ut/cpp/dataset/c_api_dataset_places365_test.cc
mindspore-ai/mindspore
a9fbb25530a2874166ff0045ddcdfc73207bf5eb
[ "Apache-2.0" ]
3,200
2020-02-17T12:45:41.000Z
2022-03-31T20:21:16.000Z
tests/ut/cpp/dataset/c_api_dataset_places365_test.cc
mindspore-ai/mindspore
a9fbb25530a2874166ff0045ddcdfc73207bf5eb
[ "Apache-2.0" ]
176
2020-02-12T02:52:11.000Z
2022-03-28T22:15:55.000Z
tests/ut/cpp/dataset/c_api_dataset_places365_test.cc
mindspore-ai/mindspore
a9fbb25530a2874166ff0045ddcdfc73207bf5eb
[ "Apache-2.0" ]
621
2020-03-09T01:31:41.000Z
2022-03-30T03:43:19.000Z
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
36.800654
117
0.726312
[ "shape", "vector" ]
14119ddf93f87f84423c129620da8c9db201ec0e
1,108
cpp
C++
geometry/polygon_width.cpp
ACM-CUBA/Team-Reference
0ffa66be3ebed7a0c34dfffc19c9189d9435b182
[ "Apache-2.0" ]
3
2019-04-12T16:24:59.000Z
2022-03-30T20:21:31.000Z
geometry/polygon_width.cpp
ACM-CUBA/TR
0ffa66be3ebed7a0c34dfffc19c9189d9435b182
[ "Apache-2.0" ]
3
2018-04-01T22:41:51.000Z
2018-04-02T21:20:42.000Z
geometry/polygon_width.cpp
ACM-CUBA/TR
0ffa66be3ebed7a0c34dfffc19c9189d9435b182
[ "Apache-2.0" ]
2
2019-04-12T16:25:04.000Z
2019-09-22T20:28:11.000Z
/* Algorithm: Compute the width of a convex polygon Complexity: O(n) Tested: https://icpcarchive.ecs.baylor.edu/index.php?option=onlinejudge&page=show_problem&problem=3139 */ #include <geometry/basics.cpp> const int oo = 1e9; // adjust double check(int a, int b, int c, int d, co...
21.307692
102
0.527076
[ "geometry" ]
1412f2abbe9c42d4913b7c1c34aff5baaf64d6c8
9,003
cpp
C++
src/gpu/d3d/GrD3DPipelineState.cpp
roylanceMichael/skia
68a09699e94237b4b4d3376de620c3cc3c141177
[ "BSD-3-Clause" ]
1
2021-11-18T17:03:57.000Z
2021-11-18T17:03:57.000Z
src/gpu/d3d/GrD3DPipelineState.cpp
roylanceMichael/skia
68a09699e94237b4b4d3376de620c3cc3c141177
[ "BSD-3-Clause" ]
null
null
null
src/gpu/d3d/GrD3DPipelineState.cpp
roylanceMichael/skia
68a09699e94237b4b4d3376de620c3cc3c141177
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2020 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/d3d/GrD3DPipelineState.h" #include "include/private/SkTemplates.h" #include "src/gpu/GrFragmentProcessor.h" #include "src/gpu/GrGeometryProcessor.h" #include...
48.929348
99
0.679662
[ "vector" ]
141401122b685e03b5ee674b394ba3580d108d9c
1,223
cpp
C++
c++/binary_tree_right_side_view.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/binary_tree_right_side_view.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
c++/binary_tree_right_side_view.cpp
SongZhao/leetcode
4a2b4f554e91f6a2167b336f8a69b80fa9f3f920
[ "Apache-2.0" ]
null
null
null
/* Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. For example: Given the following binary tree, 1 <--- / \ 2 3 <--- \ \ 5 4 <--- You should return [1, 3, 4]. */ /* * */ #in...
21.086207
114
0.535568
[ "vector" ]
1416cafa915c0438827756c1ffd3c558f44a20be
5,332
cpp
C++
aws-cpp-sdk-iotsecuretunneling/source/model/Tunnel.cpp
grujicbr/aws-sdk-cpp
bdd43c178042f09c6739645e3f6cd17822a7c35c
[ "Apache-2.0" ]
1
2020-03-11T05:36:20.000Z
2020-03-11T05:36:20.000Z
aws-cpp-sdk-iotsecuretunneling/source/model/Tunnel.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-iotsecuretunneling/source/model/Tunnel.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 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" fil...
23.488987
92
0.736497
[ "model" ]
1418ee748a9885affe143a0e8d9d41d4104376c4
524
cpp
C++
src/sdk/model/transaction/address_alias_transaction.cpp
proximax-storage/cpp-xpx-chain-sdk
ff562e8a089849eb0b7f8edc83ad61c7a2728f34
[ "Apache-2.0" ]
1
2019-12-06T06:55:37.000Z
2019-12-06T06:55:37.000Z
src/sdk/model/transaction/address_alias_transaction.cpp
proximax-storage/cpp-xpx-chain-sdk
ff562e8a089849eb0b7f8edc83ad61c7a2728f34
[ "Apache-2.0" ]
null
null
null
src/sdk/model/transaction/address_alias_transaction.cpp
proximax-storage/cpp-xpx-chain-sdk
ff562e8a089849eb0b7f8edc83ad61c7a2728f34
[ "Apache-2.0" ]
null
null
null
/** *** Copyright 2019 ProximaX Limited. All rights reserved. *** Use of this source code is governed by the Apache 2.0 *** license that can be found in the LICENSE file. **/ #include <xpxchaincpp/model/transaction/address_alias_transaction.h> namespace xpx_chain_sdk { template<typename TBase> const Address& TAddr...
27.578947
71
0.78626
[ "model" ]
141a6161669a7caa59f374776a77a0859c869dbf
1,299
cc
C++
RecoTracker/TkHitPairs/src/CosmicHitPairGenerator.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoTracker/TkHitPairs/src/CosmicHitPairGenerator.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
RecoTracker/TkHitPairs/src/CosmicHitPairGenerator.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
//#include "RecoTracker/TkHitPairs/interface/LayerWithHits.h" #include "RecoTracker/TkHitPairs/interface/CosmicHitPairGenerator.h" #include "RecoTracker/TkHitPairs/interface/SeedLayerPairs.h" #include "RecoTracker/TkHitPairs/interface/CosmicHitPairGeneratorFromLayerPair.h" #include "FWCore/MessageLogger/interface/Messa...
25.98
104
0.742109
[ "vector" ]
141d436117c3670f90f8ab4288d3709a2e356324
3,019
hpp
C++
src/Illusion/Graphics/Swapchain.hpp
Simmesimme/illusion-3d
48520d87ea0677bb8852b20bb6fbfbe1a49402d2
[ "MIT" ]
8
2019-12-05T15:57:23.000Z
2022-01-19T19:37:23.000Z
src/Illusion/Graphics/Swapchain.hpp
Schneegans/illusion
48520d87ea0677bb8852b20bb6fbfbe1a49402d2
[ "MIT" ]
null
null
null
src/Illusion/Graphics/Swapchain.hpp
Schneegans/illusion
48520d87ea0677bb8852b20bb6fbfbe1a49402d2
[ "MIT" ]
1
2019-01-15T10:35:13.000Z
2019-01-15T10:35:13.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // // // _) | | _) This code may be used and modified under the terms // // | | | |...
43.128571
100
0.533952
[ "vector" ]
141f0ad57622bcd718601cc01c63c5380c61490b
38,589
cpp
C++
visa/BinaryEncodingIGA.cpp
scott-snyder/intel-graphics-compiler
0977554d5aecf93b4a777f38e6c2e73e4dea313e
[ "MIT" ]
null
null
null
visa/BinaryEncodingIGA.cpp
scott-snyder/intel-graphics-compiler
0977554d5aecf93b4a777f38e6c2e73e4dea313e
[ "MIT" ]
null
null
null
visa/BinaryEncodingIGA.cpp
scott-snyder/intel-graphics-compiler
0977554d5aecf93b4a777f38e6c2e73e4dea313e
[ "MIT" ]
null
null
null
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 Intel Corporation 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, includi...
32.400504
126
0.503278
[ "model" ]
1422982b6dfbe615bd87f2962b7e429b7353a738
364,704
cpp
C++
fem/fe.cpp
shahzebsiddiqui/mfem
08b339303b11b98a1aa3db5e04369a6405d4ca5a
[ "BSD-3-Clause" ]
null
null
null
fem/fe.cpp
shahzebsiddiqui/mfem
08b339303b11b98a1aa3db5e04369a6405d4ca5a
[ "BSD-3-Clause" ]
null
null
null
fem/fe.cpp
shahzebsiddiqui/mfem
08b339303b11b98a1aa3db5e04369a6405d4ca5a
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
27.963809
104
0.48008
[ "mesh", "geometry", "object", "shape", "vector", "transform", "3d" ]
1424d8273e072ba31f94440922002ddd00924734
36,543
cpp
C++
Framework/Sources/o2/Scene/UI/Widget.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
181
2015-12-09T08:53:36.000Z
2022-03-26T20:48:39.000Z
Framework/Sources/o2/Scene/UI/Widget.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
29
2016-04-22T08:24:04.000Z
2022-03-06T07:06:28.000Z
Framework/Sources/o2/Scene/UI/Widget.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
13
2018-04-24T17:12:04.000Z
2021-11-12T23:49:53.000Z
#include "o2/stdafx.h" #include "Widget.h" #include "o2/Application/Input.h" #include "o2/Render/Render.h" #include "o2/Scene/Scene.h" #include "o2/Scene/SceneLayer.h" #include "o2/Scene/UI/UIManager.h" #include "o2/Scene/UI/WidgetLayer.h" #include "o2/Scene/UI/WidgetLayout.h" #include "o2/Scene/UI/WidgetState.h" nam...
21.357686
129
0.70194
[ "render", "object", "vector", "transform" ]
142894b69aee5ca04b6cba1095563e9bc461d582
2,828
cpp
C++
haksaengine/haksaengine/ecs/collision_response.cpp
Skarmory/haksaengine
c41aefd24d11f1c1e8f4d7eac02083307c792f05
[ "MIT" ]
1
2019-01-07T19:23:07.000Z
2019-01-07T19:23:07.000Z
haksaengine/haksaengine/ecs/collision_response.cpp
Skarmory/haksaengine
c41aefd24d11f1c1e8f4d7eac02083307c792f05
[ "MIT" ]
null
null
null
haksaengine/haksaengine/ecs/collision_response.cpp
Skarmory/haksaengine
c41aefd24d11f1c1e8f4d7eac02083307c792f05
[ "MIT" ]
null
null
null
#include "ecs/collision_response.h" #include "services.h" #include "ecs/collider.h" #include "ecs/movement.h" CollisionResponse::CollisionResponse(SystemOrdering order) : System(order) { } void CollisionResponse::update(float delta) { // This system is very simple right now, and is not designed as a fully function...
31.775281
103
0.708274
[ "object", "vector", "transform" ]
142c7bb65ddb4f991d7bc2aa85fe6e7930b6c3d4
12,431
cc
C++
mindspore/ccsrc/backend/kernel_compiler/cpu/mirror_pad_grad_cpu_kernel.cc
233-puchi/mindspore
e9d2684cdb7668eac48169feeff778eeffbfa70e
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/backend/kernel_compiler/cpu/mirror_pad_grad_cpu_kernel.cc
233-puchi/mindspore
e9d2684cdb7668eac48169feeff778eeffbfa70e
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/backend/kernel_compiler/cpu/mirror_pad_grad_cpu_kernel.cc
233-puchi/mindspore
e9d2684cdb7668eac48169feeff778eeffbfa70e
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
43.163194
120
0.647333
[ "shape", "vector", "3d" ]
142cd6f38a55a8e81bb1fb334ece8b840bf991c7
29,336
cpp
C++
c_glib/arrow-cuda-glib/cuda.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-cuda-glib/cuda.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-cuda-glib/cuda.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.043386
111
0.698732
[ "object" ]
142d1748a8e0762aeef6c0e6d58ac544371d3739
15,384
cpp
C++
SPHINXsys/src/shared/simbody/state_engine.cpp
Irvise/SPHinXsys
dfa67ec02bbc85824e2d6adf6d0395bb887e2bdb
[ "Apache-2.0" ]
3
2020-11-30T15:24:54.000Z
2021-04-11T09:16:09.000Z
SPHINXsys/src/shared/simbody/state_engine.cpp
Bo-Zhang1995/SPHinXsys
ee03f41711cc8ee7dcf75cdff6afa0859b0a0e89
[ "Apache-2.0" ]
null
null
null
SPHINXsys/src/shared/simbody/state_engine.cpp
Bo-Zhang1995/SPHinXsys
ee03f41711cc8ee7dcf75cdff6afa0859b0a0e89
[ "Apache-2.0" ]
null
null
null
/** * @file statengine.cpp * @brief engine of state functions are defined here * @author Chi Zhang and Xiangyu Hu */ #include "state_engine.h" namespace SPH { //===============================================================// StateEngine:: StateEngine(SimTK::MultibodySystem& system) { ...
43.704545
115
0.512285
[ "geometry", "vector", "model", "transform" ]
28a134c398558e0f32b7fcf944c891d8a617c2b9
2,848
cpp
C++
LiquidMVC.cpp
VictorMNA/LiquidMVC
8362b93c169ac3da3f4dc0dbce015e7dca49434d
[ "Apache-2.0" ]
null
null
null
LiquidMVC.cpp
VictorMNA/LiquidMVC
8362b93c169ac3da3f4dc0dbce015e7dca49434d
[ "Apache-2.0" ]
null
null
null
LiquidMVC.cpp
VictorMNA/LiquidMVC
8362b93c169ac3da3f4dc0dbce015e7dca49434d
[ "Apache-2.0" ]
null
null
null
// TODO: add header #if defined(ARDUINO) && ARDUINO >= 100 #include "Arduino.h" #else #include "WProgram.h" #endif #include "LiquidMVC.h" LiquidMVC::LiquidMVC(MenuRenderer& renderer, MenuController& controller): _renderer(renderer), _controller(controller) { }; void LiquidMVC::Init() { _renderer.Init(); _...
23.154472
119
0.58743
[ "render", "vector" ]
28a2047557c1d12a2261c68695083726bc2bef17
16,524
cxx
C++
arrows/core/hierarchical_bundle_adjust.cxx
acidburn0zzz/kwiver
6e4205f1c46df04759c57c040f01cc804b27e00d
[ "BSD-3-Clause" ]
1
2017-07-31T07:07:32.000Z
2017-07-31T07:07:32.000Z
arrows/core/hierarchical_bundle_adjust.cxx
Acidburn0zzz/kwiver
6e4205f1c46df04759c57c040f01cc804b27e00d
[ "BSD-3-Clause" ]
3
2021-03-19T15:39:43.000Z
2021-09-08T02:47:15.000Z
arrows/core/hierarchical_bundle_adjust.cxx
acidburn0zzz/kwiver
6e4205f1c46df04759c57c040f01cc804b27e00d
[ "BSD-3-Clause" ]
null
null
null
/*ckwg +29 * Copyright 2014-2016 by Kitware, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this li...
34.35343
108
0.648995
[ "vector" ]
28a39152c4be94702b09d07f215b9e6383d1de2c
18,546
cc
C++
src/webkit/plugins/ppapi/ppb_url_loader_impl.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
src/webkit/plugins/ppapi/ppb_url_loader_impl.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
null
null
null
src/webkit/plugins/ppapi/ppb_url_loader_impl.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.000Z
// Copyright (c) 2012 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 "webkit/plugins/ppapi/ppb_url_loader_impl.h" #include "base/logging.h" #include "net/base/net_errors.h" #include "ppapi/c/pp_completion_call...
33.72
81
0.732018
[ "object" ]
28a6e5476eca2a2f404a1cc0646281c36dde9f1f
5,215
hpp
C++
cell_based/src/cell/srn/Goldbeter1991SrnModel.hpp
DGermano8/ChasteDom
539a3a811698214c0938489b0cfdffd1abccf667
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
cell_based/src/cell/srn/Goldbeter1991SrnModel.hpp
DGermano8/ChasteDom
539a3a811698214c0938489b0cfdffd1abccf667
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
cell_based/src/cell/srn/Goldbeter1991SrnModel.hpp
DGermano8/ChasteDom
539a3a811698214c0938489b0cfdffd1abccf667
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005-2018, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
35.965517
144
0.736337
[ "object", "model" ]
28a90d1df82e4d1e2e0ace5140abb832f17305b2
6,067
hpp
C++
graphics/source/renderer/swapchain.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
graphics/source/renderer/swapchain.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
graphics/source/renderer/swapchain.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
#ifndef GRAPHICS_SWAPCHAIN_HPP #define GRAPHICS_SWAPCHAIN_HPP #include "../external/pch.hpp" #include "../environment/device.hpp" #include "env/window.hpp" namespace il { struct swapchain { struct configuration { vk::Format format; vk::PresentModeKHR present_mode; vk::Extent2D exte...
27.830275
94
0.691116
[ "vector" ]
28a9d2b3e3552eb8407fd7f4a918a486d6be9785
8,055
cpp
C++
DiffSamp/src/code/Main/MakeBlobs.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
24
2016-12-13T09:48:17.000Z
2022-01-13T03:24:45.000Z
DiffSamp/src/code/Main/MakeBlobs.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
2
2019-03-29T06:44:41.000Z
2019-11-12T03:14:25.000Z
RainbowNoise/src/Sain/MakeBlobs.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
8
2016-11-09T15:54:19.000Z
2021-04-08T14:04:17.000Z
/* MakeBlobs.cpp splat a bunch of Gaussians onto a canvas Li-Yi Wei 08/28/2008 */ #include <iostream> #include <fstream> #include <string> using namespace std; #include <math.h> #include <stdlib.h> #include "Exception.hpp" #include "Sample.hpp" #include "FrameBuffer.hpp" #include "SequentialCounter.hpp" ...
22.313019
266
0.513346
[ "vector" ]
28a9de195bf1229091cdca0d3f7e23a2106bc0e6
1,331
cpp
C++
Mathematical Challenges/Permutations.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Mathematical Challenges/Permutations.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Mathematical Challenges/Permutations.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include<iostream> using namespace std; void swap(int *a,int *b) { int temp; temp=*b; *b=*a; *a=temp; return; } void permute(int *array,int i,int length) { if (length == i){ for(int i=0;i<length;i++) cout << array[i] <<" "; cout << "\n"; return; } int j = i; for (j = i; j < length; j++) {...
17.986486
64
0.510143
[ "vector" ]
28ac54f22ed66b8c8569a93bf61bad45eff7720d
492
cpp
C++
Entrenamiento/CodeChef/ANUUND.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
Entrenamiento/CodeChef/ANUUND.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
Entrenamiento/CodeChef/ANUUND.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> int main(void) { std::cin.tie(0); std::ios_base::sync_with_stdio(0); int t =0 ; std::cin >> t; while (t--) { int n = 0; std::cin >> n; std::vector<int> arr(n); for (int i = 0; i < n; ++i) { std::cin >> arr[i]; } std::sort(arr.begin(), arr.end()); for...
18.222222
38
0.434959
[ "vector" ]
28b30011a52299c343e996b79aacadafa059d4c7
9,640
cpp
C++
winrt/test.external/CanvasFontFaceTests.cpp
r2d2rigo/Win2D
3f06d4f19b7d16b67859a1b30ac770215ef3e52d
[ "MIT" ]
1,002
2015-01-09T19:40:01.000Z
2019-05-04T12:05:09.000Z
winrt/test.external/CanvasFontFaceTests.cpp
r2d2rigo/Win2D
3f06d4f19b7d16b67859a1b30ac770215ef3e52d
[ "MIT" ]
667
2015-01-02T19:04:11.000Z
2019-05-03T14:43:51.000Z
winrt/test.external/CanvasFontFaceTests.cpp
SunburstApps/Win2D.WinUI
75a33f8f4c0c785c2d1b478589fd4d3a9c5b53df
[ "MIT" ]
258
2015-01-06T07:44:49.000Z
2019-05-01T15:50:59.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // // Licensed under the MIT License. See LICENSE.txt in the project root for license information. #include "pch.h" using namespace Platform::Collections; using namespace Microsoft::Graphics::Canvas; using namespace Microsoft::Graphics::Canvas::Text; #if W...
33.58885
153
0.638278
[ "object", "vector", "transform" ]
28b7849fad9cd2dc892fa7a5b735e04bc0be0ca4
3,861
cpp
C++
src/Cosmos/Signer.cpp
yihuang/wallet-core
fd95099cacd2f2a03b1772592dc3b38bdfab09fe
[ "MIT" ]
3
2019-10-15T16:55:04.000Z
2020-03-14T06:52:22.000Z
src/Cosmos/Signer.cpp
yihuang/wallet-core
fd95099cacd2f2a03b1772592dc3b38bdfab09fe
[ "MIT" ]
2
2019-08-31T22:56:54.000Z
2021-08-10T12:07:44.000Z
src/Cosmos/Signer.cpp
yihuang/wallet-core
fd95099cacd2f2a03b1772592dc3b38bdfab09fe
[ "MIT" ]
2
2019-08-03T19:56:11.000Z
2019-12-20T08:49:19.000Z
// Copyright © 2017-2019 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "Signer.h" #include "Serialization.h" #include "....
35.1
101
0.694121
[ "vector" ]
28b84eabeff3e4ef7c91cab08fe8f50d22914b26
20,078
cc
C++
src/scanner.cc
lanza/tree-sitter-norg
94040019ee1c621084f5083077b175339ea23f57
[ "MIT" ]
null
null
null
src/scanner.cc
lanza/tree-sitter-norg
94040019ee1c621084f5083077b175339ea23f57
[ "MIT" ]
null
null
null
src/scanner.cc
lanza/tree-sitter-norg
94040019ee1c621084f5083077b175339ea23f57
[ "MIT" ]
null
null
null
#include "tree_sitter/parser.h" #include <array> #include <algorithm> #include <locale> #include <iostream> #include <regex> #include <string> #include <cwctype> enum TokenType { NONE, SPACE, WORD, CAPITALIZED_WORD, PARENTHESIZED_TEXT, LINE_BREAK, PARAGRAPH_BREAK, ESCAPE_SEQUENCE, ...
31.66877
201
0.511256
[ "vector" ]
28b854a859d2739673a3625cf6b1dcf381ab7b4e
36,123
cpp
C++
userspace/libsinsp/chisel.cpp
mLavacca/sysdig
fd30d120651166c7efffd826769881988a41b7e8
[ "Apache-2.0" ]
1
2020-05-29T11:21:38.000Z
2020-05-29T11:21:38.000Z
userspace/libsinsp/chisel.cpp
mLavacca/sysdig
fd30d120651166c7efffd826769881988a41b7e8
[ "Apache-2.0" ]
null
null
null
userspace/libsinsp/chisel.cpp
mLavacca/sysdig
fd30d120651166c7efffd826769881988a41b7e8
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2013-2018 Draios Inc dba Sysdig. This file is part of sysdig. 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 ap...
20.001661
133
0.635191
[ "vector" ]
28bb8152353f2c3eee63370473f97a6c20032d5b
1,676
hpp
C++
src/emu_core/include/emu_core/symbol_factory.hpp
pgrabas/emu6502
5b46d624cdbb3cffcfd76939d6cdda371f61ed6a
[ "MIT" ]
null
null
null
src/emu_core/include/emu_core/symbol_factory.hpp
pgrabas/emu6502
5b46d624cdbb3cffcfd76939d6cdda371f61ed6a
[ "MIT" ]
null
null
null
src/emu_core/include/emu_core/symbol_factory.hpp
pgrabas/emu6502
5b46d624cdbb3cffcfd76939d6cdda371f61ed6a
[ "MIT" ]
null
null
null
#pragma once #include "memory_configuration_file.hpp" #include "program.hpp" #include <cstdint> #include <memory> #include <string_view> #include <vector> namespace emu { struct SymbolDefinition { std::string name; SymbolAddress value; std::optional<Segment> segment = std::nullopt; }; using SymbolDefVec...
28.896552
90
0.673031
[ "vector" ]
28be35bae71253bcbdd57cad4fe6bd272f5e9ddd
1,208
cpp
C++
bin/KMP.cpp
potter1024/Hacktoberfest2020
5b02a6bded8628e540eb2cd760241bf3f837a007
[ "MIT" ]
null
null
null
bin/KMP.cpp
potter1024/Hacktoberfest2020
5b02a6bded8628e540eb2cd760241bf3f837a007
[ "MIT" ]
null
null
null
bin/KMP.cpp
potter1024/Hacktoberfest2020
5b02a6bded8628e540eb2cd760241bf3f837a007
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int> computelps(string str){ vector<int> lps(str.size()); lps[0]=0; int j=0; for(int i=1;i<str.size();i++){ while(j!=0 && str[j]!=str[i]){ j=lps[j-1]; } if(str[j]==str[i]){ j++; } lps[i...
20.474576
56
0.410596
[ "vector" ]
28be9588daa2845fdc5bdfef3ea69c968900782e
2,060
cpp
C++
src/data/User.cpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
2
2019-01-18T02:33:45.000Z
2019-02-01T23:44:05.000Z
src/data/User.cpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
null
null
null
src/data/User.cpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
null
null
null
/** * Copyright 2018 <David Corbin, Mitchell Harvey> */ #include <include/data/User.hpp> #include <string> #define USER_URL "http://localhost:8080/1/user/" #define HTTP_CONTENT_TYPE "application/json" User::User(Login *login) : login(login) { userRetrieved = false; connect(login, SIGNAL(au...
27.105263
75
0.619417
[ "object" ]
28bfb99c427b8f8009ae2af62e44d53b5772cda4
2,391
cpp
C++
Languages/C++/VerticalOrderTreePrint.cpp
saurabhcommand/Hacktoberfest
77bcfebf6882d0481479c03503c8e024fb18f0c3
[ "MIT" ]
1
2020-10-03T03:17:03.000Z
2020-10-03T03:17:03.000Z
Languages/C++/VerticalOrderTreePrint.cpp
saurabhcommand/Hacktoberfest
77bcfebf6882d0481479c03503c8e024fb18f0c3
[ "MIT" ]
1
2020-10-13T06:01:45.000Z
2020-10-13T06:01:45.000Z
Languages/C++/VerticalOrderTreePrint.cpp
saurabhcommand/Hacktoberfest
77bcfebf6882d0481479c03503c8e024fb18f0c3
[ "MIT" ]
4
2020-10-07T14:58:50.000Z
2020-10-24T10:13:17.000Z
#include<bits/stdc++.h> using namespace std; template <typename T> class BinaryTreeNode { public : T data; BinaryTreeNode<T> *left; BinaryTreeNode<T> *right; BinaryTreeNode(T data) { this -> data = data; left = NULL; right = NULL; } }; BinaryTreeNode<int>* takeInputL...
21.540541
86
0.54496
[ "vector" ]
28c1c885705cd4c5bcd329f6e6d745c16b180db5
3,024
cpp
C++
source/source/Finger/Finger02/src/LeapApp.cpp
LeapBookCpp/LeapBookCpp
6c51c75693a69996bb7fb817b5108a7f72dc9b8c
[ "MIT" ]
3
2016-06-16T00:16:03.000Z
2020-12-07T03:12:10.000Z
source/source/Finger/Finger02/src/LeapApp.cpp
LeapBookCpp/LeapBookCpp
6c51c75693a69996bb7fb817b5108a7f72dc9b8c
[ "MIT" ]
null
null
null
source/source/Finger/Finger02/src/LeapApp.cpp
LeapBookCpp/LeapBookCpp
6c51c75693a69996bb7fb817b5108a7f72dc9b8c
[ "MIT" ]
5
2015-06-04T08:48:14.000Z
2021-07-26T14:27:58.000Z
#include "cinder/app/AppNative.h" #include "cinder/gl/gl.h" #include "cinder/gl/Texture.h" #include "cinder/Text.h" #include "cinder/MayaCamUI.h" #include "Leap.h" using namespace ci; using namespace ci::app; using namespace std; class LeapApp : public AppNative { public: void setup() { // ウィンドウの位置とサイズを設定 ...
19.384615
72
0.588294
[ "render", "vector" ]
28d35ba93f066cad36befef5b4305a992bd09390
2,460
cpp
C++
01_Develop/libXMIrrlicht/Source/scene/loaders/CBSPMeshFileLoader.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
01_Develop/libXMIrrlicht/Source/scene/loaders/CBSPMeshFileLoader.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
01_Develop/libXMIrrlicht/Source/scene/loaders/CBSPMeshFileLoader.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
// Copyright (C) 2002-2011 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #include "IrrCompileConfig.h" #ifdef _IRR_COMPILE_WITH_BSP_LOADER_ #include "CBSPMeshFileLoader.h" #include "CQ3LevelMesh.h" namespace irr { namesp...
22.777778
82
0.689024
[ "mesh" ]
28d3c8cdc94af1aeed72e49e3188ae303b9aac03
2,823
cpp
C++
PhysBox2D/SOURCE/GRAPHICS/graphics_image_pixel_loader.cpp
consequencesunintended/TreeHundred
8d3779d1071399a1f93cb5686d5c5e53bd6fde0a
[ "MIT" ]
22
2021-07-24T17:54:23.000Z
2021-10-20T16:35:12.000Z
PhysBox2D/SOURCE/GRAPHICS/graphics_image_pixel_loader.cpp
consequencesunintended/TreeHundred
8d3779d1071399a1f93cb5686d5c5e53bd6fde0a
[ "MIT" ]
null
null
null
PhysBox2D/SOURCE/GRAPHICS/graphics_image_pixel_loader.cpp
consequencesunintended/TreeHundred
8d3779d1071399a1f93cb5686d5c5e53bd6fde0a
[ "MIT" ]
1
2021-08-04T09:24:10.000Z
2021-08-04T09:24:10.000Z
#include "graphics_image_pixel_loader.h" // -- LOCAL // .. REFERENCES #include "platform_file_reader.h" // -- PUBLIC // .. FUNCTIONS void GRAPHICS_IMAGE_PIXEL_LOADER::LoadBMP( GRAPHICS_IMAGE_PIXEL_LOADER & image, const char * filename ) { int dataOffset; int headerSize; int width; int height; int bytes...
23.139344
126
0.657457
[ "vector" ]
28d3d249fbdb71fd3912ff2beea99fe21804646d
4,064
hpp
C++
nxmodel/src/nexus.hpp
Intuity/nexus
0d1414fa2ea518dae9f031930c40692ebac5d154
[ "Apache-2.0" ]
6
2021-06-28T05:52:15.000Z
2022-03-27T20:45:28.000Z
nxmodel/src/nexus.hpp
Intuity/nexus
0d1414fa2ea518dae9f031930c40692ebac5d154
[ "Apache-2.0" ]
null
null
null
nxmodel/src/nexus.hpp
Intuity/nexus
0d1414fa2ea518dae9f031930c40692ebac5d154
[ "Apache-2.0" ]
null
null
null
// Copyright 2021, Peter Birch, mailto:peter@lightlogic.co.uk // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
28.822695
80
0.504921
[ "mesh", "vector" ]
28d3d4da523b1c6c75aabf3f204bcbfbdc06b64f
35,635
hh
C++
src/arch/arm/table_walker.hh
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
765
2015-01-14T16:17:04.000Z
2022-03-28T07:46:28.000Z
src/arch/arm/table_walker.hh
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
30
2015-01-01T21:49:38.000Z
2021-04-20T19:01:54.000Z
src/arch/arm/table_walker.hh
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
807
2015-01-06T09:55:38.000Z
2022-03-30T10:23:36.000Z
/* * Copyright (c) 2010-2016, 2019, 2021 Arm Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementa...
29.945378
84
0.545026
[ "vector" ]
28db2b2f167b28a0bc479ff9ad14a9fa17c86296
10,573
cpp
C++
3rdParty/iresearch/core/search/levenshtein_filter.cpp
Korov/arangodb
d1f8df028f8af60d1cd5708890f0d6ae75f9dd06
[ "Apache-2.0" ]
1
2020-07-30T23:33:02.000Z
2020-07-30T23:33:02.000Z
3rdParty/iresearch/core/search/levenshtein_filter.cpp
Korov/arangodb
d1f8df028f8af60d1cd5708890f0d6ae75f9dd06
[ "Apache-2.0" ]
null
null
null
3rdParty/iresearch/core/search/levenshtein_filter.cpp
Korov/arangodb
d1f8df028f8af60d1cd5708890f0d6ae75f9dd06
[ "Apache-2.0" ]
1
2020-10-01T08:49:12.000Z
2020-10-01T08:49:12.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2019 ArangoDB GmbH, Cologne, Germany /// /// 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...
31.005865
98
0.639648
[ "vector" ]
28dbc55d4bdd602f5c2b306f67c118ce39a5bb00
430
cpp
C++
week5/FindContentChildren.cpp
AngelaJubeJudy/Algorithms
3a6eef59fd2fcb54d80013c067273d73bc6e79b9
[ "MIT" ]
null
null
null
week5/FindContentChildren.cpp
AngelaJubeJudy/Algorithms
3a6eef59fd2fcb54d80013c067273d73bc6e79b9
[ "MIT" ]
null
null
null
week5/FindContentChildren.cpp
AngelaJubeJudy/Algorithms
3a6eef59fd2fcb54d80013c067273d73bc6e79b9
[ "MIT" ]
null
null
null
class FindContentChildren { public: int findContentChildren(vector<int>& g, vector<int>& s) { // 排序胃口 sort(g.begin(), g.end()); // 排序饼干 sort(s.begin(), s.end()); int j = 0; int ans = 0; for(int i = 0; i < g.size(); i++){ while(j < s.si...
25.294118
62
0.4
[ "vector" ]
28dc28634b8b01f2ef66b81a285870cfda72e002
11,194
cpp
C++
src/ast2ram/provenance/SubproofGenerator.cpp
sharon-wang/souffle
64be3b32a29affed6f5f2cafee0071c599ad3be0
[ "UPL-1.0" ]
null
null
null
src/ast2ram/provenance/SubproofGenerator.cpp
sharon-wang/souffle
64be3b32a29affed6f5f2cafee0071c599ad3be0
[ "UPL-1.0" ]
1
2016-10-09T23:13:26.000Z
2016-10-09T23:13:26.000Z
src/ast2ram/provenance/SubproofGenerator.cpp
sharon-wang/souffle
64be3b32a29affed6f5f2cafee0071c599ad3be0
[ "UPL-1.0" ]
2
2021-04-02T05:44:53.000Z
2021-04-21T05:07:22.000Z
/* * Souffle - A Datalog Compiler * Copyright (c) 2018 The Souffle Developers. All rights reserved * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ /*********************************************************...
42.888889
110
0.617742
[ "vector" ]
28dc583ddd0e27644c39a1a5594e3ab4c184be60
8,589
cpp
C++
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/convolution/convolution_kernel_fs_byx_fsv32_depthwise.cpp
Andruxin52rus/openvino
d824e371fe7dffb90e6d3d58e4e34adecfce4606
[ "Apache-2.0" ]
1
2022-01-19T15:36:45.000Z
2022-01-19T15:36:45.000Z
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/convolution/convolution_kernel_fs_byx_fsv32_depthwise.cpp
Andruxin52rus/openvino
d824e371fe7dffb90e6d3d58e4e34adecfce4606
[ "Apache-2.0" ]
22
2021-02-03T12:41:51.000Z
2022-02-21T13:04:48.000Z
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/convolution/convolution_kernel_fs_byx_fsv32_depthwise.cpp
mmakridi/openvino
769bb7709597c14debdaa356dd60c5a78bdfa97e
[ "Apache-2.0" ]
1
2021-07-28T17:30:46.000Z
2021-07-28T17:30:46.000Z
// Copyright (c) 2019-2020 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.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
40.514151
146
0.666085
[ "vector" ]
28dca79c66a039b7f0e1b8d3f4dff5a997b3c36a
2,443
cpp
C++
src/creature_group.cpp
jayheiland/Cartwright
21e845e9b38a0670e943a58ff34c63ac04f42682
[ "MIT" ]
null
null
null
src/creature_group.cpp
jayheiland/Cartwright
21e845e9b38a0670e943a58ff34c63ac04f42682
[ "MIT" ]
null
null
null
src/creature_group.cpp
jayheiland/Cartwright
21e845e9b38a0670e943a58ff34c63ac04f42682
[ "MIT" ]
null
null
null
#include "creature_group.h" extern std::unordered_map<creatureCode, CreatureRule> crtRules; void loadCreatureRules(std::string path){ CreatureRule crtRule; creatureCode crtCode = 0; std::string line; int lineNum = 1; std::ifstream infile; //read creature rules infile.open(path); if(!in...
35.405797
175
0.520262
[ "object", "vector" ]
28e309c9b56c1cb289d2af910a29af2aefbb8dc7
10,383
hxx
C++
NxWidgets/libnxwidgets/include/ccallback.hxx
lanpinguo/Pikachu
d0ab1d36d2ac60c0c84f8f0e351225fc3f85ac7e
[ "Apache-2.0" ]
null
null
null
NxWidgets/libnxwidgets/include/ccallback.hxx
lanpinguo/Pikachu
d0ab1d36d2ac60c0c84f8f0e351225fc3f85ac7e
[ "Apache-2.0" ]
null
null
null
NxWidgets/libnxwidgets/include/ccallback.hxx
lanpinguo/Pikachu
d0ab1d36d2ac60c0c84f8f0e351225fc3f85ac7e
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** * NxWidgets/libnxwidgets/include/ccallback.hxx * * Copyright (C) 2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification...
38.313653
101
0.644804
[ "object", "model" ]
28e3b247dcf203f1bb52f030233dd96a5c332aee
27,306
cpp
C++
Source/GmmLib/TranslationTable/GmmPageTableMgr.cpp
heitbaum/gmmlib
143d0d928c302d27964e40a71952037396bb768f
[ "MIT" ]
null
null
null
Source/GmmLib/TranslationTable/GmmPageTableMgr.cpp
heitbaum/gmmlib
143d0d928c302d27964e40a71952037396bb768f
[ "MIT" ]
null
null
null
Source/GmmLib/TranslationTable/GmmPageTableMgr.cpp
heitbaum/gmmlib
143d0d928c302d27964e40a71952037396bb768f
[ "MIT" ]
null
null
null
/*============================================================================== Copyright(c) 2019 Intel Corporation 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 w...
37.201635
217
0.554823
[ "render", "object" ]
28e623bcce64fedfb91ba4488f8c95949477d57a
3,352
cpp
C++
homework/Aladushkin/06/calculator.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
12
2018-02-20T15:25:12.000Z
2022-02-15T03:31:55.000Z
homework/Aladushkin/06/calculator.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
1
2018-02-26T12:40:47.000Z
2018-02-26T12:40:47.000Z
homework/Aladushkin/06/calculator.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
33
2018-02-20T15:25:11.000Z
2019-02-13T22:33:36.000Z
#include <string> #include <vector> #include <cmath> #include <cctype> #include <cstring> #include <stdexcept> struct Expression { public: Expression(const std::string& token) : token(token) {} Expression(const std::string& token, const Expression& a) : token(token), args{ a } {} Expression(const std::string& token...
19.488372
111
0.6429
[ "vector" ]
28e63419242911d1f0c9ddea7de2848e58f0a64c
60,331
cpp
C++
src/mongo/db/pipeline/document_value_test.cpp
pengliu2/rtree_mongo
0b90913f75de5281a96d1383c319843ea84a90d2
[ "Apache-2.0" ]
29
2015-01-13T02:34:23.000Z
2022-01-30T16:57:10.000Z
src/mongo/db/pipeline/document_value_test.cpp
pengliu2/rtree_mongo
0b90913f75de5281a96d1383c319843ea84a90d2
[ "Apache-2.0" ]
null
null
null
src/mongo/db/pipeline/document_value_test.cpp
pengliu2/rtree_mongo
0b90913f75de5281a96d1383c319843ea84a90d2
[ "Apache-2.0" ]
12
2015-01-24T08:40:28.000Z
2017-10-04T17:23:39.000Z
// documenttests.cpp : Unit tests for Document, Value, and related classes. /** * Copyright (C) 2012 10gen 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 Founda...
39.901455
100
0.469526
[ "object", "vector" ]
28ec3f9954576d78153e9d0f57e22a240e950639
13,763
cpp
C++
src/tests/containerizer/nvidia_gpu_isolator_tests.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
2
2019-02-08T21:29:57.000Z
2021-07-27T06:59:19.000Z
src/tests/containerizer/nvidia_gpu_isolator_tests.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
null
null
null
src/tests/containerizer/nvidia_gpu_isolator_tests.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "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...
29.40812
75
0.716196
[ "vector" ]
28edb86df0390251252a5385685afe3b857953c3
5,269
cc
C++
chrome/browser/ui/webui/sync_internals_message_handler.cc
anirudhSK/chromium
a8f23c87e656ab9ba49de9ccccbc53f614cdcb41
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/webui/sync_internals_message_handler.cc
anirudhSK/chromium
a8f23c87e656ab9ba49de9ccccbc53f614cdcb41
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/webui/sync_internals_message_handler.cc
anirudhSK/chromium
a8f23c87e656ab9ba49de9ccccbc53f614cdcb41
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-04-17T13:19:09.000Z
2021-10-21T12:55:15.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/sync_internals_message_handler.h" #include <vector> #include "base/logging.h" #include "chrome/browser/profiles/profil...
35.362416
80
0.722338
[ "vector" ]
28ef39ce912d5a73f7efab9212d0926b8073224a
1,106
cpp
C++
main.cpp
Fastbee1/ModernTechLab
1c096a66cb3f445219ef1ff10eb74a79770bba27
[ "MIT" ]
null
null
null
main.cpp
Fastbee1/ModernTechLab
1c096a66cb3f445219ef1ff10eb74a79770bba27
[ "MIT" ]
null
null
null
main.cpp
Fastbee1/ModernTechLab
1c096a66cb3f445219ef1ff10eb74a79770bba27
[ "MIT" ]
null
null
null
#include <vector> #include "ExpressionParser.h" #include <iterator> #include <ostream> void DrawPlotWithPython(const std::pair<std::vector<double>, std::vector<double>>& x_y_out) { const std::string separator = ","; auto make_list = [&separator] (const std::vector<double>& values) { std::ostringstream...
32.529412
111
0.654611
[ "vector" ]
28f0f821a7f5f46898986820ff91118bfd37da7f
1,583
cpp
C++
Week_2/10 Programming Assignment/Example.cpp
Animart/basics-of-c-plus-plus-development-white-belt
9ad0aec57a54e505955ad4a93a0636903ba92822
[ "Unlicense" ]
1
2018-11-22T17:33:45.000Z
2018-11-22T17:33:45.000Z
Week_2/10 Programming Assignment/Example.cpp
Animart/basics-of-c-plus-plus-development-white-belt
9ad0aec57a54e505955ad4a93a0636903ba92822
[ "Unlicense" ]
null
null
null
Week_2/10 Programming Assignment/Example.cpp
Animart/basics-of-c-plus-plus-development-white-belt
9ad0aec57a54e505955ad4a93a0636903ba92822
[ "Unlicense" ]
1
2021-03-09T05:26:37.000Z
2021-03-09T05:26:37.000Z
#include <iostream> #include <string> #include <vector> using namespace std; int main() { int m = 0; vector<int> days_in_months = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; int q; cin >> q; vector<vector<string>> v(31, vector<string>()); for (int i = 0; i < q; ++i) { string ...
21.986111
82
0.356286
[ "vector" ]
28f58fc49cd7d1b12bba53a62c2305199672c4b6
7,663
cc
C++
patchpanel/minijailed_process_runner.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
patchpanel/minijailed_process_runner.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
patchpanel/minijailed_process_runner.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium OS 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 "patchpanel/minijailed_process_runner.h" #include <linux/capability.h> #include <utility> #include <base/check.h> #include <base/files/scope...
36.665072
80
0.616208
[ "vector" ]
28fd0b0b8f2025e3ab02a2e838cb05061de43266
15,732
cpp
C++
src/main.cpp
stritti/kostal-pv-monitor
90ecc7351e75ba3dfe6ff710e75d0383520220f5
[ "MIT" ]
null
null
null
src/main.cpp
stritti/kostal-pv-monitor
90ecc7351e75ba3dfe6ff710e75d0383520220f5
[ "MIT" ]
1
2022-02-22T20:02:49.000Z
2022-03-06T14:33:18.000Z
src/main.cpp
stritti/kostal-pv-monitor
90ecc7351e75ba3dfe6ff710e75d0383520220f5
[ "MIT" ]
null
null
null
/** Kostal Plenticore DC/DC converter Monitor: */ #if !(defined(ESP32)) #error This code is intended to run on the ESP32 platform! #endif #define TTGO_T5_1_2 1 // see defines in board_def.h //#define TTGO_T5_2_3 1 // see defines in board_def.h #include "board_def.h" #include "ntp_localtime.h" #include "kostal_mo...
33.189873
130
0.703344
[ "object" ]
e900d34f767b8f2b984ffb9c368fea1889478065
10,236
cpp
C++
franka_interface/src/motion_controller_interface.cpp
StanfordVL/franka_ros_interface
48067aecfff479572f375d6351c069b47ddc2be3
[ "Apache-2.0" ]
1
2020-11-12T11:47:39.000Z
2020-11-12T11:47:39.000Z
franka_interface/src/motion_controller_interface.cpp
StanfordVL/franka_ros_interface
48067aecfff479572f375d6351c069b47ddc2be3
[ "Apache-2.0" ]
null
null
null
franka_interface/src/motion_controller_interface.cpp
StanfordVL/franka_ros_interface
48067aecfff479572f375d6351c069b47ddc2be3
[ "Apache-2.0" ]
1
2020-07-22T03:22:38.000Z
2020-07-22T03:22:38.000Z
/*************************************************************************** * Adapted from arm_controller_interface.cpp (sawyer_simulator package) * * @package: franka_interface * @metapackage: franka_ros_interface * @author: Saif Sidhik <sxs1412@bham.ac.uk> * ********************************************************...
45.493333
139
0.712974
[ "vector" ]
e90439fab2d0731f73e8b683e433eb03297601a9
8,541
hpp
C++
include/VROSC/UIScrollableContainerInput.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/VROSC/UIScrollableContainerInput.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/VROSC/UIScrollableContainerInput.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: VROSC.UIInteractable #include "VROS...
50.538462
194
0.749678
[ "vector" ]
e905798d67d1679094f91365c929403aeee48a43
164,891
cc
C++
components/autofill/core/browser/credit_card_save_manager_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
components/autofill/core/browser/credit_card_save_manager_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/autofill/core/browser/credit_card_save_manager_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/autofill/core/browser/credit_card_save_manager.h" #include <stddef.h> #include <algorithm> #include <list> #include <map> #include ...
44.123896
95
0.764899
[ "vector" ]
e90829400b3708383734cc873ab5cea7b7a70c8b
9,948
cpp
C++
src/oddlib/audio/AliveAudio.cpp
mouzedrift/alive
7c297a39c60e930933c0a93ea373226907f8b1c7
[ "MIT" ]
131
2015-03-21T14:10:21.000Z
2021-01-19T03:54:04.000Z
src/oddlib/audio/AliveAudio.cpp
mouzedrift/alive
7c297a39c60e930933c0a93ea373226907f8b1c7
[ "MIT" ]
51
2015-04-06T17:24:45.000Z
2018-02-03T14:36:37.000Z
src/oddlib/audio/AliveAudio.cpp
mouzedrift/alive
7c297a39c60e930933c0a93ea373226907f8b1c7
[ "MIT" ]
17
2015-10-07T10:20:47.000Z
2021-08-02T04:14:11.000Z
#include "oddlib/audio/AliveAudio.h" #include "imgui/imgui.h" void AliveAudio::CleanVoices() { std::vector<AliveAudioVoice *> deadVoices; std::unique_lock<std::recursive_mutex> voiceLock(mVoiceMutex); for (auto& voice : m_Voices) { if (voice->b_Dead) { deadVoices.push_back(v...
30.237082
137
0.536992
[ "object", "vector" ]
e9093d87f96d2bd5d2ca95c722de9bd375bdf502
4,869
cc
C++
Geometry/MuonNumbering/src/DD4hep_RPCNumberingScheme.cc
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
2
2020-01-27T15:21:37.000Z
2020-05-11T11:13:18.000Z
Geometry/MuonNumbering/src/DD4hep_RPCNumberingScheme.cc
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
26
2018-10-30T12:47:58.000Z
2022-03-29T08:39:00.000Z
Geometry/MuonNumbering/src/DD4hep_RPCNumberingScheme.cc
p2l1pfp/cmssw
9bda22bf33ecf18dd19a3af2b3a8cbdb1de556a9
[ "Apache-2.0" ]
3
2019-03-09T13:06:43.000Z
2020-07-03T00:47:30.000Z
#include "Geometry/MuonNumbering/interface/DD4hep_RPCNumberingScheme.h" #include "Geometry/MuonNumbering/interface/DD4hep_MuonNumbering.h" #include "DataFormats/MuonDetId/interface/RPCDetId.h" #include "Geometry/MuonNumbering/interface/MuonBaseNumber.h" #include <FWCore/Utilities/interface/Exception.h> #include <casse...
32.677852
101
0.586568
[ "geometry" ]
e90a27b1f27a99db5b1baefc23d872c12b7d3acb
16,073
cpp
C++
fboss/agent/hw/bcm/BcmWarmBootCache.cpp
NunoEdgarGFlowHub/fboss
b665a1dac4917dd8984573ef5a471e4825d506f9
[ "BSD-3-Clause" ]
1
2015-03-12T11:40:43.000Z
2015-03-12T11:40:43.000Z
fboss/agent/hw/bcm/BcmWarmBootCache.cpp
NunoEdgarGFlowHub/fboss
b665a1dac4917dd8984573ef5a471e4825d506f9
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/bcm/BcmWarmBootCache.cpp
NunoEdgarGFlowHub/fboss
b665a1dac4917dd8984573ef5a471e4825d506f9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
39.58867
80
0.685435
[ "object", "vector" ]
e90e55423762b158eda9bce9431ff3e3d801181e
750
cpp
C++
src/MainThreadTaskRunner.cpp
paolo-projects/TouchCPLib
ee37fcf0cdbce67dc3392ab5a65c6a2c4ab09303
[ "BSD-2-Clause" ]
2
2021-07-19T02:23:20.000Z
2021-11-19T16:58:38.000Z
src/MainThreadTaskRunner.cpp
paolo-projects/TouchCPLib
ee37fcf0cdbce67dc3392ab5a65c6a2c4ab09303
[ "BSD-2-Clause" ]
null
null
null
src/MainThreadTaskRunner.cpp
paolo-projects/TouchCPLib
ee37fcf0cdbce67dc3392ab5a65c6a2c4ab09303
[ "BSD-2-Clause" ]
null
null
null
#include "TouchCP/MainThreadTaskRunner.h" MainThreadTaskRunner::MainThreadTaskRunner() { } MainThreadTaskRunner::~MainThreadTaskRunner() { // Delete the pending tasks // The worker thread has to be dead at this point // to avoid referencing to a deleted object while (taskDeque.size() > 0) { Task *task = taskDe...
19.230769
50
0.713333
[ "object" ]
e91047c09b9c76e1158d5c1e10e04ab9cd15066b
36,103
cpp
C++
src/main/native/glue/com_jme3_bullet_MultiBody.cpp
WinsonDeng/Libbulletjme
711ce236f375c70e38db448ee9653e5dc998cdd9
[ "BSD-3-Clause" ]
null
null
null
src/main/native/glue/com_jme3_bullet_MultiBody.cpp
WinsonDeng/Libbulletjme
711ce236f375c70e38db448ee9653e5dc998cdd9
[ "BSD-3-Clause" ]
null
null
null
src/main/native/glue/com_jme3_bullet_MultiBody.cpp
WinsonDeng/Libbulletjme
711ce236f375c70e38db448ee9653e5dc998cdd9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
35.604536
144
0.728721
[ "object", "vector", "transform" ]
e911749b3ff8a1f93c3c49768ddcff8974491196
24,135
hpp
C++
deps/boost/boost/date_time/format_date_parser.hpp
laborautonomo/poedit
4ccc4e40334cc8b147d77077d1e5522a55862b3d
[ "MIT" ]
1
2015-11-05T17:34:34.000Z
2015-11-05T17:34:34.000Z
deps/boost/boost/date_time/format_date_parser.hpp
laborautonomo/poedit
4ccc4e40334cc8b147d77077d1e5522a55862b3d
[ "MIT" ]
null
null
null
deps/boost/boost/date_time/format_date_parser.hpp
laborautonomo/poedit
4ccc4e40334cc8b147d77077d1e5522a55862b3d
[ "MIT" ]
null
null
null
#ifndef DATE_TIME_FORMAT_DATE_PARSER_HPP__ #define DATE_TIME_FORMAT_DATE_PARSER_HPP__ /* Copyright (c) 2004-2005 CrystalClear Software, Inc. * Use, modification and distribution is subject to the * Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.tx...
33.152473
87
0.581935
[ "vector" ]
e913cf2632f7f7cbf6011f992add35694e659244
4,993
cc
C++
gazebo/math/Vector2i.cc
harderthan/gazebo
f00a0e4239ddb08b299dc21ab1ef106ecedb0fac
[ "ECL-2.0", "Apache-2.0" ]
1
2015-04-06T16:17:36.000Z
2015-04-06T16:17:36.000Z
gazebo/math/Vector2i.cc
harderthan/gazebo
f00a0e4239ddb08b299dc21ab1ef106ecedb0fac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/math/Vector2i.cc
harderthan/gazebo
f00a0e4239ddb08b299dc21ab1ef106ecedb0fac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2012-2015 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
21.803493
75
0.463449
[ "vector" ]
e916a064238e71904bcabd364d517b4efb73c584
3,855
cxx
C++
Modules/IO/IOGDAL/src/otbGDALDriverManagerWrapper.cxx
liuxuvip/OTB
73ed482d62c2924aea158aac14d725dc9447083b
[ "Apache-2.0" ]
317
2015-01-19T08:40:58.000Z
2022-03-17T11:55:48.000Z
Modules/IO/IOGDAL/src/otbGDALDriverManagerWrapper.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
18
2015-07-29T14:13:45.000Z
2021-03-29T12:36:24.000Z
Modules/IO/IOGDAL/src/otbGDALDriverManagerWrapper.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
132
2015-02-21T23:57:25.000Z
2022-03-25T16:03:16.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
33.232759
151
0.686641
[ "object", "vector" ]
e917a3b372955b77ea90c3fb3dfad4b813c0888f
2,538
cpp
C++
src/ovs/user_reader/src/Skiplist.cpp
Bilal-Tayh/q-MAX
b0999f6458eb6ba7ae89b330d7a88640b9af943c
[ "MIT" ]
2
2021-03-05T02:05:44.000Z
2021-05-26T16:13:57.000Z
src/ovs/user_reader/src/Skiplist.cpp
Bilal-Tayh/q-MAX
b0999f6458eb6ba7ae89b330d7a88640b9af943c
[ "MIT" ]
null
null
null
src/ovs/user_reader/src/Skiplist.cpp
Bilal-Tayh/q-MAX
b0999f6458eb6ba7ae89b330d7a88640b9af943c
[ "MIT" ]
2
2019-12-03T12:59:40.000Z
2021-03-05T01:49:58.000Z
#include "Skiplist.hpp" #include <stdexcept> #include <utility> Skiplist::Node *Skiplist::create_node_from_int(int level, int item) { auto *p = new Skiplist::Node(level); p->item = item; return p; } int Skiplist::random_level() { int level = 1; while (rand() % 2 && level < MAX_L) { level++; } return...
19.227273
81
0.537431
[ "vector" ]
e9199155ad1083e7c45b25f1c07735abc847d306
8,597
cpp
C++
scenes/inf443/03b_hierarchy/src/main.cpp
baptiste-fague/INF443
3a9a939afef0f596f013b7b0feef42f045a62491
[ "MIT" ]
null
null
null
scenes/inf443/03b_hierarchy/src/main.cpp
baptiste-fague/INF443
3a9a939afef0f596f013b7b0feef42f045a62491
[ "MIT" ]
null
null
null
scenes/inf443/03b_hierarchy/src/main.cpp
baptiste-fague/INF443
3a9a939afef0f596f013b7b0feef42f045a62491
[ "MIT" ]
null
null
null
#include "vcl/vcl.hpp" #include <iostream> using namespace vcl; struct scene_environment { camera_around_center camera; mat4 projection; vec3 light; }; scene_environment scene; struct gui_parameters { bool display_frame = false; bool display_surface = true; bool display_wireframe = false; }; struct user_inte...
32.938697
146
0.693149
[ "geometry", "transform" ]
e91bc92c3c2326fa2aabe240b99f5f9dc61213fd
13,242
hpp
C++
include/sdsl/wt_rlmn.hpp
qPCR4vir/sdsl-lite
3ae7ac30c3837553cf20243cc3df8ee658b9f00f
[ "BSD-3-Clause" ]
null
null
null
include/sdsl/wt_rlmn.hpp
qPCR4vir/sdsl-lite
3ae7ac30c3837553cf20243cc3df8ee658b9f00f
[ "BSD-3-Clause" ]
null
null
null
include/sdsl/wt_rlmn.hpp
qPCR4vir/sdsl-lite
3ae7ac30c3837553cf20243cc3df8ee658b9f00f
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2016, the SDSL Project Authors. All rights reserved. // Please see the AUTHORS file for details. Use of this source code is governed // by a BSD license that can be found in the LICENSE file. /*! \file wt_rlmn.hpp \brief wt_rlmn.hpp contains a class for a compressed wavelet tree. Compression i...
33.271357
97
0.659568
[ "vector" ]
e91cabb222375f02a62f9b5d46b33ee2596899e7
2,400
cpp
C++
2020/23day/cpp/task2.cpp
zagura/aoc-2017
bfd38fb6fbe4211017a306d218b32ecff741e006
[ "MIT" ]
2
2018-12-09T16:00:09.000Z
2018-12-09T17:56:15.000Z
2020/23day/cpp/task2.cpp
zagura/aoc-2017
bfd38fb6fbe4211017a306d218b32ecff741e006
[ "MIT" ]
null
null
null
2020/23day/cpp/task2.cpp
zagura/aoc-2017
bfd38fb6fbe4211017a306d218b32ecff741e006
[ "MIT" ]
null
null
null
/* * ===================================================================================== * * Filename: task1.cpp * * Description: Advent of Code 2020 - Day 23 * * Version: 0.2.0 * Created: 02.01.2021 * * Author: Michał Zagórski (zagura), <zagura6@gmail.com> * * ========...
23.529412
88
0.524583
[ "vector" ]
e91dc58dbdfbbcac273bdd592f70622023b59863
1,694
cpp
C++
library/game/game_map.cpp
chegoryu/auralux
236c681260f51b0ff4ad5592324b012bf3204162
[ "MIT" ]
1
2021-06-15T15:51:23.000Z
2021-06-15T15:51:23.000Z
library/game/game_map.cpp
chegoryu/auralux
236c681260f51b0ff4ad5592324b012bf3204162
[ "MIT" ]
1
2021-06-18T07:26:38.000Z
2021-06-18T10:48:55.000Z
library/game/game_map.cpp
chegoryu/auralux
236c681260f51b0ff4ad5592324b012bf3204162
[ "MIT" ]
2
2021-06-17T14:50:24.000Z
2021-06-18T07:09:24.000Z
// // Created by Egor Chunaev on 14.06.2021. // #include "game_map.h" #include <cmath> #include <stdexcept> #include <string> TGameMap LoadPlanarGraph(int maxDistBetweenPlanets, std::function<int()> readInt) { TGameMap gameMap; int planetCount = readInt(); int playerCount = readInt(); for (int i = ...
31.37037
98
0.524793
[ "vector" ]
11e69bfeeb04463daf8b80fd839499411f85a44d
15,753
cpp
C++
C++/Example/mainwindow.cpp
sunoval2016/RoboDK-API
47a4905f8021b5b75fea0300136ea1ea8bb3e33d
[ "Apache-2.0" ]
null
null
null
C++/Example/mainwindow.cpp
sunoval2016/RoboDK-API
47a4905f8021b5b75fea0300136ea1ea8bb3e33d
[ "Apache-2.0" ]
null
null
null
C++/Example/mainwindow.cpp
sunoval2016/RoboDK-API
47a4905f8021b5b75fea0300136ea1ea8bb3e33d
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QFileDialog> #include <QWindow> #ifdef WIN32 // this is used to integrate RoboDK window as a child window #include <windows.h> #pragma comment(lib,"user32.lib") #endif //#include <thread> #define M_PI 3.14159265358979323846 MainWindow::MainWindow(QWidget...
27.492147
290
0.633911
[ "object" ]
11e94fc0da2dda6b0915395bf8ab96c95b1876ee
21,731
cpp
C++
lib/parser/expr-parsers.cpp
arjunsuresh1987/f18
35fd0cda58776389d2ed68eaefbc1e1d59423ec8
[ "Apache-2.0" ]
null
null
null
lib/parser/expr-parsers.cpp
arjunsuresh1987/f18
35fd0cda58776389d2ed68eaefbc1e1d59423ec8
[ "Apache-2.0" ]
null
null
null
lib/parser/expr-parsers.cpp
arjunsuresh1987/f18
35fd0cda58776389d2ed68eaefbc1e1d59423ec8
[ "Apache-2.0" ]
null
null
null
//===-- lib/parser/expr-parsers.cpp ---------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
42.032882
80
0.654641
[ "object" ]
11e98e7d8516723d1b176c0ae14461f90035cb20
1,154
cpp
C++
GeeksForGeeks/C Plus Plus/Kth_smallest_element_in_BST.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
4
2021-06-19T14:15:34.000Z
2021-06-21T13:53:53.000Z
GeeksForGeeks/C Plus Plus/Kth_smallest_element_in_BST.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
2
2021-07-02T12:41:06.000Z
2021-07-12T09:37:50.000Z
GeeksForGeeks/C Plus Plus/Kth_smallest_element_in_BST.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
3
2021-06-19T15:19:20.000Z
2021-07-02T17:24:51.000Z
/* Problem Statement: ----------------- Given a BST and an integer K. Find the Kth Smallest element in the BST. Example 1: --------- Input: 2 / \ 1 3 K = 2 Output: 2 Example 2: ---------- Input: 2 / \ 1 3 K = 5 Output: -1 Your Task: You don't need to read input or print an...
19.233333
150
0.556326
[ "vector" ]
11ea9412b42326bae4a928763ae67a6ea4064251
3,921
cpp
C++
test/src/utils/HeapAllocatorTest.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
307
2015-04-10T13:27:32.000Z
2022-03-21T03:30:38.000Z
test/src/utils/HeapAllocatorTest.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
2,231
2015-04-27T10:47:35.000Z
2022-03-31T19:22:37.000Z
test/src/utils/HeapAllocatorTest.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
282
2015-01-05T12:16:57.000Z
2022-03-28T04:45:11.000Z
#include <gtest/gtest.h> #include <random> #include "utils/HeapAllocator.h" using namespace util; namespace { void dummyResizer(size_t) {} } TEST(HeapAllocatorTests, simpleAllocate) { HeapAllocator allocator(dummyResizer); ASSERT_EQ((size_t)0, allocator.numAllocations()); auto offset = allocator.allocate(200)...
27.612676
85
0.712573
[ "model" ]
11ed4c3601308b944b52bc56cf7808fdada82644
17,921
cpp
C++
torch/csrc/jit/passes/batch_mm.cpp
shivamsp133/pytorch
457a3fb6d1441721cb72dca90b8f20b32d553856
[ "Intel" ]
206
2020-11-28T22:56:38.000Z
2022-03-27T02:33:04.000Z
torch/csrc/jit/passes/batch_mm.cpp
shivamsp133/pytorch
457a3fb6d1441721cb72dca90b8f20b32d553856
[ "Intel" ]
19
2020-12-09T23:13:14.000Z
2022-01-24T23:24:08.000Z
torch/csrc/jit/passes/batch_mm.cpp
shivamsp133/pytorch
457a3fb6d1441721cb72dca90b8f20b32d553856
[ "Intel" ]
28
2020-11-29T15:25:12.000Z
2022-01-20T02:16:27.000Z
#include <torch/csrc/jit/passes/batch_mm.h> #include <ATen/core/functional.h> #include <ATen/core/interned_strings.h> #include <c10/util/Exception.h> #include <torch/csrc/jit/ir/alias_analysis.h> #include <torch/csrc/jit/ir/constants.h> #include <torch/csrc/jit/passes/dead_code_elimination.h> #include <torch/csrc/jit/...
36.950515
83
0.601529
[ "vector", "transform" ]
11ee848b5ba3f5815d24be5de8433df34f51c526
58,025
cpp
C++
lib/VM/JSProxy.cpp
Huxpro/hermes
2a689c6850d597d2fcac2b5d6f2b08ac498255d0
[ "MIT" ]
null
null
null
lib/VM/JSProxy.cpp
Huxpro/hermes
2a689c6850d597d2fcac2b5d6f2b08ac498255d0
[ "MIT" ]
1
2021-04-19T09:50:36.000Z
2021-04-19T09:50:36.000Z
lib/VM/JSProxy.cpp
Huxpro/hermes
2a689c6850d597d2fcac2b5d6f2b08ac498255d0
[ "MIT" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "hermes/VM/JSProxy.h" #include "hermes/VM/ArrayLike.h" #include "hermes/VM/Callable.h" #include "hermes/VM/JSArray.h" #in...
37.171685
124
0.683912
[ "object" ]
11efda8faa869451586414509875e69199000f3a
91,517
cc
C++
components/autofill/core/browser/form_structure_unittest.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-01-25T10:18:18.000Z
2021-01-23T15:29:56.000Z
components/autofill/core/browser/form_structure_unittest.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill/core/browser/form_structure_unittest.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-04-17T13:19:09.000Z
2021-10-21T12:55:15.000Z
// Copyright 2013 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/autofill/core/browser/form_structure.h" #include "base/memory/scoped_ptr.h" #include "base/strings/string_util.h" #include "base/str...
38.084478
80
0.717266
[ "render", "vector" ]
11f5da39ad07ddd012f1df4fc117a2c0abcbb54f
21,379
hpp
C++
include/nana/filesystem/filesystem.hpp
SteffenL/nana
6156acf068d392b9d19fca7ec685443fa9dd1dcc
[ "BSL-1.0" ]
2,316
2015-01-02T02:40:34.000Z
2022-03-30T01:13:21.000Z
include/nana/filesystem/filesystem.hpp
SteffenL/nana
6156acf068d392b9d19fca7ec685443fa9dd1dcc
[ "BSL-1.0" ]
563
2015-01-02T19:53:56.000Z
2022-03-29T17:16:19.000Z
include/nana/filesystem/filesystem.hpp
SteffenL/nana
6156acf068d392b9d19fca7ec685443fa9dd1dcc
[ "BSL-1.0" ]
519
2015-01-09T21:26:19.000Z
2022-03-30T17:00:19.000Z
/** * A ISO C++ filesystem Implementation * Nana C++ Library(http://www.nanapro.org) * Copyright(C) 2003-2019 Jinhao(cnjinhao@hotmail.com) * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * @file nana/fi...
34.042994
195
0.599093
[ "object" ]
11f8ea818df954a6cdd3f3428a3c12ced8e752e3
2,679
hpp
C++
inference-engine/src/hetero_plugin/hetero_executable_network.hpp
jhajducz/openvino
083302dfb68d8e7f9ffdf119ca2f6df81819bd5c
[ "Apache-2.0" ]
null
null
null
inference-engine/src/hetero_plugin/hetero_executable_network.hpp
jhajducz/openvino
083302dfb68d8e7f9ffdf119ca2f6df81819bd5c
[ "Apache-2.0" ]
29
2020-11-18T10:58:28.000Z
2022-02-21T13:03:28.000Z
inference-engine/src/hetero_plugin/hetero_executable_network.hpp
jhajducz/openvino
083302dfb68d8e7f9ffdf119ca2f6df81819bd5c
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief a header file for ExecutableNetwork * @file hetero_executable_network.hpp */ #pragma once #include <memory> #include <string> #include <vector> #include <map> #include <unordered_map> #include <unordered_set> #incl...
32.670732
127
0.634938
[ "vector" ]
11fa2289751ea9a3891fa4f0faf7a3c3bb5424c3
27,069
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/nodes/SoSelection.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/nodes/SoSelection.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/nodes/SoSelection.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 ...
27.150451
107
0.671876
[ "render", "object", "3d" ]
11fb50422f2f1067ebf7191ca75b875b190330e6
16,285
cpp
C++
rs_bag2image/realsense.cpp
yuki-inaho/rs_bag2image
195c340dcc5c31b9df6287f99327a333f675a003
[ "MIT" ]
70
2018-05-02T09:34:15.000Z
2022-03-25T23:05:40.000Z
rs_bag2image/realsense.cpp
yuki-inaho/rs_bag2image
195c340dcc5c31b9df6287f99327a333f675a003
[ "MIT" ]
16
2018-05-29T17:13:44.000Z
2021-06-21T14:17:24.000Z
rs_bag2image/realsense.cpp
yuki-inaho/rs_bag2image
195c340dcc5c31b9df6287f99327a333f675a003
[ "MIT" ]
16
2018-10-12T15:05:10.000Z
2022-01-30T14:04:59.000Z
#include "realsense.h" #include "version.h" #include <sstream> #include <iomanip> #include <limits> // Constructor RealSense::RealSense( int argc, char* argv[] ) { std::cout << "rs_bag2image " << RS_BAG2IMAGE_VERSION << std::endl; // Initialize initialize( argc, argv ); } // Destructor RealSense::~RealS...
29.02852
160
0.598895
[ "vector" ]
11fedd384246f1206a25e61421503d72896898a6
8,718
cc
C++
content/browser/file_system/file_system_operation_runner_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
content/browser/file_system/file_system_operation_runner_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
content/browser/file_system/file_system_operation_runner_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2013 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 <utility> #include "base/bind.h" #include "base/files/file_path.h" #include "base/files/scoped_temp_dir.h" #include "base/macros.h" #include "ba...
35.295547
79
0.732507
[ "vector" ]
11fef225324cf80a5a6db4bc262fcd809d35a98e
1,512
hpp
C++
src/org/apache/poi/hssf/record/SSTSerializer.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/hssf/record/SSTSerializer.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/hssf/record/SSTSerializer.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/hssf/record/SSTSerializer.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/hssf/record/fwd-POI.hpp> #include <org/apache/poi/hssf/record/common/fwd-POI.hpp> #include <org/apache/poi/hssf/record/cont/fwd-POI.hpp> #include <org/apache/poi/util/fwd-POI.hpp> #in...
28.528302
120
0.716931
[ "object" ]
f50193bb97bb2a971cdc802d37fe830c13ba9055
20,302
cpp
C++
01_Develop/libXMFFmpeg/Source/libavcodec/ivi_dsp.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
01_Develop/libXMFFmpeg/Source/libavcodec/ivi_dsp.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
01_Develop/libXMFFmpeg/Source/libavcodec/ivi_dsp.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* * DSP functions for Indeo Video Interactive codecs (Indeo4 and Indeo5) * * Copyright (c) 2009-2011 Maxim Poliakovski * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free So...
33.011382
100
0.472022
[ "transform" ]
f505c13fb12f32c294219f862edb2678e22ea298
6,312
cpp
C++
src/modules/math/wrap_BezierCurve.cpp
prepare/lualove
22e6969ebbc2e57030aef05421f740b229c0f50c
[ "BSD-3-Clause" ]
20
2019-10-16T22:24:49.000Z
2020-07-23T00:37:05.000Z
src/love/src/modules/math/wrap_BezierCurve.cpp
MikuAuahDark/livesim4
76860f58d81c44da2f4c5f2a2f32ab7ab73e1155
[ "Zlib" ]
8
2021-01-27T01:02:47.000Z
2022-03-09T16:41:48.000Z
src/modules/math/wrap_BezierCurve.cpp
aaronbolyard/love2d
2a5424931c53ec887e1280e4031a28c5d36de0e6
[ "Apache-2.0" ]
2
2016-08-23T03:52:28.000Z
2019-10-29T19:03:08.000Z
/** * Copyright (c) 2006-2018 LOVE Development Team * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * ...
26.082645
84
0.71071
[ "render", "vector" ]
f506374a4d1c263ff426a2291dd55c565004e6e2
37,597
cpp
C++
Source/Utility/MythForest/Component/Sky/AtmosphereModel.cpp
paintdream/paintsnow
3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781
[ "MIT" ]
null
null
null
Source/Utility/MythForest/Component/Sky/AtmosphereModel.cpp
paintdream/paintsnow
3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781
[ "MIT" ]
null
null
null
Source/Utility/MythForest/Component/Sky/AtmosphereModel.cpp
paintdream/paintsnow
3a1cbc9e571eaa2e62a3a2d60f75817b45f0c781
[ "MIT" ]
null
null
null
#include "AtmosphereModel.h" #include "../../Engine.h" #include "../../../SnowyStream/SnowyStream.h" #include "../../../SnowyStream/Manager/RenderResourceManager.h" #include <cassert> #include <cmath> #include <iostream> #include <memory> // [Precomputed Atmospheric Scattering](https://hal.inria.fr/inria-00288758/en) ...
45.516949
154
0.763545
[ "render", "object", "vector", "model" ]