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
0572a28b13f72df24086478cb886eba345f98289
7,309
cpp
C++
Causality/CausalityApplication.cpp
ArcEarth/PPARM
8e22e3f20a90a22940218c243b7fe5e24e754e5b
[ "MIT" ]
3
2016-07-13T18:30:33.000Z
2020-03-31T22:20:34.000Z
Causality/CausalityApplication.cpp
ArcEarth/PPARM
8e22e3f20a90a22940218c243b7fe5e24e754e5b
[ "MIT" ]
null
null
null
Causality/CausalityApplication.cpp
ArcEarth/PPARM
8e22e3f20a90a22940218c243b7fe5e24e754e5b
[ "MIT" ]
5
2016-01-16T14:25:28.000Z
2017-06-12T16:15:18.000Z
#include "pch_bcl.h" #include "CausalityApplication.h" //#include "Content\CubeScene.h" //#include "Content\SampleFpsTextRenderer.h" #include <CommonStates.h> #include <PrimitiveVisualizer.h> #include <ppltasks.h> #include "KinectSensor.h" #include "OculusRift.h" #include "LeapMotion.h" #include "Vicon.h" ...
25.735915
142
0.682857
[ "render", "vector" ]
0574d5dce2c9f90c3761973a30fdf404d925b134
2,645
cpp
C++
source/code/utilities/filesystem/files/moving/lib.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/code/utilities/filesystem/files/moving/lib.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/code/utilities/filesystem/files/moving/lib.cpp
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
#include "code/utilities/filesystem/files/moving/lib.hpp" #include "code/utilities/program/call/lib.hpp" #include "code/utilities/filesystem/files/getting/lib.hpp" #include "code/utilities/types/vectors/transformers/lib.hpp" #include "code/utilities/filesystem/files/observers/lstat_wrap/lib.hpp" #include "code/utilitie...
37.253521
124
0.710775
[ "vector" ]
0574d8b0f874f64a28b8784d4b085a395f177195
1,697
hpp
C++
projects/robots/gctronic/e-puck/plugins/robot_windows/botstudio/core/AutomatonObjectRepresentation.hpp
awesome-archive/webots
8e74fb8393d1e3a6540749afc492635c43f1b30f
[ "Apache-2.0" ]
2
2019-07-12T13:47:44.000Z
2019-08-17T02:53:54.000Z
projects/robots/gctronic/e-puck/plugins/robot_windows/botstudio/core/AutomatonObjectRepresentation.hpp
golbh/webots
8e74fb8393d1e3a6540749afc492635c43f1b30f
[ "Apache-2.0" ]
null
null
null
projects/robots/gctronic/e-puck/plugins/robot_windows/botstudio/core/AutomatonObjectRepresentation.hpp
golbh/webots
8e74fb8393d1e3a6540749afc492635c43f1b30f
[ "Apache-2.0" ]
1
2019-07-13T17:58:04.000Z
2019-07-13T17:58:04.000Z
// Copyright 1996-2018 Cyberbotics 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 agr...
27.819672
80
0.777843
[ "object" ]
0579a0dcd91ec2e8fa9c2f4be3e5b9f228cddce4
6,574
cpp
C++
libraries/plugins/non_consensus/non_consensus_plugin.cpp
LianshuOne/yoyow-core
fba1274b79f85110febd66aab428473ad75148a7
[ "MIT" ]
1
2019-06-11T09:00:42.000Z
2019-06-11T09:00:42.000Z
libraries/plugins/non_consensus/non_consensus_plugin.cpp
LianshuOne/yoyow-core
fba1274b79f85110febd66aab428473ad75148a7
[ "MIT" ]
null
null
null
libraries/plugins/non_consensus/non_consensus_plugin.cpp
LianshuOne/yoyow-core
fba1274b79f85110febd66aab428473ad75148a7
[ "MIT" ]
null
null
null
/* * Copyright (c) YOYOW-team., and contributors. * * The MIT License * * 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 * ...
39.365269
159
0.696988
[ "vector", "transform" ]
057cb6f7d261d89f177d2c314735464e239bb9a6
4,210
cpp
C++
controller/src/user_panel.cpp
danielmohansahu/cleanup-robot
a74b636855200bf2cbfbaebc69b35d588ccd3609
[ "MIT" ]
1
2020-12-01T00:52:37.000Z
2020-12-01T00:52:37.000Z
controller/src/user_panel.cpp
danielmohansahu/cleanup-robot
a74b636855200bf2cbfbaebc69b35d588ccd3609
[ "MIT" ]
1
2020-12-14T04:21:30.000Z
2020-12-14T04:21:30.000Z
controller/src/user_panel.cpp
danielmohansahu/cleanup-robot
a74b636855200bf2cbfbaebc69b35d588ccd3609
[ "MIT" ]
1
2021-03-10T00:08:47.000Z
2021-03-10T00:08:47.000Z
/** * @file user_panel.cpp * @brief Implementation of custom RVIZ user panel for control * * @copyright [2020] <Daniel Sahu, Spencer Elyard, Santosh Kesani> */ /* * Copyright (c) 2011, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modifica...
33.149606
78
0.739905
[ "object" ]
057fe98c296d336083c03323b0664b77968e8d2a
10,984
cpp
C++
components/render/opengl_driver/sources/platform/glx/glx_output.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/render/opengl_driver/sources/platform/glx/glx_output.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/render/opengl_driver/sources/platform/glx/glx_output.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" using namespace render::low_level; using namespace render::low_level::opengl; using namespace render::low_level::opengl::glx; namespace { /* Константы */ const int GAMMA_RAMP_SIZE = 256; //базовый размер гаммы } /* Описание реализации устройства вывода */ typedef ...
28.020408
155
0.644119
[ "render", "vector" ]
058687573bacc56b0bc8d0fdc1aad1edb4a321e9
14,653
cpp
C++
XML/testsuite/src/XMLStreamParserTest.cpp
e0861280/poco
961ca3e246f55646ab6e101e35e3ec0db359360f
[ "BSL-1.0" ]
null
null
null
XML/testsuite/src/XMLStreamParserTest.cpp
e0861280/poco
961ca3e246f55646ab6e101e35e3ec0db359360f
[ "BSL-1.0" ]
null
null
null
XML/testsuite/src/XMLStreamParserTest.cpp
e0861280/poco
961ca3e246f55646ab6e101e35e3ec0db359360f
[ "BSL-1.0" ]
1
2019-10-21T03:40:54.000Z
2019-10-21T03:40:54.000Z
// // XMLStreamParserTest.cpp // // $Id$ // // Copyright (c) 2015, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "XMLStreamParserTest.h" #include "Poco/CppUnit/TestCaller.h" #include "Poco/CppUnit/TestSuite.h" #include "Poco/XML/XMLStreamParser.h...
28.958498
127
0.661298
[ "vector" ]
05899a1918605c7b18335f63ece8da64ec2826ce
1,912
cpp
C++
VSProject/LeetCodeSol/UnitTest/SingleNumberIIITestSuite.cpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
VSProject/LeetCodeSol/UnitTest/SingleNumberIIITestSuite.cpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
VSProject/LeetCodeSol/UnitTest/SingleNumberIIITestSuite.cpp
wangxiaotao1980/leetCodeCPP
1806c00cd89eacddbdd20a7c33875f54400a20a8
[ "MIT" ]
null
null
null
/******************************************************************************************* * @file SingleNumberIIITestSuite.cpp 2015\12\8 10:39:10 $ * @author Wang Xiaotao<wangxiaotao1980@gmail.com> (中文编码测试) * @note LeetCode No.260 Single Number III ************************************************...
33.54386
94
0.452929
[ "vector" ]
058e07a1164af1bffc5e7d00dc4af82ae880959b
9,516
cc
C++
crypto/asn1/asn1_test.cc
azimot/boringssl
669ffe64a498a16ed8a339758c3abedcbb3d9522
[ "MIT" ]
null
null
null
crypto/asn1/asn1_test.cc
azimot/boringssl
669ffe64a498a16ed8a339758c3abedcbb3d9522
[ "MIT" ]
null
null
null
crypto/asn1/asn1_test.cc
azimot/boringssl
669ffe64a498a16ed8a339758c3abedcbb3d9522
[ "MIT" ]
null
null
null
/* Copyright (c) 2016, Google Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS...
32.813793
80
0.684636
[ "vector" ]
059af5c6bcc243d4fe788ad77ed12f0cfd4c2d75
41,586
cpp
C++
src/message_conversions.cpp
perchess/qml_ros_plugin
d0e3ef3567026e61122efd1bd1c77881a034fd73
[ "MIT" ]
15
2019-12-01T14:07:59.000Z
2021-12-28T09:45:48.000Z
src/message_conversions.cpp
perchess/qml_ros_plugin
d0e3ef3567026e61122efd1bd1c77881a034fd73
[ "MIT" ]
3
2022-02-16T16:10:12.000Z
2022-02-20T11:06:32.000Z
src/message_conversions.cpp
perchess/qml_ros_plugin
d0e3ef3567026e61122efd1bd1c77881a034fd73
[ "MIT" ]
2
2021-09-01T09:49:43.000Z
2021-11-19T09:29:25.000Z
// Copyright (c) 2019 Stefan Fabian. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "qml_ros_plugin/message_conversions.h" #include "qml_ros_plugin/array.h" #include "qml_ros_plugin/babel_fish_dispenser.h" #include "qml_ros_plugin/qml...
35.452685
120
0.637498
[ "vector", "transform" ]
059d169e23eb1fc38f32913d2be1839a1501c956
4,143
cpp
C++
src/Library/PhotonMapping/GlobalSpectralPhotonTracer.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
1
2018-12-20T19:31:02.000Z
2018-12-20T19:31:02.000Z
src/Library/PhotonMapping/GlobalSpectralPhotonTracer.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
src/Library/PhotonMapping/GlobalSpectralPhotonTracer.cpp
aravindkrishnaswamy/rise
297d0339a7f7acd1418e322a30a21f44c7dbbb1d
[ "BSD-2-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////// // // GlobalSpectralPhotonTracer.cpp - Implementation of the GlobalSpectralPhotonTracer class // // Author: Aravind Krishnaswamy // Date of Birth: October 8, 2002 // Tabs: 4 // Comments: // // License Information: Please see the attached LIC...
29.382979
153
0.684045
[ "object" ]
05a0c23fe7772fff188b08f9e1b4b8a8e4edf8a0
5,111
cc
C++
src/cpp/examples/two_models_two_tpus_threaded.cc
SanggunLee/edgetpu
d3cf166783265f475c1ddba5883e150ee84f7bfe
[ "Apache-2.0" ]
320
2019-09-19T07:10:48.000Z
2022-03-12T01:48:56.000Z
src/cpp/examples/two_models_two_tpus_threaded.cc
Machine-Learning-Practice/edgetpu
6d699665efdc5d84944b5233223c55fe5d3bd1a6
[ "Apache-2.0" ]
563
2019-09-27T06:40:40.000Z
2022-03-31T23:12:15.000Z
src/cpp/examples/two_models_two_tpus_threaded.cc
Machine-Learning-Practice/edgetpu
6d699665efdc5d84944b5233223c55fe5d3bd1a6
[ "Apache-2.0" ]
119
2019-09-25T02:51:10.000Z
2022-03-03T08:11:12.000Z
// Example to run two models with two Edge TPUs using two threads. // It depends only on tflite and edgetpu.h // // Example usage: // 1. Create directory /tmp/edgetpu_cpp_example // 2. wget -O /tmp/edgetpu_cpp_example/inat_bird_edgetpu.tflite \ // http://storage.googleapis.com/cloud-iot-edge-pretrained-models/cann...
43.683761
137
0.630405
[ "vector", "model" ]
05a85b1af619d0da57a060cb7c96e748efb401c3
5,210
hpp
C++
include/Modbus.hpp
StratifyLabs/ModbusRTU
706446abadd7a89cbe3fd7df64cff374da0a3a19
[ "Apache-2.0" ]
null
null
null
include/Modbus.hpp
StratifyLabs/ModbusRTU
706446abadd7a89cbe3fd7df64cff374da0a3a19
[ "Apache-2.0" ]
null
null
null
include/Modbus.hpp
StratifyLabs/ModbusRTU
706446abadd7a89cbe3fd7df64cff374da0a3a19
[ "Apache-2.0" ]
1
2021-03-02T01:35:56.000Z
2021-03-02T01:35:56.000Z
#ifndef MODBUS_MODBUS_HPP #define MODBUS_MODBUS_HPP #include <mcu/types.h> #include <sapi/sys/Thread.hpp> #include <sapi/var/Data.hpp> #include <sapi/chrono/MicroTime.hpp> #include <sapi/chrono/Timer.hpp> #include <sapi/var/String.hpp> namespace mbus { class ModbusObject { public: const var::String & error_messa...
26.717949
107
0.677735
[ "object" ]
05ade6ad830a03c862d0899a4fcf0466a5db5e53
5,448
cpp
C++
src/cpp11.cpp
jianggx/learn_cpp
82e8d29c89d752660d7be34ceb29450f5eafaa22
[ "MIT" ]
1
2018-10-20T17:59:22.000Z
2018-10-20T17:59:22.000Z
src/cpp11.cpp
jianggx/learn_cpp
82e8d29c89d752660d7be34ceb29450f5eafaa22
[ "MIT" ]
null
null
null
src/cpp11.cpp
jianggx/learn_cpp
82e8d29c89d752660d7be34ceb29450f5eafaa22
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include "include/add.h" // 1, initialize list class MyVector{ std::vector<int> m_vec; public: MyVector(const std::initializer_list<int>& list){ // initialize list constructor for(auto x : list){ m_vec.push_back(x); } ...
23.790393
96
0.601138
[ "vector" ]
05b1e9bd02260129864396d9b0df21b4996c6abe
2,849
cpp
C++
Tree_Problems_Template.cpp
vicennial/Competitive-Coding-Library
48e338ca5f572d44d8f4224cdb373bb0cab5b856
[ "MIT" ]
1
2019-02-20T06:44:04.000Z
2019-02-20T06:44:04.000Z
Tree_Problems_Template.cpp
vicennial/Competitive-Coding-Library
48e338ca5f572d44d8f4224cdb373bb0cab5b856
[ "MIT" ]
null
null
null
Tree_Problems_Template.cpp
vicennial/Competitive-Coding-Library
48e338ca5f572d44d8f4224cdb373bb0cab5b856
[ "MIT" ]
null
null
null
//Gvs Akhil (Vicennial) #include<bits/stdc++.h> #define int long long #define pb push_back #define eb emplace_back #define mp make_pair #define mt make_tuple #define ld(a) while(a--) #define tci(v,i) for(auto i=v.begin();i!=v.end();i++) #define tcf(v,i) for(auto i : v) #define all(v) v.begin(),v.end() #defin...
29.071429
158
0.521236
[ "vector" ]
05ba9449f7c227839ad03d6d24c071c33cdb2634
3,366
cpp
C++
asp_commons/src/ASPCommonsTerm.cpp
StephanOpfer/symrock
519f684374124707f684edceb9b53156fe3bafbc
[ "MIT" ]
1
2018-12-04T16:16:41.000Z
2018-12-04T16:16:41.000Z
asp_commons/src/ASPCommonsTerm.cpp
carpe-noctem-cassel/symrock
519f684374124707f684edceb9b53156fe3bafbc
[ "MIT" ]
2
2019-02-28T10:44:06.000Z
2019-03-28T12:31:01.000Z
asp_commons/src/ASPCommonsTerm.cpp
carpe-noctem-cassel/symrock
519f684374124707f684edceb9b53156fe3bafbc
[ "MIT" ]
null
null
null
/* * Term.cpp * * Created on: Jul 13, 2016 * Author: Stefan Jakob */ #include <ASPCommonsTerm.h> #include <SystemConfig.h> namespace reasoner { ASPCommonsTerm::ASPCommonsTerm(int lifeTime) { this->programSection = ""; this->id = -1; this->lifeTime = lifeTime; this->externals = nullptr; this->n...
18.910112
108
0.683304
[ "vector" ]
05bc5b30986ce45b44adb23b002ebe1b5b89fd92
3,900
cpp
C++
radiosity/source/ortho_projector.cpp
armenalaray/GI_Solvers
82f12185ac4017ed45e25b3393a5b2140b7ccf0d
[ "MIT" ]
1
2021-04-05T21:22:20.000Z
2021-04-05T21:22:20.000Z
radiosity/source/ortho_projector.cpp
armenalaray/GI_Solvers
82f12185ac4017ed45e25b3393a5b2140b7ccf0d
[ "MIT" ]
null
null
null
radiosity/source/ortho_projector.cpp
armenalaray/GI_Solvers
82f12185ac4017ed45e25b3393a5b2140b7ccf0d
[ "MIT" ]
null
null
null
#include "ortho_projector.h" /* OrthoProjector::render Description: Renders 5 faces of Cornell Box. Parameters: float fw: Cornell Box's face width. float fh: Cornell Box's face height. int th: Image Height. int tw: Image Width. Output: - */ void OrthoProjector::render(float fw, float fh, int th, int tw) { ...
26
71
0.456667
[ "render" ]
05be659606c0dc93abf21da600da2449966c42a9
18,124
cc
C++
test/cctest/wasm/test-gc.cc
jie-pan/v8
780a495c58a32ff17d4b4332a122aea1d2e0f0b1
[ "BSD-3-Clause" ]
1
2020-06-01T18:07:24.000Z
2020-06-01T18:07:24.000Z
test/cctest/wasm/test-gc.cc
jie-pan/v8
780a495c58a32ff17d4b4332a122aea1d2e0f0b1
[ "BSD-3-Clause" ]
null
null
null
test/cctest/wasm/test-gc.cc
jie-pan/v8
780a495c58a32ff17d4b4332a122aea1d2e0f0b1
[ "BSD-3-Clause" ]
1
2020-06-03T13:25:49.000Z
2020-06-03T13:25:49.000Z
// Copyright 2020 the V8 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. #include <stdint.h> #include "src/utils/utils.h" #include "src/utils/vector.h" #include "src/wasm/module-decoder.h" #include "src/wasm/struct-types.h" ...
43.672289
80
0.634407
[ "object", "vector" ]
05bf7efdc49ef73c425bc01bbceecce976308010
1,690
hpp
C++
boost/geometry/extensions/nsphere/index/detail/algorithms/comparable_distance_near.hpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
2
2015-01-02T14:24:56.000Z
2015-01-02T14:25:17.000Z
boost/geometry/extensions/nsphere/index/detail/algorithms/comparable_distance_near.hpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
2
2019-01-13T23:45:51.000Z
2019-02-03T08:13:26.000Z
boost/geometry/extensions/nsphere/index/detail/algorithms/comparable_distance_near.hpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
1
2016-05-29T13:41:15.000Z
2016-05-29T13:41:15.000Z
// Boost.Geometry Index // // squared distance between point and nearest point of the box or point // // Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland. // // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://w...
40.238095
122
0.769822
[ "geometry" ]
05c82102b27e6feccf92d619d202a06bce660b57
3,081
cpp
C++
OpenglSphere/src/Sphere.cpp
linux-admirer/OpenglSphere
ed6937ed3f72bfbf54227e0fa9f2abde3394e156
[ "MIT" ]
1
2019-08-08T16:58:46.000Z
2019-08-08T16:58:46.000Z
OpenglSphere/src/Sphere.cpp
linux-admirer/OpenglSphere
ed6937ed3f72bfbf54227e0fa9f2abde3394e156
[ "MIT" ]
null
null
null
OpenglSphere/src/Sphere.cpp
linux-admirer/OpenglSphere
ed6937ed3f72bfbf54227e0fa9f2abde3394e156
[ "MIT" ]
null
null
null
#include "Sphere.h" #include <algorithm> #define _USE_MATH_DEFINES #include <cmath> #include <math.h> static const double pi180 = M_PI / 180; double degreeToRadian(float degrees) { return (degrees * pi180); } void negateY(Triangle& triangle) { auto& vertices = triangle.vertices; vertices[0].y = -vertices[0].y; ...
24.452381
76
0.695229
[ "vector" ]
05cbf887d59b208376db90dfc74507429c8005ec
6,987
cc
C++
src/main.cc
rlan/cpp_sandbox
5889513e2f5874a01fd610c259135d627847e8b9
[ "MIT" ]
null
null
null
src/main.cc
rlan/cpp_sandbox
5889513e2f5874a01fd610c259135d627847e8b9
[ "MIT" ]
null
null
null
src/main.cc
rlan/cpp_sandbox
5889513e2f5874a01fd610c259135d627847e8b9
[ "MIT" ]
null
null
null
// Options class // https://gist.github.com/ksimek/4a2814ba7d74f778bbee // boost::log // boost::log tutorial #include <boost/program_options.hpp> #include <boost/log/core.hpp> #include <boost/log/trivial.hpp> #include <boost/log/expressions.hpp> #include <iostream> #include <sstream> #include <fstream> #include <itera...
32.649533
143
0.566051
[ "vector" ]
fe465786707123d3e74cf5431d3d156654f0cfb1
1,369
cc
C++
cv_utils/src/DisplayImages.cc
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
cv_utils/src/DisplayImages.cc
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
cv_utils/src/DisplayImages.cc
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
#include "cv_utils/DisplayImages.h" #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> using namespace cv; namespace cv_utils { void DisplayNormalizedImage(const cv::Mat& image, const char* windowName) { Mat outImage = image; if (image.channels() == 1) { normalize(image, outImage, ...
24.446429
75
0.665449
[ "vector" ]
fe4c333c832944501a2abfad0cfa9356b655acff
3,159
cpp
C++
Semester_2/Assignment11 Object-oriented design ATM/BankDatabase.cpp
ryankert01/Programming-1--1-hw7
c0b7fcf35000406d0bb3ae6cc862e71ea986d796
[ "Apache-2.0" ]
null
null
null
Semester_2/Assignment11 Object-oriented design ATM/BankDatabase.cpp
ryankert01/Programming-1--1-hw7
c0b7fcf35000406d0bb3ae6cc862e71ea986d796
[ "Apache-2.0" ]
null
null
null
Semester_2/Assignment11 Object-oriented design ATM/BankDatabase.cpp
ryankert01/Programming-1--1-hw7
c0b7fcf35000406d0bb3ae6cc862e71ea986d796
[ "Apache-2.0" ]
null
null
null
// BankDatabase.cpp // Member-function definitions for class BankDatabase. #include <iostream> #include "BankDatabase.h" // BankDatabase class definition // BankDatabase default constructor initializes accounts // read account informations for all accounts from the binary file "Accounts.dat" BankDatabase::BankD...
29.25
82
0.675214
[ "object" ]
fe5153f0679a8326fb73de010078df7e0c6497b8
1,557
cc
C++
libs/core/src/core/utf8.test.cc
madeso/euphoria
59b72d148a90ae7a19e197e91216d4d42f194fd5
[ "MIT" ]
24
2015-07-27T14:32:18.000Z
2021-11-15T12:11:31.000Z
libs/core/src/core/utf8.test.cc
madeso/euphoria
59b72d148a90ae7a19e197e91216d4d42f194fd5
[ "MIT" ]
27
2021-07-09T21:18:40.000Z
2021-07-14T13:39:56.000Z
libs/core/src/core/utf8.test.cc
madeso/euphoria
59b72d148a90ae7a19e197e91216d4d42f194fd5
[ "MIT" ]
null
null
null
#include "core/utf8.h" #include "tests/stringeq.h" #include "catch.hpp" #include <vector> #include <string> using namespace euphoria::core; namespace { using T = std::vector<unsigned int>; std::pair<bool, T> parse_to_codepoints(const std::string& str) { auto ret = T{}; const auto ...
23.590909
92
0.588953
[ "vector" ]
fe58d141314d9f0eb6e0db005681e29e480b4bf8
676
cpp
C++
Blocks/expanding_visual.cpp
dtulga/arcBlocks
db54cfc09e51a7330135fa139f7436e81fd9de9f
[ "MIT" ]
null
null
null
Blocks/expanding_visual.cpp
dtulga/arcBlocks
db54cfc09e51a7330135fa139f7436e81fd9de9f
[ "MIT" ]
null
null
null
Blocks/expanding_visual.cpp
dtulga/arcBlocks
db54cfc09e51a7330135fa139f7436e81fd9de9f
[ "MIT" ]
null
null
null
#include "expanding_visual.h" namespace Blocks { void ExpandingVisual::draw() { bool drawn = false; if (!props_.background_color.is_transparent()) { render.DrawRect(width_, height_, props_.background_color); drawn = true; } if (props_.sprite != nullptr) { if (props_.sprite_tile_mode) { render...
27.04
78
0.678994
[ "render" ]
fe5e3f7c2a7b61bbbe455b6de13f514e04bf778b
8,785
cpp
C++
macOSCoder/KnapSack.cpp
lawarner/macOSCoder
096c49e5b6bc0ea2ffd7f875fa3f390306133669
[ "Apache-2.0" ]
null
null
null
macOSCoder/KnapSack.cpp
lawarner/macOSCoder
096c49e5b6bc0ea2ffd7f875fa3f390306133669
[ "Apache-2.0" ]
null
null
null
macOSCoder/KnapSack.cpp
lawarner/macOSCoder
096c49e5b6bc0ea2ffd7f875fa3f390306133669
[ "Apache-2.0" ]
null
null
null
// // KnapSack.cpp // macOSCoder // // Copyright © 2016 Andy Warner. // #include "KnapSack.hpp" #include <iostream> using namespace std; enum AlgoType { AT_RECURSE, AT_PERMUTE_UNIQUE, AT_PERMUTE_DUPLICATE }; #if 0 //////////////////////////// QuickPerm non-recursive //////////////////////////// #defin...
25.463768
101
0.512578
[ "vector" ]
fe6afde790bdd3a52e7054e213d956e87f59b54c
3,012
cpp
C++
cpp/example_code/dynamodb/update_table.cpp
iconara/aws-doc-sdk-examples
52706b31b4fce8fb89468e56743edf5369e69628
[ "Apache-2.0" ]
1
2022-02-02T03:49:17.000Z
2022-02-02T03:49:17.000Z
cpp/example_code/dynamodb/update_table.cpp
iconara/aws-doc-sdk-examples
52706b31b4fce8fb89468e56743edf5369e69628
[ "Apache-2.0" ]
1
2021-04-09T21:17:09.000Z
2021-04-09T21:17:09.000Z
cpp/example_code/dynamodb/update_table.cpp
iconara/aws-doc-sdk-examples
52706b31b4fce8fb89468e56743edf5369e69628
[ "Apache-2.0" ]
27
2020-04-16T22:52:53.000Z
2021-09-30T22:55:58.000Z
//snippet-sourcedescription:[update_table.cpp demonstrates how to update information about an Amazon DynamoDB table.] //snippet-keyword:[AWS SDK for C++] //snippet-keyword:[Code Sample] //snippet-service:[Amazon DynamoDB] //snippet-sourcetype:[full-example] //snippet-sourcedate:[11/30/2021] //snippet-sourceauthor...
35.857143
118
0.63745
[ "model" ]
fe6cb6cb8b55dbc66a7dc2e838a7afe2a9766f3d
7,457
cpp
C++
lib/Basics/AttributeNameParser.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
1
2020-07-30T23:33:02.000Z
2020-07-30T23:33:02.000Z
lib/Basics/AttributeNameParser.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
109
2022-01-06T07:05:24.000Z
2022-03-21T01:39:35.000Z
lib/Basics/AttributeNameParser.cpp
rajeev02101987/arangodb
817e6c04cb82777d266f3b444494140676da98e2
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
34.683721
104
0.524205
[ "vector" ]
fe6e56789b6ece96bb8f31bcae34e11549e7cc63
1,746
cpp
C++
341-flatten-nested-list-iterator/flatten-nested-list-iterator.cpp
amorphobia/Leetcode_solutions
f7b68a10bdad9aa42498ab36233b9b9c687dc860
[ "MIT" ]
null
null
null
341-flatten-nested-list-iterator/flatten-nested-list-iterator.cpp
amorphobia/Leetcode_solutions
f7b68a10bdad9aa42498ab36233b9b9c687dc860
[ "MIT" ]
null
null
null
341-flatten-nested-list-iterator/flatten-nested-list-iterator.cpp
amorphobia/Leetcode_solutions
f7b68a10bdad9aa42498ab36233b9b9c687dc860
[ "MIT" ]
null
null
null
/** * // This is the interface that allows for creating nested lists. * // You should not implement it, or speculate about its implementation * class NestedInteger { * public: * // Return true if this NestedInteger holds a single integer, rather than a nested list. * bool isInteger() const; * * //...
31.178571
95
0.624284
[ "object", "vector" ]
fe72e98b9bf5a41d004e3b4e7eb1116cb12d0601
3,805
cpp
C++
DesignPatterns/command/main.cpp
alexey-malov/modern-cpp-usage
e915578850c9cc7adbbccfe6eb1c63f69db4d7a6
[ "WTFPL" ]
1
2017-11-16T16:51:40.000Z
2017-11-16T16:51:40.000Z
DesignPatterns/command/main.cpp
alexey-malov/modern-cpp-usage
e915578850c9cc7adbbccfe6eb1c63f69db4d7a6
[ "WTFPL" ]
null
null
null
DesignPatterns/command/main.cpp
alexey-malov/modern-cpp-usage
e915578850c9cc7adbbccfe6eb1c63f69db4d7a6
[ "WTFPL" ]
null
null
null
#include "Commands.h" #include "Menu.h" #include "MenuFP.h" using namespace std; class MenuHelpCommand : public ICommand { public: MenuHelpCommand(const Menu& menu) : m_menu(menu) {} void Execute() override { m_menu.ShowInstructions(); } private: const Menu& m_menu; }; class ExitMenuCommand : public ICom...
32.801724
98
0.691196
[ "vector" ]
fe7416a4ee595eb474db1d707b7e9d8dfe439b61
15,541
cpp
C++
plugins/multiarc/ArcMix.cpp
data-man/FarAS
8bd1725cdd2aaee90081ae35c492738e0be470a3
[ "BSD-3-Clause" ]
1
2020-12-05T17:33:05.000Z
2020-12-05T17:33:05.000Z
plugins/multiarc/ArcMix.cpp
data-man/FarAS
8bd1725cdd2aaee90081ae35c492738e0be470a3
[ "BSD-3-Clause" ]
1
2021-02-23T13:01:10.000Z
2021-02-23T13:01:10.000Z
plugins/multiarc/ArcMix.cpp
data-man/FarAS
8bd1725cdd2aaee90081ae35c492738e0be470a3
[ "BSD-3-Clause" ]
null
null
null
#include "MultiArc.hpp" #include "marclng.hpp" #include <dos.h> BOOL FileExists(const char* Name) { return GetFileAttributes(Name)!=0xFFFFFFFF; } BOOL GoToFile(const char *Target, BOOL AllowChangeDir) { if(!Target || !*Target) return FALSE; BOOL rc=FALSE, search=TRUE; PanelRedrawInfo PRI; PanelInfo PIn...
23.726718
112
0.632713
[ "transform" ]
fe770213104990accafcda27a5cc5d34e99691a7
3,641
cpp
C++
test/unit/module/math/sin.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
test/unit/module/math/sin.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
test/unit/module/math/sin.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
49.876712
126
0.480912
[ "vector" ]
fe77b6171ca6ff287999f5245cd810d0db74ae20
1,546
hpp
C++
VVISF/include/VVISF_StringUtils.hpp
mrRay/VVISF-GL
96b00da11e4497da304041ea2a5ffc6e3a8c9454
[ "BSD-3-Clause" ]
24
2019-01-17T17:56:18.000Z
2022-02-27T19:57:13.000Z
VVISF/include/VVISF_StringUtils.hpp
mrRay/VVISF-GL
96b00da11e4497da304041ea2a5ffc6e3a8c9454
[ "BSD-3-Clause" ]
6
2019-01-17T17:17:12.000Z
2020-06-19T11:27:50.000Z
VVISF/include/VVISF_StringUtils.hpp
mrRay/VVISF-GL
96b00da11e4497da304041ea2a5ffc6e3a8c9454
[ "BSD-3-Clause" ]
2
2020-12-25T04:57:31.000Z
2021-03-02T22:05:31.000Z
#ifndef ISFStringUtils_hpp #define ISFStringUtils_hpp #include <string> #include <vector> #include <map> #include "VVISF_Base.hpp" namespace VVISF { struct ISFVal; //struct Range; // this function parses a std::string as a bool val, and returns either an ISFNullVal (if the std::string couldn't be decisivel...
33.608696
167
0.763907
[ "vector" ]
fe7907fc83c8018cf598f25f600e1bf7c4a5cdc7
4,279
cpp
C++
FTSE/AttributesTable.cpp
melindil/FTSE
c0b54194900ac45ce1ecc778d838a72d09278bab
[ "MIT" ]
3
2019-10-05T15:51:12.000Z
2021-01-08T21:58:48.000Z
FTSE/AttributesTable.cpp
melindil/FTSE
c0b54194900ac45ce1ecc778d838a72d09278bab
[ "MIT" ]
2
2021-06-04T13:42:16.000Z
2021-07-27T10:38:38.000Z
FTSE/AttributesTable.cpp
melindil/FTSE
c0b54194900ac45ce1ecc778d838a72d09278bab
[ "MIT" ]
2
2018-07-03T11:31:11.000Z
2021-06-16T21:05:38.000Z
/* MIT License Copyright (c) 2018 melindil 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, distr...
24.877907
95
0.688712
[ "vector" ]
fe7e529f7deda7539a8728976b2970e9435a1b83
2,186
hpp
C++
include/Interop/ComCastor3D/Castor3D/ComGeometry.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
include/Interop/ComCastor3D/Castor3D/ComGeometry.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
include/Interop/ComCastor3D/Castor3D/ComGeometry.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
/* See LICENSE file in root folder */ #ifndef __COMC3D_COM_GEOMETRY_H__ #define __COMC3D_COM_GEOMETRY_H__ #include "ComCastor3D/Castor3D/ComMesh.hpp" #include "ComCastor3D/Castor3D/ComSubmesh.hpp" #include <Castor3D/Scene/Geometry.hpp> namespace CastorCom { /*! \author Sylvain DOREMUS \version 0.7.0 \date 10/0...
30.361111
221
0.709058
[ "mesh", "geometry", "object" ]
fe811541d2658f816e87aeb698d2cfa64dcb15ab
2,078
cpp
C++
src/execs/update_exec.cpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
3
2021-06-24T01:05:42.000Z
2021-07-23T07:24:16.000Z
src/execs/update_exec.cpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
5
2021-06-25T00:13:51.000Z
2021-07-23T14:26:01.000Z
src/execs/update_exec.cpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
null
null
null
#include "execs/update_exec.hpp" UpdateExec::UpdateExec(ExecCtx& exec_ctx, ptr<UpdatePlan>&& plan, ptr<BaseExec>&& child) : BaseExec (exec_ctx), plan_ (move(plan)), child_ (move(child)) {} const QuerySchema& UpdateExec::schema() { return plan_->schema(); ...
24.447059
71
0.652069
[ "vector" ]
fe84283093c7bbb5e6d7690c165487bbcef18d38
668
cpp
C++
C++/1491.AverageSalaryExcludingTheMinimumAndMaximumSalary.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
C++/1491.AverageSalaryExcludingTheMinimumAndMaximumSalary.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
C++/1491.AverageSalaryExcludingTheMinimumAndMaximumSalary.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
class Solution { public: double average(vector<int>& salary) { int n=salary.size(); //changed long double -> double! double sum=0.0; //sorting the salary array in increasing order sort(begin(salary), end(salary)); //iterating from 2nd element till 2nd last element ...
26.72
103
0.568862
[ "vector" ]
fe88218b9b9d2f1587af47ba08d52c2d9d9416df
18,456
cpp
C++
src/getpy.cpp
ksob/getpy
8baa4e1062b94e5ea5a8f6fd07ff3fed98887550
[ "MIT" ]
1
2019-11-14T13:10:33.000Z
2019-11-14T13:10:33.000Z
src/getpy.cpp
ksob/getpy
8baa4e1062b94e5ea5a8f6fd07ff3fed98887550
[ "MIT" ]
null
null
null
src/getpy.cpp
ksob/getpy
8baa4e1062b94e5ea5a8f6fd07ff3fed98887550
[ "MIT" ]
2
2020-06-24T05:58:04.000Z
2020-08-03T21:22:53.000Z
#include <pybind11/pybind11.h> #include <pybind11/numpy.h> #include <pybind11/stl.h> namespace py = pybind11; #include <parallel_hashmap/phmap_utils.h> #include <parallel_hashmap/phmap.h> #include <cereal/archives/binary.hpp> #include <cereal/types/utility.hpp> #include <cereal/types/array.hpp> #include <cereal/types...
31.82069
133
0.588643
[ "shape", "vector" ]
fe885fc32bcfe24775a460c56bf3d288014510c7
1,228
cpp
C++
src/modules/block/models/generator_result.cpp
abelov-spirent/openperf
303b6b5534973ea145a8223a55ee7b65e7464e25
[ "Apache-2.0" ]
null
null
null
src/modules/block/models/generator_result.cpp
abelov-spirent/openperf
303b6b5534973ea145a8223a55ee7b65e7464e25
[ "Apache-2.0" ]
null
null
null
src/modules/block/models/generator_result.cpp
abelov-spirent/openperf
303b6b5534973ea145a8223a55ee7b65e7464e25
[ "Apache-2.0" ]
null
null
null
#include "generator_result.hpp" namespace openperf::block::model { std::string block_generator_result::get_id() const { return m_id; } void block_generator_result::set_id(std::string_view value) { m_id = value; } std::string block_generator_result::get_generator_id() const { return m_generator_id; } void block...
23.615385
80
0.78013
[ "model" ]
fe9309c68cf481d75133e6a0f469c9a6e4d9988e
2,333
cpp
C++
vc16/DeepLearning/Annealing.cpp
kiseonjeong/mll-v1.x
43c740c2d621e4b5d846f7ebf6ccd096b299147f
[ "MIT" ]
1
2020-07-05T16:46:19.000Z
2020-07-05T16:46:19.000Z
vc16/DeepLearning/Annealing.cpp
kiseonjeong/MachineLearning-v2.x
43c740c2d621e4b5d846f7ebf6ccd096b299147f
[ "MIT" ]
1
2020-09-28T16:01:35.000Z
2020-09-28T16:14:38.000Z
vc16/DeepLearning/Annealing.cpp
kiseonjeong/mll-v1.x
43c740c2d621e4b5d846f7ebf6ccd096b299147f
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Annealing.h" namespace mll { annealing::annealing() { // Set an object setObject(); } annealing::annealing(const int cycle, const double k, const antype type) { // Set an object setObject(); // Set the parameters set(cycle, k, type); } annealing::annealing(const anne...
18.664
80
0.600514
[ "object" ]
fe9470babbcc332519eaec16291a815f08e43059
2,708
cpp
C++
code/Specjalizacja kontenera/2011B-FileFolder.cpp
irmikrys/Cpp-Exam
35845c0d4e34192d98a6e4705ccef1b6fb3878c7
[ "MIT" ]
null
null
null
code/Specjalizacja kontenera/2011B-FileFolder.cpp
irmikrys/Cpp-Exam
35845c0d4e34192d98a6e4705ccef1b6fb3878c7
[ "MIT" ]
null
null
null
code/Specjalizacja kontenera/2011B-FileFolder.cpp
irmikrys/Cpp-Exam
35845c0d4e34192d98a6e4705ccef1b6fb3878c7
[ "MIT" ]
null
null
null
/*Klasa Folder zawiera dowolna sekwencje obiektow nalezacych do klas File lub Folder. Obiekty wystepuja w dowolnej * kolejnosci i sa roznych typow. Klasa Folder dziedziczy po File. Pliki i katalogi maja nazwe (tekst). Do przechowywa- * nia podobiektow w klasie Folder wykorzystaj wybrany kontener STL. * (a) zadekl...
29.434783
120
0.567947
[ "vector" ]
fe968b4b113c7dbb6a96a00f7b87c5299430dc4b
1,164
cpp
C++
SPTracer/src/SPTracer/Material/Material.cpp
bogoms/sptracer
3593f01c9d5ba040ba87b692e01e4282197e8e66
[ "MIT" ]
2
2018-05-11T10:50:08.000Z
2021-12-13T12:58:03.000Z
SPTracer/src/SPTracer/Material/Material.cpp
sbogomolov/sptracer
3593f01c9d5ba040ba87b692e01e4282197e8e66
[ "MIT" ]
1
2015-05-19T10:57:29.000Z
2015-05-19T10:57:29.000Z
SPTracer/src/SPTracer/Material/Material.cpp
sbogomolov/sptracer
3593f01c9d5ba040ba87b692e01e4282197e8e66
[ "MIT" ]
1
2016-07-30T09:23:51.000Z
2016-07-30T09:23:51.000Z
#include "../stdafx.h" #include "../Tracer/Intersection.h" #include "../Tracer/Ray.h" #include "../Util.h" #include "../Vec3.h" #include "Material.h" namespace SPTracer { void Material::GetNewRayDiffuse(const Ray& ray, const Intersection& intersection, Ray& newRay, std::vector<float>& reflectance) const { // NOTE...
31.459459
134
0.707045
[ "vector" ]
fe9830b8b50c3355f234adc5b9bb895ce6038ffb
5,486
hxx
C++
include/z5/factory.hxx
vharron/z5
ad0a925219f9adb8d58137951e364b866df2e1d7
[ "MIT" ]
null
null
null
include/z5/factory.hxx
vharron/z5
ad0a925219f9adb8d58137951e364b866df2e1d7
[ "MIT" ]
null
null
null
include/z5/factory.hxx
vharron/z5
ad0a925219f9adb8d58137951e364b866df2e1d7
[ "MIT" ]
null
null
null
#pragma once #include "z5/filesystem/factory.hxx" #ifdef WITH_S3 #include "z5/s3/factory.hxx" #endif #ifdef WITH_GCS #include "z5/gcs/factory.hxx" #endif namespace z5 { template<class GROUP> inline std::unique_ptr<Dataset> openDataset(const handle::Group<GROUP> & root, ...
29.336898
96
0.560518
[ "shape" ]
fe9c8bf3d5047062067daf2562e353cdd9db474e
28,969
cc
C++
L1Trigger/L1TMuonBayes/src/Omtf/XMLConfigWriter.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
L1Trigger/L1TMuonBayes/src/Omtf/XMLConfigWriter.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
L1Trigger/L1TMuonBayes/src/Omtf/XMLConfigWriter.cc
thesps/cmssw
ad5315934948ce96699b29cc1d5b03a59f99634f
[ "Apache-2.0" ]
null
null
null
#include <L1Trigger/L1TMuonBayes/interface/Omtf/AlgoMuon.h> #include <L1Trigger/L1TMuonBayes/interface/Omtf/GoldenPattern.h> #include <L1Trigger/L1TMuonBayes/interface/Omtf/GoldenPatternResult.h> #include <L1Trigger/L1TMuonBayes/interface/Omtf/GoldenPatternWithStat.h> #include "FWCore/Framework/interface/Event.h" #inc...
41.207681
199
0.653354
[ "vector" ]
feb60621a2812c8f99cc43dcda07890a082cf665
2,616
cpp
C++
tf2_src/game/shared/tf2/weapon_combat_grenade_emp.cpp
d3fc0n6/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
tf2_src/game/shared/tf2/weapon_combat_grenade_emp.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
null
null
null
tf2_src/game/shared/tf2/weapon_combat_grenade_emp.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: The Commando's anti-personnel grenades // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "Sprite.h" #include "basetfplayer_shared.h" #include "weap...
28.129032
125
0.652905
[ "vector" ]
feb940e8d3325156e2dd3e100aa210f766a89a95
8,826
hpp
C++
examples/CBuilder/Compound/ProdStruct/ProdStructClasses.hpp
LenakeTech/BoldForDelphi
3ef25517d5c92ebccc097c6bc2f2af62fc506c71
[ "MIT" ]
121
2020-09-22T10:46:20.000Z
2021-11-17T12:33:35.000Z
examples/CBuilder/Compound/ProdStruct/ProdStructClasses.hpp
LenakeTech/BoldForDelphi
3ef25517d5c92ebccc097c6bc2f2af62fc506c71
[ "MIT" ]
8
2020-09-23T12:32:23.000Z
2021-07-28T07:01:26.000Z
examples/CBuilder/Compound/ProdStruct/ProdStructClasses.hpp
LenakeTech/BoldForDelphi
3ef25517d5c92ebccc097c6bc2f2af62fc506c71
[ "MIT" ]
42
2020-09-22T14:37:20.000Z
2021-10-04T10:24:12.000Z
/*****************************************/ /* This file is autogenerated */ /* Any manual changes will be LOST! */ /*****************************************/ /* Generated 2002-01-02 16:01:16 */ /*****************************************/ /* This file should be stored in the */ /* same dire...
36.02449
129
0.773623
[ "model" ]
febb4c5a6a3fae242c67c8fdcd5250dd6c22849e
233,284
cc
C++
stack/btm/btm_sec.cc
digi-embedded/android_platform_system_bt
635ddc5671274697ecfc9d4d44881f23d73a4cd0
[ "Apache-2.0" ]
null
null
null
stack/btm/btm_sec.cc
digi-embedded/android_platform_system_bt
635ddc5671274697ecfc9d4d44881f23d73a4cd0
[ "Apache-2.0" ]
null
null
null
stack/btm/btm_sec.cc
digi-embedded/android_platform_system_bt
635ddc5671274697ecfc9d4d44881f23d73a4cd0
[ "Apache-2.0" ]
2
2019-05-30T08:37:28.000Z
2019-10-01T16:39:33.000Z
/****************************************************************************** * * Copyright (C) 1999-2012 Broadcom 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: * ...
38.112073
80
0.60669
[ "model" ]
febd3f4995f826313f65c00b36ae67cdf979814c
1,466
cpp
C++
227-Basic-Calculator-2/Basic-Calculator-2-2.cpp
xta0/LeetCode-Solutions
ab0de97b35fb54c24bcef0398a9d75bdac9ee8b2
[ "MIT" ]
4
2018-08-07T11:45:32.000Z
2019-05-19T08:52:19.000Z
227-Basic-Calculator-2/Basic-Calculator-2-2.cpp
xta0/LeetCode-Solutions
ab0de97b35fb54c24bcef0398a9d75bdac9ee8b2
[ "MIT" ]
null
null
null
227-Basic-Calculator-2/Basic-Calculator-2-2.cpp
xta0/LeetCode-Solutions
ab0de97b35fb54c24bcef0398a9d75bdac9ee8b2
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <stack> #include <queue> #include <map> #include <set> #include <unordered_set> #include <unordered_map> using namespace std; /* keep tracking of last sign 1. if c is digit, update the num 2. if c is '+/-', push num to stack */ class Solution { void h...
21.558824
53
0.43588
[ "vector" ]
febfb99ba3111d41b9108442c803431d34657be6
9,118
hpp
C++
metaprogrammed_polymorphism/polymorphic.hpp
google/cpp-from-the-sky-down
10c8d16e877796f2906bedbd3a66fb6469b3a211
[ "Apache-2.0" ]
219
2018-08-15T22:01:07.000Z
2022-03-23T11:46:54.000Z
metaprogrammed_polymorphism/polymorphic.hpp
sthagen/cpp-from-the-sky-down
72114a17a659e5919b4cbe3363e35c04f833d9d9
[ "Apache-2.0" ]
5
2018-09-11T06:15:28.000Z
2022-01-05T15:27:31.000Z
metaprogrammed_polymorphism/polymorphic.hpp
sthagen/cpp-from-the-sky-down
72114a17a659e5919b4cbe3363e35c04f833d9d9
[ "Apache-2.0" ]
27
2018-09-11T06:14:40.000Z
2022-03-20T09:46:14.000Z
// 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
36.326693
124
0.692038
[ "object" ]
fec1b1d01f7f80986d2630fb130654a864fa4508
1,906
cpp
C++
src/vw_common/test/actions_test.cpp
TomFinley/FeatureBroker
481a8f9a1a2e0980eee14d84f712ec3abf40ef0e
[ "MIT" ]
10
2020-03-17T00:35:54.000Z
2021-08-22T12:31:27.000Z
src/vw_common/test/actions_test.cpp
TomFinley/FeatureBroker
481a8f9a1a2e0980eee14d84f712ec3abf40ef0e
[ "MIT" ]
3
2020-03-17T17:25:15.000Z
2020-03-17T21:10:41.000Z
src/vw_common/test/actions_test.cpp
TomFinley/FeatureBroker
481a8f9a1a2e0980eee14d84f712ec3abf40ef0e
[ "MIT" ]
6
2020-03-13T15:39:03.000Z
2021-11-10T08:19:06.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include <gtest/gtest.h> #include <vw_common/actions.hpp> #include <vw_common/error.hpp> using namespace resonance_vw; namespace resonance_vw_test { TEST(vw_common, Actions) { auto result = Actions::Create(std::vector<int>{1, 2, 3, 4}); ...
34.654545
75
0.69255
[ "vector" ]
fec1d5bca1dd00d72ce37d549693860d036bd73c
991
cpp
C++
BOJ/1787. 문자열의 주기 예측.cpp
Jeongseo21/Algorithm-1
1bce4f3d2328c3b3e24b9d7772fca43090a285e1
[ "MIT" ]
null
null
null
BOJ/1787. 문자열의 주기 예측.cpp
Jeongseo21/Algorithm-1
1bce4f3d2328c3b3e24b9d7772fca43090a285e1
[ "MIT" ]
null
null
null
BOJ/1787. 문자열의 주기 예측.cpp
Jeongseo21/Algorithm-1
1bce4f3d2328c3b3e24b9d7772fca43090a285e1
[ "MIT" ]
null
null
null
/** * problem : https://www.acmicpc.net/problem/1787 * algorithm : KMP + DP * time complexity : O(N) */ #include <string> #include <algorithm> #include <vector> #include <iostream> #include <stack> #include <string.h> #define MAX 1e9 using namespace std; vector<int> dp; vector<int> pi; vector<int> makePi(strin...
16.516667
49
0.551968
[ "vector" ]
fec54dc1ad098f06a271843f77609a72772c2aef
18,495
cc
C++
RecoLocalCalo/EcalRecProducers/plugins/EcalRecHitProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2020-08-12T08:37:04.000Z
2020-08-12T08:37:04.000Z
RecoLocalCalo/EcalRecProducers/plugins/EcalRecHitProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
RecoLocalCalo/EcalRecProducers/plugins/EcalRecHitProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
/** \class EcalRecHitProducer * produce ECAL rechits from uncalibrated rechits * * \author Shahram Rahatlou, University of Rome & INFN, March 2006 * **/ #include "RecoLocalCalo/EcalRecProducers/plugins/EcalRecHitProducer.h" #include "RecoLocalCalo/EcalRecAlgos/interface/EcalCleaningAlgo.h" #include "DataFormats...
46.353383
181
0.60027
[ "vector" ]
fecc6039de8d0eb468fadc994df197fde7380f5d
1,034
cpp
C++
backup/2/codewars/c++/oring-arrays.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/codewars/c++/oring-arrays.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/codewars/c++/oring-arrays.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
49.238095
345
0.67118
[ "vector" ]
fed1a295ad79010708d58cb4ae4add2810addcc9
2,647
hpp
C++
IsometricEditor/Grid.hpp
NicksterSand/IsometricEditor
a422f103e5837631356f90c94eb39048824a32e5
[ "MIT" ]
null
null
null
IsometricEditor/Grid.hpp
NicksterSand/IsometricEditor
a422f103e5837631356f90c94eb39048824a32e5
[ "MIT" ]
null
null
null
IsometricEditor/Grid.hpp
NicksterSand/IsometricEditor
a422f103e5837631356f90c94eb39048824a32e5
[ "MIT" ]
null
null
null
#ifndef GRID_HPP #define GRID_HPP #include <vector> #include "Renderer.hpp" struct Pair { int x; int y; }; class Grid { public: Grid(int x, int y, int size, Color color, Renderer* render) { sizeX = x; sizeY = y; blockSize = size; gridColor = color; renderer = render; }; int sizeX; //Grid Pixel...
25.699029
98
0.539101
[ "render", "vector" ]
fed6e513b30842d7d2043ff8826663ff4e4c8bc3
1,389
cpp
C++
src/ast/operators/binaryOperators/binaryLogicalAnd.cpp
EthanSK/C-to-MIPS-Compiler
a736901053ec1a2ad009bf33f588b4ce5293317c
[ "MIT" ]
6
2019-05-21T09:42:10.000Z
2021-03-22T04:34:20.000Z
src/ast/operators/binaryOperators/binaryLogicalAnd.cpp
EthanSK/C-to-MIPS-Compiler
a736901053ec1a2ad009bf33f588b4ce5293317c
[ "MIT" ]
null
null
null
src/ast/operators/binaryOperators/binaryLogicalAnd.cpp
EthanSK/C-to-MIPS-Compiler
a736901053ec1a2ad009bf33f588b4ce5293317c
[ "MIT" ]
1
2019-06-25T22:35:24.000Z
2019-06-25T22:35:24.000Z
#include "binaryLogicalAnd.hpp" #include "lvalue.hpp" #include "utils.hpp" #include <sstream> void BinaryLogicalAnd::printC(std::ostream &os) const { os << "("; os << getLeft(); os << " && "; os << getRight(); os << ")"; } void BinaryLogicalAnd::generatePython(std::ostream &os, PythonContext &context, int scopeD...
29.553191
108
0.704824
[ "vector" ]
fed7df0296d8dd0904e10b1cf0f49b58dfb144a0
1,632
cpp
C++
test/bitio/bitio.cpp
kounoike/cpp-mp4
65703c1402242afcc1e4d822d9828e79f3dcec01
[ "Apache-2.0" ]
23
2020-12-29T07:17:30.000Z
2022-03-25T09:18:37.000Z
test/bitio/bitio.cpp
kounoike/cpp-mp4
65703c1402242afcc1e4d822d9828e79f3dcec01
[ "Apache-2.0" ]
2
2021-01-12T06:02:42.000Z
2021-05-19T01:44:22.000Z
test/bitio/bitio.cpp
kounoike/cpp-mp4
65703c1402242afcc1e4d822d9828e79f3dcec01
[ "Apache-2.0" ]
2
2021-05-04T02:15:17.000Z
2022-02-19T14:45:00.000Z
#include <algorithm> #include <cstdint> #include <iterator> #include <ostream> #include <string> #include <vector> #include <boost/test/unit_test.hpp> #include "shiguredo/mp4/bitio/bitio.hpp" #include "shiguredo/mp4/bitio/reader.hpp" BOOST_AUTO_TEST_SUITE(marshal) struct UnmarshalPascalStringTestCase { const std:...
25.5
93
0.558211
[ "vector" ]
fed80885a4775e926db01e52b3363d55c4e20a55
8,412
cpp
C++
src/initialization.cpp
RugessNome/libscript
e27b1dfeb5cd9eb7e59a6d16e182758a56fc0e4f
[ "MIT" ]
3
2020-12-28T01:40:45.000Z
2021-05-18T01:47:07.000Z
src/initialization.cpp
strandfield/libscript
5d413762ad8ce88ff887642f6947032017dd284c
[ "MIT" ]
4
2019-06-29T12:23:11.000Z
2020-07-25T15:38:46.000Z
src/initialization.cpp
RugessNome/libscript
e27b1dfeb5cd9eb7e59a6d16e182758a56fc0e4f
[ "MIT" ]
1
2021-11-17T01:49:42.000Z
2021-11-17T01:49:42.000Z
// Copyright (C) 2018 Vincent Chambrin // This file is part of the libscript library // For conditions of distribution and use, see copyright notice in LICENSE #include "script/initialization.h" #include "script/class.h" #include "script/engine.h" #include "script/templateargument.h" #include "script/typesystem.h" #...
27.048232
141
0.71505
[ "vector" ]
fed8c287404a8304a9bef0c2ea62e270eeb059d7
29,745
cpp
C++
core/variant_parser.cpp
KwesiDavis/godot
2cc60386d83d06e3b2005f0d2e3094eebfb9e382
[ "CC-BY-3.0", "MIT" ]
1
2020-06-13T05:57:51.000Z
2020-06-13T05:57:51.000Z
core/variant_parser.cpp
vision-kwest/godot-mirror
2cc60386d83d06e3b2005f0d2e3094eebfb9e382
[ "CC-BY-3.0", "MIT" ]
null
null
null
core/variant_parser.cpp
vision-kwest/godot-mirror
2cc60386d83d06e3b2005f0d2e3094eebfb9e382
[ "CC-BY-3.0", "MIT" ]
null
null
null
#include "variant_parser.h" #include "io/resource_loader.h" #include "os/keyboard.h" CharType VariantParser::StreamFile::get_char() { return f->get_8(); } bool VariantParser::StreamFile::is_utf8() const { return true; } bool VariantParser::StreamFile::is_eof() const { return f->eof_reached(); } //////////...
19.883021
169
0.610926
[ "object", "vector", "transform" ]
fedc12105ec43c51504f45f02f545b2bd0687b01
2,094
cpp
C++
examples/nn/4_NLP/5_sentiment_rnn_all.cpp
ilveroluca/eddl
02e37c0dfb674468495f4d0ae3c159de3b2d3cc0
[ "MIT" ]
null
null
null
examples/nn/4_NLP/5_sentiment_rnn_all.cpp
ilveroluca/eddl
02e37c0dfb674468495f4d0ae3c159de3b2d3cc0
[ "MIT" ]
null
null
null
examples/nn/4_NLP/5_sentiment_rnn_all.cpp
ilveroluca/eddl
02e37c0dfb674468495f4d0ae3c159de3b2d3cc0
[ "MIT" ]
null
null
null
/* * EDDL Library - European Distributed Deep Learning Library. * Version: 0.6 * copyright (c) 2020, Universidad Politécnica de Valencia (UPV), PRHLT Research Centre * Date: April 2020 * Author: PRHLT Research Centre, UPV, (rparedes@prhlt.upv.es), (jon@prhlt.upv.es) * All rights reserved */ #include <cstdio> #include ...
24.068966
86
0.606017
[ "shape", "model" ]
fedc1aef2c0e2deffc9c4d820a98471eb6eb074a
715
cpp
C++
G/Maximum_Time/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
3
2019-09-21T16:25:44.000Z
2021-08-29T20:43:57.000Z
G/Maximum_Time/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
null
null
null
G/Maximum_Time/main.cpp
camelboat/LeetCode_Archive
c29d263e068752a9ad355925f326b56f672bb584
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: string maximum_time(string s) { string answer; answer+= s[0]=='?' ? (s[1] > '3' && s[1] != '?' ? '1' : '2') : s[0]; answer+= s[1]=='?' ? (answer[0] == '2' ? '3' : '9') : s[1]; answer+=":"; a...
23.833333
76
0.446154
[ "vector" ]
fedf466bf79def67fe98c4823386ee2c834ea4ec
6,132
hxx
C++
examples/IFServer.hxx
kb1vc/SoDaRadio
0a41fa3d795b1c93795ad62ad17bf2de5f60a752
[ "BSD-2-Clause" ]
14
2017-10-27T16:01:05.000Z
2021-03-16T08:12:42.000Z
examples/IFServer.hxx
dd0vs/SoDaRadio
0a41fa3d795b1c93795ad62ad17bf2de5f60a752
[ "BSD-2-Clause" ]
11
2017-09-16T03:13:11.000Z
2020-12-11T09:11:35.000Z
examples/IFServer.hxx
dd0vs/SoDaRadio
0a41fa3d795b1c93795ad62ad17bf2de5f60a752
[ "BSD-2-Clause" ]
6
2017-09-13T12:47:43.000Z
2020-12-02T20:54:25.000Z
/* Copyright (c) 2020 Matthew H. Reilly (kb1vc) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditio...
35.04
82
0.717058
[ "object" ]
fee2f5a946245426e6caefced8e4b8bf5401c391
733
hpp
C++
Wisper/Plugins/CPP/Native/Native/Utilities/Utilities.hpp
yodiwo/plegma
a6fe7735783491fd45769c973d103aec036dde76
[ "Apache-2.0" ]
6
2016-04-25T17:02:31.000Z
2018-02-26T09:38:38.000Z
Wisper/Plugins/CPP/Native/Native/Utilities/Utilities.hpp
yodiwo/plegma
a6fe7735783491fd45769c973d103aec036dde76
[ "Apache-2.0" ]
null
null
null
Wisper/Plugins/CPP/Native/Native/Utilities/Utilities.hpp
yodiwo/plegma
a6fe7735783491fd45769c973d103aec036dde76
[ "Apache-2.0" ]
6
2016-04-25T17:02:36.000Z
2018-11-20T03:46:26.000Z
#pragma once #ifndef YODIWO_UTILITIES_HPP #define YODIWO_UTILITIES_HPP #include <set> #include <regex> #include <tuple> #include <regex> #include <cmath> #include <random> #include <vector> #include <cstdio> #include <thread> #include <fstream> #include <sstream> #include <iomanip> #include <cstring> #include <cstdar...
18.325
31
0.754434
[ "vector" ]
fee3825565818cd193b473ca5ea5fc45957e619b
913
cpp
C++
src/code/Library/ScanlineSequencer.cpp
1iyiwei/texture
eaa78c00666060ca0a51c69920031b367c265e7d
[ "MIT" ]
33
2017-04-13T18:32:42.000Z
2021-12-21T07:53:59.000Z
src/code/Library/ScanlineSequencer.cpp
1iyiwei/texture
eaa78c00666060ca0a51c69920031b367c265e7d
[ "MIT" ]
1
2021-09-24T07:21:03.000Z
2021-09-29T23:39:41.000Z
src/code/Library/ScanlineSequencer.cpp
1iyiwei/texture
eaa78c00666060ca0a51c69920031b367c265e7d
[ "MIT" ]
5
2017-04-12T17:46:03.000Z
2021-03-31T00:50:12.000Z
/* ScanlineSequencer.cpp Li-Yi Wei August 17, 2014 */ #include <algorithm> using namespace std; #include "ScanlineSequencer.hpp" #include "Utility.hpp" ScanlineSequencer::ScanlineSequencer(void): _over(true) { // nothing else to do } bool ScanlineSequencer::Reset(const Texture & target) { const int ...
17.226415
59
0.653888
[ "vector" ]
fee5cad035370b1efbc7fb5748884fbb982127c8
3,093
hpp
C++
Engine/Src/Runtime/RHI/Public/RHI/Pipeline/ShaderProgram.hpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
Engine/Src/Runtime/RHI/Public/RHI/Pipeline/ShaderProgram.hpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
Engine/Src/Runtime/RHI/Public/RHI/Pipeline/ShaderProgram.hpp
Septus10/Fade-Engine
285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6
[ "MIT" ]
null
null
null
#pragma once #include <RHI/RHIApi.hpp> #include <string> #include <unordered_map> #include <Core/Containers/Array.hpp> #include <Core/definitions.hpp> #include <Core/FileWatcher/FileWatcher.h> #include <Core/Math/Math.hpp> namespace Fade { inline namespace RHI { inline namespace Pipeline { namespace Constants { ...
30.323529
139
0.698998
[ "geometry" ]
fee7370d507b92f1725f75ca118e1b5d8867f957
15,572
cpp
C++
src/caffe/layers/data_layer.cpp
NEWPLAN/nvcaffe-0.17.3
7b8e4fdef8216d8497f6d71df465e881e47e009b
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/data_layer.cpp
NEWPLAN/nvcaffe-0.17.3
7b8e4fdef8216d8497f6d71df465e881e47e009b
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/data_layer.cpp
NEWPLAN/nvcaffe-0.17.3
7b8e4fdef8216d8497f6d71df465e881e47e009b
[ "BSD-2-Clause" ]
null
null
null
#include "caffe/data_transformer.hpp" #include "caffe/layer.hpp" #include "caffe/layers/data_layer.hpp" #include "caffe/parallel.hpp" namespace caffe { template <typename Ftype, typename Btype> DataLayer<Ftype, Btype>::DataLayer(const LayerParameter &param, size_t solver_rank) : BasePrefetchingDataLayer<Ftype, Bt...
38.449383
130
0.576548
[ "shape", "vector", "transform" ]
feecd9611ac9663fda0860df3c8b3d2618927170
2,558
cpp
C++
webkit/WebCore/html/CollectionCache.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/html/CollectionCache.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/html/CollectionCache.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your opt...
28.741573
86
0.712275
[ "vector" ]
feedbb31efa0a88ff26b37713045736f1ea80fca
9,291
cpp
C++
src/xrCDB/xrCDB_box.cpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
2
2015-02-23T10:43:02.000Z
2015-06-11T14:45:08.000Z
src/xrCDB/xrCDB_box.cpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
17
2022-01-25T08:58:23.000Z
2022-03-28T17:18:28.000Z
src/xrCDB/xrCDB_box.cpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
1
2015-06-05T20:04:00.000Z
2015-06-05T20:04:00.000Z
#include "stdafx.h" #pragma hdrstop #include "xrCDB.h" using namespace CDB; using namespace Opcode; //! This macro quickly finds the min & max values among 3 variables #define FINDMINMAX(x0, x1, x2, min, max)\ min = max = x0;\ if (x1 < min)\ min = x1;\ if (x1 > max)\ max = x1;\ if (x2...
27.651786
91
0.486169
[ "model" ]
feef4b791e85492f74c002a6b7c29339d355e629
11,151
cc
C++
src/cpsw_proto_mod_udp.cc
slaclab/cpsw
0b0410fb33af4904b51063b730d1743ec59fb73b
[ "BSD-3-Clause-LBNL" ]
1
2021-09-21T06:51:11.000Z
2021-09-21T06:51:11.000Z
src/cpsw_proto_mod_udp.cc
slaclab/cpsw
0b0410fb33af4904b51063b730d1743ec59fb73b
[ "BSD-3-Clause-LBNL" ]
1
2019-11-12T22:24:49.000Z
2019-11-12T22:24:49.000Z
src/cpsw_proto_mod_udp.cc
slaclab/cpsw
0b0410fb33af4904b51063b730d1743ec59fb73b
[ "BSD-3-Clause-LBNL" ]
3
2018-11-28T21:02:02.000Z
2020-12-13T00:09:34.000Z
//@C Copyright Notice //@C ================ //@C This file is part of CPSW. It is subject to the license terms in the LICENSE.txt //@C file found in the top-level directory of this distribution and at //@C https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. //@C //@C No part of CPSW, including this...
25.114865
152
0.653215
[ "vector" ]
fef10b9a328524fbc8cdb8ec8fa6f1dc9bcaf0ee
18,753
cpp
C++
artifact/storm/src/test/storm/builder/DdPrismModelBuilderTest.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/test/storm/builder/DdPrismModelBuilderTest.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/test/storm/builder/DdPrismModelBuilderTest.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "test/storm_gtest.h" #include "storm-config.h" #include "storm/settings/SettingMemento.h" #include "storm/settings/SettingsManager.h" #include "storm/settings/modules/BuildSettings.h" #include "storm/storage/SymbolicModelDescription.h" #include "storm/models/symbolic/Dtmc.h" #include "storm/models/symbolic/Ctm...
58.23913
167
0.726284
[ "model" ]
fef487d9fff64e68f0aa668003e99d590bdaec7d
1,367
cpp
C++
130. Surrounded Regions.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
130. Surrounded Regions.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
130. Surrounded Regions.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
class Solution { public: void solve(vector<vector<char>>& board) { if(board.empty()) return; int m = board.size(), n = board[0].size(); vector<vector<int>>visited(m, vector<int>(n, 0)); for(int i = 0; i < m; i++) for(int j = 0; j < n; j++){ if(visited[i][j...
39.057143
100
0.452816
[ "vector" ]
679684e261ac31ac5b9ecc8a2bdc2dee5c964bf3
10,149
cc
C++
chrome/browser/local_discovery/privetv3_session_unittest.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/local_discovery/privetv3_session_unittest.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/local_discovery/privetv3_session_unittest.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-04-04T13:34:56.000Z
2020-11-04T07:17:52.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/local_discovery/privetv3_session.h" #include "base/base64.h" #include "base/strings/stringprintf.h" #include "chrome/browser/loc...
39.034615
80
0.658291
[ "vector" ]
679a8d0f61d6db94388e814d27f76dfc3cd29952
1,111
hpp
C++
inference-engine/src/low_precision_transformations/include/low_precision/reduce_base_transformation.hpp
NikDemoShow/openvino
31907e51e96f1603753dc69811bdf738374ca5e6
[ "Apache-2.0" ]
1
2022-02-10T08:05:09.000Z
2022-02-10T08:05:09.000Z
inference-engine/src/low_precision_transformations/include/low_precision/reduce_base_transformation.hpp
NikDemoShow/openvino
31907e51e96f1603753dc69811bdf738374ca5e6
[ "Apache-2.0" ]
40
2020-12-04T07:46:57.000Z
2022-02-21T13:04:40.000Z
inference-engine/src/low_precision_transformations/include/low_precision/reduce_base_transformation.hpp
NikDemoShow/openvino
31907e51e96f1603753dc69811bdf738374ca5e6
[ "Apache-2.0" ]
3
2021-04-25T06:52:41.000Z
2021-05-07T02:01:44.000Z
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <ngraph/ngraph.hpp> #include "layer_transformation.hpp" namespace ngraph { namespace pass { namespace low_precision { /** * @brief ReduceBaseTransformation: base class for Reduce*Transformation ...
29.236842
109
0.771377
[ "transform" ]
679f436e7de105f935e7c435e43bd5bd8a2cf3a5
8,931
cc
C++
src/system/van.cc
wakensky/parameter_server
12f9e086ca637366fdf3a5e5292ad8234e2b214e
[ "Apache-2.0" ]
null
null
null
src/system/van.cc
wakensky/parameter_server
12f9e086ca637366fdf3a5e5292ad8234e2b214e
[ "Apache-2.0" ]
null
null
null
src/system/van.cc
wakensky/parameter_server
12f9e086ca637366fdf3a5e5292ad8234e2b214e
[ "Apache-2.0" ]
null
null
null
#include "system/van.h" #include <string.h> #include <zmq.h> #include "base/shared_array_inl.h" #include "util/local_machine.h" namespace PS { DEFINE_string(my_node, "role:SCHEDULER,hostname:'127.0.0.1',port:8000,id:'H'", "my node"); DEFINE_string(scheduler, "role:SCHEDULER,hostname:'127.0.0.1',port:8000,id:'H'", "th...
30.377551
103
0.625574
[ "vector" ]
67a88e9842d955eff583162f96b5335b8045929e
13,625
cpp
C++
nucleus/applications/bookmark_tools/js_marks_maker.cpp
fredhamster/feisty_meow
66dc4221dc485a5cf9e28b724fe36268e8843043
[ "Apache-2.0" ]
2
2019-01-22T23:34:37.000Z
2021-10-31T15:44:15.000Z
nucleus/applications/bookmark_tools/js_marks_maker.cpp
fredhamster/feisty_meow
66dc4221dc485a5cf9e28b724fe36268e8843043
[ "Apache-2.0" ]
2
2020-06-01T16:35:46.000Z
2021-10-05T21:02:09.000Z
nucleus/applications/bookmark_tools/js_marks_maker.cpp
fredhamster/feisty_meow
66dc4221dc485a5cf9e28b724fe36268e8843043
[ "Apache-2.0" ]
null
null
null
/*****************************************************************************\ * * * Name : marks_maker_javascript * * Author : Chris Koeritz * ...
39.152299
89
0.633174
[ "object" ]
67ac0437cbaf03281605abef9845c1804d44bba6
874
cpp
C++
sources/cards/creatures/blues/Zappies.cpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
1
2022-02-02T21:41:59.000Z
2022-02-02T21:41:59.000Z
sources/cards/creatures/blues/Zappies.cpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
null
null
null
sources/cards/creatures/blues/Zappies.cpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
2
2022-02-01T12:59:57.000Z
2022-03-05T12:50:27.000Z
#include "cards/creatures/blues/Zappies.hpp" Zappies::Zappies(): Creature(get_full_power(), get_full_toughness(), get_capacities()) {} Zappies::~Zappies() {} std::string Zappies::get_full_type() const { return Creature::get_full_type() + " - Machine"; } Card::Color Zappies::get_color() const { return Color::Blue;...
14.813559
89
0.684211
[ "vector" ]
67b13b4a8b1096f244cd2fcd332593b396f237c9
606
cc
C++
Codeforces/255 Division 2/Problem B/B.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/255 Division 2/Problem B/B.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/255 Division 2/Problem B/B.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<stdio.h> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<math.h> #define sd(x) scanf("%d",&x); #define sd2(x,y) scanf("%d%d",&x,&y); #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z); using namespace std; string s; in...
15.15
44
0.541254
[ "vector" ]
67bed3f3c1f1173a39846ef8a78556027954e493
16,773
cpp
C++
lightbar_manager/src/lightbar_manager/lightbar_manager_worker.cpp
adamlm/carma-platform
f6d46274cf6b6e14eddf8715b1a5204050d4c0e2
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
112
2020-04-27T17:06:46.000Z
2022-03-31T15:27:14.000Z
lightbar_manager/src/lightbar_manager/lightbar_manager_worker.cpp
adamlm/carma-platform
f6d46274cf6b6e14eddf8715b1a5204050d4c0e2
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
982
2020-04-17T11:28:04.000Z
2022-03-31T21:12:19.000Z
lightbar_manager/src/lightbar_manager/lightbar_manager_worker.cpp
adamlm/carma-platform
f6d46274cf6b6e14eddf8715b1a5204050d4c0e2
[ "Apache-2.0", "CC-BY-4.0", "MIT" ]
57
2020-05-07T15:48:11.000Z
2022-03-09T23:31:45.000Z
/* * Copyright (C) 2018-2021 LEIDOS. * * 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...
42.356061
167
0.624873
[ "vector" ]
67c37fc405da104ea86312f13f04817c22a802e5
5,334
cpp
C++
src/InjectImageIntrinsics.cpp
trgardos/Halide
3d895bcf7c9b6632dda6445c218ed2361b698584
[ "MIT" ]
null
null
null
src/InjectImageIntrinsics.cpp
trgardos/Halide
3d895bcf7c9b6632dda6445c218ed2361b698584
[ "MIT" ]
null
null
null
src/InjectImageIntrinsics.cpp
trgardos/Halide
3d895bcf7c9b6632dda6445c218ed2361b698584
[ "MIT" ]
null
null
null
#include "InjectImageIntrinsics.h" #include "IRMutator.h" #include "IROperator.h" #include "CodeGen_GPU_Dev.h" #include "Substitute.h" #include "FuseGPUThreadLoops.h" namespace Halide { namespace Internal { using std::string; using std::vector; class InjectImageIntrinsics : public IRMutator { public: InjectImage...
33.759494
87
0.542182
[ "vector" ]
67c38445e518cc2f371b5a740e1d9ceafdae0aae
11,237
cpp
C++
quantitative_finance/L2/tests/CPICapFloorEngine/host/main.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
1
2021-09-11T01:05:01.000Z
2021-09-11T01:05:01.000Z
quantitative_finance/L2/tests/CPICapFloorEngine/host/main.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
null
null
null
quantitative_finance/L2/tests/CPICapFloorEngine/host/main.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
null
null
null
/* * 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...
39.847518
120
0.541337
[ "vector" ]
67c925f15fa97d8fab6981e316b4de1614fc2ea4
2,423
cpp
C++
aws-cpp-sdk-mediaconnect/source/model/Maintenance.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-mediaconnect/source/model/Maintenance.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-mediaconnect/source/model/Maintenance.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "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/mediaconnect/model/Maintenance.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { name...
22.858491
109
0.768469
[ "model" ]
67c9b25a2ce5057da1fd09f8f2f41c1dc73937c0
4,356
hpp
C++
include/System/Data/DataRowCollection_DataRowTree.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Data/DataRowCollection_DataRowTree.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Data/DataRowCollection_DataRowTree.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Data.DataRowCollection #incl...
58.864865
250
0.746556
[ "vector" ]
67ce00861c7d26d69dc003fde0d96cc331fd73b2
13,849
cpp
C++
dragoncello.cpp
sscerr/DRAGONCELLO
1dfa2a9bf4d6359d5a9257c10f9adf825edd4594
[ "MIT" ]
5
2020-11-25T22:05:46.000Z
2021-02-25T07:12:12.000Z
dragoncello.cpp
sscerr/DRAGONCELLO
1dfa2a9bf4d6359d5a9257c10f9adf825edd4594
[ "MIT" ]
null
null
null
dragoncello.cpp
sscerr/DRAGONCELLO
1dfa2a9bf4d6359d5a9257c10f9adf825edd4594
[ "MIT" ]
1
2020-11-26T02:21:41.000Z
2020-11-26T02:21:41.000Z
#include "dragoncello.h" #include <string> #include <cmath> using namespace std; using namespace DRAGON; DRAGONCELLO::DRAGONCELLO(int Z_, int A_) : Z(Z_), A(A_), species_id(1000 * Z + A) { cout << "I am the constructor " << endl; } void DRAGONCELLO::initGrids(void) { cout << "Creating grids..." << endl; b...
34.027027
170
0.518305
[ "shape", "vector", "model", "3d" ]
67cf06485419b5b3962a8a59799a5878d3da14c5
2,600
hpp
C++
mpc/kmpc_casadi/casadi_windows/include/casadi/core/external.hpp
se-hwan/MIT_Driverless
7674b29887ba518c134cfba805432f9c98f92270
[ "MIT" ]
29
2020-05-11T16:59:10.000Z
2022-02-24T11:30:16.000Z
mpc/kmpc_casadi/casadi_windows/include/casadi/core/external.hpp
se-hwan/MIT_Driverless
7674b29887ba518c134cfba805432f9c98f92270
[ "MIT" ]
1
2021-02-04T04:20:55.000Z
2021-02-28T20:47:02.000Z
mpc/kmpc_casadi/casadi_windows/include/casadi/core/external.hpp
se-hwan/MIT_Driverless
7674b29887ba518c134cfba805432f9c98f92270
[ "MIT" ]
10
2020-06-22T22:41:32.000Z
2021-12-15T12:26:13.000Z
/* * This file is part of CasADi. * * CasADi -- A symbolic framework for dynamic optimization. * Copyright (C) 2010-2014 Joel Andersson, Joris Gillis, Moritz Diehl, * K.U. Leuven. All rights reserved. * Copyright (C) 2011-2014 Greg Horn * * CasADi is free software; you ...
39.393939
95
0.649231
[ "object" ]
67d03df54f23f3c86ccbfc8b4bbd36b94ad617f8
36,676
cpp
C++
Tools/SceneCommon/SceneTools.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
15
2019-05-07T11:26:13.000Z
2022-01-12T18:26:45.000Z
Tools/SceneCommon/SceneTools.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
16
2021-10-04T17:15:31.000Z
2022-03-20T09:34:29.000Z
Tools/SceneCommon/SceneTools.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
2
2019-04-28T23:27:48.000Z
2019-05-07T11:26:18.000Z
#include <SceneTools.h> #include <Logging.h> #include <Utils.h> #include <ParamsUtils.h> #include <meshoptimizer.h> #include <acl/core/ansi_allocator.h> #include <acl/core/unique_ptr.h> #include <acl/algorithm/uniformly_sampled/encoder.h> #include <IL/il.h> #include <LinearMath/btConvexHullComputer.h> #include <regex> ...
37.046465
186
0.695605
[ "mesh", "shape", "vector", "transform" ]
67d224c66710d32a4e5b8229f10fc9627490c8bb
24,614
cpp
C++
src/libs/vk_utils/vk_utils/context.cpp
VladislavKhudziakov/renderer
af7b204c084cfe72ebf329228c88e42d70cb7a1e
[ "MIT" ]
null
null
null
src/libs/vk_utils/vk_utils/context.cpp
VladislavKhudziakov/renderer
af7b204c084cfe72ebf329228c88e42d70cb7a1e
[ "MIT" ]
null
null
null
src/libs/vk_utils/vk_utils/context.cpp
VladislavKhudziakov/renderer
af7b204c084cfe72ebf329228c88e42d70cb7a1e
[ "MIT" ]
null
null
null
#include "context.hpp" #include <logger/log.hpp> #include <cstdio> #include <cstring> #include <algorithm> namespace { template<typename... LogArgs> void log(const char* fmt, LogArgs&&... args) { constexpr const char* ignore[]{ "vmaFlushAllocation"}; for (const auto* ignored...
37.578626
237
0.687211
[ "vector" ]
67e119715fe5c64b8e4ccd355ce73efa8ac72543
693
cpp
C++
Arrays/largest_number.cpp
zerocod3r/InterviewQuestions
347383a405c4eac63552ab18e9a9104e4703db38
[ "MIT" ]
1
2017-11-18T17:02:32.000Z
2017-11-18T17:02:32.000Z
Arrays/largest_number.cpp
zerocod3r/InterviewQuestions
347383a405c4eac63552ab18e9a9104e4703db38
[ "MIT" ]
null
null
null
Arrays/largest_number.cpp
zerocod3r/InterviewQuestions
347383a405c4eac63552ab18e9a9104e4703db38
[ "MIT" ]
2
2017-08-25T08:42:34.000Z
2019-02-18T08:42:48.000Z
// Given a list of non negative integers, arrange them such that they form the largest number. int firstDigit(int n) { while (n >= 10) n /= 10; return n; } bool compare(int a, int b){ if(firstDigit(a) > firstDigit(b)) return 1; else if(firstDigit(a) == firstDigit(b)) return...
23.896552
118
0.559885
[ "vector" ]
67e806391ea32f56da5c755c78f6b4636e9f1c65
37,997
hxx
C++
Components/Metrics/StatisticalShapePenalty/itkStatisticalShapePointPenalty.hxx
ViktorvdValk/elastix
5671dca8c8f0818cb46f18919092f1f52c65096e
[ "Apache-2.0" ]
null
null
null
Components/Metrics/StatisticalShapePenalty/itkStatisticalShapePointPenalty.hxx
ViktorvdValk/elastix
5671dca8c8f0818cb46f18919092f1f52c65096e
[ "Apache-2.0" ]
null
null
null
Components/Metrics/StatisticalShapePenalty/itkStatisticalShapePointPenalty.hxx
ViktorvdValk/elastix
5671dca8c8f0818cb46f18919092f1f52c65096e
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright UMC Utrecht and contributors * * 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 * * h...
37.583581
120
0.658394
[ "mesh", "shape", "vector", "transform" ]
67ed6af6066062d05187c2e69d8f20146c82b35f
5,869
cc
C++
skiko/src/jvmMain/cpp/windows/drawlayer.cc
dector/skiko
549014105b6a0fc89d39161090f190499bb691ec
[ "Apache-2.0" ]
null
null
null
skiko/src/jvmMain/cpp/windows/drawlayer.cc
dector/skiko
549014105b6a0fc89d39161090f190499bb691ec
[ "Apache-2.0" ]
null
null
null
skiko/src/jvmMain/cpp/windows/drawlayer.cc
dector/skiko
549014105b6a0fc89d39161090f190499bb691ec
[ "Apache-2.0" ]
null
null
null
// drawcanvas.cpp : Defines the exported functions for the DLL application. #include <SDKDDKVer.h> #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <gl/GL.h> #include <jawt_md.h> #include <set> #include <Shellscalingapi.h> #include <stdio.h> #include <Wingdi.h> using namespace std; JavaVM *jvm = NULL; exter...
26.799087
111
0.581019
[ "object" ]
67faf0c658fd4ca6627408666879cf41d52b6934
9,260
cpp
C++
ui/copter3d.cpp
JeanCollas/Raspicop
d5460c2588914b129df2ce41939696af911974bc
[ "MIT" ]
null
null
null
ui/copter3d.cpp
JeanCollas/Raspicop
d5460c2588914b129df2ce41939696af911974bc
[ "MIT" ]
null
null
null
ui/copter3d.cpp
JeanCollas/Raspicop
d5460c2588914b129df2ce41939696af911974bc
[ "MIT" ]
null
null
null
// Raspicop@Jean Collas 2015-10-30 : config file, mainly hardware and clock configuration related // Code based on richardghirst/PiBits demo_3d example // modified to object-oriented C++ // remove internal MPU6050 reading // modified to allow external ypr values so that // the collecting data process is ...
26.763006
98
0.469222
[ "geometry", "object", "transform" ]
67fc407bd694bcd9f50d801642a681ff4f715688
49,280
cpp
C++
src/DrMaMP.cpp
zehuilu/DrMaMP-Distributed-Real-time-Multi-agent-Mission-Planning-Algorithm
894875ebddf7d1f6bbf7a47ce82f05d7be2bafdc
[ "Apache-2.0" ]
4
2022-02-22T05:12:18.000Z
2022-03-29T01:56:37.000Z
src/DrMaMP.cpp
zehuilu/DrMaMP-Distributed-Real-time-Multi-agent-Mission-Planning-Algorithm
894875ebddf7d1f6bbf7a47ce82f05d7be2bafdc
[ "Apache-2.0" ]
null
null
null
src/DrMaMP.cpp
zehuilu/DrMaMP-Distributed-Real-time-Multi-agent-Mission-Planning-Algorithm
894875ebddf7d1f6bbf7a47ce82f05d7be2bafdc
[ "Apache-2.0" ]
3
2022-02-23T03:14:56.000Z
2022-03-14T12:22:05.000Z
#include <iostream> #include <vector> #include <tuple> #include <array> #include <chrono> #include <cmath> #include <cstdlib> #include <math.h> #include <limits> #include <algorithm> #include <future> #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "../externals/Lazy-Theta-with-optimization-any-angle...
44.236984
221
0.656575
[ "vector", "model", "transform", "3d" ]
67ff496940e5ffe0a456ef81f77da0ea2e53b199
9,845
cc
C++
CondFormats/CastorObjects/src/CastorElectronicsMap.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CondFormats/CastorObjects/src/CastorElectronicsMap.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CondFormats/CastorObjects/src/CastorElectronicsMap.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/** \class CastorElectronicsMap \author Fedor Ratnikov (UMd) POOL object to store mapping for Castor channels $Author: ratnikov $Date: 2008/01/22 18:58:47 $ $Revision: 1.23 $ Adapted for CASTOR by L. Mundim */ #include <iostream> #include <set> #include "CondFormats/CastorObjects/interface/CastorElectronicsMap.h" #i...
37.011278
120
0.693448
[ "object", "vector" ]
db05e28e2abdcac2306b843fdfd0b11f9b799d74
9,145
hpp
C++
subversion/bindings/javahl/native/jniwrapper/jni_string_map.hpp
saurabhacellere/subversion
6e7a18e22d4d4cbfad917e18b784adf1912aa67f
[ "Apache-2.0" ]
3
2017-01-03T03:20:56.000Z
2018-12-24T22:05:09.000Z
subversion/bindings/javahl/native/jniwrapper/jni_string_map.hpp
saurabhacellere/subversion
6e7a18e22d4d4cbfad917e18b784adf1912aa67f
[ "Apache-2.0" ]
3
2016-06-12T17:02:25.000Z
2019-02-03T11:08:18.000Z
subversion/bindings/javahl/native/jniwrapper/jni_string_map.hpp
saurabhacellere/subversion
6e7a18e22d4d4cbfad917e18b784adf1912aa67f
[ "Apache-2.0" ]
3
2017-01-21T00:15:13.000Z
2020-11-04T07:23:50.000Z
/** * @copyright * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ...
23.753247
78
0.631493
[ "object" ]
db05f085959b8627713ce968937f19028df7734c
381
cpp
C++
abc/abc213/b.cpp
takanori536/atcoder
9e10e5e09b39e064e14f03688c7cdddf6c13b505
[ "CC0-1.0" ]
null
null
null
abc/abc213/b.cpp
takanori536/atcoder
9e10e5e09b39e064e14f03688c7cdddf6c13b505
[ "CC0-1.0" ]
null
null
null
abc/abc213/b.cpp
takanori536/atcoder
9e10e5e09b39e064e14f03688c7cdddf6c13b505
[ "CC0-1.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #include <atcoder/all> using namespace atcoder; #define rep(i, n) for (int i = 0; i < (n); i++) using ll = long long; int main() { int n; cin >> n; vector<pair<int, int>> a(n); rep (i, n) cin >> a[i].first, a[i].second = i + 1; sort(a.rbegin(),...
19.05
47
0.538058
[ "vector" ]
db0e282458c89ff0286dd116035eaea32f9d7899
2,063
cpp
C++
stack/stackArr.cpp
1aman1/DS-implementations
35301dcb5e7642d32e06e01f2d70f3188806c995
[ "MIT" ]
3
2019-06-22T07:22:57.000Z
2021-05-06T10:34:02.000Z
stack/stackArr.cpp
1aman1/DS-implementations
35301dcb5e7642d32e06e01f2d70f3188806c995
[ "MIT" ]
1
2019-06-21T07:39:33.000Z
2019-06-21T07:39:33.000Z
stack/stackArr.cpp
1aman1/DS-implementations
35301dcb5e7642d32e06e01f2d70f3188806c995
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define SIZE 5 using namespace std; class _stack{ public: int capacity; int top; int* stackArr; }; void __function__(string p, string q ){ cout << setw(19)<< left << p << "\t\t[ " << q << " ]\n"; } _stack* createStack() { _stack* object = new _stack; if( !object ){ __f...
20.22549
63
0.60349
[ "object" ]
db1487d18b6c73a0eced15953d617cb6ac0787d6
886
cpp
C++
src/Tools/Converter/StdVector.cpp
NaokiTakahashi12/OpenHumanoidController
ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d
[ "MIT" ]
1
2019-09-23T06:21:47.000Z
2019-09-23T06:21:47.000Z
src/Tools/Converter/StdVector.cpp
NaokiTakahashi12/hc-early
ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d
[ "MIT" ]
12
2019-07-30T00:17:09.000Z
2019-12-09T23:00:43.000Z
src/Tools/Converter/StdVector.cpp
NaokiTakahashi12/OpenHumanoidController
ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d
[ "MIT" ]
null
null
null
/** * * @file ConvertStdVector.cpp * **/ #include <Eigen/Geometry> #include "StdVector.hpp" namespace Tools { namespace Converter { namespace StdVector { template <> Eigen::Matrix<int, Eigen::Dynamic, 1> to_vector(std::vector<int> &vector_stl) { return Eigen::Map<Eigen::Matrix<int, Eigen::Dynam...
26.848485
129
0.668172
[ "geometry", "vector" ]
db15b8d3ccb6c5433131dbe02a5bd27f016d961e
8,764
cpp
C++
main.cpp
openbmc/phosphor-pid-control
457993f836338aa0c13a32af803fcbc5227c81f3
[ "Apache-2.0" ]
9
2018-09-19T10:26:53.000Z
2020-11-09T23:02:16.000Z
main.cpp
openbmc/phosphor-pid-control
457993f836338aa0c13a32af803fcbc5227c81f3
[ "Apache-2.0" ]
17
2018-08-13T10:34:26.000Z
2022-02-08T02:24:12.000Z
main.cpp
openbmc/phosphor-pid-control
457993f836338aa0c13a32af803fcbc5227c81f3
[ "Apache-2.0" ]
9
2019-03-23T03:08:32.000Z
2021-04-25T03:39:34.000Z
/** * Copyright 2017 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 to...
29.311037
80
0.629507
[ "vector" ]
db1bb967c619ebfde15f32065de2186035ab3f7b
10,828
cpp
C++
Tests/DiligentCoreAPITest/src/CopyTextureTest.cpp
dtcxzyw/DiligentCore
e3891d4936956bb6228f1e949ea57810ab7cb08c
[ "Apache-2.0" ]
15
2021-07-03T17:20:50.000Z
2022-03-20T23:39:09.000Z
Tests/DiligentCoreAPITest/src/CopyTextureTest.cpp
dtcxzyw/DiligentCore
e3891d4936956bb6228f1e949ea57810ab7cb08c
[ "Apache-2.0" ]
1
2021-08-09T15:10:17.000Z
2021-09-30T06:47:04.000Z
Tests/DiligentCoreAPITest/src/CopyTextureTest.cpp
dtcxzyw/DiligentCore
e3891d4936956bb6228f1e949ea57810ab7cb08c
[ "Apache-2.0" ]
9
2021-07-21T10:53:59.000Z
2022-03-03T10:27:33.000Z
/* * Copyright 2019-2020 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/LICENS...
38.261484
164
0.635574
[ "vector" ]
db1f54d621b5fa75955aa6b6e277fa60bbeff66b
3,997
cpp
C++
Uranus/src/Uranus/Scene/Scene.cpp
zaka7024/Uranus
948312ae5b39c92b4f0c415afc39ca2b4ae636f0
[ "Apache-2.0" ]
4
2020-12-11T13:32:06.000Z
2021-01-05T16:10:21.000Z
Uranus/src/Uranus/Scene/Scene.cpp
zaka7024/Uranus
948312ae5b39c92b4f0c415afc39ca2b4ae636f0
[ "Apache-2.0" ]
null
null
null
Uranus/src/Uranus/Scene/Scene.cpp
zaka7024/Uranus
948312ae5b39c92b4f0c415afc39ca2b4ae636f0
[ "Apache-2.0" ]
null
null
null
#include "urpch.h" #include "Scene.h" #include "Components.h" #include "Uranus/Renderer/Renderer2D.h" #include "Uranus/Audio/AudioPlayer.h" #include "Entity.h" #include <glm/glm.hpp> namespace Uranus { Scene::Scene() { } Scene::~Scene() { } void Scene::OnUpdateRuntime(Timestep ts) { // Update And Cr...
24.078313
106
0.714536
[ "render", "transform" ]
db22d0d7fbee3ff1c820451ef51d8ee50499e0a0
46,729
hpp
C++
WhateverGreen/kern_igfx.hpp
RV-ABZ/WhateverGreen
8ebb2716c6efa24ad8088166f1b4c768a2f73130
[ "BSD-3-Clause" ]
1
2020-08-02T02:11:30.000Z
2020-08-02T02:11:30.000Z
WhateverGreen/kern_igfx.hpp
RV-ABZ/WhateverGreen
8ebb2716c6efa24ad8088166f1b4c768a2f73130
[ "BSD-3-Clause" ]
null
null
null
WhateverGreen/kern_igfx.hpp
RV-ABZ/WhateverGreen
8ebb2716c6efa24ad8088166f1b4c768a2f73130
[ "BSD-3-Clause" ]
null
null
null
// // kern_igfx.hpp // WhateverGreen // // Copyright © 2018 vit9696. All rights reserved. // #ifndef kern_igfx_hpp #define kern_igfx_hpp #include "kern_fb.hpp" #include <Headers/kern_patcher.hpp> #include <Headers/kern_devinfo.hpp> #include <Headers/kern_cpu.hpp> #include <Library/LegacyIOService.h> class IGFX {...
31.403898
191
0.710415
[ "transform" ]
db2d133e3f32a4d7e2b5cfb6f08f03964ccaf621
2,440
cpp
C++
lucida/djinntonic/dig/test/DIGClient.cpp
extremenelson/sirius
0bad428bb763fe404d01db5d9e08ee33a8f3776c
[ "BSD-3-Clause" ]
1,808
2015-12-23T09:38:57.000Z
2022-03-24T05:55:03.000Z
lucida/djinntonic/dig/test/DIGClient.cpp
extremenelson/sirius
0bad428bb763fe404d01db5d9e08ee33a8f3776c
[ "BSD-3-Clause" ]
164
2015-12-22T17:32:16.000Z
2022-01-30T16:19:28.000Z
lucida/djinntonic/dig/test/DIGClient.cpp
mrinformatics/lucida1604
f17fba20be9765c3464437f40e97278bba29b9d5
[ "BSD-3-Clause" ]
554
2015-12-23T11:29:34.000Z
2022-02-08T05:31:49.000Z
#include <cstdlib> #include <iostream> #include <unistd.h> #include <gflags/gflags.h> #include <iostream> #include <vector> #include <fstream> #include <sstream> #include <iomanip> #include <string> #include <folly/futures/Future.h> #include "gen-cpp2/LucidaService.h" #include <thrift/lib/cpp2/async/HeaderClientChann...
27.727273
74
0.696311
[ "vector" ]