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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d7b5f2d8d3b45a6788476aad0e8defa2f6765ed7 | 6,231 | cc | C++ | dense_map/geometry_mapper/tools/get_depth_data_from_mesh.cc | trey0/isaac | 2f8223458f79a9b9fc1ac74d415c94041c19c094 | [
"Apache-2.0"
] | 19 | 2021-11-18T19:29:16.000Z | 2022-02-23T01:55:51.000Z | dense_map/geometry_mapper/tools/get_depth_data_from_mesh.cc | trey0/isaac | 2f8223458f79a9b9fc1ac74d415c94041c19c094 | [
"Apache-2.0"
] | 13 | 2021-11-30T17:14:46.000Z | 2022-03-22T21:38:33.000Z | dense_map/geometry_mapper/tools/get_depth_data_from_mesh.cc | trey0/isaac | 2f8223458f79a9b9fc1ac74d415c94041c19c094 | [
"Apache-2.0"
] | 6 | 2021-12-03T02:38:21.000Z | 2022-02-23T01:52:03.000Z | /* Copyright (c) 2017, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
*
* All rights reserved.
*
* The Astrobee platform is licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with t... | 45.481752 | 120 | 0.708714 | [
"mesh",
"geometry",
"vector"
] |
d7b74f141dd2ec973af13e29f04b04034ca43b81 | 2,004 | hpp | C++ | src/hook/impl.hpp | geode-sdk/core | 25dc195eafd7169ef9696bae081ff38c7bb2d47f | [
"MIT"
] | 1 | 2022-01-21T08:44:41.000Z | 2022-01-21T08:44:41.000Z | src/hook/impl.hpp | geode-sdk/core | 25dc195eafd7169ef9696bae081ff38c7bb2d47f | [
"MIT"
] | 1 | 2022-01-23T17:08:28.000Z | 2022-01-23T17:08:40.000Z | src/hook/impl.hpp | geode-sdk/core | 25dc195eafd7169ef9696bae081ff38c7bb2d47f | [
"MIT"
] | null | null | null | #ifndef GEODE_CORE_HOOK_IMPL_HPP
#define GEODE_CORE_HOOK_IMPL_HPP
#include <hook.hpp>
#include <unordered_map>
#include <vector>
#if defined(GEODE_IS_WINDOWS)
#include "windows.hpp"
#elif defined(GEODE_IS_IOS)
#include "ios.hpp"
#elif defined(GEODE_IS_MACOS)
#include "macos.hpp"
#endif
namespace geode::c... | 28.225352 | 90 | 0.610778 | [
"vector"
] |
d7bb407f42694a4d6463c7580862af37a51e84c6 | 2,923 | cc | C++ | chrome/common/privacy_budget/field_trial_param_conversions.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/common/privacy_budget/field_trial_param_conversions.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/common/privacy_budget/field_trial_param_conversions.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 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/common/privacy_budget/field_trial_param_conversions.h"
#include <algorithm>
#include <utility>
#include "base/ranges/algorithm.h"
#inclu... | 32.120879 | 80 | 0.716387 | [
"vector",
"transform"
] |
d7bcd4481744854b1fde6ec69378ea33da1e4006 | 1,305 | cpp | C++ | motivateApp/motivateApp/src/model.cpp | RuolinZheng08/playground | 0c933c9f3d1846496c455de56225cc0afb0e94df | [
"MIT"
] | 1 | 2021-01-18T05:01:03.000Z | 2021-01-18T05:01:03.000Z | motivateApp/motivateApp/src/model.cpp | RuolinZheng08/playground | 0c933c9f3d1846496c455de56225cc0afb0e94df | [
"MIT"
] | null | null | null | motivateApp/motivateApp/src/model.cpp | RuolinZheng08/playground | 0c933c9f3d1846496c455de56225cc0afb0e94df | [
"MIT"
] | null | null | null | //
// model.cpp
// motivateApp
//
// Created by Ruolin Zheng on 2019/8/23.
// Copyright © 2019 Ruolin Zheng. All rights reserved.
//
#include "model.hpp"
MyModel::MyModel() {
std::ifstream in;
in.open(PATH);
if (!in) {
// create file
std::ofstream out;
out.open(PATH);
o... | 26.632653 | 80 | 0.529502 | [
"model"
] |
d7bf9e87d92783911820061583f212b151fa2df5 | 3,517 | hpp | C++ | system.hpp | lichang98/raft_demo | 337bc56d04a4ee24509be7eba02c26ef4e990b55 | [
"Apache-2.0"
] | null | null | null | system.hpp | lichang98/raft_demo | 337bc56d04a4ee24509be7eba02c26ef4e990b55 | [
"Apache-2.0"
] | null | null | null | system.hpp | lichang98/raft_demo | 337bc56d04a4ee24509be7eba02c26ef4e990b55 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <iostream>
#include <fstream>
#include <memory>
#include "json.hpp"
#include "server.hpp"
#include "router.hpp"
/*
* this file contains system configures
*/
namespace my_system
{
struct config
{
int32_t num_servers;
std::vector<server::ServerEnt> servers;
friend s... | 34.480392 | 108 | 0.526016 | [
"vector"
] |
d7c0cd55336fc9a5124b546f11846e489c7353e8 | 21,224 | cpp | C++ | multiview/multiview_cpp/src/perceive/io/perceive-assets.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/perceive/io/perceive-assets.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/perceive/io/perceive-assets.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#include <boost/endian/conversion.hpp>
#include "ieee754-packing.hpp"
#include "perceive-assets.hpp"
#include "stdinc.hpp"
#include "perceive/calibration/aruco-cube.hpp"
#include "perceive/calibration/plane-set/phase-plane-data.hpp"
#include "perceive/cost-functions/classifier/classifier.hpp"
#include "perceive/geom... | 30.233618 | 80 | 0.592631 | [
"cad",
"geometry",
"vector",
"model"
] |
d7cfb0d8905620c46b9039d0be5af1be539c1a40 | 892 | cpp | C++ | Algorithms on Graphs/week1_graph_decomposition1/1_finding_exit_from_maze/reachability.cpp | hovmikayelyan/Data_Structures_and_Algorithms | abfd3c63f8bce200c2379c44e755e53611f26ac7 | [
"MIT"
] | null | null | null | Algorithms on Graphs/week1_graph_decomposition1/1_finding_exit_from_maze/reachability.cpp | hovmikayelyan/Data_Structures_and_Algorithms | abfd3c63f8bce200c2379c44e755e53611f26ac7 | [
"MIT"
] | null | null | null | Algorithms on Graphs/week1_graph_decomposition1/1_finding_exit_from_maze/reachability.cpp | hovmikayelyan/Data_Structures_and_Algorithms | abfd3c63f8bce200c2379c44e755e53611f26ac7 | [
"MIT"
] | null | null | null | /**
* @file reachability.cpp
* @author Hovhannes Mikayelyan (hovmikayelyan@gmail.com)
* @brief
* @version 0.1
* @date 2022-01-12
*
* @copyright Copyright (c) 2022
*
*/
#include <bits/stdc++.h>
using namespace std;
/**
* @brief
* Main Program
*/
void explore(vector<vector<int>> &adj, vector<bool> &visite... | 13.723077 | 75 | 0.517937 | [
"vector"
] |
d7d309bb9bbfa3dfe253d8238af2d425e92067fb | 11,857 | cpp | C++ | window.cpp | ichristen/pGDS | c6959ea7db0cc01549eb170b7fdc273801735dbc | [
"MIT"
] | null | null | null | window.cpp | ichristen/pGDS | c6959ea7db0cc01549eb170b7fdc273801735dbc | [
"MIT"
] | null | null | null | window.cpp | ichristen/pGDS | c6959ea7db0cc01549eb170b7fdc273801735dbc | [
"MIT"
] | null | null | null | #include "window.hpp"
GLuint LoadShaders(const char * vertex_file_path,const char * fragment_file_path){
// Create the shaders
GLuint VertexShaderID = glCreateShader(GL_VERTEX_SHADER);
GLuint FragmentShaderID = glCreateShader(GL_FRAGMENT_SHADER);
// Read the Vertex Shader code from the file
... | 32.844875 | 152 | 0.6042 | [
"render",
"vector"
] |
d7dade0c88b11acb231d250f98de5cdad7e5269a | 2,696 | hxx | C++ | src/sumCuda.hxx | puzzlef/sum-cuda-memcpy-vs-inplace | fd8b711bcaf34d981f91ad5798499417c22a1fdf | [
"MIT"
] | null | null | null | src/sumCuda.hxx | puzzlef/sum-cuda-memcpy-vs-inplace | fd8b711bcaf34d981f91ad5798499417c22a1fdf | [
"MIT"
] | null | null | null | src/sumCuda.hxx | puzzlef/sum-cuda-memcpy-vs-inplace | fd8b711bcaf34d981f91ad5798499417c22a1fdf | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <algorithm>
#include "_main.hxx"
#include "sum.hxx"
#include "sumSeq.hxx"
using std::vector;
using std::min;
template <class T>
__device__ void sumKernelReduce(T* a, int N, int i) {
__syncthreads();
for (N=N/2; N>0; N/=2) {
if (i<N) a[i] += a[N+i];
__syncthreads(... | 21.568 | 73 | 0.604599 | [
"vector"
] |
d7e4de710f5f4f5c589723c56dd4832a5145cd2a | 11,502 | cpp | C++ | Source/Engine/SceneEditor/UI/OutlinerUI.cpp | yuvanw/ViceEngine | 7259b53483b3d5a516182c9ded42a3c5219ba66f | [
"MIT"
] | null | null | null | Source/Engine/SceneEditor/UI/OutlinerUI.cpp | yuvanw/ViceEngine | 7259b53483b3d5a516182c9ded42a3c5219ba66f | [
"MIT"
] | null | null | null | Source/Engine/SceneEditor/UI/OutlinerUI.cpp | yuvanw/ViceEngine | 7259b53483b3d5a516182c9ded42a3c5219ba66f | [
"MIT"
] | null | null | null | #include "OutlinerUI.h"
#include "RenderManager.h"
#include "RendererFileSystem.h"
#include "imgui/imgui.h"
#include <string>
const ANSICHAR* FOutlinerUI::WindowName = "Outliner";
void FOutlinerUI::Init()
{
Scene = FRenderManager::GetRenderer()->GetScene();
Camera = FRenderManager::GetRenderer()->GetCamera();
/... | 25.789238 | 158 | 0.71005 | [
"object",
"model"
] |
d7f61115c862e4e8f386cc26cd6577447a488bdd | 972 | cpp | C++ | aws-cpp-sdk-quicksight/source/model/GutterStyle.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-05T18:20:03.000Z | 2022-01-05T18:20:03.000Z | aws-cpp-sdk-quicksight/source/model/GutterStyle.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-quicksight/source/model/GutterStyle.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/quicksight/model/GutterStyle.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namesp... | 15.677419 | 69 | 0.699588 | [
"model"
] |
d7f7cabedf04299dfd9e2753000318ffbc3ad9de | 1,680 | cpp | C++ | Iteration1/Desk.cpp | zackszhu/SimpleQuidditch | 6a5066631e0619701a57d25432b37ccc370830a9 | [
"MIT"
] | null | null | null | Iteration1/Desk.cpp | zackszhu/SimpleQuidditch | 6a5066631e0619701a57d25432b37ccc370830a9 | [
"MIT"
] | null | null | null | Iteration1/Desk.cpp | zackszhu/SimpleQuidditch | 6a5066631e0619701a57d25432b37ccc370830a9 | [
"MIT"
] | null | null | null | #include "Desk.h"
#include <fstream>
const GLfloat deskWidth = 5.0;
const GLfloat deskLength = 5.0;
const GLfloat deskHeight = 0.25;
void Desk::addEdges(GLfloat x, GLfloat y, GLfloat w, GLfloat l) {
// false is by x
edges.push_back(std::move(Edge(Point(x - w / 2, y - l / 2, 0), false)));
edges.push_back(std::move... | 40.97561 | 130 | 0.580952 | [
"vector"
] |
d7f834cb434842e8c276fc671f064e22a0d87c4e | 2,688 | hpp | C++ | tools/protoGen/ParserRoot.hpp | carnegie-technologies/pravala-toolkit | 77dac4a910dc0692b7515a8e3b77d34eb2888256 | [
"Apache-2.0"
] | null | null | null | tools/protoGen/ParserRoot.hpp | carnegie-technologies/pravala-toolkit | 77dac4a910dc0692b7515a8e3b77d34eb2888256 | [
"Apache-2.0"
] | null | null | null | tools/protoGen/ParserRoot.hpp | carnegie-technologies/pravala-toolkit | 77dac4a910dc0692b7515a8e3b77d34eb2888256 | [
"Apache-2.0"
] | 2 | 2020-02-07T00:16:51.000Z | 2020-02-11T15:10:45.000Z | /*
* Copyright 2019 Carnegie Technologies
*
* 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 l... | 36.324324 | 101 | 0.662202 | [
"object"
] |
cc008677091081a5e117191843585741593c2a49 | 3,779 | hpp | C++ | include/HSGIL/window/iWindow.hpp | AsulconS/MAVeD | f52b88c929873c025df4e2f07164fdfa07b05b95 | [
"Zlib"
] | 1 | 2020-08-14T04:48:10.000Z | 2020-08-14T04:48:10.000Z | include/HSGIL/window/iWindow.hpp | AsulconS/MAVeD | f52b88c929873c025df4e2f07164fdfa07b05b95 | [
"Zlib"
] | null | null | null | include/HSGIL/window/iWindow.hpp | AsulconS/MAVeD | f52b88c929873c025df4e2f07164fdfa07b05b95 | [
"Zlib"
] | null | null | null | /********************************************************************************
* *
* HSGIL - Handy Scalable Graphics Integration Library *
* Copyright (c) 2020 Adrian Bedregal and Gabriela Chipana ... | 32.577586 | 221 | 0.517333 | [
"object"
] |
cc012fc14edb214bab9416c2f3269d0168f8e65f | 3,534 | cxx | C++ | tests/small-vector/driver.cxx | build2/libbutl | 405dfa3e28ab71d4f6b5210faba0e3600070a0f3 | [
"MIT"
] | 6 | 2018-05-31T06:16:37.000Z | 2021-03-19T10:37:11.000Z | tests/small-vector/driver.cxx | build2/libbutl | 405dfa3e28ab71d4f6b5210faba0e3600070a0f3 | [
"MIT"
] | 3 | 2020-06-19T05:08:42.000Z | 2021-09-29T05:23:07.000Z | tests/small-vector/driver.cxx | build2/libbutl | 405dfa3e28ab71d4f6b5210faba0e3600070a0f3 | [
"MIT"
] | 1 | 2020-06-16T14:56:48.000Z | 2020-06-16T14:56:48.000Z | // file : tests/small-vector/driver.cxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
#include <string>
#include <iostream>
#include <libbutl/small-vector.hxx>
#undef NDEBUG
#include <cassert>
using namespace std;
using namespace butl;
// Return true if v.data() points to somewhere inside v.
/... | 23.098039 | 79 | 0.50481 | [
"vector"
] |
cc025fc28231e83f08cac852b15c16fdbf327cbc | 5,137 | cpp | C++ | Hackerrank/Magic Spells/Magic Spells.cpp | rajatjha28/CPP-Questions-and-Solutions | fc5bae0da3dc7aed69e663e93128cd899b7bb263 | [
"MIT"
] | 42 | 2021-09-26T18:02:52.000Z | 2022-03-15T01:52:15.000Z | Hackerrank/Magic Spells/Magic Spells.cpp | rajatjha28/CPP-Questions-and-Solutions | fc5bae0da3dc7aed69e663e93128cd899b7bb263 | [
"MIT"
] | 404 | 2021-09-24T19:55:10.000Z | 2021-11-03T05:47:47.000Z | Hackerrank/Magic Spells/Magic Spells.cpp | rajatjha28/CPP-Questions-and-Solutions | fc5bae0da3dc7aed69e663e93128cd899b7bb263 | [
"MIT"
] | 140 | 2021-09-22T20:50:04.000Z | 2022-01-22T16:59:09.000Z | //While playing a video game, you are battling a powerful dark wizard. He casts his spells from a distance, giving you only a few seconds to react and conjure your counterspells. For a counterspell to be effective, you must first identify what kind of spell you are dealing with.
//The wizard uses scrolls to conjure hi... | 29.354286 | 313 | 0.576017 | [
"vector"
] |
cc1095425f12cfe12fc25e944bc8963d08eaa2ca | 22,640 | cpp | C++ | qttools/src/assistant/3rdparty/clucene/src/CLucene/index/IndexWriter.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qttools/src/assistant/3rdparty/clucene/src/CLucene/index/IndexWriter.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qttools/src/assistant/3rdparty/clucene/src/CLucene/index/IndexWriter.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
*
* Distributable under the terms of either the Apache License (Version 2.0) or
* the GNU Lesser General Public License, as specified in the COPYING file.
*
* Changes are Copyright (C) 2015 The Qt Company Ltd.
*/
#include "CLucene/StdHeader.h"
#in... | 32.43553 | 85 | 0.634541 | [
"object"
] |
cc110c099e38c32fe76864fcb15cffb3af317abe | 2,560 | cpp | C++ | 3dbody/src/scene/SceneCamera.cpp | GuangfuWang/threedbody | 31c544c25e524cecf107a505c3b4438fc04cd766 | [
"BSD-2-Clause"
] | null | null | null | 3dbody/src/scene/SceneCamera.cpp | GuangfuWang/threedbody | 31c544c25e524cecf107a505c3b4438fc04cd766 | [
"BSD-2-Clause"
] | null | null | null | 3dbody/src/scene/SceneCamera.cpp | GuangfuWang/threedbody | 31c544c25e524cecf107a505c3b4438fc04cd766 | [
"BSD-2-Clause"
] | null | null | null | #include "include/scene/SceneCamera.h"
#include <glm/gtx/norm.hpp>
namespace gf {
void SceneCamera::update(Shader *shader) {
shader->setMat4(mModelMatrix, "model");
shader->setMat4(mViewMatrix, "view");
shader->setMat4(mProjection, "projection");
shader->setVec3(mPosition, "camPos"... | 33.684211 | 86 | 0.601172 | [
"model"
] |
cc13f6e3a4f470e26b24634a0529b65bf8e37990 | 422 | hpp | C++ | src/math/geometry/interval/interval.hpp | dmilos/math | 977cb171d8d582411cfab73a23ce85a8ccf3b132 | [
"Apache-2.0"
] | 3 | 2020-07-02T12:44:32.000Z | 2021-04-07T20:31:41.000Z | src/math/geometry/interval/interval.hpp | dmilos/math | 977cb171d8d582411cfab73a23ce85a8ccf3b132 | [
"Apache-2.0"
] | null | null | null | src/math/geometry/interval/interval.hpp | dmilos/math | 977cb171d8d582411cfab73a23ce85a8ccf3b132 | [
"Apache-2.0"
] | 1 | 2020-09-04T11:01:28.000Z | 2020-09-04T11:01:28.000Z | #include "./structure.hpp"
#include "./center.hpp"
#include "./extend.hpp"
#include "./in.hpp"
#include "./out.hpp"
#include "./intersect.hpp"
#include "./inflate.hpp"
#include "./valid.hpp"
#include "./volume.hpp"
#include "./translate.hpp"
#include "./correct.hpp"
#include "./load.hpp"
#include "./unit.hp... | 24.823529 | 27 | 0.64218 | [
"transform"
] |
cc160371c20d9c94c6b7674640229ede949a1b9b | 294 | cc | C++ | Projects/OpenGrafik/opengrafik-2/src/canvas/canvas.cc | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 2 | 2021-01-24T09:00:51.000Z | 2022-01-23T20:52:17.000Z | Projects/OpenGrafik/opengrafik-2/src/canvas/canvas.cc | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 6 | 2020-02-29T01:59:03.000Z | 2022-02-15T10:25:40.000Z | Projects/OpenGrafik/opengrafik-2/src/canvas/canvas.cc | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 1 | 2019-03-22T14:41:21.000Z | 2019-03-22T14:41:21.000Z | #include "canvas.h"
#include "shape.h"
Canvas::Canvas() {}
Canvas::~Canvas()
{
while (!ShapeList.empty())
{
delete ShapeList.front();
ShapeList.pop_front();
}
}
void Canvas::addShape(Shape *s)
{
ShapeList.push_back(s);
}
void Canvas::removeShape(Shape *s)
{
ShapeList.remove(s);
}
| 12.25 | 34 | 0.659864 | [
"shape"
] |
cc1a90f994fd196d15c53e3169c740b87db92586 | 2,014 | cpp | C++ | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/requests/psme/component_notification.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 5 | 2019-11-11T07:57:26.000Z | 2022-03-28T08:26:53.000Z | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/requests/psme/component_notification.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 3 | 2019-09-05T21:47:07.000Z | 2019-09-17T18:10:45.000Z | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/requests/psme/component_notification.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 11 | 2019-07-20T00:16:32.000Z | 2022-01-11T14:17:48.000Z | /*!
* @copyright
* Copyright (c) 2017-2019 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apache.org/licenses/LICENSE-... | 36.618182 | 99 | 0.759682 | [
"vector",
"model"
] |
cc21e9377f2308a1fcb4462d0116d62e0fec2919 | 7,309 | cpp | C++ | Code/Engine/Render/Components/Component_SkeletalMesh.cpp | JuanluMorales/KRG | f3a11de469586a4ef0db835af4bc4589e6b70779 | [
"MIT"
] | 419 | 2022-01-27T19:37:43.000Z | 2022-03-31T06:14:22.000Z | Code/Engine/Render/Components/Component_SkeletalMesh.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 2 | 2022-01-28T20:35:33.000Z | 2022-03-13T17:42:52.000Z | Code/Engine/Render/Components/Component_SkeletalMesh.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 20 | 2022-01-27T20:41:02.000Z | 2022-03-26T16:16:57.000Z | #include "Component_SkeletalMesh.h"
#include "System/Animation/AnimationPose.h"
#include "System/Core/Drawing/DebugDrawing.h"
#include "System/Core/Profiling/Profiling.h"
//-------------------------------------------------------------------------
namespace KRG::Render
{
void SkeletalMeshComponent::Initialize()
... | 32.198238 | 134 | 0.558353 | [
"mesh",
"render",
"transform"
] |
cc226c2562ed91aa6ed48c5c4e8b477dc72ed3c1 | 295 | cpp | C++ | src/Interpreter/Interpreter.cpp | atom9393/CUBE | b398a1c7b317047b89a7eeddf67aed1a78d20f36 | [
"MIT"
] | 7 | 2021-12-27T05:43:40.000Z | 2022-01-12T09:35:52.000Z | src/Interpreter/Interpreter.cpp | atom9393/CUBE | b398a1c7b317047b89a7eeddf67aed1a78d20f36 | [
"MIT"
] | 6 | 2021-12-24T11:29:05.000Z | 2022-01-11T12:23:19.000Z | src/Interpreter/Interpreter.cpp | atom9393/CUBE | b398a1c7b317047b89a7eeddf67aed1a78d20f36 | [
"MIT"
] | 1 | 2021-12-22T02:41:33.000Z | 2021-12-22T02:41:33.000Z | #include "error.h"
#include "debug.h"
#include "Token.h"
#include "Object.h"
#include "Node.h"
#include "BuiltinFunc.h"
#include "Interpreter.h"
static Interpreter* _instance;
Interpreter::Interpreter() {
_instance = this;
}
Interpreter* Interpreter::get_instance() {
return _instance;
}
| 16.388889 | 42 | 0.722034 | [
"object"
] |
cc2dfdb0a74a85cb60122d9103194a22ae8c8981 | 3,625 | cc | C++ | xdl/ps-plus/ps-plus/server/udf/hash_variable_initializer.cc | Ru-Xiang/x-deeplearning | 04cc0497150920c64b06bb8c314ef89977a3427a | [
"Apache-2.0"
] | 4,071 | 2018-12-13T04:17:38.000Z | 2022-03-30T03:29:35.000Z | xdl/ps-plus/ps-plus/server/udf/hash_variable_initializer.cc | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 359 | 2018-12-21T01:14:57.000Z | 2022-02-15T07:18:02.000Z | xdl/ps-plus/ps-plus/server/udf/hash_variable_initializer.cc | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 1,054 | 2018-12-20T09:57:42.000Z | 2022-03-29T07:16:53.000Z | /* Copyright (C) 2016-2018 Alibaba Group Holding Limited
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 ... | 40.277778 | 180 | 0.654621 | [
"shape"
] |
cc2f6a6b4792f90a042ffeee92e47ffc0ed53549 | 668 | cpp | C++ | src/parser/transform/statement/transform_show.cpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | 1 | 2021-04-22T05:41:54.000Z | 2021-04-22T05:41:54.000Z | src/parser/transform/statement/transform_show.cpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | null | null | null | src/parser/transform/statement/transform_show.cpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | 1 | 2021-12-12T10:24:57.000Z | 2021-12-12T10:24:57.000Z | #include "guinsoodb/parser/statement/pragma_statement.hpp"
#include "guinsoodb/parser/transformer.hpp"
namespace guinsoodb {
unique_ptr<PragmaStatement> Transformer::TransformShow(guinsoodb_libpgquery::PGNode *node) {
// we transform SHOW x into PRAGMA SHOW('x')
auto stmt = reinterpret_cast<guinsoodb_libpgquery::P... | 24.740741 | 92 | 0.730539 | [
"transform"
] |
cc3b5005cac13e369f8bf95bd502ce5a8c9541ab | 618 | cpp | C++ | spec/cpp_stl_98/test_bits_signed_b64_le.cpp | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/cpp_stl_98/test_bits_signed_b64_le.cpp | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/cpp_stl_98/test_bits_signed_b64_le.cpp | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | // Autogenerated from KST: please remove this line if doing any edits by hand!
#include <boost/test/unit_test.hpp>
#include "bits_signed_b64_le.h"
#include <iostream>
#include <fstream>
#include <vector>
BOOST_AUTO_TEST_CASE(test_bits_signed_b64_le) {
std::ifstream ifs("src/bits_signed_b64_le.bin", std::ifstream:... | 29.428571 | 78 | 0.726537 | [
"vector"
] |
cc42b63e27a63edcb72d78713588fa7acae33fd9 | 2,247 | cpp | C++ | src/main.cpp | nabijaczleweli/ctffs | b193ccc0ebcabe9bf3e7d74719b35957d7763f3a | [
"MIT"
] | null | null | null | src/main.cpp | nabijaczleweli/ctffs | b193ccc0ebcabe9bf3e7d74719b35957d7763f3a | [
"MIT"
] | null | null | null | src/main.cpp | nabijaczleweli/ctffs | b193ccc0ebcabe9bf3e7d74719b35957d7763f3a | [
"MIT"
] | null | null | null | // The MIT License (MIT)
// Copyright (c) 2016 nabijaczleweli
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy... | 34.045455 | 103 | 0.663551 | [
"vector"
] |
cc42fb4ca36595a9c491c109a8f70d8070df6991 | 2,166 | cc | C++ | tests/cpp/fm_loss_test.cc | llebel/difacto | 78e356215f659101e21f9b38ffba6dfcc356f628 | [
"Apache-2.0"
] | 304 | 2015-12-16T23:50:19.000Z | 2022-03-06T11:53:26.000Z | tests/cpp/fm_loss_test.cc | llebel/difacto | 78e356215f659101e21f9b38ffba6dfcc356f628 | [
"Apache-2.0"
] | 15 | 2016-01-13T22:57:32.000Z | 2020-04-16T13:44:17.000Z | tests/cpp/fm_loss_test.cc | llebel/difacto | 78e356215f659101e21f9b38ffba6dfcc356f628 | [
"Apache-2.0"
] | 110 | 2015-12-18T06:44:27.000Z | 2021-12-09T20:05:02.000Z | /**
* Copyright (c) 2015 by Contributors
*/
#include <gtest/gtest.h>
#include "./utils.h"
#include "loss/fm_loss.h"
#include "data/localizer.h"
#include "loss/bin_class_metric.h"
using namespace difacto;
TEST(FMLoss, NoV) {
SArray<real_t> weight(47149);
for (size_t i = 0; i < weight.size(); ++i) {
weight[i... | 25.785714 | 58 | 0.597415 | [
"vector"
] |
cc48fa70a6a1b834e5b615779550b794d12aa43c | 837 | cpp | C++ | leetcode/cpp-version/16.cpp | tlming16/Projec_Euler | 797824c5159fae67493de9eba24c22cc7512d95d | [
"MIT"
] | 4 | 2018-11-14T12:03:05.000Z | 2019-09-03T14:33:28.000Z | leetcode/cpp-version/16.cpp | tlming16/Projec_Euler | 797824c5159fae67493de9eba24c22cc7512d95d | [
"MIT"
] | null | null | null | leetcode/cpp-version/16.cpp | tlming16/Projec_Euler | 797824c5159fae67493de9eba24c22cc7512d95d | [
"MIT"
] | 1 | 2018-11-17T14:39:22.000Z | 2018-11-17T14:39:22.000Z | /*
* author:tlming16
* email:tlming16@fudan.edu.cn
* all wrong reserved
*/
class Solution {
public:
int threeSumClosest(vector<int>& nums, int target) {
sort(nums.begin(),nums.end());
int diff=INT_MAX;
int ans=0;
for (int i=0;i<nums.size()-2;i++){
int j=i+1;
... | 24.617647 | 56 | 0.37037 | [
"vector"
] |
cc4e55a3f8b7108049387abcd007214564ce3ae1 | 4,134 | cc | C++ | src/type_info/LF_STRUCTURE.cc | chp-io/libmspdb | 31283565f18fd32e27717e7e0180b9c27f44d824 | [
"Apache-2.0"
] | 1 | 2021-11-11T01:30:16.000Z | 2021-11-11T01:30:16.000Z | src/type_info/LF_STRUCTURE.cc | chp-io/libmspdb | 31283565f18fd32e27717e7e0180b9c27f44d824 | [
"Apache-2.0"
] | null | null | null | src/type_info/LF_STRUCTURE.cc | chp-io/libmspdb | 31283565f18fd32e27717e7e0180b9c27f44d824 | [
"Apache-2.0"
] | 3 | 2021-03-02T18:25:56.000Z | 2022-02-11T21:19:24.000Z | /*
* Copyright 2021 Assured Information Security, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 36.910714 | 99 | 0.701016 | [
"vector"
] |
cc573a3765c15453593594ee8a7532059a849f78 | 10,798 | cpp | C++ | cvdump/dumpsym6.cpp | AbhyudayaSharma/microsoft-pdb | c757660669073f3d98d392bf1f2b076ce74b9074 | [
"MIT"
] | 1,286 | 2015-10-30T02:39:40.000Z | 2019-05-06T09:24:53.000Z | cvdump/dumpsym6.cpp | maojun1998/microsoft-pdb | 082c5290e5aff028ae84e43affa8be717aa7af73 | [
"MIT"
] | 36 | 2015-10-30T03:59:17.000Z | 2019-04-27T11:03:04.000Z | cvdump/dumpsym6.cpp | maojun1998/microsoft-pdb | 082c5290e5aff028ae84e43affa8be717aa7af73 | [
"MIT"
] | 215 | 2015-10-30T02:17:09.000Z | 2019-04-29T10:22:06.000Z | /***********************************************************************
* Microsoft (R) Debugging Information Dumper
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* File Comments:
*
*
***********************************************************************/
#include "cvdump.h"
#include "debsym.h" ... | 21.339921 | 99 | 0.460826 | [
"model"
] |
7fe299daac6bc6631f454bd95b33193143671ca4 | 59,733 | cpp | C++ | Inventory System/Inventory.cpp | Nicholas-Toh/MMU-Projects | ead57f8653d89e7f80c34c473eb29ed1ba3a5d3b | [
"MIT"
] | null | null | null | Inventory System/Inventory.cpp | Nicholas-Toh/MMU-Projects | ead57f8653d89e7f80c34c473eb29ed1ba3a5d3b | [
"MIT"
] | null | null | null | Inventory System/Inventory.cpp | Nicholas-Toh/MMU-Projects | ead57f8653d89e7f80c34c473eb29ed1ba3a5d3b | [
"MIT"
] | null | null | null | /**********|**********|**********|
Program: Inventory.cpp /StoreItem.cpp /StoreItem.h
Course: Programming Fundamentals
Year: 2017/2018 Trimester 2
Name: Nicholas Toh Zhern Hau
ID: 1161104589
Lecture Section: TC01
Tutorial Section: TT01
Email: tohnic1999@gmail.com
Phone: 019-6606712
*********|*******... | 29.152269 | 306 | 0.590779 | [
"object",
"vector"
] |
7fe86a3fcb6c852c2109741f62d8781a96c7032d | 57,210 | cpp | C++ | src/comm/transports/ibrc/ibrc.cpp | shintaro-iwasaki/nvshmem | 295b40c2f1a00cea8ee2f791886713dd4abc6b0c | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/comm/transports/ibrc/ibrc.cpp | shintaro-iwasaki/nvshmem | 295b40c2f1a00cea8ee2f791886713dd4abc6b0c | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/comm/transports/ibrc/ibrc.cpp | shintaro-iwasaki/nvshmem | 295b40c2f1a00cea8ee2f791886713dd4abc6b0c | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | /*
* * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
* *
* * See COPYRIGHT for license information
* */
#include "nvshmem.h"
#include "nvshmem_internal.h"
#include <string.h>
#include <assert.h>
#include <map>
#include <vector>
#include <deque>
#include <dlfcn.h>
#include "ibrc.h"
#include "nv... | 35.64486 | 169 | 0.650725 | [
"vector",
"model"
] |
7ff40347533142772b2e5d0b3ec99f4a7709964a | 14,166 | cpp | C++ | src/algorithm/sequential/cis_sequential_algorithm.cpp | GraphProcessor/LocalityBasedGraphAlgo | de6e48498eb43a106312f14149a3060501b8a49c | [
"MIT"
] | null | null | null | src/algorithm/sequential/cis_sequential_algorithm.cpp | GraphProcessor/LocalityBasedGraphAlgo | de6e48498eb43a106312f14149a3060501b8a49c | [
"MIT"
] | null | null | null | src/algorithm/sequential/cis_sequential_algorithm.cpp | GraphProcessor/LocalityBasedGraphAlgo | de6e48498eb43a106312f14149a3060501b8a49c | [
"MIT"
] | 1 | 2021-01-06T14:03:59.000Z | 2021-01-06T14:03:59.000Z | //
// Created by cheyulin on 12/20/16.
//
#include "cis_sequential_algorithm.h"
namespace yche {
Cis::Cis(unique_ptr<Cis::Graph> graph_ptr, double lambda) : lambda_(lambda), graph_ptr_(std::move(graph_ptr)) {
for (auto vp = vertices(*graph_ptr_); vp.first != vp.second; ++vp.first) { vertices_.emplace_back... | 50.592857 | 119 | 0.605605 | [
"vector"
] |
7ff9b04acce81479989571e5fcb1cc592cc47777 | 2,129 | cpp | C++ | services/safwk/src/system_ability_connection_callback_stub.cpp | openharmony-gitee-mirror/distributedschedule_safwk | 1de684cf8b9bd56e1302f3f9e67068c18639ac05 | [
"Apache-2.0"
] | null | null | null | services/safwk/src/system_ability_connection_callback_stub.cpp | openharmony-gitee-mirror/distributedschedule_safwk | 1de684cf8b9bd56e1302f3f9e67068c18639ac05 | [
"Apache-2.0"
] | null | null | null | services/safwk/src/system_ability_connection_callback_stub.cpp | openharmony-gitee-mirror/distributedschedule_safwk | 1de684cf8b9bd56e1302f3f9e67068c18639ac05 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:18:08.000Z | 2021-09-13T11:18:08.000Z | /*
* Copyright (c) 2021 Huawei Device 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 law ... | 32.753846 | 111 | 0.674025 | [
"object"
] |
7ffbd0c24dd87dfee452b5d85437c05c64f34cfd | 2,724 | cpp | C++ | owGame/Renderer/RenderPass_WMOPortalDebug.cpp | Chaos192/OpenWow | 1d91a51fafeedadc67122a3e9372ec4637a48434 | [
"Apache-2.0"
] | 30 | 2017-09-02T20:25:47.000Z | 2021-12-31T10:12:07.000Z | owGame/Renderer/RenderPass_WMOPortalDebug.cpp | Chaos192/OpenWow | 1d91a51fafeedadc67122a3e9372ec4637a48434 | [
"Apache-2.0"
] | null | null | null | owGame/Renderer/RenderPass_WMOPortalDebug.cpp | Chaos192/OpenWow | 1d91a51fafeedadc67122a3e9372ec4637a48434 | [
"Apache-2.0"
] | 23 | 2018-02-04T17:18:33.000Z | 2022-03-22T09:45:36.000Z | #include "stdafx.h"
#ifdef USE_WMO_MODELS
// General
#include "RenderPass_WMOPortalDebug.h"
// Additional
#include "WMO/WMO_Base_Instance.h"
#include "WMO/WMO_Group_Instance.h"
#include "WMO/WMO_Part_Material.h"
CRenderPass_WMOPortalDebug::CRenderPass_WMOPortalDebug(IScene& Scene)
: Base3DPass(Scene)
{
SetPassNam... | 28.673684 | 170 | 0.764317 | [
"geometry",
"render",
"3d"
] |
3d0e45c42b8215461b90310b8c20a42a0516e032 | 5,385 | cpp | C++ | src/worker/deprecated/io.cpp | chemspacelab/clockwork | 0956d8d29417a974809166857de9a978d7fac677 | [
"MIT"
] | null | null | null | src/worker/deprecated/io.cpp | chemspacelab/clockwork | 0956d8d29417a974809166857de9a978d7fac677 | [
"MIT"
] | 21 | 2019-01-04T10:55:39.000Z | 2019-09-23T11:02:59.000Z | src/worker/deprecated/io.cpp | chemspacelab/clockwork | 0956d8d29417a974809166857de9a978d7fac677 | [
"MIT"
] | 1 | 2019-02-23T15:15:00.000Z | 2019-02-23T15:15:00.000Z | #include <iostream>
#include <vector>
#include <map>
//#define DEBUG
class Archive {
public:
std::vector<unsigned int> molecule_ids;
std::map<unsigned int, unsigned int> number_of_atoms;
std::map<unsigned int, unsigned int*> element_numbers;
std::map<unsigned int, double*> coordinates;
std::map<unsigned int, uns... | 32.053571 | 191 | 0.641226 | [
"vector"
] |
3d12df542fa92921c7cbbfed1b857c0892ff7631 | 6,309 | cc | C++ | src/asp/Core/AffineEpipolar.cc | lucasz93/StereoPipeline | 49a2e91b4502253cdd1a5583bf850d1a42eb79b0 | [
"Apache-2.0"
] | null | null | null | src/asp/Core/AffineEpipolar.cc | lucasz93/StereoPipeline | 49a2e91b4502253cdd1a5583bf850d1a42eb79b0 | [
"Apache-2.0"
] | null | null | null | src/asp/Core/AffineEpipolar.cc | lucasz93/StereoPipeline | 49a2e91b4502253cdd1a5583bf850d1a42eb79b0 | [
"Apache-2.0"
] | null | null | null | // __BEGIN_LICENSE__
// Copyright (c) 2009-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NGT platform is licensed under the Apache License, Version 2.0 (the
// "License"); you may not use this file excep... | 38.705521 | 92 | 0.619433 | [
"geometry",
"render",
"vector"
] |
3d162f310d4cdd8e18181c72c50f3433619faf5a | 7,709 | cpp | C++ | OpenGL-Rendering-Engine/Exalted/src/Core/Renderer/EditorCamera.cpp | Kney-Delach/OpenGL-Rendering | 5a144ab06ba767028ee27eec5d3f92db7986bdaa | [
"MIT"
] | null | null | null | OpenGL-Rendering-Engine/Exalted/src/Core/Renderer/EditorCamera.cpp | Kney-Delach/OpenGL-Rendering | 5a144ab06ba767028ee27eec5d3f92db7986bdaa | [
"MIT"
] | null | null | null | OpenGL-Rendering-Engine/Exalted/src/Core/Renderer/EditorCamera.cpp | Kney-Delach/OpenGL-Rendering | 5a144ab06ba767028ee27eec5d3f92db7986bdaa | [
"MIT"
] | 1 | 2020-03-10T17:39:56.000Z | 2020-03-10T17:39:56.000Z | /***************************************************************************
* Filename : EditorCamera.cpp
* Name : Ori Lazar
* Date : 05/11/2019
* Description : Contains an implementation for an FPS camera used in the
* editor.
.---.
.'_:___".
|__ --==|
[ ] :[|
|__| I=[|
... | 33.372294 | 145 | 0.694253 | [
"transform"
] |
3d1a73d09ae2d1cbf75290fd5c99d4b25837f108 | 6,191 | cpp | C++ | Drivers/UnitTests/EnergyUnitTest.cpp | gustavo-castillo-bautista/Mercury | eeb402ccec8e487652229d4595c46ec84f6aefbb | [
"BSD-3-Clause"
] | null | null | null | Drivers/UnitTests/EnergyUnitTest.cpp | gustavo-castillo-bautista/Mercury | eeb402ccec8e487652229d4595c46ec84f6aefbb | [
"BSD-3-Clause"
] | null | null | null | Drivers/UnitTests/EnergyUnitTest.cpp | gustavo-castillo-bautista/Mercury | eeb402ccec8e487652229d4595c46ec84f6aefbb | [
"BSD-3-Clause"
] | null | null | null | //Copyright (c) 2013-2020, The MercuryDPM Developers Team. All rights reserved.
//For the list of developers, see <http://www.MercuryDPM.org/Team>.
//
//Redistribution and use in source and binary forms, with or without
//modification, are permitted provided that the following conditions are met:
// * Redistributions ... | 49.528 | 175 | 0.7267 | [
"model"
] |
3d213bc7ee739fbf0d2a5ed9f3dedd1b4da44f7d | 8,507 | cpp | C++ | lib/spatial/xregFitPlane.cpp | rg2/xreg | c06440d7995f8a441420e311bb7b6524452843d3 | [
"MIT"
] | 30 | 2020-09-29T18:36:13.000Z | 2022-03-28T09:25:13.000Z | lib/spatial/xregFitPlane.cpp | gaocong13/Orthopedic-Robot-Navigation | bf36f7de116c1c99b86c9ba50f111c3796336af0 | [
"MIT"
] | 3 | 2020-10-09T01:21:27.000Z | 2020-12-10T15:39:44.000Z | lib/spatial/xregFitPlane.cpp | rg2/xreg | c06440d7995f8a441420e311bb7b6524452843d3 | [
"MIT"
] | 8 | 2021-05-25T05:14:48.000Z | 2022-02-26T12:29:50.000Z | /*
* MIT License
*
* Copyright (c) 2020 Robert Grupp
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mod... | 25.318452 | 99 | 0.631127 | [
"vector",
"model"
] |
3d225d384219854ba4a96358f2fc9d0dbe8adb58 | 665 | cpp | C++ | src/renderViewController.cpp | dalewzm/IceRayTracer | ba26e44a88fb6ff37106707ccfd3e73e123d0d60 | [
"Apache-1.1"
] | null | null | null | src/renderViewController.cpp | dalewzm/IceRayTracer | ba26e44a88fb6ff37106707ccfd3e73e123d0d60 | [
"Apache-1.1"
] | null | null | null | src/renderViewController.cpp | dalewzm/IceRayTracer | ba26e44a88fb6ff37106707ccfd3e73e123d0d60 | [
"Apache-1.1"
] | null | null | null | #include "renderViewController.h"
#include <cstdio>
RenderViewController::RenderViewController(MainWindow* mainWindow)
{
rayTracerPtr = new RayTracer;
mainWindowPtr = mainWindow;
QObject::connect(rayTracerPtr, SIGNAL(calculatedApixel(int ,int ,QColor)),this, SLOT(getApixelValue(int ,int ,QColor)));
}
Rend... | 22.931034 | 124 | 0.742857 | [
"render"
] |
3d23c857f8662333de688cfd3aff49894048baa2 | 9,755 | hpp | C++ | apps/kmeans/kmeans_helper.hpp | RickAi/csci5570 | 2814c0a6bf608c73bf81d015d13e63443470e457 | [
"Apache-2.0"
] | 7 | 2019-04-09T16:25:49.000Z | 2021-12-07T10:29:52.000Z | apps/kmeans/kmeans_helper.hpp | RickAi/csci5570 | 2814c0a6bf608c73bf81d015d13e63443470e457 | [
"Apache-2.0"
] | null | null | null | apps/kmeans/kmeans_helper.hpp | RickAi/csci5570 | 2814c0a6bf608c73bf81d015d13e63443470e457 | [
"Apache-2.0"
] | 4 | 2019-08-07T07:43:27.000Z | 2021-05-21T07:54:14.000Z | #include <utility>
#include <vector>
namespace minips {
template<typename T>
double dist(T &point1, T &point2, int num_features) {
std::vector<double> diff(num_features);
auto &x1 = point1.first;
auto &x2 = point2.first;
for (auto field : x1)
diff[field.first] = fi... | 36.263941 | 122 | 0.494413 | [
"vector",
"model"
] |
3d26c47eaf42a9fd3608134143355db75bd2877a | 2,886 | cpp | C++ | source/sill/components/ui-area-component.cpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 15 | 2018-02-26T08:20:03.000Z | 2022-03-06T03:25:46.000Z | source/sill/components/ui-area-component.cpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 32 | 2018-02-26T08:26:38.000Z | 2020-09-12T17:09:38.000Z | source/sill/components/ui-area-component.cpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | null | null | null | #include <lava/sill/components/ui-area-component.hpp>
#include <lava/sill/components/transform-component.hpp>
using namespace lava::sill;
UiAreaComponent::UiAreaComponent(Entity& entity)
: UiAreaComponent(entity, {0.f, 0.f})
{
}
UiAreaComponent::UiAreaComponent(Entity& entity, const glm::vec2& extent)
: IUi... | 28.019417 | 86 | 0.641719 | [
"transform"
] |
3d277fc58a3594055985506215876556f9893f6a | 823 | hpp | C++ | visual_studio/visual_studio/oxi/scene/object/spawn_mock_enemy.hpp | collus-corn/oxi | 93e00c51c00f78cb3d09aa9c890e98c1a572af3a | [
"MIT"
] | null | null | null | visual_studio/visual_studio/oxi/scene/object/spawn_mock_enemy.hpp | collus-corn/oxi | 93e00c51c00f78cb3d09aa9c890e98c1a572af3a | [
"MIT"
] | null | null | null | visual_studio/visual_studio/oxi/scene/object/spawn_mock_enemy.hpp | collus-corn/oxi | 93e00c51c00f78cb3d09aa9c890e98c1a572af3a | [
"MIT"
] | null | null | null | #pragma once
#include "../i_spawn.hpp"
#include <vector>
namespace oxi
{
namespace scene
{
namespace object
{
class SpawnMockEnemy :public ISpawn
{
private:
int kind_;
int frame_{0};
bool creatable_{ true };
std::shared_ptr<IPosition> position_;
std::shared_ptr<std::vector<std::shar... | 26.548387 | 139 | 0.693803 | [
"object",
"vector"
] |
3d2b49eb1ac17180bf47218b18f28a510416ad05 | 909 | cc | C++ | PID/thread/sleep.cc | Incipe-win/linux_code | 808ede88505caccfdd8efb295b8be8d5bc85f856 | [
"Apache-2.0"
] | 1 | 2021-07-14T07:41:59.000Z | 2021-07-14T07:41:59.000Z | PID/thread/sleep.cc | Incipe-win/linux_code | 808ede88505caccfdd8efb295b8be8d5bc85f856 | [
"Apache-2.0"
] | null | null | null | PID/thread/sleep.cc | Incipe-win/linux_code | 808ede88505caccfdd8efb295b8be8d5bc85f856 | [
"Apache-2.0"
] | null | null | null | #include <unistd.h>
#include <ctime>
#include <iostream>
#include <thread>
#include <vector>
using namespace std;
vector<int> vec;
vector<int> ans;
int sum = 0;
template <class T>
void print(const T &array) {
for (int num : array) {
cout << num << " ";
}
cout << endl;
}
void create_numbers(int cnt) {
f... | 16.833333 | 54 | 0.576458 | [
"vector"
] |
3d2f019483b34fec3a9a8839d0dee3ab4563c437 | 13,228 | cpp | C++ | third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "core/frame/LocalFrameView.h"
#include "core/frame/WebLocalFrameBase.h"
#include "core/geometry/DOMRect.h"
#include "core/input/EventHandler.h"
#... | 36.846797 | 80 | 0.678107 | [
"geometry",
"transform",
"solid"
] |
3d35102776976ae8f2c5d471d33c1531dc73ab79 | 3,673 | hpp | C++ | Quartz/Engine/Include/Quartz/Graphics/RHI/InputLayout.hpp | tobyplowy/quartz-engine | d08ff18330c9bb59ab8739b40d5a4781750697c1 | [
"BSD-3-Clause"
] | null | null | null | Quartz/Engine/Include/Quartz/Graphics/RHI/InputLayout.hpp | tobyplowy/quartz-engine | d08ff18330c9bb59ab8739b40d5a4781750697c1 | [
"BSD-3-Clause"
] | null | null | null | Quartz/Engine/Include/Quartz/Graphics/RHI/InputLayout.hpp | tobyplowy/quartz-engine | d08ff18330c9bb59ab8739b40d5a4781750697c1 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 Genten Studios
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer... | 32.504425 | 80 | 0.706507 | [
"vector"
] |
3d38560150f3a8fbd6c16751cae8fa91cab4573e | 16,594 | cpp | C++ | cpp/graph_2D.cpp | amstremblay/OmegaMaxEnt | bbb8a7fa8520e3e8a5a57dd662ab93ff6809b369 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 8 | 2017-01-12T14:18:50.000Z | 2021-02-18T14:44:33.000Z | cpp/graph_2D.cpp | amstremblay/OmegaMaxEnt | bbb8a7fa8520e3e8a5a57dd662ab93ff6809b369 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | cpp/graph_2D.cpp | amstremblay/OmegaMaxEnt | bbb8a7fa8520e3e8a5a57dd662ab93ff6809b369 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 5 | 2018-12-17T22:31:23.000Z | 2019-12-07T11:11:12.000Z | /*
file graph_2D.cpp
functions definitions for class "graph_2D" defined in file graph_2D.h
It is part of the program OmegaMaxEnt (other source files: OmegaMaxEnt_main.cpp, OmegaMaxEnt_data.h, OmegaMaxEnt_data.cpp, generique.h, generique.cpp)
Copyright (C) 2015 Dominic Bergeron (dominic.bergeron@usherbrooke.ca)
... | 28.659758 | 151 | 0.667771 | [
"vector"
] |
3d3adaf7840964c9aff08eb3b308ac8203b3f19d | 1,601 | cpp | C++ | WeirdEngine/src/WeirdEngine/Source Files/SoundComponent.cpp | jeramauni/Proyecto-3 | 2dbdba99ef2899e498dea3eb9a085417773686d7 | [
"Apache-2.0"
] | null | null | null | WeirdEngine/src/WeirdEngine/Source Files/SoundComponent.cpp | jeramauni/Proyecto-3 | 2dbdba99ef2899e498dea3eb9a085417773686d7 | [
"Apache-2.0"
] | null | null | null | WeirdEngine/src/WeirdEngine/Source Files/SoundComponent.cpp | jeramauni/Proyecto-3 | 2dbdba99ef2899e498dea3eb9a085417773686d7 | [
"Apache-2.0"
] | null | null | null | #include "SoundComponent.h"
#include "ComponentFactory.h"
#include <AudioManager.h>
#include <iostream>
//CREATE_REGISTER(SoundComponent);
SoundComponent::SoundComponent(Container* e) {
_name = "Sound";
_parent = e;
audioManager = _parent->getWEManager()->getAudioManager();
}
void SoundComponent::Init(std::unor... | 22.549296 | 80 | 0.669582 | [
"vector"
] |
3d40d8deee3dad0cc17a7c41158d558aa4501261 | 11,538 | cpp | C++ | src/serializestruct/SerializerStruct.cpp | mnaveedb/finalmq | 3c3b2b213fa07bb5427a1364796b19d732890ed2 | [
"MIT"
] | 11 | 2020-10-13T11:50:29.000Z | 2022-02-27T11:47:34.000Z | src/serializestruct/SerializerStruct.cpp | mnaveedb/finalmq | 3c3b2b213fa07bb5427a1364796b19d732890ed2 | [
"MIT"
] | 15 | 2020-10-07T18:01:27.000Z | 2021-07-08T09:09:13.000Z | src/serializestruct/SerializerStruct.cpp | mnaveedb/finalmq | 3c3b2b213fa07bb5427a1364796b19d732890ed2 | [
"MIT"
] | 2 | 2020-10-07T21:29:06.000Z | 2020-10-14T18:02:17.000Z | //MIT License
//Copyright (c) 2020 bexoft GmbH (mail@bexoft.de)
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, ... | 28.98995 | 115 | 0.693448 | [
"vector"
] |
3d43e2a77aeec56cff1fc45409606f526503e2d7 | 2,518 | cpp | C++ | src/runtime_src/core/common/api/xrt_pipeline.cpp | mariodruiz/XRT | c2fe15ff3c3b3d329645d40073cf9f71b8222e15 | [
"Apache-2.0"
] | 359 | 2018-10-05T03:05:08.000Z | 2022-03-31T06:28:16.000Z | src/runtime_src/core/common/api/xrt_pipeline.cpp | mariodruiz/XRT | c2fe15ff3c3b3d329645d40073cf9f71b8222e15 | [
"Apache-2.0"
] | 5,832 | 2018-10-02T22:43:29.000Z | 2022-03-31T22:28:05.000Z | src/runtime_src/core/common/api/xrt_pipeline.cpp | mariodruiz/XRT | c2fe15ff3c3b3d329645d40073cf9f71b8222e15 | [
"Apache-2.0"
] | 442 | 2018-10-02T23:06:29.000Z | 2022-03-21T08:34:44.000Z | /*
* Copyright (C) 2020, Xilinx Inc - All rights reserved
* Xilinx Runtime (XRT) Experimental APIs
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may
* not use this file except in compliance with the License. A copy of the
* License is located at
*
* http://www.apache.org/licenses/L... | 23.100917 | 76 | 0.672359 | [
"vector"
] |
3d585ba79a50653a83e2651d8e2c8e8088635607 | 6,135 | cpp | C++ | examples/particles/utils.cpp | dalihub/dali-demo | cd0ea861acbc3e25dc18571de3e82db61ea85fae | [
"Apache-2.0"
] | 8 | 2016-11-18T10:26:56.000Z | 2021-05-03T10:26:30.000Z | examples/particles/utils.cpp | dalihub/dali-demo | cd0ea861acbc3e25dc18571de3e82db61ea85fae | [
"Apache-2.0"
] | 2 | 2020-07-26T11:54:24.000Z | 2021-06-06T19:37:36.000Z | examples/particles/utils.cpp | dalihub/dali-demo | cd0ea861acbc3e25dc18571de3e82db61ea85fae | [
"Apache-2.0"
] | 6 | 2019-05-24T11:59:15.000Z | 2021-05-24T07:34:39.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... | 24.153543 | 98 | 0.593317 | [
"geometry"
] |
3d5e63934f828be818770647a079e777210d37b0 | 1,146 | cpp | C++ | cradle/tests/alia/geometry.cpp | dotdecimal/open-cradle | f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d | [
"MIT"
] | null | null | null | cradle/tests/alia/geometry.cpp | dotdecimal/open-cradle | f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d | [
"MIT"
] | null | null | null | cradle/tests/alia/geometry.cpp | dotdecimal/open-cradle | f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d | [
"MIT"
] | 4 | 2018-09-28T17:12:54.000Z | 2022-03-20T14:22:29.000Z | #include <alia/geometry.hpp>
#define BOOST_TEST_MODULE id
#include "test.hpp"
BOOST_AUTO_TEST_CASE(id_test)
{
using namespace alia;
double epsilon = 0.00001;
double tolerance = 0.00011;
unit_cubic_bezier linear(
make_vector<double>(0, 0),
make_vector<double>(1, 1));
for (int i = ... | 24.913043 | 68 | 0.518325 | [
"geometry"
] |
87dd8a13eceaaa9687f0cd3f26dc7404573b7f82 | 49,802 | hpp | C++ | cisco-ios-xe/ydk/models/cisco_ios_xe/DOCS_CABLE_DEVICE_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/DOCS_CABLE_DEVICE_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/DOCS_CABLE_DEVICE_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _DOCS_CABLE_DEVICE_MIB_
#define _DOCS_CABLE_DEVICE_MIB_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace cisco_ios_xe {
namespace DOCS_CABLE_DEVICE_MIB {
class DOCSCABLEDEVICEMIB : public ydk::Entity
{
public:
DOCSCABLEDEVICEMIB()... | 46.674789 | 162 | 0.688868 | [
"vector"
] |
87ddd11a57ae137d4ff52f3c4d73b09642456bc5 | 15,795 | cpp | C++ | example/main.cpp | jamesu/libDTShape | d6bd9a705fb45ac1dc95a04ac0096fc724fd14b5 | [
"MIT"
] | 2 | 2019-05-14T07:55:45.000Z | 2020-12-31T11:06:27.000Z | example/main.cpp | jamesu/libDTShape | d6bd9a705fb45ac1dc95a04ac0096fc724fd14b5 | [
"MIT"
] | null | null | null | example/main.cpp | jamesu/libDTShape | d6bd9a705fb45ac1dc95a04ac0096fc724fd14b5 | [
"MIT"
] | 3 | 2016-09-11T03:08:56.000Z | 2019-05-14T07:55:48.000Z | /*
Copyright (C) 2019 James S Urquhart
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute... | 24.262673 | 149 | 0.637733 | [
"mesh",
"render",
"shape",
"vector",
"model",
"transform",
"solid"
] |
87e326be3e11f0f93ee967bbecf446015ec8ec82 | 2,461 | cpp | C++ | addons/ofxGuido/lib/guidolib-code/src/abstract/ARTStem.cpp | k4rm/AscoGraph | 9038ae785b6f4f144a3ab5c4c5520761c0cd08f2 | [
"MIT"
] | 18 | 2015-01-18T22:34:22.000Z | 2020-09-06T20:30:30.000Z | addons/ofxGuido/lib/guidolib-code/src/abstract/ARTStem.cpp | k4rm/AscoGraph | 9038ae785b6f4f144a3ab5c4c5520761c0cd08f2 | [
"MIT"
] | 2 | 2015-08-04T00:07:46.000Z | 2017-05-10T15:53:51.000Z | addons/ofxGuido/lib/guidolib-code/src/abstract/ARTStem.cpp | k4rm/AscoGraph | 9038ae785b6f4f144a3ab5c4c5520761c0cd08f2 | [
"MIT"
] | 10 | 2015-01-18T23:46:10.000Z | 2019-08-25T12:10:04.000Z | /*
GUIDO Library
Copyright (C) 2002 Holger Hoos, Juergen Kilian, Kai Renz
Copyright (C) 2002-2013 Grame
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Grame ... | 20.855932 | 76 | 0.66477 | [
"vector"
] |
87ec44acd9dd7783d7732de4b82034d62451bc74 | 14,726 | cc | C++ | src/pass/inject_transfer_buffer_scope.cc | KnowingNothing/akg-test | 114d8626b824b9a31af50a482afc07ab7121862b | [
"Apache-2.0"
] | 286 | 2020-06-23T06:40:44.000Z | 2022-03-30T01:27:49.000Z | src/pass/inject_transfer_buffer_scope.cc | KnowingNothing/akg-test | 114d8626b824b9a31af50a482afc07ab7121862b | [
"Apache-2.0"
] | 10 | 2020-07-31T03:26:59.000Z | 2021-12-27T15:00:54.000Z | src/pass/inject_transfer_buffer_scope.cc | KnowingNothing/akg-test | 114d8626b824b9a31af50a482afc07ab7121862b | [
"Apache-2.0"
] | 30 | 2020-07-17T01:04:14.000Z | 2021-12-27T14:05:19.000Z | /**
* Copyright 2021 Huawei Technologies 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 law... | 37.566327 | 112 | 0.669292 | [
"vector"
] |
87faddaf16c500298dbca73ee39fb011fa664975 | 8,120 | cpp | C++ | Handles.cpp | katahiromz/Handles | a353d9aefdbb3d6af3f17a6aa14474af1ac5c1b6 | [
"MIT"
] | 1 | 2020-05-03T08:27:33.000Z | 2020-05-03T08:27:33.000Z | Handles.cpp | katahiromz/Handles | a353d9aefdbb3d6af3f17a6aa14474af1ac5c1b6 | [
"MIT"
] | null | null | null | Handles.cpp | katahiromz/Handles | a353d9aefdbb3d6af3f17a6aa14474af1ac5c1b6 | [
"MIT"
] | 1 | 2020-05-03T08:27:35.000Z | 2020-05-03T08:27:35.000Z | // Handles.c --- List the kernel handles of the process
// Copyright (C) 2020 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
// This file is public domain software.
#ifndef UNICODE
#define UNICODE
#endif
#include <windows.h>
#include <cstdio>
#include "Auto.hpp"
static void
show_help(void)
{... | 28.69258 | 107 | 0.62303 | [
"object"
] |
87fb604e087aee1c939677653fd076366afcc810 | 2,325 | cpp | C++ | src/main.cpp | ilya-guseynov/computing-node | c3213c1ff55d5597f950ce4fbb749e5dec931d3b | [
"MIT"
] | null | null | null | src/main.cpp | ilya-guseynov/computing-node | c3213c1ff55d5597f950ce4fbb749e5dec931d3b | [
"MIT"
] | null | null | null | src/main.cpp | ilya-guseynov/computing-node | c3213c1ff55d5597f950ce4fbb749e5dec931d3b | [
"MIT"
] | null | null | null | #include "nan.h"
#include "nan_algorithm.hpp"
#include "nan_basic.hpp"
#include "nan_matrix.hpp"
#include "nan_sorting.hpp"
void init_basic(v8::Local<v8::Object> target) {
Nan::Set(
target,
Nan::New("bubbleSort").ToLocalChecked(),
Nan::GetFunction(
Nan::New<v8::FunctionTemplate>(nan_bubble_sort)
... | 21.330275 | 60 | 0.64129 | [
"object"
] |
87fe2c6934899792737e4b25d4e0ab4a42994c6f | 595 | hh | C++ | src/ast/Block.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | 1 | 2020-01-06T09:43:56.000Z | 2020-01-06T09:43:56.000Z | src/ast/Block.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | null | null | null | src/ast/Block.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | null | null | null | #pragma once
#include "Node.hh"
#include "Statement.hh"
#include <sstream>
#include <vector>
class Block : public Statement {
MAKE_DEFAULT_CONSTRUCTABLE(Block)
MAKE_NONMOVABLE(Block)
MAKE_NONCOPYABLE(Block)
AST_NODE_NAME(Block)
AST_DUMPABLE()
AST_ANALYZABLE()
public:
template <class ... | 19.193548 | 49 | 0.635294 | [
"vector"
] |
87ffecba23538636c0805b49c802e00630e525bd | 18,800 | cpp | C++ | examples/05.rin/shaders.cpp | newpolaris/Ren | 9ce444e0d5e85ce60e6c7cf083ad53a6a8f32410 | [
"Apache-2.0"
] | null | null | null | examples/05.rin/shaders.cpp | newpolaris/Ren | 9ce444e0d5e85ce60e6c7cf083ad53a6a8f32410 | [
"Apache-2.0"
] | null | null | null | examples/05.rin/shaders.cpp | newpolaris/Ren | 9ce444e0d5e85ce60e6c7cf083ad53a6a8f32410 | [
"Apache-2.0"
] | null | null | null | #include "shaders.h"
#include "filesystem.h"
#include "macro.h"
#include <algorithm>
#include "spirv-reflect.h"
#include "macro.h"
#include "resources.h"
#include <string_view>
constexpr auto main = "main";
struct InputInterfaceAttribute
{
VkFormat format;
uint32_t location;
uint32_t stride;
std::str... | 41.048035 | 138 | 0.697021 | [
"vector",
"model"
] |
e2124fbaa025debc7be2a2b1e8932e76a5d270ed | 1,544 | hpp | C++ | src/ast/function.hpp | lsaos/pld-comp | 500e88684cccf8becd54ad13df18cde06ad093ac | [
"MIT"
] | null | null | null | src/ast/function.hpp | lsaos/pld-comp | 500e88684cccf8becd54ad13df18cde06ad093ac | [
"MIT"
] | null | null | null | src/ast/function.hpp | lsaos/pld-comp | 500e88684cccf8becd54ad13df18cde06ad093ac | [
"MIT"
] | null | null | null | //
// (c) 2019 The Super 4404 C Compiler
// A.Belin, A.Nahid, L.Ohl, L.Saos, A.Verrier, I.Zemmouri
// INSA Lyon
//
#pragma once
#include <string>
using namespace std;
#include "type.hpp"
#include "block.hpp"
#include "identifiable.hpp"
namespace ast
{
class Block;
// Represents a C function.... | 24.507937 | 120 | 0.686528 | [
"vector"
] |
e215cc19c137d4f35be265a5a94ad599b2fe8efc | 2,591 | cpp | C++ | src/prod/src/Transport/RequestTable.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Transport/RequestTable.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Transport/RequestTable.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 31.987654 | 189 | 0.649942 | [
"vector"
] |
e21bb3fa5b8eca7d8a785d107cf5ca7868246b1f | 1,101 | cpp | C++ | FunctionTest.cpp | Boid-team/Boid | 944350fa72cd6a0ce6332ec9b5320fa0691a91dd | [
"MIT"
] | null | null | null | FunctionTest.cpp | Boid-team/Boid | 944350fa72cd6a0ce6332ec9b5320fa0691a91dd | [
"MIT"
] | null | null | null | FunctionTest.cpp | Boid-team/Boid | 944350fa72cd6a0ce6332ec9b5320fa0691a91dd | [
"MIT"
] | null | null | null | #include <ncurses.h>
#include <stdlib.h>
#include <time.h>
#include "Object.h"
#include "Bird.h"
#include "Functions.cpp"
using namespace std;
int main(){
srand(time(NULL));
int n = 25;
Object *array = new Bird[n];
char ch;
int frameCount = 0;
initscr();
halfdelay(2);
int height = 30;
int width = 100;
... | 14.878378 | 102 | 0.615804 | [
"object"
] |
e2239c3d02926f55f7f34db32d4093864955d131 | 2,717 | cpp | C++ | Templates/BiConnectedComponents_Bridges.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | 3 | 2020-02-08T10:34:16.000Z | 2020-02-09T10:23:19.000Z | Templates/BiConnectedComponents_Bridges.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | null | null | null | Templates/BiConnectedComponents_Bridges.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | 2 | 2020-10-02T19:05:32.000Z | 2021-09-08T07:01:49.000Z | // Optimise
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
struct BiConnectedComponents
{
int n, m, T, cmpCnt;
vector<int> U, V, arr, compId;
vector<bool> isBridge, vis;
vector<vector<int>> adj_myt... | 25.392523 | 55 | 0.406699 | [
"vector"
] |
e22619fd8771cc625e1a7d5755609ecdd6ce73ee | 6,628 | cc | C++ | libgraph/planargraph-io.cc | jamesavery/spiralcode-reference | bb2f02e01447c3f3772eb5f2d7bad4d06c8ce29b | [
"BSD-2-Clause"
] | null | null | null | libgraph/planargraph-io.cc | jamesavery/spiralcode-reference | bb2f02e01447c3f3772eb5f2d7bad4d06c8ce29b | [
"BSD-2-Clause"
] | null | null | null | libgraph/planargraph-io.cc | jamesavery/spiralcode-reference | bb2f02e01447c3f3772eb5f2d7bad4d06c8ce29b | [
"BSD-2-Clause"
] | 1 | 2021-08-04T22:44:06.000Z | 2021-08-04T22:44:06.000Z | #include "planargraph.hh"
#include "polyhedron.hh"
#include <stdio.h>
//////////////////////////// FORMAT MULTIPLEXING ////////////////////////////
vector<string> PlanarGraph::formats{{"ascii","planarcode","xyz","mol2","mathematica","latex"}};
vector<string> PlanarGraph::input_formats{{"planarcode","xyz","mol2"}}; // ... | 27.502075 | 105 | 0.621907 | [
"vector"
] |
e226f2c0f00b2c095886b30a316c71c85342b6ce | 5,478 | cpp | C++ | src/qt/qtwebkit/Source/WebCore/html/shadow/ContentDistributor.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Source/WebCore/html/shadow/ContentDistributor.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebCore/html/shadow/ContentDistributor.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2022-02-18T10:41:38.000Z | 2022-02-18T10:41:38.000Z | /*
* Copyright (C) 2011 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 32.035088 | 136 | 0.707558 | [
"vector"
] |
e226fd4e2c8402c69f97d8818a13d4da6ab9ace9 | 12,043 | cpp | C++ | lidardet/ops/lidar_bev/bev.cpp | Jiaolong/trajectory-prediction | 3fd4e6253b44dfdc86e7c08e93c002baf66f2e46 | [
"Apache-2.0"
] | 6 | 2021-05-10T09:42:01.000Z | 2022-01-04T08:03:42.000Z | lidardet/ops/lidar_bev/bev.cpp | Jiaolong/trajectory-prediction | 3fd4e6253b44dfdc86e7c08e93c002baf66f2e46 | [
"Apache-2.0"
] | 3 | 2021-08-16T02:19:10.000Z | 2022-01-10T02:05:48.000Z | lidardet/ops/lidar_bev/bev.cpp | Jiaolong/trajectory-prediction | 3fd4e6253b44dfdc86e7c08e93c002baf66f2e46 | [
"Apache-2.0"
] | 1 | 2021-07-15T00:51:58.000Z | 2021-07-15T00:51:58.000Z | // pybind libraries
#include <pybind11/eigen.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
// C/C++ includes
#include <cfloat>
#include <chrono>
#include <cmath>
#include <vector>
namespace py = pybind11;
using namespace std;
/*
* @brief returns all the voxels that are traversed by a ray going from st... | 33.085165 | 103 | 0.542307 | [
"vector"
] |
e2378dce0febf1ea1827eb3d82128bc78f40dae8 | 805 | cpp | C++ | leetcode_archived_cpp/LeetCode_56.cpp | Sean10/Algorithm_code | 46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb | [
"BSD-3-Clause"
] | null | null | null | leetcode_archived_cpp/LeetCode_56.cpp | Sean10/Algorithm_code | 46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb | [
"BSD-3-Clause"
] | 7 | 2021-03-19T04:41:21.000Z | 2021-10-19T15:46:36.000Z | leetcode_archived_cpp/LeetCode_56.cpp | Sean10/Algorithm_code | 46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb | [
"BSD-3-Clause"
] | null | null | null | /**
* Definition for an interval.
* struct Interval {
* int start;
* int end;
* Interval() : start(0), end(0) {}
* Interval(int s, int e) : start(s), end(e) {}
* };
*/
class Solution {
public:
vector<Interval> merge(vector<Interval>& intervals) {
if(intervals.empty())
ret... | 25.15625 | 104 | 0.519255 | [
"vector"
] |
e23ad2f6272b35e0603e28582b9bb6af315e7050 | 1,312 | cpp | C++ | Extensions/ResourceIO/src/XMLRemovedBuildingSerializer.cpp | bkmsstudio/minecraftserver | fd42ab6e4cc986d32b31f3a13d6200778570bf51 | [
"MIT"
] | null | null | null | Extensions/ResourceIO/src/XMLRemovedBuildingSerializer.cpp | bkmsstudio/minecraftserver | fd42ab6e4cc986d32b31f3a13d6200778570bf51 | [
"MIT"
] | null | null | null | Extensions/ResourceIO/src/XMLRemovedBuildingSerializer.cpp | bkmsstudio/minecraftserver | fd42ab6e4cc986d32b31f3a13d6200778570bf51 | [
"MIT"
] | null | null | null | #include SAMPEDGENGINE_EXT_RESOURCEIO_PCH
#include <SAMP-EDGEngine/Ext/ResourceIO/XMLRemovedBuildingSerializer.hpp>
#include <SAMP-EDGEngine/Ext/ResourceIO/XMLHelperFunctions.hpp>
#include <SAMP-EDGEngine/Ext/ResourceIO/XMLNames.hpp>
namespace samp_edgengine::ext::resource_io
{
/////////////////////////////////////... | 41 | 119 | 0.740091 | [
"model"
] |
e23e71fa535a0732b8c970fba654a4e5aed075ea | 5,373 | cpp | C++ | cs1400/projects/lionheart/Action.cpp | McKayRansom/CourseMaterials | 976552ffca4d9d6e822c74a19bc108f3435bdab1 | [
"MIT"
] | 6 | 2017-04-07T17:57:48.000Z | 2020-02-01T22:26:43.000Z | cs1400/projects/lionheart/Action.cpp | McKayRansom/CourseMaterials | 976552ffca4d9d6e822c74a19bc108f3435bdab1 | [
"MIT"
] | 20 | 2017-03-29T22:26:47.000Z | 2019-12-01T05:58:12.000Z | cs1400/projects/lionheart/Action.cpp | McKayRansom/CourseMaterials | 976552ffca4d9d6e822c74a19bc108f3435bdab1 | [
"MIT"
] | 91 | 2017-03-29T00:23:21.000Z | 2021-01-10T14:19:02.000Z | #include "Action.hpp"
#include <algorithm>
#include <cassert>
namespace lionheart
{
std::ostream &serialize(std::ostream &os, const Placement &placement)
{
return os << placement.row << " " << placement.col;
}
std::istream &deserialize(std::istream &is, Placement &placement)
{
is >> placement.row;
is >> placem... | 21.841463 | 78 | 0.591476 | [
"vector"
] |
e241af38b382395524b4da8cc6dd3aa1f07a7c27 | 1,533 | cpp | C++ | assignment2/MeshGenerators/cube_generator.cpp | MichaelReiter/CSC305 | 37e52be3a82c990032d9113747d1cf1db5125b07 | [
"MIT"
] | null | null | null | assignment2/MeshGenerators/cube_generator.cpp | MichaelReiter/CSC305 | 37e52be3a82c990032d9113747d1cf1db5125b07 | [
"MIT"
] | null | null | null | assignment2/MeshGenerators/cube_generator.cpp | MichaelReiter/CSC305 | 37e52be3a82c990032d9113747d1cf1db5125b07 | [
"MIT"
] | null | null | null | #include "cube_generator.h"
namespace MeshGenerators {
CubeGenerator::CubeGenerator() {}
CubeGenerator::~CubeGenerator() {}
void CubeGenerator::write_to_file(std::ofstream& file) const
{
file << "# cube" << std::endl;
std::vector<OpenGP::Vec3> vertices {
{-1, -1, 1},
... | 24.725806 | 74 | 0.332029 | [
"vector"
] |
e24840b8b7ed3ddfa9977c926b64cc49c4b3ab18 | 441 | cpp | C++ | impl/jamtemplate/common/tilemap/tilemap_helpers.cpp | Thunraz/JamTemplateCpp | ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea | [
"CC0-1.0"
] | null | null | null | impl/jamtemplate/common/tilemap/tilemap_helpers.cpp | Thunraz/JamTemplateCpp | ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea | [
"CC0-1.0"
] | null | null | null | impl/jamtemplate/common/tilemap/tilemap_helpers.cpp | Thunraz/JamTemplateCpp | ee516d8a57dcfa6e7997585ab9bd7ff7df3640ea | [
"CC0-1.0"
] | null | null | null | #include "tilemap_helpers.hpp"
#include "drawable_helpers.hpp"
#include "shape.hpp"
namespace jt {
namespace tilemap {
std::shared_ptr<jt::DrawableInterface> createShapeFrom(InfoRect const& info)
{
std::shared_ptr<jt::Shape> shape = jt::dh::createShapeRect(info.size);
shape->setRotation(-info.rotation);
s... | 23.210526 | 76 | 0.718821 | [
"shape"
] |
e24a8a273d96ef8b2a221ffe6a5300580094ffaf | 3,339 | hpp | C++ | tests/unit/ExampleNetwork.hpp | IPetr0v/compromutator | 6e1c34b5238a78f7f2f1628504103edfcb145523 | [
"Apache-2.0"
] | null | null | null | tests/unit/ExampleNetwork.hpp | IPetr0v/compromutator | 6e1c34b5238a78f7f2f1628504103edfcb145523 | [
"Apache-2.0"
] | null | null | null | tests/unit/ExampleNetwork.hpp | IPetr0v/compromutator | 6e1c34b5238a78f7f2f1628504103edfcb145523 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "../../src/NetworkSpace.hpp"
#include "../../src/network/Network.hpp"
#include <memory>
class ExampleNetwork
{
protected:
using B = BitMask;
using M = Match;
using H = HeaderSpace;
using N = NetworkSpace;
virtual void initNetwork() = 0;
virtual void destroyNetwork() = 0... | 32.105769 | 74 | 0.557353 | [
"vector"
] |
f4760fa6d7fb53fa9864a7b7a11cff328a88c5e9 | 3,023 | cpp | C++ | acmp.ru/0614/614.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | acmp.ru/0614/614.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | acmp.ru/0614/614.cpp | mstrechen/cp | ffac439840a71f70580a0ef197e47479e167a0eb | [
"MIT"
] | null | null | null | #include<iostream>
#include<fstream>
#include<string>
#include<cassert>
#include<iomanip>
#include<vector>
using namespace std;
const int BASE = 1000 * 1000 * 1000;
const int BASE_LEN = 3 + 3 + 3;
struct UInt
{
vector<int> dig;
UInt(int a = 0)
{
while(a)
{
... | 18.432927 | 65 | 0.447569 | [
"vector"
] |
f477b9b50f4a3b7547aacea385c6ea88d8bc3352 | 25,318 | cpp | C++ | src/printer/CPPPrinter.cpp | shiruizhao/swift | 2026acce35f0717c7a3e9dc522ff1c69f8dc3227 | [
"BSD-4-Clause-UC",
"BSD-4-Clause"
] | 22 | 2016-07-11T15:34:14.000Z | 2021-04-19T04:11:13.000Z | src/printer/CPPPrinter.cpp | shiruizhao/swift | 2026acce35f0717c7a3e9dc522ff1c69f8dc3227 | [
"BSD-4-Clause-UC",
"BSD-4-Clause"
] | 14 | 2016-07-11T14:28:42.000Z | 2017-01-27T02:59:24.000Z | src/printer/CPPPrinter.cpp | shiruizhao/swift | 2026acce35f0717c7a3e9dc522ff1c69f8dc3227 | [
"BSD-4-Clause-UC",
"BSD-4-Clause"
] | 7 | 2016-10-03T10:05:06.000Z | 2021-05-31T00:58:35.000Z | #include "CPPPrinter.h"
#include <cassert>
#include "../code/Code.h"
namespace swift {
namespace printer {
CPPPrinter::CPPPrinter(std::string str) :
Printer(str), isforward(false), isheader(false) {
}
CPPPrinter::~CPPPrinter() {
}
std::string CPPPrinter::OpConvert(code::OpKind op) {
using code::OpKind;
swi... | 24.438224 | 128 | 0.593451 | [
"vector"
] |
f47990d4319aa1660f83c3f98b7554ec24e465f3 | 3,858 | cpp | C++ | nerarith-c++/day5/5a.cpp | joelfak/advent_of_code_2019 | d5031078c53c181835b4bf86458b360542f0122e | [
"Apache-2.0"
] | 9 | 2019-12-01T14:52:40.000Z | 2020-12-16T14:24:19.000Z | nerarith-c++/day5/5a.cpp | joelfak/advent_of_code_2019 | d5031078c53c181835b4bf86458b360542f0122e | [
"Apache-2.0"
] | null | null | null | nerarith-c++/day5/5a.cpp | joelfak/advent_of_code_2019 | d5031078c53c181835b4bf86458b360542f0122e | [
"Apache-2.0"
] | 51 | 2019-11-26T14:49:05.000Z | 2021-12-01T20:53:41.000Z | #include <bits/stdc++.h>
#include "prettyprint.hpp"
using namespace std;
const int MAX_NUM_PARAMETERS = 3;
set<int> known_opcodes = {1, 2, 3, 4, 99};
map<int, int> num_parameters_for_opcode = {
{1, 3},
{2, 3},
{3, 1},
{4, 1},
{99, 0}
};
vector<int> memory;
int memory_size;
int memory_get (int addr... | 27.755396 | 120 | 0.572836 | [
"vector"
] |
f47c5d13ef03e6bef56d2e30cd264e82e3a893dd | 3,786 | cpp | C++ | engine/framework/nodes/vector_operator_node.cpp | wight-snake/Twilight | 836abb43c9920b9245e4f08520746c088dbf6172 | [
"MIT"
] | 1 | 2021-12-06T16:17:19.000Z | 2021-12-06T16:17:19.000Z | engine/framework/nodes/vector_operator_node.cpp | wight-snake/Twilight | 836abb43c9920b9245e4f08520746c088dbf6172 | [
"MIT"
] | null | null | null | engine/framework/nodes/vector_operator_node.cpp | wight-snake/Twilight | 836abb43c9920b9245e4f08520746c088dbf6172 | [
"MIT"
] | null | null | null | #include "vector_operator_node.h"
#include "node_graph.h"
const std::vector<std::string> VectorOperatorNode::operationNames = {
"normalize",
"invert",
"multiply",
"devide",
"add",
"subtract",
"dot",
"cross",
"rotate_axis",
"rotate",
"lerp",
"transform"
};
void VectorOperatorNode::InitializeSlots()
{
pNod... | 30.047619 | 146 | 0.677496 | [
"vector",
"transform"
] |
f4823533b55feb4ece31f07f31332b8dca733d52 | 1,668 | cpp | C++ | C++/15-3Sum.cpp | Auful01/Hacktoberfest-2021 | 0039fd26f8f3b97a9748a4fc76e7d77157fed56a | [
"MIT"
] | 38 | 2021-09-02T22:02:34.000Z | 2021-10-02T19:33:34.000Z | C++/15-3Sum.cpp | Auful01/Hacktoberfest-2021 | 0039fd26f8f3b97a9748a4fc76e7d77157fed56a | [
"MIT"
] | 188 | 2021-09-30T08:16:25.000Z | 2021-10-03T14:11:37.000Z | C++/15-3Sum.cpp | Auful01/Hacktoberfest-2021 | 0039fd26f8f3b97a9748a4fc76e7d77157fed56a | [
"MIT"
] | 131 | 2021-09-20T17:01:11.000Z | 2021-10-03T07:34:14.000Z | /*Link Of Question : https://leetcode.com/problems/3sum/
Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0.
Note: The solution set must not contain duplicate triplets.
*/
//Solution
class Solution {
public:
ve... | 34.040816 | 156 | 0.489808 | [
"vector"
] |
f482b7a6f685cca251c1a8600b8ccd1553100c04 | 1,461 | hpp | C++ | src/string/test_dict_search.hpp | RamchandraApte/OmniTemplate | f150f451871b0ab43ac39a798186278106da1527 | [
"MIT"
] | 14 | 2019-04-23T21:44:12.000Z | 2022-03-04T22:48:59.000Z | src/string/test_dict_search.hpp | RamchandraApte/OmniTemplate | f150f451871b0ab43ac39a798186278106da1527 | [
"MIT"
] | 3 | 2019-04-25T10:45:32.000Z | 2020-08-05T22:40:39.000Z | src/string/test_dict_search.hpp | RamchandraApte/OmniTemplate | f150f451871b0ab43ac39a798186278106da1527 | [
"MIT"
] | 1 | 2020-07-16T22:16:33.000Z | 2020-07-16T22:16:33.000Z | #include "dict_search.hpp"
namespace string_tools::test {
template <typename Trie_Type> void test_dict_search_impl() {
auto trie = new Trie_Type{};
const vector<string> good_words{"hello", "world", "hell", "water", "wo", "lop",
"l", "er", "y", "yyy", "yyyy"};
const vector<string> bad_words{"help", "thin... | 33.976744 | 82 | 0.637919 | [
"vector"
] |
f48ac2bf330f4ac565d1b267781a0b3303290115 | 2,486 | cpp | C++ | Flag.cpp | zacharytay1994/NotSoSuperMario | e0828f4cb2231f2e5993a71a492a25892744e129 | [
"CC-BY-3.0"
] | 2 | 2019-11-22T06:04:43.000Z | 2019-12-05T13:29:17.000Z | Flag.cpp | zacharytay1994/NotSoSuperMario | e0828f4cb2231f2e5993a71a492a25892744e129 | [
"CC-BY-3.0"
] | null | null | null | Flag.cpp | zacharytay1994/NotSoSuperMario | e0828f4cb2231f2e5993a71a492a25892744e129 | [
"CC-BY-3.0"
] | null | null | null | #include "Flag.h"
#include "CollisionDetectionComponent.h"
#include "Vec2.h"
#include "Scene.h"
#include "LevelOne.h"
Flag::Flag(ColliderManager& cm, const Vec2<float>& position, GameObject& mario, Scene& scene)
:
GameObject("pictures\\" + theme + "\\flagPole.png", 32, 640, 1, D3DXVECTOR2(position.x_, position.y_)),... | 34.054795 | 122 | 0.703138 | [
"render"
] |
f48c35a6e26dd4b0f66a402dc28db911e7627aaa | 2,401 | cpp | C++ | hi_tools/mcl_editor/code_editor/CaretComponent.cpp | Matt-Dub/HISE | ae2dd1653e1c8d749a9088edcd573de6252b0b96 | [
"Intel"
] | null | null | null | hi_tools/mcl_editor/code_editor/CaretComponent.cpp | Matt-Dub/HISE | ae2dd1653e1c8d749a9088edcd573de6252b0b96 | [
"Intel"
] | null | null | null | hi_tools/mcl_editor/code_editor/CaretComponent.cpp | Matt-Dub/HISE | ae2dd1653e1c8d749a9088edcd573de6252b0b96 | [
"Intel"
] | null | null | null | /** ============================================================================
*
* MCL Text Editor JUCE module
*
* Copyright (C) Jonathan Zrake, Christoph Hart
*
* You may use, distribute and modify this code under the terms of the GPL3
* license.
* ===========================================================... | 21.827273 | 107 | 0.641399 | [
"transform"
] |
f48fa89399de54a157f457445cd2382806fd513f | 2,737 | cpp | C++ | KTLT/lab3/Bai 3_11.cpp | trannguyenhan01092000/WorkspaceAlgorithm | 6ad3f12d55c7675184a8c15c5388ee8422e15a16 | [
"MIT"
] | 8 | 2020-11-26T03:36:49.000Z | 2020-11-28T14:33:07.000Z | KTLT/lab3/Bai 3_11.cpp | trannguyenhan/WorkspaceAlgorithm | 6ad3f12d55c7675184a8c15c5388ee8422e15a16 | [
"MIT"
] | null | null | null | KTLT/lab3/Bai 3_11.cpp | trannguyenhan/WorkspaceAlgorithm | 6ad3f12d55c7675184a8c15c5388ee8422e15a16 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
const int MAX = 10000;
int n, r;
int price[MAX][MAX];
int x[MAX];
bool visited[MAX];
vector<int> vt;
int min_price;
int sum_price;
int start, destination, numberOfPoint;
void input(){
cin >> n >> r;
for(int i=0; i<n; i++)
for(int j=0; j<n; j++){
... | 24.881818 | 83 | 0.479357 | [
"vector"
] |
f4b8d05b5050fe253458152d51cee7725278d218 | 1,510 | cpp | C++ | main.cpp | silentWatcher3/Ludo-The_Game | 03576725241fe89dfd7cc74110971877663086b0 | [
"MIT"
] | null | null | null | main.cpp | silentWatcher3/Ludo-The_Game | 03576725241fe89dfd7cc74110971877663086b0 | [
"MIT"
] | null | null | null | main.cpp | silentWatcher3/Ludo-The_Game | 03576725241fe89dfd7cc74110971877663086b0 | [
"MIT"
] | null | null | null | #include <iostream>
#include "game.hpp"
static int numGamePlays = 0;
using std::clog;
int main(int argc, char const *argv[])
{
game newGame;
//GamePlay starts
try
{
short playConsent = 1;
do
{
if (!newGame.InitGame(playConsent))
{
std::cerr << "Couldn't initiate the game... Exiting" << std::end... | 27.454545 | 165 | 0.660927 | [
"object"
] |
f4b93626d0fdfb5657f035dfbbc30b63d87124e5 | 6,734 | cpp | C++ | plugins/archive/dmzMBRAPluginArchiveSupport.cpp | dmzgroup/mbra | d6749472f7c5463863ca93a8faff37f2afc9d1df | [
"MIT"
] | 1 | 2015-11-05T03:03:43.000Z | 2015-11-05T03:03:43.000Z | plugins/archive/dmzMBRAPluginArchiveSupport.cpp | dmzgroup/mbra | d6749472f7c5463863ca93a8faff37f2afc9d1df | [
"MIT"
] | null | null | null | plugins/archive/dmzMBRAPluginArchiveSupport.cpp | dmzgroup/mbra | d6749472f7c5463863ca93a8faff37f2afc9d1df | [
"MIT"
] | null | null | null | #include "dmzMBRAPluginArchiveSupport.h"
#include <dmzObjectAttributeMasks.h>
#include <dmzObjectModule.h>
#include <dmzQtModuleMap.h>
#include <dmzRuntimeConfigToNamedHandle.h>
#include <dmzRuntimeConfigToTypesBase.h>
#include <dmzRuntimeData.h>
#include <dmzRuntimePluginFactoryLinkSymbol.h>
#include <dmzRuntimePlugin... | 23.22069 | 84 | 0.621473 | [
"object",
"vector"
] |
f4bef07955fac22b734a90392b20504cd3954bc8 | 1,668 | cc | C++ | apps/run.cc | CS126SP20/Math-Expression-OCR | d2172ad90c4504f0d986ab95c8a7f5f46e667c39 | [
"MIT"
] | null | null | null | apps/run.cc | CS126SP20/Math-Expression-OCR | d2172ad90c4504f0d986ab95c8a7f5f46e667c39 | [
"MIT"
] | null | null | null | apps/run.cc | CS126SP20/Math-Expression-OCR | d2172ad90c4504f0d986ab95c8a7f5f46e667c39 | [
"MIT"
] | null | null | null | // Copyright (c) 2020 [Your Name]. All rights reserved.
#include <cinder/app/App.h>
#include <cinder/app/RendererGl.h>
#include <gflags/gflags.h>
#include "my_app.h"
using cinder::app::App;
using cinder::app::RendererGl;
namespace myapp {
DEFINE_string(training_images, "../../../../../../assets/training/", "path to... | 34.75 | 112 | 0.675659 | [
"vector",
"model"
] |
f4ca7512fc1f81b304884d60d2706f878269fb0c | 2,098 | hpp | C++ | include/dal.hpp | FelipeCRamos/adt-dict | 7c3d79cb386513c80b47b11ff65d4b911623e80d | [
"MIT"
] | 1 | 2019-03-19T22:10:13.000Z | 2019-03-19T22:10:13.000Z | include/dal.hpp | FelipeCRamos/adt-dict | 7c3d79cb386513c80b47b11ff65d4b911623e80d | [
"MIT"
] | null | null | null | include/dal.hpp | FelipeCRamos/adt-dict | 7c3d79cb386513c80b47b11ff65d4b911623e80d | [
"MIT"
] | null | null | null | #ifndef _DAL_HPP_
#define _DAL_HPP_
#define debug false
#include <iostream>
#include <string>
#include <functional>
template <class Key, class Data, class KeyComparator = std::less<int> >
class DAL{
protected:
// using Key = int; // Key alias
// using Data = std::string; // Data Alias
struct NodeAL{ // No... | 28.351351 | 73 | 0.627741 | [
"vector"
] |
f4d45c3291f337a415341587fee6b73bf87869fe | 717 | cpp | C++ | Questions Level-Wise/Easy/verifying-an-alien-dictionary.cpp | PrakharPipersania/LeetCode-Solutions | ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7 | [
"MIT"
] | 2 | 2021-03-05T22:32:23.000Z | 2021-03-05T22:32:29.000Z | Questions Level-Wise/Easy/verifying-an-alien-dictionary.cpp | PrakharPipersania/LeetCode-Solutions | ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7 | [
"MIT"
] | null | null | null | Questions Level-Wise/Easy/verifying-an-alien-dictionary.cpp | PrakharPipersania/LeetCode-Solutions | ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7 | [
"MIT"
] | null | null | null | class Solution {
public:
bool compare(string &x,string &y,unordered_map<char,short> &pattern)
{
short len=min(x.size(),y.size());
for(int i=0;i<len;i++)
{
if(pattern[x[i]]>pattern[y[i]])
return 0;
else if(pattern[x[i]]<pattern[y[i]])
... | 28.68 | 72 | 0.490934 | [
"vector"
] |
f4da66328242b34be6526c9f4350d87482e3904e | 14,222 | cc | C++ | content/child/indexed_db/indexed_db_dispatcher.cc | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | content/child/indexed_db/indexed_db_dispatcher.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/child/indexed_db/indexed_db_dispatcher.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/child/indexed_db/indexed_db_dispatcher.h"
#include <utility>
#include "base/format_macros.h"
#include "base/lazy_instance.h"
#include ... | 37.230366 | 89 | 0.750668 | [
"vector"
] |
f4de61ffce25c1a7a591edb1b8b73a05d83692cd | 800 | cpp | C++ | src/container-with-most-water.cpp | Liuchang0812/leetcode | d71f87b0035e661d0009f4382b39c4787c355f89 | [
"MIT"
] | 9 | 2015-09-09T20:28:31.000Z | 2019-05-15T09:13:07.000Z | src/container-with-most-water.cpp | liuchang0812/leetcode | d71f87b0035e661d0009f4382b39c4787c355f89 | [
"MIT"
] | 1 | 2015-02-25T13:10:09.000Z | 2015-02-25T13:10:09.000Z | src/container-with-most-water.cpp | liuchang0812/leetcode | d71f87b0035e661d0009f4382b39c4787c355f89 | [
"MIT"
] | 1 | 2016-08-31T19:14:52.000Z | 2016-08-31T19:14:52.000Z | #include <vector>
#include <iostream>
using namespace std;
class Solution {
public:
int maxArea(vector<int> &height) {
int ans = 0;
int l, r;
l = 0;
r = height.size()-1;
while( l < r)
{
while (l < r && height[l] >= height[r])
{
ans = ma... | 19.512195 | 50 | 0.43875 | [
"vector"
] |
f4de8250101785f9dc05cc3db7442b7934dea052 | 9,756 | cpp | C++ | smalldrop/smalldrop_robot_arm/src/controllers/gravity_compensation_real_controller.cpp | blackchacal/Master-Thesis----Software | 9a9858ede3086eee99d1fc969e32b4fb13278f00 | [
"MIT"
] | 1 | 2020-08-16T14:37:09.000Z | 2020-08-16T14:37:09.000Z | smalldrop/smalldrop_robot_arm/src/controllers/gravity_compensation_real_controller.cpp | blackchacal/Master-Thesis----Software | 9a9858ede3086eee99d1fc969e32b4fb13278f00 | [
"MIT"
] | 1 | 2020-06-26T09:14:45.000Z | 2020-07-18T08:46:50.000Z | smalldrop/smalldrop_robot_arm/src/controllers/gravity_compensation_real_controller.cpp | blackchacal/smalldrop | 9a9858ede3086eee99d1fc969e32b4fb13278f00 | [
"MIT"
] | null | null | null | // Copyright (c) 2019-2020 Ricardo Tonet
// Use of this source code is governed by the MIT license, see LICENSE
#include "smalldrop_robot_arm/gravity_compensation_real_controller.h"
namespace smalldrop
{
namespace smalldrop_robot_arm
{
/********************************************************************************... | 38.561265 | 127 | 0.644834 | [
"vector",
"model",
"transform"
] |
f4e768ec506e5d87c7848c9982429237a46c0986 | 12,445 | cpp | C++ | app/src/main/cpp/VideoProcessor.cpp | suhail-mir/EVMHR | 64b90601b6d212150bfdabb70ddec421a60cdd1c | [
"MIT"
] | 2 | 2016-10-10T15:32:23.000Z | 2019-07-22T00:51:23.000Z | app/src/main/cpp/VideoProcessor.cpp | suhail-mir/EVMHR | 64b90601b6d212150bfdabb70ddec421a60cdd1c | [
"MIT"
] | null | null | null | app/src/main/cpp/VideoProcessor.cpp | suhail-mir/EVMHR | 64b90601b6d212150bfdabb70ddec421a60cdd1c | [
"MIT"
] | 3 | 2019-06-17T08:21:31.000Z | 2019-10-21T07:37:51.000Z | // Yet anther C++ implementation of EVM, based on OpenCV and Qt.
// Copyright (C) 2014 Joseph Pan <cs.wzpan@gmail.com>
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either vers... | 22.383094 | 117 | 0.657613 | [
"vector"
] |
f4eaa939563739a84626d2929e0200d2f4f0643a | 5,304 | cpp | C++ | app/src/particlesource.cpp | DaveeFTW/infinity | 6a4f269f8abcf65696064cad94ba9ac8b845bd74 | [
"MIT"
] | 137 | 2019-11-10T16:12:16.000Z | 2022-03-27T23:32:15.000Z | app/src/particlesource.cpp | DaveeFTW/infinity | 6a4f269f8abcf65696064cad94ba9ac8b845bd74 | [
"MIT"
] | 12 | 2019-11-11T20:37:05.000Z | 2021-11-14T17:18:56.000Z | app/src/particlesource.cpp | DaveeFTW/infinity | 6a4f269f8abcf65696064cad94ba9ac8b845bd74 | [
"MIT"
] | 49 | 2019-11-15T02:37:05.000Z | 2022-03-28T20:04:49.000Z | /*
Copyright (C) 2015, David "Davee" Morgan
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, dist... | 28.363636 | 98 | 0.669495 | [
"render"
] |
f4eb892559abbda855dfcf2cefd134d1efd10429 | 861 | cpp | C++ | src/CaptureFile/BufferOutputStream.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 1,847 | 2020-03-24T19:01:42.000Z | 2022-03-31T13:18:57.000Z | src/CaptureFile/BufferOutputStream.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 1,100 | 2020-03-24T19:41:13.000Z | 2022-03-31T14:27:09.000Z | src/CaptureFile/BufferOutputStream.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 228 | 2020-03-25T05:32:08.000Z | 2022-03-31T11:27:39.000Z | // Copyright (c) 2021 The Orbit 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 "CaptureFile/BufferOutputStream.h"
#include <algorithm>
#include <cstring>
#include "OrbitBase/File.h"
namespace orbit_capture_file {
bool B... | 23.27027 | 73 | 0.722416 | [
"vector"
] |
f4ef6fc1dc44e33b413be533618540a1d62b9cbb | 4,087 | cc | C++ | PYTHIA8/pythia8243/examples/main121.cc | mpoghos/AliRoot | e81490f640ad6f2a6189f679de96b07a94304b58 | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | PYTHIA8/pythia8243/examples/main121.cc | mpoghos/AliRoot | e81490f640ad6f2a6189f679de96b07a94304b58 | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | PYTHIA8/pythia8243/examples/main121.cc | mpoghos/AliRoot | e81490f640ad6f2a6189f679de96b07a94304b58 | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | // main121.cc is a part of the PYTHIA event generator.
// Copyright (C) 2019 Torbjorn Sjostrand.
// PYTHIA is licenced under the GNU GPL v2 or later, see COPYING for details.
// Please respect the MCnet Guidelines, see GUIDELINES for details.
// Illustrate how to set up automatic uncertainty band calculations.
#inclu... | 34.635593 | 79 | 0.619036 | [
"vector"
] |
760e4c889facb07b9a41bfcd0ae7b70ccd33d8ff | 3,016 | cc | C++ | poj/3/3945.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | 1 | 2015-04-17T09:54:23.000Z | 2015-04-17T09:54:23.000Z | poj/3/3945.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | null | null | null | poj/3/3945.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <queue>
#include <algorithm>
using namespace std;
static const int INF = 10000000;
struct cube
{
int x, y, t, n, e, i;
cube(int a, int b, int c, int d, int e_, int f)
: x(a), y(b), t(c), n(d), e(e_), i(f)
{}
int top() const { return t; }
int bottom() const { return t^1; }
i... | 23.748031 | 86 | 0.395225 | [
"vector"
] |
760e79cf230e11a5a0554254b3140ed8553f4eab | 1,794 | hpp | C++ | 3space-studio/src/canvas_painter.hpp | gifted-nguvu/darkstar-dts-converter | aa17a751a9f3361ca9bbb400ee4c9516908d1297 | [
"MIT"
] | 2 | 2020-03-18T18:23:27.000Z | 2020-08-02T15:59:16.000Z | 3space-studio/src/canvas_painter.hpp | gifted-nguvu/darkstar-dts-converter | aa17a751a9f3361ca9bbb400ee4c9516908d1297 | [
"MIT"
] | 5 | 2019-07-07T16:47:47.000Z | 2020-08-10T16:20:00.000Z | 3space-studio/src/canvas_painter.hpp | gifted-nguvu/darkstar-dts-converter | aa17a751a9f3361ca9bbb400ee4c9516908d1297 | [
"MIT"
] | 1 | 2020-03-18T18:23:30.000Z | 2020-03-18T18:23:30.000Z | #ifndef DARKSTARDTSCONVERTER_DTS_WIDGET_HPP
#define DARKSTARDTSCONVERTER_DTS_WIDGET_HPP
#include "views/graphics_view.hpp"
namespace studio
{
auto canvas_painter(const std::shared_ptr<wxWindow>& parent, const std::shared_ptr<sf::RenderWindow>& window, ImGuiContext& gui_context, std::shared_ptr<views::graphics_view>... | 28.47619 | 185 | 0.566332 | [
"render"
] |
760ec6cef7ec282cbe7d4e9b9d070261f5211052 | 17,233 | cpp | C++ | trots_lib/TROTSEntry.cpp | felliu/Optimization-Benchmarks | 384c3d8c5f526a1b5a9392e80d8e67ffe410a0a2 | [
"BSD-3-Clause"
] | null | null | null | trots_lib/TROTSEntry.cpp | felliu/Optimization-Benchmarks | 384c3d8c5f526a1b5a9392e80d8e67ffe410a0a2 | [
"BSD-3-Clause"
] | null | null | null | trots_lib/TROTSEntry.cpp | felliu/Optimization-Benchmarks | 384c3d8c5f526a1b5a9392e80d8e67ffe410a0a2 | [
"BSD-3-Clause"
] | null | null | null | #include <algorithm>
#include <cassert>
#include <cmath>
#include <memory>
#include <numeric>
#include <unordered_set>
#include <vector>
#include <matio.h>
#ifdef USE_MKL
#include "MKL_sparse_matrix.h"
#endif
#include "TROTSEntry.h"
#include "util.h"
namespace {
const char* func_type_names[] = {"Min", "Max", "Me... | 38.900677 | 144 | 0.632043 | [
"vector"
] |
76150a80b007b50b2965bcc131c1cfc8afbbae42 | 2,098 | cpp | C++ | lumino/Runtime/src/Engine/CoreApplication.cpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 30 | 2016-01-24T05:35:45.000Z | 2020-03-03T09:54:27.000Z | lumino/Runtime/src/Engine/CoreApplication.cpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 35 | 2016-04-18T06:14:08.000Z | 2020-02-09T15:51:58.000Z | lumino/Runtime/src/Engine/CoreApplication.cpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 5 | 2016-04-03T02:52:05.000Z | 2018-01-02T16:53:06.000Z | #include "Internal.hpp"
#include <LuminoEngine/Reflection/TypeInfo.hpp>
#include <LuminoEngine/Engine/EngineContext2.hpp>
#include <LuminoEngine/Engine/CoreApplication.hpp>
namespace ln {
//==============================================================================
// CoreApplication
LN_OBJECT_IMPLEMENT(Core... | 21.854167 | 127 | 0.621544 | [
"render",
"object"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.