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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a2c75a9bf44e953f22a475c47a571e52295a92a6 | 931 | cpp | C++ | 260.single-number-iii.cpp | Broadroad/learnLeetcode | c4af121b3451caa4d53819c5f8c62b38e8e5fb87 | [
"Apache-2.0"
] | null | null | null | 260.single-number-iii.cpp | Broadroad/learnLeetcode | c4af121b3451caa4d53819c5f8c62b38e8e5fb87 | [
"Apache-2.0"
] | null | null | null | 260.single-number-iii.cpp | Broadroad/learnLeetcode | c4af121b3451caa4d53819c5f8c62b38e8e5fb87 | [
"Apache-2.0"
] | null | null | null | /*
* @lc app=leetcode id=260 lang=cpp
*
* [260] Single Number III
*
* https://leetcode.com/problems/single-number-iii/description/
*
* algorithms
* Medium (59.01%)
* Likes: 1095
* Dislikes: 86
* Total Accepted: 121.8K
* Total Submissions: 206.4K
* Testcase Example: '[1,2,1,3,2,5]'
*
* Given an arr... | 20.688889 | 79 | 0.644468 | [
"vector"
] |
a2c9103084f3006b83394436cfa6167716020884 | 738 | cpp | C++ | Training/42.inflate.cpp | felikjunvianto/kfile-usaco-submissions | d4afdc0cbde7e19f09afc70c4b02d4bc5992696d | [
"MIT"
] | null | null | null | Training/42.inflate.cpp | felikjunvianto/kfile-usaco-submissions | d4afdc0cbde7e19f09afc70c4b02d4bc5992696d | [
"MIT"
] | null | null | null | Training/42.inflate.cpp | felikjunvianto/kfile-usaco-submissions | d4afdc0cbde7e19f09afc70c4b02d4bc5992696d | [
"MIT"
] | null | null | null | /*
ID: felikju1
PROG: inflate
LANG: C++
*/
#include <cstdio>
#include <cmath>
#include <iostream>
#include <string>
#include <cstring>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define pi... | 16.043478 | 60 | 0.598916 | [
"vector"
] |
a2d0af4c912fb18e96383cdcda39c0275cfee3ef | 1,401 | cpp | C++ | Mesero.cpp | dennisalejandro/P3.2_Lab8_DennisChirinos | 239a070792b5c40493bf234add38e71812149164 | [
"MIT"
] | null | null | null | Mesero.cpp | dennisalejandro/P3.2_Lab8_DennisChirinos | 239a070792b5c40493bf234add38e71812149164 | [
"MIT"
] | null | null | null | Mesero.cpp | dennisalejandro/P3.2_Lab8_DennisChirinos | 239a070792b5c40493bf234add38e71812149164 | [
"MIT"
] | null | null | null | #include "Mesero.h"
#include <iostream>
#include <string>
#include <vector>
#include "Personal.h"
using namespace std;
Mesero::Mesero(string Username, string Password, string Nombre, int Edad, string ID, string Telefono, string Ano, double Sueldo) : Personal (Username, Password, Nombre, Edad, ID, Telefono, Ano, Sueldo... | 29.1875 | 205 | 0.582441 | [
"vector"
] |
a2ddaf081fc7fc7241f3ab35aae46abdb369861b | 14,377 | cpp | C++ | src/cbag/netlist/verilog.cpp | growly/cbag | 468bf580223490a8ce0769471e25abf936b56a4e | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2020-02-13T21:51:04.000Z | 2021-12-11T10:01:45.000Z | src/cbag/netlist/verilog.cpp | growly/cbag | 468bf580223490a8ce0769471e25abf936b56a4e | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2019-06-03T19:05:14.000Z | 2020-03-17T22:59:36.000Z | src/cbag/netlist/verilog.cpp | growly/cbag | 468bf580223490a8ce0769471e25abf936b56a4e | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2019-06-03T17:02:46.000Z | 2020-09-01T23:03:01.000Z | // SPDX-License-Identifier: BSD-3-Clause AND Apache-2.0
/*
Copyright (c) 2018, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code mu... | 39.936111 | 100 | 0.617723 | [
"vector"
] |
a2e3e6e1ebfa0d3d4e9100020b2dc68fddf75e31 | 24,971 | cpp | C++ | WickedEngine/wiImage.cpp | Svengali/WickedEngine | 6f56672476993ea95039db003b6dcf39231855db | [
"Zlib",
"MIT"
] | 1 | 2022-03-23T04:00:42.000Z | 2022-03-23T04:00:42.000Z | WickedEngine/wiImage.cpp | Svengali/WickedEngine | 6f56672476993ea95039db003b6dcf39231855db | [
"Zlib",
"MIT"
] | null | null | null | WickedEngine/wiImage.cpp | Svengali/WickedEngine | 6f56672476993ea95039db003b6dcf39231855db | [
"Zlib",
"MIT"
] | null | null | null | #include "wiImage.h"
#include "wiResourceManager.h"
#include "wiRenderer.h"
#include "wiImageEffects.h"
#include "wiSceneComponents.h"
#include "wiHelper.h"
#include "SamplerMapping.h"
#include "ResourceMapping.h"
#include <thread>
using namespace wiGraphicsTypes;
using namespace std;
#pragma region STATICS
GPUBuffe... | 36.560761 | 212 | 0.747267 | [
"vector"
] |
a2ebb37dcf9601a377c43b3daf0d0ae059bfcd55 | 2,236 | hpp | C++ | src/backend/graph_compiler/core/src/compiler/ir/viewer.hpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | src/backend/graph_compiler/core/src/compiler/ir/viewer.hpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | src/backend/graph_compiler/core/src/compiler/ir/viewer.hpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2020-2022 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://... | 33.878788 | 81 | 0.67263 | [
"object",
"vector"
] |
a2edc234c1efe8acfd533ad434c5fd36a9cda46b | 704 | hpp | C++ | src/SwitchBlockNode/node.hpp | DinosaurBlanket/DivergentArithmetic | dbdc39fe37bb05e5db5e96c09f2e34db9d67c8d0 | [
"Unlicense"
] | null | null | null | src/SwitchBlockNode/node.hpp | DinosaurBlanket/DivergentArithmetic | dbdc39fe37bb05e5db5e96c09f2e34db9d67c8d0 | [
"Unlicense"
] | null | null | null | src/SwitchBlockNode/node.hpp | DinosaurBlanket/DivergentArithmetic | dbdc39fe37bb05e5db5e96c09f2e34db9d67c8d0 | [
"Unlicense"
] | null | null | null | #pragma once
#include <vector>
#include "../num.h"
enum nodeIden {
ni_literal,
ni_add,
ni_sub,
ni_mul,
ni_div,
ni_globalIndex,
ni_dummy,
nodeIdenCount
};
class node_sb {
num singleData;
num *inputData;
uint inputDataCount;
node_sb *args;
uint argCount;
nodeIden ni;
public... | 18.526316 | 70 | 0.690341 | [
"vector"
] |
a2fc220f261c3559c5f5e815f47f95191e40337f | 5,482 | cpp | C++ | dyson_equation/main.cpp | patryk-kubiczek/noneq-cthalfhyb | bff90ab620c6aee3b0714076d9550a681de1f3c6 | [
"MIT"
] | 7 | 2018-11-29T12:13:39.000Z | 2021-01-18T13:40:16.000Z | dyson_equation/main.cpp | patryk-kubiczek/noneq-cthalfhyb | bff90ab620c6aee3b0714076d9550a681de1f3c6 | [
"MIT"
] | null | null | null | dyson_equation/main.cpp | patryk-kubiczek/noneq-cthalfhyb | bff90ab620c6aee3b0714076d9550a681de1f3c6 | [
"MIT"
] | null | null | null | #include "DysonEquation.h"
#include "../noneq_qmc/Model/contour_time.h"
#include "../gnuplot-iostream.h"
int main(int argc, char **argv)
{
double t_max = 1;
double beta = 10;
double eps_0 = 2.;
double eps = -2;
double U_0 = 4;
double U = 4;
std::vector<complex_t> zeros(1, 0.);
std::... | 29.632432 | 125 | 0.482671 | [
"vector",
"model"
] |
0c01ea822debe1c489cb2bc8b32d74f54ed815a5 | 1,421 | hpp | C++ | src/Genome.hpp | stephan2nd/cpp-evolution-toolkit | 5e7836cd03a545969b4ec438166e012498087ea9 | [
"MIT"
] | null | null | null | src/Genome.hpp | stephan2nd/cpp-evolution-toolkit | 5e7836cd03a545969b4ec438166e012498087ea9 | [
"MIT"
] | null | null | null | src/Genome.hpp | stephan2nd/cpp-evolution-toolkit | 5e7836cd03a545969b4ec438166e012498087ea9 | [
"MIT"
] | null | null | null | #ifndef GENOME_HPP_
#define GENOME_HPP_
#include <iostream>
#include <string>
#include <random>
using namespace std;
class EvolutionParameters
{
public:
int n_keep;
double sigma_survive;
double p_mutate_disturbe;
double p_mutate_replace;
double p_non_homologous_crossover;
bool b_crossing_over;
bool b_mutat... | 16.916667 | 105 | 0.760732 | [
"vector"
] |
0c095224be1e935240fd5f16107096a9cbef62b1 | 1,930 | cpp | C++ | PointsLib/IPointsAlgorithmObserver.cpp | dlfsdev/PointsLib | 0cd6e23f1a4aa44d83e9de8834e66a931eee635f | [
"MIT"
] | null | null | null | PointsLib/IPointsAlgorithmObserver.cpp | dlfsdev/PointsLib | 0cd6e23f1a4aa44d83e9de8834e66a931eee635f | [
"MIT"
] | null | null | null | PointsLib/IPointsAlgorithmObserver.cpp | dlfsdev/PointsLib | 0cd6e23f1a4aa44d83e9de8834e66a931eee635f | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "IPointsAlgorithmObserver.h"
namespace PointsLib
{
IPointsAlgorithmObserver::~IPointsAlgorithmObserver()
{
}
IPointsAlgorithmObserver::ProgressEventArgs::ProgressEventArgs()
: fractionComplete(nullptr)
, provisionalAnswer(nullptr)
{
}
IPointsAlgorithmObserver::ProgressEventArg... | 27.971014 | 141 | 0.804663 | [
"vector"
] |
0c0b828565121df02d9255e4942cfc79ca1d3379 | 25,747 | cxx | C++ | src/mod/pub/lib/gfx/gfx-camera.cxx | indigoabstract/appplex | 83c3b903db6c6ea83690ccffbd533ff6ab01d246 | [
"MIT"
] | 1 | 2017-12-26T14:29:37.000Z | 2017-12-26T14:29:37.000Z | src/mod/pub/lib/gfx/gfx-camera.cxx | indigoabstract/appplex | 83c3b903db6c6ea83690ccffbd533ff6ab01d246 | [
"MIT"
] | null | null | null | src/mod/pub/lib/gfx/gfx-camera.cxx | indigoabstract/appplex | 83c3b903db6c6ea83690ccffbd533ff6ab01d246 | [
"MIT"
] | null | null | null | #include "stdafx.hxx"
#include "gfx-camera.hxx"
#include "gfx-vxo.hxx"
#include "gfx.hxx"
#include "gfx-util.hxx"
#include "gfx-shader.hxx"
#include "gfx-state.hxx"
#include "gfx-color.hxx"
#include "gfx-rt.hxx"
#include "pfm-gl.h"
draw_context::draw_context(mws_sp<gfx_camera> i_cam)
{
camera_v = i_cam;
line_m... | 28.293407 | 174 | 0.636268 | [
"mesh",
"vector"
] |
0c0bc6aadd813a04ed798562cdb046a31bf1a7e7 | 1,850 | cc | C++ | vector/persist_vector.cc | zhuhaijun753/cplusplus11.Examples | 30076615a88039084a4478e4ce091c00c3bfc9d6 | [
"Unlicense"
] | 59 | 2016-05-22T08:09:03.000Z | 2022-02-20T13:37:36.000Z | vector/persist_vector.cc | zhuhaijun753/cplusplus11.Examples | 30076615a88039084a4478e4ce091c00c3bfc9d6 | [
"Unlicense"
] | 1 | 2017-10-26T11:40:43.000Z | 2017-10-26T15:14:04.000Z | vector/persist_vector.cc | lostjared/cplusplus11.Examples | 30076615a88039084a4478e4ce091c00c3bfc9d6 | [
"Unlicense"
] | 15 | 2017-03-09T16:15:43.000Z | 2021-09-22T16:36:17.000Z | //
// cxxVector
//
// Created by Jared Bruni on 7/8/13.
// Copyright (c) 2013 Jared Bruni. All rights reserved.
//
#include<iostream>
#include<vector>
#include<string>
#include<fstream>
template<typename T>
class PersistVector : public std::vector<T> {
public:
PersistVector() = delete;
explicit PersistVec... | 22.289157 | 68 | 0.502703 | [
"vector"
] |
0c0c31ef8e344743f258fb52b4268a6095904b9e | 1,433 | cpp | C++ | src/matrix3D.cpp | KPO-2020-2021/zad5_3-kgliwinski | 302d567d68d8e26c7395f9607632df266d7b7df9 | [
"Unlicense"
] | null | null | null | src/matrix3D.cpp | KPO-2020-2021/zad5_3-kgliwinski | 302d567d68d8e26c7395f9607632df266d7b7df9 | [
"Unlicense"
] | null | null | null | src/matrix3D.cpp | KPO-2020-2021/zad5_3-kgliwinski | 302d567d68d8e26c7395f9607632df266d7b7df9 | [
"Unlicense"
] | null | null | null | #pragma once
#include"../include/matrix3D.hpp"
template <>
inline Matrix<double,3> Matrix<double, 3>::rotation_matrix(const double & angle, const char &axis) const
{
double rad = angle *PI/180; //konwersja ze stopni na radiany
switch (axis){
case 'x':
{
double tab[3][3] = {{1,0 ,0 }, ... | 26.537037 | 105 | 0.493371 | [
"vector"
] |
0c0efa89af72466bca581bd0a6ec66fb8bad90a0 | 2,984 | cpp | C++ | Trees/BinarySearchTreeIterator173.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | 38 | 2021-10-14T09:36:53.000Z | 2022-01-27T02:36:19.000Z | Trees/BinarySearchTreeIterator173.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | null | null | null | Trees/BinarySearchTreeIterator173.cpp | devangi2000/Data-Structures-Algorithms-Handbook | ce0f00de89af5da7f986e65089402dc6908a09b5 | [
"MIT"
] | 4 | 2021-12-06T15:47:12.000Z | 2022-02-04T04:25:00.000Z | // Implement the BSTIterator class that represents an iterator over the in-order traversal of a binary search tree (BST):
// BSTIterator(TreeNode root) Initializes an object of the BSTIterator class. The root of the BST is given as part of the constructor. The pointer should be initialized to a non-existent number s... | 33.52809 | 231 | 0.611595 | [
"object"
] |
0c10ae222008443a19b337f61dce7db75c20264a | 17,625 | cc | C++ | ui/gl/direct_composition_child_surface_win.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/gl/direct_composition_child_surface_win.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/gl/direct_composition_child_surface_win.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 "ui/gl/direct_composition_child_surface_win.h"
#include <d3d11_1.h>
#include <dcomptypes.h>
#include "base/macros.h"
#include "base/metrics/his... | 35.039761 | 80 | 0.706099 | [
"vector"
] |
0c120d6e4928f9155305367be6dfe2960ff95c26 | 19,546 | cpp | C++ | src/modules/linalg/svd.cpp | iyerr3/madlib | ab7166ff4fc55311ec29bb8b54d17becd9bb1750 | [
"Apache-2.0"
] | 1 | 2019-02-01T17:58:05.000Z | 2019-02-01T17:58:05.000Z | src/modules/linalg/svd.cpp | iyerr3/madlib | ab7166ff4fc55311ec29bb8b54d17becd9bb1750 | [
"Apache-2.0"
] | 1 | 2018-09-06T05:50:17.000Z | 2018-09-06T05:50:17.000Z | src/modules/linalg/svd.cpp | iyerr3/madlib | ab7166ff4fc55311ec29bb8b54d17becd9bb1750 | [
"Apache-2.0"
] | 1 | 2019-09-03T20:50:13.000Z | 2019-09-03T20:50:13.000Z | /* ----------------------------------------------------------------------- *//**
*
* @file svd.cpp
*
* @brief Functions for Singular Value Decomposition
*
* @date Jul 10, 2013
*//* ----------------------------------------------------------------------- */
#include <dbconnector/dbconnector.hpp>
#include <math.h... | 33.185059 | 109 | 0.637931 | [
"object",
"vector"
] |
0c167d5e1fd15071916abafbfceaf69831f0e4ff | 1,532 | hpp | C++ | RobWork/src/rwlibs/csg/CSGConvert.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | 1 | 2021-12-29T14:16:27.000Z | 2021-12-29T14:16:27.000Z | RobWork/src/rwlibs/csg/CSGConvert.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | RobWork/src/rwlibs/csg/CSGConvert.hpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | /********************************************************************************
* Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute,
* Faculty of Engineering, University of Southern Denmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... | 34.818182 | 100 | 0.642298 | [
"mesh",
"geometry",
"model"
] |
0c19a8f220ddfe58300e42b14efa429142e7d864 | 1,676 | cpp | C++ | atcoder-dp/h.cpp | syedakainat3/youtube | 9e6860786b3f7b57add7cb4a0d44c551f88b8248 | [
"MIT"
] | 2,605 | 2019-02-05T16:03:10.000Z | 2022-03-31T15:17:10.000Z | atcoder-dp/h.cpp | MohaiminulEraj/youtube | 9e6860786b3f7b57add7cb4a0d44c551f88b8248 | [
"MIT"
] | 11 | 2019-10-21T14:40:15.000Z | 2021-11-07T21:57:26.000Z | atcoder-dp/h.cpp | MohaiminulEraj/youtube | 9e6860786b3f7b57add7cb4a0d44c551f88b8248 | [
"MIT"
] | 586 | 2019-03-24T18:39:57.000Z | 2022-03-26T12:22:17.000Z | #include "bits/stdc++.h"
using namespace std;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename \
enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > rge<c> range(c i, c j) { return rge<c>{i, j}; }
s... | 24.289855 | 68 | 0.442124 | [
"vector"
] |
0c22996b27dfd2ab289856142ebfc5f0453c15a5 | 1,741 | cpp | C++ | InterviewBit/Graphs/SmallestNumberWith1and0s/main.cpp | jeevanpuchakay/a2oj | f867e9b2ced6619be3ca6b1a1a1838107322782d | [
"MIT"
] | null | null | null | InterviewBit/Graphs/SmallestNumberWith1and0s/main.cpp | jeevanpuchakay/a2oj | f867e9b2ced6619be3ca6b1a1a1838107322782d | [
"MIT"
] | null | null | null | InterviewBit/Graphs/SmallestNumberWith1and0s/main.cpp | jeevanpuchakay/a2oj | f867e9b2ced6619be3ca6b1a1a1838107322782d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long double ld;
typedef long long int ll;
vector<vector<ll>> adjlist;
ll max(ll x, ll y) { return (x > y) ? x : y; }
ll min(ll x, ll y) { return (x > y) ? y : x; }
#define sfor(a, n, i) for (ll i = a; i < n; i++)
#define rfor(n, a, i) for (ll i = n; i >= a; i--)
#d... | 24.180556 | 59 | 0.504308 | [
"vector"
] |
0c2592448319d7d13f8cd840c3079dd55eb41983 | 4,994 | cpp | C++ | test/unit-tests/Test_CmdShell.cpp | jheruty/hotswap-cpp | 74175b028bf5dd0aa0dc8450f5251e6dfdf0e380 | [
"MIT"
] | 7 | 2021-05-25T11:31:00.000Z | 2022-03-16T08:39:03.000Z | test/unit-tests/Test_CmdShell.cpp | jheruty/hotswap-cpp | 74175b028bf5dd0aa0dc8450f5251e6dfdf0e380 | [
"MIT"
] | 1 | 2021-06-07T20:01:41.000Z | 2021-06-16T13:43:23.000Z | test/unit-tests/Test_CmdShell.cpp | jheruty/hotswap-cpp | 74175b028bf5dd0aa0dc8450f5251e6dfdf0e380 | [
"MIT"
] | 3 | 2021-07-08T07:33:03.000Z | 2021-08-21T06:50:31.000Z | #include <thread>
#include "catch/catch.hpp"
#include "common/Common.h"
#include "hscpp/cmd-shell/ICmdShell.h"
#include "hscpp/Platform.h"
#include "hscpp/Util.h"
namespace hscpp { namespace test
{
const static fs::path TEST_FILES_PATH = util::GetHscppTestPath() / "unit-tests" / "files" / "test-cmd-shell";
... | 30.084337 | 113 | 0.578094 | [
"vector"
] |
0c2a6a2b1e057c1c35c7ccd550637e729cc6ae6f | 2,262 | cpp | C++ | external/webkit/Source/WebCore/bindings/js/JSScriptProfileNodeCustom.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 6 | 2017-05-31T01:46:45.000Z | 2018-06-12T10:53:30.000Z | Source/WebCore/bindings/js/JSScriptProfileNodeCustom.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | Source/WebCore/bindings/js/JSScriptProfileNodeCustom.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-17T06:02:42.000Z | 2018-09-19T10:08:38.000Z | /*
* Copyright (C) 2010 Apple Inc. All rights reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the ... | 34.272727 | 87 | 0.750221 | [
"vector"
] |
0c2ed1a89750e158c7ee30c80df26a7b317afece | 25,322 | cc | C++ | src/GamIO/nrpt/GgnuplotStk.cc | pygamma-mrs/gamma | c83a7c242c481d2ecdfd49ba394fea3d5816bccb | [
"BSD-3-Clause"
] | 4 | 2021-03-15T10:02:13.000Z | 2022-01-16T11:06:28.000Z | src/GamIO/nrpt/GgnuplotStk.cc | pygamma-mrs/gamma | c83a7c242c481d2ecdfd49ba394fea3d5816bccb | [
"BSD-3-Clause"
] | 1 | 2022-01-27T15:35:03.000Z | 2022-01-27T15:35:03.000Z | src/GamIO/nrpt/GgnuplotStk.cc | pygamma-mrs/gamma | c83a7c242c481d2ecdfd49ba394fea3d5816bccb | [
"BSD-3-Clause"
] | null | null | null | /* GgnuplotStk.cc ***********************************************-*-c++-*-
** **
** G A M M A **
** **
** Gnuplot 2D/3D Stack Plots Implementation **
** **
** Copyright (c) 2002 **
** National High Magnetic Field Laboratory ... | 37.074671 | 81 | 0.545573 | [
"vector",
"3d"
] |
0c34f50429f54b90c58a79edeb51c299c1353086 | 4,376 | cpp | C++ | bridge/go-llvm-bstatement.cpp | sysidos/gollvm | 8f947f92b97b013e706413b32f9f5bb1ec15536c | [
"BSD-3-Clause"
] | 1 | 2019-07-19T18:02:28.000Z | 2019-07-19T18:02:28.000Z | bridge/go-llvm-bstatement.cpp | sysidos/gollvm | 8f947f92b97b013e706413b32f9f5bb1ec15536c | [
"BSD-3-Clause"
] | null | null | null | bridge/go-llvm-bstatement.cpp | sysidos/gollvm | 8f947f92b97b013e706413b32f9f5bb1ec15536c | [
"BSD-3-Clause"
] | 1 | 2021-03-01T16:06:37.000Z | 2021-03-01T16:06:37.000Z | //===-- go-llvm-bstatement.cpp - implementation of 'Bstatement' class ---===//
//
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
//===----------------------------------------------------------------------=... | 23.153439 | 80 | 0.665448 | [
"vector"
] |
0c3a79d01aff25bfaa831106de5ceb3fa84ee55e | 11,679 | cpp | C++ | DebugCaptureCode/DebugCaptureDlg.cpp | anthonykempka/DebugCapture | 2894582682a9f9d7cf9c95a70eaa4aebe74f608d | [
"BSD-3-Clause"
] | null | null | null | DebugCaptureCode/DebugCaptureDlg.cpp | anthonykempka/DebugCapture | 2894582682a9f9d7cf9c95a70eaa4aebe74f608d | [
"BSD-3-Clause"
] | null | null | null | DebugCaptureCode/DebugCaptureDlg.cpp | anthonykempka/DebugCapture | 2894582682a9f9d7cf9c95a70eaa4aebe74f608d | [
"BSD-3-Clause"
] | null | null | null | // DebugCaptureDlg.cpp : implementation file
//
/*
BSD 3-Clause License
Copyright (c) 2022, Anthony Kempka
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 ... | 27.160465 | 116 | 0.64449 | [
"model"
] |
0c3bb62aeab2be6d0b3c0ad2ccfffb65cc3d7fd9 | 509 | cpp | C++ | subarray_sum_equal_k.cpp | jatin-code21/DSA-CP- | e29e1fd7ab4860a4eb46d11f6a42a285be1216cb | [
"MIT"
] | 5 | 2021-12-28T01:48:46.000Z | 2022-02-18T05:57:10.000Z | subarray_sum_equal_k.cpp | jatin-code21/DSA-CP- | e29e1fd7ab4860a4eb46d11f6a42a285be1216cb | [
"MIT"
] | null | null | null | subarray_sum_equal_k.cpp | jatin-code21/DSA-CP- | e29e1fd7ab4860a4eb46d11f6a42a285be1216cb | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n, k;
cin >> n >> k;
vector<int> v(n);
for (int i = 0; i < n; i++)
{
cin >> v[i];
}
int sum = 0, cnt = 0;
unordered_map<int, int> prevSum;
for (int i = 0; i < n; i++)
{
sum += v[i];
if (sum =... | 18.178571 | 51 | 0.388998 | [
"vector"
] |
0c40edafe2cf6de00b998a61676d601a22df1fd6 | 2,765 | cpp | C++ | example/gpudb-join-example.cpp | GPUdb/gpudb-api-cpp | cabab17bf84c56386e2d74caffaec041c2abeace | [
"MIT"
] | 1 | 2018-07-13T17:18:02.000Z | 2018-07-13T17:18:02.000Z | example/gpudb-join-example.cpp | GPUdb/gpudb-api-cpp | cabab17bf84c56386e2d74caffaec041c2abeace | [
"MIT"
] | 2 | 2018-05-16T19:16:22.000Z | 2018-05-17T20:28:06.000Z | example/gpudb-join-example.cpp | GPUdb/gpudb-api-cpp | cabab17bf84c56386e2d74caffaec041c2abeace | [
"MIT"
] | 3 | 2018-07-13T17:18:04.000Z | 2021-07-29T14:04:11.000Z | #include "gpudb/GPUdb.hpp"
#include <boost/lexical_cast.hpp>
int main(int argc, char* argv[])
{
if (argc < 2)
{
std::cout << "Usage: gpudb-api-example http://172.30.70.6:9191" << std::endl;
exit(1);
}
std::string host(argv[1]);
std::cout << "Connecting to GPUdb host: '" << host << "'\n";
#ifndef GPUDB_... | 31.067416 | 120 | 0.654611 | [
"vector"
] |
0c48107a8c414174362197833b31030762038a8f | 4,297 | cpp | C++ | PhysicsII_Box2D/ModuleSceneIntro.cpp | Lladruc37/Physics_2_UPC | c15d29b8bbe95d97c1911542619a2438516fe60d | [
"Unlicense"
] | null | null | null | PhysicsII_Box2D/ModuleSceneIntro.cpp | Lladruc37/Physics_2_UPC | c15d29b8bbe95d97c1911542619a2438516fe60d | [
"Unlicense"
] | null | null | null | PhysicsII_Box2D/ModuleSceneIntro.cpp | Lladruc37/Physics_2_UPC | c15d29b8bbe95d97c1911542619a2438516fe60d | [
"Unlicense"
] | null | null | null | #include "Globals.h"
#include "Application.h"
#include "ModuleRender.h"
#include "ModuleSceneIntro.h"
#include "ModuleInput.h"
#include "ModuleTextures.h"
#include "ModulePhysics.h"
ModuleSceneIntro::ModuleSceneIntro(Application* app, bool start_enabled) : Module(app, start_enabled)
{
circle = box = rick = NULL;
}
M... | 26.20122 | 147 | 0.629509 | [
"shape"
] |
31ad5436b2dd74d5155bb6c7d7c5bccaab0369e5 | 1,608 | cpp | C++ | C++ Primer/chapter-13/31.cpp | grasslog/github-blog | 1e09025f068774659b4bc26b7f0ad4aa1a3fbd43 | [
"MIT"
] | 1 | 2019-05-16T07:51:12.000Z | 2019-05-16T07:51:12.000Z | C++ Primer/chapter-13/31.cpp | grasslog/github-blog | 1e09025f068774659b4bc26b7f0ad4aa1a3fbd43 | [
"MIT"
] | null | null | null | C++ Primer/chapter-13/31.cpp | grasslog/github-blog | 1e09025f068774659b4bc26b7f0ad4aa1a3fbd43 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
class Hasptr1
{
friend void swap(Hasptr1&, Hasptr1&);
friend bool operator<(const Hasptr1& s1, const Hasptr1& s2);
friend void show(vector<Hasptr1>& vec);
public:
Hasptr1(const string& s = string()):ps(new... | 20.1 | 87 | 0.527363 | [
"vector"
] |
31b257628b0bfea0d06b842f65a7126c58b2d606 | 7,094 | cpp | C++ | src/SEQ3.cpp | musicalentropy/Fundamental | e15646b1af24b7c7ada86a97a516fed22783f054 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/SEQ3.cpp | musicalentropy/Fundamental | e15646b1af24b7c7ada86a97a516fed22783f054 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/SEQ3.cpp | musicalentropy/Fundamental | e15646b1af24b7c7ada86a97a516fed22783f054 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | #include "Fundamental.hpp"
#include "dsp/digital.hpp"
struct SEQ3 : Module {
enum ParamIds {
CLOCK_PARAM,
RUN_PARAM,
RESET_PARAM,
STEPS_PARAM,
ENUMS(ROW1_PARAM, 8),
ENUMS(ROW2_PARAM, 8),
ENUMS(ROW3_PARAM, 8),
ENUMS(GATE_PARAM, 8),
NUM_PARAMS
};
enum InputIds {
CLOCK_INPUT,
EXT_CLOCK_INPUT,
... | 34.270531 | 123 | 0.675359 | [
"model"
] |
31b7168b963f2ce38a3986e0a3343e16cc7f1f94 | 9,360 | cc | C++ | PYTHIA8/pythia8205/examples/main29.cc | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | PYTHIA8/pythia8205/examples/main29.cc | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | PYTHIA8/pythia8205/examples/main29.cc | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | // main29.cc is a part of the PYTHIA event generator.
// Copyright (C) 2015 Torbjorn Sjostrand.
// PYTHIA is licenced under the GNU GPL version 2, see COPYING for details.
// Please respect the MCnet Guidelines, see GUIDELINES for details.
// Omnibus version for colour reconnection (CR) effect studies.
// Links to tw... | 38.360656 | 77 | 0.608761 | [
"model"
] |
31c17f07669a663005a88dcf5ac191d78edbc823 | 5,352 | cc | C++ | chainerx_cc/chainerx/numerical_gradient_test.cc | zaltoprofen/chainer | 3b03f9afc80fd67f65d5e0395ef199e9506b6ee1 | [
"MIT"
] | 3,705 | 2017-06-01T07:36:12.000Z | 2022-03-30T10:46:15.000Z | chainerx_cc/chainerx/numerical_gradient_test.cc | zaltoprofen/chainer | 3b03f9afc80fd67f65d5e0395ef199e9506b6ee1 | [
"MIT"
] | 5,998 | 2017-06-01T06:40:17.000Z | 2022-03-08T01:42:44.000Z | chainerx_cc/chainerx/numerical_gradient_test.cc | zaltoprofen/chainer | 3b03f9afc80fd67f65d5e0395ef199e9506b6ee1 | [
"MIT"
] | 1,150 | 2017-06-02T03:39:46.000Z | 2022-03-29T02:29:32.000Z | #include "chainerx/numerical_gradient.h"
#include <algorithm>
#include <memory>
#include <string>
#include <vector>
#include <absl/types/optional.h>
#include <gtest/gtest.h>
#include <gsl/gsl>
#include "chainerx/array.h"
#include "chainerx/array_repr.h"
#include "chainerx/context.h"
#include "chainerx/device_id.h"
#... | 35.210526 | 138 | 0.627429 | [
"shape",
"vector",
"transform"
] |
31ca93b88474b157497fbdd6f80d6d27f9994211 | 2,077 | hh | C++ | RAVL2/Image/Processing/Motion/LMSGradient/LMSRegressionEngine.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Image/Processing/Motion/LMSGradient/LMSRegressionEngine.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Image/Processing/Motion/LMSGradient/LMSRegressionEngine.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2003, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here... | 30.544118 | 82 | 0.652383 | [
"vector"
] |
31ce6979cfce8d6057315cd88e4ce5ddd0c89e03 | 1,606 | cpp | C++ | sources/min_cut_segmentation/min_cut_segmentation.cpp | SmartKangJohn/PCL191_tutorials_x64 | ba23cfa0c612d11b00b97fba75e2f9b41633b5d1 | [
"MIT"
] | 2 | 2019-04-10T14:04:52.000Z | 2019-05-29T03:41:58.000Z | software/SLAM/ygz_slam_ros/Thirdparty/PCL/doc/tutorials/content/sources/min_cut_segmentation/min_cut_segmentation.cpp | glider54321/GAAS | 5c3b8c684e72fdf7f62c5731a260021e741069e7 | [
"BSD-3-Clause"
] | null | null | null | software/SLAM/ygz_slam_ros/Thirdparty/PCL/doc/tutorials/content/sources/min_cut_segmentation/min_cut_segmentation.cpp | glider54321/GAAS | 5c3b8c684e72fdf7f62c5731a260021e741069e7 | [
"BSD-3-Clause"
] | 1 | 2021-12-20T06:54:41.000Z | 2021-12-20T06:54:41.000Z | #include <iostream>
#include <vector>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/visualization/cloud_viewer.h>
#include <pcl/filters/passthrough.h>
#include <pcl/segmentation/min_cut_segmentation.h>
int main (int argc, char** argv)
{
pcl::PointCloud <pcl::PointXYZ>::Ptr cloud (new pcl::Poi... | 29.2 | 97 | 0.693649 | [
"vector"
] |
31d0086612be5d034f1d7e760ad5260367ab4c71 | 11,240 | cc | C++ | Validation/MtdValidation/plugins/EtlRecoValidation.cc | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 2 | 2017-09-29T13:32:51.000Z | 2019-01-31T00:40:58.000Z | Validation/MtdValidation/plugins/EtlRecoValidation.cc | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 8 | 2020-03-20T23:18:36.000Z | 2020-05-27T11:00:06.000Z | Validation/MtdValidation/plugins/EtlRecoValidation.cc | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 3 | 2017-06-07T15:22:28.000Z | 2019-02-28T20:48:30.000Z | #include <string>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"
#include "DQMServices/Core/interface/DQ... | 45.877551 | 118 | 0.684875 | [
"geometry"
] |
31d86c308a11728c70bb70fc5db40ab2ad5f61a5 | 23,742 | cpp | C++ | FxLibD3D/StateGroupD3D.cpp | galek/nvFX | 16866af0afb5d425e3c2db1a4829a79a9ee353bf | [
"Unlicense"
] | 193 | 2015-01-02T18:27:07.000Z | 2022-03-22T01:07:45.000Z | FxLibD3D/StateGroupD3D.cpp | tlorach/nvFX | 16866af0afb5d425e3c2db1a4829a79a9ee353bf | [
"Unlicense"
] | null | null | null | FxLibD3D/StateGroupD3D.cpp | tlorach/nvFX | 16866af0afb5d425e3c2db1a4829a79a9ee353bf | [
"Unlicense"
] | 43 | 2015-01-04T09:57:18.000Z | 2021-12-31T06:50:02.000Z | /*
Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
Copyright (c) 2013, Tristan Lorach. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source co... | 35.595202 | 134 | 0.550965 | [
"render"
] |
31e3689f2509db0f1cde03bec2a1c45c202c1ddd | 174 | hpp | C++ | include/renderers/Renderer.hpp | vyorkin/asteroids | 870256e338eefb07466af27735d5b8df0c5c7d42 | [
"MIT"
] | 1 | 2015-03-13T10:09:54.000Z | 2015-03-13T10:09:54.000Z | include/renderers/Renderer.hpp | vyorkin-personal/asteroids | 870256e338eefb07466af27735d5b8df0c5c7d42 | [
"MIT"
] | null | null | null | include/renderers/Renderer.hpp | vyorkin-personal/asteroids | 870256e338eefb07466af27735d5b8df0c5c7d42 | [
"MIT"
] | null | null | null | #pragma once
#include "Base.hpp"
class Renderer {
public:
virtual ~Renderer() = default;
virtual void render(Entity* entity, const float delta) = 0;
};
| 17.4 | 67 | 0.632184 | [
"render"
] |
31e63ea97ccd9fc2eb22cd95babcfe88c963f542 | 321 | cc | C++ | gcj2018/start.cc | maciej-marek-mielczarek/gcj | b3ccdd48f24c2e89f4135f6d8f53d12c404f327b | [
"MIT"
] | null | null | null | gcj2018/start.cc | maciej-marek-mielczarek/gcj | b3ccdd48f24c2e89f4135f6d8f53d12c404f327b | [
"MIT"
] | null | null | null | gcj2018/start.cc | maciej-marek-mielczarek/gcj | b3ccdd48f24c2e89f4135f6d8f53d12c404f327b | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
#include<vector>
using std::cin;
using std::cout;
using std::endl;
int main()
{
int test_case = 1, n_test_cases;
cin >> n_test_cases;
for(;test_case <= n_test_cases; ++test_case)
{
cout << "Case #" << test_case << ":";
}
return 0;
}
... | 16.894737 | 49 | 0.560748 | [
"vector"
] |
31ecfc6f5157cb97983b5d22aea406ec5bf67a9e | 27,635 | cpp | C++ | Source/SIMPLib/CoreFilters/CreateDataArray.cpp | jmarquisbq/SIMPL | 375653013742cfe9aed603fc9a6bab6d9c96be31 | [
"NRL"
] | null | null | null | Source/SIMPLib/CoreFilters/CreateDataArray.cpp | jmarquisbq/SIMPL | 375653013742cfe9aed603fc9a6bab6d9c96be31 | [
"NRL"
] | null | null | null | Source/SIMPLib/CoreFilters/CreateDataArray.cpp | jmarquisbq/SIMPL | 375653013742cfe9aed603fc9a6bab6d9c96be31 | [
"NRL"
] | null | null | null | /* ============================================================================
* Copyright (c) 2009-2016 BlueQuartz Software, LLC
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code... | 38.758766 | 200 | 0.579881 | [
"vector"
] |
31f7e80cd2edb1f0a04f018debcfa8a1b31f2a41 | 8,736 | cpp | C++ | code/planecalib/HomographyCalibration.cpp | TANHAIYU/Self-calibration-using-Homography-Constraints | a3e7efa8cc3de1be1489891d81c0fb00b5b98777 | [
"BSD-3-Clause"
] | 2 | 2020-03-17T16:34:31.000Z | 2020-06-17T18:30:13.000Z | code/planecalib/HomographyCalibration.cpp | TANHAIYU/planecalib | a3e7efa8cc3de1be1489891d81c0fb00b5b98777 | [
"BSD-3-Clause"
] | null | null | null | code/planecalib/HomographyCalibration.cpp | TANHAIYU/planecalib | a3e7efa8cc3de1be1489891d81c0fb00b5b98777 | [
"BSD-3-Clause"
] | null | null | null |
#include "HomographyCalibration.h"
#include <memory>
#include <ceres/ceres.h>
#include <opencv2/calib3d.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
#include "log.h"
#include "cvutils.h"
#include "CeresUtils.h"
#include "CeresParametrization.h"
#include "Profiler.h"
namespace planecalib {
// ... | 26.797546 | 144 | 0.655563 | [
"vector",
"model"
] |
ee05e0414013eef091bc387c8fe2259fd4e8db9b | 9,804 | cxx | C++ | STEER/ESD/AliESDfriendTrack.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | STEER/ESD/AliESDfriendTrack.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | STEER/ESD/AliESDfriendTrack.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 27.773371 | 96 | 0.645859 | [
"object"
] |
ee0c624552b19941dd0ae54e2324724387b56020 | 15,372 | cpp | C++ | cycles.cpp | RussellSprouts/6502-enumerator | 96eebf4ef08a9b8c329b4ad362a15b3f2a55ccff | [
"MIT"
] | 7 | 2018-02-06T21:02:36.000Z | 2021-03-06T19:10:47.000Z | cycles.cpp | BigEd/6502-enumerator | 96eebf4ef08a9b8c329b4ad362a15b3f2a55ccff | [
"MIT"
] | 2 | 2019-04-24T17:37:32.000Z | 2019-07-25T23:00:50.000Z | cycles.cpp | BigEd/6502-enumerator | 96eebf4ef08a9b8c329b4ad362a15b3f2a55ccff | [
"MIT"
] | 2 | 2019-08-09T12:43:56.000Z | 2020-07-25T00:01:04.000Z | #include "stdint.h"
#include <queue>
#include <iostream>
#include <algorithm>
enum class instruction_name {
NONE = 0,
ADC = 1,
AND = 2,
ASL = 3,
BCC = 4,
BCS = 5,
BEQ = 6,
BIT = 7,
BMI = 8,
BNE = 9,
BPL = 10,
BRK = 11,
BVC = 12,
BVS = 13,
CLC = 14,
CLD = 15,
CLI = 16,
CLV = 17,
CM... | 39.823834 | 106 | 0.650273 | [
"vector"
] |
ee0d123c3fedbaaf1ebaa478fa58674b981fc7ca | 19,771 | cpp | C++ | src/2d_particles.cpp | agutikov/gamez_playground | 97dd023c817d299e6fe7f2ec65240875c41945ec | [
"Unlicense"
] | null | null | null | src/2d_particles.cpp | agutikov/gamez_playground | 97dd023c817d299e6fe7f2ec65240875c41945ec | [
"Unlicense"
] | null | null | null | src/2d_particles.cpp | agutikov/gamez_playground | 97dd023c817d299e6fe7f2ec65240875c41945ec | [
"Unlicense"
] | null | null | null |
#include <cstdio>
#include <vector>
#include <cmath>
#include <string>
#include <sstream>
#include <chrono>
#include <limits>
#include <exception>
#include <iostream>
#include <fmt/core.h>
#include "raylib.h"
#include "raymath.h"
#define RAYGUI_IMPLEMENTATION
#include "raygui.h"
#include "lib/geom.h"
#include "lib... | 26.326232 | 106 | 0.529058 | [
"render",
"vector",
"model"
] |
ee149a6747cb7dce35693efd01acc8a9fabc1c9f | 3,815 | cpp | C++ | Engine/SpacePartition/OLQuadTreeNode.cpp | mariofv/LittleEngine | 38ecfdf6041a24f304c679ee3b6b589ba2040e48 | [
"MIT"
] | 9 | 2020-04-05T07:44:38.000Z | 2022-01-12T02:07:14.000Z | Engine/SpacePartition/OLQuadTreeNode.cpp | mariofv/LittleEngine | 38ecfdf6041a24f304c679ee3b6b589ba2040e48 | [
"MIT"
] | 105 | 2020-03-13T19:12:23.000Z | 2020-12-02T23:41:15.000Z | Engine/SpacePartition/OLQuadTreeNode.cpp | mariofv/LittleEngine | 38ecfdf6041a24f304c679ee3b6b589ba2040e48 | [
"MIT"
] | 1 | 2021-04-24T16:11:49.000Z | 2021-04-24T16:11:49.000Z | #include "OLQuadTreeNode.h"
#include "Main/GameObject.h"
#include <algorithm>
OLQuadTreeNode::OLQuadTreeNode()
{
box = AABB2D();
parent = nullptr;
}
OLQuadTreeNode::OLQuadTreeNode(const AABB2D aabb) : box(aabb)
{
parent = nullptr;
}
void OLQuadTreeNode::AddChild(OLQuadTreeNode * new_child)
{
new_child->parent... | 27.056738 | 122 | 0.732896 | [
"object",
"vector"
] |
ee1b0798f9a2f398c6d9fb7fe93b9003e625edde | 2,659 | cpp | C++ | project2D/Wall.cpp | Jeffrey-W23/AIE-Assignment-2D-Game | ad1e95fc76899ae50d7a4073403795b843393ff1 | [
"MIT"
] | null | null | null | project2D/Wall.cpp | Jeffrey-W23/AIE-Assignment-2D-Game | ad1e95fc76899ae50d7a4073403795b843393ff1 | [
"MIT"
] | null | null | null | project2D/Wall.cpp | Jeffrey-W23/AIE-Assignment-2D-Game | ad1e95fc76899ae50d7a4073403795b843393ff1 | [
"MIT"
] | null | null | null | // #include, using, etc
#include "Wall.h"
#include "VectorCast.h"
#include "CollisionManager.h"
//--------------------------------------------------------------------------------------
// Default Constructor.
//
// Param:
// textureUrl: Takes in a char for specifying a texture url in texture file location.
// pos: ... | 35.453333 | 131 | 0.525762 | [
"render",
"object"
] |
ee1c70af87a8af0282d4c6faf823b88dfb9d02b2 | 1,284 | cpp | C++ | aspirant_application/Graphics.Sprite.cpp | playdeezgames/Aspirant | a907475fefb58d766a103324e65317613831561b | [
"MIT"
] | null | null | null | aspirant_application/Graphics.Sprite.cpp | playdeezgames/Aspirant | a907475fefb58d766a103324e65317613831561b | [
"MIT"
] | null | null | null | aspirant_application/Graphics.Sprite.cpp | playdeezgames/Aspirant | a907475fefb58d766a103324e65317613831561b | [
"MIT"
] | null | null | null | #include "Graphics.Sprite.h"
#include "Graphics.Textures.h"
#include "Graphics.Properties.h"
#include "Common.Properties.h"
namespace graphics
{
Sprite::Sprite
(
const nlohmann::json& model
)
: model(model)
{
}
void Sprite::Draw(SDL_Renderer* renderer, const common::XY<int>& xy) const
{
Draw(renderer, xy... | 21.4 | 100 | 0.665109 | [
"model"
] |
ee1f3273bf8134a8689bd1a5ba3c87f945052de1 | 9,212 | cpp | C++ | GPUtoGPU_DX11/directGMA_DX11/DXwindow.cpp | GPUOpen-LibrariesAndSDKs/DGMA_P2P | 8200c3615be64234de0e72534a60c6e8d8cb2754 | [
"MIT"
] | 17 | 2016-01-26T20:16:57.000Z | 2022-03-07T20:02:13.000Z | GPUtoGPU_DX11/directGMA_DX11/DXwindow.cpp | GPUOpen-LibrariesAndSDKs/DGMA_P2P | 8200c3615be64234de0e72534a60c6e8d8cb2754 | [
"MIT"
] | 1 | 2018-04-16T09:49:56.000Z | 2018-04-16T09:49:56.000Z | GPUtoGPU_DX11/directGMA_DX11/DXwindow.cpp | GPUOpen-LibrariesAndSDKs/DGMA_P2P | 8200c3615be64234de0e72534a60c6e8d8cb2754 | [
"MIT"
] | 6 | 2016-01-27T03:59:05.000Z | 2021-04-03T09:52:02.000Z | //--------------------------------------------------------------------------------------
//
//
// Copyright 2014 ADVANCED MICRO DEVICES, INC. All Rights Reserved.
//
// AMD is granting you permission to use this software and documentation (if
// any) (collectively, the "Materials") pursuant to the terms and conditions... | 29.909091 | 133 | 0.684868 | [
"render"
] |
ee243ccb2d16fa44a62345bdce8401cf9477392b | 2,966 | cpp | C++ | src/BTreeTest.cpp | elordin/dbimpl | 4aa1ef8f9921bf3dc77752a139772a54a7e65663 | [
"MIT"
] | null | null | null | src/BTreeTest.cpp | elordin/dbimpl | 4aa1ef8f9921bf3dc77752a139772a54a7e65663 | [
"MIT"
] | 4 | 2016-05-03T11:54:07.000Z | 2016-05-03T13:49:46.000Z | src/BTreeTest.cpp | elordin/dbimpl | 4aa1ef8f9921bf3dc77752a139772a54a7e65663 | [
"MIT"
] | null | null | null | #include <string>
#include <cstdint>
#include <cassert>
#include <vector>
#include <sstream>
#include <stdlib.h>
#include <string.h>
#include "BTree/BTree.hpp"
#include "SlottedPages/TID.hpp"
/* Comparator functor for uint64_t*/
struct MyCustomUInt64Cmp {
bool operator()(uint64_t a, uint64_t b) const {
retu... | 23.919355 | 90 | 0.624747 | [
"vector"
] |
ee274e2b44dc5345c6adf38675a9ceadd1840ad2 | 4,201 | hpp | C++ | include/seqan3/core/simd/simd_algorithm.hpp | FirstLoveLife/seqan3 | ac2e983e0a576515c13ebb2c851c43c1eba1ece1 | [
"BSD-3-Clause"
] | null | null | null | include/seqan3/core/simd/simd_algorithm.hpp | FirstLoveLife/seqan3 | ac2e983e0a576515c13ebb2c851c43c1eba1ece1 | [
"BSD-3-Clause"
] | null | null | null | include/seqan3/core/simd/simd_algorithm.hpp | FirstLoveLife/seqan3 | ac2e983e0a576515c13ebb2c851c43c1eba1ece1 | [
"BSD-3-Clause"
] | null | null | null | // ============================================================================
// SeqAn - The Library for Sequence Analysis
// ============================================================================
//
// Copyright (c) 2006-2018, Knut Reinert & Freie Universitaet Berlin
// Copyright (c) 2016-2018,... | 38.190909 | 109 | 0.696501 | [
"vector"
] |
0c54b7b9b0396193d0f9293420de5c549bded314 | 3,418 | cpp | C++ | c_config.cpp | graphitemaster/neothyne | 101dd7f96e5c62e32e797105d9fb23f975986626 | [
"MIT"
] | 77 | 2015-02-07T09:08:35.000Z | 2022-03-29T11:36:25.000Z | c_config.cpp | graphitemaster/neothyne | 101dd7f96e5c62e32e797105d9fb23f975986626 | [
"MIT"
] | 45 | 2015-02-23T07:24:27.000Z | 2017-01-05T13:39:34.000Z | c_config.cpp | graphitemaster/neothyne | 101dd7f96e5c62e32e797105d9fb23f975986626 | [
"MIT"
] | 20 | 2015-01-03T16:46:25.000Z | 2021-09-16T02:44:56.000Z | #include <time.h>
#include "u_algorithm.h"
#include "u_vector.h"
#include "u_file.h"
#include "u_misc.h"
#include "c_config.h"
#include "c_console.h"
namespace c {
bool Config::write(const u::string &path) {
u::file file = u::fopen(path + "init.cfg", "w");
if (!file)
return false;
const time_t ... | 34.18 | 99 | 0.477472 | [
"vector"
] |
0c55be584a5de724baa9ed3c34676c3fc54dbd5e | 5,210 | cpp | C++ | pxr/imaging/lib/hd/sortedIds.cpp | navefx/YuksUSD | 56c2e1def36ee07121f4ecb349c1626472b3c338 | [
"AML"
] | 6 | 2018-08-26T13:27:22.000Z | 2021-08-14T23:57:38.000Z | pxr/imaging/lib/hd/sortedIds.cpp | navefx/YuksUSD | 56c2e1def36ee07121f4ecb349c1626472b3c338 | [
"AML"
] | 1 | 2021-08-14T23:57:51.000Z | 2021-08-14T23:57:51.000Z | pxr/imaging/lib/hd/sortedIds.cpp | navefx/YuksUSD | 56c2e1def36ee07121f4ecb349c1626472b3c338 | [
"AML"
] | 4 | 2018-06-14T18:14:59.000Z | 2021-09-13T22:20:50.000Z | //
// Copyright 2017 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 27.277487 | 78 | 0.619386 | [
"vector"
] |
0c57196a27829f54971ac5610db8e40f097fe6c6 | 25,346 | cpp | C++ | modules/Render/RenderMock/test/MaterialTest.cpp | akb825/DeepSea | fff790d0a472cf2f9f89de653e0b4470ce605d24 | [
"Apache-2.0"
] | 5 | 2018-11-17T23:13:22.000Z | 2021-09-30T13:37:04.000Z | modules/Render/RenderMock/test/MaterialTest.cpp | akb825/DeepSea | fff790d0a472cf2f9f89de653e0b4470ce605d24 | [
"Apache-2.0"
] | null | null | null | modules/Render/RenderMock/test/MaterialTest.cpp | akb825/DeepSea | fff790d0a472cf2f9f89de653e0b4470ce605d24 | [
"Apache-2.0"
] | 2 | 2019-09-23T12:23:35.000Z | 2020-04-07T05:31:06.000Z | /*
* Copyright 2017 Aaron Barany
*
* 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... | 42.033167 | 97 | 0.792117 | [
"render"
] |
0c5bea4e63a7beb1d447a73aa2c93bc1c087e9d7 | 4,035 | hpp | C++ | libraries/chain/include/graphene/chain/committee_member_evaluator.hpp | LianshuOne/yoyow-core | fba1274b79f85110febd66aab428473ad75148a7 | [
"MIT"
] | 1 | 2019-06-11T09:00:42.000Z | 2019-06-11T09:00:42.000Z | libraries/chain/include/graphene/chain/committee_member_evaluator.hpp | LianshuOne/yoyow-core | fba1274b79f85110febd66aab428473ad75148a7 | [
"MIT"
] | null | null | null | libraries/chain/include/graphene/chain/committee_member_evaluator.hpp | LianshuOne/yoyow-core | fba1274b79f85110febd66aab428473ad75148a7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* 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... | 43.387097 | 106 | 0.763073 | [
"vector"
] |
0c64d5447eb6084c8b4638e841f3b0cf58b6f835 | 5,976 | cc | C++ | chrome/browser/browsing_data/browsing_data_remover_browsertest_base.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/browser/browsing_data/browsing_data_remover_browsertest_base.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/browser/browsing_data/browsing_data_remover_browsertest_base.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 (c) 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/browser/browsing_data/browsing_data_remover_browsertest_base.h"
#include <memory>
#include <utility>
#include <vector>
#include "ba... | 35.152941 | 80 | 0.744645 | [
"vector"
] |
0c67fb82f3d0132873a925aacc225a83e98fe1ea | 1,749 | hpp | C++ | src/poly_line_widget.hpp | gamobink/anura | 410721a174aae98f32a55d71a4e666ad785022fd | [
"CC0-1.0"
] | null | null | null | src/poly_line_widget.hpp | gamobink/anura | 410721a174aae98f32a55d71a4e666ad785022fd | [
"CC0-1.0"
] | null | null | null | src/poly_line_widget.hpp | gamobink/anura | 410721a174aae98f32a55d71a4e666ad785022fd | [
"CC0-1.0"
] | null | null | null | /*
Copyright (C) 2003-2014 by David White <davewx7@gmail.com>
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,
incl... | 30.684211 | 89 | 0.747284 | [
"geometry",
"vector"
] |
0c6b81ed454b6a339a7219e984ecf4ab59dedfc5 | 1,184 | cpp | C++ | C++/105. Construct Binary Tree from Preorder and Inorder Traversal.cpp | WangYang-wy/LeetCode | c92fcb83f86c277de6785d5a950f16bc007ccd31 | [
"MIT"
] | 3 | 2018-07-28T15:36:18.000Z | 2020-03-17T01:26:22.000Z | C++/105. Construct Binary Tree from Preorder and Inorder Traversal.cpp | WangYang-wy/LeetCode | c92fcb83f86c277de6785d5a950f16bc007ccd31 | [
"MIT"
] | null | null | null | C++/105. Construct Binary Tree from Preorder and Inorder Traversal.cpp | WangYang-wy/LeetCode | c92fcb83f86c277de6785d5a950f16bc007ccd31 | [
"MIT"
] | null | null | null | //
// Created by 王阳 on 2018/7/25.
//
#include "header.h"
class Solution {
public:
TreeNode *buildTree(vector<int> &preorder, vector<int> &inorder) {
int pre_len = int(preorder.size());
int in_len = int(inorder.size());
return buildTree(preorder, 0, pre_len, inorder, 0, in_len);
}
... | 27.534884 | 104 | 0.548986 | [
"vector"
] |
0c6fe5fc1a3f62acdc4a26befc9f7dfa3f5f6d60 | 45,130 | cpp | C++ | third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/modules/media_controls/MediaControlsImpl.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
* Copyright (C) 2011, 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must... | 35.732383 | 90 | 0.736827 | [
"geometry",
"vector"
] |
0c784d1ec535bde6e1f01c01ad5b7b1549a3806c | 6,615 | hpp | C++ | glut_demo/vec3.hpp | silenthell/Spline | f49f405d62fe34bedd4361eae1e32d6c744a8ce8 | [
"MIT"
] | 15 | 2017-11-24T16:01:51.000Z | 2020-05-13T03:26:36.000Z | src/vec3.hpp | brainexcerpts/laplacian_smoothing_triangle_mesh | 8c02c8323ed47ce683339132a9f386cf1ba2a6de | [
"MIT"
] | 1 | 2020-12-26T15:57:42.000Z | 2020-12-26T15:57:42.000Z | src/vec3.hpp | brainexcerpts/laplacian_smoothing_triangle_mesh | 8c02c8323ed47ce683339132a9f386cf1ba2a6de | [
"MIT"
] | 13 | 2016-09-25T08:59:55.000Z | 2020-05-21T02:22:48.000Z | #ifndef VEC3_HPP
#define VEC3_HPP
#include <cmath>
struct Vec3 {
float x, y, z;
// -------------------------------------------------------------------------
/// @name Constructors
// -------------------------------------------------------------------------
Vec3() { x = float(0); y = float(0); z... | 24.775281 | 86 | 0.426757 | [
"vector"
] |
0c7e5719acd359d11d96f6f3612a133c17220e1a | 1,463 | cpp | C++ | program/architecture_b/engine.cpp | pondodev/research-project | ab012904825e67b58944d45251cea40e57bae80f | [
"Unlicense"
] | null | null | null | program/architecture_b/engine.cpp | pondodev/research-project | ab012904825e67b58944d45251cea40e57bae80f | [
"Unlicense"
] | null | null | null | program/architecture_b/engine.cpp | pondodev/research-project | ab012904825e67b58944d45251cea40e57bae80f | [
"Unlicense"
] | null | null | null | #include "engine.h"
namespace arch_b {
Engine::~Engine() {
for ( auto e : entities ) {
delete e;
}
}
void Engine::add_entity( Entity* entity ) {
entities.push_back( entity );
}
void Engine::remove_entity( unsigned int id ) {
for ( size_t i = 0; i < enti... | 24.79661 | 70 | 0.487355 | [
"vector"
] |
0c7fc4ae8602aeb17e016a625561f5312fdfb939 | 10,492 | cpp | C++ | tests/visNET.IntegrationTest/tcpTest.cpp | UnknownException/visNET | 5682b4e03a3c6dfb74cf76e68054481df0a44c4b | [
"MIT"
] | 5 | 2017-01-25T20:25:33.000Z | 2018-07-15T20:57:41.000Z | tests/visNET.IntegrationTest/tcpTest.cpp | UnknownException/visNET | 5682b4e03a3c6dfb74cf76e68054481df0a44c4b | [
"MIT"
] | null | null | null | tests/visNET.IntegrationTest/tcpTest.cpp | UnknownException/visNET | 5682b4e03a3c6dfb74cf76e68054481df0a44c4b | [
"MIT"
] | 1 | 2019-09-17T19:31:50.000Z | 2019-09-17T19:31:50.000Z | #include "pch.h"
TEST(TcpTest, ConstructConnection)
{
/* Create TCP listener and client */
EXPECT_TRUE(visNET::startup()) << "Failed to startup";
visNET::TcpListener tcpSvr(TESTTCP_PORT_CONSTRUCTCONNECTION1);
EXPECT_TRUE(tcpSvr.isValid()) << "Failed to initialize TcpListener";
visNET::TcpClient tcpCl("127.0.0.1... | 27.181347 | 113 | 0.688143 | [
"vector"
] |
0c8c0834ff6aab48cfe61a5f67b8b083a3332b63 | 14,693 | inl | C++ | src/physics/Vector3D.inl | hermanndetz/xtalsim | f8bb841e504d0f578334e21391f55dff474ae5d7 | [
"MIT"
] | null | null | null | src/physics/Vector3D.inl | hermanndetz/xtalsim | f8bb841e504d0f578334e21391f55dff474ae5d7 | [
"MIT"
] | null | null | null | src/physics/Vector3D.inl | hermanndetz/xtalsim | f8bb841e504d0f578334e21391f55dff474ae5d7 | [
"MIT"
] | null | null | null | /**
Copyright (C) 2018 Hermann Detz and Juergen Maier
This software may be modified and distributed under the terms
of the MIT license. See the LICENSE file for details.
*/
#ifndef __VECTOR_3D_INL__
#define __VECTOR_3D_INL__
template <class T>
Vector3D<T>::Vector3D(const T x, const T y, const T z)
{
values_[0]... | 26.2375 | 80 | 0.514871 | [
"vector",
"3d"
] |
0c8f31c2c6cca9b75f1778c88718fca82e1f0e35 | 1,474 | cpp | C++ | src/factory.cpp | cclienti/tricks | f84231ef919392585dceb7d91c8fb875faf38d9f | [
"MIT"
] | null | null | null | src/factory.cpp | cclienti/tricks | f84231ef919392585dceb7d91c8fb875faf38d9f | [
"MIT"
] | null | null | null | src/factory.cpp | cclienti/tricks | f84231ef919392585dceb7d91c8fb875faf38d9f | [
"MIT"
] | 1 | 2021-06-25T11:33:25.000Z | 2021-06-25T11:33:25.000Z | #include <iostream>
#include <map>
#include <string>
class ManufacturedBase
{
public:
virtual ~ManufacturedBase() {};
virtual ManufacturedBase* clone() const = 0;
virtual void whoami() const = 0;
};
class Factory
{
private:
typedef std::map<std::string, ManufacturedBase*> FactoryMap;
FactoryMap m_map;
public:... | 15.195876 | 68 | 0.645183 | [
"object"
] |
0c9db1990132c1182cfc0da8ecd309acd5ac2bac | 904 | cpp | C++ | Easy/self_dividing_numbers.cpp | AnanyaDas162/Leetcode-Solutions | 00f3982f2a48cc7ef3341565b237a1f9637d26f5 | [
"MIT"
] | 1 | 2021-11-21T16:04:59.000Z | 2021-11-21T16:04:59.000Z | Easy/self_dividing_numbers.cpp | AnanyaDas162/Leetcode-Solutions | 00f3982f2a48cc7ef3341565b237a1f9637d26f5 | [
"MIT"
] | null | null | null | Easy/self_dividing_numbers.cpp | AnanyaDas162/Leetcode-Solutions | 00f3982f2a48cc7ef3341565b237a1f9637d26f5 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> selfDividingNumbers(int left, int right) {
vector<int>v;
vector<int>x;
int y, cnt1=0, cnt2 = 0;
for (int i = left; i <= right; i ++)
{
y = i;
cnt1 = 0, cnt2 = 0;
v.clear();
while (... | 24.432432 | 59 | 0.254425 | [
"vector"
] |
0c9e04ff0b48ecf48d91423a15fc615fa4dad388 | 21,656 | cpp | C++ | src/aadcUser/OptIlmDriveX/OptIlm_ModelPredictiveController/OptIlm_ModelPredictiveController.cpp | ronharry/OptIlmDriveX | 01d808fd1ac65a3b862cfd3e7c50f4b5a3d87acc | [
"BSD-4-Clause"
] | 1 | 2019-02-15T19:12:08.000Z | 2019-02-15T19:12:08.000Z | src/aadcUser/OptIlmDriveX/OptIlm_ModelPredictiveController/OptIlm_ModelPredictiveController.cpp | ronharry/OptIlmDriveX | 01d808fd1ac65a3b862cfd3e7c50f4b5a3d87acc | [
"BSD-4-Clause"
] | null | null | null | src/aadcUser/OptIlmDriveX/OptIlm_ModelPredictiveController/OptIlm_ModelPredictiveController.cpp | ronharry/OptIlmDriveX | 01d808fd1ac65a3b862cfd3e7c50f4b5a3d87acc | [
"BSD-4-Clause"
] | 1 | 2020-03-17T15:14:08.000Z | 2020-03-17T15:14:08.000Z | /*********************************************************************
Copyright (c) 2018
Audi Autonomous Driving Cup. 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 ... | 39.73578 | 726 | 0.675194 | [
"model"
] |
0c9ec1a41357613ea8e15052ca065831ee9f4b9e | 13,561 | cpp | C++ | applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Coupled_Evolution/MATRIX_SOLID_INTERPOLATION.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Coupled_Evolution/MATRIX_SOLID_INTERPOLATION.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Coupled_Evolution/MATRIX_SOLID_INTERPOLATION.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | //#####################################################################
// Copyright 2010.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################################################################
// Class MATRIX_SOLID... | 58.96087 | 209 | 0.648404 | [
"mesh",
"object",
"vector"
] |
0cb2257ecdfb9a56d7289d0de13d4e99ead23477 | 1,010 | cpp | C++ | ct_ros_nodes/src/visualizer/LineStripVisualizer.cpp | DrawZeroPoint/ct_ros | 9615eaeeddb56fcba52d5d56fd1d4496637bd687 | [
"BSD-2-Clause"
] | 22 | 2019-11-19T04:48:47.000Z | 2022-03-09T00:49:43.000Z | ct_ros_nodes/src/visualizer/LineStripVisualizer.cpp | DrawZeroPoint/ct_ros | 9615eaeeddb56fcba52d5d56fd1d4496637bd687 | [
"BSD-2-Clause"
] | 2 | 2019-11-15T13:35:22.000Z | 2021-02-10T21:49:15.000Z | ct_ros_nodes/src/visualizer/LineStripVisualizer.cpp | DrawZeroPoint/ct_ros | 9615eaeeddb56fcba52d5d56fd1d4496637bd687 | [
"BSD-2-Clause"
] | 7 | 2019-05-26T14:46:06.000Z | 2021-11-24T04:40:23.000Z | /**
* LineStripVisualizer.cpp
*
* Created on: 8.3.2016
* Author: mgiftthaler@ethz.ch
*/
#include <ct/ros/vis/visualizer/LineStripVisualizer.h>
#include <ct/ros/vis/visualizer/colorMapping.h>
namespace ct {
namespace ros {
void LineStripVisualizer::generateMessages(
std::vector<visualization_msgs::Ma... | 21.956522 | 56 | 0.684158 | [
"vector"
] |
0cb82124eaf3cff14c3fe956b9fddba4b732f6e8 | 7,637 | cpp | C++ | Fracture_Engine/ModuleSceneIntro.cpp | vsRushy/Game_Engine | 88065c8cbd7bb4af10c8fed1fcc5e901f07ca059 | [
"MIT"
] | 1 | 2019-09-24T08:35:48.000Z | 2019-09-24T08:35:48.000Z | Fracture_Engine/ModuleSceneIntro.cpp | vsRushy/Game_Engine | 88065c8cbd7bb4af10c8fed1fcc5e901f07ca059 | [
"MIT"
] | 14 | 2019-10-06T13:00:07.000Z | 2019-11-24T22:48:23.000Z | Fracture_Engine/ModuleSceneIntro.cpp | vsRushy/Game_Engine | 88065c8cbd7bb4af10c8fed1fcc5e901f07ca059 | [
"MIT"
] | null | null | null | #include "GL/glew.h"
#include "MathGeoLib.h"
#include "Application.h"
#include "ModuleSceneIntro.h"
#include "ModuleImporter.h"
#include "P_Cube.h"
#include "P_Sphere.h"
#include "P_Plane.h"
#include "QuadTree.h"
#include "GameObject.h"
#include "Mesh.h"
#include "Texture.h"
#include "PanelScene.h"
ModuleSceneInt... | 22.461765 | 114 | 0.677229 | [
"mesh",
"render",
"object"
] |
0cbad26ca5cbb368fe9d69d5325fb48449ff44cd | 1,223 | hpp | C++ | ABC_Shadow_cpp/Node.hpp | quentinl-c/ABC_Shadow_cpp | d65c188703f98d419f006d29c7d8c39e2e1341a8 | [
"MIT"
] | null | null | null | ABC_Shadow_cpp/Node.hpp | quentinl-c/ABC_Shadow_cpp | d65c188703f98d419f006d29c7d8c39e2e1341a8 | [
"MIT"
] | null | null | null | ABC_Shadow_cpp/Node.hpp | quentinl-c/ABC_Shadow_cpp | d65c188703f98d419f006d29c7d8c39e2e1341a8 | [
"MIT"
] | null | null | null | //
// Node.hpp
// ABC_Shadow_cpp
//
// Created by Quentin on 16/10/2019.
// Copyright © 2019 Quentin. All rights reserved.
//
#ifndef Node_hpp
#define Node_hpp
#include <iostream>
#include <vector>
#include <memory>
#include "Stats.hpp"
using std::pair;
using std::vector;
using std::shared_ptr;
enum class Stat... | 20.04918 | 68 | 0.691742 | [
"vector"
] |
0cbfa6cebdb32e497ed13d4294b03a484ba628fa | 3,898 | cpp | C++ | pj_tflite_edge_dexined/image_processor/image_processor.cpp | Pandinosaurus/play_with_tflite | 929ecd734bff329ee57cbc6474b6b25f4eaf120e | [
"Apache-2.0"
] | 1 | 2022-01-30T15:41:17.000Z | 2022-01-30T15:41:17.000Z | pj_tflite_edge_dexined/image_processor/image_processor.cpp | Lee-Ji-won104/play_with_tflite | a97295867335914e60cc8e80f3490c2bdc40e3bf | [
"Apache-2.0"
] | null | null | null | pj_tflite_edge_dexined/image_processor/image_processor.cpp | Lee-Ji-won104/play_with_tflite | a97295867335914e60cc8e80f3490c2bdc40e3bf | [
"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... | 28.661765 | 185 | 0.664443 | [
"vector"
] |
0cd01cff4ad23d6cd186c0a062a895dbf86e67ce | 1,942 | hpp | C++ | Sources/xPro/xDatabase.hpp | BrandonMFong/xPro | d51ee5b029a1059e01e3ed79b22e7a0e696cdb10 | [
"MIT"
] | 2 | 2020-11-13T18:53:40.000Z | 2021-06-23T08:48:54.000Z | Sources/xPro/xDatabase.hpp | BrandonMFong/xPro | d51ee5b029a1059e01e3ed79b22e7a0e696cdb10 | [
"MIT"
] | 2 | 2021-01-06T00:46:53.000Z | 2021-01-20T00:56:24.000Z | Sources/xPro/xDatabase.hpp | BrandonMFong/xPro | d51ee5b029a1059e01e3ed79b22e7a0e696cdb10 | [
"MIT"
] | 1 | 2021-06-23T08:48:57.000Z | 2021-06-23T08:48:57.000Z | /**
* @file xDatabase.h
* @author Brando BrandonMFong.com
* @brief Should handle all admin stuff
* @version 0.1
* @date 2021-01-23
*
* @copyright Copyright (c) 2021
*
* https://mariadb.com/kb/en/mariadb-connector-c/
*
* Going to use sqlite since it seems easier to integrate
* https://www.tutorialspoint.c... | 20.659574 | 66 | 0.61483 | [
"object"
] |
0cd0288d8efa1c29140707b894ef803296814fe0 | 4,191 | cpp | C++ | contrib/IECoreArnold/src/IECoreArnold/ToArnoldCurvesConverter.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | contrib/IECoreArnold/src/IECoreArnold/ToArnoldCurvesConverter.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | contrib/IECoreArnold/src/IECoreArnold/ToArnoldCurvesConverter.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2011-2012, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 35.218487 | 128 | 0.708423 | [
"vector"
] |
7b49954d4902a3e659a5c0942ac132c98170b790 | 23,067 | hpp | C++ | src/include/others/sdsl/csa_alphabet_strategy.hpp | jamie-jjd/figiss | 23a0975c7333d273901f2f61b49edad67d3e696d | [
"MIT"
] | 20 | 2017-12-26T16:04:18.000Z | 2022-02-09T03:30:13.000Z | src/include/others/sdsl/csa_alphabet_strategy.hpp | jamie-jjd/figiss | 23a0975c7333d273901f2f61b49edad67d3e696d | [
"MIT"
] | 6 | 2018-11-12T15:14:24.000Z | 2021-04-29T14:07:13.000Z | src/include/others/sdsl/csa_alphabet_strategy.hpp | jamie-jjd/figiss | 23a0975c7333d273901f2f61b49edad67d3e696d | [
"MIT"
] | 4 | 2017-11-02T18:00:08.000Z | 2022-02-03T18:37:52.000Z | /* sdsl - succinct data structures library
Copyright (C) 2012 Simon Gog
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, either version 3 of the License, or
(at your option) any la... | 37.752864 | 129 | 0.578532 | [
"vector"
] |
7b4a037f9af73cf2193ff9c0c4e2d031f2a83f75 | 2,407 | cpp | C++ | src/maxwell1D/Solver.cpp | EMinsight/maxwell | 4c8469446b07cfa013845177b57d2815c04fb789 | [
"BSD-3-Clause"
] | null | null | null | src/maxwell1D/Solver.cpp | EMinsight/maxwell | 4c8469446b07cfa013845177b57d2815c04fb789 | [
"BSD-3-Clause"
] | null | null | null | src/maxwell1D/Solver.cpp | EMinsight/maxwell | 4c8469446b07cfa013845177b57d2815c04fb789 | [
"BSD-3-Clause"
] | null | null | null | #include "Solver.h"
#include <fstream>
#include <iostream>
#include <algorithm>
using namespace mfem;
namespace Maxwell1D {
Solver::Solver(const Options& opts, const Mesh& mesh)
{
checkOptionsAreValid(opts, mesh);
mesh_ = mfem::Mesh(mesh, true);
opts_ = opts;
fec_ = std::make_unique<DG_FECollection>(
opts_.... | 22.082569 | 85 | 0.688409 | [
"mesh",
"vector"
] |
7b4d6d1b6a979b5c13fa44d9dc6a867ef640652e | 24,655 | cpp | C++ | fraig/src/cir/cirMgr.cpp | andy0130tw/NTU-DSnP2015 | 38c883db0c94509819f6bd72bbc581bec42e18d7 | [
"MIT"
] | 6 | 2016-10-29T05:50:13.000Z | 2020-02-16T22:20:25.000Z | fraig/src/cir/cirMgr.cpp | andy0130tw/NTU-DSnP2015 | 38c883db0c94509819f6bd72bbc581bec42e18d7 | [
"MIT"
] | 1 | 2016-12-13T20:28:13.000Z | 2016-12-14T12:01:02.000Z | fraig/src/cir/cirMgr.cpp | andy0130tw/NTU-DSnP2015 | 38c883db0c94509819f6bd72bbc581bec42e18d7 | [
"MIT"
] | null | null | null | /****************************************************************************
FileName [ cirMgr.cpp ]
PackageName [ cir ]
Synopsis [ Define cir manager functions ]
Author [ Chung-Yang (Ric) Huang ]
Copyright [ Copyleft(c) 2008-present LaDs(III), GIEE, NTU, Taiwan ]
**************************... | 28.971798 | 98 | 0.511215 | [
"vector"
] |
7b4dface831a05fa3b5395c018cde975e4c087ea | 31,914 | cpp | C++ | src/reco/shaperec/featureextractor/substroke/SubStrokeShapeFeatureExtractor.cpp | bhardwajhp/lipitk-git-repo | def89fffc64394ff310b07bb7775df2564ecea34 | [
"Apache-2.0"
] | null | null | null | src/reco/shaperec/featureextractor/substroke/SubStrokeShapeFeatureExtractor.cpp | bhardwajhp/lipitk-git-repo | def89fffc64394ff310b07bb7775df2564ecea34 | [
"Apache-2.0"
] | null | null | null | src/reco/shaperec/featureextractor/substroke/SubStrokeShapeFeatureExtractor.cpp | bhardwajhp/lipitk-git-repo | def89fffc64394ff310b07bb7775df2564ecea34 | [
"Apache-2.0"
] | null | null | null | /*****************************************************************************************
* Copyright (c) 2006 Hewlett-Packard Development Company, L.P.
* 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
* th... | 30.775313 | 207 | 0.653444 | [
"vector"
] |
7b5b47dce374aea01d1e41aedc9ee0b385f4b178 | 11,955 | cpp | C++ | demo_ASIFT.cpp | reubenhwk/compare_images | 2a2d63753cfa1bbbf474f32888620eb6cbb49b6d | [
"BSD-2-Clause"
] | 8 | 2017-12-11T02:42:52.000Z | 2021-06-09T13:20:37.000Z | demo_ASIFT.cpp | reubenhwk/compare_images | 2a2d63753cfa1bbbf474f32888620eb6cbb49b6d | [
"BSD-2-Clause"
] | null | null | null | demo_ASIFT.cpp | reubenhwk/compare_images | 2a2d63753cfa1bbbf474f32888620eb6cbb49b6d | [
"BSD-2-Clause"
] | 2 | 2015-12-03T11:45:52.000Z | 2017-05-27T12:29:12.000Z | // Copyright (c) 2008-2011, Guoshen Yu <yu@cmap.polytechnique.fr>
// Copyright (c) 2008-2011, Jean-Michel Morel <morel@cmla.ens-cachan.fr>
//
// WARNING:
// This file implements an algorithm possibly linked to the patent
//
// Jean-Michel Morel and Guoshen Yu, Method and device for the invariant
// affine recognition r... | 35.793413 | 114 | 0.591384 | [
"vector"
] |
7b72c91e2409ec205075c0217e547a45f4bdae15 | 3,778 | hpp | C++ | src/sequence_decoder.hpp | lesderid/EtherTerm | 413b2038090751f2b6a00fd298480b8886bfe588 | [
"Zlib"
] | null | null | null | src/sequence_decoder.hpp | lesderid/EtherTerm | 413b2038090751f2b6a00fd298480b8886bfe588 | [
"Zlib"
] | null | null | null | src/sequence_decoder.hpp | lesderid/EtherTerm | 413b2038090751f2b6a00fd298480b8886bfe588 | [
"Zlib"
] | null | null | null | #ifndef SequenceParser_H
#define SequenceParser_H
#include "safe_queue.hpp"
#include "message_queue.hpp"
#include <memory>
#include <string>
#include <vector>
// Forward Deceleration
class Session;
typedef std::shared_ptr<Session> session_ptr;
typedef std::weak_ptr<Session> session_weak_ptr;
/**
* @class SequenceD... | 28.839695 | 95 | 0.670461 | [
"vector"
] |
7b73e39031f0187432dc159243ec577f14b80718 | 26,229 | cpp | C++ | src/kernel/utilities/ssl_plot.cpp | spin-scenario/spin-scenario | 1872b30cb229fd28033181568ffbc800f45d8a7a | [
"Apache-2.0"
] | 12 | 2019-02-26T09:31:38.000Z | 2022-03-20T15:47:03.000Z | src/kernel/utilities/ssl_plot.cpp | spin-scenario/spin-scenario | 1872b30cb229fd28033181568ffbc800f45d8a7a | [
"Apache-2.0"
] | 7 | 2019-04-23T03:44:03.000Z | 2020-11-17T15:23:18.000Z | src/kernel/utilities/ssl_plot.cpp | spin-scenario/spin-scenario | 1872b30cb229fd28033181568ffbc800f45d8a7a | [
"Apache-2.0"
] | 3 | 2020-02-09T02:45:48.000Z | 2021-06-28T09:11:57.000Z | /* Copyright 2019 The Spin-Scenario 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... | 35.254032 | 122 | 0.581532 | [
"object",
"vector",
"3d"
] |
7b80e38c6a643514095f7db1a7af0adcd4754418 | 8,845 | cpp | C++ | LibreSTR/units/UnitPath.cpp | jordsti/LibreSTR | f3ad913d333663211aa55379494aac6c898e079e | [
"MIT"
] | 1 | 2020-07-18T13:18:26.000Z | 2020-07-18T13:18:26.000Z | LibreSTR/units/UnitPath.cpp | jordsti/LibreSTR | f3ad913d333663211aa55379494aac6c898e079e | [
"MIT"
] | null | null | null | LibreSTR/units/UnitPath.cpp | jordsti/LibreSTR | f3ad913d333663211aa55379494aac6c898e079e | [
"MIT"
] | null | null | null | #include "UnitPath.h"
#include <iostream>
UnitPath::UnitPath(StiGame::Point startingPoint) :
start(startingPoint),
position(&startingPoint)
{
}
UnitPath::UnitPath(std::vector<StiGame::Point> points) :
start(points[0])
{
std::cout << "[Debug] UnitPath Creation" << std::endl;
UnitPathNode *current =... | 24.433702 | 116 | 0.481063 | [
"vector"
] |
7b8aa80750b079905cf06badf05db714feefb721 | 853 | cpp | C++ | stl/sortComparator.cpp | 19hkm/algorithms | 6b4494ca9165e77b9c2672d88e8a89838e8eef8f | [
"MIT"
] | null | null | null | stl/sortComparator.cpp | 19hkm/algorithms | 6b4494ca9165e77b9c2672d88e8a89838e8eef8f | [
"MIT"
] | null | null | null | stl/sortComparator.cpp | 19hkm/algorithms | 6b4494ca9165e77b9c2672d88e8a89838e8eef8f | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
class Interval{
public:
int start;
int end;
Interval(int s, int e) {
this->start = s;
this->end = e;
}
};
void printInterval(vector<Interval*> &intVec) {
for(auto e : intVec) {
cout<<e->start<<" "<<e->end<<endl;
}
}
boo... | 20.309524 | 53 | 0.57796 | [
"vector"
] |
7b8ac5ff7c4b64c23dd2d32df27bb29adfc8d7b1 | 10,736 | cpp | C++ | mdc/src/v20200828/model/FlowSRTInfo.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | 1 | 2022-01-27T09:27:34.000Z | 2022-01-27T09:27:34.000Z | mdc/src/v20200828/model/FlowSRTInfo.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | null | null | null | mdc/src/v20200828/model/FlowSRTInfo.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 30.072829 | 151 | 0.71209 | [
"model"
] |
7b92f5be926454a4b84c5701ffb7cc2f92182749 | 16,705 | cpp | C++ | src/Numerics/functions_nonunity.cpp | microsoft/pSDCA | 0933d4dc27c21aafa204ee28b3dd21236a4e8b7a | [
"MIT"
] | null | null | null | src/Numerics/functions_nonunity.cpp | microsoft/pSDCA | 0933d4dc27c21aafa204ee28b3dd21236a4e8b7a | [
"MIT"
] | null | null | null | src/Numerics/functions_nonunity.cpp | microsoft/pSDCA | 0933d4dc27c21aafa204ee28b3dd21236a4e8b7a | [
"MIT"
] | 2 | 2020-09-04T04:31:36.000Z | 2021-11-10T11:28:01.000Z | #include <assert.h>
#include <math.h>
#include <omp.h>
#include <cstdint>
// OpenMP 3.0 supports unsigned for-loop iterator, so can replace std::int64_t by size_t
#include "functions.h"
using std::int64_t;
namespace randalgms
{
// mse for linear regression (1/n)*||X*w - y||^2 where n is length of y
fl... | 29.153578 | 96 | 0.566058 | [
"vector"
] |
7b97e4bdd4d6a29c00d4ae23c26137e52fcf0fa2 | 5,825 | cpp | C++ | Server/server/RenderServer.cpp | voldemarz/OppositeRenderer | 691817c5ea67b0f5b81c1a2680e07e0e8cd05f13 | [
"MIT"
] | 5 | 2018-05-10T06:16:57.000Z | 2021-11-19T11:40:43.000Z | Server/server/RenderServer.cpp | voldemarz/OppositeRenderer | 691817c5ea67b0f5b81c1a2680e07e0e8cd05f13 | [
"MIT"
] | null | null | null | Server/server/RenderServer.cpp | voldemarz/OppositeRenderer | 691817c5ea67b0f5b81c1a2680e07e0e8cd05f13 | [
"MIT"
] | 2 | 2018-02-18T12:36:12.000Z | 2021-11-19T01:52:53.000Z | /*
* Copyright (c) 2013 Opposite Renderer
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
#include "RenderServer.hxx"
#include "ComputeDevice.h"
#include <QTcpSocket>
#include "clientserver/RenderServerRenderRequest.h"
#include <QT... | 34.264706 | 159 | 0.733047 | [
"render",
"object"
] |
7b9ac7677f1d59c571c1981e3cfe4c902f559124 | 3,460 | cpp | C++ | client/OAIEzsignfolder_getFormsData_v1_Response_mPayload.cpp | ezmaxinc/eZmax-SDK-cpp-qt5-client | 70cc5ea2bccba1a7c192f88b15bee8225dbb3d01 | [
"MIT"
] | null | null | null | client/OAIEzsignfolder_getFormsData_v1_Response_mPayload.cpp | ezmaxinc/eZmax-SDK-cpp-qt5-client | 70cc5ea2bccba1a7c192f88b15bee8225dbb3d01 | [
"MIT"
] | null | null | null | client/OAIEzsignfolder_getFormsData_v1_Response_mPayload.cpp | ezmaxinc/eZmax-SDK-cpp-qt5-client | 70cc5ea2bccba1a7c192f88b15bee8225dbb3d01 | [
"MIT"
] | null | null | null | /**
* eZmax API Definition (Full)
* This API expose all the functionnalities for the eZmax and eZsign applications.
*
* The version of the OpenAPI document: 1.1.7
* Contact: support-api@ezmax.ca
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-gener... | 33.921569 | 144 | 0.789595 | [
"object"
] |
7ba15b443ecd15b8ab7c8798f2f5a0b4eff39a2c | 3,927 | cxx | C++ | src/vw/Camera/tests/TestCAHVOREModel.cxx | maxerbubba/visionworkbench | b06ba0597cd3864bb44ca52671966ca580c02af1 | [
"Apache-2.0"
] | 318 | 2015-01-02T16:37:34.000Z | 2022-03-17T07:12:20.000Z | src/vw/Camera/tests/TestCAHVOREModel.cxx | maxerbubba/visionworkbench | b06ba0597cd3864bb44ca52671966ca580c02af1 | [
"Apache-2.0"
] | 39 | 2015-07-30T22:22:42.000Z | 2021-03-23T16:11:55.000Z | src/vw/Camera/tests/TestCAHVOREModel.cxx | maxerbubba/visionworkbench | b06ba0597cd3864bb44ca52671966ca580c02af1 | [
"Apache-2.0"
] | 135 | 2015-01-19T00:57:20.000Z | 2022-03-18T13:51:40.000Z | // __BEGIN_LICENSE__
// Copyright (c) 2006-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NASA Vision Workbench is licensed under the Apache License,
// Version 2.0 (the "License"); you may not use this f... | 39.666667 | 76 | 0.608607 | [
"vector"
] |
7baa2529ab0c6dfe7ebc50be73b006ffa6154638 | 4,242 | hpp | C++ | aero-overlay/include/render/Font.hpp | ALEHACKsp/aero-overlay | d3b6bf101855085af568a0bd35ef4241a71c14ac | [
"MIT"
] | 10 | 2020-06-25T18:16:23.000Z | 2022-01-20T06:49:11.000Z | aero-overlay/include/render/Font.hpp | ALEHACKsp/aero-overlay | d3b6bf101855085af568a0bd35ef4241a71c14ac | [
"MIT"
] | 1 | 2020-11-18T18:04:13.000Z | 2020-12-12T10:21:50.000Z | Aero/include/render/Font.hpp | 70RMUND/YaESP-BFV | e63c87599ae0b501403c01bdcd04bf7272bee713 | [
"MIT"
] | 12 | 2020-06-26T13:56:07.000Z | 2022-01-20T08:09:44.000Z | #pragma once
#ifndef REACTIION_AERO_OVERLAY_FONT_HPP
#define REACTIION_AERO_OVERLAY_FONT_HPP
#include "../stdafx.hpp"
namespace render {
class Font
{
public:
///-------------------------------------------------------------------------------------------------
/// Constructor.
///
/// @author ReactiioN
... | 28.662162 | 104 | 0.330033 | [
"render",
"object"
] |
7bac763645bd7c171e6256a45506a2a1a094e828 | 6,637 | cpp | C++ | Graph/MST/Prims/hackerranksubmission.cpp | UltraProton/Placement-Prepration | cc70f174c4410c254ce0469737a884fffdc81164 | [
"MIT"
] | null | null | null | Graph/MST/Prims/hackerranksubmission.cpp | UltraProton/Placement-Prepration | cc70f174c4410c254ce0469737a884fffdc81164 | [
"MIT"
] | 3 | 2020-05-08T18:02:51.000Z | 2020-05-09T08:37:35.000Z | Graph/MST/Prims/hackerranksubmission.cpp | UltraProton/PlacementPrep | cc70f174c4410c254ce0469737a884fffdc81164 | [
"MIT"
] | null | null | null | //https://www.hackerrank.com/challenges/primsmstsub/problem
#include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
//node to be inserted in the priority queue
class node{
public:
int key;
int identity;
//default constructor
node(){};
node(int identity, int key);
... | 22.886207 | 123 | 0.593792 | [
"vector"
] |
7bb717f1f580e344bae64aa9950a5d6457fc45c7 | 4,410 | cpp | C++ | Game.cpp | koadma/robotization-dilemma | e7ecdb669346f39490de29d55bac99e25f7ab85f | [
"MIT"
] | 1 | 2017-02-12T13:23:24.000Z | 2017-02-12T13:23:24.000Z | Game.cpp | koadma/robotization-dilemma | e7ecdb669346f39490de29d55bac99e25f7ab85f | [
"MIT"
] | 1 | 2017-02-15T23:25:49.000Z | 2017-02-16T20:19:30.000Z | Game.cpp | koadma/robotization-dilemma | e7ecdb669346f39490de29d55bac99e25f7ab85f | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdlib>
#include <vector>
#include <ctime>
#include <cmath>
#include <algorithm>
#include <utility>
#include "WinManager.h"
#include "helperFunctions.h"
#include "constants.h"
#include "Point.h"
#include "Ship.h"
#include "Game.h"
using namespace std;
void Game::askToContinue(int nextPl... | 20.801887 | 94 | 0.564626 | [
"vector"
] |
7bbc468d8213252e08ff79087b8e1619df9361c7 | 18,265 | cpp | C++ | src/add-ons/decorators/WinDecorator/WinDecorator.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/add-ons/decorators/WinDecorator/WinDecorator.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/add-ons/decorators/WinDecorator/WinDecorator.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2009-2014 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* DarkWyrm, bpmagic@columbus.rr.com
* Adrien Destugues, pulkomandy@gmail.com
* John Scipione, jscipione@gmail.com
*/
/*! Decorator resembling Windows 95 */
#include "WinDecorator.h"
#... | 23.969816 | 83 | 0.715357 | [
"object"
] |
7bc124aca010ca856cac7b63d969462a5f3dca63 | 14,541 | cpp | C++ | samplecode/MarkedObjects/Source/MarkedObject.cpp | btempleton/sg-aics3mac-plugins | e5332b11ef8ce03a7e842c9df3fe1ce9145c0b67 | [
"Intel",
"Unlicense"
] | 1 | 2021-10-09T18:23:44.000Z | 2021-10-09T18:23:44.000Z | samplecode/MarkedObjects/Source/MarkedObject.cpp | btempleton/sg-aics3mac-plugins | e5332b11ef8ce03a7e842c9df3fe1ce9145c0b67 | [
"Intel",
"Unlicense"
] | null | null | null | samplecode/MarkedObjects/Source/MarkedObject.cpp | btempleton/sg-aics3mac-plugins | e5332b11ef8ce03a7e842c9df3fe1ce9145c0b67 | [
"Intel",
"Unlicense"
] | null | null | null | //========================================================================================
//
// $File: //ai/ai13/devtech/sdk/public/samplecode/MarkedObjects/Source/MarkedObject.cpp $
//
// $Revision: #6 $
//
// Copyright 1987-2007 Adobe Systems Incorporated. All rights reserved.
//
// NOTICE: Adobe permits yo... | 23.080952 | 113 | 0.691287 | [
"vector"
] |
7bc514d5d7530a2d3a4ff8f1e03b64f94b6e56ec | 20,405 | cpp | C++ | lib/djvGL/Mesh.cpp | belzecue/DJV | 94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0 | [
"BSD-3-Clause"
] | 456 | 2018-10-06T00:07:14.000Z | 2022-03-31T06:14:22.000Z | lib/djvGL/Mesh.cpp | belzecue/DJV | 94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0 | [
"BSD-3-Clause"
] | 438 | 2018-10-31T15:05:51.000Z | 2022-03-31T09:01:24.000Z | lib/djvGL/Mesh.cpp | belzecue/DJV | 94fb63a2f56cc0c41ab5d518ef9f2e0590c295c0 | [
"BSD-3-Clause"
] | 54 | 2018-10-29T10:18:36.000Z | 2022-03-23T06:56:11.000Z | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2004-2020 Darby Johnston
// All rights reserved.
#include <djvGL/Mesh.h>
#include <djvGeom/TriangleMesh.h>
#include <djvMath/Math.h>
#include <array>
#include <sstream>
//#pragma optimize("", off)
using namespace djv::Core;
namespace djv
{
namespace G... | 43.787554 | 128 | 0.470669 | [
"mesh",
"vector"
] |
7bc9438fbff57c5d580fb98a8d844c6e69d5762a | 4,964 | cpp | C++ | src/P2P/Seed/HandShake.cpp | Fookdies301/GrinPlusPlus | 981a99af0ae04633afbd02666894b5c199e06339 | [
"MIT"
] | 135 | 2018-12-17T15:38:16.000Z | 2022-03-01T05:38:29.000Z | src/P2P/Seed/HandShake.cpp | Fookdies301/GrinPlusPlus | 981a99af0ae04633afbd02666894b5c199e06339 | [
"MIT"
] | 185 | 2018-12-21T13:56:29.000Z | 2022-03-23T14:41:46.000Z | src/P2P/Seed/HandShake.cpp | Fookdies301/GrinPlusPlus | 981a99af0ae04633afbd02666894b5c199e06339 | [
"MIT"
] | 49 | 2018-12-23T12:05:51.000Z | 2022-03-26T14:24:49.000Z | #include "HandShake.h"
#include "../Messages/HandMessage.h"
#include "../Messages/ShakeMessage.h"
#include "../Messages/BanReasonMessage.h"
#include "../ConnectionManager.h"
#include <Core/Exceptions/ProtocolException.h>
#include <Crypto/CSPRNG.h>
#include <Common/Logger.h>
static const uint64_t SELF_NONCE = CSPRNG:... | 35.457143 | 106 | 0.709307 | [
"vector"
] |
dcf43dd660f59f38944ee62ad5e88c00c6d7232e | 8,097 | cpp | C++ | Bin/DemoProjects/Tanks/Src/tankclient.cpp | ENgineE777/OakEngine | 6890fc89a0e9d151e7a0bcc1c276c13594616e9a | [
"Zlib"
] | 13 | 2020-12-02T02:13:29.000Z | 2022-03-11T06:14:54.000Z | Bin/DemoProjects/Tanks/Src/tankclient.cpp | ENgineE777/OakEngine | 6890fc89a0e9d151e7a0bcc1c276c13594616e9a | [
"Zlib"
] | null | null | null | Bin/DemoProjects/Tanks/Src/tankclient.cpp | ENgineE777/OakEngine | 6890fc89a0e9d151e7a0bcc1c276c13594616e9a | [
"Zlib"
] | null | null | null | #include "tankclient.h"
#include "Root/Root.h"
namespace Oak
{
CLASSREG(SceneEntity, TankClient, "TankClient")
META_DATA_DESC(TankClient)
BASE_SCENE_ENTITY_PROP(TankClient)
FILENAME_PROP(TankClient, base_model_name, "", "Prop", "BaseModel")
FILENAME_PROP(TankClient, tower_model_name, "", "Prop", "TowerModel")... | 30.670455 | 214 | 0.646412 | [
"object",
"transform"
] |
dcfbfb28a11d83e4a4b0ae2bb16a56fb35f697f5 | 830 | cpp | C++ | Leetcode/375_getMoneyAmount.cpp | ZZh2333/ubuntuProjectFiles | ded3d74e040bf6683b3b67a6956eb6fbe5805155 | [
"MIT"
] | null | null | null | Leetcode/375_getMoneyAmount.cpp | ZZh2333/ubuntuProjectFiles | ded3d74e040bf6683b3b67a6956eb6fbe5805155 | [
"MIT"
] | null | null | null | Leetcode/375_getMoneyAmount.cpp | ZZh2333/ubuntuProjectFiles | ded3d74e040bf6683b3b67a6956eb6fbe5805155 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
int getMoneyAmount(int n) {
vector<vector<int>> f(n+1,vector<int>(n+1));
for (int i = n - 1; i >= 1; i--) {
for (int j = i + 1; j <= n; j++) {
int minCost = INT_MAX;
for (int k = i; k ... | 23.714286 | 65 | 0.366265 | [
"vector"
] |
0d02a9df5af2f4d31647ac0cb1afddbf052ea902 | 1,380 | cpp | C++ | 00_FILES/6th task/main.cpp | CrispenGari/cool-cpp | bcbf9e0df7af07f8b12aa554fd15d977ecb47f60 | [
"MIT"
] | null | null | null | 00_FILES/6th task/main.cpp | CrispenGari/cool-cpp | bcbf9e0df7af07f8b12aa554fd15d977ecb47f60 | [
"MIT"
] | null | null | null | 00_FILES/6th task/main.cpp | CrispenGari/cool-cpp | bcbf9e0df7af07f8b12aa554fd15d977ecb47f60 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <afxres.h>
#include <fstream>
#include <sstream>
#include <vector>
using namespace std;
//#include <Crispen.h>
// #include <sqlite3.h/sqlite3>
#include <iostream>
#include <cstdlib>
#include <fstream>
/*6. Write a function in C++ to pr... | 27.6 | 129 | 0.621739 | [
"vector",
"transform"
] |
0d1122c4bca0c89a35fce2abeddb6028874d7eb8 | 8,915 | cpp | C++ | src/RcsCore/Rcs_resourcePath.cpp | famura/Rcs | 4f8b997d2649a2cd7a1945ea079e07a71ee215fc | [
"BSD-3-Clause"
] | 37 | 2018-03-20T12:28:45.000Z | 2022-02-28T08:39:32.000Z | src/RcsCore/Rcs_resourcePath.cpp | famura/Rcs | 4f8b997d2649a2cd7a1945ea079e07a71ee215fc | [
"BSD-3-Clause"
] | 19 | 2018-04-19T08:49:53.000Z | 2021-06-11T09:47:09.000Z | src/RcsCore/Rcs_resourcePath.cpp | famura/Rcs | 4f8b997d2649a2cd7a1945ea079e07a71ee215fc | [
"BSD-3-Clause"
] | 15 | 2018-03-28T11:52:39.000Z | 2022-02-04T19:34:01.000Z | /*******************************************************************************
Copyright (c) 2017, Honda Research Institute Europe GmbH
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of sour... | 26.691617 | 80 | 0.504094 | [
"vector"
] |
0d28f36cf5379e6e3198a4601893cba65825c39b | 24,780 | cpp | C++ | anphon/dynamical.cpp | dlnguyen/alamode | f99d333262489f28a3ef4838dfbe3147dc239261 | [
"MIT"
] | null | null | null | anphon/dynamical.cpp | dlnguyen/alamode | f99d333262489f28a3ef4838dfbe3147dc239261 | [
"MIT"
] | null | null | null | anphon/dynamical.cpp | dlnguyen/alamode | f99d333262489f28a3ef4838dfbe3147dc239261 | [
"MIT"
] | null | null | null | /*
dynamical.cpp
Copyright (c) 2014, 2015, 2016 Terumasa Tadano
This file is distributed under the terms of the MIT license.
Please see the file 'LICENCE.txt' in the root directory
or http://opensource.org/licenses/mit-license.php for information.
*/
#include "mpi_common.h"
#include "dynamical.h"
#include "sys... | 29.187279 | 121 | 0.488701 | [
"vector"
] |
0d2c581fa827fc416ee21f7487ee8cb1668c1ea0 | 1,194 | hpp | C++ | libs/cg/include/sge/cg/parameter/vector/set.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/cg/include/sge/cg/parameter/vector/set.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/cg/include/sge/cg/parameter/vector/set.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// 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 SGE_CG_PARAMETER_VECTOR_SET_HPP_INCLUDED
#define SGE_CG_PARAMETER_VECTOR_SET_HPP_INCLUDED
... | 31.421053 | 91 | 0.739531 | [
"object",
"vector"
] |
0d2f10be6923bdb867d638778261d63bc90dc704 | 6,562 | cc | C++ | oasys_source/test/timer-test.cc | lauramazzuca21/DTNME | c97b598b09a8c8e97c2e4136879d9f0e157c8df7 | [
"Apache-2.0"
] | 7 | 2021-02-11T16:54:24.000Z | 2021-08-20T06:15:30.000Z | test/timer-test.cc | delay-tolerant-networking/oasys | ec3f11d8a1e41c05ecbc275b9f4dfc160d69b420 | [
"Apache-2.0"
] | 3 | 2020-09-18T13:48:53.000Z | 2021-05-27T18:28:14.000Z | oasys_source/test/timer-test.cc | lauramazzuca21/DTNME | c97b598b09a8c8e97c2e4136879d9f0e157c8df7 | [
"Apache-2.0"
] | 10 | 2020-09-26T05:08:40.000Z | 2022-01-25T12:57:55.000Z | /*
* Copyright 2004-2006 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 24.485075 | 85 | 0.59616 | [
"vector"
] |
0d3204bad350116196b9d70ad48049f189018fb4 | 4,284 | cpp | C++ | PuzzleModern/ParamsFlyout.xaml.cpp | x-sheep/puzzles | 86c38672865a6e2acb3386c0f3b12954a4c2a257 | [
"MIT"
] | 5 | 2017-05-02T08:53:03.000Z | 2020-12-07T02:04:15.000Z | PuzzleModern/ParamsFlyout.xaml.cpp | x-sheep/puzzles | 86c38672865a6e2acb3386c0f3b12954a4c2a257 | [
"MIT"
] | 7 | 2019-07-18T00:06:02.000Z | 2022-02-20T20:10:47.000Z | PuzzleModern/ParamsFlyout.xaml.cpp | x-sheep/puzzles | 86c38672865a6e2acb3386c0f3b12954a4c2a257 | [
"MIT"
] | null | null | null | //
// ParamsFlyout.xaml.cpp
// Implementation of the ParamsFlyout class
//
#include "pch.h"
#include "ParamsFlyout.xaml.h"
using namespace PuzzleModern;
using namespace PuzzleCommon;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Wind... | 26.121951 | 103 | 0.678571 | [
"object"
] |
0d38863db3619af46d4795a81c174c42c897e2ae | 704 | hpp | C++ | engine/modeling/BrickGenerator/BrickGenerator.hpp | PiroDev/graphics-engine | bf1e5f57878c02421e2e8a787d94ce6074637402 | [
"Apache-2.0"
] | null | null | null | engine/modeling/BrickGenerator/BrickGenerator.hpp | PiroDev/graphics-engine | bf1e5f57878c02421e2e8a787d94ce6074637402 | [
"Apache-2.0"
] | null | null | null | engine/modeling/BrickGenerator/BrickGenerator.hpp | PiroDev/graphics-engine | bf1e5f57878c02421e2e8a787d94ce6074637402 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "modeling/GeometryModel/GeometryModel.hpp"
struct BrickGenerationParams {
unsigned wSections, lSections, hSections;
float sectionLen;
unsigned cylinderFacesCount;
};
class BrickGenerator {
public:
GeometryModel operator()(const BrickGenerationParams ¶ms);
private:
std::... | 23.466667 | 87 | 0.728693 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.