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
7699b4a231424320a1c8676a121ad6cdae4873f3
1,990
cpp
C++
src/classlibnative/nls/nlsinfo.cpp
pentp/coreclr
fdef855fa1df3540ba632bfae850279d627bde66
[ "MIT" ]
1
2019-05-19T20:44:03.000Z
2019-05-19T20:44:03.000Z
src/classlibnative/nls/nlsinfo.cpp
pentp/coreclr
fdef855fa1df3540ba632bfae850279d627bde66
[ "MIT" ]
2
2018-07-13T00:48:13.000Z
2019-02-27T16:19:30.000Z
src/classlibnative/nls/nlsinfo.cpp
pentp/coreclr
fdef855fa1df3540ba632bfae850279d627bde66
[ "MIT" ]
1
2018-07-05T01:49:20.000Z
2018-07-05T01:49:20.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. //////////////////////////////////////////////////////////////////////////// // // Class: NLSInfo // // // Purp...
25.844156
108
0.679899
[ "object" ]
769bd05f266a94044d886915dd82e1f96c6d2353
4,307
hpp
C++
easy_perception_deployment/include/ort_cpp_lib/p1_ort_base.hpp
quasi-robotics/easy_perception_deployment
19f0df36aa94426f81576a0b605718a7d8ac2d12
[ "Apache-2.0" ]
40
2020-07-10T02:40:09.000Z
2022-03-28T13:09:00.000Z
easy_perception_deployment/include/ort_cpp_lib/p1_ort_base.hpp
quasi-robotics/easy_perception_deployment
19f0df36aa94426f81576a0b605718a7d8ac2d12
[ "Apache-2.0" ]
19
2020-09-15T14:50:09.000Z
2022-03-14T12:36:57.000Z
easy_perception_deployment/include/ort_cpp_lib/p1_ort_base.hpp
cardboardcode/easy_perception_deployment
bf3ba2247fdddd1c6197762a5be453efd7031e02
[ "Apache-2.0" ]
8
2020-06-29T04:26:57.000Z
2022-01-07T13:57:26.000Z
// Copyright 2020 Advanced Remanufacturing and Technology Centre // Copyright 2020 ROS-Industrial Consortium Asia Pacific 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 // // ht...
38.455357
82
0.728814
[ "object", "vector", "model" ]
3721c7b9ca9ff0d3b70804382b3cbe5e16954aa0
8,823
cpp
C++
src/main.cpp
tommy1900/MPC-Project-HIGHSPEED-Matplot-DynamicVelocityReference-100msLatency
3487753b89c79a1fb359992b7b0237455aa5e4f3
[ "MIT" ]
null
null
null
src/main.cpp
tommy1900/MPC-Project-HIGHSPEED-Matplot-DynamicVelocityReference-100msLatency
3487753b89c79a1fb359992b7b0237455aa5e4f3
[ "MIT" ]
null
null
null
src/main.cpp
tommy1900/MPC-Project-HIGHSPEED-Matplot-DynamicVelocityReference-100msLatency
3487753b89c79a1fb359992b7b0237455aa5e4f3
[ "MIT" ]
null
null
null
#include <math.h> #include <uWS/uWS.h> #include <chrono> #include <iostream> #include <string> #include <thread> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "helpers.h" #include "json.hpp" #include "MPC.h" #include "cViz.h" #include <fstream> #include "matplotlibcpp.h" name...
32.083636
115
0.540292
[ "object", "vector" ]
3722a61260360c7e85b1ae70fd84b05c3fa5a047
872
cpp
C++
Source/Tutorial2DConstruct/SpriteActor.cpp
ant1982/Tutorial2DConstruct
57559bfbe8612c917ab5908e8996615d50e52f7a
[ "MIT" ]
null
null
null
Source/Tutorial2DConstruct/SpriteActor.cpp
ant1982/Tutorial2DConstruct
57559bfbe8612c917ab5908e8996615d50e52f7a
[ "MIT" ]
null
null
null
Source/Tutorial2DConstruct/SpriteActor.cpp
ant1982/Tutorial2DConstruct
57559bfbe8612c917ab5908e8996615d50e52f7a
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SpriteActor.h" #include "PaperSpriteComponent.h" // Sets default values ASpriteActor::ASpriteActor() { // Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it. PrimaryA...
20.27907
115
0.758028
[ "transform" ]
372615b209778df686b1511bcca24d87881ae78a
1,035
cpp
C++
02_1_ofxOscPublisherExample/src/ofApp.cpp
asaiyuta/ofxPubSubOsc
bcec57e9842595f716926d42cca49167973c2942
[ "MIT" ]
75
2015-05-11T13:21:51.000Z
2022-01-24T20:24:57.000Z
02_1_ofxOscPublisherExample/src/ofApp.cpp
asaiyuta/ofxPubSubOsc
bcec57e9842595f716926d42cca49167973c2942
[ "MIT" ]
29
2015-05-11T14:39:05.000Z
2021-09-30T05:34:45.000Z
02_1_ofxOscPublisherExample/src/ofApp.cpp
asaiyuta/ofxPubSubOsc
bcec57e9842595f716926d42cca49167973c2942
[ "MIT" ]
10
2015-11-21T15:07:41.000Z
2022-01-31T23:07:46.000Z
#include "ofMain.h" #include "ofxOscPublisher.h" /* launch this and ofxOscSubscriberExample */ class ofApp : public ofBaseApp { public: void setup() { for(int i = 0; i < 16; i++) { m.addVertex(ofVec2f()); } ofSetWindowPosition(100, 100); ofxPublishOsc("localhost", 9005,...
24.069767
67
0.550725
[ "mesh" ]
3730c044451367e5142a43e1212e1dbdc06a498f
784
cpp
C++
0088_Merge_Sorted_Array/solution.cpp
Heliovic/LeetCode_Solutions
73d5a7aaffe62da9a9cd8a80288b260085fda08f
[ "MIT" ]
2
2019-02-18T15:32:57.000Z
2019-03-18T12:55:35.000Z
0088_Merge_Sorted_Array/solution.cpp
Heliovic/LeetCode_Solutions
73d5a7aaffe62da9a9cd8a80288b260085fda08f
[ "MIT" ]
null
null
null
0088_Merge_Sorted_Array/solution.cpp
Heliovic/LeetCode_Solutions
73d5a7aaffe62da9a9cd8a80288b260085fda08f
[ "MIT" ]
null
null
null
class Solution { public: void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) { int ptr1 = 0, ptr2 = 0; vector<int> v = nums1; int ptr = 0; while (ptr1 < m && ptr2 < n) { if (v[ptr1] <= nums2[ptr2]) { ...
20.102564
70
0.30102
[ "vector" ]
37329468569f4967b6ec1b44a9310b6dac2a1a76
518
cpp
C++
demo/PBHelloDemo.cpp
courtarro/protobuf_example
70480e5083fc592fb79aa0f2b47e5e0704e3e76e
[ "MIT" ]
1
2019-09-02T04:55:33.000Z
2019-09-02T04:55:33.000Z
demo/PBHelloDemo.cpp
courtarro/protobuf_example
70480e5083fc592fb79aa0f2b47e5e0704e3e76e
[ "MIT" ]
null
null
null
demo/PBHelloDemo.cpp
courtarro/protobuf_example
70480e5083fc592fb79aa0f2b47e5e0704e3e76e
[ "MIT" ]
null
null
null
#include <PBHello.h> #include <iostream> using namespace std; int main(int argc, const char** argv) { if (argc != 2) { fprintf(stderr, "Usage: pb_hello_demo message\n"); exit(EXIT_FAILURE); } my_company::hello_project::PBHello pbHello(argv[1]); custom::hello_message msg = pbHello.get...
19.923077
58
0.594595
[ "vector" ]
37364372e7e1153b9f7bc57b10443517995000a8
2,146
cpp
C++
code archive/GJ/h123.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/GJ/h123.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/GJ/h123.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
/**********************************************************************************/ /* Problem: h123 "A.可魚果運輸問題" from NPSC 2013 高中組決賽 */ /* Language: C++ */ /* Result: AC (10ms, 210KB) on ZeroJudge ...
24.953488
84
0.359739
[ "vector" ]
3737d42395f17e7a613267c865523cd27e5583d2
1,916
cpp
C++
1]. DSA + CP/2]. Competitive Programming/03]. LeetCode/1]. Problems/C++/0018]. 4Sum.cpp
geeknarendra/The-Complete-FAANG-Preparation
3ed22719022bc66bd05c5c1ed091fe605e979908
[ "MIT" ]
1
2022-01-26T01:11:10.000Z
2022-01-26T01:11:10.000Z
3]. Competitive Programming/03]. LeetCode/1]. Problems/C++/0018]. 4Sum.cpp
ankitrajbiswal/The-Complete-FAANG-Preparation
c963509101e9811abbb0c1b2e38ba14d19161d47
[ "MIT" ]
null
null
null
3]. Competitive Programming/03]. LeetCode/1]. Problems/C++/0018]. 4Sum.cpp
ankitrajbiswal/The-Complete-FAANG-Preparation
c963509101e9811abbb0c1b2e38ba14d19161d47
[ "MIT" ]
null
null
null
/* Example 1: Input: nums = [1,0,-1,0,-2,2], target = 0 Output: [[-2,-1,1,2],[-2,0,0,2],[-1,0,0,1]] Example 2: Input: nums = [2,2,2,2,2], target = 8 Output: [[2,2,2,2]] */ class Solution { public: vector<vector<int>> fourSum(vector<int>& nums, int target) { sort(nums.begin(), nums.end());...
27.371429
99
0.43476
[ "vector" ]
373cb0b1e7a47009996ee2b45212c0d47ed2767e
10,045
cpp
C++
WiiYourself/WiiMoteWrapper.cpp
lshoek/aerial-pace-vr
46bbf6bf0f8bf85ccc3693090b02ba4c76ead4fd
[ "MIT" ]
null
null
null
WiiYourself/WiiMoteWrapper.cpp
lshoek/aerial-pace-vr
46bbf6bf0f8bf85ccc3693090b02ba4c76ead4fd
[ "MIT" ]
null
null
null
WiiYourself/WiiMoteWrapper.cpp
lshoek/aerial-pace-vr
46bbf6bf0f8bf85ccc3693090b02ba4c76ead4fd
[ "MIT" ]
null
null
null
#include "WiiMoteWrapper.h" #include <mmsystem.h> using namespace std; WiiMoteWrapper::WiiMoteWrapper() { degrees = 0; startAngle = 0; buttonOne = buttonTwo = buttonHome = false; continueGame = true; status = 0; //0 = wachten 1 = succes -1 = niet succes } void WiiMoteWrapper::start(){ wiiMoteMainStart(); } W...
35.245614
128
0.640418
[ "object" ]
373d7b4e190f9c7815a2a18bdfabe594983bc1eb
1,219
cpp
C++
ceppengine/src/ceppengine/components/rendering/meshrenderer.cpp
Winded/ceppengine
52a9c1723dc45aba4d85d50e4c919ec8016c8d94
[ "MIT" ]
2
2017-11-13T11:29:03.000Z
2017-11-13T12:09:12.000Z
ceppengine/src/ceppengine/components/rendering/meshrenderer.cpp
Winded/ceppengine
52a9c1723dc45aba4d85d50e4c919ec8016c8d94
[ "MIT" ]
null
null
null
ceppengine/src/ceppengine/components/rendering/meshrenderer.cpp
Winded/ceppengine
52a9c1723dc45aba4d85d50e4c919ec8016c8d94
[ "MIT" ]
null
null
null
#include "meshrenderer.h" #include "../../engine.h" namespace cepp { MeshRenderer::MeshRenderer() { } MeshRenderer::~MeshRenderer() { Engine::instance()->renderModule()->removeHandler(this); } std::string MeshRenderer::typeName() const { return "MeshRenderer"; } Mesh *MeshRenderer::mesh() const { retu...
17.666667
99
0.692371
[ "mesh", "render", "object" ]
37479e9e9ca34f3355a42ffe77ac27cd84f87f13
1,558
cpp
C++
leetcode/cpp/qt_construct_binary_tree_from_preorder_and_inorder_traversal.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
5
2016-10-29T09:28:11.000Z
2019-10-19T23:02:48.000Z
leetcode/cpp/qt_construct_binary_tree_from_preorder_and_inorder_traversal.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
null
null
null
leetcode/cpp/qt_construct_binary_tree_from_preorder_and_inorder_traversal.cpp
qiaotian/CodeInterview
294c1ba86d8ace41a121c5ada4ba4c3765ccc17d
[ "WTFPL" ]
null
null
null
/** * @Author: Tian Qiao <root> * @Date: 2016-07-12T18:48:51+08:00 * @Email: qiaotian@me.com * @Last modified by: root * @Last modified time: 2016-07-12T20:16:53+08:00 * @Inc: Bloomberg * @Difficulty: Medium */ /** Given preorder and inorder traversal of a tree, construct the binary tree. Note: You may assume t...
28.327273
102
0.601412
[ "vector" ]
3755c8be4cf0cb6f55e2e4dda7843d14fbdb85eb
2,817
cpp
C++
CGALWrapper/Geometry/Box2_EIK.cpp
unitycoder/CGALDotNet
90682724a55aec2818847500047d4785aa7e1d67
[ "MIT" ]
null
null
null
CGALWrapper/Geometry/Box2_EIK.cpp
unitycoder/CGALDotNet
90682724a55aec2818847500047d4785aa7e1d67
[ "MIT" ]
null
null
null
CGALWrapper/Geometry/Box2_EIK.cpp
unitycoder/CGALDotNet
90682724a55aec2818847500047d4785aa7e1d67
[ "MIT" ]
null
null
null
#include "Box2_EIK.h" #include <CGAL/Iso_rectangle_2.h> #include <CGAL/Aff_transformation_2.h> #include <CGAL/Cartesian_converter.h> typedef CGAL::Iso_rectangle_2<EIK> Box2; typedef CGAL::Aff_transformation_2<EIK> Transformation2; void* Box2_EIK_Create(const Point2d& min, const Point2d& max) { auto _min = min.ToCGA...
19.978723
93
0.705715
[ "transform" ]
3756fb83f31eac4b0e42d7ac11c3b33a503c828c
8,684
hxx
C++
main/writerfilter/source/dmapper/NumberingManager.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/writerfilter/source/dmapper/NumberingManager.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/writerfilter/source/dmapper/NumberingManager.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
34.054902
109
0.592008
[ "vector" ]
375bd9fbc31cf4738e062330631cee612a68491d
1,594
cpp
C++
model/GetCountriesResponse.cpp
imissyouso/textmagic-rest-cpp
b5810fd41c08dbab320a52e93d524896e2c2200f
[ "MIT" ]
null
null
null
model/GetCountriesResponse.cpp
imissyouso/textmagic-rest-cpp
b5810fd41c08dbab320a52e93d524896e2c2200f
[ "MIT" ]
null
null
null
model/GetCountriesResponse.cpp
imissyouso/textmagic-rest-cpp
b5810fd41c08dbab320a52e93d524896e2c2200f
[ "MIT" ]
null
null
null
/** * TextMagic API * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 2 * * * NOTE: This class is auto generated by the swagger code generator 2.4.8. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class man...
21.540541
123
0.703262
[ "model" ]
376104b5466de999f9235856f8884c584596ba9e
10,082
cpp
C++
app/src/main/jni/native.cpp
liaxim/RemoteDisplayNDK-android
1b41575b786644fb2449b59711c8b1a189c0bb54
[ "Apache-2.0" ]
2
2018-10-03T02:14:39.000Z
2020-06-06T00:06:42.000Z
app/src/main/jni/native.cpp
liaxim/RemoteDisplayNDK-android
1b41575b786644fb2449b59711c8b1a189c0bb54
[ "Apache-2.0" ]
null
null
null
app/src/main/jni/native.cpp
liaxim/RemoteDisplayNDK-android
1b41575b786644fb2449b59711c8b1a189c0bb54
[ "Apache-2.0" ]
1
2019-01-25T11:49:11.000Z
2019-01-25T11:49:11.000Z
/* * Copyright 2016 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 applica...
34.765517
104
0.693513
[ "render" ]
37638475c5cee58876d3002e2e422d41b24630a5
23,287
cpp
C++
src/libSBML/src/sbml/packages/distrib/sbml/Uncertainty.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
5
2015-04-16T14:27:38.000Z
2021-11-30T14:54:39.000Z
src/libSBML/src/sbml/packages/distrib/sbml/Uncertainty.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
8
2017-05-30T16:58:39.000Z
2022-02-22T16:51:34.000Z
src/libSBML/src/sbml/packages/distrib/sbml/Uncertainty.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
7
2016-05-29T08:12:59.000Z
2019-05-02T13:39:25.000Z
/** * @file Uncertainty.cpp * @brief Implementation of the Uncertainty class. * @author SBMLTeam * * <!-------------------------------------------------------------------------- * This file is part of libSBML. Please visit http://sbml.org for more * information about SBML, and the latest version of libSBML. * ...
19.634907
79
0.692232
[ "object", "model" ]
37641be3e3e7a36a86b892508905fd7232873378
1,451
cpp
C++
metro/src/regression/LogUnnormalisedPosterior.cpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
3
2021-04-21T05:42:24.000Z
2022-01-26T14:59:43.000Z
metro/src/regression/LogUnnormalisedPosterior.cpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
2
2020-04-09T16:11:04.000Z
2020-11-10T11:18:56.000Z
metro/src/regression/LogUnnormalisedPosterior.cpp
gavinband/qctool
8d8adb45151c91f953fe4a9af00498073b1132ba
[ "BSL-1.0" ]
null
null
null
// Copyright Gavin Band 2008 - 2012. // 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) #include <string> #include "metro/regression/LogLikelihood.hpp" #include "metro/SmoothFunction.hpp" #inc...
27.377358
112
0.716058
[ "vector" ]
376625181a4c1a9510ac4330a93729a5921cdd19
2,594
hpp
C++
source/dynarithmic/twain/options/imageinformation_options.hpp
dynarithmic/twainsave-opensource
9aa0d43572ffd68ba28311e237c33f1ec4557534
[ "Apache-2.0" ]
null
null
null
source/dynarithmic/twain/options/imageinformation_options.hpp
dynarithmic/twainsave-opensource
9aa0d43572ffd68ba28311e237c33f1ec4557534
[ "Apache-2.0" ]
null
null
null
source/dynarithmic/twain/options/imageinformation_options.hpp
dynarithmic/twainsave-opensource
9aa0d43572ffd68ba28311e237c33f1ec4557534
[ "Apache-2.0" ]
null
null
null
/* This file is part of the Dynarithmic TWAIN Library (DTWAIN). Copyright (c) 2002-2020 Dynarithmic Software. 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-...
34.131579
96
0.586739
[ "vector" ]
377e5b83b9125473007583fa5db95627d67abe12
19,464
cc
C++
third_party/perfetto/src/ftrace_reader/cpu_reader.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/perfetto/src/ftrace_reader/cpu_reader.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/perfetto/src/ftrace_reader/cpu_reader.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
/* * 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...
35.779412
80
0.660142
[ "vector" ]
3783b22326277bf83c3e7945303f4c3d8efb40cc
6,143
cpp
C++
modules/processing/src/_processing.cpp
OpenMA/openma
6f3b55292fd0a862b3444f11d71d0562cfe81ac1
[ "Unlicense" ]
41
2016-06-28T13:51:39.000Z
2022-01-20T16:33:00.000Z
modules/processing/src/_processing.cpp
bmswgnp/openma
6f3b55292fd0a862b3444f11d71d0562cfe81ac1
[ "Unlicense" ]
82
2016-04-09T15:19:31.000Z
2018-11-15T18:56:12.000Z
modules/processing/src/_processing.cpp
bmswgnp/openma
6f3b55292fd0a862b3444f11d71d0562cfe81ac1
[ "Unlicense" ]
9
2016-03-29T14:28:31.000Z
2020-07-29T07:39:19.000Z
/* * Open Source Movement Analysis Library * Copyright (C) 2016, Moveck Solution Inc., all rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must reta...
45.169118
385
0.69624
[ "vector" ]
378942e0529aec15cf49641d334ebe6cd0b419f3
1,927
cpp
C++
ext/lazer_lines/lazer_lines.cpp
roadtrippers/lazer_lines
68f7e0e9776f7bb656bb0f0fa90ceb098fa0af09
[ "MIT" ]
2
2015-06-30T13:17:15.000Z
2016-04-28T18:12:17.000Z
ext/lazer_lines/lazer_lines.cpp
roadtrippers/lazer_lines
68f7e0e9776f7bb656bb0f0fa90ceb098fa0af09
[ "MIT" ]
2
2016-03-30T15:58:48.000Z
2021-09-01T18:02:30.000Z
ext/lazer_lines/lazer_lines.cpp
roadtrippers/lazer_lines
68f7e0e9776f7bb656bb0f0fa90ceb098fa0af09
[ "MIT" ]
1
2015-06-30T13:17:18.000Z
2015-06-30T13:17:18.000Z
#include <tuple> #include <vector> #include "flexpolyline.h" #include "lazer_lines.h" /* Define module "object" */ VALUE LazerLines = Qnil; extern "C" void Init_lazer_lines() { LazerLines = rb_define_module("LazerLines"); rb_define_singleton_method(LazerLines, "encode_with_precision", reinterpret_cast<VALUE(*)(....
32.116667
128
0.72548
[ "object", "vector" ]
3790c19c114a331214ddba4567c579e9bdff0593
8,713
inl
C++
include/dbclt/postgres/statement.inl
lavoiepatrick/dbclt
e815a253ad538db34f655c3dfbbf032668ea1f15
[ "MIT" ]
null
null
null
include/dbclt/postgres/statement.inl
lavoiepatrick/dbclt
e815a253ad538db34f655c3dfbbf032668ea1f15
[ "MIT" ]
null
null
null
include/dbclt/postgres/statement.inl
lavoiepatrick/dbclt
e815a253ad538db34f655c3dfbbf032668ea1f15
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2021 Patrick Lavoie 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,...
28.567213
100
0.707908
[ "transform" ]
37911e1f7d1fd0c6e37d246ca2f3b82516f11fc4
6,783
cpp
C++
day-09.cpp
MarioLiebisch/Advent-of-Code-2019
5c353128ae61b88fd4656367d2cf0ba1287fe902
[ "MIT" ]
null
null
null
day-09.cpp
MarioLiebisch/Advent-of-Code-2019
5c353128ae61b88fd4656367d2cf0ba1287fe902
[ "MIT" ]
null
null
null
day-09.cpp
MarioLiebisch/Advent-of-Code-2019
5c353128ae61b88fd4656367d2cf0ba1287fe902
[ "MIT" ]
null
null
null
#include <iostream> #include <functional> #include <map> #include <vector> #include <algorithm> // Yep, have to up the type size: // 'long' on Windows x64 is still just 32 bit, but we need 64 bit typedef long long value; // Again this function is basically unchanged from day 7, except for the // new op code (9) and n...
68.515152
3,429
0.609465
[ "vector" ]
3795e0b8895cb4afd35c271133ec1f27e484b691
843
cpp
C++
model/interface.cpp
ORNL-QCI/eldispacho
f9eb38c8ba05bc9b78b0516c038a92f7ca46c364
[ "BSD-3-Clause" ]
1
2020-06-18T23:10:12.000Z
2020-06-18T23:10:12.000Z
model/interface.cpp
ORNL-QCI/eldispacho
f9eb38c8ba05bc9b78b0516c038a92f7ca46c364
[ "BSD-3-Clause" ]
null
null
null
model/interface.cpp
ORNL-QCI/eldispacho
f9eb38c8ba05bc9b78b0516c038a92f7ca46c364
[ "BSD-3-Clause" ]
1
2020-06-18T23:10:15.000Z
2020-06-18T23:10:15.000Z
#include "interface.hpp" namespace model { namespace interface { transmitter::transmitter(base::id_t id) : base(id) { } transmitter::transmitter(base::id_t id, simulator::unit&& simulationUnit) : base(id, std::move(simulationUnit)) { } transmitter::transmitter(transmitter&& old) : base...
19.159091
58
0.618031
[ "model" ]
37985499aa28a6d7fe00bdc24829d8fe175f2884
40,463
cpp
C++
Osiris/Hacks/Aimbot.cpp
justinmaks/stincheat
7b5c85f049fad0366be72c6a8ce03a27229dc888
[ "MIT" ]
2
2020-12-07T01:52:02.000Z
2021-02-27T13:13:11.000Z
Osiris/Hacks/Aimbot.cpp
justinmaks/stincheat
7b5c85f049fad0366be72c6a8ce03a27229dc888
[ "MIT" ]
null
null
null
Osiris/Hacks/Aimbot.cpp
justinmaks/stincheat
7b5c85f049fad0366be72c6a8ce03a27229dc888
[ "MIT" ]
1
2020-11-04T07:15:51.000Z
2020-11-04T07:15:51.000Z
#include <stdio.h> #include <string> #include <iostream> using namespace std; class xcyqcea { public: int kilecvcxxtjy; xcyqcea(); bool aybdhlllttivvdhzrird(int fznlcz, int yqpjthtwddtqt); void jwvrweqxyr(bool gwwdaiz, string ullae, string gkjadenod, int ehyktkikldllkpc, double qmofzf, double tvxerpkk...
38.683556
414
0.664706
[ "vector" ]
379ac52d07c462ed5f81d3b11397c7552187f055
10,836
cpp
C++
main.cpp
tom--bo/trees
9572b923bcccef2e7725ca4eaccbd9aa6b4af732
[ "MIT" ]
null
null
null
main.cpp
tom--bo/trees
9572b923bcccef2e7725ca4eaccbd9aa6b4af732
[ "MIT" ]
2
2020-07-09T14:24:44.000Z
2020-07-11T16:20:43.000Z
main.cpp
tom--bo/trees
9572b923bcccef2e7725ca4eaccbd9aa6b4af732
[ "MIT" ]
null
null
null
#include "bplustree.h" #include "bstartree.h" #include "btree.h" #include <bits/stdc++.h> #include <unistd.h> using namespace std; using namespace std::chrono; string getTestFilename(int n) { ios::fmtflags curret_flag = std::cout.flags(); ostringstream ss; ss << std::setw(3) << std::setfill('0') << n; string ...
30.610169
80
0.529808
[ "vector", "3d" ]
379b442878e9704423bd4ecd1f6090f6a3b6c7af
430
cpp
C++
atc/abc234/c.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
3
2022-03-30T14:14:57.000Z
2022-03-31T04:30:32.000Z
atc/abc234/c.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
null
null
null
atc/abc234/c.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> typedef long long ll; using namespace std; vector<int> ve; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); //IO ll k; cin >> k; ll a = 1; while (a <= k) { ve.push_back(((k & a) ? 2 : 0)); a <<= 1; ...
13.4375
41
0.502326
[ "vector" ]
37adbcf4080230e08a89b4a74c459fa7d653a9f3
8,524
cpp
C++
src/geometry/CTiglPointsToBSplineInterpolation.cpp
cfsengineering/tigl
abfbb57b82dc6beac7cde212a4cd5e0aed866db8
[ "Apache-2.0" ]
171
2015-04-13T11:24:34.000Z
2022-03-26T00:56:38.000Z
src/geometry/CTiglPointsToBSplineInterpolation.cpp
cfsengineering/tigl
abfbb57b82dc6beac7cde212a4cd5e0aed866db8
[ "Apache-2.0" ]
620
2015-01-20T08:34:36.000Z
2022-03-30T11:05:33.000Z
src/geometry/CTiglPointsToBSplineInterpolation.cpp
cfsengineering/tigl
abfbb57b82dc6beac7cde212a4cd5e0aed866db8
[ "Apache-2.0" ]
56
2015-02-09T13:33:56.000Z
2022-03-19T04:52:51.000Z
/* * Copyright (C) 2018 German Aerospace Center (DLR/SC) * * Created: 2018-08-06 Martin Siggel <Martin.Siggel@dlr.de> * * 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...
32.166038
117
0.643008
[ "vector" ]
37af62c30422c1c41904676e493a3139cb696758
3,704
cpp
C++
Registry/WorldMapRegistry.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
Registry/WorldMapRegistry.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
Registry/WorldMapRegistry.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////// // WorldMapRegistry.cpp // Implementation of the Class WorldMapRegistry // Created on: 28-mar-2008 10:36:13 // Original author: Lukas Kalinski /////////////////////////////////////////////////////////// #include "WorldMapRegistry.h" #include ...
28.492308
88
0.62527
[ "vector" ]
37b09113bc528fe5cd030700345d81c5e6cb78a7
778
cpp
C++
1-Introduction/1.3-Getting_Started_The_Easy_Problems/3-Medium/EdyJunior/11507.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
1
2017-11-16T10:56:17.000Z
2017-11-16T10:56:17.000Z
1-Introduction/1.3-Getting_Started_The_Easy_Problems/3-Medium/EdyJunior/11507.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
null
null
null
1-Introduction/1.3-Getting_Started_The_Easy_Problems/3-Medium/EdyJunior/11507.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { string str, pos; int l; vector <vector<string>> s; string v[] = { "+x", "-x", "+y", "-y", "+z", "-z" }; s.push_back({ "+y", "-y", "+z", "-z" }); s.push_back({ "-y", "+y", "-z", "+z" }); s.push_back({ "-x", "+x", "+y", "+y" }); s.push_back({ "+x", "-x...
19.45
53
0.38946
[ "vector" ]
37b4a52f0b0c35ed53b9e84be9d458e38cc1c483
8,637
cpp
C++
src/libcore/python/struct.cpp
tizian/layer-laboratory
008cc94b76127e9eb74227fcd3d0145da8ddec30
[ "CNRI-Python" ]
7
2020-07-24T03:19:59.000Z
2022-03-30T10:56:12.000Z
src/libcore/python/struct.cpp
tizian/layer-laboratory
008cc94b76127e9eb74227fcd3d0145da8ddec30
[ "CNRI-Python" ]
1
2021-04-07T22:30:23.000Z
2021-04-08T00:55:36.000Z
src/libcore/python/struct.cpp
tizian/layer-laboratory
008cc94b76127e9eb74227fcd3d0145da8ddec30
[ "CNRI-Python" ]
2
2020-06-08T08:25:09.000Z
2021-04-05T22:13:08.000Z
#include <mitsuba/core/struct.h> #include <mitsuba/core/simd.h> #include <mitsuba/core/logger.h> #include <mitsuba/python/python.h> #include <pybind11/numpy.h> /// Conversion between 'Struct' and NumPy 'dtype' data structures py::dtype dtype_for_struct(const Struct *s) { py::list names, offsets, formats; for ...
52.98773
114
0.572074
[ "object" ]
37b5f3ea891a6b22c173202d8bea29c469838935
6,864
hpp
C++
include/etl/impl/egblas/clip_value.hpp
wichtounet/etl
8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94
[ "MIT" ]
210
2015-02-13T11:40:45.000Z
2022-01-21T21:46:42.000Z
include/etl/impl/egblas/clip_value.hpp
wichtounet/etl
8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94
[ "MIT" ]
5
2017-01-31T18:12:48.000Z
2020-07-16T15:18:00.000Z
include/etl/impl/egblas/clip_value.hpp
wichtounet/etl
8cc5b7eaf56f1d9f9f78d337d64339731ffe2a94
[ "MIT" ]
25
2016-11-26T16:32:56.000Z
2021-07-20T02:08:51.000Z
//======================================================================= // Copyright (c) 2014-2020 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
33.980198
125
0.643794
[ "vector" ]
37b82466cc43d3e94aa1324a3f2a8c52159ee68f
6,074
cpp
C++
t2s/src/SliceExprTree.cpp
vmiheer/t2sp
c9401668f85589e3d7263a4c7e024dca698adb8d
[ "BSD-2-Clause-Patent" ]
24
2021-09-02T22:54:51.000Z
2022-01-27T19:28:04.000Z
t2s/src/SliceExprTree.cpp
vmiheer/t2sp
c9401668f85589e3d7263a4c7e024dca698adb8d
[ "BSD-2-Clause-Patent" ]
5
2021-11-08T20:10:11.000Z
2022-03-08T01:12:57.000Z
t2s/src/SliceExprTree.cpp
vmiheer/t2sp
c9401668f85589e3d7263a4c7e024dca698adb8d
[ "BSD-2-Clause-Patent" ]
8
2021-09-06T21:07:02.000Z
2022-03-10T01:54:48.000Z
/******************************************************************************* * Copyright 2021 Intel Corporation * * Licensed under the BSD-2-Clause Plus Patent License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://opensource...
41.889655
100
0.614257
[ "vector" ]
37c0d13634200b2d16aebc2365f83c27129db93b
15,570
cpp
C++
src/server/services/transfers/ReuseTransfersService.cpp
cern-fts/fts3
cf9eb5c9f52728929965edf58a86381eec0c4e88
[ "Apache-2.0" ]
9
2018-06-27T09:53:51.000Z
2021-01-19T09:54:37.000Z
src/server/services/transfers/ReuseTransfersService.cpp
cern-fts/fts3
cf9eb5c9f52728929965edf58a86381eec0c4e88
[ "Apache-2.0" ]
null
null
null
src/server/services/transfers/ReuseTransfersService.cpp
cern-fts/fts3
cf9eb5c9f52728929965edf58a86381eec0c4e88
[ "Apache-2.0" ]
3
2018-07-13T06:17:44.000Z
2021-07-08T04:57:04.000Z
/* * Copyright (c) CERN 2013-2015 * * Copyright (c) Members of the EMI Collaboration. 2010-2013 * See http://www.eu-emi.eu/partners for details on the copyright * holders. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
35.067568
110
0.624791
[ "vector" ]
37cabec3cb2dbfbe2381c66d15d96e9ff7f63584
536
cpp
C++
0670-Maximum Swap/0670-Maximum Swap.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0601-0700/0670-Maximum Swap/0670-Maximum Swap.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0601-0700/0670-Maximum Swap/0670-Maximum Swap.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: int maximumSwap(int num) { string str = to_string(num); int n = str.size(); vector<int> last(10); for (int i = 0; i < n; ++i) { last[str[i] - '0'] = i; } for (int i = 0; i < n; ++i) { for (int d = 9; d > str[i]...
23.304348
52
0.333955
[ "vector" ]
56cd3cfeab02b2030e01b9f57b5b1fe9d163abe4
2,107
hpp
C++
AoC_2017/day13.hpp
c-goldschmidt/AoC_2017
6455b14bca9dc67ec6ceaf1f3c16ddb4c0b599e0
[ "CC0-1.0" ]
null
null
null
AoC_2017/day13.hpp
c-goldschmidt/AoC_2017
6455b14bca9dc67ec6ceaf1f3c16ddb4c0b599e0
[ "CC0-1.0" ]
null
null
null
AoC_2017/day13.hpp
c-goldschmidt/AoC_2017
6455b14bca9dc67ec6ceaf1f3c16ddb4c0b599e0
[ "CC0-1.0" ]
null
null
null
#pragma once #include "day_factory.hpp" DAY(Day13) class Scanner { public: Scanner(int range = 0); ~Scanner() = default; int range; int position; void tick(); void reset(); private: int direction; }; Scanner::Scanner(int range) { this->range = range; position = 0; direction = 1; } void Scanner::tick() {...
16.590551
66
0.642145
[ "vector" ]
56d0a3b260e0188a6ff9d95aa53b5147fa17e5a0
394
cpp
C++
CountDownMarquee/TextMaker.cpp
FelixHauser/CountDownMarquee
ef38b1655268695dbf5d4b3e5fb0c216722d1a39
[ "MIT" ]
null
null
null
CountDownMarquee/TextMaker.cpp
FelixHauser/CountDownMarquee
ef38b1655268695dbf5d4b3e5fb0c216722d1a39
[ "MIT" ]
null
null
null
CountDownMarquee/TextMaker.cpp
FelixHauser/CountDownMarquee
ef38b1655268695dbf5d4b3e5fb0c216722d1a39
[ "MIT" ]
null
null
null
#include "TextMaker.h" RtcSetup rtC; //init Real Time Clock Object TextMaker::TextMakerSetup (){ } String TextMaker::composedString(){ String preString=FIRST_TEXT_TO_SCROLL; if (COUNTDOWN==true){ preString=preString+rtC.timeString()+LAST_TEXT_TO_SCROLL; }else{ preString=preS...
12.709677
61
0.65736
[ "object" ]
56d0cba1cca2af1886b9afe3ced3ac0c849f822a
401
cpp
C++
Dataset/Leetcode/train/94/421.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/94/421.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/94/421.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: void find(vector<int> & res, TreeNode* root) { if(root) { find(res, root->left); res.push_back(root->val); find(res, root->right); } else return; } vector<int> XXX(TreeNode* root) {...
16.708333
48
0.431421
[ "vector" ]
56d6c356e4f559cdcd010940aeca63a20a1f6039
3,354
cpp
C++
06_future/src/main.cpp
rafaelschreiber/nvs_5_jg
f0f63e7bf6ddb2e1ba51d981a56fbfcf5d0ad506
[ "BSD-3-Clause" ]
null
null
null
06_future/src/main.cpp
rafaelschreiber/nvs_5_jg
f0f63e7bf6ddb2e1ba51d981a56fbfcf5d0ad506
[ "BSD-3-Clause" ]
null
null
null
06_future/src/main.cpp
rafaelschreiber/nvs_5_jg
f0f63e7bf6ddb2e1ba51d981a56fbfcf5d0ad506
[ "BSD-3-Clause" ]
null
null
null
/* * Author: Rafael Schreiber (i16066) * Project: 06_future * File: main.cpp * Date: 07-12-2020 */ #include <iostream> #include <vector> #include <thread> #include <future> #include <chrono> #include "CLI11.hpp" #include "InfInt.h" #include "calc_factors.h" using namespace std; void check_result(vector<InfInt> ...
31.055556
117
0.626714
[ "vector" ]
56dba89531868cab287bb4171087f84ee8d99855
2,485
cpp
C++
application.cpp
salaadas/teenie
f4976bf65cc9c68d23a57db754a79c9e45990cb9
[ "MIT" ]
null
null
null
application.cpp
salaadas/teenie
f4976bf65cc9c68d23a57db754a79c9e45990cb9
[ "MIT" ]
null
null
null
application.cpp
salaadas/teenie
f4976bf65cc9c68d23a57db754a79c9e45990cb9
[ "MIT" ]
null
null
null
#include "./application.h" #include "SDL.h" #include "./graphics.h" #include "./globals.h" #include "./input.h" #include "./texture.h" #include "./math/linalg.h" #include "./tiles/tilegrid.h" namespace { const int FPS = 60; const uint32_t MAX_FRAME_TIME = 1000 / FPS; } Application::Application() { SDL_Ini...
26.72043
84
0.561368
[ "render" ]
56df036d16c9f27b98f89b755cfb25834b504b6a
813
cpp
C++
usaco/1.1 ride.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
6
2018-10-15T18:45:05.000Z
2022-03-29T04:30:10.000Z
usaco/1.1 ride.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
null
null
null
usaco/1.1 ride.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
4
2018-01-07T06:20:07.000Z
2019-08-21T15:45:59.000Z
/* ID: iamdipt1 PROG: ride LANG: C++ */ #include<cstdio> #include<sstream> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> #include<set> #include<queue> #include<stack> #include<list> #include<iostream> #include<fstream> #include<numeric> #include<string> #include<vector> #include<cstring> #inclu...
14.781818
31
0.560886
[ "vector" ]
56e334703b236462929ca686378091237d24fe09
5,452
cpp
C++
modules/cuda_plugin/tests/functional/shared_tests_instances/single_layer_tests/tensor_iterator.cpp
YUNEEC/openvino_contrib
6a79637583fadd22e01d31b912d94d7a27cc78ba
[ "Apache-2.0" ]
null
null
null
modules/cuda_plugin/tests/functional/shared_tests_instances/single_layer_tests/tensor_iterator.cpp
YUNEEC/openvino_contrib
6a79637583fadd22e01d31b912d94d7a27cc78ba
[ "Apache-2.0" ]
null
null
null
modules/cuda_plugin/tests/functional/shared_tests_instances/single_layer_tests/tensor_iterator.cpp
YUNEEC/openvino_contrib
6a79637583fadd22e01d31b912d94d7a27cc78ba
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "single_layer_tests/tensor_iterator.hpp" #include <cuda/runtime.hpp> #include <cuda_operation_base.hpp> #include <cuda_operation_registry.hpp> #include <cuda_test_constants.hpp> #include <ngraph/op/util/attr_types.hpp> #in...
41.30303
114
0.659024
[ "vector" ]
56e3ee274ce89f3bdcb7964054f153ae90b65a67
4,875
cpp
C++
Tests/InterprocessEngineTest/main.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
232
2016-08-29T00:33:32.000Z
2022-03-29T22:39:51.000Z
Tests/InterprocessEngineTest/main.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
10
2021-01-02T12:40:49.000Z
2021-08-31T06:31:04.000Z
Tests/InterprocessEngineTest/main.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
40
2017-12-18T06:14:39.000Z
2022-01-29T16:35:23.000Z
#include <TestUtils/WindowsSampleWrapper.h> #include <Windows.h> #include <stdio.h> #include <conio.h> #include <tchar.h> #include <cassert> #include <sstream> #pragma comment( lib, "dxguid.lib" ) #pragma comment( lib, "dinput8.lib" ) TCHAR szName[] = TEXT( "Local\\RenderHookSharedMemory" ); TCHAR event_name[] ...
33.62069
150
0.610051
[ "object" ]
56ead0597fe5afcd9313c2170afc2a96dac8d4a8
2,265
cpp
C++
main.cpp
rufus-stone/mobius
752d0c8ea09bd0c80e7e467c9d2784e4c94495fd
[ "MIT" ]
1
2020-04-20T17:15:58.000Z
2020-04-20T17:15:58.000Z
main.cpp
rufus-stone/mobius
752d0c8ea09bd0c80e7e467c9d2784e4c94495fd
[ "MIT" ]
null
null
null
main.cpp
rufus-stone/mobius
752d0c8ea09bd0c80e7e467c9d2784e4c94495fd
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <string> #include <vector> #include "mobius.hpp" #include "examples/demo.hpp" int main() { std::cout << "-----------------------------------------------\n"; std::cout << "Demonstrating vanilla state engine operation...\n\n"; // Create a new vanilla state engine ...
41.181818
190
0.66755
[ "object", "vector" ]
56f93b4a189766d7ebf2b23141f80bc90ba72103
1,837
cpp
C++
main.cpp
the-real-atomic/classes
0190cd012e8fd4de21291e75c2cf8c1dd9db7756
[ "Unlicense" ]
null
null
null
main.cpp
the-real-atomic/classes
0190cd012e8fd4de21291e75c2cf8c1dd9db7756
[ "Unlicense" ]
null
null
null
main.cpp
the-real-atomic/classes
0190cd012e8fd4de21291e75c2cf8c1dd9db7756
[ "Unlicense" ]
null
null
null
#include <string> #include <vector> // TODO: Move this code somewhere else... class PlayerSave { public: std::string NName; //Is the name the player wants to enter in for the new game save. std::string setName(std::string NName, std::string PS); //Will get the private string that's the name of the ...
32.22807
155
0.672292
[ "vector" ]
56fa6401097980e687c90db748c024b0cbee2d41
558
hpp
C++
src/Avokii/Graphics/FrameBuffer.hpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
1
2021-06-28T11:24:42.000Z
2021-06-28T11:24:42.000Z
src/Avokii/Graphics/FrameBuffer.hpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
null
null
null
src/Avokii/Graphics/FrameBuffer.hpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
null
null
null
#pragma once #include <cinttypes> #include "Avokii/Geometry/Size.hpp" namespace Avokii::Graphics { struct FrameBufferSpecification { Size<uint32_t> size{ 0, 0 }; uint32_t samples{ 1 }; bool swap_chain_target{ false }; }; class FrameBuffer { public: virtual ~FrameBuffer() = default; virtual void Bind...
18.6
71
0.71147
[ "geometry" ]
7117be1625d36c3801cb7894a2ab06d9a83a0702
5,063
cpp
C++
src/QtAIV/AIV/nHeaderViewConnector.cpp
Vladimir-Lin/QtAIV
a96b52a1df9c85dbadfc1dfcfc38d60948462c89
[ "MIT" ]
null
null
null
src/QtAIV/AIV/nHeaderViewConnector.cpp
Vladimir-Lin/QtAIV
a96b52a1df9c85dbadfc1dfcfc38d60948462c89
[ "MIT" ]
null
null
null
src/QtAIV/AIV/nHeaderViewConnector.cpp
Vladimir-Lin/QtAIV
a96b52a1df9c85dbadfc1dfcfc38d60948462c89
[ "MIT" ]
null
null
null
#include <qtaiv.h> N::HeaderViewConnector:: HeaderViewConnector (Qt::Orientation orientation,QObject * parent) : QObject ( parent) { cAdjustSectionSizePending = true; cOrientation = orientation; } N::HeaderViewConnector::~HeaderViewConnector(...
35.65493
125
0.629271
[ "object" ]
711c260b7be1a1563c5223e5414546f7e96c8184
9,463
cpp
C++
src/AsmvarBaseStat/StatsMain.cpp
bioinformatics-centre/AsmVar
5abd91a47feedfbd39b89ec3e2d6d20c02fe5a5e
[ "MIT" ]
17
2015-12-25T10:58:03.000Z
2021-05-06T01:56:40.000Z
src/AsmvarBaseStat/StatsMain.cpp
bioinformatics-centre/AsmVar
5abd91a47feedfbd39b89ec3e2d6d20c02fe5a5e
[ "MIT" ]
3
2017-07-20T22:12:16.000Z
2021-04-19T14:37:14.000Z
src/AsmvarBaseStat/StatsMain.cpp
bioinformatics-centre/AsmVar
5abd91a47feedfbd39b89ec3e2d6d20c02fe5a5e
[ "MIT" ]
3
2018-01-26T02:03:04.000Z
2020-08-07T08:01:20.000Z
/* * Author : Shujia Huang & Siyang Liu * Date : 2013-11-22 14:37:13 * * Modfiy from '~/Bin/software_pip/Reapr/Reapr_1.0.16/src/task_stats.cpp' wrote by Matin Hunt * 2013-11-26 23:02:07 I shift to calculate the read coverage instead of fragment coverage!! * */ #include <iostream> #include <fstream> #include <...
43.408257
151
0.611434
[ "vector" ]
711cd5cbf8ba30ae6bdf4fbd094f654caded9f15
8,269
cpp
C++
ros_ign_bridge/src/factories/geometry_msgs.cpp
gezp/ros_ign
bfacf1a378f19f69e711f651a0d589fdb5e9b1f4
[ "Apache-2.0" ]
null
null
null
ros_ign_bridge/src/factories/geometry_msgs.cpp
gezp/ros_ign
bfacf1a378f19f69e711f651a0d589fdb5e9b1f4
[ "Apache-2.0" ]
null
null
null
ros_ign_bridge/src/factories/geometry_msgs.cpp
gezp/ros_ign
bfacf1a378f19f69e711f651a0d589fdb5e9b1f4
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Open Source Robotics Foundation, 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 appli...
24.107872
89
0.706494
[ "transform" ]
7132107230c34ca7b94245468c9740058f8005a6
816
cpp
C++
sliding window/239 Sliding Window Maximum.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
sliding window/239 Sliding Window Maximum.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
sliding window/239 Sliding Window Maximum.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
// // 239 Sliding Window Maximum.cpp // Leetcode // // Created by Quinn on 2021/1/2. // Copyright © 2021 Quinn. All rights reserved. // #include <stdio.h> #include <vector> #include <queue> using namespace std; class Solution { public: vector<int> maxSlidingWindow(vector<int> &nums, int k) { deque...
18.133333
59
0.433824
[ "vector" ]
71428396f6f4b6a21b3e3811160e730867915fbb
7,118
cpp
C++
tests/e2e/extended_exchange_messages_test.cpp
pblxptr/icon
4426632bcc72f4f9fabfa5e23bf8b3d170632435
[ "MIT" ]
null
null
null
tests/e2e/extended_exchange_messages_test.cpp
pblxptr/icon
4426632bcc72f4f9fabfa5e23bf8b3d170632435
[ "MIT" ]
null
null
null
tests/e2e/extended_exchange_messages_test.cpp
pblxptr/icon
4426632bcc72f4f9fabfa5e23bf8b3d170632435
[ "MIT" ]
null
null
null
#include <catch2/catch_test_macros.hpp> #include <zmq_addon.hpp> #include <boost/asio.hpp> #include <boost/asio/awaitable.hpp> #include <boost/asio/co_spawn.hpp> #include <cassert> #include <icon/endpoint/endpoint_config.hpp> #include <icon/client/basic_client.hpp> #include <fmt/format.h> #include <iostream> #include...
24.629758
115
0.658191
[ "vector" ]
7144f1fda4bb046d2c935a8b15fea91cbcef30fa
7,446
cpp
C++
src/hasher.cpp
snaury/hasher
23825e7208dffee6578f25e294497a8afbe266e1
[ "MIT" ]
null
null
null
src/hasher.cpp
snaury/hasher
23825e7208dffee6578f25e294497a8afbe266e1
[ "MIT" ]
null
null
null
src/hasher.cpp
snaury/hasher
23825e7208dffee6578f25e294497a8afbe266e1
[ "MIT" ]
null
null
null
#include <system_error> #include <iostream> #include <memory> #include <list> #include <boost/format.hpp> #include <boost/utility.hpp> #include <boost/atomic.hpp> #include <boost/thread.hpp> #include <boost/smart_ptr.hpp> #include <boost/timer/timer.hpp> #include <cryptopp/md5.h> #include <cryptopp/sha.h> #include <std...
22.226866
142
0.624631
[ "vector" ]
71480a225ffaa6789a5c689edc4b1b05adadad08
149
cpp
C++
src/c++/node_xz.cpp
robey/node-xz
63ff8818be86ce6663d8e853116cfbcb7906545a
[ "Apache-2.0" ]
19
2015-03-12T06:21:48.000Z
2022-03-26T08:31:18.000Z
deps/xz/src/c++/node_xz.cpp
nullxx/clusperri-installer
1112b5c65f930c47fcb841fb07e5dac32d041597
[ "MIT" ]
12
2015-08-21T02:45:22.000Z
2021-08-31T22:49:28.000Z
src/c++/node_xz.cpp
robey/node-xz
63ff8818be86ce6663d8e853116cfbcb7906545a
[ "Apache-2.0" ]
5
2015-08-05T10:50:44.000Z
2021-06-21T16:54:30.000Z
#include "engine.h" Napi::Object init(Napi::Env env, Napi::Object exports) { return Engine::Init(env, exports); } NODE_API_MODULE(node_xz, init)
18.625
56
0.718121
[ "object" ]
714f75102e8b70b8cfa74a3d2654de8ee5daf765
70,032
cpp
C++
extern/TGUI-0.7.8/src/TGUI/Widgets/EditBox.cpp
towzeur/PLT_2021
c2598b387929f76ec8766e4e4741efc1a0c0379d
[ "MIT" ]
4
2020-10-06T12:48:22.000Z
2020-12-09T16:08:47.000Z
extern/TGUI-0.7.8/src/TGUI/Widgets/EditBox.cpp
towzeur/PLT_2021
c2598b387929f76ec8766e4e4741efc1a0c0379d
[ "MIT" ]
1
2020-11-24T15:41:11.000Z
2020-11-24T15:41:11.000Z
extern/TGUI-0.7.8/src/TGUI/Widgets/EditBox.cpp
towzeur/PLT_2021
c2598b387929f76ec8766e4e4741efc1a0c0379d
[ "MIT" ]
2
2020-11-19T20:29:14.000Z
2020-12-02T12:55:58.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // 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. ...
41.341204
294
0.515878
[ "object" ]
715270e752f5ab625816ed76329737978b9da889
1,101
cpp
C++
02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/10_Judge_Assignment_1_(26_May_2018)/02_mod_sum.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/10_Judge_Assignment_1_(26_May_2018)/02_mod_sum.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/10_Judge_Assignment_1_(26_May_2018)/02_mod_sum.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using std::cin; using std::cout; using std::endl; using std::stoi; using std::string; using std::vector; vector<int> splitStringToIntVector(string inputString, char delimiter); int main() { int n = 0; cin >> n; int m = 0; cin >> m; cin.ignore(); // LOGIC ...
18.982759
72
0.62852
[ "vector" ]
715b3a6ce1edf7b8e42ed2c295cf4df5f8406cf4
1,229
cpp
C++
CLRS/DynamicProgramming/ProductofArrayExceptSelf.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
CLRS/DynamicProgramming/ProductofArrayExceptSelf.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
CLRS/DynamicProgramming/ProductofArrayExceptSelf.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
/* Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except nums[i]. Example: Input: [1,2,3,4] Output: [24,12,8,6] Constraint: It's guaranteed that the product of the elements of any prefix or suffix of the array (including ...
26.717391
158
0.600488
[ "vector" ]
7164d571791e2fda8bca6ad8333518b43c4805d9
29,978
cpp
C++
hphp/runtime/base/multi-val.cpp
OrochiProject/hhvm-verifier
4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/base/multi-val.cpp
OrochiProject/hhvm-verifier
4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/base/multi-val.cpp
OrochiProject/hhvm-verifier
4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
#include "hphp/runtime/base/multi-val.h" #include "hphp/runtime/vm/native.h" #include "hphp/runtime/ext/std/ext_std_variable.h" #include "hphp/runtime/base/array-iterator.h" #include "hphp/runtime/vm/member-operations.h" #include "hphp/runtime/base/tv-helpers.h" #include "fstream" #include "set" namespace HPHP { //#...
28.334594
125
0.615518
[ "object" ]
716c19518573a01bbef6d15d0e87af23f5343483
1,648
cpp
C++
src/tiled/GLTmxRenderer.cpp
SgtCoDFish/APG
23c45601e1c96ab8d1192f4d1095e2c481999780
[ "libtiff", "Apache-2.0", "MIT", "ECL-2.0", "Libpng", "BSD-3-Clause" ]
1
2015-01-05T16:57:56.000Z
2015-01-05T16:57:56.000Z
src/tiled/GLTmxRenderer.cpp
SgtCoDFish/APG
23c45601e1c96ab8d1192f4d1095e2c481999780
[ "libtiff", "Apache-2.0", "MIT", "ECL-2.0", "Libpng", "BSD-3-Clause" ]
18
2015-07-04T21:49:23.000Z
2018-07-30T09:19:32.000Z
src/tiled/GLTmxRenderer.cpp
SgtCoDFish/APG
23c45601e1c96ab8d1192f4d1095e2c481999780
[ "libtiff", "Apache-2.0", "MIT", "ECL-2.0", "Libpng", "BSD-3-Clause" ]
null
null
null
#ifndef APG_NO_SDL #ifndef APG_NO_GL #include <glm/vec2.hpp> #include "Tmx.h" #include "APG/graphics/Sprite.hpp" #include "APG/tiled/GLTmxRenderer.hpp" #include "APG/internal/Assert.hpp" namespace APG { std::unordered_map<std::string, std::shared_ptr<Tileset>> GLTmxRenderer::tmxTilesets; GLTmxRenderer::GLTmxRende...
22.575342
89
0.701456
[ "vector" ]
71721a73e95b3bf3af386ea02fcf1f8cb4e7ebfb
13,803
cpp
C++
tftp_client.cpp
dembanakh/ServerClientTFTP
fdaf325b1ba929e56bf448b4b88dbef8662886d1
[ "MIT" ]
null
null
null
tftp_client.cpp
dembanakh/ServerClientTFTP
fdaf325b1ba929e56bf448b4b88dbef8662886d1
[ "MIT" ]
null
null
null
tftp_client.cpp
dembanakh/ServerClientTFTP
fdaf325b1ba929e56bf448b4b88dbef8662886d1
[ "MIT" ]
null
null
null
// vim:ts=4:sts=4:sw=4:expandtab #include <fcntl.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/un.h> #include <unistd.h> #include <netinet/in.h> #include <arpa/inet.h> #include <chrono> #include <cmath> #include <cstring> #include <iostream> #include <fstream> #include <string> #include <vector> #inc...
26.544231
105
0.594726
[ "vector" ]
71799b890e79e3bc8133b799c69159b38be710cb
1,186
cpp
C++
p190e/reverse_bits.cpp
l33tdaima/l33tdaima
0a7a9573dc6b79e22dcb54357493ebaaf5e0aa90
[ "MIT" ]
1
2020-02-20T12:04:46.000Z
2020-02-20T12:04:46.000Z
p190e/reverse_bits.cpp
l33tdaima/l33tdaima
0a7a9573dc6b79e22dcb54357493ebaaf5e0aa90
[ "MIT" ]
null
null
null
p190e/reverse_bits.cpp
l33tdaima/l33tdaima
0a7a9573dc6b79e22dcb54357493ebaaf5e0aa90
[ "MIT" ]
null
null
null
// g++ -std=c++11 *.cpp -o test && ./test && rm -f test #include <bitset> #include <vector> #include <iostream> using namespace std; class Solution { public: uint32_t reverseBits(uint32_t n) { int rev = 0; for (int i = 0; i < 32; ++i) { rev = (rev << 1) | (n & 1); n >>= 1; ...
22.377358
59
0.473862
[ "vector" ]
7179b925a3b22c3d353231a9a3bab36589c364a9
10,388
cpp
C++
tests/push_tests.cpp
diakovliev/pie
eb957a5e44496ba802d8b4fcace64ad48be16871
[ "BSD-3-Clause" ]
null
null
null
tests/push_tests.cpp
diakovliev/pie
eb957a5e44496ba802d8b4fcace64ad48be16871
[ "BSD-3-Clause" ]
null
null
null
tests/push_tests.cpp
diakovliev/pie
eb957a5e44496ba802d8b4fcace64ad48be16871
[ "BSD-3-Clause" ]
1
2017-12-28T11:37:42.000Z
2017-12-28T11:37:42.000Z
#define BOOST_TEST_MODULE PushTests #include <boost/test/unit_test.hpp> #include <zip.h> #include <map> #include <vector> #include <zipfile.h> #include "fstream" #include "logging.h" #include <boost/format.hpp> #include <boost/optional.hpp> #include "test_utils.hpp" #include <workingcopy.h> #include <assetsextracto...
36.967972
130
0.661533
[ "vector" ]
718345a5e18268d4957f66b65fd648fdbe1d56a1
64,020
cpp
C++
ChessBattle.cpp
elsewhat/gtav-mod-battlechess
76c5fef1337e45dc13b6447354ffe96a1099b22b
[ "Apache-2.0" ]
null
null
null
ChessBattle.cpp
elsewhat/gtav-mod-battlechess
76c5fef1337e45dc13b6447354ffe96a1099b22b
[ "Apache-2.0" ]
1
2020-09-01T17:48:04.000Z
2020-09-01T18:28:22.000Z
ChessBattle.cpp
elsewhat/gtav-mod-battlechess
76c5fef1337e45dc13b6447354ffe96a1099b22b
[ "Apache-2.0" ]
null
null
null
#include "ChessBattle.h" #include "inc\natives.h" #include "Utils.h" #include "GTAUtils.h" ChessBattle::ChessBattle(ChessMove chessMove, ChessBoard* chessBoard) { ChessBoardSquare* squareTo = chessMove.getSquareTo(); mActionGoToEndSquare = std::make_shared<ActionGoToSquare>(ActionGoToSquare(squareTo, squareTo->getH...
39.71464
522
0.772274
[ "vector" ]
718807940335fd50274c6b09c07affc27909398b
2,253
cpp
C++
RectObject.cpp
Excelsus4/Eat-emAll
5f701e764e9d7a27542ae9c88b20f26497090232
[ "MIT" ]
null
null
null
RectObject.cpp
Excelsus4/Eat-emAll
5f701e764e9d7a27542ae9c88b20f26497090232
[ "MIT" ]
null
null
null
RectObject.cpp
Excelsus4/Eat-emAll
5f701e764e9d7a27542ae9c88b20f26497090232
[ "MIT" ]
null
null
null
#pragma once #include "stdafx.h" #include "RectObject.h" #include "Random.h" RectObject::RectObject(D3DXVECTOR3 p, float s, D3DXVECTOR3 c, Vertex* v) : pos(p), size(s), color(c), vertices(v), alive(true) { } RectObject::RectObject(Vertex* v): vertices(v), alive(false){ } RectObject::~RectObject() { } bool RectObj...
24.758242
96
0.689303
[ "vector" ]
718fc81baae382e1f112fa1e32364dda21c9b3dc
3,651
cpp
C++
cradle/src/alia/layout/system.cpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
null
null
null
cradle/src/alia/layout/system.cpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
null
null
null
cradle/src/alia/layout/system.cpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
4
2018-09-28T17:12:54.000Z
2022-03-20T14:22:29.000Z
#include <alia/layout/system.hpp> #include <alia/layout/utilities.hpp> namespace alia { static void initialize_traversal( layout_system& system, layout_traversal& traversal, bool is_refresh, geometry_context* geometry, layout_style_info* style, vector<2,float> const& ppi) { traversal.system = &system;...
30.425
78
0.723637
[ "geometry", "vector" ]
7191d43025b934175e5b3b3e96ff736351f86962
10,711
cpp
C++
src/fft_enhance.cpp
wuyongchn/FingerprintLivenessDetection
06860deef9d0259c2feed2d84100c67b425a36ba
[ "MIT" ]
1
2019-02-13T13:34:32.000Z
2019-02-13T13:34:32.000Z
src/fft_enhance.cpp
wuyongchn/FingerprintLivenessDetection
06860deef9d0259c2feed2d84100c67b425a36ba
[ "MIT" ]
null
null
null
src/fft_enhance.cpp
wuyongchn/FingerprintLivenessDetection
06860deef9d0259c2feed2d84100c67b425a36ba
[ "MIT" ]
1
2021-06-01T05:37:08.000Z
2021-06-01T05:37:08.000Z
// // Created by wuyong on 19-1-24. // #include "fft_enhance.hpp" FFTEnhancer::FFTEnhancer(const std::string& pi_2_yml, const std::string& pi_4_yml) { cv::FileStorage angf(pi_2_yml, cv::FileStorage::READ); if (!angf.isOpened()) { std::cout << "can not read" << pi_2_yml << std::endl; } angf["angf"] >> angf_...
36.681507
107
0.592008
[ "vector" ]
7196216b34143b7e4b2cc8d93d9da87148f8be09
3,469
cc
C++
python/embed/main1.cc
guoxiaoyong/simple-useful
63f483250cc5e96ef112aac7499ab9e3a35572a8
[ "CC0-1.0" ]
null
null
null
python/embed/main1.cc
guoxiaoyong/simple-useful
63f483250cc5e96ef112aac7499ab9e3a35572a8
[ "CC0-1.0" ]
null
null
null
python/embed/main1.cc
guoxiaoyong/simple-useful
63f483250cc5e96ef112aac7499ab9e3a35572a8
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <boost/python.hpp> enum Side { BUY, SELL, }; struct Order { std::string symbol; Side side; int size; double price; int order_id; }; // forward declaration class StrategyInstance; class StrategyServer { public: void sendOrder( StrategyInstance&, const std::st...
24.956835
103
0.629865
[ "object" ]
71b34feae745f19ada41e31864cf4a2ada8ae4a0
914
cpp
C++
list/appl_node_iterator.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
list/appl_node_iterator.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
list/appl_node_iterator.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
/* See LICENSE for license details */ /* */ #include <appl_status.h> #include <appl_types.h> #include <object/appl_object.h> #include <list/appl_node.h> #include <list/appl_node_iterator.h> /* Assert compiler */ #include <misc/appl_assert_cplusplus.h> // // // appl_node_iterator::appl_node_iterator( class ...
11.283951
41
0.573304
[ "object" ]
71baa838f6de1117f00bae8816664dc292a1525e
1,738
cpp
C++
XJ Contests/2020/10.5/koizumi/test.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
XJ Contests/2020/10.5/koizumi/test.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
XJ Contests/2020/10.5/koizumi/test.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int N=82; int n,a[5]; namespace solver1{ void main(){ if(a[2]==0&&n==2) n--; if(n==1){ if(a[1]==1) puts("Lose"); else printf("1\n"); } else{ if(a[2]==a[1]-1) puts("Lose"); else{ ...
23.808219
86
0.415995
[ "vector" ]
71bdc76c40ff20c95c3bc609aaf509f540568259
1,523
cc
C++
m68000/main.cc
galibert/retrofpga
2a0c36bedc7284870b013a8680f1c7100b32c205
[ "BSD-2-Clause" ]
9
2020-04-10T14:10:46.000Z
2021-02-24T06:39:55.000Z
m68000/main.cc
galibert/retrofpga
2a0c36bedc7284870b013a8680f1c7100b32c205
[ "BSD-2-Clause" ]
null
null
null
m68000/main.cc
galibert/retrofpga
2a0c36bedc7284870b013a8680f1c7100b32c205
[ "BSD-2-Clause" ]
1
2022-01-04T18:10:13.000Z
2022-01-04T18:10:13.000Z
#define CXXRTL_INCLUDE_VCD_CAPI_IMPL #include "m68000.cc" using namespace cxxrtl; cxxrtl_design::p_m68000 m68000; debug_items ditems; const debug_item *clk, *pclk, *nclk; const debug_item *o_e; void stepp() { pclk->next[0] = 1; clk->next[0] = 0; m68000.step(); clk->next[0] = 1; m68000.step(); pclk->nex...
18.573171
130
0.564675
[ "3d" ]
71c079359dfff436c5c54378f3ed583ea7f9865e
3,768
cpp
C++
src/core/search/AutoSuggestion.cpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
3
2020-05-10T16:52:35.000Z
2021-03-12T08:06:06.000Z
src/core/search/AutoSuggestion.cpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
null
null
null
src/core/search/AutoSuggestion.cpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
null
null
null
#include "AutoSuggestion.h" #include "utility/Exception.h" namespace Skilo { namespace Search{ AutoSuggestor::AutoSuggestor(const size_t suggestion_num,const size_t min_gram,const size_t max_gram,const size_t max_query_len): _suggestion_num(suggestion_num),_max_query_len(max_query_len),_min_gram(min_gram),_max_gr...
31.932203
129
0.586253
[ "vector" ]
71c2f9e1c5a5ac3816770de51ae1891c55a1e667
24,372
cpp
C++
tests/index/index_test.cpp
saurabhkadekodi/peloton-p3
e0d84cdf59c0724850ad2d6b187fdb2ef1730369
[ "Apache-2.0" ]
1
2021-02-28T19:37:04.000Z
2021-02-28T19:37:04.000Z
tests/index/index_test.cpp
saurabhkadekodi/peloton-p3
e0d84cdf59c0724850ad2d6b187fdb2ef1730369
[ "Apache-2.0" ]
57
2016-03-19T22:27:55.000Z
2017-07-08T00:41:51.000Z
tests/index/index_test.cpp
saurabhkadekodi/peloton-p3
e0d84cdf59c0724850ad2d6b187fdb2ef1730369
[ "Apache-2.0" ]
4
2016-07-17T20:44:56.000Z
2018-06-27T01:01:36.000Z
//===----------------------------------------------------------------------===// // // Peloton // // index_test.cpp // // Identification: tests/index/index_test.cpp // // Copyright (c) 2015-16, CMU Database Group // //===----------------------------------------------------------------------===//...
37.611111
80
0.688905
[ "vector" ]
71cf0b06f0388fc4aafb50968cf6849533410793
9,363
hpp
C++
3rdparty/GPSTk/core/lib/GNSSCore/GCATTropModel.hpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/GPSTk/core/lib/GNSSCore/GCATTropModel.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/GPSTk/core/lib/GNSSCore/GCATTropModel.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
//============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation; ei...
37.906883
79
0.59105
[ "model" ]
71d33a00d60b12959b008fd1e8b6b08c0313d1ec
20,049
cpp
C++
reformat/HiRes.cpp
Toysoft/ciderpress
640959dad551ba75a48bd3c49629579730ead351
[ "BSD-3-Clause" ]
84
2015-01-01T00:27:18.000Z
2022-03-28T22:55:56.000Z
reformat/HiRes.cpp
Toysoft/ciderpress
640959dad551ba75a48bd3c49629579730ead351
[ "BSD-3-Clause" ]
49
2015-01-11T19:58:57.000Z
2022-01-08T00:27:12.000Z
reformat/HiRes.cpp
Toysoft/ciderpress
640959dad551ba75a48bd3c49629579730ead351
[ "BSD-3-Clause" ]
19
2015-06-06T15:23:18.000Z
2022-01-12T23:26:43.000Z
/* * CiderPress * Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved. * See the file LICENSE for distribution terms. */ /* * Reformat hi-res graphics into a bitmap. */ #include "StdAfx.h" #include "HiRes.h" /* * Hi-Res image format: * * <16-bit load address> [DOS 3.3 only] * <16-bi...
36.189531
83
0.518779
[ "solid" ]
71da9512b6b445292363e26b96200a0c80a1047d
334
cpp
C++
781.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
781.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
781.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
class Solution { public: int numRabbits(vector<int>& answers) { unordered_map<int,int> count; for(int i = 0; i < answers.size(); i++) count[answers[i]]++; int ans = 0; for(auto e:count){ ans += (e.second + e.first) / (e.first + 1) * (e.first + 1); } return...
27.833333
72
0.494012
[ "vector" ]
71e117d8c9b9fe2df726d3149886a4929afd3589
5,002
cpp
C++
released_plugins/v3d_plugins/sync_swc_terafly/sync_swc_terafly_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
released_plugins/v3d_plugins/sync_swc_terafly/sync_swc_terafly_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
released_plugins/v3d_plugins/sync_swc_terafly/sync_swc_terafly_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/* sync_swc_terafly_plugin.cpp * This is a test plugin, you can use it as a demo. * 2017-8-29 : by Zhi Zhou */ #include "v3d_message.h" #include <vector> #include "sync_swc_terafly_plugin.h" using namespace std; Q_EXPORT_PLUGIN2(sync_swc_terafly, sync_swc_terafly); static lookPanel *panel = 0; QStringList sync...
28.747126
165
0.647141
[ "vector", "3d" ]
71e5aee1b15d1e3c100df77c2c33fda33b4bde14
2,541
cxx
C++
src/sdp_solve/SDP_Solver/run/compute_bilinear_pairings/compute_A_X_inv.cxx
ChrisPattison/sdpb
4668f72c935e7feba705dd8247d9aacb23185f1c
[ "MIT" ]
45
2015-02-10T15:45:22.000Z
2022-02-24T07:45:01.000Z
src/sdp_solve/SDP_Solver/run/compute_bilinear_pairings/compute_A_X_inv.cxx
ChrisPattison/sdpb
4668f72c935e7feba705dd8247d9aacb23185f1c
[ "MIT" ]
58
2015-02-27T10:03:18.000Z
2021-08-10T04:21:42.000Z
src/sdp_solve/SDP_Solver/run/compute_bilinear_pairings/compute_A_X_inv.cxx
ChrisPattison/sdpb
4668f72c935e7feba705dd8247d9aacb23185f1c
[ "MIT" ]
38
2015-02-10T11:11:27.000Z
2022-02-11T20:59:42.000Z
#include "../../../Block_Diagonal_Matrix.hxx" #include "../../../Block_Info.hxx" // A_X_inv = bilinear_base^T X^{-1} bilinear_base for each block void compute_A_X_inv( const Block_Info &block_info, const Block_Diagonal_Matrix &X_cholesky, const std::vector<El::DistMatrix<El::BigFloat>> &bases_blocks, std::array...
43.067797
81
0.627312
[ "vector" ]
71e929d4f3044ae6be59ebf4a2a0c487ac74b47b
4,898
cc
C++
tests/test.cc
CS126SP20/final-project-lpan8
850c5e983d719b0d58c740c8c25a29a46e597da2
[ "MIT" ]
1
2020-08-26T03:16:56.000Z
2020-08-26T03:16:56.000Z
tests/test.cc
CS126SP20/final-project-lpan8
850c5e983d719b0d58c740c8c25a29a46e597da2
[ "MIT" ]
null
null
null
tests/test.cc
CS126SP20/final-project-lpan8
850c5e983d719b0d58c740c8c25a29a46e597da2
[ "MIT" ]
1
2020-05-06T17:54:50.000Z
2020-05-06T17:54:50.000Z
// Copyright (c) 2020 CS126SP20. All rights reserved. #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <cinder/Rand.h> #include <Box2D/Box2D.h> #include "mylibrary/cue.h" #include "mylibrary/box2d_utility.h" #include "mylibrary/ball.h" #include "mylibrary/table.h" #include <mylibrary/game.h> using name...
34.251748
116
0.67109
[ "vector" ]
71f3fe4d8cd4d2ef136dd27942568421fcc5e888
1,456
cpp
C++
Homework6/corrected_code_hw6.cpp
TanvirSayed/MNXB01-learn
806022f6f143952c9430172d63cff7285b47f50e
[ "Apache-2.0" ]
null
null
null
Homework6/corrected_code_hw6.cpp
TanvirSayed/MNXB01-learn
806022f6f143952c9430172d63cff7285b47f50e
[ "Apache-2.0" ]
1
2021-10-19T11:49:18.000Z
2021-10-19T11:49:18.000Z
Homework6/corrected_code_hw6.cpp
TanvirSayed/MNXB01-learn
806022f6f143952c9430172d63cff7285b47f50e
[ "Apache-2.0" ]
null
null
null
// Printing all prime numbers between two integers entered by the user. //Checking prime numbers via a user-defined function. #include <iostream> #include <vector> using namespace std; //So no need std inside int checkPrime(int); int main() { int n1, n2; bool flag; cout << "Please type in two positi...
20.222222
87
0.536401
[ "vector" ]
9f97fea7bddcd5c9ec2258e5b024482bf186243c
930
cc
C++
exkaldirtcbin/exkaldi-srfft.cc
mzaksana/exkaldi-rt
828137d9c85bb99758ddd8235913dc75ef58ce6d
[ "Apache-2.0" ]
1
2021-04-16T21:03:34.000Z
2021-04-16T21:03:34.000Z
exkaldirtcbin/exkaldi-srfft.cc
mzaksana/exkaldi-rt
828137d9c85bb99758ddd8235913dc75ef58ce6d
[ "Apache-2.0" ]
null
null
null
exkaldirtcbin/exkaldi-srfft.cc
mzaksana/exkaldi-rt
828137d9c85bb99758ddd8235913dc75ef58ce6d
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<vector> #include "matrix/srfft.h" #include "matrix/kaldi-vector.h" int main(int argc, char *argv[]) { using namespace kaldi; int padded_window_size = atoi(argv[2]); int num_frames, points; std::cin >> num_frames; std::cin >> points; std::cin.ignore(); Vector<BaseFloat> my...
18.6
94
0.607527
[ "vector" ]
9fa78dac607258f7d890b235379c2bee9ce1fbb6
48,615
cpp
C++
src/pumex/RenderGraph.cpp
pumexx/pumex
86fda7fa351d00bd5918ad90899ce2d6bb8b1dfe
[ "MIT" ]
299
2017-07-17T17:07:39.000Z
2022-03-27T20:33:20.000Z
src/pumex/RenderGraph.cpp
pumexx/pumex
86fda7fa351d00bd5918ad90899ce2d6bb8b1dfe
[ "MIT" ]
9
2018-08-09T11:49:37.000Z
2020-12-10T03:55:12.000Z
src/pumex/RenderGraph.cpp
pumexx/pumex
86fda7fa351d00bd5918ad90899ce2d6bb8b1dfe
[ "MIT" ]
21
2017-12-03T16:08:21.000Z
2022-01-17T06:34:39.000Z
// // Copyright(c) 2017-2018 Paweł Księżopolski ( pumexx ) // // 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, m...
64.476127
313
0.743988
[ "vector" ]
9faa0f954a45ff574c172b08f2b23375bac633b4
9,033
cpp
C++
vtkFreeWrapper/vtkFreeWrapper/Curvatures/main.cpp
Sanaxen/vtkFreeWrapper
fe0b87aa54e3717c8f5b1d3d5ea68d50009e536a
[ "MIT" ]
3
2018-11-27T02:00:12.000Z
2019-05-28T07:54:49.000Z
vtkFreeWrapper/vtkFreeWrapper/Curvatures/main.cpp
Sanaxen/vtkFreeWrapper
fe0b87aa54e3717c8f5b1d3d5ea68d50009e536a
[ "MIT" ]
null
null
null
vtkFreeWrapper/vtkFreeWrapper/Curvatures/main.cpp
Sanaxen/vtkFreeWrapper
fe0b87aa54e3717c8f5b1d3d5ea68d50009e536a
[ "MIT" ]
1
2019-05-28T07:55:02.000Z
2019-05-28T07:55:02.000Z
#include "gmrVTKRender.hpp" #include "gmrVTKImport.hpp" #include "gmrVTKExport.hpp" #include "gmrVTKCapture.hpp" #include "gmrVTKText.hpp" #include "gmrVTKMeshFilter.hpp" #include "gmrVTK.hpp" #define NO_LINK_LIBS #include "gmrVTKLIBs.hpp" #pragma comment( lib, "../../../vtkFreeWrapper/util/lib/Release/64bit/vtkWra...
28.140187
211
0.661242
[ "render" ]
9faa6cb42d3d662e26cd3400aa4e3bc8c24f862d
6,180
cpp
C++
openFrameworks/apps/Ray Tracing Renderer/src/rtGraphics/rtRenderThreadPool.cpp
AlexWolski/Ray-Tracing-Renderer
c52a82fabaef937686da89df0c46501cbbce0a17
[ "MIT" ]
null
null
null
openFrameworks/apps/Ray Tracing Renderer/src/rtGraphics/rtRenderThreadPool.cpp
AlexWolski/Ray-Tracing-Renderer
c52a82fabaef937686da89df0c46501cbbce0a17
[ "MIT" ]
null
null
null
openFrameworks/apps/Ray Tracing Renderer/src/rtGraphics/rtRenderThreadPool.cpp
AlexWolski/Ray-Tracing-Renderer
c52a82fabaef937686da89df0c46501cbbce0a17
[ "MIT" ]
null
null
null
#include "rtRenderThreadPool.h" namespace rtGraphics { ///Static data member initialization //Set the number of threads to the number of cores on the machine int rtRenderThreadPool::numThreads = thread::hardware_concurrency(); RenderThreadData::RenderThreadData(renderMode RenderMode, shared_ptr<rtScene>scene, rtV...
35.930233
186
0.721521
[ "render", "vector" ]
9fb2b2926a6beb2be44f1404f4c880af2e0164fe
1,550
cpp
C++
Source/MarmotteUnrealGD/FireBallCapacityComponent.cpp
FelixPog/Guard-of-City
a05adc94def66cd4423c740a53e6dd460ce84590
[ "Apache-2.0" ]
null
null
null
Source/MarmotteUnrealGD/FireBallCapacityComponent.cpp
FelixPog/Guard-of-City
a05adc94def66cd4423c740a53e6dd460ce84590
[ "Apache-2.0" ]
null
null
null
Source/MarmotteUnrealGD/FireBallCapacityComponent.cpp
FelixPog/Guard-of-City
a05adc94def66cd4423c740a53e6dd460ce84590
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "FireBallCapacityComponent.h" #include "FireBallProjectile.h" #include "PlayerCharacter.h" #include "Kismet/GameplayStatics.h" bool UFireBallCapacityComponent::UseCapacity() { if (!IsCapacityReady) { return false; } //tr...
32.978723
224
0.769032
[ "transform" ]
9fb7078aa9cc0a79fa4b673e6d1ebb59a112b3e6
8,528
cpp
C++
src/adtfUser/katana_mission_control/src/mission_control/LateralController.cpp
KAtana-Karlsruhe/AADC_2015_KAtana
c6e55be189b8b2d46c905926b6533df2aba5979e
[ "BSD-4-Clause" ]
null
null
null
src/adtfUser/katana_mission_control/src/mission_control/LateralController.cpp
KAtana-Karlsruhe/AADC_2015_KAtana
c6e55be189b8b2d46c905926b6533df2aba5979e
[ "BSD-4-Clause" ]
null
null
null
src/adtfUser/katana_mission_control/src/mission_control/LateralController.cpp
KAtana-Karlsruhe/AADC_2015_KAtana
c6e55be189b8b2d46c905926b6533df2aba5979e
[ "BSD-4-Clause" ]
null
null
null
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*- // -- BEGIN LICENSE BLOCK ---------------------------------------------- // This file was taken from the Open Autonomous Driving Library // This file is part of the Open Autonomous Driving Library. // // This program is free software...
29.508651
145
0.638602
[ "vector" ]
9fb8e0ae548e6b511326dcc05d96aabda63b9249
2,060
cpp
C++
leetcode/weekly/236.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
1
2020-05-05T13:06:51.000Z
2020-05-05T13:06:51.000Z
leetcode/weekly/236.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
leetcode/weekly/236.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
/**************************************************** Date: April 11th, 2021 Successful submissions : 0 Time expiration : 0 Not Solved : 0 Wrong Answer/ Partial result : 0 Note: Solved it after the contest as I could not make it!!. Able to solve only 1!! link: https://leetcode.com/contest/weekly-contest-236 *********...
15.846154
109
0.520874
[ "object", "vector" ]
9fc75d2169df3ec47096d63da6195a44881a8bc3
531
hpp
C++
libs/core/include/fcppt/signal/object_fwd.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/signal/object_fwd.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/signal/object_fwd.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2017. // Copyright Philipp Middendorf 2009 - 2017. // 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) #ifndef FCPPT_SIGNAL_OBJECT_FWD_HPP_INCLUDED ...
26.55
75
0.73258
[ "object" ]
9fca6040d489a4ad299feee7107147d4dc6d8856
11,501
cpp
C++
Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.cpp
pollend/o3de
02b6b1dbf4d9889b55d4c11e049aa5b1804c9897
[ "Apache-2.0", "MIT" ]
1
2022-01-31T08:15:30.000Z
2022-01-31T08:15:30.000Z
Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.cpp
pollend/o3de
02b6b1dbf4d9889b55d4c11e049aa5b1804c9897
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Tools/ProjectManager/Source/GemCatalog/GemCatalogHeaderWidget.cpp
pollend/o3de
02b6b1dbf4d9889b55d4c11e049aa5b1804c9897
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <GemCatalog/GemCatalogHeaderWidget.h> #include <AzCore/std/functional.h> #include <QHBoxL...
37.708197
139
0.601426
[ "model", "3d" ]
9fcb9d50c0702607f3a09fcbef71c0fe5b379f39
34,745
cpp
C++
src/rpcrawtransaction.cpp
moorecoin/MooreCoinMiningAlgorithm
fe6a153e1392f6e18110b1e69481aa5c3c8b4a1d
[ "MIT" ]
null
null
null
src/rpcrawtransaction.cpp
moorecoin/MooreCoinMiningAlgorithm
fe6a153e1392f6e18110b1e69481aa5c3c8b4a1d
[ "MIT" ]
null
null
null
src/rpcrawtransaction.cpp
moorecoin/MooreCoinMiningAlgorithm
fe6a153e1392f6e18110b1e69481aa5c3c8b4a1d
[ "MIT" ]
null
null
null
// copyright (c) 2010 satoshi nakamoto // copyright (c) 2009-2015 the moorecoin core developers // distributed under the mit software license, see the accompanying // file copying or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" #include "consensus/validation.h" #include "core_io.h" #include ...
42.736777
180
0.565376
[ "object", "vector" ]
9fcca55b7f9fa6d04765207ff8e08b7c405399c5
710
cpp
C++
depspawn-blitz-0.10/testsuite/preexisting.cpp
fraguela/depspawn
b5760f4c0d38a1b245ee5274e2ccc5c5fe2d3d45
[ "MIT" ]
8
2017-04-12T11:05:40.000Z
2022-03-29T11:10:27.000Z
ibtk/third_party/blitz-0.10/testsuite/preexisting.cpp
MSV-Project/IBAMR
3cf614c31bb3c94e2620f165ba967cba719c45ea
[ "BSD-3-Clause" ]
null
null
null
ibtk/third_party/blitz-0.10/testsuite/preexisting.cpp
MSV-Project/IBAMR
3cf614c31bb3c94e2620f165ba967cba719c45ea
[ "BSD-3-Clause" ]
null
null
null
#include "testsuite.h" #include <blitz/array.h> BZ_USING_NAMESPACE(blitz) // tests that preexisting memory constructors work with padding int main() { Array<int,2> b(3,3); b = 1,2,3,4,5,6,7,8,9; { int p[] = {1,2,3,4,5,6,7,8,9}; Array<int,2> a(p, shape(3,3), neverDeleteData); BZTEST(all(a==b)); } ...
18.684211
80
0.576056
[ "shape" ]
9fcd77f77c8c6253dc2570a5e150bb663d5c515e
4,981
cpp
C++
third_party/poco_1.5.3/PageCompiler/src/OSPCodeWriter.cpp
0u812/roadrunner
f464c2649e388fa1f5a015592b0b29b65cc84b4b
[ "Apache-2.0" ]
50
2015-01-07T01:54:54.000Z
2021-01-15T00:41:48.000Z
3rdparty/poco/PageCompiler/src/OSPCodeWriter.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
1
2015-05-26T07:40:19.000Z
2015-05-26T07:40:19.000Z
3rdparty/poco/PageCompiler/src/OSPCodeWriter.cpp
lib1256/zpublic
64c2be9ef1abab878288680bb58122dcc25df81d
[ "Unlicense" ]
39
2015-01-07T02:03:15.000Z
2021-01-15T00:41:50.000Z
// // OSPCodeWriter.cpp // // $Id: //poco/1.4/PageCompiler/src/OSPCodeWriter.cpp#3 $ // // Copyright (c) 2008, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying docume...
30.937888
156
0.678177
[ "object" ]
9fce624c195dfb1c4ccc8b50823f1d56cf08ff26
1,672
cpp
C++
src/Component.cpp
inoricat/Markdown-CLI
46c11629a4d7aefc86eac01fa2dc0c0303f686c1
[ "MIT" ]
null
null
null
src/Component.cpp
inoricat/Markdown-CLI
46c11629a4d7aefc86eac01fa2dc0c0303f686c1
[ "MIT" ]
null
null
null
src/Component.cpp
inoricat/Markdown-CLI
46c11629a4d7aefc86eac01fa2dc0c0303f686c1
[ "MIT" ]
null
null
null
#include <string> #include "Component.hpp" // Default constructor, type of the Component needed (div, tag, code...) Component::Component(std::string type){ this->type=type; } // Overloaded constructor to include text before any of the components Component::Component(std::string type, std::string text){ this->...
37.155556
152
0.611842
[ "render" ]
9fd66cebfed573f886540e131c712d270ffd9d68
7,581
hpp
C++
include/dukpp/detail/detail_types.hpp
Koncord/dukpp
66584a7be4f63868dc4f702ab5a9d423956a9273
[ "MIT" ]
2
2021-06-06T17:18:33.000Z
2021-06-11T14:10:33.000Z
include/dukpp/detail/detail_types.hpp
Koncord/dukpp
66584a7be4f63868dc4f702ab5a9d423956a9273
[ "MIT" ]
1
2021-07-15T23:03:25.000Z
2021-07-18T09:34:31.000Z
include/dukpp/detail/detail_types.hpp
Koncord/dukpp
66584a7be4f63868dc4f702ab5a9d423956a9273
[ "MIT" ]
2
2021-08-05T05:59:05.000Z
2022-02-01T22:28:53.000Z
#pragma once #include <type_traits> #include <duktape.h> #include "detail_refs.hpp" #include "detail_typeinfo.hpp" #include "detail_class_proto.hpp" namespace dukpp::types { // Bare<T>::type is T stripped of reference, pointer, and const off a type, like so: // Bare<Dog>::type = Dog // Bare<con...
45.945455
144
0.612056
[ "object", "vector", "3d" ]
9fd711c75f32c7cdcd0a35a9a259172a84ded1dc
4,441
cpp
C++
templates/compiletime_ds.cpp
ishansheth/cplusplus_concepts
f5e53a8bef87674e66eafc05d103a0feec165330
[ "MIT" ]
null
null
null
templates/compiletime_ds.cpp
ishansheth/cplusplus_concepts
f5e53a8bef87674e66eafc05d103a0feec165330
[ "MIT" ]
null
null
null
templates/compiletime_ds.cpp
ishansheth/cplusplus_concepts
f5e53a8bef87674e66eafc05d103a0feec165330
[ "MIT" ]
null
null
null
/* Structure to store compiletime objects https://www.fluentcpp.com/2018/11/02/variable-number-compile-time/ */ #include <iostream> #include <tuple> #include <vector> template<int k> struct Simplex { void print(){ std::cout << k << '\n';} }; template<std::size_t n> class SimplexStorage { template<std::size_...
24.26776
107
0.639045
[ "vector" ]
9fdcc181396d4ace8d213fa6fb155c1b6f89db9f
6,731
cpp
C++
code/editors/xrECore/Editor/EDetailModel.cpp
Pavel3333/xray-oxygen
42331cd5f30511214c704d6ca9d919c209363eea
[ "Apache-2.0" ]
6
2020-07-06T13:34:28.000Z
2021-07-12T10:36:23.000Z
code/editors/xrECore/Editor/EDetailModel.cpp
Pavel3333/xray-oxygen
42331cd5f30511214c704d6ca9d919c209363eea
[ "Apache-2.0" ]
null
null
null
code/editors/xrECore/Editor/EDetailModel.cpp
Pavel3333/xray-oxygen
42331cd5f30511214c704d6ca9d919c209363eea
[ "Apache-2.0" ]
5
2020-10-18T11:55:26.000Z
2022-03-28T07:21:35.000Z
#include "stdafx.h" #include "EDetailModel.h" #include <xrECoreLite\EditObject.h> #include <xrECoreLite\EditMesh.h> #include "Library.h" #include "ImageManager.h" //------------------------------------------------------------------------------ #define DETOBJ_CHUNK_VERSION 0x1000 #define DETOBJ_CHUNK_REFERENCE 0x01...
22.068852
115
0.638241
[ "mesh", "geometry", "object" ]
9fde9e064279b10ba720d29693c534fd32970b82
2,674
hpp
C++
build/stx/libdb/libopenDBX/support/opendbx-1.4.6/lib/odbx_iface.hpp
GunterMueller/ST_STX_Fork
d891b139f3c016b81feeb5bf749e60585575bff7
[ "MIT" ]
1
2020-01-23T20:46:08.000Z
2020-01-23T20:46:08.000Z
build/stx/libdb/libopenDBX/support/opendbx-1.4.6/lib/odbx_iface.hpp
GunterMueller/ST_STX_Fork
d891b139f3c016b81feeb5bf749e60585575bff7
[ "MIT" ]
null
null
null
build/stx/libdb/libopenDBX/support/opendbx-1.4.6/lib/odbx_iface.hpp
GunterMueller/ST_STX_Fork
d891b139f3c016b81feeb5bf749e60585575bff7
[ "MIT" ]
null
null
null
/* * OpenDBX - A simple but extensible database abstraction layer * Copyright (C) 2004-2008 Norbert Sendetzky and others * * Distributed under the terms of the GNU Library General Public Licence * version 2 or (at your option) any later version. */ #include "lib/opendbx/api" #include <string> #include <vect...
26.475248
143
0.690726
[ "vector" ]
9fe99e128bbdd139c57a3166e4abb6063eb6703d
3,890
cpp
C++
client/OAIEzsignbulksendsignermapping_createObject_v1_Request.cpp
ezmaxinc/eZmax-SDK-cpp-qt5-client
70cc5ea2bccba1a7c192f88b15bee8225dbb3d01
[ "MIT" ]
null
null
null
client/OAIEzsignbulksendsignermapping_createObject_v1_Request.cpp
ezmaxinc/eZmax-SDK-cpp-qt5-client
70cc5ea2bccba1a7c192f88b15bee8225dbb3d01
[ "MIT" ]
null
null
null
client/OAIEzsignbulksendsignermapping_createObject_v1_Request.cpp
ezmaxinc/eZmax-SDK-cpp-qt5-client
70cc5ea2bccba1a7c192f88b15bee8225dbb3d01
[ "MIT" ]
null
null
null
/** * eZmax API Definition (Full) * This API expose all the functionnalities for the eZmax and eZsign applications. * * The version of the OpenAPI document: 1.1.7 * Contact: support-api@ezmax.ca * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-gener...
38.137255
193
0.810283
[ "object" ]
9ff0287daae723d85a7a8c075bfc0a65798e46e5
10,681
cpp
C++
SVIEngine/jni/SVI/Physics/SVIConeCurveSimulator.cpp
Samsung/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
27
2015-04-24T07:14:55.000Z
2020-01-24T16:16:37.000Z
SVIEngine/jni/SVI/Physics/SVIConeCurveSimulator.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
null
null
null
SVIEngine/jni/SVI/Physics/SVIConeCurveSimulator.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
15
2015-12-08T14:46:19.000Z
2020-01-21T19:26:41.000Z
#include "SVIPhysics.h" #include "../Render/SVIDebugRenderer.h" // The below implementation is based on cone curl algorithm // Mesh will be created with width of 1.0 and height of 0.8 units. // The deformation of mesh will depend on 3 factors Axis, Angle and Offset. // The above 3 parameters are set passed using def...
31.694362
125
0.639921
[ "mesh", "render", "3d" ]
9ff3a2c28dfb0c2116e7ecfd4b7a8d38e40aecaf
4,895
hpp
C++
wykobi_demo_torri.hpp
jocarsa/WyKobi
f8eb7783b26bc8cb7d83411ca8a43b6dd6f77e20
[ "MIT" ]
null
null
null
wykobi_demo_torri.hpp
jocarsa/WyKobi
f8eb7783b26bc8cb7d83411ca8a43b6dd6f77e20
[ "MIT" ]
null
null
null
wykobi_demo_torri.hpp
jocarsa/WyKobi
f8eb7783b26bc8cb7d83411ca8a43b6dd6f77e20
[ "MIT" ]
null
null
null
/* (***********************************************************************) (* *) (* Wykobi Computational Geometry Library *) (* Release Version 0.0.5 *) (* http://www.wykobi....
34.471831
136
0.563841
[ "geometry", "vector" ]
9ff714780a5b42e0b6b785b901f6bbf715eb7eaa
2,195
hpp
C++
SDK/IEffects.hpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
54
2021-11-15T13:39:51.000Z
2022-03-21T17:13:28.000Z
SDK/IEffects.hpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
24
2021-11-08T06:59:34.000Z
2022-03-17T05:17:03.000Z
SDK/IEffects.hpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
10
2021-11-10T06:52:14.000Z
2022-02-02T17:09:20.000Z
#pragma once #include "math/Vector.hpp" #include "../utilities/vfunc.hpp" class IEffects { public: VFUNC(void, beam, 1, (const Vector& start, const Vector& end, int modelIndex, int haloIndex, unsigned char frameStart, unsigned char frameRate, float life, unsigned char width, unsigned char endWidth, unsigned c...
66.515152
182
0.667882
[ "vector" ]