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
ee5069335c1af5dc4c16de0ec309253dbe19311d
8,044
cpp
C++
image_converter.cpp
varunrufus/Autonomous-Stereo-vision-vehicle
9d7b176bbff9b6051cc083c98d1250cdd3fadfbd
[ "MIT" ]
null
null
null
image_converter.cpp
varunrufus/Autonomous-Stereo-vision-vehicle
9d7b176bbff9b6051cc083c98d1250cdd3fadfbd
[ "MIT" ]
null
null
null
image_converter.cpp
varunrufus/Autonomous-Stereo-vision-vehicle
9d7b176bbff9b6051cc083c98d1250cdd3fadfbd
[ "MIT" ]
null
null
null
#include "ros/ros.h" #include "std_msgs/String.h" #include "std_msgs/Int16.h" #include <sstream> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include <sensor_msgs/image_encodings.h> #include <opencv2/objdetect/objdetect.hpp> #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgp...
21.740541
117
0.568996
[ "shape", "vector" ]
ee57efec20531b00c3d92310456e7889eae474a6
16,168
hpp
C++
include/System/Reflection/EventInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Reflection/EventInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Reflection/EventInfo.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.Reflection.MemberInfo #inclu...
58.792727
218
0.750619
[ "object", "vector" ]
ee65bf56d8712c151ee9bf462fbf347f40e13c0a
1,060
hpp
C++
stitchup/lib/src/simplestitcher.hpp
dbath/stitchup
230d14b5269c67468795f83303ed7e4eb4b75600
[ "BSD-3-Clause" ]
11
2018-10-16T12:00:09.000Z
2021-11-15T12:56:40.000Z
stitchup/lib/src/simplestitcher.hpp
dbath/stitchup
230d14b5269c67468795f83303ed7e4eb4b75600
[ "BSD-3-Clause" ]
3
2018-10-04T13:13:37.000Z
2019-02-08T12:54:31.000Z
stitchup/lib/src/simplestitcher.hpp
dbath/stitchup
230d14b5269c67468795f83303ed7e4eb4b75600
[ "BSD-3-Clause" ]
2
2019-06-17T08:47:30.000Z
2019-10-20T08:19:26.000Z
#include "opencv2/core.hpp" #include "stitcher2.hpp" #include <string> namespace lb { class SimpleStitcher { public: SimpleStitcher(bool use_gpu=false, std::string estimator_type="homography", std::string matcher_type="homography", std::string warp_type="...
30.285714
75
0.695283
[ "vector" ]
ee6662dae9a6f1d801f65f7f2bc8ba2590aa2e44
2,308
cpp
C++
pointer6/main_ptr_arrays.cpp
Htet-Myat-Kyaw/learning-cpp
8095cefe6e421cbb7e8427b7626d38965c6bf359
[ "Apache-2.0" ]
null
null
null
pointer6/main_ptr_arrays.cpp
Htet-Myat-Kyaw/learning-cpp
8095cefe6e421cbb7e8427b7626d38965c6bf359
[ "Apache-2.0" ]
null
null
null
pointer6/main_ptr_arrays.cpp
Htet-Myat-Kyaw/learning-cpp
8095cefe6e421cbb7e8427b7626d38965c6bf359
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; // SIMPLE VARS // class Dog{ public: int age; const char* name; }; // ARRAYS // int ages[3] = {100,202,3330}; int* pAges= ages; /* NO & */ char letters[] = {'a', 'b', 'c', 'd', 'e'}; char* pLetters= letters; /* NO & */ const char* s...
25.932584
129
0.414645
[ "object" ]
ee6e655cb60e54d51e8062874afe15c4cc1988bb
4,396
cc
C++
external/netdef_models/lmbspecialops/src/decode_flo_op.cc
zhuhu00/MOTSFusion_modify
190224a7c3fbded69fedf9645a0ebbf08227fb6d
[ "MIT" ]
null
null
null
external/netdef_models/lmbspecialops/src/decode_flo_op.cc
zhuhu00/MOTSFusion_modify
190224a7c3fbded69fedf9645a0ebbf08227fb6d
[ "MIT" ]
null
null
null
external/netdef_models/lmbspecialops/src/decode_flo_op.cc
zhuhu00/MOTSFusion_modify
190224a7c3fbded69fedf9645a0ebbf08227fb6d
[ "MIT" ]
null
null
null
// // lmbspecialops - a collection of tensorflow ops // Copyright (C) 2017 Albert Ludwigs University of Freiburg, Pattern Recognition and Image Processing, Computer Vision Group // Author(s): Lukas Voegtle <voegtlel@tf.uni-freiburg.de> // // This program is free software: you can redistribute it and/or modify // ...
40.703704
126
0.644677
[ "shape" ]
ee6e65c4ef34121af8648df4315a5f4b7b746edf
10,168
cc
C++
closed/NVIDIA/code/harness/harness_gnmt_server/GNMTSUT.cc
EldritchJS/inference_results_v0.5
5552490e184d9fc342d871fcc410ac423ea49053
[ "Apache-2.0" ]
null
null
null
closed/NVIDIA/code/harness/harness_gnmt_server/GNMTSUT.cc
EldritchJS/inference_results_v0.5
5552490e184d9fc342d871fcc410ac423ea49053
[ "Apache-2.0" ]
null
null
null
closed/NVIDIA/code/harness/harness_gnmt_server/GNMTSUT.cc
EldritchJS/inference_results_v0.5
5552490e184d9fc342d871fcc410ac423ea49053
[ "Apache-2.0" ]
1
2019-12-05T18:53:17.000Z
2019-12-05T18:53:17.000Z
/* * Copyright (c) 2019, NVIDIA CORPORATION. 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 requi...
34.467797
164
0.658537
[ "vector", "model" ]
ee6ffd18c88dab75f5c8ca59efe38d143a4d5715
499
cpp
C++
Dataset/Leetcode/train/75/309.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/75/309.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/75/309.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: void XXX(vector<int>& nums) { int pos = solve(nums, 0, 0); solve(nums, 1, pos); } int solve(vector<int>& nums, int tag, int start) { int pos = start; for(int i = pos, j = pos; j < nums.size(); ++j) { if(nums[j] == tag) { in...
22.681818
57
0.376754
[ "vector" ]
ee709ff4ac1a0d0df24f5e11c9f344cee41ea695
6,694
hpp
C++
dart/constraint/ContactSurface.hpp
ignition-forks/dart
f1821780e93f34cdd4c138c1a2b3e558e0e72cbe
[ "BSD-2-Clause" ]
4
2020-11-02T16:20:26.000Z
2021-11-24T08:57:39.000Z
dart/constraint/ContactSurface.hpp
ignition-forks/dart
f1821780e93f34cdd4c138c1a2b3e558e0e72cbe
[ "BSD-2-Clause" ]
11
2020-10-23T00:10:21.000Z
2021-11-09T05:41:04.000Z
dart/constraint/ContactSurface.hpp
ignition-forks/dart
f1821780e93f34cdd4c138c1a2b3e558e0e72cbe
[ "BSD-2-Clause" ]
2
2020-11-02T15:39:44.000Z
2021-06-23T03:11:22.000Z
/* * Copyright (c) 2021, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/master/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source and binary forms, with o...
39.845238
95
0.767852
[ "object" ]
ee7155588ed11542ffa299a712fd6e5565a34de9
6,350
cpp
C++
applications/DemStructuresCouplingApplication/custom_conditions/line_load_from_DEM_condition_2d.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
applications/DemStructuresCouplingApplication/custom_conditions/line_load_from_DEM_condition_2d.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
applications/DemStructuresCouplingApplication/custom_conditions/line_load_from_DEM_condition_2d.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: Ignasi de Pouplana // // Proj...
37.134503
163
0.566457
[ "geometry", "vector" ]
ee7759ea01381c26e761f5186b28591f9e279364
3,778
hpp
C++
src/algorithms/path_jaccard.hpp
vgteam/dgraph
c39e10cbb25bdaee0a36e021effbc61413dc9c8a
[ "MIT" ]
60
2019-03-04T13:32:46.000Z
2021-02-23T02:32:54.000Z
src/algorithms/path_jaccard.hpp
vgteam/dgraph
c39e10cbb25bdaee0a36e021effbc61413dc9c8a
[ "MIT" ]
120
2019-03-08T18:06:37.000Z
2021-03-18T09:12:16.000Z
src/algorithms/path_jaccard.hpp
vgteam/dgraph
c39e10cbb25bdaee0a36e021effbc61413dc9c8a
[ "MIT" ]
18
2019-04-03T09:50:57.000Z
2021-02-23T14:55:55.000Z
#pragma once #include "algorithms/stepindex.hpp" #include "algorithms/tips_bed_writer_thread.hpp" #include <omp.h> #include "hash_map.hpp" /** * \file path_jaccard.hpp * * Defines algorithms for the calculation of the path jaccard concept, an alignment-free local sequence similarity threshold. */ namespace odgi ...
49.064935
175
0.71387
[ "vector" ]
ee7762264b23f8103f80b0e8e0027523144adf9d
7,328
cpp
C++
Vision/mpeg_forward/wang_dct/wang_fdct.cpp
pooyaww/Vivado_HLS_Samples
6dc48bded1fc577c99404fc99c5089ae7279189a
[ "BSD-3-Clause" ]
326
2016-07-06T01:50:43.000Z
2022-03-31T21:50:19.000Z
Vision/mpeg_forward/wang_dct/wang_fdct.cpp
asicguy/HLx_Examples
249406bf7718c33d10a837ddd2ee71a683d481e8
[ "BSD-3-Clause" ]
10
2017-04-05T16:02:19.000Z
2021-06-09T14:26:40.000Z
Vision/mpeg_forward/wang_dct/wang_fdct.cpp
asicguy/HLx_Examples
249406bf7718c33d10a837ddd2ee71a683d481e8
[ "BSD-3-Clause" ]
192
2016-08-31T09:15:18.000Z
2022-03-01T11:28:12.000Z
/************************************************ Copyright (c) 2016, Xilinx, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright noti...
28.403101
113
0.651201
[ "transform" ]
ee78ef101623c21cf23d9ccc54883592e615dbc5
42,013
cpp
C++
src/xtalopt/genetic.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
23
2017-09-01T04:35:02.000Z
2022-01-16T13:51:17.000Z
src/xtalopt/genetic.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
20
2017-08-29T15:29:46.000Z
2022-01-20T09:10:59.000Z
src/xtalopt/genetic.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
21
2017-06-15T03:11:34.000Z
2022-02-28T05:20:44.000Z
/********************************************************************** XtalOptGenetic - Tools neccessary for genetic structure optimization Copyright (C) 2009-2011 by David C. Lonie This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in wri...
34.046191
80
0.587199
[ "vector", "transform" ]
ee7fbbbbbbeeabbb99a54b76fa58182f5d1141ff
721
cpp
C++
[198] House Robber/198.house-robber.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
[198] House Robber/198.house-robber.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
[198] House Robber/198.house-robber.cpp
Coolzyh/Leetcode
4abf685501427be0ce36b83016c4fa774cdf1a1a
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=198 lang=cpp * * [198] House Robber */ // @lc code=start class Solution { public: int rob(vector<int>& nums) { // // T(i): the maximum amount of money can rob from house 1 to i // vector<int> T(nums.size()+1, 0); // T[1] = nums[0]; // for (int i = 1; i <...
22.53125
73
0.453537
[ "vector" ]
ee88083a9cc353373ca6b22a68a9b7b011bffe4b
1,405
hpp
C++
src/objects/Quad.hpp
nemcek/pokemon-custom-evolution
cf3034fe72ae569e393ca40f1d5e2e04d55e92f4
[ "MIT" ]
null
null
null
src/objects/Quad.hpp
nemcek/pokemon-custom-evolution
cf3034fe72ae569e393ca40f1d5e2e04d55e92f4
[ "MIT" ]
null
null
null
src/objects/Quad.hpp
nemcek/pokemon-custom-evolution
cf3034fe72ae569e393ca40f1d5e2e04d55e92f4
[ "MIT" ]
null
null
null
// // Created by martin on 24.05.2016. // #ifndef POKEMON_CUSTOM_EVOLUTION_QUAD_HPP #define POKEMON_CUSTOM_EVOLUTION_QUAD_HPP #include <GL/glew.h> #include <glm/vec2.hpp> #include <engine/loaders/Loader.hpp> #include <images/BitMap.hpp> #include <engine/animation/animations/Animation.hpp> using namespace Engine; usi...
25.089286
97
0.67331
[ "vector" ]
ee8e71b13a8773abc73bc6a5c2b37ce3c52c3804
3,034
cpp
C++
src/utils/configuration.cpp
Jacques-Florence/SchedSim
cd5f356ec1d177963d401b69996a19a68646d7af
[ "BSD-3-Clause" ]
1
2019-12-24T19:07:19.000Z
2019-12-24T19:07:19.000Z
src/utils/configuration.cpp
Jacques-Florence/SchedSim
cd5f356ec1d177963d401b69996a19a68646d7af
[ "BSD-3-Clause" ]
null
null
null
src/utils/configuration.cpp
Jacques-Florence/SchedSim
cd5f356ec1d177963d401b69996a19a68646d7af
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright 2017 Jacques Florence * All rights reserved. * See License.txt file * */ #include "configuration.h" #include <cstring> #include <fstream> #include <iostream> #include <stdexcept> #include <string> using namespace Utils; Configuration::Configuration(std::string file) : filename(file) { std::c...
19.830065
103
0.683916
[ "vector" ]
ee9b13c3a25b78fefec42c96b0a1b4d351e26c3b
1,171
hpp
C++
source/houcor/include/hou/cor/std_set.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/houcor/include/hou/cor/std_set.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/houcor/include/hou/cor/std_set.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #ifndef HOU_COR_STD_SET_HPP #define HOU_COR_STD_SET_HPP #include "hou/cor/cor_config.hpp" #include "hou/cor/core_functions.hpp" #include <set> namespace hou { /** * Checks if the elements of two std::set objects are cl...
18.887097
74
0.681469
[ "object" ]
ee9d70a73b0c4d2542ff1b193b3ebe1f0a925437
5,998
cpp
C++
Source/HovercraftGangWars/HovercraftGangWarsPawn.cpp
chairnation/HovercraftGangWars
ffd34057a93af949892bcf34a9246791e2b2ff05
[ "Apache-2.0" ]
null
null
null
Source/HovercraftGangWars/HovercraftGangWarsPawn.cpp
chairnation/HovercraftGangWars
ffd34057a93af949892bcf34a9246791e2b2ff05
[ "Apache-2.0" ]
null
null
null
Source/HovercraftGangWars/HovercraftGangWarsPawn.cpp
chairnation/HovercraftGangWars
ffd34057a93af949892bcf34a9246791e2b2ff05
[ "Apache-2.0" ]
null
null
null
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. #include "HovercraftGangWarsPawn.h" #include "HovercraftGangWarsProjectile.h" #include "TimerManager.h" #include "UObject/ConstructorHelpers.h" #include "Camera/CameraComponent.h" #include "Components/StaticMeshComponent.h" #include "Components/InputComponen...
33.887006
161
0.773091
[ "mesh", "object", "vector" ]
eea25a01756a9391ffc7c6b212217eba123a3360
10,014
cpp
C++
Musquash.cpp
mls-m5/NoMaintenance
c54c702b658c6a3abe36ff2d175b5c923d4ca55f
[ "Apache-2.0" ]
null
null
null
Musquash.cpp
mls-m5/NoMaintenance
c54c702b658c6a3abe36ff2d175b5c923d4ca55f
[ "Apache-2.0" ]
null
null
null
Musquash.cpp
mls-m5/NoMaintenance
c54c702b658c6a3abe36ff2d175b5c923d4ca55f
[ "Apache-2.0" ]
null
null
null
/* * Musquash.cpp * * Created on: 30 jan 2013 * Author: mattias */ #include "Musquash.h" #include "common.h" #include "IBomb.h" #include "Guy.h" #include <math.h> #include "SmokeSpark.h" Musquash::~Musquash() { } void Musquash::TimeTab(){ int i; YSpeed = YSpeed + (15 - YSpeed) / 10; ; XPos = XPos + X...
24.665025
138
0.583084
[ "render" ]
eea5157b0b5ea0e808d0caf3144cdaf1560c23d3
6,570
cc
C++
paddle/fluid/compiler/piano/backends/llvm_ir/primitive_ir_emitter.cc
wzzju/Paddle
1353a5d0b40e7e34b812965ccda08796a1f1e398
[ "Apache-2.0" ]
null
null
null
paddle/fluid/compiler/piano/backends/llvm_ir/primitive_ir_emitter.cc
wzzju/Paddle
1353a5d0b40e7e34b812965ccda08796a1f1e398
[ "Apache-2.0" ]
9
2021-08-03T11:39:03.000Z
2021-09-16T08:03:58.000Z
paddle/fluid/compiler/piano/backends/llvm_ir/primitive_ir_emitter.cc
wzzju/Paddle
1353a5d0b40e7e34b812965ccda08796a1f1e398
[ "Apache-2.0" ]
1
2021-07-15T09:23:23.000Z
2021-07-15T09:23:23.000Z
// Copyright (c) 2021 PaddlePaddle 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...
34.946809
80
0.706697
[ "vector" ]
eeb16842e204ffae36990abd3e398310fbeca756
23,482
cc
C++
cpp/src/phonenumbers/phonenumber.pb.cc
openharmony-gitee-mirror/third_party_libphonenumber
1df9cfac4f2569391d0e904b89cb58cd3409f3be
[ "Apache-2.0" ]
null
null
null
cpp/src/phonenumbers/phonenumber.pb.cc
openharmony-gitee-mirror/third_party_libphonenumber
1df9cfac4f2569391d0e904b89cb58cd3409f3be
[ "Apache-2.0" ]
null
null
null
cpp/src/phonenumbers/phonenumber.pb.cc
openharmony-gitee-mirror/third_party_libphonenumber
1df9cfac4f2569391d0e904b89cb58cd3409f3be
[ "Apache-2.0" ]
1
2021-09-13T12:09:25.000Z
2021-09-13T12:09:25.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: phonenumber.proto #include "phonenumber.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/io/zero_copy_stream...
39.732657
161
0.729197
[ "object" ]
eeb445da4e8c43327e97fe03952aa05720f0ce4b
5,248
cpp
C++
DAW.cpp
pad918/DAW
10fa464bef9953b1dfdbe08974adc7217ccf0a88
[ "MIT" ]
null
null
null
DAW.cpp
pad918/DAW
10fa464bef9953b1dfdbe08974adc7217ccf0a88
[ "MIT" ]
null
null
null
DAW.cpp
pad918/DAW
10fa464bef9953b1dfdbe08974adc7217ccf0a88
[ "MIT" ]
null
null
null
#include "DAW.h" std::vector<Note> DAW::loadNotesFromTrack(TrackChunk & track, int timeDivision) { std::vector<Note> notes; float tickFraction = timeDivision * 2.0f; long time = 0; int program_change = 0; std::vector<Note> clickedNotes; auto events = track.getEvents(); for (auto event : events) { const Even...
25.6
98
0.627668
[ "render", "vector" ]
eeb8fbf5c0eec65de019db48edd69bf1f4df505e
1,710
cc
C++
graveyard/geoblend_help.cc
maxerbubba/visionworkbench
b06ba0597cd3864bb44ca52671966ca580c02af1
[ "Apache-2.0" ]
318
2015-01-02T16:37:34.000Z
2022-03-17T07:12:20.000Z
graveyard/geoblend_help.cc
maxerbubba/visionworkbench
b06ba0597cd3864bb44ca52671966ca580c02af1
[ "Apache-2.0" ]
39
2015-07-30T22:22:42.000Z
2021-03-23T16:11:55.000Z
graveyard/geoblend_help.cc
maxerbubba/visionworkbench
b06ba0597cd3864bb44ca52671966ca580c02af1
[ "Apache-2.0" ]
135
2015-01-19T00:57:20.000Z
2022-03-18T13:51:40.000Z
// __BEGIN_LICENSE__ // Copyright (c) 2006-2013, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NASA Vision Workbench is licensed under the Apache License, // Version 2.0 (the "License"); you may not use this f...
42.75
154
0.756725
[ "object" ]
eeba0c233bfc955375324c7e4388d5ae882c29a4
65,236
hh
C++
src/PBGWraps/Silo/SiloTypes.hh
as1m0n/spheral
4d72822f56aca76d70724c543d389d15ff6ca48e
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
19
2020-10-21T01:49:17.000Z
2022-03-15T12:29:17.000Z
src/PBGWraps/Silo/SiloTypes.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/PBGWraps/Silo/SiloTypes.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
5
2020-11-03T16:14:26.000Z
2022-01-03T19:07:24.000Z
#ifndef __PBGWRAPS_SILOTYPES__ #define __PBGWRAPS_SILOTYPES__ #include "Geometry/Dimension.hh" #include "Utilities/DBC.hh" #include "PBGWraps/CXXTypes/CXXTypes.hh" #include "silo.h" #include <stdio.h> #include <vector> #include <string> #include <algorithm> #include <numeric> #include <memory> namespace silo { //-...
38.149708
148
0.560994
[ "geometry", "vector", "transform" ]
eebbc83ace6be4edda861e44905e982f92adfa81
16,038
cpp
C++
Updated-Project-3/Unnamed.cpp
MjolnirValum/CS465-GROUP
16316bbf696417257c18d55a01e129baee4b7b1f
[ "MIT" ]
2
2020-02-26T05:21:34.000Z
2020-02-26T05:22:34.000Z
Updated-Project-3/Unnamed.cpp
MjolnirValum/CS465-GROUP
16316bbf696417257c18d55a01e129baee4b7b1f
[ "MIT" ]
null
null
null
Updated-Project-3/Unnamed.cpp
MjolnirValum/CS465-GROUP
16316bbf696417257c18d55a01e129baee4b7b1f
[ "MIT" ]
null
null
null
// // main.cpp // Project 1 // // Created by Clayton Johnsen on 2/6/20. // Copyright © 2020 Clayton C. Johnsen. All rights reserved. // //#include <GLUT/GLUT.h> //this was for MAC OS X #include <iostream> #define GL_SILENCE_DEPRECATION #include<gl\glew.h> #include<gl\freeglut.h> #include<gl/glut.h> /* 07FEB20 ...
31.633136
298
0.57769
[ "3d" ]
eebf09d79b30fa7f5384f3b7ec97454608e453f2
4,632
hpp
C++
examples/stdin_to_bin/cmd-switch.hpp
lostjared/cpp17_Examples
bd754ffca5e894d877624c45db64f9dda93d880a
[ "Unlicense" ]
20
2017-07-22T19:06:39.000Z
2021-07-12T06:46:24.000Z
examples/stdin_to_bin/cmd-switch.hpp
lostjared/cpp17_Examples
bd754ffca5e894d877624c45db64f9dda93d880a
[ "Unlicense" ]
null
null
null
examples/stdin_to_bin/cmd-switch.hpp
lostjared/cpp17_Examples
bd754ffca5e894d877624c45db64f9dda93d880a
[ "Unlicense" ]
7
2018-05-20T10:26:07.000Z
2021-07-12T04:11:18.000Z
// use form argument=value // so switch // --argument=value // or // --arguemnt="value 1 2 3" #ifndef __CMDSWITCH_HPP__ #define __CMDSWITCH_HPP__ #include<iostream> #include<string> #include<vector> #include<ctype.h> namespace cmd { template<typename T> class ArgExcep { public: ArgExcep(const T &...
26.930233
100
0.463299
[ "vector" ]
eec1abac99a5c4d52178f4f3d91b2f02cb53be77
100,696
cpp
C++
Client/UnityClientProject/TestBuild/UnityClientProject_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/System.Numerics.Vectors.cpp
Veydron/ClientServerArchitectur
60c36ceb364aadd92369160242ab3dea45ba478d
[ "MIT" ]
1
2021-03-07T03:24:37.000Z
2021-03-07T03:24:37.000Z
Client/UnityClientProject/TestBuild/UnityClientProject_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/System.Numerics.Vectors.cpp
Veydron/ClientServerArchitectur
60c36ceb364aadd92369160242ab3dea45ba478d
[ "MIT" ]
null
null
null
Client/UnityClientProject/TestBuild/UnityClientProject_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/System.Numerics.Vectors.cpp
Veydron/ClientServerArchitectur
60c36ceb364aadd92369160242ab3dea45ba478d
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "codegen/il2cpp-codegen.h" #include "il2cpp-object-internals.h" // Syste...
37.006983
223
0.80025
[ "object", "vector" ]
eeca404e89d61bb07fa5ee03f8a38d1b0622bcb5
11,235
cc
C++
mpsoc/vitis_ai_dnndk_samples/face_detection/src/main.cc
dendisuhubdy/Vitis-AI
524f65224c52314155dafc011d488ed30e458fcb
[ "Apache-2.0" ]
3
2020-10-29T15:00:30.000Z
2021-10-21T08:09:34.000Z
mpsoc/vitis_ai_dnndk_samples/face_detection/src/main.cc
dendisuhubdy/Vitis-AI
524f65224c52314155dafc011d488ed30e458fcb
[ "Apache-2.0" ]
20
2020-10-31T03:19:03.000Z
2020-11-02T18:59:49.000Z
mpsoc/vitis_ai_dnndk_samples/face_detection/src/main.cc
dendisuhubdy/Vitis-AI
524f65224c52314155dafc011d488ed30e458fcb
[ "Apache-2.0" ]
9
2020-10-14T02:04:10.000Z
2020-12-01T08:23:02.000Z
/* * Copyright 2019 Xilinx Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
32.008547
97
0.55968
[ "vector", "model" ]
eecd5d82bff5d2c8cb1bd1e1c1c3d72d659cc877
4,285
cpp
C++
source/testlist.cpp
lissylasagne/programmiersprachen-aufgabe-4
c4bcdd6a293dfef902acfd1f1daa34cc9bcc97f5
[ "MIT" ]
null
null
null
source/testlist.cpp
lissylasagne/programmiersprachen-aufgabe-4
c4bcdd6a293dfef902acfd1f1daa34cc9bcc97f5
[ "MIT" ]
null
null
null
source/testlist.cpp
lissylasagne/programmiersprachen-aufgabe-4
c4bcdd6a293dfef902acfd1f1daa34cc9bcc97f5
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_RUNNER #include <catch.hpp> #include <vector> #include <algorithm> #include "list.cpp" TEST_CASE("test lists", "[list]") { SECTION ("test default constructor, empty and size") { List<char> list; REQUIRE(list.size() == 0); REQUIRE(list.empty() == true); } SECTION ("push, pop, front and b...
19.930233
63
0.633139
[ "vector" ]
eece16da26b3f34cbe3cd9743b0027d43d5cfcff
834
cpp
C++
leetcode/1416. Restore The Array/s1.cpp
zhuohuwu0603/leetcode_cpp_lzl124631x
6a579328810ef4651de00fde0505934d3028d9c7
[ "Fair" ]
787
2017-05-12T05:19:57.000Z
2022-03-30T12:19:52.000Z
leetcode/1416. Restore The Array/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
8
2020-03-16T05:55:38.000Z
2022-03-09T17:19:17.000Z
leetcode/1416. Restore The Array/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
247
2017-04-30T15:07:50.000Z
2022-03-30T09:58:57.000Z
// OJ: https://leetcode.com/problems/restore-the-array/ // Author: github.com/lzl124631x // Time: O(N^2) // Space: O(N) class Solution { typedef long long LL; public: int numberOfArrays(string s, int k) { if (s[0] - '0' > k) return 0; int cnt = 0, tmp = k; while (tmp) { tmp /...
27.8
55
0.368106
[ "vector" ]
eed56eb7a6d2f0f679188614ff881eea5faa1081
3,337
hpp
C++
Week 7/Template Vector/VectorT.hpp
luchev/uni-object-oriented-programming-assistant-2019
ac60f3ab1c91fbf7afdb53009733e22eeec296a1
[ "MIT" ]
1
2021-02-27T12:23:56.000Z
2021-02-27T12:23:56.000Z
Week 7/Template Vector/VectorT.hpp
luchev/uni-object-oriented-programming-2019
ac60f3ab1c91fbf7afdb53009733e22eeec296a1
[ "MIT" ]
null
null
null
Week 7/Template Vector/VectorT.hpp
luchev/uni-object-oriented-programming-2019
ac60f3ab1c91fbf7afdb53009733e22eeec296a1
[ "MIT" ]
1
2021-08-04T11:21:21.000Z
2021-08-04T11:21:21.000Z
#ifndef VECTORT_H #define VECTORT_H #include <iostream> #include <limits.h> template <class T> class VectorT { private: size_t capacity; size_t currentEmpty; T* data; bool IsValidIndex(size_t Index); bool IsEmpty(); void copyData(T* From, T* To, size_t Count); bool increaseCapacity(size_t NewCapacity = SIZE_M...
18.436464
115
0.678454
[ "object" ]
eedaae9893754ae5e4f7b926c0ea11c02e36288a
3,420
cpp
C++
satSolvers/GlucoseHandle.cpp
jar-ben/unimus
d0854baffbb59e871a21318b3135c376ed560935
[ "MIT" ]
2
2021-04-27T09:21:45.000Z
2021-07-08T11:02:40.000Z
satSolvers/GlucoseHandle.cpp
jar-ben/unimus
d0854baffbb59e871a21318b3135c376ed560935
[ "MIT" ]
null
null
null
satSolvers/GlucoseHandle.cpp
jar-ben/unimus
d0854baffbb59e871a21318b3135c376ed560935
[ "MIT" ]
null
null
null
#include "core/misc.h" #include "satSolvers/GlucoseHandle.h" #include <sstream> #include <fstream> #include <sstream> #include <iostream> #include <ctime> #include <algorithm> #include <random> #include <stdlib.h> #include <time.h> #include <cstdio> #include <assert.h> using namespace CustomGlucose; using namesp...
24.428571
104
0.574561
[ "vector", "model" ]
4abb5193637c212dbedef32931d092610cb71238
4,270
cc
C++
src/kml/base/xmlns_test.cc
suraj-testing2/Light_saber_Shoe
8609edf7c8d13ae2ddb6eac2bca7c8e49c67a5f8
[ "BSD-3-Clause" ]
77
2015-01-05T14:26:13.000Z
2021-12-28T00:51:00.000Z
src/kml/base/xmlns_test.cc
suraj-testing2/Light_saber_Shoe
8609edf7c8d13ae2ddb6eac2bca7c8e49c67a5f8
[ "BSD-3-Clause" ]
116
2015-04-04T20:39:20.000Z
2022-02-15T12:05:00.000Z
src/kml/base/xmlns_test.cc
suraj-testing2/Light_saber_Shoe
8609edf7c8d13ae2ddb6eac2bca7c8e49c67a5f8
[ "BSD-3-Clause" ]
71
2015-02-14T10:54:05.000Z
2022-03-23T17:42:29.000Z
// Copyright 2008, Google Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions an...
40.666667
80
0.714988
[ "vector" ]
4abdd411489a31b1c729293ae29b1fcb47d0ffc4
614
cpp
C++
Dataset/Leetcode/train/22/619.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/22/619.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/22/619.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: vector<string>res; void DFS(string& s,int left,int right){//当前字符串,可用左右括号 if(left==0&&right==0){ res.push_back(s); return; }else{ if(left!=0){ s+="("; DFS(s,left-1,right); s.erase(s.end()...
21.928571
57
0.372964
[ "vector" ]
4ac68cc94c7979a4018614ba834a2ec424e74ce4
2,254
cpp
C++
src/cell_builder.cpp
Helveg/arbor-gui
e3c7320a1f542f33cf8d578acb45799b88d3443d
[ "BSD-3-Clause" ]
null
null
null
src/cell_builder.cpp
Helveg/arbor-gui
e3c7320a1f542f33cf8d578acb45799b88d3443d
[ "BSD-3-Clause" ]
null
null
null
src/cell_builder.cpp
Helveg/arbor-gui
e3c7320a1f542f33cf8d578acb45799b88d3443d
[ "BSD-3-Clause" ]
null
null
null
#include "cell_builder.hpp" #include "utils.hpp" cell_builder::cell_builder() : morph{}, pwlin{morph}, labels{}, provider{morph, labels} {}; cell_builder::cell_builder(const arb::morphology &t) : morph{t}, pwlin{morph}, labels{}, provider{morph, labels} {}; void cell_builder::make_label_dict(std::vector<ls_d...
32.666667
96
0.599823
[ "vector", "transform" ]
4ac7015ec6fb982a6fd7e597ed0c8581f375f5c5
9,612
cpp
C++
source/housys/test/hou/sys/test_binary_file_in.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/housys/test/hou/sys/test_binary_file_in.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/housys/test/hou/sys/test_binary_file_in.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Gae Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/test.hpp" #include "hou/sys/test_data.hpp" #include "hou/cor/span.hpp" #include "hou/sys/binary_file_in.hpp" #include "hou/sys/sys_exceptions.hpp" using namespace hou; using namespace testing; namespace { c...
27.62069
80
0.755202
[ "vector" ]
4ac91f50d147b9b175d9d05d91a8fdee1bf880aa
2,026
cpp
C++
boost/libs/range/test/adaptor_test/strided2.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
boost/libs/range/test/adaptor_test/strided2.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
boost/libs/range/test/adaptor_test/strided2.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
// Boost.Range library // // Copyright Neil Groves 2010. 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://www.boost.org/LICENSE_1_0.txt) // // // For more information, see http://www.boost.org/libs/range/ // ...
29.794118
88
0.668806
[ "vector" ]
4acd584efc02e65b2930e8b304dae328e6498be8
167,703
cxx
C++
com/ole32/com/moniker2/cfilemon.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/ole32/com/moniker2/cfilemon.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/ole32/com/moniker2/cfilemon.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1993 - 1993. // // File: cfilemon.cxx // // Contents: // // Classes: // // Functions: // // History: 12-27-93 ErikGav Commented // ...
27.384553
126
0.50308
[ "object" ]
4ad0b50acc02bc53b4fb0aea73dcefac06e672f6
1,763
cpp
C++
api/python/PE/objects/signature/attributes/pyGenericType.cpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
1
2022-02-26T00:28:52.000Z
2022-02-26T00:28:52.000Z
api/python/PE/objects/signature/attributes/pyGenericType.cpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
null
null
null
api/python/PE/objects/signature/attributes/pyGenericType.cpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 - 2022 R. Thomas * Copyright 2017 - 2022 Quarkslab * * 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 req...
28.435484
89
0.679524
[ "vector" ]
4ad4ab23b45a7d5307c9779d44458c3fd0cc8a8a
6,505
cpp
C++
tests/testAutopas/tests/containers/LinkedCellsVersusVerletListsTest.cpp
kruegener/AutoPas
75a49a209512a85843fd26a973cc1718444e64a6
[ "BSD-2-Clause" ]
null
null
null
tests/testAutopas/tests/containers/LinkedCellsVersusVerletListsTest.cpp
kruegener/AutoPas
75a49a209512a85843fd26a973cc1718444e64a6
[ "BSD-2-Clause" ]
2
2019-08-28T12:55:18.000Z
2019-11-06T22:50:50.000Z
tests/testAutopas/tests/containers/LinkedCellsVersusVerletListsTest.cpp
kruegener/AutoPas
75a49a209512a85843fd26a973cc1718444e64a6
[ "BSD-2-Clause" ]
null
null
null
/** * @file LinkedCellsVersusDirectSumTest.cpp * @author seckler * @date 21.05.18 */ #include "LinkedCellsVersusVerletListsTest.h" LinkedCellsVersusVerletListsTest::LinkedCellsVersusVerletListsTest() : _verletLists(nullptr), _linkedCells(nullptr) {} template <bool useNewton3, autopas::DataLayoutOption dataLayout...
47.137681
120
0.705457
[ "vector" ]
4ad9993c120f1bee1adac14e5da93e5967740373
9,478
cpp
C++
src/devices/sound/x1_010.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/sound/x1_010.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/sound/x1_010.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Luca Elia /*************************************************************************** -= Seta Hardware =- driver by Luca Elia (l.elia@tin.it) rewrite by Manbow-J(manbowj@hamal.freemail.ne.jp) ...
31.07541
147
0.561194
[ "vector" ]
4ae1259acd68f1013725742d7e818a378e8d1534
844
hpp
C++
gearoenix/render/camera/gx-rnd-cmr-orthographic.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/render/camera/gx-rnd-cmr-orthographic.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/render/camera/gx-rnd-cmr-orthographic.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_RENDER_CAMERA_ORTHOGRAPHIC_HPP #define GEAROENIX_RENDER_CAMERA_ORTHOGRAPHIC_HPP #include "gx-rnd-cmr-camera.hpp" namespace gearoenix::render::camera { class Orthographic : public Camera { private: double aspects_size = 1.0; void update_aspects_size() noexcept; void update_cascades() noexc...
38.363636
106
0.758294
[ "render" ]
4ae871af071cb2aa94311f2eae29f5e54f435488
7,910
cc
C++
tests/ut/ge/graph/build/stream_allocator_unittest.cc
mindspore-ai/graphengine
460406cbd691b963d125837f022be5d8abd1a637
[ "Apache-2.0" ]
207
2020-03-28T02:12:50.000Z
2021-11-23T18:27:45.000Z
tests/ut/ge/graph/build/stream_allocator_unittest.cc
mindspore-ai/graphengine
460406cbd691b963d125837f022be5d8abd1a637
[ "Apache-2.0" ]
4
2020-04-17T07:32:44.000Z
2021-06-26T04:55:03.000Z
tests/ut/ge/graph/build/stream_allocator_unittest.cc
mindspore-ai/graphengine
460406cbd691b963d125837f022be5d8abd1a637
[ "Apache-2.0" ]
13
2020-03-28T02:52:26.000Z
2021-07-03T23:12:54.000Z
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
41.413613
115
0.741087
[ "vector" ]
4af08476d300c9f52d3a8e9239e7e71dffbce82d
4,309
cc
C++
gripper_plugin.cc
AndersBogga/F651_Brute
1aac55b863293ba84d6534bf6f3ef5374dca44da
[ "Apache-2.0" ]
null
null
null
gripper_plugin.cc
AndersBogga/F651_Brute
1aac55b863293ba84d6534bf6f3ef5374dca44da
[ "Apache-2.0" ]
null
null
null
gripper_plugin.cc
AndersBogga/F651_Brute
1aac55b863293ba84d6534bf6f3ef5374dca44da
[ "Apache-2.0" ]
null
null
null
#ifndef _VELODYNE_PLUGIN_HH_ #define _VELODYNE_PLUGIN_HH_ #include <gazebo/gazebo.hh> #include <gazebo/physics/physics.hh> #include <gazebo/transport/transport.hh> #include <gazebo/msgs/msgs.hh> #include <thread> #include "ros/ros.h" #include "ros/callback_queue.h" #include "ros/subscribe_options.h" #include "std_msg...
39.172727
116
0.654444
[ "model" ]
ab0d819670a085bb9f3e52a1c2879af86baee8eb
6,683
cpp
C++
tgmm-paper/src/nucleiChSvWshedPBC/autoThreshold.cpp
msphan/tgmm-docker
bc417f4199801df9386817eba467026167320127
[ "Apache-2.0" ]
null
null
null
tgmm-paper/src/nucleiChSvWshedPBC/autoThreshold.cpp
msphan/tgmm-docker
bc417f4199801df9386817eba467026167320127
[ "Apache-2.0" ]
null
null
null
tgmm-paper/src/nucleiChSvWshedPBC/autoThreshold.cpp
msphan/tgmm-docker
bc417f4199801df9386817eba467026167320127
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2011-2015 by Fernando Amat * See license.txt for full license and copyright notice. * * Authors: Fernando Amat * autoThreshold.cpp * * Created on: January 7th, 2015 * Author: Fernando Amat * * \brief Simple functions to try to estimate global background threshold in stacks. Inspired...
27.845833
229
0.642675
[ "vector" ]
ab0e18eea6382cd875f3400f6230d634c49cd10a
17,584
cpp
C++
src/analysis/Analysis.cpp
FireDynamics/ARTSS
a700835be57ac1c99ed55c6664d36ecf8afda3d8
[ "MIT" ]
10
2020-03-25T10:15:09.000Z
2020-09-09T12:27:41.000Z
src/analysis/Analysis.cpp
FireDynamics/ARTSS
a700835be57ac1c99ed55c6664d36ecf8afda3d8
[ "MIT" ]
152
2020-03-25T10:18:02.000Z
2022-03-22T08:35:44.000Z
src/analysis/Analysis.cpp
FireDynamics/ARTSS
a700835be57ac1c99ed55c6664d36ecf8afda3d8
[ "MIT" ]
11
2020-03-25T21:29:50.000Z
2021-12-09T12:25:50.000Z
/// \file Analysis.cpp /// \brief Calculates residual, compares analytical and numerical solutions, saves variables /// \date Jul 11, 2016 /// \author Severt /// \copyright <2015-2020> Forschungszentrum Juelich GmbH. All rights reserved. #include <vector> #include <cmath> #include <fstream> #inc...
41.180328
129
0.541458
[ "vector" ]
ab0e77439cb1543d728fe3ead83995d09c71fdda
2,087
cpp
C++
src/Spectre.libFunctional.Tests/FindTest.cpp
spectre-team/native-algorithms
e5e4a65b52d44bc6c0efe68743eae83a08871664
[ "Apache-2.0" ]
null
null
null
src/Spectre.libFunctional.Tests/FindTest.cpp
spectre-team/native-algorithms
e5e4a65b52d44bc6c0efe68743eae83a08871664
[ "Apache-2.0" ]
36
2017-12-31T16:44:51.000Z
2018-08-03T21:18:46.000Z
src/Spectre.libFunctional.Tests/FindTest.cpp
spectre-team/native-algorithms
e5e4a65b52d44bc6c0efe68743eae83a08871664
[ "Apache-2.0" ]
null
null
null
/* * FindTest.cpp * Tests find function. * Copyright 2017 Grzegorz Mrukwa Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
28.986111
77
0.730235
[ "vector" ]
ab113355c02bd1c7262df9494392a016fddc6dc4
4,117
cpp
C++
moos-ivp/ivp/src/lib_apputil/ACBlock.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/lib_apputil/ACBlock.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/lib_apputil/ACBlock.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
/*****************************************************************/ /* NAME: Michael Benjamin */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: ACBlock.cpp */ /* DATE: Aug 30th 2012 ...
30.051095
74
0.506923
[ "vector" ]
ab1421b1e0afd4ab7d7edd8c69fb0ec9c36d1c4c
1,750
cpp
C++
Source/Oasis/Graphics/GL/GLVertexBuffer.cpp
nhamil/oasis-engine
b2d804abc3cb6360188a6890791acc9a24ddb194
[ "MIT" ]
1
2021-01-25T02:27:13.000Z
2021-01-25T02:27:13.000Z
Source/Oasis/Graphics/GL/GLVertexBuffer.cpp
nhamil/oasis
b2d804abc3cb6360188a6890791acc9a24ddb194
[ "MIT" ]
null
null
null
Source/Oasis/Graphics/GL/GLVertexBuffer.cpp
nhamil/oasis
b2d804abc3cb6360188a6890791acc9a24ddb194
[ "MIT" ]
null
null
null
#include "Oasis/Graphics/GL/GLVertexBuffer.h" #include "Oasis/Graphics/GL/GLGraphicsDevice.h" #include "Oasis/Graphics/GL/GLUtil.h" #include <string.h> #include <GL/glew.h> using namespace std; namespace Oasis { GLVertexBuffer::GLVertexBuffer(GLGraphicsDevice* graphics, int elemCount, const VertexFormat& forma...
22.727273
136
0.618286
[ "vector" ]
ab14640cfe3f0aab812840983770bfac193bba1f
10,279
cpp
C++
src/particle_filter.cpp
mkontz/CarND-Kidnapped-Vehicle-Project
7ac5edd81c3e392af97d113cad36e09d42cd558d
[ "MIT" ]
null
null
null
src/particle_filter.cpp
mkontz/CarND-Kidnapped-Vehicle-Project
7ac5edd81c3e392af97d113cad36e09d42cd558d
[ "MIT" ]
null
null
null
src/particle_filter.cpp
mkontz/CarND-Kidnapped-Vehicle-Project
7ac5edd81c3e392af97d113cad36e09d42cd558d
[ "MIT" ]
null
null
null
/** * particle_filter.cpp * * Created on: Dec 12, 2016 * Author: Tiffany Huang */ #include "particle_filter.h" #include <math.h> #include <algorithm> #include <iostream> #include <iterator> #include <numeric> #include <random> #include <string> #include <vector> #include <unordered_map> #include "helper_functio...
31.627692
109
0.640724
[ "vector", "transform" ]
ab146bce6a2c4a423c411f5dcc9c0c844a5690a5
2,503
cpp
C++
MulitSource Dijkstra/main.cpp
tanishkajain22/Graph_Algorithms
678e7fd2387160a6c7482bac8a8fa75949a4742d
[ "MIT" ]
14
2020-10-04T10:44:45.000Z
2022-01-02T07:40:24.000Z
MulitSource Dijkstra/main.cpp
tanishkajain22/Graph_Algorithms
678e7fd2387160a6c7482bac8a8fa75949a4742d
[ "MIT" ]
19
2020-10-04T10:09:24.000Z
2020-10-29T19:34:27.000Z
MulitSource Dijkstra/main.cpp
tanishkajain22/Graph_Algorithms
678e7fd2387160a6c7482bac8a8fa75949a4742d
[ "MIT" ]
39
2020-10-04T10:26:36.000Z
2021-11-29T17:59:34.000Z
/* We can see Multi Source Dijkstra as adding a dummy node to every source node having weight '0' and then apply normal single source dijkstra algorithm from that dummy source. */ #include<bits/stdc++.h> using namespace std; vector<int> MultiSource_dijkstra(vector<vector<int> > &adj, map<pair<int, int>, int> &mp, in...
28.443182
107
0.526169
[ "vector" ]
ab1546211b6c3040912b0440cbf1186fe127c474
12,577
cc
C++
src/Server/enclaveRecvDecoder.cc
debe-sgx/debe
641f2b6473fec8ebea301c533d5aab563e53bcbb
[ "MIT" ]
null
null
null
src/Server/enclaveRecvDecoder.cc
debe-sgx/debe
641f2b6473fec8ebea301c533d5aab563e53bcbb
[ "MIT" ]
null
null
null
src/Server/enclaveRecvDecoder.cc
debe-sgx/debe
641f2b6473fec8ebea301c533d5aab563e53bcbb
[ "MIT" ]
null
null
null
/** * @file enclaveRecvDecoder.cc * @author * @brief implement the interface of enclave-based recv decoder * @version 0.1 * @date 2021-02-28 * * @copyright Copyright (c) 2021 * */ #include "../../include/enclaveRecvDecoder.h" /** * @brief Construct a new Enclave Recv Decoder object * * @param fileNam...
37.655689
116
0.674803
[ "object" ]
ab19f1d7615e8f9c1d4d9932012a8cb39190acd4
2,330
cpp
C++
src/ex2.cpp
chennachaos/CutCellCGAL
98d68d4e9fef2c81680667352cd7398cd645ff06
[ "MIT" ]
1
2021-09-09T12:24:04.000Z
2021-09-09T12:24:04.000Z
src/ex2.cpp
chennachaos/CutCellCGAL
98d68d4e9fef2c81680667352cd7398cd645ff06
[ "MIT" ]
null
null
null
src/ex2.cpp
chennachaos/CutCellCGAL
98d68d4e9fef2c81680667352cd7398cd645ff06
[ "MIT" ]
null
null
null
#include "headersVTK.h" #include "headersBasic.h" #include "utilfuns.h" #include <algorithm> #include <iostream> #include <list> using namespace std; typedef double REAL; int main(int argc, char* argv[]) { char infile_coords[]="platethickshort-nodes-coords.dat"; ifstream infile(infile_coords); if(i...
20.26087
116
0.481974
[ "vector" ]
ab25f8f15c55cf5262a56da9623a75fa6fff47aa
1,979
cc
C++
garnet/lib/vulkan/tests/vkprimer/common/vulkan_framebuffer.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
null
null
null
garnet/lib/vulkan/tests/vkprimer/common/vulkan_framebuffer.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
5
2020-09-06T09:02:06.000Z
2022-03-02T04:44:22.000Z
garnet/lib/vulkan/tests/vkprimer/common/vulkan_framebuffer.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "vulkan_framebuffer.h" #include "utils.h" VulkanFramebuffer::VulkanFramebuffer( std::shared_ptr<VulkanLogicalDevice> device, const std::...
31.919355
80
0.689742
[ "vector" ]
ab2b3bf9ce01f0fcff45f751d06e59f227d62fe1
4,267
cpp
C++
dlls/ctf/CHUDIconTrigger.cpp
hammermaps/halflife-op4-updated
2463ad7e5446149eb67a8cea531a46e88a8368db
[ "Unlicense" ]
9
2020-05-10T01:25:44.000Z
2021-02-19T05:22:59.000Z
dlls/ctf/CHUDIconTrigger.cpp
hammermaps/halflife-op4-updated
2463ad7e5446149eb67a8cea531a46e88a8368db
[ "Unlicense" ]
12
2020-02-14T15:28:13.000Z
2021-02-12T15:59:37.000Z
dlls/ctf/CHUDIconTrigger.cpp
hammermaps/halflife-op4-updated
2463ad7e5446149eb67a8cea531a46e88a8368db
[ "Unlicense" ]
4
2020-09-10T17:34:22.000Z
2020-11-17T17:49:24.000Z
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object ...
24.953216
103
0.719709
[ "object", "model", "solid" ]
ab300219f83a0cebb78043e22f60ffd2a8993877
4,854
cpp
C++
Wrappers/wrapper.cpp
FrozenFish24/Silent-Hill-2-Enhancements
36c55524824c1e0bb3bdfcaac88ee4a564881a33
[ "Zlib" ]
null
null
null
Wrappers/wrapper.cpp
FrozenFish24/Silent-Hill-2-Enhancements
36c55524824c1e0bb3bdfcaac88ee4a564881a33
[ "Zlib" ]
null
null
null
Wrappers/wrapper.cpp
FrozenFish24/Silent-Hill-2-Enhancements
36c55524824c1e0bb3bdfcaac88ee4a564881a33
[ "Zlib" ]
null
null
null
/** * Copyright (C) 2020 Elisha Riedlinger * * This software is provided 'as-is', without any express or implied warranty. In no event will the * authors be held liable for any damages arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, including co...
23.22488
114
0.684796
[ "vector" ]
ab30b8bafffb89dfabb16cdb17a1da2cdb24d7a4
221,154
cpp
C++
src/prod/src/data/tstore/Enumeration.Test.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/data/tstore/Enumeration.Test.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/data/tstore/Enumeration.Test.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include ...
52.895001
191
0.641793
[ "object" ]
ab32200f0b7ebf25a060b9d3ad96df22b99fd191
3,620
hpp
C++
lib/core/include/irods_path_recursion.hpp
tempoz/irods
a64c5e9cfb86af725f8f20ae940591adef8e02f0
[ "BSD-3-Clause" ]
1
2020-05-31T17:00:37.000Z
2020-05-31T17:00:37.000Z
lib/core/include/irods_path_recursion.hpp
tempoz/irods
a64c5e9cfb86af725f8f20ae940591adef8e02f0
[ "BSD-3-Clause" ]
null
null
null
lib/core/include/irods_path_recursion.hpp
tempoz/irods
a64c5e9cfb86af725f8f20ae940591adef8e02f0
[ "BSD-3-Clause" ]
2
2015-10-29T03:37:30.000Z
2015-12-16T15:09:14.000Z
#ifndef IRODS_PATH_RECURSION_HPP #define IRODS_PATH_RECURSION_HPP #include "rodsPath.h" #include "parseCommandLine.h" #include <string> #include <sstream> #include <map> #include <iomanip> #include <chrono> #include <boost/filesystem.hpp> namespace irods { // When a directory structure is walked before the icom...
44.691358
129
0.682044
[ "object", "vector" ]
ab361b75567bed447b24d08ba7f4b6530ce34551
1,146
cpp
C++
native/cocos/core/geometry/Ray.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
native/cocos/core/geometry/Ray.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
native/cocos/core/geometry/Ray.cpp
SteveLau-GameDeveloper/engine
159e5acd0f5115a878d59ed59f924ce7627a5466
[ "Apache-2.0", "MIT" ]
null
null
null
#include "core/geometry/Ray.h" namespace cc { namespace geometry { Ray *Ray::create(float ox, float oy, float oz, float dx, float dy, float dz) { return new Ray{ox, oy, oz, dx, dy, dz}; } Ray *Ray::clone(const Ray &a) { return new Ray{ a.o.x, a.o.y, a.o.z, a.d.x, a.d.y, a.d.z}; } Ray *Ray::co...
22.038462
78
0.537522
[ "geometry" ]
ab38f99b4b9f15e07b032d6399fc17407be7a2e0
16,552
cpp
C++
browser/src/vts-librenderer/renderContext.cpp
ExploreWilder/vts-browser-cpp
2a2be1124551d4fdd71b812b7e71dd7b33414a94
[ "BSD-2-Clause" ]
27
2019-08-20T17:53:17.000Z
2022-03-27T01:52:24.000Z
browser/src/vts-librenderer/renderContext.cpp
ExploreWilder/vts-browser-cpp
2a2be1124551d4fdd71b812b7e71dd7b33414a94
[ "BSD-2-Clause" ]
15
2019-09-14T20:27:04.000Z
2022-03-31T15:43:55.000Z
browser/src/vts-librenderer/renderContext.cpp
ExploreWilder/vts-browser-cpp
2a2be1124551d4fdd71b812b7e71dd7b33414a94
[ "BSD-2-Clause" ]
13
2019-08-20T07:10:38.000Z
2022-01-10T05:06:00.000Z
/** * Copyright (c) 2017 Melown Technologies SE * * 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 the f...
37.363431
78
0.594067
[ "mesh" ]
ab3e8ab0cac39d6c75bf6bdb4fe61c63992db73a
88,310
hxx
C++
SmallUPBP/src/Renderers/UPBP.hxx
PetrVevoda/smallupbp
15430256733938d529a2f5c7ef4cdcd940ae4208
[ "MIT", "Apache-2.0", "Unlicense" ]
107
2015-01-27T22:01:49.000Z
2021-12-27T07:44:25.000Z
SmallUPBP/src/Renderers/UPBP.hxx
PetrVevoda/smallupbp
15430256733938d529a2f5c7ef4cdcd940ae4208
[ "MIT", "Apache-2.0", "Unlicense" ]
1
2015-03-17T18:53:59.000Z
2015-03-17T18:53:59.000Z
SmallUPBP/src/Renderers/UPBP.hxx
PetrVevoda/smallupbp
15430256733938d529a2f5c7ef4cdcd940ae4208
[ "MIT", "Apache-2.0", "Unlicense" ]
17
2015-03-12T19:11:30.000Z
2020-11-30T15:51:23.000Z
/* * Copyright (C) 2014, Petr Vevoda, Martin Sik (http://cgg.mff.cuni.cz/~sik/), * Tomas Davidovic (http://www.davidovic.cz), Iliyan Georgiev (http://www.iliyan.com/), * Jaroslav Krivanek (http://cgg.mff.cuni.cz/~jaroslav/) * * Permission is hereby granted, free of charge, to any person obtaining * a copy of th...
42.661836
467
0.712162
[ "geometry", "vector", "3d", "solid" ]
ab3e9a296336a39b577a8e051a3398e314b2a0fe
10,580
cpp
C++
dali/internal/update/nodes/node.cpp
dalihub/dali-core
f9b1a5a637bbc91de4aaf9e0be9f79cba0bbb195
[ "Apache-2.0", "BSD-3-Clause" ]
21
2016-11-18T10:26:40.000Z
2021-11-02T09:46:15.000Z
dali/internal/update/nodes/node.cpp
dalihub/dali-core
f9b1a5a637bbc91de4aaf9e0be9f79cba0bbb195
[ "Apache-2.0", "BSD-3-Clause" ]
7
2016-10-18T17:39:12.000Z
2020-12-01T11:45:36.000Z
dali/internal/update/nodes/node.cpp
dalihub/dali-core
f9b1a5a637bbc91de4aaf9e0be9f79cba0bbb195
[ "Apache-2.0", "BSD-3-Clause" ]
16
2017-03-08T15:50:32.000Z
2021-05-24T06:58:10.000Z
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
28.06366
140
0.72656
[ "object", "transform" ]
ab40cc0d8a09376683eb6b3949bf6f68f412df31
42,078
hpp
C++
lib/CraftXML.hpp
FusionBolt/CraftXML
52526223935508a78eb2ba0e2b76b2d590e3a50e
[ "MIT" ]
2
2021-03-03T13:20:37.000Z
2021-05-18T08:28:45.000Z
lib/CraftXML.hpp
FusionBolt/CraftXML
52526223935508a78eb2ba0e2b76b2d590e3a50e
[ "MIT" ]
null
null
null
lib/CraftXML.hpp
FusionBolt/CraftXML
52526223935508a78eb2ba0e2b76b2d590e3a50e
[ "MIT" ]
1
2021-05-18T08:28:49.000Z
2021-05-18T08:28:49.000Z
//// Copyright (C) 2020 FusionBolt //// This library distributed under the MIT License #ifndef CRAFT_XML_HPP #define CRAFT_XML_HPP #include <cassert> #include <fstream> #include <iostream> #include <map> #include <sstream> #include <stack> #include <string> #include <utility> #include <vector> #include "MemoryPool.h...
32.367692
136
0.401421
[ "vector" ]
ab480cafd5289303159beb806e01b731c28df5c8
82,300
cc
C++
compiler/utils/mips64/assembler_mips64.cc
lifansama/xposed_art_n
ec3fbe417d74d4664cec053d91dd4e3881176374
[ "MIT" ]
234
2017-07-18T05:30:27.000Z
2022-01-07T02:21:31.000Z
compiler/utils/mips64/assembler_mips64.cc
lifansama/xposed_art_n
ec3fbe417d74d4664cec053d91dd4e3881176374
[ "MIT" ]
21
2017-07-18T04:56:09.000Z
2018-08-10T17:32:16.000Z
compiler/utils/mips64/assembler_mips64.cc
lifansama/xposed_art_n
ec3fbe417d74d4664cec053d91dd4e3881176374
[ "MIT" ]
56
2017-07-18T10:37:10.000Z
2022-01-07T02:19:22.000Z
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
33.212268
104
0.670717
[ "object", "vector" ]
ab59cc64b31ada8bf2e26b2876fbb3fbfc03aec4
520
hh
C++
src/app/mesh.hh
gugurao/pastel
62df892d21dbbd1db8c637d0e9f84809f95d1cef
[ "Apache-2.0" ]
null
null
null
src/app/mesh.hh
gugurao/pastel
62df892d21dbbd1db8c637d0e9f84809f95d1cef
[ "Apache-2.0" ]
null
null
null
src/app/mesh.hh
gugurao/pastel
62df892d21dbbd1db8c637d0e9f84809f95d1cef
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include "vertex.hh" #include "texture.hh" class Mesh { public: Vector position; Vector rotation; Vector scale; std::vector<Vertex> vertices; std::vector<int> indices; Texture *texture; Mesh() { position = Vector(0, 0, 0); ...
16.25
53
0.532692
[ "mesh", "vector" ]
ab5b1d2b908c5b82121890d9b1fb1c6e498a8854
7,034
cpp
C++
admm_anderson_hard_zxu/src/TriEnergyTerm.cpp
bldeng/AA-ADMM
d954518e8e379c378fd40ac72e2bcc64ff01cc57
[ "BSD-3-Clause" ]
21
2019-11-07T15:05:32.000Z
2021-11-07T00:40:12.000Z
admm_anderson_hard_zxu/src/TriEnergyTerm.cpp
wangxihao/AA-ADMM
d954518e8e379c378fd40ac72e2bcc64ff01cc57
[ "BSD-3-Clause" ]
null
null
null
admm_anderson_hard_zxu/src/TriEnergyTerm.cpp
wangxihao/AA-ADMM
d954518e8e379c378fd40ac72e2bcc64ff01cc57
[ "BSD-3-Clause" ]
5
2019-11-29T02:47:26.000Z
2022-03-08T07:00:44.000Z
// Original work Copyright (c) 2017, University of Minnesota // Modified work Copyright 2019, Yue Peng // // ADMM-Elastic Uses the BSD 2-Clause License (http://www.opensource.org/licenses/BSD-2-Clause) // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the...
41.376471
122
0.649986
[ "vector" ]
ab5f068523dd35c3a4fdf981deb66f926c51fd93
1,885
cpp
C++
MyFiles/SEAGCD.cpp
manishSRM/solvedProblems
78492e51488605e46fd19bba472736825a2faf32
[ "Apache-2.0" ]
null
null
null
MyFiles/SEAGCD.cpp
manishSRM/solvedProblems
78492e51488605e46fd19bba472736825a2faf32
[ "Apache-2.0" ]
null
null
null
MyFiles/SEAGCD.cpp
manishSRM/solvedProblems
78492e51488605e46fd19bba472736825a2faf32
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <algorithm> #include <iostream> #include <cmath> #include <vector> #include <limits.h> #include <stack> #include <queue> #include <set> #include <map> #include <assert.h> #include <iostream> #include <utility> #include <string.h> #include <cstring> #include <cstdlib> #include <cstdio> #def...
21.666667
70
0.603183
[ "vector" ]
036714f233388b2bd4940d5f4edf174453481eec
18,554
cpp
C++
syn/core/ebnf.cpp
asmwarrior/syncpp
df34b95b308d7f2e6479087d629017efa7ab9f1f
[ "Apache-2.0" ]
1
2019-02-08T02:23:56.000Z
2019-02-08T02:23:56.000Z
syn/core/ebnf.cpp
asmwarrior/syncpp
df34b95b308d7f2e6479087d629017efa7ab9f1f
[ "Apache-2.0" ]
null
null
null
syn/core/ebnf.cpp
asmwarrior/syncpp
df34b95b308d7f2e6479087d629017efa7ab9f1f
[ "Apache-2.0" ]
1
2020-12-02T02:37:40.000Z
2020-12-02T02:37:40.000Z
/* * Copyright 2014 Anton Karmanov * * 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 agree...
24.445323
120
0.720707
[ "vector" ]
0368f3fc7034800c5e5c1554a3dcd668cfb7e62a
10,022
cpp
C++
civilization.cpp
darkoppressor/hestia
ba9790040004965e766b5b356406f5f2062d64a7
[ "MIT" ]
null
null
null
civilization.cpp
darkoppressor/hestia
ba9790040004965e766b5b356406f5f2062d64a7
[ "MIT" ]
null
null
null
civilization.cpp
darkoppressor/hestia
ba9790040004965e766b5b356406f5f2062d64a7
[ "MIT" ]
null
null
null
/* Copyright (c) 2015 Cheese and Bacon Games, LLC */ /* This file is licensed under the MIT License. */ /* See the file docs/LICENSE.txt for the full license text. */ #include "civilization.h" #include "game.h" #include "game_constants.h" #include <engine_strings.h> #include <engine.h> using namespace std; Civiliza...
26.373684
120
0.671124
[ "vector" ]
037c1c30128b8d089f15797a8343dd22227901b9
3,361
hpp
C++
src/core/include/openOR/Plugin/interface_cast.hpp
avinfinity/UnmanagedCodeSnippets
2bd848db88d7b271209ad30017c8f62307319be3
[ "MIT" ]
null
null
null
src/core/include/openOR/Plugin/interface_cast.hpp
avinfinity/UnmanagedCodeSnippets
2bd848db88d7b271209ad30017c8f62307319be3
[ "MIT" ]
null
null
null
src/core/include/openOR/Plugin/interface_cast.hpp
avinfinity/UnmanagedCodeSnippets
2bd848db88d7b271209ad30017c8f62307319be3
[ "MIT" ]
null
null
null
//**************************************************************************** // (c) 2008 - 2010 by the openOR Team //**************************************************************************** // The contents of this file are available under the GPL v2.0 license // or under the openOR commercial license. see // /D...
44.223684
133
0.573341
[ "object" ]
0380a06d30f28a1ee61f1291c8622482cb289053
11,862
cpp
C++
ledger/storage/StorageSetter.cpp
cyjseagull/bcos-ledger
e02e4807f452ab1a95fc309c758528f562a1e5f6
[ "Apache-2.0" ]
null
null
null
ledger/storage/StorageSetter.cpp
cyjseagull/bcos-ledger
e02e4807f452ab1a95fc309c758528f562a1e5f6
[ "Apache-2.0" ]
null
null
null
ledger/storage/StorageSetter.cpp
cyjseagull/bcos-ledger
e02e4807f452ab1a95fc309c758528f562a1e5f6
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2021 FISCO BCOS. * SPDX-License-Identifier: Apache-2.0 * 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.891803
163
0.665234
[ "vector" ]
0380c6c981dcf342a9891e8dd55809c17822fdfd
16,843
cpp
C++
BthPS3SetupHelper/Devcon.cpp
ViGEm/BthPS3
f83fe4065c677a3b6960edf3cb33446730e534c7
[ "BSD-3-Clause" ]
221
2020-04-01T00:47:18.000Z
2022-03-28T09:52:44.000Z
BthPS3SetupHelper/Devcon.cpp
henrypfhu/BthPS3
587c0524d2847ad94a561a0436aebeabc99b005a
[ "BSD-3-Clause" ]
27
2021-01-12T06:21:49.000Z
2022-03-26T13:11:56.000Z
BthPS3SetupHelper/Devcon.cpp
henrypfhu/BthPS3
587c0524d2847ad94a561a0436aebeabc99b005a
[ "BSD-3-Clause" ]
10
2020-06-16T02:27:18.000Z
2022-03-19T09:50:26.000Z
#include "Devcon.h" // // WinAPI // #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <SetupAPI.h> #include <tchar.h> #include <devguid.h> #include <newdev.h> #include <Shlwapi.h> // // STL // #include <vector> #include "LibraryHelper.hpp" // Helper function to build a multi-string from a vector<wstring> ...
21.239596
117
0.602802
[ "vector" ]
0389637eaa2f0827c356798d5770b77f16ca1201
1,778
cpp
C++
codeforces/1513/f/f.cpp
Shahraaz/CP_S5
2cfb5467841d660c1e47cb8338ea692f10ca6e60
[ "MIT" ]
3
2020-02-08T10:34:16.000Z
2020-02-09T10:23:19.000Z
codeforces/1513/f/f.cpp
Shahraaz/CP_S5
2cfb5467841d660c1e47cb8338ea692f10ca6e60
[ "MIT" ]
null
null
null
codeforces/1513/f/f.cpp
Shahraaz/CP_S5
2cfb5467841d660c1e47cb8338ea692f10ca6e60
[ "MIT" ]
2
2020-10-02T19:05:32.000Z
2021-09-08T07:01:49.000Z
#include <bits/stdc++.h> using namespace std; #ifdef LOCAL #include "/debug.h" #else #define db(...) #endif #define all(v) v.begin(), v.end() #define pb push_back using ll = long long; const int NAX = 2e5 + 5, MOD = 1000000007; void solveCase() { int n; cin >> n; vector<pair<int, int>> x, y; ll ans =...
20.436782
74
0.396513
[ "vector" ]
038eea0a3b3632a093f3392c221a1b01cd9290b3
7,726
cpp
C++
third_party/poco_1.5.3/Net/src/POP3ClientSession.cpp
0u812/roadrunner
f464c2649e388fa1f5a015592b0b29b65cc84b4b
[ "Apache-2.0" ]
50
2015-01-07T01:54:54.000Z
2021-01-15T00:41:48.000Z
3rdparty/poco/Net/src/POP3ClientSession.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
27
2015-01-06T05:45:55.000Z
2020-01-29T21:40:22.000Z
3rdparty/poco/Net/src/POP3ClientSession.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
39
2015-01-07T02:03:15.000Z
2021-01-15T00:41:50.000Z
// // POP3ClientSession.cpp // // $Id: //poco/1.4/Net/src/POP3ClientSession.cpp#1 $ // // Library: Net // Package: Mail // Module: POP3ClientSession // // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, free of charge, to any person or or...
25.49835
136
0.730261
[ "object" ]
039b90f576cb666d5ae9c5988503d249440df0c9
12,485
cc
C++
ocean/test/boundary_test.cc
fraclipe/UnderSeaModelingLibrary
52ef9dd03c7cbe548749e4527190afe7668ff4e7
[ "BSD-2-Clause" ]
1
2021-02-07T14:48:22.000Z
2021-02-07T14:48:22.000Z
ocean/test/boundary_test.cc
Wolframy-NUDT/UnderSeaModelingLibrary
43365639b435841e1bf2297cf1ac575b8cf91932
[ "BSD-2-Clause" ]
null
null
null
ocean/test/boundary_test.cc
Wolframy-NUDT/UnderSeaModelingLibrary
43365639b435841e1bf2297cf1ac575b8cf91932
[ "BSD-2-Clause" ]
null
null
null
/** * @example ocean/test/boundary_test.cc */ #include <boost/test/unit_test.hpp> #include <usml/netcdf/netcdf_files.h> #include <usml/ocean/ocean.h> #include <fstream> BOOST_AUTO_TEST_SUITE(boundary_test) using namespace boost::unit_test; using namespace usml::netcdf; using namespace usml::ocean; /** * @ingroup ...
36.612903
108
0.618502
[ "vector", "model" ]
039e61ad75f6b7a4efe3b1112bc1e6ec7ae381eb
10,883
hpp
C++
generic_ext/comm_tool_gather.hpp
Tokumasu-Lab/md_fdps
eb9ba6baa8ac2dba86ae74fa6104a38e18d045ff
[ "MIT" ]
null
null
null
generic_ext/comm_tool_gather.hpp
Tokumasu-Lab/md_fdps
eb9ba6baa8ac2dba86ae74fa6104a38e18d045ff
[ "MIT" ]
null
null
null
generic_ext/comm_tool_gather.hpp
Tokumasu-Lab/md_fdps
eb9ba6baa8ac2dba86ae74fa6104a38e18d045ff
[ "MIT" ]
null
null
null
/**************************************************************************************************/ /** * @file comm_tool_gather.hpp * @brief STL container wrapper for PS::Comm::gather() */ /**************************************************************************************************/ #pragma once #include <cas...
38.320423
137
0.518423
[ "vector" ]
03aa8c0ee39559b779114e594290655bb8eda1e1
4,338
cpp
C++
tests/CSPTests/DeviceHealthAttestationTest.cpp
mehrdad-shokri/iot-core-azure-dm-client
09c203f158c5f66a5bd2e508a7d50ac2e1372b89
[ "MIT" ]
52
2017-05-02T09:43:39.000Z
2021-11-11T18:32:46.000Z
tests/CSPTests/DeviceHealthAttestationTest.cpp
mehrdad-shokri/iot-core-azure-dm-client
09c203f158c5f66a5bd2e508a7d50ac2e1372b89
[ "MIT" ]
161
2017-04-07T19:04:26.000Z
2020-09-21T12:42:22.000Z
tests/CSPTests/DeviceHealthAttestationTest.cpp
mehrdad-shokri/iot-core-azure-dm-client
09c203f158c5f66a5bd2e508a7d50ac2e1372b89
[ "MIT" ]
67
2017-03-31T00:33:02.000Z
2021-03-06T00:34:33.000Z
/* Copyright 2017 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicen...
30.765957
161
0.694099
[ "vector" ]
03ab78f04bda682f55d2bec1f996a16abdf6bb9e
8,808
cpp
C++
src/epipolar_geometry.cpp
behnamasadi/OpenCVProjects
157c8d536c78c5660b64a23300a7aaf941584756
[ "BSD-3-Clause" ]
null
null
null
src/epipolar_geometry.cpp
behnamasadi/OpenCVProjects
157c8d536c78c5660b64a23300a7aaf941584756
[ "BSD-3-Clause" ]
null
null
null
src/epipolar_geometry.cpp
behnamasadi/OpenCVProjects
157c8d536c78c5660b64a23300a7aaf941584756
[ "BSD-3-Clause" ]
null
null
null
#include <opencv4/opencv2/opencv.hpp> #include <opencv4/opencv2/features2d.hpp> #include <iostream> #include <algorithm> //http://docs.opencv.org/3.0-beta/doc/py_tutorials/py_calib3d/py_epipolar_geometry/py_epipolar_geometry.html double max_dist; double min_dist; template <typename Type> Type calcMedian(std::vec...
30.905263
149
0.657243
[ "vector" ]
03b72b1d621108dd86b53789b4f441edae57166f
5,540
cpp
C++
demo/src/moveit_task_constructor_demo.cpp
gavanderhoorn/moveit_task_constructor
6eb8b0d64c82240c1a04149e01cd3a136c549232
[ "BSD-3-Clause" ]
27
2020-03-02T14:32:50.000Z
2021-10-21T13:12:02.000Z
demo/src/moveit_task_constructor_demo.cpp
tylerjw/moveit_task_constructor
145bec1ed3b6639d0b937b155e362e063860f4b3
[ "BSD-3-Clause" ]
3
2020-03-12T08:10:16.000Z
2021-10-06T00:22:32.000Z
demo/src/moveit_task_constructor_demo.cpp
tylerjw/moveit_task_constructor
145bec1ed3b6639d0b937b155e362e063860f4b3
[ "BSD-3-Clause" ]
8
2020-03-13T20:52:23.000Z
2022-01-12T11:15:47.000Z
/********************************************************************* * BSD 3-Clause License * * Copyright (c) 2019 PickNik LLC. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Re...
40.437956
119
0.745487
[ "object", "vector" ]
03bb6ba2babc098da78e12ec8f40a9631be53beb
11,757
cpp
C++
test/search_run_test/main.cpp
GanonKuppa/kuwaganon
91ef0b0021e2fc4474f4f439d697f53e02872b44
[ "MIT" ]
null
null
null
test/search_run_test/main.cpp
GanonKuppa/kuwaganon
91ef0b0021e2fc4474f4f439d697f53e02872b44
[ "MIT" ]
2
2019-09-19T00:02:52.000Z
2019-09-19T00:03:39.000Z
test/search_run_test/main.cpp
GanonKuppa/kuwaganon
91ef0b0021e2fc4474f4f439d697f53e02872b44
[ "MIT" ]
null
null
null
#include <chrono> #include <iostream> #include <memory> #include <time.h> #include "sendData2WebApp.h" #include "maze.h" #include "communication.h" #include "pathCalculation.h" #include "pathCompression.h" #include "trajectoryCommander.h" #include "turnParameter.h" #include "mazeArchive.h" #include <windows.h> using ...
35.735562
122
0.595305
[ "vector" ]
03bcb17472c5e13841f7e7eeae6b9fd5a5dcd5b4
5,071
cpp
C++
VectorDemo/VectorDemo/main.cpp
nchkdxlq/CPPStudy
58e44426cdc807fe8d16b07b45eb37d795d6d63e
[ "MIT" ]
null
null
null
VectorDemo/VectorDemo/main.cpp
nchkdxlq/CPPStudy
58e44426cdc807fe8d16b07b45eb37d795d6d63e
[ "MIT" ]
null
null
null
VectorDemo/VectorDemo/main.cpp
nchkdxlq/CPPStudy
58e44426cdc807fe8d16b07b45eb37d795d6d63e
[ "MIT" ]
null
null
null
// // main.cpp // VectorDemo // // Created by nchkdxlq on 2017/4/22. // Copyright © 2017年 nchkdxlq. All rights reserved. // #include <iostream> #include <vector> #include <string> using std::vector; using std::string; using std::cout; using std::cin; using std::endl; /*******************************************...
23.476852
78
0.561231
[ "vector" ]
03bd4548566f44417108252fb4001ebe5471a108
152
cpp
C++
Kth_largest_element_in_an_array.cpp
shalini264/Coding-problem-solutions
77e8b12b771d24e62f4268d6ba8f29f592770bd9
[ "MIT" ]
4
2021-07-11T20:13:56.000Z
2022-02-19T17:22:42.000Z
Kth_largest_element_in_an_array.cpp
shalini264/long-challenge-solutions-in-my-way
77e8b12b771d24e62f4268d6ba8f29f592770bd9
[ "MIT" ]
null
null
null
Kth_largest_element_in_an_array.cpp
shalini264/long-challenge-solutions-in-my-way
77e8b12b771d24e62f4268d6ba8f29f592770bd9
[ "MIT" ]
null
null
null
class Solution { public: int findKthLargest(vector<int>& nums, int k) { sort(nums.rbegin(),nums.rend()); return nums[k-1]; } };
19
50
0.572368
[ "vector" ]
03bda7b0bc9220233a3499850a2b17542fee9d2e
10,481
cxx
C++
StRoot/StFgtPool/StEEmcFgt/StEEmcFgtCorrelatorA.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StFgtPool/StEEmcFgt/StEEmcFgtCorrelatorA.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StFgtPool/StEEmcFgt/StEEmcFgtCorrelatorA.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/*************************************************************************** * * $Id: StEEmcFgtCorrelatorA.cxx,v 1.2 2012/05/09 21:11:58 sgliske Exp $ * Author: S. Gliske, May 2012 * *************************************************************************** * * Description: see header * **********************...
33.167722
150
0.548803
[ "geometry", "shape", "vector", "3d" ]
03bfcfe37fafda1b63ee0d16005fab8d2c7e4c25
23,343
hpp
C++
src/metaSMT/support/parser/Command.hpp
finnhaedicke/metaSMT
949245da0bf0f3c042cb589aaea5d015e2ed9e9a
[ "MIT" ]
33
2015-04-09T14:14:25.000Z
2022-03-27T08:55:58.000Z
src/metaSMT/support/parser/Command.hpp
finnhaedicke/metaSMT
949245da0bf0f3c042cb589aaea5d015e2ed9e9a
[ "MIT" ]
28
2015-03-13T14:21:33.000Z
2019-04-02T07:59:34.000Z
src/metaSMT/support/parser/Command.hpp
finnhaedicke/metaSMT
949245da0bf0f3c042cb589aaea5d015e2ed9e9a
[ "MIT" ]
9
2015-04-22T18:10:51.000Z
2021-08-06T12:44:12.000Z
#pragma once #include "get_index.hpp" #include "has_attribute.hpp" #include "UTreeToString.hpp" #include "../SimpleSymbolTable.hpp" #include "../../tags/Cardinality.hpp" #include "../../API/Assertion.hpp" #include "../../API/Options.hpp" #include "../../API/Stack.hpp" #include "../../io/SMT2_ResultParser.hpp" #include ...
34.531065
107
0.535964
[ "vector" ]
03c566ce9df93eaa5ab7541731c8d2a6a4febc1b
5,282
hpp
C++
tests/persistance/test_data.hpp
Nexusoft/LLL-HPP
e5eec2fc402ac222d5b81438f3f3e8e490ba869d
[ "MIT" ]
1
2021-12-06T15:05:28.000Z
2021-12-06T15:05:28.000Z
tests/persistance/test_data.hpp
Nexusoft/LLL-HPP
e5eec2fc402ac222d5b81438f3f3e8e490ba869d
[ "MIT" ]
null
null
null
tests/persistance/test_data.hpp
Nexusoft/LLL-HPP
e5eec2fc402ac222d5b81438f3f3e8e490ba869d
[ "MIT" ]
1
2021-08-28T23:31:55.000Z
2021-08-28T23:31:55.000Z
#ifndef TESTS_PERSISTANCE_TEST_DATA_HPP #define TESTS_PERSISTANCE_TEST_DATA_HPP #include <string> #include <vector> #include <fstream> #include <cstdio> #include <sqlite/sqlite3.h> namespace { class Test_data { public: Test_data() { std::ifstream f(m_db_filename); if (!f.good()) { system("create_test_sq...
27.367876
118
0.715638
[ "vector" ]
03c8a7795363f48382f6a0aea9487ce247d4b9fa
5,219
hpp
C++
shift/network/public/shift/network/network_host.hpp
cspanier/shift
5b3b9be310155fbc57d165d06259b723a5728828
[ "Apache-2.0" ]
2
2018-11-28T18:14:08.000Z
2020-08-06T07:44:36.000Z
shift/network/public/shift/network/network_host.hpp
cspanier/shift
5b3b9be310155fbc57d165d06259b723a5728828
[ "Apache-2.0" ]
4
2018-11-06T21:01:05.000Z
2019-02-19T07:52:52.000Z
shift/network/public/shift/network/network_host.hpp
cspanier/shift
5b3b9be310155fbc57d165d06259b723a5728828
[ "Apache-2.0" ]
null
null
null
#ifndef NEWORK_NETWORKHOST_H #define NEWORK_NETWORKHOST_H #include <cstdint> #include <chrono> #include <memory> #include <atomic> #include <functional> #include <string> #include <shift/core/boost_disable_warnings.hpp> #include <boost/system/error_code.hpp> #include <boost/asio/ip/address.hpp> #include <boost/asio/ip...
32.416149
80
0.722935
[ "vector" ]
03ce056889680b0a6b4913df05f51b5f966875f0
2,264
cc
C++
supersonic/cursor/infrastructure/ordering.cc
IssamElbaytam/supersonic
062a48ddcb501844b25a8ae51bd777fcf7ac1721
[ "Apache-2.0" ]
201
2015-03-18T21:55:00.000Z
2022-03-03T01:48:26.000Z
supersonic/cursor/infrastructure/ordering.cc
IssamElbaytam/supersonic
062a48ddcb501844b25a8ae51bd777fcf7ac1721
[ "Apache-2.0" ]
6
2015-03-19T16:47:19.000Z
2020-10-05T09:38:26.000Z
supersonic/cursor/infrastructure/ordering.cc
IssamElbaytam/supersonic
062a48ddcb501844b25a8ae51bd777fcf7ac1721
[ "Apache-2.0" ]
54
2015-03-19T16:31:57.000Z
2021-12-31T10:14:57.000Z
// Copyright 2010 Google Inc. 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...
37.733333
75
0.704064
[ "vector" ]
03e982d478fca85e0f23826a9f05e803a6677206
17,019
cc
C++
chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2021 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/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h" #include "base/values.h" #include "chrome/browser/extens...
36.997826
96
0.713908
[ "vector" ]
03eb8d487e58c1eae5c69908fb4ed3d6e4378402
2,896
cpp
C++
src/RenderSystem/RenderableSetImpl.cpp
matherno/MathernoGL
9e1dba3fae38feda9e8ca259246dff500491d7af
[ "BSD-3-Clause" ]
1
2019-10-11T12:21:51.000Z
2019-10-11T12:21:51.000Z
src/RenderSystem/RenderableSetImpl.cpp
matherno/MathernoGL
9e1dba3fae38feda9e8ca259246dff500491d7af
[ "BSD-3-Clause" ]
null
null
null
src/RenderSystem/RenderableSetImpl.cpp
matherno/MathernoGL
9e1dba3fae38feda9e8ca259246dff500491d7af
[ "BSD-3-Clause" ]
null
null
null
// // Created by matherno on 17/11/17. // #include "RenderableSetImpl.h" #include "RenderUtils.h" RenderableSetImpl::RenderableSetImpl(uint id) : RenderableSet(id) { } void RenderableSetImpl::initialise(RenderContext* renderContext) { } void RenderableSetImpl::cleanUp(RenderContext* renderContext) { } ...
26.327273
104
0.707528
[ "render" ]
03ee6028717fb8f37574627db4cd257149a0859d
200
hpp
C++
include/Pieces/Bishop.hpp
NicolasAlmerge/chess_game
5f10d911cea40ac8d09cf418bdc14facaa1ecd4e
[ "MIT" ]
1
2022-02-05T10:38:48.000Z
2022-02-05T10:38:48.000Z
include/Pieces/Bishop.hpp
NicolasAlmerge/chess_game
5f10d911cea40ac8d09cf418bdc14facaa1ecd4e
[ "MIT" ]
null
null
null
include/Pieces/Bishop.hpp
NicolasAlmerge/chess_game
5f10d911cea40ac8d09cf418bdc14facaa1ecd4e
[ "MIT" ]
null
null
null
#pragma once #include "Piece.hpp" // Represents a bishop struct Bishop: public Piece { Bishop(Team, int, int); // Constructor vector<Move> calcPossibleMoves(Board& board_) const override; };
20
65
0.715
[ "vector" ]
03efec7a11217dd75ff8431c45b99ea30a650bba
15,112
cpp
C++
thirdparty/GeometricTools/WildMagic5/SamplePhysics/WaterDropFormation/WaterDropFormation.cpp
SoMa-Project/vision
ea8199d98edc363b2be79baa7c691da3a5a6cc86
[ "BSD-2-Clause-FreeBSD" ]
1
2020-07-24T23:40:01.000Z
2020-07-24T23:40:01.000Z
thirdparty/GeometricTools/WildMagic5/SamplePhysics/WaterDropFormation/WaterDropFormation.cpp
SoMa-Project/vision
ea8199d98edc363b2be79baa7c691da3a5a6cc86
[ "BSD-2-Clause-FreeBSD" ]
4
2020-05-19T18:14:33.000Z
2021-03-19T15:53:43.000Z
thirdparty/GeometricTools/WildMagic5/SamplePhysics/WaterDropFormation/WaterDropFormation.cpp
SoMa-Project/vision
ea8199d98edc363b2be79baa7c691da3a5a6cc86
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// Geometric Tools, LLC // Copyright (c) 1998-2014 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.0.0 (2010/01/01) #include "WaterDropFormation.h" WM5_WINDOW_APPLICATIO...
31.615063
79
0.563327
[ "mesh", "transform" ]
03f4d9ec12021457760cd47f45db3a46a9048ba8
17,263
cpp
C++
front_end/handlers.cpp
soheilzi/A7_Netflix
5e5e1bdc772adf63173076de3b6685a03ee78c63
[ "MIT" ]
null
null
null
front_end/handlers.cpp
soheilzi/A7_Netflix
5e5e1bdc772adf63173076de3b6685a03ee78c63
[ "MIT" ]
null
null
null
front_end/handlers.cpp
soheilzi/A7_Netflix
5e5e1bdc772adf63173076de3b6685a03ee78c63
[ "MIT" ]
null
null
null
#include "handlers.hpp" using namespace std; SignupHandler::SignupHandler(Network* _net) : RequestHandler(), net(_net) {} Response* SignupHandler::callback(Request *req) { string username = req->getBodyParam("username"); string password1 = req->getBodyParam("pwd1"); string password2 = req->getBodyParam(...
35.375
209
0.508139
[ "vector" ]
03fcd685c2200a17cfa0795c4faadd1ab1a71aed
1,575
cpp
C++
solution.cpp
pj-spoelders/CodilityExample
25eee2db207a496e6e8289b39ab9ddd418543c97
[ "FSFAP" ]
null
null
null
solution.cpp
pj-spoelders/CodilityExample
25eee2db207a496e6e8289b39ab9ddd418543c97
[ "FSFAP" ]
null
null
null
solution.cpp
pj-spoelders/CodilityExample
25eee2db207a496e6e8289b39ab9ddd418543c97
[ "FSFAP" ]
null
null
null
// you can use includes, for example: // #include <algorithm> #include <set> #include <vector> // you can write to stdout for debugging purposes, e.g. // cout << "this is a debug message" << endl; // you can write to stdout for debugging purposes, e.g. // cout << "this is a debug message" << endl; set<int> convertT...
23.507463
67
0.52254
[ "vector" ]
ff06d95f83e813cbd9f280112f9d849a87b42974
2,065
cc
C++
mojo/public/cpp/bindings/lib/bindings_serialization.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
mojo/public/cpp/bindings/lib/bindings_serialization.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
mojo/public/cpp/bindings/lib/bindings_serialization.cc
Acidburn0zzz/chromium-1
4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" #include <assert.h> #include "mojo/public/cpp/bindings/lib/bindings_internal.h" namesp...
27.905405
73
0.690557
[ "vector" ]
ff08276300db98e1fa88eb9be98152ce9f4cdc11
4,486
cpp
C++
Shaderprogram.cpp
PurpleCancer/3dChess
a6ddad6d28646d8c9736db9661b585eb45c80537
[ "MIT" ]
null
null
null
Shaderprogram.cpp
PurpleCancer/3dChess
a6ddad6d28646d8c9736db9661b585eb45c80537
[ "MIT" ]
null
null
null
Shaderprogram.cpp
PurpleCancer/3dChess
a6ddad6d28646d8c9736db9661b585eb45c80537
[ "MIT" ]
null
null
null
/* Niniejszy program jest wolnym oprogramowaniem; możesz go rozprowadzać dalej i / lub modyfikować na warunkach Powszechnej Licencji Publicznej GNU, wydanej przez Fundację Wolnego Oprogramowania - według wersji 2 tej Licencji lub(według twojego wyboru) którejś z późniejszych wersji. Niniejszy program rozpowszechniany ...
31.152778
117
0.793134
[ "geometry" ]
ff1335602f42227bd8e2c47a729d049c7bcef65f
2,189
cpp
C++
Dynamic-Programming/Derived DP/MergeElements.cpp
devangi2000/InterviewBit
d7121858709684ddd0b41227f477cce6b82f523e
[ "MIT" ]
4
2022-01-04T18:32:52.000Z
2022-01-05T19:43:57.000Z
Dynamic-Programming/Derived DP/MergeElements.cpp
devangi2000/InterviewBit
d7121858709684ddd0b41227f477cce6b82f523e
[ "MIT" ]
null
null
null
Dynamic-Programming/Derived DP/MergeElements.cpp
devangi2000/InterviewBit
d7121858709684ddd0b41227f477cce6b82f523e
[ "MIT" ]
null
null
null
// Given an integer array A of size N. You have to merge all the elements of the array into one with the minimum possible cost. // The rule for merging is as follows: // Choose any two adjacent elements of the array with values say X and Y and merge them into a single element with value (X + Y) paying a total cos...
22.336735
161
0.501142
[ "vector" ]
ff133bc2998b01b70293705bb74d18f1c2b0ca1d
27,043
cpp
C++
logdevice/server/locallogstore/ShardedRocksDBLocalLogStore.cpp
YangKian/LogDevice
e5c2168c11e9de867a1bcf519f95016e1c879b5c
[ "BSD-3-Clause" ]
1,831
2018-09-12T15:41:52.000Z
2022-01-05T02:38:03.000Z
logdevice/server/locallogstore/ShardedRocksDBLocalLogStore.cpp
YangKian/LogDevice
e5c2168c11e9de867a1bcf519f95016e1c879b5c
[ "BSD-3-Clause" ]
183
2018-09-12T16:14:59.000Z
2021-12-07T15:49:43.000Z
logdevice/server/locallogstore/ShardedRocksDBLocalLogStore.cpp
YangKian/LogDevice
e5c2168c11e9de867a1bcf519f95016e1c879b5c
[ "BSD-3-Clause" ]
228
2018-09-12T15:41:51.000Z
2022-01-05T08:12:09.000Z
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "logdevice/server/locallogstore/ShardedRocksDBLocalLogStore.h" #include <arra...
34.62612
80
0.666309
[ "object", "vector" ]
d42f08cc3a16cc59879ffa1f479463ca13e66abf
10,035
cpp
C++
solid/frame/aio/test/test_event_stress_wp.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
26
2015-08-25T16:07:58.000Z
2019-07-05T15:21:22.000Z
solid/frame/aio/test/test_event_stress_wp.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
5
2016-10-15T22:55:15.000Z
2017-09-19T12:41:10.000Z
solid/frame/aio/test/test_event_stress_wp.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
5
2016-09-15T10:34:52.000Z
2018-10-30T11:46:46.000Z
/* * This test is companion to test_event_stress. * It tries to simulate the message passing from test_event_stress using Workpool instead of * actors and schedulers. */ #include "solid/system/crashhandler.hpp" #include "solid/utility/function.hpp" #include "solid/utility/string.hpp" #include "solid/utility/workpo...
34.366438
126
0.606976
[ "solid" ]
d4322fcff56792bce6a40eb1df79a0db87248eca
13,884
cpp
C++
tests/validation/CL/ColorConvert.cpp
alexjung/ComputeLibrary
a9d47c17791ebce45427ea6331bd6e35f7d721f4
[ "MIT" ]
1
2021-07-20T02:30:35.000Z
2021-07-20T02:30:35.000Z
tests/validation/CL/ColorConvert.cpp
alexjung/ComputeLibrary
a9d47c17791ebce45427ea6331bd6e35f7d721f4
[ "MIT" ]
null
null
null
tests/validation/CL/ColorConvert.cpp
alexjung/ComputeLibrary
a9d47c17791ebce45427ea6331bd6e35f7d721f4
[ "MIT" ]
1
2020-05-28T02:56:34.000Z
2020-05-28T02:56:34.000Z
/* * Copyright (c) 2017-2020 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
40.011527
174
0.722774
[ "shape" ]
d43467e02bc83f800e74d29062e3e419240dbbd6
1,574
cpp
C++
000/83.cpp
correipj/ProjectEuler
0173d8ec7f309b4f0c243a94351772b1be55e8bf
[ "Unlicense" ]
null
null
null
000/83.cpp
correipj/ProjectEuler
0173d8ec7f309b4f0c243a94351772b1be55e8bf
[ "Unlicense" ]
null
null
null
000/83.cpp
correipj/ProjectEuler
0173d8ec7f309b4f0c243a94351772b1be55e8bf
[ "Unlicense" ]
null
null
null
// https://projecteuler.net/problem=83 // Path sum: four ways #include <iostream> #include <fstream> #include <vector> #include <queue> #include <array> #include <algorithm> using namespace std; int main(int argc, char* argv[]) { ifstream fin("p083_matrix.txt"); const int SIZE = 80; vector<vec...
20.710526
52
0.540661
[ "vector" ]
d43513d9da19750c11f3a980d7631324be387537
1,513
cc
C++
test/unittests/heap/cppgc/object-size-trait-unittest.cc
LancerWang001/v8
42ff4531f590b901ade0a18bfd03e56485fe2452
[ "BSD-3-Clause" ]
20,995
2015-01-01T05:12:40.000Z
2022-03-31T21:39:18.000Z
test/unittests/heap/cppgc/object-size-trait-unittest.cc
Andrea-MariaDB-2/v8
a0f0ebd7a876e8cb2210115adbfcffe900e99540
[ "BSD-3-Clause" ]
333
2020-07-15T17:06:05.000Z
2021-03-15T12:13:09.000Z
test/unittests/heap/cppgc/object-size-trait-unittest.cc
Andrea-MariaDB-2/v8
a0f0ebd7a876e8cb2210115adbfcffe900e99540
[ "BSD-3-Clause" ]
4,523
2015-01-01T15:12:34.000Z
2022-03-28T06:23:41.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 "include/cppgc/object-size-trait.h" #include "include/cppgc/allocation.h" #include "include/cppgc/garbage-collected.h" #include "src/heap/cppg...
29.096154
80
0.729676
[ "object" ]