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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
34508de8d8933af064f1d7066adfcb68ff31a767 | 2,380 | cpp | C++ | app/anax/anaxBenchmarkRunner.cpp | abeimler/ecs_benchmark | 539b243f6e5faf2c4af9fc2da6dca4742978f386 | [
"MIT"
] | 44 | 2017-03-01T15:47:50.000Z | 2022-03-25T16:39:11.000Z | app/anax/anaxBenchmarkRunner.cpp | abeimler/ecs_benchmark | 539b243f6e5faf2c4af9fc2da6dca4742978f386 | [
"MIT"
] | 7 | 2017-03-27T19:39:33.000Z | 2022-02-01T02:20:43.000Z | app/anax/anaxBenchmarkRunner.cpp | abeimler/ecs_benchmark | 539b243f6e5faf2c4af9fc2da6dca4742978f386 | [
"MIT"
] | 11 | 2016-12-02T03:07:50.000Z | 2021-03-20T15:53:21.000Z | #include <benchpress/benchpress.hpp>
#include <anax/AnaxBenchmark.h>
#include <BaseBenchmark.h>
namespace anax_benchmark {
BENCHMARK("anax create destroy entity with components",
[](benchpress::context *ctx) {
EntityManager entities;
ctx->reset_timer();
for (size_t i =... | 28 | 79 | 0.60084 | [
"vector"
] |
345204a1ea07a6c9e6cec943fc4c33b1c74ea1d3 | 6,631 | cpp | C++ | drivers/gps_mocap.cpp | jlecoeur/MAVRIC_Library | 56281851da7541d5c1199490a8621d7f18482be1 | [
"BSD-3-Clause"
] | 12 | 2016-07-12T10:26:47.000Z | 2021-12-14T10:03:11.000Z | drivers/gps_mocap.cpp | jlecoeur/MAVRIC_Library | 56281851da7541d5c1199490a8621d7f18482be1 | [
"BSD-3-Clause"
] | 183 | 2015-01-22T12:35:18.000Z | 2017-06-09T10:11:26.000Z | drivers/gps_mocap.cpp | jlecoeur/MAVRIC_Library | 56281851da7541d5c1199490a8621d7f18482be1 | [
"BSD-3-Clause"
] | 25 | 2015-02-03T15:15:48.000Z | 2021-12-14T08:55:04.000Z | /*******************************************************************************
* Copyright (c) 2009-2016, MAV'RIC Development Team
* 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. R... | 26.846154 | 99 | 0.603076 | [
"object"
] |
345a0e7750a2d59633bcfd5848bb1a84d41312f8 | 582 | cpp | C++ | #0049.group-anagrams.cpp | hosomi/LeetCode | aba8fae8e37102b33dba8fd4adf1f018c395a4db | [
"MIT"
] | null | null | null | #0049.group-anagrams.cpp | hosomi/LeetCode | aba8fae8e37102b33dba8fd4adf1f018c395a4db | [
"MIT"
] | null | null | null | #0049.group-anagrams.cpp | hosomi/LeetCode | aba8fae8e37102b33dba8fd4adf1f018c395a4db | [
"MIT"
] | null | null | null | class Solution {
public:
vector<vector<string>> groupAnagrams(vector<string>& strs) {
vector<vector<string>> result;
unordered_map<string, vector<int>> m;
int size = strs.size();
string s;
for (int i = 0; i < size; ++i) {
s = strs[i];
sort(begin(s), e... | 23.28 | 64 | 0.457045 | [
"vector"
] |
345e2ba933293cc29ded298cf58e6002beead01d | 8,228 | cpp | C++ | experiments/gamma.cpp | noeld/cpp | 572a145f8c79f7292b7b0611822ed34792df4e9c | [
"Unlicense"
] | null | null | null | experiments/gamma.cpp | noeld/cpp | 572a145f8c79f7292b7b0611822ed34792df4e9c | [
"Unlicense"
] | null | null | null | experiments/gamma.cpp | noeld/cpp | 572a145f8c79f7292b7b0611822ed34792df4e9c | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <tuple>
#include <complex>
#include <array>
#include <vector>
#include <memory>
#include <numeric>
#include <string>
#include <boost/format.hpp>
using namespace std;
using myfloat_t = double;
using c_t = complex<myfloat_t>;
template<typename T>
struct Rect {
Rect(co... | 28.569444 | 149 | 0.503525 | [
"render",
"vector",
"transform"
] |
345fd9db36a6cd9a863b79f52a6487998ec675ee | 12,957 | cpp | C++ | SGPLibraryCode/modules/sgp_render/opengl/sgp_OpenGLGrassRenderer.cpp | phoenixzz/VoronoiMapGen | 5afd852f8bb0212baba9d849178eb135f62df903 | [
"MIT"
] | 11 | 2017-03-03T03:31:15.000Z | 2019-03-01T17:09:12.000Z | SGPLibraryCode/modules/sgp_render/opengl/sgp_OpenGLGrassRenderer.cpp | phoenixzz/VoronoiMapGen | 5afd852f8bb0212baba9d849178eb135f62df903 | [
"MIT"
] | null | null | null | SGPLibraryCode/modules/sgp_render/opengl/sgp_OpenGLGrassRenderer.cpp | phoenixzz/VoronoiMapGen | 5afd852f8bb0212baba9d849178eb135f62df903 | [
"MIT"
] | 2 | 2017-03-03T03:31:17.000Z | 2021-05-27T21:50:43.000Z |
COpenGLRenderDevice* COpenGLGrassRenderer::Sorter::m_pRD = NULL;
int COpenGLGrassRenderer::Sorter::compareElements( SGPVertex_GRASS_Cluster first, SGPVertex_GRASS_Cluster second ) noexcept
{
float firstDistance = -(m_pRD->getOpenGLCamera()->m_CameraPos - Vector4D(first.vPosition[0], first.vPosition[1], first.vPositi... | 46.275 | 234 | 0.772247 | [
"render"
] |
34636e49980cb6f6ac321c7de20751b714b2bbb3 | 17,919 | cc | C++ | cpp/src/gandiva/interval_holder_test.cc | davisusanibar/arrow | 07ac9fd86c6225f493943e4ab0ff35b0fdbfb2ae | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 1 | 2021-12-03T13:50:32.000Z | 2021-12-03T13:50:32.000Z | cpp/src/gandiva/interval_holder_test.cc | davisusanibar/arrow | 07ac9fd86c6225f493943e4ab0ff35b0fdbfb2ae | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 3 | 2022-02-09T03:24:57.000Z | 2022-02-14T22:26:27.000Z | cpp/src/gandiva/interval_holder_test.cc | davisusanibar/arrow | 07ac9fd86c6225f493943e4ab0ff35b0fdbfb2ae | [
"CC-BY-3.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 1 | 2020-08-27T22:54:09.000Z | 2020-08-27T22:54:09.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 35.553571 | 89 | 0.757297 | [
"vector"
] |
3463a7f841daa5ed2cf3f24c9ee626e88cf5ed42 | 5,960 | hpp | C++ | SU2-Quantum/Common/include/interface_interpolation/CRadialBasisFunction.hpp | Agony5757/SU2-Quantum | 16e7708371a597511e1242f3a7581e8c4187f5b2 | [
"Apache-2.0"
] | null | null | null | SU2-Quantum/Common/include/interface_interpolation/CRadialBasisFunction.hpp | Agony5757/SU2-Quantum | 16e7708371a597511e1242f3a7581e8c4187f5b2 | [
"Apache-2.0"
] | null | null | null | SU2-Quantum/Common/include/interface_interpolation/CRadialBasisFunction.hpp | Agony5757/SU2-Quantum | 16e7708371a597511e1242f3a7581e8c4187f5b2 | [
"Apache-2.0"
] | 1 | 2021-12-03T06:40:08.000Z | 2021-12-03T06:40:08.000Z | /*!
* \file CRadialBasisFunction.hpp
* \brief Radial basis function interpolation.
* \author Joel Ho, P. Gomes
* \version 7.0.6 "Blackbird"
*
* SU2 Project Website: https://su2code.github.io
*
* The SU2 Project is maintained by the SU2 Foundation
* (http://su2foundation.org)
*
* Copyright 2012-2020, SU2 Con... | 42.571429 | 113 | 0.694295 | [
"geometry",
"vector"
] |
3466abfd61da707163756585862f84a18ce44d58 | 406 | cpp | C++ | src/main.cpp | Roboy/roboy_realsense | 7bc00290d02d456cd210b8614731a1534a5b5065 | [
"BSD-3-Clause"
] | 3 | 2019-05-12T08:36:02.000Z | 2019-11-14T01:50:51.000Z | src/main.cpp | Roboy/roboy_realsense | 7bc00290d02d456cd210b8614731a1534a5b5065 | [
"BSD-3-Clause"
] | 1 | 2019-07-26T11:05:17.000Z | 2021-02-01T09:14:38.000Z | src/main.cpp | Roboy/roboy_realsense | 7bc00290d02d456cd210b8614731a1534a5b5065 | [
"BSD-3-Clause"
] | 3 | 2019-01-08T10:43:05.000Z | 2021-09-13T05:37:43.000Z | #include "roboy_realsense/roboyRealsense.hpp"
int main(int argc, char* argv[])
{
if (!ros::isInitialized()) {
int argc = 0;
char **argv = NULL;
ros::init(argc, argv, "roboyRealsense");
}
RoboyRealsense realsense;
// vector<int> arucoIDs = {233,553,627,628,1010,153,292,62};
// ... | 22.555556 | 63 | 0.623153 | [
"vector"
] |
3468582c02c4a29e97a0c274b4dfd3aef4f8ef62 | 376 | cpp | C++ | modules/recognition/src/recognition_pipeline.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 17 | 2015-11-16T14:21:10.000Z | 2020-11-09T02:57:33.000Z | modules/recognition/src/recognition_pipeline.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 35 | 2015-07-27T15:04:43.000Z | 2019-08-22T10:52:35.000Z | modules/recognition/src/recognition_pipeline.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 18 | 2015-08-06T09:26:27.000Z | 2020-09-03T01:31:00.000Z | #include <pcl/impl/instantiate.hpp>
#include <v4r/recognition/recognition_pipeline.h>
namespace v4r
{
template<typename PointT>
std::vector<std::pair<std::string,float> > RecognitionPipeline<PointT>::elapsed_time_;
#define PCL_INSTANTIATE_RecognitionPipeline(T) template class V4R_EXPORTS RecognitionPipeline<T>;
PCL_... | 26.857143 | 97 | 0.81383 | [
"vector"
] |
346c4585a2409056601b07f2373ff228fd7dd7c7 | 6,606 | cpp | C++ | dev/Gems/WhiteBox/Code/Tests/WhiteBoxComponentTest.cpp | brianherrera/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Gems/WhiteBox/Code/Tests/WhiteBoxComponentTest.cpp | ArchitectureStudios/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Gems/WhiteBox/Code/Tests/WhiteBoxComponentTest.cpp | ArchitectureStudios/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license belo... | 43.460526 | 118 | 0.733727 | [
"mesh",
"vector",
"transform"
] |
34750803af5388b1a1095907d8c95aee4afe5a7d | 2,939 | hpp | C++ | ql/experimental/models/cclgmpiecewise.hpp | universe1987/QuantLib | bbb0145aff285853755b9f6ed013f53a41163acb | [
"BSD-3-Clause"
] | 4 | 2016-03-28T15:05:23.000Z | 2020-02-17T23:05:57.000Z | ql/experimental/models/cclgmpiecewise.hpp | universe1987/QuantLib | bbb0145aff285853755b9f6ed013f53a41163acb | [
"BSD-3-Clause"
] | 1 | 2015-02-02T20:32:43.000Z | 2015-02-02T20:32:43.000Z | ql/experimental/models/cclgmpiecewise.hpp | pcaspers/quantlib | bbb0145aff285853755b9f6ed013f53a41163acb | [
"BSD-3-Clause"
] | 10 | 2015-01-26T14:50:24.000Z | 2015-10-23T07:41:30.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2015 Peter Caspers
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/o... | 34.174419 | 80 | 0.700919 | [
"vector"
] |
3477288a0fb6802479eb816c4c10bfa1f44a6107 | 104,612 | cpp | C++ | src/gl.cpp | Romejanic/node-game-kit | 5cf375200c4ab2dfe1fad0f9a4e69cad74a15723 | [
"MIT"
] | 1 | 2020-11-28T01:39:05.000Z | 2020-11-28T01:39:05.000Z | src/gl.cpp | Romejanic/node-game-kit | 5cf375200c4ab2dfe1fad0f9a4e69cad74a15723 | [
"MIT"
] | 1 | 2021-08-31T19:57:18.000Z | 2021-08-31T19:57:18.000Z | src/gl.cpp | Romejanic/node-game-kit | 5cf375200c4ab2dfe1fad0f9a4e69cad74a15723 | [
"MIT"
] | null | null | null | /*
* ====================== WARNING ========================
* This file is (mostly) autogenerated. It should NOT be edited
* unless there are errors to fix or something has gone wrong.
*
* Instead, you should run:
* npm run gen-src
*
* to automatically regenerate this file based on the associated
* header ... | 62.981337 | 139 | 0.85385 | [
"object"
] |
3477bbfca326285e78c373a4bd725e93f3b397dd | 2,063 | cpp | C++ | Solutions to exercises/Ch21/Ch21 Soln 4/OrderDetailsSet.cpp | salomarx/Visual_studio_2008_for_C_plus | 5ff62b7e7f6232df38152390cc56c2d394567cab | [
"MIT"
] | null | null | null | Solutions to exercises/Ch21/Ch21 Soln 4/OrderDetailsSet.cpp | salomarx/Visual_studio_2008_for_C_plus | 5ff62b7e7f6232df38152390cc56c2d394567cab | [
"MIT"
] | null | null | null | Solutions to exercises/Ch21/Ch21 Soln 4/OrderDetailsSet.cpp | salomarx/Visual_studio_2008_for_C_plus | 5ff62b7e7f6232df38152390cc56c2d394567cab | [
"MIT"
] | null | null | null | // OrderDetailsSet.cpp : implementation of the COrderDetailsSet class
//
#include "stdafx.h"
#include "DBSimpleUpdate.h"
#include "OrderDetailsSet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// COrderDetailsSet implementation
// code generated on 8 October 2005, 20:05
IMPLEMENT_DYNAMIC(COrderDetailsSet, CRecord... | 28.260274 | 164 | 0.729035 | [
"model"
] |
34799a21c30ec1cbbbe9f7a9f3231033154570af | 8,106 | cpp | C++ | src/mif/application/config/json.cpp | paceholder/mif | ff3c18f577048c94887220bb92477ce102f01599 | [
"MIT"
] | 4 | 2018-03-26T11:49:13.000Z | 2019-12-22T06:18:35.000Z | src/mif/application/config/json.cpp | paceholder/mif | ff3c18f577048c94887220bb92477ce102f01599 | [
"MIT"
] | null | null | null | src/mif/application/config/json.cpp | paceholder/mif | ff3c18f577048c94887220bb92477ce102f01599 | [
"MIT"
] | 1 | 2018-10-01T09:16:29.000Z | 2018-10-01T09:16:29.000Z | //-------------------------------------------------------------------
// MetaInfo Framework (MIF)
// https://github.com/tdv/mif
// Created: 03.2017
// Copyright (C) 2016-2017 tdv
//-------------------------------------------------------------------
// STD
#include <istream>
#include <list>
#include <memory>
#i... | 35.39738 | 119 | 0.393042 | [
"object"
] |
347c83c9b322427e58cd24ae16e62fe06357813e | 4,237 | cpp | C++ | uwsim_resources/underwater_simulation/uwsim/interface_examples/gotoAbsolutePose.cpp | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | 1 | 2020-11-30T09:55:33.000Z | 2020-11-30T09:55:33.000Z | uwsim_resources/underwater_simulation/uwsim/interface_examples/gotoAbsolutePose.cpp | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | null | null | null | uwsim_resources/underwater_simulation/uwsim/interface_examples/gotoAbsolutePose.cpp | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | 2 | 2020-11-21T19:50:54.000Z | 2020-12-27T09:35:29.000Z | /*
* Copyright (c) 2013 University of Jaume-I.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* Mario Pr... | 34.169355 | 135 | 0.652584 | [
"transform"
] |
348285285dc7df2b1f3b3c9e0acb4a0fdb4a8e0f | 1,031 | cpp | C++ | system/zombie/imp.cpp | dnartz/PvZ-Emulator | 3954f36f4e0f22cee07d6a86003d3892f0938b8b | [
"BSD-2-Clause"
] | 1 | 2022-03-29T23:49:55.000Z | 2022-03-29T23:49:55.000Z | system/zombie/imp.cpp | dnartz/PvZ-Emulator | 3954f36f4e0f22cee07d6a86003d3892f0938b8b | [
"BSD-2-Clause"
] | 2 | 2021-03-10T18:17:07.000Z | 2021-05-11T13:59:22.000Z | system/zombie/imp.cpp | dnartz/PvZ-Emulator | 3954f36f4e0f22cee07d6a86003d3892f0938b8b | [
"BSD-2-Clause"
] | 1 | 2021-10-18T18:29:47.000Z | 2021-10-18T18:29:47.000Z | #include "zombie.h"
namespace pvz_emulator::system {
using namespace::pvz_emulator::object;
void zombie_imp::update(object::zombie& z) {
if (z.status == zombie_status::imp_flying) {
z.d2y -= 0.05000000074505806;
z.dy += z.d2y;
z.x -= z.dx;
auto new_y = zombie_init_y(scene.type, ... | 23.976744 | 80 | 0.587779 | [
"object"
] |
348328ded84b1ce2755841cd4b887448fe7bf436 | 19,826 | cpp | C++ | src/server/RelevanceServer.cpp | scivey/relevanced | 8f0fe67f48ea1da7468a70eef026ed23b4298a27 | [
"MIT"
] | 10 | 2015-12-02T01:41:52.000Z | 2020-05-11T04:05:56.000Z | src/server/RelevanceServer.cpp | scivey/relevanced | 8f0fe67f48ea1da7468a70eef026ed23b4298a27 | [
"MIT"
] | null | null | null | src/server/RelevanceServer.cpp | scivey/relevanced | 8f0fe67f48ea1da7468a70eef026ed23b4298a27 | [
"MIT"
] | 3 | 2017-05-20T19:31:44.000Z | 2019-04-14T03:47:07.000Z | #include <string>
#include <memory>
#include <folly/futures/Promise.h>
#include <folly/futures/Future.h>
#include <folly/futures/helpers.h>
#include <folly/futures/Try.h>
#include <folly/Optional.h>
#include <folly/Format.h>
#include <folly/ExceptionWrapper.h>
#include <glog/logging.h>
#include "centroid_update_worke... | 32.289902 | 106 | 0.688994 | [
"vector"
] |
3493e5e1848b01a7a863cf4495cbdb2d3f44a099 | 1,069 | cpp | C++ | C++/1305-All-Elements-in-Two-Binary-Search-Trees/soln.cpp | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | C++/1305-All-Elements-in-Two-Binary-Search-Trees/soln.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | C++/1305-All-Elements-in-Two-Binary-Search-Trees/soln.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<int> getAllElements(TreeNode* root1, TreeNode* root2) {
vector<int> vals1, vals2... | 26.725 | 66 | 0.489242 | [
"vector"
] |
349b3ce7fb574dd7737049bb1a4c7f86087a0388 | 12,066 | hpp | C++ | StrategyLib/include/Strategies.hpp | lucasguesserts/prisoners_dilemma | a786af699c95c99797b074b1b73a2a3f7ef68436 | [
"MIT"
] | null | null | null | StrategyLib/include/Strategies.hpp | lucasguesserts/prisoners_dilemma | a786af699c95c99797b074b1b73a2a3f7ef68436 | [
"MIT"
] | null | null | null | StrategyLib/include/Strategies.hpp | lucasguesserts/prisoners_dilemma | a786af699c95c99797b074b1b73a2a3f7ef68436 | [
"MIT"
] | null | null | null | #ifndef STRATEGIES_HPP
#define STRATEGIES_HPP
// Based on http://www.prisoners-dilemma.com/strategies.html
#include <cstddef>
#include <utility>
#include <vector>
#include <string>
#include "Strategy.hpp"
#include "Decision.hpp"
namespace PrisonersDilemma
{
class AlwaysCooperate: public Strategy
{
public:
Al... | 31.421875 | 156 | 0.684651 | [
"vector"
] |
349b464bc3130d67326c72018aec830804dbb31e | 8,264 | hpp | C++ | include/aw/util/spatial/intersectors/triangle.hpp | AlexAUT/awEngine | 8db7840da71d608de82adc543f71024775c68f22 | [
"MIT"
] | null | null | null | include/aw/util/spatial/intersectors/triangle.hpp | AlexAUT/awEngine | 8db7840da71d608de82adc543f71024775c68f22 | [
"MIT"
] | null | null | null | include/aw/util/spatial/intersectors/triangle.hpp | AlexAUT/awEngine | 8db7840da71d608de82adc543f71024775c68f22 | [
"MIT"
] | null | null | null |
#include "aw/util/math/vector.hpp"
#include "glm/geometric.hpp"
constexpr float epsilion = 0.000001f;
constexpr bool useEpsilonTest = true;
namespace aw {
struct TriTriIntersector
{
// Source: http://fileadmin.cs.lth.se/cs/Personal/Tomas_Akenine-Moller/code/opttritri.txt
auto operator()(aw::Vec3 v0, aw::Vec3 v1... | 27.006536 | 119 | 0.481849 | [
"vector"
] |
34a1dcc40aaef03b789657719201f12398700fbc | 3,812 | cc | C++ | src/server/traffic_generator.cc | atxutegi/maril-in-monroe-Model-based | 105a633b884fc92780f2dc0900bc165b1a0d323c | [
"Apache-2.0"
] | null | null | null | src/server/traffic_generator.cc | atxutegi/maril-in-monroe-Model-based | 105a633b884fc92780f2dc0900bc165b1a0d323c | [
"Apache-2.0"
] | null | null | null | src/server/traffic_generator.cc | atxutegi/maril-in-monroe-Model-based | 105a633b884fc92780f2dc0900bc165b1a0d323c | [
"Apache-2.0"
] | null | null | null | /**
* *****************************************************************************
* Code adaptation and development based on
* https://github.com/m-lab/mbm
*
* This code includes an adaptation and simplication of the software developed at:
* M-Lab (http://www.measurementlab.net),
* gflags library (google-gfla... | 28.447761 | 82 | 0.647692 | [
"vector"
] |
34a3e3d1c07690828dff097fc8e712b60985d0af | 6,908 | cpp | C++ | tests/unit/ItemView.cpp | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 257 | 2020-01-03T10:13:29.000Z | 2022-03-26T14:55:12.000Z | tests/unit/ItemView.cpp | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 116 | 2020-01-09T18:13:13.000Z | 2022-03-15T18:32:02.000Z | tests/unit/ItemView.cpp | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 58 | 2020-01-09T03:07:02.000Z | 2022-03-22T17:21:36.000Z | /***********************************************************************
* created: Sun May 25 2014
* author: Timotei Dolean <timotei21@gmail.com>
*************************************************************************/
/***************************************************************************
* C... | 35.06599 | 112 | 0.605819 | [
"model"
] |
34a97b8557547203fcaf6400f62b38dc5dc1c3c0 | 11,065 | hpp | C++ | include/gtkQRmm.hpp | jce-caba/gtkQRmm | 0a6f46bdbbc30195c2ddf993be43d218dbc2c47a | [
"MIT"
] | 1 | 2022-03-13T14:21:23.000Z | 2022-03-13T14:21:23.000Z | include/gtkQRmm.hpp | jce-caba/gtkQRmm | 0a6f46bdbbc30195c2ddf993be43d218dbc2c47a | [
"MIT"
] | null | null | null | include/gtkQRmm.hpp | jce-caba/gtkQRmm | 0a6f46bdbbc30195c2ddf993be43d218dbc2c47a | [
"MIT"
] | null | null | null | #ifndef GTKQR_HPP
#define GTKQR_HPP
#include <gtkmm.h>
#include "QrDefinitions.hpp"
#include "QrUtils.hpp"
namespace GtkQR
{
class PrivateClass;
/** \brief QR widget
*/
class QR : public Gtk::Widget
{
public:
/** \brief Creates a new empty widget GtkQR without any image
*/
... | 37.130872 | 335 | 0.612743 | [
"render"
] |
34abfc35b068f062be661b1a4995a221fd709e43 | 10,219 | hpp | C++ | compressor/include/s2s/corpus/dict_set.hpp | kamigaito/SLAHAN | 5ef981f1713f4586e2ec42c226555e95d7904147 | [
"MIT"
] | 15 | 2020-05-24T16:03:20.000Z | 2021-09-07T21:52:32.000Z | compressor/include/s2s/corpus/dict_set.hpp | kamigaito/SLAHAN | 5ef981f1713f4586e2ec42c226555e95d7904147 | [
"MIT"
] | 6 | 2020-05-31T18:41:09.000Z | 2022-02-27T16:16:22.000Z | compressor/include/s2s/corpus/dict_set.hpp | kamigaito/SLAHAN | 5ef981f1713f4586e2ec42c226555e95d7904147 | [
"MIT"
] | 4 | 2021-05-26T01:53:58.000Z | 2022-01-25T07:13:31.000Z | #include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/program_options.hpp>
#include <boost/regex.hpp>
#include <boost/algorithm/string/regex.hpp>
#include "s2s/dynet/dict.h"
#include "s2s/corpus... | 36.891697 | 170 | 0.573735 | [
"vector"
] |
34b29a1c587f79308f5cb2d514b8cda25d1d0937 | 7,134 | cpp | C++ | OpenGL_3DJV1/CarreTexture01/CarreTexture01.cpp | Epono/5A-3DJV-OpenGL_Project | 59ea1aac67780f4b53687beb46085e10c2ca4d4c | [
"MIT"
] | null | null | null | OpenGL_3DJV1/CarreTexture01/CarreTexture01.cpp | Epono/5A-3DJV-OpenGL_Project | 59ea1aac67780f4b53687beb46085e10c2ca4d4c | [
"MIT"
] | null | null | null | OpenGL_3DJV1/CarreTexture01/CarreTexture01.cpp | Epono/5A-3DJV-OpenGL_Project | 59ea1aac67780f4b53687beb46085e10c2ca4d4c | [
"MIT"
] | null | null | null | // Triangle01.cpp : Defines the entry point for the console application.
//
// Specifique a Windows
#if _WIN32
#include <Windows.h>
#define FREEGLUT_LIB_PRAGMAS 0
#pragma comment(lib, "freeglut.lib")
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glew32s.lib")
#endif
// Entete OpenGL
#define GLEW_STATIC ... | 28.309524 | 105 | 0.716288 | [
"render"
] |
34b5eae7d54feb0d624111fe4b2e8cd691c9ab36 | 1,751 | hpp | C++ | caffe/include/caffe/layers/energy_loss_layer.hpp | JulianYG/redeye_sim | eaf2ccf9370f5fcfa2bfcc9ba60e3e0fcc319f54 | [
"CNRI-Python"
] | 11 | 2016-06-28T15:42:12.000Z | 2021-03-07T04:17:47.000Z | src/energy_loss_layer.hpp | JulianYG/RedEye | eaf2ccf9370f5fcfa2bfcc9ba60e3e0fcc319f54 | [
"CNRI-Python"
] | 1 | 2016-06-28T15:46:50.000Z | 2016-07-01T12:09:56.000Z | src/energy_loss_layer.hpp | JulianYG/RedEye | eaf2ccf9370f5fcfa2bfcc9ba60e3e0fcc319f54 | [
"CNRI-Python"
] | 10 | 2016-06-19T21:23:24.000Z | 2020-10-05T08:52:56.000Z | #ifndef CAFFE_ENERGY_LOSS_LAYER_HPP_
#define CAFFE_ENERGY_LOSS_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/layers/loss_layer.hpp"
namespace caffe {
/**
* Computes the energy loss based on the noise type and magnitude. Used
... | 33.673077 | 81 | 0.70988 | [
"vector"
] |
34bd588505a9978f40b6c652357f3dfbc356c806 | 1,771 | cpp | C++ | src/cpp/lib/QtWidgets/QGroupBox/qgroupbox_wrap.cpp | TheRakeshPurohit/nodegui | 9fcc5e99d30ff0dc208f045abeeab50e59a73f22 | [
"MIT"
] | null | null | null | src/cpp/lib/QtWidgets/QGroupBox/qgroupbox_wrap.cpp | TheRakeshPurohit/nodegui | 9fcc5e99d30ff0dc208f045abeeab50e59a73f22 | [
"MIT"
] | 1 | 2019-11-05T11:00:17.000Z | 2019-11-05T11:00:17.000Z | src/cpp/lib/QtWidgets/QGroupBox/qgroupbox_wrap.cpp | master-atul/nodegui | 123524d1265ec9c9737596cfb475308c56a06750 | [
"MIT"
] | null | null | null | #include "QtWidgets/QGroupBox/qgroupbox_wrap.h"
#include <QWidget>
#include "Extras/Utils/nutils.h"
#include "QtWidgets/QWidget/qwidget_wrap.h"
Napi::FunctionReference QGroupBoxWrap::constructor;
Napi::Object QGroupBoxWrap::init(Napi::Env env, Napi::Object exports) {
Napi::HandleScope scope(env);
char CLASSNAME... | 34.72549 | 80 | 0.695652 | [
"object"
] |
34bddcc135fbc7d07622b62e351c7f7746627439 | 37,931 | cpp | C++ | dpcpp/particlefilter/ex_particle_SYCL_float_seq.dp.cpp | CR-G/rodinia-dpct-dpcpp | a0e80bd715c3cc7c3356e1e00245b91e15927d2c | [
"MIT"
] | 1 | 2022-03-28T18:13:13.000Z | 2022-03-28T18:13:13.000Z | dpcpp/particlefilter/ex_particle_SYCL_float_seq.dp.cpp | artecs-group/rodinia-dpct-dpcpp | a0e80bd715c3cc7c3356e1e00245b91e15927d2c | [
"MIT"
] | 7 | 2021-04-15T11:53:20.000Z | 2021-05-15T08:58:30.000Z | dpcpp/particlefilter/ex_particle_SYCL_float_seq.dp.cpp | artecs-group/rodinia-dpct-dpcpp | a0e80bd715c3cc7c3356e1e00245b91e15927d2c | [
"MIT"
] | null | null | null | #include <CL/sycl.hpp>
#include <dpct/dpct.hpp>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <math.h>
#include <unistd.h>
#include <fcntl.h>
#include <float.h>
#include <sys/time.h>
#include <time.h>
#include "../common.hpp"
#define BLOCK_X 16
#define BLOCK_Y... | 34.233755 | 295 | 0.553505 | [
"object",
"shape",
"vector",
"3d"
] |
34be25c17eda7c157cd433fa9a8e106367c5087b | 1,685 | cpp | C++ | Premium/Meeting Rooms II.cpp | JanaSabuj/Leetcode-solutions | 78d10926b15252a969df598fbf1f9b69b2760b79 | [
"MIT"
] | 13 | 2019-10-12T14:36:32.000Z | 2021-06-08T04:26:30.000Z | Premium/Meeting Rooms II.cpp | JanaSabuj/Leetcode-solutions | 78d10926b15252a969df598fbf1f9b69b2760b79 | [
"MIT"
] | 1 | 2020-02-29T14:02:39.000Z | 2020-02-29T14:02:39.000Z | Premium/Meeting Rooms II.cpp | JanaSabuj/Leetcode-solutions | 78d10926b15252a969df598fbf1f9b69b2760b79 | [
"MIT"
] | 3 | 2020-02-08T12:04:28.000Z | 2020-03-17T11:53:00.000Z | Description
中文
English
Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), find the minimum number of conference rooms required.
Have you met this question in a real interview?
Example
Example1
Input: intervals = [(0,30),(5,10),(15,20)]
Output: 2
Explanation:
... | 24.071429 | 161 | 0.539466 | [
"vector"
] |
34bed3fb8bf7c392085fd6c7a827e91facc2ee6e | 538 | cpp | C++ | ProceduralGeneration/IndexBuffer.cpp | cristi191096/ProceduralGeneration | 912b738ced73d676f9d0885d917a94c710857396 | [
"Apache-2.0"
] | null | null | null | ProceduralGeneration/IndexBuffer.cpp | cristi191096/ProceduralGeneration | 912b738ced73d676f9d0885d917a94c710857396 | [
"Apache-2.0"
] | null | null | null | ProceduralGeneration/IndexBuffer.cpp | cristi191096/ProceduralGeneration | 912b738ced73d676f9d0885d917a94c710857396 | [
"Apache-2.0"
] | null | null | null | #include "IndexBuffer.h"
IndexBuffer::IndexBuffer(const std::vector<unsigned int>& data, unsigned int count)
: count(count)
{
glGenBuffers(1, &bufferID);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, bufferID);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, count * sizeof(GLuint), data.data(), GL_STATIC_DRAW);
}
IndexBuffer::... | 19.214286 | 92 | 0.760223 | [
"vector"
] |
34c01d5748c84177c082e00cfbda63ef48fc134d | 505 | cpp | C++ | External/inheritance.cpp | lymven-io/OOP | dd4f8487c15b4b58c7d24b0f7c0f0ad90b9ee54a | [
"MIT"
] | null | null | null | External/inheritance.cpp | lymven-io/OOP | dd4f8487c15b4b58c7d24b0f7c0f0ad90b9ee54a | [
"MIT"
] | null | null | null | External/inheritance.cpp | lymven-io/OOP | dd4f8487c15b4b58c7d24b0f7c0f0ad90b9ee54a | [
"MIT"
] | null | null | null | #include <iostream>
// Base class
class Shape {
public:
void setWidth(int w) {
width = w;
}
void setHeight(int h) {
height = h;
}
protected:
int width;
int height;
};
// Derive Class
class Rectangle : public Shape{
public:
int getArea() {
return (width * height);
... | 14.428571 | 58 | 0.540594 | [
"shape"
] |
34ca8c6d9ad7fda15959ff4b4760cdf854eefe36 | 1,014 | cpp | C++ | USACO/1-5NumberTriangles.cpp | zhanghuanzj/C- | b271de02885466e97d6a2072f4f93f87625834e4 | [
"Apache-2.0"
] | null | null | null | USACO/1-5NumberTriangles.cpp | zhanghuanzj/C- | b271de02885466e97d6a2072f4f93f87625834e4 | [
"Apache-2.0"
] | null | null | null | USACO/1-5NumberTriangles.cpp | zhanghuanzj/C- | b271de02885466e97d6a2072f4f93f87625834e4 | [
"Apache-2.0"
] | null | null | null | /*
ID: zhanghu14
PROG: numtri
LANG: C++11
*/
#include <iostream>
#include <fstream>
#include <string>
#include <map>
#include <vector>
#include <unordered_set>
#include <algorithm>
#include <set>
using namespace std;
//#define STDIO
#ifdef STDIO
#define IN cin
#define OUT cout
#else
#define IN fin
#define OUT fo... | 13.890411 | 47 | 0.518738 | [
"vector"
] |
34cc62d7daa44c8036a8e95e16afd98ebac8be13 | 7,764 | cpp | C++ | load_balancer/enc/balancer.cpp | ucbrise/snoopy | da4c98e3876c10cf52aa51ece3b62c5e8b8e335a | [
"Apache-2.0"
] | 9 | 2021-11-10T20:34:00.000Z | 2022-03-23T02:30:29.000Z | load_balancer/enc/balancer.cpp | ucbrise/snoopy | da4c98e3876c10cf52aa51ece3b62c5e8b8e335a | [
"Apache-2.0"
] | null | null | null | load_balancer/enc/balancer.cpp | ucbrise/snoopy | da4c98e3876c10cf52aa51ece3b62c5e8b8e335a | [
"Apache-2.0"
] | 4 | 2021-09-30T05:12:06.000Z | 2022-03-18T03:05:21.000Z | #include "balancer.h"
//#include <openenclave/enclave.h>
#include <openssl/evp.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include <map>
#include "../../common/obl_primitives.h"
#include "../../common/par_obl_primitives.h"
#include "../../common/crypto.h"
using namespace std;
LoadBalancer::LoadBal... | 38.246305 | 176 | 0.641808 | [
"vector"
] |
34ced89c3ef37eb25cab0dc77bd6e0415a74536f | 22,942 | cpp | C++ | chest/windows/core/src/main/cpp/general/NTService.cpp | lgoldstein/communitychest | 5d4f4b58324cd9dbd07223e2ea68ff738bd32459 | [
"Apache-2.0"
] | 1 | 2020-08-12T07:40:11.000Z | 2020-08-12T07:40:11.000Z | chest/windows/core/src/main/cpp/general/NTService.cpp | lgoldstein/communitychest | 5d4f4b58324cd9dbd07223e2ea68ff738bd32459 | [
"Apache-2.0"
] | null | null | null | chest/windows/core/src/main/cpp/general/NTService.cpp | lgoldstein/communitychest | 5d4f4b58324cd9dbd07223e2ea68ff738bd32459 | [
"Apache-2.0"
] | null | null | null | /*---------------------------------------------------------------------------*/
#ifndef __cplusplus
#error "This file requires a C++ compiler !!!"
#endif
// NTService.cpp
//
// Implementation of CNTService
/*---------------------------------------------------------------------------*/
#include <stdarg.h>
#include ... | 26.040863 | 138 | 0.604481 | [
"object"
] |
34d16bc57ad2023565c6345bd14bdba6aebcf252 | 2,498 | hpp | C++ | board.hpp | miguelrodriguesdossantos/CellularAutomata | 1fdca34b6266c8b2a6c9604cc02d540f54ea5b80 | [
"MIT"
] | null | null | null | board.hpp | miguelrodriguesdossantos/CellularAutomata | 1fdca34b6266c8b2a6c9604cc02d540f54ea5b80 | [
"MIT"
] | null | null | null | board.hpp | miguelrodriguesdossantos/CellularAutomata | 1fdca34b6266c8b2a6c9604cc02d540f54ea5b80 | [
"MIT"
] | null | null | null | // board.hpp
#ifndef BOARD_H
#define BOARD_H
#include <iostream>
#include <vector>
#include <string>
#include <unordered_map>
#include "global.hpp"
#include "cell.hpp"
class Board {
public:
/*
These structs are here to increase the readability of
the subsequent code calling this class.
Example:
... | 24.98 | 85 | 0.705765 | [
"vector"
] |
34d3e271442d92dc6e4344b210de1f94878047c9 | 11,994 | cpp | C++ | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Device app for printers SDK sample (Windows 8)/C++/DeviceAppForPrinters/Preferences.xaml.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Device app for printers SDK sample (Windows 8)/C++/DeviceAppForPrinters/Preferences.xaml.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Device app for printers SDK sample (Windows 8)/C++/DeviceAppForPrinters/Preferences.xaml.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
/... | 40.248322 | 197 | 0.664832 | [
"object",
"vector"
] |
34d736baa5e33787b2198db6da374160d6de0c22 | 4,254 | cpp | C++ | app/src/main/cpp/player/FFMediaPlayer.cpp | qq326646683/wenshi_android | dc6fe95df39345766b13c67947b7b92d512c6269 | [
"MIT"
] | 19 | 2020-10-19T03:46:27.000Z | 2021-08-17T12:59:32.000Z | app/src/main/cpp/player/FFMediaPlayer.cpp | qq326646683/wenshi_android | dc6fe95df39345766b13c67947b7b92d512c6269 | [
"MIT"
] | 1 | 2021-07-14T03:34:46.000Z | 2021-07-14T03:34:46.000Z | app/src/main/cpp/player/FFMediaPlayer.cpp | qq326646683/wenshi_android | dc6fe95df39345766b13c67947b7b92d512c6269 | [
"MIT"
] | 2 | 2020-10-19T06:14:27.000Z | 2021-07-15T07:55:05.000Z |
#include <render/video/VideoGLRender.h>
#include <render/audio/OpenSLRender.h>
#include "FFMediaPlayer.h"
void FFMediaPlayer::Init(JNIEnv *jniEnv, jobject obj, char *url, int videoRenderType, jobject surface) {
jniEnv->GetJavaVM(&m_JavaVM);
m_JavaObj = jniEnv->NewGlobalRef(obj);
m_VideoDecoder = new Vide... | 27.095541 | 117 | 0.657264 | [
"render"
] |
34da8a66e182ee91d57a92c1857458dd67993b52 | 6,514 | cpp | C++ | dali-toolkit/internal/visuals/gradient/gradient.cpp | dalihub/dali-toolk | 980728a7e35b8ddd28f70c090243e8076e21536e | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2016-11-18T10:26:51.000Z | 2021-01-28T13:51:59.000Z | dali-toolkit/internal/visuals/gradient/gradient.cpp | dalihub/dali-toolk | 980728a7e35b8ddd28f70c090243e8076e21536e | [
"Apache-2.0",
"BSD-3-Clause"
] | 13 | 2020-07-15T11:33:03.000Z | 2021-04-09T21:29:23.000Z | dali-toolkit/internal/visuals/gradient/gradient.cpp | dalihub/dali-toolk | 980728a7e35b8ddd28f70c090243e8076e21536e | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2019-05-17T07:15:09.000Z | 2021-05-24T07:28:08.000Z | /*
* Copyright (c) 2021 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 31.931373 | 246 | 0.702333 | [
"vector"
] |
34db9b791a529bda20491efe9e7149f622ad3bf8 | 5,912 | cpp | C++ | admin/winning_teams/strongAccept/code/impl/libfuzzy/search_time.cpp | isj/sigmod | 8ffd3c50ac288aa12c05218d52b1f05eeb23a085 | [
"BSD-2-Clause"
] | 1 | 2015-11-27T05:56:25.000Z | 2015-11-27T05:56:25.000Z | admin/winning_teams/strongAccept/code/impl/libfuzzy/search_time.cpp | isj/sigmod | 8ffd3c50ac288aa12c05218d52b1f05eeb23a085 | [
"BSD-2-Clause"
] | null | null | null | admin/winning_teams/strongAccept/code/impl/libfuzzy/search_time.cpp | isj/sigmod | 8ffd3c50ac288aa12c05218d52b1f05eeb23a085 | [
"BSD-2-Clause"
] | null | null | null | #include "fuzzy.h"
extern int queryRounds;
using namespace std;
void SharedInfoTime::init()
{
for (int dist = 0; dist < MAXED; dist++)
{
edIndexes[dist].init(dist);
hmIndexes[dist].init(dist);
}
}
void SharedInfoTime::clear()
{
for (int dist = 0; dist < MAXED; dist++)
{
edIndexes[dist].clear();
hmIndexe... | 23.09375 | 119 | 0.596076 | [
"vector"
] |
34ec1d2d031dfa7f500f70753fa6a1487e6dc6fe | 1,491 | cpp | C++ | src/SeqUtils.cpp | canzarlab/fortuna | 62109f879a640d7154bda66ee21d9396c0d637ea | [
"BSD-2-Clause"
] | null | null | null | src/SeqUtils.cpp | canzarlab/fortuna | 62109f879a640d7154bda66ee21d9396c0d637ea | [
"BSD-2-Clause"
] | null | null | null | src/SeqUtils.cpp | canzarlab/fortuna | 62109f879a640d7154bda66ee21d9396c0d637ea | [
"BSD-2-Clause"
] | null | null | null | #ifndef SEQUTILS_CPP
#define SEQUTILS_CPP
#include "SeqUtils.h"
char BaseComplement(char c)
{
switch (c)
{
case 'A' : return 'T';
case 'C' : return 'G';
case 'G' : return 'C';
case 'T' : return 'A';
default : return 'N';
};
}
/*int SeqDistance(string a, string b)
{
int n = a.size(), c1 = 0, c2 = 0;
... | 18.873418 | 79 | 0.530516 | [
"vector"
] |
34ef75f846eb4acfad392cbdfffdf4a2a6a82323 | 3,101 | hxx | C++ | src/utils/Singleton.hxx | balazsracz/openmrn | 338f5dcbafeff6d171b2787b291d1904f2c45965 | [
"BSD-2-Clause"
] | 34 | 2015-05-23T03:57:56.000Z | 2022-03-27T03:48:48.000Z | src/utils/Singleton.hxx | balazsracz/openmrn | 338f5dcbafeff6d171b2787b291d1904f2c45965 | [
"BSD-2-Clause"
] | 214 | 2015-07-05T05:06:55.000Z | 2022-02-06T14:53:14.000Z | src/utils/Singleton.hxx | balazsracz/openmrn | 338f5dcbafeff6d171b2787b291d1904f2c45965 | [
"BSD-2-Clause"
] | 38 | 2015-08-28T05:32:07.000Z | 2021-07-06T16:47:23.000Z | /** \copyright
* Copyright (c) 2013, Balazs Racz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this li... | 30.401961 | 84 | 0.723638 | [
"object"
] |
34f9a36d47ad11cce90841f0fa78ea08956aec3e | 1,094 | cpp | C++ | src/main.cpp | spjuanjoc/uri_parser_cpp | 83c67bf29b12f3eee55c78661aad8495f08f73b3 | [
"MIT"
] | null | null | null | src/main.cpp | spjuanjoc/uri_parser_cpp | 83c67bf29b12f3eee55c78661aad8495f08f73b3 | [
"MIT"
] | null | null | null | src/main.cpp | spjuanjoc/uri_parser_cpp | 83c67bf29b12f3eee55c78661aad8495f08f73b3 | [
"MIT"
] | null | null | null | #include "../include/URIHandler.h"
#include <iostream>
#include <string>
#include <vector>
using std::boolalpha;
using std::cout;
using std::endl;
using std::string;
using std::stringstream;
using std::vector;
int main()
{
cout << "Inicio" << endl;
// for (string &it : sV)
// {
//// cout << "URI: " ... | 28.789474 | 97 | 0.463437 | [
"vector"
] |
5a5ff9805ced5644ee33062628f56cfe601fad4c | 706 | hpp | C++ | Application/include/utils/MP3.hpp | einsteinx2/TriPlayer | cb9e12fb71b90241b9fa08c40b8ca73a209ca8c2 | [
"MIT"
] | null | null | null | Application/include/utils/MP3.hpp | einsteinx2/TriPlayer | cb9e12fb71b90241b9fa08c40b8ca73a209ca8c2 | [
"MIT"
] | null | null | null | Application/include/utils/MP3.hpp | einsteinx2/TriPlayer | cb9e12fb71b90241b9fa08c40b8ca73a209ca8c2 | [
"MIT"
] | null | null | null | #ifndef UTILS_MP3_HPP
#define UTILS_MP3_HPP
#include "Types.hpp"
#include <vector>
namespace Utils::MP3 {
// Initializes libraries used for helper functions
// Returns false if an error occurred
bool init();
// Cleans up any initialized libraries
void exit();
// Reads image(s) from ID3 tags ... | 28.24 | 84 | 0.695467 | [
"vector"
] |
5a60d53cf8707069d445396cd27d3695da9eda53 | 4,390 | cpp | C++ | XLib-v1.2.0/src/Graph/Host/GraphSTD_SCC.cpp | mangrove-univr/Mangrove | 3d95096c7adfad5eb27625b020c222487e91ab4e | [
"MIT"
] | 1 | 2019-12-28T09:30:24.000Z | 2019-12-28T09:30:24.000Z | XLib-v1.2.0/src/Graph/Host/GraphSTD_SCC.cpp | mangrove-univr/Mangrove | 3d95096c7adfad5eb27625b020c222487e91ab4e | [
"MIT"
] | 1 | 2020-08-25T10:57:11.000Z | 2020-08-25T10:57:11.000Z | XLib-v1.2.0/src/Graph/Host/GraphSTD_SCC.cpp | mangrove-univr/Mangrove | 3d95096c7adfad5eb27625b020c222487e91ab4e | [
"MIT"
] | null | null | null | /*------------------------------------------------------------------------------
Copyright © 2016 by Nicola Bombieri
XLib is provided under the terms of The MIT License (MIT):
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Softwar... | 35.12 | 80 | 0.656264 | [
"vector"
] |
5a72536d43e70702969f4f3e84d2ad863e31d27e | 17,259 | cpp | C++ | src/avx512sort.cpp | Tabasz/quick-AVX-512-sort | a614e76040640359b2c256c41367dbbad68c63ab | [
"MIT"
] | null | null | null | src/avx512sort.cpp | Tabasz/quick-AVX-512-sort | a614e76040640359b2c256c41367dbbad68c63ab | [
"MIT"
] | null | null | null | src/avx512sort.cpp | Tabasz/quick-AVX-512-sort | a614e76040640359b2c256c41367dbbad68c63ab | [
"MIT"
] | null | null | null | #include <immintrin.h>
#include <cstdint>
#include "vectorized_sort.hpp"
#include "defines.hpp"
inline int calc_min(__m512i vec2)
{
auto perm_mask2 = _mm512_setr_epi32(15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0);
vec2 = _mm512_min_epi32(vec2, _mm512_permutexvar_epi32(perm_mask2, vec2));
__m256i v... | 49.03125 | 115 | 0.644881 | [
"vector",
"transform"
] |
5a757b635e6871804f6556fc43f4e6d3353abfe9 | 4,934 | cpp | C++ | turtlebot3_deliver_service/src/pose_initialization.cpp | ROBOTIS-GIT/turtlebot3_deliver | 41b2a825fdc943989b13853d5c35b85b2328f1f9 | [
"Apache-2.0"
] | 21 | 2018-04-21T09:15:11.000Z | 2021-02-12T16:11:04.000Z | turtlebot3_deliver_service/src/pose_initialization.cpp | ROBOTIS-GIT/turtlebot3_deliver | 41b2a825fdc943989b13853d5c35b85b2328f1f9 | [
"Apache-2.0"
] | null | null | null | turtlebot3_deliver_service/src/pose_initialization.cpp | ROBOTIS-GIT/turtlebot3_deliver | 41b2a825fdc943989b13853d5c35b85b2328f1f9 | [
"Apache-2.0"
] | 11 | 2018-04-02T00:08:08.000Z | 2021-09-05T04:52:49.000Z | #include "ros/ros.h"
#include "turtlebot3_deliver_service/InitTurtlebotPose.h"
#include "geometry_msgs/PoseWithCovarianceStamped.h"
#include "geometry_msgs/PoseArray.h"
#include "geometry_msgs/PoseStamped.h"
#include "geometry_msgs/Twist.h"
#include "tf2_msgs/TFMessage.h"
#define MSE_IS_POSE_INITIALIZING_COMPLETED 150... | 31.628205 | 250 | 0.717065 | [
"object",
"vector"
] |
5a7763138aba48d9a1f1556922c15588d794b911 | 3,985 | cpp | C++ | qrgui/mainWindow/modelExplorer.cpp | RexTremendaeMajestatis/QREAL | 94786d40e84c18a4407069570588f7d2c4c63aea | [
"Apache-2.0"
] | 39 | 2015-01-26T16:18:43.000Z | 2021-12-20T23:36:41.000Z | qrgui/mainWindow/modelExplorer.cpp | RexTremendaeMajestatis/QREAL | 94786d40e84c18a4407069570588f7d2c4c63aea | [
"Apache-2.0"
] | 1,248 | 2019-02-21T19:32:09.000Z | 2022-03-29T16:50:04.000Z | qrgui/mainWindow/modelExplorer.cpp | RexTremendaeMajestatis/QREAL | 94786d40e84c18a4407069570588f7d2c4c63aea | [
"Apache-2.0"
] | 58 | 2015-03-03T12:57:28.000Z | 2020-05-09T15:54:42.000Z | /* Copyright 2007-2016 QReal Research Group
*
* 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... | 27.108844 | 102 | 0.75458 | [
"model"
] |
5a78471395b7fcb6bcc199ac7c4bf800723d36d1 | 19,297 | cpp | C++ | Src/base/BootupAnimation.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | 3 | 2018-11-16T14:51:17.000Z | 2019-11-21T10:55:24.000Z | Src/base/BootupAnimation.cpp | penk/luna-sysmgr | 60c7056a734cdb55a718507f3a739839c9d74edf | [
"Apache-2.0"
] | 1 | 2021-02-20T13:12:15.000Z | 2021-02-20T13:12:15.000Z | Src/base/BootupAnimation.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | null | null | null | /* @@@LICENSE
*
* Copyright (c) 2008-2012 Hewlett-Packard Development Company, L.P.
*
* 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
*
* Unl... | 25.798128 | 124 | 0.724258 | [
"render",
"vector"
] |
5a7cb0ca4c914238f9225f01263f6cbafdccddc6 | 5,926 | cpp | C++ | 3rdparty/OculusSDKv1_8/Samples/CommonSrc/Render/Render_GL_Win32_Device.cpp | PlusToolkit/OvrvisionPro | ed64cade144ce47d17423369476fb43ea69b124d | [
"MIT"
] | 1 | 2017-10-27T14:01:39.000Z | 2017-10-27T14:01:39.000Z | OculusSDK/Samples/CommonSrc/Render/Render_GL_Win32_Device.cpp | Ybalrid/AnnwvynDeps | 3309b126e6e501df5bd7f617cf3c47941b0754e5 | [
"CECILL-B"
] | null | null | null | OculusSDK/Samples/CommonSrc/Render/Render_GL_Win32_Device.cpp | Ybalrid/AnnwvynDeps | 3309b126e6e501df5bd7f617cf3c47941b0754e5 | [
"CECILL-B"
] | null | null | null | /************************************************************************************
Filename : Render_GL_Win32 Device.cpp
Content : Win32 OpenGL Device implementation
Created : September 10, 2012
Authors : Andrew Reisse, Michael Antonov, David Borel
Copyright : Copyright 2012 Oculus VR, L... | 27.308756 | 129 | 0.664867 | [
"render"
] |
5a803791a0c9fdc9cfa12168c997679fece72718 | 2,320 | cpp | C++ | src/main.cpp | rogerthat52/snackman | 7d0bf2fd1a8343f44b1a0ab61be16f6ace35af95 | [
"MIT"
] | null | null | null | src/main.cpp | rogerthat52/snackman | 7d0bf2fd1a8343f44b1a0ab61be16f6ace35af95 | [
"MIT"
] | null | null | null | src/main.cpp | rogerthat52/snackman | 7d0bf2fd1a8343f44b1a0ab61be16f6ace35af95 | [
"MIT"
] | null | null | null | #include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <iostream>
#include "tilemap.h"
#include "sdlecs.h"
#include "chara.h"
// main file ayy
// this is a lib / framework for learning c++ and making games
// all code (except linked libraries) was all written by:
// --------- ROGER HUNTLEY II --------- //
// --... | 30.526316 | 143 | 0.671983 | [
"render"
] |
5a813cf6bd495bbe06518a3cc63bbd0fb8c9955f | 6,437 | cpp | C++ | src/transformations/ssa_generator.cpp | Sokolmish/diploma | 8441b17f430bbdce8fd1825329c9e53e755470b7 | [
"MIT"
] | null | null | null | src/transformations/ssa_generator.cpp | Sokolmish/diploma | 8441b17f430bbdce8fd1825329c9e53e755470b7 | [
"MIT"
] | null | null | null | src/transformations/ssa_generator.cpp | Sokolmish/diploma | 8441b17f430bbdce8fd1825329c9e53e755470b7 | [
"MIT"
] | null | null | null | #include "ssa_generator.hpp"
#include "cfg_cleaner.hpp"
#include <vector>
#include <stack>
SSA_Generator::SSA_Generator(CFGraph in_cfg) : IRTransformer(std::move(in_cfg)) {
gInfo = std::make_unique<GraphInfo>(cfg);
placePhis();
versionize();
gInfo.reset();
CfgCleaner cleaner(std::move(cfg));
... | 30.220657 | 91 | 0.53441 | [
"vector"
] |
5a85d642abb403efb3125c1a5a64f960135150e8 | 865 | hpp | C++ | application/include/camera_node.hpp | luigielbambino/CG_Lab_Titz120003Alvarez119446 | e494b9d7695dcee5d1e466a3b8bbef1f13cb96bc | [
"MIT"
] | null | null | null | application/include/camera_node.hpp | luigielbambino/CG_Lab_Titz120003Alvarez119446 | e494b9d7695dcee5d1e466a3b8bbef1f13cb96bc | [
"MIT"
] | null | null | null | application/include/camera_node.hpp | luigielbambino/CG_Lab_Titz120003Alvarez119446 | e494b9d7695dcee5d1e466a3b8bbef1f13cb96bc | [
"MIT"
] | null | null | null | // Camera Node Header, Functions declarations
#ifndef CAMERA_NODE_HPP
#define CAMERA_NODE_HPP
#include <iostream>
using namespace std;
#include "application.hpp"
#include "model.hpp"
#include "structs.hpp"
#include <list>
#include "node.hpp"
class CameraNode : public Node{
public:
// Default constructor
CameraN... | 19.222222 | 45 | 0.677457 | [
"model"
] |
5a8859364e2c5fd4526636feb5ee3ffe98e2252e | 898 | cpp | C++ | test18_3.cpp | chenshiyang/C-Primer-5ed-solution | 54ce8670e7ad6d82bf62c18523a5be175325276d | [
"Apache-2.0"
] | null | null | null | test18_3.cpp | chenshiyang/C-Primer-5ed-solution | 54ce8670e7ad6d82bf62c18523a5be175325276d | [
"Apache-2.0"
] | null | null | null | test18_3.cpp | chenshiyang/C-Primer-5ed-solution | 54ce8670e7ad6d82bf62c18523a5be175325276d | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include <memory>
using namespace std;
void exercise1(int *b, int *e) {
try {
vector<int> v(b, e);
int *p = new int[v.size()];
ifstream in("ins");
throw p;
} catch(int *p) {
delete[] p;
}
}
... | 18.326531 | 48 | 0.447661 | [
"vector"
] |
5a8f7d57fb2bbad4eac0914d27f713f7d7bd8482 | 4,969 | cpp | C++ | modules/xfeatures2d/test/test_logos_matcher.cpp | ptelang/opencv_contrib | dd68e396c76f1db4d82e5aa7a6545580939f9b9d | [
"Apache-2.0"
] | 7,158 | 2016-07-04T22:19:27.000Z | 2022-03-31T07:54:32.000Z | modules/xfeatures2d/test/test_logos_matcher.cpp | ptelang/opencv_contrib | dd68e396c76f1db4d82e5aa7a6545580939f9b9d | [
"Apache-2.0"
] | 2,184 | 2016-07-05T12:04:14.000Z | 2022-03-30T19:10:12.000Z | modules/xfeatures2d/test/test_logos_matcher.cpp | ptelang/opencv_contrib | dd68e396c76f1db4d82e5aa7a6545580939f9b9d | [
"Apache-2.0"
] | 5,535 | 2016-07-06T12:01:10.000Z | 2022-03-31T03:13:24.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#include "test_precomp.hpp"
namespace opencv_test { namespace {
static void loadKeypoints(const std::string& vP_path,
... | 32.477124 | 113 | 0.562487 | [
"vector"
] |
5a9488407378cf119bb89f18fb9d8de81387d35c | 104,737 | cc | C++ | 02-dependency/lib/RPC/Input.pb.cc | ZHYfeng/2018_dependency | 42a2226d905862669d3f704398a943d49c707cfb | [
"Apache-2.0"
] | 5 | 2022-03-08T06:32:13.000Z | 2022-03-28T02:02:44.000Z | 02-dependency/lib/RPC/Input.pb.cc | ZHYfeng/2018_dependency | 42a2226d905862669d3f704398a943d49c707cfb | [
"Apache-2.0"
] | null | null | null | 02-dependency/lib/RPC/Input.pb.cc | ZHYfeng/2018_dependency | 42a2226d905862669d3f704398a943d49c707cfb | [
"Apache-2.0"
] | 2 | 2022-03-08T06:32:16.000Z | 2022-03-27T17:54:03.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Input.proto
#include "Input.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/descriptor.h>
#include <google/... | 40.658773 | 197 | 0.718676 | [
"object"
] |
5a9b2ef64f6b1e116e2fde2e74879ebf23db8521 | 918 | cpp | C++ | 1786/1786.cpp11.cpp | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 14 | 2017-05-02T02:00:42.000Z | 2021-11-16T07:25:29.000Z | 1786/1786.cpp11.cpp | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 1 | 2017-12-25T14:18:14.000Z | 2018-02-07T06:49:44.000Z | 1786/1786.cpp11.cpp | isac322/BOJ | 35959dd1a63d75ebca9ed606051f7a649d5c0c7b | [
"MIT"
] | 9 | 2016-03-03T22:06:52.000Z | 2020-04-30T22:06:24.000Z | #include <iostream>
#include <algorithm>
#include <string>
#include <vector>
using namespace std;
vector<int> failure;
vector<size_t> mached;
void buildTable(string &w) {
failure.resize(w.size());
int i = 2, j = 0;
failure[0] = -1;
failure[1] = 0;
while (i < w.length()) {
if (w[i - 1] == w[j]) {
failure[... | 14.123077 | 33 | 0.489107 | [
"vector"
] |
5ab11e81a74b926f69088620572fff7810c85fa5 | 2,352 | hpp | C++ | Geometry/NumPairHashTable.hpp | COFS-UWA/MPM3D | 1a0c5dc4e92dff3855367846002336ca5a18d124 | [
"MIT"
] | null | null | null | Geometry/NumPairHashTable.hpp | COFS-UWA/MPM3D | 1a0c5dc4e92dff3855367846002336ca5a18d124 | [
"MIT"
] | 2 | 2020-10-19T02:03:11.000Z | 2021-03-19T16:34:39.000Z | Geometry/NumPairHashTable.hpp | COFS-UWA/MPM3D | 1a0c5dc4e92dff3855367846002336ca5a18d124 | [
"MIT"
] | 1 | 2020-04-28T00:33:14.000Z | 2020-04-28T00:33:14.000Z | #ifndef __Num_Pair_Hash_Table_hpp__
#define __Num_Pair_Hash_Table_hpp__
#include "ItemBuffer.hpp"
// assistent data structs for tetrahedron mesh
template <typename Num>
class NumPairHashTable
{
public:
struct NumPair
{
Num key;
Num val;
NumPair *next;
};
protected:
size_t entry_num;
NumPair **num_pair_lis... | 20.452174 | 69 | 0.646259 | [
"mesh"
] |
62c36d0ffec8e12c105efd2df70e9bbebb661365 | 3,230 | cpp | C++ | adaptors/default/job/test/test_job_get_stdio.cpp | saga-project/saga-cpp | 7376c0de0529e7d7b80cf08b94ec484c2e56d38e | [
"BSL-1.0"
] | 5 | 2015-09-15T16:24:14.000Z | 2021-08-12T11:05:55.000Z | adaptors/default/job/test/test_job_get_stdio.cpp | saga-project/saga-cpp | 7376c0de0529e7d7b80cf08b94ec484c2e56d38e | [
"BSL-1.0"
] | null | null | null | adaptors/default/job/test/test_job_get_stdio.cpp | saga-project/saga-cpp | 7376c0de0529e7d7b80cf08b94ec484c2e56d38e | [
"BSL-1.0"
] | 3 | 2016-11-17T04:38:38.000Z | 2021-04-10T17:23:52.000Z |
#include <saga/saga.hpp>
int main (int argc, char** argv)
{
int err = 0;
try
{
/////////////////////////////////////////////////////////////////////////
// get_stdin/get_stdou/get_stderr are best tested in combination, so that
// we can see if what is entered on stdin arrives at stdout/stderr.
... | 25.84 | 82 | 0.478947 | [
"vector"
] |
62ccdf63f5a8fd01ce8c182de18498c5ecdf8d00 | 2,052 | cpp | C++ | Codeforces/594D.cpp | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | 18 | 2019-01-01T13:16:59.000Z | 2022-02-28T04:51:50.000Z | Codeforces/594D.cpp | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | null | null | null | Codeforces/594D.cpp | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | 5 | 2019-09-13T08:48:17.000Z | 2022-02-19T06:59:03.000Z | #include <bits/stdc++.h>
#define MAXN 200005
#define MAXM 1000005
#define fi first
#define se second
using namespace std;
const int M=1e9+7;
int n,m,l,r,a[MAXN],ans[MAXN],c[MAXN],mul[MAXN],imul[MAXN];
int tot,prime[MAXM],inv[MAXM],las[MAXM];
bool not_prime[MAXM];
vector <pair<int,int> > q[MAXN];
vector <int> f[MAXM];... | 20.316832 | 84 | 0.568713 | [
"vector"
] |
62d12bff1094bae8f720c96312d2febc5cc197f0 | 1,099 | hpp | C++ | Shell.hpp | iliaskap12/my-shell | 62dac3d40496fc58c48a6753325848322a60ccc9 | [
"Unlicense"
] | null | null | null | Shell.hpp | iliaskap12/my-shell | 62dac3d40496fc58c48a6753325848322a60ccc9 | [
"Unlicense"
] | null | null | null | Shell.hpp | iliaskap12/my-shell | 62dac3d40496fc58c48a6753325848322a60ccc9 | [
"Unlicense"
] | null | null | null | //
// Created by ilias on 9/8/21.
//
#ifndef MY_SHELL_SHELL_HPP
#define MY_SHELL_SHELL_HPP
#include "Builtin.hpp"
using builtinFunctionPointer_t = Status (Builtin::*)(const std::vector<std::string>&) const;
using commandToFunctionMap_t = const std::unordered_map<std::string, builtinFunctionPointer_t>;
class Shell
{... | 28.921053 | 95 | 0.722475 | [
"vector"
] |
62dd920aff199a2ef2955dbbe9a50d6cea2e581b | 2,865 | hpp | C++ | Client/src/Client/Game.hpp | Zephilinox/Ricochet | 9ace649ecb1ccc0fa6e8b8d35b449676452d0616 | [
"Unlicense"
] | null | null | null | Client/src/Client/Game.hpp | Zephilinox/Ricochet | 9ace649ecb1ccc0fa6e8b8d35b449676452d0616 | [
"Unlicense"
] | null | null | null | Client/src/Client/Game.hpp | Zephilinox/Ricochet | 9ace649ecb1ccc0fa6e8b8d35b449676452d0616 | [
"Unlicense"
] | null | null | null | #pragma once
//SELF
//LIBS
#include <Core/Window/Window.hpp>
#include <Core/Input/Input.hpp>
#include <Core/IMGUI/IMGUI.hpp>
#include <Core/Raytrace/Ray.hpp>
#include <Core/Raytrace/Scene.hpp>
#include <Core/Raytrace/Frame.hpp>
#include <Core/Raytrace/Camera.hpp>
#include <Core/Raytrace/Shape/Shape.hpp>
#include <Cor... | 28.65 | 105 | 0.558115 | [
"render",
"shape"
] |
62fc58912c6e4e29a09d5265fa2ae03b19b354ce | 2,226 | cpp | C++ | competitive programming/leetcode/733. Flood Fill.cpp | sureshmangs/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | 16 | 2020-06-02T19:22:45.000Z | 2022-02-05T10:35:28.000Z | competitive programming/leetcode/733. Flood Fill.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | null | null | null | competitive programming/leetcode/733. Flood Fill.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | 2 | 2020-08-27T17:40:06.000Z | 2022-02-05T10:33:52.000Z | An image is represented by a 2-D array of integers,
each integer representing the pixel value of the image (from 0 to 65535).
Given a coordinate (sr, sc) representing the starting pixel (row and column) of the flood fill,
and a pixel value newColor, "flood fill" the image.
To perform a "flood fill", consider the sta... | 37.728814 | 108 | 0.647799 | [
"vector"
] |
62ffe13ca3d9e7dc671aa1433502791b9b928bfb | 1,252 | hh | C++ | commands/tri-cmd.hh | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | 10 | 2016-12-28T22:06:31.000Z | 2021-05-24T13:42:30.000Z | commands/tri-cmd.hh | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | 4 | 2015-10-09T23:55:10.000Z | 2020-04-04T08:09:22.000Z | commands/tri-cmd.hh | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | null | null | null | // -*- coding: us-ascii-unix -*-
// Copyright 2012 Lukas Kemmer
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You
// may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | 27.217391 | 70 | 0.744409 | [
"object"
] |
1a061e0c38efcbcac77818a301da1be3358383d8 | 2,255 | cpp | C++ | vox.render/lighting/sprite/sprite_debug.cpp | ArcheGraphics/Arche-cpp | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | 8 | 2022-02-15T12:54:57.000Z | 2022-03-30T16:35:58.000Z | vox.render/lighting/sprite/sprite_debug.cpp | yangfengzzz/DigitalArche | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | null | null | null | vox.render/lighting/sprite/sprite_debug.cpp | yangfengzzz/DigitalArche | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | null | null | null | // Copyright (c) 2022 Feng Yang
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#include "sprite_debug.h"
#include "sprite_debug_material.h"
#include "mesh/mesh_renderer.h"
#includ... | 37.583333 | 104 | 0.716186 | [
"mesh"
] |
1a0c48fbee83fcb607711d733dd24434a71218c3 | 64,004 | hpp | C++ | src/ScaFES_Parameters.hpp | nih23/MRIDrivenHeatSimulation | de6d16853df1faf44c700d1fc06584351bf6c816 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/ScaFES_Parameters.hpp | nih23/MRIDrivenHeatSimulation | de6d16853df1faf44c700d1fc06584351bf6c816 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/ScaFES_Parameters.hpp | nih23/MRIDrivenHeatSimulation | de6d16853df1faf44c700d1fc06584351bf6c816 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /* ScaFES
* Copyright (c) 2011-2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Parameters.hpp
* @brief Contains the class Parameters.
*/
#ifndef SCAFES_PARAMETERS_HPP_
#define SCAFES_PARAMETERS_... | 34.747014 | 199 | 0.490735 | [
"vector"
] |
1a0cc3f65ac1e0febf9a40a29dcdb6016ff9e005 | 1,657 | cpp | C++ | Hacker Rank/Datastructure/Array/Hacker Rank - Sparse Arrays.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 28 | 2017-11-08T11:52:11.000Z | 2021-07-16T06:30:02.000Z | Hacker Rank/Datastructure/Array/Hacker Rank - Sparse Arrays.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | null | null | null | Hacker Rank/Datastructure/Array/Hacker Rank - Sparse Arrays.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 30 | 2017-09-01T09:14:27.000Z | 2021-04-12T12:08:56.000Z | //#Name: Anonta Haque #Problm: hacker Rank Sparse Arrays
//https://www.hackerrank.com/challenges/sparse-arrays/submissions/code/19307682
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
#include <cstring>
#include <cstdlib>
#include <cstdarg>
#include <utility>
#include <cctype>
#include... | 18.208791 | 91 | 0.575739 | [
"vector"
] |
1a0d89dcbab5fa09c49993c0f6b587f92cd5bce9 | 3,783 | cpp | C++ | sux.cpp | philippebourcier/sux | d3df021ce3cb973af7a00b8dd55dfd16f5e1e29d | [
"BSD-2-Clause"
] | null | null | null | sux.cpp | philippebourcier/sux | d3df021ce3cb973af7a00b8dd55dfd16f5e1e29d | [
"BSD-2-Clause"
] | null | null | null | sux.cpp | philippebourcier/sux | d3df021ce3cb973af7a00b8dd55dfd16f5e1e29d | [
"BSD-2-Clause"
] | null | null | null | /*
________ ______ ___
/ ___/ || \ \/ /
_\___ \| |/ /> <
/______>______//__/\_ \
\/ v1.01
written by Philippe Bourcier
with input from Serge Danzanvilliers
with fixes by Pierre Ynard
This code is published under the BSD License:
http://www.opensource.org/... | 24.564935 | 92 | 0.49511 | [
"vector"
] |
1a13164b797658ef38d113982b7cb9485e1bd6b9 | 618 | cpp | C++ | LeetCode/Combinations/Solution.cpp | maochongxin/WorkForTheInternship | 3587f0dd19579de0330b8c33fc7282ed7bba9f5c | [
"MIT"
] | null | null | null | LeetCode/Combinations/Solution.cpp | maochongxin/WorkForTheInternship | 3587f0dd19579de0330b8c33fc7282ed7bba9f5c | [
"MIT"
] | null | null | null | LeetCode/Combinations/Solution.cpp | maochongxin/WorkForTheInternship | 3587f0dd19579de0330b8c33fc7282ed7bba9f5c | [
"MIT"
] | null | null | null | class Solution {
public:
vector<vector<int>> combine(int n, int k) {
vector<vector<int>> res;
if (n < 1 || k > n) {
return res;
}
vector<int> vec;
solve(res, vec, n, k, 1);
return res;
}
void solve(vector<vector<int>>& res, vector<int> vec, int n... | 23.769231 | 83 | 0.427184 | [
"vector"
] |
1a227c01e32fb7dfff15d75c7844056442657ccf | 8,055 | hpp | C++ | include/ivulk/core/command_buffer.hpp | zfzackfrost/incredible_vulk | b5a6eb7072d5dc1d6e7a24d31379c1c6986f225c | [
"MIT"
] | null | null | null | include/ivulk/core/command_buffer.hpp | zfzackfrost/incredible_vulk | b5a6eb7072d5dc1d6e7a24d31379c1c6986f225c | [
"MIT"
] | null | null | null | include/ivulk/core/command_buffer.hpp | zfzackfrost/incredible_vulk | b5a6eb7072d5dc1d6e7a24d31379c1c6986f225c | [
"MIT"
] | null | null | null | /**
* @file command_buffer.hpp
* @author Zachary Frost
* @copyright MIT License (See LICENSE.md in repostory root)
* @brief `CommandBuffer` class.
*/
#pragma once
#include <ivulk/config.hpp>
#include <ivulk/core/vulkan_resource.hpp>
#include <ivulk/core/shader_stage.hpp>
#include <ivulk/utils/keywords.hpp>
#in... | 37.119816 | 106 | 0.572936 | [
"vector"
] |
1a3303dcfa5b86a2d8774747892c06f4972d84f9 | 1,060 | hpp | C++ | src/thread_local.hpp | ktts16/mini-caffe | 58a5007d7921c69c9c3105b20b92b2136af26a4e | [
"BSD-3-Clause"
] | 413 | 2015-07-09T09:33:07.000Z | 2022-03-10T02:26:27.000Z | src/thread_local.hpp | ktts16/mini-caffe | 58a5007d7921c69c9c3105b20b92b2136af26a4e | [
"BSD-3-Clause"
] | 65 | 2015-07-10T01:38:10.000Z | 2020-08-06T07:27:42.000Z | src/thread_local.hpp | ktts16/mini-caffe | 58a5007d7921c69c9c3105b20b92b2136af26a4e | [
"BSD-3-Clause"
] | 196 | 2015-08-18T07:59:33.000Z | 2021-07-27T02:44:21.000Z | // ThreadLocal Template
#ifndef CAFFE_THREAD_LOCAL_HPP_
#define CAFFE_THREAD_LOCAL_HPP_
#include <vector>
#include <mutex>
#ifdef __GNUC__
#define THREAD_LOCAL __thread
#elif __STDC_VERSION__ >= 201112L
#define THREAD_LOCAL _Thread_local
#elif defined(_MSC_VER)
#define THREAD_LOCAL __declspec(thread)
#endif
#ifndef ... | 19.272727 | 48 | 0.689623 | [
"vector"
] |
1a3620c61225affbba9095ee6d76cc11fc4b8aa3 | 4,922 | hpp | C++ | src/imageio/itkdetails/ImageIOInfo.hpp | halfmvsq/histolozee | c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5 | [
"Apache-2.0"
] | null | null | null | src/imageio/itkdetails/ImageIOInfo.hpp | halfmvsq/histolozee | c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5 | [
"Apache-2.0"
] | null | null | null | src/imageio/itkdetails/ImageIOInfo.hpp | halfmvsq/histolozee | c624c0d7c3a70bcc0d6aac87b4f24677e064b6a5 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "itkdetails/IITKImageIOInfo.hpp"
#include <itkImageBase.h>
#include <boost/variant.hpp>
#include <string>
#include <unordered_map>
namespace itkdetails
{
/// @brief Definitions in this namespace are for ITK image IO.
/// With the exception of SPIRAL codes, nothing is specific to image type ... | 25.502591 | 87 | 0.677367 | [
"vector"
] |
1a3bcf937109595b466695f4d400453607a8142c | 2,740 | cpp | C++ | Workshops/salaries_completed.cpp | hoelzl/CleanCodeCppCatch | 88861faf48967e840b1d66f7faf94c0e9bef26a4 | [
"MIT"
] | null | null | null | Workshops/salaries_completed.cpp | hoelzl/CleanCodeCppCatch | 88861faf48967e840b1d66f7faf94c0e9bef26a4 | [
"MIT"
] | null | null | null | Workshops/salaries_completed.cpp | hoelzl/CleanCodeCppCatch | 88861faf48967e840b1d66f7faf94c0e9bef26a4 | [
"MIT"
] | null | null | null | #include "salaries_completed.h"
#include <array>
#include <iostream>
#include <stdexcept>
#include <string>
#include <vector>
void assert_valid_day_number(int day_number);
double process_salary(int day_number, double salary_per_day,
const char* employee_name,
std::vector<do... | 29.148936 | 73 | 0.677737 | [
"vector"
] |
1a48826d3e1d16519137d4fb3bcdf5782b7d5f71 | 1,272 | cpp | C++ | Chapter 8/CustomQmlElementsTest/quickitemtriangle.cpp | mrkkrj/Hands-On-High-performance-with-QT | baab230ff7cfefd58421f4cbb4ab48492fa9ae54 | [
"MIT"
] | 43 | 2018-10-20T15:32:42.000Z | 2022-03-24T06:13:32.000Z | Chapter 8/CustomQmlElementsTest/quickitemtriangle.cpp | mrkkrj/Hands-On-High-performance-with-QT | baab230ff7cfefd58421f4cbb4ab48492fa9ae54 | [
"MIT"
] | null | null | null | Chapter 8/CustomQmlElementsTest/quickitemtriangle.cpp | mrkkrj/Hands-On-High-performance-with-QT | baab230ff7cfefd58421f4cbb4ab48492fa9ae54 | [
"MIT"
] | 15 | 2018-11-03T14:03:51.000Z | 2021-11-11T07:48:46.000Z | #include "quickitemtriangle.h"
#include <QSGNode>
#include<QSGFlatColorMaterial>
QuickItemTriangle::QuickItemTriangle(QQuickItem* parent)
: QQuickItem(parent)
{
setFlag(QQuickItem::ItemHasContents, true);
}
QSGNode* QuickItemTriangle::updatePaintNode(QSGNode* oldNode, UpdatePaintNodeData* data)
{
if (w... | 25.44 | 89 | 0.668239 | [
"geometry"
] |
1a48a68d0bc3511c5b9d2aa7e03343711fc47f53 | 29,286 | cpp | C++ | src/bind/bt_CollisionWorld.cpp | lubyk/bt | 479561766e8578d670d5e215ae5d301c7a4d92dd | [
"Zlib"
] | 4 | 2015-01-02T01:06:01.000Z | 2019-03-21T00:18:27.000Z | src/bind/bt_CollisionWorld.cpp | lubyk/bt | 479561766e8578d670d5e215ae5d301c7a4d92dd | [
"Zlib"
] | 1 | 2015-01-02T22:43:49.000Z | 2015-04-09T16:13:36.000Z | src/bind/bt_CollisionWorld.cpp | lubyk/bt | 479561766e8578d670d5e215ae5d301c7a4d92dd | [
"Zlib"
] | null | null | null | /**
*
* MACHINE GENERATED FILE. DO NOT EDIT.
*
* Bindings for class btCollisionWorld
*
* This file has been generated by dub 2.2.1.
*/
#include "dub/dub.h"
#include "BulletCollision/CollisionDispatch/btCollisionWorld.h"
/** btCollisionWorld::btCollisionWorld(btDispatcher *dispatcher, btBroadphaseInterface *bro... | 45.974882 | 331 | 0.721573 | [
"shape",
"transform"
] |
1a4f0d6ed29f1f42a6ea54a775dda57688853756 | 1,147 | cpp | C++ | A12/docMaker.cpp | SoniCoder/Parallel_Computing-2018 | 609a75c6e5849a67741b1287f61bfabd6cb3de1d | [
"MIT"
] | null | null | null | A12/docMaker.cpp | SoniCoder/Parallel_Computing-2018 | 609a75c6e5849a67741b1287f61bfabd6cb3de1d | [
"MIT"
] | 1 | 2018-02-20T12:36:53.000Z | 2018-02-20T12:37:27.000Z | A12/docMaker.cpp | SoniCoder/Parallel_Computing-2018 | 609a75c6e5849a67741b1287f61bfabd6cb3de1d | [
"MIT"
] | 1 | 2018-02-11T15:31:07.000Z | 2018-02-11T15:31:07.000Z | #include <cstdlib>
#include <fstream>
#include <iostream>
#include <mpi.h>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
int main(int argc, char * argv[]){
MPI_Init(&argc,&argv);
int rank;
MPI_Comm_rank(MPI_COMM_WORLD,&rank);
srand(time(0)+rank);//Initialize Pseudo-Random Se... | 20.122807 | 65 | 0.660854 | [
"vector"
] |
1a553467f08dbafb4777c452b753415cd938366a | 2,329 | cpp | C++ | cpp/opendnp3/src/opendnp3/master/MasterTaskBase.cpp | tarm/dnp3_orig | 87c639b3462c980fba255e85793f6ec663abe981 | [
"Apache-2.0"
] | null | null | null | cpp/opendnp3/src/opendnp3/master/MasterTaskBase.cpp | tarm/dnp3_orig | 87c639b3462c980fba255e85793f6ec663abe981 | [
"Apache-2.0"
] | null | null | null | cpp/opendnp3/src/opendnp3/master/MasterTaskBase.cpp | tarm/dnp3_orig | 87c639b3462c980fba255e85793f6ec663abe981 | [
"Apache-2.0"
] | 3 | 2016-07-13T18:54:13.000Z | 2021-04-12T13:30:39.000Z | /**
* Licensed to Green Energy Corp (www.greenenergycorp.com) under one or
* more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Green Energy Corp licenses this file to you under the Apache License,
* Version 2.0 (the "Li... | 29.858974 | 104 | 0.766853 | [
"object"
] |
1a5957d0d5e201ed02f741261ebe310e2115e9e1 | 1,336 | cpp | C++ | Merge_k_Sorted_Lists_v2.cpp | xiekc/leetcode | 56dc65850ac68752f7c6f50f8b35eb23bfafed93 | [
"MIT"
] | null | null | null | Merge_k_Sorted_Lists_v2.cpp | xiekc/leetcode | 56dc65850ac68752f7c6f50f8b35eb23bfafed93 | [
"MIT"
] | null | null | null | Merge_k_Sorted_Lists_v2.cpp | xiekc/leetcode | 56dc65850ac68752f7c6f50f8b35eb23bfafed93 | [
"MIT"
] | null | null | null | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
/**
* time complexity: N*logk
*/
#include <queue>
#include <vector>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x... | 24.740741 | 71 | 0.478293 | [
"vector"
] |
1a5aa2970ac8596ab0566f51523263cadba9c6ae | 8,056 | cpp | C++ | src/mumble/PositionalSound.cpp | main--/mumble | e1bdd6564bb0445c535d3c711e5142d9bafa13d8 | [
"BSD-3-Clause"
] | 2 | 2017-03-20T22:18:53.000Z | 2018-12-12T09:34:27.000Z | src/mumble/PositionalSound.cpp | Rantanen/mumble | 762122319381bd9d5f23f497c68aad5186e30d91 | [
"BSD-3-Clause"
] | null | null | null | src/mumble/PositionalSound.cpp | Rantanen/mumble | 762122319381bd9d5f23f497c68aad5186e30d91 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com>
Copyright (C) 2008, Andreas Messer <andi@bupfen.de>
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... | 27.972222 | 126 | 0.707795 | [
"model"
] |
1a6383bf1233296f8118b0ed2ef4a0ada9875a8b | 1,064 | hpp | C++ | lumino/LuminoEngine/include/LuminoEngine/Scene/Common.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 113 | 2020-03-05T01:27:59.000Z | 2022-03-28T13:20:51.000Z | lumino/LuminoEngine/include/LuminoEngine/Scene/Common.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 35 | 2016-04-18T06:14:08.000Z | 2020-02-09T15:51:58.000Z | lumino/LuminoEngine/include/LuminoEngine/Scene/Common.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 12 | 2020-12-21T12:03:59.000Z | 2021-12-15T02:07:49.000Z |
#pragma once
#include <LuminoEngine/Base/Delegate.hpp>
#include <LuminoEngine/Graphics/ColorStructs.hpp>
namespace ln {
class MeshModel;
class MeshComponent;
class ParticleEmitterComponent2;
class WorldObject;
class World;
class WorldRenderView;
class Level;
class Camera;
class Raycaster;
class Rayc... | 18.344828 | 64 | 0.736842 | [
"render"
] |
1a6db51b51be1764d6ebdf42f41d115a035c2a6f | 1,703 | cpp | C++ | bytecode/generator/src/Generator/GeneratorOperatorUserDefinedObject.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 3 | 2019-04-08T17:34:19.000Z | 2020-01-03T04:47:06.000Z | bytecode/generator/src/Generator/GeneratorOperatorUserDefinedObject.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 4 | 2020-04-19T22:09:06.000Z | 2020-11-06T15:47:08.000Z | bytecode/generator/src/Generator/GeneratorOperatorUserDefinedObject.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | null | null | null | #include "Config/LoggerConfigLang.h"
#include <string>
#include "NodeValue/AST.h"
#include "GeneratorOperatorUserDefinedObject.h"
#include "BytecodeCommand.h"
#include "Generator/Value/BytecodeScriptGenerationHelper.h"
#include "Generator/Value/BytecodeSymbolInfo.h"
SKA_LOGC_CONFIG(ska::LogLevel::Disabled, ska::byteco... | 41.536585 | 157 | 0.760423 | [
"object"
] |
2b3258e5d6c9a6dbaa61d050988a31d9397f2613 | 5,242 | hpp | C++ | test/test-constants.hpp | rpetrano/libndef-lite | 6df1d55bd525bb00e7242979b8e7e3422375f643 | [
"MIT"
] | null | null | null | test/test-constants.hpp | rpetrano/libndef-lite | 6df1d55bd525bb00e7242979b8e7e3422375f643 | [
"MIT"
] | null | null | null | test/test-constants.hpp | rpetrano/libndef-lite | 6df1d55bd525bb00e7242979b8e7e3422375f643 | [
"MIT"
] | 1 | 2021-03-08T20:46:28.000Z | 2021-03-08T20:46:28.000Z | #ifndef TEST_CONSTANTS_HPP
#define TEST_CONSTANTS_HPP
#include <string>
#include <vector>
// clang-format off
static const std::vector<uint8_t> invalid_record_bytes{ 0xd3, 0x4d, 0xb3, 0x3f };
static const std::vector<uint8_t> valid_text_record_bytes_sr{
// Record Header
// - Message Begin (1b), Message End (1b), ... | 37.177305 | 115 | 0.67169 | [
"vector"
] |
2b32e44fc5ddded2fd317dcc408de09fc17259d2 | 1,065 | cpp | C++ | leetcode/medium/63. Unique Paths II.cpp | Jeongseo21/Algorithm-1 | 1bce4f3d2328c3b3e24b9d7772fca43090a285e1 | [
"MIT"
] | 7 | 2019-08-05T14:49:41.000Z | 2022-03-13T07:10:51.000Z | leetcode/medium/63. Unique Paths II.cpp | Jeongseo21/Algorithm-1 | 1bce4f3d2328c3b3e24b9d7772fca43090a285e1 | [
"MIT"
] | null | null | null | leetcode/medium/63. Unique Paths II.cpp | Jeongseo21/Algorithm-1 | 1bce4f3d2328c3b3e24b9d7772fca43090a285e1 | [
"MIT"
] | 4 | 2021-01-04T03:45:22.000Z | 2021-10-06T06:11:00.000Z | /**
* problem : https://leetcode.com/problems/unique-paths-ii/
* algorithm : DP
* time complexity : O(NM)
*/
class Solution {
public:
vector<vector<int>> d = vector<vector<int>>();
vector<vector<int>> obstacle = vector<vector<int>>();
int row = 0;
int col = 0;
int dx[2] = {0, 1};
int dy[2]... | 23.666667 | 69 | 0.451643 | [
"vector"
] |
2b36a881aab466056971657ae935b89d11aadfe0 | 6,606 | cc | C++ | plugins/textual/sql_csv_scope.cc | kstepanmpmg/mldb | f78791cd34d01796705c0f173a14359ec1b2e021 | [
"Apache-2.0"
] | 665 | 2015-12-09T17:00:14.000Z | 2022-03-25T07:46:46.000Z | plugins/textual/sql_csv_scope.cc | tomzhang/mldb | a09cf2d9ca454d1966b9e49ae69f2fe6bf571494 | [
"Apache-2.0"
] | 797 | 2015-12-09T19:48:19.000Z | 2022-03-07T02:19:47.000Z | plugins/textual/sql_csv_scope.cc | matebestek/mldb | f78791cd34d01796705c0f173a14359ec1b2e021 | [
"Apache-2.0"
] | 103 | 2015-12-25T04:39:29.000Z | 2022-02-03T02:55:22.000Z | /** sql_csv_scope.h -*- C++ -*-
Jeremy Barnes, 27 June 2017
Copyright (c) 2017 Element AI Inc. All rights reserved.
*/
#include "sql_csv_scope.h"
#include "mldb/types/annotated_exception.h"
#include "mldb/types/basic_value_descriptions.h"
using namespace std;
... | 34.768421 | 87 | 0.514078 | [
"vector"
] |
2b4ff47d5924c8f1a12a69158650e4a28903056e | 2,845 | cpp | C++ | test/ArticleTests.cpp | dueringa/WikiWalker | 24a83936efac1e217af949275b0677861c216957 | [
"MIT"
] | null | null | null | test/ArticleTests.cpp | dueringa/WikiWalker | 24a83936efac1e217af949275b0677861c216957 | [
"MIT"
] | 1 | 2018-03-17T15:42:18.000Z | 2018-03-19T11:49:03.000Z | test/ArticleTests.cpp | dueringa/WikiWalker | 24a83936efac1e217af949275b0677861c216957 | [
"MIT"
] | null | null | null | #include <UnitTest++/UnitTest++.h>
#include <algorithm>
#include <iterator>
#include <memory>
#include <vector>
#include "Article.h"
#include "WalkerException.h"
SUITE(ArticleTests)
{
using namespace WikiWalker;
TEST(Article_GetCountLinks_Uninited_ThrowsException)
{
Article a("Foo");
CHECK_EQUAL(false... | 24.316239 | 79 | 0.628822 | [
"vector",
"transform"
] |
2b503af711d214f5b3700f3aa5a0ca484dd62b6c | 12,330 | hxx | C++ | opencascade/gp_Quaternion.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/gp_Quaternion.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/gp_Quaternion.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | // Created on: 2010-05-11
// Created by: Kirill GAVRILOV
// Copyright (c) 2010-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 ... | 34.25 | 161 | 0.65588 | [
"vector",
"3d"
] |
2b5ee093557cb79e29222fd0960870a38ec9d56b | 8,849 | hpp | C++ | src/csv.hpp | MattKang/std-csv | 30af46538a156c723f1a4b9f905a7114c3024ffd | [
"MIT"
] | 2 | 2019-05-14T04:04:42.000Z | 2019-12-15T20:47:32.000Z | src/csv.hpp | MattKang/std-csv | 30af46538a156c723f1a4b9f905a7114c3024ffd | [
"MIT"
] | null | null | null | src/csv.hpp | MattKang/std-csv | 30af46538a156c723f1a4b9f905a7114c3024ffd | [
"MIT"
] | null | null | null | //
// Created by Matthew Kang on 2019-04-25.
//
#ifndef CSV_HPP
#define CSV_HPP
#include <array>
#include <fstream>
#include <regex>
#include <sstream>
#include <tuple>
#include <vector>
namespace csv
{
using ignore = std::tuple<>;
/// @brief Defines std::tuple<FilteredTs...>
template<typename... Ts>
using Filtere... | 31.049123 | 111 | 0.606057 | [
"vector"
] |
2b60986549d643165038ea46a66c13804851f23e | 2,664 | hpp | C++ | include/mandoline/vertex.hpp | mtao/mandoline | 79438c5b210a2ca4b9f72cbfd2879a9ae6a665da | [
"MIT"
] | 54 | 2019-11-12T11:07:03.000Z | 2022-03-23T11:09:19.000Z | include/mandoline/vertex.hpp | mtao/mandoline | 79438c5b210a2ca4b9f72cbfd2879a9ae6a665da | [
"MIT"
] | 2 | 2019-12-17T01:49:44.000Z | 2020-03-29T19:46:36.000Z | include/mandoline/vertex.hpp | mtao/mandoline | 79438c5b210a2ca4b9f72cbfd2879a9ae6a665da | [
"MIT"
] | 8 | 2019-11-29T02:30:49.000Z | 2022-02-19T06:15:22.000Z | #pragma once
#include <set>
#include <mtao/types.hpp>
#include <variant>
#include "mandoline/coord_mask.hpp"
#define __STATIC_TEST__
namespace mandoline {
#if defined(_MSC_VER) || defined(__APPLE__) || defined(__STATIC_TEST__)
extern const double threshold_epsilon;
#else
//TODO: sqrt isn't constepxr on mac
constexpr... | 30.272727 | 104 | 0.696697 | [
"vector"
] |
2b6bd22c790b159ab965f27003f3117ddfb02258 | 219 | hxx | C++ | include/ChebyshevWindow.hxx | kb1vc/SoDaSignals | f7ae9be3e8865e24e9b61643f099b59f5a5efd1a | [
"BSD-2-Clause"
] | null | null | null | include/ChebyshevWindow.hxx | kb1vc/SoDaSignals | f7ae9be3e8865e24e9b61643f099b59f5a5efd1a | [
"BSD-2-Clause"
] | null | null | null | include/ChebyshevWindow.hxx | kb1vc/SoDaSignals | f7ae9be3e8865e24e9b61643f099b59f5a5efd1a | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include <vector>
#include <cstddef>
namespace SoDa {
void ChebyshevWindow(std::vector<float> & win, size_t N, float atten);
void ChebyshevWindow(std::vector<double> & win, size_t N, float atten);
}
| 27.375 | 76 | 0.716895 | [
"vector"
] |
2b6bdb5829318d8483428450090f3340346b5767 | 5,507 | cpp | C++ | Engine/ModuleInput.cpp | SOLID-TEAM/SOLID_ENGINE | 7fa9eccc28217d49a937fcf1dcfc052716825d30 | [
"MIT"
] | 2 | 2019-11-22T23:34:36.000Z | 2019-11-27T10:27:35.000Z | Engine/ModuleInput.cpp | SOLID-TEAM/SOLID_ENGINE | 7fa9eccc28217d49a937fcf1dcfc052716825d30 | [
"MIT"
] | null | null | null | Engine/ModuleInput.cpp | SOLID-TEAM/SOLID_ENGINE | 7fa9eccc28217d49a937fcf1dcfc052716825d30 | [
"MIT"
] | null | null | null | #include "Globals.h"
#include "Application.h"
#include "ModuleInput.h"
#include "ModuleEditor.h"
#include "W_Config.h"
#include "W_Rendering.h"
#include "Event.h"
#include "ImGui/Impl/imgui_impl_sdl.h"
#include "ImGui/imgui_internal.h"
// TODO: DELETE FROM HERE
#include "C_Material.h"
#include "Component.h"
#include ... | 20.859848 | 83 | 0.666243 | [
"render"
] |
2b7913e23292e9240f7cbac6a7b37c35a5c763a4 | 5,424 | hh | C++ | src/t123/internal/MORE_GTEST_MACROS.hh | wawiesel/Testing123 | 54ee29511736bf35a5340c73f1fdf49615fb82d8 | [
"MIT"
] | 2 | 2017-02-01T00:39:00.000Z | 2017-03-20T02:56:19.000Z | src/t123/internal/MORE_GTEST_MACROS.hh | wawiesel/Testing123 | 54ee29511736bf35a5340c73f1fdf49615fb82d8 | [
"MIT"
] | 6 | 2017-07-15T01:26:56.000Z | 2017-08-22T03:38:30.000Z | src/t123/internal/MORE_GTEST_MACROS.hh | wawiesel/Testing123 | 54ee29511736bf35a5340c73f1fdf49615fb82d8 | [
"MIT"
] | null | null | null | #include <cmath> /*std::abs*/
#include <algorithm> /*std::min*/
//-----------------------------------------------------------------------------
template <typename T1, typename T2>
inline
T1 MIN_SIZE_INTEGER( T1 n1, T2 n2 ) {
return std::min(n1,static_cast<T1>(n2));
}
//--------------------------------------------... | 38.197183 | 187 | 0.535214 | [
"vector"
] |
2b7e0f653922f62758c22181a2a4e297f0983041 | 1,252 | hpp | C++ | include/est/sparse.hpp | naruto2/CodeFEM | eb689aa7573d4ac9fc83d057f99c79a5d8f3bd90 | [
"MIT"
] | 1 | 2020-09-27T07:28:04.000Z | 2020-09-27T07:28:04.000Z | include/est/sparse.hpp | naruto2/CodeFEM | eb689aa7573d4ac9fc83d057f99c79a5d8f3bd90 | [
"MIT"
] | null | null | null | include/est/sparse.hpp | naruto2/CodeFEM | eb689aa7573d4ac9fc83d057f99c79a5d8f3bd90 | [
"MIT"
] | null | null | null | #ifndef _EST_SPARSE_HPP_
#define _EST_SPARSE_HPP_
#include <iostream>
#include <vector>
#include <map>
#include <cstdio>
#include <unistd.h>
using namespace std;
namespace sparse {
template<typename T>
class matrix : public vector< map<long, T> > {
public:
matrix(){}
matrix(long n) : vector< map<long,... | 19.873016 | 63 | 0.525559 | [
"vector"
] |
2b83c307452294ccf2b38e7a38bdb3b9adb5e474 | 60,141 | cpp | C++ | platforms/build_android_x86/modules/java/photo.cpp | swinstonMirada/opencv | 6bf40d535215b118fcd41d50eacfa41349bb86d2 | [
"BSD-3-Clause"
] | null | null | null | platforms/build_android_x86/modules/java/photo.cpp | swinstonMirada/opencv | 6bf40d535215b118fcd41d50eacfa41349bb86d2 | [
"BSD-3-Clause"
] | null | null | null | platforms/build_android_x86/modules/java/photo.cpp | swinstonMirada/opencv | 6bf40d535215b118fcd41d50eacfa41349bb86d2 | [
"BSD-3-Clause"
] | null | null | null |
//
// This file is auto-generated, please don't edit!
//
#define LOG_TAG "org.opencv.photo"
#include "common.h"
#include "opencv2/opencv_modules.hpp"
#ifdef HAVE_OPENCV_PHOTO
#include <string>
#include "opencv2/photo.hpp"
using namespace cv;
/// throw java exception
static void throwJavaException(JNIEnv *env, c... | 31.921975 | 204 | 0.678489 | [
"vector"
] |
2b864fb43a3380163287f948ea7fbf1725a57921 | 1,927 | cpp | C++ | chapter02/problem_15/main.cpp | AhmedShaban94/the_modern_cpp_challenge_solutions | c5ea164ecc224389ee35db12126eeee2bc459564 | [
"MIT"
] | 1 | 2021-07-08T15:34:14.000Z | 2021-07-08T15:34:14.000Z | chapter02/problem_15/main.cpp | AhmedShaban94/the_modern_cpp_challenge_solutions | c5ea164ecc224389ee35db12126eeee2bc459564 | [
"MIT"
] | null | null | null | chapter02/problem_15/main.cpp | AhmedShaban94/the_modern_cpp_challenge_solutions | c5ea164ecc224389ee35db12126eeee2bc459564 | [
"MIT"
] | null | null | null | #include "catch2/catch.hpp"
#include "Ipv4.hpp"
TEST_CASE("IPv4 Address class constructor validation", "[IPv4]")
{
const std::unordered_map<std::string, std::uint32_t> validIpAddresses{
{"255.255.255.255", 4294967295}, {"128.147.0.1", 2157117441},
{"123.70.50.1", 2068197889}, {"128.107.20.1", 21545... | 36.358491 | 100 | 0.451479 | [
"vector"
] |
2b8cc0a62c481a656c405384c22246df0761df19 | 8,000 | cpp | C++ | TaylorGreenVortex.cpp | zhaoweifeng1991/LBM-code-for-curved-boundaries | 3acac478fdfef9ee9232b41cfdbbceb49656123d | [
"MIT"
] | 2 | 2018-12-03T01:53:46.000Z | 2021-12-01T20:32:06.000Z | TaylorGreenVortex.cpp | zhaoweifeng1991/LBM-code-for-curved-boundaries | 3acac478fdfef9ee9232b41cfdbbceb49656123d | [
"MIT"
] | null | null | null | TaylorGreenVortex.cpp | zhaoweifeng1991/LBM-code-for-curved-boundaries | 3acac478fdfef9ee9232b41cfdbbceb49656123d | [
"MIT"
] | 1 | 2022-02-17T13:50:19.000Z | 2022-02-17T13:50:19.000Z | ///////////////// Taylor-Green vortex flow with curved boundaries, convex scheme
#include<iostream>
#include<cmath>
#include<cstdlib>
#include<iomanip>
#include<fstream>
#include<sstream>
#include<string>
#include<stdio.h>
using namespace std;
const int Q=9;
const int NX=39;
const int NY=39;
const doubl... | 21.917808 | 168 | 0.449 | [
"mesh",
"shape"
] |
2b8ce630bb294e4228db926a0251c6a99b457242 | 3,051 | cpp | C++ | nw2fbx/export_info.cpp | Karbust/nwn2mdk | 0ec3efa1f75aa5df481a95f4b9d8e921b7881613 | [
"Apache-2.0"
] | 23 | 2017-09-21T23:17:07.000Z | 2022-02-20T19:34:35.000Z | nw2fbx/export_info.cpp | Karbust/nwn2mdk | 0ec3efa1f75aa5df481a95f4b9d8e921b7881613 | [
"Apache-2.0"
] | 7 | 2017-05-18T13:07:51.000Z | 2020-04-07T00:02:30.000Z | nw2fbx/export_info.cpp | Karbust/nwn2mdk | 0ec3efa1f75aa5df481a95f4b9d8e921b7881613 | [
"Apache-2.0"
] | 4 | 2019-05-05T13:51:24.000Z | 2021-01-19T04:00:39.000Z | #include <fstream>
#include <filesystem>
#include <iostream>
#include "config.h"
#include "export_info.h"
using namespace std;
namespace fs = std::filesystem;
void process_fbx_bones(Dependency& dep)
{
FbxNode* ribcage = nullptr;
for (auto it = dep.fbx_bones.begin(); it != dep.fbx_bones.end();) {
if (strncmp((*i... | 26.076923 | 68 | 0.656506 | [
"vector"
] |
2b90d7a0f1fd6c22a20d54e4a82562585b1f519c | 2,505 | cpp | C++ | src/IO/Surface_Mesh_IO/ObjFileLoader.cpp | Oncle-Ha/peridyno | 7952252923d637685bf3a982856aca8095b78c50 | [
"Apache-2.0"
] | 22 | 2021-05-26T09:19:07.000Z | 2022-03-28T04:06:21.000Z | src/IO/Surface_Mesh_IO/ObjFileLoader.cpp | Oncle-Ha/peridyno | 7952252923d637685bf3a982856aca8095b78c50 | [
"Apache-2.0"
] | 1 | 2021-07-27T09:43:42.000Z | 2022-02-07T14:47:18.000Z | src/IO/Surface_Mesh_IO/ObjFileLoader.cpp | Oncle-Ha/peridyno | 7952252923d637685bf3a982856aca8095b78c50 | [
"Apache-2.0"
] | 11 | 2021-04-24T03:43:33.000Z | 2022-03-11T14:09:21.000Z | #include "ObjFileLoader.h"
#include <fstream>
#include <iostream>
#include <sstream>
namespace dyno{
ObjFileLoader::ObjFileLoader(std::string filename)
{
load(filename);
}
bool ObjFileLoader::load(const std::string &filename)
{
if (filename.size() < 5 || filename.substr(filename.size() - 4) != std::str... | 22.168142 | 131 | 0.601198 | [
"vector"
] |
2b91a4bff93e77c51cfafceaa38adf0ee032bc8f | 341 | cpp | C++ | cpp/blockchainNativeApi.cpp | t348575/blockchain-api | 9c5ab8046c9ac1e88591bbba7f81126da85f7724 | [
"MIT"
] | null | null | null | cpp/blockchainNativeApi.cpp | t348575/blockchain-api | 9c5ab8046c9ac1e88591bbba7f81126da85f7724 | [
"MIT"
] | null | null | null | cpp/blockchainNativeApi.cpp | t348575/blockchain-api | 9c5ab8046c9ac1e88591bbba7f81126da85f7724 | [
"MIT"
] | null | null | null | #include <napi.h>
#include "blockchainWrapper.h"
#include "blockchain.h"
// InitAll called when addon is included
// BlockChainWrapper::Init wraps the C++ class around the JS class
Napi::Object InitAll(Napi::Env env, Napi::Object exports) {
return BlockChainWrapper::Init(env, exports);
}
NODE_API_MODULE(NODE_GYP_M... | 34.1 | 66 | 0.765396 | [
"object"
] |
2b948af3b77bbe94b9b4a6ca86aded513d09a6ae | 20,028 | cpp | C++ | Source/AllProjects/Drivers/CQSLRepo/MediaRepoMgr/MediaRepoMgr_EdTitleSetDlg.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Drivers/CQSLRepo/MediaRepoMgr/MediaRepoMgr_EdTitleSetDlg.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Drivers/CQSLRepo/MediaRepoMgr/MediaRepoMgr_EdTitleSetDlg.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: MediaRepoMgr_EditTitleSet.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 09/13/2006
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https... | 32.618893 | 89 | 0.56451 | [
"object"
] |
2b9d32e350ccc7df869285fb0d5c958b3ce8d82f | 4,949 | cc | C++ | bin/spectatord_main.cc | copperlight/spectatord | dfc0ec35bc027d090f1d71a3f067fe164ef84b56 | [
"Apache-2.0"
] | null | null | null | bin/spectatord_main.cc | copperlight/spectatord | dfc0ec35bc027d090f1d71a3f067fe164ef84b56 | [
"Apache-2.0"
] | null | null | null | bin/spectatord_main.cc | copperlight/spectatord | dfc0ec35bc027d090f1d71a3f067fe164ef84b56 | [
"Apache-2.0"
] | null | null | null | #include "backward.hpp"
#include "local.h"
#include "util/logger.h"
#include "spectatord.h"
#include "spectator/registry.h"
#include <cstdlib>
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include "absl/flags/usage.h"
#include "absl/strings/numbers.h"
#include "absl/strings/str_split.h"
#include "absl/tim... | 35.099291 | 84 | 0.680946 | [
"vector"
] |
2b9dcce1fbfad46f42dc9a2411df4799d1e55813 | 11,553 | cpp | C++ | NYP_Framework_Week08_SOLUTION/Common/Source/RenderHelper.cpp | KianMarvi/Assignment | 8133acec4dd65bc49316aec8deb3961035bdef27 | [
"MIT"
] | null | null | null | NYP_Framework_Week08_SOLUTION/Common/Source/RenderHelper.cpp | KianMarvi/Assignment | 8133acec4dd65bc49316aec8deb3961035bdef27 | [
"MIT"
] | 8 | 2019-12-29T17:17:00.000Z | 2020-02-07T08:08:01.000Z | NYP_Framework_Week08_SOLUTION/Common/Source/RenderHelper.cpp | KianMarvi/Assignment | 8133acec4dd65bc49316aec8deb3961035bdef27 | [
"MIT"
] | null | null | null | #include "RenderHelper.h"
#include "Mesh.h"
#include "GraphicsManager.h"
#include "ShaderProgram.h"
#include "MatrixStack.h"
bool RenderHelper::bLightEnable = false;
bool RenderHelper::bColorTextureEnabled = false;
bool RenderHelper::bColorTexture = false;
bool RenderHelper::bTextEnabled = false;
/**
* Pre Render Mes... | 30.164491 | 187 | 0.742578 | [
"mesh",
"render",
"transform"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.