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
5ee76979613793f217872c2c91ada51ab9951b18
22,615
cpp
C++
Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Private/TileMapEditing/STileLayerList.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Private/TileMapEditing/STileLayerList.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Private/TileMapEditing/STileLayerList.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "TileMapEditing/STileLayerList.h" #include "PaperTileLayer.h" #include "UObject/PropertyPortFlags.h" #include "Misc/NotifyHook.h" #include "Framework/MultiBox/MultiBoxDefs.h" #include "Framework/MultiBox/MultiBoxBuilder.h" #include "Widgets/Views/SL...
30.315013
169
0.757462
[ "object" ]
5eeca86a59ceb28ac73e795f94b0f15bda986cff
12,772
cpp
C++
xs/src/libslic3r/BridgeDetector.cpp
bharralure49/Slic3r
ac2b6de62bd38e6f9dd87f26f2a0394d7b6b41c7
[ "CC-BY-3.0" ]
1
2015-03-29T21:35:34.000Z
2015-03-29T21:35:34.000Z
xs/src/libslic3r/BridgeDetector.cpp
bharralure49/Slic3r
ac2b6de62bd38e6f9dd87f26f2a0394d7b6b41c7
[ "CC-BY-3.0" ]
null
null
null
xs/src/libslic3r/BridgeDetector.cpp
bharralure49/Slic3r
ac2b6de62bd38e6f9dd87f26f2a0394d7b6b41c7
[ "CC-BY-3.0" ]
null
null
null
#include "BridgeDetector.hpp" #include "ClipperUtils.hpp" #include "Geometry.hpp" #include <algorithm> namespace Slic3r { class BridgeDirectionComparator { public: std::map<double,double> dir_coverage, dir_avg_length; // angle => score BridgeDirectionComparator(double _extrusion_width) : ext...
38.46988
118
0.615096
[ "geometry", "vector" ]
5eecc9735a7c23440f4f2e7f477793e464e05700
1,499
cc
C++
src/objects/Object.cc
JamesHoltom/TermEngine
7149322c15a66547d6e6ae8b8c76ec925fe5bbf5
[ "MIT" ]
1
2021-01-22T19:24:08.000Z
2021-01-22T19:24:08.000Z
src/objects/Object.cc
JamesHoltom/TermEngine
7149322c15a66547d6e6ae8b8c76ec925fe5bbf5
[ "MIT" ]
null
null
null
src/objects/Object.cc
JamesHoltom/TermEngine
7149322c15a66547d6e6ae8b8c76ec925fe5bbf5
[ "MIT" ]
null
null
null
#include "Object.h" #include "../logging/Logger.h" namespace term_engine::objects { Object::Object(const glm::vec2& position, const glm::ivec2& size) : object_id_(Object::object_next_id_++), position_(position), size_(size) { size_t data_size = (size_t)size.x * (size_t)size.y; data_.reserve(dat...
19.467532
96
0.641761
[ "object" ]
5eef3f97ba4c75295e9350e2660265375d96c12c
4,729
hpp
C++
app/tenncor/include/graph/connector/iconnector.hpp
mingkaic/rocnnet
b0e6b9ef1b80ee3d33d68f48dd051a99c2df39ab
[ "MIT" ]
3
2017-01-18T20:42:56.000Z
2018-11-07T12:56:15.000Z
app/tenncor/include/graph/connector/iconnector.hpp
mingkaic/rocnnet
b0e6b9ef1b80ee3d33d68f48dd051a99c2df39ab
[ "MIT" ]
10
2016-12-01T08:15:28.000Z
2018-09-28T17:16:32.000Z
app/tenncor/include/graph/connector/iconnector.hpp
mingkaic/rocnnet
b0e6b9ef1b80ee3d33d68f48dd051a99c2df39ab
[ "MIT" ]
null
null
null
/*! * * iconnector.hpp * cnnet * * Purpose: * graph connector interface * manages graph information * * Created by Mingkai Chen on 2016-12-01. * Copyright © 2016 Mingkai Chen. All rights reserved. * */ #include "graph/varptr.hpp" #include "graph/leaf/constant.hpp" #pragma once #ifndef TENNCOR_ICONN...
29.01227
102
0.714527
[ "shape", "vector" ]
d6734f157da2e276ae901626c5a98c19776993ad
3,198
cc
C++
waf-openapi/src/model/ModifyProtectionRuleStatusRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
waf-openapi/src/model/ModifyProtectionRuleStatusRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
waf-openapi/src/model/ModifyProtectionRuleStatusRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.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...
24.790698
85
0.761726
[ "model" ]
d674cda409235841207097ba85022229b97235de
99,137
cpp
C++
unit_tests/command_stream/aub_command_stream_receiver_tests.cpp
cmey/compute-runtime
118bad16dfe523724dfaf8016bfa6fbe6896348b
[ "MIT" ]
null
null
null
unit_tests/command_stream/aub_command_stream_receiver_tests.cpp
cmey/compute-runtime
118bad16dfe523724dfaf8016bfa6fbe6896348b
[ "MIT" ]
null
null
null
unit_tests/command_stream/aub_command_stream_receiver_tests.cpp
cmey/compute-runtime
118bad16dfe523724dfaf8016bfa6fbe6896348b
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017 - 2018, Intel Corporation * * 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, ...
52.067752
247
0.79264
[ "vector" ]
d6759f1313a8bab9e80a4321b8407e73b8428683
13,055
cpp
C++
Models/src/partmap.cpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
2
2020-09-08T20:05:27.000Z
2021-04-26T07:57:56.000Z
Models/src/partmap.cpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
9
2020-10-19T09:56:17.000Z
2021-05-28T06:12:03.000Z
Models/src/partmap.cpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
5
2020-09-08T02:23:34.000Z
2021-03-23T08:48:04.000Z
// GAMBIT: Global and Modular BSM Inference Tool // ********************************************* /// \file /// /// Class definitions for GAMBIT particle /// database. /// /// ********************************************* /// /// Authors (add name and date if you modify): /// /// \author Pat Scott /// ...
38.510324
137
0.63807
[ "vector", "model" ]
d67c782288d685416d3aaac93c88d12f66f21b56
2,191
cpp
C++
src/arch/android/input/GyroController.cpp
nebular/PixEngine_core
fc5f928641ed8c0d14254fdfc68973b3b144297f
[ "BSD-3-Clause" ]
1
2020-10-23T21:16:49.000Z
2020-10-23T21:16:49.000Z
src/arch/android/input/GyroController.cpp
nebular/PixEngine_core
fc5f928641ed8c0d14254fdfc68973b3b144297f
[ "BSD-3-Clause" ]
2
2020-03-02T22:43:09.000Z
2020-03-02T22:46:44.000Z
src/arch/android/input/GyroController.cpp
nebular/PixFu
fc5f928641ed8c0d14254fdfc68973b3b144297f
[ "BSD-3-Clause" ]
null
null
null
// // Created by rodo on 2020-02-13. // #include "GyroController.hpp" namespace Pix { const int LOOPER_ID_USER = 3; GyroController *GyroController::pCurrentInstance = nullptr; GyroController::GyroController(bool autoStart) : AxisController({-1,1,-1,1}) { sensorManager = AcquireASensorManagerInstance(); i...
29.608108
93
0.754906
[ "vector" ]
d690a208b2f432f1426f7dcbe94941285f146f7b
1,362
cpp
C++
caffe/src/caffe/layers/label_switch_layer.cpp
sagardsaxena/CoGAN
6a0fbdb850c9ee78a8c83631aab8ded26195822b
[ "FSFAP" ]
285
2016-09-22T19:48:44.000Z
2022-03-11T03:30:07.000Z
caffe/src/caffe/layers/label_switch_layer.cpp
IsChristina/CoGAN
f940c28330ace09b3471d8745bfad7d891dbf095
[ "FSFAP" ]
12
2016-12-08T03:43:42.000Z
2020-06-04T05:42:52.000Z
caffe/src/caffe/layers/label_switch_layer.cpp
IsChristina/CoGAN
f940c28330ace09b3471d8745bfad7d891dbf095
[ "FSFAP" ]
76
2016-10-03T21:26:24.000Z
2022-03-28T12:05:57.000Z
#include <algorithm> #include <vector> #include "caffe/util/math_functions.hpp" #include "caffe/layers/label_switch_layer.hpp" namespace caffe { template <typename Dtype> void LabelSwitchLayer<Dtype>::LayerSetUp( const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) { update_base_ = this->layer_para...
30.954545
150
0.732746
[ "vector" ]
d699f1fe8c26a7bd568b512278ec58015432b0cc
3,889
cpp
C++
GLMesh.cpp
ffhighwind/DeferredShading
c8b765c5d1126ef8f337047db50e2eb63308baf9
[ "Apache-2.0" ]
1
2019-10-18T13:45:05.000Z
2019-10-18T13:45:05.000Z
GLMesh.cpp
ffhighwind/DeferredShading
c8b765c5d1126ef8f337047db50e2eb63308baf9
[ "Apache-2.0" ]
1
2019-10-18T13:44:49.000Z
2019-11-29T23:26:27.000Z
GLMesh.cpp
ffhighwind/DeferredShading
c8b765c5d1126ef8f337047db50e2eb63308baf9
[ "Apache-2.0" ]
null
null
null
//SOURCE: https://learnopengl.com/code_viewer_gh.php?code=includes/learnopengl/mesh.h #include "GLMesh.hpp" namespace opengl { void GLMesh::Draw(GLuint shaderID) const { // bind appropriate textures unsigned int diffuseNr = 1; unsigned int specularNr = 1; unsigned int normalNr = 1; unsigned int heightNr = 1; f...
31.362903
132
0.725379
[ "mesh", "vector" ]
d6a32418875168b8d97e24f398f09f771924f7e2
74,458
cpp
C++
core/sql/executor/ex_send_top.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
148
2015-06-18T21:26:04.000Z
2017-12-25T01:47:01.000Z
core/sql/executor/ex_send_top.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
1,352
2015-06-20T03:05:01.000Z
2017-12-25T14:13:18.000Z
core/sql/executor/ex_send_top.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
166
2015-06-19T18:52:10.000Z
2017-12-27T06:19:32.000Z
/********************************************************************** // @@@ 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. ...
33.7678
105
0.619275
[ "object" ]
d6a540c09fae8b6aacbc81bed90713eeda4efc42
18,739
cpp
C++
glr/obj.cpp
jackm97/GLR
46e29519021ae25699bade7d957cf21335ca8bde
[ "MIT" ]
null
null
null
glr/obj.cpp
jackm97/GLR
46e29519021ae25699bade7d957cf21335ca8bde
[ "MIT" ]
null
null
null
glr/obj.cpp
jackm97/GLR
46e29519021ae25699bade7d957cf21335ca8bde
[ "MIT" ]
null
null
null
#include <glr/obj.h> #ifdef GLRENDER_STATIC #include <glad/glad.h> #endif namespace glr { GLRENDER_INLINE OBJ::OBJ(std::string obj_path, std::string base_dir, std::string obj_name, bool calc_normals, bool flip_normals) { loadFromObj(obj_path, base_dir, obj_name, calc_normals, flip_normals); } GLRENDER_INLINE ...
26.392958
142
0.64123
[ "mesh", "shape", "vector", "model" ]
d6a81d52337e8952b292d3d43f69408d011c135b
29,641
cpp
C++
enduser/speech/sapi/cpl/ttsdlg.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
enduser/speech/sapi/cpl/ttsdlg.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
enduser/speech/sapi/cpl/ttsdlg.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "stdafx.h" #include "resource.h" #include <sapi.h> #include <string.h> #include "TTSDlg.h" #include "audiodlg.h" #include <spddkhlp.h> #include "helpresource.h" #include "srdlg.h" #include "richedit.h" #include <SPCollec.h> #include "SAPIINT.h" #include "SpATL.h" #include "SpAutoHandle.h" #includ...
33.530543
133
0.50474
[ "object" ]
d6aa76a5d91df3bc5df00dc0da36f652caf9ea46
2,199
cpp
C++
LeetCode/C++/338. Counting Bits.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/338. Counting Bits.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/338. Counting Bits.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
/** Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and return them as an array. Example 1: Input: 2 Output: [0,1,1] Example 2: Input: 5 Output: [0,1,1,2,1,2] Follow up: It is very easy to come up with a solution with r...
26.817073
212
0.576171
[ "vector" ]
d6b7dec7aa84aa52f5168695d8a012cbaa417be2
405
hpp
C++
include/config.hpp
ElectrodeYT/basic-init
0012a5f3d75f280fb8a5b962df638afb6b6caa75
[ "MIT" ]
null
null
null
include/config.hpp
ElectrodeYT/basic-init
0012a5f3d75f280fb8a5b962df638afb6b6caa75
[ "MIT" ]
1
2019-05-27T20:05:10.000Z
2019-05-27T20:05:10.000Z
include/config.hpp
ElectrodeYT/basic-init
0012a5f3d75f280fb8a5b962df638afb6b6caa75
[ "MIT" ]
null
null
null
#ifndef CONFIG_HPP #define CONFIG_HPP // Things for config files #include <string> #include <vector> class ConfigFile { public: // Names of the entries. std::vector<std::string> config_names; // Values of the entries. std::vector<std::string> config_values; }; class Config { public: static ConfigFile readConfigF...
18.409091
52
0.738272
[ "vector" ]
d6ba256b4d3ee4d44f4be95bf7809254757f5185
11,851
hpp
C++
vpp/algorithms/line_tracker_4_sfm/hough_extruder/unscented_kalman_filter.hpp
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
624
2015-01-05T16:40:41.000Z
2022-03-01T03:09:43.000Z
vpp/algorithms/line_tracker_4_sfm/hough_extruder/unscented_kalman_filter.hpp
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
10
2015-01-22T20:50:13.000Z
2018-05-15T10:41:34.000Z
vpp/algorithms/line_tracker_4_sfm/hough_extruder/unscented_kalman_filter.hpp
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
113
2015-01-19T11:58:35.000Z
2022-03-28T05:15:20.000Z
#include "unscented_kalman_filter.hh" #include "Eigen/Dense" #include <iostream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; /** * Initializes Unscented Kalman filter */ unscented_kalman_filter::unscented_kalman_filter() { // Set initialization to false initially ...
31.518617
137
0.66121
[ "vector", "model", "transform" ]
d6ba3f7cb4672fcd84e51c8a544e7c5f4d368bfa
23,263
cc
C++
unittest/contract_test.cc
chuffa/ITensor
7dceab2347cd0b4c0c8ef659480efdafa18dddc3
[ "Apache-2.0" ]
313
2015-03-06T21:58:52.000Z
2022-03-29T08:58:06.000Z
unittest/contract_test.cc
chuffa/ITensor
7dceab2347cd0b4c0c8ef659480efdafa18dddc3
[ "Apache-2.0" ]
267
2015-02-26T12:52:57.000Z
2022-02-04T20:21:52.000Z
unittest/contract_test.cc
chuffa/ITensor
7dceab2347cd0b4c0c8ef659480efdafa18dddc3
[ "Apache-2.0" ]
169
2015-01-12T01:27:56.000Z
2022-03-24T08:24:55.000Z
#include "test.h" #include "itensor/util/cputime.h" #include "itensor/util/iterate.h" #include "itensor/tensor/contract.h" #include "itensor/util/set_scoped.h" #include "itensor/util/args.h" #include "itensor/global.h" using namespace itensor; TEST_CASE("Contract Test") { auto randomize = [](TensorRef t) ...
29.224874
97
0.31505
[ "vector" ]
d6bbb3847504fa51b7a5a097315614a59dac06b4
487
hpp
C++
core/src/runtime/object/class_obj.hpp
moe-org/zscript
4722fa7c55edbc959efa8988e96995ec3f4a3537
[ "MIT" ]
null
null
null
core/src/runtime/object/class_obj.hpp
moe-org/zscript
4722fa7c55edbc959efa8988e96995ec3f4a3537
[ "MIT" ]
null
null
null
core/src/runtime/object/class_obj.hpp
moe-org/zscript
4722fa7c55edbc959efa8988e96995ec3f4a3537
[ "MIT" ]
null
null
null
//* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // this file is under MIT License. // See https://opensource.org/licenses/MIT for license information. // Copyright (c) 2020-2022 moe-org All rights reserved. //* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * #pragma ...
25.631579
75
0.50308
[ "object" ]
d6bc9b46e6a90dd4db24dc5534c23bcb346b17f2
719
cc
C++
CondFormats/CSCObjects/src/CSCBadChambers.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
CondFormats/CSCObjects/src/CSCBadChambers.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
CondFormats/CSCObjects/src/CSCBadChambers.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "CondFormats/CSCObjects/interface/CSCBadChambers.h" #include <algorithm> bool CSCBadChambers::isInBadChamber( IndexType ichamber ) const { if ( numberOfChambers() == 0 ) return false; std::vector<int>::const_iterator badbegin = chambers.begin(); std::vector<int>::const_iterator badend = chambers.end...
34.238095
94
0.7121
[ "vector" ]
d6c0befe7bec34d6d273993361bd4fbe0a478f65
14,761
cpp
C++
test/se2/gtest_se2_map.cpp
mindbeast/manif
8b4fdc3c18fe3f98cf60bb9a405f2bb393bd6a40
[ "MIT" ]
876
2019-01-15T19:04:25.000Z
2022-03-29T21:52:12.000Z
test/se2/gtest_se2_map.cpp
mindbeast/manif
8b4fdc3c18fe3f98cf60bb9a405f2bb393bd6a40
[ "MIT" ]
191
2019-01-17T17:14:18.000Z
2022-03-21T09:08:26.000Z
test/se2/gtest_se2_map.cpp
mindbeast/manif
8b4fdc3c18fe3f98cf60bb9a405f2bb393bd6a40
[ "MIT" ]
148
2019-01-17T12:50:08.000Z
2022-03-27T15:24:00.000Z
#include <gtest/gtest.h> #include "../common_tester.h" #include "manif/SE2.h" using namespace manif; TEST(TEST_SE2, TEST_SE2_MAP_CONSTRUCTOR) { double data[4] = {4,2,-1,0}; Eigen::Map<SE2d> se2(data); EXPECT_DOUBLE_EQ(4, se2.x()); EXPECT_DOUBLE_EQ(2, se2.y()); EXPECT_DOUBLE_EQ(MANIF_PI, se2.angle()...
21.99851
68
0.676174
[ "transform" ]
d6c0bfe7f543340fd3a954c920d756f2419c45f7
464
cpp
C++
triangle/triangle.cpp
aydinsimsek/exercism-solutions-cpp
6d7c8d37f628840559509d7f6e5b7788c8c637b6
[ "MIT" ]
1
2022-02-04T19:22:58.000Z
2022-02-04T19:22:58.000Z
triangle/triangle.cpp
aydinsimsek/exercism-solutions-cpp
6d7c8d37f628840559509d7f6e5b7788c8c637b6
[ "MIT" ]
null
null
null
triangle/triangle.cpp
aydinsimsek/exercism-solutions-cpp
6d7c8d37f628840559509d7f6e5b7788c8c637b6
[ "MIT" ]
null
null
null
#include "triangle.h" #include <stdexcept> using namespace std; namespace triangle { int kind(double a, double b, double c) { if (a <= 0 || b <= 0 || c <= 0 || a + b < c || a + c < b || b + c < a) { throw domain_error("This shape is not a triangle"); } if (a == b && b == c) { return 0; } else...
17.185185
72
0.471983
[ "shape" ]
d6c4332d9634fe62bec4412e75dc5e31cf71abd8
3,182
cpp
C++
codes/CSES/CSES_2111.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
codes/CSES/CSES_2111.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
codes/CSES/CSES_2111.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
//chtholly and emilia will carry me to cm #include <complex> #include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <string> #include <utility> #include <cassert> #include <algorithm> #include <vector> #include <random> #include <chrono> #include <queue> #include <set> #include <map> using...
24.290076
76
0.529227
[ "vector" ]
d6d22e613ff06972216a971df43cf00b0103366c
19,989
cpp
C++
ext/Internal/api-handle.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
278
2021-08-31T00:46:51.000Z
2022-02-13T19:43:28.000Z
ext/Internal/api-handle.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
9
2021-11-05T22:28:43.000Z
2021-11-23T08:39:04.000Z
ext/Internal/api-handle.cpp
tekknolagi/skybison
bea8fc2af0a70e7203b4c19f36c14a745512a335
[ "CNRI-Python-GPL-Compatible" ]
12
2021-08-31T07:49:54.000Z
2021-10-08T01:09:01.000Z
// Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) #include "api-handle.h" #include <cstdint> #include "cpython-data.h" #include "cpython-func.h" #include "cpython-types.h" #include "capi-state.h" #include "capi.h" #include "debugging.h" #include "event.h" #include "globals.h" #include "ob...
32.768852
80
0.689979
[ "object" ]
d6f3e9e48053a62c536de7083c562e339db44384
8,908
cpp
C++
src/gromacs/math/tests/paddedvector.cpp
hejamu/gromacs
4f4b9e4b197ae78456faada74c9f4cab7d128de6
[ "BSD-2-Clause" ]
384
2015-01-02T19:44:15.000Z
2022-03-27T15:13:15.000Z
src/gromacs/math/tests/paddedvector.cpp
hejamu/gromacs
4f4b9e4b197ae78456faada74c9f4cab7d128de6
[ "BSD-2-Clause" ]
9
2015-04-07T20:48:00.000Z
2022-01-24T21:29:26.000Z
src/gromacs/math/tests/paddedvector.cpp
hejamu/gromacs
4f4b9e4b197ae78456faada74c9f4cab7d128de6
[ "BSD-2-Clause" ]
258
2015-01-19T11:19:57.000Z
2022-03-18T08:59:52.000Z
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at...
34
105
0.696677
[ "vector" ]
d6f5ec6ddb2cab21da8fe3c825b8ece459e60f10
28,123
cc
C++
components/arc/session/arc_vm_client_adapter.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/arc/session/arc_vm_client_adapter.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/arc/session/arc_vm_client_adapter.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2018 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 "components/arc/session/arc_vm_client_adapter.h" #include <time.h> #include <set> #include <string> #include <utility> #include <vector> #incl...
39.114047
80
0.685026
[ "object", "vector" ]
d6f953375af0ef1c5a8606b59913bf57b86338b4
1,261
cpp
C++
cpp/leetcode/155.min-stack.cpp
Gerrard-YNWA/piece_of_code
ea8c9f05a453c893cc1f10e9b91d4393838670c1
[ "MIT" ]
1
2021-11-02T05:17:24.000Z
2021-11-02T05:17:24.000Z
cpp/leetcode/155.min-stack.cpp
Gerrard-YNWA/code
546230593c33ff322d3205499fe17cd6a9a437c1
[ "MIT" ]
null
null
null
cpp/leetcode/155.min-stack.cpp
Gerrard-YNWA/code
546230593c33ff322d3205499fe17cd6a9a437c1
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=155 lang=cpp * * [155] Min Stack */ #include <climits> #include <iostream> #include <stack> using namespace std; // @lc code=start class MinStack { public: /** initialize your data structure here. */ MinStack() { _min = INT_MAX; } void push(int val) { if...
17.760563
64
0.513878
[ "object" ]
d6fd4cef0344fff572cffe6a8ecbbd94012cb6a2
7,809
cpp
C++
tests/cefclient/uiplugin.cpp
Sharathsukash/cef
bf0acb75b9c1f3bfa49883abcb3f9af6f0017d67
[ "BSD-3-Clause" ]
1
2017-01-18T17:04:40.000Z
2017-01-18T17:04:40.000Z
tests/cefclient/uiplugin.cpp
Sharathsukash/cef
bf0acb75b9c1f3bfa49883abcb3f9af6f0017d67
[ "BSD-3-Clause" ]
null
null
null
tests/cefclient/uiplugin.cpp
Sharathsukash/cef
bf0acb75b9c1f3bfa49883abcb3f9af6f0017d67
[ "BSD-3-Clause" ]
1
2015-07-14T02:36:29.000Z
2015-07-14T02:36:29.000Z
// Copyright (c) 2009 The Chromium Embedded Framework Authors. // Portions copyright (c) 2006-2008 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 "uiplugin.h" #include "cefclient.h" #include <gl/gl.h> #include ...
26.561224
78
0.675759
[ "render" ]
d900c2b2846ca7fee474e1bb5d36092a7afee330
22,758
cpp
C++
android/android_9/hardware/qcom/neuralnetworks/hvxservice/1.0/HexagonOperationsCheck.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/hardware/qcom/neuralnetworks/hvxservice/1.0/HexagonOperationsCheck.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/hardware/qcom/neuralnetworks/hvxservice/1.0/HexagonOperationsCheck.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017 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...
45.790744
100
0.671193
[ "shape", "vector", "model" ]
d905b248bd83917a06e807c8b3c5fcbe12326c04
9,340
cpp
C++
src/main.cpp
sn0opy/pogo-proto-dumper
e622093823c346ea89d3f2236a4e5a89e1255b75
[ "MIT" ]
null
null
null
src/main.cpp
sn0opy/pogo-proto-dumper
e622093823c346ea89d3f2236a4e5a89e1255b75
[ "MIT" ]
null
null
null
src/main.cpp
sn0opy/pogo-proto-dumper
e622093823c346ea89d3f2236a4e5a89e1255b75
[ "MIT" ]
1
2019-09-13T23:41:41.000Z
2019-09-13T23:41:41.000Z
#include <cstdint> #include <fstream> #include <iostream> #include <set> #include <map> #include <string> #include <vector> #include "il2cpp.hpp" using namespace std; using namespace il2cpp; bool is_little_endian() { auto number = 0x1; auto ptr = reinterpret_cast<char *>(&number); return ptr[0] ...
37.66129
146
0.574197
[ "vector" ]
d90718af230c479f455dc52209de27e8659f0621
6,976
hpp
C++
Versionen/2021_06_15/rmf_ws/install/rmf_task_msgs/include/rmf_task_msgs/msg/detail/tow__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_task_msgs/include/rmf_task_msgs/msg/detail/tow__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_task_msgs/include/rmf_task_msgs/msg/detail/tow__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
2
2021-06-21T07:32:09.000Z
2021-08-17T03:05:38.000Z
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em // with input from rmf_task_msgs:msg/Tow.idl // generated code does not contain a copyright notice #ifndef RMF_TASK_MSGS__MSG__DETAIL__TOW__STRUCT_HPP_ #define RMF_TASK_MSGS__MSG__DETAIL__TOW__STRUCT_HPP_ #include <rosidl_runtime_cpp/bounded_vector.hp...
31.853881
148
0.726778
[ "vector" ]
d90c9b68648e49dcffe253f86eed3c7ce8558ebe
3,623
cpp
C++
test_package/tests/unit/geom/CoordinateListTest.cpp
insaneFactory/conan-geos
2d682cf59eafe8567e8e5c87897f051355dbb1ca
[ "MIT" ]
null
null
null
test_package/tests/unit/geom/CoordinateListTest.cpp
insaneFactory/conan-geos
2d682cf59eafe8567e8e5c87897f051355dbb1ca
[ "MIT" ]
null
null
null
test_package/tests/unit/geom/CoordinateListTest.cpp
insaneFactory/conan-geos
2d682cf59eafe8567e8e5c87897f051355dbb1ca
[ "MIT" ]
null
null
null
// // Test Suite for geos::geom::CoordinateList class. // tut #include <tut/tut.hpp> // geos #include <geos/geom/Coordinate.h> #include <geos/geom/CoordinateList.h> #include <geos/geom/CoordinateArraySequence.h> // std #include <memory> #include <string> #include <vector> namespace tut { // // Test Group // // Commo...
20.585227
86
0.620204
[ "object", "vector" ]
d90f0ae37732322d546f2baba34745ed8bc9c726
1,600
cpp
C++
C Plus Plus/Graph/Breadth_First_Search.cpp
Nilesh-10/DS-Algo
c3a312bea6d49709f317dbf42d515cf12abd5f74
[ "MIT" ]
1
2021-07-03T18:20:38.000Z
2021-07-03T18:20:38.000Z
C Plus Plus/Graph/Breadth_First_Search.cpp
Nilesh-10/DS-Algo
c3a312bea6d49709f317dbf42d515cf12abd5f74
[ "MIT" ]
null
null
null
C Plus Plus/Graph/Breadth_First_Search.cpp
Nilesh-10/DS-Algo
c3a312bea6d49709f317dbf42d515cf12abd5f74
[ "MIT" ]
null
null
null
/* Breadth first search is a graph traversal algorithm that starts traversing the graph from root node and explores all the neighbouring nodes. Then, it selects the nearest node and explore all the unexplored nodes. The algorithm follows the same process for each of the nearest node until it finds the goal. ...
25
144
0.571875
[ "vector" ]
d91de006f057b2d88dc8ff97059767ecdab7b0bd
6,560
cpp
C++
Pepper/ListEx/src/CListExHdr.cpp
zhuhuibeishadiao/Pepper
00f5891e5c05b1da6dd52a136c4715cb8803e1af
[ "MIT" ]
null
null
null
Pepper/ListEx/src/CListExHdr.cpp
zhuhuibeishadiao/Pepper
00f5891e5c05b1da6dd52a136c4715cb8803e1af
[ "MIT" ]
null
null
null
Pepper/ListEx/src/CListExHdr.cpp
zhuhuibeishadiao/Pepper
00f5891e5c05b1da6dd52a136c4715cb8803e1af
[ "MIT" ]
1
2021-01-11T15:10:34.000Z
2021-01-11T15:10:34.000Z
/**************************************************************************************** * Copyright © 2018-2020 Jovibor https://github.com/jovibor/ * * This is very extended and featured version of CMFCListCtrl class. * * Official git repository: https://github.com/j...
29.683258
101
0.649695
[ "3d" ]
0bbb392033c509ead0aef61448999105fd2ae876
2,133
cpp
C++
Extensions/ResourceIO/src/XMLMapObjectSerializer.cpp
bkmsstudio/minecraftserver
fd42ab6e4cc986d32b31f3a13d6200778570bf51
[ "MIT" ]
null
null
null
Extensions/ResourceIO/src/XMLMapObjectSerializer.cpp
bkmsstudio/minecraftserver
fd42ab6e4cc986d32b31f3a13d6200778570bf51
[ "MIT" ]
null
null
null
Extensions/ResourceIO/src/XMLMapObjectSerializer.cpp
bkmsstudio/minecraftserver
fd42ab6e4cc986d32b31f3a13d6200778570bf51
[ "MIT" ]
null
null
null
#include SAMPEDGENGINE_EXT_RESOURCEIO_PCH #include <SAMP-EDGEngine/Ext/ResourceIO/XMLMapObjectSerializer.hpp> #include <SAMP-EDGEngine/Ext/ResourceIO/XMLHelperFunctions.hpp> #include <SAMP-EDGEngine/Ext/ResourceIO/XMLNames.hpp> #include <SAMP-EDGEngine/Ext/ResourceIO/XMLMapObjectMaterialSerializer.hpp> #include <SAMP...
33.328125
114
0.654477
[ "object" ]
0bc0d9fd4ca2185b12d20dfb01347406f247b4b3
1,974
hpp
C++
src/MotionConstraint.hpp
rock-control/trajectory_generation
efaaeca345613ff13047056fb54791c81258fb96
[ "BSD-3-Clause" ]
null
null
null
src/MotionConstraint.hpp
rock-control/trajectory_generation
efaaeca345613ff13047056fb54791c81258fb96
[ "BSD-3-Clause" ]
null
null
null
src/MotionConstraint.hpp
rock-control/trajectory_generation
efaaeca345613ff13047056fb54791c81258fb96
[ "BSD-3-Clause" ]
null
null
null
#ifndef MOTION_CONSTRAINT_HPP #define MOTION_CONSTRAINT_HPP #include <base/NamedVector.hpp> #include <base/Float.hpp> namespace joint_control_base { /** Motion constraints to define the dynamic behavior of the trajectories generated by this component*/ struct MotionConstraint{ struct upperLimit{ double ...
37.245283
137
0.715805
[ "vector" ]
0bc27220e8073c12d7f9708a5e40bc4ebc9a58da
18,274
cpp
C++
Sources/Overload/OvCore/src/OvCore/Helpers/GUIDrawer.cpp
kmqwerty/Overload
f3b8c751a05815400ed35dd2be20a3900f3454fd
[ "MIT" ]
null
null
null
Sources/Overload/OvCore/src/OvCore/Helpers/GUIDrawer.cpp
kmqwerty/Overload
f3b8c751a05815400ed35dd2be20a3900f3454fd
[ "MIT" ]
null
null
null
Sources/Overload/OvCore/src/OvCore/Helpers/GUIDrawer.cpp
kmqwerty/Overload
f3b8c751a05815400ed35dd2be20a3900f3454fd
[ "MIT" ]
null
null
null
/** * @project: Overload * @author: Overload Tech. * @licence: MIT */ #include <array> #include <OvTools/Utils/PathParser.h> #include <OvUI/Widgets/Texts/TextColored.h> #include <OvUI/Widgets/Drags/DragSingleScalar.h> #include <OvUI/Widgets/Drags/DragMultipleScalars.h> #include <OvUI/Widgets/InputFields/InputText.h>...
43.613365
259
0.743406
[ "model" ]
0bc3ce8644b4cd3a446f426032722305af459bdc
1,547
cc
C++
src/aho-corasick/t.cc
thinkoid/hacks
7c5887860bf9177e487e2f2f041629ddbd3c38fb
[ "MIT" ]
null
null
null
src/aho-corasick/t.cc
thinkoid/hacks
7c5887860bf9177e487e2f2f041629ddbd3c38fb
[ "MIT" ]
null
null
null
src/aho-corasick/t.cc
thinkoid/hacks
7c5887860bf9177e487e2f2f041629ddbd3c38fb
[ "MIT" ]
null
null
null
#include <cassert> #include <cstring> #include <algorithm> #include <iomanip> #include <iostream> #include <map> #include <memory> #include <string> #include <vector> using namespace std; #include <hacks/aho-corasick.hh> #if 0 int main (int, char** argv) { const vector< string > arr { "he", "she", "his", "hers...
18.865854
73
0.529412
[ "vector" ]
0bd1a7455fa66b0015e02722a0e39404e8426aa0
1,557
cpp
C++
cpp/godot-cpp/src/gen/ResourceFormatSaver.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/ResourceFormatSaver.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/ResourceFormatSaver.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "ResourceFormatSaver.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" #include "Resource.hpp" namespace godot { ResourceFormatSaver::___method_bindings ResourceFormatSaver::___mb = {}; void ResourceFormatSaver...
37.071429
219
0.804753
[ "object" ]
0bd5e99b481b7db2159faced4381dc61e5399d5f
2,830
cc
C++
oos/src/model/SetServiceSettingsRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
oos/src/model/SetServiceSettingsRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
oos/src/model/SetServiceSettingsRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.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.479167
101
0.789046
[ "model" ]
0bec61496eb528d1c29b3c146b53f149e622229e
2,880
cc
C++
src/agent/array_expression_evaluator.cc
goelnitin0887/Testing-Production-debug
5c3cb42b827fdf16de68b3b086b3ad89f9bea314
[ "Apache-2.0" ]
null
null
null
src/agent/array_expression_evaluator.cc
goelnitin0887/Testing-Production-debug
5c3cb42b827fdf16de68b3b086b3ad89f9bea314
[ "Apache-2.0" ]
null
null
null
src/agent/array_expression_evaluator.cc
goelnitin0887/Testing-Production-debug
5c3cb42b827fdf16de68b3b086b3ad89f9bea314
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2015 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 appli...
26.915888
75
0.727778
[ "model" ]
0becc035f6ddd0485ab3de9339347a55661a81b3
1,079
cc
C++
countingBound/cliqueCounter/SubsetIterator.cc
joshtburdick/misc
7bb103b4f9d850e3279eb675c6df420aa7b8da22
[ "MIT" ]
null
null
null
countingBound/cliqueCounter/SubsetIterator.cc
joshtburdick/misc
7bb103b4f9d850e3279eb675c6df420aa7b8da22
[ "MIT" ]
null
null
null
countingBound/cliqueCounter/SubsetIterator.cc
joshtburdick/misc
7bb103b4f9d850e3279eb675c6df420aa7b8da22
[ "MIT" ]
null
null
null
#include "SubsetIterator.h" #include <vector> using namespace std; /** Constructor. n: size of set to iterate over k: number of things to pick */ SubsetIterator::SubsetIterator(int n, int k) { n_ = n; k_ = k; // initialize to the "first" set for(int i=0; i<k_; i++) a_.push_back(i); }...
23.456522
65
0.572753
[ "vector" ]
0bf0f4302f385054b729bf3c35f6f473febe6b16
16,949
cpp
C++
OpenTESArena/src/Interface/OptionsPanel.cpp
AnotherFoxGuy/OpenTESArena
38d2fe72b0ef7e0e838e525bf135f7ef4a7858d7
[ "MIT" ]
742
2016-03-09T17:18:55.000Z
2022-03-21T07:23:47.000Z
OpenTESArena/src/Interface/OptionsPanel.cpp
AnotherFoxGuy/OpenTESArena
38d2fe72b0ef7e0e838e525bf135f7ef4a7858d7
[ "MIT" ]
196
2016-06-07T15:19:21.000Z
2021-12-12T16:50:58.000Z
OpenTESArena/src/Interface/OptionsPanel.cpp
AnotherFoxGuy/OpenTESArena
38d2fe72b0ef7e0e838e525bf135f7ef4a7858d7
[ "MIT" ]
85
2016-04-17T13:25:16.000Z
2022-03-25T06:45:15.000Z
#include <algorithm> #include <limits> #include <optional> #include "SDL.h" #include "OptionsPanel.h" #include "OptionsUiController.h" #include "OptionsUiView.h" #include "PauseMenuPanel.h" #include "../Audio/AudioManager.h" #include "../Entities/Player.h" #include "../Game/Game.h" #include "../Game/GameState.h" #inc...
34.240404
113
0.758275
[ "render", "vector", "solid" ]
0bf18cd022bfffc9646cd32b63a6f7d69814a970
3,447
cpp
C++
Corvus/Source/Corvus/Core/CoreLayer.cpp
sltn011/Corvus
4ca8cd05298deafe7fafa43790d7481685ee2983
[ "Apache-2.0" ]
1
2022-03-27T16:53:24.000Z
2022-03-27T16:53:24.000Z
Corvus/Source/Corvus/Core/CoreLayer.cpp
sltn011/Corvus
4ca8cd05298deafe7fafa43790d7481685ee2983
[ "Apache-2.0" ]
null
null
null
Corvus/Source/Corvus/Core/CoreLayer.cpp
sltn011/Corvus
4ca8cd05298deafe7fafa43790d7481685ee2983
[ "Apache-2.0" ]
null
null
null
#include "CorvusPCH.h" #include "Corvus/Core/CoreLayer.h" #include "Corvus/Core/Application.h" #include "Corvus/Events/Event.h" #include "Corvus/Renderer/Renderer.h" #include "Corvus/Time/TimeDelta.h" namespace Corvus { CoreLayer::CoreLayer() : Layer{ "Corvus Core Layer", true } { } void Cor...
21.277778
76
0.562518
[ "render" ]
0bf2236223a25be427aabdcb49133b4172e675ae
2,796
cpp
C++
449. Serialize and Deserialize BST.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
1
2020-10-11T08:10:53.000Z
2020-10-11T08:10:53.000Z
449. Serialize and Deserialize BST.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
null
null
null
449. Serialize and Deserialize BST.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
null
null
null
#include "LeetCodeLib.h" /* * 449. Serialize and Deserialize BST * * https://leetcode.com/problems/serialize-and-deserialize-bst/description/ * * algorithms * Medium * * Serialization is the process of converting a binaryIndexTree structure or object into a * sequence of bits so that it can be stored in a file...
25.189189
90
0.66309
[ "object" ]
0bf2bcd1f48959fc292a09b83cd1e69de287e542
1,646
cpp
C++
src/use/mesh_cache.cpp
RedcraneStudio/redcrane-engine
4da8a7caedd6da5ffb7eda7da8c9a42396273bf6
[ "BSD-3-Clause" ]
5
2017-05-16T22:25:59.000Z
2020-02-10T20:19:35.000Z
src/use/mesh_cache.cpp
RedCraneStudio/redcrane-engine
4da8a7caedd6da5ffb7eda7da8c9a42396273bf6
[ "BSD-3-Clause" ]
1
2017-10-13T00:35:56.000Z
2017-10-13T00:35:56.000Z
src/use/mesh_cache.cpp
RedCraneStudio/redcrane-engine
4da8a7caedd6da5ffb7eda7da8c9a42396273bf6
[ "BSD-3-Clause" ]
2
2017-10-07T04:40:52.000Z
2021-09-27T05:59:05.000Z
/* * Copyright (C) 2015 Luke San Antonio * All rights reserved. */ #include "mesh_cache.h" #include "../common/debugging.h" #include "../gfx/mesh_data.h" #include "../gfx/extra/load_wavefront.h" #include "../gfx/extra/mesh_conversion.h" #include "../gfx/extra/allocate.h" #include "../gfx/extra/format.h" #include ".....
27.433333
73
0.638518
[ "mesh", "object" ]
0bf9280b8127984101cc024878d86232e87c5e37
7,370
cpp
C++
Engine/Src/Engine/Render/Shader/HIBLConvert.cpp
helluvamesh/OpenGLRenderer
c1dbc6da3cbb4639284242de176d4f4fb383da30
[ "Apache-2.0" ]
null
null
null
Engine/Src/Engine/Render/Shader/HIBLConvert.cpp
helluvamesh/OpenGLRenderer
c1dbc6da3cbb4639284242de176d4f4fb383da30
[ "Apache-2.0" ]
null
null
null
Engine/Src/Engine/Render/Shader/HIBLConvert.cpp
helluvamesh/OpenGLRenderer
c1dbc6da3cbb4639284242de176d4f4fb383da30
[ "Apache-2.0" ]
null
null
null
#include "Engine\pch.h" #include "HIBLConvert.h" #include "Engine\Render\RenderUtil\GLMath.h" #include "Engine\Util\SEngine.h" void HIBLConvert::Load() { this->Loaded = true; this->UnitCubeMesh = MakeShared<HStaticMesh>(); this->UnitCubeMesh->SetFilepath(SEngine::ContentPath + TX("Meshes/UnitCube.asset")...
35.776699
100
0.656581
[ "render" ]
0bf98606ea62dd6d493e6e495bbcfd35a80792a5
3,882
cpp
C++
src/arkanoid/block.cpp
razorbeard/classic-games
01130f35d5d7538b17a9d447d63227a3cee00111
[ "MIT" ]
null
null
null
src/arkanoid/block.cpp
razorbeard/classic-games
01130f35d5d7538b17a9d447d63227a3cee00111
[ "MIT" ]
null
null
null
src/arkanoid/block.cpp
razorbeard/classic-games
01130f35d5d7538b17a9d447d63227a3cee00111
[ "MIT" ]
null
null
null
#include "arkanoid/block.hpp" #include "data_tables.hpp" #include "resources/resource_holder.hpp" #include "utility.hpp" #include "arkanoid/power_up.hpp" #include "commands/command_queue.hpp" #include <SFML/Graphics/RenderTarget.hpp> namespace { const std::vector<BlockData> Table = initializeBlockData(); } Block::B...
26.958333
81
0.723338
[ "vector" ]
0401ba507209e1e057f0a590806770a40cc8b108
534
cc
C++
static_assert/main.cc
mocsy/playground
326d2dfaeb47a4e7f2b6787487fcde32e4cdf8b6
[ "BSD-3-Clause" ]
null
null
null
static_assert/main.cc
mocsy/playground
326d2dfaeb47a4e7f2b6787487fcde32e4cdf8b6
[ "BSD-3-Clause" ]
null
null
null
static_assert/main.cc
mocsy/playground
326d2dfaeb47a4e7f2b6787487fcde32e4cdf8b6
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <fstream> #include "static_assert.hpp" using namespace std; #define GCC_VERSION (__GNUC__ * 10000 \ + __GNUC_MINOR__ * 100 \ + __GNUC_PATCHLEVEL__) int main(int argc, const char* argv[]) { //cout << GCC_VERSION <<endl; //unsigned int i = 0xFF...
18.413793
45
0.61985
[ "vector" ]
0402df8678a2a2587fd856ffa37c4251022238e1
11,571
cpp
C++
source/core/commandcontroller/commandcontroller.cpp
efedo/Utilogeny
03b7e7d2650c326f8493df35c14470f21de3be78
[ "MIT" ]
null
null
null
source/core/commandcontroller/commandcontroller.cpp
efedo/Utilogeny
03b7e7d2650c326f8493df35c14470f21de3be78
[ "MIT" ]
null
null
null
source/core/commandcontroller/commandcontroller.cpp
efedo/Utilogeny
03b7e7d2650c326f8493df35c14470f21de3be78
[ "MIT" ]
null
null
null
// Copyright 2017-20 Eric Fedosejevs // //#include "source/core/stdafx.h" #include "Utilogeny/source/core/precomp.h" #include "Utilogeny/source/core/utilogeny.h" #include "Utilogeny/source/core/exceptions.h" #include "Utilogeny/source/core/utilities.h" #include "Utilogeny/source/core/commandcontroller/commandqueue.h" ...
31.876033
164
0.727854
[ "vector" ]
0407ed5f59bd261e2b2700e13787e88ded816467
24,308
cpp
C++
src/CreateDatabaseDialog.cpp
metiscus/tarrasch-chess-gui
5bb37ad1279aa107f927a4e783f89624d89c74a7
[ "MIT" ]
null
null
null
src/CreateDatabaseDialog.cpp
metiscus/tarrasch-chess-gui
5bb37ad1279aa107f927a4e783f89624d89c74a7
[ "MIT" ]
null
null
null
src/CreateDatabaseDialog.cpp
metiscus/tarrasch-chess-gui
5bb37ad1279aa107f927a4e783f89624d89c74a7
[ "MIT" ]
null
null
null
/**************************************************************************** * Custom dialog - Maintenance Dialog * Author: Bill Forster * License: MIT license. Full text of license is in associated file LICENSE * Copyright 2010-2014, Bill Forster <billforsternz at gmail dot com> *****************************...
38.645469
149
0.592809
[ "vector" ]
04081354384266360047f3ed99874b2acbfaffec
8,518
cpp
C++
Engine/Code/Engine/RHI/RHIOutput.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
null
null
null
Engine/Code/Engine/RHI/RHIOutput.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
20
2021-11-29T14:09:33.000Z
2022-03-26T20:12:44.000Z
Engine/Code/Engine/RHI/RHIOutput.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
null
null
null
#include "Engine/RHI/RHIOutput.hpp" #include "Engine/Core/BuildConfig.hpp" #include "Engine/Core/ErrorWarningAssert.hpp" #include "Engine/Core/Rgba.hpp" #include "Engine/Core/StringUtils.hpp" #include "Engine/Math/IntVector2.hpp" #include "Engine/RHI/RHIDevice.hpp" #include "Engine/RHI/RHIDeviceContext.hpp" #include "...
37.857778
203
0.711787
[ "vector" ]
040c0be4413e5cd49ec42f59029e94b9c3ff6b9f
7,640
cpp
C++
common/stack/stackObject.cpp
doctorsrn/manipulator_torque_controller
c276afe950448ecd03867498524f94b251f5238d
[ "MIT" ]
11
2020-01-12T19:50:43.000Z
2022-01-27T20:15:24.000Z
common/stack/stackObject.cpp
doctorsrn/manipulator_torque_controller
c276afe950448ecd03867498524f94b251f5238d
[ "MIT" ]
2
2022-01-23T06:46:27.000Z
2022-02-21T06:17:01.000Z
coppeliaSim-client/common/stack/stackObject.cpp
mhsitu/welding_robot
03a1a5f83049311777f948715d7bf5399dc2dbbb
[ "MIT" ]
2
2021-12-23T00:30:10.000Z
2021-12-31T06:24:27.000Z
#include "stackObject.h" #include "stackNull.h" #include "stackNumber.h" #include "stackBool.h" #include "stackString.h" #include "stackArray.h" #include "stackMap.h" CStackObject::CStackObject() { } CStackObject::~CStackObject() { } int CStackObject::getObjectType() const { return(_objectType); } CStackObject*...
33.508772
125
0.564136
[ "object", "vector" ]
0412a84d814e40b9823170243e1691835dab3b37
4,857
cpp
C++
ref-impl/src/impl/ImplAAFDescriptiveClip.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
ref-impl/src/impl/ImplAAFDescriptiveClip.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
ref-impl/src/impl/ImplAAFDescriptiveClip.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
//=---------------------------------------------------------------------= // // // $Id$ $Name$ // // The contents of this file are subject to the AAF SDK Public Source // License Agreement Version 2.0 (the "License"); You may not use this // file except in compliance with the License. The License is available // in AA...
25.698413
80
0.682314
[ "object" ]
04135fc45065734292590f77763d831b45698513
5,072
cpp
C++
TinyEngine/src/gltf/HelperAnimate.cpp
Kimau/KhronosSandbox
e06caed3ab85e620ac2c5860fd31cef6ed6418c3
[ "Apache-2.0" ]
68
2020-04-14T11:03:26.000Z
2020-06-11T16:17:29.000Z
TinyEngine/src/gltf/HelperAnimate.cpp
Kimau/KhronosSandbox
e06caed3ab85e620ac2c5860fd31cef6ed6418c3
[ "Apache-2.0" ]
5
2020-05-16T05:32:16.000Z
2020-05-21T11:09:52.000Z
TinyEngine/src/gltf/HelperAnimate.cpp
Kimau/KhronosSandbox
e06caed3ab85e620ac2c5860fd31cef6ed6418c3
[ "Apache-2.0" ]
1
2021-03-19T22:47:00.000Z
2021-03-19T22:47:00.000Z
#include "HelperAnimate.h" #include "../activity/Interpolator.h" bool HelperAnimate::update(GLTF& glTF, const AnimationChannel& channel, int32_t startIndex, int32_t stopIndex, float currentTime) { const AnimationSampler& sampler = *channel.targetSampler; float t = 0.0f; if (stopIndex != -1) { t = (currentTime ...
23.590698
201
0.626972
[ "vector" ]
54b6e0419d3ed425af4158f2975ab849022ff16c
4,395
hpp
C++
src/io/ordered_sparse_bin.hpp
mindis/LightGBM
888e2b181a870297a7e33ef15102500bceabf839
[ "MIT" ]
null
null
null
src/io/ordered_sparse_bin.hpp
mindis/LightGBM
888e2b181a870297a7e33ef15102500bceabf839
[ "MIT" ]
null
null
null
src/io/ordered_sparse_bin.hpp
mindis/LightGBM
888e2b181a870297a7e33ef15102500bceabf839
[ "MIT" ]
1
2018-12-14T19:07:00.000Z
2018-12-14T19:07:00.000Z
#ifndef LIGHTGBM_IO_ORDERED_SPARSE_BIN_HPP_ #define LIGHTGBM_IO_ORDERED_SPARSE_BIN_HPP_ #include <LightGBM/bin.h> #include <cstring> #include <cstdint> #include <vector> #include <mutex> #include <algorithm> namespace LightGBM { /*! * \brief Ordered bin for sparse feature . efficient for construct histogram, espec...
33.045113
115
0.646871
[ "vector" ]
54bb19979ec39d8e6b14f8547bad59075351c4ec
7,554
cpp
C++
src/lib/rtm/OutPortCorbaCdrConsumer.cpp
n-kawauchi/pipeline-test
aa29d84f177c7d8cefc81adab29abc06fccd61cb
[ "RSA-MD" ]
15
2019-01-08T15:34:04.000Z
2022-03-01T08:36:17.000Z
src/lib/rtm/OutPortCorbaCdrConsumer.cpp
n-kawauchi/pipeline-test
aa29d84f177c7d8cefc81adab29abc06fccd61cb
[ "RSA-MD" ]
448
2018-12-27T03:13:56.000Z
2022-03-24T09:57:03.000Z
src/lib/rtm/OutPortCorbaCdrConsumer.cpp
n-kawauchi/pipeline-test
aa29d84f177c7d8cefc81adab29abc06fccd61cb
[ "RSA-MD" ]
31
2018-12-26T04:34:22.000Z
2021-11-25T04:39:51.000Z
// -*- C++ -*- /*! * @file OutPortCorbaCdrConsumer.cpp * @brief OutPortCorbaCdrConsumer class * @date $Date: 2008-01-13 10:28:27 $ * @author Noriaki Ando <n-ando@aist.go.jp> * * Copyright (C) 2009-2010 * Noriaki Ando * Task-intelligence Research Group, * Intelligent Systems Research Institute, ...
25.60678
127
0.582208
[ "object" ]
54c010d1119c4861ab7c31a8d93559e3b724a27c
1,775
cpp
C++
test/salt.cpp
nabijaczleweli/Cpponfiguration
71bd501b47834c86ebd4a0d167e0175a1b4ab9c5
[ "MIT" ]
null
null
null
test/salt.cpp
nabijaczleweli/Cpponfiguration
71bd501b47834c86ebd4a0d167e0175a1b4ab9c5
[ "MIT" ]
9
2015-01-28T19:19:17.000Z
2016-03-20T13:04:26.000Z
test/salt.cpp
nabijaczleweli/Cpponfiguration
71bd501b47834c86ebd4a0d167e0175a1b4ab9c5
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright (c) 2015 nabijaczleweli // 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, ...
34.134615
159
0.719437
[ "vector" ]
54ca08f23c876f95cebecb1efba0bfb392dbc5cc
6,455
cpp
C++
extsrc/mesa/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/d3d11spikysphere.cpp
MauroArgentino/RSXGL
bd206e11894f309680f48740346c17efe49755ba
[ "BSD-2-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
extsrc/mesa/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/d3d11spikysphere.cpp
MauroArgentino/RSXGL
bd206e11894f309680f48740346c17efe49755ba
[ "BSD-2-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
extsrc/mesa/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/d3d11spikysphere.cpp
MauroArgentino/RSXGL
bd206e11894f309680f48740346c17efe49755ba
[ "BSD-2-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
/************************************************************************** * * Copyright 2010 Luca Barbieri * * 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, inclu...
28.311404
112
0.677304
[ "model" ]
54cf6de9742d33a15691f82b92df8acbc25b3e89
12,326
cpp
C++
experimental/graphite/src/ContextUtils.cpp
mktitov/skia
e8e1b79976f2fd6102b7295336441ddd2016e0ce
[ "BSD-3-Clause" ]
null
null
null
experimental/graphite/src/ContextUtils.cpp
mktitov/skia
e8e1b79976f2fd6102b7295336441ddd2016e0ce
[ "BSD-3-Clause" ]
null
null
null
experimental/graphite/src/ContextUtils.cpp
mktitov/skia
e8e1b79976f2fd6102b7295336441ddd2016e0ce
[ "BSD-3-Clause" ]
1
2021-12-23T06:18:04.000Z
2021-12-23T06:18:04.000Z
/* * Copyright 2021 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "experimental/graphite/src/ContextUtils.h" #include <string> #include "experimental/graphite/src/DrawList.h" // TODO: split PaintParams out into their own header #inc...
37.015015
100
0.546812
[ "solid" ]
54d22b3986e580003bbc6fd3f19d17952d75ccb6
1,430
cpp
C++
algo/swap1.cpp
yijingbai/STL_practice
f2cbfd978966d29f9d179d1abc34b9e1ccd3661d
[ "FSFAP" ]
null
null
null
algo/swap1.cpp
yijingbai/STL_practice
f2cbfd978966d29f9d179d1abc34b9e1ccd3661d
[ "FSFAP" ]
null
null
null
algo/swap1.cpp
yijingbai/STL_practice
f2cbfd978966d29f9d179d1abc34b9e1ccd3661d
[ "FSFAP" ]
null
null
null
/* The following code example is taken from the book * "The C++ Standard Library - A Tutorial and Reference" * by Nicolai M. Josuttis, Addison-Wesley, 1999 * * (C) Copyright Nicolai M. Josuttis 1999. * Permission to copy, use, modify, sell and distribute this software * is granted provided this copyright no...
33.255814
70
0.616783
[ "vector" ]
54d95ed5bf9d0b33d628ac9410c73f6e0aa54f0f
6,522
cxx
C++
VideoIO/qSlicerVideoIOModuleWidget.cxx
Sunderlandkyl/SlicerIGSIO
289276c90994fc39a7fb0daa32531220d95117eb
[ "BSD-3-Clause" ]
null
null
null
VideoIO/qSlicerVideoIOModuleWidget.cxx
Sunderlandkyl/SlicerIGSIO
289276c90994fc39a7fb0daa32531220d95117eb
[ "BSD-3-Clause" ]
null
null
null
VideoIO/qSlicerVideoIOModuleWidget.cxx
Sunderlandkyl/SlicerIGSIO
289276c90994fc39a7fb0daa32531220d95117eb
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================== Copyright (c) Laboratory for Percutaneous Surgery (PerkLab) Queen's University, Kingston, ON, Canada. All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law...
34.326316
131
0.648574
[ "object", "vector" ]
54dc4a06080c6055c52b58ef1e2fb80cefb0a3e7
1,454
cpp
C++
CountAndSay.cpp
hgfeaon/leetcode
1e2a562bd8341fc57a02ecff042379989f3361ea
[ "BSD-3-Clause" ]
null
null
null
CountAndSay.cpp
hgfeaon/leetcode
1e2a562bd8341fc57a02ecff042379989f3361ea
[ "BSD-3-Clause" ]
null
null
null
CountAndSay.cpp
hgfeaon/leetcode
1e2a562bd8341fc57a02ecff042379989f3361ea
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <cstdlib> #include <vector> #include <string> using namespace std; class Solution { public: string countAndSay(int n) { vector<int> num; num2digit(1, num); vector<int> tmp; for (int i = 1; i<n; i++) { int last = num[0]; int cur...
19.917808
49
0.388583
[ "vector" ]
54de205289407e05cb71d5dafcae65b9213443bf
2,446
cpp
C++
P5589.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
P5589.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
P5589.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
/* * Author: xiaohei_AWM * Date: 10.13 * Motto: Face to the weakness, expect for the strength. */ #include<cstdio> #include<cstring> #include<algorithm> #include<iostream> #include<cstdlib> #include<ctime> #include<utility> #include<functional> #include<cmath> #include<vector> #include<assert.h> using namespace std;...
24.46
67
0.449714
[ "vector" ]
54e353a840852d9111a1c0928b2aea4d0e5f34f0
11,014
hxx
C++
rutil/SharedCount.hxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
rutil/SharedCount.hxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
rutil/SharedCount.hxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#if !defined(RESIP_SHAREDCOUNT_HXX) #define RESIP_SHAREDCOUNT_HXX /** @file @brief Defines a threadsafe (shared) reference-count object. @note This implementation is a modified version of shared_count from Boost.org */ #include <memory> // std::auto_ptr, std::allocator #include <functional> ...
27.60401
135
0.649628
[ "object" ]
54ef55fc504cb262fdd4ddc3c47fbd6404b1d972
7,195
cpp
C++
bin/src/bytrace_impl.cpp
openharmony-gitee-mirror/developtools_bytrace_standard
df3265cebddf04c95fbaad5f8d433362eb7ed1a3
[ "Apache-2.0" ]
null
null
null
bin/src/bytrace_impl.cpp
openharmony-gitee-mirror/developtools_bytrace_standard
df3265cebddf04c95fbaad5f8d433362eb7ed1a3
[ "Apache-2.0" ]
null
null
null
bin/src/bytrace_impl.cpp
openharmony-gitee-mirror/developtools_bytrace_standard
df3265cebddf04c95fbaad5f8d433362eb7ed1a3
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 Huawei Device 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 ...
31.557018
117
0.679639
[ "vector" ]
54fb3440bfeb6f876aeb28b01067aef932ed47d2
5,540
cpp
C++
algorithm/heapsort.cpp
LiuqingYang/simple-algorithm
729a9736c2fbcee9c14a041dbcdc04af4fc94155
[ "Apache-2.0" ]
2
2015-03-28T18:39:25.000Z
2015-04-19T16:04:59.000Z
algorithm/heapsort.cpp
LiuqingYang/simple-algorithm
729a9736c2fbcee9c14a041dbcdc04af4fc94155
[ "Apache-2.0" ]
null
null
null
algorithm/heapsort.cpp
LiuqingYang/simple-algorithm
729a9736c2fbcee9c14a041dbcdc04af4fc94155
[ "Apache-2.0" ]
null
null
null
/* Refer to: Introduction to Algorithms Chapter 6 Heap relate functions Liuqing Yang<yllqq#outlook.com> Compile with VS2010+ or gcc(-std=c++11) */ #include <stdio.h> #include <vector> #include <list> #include <algorithm> #include <assert.h> using namespace std; template<class T> class Heap { public: Heap(vector<T>...
18.528428
68
0.597292
[ "vector" ]
070e75ab97319acb541573993cb1864e5378ed8b
4,445
hpp
C++
src/common/comm/l0/comm_context.hpp
xwu99/oneCCL
6a98d9d1883c134fd03e825f41db508cc38bf251
[ "Apache-2.0" ]
2
2021-09-23T04:56:36.000Z
2021-11-12T11:51:55.000Z
src/common/comm/l0/comm_context.hpp
xwu99/oneCCL
6a98d9d1883c134fd03e825f41db508cc38bf251
[ "Apache-2.0" ]
null
null
null
src/common/comm/l0/comm_context.hpp
xwu99/oneCCL
6a98d9d1883c134fd03e825f41db508cc38bf251
[ "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...
37.352941
98
0.658043
[ "vector" ]
070f32b6a8656c4ce90bdb36d02269f7d3546be6
6,121
cpp
C++
src/driver.cpp
STEllAR-GROUP/octopus
a1f910d63380e4ebf91198ac2bc2896505ce6146
[ "BSL-1.0" ]
4
2016-01-30T14:47:21.000Z
2017-11-19T19:03:19.000Z
src/driver.cpp
STEllAR-GROUP/octopus
a1f910d63380e4ebf91198ac2bc2896505ce6146
[ "BSL-1.0" ]
null
null
null
src/driver.cpp
STEllAR-GROUP/octopus
a1f910d63380e4ebf91198ac2bc2896505ce6146
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2012 Bryce Adelstein-Lelbach // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //////////////////////////////////...
31.880208
83
0.495834
[ "vector" ]
07117ed4fc1927a71a075740f2a0fbb6f10ec461
1,784
hpp
C++
src/Microsoft.DotNet.Wpf/src/WpfGfx/common/DirectXLayer/interfaces/extensions.hpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
5,937
2018-12-04T16:32:50.000Z
2022-03-31T09:48:37.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/common/DirectXLayer/interfaces/extensions.hpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
4,151
2018-12-04T16:38:19.000Z
2022-03-31T18:41:14.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/common/DirectXLayer/interfaces/extensions.hpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
1,084
2018-12-04T16:24:21.000Z
2022-03-30T13:52:03.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #pragma once #include "vector3_t.hpp" #include "vector4_t.hpp" #include "quaternion_t.hpp" #include "matrix_t.hpp"...
40.545455
115
0.714686
[ "vector" ]
0714bc315aaa51df2e8039fb7662328d3255b9b4
634
hpp
C++
src/common/low_precision_transformations/include/low_precision/rt_info/attribute_parameters.hpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/common/low_precision_transformations/include/low_precision/rt_info/attribute_parameters.hpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/common/low_precision_transformations/include/low_precision/rt_info/attribute_parameters.hpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <ngraph/type/element_type.hpp> #include "low_precision/lpt_visibility.hpp" class LP_TRANSFORMATIONS_API AttributeParameters { public: AttributeParameters( const ngraph::element::Type deqPrecision ...
33.368421
114
0.742902
[ "vector" ]
0716bfc923f821964184c809d98b308a7192db11
5,591
cxx
C++
src/mlio-py/mlio/core/tensor.cxx
ericangelokim/ml-io
b559896ad690f037272c7beedc97af4433134445
[ "Apache-2.0" ]
null
null
null
src/mlio-py/mlio/core/tensor.cxx
ericangelokim/ml-io
b559896ad690f037272c7beedc97af4433134445
[ "Apache-2.0" ]
2
2020-04-08T01:37:44.000Z
2020-04-14T20:14:07.000Z
src/mlio-py/mlio/core/tensor.cxx
ericangelokim/ml-io
b559896ad690f037272c7beedc97af4433134445
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 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 "lice...
30.551913
75
0.577535
[ "shape", "vector" ]
0719f871e28373eb50614b0268b70de765df85f1
655
cpp
C++
UVa/uva 11159.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
UVa/uva 11159.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
UVa/uva 11159.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
// By KRT girl xiplus #include <bits/stdc++.h> #define endl '\n' using namespace std; struct T{ int a,b; bool visit; }; int main(){ // ios::sync_with_stdio(false); // cin.tie(0); int t,n; cin>>t; int lsz,rsz; for(int cas=1;cas<=t;cas++){ cin>>lsz; vector<int> l; for(int q=0;q<lsz;q++){ cin>>n; l.push_...
16.375
60
0.523664
[ "vector" ]
071a9424a983ee17e77e954ee17b16e8118caf6c
458,297
cpp
C++
src/main_3600.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
src/main_3600.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
src/main_3600.cpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" // Including type: System.Runtime.CompilerServices.DateTimeConstantAttribute #include "System/Runtime/CompilerServic...
81.258333
368
0.781423
[ "object", "vector" ]
071c8a6076179ba92dc09486c2ada66b5a3bdc66
415
cpp
C++
src/engine/World.cpp
jjerome/Niski
58bcc1303cdb6676c051d55e9d7a248dfea65cde
[ "MIT" ]
1
2017-09-19T16:33:06.000Z
2017-09-19T16:33:06.000Z
src/engine/World.cpp
jjerome/Niski
58bcc1303cdb6676c051d55e9d7a248dfea65cde
[ "MIT" ]
null
null
null
src/engine/World.cpp
jjerome/Niski
58bcc1303cdb6676c051d55e9d7a248dfea65cde
[ "MIT" ]
null
null
null
#include "engine/World.h" using namespace Niski::Engine; World::World(Niski::Math::Rect2D& bounds) : Entity(nullptr, "gameWorld"), bounds_(bounds) {} World::~World(void) {} void World::setBounds(Niski::Math::Rect2D& bounds) { bounds_ = bounds; } Niski::Math::Rect2D World::getBounds(void) const { return bounds_; ...
17.291667
89
0.713253
[ "render" ]
071f2e6e038999ff9795667708e7781d105114ad
10,959
cpp
C++
oldsrc/calcGammaOmega.cpp
ron2015schmitt/coildes
2583bc1beb6b5809ed75367970e4f32ba242894a
[ "MIT" ]
null
null
null
oldsrc/calcGammaOmega.cpp
ron2015schmitt/coildes
2583bc1beb6b5809ed75367970e4f32ba242894a
[ "MIT" ]
null
null
null
oldsrc/calcGammaOmega.cpp
ron2015schmitt/coildes
2583bc1beb6b5809ed75367970e4f32ba242894a
[ "MIT" ]
null
null
null
/************************************************************************* * * File Name : * Platform : gnu C++ compiler * Author : Ron Schmitt * Date : * * * SYNOPSIS * Stellarator COIL Design * This file finds the coil current from given plasma surface f...
24.963554
113
0.591204
[ "vector", "transform" ]
0720813cd3e24e0e26e5c90cfcf6489dd8a09ae7
3,072
cpp
C++
compiler/luci/pass/src/RemoveUnnecessarySlicePass.cpp
chogba6/ONE
3d35259f89ee3109cfd35ab6f38c231904487f3b
[ "Apache-2.0" ]
255
2020-05-22T07:45:29.000Z
2022-03-29T23:58:22.000Z
compiler/luci/pass/src/RemoveUnnecessarySlicePass.cpp
chogba6/ONE
3d35259f89ee3109cfd35ab6f38c231904487f3b
[ "Apache-2.0" ]
5,102
2020-05-22T07:48:33.000Z
2022-03-31T23:43:39.000Z
compiler/luci/pass/src/RemoveUnnecessarySlicePass.cpp
chogba6/ONE
3d35259f89ee3109cfd35ab6f38c231904487f3b
[ "Apache-2.0" ]
120
2020-05-22T07:51:08.000Z
2022-02-16T19:08:05.000Z
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. 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...
27.428571
97
0.666016
[ "shape" ]
0720e0d234a1ed864d4453eae903013b81f5082b
3,083
hh
C++
lib/spot-2.8.1/spot/kripke/kripke.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
1
2018-03-02T14:29:57.000Z
2018-03-02T14:29:57.000Z
lib/spot-2.8.1/spot/kripke/kripke.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
lib/spot-2.8.1/spot/kripke/kripke.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
1
2015-06-05T12:42:07.000Z
2015-06-05T12:42:07.000Z
// -*- coding: utf-8 -*- // Copyright (C) 2009, 2010, 2013, 2014, 2016 Laboratoire de Recherche // et Developpement de l'Epita // // This file is part of Spot, a model checking library. // // Spot is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as publishe...
28.813084
74
0.673694
[ "model" ]
07248ec3b6e042f14ec2d80e39303aa33ef2a469
875
hpp
C++
vendor/umappp/NeighborList.hpp
kojix2/umap
92404e3afe312393fb849227e0d6e91ad4355d8d
[ "MIT" ]
1
2022-03-11T11:08:30.000Z
2022-03-11T11:08:30.000Z
vendor/umappp/NeighborList.hpp
kojix2/umap
92404e3afe312393fb849227e0d6e91ad4355d8d
[ "MIT" ]
1
2022-01-31T05:04:40.000Z
2022-01-31T05:04:40.000Z
vendor/umappp/NeighborList.hpp
kojix2/umap
92404e3afe312393fb849227e0d6e91ad4355d8d
[ "MIT" ]
null
null
null
#ifndef UMAPPP_NEIGHBOR_LIST_HPP #define UMAPPP_NEIGHBOR_LIST_HPP /** * @file NeighborList.hpp * * @brief Defines the `NeighborList` typedef. */ namespace umappp { /** * @brief Neighbor specification based on index and distance. * * @tparam Float Floating-point type. * * The index refers to the position of ...
24.305556
115
0.738286
[ "vector" ]
072ae549135b3a1117acae37d7e55d9b9ae0ec76
1,328
cpp
C++
source/Ch04/Drill/drill4-2.cpp
Gabszter/UDProg-Introduction
b3807d4e04b9bdc7b7e2f518be9cabb081d83b86
[ "CC0-1.0" ]
null
null
null
source/Ch04/Drill/drill4-2.cpp
Gabszter/UDProg-Introduction
b3807d4e04b9bdc7b7e2f518be9cabb081d83b86
[ "CC0-1.0" ]
null
null
null
source/Ch04/Drill/drill4-2.cpp
Gabszter/UDProg-Introduction
b3807d4e04b9bdc7b7e2f518be9cabb081d83b86
[ "CC0-1.0" ]
null
null
null
#include "../../std_lib_facilities.h" int main() { const double cm_per_inch=2.54; const double cm_per_m=100; const double ft_per_inc=12; int db=0; double n; double min=numeric_limits<double>::max(); double max=numeric_limits<double>::lowest(); double sum; string unit=" "; vector<double> numbers; while(cin...
19.246377
66
0.521837
[ "vector" ]
0737cab60207d5734a2a3d9d375ed52df988b64c
545
cpp
C++
c/src/datastructs/var.cpp
regularApproximation/newton
ad6138fcf2e473446714cf31d77d0f86560dfdd8
[ "BSD-2-Clause" ]
8
2015-01-17T23:30:54.000Z
2018-08-13T20:42:54.000Z
c/src/datastructs/var.cpp
regularApproximation/newton
ad6138fcf2e473446714cf31d77d0f86560dfdd8
[ "BSD-2-Clause" ]
null
null
null
c/src/datastructs/var.cpp
regularApproximation/newton
ad6138fcf2e473446714cf31d77d0f86560dfdd8
[ "BSD-2-Clause" ]
3
2016-02-21T11:13:38.000Z
2018-11-11T03:50:09.000Z
#include "var.h" VarId Var::next_id_ = 0; std::unordered_map<std::string, VarId> Var::name_to_id_; std::unordered_map<VarId, std::unique_ptr<Var> > Var::id_to_var_; std::ostream& operator<<(std::ostream &out, const VarId &vid) { return out << Var::GetVar(vid); } std::ostream& operator<<(std::ostream &out, const s...
23.695652
77
0.59633
[ "vector" ]
073afe2311b8db77ee40e664cc262309461dcdcd
8,913
cpp
C++
src/io/network/udpSocket.cpp
daid/SeriousProton2
6cc9c2291ea63ffc82427ed82f51a84611f7f45c
[ "MIT" ]
8
2018-01-26T20:21:08.000Z
2021-08-30T20:28:43.000Z
src/io/network/udpSocket.cpp
daid/SeriousProton2
6cc9c2291ea63ffc82427ed82f51a84611f7f45c
[ "MIT" ]
7
2018-10-28T14:52:25.000Z
2020-12-28T19:59:04.000Z
src/io/network/udpSocket.cpp
daid/SeriousProton2
6cc9c2291ea63ffc82427ed82f51a84611f7f45c
[ "MIT" ]
7
2017-05-27T16:33:37.000Z
2022-02-18T14:07:17.000Z
#include <sp2/io/network/udpSocket.h> #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> static constexpr int flags = 0; #else #include <sys/types.h> #include <sys/socket.h> #include <unistd.h> #include <netinet/in.h> #include <arpa/inet.h> #include <string.h> #include <netdb.h> static constexpr int flags = MSG...
29.222951
157
0.602266
[ "vector" ]
073e4cbe06450a243603994830bbfd8a4bbb6954
15,148
cpp
C++
samples/cpp/object_detection_demo_yolov3_async/main.cpp
cgdougla/gst-video-analytics
003117484abff4d2b1ad5f053ac35e7fa00788f6
[ "MIT" ]
null
null
null
samples/cpp/object_detection_demo_yolov3_async/main.cpp
cgdougla/gst-video-analytics
003117484abff4d2b1ad5f053ac35e7fa00788f6
[ "MIT" ]
null
null
null
samples/cpp/object_detection_demo_yolov3_async/main.cpp
cgdougla/gst-video-analytics
003117484abff4d2b1ad5f053ac35e7fa00788f6
[ "MIT" ]
1
2020-12-04T07:22:57.000Z
2020-12-04T07:22:57.000Z
/******************************************************************************* * Copyright (C) 2018-2019 Intel Corporation * * SPDX-License-Identifier: MIT * * object_detection_demo_yolov3_async implementation based on object_detection_demo_yolov3_async * See https://github.com/opencv/open_model_zoo/tree/2018/d...
39.863158
118
0.616847
[ "object", "vector", "model", "transform" ]
073f1100bd56cff0fa27a09319c9b313894c6ae9
16,613
cpp
C++
INFO6028/ILoveOpenGL/ILoveOpenGL/InputHandling.cpp
LordMichaelmort/GDP2021_22
0498a1b7a16a35e8d4e79591163937ebffc15f47
[ "MIT" ]
2
2021-09-10T17:43:58.000Z
2021-09-14T21:52:47.000Z
INFO6028/ILoveOpenGL/ILoveOpenGL/InputHandling.cpp
LordMichaelmort/GDP2021_22
0498a1b7a16a35e8d4e79591163937ebffc15f47
[ "MIT" ]
null
null
null
INFO6028/ILoveOpenGL/ILoveOpenGL/InputHandling.cpp
LordMichaelmort/GDP2021_22
0498a1b7a16a35e8d4e79591163937ebffc15f47
[ "MIT" ]
1
2021-09-14T18:07:06.000Z
2021-09-14T18:07:06.000Z
#include "GLCommon.h" #include "globalThings.h" #include <sstream> #include <iostream> #include "cWinContextMenu.h" // This is taken care of by the Entity Organizer class // This could go into the global.h file, too //iShip* g_findShipByName(std::string nameToFind); // Handle async IO (keyboard, joystick, mouse,...
43.489529
169
0.614398
[ "object" ]
07421fda6be5c36e708708d1d0f898009ea31e1a
10,930
cc
C++
src/dfpnstat.cc
qhapaq-49/checkmate-gps-osl
1e54aa890f942c1e09525d44a0c18033a42bc952
[ "MIT" ]
null
null
null
src/dfpnstat.cc
qhapaq-49/checkmate-gps-osl
1e54aa890f942c1e09525d44a0c18033a42bc952
[ "MIT" ]
null
null
null
src/dfpnstat.cc
qhapaq-49/checkmate-gps-osl
1e54aa890f942c1e09525d44a0c18033a42bc952
[ "MIT" ]
null
null
null
#include "osl/checkmate/dfpn.h" #include "osl/checkmate/dfpnParallel.h" #include "osl/csa.h" #include "osl/misc/perfmon.h" #include "osl/misc/milliSeconds.h" #include "osl/checkmate/dfpnRecord.h" #include "osl/hash/hashRandomPair.h" #include "osl/oslConfig.h" #include <string> #include <iostream> #include <iomanip> #...
27.531486
142
0.616102
[ "vector" ]
0744e5eecf220cbaa5f882e8e164bd2cc830a812
7,965
cpp
C++
third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "core/loader/modulescript/ModuleScriptLoader.h" #include "bindings/core/v8/V8BindingForCore.h" #include "core/dom/Document.h" #include "core/dom...
38.478261
80
0.758569
[ "vector" ]
0751ed55e3b3695c9b32c4fb24843def0361befd
38,110
cpp
C++
Benchmarks/Applications/AugmentedReality/AugmentedReality.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
8
2015-03-16T18:16:35.000Z
2020-10-30T06:35:31.000Z
Benchmarks/Applications/AugmentedReality/AugmentedReality.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
null
null
null
Benchmarks/Applications/AugmentedReality/AugmentedReality.cpp
jlclemon/MEVBench
da7621b9eb1e92eec37a77dd1c7b69320cffcee1
[ "BSD-3-Clause" ]
3
2016-03-17T08:27:13.000Z
2020-10-30T06:46:50.000Z
/* * AugmentedReality.cpp * * Created on: May 25, 2011 * Author: jlclemon */ #include "AugmentedReality.hpp" #ifdef USE_MARSS #warning "Using MARSS" #include "ptlcalls.h" #endif #ifdef USE_GEM5 #warning "Using GEM5" extern "C" { #include "m5op.h" } #endif #define TIMING_MAX_NUMBER_OF_THREADS 256 //#defin...
24.508039
338
0.72603
[ "vector" ]
07591b7774bdb0a5ef364a74328d589cbc4a0134
6,573
cpp
C++
Chapter01/Code/RigidbodyVolume.cpp
PacktPublishing/Game-Physics-Cookbook
abb0caa14433be5f83a43126122ac1ad44280552
[ "MIT" ]
45
2017-03-30T15:39:14.000Z
2022-03-09T08:32:57.000Z
Chapter02/Code/RigidbodyVolume.cpp
PacktPublishing/Game-Physics-Cookbook
abb0caa14433be5f83a43126122ac1ad44280552
[ "MIT" ]
1
2019-11-18T08:22:25.000Z
2019-11-18T08:22:25.000Z
Chapter01/Code/RigidbodyVolume.cpp
PacktPublishing/Game-Physics-Cookbook
abb0caa14433be5f83a43126122ac1ad44280552
[ "MIT" ]
14
2017-04-05T12:05:31.000Z
2021-08-09T20:40:07.000Z
#include "RigidbodyVolume.h" #include "Compare.h" #include "FixedFunctionPrimitives.h" void RigidbodyVolume::ApplyForces() { forces = GRAVITY_CONST * mass; } #ifndef LINEAR_ONLY void RigidbodyVolume::AddRotationalImpulse(const vec3& point, const vec3& impulse) { vec3 centerOfMass = position; vec3 torque = Cross(p...
22.982517
94
0.659212
[ "render" ]
0759549c8ba44e4ca80dc92b886e5efe4a1e44a1
4,483
cpp
C++
test/cpp/main.cpp
Soju06/waifu2x-lib
5a5ac85b5f424dc76f3b8665b5b46a6c97659c83
[ "MIT" ]
null
null
null
test/cpp/main.cpp
Soju06/waifu2x-lib
5a5ac85b5f424dc76f3b8665b5b46a6c97659c83
[ "MIT" ]
null
null
null
test/cpp/main.cpp
Soju06/waifu2x-lib
5a5ac85b5f424dc76f3b8665b5b46a6c97659c83
[ "MIT" ]
null
null
null
#include <stdio.h> #include <algorithm> #include <queue> #include <vector> #include <clocale> #include <iostream> #include <thread> #include <fs.h> #include <chrono> // ncnn #include "cpu.h" #include "gpu.h" #include "platform.h" #include <waifu2x.h> #if _WIN32 #define _CRTDBG_MAP_ALLOC #include <crtdbg.h> #endif #...
30.290541
125
0.556101
[ "vector", "model" ]
075a964186442363deb88181a38a3ef0eb028097
23,095
cpp
C++
src/recryption.cpp
msatyan/HElib
0553a60f809c13859f64935ec24c14447e8c9159
[ "Apache-2.0" ]
2
2018-05-22T00:27:17.000Z
2018-07-22T21:22:58.000Z
src/recryption.cpp
msatyan/HElib
0553a60f809c13859f64935ec24c14447e8c9159
[ "Apache-2.0" ]
6
2018-05-17T21:41:34.000Z
2018-05-18T21:37:26.000Z
src/recryption.cpp
msatyan/HElib
0553a60f809c13859f64935ec24c14447e8c9159
[ "Apache-2.0" ]
1
2020-06-03T15:41:14.000Z
2020-06-03T15:41:14.000Z
/* Copyright (C) 2012-2017 IBM Corp. * This program is 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...
32.89886
82
0.623382
[ "vector" ]
075c1893e8a3b1e6bce060a9caa6b7e6b5fa3522
17,792
cc
C++
wrspice/devlib/hisim-1.1.0/hsm1set.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/devlib/hisim-1.1.0/hsm1set.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/devlib/hisim-1.1.0/hsm1set.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
44.148883
96
0.580542
[ "vector", "model" ]
075ca88e1461b4df8cfae760f8cb436372c751e7
989
cpp
C++
source-code/Tbb/BackSubstitution/src/solver.cpp
gjbex/Scientific-C-
d7aeb88743ffa2a43b1df1569a9200b2447f401c
[ "CC-BY-4.0" ]
115
2015-03-23T13:34:42.000Z
2022-03-21T00:27:21.000Z
source-code/Tbb/BackSubstitution/src/solver.cpp
gjbex/Scientific-C-
d7aeb88743ffa2a43b1df1569a9200b2447f401c
[ "CC-BY-4.0" ]
56
2015-02-25T15:04:26.000Z
2022-01-03T07:42:48.000Z
source-code/Tbb/BackSubstitution/src/solver.cpp
gjbex/Scientific-C-
d7aeb88743ffa2a43b1df1569a9200b2447f401c
[ "CC-BY-4.0" ]
59
2015-11-26T11:44:51.000Z
2022-03-21T00:27:22.000Z
#include <cmath> #include "equations.h" std::vector<double> solve_serial(const Equations& eqns) { if (eqns.nr_eqns() == 0) throw std::invalid_argument("no equations in set"); std::vector<double> x; x.push_back(eqns.rhs(0)/eqns.coeff(0, 0)); for (size_t eq_nr = 1; eq_nr < eqns.nr_eqns(); ++eq_nr...
35.321429
86
0.605662
[ "vector" ]
075d5898a984a1168ee88ad6576e896a4741611e
36,079
cpp
C++
src/ttauri/GFX/gfx_device_vulkan.cpp
benshurts/ttauri-gui
22eeb8f202dcfa0769653104f9b090030fbd9290
[ "BSL-1.0" ]
2
2021-09-21T00:07:50.000Z
2021-09-21T22:28:28.000Z
src/ttauri/GFX/gfx_device_vulkan.cpp
benshurts/ttauri-gui
22eeb8f202dcfa0769653104f9b090030fbd9290
[ "BSL-1.0" ]
null
null
null
src/ttauri/GFX/gfx_device_vulkan.cpp
benshurts/ttauri-gui
22eeb8f202dcfa0769653104f9b090030fbd9290
[ "BSL-1.0" ]
null
null
null
// Copyright Take Vos 2019-2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #include "gfx_device_vulkan.hpp" #include "gfx_system_vulkan.hpp" #include "gfx_surface_vulkan.hpp" #include "pipeline_image.hpp" #i...
42.646572
130
0.716483
[ "vector" ]
79e3d853716dc1db804950164522b8ca3442e0e3
19,086
cc
C++
webkit/tools/test_shell/event_sending_controller.cc
zachlatta/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
1
2021-09-24T22:49:10.000Z
2021-09-24T22:49:10.000Z
webkit/tools/test_shell/event_sending_controller.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
webkit/tools/test_shell/event_sending_controller.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2006-2008 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. // This file contains the definition for EventSendingController. // // Some notes about drag and drop handling: // Windows drag and drop goes thr...
31.863105
82
0.708163
[ "vector" ]
79e531b6664ead49fd332f831eff11f1db84c09a
16,913
cc
C++
demo/demo_pbr.cc
raptoravis/sigrlinn
37fd2f8c73e38e9c266301517f4292e0d6e536ef
[ "MIT" ]
140
2015-01-13T22:40:16.000Z
2022-01-15T00:53:47.000Z
demo/demo_pbr.cc
raptoravis/sigrlinn
37fd2f8c73e38e9c266301517f4292e0d6e536ef
[ "MIT" ]
17
2015-01-23T15:15:14.000Z
2019-03-16T20:30:52.000Z
demo/demo_pbr.cc
raptoravis/sigrlinn
37fd2f8c73e38e9c266301517f4292e0d6e536ef
[ "MIT" ]
22
2015-01-19T13:00:55.000Z
2021-03-27T09:04:34.000Z
/// The MIT License (MIT) /// /// Copyright (c) 2015 Kirill Bazhenov /// Copyright (c) 2015 BitBox, Ltd. /// /// 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, ...
39.516355
131
0.622716
[ "mesh", "render", "solid" ]
79e9d18566450f49966d189565c88f59137e5512
14,587
cpp
C++
src/pathfinder.cpp
DevasenaInupakutika/assn2
e533e0560241c81fa92a25b7058187562aa9fbfc
[ "Apache-2.0" ]
1
2015-03-06T05:33:39.000Z
2015-03-06T05:33:39.000Z
src/pathfinder.cpp
DevasenaInupakutika/assn2
e533e0560241c81fa92a25b7058187562aa9fbfc
[ "Apache-2.0" ]
null
null
null
src/pathfinder.cpp
DevasenaInupakutika/assn2
e533e0560241c81fa92a25b7058187562aa9fbfc
[ "Apache-2.0" ]
null
null
null
#include <ros/ros.h> #include <tf/transform_listener.h> #include <tf/transform_datatypes.h> #include "std_msgs/MultiArrayLayout.h" #include "std_msgs/MultiArrayDimension.h" #include "std_msgs/Float64MultiArray.h" #include "std_msgs/Float64.h" #include "nav_msgs/OccupancyGrid.h" #include <visualization_msgs/Marker.h> #...
29.891393
126
0.60787
[ "object", "vector", "transform" ]
79eaca31f06a8ae3b9682508e1467bd43190b40c
5,896
cxx
C++
src/Menu.cxx
fermi-lat/gui
d2387b2d9f2bbde3a9310ff8f2cca038a339ebf6
[ "BSD-3-Clause" ]
null
null
null
src/Menu.cxx
fermi-lat/gui
d2387b2d9f2bbde3a9310ff8f2cca038a339ebf6
[ "BSD-3-Clause" ]
null
null
null
src/Menu.cxx
fermi-lat/gui
d2387b2d9f2bbde3a9310ff8f2cca038a339ebf6
[ "BSD-3-Clause" ]
null
null
null
// $Id: Menu.cxx,v 1.3 2001/10/06 04:22:14 burnett Exp $ // Author: Toby Burnett // // Menu class implementations, now just pass-through to GUI //#include "gui/Menu.h" #include "gui/SubMenu.h" #include "gui/SimpleCommand.h" #include <strstream> #include <string> #include <cstdio> // for sprintf #include <cstdl...
29.48
96
0.477951
[ "vector" ]
79ebf048e218cc93e2c272e105f54c75380aaf9d
940
cpp
C++
201-300/205-Isomorphic_Strings-e.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
1
2018-10-02T22:44:52.000Z
2018-10-02T22:44:52.000Z
201-300/205-Isomorphic_Strings-e.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
201-300/205-Isomorphic_Strings-e.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
// Given two strings s and t, determine if they are isomorphic. // Two strings are isomorphic if the characters in s can be replaced to get t. // All occurrences of a character must be replaced with another character while // preserving the order of characters. No two characters may map to the same // character but a...
30.322581
79
0.590426
[ "vector" ]
79f7fb5f290a798da6c26385cae740a3985c2d47
28,701
cc
C++
RecoVertex/BeamSpotProducer/src/BSFitter.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoVertex/BeamSpotProducer/src/BSFitter.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoVertex/BeamSpotProducer/src/BSFitter.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/**_________________________________________________________________ class: BSFitter.cc package: RecoVertex/BeamSpotProducer author: Francisco Yumiceva, Fermilab (yumiceva@fnal.gov) ________________________________________________________________**/ #include "Minuit2/VariableMetricMinimizer.h" #include ...
33.142032
121
0.595101
[ "object", "vector" ]
79fb716318551ce2fed298ef36093741eaaa657e
15,232
cc
C++
extensions/renderer/messaging_bindings.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
extensions/renderer/messaging_bindings.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
extensions/renderer/messaging_bindings.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/renderer/messaging_bindings.h" #include <stdint.h> #include <map> #include <string> #include "base/bind.h" #include "base/bind_hel...
37.425061
80
0.700039
[ "object", "vector" ]
03047a725c74261678f8a08fa09ef1796d6a8bf4
452
hpp
C++
include/CodeExecutor/Linker.hpp
Megaxela/CodeExecutor
4d4f4e6ffb298e250e04edb23a29bf90c3e0d43a
[ "MIT" ]
3
2020-05-22T09:24:30.000Z
2020-11-06T15:16:04.000Z
include/CodeExecutor/Linker.hpp
Megaxela/CodeExecutor
4d4f4e6ffb298e250e04edb23a29bf90c3e0d43a
[ "MIT" ]
null
null
null
include/CodeExecutor/Linker.hpp
Megaxela/CodeExecutor
4d4f4e6ffb298e250e04edb23a29bf90c3e0d43a
[ "MIT" ]
2
2020-05-12T03:28:11.000Z
2020-11-18T09:48:27.000Z
#pragma once #include <memory> #include "Library.hpp" #include "Object.hpp" namespace CodeExecutor { class Linker; using LinkerPtr = std::shared_ptr<Linker>; /** * @brief Class, that describes linker. */ class Linker { public: /** * @brief Virtual destructor. ...
15.586207
75
0.577434
[ "object", "vector" ]