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
ceca5cb9744b63143c53b45e30cb5688f81de012
3,518
cpp
C++
src/FusionEKF.cpp
Shubhranshu153/EKF
e2fe73b246b524b16f34648a9dd2a39081ad8db4
[ "MIT" ]
null
null
null
src/FusionEKF.cpp
Shubhranshu153/EKF
e2fe73b246b524b16f34648a9dd2a39081ad8db4
[ "MIT" ]
null
null
null
src/FusionEKF.cpp
Shubhranshu153/EKF
e2fe73b246b524b16f34648a9dd2a39081ad8db4
[ "MIT" ]
null
null
null
#include "FusionEKF.h" #include <iostream> #include "Eigen/Dense" #include "tools.h" using Eigen::MatrixXd; using Eigen::VectorXd; using std::cout; using std::endl; using std::vector; /** * Constructor. */ FusionEKF::FusionEKF() { is_initialized_ = false; // initializing matrices R_laser_ = MatrixXd(2, 2)...
22.696774
160
0.587265
[ "vector" ]
cecf10467b515b45e6dbd2386931b3d6a2587e06
1,353
cpp
C++
codeforces/1208b.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
codeforces/1208b.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
codeforces/1208b.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; template <typename T=int> struct Compress { map<T, int> id; vector<T> num; inline int get_id(T x) { if (!id.count(x)) { id[x] = num.size(); num.emplace_back(x); } return id[x]; } inline int get_num(int i...
20.5
54
0.405765
[ "vector" ]
cee13fe7b8805d1914d0ee003c81fe65cc19db68
2,856
hpp
C++
tests/program_options.hpp
LinerSu/crab
8f3516f4b4765f4a093bb3c3a94ac2daa174130c
[ "Apache-2.0" ]
152
2016-02-28T06:04:02.000Z
2022-03-30T10:44:56.000Z
tests/program_options.hpp
LinerSu/crab
8f3516f4b4765f4a093bb3c3a94ac2daa174130c
[ "Apache-2.0" ]
43
2017-07-03T06:25:19.000Z
2022-03-23T21:09:32.000Z
tests/program_options.hpp
LinerSu/crab
8f3516f4b4765f4a093bb3c3a94ac2daa174130c
[ "Apache-2.0" ]
28
2015-11-22T15:51:52.000Z
2022-01-30T00:46:57.000Z
#pragma once #include <boost/program_options.hpp> #include <crab/support/debug.hpp> #include <crab/support/stats.hpp> #include <crab/domains/abstract_domain_params.hpp> #include <iostream> namespace crab_tests { int parse_user_options(int argc, char **argv, bool &stats_enabled) { boost::program_options::options_d...
35.7
92
0.646359
[ "vector" ]
ceec701de45f39f7ba9bdfcb0fa49e349626790b
637
cpp
C++
OddOccurencesInArray/C++/OddOccurencesInArray.cpp
ArturMarekNowak/Random-Algorithms-Repository
bda0e18bed68d3ab1b61b445e693a5c3c03a1179
[ "MIT" ]
1
2022-02-12T14:57:48.000Z
2022-02-12T14:57:48.000Z
OddOccurencesInArray/C++/OddOccurencesInArray.cpp
ArturMarekNowak/Random-Algorithms-Repository
bda0e18bed68d3ab1b61b445e693a5c3c03a1179
[ "MIT" ]
null
null
null
OddOccurencesInArray/C++/OddOccurencesInArray.cpp
ArturMarekNowak/Random-Algorithms-Repository
bda0e18bed68d3ab1b61b445e693a5c3c03a1179
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> template <typename T> T OddOccurencesInsomeVecrray(std::vector<T> & someVec) { sort(someVec.begin(), someVec.end()); if(someVec.size() % 2 == 0) { for(int i = 0; i < someVec.size() - 2; i += 2) if(someVec[i] != someVec[i + 1]) return someVec[i]; ...
18.735294
62
0.594976
[ "vector" ]
ceed834f3f06044fa419e5e7340c51a8891f87e6
45,329
cpp
C++
cpp-restsdk/api/WlmApi.cpp
thracesystems/powermeter-api
7bdab034ff916ee49e986de88f157bd044e981c1
[ "Apache-2.0" ]
null
null
null
cpp-restsdk/api/WlmApi.cpp
thracesystems/powermeter-api
7bdab034ff916ee49e986de88f157bd044e981c1
[ "Apache-2.0" ]
null
null
null
cpp-restsdk/api/WlmApi.cpp
thracesystems/powermeter-api
7bdab034ff916ee49e986de88f157bd044e981c1
[ "Apache-2.0" ]
null
null
null
/** * PowerMeter API * API * * The version of the OpenAPI document: 2021.4.1 * * NOTE: This class is auto generated by OpenAPI-Generator 4.3.1. * https://openapi-generator.tech * Do not edit the class manually. */ #include "WlmApi.h" #include "IHttpBody.h" #include "JsonBody.h" #include "MultipartFormData.h"...
45.926039
221
0.694699
[ "vector", "model" ]
cef02c54b1de1b40502475709941f0e427363526
12,192
cpp
C++
TEST/test_is.cpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
1
2021-03-29T06:09:19.000Z
2021-03-29T06:09:19.000Z
TEST/test_is.cpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
null
null
null
TEST/test_is.cpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
null
null
null
/* ** Author: Samuel R. Blackburn ** Internet: wfc@pobox.com ** ** Copyright, 2000-2016, Samuel R. Blackburn ** ** "You can get credit for something or get it done, but not both." ** Dr. Richard Garwin ** ** BSD License follows. ** ** Redistribution and use in source and binary forms, with or without ** modification, a...
32.168865
183
0.689304
[ "vector" ]
300236c2e16d5e57d1e1303275973619154f0650
4,940
cpp
C++
test/test_obj_parser.cpp
chellmuth/gpu-motunui
1369c98408c4c59bfddff45ae00281f6463527ec
[ "MIT" ]
139
2020-10-05T16:33:28.000Z
2022-03-30T06:48:29.000Z
test/test_obj_parser.cpp
chellmuth/gpu-motunui
1369c98408c4c59bfddff45ae00281f6463527ec
[ "MIT" ]
1
2020-10-20T15:40:21.000Z
2020-10-21T16:36:17.000Z
test/test_obj_parser.cpp
chellmuth/gpu-motunui
1369c98408c4c59bfddff45ae00281f6463527ec
[ "MIT" ]
5
2020-10-20T13:52:31.000Z
2021-09-27T13:19:20.000Z
#include <memory> #include <sstream> #include <string> #include <vector> #include <catch2/catch.hpp> #include <moana/parsers/obj_parser.hpp> using namespace moana; static std::string obj1 = R"( g default v 0 1 2 v 3 4 5 v 6 7 8 v 9 10 11 vn 12 13 14 vn 15 16 17 vn 18 19 20 vn 20 21 22 s 1 g mesh_name usemtl custom_...
20.843882
64
0.554251
[ "vector" ]
30098d92c6ad58840778bb3fce5127aba1e443b4
3,758
cc
C++
tf_adapter/kernels/aicore/npu_mixed_precesion_ops.cc
fujingguo/tf_adapter_npu
96e796fca0359b984a8504f920844ae572b5d30e
[ "Apache-2.0" ]
null
null
null
tf_adapter/kernels/aicore/npu_mixed_precesion_ops.cc
fujingguo/tf_adapter_npu
96e796fca0359b984a8504f920844ae572b5d30e
[ "Apache-2.0" ]
null
null
null
tf_adapter/kernels/aicore/npu_mixed_precesion_ops.cc
fujingguo/tf_adapter_npu
96e796fca0359b984a8504f920844ae572b5d30e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Huawei Technologies Co., Ltd. 2019-2020. 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 * * Un...
38.346939
107
0.749601
[ "shape" ]
30148487fff3ae4d7cfb96d2974a4f3befaac935
853
cpp
C++
celebrity_problem.cpp
ujjaldas1997/Competitive-programming
f8526161b3b14056633ec290b0c65ba762e8552e
[ "MIT" ]
null
null
null
celebrity_problem.cpp
ujjaldas1997/Competitive-programming
f8526161b3b14056633ec290b0c65ba762e8552e
[ "MIT" ]
null
null
null
celebrity_problem.cpp
ujjaldas1997/Competitive-programming
f8526161b3b14056633ec290b0c65ba762e8552e
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int getId(vector<vector<int>> M) { //Your code here int n = M.size(); if (n == 1) return -1; int i = 0, C = 1; while (i < n and C < n) { if (M[i][C]) i = max (C + 1, i + 1); else C = max (C + 1, i + 1); ...
23.054054
46
0.321219
[ "vector" ]
3018c3c05247f51a6206219e944a74b720183abe
39,799
cpp
C++
src/module_functions.cpp
Robo-Wunderkind/RoboWunderkinduino
09a01b6e417b6a8196fe152c592bf13c227d909b
[ "Apache-2.0" ]
3
2022-02-08T18:38:03.000Z
2022-02-08T19:53:01.000Z
src/module_functions.cpp
Robo-Wunderkind/RoboWunduino
09a01b6e417b6a8196fe152c592bf13c227d909b
[ "Apache-2.0" ]
null
null
null
src/module_functions.cpp
Robo-Wunderkind/RoboWunduino
09a01b6e417b6a8196fe152c592bf13c227d909b
[ "Apache-2.0" ]
null
null
null
/* * modules.c * ---------- GENERAL DESCRIPTION: ---------- * * set module parameters, read modules sensorvalues, set/reset actions and triggers. */ #include "i2c_bus.h" #include "module_handler.h" #include "module_functions.h" static uint8_t matrix_data_string[33]; static uint8_t matrix_string_add = 0; b...
29.634401
181
0.666399
[ "object" ]
301dfb722500f8c7e42e44d8fa04c81cf642ff46
10,476
cpp
C++
apps/pagerank/pagerankapp.cpp
Lcrypto/graphlab
4e525282d1c093bb8ad38e8941b87c86d6ad7ded
[ "BSD-3-Clause" ]
26
2016-04-18T19:14:39.000Z
2022-01-22T16:40:22.000Z
apps/pagerank/pagerankapp.cpp
Lcrypto/graphlab
4e525282d1c093bb8ad38e8941b87c86d6ad7ded
[ "BSD-3-Clause" ]
null
null
null
apps/pagerank/pagerankapp.cpp
Lcrypto/graphlab
4e525282d1c093bb8ad38e8941b87c86d6ad7ded
[ "BSD-3-Clause" ]
21
2015-07-08T03:00:37.000Z
2021-07-27T00:22:23.000Z
/* * \author akyrola */ #include <cmath> #include <cstdio> #include <iostream> #include <fstream> #include <sstream> #include <algorithm> #include <graphlab.hpp> #include "pagerankapp.hpp" #include <graphlab/macros_def.hpp> using namespace graphlab; size_t memory_writes = 0; size_t memory_reads = 0; #define ...
28.622951
111
0.622089
[ "vector" ]
301f49934b66ba9bcf588225c2d4cb19e9b1b95f
15,827
cpp
C++
src/nanoforth_asm.cpp
chochain/nanoFORTH
bdda77f602cf6d5da5e91466e4c36048a06ea809
[ "MIT" ]
3
2021-07-10T02:12:46.000Z
2022-03-05T18:36:43.000Z
src/nanoforth_asm.cpp
chochain/nanoFORTH
bdda77f602cf6d5da5e91466e4c36048a06ea809
[ "MIT" ]
null
null
null
src/nanoforth_asm.cpp
chochain/nanoFORTH
bdda77f602cf6d5da5e91466e4c36048a06ea809
[ "MIT" ]
null
null
null
/** * @file nanoforth_asm.cpp * @brief nanoForth Assmebler implementation * * ####Assembler Memory Map: * * @code * mem[...dic_sz...[...stk_sz...] * | | * +-dic--> <--rp-+ * @endcode */ #include "nanoforth_asm.h" #if ARDUINO #include <EEPROM.h> #endif //ARDUI...
34.036559
110
0.463512
[ "object" ]
3022625e270c29996f49b0c0a2b7d38a3002500c
8,352
cpp
C++
turtlebot3_autorace_camera/src/nodelet/projection_nodelet.cpp
ygjukim/turtlebot3_autorace
1b945c087d0e8874ad8c8ec54791ff3a6b482fa7
[ "Apache-2.0" ]
null
null
null
turtlebot3_autorace_camera/src/nodelet/projection_nodelet.cpp
ygjukim/turtlebot3_autorace
1b945c087d0e8874ad8c8ec54791ff3a6b482fa7
[ "Apache-2.0" ]
null
null
null
turtlebot3_autorace_camera/src/nodelet/projection_nodelet.cpp
ygjukim/turtlebot3_autorace
1b945c087d0e8874ad8c8ec54791ff3a6b482fa7
[ "Apache-2.0" ]
null
null
null
#include <boost/version.hpp> #if ((BOOST_VERSION / 100) % 1000) >= 53 #include <boost/thread/lock_guard.hpp> #endif #include <ros/ros.h> #include <nodelet/nodelet.h> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/calib3d/calib3d.hp...
40.153846
137
0.694325
[ "vector", "transform" ]
3022c68d6ce5752b2ec542375bc34b6d2fb540f5
45,146
cpp
C++
src/ddgi.cpp
rohankumardubey/HybridRendering
509f768cddb705afd26a639e3440240357b6b009
[ "MIT" ]
224
2020-04-20T03:42:54.000Z
2022-01-04T16:08:48.000Z
src/ddgi.cpp
rohankumardubey/HybridRendering
509f768cddb705afd26a639e3440240357b6b009
[ "MIT" ]
7
2020-02-17T10:33:15.000Z
2021-12-09T21:58:16.000Z
src/ddgi.cpp
rohankumardubey/HybridRendering
509f768cddb705afd26a639e3440240357b6b009
[ "MIT" ]
13
2020-07-03T13:39:52.000Z
2021-12-11T08:50:42.000Z
#include "ddgi.h" #include "utilities.h" #include "g_buffer.h" #include <stdexcept> #include <logger.h> #include <profiler.h> #include <imgui.h> #include <macros.h> #include <gtc/quaternion.hpp> #define _USE_MATH_DEFINES #include <math.h> // -----------------------------------------------------------------------------...
43.746124
305
0.651287
[ "render", "vector" ]
302303ab5426b4051bed49bec06bdeaa6e4ded5b
24,799
cc
C++
nflogdata.cc
ryancdotorg/python-nflogr
fbb2623ac310180c700c94b1f4a2dfcefa7ed683
[ "MIT" ]
1
2021-08-07T23:33:34.000Z
2021-08-07T23:33:34.000Z
nflogdata.cc
ryancdotorg/python-nflogr
fbb2623ac310180c700c94b1f4a2dfcefa7ed683
[ "MIT" ]
null
null
null
nflogdata.cc
ryancdotorg/python-nflogr
fbb2623ac310180c700c94b1f4a2dfcefa7ed683
[ "MIT" ]
null
null
null
/* Copyright 2021 Ryan Castellucci, MIT License */ #include <Python.h> #include <pytime.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <unistd.h> #include <endian.h> #include <netinet/in.h> #include <net/if.h> extern "C" { #include <libnetfilter_log/libnetfilter_log.h> #include <libnfnetlink/...
29.628435
94
0.600387
[ "object" ]
3023152b9ed4cfa8787c043b5396162888d03407
10,403
cpp
C++
libgputk/gputkSolution.cpp
xlmentx/Parallel-Computing
0785f18afaabd5daf2efd89607f643845a07b3c0
[ "MIT" ]
null
null
null
libgputk/gputkSolution.cpp
xlmentx/Parallel-Computing
0785f18afaabd5daf2efd89607f643845a07b3c0
[ "MIT" ]
null
null
null
libgputk/gputkSolution.cpp
xlmentx/Parallel-Computing
0785f18afaabd5daf2efd89607f643845a07b3c0
[ "MIT" ]
null
null
null
#include "gputk.h" char *solutionJSON = nullptr; static string _solution_correctQ(""); static void _onUnsameImageFunction(string str) { _solution_correctQ = str; } template <typename T> static gpuTKBool gpuTKSolution_listCorrectQ(const char *expectedOutputFile, gpuTKSolution_...
36.121528
91
0.624531
[ "object", "vector" ]
302359217e363bdb8aefe9abbab3a58f12bf2e13
2,122
cpp
C++
gearoenix/dx11/buffer/gx-dx11-buf-mesh.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/dx11/buffer/gx-dx11-buf-mesh.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/dx11/buffer/gx-dx11-buf-mesh.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#include "gx-dx11-buf-mesh.hpp" #ifdef GX_USE_DIRECTX11 #include "../../core/gx-cr-static.hpp" #include "../../system/gx-sys-log.hpp" #include "../../system/stream/gx-sys-stm-stream.hpp" #include "../dx11-check.hpp" #include "../dx11-engine.hpp" gearoenix::dx11::buffer::Mesh::Mesh( unsigned int vec, system::stream...
31.671642
75
0.656927
[ "mesh", "render", "vector" ]
6f79e0a52ab04b9fb24dfef39065d2ab9149aabe
21,720
cpp
C++
Microsoft/SAMPLES/xrt/xrtobj32/xrtobj32.cpp
tig/Tigger
8e06d117a5b520c5fc9e37a710bf17aa51a9958c
[ "MIT", "Unlicense" ]
1
2021-08-02T01:36:43.000Z
2021-08-02T01:36:43.000Z
Microsoft/SAMPLES/xrt/xrtobj32/xrtobj32.cpp
mdileep/Tigger
8e06d117a5b520c5fc9e37a710bf17aa51a9958c
[ "MIT", "Unlicense" ]
null
null
null
Microsoft/SAMPLES/xrt/xrtobj32/xrtobj32.cpp
mdileep/Tigger
8e06d117a5b520c5fc9e37a710bf17aa51a9958c
[ "MIT", "Unlicense" ]
1
2022-01-04T21:13:01.000Z
2022-01-04T21:13:01.000Z
// xrtobj32.cpp // // This is the WinMain module for a WOSA/XRT compliant Data Object. // // Copyright (c) 1993 Microsoft Corporation, All Rights Reserved. // // Charlie Kindel, Program Manager // Microsoft Vertical Developer Relations // October 29, 1993 // // Internet : ckindel@microsoft.com // CompuSer...
30.808511
115
0.548895
[ "object" ]
6f80ef6fa7f263549ca7f989512585a9e31d15a7
4,005
cpp
C++
function.cpp
fabsgc/gestnotes
61e8ff8a42e9f5954a57489f7103937f5ce36863
[ "MIT" ]
null
null
null
function.cpp
fabsgc/gestnotes
61e8ff8a42e9f5954a57489f7103937f5ce36863
[ "MIT" ]
null
null
null
function.cpp
fabsgc/gestnotes
61e8ff8a42e9f5954a57489f7103937f5ce36863
[ "MIT" ]
null
null
null
/*\ | ------------------------------------------------------ | @file : function.cpp | @author : Fabien Beaujean, Luc Lorentz | @description : Petite bibliothèque de fonctions souvent utilisées dans l'application | ------------------------------------------------------ \*/ #include "function.hpp" std::vector<std:...
18.981043
87
0.52035
[ "vector", "transform" ]
6f89e667307d0b103fbcaa2d95b8c63aea0b2e21
5,937
cpp
C++
pcl__/outofcore/src/visualization/camera.cpp
avinfinity/UnmanagedCodeSnippets
2bd848db88d7b271209ad30017c8f62307319be3
[ "MIT" ]
2
2019-04-10T14:04:52.000Z
2019-05-29T03:41:58.000Z
software/SLAM/ygz_slam_ros/Thirdparty/PCL/outofcore/src/visualization/camera.cpp
glider54321/GAAS
5c3b8c684e72fdf7f62c5731a260021e741069e7
[ "BSD-3-Clause" ]
null
null
null
software/SLAM/ygz_slam_ros/Thirdparty/PCL/outofcore/src/visualization/camera.cpp
glider54321/GAAS
5c3b8c684e72fdf7f62c5731a260021e741069e7
[ "BSD-3-Clause" ]
1
2021-12-20T06:54:41.000Z
2021-12-20T06:54:41.000Z
// C++ #include <iostream> #include <string> // PCL - visualziation #include <pcl/visualization/common/common.h> // PCL - outofcore #include <pcl/outofcore/visualization/camera.h> #include <pcl/outofcore/visualization/object.h> // VTK #include <vtkActor.h> #include <vtkCamera.h> #include <vtkCameraActor.h> #include ...
30.761658
138
0.626411
[ "render", "object", "vector" ]
6f94059037cd12b59c9ae1ef4070bda725b3ea05
1,203
cpp
C++
lightoj/1111 - Best Picnic Ever dfs bfs .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
1
2021-11-22T02:26:43.000Z
2021-11-22T02:26:43.000Z
lightoj/1111 - Best Picnic Ever dfs bfs .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
lightoj/1111 - Best Picnic Ever dfs bfs .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; int kk[111], vis[1011], cnt[1011]; vector<int> conn [1011]; int t, n, m ,k, u, v; void dfs(int u, int col) { int len = conn[u].size(); vis[u] = col; cnt[u]++; for(int i=0; i<len; i++) { if(vis[ conn[u][...
16.708333
53
0.389027
[ "vector" ]
6fa55d1d4de8f773eaf24f5c459ec6c6c6828593
5,067
cpp
C++
test/Grammar_test.cpp
piller-imre/exprail-fltk
361615996922a53a2c19c6593afb57263e1a42b0
[ "MIT" ]
null
null
null
test/Grammar_test.cpp
piller-imre/exprail-fltk
361615996922a53a2c19c6593afb57263e1a42b0
[ "MIT" ]
null
null
null
test/Grammar_test.cpp
piller-imre/exprail-fltk
361615996922a53a2c19c6593afb57263e1a42b0
[ "MIT" ]
null
null
null
#include "Grammar.h" #include <gtest/gtest.h> TEST(Grammar_test, EmptyGrammar) { Grammar grammar; std::vector<std::string> expressionOrder = grammar.getExpressionOrder(); ASSERT_EQ(expressionOrder.size(), 0); } TEST(Grammar_test, SingleExpressionGrammar) { Grammar grammar; grammar.addExpression("...
32.902597
76
0.696467
[ "vector" ]
6facf83907af7ac46063af5a5ca41ff30dd95b76
2,929
cpp
C++
VS2019_CV411/KinectV2_OpenCVdetect3/KinectV2/main.cpp
YoshihisaNitta/NtKinect
9a70d3a57573caeb759467f1d112da9ad0850ce2
[ "MIT" ]
21
2017-10-20T20:25:39.000Z
2021-05-11T03:06:30.000Z
VS2019_CV411/KinectV2_OpenCVdetect3/KinectV2/main.cpp
YoshihisaNitta/NtKinect
9a70d3a57573caeb759467f1d112da9ad0850ce2
[ "MIT" ]
2
2019-08-26T07:17:22.000Z
2021-11-30T07:33:57.000Z
VS2019_CV411/KinectV2_OpenCVdetect3/KinectV2/main.cpp
YoshihisaNitta/NtKinect
9a70d3a57573caeb759467f1d112da9ad0850ce2
[ "MIT" ]
8
2017-10-06T19:04:42.000Z
2021-04-02T11:06:38.000Z
/* * Copyright (c) 2016-2019 Yoshihisa Nitta * Released under the MIT license * http://opensource.org/licenses/mit-license.php */ /* http://nw.tsuda.ac.jp/lec/kinect2/ */ #include <iostream> #include <sstream> #include "NtKinect.h" using namespace std; void doJob() { NtKinect kinect; string ...
37.551282
111
0.637078
[ "vector" ]
6fb0022f21b60ae2942284fc535d1911e46fb1e0
982
cc
C++
leetcode/leetcode_241.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_241.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_241.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
#include <vector> #include <string> #include <iostream> using namespace std; vector<int> diffWaysToCompute(string input) { vector<int> res; for (int i = 0; i < input.size(); ++i) { char op = input[i]; if (input[i] == '+' || input[i] == '-' || input[i] == '*') { auto left = diffWaysToCompute(input.substr(0, i)...
19.64
62
0.520367
[ "vector" ]
6fb8b52c1b5f6c2d33abae3cf8e813926c340b31
20,887
cpp
C++
tests/main.cpp
nekipelov/cborcpp
8d9d289cd855d80c2d9c9bb97fa1c8e3c59a0a92
[ "MIT" ]
2
2015-01-11T01:22:10.000Z
2020-03-12T12:36:16.000Z
tests/main.cpp
nekipelov/cborcpp
8d9d289cd855d80c2d9c9bb97fa1c8e3c59a0a92
[ "MIT" ]
null
null
null
tests/main.cpp
nekipelov/cborcpp
8d9d289cd855d80c2d9c9bb97fa1c8e3c59a0a92
[ "MIT" ]
2
2015-12-26T05:24:09.000Z
2020-03-12T12:36:17.000Z
#define BOOST_TEST_MAIN #define BOOST_TEST_DYN_LINK #include <stdio.h> #include <boost/test/unit_test.hpp> #include <math.h> #include "../src/cborcpp.h" #include "../src/cborvalue.h" template<size_t N> std::vector<char> toVector(const char (&ptr)[N]) { if( N > 1 ) return std::vector<char>(ptr, ptr + N -...
42.539715
128
0.550007
[ "vector" ]
6fc3c828ee522281726f50afeb83b972ed0b137c
4,367
cpp
C++
src/FusionUKF.cpp
mkleung-dev/CarND-Extended-Kalman-Filter-Project
37db986ee91985ccc926fc02ca852c4337373750
[ "MIT" ]
null
null
null
src/FusionUKF.cpp
mkleung-dev/CarND-Extended-Kalman-Filter-Project
37db986ee91985ccc926fc02ca852c4337373750
[ "MIT" ]
null
null
null
src/FusionUKF.cpp
mkleung-dev/CarND-Extended-Kalman-Filter-Project
37db986ee91985ccc926fc02ca852c4337373750
[ "MIT" ]
null
null
null
#include "FusionUKF.h" #include <iostream> #include "Eigen/Dense" #include "tools.h" using Eigen::MatrixXd; using Eigen::VectorXd; using std::cout; using std::endl; using std::vector; /** * Constructor. */ FusionUKF::FusionUKF(bool bUseLaser, bool bUseRadar) : FusionKF(bUseLaser, bUseRadar) { // initializing matr...
25.538012
100
0.592627
[ "vector" ]
6fc3e0564dd9a19f6c62b7919c4508192e0faa2d
5,896
hpp
C++
include/core/Reference.hpp
skimmy/lib-bio
221d97f3aa37a3d276c21ade7c83d1aba4558c89
[ "Apache-2.0" ]
null
null
null
include/core/Reference.hpp
skimmy/lib-bio
221d97f3aa37a3d276c21ade7c83d1aba4558c89
[ "Apache-2.0" ]
1
2015-10-06T13:03:30.000Z
2015-10-06T13:03:30.000Z
include/core/Reference.hpp
skimmy/lib-bio
221d97f3aa37a3d276c21ade7c83d1aba4558c89
[ "Apache-2.0" ]
2
2015-11-05T11:20:06.000Z
2019-04-04T14:26:44.000Z
#ifndef REFERENCE_H #define REFERENCE_H #include <core/Sequence.h> #include <core/KMer.hpp> #include <memory> #include <cstring> #include <list> /** * \brief This class represents a \e refernce sequence from the * genomic point of view. * * References are genomic sequence (and therefore this class is * of Seque...
33.691429
82
0.637212
[ "object" ]
6fd537b2be9c753982badfab0671203d9da56711
1,026
hpp
C++
source/qt_creator_plugin/editor_widget.hpp
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
45
2016-06-21T22:28:43.000Z
2022-03-26T12:21:46.000Z
source/qt_creator_plugin/editor_widget.hpp
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
6
2020-07-12T18:00:10.000Z
2021-11-30T11:20:14.000Z
source/qt_creator_plugin/editor_widget.hpp
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
5
2019-09-03T17:20:34.000Z
2022-01-30T15:10:21.000Z
#pragma once #include <QComboBox> #include <QTimer> #include <QTreeView> #include <plugins/texteditor/texteditor.h> #include "program_model.hpp" #include "outline_widget_model.hpp" namespace U { namespace QtCreatorPlugin { class OutlineTreeViewComboBox : public QComboBox { Q_OBJECT public: explicit OutlineTreeV...
17.389831
69
0.783626
[ "object" ]
6fd98ec75b5fc7d232fe4285932b42877a724823
606
cpp
C++
Interface/PowerCycles.cpp
AcubeSAT/rtb-software
906425dea139d454bdee731a62a47d9d8602f744
[ "MIT" ]
null
null
null
Interface/PowerCycles.cpp
AcubeSAT/rtb-software
906425dea139d454bdee731a62a47d9d8602f744
[ "MIT" ]
null
null
null
Interface/PowerCycles.cpp
AcubeSAT/rtb-software
906425dea139d454bdee731a62a47d9d8602f744
[ "MIT" ]
null
null
null
#include "PowerCycles.h" #include "Clock.h" #include "main.h" void PowerCycles::logPowerCycle(const std::string &state) { { const std::lock_guard lock(timeLogMutex); timeLog.push_back(Event { currentDatetimeMilliseconds().str(), formatDuration(std::chrono::millisecon...
28.857143
93
0.585809
[ "vector" ]
6ff1b6f59aa933c79dc69de326838fc40c60be33
23,602
cpp
C++
src/movingobject.cpp
yds12/agl2
1cdaee9363792f8a79eb6a97e429999909110637
[ "MIT" ]
null
null
null
src/movingobject.cpp
yds12/agl2
1cdaee9363792f8a79eb6a97e429999909110637
[ "MIT" ]
null
null
null
src/movingobject.cpp
yds12/agl2
1cdaee9363792f8a79eb6a97e429999909110637
[ "MIT" ]
null
null
null
#include "agl/movingobject.h" void AGL::MovingObject::move(AGL::Vector2 &constantSpeed, vector<AGL::IPhysicalObject*> &obstacles, bool modifySpeed) { // calcula posição final Vector2 finalPosition = *position + constantSpeed; float xVar = finalPosition.x - position->x; float yVar = finalPosition.y - position->y; ...
26.790011
178
0.605627
[ "vector", "solid" ]
b501d3295a82a71544373b23cbbc4ddf6a088f18
4,576
cpp
C++
src/analysis/processing/qgsalgorithmreverselinedirection.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/analysis/processing/qgsalgorithmreverselinedirection.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/analysis/processing/qgsalgorithmreverselinedirection.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsalgorithmreverselinedirection.cpp ------------------------------------ begin : July 2018 copyright : (C) 2018 by Nyall Dawson email : nya...
34.406015
136
0.605551
[ "geometry", "vector" ]
b50733a2302e45e8d240713e5a537fc620061cfe
7,196
cpp
C++
Shared/HoloLensForCV/DeviceReceiver.cpp
nicolas-schreiber/HoloLensForCV
5aff81c7d9f7e208bac76cb54cb977b8e3b96d57
[ "MIT" ]
5
2020-03-20T12:10:54.000Z
2022-03-07T10:33:16.000Z
Shared/HoloLensForCV/DeviceReceiver.cpp
nicolas-schreiber/HoloLensForCV
5aff81c7d9f7e208bac76cb54cb977b8e3b96d57
[ "MIT" ]
null
null
null
Shared/HoloLensForCV/DeviceReceiver.cpp
nicolas-schreiber/HoloLensForCV
5aff81c7d9f7e208bac76cb54cb977b8e3b96d57
[ "MIT" ]
6
2020-05-20T16:53:38.000Z
2022-03-07T10:32:57.000Z
#include "pch.h" #include "DeviceReceiver.h" using namespace Windows::Foundation::Collections; namespace HoloLensForCV { DeviceReceiver::DeviceReceiver( _In_ Windows::Networking::Sockets::StreamSocket^ streamSocket) : _streamSocket(streamSocket) { _reader = ref new Windows::Storage::Streams::DataRe...
30.491525
164
0.697749
[ "object", "vector" ]
b51217d56609cd54d761049decc083e14b7858be
730
cpp
C++
AtCoder/arc021/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/arc021/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/arc021/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int dx[] = {-1, 0, 1, 0}, dy[] = {0, -1, 0, 1}; int main() { vector<vector<int>> v(4, vector<int>(4, 0)); for (int i = 0; i < 4; i++) for (int j = 0; j < 4; j++) cin >> v[i][j]; for (int i = 0; i < 4; i++) { ...
30.416667
75
0.365753
[ "vector" ]
b514f84e34de5e2379c08d7088b30975520104e5
12,080
cpp
C++
user/duo.cpp
techno-cat/logue-user-osc-duo
058ae44c5bf9b37323cabcff1119451088e35992
[ "MIT" ]
2
2020-05-13T14:32:24.000Z
2020-10-07T18:46:43.000Z
user/duo.cpp
techno-cat/logue-user-osc-duo
058ae44c5bf9b37323cabcff1119451088e35992
[ "MIT" ]
null
null
null
user/duo.cpp
techno-cat/logue-user-osc-duo
058ae44c5bf9b37323cabcff1119451088e35992
[ "MIT" ]
1
2020-05-13T14:32:26.000Z
2020-05-13T14:32:26.000Z
/* Copyright 2019 Tomoaki Itoh This software is released under the MIT License, see LICENSE.txt. //*/ #include "userosc.h" #include "LCWPitchTable.h" #include "LCWAntiAliasingTable.h" #include "LCWOscWaveSource.h" #include "LCWClipCurveTable.h" #define LCW_OSC_TIMER_BITS (LCW_PITCH_DELTA_VALUE_BITS) #define LCW_OSC_T...
36.059701
113
0.621772
[ "shape" ]
dde79e32f388ae81c711eb419aa47aa00f72c07e
4,713
cc
C++
src/Validation/listSingletonMates.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-03-20T18:25:56.000Z
2020-06-02T22:00:08.000Z
src/Validation/listSingletonMates.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
5
2015-05-14T17:51:20.000Z
2020-07-19T04:17:47.000Z
src/Validation/listSingletonMates.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-05-17T16:01:23.000Z
2020-05-20T08:13:43.000Z
#include "foundation_AMOS.hh" #include <iostream> #include <cassert> #include <unistd.h> #include <map> #include <cmath> #include "DataStore.hh" #include "Insert.hh" #include "InsertStats.hh" using namespace std; using namespace AMOS; typedef HASHMAP::hash_map<ID_t, Tile_t *> SeqTileMap_t; int FRAGMENTSTRLEN = 3; i...
22.990244
92
0.520475
[ "vector" ]
ddebe76ef4a5952803a48d87e97a74779915224c
53,294
cpp
C++
sdl1/cannonball/src/main/engine/oferrari.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/cannonball/src/main/engine/oferrari.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/cannonball/src/main/engine/oferrari.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
/*************************************************************************** Ferrari Rendering & Handling Code. Much of the handling code is very messy. As such, the translated code isn't great as I tried to focus on accuracy rather than refactoring. A good example of the randomness is a r...
29.7068
135
0.540943
[ "object" ]
ddf28efc3e7bf7fd346254d294aba1e7a607e259
8,879
cpp
C++
RayTracer/src/Structure/SAHBVHStructure.cpp
mathiasgam/ManyLightsWarmup
0fdb298f2fbb67bb50a0aa14ae5f7e01f8272e22
[ "MIT" ]
1
2020-06-28T11:42:47.000Z
2020-06-28T11:42:47.000Z
RayTracer/src/Structure/SAHBVHStructure.cpp
mathiasgam/ManyLightsWarmup
0fdb298f2fbb67bb50a0aa14ae5f7e01f8272e22
[ "MIT" ]
null
null
null
RayTracer/src/Structure/SAHBVHStructure.cpp
mathiasgam/ManyLightsWarmup
0fdb298f2fbb67bb50a0aa14ae5f7e01f8272e22
[ "MIT" ]
1
2021-09-25T12:18:30.000Z
2021-09-25T12:18:30.000Z
#include "SAHBVHStructure.h" #include <limits> #include <iostream> SAHBVHStructure::~SAHBVHStructure() { } void SAHBVHStructure::init(const std::vector<const Geometry*>& geometry, const std::vector<const Plane*>& _planes) { nodes.clear(); primitives.clear(); objects.clear(); std::cout << "Loading objects: "; s...
26.743976
139
0.626872
[ "geometry", "object", "vector" ]
ddf30920a1d24a14928782a5e4a0f81d535556a5
14,260
cpp
C++
module/scheduler_components/worker.cpp
manas11/SLOG
a754cbc1c4fa8bdb09a79c5259a31d550da5f15d
[ "MIT" ]
null
null
null
module/scheduler_components/worker.cpp
manas11/SLOG
a754cbc1c4fa8bdb09a79c5259a31d550da5f15d
[ "MIT" ]
null
null
null
module/scheduler_components/worker.cpp
manas11/SLOG
a754cbc1c4fa8bdb09a79c5259a31d550da5f15d
[ "MIT" ]
null
null
null
#include "module/scheduler_components/worker.h" #if defined(REMASTER_PROTOCOL_SIMPLE) || defined(REMASTER_PROTOCOL_PER_KEY) #include "module/scheduler_components/remaster_manager.h" #endif /* defined(REMASTER_PROTOCOL_SIMPLE) || defined(REMASTER_PROTOCOL_PER_KEY) */ #include <thread> #include <glog/logging.h> #inclu...
32.482916
101
0.664165
[ "object" ]
ddf42fe4e0705705e542ee7aaaba7503d1281fb1
5,268
cpp
C++
Projet Piscine ING2/arrete.cpp
clemoctohub/Projet-ING2-Piscine
4de3ceb0608a35b41082a4e46401d75cab501a0f
[ "MIT" ]
null
null
null
Projet Piscine ING2/arrete.cpp
clemoctohub/Projet-ING2-Piscine
4de3ceb0608a35b41082a4e46401d75cab501a0f
[ "MIT" ]
null
null
null
Projet Piscine ING2/arrete.cpp
clemoctohub/Projet-ING2-Piscine
4de3ceb0608a35b41082a4e46401d75cab501a0f
[ "MIT" ]
null
null
null
#include "arrete.h" #include <iostream> #include <string> #include "math.h" #include <cmath> #include <vector> Arrete::Arrete(Sommet* s1, Sommet* s2, int indice, int poids) :m_s1{s1},m_s2{s2},m_indice{indice},m_poids{poids} { } void Arrete::afficher(Svgfile &svgout, int orientation) /// recoit le fichier svg af...
45.413793
271
0.636674
[ "vector" ]
ddffa67a91cf4689cf4c0ffb17e83987ca13f92b
779
cpp
C++
algorithms/cpp/150.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
3
2016-10-01T10:15:09.000Z
2017-07-09T02:53:36.000Z
algorithms/cpp/150.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
algorithms/cpp/150.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <stack> using namespace std; class Solution { public: int evalRPN(vector<string>& tokens) { stack<int> s; for ( auto item : tokens ) { if ( item.size() > 1 || isdigit(item[0]) ) s.push(stoi(item)); el...
21.054054
54
0.376123
[ "vector" ]
fb01ff6c67e84ea476e3d62ad876012f189a0107
1,408
hpp
C++
implementations/Metal/renderpass.hpp
rsayers/abstract-gpu
48176fcb88bde7d56de662c9e49d3d0e562819e1
[ "MIT" ]
41
2016-03-25T18:14:37.000Z
2022-01-20T11:16:52.000Z
implementations/Metal/renderpass.hpp
rsayers/abstract-gpu
48176fcb88bde7d56de662c9e49d3d0e562819e1
[ "MIT" ]
4
2016-05-05T22:08:01.000Z
2021-12-10T13:06:55.000Z
implementations/Metal/renderpass.hpp
rsayers/abstract-gpu
48176fcb88bde7d56de662c9e49d3d0e562819e1
[ "MIT" ]
9
2016-05-23T01:51:25.000Z
2021-08-21T15:32:37.000Z
#ifndef AGPU_METAL_RENDERPASS_HPP #define AGPU_METAL_RENDERPASS_HPP #include "device.hpp" #include <vector> namespace AgpuMetal { class AMtlRenderPass : public agpu::renderpass { public: AMtlRenderPass(const agpu::device_ref &device); ~AMtlRenderPass(); static agpu::renderpass_ref create(const agpu::dev...
36.102564
123
0.814631
[ "vector" ]
fb02dfbe7219a1762ecfa7e08d862f988c0f18a4
2,908
cpp
C++
samples/cpp/mao/90_SurfDescriptorExtractor.cpp
chenghyang2001/opencv-2.4.11
020af901059236c702da580048d25e9fe082e8f8
[ "BSD-3-Clause" ]
null
null
null
samples/cpp/mao/90_SurfDescriptorExtractor.cpp
chenghyang2001/opencv-2.4.11
020af901059236c702da580048d25e9fe082e8f8
[ "BSD-3-Clause" ]
null
null
null
samples/cpp/mao/90_SurfDescriptorExtractor.cpp
chenghyang2001/opencv-2.4.11
020af901059236c702da580048d25e9fe082e8f8
[ "BSD-3-Clause" ]
1
2020-07-22T07:08:24.000Z
2020-07-22T07:08:24.000Z
#include <stdio.h> //---------------------------------【頭文件、命名空間包含部分】---------------------------- // 描述:包含程序所使用的頭文件和命名空間 //------------------------------------------------------------------------------------------------ #include "opencv2/core/core.hpp" #include "opencv2/features2d/features2d.hpp" #include "opencv2/h...
32.311111
98
0.528198
[ "vector" ]
fb0e2a79e3a7b446e5d4b7cc98c2c1cd2044e7d9
971
cpp
C++
codeforces/round-292/div-2/drazil_and_his_happy_friends.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
codeforces/round-292/div-2/drazil_and_his_happy_friends.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
codeforces/round-292/div-2/drazil_and_his_happy_friends.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <algorithm> #include <bits/stdc++.h> #include <iostream> #include <vector> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); unsigned int boys; unsigned int girls; cin >> boys >> girl...
15.66129
50
0.53862
[ "vector" ]
fb1af992f3e534e201c1a5a21a8c6bccbd5ffd22
1,718
cpp
C++
Dynamic_Programming/array_description.cpp
DannyAntonelli/CSES-Problem-Set
599b5efb2d7efb9b7e1bfde3142702dc5d0c3988
[ "MIT" ]
null
null
null
Dynamic_Programming/array_description.cpp
DannyAntonelli/CSES-Problem-Set
599b5efb2d7efb9b7e1bfde3142702dc5d0c3988
[ "MIT" ]
null
null
null
Dynamic_Programming/array_description.cpp
DannyAntonelli/CSES-Problem-Set
599b5efb2d7efb9b7e1bfde3142702dc5d0c3988
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define RFOR(i, a, b) for (int i = (a); i > (b); --i) #define ALL(x) x.begin(), x.end() #define F first #define S second #define PB push_back #define MP make_pair using namespace std; using ll = long long; using ld = long double; typedef v...
21.475
53
0.331781
[ "vector" ]
fb1e363a65c27c45f59051c123b134e739ca231f
2,416
cpp
C++
Examples/Basics/Offscreen/Scene/OffscreenScene.cpp
SuperflyJon/VulkanPlayground
891b88227b66fc1e933ff77c1603e5d685d89047
[ "MIT" ]
2
2021-01-25T16:59:56.000Z
2021-02-14T21:11:05.000Z
Examples/Basics/Offscreen/Scene/OffscreenScene.cpp
SuperflyJon/VulkanPlayground
891b88227b66fc1e933ff77c1603e5d685d89047
[ "MIT" ]
null
null
null
Examples/Basics/Offscreen/Scene/OffscreenScene.cpp
SuperflyJon/VulkanPlayground
891b88227b66fc1e933ff77c1603e5d685d89047
[ "MIT" ]
1
2021-04-23T10:20:53.000Z
2021-04-23T10:20:53.000Z
#include <VulkanPlayground\Includes.h> class OffscreenSceneApp : public VulkanApplication3DLight { std::vector<float> quadVertices = { -10.0f, 0.0f, -10.0f, 0.0f, 1.0f, 10.0f, 0.0f, 10.0f, 1.0f, 0.0f, 10.0f, 0.0f, -10.0f, 1.0f, 1.0f, 10.0f, 0.0f, 10.0f, 1.0f, 0.0f, -10.0f, 0.0f, -10.0f, 0.0f, 1.0f, ...
42.385965
145
0.737997
[ "vector", "model" ]
fb337ac8748817a47ee0021f273e8f81c48c88f5
6,990
cpp
C++
lib/render/DVRLookup.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/render/DVRLookup.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/render/DVRLookup.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
//--DVRLookup.h -------------------------------------------------------------- // // Copyright (C) 2005 Kenny Gruchalla. All rights reserved. // // A derived DVRTexture3d providing a pixel map for the color lookup. // //---------------------------------------------------------------------------- #include <GL/glew.h> ...
26.781609
78
0.544635
[ "geometry", "render", "3d" ]
fb36cb91fe5b2f78db62a71aa4017eb64fff00df
16,678
cpp
C++
performance/main.cpp
bovine/metaf
887f40a4ef0001464c374cdd442a1a14b988417f
[ "MIT" ]
null
null
null
performance/main.cpp
bovine/metaf
887f40a4ef0001464c374cdd442a1a14b988417f
[ "MIT" ]
null
null
null
performance/main.cpp
bovine/metaf
887f40a4ef0001464c374cdd442a1a14b988417f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2018-2020 Nick Naumenko (https://gitlab.com/nnaumenko) * All rights reserved. * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "metaf.hpp" #include "testdata_real.h" #include <iostream> #include <chrono> #i...
35.485106
103
0.659192
[ "vector" ]
fb376e0a1db84e996cc19451b25224d749f55027
1,647
cpp
C++
Olympiad Solutions/URI/2470.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Olympiad Solutions/URI/2470.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Olympiad Solutions/URI/2470.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// Ivan Carvalho // Solution to https://www.urionlinejudge.com.br/judge/problems/view/2470 #include <cstdio> #include <vector> #include <algorithm> #include <cstring> using namespace std; #define MAXN 50500 #define MAXL 21 int pai[MAXN],nivel[MAXN],carta[MAXN],par[MAXN],n,resposta,acessado[MAXN]; int ancestral[MAXN][MA...
21.671053
74
0.55677
[ "vector" ]
fb3919af9ce97cd214a7300f5bf39fd425ba0d32
45,919
cpp
C++
vnpy/api/tora/vntora/generated_files/generated_functions_5.cpp
Readme-Guru/vnpy
743ec0f61591688319abd147f55de1b78145048a
[ "MIT" ]
323
2015-11-21T14:45:29.000Z
2022-03-16T08:54:37.000Z
vnpy/api/tora/vntora/generated_files/generated_functions_5.cpp
Readme-Guru/vnpy
743ec0f61591688319abd147f55de1b78145048a
[ "MIT" ]
9
2017-03-21T08:26:21.000Z
2021-08-23T06:41:17.000Z
vnpy/api/tora/vntora/generated_files/generated_functions_5.cpp
Readme-Guru/vnpy
743ec0f61591688319abd147f55de1b78145048a
[ "MIT" ]
148
2016-09-26T03:25:39.000Z
2022-02-06T14:43:48.000Z
#include "config.h" #include <iostream> #include <string> #include <pybind11/pybind11.h> #include <autocxxpy/autocxxpy.hpp> #include "module.hpp" #include "wrappers.hpp" #include "generated_functions.h" #include "TORATstpMdApi.h" #include "TORATstpTraderApi.h" #include "TORATstpUserApiDataType.h" #include "TORATstpU...
80.84331
133
0.827457
[ "object" ]
fb4199b2304495a3f51e11fd02266ea2c8d62c70
2,877
cpp
C++
SensorLibrary/src/Recorder.cpp
MAMEM/SensorLib
570b25a6d6ab8b166b541731b2d290da34043f58
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
SensorLibrary/src/Recorder.cpp
MAMEM/SensorLib
570b25a6d6ab8b166b541731b2d290da34043f58
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
SensorLibrary/src/Recorder.cpp
MAMEM/SensorLib
570b25a6d6ab8b166b541731b2d290da34043f58
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include "Recorder.h" #include <experimental/filesystem> namespace SensorLib { Recorder::Recorder() { } Recorder::~Recorder() { for (size_t i = 0 ; i < currentRecordings.size(); i++) { delete currentRecordings[i]; } currentRecordings.clear(); } /* void Recorder::startRecording(const std::string fi...
32.693182
102
0.654849
[ "vector" ]
fb4682496857db5b466ca2154b317bfee92caf0d
12,555
cpp
C++
src/systems/attack-system.cpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
44
2019-06-06T21:33:30.000Z
2022-03-26T06:18:23.000Z
src/systems/attack-system.cpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
1
2019-09-27T12:04:52.000Z
2019-09-29T13:30:42.000Z
src/systems/attack-system.cpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
8
2019-07-26T16:44:26.000Z
2020-11-24T17:56:18.000Z
#include "attack-system.hpp" #include <math.h> #include <spdlog/spdlog.h> #include "core/tags.hpp" #include "core/maths.hpp" #include "core/constants.hpp" #include "components/targeting.hpp" #include "components/shoot-at.hpp" #include "components/shoot-laser.hpp" #include "components/health.hpp" #include "components/...
47.377358
309
0.705217
[ "transform" ]
fb5ebaa52863fbec35158986b6583009a3559c47
617
cpp
C++
chap10/Exer10_27.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
50
2016-01-08T14:28:53.000Z
2022-01-21T12:55:00.000Z
chap10/Exer10_27.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
2
2017-06-05T16:45:20.000Z
2021-04-17T13:39:24.000Z
chap10/Exer10_27.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
18
2016-08-17T15:23:51.000Z
2022-03-26T18:08:43.000Z
#include <iostream> #include <list> #include <vector> #include <algorithm> #include <iterator> using std::cout; using std::endl; using std::list; using std::vector; int main() { vector<int> ivec = { 1, 2, 4, 4, 90, 2, 32, 1, 20, -20, 42}; list<int> ilst; // if not sort at first, the unique_copy doesn't work...
24.68
101
0.593193
[ "vector" ]
fb61813ee96cb43e37cb0eab4722e274b2a8256c
6,772
cpp
C++
src/linux_parser.cpp
carlasailer/CppND-System-Monitor
3cdf4b456d88aa6a6e03a0e5510ac3500cc59a06
[ "MIT" ]
null
null
null
src/linux_parser.cpp
carlasailer/CppND-System-Monitor
3cdf4b456d88aa6a6e03a0e5510ac3500cc59a06
[ "MIT" ]
null
null
null
src/linux_parser.cpp
carlasailer/CppND-System-Monitor
3cdf4b456d88aa6a6e03a0e5510ac3500cc59a06
[ "MIT" ]
null
null
null
#include <dirent.h> #include <unistd.h> #include <sstream> #include <string> #include <vector> #include <iostream> #include <experimental/filesystem> #include "linux_parser.h" using std::stof; using std::string; using std::to_string; using std::vector; // generic functions for parsing template <typename T> T findVa...
27.640816
92
0.668636
[ "vector" ]
fb6b17fc17b561898a7fb5dd34758f793425c00b
12,675
cpp
C++
Code/Cpp_files/pagerank_driver.cpp
SotirisTsioutsiouliklis/FairLaR
2cec72a671559d4cf96bc2c7ea919fda4b359575
[ "MIT" ]
null
null
null
Code/Cpp_files/pagerank_driver.cpp
SotirisTsioutsiouliklis/FairLaR
2cec72a671559d4cf96bc2c7ea919fda4b359575
[ "MIT" ]
null
null
null
Code/Cpp_files/pagerank_driver.cpp
SotirisTsioutsiouliklis/FairLaR
2cec72a671559d4cf96bc2c7ea919fda4b359575
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <string> #include <fstream> #include <cstdlib> #include <cstring> #include <vector> #include "graph.hpp" #include "pagerank.hpp" //#include <omp.h> static bool get_options(const int argc, char ** const argv, double &jump_prob, std::string &personalize_filename, persona...
37.723214
111
0.708955
[ "vector" ]
fb75e8667a6bdf3d001f082e64f6a8e8e7f5b1c7
2,454
hpp
C++
libEPLViz/src/mainWidgets/cycleCommand/CycleCommandsModel.hpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
3
2017-01-23T13:29:21.000Z
2021-03-08T17:40:42.000Z
libEPLViz/src/mainWidgets/cycleCommand/CycleCommandsModel.hpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
4
2017-03-26T12:56:08.000Z
2017-08-18T20:32:37.000Z
libEPLViz/src/mainWidgets/cycleCommand/CycleCommandsModel.hpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2017, EPL-Vizards * 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 conditi...
38.34375
89
0.745314
[ "vector" ]
65343c6fb519f94d4f3eeeb9698c9fbce195c896
2,543
cpp
C++
AAAAnimation/player/ascii_player_thread.cpp
ppodds/AAAAnimation
a3494ac6de7ff1c16ccdb008282ade538410f764
[ "MIT" ]
17
2021-12-29T15:03:25.000Z
2022-01-13T08:21:34.000Z
AAAAnimation/player/ascii_player_thread.cpp
ppodds/AAAAnimation
a3494ac6de7ff1c16ccdb008282ade538410f764
[ "MIT" ]
null
null
null
AAAAnimation/player/ascii_player_thread.cpp
ppodds/AAAAnimation
a3494ac6de7ff1c16ccdb008282ade538410f764
[ "MIT" ]
2
2021-12-31T06:54:52.000Z
2022-01-01T21:22:37.000Z
#include "ascii_player_thread.h" #include <iostream> #include "../ffmpeg/video_decoder.h" #include "../console/console_controller.h" #include "../transform.h" #include "../utils.h" #include <QThread> AsciiPlayerThread::AsciiPlayerThread() { } AsciiPlayerThread::AsciiPlayerThread(std::string file_path) { this->file_p...
33.025974
113
0.731026
[ "transform" ]
653b7152f54fa4fe61630c83c051691012aca414
8,508
cpp
C++
src/galview/GuiFunctions.cpp
ranjeethmahankali/GeomAlgoLib
21f1374f5a6adf8daa207999a4354ecad5254b5f
[ "Apache-2.0" ]
9
2020-06-03T10:27:01.000Z
2021-06-03T16:18:35.000Z
src/galview/GuiFunctions.cpp
ranjeethmahankali/GeomAlgoLib
21f1374f5a6adf8daa207999a4354ecad5254b5f
[ "Apache-2.0" ]
null
null
null
src/galview/GuiFunctions.cpp
ranjeethmahankali/GeomAlgoLib
21f1374f5a6adf8daa207999a4354ecad5254b5f
[ "Apache-2.0" ]
2
2020-03-18T05:20:13.000Z
2021-02-17T17:15:07.000Z
#include <galcore/Types.h> #include <galcore/Util.h> #include <galfunc/Functions.h> #include <galfunc/TypeHelper.h> #include <galview/AnnotationsView.h> #include <galview/Context.h> #include <galview/GuiFunctions.h> #include <galview/Views.h> #include <galview/Widget.h> #include <cstdint> #include <iostream> #include <...
28.550336
90
0.647978
[ "object", "vector", "transform", "3d" ]
653f834688dab462092359bab5b63abcbc09a645
1,820
cpp
C++
Examples/Cpp/source/Exchange_EWS/SendEmailToPrivateDistributionList.cpp
kashifiqb/Aspose.Email-for-C
96684cb6ed9f4e321a00c74ca219440baaef8ba8
[ "MIT" ]
4
2019-12-01T16:19:12.000Z
2022-03-28T18:51:42.000Z
Examples/Cpp/source/Exchange_EWS/SendEmailToPrivateDistributionList.cpp
kashifiqb/Aspose.Email-for-C
96684cb6ed9f4e321a00c74ca219440baaef8ba8
[ "MIT" ]
1
2022-02-15T01:02:15.000Z
2022-02-15T01:02:15.000Z
Examples/Cpp/source/Exchange_EWS/SendEmailToPrivateDistributionList.cpp
kashifiqb/Aspose.Email-for-C
96684cb6ed9f4e321a00c74ca219440baaef8ba8
[ "MIT" ]
5
2017-09-27T14:43:20.000Z
2021-11-16T06:47:11.000Z
#include "Examples.h" #include <system/string.h> #include <system/shared_ptr.h> #include <system/object.h> #include <system/exceptions.h> #include <system/console.h> #include <system/array.h> #include <net/network_credential.h> #include <MailMessage.h> #include <MailAddress.h> #include <Clients/Exchange/WebService/EWSC...
41.363636
157
0.728571
[ "object" ]
6545b6fadb65e13e776487d5b1509e9cf4989b1a
3,368
cpp
C++
packages/facilities/common/src/fsm.cpp
Falcons-Robocup/code
2281a8569e7f11cbd3238b7cc7341c09e2e16249
[ "Apache-2.0" ]
2
2021-01-15T13:27:19.000Z
2021-08-04T08:40:52.000Z
packages/facilities/common/src/fsm.cpp
Falcons-Robocup/code
2281a8569e7f11cbd3238b7cc7341c09e2e16249
[ "Apache-2.0" ]
null
null
null
packages/facilities/common/src/fsm.cpp
Falcons-Robocup/code
2281a8569e7f11cbd3238b7cc7341c09e2e16249
[ "Apache-2.0" ]
5
2018-05-01T10:39:31.000Z
2022-03-25T03:02:35.000Z
// Copyright 2015-2018 Tim Kouters (Falcons) // SPDX-License-Identifier: Apache-2.0 /** * File: fsm.cpp * Author: Jan Feitsma * Creation: 2014-12-27 * Description: FiniteStateMachine implementations. * * */ #include "ext/fsm.hpp" #include "tracing.hpp" State::State(int i, std::string s) { id = i; name = s...
24.230216
122
0.721496
[ "vector" ]
65461d013f600771ef2e13dcaa30a3359ba6a92e
3,343
cpp
C++
src/server/PipelineManager.cpp
rsennrich/SLT.KIT
36884fe4913e6b0eca0e9621c4d7e081212d1910
[ "MIT" ]
21
2018-08-07T18:02:31.000Z
2022-03-15T15:49:51.000Z
src/server/PipelineManager.cpp
rsennrich/SLT.KIT
36884fe4913e6b0eca0e9621c4d7e081212d1910
[ "MIT" ]
2
2018-06-13T07:39:11.000Z
2019-03-21T07:29:01.000Z
src/server/PipelineManager.cpp
rsennrich/SLT.KIT
36884fe4913e6b0eca0e9621c4d7e081212d1910
[ "MIT" ]
19
2018-08-07T18:27:48.000Z
2021-12-30T05:41:17.000Z
#include "PipelineManager.h" PipelineManager::PipelineManager(xml_node<> * n) { init(n); } PipelineManager::PipelineManager(const char * filename) { ifstream myfile(filename); vector<char> * xmlFile = new vector<char>((istreambuf_iterator<char>(myfile)), istreambuf_iterator<char>( )); xmlFile->push...
21.567742
113
0.605145
[ "vector" ]
65464e090f7e278a572d955f6e5a093ddf01dbb7
2,237
hpp
C++
octopus/io/multi_writer.hpp
STEllAR-GROUP/octopus
a1f910d63380e4ebf91198ac2bc2896505ce6146
[ "BSL-1.0" ]
4
2016-01-30T14:47:21.000Z
2017-11-19T19:03:19.000Z
octopus/io/multi_writer.hpp
STEllAR-GROUP/octopus
a1f910d63380e4ebf91198ac2bc2896505ce6146
[ "BSL-1.0" ]
null
null
null
octopus/io/multi_writer.hpp
STEllAR-GROUP/octopus
a1f910d63380e4ebf91198ac2bc2896505ce6146
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2012 Bryce Adelstein-Lelbach // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //////////////////////////////////...
24.582418
80
0.607063
[ "vector" ]
654c2fb7dcb110903bae079431ca81b4104cb425
7,430
cc
C++
src/mem/spm_mem.cc
markoshorro/gem5-spm
e3de640bf071ab9f64f4e96763a5c75c9cc50350
[ "BSD-3-Clause" ]
6
2016-11-15T06:14:09.000Z
2020-05-07T01:05:33.000Z
src/mem/spm_mem.cc
markoshorro/gem5-spm
e3de640bf071ab9f64f4e96763a5c75c9cc50350
[ "BSD-3-Clause" ]
3
2018-09-04T20:59:37.000Z
2019-12-05T14:09:02.000Z
src/mem/spm_mem.cc
UDC-GAC/gem5-spm
e3de640bf071ab9f64f4e96763a5c75c9cc50350
[ "BSD-3-Clause" ]
4
2021-05-04T02:16:56.000Z
2021-11-03T03:56:17.000Z
/* * Copyright (c) 2015. Markos Horro * 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 conditions and t...
33.926941
97
0.659354
[ "model" ]
65504be186c8bfc94e2a1df713f8343e9969fe67
1,745
hpp
C++
include/metall/container/experimental/json/json_fwd.hpp
dice-group/metall
1b899e7d28264ecf937cf848e934eccadc581783
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
37
2019-07-03T05:48:42.000Z
2022-03-10T20:41:53.000Z
include/metall/container/experimental/json/json_fwd.hpp
dice-group/metall
1b899e7d28264ecf937cf848e934eccadc581783
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
19
2019-05-29T07:56:45.000Z
2022-02-02T07:13:46.000Z
include/metall/container/experimental/json/json_fwd.hpp
dice-group/metall
1b899e7d28264ecf937cf848e934eccadc581783
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
12
2019-06-11T21:56:37.000Z
2022-01-20T15:51:28.000Z
// Copyright 2021 Lawrence Livermore National Security, LLC and other Metall Project Developers. // See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (Apache-2.0 OR MIT) #ifndef METALL_CONTAINER_EXPERIMENT_JSON_JSON_FWD_HPP #define METALL_CONTAINER_EXPERIMENT_JSON_JSON_FWD_HPP #include <var...
29.576271
98
0.794269
[ "object" ]
65534b66ce4eaaeff8d3bd258fbee1f2ac40c993
9,607
cpp
C++
ext/DRAMSim2/CommandQueueTP.cpp
aferr/TimingCompartments
8c826a55fd5ed95b24a13489d97cb62a9586ee25
[ "BSD-3-Clause" ]
null
null
null
ext/DRAMSim2/CommandQueueTP.cpp
aferr/TimingCompartments
8c826a55fd5ed95b24a13489d97cb62a9586ee25
[ "BSD-3-Clause" ]
4
2015-01-13T18:27:31.000Z
2015-01-13T18:27:57.000Z
ext/DRAMSim2/CommandQueueTP.cpp
aferr/TimingCompartments
8c826a55fd5ed95b24a13489d97cb62a9586ee25
[ "BSD-3-Clause" ]
1
2021-07-05T18:05:54.000Z
2021-07-05T18:05:54.000Z
#include "CommandQueueTP.h" using namespace DRAMSim; CommandQueueTP::CommandQueueTP(vector< vector<BankState> > &states, ostream &dramsim_log_, unsigned tpTurnLength_, int num_pids_, bool fixAddr_, bool diffPeriod_, int p0Period_, int p1Period_, int offset_, bool partitioning_): C...
31.601974
82
0.545019
[ "vector" ]
65539c6b45ce1749a84c4689413bbf93922f4300
3,446
cpp
C++
src/0.3.7-R3-1/CObject.cpp
DarkP1xel/SAMP-API
0d43a3603239f2f4bc65b8305ffc72177386cc29
[ "MIT" ]
7
2019-09-23T10:19:40.000Z
2021-07-25T06:17:27.000Z
src/0.3.7-R3-1/CObject.cpp
DarkP1xel/SAMP-API
0d43a3603239f2f4bc65b8305ffc72177386cc29
[ "MIT" ]
null
null
null
src/0.3.7-R3-1/CObject.cpp
DarkP1xel/SAMP-API
0d43a3603239f2f4bc65b8305ffc72177386cc29
[ "MIT" ]
1
2021-04-11T17:13:00.000Z
2021-04-11T17:13:00.000Z
/* This is a SAMP (0.3.7-R3) API project file. Developer: LUCHARE <luchare.dev@gmail.com> See more here https://github.com/LUCHARE/SAMP-API Copyright (c) 2018 BlastHack Team <BlastHack.Net>. All rights reserved. */ #include "CObject.h" SAMP::CObject::CObject(int nModel, CVector position, CVector ro...
41.02381
231
0.701103
[ "render", "vector" ]
655daaf7924ac7eb00ab111d1233f9b489178fcd
1,848
hpp
C++
sdk/sdk/share/httpserver/httpserver/string_utilities.hpp
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
1
2021-10-09T08:05:50.000Z
2021-10-09T08:05:50.000Z
sdk/sdk/share/httpserver/httpserver/string_utilities.hpp
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
null
null
null
sdk/sdk/share/httpserver/httpserver/string_utilities.hpp
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
null
null
null
/* This file is part of libhttpserver Copyright (C) 2011, 2012, 2013, 2014, 2015 Sebastiano Merlino This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version...
33
78
0.728355
[ "vector" ]
656bb04438d1fe2712aa0ce8932eed2ddad33262
4,336
hpp
C++
include/primer/function.hpp
cbeck88/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
14
2016-07-27T18:14:47.000Z
2018-06-15T19:54:10.000Z
include/primer/function.hpp
garbageslam/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
5
2016-11-01T23:20:35.000Z
2016-11-29T21:09:53.000Z
include/primer/function.hpp
cbeck88/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
2
2021-02-07T03:42:22.000Z
2021-02-10T14:12:00.000Z
// (C) Copyright 2015 - 2018 Christopher Beck // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once /*** * Interface to write quick-n-dirty function call code. * * While they all handle popping of errors and...
35.834711
80
0.732472
[ "object" ]
658478e1d665adceb48ae791c2033d424b034d16
8,865
cpp
C++
sourceCode/scripting/userParameters.cpp
mdecourse/CoppeliaSimLib
934e65b4b6ea5a07d08919ae35c50fd3ae960ef2
[ "RSA-MD" ]
null
null
null
sourceCode/scripting/userParameters.cpp
mdecourse/CoppeliaSimLib
934e65b4b6ea5a07d08919ae35c50fd3ae960ef2
[ "RSA-MD" ]
null
null
null
sourceCode/scripting/userParameters.cpp
mdecourse/CoppeliaSimLib
934e65b4b6ea5a07d08919ae35c50fd3ae960ef2
[ "RSA-MD" ]
null
null
null
#include "userParameters.h" #include "app.h" #include "base64.h" CUserParameters::CUserParameters() { _initialValuesInitialized=false; } CUserParameters::~CUserParameters() { } void CUserParameters::initializeInitialValues(bool simulationAlreadyRunning) { // is called at simulation start, but also after object(s...
33.579545
189
0.589961
[ "object", "vector" ]
6592056a35416b4b9694756c62171419865efeb5
7,191
cpp
C++
labs/2/13-17-project-realization/code/Game.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
19
2020-02-21T16:46:50.000Z
2022-01-26T19:59:49.000Z
labs/1/13-17-project-realization/code/Game.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
1
2020-03-14T08:09:45.000Z
2020-03-14T08:09:45.000Z
labs/1/13-17-project-realization/code/Game.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
11
2020-02-23T12:29:58.000Z
2021-04-11T08:30:12.000Z
#include <cmath> #include <iostream> #include <fstream> #include "Game.hpp" #include "PhysicsObj.hpp" #include "SaveFileFactory.hpp" #include "LevelFactory.hpp" #include "Player.hpp" // The default refresh rate const unsigned int DEFAULT_FPS = 30; // The default background color const sf::Color DEFAULT_BGCOLOR = { 1...
23.811258
135
0.610346
[ "render", "object", "vector" ]
659436e76f526cd44aa7d223a1868b8ed59b8c97
3,464
cpp
C++
Game/Source/SceneManager.cpp
MagiX7/Project-II
8c62b41cf559a9c3d0ea66a072047060ea97b9a3
[ "MIT" ]
3
2021-03-01T15:51:16.000Z
2022-03-24T08:33:47.000Z
Game/Source/SceneManager.cpp
MagiX7/Project-II
8c62b41cf559a9c3d0ea66a072047060ea97b9a3
[ "MIT" ]
1
2021-02-25T11:10:17.000Z
2021-02-25T11:10:17.000Z
Game/Source/SceneManager.cpp
MagiX7/Project-II
8c62b41cf559a9c3d0ea66a072047060ea97b9a3
[ "MIT" ]
null
null
null
#include "App.h" #include "Window.h" #include "Input.h" #include "Render.h" #include "Textures.h" #include "Audio.h" #include "SceneManager.h" #include "Scene.h" #include "SceneLogo.h" #include "SceneTitle.h" #include "SceneGameplay.h" #include "SceneEnding.h" #include "TransitionsManager.h" #include "Defs.h" #inclu...
22.205128
179
0.708718
[ "render" ]
659625efdede79a67604a153dadec81163b37b5c
3,977
cc
C++
src/0454_4sum_ii/4sum_ii.cc
youngqqcn/LeetCodeNodes
62bbd30fbdf1640526d7fc4437cde1b05d67fc8f
[ "MIT" ]
1
2021-05-23T02:15:03.000Z
2021-05-23T02:15:03.000Z
src/0454_4sum_ii/4sum_ii.cc
youngqqcn/LeetCodeNotes
62bbd30fbdf1640526d7fc4437cde1b05d67fc8f
[ "MIT" ]
null
null
null
src/0454_4sum_ii/4sum_ii.cc
youngqqcn/LeetCodeNotes
62bbd30fbdf1640526d7fc4437cde1b05d67fc8f
[ "MIT" ]
null
null
null
// author: yqq // date: 2021-08-05 18:15:23 // descriptions: https://leetcode-cn.com/problems/4sum-ii #include <bits/stdc++.h> #include <iostream> #include <numeric> #include <vector> #include <string> #include <map> #include <set> #include <algorithm> #include <memory> #include <queue> #include <stack> #include <unord...
32.598361
342
0.450842
[ "vector" ]
659dabca80c3e4ed4e69ac007017f3dc3df29281
1,762
hpp
C++
test/unit/module/real/core/hermite/regular/hermite.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/core/hermite/regular/hermite.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/core/hermite/regular/hermite.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
40.045455
100
0.576617
[ "vector" ]
4f1d5d10b4ee8e2f076e1166bb7cfa5092a2bc0e
2,524
cpp
C++
codeforces/E - New Year Tree/Wrong answer on test 13.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/E - New Year Tree/Wrong answer on test 13.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/E - New Year Tree/Wrong answer on test 13.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Mar/22/2018 00:30 * solution_verdict: Wrong answer on test 13 language: GNU C++14 * run...
22.336283
111
0.472662
[ "vector" ]
4f1dd2d499b2512ec0ccbac081ad8b389f536997
37,657
cpp
C++
examples/projection_perspective_specialfullscreen_texture/projection_perspective_specialfullscreen_texture.cpp
math3d/Vulkan
2c5f8802a417690d8ce2fd70c06c9a13430ecb1a
[ "MIT" ]
3
2020-11-18T14:20:43.000Z
2021-12-06T16:19:49.000Z
examples/projection_perspective_specialfullscreen_texture/projection_perspective_specialfullscreen_texture.cpp
math3d/Vulkan
2c5f8802a417690d8ce2fd70c06c9a13430ecb1a
[ "MIT" ]
null
null
null
examples/projection_perspective_specialfullscreen_texture/projection_perspective_specialfullscreen_texture.cpp
math3d/Vulkan
2c5f8802a417690d8ce2fd70c06c9a13430ecb1a
[ "MIT" ]
2
2020-11-19T17:26:31.000Z
2021-12-28T09:30:22.000Z
/* * Copyright (C) 2016-2017 by Sascha Willems - www.saschawillems.de * Copyright (C) 2019 by Xu Xing - xu.xing@outlook.com * This code is licensed under the MIT license (MIT) * (http://opensource.org/licenses/MIT) Code is based on Sascha Willems's Vulkan * example: https://github.com/SaschaWillems/Vulkan/tree/mas...
39.76452
80
0.689009
[ "render", "object", "vector", "model", "solid" ]
4f21990d861259583b76cb9eee0382980cd8aa3d
28,667
hpp
C++
Blik2D/addon/opencv-3.1.0_for_blik/modules/core/include/opencv2/core/cuda.hpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
13
2017-02-22T02:20:06.000Z
2018-06-06T04:18:03.000Z
Blik2D/addon/opencv-3.1.0_for_blik/modules/core/include/opencv2/core/cuda.hpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
null
null
null
Blik2D/addon/opencv-3.1.0_for_blik/modules/core/include/opencv2/core/cuda.hpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
33.845336
157
0.695887
[ "object", "3d" ]
4f2805f32c94ba2ee619f64f3d4e3e42c61398a9
22,075
cc
C++
src/arch/sparc/isa.cc
He-Liu-ooo/Computer-Architecture-THUEE-2022-spring-
9d36aaacbc7eea357608524113bec97bae2ea229
[ "BSD-3-Clause" ]
8
2021-12-17T08:07:14.000Z
2022-03-23T11:49:06.000Z
src/arch/sparc/isa.cc
He-Liu-ooo/Computer-Architecture-THUEE-2022-spring-
9d36aaacbc7eea357608524113bec97bae2ea229
[ "BSD-3-Clause" ]
3
2022-01-09T07:50:03.000Z
2022-02-05T14:46:57.000Z
src/arch/sparc/isa.cc
He-Liu-ooo/Computer-Architecture-THUEE-2022-spring-
9d36aaacbc7eea357608524113bec97bae2ea229
[ "BSD-3-Clause" ]
5
2021-12-27T08:39:13.000Z
2022-03-08T10:21:37.000Z
/* * Copyright (c) 2009 The Regents of The University of Michigan * 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, ...
28.74349
78
0.624734
[ "object" ]
4f2ab987b05a0d58401f9a30eef0af3b04ac49d6
3,570
cxx
C++
dep/scintilla/scintilla-3.10.6/src/ExternalLexer.cxx
DeadMozay/gitahead
6c27dda42d99f794089913bc06977042a040bbf7
[ "MIT" ]
17
2019-06-04T06:22:47.000Z
2022-02-11T18:27:25.000Z
dep/scintilla/scintilla-3.10.6/src/ExternalLexer.cxx
DeadMozay/gitahead
6c27dda42d99f794089913bc06977042a040bbf7
[ "MIT" ]
1,248
2019-02-21T19:32:09.000Z
2022-03-29T16:50:04.000Z
dep/scintilla/scintilla-3.10.6/src/ExternalLexer.cxx
DeadMozay/gitahead
6c27dda42d99f794089913bc06977042a040bbf7
[ "MIT" ]
17
2019-02-12T07:58:23.000Z
2022-03-10T11:39:21.000Z
// Scintilla source code edit control /** @file ExternalLexer.cxx ** Support external lexers in DLLs or shared libraries. **/ // Copyright 2001 Simon Steele <ss@pnotepad.org>, portions copyright Neil Hodgson. // The License.txt file describes the conditions under which this software may be distributed. #include <cst...
26.25
109
0.652381
[ "vector" ]
4f2b3c93c8c4d07a14e74c8fe6d31756364ef2f5
1,597
cpp
C++
aws-cpp-sdk-macie2/source/model/GetFindingStatisticsRequest.cpp
orinem/aws-sdk-cpp
f38413cc1f278689ef14e9ebdd74a489a48776be
[ "Apache-2.0" ]
1
2020-07-16T19:02:58.000Z
2020-07-16T19:02:58.000Z
aws-cpp-sdk-macie2/source/model/GetFindingStatisticsRequest.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-macie2/source/model/GetFindingStatisticsRequest.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
23.485294
78
0.745147
[ "model" ]
4f2b6c44627a10b7abce1097d49f034f5f81de67
19,763
cpp
C++
Dev/Cpp/Viewer/Graphics/Platform/GL/efk.PostEffectsGL.cpp
meshula/Effekseer
a3fc1885907cc97a60d65406a984141c9b532b23
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Dev/Cpp/Viewer/Graphics/Platform/GL/efk.PostEffectsGL.cpp
meshula/Effekseer
a3fc1885907cc97a60d65406a984141c9b532b23
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Dev/Cpp/Viewer/Graphics/Platform/GL/efk.PostEffectsGL.cpp
meshula/Effekseer
a3fc1885907cc97a60d65406a984141c9b532b23
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#if _WIN32 #define NOMINMAX #endif #include <algorithm> #include <iostream> #include "efk.PostEffectsGL.h" #include <EffekseerRendererGL/EffekseerRenderer/EffekseerRendererGL.GLExtension.h> namespace efk { static const char g_basic_vs_src[] = R"( IN vec4 a_Position; IN vec2 a_TexCoord; OUT vec2 v_TexCoord; void ma...
35.481149
266
0.748874
[ "render", "vector" ]
4f2de78e3eeac860bddf4f448b1051395a1f341c
90,166
cpp
C++
moveit_core/robot_state/src/robot_state.cpp
limcatrina/moveit
f94fcc33882aaac20f7e3c07e5df88a4a77e6e8a
[ "BSD-3-Clause" ]
null
null
null
moveit_core/robot_state/src/robot_state.cpp
limcatrina/moveit
f94fcc33882aaac20f7e3c07e5df88a4a77e6e8a
[ "BSD-3-Clause" ]
null
null
null
moveit_core/robot_state/src/robot_state.cpp
limcatrina/moveit
f94fcc33882aaac20f7e3c07e5df88a4a77e6e8a
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, Ioan A. Sucan * Copyright (c) 2013, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitt...
38.648093
120
0.668633
[ "mesh", "geometry", "render", "object", "vector", "transform" ]
4f2e6d9aa6d3b7a32ef5aec61e4c8687eb6d5447
3,397
cpp
C++
doc/code_examples/Tutorial_PeakIntensityPredictor.cpp
raghav17083/OpenMS
ddcdd3068a93a7c415675c39bac43d796a845f1d
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
null
null
null
doc/code_examples/Tutorial_PeakIntensityPredictor.cpp
raghav17083/OpenMS
ddcdd3068a93a7c415675c39bac43d796a845f1d
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
null
null
null
doc/code_examples/Tutorial_PeakIntensityPredictor.cpp
raghav17083/OpenMS
ddcdd3068a93a7c415675c39bac43d796a845f1d
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
48.528571
104
0.66912
[ "vector", "model" ]
4f33474e647d911053f4fec178c13c99202421c3
16,466
cpp
C++
Project 10-17/Common/d3dUtil.cpp
MKXJun/DX11-Without-DirectX-SDK
31756de150248fc8f4ccb6ce0c5e2837da718c2d
[ "MIT" ]
3
2018-05-29T12:18:08.000Z
2018-06-20T16:14:13.000Z
Project 10-17/Common/d3dUtil.cpp
MKXJun/DX11-Without-DirectX-SDK
31756de150248fc8f4ccb6ce0c5e2837da718c2d
[ "MIT" ]
null
null
null
Project 10-17/Common/d3dUtil.cpp
MKXJun/DX11-Without-DirectX-SDK
31756de150248fc8f4ccb6ce0c5e2837da718c2d
[ "MIT" ]
null
null
null
#include "d3dUtil.h" using namespace DirectX; // // 函数定义部分 // HRESULT CreateShaderFromFile( const WCHAR * csoFileNameInOut, const WCHAR * hlslFileName, LPCSTR entryPoint, LPCSTR shaderModel, ID3DBlob ** ppBlobOut) { HRESULT hr = S_OK; // 寻找是否有已经编译好的顶点着色器 if (csoFileNameInOut && D3DRe...
29.195035
114
0.606765
[ "vector" ]
4f340fa1932218d1419b55c4ada7cfdbd0962315
5,018
cc
C++
chrome/browser/tab/state/tab_state_db.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/tab/state/tab_state_db.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/tab/state/tab_state_db.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2020 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/tab/state/tab_state_db.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/files/file_path.h" #include "base...
38.6
80
0.674372
[ "vector" ]
4f34461e878e2e5ca75d8f8d37046cbc9af2c62a
2,932
cpp
C++
src/chrono/motion_functions/ChFunctionRotation_ABCfunctions.cpp
zzhou292/chrono-collision
c2a20e171bb0eb8819636d370887aa32d68547c6
[ "BSD-3-Clause" ]
1
2021-12-09T05:24:42.000Z
2021-12-09T05:24:42.000Z
src/chrono/motion_functions/ChFunctionRotation_ABCfunctions.cpp
zzhou292/chrono-collision
c2a20e171bb0eb8819636d370887aa32d68547c6
[ "BSD-3-Clause" ]
7
2021-10-20T04:43:35.000Z
2021-12-24T08:44:31.000Z
src/chrono/motion_functions/ChFunctionRotation_ABCfunctions.cpp
zzhou292/chrono-collision
c2a20e171bb0eb8819636d370887aa32d68547c6
[ "BSD-3-Clause" ]
2
2021-12-09T05:32:31.000Z
2021-12-12T17:31:18.000Z
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
32.577778
116
0.682128
[ "object" ]
4f34f04d5fbeb229c8c1316d27c6f64bd01116f8
4,654
cc
C++
mindspore/ccsrc/backend/optimizer/graph_kernel/shape_ops_splitter.cc
glucklichste/mindspore
9df63697af663836fc18d03fef40715f093a3fa1
[ "Apache-2.0" ]
3,200
2020-02-17T12:45:41.000Z
2022-03-31T20:21:16.000Z
mindspore/ccsrc/backend/optimizer/graph_kernel/shape_ops_splitter.cc
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
176
2020-02-12T02:52:11.000Z
2022-03-28T22:15:55.000Z
mindspore/ccsrc/backend/optimizer/graph_kernel/shape_ops_splitter.cc
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
621
2020-03-09T01:31:41.000Z
2022-03-30T03:43:19.000Z
/** * Copyright 2020-2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
34.220588
120
0.69725
[ "vector", "transform" ]
4f352424083f4e4418abfefbd34b78867998625d
6,920
cpp
C++
tests/unittests/ReproFXLib.cpp
suhib97/glow
582625add4b99cfc20bdb824285bfeba1a7df4f8
[ "Apache-2.0" ]
null
null
null
tests/unittests/ReproFXLib.cpp
suhib97/glow
582625add4b99cfc20bdb824285bfeba1a7df4f8
[ "Apache-2.0" ]
null
null
null
tests/unittests/ReproFXLib.cpp
suhib97/glow
582625add4b99cfc20bdb824285bfeba1a7df4f8
[ "Apache-2.0" ]
1
2022-02-21T23:35:09.000Z
2022-02-21T23:35:09.000Z
/** * Copyright (c) Glow Contributors. See CONTRIBUTORS file. * * 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 b...
34.257426
80
0.644075
[ "vector", "model" ]
4f38e6facdc5ac32e698cf666ffcb1cefc02472e
4,208
cpp
C++
iRODS/clients/icommands/src/irmtrash.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/clients/icommands/src/irmtrash.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/clients/icommands/src/irmtrash.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
/*** Copyright (c), The Regents of the University of California *** *** For more informtrashation please refer to files in the COPYRIGHT directory ***/ /* * irmtrash - The irods rmtrash utility */ #include "rodsClient.hpp" #include "parseCommandLine.hpp" #include "rodsPath.hpp" #include "rmtrashUtil.hpp" ...
31.17037
120
0.574857
[ "object" ]
4f3c95f10bc5a6e05e6c4c20844a8f8decfb3b2b
1,803
cpp
C++
acmicpc/5507.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/5507.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/5507.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> #include <vector> #include <cmath> #include <unordered_map> using namespace std; #define MAX 101 const int dx[8] = {1, 1, 1, 0, 0, -1, -1, -1}; const int dy[8] = {1, 0, -1, 1, -1, 1, 0, -1}; int n, m, label; string s[MAX]; int sky[MAX][MAX]; unordered_map<int, bool> dup; unordered_map<int, char> ou...
17.676471
80
0.484748
[ "shape", "vector" ]
4f3eb3e7aa2421726f3fc0553ab2f36119582a37
6,575
cpp
C++
oneflow/core/job/runtime.cpp
JasenWangLab/oneflow
0131e6ec282a426c2de98825de5fab95c853d8cf
[ "Apache-2.0" ]
null
null
null
oneflow/core/job/runtime.cpp
JasenWangLab/oneflow
0131e6ec282a426c2de98825de5fab95c853d8cf
[ "Apache-2.0" ]
null
null
null
oneflow/core/job/runtime.cpp
JasenWangLab/oneflow
0131e6ec282a426c2de98825de5fab95c853d8cf
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
37.787356
100
0.728669
[ "object", "vector" ]
4f40dc2028b97dbddeb8da3629c4aa3d73da50e9
31,630
cpp
C++
src/win/win-helpers.cpp
arunabhcode/librealsense
3cd61ee78b1793091243db888a36979cd9c74dbb
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/win/win-helpers.cpp
arunabhcode/librealsense
3cd61ee78b1793091243db888a36979cd9c74dbb
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/win/win-helpers.cpp
arunabhcode/librealsense
3cd61ee78b1793091243db888a36979cd9c74dbb
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2015 Intel Corporation. All Rights Reserved. #ifdef RS2_USE_WMF_BACKEND #if (_MSC_FULL_VER < 180031101) #error At least Visual Studio 2013 Update 4 is required to compile this backend #endif #include "../types.h" #include "win-helpers.h"...
39.438903
159
0.510275
[ "object", "vector", "transform" ]
4f4157c56d4b1a88c9de09f9579be3441df291bf
22,387
cpp
C++
examples/pathtracing/app.cpp
sketchbooks99/PRayGround
07d1779f2e36ad9ed5fd6df457cdc515b9017300
[ "MIT" ]
23
2021-08-25T10:40:40.000Z
2022-03-28T13:02:05.000Z
examples/pathtracing/app.cpp
sketchbooks99/PRayGround
07d1779f2e36ad9ed5fd6df457cdc515b9017300
[ "MIT" ]
2
2021-12-04T12:50:44.000Z
2021-12-14T14:55:00.000Z
examples/pathtracing/app.cpp
sketchbooks99/PRayGround
07d1779f2e36ad9ed5fd6df457cdc515b9017300
[ "MIT" ]
1
2021-04-15T13:13:17.000Z
2021-04-15T13:13:17.000Z
#include "app.h" void App::initResultBufferOnDevice() { params.subframe_index = 0; result_bitmap.allocateDevicePtr(); accum_bitmap.allocateDevicePtr(); normal_bitmap.allocateDevicePtr(); albedo_bitmap.allocateDevicePtr(); depth_bitmap.allocateDevicePtr(); params.result_buffer ...
39.905526
156
0.645196
[ "mesh", "render", "shape", "vector", "model", "transform" ]
4f42aa5796c1e0c2ffb10f01b912b9b9d947448c
285
hxx
C++
odb-tests-2.4.0/evolution/data/test2.hxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
odb-tests-2.4.0/evolution/data/test2.hxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
odb-tests-2.4.0/evolution/data/test2.hxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
// file : evolution/data/test2.hxx // copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef TEST2_HXX #define TEST2_HXX #define MODEL_VERSION 2 #include "model.hxx" #undef MODEL_VERSION #endif // TEST2_HXX
21.923077
62
0.736842
[ "model" ]
4f42e1857a38144ebea066ab9de374b60c9a214e
1,711
hpp
C++
oms_small/include/okapi/api/chassis/model/threeEncoderSkidSteerModel.hpp
wanton-wind/oms-vex
d2eca00ccfefad5e2f85f8465837bd8a0710359c
[ "Apache-2.0" ]
1
2018-10-28T01:49:16.000Z
2018-10-28T01:49:16.000Z
oms_small/include/okapi/api/chassis/model/threeEncoderSkidSteerModel.hpp
wanton-wind/oms-vex
d2eca00ccfefad5e2f85f8465837bd8a0710359c
[ "Apache-2.0" ]
1
2018-10-28T01:40:00.000Z
2018-10-28T01:40:00.000Z
oms_small/include/okapi/api/chassis/model/threeEncoderSkidSteerModel.hpp
wanton-wind/oms-vex
d2eca00ccfefad5e2f85f8465837bd8a0710359c
[ "Apache-2.0" ]
3
2018-10-26T08:45:58.000Z
2018-10-27T13:36:37.000Z
/** * @author Ryan Benasutti, WPI * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef _OKAPI_THREEENCODERSKIDSTEERMODEL_HPP_ #define _OKAPI_THREEENCODERSK...
36.404255
97
0.679135
[ "model" ]
4f44c055a4455ecf266019a153f04d03950a0113
17,366
cc
C++
MUMmer3.20/src/tigr/sw_align.cc
kloetzl/mugsy
8ccdf32858a7a5ab2f7b9b084d2190970feb97ec
[ "Artistic-2.0" ]
null
null
null
MUMmer3.20/src/tigr/sw_align.cc
kloetzl/mugsy
8ccdf32858a7a5ab2f7b9b084d2190970feb97ec
[ "Artistic-2.0" ]
null
null
null
MUMmer3.20/src/tigr/sw_align.cc
kloetzl/mugsy
8ccdf32858a7a5ab2f7b9b084d2190970feb97ec
[ "Artistic-2.0" ]
null
null
null
#include "sw_align.hh" //-- Number of bases to extend past global high score before giving up static const int DEFAULT_BREAK_LEN = 200; //-- Characters used in creating the alignment edit matrix, DO NOT ALTER! static const int DELETE = 0; static const int INSERT = 1; static const int MATCH = 2; static const int ...
27.434439
80
0.556778
[ "vector" ]
4f44f77ceee944ad0dd2346155195d7f613a0f00
2,327
cpp
C++
Source/Services/Marketplace/catalog_item_image.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
2
2021-07-17T13:34:20.000Z
2022-01-09T00:55:51.000Z
Source/Services/Marketplace/catalog_item_image.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
null
null
null
Source/Services/Marketplace/catalog_item_image.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
1
2018-11-18T08:32:40.000Z
2018-11-18T08:32:40.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. /...
27.05814
126
0.690589
[ "vector" ]
4f46e8979ac5aef7bcb8587fc7ad31511bc669dc
4,923
cpp
C++
applications/tests/unit_tests/rpc_function_types.cpp
sagarjha/derecho-unified
f43aa530e1567e75bb99d7ddc70653a338aa7538
[ "BSD-3-Clause" ]
1
2019-10-03T23:25:12.000Z
2019-10-03T23:25:12.000Z
applications/tests/unit_tests/rpc_function_types.cpp
sagarjha/derecho-unified
f43aa530e1567e75bb99d7ddc70653a338aa7538
[ "BSD-3-Clause" ]
null
null
null
applications/tests/unit_tests/rpc_function_types.cpp
sagarjha/derecho-unified
f43aa530e1567e75bb99d7ddc70653a338aa7538
[ "BSD-3-Clause" ]
null
null
null
#include "derecho/derecho.h" #include <mutils-serialization/SerializationSupport.hpp> /* * The Eclipse CDT parser crashes if it tries to expand the REGISTER_RPC_FUNCTIONS * macro, probably because there are too many layers of variadic argument expansion. * This definition makes the RPC macros no-ops when the CDT pa...
43.955357
125
0.665042
[ "vector" ]
4f4b4f4b3713548059e342eec0ef79b58fb076e8
1,092
cpp
C++
source/data_model/python/src/different_shape/constant_shape/value.cpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
source/data_model/python/src/different_shape/constant_shape/value.cpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
source/data_model/python/src/different_shape/constant_shape/value.cpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
#include "submodule.hpp" #include "lue/array/different_shape/constant_shape/value.hpp" #include "lue/py/data_model/conversion.hpp" #include <pybind11/pybind11.h> namespace py = pybind11; using namespace pybind11::literals; namespace lue { namespace data_model { namespace different_shape { namespace constant_shape {...
19.854545
71
0.570513
[ "shape" ]
4f4ce1def5a0ee743f61f7b1e0bc36883c3d3b40
3,054
cc
C++
src/ppl/nn/engines/riscv/optimizer/ops/onnx/non_max_suppression_op.cc
tangyanf/ppl.nn
744ac02e7d6e363522dc629b35db8a5eca2e7c3c
[ "Apache-2.0" ]
null
null
null
src/ppl/nn/engines/riscv/optimizer/ops/onnx/non_max_suppression_op.cc
tangyanf/ppl.nn
744ac02e7d6e363522dc629b35db8a5eca2e7c3c
[ "Apache-2.0" ]
null
null
null
src/ppl/nn/engines/riscv/optimizer/ops/onnx/non_max_suppression_op.cc
tangyanf/ppl.nn
744ac02e7d6e363522dc629b35db8a5eca2e7c3c
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
40.184211
115
0.707924
[ "vector" ]
4f527afd56942dd6d3d66469efef8cba5c9e169b
16,925
hpp
C++
include/GlobalNamespace/BeatmapDifficultyDropdown.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/BeatmapDifficultyDropdown.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/BeatmapDifficultyDropdown.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Mo...
67.7
529
0.775716
[ "object", "vector" ]
4f53e356ce38db04cf7f21a86d94651755cbd8d3
20,202
cpp
C++
plugins/datatools/src/table/CSVDataSource.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
49
2017-08-23T13:24:24.000Z
2022-03-16T09:10:58.000Z
plugins/datatools/src/table/CSVDataSource.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
200
2018-07-20T15:18:26.000Z
2022-03-31T11:01:44.000Z
plugins/datatools/src/table/CSVDataSource.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
31
2017-07-31T16:19:29.000Z
2022-02-14T23:41:03.000Z
/* * CSVDataSource.cpp * * Copyright (C) 2015-2016 by CGV (TU Dresden) * Alle Rechte vorbehalten. */ #include "CSVDataSource.h" #include "stdafx.h" #include "mmcore/CoreInstance.h" #include "mmcore/param/BoolParam.h" #include "mmcore/param/ButtonParam.h" #include "mmcore/param/EnumParam.h" #include "mmcore/param...
38.85
119
0.526037
[ "vector" ]