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
0e7e8d1ed549c6bff75f9b85c9f90b431a171149
7,105
cpp
C++
GRTlib/GRT/CoreModules/Regressifier.cpp
vladnis/grt-android-lib
291401bfcc163677cb21f58fc28cab94fd97553b
[ "MIT" ]
1
2015-07-12T09:32:02.000Z
2015-07-12T09:32:02.000Z
GRTlib/src/CoreModules/Regressifier.cpp
vladnis/GRT-Benchmark
5cbce6919f596fea3677660d89d8d41060bacbb6
[ "Apache-2.0" ]
null
null
null
GRTlib/src/CoreModules/Regressifier.cpp
vladnis/GRT-Benchmark
5cbce6919f596fea3677660d89d8d41060bacbb6
[ "Apache-2.0" ]
null
null
null
/* GRT MIT License Copyright (c) <2012> <Nicholas Gillian, Media Lab, 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 rights to u...
29.978903
131
0.698241
[ "vector" ]
0e8069d8d5f4e7c38514d5e56e4e8e609d67c675
46,574
cpp
C++
lib/IRGen/ESTreeIRGen.cpp
Naturalclar/hermes
9dc56f66a48203e83bc23d43549b50afd49756d0
[ "MIT" ]
1
2020-10-28T01:09:17.000Z
2020-10-28T01:09:17.000Z
lib/IRGen/ESTreeIRGen.cpp
Naturalclar/hermes
9dc56f66a48203e83bc23d43549b50afd49756d0
[ "MIT" ]
null
null
null
lib/IRGen/ESTreeIRGen.cpp
Naturalclar/hermes
9dc56f66a48203e83bc23d43549b50afd49756d0
[ "MIT" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ESTreeIRGen.h" #include "llvh/ADT/StringSet.h" #include "llvh/Support/Debug.h" #include "llvh/Support/SaveAndRestore.h" ...
35.498476
146
0.696419
[ "object" ]
0e8b81e51801f66bf0310f40a99ee53274c1da26
1,282
cpp
C++
MyComponentEngine/GameObject.cpp
0ddarri/ComponentEngine
0641589c695f54c5c6bc940a1769c5cbdc772aea
[ "MIT" ]
null
null
null
MyComponentEngine/GameObject.cpp
0ddarri/ComponentEngine
0641589c695f54c5c6bc940a1769c5cbdc772aea
[ "MIT" ]
1
2022-03-30T08:27:58.000Z
2022-03-30T08:27:58.000Z
MyComponentEngine/GameObject.cpp
0ddarri/ComponentEngine
0641589c695f54c5c6bc940a1769c5cbdc772aea
[ "MIT" ]
null
null
null
#include "DXUT.h" #include "GameObject.h" #include "Component.h" #include "Transform.h" #include "MeshRenderer.h" GameObject::GameObject() { transform = new Transform(); } GameObject::~GameObject() { } Component* GameObject::AddComponent(Component* comp) { Component* component = comp; component->SetParent(this); ...
16.227848
59
0.668487
[ "transform" ]
0e8d4f9774c5a7ff3eb48a5f8dd5e7f7340f7c55
1,988
hpp
C++
include/muse_armcl/evaluation/ground_truth_particle_set_distance.hpp
cogsys-tuebingen/muse_armcl
63eb0c8d3a1d03d84222acbb5b0c9978065bcc3c
[ "BSD-3-Clause" ]
5
2020-01-19T09:35:28.000Z
2021-11-04T10:08:24.000Z
include/muse_armcl/evaluation/ground_truth_particle_set_distance.hpp
cxdcxd/muse_armcl
63eb0c8d3a1d03d84222acbb5b0c9978065bcc3c
[ "BSD-3-Clause" ]
null
null
null
include/muse_armcl/evaluation/ground_truth_particle_set_distance.hpp
cxdcxd/muse_armcl
63eb0c8d3a1d03d84222acbb5b0c9978065bcc3c
[ "BSD-3-Clause" ]
1
2019-11-10T23:40:59.000Z
2019-11-10T23:40:59.000Z
#ifndef GROUND_TRUTH_PARTICLE_SET_DISTANCE_HPP #define GROUND_TRUTH_PARTICLE_SET_DISTANCE_HPP #include <sys/stat.h> #include <unistd.h> #include <string> #include <sstream> #include <fstream> namespace muse_armcl { struct GroundTruthParticleSetDistance { int true_point; int link; double likely_hood; ...
30.121212
92
0.623742
[ "vector" ]
0e8fff4726b798856b4e832592497c81c529e097
4,416
cpp
C++
src/tool-humsort.cpp
humdrum-tools/minHumdrum
1f1e6a1281b40a6d6c9fed6666d96221cd619dc0
[ "BSD-2-Clause" ]
null
null
null
src/tool-humsort.cpp
humdrum-tools/minHumdrum
1f1e6a1281b40a6d6c9fed6666d96221cd619dc0
[ "BSD-2-Clause" ]
null
null
null
src/tool-humsort.cpp
humdrum-tools/minHumdrum
1f1e6a1281b40a6d6c9fed6666d96221cd619dc0
[ "BSD-2-Clause" ]
null
null
null
// // Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu> // Creation Date: Sat Jun 17 15:24:23 CEST 2017 // Last Modified: Sat Jul 8 17:17:21 CEST 2017 // Filename: tool-humsort.cpp // URL: https://github.com/craigsapp/humlib/blob/master/src/tool-humsort.cpp // Syntax: C++11; humlib // v...
21.970149
87
0.574955
[ "vector", "transform" ]
0e9383fae9ceb72da755ed3259ee85cafd5fb5a9
4,167
cc
C++
RecoPixelVertexing/PixelTrackFitting/plugins/KFBasedPixelFitterProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
RecoPixelVertexing/PixelTrackFitting/plugins/KFBasedPixelFitterProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
RecoPixelVertexing/PixelTrackFitting/plugins/KFBasedPixelFitterProducer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
#include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/global/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/Framework/interface/ESHandle.h" #include ...
42.520408
114
0.737221
[ "geometry" ]
0e97d663e2c1be4dd34146556292dce10c5e5e6e
2,796
cpp
C++
src/ReplyKeyboard.cpp
miguelfazenda/AsyncTelegram
d6499369d9bc597b8f9f66ef48ce8362729c3ad5
[ "MIT" ]
null
null
null
src/ReplyKeyboard.cpp
miguelfazenda/AsyncTelegram
d6499369d9bc597b8f9f66ef48ce8362729c3ad5
[ "MIT" ]
null
null
null
src/ReplyKeyboard.cpp
miguelfazenda/AsyncTelegram
d6499369d9bc597b8f9f66ef48ce8362729c3ad5
[ "MIT" ]
null
null
null
#include "ReplyKeyboard.h" #include "Utilities.h" ReplyKeyboard::ReplyKeyboard() { m_json = "{\"keyboard\":[[]]}\""; } ReplyKeyboard::~ReplyKeyboard() {} bool ReplyKeyboard::addRow() { if(m_jsonSize < BUFFER_SMALL) m_jsonSize = BUFFER_SMALL; DynamicJsonDocument doc(m_jsonSize + 64); // Current size + space ...
24.964286
92
0.730687
[ "object" ]
0e9f8c6b11d5204abe2e7bf1cee1d0bc34afb572
5,016
cc
C++
src/Core/Algorithms/Legacy/Fields/TransformMesh/ScaleFieldMeshAndData.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Core/Algorithms/Legacy/Fields/TransformMesh/ScaleFieldMeshAndData.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Core/Algorithms/Legacy/Fields/TransformMesh/ScaleFieldMeshAndData.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2009 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
36.086331
105
0.742624
[ "mesh", "geometry", "vector", "transform" ]
0ea87239ad01f0395d8cdb43db125c5296a84545
1,241
hpp
C++
range.hpp
LiadBenMoshe/Cpp-itertools-Task5
5d5052b953bf16a8ecc17572adceba8bdada467c
[ "MIT" ]
null
null
null
range.hpp
LiadBenMoshe/Cpp-itertools-Task5
5d5052b953bf16a8ecc17572adceba8bdada467c
[ "MIT" ]
null
null
null
range.hpp
LiadBenMoshe/Cpp-itertools-Task5
5d5052b953bf16a8ecc17572adceba8bdada467c
[ "MIT" ]
null
null
null
/* AUTHORS: Liad Ben Moshe */ #pragma once #include<iostream> #include<vector> using namespace std; namespace itertools{ class range{ int start; int finish; public: range(){} range(int start1,int end1){ start=start1; finish=end1; ...
16.328947
86
0.450443
[ "vector" ]
0eb5442f0bb2dc4d12af282e23d3bdfacde2b8f5
16,597
hpp
C++
third_party/amo/amo/network.hpp
amoylel/NCUI
a3b315ebf97d9903766efdafa42c24d4212d5ad6
[ "BSD-2-Clause" ]
24
2018-11-20T14:45:57.000Z
2021-12-30T13:38:42.000Z
third_party/amo/amo/network.hpp
amoylel/NCUI
a3b315ebf97d9903766efdafa42c24d4212d5ad6
[ "BSD-2-Clause" ]
null
null
null
third_party/amo/amo/network.hpp
amoylel/NCUI
a3b315ebf97d9903766efdafa42c24d4212d5ad6
[ "BSD-2-Clause" ]
11
2018-11-29T00:09:14.000Z
2021-11-23T08:13:17.000Z
/* * Copyright (c) 2014, Peter Thorson. 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 con...
34.794549
253
0.50967
[ "vector" ]
0eb60b8d247e6d879498607171a9ec75c33f3eb7
57,037
cpp
C++
src/gui/event/EventLocatorPanel.cpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
1
2018-09-18T07:09:36.000Z
2018-09-18T07:09:36.000Z
src/gui/event/EventLocatorPanel.cpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
null
null
null
src/gui/event/EventLocatorPanel.cpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
2
2020-06-18T04:45:30.000Z
2021-07-20T02:11:54.000Z
//$Id$ //------------------------------------------------------------------------------ // EventLocatorPanel //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // // Copyright (c) 2002 - 2015 United States Governme...
39.308753
129
0.589617
[ "object" ]
0eb923ef61ffcd4f28b753e2c331c82a5e985b93
1,417
hpp
C++
src/config.hpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
src/config.hpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
src/config.hpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
#ifndef CONFIG_HPP #define CONFIG_HPP #include <string> #include <vector> #include "inputManager.hpp" class Config { std::string configFilePath; std::string comment(std::string content); std::string item(std::string tag, std::string value); std::string item(std::string tag, unsigned int value); s...
24.431034
58
0.685956
[ "vector" ]
0eb9e3daaf9c48ccc7cbb10634ac3eb84f35dbbe
3,733
cpp
C++
integ_trajectory_tracking_HT/src/CTC_controller.cpp
NSicre/integration_project_ecn
0f9161eef442173d532bca8548d36ec89b6248ba
[ "MIT" ]
8
2022-01-31T13:56:14.000Z
2022-02-09T13:06:33.000Z
integ_trajectory_tracking_HT/src/CTC_controller.cpp
NSicre/integration_project_ecn
0f9161eef442173d532bca8548d36ec89b6248ba
[ "MIT" ]
null
null
null
integ_trajectory_tracking_HT/src/CTC_controller.cpp
NSicre/integration_project_ecn
0f9161eef442173d532bca8548d36ec89b6248ba
[ "MIT" ]
13
2022-01-31T13:56:16.000Z
2022-02-21T17:03:37.000Z
#include <ros/ros.h> #include <ros/package.h> #include <string> #include <math.h> #include <sstream> #include <iostream> #include <control_toolbox/SetPidGains.h> #include <cmath> //#include <gkd_models/Dynamic.h> #include <std_msgs/Float64.h> #include <sensor_msgs/JointState.h> //inutile mais peut servir pour creer ...
31.635593
127
0.721672
[ "vector" ]
0ec1e211806dc8108f2ce5a57ba78ece16061dc0
10,510
cpp
C++
components/settingsmanager.cpp
Acidburn0zzz/symphytum
2f3eae0d923ffd5d12a412fbd595d4df37cf15a3
[ "BSD-2-Clause" ]
null
null
null
components/settingsmanager.cpp
Acidburn0zzz/symphytum
2f3eae0d923ffd5d12a412fbd595d4df37cf15a3
[ "BSD-2-Clause" ]
null
null
null
components/settingsmanager.cpp
Acidburn0zzz/symphytum
2f3eae0d923ffd5d12a412fbd595d4df37cf15a3
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2012 Giorgio Wicklein <giowckln@gmail.com> */ //----------------------------------------------------------------------------- // Hearders //----------------------------------------------------------------------------- #include "settingsmanager.h" #include "../utils/definitionholder.h" #include ...
24.21659
103
0.662702
[ "geometry" ]
b1bfa69a486142a4f6a27e1c2b982f7d93cb93be
54,389
cpp
C++
source/Lib/TAppCommon/TAppComCamPara.cpp
PharrellWANG/HTM-16.2
1dcb9fa5397206640bee01bfa40803d863eb8985
[ "BSD-3-Clause" ]
null
null
null
source/Lib/TAppCommon/TAppComCamPara.cpp
PharrellWANG/HTM-16.2
1dcb9fa5397206640bee01bfa40803d863eb8985
[ "BSD-3-Clause" ]
1
2020-07-21T08:28:22.000Z
2020-07-21T08:28:22.000Z
source/Lib/TAppCommon/TAppComCamPara.cpp
PharrellWANG/HTM_16_2_CNN
fd802ebcffeccdc0df73d64d79412a2ba15514aa
[ "BSD-3-Clause" ]
null
null
null
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2016, ITU/ISO/IEC * All rights r...
37.303841
242
0.632793
[ "vector" ]
b1c522e82ac7098c923641edf10b106a9d2ef25b
3,179
hpp
C++
numerical-methods-5_newtons_method/newton.hpp
DmitriBogdanov/numerical-methods-5_newtons_method
ad8885e715940428b83f3d0f0201deca168ad2c4
[ "MIT" ]
null
null
null
numerical-methods-5_newtons_method/newton.hpp
DmitriBogdanov/numerical-methods-5_newtons_method
ad8885e715940428b83f3d0f0201deca168ad2c4
[ "MIT" ]
null
null
null
numerical-methods-5_newtons_method/newton.hpp
DmitriBogdanov/numerical-methods-5_newtons_method
ad8885e715940428b83f3d0f0201deca168ad2c4
[ "MIT" ]
null
null
null
#pragma once #include <tuple> #include <vector> #include "core_math.hpp" // @return 1 => Solution // @return 2 => Iterations // @return 3 => convergence orders inline std::tuple<double, uint, dvector> secant_solve(ScalarFunction *f, double A, double B, double precision, uint maxIterations = 50) { dvector approx; ...
24.835938
159
0.63888
[ "vector" ]
b1cae7a3d9b6b47f974b322a58f34590a4634f7a
5,479
cpp
C++
source/engine/util/file.cpp
compix/CUDA-Path-Tracer
429334456d75e8c939b94e1db288a51542f70926
[ "MIT" ]
2
2017-11-25T14:26:45.000Z
2020-06-28T21:10:25.000Z
source/engine/util/file.cpp
compix/CUDA-Path-Tracer
429334456d75e8c939b94e1db288a51542f70926
[ "MIT" ]
1
2021-05-03T04:39:49.000Z
2021-05-03T21:33:43.000Z
source/engine/util/file.cpp
compix/CUDA-Path-Tracer
429334456d75e8c939b94e1db288a51542f70926
[ "MIT" ]
null
null
null
#include "file.h" #include <fstream> #include <vector> #include <sys/types.h> #include <sys/stat.h> #include <iostream> #include <GL/glew.h> #include <engine/resource/ResourceManager.h> namespace file { Path::Path(const std::string& path) : m_path(path) {} std::string Path::getExtension() const { ...
26.726829
133
0.602117
[ "vector" ]
b1cba7fa06f3d9f722dbddc07781b1b93a713915
1,069
cpp
C++
LeetCode/C++/1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Greedy //Runtime: 4 ms, faster than 80.46% of C++ online submissions for Find the Minimum Number of Fibonacci Numbers Whose Sum Is K. //Memory Usage: 6.5 MB, less than 100.00% of C++ online submissions for Find the Minimum Number of Fibonacci Numbers Whose Sum Is K. class Solution { public: int findMinFibonacciNu...
28.891892
132
0.451824
[ "vector" ]
b1cd0ef77d6c0bca6c7c7c6fdb6f0fc73efb94aa
388
hpp
C++
cpp/walker.hpp
altayhunter/xkcd-2529
8ab52c33135e3cedfc4d3816a5a4eb3a21c8a3bb
[ "MIT" ]
1
2021-11-22T23:17:55.000Z
2021-11-22T23:17:55.000Z
cpp/walker.hpp
altayhunter/xkcd-2529
8ab52c33135e3cedfc4d3816a5a4eb3a21c8a3bb
[ "MIT" ]
null
null
null
cpp/walker.hpp
altayhunter/xkcd-2529
8ab52c33135e3cedfc4d3816a5a4eb3a21c8a3bb
[ "MIT" ]
null
null
null
#include "point.hpp" // Point #include <unordered_set> // unordered_set #include <vector> // vector class Walker { public: Walker(unsigned n, unsigned k); int intersections() const; int steps() const; private: Point randomNeighbor(const Point& p) const; bool trapped(const Point& p) const; std::vector<...
24.25
48
0.706186
[ "vector" ]
b1ce372110e79c2b1cde28d3769c9ee5b611688c
4,842
cpp
C++
src/examples/webgpu/common/imguiapp.cpp
bfierz/vcl
6ef8d446b6a2f46543a5b3f9f76cad0d8f691969
[ "MIT" ]
15
2015-05-15T09:14:42.000Z
2022-02-20T13:00:17.000Z
src/examples/webgpu/common/imguiapp.cpp
bfierz/vcl
6ef8d446b6a2f46543a5b3f9f76cad0d8f691969
[ "MIT" ]
54
2015-05-14T09:21:51.000Z
2021-05-28T06:09:06.000Z
src/examples/webgpu/common/imguiapp.cpp
bfierz/vcl
6ef8d446b6a2f46543a5b3f9f76cad0d8f691969
[ "MIT" ]
4
2017-04-18T06:16:42.000Z
2021-07-16T08:00:12.000Z
/* * This file is part of the Visual Computing Library (VCL) release under the * MIT license. * * Copyright (c) 2020 Basil Fierz * * 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 with...
39.688525
195
0.76043
[ "render" ]
b1d55f9e933b36a4766d890297c7fba905fef5f7
207,386
cc
C++
tensorflow/compiler/xla/service/sharding_propagation_test.cc
wpv-chan/tensorflow
5361fa77705845f88b17a156b60fa8d88332b362
[ "Apache-2.0" ]
3
2019-11-19T14:07:27.000Z
2020-10-04T12:57:40.000Z
tensorflow/compiler/xla/service/sharding_propagation_test.cc
wpv-chan/tensorflow
5361fa77705845f88b17a156b60fa8d88332b362
[ "Apache-2.0" ]
1
2020-08-28T18:17:58.000Z
2020-08-28T18:17:58.000Z
tensorflow/compiler/xla/service/sharding_propagation_test.cc
wpv-chan/tensorflow
5361fa77705845f88b17a156b60fa8d88332b362
[ "Apache-2.0" ]
4
2022-01-13T11:23:44.000Z
2022-03-02T11:11:42.000Z
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
37.94109
122
0.654379
[ "vector" ]
b1dc66a5c3d077d6ad4e271987e5e5c8d8c2243d
16,761
hpp
C++
contracts/identity/identity.hpp
camielvanramele/Graduation-Internship
ab0e9b8db65b775459ddb3cb813e8e51b55ad1d1
[ "MIT" ]
1
2018-05-16T07:04:50.000Z
2018-05-16T07:04:50.000Z
contracts/identity/identity.hpp
ElementhFoundation/blockchain
5f63038c0e6fc90bc4bc0bc576410087785d8099
[ "MIT" ]
null
null
null
contracts/identity/identity.hpp
ElementhFoundation/blockchain
5f63038c0e6fc90bc4bc0bc576410087785d8099
[ "MIT" ]
null
null
null
#pragma once #include <eosiolib/chain.h> #include <eosiolib/dispatcher.hpp> #include <eosiolib/singleton.hpp> #include <eosiolib/multi_index.hpp> #include <eosiolib/vector.hpp> namespace identity { using eosio::action_meta; using eosio::singleton; using eosio::key256; using std::string; using std::vect...
44.815508
156
0.529921
[ "vector" ]
b1de31481582a3ef70d8a00ee5419eb108a8e3d7
2,823
cpp
C++
3C1V_Donkey_Kong/DonkeyKong_Solution/Source/HowHigh.cpp
unaidiaz/pryecto1
aa074c32587e8207cb89d6634391bb43aa9a4657
[ "BSD-3-Clause" ]
2
2020-05-20T15:48:29.000Z
2020-08-17T03:35:56.000Z
3C1V_Donkey_Kong/DonkeyKong_Solution/Source/HowHigh.cpp
unaidiaz/proyecto1
aa074c32587e8207cb89d6634391bb43aa9a4657
[ "BSD-3-Clause" ]
null
null
null
3C1V_Donkey_Kong/DonkeyKong_Solution/Source/HowHigh.cpp
unaidiaz/proyecto1
aa074c32587e8207cb89d6634391bb43aa9a4657
[ "BSD-3-Clause" ]
null
null
null
#include "HowHigh.h" #include "ModuleObjet.h" #include "stdio.h" #include <time.h> #include "Application.h" #include "ModuleInput.h" #include "Globals.h" #include "Module.h" #include "ModuleTextures.h" #include "ModuleRender.h" #include "ModuleAudio.h" #include "ModuleCollisions.h" #include "ModuleEnemies.h" #include "...
23.722689
108
0.642579
[ "render" ]
b1ead2aff9bed4f625105deb43e3a18607eabb30
1,444
hpp
C++
epoch/lucca/include/lucca/viewport.hpp
oprogramadorreal/vize
042c16f96d8790303563be6787200558e1ec00b2
[ "MIT" ]
47
2020-03-30T14:36:46.000Z
2022-03-06T07:44:54.000Z
epoch/lucca/include/lucca/viewport.hpp
oprogramadorreal/vize
042c16f96d8790303563be6787200558e1ec00b2
[ "MIT" ]
null
null
null
epoch/lucca/include/lucca/viewport.hpp
oprogramadorreal/vize
042c16f96d8790303563be6787200558e1ec00b2
[ "MIT" ]
8
2020-04-01T01:22:45.000Z
2022-01-02T13:06:09.000Z
#ifndef LUCCA_VIEWPORT_HPP #define LUCCA_VIEWPORT_HPP #include "lucca/config.hpp" #include "lucca/serialization/viewport_serializer.hpp" namespace lucca { class RenderTarget; /** * A rectangular area on a render target. * * @see lucca::RenderTarget * * @author O Programador */ class LUCCA_API Viewport final ...
24.066667
117
0.772853
[ "render" ]
b1ebbe8e18a7b3232cf5633ad1f4b931eb749d20
18,636
hpp
C++
include/am/graphchi/shards/slidingshard.hpp
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
31
2015-03-03T19:13:42.000Z
2020-09-03T08:11:56.000Z
include/am/graphchi/shards/slidingshard.hpp
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
1
2016-12-24T00:12:11.000Z
2016-12-24T00:12:11.000Z
include/am/graphchi/shards/slidingshard.hpp
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
8
2015-09-06T01:55:21.000Z
2021-12-20T02:16:13.000Z
/** * @file * @author Aapo Kyrola <akyrola@cs.cmu.edu> * @version 1.0 * * @section LICENSE * * Copyright [2012] [Aapo Kyrola, Guy Blelloch, Carlos Guestrin / Carnegie Mellon University] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with...
36.469667
162
0.495385
[ "vector" ]
b1f1388557c34fc975c2b0ad5066f4f8f3edf7a1
22,561
cc
C++
demo_drivers/young_laplace/refineable_young_laplace.cc
PuneetMatharu/oomph-lib
edd590cbb4f3ef9940b9738f18275ea2fb828c55
[ "RSA-MD" ]
null
null
null
demo_drivers/young_laplace/refineable_young_laplace.cc
PuneetMatharu/oomph-lib
edd590cbb4f3ef9940b9738f18275ea2fb828c55
[ "RSA-MD" ]
1
2022-03-23T16:16:41.000Z
2022-03-23T16:16:41.000Z
demo_drivers/young_laplace/refineable_young_laplace.cc
PuneetMatharu/oomph-lib
edd590cbb4f3ef9940b9738f18275ea2fb828c55
[ "RSA-MD" ]
null
null
null
//LIC// ==================================================================== //LIC// This file forms part of oomph-lib, the object-oriented, //LIC// multi-physics finite-element library, available //LIC// at http://www.oomph-lib.org. //LIC// //LIC// Copyright (C) 2006-2022 Matthias Heil and Andrew Hazel //LIC// //L...
30.61194
79
0.62218
[ "mesh", "object", "vector" ]
b1fad03a4e6ee314ec97967a953c80032ddc328f
6,588
cpp
C++
src/pyinterp/core/module/dateutils.cpp
CNES/pangeo-pyinterp
5f75f62a6c681db89c5aa8c74e43fc04a77418c3
[ "BSD-3-Clause" ]
67
2019-07-09T09:10:22.000Z
2022-03-01T09:46:35.000Z
src/pyinterp/core/module/dateutils.cpp
CNES/pangeo-pyinterp
5f75f62a6c681db89c5aa8c74e43fc04a77418c3
[ "BSD-3-Clause" ]
8
2019-07-15T13:54:31.000Z
2021-06-28T05:06:34.000Z
src/pyinterp/core/module/dateutils.cpp
CNES/pangeo-pyinterp
5f75f62a6c681db89c5aa8c74e43fc04a77418c3
[ "BSD-3-Clause" ]
7
2019-07-15T17:28:16.000Z
2022-01-19T19:43:47.000Z
// Copyright (c) 2021 CNES // // All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "pyinterp/dateutils.hpp" #include <datetime.h> #include <pybind11/numpy.h> #include <pybind11/pybind11.h> namespace py = pybind11; namespace dateutils = p...
31.826087
80
0.653461
[ "object" ]
b1fbb6d106b4db79d012e8718df1d9753b6c574b
19,015
cpp
C++
src/IO/H5/VolumeData.cpp
Ambrou/spectre
a819ebbcca607d8af9683db3683bea14bf4ac23c
[ "MIT" ]
null
null
null
src/IO/H5/VolumeData.cpp
Ambrou/spectre
a819ebbcca607d8af9683db3683bea14bf4ac23c
[ "MIT" ]
1
2022-03-25T18:26:16.000Z
2022-03-25T19:30:39.000Z
src/IO/H5/VolumeData.cpp
isaaclegred/spectre
5765da85dad680cad992daccd479376c67458a8c
[ "MIT" ]
1
2019-01-03T21:47:04.000Z
2019-01-03T21:47:04.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "IO/H5/VolumeData.hpp" #include <algorithm> #include <boost/algorithm/string.hpp> #include <boost/iterator/transform_iterator.hpp> #include <hdf5.h> #include <memory> #include <ostream> #include <string> #include <vector> #include "DataSt...
45.381862
80
0.667946
[ "vector", "transform" ]
b1fbcc00c2d97da248592bf1d2533efbd1680db7
21,008
cc
C++
device/fido/pin.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/fido/pin.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/fido/pin.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-03-07T14:20:02.000Z
2021-03-07T14:20:02.000Z
// Copyright 2019 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 "device/fido/pin.h" #include <numeric> #include <string> #include <utility> #include "base/i18n/char_iterator.h" #include "base/strings/string_...
36.472222
137
0.676409
[ "vector" ]
b1fd685e5ba0df8bfc03f8e48392ff61990e27bb
1,662
cpp
C++
sse-sumbytes/int8_t/benchmark.cpp
clayne/toys
ec06411e2d3b920403607888d4a573e41390ee5b
[ "BSD-2-Clause" ]
null
null
null
sse-sumbytes/int8_t/benchmark.cpp
clayne/toys
ec06411e2d3b920403607888d4a573e41390ee5b
[ "BSD-2-Clause" ]
null
null
null
sse-sumbytes/int8_t/benchmark.cpp
clayne/toys
ec06411e2d3b920403607888d4a573e41390ee5b
[ "BSD-2-Clause" ]
null
null
null
#include <cstdio> #include <vector> #include "benchmark.h" #include "all.h" class Benchmark { std::vector<int8_t> input; size_t result; public: Benchmark(size_t size) : input(size) {} public: void run() { test("scalar", scalar_sumsignedbytes); test("scalar (C++)", ...
27.245902
78
0.561974
[ "vector" ]
b1fd79363bf9600a8e265f563b0d36cd43574dcc
9,245
cpp
C++
src/TGUI/Global.cpp
cyanskies/TGUI
9d84916313aacdfc33dc9a8b9e60609449fddce7
[ "Zlib" ]
null
null
null
src/TGUI/Global.cpp
cyanskies/TGUI
9d84916313aacdfc33dc9a8b9e60609449fddce7
[ "Zlib" ]
null
null
null
src/TGUI/Global.cpp
cyanskies/TGUI
9d84916313aacdfc33dc9a8b9e60609449fddce7
[ "Zlib" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus's Graphical User Interface // Copyright (C) 2012-2017 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. ...
35.018939
168
0.40119
[ "vector" ]
5900e714fc75f116dc0eb416e69d4bac60139b5d
16,513
hpp
C++
include/System/Linq/Expressions/BlockExpressionList.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Linq/Expressions/BlockExpressionList.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Linq/Expressions/BlockExpressionList.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.Collections.Generic.IList`1 ...
63.511538
279
0.749349
[ "vector" ]
59071357bc54e89c3f8b43d760fed8a4be0806d4
4,209
hpp
C++
src/common/comm/l0/devices/ccl_gpu_base_comm.hpp
sazanovd/oneCCL
18a54aafb4e441e0f51d143d047520457b710c0d
[ "Apache-2.0" ]
null
null
null
src/common/comm/l0/devices/ccl_gpu_base_comm.hpp
sazanovd/oneCCL
18a54aafb4e441e0f51d143d047520457b710c0d
[ "Apache-2.0" ]
null
null
null
src/common/comm/l0/devices/ccl_gpu_base_comm.hpp
sazanovd/oneCCL
18a54aafb4e441e0f51d143d047520457b710c0d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016-2020 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
31.886364
96
0.707531
[ "vector" ]
590917e255dc7dc8fab8b1b2aaef73fe8d71066b
7,278
cc
C++
Microassembler/Path.cc
LukeGoodsell/scalpel-shareddeps
07653cad8a2917855b86b0c25b29c48536253fb0
[ "MIT" ]
null
null
null
Microassembler/Path.cc
LukeGoodsell/scalpel-shareddeps
07653cad8a2917855b86b0c25b29c48536253fb0
[ "MIT" ]
null
null
null
Microassembler/Path.cc
LukeGoodsell/scalpel-shareddeps
07653cad8a2917855b86b0c25b29c48536253fb0
[ "MIT" ]
null
null
null
#include "Path.hh" /****************************************************************** ** Path.cc ** ** Path of a de Bruijn graph ** Routines to extract sequence and coverage information ** ** Authors: Giuseppe Narzisi & Michael C. Schatz ** Date: December 11, 2013 ** *********************************************...
18.806202
81
0.497389
[ "vector" ]
590920ea4e6cb64483f9d4b94d9bd8c84c105237
1,836
cc
C++
src/command.cc
oftc/oftc-ircd
4d03219f6b7e2aeda8b7848eea4294b7b85aad12
[ "MIT" ]
2
2015-01-11T19:14:24.000Z
2016-12-08T16:00:10.000Z
src/command.cc
oftc/oftc-ircd
4d03219f6b7e2aeda8b7848eea4294b7b85aad12
[ "MIT" ]
null
null
null
src/command.cc
oftc/oftc-ircd
4d03219f6b7e2aeda8b7848eea4294b7b85aad12
[ "MIT" ]
3
2021-05-02T17:15:51.000Z
2021-05-02T17:16:04.000Z
/* Copyright (c) 2012 Stuart Walsh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
32.785714
82
0.732026
[ "transform" ]
590be72953d90142f802f1a10dcd2d60ed4f332d
5,302
cpp
C++
src/stereo_visual_slam_main/visualization.cpp
shangzhouye/stereo-visual-slam
23abdb95b08a69e0ae630d4f4e6c3a64248b1284
[ "MIT" ]
34
2020-03-25T02:36:15.000Z
2022-03-25T07:20:51.000Z
src/stereo_visual_slam_main/visualization.cpp
ujasmandavia/STEREO-VISUAL-SLAM
cb34d91319f4f03c3b047d12016f40dd9bae6ec3
[ "MIT" ]
2
2020-05-07T20:21:36.000Z
2021-05-27T17:55:02.000Z
src/stereo_visual_slam_main/visualization.cpp
ujasmandavia/STEREO-VISUAL-SLAM
cb34d91319f4f03c3b047d12016f40dd9bae6ec3
[ "MIT" ]
7
2020-10-23T22:58:38.000Z
2021-11-23T04:13:34.000Z
/// \file /// \brief Visualization module #include <cmath> #include <iostream> #include <stereo_visual_slam_main/library_include.hpp> #include <stereo_visual_slam_main/types_def.hpp> #include <vector> #include <string> #include <unistd.h> #include <stereo_visual_slam_main/visualization.hpp> #include <tf/transform_broa...
29.455556
112
0.671256
[ "shape", "vector", "transform", "3d" ]
590bf269c835ea4be602f0033c09925a1944a8f3
2,546
cc
C++
third_party/blink/renderer/core/workers/global_scope_creation_params.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/workers/global_scope_creation_params.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/workers/global_scope_creation_params.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/workers/global_scope_creation_params.h" #include <memory> #include "third_party/blink/renderer/platform/network...
41.064516
88
0.764336
[ "vector" ]
59123faf78fb3d09b085cdda55e0dd2fdac45e05
28,715
hpp
C++
kernel/src/modelingTools/NewtonEulerDS.hpp
siconos/siconos-deb
2739a23f23d797dbfecec79d409e914e13c45c67
[ "Apache-2.0" ]
null
null
null
kernel/src/modelingTools/NewtonEulerDS.hpp
siconos/siconos-deb
2739a23f23d797dbfecec79d409e914e13c45c67
[ "Apache-2.0" ]
null
null
null
kernel/src/modelingTools/NewtonEulerDS.hpp
siconos/siconos-deb
2739a23f23d797dbfecec79d409e914e13c45c67
[ "Apache-2.0" ]
null
null
null
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 * *...
29.664256
139
0.675779
[ "object", "vector", "solid" ]
5912fb4e02d70755effbb677140fba6d7c3bec63
4,329
hpp
C++
lib/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp
efedo/Utilogeny
03b7e7d2650c326f8493df35c14470f21de3be78
[ "MIT" ]
null
null
null
lib/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp
efedo/Utilogeny
03b7e7d2650c326f8493df35c14470f21de3be78
[ "MIT" ]
null
null
null
lib/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp
efedo/Utilogeny
03b7e7d2650c326f8493df35c14470f21de3be78
[ "MIT" ]
null
null
null
// Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // Preprocessed version of "Utilogeny/lib/boost/mpl/vector/vector20.hpp" header // -- DO NOT modify by hand! name...
27.05625
87
0.641488
[ "vector" ]
5917da54c967d8c5e99110b61212f681e0c5cda0
1,643
cpp
C++
data_structure/dual_segment_tree.cpp
kmyk/noshi91-Library
c03d1be31b13fc3d25e05d7af272c418d835b6de
[ "CC0-1.0" ]
1
2022-02-04T09:46:07.000Z
2022-02-04T09:46:07.000Z
data_structure/dual_segment_tree.cpp
kmyk/noshi91-Library
c03d1be31b13fc3d25e05d7af272c418d835b6de
[ "CC0-1.0" ]
null
null
null
data_structure/dual_segment_tree.cpp
kmyk/noshi91-Library
c03d1be31b13fc3d25e05d7af272c418d835b6de
[ "CC0-1.0" ]
null
null
null
#include <cassert> #include <cstddef> #include <vector> template <class Monoid> class dual_segment_tree { using size_t = std::size_t; using T = typename Monoid::value_type; public: using value_type = T; using size_type = size_t; private: static size_t lsb(const size_t x) { return __builtin_ctz(x); } stat...
23.471429
79
0.570298
[ "vector" ]
591a0fade5c2c60a1ff70fb3f96feddfff919757
3,997
cpp
C++
tests/RaZ/Utils/TypeUtils.cpp
Razakhel/RaZ
d7bc8d4631a2ebd212950f8001f192bcd7d3e80a
[ "MIT" ]
339
2017-09-24T17:26:15.000Z
2022-03-20T13:25:39.000Z
tests/RaZ/Utils/TypeUtils.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
24
2017-09-22T10:30:12.000Z
2022-01-05T21:32:20.000Z
tests/RaZ/Utils/TypeUtils.cpp
xiaohunqupo/RaZ
ad0a1e0f336d8beb20afc73c0a5e6ee8a319a8f1
[ "MIT" ]
24
2018-01-21T17:38:18.000Z
2022-02-02T11:16:22.000Z
#include "Catch.hpp" #include "RaZ/Utils/TypeUtils.hpp" namespace { class AttributeTest { public: AttributeTest() = default; AttributeTest(const AttributeTest&) = default; AttributeTest(AttributeTest&&) = delete; AttributeTest& operator=(const AttributeTest&) = default; bool operator==(const AttributeTest...
39.97
134
0.727796
[ "object" ]
591d72fdf8de99e66d4f9a5830dde9e0fb2ecbf5
1,874
hpp
C++
libhail/src/hail/query/backend/compile.hpp
tdeboer-ilmn/hail
98fffc9b4e13cd5d5ced8322112894361d0b7052
[ "MIT" ]
789
2016-09-05T04:14:25.000Z
2022-03-30T09:51:54.000Z
libhail/src/hail/query/backend/compile.hpp
tdeboer-ilmn/hail
98fffc9b4e13cd5d5ced8322112894361d0b7052
[ "MIT" ]
5,724
2016-08-29T18:58:40.000Z
2022-03-31T23:49:42.000Z
libhail/src/hail/query/backend/compile.hpp
tdeboer-ilmn/hail
98fffc9b4e13cd5d5ced8322112894361d0b7052
[ "MIT" ]
233
2016-08-31T20:42:38.000Z
2022-02-17T16:42:39.000Z
#ifndef HAIL_QUERY_BACKEND_COMPILE_HPP_INCLUDED #define HAIL_QUERY_BACKEND_COMPILE_HPP_INCLUDED 1 #include <llvm/IR/IRBuilder.h> #include "hail/query/backend/stype.hpp" #include "hail/query/ir_type.hpp" namespace llvm { class LLVMContext; class Type; class Module; class Function; class AllocaInst; } namespace hai...
21.295455
68
0.738527
[ "vector" ]
59224dd7a9dbb2feef3d8aeb0fc48859bed6ad9c
3,327
cc
C++
tests/unit/test_random_access_sequence_file.cc
isovic/raptor
171e0f1b94366f20250a00389400a2fcd267bcc6
[ "BSD-3-Clause-Clear" ]
60
2019-07-09T14:57:48.000Z
2022-03-29T06:53:39.000Z
tests/unit/test_random_access_sequence_file.cc
isovic/raptor
171e0f1b94366f20250a00389400a2fcd267bcc6
[ "BSD-3-Clause-Clear" ]
2
2019-05-28T01:59:50.000Z
2021-05-18T13:15:10.000Z
tests/unit/test_random_access_sequence_file.cc
isovic/raptor
171e0f1b94366f20250a00389400a2fcd267bcc6
[ "BSD-3-Clause-Clear" ]
4
2019-05-25T15:41:56.000Z
2019-07-10T11:44:22.000Z
#include <gtest/gtest.h> #include <fstream> #include <iostream> #include <string> #include <sstream> #include <vector> #include <log/log_tools.h> #include <lib/argparser.h> #include <version.h> #include <sequences/sequence_file.h> #include <sequences/sequence_file_composite_fofn.h> #include <sequences/random_access_s...
41.074074
171
0.727983
[ "vector" ]
5924abaa9e4f0bce296c4d157da1916e1c3f73ca
2,119
hpp
C++
apps/opencs/view/render/unpagedworldspacewidget.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/view/render/unpagedworldspacewidget.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/view/render/unpagedworldspacewidget.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef OPENCS_VIEW_UNPAGEDWORLDSPACEWIDGET_H #define OPENCS_VIEW_UNPAGEDWORLDSPACEWIDGET_H #include <string> #include <memory> #include "worldspacewidget.hpp" #include "cell.hpp" class QModelIndex; namespace CSMDoc { class Document; } namespace CSMWorld { class IdTable; } namespace CSVRender { class ...
26.4875
107
0.657386
[ "vector" ]
5925cdb024087eec68b37540a89f28956d8f9249
3,461
cpp
C++
test/testMain.cpp
mera-company/cpp-serialization-library
b49d16e4c5e02c55dae122fe2d4f6cc7649f5ff1
[ "Apache-2.0" ]
12
2019-11-01T15:06:38.000Z
2021-03-24T09:08:01.000Z
test/testMain.cpp
mera-company/cpp-serialization-library
b49d16e4c5e02c55dae122fe2d4f6cc7649f5ff1
[ "Apache-2.0" ]
2
2020-02-17T18:25:10.000Z
2020-02-24T08:01:13.000Z
test/testMain.cpp
mera-company/cpp-serialization-library
b49d16e4c5e02c55dae122fe2d4f6cc7649f5ff1
[ "Apache-2.0" ]
2
2020-02-16T10:40:35.000Z
2020-05-21T11:17:18.000Z
/** * @file testMain.cpp * * @author Alexander Ganyukhin (alexander.ganyukhin@mera.com) * * @date 2019-October-23 * * Copyright 2019 Mera * * 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...
29.836207
103
0.60705
[ "object" ]
592688fdb2f6ab64421658406ad52526c0b49de0
4,071
cpp
C++
src/route_planner.cpp
TypHo22/A_Star_Algorithm_OpenStreetMaps
30a718ca6bbbea95db235e372ad6db16ff334dd2
[ "MIT" ]
2
2021-08-20T11:26:36.000Z
2021-12-27T14:44:12.000Z
src/route_planner.cpp
TypHo22/A_Star_Algorithm_OpenStreetMaps
30a718ca6bbbea95db235e372ad6db16ff334dd2
[ "MIT" ]
null
null
null
src/route_planner.cpp
TypHo22/A_Star_Algorithm_OpenStreetMaps
30a718ca6bbbea95db235e372ad6db16ff334dd2
[ "MIT" ]
2
2021-09-05T16:33:27.000Z
2021-12-27T14:44:10.000Z
#include "route_planner.h" #include <algorithm> RoutePlanner::RoutePlanner(RouteModel &model, float start_x, float start_y, float end_x, float end_y): m_Model(model) { // Convert inputs to percentage: start_x *= 0.01; start_y *= 0.01; end_x *= 0.01; end_y *= 0.01; start_node = &m_Model.FindClo...
28.468531
125
0.629329
[ "vector", "model" ]
592bc92e8a43a81d58a9cc9168134e770198327d
998
cpp
C++
src/cell-simulation/simulation/resource.cpp
firestack/cell-simulation
11eacc685afe7c283c1fc2ed6f8b312785f45f98
[ "MIT" ]
null
null
null
src/cell-simulation/simulation/resource.cpp
firestack/cell-simulation
11eacc685afe7c283c1fc2ed6f8b312785f45f98
[ "MIT" ]
null
null
null
src/cell-simulation/simulation/resource.cpp
firestack/cell-simulation
11eacc685afe7c283c1fc2ed6f8b312785f45f98
[ "MIT" ]
null
null
null
#include "resource.h" #include <nex/math/mathhelper.h> Resource::Resource(real32 max, vec2f location, World& world, type::ResourceType type) : Entity(location, world, type::Resource), m_max(max), m_amount(max), m_resourceType(type) { m_shape.setPosition(location.x, location.y); m_friction = vec...
22.681818
87
0.642285
[ "shape" ]
592bc9f06684a912b77937c834c19a6da87926b6
429,763
cc
C++
project4/mariadb/server/storage/rocksdb/ha_rocksdb.cc
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
11
2017-10-28T08:41:08.000Z
2021-06-24T07:24:21.000Z
project4/mariadb/server/storage/rocksdb/ha_rocksdb.cc
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
null
null
null
project4/mariadb/server/storage/rocksdb/ha_rocksdb.cc
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
4
2017-09-07T09:33:26.000Z
2021-02-19T07:45:08.000Z
/* Copyright (c) 2012, Monty Program Ab This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, bu...
34.513572
94
0.66999
[ "object", "vector" ]
592ff7c6465acf6b154e6071a880eed8553ec3e3
16,735
cc
C++
node_modules/react-native/third-party/double-conversion-1.1.6/test/cctest/test-fixed-dtoa.cc
MarcelWepper/PAXETApp
a66a82e4fa38fb7f9f02d34344a9a01fccda4119
[ "CC-BY-3.0", "Apache-2.0" ]
1,510
2019-04-11T07:36:35.000Z
2022-03-31T03:47:40.000Z
src/double-conversion/test/cctest/test-fixed-dtoa.cc
kattkieru/libpypa
5e7a4833da515d0cd2d850d51f082000c9e9f651
[ "Apache-2.0" ]
64
2019-04-11T13:49:55.000Z
2020-12-25T02:18:19.000Z
src/double-conversion/test/cctest/test-fixed-dtoa.cc
kattkieru/libpypa
5e7a4833da515d0cd2d850d51f082000c9e9f651
[ "Apache-2.0" ]
214
2019-04-11T09:36:41.000Z
2022-02-19T08:10:31.000Z
// Copyright 2010 the V8 project authors. 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 ...
32.685547
77
0.679474
[ "vector" ]
5931d5800d02cd2c2e027fddd0f7b1582e9e7b6a
1,891
cpp
C++
src/storage/serializer/CategorySerializer.cpp
mbassale/ownpass
a84e0cd3933ec8c3febf0e09647990baf3c2d506
[ "MIT" ]
null
null
null
src/storage/serializer/CategorySerializer.cpp
mbassale/ownpass
a84e0cd3933ec8c3febf0e09647990baf3c2d506
[ "MIT" ]
null
null
null
src/storage/serializer/CategorySerializer.cpp
mbassale/ownpass
a84e0cd3933ec8c3febf0e09647990baf3c2d506
[ "MIT" ]
null
null
null
// // Created by Marco Bassaletti on 07-03-21. // #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_io.hpp> #include <boost/uuid/string_generator.hpp> #include "GroupSerializer.h" #include "CategorySerializer.h" namespace NSPass::Storage::Serializer { boost::json::object CategorySerializer::serialize(const C...
28.223881
87
0.718667
[ "object", "vector" ]
59353d650fbda82c29e859265fd032e38f2123bb
3,198
cxx
C++
ThirdParty/QtTesting/vtkqttesting/pqAbstractStringEventPlayer.cxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
2
2021-07-07T22:53:19.000Z
2021-07-31T19:29:35.000Z
ThirdParty/QtTesting/vtkqttesting/pqAbstractStringEventPlayer.cxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-11-18T16:50:34.000Z
2022-01-21T13:31:47.000Z
ThirdParty/QtTesting/vtkqttesting/pqAbstractStringEventPlayer.cxx
brown-ccv/paraview-scalable
64b221a540737d2ac94a120039bd8d1e661bdc8f
[ "Apache-2.0", "BSD-3-Clause" ]
5
2020-10-02T10:14:35.000Z
2022-03-10T07:50:22.000Z
/*========================================================================= Program: ParaView Module: pqAbstractStringEventPlayer.cxx Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the term...
29.88785
82
0.665729
[ "object" ]
593952dfaeccdced6e6da0f86b42dc44fbee8b11
1,750
hpp
C++
include/crocoddyl/core/mathbase.hpp
spykspeigel/crocoddyl
0500e398861564b6986d99206a1e0ccec0d66a33
[ "BSD-3-Clause" ]
322
2019-06-04T12:04:00.000Z
2022-03-28T14:37:44.000Z
include/crocoddyl/core/mathbase.hpp
spykspeigel/crocoddyl
0500e398861564b6986d99206a1e0ccec0d66a33
[ "BSD-3-Clause" ]
954
2019-09-02T10:07:27.000Z
2022-03-31T16:14:25.000Z
include/crocoddyl/core/mathbase.hpp
spykspeigel/crocoddyl
0500e398861564b6986d99206a1e0ccec0d66a33
[ "BSD-3-Clause" ]
89
2019-08-13T13:37:52.000Z
2022-03-31T15:55:07.000Z
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2020-2021, LAAS-CNRS, University of Edinburgh // Copyright note valid unless otherwise stated in individual files. // All rights reserved. /////////////////////////////////////////////////////////...
35.714286
98
0.681714
[ "geometry" ]
593b2afee55c2837b7499e2357b6522109bfa3e6
28,875
cpp
C++
sources/modules/ocl/src/color.cpp
ovb197310/opencv_2.4.13.2
940159dab8ea8f5ee019d2038b59e1daf4119d1c
[ "BSD-3-Clause" ]
null
null
null
sources/modules/ocl/src/color.cpp
ovb197310/opencv_2.4.13.2
940159dab8ea8f5ee019d2038b59e1daf4119d1c
[ "BSD-3-Clause" ]
null
null
null
sources/modules/ocl/src/color.cpp
ovb197310/opencv_2.4.13.2
940159dab8ea8f5ee019d2038b59e1daf4119d1c
[ "BSD-3-Clause" ]
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, i...
43.949772
163
0.580571
[ "vector" ]
593def80f0329f8c91b442d6508e4ab9513ff70f
1,413
cpp
C++
Problem801-900/p830_1.cpp
dingqunfei/LeetCode
c74a21ea56ee7b35308d2f387ef24ab29b031e24
[ "Apache-2.0" ]
null
null
null
Problem801-900/p830_1.cpp
dingqunfei/LeetCode
c74a21ea56ee7b35308d2f387ef24ab29b031e24
[ "Apache-2.0" ]
null
null
null
Problem801-900/p830_1.cpp
dingqunfei/LeetCode
c74a21ea56ee7b35308d2f387ef24ab29b031e24
[ "Apache-2.0" ]
null
null
null
/** * @file p830_1.cpp * @brief * @author dingqunfei (dqflying@gmail.com) * @version 1.0 * @date 2021-04-07 * * @copyright Copyright (c) 2021 DQFLYING * * @par : * * * Date : 2021-04-07 * Version : 1.0 * Author : dqflying * Lisence : * Description : * * * * */ class ...
21.738462
55
0.428875
[ "vector" ]
86d0a25f512d22157cdf7ca1d10b220512f6cd7c
1,689
cpp
C++
Summer Graph Training 2013/A.cpp
michaelarakel/local-trainings-and-upsolvings
7ec663fd80e6a9f7c9ffa37bd97b5197f1e4a73c
[ "Unlicense" ]
null
null
null
Summer Graph Training 2013/A.cpp
michaelarakel/local-trainings-and-upsolvings
7ec663fd80e6a9f7c9ffa37bd97b5197f1e4a73c
[ "Unlicense" ]
null
null
null
Summer Graph Training 2013/A.cpp
michaelarakel/local-trainings-and-upsolvings
7ec663fd80e6a9f7c9ffa37bd97b5197f1e4a73c
[ "Unlicense" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #define edge pair <int, pair <int, int> > const int INF = 1000 * 1000 * 1000; using namespace std; void dfs (const vector <vector <int> >& g, vector <char>& used, const int node, vector <int>& connected) { used[node] = true; connected.push_ba...
22.824324
109
0.521018
[ "vector" ]
86d4f3bcf38ffec7c2166c6eddefb0cb5c002306
26,778
cpp
C++
neo/renderer/Interaction.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
1
2018-11-07T22:44:23.000Z
2018-11-07T22:44:23.000Z
neo/renderer/Interaction.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
null
null
null
neo/renderer/Interaction.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
null
null
null
/* =========================================================================== Doom 3 BFG Edition GPL Source Code Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code"). Doom 3 BFG Edition Source Code is free so...
27.577755
366
0.678953
[ "geometry", "model" ]
86d5df37582156ac8e42f88fa1315b8261ff8190
312,923
cpp
C++
core/conn/odbc/src/odbc/nsksrvr/SrvrConnect.cpp
selvaganesang/trafodion
627370c61974be023e48e0ebf0d7ff9d5d711d49
[ "Apache-2.0" ]
null
null
null
core/conn/odbc/src/odbc/nsksrvr/SrvrConnect.cpp
selvaganesang/trafodion
627370c61974be023e48e0ebf0d7ff9d5d711d49
[ "Apache-2.0" ]
null
null
null
core/conn/odbc/src/odbc/nsksrvr/SrvrConnect.cpp
selvaganesang/trafodion
627370c61974be023e48e0ebf0d7ff9d5d711d49
[ "Apache-2.0" ]
null
null
null
/********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
32.725685
758
0.679595
[ "object", "shape" ]
86d60cb802510612618c93bbeef51c56ee9e02be
5,675
cpp
C++
src/collision/area/EventsToCollisions.cpp
Kaosumaru/libmx
7f412a7b845a315da02deb279fb208c739fb2f30
[ "MIT" ]
null
null
null
src/collision/area/EventsToCollisions.cpp
Kaosumaru/libmx
7f412a7b845a315da02deb279fb208c739fb2f30
[ "MIT" ]
null
null
null
src/collision/area/EventsToCollisions.cpp
Kaosumaru/libmx
7f412a7b845a315da02deb279fb208c739fb2f30
[ "MIT" ]
null
null
null
#include "EventsToCollisions.h" #include "collision/area/Area.h" using namespace MX; using namespace Collision; TouchShape::TouchShape(const Touch::pointer& touch, ClassID<>::type id) : touch(touch) { SetClassID(id); _trackCollisions = true; } TouchShape::~TouchShape() { } MouseTouchShape::MouseTouchSha...
34.393939
252
0.711894
[ "shape" ]
86e20509eef83d791bd3819e1c8933b2243be79c
29,659
hpp
C++
framework/areg/component/Event.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
framework/areg/component/Event.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
framework/areg/component/Event.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
#pragma once /************************************************************************ * This file is part of the AREG SDK core engine. * AREG SDK is dual-licensed under Free open source (Apache version 2.0 * License) and Commercial (with various pricing models) licenses, depending * on the nature of the project (c...
44.937879
127
0.575171
[ "object" ]
86e2df13509d1b58134eba81505176b2d6249370
7,113
cpp
C++
OpenXLSX/sources/XLDateTime.cpp
martbelko/OpenXLSX
87d1c8c4c5f71aeb4ce0214b20babffaf3f17f4c
[ "BSD-3-Clause" ]
3
2021-06-29T08:27:17.000Z
2021-09-09T16:01:35.000Z
OpenXLSX/sources/XLDateTime.cpp
martbelko/OpenXLSX
87d1c8c4c5f71aeb4ce0214b20babffaf3f17f4c
[ "BSD-3-Clause" ]
null
null
null
OpenXLSX/sources/XLDateTime.cpp
martbelko/OpenXLSX
87d1c8c4c5f71aeb4ce0214b20babffaf3f17f4c
[ "BSD-3-Clause" ]
1
2022-02-24T14:35:00.000Z
2022-02-24T14:35:00.000Z
// // Created by Kenneth Balslev on 28/08/2021. // #include "XLDateTime.hpp" #include "XLException.hpp" #include <string> #include <cmath> namespace { /** * @brief * @param year * @return */ bool isLeapYear(int year) { if (year == 1900) return true; if (year % 400 == 0 ||...
28.452
118
0.539013
[ "object" ]
86e87788b487060c1c6469dd167fa1676b34cfe0
890
cpp
C++
chap09/Exer09_26.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
50
2016-01-08T14:28:53.000Z
2022-01-21T12:55:00.000Z
chap09/Exer09_26.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
2
2017-06-05T16:45:20.000Z
2021-04-17T13:39:24.000Z
chap09/Exer09_26.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 <iterator> using std::cout; using std::endl; using std::list; using std::vector; using std::begin; using std::end; int main() { int ia[] = { 0, 1, 1, 2, 3, 5, 8, 13, 21, 55, 89 }; list<int> il(begin(ia), end(ia)); vector<int> iv(begin(ia), end(i...
21.707317
55
0.486517
[ "vector" ]
86ea33a0897f5e9d8b383c72d98b77ed94b4bcde
5,405
cpp
C++
frameworks/lua/libs/kernel/dmzLuaKernelSphere.cpp
tongli/dmz
f2242027a17ea804259f9412b07d69f719a527c5
[ "MIT" ]
1
2016-05-08T22:02:35.000Z
2016-05-08T22:02:35.000Z
frameworks/lua/libs/kernel/dmzLuaKernelSphere.cpp
tongli/dmz
f2242027a17ea804259f9412b07d69f719a527c5
[ "MIT" ]
null
null
null
frameworks/lua/libs/kernel/dmzLuaKernelSphere.cpp
tongli/dmz
f2242027a17ea804259f9412b07d69f719a527c5
[ "MIT" ]
null
null
null
#include <dmzLuaKernel.h> #include "dmzLuaKernelPrivate.h" #include <dmzLuaKernelValidate.h> #include <dmzSystem.h> #include <dmzTypesString.h> #include <dmzTypesSphere.h> #include <dmzTypesVector.h> #include <luacpp.h> using namespace dmz; namespace { static const char SphereName[] = "dmz.types.sphere"; inline Sph...
17.268371
89
0.614801
[ "vector" ]
86f4c66b170a91d12afaed70c4a5b378ddc4baf8
16,312
cc
C++
Dragon/src/operators/vision/conv_op_base.cc
neopenx/Dragon
0e639a7319035ddc81918bd3df059230436ee0a1
[ "BSD-2-Clause" ]
212
2015-07-05T07:57:17.000Z
2022-02-27T01:55:35.000Z
Dragon/src/operators/vision/conv_op_base.cc
neopenx/Dragon
0e639a7319035ddc81918bd3df059230436ee0a1
[ "BSD-2-Clause" ]
6
2016-07-07T14:31:56.000Z
2017-12-12T02:21:15.000Z
Dragon/src/operators/vision/conv_op_base.cc
neopenx/Dragon
0e639a7319035ddc81918bd3df059230436ee0a1
[ "BSD-2-Clause" ]
71
2016-03-24T09:02:41.000Z
2021-06-03T01:52:41.000Z
#include "operators/vision/conv_op_base.h" #include "core/workspace.h" #include "utils/filler.h" namespace dragon { template <class Context> void ConvOpBase<Context>::ComputeOutputShape() { output_shape.clear(); for (int i = 0; i < num_spatial_axes; i++) { if (!ReverseDimensions()) { const...
43.498667
119
0.52912
[ "shape", "vector" ]
86f50a73511b65b417c3840648c6a0ccb0779dd6
3,203
hpp
C++
Utils/Hash/Hash.hpp
lydiaxing/fprime
f6b3e03f89e9aca1614243c9896d4a72aa0cc726
[ "Apache-2.0" ]
2
2020-09-08T05:39:05.000Z
2021-05-04T14:58:51.000Z
Utils/Hash/Hash.hpp
JPLOpenSource/fprime-sw-Rel1.0
18364596c24fa369c938ef8758e5aa945ecc6a9b
[ "Apache-2.0" ]
2
2019-02-27T03:17:15.000Z
2019-03-01T22:34:30.000Z
Utils/Hash/Hash.hpp
JPLOpenSource/fprime-sw-Rel1.0
18364596c24fa369c938ef8758e5aa945ecc6a9b
[ "Apache-2.0" ]
3
2019-02-17T20:41:15.000Z
2019-02-26T21:06:50.000Z
// ====================================================================== // \title Hash.hpp // \author dinkel // \brief hpp file for Hash class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. Any comme...
29.934579
80
0.482985
[ "object" ]
86fb21edd43bb2e49657ce7b44a7134e594bfaa4
7,104
cpp
C++
modules/Alexa/APLClientLibrary/APLClient/src/Extensions/Backstack/AplBackstackExtension.cpp
germanviscuso/alexa-smart-screen-sdk
9878cafa35df05d862b3bfc027aa6b1b463ef9c1
[ "Apache-2.0" ]
null
null
null
modules/Alexa/APLClientLibrary/APLClient/src/Extensions/Backstack/AplBackstackExtension.cpp
germanviscuso/alexa-smart-screen-sdk
9878cafa35df05d862b3bfc027aa6b1b463ef9c1
[ "Apache-2.0" ]
null
null
null
modules/Alexa/APLClientLibrary/APLClient/src/Extensions/Backstack/AplBackstackExtension.cpp
germanviscuso/alexa-smart-screen-sdk
9878cafa35df05d862b3bfc027aa6b1b463ef9c1
[ "Apache-2.0" ]
null
null
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
35.878788
112
0.716216
[ "object" ]
8104d41dbe45ae5265e76380014b0539d1b2c9cf
4,222
cpp
C++
src/animations/animationsblinking.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
58
2015-08-09T14:56:35.000Z
2022-01-15T22:06:58.000Z
src/animations/animationsblinking.cpp
mamontov-cpp/saddy-graphics-engine-2d
e25a6637fcc49cb26614bf03b70e5d03a3a436c7
[ "BSD-2-Clause" ]
245
2015-08-08T08:44:22.000Z
2022-01-04T09:18:08.000Z
src/animations/animationsblinking.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
23
2015-12-06T03:57:49.000Z
2020-10-12T14:15:50.000Z
#include "animations/animationsblinking.h" #include "animations/animationsinstance.h" #include "animations/setstate/methodcall.h" #include "animations/setstate/setproperty.h" #include "animations/setstate/dummycommand.h" #include "animations/easing/easingfunction.h" #include "label.h" #include "sprite2d.h"...
27.23871
112
0.599953
[ "object" ]
8107b27720e79f7cbb3d18b69efb2e5b6b2bdd64
1,878
cc
C++
companyreg/src/model/AcceptPartnerNotificationRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
companyreg/src/model/AcceptPartnerNotificationRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
companyreg/src/model/AcceptPartnerNotificationRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
1
2020-11-27T09:13:12.000Z
2020-11-27T09:13:12.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
29.809524
94
0.781683
[ "model" ]
8109999fd15f1d0e343fd122b61679e537dc38ab
4,934
cc
C++
lib/ts/test_Vec.cc
equalitie/trafficserver
42b09742c7e09e142081b31001e80852ed9e7a09
[ "Apache-2.0" ]
null
null
null
lib/ts/test_Vec.cc
equalitie/trafficserver
42b09742c7e09e142081b31001e80852ed9e7a09
[ "Apache-2.0" ]
null
null
null
lib/ts/test_Vec.cc
equalitie/trafficserver
42b09742c7e09e142081b31001e80852ed9e7a09
[ "Apache-2.0" ]
null
null
null
/* -*-Mode: c++;-*- Various vector related code. @section license License 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...
26.244681
88
0.605188
[ "vector" ]
810aedd335a418ac10399e5c88c0e07b0a961d71
945
hpp
C++
libraries/plugins/block_info/include/bmchain/plugins/block_info/block_info_api.hpp
igorsoldatov/BuisnessWiki
ccafad446c2d5db8b13499b587fc75d71ffeebc8
[ "MIT" ]
4
2018-02-02T12:56:53.000Z
2018-02-17T23:07:39.000Z
libraries/plugins/block_info/include/bmchain/plugins/block_info/block_info_api.hpp
igorsoldatov/BuisnessWiki
ccafad446c2d5db8b13499b587fc75d71ffeebc8
[ "MIT" ]
null
null
null
libraries/plugins/block_info/include/bmchain/plugins/block_info/block_info_api.hpp
igorsoldatov/BuisnessWiki
ccafad446c2d5db8b13499b587fc75d71ffeebc8
[ "MIT" ]
4
2018-02-02T12:50:24.000Z
2019-03-26T11:32:21.000Z
#pragma once #include <fc/api.hpp> #include <bmchain/plugins/block_info/block_info.hpp> namespace bmchain { namespace app { struct api_context; } } namespace bmchain { namespace plugin { namespace block_info { namespace detail { class block_info_api_impl; } struct get_block_info_args { uint32_t start_block...
19.285714
86
0.713228
[ "vector" ]
810af531bbdcfc30db06c5fb642206e061c09d9b
18,223
cpp
C++
ReactAndroid/third-party-ndk/boost/boost_1_66_0/libs/geometry/test/algorithms/overlay/overlay.cpp
yinhangfeng/react-native
35e88f14195aa7a75ace8881956a0eb4bdadea62
[ "CC-BY-4.0", "BSD-3-Clause" ]
null
null
null
ReactAndroid/third-party-ndk/boost/boost_1_66_0/libs/geometry/test/algorithms/overlay/overlay.cpp
yinhangfeng/react-native
35e88f14195aa7a75ace8881956a0eb4bdadea62
[ "CC-BY-4.0", "BSD-3-Clause" ]
null
null
null
ReactAndroid/third-party-ndk/boost/boost_1_66_0/libs/geometry/test/algorithms/overlay/overlay.cpp
yinhangfeng/react-native
35e88f14195aa7a75ace8881956a0eb4bdadea62
[ "CC-BY-4.0", "BSD-3-Clause" ]
1
2019-03-08T11:06:22.000Z
2019-03-08T11:06:22.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Unit Test // Copyright (c) 2015 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Oracle on 2017. // Modifications copyright (c) 2017, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Or...
34.644487
133
0.558305
[ "geometry", "model" ]
8113213abf69ef85a009a24ff4dfe5a94e245e89
32,011
cxx
C++
sources/etx/rt/integrators/bidirectional.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
180
2022-01-18T18:55:06.000Z
2022-03-21T14:24:39.000Z
sources/etx/rt/integrators/bidirectional.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
1
2022-02-25T14:05:49.000Z
2022-02-25T14:05:49.000Z
sources/etx/rt/integrators/bidirectional.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
7
2022-02-02T00:57:57.000Z
2022-02-22T15:53:15.000Z
#include <etx/core/core.hxx> #include <etx/log/log.hxx> #include <etx/render/host/film.hxx> #include <etx/rt/integrators/bidirectional.hxx> #include <atomic> namespace etx { struct CPUBidirectionalImpl : public Task { struct PathVertex : public Intersection { enum class Class : uint32_t { Invalid, ...
35.528302
178
0.663303
[ "render", "vector" ]
811a1e03f0993ef5d7eed94490fc4c86d2acaf1a
76,621
cpp
C++
src/library/commissioner_impl.cpp
xwang146/ot-commissioner
ce6b1180459d2533f730b3effee626efee16b9a3
[ "BSD-3-Clause" ]
null
null
null
src/library/commissioner_impl.cpp
xwang146/ot-commissioner
ce6b1180459d2533f730b3effee626efee16b9a3
[ "BSD-3-Clause" ]
16
2020-02-19T03:16:12.000Z
2020-12-08T07:43:20.000Z
src/library/commissioner_impl.cpp
xwang146/ot-commissioner
ce6b1180459d2533f730b3effee626efee16b9a3
[ "BSD-3-Clause" ]
1
2021-06-09T03:39:12.000Z
2021-06-09T03:39:12.000Z
/* * Copyright (c) 2019, The OpenThread Commissioner Authors. * 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 copyrig...
34.654455
120
0.66564
[ "mesh", "vector" ]
811dd6d1e3a0e3a878c2d26c4399230551f6e189
11,389
hpp
C++
kernel/src/simulationTools/OSNSMultipleImpact.hpp
bremond/siconos
8deea56ff6779379f4f69e0376d24a81562a42d4
[ "Apache-2.0" ]
null
null
null
kernel/src/simulationTools/OSNSMultipleImpact.hpp
bremond/siconos
8deea56ff6779379f4f69e0376d24a81562a42d4
[ "Apache-2.0" ]
null
null
null
kernel/src/simulationTools/OSNSMultipleImpact.hpp
bremond/siconos
8deea56ff6779379f4f69e0376d24a81562a42d4
[ "Apache-2.0" ]
null
null
null
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 * *...
31.724234
180
0.722539
[ "vector", "model" ]
812333564e6642d3ded769683e63a91e371d211b
761
hpp
C++
maxon_epos_driver/include/maxon_epos_driver/EposManager.hpp
swankun/maxon_epos_ros
30b0df5af7e28b63b74008c9ad2d27e912cb6045
[ "MIT" ]
12
2019-06-10T20:21:53.000Z
2022-03-12T14:44:42.000Z
maxon_epos_driver/include/maxon_epos_driver/EposManager.hpp
swankun/maxon_epos_ros
30b0df5af7e28b63b74008c9ad2d27e912cb6045
[ "MIT" ]
5
2019-08-09T11:29:46.000Z
2022-01-31T07:28:57.000Z
maxon_epos_driver/include/maxon_epos_driver/EposManager.hpp
swankun/maxon_epos_ros
30b0df5af7e28b63b74008c9ad2d27e912cb6045
[ "MIT" ]
6
2020-05-28T06:48:11.000Z
2022-02-25T11:12:03.000Z
/** * @file EposManager * @brief * @author arwtyxouymz * @date 2019-06-03 16:08:23 */ #ifndef _EposManager_HPP #define _EposManager_HPP #include <string> #include <vector> #include <ros/ros.h> #include "maxon_epos_driver/EposMotor.hpp" #include "maxon_epos_msgs/MotorStates.h" class EposManager { public: ...
20.567568
67
0.706965
[ "vector" ]
8125349eedf6092a333395a038eba74b7929692e
3,195
cpp
C++
pid/thermalcontroller.cpp
openbmc/phosphor-pid-control
457993f836338aa0c13a32af803fcbc5227c81f3
[ "Apache-2.0" ]
9
2018-09-19T10:26:53.000Z
2020-11-09T23:02:16.000Z
pid/thermalcontroller.cpp
openbmc/phosphor-pid-control
457993f836338aa0c13a32af803fcbc5227c81f3
[ "Apache-2.0" ]
17
2018-08-13T10:34:26.000Z
2022-02-08T02:24:12.000Z
pid/thermalcontroller.cpp
openbmc/phosphor-pid-control
457993f836338aa0c13a32af803fcbc5227c81f3
[ "Apache-2.0" ]
9
2019-03-23T03:08:32.000Z
2021-04-25T03:39:34.000Z
/** * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
24.204545
80
0.663537
[ "vector" ]
81258bf593034c12f5aa33ccda9f7aca874b07b4
3,266
cpp
C++
tags/20100603_v0.2.1/src/singlePlayer/db/sqlite/dao/CPfConfederationsDAOSQLite.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
tags/20100603_v0.2.1/src/singlePlayer/db/sqlite/dao/CPfConfederationsDAOSQLite.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
tags/20100603_v0.2.1/src/singlePlayer/db/sqlite/dao/CPfConfederationsDAOSQLite.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
/****************************************************************************** * Copyright (C) 2008 - Ikaro Games www.ikarogames.com * * * * This program is free software; you can redistribute it and/or * ...
42.973684
116
0.558175
[ "vector" ]
81259aed5655250b03e71f3806e26e1f1e2494a5
2,996
cc
C++
src/Vehicle/Actuators/ActuatorActions.cc
farhangnaderi/qgroundcontrol
fcf6f4ec1043a632072e979e3708857c706ac171
[ "Apache-2.0" ]
2,133
2015-01-04T03:10:22.000Z
2022-03-31T01:51:07.000Z
src/Vehicle/Actuators/ActuatorActions.cc
farhangnaderi/qgroundcontrol
fcf6f4ec1043a632072e979e3708857c706ac171
[ "Apache-2.0" ]
6,166
2015-01-02T18:47:42.000Z
2022-03-31T03:44:10.000Z
src/Vehicle/Actuators/ActuatorActions.cc
farhangnaderi/qgroundcontrol
fcf6f4ec1043a632072e979e3708857c706ac171
[ "Apache-2.0" ]
2,980
2015-01-01T03:09:18.000Z
2022-03-31T04:13:55.000Z
/**************************************************************************** * * (c) 2021 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ********************************************...
37.45
116
0.60514
[ "3d" ]
812c91c67b2549fb77d25472c59140b1ace7da16
5,951
hpp
C++
homeKeeper/workFunctions.hpp
siweilxy/homeKeeper
4f87cf7d1e48caf6006b5a6dc9aa86e96b7fb061
[ "Apache-2.0" ]
null
null
null
homeKeeper/workFunctions.hpp
siweilxy/homeKeeper
4f87cf7d1e48caf6006b5a6dc9aa86e96b7fb061
[ "Apache-2.0" ]
null
null
null
homeKeeper/workFunctions.hpp
siweilxy/homeKeeper
4f87cf7d1e48caf6006b5a6dc9aa86e96b7fb061
[ "Apache-2.0" ]
null
null
null
/* * workFunctions.hpp * * Created on: 30 Mar 2020 * Author: siwei */ #ifndef HOMEKEEPER_WORKFUNCTIONS_HPP_ #define HOMEKEEPER_WORKFUNCTIONS_HPP_ #include "curl.hpp" #include "EmailSender.hpp" #include "tblEmailInfo.hpp" #include "file.hpp" #include "tblIpInfo.hpp" #include "downloadfile.hpp" #include <map...
26.448889
93
0.458242
[ "vector" ]
8133422ab6ed7414a00489812cf1c5df4b186f3a
3,960
cc
C++
tensorpipe/transport/shm/reactor.cc
heliarmk/tensorpipe
a58b5435d1b06a1dcc6ab584c41aa8d7d29470af
[ "BSD-3-Clause" ]
189
2020-02-05T23:45:38.000Z
2022-03-25T14:31:51.000Z
tensorpipe/transport/shm/reactor.cc
heliarmk/tensorpipe
a58b5435d1b06a1dcc6ab584c41aa8d7d29470af
[ "BSD-3-Clause" ]
372
2020-02-06T11:06:07.000Z
2022-03-30T06:07:00.000Z
tensorpipe/transport/shm/reactor.cc
heliarmk/tensorpipe
a58b5435d1b06a1dcc6ab584c41aa8d7d29470af
[ "BSD-3-Clause" ]
55
2020-02-06T15:01:32.000Z
2022-03-28T03:56:34.000Z
/* * Copyright (c) Meta Platforms, Inc. and 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 <tensorpipe/transport/shm/reactor.h> #include <tensorpipe/common/shm_ringbuffer.h> #inclu...
24.75
79
0.67096
[ "vector" ]
81341c7cb320d889fe33394b81a0a722a8c96b54
21,596
cpp
C++
ODBCConnectorWin32/ODBCConnector.cpp
YuhichYOC/ODBCConnectorWin32
600b5245d9e39359ee9204e93073849b743e264c
[ "Apache-2.0" ]
null
null
null
ODBCConnectorWin32/ODBCConnector.cpp
YuhichYOC/ODBCConnectorWin32
600b5245d9e39359ee9204e93073849b743e264c
[ "Apache-2.0" ]
null
null
null
ODBCConnectorWin32/ODBCConnector.cpp
YuhichYOC/ODBCConnectorWin32
600b5245d9e39359ee9204e93073849b743e264c
[ "Apache-2.0" ]
null
null
null
/* * * ODBCConnector.cpp * * Copyright 2016 Yuichi Yoshii * 吉井雄一 @ 吉井産業 you.65535.kir@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LI...
23.246502
91
0.600528
[ "vector" ]
8135a06fa01adc3379bd1da0a7552f40773d824e
2,133
cpp
C++
dockerfiles/gaas_tutorial_2/GAAS/software/SLAM/ygz_slam_ros/Thirdparty/PCL/examples/surface/test_nurbs_fitting_surface.cpp
hddxds/scripts_from_gi
afb8977c001b860335f9062464e600d9115ea56e
[ "Apache-2.0" ]
2
2019-04-10T14:04:52.000Z
2019-05-29T03:41:58.000Z
software/SLAM/ygz_slam_ros/Thirdparty/PCL/examples/surface/test_nurbs_fitting_surface.cpp
glider54321/GAAS
5c3b8c684e72fdf7f62c5731a260021e741069e7
[ "BSD-3-Clause" ]
null
null
null
software/SLAM/ygz_slam_ros/Thirdparty/PCL/examples/surface/test_nurbs_fitting_surface.cpp
glider54321/GAAS
5c3b8c684e72fdf7f62c5731a260021e741069e7
[ "BSD-3-Clause" ]
1
2021-12-20T06:54:41.000Z
2021-12-20T06:54:41.000Z
#include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/common/io.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/surface/on_nurbs/fitting_surface_tdm.h> #include <pcl/surface/on_nurbs/triangulation.h> typedef pcl::PointXYZ Point; void CreateCylinderPoints (pcl::PointCloud<Point>::Ptr ...
26.333333
109
0.668073
[ "mesh" ]
813611601894091654b9977715f221aff10c7c32
952
cpp
C++
JuneChallenge/Week2/13:LargestDivisibleSubset.cpp
thepushkarp/leetcode
6812c68d7c49b9e5b0698feb3203346f5fe8adbf
[ "MIT" ]
1
2022-02-10T15:19:02.000Z
2022-02-10T15:19:02.000Z
JuneChallenge/Week2/13:LargestDivisibleSubset.cpp
thepushkarp/leetcode
6812c68d7c49b9e5b0698feb3203346f5fe8adbf
[ "MIT" ]
null
null
null
JuneChallenge/Week2/13:LargestDivisibleSubset.cpp
thepushkarp/leetcode
6812c68d7c49b9e5b0698feb3203346f5fe8adbf
[ "MIT" ]
null
null
null
class Solution { public: vector<int> largestDivisibleSubset(vector<int>& nums) { int n = nums.size(); if (n == 0) return {}; vector<int> dp(n, 0); vector<int> last(n, n); sort(nums.begin(), nums.end()); dp[n-1] = 1; int maxmGlobl = n-1; for (int i = n ...
28.848485
59
0.388655
[ "vector" ]
813f81d1f22dbb4e6540c4d2aac93c0d2cfc6894
8,414
hpp
C++
core/channel/push_combined_channel.hpp
OwenDeng1993/Husky
61ba0e8fc2a0ab025e89307de07a1c6833227857
[ "Apache-2.0" ]
117
2016-08-31T04:05:08.000Z
2021-12-18T15:05:38.000Z
core/channel/push_combined_channel.hpp
OwenDeng1993/Husky
61ba0e8fc2a0ab025e89307de07a1c6833227857
[ "Apache-2.0" ]
223
2016-09-12T05:32:44.000Z
2020-05-22T02:51:21.000Z
core/channel/push_combined_channel.hpp
OwenDeng1993/Husky
61ba0e8fc2a0ab025e89307de07a1c6833227857
[ "Apache-2.0" ]
77
2016-08-31T04:02:57.000Z
2020-04-08T09:23:46.000Z
// Copyright 2016 Husky Team // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
38.774194
111
0.625149
[ "vector" ]
8144e3cec1d62d0520391bfa4787fec7b8b4884d
7,142
cpp
C++
test/src/misc/dbn_sgd.cpp
ongbe/dll
1f451eae2c020dbd8ac17e76e7befc5079210051
[ "MIT" ]
1
2020-02-19T13:13:09.000Z
2020-02-19T13:13:09.000Z
test/src/misc/dbn_sgd.cpp
ongbe/dll
1f451eae2c020dbd8ac17e76e7befc5079210051
[ "MIT" ]
null
null
null
test/src/misc/dbn_sgd.cpp
ongbe/dll
1f451eae2c020dbd8ac17e76e7befc5079210051
[ "MIT" ]
1
2020-02-27T03:42:24.000Z
2020-02-27T03:42:24.000Z
//======================================================================= // Copyright (c) 2014-2017 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
40.350282
158
0.651638
[ "vector" ]
81459c92fc25ae17d51501f563eee923a9d13042
17,422
cc
C++
src/frontend/builder.cc
hcho3/treelite
d73bed79a7fff7cc870881f59ebc45b13798d6fb
[ "Apache-2.0" ]
1
2020-12-28T06:19:45.000Z
2020-12-28T06:19:45.000Z
src/frontend/builder.cc
hcho3/treelite
d73bed79a7fff7cc870881f59ebc45b13798d6fb
[ "Apache-2.0" ]
1
2022-02-04T20:14:45.000Z
2022-02-04T20:14:45.000Z
src/frontend/builder.cc
hcho3/treelite
d73bed79a7fff7cc870881f59ebc45b13798d6fb
[ "Apache-2.0" ]
null
null
null
/*! * Copyright 2017 by Contributors * \file builder.cc * \brief model builder frontend * \author Philip Cho */ #include <treelite/frontend.h> #include <treelite/tree.h> #include <dmlc/registry.h> #include <memory> #include <queue> #include "../c_api/c_api_error.h" #define CHECK_EARLY_RETURN(x, msg) ...
38.715556
81
0.63328
[ "vector", "model" ]
8145d833692785119f1b14295ee5517d2eb0ef31
14,146
cpp
C++
scopeprotocols/EyeDecoder2.cpp
smunaut/scopehal
77af237e29f73da7b7b86fd21166bc1a221a1404
[ "BSD-3-Clause" ]
null
null
null
scopeprotocols/EyeDecoder2.cpp
smunaut/scopehal
77af237e29f73da7b7b86fd21166bc1a221a1404
[ "BSD-3-Clause" ]
null
null
null
scopeprotocols/EyeDecoder2.cpp
smunaut/scopehal
77af237e29f73da7b7b86fd21166bc1a221a1404
[ "BSD-3-Clause" ]
null
null
null
/*********************************************************************************************************************** * * * ANTIKERNEL v0.1 ...
31.02193
120
0.564753
[ "render" ]
814638043465736b9ddcb0b0f158e7d3f551d393
889
cpp
C++
Algorithms/Mathematical-Algorithms/Number-Theory/linear_sieve_algorithm.cpp
tensorush/Computer-Scientists-Toolkit
f48aadf6387b935ac593f6a5513352c3bf562cb0
[ "MIT" ]
9
2021-07-11T19:53:36.000Z
2022-03-28T15:04:38.000Z
Algorithms/Mathematical-Algorithms/Number-Theory/linear_sieve_algorithm.cpp
geotrush/Computer-Scientists-Toolkit
f48aadf6387b935ac593f6a5513352c3bf562cb0
[ "MIT" ]
1
2022-01-18T09:49:36.000Z
2022-01-18T17:50:12.000Z
Algorithms/Mathematical-Algorithms/Number-Theory/linear_sieve_algorithm.cpp
geotrush/Computer-Scientists-Toolkit
f48aadf6387b935ac593f6a5513352c3bf562cb0
[ "MIT" ]
2
2021-11-15T08:02:25.000Z
2022-03-21T14:29:15.000Z
/* Linear Sieve Algorithm ---------------------- Time: O(n) Space: O(n) */ #include <iostream> #include <vector> auto LinearSieveAlgorithm(const unsigned& n) { unsigned numPrimes; std::vector<unsigned> primes, primeDivs(n + 1); for (unsigned i = 2; i <= n; ++i) { if (primeDivs[i] ==...
25.4
119
0.511811
[ "vector" ]
8147ee8803cf1f8d7b6667ea645277eb32d23b85
635
cpp
C++
HDU/1257/12867082_AC_46ms_1716kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
HDU/1257/12867082_AC_46ms_1716kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
HDU/1257/12867082_AC_46ms_1716kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
/** * @author Moe_Sakiya sakiya@tun.moe * @date 2018-01-23 13:10:41 * */ #include <iostream> #include <string> #include <algorithm> #include <set> #include <map> #include <vector> #include <stack> #include <queue> #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> using namespace st...
15.875
40
0.548031
[ "vector" ]
8148f7595f0e3e7f75a82f03ded75e77377dbaf8
3,082
cc
C++
tensorflow_serving/util/any_ptr_test.cc
mzhang-code/serving
527c6f2173eba584ebdca4f8b11ae3c0550ab1a9
[ "Apache-2.0" ]
5,791
2016-02-16T17:50:06.000Z
2022-03-31T11:53:10.000Z
tensorflow_serving/util/any_ptr_test.cc
mzhang-code/serving
527c6f2173eba584ebdca4f8b11ae3c0550ab1a9
[ "Apache-2.0" ]
1,618
2016-02-16T18:04:00.000Z
2022-03-30T07:24:28.000Z
tensorflow_serving/util/any_ptr_test.cc
mzhang-code/serving
527c6f2173eba584ebdca4f8b11ae3c0550ab1a9
[ "Apache-2.0" ]
2,501
2016-02-16T19:57:43.000Z
2022-03-27T02:43:49.000Z
/* Copyright 2016 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 law or agreed to in ...
26.118644
80
0.692083
[ "object" ]
814c07b1ed3aa1ca29a1272279144f4934d3c626
4,134
cpp
C++
saber/lite/funcs/neon/saber_fc.cpp
vin-huang/Anakin
8fc4b82ebaf974a6e052fe3690e41d678de4aa03
[ "Apache-2.0" ]
null
null
null
saber/lite/funcs/neon/saber_fc.cpp
vin-huang/Anakin
8fc4b82ebaf974a6e052fe3690e41d678de4aa03
[ "Apache-2.0" ]
null
null
null
saber/lite/funcs/neon/saber_fc.cpp
vin-huang/Anakin
8fc4b82ebaf974a6e052fe3690e41d678de4aa03
[ "Apache-2.0" ]
null
null
null
#include "saber/lite/funcs/saber_fc.h" #ifdef USE_ARM_PLACE #include "saber/lite/funcs/neon/impl/sgemv_arm.h" namespace anakin{ namespace saber{ namespace lite{ template <typename Dtype> void fill_bias_fc(Dtype* tensor, const Dtype* bias, const int num, const int channel); template <> void fill_bias_fc<float>(flo...
28.708333
94
0.570392
[ "shape", "vector" ]
814d2fc234b7508ba584d991446c181e359997fe
3,792
cpp
C++
ksn-2020-mencari-bola/communicator.cpp
ia-toki/ksn-2020
87cab7916383ae1e442ea991b512909c18036a3c
[ "CC-BY-4.0" ]
null
null
null
ksn-2020-mencari-bola/communicator.cpp
ia-toki/ksn-2020
87cab7916383ae1e442ea991b512909c18036a3c
[ "CC-BY-4.0" ]
null
null
null
ksn-2020-mencari-bola/communicator.cpp
ia-toki/ksn-2020
87cab7916383ae1e442ea991b512909c18036a3c
[ "CC-BY-4.0" ]
null
null
null
#include <cmath> #include <algorithm> #include <fstream> #include <iostream> #include <vector> // ******** Start of communicator utils ******** std::ifstream inp; void ac(std::string reason="") { std::cerr << "AC\n"; if (reason != "") { std::cerr << reason << '\n'; } exit(0); } void wa(std::string reaso...
21.423729
75
0.552215
[ "vector" ]
8157b07525e0df37822a31eb43838a7c5847db48
1,217
cpp
C++
SDLGameDev/SDLGameDev/src/GameObject.cpp
rem821/sdl2-opengl-gamedev
84cf4e3fbf92285ab2ab71dd8ba5b92341ea0f52
[ "MIT" ]
null
null
null
SDLGameDev/SDLGameDev/src/GameObject.cpp
rem821/sdl2-opengl-gamedev
84cf4e3fbf92285ab2ab71dd8ba5b92341ea0f52
[ "MIT" ]
null
null
null
SDLGameDev/SDLGameDev/src/GameObject.cpp
rem821/sdl2-opengl-gamedev
84cf4e3fbf92285ab2ab71dd8ba5b92341ea0f52
[ "MIT" ]
null
null
null
#include "GameObject.h" #include "TextureManager.h" #include "fmt/core.h" GameObject::GameObject(SDL_Renderer* renderer, const char* texturesheet, int xpos, int ypos, int width, int height) { objTexture = TextureManager::loadTexture(renderer, texturesheet); this->xpos = xpos; this->ypos = ypos; srcRect.h = height;...
20.982759
117
0.681183
[ "render" ]
815cb77ceb343e51c3717112214e980cec27aeda
415
hh
C++
include/counter_array.hh
martinsk/etally_core
b1fc30ca79e93bea5a3efc63d01ef9dd67c9c674
[ "MIT" ]
1
2015-12-26T18:57:52.000Z
2015-12-26T18:57:52.000Z
include/counter_array.hh
martinsk/etally_core
b1fc30ca79e93bea5a3efc63d01ef9dd67c9c674
[ "MIT" ]
null
null
null
include/counter_array.hh
martinsk/etally_core
b1fc30ca79e93bea5a3efc63d01ef9dd67c9c674
[ "MIT" ]
null
null
null
#ifndef COUNTER_ARRAY_HH #define COUNTER_ARRAY_HH #include "types.hh" template<typename Ty> class counter_array{ private: std::vector<Ty> data; public: Ty& operator[](idx_t idx) { if( data.size() <= idx) { data.resize(idx+1); } return data[idx]; } const Ty operator[](idx_t idx) const { ...
14.821429
40
0.624096
[ "vector" ]
815ceeb668d13ac77aa80073196c929be8eb29fc
2,292
hpp
C++
include/VideoSubtitle.hpp
norishigefukushima/OpenCP
63090131ec975e834f85b04e84ec29b2893845b2
[ "BSD-3-Clause" ]
137
2015-03-27T07:11:19.000Z
2022-03-30T05:58:22.000Z
include/VideoSubtitle.hpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
2
2016-05-18T06:33:16.000Z
2016-07-11T17:39:17.000Z
include/VideoSubtitle.hpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
43
2015-02-20T15:34:25.000Z
2022-01-27T14:59:37.000Z
#pragma once #include "common.hpp" #include "Timer.hpp" namespace cp { class CP_EXPORT VideoSubtitle { private: cp::Timer tscript; double time_dissolve_start = 500.0; double time_dissolve_end = 1000.0; double time_dissolve = time_dissolve_end - time_dissolve_start; std::string font = "Segoe UI"; //stri...
40.928571
213
0.708551
[ "vector" ]
815dd06e708cbb449014bf5705b2bfa658331db5
1,002
cc
C++
cpp/src/util/string_split.cc
parastoog/libaddressinput
4e0f792ff20d78c9fab7ab9d7533324f32efa6b3
[ "Apache-2.0" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
cpp/src/util/string_split.cc
parastoog/libaddressinput
4e0f792ff20d78c9fab7ab9d7533324f32efa6b3
[ "Apache-2.0" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
cpp/src/util/string_split.cc
parastoog/libaddressinput
4e0f792ff20d78c9fab7ab9d7533324f32efa6b3
[ "Apache-2.0" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// 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. // // The original source code is from: // http://src.chromium.org/viewvc/chrome/trunk/src/base/strings/string_split.cc?revision=216633 #include "string_s...
26.368421
95
0.630739
[ "vector" ]
815e85d14959ed11c5766283160889f28350f022
12,965
cpp
C++
tms_rc/tms_rc_katana/KNI_4.3.0/src/InvKin/KatanaKinematics6M180.cpp
robotpilot/ros_tms
3d6b6579e89aa9cb216cd3cb6157fabc553c18f1
[ "BSD-3-Clause" ]
54
2015-01-06T06:58:28.000Z
2021-05-02T07:49:37.000Z
tms_rc/tms_rc_katana/KNI_4.3.0/src/InvKin/KatanaKinematics6M180.cpp
robotpilot/ros_tms
3d6b6579e89aa9cb216cd3cb6157fabc553c18f1
[ "BSD-3-Clause" ]
114
2015-01-07T06:42:21.000Z
2022-02-12T05:54:04.000Z
tms_rc/tms_rc_katana/KNI_4.3.0/src/InvKin/KatanaKinematics6M180.cpp
robotpilot/ros_tms
3d6b6579e89aa9cb216cd3cb6157fabc553c18f1
[ "BSD-3-Clause" ]
24
2015-03-27T08:35:59.000Z
2020-06-08T13:05:31.000Z
/*************************************************************************** * Copyright (C) 2006 by Tiziano Mueller * * tiziano.mueller@neuronics.ch * * * * This pr...
33.675325
119
0.593984
[ "vector", "transform" ]
816089c3c452f06ffea63c5603f2b7afe263947a
873
cpp
C++
BashuOJ-Code/2581.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/2581.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/2581.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cstdlib> #include<cmath> #include<iomanip> #include<algorithm> #include<queue> #include<stack> #include<vector> #define ri register int #define ll long long using namespace std; const int MAXN=100005; int n,a[MAXN]; ll Ans; inline const int getint() { int ...
18.574468
56
0.578465
[ "vector" ]
8168514b78d9c2dd5a4a3ee973d60db0d3eb2491
5,911
cpp
C++
lj/main.cpp
ToruNiina/ljfluid
189a7ee6ffcb8c6445f8693b55dea6c096bd6e75
[ "MIT" ]
1
2020-12-15T14:05:13.000Z
2020-12-15T14:05:13.000Z
lj/main.cpp
ToruNiina/ljfluid
189a7ee6ffcb8c6445f8693b55dea6c096bd6e75
[ "MIT" ]
null
null
null
lj/main.cpp
ToruNiina/ljfluid
189a7ee6ffcb8c6445f8693b55dea6c096bd6e75
[ "MIT" ]
null
null
null
#include <lj/particle.hpp> #include <lj/boundary_condition.hpp> // #include <lj/verletlist.hpp> #include <lj/cell_list.hpp> #include <iterator> #include <fstream> #include <random> namespace lj { template<typename Real> constexpr static Real sgm = 1.0; template<typename Real> constexpr static Real eps = 1.0; template<...
31.441489
89
0.482998
[ "vector" ]
816a7ec66978bc632236c519c9db474aef8d888d
15,356
cpp
C++
sandbox/performance.cpp
VaderY/cereal
b03f237713a7e4aab18c7d9150fb3c9a5e92ea3a
[ "BSD-3-Clause" ]
null
null
null
sandbox/performance.cpp
VaderY/cereal
b03f237713a7e4aab18c7d9150fb3c9a5e92ea3a
[ "BSD-3-Clause" ]
null
null
null
sandbox/performance.cpp
VaderY/cereal
b03f237713a7e4aab18c7d9150fb3c9a5e92ea3a
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2014, Randolph Voorhies, Shane Grant 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 l...
32.465116
180
0.669771
[ "object", "vector" ]
816c107796b17d90d9b3619b271d4c633d6057f6
1,091
hpp
C++
csgo/sdk/sdk.hpp
laxodev/csgo_modest
17e59a31f062077626b4aa9810c6c0989606af3a
[ "MIT" ]
null
null
null
csgo/sdk/sdk.hpp
laxodev/csgo_modest
17e59a31f062077626b4aa9810c6c0989606af3a
[ "MIT" ]
null
null
null
csgo/sdk/sdk.hpp
laxodev/csgo_modest
17e59a31f062077626b4aa9810c6c0989606af3a
[ "MIT" ]
null
null
null
#pragma once /// Source engine #include "source_engine/datatypes/ConVar.hpp" #include "source_engine/datatypes/player_info_t.hpp" #include "source_engine/datatypes/ClientClass.hpp" #include "source_engine/datatypes/datamap.hpp" #include "source_engine/datatypes/CUserCmd.h" #include "source_engine/datatypes/ServerClass...
32.088235
52
0.811182
[ "render" ]