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
ef40932ccd010162829ca518a0a54e535e393a1a
12,966
cpp
C++
main/src/Objects/CObjectContactCircleCable2D.cpp
eapcivil/EXUDYN
52bddc8c258cda07e51373f68e1198b66c701d03
[ "BSD-3-Clause-Open-MPI" ]
1
2020-10-06T08:06:25.000Z
2020-10-06T08:06:25.000Z
main/src/Objects/CObjectContactCircleCable2D.cpp
eapcivil/EXUDYN
52bddc8c258cda07e51373f68e1198b66c701d03
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
main/src/Objects/CObjectContactCircleCable2D.cpp
eapcivil/EXUDYN
52bddc8c258cda07e51373f68e1198b66c701d03
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
/** *********************************************************************************************** * @brief Implementation of CObjectContactCircleCable2D * * @author Gerstmayr Johannes * @date 2018-05-06 (generated) * * @copyright This file is part of Exudyn. Exudyn is free software: you can re...
48.928302
202
0.737776
[ "geometry", "vector", "model" ]
ef45605f4dee6b6a3b2fe3ff2d2b955d69bc5d73
714
cc
C++
src/binary_index_tree.cc
nryotaro/tamaki
cf75fa1754114c1fd0aae1bbc3f1cf1f47d181e6
[ "MIT" ]
null
null
null
src/binary_index_tree.cc
nryotaro/tamaki
cf75fa1754114c1fd0aae1bbc3f1cf1f47d181e6
[ "MIT" ]
4
2017-01-15T06:47:15.000Z
2017-01-15T06:50:46.000Z
src/binary_index_tree.cc
nryotaro/tamaki
cf75fa1754114c1fd0aae1bbc3f1cf1f47d181e6
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class BinaryIndexTree final { public: vector<int> bit; BinaryIndexTree(int max_value) : bit(max_value + 1){}; int sum(int i) { int res = 0; while (i > 0) { res += bit[i]; i -= i & -i; } return res; } void add(int i, int v) { int m...
18.789474
59
0.539216
[ "vector" ]
ef48c405489ee2bb5e44722844494379aa5500de
956
cpp
C++
array/merge-intervals.cpp
Nilesh-Das/mustdogfg
bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f
[ "MIT" ]
null
null
null
array/merge-intervals.cpp
Nilesh-Das/mustdogfg
bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f
[ "MIT" ]
null
null
null
array/merge-intervals.cpp
Nilesh-Das/mustdogfg
bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; vector<vector<int>> merge(vector<vector<int>> &intervals) { vector<vector<int>> res; auto comp = [&](const vector<int> &a, const vector<int> &b) { return a[0] < b[0]; }; sort(intervals.begin(), intervals.end(), comp); int n = intervals.size(...
22.232558
63
0.557531
[ "vector" ]
ef493bd32fa4caaed05dd83d8f04b142bf219e83
3,968
cc
C++
tensorstore/driver/downsample/downsample_benchmark_test.cc
google/tensorstore
8df16a67553debaec098698ceaa5404eaf79634a
[ "BSD-2-Clause" ]
106
2020-04-02T20:00:18.000Z
2022-03-23T20:27:31.000Z
tensorstore/driver/downsample/downsample_benchmark_test.cc
0xgpapad/tensorstore
dfc2972e54588a7b745afea8b9322b57b26b657a
[ "BSD-2-Clause" ]
28
2020-04-12T02:04:47.000Z
2022-03-23T20:27:03.000Z
tensorstore/driver/downsample/downsample_benchmark_test.cc
0xgpapad/tensorstore
dfc2972e54588a7b745afea8b9322b57b26b657a
[ "BSD-2-Clause" ]
18
2020-04-08T06:41:30.000Z
2022-02-18T03:05:49.000Z
// Copyright 2020 The TensorStore Authors // // 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 ...
39.68
80
0.673135
[ "vector" ]
ef541f943c72a85b01b1bbd7ce605e22ece26740
9,173
hpp
C++
franka_gripper/include/franka_gripper/gripper_action_server.hpp
FarisHamdi/franka_ros2
32a936045e0029cbd0b380014a51cbe44f934f86
[ "Apache-2.0" ]
10
2021-12-14T21:48:41.000Z
2022-03-21T20:50:44.000Z
franka_gripper/include/franka_gripper/gripper_action_server.hpp
FarisHamdi/franka_ros2
32a936045e0029cbd0b380014a51cbe44f934f86
[ "Apache-2.0" ]
2
2022-02-14T14:08:59.000Z
2022-03-23T07:57:22.000Z
franka_gripper/include/franka_gripper/gripper_action_server.hpp
FarisHamdi/franka_ros2
32a936045e0029cbd0b380014a51cbe44f934f86
[ "Apache-2.0" ]
2
2022-02-14T08:39:59.000Z
2022-03-22T19:09:20.000Z
// Copyright (c) 2021 Franka Emika GmbH // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
41.31982
100
0.72757
[ "vector" ]
ef57e5cf307f29801b0136f9ced180c2547df4d1
12,705
cpp
C++
source/renderer/passes/VolumePass.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
6
2017-06-26T11:42:26.000Z
2018-09-10T17:53:53.000Z
source/renderer/passes/VolumePass.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
8
2017-06-24T20:25:42.000Z
2017-08-09T10:50:40.000Z
source/renderer/passes/VolumePass.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
null
null
null
/* MIT License Copyright(c) 2017 Daniel Suttor 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, di...
35.991501
168
0.761905
[ "render", "vector", "transform" ]
ef5c1e585d60bbfb92d9ebcf87e6c369e920373e
6,701
cpp
C++
pyPBD/RigidBodyModule.cpp
mcx/PositionBasedDynamics
136469f03f7869666d907ea8d27872b098715f4a
[ "MIT" ]
1,169
2016-05-31T03:01:55.000Z
2022-03-31T15:38:47.000Z
pyPBD/RigidBodyModule.cpp
Taiyuan-Zhang/PositionBasedDynamics
136469f03f7869666d907ea8d27872b098715f4a
[ "MIT" ]
88
2016-06-10T19:09:24.000Z
2022-02-08T10:50:41.000Z
pyPBD/RigidBodyModule.cpp
Taiyuan-Zhang/PositionBasedDynamics
136469f03f7869666d907ea8d27872b098715f4a
[ "MIT" ]
267
2016-06-22T06:44:11.000Z
2022-03-29T11:55:24.000Z
#include "common.h" #include <Simulation/RigidBody.h> #include <pybind11/pybind11.h> #include <pybind11/functional.h> #include <pybind11/stl_bind.h> #include <pybind11/numpy.h> #include <pybind11/eigen.h> namespace py = pybind11; template <typename... Args> using overload_cast_ = pybind11::detail::overload_cast_imp...
56.788136
141
0.662289
[ "mesh" ]
ef5e93b5632e36f2cf4d7a0d27e195383c73af9e
3,056
cpp
C++
hiro/windows/widget/check-button.cpp
mp-lee/higan
c38a771f2272c3ee10fcb99f031e982989c08c60
[ "Intel", "ISC" ]
38
2018-04-05T05:00:05.000Z
2022-02-06T00:02:02.000Z
hiro/windows/widget/check-button.cpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
1
2018-04-29T19:45:14.000Z
2018-04-29T19:45:14.000Z
hiro/windows/widget/check-button.cpp
ameer-bauer/higan-097
a4a28968173ead8251cfa7cd6b5bf963ee68308f
[ "Info-ZIP" ]
8
2018-04-16T22:37:46.000Z
2021-02-10T07:37:03.000Z
#if defined(Hiro_CheckButton) namespace hiro { static auto CALLBACK CheckButton_windowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) -> LRESULT { if(auto object = (mObject*)GetWindowLongPtr(hwnd, GWLP_USERDATA)) { if(auto button = dynamic_cast<mCheckButton*>(object)) { if(auto self = button->self...
30.257426
107
0.674084
[ "object" ]
ef5f1fc8d5bd7380d07fcaccaa8f6cbe5a96c019
1,635
cc
C++
client/csrc/Service.cc
ao-song/May
eafe0e7b6a219db0e4b511274348bd6fac25eb01
[ "Apache-2.0" ]
1
2019-08-08T17:46:52.000Z
2019-08-08T17:46:52.000Z
client/csrc/Service.cc
ao-song/May
eafe0e7b6a219db0e4b511274348bd6fac25eb01
[ "Apache-2.0" ]
null
null
null
client/csrc/Service.cc
ao-song/May
eafe0e7b6a219db0e4b511274348bd6fac25eb01
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Ao Song <ao.song@outlook.com> // // 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 la...
22.094595
75
0.631804
[ "vector" ]
ef5f43220ea78dcc4f8aba9b0bf26f63d069160c
177,933
cpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/cisco_smart_license.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/cisco_smart_license.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/cisco_smart_license.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "cisco_smart_license.hpp" using namespace ydk; namespace cisco_ios_xe { namespace cisco_smart_license { RegisterIdToken::RegisterIdToken() : input(std::make_shared...
32.756443
323
0.708671
[ "vector" ]
ef647f29f39e807b4ec4d3d14f1c62381c2f4616
3,860
cpp
C++
ProceduralGeneration/Texture.cpp
cristi191096/ProceduralGeneration
912b738ced73d676f9d0885d917a94c710857396
[ "Apache-2.0" ]
null
null
null
ProceduralGeneration/Texture.cpp
cristi191096/ProceduralGeneration
912b738ced73d676f9d0885d917a94c710857396
[ "Apache-2.0" ]
null
null
null
ProceduralGeneration/Texture.cpp
cristi191096/ProceduralGeneration
912b738ced73d676f9d0885d917a94c710857396
[ "Apache-2.0" ]
null
null
null
#include "Texture.h" #include "stb_image.h" #include <iostream> Texture::Texture(const std::string& path, bool enableTransparency) : id(0), filePath(path), localBuffer(nullptr), width(0), height(0), BPP(0) { //if (enableTransparency) { glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); ...
26.258503
120
0.724611
[ "vector" ]
ef66e758a34ee206c9b900f8f4531c79a092975b
946
hpp
C++
src/blackhole/sink/elasticsearch/settings.hpp
bioothod/blackhole
2bd242e6027f20019e60b600f50a9e25127db640
[ "MIT" ]
1
2015-01-12T05:23:28.000Z
2015-01-12T05:23:28.000Z
src/blackhole/sink/elasticsearch/settings.hpp
tomzhang/blackhole
4f9b7dec11b9a617b51f188bb792a1514b0bb763
[ "MIT" ]
null
null
null
src/blackhole/sink/elasticsearch/settings.hpp
tomzhang/blackhole
4f9b7dec11b9a617b51f188bb792a1514b0bb763
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <boost/asio.hpp> namespace elasticsearch { namespace defaults { typedef boost::asio::ip::tcp::endpoint endpoint_type; const endpoint_type endpoint(boost::asio::ip::address_v4(), 9200); } // namespace defaults struct settings_t { typedef boost::asio::...
18.54902
70
0.610994
[ "vector" ]
ef6808aa722c6add2ab9376e0c497b7683d184a4
8,117
hpp
C++
src/pTensor/ops/tflm/depthwise_separable_convolution_kernels.hpp
victorromeo/ptensor
71b7100087795017c086d449c8c79e07799d3426
[ "Apache-2.0" ]
null
null
null
src/pTensor/ops/tflm/depthwise_separable_convolution_kernels.hpp
victorromeo/ptensor
71b7100087795017c086d449c8c79e07799d3426
[ "Apache-2.0" ]
null
null
null
src/pTensor/ops/tflm/depthwise_separable_convolution_kernels.hpp
victorromeo/ptensor
71b7100087795017c086d449c8c79e07799d3426
[ "Apache-2.0" ]
null
null
null
#ifndef UTENSOR_S_QUANTIZED_DWS_OPS_KERNELS_H #define UTENSOR_S_QUANTIZED_DWS_OPS_KERNELS_H #include "context.hpp" #include "symmetric_quantization_utils.hpp" #include "tensor.hpp" #include "types.hpp" #include "pTensor_util.hpp" #include "convolution_helper.hpp" namespace pTensor { namespace TFLM { DECLARE_ERROR(Inv...
42.94709
80
0.654922
[ "shape", "model" ]
ef6b47ced6385c056a6696a8be38e8c43976877e
1,896
hpp
C++
bunsan/utility/src/builders/meson.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
null
null
null
bunsan/utility/src/builders/meson.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
10
2018-02-06T14:46:36.000Z
2018-03-20T13:37:20.000Z
bunsan/utility/src/builders/meson.hpp
bacsorg/bacs
2b52feb9efc805655cdf7829cf77ee028d567969
[ "Apache-2.0" ]
1
2021-11-26T10:59:09.000Z
2021-11-26T10:59:09.000Z
#pragma once #include "conf_make_install.hpp" #include <bunsan/stream_enum.hpp> #include <bunsan/utility/maker.hpp> #include <boost/optional.hpp> #include <boost/serialization/access.hpp> #include <boost/serialization/nvp.hpp> #include <string> #include <unordered_map> #include <vector> namespace bunsan::utility::...
26.704225
80
0.678797
[ "vector" ]
ef6b5cb4afc85bc52a677a9945b51a150f954f08
3,177
cpp
C++
todo.cpp
Edmi6163/todo-cli
347c1cd3911c902eaa7b6ef766d2dbca5704164d
[ "MIT" ]
null
null
null
todo.cpp
Edmi6163/todo-cli
347c1cd3911c902eaa7b6ef766d2dbca5704164d
[ "MIT" ]
null
null
null
todo.cpp
Edmi6163/todo-cli
347c1cd3911c902eaa7b6ef766d2dbca5704164d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define vector vector<string> using namespace std; // 3 line int main(int arg ,char ** arv) { if(arg == 1) { //basic guide for using todo list cout << "Usage :-" << "\n" << "$todo add " << "\"todo item\"" << " # Add a new todo"<<"\n" << "$todo ls # Show a list of todos" << "\n" <...
20.365385
64
0.485678
[ "vector" ]
ef7534db2c9c46d0146cfb067606e951e7e79944
4,743
cxx
C++
smtk/bridge/cgm/operators/BooleanIntersection.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
smtk/bridge/cgm/operators/BooleanIntersection.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
smtk/bridge/cgm/operators/BooleanIntersection.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
29.459627
102
0.668353
[ "model" ]
ef78d65442750d9286829153d34a1f78f9c53aad
1,607
cpp
C++
emulation/hel/lib/ChipObject/NiIRQImpl.cpp
NWalker1208/synthesis
c7bb2d49a7a3fc4d4db9f857aabcc4a4c3b74c34
[ "Apache-2.0" ]
null
null
null
emulation/hel/lib/ChipObject/NiIRQImpl.cpp
NWalker1208/synthesis
c7bb2d49a7a3fc4d4db9f857aabcc4a4c3b74c34
[ "Apache-2.0" ]
null
null
null
emulation/hel/lib/ChipObject/NiIRQImpl.cpp
NWalker1208/synthesis
c7bb2d49a7a3fc4d4db9f857aabcc4a4c3b74c34
[ "Apache-2.0" ]
null
null
null
#include "ChipObject/NiIRQImpl.h" #include <stdint.h> NiIRQ_Impl::NiIRQ_Impl() { } void NiIRQ_Impl::signal(INTERRUPT_MASK mask) { waitQueueMutex.take(); lastSignal = mask; for (int i = 0; i<INTERRUPT_COUNT; i++) { if (mask & (1 << i)) { // If we want to signal this interrupt for (std::vector<WaitSemaphore*>:...
27.706897
109
0.635968
[ "vector" ]
ef7fb9f9c7e5260b20faf93ec34066597d4b937b
14,346
cpp
C++
source/executive.cpp
andrewtrotman/BASIC
92edcd800397336daace8c1bf062b88bd0c77d94
[ "BSD-2-Clause" ]
null
null
null
source/executive.cpp
andrewtrotman/BASIC
92edcd800397336daace8c1bf062b88bd0c77d94
[ "BSD-2-Clause" ]
null
null
null
source/executive.cpp
andrewtrotman/BASIC
92edcd800397336daace8c1bf062b88bd0c77d94
[ "BSD-2-Clause" ]
null
null
null
/* EXECUTIVE.CPP ------------- */ #include <math.h> #include <ctype.h> #include "error.h" #include "executive.h" #include "symbol_table.h" #include "reserved_word.h" #include "parse_tree_node.h" namespace BASIC { /* EXECUTIVE::EVALUATE_PRINT_PART() -------------------------------- return true on print cr/l...
22.9536
111
0.60421
[ "vector" ]
ef830a8fdb2c65df6581f5b9cb7621cdf565646a
4,334
hpp
C++
src/bvh.hpp
ddiakopoulos/light-transport
b82ceba5fa5719d1d986be968f28b1581c2d72ba
[ "BSD-3-Clause" ]
3
2017-10-26T16:58:39.000Z
2017-10-31T02:24:41.000Z
src/bvh.hpp
ddiakopoulos/light-transport
b82ceba5fa5719d1d986be968f28b1581c2d72ba
[ "BSD-3-Clause" ]
null
null
null
src/bvh.hpp
ddiakopoulos/light-transport
b82ceba5fa5719d1d986be968f28b1581c2d72ba
[ "BSD-3-Clause" ]
1
2020-08-08T23:20:23.000Z
2020-08-08T23:20:23.000Z
#ifndef bvh_hpp #define bvh_hpp #pragma once #include "objects.hpp" #include <vector> #include <memory> // This implementation only accounts for axis-aligned bounding boxes of mesh objects, mostly as a learning exercise. It will // later move to Embree's native BVH accelerator which correctly buckets individual tria...
31.635036
126
0.579603
[ "mesh", "object", "vector" ]
ef83343b5fd0ae70342fab883cde71a72db54eee
1,032
cpp
C++
source/model-generator/FieldModelTemplate.cpp
daetalys/mariana-trench
9c07393cf18395ec7ed05a1650e7f764ae216be2
[ "MIT" ]
null
null
null
source/model-generator/FieldModelTemplate.cpp
daetalys/mariana-trench
9c07393cf18395ec7ed05a1650e7f764ae216be2
[ "MIT" ]
null
null
null
source/model-generator/FieldModelTemplate.cpp
daetalys/mariana-trench
9c07393cf18395ec7ed05a1650e7f764ae216be2
[ "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 <mariana-trench/JsonValidation.h> #include <mariana-trench/model-generator/FieldModelTemplate.h> namespace marianatrench ...
30.352941
70
0.733527
[ "model" ]
ef84a5e8f0afcdbfd186b0562d76b0b8b14b3038
21,409
cpp
C++
extern/eltopo/common/ccd_wrapper.cpp
wycivil08/blendocv
f6cce83e1f149fef39afa8043aade9c64378f33e
[ "Unlicense" ]
30
2015-01-29T14:06:05.000Z
2022-01-10T07:47:29.000Z
extern/eltopo/common/ccd_wrapper.cpp
ttagu99/blendocv
f6cce83e1f149fef39afa8043aade9c64378f33e
[ "Unlicense" ]
1
2017-02-20T20:57:48.000Z
2018-12-19T23:44:38.000Z
extern/eltopo/common/ccd_wrapper.cpp
ttagu99/blendocv
f6cce83e1f149fef39afa8043aade9c64378f33e
[ "Unlicense" ]
15
2015-04-23T02:38:36.000Z
2021-03-01T20:09:39.000Z
// --------------------------------------------------------- // // ccd_wrapper.cpp // Tyson Brochu 2009 // // Tunicate-based implementation of collision and intersection queries. (See Robert Bridson's "Tunicate" library.) // // --------------------------------------------------------- #include <ccd_wrapper.h> #...
36.596581
121
0.447569
[ "vector", "3d" ]
ef87ca0e45a5ee8dd022091190de96fdfe9da2fb
1,372
cpp
C++
aws-cpp-sdk-appstream/source/model/DisassociateApplicationFromEntitlementRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-appstream/source/model/DisassociateApplicationFromEntitlementRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-appstream/source/model/DisassociateApplicationFromEntitlementRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/appstream/model/DisassociateApplicationFromEntitlementRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::AppStream::Model; using namespa...
23.655172
127
0.787901
[ "model" ]
ef8a98c4d4eeff19a436f878ed38f36985caaf99
5,219
cpp
C++
src/main.cpp
dsimonkay/CarND-PID-Control-Project
d0bd84d5956ea89dd428b174c39f307021544b52
[ "MIT" ]
null
null
null
src/main.cpp
dsimonkay/CarND-PID-Control-Project
d0bd84d5956ea89dd428b174c39f307021544b52
[ "MIT" ]
null
null
null
src/main.cpp
dsimonkay/CarND-PID-Control-Project
d0bd84d5956ea89dd428b174c39f307021544b52
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include "helper_functions.h" #include "json.hpp" #include "PID.h" #include "Twiddle.h" // for convenience using json = nlohmann::json; int main(int argc, char* argv[]) { uWS::Hub h; // Flag for twiddle mode. Its value can be set to `true` by providing the command line...
30.520468
120
0.552021
[ "object", "transform" ]
ef8b064b7d33cd860186a5f29a4e9acff6fe7db4
1,457
hxx
C++
planners/lapkt-public/interfaces/agnostic/h_null.hxx
miquelramirez/aamas18-planning-for-transparency
dff3e635102bf351906807c5181113fbf4b67083
[ "MIT" ]
null
null
null
planners/lapkt-public/interfaces/agnostic/h_null.hxx
miquelramirez/aamas18-planning-for-transparency
dff3e635102bf351906807c5181113fbf4b67083
[ "MIT" ]
null
null
null
planners/lapkt-public/interfaces/agnostic/h_null.hxx
miquelramirez/aamas18-planning-for-transparency
dff3e635102bf351906807c5181113fbf4b67083
[ "MIT" ]
null
null
null
/* Lightweight Automated Planning Toolkit Copyright (C) 2012 Miquel Ramirez <miquel.ramirez@rmit.edu.au> Nir Lipovetzky <nirlipo@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either vers...
23.126984
88
0.748799
[ "vector" ]
ef8cdc1806ed7e9bae96fe2ebe928a6a7de28914
2,483
cpp
C++
test/basic/PerformanceTest.cpp
wumo/SimGraphicsNative
f46153b20b1131930b07c9ebb44640978481e319
[ "MIT" ]
null
null
null
test/basic/PerformanceTest.cpp
wumo/SimGraphicsNative
f46153b20b1131930b07c9ebb44640978481e319
[ "MIT" ]
null
null
null
test/basic/PerformanceTest.cpp
wumo/SimGraphicsNative
f46153b20b1131930b07c9ebb44640978481e319
[ "MIT" ]
null
null
null
#include "sim/graphics/renderer/basic/basic_renderer.h" #include "sim/graphics/renderer/basic/util/panning_camera.h" #include "sim/graphics/util/fps_meter.h" #include "sim/graphics/util/colors.h" using namespace sim; using namespace sim::graphics; using namespace sim::graphics::renderer::basic; using namespace glm; u...
33.106667
82
0.670963
[ "model", "transform" ]
ef8f6f2f3488a3bcb91bd2be2799055894fb3dc8
2,070
cpp
C++
USACOcontests/gold/2018.02/dirtraverse.cpp
eyangch/competitive-programming
59839efcec72cb792e61b7d316f83ad54f16a166
[ "MIT" ]
14
2019-08-14T00:43:10.000Z
2021-12-16T05:43:31.000Z
USACOcontests/gold/2018.02/dirtraverse.cpp
eyangch/competitive-programming
59839efcec72cb792e61b7d316f83ad54f16a166
[ "MIT" ]
null
null
null
USACOcontests/gold/2018.02/dirtraverse.cpp
eyangch/competitive-programming
59839efcec72cb792e61b7d316f83ad54f16a166
[ "MIT" ]
6
2020-12-30T03:30:17.000Z
2022-03-11T03:40:02.000Z
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<ll> vi; typedef pair<ll, ll> pii; template <typename T1, typename T2> ostream &operator <<(ostream &os, pair<T1, T2> p){os << p.first << " " << p.second; return os;} template <typename T> ostream &operator <<(ostream &os, vector<T> &v)...
27.972973
110
0.527053
[ "vector" ]
ef929ca42440036f8c6a4ebea92781cd7eba286c
1,864
cc
C++
physics/neutron/nudy/EndfToRoot/EndfToPointRoot.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
2
2016-10-16T14:37:42.000Z
2018-04-05T15:49:09.000Z
physics/neutron/nudy/EndfToRoot/EndfToPointRoot.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
physics/neutron/nudy/EndfToRoot/EndfToPointRoot.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <fstream> #include <sstream> #include <cmath> #include <vector> #include <iterator> #include <algorithm> #include <iomanip> #include <dirent.h> #include "Geant/TNudyENDF.h" #include "Geant/TNudyEndfSigma.h" using namespace Nudy; int main(int, char *argv[]) { std::clock_t...
35.169811
75
0.677575
[ "vector" ]
ef94752adba695ff874e876033913a2e784a4074
8,715
cpp
C++
emulator/src/mame/machine/primo.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/machine/primo.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/machine/primo.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Krzysztof Strzecha /******************************************************************************* primo.c Functions to emulate general aspects of Microkey Primo computers (RAM, ROM, interrupts, I/O ports) Krzysztof Strzecha *****************************...
24.618644
103
0.589788
[ "vector" ]
aab412be632269289271fedc67a7d5f932fb2cb2
5,157
cpp
C++
gtn/graph.cpp
csukuangfj/gtn
7607bdef9014b55db6e1eaa7953fc23987e6bacb
[ "MIT" ]
1
2021-01-27T16:01:51.000Z
2021-01-27T16:01:51.000Z
gtn/graph.cpp
KonstantinKlepikov/gtn
319e939f292121dcfc6bcb001773889b18227034
[ "MIT" ]
null
null
null
gtn/graph.cpp
KonstantinKlepikov/gtn
319e939f292121dcfc6bcb001773889b18227034
[ "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 <algorithm> #include <stdexcept> #include "graph.h" namespace gtn { Graph::Graph(GradFunc gradFunc, std::vector<Graph> ...
27.142105
80
0.645724
[ "vector" ]
aabad047e07d9759e38701749955307aecfc30f3
8,389
hpp
C++
include/avk/shader_info.hpp
cg-tuwien/auto_vulkan
187654cf2b18c7f0ff1d4d743e695c5ed6e3b32b
[ "MIT" ]
null
null
null
include/avk/shader_info.hpp
cg-tuwien/auto_vulkan
187654cf2b18c7f0ff1d4d743e695c5ed6e3b32b
[ "MIT" ]
null
null
null
include/avk/shader_info.hpp
cg-tuwien/auto_vulkan
187654cf2b18c7f0ff1d4d743e695c5ed6e3b32b
[ "MIT" ]
null
null
null
#pragma once #include <avk/avk.hpp> namespace avk { struct specialization_constants { uint32_t num_entries() const { return static_cast<uint32_t>(mMapEntries.size()); } size_t data_size() const { return mData.size() * sizeof(decltype(mData)::value_type); } std::vector<vk::SpecializationMapEntry> m...
52.43125
272
0.726666
[ "mesh", "geometry", "vector" ]
aabd9f1a22aa824b8a249685bab8f3661a9c12b4
2,544
cpp
C++
BackTracking/trials/NQueens/nqueens.cpp
UltraProton/Placement-Prepration
cc70f174c4410c254ce0469737a884fffdc81164
[ "MIT" ]
null
null
null
BackTracking/trials/NQueens/nqueens.cpp
UltraProton/Placement-Prepration
cc70f174c4410c254ce0469737a884fffdc81164
[ "MIT" ]
3
2020-05-08T18:02:51.000Z
2020-05-09T08:37:35.000Z
BackTracking/trials/NQueens/nqueens.cpp
UltraProton/PlacementPrep
cc70f174c4410c254ce0469737a884fffdc81164
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; bool is_safe(vector<vector<int>> &Grid, int n, int row, int col); bool solve(vector<vector<int>> &Grid, int n, int row); void print_grid(vector<vector<int>> &Grid); int main(int argc, char const *argv[]) { vector<vector<int>> Grid(4,vector<int>(4,0)); solve(Grid, ...
26.226804
119
0.526336
[ "vector" ]
aac31826b7762a95abb1ab3bcaa6bc1ad1e18733
7,084
hpp
C++
test/performance-regression/full-apps/qmcpack/src/spline/einspline_util.hpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
55
2015-07-28T01:32:58.000Z
2022-02-27T16:27:46.000Z
test/performance-regression/full-apps/qmcpack/src/spline/einspline_util.hpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
66
2015-06-15T20:38:19.000Z
2020-08-26T00:11:43.000Z
test/performance-regression/full-apps/qmcpack/src/spline/einspline_util.hpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
26
2015-10-26T22:11:51.000Z
2021-03-02T22:09:15.000Z
////////////////////////////////////////////////////////////////// // (c) Copyright 2006- by Jeongnim Kim and Ken Esler // ////////////////////////////////////////////////////////////////// /** @file einspline_util.hpp * @brief utility functions for i/o and bcast of einspline objects * */ #ifndef QMCPLUSP...
30.016949
139
0.592462
[ "mesh" ]
aac6bcd451ff2f4f1053f20c3147fb4ca8982ef2
4,561
cpp
C++
core/Properties/acsdkProperties/testCrypto/DataPropertyCodecTest.cpp
immortalkrazy/avs-device-sdk
703b06188eae146af396f58be4e47442d7ce5b1e
[ "Apache-2.0" ]
1
2018-07-09T16:44:28.000Z
2018-07-09T16:44:28.000Z
core/Properties/acsdkProperties/testCrypto/DataPropertyCodecTest.cpp
immortalkrazy/avs-device-sdk
703b06188eae146af396f58be4e47442d7ce5b1e
[ "Apache-2.0" ]
null
null
null
core/Properties/acsdkProperties/testCrypto/DataPropertyCodecTest.cpp
immortalkrazy/avs-device-sdk
703b06188eae146af396f58be4e47442d7ce5b1e
[ "Apache-2.0" ]
2
2019-02-05T23:42:48.000Z
2020-03-01T11:11:30.000Z
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
38.982906
120
0.734488
[ "vector" ]
aac96248048daffc46781223b3766ab31c629454
1,183
hpp
C++
src/cpp/socket.hpp
yesleekm/capstone_xu4
da42dcef3772946bff83cffe98c5d648b212ecae
[ "Beerware" ]
null
null
null
src/cpp/socket.hpp
yesleekm/capstone_xu4
da42dcef3772946bff83cffe98c5d648b212ecae
[ "Beerware" ]
null
null
null
src/cpp/socket.hpp
yesleekm/capstone_xu4
da42dcef3772946bff83cffe98c5d648b212ecae
[ "Beerware" ]
null
null
null
#ifndef SOCKET #define SOCKET #include "common.hpp" #include "admin.hpp" #include <sys/stat.h> #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> #include <fcntl.h> #include <unistd.h> using namespace std; #define GO_TAKE_PICTURE 0 #define UNTIL_TAKE_PIC...
22.75
70
0.672866
[ "vector" ]
aae8da6a551c7e3092c1feca5bb4be8c25c460c3
9,816
cpp
C++
headpose/posit/src/ModernPosit.cpp
bobetocalo/faces_framework
05f6192b574a0b79891673df480330b7d94daf7b
[ "BSD-2-Clause" ]
16
2018-09-07T05:39:02.000Z
2021-02-22T06:59:59.000Z
headpose/posit/src/ModernPosit.cpp
bobetocalo/faces_framework
05f6192b574a0b79891673df480330b7d94daf7b
[ "BSD-2-Clause" ]
1
2020-02-12T02:23:27.000Z
2020-02-12T14:48:28.000Z
headpose/posit/src/ModernPosit.cpp
bobetocalo/faces_framework
05f6192b574a0b79891673df480330b7d94daf7b
[ "BSD-2-Clause" ]
8
2018-11-12T07:58:20.000Z
2021-02-21T12:50:01.000Z
/** **************************************************************************** * @file ModernPosit.cpp * @brief Face detection and recognition framework * @author Roberto Valle Fernandez * @date 2018/06 * @copyright All rights reserved. * Software developed by UPM PCR Group: http://www.dia.fi.upm...
35.956044
121
0.560513
[ "geometry", "vector", "3d" ]
aaeb6180654a744398b6c9974c94ca047e963aa2
6,546
cpp
C++
src/mongo/db/s/resharding/document_source_resharding_ownership_match.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/s/resharding/document_source_resharding_ownership_match.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/s/resharding/document_source_resharding_ownership_match.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2021-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
43.932886
100
0.7044
[ "object" ]
aaf91a5c71adc3839117d16bbd4b83811c6e1af3
7,539
cpp
C++
torch/csrc/jit/serialization/onnx.cpp
stungkit/pytorch
0f05e398705bf15406bce79f7ee57d3935ad2abd
[ "Intel" ]
2
2020-03-13T06:57:49.000Z
2020-05-17T04:18:14.000Z
torch/csrc/jit/serialization/onnx.cpp
stungkit/pytorch
0f05e398705bf15406bce79f7ee57d3935ad2abd
[ "Intel" ]
1
2022-01-10T18:39:28.000Z
2022-01-10T19:15:57.000Z
torch/csrc/jit/serialization/onnx.cpp
stungkit/pytorch
0f05e398705bf15406bce79f7ee57d3935ad2abd
[ "Intel" ]
1
2022-03-26T14:42:50.000Z
2022-03-26T14:42:50.000Z
#include <c10/util/irange.h> #include <torch/csrc/jit/serialization/onnx.h> #include <torch/csrc/onnx/onnx.h> #include <sstream> #include <string> namespace torch { namespace jit { namespace { namespace onnx_torch = ::torch::onnx; namespace onnx = ::ONNX_NAMESPACE; // Pretty printing for ONNX constexpr char indent_c...
30.897541
80
0.569041
[ "shape", "model" ]
aaffa02c9f2d0a1348cf84b5cfea3899f77a478d
2,786
cpp
C++
eagle_mpc_rviz_plugins/src/LineVisual.cpp
PepMS/eagle_mpc_ros
6f4caa559eb786c40834175b49749c2a2599bcee
[ "BSD-3-Clause" ]
null
null
null
eagle_mpc_rviz_plugins/src/LineVisual.cpp
PepMS/eagle_mpc_ros
6f4caa559eb786c40834175b49749c2a2599bcee
[ "BSD-3-Clause" ]
2
2020-06-13T04:20:15.000Z
2020-06-13T04:20:31.000Z
eagle_mpc_rviz_plugins/src/LineVisual.cpp
PepMS/multicopter-mpc-ros
6f4caa559eb786c40834175b49749c2a2599bcee
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2020-2021, University of Edinburgh, Istituto Italiano di Tecnologia // Copyright (c) 2021, Institut de Robotica i Informatica Industrial (CSIC-UPC) // All rights reserved. ////////////////////////...
36.657895
84
0.66906
[ "render", "object", "transform" ]
c9084c145b0145efe7dc06c2a06176d417a49c92
2,226
cpp
C++
src/App/IMGUI/ui-styler.cpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
src/App/IMGUI/ui-styler.cpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
src/App/IMGUI/ui-styler.cpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
#include "core.hpp" #include "ui-styler.hpp" #include "ui-core.hpp" #include "ui-items.hpp" #include "ui-panel.hpp" #include "ui-rendered.hpp" void Styler::render(Panel& panel) { // panel.m_background.color = 0x10101010; if(panel.m_background.color) m_renderedUiItems.put<RenderedUIItems::Background>(pa...
40.472727
99
0.703953
[ "render" ]
c908d4f43e94c3fc467595a1e9ac16fe3c5d173e
384
hpp
C++
apal_cxx/include/gaussian_white_noise.hpp
davidkleiven/APAL
f3d549498d312b98f55aad5db7c4ad061785ecbf
[ "MIT" ]
null
null
null
apal_cxx/include/gaussian_white_noise.hpp
davidkleiven/APAL
f3d549498d312b98f55aad5db7c4ad061785ecbf
[ "MIT" ]
15
2019-05-23T07:18:19.000Z
2019-12-17T08:01:10.000Z
apal_cxx/include/gaussian_white_noise.hpp
davidkleiven/APAL
f3d549498d312b98f55aad5db7c4ad061785ecbf
[ "MIT" ]
null
null
null
#ifndef GAUSSIAN_WHITE_NOISE_H #define GAUSSIAN_WHITE_NOISE_H #include "thermal_noise_generator.hpp" class GaussianWhiteNoise: public ThermalNoiseGenerator{ public: GaussianWhiteNoise(double dt, double amplitude): ThermalNoiseGenerator(dt), amplitude(amplitude){}; virtual void create(std::vector<double> &nois...
29.538462
103
0.796875
[ "vector" ]
c90e3f820a0159f3faee21cb7921143497c60c1a
1,240
cpp
C++
arc075/e.cpp
nel215/atcoder-grand-contest
a13ce146516c03881f50b7ac284be23d16d29ffe
[ "MIT" ]
null
null
null
arc075/e.cpp
nel215/atcoder-grand-contest
a13ce146516c03881f50b7ac284be23d16d29ffe
[ "MIT" ]
null
null
null
arc075/e.cpp
nel215/atcoder-grand-contest
a13ce146516c03881f50b7ac284be23d16d29ffe
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <fstream> #include <string> #include <vector> #include <list> #include <set> #include <map> #include <queue> #include <stack> #include <deque> #include <complex> #include <algorithm> #include <cstdio> #include <cmath> #include <cstring> #define REP(i,x) for(int i=0 ; i<(...
17.222222
59
0.466935
[ "vector" ]
c9110147975532987bd5737d440e2de6b8c78439
14,990
cpp
C++
framework/decode/custom_vulkan_struct_decoders.cpp
davidd-lunarg/gfxreconstruct
3aa9f032982ac5fbb926d3d8cd043940f152cdba
[ "BSD-2-Clause", "MIT" ]
1
2021-03-04T03:33:45.000Z
2021-03-04T03:33:45.000Z
framework/decode/custom_vulkan_struct_decoders.cpp
davidd-lunarg/gfxreconstruct
3aa9f032982ac5fbb926d3d8cd043940f152cdba
[ "BSD-2-Clause", "MIT" ]
1
2021-12-07T11:44:18.000Z
2021-12-07T11:44:18.000Z
framework/decode/custom_vulkan_struct_decoders.cpp
davidd-lunarg/gfxreconstruct
3aa9f032982ac5fbb926d3d8cd043940f152cdba
[ "BSD-2-Clause", "MIT" ]
null
null
null
/* ** Copyright (c) 2018-2020 Valve Corporation ** Copyright (c) 2018-2020 LunarG, Inc. ** ** 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...
44.88024
120
0.709606
[ "geometry" ]
c917a91f53ab2a717e0409550e7be0aa2c15161b
721
cpp
C++
.LHP/.Lop12/.PreHSG/.T.Van/D2/DELNUM/DELNUM/DELNUM.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop12/.PreHSG/.T.Van/D2/DELNUM/DELNUM/DELNUM.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop12/.PreHSG/.T.Van/D2/DELNUM/DELNUM/DELNUM.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cstdio> #include <vector> #define maxN 400001 typedef long maxn; typedef long long maxa; maxn n, res; maxa a[maxN]; std::vector <maxa> st; void Prepare() { std::cin >> n; for (maxn i = 0; i < n; i++) std::cin >> a[i]; } void Process() { for (maxn i = 0; i < n...
16.767442
119
0.552011
[ "vector" ]
c918a1c5313e0357a5a7e4d6d62065b4cb9af0c9
60,187
cpp
C++
examples/Chapter-09/Chapter-9.cpp
kamarianakis/glGA-edu
17f0b33c3ea8efcfa8be01d41343862ea4e6fae0
[ "BSD-4-Clause-UC" ]
4
2018-08-22T03:43:30.000Z
2021-03-11T18:20:27.000Z
examples/Chapter-09/Chapter-9.cpp
kamarianakis/glGA-edu
17f0b33c3ea8efcfa8be01d41343862ea4e6fae0
[ "BSD-4-Clause-UC" ]
7
2020-10-06T16:34:12.000Z
2020-12-06T17:29:22.000Z
examples/Chapter-09/Chapter-9.cpp
kamarianakis/glGA-edu
17f0b33c3ea8efcfa8be01d41343862ea4e6fae0
[ "BSD-4-Clause-UC" ]
71
2015-03-26T10:28:04.000Z
2021-11-07T10:09:12.000Z
//shadow map not working in MacOSX // basic STL streams #include <iostream> // GLEW lib // http://glew.sourceforge.net/basic.html #include <GL/glew.h> //Update 04/08/16 #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include <ImGUI/imgui.h> #include <ImGUI/imgui_impl_sdl.h> #include <ImGUI/imgui_im...
36.565614
195
0.678236
[ "mesh", "render", "object", "model", "3d" ]
c919001b16c19d9ec13cd4cbabb4d9aea37d04f3
1,491
cpp
C++
C-plus-plus/cpp_exercise/Chapter17/exercise7.cpp
dqhplhzz2008/Study-notes
0df739d22add100e0f5976226abce34242fae57b
[ "MIT" ]
11
2018-10-09T03:45:27.000Z
2020-12-25T11:39:51.000Z
C-plus-plus/cpp_exercise/Chapter17/exercise7.cpp
dqhplhzz2008/Study-notes
0df739d22add100e0f5976226abce34242fae57b
[ "MIT" ]
2
2019-03-07T02:45:49.000Z
2019-03-07T03:55:08.000Z
C-plus-plus/cpp_exercise/Chapter17/exercise7.cpp
dqhplhzz2008/Study-notes
0df739d22add100e0f5976226abce34242fae57b
[ "MIT" ]
7
2019-03-07T02:46:14.000Z
2022-03-19T03:30:22.000Z
//C++ Primer Plus(5th Edition) //Chapter 17 Exercise 7 //Modified by Yushuai Zhang #include <iostream> #include <fstream> #include <string> #include <vector> #include <algorithm> #include <cstdlib> void ShowStr(const std::string & str) { std::cout << str << std::endl; } class Store { std::ofstream & of; pu...
22.253731
64
0.643863
[ "vector" ]
c924fd2dd6e3506ffe9e9800f61342f03e6aa454
110,480
cc
C++
content/browser/cache_storage/cache_storage_cache_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2022-02-10T00:36:35.000Z
2022-02-10T00:36:35.000Z
content/browser/cache_storage/cache_storage_cache_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/cache_storage/cache_storage_cache_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 <stddef.h> #include <stdint.h> #include <limits> #include <memory> #include <set> #include <utility> #include "base/bind.h" #include "base/call...
39.8557
81
0.72548
[ "object", "vector" ]
c9337b819d228ef17e9806b9d58a0c0a2fe3def8
9,050
cc
C++
PYTHIA8/pythia8243/examples/main113.cc
mpoghos/AliRoot
e81490f640ad6f2a6189f679de96b07a94304b58
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
PYTHIA8/pythia8243/examples/main113.cc
mpoghos/AliRoot
e81490f640ad6f2a6189f679de96b07a94304b58
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
PYTHIA8/pythia8243/examples/main113.cc
mpoghos/AliRoot
e81490f640ad6f2a6189f679de96b07a94304b58
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
// main113.cc is a part of the PYTHIA event generator. // Copyright (C) 2019 Torbjorn Sjostrand. // PYTHIA is licenced under the GNU GPL v2 or later, see COPYING for details. // Please respect the MCnet Guidelines, see GUIDELINES for details. // This test program will generate Pb-Pb collisions at // sqrt(S_NN)=2.76TeV...
36.055777
77
0.612818
[ "object", "vector", "model" ]
c938715a16960f6604da3c7492bdf49dec024a4d
20,668
cpp
C++
admin/admt/workobj/chdom.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/admt/workobj/chdom.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/admt/workobj/chdom.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*--------------------------------------------------------------------------- File: ChangeDomain.cpp Comments: Implementation of COM object that changes the domain affiliation on a computer. (c) Copyright 1999, Mission Critical Software, Inc., All Rights Reserved Proprietary and confidential to Miss...
31.74808
206
0.514031
[ "object" ]
c93d540444a6d08d7391b2fbe17c2ab338389154
722
cc
C++
uva/chapter_5/382.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
uva/chapter_5/382.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
uva/chapter_5/382.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using vi = vector<int>; using ii = pair<int,int>; using ll = long long; using llu = unsigned long long; const int INF = numeric_limits<int>::max(); int main() { printf("PERFECTION OUTPUT\n"); int n; while (cin >> n, n) { int sum = 0; for (int i = 1; i < n; i+...
19
43
0.51385
[ "vector" ]
c942c2366d27878abd3a2c4afabffd8e7d5e6753
2,696
cpp
C++
src/python/cupoch_pybind/planning/planning.cpp
collector-m/cupoch
1b2bb3f806695b93d6d0dd87855cf2a4da8d1ce1
[ "MIT" ]
522
2020-01-19T05:59:00.000Z
2022-03-25T04:36:52.000Z
src/python/cupoch_pybind/planning/planning.cpp
collector-m/cupoch
1b2bb3f806695b93d6d0dd87855cf2a4da8d1ce1
[ "MIT" ]
87
2020-02-23T09:56:48.000Z
2022-03-25T13:35:15.000Z
src/python/cupoch_pybind/planning/planning.cpp
collector-m/cupoch
1b2bb3f806695b93d6d0dd87855cf2a4da8d1ce1
[ "MIT" ]
74
2020-01-27T15:33:30.000Z
2022-03-27T11:58:22.000Z
/** * Copyright (c) 2020 Neka-Nat * 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, dis...
48.142857
91
0.68954
[ "geometry", "3d" ]
c94721e1c762990db03df575cc01bad81c27e20d
17,657
cpp
C++
BXRtrain/src/CommandLine.cpp
eugene-yang/bxr-bayesian-regression
0ec28783ab3e3ad67e2d608a47be66edf67ab8b8
[ "MIT" ]
null
null
null
BXRtrain/src/CommandLine.cpp
eugene-yang/bxr-bayesian-regression
0ec28783ab3e3ad67e2d608a47be66edf67ab8b8
[ "MIT" ]
null
null
null
BXRtrain/src/CommandLine.cpp
eugene-yang/bxr-bayesian-regression
0ec28783ab3e3ad67e2d608a47be66edf67ab8b8
[ "MIT" ]
null
null
null
/* 3.03 -R option fix; (-R is only a switcharg) 3.04 sparse topicFeats output; 3.05 -R changed to valueArg 3.06 bbrformat fix. 3.07 modelname. 3.08 inf as a value for -V 3.09 allow comment line in ind prior file 3.10 warning if ind prior file has no content 3.11 -R classid bug (if classid not existing, or not the fina...
33.252354
139
0.677125
[ "vector", "model" ]
c94793caf1743b73ebc2752e5c1db7de3d6597f4
2,961
hpp
C++
include/fsm/statemachine.hpp
mikedevnull/minifsm
496ebba259d6ad5e9d5b7deb74c243b4375f70c5
[ "MIT" ]
null
null
null
include/fsm/statemachine.hpp
mikedevnull/minifsm
496ebba259d6ad5e9d5b7deb74c243b4375f70c5
[ "MIT" ]
null
null
null
include/fsm/statemachine.hpp
mikedevnull/minifsm
496ebba259d6ad5e9d5b7deb74c243b4375f70c5
[ "MIT" ]
null
null
null
#pragma once #include <fsm/detail/transition_table.hpp> namespace fsm { template <typename SMConfig> class StateMachine { using TransitionTable = detail::transition_table_from_config<SMConfig>; using StateList = detail::extractStates_t<TransitionTable>; using States = detail::rebind<StateList, detail::Tuple>; ...
38.454545
78
0.628504
[ "transform" ]
c9526f90bbeb8ccaa3955d6be8995e7b72f9729a
10,098
cc
C++
src/pass/copy_propagation.cc
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
1
2020-08-31T02:43:43.000Z
2020-08-31T02:43:43.000Z
src/pass/copy_propagation.cc
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
null
null
null
src/pass/copy_propagation.cc
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019 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...
32.469453
116
0.615567
[ "vector" ]
e92038f469eb46e99b3dcc610309bd6e82a442bd
2,920
hpp
C++
src/core/storage/fileio/buffered_writer.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
src/core/storage/fileio/buffered_writer.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
src/core/storage/fileio/buffered_writer.hpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #include<vector> #include<core/parallel/mutex.hpp> #include<core/storage/sframe_data/sframe_constant...
27.54717
86
0.652397
[ "vector" ]
e922d5b01fd9e79cfc37b67b080db8e8921cb576
2,169
cpp
C++
src/ui/widgets/carousel.cpp
CommitteeOfZero/impacto
87e0aa27d59d8f350849dfb20048679b2a3db1e3
[ "0BSD" ]
45
2020-02-01T19:10:13.000Z
2022-03-11T01:45:52.000Z
src/ui/widgets/carousel.cpp
Enorovan/impacto
807c5247dca2720e3e1205fca4724ad1fafb1ab4
[ "0BSD" ]
7
2020-01-26T17:30:00.000Z
2021-09-26T10:00:46.000Z
src/ui/widgets/carousel.cpp
Enorovan/impacto
807c5247dca2720e3e1205fca4724ad1fafb1ab4
[ "0BSD" ]
11
2020-02-01T23:01:50.000Z
2021-12-15T14:39:27.000Z
#include "carousel.h" #include "../../vm/interface/input.h" #include "../../profile/scriptinput.h" #include "../../inputsystem.h" namespace Impacto { namespace UI { namespace Widgets { using namespace Impacto::Profile::ScriptInput; using namespace Impacto::Vm::Interface; Carousel::Carousel(CarouselDirection dir) { ...
24.1
80
0.640848
[ "render" ]
e92c865501e96123e9eadae99f92048d57295830
7,177
cpp
C++
src/tests/test_graphvisitor_generic.cpp
JoshuaSBrown/GraphCluster
d9c28204b276165cf59137c9668c4dfcfa397089
[ "MIT" ]
null
null
null
src/tests/test_graphvisitor_generic.cpp
JoshuaSBrown/GraphCluster
d9c28204b276165cf59137c9668c4dfcfa397089
[ "MIT" ]
null
null
null
src/tests/test_graphvisitor_generic.cpp
JoshuaSBrown/GraphCluster
d9c28204b276165cf59137c9668c4dfcfa397089
[ "MIT" ]
null
null
null
#include <cassert> #include <cmath> #include <iostream> #include <list> #include <string> #include <vector> #include "../../include/ugly/edge_directed.hpp" #include "../../include/ugly/edge_undirected.hpp" #include "../../include/ugly/edge_weighted.hpp" #include "../../include/ugly/graphvisitor/graphvisitor_generic.h...
28.145098
77
0.65905
[ "vector" ]
e92dd923c61719e199375299a53acbeb58c643df
6,620
cpp
C++
tione/src/v20191022/model/CodeRepoSummary.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
tione/src/v20191022/model/CodeRepoSummary.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
tione/src/v20191022/model/CodeRepoSummary.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
29.422222
146
0.702568
[ "object", "model" ]
e92fcf5c8178a0a121e7cb720d074c722e68bc19
4,015
cpp
C++
453-skeleton/Window.cpp
JeremyKimotho/Space_Orrery
27271a9777d8603004d1301d4481febda070b597
[ "Unlicense" ]
null
null
null
453-skeleton/Window.cpp
JeremyKimotho/Space_Orrery
27271a9777d8603004d1301d4481febda070b597
[ "Unlicense" ]
null
null
null
453-skeleton/Window.cpp
JeremyKimotho/Space_Orrery
27271a9777d8603004d1301d4481febda070b597
[ "Unlicense" ]
null
null
null
#include "Window.h" #include "Log.h" #include "imgui/imgui.h" #include "imgui/imgui_impl_glfw.h" #include "imgui/imgui_impl_opengl3.h" #include <iostream> // --------------------------- // static function definitions // --------------------------- void Window::keyMetaCallback(GLFWwindow* window, int key, int scanc...
30.884615
109
0.746949
[ "object" ]
e9347df79eb1c60d547d6936486e71c7aa94e290
2,182
cpp
C++
src/worker/ListMarketBook.cpp
captain-igloo/greenthumb
39d62004e6f6b6fa7da52b3f6ff1c198b04e1d72
[ "MIT" ]
3
2019-04-08T19:17:51.000Z
2019-05-21T01:01:29.000Z
src/worker/ListMarketBook.cpp
captain-igloo/greenthumb
39d62004e6f6b6fa7da52b3f6ff1c198b04e1d72
[ "MIT" ]
1
2019-04-30T23:39:06.000Z
2019-07-27T00:07:20.000Z
src/worker/ListMarketBook.cpp
captain-igloo/greenthumb
39d62004e6f6b6fa7da52b3f6ff1c198b04e1d72
[ "MIT" ]
1
2019-02-28T09:22:18.000Z
2019-02-28T09:22:18.000Z
/** * Copyright 2020 Colin Doig. Distributed under the MIT license. */ #include <set> #include <wx/log.h> #include "worker/ListMarketBook.h" #include "GreenThumb.h" namespace greenthumb { namespace worker { wxDEFINE_EVENT(LIST_MARKET_BOOK, wxThreadEvent); ListMarketBook::ListMarketBook(wxEvtHandler* eventHandle...
29.890411
127
0.690192
[ "vector" ]
e93947f72e0a15381377f40fdf83af1d7cdb5456
2,391
cpp
C++
Recursion.cpp
FaheemAKamal/Cstuff
a13243ad8de753e3c7d9b0ee541278f0049b59a2
[ "MIT" ]
null
null
null
Recursion.cpp
FaheemAKamal/Cstuff
a13243ad8de753e3c7d9b0ee541278f0049b59a2
[ "MIT" ]
null
null
null
Recursion.cpp
FaheemAKamal/Cstuff
a13243ad8de753e3c7d9b0ee541278f0049b59a2
[ "MIT" ]
null
null
null
#include <iostream> using std::cout; using std::cin; using std::endl; #include <algorithm> using std::sort; #include <vector> using std::vector; #if 0 /* Basic Recursion Problem */ void f(int n){ if(n==0){ cout << 0 <<endl; return; } cout<<n<<endl; f(n-1); cout<<n<<...
17.580882
75
0.488499
[ "vector" ]
e93df49edade03420d176cd55120a0e6575b74d6
345
cpp
C++
src/TMB/bicopula_TMBExports.cpp
ellessenne/bicopula
b56323f7284a0312569822e19632d27c270bc6c9
[ "MIT" ]
null
null
null
src/TMB/bicopula_TMBExports.cpp
ellessenne/bicopula
b56323f7284a0312569822e19632d27c270bc6c9
[ "MIT" ]
null
null
null
src/TMB/bicopula_TMBExports.cpp
ellessenne/bicopula
b56323f7284a0312569822e19632d27c270bc6c9
[ "MIT" ]
null
null
null
// Generated by TMBtools: do not edit by hand #define TMB_LIB_INIT R_init_bicopula_TMBExports #include <TMB.hpp> #include "bisurvreg.hpp" template<class Type> Type objective_function<Type>::operator() () { DATA_STRING(model); if(model == "bisurvreg") { return bisurvreg(this); } else { error("Unknown mod...
20.294118
47
0.695652
[ "model" ]
e94118edebe18044464af9fe722e1f85574b00e3
2,358
cpp
C++
test_driven/IntersectionData.cpp
colinw7/CRayTrace
bee666d42128666fbb1968812e9d2e3630a7827f
[ "MIT" ]
null
null
null
test_driven/IntersectionData.cpp
colinw7/CRayTrace
bee666d42128666fbb1968812e9d2e3630a7827f
[ "MIT" ]
null
null
null
test_driven/IntersectionData.cpp
colinw7/CRayTrace
bee666d42128666fbb1968812e9d2e3630a7827f
[ "MIT" ]
null
null
null
#include <IntersectionData.h> #include <Intersection.h> #include <Ray.h> #include <Object.h> #include <RayTrace.h> #include <set> namespace RayTrace { IntersectionData:: IntersectionData(const Intersection &intersection, const Ray &ray, const Intersections &intersections) { assert(intersection.obje...
18.864
66
0.583545
[ "object", "vector" ]
e9418d86fbf6c361ecc3073f49ba1e4cb9df2a03
1,056
hpp
C++
source/data_model/hdf5/include/lue/hdf5/error_stack.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
source/data_model/hdf5/include/lue/hdf5/error_stack.hpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
source/data_model/hdf5/include/lue/hdf5/error_stack.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
#pragma once #include "lue/hdf5/identifier.hpp" #include <vector> namespace lue { namespace hdf5 { /*! @brief This class provides a view on the HDF5 error stack */ class ErrorStack { public: ErrorStack (); explicit ErrorStack (Identifier const& id); ...
20.307692
71
0.505682
[ "vector" ]
e943160b1524d5e3865529b591b15f56826bd1bc
28,446
cpp
C++
Source/tests/functional/crypto/hash/md5_tests.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
5
2019-10-30T06:10:10.000Z
2020-04-25T16:52:06.000Z
Source/tests/functional/crypto/hash/md5_tests.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
null
null
null
Source/tests/functional/crypto/hash/md5_tests.cpp
ProtonMail/cpp-openpgp
b47316c51357b8d15eb3bcc376ea5e59a6a9a108
[ "MIT" ]
2
2019-11-27T23:47:54.000Z
2020-01-13T16:36:03.000Z
// // md5_test.cpp // OpenPGP // // Created by Yanfeng Zhang on 10/28/16. // // The MIT License // // Copyright (c) 2019 Proton Technologies AG // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // ...
80.583569
271
0.798636
[ "vector" ]
e9456794d27a0e91e521b41266cabc5f864e0b05
8,825
cpp
C++
src/test/demultiplexer_node_test.cpp
BrightTux/model_server
cdbeb464c78b161e5706490fc18b0a8cf16138fb
[ "Apache-2.0" ]
234
2020-04-24T22:09:49.000Z
2022-03-30T10:40:04.000Z
src/test/demultiplexer_node_test.cpp
BrightTux/model_server
cdbeb464c78b161e5706490fc18b0a8cf16138fb
[ "Apache-2.0" ]
199
2020-04-29T08:43:21.000Z
2022-03-29T09:05:52.000Z
src/test/demultiplexer_node_test.cpp
BrightTux/model_server
cdbeb464c78b161e5706490fc18b0a8cf16138fb
[ "Apache-2.0" ]
80
2020-04-29T14:54:41.000Z
2022-03-30T14:50:29.000Z
//***************************************************************************** // Copyright 2021 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.ap...
58.833333
297
0.724873
[ "shape", "vector", "model" ]
e94e54c9ce542ac8a1facfa2e1ce0ef11f7b52af
1,503
cpp
C++
SPOJ/SPOJ/ACPC10D.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
SPOJ/SPOJ/ACPC10D.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
SPOJ/SPOJ/ACPC10D.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <climits> #include <vector> #include <utility> #include <map> #include <stack> #include <queue> #include <deque> #include <algorithm> #define MAX 1000010 #define MOD 1000000007 using namespace std; typedef long long LL...
22.772727
96
0.413839
[ "vector" ]
e955be3ed4bbec6f70409fac445df2a2cd831d22
277
cpp
C++
Cat.cpp
congard/dynlib-test
3108536e095dc21cb7d36f2a9d43d0d7d7a711b2
[ "MIT" ]
null
null
null
Cat.cpp
congard/dynlib-test
3108536e095dc21cb7d36f2a9d43d0d7d7a711b2
[ "MIT" ]
null
null
null
Cat.cpp
congard/dynlib-test
3108536e095dc21cb7d36f2a9d43d0d7d7a711b2
[ "MIT" ]
null
null
null
#include "Cat.h" #include <iostream> extern "C" Cat* create_object() { return new Cat; } extern "C" void destroy_object(Cat* object ) { delete object; } Cat::Cat() { m_voice = "Meow!"; } void Cat::voice() { std::cout << "I'm Cat! "; Animal::voice(); }
13.190476
46
0.574007
[ "object" ]
e95c147dd801dafee676fb12ff843442210b85bb
2,641
cpp
C++
aws-cpp-sdk-ssm-incidents/source/SSMIncidentsErrors.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-ssm-incidents/source/SSMIncidentsErrors.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-ssm-incidents/source/SSMIncidentsErrors.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/core/client/AWSError.h> #include <aws/core/utils/HashingUtils.h> #include <aws/ssm-incidents/SSMIncidentsErrors.h> #include <aws/ssm-incidents/model/ConflictException.h> #include <aws/ss...
34.298701
108
0.794017
[ "model" ]
e95d6f05b5ad1d181b52ce1ea6b2674306a09c1a
135
hpp
C++
src/libs/base/si_baselogging.hpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
src/libs/base/si_baselogging.hpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
src/libs/base/si_baselogging.hpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
#ifndef __si_baselogging_hpp #define __si_baselogging_hpp #define BASE_OBJ_LOG "BAS.Object" #define BASE_THR_LOG "BAS.Thread" #endif
16.875
33
0.822222
[ "object" ]
e9677e348273495bc553310209d25fea82e82d37
8,111
cpp
C++
src/ascent/runtimes/flow_filters/ascent_runtime_babelflow_compose.cpp
subhashis-lanl/ascent
057b95d62d2ad36b9b19f2deb856c09961cb50a0
[ "BSD-3-Clause" ]
null
null
null
src/ascent/runtimes/flow_filters/ascent_runtime_babelflow_compose.cpp
subhashis-lanl/ascent
057b95d62d2ad36b9b19f2deb856c09961cb50a0
[ "BSD-3-Clause" ]
null
null
null
src/ascent/runtimes/flow_filters/ascent_runtime_babelflow_compose.cpp
subhashis-lanl/ascent
057b95d62d2ad36b9b19f2deb856c09961cb50a0
[ "BSD-3-Clause" ]
null
null
null
// // Created by Sergei Shudler on 2020-06-09. // #include <vector> #include <sstream> #include <iomanip> #include <iostream> #include <algorithm> #include <fstream> #include <conduit.hpp> #include <conduit_relay.hpp> #include <conduit_blueprint.hpp> #include <ascent_data_object.hpp> #include <ascent_logging.hpp> #in...
35.574561
109
0.594994
[ "vector" ]
e96fb3ccae19c11ab42a88650742d9f77d35878f
6,426
cpp
C++
src/SolAROpenCVHelper.cpp
geekyfox90/SolARModuleOpenCV
4d8d95c904be32e5935b06402de4a9c6e9b271b0
[ "Apache-2.0" ]
null
null
null
src/SolAROpenCVHelper.cpp
geekyfox90/SolARModuleOpenCV
4d8d95c904be32e5935b06402de4a9c6e9b271b0
[ "Apache-2.0" ]
null
null
null
src/SolAROpenCVHelper.cpp
geekyfox90/SolARModuleOpenCV
4d8d95c904be32e5935b06402de4a9c6e9b271b0
[ "Apache-2.0" ]
null
null
null
/** * @copyright Copyright (c) 2017 B-com http://www.b-com.com/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
28.184211
172
0.570495
[ "vector" ]
e9739c744c0eabfec08a5ec2d8eb1d386a042614
29,897
tpp
C++
core/src/spatial_discretization/finite_element_method/01_stiffness_matrix_stencils.tpp
maierbn/opendihu
577650e2f6b36a7306766b0f4176f8124458cbf0
[ "MIT" ]
17
2018-11-25T19:29:34.000Z
2021-09-20T04:46:22.000Z
core/src/spatial_discretization/finite_element_method/01_stiffness_matrix_stencils.tpp
maierbn/opendihu
577650e2f6b36a7306766b0f4176f8124458cbf0
[ "MIT" ]
1
2020-11-12T15:15:58.000Z
2020-12-29T15:29:24.000Z
core/src/spatial_discretization/finite_element_method/01_stiffness_matrix_stencils.tpp
maierbn/opendihu
577650e2f6b36a7306766b0f4176f8124458cbf0
[ "MIT" ]
4
2018-10-17T12:18:10.000Z
2021-05-28T13:24:20.000Z
#include "spatial_discretization/finite_element_method/01_matrix.h" #include <Python.h> #include <memory> #include <petscksp.h> #include <petscsys.h> #include "mesh/structured_regular_fixed.h" #include "basis_function/lagrange.h" #include <memory> #include <functional> #include "spatial_discretization/spatial_discr...
30.321501
274
0.533398
[ "mesh", "3d" ]
e97592c888c61110e8e0aac0c1ad6e515eb2c5c3
4,212
cpp
C++
examples/mnist/dataInput/mnistDataInput.cpp
eidelen/EidNN
80999b1228eda4cab70b060bdaa6d257f8143bb1
[ "MIT" ]
3
2021-05-14T15:03:03.000Z
2021-12-05T08:31:38.000Z
examples/mnist/dataInput/mnistDataInput.cpp
eidelen/EidNN
80999b1228eda4cab70b060bdaa6d257f8143bb1
[ "MIT" ]
null
null
null
examples/mnist/dataInput/mnistDataInput.cpp
eidelen/EidNN
80999b1228eda4cab70b060bdaa6d257f8143bb1
[ "MIT" ]
3
2020-08-13T15:44:05.000Z
2021-06-07T16:16:53.000Z
/**************************************************************************** ** Copyright (c) 2017 Adrian Schneider ** ** 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,...
34.809917
127
0.65622
[ "vector" ]
e975bf7d50b98ebf39656809e220370c93da6e41
6,353
cpp
C++
testing/parser/css/tokenizer_consumestringtoken.cpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
3
2020-03-28T01:36:44.000Z
2020-06-19T23:55:08.000Z
testing/parser/css/tokenizer_consumestringtoken.cpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
testing/parser/css/tokenizer_consumestringtoken.cpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (C) 2020 Tristan. All Rights Reserved. * This file is licensed under the BSD 2-Clause license. * See the COPYING file for licensing information. */ #include <random> #include <variant> #include <vector> #include <cstring> #include "data/text/encoding/utf8.hpp" #include "data/text/ustring.hpp" na...
39.216049
110
0.736345
[ "vector" ]
e977f3b39111ef9639ae8f6fa88dc0fa4f10d3fe
1,355
cpp
C++
src/sensors/analog_input.cpp
JCHPAUL/SensESP
4209c70d466230f3308002c435c0b5eafec2fef8
[ "Apache-2.0" ]
null
null
null
src/sensors/analog_input.cpp
JCHPAUL/SensESP
4209c70d466230f3308002c435c0b5eafec2fef8
[ "Apache-2.0" ]
null
null
null
src/sensors/analog_input.cpp
JCHPAUL/SensESP
4209c70d466230f3308002c435c0b5eafec2fef8
[ "Apache-2.0" ]
1
2020-07-10T22:35:05.000Z
2020-07-10T22:35:05.000Z
#include "analog_input.h" #include "Arduino.h" #include "sensesp.h" AnalogInput::AnalogInput(uint8_t pin, uint read_delay, String config_path, float output_scale) : NumericSensor(config_path), pin{pin}, read_delay{read_delay}, output_scale{output_scale} { analog_reader...
26.568627
135
0.64428
[ "object" ]
e97d38dee31770ac78de649066c0620cfef8ad74
699
cc
C++
file/hash.cc
algorithm-ninja/ghost
a86ca99c6f295f31b5333acf57c1efff722acc04
[ "MIT" ]
null
null
null
file/hash.cc
algorithm-ninja/ghost
a86ca99c6f295f31b5333acf57c1efff722acc04
[ "MIT" ]
null
null
null
file/hash.cc
algorithm-ninja/ghost
a86ca99c6f295f31b5333acf57c1efff722acc04
[ "MIT" ]
null
null
null
#include "file/hash.h" #include "config.h" #include "file/file.h" #include "highwayhash/highwayhash.h" using namespace highwayhash; std::vector<uint64_t> HashFile(const std::string &path) { File f(path); size_t num_chunk = (f.size() + kChunkSize - 1) / kChunkSize; std::vector<uint64_t> ret(num_chunk); stat...
24.964286
71
0.648069
[ "vector" ]
e97f64d937f12d6a00290484bcff48d1af78fb04
5,112
hpp
C++
include/eve/detail/function/simd/x86/load.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
null
null
null
include/eve/detail/function/simd/x86/load.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
null
null
null
include/eve/detail/function/simd/x86/load.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
null
null
null
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
39.627907
100
0.490219
[ "vector" ]
e981e2f2e956822ec63584cd3984ae7ffeebfae0
2,576
cpp
C++
SpotiHook/dllmain.cpp
kernel1337/SpotiHook
9b51003a42fe7c2505755a96e07bc673054c77fc
[ "MIT" ]
1
2020-11-10T16:57:21.000Z
2020-11-10T16:57:21.000Z
SpotiHook/dllmain.cpp
maxarmin/SpotiHook
9b51003a42fe7c2505755a96e07bc673054c77fc
[ "MIT" ]
null
null
null
SpotiHook/dllmain.cpp
maxarmin/SpotiHook
9b51003a42fe7c2505755a96e07bc673054c77fc
[ "MIT" ]
null
null
null
// dllmain.cpp : Definisce il punto di ingresso per l'applicazione DLL. #pragma once #include "imports.h" #include "window_hook.h" #include "render_proxy.h" #include "overlay.h" #include "menu.h" #include "patchAds.h" #include "patchAutoUpdates.h" #include "patchDownloads.h" void Init() { HWND hWnd = NULL; Al...
29.953488
121
0.645963
[ "render", "3d" ]
e995dff41264e1d38fc70e4557958f51ac6851e6
7,145
cpp
C++
main.cpp
braiden-vasco/vismeit
94da82cd207432380c983b949b09f3dc9af83bc6
[ "MIT" ]
null
null
null
main.cpp
braiden-vasco/vismeit
94da82cd207432380c983b949b09f3dc9af83bc6
[ "MIT" ]
null
null
null
main.cpp
braiden-vasco/vismeit
94da82cd207432380c983b949b09f3dc9af83bc6
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <GL/glew.h> #include <GL/freeglut.h> #include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> #include <glm/gtc/matrix_transform.hpp> #include "ext.h" static const char *const window_title = "Vismeit"; static const int initial_window_width = 640; static const int initia...
25.158451
110
0.652764
[ "model" ]
e9a9e2b4d8e0f19967fae3f5c76e6949429423e8
120,803
cpp
C++
src/net_processing.cpp
gandrewstone/bitcoin
05de381c02eb4bfca94957733acadfa217527f25
[ "MIT" ]
535
2015-09-04T15:10:08.000Z
2022-03-17T20:51:05.000Z
src/net_processing.cpp
gandrewstone/bitcoin
05de381c02eb4bfca94957733acadfa217527f25
[ "MIT" ]
1,269
2016-01-31T20:21:24.000Z
2022-03-16T01:20:08.000Z
src/net_processing.cpp
gandrewstone/bitcoin
05de381c02eb4bfca94957733acadfa217527f25
[ "MIT" ]
295
2015-10-19T16:12:29.000Z
2021-08-02T20:05:17.000Z
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2018-2020 The Bitcoin Unlimited developers // Copyright (C) 2019-2020 Tom Zander <tomz@freedommail.ch> // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.ope...
42.746992
120
0.546526
[ "object", "vector" ]
e9b70731b2ea0f873d88b357f173ea48f1fea3c3
2,004
cpp
C++
DemoProject/FarmGame/Chicken.cpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
DemoProject/FarmGame/Chicken.cpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
DemoProject/FarmGame/Chicken.cpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
#include "Chicken.hpp" #include <iostream> #include <cmath> const double PI = std::acos(-1); Chicken::Chicken(Spritesheet* spritesheet, int startX, int startY) : Entity(spritesheet, startX, startY){ this->spritesheet = new Spritesheet(spritesheet->GetSheet(), 16, 16, 3.5f); this->angle = 180; } void Chicken::Rend...
31.809524
139
0.653194
[ "render" ]
e9c52f92560cb69571ac9c513882815699fdd83e
30,138
cpp
C++
micromouse2014/micromouse2014/Maze.cpp
CarltonSemple/MicroMouse
3b28f90ff277395a67f20dc7a6ff6dccadaed9e4
[ "MIT" ]
null
null
null
micromouse2014/micromouse2014/Maze.cpp
CarltonSemple/MicroMouse
3b28f90ff277395a67f20dc7a6ff6dccadaed9e4
[ "MIT" ]
null
null
null
micromouse2014/micromouse2014/Maze.cpp
CarltonSemple/MicroMouse
3b28f90ff277395a67f20dc7a6ff6dccadaed9e4
[ "MIT" ]
null
null
null
#include "Maze.h" namespace Data { static int openings = 0; /// <summary> /// Method find /// This method checks to see if Location loc /// exists in the current vector of Locations /// that contains the candidates for a new /// Room object. /// </summary> int Maze::find(Location * loc) { for (unsigned in...
25.758974
135
0.535238
[ "object", "vector" ]
e9ca4865dbbc8eece8010210f1831352c6d5848f
1,335
hpp
C++
src/Modules/ModuleManager.hpp
Hary309/hry-core
c6547983115d7a34711ce20607c359f4047ec61e
[ "MIT" ]
8
2020-11-13T23:50:16.000Z
2022-01-03T16:54:00.000Z
src/Modules/ModuleManager.hpp
Hary309/hry-core
c6547983115d7a34711ce20607c359f4047ec61e
[ "MIT" ]
1
2021-01-28T01:56:30.000Z
2021-04-07T21:45:52.000Z
src/Modules/ModuleManager.hpp
Hary309/hry-core
c6547983115d7a34711ce20607c359f4047ec61e
[ "MIT" ]
2
2021-05-30T18:42:20.000Z
2021-07-04T09:04:34.000Z
/** * This file is part of the hry-core project * @ Author: Piotr Krupa <piotrkrupa06@gmail.com> * @ License: MIT License */ #pragma once #include <filesystem> #include <memory> #include <string> #include <vector> #include "Hry/Namespace.hpp" #include "Hry/SCSSDK/Telemetry.hpp" #include "Config/ConfigManager.hp...
18.802817
70
0.692135
[ "vector" ]
e9cfbb2de074d8e057a62ff732bc92f9fd721a87
2,927
cpp
C++
Client/CSQImages.cpp
Sladernimo/lhmp-old
92944fc812c27449cacbb8822d34597f9da07ca4
[ "Apache-2.0" ]
8
2017-02-13T13:29:39.000Z
2022-01-12T17:12:04.000Z
Client/CSQImages.cpp
Sladernimo/lhmp-old
92944fc812c27449cacbb8822d34597f9da07ca4
[ "Apache-2.0" ]
null
null
null
Client/CSQImages.cpp
Sladernimo/lhmp-old
92944fc812c27449cacbb8822d34597f9da07ca4
[ "Apache-2.0" ]
10
2017-01-14T09:41:06.000Z
2021-10-10T00:02:32.000Z
// (C) LHMP Team 2013-2016; Licensed under Apache 2; See LICENSE;; #include "CCore.h" #include "CSQImages.h" extern CCore* g_CCore; CSQImage::CSQImage(char* _in_textureName) { strcpy(this->textureName, _in_textureName); this->LoadTexture(); this->referenceCount = 1; } CSQImage::~CSQImage() { // TODO delete textu...
19.130719
117
0.629997
[ "object" ]
839643a0a27afa732a435e34d500527ac0399a51
2,319
cpp
C++
tcm/src/v20210413/model/IstiodConfig.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tcm/src/v20210413/model/IstiodConfig.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tcm/src/v20210413/model/IstiodConfig.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
27.282353
131
0.701164
[ "object", "model" ]
83a3327de750036a7525ea68a8a549ce27c2a8c6
6,914
cpp
C++
lib/scipoptsuite-5.0.1/scip/src/objscip/objvardata.cpp
npwebste/UPS_Controller
a90ce2229108197fd48f956310ae2929e0fa5d9a
[ "AFL-1.1" ]
null
null
null
lib/scipoptsuite-5.0.1/scip/src/objscip/objvardata.cpp
npwebste/UPS_Controller
a90ce2229108197fd48f956310ae2929e0fa5d9a
[ "AFL-1.1" ]
null
null
null
lib/scipoptsuite-5.0.1/scip/src/objscip/objvardata.cpp
npwebste/UPS_Controller
a90ce2229108197fd48f956310ae2929e0fa5d9a
[ "AFL-1.1" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
32.767773
142
0.562048
[ "object" ]
83ae9de7a6b241ec7aaa6fb29d815e60fad3bd06
37,257
cc
C++
libtailslide/passes/mono/script_compiler.cc
SaladDais/sling
77e93f5b04679e7c3ffcd361944abb242cff9b5f
[ "MIT" ]
1
2022-03-29T07:26:13.000Z
2022-03-29T07:26:13.000Z
libtailslide/passes/mono/script_compiler.cc
SaladDais/sling
77e93f5b04679e7c3ffcd361944abb242cff9b5f
[ "MIT" ]
3
2022-03-30T04:56:49.000Z
2022-03-31T23:32:40.000Z
libtailslide/passes/mono/script_compiler.cc
SaladDais/tailslide
22156d8f65a2699811f671f11649647033c8cdad
[ "MIT" ]
null
null
null
#include "script_compiler.hh" #include "../desugaring.hh" #include <iomanip> namespace Tailslide { static const char *CIL_USERSCRIPT_CLASS = "class [LslUserScript]LindenLab.SecondLife.LslUserScript"; static const char *CIL_LSL_RUNTIME_CLASS = "class [LslLibrary]LindenLab.SecondLife.LslRunTime"; static const char *CIL...
35.720997
151
0.623695
[ "object", "vector" ]
83b2b161454afaa2e0b129306b9c40c87ef3af75
36,740
hpp
C++
ISO639.hpp
pedrovernetti/omnglot
bb085bcb2c815b47a40e568e11d7f0b48f36c5dd
[ "MIT" ]
null
null
null
ISO639.hpp
pedrovernetti/omnglot
bb085bcb2c815b47a40e568e11d7f0b48f36c5dd
[ "MIT" ]
null
null
null
ISO639.hpp
pedrovernetti/omnglot
bb085bcb2c815b47a40e568e11d7f0b48f36c5dd
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (c) 2019 Pedro Vernetti G. * * 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 * w...
26.149466
98
0.442352
[ "cad" ]
83b9ef959f422821e4bddaa187b5447a8f27a356
1,161
hpp
C++
willow/include/popart/op/shapeddropout.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/include/popart/op/shapeddropout.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/include/popart/op/shapeddropout.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #ifndef GUARD_NEURALNET_SHAPEDDROPOUT_HPP #define GUARD_NEURALNET_SHAPEDDROPOUT_HPP #include <popart/op/dropoutbase.hpp> namespace popart { class ShapedDropoutOp : public DropoutBaseOp { public: ShapedDropoutOp(const OperatorIdentifier &_opid, ...
27
69
0.725237
[ "shape", "vector" ]
83bc2f7804923a17b68dc1a4c5f567368364947d
108,249
cpp
C++
database/L3/src/sw/gqe_aggr.cpp
Geekdude/Vitis_Libraries
bca52cee88c07e9ccbec90c00e6df98f4b450ec1
[ "Apache-2.0" ]
1
2021-04-19T20:40:02.000Z
2021-04-19T20:40:02.000Z
database/L3/src/sw/gqe_aggr.cpp
Geekdude/Vitis_Libraries
bca52cee88c07e9ccbec90c00e6df98f4b450ec1
[ "Apache-2.0" ]
null
null
null
database/L3/src/sw/gqe_aggr.cpp
Geekdude/Vitis_Libraries
bca52cee88c07e9ccbec90c00e6df98f4b450ec1
[ "Apache-2.0" ]
1
2021-04-28T05:58:38.000Z
2021-04-28T05:58:38.000Z
/* * Copyright 2020 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...
43.543443
120
0.565465
[ "vector" ]
83bd94f6bb3d914aae0f62188fe512ae9f7fdd60
1,876
hpp
C++
src/Pathfinding-Visualizer/Graph.hpp
joshuainovero/Pathfinding-Visualizer
da94f026d2a1c26cb5241500e8013d1e9d906543
[ "MIT" ]
4
2021-10-15T03:40:48.000Z
2022-01-19T18:48:01.000Z
src/Pathfinding-Visualizer/Graph.hpp
joshuainovero/Pathfinding-Visualizer
da94f026d2a1c26cb5241500e8013d1e9d906543
[ "MIT" ]
null
null
null
src/Pathfinding-Visualizer/Graph.hpp
joshuainovero/Pathfinding-Visualizer
da94f026d2a1c26cb5241500e8013d1e9d906543
[ "MIT" ]
2
2021-10-15T03:40:52.000Z
2022-01-05T10:07:42.000Z
#ifndef GRAPH_H #define GRAHP_H #include "Node.hpp" #include "Astar.hpp" #include "Dijkstra.hpp" #include "BFS.hpp" #include "DFS.hpp" #include "RecursiveMaze.hpp" #include "RandomTerrain.hpp" #include <vector> #include <utility> enum Enum_Search {ASTAR, DIJKSTRA, BFS, DFS}; enum Maze_Algorithms {RM, RAND_T}; class G...
21.813953
78
0.70629
[ "vector" ]
83c1d2c498b4953461d9ff2718d8de77b435f0b4
23,608
cpp
C++
Modules/Contents/UI/Source/PolyUITextInput.cpp
mcclure/old-Polycode
284d68b114da057c9468627781eca2d853d272f7
[ "MIT" ]
3
2018-04-21T16:25:21.000Z
2022-03-28T03:36:16.000Z
Modules/Contents/UI/Source/PolyUITextInput.cpp
mcclure/old-Polycode
284d68b114da057c9468627781eca2d853d272f7
[ "MIT" ]
null
null
null
Modules/Contents/UI/Source/PolyUITextInput.cpp
mcclure/old-Polycode
284d68b114da057c9468627781eca2d853d272f7
[ "MIT" ]
1
2020-04-29T03:22:50.000Z
2020-04-29T03:22:50.000Z
/* * PolyUITextInput.cpp * Poly * * Created by Ivan Safrin on 7/30/08. * Copyright 2008 __MyCompanyName__. All rights reserved. * */ #include "PolyUITextInput.h" using namespace Polycode; UITextInput::UITextInput(bool multiLine, Number width, Number height) : ScreenEntity() { this->multiLine = multiLine...
28.860636
186
0.672738
[ "vector" ]
83c2196eee3344f1d5c72b4217a32f525f4d9f09
5,006
cpp
C++
sstd/src/file/csv.cpp
admiswalker/SubStandardLibrary-SSTD-
d0e7c754f4437fc57e8c4ab56fbbf2aa871b00ff
[ "MIT" ]
null
null
null
sstd/src/file/csv.cpp
admiswalker/SubStandardLibrary-SSTD-
d0e7c754f4437fc57e8c4ab56fbbf2aa871b00ff
[ "MIT" ]
null
null
null
sstd/src/file/csv.cpp
admiswalker/SubStandardLibrary-SSTD-
d0e7c754f4437fc57e8c4ab56fbbf2aa871b00ff
[ "MIT" ]
null
null
null
#include "./csv.hpp" #include "./file.hpp" #include "./path.hpp" #include "./read_write.hpp" #include "../tinyInterpreter.hpp" #include "../string/strEdit.hpp" // erasing empty element(s) in the tail of vector void eraseEmptyTail(std::vector<std::string>& inOut){ uint cols = inOut.size(); for(uint p=cols-1;...
37.358209
183
0.552537
[ "vector" ]
83c741ada5b1ac4b6e8ed53d67cb7b9c05fc5c08
1,195
hpp
C++
include/PluginRegistry.hpp
flagarde/FlakedTuna
25d2f81be27506090339d539205e7a2710343e4b
[ "MIT" ]
3
2021-01-06T12:11:04.000Z
2021-05-21T16:37:54.000Z
include/PluginRegistry.hpp
flagarde/FlakedTuna
25d2f81be27506090339d539205e7a2710343e4b
[ "MIT" ]
4
2021-05-14T19:48:29.000Z
2021-05-15T05:03:32.000Z
include/PluginRegistry.hpp
flagarde/FlakedTuna
25d2f81be27506090339d539205e7a2710343e4b
[ "MIT" ]
1
2021-01-15T12:27:19.000Z
2021-01-15T12:27:19.000Z
#pragma once #include <exception> #include <functional> #include <memory> #include <typeindex> #include <map> // TODO: Look at supporting constructors with parameters namespace FlakedTuna { class PluginRegistry { private: std::multimap<std::type_index,std::function<std::shared_ptr<void>()>> _plugins; p...
31.447368
185
0.676987
[ "vector" ]
83c7c5de2f38e0936e88d4e6aaa5b7f6baae3f53
9,840
cpp
C++
source/engine/render/backend/vulkan/device.cpp
aviktorov/pbr-sandbox
66a71c741dac2d2dd46668a506d02de88f05e399
[ "MIT" ]
19
2020-02-11T19:57:41.000Z
2022-02-20T14:11:33.000Z
source/engine/render/backend/vulkan/device.cpp
aviktorov/pbr-sandbox
66a71c741dac2d2dd46668a506d02de88f05e399
[ "MIT" ]
null
null
null
source/engine/render/backend/vulkan/device.cpp
aviktorov/pbr-sandbox
66a71c741dac2d2dd46668a506d02de88f05e399
[ "MIT" ]
5
2019-11-05T17:38:33.000Z
2022-03-04T12:49:58.000Z
#include "render/backend/vulkan/Device.h" #include "render/backend/vulkan/Platform.h" #include "render/backend/vulkan/Utils.h" #define VMA_IMPLEMENTATION #include <vk_mem_alloc.h> #include <array> #include <vector> #include <iostream> #include <set> namespace render::backend::vulkan { /* */ static int maxCombine...
35.523466
185
0.79624
[ "render", "vector" ]
83d14048376184794d010c270b23f0e13ec4f38a
3,632
cpp
C++
src/graph.cpp
lem0nez/instanalyzer
0bb2353ecc6d3657245d2f8053a55172da03968e
[ "Apache-2.0" ]
null
null
null
src/graph.cpp
lem0nez/instanalyzer
0bb2353ecc6d3657245d2f8053a55172da03968e
[ "Apache-2.0" ]
null
null
null
src/graph.cpp
lem0nez/instanalyzer
0bb2353ecc6d3657245d2f8053a55172da03968e
[ "Apache-2.0" ]
null
null
null
/* * Copyright © 2019 Nikita Dudko. All rights reserved. * Contacts: <nikita.dudko.95@gmail.com> * * 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...
32.428571
78
0.672907
[ "vector" ]
83dd3a10eb0ce859f5da9f050254df28011d27c9
279
cpp
C++
Cpp/1619.mean-of-array-after-removing-some-elements.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/1619.mean-of-array-after-removing-some-elements.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/1619.mean-of-array-after-removing-some-elements.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
class Solution { public: double trimMean(vector<int>& arr) { int N = arr.size(), M = N / 20; std::sort(arr.begin(), arr.end()); int sum = std::accumulate(arr.begin()+M, arr.begin()+(N-M), 0); return static_cast<double>(sum) / (N-2*M); } };
31
71
0.53405
[ "vector" ]
83dd8c9c07582c1abd0c6150ad94915d70a9b859
1,437
cpp
C++
CCC/Stage1/14/ccc14s5.jj.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
1
2017-10-01T00:51:39.000Z
2017-10-01T00:51:39.000Z
CCC/Stage1/14/ccc14s5.jj.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
CCC/Stage1/14/ccc14s5.jj.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <fstream> #include <cstdlib> #include <cstring> #include <cstdio> #include <string> #include <vector> #include <cmath> #include <queue> #include <map> #include <set> using namespace std; int N; typedef pair<int,int> I2; I2 pts[2001]; int best[200...
15.451613
51
0.473904
[ "vector" ]
83f4fc14b5a55a42c6c331bc1b1581c537c66f7c
4,380
hpp
C++
mysql-server/storage/ndb/src/common/util/parse_mask.hpp
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/storage/ndb/src/common/util/parse_mask.hpp
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/storage/ndb/src/common/util/parse_mask.hpp
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with cer...
25.172414
79
0.632192
[ "vector" ]
83f6892ba223fa93e86ee6db66442be3887099aa
14,540
cpp
C++
Sources/Graphics/OpenGL/JPEG/opengl_win32.cpp
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
27
2017-12-19T09:15:36.000Z
2021-07-30T13:02:00.000Z
Sources/Graphics/OpenGL/JPEG/opengl_win32.cpp
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
null
null
null
Sources/Graphics/OpenGL/JPEG/opengl_win32.cpp
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
29
2018-04-10T13:25:54.000Z
2021-12-24T01:51:03.000Z
#define FAST_IS_JPEG #include <jpeglib.h> #include <jerror.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <GL/glut.h> #include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; vector<string> vec; int num = 0; //================================ GLuint LoadJPEG...
33.735499
173
0.669257
[ "vector" ]