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
f507f679e8f2a808d119076c248d881ef5972cda
2,546
cpp
C++
src/MSMTRX.cpp
aptrn/aP-Modules
5c9524936dfdfe9ae5af261519b89b906a3bd148
[ "BSD-3-Clause" ]
13
2018-09-22T06:30:00.000Z
2022-03-03T20:52:24.000Z
src/MSMTRX.cpp
aptrn/aP-Modules
5c9524936dfdfe9ae5af261519b89b906a3bd148
[ "BSD-3-Clause" ]
4
2018-09-06T09:49:27.000Z
2018-11-11T09:59:48.000Z
src/MSMTRX.cpp
aptrn/aP-Modules
5c9524936dfdfe9ae5af261519b89b906a3bd148
[ "BSD-3-Clause" ]
2
2018-10-22T19:16:40.000Z
2019-09-02T22:40:19.000Z
#include "aP.hpp" //Mid/Side Matrix, simple LR to MS encoder and MS to LR decoder struct MSMTRX : Module { enum ParamIds { NUM_PARAMS }; enum InputIds { LEFT_INPUT, RIGHT_INPUT, MID_INPUT, SIDE_INPUT, NUM_INPUTS }; enum OutputIds { LEFT_OUTPUT, RIGHT_OUTPUT, MID_OUTPUT,...
29.264368
114
0.705027
[ "model" ]
f50d65bf0f29d0614cd0b1db2aa99d48f1bb645f
36,236
cpp
C++
src/core/core/dsn.layer2_types.cpp
0xflotus/rdsn
f2beaded488cd40ace25b32c320e143d60b2c04e
[ "MIT" ]
null
null
null
src/core/core/dsn.layer2_types.cpp
0xflotus/rdsn
f2beaded488cd40ace25b32c320e143d60b2c04e
[ "MIT" ]
null
null
null
src/core/core/dsn.layer2_types.cpp
0xflotus/rdsn
f2beaded488cd40ace25b32c320e143d60b2c04e
[ "MIT" ]
null
null
null
/** * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include <dsn/cpp/serialization_helper/dsn.layer2_types.h> #include <algorithm> #include <ostream> #include <thrift/TToString.h> namespace dsn { int _kapp_statusValues[] = {app_s...
35.317739
99
0.594961
[ "vector" ]
f50d7b52e3d634937f17d0a5fbe25a44d698fe7c
12,650
cpp
C++
Extensions/TextObject/Dialogs/TextObjectDialogs.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
1
2019-08-24T03:18:42.000Z
2019-08-24T03:18:42.000Z
Extensions/TextObject/Dialogs/TextObjectDialogs.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
9
2020-04-04T19:26:47.000Z
2022-03-25T18:41:20.000Z
Extensions/TextObject/Dialogs/TextObjectDialogs.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
2
2020-03-02T05:20:41.000Z
2021-05-10T03:59:05.000Z
////////////////////////////////////////////////////////////////////// // This file was auto-generated by codelite's wxCrafter Plugin // wxCrafter project file: TextObjectEditor.wxcp // Do not modify this file by hand! ////////////////////////////////////////////////////////////////////// #include "TextObjectDialogs.h...
35.335196
80
0.553676
[ "object" ]
f5116f3184f22eade44c780edc9ec5649bb8d240
32,570
cpp
C++
sp/src/game/server/hl2/npc_zombie.cpp
atp-tha/source-sdk-2013
8adf94f37107ce9e7a2678d75b91deb51243c8cb
[ "Unlicense" ]
12
2019-03-26T21:15:57.000Z
2022-03-16T14:53:14.000Z
sp/src/game/server/hl2/npc_zombie.cpp
atp-tha/source-sdk-2013
8adf94f37107ce9e7a2678d75b91deb51243c8cb
[ "Unlicense" ]
8
2019-10-07T01:21:13.000Z
2022-03-26T16:53:42.000Z
sp/src/game/server/hl2/npc_zombie.cpp
atp-tha/source-sdk-2013
8adf94f37107ce9e7a2678d75b91deb51243c8cb
[ "Unlicense" ]
4
2019-10-03T14:09:14.000Z
2020-12-30T12:03:38.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: A slow-moving, once-human headcrab victim with only melee attacks. // //=============================================================================// #include "cbase.h" #include "doors.h" #include "simtimer.h" #include "npc...
25.645669
128
0.579521
[ "object", "vector" ]
f511f365d12a6a7bd818b14d909a2e900f6d1a98
5,956
cc
C++
projects/MeshResource/code/mesh_res.cc
Olaxan/ltu-lab-s0006e_env
5cf164fa5d664cb0181e2c88a59d91b433344fb2
[ "MIT" ]
null
null
null
projects/MeshResource/code/mesh_res.cc
Olaxan/ltu-lab-s0006e_env
5cf164fa5d664cb0181e2c88a59d91b433344fb2
[ "MIT" ]
null
null
null
projects/MeshResource/code/mesh_res.cc
Olaxan/ltu-lab-s0006e_env
5cf164fa5d664cb0181e2c88a59d91b433344fb2
[ "MIT" ]
null
null
null
#include "mesh_res.h" #include <GL/glew.h> namespace efiilj { mesh_resource::mesh_resource() : vbo_(0), ibo_(0), vao_(0), vertex_count_(0), index_count_(0) { } mesh_resource:: mesh_resource(vertex* vertex_list, const int vertex_count, unsigned int* index_list, const int index_count) : vbo_(0), ibo_(0), vao_(0) ...
39.973154
136
0.667226
[ "mesh" ]
f51206b10425cc2cc158f9fb107b152714fec818
9,562
cpp
C++
inference-engine/tests/functional/inference_engine/lp_transformations/multiply_to_group_convolution_transformation.cpp
ddeuerme/openvino
ff0d0618ab940484056fe8452a3b8c0cb7164d87
[ "Apache-2.0" ]
1
2022-01-19T15:36:45.000Z
2022-01-19T15:36:45.000Z
inference-engine/tests/functional/inference_engine/lp_transformations/multiply_to_group_convolution_transformation.cpp
ddeuerme/openvino
ff0d0618ab940484056fe8452a3b8c0cb7164d87
[ "Apache-2.0" ]
22
2021-02-03T12:41:51.000Z
2022-02-21T13:04:48.000Z
inference-engine/tests/functional/inference_engine/lp_transformations/multiply_to_group_convolution_transformation.cpp
ddeuerme/openvino
ff0d0618ab940484056fe8452a3b8c0cb7164d87
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "layer_transformation.hpp" #include <string> #include <sstream> #include <memory> #include <gtest/gtest.h> #include <transformations/utils/utils.hpp> #include <transformations/init_node_info.hpp> #include "low_precision/multi...
32.413559
152
0.538695
[ "shape", "vector", "transform", "3d" ]
f51391861350f602f0909bfc5237d7f029079b58
19,760
cc
C++
AICamera/app/src/main/cpp/caffe2/core/blob_serialization.cc
blackxer/AICamera
4f0a6a09a2288da2ec7140744b5c2862df114c78
[ "MIT" ]
1
2020-01-10T02:56:03.000Z
2020-01-10T02:56:03.000Z
AICamera/app/src/main/cpp/caffe2/core/blob_serialization.cc
blackxer/AICamera
4f0a6a09a2288da2ec7140744b5c2862df114c78
[ "MIT" ]
null
null
null
AICamera/app/src/main/cpp/caffe2/core/blob_serialization.cc
blackxer/AICamera
4f0a6a09a2288da2ec7140744b5c2862df114c78
[ "MIT" ]
null
null
null
#include "caffe2/core/blob_serialization.h" #include <sstream> #include <mutex> #include "caffe2/core/blob.h" #include "caffe2/utils/proto_utils.h" C10_DEFINE_int( caffe2_tensor_chunk_size, 1000000, "Chunk size to split tensor data into"); C10_DEFINE_int( caffe2_max_tensor_serializer_t...
33.777778
81
0.628745
[ "object", "shape", "vector" ]
f5139a7dbbbe48d3ec18f9363b7a335c95f62225
9,063
cc
C++
stats/rtc_stats.cc
Numbrs/WebRTC
d9348ec831b8a1f178ce1a92877f04b1fbd27a04
[ "BSD-3-Clause" ]
128
2019-10-07T14:03:15.000Z
2022-02-25T10:25:57.000Z
stats/rtc_stats.cc
Numbrs/WebRTC
d9348ec831b8a1f178ce1a92877f04b1fbd27a04
[ "BSD-3-Clause" ]
51
2019-10-19T04:58:30.000Z
2022-01-03T07:16:46.000Z
stats/rtc_stats.cc
Numbrs/WebRTC
d9348ec831b8a1f178ce1a92877f04b1fbd27a04
[ "BSD-3-Clause" ]
90
2019-10-16T06:13:14.000Z
2022-03-02T10:29:19.000Z
/* * Copyright 2016 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
38.896996
80
0.471257
[ "vector" ]
f51556020ddc39a1e7fd0bb6c1b74156d6709f01
5,627
hpp
C++
nheqminer/3rdparty/boost/fiber/algo/detail/chase_lev_queue.hpp
EuroLine/nheqminer
81c7ef889bb502d16f7d1e7ef020d0592f8af945
[ "MIT" ]
886
2016-10-20T20:59:59.000Z
2022-03-12T07:47:52.000Z
ios/Pods/boost-for-react-native/boost/fiber/algo/detail/chase_lev_queue.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
369
2016-10-21T07:42:54.000Z
2020-11-19T10:49:29.000Z
ios/Pods/boost-for-react-native/boost/fiber/algo/detail/chase_lev_queue.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
534
2016-10-20T21:00:00.000Z
2022-03-29T10:02:27.000Z
// Copyright Oliver Kowalke 2013. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_FIBERS_ALGO_DETAIL_CHASE_LEV_QUEUE_H #define BOOST_FIBERS_ALGO_DETAIL_CHASE_LEV_QUEUE_H #inc...
32.526012
110
0.617558
[ "vector" ]
f51561a0686225bed6e5fb75d2dc235d3113b83b
1,901
cpp
C++
src/count/tri_count.cpp
srom/nbias
be8cf8dd623038dcf08d38ed3d19f635ee2dbeae
[ "MIT" ]
null
null
null
src/count/tri_count.cpp
srom/nbias
be8cf8dd623038dcf08d38ed3d19f635ee2dbeae
[ "MIT" ]
null
null
null
src/count/tri_count.cpp
srom/nbias
be8cf8dd623038dcf08d38ed3d19f635ee2dbeae
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <future> #include "../codons/codons.cpp" using namespace std; int CountKmer(const string& content, const string& kmer, const bool overlap) { int count = 0; string::size_type pos = 0; for (;;) { pos = content.find(kmer, pos); if (pos == string::npos) { ...
23.469136
98
0.692267
[ "vector" ]
f515ca9a1ea5b573d5920b1fb5a7ca2dcd1ea949
47,461
cc
C++
src/evolution/dglapbuilder.cc
intrepid42/apfelxx
34b0bb4f134ddf42aa7eccceaa6c3b91b5414cd6
[ "MIT" ]
null
null
null
src/evolution/dglapbuilder.cc
intrepid42/apfelxx
34b0bb4f134ddf42aa7eccceaa6c3b91b5414cd6
[ "MIT" ]
null
null
null
src/evolution/dglapbuilder.cc
intrepid42/apfelxx
34b0bb4f134ddf42aa7eccceaa6c3b91b5414cd6
[ "MIT" ]
null
null
null
// // APFEL++ 2017 // // Authors: Valerio Bertone: valerio.bertone@cern.ch // #include "apfel/dglapbuilder.h" #include "apfel/timer.h" #include "apfel/constants.h" #include "apfel/tools.h" #include "apfel/messages.h" #include "apfel/splittingfunctions.h" #include "apfel/splittingfunctions_tl.h" #include "apfel/matchin...
46.258285
163
0.551969
[ "object", "vector" ]
f5189623c56ee02038ad33038050e459262a9423
13,487
cxx
C++
PWGLF/FORWARD/analysis2/AliCopyHeaderTask.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
PWGLF/FORWARD/analysis2/AliCopyHeaderTask.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
PWGLF/FORWARD/analysis2/AliCopyHeaderTask.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
/** * @file AliCopyHeaderTask.cxx * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk> * @date Tue Jul 12 10:59:32 2011 * * @brief Task to copy ESD header to AOD * * @ingroup pwglf_forward_tasks */ #include "AliCopyHeaderTask.h" #include "AliESDEvent.h" #include "AliAODEvent.h" #include ...
34.144304
80
0.640839
[ "object" ]
f5189e238f2a126f16102ebd559f98fc3ef01c8d
10,736
cpp
C++
seminars/task_6/task_6_d.cpp
shevkunov/sgtl-and-others
573e8d57c8d0272c025d8509485bec0a26de3153
[ "BSD-3-Clause" ]
null
null
null
seminars/task_6/task_6_d.cpp
shevkunov/sgtl-and-others
573e8d57c8d0272c025d8509485bec0a26de3153
[ "BSD-3-Clause" ]
null
null
null
seminars/task_6/task_6_d.cpp
shevkunov/sgtl-and-others
573e8d57c8d0272c025d8509485bec0a26de3153
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <iostream> #include <string> #include <vector> #include <ios> #include <algorithm> #include <stdexcept> namespace sgtl { typedef long long int hash_t; template <hash_t base_ = 256, hash_t module_ = 1000000007> class HashedString { public: HashedString(char* c) : s_(std::s...
28.782842
101
0.412537
[ "vector" ]
f52825aedf00d6b2797ab4d4329471b15a0774d1
924
hh
C++
cxx/satellite/include/SensitiveScoredDetector.hh
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
cxx/satellite/include/SensitiveScoredDetector.hh
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
cxx/satellite/include/SensitiveScoredDetector.hh
Zelenyy/phd-code
d5b8bfefd2418a915dde89f7da2cb6683f438556
[ "MIT" ]
null
null
null
// // Created by zelenyy on 18.10.17. // #ifndef GEANT4_THUNDERSTORM_SENSITIVESCOREDDETECTOR_HH #define GEANT4_THUNDERSTORM_SENSITIVESCOREDDETECTOR_HH #include "G4VSensitiveDetector.hh" #include "iostream" #include "fstream" #include "DataFileManager.hh" #include "DataFile.hh" #include "vector" #include "Settings.hh...
20.086957
75
0.786797
[ "vector" ]
f52e0327791f78db63f98d7a660f603c26cc7e93
6,805
cpp
C++
Gems/ScriptCanvas/Code/Include/ScriptCanvas/Execution/Interpreted/ExecutionStateInterpretedUtility.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/ScriptCanvas/Code/Include/ScriptCanvas/Execution/Interpreted/ExecutionStateInterpretedUtility.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/ScriptCanvas/Code/Include/ScriptCanvas/Execution/Interpreted/ExecutionStateInterpretedUtility.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/Script/ScriptContext.h> #include <AzCore/Script/ScriptSystemBus.h> #include <AzC...
41.242424
156
0.608229
[ "vector", "transform", "3d" ]
f530120cb863f9d77e0ba614ee44a8f0b9baa333
6,979
cpp
C++
test/test-params.cpp
tuket/libpqmxx
3a21ca3ad5fb4b1822690b074b2170b28adfa185
[ "MIT" ]
30
2016-07-04T03:38:02.000Z
2021-02-16T13:03:46.000Z
test/test-params.cpp
tuket/libpqmxx
3a21ca3ad5fb4b1822690b074b2170b28adfa185
[ "MIT" ]
9
2016-07-04T03:39:29.000Z
2019-09-06T21:23:46.000Z
test/test-params.cpp
tuket/libpqmxx
3a21ca3ad5fb4b1822690b074b2170b28adfa185
[ "MIT" ]
10
2016-07-14T14:19:07.000Z
2021-02-16T13:00:51.000Z
/** * Copyright (c) 2016 Philippe FERDINAND * * 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,...
37.320856
191
0.671156
[ "vector" ]
f5313fc4739d671f55e14d963615b2fc6e4b5d22
17,593
cpp
C++
tests/test-seeded/test-crypto.cpp
dicekeys/seeded-crypto
8e1d1965c1720b8964e3ee1880163f7a6b221781
[ "MIT" ]
3
2020-09-25T16:08:39.000Z
2022-02-25T04:39:26.000Z
tests/test-seeded/test-crypto.cpp
dicekeys/seeded-crypto
8e1d1965c1720b8964e3ee1880163f7a6b221781
[ "MIT" ]
3
2020-10-03T11:45:05.000Z
2021-09-21T00:28:53.000Z
tests/test-seeded/test-crypto.cpp
dicekeys/seeded-crypto
8e1d1965c1720b8964e3ee1880163f7a6b221781
[ "MIT" ]
3
2020-09-10T15:31:46.000Z
2021-03-14T07:01:17.000Z
#include "gtest/gtest.h" #include <string> #include <iostream> #include "lib-seeded.hpp" #include "../lib-seeded/convert.hpp" // Not included in Password.hpp const std::vector<std::string> asWordVector( const Recipe& recipe, const SodiumBuffer& secretBytes, const std::string& wordListAsSingleString = "" ); const s...
39.893424
196
0.799011
[ "vector" ]
f5323a3df839af23136e5413224cd44b7532d824
7,909
cpp
C++
pkg/BfsdlTests/source/ObjectDataTest.cpp
dpkristensen/bfdm
1fdbdb89263b35b5ecd3bd7e24bce700910b38f9
[ "BSD-3-Clause" ]
1
2018-07-27T17:20:59.000Z
2018-07-27T17:20:59.000Z
pkg/BfsdlTests/source/ObjectDataTest.cpp
dpkristensen/bfdm
1fdbdb89263b35b5ecd3bd7e24bce700910b38f9
[ "BSD-3-Clause" ]
10
2018-07-28T03:21:05.000Z
2019-02-21T07:09:36.000Z
pkg/BfsdlTests/source/ObjectDataTest.cpp
dpkristensen/bfdm
1fdbdb89263b35b5ecd3bd7e24bce700910b38f9
[ "BSD-3-Clause" ]
null
null
null
/** BFDP Object Data Tests Copyright 2019, Daniel Kristensen, Garmin Ltd, or its subsidiaries. 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 m...
39.545
107
0.638134
[ "object" ]
f536642709be8ad92de01fcd10d57e759e84f138
1,372
hpp
C++
src/mbgl/layout/symbol_feature.hpp
roblabs/maplibre-gl-native
d62ff400c6f75750d71b563344b1ca1e07b9b576
[ "BSD-2-Clause", "BSD-3-Clause" ]
4,234
2015-01-09T08:10:16.000Z
2022-03-30T14:13:55.000Z
src/mbgl/layout/symbol_feature.hpp
roblabs/maplibre-gl-native
d62ff400c6f75750d71b563344b1ca1e07b9b576
[ "BSD-2-Clause", "BSD-3-Clause" ]
12,771
2015-01-01T20:27:42.000Z
2022-03-24T18:14:44.000Z
src/mbgl/layout/symbol_feature.hpp
roblabs/maplibre-gl-native
d62ff400c6f75750d71b563344b1ca1e07b9b576
[ "BSD-2-Clause", "BSD-3-Clause" ]
1,571
2015-01-08T08:24:53.000Z
2022-03-28T06:30:53.000Z
#pragma once #include <mbgl/style/expression/image.hpp> #include <mbgl/text/tagged_string.hpp> #include <mbgl/tile/geometry_tile_data.hpp> #include <mbgl/util/optional.hpp> #include <array> #include <string> namespace mbgl { class SymbolFeature : public GeometryTileFeature { public: SymbolFeature(std::unique_pt...
34.3
111
0.721574
[ "geometry" ]
f536fb08938df4f347c9550698f107310a656536
505
cpp
C++
0735-Asteroid Collision/0735-Asteroid Collision.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0701-0800/0735-Asteroid Collision/0735-Asteroid Collision.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0701-0800/0735-Asteroid Collision/0735-Asteroid Collision.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: vector<int> asteroidCollision(vector<int>& asteroids) { vector<int> St; for (int a : asteroids) { while (!St.empty() && St.back() > 0 && St.back() < -a) { St.pop_back(); } if (St.empty() || St.back() < 0 || a >...
24.047619
68
0.370297
[ "vector" ]
f537e415f5804cc473861c7492afa9ba8a36ab18
434
cpp
C++
src/osam2020/1.cpp
ginami0129g/my-problem-solving
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
1
2020-06-01T12:19:31.000Z
2020-06-01T12:19:31.000Z
src/osam2020/1.cpp
ginami0129g/my-study-history
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
23
2020-11-08T07:14:02.000Z
2021-02-11T11:16:00.000Z
src/osam2020/1.cpp
ginami0129g/my-problem-solving
b173b5df42354b206839711fa166fcd515c6a69c
[ "Beerware" ]
null
null
null
#include <string> #include <vector> #include <algorithm> using namespace std; int solution(int n,int m) { int answer = 0; bool flag = false; for (int i = 1; ; ++i) { flag = (i % m == 0) ? true : false; if (flag == false) { --n; } if (flag == true && n == 0) n = 1; ...
19.727273
43
0.435484
[ "vector" ]
f539289d656baf33d842123f9a24e572843d6d47
3,930
hpp
C++
include/autotune/fixed_set_parameter.hpp
DavidPfander-UniStuttgart/AutoTuneTMP
f5fb836778b04c2ab0fbcc4d36c466e577e96e65
[ "BSD-3-Clause" ]
5
2019-11-06T15:02:41.000Z
2022-01-14T20:25:50.000Z
include/autotune/fixed_set_parameter.hpp
DavidPfander-UniStuttgart/AutoTuneTMP
f5fb836778b04c2ab0fbcc4d36c466e577e96e65
[ "BSD-3-Clause" ]
3
2018-01-25T21:25:22.000Z
2022-03-14T17:35:27.000Z
include/autotune/fixed_set_parameter.hpp
DavidPfander-UniStuttgart/AutoTuneTMP
f5fb836778b04c2ab0fbcc4d36c466e577e96e65
[ "BSD-3-Clause" ]
1
2020-07-15T11:05:43.000Z
2020-07-15T11:05:43.000Z
#pragma once #include <memory> #include <vector> #include "parameter_value_set.hpp" namespace autotune { template <typename T> class fixed_set_parameter { private: std::string name; size_t cur_index; std::vector<T> values; public: fixed_set_parameter(const std::string &name, const std::vector<T> &values) ...
22.982456
80
0.596438
[ "vector" ]
f53e638594e2ccd374eea3b95ae659ebeb00b9b0
13,872
cc
C++
mace/ops/space_to_batch.cc
hanhan9449/mace
63feaf5055bab6a081d36edfab8f963a624899aa
[ "Apache-2.0" ]
1
2021-08-02T12:17:58.000Z
2021-08-02T12:17:58.000Z
mace/ops/space_to_batch.cc
hanhan9449/mace
63feaf5055bab6a081d36edfab8f963a624899aa
[ "Apache-2.0" ]
null
null
null
mace/ops/space_to_batch.cc
hanhan9449/mace
63feaf5055bab6a081d36edfab8f963a624899aa
[ "Apache-2.0" ]
1
2021-08-02T12:18:00.000Z
2021-08-02T12:18:00.000Z
// Copyright 2018 The MACE 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 appl...
39.862069
79
0.580666
[ "shape", "vector" ]
f53f63162bda8e93364065728b2251589f6e507a
19,105
cpp
C++
src/main.cpp
wkhattak/Path-Planning-v2-Work-In-Progress
c76bc260f89461f5c0595b35a401241fe15f9888
[ "MIT" ]
null
null
null
src/main.cpp
wkhattak/Path-Planning-v2-Work-In-Progress
c76bc260f89461f5c0595b35a401241fe15f9888
[ "MIT" ]
null
null
null
src/main.cpp
wkhattak/Path-Planning-v2-Work-In-Progress
c76bc260f89461f5c0595b35a401241fe15f9888
[ "MIT" ]
null
null
null
#include <fstream> #include <math.h> #include <uWS/uWS.h> #include <chrono> #include <iostream> #include <thread> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "json.hpp" #include "spline.h" #include "car.h" #include "helpers.h" using namespace std; // for convenience using ...
39.802083
205
0.582936
[ "object", "vector", "transform" ]
f540506f4608d28e69634038cf98bc387b3d4952
84,331
cpp
C++
lib/Arch/SPARC64/Extract.cpp
fengjixuchui/remill
51cfa0a996ddd1f077615c071d4158c476e5374a
[ "Apache-2.0" ]
null
null
null
lib/Arch/SPARC64/Extract.cpp
fengjixuchui/remill
51cfa0a996ddd1f077615c071d4158c476e5374a
[ "Apache-2.0" ]
null
null
null
lib/Arch/SPARC64/Extract.cpp
fengjixuchui/remill
51cfa0a996ddd1f077615c071d4158c476e5374a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019 Trail of Bits, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
28.920096
88
0.668603
[ "vector" ]
f542182754be72d39d1630bcf8c4911d093465b0
5,682
cc
C++
src/media/audio/lib/clock/utils.cc
zarelaky/fuchsia
858cc1914de722b13afc2aaaee8a6bd491cd8d9a
[ "BSD-3-Clause" ]
null
null
null
src/media/audio/lib/clock/utils.cc
zarelaky/fuchsia
858cc1914de722b13afc2aaaee8a6bd491cd8d9a
[ "BSD-3-Clause" ]
null
null
null
src/media/audio/lib/clock/utils.cc
zarelaky/fuchsia
858cc1914de722b13afc2aaaee8a6bd491cd8d9a
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 The Fuchsia 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 "src/media/audio/lib/clock/utils.h" #include <cmath> #include "src/lib/syslog/cpp/logger.h" namespace media::audio { zx_status_t DuplicateCloc...
42.402985
100
0.689546
[ "transform" ]
f5427a64214d2654619da4b70742a61011d78fb9
2,645
cpp
C++
Engine/Engine/MouseInput.cpp
knnth3/GameEngine
0434b224da9c8389ee79779cc20a5932eed61b46
[ "MIT" ]
null
null
null
Engine/Engine/MouseInput.cpp
knnth3/GameEngine
0434b224da9c8389ee79779cc20a5932eed61b46
[ "MIT" ]
null
null
null
Engine/Engine/MouseInput.cpp
knnth3/GameEngine
0434b224da9c8389ee79779cc20a5932eed61b46
[ "MIT" ]
null
null
null
#include "MouseInput.h" #include <glm\gtx\transform.hpp> using namespace Engine; glm::vec2 Engine::MouseInput::GetPositon()const { return m_position; } glm::vec3 Engine::MouseInput::Get3DPosition() { glm::vec3 position; if (m_camera) { std::lock_guard<std::mutex> lock(m_mouse_lock); glm::vec3 origin = m_cam...
26.45
79
0.714934
[ "transform" ]
f548c8b190844663b1dcaec0498ec94339c68219
4,259
cpp
C++
clients/gtest/orgxr_ungxr_gtest.cpp
rkamd/rocSOLVER
de338c6cfc78e9e00be141d11529b8faeaba911f
[ "BSD-2-Clause" ]
38
2019-09-11T19:38:53.000Z
2022-03-21T07:08:59.000Z
clients/gtest/orgxr_ungxr_gtest.cpp
rkamd/rocSOLVER
de338c6cfc78e9e00be141d11529b8faeaba911f
[ "BSD-2-Clause" ]
208
2018-06-07T21:31:54.000Z
2022-03-31T20:12:10.000Z
clients/gtest/orgxr_ungxr_gtest.cpp
rkamd/rocSOLVER
de338c6cfc78e9e00be141d11529b8faeaba911f
[ "BSD-2-Clause" ]
38
2018-06-05T22:29:48.000Z
2022-03-31T07:30:47.000Z
/* ************************************************************************ * Copyright (c) 2020-2021 Advanced Micro Devices, Inc. * * ************************************************************************ */ #include "testing_orgxr_ungxr.hpp" using ::testing::Combine; using ::testing::TestWithParam; using ::tes...
23.273224
100
0.596149
[ "vector" ]
f548f30d1097ccf01ae45e1aa640b80fe82f5c09
5,532
cpp
C++
Gears/Util/UIUtils.cpp
gaybro8777/GTAVManualTransmission
b3bafedf3dbcbdb83e8e7febb87ca61e0c2b5dd6
[ "Zlib" ]
144
2016-02-01T01:22:24.000Z
2022-03-29T09:13:12.000Z
Gears/Util/UIUtils.cpp
gaybro8777/GTAVManualTransmission
b3bafedf3dbcbdb83e8e7febb87ca61e0c2b5dd6
[ "Zlib" ]
86
2016-02-27T14:20:31.000Z
2022-03-30T08:10:47.000Z
Gears/Util/UIUtils.cpp
gaybro8777/GTAVManualTransmission
b3bafedf3dbcbdb83e8e7febb87ca61e0c2b5dd6
[ "Zlib" ]
39
2016-02-07T07:57:54.000Z
2022-03-30T12:41:02.000Z
#include "UIUtils.h" #include "inc/natives.h" #include "inc/enums.h" #include "fmt/format.h" #include <algorithm> #include "../Constants.h" #include "../ScriptSettings.hpp" extern ScriptSettings g_settings; namespace { const size_t maxStringLength = 99; int notificationHandle = 0; } void showNotification(c...
35.012658
118
0.647505
[ "vector" ]
f54bb73f8089288a1ab22344b1adfd4704f3b918
8,338
cpp
C++
pwiz/data/msdata/MSDataMerger.cpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
11
2015-01-08T08:33:44.000Z
2019-07-12T06:14:54.000Z
pwiz/data/msdata/MSDataMerger.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
pwiz/data/msdata/MSDataMerger.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
4
2016-02-03T09:41:16.000Z
2021-08-01T18:42:36.000Z
// // $Id: MSDataMerger.cpp 2908 2011-08-05 16:41:41Z chambm $ // // // Original author: Matt Chambers <matt.chambers .@. vanderbilt.edu> // // Copyright 2010 Vanderbilt University - Nashville, TN 37232 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in...
37.390135
153
0.622931
[ "vector" ]
f54ce1d6e6cee6dec31b5c2fb4c503eccd24be56
66,736
cpp
C++
source/exhumed/src/object.cpp
Talon1024/Raze
d92f56f36f246f12ea4012b3f9d5eb6c4abe0070
[ "RSA-MD" ]
2
2020-03-26T10:11:17.000Z
2021-01-19T08:16:48.000Z
source/exhumed/src/object.cpp
bisk89/Raze
1a2663f7ac84d4e4f472e0796b937447ee6fab6b
[ "RSA-MD" ]
null
null
null
source/exhumed/src/object.cpp
bisk89/Raze
1a2663f7ac84d4e4f472e0796b937447ee6fab6b
[ "RSA-MD" ]
null
null
null
//------------------------------------------------------------------------- /* Copyright (C) 2010-2019 EDuke32 developers and contributors Copyright (C) 2019 sirlemonhead, Nuke.YKT This file is part of PCExhumed. PCExhumed is free software; you can redistribute it and/or modify it under the terms of the GNU General Pub...
24.562385
187
0.484087
[ "object" ]
f551729ea6417aea30e49459075d0ccdfd05332f
94,133
cpp
C++
D3MkEntityTree/Structure.cpp
kenjiuno/D3MkEntityTree
7df5492858c1786a1586fa06d25c89b581d8d3ff
[ "IJG" ]
null
null
null
D3MkEntityTree/Structure.cpp
kenjiuno/D3MkEntityTree
7df5492858c1786a1586fa06d25c89b581d8d3ff
[ "IJG" ]
null
null
null
D3MkEntityTree/Structure.cpp
kenjiuno/D3MkEntityTree
7df5492858c1786a1586fa06d25c89b581d8d3ff
[ "IJG" ]
null
null
null
// +-------------------------------------------------- // | // | Structure.cpp // | // | D3MkEntityTree : Copyright (c) 2004, 2005, kentaro-k.21 // | #include "StdAfx.h" #include "Structure.h" #include "OSP.h" #include "OutDeb.h" #include "Sol.h" #include "resource.h" #pragma comment(lib, "vfw32") ...
19.842538
129
0.52906
[ "mesh", "object", "model" ]
f5546af7801c38cc708a443864d3d5e0c4c2f57a
52,334
cc
C++
google/cloud/storage/tests/object_integration_test.cc
AVaksman/google-cloud-cpp
86ccde498987e240024f6e850f3b53eafff383b5
[ "Apache-2.0" ]
null
null
null
google/cloud/storage/tests/object_integration_test.cc
AVaksman/google-cloud-cpp
86ccde498987e240024f6e850f3b53eafff383b5
[ "Apache-2.0" ]
null
null
null
google/cloud/storage/tests/object_integration_test.cc
AVaksman/google-cloud-cpp
86ccde498987e240024f6e850f3b53eafff383b5
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 Google 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 w...
38.967982
80
0.714086
[ "object", "vector", "transform" ]
f556b2776e06238b677ef08da0e9f964408a6eba
8,252
cc
C++
src/test/common/test_bloom_filter.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
4
2020-04-08T03:42:02.000Z
2020-10-01T20:34:48.000Z
src/test/common/test_bloom_filter.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
93
2020-03-26T14:29:14.000Z
2020-11-12T05:54:55.000Z
src/test/common/test_bloom_filter.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
23
2020-03-24T10:28:44.000Z
2020-09-24T09:42:19.000Z
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2013 Inktank <info@inktank.com> * * LGPL2.1 (see COPYING-LGPL2.1) or later */ #include <iostream> #include <gtest/gtest.h> #include "include/stringify....
26.96732
119
0.562288
[ "vector" ]
f556d20b11dd643f83ae227e4fdc80514a0f0aad
4,146
cpp
C++
source/PyMaterialX/PyMaterialXRender/PyMesh.cpp
alister-chowdhury/MaterialX
ec83067eb6ca694cbc5c68394762ee15b041f71b
[ "BSD-3-Clause" ]
8
2019-05-18T10:56:25.000Z
2022-03-08T21:00:24.000Z
source/PyMaterialX/PyMaterialXRender/PyMesh.cpp
alister-chowdhury/MaterialX
ec83067eb6ca694cbc5c68394762ee15b041f71b
[ "BSD-3-Clause" ]
null
null
null
source/PyMaterialX/PyMaterialXRender/PyMesh.cpp
alister-chowdhury/MaterialX
ec83067eb6ca694cbc5c68394762ee15b041f71b
[ "BSD-3-Clause" ]
1
2020-02-24T02:16:19.000Z
2020-02-24T02:16:19.000Z
// // TM & (c) 2019 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <PyMaterialX/PyMaterialX.h> #include <MaterialXRender/Mesh.h> namespace py = pybind11; namespace mx = MaterialX; void bindPyMesh(py::module& mod) { py::class_<mx::MeshStr...
55.28
154
0.666425
[ "mesh", "transform" ]
f55a6ba05225b969bb175298b78e8a2c3890b1a4
11,587
cpp
C++
test/wave_equation_adjointness.cpp
thiesgerken/wavepi
5af37946dcc1910ad1cccdc76d2e2f546eeafec4
[ "BSD-3-Clause" ]
null
null
null
test/wave_equation_adjointness.cpp
thiesgerken/wavepi
5af37946dcc1910ad1cccdc76d2e2f546eeafec4
[ "BSD-3-Clause" ]
null
null
null
test/wave_equation_adjointness.cpp
thiesgerken/wavepi
5af37946dcc1910ad1cccdc76d2e2f546eeafec4
[ "BSD-3-Clause" ]
null
null
null
/* * adjointness.cpp * * Created on: 22.07.2017 * Author: thies */ #include <base/ConstantMesh.h> #include <base/DiscretizedFunction.h> #include <base/SpaceTimeMesh.h> #include <base/Util.h> #include <deal.II/base/exceptions.h> #include <deal.II/base/function.h> #include <deal.II/base/logstream.h> #include ...
35.873065
120
0.662639
[ "mesh", "vector" ]
f55c7d13f1349bdecafabfb0a2e7baf83454b32b
4,716
cpp
C++
internal/core/unittest/test_reduce.cpp
AropJoe/milvus
132b3c2248c50e96a4edde56aefb43659a270837
[ "Apache-2.0" ]
2
2021-09-05T15:00:49.000Z
2022-01-05T06:42:23.000Z
internal/core/unittest/test_reduce.cpp
AropJoe/milvus
132b3c2248c50e96a4edde56aefb43659a270837
[ "Apache-2.0" ]
38
2021-11-22T11:15:27.000Z
2022-03-30T08:14:12.000Z
internal/core/unittest/test_reduce.cpp
Bennu-Li/milvus
35612881e33ce19a7407628769f6b51a7518bfe9
[ "Apache-2.0" ]
3
2021-11-17T09:21:42.000Z
2021-11-22T11:54:09.000Z
// Copyright (C) 2019-2020 Zilliz. 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 l...
38.341463
113
0.594784
[ "vector" ]
f55d8ca230f19e21018a2b16a7879f0fc55f899f
13,942
cc
C++
omaha/net/network_request_unittest.cc
theroguekiller1/tablet-a
5f5207f1cb936f380368f623f2128749a289c777
[ "Apache-2.0" ]
2
2019-09-06T20:53:41.000Z
2021-03-09T08:41:24.000Z
omaha/net/network_request_unittest.cc
theroguekiller1/tablet-a
5f5207f1cb936f380368f623f2128749a289c777
[ "Apache-2.0" ]
1
2018-12-19T12:23:39.000Z
2018-12-19T12:23:39.000Z
omaha/net/network_request_unittest.cc
theroguekiller1/tablet-a
5f5207f1cb936f380368f623f2128749a289c777
[ "Apache-2.0" ]
1
2017-10-19T13:06:16.000Z
2017-10-19T13:06:16.000Z
// Copyright 2007-2010 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
35.748718
123
0.678023
[ "vector" ]
f55d95db351851ccd756c2c4c8ab3f43d788e433
9,063
hpp
C++
include/RootMotion/FinalIK/InteractionTrigger.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/InteractionTrigger.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/RootMotion/FinalIK/InteractionTrigger.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Mo...
56.64375
258
0.737835
[ "object", "vector", "transform" ]
f55f2d4eb6f03cd9f5fe5652c1c7eb6a62cb8a4d
14,152
cpp
C++
runtime/loader/loader.cpp
gate-computer/gate
b5f1c3e7f5acefcde71861d8aafee0dfffd798f0
[ "BSD-3-Clause" ]
18
2020-07-08T22:26:05.000Z
2022-03-22T17:07:37.000Z
runtime/loader/loader.cpp
gate-computer/gate
b5f1c3e7f5acefcde71861d8aafee0dfffd798f0
[ "BSD-3-Clause" ]
17
2020-09-22T15:12:16.000Z
2022-02-08T06:39:32.000Z
runtime/loader/loader.cpp
gate-computer/gate
b5f1c3e7f5acefcde71861d8aafee0dfffd798f0
[ "BSD-3-Clause" ]
2
2020-10-25T08:59:03.000Z
2021-06-04T23:43:10.000Z
// Copyright (c) 2016 Timo Savola. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include <csignal> #include <cstdbool> #include <cstddef> #include <cstdint> #include <cstring> #include <ctime> #include <elf.h> #include <fcntl.h> #include ...
26.651601
180
0.719969
[ "vector" ]
f55faff7d468df7a8ca90c4d682511f83ca296f4
2,980
cpp
C++
source/uwp/Renderer/lib/CustomElementWrapper.cpp
TemoeBOUISSOU/AdaptiveCards
61aa500b86bfe69bd0f68a27d0ea041c210b3890
[ "MIT" ]
2
2021-07-29T04:12:57.000Z
2021-09-12T13:16:50.000Z
source/uwp/Renderer/lib/CustomElementWrapper.cpp
TemoeBOUISSOU/AdaptiveCards
61aa500b86bfe69bd0f68a27d0ea041c210b3890
[ "MIT" ]
null
null
null
source/uwp/Renderer/lib/CustomElementWrapper.cpp
TemoeBOUISSOU/AdaptiveCards
61aa500b86bfe69bd0f68a27d0ea041c210b3890
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "CustomElementWrapper.h" using namespace Microsoft::WRL; using namespace ABI::AdaptiveCards::Rendering::Uwp; namespace AdaptiveCards::Rendering::Uwp { CustomElementWrapper::CustomElementWrappe...
33.111111
136
0.705369
[ "vector" ]
f5602023c5c6755f1c40bc78f2526aa89c48bb1a
93,404
cpp
C++
ngraph/test/eval.cpp
ElenaGvozdeva/openvino
084aa4e5916fa2ed3e353dcd45d081ab11d9c75a
[ "Apache-2.0" ]
1
2022-02-10T08:05:09.000Z
2022-02-10T08:05:09.000Z
ngraph/test/eval.cpp
ElenaGvozdeva/openvino
084aa4e5916fa2ed3e353dcd45d081ab11d9c75a
[ "Apache-2.0" ]
40
2020-12-04T07:46:57.000Z
2022-02-21T13:04:40.000Z
ngraph/test/eval.cpp
ElenaGvozdeva/openvino
084aa4e5916fa2ed3e353dcd45d081ab11d9c75a
[ "Apache-2.0" ]
1
2021-08-18T14:29:37.000Z
2021-08-18T14:29:37.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <cmath> #include <cstddef> #include <string> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "ngraph/node.hpp" #include "ngraph/node_output.hpp" #include "ngraph/op/abs.hpp" #include "ngraph/o...
46.446544
116
0.613271
[ "object", "shape", "vector", "transform" ]
f56534da58a5b1682bfa9bc9c37bf0f726cdc260
1,972
cpp
C++
basic_operations/vector_substraction.cpp
jcheng123/Perelman
a4e504391b4265c7e9ca0e4450e29e719911045b
[ "MIT" ]
null
null
null
basic_operations/vector_substraction.cpp
jcheng123/Perelman
a4e504391b4265c7e9ca0e4450e29e719911045b
[ "MIT" ]
null
null
null
basic_operations/vector_substraction.cpp
jcheng123/Perelman
a4e504391b4265c7e9ca0e4450e29e719911045b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> using namespace std; int VecSubstraction(const vector<float>& m, const float& alpha, vector<float> &res) { int ret = 0; if (m.empty()) { cout << "The input vector should \ not be empty." << endl; ret = -1;...
23.2
87
0.471602
[ "vector" ]
f565c0edbc576b287d9bc4e217e1fd4001d8a3ec
1,476
cpp
C++
codes/CF/1325/CF_1325C.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/CF/1325/CF_1325C.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/CF/1325/CF_1325C.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <ctime> #include <cmath> #include <cassert> #include <algorithm> #include <vector> #include <random> #include <chrono> #define cont continue #define pow2(n) (1 << (n)) #define ll long long #define pii pair<int, int> #define pb push_ba...
21.705882
81
0.54607
[ "vector" ]
f566b1db192f18ac739d2e2d3d7a1cb3bfcee3ec
8,656
cpp
C++
src/defin/definComponent.cpp
mgwoo/OpenDB
8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4
[ "BSD-3-Clause" ]
1
2021-03-04T02:35:47.000Z
2021-03-04T02:35:47.000Z
src/defin/definComponent.cpp
mgwoo/OpenDB
8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4
[ "BSD-3-Clause" ]
null
null
null
src/defin/definComponent.cpp
mgwoo/OpenDB
8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2019, Nefelus 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: //...
25.533923
99
0.596811
[ "vector" ]
f56b2ab661a9d8002048dd3c697c022b724c24c4
17,353
cpp
C++
src/hssh/global_topological/mapping/lazy_evaluation_mapper.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
3
2020-03-05T23:56:14.000Z
2021-02-17T19:06:50.000Z
src/hssh/global_topological/mapping/lazy_evaluation_mapper.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
1
2021-03-07T01:23:47.000Z
2021-03-07T01:23:47.000Z
src/hssh/global_topological/mapping/lazy_evaluation_mapper.cpp
anuranbaka/Vulcan
56339f77f6cf64b5fda876445a33e72cd15ce028
[ "MIT" ]
1
2021-03-03T07:54:16.000Z
2021-03-03T07:54:16.000Z
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
37.723913
120
0.688526
[ "vector" ]
f570428ee192772fc25d74c4442509a99bcfb343
81,013
cpp
C++
IGC/VectorCompiler/lib/GenXCodeGen/GenXArgIndirection.cpp
zboszor/intel-graphics-compiler
c894e48d9efbf72950b74f9d4a1cf58be023d791
[ "Intel", "MIT" ]
null
null
null
IGC/VectorCompiler/lib/GenXCodeGen/GenXArgIndirection.cpp
zboszor/intel-graphics-compiler
c894e48d9efbf72950b74f9d4a1cf58be023d791
[ "Intel", "MIT" ]
null
null
null
IGC/VectorCompiler/lib/GenXCodeGen/GenXArgIndirection.cpp
zboszor/intel-graphics-compiler
c894e48d9efbf72950b74f9d4a1cf58be023d791
[ "Intel", "MIT" ]
null
null
null
/*========================== begin_copyright_notice ============================ Copyright (C) 2017-2021 Intel Corporation SPDX-License-Identifier: MIT ============================= end_copyright_notice ===========================*/ // /// GenXArgIndirection /// ------------------ /// /// The GenXArgIndirection pas...
42.392988
110
0.656981
[ "object", "vector", "transform" ]
f579e5caa8abed724fad527ca39d6575e047b285
2,649
cpp
C++
test/filter/JournalIOFactory.cpp
CuSO4Gem/jrm
8ad1e5c785b193cd917e08d55f3edb068e007304
[ "Apache-2.0" ]
null
null
null
test/filter/JournalIOFactory.cpp
CuSO4Gem/jrm
8ad1e5c785b193cd917e08d55f3edb068e007304
[ "Apache-2.0" ]
null
null
null
test/filter/JournalIOFactory.cpp
CuSO4Gem/jrm
8ad1e5c785b193cd917e08d55f3edb068e007304
[ "Apache-2.0" ]
null
null
null
/* Copyright 2022 Zorn Link 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 distr...
28.180851
78
0.579841
[ "vector" ]
f57c81dc05698e3643fa2208d3907316dbfa6a26
687
hpp
C++
include/rive/generated/container_component_base.hpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
139
2020-08-17T20:10:24.000Z
2022-03-28T12:22:44.000Z
include/rive/generated/container_component_base.hpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
89
2020-08-28T16:41:01.000Z
2022-03-28T19:10:49.000Z
include/rive/generated/container_component_base.hpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
19
2020-10-19T00:54:40.000Z
2022-02-28T05:34:17.000Z
#ifndef _RIVE_CONTAINER_COMPONENT_BASE_HPP_ #define _RIVE_CONTAINER_COMPONENT_BASE_HPP_ #include "rive/component.hpp" namespace rive { class ContainerComponentBase : public Component { protected: typedef Component Super; public: static const uint16_t typeKey = 11; /// Helper to quickly determine if a core o...
20.205882
74
0.730713
[ "object" ]
f57c8d08d97c66a3a7c0c79fcdeb2417323d4d33
6,130
cpp
C++
Data Structures/HLD.cpp
IamODJ/Competitive-Programming
a084456ee2819ae3df2bf83140e1f9eb10a5f779
[ "MIT" ]
2
2020-11-11T19:18:07.000Z
2021-01-01T14:29:49.000Z
Data Structures/HLD.cpp
Elsaadany427/Competitive-Programming
7498c26c1fdf6e74a774df6f3a9fc8f9c550bbd5
[ "MIT" ]
null
null
null
Data Structures/HLD.cpp
Elsaadany427/Competitive-Programming
7498c26c1fdf6e74a774df6f3a9fc8f9c550bbd5
[ "MIT" ]
null
null
null
// Heavy-light decomposition (HLD) is a data structure to answer queries and update values on tree // Splitting the trees into separate paths that allows us to use another data structure such as segment tree on a tree // As we decompose the tree, we have enough information to build a lca function (which will be usefu...
30.65
153
0.537194
[ "vector" ]
f57ef57bb681d7cdb7b4c8ebb1a592537295f3cc
3,641
cpp
C++
samples/snippets/cpp/VS_Snippets_Winforms/FontDialog.ShowApply/CPP/form1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Winforms/FontDialog.ShowApply/CPP/form1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Winforms/FontDialog.ShowApply/CPP/form1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
#using <System.dll> #using <System.Drawing.dll> #using <System.Windows.Forms.dll> #using <System.Data.dll> using namespace System; using namespace System::Drawing; using namespace System::Collections; using namespace System::ComponentModel; using namespace System::Windows::Forms; using namespace System::Data...
27.583333
100
0.556166
[ "object" ]
f582a90823fd00d35c7c4e59104e66fc92da10db
270
cpp
C++
Unfair Coin/Unfair Coin/Model.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
Unfair Coin/Unfair Coin/Model.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
Unfair Coin/Unfair Coin/Model.cpp
larsolm/Archives
18968c18b80777e589bc8a704b4375be2fff8eea
[ "MIT" ]
null
null
null
#include "Model.h" void Model::create() { } void Model::destroy() { } void Model::draw() { glBindBuffer(GL_ARRAY_BUFFER, _vertexBuffer); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _indexBuffer); glDrawElements(GL_TRIANGLES, _indexCount, GL_UNSIGNED_BYTE, 0); }
16.875
67
0.733333
[ "model" ]
f585e4d3066512753ccf9bf00fcbdefe2bd1c4d8
1,335
cpp
C++
src/game/client/components/damageind.cpp
noother/ddracemax_old
f383b56de7827b6f1de7cff70dad836768e07d76
[ "Zlib" ]
2
2017-09-30T22:06:07.000Z
2021-07-20T23:50:33.000Z
src/game/client/components/damageind.cpp
floff/ddracemax_old
f1356177c49a3bc20632df9a84a51bc491c37f7d
[ "Zlib" ]
1
2017-11-22T15:10:02.000Z
2019-06-21T05:13:30.000Z
src/game/client/components/damageind.cpp
floff/ddracemax_old
f1356177c49a3bc20632df9a84a51bc491c37f7d
[ "Zlib" ]
3
2018-05-12T00:10:43.000Z
2021-07-16T13:25:57.000Z
#include <engine/e_client_interface.h> #include <game/generated/g_protocol.hpp> #include <game/generated/gc_data.hpp> #include <game/gamecore.hpp> // get_angle #include <game/client/ui.hpp> #include <game/client/render.hpp> #include "damageind.hpp" DAMAGEIND::DAMAGEIND() { lastupdate = 0; num_items = 0; } DAMAGEIN...
19.925373
112
0.648689
[ "render" ]
f58c0f46e295564dcb12bdea34f6e78f9ee073e2
6,525
cc
C++
inet/src/inet/networklayer/rsvp_te/SimpleClassifier.cc
googleinterns/vectio
0d8ef1d504c821de733110c82b16b2ae43332c5c
[ "Apache-2.0" ]
1
2020-05-21T07:48:00.000Z
2020-05-21T07:48:00.000Z
inet/src/inet/networklayer/rsvp_te/SimpleClassifier.cc
googleinterns/vectio
0d8ef1d504c821de733110c82b16b2ae43332c5c
[ "Apache-2.0" ]
4
2020-07-06T15:58:14.000Z
2020-07-15T21:56:36.000Z
inet/src/inet/networklayer/rsvp_te/SimpleClassifier.cc
googleinterns/vectio
0d8ef1d504c821de733110c82b16b2ae43332c5c
[ "Apache-2.0" ]
1
2020-10-02T04:12:51.000Z
2020-10-02T04:12:51.000Z
// // (C) 2005 Vojtech Janota // // This library 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 Software Foundation; // either version 2 of the License, or any later version. // The library is distributed in the hope...
28.871681
131
0.634943
[ "vector" ]
f590f693cf7b939c24635369fa2eaa098ee107fe
2,822
cc
C++
example-1.cc
Leedehai/ccindex
5ba576a1df950424065fbeec5cd6093ddbbc21ff
[ "MIT" ]
null
null
null
example-1.cc
Leedehai/ccindex
5ba576a1df950424065fbeec5cd6093ddbbc21ff
[ "MIT" ]
null
null
null
example-1.cc
Leedehai/ccindex
5ba576a1df950424065fbeec5cd6093ddbbc21ff
[ "MIT" ]
null
null
null
// this is a test input with grammar errors #include <vector> #include <map> #include "example-2.h" using namespace std; const int independentVariable = 1; int independentFunction(); typedef std::vector<int> Int; /** comment for MyClass */ class MyClass { int property1; static void method1(); public: /** comment f...
20.014184
105
0.689936
[ "vector" ]
f595979f03563ce8dd44ff50002924c6c8492006
5,762
cc
C++
modules/planning/planner/rtk/rtk_replay_planner.cc
fxbupt/apollo
65bda57aa2f01b045ecf9cff95d9e6fd80ed091f
[ "Apache-2.0" ]
1
2021-03-08T06:35:35.000Z
2021-03-08T06:35:35.000Z
modules/planning/planner/rtk/rtk_replay_planner.cc
fxbupt/apollo
65bda57aa2f01b045ecf9cff95d9e6fd80ed091f
[ "Apache-2.0" ]
null
null
null
modules/planning/planner/rtk/rtk_replay_planner.cc
fxbupt/apollo
65bda57aa2f01b045ecf9cff95d9e6fd80ed091f
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2017 The Apollo 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 ...
34.921212
80
0.669386
[ "vector" ]
f5961dcf1f36fd815f7b3ffbaac86ab3c701fc81
1,117
hpp
C++
c++/muse/algorithms/sorting/MergeSort.hpp
networkhermit/algorithm
5c7221b12fac2de947a7c75ee40ff4ff519b443f
[ "MIT" ]
null
null
null
c++/muse/algorithms/sorting/MergeSort.hpp
networkhermit/algorithm
5c7221b12fac2de947a7c75ee40ff4ff519b443f
[ "MIT" ]
null
null
null
c++/muse/algorithms/sorting/MergeSort.hpp
networkhermit/algorithm
5c7221b12fac2de947a7c75ee40ff4ff519b443f
[ "MIT" ]
null
null
null
#ifndef MUSE_ALGORITHMS_SORTING_MERGE_SORT_HPP #define MUSE_ALGORITHMS_SORTING_MERGE_SORT_HPP 1 #include <cstddef> #include <vector> namespace MergeSort { template <typename T> void merge(std::vector<T> &arr, std::size_t lo, std::size_t mid, std::size_t hi) { if (lo == mid) { return; ...
22.795918
86
0.457475
[ "vector" ]
60d0ca698275454088400be97e071ef8ce516989
6,408
cpp
C++
device/plugins/api/src/command_poller.cpp
openharmony-gitee-mirror/developtools_profiler
89bdc094fc84c40accb8c0e82dc8bbc7e85f0387
[ "Apache-2.0" ]
null
null
null
device/plugins/api/src/command_poller.cpp
openharmony-gitee-mirror/developtools_profiler
89bdc094fc84c40accb8c0e82dc8bbc7e85f0387
[ "Apache-2.0" ]
null
null
null
device/plugins/api/src/command_poller.cpp
openharmony-gitee-mirror/developtools_profiler
89bdc094fc84c40accb8c0e82dc8bbc7e85f0387
[ "Apache-2.0" ]
1
2021-09-13T11:17:44.000Z
2021-09-13T11:17:44.000Z
/* * Copyright (c) 2021 Huawei Device 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 or a...
35.6
105
0.700999
[ "vector" ]
60d44a2188457602416d0df7bd90359b4c24dc61
1,298
cpp
C++
BashuOJ-Code/2922.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/2922.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/2922.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> #include<algorithm> #include<queue> #include<stack> #include<limits> #include<vector> #define ri register int #define ll long long using namespace std; const int MAXN=55; int n,m,t,map[MAXN][MAXN],Outd[MAXN]; double p[MAXN][MAXN],f[...
20.28125
60
0.546995
[ "vector" ]
60d6973624674d30c54f3d987a690f639af732d9
13,674
cpp
C++
src/ui/account-view.cpp
fakuivan/seafile-client
d79c883c8b85e65c1b4cd2e98560859a4c81a63f
[ "Apache-2.0" ]
null
null
null
src/ui/account-view.cpp
fakuivan/seafile-client
d79c883c8b85e65c1b4cd2e98560859a4c81a63f
[ "Apache-2.0" ]
null
null
null
src/ui/account-view.cpp
fakuivan/seafile-client
d79c883c8b85e65c1b4cd2e98560859a4c81a63f
[ "Apache-2.0" ]
1
2020-10-02T01:07:07.000Z
2020-10-02T01:07:07.000Z
#include <QMenu> #include <QAction> #include <QToolButton> #include <QScopedPointer> #include <QPainter> #include <QStringList> #include <QDesktopServices> #include <QMouseEvent> #include <QUrl> #include <QUrlQuery> #include <QThreadPool> #include "account.h" #include "seafile-applet.h" #include "account-mgr.h" #inclu...
37.157609
131
0.643484
[ "vector" ]
60d80e67d79aa32f79bee180acd33b11e4bf73b6
6,303
cpp
C++
AVSCommon/Utils/test/UUIDGenerationTest.cpp
skrowten-hermit/avs-device-sdk
1255f3398b9c9bdd92d8fcde89c90f19f49eb21d
[ "Apache-2.0" ]
8
2018-05-10T09:02:44.000Z
2021-03-28T00:37:36.000Z
AVSCommon/Utils/test/UUIDGenerationTest.cpp
skrowten-hermit/avs-device-sdk
1255f3398b9c9bdd92d8fcde89c90f19f49eb21d
[ "Apache-2.0" ]
6
2019-03-26T10:30:43.000Z
2019-09-04T10:53:28.000Z
AVSCommon/Utils/test/UUIDGenerationTest.cpp
skrowten-hermit/avs-device-sdk
1255f3398b9c9bdd92d8fcde89c90f19f49eb21d
[ "Apache-2.0" ]
16
2019-02-12T12:09:54.000Z
2020-05-06T19:33:35.000Z
/* * Copyright 2017-2018 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 "...
33.349206
120
0.699191
[ "vector" ]
60d8c101aef5f43c54c93ba9a1d2f9dfc4823b75
21,153
cpp
C++
Script/maxent.cpp
accurat-toolkit/maxent_DFKI_v3
a4e72f88dd318a40d108af06f52640d8064e39c5
[ "BSD-2-Clause" ]
1
2017-10-26T20:23:29.000Z
2017-10-26T20:23:29.000Z
Script/maxent.cpp
accurat-toolkit/maxent_DFKI_v3
a4e72f88dd318a40d108af06f52640d8064e39c5
[ "BSD-2-Clause" ]
null
null
null
Script/maxent.cpp
accurat-toolkit/maxent_DFKI_v3
a4e72f88dd318a40d108af06f52640d8064e39c5
[ "BSD-2-Clause" ]
null
null
null
/* * $Id: maxent.cpp,v 1.28 2006/08/21 17:30:38 tsuruoka Exp $ */ #include "maxent.h" #include <cmath> #include <cstdio> using namespace std; int ME_Model::BLMVMFunctionGradient(double *x, double *f, double *g, int n) { const int nf = _fb.Size(); if (_inequality_width > 0) { assert(nf == n/2); for (in...
27.578879
122
0.577554
[ "vector", "3d" ]
60d95ede8282793cd2fc303d6f39509ac891cff9
4,214
cpp
C++
09-LambertianPlusShadows/Passes/LambertianPlusShadowPass.cpp
OnionStark/Raytracing-Renderer
7dc0986bde15a764eaebacf2bfb6c3182533fb3a
[ "BSD-3-Clause" ]
559
2018-09-20T13:42:00.000Z
2022-03-28T04:54:44.000Z
09-LambertianPlusShadows/Passes/LambertianPlusShadowPass.cpp
OnionStark/Raytracing-Renderer
7dc0986bde15a764eaebacf2bfb6c3182533fb3a
[ "BSD-3-Clause" ]
13
2018-10-09T18:48:25.000Z
2021-12-07T09:59:38.000Z
09-LambertianPlusShadows/Passes/LambertianPlusShadowPass.cpp
OnionStark/Raytracing-Renderer
7dc0986bde15a764eaebacf2bfb6c3182533fb3a
[ "BSD-3-Clause" ]
87
2018-10-04T08:14:35.000Z
2022-03-08T01:55:26.000Z
/********************************************************************************************************************** # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the # following conditio...
51.390244
125
0.726863
[ "render" ]
60dc2599fbf49238a4a7ca025a21a630dc1b4a63
11,958
cpp
C++
hpc/L2/src/sw/mlp/api_fcn_multiInstr.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
4
2021-08-16T18:25:48.000Z
2022-03-22T08:49:43.000Z
mlp/gemm_based_fcn_designs/sw/src/api_fcn_multiInstr.cpp
Xilinx/HPC
c5d11c41f98a6ce8fc4a3fc9e7f5a133a09a9af3
[ "Apache-2.0" ]
null
null
null
mlp/gemm_based_fcn_designs/sw/src/api_fcn_multiInstr.cpp
Xilinx/HPC
c5d11c41f98a6ce8fc4a3fc9e7f5a133a09a9af3
[ "Apache-2.0" ]
1
2021-04-28T05:58:38.000Z
2021-04-28T05:58:38.000Z
/* * Copyright 2019 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
47.452381
120
0.585215
[ "vector" ]
60dffabc508c4462d212c75e9ade66e6242df436
172
cpp
C++
tests/dump_files_for_tests/test_it_quaternion_addition_3.cpp
unl-nimbus-lab/phriky-units
16c8cdd91de0899411b139e5a94fcb4ea8104ad2
[ "MIT" ]
22
2017-07-18T09:39:34.000Z
2021-09-16T09:41:03.000Z
tests/dump_files_for_tests/test_it_quaternion_addition_3.cpp
unl-nimbus-lab/phriky-units
16c8cdd91de0899411b139e5a94fcb4ea8104ad2
[ "MIT" ]
9
2016-09-04T13:33:15.000Z
2018-01-05T22:39:03.000Z
tests/dump_files_for_tests/test_it_quaternion_addition_3.cpp
unl-nimbus-lab/phriky-units
16c8cdd91de0899411b139e5a94fcb4ea8104ad2
[ "MIT" ]
4
2016-12-07T16:34:57.000Z
2019-04-03T06:51:55.000Z
#include <ros/ros.h> #include <tf2_geometry_msgs/tf2_geometry_msgs.h> int main(int argc, char **argv) { tf2::Transform tf; float f = 42.0 + tf.getRotation().getW(); }
19.111111
48
0.686047
[ "transform" ]
60e3a07164412213d3625bfa463d052d32084060
4,411
hpp
C++
Sources/VectorSpaces/vector_space.hpp
j042/SplineLib
db92df816b9af44f2d4f4275897f9ed3341a6646
[ "MIT" ]
null
null
null
Sources/VectorSpaces/vector_space.hpp
j042/SplineLib
db92df816b9af44f2d4f4275897f9ed3341a6646
[ "MIT" ]
null
null
null
Sources/VectorSpaces/vector_space.hpp
j042/SplineLib
db92df816b9af44f2d4f4275897f9ed3341a6646
[ "MIT" ]
null
null
null
/* Copyright (c) 2018–2021 SplineLib 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, distribute, ...
43.245098
120
0.781002
[ "vector" ]
60e3e9466094e8e429ee4d4718fb53d8ee8ebd25
257
cpp
C++
casbin/ip_parser/parser/allFF.cpp
PDLdeLange/casbin-cpp
b84ed3495258c7a4777e5ade958546ac19706750
[ "Apache-2.0" ]
null
null
null
casbin/ip_parser/parser/allFF.cpp
PDLdeLange/casbin-cpp
b84ed3495258c7a4777e5ade958546ac19706750
[ "Apache-2.0" ]
null
null
null
casbin/ip_parser/parser/allFF.cpp
PDLdeLange/casbin-cpp
b84ed3495258c7a4777e5ade958546ac19706750
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #ifndef ALLFF_CPP #define ALLFF_CPP #include "./allFF.h" bool allFF(vector<byte> b) { for(int i = 0 ; i < b.size() ; i++){ if(b[i] != 0xff) { return false; } } return true; } #endif // ALLFF_CPP
13.526316
40
0.513619
[ "vector" ]
60e41e56dfa2629eec0f17fd4290924b81b49adb
12,556
cpp
C++
chess_md2.cpp
matthiascy/Chess3D
c1e323fd90c300085849b00c81eb4699059becf7
[ "MIT" ]
1
2015-09-06T15:29:41.000Z
2015-09-06T15:29:41.000Z
chess_md2.cpp
matthiascy/Chess3D
c1e323fd90c300085849b00c81eb4699059becf7
[ "MIT" ]
null
null
null
chess_md2.cpp
matthiascy/Chess3D
c1e323fd90c300085849b00c81eb4699059becf7
[ "MIT" ]
null
null
null
#include "chess_md2.h" #include <cstdio> #include <cmath> #include <cfloat> const float SPHERE_PADDING = 10.0; typedef struct { int numVerts; int numTris; int numFrames; GLfloat minY; Sphere boundingSphere; } ModelInfo; bool loadModel(char *filename, Vertex* &verts, Mesh* &tris, TexCoord* &texCoords, ...
24.667976
91
0.633402
[ "mesh", "render", "model" ]
60e58f9b26b1625cccd793721bd56856b0424a7c
3,592
cc
C++
src/input/pointcloud_helpers.cc
ut-amrl/nautilus
d7c1f5b03e7bea54be87565da2a8845b044a28b5
[ "MIT" ]
1
2021-07-31T19:17:15.000Z
2021-07-31T19:17:15.000Z
src/input/pointcloud_helpers.cc
ut-amrl/nautilus
d7c1f5b03e7bea54be87565da2a8845b044a28b5
[ "MIT" ]
9
2020-08-27T20:49:50.000Z
2020-10-25T22:40:49.000Z
src/input/pointcloud_helpers.cc
ut-amrl/nautilus
d7c1f5b03e7bea54be87565da2a8845b044a28b5
[ "MIT" ]
null
null
null
// // Created by jack on 9/15/19. // #include "./pointcloud_helpers.h" #include <glog/logging.h> #include <numeric> #include "../util/kdtree.h" #include "../util/math_util.h" #include "eigen3/Eigen/Dense" #include "ros/package.h" #include "sensor_msgs/PointCloud2.h" namespace nautilus { using Eigen::Matrix2f; usi...
28.736
80
0.64755
[ "vector" ]
60e652ec7a1fcc0d3844f0254fa6ff6072a861ce
7,189
cc
C++
tensorflow/lite/tools/optimize/calibration/calibrator_test.cc
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
36
2016-12-17T15:25:25.000Z
2022-01-29T21:50:53.000Z
tensorflow/lite/tools/optimize/calibration/calibrator_test.cc
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
59
2019-06-17T09:37:49.000Z
2022-01-19T01:21:34.000Z
tensorflow/lite/tools/optimize/calibration/calibrator_test.cc
PaulWang1905/tensorflow
ebf12d22b4801fb8dab5034cc94562bf7cc33fa0
[ "Apache-2.0" ]
36
2017-07-27T21:12:40.000Z
2022-02-03T16:45:56.000Z
/* Copyright 2018 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...
33.751174
80
0.658923
[ "vector", "model" ]
60e7241e290c4c5406a13f1dd075b27d9c5f6873
8,397
cpp
C++
lldb/source/Host/netbsd/HostNetBSD.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
lldb/source/Host/netbsd/HostNetBSD.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
lldb/source/Host/netbsd/HostNetBSD.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
//===-- source/Host/netbsd/HostNetBSD.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 // //===---------------------------...
30.758242
80
0.659164
[ "object" ]
60e7c89fdb3605b37f66fecb6ad4ce92f0cfd579
5,879
cpp
C++
udp-echo/test-udp-puncher/test-client.cpp
iexperiment-org/raspberry-jam
0981ba27ca4c599ae1e7f186643f9ad63bee8ec1
[ "MIT" ]
13
2020-04-15T22:52:31.000Z
2021-09-28T10:18:46.000Z
udp-echo/test-udp-puncher/test-client.cpp
iexperiment-org/raspberry-jam
0981ba27ca4c599ae1e7f186643f9ad63bee8ec1
[ "MIT" ]
28
2020-03-31T20:20:03.000Z
2021-07-13T23:13:09.000Z
udp-echo/test-udp-puncher/test-client.cpp
iexperiment-org/raspberry-jam
0981ba27ca4c599ae1e7f186643f9ad63bee8ec1
[ "MIT" ]
3
2020-07-25T19:49:36.000Z
2020-09-01T01:27:02.000Z
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netinet/in.h> #include <time.h> #define PORT 8080 #define MAXLINE 1024 #define REREGISTER_CLOCK 30 int serverIndex = 0; int nameIndex = 0; int portIndex = 0; i...
28.400966
117
0.559959
[ "solid" ]
60eb322ef4ca9fa055784d91e809ad56b89556b3
31,959
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/MessageQueue2/cpp/class1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Remoting/MessageQueue2/cpp/class1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Remoting/MessageQueue2/cpp/class1.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
#using <System.dll> #using <System.Messaging.dll> using namespace System; using namespace System::Messaging; // Creates a new queue. static void CreateQueue(String^ queuePath, bool transactional) { if (!MessageQueue::Exists(queuePath)) { MessageQueue^ queue = MessageQueue::Create(queuePath,...
29.027248
78
0.64298
[ "object" ]
60ebfadb424da8a3df86842052576d430095205e
7,903
cpp
C++
TP2/AlgorithmLocal.cpp
GuillaumeArruda/INF4705
134f965045514066133b19d0206f99e34f3e2947
[ "BSD-3-Clause" ]
null
null
null
TP2/AlgorithmLocal.cpp
GuillaumeArruda/INF4705
134f965045514066133b19d0206f99e34f3e2947
[ "BSD-3-Clause" ]
null
null
null
TP2/AlgorithmLocal.cpp
GuillaumeArruda/INF4705
134f965045514066133b19d0206f99e34f3e2947
[ "BSD-3-Clause" ]
null
null
null
#include "AlgorithmLocal.h" #include "AlgorithmVorace.h" #include <algorithm> #include <iostream> AlgorithmLocal::AlgorithmLocal() { } AlgorithmLocal::~AlgorithmLocal() { } Solution AlgorithmLocal::concreteSolve(const Problem& problem) { AlgorithmVorace vorace; Solution solution(problem); solution = vor...
45.947674
171
0.52904
[ "vector" ]
60ec9f8acae490633147c13a7de4593b3a67fad9
18,845
cpp
C++
src/drivers/pwm_esc/pwm_esc.cpp
aravindraja93/px4-firmware
2de89b19a554cca6edbba1d41b267ef675f9920b
[ "BSD-3-Clause" ]
null
null
null
src/drivers/pwm_esc/pwm_esc.cpp
aravindraja93/px4-firmware
2de89b19a554cca6edbba1d41b267ef675f9920b
[ "BSD-3-Clause" ]
34
2020-11-19T06:19:56.000Z
2022-03-25T08:54:11.000Z
src/drivers/pwm_esc/pwm_esc.cpp
aravindraja93/px4-firmware
2de89b19a554cca6edbba1d41b267ef675f9920b
[ "BSD-3-Clause" ]
7
2020-11-18T16:51:32.000Z
2022-01-12T08:46:09.000Z
/**************************************************************************** * * Copyright (c) 2021 Technology Innovation Institute. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * ...
22.732207
121
0.688936
[ "object" ]
60edeef91e72313784b9a4d5760d38f68f4c532d
1,060
cpp
C++
Star.cpp
caudate-julie/OrbitalArcadeGame
ca8061dd20ea235cc926e7bbf3dde3ceab8d0eef
[ "Zlib" ]
1
2020-08-30T15:36:35.000Z
2020-08-30T15:36:35.000Z
Star.cpp
caudate-julie/OrbitalArcadeGame
ca8061dd20ea235cc926e7bbf3dde3ceab8d0eef
[ "Zlib" ]
null
null
null
Star.cpp
caudate-julie/OrbitalArcadeGame
ca8061dd20ea235cc926e7bbf3dde3ceab8d0eef
[ "Zlib" ]
null
null
null
#include "Star.h" #include "Configuration.h" #include "auxiliary.h" extern Configuration* config; /**------------------------------------------------------------ Constructor - given position, makes random size and (once) size-based or random type. -----------------------------------------------------------*/ Sta...
30.285714
83
0.457547
[ "object" ]
60ee723ab2c5f22ef52abfbe20f8e8d00952e2d4
5,561
cpp
C++
admin/darwin/src/buildtools/mkerrtbl/mkerrtbl.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/darwin/src/buildtools/mkerrtbl/mkerrtbl.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/darwin/src/buildtools/mkerrtbl/mkerrtbl.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1995 - 1999 // // File: mkerrtbl.cpp // //-------------------------------------------------------------------------- #include "common.h" // to allow use o...
32.520468
100
0.59198
[ "transform" ]
60f1311992bab047f59718bc2f117d3a137f04c6
4,702
cpp
C++
src/Kripke/Kernel/SweepSubdomain.cpp
brandonneth/Kripke
9604d8f4e81fd18bf351c2a8578829053addb357
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
1
2019-11-20T21:46:39.000Z
2019-11-20T21:46:39.000Z
src/Kripke/Kernel/SweepSubdomain.cpp
brandonneth/Kripke
9604d8f4e81fd18bf351c2a8578829053addb357
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
src/Kripke/Kernel/SweepSubdomain.cpp
brandonneth/Kripke
9604d8f4e81fd18bf351c2a8578829053addb357
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2014-19, Lawrence Livermore National Security, LLC // and Kripke project contributors. See the COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) // #include <Kripke/Kernel.h> #include <Kripke.h> #include <Kripke/Arch/SweepSubdomains.h> #include <Kripke/Timing.h> #include <K...
37.616
99
0.661421
[ "mesh" ]
60f1e2bc24196d202b73fc589cb75b3bab38e5f4
9,990
cc
C++
third_party/blink/renderer/core/css/affected_by_pseudo_test.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
third_party/blink/renderer/core/css/affected_by_pseudo_test.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
third_party/blink/renderer/core/css/affected_by_pseudo_test.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.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 <memory> #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/core/css/style_engine.h" #include "third_party/blink...
30.090361
80
0.667267
[ "solid" ]
60f6773fb0cb499d315c326042482cb34888e84d
7,947
cpp
C++
test/arrayproperty.cpp
16tons/camp
3edae6d6a06036bac5faf4e7b9e7b5dd8e463af8
[ "MIT" ]
1
2018-08-07T22:32:55.000Z
2018-08-07T22:32:55.000Z
test/arrayproperty.cpp
16tons/camp
3edae6d6a06036bac5faf4e7b9e7b5dd8e463af8
[ "MIT" ]
null
null
null
test/arrayproperty.cpp
16tons/camp
3edae6d6a06036bac5faf4e7b9e7b5dd8e463af8
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** This file is part of the CAMP library. ** ** The MIT License (MIT) ** ** Copyright (C) 2009-2014 TEGESO/TEGESOFT and/or its subsidiary(-ies) and mother company. ** Contact: Tegesoft Information (contact@tegesoft.com) ** ** Permission is...
42.956757
97
0.615956
[ "object" ]
8801826f551e4299ba4364a6d90094ab17ecac79
8,457
cpp
C++
CrescentEngine/Core/Defunct/Primitive.cpp
xRiveria/Crescent-Engine
b6512b6a8dab2d27cf542c562ccc28f21bf2345d
[ "Apache-2.0" ]
2
2020-12-18T03:43:07.000Z
2020-12-23T12:20:00.000Z
CrescentEngine/Core/Defunct/Primitive.cpp
xRiveria/Crescent-Engine
b6512b6a8dab2d27cf542c562ccc28f21bf2345d
[ "Apache-2.0" ]
null
null
null
CrescentEngine/Core/Defunct/Primitive.cpp
xRiveria/Crescent-Engine
b6512b6a8dab2d27cf542c562ccc28f21bf2345d
[ "Apache-2.0" ]
null
null
null
#include "CrescentPCH.h" /* #include "Primitive.h" #include <imgui/imgui.h> #include <sstream> #include <glm/gtc/type_ptr.hpp> #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/quaternion.hpp> static int temporaryUUID = 0; float planeVertices[] = { // positions // normals // texcoords 25.0...
34.518367
144
0.531631
[ "model" ]
880258f85245cd9b2fe50e0cd2fa9e38f3c531ff
1,900
cpp
C++
marlin-firmware/Marlin/src/feature/leds/tempstat.cpp
voicevon/gogame_bot
a1d91f4a1b2537d00b5cd5ed78d429a9c1aad3d1
[ "MIT" ]
6
2020-12-04T21:55:04.000Z
2022-02-02T20:49:45.000Z
marlin-firmware/Marlin/src/feature/leds/tempstat.cpp
voicevon/gogame_bot
a1d91f4a1b2537d00b5cd5ed78d429a9c1aad3d1
[ "MIT" ]
24
2020-12-25T05:00:51.000Z
2021-04-20T00:56:50.000Z
marlin-firmware/Marlin/src/feature/leds/tempstat.cpp
voicevon/gogame_bot
a1d91f4a1b2537d00b5cd5ed78d429a9c1aad3d1
[ "MIT" ]
3
2021-05-01T15:13:41.000Z
2022-02-11T01:15:30.000Z
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
33.928571
105
0.706316
[ "3d" ]
8802a7546dc06dcbb6a4d55b8ecc60239c0ea5b1
3,626
cxx
C++
Libs/Core/Code/m3doFolder.cxx
midasplatform/MidasClient
728d4a5969691b54b7d0efd2dbad5a4df85d1a0e
[ "Apache-2.0" ]
null
null
null
Libs/Core/Code/m3doFolder.cxx
midasplatform/MidasClient
728d4a5969691b54b7d0efd2dbad5a4df85d1a0e
[ "Apache-2.0" ]
null
null
null
Libs/Core/Code/m3doFolder.cxx
midasplatform/MidasClient
728d4a5969691b54b7d0efd2dbad5a4df85d1a0e
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2011 Kitware Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache....
17.687805
79
0.61914
[ "vector" ]
880938a8decfb79741e84ff3c4df5eeb91f85236
984
cpp
C++
mr.Sadman/Classes/GameAct/Objects/Shared/Fire/Fire.cpp
1pkg/dump
0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b
[ "MIT" ]
null
null
null
mr.Sadman/Classes/GameAct/Objects/Shared/Fire/Fire.cpp
1pkg/dump
0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b
[ "MIT" ]
3
2020-12-11T10:01:27.000Z
2022-02-13T22:12:05.000Z
mr.Sadman/Classes/GameAct/Objects/Shared/Fire/Fire.cpp
1pkg/dump
0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b
[ "MIT" ]
null
null
null
#include "Fire.hpp" #include "Resources/Cache/Cache.hpp" namespace GameAct { namespace Shared { void Fire::initialize() { Stream::initialize(); _particle->setStartColor( cocos2d::Color4F::RED ); _particle->setEndColor( cocos2d::Color4F::RED ); } std::string Fire::getResourcesName() const { ...
20.5
67
0.660569
[ "object" ]
880c7cf4fa8159d49d3d93afc67d8ff658a68aef
15,803
cpp
C++
Modules/Tools/Sources/Tools/AssetCache/Private/AssetCacheClient.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-11-14T10:18:24.000Z
2020-11-14T10:18:24.000Z
Modules/Tools/Sources/Tools/AssetCache/Private/AssetCacheClient.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
null
null
null
Modules/Tools/Sources/Tools/AssetCache/Private/AssetCacheClient.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-09-05T21:16:17.000Z
2020-09-05T21:16:17.000Z
#include "Tools/AssetCache/AssetCacheClient.h" #include "Tools/AssetCache/ChunkSplitter.h" #include <FileSystem/FileSystem.h> #include <Concurrency/LockGuard.h> #include <Concurrency/Thread.h> #include <FileSystem/DynamicMemoryFile.h> #include <Preferences/PreferencesRegistrator.h> #include <Time/SystemTimer.h> #inclu...
31.108268
196
0.62292
[ "vector" ]
880ed6c727d5679fbf8e0368f90f5cd06cade0a4
18,897
cpp
C++
src/Server.cpp
AndreVuillemot160/cuberite
a7076b5ac1d4de9fef54a3cae215b9b848c28daf
[ "Apache-2.0" ]
null
null
null
src/Server.cpp
AndreVuillemot160/cuberite
a7076b5ac1d4de9fef54a3cae215b9b848c28daf
[ "Apache-2.0" ]
null
null
null
src/Server.cpp
AndreVuillemot160/cuberite
a7076b5ac1d4de9fef54a3cae215b9b848c28daf
[ "Apache-2.0" ]
null
null
null
// ReDucTor is an awesome guy who helped me a lot #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "Server.h" #include "ClientHandle.h" #include "Mobs/Monster.h" #include "Root.h" #include "World.h" #include "Bindings/PluginManager.h" #include "ChatColor.h" #incl...
23.890013
182
0.70154
[ "vector" ]
88140a5a8f9fc8871ed678f25856d3cb76ae8082
64,251
hpp
C++
legion/engine/core/math/glm/gtc/type_precision.hpp
Rythe-Interactive/Legion-Engine.rythe-legacy
e199689024436c40054942796ce9dcd4d097d7fd
[ "MIT" ]
null
null
null
legion/engine/core/math/glm/gtc/type_precision.hpp
Rythe-Interactive/Legion-Engine.rythe-legacy
e199689024436c40054942796ce9dcd4d097d7fd
[ "MIT" ]
null
null
null
legion/engine/core/math/glm/gtc/type_precision.hpp
Rythe-Interactive/Legion-Engine.rythe-legacy
e199689024436c40054942796ce9dcd4d097d7fd
[ "MIT" ]
null
null
null
/// @ref gtc_type_precision /// @file glm/gtc/type_precision.hpp /// /// @see core (dependence) /// @see gtc_quaternion (dependence) /// /// @defgroup gtc_type_precision GLM_GTC_type_precision /// @ingroup gtc /// /// Include <glm/gtc/type_precision.hpp> to use the features of this extension. /// /// Defines specific C...
30.668735
79
0.740829
[ "vector" ]
881b0d16fa119304ef099406cbd1da88d0ba8c1d
659
hpp
C++
platform/glfw/test_writer.hpp
roblabs/maplibre-gl-native
d62ff400c6f75750d71b563344b1ca1e07b9b576
[ "BSD-2-Clause", "BSD-3-Clause" ]
4,234
2015-01-09T08:10:16.000Z
2022-03-30T14:13:55.000Z
platform/glfw/test_writer.hpp
roblabs/maplibre-gl-native
d62ff400c6f75750d71b563344b1ca1e07b9b576
[ "BSD-2-Clause", "BSD-3-Clause" ]
12,771
2015-01-01T20:27:42.000Z
2022-03-24T18:14:44.000Z
platform/glfw/test_writer.hpp
roblabs/maplibre-gl-native
d62ff400c6f75750d71b563344b1ca1e07b9b576
[ "BSD-2-Clause", "BSD-3-Clause" ]
1,571
2015-01-08T08:24:53.000Z
2022-03-28T06:30:53.000Z
#pragma once #include <mbgl/map/camera.hpp> #include <mbgl/style/style.hpp> #include <mbgl/util/size.hpp> #include <memory> #include <string> #include <vector> class TestOperationSerializer; class TestWriter final { public: TestWriter(); ~TestWriter(); TestWriter& withCameraOptions(const mbgl::CameraOp...
21.966667
69
0.728376
[ "vector" ]
88219332a01572b8a33545ff6320c7971fd8f0d9
5,910
cpp
C++
ThirdParty/poco/Foundation/src/Process.cpp
gregmedlock/roadrunnerwork
11f18f78ef3e381bc59c546a8d5e3ed46d8ab596
[ "Apache-2.0" ]
1
2021-11-29T08:30:19.000Z
2021-11-29T08:30:19.000Z
ThirdParty/poco/Foundation/src/Process.cpp
gregmedlock/roadrunnerwork
11f18f78ef3e381bc59c546a8d5e3ed46d8ab596
[ "Apache-2.0" ]
null
null
null
ThirdParty/poco/Foundation/src/Process.cpp
gregmedlock/roadrunnerwork
11f18f78ef3e381bc59c546a8d5e3ed46d8ab596
[ "Apache-2.0" ]
6
2016-06-04T08:15:01.000Z
2022-01-17T07:54:46.000Z
// // Process.cpp // // $Id: //poco/1.4/Foundation/src/Process.cpp#4 $ // // Library: Foundation // Package: Processes // Module: Process // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, free of charge, to any person or o...
26.621622
173
0.687479
[ "object", "vector" ]
882277bb01558d4d5e0f9c54460f4ac1944ba79e
34,345
cpp
C++
src/chrono_multicore/physics/ChFluidContainer.cpp
Ruochun/chrono
7b0f09242ef540ae56cfc8add3a5dc7985c654d2
[ "BSD-3-Clause" ]
1
2021-12-09T05:24:42.000Z
2021-12-09T05:24:42.000Z
src/chrono_multicore/physics/ChFluidContainer.cpp
Ruochun/chrono
7b0f09242ef540ae56cfc8add3a5dc7985c654d2
[ "BSD-3-Clause" ]
7
2021-10-20T04:43:35.000Z
2021-12-24T08:44:31.000Z
src/chrono_multicore/physics/ChFluidContainer.cpp
Ruochun/chrono
7b0f09242ef540ae56cfc8add3a5dc7985c654d2
[ "BSD-3-Clause" ]
2
2021-12-09T05:32:31.000Z
2021-12-12T17:31:18.000Z
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2016 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
43.092848
120
0.603145
[ "geometry", "vector" ]
8823485d90f165c47f220f7eb96a4348d57712fe
1,099
cpp
C++
atcoder/abc104c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
atcoder/abc104c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
atcoder/abc104c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // at most one type not take all. void solve() { int n, g; cin >> n >> g; g/=100; vector<int> p(n), c(n); for (int i = 0; i < n; i++) { cin >> p[i] >> c[i]; c[i]/=100; } const int MSK = 1<<n; int res = 1e6; for (int msk...
21.98
58
0.320291
[ "vector" ]
8825eeb856b01820ec62bad320ef4f29e3ea0e52
907
cpp
C++
16A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
16A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
16A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
20.155556
72
0.619625
[ "vector" ]
8828b1446b769e1a09f45b747506807d116ca2da
330,472
cpp
C++
src/QtPhonemes/Phonemes/nSpeechTranslator.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
src/QtPhonemes/Phonemes/nSpeechTranslator.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
src/QtPhonemes/Phonemes/nSpeechTranslator.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
#include <qtphonemes.h> typedef struct { const char * name ; int offset ; unsigned short range_min ; unsigned short range_max ; int language ; int flags ; } nSpeakAlphabet ; extern nSpeakAlphabet * FromName(const char * name) ; extern n...
57.724367
196
0.390793
[ "3d" ]
88322f746f0fcf158cc0b4f80c52c090010fc5e4
1,800
hpp
C++
STL_container/vector.hpp
JackieVan/JackieToys
ce9fee81fbf35794e0aa8965a35b787c9b5fbc59
[ "MIT" ]
null
null
null
STL_container/vector.hpp
JackieVan/JackieToys
ce9fee81fbf35794e0aa8965a35b787c9b5fbc59
[ "MIT" ]
null
null
null
STL_container/vector.hpp
JackieVan/JackieToys
ce9fee81fbf35794e0aa8965a35b787c9b5fbc59
[ "MIT" ]
null
null
null
/*==Header-File=====================================tab=2==============// FileName [Jackie_vector.hpp] Synopsis [A simple C++ header-file implementation of STL: vector] Author [Jackie Van] Date [Oct 4, 2021] Vision [ 0.1 : basic function, do not include iterator and algorithms ] ...
25
87
0.437778
[ "vector" ]
88343c169e60aae67542abd4fec3fe951045642d
4,160
cc
C++
PROX/3RDPARTY/BOOST_BINDINGS/boost_bindings/libs/numeric/bindings/lapack/test/vc6/ublas_sysv.cc
diku-dk/PROX
c6be72cc253ff75589a1cac28e4e91e788376900
[ "MIT" ]
1
2019-01-14T19:18:21.000Z
2019-01-14T19:18:21.000Z
PROX/3RDPARTY/BOOST_BINDINGS/boost_bindings/libs/numeric/bindings/lapack/test/vc6/ublas_sysv.cc
diku-dk/PROX
c6be72cc253ff75589a1cac28e4e91e788376900
[ "MIT" ]
null
null
null
PROX/3RDPARTY/BOOST_BINDINGS/boost_bindings/libs/numeric/bindings/lapack/test/vc6/ublas_sysv.cc
diku-dk/PROX
c6be72cc253ff75589a1cac28e4e91e788376900
[ "MIT" ]
1
2020-11-23T09:56:06.000Z
2020-11-23T09:56:06.000Z
// solving A * X = B // A symmetric // driver function sysv() #define BOOST_NUMERIC_BINDINGS_POOR_MANS_TRAITS #define BOOST_NO_FUNCTION_TEMPLATE_ORDERING #include <cstddef> #include <iostream> #include <complex> #include <boost/numeric/bindings/lapack/sysv.hpp> #include <boost/numeric/bindings/traits/ublas_matrix.h...
23.502825
68
0.557933
[ "vector" ]
88392c98c05f9da2db3b3abd41a5969e29aecc89
4,363
cpp
C++
Code/Framework/AzNetworking/AzNetworking/DataStructures/TimeoutQueue.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
1
2022-03-12T14:13:45.000Z
2022-03-12T14:13:45.000Z
Code/Framework/AzNetworking/AzNetworking/DataStructures/TimeoutQueue.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
3
2021-09-08T03:41:27.000Z
2022-03-12T01:01:29.000Z
Code/Framework/AzNetworking/AzNetworking/DataStructures/TimeoutQueue.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzNetworking/DataStructures/TimeoutQueue.h> #include <AzCore/Console/ILogger.h> #include...
34.626984
118
0.611735
[ "3d" ]
8839710a4abc1680d8cf6d56d57bd8a1a51ba246
2,003
cpp
C++
aws-cpp-sdk-iotsecuretunneling/source/model/ConnectionState.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/ConnectionState.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-iotsecuretunneling/source/model/ConnectionState.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.564706
97
0.751373
[ "model" ]
883a4d3ce30e5d46e714dcc7606cfa79abc8366d
6,752
cpp
C++
tcob/src/core/io/FileSystem.cpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
2
2021-08-18T19:14:35.000Z
2021-12-01T14:14:49.000Z
tcob/src/core/io/FileSystem.cpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
null
null
null
tcob/src/core/io/FileSystem.cpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Tobias Bohnen // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include <tcob/core/io/FileSystem.hpp> #include <filesystem> #include <physfs.h> #include <tcob/core/io/FileStream.hpp> #include <tcob/core/io/Logger.hpp> namespace tcob { inline auto ch...
25.28839
122
0.579236
[ "vector" ]
883ce0c35c247d08ee41f9cf8b347fcfc5999ee3
4,017
cpp
C++
plugins/graph_algorithm/src/strongly_connected_components.cpp
citypw/hal
c906c8fc34b8623533725d240aebcbce2d5a1c68
[ "MIT" ]
null
null
null
plugins/graph_algorithm/src/strongly_connected_components.cpp
citypw/hal
c906c8fc34b8623533725d240aebcbce2d5a1c68
[ "MIT" ]
null
null
null
plugins/graph_algorithm/src/strongly_connected_components.cpp
citypw/hal
c906c8fc34b8623533725d240aebcbce2d5a1c68
[ "MIT" ]
1
2020-01-09T23:38:55.000Z
2020-01-09T23:38:55.000Z
#include "plugin_graph_algorithm.h" #include "core/log.h" #include "netlist/gate.h" #include "netlist/net.h" #include "netlist/netlist.h" #include <boost/graph/graphviz.hpp> #include <boost/graph/strong_components.hpp> std::set<std::set<std::shared_ptr<gate>>> plugin_graph_algorithm::get_strongly_connected_componen...
39.382353
166
0.633806
[ "vector" ]
8842d359853e66422ca4fd9b6ddb100edc2d5b8c
1,779
cxx
C++
src/vw/Core/tests/TestThreadQueue.cxx
digimatronics/ComputerVision
2af5da17dfd277f0cb3f19a97e3d49ba19cc9d24
[ "NASA-1.3" ]
1
2021-05-16T23:57:32.000Z
2021-05-16T23:57:32.000Z
src/vw/Core/tests/TestThreadQueue.cxx
rkrishnasanka/visionworkbench
2af5da17dfd277f0cb3f19a97e3d49ba19cc9d24
[ "NASA-1.3" ]
null
null
null
src/vw/Core/tests/TestThreadQueue.cxx
rkrishnasanka/visionworkbench
2af5da17dfd277f0cb3f19a97e3d49ba19cc9d24
[ "NASA-1.3" ]
2
2017-03-18T04:06:32.000Z
2019-01-17T10:34:39.000Z
// __BEGIN_LICENSE__ // Copyright (C) 2006-2011 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ #include <gtest/gtest.h> #include <vw/Core/ThreadQueue.h> using namespace vw; TEST(ThreadQueue, Basic) { ...
23.407895
112
0.632378
[ "vector" ]