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
ff4bab551d6348c46c4d03061fada6720163685d
1,192
cpp
C++
Editor/Wrappers/Objects/AGEGameScene.cpp
alexshpunt/art_gear
64a2d001570812690fc8845f694f2bfe1d96c3a2
[ "MIT" ]
null
null
null
Editor/Wrappers/Objects/AGEGameScene.cpp
alexshpunt/art_gear
64a2d001570812690fc8845f694f2bfe1d96c3a2
[ "MIT" ]
null
null
null
Editor/Wrappers/Objects/AGEGameScene.cpp
alexshpunt/art_gear
64a2d001570812690fc8845f694f2bfe1d96c3a2
[ "MIT" ]
null
null
null
#include "AGEGameScene.h" #include "AGEGameObject.h" AGEGameScene::AGEGameScene(const std::string& name) : m_scene( new AGGameScene( name ) ), m_name( name ) {} AGEGameScene::~AGEGameScene(){} AGEGameObject* AGEGameScene::createObject(const std::string& name) { AGEGameObject* gameObject = new AGEGameObject( m_s...
20.20339
80
0.741611
[ "object" ]
ff5a42c1768682bd095f4bcced5b425219f89750
6,681
cpp
C++
ViroRenderer/VRODiffuseIrradianceTest.cpp
dthian/virocore
c702528e0e3ffd8324c1597d65a73bc6adf0e11d
[ "MIT" ]
2
2019-10-16T14:30:06.000Z
2019-10-30T23:14:30.000Z
ViroRenderer/VRODiffuseIrradianceTest.cpp
dthian/virocore
c702528e0e3ffd8324c1597d65a73bc6adf0e11d
[ "MIT" ]
47
2021-09-08T13:03:44.000Z
2022-03-10T23:21:05.000Z
ViroRenderer/VRODiffuseIrradianceTest.cpp
dthian/virocore
c702528e0e3ffd8324c1597d65a73bc6adf0e11d
[ "MIT" ]
2
2020-08-26T14:50:23.000Z
2021-01-04T02:21:02.000Z
// // VRODiffuseIrradianceTest.cpp // ViroKit // // Created by Raj Advani on 1/18/18. // Copyright © 2018 Viro Media. All rights reserved. // // 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 ...
41.496894
120
0.650651
[ "render", "vector" ]
ff5b1f8c3cd0652b55e99b93af1bacb34bd4cdb1
5,100
cpp
C++
ImgRef/main.cpp
arttu94/ImgRef
3b1ac03183302b298f6a4f92aa172f1804f0fe05
[ "MIT" ]
null
null
null
ImgRef/main.cpp
arttu94/ImgRef
3b1ac03183302b298f6a4f92aa172f1804f0fe05
[ "MIT" ]
null
null
null
ImgRef/main.cpp
arttu94/ImgRef
3b1ac03183302b298f6a4f92aa172f1804f0fe05
[ "MIT" ]
null
null
null
#include <SDL.h> #include <SDL_image.h> #include <stdio.h> #include "main.h" const int SCREEN_WIDTH = 400; const int SCREEN_HEIGHT = 200; bool Init(); bool LoadMedia(const char* dir); void Close(); SDL_Texture* LoadTexture(const char* dir); SDL_Window* window = nullptr; SDL_Renderer* renderer = nullptr; SDL_Textu...
19.54023
171
0.663922
[ "render" ]
ff5d94f3332cc74a436a9eb5d80d6efd0066ed12
2,164
cpp
C++
lucida-suite/fd/baseline/surf-fd.cpp
hitokun-s/monalisa
ccb7fbcd294aef02d52c7c22c632d22cc0e9312a
[ "BSD-3-Clause" ]
null
null
null
lucida-suite/fd/baseline/surf-fd.cpp
hitokun-s/monalisa
ccb7fbcd294aef02d52c7c22c632d22cc0e9312a
[ "BSD-3-Clause" ]
null
null
null
lucida-suite/fd/baseline/surf-fd.cpp
hitokun-s/monalisa
ccb7fbcd294aef02d52c7c22c632d22cc0e9312a
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015, University of Michigan. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ /*...
21.64
79
0.682532
[ "vector" ]
ff5f410f11d78c9ba4c5869b7df07b85a9dd4c68
2,831
cpp
C++
Options.cpp
yoshiikeda/Options-cplusplus
fad727b17b08027be080b3df0df81102b87c4daf
[ "MIT" ]
null
null
null
Options.cpp
yoshiikeda/Options-cplusplus
fad727b17b08027be080b3df0df81102b87c4daf
[ "MIT" ]
null
null
null
Options.cpp
yoshiikeda/Options-cplusplus
fad727b17b08027be080b3df0df81102b87c4daf
[ "MIT" ]
null
null
null
#include <memory> #include <string> #include <vector> #include "Options.h" Option::Option(std::unique_ptr<const std::string>&& key_, std::unique_ptr<const std::string>&& value_) noexcept : _key(std::move(key_)), _value(std::...
22.468254
111
0.470152
[ "vector" ]
ff649c380dffae3055455a582deeb950c682e1b2
823
hpp
C++
HW3/src/item/ball.hpp
xupei0610/Animation-Planning-in-Games-HW
f66399959127f2a88f174b22302b25e35e1aebb3
[ "MIT" ]
4
2019-01-23T09:13:33.000Z
2021-12-03T02:50:01.000Z
HW3/src/item/ball.hpp
xupei0610/Animation-Planning-in-Games-HW
f66399959127f2a88f174b22302b25e35e1aebb3
[ "MIT" ]
null
null
null
HW3/src/item/ball.hpp
xupei0610/Animation-Planning-in-Games-HW
f66399959127f2a88f174b22302b25e35e1aebb3
[ "MIT" ]
null
null
null
#ifndef PX_CG_ITEM_BALL_HPP #define PX_CG_ITEM_BALL_HPP #include "item.hpp" namespace px { namespace item { class Ball; } } class px::item::Ball : public Item { private: static ItemInfo ITEM_INFO; public: static Shader *shader; static void initShader(); static void destroyShader(); public: stru...
16.795918
53
0.63305
[ "render" ]
ff6875603438ff2d532c73faaa47e209527f0e3d
1,551
cc
C++
Random Codes/trappingRainWater.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
Random Codes/trappingRainWater.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
Random Codes/trappingRainWater.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
/* Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. For example, Given [0,1,0,2,1,0,1,3,2,1,2,1], return 6. */ #include <iostream> #include <vector> using namespace std; class Solution { public: // int result ...
23.149254
78
0.448743
[ "vector" ]
ff696beb79bda38345227e158960b14e2999ed2d
1,406
cc
C++
chrome/browser/ui/android/tab_model/tab_model_observer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/browser/ui/android/tab_model/tab_model_observer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/ui/android/tab_model/tab_model_observer.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// 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 "chrome/browser/ui/android/tab_model/tab_model_observer.h" #include "chrome/browser/android/tab_android.h" TabModelObserver::TabModelObserver()...
33.47619
73
0.693457
[ "vector" ]
ff78f2aadfb031c0f397742b0e4a6163fab570de
6,415
hpp
C++
cpp/include/cudf/detail/stream_compaction.hpp
wbo4958/cudf
b12f24d25815145a573a9d70f8c6140a8ab9d2cb
[ "Apache-2.0" ]
null
null
null
cpp/include/cudf/detail/stream_compaction.hpp
wbo4958/cudf
b12f24d25815145a573a9d70f8c6140a8ab9d2cb
[ "Apache-2.0" ]
null
null
null
cpp/include/cudf/detail/stream_compaction.hpp
wbo4958/cudf
b12f24d25815145a573a9d70f8c6140a8ab9d2cb
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019, NVIDIA 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 ...
41.928105
100
0.691972
[ "vector" ]
ff7cdea114f1832606c7300f45969205c4410f53
1,913
cpp
C++
src/main.cpp
Fdhvdu/QuantumCircuit
d79a86c0ebc4a7f839efce7b86c953644c4d6f78
[ "MIT" ]
null
null
null
src/main.cpp
Fdhvdu/QuantumCircuit
d79a86c0ebc4a7f839efce7b86c953644c4d6f78
[ "MIT" ]
null
null
null
src/main.cpp
Fdhvdu/QuantumCircuit
d79a86c0ebc4a7f839efce7b86c953644c4d6f78
[ "MIT" ]
null
null
null
#define USE_THREAD #include<fstream> #include<memory> //make_unique #ifdef USE_THREAD #include<mutex> #include<thread> //thread::hardware_concurrency() #endif #include<utility> //declval #include<type_traits> //remove_reference #include<vector> #include"../../lib/header/tool/CChrono_timer.hpp" #include"../../lib/header...
25.171053
109
0.711448
[ "vector" ]
ff8a38b8b4c0bfbc6137756ddd76cd15cd11792c
9,554
cpp
C++
jvm-packages/xgboost4j-spark/src/native/xgboost4j_spark.cpp
NVIDIA/spark-xgboost
983159f52784e3d9dfd8e9957c5f8ca18e64f934
[ "Apache-2.0" ]
15
2020-06-11T02:20:26.000Z
2022-03-09T07:18:23.000Z
jvm-packages/xgboost4j-spark/src/native/xgboost4j_spark.cpp
NVIDIA/spark-xgboost
983159f52784e3d9dfd8e9957c5f8ca18e64f934
[ "Apache-2.0" ]
4
2021-01-20T03:24:23.000Z
2021-11-01T05:33:38.000Z
jvm-packages/xgboost4j-spark/src/native/xgboost4j_spark.cpp
NVIDIA/spark-xgboost
983159f52784e3d9dfd8e9957c5f8ca18e64f934
[ "Apache-2.0" ]
6
2020-06-24T03:28:58.000Z
2021-10-01T16:04:11.000Z
/* * Copyright (c) 2019, NVIDIA 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 ...
32.496599
100
0.706615
[ "vector" ]
ff8b2ff69fba2ccd92218509390f7f2864f18ab5
3,725
cpp
C++
unreal/src/Material.cpp
ChaosPaladin/l2mapconv-public
3d2c8074b0e6a9541dfdc55360bc7958f628cc39
[ "MIT" ]
42
2020-10-31T12:44:52.000Z
2022-03-06T08:27:24.000Z
unreal/src/Material.cpp
ChaosPaladin/l2mapconv-public
3d2c8074b0e6a9541dfdc55360bc7958f628cc39
[ "MIT" ]
10
2020-11-19T00:06:24.000Z
2021-12-20T18:54:47.000Z
unreal/src/Material.cpp
ChaosPaladin/l2mapconv-public
3d2c8074b0e6a9541dfdc55360bc7958f628cc39
[ "MIT" ]
28
2020-09-21T12:59:13.000Z
2022-03-12T04:53:37.000Z
#include "pch.h" #include <unreal/Material.h> #include "MaterialDeserializer.h" namespace unreal { auto Modifier::set_property(const Property &property) -> bool { if (Material::set_property(property)) { return true; } if (property.name == "Material") { material.from_property(property, archive); r...
20.135135
79
0.653691
[ "object" ]
ff8ee4444d96407744c2e5b093cf05a0456d6303
14,575
cpp
C++
mzgaf2paf.cpp
glennhickey/mzgaf2paf
06eaa932bf44c7017b4c56775af9dbf801fb3405
[ "MIT" ]
null
null
null
mzgaf2paf.cpp
glennhickey/mzgaf2paf
06eaa932bf44c7017b4c56775af9dbf801fb3405
[ "MIT" ]
2
2021-07-23T14:46:48.000Z
2022-03-24T12:47:19.000Z
mzgaf2paf.cpp
glennhickey/mzgaf2paf
06eaa932bf44c7017b4c56775af9dbf801fb3405
[ "MIT" ]
null
null
null
/** * mzgaf2paf.hpp: Make base level pairwise alignemnts from minigraph --write-mz output with the object of using them as * anchors for other graph methods */ #include "mzgaf2paf.hpp" #include "mzgaf.hpp" #include <limits> //#define debug using namespace gafkluge; using namespace std; struct Matc...
42.246377
143
0.604871
[ "object", "vector" ]
ff95a444cc5b52d1b3ca2002adcc12b5bdc1e28f
5,702
cpp
C++
examples/code/blend_modes/blend_modes.cpp
brucelevis/pmtech
927c763224699d685e08761bedeaed38f41f7027
[ "MIT" ]
null
null
null
examples/code/blend_modes/blend_modes.cpp
brucelevis/pmtech
927c763224699d685e08761bedeaed38f41f7027
[ "MIT" ]
null
null
null
examples/code/blend_modes/blend_modes.cpp
brucelevis/pmtech
927c763224699d685e08761bedeaed38f41f7027
[ "MIT" ]
null
null
null
#include "camera.h" #include "debug_render.h" #include "dev_ui.h" #include "ecs/ecs_editor.h" #include "ecs/ecs_resources.h" #include "ecs/ecs_scene.h" #include "ecs/ecs_utilities.h" #include "loader.h" #include "pmfx.h" #include "pen.h" #include "pen_json.h" #include "pen_string.h" #include "renderer.h" #include "str...
28.653266
125
0.622764
[ "render" ]
910bbe61ee880cd237b61e8711195d2bc42beeb2
6,315
hpp
C++
openstudiocore/src/model/CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
1
2016-12-29T08:45:03.000Z
2016-12-29T08:45:03.000Z
openstudiocore/src/model/CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
openstudiocore/src/model/CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData_Impl.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2016, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
41.27451
199
0.731433
[ "vector", "model" ]
9118ba94f1e4a8d759e8d3b55a75c97c53fe0d34
64,663
cpp
C++
SimTKmath/Geometry/src/ContactTracker.cpp
elen4/simbody
3ddbc16323afa45b7698c38e07266a7de15e2ad2
[ "Apache-2.0" ]
2
2020-01-15T05:03:30.000Z
2021-01-16T06:18:47.000Z
SimTKmath/Geometry/src/ContactTracker.cpp
sohapouya/simbody
3729532453b22ffa3693962210941184f5617f5b
[ "Apache-2.0" ]
null
null
null
SimTKmath/Geometry/src/ContactTracker.cpp
sohapouya/simbody
3729532453b22ffa3693962210941184f5617f5b
[ "Apache-2.0" ]
1
2021-09-24T15:20:36.000Z
2021-09-24T15:20:36.000Z
/* -------------------------------------------------------------------------- * * Simbody(tm): SimTKmath * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
43.691216
155
0.607828
[ "mesh", "object", "shape", "vector", "transform" ]
911b55ed19fcc19cac972737cfae788aa3efea25
1,733
cpp
C++
RT3D/RT3D/SDL GL Triangle/Environment.cpp
RichardsonDaniel/BSc-University-Coursework
f66351152826cafd4d0064c26efb7dc9c74f6ce6
[ "MIT" ]
null
null
null
RT3D/RT3D/SDL GL Triangle/Environment.cpp
RichardsonDaniel/BSc-University-Coursework
f66351152826cafd4d0064c26efb7dc9c74f6ce6
[ "MIT" ]
null
null
null
RT3D/RT3D/SDL GL Triangle/Environment.cpp
RichardsonDaniel/BSc-University-Coursework
f66351152826cafd4d0064c26efb7dc9c74f6ce6
[ "MIT" ]
null
null
null
#include "Environment.h" Environment::Environment(std::string typeName, char *fnameTexture, char *fobj, GLfloat idx, GLfloat idy, GLfloat idz, GLfloat iScaleX, GLfloat iScaleY, GLfloat iScaleZ, GLfloat iRotate, GLuint newShaderProgram) { // Set name of object type = typeName; // Initialise position data pos.x = ...
30.403509
210
0.71783
[ "mesh", "object", "vector" ]
911c613ca272c965239dc30a2fa357a7666236f6
950
cpp
C++
cpp/src/exercise/e0100/e0083.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0100/e0083.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0100/e0083.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
// https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list/ #include "extern.h" class S0083 { public: ListNode* deleteDuplicates(ListNode* head) { if (!head) return head; ListNode* post = new ListNode(head->val == 0 ? 1 : 0); post->next = head; ListNode* pl = post; List...
31.666667
77
0.568421
[ "vector" ]
9122c376a47dc36d83c3c72230b8279a890896cd
697
hpp
C++
src/mesh/basic_mesh.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2018-07-12T17:06:33.000Z
2021-11-20T23:13:26.000Z
src/mesh/basic_mesh.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
119
2016-06-22T07:36:04.000Z
2019-03-10T19:38:12.000Z
src/mesh/basic_mesh.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2017-10-08T16:51:38.000Z
2021-03-15T08:08:04.000Z
#pragma once /// @file #include "mesh/nodal_coordinates.hpp" #include "mesh/basic_submesh.hpp" #include <map> namespace neon { /// basic_mesh is a basic mesh definition, with nodes and associated volume /// meshes. This container does not define a notion of boundary or volume meshes. /// It holds nodes and element...
24.034483
90
0.736011
[ "mesh", "vector" ]
9126aab0459a56bed692ae66a4f847298075340c
1,089
cpp
C++
codes/leetcode/PalindromePartitioning.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/leetcode/PalindromePartitioning.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/leetcode/PalindromePartitioning.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
/* ************************************************ username : smmehrab fullname : s.m.mehrabul islam email : mehrab.24csedu.001@gmail.com institute : university of dhaka, bangladesh session : 2017-2018 ************************************************ */ class Solution { private: int n; ...
25.928571
59
0.455464
[ "vector" ]
91314a5bcb7e13f6f89b04453c29571f41cd95b3
4,975
cc
C++
ash/app_list/app_list_test_api.cc
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
ash/app_list/app_list_test_api.cc
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
ash/app_list/app_list_test_api.cc
blueboxd/chromium-legacy
07223bc94bd97499909c9ed3c3f5769d718fe2e0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/public/cpp/test/app_list_test_api.h" #include <string> #include <vector> #include "ash/app_list/app_list_controller_impl.h" #include "ash/...
32.305195
79
0.723618
[ "vector", "model" ]
913a5989729813f109980dde518be79082682ba4
2,256
cpp
C++
clone-engine/main.cpp
babu-thomas/clone-engine
e430b2ee172447595e6e1f881b93cc982db573f6
[ "MIT" ]
null
null
null
clone-engine/main.cpp
babu-thomas/clone-engine
e430b2ee172447595e6e1f881b93cc982db573f6
[ "MIT" ]
null
null
null
clone-engine/main.cpp
babu-thomas/clone-engine
e430b2ee172447595e6e1f881b93cc982db573f6
[ "MIT" ]
null
null
null
#include <iostream> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include "src/graphics/shader.h" #include "src/graphics/window.h" #include "src/graphics/buffers/buffer.h" #include "src/graphics/buffers/indexbuffer.h" #include "src/graphics/buffers/vertexarray.h" #include <vector> // To enable NVIDIA...
23.5
91
0.653812
[ "vector" ]
914c5066facc2c133b09b04cb6b739207ceb131d
19,277
cc
C++
chrome/browser/prerender/prerender_local_predictor.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-03-10T13:08:49.000Z
2018-03-10T13:08:49.000Z
chrome/browser/prerender/prerender_local_predictor.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/prerender/prerender_local_predictor.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:25:45.000Z
2020-11-04T07:25:45.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/prerender/prerender_local_predictor.h" #include <ctype.h> #include <algorithm> #include <map> #include <set> #include <stri...
37.214286
80
0.692795
[ "vector", "transform" ]
915562b205f9bbaab63bafcfd095713644ceef5e
133,551
cpp
C++
Library/QHull/io.cpp
GuoxinFang/ReinforcedFDM
bde4d1890de805ce3e626a010866303a2b132b63
[ "BSD-3-Clause" ]
43
2020-08-31T08:56:48.000Z
2022-03-29T08:20:28.000Z
ThirdPartyDependence/QHullLib/io.cpp
zhangjiangzhao123/MultiAxis_3DP_MotionPlanning-1
7338bd7a1cdf9173d8715032fed29b6a0b2b21a1
[ "BSD-3-Clause" ]
null
null
null
ThirdPartyDependence/QHullLib/io.cpp
zhangjiangzhao123/MultiAxis_3DP_MotionPlanning-1
7338bd7a1cdf9173d8715032fed29b6a0b2b21a1
[ "BSD-3-Clause" ]
10
2020-08-31T09:52:57.000Z
2021-11-20T15:47:12.000Z
/*<html><pre> -<a href="qh-io.htm" >-------------------------------</a><a name="TOP">-</a> io.c Input/Output routines of qhull application see qh-io.htm and io.h see user.c for qh_errprint and qh_printfacetlist unix.c calls qh_readpoints and qh_produce_output unix....
32.446793
152
0.612874
[ "geometry", "object", "transform" ]
915baded945da8215880c8669123e78550cb4890
28,163
cpp
C++
src/libblockchain/documents.cpp
publiqnet/publiq.pp
0865494edaa22ea2e3238aaf01cdb9e457535933
[ "MIT" ]
4
2019-11-20T17:27:57.000Z
2021-01-05T09:46:20.000Z
src/libblockchain/documents.cpp
publiqnet/publiq.pp
0865494edaa22ea2e3238aaf01cdb9e457535933
[ "MIT" ]
null
null
null
src/libblockchain/documents.cpp
publiqnet/publiq.pp
0865494edaa22ea2e3238aaf01cdb9e457535933
[ "MIT" ]
2
2019-01-10T14:10:26.000Z
2020-03-01T05:55:05.000Z
#include "documents.hpp" #include "common.hpp" #include "exception.hpp" #include "types.hpp" #include "node_internals.hpp" #include "message.tmpl.hpp" #include <mesh.pp/fileutility.hpp> #include <chrono> #include <algorithm> using namespace BlockchainMessage; namespace filesystem = boost::filesystem; using std::str...
37.904441
126
0.642119
[ "mesh", "vector" ]
9163a205178cfe5068843ff04bd0a5996e989815
1,583
cpp
C++
test/HashSetTest.cpp
Tobias-Buerger/QLever
6376b0e2022da702417e15bbc9701fedf35c31d0
[ "Apache-2.0" ]
6
2016-12-22T12:45:22.000Z
2018-01-11T05:40:39.000Z
test/HashSetTest.cpp
Tobias-Buerger/QLever
6376b0e2022da702417e15bbc9701fedf35c31d0
[ "Apache-2.0" ]
24
2017-01-03T00:01:37.000Z
2018-03-05T09:03:11.000Z
test/HashSetTest.cpp
Tobias-Buerger/QLever
6376b0e2022da702417e15bbc9701fedf35c31d0
[ "Apache-2.0" ]
5
2017-04-27T07:19:05.000Z
2018-03-08T10:43:35.000Z
// Copyright 2015, University of Freiburg, // Chair of Algorithms and Data Structures. // Author: Niklas Schnelle (schnelle@informatik.uni-freiburg.de) #include <gtest/gtest.h> #include <utility> #include <vector> #include "../src/util/HashSet.h" // Note: Since the HashSet class is a wrapper for a well tested hash s...
25.126984
78
0.675932
[ "vector" ]
91648ae5f207a3b8a1ea37c0d5866ce39b3ec003
5,039
cpp
C++
svc_kube_vision_opencvplus/extras/SiftThesaff/sifthesaff_extractor.cpp
lucmichalski/kube-vproxy
c7cc0edbcbcd07a48f0fc48b9457eae693b76688
[ "Apache-2.0" ]
3
2018-06-22T07:55:51.000Z
2021-06-21T19:18:16.000Z
svc_kube_vision_opencvplus/extras/SiftThesaff/sifthesaff_extractor.cpp
lucmichalski/kube-vproxy
c7cc0edbcbcd07a48f0fc48b9457eae693b76688
[ "Apache-2.0" ]
null
null
null
svc_kube_vision_opencvplus/extras/SiftThesaff/sifthesaff_extractor.cpp
lucmichalski/kube-vproxy
c7cc0edbcbcd07a48f0fc48b9457eae693b76688
[ "Apache-2.0" ]
1
2020-11-04T04:56:50.000Z
2020-11-04T04:56:50.000Z
/* * sifthesaff_extractor.cpp * * Created on: January 25, 2013 * Author: Siriwat Kasamwattanarote */ #include <iostream> #include <iomanip> #include <string> #include <sstream> #include <fstream> #include <vector> #include <bitset> #include <unistd.h> // usleep #include <sys/types.h> // for checking exist fi...
28.630682
256
0.572931
[ "vector" ]
916750ec9d9c83f21b4b8ff53eb51dd45f8ad6c5
58,637
cpp
C++
src/steamnetworkingsockets/clientlib/steamnetworkingsockets_udp.cpp
ArseniyShestakov/GameNetworkingSockets
e04a86de5408e0e9a3866876ddb3d3fc74bebd43
[ "BSD-3-Clause" ]
1
2022-03-16T06:34:47.000Z
2022-03-16T06:34:47.000Z
src/steamnetworkingsockets/clientlib/steamnetworkingsockets_udp.cpp
ArseniyShestakov/GameNetworkingSockets
e04a86de5408e0e9a3866876ddb3d3fc74bebd43
[ "BSD-3-Clause" ]
null
null
null
src/steamnetworkingsockets/clientlib/steamnetworkingsockets_udp.cpp
ArseniyShestakov/GameNetworkingSockets
e04a86de5408e0e9a3866876ddb3d3fc74bebd43
[ "BSD-3-Clause" ]
1
2021-03-04T11:36:26.000Z
2021-03-04T11:36:26.000Z
//====== Copyright Valve Corporation, All rights reserved. ==================== #include "steamnetworkingsockets_udp.h" #include "steamnetworkingconfig.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" const int k_cbSteamNetworkingMinPaddedPacketSize = 512; // Put everything...
35.175165
223
0.742671
[ "render", "object" ]
91675218ba6057f7346d38970026c5055ca37d6f
1,841
cc
C++
codechef/aug18a/kcompres.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
codechef/aug18a/kcompres.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
codechef/aug18a/kcompres.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://www.codechef.com/AUG18A/problems/KCOMPRES #include <algorithm> #include <iostream> #include <tuple> #include <vector> using namespace std; typedef long long ll; typedef tuple<ll, ll> ii; typedef vector<ll> vi; typedef vector<ii> vii; vi tree; ll n, nn; void update(ll k, ll v) { ll i = k + nn; tree[i]...
19.795699
69
0.384574
[ "vector" ]
9167d5c3f98f7f870ecb0368701eb2ad5506d146
10,214
cpp
C++
isis/src/base/objs/Sinusoidal/Sinusoidal.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2019-10-13T15:31:33.000Z
2019-10-13T15:31:33.000Z
isis/src/base/objs/Sinusoidal/Sinusoidal.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
null
null
null
isis/src/base/objs/Sinusoidal/Sinusoidal.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2021-07-12T06:05:03.000Z
2021-07-12T06:05:03.000Z
/** * @file * $Revision: 1.4 $ * $Date: 2008/05/09 18:49:25 $ * * Unless noted otherwise, the portions of Isis written by the USGS are public * domain. See individual third-party library and package descriptions for * intellectual property information,user agreements, and related information. * * Altho...
32.737179
81
0.666536
[ "object" ]
91692943f6c8b702c71d0973139fadab1e194dcb
19,502
cpp
C++
applications/RANSApplication/tests/cpp/evm_k_epsilon/test_rans_evm_k_epsilon_conditions.cpp
HubertBalcerzak/Kratos
c15689d53f06dabb36dc44c13eeac73d3e183916
[ "BSD-4-Clause" ]
null
null
null
applications/RANSApplication/tests/cpp/evm_k_epsilon/test_rans_evm_k_epsilon_conditions.cpp
HubertBalcerzak/Kratos
c15689d53f06dabb36dc44c13eeac73d3e183916
[ "BSD-4-Clause" ]
null
null
null
applications/RANSApplication/tests/cpp/evm_k_epsilon/test_rans_evm_k_epsilon_conditions.cpp
HubertBalcerzak/Kratos
c15689d53f06dabb36dc44c13eeac73d3e183916
[ "BSD-4-Clause" ]
null
null
null
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: // // System includes #include <functional> #includ...
40.713987
107
0.673931
[ "vector", "model", "3d" ]
916b6e16787f44c8a040c43082861da9b1f729ab
16,905
hpp
C++
Cbc/Clp/src/CbcOrClpParam.hpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
Cbc/Clp/src/CbcOrClpParam.hpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
Cbc/Clp/src/CbcOrClpParam.hpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
/* $Id: CbcOrClpParam.hpp 2389 2019-02-07 19:48:00Z unxusr $ */ // Copyright (C) 2002, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #ifdef USE_CBCCONFIG #include "CbcConfig.h" #else #include "ClpConfig.h"...
30.459459
102
0.770305
[ "vector", "model" ]
9176703788e0ecf4adcdbac6afae85a0ebccc3c4
3,031
hpp
C++
Tareas/T1_II_3/include/VecR3.hpp
Mohs9/Lab-Avanzado
af4073b0706a0279df4c31ca493162e3b5465461
[ "MIT" ]
null
null
null
Tareas/T1_II_3/include/VecR3.hpp
Mohs9/Lab-Avanzado
af4073b0706a0279df4c31ca493162e3b5465461
[ "MIT" ]
null
null
null
Tareas/T1_II_3/include/VecR3.hpp
Mohs9/Lab-Avanzado
af4073b0706a0279df4c31ca493162e3b5465461
[ "MIT" ]
null
null
null
/* * VecR3.hpp: Definicion de la clase VecR3 * * Tarea para el curso de laboratorio Avanzado * * Rubí Esmeralda Ramírez Milián * */ #ifndef __VECR3_HPP__ #define __VECR3_HPP__ #include <iostream> #include <string> /* Clase VecR3: Vectores en R3. Internamente * se representa en forma cartesiana. */ clas...
27.807339
69
0.642692
[ "vector" ]
9177cfc7fdf8e68145cbec711f6db4586340dccc
1,982
hpp
C++
include/geometry/io/gplotly_actor.hpp
hyperpower/CarpioPlus
68cc6c976d6c3ba6adec847a94c344be3f4690aa
[ "MIT" ]
null
null
null
include/geometry/io/gplotly_actor.hpp
hyperpower/CarpioPlus
68cc6c976d6c3ba6adec847a94c344be3f4690aa
[ "MIT" ]
1
2018-06-18T03:52:56.000Z
2018-06-18T03:52:56.000Z
include/geometry/io/gplotly_actor.hpp
hyperpower/CarpioPlus
68cc6c976d6c3ba6adec847a94c344be3f4690aa
[ "MIT" ]
null
null
null
#ifndef _GEOMETRY_PLOTLY_ACTOR_HPP_ #define _GEOMETRY_PLOTLY_ACTOR_HPP_ #include "geometry/geometry_define.hpp" #include <array> #include "geometry/objects/objects.hpp" #include "io/plotly.hpp" #include <memory> #include <cmath> namespace carpio { using namespace PlotlyActor; template<typename TYPE, St DIM> class G...
24.170732
71
0.726034
[ "geometry" ]
917b7ce7e3aad9041eab45b4d4ad40b8088dc7a9
3,849
cpp
C++
dev/test/so_5/coop/user_resource/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
null
null
null
dev/test/so_5/coop/user_resource/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
1
2019-10-09T06:43:08.000Z
2019-10-09T06:43:08.000Z
dev/test/so_5/coop/user_resource/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
null
null
null
/* * A test for deallocating user resources. */ #include <iostream> #include <sstream> #include <so_5/all.hpp> #include <test/3rd_party/various_helpers/time_limited_execution.hpp> struct sequence_holder_t { typedef std::vector< int > vec_t; vec_t m_sequence; }; const int ID_COOP = 1; const int ID_RESOURCE = 2...
18.77561
72
0.663549
[ "vector" ]
917c3fc6e5193c9866da082473502a372d64b52f
2,289
hpp
C++
src/Graphics/GraphicsDevice.hpp
ariabonczek/NewLumina
f35cf7f449cfbe191e03e1d5f1c9973cc0b44a8e
[ "MIT" ]
2
2017-01-08T21:30:45.000Z
2017-01-16T10:10:12.000Z
src/Graphics/GraphicsDevice.hpp
ariabonczek/NewLumina
f35cf7f449cfbe191e03e1d5f1c9973cc0b44a8e
[ "MIT" ]
null
null
null
src/Graphics/GraphicsDevice.hpp
ariabonczek/NewLumina
f35cf7f449cfbe191e03e1d5f1c9973cc0b44a8e
[ "MIT" ]
null
null
null
//-------------------------------------- // LuminaEngine belongs to Aria Bonczek //-------------------------------------- #ifndef GRAPHICSDEVICE_HPP #define GRAPHICSDEVICE_HPP #include <Core\Common.hpp> #include <Config.hpp> NS_BEGIN class Window; #if DX11 struct DisplayBuffer { ID3D11Texture2D* depthBuffer; ID3D...
21
87
0.732197
[ "render" ]
9181c20788b02d2fbb24a298d5f2e925ed88692b
2,219
cpp
C++
core/src/render/geometry.cpp
TerraGraphics/TerraEngine
874165a22ab7dd3774a6cfdeb023485a552d9860
[ "Apache-2.0" ]
5
2019-12-24T21:43:13.000Z
2020-06-16T03:44:16.000Z
core/src/render/geometry.cpp
TerraGraphics/TerraEngine
874165a22ab7dd3774a6cfdeb023485a552d9860
[ "Apache-2.0" ]
null
null
null
core/src/render/geometry.cpp
TerraGraphics/TerraEngine
874165a22ab7dd3774a6cfdeb023485a552d9860
[ "Apache-2.0" ]
1
2020-03-30T00:17:27.000Z
2020-03-30T00:17:27.000Z
#include "core/render/geometry.h" #include "dg/context.h" #include "dg/graphics_types.h" #include "core/render/index_buffer.h" #include "core/render/vertex_buffer.h" Geometry::Geometry(uint16_t vDeclId) : m_vDeclId(vDeclId) { } Geometry::~Geometry() { } GeometryUnindexed::GeometryUnindexed(const std::shared_...
28.088608
137
0.75845
[ "geometry", "render" ]
9182020c9f3cc180b9e6a9521a261e7ab50e0ad3
41,032
cpp
C++
bson.cpp
mongodb-labs/mongo-hhvm-driver
382df3e6fb5bf3454fd8aadf24617c039afafd08
[ "Apache-2.0" ]
30
2015-10-26T07:08:21.000Z
2022-01-21T00:02:31.000Z
bson.cpp
mongodb/mongo-hhvm-driver
382df3e6fb5bf3454fd8aadf24617c039afafd08
[ "Apache-2.0" ]
111
2015-10-29T13:22:45.000Z
2021-12-22T15:37:10.000Z
bson.cpp
mongodb-labs/mongo-hhvm-driver-prototype
382df3e6fb5bf3454fd8aadf24617c039afafd08
[ "Apache-2.0" ]
16
2015-11-11T18:41:54.000Z
2021-03-02T10:56:10.000Z
/** * Copyright 2015 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
30.851128
178
0.729138
[ "object" ]
91828b5ed8f420b02176d05f96b08537c2e7ec75
938
hpp
C++
mason_packages/headers/vtzero/1.0.0/include/vtzero/version.hpp
shiwan66/vtvalidate-pbf
46e192c47af5ecfce9e91e78d5eadfed408e39ee
[ "BSD-2-Clause" ]
null
null
null
mason_packages/headers/vtzero/1.0.0/include/vtzero/version.hpp
shiwan66/vtvalidate-pbf
46e192c47af5ecfce9e91e78d5eadfed408e39ee
[ "BSD-2-Clause" ]
1
2020-04-05T05:37:58.000Z
2020-04-05T05:37:58.000Z
mason_packages/headers/vtzero/1.0.0/include/vtzero/version.hpp
shiwan66/vtvalidate-pbf
46e192c47af5ecfce9e91e78d5eadfed408e39ee
[ "BSD-2-Clause" ]
null
null
null
#ifndef VTZERO_VERSION_HPP #define VTZERO_VERSION_HPP /***************************************************************************** vtzero - Tiny and fast vector tile decoder and encoder in C++. This file is from https://github.com/mapbox/vtzero where you can find more documentation. ******************************...
25.351351
78
0.600213
[ "vector" ]
91842d47559907e2dad33a745240fb96b0c3ab25
1,730
cpp
C++
softrender/engine/scene.cpp
Buzzefall/softrender
48a3e8685e72bbf2093d8e9bae22251d6dc14662
[ "Unlicense" ]
null
null
null
softrender/engine/scene.cpp
Buzzefall/softrender
48a3e8685e72bbf2093d8e9bae22251d6dc14662
[ "Unlicense" ]
null
null
null
softrender/engine/scene.cpp
Buzzefall/softrender
48a3e8685e72bbf2093d8e9bae22251d6dc14662
[ "Unlicense" ]
null
null
null
#include <softrender/engine/scene.h> #include <softrender/graphics/screen.h> #include <softrender/graphics/core.h> #include <softrender/utils/utils.h> Vec3 default_viewpoint = {0, 1, 2}; Vec3 default_target = {0, 0, 0}; Vec3 default_camera_orientation = {0, -1, 0}; Vec3 default_light_dir = {0, 0, 1}; Scene...
30.350877
111
0.706358
[ "render", "vector", "model" ]
91876c324744a11cbccd58aa9b4b92410a05ab8a
4,539
cc
C++
hybridse/examples/toydb/src/cmd/toydb_run_engine.cc
lotabout/OpenMLDB
432da3afbed240eb0b8d0571c05f233b1a5a1cd4
[ "Apache-2.0" ]
1
2021-11-01T10:16:37.000Z
2021-11-01T10:16:37.000Z
hybridse/examples/toydb/src/cmd/toydb_run_engine.cc
lotabout/OpenMLDB
432da3afbed240eb0b8d0571c05f233b1a5a1cd4
[ "Apache-2.0" ]
14
2021-04-30T06:14:30.000Z
2022-01-07T22:45:09.000Z
hybridse/examples/toydb/src/cmd/toydb_run_engine.cc
lotabout/OpenMLDB
432da3afbed240eb0b8d0571c05f233b1a5a1cd4
[ "Apache-2.0" ]
1
2021-04-30T06:28:46.000Z
2021-04-30T06:28:46.000Z
/* * Copyright 2021 4Paradigm * * 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 ...
37.204918
80
0.695087
[ "vector" ]
91890f6a1267ce7a3f0ef547dffc289e198bd8e2
1,372
hh
C++
elements/ethernet/etherencap.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
32
2017-11-02T12:33:21.000Z
2022-02-07T22:25:58.000Z
elements/ethernet/etherencap.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
2
2019-02-18T08:47:16.000Z
2019-05-24T14:41:23.000Z
elements/ethernet/etherencap.hh
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
10
2018-06-13T11:54:53.000Z
2020-09-08T06:52:43.000Z
#ifndef CLICK_ETHERENCAP_HH #define CLICK_ETHERENCAP_HH #include <click/element.hh> #include <clicknet/ether.h> CLICK_DECLS /* =c EtherEncap(ETHERTYPE, SRC, DST) =s ethernet encapsulates packets in Ethernet header =d Encapsulates each packet in the Ethernet header specified by its arguments. ETHERTYPE should be i...
18.794521
75
0.73105
[ "vector" ]
92636f2c850bdab4dbf979c376046edffb183933
351
cpp
C++
lab4/gardurile lui gigel/main.cpp
mihaimusat/PA-labs-2019
113e833dc7fbe2bd5455e2552dde1d8b20931db9
[ "MIT" ]
null
null
null
lab4/gardurile lui gigel/main.cpp
mihaimusat/PA-labs-2019
113e833dc7fbe2bd5455e2552dde1d8b20931db9
[ "MIT" ]
null
null
null
lab4/gardurile lui gigel/main.cpp
mihaimusat/PA-labs-2019
113e833dc7fbe2bd5455e2552dde1d8b20931db9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define mod 1009 using namespace std; int main() { ifstream fin("a.in"); ofstream fout("a.out"); int n; fin>>n; vector<int> dp(n+1); dp[1]=1; dp[2]=1; dp[3]=1; dp[4]=2; for(int i=5; i<=n; i++) { dp[i]=(dp[i-1]+dp[i-4]) % mod; } fout...
12.535714
38
0.464387
[ "vector" ]
92662265d6bcb338ca9e46e1163b2abc178c0501
815
cpp
C++
Array/106. Construct Binary Tree from Inorder and Postorder Traversal.cpp
YuPeize/LeetCode-
b01d00f28e1eedcb04aee9eca984685bd9d52791
[ "MIT" ]
2
2019-10-28T06:40:09.000Z
2022-03-09T10:50:06.000Z
Array/106. Construct Binary Tree from Inorder and Postorder Traversal.cpp
sumiya-NJU/LeetCode
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
null
null
null
Array/106. Construct Binary Tree from Inorder and Postorder Traversal.cpp
sumiya-NJU/LeetCode
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
1
2018-12-09T13:46:06.000Z
2018-12-09T13:46:06.000Z
/* 和上题第二种方法一样,参考了别人的方法 */ class Solution { public: map<int,int>m; TreeNode*Helper(vector<int>& inorder, vector<int>& postorder,int first, int end,int pos,int cur){ TreeNode*result = new TreeNode(postorder[cur]); int temp = m[postorder[cur]]; if(temp>first) result->left = Helper(ino...
30.185185
101
0.620859
[ "vector" ]
9268d9cba5c96ea5b6d70b06f00f2cbfbd793872
9,971
cpp
C++
hphp/runtime/vm/jit/vasm-block-counters.cpp
cobbles/hhvm
583f879c7e1be697b1695a4506dd2f7171b921d0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/vm/jit/vasm-block-counters.cpp
cobbles/hhvm
583f879c7e1be697b1695a4506dd2f7171b921d0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/runtime/vm/jit/vasm-block-counters.cpp
cobbles/hhvm
583f879c7e1be697b1695a4506dd2f7171b921d0
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
35.483986
84
0.610671
[ "vector" ]
926d694d2520eb8ca0e41ac3ca7c4858ef905f05
6,119
cpp
C++
test/reverse_iter.cpp
setine/stl_interfaces
c47f91507e75574278e0167accdcb28a0d1bf136
[ "BSL-1.0" ]
null
null
null
test/reverse_iter.cpp
setine/stl_interfaces
c47f91507e75574278e0167accdcb28a0d1bf136
[ "BSL-1.0" ]
null
null
null
test/reverse_iter.cpp
setine/stl_interfaces
c47f91507e75574278e0167accdcb28a0d1bf136
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2019 T. Zachary Laine // // 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 <boost/stl_interfaces/iterator_interface.hpp> #include <boost/stl_interfaces/reverse_iterator.hpp> #include <gte...
25.710084
77
0.521164
[ "vector" ]
927d0cf74198099352d6e939be2fcf401e2d064d
5,744
cc
C++
dacbench/envs/rl-plan/fast-downward/src/search/cegar/additive_cartesian_heuristic.cc
ndangtt/LeadingOnesDAC
953747d8702f179851d7973c65779a1f830e03a1
[ "Apache-2.0" ]
1
2022-02-23T15:26:11.000Z
2022-02-23T15:26:11.000Z
dacbench/envs/rl-plan/fast-downward/src/search/cegar/additive_cartesian_heuristic.cc
ndangtt/LeadingOnesDAC
953747d8702f179851d7973c65779a1f830e03a1
[ "Apache-2.0" ]
null
null
null
dacbench/envs/rl-plan/fast-downward/src/search/cegar/additive_cartesian_heuristic.cc
ndangtt/LeadingOnesDAC
953747d8702f179851d7973c65779a1f830e03a1
[ "Apache-2.0" ]
null
null
null
#include "additive_cartesian_heuristic.h" #include "cartesian_heuristic_function.h" #include "cost_saturation.h" #include "types.h" #include "utils.h" #include "../option_parser.h" #include "../plugin.h" #include "../utils/logging.h" #include "../utils/markup.h" #include "../utils/rng.h" #include "../utils/rng_optio...
36.35443
84
0.659645
[ "vector", "transform" ]
927d205b8677f04db619b17766d88e092c245a62
21,568
cc
C++
libdrizzle/statement_param.cc
andreas-bok-sociomantic/libdrizzle-redux-5.2
686996f2fce5f41d669a08f9f766c65f43291530
[ "BSD-3-Clause" ]
null
null
null
libdrizzle/statement_param.cc
andreas-bok-sociomantic/libdrizzle-redux-5.2
686996f2fce5f41d669a08f9f766c65f43291530
[ "BSD-3-Clause" ]
null
null
null
libdrizzle/statement_param.cc
andreas-bok-sociomantic/libdrizzle-redux-5.2
686996f2fce5f41d669a08f9f766c65f43291530
[ "BSD-3-Clause" ]
null
null
null
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Drizzle Client & Protocol Library * * Copyright (C) 2012-2013 Drizzle Developer Group * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * me...
32.878049
223
0.732984
[ "object" ]
927edc3d260bc06ae76025fa2cc2eb0eda0bee79
1,243
cpp
C++
Lumos/Source/Lumos/Core/LMLog.cpp
perefm/Lumos
2f0ae4d0bad1447b5318043500751be1753666a2
[ "MIT" ]
672
2019-01-29T18:14:40.000Z
2022-03-31T20:38:40.000Z
Lumos/Source/Lumos/Core/LMLog.cpp
gameconstructer/Lumos
92f6e812fdfc9404bf557e131679ae9071f25c80
[ "MIT" ]
25
2019-10-05T17:16:13.000Z
2021-12-29T01:40:04.000Z
Lumos/Source/Lumos/Core/LMLog.cpp
gameconstructer/Lumos
92f6e812fdfc9404bf557e131679ae9071f25c80
[ "MIT" ]
83
2019-03-13T14:11:12.000Z
2022-03-30T02:52:49.000Z
#include "Precompiled.h" #include "LMLog.h" #include <spdlog/sinks/rotating_file_sink.h> #include <spdlog/sinks/stdout_color_sinks.h> namespace Lumos::Debug { std::shared_ptr<spdlog::logger> Log::s_CoreLogger; std::vector<spdlog::sink_ptr> sinks; void Log::OnInit() { sinks.emplace_back(std::m...
28.906977
116
0.6428
[ "vector" ]
928086a430569621c22847400f4fdd41b2c473fc
34,626
cc
C++
src/Buffer.cc
rohankumardubey/ramcloud
3a30ba5edc4a81d5e12ab20fda0360cb9bacf50f
[ "0BSD" ]
5
2015-11-14T16:49:06.000Z
2019-09-03T13:21:30.000Z
src/Buffer.cc
rohankumardubey/ramcloud
3a30ba5edc4a81d5e12ab20fda0360cb9bacf50f
[ "0BSD" ]
null
null
null
src/Buffer.cc
rohankumardubey/ramcloud
3a30ba5edc4a81d5e12ab20fda0360cb9bacf50f
[ "0BSD" ]
1
2018-02-25T11:16:27.000Z
2018-02-25T11:16:27.000Z
/* Copyright (c) 2010 Stanford University * * Permission to use, copy, modify, and distribute this software for any purpose * with or without fee is hereby granted, provided that the above copyright * notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI...
32.914449
80
0.637094
[ "object" ]
92837aab7103abd04ee8c594f31c03330117c9ad
1,295
cpp
C++
algorithms/C++/Knapsack/0-1Knapsack.cpp
herrphon/Algorithms_Example
90091844a8320822356143c6d23de6721a8e3d61
[ "Apache-2.0" ]
315
2017-12-01T03:55:57.000Z
2022-03-22T11:37:28.000Z
algorithms/C++/Knapsack/0-1Knapsack.cpp
herrphon/Algorithms_Example
90091844a8320822356143c6d23de6721a8e3d61
[ "Apache-2.0" ]
342
2018-07-22T15:21:18.000Z
2021-10-05T08:03:10.000Z
algorithms/C++/Knapsack/0-1Knapsack.cpp
herrphon/Algorithms_Example
90091844a8320822356143c6d23de6721a8e3d61
[ "Apache-2.0" ]
349
2017-10-04T06:01:57.000Z
2017-11-28T07:29:26.000Z
//Solved using Dynamic Programming approach //Time Complexity - O(n*w) //Space Complexity - 0(n*w) #include <bits/stdc++.h> using namespace std; //greedy function that returns max. value that can be pushed in the knapsack int knapSack(int W, vector<int> value, vector<int> weight, int n) { int dp[n + 1][W ...
24.903846
91
0.457143
[ "vector" ]
928ba151d22ab48c93fb76ffea394c9065a127df
15,396
cpp
C++
src/link/DataCallback.cpp
dneuge/cvr
516547dca0672c92aa4f4a37712e6135e7f6b011
[ "MIT" ]
null
null
null
src/link/DataCallback.cpp
dneuge/cvr
516547dca0672c92aa4f4a37712e6135e7f6b011
[ "MIT" ]
8
2016-07-24T19:59:06.000Z
2016-07-24T20:13:56.000Z
src/link/DataCallback.cpp
dneuge/cvr
516547dca0672c92aa4f4a37712e6135e7f6b011
[ "MIT" ]
null
null
null
#include "DataCallback.h" #include <time.h> #include <math.h> #include "TimedPacket.h" // TODO: figure out if there's a better way to include that file on compilation - it's not a lib // needs to stay prefixed with link/ or building via CMake will not find // the file due to different include search path within buil...
34.911565
173
0.575539
[ "object", "vector" ]
928f20bbf2660686a58c9879f6761fd6a4fcc1a7
1,306
hpp
C++
libs/core/include/fcppt/math/vector/std_hash.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/vector/std_hash.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/vector/std_hash.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // 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_MATH_VECTOR_STD_HASH_HPP_INCLUDED #define FCPPT_MATH_VECTOR_STD_HASH_HPP_INCLUDED #...
17.890411
61
0.718224
[ "object", "vector" ]
9295f9f8d198397b568b7f65657ef3c4f14f030c
3,508
cpp
C++
teaching/quickselect/main.cpp
anianruoss/DNA
0245c7d23f51e7c637aee44691828ee290fd64d6
[ "MIT" ]
null
null
null
teaching/quickselect/main.cpp
anianruoss/DNA
0245c7d23f51e7c637aee44691828ee290fd64d6
[ "MIT" ]
null
null
null
teaching/quickselect/main.cpp
anianruoss/DNA
0245c7d23f51e7c637aee44691828ee290fd64d6
[ "MIT" ]
1
2017-03-31T10:07:32.000Z
2017-03-31T10:07:32.000Z
#include <algorithm> #include <cassert> #include <iomanip> #include <iostream> #include <random> #include <vector> size_t sep = 20; class QuickSelect { public: using Iterator = std::vector<int>::iterator; QuickSelect(const std::vector<int>& a) : v(a) {} int select(size_t k, bool naive) { step...
24.027397
71
0.440707
[ "vector" ]
9296a6d1410f72d00efcf8c249bdd8a037b8b4be
42,360
cpp
C++
src/qt/qtbase/src/plugins/platforms/xcb/qxcbdrag.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/plugins/platforms/xcb/qxcbdrag.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/plugins/platforms/xcb/qxcbdrag.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commerc...
33.806864
147
0.615297
[ "geometry", "object" ]
929717a6b07c341db32135c6b139334ef53f482c
16,061
cpp
C++
legacyapi/Parser.cpp
marcusspangenberg/SymphonyMediaBridge
b46eb38ec5585e1280720a20170ef505fdd2a4c9
[ "Apache-2.0" ]
13
2021-11-24T09:55:32.000Z
2022-03-25T12:29:50.000Z
legacyapi/Parser.cpp
marcusspangenberg/SymphonyMediaBridge
b46eb38ec5585e1280720a20170ef505fdd2a4c9
[ "Apache-2.0" ]
10
2021-11-23T15:21:41.000Z
2022-03-28T08:37:59.000Z
legacyapi/Parser.cpp
marcusspangenberg/SymphonyMediaBridge
b46eb38ec5585e1280720a20170ef505fdd2a4c9
[ "Apache-2.0" ]
4
2021-11-23T14:58:44.000Z
2022-03-13T12:11:00.000Z
#include "legacyapi/Parser.h" #include "utils/Base64.h" namespace { template <typename T> void setIfExists(utils::Optional<T>& target, const nlohmann::json& data, const char* name) { if (data.find(name) != data.end()) { target.set(data[name].get<typename utils::Optional<T>::ValueType>()); } } tem...
39.365196
116
0.498973
[ "vector" ]
92974e045f72f68df7e76339dde53072bb89b344
3,750
cpp
C++
video_file_hdl/src/video_file_hdl.cpp
majorx234/qt_videocam_hough
bb8c5ac8045a1d312e3428705967960496688846
[ "BSD-2-Clause" ]
null
null
null
video_file_hdl/src/video_file_hdl.cpp
majorx234/qt_videocam_hough
bb8c5ac8045a1d312e3428705967960496688846
[ "BSD-2-Clause" ]
null
null
null
video_file_hdl/src/video_file_hdl.cpp
majorx234/qt_videocam_hough
bb8c5ac8045a1d312e3428705967960496688846
[ "BSD-2-Clause" ]
null
null
null
#include "video_file_hdl.hpp" #include <algorithm> #include <iostream> #include <iterator> #include <vector> #include <fstream> using namespace cv; using namespace std; VideoFile_hdl::VideoFile_hdl():imagecount(0) { } VideoFile_hdl::VideoFile_hdl(Size newVideoSize) : videoSize(newVideoSize),imagecount(0) { } Vid...
22.865854
114
0.6776
[ "vector" ]
9299a75ad3742a45455b4bd1ea9629689ce81a58
8,213
cpp
C++
dbms/src/Databases/DatabaseDictionary.cpp
margaritiko/ClickHouse
6f28e69e97c73a71091efa3dfc891c43371f2348
[ "Apache-2.0" ]
null
null
null
dbms/src/Databases/DatabaseDictionary.cpp
margaritiko/ClickHouse
6f28e69e97c73a71091efa3dfc891c43371f2348
[ "Apache-2.0" ]
null
null
null
dbms/src/Databases/DatabaseDictionary.cpp
margaritiko/ClickHouse
6f28e69e97c73a71091efa3dfc891c43371f2348
[ "Apache-2.0" ]
null
null
null
#include <Databases/DatabaseDictionary.h> #include <Interpreters/Context.h> #include <Interpreters/ExternalDictionariesLoader.h> #include <Storages/StorageDictionary.h> #include <common/logger_useful.h> #include <IO/WriteBufferFromString.h> #include <IO/Operators.h> #include <Parsers/ParserCreateQuery.h> #include <Pars...
32.983936
147
0.723244
[ "object" ]
929ef6167a7b50940930db9bb24feebac560242a
6,842
cpp
C++
RaiderEngine/GameObject2D.cpp
rystills/RaiderEngine
5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a
[ "MIT" ]
4
2019-07-20T08:41:04.000Z
2022-03-04T01:53:38.000Z
RaiderEngine/GameObject2D.cpp
rystills/RaiderEngine
5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a
[ "MIT" ]
null
null
null
RaiderEngine/GameObject2D.cpp
rystills/RaiderEngine
5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "GameObject2D.hpp" #include "model.hpp" #include "settings.hpp" #include "Tilemap.hpp" GameObject2D::GameObject2D(glm::vec2 position, float rotation, glm::vec2 scale, glm::vec3 color, std::string spriteName, bool posIsCenter, float depth, Collider2D* collider) : position(position), rotati...
34.908163
213
0.714411
[ "model", "transform" ]
92a4ebfb6d986b00bef77b4fbf1a886ff10bfbc5
2,888
cc
C++
brave/renderer/extensions/content_settings_bindings.cc
destenson/brave--muon
80442e401dd3f78d55f78daf2f5f2d8505970296
[ "MIT" ]
null
null
null
brave/renderer/extensions/content_settings_bindings.cc
destenson/brave--muon
80442e401dd3f78d55f78daf2f5f2d8505970296
[ "MIT" ]
null
null
null
brave/renderer/extensions/content_settings_bindings.cc
destenson/brave--muon
80442e401dd3f78d55f78daf2f5f2d8505970296
[ "MIT" ]
null
null
null
// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "brave/renderer/extensions/content_settings_bindings.h" #include <string> #include <vector> #include "atom/common/native_mate_converters/string16_converter.h" #include "atom...
32.449438
74
0.709834
[ "vector" ]
92ae6afc4fce83178df5bb2d2decd3f75d6f304b
2,022
cpp
C++
aws-cpp-sdk-lex-models/source/model/StartMigrationResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-lex-models/source/model/StartMigrationResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-lex-models/source/model/StartMigrationResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/lex-models/model/StartMigrationResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aw...
23.241379
121
0.743323
[ "model" ]
92b0b427a626a0161acad11aec10acd3753742d3
2,231
hpp
C++
include/RavEngine/VirtualFileSystem.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
48
2020-11-18T23:14:25.000Z
2022-03-11T09:13:42.000Z
include/RavEngine/VirtualFileSystem.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
1
2020-11-17T20:53:10.000Z
2020-12-01T20:27:36.000Z
include/RavEngine/VirtualFileSystem.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
3
2020-12-22T02:40:39.000Z
2021-10-08T02:54:22.000Z
#pragma once #include <string> #include "Function.hpp" #include "DataStructures.hpp" #include "Utilities.hpp" #include "Debug.hpp" struct PHYSFS_File; namespace RavEngine{ class VirtualFilesystem { private: struct ptrsize{ PHYSFS_File* ptr = nullptr; size_t size = 0; }; const ptrsize ...
26.879518
86
0.647243
[ "vector" ]
92b1b75cb9d44a2e00f7d7c2b694c89e3f570527
6,427
cpp
C++
examples/piloting_telemetry/piloting_robot_telemetry_example.cpp
fada-catec/piloting-mavsdk
512316f0137b737323550b2b06ae014b6e9b2ae4
[ "BSD-3-Clause" ]
4
2021-04-12T09:21:10.000Z
2022-01-11T18:20:32.000Z
examples/piloting_telemetry/piloting_robot_telemetry_example.cpp
fada-catec/piloting-mavsdk
512316f0137b737323550b2b06ae014b6e9b2ae4
[ "BSD-3-Clause" ]
1
2021-11-02T09:30:23.000Z
2022-01-11T06:42:10.000Z
examples/piloting_telemetry/piloting_robot_telemetry_example.cpp
fada-catec/piloting-mavsdk
512316f0137b737323550b2b06ae014b6e9b2ae4
[ "BSD-3-Clause" ]
null
null
null
#include <chrono> #include <iostream> #include <thread> #include <mavsdk/mavsdk.h> #include <mavsdk/plugins/telemetry_robotic_vehicle/telemetry_robotic_vehicle.h> using namespace mavsdk; using namespace std::this_thread; using namespace std::chrono; #define ERROR_CONSOLE_TEXT "\033[31m" // Turn text on console red #...
38.951515
96
0.665163
[ "vector" ]
92b2154fbfe62334fdf0660423e7f1629e11a5f8
5,753
cc
C++
services/ui/ws/window_finder.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
services/ui/ws/window_finder.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
services/ui/ws/window_finder.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2015 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 "services/ui/ws/window_finder.h" #include "base/containers/adapters.h" #include "services/ui/ws/server_window.h" #include "services/ui/ws/server...
35.294479
80
0.681731
[ "geometry", "transform" ]
92b324197ee2dd57d15dc33c5b152d272c10f4da
5,947
cpp
C++
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Application resources and localization sample/C++/Scenario12.xaml.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Application resources and localization sample/C++/Scenario12.xaml.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Application resources and localization sample/C++/Scenario12.xaml.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. /...
46.826772
142
0.693795
[ "object", "vector" ]
92b79249535bd0f91020d649356ffa1870ba85b0
6,336
cpp
C++
native/examples/examples.cpp
wonderit/bootcamp
6c72a91521f35db865a6f30d1fec2be3b11be199
[ "MIT" ]
null
null
null
native/examples/examples.cpp
wonderit/bootcamp
6c72a91521f35db865a6f30d1fec2be3b11be199
[ "MIT" ]
null
null
null
native/examples/examples.cpp
wonderit/bootcamp
6c72a91521f35db865a6f30d1fec2be3b11be199
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #include "examples.h" #include <vector> #include <fstream> #include <iostream> #include <numeric> using namespace std; using namespace seal; void bootcamp_demo() { // CLIENT'S VIEW // Vector of inputs vect...
30.028436
108
0.522727
[ "vector" ]
92b7a65760d4ca46f6e486d7c256f88440fa188f
16,762
cc
C++
android_webview/browser/aw_pac_processor.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
android_webview/browser/aw_pac_processor.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
android_webview/browser/aw_pac_processor.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "android_webview/browser/aw_pac_processor.h" #include <android/multinetwork.h> #include <arpa/inet.h> #include <dlfcn.h> #include <netdb.h> #inc...
33.390438
80
0.68715
[ "vector" ]
92b8ae296eae53e894bf72f160e1a403c7aedd5d
4,841
hpp
C++
include/codegen/include/GlobalNamespace/HealthWarningViewController.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/HealthWarningViewController.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/HealthWarningViewController.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: HMUI.ViewController #include "HMUI/ViewController.hpp" ...
42.464912
142
0.746953
[ "object" ]
92ba5346ba2ae36e504b7826fbb8ce7bb2f50439
909
cpp
C++
Algorithms/1146.Snapshot_Array.cpp
metehkaya/LeetCode
52f4a1497758c6f996d515ced151e8783ae4d4d2
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/LeetCode/Problems/1146.Snapshot_Array.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/LeetCode/Problems/1146.Snapshot_Array.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
class SnapshotArray { public: int n; int nSnap; vector<vector<pair<int,int>>>v; SnapshotArray(int length) { nSnap=0; v.clear(); v.resize(n=length); for( int i = 0 ; i < n ; i++ ) v[i].push_back(make_pair(0,0)); } void set(int index, int val) { ...
25.25
53
0.453245
[ "vector" ]
92bb09b987d90a7ab043ec520433fd45b921c810
3,953
cc
C++
mcg/src/external/BSR/src/concurrent/threads/synchronization/synchronizables/synchronizable.cc
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
392
2015-01-14T13:19:40.000Z
2022-02-12T08:47:33.000Z
mcg/src/external/BSR/src/concurrent/threads/synchronization/synchronizables/synchronizable.cc
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
45
2015-02-03T12:16:10.000Z
2022-03-07T00:25:09.000Z
mcg/src/external/BSR/src/concurrent/threads/synchronization/synchronizables/synchronizable.cc
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
168
2015-01-05T02:29:53.000Z
2022-02-22T04:32:04.000Z
/* * Synchronizable interface. */ #include "concurrent/threads/synchronization/mutex.hh" #include "concurrent/threads/synchronization/synchronizables/synchronizable.hh" namespace concurrent { namespace threads { namespace synchronization { namespace synchronizables { /* * Imports. */ using concurrent::threads::syn...
21.71978
79
0.664559
[ "object" ]
92c251f1b5d759d9b6f1b4b5540aac5a17bfa047
902
cpp
C++
stl/priority-queue.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
3
2017-12-27T04:58:16.000Z
2018-02-05T14:11:06.000Z
stl/priority-queue.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
4
2018-10-04T07:45:07.000Z
2018-11-23T17:36:20.000Z
stl/priority-queue.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
8
2018-10-02T20:34:58.000Z
2018-10-07T14:27:53.000Z
#include <iostream> #include <queue> using namespace std; void showpq(priority_queue <pair<int,int>,vector< pair<int,int> > , greater<pair<int,int> > > gq) { priority_queue <pair<int,int >,vector< pair<int,int> > , greater<pair<int,int> > > g = gq; while (!g.empty()) { cout << '\t' << g.top().f...
24.378378
97
0.539911
[ "vector" ]
92c33a286abe009083a23f950782b9888d1c6bd5
14,108
cc
C++
chromeos/memory/pressure/pressure.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chromeos/memory/pressure/pressure.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chromeos/memory/pressure/pressure.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/memory/pressure/pressure.h" #include "base/files/file_util.h" #include "base/logging.h" #include "base/memory/singleton.h" #include "b...
36.931937
80
0.688191
[ "vector" ]
92c422e0d261694bbcd38fe97b0d518472146c53
240
cpp
C++
lib/vdf/DataMgrMOM.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/vdf/DataMgrMOM.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/vdf/DataMgrMOM.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
#include <limits> #include <cassert> #include <vapor/DataMgrMOM.h> using namespace VetsUtil; using namespace VAPoR; DataMgrMOM::DataMgrMOM( const vector <string> &files, size_t mem_size ) : DataMgr(mem_size), DCReaderMOM(files) { }
17.142857
42
0.741667
[ "vector" ]
2bb097af5c1bc3ccd3d675dc0e55da53c47df0f2
999
cpp
C++
STL/algorithm/move.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
STL/algorithm/move.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
STL/algorithm/move.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
#include <iostream> #include <vector> #include <algorithm> #include <string> using namespace std; class myClass { public: myClass(); myClass(const myClass& src); myClass(const string& src) : mStr(src) {} // Move assignment operator myClass& operator=(myClass&& rhs) noexcept{ if(this == &rh...
21.717391
70
0.593594
[ "vector" ]
2bb37f3b68790c93078576377851c730fc52c613
2,803
cpp
C++
src/process.cpp
edghyhdz/CppND-System-Monitor-Project-my_solution
4f1f0eae3c868c469d6a2e5b5f7c77090686b466
[ "MIT" ]
1
2020-12-25T18:43:10.000Z
2020-12-25T18:43:10.000Z
src/process.cpp
edghyhdz/CppND-System-Monitor-Project-my_solution
4f1f0eae3c868c469d6a2e5b5f7c77090686b466
[ "MIT" ]
null
null
null
src/process.cpp
edghyhdz/CppND-System-Monitor-Project-my_solution
4f1f0eae3c868c469d6a2e5b5f7c77090686b466
[ "MIT" ]
1
2021-03-24T23:53:46.000Z
2021-03-24T23:53:46.000Z
#include <unistd.h> #include <cctype> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cassert> #include "linux_parser.h" #include "process.h" using std::string; using std::to_string; using std::vector; // Class constructor Process::Process(int pid) : pid_(pid) {} // DONE: Retu...
30.467391
88
0.731716
[ "vector" ]
2bb3aba228398059085007601393c4699c19126d
2,170
cpp
C++
Test/MMO/StressTestClient/ScenarioStressTestClient.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
27
2015-01-08T08:26:29.000Z
2019-02-10T03:18:05.000Z
Test/MMO/StressTestClient/ScenarioStressTestClient.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
1
2017-04-05T02:02:14.000Z
2017-04-05T02:02:14.000Z
Test/MMO/StressTestClient/ScenarioStressTestClient.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
17
2015-01-18T02:50:01.000Z
2019-02-08T21:00:53.000Z
/* Author: Gudakov Ramil Sergeevich a.k.a. Gauss Гудаков Рамиль Сергеевич Contacts: [ramil2085@mail.ru, ramil2085@gmail.com] See for more information LICENSE.md. */ #include <boost/asio/ip/impl/address_v4.ipp> #include <boost/smart_ptr/scoped_array.hpp> #include <vector> #include <string.h> #include "BL_D...
27.820513
91
0.62212
[ "vector" ]
2bb6ce35de6a4ee6bcf0165ea986702ec0cf91a1
27,082
cpp
C++
samples/src/lgogdownloader/api.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
4
2018-06-15T12:54:10.000Z
2020-09-22T16:01:35.000Z
samples/src/lgogdownloader/api.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
null
null
null
samples/src/lgogdownloader/api.cpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
null
null
null
/* This program is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of the Do What The Fuck You Want * To Public License, Version 2, as published by Sam Hocevar. See * http://www.wtfpl.net/ for more details. */ #in...
38.855093
208
0.561665
[ "vector" ]
2bb816ea00b814bd6cff59df9018ce6e5b882e20
1,787
cpp
C++
Classes/ShipConfig.cpp
JoaoBaptMG/InfiniteSpaceExplorer
841fbf57e8bcab279a7b252dad1f4ef411c5cc47
[ "MIT" ]
2
2018-11-26T03:47:18.000Z
2019-01-12T10:07:58.000Z
Classes/ShipConfig.cpp
JoaoBaptMG/InfiniteSpaceExplorer
841fbf57e8bcab279a7b252dad1f4ef411c5cc47
[ "MIT" ]
null
null
null
Classes/ShipConfig.cpp
JoaoBaptMG/InfiniteSpaceExplorer
841fbf57e8bcab279a7b252dad1f4ef411c5cc47
[ "MIT" ]
1
2019-12-25T01:28:49.000Z
2019-12-25T01:28:49.000Z
// // ShipConfig.cpp // SpaceExplorer // // Created by João Baptista on 28/06/15. // // #include "ShipConfig.h" using namespace cocos2d; static std::vector<ShipConfig> configs; static bool init = false; void parseConfigValueVector(const ValueVector &configValueVector, std::vector<ShipConfig> &configs) { for ...
28.822581
101
0.637941
[ "vector" ]
2bbb88df4c650af04a1991c3249de4cb57ebd9e9
3,643
hpp
C++
libs/dkutf/review/dkutf_cdt.hpp
Goreli/DKCPPDEV
9436183d8b92fe62f32c3d227fa044c429724129
[ "MIT" ]
1
2019-10-27T13:26:55.000Z
2019-10-27T13:26:55.000Z
libs/dkutf/review/dkutf_cdt.hpp
Goreli/DKCPPDEV
9436183d8b92fe62f32c3d227fa044c429724129
[ "MIT" ]
null
null
null
libs/dkutf/review/dkutf_cdt.hpp
Goreli/DKCPPDEV
9436183d8b92fe62f32c3d227fa044c429724129
[ "MIT" ]
null
null
null
/* MIT License Copyright(c) 2019 David Krikheli 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, d...
37.173469
81
0.76146
[ "object" ]
2bc3ec3786d67d3b69e64c07542d75c00610fc4f
5,067
cpp
C++
FootSoldier.cpp
VadimKachevski/cpp-wargame
85d4c7c6170014bec08552907cdd5f3541cc4db8
[ "MIT" ]
null
null
null
FootSoldier.cpp
VadimKachevski/cpp-wargame
85d4c7c6170014bec08552907cdd5f3541cc4db8
[ "MIT" ]
null
null
null
FootSoldier.cpp
VadimKachevski/cpp-wargame
85d4c7c6170014bec08552907cdd5f3541cc4db8
[ "MIT" ]
null
null
null
#include "FootSoldier.hpp" #include "math.h" // namespace WarGame // { void FootSoldier::action(vector<vector<Soldier *>> &board, pair<int, int> dest) { double closest=board.size()*board.size(); int ci,cj; int found =0; for(int i=0;i<board.size();i++) { for(int j=0;j<board.size();j++) ...
35.93617
101
0.342412
[ "vector" ]
2bc507b6359a0dbe5b89e4bd5ad7a9457f5ecb1b
9,936
cpp
C++
main/PISupervisor/src/PIActionProcessDeviceLog.cpp
sim1st/endpointdlp
f5203f23e93b00c8242c45fa85c26d9b7419e50c
[ "Apache-2.0" ]
null
null
null
main/PISupervisor/src/PIActionProcessDeviceLog.cpp
sim1st/endpointdlp
f5203f23e93b00c8242c45fa85c26d9b7419e50c
[ "Apache-2.0" ]
null
null
null
main/PISupervisor/src/PIActionProcessDeviceLog.cpp
sim1st/endpointdlp
f5203f23e93b00c8242c45fa85c26d9b7419e50c
[ "Apache-2.0" ]
null
null
null
#ifndef _PIACTIONPROCESSDEVICELOG_CPP #define _PIACTIONPROCESSDEVICELOG_CPP #include <map> #include "PIActionProcessDeviceLog.h" #include "PIDocument.h" #include <sys/time.h> #include "sqlite3.h" //////////////////////////////////////// // CPIActionProcessDeviceLog CPIActionProcessDeviceLog::CPIActionP...
29.052632
125
0.688305
[ "vector" ]
2bcbae76ea313836091478fd6e40f3d2897bb599
2,142
cpp
C++
a3-courses/main.cpp
dontdropmybass/a3-courses
f1b3fba1b3447c08e57239619a872079f5cda71e
[ "WTFPL" ]
null
null
null
a3-courses/main.cpp
dontdropmybass/a3-courses
f1b3fba1b3447c08e57239619a872079f5cda71e
[ "WTFPL" ]
null
null
null
a3-courses/main.cpp
dontdropmybass/a3-courses
f1b3fba1b3447c08e57239619a872079f5cda71e
[ "WTFPL" ]
null
null
null
// // main.cpp // a3-courses // // Created by Alexander Cochrane 2016-10-31 // #include "Student.hpp" #include <stdio.h> #include <stdlib.h> #include <iostream> using namespace std; // overloaded << operator // // used to output a student object // // example: // // Student Alex: // // Courses:...
22.547368
76
0.542017
[ "object" ]
2bdaa109d7372bffd9a477b6b0b6a710e3f1c1e8
593
cpp
C++
app/core/post/main.cpp
C0PEP0D/sheld0n
497d4ee8b6b1815cd5fa1b378d1b947ee259f4bc
[ "MIT" ]
null
null
null
app/core/post/main.cpp
C0PEP0D/sheld0n
497d4ee8b6b1815cd5fa1b378d1b947ee259f4bc
[ "MIT" ]
null
null
null
app/core/post/main.cpp
C0PEP0D/sheld0n
497d4ee8b6b1815cd5fa1b378d1b947ee259f4bc
[ "MIT" ]
null
null
null
// app includes // // env #include "core/env/core.h" #include "param/env/parameters.h" // // objects #include "core/env/objects/core.h" #include "param/env/objects/parameters.h" // // post #include "core/post/core.h" #include "param/post/parameters.h" // // post objects #include "param/post/objects/parameters.h" // // ...
28.238095
148
0.711636
[ "mesh" ]
2bdc298889060515bda5d5528b94d3e344c7c098
20,074
cpp
C++
MogaSerial_MFC/MogaSerialDlg.cpp
kvanderlaag/MogaSerial
dce4df5e814af7637f4fd7388e26b07ba2092441
[ "MIT" ]
null
null
null
MogaSerial_MFC/MogaSerialDlg.cpp
kvanderlaag/MogaSerial
dce4df5e814af7637f4fd7388e26b07ba2092441
[ "MIT" ]
null
null
null
MogaSerial_MFC/MogaSerialDlg.cpp
kvanderlaag/MogaSerial
dce4df5e814af7637f4fd7388e26b07ba2092441
[ "MIT" ]
null
null
null
/* Moga serial to vJoy interface Copyright (c) Jake Montgomery. All rights reserved. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR ...
28.554765
176
0.704792
[ "model" ]
2bdef8511c39253a291ca8c08c509536d00645d7
10,339
cpp
C++
src/Illusion/Graphics/Instance.cpp
Simmesimme/illusion-3d
48520d87ea0677bb8852b20bb6fbfbe1a49402d2
[ "MIT" ]
8
2019-12-05T15:57:23.000Z
2022-01-19T19:37:23.000Z
src/Illusion/Graphics/Instance.cpp
Schneegans/illusion
48520d87ea0677bb8852b20bb6fbfbe1a49402d2
[ "MIT" ]
null
null
null
src/Illusion/Graphics/Instance.cpp
Schneegans/illusion
48520d87ea0677bb8852b20bb6fbfbe1a49402d2
[ "MIT" ]
1
2019-01-15T10:35:13.000Z
2019-01-15T10:35:13.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // // // _) | | _) This code may be used and modified under the terms // // | | | |...
37.190647
100
0.578779
[ "object", "vector" ]
2be937a7dd24d07d1d79f9475362533583ce8083
604
cpp
C++
tests/perf_unique_rolls.cpp
perim/libdicey
fd618b4bbc05cbafcdb5a388894789fafc99a1e9
[ "MIT" ]
4
2021-08-14T21:32:22.000Z
2021-09-03T17:52:39.000Z
tests/perf_unique_rolls.cpp
perim/libdicey
fd618b4bbc05cbafcdb5a388894789fafc99a1e9
[ "MIT" ]
null
null
null
tests/perf_unique_rolls.cpp
perim/libdicey
fd618b4bbc05cbafcdb5a388894789fafc99a1e9
[ "MIT" ]
null
null
null
#include "dice.h" #include <assert.h> #include <stdio.h> // test performance of the unique_rolls() call int main(int argc, char **argv) { seed s = seed_random(); uint64_t sum = 0; const std::vector<int> t { 1, 2, 3, 4 }; const roll_table* rt = roll_table_make(t); int results[4]; for (int i = 1; i < 50000; i++) ...
27.454545
152
0.662252
[ "vector" ]
2bead927915b87261c7c4f953e73a887751ec81a
12,859
cc
C++
chrome/renderer/media/chrome_key_systems.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/renderer/media/chrome_key_systems.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/renderer/media/chrome_key_systems.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/media/chrome_key_systems.h" #include <stddef.h> #include <string> #include <vector> #include "base/command_line.h" #include "...
36.427762
80
0.743526
[ "vector" ]
2beddbecb023e2390e652eb30ee302d788763e35
4,149
cpp
C++
src/DEX/Method.cpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
1
2022-02-26T00:28:52.000Z
2022-02-26T00:28:52.000Z
src/DEX/Method.cpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
null
null
null
src/DEX/Method.cpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 - 2022 R. Thomas * Copyright 2017 - 2022 Quarkslab * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
23.178771
83
0.657749
[ "transform" ]
9200e3a2297ec268a43fb9c50a2118ec1028eb41
3,397
hpp
C++
ext/src/java/util/stream/Stream.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/util/stream/Stream.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/util/stream/Stream.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <java/util/fwd-POI.hpp> #include <java/util/function/fwd-POI.hpp> #include <java/util/stream/fwd-POI.hpp> #include <java/util/stream/BaseStrea...
57.576271
185
0.691198
[ "object" ]
9201402f1ecac7bfc578bc22c4773a60e9a9480e
5,473
hpp
C++
include/VROSC/PercussionNode.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/VROSC/PercussionNode.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/VROSC/PercussionNode.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: VROSC.IntNode #include "VROSC/IntNo...
48.433628
174
0.734332
[ "vector" ]
921049e4f09bde2f3d10f9a2c7e728468bd7d134
3,463
cpp
C++
genetics/eval/gpuimage/ImageEvaluator.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
18
2017-04-26T13:53:43.000Z
2021-05-29T03:55:27.000Z
genetics/eval/gpuimage/ImageEvaluator.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
null
null
null
genetics/eval/gpuimage/ImageEvaluator.cpp
crest01/ShapeGenetics
7321f6484be668317ad763c0ca5e4d6cbfef8cd1
[ "MIT" ]
2
2017-10-17T10:32:01.000Z
2019-11-11T07:23:54.000Z
/* * VolumeEvaluator.cpp * * Created on: Dec 3, 2015 * Author: Karl Haubenwallner */ #include "ImageEvaluator.h" #include "ToTextureRendererInstanced.h" #include "Smoothstep.h" #include "Grammar_IF.h" #include "GeometryBufferInstanced.h" namespace PGA { namespace GPU { ImageEvaluator::ImageEvaluator(Proc...
29.347458
187
0.702281
[ "geometry" ]
92125acaf450989e631b008e9a7862417e4f6185
8,570
cpp
C++
SDK/Plugin/Transaction/Payload/OutputPayload/PayloadVote.cpp
fakecoinbase/elastosslashElastos.ELA.SPV.Cpp
b18eaeaa96e6c9049e3527c6e8b22a571aba35f6
[ "MIT" ]
11
2018-08-01T02:01:34.000Z
2019-09-15T23:31:40.000Z
SDK/Plugin/Transaction/Payload/OutputPayload/PayloadVote.cpp
chenyukaola/Elastos.ELA.SPV.Cpp
57b5264d4eb259439dd85aefc0455389551ee3cf
[ "MIT" ]
51
2018-07-16T09:41:14.000Z
2020-01-08T03:40:34.000Z
SDK/Plugin/Transaction/Payload/OutputPayload/PayloadVote.cpp
yiyaowen/ela-spvwallet-desktop
475095ee3c1f49bc7e23c5c341e959568d4f72b9
[ "MIT" ]
26
2018-07-12T02:34:46.000Z
2022-02-07T07:08:54.000Z
// Copyright (c) 2012-2018 The Elastos Open Source Project // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "PayloadVote.h" #include <Common/Utils.h> #include <Common/Log.h> #include <Common/ErrorChecker.h> namespace El...
25.430267
110
0.666628
[ "vector" ]
921f54d466a53d610f28c9d27282dc2e3b970549
11,093
cc
C++
test/cctest/test-api-accessors.cc
dumganhar/v8_fork
49ff8c1d2044b640c5907b91093cb0866bb23647
[ "BSD-3-Clause" ]
null
null
null
test/cctest/test-api-accessors.cc
dumganhar/v8_fork
49ff8c1d2044b640c5907b91093cb0866bb23647
[ "BSD-3-Clause" ]
null
null
null
test/cctest/test-api-accessors.cc
dumganhar/v8_fork
49ff8c1d2044b640c5907b91093cb0866bb23647
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "test/cctest/cctest.h" #include "include/v8-experimental.h" #include "include/v8.h" #include "src/api.h" #include "src/objects-inl.h" namespa...
30.475275
79
0.6011
[ "object" ]
921f84fc57de68a01a07b9d616fab2b618956e09
15,750
cc
C++
caffe2/video/bef_video/video_io.cc
KevinKecc/caffe2
a2b6c6e2f0686358a84277df65e9489fb7d9ddb2
[ "Apache-2.0" ]
null
null
null
caffe2/video/bef_video/video_io.cc
KevinKecc/caffe2
a2b6c6e2f0686358a84277df65e9489fb7d9ddb2
[ "Apache-2.0" ]
null
null
null
caffe2/video/bef_video/video_io.cc
KevinKecc/caffe2
a2b6c6e2f0686358a84277df65e9489fb7d9ddb2
[ "Apache-2.0" ]
23
2018-04-13T10:47:31.000Z
2021-05-06T08:38:06.000Z
/** * Copyright (c) 2016-present, Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
27.391304
80
0.615556
[ "vector" ]
9222b8ff5f4a76c9521c086a9b574ced11539620
2,941
cpp
C++
QtAndroidTools/QAndroidPlayStore.cpp
FalsinSoft/QtAndroidTools
d1da948d905d87f08fa49093233267a488549d83
[ "MIT" ]
184
2019-01-23T19:16:01.000Z
2022-03-26T15:24:19.000Z
QtAndroidTools/QAndroidPlayStore.cpp
ssakone/QtAndroidTools
783e2be3ea05b144772bce77bd987fe244253b90
[ "MIT" ]
34
2019-02-11T14:53:50.000Z
2022-03-16T19:41:28.000Z
QtAndroidTools/QAndroidPlayStore.cpp
ssakone/QtAndroidTools
783e2be3ea05b144772bce77bd987fe244253b90
[ "MIT" ]
55
2019-01-27T05:56:51.000Z
2022-01-11T07:15:36.000Z
/* * MIT License * * Copyright (c) 2018 Fabio Falsini <falsinsoft@gmail.com> * * 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 rig...
36.308642
121
0.646039
[ "object" ]
9222f54ec286c06262a4085428cf3ad22dcd9f7f
854
cpp
C++
utils/WeakSource.cpp
Skird/extractors
3c55d2c8377f465a4960861b7f358b18214f5ac3
[ "Apache-2.0" ]
1
2019-06-11T17:19:48.000Z
2019-06-11T17:19:48.000Z
utils/WeakSource.cpp
Skird/extractors
3c55d2c8377f465a4960861b7f358b18214f5ac3
[ "Apache-2.0" ]
null
null
null
utils/WeakSource.cpp
Skird/extractors
3c55d2c8377f465a4960861b7f358b18214f5ac3
[ "Apache-2.0" ]
null
null
null
#include <utility> #include "WeakSource.h" WeakSource::WeakSource(Bitstring data, double minEntropy, double error) : data_(std::move(data)), minEntropy_(minEntropy), error_(error) { } const Bitstring &WeakSource::getData() const { return data_; } double WeakSource::getMinEntropy() const { return minEnt...
25.117647
74
0.648712
[ "vector" ]
9222fa864f50caa0dc32e83a46a0e40e13d2e72d
2,204
hpp
C++
cpp/src/toppra/geometric_path/piecewise_poly_path.hpp
CICS-ICT/topprap
23fc43a970387b46362fe025a200482691e0c82e
[ "MIT" ]
1
2020-09-15T07:48:46.000Z
2020-09-15T07:48:46.000Z
cpp/src/toppra/geometric_path/piecewise_poly_path.hpp
CICS-ICT/topprap
23fc43a970387b46362fe025a200482691e0c82e
[ "MIT" ]
12
2019-07-26T16:02:18.000Z
2021-03-11T02:19:39.000Z
cpp/src/toppra/geometric_path/piecewise_poly_path.hpp
CICS-ICT/topprap
23fc43a970387b46362fe025a200482691e0c82e
[ "MIT" ]
1
2020-05-15T18:25:41.000Z
2020-05-15T18:25:41.000Z
#ifndef TOPPRA_PIECEWISE_POLY_PATH_HPP #define TOPPRA_PIECEWISE_POLY_PATH_HPP #include <toppra/geometric_path.hpp> #include <toppra/toppra.hpp> namespace toppra { /** * \brief Piecewise polynomial geometric path. * * An implemetation of a piecewise polynoamial geometric path. * * The coefficent vector has shape...
28.623377
87
0.685118
[ "shape", "vector" ]
92299fa16b763b5e2a30e26c403c528c6cc34bf7
3,439
cpp
C++
src/TcpIpClient.cpp
huckor/openssl
52c407eb08de63ed21c3b636360aac4bcfc59061
[ "MIT" ]
null
null
null
src/TcpIpClient.cpp
huckor/openssl
52c407eb08de63ed21c3b636360aac4bcfc59061
[ "MIT" ]
null
null
null
src/TcpIpClient.cpp
huckor/openssl
52c407eb08de63ed21c3b636360aac4bcfc59061
[ "MIT" ]
null
null
null
#include "TcpIpClient.h" #include <openssl/err.h> #include <openssl/rand.h> #include <openssl/ssl.h> #include "Log.h" #include "Conv.h" #include "Global.h" TcpIpClient::TcpIpClient() { _ReadTimeout = 10; _WriteTimeout = 10; _Conn = NULL; _Host = ""; _Port = ""; } TcpIpClient::~TcpIpClient() { ...
21.360248
104
0.57633
[ "vector" ]
922c411459300c3c5964284dff0c598399115ea1
33,648
cpp
C++
HonyarectX/HonyarectX/PMDActor.cpp
honyax/HonyarectX
2823207792299e1904346bfa7677bafbdc494be0
[ "MIT" ]
null
null
null
HonyarectX/HonyarectX/PMDActor.cpp
honyax/HonyarectX
2823207792299e1904346bfa7677bafbdc494be0
[ "MIT" ]
null
null
null
HonyarectX/HonyarectX/PMDActor.cpp
honyax/HonyarectX
2823207792299e1904346bfa7677bafbdc494be0
[ "MIT" ]
null
null
null
#include "PMDActor.h" #include "PMDRenderer.h" #include "Dx12Wrapper.h" #include <d3dx12.h> #include <array> #include <algorithm> using namespace Microsoft::WRL; using namespace std; using namespace DirectX; #pragma comment(lib,"winmm.lib") namespace { /// <summary> /// テクスチャのパスをセパレータ文字で分離する /// </summary> /// <...
31.62406
141
0.714099
[ "vector", "transform" ]
922cde2e3ec5016d7abed7e8010dbe99d53889c8
2,643
cc
C++
runtime/onert/backend/cpu/ops/SplitLayer.cc
krayzemli/ONE
b7b646825f0673415e7c14faf388c863210da052
[ "Apache-2.0" ]
null
null
null
runtime/onert/backend/cpu/ops/SplitLayer.cc
krayzemli/ONE
b7b646825f0673415e7c14faf388c863210da052
[ "Apache-2.0" ]
1
2020-09-23T23:12:23.000Z
2020-09-23T23:20:34.000Z
runtime/onert/backend/cpu/ops/SplitLayer.cc
krayzemli/ONE
b7b646825f0673415e7c14faf388c863210da052
[ "Apache-2.0" ]
null
null
null
/* * 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 * * Unle...
25.413462
98
0.676504
[ "shape", "vector" ]