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
d05a192a81d1586aa82cbcb0183452f80ed56cd4
2,993
hpp
C++
plugins/custom_protocol_api/include/graphene/plugins/custom_protocol_api/custom_protocol_api_object.hpp
VIZ-World/viz-core
634825fcfff9e392a26789f8e23c4cfab2952b71
[ "MIT" ]
7
2018-03-21T12:56:32.000Z
2018-04-02T16:06:24.000Z
plugins/custom_protocol_api/include/graphene/plugins/custom_protocol_api/custom_protocol_api_object.hpp
VIZ-World/viz-core
634825fcfff9e392a26789f8e23c4cfab2952b71
[ "MIT" ]
18
2018-03-21T13:29:46.000Z
2018-05-18T10:56:43.000Z
plugins/custom_protocol_api/include/graphene/plugins/custom_protocol_api/custom_protocol_api_object.hpp
VIZ-World/VIZ.Core
634825fcfff9e392a26789f8e23c4cfab2952b71
[ "MIT" ]
9
2019-02-27T05:19:41.000Z
2021-07-04T22:48:33.000Z
#pragma once #include <appbase/application.hpp> #include <graphene/plugins/chain/plugin.hpp> #include <graphene/protocol/types.hpp> #include <boost/multi_index/composite_key.hpp> #include <graphene/chain/chain_object_types.hpp> #include <graphene/chain/content_object.hpp> namespace graphene { namespace plugins { name...
38.371795
135
0.695623
[ "object" ]
d05e2fb42c66b9da1828656cbfd77541a2d171b4
11,654
cpp
C++
Source/GmmLib/Platform/GmmPlatform.cpp
edwarddavidbaker/gmmlib
1c975c52634172376b49f2983d4d0fd7049302f9
[ "MIT" ]
126
2017-09-29T20:02:04.000Z
2022-03-25T14:11:42.000Z
Source/GmmLib/Platform/GmmPlatform.cpp
edwarddavidbaker/gmmlib
1c975c52634172376b49f2983d4d0fd7049302f9
[ "MIT" ]
84
2017-12-18T23:16:27.000Z
2022-03-24T09:08:30.000Z
Source/GmmLib/Platform/GmmPlatform.cpp
edwarddavidbaker/gmmlib
1c975c52634172376b49f2983d4d0fd7049302f9
[ "MIT" ]
85
2017-12-01T00:15:49.000Z
2022-03-20T02:57:38.000Z
/*============================================================================== Copyright(c) 2017 Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including w...
46.803213
161
0.520422
[ "render", "3d" ]
d0685908aa59e6c8f1a5ec6f07413ca7e7a8dc90
1,525
cpp
C++
src/shapes/ConstantMedium.cpp
charlespina/raytracer
9ffe9deebb3106f9539ba68787d47a0f4c305282
[ "MIT" ]
null
null
null
src/shapes/ConstantMedium.cpp
charlespina/raytracer
9ffe9deebb3106f9539ba68787d47a0f4c305282
[ "MIT" ]
null
null
null
src/shapes/ConstantMedium.cpp
charlespina/raytracer
9ffe9deebb3106f9539ba68787d47a0f4c305282
[ "MIT" ]
null
null
null
#include "raytracer/shapes/ConstantMedium.h" #include "raytracer/materials/materials.h" using namespace raytracer; ConstantMedium::ConstantMedium(std::shared_ptr<Shape> object, float density, std::shared_ptr<Texture> albedo) : _object(object) , _density(density) { _material = std::make_shared<Isotropic>(albedo); } ...
38.125
109
0.70623
[ "object", "shape" ]
d06a0da9affc2951bc6ba940051fddcbdcbd01e6
543
cpp
C++
Challenge-2020-11/22_unique_morse_code_words.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2020-11/22_unique_morse_code_words.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2020-11/22_unique_morse_code_words.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
#include "../header.h" class Solution { public: int uniqueMorseRepresentations(vector<string>& words) { vector<string> dict {".-","-...","-.-.","-..",".","..-.","--.","....","..",".---","-.-",".-..","--","-.","---",".--.","--.-",".-.","...","-","..-","...-",".--","-..-","-.--","--.."}; set<string> ...
31.941176
190
0.322284
[ "vector" ]
d06ad2d6f56dcb3c25f195c0411bb455a738c7b6
2,893
hxx
C++
opencascade/BVH_ObjectSet.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BVH_ObjectSet.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/BVH_ObjectSet.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 2013-12-20 // Created by: Denis BOGOLEPOV // Copyright (c) 2013-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 ...
31.791209
131
0.735914
[ "object", "vector" ]
d06db322df72aacd3d3a251654d951086d7165d4
8,205
cpp
C++
aisaac/src/command_sender.cpp
team-aisaac/aisaac-strategy
3e4940cc7277bfa1d25ac8eef2aaf5904c5585aa
[ "MIT" ]
2
2019-08-20T11:35:31.000Z
2019-11-30T13:23:28.000Z
aisaac/src/command_sender.cpp
team-aisaac/aisaac-strategy
3e4940cc7277bfa1d25ac8eef2aaf5904c5585aa
[ "MIT" ]
34
2019-04-06T02:32:24.000Z
2021-08-08T14:12:08.000Z
aisaac/src/command_sender.cpp
team-aisaac/aisaac-strategy
3e4940cc7277bfa1d25ac8eef2aaf5904c5585aa
[ "MIT" ]
10
2019-03-27T12:24:08.000Z
2019-07-01T09:45:28.000Z
/** * @file usbserial-xbee.cpp * * @brief This program is for Xbee wireless communication * @author K.Terae * @date 2019.7.9 * **/ // include #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <termios.h> #include <unistd.h> #include <math.h> #include <sys/types.h> #include <sys/stat.h> #include ...
27.168874
142
0.572821
[ "vector" ]
d06db4a02c0e462aa8ec94d7aa00701043ddf64f
3,236
cpp
C++
UI/GraphWidget.cpp
DeeDive/TSP-Solver
9e445724fe9f85975a37d93777d96e0ef63f17d3
[ "MIT" ]
null
null
null
UI/GraphWidget.cpp
DeeDive/TSP-Solver
9e445724fe9f85975a37d93777d96e0ef63f17d3
[ "MIT" ]
null
null
null
UI/GraphWidget.cpp
DeeDive/TSP-Solver
9e445724fe9f85975a37d93777d96e0ef63f17d3
[ "MIT" ]
null
null
null
#include "GraphWidget.h" #include "GUIEdge.h" #include "GUINode.h" #include <cmath> #include <QKeyEvent> GraphWidget::GraphWidget(QWidget* parent) : QGraphicsView(parent) { scene_ = new QGraphicsScene(this); scene_->setItemIndexMethod(QGraphicsScene::NoIndex); setScene(scene_); setCacheMode(Cache...
26.096774
99
0.650803
[ "vector", "transform" ]
d070cc53f25f0558f3c2dd6ff3517a934a2939e8
6,484
cc
C++
google/cloud/storage/tests/slow_reader_integration_test.cc
mcharsley/google-cloud-cpp
934b05112555e661035930c10ebc0a8011d519ac
[ "Apache-2.0" ]
1
2019-10-30T18:45:53.000Z
2019-10-30T18:45:53.000Z
google/cloud/storage/tests/slow_reader_integration_test.cc
mcharsley/google-cloud-cpp
934b05112555e661035930c10ebc0a8011d519ac
[ "Apache-2.0" ]
null
null
null
google/cloud/storage/tests/slow_reader_integration_test.cc
mcharsley/google-cloud-cpp
934b05112555e661035930c10ebc0a8011d519ac
[ "Apache-2.0" ]
1
2019-09-05T06:14:53.000Z
2019-09-05T06:14:53.000Z
// Copyright 2019 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
33.770833
80
0.702036
[ "object", "vector" ]
d0717663f77d803b5e8efed5d3f91917601c0640
4,136
cpp
C++
compare.cpp
aaalgo/latte
0a9e921d9eba94423699faa1105c88739c921378
[ "BSD-2-Clause" ]
null
null
null
compare.cpp
aaalgo/latte
0a9e921d9eba94423699faa1105c88739c921378
[ "BSD-2-Clause" ]
null
null
null
compare.cpp
aaalgo/latte
0a9e921d9eba94423699faa1105c88739c921378
[ "BSD-2-Clause" ]
null
null
null
#include <array> #include <vector> #include <iostream> #include <fstream> #include <utility> #include <algorithm> #include <boost/progress.hpp> #include <boost/program_options.hpp> #include <boost/python/numpy.hpp> #include "latte.h" using namespace std; using namespace latte; namespace py = boost::python; namespace n...
29.542857
126
0.539894
[ "object", "shape", "vector" ]
d07561c23cc736e77d002b57b4808347a6e4ad4e
2,761
cpp
C++
cg/src/graph/PrimitiveProxy.cpp
MachSilva/Ds
a7da3d4ca3b00b19884bc64d9d7baefea809cb3d
[ "Zlib" ]
2
2021-11-23T18:36:51.000Z
2021-11-24T19:38:25.000Z
cg/src/graph/PrimitiveProxy.cpp
MachSilva/Ds
a7da3d4ca3b00b19884bc64d9d7baefea809cb3d
[ "Zlib" ]
1
2022-02-12T20:47:59.000Z
2022-03-17T02:03:25.000Z
cg/src/graph/PrimitiveProxy.cpp
MachSilva/Ds
a7da3d4ca3b00b19884bc64d9d7baefea809cb3d
[ "Zlib" ]
1
2022-02-12T22:31:50.000Z
2022-02-12T22:31:50.000Z
//[]---------------------------------------------------------------[] //| | //| Copyright (C) 2022 Paulo Pagliosa. | //| | //| This software is provided 'as-is', w...
32.869048
72
0.48678
[ "transform" ]
d075a163ae485f65f02f5a3aa308cf26920b5e6a
6,776
cpp
C++
mapnikvt/src/mapnikvt/LineSymbolizer.cpp
farfromrefug/mobile-carto-libs
c7e81a7c73661aa047de9ba7e8bbdf3a24bbf1df
[ "BSD-3-Clause" ]
null
null
null
mapnikvt/src/mapnikvt/LineSymbolizer.cpp
farfromrefug/mobile-carto-libs
c7e81a7c73661aa047de9ba7e8bbdf3a24bbf1df
[ "BSD-3-Clause" ]
null
null
null
mapnikvt/src/mapnikvt/LineSymbolizer.cpp
farfromrefug/mobile-carto-libs
c7e81a7c73661aa047de9ba7e8bbdf3a24bbf1df
[ "BSD-3-Clause" ]
null
null
null
#include "LineSymbolizer.h" #include "ParserUtils.h" #include "vt/BitmapCanvas.h" #include <cmath> #include <algorithm> #include <boost/algorithm/string.hpp> namespace carto { namespace mvt { LineSymbolizer::FeatureProcessor LineSymbolizer::createFeatureProcessor(const ExpressionContext& exprContext, const Symbo...
52.9375
195
0.593861
[ "geometry", "vector", "transform" ]
d079c2155c0599b69bd304c3e08074864e69566f
852
cpp
C++
leetcode/medium/90. Subsets II.cpp
fpdjsns/Algorithm
0128da7c333d0c065f6d266d9e6dce4a91842525
[ "MIT" ]
7
2019-08-05T14:49:41.000Z
2022-03-13T07:10:51.000Z
leetcode/medium/90. Subsets II.cpp
fpdjsns/Algorithm
0128da7c333d0c065f6d266d9e6dce4a91842525
[ "MIT" ]
null
null
null
leetcode/medium/90. Subsets II.cpp
fpdjsns/Algorithm
0128da7c333d0c065f6d266d9e6dce4a91842525
[ "MIT" ]
4
2021-01-04T03:45:22.000Z
2021-10-06T06:11:00.000Z
/** * problem : https://leetcode.com/problems/subsets-ii/ * time complexity : O(N^2) * algorithm : backtracking */ class Solution { vector<vector<int>> answer; void backtracking(vector<int>& nums, int ind, vector<int>& subset) { answer.push_back(subset); if(ind >= nums.size()) return; ...
26.625
72
0.542254
[ "vector" ]
4ee06aac6d94813d02f667924cf9c9d374768bda
5,020
cpp
C++
pelican/output/src/DataBlobFileType.cpp
pelican/pelican
834ae2e5d0e58009500286eb7f7891611d02b50c
[ "BSD-3-Clause" ]
3
2015-10-11T07:30:59.000Z
2016-06-03T04:27:40.000Z
pelican/output/src/DataBlobFileType.cpp
pelican/pelican
834ae2e5d0e58009500286eb7f7891611d02b50c
[ "BSD-3-Clause" ]
null
null
null
pelican/output/src/DataBlobFileType.cpp
pelican/pelican
834ae2e5d0e58009500286eb7f7891611d02b50c
[ "BSD-3-Clause" ]
2
2016-05-09T09:52:38.000Z
2019-05-17T06:08:24.000Z
/* * Copyright (c) 2013, The University of Oxford * 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 list ...
32.810458
104
0.651195
[ "object" ]
4ee2976d342f6c2435aea72222f769a8ef88f05d
10,377
cpp
C++
desktop/main.cpp
astomih/rotation_master
a6647a956aaa5a3634356d6071f0fa2f00ed0907
[ "Apache-2.0" ]
2
2022-01-18T06:51:32.000Z
2022-01-18T07:40:28.000Z
desktop/main.cpp
astomih/rotation_master
a6647a956aaa5a3634356d6071f0fa2f00ed0907
[ "Apache-2.0" ]
null
null
null
desktop/main.cpp
astomih/rotation_master
a6647a956aaa5a3634356d6071f0fa2f00ed0907
[ "Apache-2.0" ]
null
null
null
/* Copyright 2022 iwatake2222 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 writing, software dis...
46.533632
264
0.708394
[ "object", "shape" ]
4eeae798eaebecdabcb8dffcb4186042acd56f88
2,267
cpp
C++
gl/mesh.cpp
peytonicmaster6/VC4CV
d9d97ea58ede31ce91748f7ec2eddbe043a8863b
[ "MIT" ]
null
null
null
gl/mesh.cpp
peytonicmaster6/VC4CV
d9d97ea58ede31ce91748f7ec2eddbe043a8863b
[ "MIT" ]
null
null
null
gl/mesh.cpp
peytonicmaster6/VC4CV
d9d97ea58ede31ce91748f7ec2eddbe043a8863b
[ "MIT" ]
null
null
null
#include "mesh.hpp" #include "defines.hpp" #include <math.h> #include <iostream> Mesh::Mesh(const std::vector<VertexType> Packing, const std::vector<float> Vertices, const std::vector<unsigned short> Elements) { // Calculate Floats per vertex as specified by packing packing = Packing; type = NONE; for (int i = 0...
27.646341
167
0.68637
[ "mesh", "vector" ]
4eeb093c8d1600abec01516eaa1794c7942c86b2
10,476
cpp
C++
test/Vsepr.cpp
Dom1L/molassembler
dafc656b1aa846b65b1fd1e06f3740ceedcf22db
[ "BSD-3-Clause" ]
17
2020-11-27T14:59:34.000Z
2022-03-28T10:31:25.000Z
test/Vsepr.cpp
Dom1L/molassembler
dafc656b1aa846b65b1fd1e06f3740ceedcf22db
[ "BSD-3-Clause" ]
null
null
null
test/Vsepr.cpp
Dom1L/molassembler
dafc656b1aa846b65b1fd1e06f3740ceedcf22db
[ "BSD-3-Clause" ]
6
2020-12-09T09:21:53.000Z
2021-08-22T15:42:21.000Z
/*!@file * @copyright This code is licensed under the 3-clause BSD license. * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group. * See LICENSE.txt for details. */ #include <boost/test/unit_test.hpp> #include "Molassembler/Modeling/ShapeInference.h" #include "Molassembler/Shapes/Data.h" #in...
19.803403
76
0.482245
[ "shape", "vector" ]
4eebacebae65fe875e57e590219827232ae4c292
3,500
cpp
C++
src/drnmppr-dewarp.cpp
dronemapper-io/dji-dewarp
eb7644e2b7bc6e8694e650bc758f563bb3f41748
[ "MIT" ]
14
2019-05-03T02:36:47.000Z
2021-11-21T16:48:20.000Z
src/drnmppr-dewarp.cpp
kevinliupy/dji-dewarp
eb7644e2b7bc6e8694e650bc758f563bb3f41748
[ "MIT" ]
null
null
null
src/drnmppr-dewarp.cpp
kevinliupy/dji-dewarp
eb7644e2b7bc6e8694e650bc758f563bb3f41748
[ "MIT" ]
5
2019-11-11T21:25:28.000Z
2020-11-11T03:41:05.000Z
/** * Authors: Jon-Pierre Stoermer * Institutions: DroneMapper.com * Date: 05/01/2019 * Email: jp@dronemapper.com */ #include <iostream> #include <sstream> #include <string> #include <opencv2/highgui/highgui.hpp> #include <opencv2/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #define WIN32_LEAN_...
31.818182
192
0.634571
[ "vector" ]
4eef48ddefc700ac5e84fae8281e0d5ea98323c3
3,920
cpp
C++
LeetCode/C++/133. Clone Graph.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/133. Clone Graph.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/133. Clone Graph.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//BFS //Runtime: 12 ms, faster than 64.56% of C++ online submissions for Clone Graph. //Memory Usage: 8.9 MB, less than 98.02% of C++ online submissions for Clone Graph. /* // Definition for a Node. class Node { public: int val; vector<Node*> neighbors; Node() { val = 0; neighbors = vec...
27.801418
83
0.494133
[ "vector" ]
4ef343ed476578646ffea6dd360e1a4c48b84b49
1,099
cpp
C++
engine/Renderer/RenderBatch.cpp
ichabodphage/lanny
99fa10006005f413870c36a162597749d7333398
[ "BSD-3-Clause" ]
null
null
null
engine/Renderer/RenderBatch.cpp
ichabodphage/lanny
99fa10006005f413870c36a162597749d7333398
[ "BSD-3-Clause" ]
null
null
null
engine/Renderer/RenderBatch.cpp
ichabodphage/lanny
99fa10006005f413870c36a162597749d7333398
[ "BSD-3-Clause" ]
null
null
null
#include "RenderBatch.hpp" using namespace lny; RenderBatch::RenderBatch(size_t maxBatchSize):maxSize(maxBatchSize) { vertexArr.reserve(maxBatchSize*4); } //constructor using texture RenderBatch::RenderBatch(size_t maxBatchSize, sf::Texture* texture):maxSize(maxBatchSize),batchTexture(texture){ vertexArr.reserve(m...
24.422222
112
0.746133
[ "vector", "transform" ]
f6043f764f14c9553e4b04cce8f03ddc322fd34e
3,605
cc
C++
modules/perception/lidar/lib/tracker/association/gnn_bipartite_graph_matcher.cc
ghdawn/apollo
002eba4a1635d6af7f1ebd2118464bca6f86b106
[ "Apache-2.0" ]
2
2019-03-15T06:28:38.000Z
2019-03-15T06:31:33.000Z
modules/perception/lidar/lib/tracker/association/gnn_bipartite_graph_matcher.cc
thomasgui76/apollo
808f1d20a08efea23b718b4e423d6619c9d4b412
[ "Apache-2.0" ]
null
null
null
modules/perception/lidar/lib/tracker/association/gnn_bipartite_graph_matcher.cc
thomasgui76/apollo
808f1d20a08efea23b718b4e423d6619c9d4b412
[ "Apache-2.0" ]
1
2019-02-24T06:20:29.000Z
2019-02-24T06:20:29.000Z
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
28.385827
89
0.63828
[ "vector" ]
f6079fb3636d19d76720345fd3351d9853c76866
9,447
hxx
C++
sources/etx/rt/shared/path_tracing_shared.hxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
180
2022-01-18T18:55:06.000Z
2022-03-21T14:24:39.000Z
sources/etx/rt/shared/path_tracing_shared.hxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
1
2022-02-25T14:05:49.000Z
2022-02-25T14:05:49.000Z
sources/etx/rt/shared/path_tracing_shared.hxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
7
2022-02-02T00:57:57.000Z
2022-02-22T15:53:15.000Z
#pragma once #include <etx/render/shared/base.hxx> #include <etx/render/shared/scene.hxx> namespace etx { struct ETX_ALIGNED PTOptions { uint32_t iterations ETX_INIT_WITH(65536u); uint32_t max_depth ETX_INIT_WITH(65536u); uint32_t rr_start ETX_INIT_WITH(6u); uint32_t path_per_iteration ETX_INIT_WITH(1u); }; ...
44.772512
175
0.687626
[ "render" ]
f60a53bc075d45fe4f15536f00d6b10593c3b005
18,110
cpp
C++
sensor_ublox_ros_tool/src/ublox_m8/ublox_m8.cpp
fzi-forschungszentrum-informatik/uBlox_driver_tool
f543593027b7013b9713b9eb1e10535ee1746b5d
[ "BSD-3-Clause" ]
null
null
null
sensor_ublox_ros_tool/src/ublox_m8/ublox_m8.cpp
fzi-forschungszentrum-informatik/uBlox_driver_tool
f543593027b7013b9713b9eb1e10535ee1746b5d
[ "BSD-3-Clause" ]
null
null
null
sensor_ublox_ros_tool/src/ublox_m8/ublox_m8.cpp
fzi-forschungszentrum-informatik/uBlox_driver_tool
f543593027b7013b9713b9eb1e10535ee1746b5d
[ "BSD-3-Clause" ]
null
null
null
#include "ublox_m8.hpp" #include <rosinterface_handler/utilities.hpp> #include <generic_logger/generic_logger.hpp> #include <mrt_sensor_msgs_ros/UbxNavDGPS.h> #include <mrt_sensor_msgs_ros/UbxNavDOP.h> #include <mrt_sensor_msgs_ros/UbxNavPOSECEF.h> #include <mrt_sensor_msgs_ros/UbxNavSAT.h> #include <mrt_sensor_msgs_r...
41.252847
118
0.669133
[ "3d" ]
f617588b304bfef190ded84e695b030ea5fa6dc2
15,030
cc
C++
src/platform/linux/lb_shell/lb_graphics_linux.cc
snibug/gyp_example
6bbf1ef53c68df4e5a657e0037cf6c81d2140178
[ "Apache-2.0" ]
null
null
null
src/platform/linux/lb_shell/lb_graphics_linux.cc
snibug/gyp_example
6bbf1ef53c68df4e5a657e0037cf6c81d2140178
[ "Apache-2.0" ]
null
null
null
src/platform/linux/lb_shell/lb_graphics_linux.cc
snibug/gyp_example
6bbf1ef53c68df4e5a657e0037cf6c81d2140178
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2012 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
31.775899
113
0.680373
[ "render", "vector" ]
f61f11281aa824d9ec1b6396e7c0285f9b5a312f
1,994
cpp
C++
src/utilsMethod.cpp
Leomotors/Factoring-Polynomial-Generator
662ed28da383aa8b05823f7fc168d9ca350b2afd
[ "MIT" ]
2
2021-04-19T12:33:55.000Z
2021-04-24T15:33:34.000Z
src/utilsMethod.cpp
Leomotors/Polynomial-Problems-Generator
662ed28da383aa8b05823f7fc168d9ca350b2afd
[ "MIT" ]
1
2021-07-04T10:52:25.000Z
2021-07-04T10:52:25.000Z
src/utilsMethod.cpp
Leomotors/Polynomial-Problems-Generator
662ed28da383aa8b05823f7fc168d9ca350b2afd
[ "MIT" ]
null
null
null
#include <vector> #include <string> #include "utilsMethod.hpp" std::vector<std::string> splitStr(std::string str, char spliter) { int64_t ssize = str.size(); std::vector<std::string> splited_str; int64_t index = 0; std::string substrtemp; while (index < ssize) { if (str[index] == split...
23.458824
102
0.532598
[ "vector" ]
f629794f1ee96eb711beee802ae431150b9fbd9b
13,045
cc
C++
syncer/client/base/mysql_query_runner.cc
wahidHarb/rdp-1
73a0813d9a08f0aad34b56ba678167e6387b5e74
[ "Apache-2.0" ]
112
2018-12-05T07:45:42.000Z
2022-01-24T11:28:11.000Z
syncer/client/base/mysql_query_runner.cc
wahidHarb/rdp-1
73a0813d9a08f0aad34b56ba678167e6387b5e74
[ "Apache-2.0" ]
2
2020-02-29T02:34:59.000Z
2020-05-12T06:34:29.000Z
syncer/client/base/mysql_query_runner.cc
wahidHarb/rdp-1
73a0813d9a08f0aad34b56ba678167e6387b5e74
[ "Apache-2.0" ]
88
2018-12-16T07:35:10.000Z
2022-03-09T17:41:16.000Z
/* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed i...
27.008282
85
0.705634
[ "vector" ]
f62bde52aefce83cc38a2a796c83582c6a875d84
12,187
cpp
C++
RobotCode/src/main.cpp
ajcarney/VexCode2021-2022
d17a29ff2533046c283c12a6bff31f719565c3a6
[ "MIT" ]
null
null
null
RobotCode/src/main.cpp
ajcarney/VexCode2021-2022
d17a29ff2533046c283c12a6bff31f719565c3a6
[ "MIT" ]
null
null
null
RobotCode/src/main.cpp
ajcarney/VexCode2021-2022
d17a29ff2533046c283c12a6bff31f719565c3a6
[ "MIT" ]
null
null
null
#include <csignal> #include "main.h" #include "Autons.hpp" #include "Configuration.hpp" #include "DriverControl.hpp" #include "objects/controller/controller.hpp" #include "objects/lcdCode/DriverControl/AutonomousLCD.hpp" #include "objects/lcdCode/DriverControl/DriverControlLCD.hpp" #include "objects/lcdCode/gui.hpp" ...
39.312903
197
0.619348
[ "solid" ]
f62cb6f5379ab30ea4436978f03d6c0cb57bb5fa
8,137
cpp
C++
src/runtime.cpp
LeonMrBonnie/altv-angelscript-module
187a330d2e9f820d47b526bb3c48ca1d99203b69
[ "MIT" ]
10
2021-02-04T21:45:00.000Z
2021-12-19T20:22:48.000Z
src/runtime.cpp
LeonMrBonnie/altv-angelscript-module
187a330d2e9f820d47b526bb3c48ca1d99203b69
[ "MIT" ]
19
2021-03-20T10:34:56.000Z
2021-09-05T18:57:55.000Z
src/runtime.cpp
LeonMrBonnie/altv-angelscript-module
187a330d2e9f820d47b526bb3c48ca1d99203b69
[ "MIT" ]
4
2021-02-13T17:37:20.000Z
2021-03-22T19:30:32.000Z
#include "runtime.h" #include "resource.h" #include "helpers/module.h" #include "helpers/events.h" #include "helpers/angelscript.h" #include "bindings/data/vector3.h" #include "bindings/data/vector2.h" #include "bindings/data/clothes.h" #include "bindings/data/props.h" #include "bindings/data/benchmark.h" #include "bin...
40.685
137
0.708615
[ "object" ]
f62fced45480d568813fba5c2fb4b85cc1b6b13a
1,285
cpp
C++
src/directionallight.cpp
Twinklebear/OpenGL-Wrapper
a9df30a4bc70775e11533999d66b53f08c77d957
[ "MIT" ]
1
2015-03-12T08:26:34.000Z
2015-03-12T08:26:34.000Z
src/directionallight.cpp
Twinklebear/OpenGL-Wrapper
a9df30a4bc70775e11533999d66b53f08c77d957
[ "MIT" ]
null
null
null
src/directionallight.cpp
Twinklebear/OpenGL-Wrapper
a9df30a4bc70775e11533999d66b53f08c77d957
[ "MIT" ]
3
2019-04-06T22:30:10.000Z
2021-12-14T05:31:31.000Z
#include <vector> #include <glm/glm.hpp> #include "../include/light.h" #include "../include/directionallight.h" DirectionalLight::DirectionalLight(const glm::vec4 &lightDir, const glm::vec4 &color, const glm::vec4 &ambient, glm::vec4 lookDir, float strength) : Light(ambient), mColor(color), mLightDir(glm::normalize...
37.794118
100
0.708949
[ "vector" ]
f634cc20b6cb99c8fc1efa92794c05bb2542b691
39,872
cpp
C++
test/test_metrics.cpp
buckaroo-upgrade-bot/realm-core
b8024ae2fcc8ad98df2bdb4de50789e2dc6fba0c
[ "Apache-2.0" ]
null
null
null
test/test_metrics.cpp
buckaroo-upgrade-bot/realm-core
b8024ae2fcc8ad98df2bdb4de50789e2dc6fba0c
[ "Apache-2.0" ]
null
null
null
test/test_metrics.cpp
buckaroo-upgrade-bot/realm-core
b8024ae2fcc8ad98df2bdb4de50789e2dc6fba0c
[ "Apache-2.0" ]
1
2019-02-21T15:33:55.000Z
2019-02-21T15:33:55.000Z
/************************************************************************* * * Copyright 2016 Realm 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/lice...
37.508937
129
0.686422
[ "vector" ]
f637fc202613337430012008df58c703885c8e9a
82,274
cpp
C++
mozilla/gfx/thebes/gfxFontconfigFonts.cpp
naver/webgraphics
4f9b9aa6a13428b5872dd020eaf34ec77b33f240
[ "MS-PL" ]
5
2016-12-20T15:48:05.000Z
2020-05-01T20:12:09.000Z
mozilla/gfx/thebes/gfxFontconfigFonts.cpp
naver/webgraphics
4f9b9aa6a13428b5872dd020eaf34ec77b33f240
[ "MS-PL" ]
null
null
null
mozilla/gfx/thebes/gfxFontconfigFonts.cpp
naver/webgraphics
4f9b9aa6a13428b5872dd020eaf34ec77b33f240
[ "MS-PL" ]
2
2016-12-20T15:48:13.000Z
2019-12-10T15:15:05.000Z
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- * 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/. */ #include "prlink.h" #include "gfxTyp...
35.943207
103
0.643606
[ "render", "object" ]
f63fd613ea50df943f4f97f1f6575edfb041a533
3,994
cpp
C++
src/cpp/structure/connections/full.cpp
bayerj/arac
60e3d1688f570efc5177016632450b86c4b36d32
[ "BSD-3-Clause" ]
17
2015-01-01T14:57:27.000Z
2020-06-28T12:25:59.000Z
src/cpp/structure/connections/full.cpp
bayerj/arac
60e3d1688f570efc5177016632450b86c4b36d32
[ "BSD-3-Clause" ]
14
2015-04-29T12:31:03.000Z
2020-03-10T12:01:56.000Z
src/cpp/structure/connections/full.cpp
bayerj/arac
60e3d1688f570efc5177016632450b86c4b36d32
[ "BSD-3-Clause" ]
12
2015-01-14T17:16:36.000Z
2022-01-26T07:46:26.000Z
// Part of Arac Neural Network Composition Library. // (c) 2008 by Justin S Bayer, <bayer.justin@googlemail.com> #include <iostream> extern "C" { #include "cblas.h" } #include "full.h" using arac::structure::connections::FullConnection; using arac::structure::connections::Connection; using arac::structure::Pa...
29.80597
81
0.513771
[ "vector" ]
f645fa8db6ff510f3f02ac9f0ad56e121b34fda8
13,967
cpp
C++
TAO/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/Receiver/CSL_SRTest_Receiver_exec.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/Receiver/CSL_SRTest_Receiver_exec.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/CIAO/connectors/dds4ccm/tests/CSLSampleRejected/Receiver/CSL_SRTest_Receiver_exec.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// -*- C++ -*- // $Id: CSL_SRTest_Receiver_exec.cpp 92633 2010-11-18 09:12:33Z msmit $ /** * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3 * TAO and the TAO IDL Compiler have been developed by: * Center for Distributed Object Computing * Washington University * St. Louis, MO * ...
26.911368
106
0.598411
[ "object" ]
f6478e9c58894aae01f00682f24cdb07f6fac032
1,210
cpp
C++
src/KeywordType.cpp
DreDiki/PL-0-2-IL
aa6aa844f672f7d8f0a782bafe5c22e045ccf191
[ "WTFPL" ]
1
2018-12-24T11:06:11.000Z
2018-12-24T11:06:11.000Z
src/KeywordType.cpp
DreDiki/PL-0-2-IL
aa6aa844f672f7d8f0a782bafe5c22e045ccf191
[ "WTFPL" ]
null
null
null
src/KeywordType.cpp
DreDiki/PL-0-2-IL
aa6aa844f672f7d8f0a782bafe5c22e045ccf191
[ "WTFPL" ]
null
null
null
#include "KeywordType.h" #include <algorithm> #include <locale> #define MapKey(string,key) {#string,PLKeywordType::key} std::unordered_map<std::string,PLKeywordType> PLKeyword::PLKeywordMap = { MapKey(const,Const), MapKey(var,Var), MapKey(procedure,Procedure), MapKey(call,Call), MapKey(begin,Begin),...
23.72549
85
0.628099
[ "transform" ]
f647e1a62d2c99bbffb95fb7ae7e72a5a746377c
4,212
cpp
C++
src/glwidget.cpp
LePtitDev/gamengin
f0b2c966a96df5b56eb50fd0fb79eb14a68b859a
[ "BSD-3-Clause" ]
null
null
null
src/glwidget.cpp
LePtitDev/gamengin
f0b2c966a96df5b56eb50fd0fb79eb14a68b859a
[ "BSD-3-Clause" ]
null
null
null
src/glwidget.cpp
LePtitDev/gamengin
f0b2c966a96df5b56eb50fd0fb79eb14a68b859a
[ "BSD-3-Clause" ]
null
null
null
#include "glwidget.h" #include "gameobject/geometry.h" #include "gameobject/rigidbody.h" #include "gameobject/material.h" #include "gameobject/camera.h" #include "gameobject/particle_system.h" #include "controller/camera_rts.h" #include "controller/camera_facing.h" #include "geometry/shapes.h" #include "script/lua.h" #...
26.161491
92
0.678775
[ "geometry" ]
f6481e3a60184c2b739920ee605bba1040e0fd17
720
cpp
C++
src/OpenHydro/projectwindow.cpp
glabmoris/OpenHydrography
41492e8fe94254d8cdd81bb032df2649464736c8
[ "MIT" ]
null
null
null
src/OpenHydro/projectwindow.cpp
glabmoris/OpenHydrography
41492e8fe94254d8cdd81bb032df2649464736c8
[ "MIT" ]
null
null
null
src/OpenHydro/projectwindow.cpp
glabmoris/OpenHydrography
41492e8fe94254d8cdd81bb032df2649464736c8
[ "MIT" ]
null
null
null
#include "projectwindow.h" ProjectWindow::ProjectWindow(QWidget *parent) : QDockWidget(tr("Project"),parent) { files = new QListView(this); files->setEditTriggers(QAbstractItemView::NoEditTriggers); files->setSelectionMode(QAbstractItemView::SingleSelection); model = new QStringListModel(this); fi...
36
131
0.761111
[ "model" ]
f6486ebde06d9f0b7e7277219d495df07965ca44
4,035
cpp
C++
MultiOpenni/src/_2RealTrackedUser.cpp
eighteight/CinderEigh
d9dfc6a0ad9a9e6c5b82624971127f0335d91639
[ "Apache-2.0" ]
null
null
null
MultiOpenni/src/_2RealTrackedUser.cpp
eighteight/CinderEigh
d9dfc6a0ad9a9e6c5b82624971127f0335d91639
[ "Apache-2.0" ]
null
null
null
MultiOpenni/src/_2RealTrackedUser.cpp
eighteight/CinderEigh
d9dfc6a0ad9a9e6c5b82624971127f0335d91639
[ "Apache-2.0" ]
null
null
null
#include "_2RealTrackedUser.h" #include "_2RealConfig.h" #include "_2RealUtility.h" namespace _2RealKinectWrapper { _2RealTrackedUser::_2RealTrackedUser( const _2RealTrackedUser& o ) : m_ID( o.m_ID ) { m_Joints.resize( _2REAL_NUMBER_OF_JOINTS ); int size = o.m_Joints.size(); for( int i = 0; i < size; ++i ) { m...
24.307229
112
0.741512
[ "vector" ]
f64b871f9d7cb27ca2fbe9817fec90f11d40c0a6
6,621
cpp
C++
src/render/render.cpp
olpotkin/Lidar-Obstacle-Detection
5cda4bdcecaaf73d33b87404b74adc0553f76afb
[ "MIT" ]
4
2020-06-06T08:28:13.000Z
2021-01-10T10:21:12.000Z
src/render/render.cpp
applededipan/Lidar-Obstacle-Detection
5cda4bdcecaaf73d33b87404b74adc0553f76afb
[ "MIT" ]
null
null
null
src/render/render.cpp
applededipan/Lidar-Obstacle-Detection
5cda4bdcecaaf73d33b87404b74adc0553f76afb
[ "MIT" ]
3
2020-09-29T15:54:23.000Z
2022-03-25T04:32:42.000Z
// Functions and structs used to render the environment // such as cars and the highway #include "render.h" void renderHighway(pcl::visualization::PCLVisualizer::Ptr& viewer) { // Units in meters double roadLength = 50.0; double roadWidth = 12.0; double roadHeight = 0.2; viewer->addCube( -roadLength ...
26.914634
119
0.648391
[ "render" ]
f64df3922e3ede228e25c8bdb372d393f0f2d27e
2,374
cpp
C++
cpp/experiments/core/networks/vgg.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
1
2019-02-15T09:40:43.000Z
2019-02-15T09:40:43.000Z
cpp/experiments/core/networks/vgg.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
null
null
null
cpp/experiments/core/networks/vgg.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
2
2018-09-29T10:17:26.000Z
2018-10-03T20:33:31.000Z
#include "vgg.h" #include <experiments/core/params.h> #include <memory> #include <string> #include <vector> #include <stdexcept> namespace experiments::vgg { static torch::nn::ConvOptions<2> buildConvOptions(int inChannels, int outChannels, int kernelSize) { auto convOptions = torch::nn::ConvOptions<2>(inChanne...
28.95122
116
0.604465
[ "vector" ]
f6502a6afec6568b326d110877472a49ba886233
41,156
cxx
C++
HLT/BASE/util/ZMQROOTmerger.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
HLT/BASE/util/ZMQROOTmerger.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
2
2016-11-25T08:40:56.000Z
2019-10-11T12:29:29.000Z
HLT/BASE/util/ZMQROOTmerger.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
#include "zmq.h" #include <iostream> #include "AliHLTDataTypes.h" #include "AliHLTComponent.h" #include "AliHLTMessage.h" #include "TClass.h" #include "TMap.h" #include "TPRegexp.h" #include "TObjString.h" #include "TH1.h" #include "TList.h" #include "TMessage.h" #include "TRint.h" #include "TApplication.h" #include <t...
32.102964
135
0.673049
[ "object", "vector" ]
f652d4fda73668b462fd85073af66c9b3431ff39
66,005
hh
C++
Unmanaged/MuPDF/thirdparty/harfbuzz/src/hb-ot-shape-complex-indic-machine.hh
zvonik/DocsRasterizer
b6ac933e19c87f53672a49d69aeaed09dbaf42c5
[ "MIT" ]
5,964
2016-09-27T03:46:29.000Z
2022-03-31T16:25:27.000Z
third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-machine.hh
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
459
2016-09-29T00:51:38.000Z
2022-03-07T14:37:46.000Z
third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-machine.hh
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
1,006
2016-09-27T05:17:27.000Z
2022-03-30T02:46:51.000Z
#line 1 "hb-ot-shape-complex-indic-machine.rl" /* * Copyright © 2011,2012 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documenta...
37.439024
86
0.546762
[ "shape" ]
f65954d732cf840ad0b33177186ca7849fa8b1e5
2,491
cpp
C++
project/src/dict_omp.cpp
JohndeVostok/THU-Combinatorial-Mathematics
a211756bb0b6ae3fa840c6f97fdd3fd690c7e2d5
[ "MIT" ]
null
null
null
project/src/dict_omp.cpp
JohndeVostok/THU-Combinatorial-Mathematics
a211756bb0b6ae3fa840c6f97fdd3fd690c7e2d5
[ "MIT" ]
null
null
null
project/src/dict_omp.cpp
JohndeVostok/THU-Combinatorial-Mathematics
a211756bb0b6ae3fa840c6f97fdd3fd690c7e2d5
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdint> #include <cassert> #include <string> #include <chrono> #include <vector> #include "omp.h" #include <ctime> int get_next(std::vector<uint32_t> &perm) { for (int i = perm.size()-1; i; i--) { if (perm[i-1] < perm[i]) { for (int j = perm.size()-1; j >= i; j--) {...
29.305882
130
0.473705
[ "vector" ]
2cec93bb27b042acea89260f5453f827b4c25b76
1,738
cpp
C++
aws-cpp-sdk-cloud9/source/model/DescribeEnvironmentsRequest.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
1
2020-07-16T19:03:13.000Z
2020-07-16T19:03:13.000Z
aws-cpp-sdk-cloud9/source/model/DescribeEnvironmentsRequest.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-cloud9/source/model/DescribeEnvironmentsRequest.cpp
woohoou/aws-sdk-cpp
a42835a8aad2eac1e334d899a3fbfedcaa341d51
[ "Apache-2.0" ]
1
2019-10-31T11:19:50.000Z
2019-10-31T11:19:50.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
29.457627
121
0.776755
[ "model" ]
2cf8f57e070d290f8d706b73630e48007b02f8e8
4,771
cc
C++
GeometryService/src/WorldG4Maker.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
GeometryService/src/WorldG4Maker.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
GeometryService/src/WorldG4Maker.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
#include "Offline/GeometryService/inc/WorldG4Maker.hh" #include <iostream> #include "CLHEP/Units/SystemOfUnits.h" #include "Offline/ConfigTools/inc/SimpleConfig.hh" #include "Offline/Mu2eHallGeom/inc/Mu2eHall.hh" #include "Offline/GeometryService/inc/WorldG4.hh" #include "Offline/GeometryService/inc/GeomHandle.hh"...
47.237624
101
0.605324
[ "geometry", "vector" ]
2cfbadb06bab0776197df208dea2b5ae35dde79e
18,805
cpp
C++
micromanager/arduino_neopixel_shutter_hub/ArduinoNeoPixelShutter.cpp
google/cncmicroscope-code
99b17a2d6c87f686fe1049acd4d9500ade3404b2
[ "Apache-2.0" ]
20
2016-04-06T16:13:32.000Z
2021-06-18T21:19:52.000Z
micromanager/arduino_neopixel_shutter_hub/ArduinoNeoPixelShutter.cpp
google/cncmicroscope-code
99b17a2d6c87f686fe1049acd4d9500ade3404b2
[ "Apache-2.0" ]
null
null
null
micromanager/arduino_neopixel_shutter_hub/ArduinoNeoPixelShutter.cpp
google/cncmicroscope-code
99b17a2d6c87f686fe1049acd4d9500ade3404b2
[ "Apache-2.0" ]
9
2016-03-27T03:49:56.000Z
2021-07-12T12:27:53.000Z
/* Copyright 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
30.428803
151
0.626057
[ "vector" ]
2cfedf7718f759212bd479cd1f0d2365e3fab02b
3,786
cc
C++
c/range_encoder.cc
mathiasbynens/2im
ab5795ac9548946f01f5d05d8541b8b8c4893067
[ "MIT" ]
null
null
null
c/range_encoder.cc
mathiasbynens/2im
ab5795ac9548946f01f5d05d8541b8b8c4893067
[ "MIT" ]
null
null
null
c/range_encoder.cc
mathiasbynens/2im
ab5795ac9548946f01f5d05d8541b8b8c4893067
[ "MIT" ]
null
null
null
#include "range_encoder.h" #include "range_code.h" namespace twim { namespace { struct Decoder { const uint8_t* data; size_t data_length; size_t offset = 0; uint64_t code = 0; uint64_t low = 0; uint64_t range = RangeCode::kValueMask; explicit Decoder(const std::vector<uint8_t>& data) : data(dat...
29.123077
99
0.602747
[ "vector" ]
fa05ca169a78fce03132123c383a3183ac5cb29a
9,776
cpp
C++
tests/dirent_test.cpp
Keneral/abionic
0f441ff93f011ed0069339e16f59e572134a5f3b
[ "Unlicense" ]
null
null
null
tests/dirent_test.cpp
Keneral/abionic
0f441ff93f011ed0069339e16f59e572134a5f3b
[ "Unlicense" ]
null
null
null
tests/dirent_test.cpp
Keneral/abionic
0f441ff93f011ed0069339e16f59e572134a5f3b
[ "Unlicense" ]
null
null
null
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
28.172911
94
0.677782
[ "vector" ]
fa0c445924c503ec455597c9bbd82096940be1fa
9,354
cc
C++
src/foundation/assets/shader_manager.cc
hvonck/lambda-lilac
c4cf744356c2d2056e8f66da4f95d2268f7c25d0
[ "BSD-3-Clause" ]
1
2019-05-28T16:39:19.000Z
2019-05-28T16:39:19.000Z
src/foundation/assets/shader_manager.cc
hvonck/lambda-lilac
c4cf744356c2d2056e8f66da4f95d2268f7c25d0
[ "BSD-3-Clause" ]
null
null
null
src/foundation/assets/shader_manager.cc
hvonck/lambda-lilac
c4cf744356c2d2056e8f66da4f95d2268f7c25d0
[ "BSD-3-Clause" ]
1
2019-05-28T16:39:06.000Z
2019-05-28T16:39:06.000Z
#include "shader_manager.h" #include <rapidjson/document.h> #include <rapidjson/writer.h> #include <rapidjson/stringbuffer.h> #include <utils/console.h> #include <vector> namespace lambda { ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////...
35.298113
185
0.558371
[ "geometry", "vector" ]
fa0d5e6f59e633b3e4759fe38503aed3a219b63e
16,878
cpp
C++
src/CaptionManager.cpp
inakleinbottle/caption_manager
b99528b87c0554dd83927d6a015871a6b5f4e166
[ "MIT" ]
null
null
null
src/CaptionManager.cpp
inakleinbottle/caption_manager
b99528b87c0554dd83927d6a015871a6b5f4e166
[ "MIT" ]
null
null
null
src/CaptionManager.cpp
inakleinbottle/caption_manager
b99528b87c0554dd83927d6a015871a6b5f4e166
[ "MIT" ]
null
null
null
// // Created by sam on 14/11/2021. // #include "CaptionManager.h" #include <QIcon> #include <QFileDialog> #include <QFileInfo> #include <QStandardPaths> #include <QMessageBox> #include <QCryptographicHash> #include <QPdfWriter> #include "FilterDialog.h" QByteArray readHash(const QString& fname) { QCryptographi...
29.1
109
0.659261
[ "model" ]
fa155a7dc882b56d739ff55b3733d31292278ac3
3,548
cpp
C++
src/ltl_parser.cpp
5nizza/sdf-hoa
7d12019ee7d5818ea5f415d1b24629cb6d2bb95a
[ "MIT" ]
1
2021-11-29T12:34:56.000Z
2021-11-29T12:34:56.000Z
src/ltl_parser.cpp
5nizza/sdf-hoa
7d12019ee7d5818ea5f415d1b24629cb6d2bb95a
[ "MIT" ]
1
2021-05-29T14:21:46.000Z
2021-05-30T20:04:46.000Z
src/ltl_parser.cpp
5nizza/sdf-hoa
7d12019ee7d5818ea5f415d1b24629cb6d2bb95a
[ "MIT" ]
null
null
null
#include "ltl_parser.hpp" #include "my_assert.hpp" #include "utils.hpp" #include <fstream> #include <iostream> #include <algorithm> #include <tuple> #include <set> #define BDD spotBDD #include <spot/tl/formula.hh> #include <spot/tl/parse.hh> #include <spot/tl/print.hh> #undef BDD using namespace std; using namespace...
27.083969
125
0.611894
[ "vector" ]
fa167aca5f0e7538ddc8ce5f4a8bf410a695b01b
33,782
cpp
C++
src/third_party/mozjs/extract/js/src/builtin/AtomicsObject.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/extract/js/src/builtin/AtomicsObject.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/extract/js/src/builtin/AtomicsObject.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim: set ts=8 sts=2 et sw=2 tw=80: * 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/. */ ...
31.106814
80
0.654254
[ "object", "model" ]
fa1d0efe4857260e1b4c713bdc428e601f26bde9
9,146
cpp
C++
pwiz/data/msdata/LegacyAdapterTest.cpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
11
2015-01-08T08:33:44.000Z
2019-07-12T06:14:54.000Z
pwiz/data/msdata/LegacyAdapterTest.cpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
pwiz/data/msdata/LegacyAdapterTest.cpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
4
2016-02-03T09:41:16.000Z
2021-08-01T18:42:36.000Z
// // $Id: LegacyAdapterTest.cpp 11174 2017-08-07 17:54:32Z pcbrefugee $ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2007 Spielberg Family Center for Applied Proteomics // Cedars-Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Versio...
38.267782
104
0.705336
[ "model" ]
fa1d4474c388bdba2fb960789ce9b41ec77b776f
2,975
cpp
C++
request/RequestUtil.cpp
42Mginx/mginx
e26d8824357959ce94b3766d09efc4599005ff78
[ "MIT" ]
null
null
null
request/RequestUtil.cpp
42Mginx/mginx
e26d8824357959ce94b3766d09efc4599005ff78
[ "MIT" ]
10
2022-03-01T14:15:13.000Z
2022-03-27T05:54:08.000Z
request/RequestUtil.cpp
42Mginx/mginx
e26d8824357959ce94b3766d09efc4599005ff78
[ "MIT" ]
null
null
null
#include "RequestUtil.hpp" // readline 예시 // 1 GET /cgi-bin/http_trace.pl HTTP/1.1\r\n // 2 ACCEPT_ENCODING: gzip,deflate,sdch\r\n // 3 CONNECTION: keep-alive\r\n // 4 ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n // 5 ACCEPT_CHARSET: windows-949,utf-8;q=0.7,*;q=0.3\r\n // 6 USER_AGENT: M...
26.327434
80
0.544202
[ "transform" ]
fa1f7d349b95b24a730e50cb4f12c91f6fc5cd09
12,726
cxx
C++
Modules/Loadable/Armatures/MRML/Core/vtkMRMLArmatureNodeHelper.cxx
lassoan/Bender
709347456a2d32a1c98bf0fba9f551e8e909b567
[ "Apache-2.0" ]
2
2020-03-21T14:26:47.000Z
2020-09-06T02:48:02.000Z
Modules/Loadable/Armatures/MRML/Core/vtkMRMLArmatureNodeHelper.cxx
lassoan/Bender
709347456a2d32a1c98bf0fba9f551e8e909b567
[ "Apache-2.0" ]
null
null
null
Modules/Loadable/Armatures/MRML/Core/vtkMRMLArmatureNodeHelper.cxx
lassoan/Bender
709347456a2d32a1c98bf0fba9f551e8e909b567
[ "Apache-2.0" ]
null
null
null
/*========================================================================= Program: Bender Copyright (c) Kitware 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.a...
31.114914
78
0.629263
[ "vector" ]
fa294bdc4394d9fbff7f19f5cb03e38c32e1fc87
2,751
cpp
C++
main.cpp
sramos02/ivao_client_browser
0605146ac7747d412dbe03ee3b33a983f4bceaf1
[ "Apache-2.0" ]
null
null
null
main.cpp
sramos02/ivao_client_browser
0605146ac7747d412dbe03ee3b33a983f4bceaf1
[ "Apache-2.0" ]
null
null
null
main.cpp
sramos02/ivao_client_browser
0605146ac7747d412dbe03ee3b33a983f4bceaf1
[ "Apache-2.0" ]
null
null
null
#include <fstream> #include <sstream> #include <algorithm> #include "Data/Client.h" //Program methods void updateFile(); void getCallsign(string & callsign); void searchEngine(ifstream & file, const string callsign); Client readClient(ifstream & file, const string line); int main() { ifstream file; string ca...
25.472222
99
0.625954
[ "vector", "transform" ]
fa2c923a72d55e92a9d2ca5d6958325d0e43ed0d
2,034
cpp
C++
Generate Parentheses.cpp
liuslevis/leetcode
3447b338cd4efc7d817e35e182dda3a53899b8c2
[ "MIT" ]
null
null
null
Generate Parentheses.cpp
liuslevis/leetcode
3447b338cd4efc7d817e35e182dda3a53899b8c2
[ "MIT" ]
null
null
null
Generate Parentheses.cpp
liuslevis/leetcode
3447b338cd4efc7d817e35e182dda3a53899b8c2
[ "MIT" ]
null
null
null
// Retry! // 55 min // 10+ CE 1 WA 1AC // Notice: 1. backtrace problem faster! // 2. c++ string not familiar #include <iostream> #include <vector> #include <unordered_map> #include <deque> #include <assert.h> #include <algorithm> #include <locale> using namespace std; void printv(vector<string> v) { for(aut...
20.969072
66
0.486234
[ "vector" ]
fa2f061d6a25e983a716366030b853d8f2cfea2d
6,106
cpp
C++
src/BabylonCpp/src/postprocesses/depth_of_field_effect.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/BabylonCpp/src/postprocesses/depth_of_field_effect.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/BabylonCpp/src/postprocesses/depth_of_field_effect.cpp
samdauwe/BabylonCpp
eea9f761a49bb460ff1324c20e4674ef120e94f1
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include <babylon/postprocesses/depth_of_field_effect.h> #include <cmath> #include <babylon/babylon_stl_util.h> #include <babylon/engines/scene.h> #include <babylon/postprocesses/blur_post_process.h> #include <babylon/postprocesses/circle_of_confusion_post_process.h> #include <babylon/postprocesses/depth_of_field_blu...
33.734807
100
0.730593
[ "vector" ]
fa31d3b49d303b2bda1430be811cf9db6b3b55b9
1,397
cpp
C++
aws-cpp-sdk-iotsitewise/source/model/AssetHierarchyInfo.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-iotsitewise/source/model/AssetHierarchyInfo.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-iotsitewise/source/model/AssetHierarchyInfo.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/iotsitewise/model/AssetHierarchyInfo.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws ...
18.626667
70
0.740873
[ "model" ]
fa375d49214e8cf1e7e15d70f67eafc361be2146
7,506
hpp
C++
include/chi_matrix.hpp
dime10/intel-qs
c65c583a81bbec226864f5c60fd7cf3f25e62495
[ "Apache-2.0" ]
94
2020-03-09T10:36:27.000Z
2022-03-31T07:34:21.000Z
include/chi_matrix.hpp
dime10/intel-qs
c65c583a81bbec226864f5c60fd7cf3f25e62495
[ "Apache-2.0" ]
46
2020-03-23T10:38:29.000Z
2022-01-31T23:56:17.000Z
include/chi_matrix.hpp
dime10/intel-qs
c65c583a81bbec226864f5c60fd7cf3f25e62495
[ "Apache-2.0" ]
57
2020-03-09T15:54:04.000Z
2022-03-22T14:33:59.000Z
/// @file chi_matrix.hpp /// @brief Declare the @c ChiMatrix class. #ifndef IQS_CHI_MATRIX_HPP #define IQS_CHI_MATRIX_HPP ///////////////////////////////////////////////////////////////////////////////////////// // declaration and definition of class ChiMatrix /////////////////////////////////////////////////////////...
39.925532
102
0.55782
[ "vector" ]
fa376f8a37ea99ba9bf837cb6dc08ae3f0772935
2,504
cc
C++
lite/operators/sparse_conv_op.cc
714627034/Paddle-Lite
015ba88a4d639db0b73603e37f83e47be041a4eb
[ "Apache-2.0" ]
1,799
2019-08-19T03:29:38.000Z
2022-03-31T14:30:50.000Z
lite/operators/sparse_conv_op.cc
714627034/Paddle-Lite
015ba88a4d639db0b73603e37f83e47be041a4eb
[ "Apache-2.0" ]
3,767
2019-08-19T03:36:04.000Z
2022-03-31T14:37:26.000Z
lite/operators/sparse_conv_op.cc
714627034/Paddle-Lite
015ba88a4d639db0b73603e37f83e47be041a4eb
[ "Apache-2.0" ]
798
2019-08-19T02:28:23.000Z
2022-03-31T08:31:54.000Z
// Copyright (c) 2019 PaddlePaddle 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...
34.777778
75
0.609425
[ "vector" ]
fa3d6702422f4e86ab7029fecb00f2ef43caf7e7
7,089
cc
C++
node/src/node_bindings/webview/webview_wrap.cc
Voxelum/DeskGap
9201f1197170385c53f0a2dbb45b6283b518b1c3
[ "MIT" ]
null
null
null
node/src/node_bindings/webview/webview_wrap.cc
Voxelum/DeskGap
9201f1197170385c53f0a2dbb45b6283b518b1c3
[ "MIT" ]
2
2022-03-20T13:09:11.000Z
2022-03-30T05:07:12.000Z
node/src/node_bindings/webview/webview_wrap.cc
Voxelum/DeskGap
9201f1197170385c53f0a2dbb45b6283b518b1c3
[ "MIT" ]
1
2022-03-24T01:33:56.000Z
2022-03-24T01:33:56.000Z
#include <memory> #include <vector> #include "webview_wrap.h" #include <deskgap/webview.hpp> #include "../dispatch/dispatch.h" extern "C" { extern char BIN2CODE_DG_UI_JS_CONTENT[]; extern int BIN2CODE_DG_UI_JS_SIZE; #ifdef WIN32 extern char BIN2CODE_ES6_PROMISE_AUTO_MIN_JS_CONTENT[]; extern int BIN2CO...
39.825843
149
0.590916
[ "object", "vector" ]
fa46811d360f332e12aaf1ebd3120ec4fad31ba4
724
cpp
C++
Cplus/MaximumNumberofRemovableCharacters.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/MaximumNumberofRemovableCharacters.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
Cplus/MaximumNumberofRemovableCharacters.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
#include <algorithm> #include <string> #include <vector> using namespace std; class Solution { public: int maximumRemovals(string s, string p, vector<int> &removable) { int N = removable.size(), lo = 0, hi = N + 1; vector<int> remove(s.size(), s.size()); for (int i = 0; i < N; ++i) remove[removable[i]] = i;...
20.111111
72
0.531768
[ "vector" ]
fa4ef1b5bfa791c137a9bbd409786fbb6c7f041a
14,186
cpp
C++
CrypPlugins/KeySearcher/ExternalClient/Cryptool.cpp
ekzyis/CrypTool-2
1af234b4f74486fbfeb3b3c49228cc36533a8c89
[ "Apache-2.0" ]
12
2021-09-29T14:50:06.000Z
2022-03-31T15:01:21.000Z
CrypPlugins/KeySearcher/ExternalClient/Cryptool.cpp
ekzyis/CrypTool-2
1af234b4f74486fbfeb3b3c49228cc36533a8c89
[ "Apache-2.0" ]
15
2021-12-24T22:53:49.000Z
2021-12-25T10:03:13.000Z
CrypPlugins/KeySearcher/ExternalClient/Cryptool.cpp
ekzyis/CrypTool-2
1af234b4f74486fbfeb3b3c49228cc36533a8c89
[ "Apache-2.0" ]
10
2021-10-17T19:46:51.000Z
2022-03-18T02:57:57.000Z
#include <cstdio> #include <cstdlib> #include <iostream> #include <cfloat> #include <SDKFile.hpp> #include <SDKCommon.hpp> #include <SDKApplication.hpp> #ifdef _OPENMP #include <omp.h> #else #warning No OpenMP support. Expect performance impacts. #endif #define __NO_STD_STRING #include "CrypTool.h" unsigned long Di...
33.695962
163
0.593472
[ "vector" ]
fa53d5c7abe1ea3bcb9e62edbb186a8f89301c6f
16,084
cc
C++
media_perception/output_manager_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
media_perception/output_manager_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
media_perception/output_manager_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2018 The Chromium OS 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 <memory> #include <utility> #include <base/run_loop.h> #include <gmock/gmock.h> #include <gtest/gtest.h> #include <mojo/public/cpp/bindings/b...
38.386635
80
0.75945
[ "vector" ]
fa587bb44a6413e28a160c66ced7598995a9ceb8
14,740
cc
C++
src/carnot/planner/ir/ir.cc
ddelnano/pixie
5210a1e992152f6ed1ef87756913cbcfd29912c2
[ "Apache-2.0" ]
1
2022-01-17T01:40:08.000Z
2022-01-17T01:40:08.000Z
src/carnot/planner/ir/ir.cc
ddelnano/pixie
5210a1e992152f6ed1ef87756913cbcfd29912c2
[ "Apache-2.0" ]
null
null
null
src/carnot/planner/ir/ir.cc
ddelnano/pixie
5210a1e992152f6ed1ef87756913cbcfd29912c2
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018- The Pixie Authors. * * 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 ag...
33.807339
100
0.666282
[ "vector" ]
fa5ad25a7d1d8ea0f48ae4e84a5c74c2833d5cc0
1,423
cpp
C++
src/liquid/block.cpp
kainjow/Jeqyll
3a234a345087c5d3366b1eda98d3ed92d3888101
[ "MIT" ]
4
2018-02-01T04:46:37.000Z
2021-01-13T18:20:38.000Z
src/liquid/block.cpp
kainjow/Jeqyll
3a234a345087c5d3366b1eda98d3ed92d3888101
[ "MIT" ]
null
null
null
src/liquid/block.cpp
kainjow/Jeqyll
3a234a345087c5d3366b1eda98d3ed92d3888101
[ "MIT" ]
3
2017-03-27T19:12:56.000Z
2021-03-23T04:24:51.000Z
#include "block.hpp" #include "error.hpp" Liquid::BlockTag::BlockTag(const Context& context, const StringRef& tagName, const StringRef& markup) : TagNode(context, tagName, markup) , tagName_(tagName) { } void Liquid::BlockTag::parse(const Context& context, Tokenizer& tokenizer) { while (parseBody(context,...
24.534483
135
0.665495
[ "render" ]
fa5b7ef2b69d0eb524fca63d52b3c0478c7073e7
1,809
cc
C++
dali/pipeline/operators/decoder/host_decoder_slice.cc
flx42/DALI
fd2980f036e4e82ea5b0a8442209b71925474e44
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
dali/pipeline/operators/decoder/host_decoder_slice.cc
flx42/DALI
fd2980f036e4e82ea5b0a8442209b71925474e44
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
dali/pipeline/operators/decoder/host_decoder_slice.cc
flx42/DALI
fd2980f036e4e82ea5b0a8442209b71925474e44
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright (c) 2019, NVIDIA CORPORATION. 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 ...
38.489362
91
0.753455
[ "vector" ]
fa5c3bd02d3876d84b5e3177b5afc64ebdc91361
1,657
cc
C++
leetcode/Trie/map_sum_pairs.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/Trie/map_sum_pairs.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/Trie/map_sum_pairs.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
#include <sstream> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> #include "third_party/gflags/include/gflags.h" #include "third_party/glog/include/logging.h" // Problem: https://leetcode-cn.com/problems/map-sum-pairs/ using namespace std; class Trie { public: vector<Trie*>...
22.69863
63
0.602293
[ "vector" ]
fa5dde46e4ccbaaf2778ecafc79a77a26585f909
11,698
cc
C++
chrome/browser/sync/glue/autofill_data_type_controller.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-02-20T14:25:04.000Z
2019-12-13T13:58:28.000Z
chrome/browser/sync/glue/autofill_data_type_controller.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
chrome/browser/sync/glue/autofill_data_type_controller.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2020-01-12T00:55:53.000Z
2020-11-04T06:36:41.000Z
// Copyright (c) 2011 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/sync/glue/autofill_data_type_controller.h" #include "base/logging.h" #include "base/metrics/histogram.h" #include "base/task...
36.104938
80
0.704821
[ "model" ]
fa5e500be6bc1d91db1280fa52021f014dd55026
1,416
cpp
C++
C++/peeking-iterator.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/peeking-iterator.cpp
pnandini/LeetCode
e746c3298be96dec8e160da9378940568ef631b1
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/peeking-iterator.cpp
pnandini/LeetCode
e746c3298be96dec8e160da9378940568ef631b1
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(1) per peek(), next(), hasNext() // Space: O(1) // Below is the interface for Iterator, which is already defined for you. // **DO NOT** modify the interface for Iterator. class Iterator { struct Data; Data* data; public: Iterator(const vector<int>& nums); Iterator(const Iterator& iter); virtual ~It...
25.745455
95
0.624294
[ "vector" ]
fa5f44b3145db67907c1cf9fe561b9a683e9b305
3,790
hpp
C++
comm/app/TCPSession.hpp
systembug/comm
cbc7728b39593f5642f8732c2d5cdf308f42a299
[ "MIT" ]
null
null
null
comm/app/TCPSession.hpp
systembug/comm
cbc7728b39593f5642f8732c2d5cdf308f42a299
[ "MIT" ]
null
null
null
comm/app/TCPSession.hpp
systembug/comm
cbc7728b39593f5642f8732c2d5cdf308f42a299
[ "MIT" ]
1
2021-04-06T01:38:55.000Z
2021-04-06T01:38:55.000Z
#pragma once #include <memory> #include <boost/asio/ip/tcp.hpp> #include "Const.h" #include "TCPSessionListener.h" #include "comm/Context.h" namespace cys { namespace comm { namespace app { using tcp = boost::asio::ip::tcp; class TCPSession { public: TCPSession(cys::comm::Context* ctx, std::size_t channel) : m...
26.319444
103
0.66781
[ "vector" ]
fa63cae559a5b9ce654c983eb916ceb649606a8a
16,258
cpp
C++
GeoGraphicsView.cpp
jeisonsantiago/GeoPlot-Qt
16fbde820b20a413e8f567749556d2e98210256a
[ "MIT" ]
20
2016-11-16T20:45:56.000Z
2022-02-14T09:08:53.000Z
GeoGraphicsView.cpp
jeisonsantiago/GeoPlot-Qt
16fbde820b20a413e8f567749556d2e98210256a
[ "MIT" ]
null
null
null
GeoGraphicsView.cpp
jeisonsantiago/GeoPlot-Qt
16fbde820b20a413e8f567749556d2e98210256a
[ "MIT" ]
7
2018-04-10T01:35:11.000Z
2020-11-11T08:01:44.000Z
// Copyright (c) 2016 Jeison Santiago // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "GeoGraphicsView.h" GeoGraphicsView::GeoGraphicsView(QWidget *parent) : QGraphicsView(parent) { //start geo setup this->init...
28.877442
159
0.628737
[ "render", "transform" ]
fa8174fa2aa02ef7224b76c5e8eccf9931a2ebac
8,569
cpp
C++
lib/game_save_impl.cpp
ncorgan/libpkmn
c683bf8b85b03eef74a132b5cfdce9be0969d523
[ "MIT" ]
4
2017-06-10T13:21:44.000Z
2019-10-30T21:20:19.000Z
lib/game_save_impl.cpp
PMArkive/libpkmn
c683bf8b85b03eef74a132b5cfdce9be0969d523
[ "MIT" ]
12
2017-04-05T11:13:34.000Z
2018-06-03T14:31:03.000Z
lib/game_save_impl.cpp
PMArkive/libpkmn
c683bf8b85b03eef74a132b5cfdce9be0969d523
[ "MIT" ]
2
2019-01-22T21:02:31.000Z
2019-10-30T21:20:20.000Z
/* * Copyright (c) 2016-2018 Nicholas Corgan (n.corgan@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://opensource.org/licenses/MIT) */ #include "game_save_impl.hpp" #include "game_save_gen1impl.hpp" #include "game_save_gen2impl.hpp" #include "game_save...
31.619926
105
0.578597
[ "vector" ]
fa8689c4fe715e9380641ae51436891e314faf3f
17,783
cpp
C++
iRODS/server/core/src/fileOpr.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/server/core/src/fileOpr.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/server/core/src/fileOpr.cpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
/* -*- mode: c++; fill-column: 132; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* fileOpr.c - File type operation. Will call low level file drivers */ #...
28.962541
122
0.556205
[ "object" ]
fa8f83efa18ebdd29906f9742fa3507a9848e939
2,501
cpp
C++
Common/src/HtmlResultsWriter.cpp
gantzer89/VLRPipeline
db0ab392c2586b03518ec84455cec91b6011be4e
[ "MIT" ]
11
2015-02-21T08:32:54.000Z
2018-10-15T12:52:20.000Z
Common/src/HtmlResultsWriter.cpp
afperezm/VLRPipeline
db0ab392c2586b03518ec84455cec91b6011be4e
[ "MIT" ]
null
null
null
Common/src/HtmlResultsWriter.cpp
afperezm/VLRPipeline
db0ab392c2586b03518ec84455cec91b6011be4e
[ "MIT" ]
3
2016-05-29T22:33:23.000Z
2018-09-16T02:49:03.000Z
/* * HtmlResultsWriter.cpp * * Created on: Nov 10, 2013 * Author: andresf */ #include <stdexcept> #include "HtmlResultsWriter.hpp" void HtmlResultsWriter::basifyFilename(const char *filename, char *base) { strcpy(base, filename); base[strlen(base) - 8] = 0; } // ----------------------------------------...
25.01
92
0.518593
[ "vector" ]
fa95b20059e282d0fb2d782266b63f34065d5e37
32,329
cpp
C++
VoxelEngine/Classes/ChunkWorkManager.cpp
bsy6766/VoxelEngine
d822d8bcc3bf5609bdce2fdc2ef5154994bc23f1
[ "FTL", "BSL-1.0", "Zlib" ]
null
null
null
VoxelEngine/Classes/ChunkWorkManager.cpp
bsy6766/VoxelEngine
d822d8bcc3bf5609bdce2fdc2ef5154994bc23f1
[ "FTL", "BSL-1.0", "Zlib" ]
null
null
null
VoxelEngine/Classes/ChunkWorkManager.cpp
bsy6766/VoxelEngine
d822d8bcc3bf5609bdce2fdc2ef5154994bc23f1
[ "FTL", "BSL-1.0", "Zlib" ]
null
null
null
// pch #include "PreCompiled.h" #include "ChunkWorkManager.h" // voxel #include "World.h" #include "Region.h" #include "Terrain.h" #include "ChunkMap.h" #include "Chunk.h" #include "ChunkUtil.h" #include "ChunkSection.h" #include "ChunkMeshGenerator.h" #include "ChunkMesh.h" #include "Utility.h" #include "Color.h" #i...
27.212963
196
0.608989
[ "mesh", "render", "vector" ]
fa97d60b004c1bdbe9396b87598d63f588869b7a
921
cpp
C++
src/client/Client/Hooks/Handler.cpp
krieselreihe/litr
ffaa7ecd09bfede01f5eb6edc957562363eadfc2
[ "MIT" ]
3
2020-11-26T15:46:48.000Z
2021-08-16T11:12:48.000Z
src/client/Client/Hooks/Handler.cpp
krieselreihe/litr
ffaa7ecd09bfede01f5eb6edc957562363eadfc2
[ "MIT" ]
57
2020-09-21T08:00:29.000Z
2022-03-31T18:46:29.000Z
src/client/Client/Hooks/Handler.cpp
krieselreihe/litr
ffaa7ecd09bfede01f5eb6edc957562363eadfc2
[ "MIT" ]
null
null
null
#include "Handler.hpp" namespace Litr::Hook { Handler::Handler(const Ref<CLI::Instruction>& instruction) : m_Instruction(instruction) {} void Handler::Add(Code code, const std::vector<Value>& values, const Handler::HookCallback& callback) { LITR_PROFILE_FUNCTION(); for (auto&& value : values) { m_Hooks....
21.928571
90
0.643865
[ "vector" ]
b705cecbc8461314b3a65d08abf3a5c160b0190a
4,431
hpp
C++
include/htool/types/multimatrix.hpp
mancellin/htool
b25c7aece949beb09bad0169209cbc1356a17510
[ "MIT" ]
null
null
null
include/htool/types/multimatrix.hpp
mancellin/htool
b25c7aece949beb09bad0169209cbc1356a17510
[ "MIT" ]
null
null
null
include/htool/types/multimatrix.hpp
mancellin/htool
b25c7aece949beb09bad0169209cbc1356a17510
[ "MIT" ]
null
null
null
#ifndef HTOOL_MultiMatrix_HPP #define HTOOL_MultiMatrix_HPP #include <vector> namespace htool { template<typename T> class MultiSubMatrix; template<typename T> class MultiIMatrix{ protected: // Data members int nr; int nc; int nm; // Constructors and cie MultiIMatrix() ...
29.151316
340
0.592643
[ "vector" ]
b70f98ba741b00ffe5528f7ba28b508b7e8de196
2,960
cpp
C++
HydrusExecuter/nodetaskcontroller.cpp
wzhFeng/HydrusExecuterTools
c923d06044d34b88d0bb34dd5b0fb5247cea3237
[ "MIT" ]
null
null
null
HydrusExecuter/nodetaskcontroller.cpp
wzhFeng/HydrusExecuterTools
c923d06044d34b88d0bb34dd5b0fb5247cea3237
[ "MIT" ]
null
null
null
HydrusExecuter/nodetaskcontroller.cpp
wzhFeng/HydrusExecuterTools
c923d06044d34b88d0bb34dd5b0fb5247cea3237
[ "MIT" ]
1
2021-02-08T22:05:15.000Z
2021-02-08T22:05:15.000Z
/****************************************************************************** * * * Copyright (c) 2020, Wenzhao Feng. * All rights reserved. * * See the file COPYING in the top directory of this distribution for * more information. * * THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPR...
32.527473
100
0.66723
[ "vector" ]
b7125226cddc5cf34798f30470c342f8850e607b
1,005
cpp
C++
src/bricks/RawBrick.cpp
beercan1989/retro-brick-game-raylib
2d02e5ab6f89a212f2c38a8dd68ea5f7b458dd2f
[ "Apache-2.0" ]
null
null
null
src/bricks/RawBrick.cpp
beercan1989/retro-brick-game-raylib
2d02e5ab6f89a212f2c38a8dd68ea5f7b458dd2f
[ "Apache-2.0" ]
null
null
null
src/bricks/RawBrick.cpp
beercan1989/retro-brick-game-raylib
2d02e5ab6f89a212f2c38a8dd68ea5f7b458dd2f
[ "Apache-2.0" ]
null
null
null
// // Created by Beercan on 05/12/2021. // #include "RawBrick.h" RawBrick::RawBrick(const Vector2 &position) : Brick(position) { updatePosition(position); } // Is used by the array initializer of BackgroundRaw::rawBricks RawBrick::RawBrick(const bool visible) : Brick({}) { this->visible = visible; } void Ra...
25.769231
99
0.652736
[ "render" ]
b71320b0914e54b75dcac3007b24c5d7905e1f55
4,751
cc
C++
ml_metadata/tools/mlmd_bench/read_types_workload_test.cc
nachocano/ml-metadata
a7fe29d7b2361718c5ad659c216722d1b8b943e0
[ "Apache-2.0" ]
null
null
null
ml_metadata/tools/mlmd_bench/read_types_workload_test.cc
nachocano/ml-metadata
a7fe29d7b2361718c5ad659c216722d1b8b943e0
[ "Apache-2.0" ]
7
2020-07-16T21:10:02.000Z
2020-08-26T16:51:26.000Z
ml_metadata/tools/mlmd_bench/read_types_workload_test.cc
BrianSong/ml-metadata
55af2f8fa5f0fd5c79089b2156ae69509c371aa8
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 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 writing, software dis...
39.264463
80
0.753736
[ "vector" ]
b7188d6c9052eab2075809cb5358a0d8b5404ab4
182,168
hpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_mpls_ldp_cfg.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_mpls_ldp_cfg.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_mpls_ldp_cfg.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _CISCO_IOS_XR_MPLS_LDP_CFG_ #define _CISCO_IOS_XR_MPLS_LDP_CFG_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xr { namespace Cisco_IOS_XR_mpls_ldp_cfg { class MplsLdp : public ydk::Entity { public: MplsLdp(); ~...
51.503534
215
0.691417
[ "vector" ]
b71ae20b752ffe3203da1d4099354d9758eca221
7,088
cpp
C++
src/particle_filter.cpp
woo0618/CarND-Kidnapped-Vehicle-Project
194b77de64c1d443d300555302a71dfff1fdd838
[ "MIT" ]
null
null
null
src/particle_filter.cpp
woo0618/CarND-Kidnapped-Vehicle-Project
194b77de64c1d443d300555302a71dfff1fdd838
[ "MIT" ]
null
null
null
src/particle_filter.cpp
woo0618/CarND-Kidnapped-Vehicle-Project
194b77de64c1d443d300555302a71dfff1fdd838
[ "MIT" ]
null
null
null
/** * particle_filter.cpp * * Created on: Dec 12, 2016 * Author: Tiffany Huang * * Modified on : May 16, 2019 * Author: Ami Woo */ #include "particle_filter.h" #include <math.h> #include <algorithm> #include <iostream> #include <iterator> #include <numeric> #include <random> #include <string> #include <vector...
34.57561
126
0.621473
[ "vector", "model", "transform" ]
b71c350498afde2e46718bffd08fa224f0eab8a5
33,180
hpp
C++
cxxreflect/core/utility.hpp
dbremner/cxxreflect
bbf1649b00755f8463e4a73b28dec4cd5b609493
[ "BSL-1.0" ]
5
2019-03-21T14:52:16.000Z
2021-02-20T13:14:25.000Z
cxxreflect/core/utility.hpp
dbremner/cxxreflect
bbf1649b00755f8463e4a73b28dec4cd5b609493
[ "BSL-1.0" ]
null
null
null
cxxreflect/core/utility.hpp
dbremner/cxxreflect
bbf1649b00755f8463e4a73b28dec4cd5b609493
[ "BSL-1.0" ]
2
2017-02-17T23:24:23.000Z
2021-07-06T18:10:35.000Z
// Copyright James P. McNellis 2011 - 2013. // // 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 CX...
33.617021
127
0.488608
[ "object", "vector" ]
b72060155f52cd2b4a67c1dbed500f98e6479953
58,223
cpp
C++
engine/xbox/generic/panel.cpp
christianhaitian/openbor
ce64eaffce90c407cc5a56e52c31ec8e62378bc8
[ "BSD-3-Clause" ]
600
2017-04-05T07:52:07.000Z
2022-03-31T07:56:47.000Z
engine/xbox/generic/panel.cpp
christianhaitian/openbor
ce64eaffce90c407cc5a56e52c31ec8e62378bc8
[ "BSD-3-Clause" ]
166
2017-04-16T12:16:11.000Z
2022-03-02T21:42:48.000Z
engine/xbox/generic/panel.cpp
christianhaitian/openbor
ce64eaffce90c407cc5a56e52c31ec8e62378bc8
[ "BSD-3-Clause" ]
105
2017-04-05T08:18:08.000Z
2022-03-31T06:44:04.000Z
/* * OpenBOR - http://www.LavaLit.com * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in OpenBOR root for details. * * Copyright (c) 2004 - 2011 OpenBOR Team */ //----------------------------------------------------------------------------- ...
39.181023
180
0.640142
[ "render", "object", "vector" ]
b7228d289a06a93b53018e5abaf22310d8befc02
9,428
cpp
C++
libraries/chain/tree.cpp
edinar-dev/edinarcoin
d3f11ab57acd745fd407f87999f2ab72378f5194
[ "MIT" ]
1
2019-08-05T08:09:37.000Z
2019-08-05T08:09:37.000Z
libraries/chain/tree.cpp
reactivespace/Dex
d5716eab035f993dad3e5b4df664f9ebd32ab3a0
[ "MIT" ]
null
null
null
libraries/chain/tree.cpp
reactivespace/Dex
d5716eab035f993dad3e5b4df664f9ebd32ab3a0
[ "MIT" ]
null
null
null
#include <graphene/chain/tree.hpp> namespace graphene { namespace chain { void leaf_info::add_child_balance_old(chain::account_id_type account_id, int64_t balance, uint32_t level) { all_sum += balance; child_balances.push_back(child_balance(account_id, balance, level)); if (level == 1) level_1...
36.972549
126
0.57902
[ "vector" ]
b7229911df8efa1631a3ee15986f22ec592e603a
31,271
cpp
C++
ModernCiphers/AES/C++/AES_128_ECB.cpp
Subrato-oid/cs-algorithms
4a04fe49f513c439b641a8e4e783a98cd99dc909
[ "MIT" ]
7
2021-03-08T04:25:44.000Z
2021-05-14T05:33:27.000Z
ModernCiphers/AES/C++/AES_128_ECB.cpp
Subrato-oid/cs-algorithms
4a04fe49f513c439b641a8e4e783a98cd99dc909
[ "MIT" ]
1
2022-01-20T18:02:48.000Z
2022-01-20T18:02:48.000Z
ModernCiphers/AES/C++/AES_128_ECB.cpp
Subrato-oid/cs-algorithms
4a04fe49f513c439b641a8e4e783a98cd99dc909
[ "MIT" ]
5
2021-03-08T05:08:59.000Z
2021-07-21T08:46:18.000Z
#include <bits/stdc++.h> #define KEY_SIZE 128 #define INPUT_SIZE 128 #define BYTE_SIZE 8 #define WORD_SIZE 32 using namespace std; bitset<BYTE_SIZE> SubByteTable[16][16] = { {bitset<BYTE_SIZE>(0x63), bitset<BYTE_SIZE>(0x7C), bitset<BYTE_SIZE>(0x77), bitset<BYTE_SIZE>(0x7B), bitset<BYTE_SIZE>(0xF2), bit...
49.953674
406
0.602891
[ "vector" ]
b729a1cf6efc5fa974c609c08c60af2f8675f6d1
3,123
cc
C++
atom/browser/api/frame_subscriber.cc
dannyrb/electron
bfeb6e2ab11e933048bc90766fa7038e15b163de
[ "MIT" ]
null
null
null
atom/browser/api/frame_subscriber.cc
dannyrb/electron
bfeb6e2ab11e933048bc90766fa7038e15b163de
[ "MIT" ]
null
null
null
atom/browser/api/frame_subscriber.cc
dannyrb/electron
bfeb6e2ab11e933048bc90766fa7038e15b163de
[ "MIT" ]
null
null
null
// Copyright (c) 2015 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/api/frame_subscriber.h" #include "atom/common/native_mate_converters/gfx_converter.h" #include "components/viz/common/frame_sinks/copy_output_request.h" #includ...
35.089888
76
0.695165
[ "geometry" ]
b72eb47b04df3048758b7cfcdc0054a98876deab
2,499
cpp
C++
src/Application.cpp
tuanphuc/FlappyBirdLab
2f8617aedd1a60e25721dedeca2048e0afd15b4a
[ "MIT" ]
1
2019-06-26T13:05:47.000Z
2019-06-26T13:05:47.000Z
src/Application.cpp
tuanphuc/FlappyBirdLab
2f8617aedd1a60e25721dedeca2048e0afd15b4a
[ "MIT" ]
null
null
null
src/Application.cpp
tuanphuc/FlappyBirdLab
2f8617aedd1a60e25721dedeca2048e0afd15b4a
[ "MIT" ]
null
null
null
#include "Application.h" #include "GameOverState.h" #include "GameState.h" #include "LearningState.h" #include "MenuState.h" #include "PauseState.h" #include "State.h" #include "StateIdentifiers.h" #include "TitleState.h" const sf::Time Application::TimePerFrame = sf::seconds(1.f / 60.f); Application::Application() ...
29.75
78
0.712285
[ "render" ]
b731f4c00cd576bcc700ca08ad86e0365d6201f3
1,408
cpp
C++
source/Bishop.cpp
yotam5/socket_chess_sfml
1bfc54085ab12758f8f524b7b01354f6565d074c
[ "Unlicense" ]
null
null
null
source/Bishop.cpp
yotam5/socket_chess_sfml
1bfc54085ab12758f8f524b7b01354f6565d074c
[ "Unlicense" ]
null
null
null
source/Bishop.cpp
yotam5/socket_chess_sfml
1bfc54085ab12758f8f524b7b01354f6565d074c
[ "Unlicense" ]
null
null
null
//Bishop class #pragma once #include "../headers/Bishop.h" const std::array<std::pair<int, int>, 4> Bishop::directions = {DiagnolUpR, DiagnolUpL, DiagnolDownR, DiagnolDownL}; //constructor Bishop::Bishop(int row, int column, const sf::Texture *texture, Color color, std::string name) : Piece(row, column, text...
29.957447
119
0.578835
[ "vector" ]
b7356f328f931b2a5e79070e8289671a09c9f027
1,157
cpp
C++
SpiceBasic/SpiceBasic/Utility/FileReader.cpp
TubeSound/SpiceSim
f4e0a64fa44386544b1178078ace10a71db68a82
[ "MIT" ]
1
2021-04-24T10:24:25.000Z
2021-04-24T10:24:25.000Z
SpiceBasic/SpiceBasic/Utility/FileReader.cpp
TubeSound/SpiceSim
f4e0a64fa44386544b1178078ace10a71db68a82
[ "MIT" ]
1
2021-08-03T06:12:52.000Z
2021-08-03T06:12:52.000Z
SpiceBasic/SpiceBasic/Utility/FileReader.cpp
TubeSound/SpiceSim
f4e0a64fa44386544b1178078ace10a71db68a82
[ "MIT" ]
null
null
null
#include "FileReader.h" #include "StringUtility.h"" using namespace SpiceUtility; namespace SpiceUtility { FileReader::FileReader(std::string filepath) { this->file.open(filepath.c_str(), std::ios::out); this->isOpen = (!this->file) ? false : true; } FileReader::~FileReader() { close(); } bool FileRea...
18.365079
69
0.575627
[ "vector" ]
b737cafcf0524093a71929e9189553ff963a2084
1,671
cpp
C++
semester1/lab06/src/mtest.cpp
karmazynow-a/cpp-lab
45131314687b838a1622e944fc353ce3bda99380
[ "MIT" ]
1
2018-04-25T08:48:11.000Z
2018-04-25T08:48:11.000Z
semester1/lab06/src/mtest.cpp
karmazynow-a/cpp-lab
45131314687b838a1622e944fc353ce3bda99380
[ "MIT" ]
null
null
null
semester1/lab06/src/mtest.cpp
karmazynow-a/cpp-lab
45131314687b838a1622e944fc353ce3bda99380
[ "MIT" ]
null
null
null
/* Tematem zadania jest cwiczenie z radzeniem sobie z krzyzowymi zaleznosciami miedzy fragmentami programu. W takiej sytacjiuzywamy deklaracji wyprzedzajacych. W zadaniu mamy dwie struktury Vector i Matrix, ktore to musza wspolpracowac. Aby wymusic krzyzowe zaleznosci funkcja Vector* from_matrix_row(...
19.430233
93
0.651706
[ "vector" ]
b7467e434bd88640c4972e8e0d5cbaf714c8e728
2,265
cc
C++
src/apps/specex_spot_list.cc
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
src/apps/specex_spot_list.cc
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
src/apps/specex_spot_list.cc
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <iomanip> #include <fstream> #include <string> #include <map> #include <boost/program_options.hpp> #include <boost/archive/xml_oarchive.hpp> #include <boost/archive/xml_iarchive.hpp> #include <harp.hpp> #include <specex_spot.h> #include <specex_spot_array.h> #include <specex_psf_io.h> #i...
24.354839
98
0.591611
[ "vector" ]
b74b0319403792abcb10bdcee473daf57c8157ae
1,765
cpp
C++
code/graph/lowest-common-ancestor/binary-lifiting.cpp
gabsho/Algorithms-Lib
0164e75eaaac7111330a73c50796a581ccf96ab3
[ "MIT" ]
2
2021-02-17T04:14:53.000Z
2021-11-30T19:32:31.000Z
code/graph/lowest-common-ancestor/binary-lifiting.cpp
gabsho/Algorithms-Lib
0164e75eaaac7111330a73c50796a581ccf96ab3
[ "MIT" ]
null
null
null
code/graph/lowest-common-ancestor/binary-lifiting.cpp
gabsho/Algorithms-Lib
0164e75eaaac7111330a73c50796a581ccf96ab3
[ "MIT" ]
null
null
null
template<const int l = 20> struct LCA{ int n,timer; vector<int>tin,tout,depth; array<vector<int>,l + 1>up,magic; LCA(const vector<vector<pair<int,int>>>& adj, int root=0):n((int)adj.size()),tin(n),tout(n),depth(n){ timer=0; for(int i=0;i<=l;++i){ up[i] = magic[i] = ve...
28.467742
106
0.415297
[ "vector" ]
b74c4a625492898b7380fa6088d3e885f554e367
6,617
cpp
C++
runner/NotAGame.cpp
Zephilinox/SCONES
51de7e0f7d3cc1ca3454d6cde3bf15cd847e21b8
[ "MIT" ]
null
null
null
runner/NotAGame.cpp
Zephilinox/SCONES
51de7e0f7d3cc1ca3454d6cde3bf15cd847e21b8
[ "MIT" ]
19
2020-10-18T23:22:07.000Z
2020-11-05T00:11:35.000Z
runner/NotAGame.cpp
Zephilinox/SCONES
51de7e0f7d3cc1ca3454d6cde3bf15cd847e21b8
[ "MIT" ]
null
null
null
#include "NotAGame.hpp" //STD //LIBS //SELF #include "Paperbag/Screens/MemoryEditor.hpp" using namespace paperbag; constexpr int size = 512; std::vector<Pixel> make_texture() { std::vector<Pixel> pixels; pixels.resize(size * size); for (int i = 0; i < size * size; ++i) { //rand() is slow, ...
32.596059
158
0.556143
[ "render", "vector" ]
b75582b99b34478602886ea5ebccde6331310781
3,357
cpp
C++
test/test.cpp
aardvarkk/argh
2c700afab86d4754096f7d536b9b8d3c3ad1d1b1
[ "MIT" ]
6
2015-02-23T13:55:09.000Z
2020-07-08T07:56:26.000Z
test/test.cpp
aardvarkk/argh
2c700afab86d4754096f7d536b9b8d3c3ad1d1b1
[ "MIT" ]
null
null
null
test/test.cpp
aardvarkk/argh
2c700afab86d4754096f7d536b9b8d3c3ad1d1b1
[ "MIT" ]
2
2016-11-23T05:22:54.000Z
2019-10-04T12:57:51.000Z
#include "stdafx.h" #include "CppUnitTest.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; #include "../argh.h" namespace test { TEST_CLASS(ArghTest) { public: TEST_METHOD(LoadFileBad) { Argh argh; argh.load("badfile"); } TEST_METHOD(LoadFile) { Argh ar...
27.072581
83
0.574024
[ "vector" ]
b75611d0994bbe417f12e9315e4126afb81707be
11,703
cpp
C++
QtAV-1.9.0-VS2013/src/AudioThread.cpp
fuyanzhi1234/DevelopQt
f4590cca8cde5e8b38ee19d97ea82c43257ec1b3
[ "MIT" ]
null
null
null
QtAV-1.9.0-VS2013/src/AudioThread.cpp
fuyanzhi1234/DevelopQt
f4590cca8cde5e8b38ee19d97ea82c43257ec1b3
[ "MIT" ]
null
null
null
QtAV-1.9.0-VS2013/src/AudioThread.cpp
fuyanzhi1234/DevelopQt
f4590cca8cde5e8b38ee19d97ea82c43257ec1b3
[ "MIT" ]
null
null
null
/****************************************************************************** QtAV: Media play library based on Qt and FFmpeg Copyright (C) 2012-2015 Wang Bin <wbsecg1@gmail.com> * This file is part of QtAV This library is free software; you can redistribute it and/or modify it under the terms of...
39.01
132
0.53089
[ "render" ]
b75769779177c8907f57b74837b815e9b5f491da
1,021
cpp
C++
src/api/win32.cpp
CommitteeOfZero/noidget
1ba0b37f7552c1659a8a7c8dd62893c9eece702a
[ "MIT" ]
null
null
null
src/api/win32.cpp
CommitteeOfZero/noidget
1ba0b37f7552c1659a8a7c8dd62893c9eece702a
[ "MIT" ]
null
null
null
src/api/win32.cpp
CommitteeOfZero/noidget
1ba0b37f7552c1659a8a7c8dd62893c9eece702a
[ "MIT" ]
null
null
null
#include "win32.h" #include "apihost.h" #include <QScriptValue> #include <QScriptValueList> #include "installerapplication.h" #ifdef Q_OS_WIN32 namespace api { QScriptValue registryToScriptValue(QScriptEngine *engine, Registry *const &in) { auto ret = engine->newQObject(in); return ret; } void registryFromSc...
24.902439
80
0.704212
[ "object" ]
b75ae777ce4f1f5e8cfb23181ca40d30620b8c68
2,585
cpp
C++
main.cpp
turkdogan/k-nearest-neighbors
8a787e5d457766999952c08b00d595bae0d6cc8d
[ "MIT" ]
1
2017-04-13T12:59:06.000Z
2017-04-13T12:59:06.000Z
main.cpp
turkdogan/k-nearest-neighbors
8a787e5d457766999952c08b00d595bae0d6cc8d
[ "MIT" ]
null
null
null
main.cpp
turkdogan/k-nearest-neighbors
8a787e5d457766999952c08b00d595bae0d6cc8d
[ "MIT" ]
2
2021-05-31T22:11:22.000Z
2021-12-22T15:43:28.000Z
#include "knn.h" #include <iostream> #include <fstream> #include <sstream> #include <ctime> std::vector<Data> read_iris_data(const std::string &path) { std::vector<Data> data; std::ifstream input(path); std::string line; while(std::getline(input, line)) { std::stringstream test(line); std::strin...
22.876106
83
0.600774
[ "vector" ]
b75ea3d0225e881d1243bfbccc89da64993f5968
11,225
cpp
C++
src/tools/imgtool/modules/macbin.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/tools/imgtool/modules/macbin.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/tools/imgtool/modules/macbin.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Raphael Nabet /**************************************************************************** macbin.cpp MacBinary filter for use with Mac and ProDOS drivers ***************************************************************************** MacBinary file format Of...
29.155844
167
0.680267
[ "vector" ]
b760f7e61352626b27dd458baf6ee8cc99c803bf
53,624
cpp
C++
packages/Adapters/ClassicDTK/test/mesh/tstMeshManager.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
1
2020-07-26T03:50:31.000Z
2020-07-26T03:50:31.000Z
packages/Adapters/ClassicDTK/test/mesh/tstMeshManager.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
null
null
null
packages/Adapters/ClassicDTK/test/mesh/tstMeshManager.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
1
2018-07-09T18:39:38.000Z
2018-07-09T18:39:38.000Z
//---------------------------------------------------------------------------// /*! * \file tstMeshManager.cpp * \author Stuart R. Slattery * \brief Mesh manager unit tests. */ //---------------------------------------------------------------------------// #include <algorithm> #include <cassert> #include <cmath> #...
33.768262
80
0.589587
[ "mesh", "vector", "3d" ]