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
10461147eae97696cf6f4acabe7897df9a0fe2e0
34,696
cpp
C++
src/rdmnet/broker/broker_core.cpp
RichardTea/RDMnet
fb48866be0396beb7875ba515ad966f19aa46350
[ "Apache-2.0" ]
null
null
null
src/rdmnet/broker/broker_core.cpp
RichardTea/RDMnet
fb48866be0396beb7875ba515ad966f19aa46350
[ "Apache-2.0" ]
null
null
null
src/rdmnet/broker/broker_core.cpp
RichardTea/RDMnet
fb48866be0396beb7875ba515ad966f19aa46350
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2019 ETC 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/l...
32.215413
120
0.647654
[ "vector" ]
104b7738788360980a631b708855915b8812818d
2,872
cpp
C++
dirpg_tsp/retsp/batched_heaps.cpp
GuyLor/attention-learn-to-route
d07d5c1465f7ee5d18651e23cfae9aa1f52a9c6c
[ "MIT" ]
null
null
null
dirpg_tsp/retsp/batched_heaps.cpp
GuyLor/attention-learn-to-route
d07d5c1465f7ee5d18651e23cfae9aa1f52a9c6c
[ "MIT" ]
null
null
null
dirpg_tsp/retsp/batched_heaps.cpp
GuyLor/attention-learn-to-route
d07d5c1465f7ee5d18651e23cfae9aa1f52a9c6c
[ "MIT" ]
null
null
null
#include "batched_heaps.h" #include<vector> using namespace std; void Heap::push(HeapNode new_node) { elements_.push_back(new_node); push_heap(elements_.begin(), elements_.end()); } HeapNode Heap::pop(){ HeapNode result = elements_.front(); pop_heap(elements_.begin(), elements_.end()); elemen...
27.883495
115
0.548747
[ "vector" ]
104c924e0999df0e1a814f1e7ae9e9a668e44b9d
14,057
cpp
C++
CustomTileSet.cpp
bilalCh213/Console-Platformer
87250d5c864d828b1111c94c96620e48a37f093b
[ "MIT" ]
null
null
null
CustomTileSet.cpp
bilalCh213/Console-Platformer
87250d5c864d828b1111c94c96620e48a37f093b
[ "MIT" ]
null
null
null
CustomTileSet.cpp
bilalCh213/Console-Platformer
87250d5c864d828b1111c94c96620e48a37f093b
[ "MIT" ]
null
null
null
/* FUNCTIONS FOR FRAMERUNNER: customTileSet(); notSolidTileSet(); tileProperties(); FUNCTIONS FOR INTERNAL USE: DrawTileLine(int, int, int, int, string, string); */ using namespace std; string h = "h"; string v = "v"; string r = "r"; string l = "l"; int maxL = 2; int maxR = 50; //Draw TileSet Line void DrawTileL...
23.78511
166
0.59337
[ "solid" ]
1051bac0944962fa3c3c3a2dc641000cd8298f2c
5,914
cc
C++
src/kudu/client/authz_token_cache.cc
shirodkara/kudu
1e39599b458c57c4016fc28680f2579d6472ce0b
[ "Apache-2.0" ]
1
2019-09-27T10:01:52.000Z
2019-09-27T10:01:52.000Z
src/kudu/client/authz_token_cache.cc
TingyLiang/kudu
8c14875659b7edd0f4353e945351eada8d5fb9e3
[ "Apache-2.0" ]
1
2021-02-23T19:20:32.000Z
2021-02-24T08:41:41.000Z
src/kudu/client/authz_token_cache.cc
TingyLiang/kudu
8c14875659b7edd0f4353e945351eada8d5fb9e3
[ "Apache-2.0" ]
null
null
null
// 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 you under the Apache License, Version 2.0 (the // "License"); you may...
36.506173
95
0.690396
[ "vector" ]
10558556fd00e0479ed8eb8a9c4b83eda6274a9b
22,929
cc
C++
src/samples/rsxgl_sample_base2/main.cc
williamblair/RSXGL
ffe01772456aac795961a0ab3532580f9cea84bb
[ "BSD-2-Clause" ]
5
2021-06-05T19:30:07.000Z
2021-07-05T20:22:34.000Z
src/samples/rsxgl_sample_base2/main.cc
williamblair/RSXGL
ffe01772456aac795961a0ab3532580f9cea84bb
[ "BSD-2-Clause" ]
null
null
null
src/samples/rsxgl_sample_base2/main.cc
williamblair/RSXGL
ffe01772456aac795961a0ab3532580f9cea84bb
[ "BSD-2-Clause" ]
1
2021-08-14T23:47:49.000Z
2021-08-14T23:47:49.000Z
/* * rsxgltest - host code * * I promise this won't become a rewrite of GLUT. In fact, I plan to switch to SDL soon. */ #include <EGL/egl.h> #define GL3_PROTOTYPES //#define _GNU_SOURCE #include <GL3/gl3.h> #include <GL3/rsxgl.h> #include <GL3/rsxgl3ext.h> #include <stddef.h> #include <net/net.h> #include <sysutil...
27.102837
162
0.628244
[ "geometry", "transform" ]
10565e142210b79ae468b75eadab26203c48be46
2,480
cpp
C++
third_party/skia_m63/third_party/externals/angle2/src/tests/gles_conformance_tests/gles_conformance_tests.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/angle/src/tests/gles_conformance_tests/gles_conformance_tests.cpp
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/angle/src/tests/gles_conformance_tests/gles_conformance_tests.cpp
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
#include "gles_conformance_tests.h" #include "GTFMain.h" #include <stdio.h> #include <stdlib.h> #include <vector> #include <sstream> #include <stdarg.h> static std::vector<char> FormatArg(const char* fmt, ...) { va_list vararg; va_start(vararg, fmt); int len = vsnprintf(nullptr, 0, fmt, vararg); va_en...
26.382979
125
0.647581
[ "vector" ]
1058fc83e1a4f63b10d8191255c366189c5ca937
5,788
hpp
C++
src/AlignmentGraph.hpp
tijyojwad/shasta
dffb41279bbc606d06f5323add40c0b1ebd5ae65
[ "BSD-3-Clause" ]
2
2019-11-14T09:06:16.000Z
2020-07-31T11:03:41.000Z
src/AlignmentGraph.hpp
tijyojwad/shasta
dffb41279bbc606d06f5323add40c0b1ebd5ae65
[ "BSD-3-Clause" ]
null
null
null
src/AlignmentGraph.hpp
tijyojwad/shasta
dffb41279bbc606d06f5323add40c0b1ebd5ae65
[ "BSD-3-Clause" ]
2
2019-11-13T23:42:45.000Z
2019-11-26T20:24:01.000Z
#ifndef SHASTA_ALIGNMENT_GRAPH_HPP #define SHASTA_ALIGNMENT_GRAPH_HPP /******************************************************************************* Class AlignmentGraph is used to compute an alignment of the markers of two oriented reads. In the alignment graph, each vertex corresponds to a pair of markers in the...
29.989637
80
0.671907
[ "vector" ]
105971000063b7e8afb395dd8b071c7a463458ae
18,749
cc
C++
content/browser/renderer_host/media/in_process_video_capture_device_launcher.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/renderer_host/media/in_process_video_capture_device_launcher.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/renderer_host/media/in_process_video_capture_device_launcher.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 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/renderer_host/media/in_process_video_capture_device_launcher.h" #include <utility> #include <vector> #include "base/bind.h" #i...
40.758696
89
0.728892
[ "vector" ]
105a7d907dff84fde40a1df0d11fd0b5e35e6fee
1,373
cpp
C++
cses/bit_strings.cpp
harshvsingh8/gym
3538698894cda18027881cbcabdc31fa46208043
[ "MIT" ]
null
null
null
cses/bit_strings.cpp
harshvsingh8/gym
3538698894cda18027881cbcabdc31fa46208043
[ "MIT" ]
null
null
null
cses/bit_strings.cpp
harshvsingh8/gym
3538698894cda18027881cbcabdc31fa46208043
[ "MIT" ]
null
null
null
/* Your task is to calculate the number of bit strings of length n. For example, if n=3, the correct answer is 8, because the possible bit strings are 000, 001, 010, 011, 100, 101, 110, and 111. Input The only input line has an integer n. Output Print the result modulo 10^9 + 7. Constraints 1≤n≤10^6 Example Inp...
19.898551
70
0.680991
[ "vector" ]
105b43d7b3f9732d7acb066ee20999431020bb05
12,379
cc
C++
google/cloud/asset/asset_client.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
80
2017-11-24T00:19:45.000Z
2019-01-25T10:24:33.000Z
google/cloud/asset/asset_client.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
1,579
2017-11-24T01:01:21.000Z
2019-01-28T23:41:21.000Z
google/cloud/asset/asset_client.cc
GoogleCloudPlatform/google-cloud-cpp
c4fc35de9e15f95b1dbf585f1c96de5dba609e2b
[ "Apache-2.0" ]
51
2017-11-24T00:56:11.000Z
2019-01-18T20:35:02.000Z
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
41.680135
80
0.759512
[ "vector" ]
105b48c50ae84a7b51042c493c1647ce9d141045
235
cpp
C++
LeetCode/#1470.cpp
ksdkamesh99/Code-Monker
0105d50185796539d4c2328892c9c117cb62ba55
[ "MIT" ]
3
2020-06-29T15:37:26.000Z
2020-12-02T09:14:13.000Z
LeetCode/#1470.cpp
ksdkamesh99/Code-Monker
0105d50185796539d4c2328892c9c117cb62ba55
[ "MIT" ]
null
null
null
LeetCode/#1470.cpp
ksdkamesh99/Code-Monker
0105d50185796539d4c2328892c9c117cb62ba55
[ "MIT" ]
1
2021-02-23T23:31:54.000Z
2021-02-23T23:31:54.000Z
class Solution { public: vector<int> shuffle(vector<int>& nums, int n) { vector<int>v; for(int i=0;i<n;i++){ v.push_back(nums[i]); v.push_back(nums[i+n]); } return v; } };
21.363636
51
0.47234
[ "vector" ]
105c7748c4d531716b62949b07d0a1bc0810b327
1,198
hpp
C++
src/GameState/AI/Enemy/EnemyState.hpp
Heaven31415/SpaceShooter
385e43aa2deb8720c1b0a23834ad31de97fd25eb
[ "Zlib" ]
null
null
null
src/GameState/AI/Enemy/EnemyState.hpp
Heaven31415/SpaceShooter
385e43aa2deb8720c1b0a23834ad31de97fd25eb
[ "Zlib" ]
null
null
null
src/GameState/AI/Enemy/EnemyState.hpp
Heaven31415/SpaceShooter
385e43aa2deb8720c1b0a23834ad31de97fd25eb
[ "Zlib" ]
null
null
null
#pragma once class Enemy; class Object; class PhysicalObject; class World; #include <map> #include <memory> #include <SFML/System/Time.hpp> #include <SFML/System/Vector2.hpp> #include "../../GUID.hpp" struct Message { enum class Type { Int, Float, Vector2f, Object, Ph...
20.655172
86
0.548414
[ "object" ]
105e4a29bc40ad5b7ac1793d83f59800a62f7a94
1,330
cpp
C++
examples/bacon.cpp
lums658/cppcon21
1e33a23f5e8d61a3f5164234e116c4878a02fec6
[ "Apache-2.0" ]
5
2022-02-08T00:25:07.000Z
2022-03-15T21:39:30.000Z
examples/bacon.cpp
lums658/cppcon21
1e33a23f5e8d61a3f5164234e116c4878a02fec6
[ "Apache-2.0" ]
null
null
null
examples/bacon.cpp
lums658/cppcon21
1e33a23f5e8d61a3f5164234e116c4878a02fec6
[ "Apache-2.0" ]
1
2022-01-28T11:55:25.000Z
2022-01-28T11:55:25.000Z
// // Copyright 2021 Andrew Lumsdaine // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
24.181818
83
0.625564
[ "vector" ]
1060b69cd32d78f62e851ad42d423d19897a7f8b
2,748
cpp
C++
clients/cpp-pistache-server/generated/model/ClockDifference.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-pistache-server/generated/model/ClockDifference.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/cpp-pistache-server/generated/model/ClockDifference.cpp
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the cl...
20.205882
123
0.646288
[ "model" ]
1060f1a06639ac4e49c0164c6080aeccc5fe6c64
1,153
cxx
C++
Algorithms/Implementation/electronics-shop.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Implementation/electronics-shop.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
Algorithms/Implementation/electronics-shop.cxx
will-crawford/HackerRank
74965480ee6a51603eb320e5982b0943fdaf1302
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; ostream & operator<< ( ostream &os, vector<int> &v ) { auto i = begin(v), last = end(v); if ( i != last ) { cerr << *i; while ( ++i != last ) cerr << ' ' << *i; } ...
25.622222
82
0.413703
[ "vector" ]
1061e57098622d5a53ded06ebd4f96bb0c2eaa4c
298
cpp
C++
src/Model/Node/Operation/abstractoperationnode.cpp
tasmanianfox/sat-cnf-converter
a8ea106d8745f9f7ac14f7e8c39f6f6aa4819211
[ "MIT" ]
4
2017-04-01T05:09:51.000Z
2018-06-15T04:43:15.000Z
src/Model/Node/Operation/abstractoperationnode.cpp
tasmanianfox/sat-cnf-converter
a8ea106d8745f9f7ac14f7e8c39f6f6aa4819211
[ "MIT" ]
null
null
null
src/Model/Node/Operation/abstractoperationnode.cpp
tasmanianfox/sat-cnf-converter
a8ea106d8745f9f7ac14f7e8c39f6f6aa4819211
[ "MIT" ]
3
2015-09-20T09:17:12.000Z
2021-01-31T09:09:34.000Z
#include "abstractoperationnode.h" using namespace Model::Node::Operation; AbstractOperationNode::~AbstractOperationNode() { } AbstractOperationNode::AbstractOperationNode():AbstractNode() { } int AbstractOperationNode::getType() { return this->TYPE_OPERATION_ABSTRACT; }
16.555556
62
0.741611
[ "model" ]
106416a673d8fb5de037fec7241a0727005d8ea3
10,960
cpp
C++
Baseline/PCA-CD/ChangeDetection/CD.cpp
vincentpun/ConformanceConstraintsReproducibility
fc5df4ec9a3702a1837ffe6f3c05216523e8a1c5
[ "MIT" ]
null
null
null
Baseline/PCA-CD/ChangeDetection/CD.cpp
vincentpun/ConformanceConstraintsReproducibility
fc5df4ec9a3702a1837ffe6f3c05216523e8a1c5
[ "MIT" ]
1
2021-12-09T09:30:49.000Z
2021-12-09T09:30:49.000Z
Baseline/PCA-CD/ChangeDetection/CD.cpp
vincentpun/ConformanceConstraintsReproducibility
fc5df4ec9a3702a1837ffe6f3c05216523e8a1c5
[ "MIT" ]
1
2021-12-09T05:22:18.000Z
2021-12-09T05:22:18.000Z
/* * File: CD.cpp * Author: Hakim * * Created on Aug 4, 2014, 10:05 PM * Last modified on Feb. 12, 2015 */ /*==============================================================*/ #include "stdlib.h" #include "CD.h" #include "pca.h" using namespace std; //*========================================...
25.311778
94
0.493887
[ "vector", "model" ]
10647dd934d488990bdf9f6e449fc6500fbfb85a
7,620
cpp
C++
cpp/src/jit/cache.cpp
chenrui17/cudf
a0045bd15981d8a2ef165c3a5e4306474eda958e
[ "Apache-2.0" ]
null
null
null
cpp/src/jit/cache.cpp
chenrui17/cudf
a0045bd15981d8a2ef165c3a5e4306474eda958e
[ "Apache-2.0" ]
null
null
null
cpp/src/jit/cache.cpp
chenrui17/cudf
a0045bd15981d8a2ef165c3a5e4306474eda958e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019-2020, 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...
31.229508
99
0.692651
[ "vector" ]
10656ed3013d86e1d67d2f6679377f625530df9f
45,037
cpp
C++
misc.cpp
ahmadhassan997/udp2raw-tunnel
4729224cc4aa24ff333b7817ebca769308e01119
[ "MIT" ]
5,010
2017-08-05T23:31:36.000Z
2021-09-22T01:57:43.000Z
misc.cpp
gladiopeace/udp2raw
b98a467eed197e856518e7ce31a4fe5d5d62901d
[ "MIT" ]
396
2017-08-07T05:17:41.000Z
2021-09-14T17:46:32.000Z
misc.cpp
gladiopeace/udp2raw
b98a467eed197e856518e7ce31a4fe5d5d62901d
[ "MIT" ]
1,062
2017-08-05T23:31:06.000Z
2021-09-20T12:36:33.000Z
/* * misc.cpp * * Created on: Sep 23, 2017 * Author: root */ #include "git_version.h" #include "common.h" #include "encrypt.h" #include "misc.h" #include "network.h" #include "connection.h" #include "fd_manager.h" int hb_mode=1; int hb_len=1200; char hb_buf[buf_len]; int mtu_warn=1375;//if a packet larger...
28.558656
169
0.641806
[ "vector" ]
1067614eaf93bfc0a001cc4695b153960eda575a
487
hpp
C++
pxrun/pxrun/matrix.hpp
lyrahgames/random-number-generators
c78931c1a5c0a85a1ad36d7d8979567b0853be52
[ "MIT" ]
4
2020-03-28T15:12:07.000Z
2021-04-20T00:07:23.000Z
pxrun/pxrun/matrix.hpp
lyrahgames/random-number-generators
c78931c1a5c0a85a1ad36d7d8979567b0853be52
[ "MIT" ]
null
null
null
pxrun/pxrun/matrix.hpp
lyrahgames/random-number-generators
c78931c1a5c0a85a1ad36d7d8979567b0853be52
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <string> #include <vector> namespace pxrun { class matrix { public: explicit matrix(const std::vector<std::string>& args); matrix() : matrix{{}} {} template <typename RNG> void run(RNG&& rng) const { for (int i = 0; i < rows; ++i) { std::cout << rng(); ...
17.392857
64
0.548255
[ "vector" ]
1068b31ce7b4360cf06546c62dcb6994ab01134d
4,328
cpp
C++
toonz/sources/toonzfarm/tfarm/tfarmserver_c.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
3,710
2016-03-26T00:40:48.000Z
2022-03-31T21:35:12.000Z
toonz/sources/toonzfarm/tfarm/tfarmserver_c.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
4,246
2016-03-26T01:21:45.000Z
2022-03-31T23:10:47.000Z
toonz/sources/toonzfarm/tfarm/tfarmserver_c.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
633
2016-03-26T00:42:25.000Z
2022-03-17T02:55:13.000Z
#include "tfarmserver.h" //#include "ttcpip.h" #include "tfarmproxy.h" #include "tconvert.h" namespace { //------------------------------------------------------------------------------ class FarmServerProxy final : public TFarmServer, public TFarmProxy { public: FarmServerProxy(const QString &hostName, const QS...
28.287582
80
0.536506
[ "vector" ]
106adb94f8d4b9a4da75b5e3f31b7baef0ca6298
44,258
cpp
C++
Projects/krkr2_on_VC/kirikiri2/src/core/tjs2/tjsLex.cpp
CATION-M/X-moe
2bac3bb45ff21e50921aac8422f2e00839f546e5
[ "MIT" ]
2
2020-02-25T15:18:53.000Z
2020-08-24T13:30:34.000Z
Projects/krkr2_on_VC/kirikiri2/src/core/tjs2/tjsLex.cpp
CATION-M/X-moe
2bac3bb45ff21e50921aac8422f2e00839f546e5
[ "MIT" ]
null
null
null
Projects/krkr2_on_VC/kirikiri2/src/core/tjs2/tjsLex.cpp
CATION-M/X-moe
2bac3bb45ff21e50921aac8422f2e00839f546e5
[ "MIT" ]
1
2019-11-25T05:29:30.000Z
2019-11-25T05:29:30.000Z
//--------------------------------------------------------------------------- /* TJS2 Script Engine Copyright (C) 2000-2007 W.Dee <dee@kikyou.info> and contributors See details of license at "license.txt" */ //--------------------------------------------------------------------------- // TJS2 lexical analyzer //---...
22.511699
99
0.550341
[ "vector" ]
106c1cc8060ae6a8cb44345bb4383e3253b317f0
37,437
cpp
C++
deps/libgdal/gdal/ogr/ogrsf_frmts/libkml/ogrlibkmlfeature.cpp
AmristarSolutions/node-gdal-next
8c0a7d9b26c240bf04abbf1b1de312b0691b3d88
[ "Apache-2.0" ]
57
2020-02-08T17:52:17.000Z
2021-10-14T03:45:09.000Z
deps/libgdal/gdal/ogr/ogrsf_frmts/libkml/ogrlibkmlfeature.cpp
AmristarSolutions/node-gdal-next
8c0a7d9b26c240bf04abbf1b1de312b0691b3d88
[ "Apache-2.0" ]
47
2020-02-12T16:41:40.000Z
2021-09-28T22:27:56.000Z
deps/libgdal/gdal/ogr/ogrsf_frmts/libkml/ogrlibkmlfeature.cpp
AmristarSolutions/node-gdal-next
8c0a7d9b26c240bf04abbf1b1de312b0691b3d88
[ "Apache-2.0" ]
8
2020-03-17T11:18:07.000Z
2021-10-14T03:45:15.000Z
/****************************************************************************** * * Project: KML Translator * Purpose: Implements OGRLIBKMLDriver * Author: Brian Case, rush at winkey dot org * ****************************************************************************** * Copyright (c) 2010, Brian Case * C...
40.472432
120
0.554532
[ "geometry", "object", "model", "3d" ]
106de21eb105b36886444a605c0e241bd18b9e6e
7,893
cpp
C++
src/environment.cpp
chadbramwell/librealsense
f7cdf6e8961e1709f6d864bdb33095c00a671ca7
[ "Apache-2.0" ]
6
2020-02-26T08:15:27.000Z
2022-01-28T14:17:46.000Z
src/environment.cpp
chadbramwell/librealsense
f7cdf6e8961e1709f6d864bdb33095c00a671ca7
[ "Apache-2.0" ]
8
2020-01-08T04:01:48.000Z
2022-02-15T16:17:06.000Z
src/environment.cpp
chadbramwell/librealsense
f7cdf6e8961e1709f6d864bdb33095c00a671ca7
[ "Apache-2.0" ]
4
2020-07-03T08:33:31.000Z
2021-12-14T07:51:21.000Z
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2015 Intel Corporation. All Rights Reserved. #include "environment.h" namespace librealsense { extrinsics_graph::extrinsics_graph() : _locks_count(0) { _id = std::make_shared<lazy<rs2_extrinsics>>([]() { ...
33.163866
146
0.554795
[ "vector" ]
1071bba238380fb82cf143d13d0cb09feda0b3f2
1,561
cpp
C++
Codeforces/1203B - Equal Rectangles.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/1203B - Equal Rectangles.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/1203B - Equal Rectangles.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int cnt[10010]; bool used[10010]; int main() { ios::sync_with_stdio(false); int q; cin >> q; while(q--) { int n; cin >> n; memset(cnt, 0, sizeof(cnt)); int mn = 1e4 + 10, mx = 0; for (int i = 0; i < 4 * n; ++i)...
24.390625
107
0.358104
[ "vector" ]
1073a957d83325347a014bb2da11aacb591f04cf
5,293
cpp
C++
src/rpcdarksend.cpp
nexalt-project/nexalt-core
e0c2f3f8ee0eb3ab298dfbbdb1e9d5426c65670f
[ "MIT" ]
7
2021-01-30T11:20:46.000Z
2021-12-04T02:21:19.000Z
src/rpcdarksend.cpp
nexalt-project/nexalt-core
e0c2f3f8ee0eb3ab298dfbbdb1e9d5426c65670f
[ "MIT" ]
null
null
null
src/rpcdarksend.cpp
nexalt-project/nexalt-core
e0c2f3f8ee0eb3ab298dfbbdb1e9d5426c65670f
[ "MIT" ]
7
2021-01-17T11:48:40.000Z
2021-05-10T12:15:00.000Z
// Copyright (c) 2012-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2018 The Luxcore developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. //#include "main.h" #include "pri...
37.274648
245
0.679766
[ "object", "vector" ]
107537b9be4659fe7722d9591385a0444dda2344
19,484
cxx
C++
Interaction/Widgets/Testing/Cxx/TestSeedWidget.cxx
michaelchanwahyan/vtk-7.0.0
770166bbe1f28a99d776b47624c6f6955b9aaaec
[ "BSD-3-Clause" ]
1
2019-04-22T09:09:17.000Z
2019-04-22T09:09:17.000Z
Interaction/Widgets/Testing/Cxx/TestSeedWidget.cxx
michaelchanwahyan/vtk-7.0.0
770166bbe1f28a99d776b47624c6f6955b9aaaec
[ "BSD-3-Clause" ]
null
null
null
Interaction/Widgets/Testing/Cxx/TestSeedWidget.cxx
michaelchanwahyan/vtk-7.0.0
770166bbe1f28a99d776b47624c6f6955b9aaaec
[ "BSD-3-Clause" ]
1
2019-08-30T08:41:21.000Z
2019-08-30T08:41:21.000Z
/*========================================================================= Program: Visualization Toolkit Module: TestSeedWidget.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software i...
36.901515
77
0.657924
[ "render" ]
107708c0d802c5147aa8136c29ed0994eb696313
3,617
cpp
C++
test/unit/math/opencl/rev/bernoulli_cdf_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/opencl/rev/bernoulli_cdf_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/opencl/rev/bernoulli_cdf_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
#ifdef STAN_OPENCL #include <stan/math/opencl/rev.hpp> #include <stan/math.hpp> #include <gtest/gtest.h> #include <test/unit/math/opencl/util.hpp> #include <vector> TEST(ProbDistributionsBernoulliCdf, error_checking) { int N = 3; std::vector<int> n{1, -2, 11}; std::vector<int> n_size{1, 0, 1, 0}; Eigen::Vecto...
32.294643
79
0.620127
[ "vector" ]
1077d9cfb63fb5eb25e21fa7831cb8b9ccecfe10
6,927
cpp
C++
src/storage/LocalFileLoader.cpp
n-krueger/faasm
093cb032a3d938d3a41d8aa9644bb5efbc632a95
[ "Apache-2.0" ]
1
2021-03-03T09:54:21.000Z
2021-03-03T09:54:21.000Z
src/storage/LocalFileLoader.cpp
n-krueger/faasm
093cb032a3d938d3a41d8aa9644bb5efbc632a95
[ "Apache-2.0" ]
null
null
null
src/storage/LocalFileLoader.cpp
n-krueger/faasm
093cb032a3d938d3a41d8aa9644bb5efbc632a95
[ "Apache-2.0" ]
null
null
null
#include "storage/LocalFileLoader.h" #include <iostream> #include <faabric/util/bytes.h> #include <faabric/util/files.h> #include <faabric/util/func.h> #include <faabric/util/logging.h> #include <boost/filesystem.hpp> namespace storage { std::vector<uint8_t> LocalFileLoader::loadFunctionWasm( const faabric::Messa...
30.786667
80
0.705789
[ "object", "vector" ]
107facac747e97976e5f4c5790d1377dc95fdbd4
98,707
cpp
C++
toonz/sources/toonz/subscenecommand.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
1
2020-06-12T17:46:49.000Z
2020-06-12T17:46:49.000Z
toonz/sources/toonz/subscenecommand.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
2
2019-12-07T02:14:35.000Z
2019-12-18T17:38:00.000Z
toonz/sources/toonz/subscenecommand.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
1
2018-12-11T02:01:18.000Z
2018-12-11T02:01:18.000Z
// TnzCore includes #include "tconst.h" #include "tundo.h" // TnzBase includes #include "tfx.h" #include "tfxattributes.h" #include "tparamcontainer.h" #include "tparamset.h" // TnzLib includes #include "toonz/tframehandle.h" #include "toonz/tcolumnhandle.h" #include "toonz/txsheethandle.h" #include "toonz/tobjecth...
37.304233
80
0.619237
[ "object", "vector" ]
10831a8b614307275658ee165933abd1c6977c79
58,459
cpp
C++
src/extractor/edge_based_graph_factory.cpp
AugustoQueiroz/pedalavel-backend
c7fa405ff6f6823bdc9d4bb857eddc7197be1f4f
[ "BSD-2-Clause" ]
null
null
null
src/extractor/edge_based_graph_factory.cpp
AugustoQueiroz/pedalavel-backend
c7fa405ff6f6823bdc9d4bb857eddc7197be1f4f
[ "BSD-2-Clause" ]
null
null
null
src/extractor/edge_based_graph_factory.cpp
AugustoQueiroz/pedalavel-backend
c7fa405ff6f6823bdc9d4bb857eddc7197be1f4f
[ "BSD-2-Clause" ]
1
2019-09-23T22:49:07.000Z
2019-09-23T22:49:07.000Z
#include "extractor/edge_based_graph_factory.hpp" #include "extractor/conditional_turn_penalty.hpp" #include "extractor/edge_based_edge.hpp" #include "extractor/files.hpp" #include "extractor/intersection/intersection_analysis.hpp" #include "extractor/scripting_environment.hpp" #include "extractor/serialization.hpp" #i...
49.290894
100
0.553739
[ "geometry", "object", "vector", "transform" ]
108943486f73c18655dd65269afb6fca39fd01fa
1,562
cpp
C++
uva/11447 - Reservoir Logs .cpp
taufique71/sports-programming
c29a92b5e5424c7de6f94e302fc6783561de9b3d
[ "MIT" ]
null
null
null
uva/11447 - Reservoir Logs .cpp
taufique71/sports-programming
c29a92b5e5424c7de6f94e302fc6783561de9b3d
[ "MIT" ]
null
null
null
uva/11447 - Reservoir Logs .cpp
taufique71/sports-programming
c29a92b5e5424c7de6f94e302fc6783561de9b3d
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct Point { int x; int y; }; vector<Point> points; int width; double ini_pc; double ini_vol; double used_vol; double mid_vol; double rained_vol; int final_pc; double volume; void calculate_volume() { double area = 0; ...
19.772152
84
0.503201
[ "vector" ]
108ae30655849b3789699e5b763e01fd79888ef6
45,696
cc
C++
ui/base/x/x11_util.cc
7kbird/chrome
f56688375530f1003e34c34f441321977c5af3c3
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-01-16T03:57:39.000Z
2019-01-16T03:57:39.000Z
ui/base/x/x11_util.cc
7kbird/chrome
f56688375530f1003e34c34f441321977c5af3c3
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
ui/base/x/x11_util.cc
aranajhonny/chromium
caf5bcb822f79b8997720e589334266551a50a13
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:23:37.000Z
2020-11-04T07:23:37.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. // This file defines utility functions for X11 (Linux only). This code has been // ported from XCB since we can't use XCB on Ubuntu while its 32-bit s...
32.112439
80
0.64231
[ "shape", "vector" ]
c806ad6b2d9ed6f6f0a4069c3953306e7e397b83
9,618
cpp
C++
Neon/src/Neon/Platform/Vulkan/VulkanGuiContext.cpp
FilipHusnjak/Neon
3981a76f4a35302e0fc70d4e32b2b2ac19b53089
[ "Apache-2.0" ]
8
2020-09-11T10:36:38.000Z
2021-12-16T12:59:31.000Z
Neon/src/Neon/Platform/Vulkan/VulkanGuiContext.cpp
FilipHusnjak/Neon
3981a76f4a35302e0fc70d4e32b2b2ac19b53089
[ "Apache-2.0" ]
null
null
null
Neon/src/Neon/Platform/Vulkan/VulkanGuiContext.cpp
FilipHusnjak/Neon
3981a76f4a35302e0fc70d4e32b2b2ac19b53089
[ "Apache-2.0" ]
1
2021-01-06T13:36:56.000Z
2021-01-06T13:36:56.000Z
#include "neopch.h" #include "Neon/Core/Application.h" #include "Neon/Platform/Vulkan/VulkanContext.h" #include "VulkanGuiContext.h" #include <backends/imgui_impl_glfw.h> #include <backends/imgui_impl_vulkan.h> namespace Neon { static void CheckVkResult(VkResult err) { if (err == 0) { return; } NEO_COR...
39.743802
196
0.724475
[ "render" ]
c80b60785a8b3f7691ced13c15a67e5e15ad5fef
7,680
cpp
C++
c++/Assignment 3 - Trees/BSTree.cpp
branjwong/portfolio
1900293edc3dd99a0e50c6812fd5b74a0ab31085
[ "MIT" ]
null
null
null
c++/Assignment 3 - Trees/BSTree.cpp
branjwong/portfolio
1900293edc3dd99a0e50c6812fd5b74a0ab31085
[ "MIT" ]
null
null
null
c++/Assignment 3 - Trees/BSTree.cpp
branjwong/portfolio
1900293edc3dd99a0e50c6812fd5b74a0ab31085
[ "MIT" ]
null
null
null
/* * BSTree.cpp * * Created on: Mar 5, 2010 * Author: Brandon J Wong */ #include "BSTree.h" BSTree::BSTree() { root = 0; } // Copy constructor BSTree::BSTree(const BSTree & rbt){ recBuild(rbt.root); } BSTree::~BSTree() { // recDestroy(root); } // inserts a customer into the tree bool BSTree::insert...
25.346535
171
0.626432
[ "vector" ]
c8121e71ce861063521f953b82ce67dbd379af89
3,841
hpp
C++
include/tao/json/binding/internal/array.hpp
robinchrist/json
99c57818ba1644a58f0535ff3e98bd2ae0e75b52
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
include/tao/json/binding/internal/array.hpp
robinchrist/json
99c57818ba1644a58f0535ff3e98bd2ae0e75b52
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
include/tao/json/binding/internal/array.hpp
robinchrist/json
99c57818ba1644a58f0535ff3e98bd2ae0e75b52
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (c) 2018-2019 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/json/ #ifndef TAO_JSON_BINDING_INTERNAL_ARRAY_HPP #define TAO_JSON_BINDING_INTERNAL_ARRAY_HPP #include <utility> #include <vector> #include "../../basic_value.hpp" #include "../../forward....
36.932692
220
0.579537
[ "vector" ]
c8123a8faa7fad923b00eaf842c57b980664b786
15,936
cpp
C++
src/tests/class_tests/openms/source/AScore_test.cpp
tomas-pluskal/openms
136ec9057435f6d45d65a8e1465b2a6cff9621a8
[ "Zlib", "Apache-2.0" ]
null
null
null
src/tests/class_tests/openms/source/AScore_test.cpp
tomas-pluskal/openms
136ec9057435f6d45d65a8e1465b2a6cff9621a8
[ "Zlib", "Apache-2.0" ]
null
null
null
src/tests/class_tests/openms/source/AScore_test.cpp
tomas-pluskal/openms
136ec9057435f6d45d65a8e1465b2a6cff9621a8
[ "Zlib", "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
33.549474
212
0.704506
[ "vector" ]
c817183f1abe8ce439f7f74e86c9233ba6a35715
6,393
hpp
C++
include/nil/crypto3/hash/find_group_hash.hpp
JasonCoombs/crypto3-hash
a4f330d14029b0b0330a5697ef24e825137ffded
[ "MIT" ]
null
null
null
include/nil/crypto3/hash/find_group_hash.hpp
JasonCoombs/crypto3-hash
a4f330d14029b0b0330a5697ef24e825137ffded
[ "MIT" ]
null
null
null
include/nil/crypto3/hash/find_group_hash.hpp
JasonCoombs/crypto3-hash
a4f330d14029b0b0330a5697ef24e825137ffded
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------// // Copyright (c) 2021 Mikhail Komarov <nemo@nil.foundation> // Copyright (c) 2021 Ilias Khairullin <ilias@nil.foundation> // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this softwa...
46.326087
116
0.563272
[ "vector" ]
c817f7eef0d812f89e9ad50786bfd056d348a3b6
23,698
cpp
C++
src/PlayerManager.cpp
Eperty123/OpenFusion
cd42f181e648ae0b4dc52f74ae263e0ece7393e3
[ "MIT" ]
3
2021-09-01T04:02:54.000Z
2022-03-23T19:55:28.000Z
src/PlayerManager.cpp
Eperty123/OpenFusion
cd42f181e648ae0b4dc52f74ae263e0ece7393e3
[ "MIT" ]
null
null
null
src/PlayerManager.cpp
Eperty123/OpenFusion
cd42f181e648ae0b4dc52f74ae263e0ece7393e3
[ "MIT" ]
1
2022-02-07T05:20:14.000Z
2022-02-07T05:20:14.000Z
#include "core/Core.hpp" #include "core/CNShared.hpp" #include "servers/CNShardServer.hpp" #include "db/Database.hpp" #include "PlayerManager.hpp" #include "NPCManager.hpp" #include "Missions.hpp" #include "Items.hpp" #include "Nanos.hpp" #include "Groups.hpp" #include "Chat.hpp" #include "Buddies.hpp" #include "Combat...
34.295224
132
0.651236
[ "object", "vector" ]
c81e4b89048e59f04ca3c57a7c22bafcd5ccc800
30,127
cpp
C++
src/EvtGenModels/EvtbTosllMSFF.cpp
qdcampagna/BTODSTARLNUNP_EVTGEN_Model
9623a0ffe2625450a1228a80d6baae74ed6c0965
[ "CC0-1.0" ]
null
null
null
src/EvtGenModels/EvtbTosllMSFF.cpp
qdcampagna/BTODSTARLNUNP_EVTGEN_Model
9623a0ffe2625450a1228a80d6baae74ed6c0965
[ "CC0-1.0" ]
null
null
null
src/EvtGenModels/EvtbTosllMSFF.cpp
qdcampagna/BTODSTARLNUNP_EVTGEN_Model
9623a0ffe2625450a1228a80d6baae74ed6c0965
[ "CC0-1.0" ]
null
null
null
/*********************************************************************** * Copyright 1998-2020 CERN for the benefit of the EvtGen authors * * * * This file is part of EvtGen. * * ...
45.925305
112
0.472666
[ "vector", "model" ]
c81ee138432601692aa0fb0c288ea6004b287b29
3,724
cpp
C++
src/execution/physical_plan/plan_distinct.cpp
frankier/duckdb
96b83f280db61aeb553d8283c08344e46dacb157
[ "MIT" ]
null
null
null
src/execution/physical_plan/plan_distinct.cpp
frankier/duckdb
96b83f280db61aeb553d8283c08344e46dacb157
[ "MIT" ]
null
null
null
src/execution/physical_plan/plan_distinct.cpp
frankier/duckdb
96b83f280db61aeb553d8283c08344e46dacb157
[ "MIT" ]
null
null
null
#include "duckdb/execution/operator/aggregate/physical_hash_aggregate.hpp" #include "duckdb/execution/operator/projection/physical_projection.hpp" #include "duckdb/execution/physical_plan_generator.hpp" #include "duckdb/function/aggregate/distributive_functions.hpp" #include "duckdb/planner/expression/bound_aggregate_e...
43.302326
119
0.751611
[ "vector" ]
c81f2d3a3eff09c385138a0a2d350b98e191248b
30,036
cpp
C++
third_party/WebKit/Source/platform/weborigin/KURL.cpp
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
third_party/WebKit/Source/platform/weborigin/KURL.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
third_party/WebKit/Source/platform/weborigin/KURL.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
/* * Copyright (C) 2004, 2007, 2008, 2011, 2012 Apple Inc. All rights reserved. * Copyright (C) 2012 Research In Motion Limited. All rights reserved. * Copyright (C) 2008, 2009, 2011 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitt...
34.326857
80
0.694067
[ "render", "object" ]
c81f686d264c4b8a9ace5d59d9417f90c547e679
18,468
cpp
C++
Source/Urho3D/Math/Ray.cpp
pat2nav/Urho3D
cc0346f39bd365782d825e2e337a1f33bb225308
[ "MIT" ]
null
null
null
Source/Urho3D/Math/Ray.cpp
pat2nav/Urho3D
cc0346f39bd365782d825e2e337a1f33bb225308
[ "MIT" ]
null
null
null
Source/Urho3D/Math/Ray.cpp
pat2nav/Urho3D
cc0346f39bd365782d825e2e337a1f33bb225308
[ "MIT" ]
null
null
null
// Copyright (c) 2008-2022 the Urho3D project // License: MIT #include "../Precompiled.h" #include "../Math/BoundingBox.h" #include "../Math/Frustum.h" #include "../Math/Ray.h" #include "../DebugNew.h" namespace Urho3D { Vector3 Ray::ClosestPoint(const Ray& ray) const { // Algorithm based on ht...
38.475
133
0.579164
[ "geometry", "transform" ]
c82032d149edce4dc4b6e5895e0ac938fbb7d66f
12,111
hpp
C++
src/common/PropertySet.hpp
maujin111/Dotto
dd7c2a6a76d9b0d5cea632ed84fb9237a6741482
[ "MIT" ]
151
2021-12-28T21:22:42.000Z
2022-03-30T13:53:28.000Z
src/common/PropertySet.hpp
maujin111/Dotto
dd7c2a6a76d9b0d5cea632ed84fb9237a6741482
[ "MIT" ]
9
2021-12-29T13:20:00.000Z
2022-03-18T12:47:19.000Z
src/common/PropertySet.hpp
maujin111/Dotto
dd7c2a6a76d9b0d5cea632ed84fb9237a6741482
[ "MIT" ]
18
2021-12-28T19:58:49.000Z
2022-03-31T16:38:14.000Z
// Copyright (c) 2021 LibreSprite Authors (cf. AUTHORS.md) // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #pragma once #include <type_traits> #include <common/inject.hpp> #include <common/String.hpp> #include <common/Value.hpp> #include <log/Log.hpp> class Pro...
34.115493
180
0.518537
[ "vector", "model" ]
c82a0ed91867b8aee551e63bad1c93df5bd496c7
1,076
hpp
C++
raptor/krylov/bicgstab.hpp
lukeolson/raptor
526c88d0801634e6fb41375ae077f2d4aa3241a4
[ "BSD-2-Clause" ]
25
2017-11-20T21:45:43.000Z
2019-01-27T15:03:25.000Z
raptor/krylov/bicgstab.hpp
lukeolson/raptor
526c88d0801634e6fb41375ae077f2d4aa3241a4
[ "BSD-2-Clause" ]
3
2017-11-21T01:20:20.000Z
2018-11-16T17:33:06.000Z
raptor/krylov/bicgstab.hpp
lukeolson/raptor
526c88d0801634e6fb41375ae077f2d4aa3241a4
[ "BSD-2-Clause" ]
5
2017-11-20T22:03:57.000Z
2018-12-05T10:30:22.000Z
#ifndef RAPTOR_KRYLOV_BICGSTAB_HPP #define RAPTOR_KRYLOV_BICGSTAB_HPP #include "core/types.hpp" #include "core/matrix.hpp" #include "core/vector.hpp" #include <vector> using namespace raptor; void BiCGStab(CSRMatrix* A, Vector& x, Vector& b, std::vector<double>& res, double tol = 1e-05, int max_iter = -1); void tes...
43.04
115
0.723978
[ "vector" ]
c82a714b6736fbda3304a5a994479c54da8c1c76
3,955
cpp
C++
src/httpc/request.cpp
igagis/httpcpp
723fa19399d38880b7c43d295383982f4f005f77
[ "MIT" ]
1
2021-02-03T07:35:42.000Z
2021-02-03T07:35:42.000Z
src/httpc/request.cpp
igagis/httpcpp
723fa19399d38880b7c43d295383982f4f005f77
[ "MIT" ]
1
2020-12-07T16:04:13.000Z
2020-12-07T16:04:13.000Z
src/httpc/request.cpp
igagis/httpcpp
723fa19399d38880b7c43d295383982f4f005f77
[ "MIT" ]
1
2020-12-15T01:48:55.000Z
2020-12-15T01:48:55.000Z
/* MIT License Copyright (c) 2020-2021 Ivan Gagis 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...
30.658915
132
0.732743
[ "object" ]
c82e45f2ba237e0624912981fadfcd0da05c2a1e
7,834
cpp
C++
Arrow.cpp
victorgscorreia/Evolutivos
c0fa63b5451af353ed9ac25a1f401b06d44f469e
[ "MIT" ]
null
null
null
Arrow.cpp
victorgscorreia/Evolutivos
c0fa63b5451af353ed9ac25a1f401b06d44f469e
[ "MIT" ]
null
null
null
Arrow.cpp
victorgscorreia/Evolutivos
c0fa63b5451af353ed9ac25a1f401b06d44f469e
[ "MIT" ]
null
null
null
#include "Arrow.h" /* Construtor da classe arrow @PARAMETROS coordenadas* coord - endereco do vetor com os vertices para serem envidos a GPU int vertice_inicial - posicao do vertice inical no vetor de vertices int num_vertices - numero de vertices da figura double x - posicao no eixo x d...
26.828767
284
0.628287
[ "object" ]
c835093ab8af13fca3b3d8a0dbfc85904940e7ba
8,642
cpp
C++
src/Omega_h_coarsen.cpp
overfelt/omega_h
dfc19cc3ea0e183692ca6c548dda39f7892301b5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/Omega_h_coarsen.cpp
overfelt/omega_h
dfc19cc3ea0e183692ca6c548dda39f7892301b5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/Omega_h_coarsen.cpp
overfelt/omega_h
dfc19cc3ea0e183692ca6c548dda39f7892301b5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include "Omega_h_coarsen.hpp" #include <iostream> #include <cstdlib> #include "Omega_h_array_ops.hpp" #include "Omega_h_collapse.hpp" #include "Omega_h_for.hpp" #include "Omega_h_indset.hpp" #include "Omega_h_map.hpp" #include "Omega_h_mesh.hpp" #include "Omega_h_modify.hpp" #include "Omega_h_transfer.hpp" #include ...
38.580357
80
0.720204
[ "mesh" ]
c835d7f7553dc6820dfbd67bce00e39494ca9ebf
3,840
cpp
C++
EzAcc/DemoProject/Input Combos/Motor2D/ctGui.cpp
Wilhelman/EzAcc-EasyAccessibilityFramework
d785c5f9c36367f6da7a89d10b1b80bd8b382173
[ "MIT" ]
null
null
null
EzAcc/DemoProject/Input Combos/Motor2D/ctGui.cpp
Wilhelman/EzAcc-EasyAccessibilityFramework
d785c5f9c36367f6da7a89d10b1b80bd8b382173
[ "MIT" ]
null
null
null
EzAcc/DemoProject/Input Combos/Motor2D/ctGui.cpp
Wilhelman/EzAcc-EasyAccessibilityFramework
d785c5f9c36367f6da7a89d10b1b80bd8b382173
[ "MIT" ]
null
null
null
#include "ctDefs.h" #include "ctLog.h" #include "ctApp.h" #include "ctRender.h" #include "ctTextures.h" //#include "ctFonts.h" #include "ctInput.h" #include "ctGui.h" #include "UILabel.h" #include "UIImage.h" #include "UIButton.h" #include "UIElement.h" ctGui::ctGui() : ctModule() { name = "gui"; } // Destructor c...
22.196532
248
0.673698
[ "render" ]
c83631cc6eeb362f27a172ee709c14b4b1e3b837
4,767
cc
C++
third_party/blink/renderer/core/animation/animation_sim_test.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
third_party/blink/renderer/core/animation/animation_sim_test.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
third_party/blink/renderer/core/animation/animation_sim_test.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 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/public/web/web_script_source.h" #include "third_party/blink/renderer/core/animation/document_timeline.h" #include "third_party...
44.971698
94
0.732326
[ "object" ]
c83680e3d766caff033c21890173657a7c580d86
12,865
cpp
C++
app/src/main/cpp/source/MainApplication.cpp
Mike-meixu/hms-computer-graphics-demo
ebc995429eec10706b93be47a6fef486f70725ba
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/source/MainApplication.cpp
Mike-meixu/hms-computer-graphics-demo
ebc995429eec10706b93be47a6fef486f70725ba
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/source/MainApplication.cpp
Mike-meixu/hms-computer-graphics-demo
ebc995429eec10706b93be47a6fef486f70725ba
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved. * Description: A sample that illustrates the rendering of a demo scene. */ #include "MainApplication.h" MainApplication::MainApplication() {} MainApplication::~MainApplication() {} void MainApplication::Start(void *param) { B...
41.5
114
0.589973
[ "mesh", "object", "model" ]
c83ce7ddf4f306af60d3e072eea8696a717d8a81
5,317
hpp
C++
src/core/utils/otns.hpp
vikram998/openthread
82ca038eec25863032e673581b4395201b851c77
[ "BSD-3-Clause" ]
1
2020-08-12T06:15:53.000Z
2020-08-12T06:15:53.000Z
src/core/utils/otns.hpp
soburi/openthread
34ac7c751a655caff5e2cdd5bb694d8f7735221d
[ "BSD-3-Clause" ]
1
2020-10-11T01:45:28.000Z
2020-10-11T01:45:28.000Z
src/core/utils/otns.hpp
soburi/openthread
34ac7c751a655caff5e2cdd5bb694d8f7735221d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
34.083333
94
0.664849
[ "object" ]
c83e41329c8e5052b38a035499b1bb83855b5586
2,954
cpp
C++
src/CoreGenerator.cpp
aesophor/CRAXplusplus
caacbeb4fadb5452ac3bf2faf5aff33580d19cca
[ "MIT" ]
13
2021-12-08T02:53:13.000Z
2021-12-30T14:45:16.000Z
src/CoreGenerator.cpp
aesophor/CRAXplusplus
caacbeb4fadb5452ac3bf2faf5aff33580d19cca
[ "MIT" ]
null
null
null
src/CoreGenerator.cpp
aesophor/CRAXplusplus
caacbeb4fadb5452ac3bf2faf5aff33580d19cca
[ "MIT" ]
null
null
null
// Copyright 2021-2022 Software Quality Laboratory, NYCU. // // 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...
37.871795
83
0.665538
[ "vector" ]
c844e351615218a2eaec5ded8b5e5af5e159cab5
2,029
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/ive/ColorMask.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/ive/ColorMask.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/ive/ColorMask.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
/********************************************************************** * * FILE: ColorMask.cpp * * DESCRIPTION: Read/Write osg::ColorMask in binary format to disk. * * CREATED BY: Auto generated by iveGenerator * and later modified by Rune Schmidt Jensen. * * ...
32.206349
104
0.567767
[ "object" ]
c845ea9a4d0c61fb19a557f80cc56060616c1026
15,994
cxx
C++
Common/DataModel/vtkBiQuadraticQuad.cxx
dsleep/VTK
cbf9c453cf50a954ab5d6a2448b8a0391bde9378
[ "BSD-3-Clause" ]
1
2020-03-24T14:08:58.000Z
2020-03-24T14:08:58.000Z
Common/DataModel/vtkBiQuadraticQuad.cxx
dsleep/VTK
cbf9c453cf50a954ab5d6a2448b8a0391bde9378
[ "BSD-3-Clause" ]
null
null
null
Common/DataModel/vtkBiQuadraticQuad.cxx
dsleep/VTK
cbf9c453cf50a954ab5d6a2448b8a0391bde9378
[ "BSD-3-Clause" ]
2
2020-03-24T14:09:05.000Z
2021-09-17T09:30:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkBiQuadraticQuad.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softwa...
34.029787
100
0.548768
[ "vector", "transform" ]
c847784eb22980c6ce4cb6e792fcca5ec37a3ff5
1,279
cpp
C++
src/Access/EnabledRoles.cpp
evryfs/ClickHouse
a9648af0b9e2506ce783106315814ed8dbd0a952
[ "Apache-2.0" ]
18
2021-05-29T01:12:33.000Z
2021-11-18T12:34:48.000Z
src/Access/EnabledRoles.cpp
evryfs/ClickHouse
a9648af0b9e2506ce783106315814ed8dbd0a952
[ "Apache-2.0" ]
13
2019-06-06T09:45:53.000Z
2020-05-15T12:03:45.000Z
src/Access/EnabledRoles.cpp
evryfs/ClickHouse
a9648af0b9e2506ce783106315814ed8dbd0a952
[ "Apache-2.0" ]
22
2019-06-14T10:31:51.000Z
2020-10-12T14:57:44.000Z
#include <Access/EnabledRoles.h> #include <Access/Role.h> #include <Access/EnabledRolesInfo.h> #include <boost/range/algorithm/copy.hpp> namespace DB { EnabledRoles::EnabledRoles(const Params & params_) : params(params_) { } EnabledRoles::~EnabledRoles() = default; std::shared_ptr<const EnabledRolesInfo> EnabledRo...
22.438596
120
0.688038
[ "vector" ]
c84990f445b884f662c0e0239649f7953f17054b
1,983
cpp
C++
src/analysis/util/laguerre.cpp
dequis/in-formant
129b9b399c75cdbd834b68f04dabcb1d406af250
[ "Apache-2.0" ]
null
null
null
src/analysis/util/laguerre.cpp
dequis/in-formant
129b9b399c75cdbd834b68f04dabcb1d406af250
[ "Apache-2.0" ]
null
null
null
src/analysis/util/laguerre.cpp
dequis/in-formant
129b9b399c75cdbd834b68f04dabcb1d406af250
[ "Apache-2.0" ]
null
null
null
#include "util.h" #include "laguerre.h" std::complex<double> Analysis::laguerreRoot(const std::vector<std::complex<double>>& P, std::complex<double> xk, double accuracy) { constexpr int maxIt = 5000; std::vector<std::complex<double>> ys(3); ys = evaluatePolynomialDerivatives(P, xk, 2); const int n ...
26.092105
137
0.509329
[ "vector" ]
c84b49d4df843623246a38c00267685cfbb64c6a
1,653
hpp
C++
tests/mghfuns/gaussian.hpp
ptillet/umintl
605da5703d36c2150fd1c2b979ff6e631b4cad47
[ "MIT" ]
null
null
null
tests/mghfuns/gaussian.hpp
ptillet/umintl
605da5703d36c2150fd1c2b979ff6e631b4cad47
[ "MIT" ]
null
null
null
tests/mghfuns/gaussian.hpp
ptillet/umintl
605da5703d36c2150fd1c2b979ff6e631b4cad47
[ "MIT" ]
null
null
null
/* =========================== Copyright (c) 2013 Philippe Tillet UMinTL - Unconstrained Minimization Template Library License : MIT X11 - See the LICENSE file in the root folder * ===========================*/ #ifndef UMINTL_GAUSSIAN_HPP_ #define UMINTL_GAUSSIAN_HPP_ #include <cmath> #include <vector> #inclu...
30.611111
91
0.54144
[ "vector" ]
c8506e26f9e334eac85a97017fec90ba54891212
753
cpp
C++
Array/huyang/07之前/嵌套数组.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
39
2020-05-31T06:14:39.000Z
2021-01-09T11:06:39.000Z
Array/huyang/07之前/嵌套数组.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
7
2020-06-02T11:04:14.000Z
2020-06-11T14:11:58.000Z
Array/huyang/07之前/嵌套数组.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
20
2020-05-31T06:21:57.000Z
2020-10-01T04:48:38.000Z
//索引从0开始长度为N的数组A,包含0到N - 1的所有整数。找到最大的集合S并返回其大小,其中 S[i] = {A[i], A[A[i]], A[A[A[i]]], ... }且遵守以下的规则。 //假设选择索引为i的元素A[i]为S的第一个元素,S的下一个元素应该是A[A[i]],之后是A[A[A[i]]]... 以此类推,不断添加直到S出现重复的元素。 //思路:环上的任一元素开始遍历都会有相同的结果,在for循环中,使用 while(nums[pos] < len ){ // nums[pos] += len; //跳过环上的元素 class Solution { public:...
26.892857
99
0.495352
[ "vector" ]
c8514a569694f5fb3db83dd6003c22f3e4d30165
47,211
cpp
C++
src/topp/MzTabExporter.cpp
andreott/OpenMS
718fa2e8a91280ff65e4cf834a3d825811dce1dc
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
1
2021-07-06T09:15:10.000Z
2021-07-06T09:15:10.000Z
src/topp/MzTabExporter.cpp
andreott/OpenMS
718fa2e8a91280ff65e4cf834a3d825811dce1dc
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
src/topp/MzTabExporter.cpp
andreott/OpenMS
718fa2e8a91280ff65e4cf834a3d825811dce1dc
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
42.455935
201
0.646057
[ "object", "vector" ]
c8553709bd85602b7b482194eb613d4bb416707f
1,911
cpp
C++
uva.onlinejudge.org/Frogger.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
6
2016-09-10T03:16:34.000Z
2020-04-07T14:45:32.000Z
uva.onlinejudge.org/Frogger.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
null
null
null
uva.onlinejudge.org/Frogger.cpp
facug91/OJ-Solutions
9aa55be066ce5596e4e64737c28cd3ff84e092fe
[ "Apache-2.0" ]
2
2018-08-11T20:55:35.000Z
2020-01-15T23:23:11.000Z
/* By: facug91 From: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=475 Name: Frogger Date: 17/10/2015 */ #include <bits/stdc++.h> #define y1 nd03dnqwuidg1odbnw9uddu0132d #define clock asoudh219udhjdgausdhs9udy433 #define left dfgag34gs...
28.522388
128
0.641549
[ "vector" ]
c85720704c5964066f1d3b15c2885ae88ca76926
13,925
hxx
C++
include/opengm/inference/alphaexpansion.hxx
yanlend/opengm
910cba0323ddafd1f1b8bb5d4483d77dba234efd
[ "MIT" ]
null
null
null
include/opengm/inference/alphaexpansion.hxx
yanlend/opengm
910cba0323ddafd1f1b8bb5d4483d77dba234efd
[ "MIT" ]
null
null
null
include/opengm/inference/alphaexpansion.hxx
yanlend/opengm
910cba0323ddafd1f1b8bb5d4483d77dba234efd
[ "MIT" ]
null
null
null
#pragma once #ifndef OPENGM_ALPHAEXPANSION_HXX #define OPENGM_ALPHAEXPANSION_HXX #include "opengm/inference/inference.hxx" #include "opengm/inference/new_visitors/new_visitors.hxx" namespace opengm { /// Alpha-Expansion Algorithm /// \ingroup inference template<class GM, class INF> class AlphaExpansion : public Infe...
29.070981
144
0.636697
[ "shape", "vector", "model" ]
c859909813132faa613aa39da9d0d65ca322de0b
17,919
cpp
C++
divide/shared/zip.cpp
carboncopycatgames/divide
9d62f52a8ff79e90ed4d8f5aa799e28c737f2a40
[ "MIT" ]
3
2019-12-06T13:38:52.000Z
2020-02-17T20:06:40.000Z
divide/shared/zip.cpp
carboncopycatgames/divide
9d62f52a8ff79e90ed4d8f5aa799e28c737f2a40
[ "MIT" ]
null
null
null
divide/shared/zip.cpp
carboncopycatgames/divide
9d62f52a8ff79e90ed4d8f5aa799e28c737f2a40
[ "MIT" ]
1
2021-07-20T05:08:33.000Z
2021-07-20T05:08:33.000Z
#include "cube.h" enum { ZIP_LOCAL_FILE_SIGNATURE = 0x04034B50, ZIP_LOCAL_FILE_SIZE = 30, ZIP_FILE_SIGNATURE = 0x02014B50, ZIP_FILE_SIZE = 46, ZIP_DIRECTORY_SIGNATURE = 0x06054B50, ZIP_DIRECTORY_SIZE = 22 }; struct ziplocalfileheader { uint signature; ushor...
30.42275
231
0.551258
[ "vector" ]
c85b8a26d5799712de7230261eb585f3cc78cbf3
6,350
cc
C++
deps/leveldb/leveldb-basho/db/penalty_test.cc
andris9/leveldown-basho-andris
611673f94e517f02ac15567a48fcc18c61cb46d2
[ "MIT" ]
null
null
null
deps/leveldb/leveldb-basho/db/penalty_test.cc
andris9/leveldown-basho-andris
611673f94e517f02ac15567a48fcc18c61cb46d2
[ "MIT" ]
null
null
null
deps/leveldb/leveldb-basho/db/penalty_test.cc
andris9/leveldown-basho-andris
611673f94e517f02ac15567a48fcc18c61cb46d2
[ "MIT" ]
null
null
null
// ------------------------------------------------------------------- // // penalty_test.cc // // Copyright (c) 2016 Basho Technologies, Inc. All Rights Reserved. // // This file is provided to you under the Apache License, // Version 2.0 (the "License"); you may not use this file // except in compliance with the Lice...
25.604839
93
0.657008
[ "vector" ]
c85c5f50c476d18fc8e0b246fd878021d51046d2
8,976
cpp
C++
src/Professor.cpp
svasighi/UMIS
4d930bbc6749e92ce1b8889bf8556ec3c68f50e0
[ "MIT" ]
1
2020-01-08T19:57:08.000Z
2020-01-08T19:57:08.000Z
src/Professor.cpp
svasighi/UMIS
4d930bbc6749e92ce1b8889bf8556ec3c68f50e0
[ "MIT" ]
null
null
null
src/Professor.cpp
svasighi/UMIS
4d930bbc6749e92ce1b8889bf8556ec3c68f50e0
[ "MIT" ]
null
null
null
#include "Professor.h" void Professor::setCourses(const std::vector<PresentedCourse*>& _courses) { courses = _courses; } std::vector<PresentedCourse*> Professor::getCourses(void) const { return courses; } void Professor::addCourse(PresentedCourse* course) { if (std::find(courses.begin(), courses.end(),...
33.492537
167
0.729055
[ "vector" ]
c85dbecab1b7c4778e04c5a9a56a982720d8f326
5,371
cpp
C++
source/vkbinding/source/Binding.cpp
cginternals/vkbinding-poc
83d776a2f7d960b3da5881c581eaafe01f79091e
[ "MIT" ]
null
null
null
source/vkbinding/source/Binding.cpp
cginternals/vkbinding-poc
83d776a2f7d960b3da5881c581eaafe01f79091e
[ "MIT" ]
null
null
null
source/vkbinding/source/Binding.cpp
cginternals/vkbinding-poc
83d776a2f7d960b3da5881c581eaafe01f79091e
[ "MIT" ]
null
null
null
#include <vkbinding/Binding.h> #include <cassert> #include <iostream> #include <vkbinding/State.h> #include <vkbinding/AbstractFunction.h> namespace vkbinding { void Binding::setCallbackMask(const CallbackMask mask) { for (auto function : Binding::functions()) { function->setCallbackMask(mask); ...
19.966543
111
0.686092
[ "vector" ]
c8630002ee57721a1a9836740b2d2b44b0d962ed
6,168
cpp
C++
Engine/source/console/simPersistSet.cpp
Torque3D/BadBehaviour
9fd487314d4636f7e91834acb2994aa56a63f8a7
[ "Unlicense" ]
1
2021-03-29T00:18:51.000Z
2021-03-29T00:18:51.000Z
Engine/source/console/simPersistSet.cpp
Torque3D/BadBehaviour
9fd487314d4636f7e91834acb2994aa56a63f8a7
[ "Unlicense" ]
null
null
null
Engine/source/console/simPersistSet.cpp
Torque3D/BadBehaviour
9fd487314d4636f7e91834acb2994aa56a63f8a7
[ "Unlicense" ]
1
2021-03-29T00:18:46.000Z
2021-03-29T00:18:46.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
31.958549
123
0.558528
[ "object" ]
c864ee51279e16e5490359a8b0c991296997ea5f
7,906
hpp
C++
android/scanlibrary/src/main/jni/sdk/native/jni/include/opencv2/objdetect/detection_based_tracker.hpp
PatrykMis/OpenScan
b4c9029f6c851517944b9184980f2509b63aad58
[ "BSD-3-Clause" ]
1,103
2020-07-11T15:34:50.000Z
2022-03-31T20:07:10.000Z
OpenCV-android-sdk/sdk/native/jni/include/opencv2/objdetect/detection_based_tracker.hpp
skumailraza/Tess4OCR
26001172d5d856b0553cb36e3ae9eb64f1631cb0
[ "Apache-2.0" ]
69
2020-08-06T10:15:08.000Z
2022-03-31T12:14:39.000Z
OpenCV-android-sdk/sdk/native/jni/include/opencv2/objdetect/detection_based_tracker.hpp
skumailraza/Tess4OCR
26001172d5d856b0553cb36e3ae9eb64f1631cb0
[ "Apache-2.0" ]
58
2020-07-14T21:48:49.000Z
2022-03-29T07:09:16.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
34.982301
150
0.57956
[ "object", "vector" ]
c86503719104185ba4ec3ec4f82d773e9791b45f
4,737
cpp
C++
code/components/gta-net-five/src/ObjectIdManager.cpp
MyNameIsYesgo/fivem
6def381fa0a992261a4414fae700c1c077e59327
[ "MIT" ]
5
2020-07-26T16:06:24.000Z
2021-05-01T14:29:40.000Z
code/components/gta-net-five/src/ObjectIdManager.cpp
MyNameIsYesgo/fivem
6def381fa0a992261a4414fae700c1c077e59327
[ "MIT" ]
6
2021-05-11T09:09:11.000Z
2022-03-23T18:34:23.000Z
code/components/gta-net-five/src/ObjectIdManager.cpp
MyNameIsYesgo/fivem
6def381fa0a992261a4414fae700c1c077e59327
[ "MIT" ]
3
2020-11-09T12:41:05.000Z
2022-01-24T23:16:15.000Z
#include <StdInc.h> #include <Hooking.h> #include <NetBuffer.h> #include <NetLibrary.h> #include <GameInit.h> #include <ICoreGameInit.h> #include <nutsnbolts.h> #include <CloneManager.h> #include <MinHook.h> static std::list<int> g_objectIds; static std::set<int> g_usedObjectIds; static std::set<int> g_stolenObjec...
21.729358
134
0.702343
[ "object" ]
c865f1fe2d9b7488eee63895ccf2ed02dfaba1cc
3,405
hpp
C++
Code_Examples/Chapter_08/openmp/src/ELLMatrix.hpp
OpenACCUserGroup/openacc_concept_strategies_book
7547260d6d845d34b1f28bbb64ab93226c705207
[ "CC-BY-4.0", "CC0-1.0" ]
26
2017-07-17T08:28:48.000Z
2021-07-20T19:05:55.000Z
Code_Examples/Chapter_08/openmp/src/ELLMatrix.hpp
OpenACCUserGroup/openacc_concept_strategies_book
7547260d6d845d34b1f28bbb64ab93226c705207
[ "CC-BY-4.0", "CC0-1.0" ]
2
2017-11-18T17:30:28.000Z
2018-11-08T12:39:27.000Z
Code_Examples/Chapter_08/tbb/src/ELLMatrix.hpp
OpenACCUserGroup/openacc_concept_strategies_book
7547260d6d845d34b1f28bbb64ab93226c705207
[ "CC-BY-4.0", "CC0-1.0" ]
16
2017-08-17T13:46:26.000Z
2021-02-03T16:09:34.000Z
#ifndef _ELLMatrix_hpp_ #define _ELLMatrix_hpp_ //@HEADER // ************************************************************************ // // MiniFE: Simple Finite Element Assembly and Solve // Copyright (2006-2013) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license f...
27.682927
75
0.626138
[ "vector" ]
c8671bcdde5804defae495aa588c5fcef1fef768
61,520
cpp
C++
B2G/gecko/parser/html/nsHtml5StreamParser.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/parser/html/nsHtml5StreamParser.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/parser/html/nsHtml5StreamParser.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set sw=2 ts=2 et tw=79: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
36.860395
135
0.655575
[ "object" ]
c868e61b616e295b45164d32ba3b82e886958bef
9,447
cc
C++
tensorflow/lite/tools/optimize/quantize_model.cc
yxd886/tensorflow
2eebcc63a6cd3aad483bf7c1cb25df2b8780ef67
[ "Apache-2.0" ]
1
2019-03-28T07:24:14.000Z
2019-03-28T07:24:14.000Z
tensorflow/lite/tools/optimize/quantize_model.cc
yxd886/tensorflow
2eebcc63a6cd3aad483bf7c1cb25df2b8780ef67
[ "Apache-2.0" ]
null
null
null
tensorflow/lite/tools/optimize/quantize_model.cc
yxd886/tensorflow
2eebcc63a6cd3aad483bf7c1cb25df2b8780ef67
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
41.800885
80
0.669101
[ "shape", "vector", "model" ]
c86aa1a2bb55be7b491a6c20e0e72f1104e03667
13,274
cc
C++
p2p/base/regathering_controller_unittest.cc
webrtc-uwp/webrtc2
d1b53b61fb41a3aec58668f07e230f0b54560029
[ "BSD-3-Clause" ]
97
2016-11-10T08:22:35.000Z
2021-12-19T05:42:40.000Z
p2p/base/regathering_controller_unittest.cc
webrtc-uwp/webrtc2
d1b53b61fb41a3aec58668f07e230f0b54560029
[ "BSD-3-Clause" ]
9
2017-02-23T05:10:25.000Z
2020-10-13T08:58:26.000Z
p2p/base/regathering_controller_unittest.cc
webrtc-uwp/webrtc2
d1b53b61fb41a3aec58668f07e230f0b54560029
[ "BSD-3-Clause" ]
72
2016-10-14T03:35:04.000Z
2022-03-10T01:08:15.000Z
/* * Copyright 2018 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
43.097403
80
0.756366
[ "vector" ]
c86e3641d7ba3658ccae6b0d82ac4e885b7f7dd7
2,514
hpp
C++
sstd_tcp/server.hpp
admiswalker/forBlog_sstd_tcp_Ver00.11_00
a85a86f827b281291d35c014e15f5a09f47be931
[ "MIT" ]
null
null
null
sstd_tcp/server.hpp
admiswalker/forBlog_sstd_tcp_Ver00.11_00
a85a86f827b281291d35c014e15f5a09f47be931
[ "MIT" ]
null
null
null
sstd_tcp/server.hpp
admiswalker/forBlog_sstd_tcp_Ver00.11_00
a85a86f827b281291d35c014e15f5a09f47be931
[ "MIT" ]
null
null
null
#pragma once #include <sstd/sstd.hpp> #include <netinet/in.h> // for sockaddr_in #include <sys/epoll.h> // for epoll //----------------------------------------------------------------------------------------------------------------------------------------------- struct fdState{ private: public: fdState(); ~fdStat...
30.658537
145
0.558075
[ "vector" ]
c872393aea8ad2527221eff87bcab779d5b352c2
33,494
cpp
C++
astronomy/orbit_analysis_test.cpp
erplsf/Principia
1f2a1fc53f8a73c1bc67f12213169e6969c8488f
[ "MIT" ]
null
null
null
astronomy/orbit_analysis_test.cpp
erplsf/Principia
1f2a1fc53f8a73c1bc67f12213169e6969c8488f
[ "MIT" ]
null
null
null
astronomy/orbit_analysis_test.cpp
erplsf/Principia
1f2a1fc53f8a73c1bc67f12213169e6969c8488f
[ "MIT" ]
null
null
null
 #include <string> #include <tuple> #include <utility> #include <vector> #include "astronomy/orbit_ground_track.hpp" #include "astronomy/orbit_recurrence.hpp" #include "astronomy/orbital_elements.hpp" #include "astronomy/standard_product_3.hpp" #include "base/not_null.hpp" #include "gmock/gmock.h" #include "gtest/gte...
45.262162
80
0.65349
[ "geometry", "vector", "model" ]
c875f5f46d85f26d1d7c153a4260057b05b7cfc4
48,801
cpp
C++
copasi/sbml/UnitConversionFactory.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
copasi/sbml/UnitConversionFactory.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
copasi/sbml/UnitConversionFactory.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
// Begin CVS Header // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/UnitConversionFactory.cpp,v $ // $Revision: 1.11 $ // $Name: $ // $Author: ssahle $ // $Date: 2012/04/22 15:41:48 $ // End CVS Header // Copyright (C) 2012 - 2010 by Pedro Mendes, Virginia Tech Intellectual // Properties, ...
29.204668
155
0.688531
[ "vector" ]
c877b0c837ccbb25d21ea044deca6ba36c664844
1,660
cc
C++
lib/jxl/enc_toc.cc
zond/libjxl
04267a8780d1600d2bc9a79d161d7f769b5db93c
[ "BSD-3-Clause" ]
453
2021-05-25T15:53:07.000Z
2022-03-30T05:32:31.000Z
lib/jxl/enc_toc.cc
zond/libjxl
04267a8780d1600d2bc9a79d161d7f769b5db93c
[ "BSD-3-Clause" ]
659
2021-05-25T16:33:46.000Z
2022-03-31T14:59:34.000Z
lib/jxl/enc_toc.cc
zond/libjxl
04267a8780d1600d2bc9a79d161d7f769b5db93c
[ "BSD-3-Clause" ]
105
2021-05-25T16:11:10.000Z
2022-03-29T09:52:09.000Z
// Copyright (c) the JPEG XL 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 "lib/jxl/enc_toc.h" #include <stdint.h> #include "lib/jxl/aux_out_fwd.h" #include "lib/jxl/coeff_order.h" #include "lib/jxl/coeff_orde...
35.319149
75
0.677711
[ "vector" ]
c87b7eebd018fe66853b30ea0d1a4d197d2184d9
423
cpp
C++
libs/object/src/object.cpp
andreasbrueck/BoostObject
07cab717513b71332baa766fdcd0b07d8c0a320f
[ "BSL-1.0" ]
null
null
null
libs/object/src/object.cpp
andreasbrueck/BoostObject
07cab717513b71332baa766fdcd0b07d8c0a320f
[ "BSL-1.0" ]
null
null
null
libs/object/src/object.cpp
andreasbrueck/BoostObject
07cab717513b71332baa766fdcd0b07d8c0a320f
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////// // // (C) Copyright 2015 Andreas Brück // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOS...
35.25
75
0.624113
[ "object" ]
c87e7a1199f86ec4e12032124e41c182cd397fb2
63,817
cpp
C++
src/opr/impl/basic_arith.cpp
chenls/MegEngine
3f783aba4b81ab628ad911d0c66a49d163a8aaf6
[ "Apache-2.0" ]
null
null
null
src/opr/impl/basic_arith.cpp
chenls/MegEngine
3f783aba4b81ab628ad911d0c66a49d163a8aaf6
[ "Apache-2.0" ]
null
null
null
src/opr/impl/basic_arith.cpp
chenls/MegEngine
3f783aba4b81ab628ad911d0c66a49d163a8aaf6
[ "Apache-2.0" ]
null
null
null
/** * \file src/opr/impl/basic_arith.cpp * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS I...
35.04503
111
0.567169
[ "shape", "vector" ]
c87f34355f308783bba42e8c1cc1dba9b216f365
903
cpp
C++
problems19dec/vases/2.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
1
2021-12-11T01:43:27.000Z
2021-12-11T01:43:27.000Z
problems19dec/vases/2.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
null
null
null
problems19dec/vases/2.cpp
Gomango999/codebreaker
407c4ac7a69c8db52cc7d2a57034cdda243c9134
[ "MIT" ]
1
2021-12-15T07:04:29.000Z
2021-12-15T07:04:29.000Z
#include <iostream> #include <vector> using namespace std; int N; // Apparently you could do vector<int>(3, 0); to prefill the vector. vector<int> v; bool invalid() { bool ok = true; ok &= v[0] + v[1] + v[2] == N; for(int i = 0; i < 3; i++) { ok &= v[i] > 0 && v[i] < N; ok &= v[i] != v[(...
17.365385
68
0.378738
[ "vector" ]
c880dfc9505e97f79024c576d74d692fa795db5e
3,568
cxx
C++
Qt/Components/pqDataInformationModelSelectionAdaptor.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
1
2021-07-31T19:38:03.000Z
2021-07-31T19:38:03.000Z
Qt/Components/pqDataInformationModelSelectionAdaptor.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
null
null
null
Qt/Components/pqDataInformationModelSelectionAdaptor.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
2
2019-01-22T19:51:40.000Z
2021-07-31T19:38:05.000Z
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ParaView lice...
35.68
81
0.639013
[ "model" ]
c882ca2f1b48229205c4849bdcd456bbafea4201
1,754
hpp
C++
ql/methods/finitedifferences/fdtypedefs.hpp
zhengyuzhang1/QuantLib
65867ab7c44419b69e40e553b41230744b83cff9
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
ql/methods/finitedifferences/fdtypedefs.hpp
zhengyuzhang1/QuantLib
65867ab7c44419b69e40e553b41230744b83cff9
[ "BSD-3-Clause" ]
10
2017-04-02T14:34:07.000Z
2021-01-13T05:31:12.000Z
ql/methods/finitedifferences/fdtypedefs.hpp
zhengyuzhang1/QuantLib
65867ab7c44419b69e40e553b41230744b83cff9
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redis...
35.08
83
0.732611
[ "model" ]
c888d4acadbf916b79fa7c6121b49d8ce48799f8
8,619
hpp
C++
include/Mono/Security/X509/X501.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/Mono/Security/X509/X501.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/Mono/Security/X509/X501.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" #include "beatsaber-hook/shared/utils/typedefs-...
55.606452
187
0.707275
[ "vector" ]
c88aa30cb9df9bb451f6842afce01f63e4bc7b04
17,173
cpp
C++
engine/input/emscripten/InputSystemEm.cpp
codingwatching/ouzel
07f09aefd3832801826441cd049b149c24a06b58
[ "Unlicense" ]
1
2021-11-08T09:49:10.000Z
2021-11-08T09:49:10.000Z
engine/input/emscripten/InputSystemEm.cpp
codingwatching/ouzel
07f09aefd3832801826441cd049b149c24a06b58
[ "Unlicense" ]
null
null
null
engine/input/emscripten/InputSystemEm.cpp
codingwatching/ouzel
07f09aefd3832801826441cd049b149c24a06b58
[ "Unlicense" ]
null
null
null
// Ouzel by Elviss Strazdins #include <map> #include <emscripten.h> #include "InputSystemEm.hpp" #include "GamepadDeviceEm.hpp" #include "../../core/Engine.hpp" #include "../../utils/Log.hpp" namespace ouzel::input::emscripten { namespace { const std::map<std::string, Keyboard::Key> keyMap = { ...
41.682039
146
0.521982
[ "vector" ]
c88b684f4a6fafa56e738048894e7af87190d85b
27,366
hpp
C++
Granite/third_party/shaderc/libshaderc/include/shaderc/shaderc.hpp
dmrlawson/parallel-rdp
f18e00728bb45e3a769ab7ad3b9064359ef82209
[ "MIT" ]
1,582
2019-05-31T01:48:29.000Z
2022-03-30T12:37:03.000Z
Morpheus-Core/Vendor/VULKAN/Include/shaderc/shaderc.hpp
LegendaryDelta/Morpheus-Engine
f9ddc2ab4bac5f6f8b2f7334358c47dcc558eec4
[ "Apache-2.0" ]
48
2019-06-02T16:26:57.000Z
2021-09-21T10:10:42.000Z
Morpheus-Core/Vendor/VULKAN/Include/shaderc/shaderc.hpp
LegendaryDelta/Morpheus-Engine
f9ddc2ab4bac5f6f8b2f7334358c47dcc558eec4
[ "Apache-2.0" ]
83
2019-07-11T09:55:24.000Z
2022-03-30T03:04:01.000Z
// Copyright 2015 The Shaderc Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
45.916107
80
0.70858
[ "geometry", "object", "vector" ]
c88c7f956e4855d1ab742c70b8fd2064f4b11285
777
cpp
C++
cpp/src/121.cpp
Triple-Z/LeetCode
e470de54086cdedd4738fe62fe735d89089227dd
[ "MIT" ]
1
2021-05-28T16:46:14.000Z
2021-05-28T16:46:14.000Z
cpp/src/121.cpp
Triple-Z/LeetCode
e470de54086cdedd4738fe62fe735d89089227dd
[ "MIT" ]
12
2020-09-17T16:25:24.000Z
2021-11-16T15:08:44.000Z
cpp/src/121.cpp
Triple-Z/LeetCode
e470de54086cdedd4738fe62fe735d89089227dd
[ "MIT" ]
1
2021-12-19T07:33:22.000Z
2021-12-19T07:33:22.000Z
#include <iostream> #include <vector> #include <climits> #include <cassert> using namespace std; class Solution { public: int maxProfit(vector<int>& prices) { int min_price = INT_MAX; int max_profit = 0; for (int price: prices) { if (price < min_price) ...
18.95122
48
0.526384
[ "vector" ]
c88e4839e0b908a422c11def5b45b7f4d31d24c3
15,845
cc
C++
chrome/services/sharing/nearby/platform/bluetooth_socket.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
chrome/services/sharing/nearby/platform/bluetooth_socket.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
chrome/services/sharing/nearby/platform/bluetooth_socket.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 "chrome/services/sharing/nearby/platform/bluetooth_socket.h" #include <stdint.h> #include <limits> #include <vector> #include "base/metrics/his...
35.447427
80
0.682108
[ "vector" ]
c88e7476d3110169f30da2563d03b6ea2bf5d9c4
7,653
cpp
C++
src/base.cpp
lorenzosquadrani/plasticity
6ae648fe537ebbff8432ec04beb58e4acac5871e
[ "MIT" ]
5
2020-11-06T16:30:24.000Z
2022-02-09T21:20:41.000Z
src/base.cpp
Nico-Curti/plasticity
8159871d0aa31b096788e5aab785a1a969725ddf
[ "MIT" ]
null
null
null
src/base.cpp
Nico-Curti/plasticity
8159871d0aa31b096788e5aab785a1a969725ddf
[ "MIT" ]
4
2020-11-25T14:22:48.000Z
2021-08-07T10:45:22.000Z
#include <base.h> float BasePlasticity :: precision = 1e-30f; BasePlasticity :: BasePlasticity () : optimizer (), w_init (), weights (), history (), theta (), activation (nullptr), gradient (nullptr), batch (100), outputs (100), epochs_for_convergency (0), convergency_atol (0.f),...
36.793269
192
0.665099
[ "shape", "vector", "model" ]
c88e8503ccd121338212e19cb73b6f4887bca73c
3,568
hh
C++
extern/glow/src/glow/common/array_view.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/glow/src/glow/common/array_view.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/glow/src/glow/common/array_view.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #include <cstddef> #include <initializer_list> #include <type_traits> #include <utility> #include <typed-geometry/feature/assert.hh> namespace glow { template <class T> struct array_view; namespace detail { template <class Range, class T, class = void> struct convertible_to_array_view_t : std::false_ty...
28.774194
155
0.673487
[ "geometry" ]
c890d6538406f7017a4f44a6e6f694352e91a210
4,567
cpp
C++
Source/Game/GunObjects/Bullet.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
Source/Game/GunObjects/Bullet.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
Source/Game/GunObjects/Bullet.cpp
nathanlink169/3D-Shaders-Test
2493fb71664d75100fbb4a80ac70f657a189593d
[ "MIT" ]
null
null
null
#include "CommonHeader.h" Bullet::Bullet(unsigned int renderOrder,Scene* aScene, std::string aName, std::string aTag, Vector3 aPosition, Vector3 aRotation, Vector3 aScale, Mesh* aMesh, ShaderProgram* aShader, Material* aTexture) : GameObject(renderOrder, aScene, aName, aTag, aPosition, aRotation, aScale, aMesh, aS...
25.372222
202
0.648128
[ "mesh", "vector" ]
c89139f5e361a7238b5960a5d28aaedaf1399021
1,200
cpp
C++
Engine/Graphics/GXM/GXMVertexArray.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
null
null
null
Engine/Graphics/GXM/GXMVertexArray.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
17
2021-03-12T18:19:07.000Z
2021-08-06T21:25:35.000Z
Engine/Graphics/GXM/GXMVertexArray.cpp
guimeixen/Engine
fcea39d2099b613b32b20462586e1c932bbb24fc
[ "MIT" ]
null
null
null
#include "GXMVertexArray.h" #include "Graphics/Buffers.h" namespace Engine { GXMVertexArray::GXMVertexArray(const VertexInputDesc &desc, Buffer *vertexBuffer, Buffer *indexBuffer) { if (!vertexBuffer) return; if (indexBuffer) { this->indexBuffer = indexBuffer; } vertexBuffer->AddReference(); ver...
20.689655
149
0.706667
[ "vector" ]
c891b64ec2392c4e77d4761c65cc66f7a1600dc3
9,716
cc
C++
src/loginsvr/interface.cc
lujingwei002/coord-cproj-minigame
06c0afa8c23382aa566cbd2fb514c1a58382c0a4
[ "MIT" ]
null
null
null
src/loginsvr/interface.cc
lujingwei002/coord-cproj-minigame
06c0afa8c23382aa566cbd2fb514c1a58382c0a4
[ "MIT" ]
null
null
null
src/loginsvr/interface.cc
lujingwei002/coord-cproj-minigame
06c0afa8c23382aa566cbd2fb514c1a58382c0a4
[ "MIT" ]
null
null
null
/* ** Lua binding: loginsvr ** Generated automatically by tolua++-1.0.92 on Thu Oct 28 15:11:36 2021. */ #ifndef __cplusplus #include "stdlib.h" #endif #include "string.h" #include "tolua++.h" /* Exported function */ TOLUA_API int tolua_loginsvr_open (lua_State* tolua_S); #include "loginsvr.h" /* function to rele...
33.853659
127
0.776142
[ "object" ]
c8971f762dce988778f37cc928af2fc1459b088d
8,557
cpp
C++
toonz/sources/stdfx/iwa_bokehreffx.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
3,710
2016-03-26T00:40:48.000Z
2022-03-31T21:35:12.000Z
toonz/sources/stdfx/iwa_bokehreffx.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
4,246
2016-03-26T01:21:45.000Z
2022-03-31T23:10:47.000Z
toonz/sources/stdfx/iwa_bokehreffx.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
633
2016-03-26T00:42:25.000Z
2022-03-17T02:55:13.000Z
#include "iwa_bokehreffx.h" #include "trop.h" #include <QReadWriteLock> #include <QSet> #include <QMap> #include <math.h> namespace { QReadWriteLock lock; QMutex fx_mutex; template <typename T> TRasterGR8P allocateRasterAndLock(T** buf, TDimensionI dim) { TRasterGR8P ras(dim.lx * sizeof(T), dim.ly); ras->lock()...
36.258475
80
0.627556
[ "vector" ]
c8985455a6283d6378c6c74ebc0e8b96ef5fb92e
396
cpp
C++
async/support/string_util.cpp
smallsunsun1/async_lib
d1e88aa73a1084a9549f884241266c8bdf568411
[ "Apache-2.0", "MIT" ]
null
null
null
async/support/string_util.cpp
smallsunsun1/async_lib
d1e88aa73a1084a9549f884241266c8bdf568411
[ "Apache-2.0", "MIT" ]
null
null
null
async/support/string_util.cpp
smallsunsun1/async_lib
d1e88aa73a1084a9549f884241266c8bdf568411
[ "Apache-2.0", "MIT" ]
null
null
null
#include "async/support/string_util.h" #include <regex> namespace sss { std::vector<std::string> async::StrSplit(const std::string &s, const std::string &delimer) { std::regex re(delimer); std::vector<std::string> v( std::sregex_token_iterator(s.begin(), s.end(), re,...
28.285714
70
0.60101
[ "vector" ]
c899d7ac042ef721b0281207f1ad3d75557dccec
34,165
cpp
C++
src/qt/qtwebkit/Source/WebCore/platform/win/PasteboardWin.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2015-05-27T13:52:20.000Z
2015-05-27T13:52:20.000Z
src/qt/qtwebkit/Source/WebCore/platform/win/PasteboardWin.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebCore/platform/win/PasteboardWin.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2022-02-18T10:41:38.000Z
2022-02-18T10:41:38.000Z
/* * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. * Copyright (C) 2013 Xueqing Huang <huangxueqing@baidu.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code mus...
32.231132
175
0.662666
[ "vector", "model" ]
c89ad75eb79ab34f2b44616341ff05c1eea4e433
6,257
cpp
C++
source/Variant.cpp
sys-bio/Archive_roadRunner
611bd5338bf842fb5708a9ad75a316bbcc44c902
[ "Apache-2.0" ]
null
null
null
source/Variant.cpp
sys-bio/Archive_roadRunner
611bd5338bf842fb5708a9ad75a316bbcc44c902
[ "Apache-2.0" ]
null
null
null
source/Variant.cpp
sys-bio/Archive_roadRunner
611bd5338bf842fb5708a9ad75a316bbcc44c902
[ "Apache-2.0" ]
null
null
null
/* * Variant.cpp * * Created on: Apr 26, 2014 * Author: andy */ #include "Variant.h" #include "rrLogger.h" #include <exception> #include <iostream> #include <stdexcept> #include <cctype> #include <cstdlib> #include <algorithm> #include <assert.h> #include <Poco/Dynamic/Var.h> #include <stdint.h> using nam...
19.07622
69
0.54499
[ "transform" ]
c89b83f5e7885c5c005e252e69ec5ac9f19044d6
13,150
cpp
C++
Atum/SceneObjects/Other/Demo/tank.cpp
ENgineE777/Atum
3e9417e2a7deda83bf937612fd070566eb932484
[ "Zlib" ]
23
2017-11-01T14:47:26.000Z
2021-12-30T08:04:31.000Z
Atum/SceneObjects/Other/Demo/tank.cpp
ENgineE777/Atum
3e9417e2a7deda83bf937612fd070566eb932484
[ "Zlib" ]
1
2018-12-06T14:19:55.000Z
2018-12-07T04:06:35.000Z
Atum/SceneObjects/Other/Demo/tank.cpp
ENgineE777/Atum
3e9417e2a7deda83bf937612fd070566eb932484
[ "Zlib" ]
4
2017-11-30T10:25:58.000Z
2019-04-21T14:11:40.000Z
#include "tank.h" #include "tankclient.h" #include "Services/Controls/Controls.h" #include "SceneObjects/3D/GenericMarker.h" CLASSREG(SceneObject, Tank, "Tank") META_DATA_DESC(Tank) BASE_SCENE_OBJ_PROP(Tank) META_DATA_DESC_END() float Tank::Projectile::maxTimeLife = 4.0f; float Tank::Projectile::speed = 50.0f; float...
18.758916
176
0.603878
[ "render", "object", "vector", "transform", "3d" ]
c8a2472d69a61ab1a22f9c74adfb0275797e6465
512
hpp
C++
src/client/headers.hpp
Fenex330/surv-royale
4b5264a346e44e7460221cc23c8aaf9a10c4a4d7
[ "MIT" ]
2
2022-03-01T18:57:26.000Z
2022-03-20T18:20:13.000Z
src/client/headers.hpp
Fenex330/surv-royale
4b5264a346e44e7460221cc23c8aaf9a10c4a4d7
[ "MIT" ]
null
null
null
src/client/headers.hpp
Fenex330/surv-royale
4b5264a346e44e7460221cc23c8aaf9a10c4a4d7
[ "MIT" ]
1
2021-11-11T19:01:18.000Z
2021-11-11T19:01:18.000Z
#pragma once #include <utility> #include <iostream> #include <fstream> #include <string> #include <stack> #include <vector> #include <unordered_map> #include <random> #include <filesystem> #include <cstdlib> #include <cassert> #include <cmath> #include <SFML/Graphics.hpp> #include <SFML/Network.hpp> #include <SFML/A...
17.655172
32
0.714844
[ "vector" ]
c8a5244c63edb3defbeacae770b00c9ed394cac6
8,401
cpp
C++
src/effect.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
1
2022-01-15T00:00:27.000Z
2022-01-15T00:00:27.000Z
src/effect.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
null
null
null
src/effect.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
3
2021-10-14T02:36:56.000Z
2022-03-22T21:03:31.000Z
/* The Forgotten Client Copyright (C) 2020 Saiyans King This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, in...
30.886029
127
0.716343
[ "render", "vector" ]
c8a607a46047957b7f5c61d8eac7d7ab417603f5
7,059
cpp
C++
Source/ProceduralMeshes/Private/HeightFieldAnimatedActor.cpp
Drezil/ProceduralMeshes
2838d45e29a3133dd5fba08596e1e5a0ac68227e
[ "MIT" ]
null
null
null
Source/ProceduralMeshes/Private/HeightFieldAnimatedActor.cpp
Drezil/ProceduralMeshes
2838d45e29a3133dd5fba08596e1e5a0ac68227e
[ "MIT" ]
null
null
null
Source/ProceduralMeshes/Private/HeightFieldAnimatedActor.cpp
Drezil/ProceduralMeshes
2838d45e29a3133dd5fba08596e1e5a0ac68227e
[ "MIT" ]
null
null
null
// Copyright Sigurdur Gunnarsson. All Rights Reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // Example heightfield grid animated with sine and cosine waves #include "ProceduralMeshesPrivatePCH.h" #include "HeightFieldAnimatedActor.h" AHeightFieldAnima...
38.785714
220
0.751806
[ "mesh", "object", "transform" ]