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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a67b02002c3221b8e892df4ae03f42d753b4cd7c | 37,937 | cpp | C++ | PhysX_3.4/Source/SimulationController/src/cloth/ScClothCore.cpp | RyanTorant/simple-physx | a065a9c734c134074c63c80a9109a398b22d040c | [
"Unlicense"
] | 1 | 2019-12-09T16:03:55.000Z | 2019-12-09T16:03:55.000Z | PhysX_3.4/Source/SimulationController/src/cloth/ScClothCore.cpp | RyanTorant/simple-physx | a065a9c734c134074c63c80a9109a398b22d040c | [
"Unlicense"
] | null | null | null | PhysX_3.4/Source/SimulationController/src/cloth/ScClothCore.cpp | RyanTorant/simple-physx | a065a9c734c134074c63c80a9109a398b22d040c | [
"Unlicense"
] | null | null | null | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | 32.676141 | 145 | 0.788808 | [
"object"
] |
a67e00a955390b04338326d58b9ee9cdac309b0f | 1,660 | cpp | C++ | Gems/Atom/Tools/AtomToolsFramework/Code/Source/AtomToolsFrameworkModule.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-28T08:06:58.000Z | 2022-03-28T08:06:58.000Z | Gems/Atom/Tools/AtomToolsFramework/Code/Source/AtomToolsFrameworkModule.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Atom/Tools/AtomToolsFramework/Code/Source/AtomToolsFrameworkModule.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AtomToolsFrameworkModule.h>
#include <AtomToolsFrameworkSystemComponent.h>
#include <Win... | 37.727273 | 100 | 0.748193 | [
"3d"
] |
a67e529828f0e96d0224204f1fd3311a86ac219b | 5,766 | cc | C++ | nofx/nofx_ofAppRunner/main.cc | sepehr-laal/nofx | 7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e | [
"MIT"
] | null | null | null | nofx/nofx_ofAppRunner/main.cc | sepehr-laal/nofx | 7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e | [
"MIT"
] | null | null | null | nofx/nofx_ofAppRunner/main.cc | sepehr-laal/nofx | 7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e | [
"MIT"
] | null | null | null | #include "globals.h"
#include "nofx_dependencies.h"
#include "nofx_ofDoesHWOrientation.h"
#include "nofx_ofExit.h"
#include "nofx_ofGetAppPtr.h"
#include "nofx_ofGetFrameNum.h"
#include "nofx_ofGetFrameRate.h"
#include "nofx_ofGetHeight.h"
#include "nofx_ofGetLastFrameTime.h"
#include "nofx_ofGetOrientation.h"
#include... | 64.066667 | 131 | 0.771245 | [
"object"
] |
a67fcd798efacb9c6d6f32ee241aa2afa2640050 | 5,374 | hpp | C++ | cpp/src/samchon/protocol/Invoke.hpp | wydingez/truck-packer | c59d2ec322b08ac9ba773616a886a575d2af6461 | [
"BSD-3-Clause"
] | 111 | 2016-04-08T14:10:15.000Z | 2020-12-21T12:25:10.000Z | cpp/src/samchon/protocol/Invoke.hpp | wydingez/truck-packer | c59d2ec322b08ac9ba773616a886a575d2af6461 | [
"BSD-3-Clause"
] | 16 | 2016-05-27T05:41:56.000Z | 2020-06-23T14:55:00.000Z | cpp/src/samchon/protocol/Invoke.hpp | wydingez/truck-packer | c59d2ec322b08ac9ba773616a886a575d2af6461 | [
"BSD-3-Clause"
] | 49 | 2016-10-27T09:45:35.000Z | 2020-12-21T12:25:13.000Z | #pragma once
#include <samchon/protocol/SharedEntityArray.hpp>
# include <samchon/protocol/InvokeParameter.hpp>
namespace samchon
{
namespace protocol
{
/**
* @brief Standard message of network I/O
*
* @details
* <p> Invoke is a class used in network I/O in protocol package of Samchon Framework. </p>
*
* ... | 30.534091 | 117 | 0.615929 | [
"object"
] |
a68bb64c58d1badd99e250147cea7f7b47ed3071 | 1,092 | cpp | C++ | DP/knapsackwithduplicateterms/recursive.cpp | UltraProton/Placement-Prepration | cc70f174c4410c254ce0469737a884fffdc81164 | [
"MIT"
] | null | null | null | DP/knapsackwithduplicateterms/recursive.cpp | UltraProton/Placement-Prepration | cc70f174c4410c254ce0469737a884fffdc81164 | [
"MIT"
] | 3 | 2020-05-08T18:02:51.000Z | 2020-05-09T08:37:35.000Z | DP/knapsackwithduplicateterms/recursive.cpp | UltraProton/PlacementPrep | cc70f174c4410c254ce0469737a884fffdc81164 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int knapsack(vector<int> &values, vector<int> &weights, int W, int curr_idx);
int main(int argc, char const *argv[])
{
/* code */
int t=0,n=0,w=0;
int i=0;
vector<int> values;
vector<int> weights;
cin>>t;
while (t>0)
{
cin>>n;
... | 17.333333 | 97 | 0.5 | [
"vector"
] |
a68d501268aa7538240c0510221d848702132efc | 4,468 | cpp | C++ | krust-tests/krust-test-simple.cpp | ahcox/krust | c4c349b3432d086466a13aef61ab220d8c43bcbb | [
"MIT"
] | 4 | 2016-05-09T08:22:52.000Z | 2019-12-07T16:19:50.000Z | krust-tests/krust-test-simple.cpp | ahcox/krust | c4c349b3432d086466a13aef61ab220d8c43bcbb | [
"MIT"
] | null | null | null | krust-tests/krust-test-simple.cpp | ahcox/krust | c4c349b3432d086466a13aef61ab220d8c43bcbb | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include "catch.hpp"
/* -----------------------------------------------------------------------------
* Test of the RefObject class.
*/
#include "krust/public-api/ref-object.h"
namespace {
namespace kr = Krust;
struct TestRefObect : public kr::RefObject
{
TestRefObect(bool& destr... | 24.822222 | 80 | 0.576992 | [
"object",
"vector"
] |
a6920d62f0f78cd6ec32a322f06cb8daa44c0486 | 2,035 | cpp | C++ | src/main.cpp | szynka12/deiimos | 9cab00bc869d9d672cbd24271812ae7643317377 | [
"MIT"
] | null | null | null | src/main.cpp | szynka12/deiimos | 9cab00bc869d9d672cbd24271812ae7643317377 | [
"MIT"
] | null | null | null | src/main.cpp | szynka12/deiimos | 9cab00bc869d9d672cbd24271812ae7643317377 | [
"MIT"
] | null | null | null | #include "ManifoldFactory.h"
#include "MeshReader.h"
#include "TopologyInfo.h"
#include "XmlHandler.h"
#include "XmlNode.h"
#include "merge.h"
#include "mesh.h"
#include "msgstream.h"
#include "tinyxml2.h"
#include <array>
#include <chrono>
#include <iostream>
#include <tuple>
#include <type_traits>
#include <typeinfo... | 25.4375 | 79 | 0.600983 | [
"mesh"
] |
a692b9f3f9081d48782a8774e96172a7e717ed22 | 5,308 | cpp | C++ | Source Code/src/OrchestrationServer.cpp | devcoons/orchestration-api | d5dd2790b2c5d1f1b28aefed7028de55934e8a44 | [
"MIT"
] | 1 | 2021-12-15T07:51:36.000Z | 2021-12-15T07:51:36.000Z | Source Code/src/OrchestrationServer.cpp | devcoons/orchestration-api | d5dd2790b2c5d1f1b28aefed7028de55934e8a44 | [
"MIT"
] | null | null | null | Source Code/src/OrchestrationServer.cpp | devcoons/orchestration-api | d5dd2790b2c5d1f1b28aefed7028de55934e8a44 | [
"MIT"
] | null | null | null | #include "OrchestrationServer.h"
namespace Orchestration
{
Server::Server()
{
active = true;
setpriority(PRIO_PROCESS, getpid(), -20);
globalPolicy = GlobalPolicyType::Free;
policyGoal = 0;
}
Server::~Server()
{
}
void Server::initialize()
{
mux.lock();
applications = std::vector<std::unique_pt... | 34.69281 | 187 | 0.64318 | [
"vector"
] |
a69d6448e4dc44d9077eebc3f878348ac873a730 | 1,255 | cpp | C++ | Graphs/dfs.cpp | Rohit01-pro/All_Program_helper | 86b75ecc4ecb095f11e46e6f80c660e27dd22f27 | [
"MIT"
] | 16 | 2021-10-03T11:15:49.000Z | 2021-10-31T04:40:24.000Z | Graphs/dfs.cpp | Rohit01-pro/All_Program_helper | 86b75ecc4ecb095f11e46e6f80c660e27dd22f27 | [
"MIT"
] | 232 | 2021-10-02T14:51:43.000Z | 2021-11-14T08:23:27.000Z | Graphs/dfs.cpp | Rohit01-pro/All_Program_helper | 86b75ecc4ecb095f11e46e6f80c660e27dd22f27 | [
"MIT"
] | 166 | 2021-10-02T13:56:34.000Z | 2021-10-31T17:56:34.000Z | #include<bits/stdc++.h>
using namespace std;
class Solution {
public:
// Function to return a list containing the DFS traversal of the graph.
void dfs_helper(int node,vector <int> adj[],vector <int> &vis,vector <int> &ans){
ans.push_back(node);
vis[node]=1;
for(auto it : adj[... | 22.410714 | 86 | 0.45259 | [
"vector"
] |
a6a17207056994aa7b4ebb80fad1576622769332 | 51,106 | cc | C++ | client/p4ml_manager.cc | ATP-NSDI/switchML | 576795c1197549116be215e54288e1ef2ec0dfd5 | [
"MIT"
] | 17 | 2021-02-25T02:30:50.000Z | 2022-03-07T14:25:35.000Z | client/p4ml_manager.cc | ATP-NSDI/switchML | 576795c1197549116be215e54288e1ef2ec0dfd5 | [
"MIT"
] | null | null | null | client/p4ml_manager.cc | ATP-NSDI/switchML | 576795c1197549116be215e54288e1ef2ec0dfd5 | [
"MIT"
] | 2 | 2021-02-26T02:21:32.000Z | 2021-11-13T09:36:37.000Z | #include "p4ml_manager.h"
#define CC_ENABLE false
#define LOSS_RECOVERY_ENABLE false
#define LOSS_RECOVERY_LOG true
uint32_t P4mlManager::host;
uint8_t P4mlManager::num_worker;
uint16_t P4mlManager::appID;
uint64_t P4mlManager::p4mlKey;
int P4mlManager::max_agtr_size_per_thread = 0;
int P4mlManager::_num_thread;
std... | 52.686598 | 308 | 0.511838 | [
"vector",
"model"
] |
a6a3685f50a0706bb131d4437d630a555392b7a4 | 580 | cpp | C++ | Problemset/unique-number-of-occurrences/unique-number-of-occurrences.cpp | Singularity0909/LeetCode | d46fb1c8ed9b16339d46d5c37f69d44e5c178954 | [
"MIT"
] | 1 | 2020-10-06T01:06:45.000Z | 2020-10-06T01:06:45.000Z | Problemset/unique-number-of-occurrences/unique-number-of-occurrences.cpp | Singularity0909/LeetCode | d46fb1c8ed9b16339d46d5c37f69d44e5c178954 | [
"MIT"
] | null | null | null | Problemset/unique-number-of-occurrences/unique-number-of-occurrences.cpp | Singularity0909/LeetCode | d46fb1c8ed9b16339d46d5c37f69d44e5c178954 | [
"MIT"
] | 1 | 2021-11-17T13:52:51.000Z | 2021-11-17T13:52:51.000Z |
// @Title: 独一无二的出现次数 (Unique Number of Occurrences)
// @Author: Singularity0909
// @Date: 2020-10-28 00:04:14
// @Runtime: 4 ms
// @Memory: 8.5 MB
class Solution {
public:
bool uniqueOccurrences(vector<int>& arr)
{
unordered_map<int, int> mp;
for (int x : arr) {
++mp[x];
}
... | 21.481481 | 51 | 0.484483 | [
"vector"
] |
a6a71267838b8dbff8e199947b626571e6264d7b | 5,927 | cpp | C++ | src/MaterialManager.cpp | gchunev/Dice4D | f96db406204fdca0155d26db856b66a2afd4e664 | [
"MIT"
] | 1 | 2019-05-22T08:53:46.000Z | 2019-05-22T08:53:46.000Z | src/MaterialManager.cpp | gchunev/Dice4D | f96db406204fdca0155d26db856b66a2afd4e664 | [
"MIT"
] | null | null | null | src/MaterialManager.cpp | gchunev/Dice4D | f96db406204fdca0155d26db856b66a2afd4e664 | [
"MIT"
] | null | null | null | #include "MaterialManager.h"
#include "GraphicsUtils.h"
#include <rapidxml/rapidxml.hpp>
#include <iostream>
#include <fstream>
#include <vector>
using namespace rapidxml;
MaterialManager* MaterialManager::m_pInstance = NULL;
MaterialManager* MaterialManager::GetInstance()
{
if (!m_pInstance)
m_pInstance = new... | 22.033457 | 127 | 0.681964 | [
"object",
"vector"
] |
16f6a784c5d09d5eff23d81b3e38994baf9c4a6f | 12,140 | cpp | C++ | src/main.cpp | moldyn/MSMPathfinder | 7eee889415427a550312d3fd1bd7238fe542a6e3 | [
"MIT"
] | 3 | 2020-12-10T13:22:20.000Z | 2021-04-23T12:05:07.000Z | src/main.cpp | biocheming/MSMPathfinder | 7eee889415427a550312d3fd1bd7238fe542a6e3 | [
"MIT"
] | null | null | null | src/main.cpp | biocheming/MSMPathfinder | 7eee889415427a550312d3fd1bd7238fe542a6e3 | [
"MIT"
] | 1 | 2021-07-13T10:39:50.000Z | 2021-07-13T10:39:50.000Z | #include <iostream>
#include <fstream>
#include "main.hpp"
#include "paths.hpp"
#include "pathfinder.hpp"
#include "transition_matrix.hpp"
#include <string>
#include <vector>
#include <cmath>
#include <chrono>
//#include <exception>
#include <boost/program_options.hpp>
//#include <omp.h>
//! check if states in A a... | 37.353846 | 107 | 0.529984 | [
"vector",
"model"
] |
16fc46bb14186dbbe3311b62557534bd556b08ef | 2,586 | cpp | C++ | COJ/TobbyAndPrimoshkasII.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 1 | 2018-08-28T19:58:40.000Z | 2018-08-28T19:58:40.000Z | COJ/TobbyAndPrimoshkasII.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 2 | 2017-04-16T00:48:05.000Z | 2017-08-03T20:12:26.000Z | COJ/TobbyAndPrimoshkasII.cpp | aajjbb/contest-files | b8842681b96017063a7baeac52ae1318bf59d74d | [
"Apache-2.0"
] | 4 | 2016-03-04T19:42:00.000Z | 2018-01-08T11:42:00.000Z | #include <bits/stdc++.h>
template<typename T> T gcd(T a, T b) {
if(!b) return a;
return gcd(b, a % b);
}
template<typename T> T lcm(T a, T b) {
return a * b / gcd(a, b);
}
template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; }
template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; ... | 22.293103 | 70 | 0.506574 | [
"vector"
] |
16ff6a617b30a9d85f9ed2a59ee9b935da4e5e6a | 992 | cpp | C++ | string/manacher-palindrome.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | string/manacher-palindrome.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | string/manacher-palindrome.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
using namespace std;
void manacher(string s) {
// no of odd length palindrome with center i
vector<int> d1(n);
for (int i = 0, l = 0, r = -1; i < n; i++) {
int k = (i > r) ? 1 : min(d1[l + r - i], r - i + 1);
while (0 <= i - k && i + k... | 23.619048 | 73 | 0.345766 | [
"vector"
] |
e5012f1dee9167880b40b5d150449da2adfac196 | 6,853 | cpp | C++ | test/Simulator/Simulator.cpp | golomb1/CIoTA-Collaborative-IoT-Anomaly-detection-via-Blockchain | 7704e5d22f09783250ec3b448ef4d5d24bbaf8af | [
"MIT"
] | 14 | 2018-12-18T07:49:11.000Z | 2021-12-17T10:06:02.000Z | test/Simulator/Simulator.cpp | golomb1/CIoTA-Collaborative-IoT-Anomaly-detection-via-Blockchain | 7704e5d22f09783250ec3b448ef4d5d24bbaf8af | [
"MIT"
] | 2 | 2019-01-28T18:11:43.000Z | 2020-11-11T08:23:10.000Z | test/Simulator/Simulator.cpp | golomb1/CIoTA-Collaborative-IoT-Anomaly-detection-via-Blockchain | 7704e5d22f09783250ec3b448ef4d5d24bbaf8af | [
"MIT"
] | 7 | 2018-08-31T15:59:58.000Z | 2021-11-03T02:11:02.000Z | //
// Created by golombt on 25/12/2017.
//
#include <random>
#include "Simulator.h"
#include "../TestSuite1/CIoTA/CIoTA_TestApplication.h"
#include "MockJumpTableSource.h"
void cleanPackets() {
SimulatorFileDescriptorWrapper::packets.clear();
for (auto p : SimulatorFileDescriptorWrapper::lastRece... | 35.879581 | 116 | 0.584562 | [
"vector"
] |
e502ab999529117b664c4f67f67aca8042d37b59 | 105,477 | cpp | C++ | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/linguist/linguist/mainwindow.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/linguist/linguist/mainwindow.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/linguist/linguist/mainwindow.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Linguist of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid com... | 37.95502 | 121 | 0.627407 | [
"geometry",
"object",
"model"
] |
e50908bffe3ba7fb244fa5e82c7f437a5b86ac9b | 1,106 | cpp | C++ | test/cmdLineArgs/src/cmdLineArgsApp.cpp | nselikoff/Cinder | 54590aabdc3d74b0b078d43590dfad89e50e9c94 | [
"BSD-2-Clause"
] | 3,494 | 2015-01-02T08:42:09.000Z | 2022-03-31T14:16:23.000Z | test/cmdLineArgs/src/cmdLineArgsApp.cpp | nselikoff/Cinder | 54590aabdc3d74b0b078d43590dfad89e50e9c94 | [
"BSD-2-Clause"
] | 1,284 | 2015-01-02T07:31:47.000Z | 2022-03-30T02:06:43.000Z | test/cmdLineArgs/src/cmdLineArgsApp.cpp | nselikoff/Cinder | 54590aabdc3d74b0b078d43590dfad89e50e9c94 | [
"BSD-2-Clause"
] | 780 | 2015-01-02T22:14:29.000Z | 2022-03-30T00:16:56.000Z | #include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/Utilities.h"
using namespace ci;
using namespace ci::app;
using namespace std;
// We'll create a new Cinder Application by deriving from the App class
class cmdLineArgsApp : public App {
public:
void setup();
... | 29.891892 | 128 | 0.687161 | [
"vector"
] |
e50a78fe6ef543aea6afadec9066c317ff07818e | 1,599 | hh | C++ | Engine/spcCore/entity/entity.hh | marcellfischbach/SpiceEngine | e25e1e4145b7afaea9179bb8e33e4d184bd407c4 | [
"BSD-3-Clause"
] | null | null | null | Engine/spcCore/entity/entity.hh | marcellfischbach/SpiceEngine | e25e1e4145b7afaea9179bb8e33e4d184bd407c4 | [
"BSD-3-Clause"
] | 1 | 2021-09-09T12:51:56.000Z | 2021-09-09T12:51:56.000Z | Engine/spcCore/entity/entity.hh | marcellfischbach/SpiceEngine | e25e1e4145b7afaea9179bb8e33e4d184bd407c4 | [
"BSD-3-Clause"
] | null | null | null |
#pragma once
#include <spcCore/coreexport.hh>
#include <spcCore/class.hh>
#include <spcCore/types.hh>
#include <string>
#include <vector>
namespace spc
{
class World;
class EntityState;
class SpatialState;
SPC_CLASS()
class SPC_CORE_API Entity : public SPC_SUPER(iObject)
{
SPC_CLASS_GEN_OBJECT;
public:
Entity... | 19.035714 | 68 | 0.698562 | [
"vector"
] |
e50b556d880c198548ae1e1d5a8ac9dc75e0bf29 | 72,870 | cpp | C++ | src/engine.cpp | hrxcodes/cbftp | bf2784007dcc4cc42775a2d40157c51b80383f81 | [
"MIT"
] | 8 | 2019-04-30T00:37:00.000Z | 2022-02-03T13:35:31.000Z | src/engine.cpp | Xtravaganz/cbftp | 31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5 | [
"MIT"
] | 2 | 2019-11-19T12:46:13.000Z | 2019-12-20T22:13:57.000Z | src/engine.cpp | Xtravaganz/cbftp | 31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5 | [
"MIT"
] | 9 | 2020-01-15T02:38:36.000Z | 2022-02-15T20:05:20.000Z | #include "engine.h"
#include <cassert>
#include <cstdlib>
#include <fstream>
#include <set>
#include <tuple>
#include <unordered_set>
#include "core/workmanager.h"
#include "core/tickpoke.h"
#include "scoreboard.h"
#include "scoreboardelement.h"
#include "globalcontext.h"
#include "sitelogic.h"
#include "site.h"
#inc... | 37.953125 | 248 | 0.634157 | [
"vector"
] |
e51501609beceff5ebf637922f699643ef7c3bcd | 28,579 | cpp | C++ | src/graphics/bsplib/statestack.cpp | Terebinth/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 117 | 2015-01-13T14:48:49.000Z | 2022-03-16T01:38:19.000Z | src/graphics/bsplib/statestack.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 4 | 2015-05-01T13:09:53.000Z | 2017-07-22T09:11:06.000Z | src/graphics/bsplib/statestack.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 78 | 2015-01-13T09:27:47.000Z | 2022-03-18T14:39:09.000Z | /***************************************************************************\
StateStack.cpp
Scott Randolph
February 9, 1998
JAM 29Sep03 - Begin Major Rewrite.
\***************************************************************************/
#include "stdafx.h"
#include <math.h>
#include "ColorBank.h"
#inc... | 31.097933 | 184 | 0.619266 | [
"object",
"vector",
"transform"
] |
e51716c851a2ea1e802b59d06e6076c707ef6223 | 759 | cc | C++ | leet_code/Count_Servers_that_Communicate/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | 1 | 2020-04-11T22:04:23.000Z | 2020-04-11T22:04:23.000Z | leet_code/Count_Servers_that_Communicate/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | null | null | null | leet_code/Count_Servers_that_Communicate/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | null | null | null | class Solution {
private :
const int c_visit = 2;
public:
int countServers(vector<vector<int>>& grid) {
int ret = 0;
for (int i = 0; i < grid.size(); ++i) {
int cnt = 0;
for (int j = 0; j < grid[i].size(); ++j) {
if (grid[i][j] > 0) {
++cnt;
}
}
if (cnt > 1) {
for (int j = 0; j < gri... | 16.866667 | 46 | 0.399209 | [
"vector"
] |
e51850f9ead46cd7b02b2a2a04120798b57812ae | 2,378 | cpp | C++ | Contests/Projects/practice/456C.cpp | aqfaridi/Competitve-Programming-Codes | d055de2f42d3d6bc36e03e67804a1dd6b212241f | [
"MIT"
] | null | null | null | Contests/Projects/practice/456C.cpp | aqfaridi/Competitve-Programming-Codes | d055de2f42d3d6bc36e03e67804a1dd6b212241f | [
"MIT"
] | null | null | null | Contests/Projects/practice/456C.cpp | aqfaridi/Competitve-Programming-Codes | d055de2f42d3d6bc36e03e67804a1dd6b212241f | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <sstream>
#include <vector>
#include <iomanip>
#include <cmath>
#include <set>
#include <map>
#include <queue>
#include <climits>
#include <cassert>
using namespace std;
typedef long long LL;
typedef pair<LL,LL> pii;
typedef pair<L... | 25.031579 | 121 | 0.429773 | [
"vector"
] |
e52c940666d5d2f6a64ccf6aea2a8a17650fdcb7 | 16,950 | cc | C++ | content/browser/service_worker/service_worker_cache_listener.cc | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/service_worker/service_worker_cache_listener.cc | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/service_worker/service_worker_cache_listener.cc | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/service_worker/service_worker_cache_listener.h"
#include "base/bind.h"
#include "base/debug/trace_event.h"
#include "base/strin... | 36.847826 | 80 | 0.722183 | [
"vector"
] |
e52ffe127eaaeee71f8d282ed4db76bcd2490f70 | 5,527 | cpp | C++ | falkon/sparse/cpp/sparse_matmul.cpp | fwilliams/falkon | 26deb0aeeaa867ac370b9316bdfa4f4a1160b3e6 | [
"MIT"
] | 1 | 2021-11-10T16:50:53.000Z | 2021-11-10T16:50:53.000Z | falkon/sparse/cpp/sparse_matmul.cpp | fwilliams/falkon | 26deb0aeeaa867ac370b9316bdfa4f4a1160b3e6 | [
"MIT"
] | null | null | null | falkon/sparse/cpp/sparse_matmul.cpp | fwilliams/falkon | 26deb0aeeaa867ac370b9316bdfa4f4a1160b3e6 | [
"MIT"
] | null | null | null | #include <ATen/Parallel.h>
#include<ATen/ParallelOpenMP.h>
#include <torch/extension.h>
#define INDEX(A, i, j, si, sj) ( A[i * si + j * sj] )
#define ASSERT_IS_CPU(x) AT_ASSERTM(x.device().is_cpu(), #x " must be CPU tensor")
template <typename scalar_t>
static void run_parallel(scalar_t* A_data, scalar_t* B_data, sc... | 38.381944 | 112 | 0.47856 | [
"shape"
] |
e532f1779ada23f74cd5b84ed90c1260e2ce4a1f | 3,912 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/view/ContextThemeWrapperHolder.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/view/ContextThemeWrapperHolder.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/view/ContextThemeWrapperHolder.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 34.315789 | 142 | 0.603016 | [
"object"
] |
e5368390cc91e408f5850beccb1d1fd688a550bc | 3,567 | hpp | C++ | src/IO/ArgumentParser.hpp | chrismile/cfd3d | 5943ae78be7334888b7f7b1f4622f9cf61626a2c | [
"BSD-2-Clause"
] | 24 | 2020-12-02T09:21:45.000Z | 2022-02-07T09:31:34.000Z | src/IO/ArgumentParser.hpp | chrismile/cfd3d | 5943ae78be7334888b7f7b1f4622f9cf61626a2c | [
"BSD-2-Clause"
] | null | null | null | src/IO/ArgumentParser.hpp | chrismile/cfd3d | 5943ae78be7334888b7f7b1f4622f9cf61626a2c | [
"BSD-2-Clause"
] | 6 | 2020-12-06T18:56:06.000Z | 2021-08-11T05:58:09.000Z | /*
* BSD 2-Clause License
*
* Copyright (c) 2019, Christoph Neuhauser, Stefan Haas, Paul Ng
* 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 retai... | 54.045455 | 117 | 0.760863 | [
"3d"
] |
e5498308b894a4e3966b597d34acb354a2e49771 | 644 | cpp | C++ | tinyember/TinyEmberPlusRouter/TinyEmberPlusRouter/model/matrix/Matrix.cpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 78 | 2015-07-31T14:46:38.000Z | 2022-03-28T09:28:28.000Z | tinyember/TinyEmberPlusRouter/TinyEmberPlusRouter/model/matrix/Matrix.cpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 81 | 2015-08-03T07:58:19.000Z | 2022-02-28T16:21:19.000Z | tinyember/TinyEmberPlusRouter/TinyEmberPlusRouter/model/matrix/Matrix.cpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 49 | 2015-08-03T12:53:10.000Z | 2022-03-17T17:25:49.000Z | /*
Copyright (C) 2012-2016 Lawo GmbH (http://www.lawo.com).
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#include "Matrix.h"
namespace model { namespace matrix
{
Matrix::Matrix(int number, Element* ... | 25.76 | 113 | 0.673913 | [
"model"
] |
e54aff499bf7e25e931119e720e29dfeb74a9494 | 1,791 | cpp | C++ | UVa/uva_369_Combinations.cpp | bishoy-magdy/Competitive-Programming | 689daac9aeb475da3c28aba4a69df394c68a9a34 | [
"MIT"
] | 2 | 2020-04-23T17:47:27.000Z | 2020-04-25T19:40:50.000Z | UVa/uva_369_Combinations.cpp | bishoy-magdy/Competitive-Programming | 689daac9aeb475da3c28aba4a69df394c68a9a34 | [
"MIT"
] | null | null | null | UVa/uva_369_Combinations.cpp | bishoy-magdy/Competitive-Programming | 689daac9aeb475da3c28aba4a69df394c68a9a34 | [
"MIT"
] | 1 | 2020-06-14T20:52:39.000Z | 2020-06-14T20:52:39.000Z | #include<bits/stdc++.h>
#include<iostream>
#include<string>
#include<vector>
#include<cmath>
#include<list>
#include <algorithm>
#include<vector>
#include<set>
#include <cctype>
#include <cstring>
#include <cstdio>
#include<queue>
#include<stack>
#include<bitset>
#include<time.h>
#include<fstream>
/********************... | 21.841463 | 89 | 0.505863 | [
"vector"
] |
e54dd6459e5fb6e8780e30bb1c0918dd2b40d557 | 8,057 | hpp | C++ | src/org/apache/poi/hssf/usermodel/DummyGraphics2d.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/hssf/usermodel/DummyGraphics2d.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/hssf/usermodel/DummyGraphics2d.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/hssf/usermodel/DummyGraphics2d.java
#pragma once
#include <fwd-POI.hpp>
#include <java/awt/fwd-POI.hpp>
#include <java/awt/font/fwd-POI.hpp>
#include <java/awt/geom/fwd-POI.hpp>
#include <java/awt/image/fwd-POI.hpp>
#include <java/awt/image/renderable/fwd-POI.hpp>
#include <... | 59.681481 | 231 | 0.714658 | [
"object",
"shape",
"transform"
] |
e550eef360e22d415f8859604f3cb876d8b38f11 | 3,152 | hpp | C++ | Demo/src/MenuState.hpp | fallahn/xygine | c17e7d29bb57a5425a58abd3a05a843d6bac48e3 | [
"Unlicense"
] | 220 | 2015-10-22T16:12:13.000Z | 2022-03-16T18:51:11.000Z | Demo/src/MenuState.hpp | fallahn/xygine | c17e7d29bb57a5425a58abd3a05a843d6bac48e3 | [
"Unlicense"
] | 64 | 2016-05-05T19:17:13.000Z | 2021-02-11T19:24:37.000Z | Demo/src/MenuState.hpp | fallahn/xygine | c17e7d29bb57a5425a58abd3a05a843d6bac48e3 | [
"Unlicense"
] | 33 | 2016-01-13T16:44:26.000Z | 2021-11-05T21:57:24.000Z | /*********************************************************************
(c) Matt Marchant 2017
http://trederia.blogspot.com
xygineXT - Zlib license.
This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held
liable for any damages arising from the use of this softw... | 27.893805 | 85 | 0.66783 | [
"transform"
] |
e55185733cd205e0e0be1f4d47062bfb56463e08 | 1,632 | cpp | C++ | src/problems/51-100/90/problem90.cpp | abeccaro/project-euler | c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3 | [
"MIT"
] | 1 | 2019-12-25T10:17:15.000Z | 2019-12-25T10:17:15.000Z | src/problems/51-100/90/problem90.cpp | abeccaro/project-euler | c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3 | [
"MIT"
] | null | null | null | src/problems/51-100/90/problem90.cpp | abeccaro/project-euler | c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3 | [
"MIT"
] | null | null | null | //
// Created by Alex Beccaro on 28/02/18.
//
#include "problem90.hpp"
#include <generics.hpp>
using std::vector;
using generics::combinations;
namespace problems {
void problem90::extend(vector<uint32_t>& dice) {
bool six = false, nine = false;
for (const auto& n : dice) {
if (n == ... | 27.661017 | 117 | 0.484681 | [
"vector"
] |
e551b7076b2463251dcfd9699442195f3aa9553c | 4,116 | cpp | C++ | weighting.cpp | drigil/Radiosity | e28c05d59bc56694aeffc7befd84768b2b637399 | [
"MIT"
] | 13 | 2018-08-10T16:25:11.000Z | 2022-03-06T08:41:49.000Z | weighting.cpp | drigil/Radiosity | e28c05d59bc56694aeffc7befd84768b2b637399 | [
"MIT"
] | null | null | null | weighting.cpp | drigil/Radiosity | e28c05d59bc56694aeffc7befd84768b2b637399 | [
"MIT"
] | 2 | 2018-12-07T09:42:47.000Z | 2018-12-19T06:47:27.000Z | ////////////////////////////////////////////////////////////////////////
//
// weighting.cpp: Weightings to apply to a rendered image to get
// how much light comes from which point.
//
// Copyright (c) Simon Frankau 2018
//
#include <cmath>
#include "geom.h"
#include "weighting.h"
// Generate a weightings array bas... | 38.111111 | 79 | 0.547133 | [
"vector"
] |
e553becc4adc04f3f9d0b843f07947835d63592a | 28,618 | cpp | C++ | DDrawCompat/Win32/Log.cpp | c3358/DDrawCompat | 27ae9affb8f78d56c1cd09cf888be9ac94c051e9 | [
"0BSD"
] | 1 | 2021-02-10T17:49:17.000Z | 2021-02-10T17:49:17.000Z | DDrawCompat/Win32/Log.cpp | c3358/DDrawCompat | 27ae9affb8f78d56c1cd09cf888be9ac94c051e9 | [
"0BSD"
] | null | null | null | DDrawCompat/Win32/Log.cpp | c3358/DDrawCompat | 27ae9affb8f78d56c1cd09cf888be9ac94c051e9 | [
"0BSD"
] | null | null | null | #include <sstream>
#include <Common/Hook.h>
#include <Common/Log.h>
#include <Win32/Log.h>
namespace
{
template <typename CreateStruct>
std::ostream& logCreateStruct(std::ostream& os, const CreateStruct& cs)
{
return Compat::LogStruct(os)
<< Compat::hex(cs.dwExStyle)
<< cs.lpszClass
<< cs.lpszName
<<... | 30.412327 | 100 | 0.736704 | [
"vector"
] |
e5597e95c13dd47da134470676a83c3fc899415f | 564 | cpp | C++ | poo/header-example/main.cpp | davidlares/davidC- | 7c479757ec8574623c02b03ad5b1223a43805f5c | [
"MIT"
] | null | null | null | poo/header-example/main.cpp | davidlares/davidC- | 7c479757ec8574623c02b03ad5b1223a43805f5c | [
"MIT"
] | null | null | null | poo/header-example/main.cpp | davidlares/davidC- | 7c479757ec8574623c02b03ad5b1223a43805f5c | [
"MIT"
] | null | null | null | #include "Books.h"
#include <iostream>
#include <string>
using namespace std;
int main(){
// instance
Books book;
// Pointers -> array member selections
Books *bookPointer = &book;
(*bookPointer).setBookId(300);
// () everytime we use pointers, but we can use ->
cout << (*bookPointer).getBookId() << en... | 22.56 | 65 | 0.657801 | [
"object"
] |
e55a322b2fcc0eff798dfb9f209afa8feaf59daa | 41,399 | cpp | C++ | src/nrnpython/rxd_extracellular.cpp | vogdb/nrn | 0ccc9ccbc4e376ec87c7985b4913d68da6b2817b | [
"BSD-3-Clause"
] | null | null | null | src/nrnpython/rxd_extracellular.cpp | vogdb/nrn | 0ccc9ccbc4e376ec87c7985b4913d68da6b2817b | [
"BSD-3-Clause"
] | null | null | null | src/nrnpython/rxd_extracellular.cpp | vogdb/nrn | 0ccc9ccbc4e376ec87c7985b4913d68da6b2817b | [
"BSD-3-Clause"
] | null | null | null | #include <../../nrnconf.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include "grids.h"
#include "rxd.h"
#include <matrix2.h>
#include <pthread.h>
#include <nrnwrap_Python.h>
#include <cmath>
#define loc(x,y,z)((z) + (y) * grid->size_z + (x) * grid->size_z * grid->size_y)
static void ecs_refresh_r... | 34.818335 | 155 | 0.56284 | [
"shape",
"vector"
] |
e55be7aa536af096abc515cb887d65f9f03c49cb | 10,954 | cpp | C++ | src/NetworkWorker.cpp | polistern/pboted | 48a255d7c8cfe5ac2d3b3c94fb4b932da75a46b4 | [
"BSD-3-Clause"
] | 15 | 2021-10-31T01:25:43.000Z | 2022-03-08T11:44:10.000Z | src/NetworkWorker.cpp | polistern/pboted | 48a255d7c8cfe5ac2d3b3c94fb4b932da75a46b4 | [
"BSD-3-Clause"
] | 10 | 2021-10-31T13:30:33.000Z | 2022-01-24T15:55:57.000Z | src/NetworkWorker.cpp | polistern/pboted | 48a255d7c8cfe5ac2d3b3c94fb4b932da75a46b4 | [
"BSD-3-Clause"
] | 3 | 2021-10-31T07:24:15.000Z | 2021-11-12T18:41:30.000Z | /**
* Copyright (C) 2019-2022 polistern
*
* This file is part of pboted and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <utility>
#include "NetworkWorker.h"
namespace pbote
{
namespace network
{
NetworkWorker network_worker;
UDPReceiver::UDPReceiver (const... | 24.895455 | 79 | 0.639401 | [
"vector"
] |
e562fdf5824610a6e77a6bf90ad8bf883696af33 | 10,918 | cpp | C++ | 3rdparty/GPSTk/core/tests/FileHandling/FFBinaryStream_T.cpp | mfkiwl/ICE | e660d031bb1bcea664db1de4946fd8781be5b627 | [
"MIT"
] | 50 | 2019-10-12T01:22:20.000Z | 2022-02-15T23:28:26.000Z | 3rdparty/GPSTk/core/tests/FileHandling/FFBinaryStream_T.cpp | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | [
"MIT"
] | null | null | null | 3rdparty/GPSTk/core/tests/FileHandling/FFBinaryStream_T.cpp | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | [
"MIT"
] | 14 | 2019-11-05T01:50:29.000Z | 2021-08-06T06:23:44.000Z | //============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk 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; ei... | 30.582633 | 93 | 0.586829 | [
"3d"
] |
e565808d13840e0ec4fe5e27082988af2634f993 | 12,160 | cpp | C++ | Tools/EditorFramework/Gizmos/Implementation/TranslateGizmo.cpp | eltld/ezEngine | 3230235249dd2769f166872b753efd6bd8347c98 | [
"CC-BY-3.0"
] | null | null | null | Tools/EditorFramework/Gizmos/Implementation/TranslateGizmo.cpp | eltld/ezEngine | 3230235249dd2769f166872b753efd6bd8347c98 | [
"CC-BY-3.0"
] | null | null | null | Tools/EditorFramework/Gizmos/Implementation/TranslateGizmo.cpp | eltld/ezEngine | 3230235249dd2769f166872b753efd6bd8347c98 | [
"CC-BY-3.0"
] | 1 | 2020-03-08T04:55:16.000Z | 2020-03-08T04:55:16.000Z | #include <PCH.h>
#include <EditorFramework/Gizmos/TranslateGizmo.h>
#include <EditorFramework/DocumentWindow3D/DocumentWindow3D.moc.h>
#include <Foundation/Logging/Log.h>
#include <QMouseEvent>
#include <CoreUtils/Graphics/Camera.h>
#include <Foundation/Utilities/GraphicsUtils.h>
#include <EditorFramework/DocumentWindo... | 29.87715 | 192 | 0.737993 | [
"transform"
] |
ec907ad5ade86ae7ab6b979b7b8713e99f824b6e | 3,837 | cpp | C++ | unfolding/source/plot_surface.cpp | lgmontgomery/Neutron-Spectrometry | 56e0b8a649019ae8d490150733195ab06171fca3 | [
"MIT"
] | 1 | 2020-01-24T17:15:15.000Z | 2020-01-24T17:15:15.000Z | unfolding/source/plot_surface.cpp | lgmontgomery/Neutron-Spectrometry | 56e0b8a649019ae8d490150733195ab06171fca3 | [
"MIT"
] | null | null | null | unfolding/source/plot_surface.cpp | lgmontgomery/Neutron-Spectrometry | 56e0b8a649019ae8d490150733195ab06171fca3 | [
"MIT"
] | 1 | 2020-07-21T18:41:42.000Z | 2020-07-21T18:41:42.000Z | //**************************************************************************************************
// This program reads in an arbitrary number of data series from a CSV file and plots them as a 2D
// surface plot.
//**************************************************************************************************
#... | 30.452381 | 127 | 0.621058 | [
"vector",
"3d"
] |
ec9d5cc21d761e65f6e0afd64405da888d2e8c0a | 345 | cpp | C++ | Natives/src/main/driver/windows/CANControllerDetector.cpp | ThadHouse/FRCCANReader | c9cee6ad79c3de81c2a40f6887334b2b9e4a67d6 | [
"MIT"
] | 2 | 2020-01-15T03:36:16.000Z | 2020-03-03T18:36:07.000Z | Natives/src/main/driver/windows/CANControllerDetector.cpp | ThadHouse/FRCCANReader | c9cee6ad79c3de81c2a40f6887334b2b9e4a67d6 | [
"MIT"
] | 1 | 2020-01-15T01:27:09.000Z | 2020-01-15T01:27:09.000Z | Natives/src/main/driver/windows/CANControllerDetector.cpp | ThadHouse/FRCCANReader | c9cee6ad79c3de81c2a40f6887334b2b9e4a67d6 | [
"MIT"
] | null | null | null | #include "CANControllerDetector.h"
#include "WindowsCANController.h"
using namespace can;
std::vector<CANDevice> CANControllerDetector::EnumerateDevices()
{
return WindowsCANController::EnumerateDevices();
}
std::unique_ptr<CANController> CANControllerDetector::CreateController()
{
return std::make_unique<Wi... | 23 | 72 | 0.794203 | [
"vector"
] |
eca2d68b57b8c8cc06e341bb6d2ffbc5162e5659 | 2,150 | cpp | C++ | src/cpp/eval/ast/statement_list_statement.cpp | scottmac/hiphop-php | 880fa3d11203ce02cfc5fe994d0b306e741a235e | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2019-04-27T20:22:23.000Z | 2019-04-27T20:22:23.000Z | src/cpp/eval/ast/statement_list_statement.cpp | brion/hiphop-php | df70a236e6418d533ac474be0c01f0ba87034d7f | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | src/cpp/eval/ast/statement_list_statement.cpp | brion/hiphop-php | df70a236e6418d533ac474be0c01f0ba87034d7f | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
+---------... | 36.440678 | 79 | 0.511163 | [
"vector"
] |
eca5124ad43ec24766719d81f3abef3ab7522050 | 1,398 | cpp | C++ | aws-cpp-sdk-machinelearning/source/model/RDSDatabase.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-machinelearning/source/model/RDSDatabase.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-machinelearning/source/model/RDSDatabase.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/machinelearning/model/RDSDatabase.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
n... | 18.64 | 69 | 0.741059 | [
"model"
] |
ecab3bda1f7e081273127dfb5aaa26399490e402 | 9,578 | cpp | C++ | src/gpsdclient.cpp | perryrob/oxcart | 5c29535be2b813c7caebcfec31a8f934b0c88228 | [
"BSD-4-Clause"
] | 1 | 2017-03-20T20:13:16.000Z | 2017-03-20T20:13:16.000Z | src/gpsdclient.cpp | perryrob/oxcart | 5c29535be2b813c7caebcfec31a8f934b0c88228 | [
"BSD-4-Clause"
] | null | null | null | src/gpsdclient.cpp | perryrob/oxcart | 5c29535be2b813c7caebcfec31a8f934b0c88228 | [
"BSD-4-Clause"
] | null | null | null | /*
* gpsdclient.c -- support functions for GPSD clients
*
* This file is Copyright (c) 2010 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h> /* for strcasecmp() */
#include <time.h>... | 28.936556 | 78 | 0.590833 | [
"3d"
] |
ecad2b3e5abf87f3d6c444f29e8095c831e9c16a | 3,930 | cpp | C++ | NavMeshTester/Source/Maze/Behaviours/MazeAvoider.cpp | MODriscoll/AIForGames | 47f6b4a8fe6437c6a2b708a9155df568a67c1344 | [
"MIT"
] | null | null | null | NavMeshTester/Source/Maze/Behaviours/MazeAvoider.cpp | MODriscoll/AIForGames | 47f6b4a8fe6437c6a2b708a9155df568a67c1344 | [
"MIT"
] | null | null | null | NavMeshTester/Source/Maze/Behaviours/MazeAvoider.cpp | MODriscoll/AIForGames | 47f6b4a8fe6437c6a2b708a9155df568a67c1344 | [
"MIT"
] | null | null | null | #include "Maze\Behaviours\MazeAvoider.h"
#include "Objects\Agent.h"
#include "Maze\Maze.h"
#include <Renderer2D.h>
MazeAvoider::MazeAvoider(const std::string& a_Tag)
: ISteer(a_Tag), m_MaxAvoidForce(100.f)
{
}
Behaviour::eBehaviourResult MazeAvoider::Execute(Agent* a_Agent, float deltaTime)
{
// Get reference t... | 21.47541 | 93 | 0.691603 | [
"render",
"vector",
"transform"
] |
ecaf10901ec33c2bd835a7b6b1941860a127a208 | 5,931 | cpp | C++ | Source/Server/Server/GameService/GameManagers/Ghosts/GhostManager.cpp | dave-ml-xcv/ds3os | bf35b8415c0e8b9d50cb1a1e6dc110dcda62098d | [
"MIT"
] | null | null | null | Source/Server/Server/GameService/GameManagers/Ghosts/GhostManager.cpp | dave-ml-xcv/ds3os | bf35b8415c0e8b9d50cb1a1e6dc110dcda62098d | [
"MIT"
] | null | null | null | Source/Server/Server/GameService/GameManagers/Ghosts/GhostManager.cpp | dave-ml-xcv/ds3os | bf35b8415c0e8b9d50cb1a1e6dc110dcda62098d | [
"MIT"
] | null | null | null | /*
* Dark Souls 3 - Open Server
* Copyright (C) 2021 Tim Leonard
*
* This program is free software; licensed under the MIT license.
* You should have received a copy of the license along with this program.
* If not, see <https://opensource.org/licenses/MIT>.
*/
#include "Server/GameService/GameManagers/Ghosts/G... | 36.164634 | 146 | 0.706458 | [
"vector"
] |
ecb436be189cf8b870e1a56b150a81409b771f11 | 44,026 | cpp | C++ | plugin/AL_USDMayaTestPlugin/AL/usdmaya/nodes/test_ProxyShape.cpp | AlexSchwank/AL_USDMaya | 99413e2c5d1c93e4c58a63ebc8b07e23cf072e86 | [
"Apache-2.0"
] | null | null | null | plugin/AL_USDMayaTestPlugin/AL/usdmaya/nodes/test_ProxyShape.cpp | AlexSchwank/AL_USDMaya | 99413e2c5d1c93e4c58a63ebc8b07e23cf072e86 | [
"Apache-2.0"
] | null | null | null | plugin/AL_USDMayaTestPlugin/AL/usdmaya/nodes/test_ProxyShape.cpp | AlexSchwank/AL_USDMaya | 99413e2c5d1c93e4c58a63ebc8b07e23cf072e86 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2017 Animal Logic
//
// 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 ... | 35.447665 | 144 | 0.670558 | [
"mesh",
"object",
"shape",
"vector",
"transform"
] |
ecb55663635d6d3b1d7285d20c23e10eb61bebd4 | 5,705 | cpp | C++ | cpp_project/vs-project/log_server/log_server/Sources/Network/Windows/tcp_socket.cpp | sinomiko/project | 00fadb0033645f103692f5b06c861939a9d4aa0e | [
"BSD-3-Clause"
] | 1 | 2018-12-30T14:07:42.000Z | 2018-12-30T14:07:42.000Z | cpp_project/vs-project/log_server/log_server/Sources/Network/Windows/tcp_socket.cpp | sinomiko/project | 00fadb0033645f103692f5b06c861939a9d4aa0e | [
"BSD-3-Clause"
] | null | null | null | cpp_project/vs-project/log_server/log_server/Sources/Network/Windows/tcp_socket.cpp | sinomiko/project | 00fadb0033645f103692f5b06c861939a9d4aa0e | [
"BSD-3-Clause"
] | null | null | null | #include <cstring>
#include <Winsock2.h>
#include <Ws2tcpip.h>
#include "Include/Utils/error.h"
#include "Include/Utils/logger.h"
#include "Include/Utils/typedefs.h"
#include "Include/Network/tcp_socket.h"
//!
//! ctor & dtor
//!
tcp_socket::tcp_socket(void)
: m_fd(__MC_INVALID_FD)
, m_host("")
, m_port(0)
, m_t... | 22.549407 | 135 | 0.711131 | [
"vector"
] |
ecb787ca2b2276799903cb277461c0c149f5ddfd | 3,826 | hpp | C++ | Software/Plotting/include/Plotting/PlotterTaskNode.hpp | implementedrobotics/Nomad | de8c27ed79cdcde59b1fd6e9a0865d29b84b7d58 | [
"MIT"
] | 31 | 2019-08-11T18:24:54.000Z | 2022-03-08T01:22:55.000Z | Software/Plotting/include/Plotting/PlotterTaskNode.hpp | implementedrobotics/Nomad | de8c27ed79cdcde59b1fd6e9a0865d29b84b7d58 | [
"MIT"
] | 15 | 2019-05-29T12:57:20.000Z | 2020-09-29T02:26:06.000Z | Software/Plotting/include/Plotting/PlotterTaskNode.hpp | implementedrobotics/Nomad | de8c27ed79cdcde59b1fd6e9a0865d29b84b7d58 | [
"MIT"
] | 11 | 2019-08-12T03:05:06.000Z | 2022-01-09T05:34:16.000Z | /*
* PlotterTaskNode.hpp
*
* Created on: July 17, 2019
* Author: Quincy Jones
*
* Copyright (c) <2019> <Quincy Jones - quincy@implementedrobotics.com/>
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* ... | 33.269565 | 111 | 0.662833 | [
"vector",
"model"
] |
ecb8619ff7af693186a015cfc3f89359dbbbac4e | 6,023 | cpp | C++ | src/main.cpp | SolveigMultimedia/smm_avi_splitter | 54a231e607418f6a87bf340e5814d850db8be357 | [
"MIT"
] | 1 | 2015-11-13T04:28:41.000Z | 2015-11-13T04:28:41.000Z | src/main.cpp | SolveigMultimedia/smm_avi_splitter | 54a231e607418f6a87bf340e5814d850db8be357 | [
"MIT"
] | null | null | null | src/main.cpp | SolveigMultimedia/smm_avi_splitter | 54a231e607418f6a87bf340e5814d850db8be357 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2015 Solveig Multimedia www.solveigmm.com
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, ... | 28.818182 | 115 | 0.719077 | [
"object"
] |
ecb8d2dc850ebeb1009b3bca34311a30f4f7cc3a | 3,388 | cpp | C++ | folly/executors/test/ThreadedExecutorTest.cpp | lucyge/folly | d107498e71ab32e103c4fa7ca58ccc32990208b8 | [
"Apache-2.0"
] | null | null | null | folly/executors/test/ThreadedExecutorTest.cpp | lucyge/folly | d107498e71ab32e103c4fa7ca58ccc32990208b8 | [
"Apache-2.0"
] | 3 | 2016-07-19T00:19:58.000Z | 2019-07-19T23:33:10.000Z | folly/executors/test/ThreadedExecutorTest.cpp | cedexis/folly | 284a4bf64203f8cc81918e0a91d726d45b3ee2ed | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 Facebook, 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 applicable law or agreed to... | 31.082569 | 77 | 0.577332 | [
"vector"
] |
ecbb7a0c1f8c818c78a60ee211315eae632b8fc3 | 26,552 | hpp | C++ | src/helics/core/CommonCore.hpp | bmkelley/HELICS | 742383907e5ad8af25a97d17a60985976af7c2e1 | [
"BSD-3-Clause"
] | null | null | null | src/helics/core/CommonCore.hpp | bmkelley/HELICS | 742383907e5ad8af25a97d17a60985976af7c2e1 | [
"BSD-3-Clause"
] | null | null | null | src/helics/core/CommonCore.hpp | bmkelley/HELICS | 742383907e5ad8af25a97d17a60985976af7c2e1 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2017-2020,
Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include "../common/GuardedTypes.hpp"
#include "../commo... | 54.187755 | 100 | 0.682058 | [
"object",
"vector"
] |
ecc177e534802a0046476cf6d2ca183ceff42634 | 994 | cpp | C++ | topcoder/SRM/SRM-145-DIV-2/ImageDithering/ImageDithering/main.cpp | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | 2 | 2015-08-18T09:51:19.000Z | 2019-01-29T03:18:10.000Z | topcoder/SRM/SRM-145-DIV-2/ImageDithering/ImageDithering/main.cpp | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | null | null | null | topcoder/SRM/SRM-145-DIV-2/ImageDithering/ImageDithering/main.cpp | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <assert.h>
using namespace std;
class ImageDithering {
public:
int count(string dithered, vector<string> screen) {
unsigned d[26];
for (int i = 0; i < 26; i++) {
d[i] = 0;
}
for (unsigned i = 0; i < dithered.length(); i++) {
d[dithered[i] - '... | 19.88 | 85 | 0.527163 | [
"vector"
] |
ecd81c821ca9087d0fdafcc42e8bbb05d72f118f | 2,689 | hpp | C++ | sdk/storage/azure-storage-blobs/test/perf/inc/azure/storage/blobs/test/list_blob_test.hpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 96 | 2020-03-19T07:49:39.000Z | 2022-03-20T14:22:41.000Z | sdk/storage/azure-storage-blobs/test/perf/inc/azure/storage/blobs/test/list_blob_test.hpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 2,572 | 2020-03-18T22:54:53.000Z | 2022-03-31T22:09:59.000Z | sdk/storage/azure-storage-blobs/test/perf/inc/azure/storage/blobs/test/list_blob_test.hpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 81 | 2020-03-19T09:42:00.000Z | 2022-03-24T05:11:05.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
/**
* @file
* @brief Test the performance of listing blobs.
*
*/
#pragma once
#include <azure/core/io/body_stream.hpp>
#include <azure/core/uuid.hpp>
#include <azure/perf.hpp>
#include "azure/storage/blobs/test/blob_bas... | 26.362745 | 88 | 0.606917 | [
"vector"
] |
ece17f4ac94488267b1f0c6210e1eb65c50178d7 | 9,397 | cpp | C++ | test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/AtomicOrbitals/HFAtomicSTOSetBuilder.cpp | FeiyangJin/hclib | d23c850dce914e2d80cae733670820812a1edeee | [
"BSD-3-Clause"
] | 55 | 2015-07-28T01:32:58.000Z | 2022-02-27T16:27:46.000Z | test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/AtomicOrbitals/HFAtomicSTOSetBuilder.cpp | FeiyangJin/hclib | d23c850dce914e2d80cae733670820812a1edeee | [
"BSD-3-Clause"
] | 66 | 2015-06-15T20:38:19.000Z | 2020-08-26T00:11:43.000Z | test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/AtomicOrbitals/HFAtomicSTOSetBuilder.cpp | FeiyangJin/hclib | d23c850dce914e2d80cae733670820812a1edeee | [
"BSD-3-Clause"
] | 26 | 2015-10-26T22:11:51.000Z | 2021-03-02T22:09:15.000Z | //////////////////////////////////////////////////////////////////
// (c) Copyright 2003 by Jeongnim Kim
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
// National Center for Supercomputing Applications &
// Materials Computatio... | 32.97193 | 106 | 0.552304 | [
"vector"
] |
ecf200614bbec0c429e9b5cc60afd9a73f80c394 | 4,517 | cc | C++ | src/featbin/append-vector-to-feats.cc | shuipi100/kaldi | 8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0 | [
"Apache-2.0"
] | 805 | 2018-05-28T02:32:04.000Z | 2022-03-26T09:13:12.000Z | src/featbin/append-vector-to-feats.cc | shuipi100/kaldi | 8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0 | [
"Apache-2.0"
] | 49 | 2015-10-24T22:06:28.000Z | 2019-12-24T11:13:34.000Z | src/featbin/append-vector-to-feats.cc | shuipi100/kaldi | 8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0 | [
"Apache-2.0"
] | 267 | 2018-06-07T08:33:28.000Z | 2022-03-30T12:18:33.000Z | // featbin/append-vector-to-feats.cc
// Copyright 2012 Korbinian Riedhammer
// 2013 Brno University of Technology (Author: Karel Vesely)
// 2013-2014 Johns Hopkins University (Author: Daniel Povey)
// See ../../COPYING for clarification regarding multiple authors
//
// Licensed under the Apache Li... | 30.52027 | 92 | 0.633828 | [
"vector"
] |
a6032a270f9124881ad3680d9ab961462a33a0c1 | 10,613 | cc | C++ | pfktop/pidlist.cc | flipk/pfkutils | d8f6c22720b6fcc44a882927c745a822282d1f69 | [
"Unlicense"
] | 4 | 2015-06-12T05:08:56.000Z | 2017-11-13T11:34:27.000Z | pfktop/pidlist.cc | flipk/pfkutils | d8f6c22720b6fcc44a882927c745a822282d1f69 | [
"Unlicense"
] | null | null | null | pfktop/pidlist.cc | flipk/pfkutils | d8f6c22720b6fcc44a882927c745a822282d1f69 | [
"Unlicense"
] | 1 | 2021-10-20T02:04:53.000Z | 2021-10-20T02:04:53.000Z | /*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copy... | 30.585014 | 79 | 0.492415 | [
"object"
] |
a604fac8c4dc11c3294c7bb2d9ed0660af3d52ef | 4,759 | hxx | C++ | Code/Tools/Standalone/Source/Driller/Trace/TraceDrillerDialog.hxx | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Code/Tools/Standalone/Source/Driller/Trace/TraceDrillerDialog.hxx | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Tools/Standalone/Source/Driller/Trace/TraceDrillerDialog.hxx | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#ifndef TRACEDRILLERDIALOG_H
#define TRACEDRILLERDIALOG_H
#pragma once
#if !defined(Q_MOC_RUN)
#in... | 31.516556 | 158 | 0.661273 | [
"object",
"model",
"3d"
] |
a60cdbc5cf1cd06f9d314f1b9e024ff512e1e535 | 4,589 | hh | C++ | trick_source/er7_utils/integration/rk4/include/rk4_second_order_ode_integrator_base.hh | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 647 | 2015-05-07T16:08:16.000Z | 2022-03-30T02:33:21.000Z | trick_source/er7_utils/integration/rk4/include/rk4_second_order_ode_integrator_base.hh | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 995 | 2015-04-30T19:44:31.000Z | 2022-03-31T20:14:44.000Z | trick_source/er7_utils/integration/rk4/include/rk4_second_order_ode_integrator_base.hh | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 251 | 2015-05-15T09:24:34.000Z | 2022-03-22T20:39:05.000Z | /**
* @if Er7UtilsUseGroups
* @addtogroup Er7Utils
* @{
* @addtogroup Integration
* @{
* @endif
*/
/**
* @file
* Defines the class RK4SecondOrderODEIntegrator, which integrates a state
* comprising a zeroth derivative / first derivative pair via the RK4 method.
*/
/*
Purpose: ()
*/
#ifndef ER7_UTILS_RK4_... | 26.994118 | 77 | 0.694269 | [
"object"
] |
a61415e83a7c355419a215d713ce1f6ca8191590 | 8,079 | cpp | C++ | Labs/2_simple_calculator/2b_parser_plus_visitor_to_calculate/CalcLexer.cpp | MNXANL/GRAU-CL | 862e404549bc061dee92e952b596dc0deab4416b | [
"MIT"
] | null | null | null | Labs/2_simple_calculator/2b_parser_plus_visitor_to_calculate/CalcLexer.cpp | MNXANL/GRAU-CL | 862e404549bc061dee92e952b596dc0deab4416b | [
"MIT"
] | null | null | null | Labs/2_simple_calculator/2b_parser_plus_visitor_to_calculate/CalcLexer.cpp | MNXANL/GRAU-CL | 862e404549bc061dee92e952b596dc0deab4416b | [
"MIT"
] | null | null | null |
// Generated from Calc.g4 by ANTLR 4.7.1
#include "CalcLexer.h"
using namespace antlr4;
CalcLexer::CalcLexer(CharStream *input) : Lexer(input) {
_interpreter = new atn::LexerATNSimulator(this, _atn, _decisionToDFA, _sharedContextCache);
}
CalcLexer::~CalcLexer() {
delete _interpreter;
}
std::string CalcLex... | 42.973404 | 120 | 0.617527 | [
"vector"
] |
a61a43870793d313dbdd330ddc96ed70a71b32c7 | 1,777 | cpp | C++ | leetcode.com/0956 Tallest Billboard/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | 1 | 2020-08-20T11:02:49.000Z | 2020-08-20T11:02:49.000Z | leetcode.com/0956 Tallest Billboard/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | null | null | null | leetcode.com/0956 Tallest Billboard/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | 1 | 2022-01-01T23:23:13.000Z | 2022-01-01T23:23:13.000Z | #include <iostream>
#include <numeric>
#include <unordered_map>
#include <vector>
using namespace std;
// ref: Java knapsack O(N*sum)
// https://leetcode.com/problems/tallest-billboard/discuss/203261/Java-knapsack-O(N*sum)
// class Solution {
// public:
// int tallestBillboard(vector<int>& rods) {
// int n = r... | 28.206349 | 88 | 0.47946 | [
"vector"
] |
a61ec61188c3e6e05a0c7d133a5c8cfd8d8a7a7c | 3,878 | hpp | C++ | src/lib/sql/lru_k_cache.hpp | IanJamesMcKay/InMemoryDB | a267d9522926eca9add2ad4512f8ce352daac879 | [
"MIT"
] | 1 | 2021-04-14T11:16:52.000Z | 2021-04-14T11:16:52.000Z | src/lib/sql/lru_k_cache.hpp | IanJamesMcKay/InMemoryDB | a267d9522926eca9add2ad4512f8ce352daac879 | [
"MIT"
] | null | null | null | src/lib/sql/lru_k_cache.hpp | IanJamesMcKay/InMemoryDB | a267d9522926eca9add2ad4512f8ce352daac879 | [
"MIT"
] | 1 | 2020-11-30T13:11:04.000Z | 2020-11-30T13:11:04.000Z | #pragma once
#include <list>
#include <unordered_map>
#include <utility>
#include <vector>
#include "abstract_cache.hpp"
#include "boost/heap/fibonacci_heap.hpp"
namespace opossum {
// Generic cache implementation using the LRU-K policy.
// When an item should be evicted the item with the largest backward k-distanc... | 28.306569 | 102 | 0.658845 | [
"vector"
] |
a6218868551ec5ce990cff885c74eeac0e4dc6b0 | 986 | cpp | C++ | 1045.cpp | hgfeaon/PAT | 3210bdab10eba77b69cdfb7a3c68638f9b7af5ac | [
"BSD-3-Clause"
] | null | null | null | 1045.cpp | hgfeaon/PAT | 3210bdab10eba77b69cdfb7a3c68638f9b7af5ac | [
"BSD-3-Clause"
] | null | null | null | 1045.cpp | hgfeaon/PAT | 3210bdab10eba77b69cdfb7a3c68638f9b7af5ac | [
"BSD-3-Clause"
] | null | null | null | #include <cstdio>
#include <cstdlib>
#include <vector>
using namespace std;
int max(int a, int b) {return a>b?a:b;}
int main() {
int N, M, L, tmp;
scanf("%d", &N);
scanf("%d", &M);
if (M < 1) return 0;
vector<char> MColors(M);
for (int i=0; i<M; i++) {
scanf("%d", &tmp);
... | 20.122449 | 64 | 0.43712 | [
"vector"
] |
98b007a4ec77317122de998ea811b02b28ddb136 | 6,192 | cpp | C++ | World.cpp | Aroueterra/RPG_Framework | 8bfb35d540890787f6b04ebe487d2ce7e323f8b7 | [
"MIT"
] | 5 | 2018-10-01T10:16:17.000Z | 2022-02-09T01:21:30.000Z | World.cpp | Aroueterra/RPG_Framework | 8bfb35d540890787f6b04ebe487d2ce7e323f8b7 | [
"MIT"
] | null | null | null | World.cpp | Aroueterra/RPG_Framework | 8bfb35d540890787f6b04ebe487d2ce7e323f8b7 | [
"MIT"
] | null | null | null | #include "World.h"
#include "Painter.h"
using std::string;
using std::vector;
using std::cout;
using std::cin;
using std::endl;
WorldMap::WorldMap() {}
Room::Room(string title, string description, int n) {
Title = title;
Description = description;
Code = n;
}
Room::Room() {}
GameState::GameState() {}
//Room::Room... | 30.653465 | 286 | 0.609658 | [
"vector"
] |
98b76b066820511f112311d8d44e39752e3df296 | 3,837 | cpp | C++ | src/swift2d/materials/Shader.cpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | src/swift2d/materials/Shader.cpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | src/swift2d/materials/Shader.cpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// //
// This file is part of Swift2D. //
// ... | 30.943548 | 80 | 0.477196 | [
"geometry",
"vector",
"transform"
] |
98b9cdd2422a3ef2726a248fd74884d73e49016c | 3,681 | cpp | C++ | Project2DFX/searchlights.cpp | RusJJ/AMLMods_GTASA | 1ed9fb23b373c6407d722b30ab0420ee74be37fb | [
"MIT"
] | 7 | 2021-08-17T09:25:28.000Z | 2021-12-02T03:16:58.000Z | Project2DFX/searchlights.cpp | sugoma245/AMLMods_GTASA | 7cdf312098ba0c166ab873e978c906021d972f08 | [
"MIT"
] | 1 | 2021-08-21T12:38:04.000Z | 2021-08-21T16:19:32.000Z | Project2DFX/searchlights.cpp | sugoma245/AMLMods_GTASA | 7cdf312098ba0c166ab873e978c906021d972f08 | [
"MIT"
] | 1 | 2021-08-16T15:05:10.000Z | 2021-08-16T15:05:10.000Z | #include <searchlights.h>
#include <cmath>
#include <stdint.h>
extern float* flWeatherFoggyness;
extern int* nActiveInterior;
extern void* TheCamera;
extern uintptr_t pGTASA;
extern char(*GetIsTimeInRange)(char hourA, char hourB);
std::vector<CLamppostInfo> Lampposts;
std::map<unsigned int, CLamppostInfo> File... | 39.580645 | 240 | 0.656343 | [
"vector"
] |
98be428dd58c3804cd6f0c049c585a23d53a30d0 | 1,650 | cpp | C++ | android-28/android/view/accessibility/CaptioningManager.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-29/android/view/accessibility/CaptioningManager.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/view/accessibility/CaptioningManager.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../content/Context.hpp"
#include "./CaptioningManager_CaptionStyle.hpp"
#include "./CaptioningManager_CaptioningChangeListener.hpp"
#include "../../../java/util/Locale.hpp"
#include "./CaptioningManager.hpp"
namespace android::view::accessibility
{
// Fields
// QJniObject forward
CaptioningManager::C... | 26.190476 | 140 | 0.748485 | [
"object"
] |
98cc8706b69cb0bc026f24a46b8fca77e863f619 | 12,814 | cpp | C++ | base/cluster/mgmt/cluscfg/basecluster/cbaseclusteraction.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/cluster/mgmt/cluscfg/basecluster/cbaseclusteraction.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/cluster/mgmt/cluscfg/basecluster/cbaseclusteraction.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1999-2001 Microsoft Corporation
//
// Module Name:
// CBaseClusterAction.cpp
//
// Description:
// Contains the definition of the CBaseClusterAction class.
//
// Maintained By:
// David Potte... | 30.877108 | 182 | 0.548463 | [
"object"
] |
98ce8c813757a89434c110262e33f85154280e53 | 6,454 | cpp | C++ | loadstore-benches.cpp | mfleming/uarch-bench | a87790f76e02913fdafa2723fb0c99c485c93822 | [
"MIT"
] | 501 | 2017-06-01T23:20:31.000Z | 2022-03-22T06:52:09.000Z | loadstore-benches.cpp | mfleming/uarch-bench | a87790f76e02913fdafa2723fb0c99c485c93822 | [
"MIT"
] | 90 | 2017-06-01T23:54:34.000Z | 2021-10-30T00:31:02.000Z | loadstore-benches.cpp | mfleming/uarch-bench | a87790f76e02913fdafa2723fb0c99c485c93822 | [
"MIT"
] | 42 | 2018-01-22T12:58:53.000Z | 2022-02-16T06:45:41.000Z | /*
* loadstore_benches.cpp
*/
#include <iostream>
#include <cassert>
#include <sstream>
#include <iomanip>
#include "benchmark.hpp"
#include "hedley.h"
#include "util.hpp"
#include "context.hpp"
#include "timers.hpp"
#include "table.hpp"
#include "isa-support.hpp"
extern "C" {
bench2_f store16_any;
bench2_f stor... | 36.670455 | 124 | 0.645491 | [
"vector"
] |
98ceaa7599c9b22eaf33ea61cd05e652e5cae65c | 983 | cpp | C++ | Weekly Contest 180/1381. Design a Stack With Increment Operation/Solution.cpp | Ainevsia/Leetcode-Rust | c4f16d72f3c0d0524478b6bb90fefae9607d88be | [
"BSD-2-Clause"
] | 15 | 2020-02-07T13:04:05.000Z | 2022-03-02T14:33:21.000Z | Weekly Contest 180/1381. Design a Stack With Increment Operation/Solution.cpp | Ainevsia/Leetcode-Rust | c4f16d72f3c0d0524478b6bb90fefae9607d88be | [
"BSD-2-Clause"
] | null | null | null | Weekly Contest 180/1381. Design a Stack With Increment Operation/Solution.cpp | Ainevsia/Leetcode-Rust | c4f16d72f3c0d0524478b6bb90fefae9607d88be | [
"BSD-2-Clause"
] | 3 | 2020-04-02T15:36:57.000Z | 2021-09-14T14:13:44.000Z | #include <string>
#include <vector>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <tuple>
#include <deque>
#include <unordered_map>
#include <cmath>
using namespace std;
class CustomStack {
public:
vector<int> s;
int l;
CustomStack(int maxSize) {
l = maxSize;
s.cl... | 17.553571 | 67 | 0.513733 | [
"object",
"vector"
] |
98cfb19e465763fdf021c65861795d8015589e90 | 1,733 | cpp | C++ | ngraph/core/src/op/grn.cpp | uikilin100/openvino | afc5191b8c75b1de4adc8cb07c6269b52882ddfe | [
"Apache-2.0"
] | 1 | 2021-03-16T17:40:26.000Z | 2021-03-16T17:40:26.000Z | ngraph/core/src/op/grn.cpp | uikilin100/openvino | afc5191b8c75b1de4adc8cb07c6269b52882ddfe | [
"Apache-2.0"
] | 42 | 2020-11-23T08:09:57.000Z | 2022-02-21T13:03:34.000Z | ngraph/core/src/op/grn.cpp | tsocha/openvino | 3081fac7581933568b496a3c4e744d1cee481619 | [
"Apache-2.0"
] | 4 | 2021-04-02T08:48:38.000Z | 2021-07-01T06:59:02.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "ngraph/op/grn.hpp"
#include <algorithm>
#include <iterator>
#include "itt.hpp"
#include "ngraph/attribute_visitor.hpp"
#include "ngraph/axis_set.hpp"
#include "ngraph/op/broadcast.hpp"
#include "ngraph/shape.hpp"
using ... | 30.946429 | 94 | 0.650317 | [
"shape"
] |
98d267c8ba640858d72ee5d75c32c93a491d921b | 308,617 | cc | C++ | chrome/browser/ui/webui/nearby_internals/quick_pair/quick_pair_handler.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/ui/webui/nearby_internals/quick_pair/quick_pair_handler.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/ui/webui/nearby_internals/quick_pair/quick_pair_handler.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/nearby_internals/quick_pair/quick_pair_handler.h"
#include <memory>
#include "ash/quick_pair/repository/fast_pair/fast... | 79.193482 | 83 | 0.910083 | [
"vector"
] |
98d341e91c7afce13ba51b2fe61446f415405d8c | 8,084 | cpp | C++ | lane_detection/src/peak_finder.cpp | repa1030/simulator_ubuntu | 8f46ddcd2887f863aa5e71ab878fb0eb9bd4a523 | [
"MIT"
] | null | null | null | lane_detection/src/peak_finder.cpp | repa1030/simulator_ubuntu | 8f46ddcd2887f863aa5e71ab878fb0eb9bd4a523 | [
"MIT"
] | null | null | null | lane_detection/src/peak_finder.cpp | repa1030/simulator_ubuntu | 8f46ddcd2887f863aa5e71ab878fb0eb9bd4a523 | [
"MIT"
] | null | null | null | // =================================================================
// Copyright (C) 2020 Hochschule Karlsruhe - Technik und Wirtschaft
// This program and the accompanying materials
// are made available under the terms of the MIT license.
// =================================================================
// Author... | 33.131148 | 107 | 0.57187 | [
"vector"
] |
98d5d7722dfea54ae37806d616a5d0e325597a37 | 3,991 | cpp | C++ | Division-Engine/Engine/Rendering/Texture/TextureHandler.cpp | Dlee4428/Division-Engine | fea6b1d389fbd10cac78b8510fa5a2c3d66d4791 | [
"MIT"
] | null | null | null | Division-Engine/Engine/Rendering/Texture/TextureHandler.cpp | Dlee4428/Division-Engine | fea6b1d389fbd10cac78b8510fa5a2c3d66d4791 | [
"MIT"
] | null | null | null | Division-Engine/Engine/Rendering/Texture/TextureHandler.cpp | Dlee4428/Division-Engine | fea6b1d389fbd10cac78b8510fa5a2c3d66d4791 | [
"MIT"
] | null | null | null | #include "TextureHandler.h"
// GLOBAL SETTERS FOR IMAGE FORMAT TYPE REFERENCE
const ImageFormatType ImageFormatType::IMAGE_FORMAT_SRGBA8 = ImageFormatType(GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_BYTE, 4, 1);
const ImageFormatType ImageFormatType::IMAGE_FORMAT_SRGB8 = ImageFormatType(GL_SRGB8, GL_RGB, GL_UNSIGNED_BYTE, 3... | 30.234848 | 139 | 0.774493 | [
"vector"
] |
98ec0a6bc885bb40e3ea4630efe47dd613083f16 | 101,402 | cpp | C++ | ugene/src/plugins_3rdparty/hmm3/src/hmmer3/easel/esl_msa.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | ugene/src/plugins_3rdparty/hmm3/src/hmmer3/easel/esl_msa.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | ugene/src/plugins_3rdparty/hmm3/src/hmmer3/easel/esl_msa.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | /*::cexcerpt::header_example::begin::*/
/* Multiple sequence alignment file i/o.
*
* Contents:
* 1. The <ESL_MSA> object
* 2. The <ESL_MSAFILE> object
* 3. Digital mode MSA's (augmentation: alphabet)
* 4. Random MSA database access (augmentation: ssi)
* 5. General i/o API, for all alignmen... | 35.123658 | 132 | 0.574999 | [
"object",
"model",
"solid"
] |
98f003dd3c9ead3d9dae93772abf1894acd5fb74 | 4,237 | cpp | C++ | Samples/05-Direct2DGeometries/05-Direct2DGeometries.Win32/Scene.cpp | PeymanTahghighi/WolfEngine | 12bc0dd5171e296f0b51bad74809cb44d47a0bf9 | [
"MIT"
] | 1 | 2021-08-17T09:26:17.000Z | 2021-08-17T09:26:17.000Z | Samples/05-Direct2DGeometries/05-Direct2DGeometries.Win32/Scene.cpp | PeymanTahghighi/WolfEngine | 12bc0dd5171e296f0b51bad74809cb44d47a0bf9 | [
"MIT"
] | null | null | null | Samples/05-Direct2DGeometries/05-Direct2DGeometries.Win32/Scene.cpp | PeymanTahghighi/WolfEngine | 12bc0dd5171e296f0b51bad74809cb44d47a0bf9 | [
"MIT"
] | null | null | null | /*
Project : Wolf Engine (http://WolfStudio.co). Copyright(c) Pooya Eimandar (http://PooyaEimandar.com) . All rights reserved.
Source : https://github.com/PooyaEimandar/WolfEngine - Please direct any bug to hello@WolfStudio.co or tweet @PooyaEimandar on twitter
Name : Scene.cpp
Description : This is the ... | 24.211429 | 138 | 0.709936 | [
"render",
"vector"
] |
c70c10e2fb88aa1ff247c54631ba91659257a0d0 | 4,098 | cpp | C++ | src/plugins/dlniwe/fspathsmanager.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | 1 | 2017-01-12T07:05:45.000Z | 2017-01-12T07:05:45.000Z | src/plugins/dlniwe/fspathsmanager.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | src/plugins/dlniwe/fspathsmanager.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | 30.58209 | 85 | 0.693021 | [
"object"
] |
c70cf44d95ac8ebed30555b66442689cbd38c806 | 2,872 | cpp | C++ | f00ale-cpp/src/p16.cpp | f00ale/advent_of_code_2019 | 96186541d32898ba195b2d0fc1ba222c462e0ca0 | [
"Apache-2.0"
] | 9 | 2019-12-01T14:52:40.000Z | 2020-12-16T14:24:19.000Z | f00ale-cpp/src/p16.cpp | f00ale/advent_of_code_2019 | 96186541d32898ba195b2d0fc1ba222c462e0ca0 | [
"Apache-2.0"
] | null | null | null | f00ale-cpp/src/p16.cpp | f00ale/advent_of_code_2019 | 96186541d32898ba195b2d0fc1ba222c462e0ca0 | [
"Apache-2.0"
] | 51 | 2019-11-26T14:49:05.000Z | 2021-12-01T20:53:41.000Z | #include <iostream>
#include <vector>
#include <algorithm>
#include <tuple>
#include <set>
#include <sstream>
void p16(std::istream & is) {
int ans1 = 0;
int ans2 = 0;
const std::vector<int> input = [&is]
{
std::vector<int> v;
bool done = false;
int num = 0;
bool have_nu... | 26.109091 | 108 | 0.361769 | [
"vector"
] |
c711ddd3a117a0ea07522b305ec925d972192258 | 18,683 | cpp | C++ | src/main.cpp | ramenguy99/ray | 443368a9b633f6c0c76c9f91be41616b2c672479 | [
"Unlicense"
] | null | null | null | src/main.cpp | ramenguy99/ray | 443368a9b633f6c0c76c9f91be41616b2c672479 | [
"Unlicense"
] | null | null | null | src/main.cpp | ramenguy99/ray | 443368a9b633f6c0c76c9f91be41616b2c672479 | [
"Unlicense"
] | null | null | null | #include <stdlib.h>
#include <stdarg.h>
#include <float.h>
#include <stdio.h>
#include <math.h>
#include <stdint.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <stddef.h>
#define __STDC_FORMAT_MACROS 1
#include <inttypes.h>
//OUTPUT
#define OUTPUT_WIDTH 1920
#define OUTPUT_HEIGHT 1080
#define ... | 35.451613 | 119 | 0.554408 | [
"mesh",
"geometry",
"transform"
] |
c725bb9a1d968c3081b35596fd9f0b42dcf37370 | 12,003 | cc | C++ | zircon/tools/mtd-redundant-storage/mtd-rs-tool.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | zircon/tools/mtd-redundant-storage/mtd-rs-tool.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | zircon/tools/mtd-redundant-storage/mtd-rs-tool.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2019 The Fuchsia 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 <fcntl.h>
#include <getopt.h>
#include <lib/mtd/mtd-interface.h>
#include <lib/nand-redundant-storage/file-nand-redundant-storage.h>
#include <lib... | 32.093583 | 100 | 0.602266 | [
"vector"
] |
d175b3d187b76f8cc546fcb1b7fc5cab88e40210 | 12,585 | cpp | C++ | CaptureManagerSource/VideoSurfaceCopierManager/DirectX11ConvertorTransform.cpp | luoyingwen/CaptureManagerSDK | e96395a120175a45c56ff4e2b3283b807a42fd75 | [
"MIT"
] | 64 | 2020-07-20T09:35:16.000Z | 2022-03-27T19:13:08.000Z | CaptureManagerSource/VideoSurfaceCopierManager/DirectX11ConvertorTransform.cpp | luoyingwen/CaptureManagerSDK | e96395a120175a45c56ff4e2b3283b807a42fd75 | [
"MIT"
] | 8 | 2020-07-30T09:20:28.000Z | 2022-03-03T22:37:10.000Z | CaptureManagerSource/VideoSurfaceCopierManager/DirectX11ConvertorTransform.cpp | luoyingwen/CaptureManagerSDK | e96395a120175a45c56ff4e2b3283b807a42fd75 | [
"MIT"
] | 28 | 2020-07-20T13:02:42.000Z | 2022-03-18T07:36:05.000Z | /*
MIT License
Copyright(c) 2020 Evgeny Pereguda
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, ... | 22.234982 | 93 | 0.684068 | [
"transform"
] |
d17912959945eed1de97dba50557c555367ebe69 | 6,449 | cpp | C++ | src/main.cpp | timout/CarND-MPC | a2f8980b921710562a7b376e3cdd450bf5780891 | [
"MIT"
] | null | null | null | src/main.cpp | timout/CarND-MPC | a2f8980b921710562a7b376e3cdd450bf5780891 | [
"MIT"
] | null | null | null | src/main.cpp | timout/CarND-MPC | a2f8980b921710562a7b376e3cdd450bf5780891 | [
"MIT"
] | null | null | null | #include <math.h>
#include <uWS/uWS.h>
#include <chrono>
#include <iostream>
#include <thread>
#include "MPC.h"
#include "json.hpp"
#include "helper.h"
// for convenience
using json = nlohmann::json;
// Checks if the SocketIO event has JSON data.
// If there is data the JSON object in string format will be returned,
... | 39.564417 | 119 | 0.479144 | [
"object",
"vector"
] |
d18148a582872bcc421f84101eff2a8e67ea3237 | 12,019 | cpp | C++ | isis/src/system/apps/messckgen/main.cpp | kdl222/ISIS3 | aab0e63088046690e6c031881825596c1c2cc380 | [
"CC0-1.0"
] | 134 | 2018-01-18T00:16:24.000Z | 2022-03-24T03:53:33.000Z | isis/src/system/apps/messckgen/main.cpp | kdl222/ISIS3 | aab0e63088046690e6c031881825596c1c2cc380 | [
"CC0-1.0"
] | 3,825 | 2017-12-11T21:27:34.000Z | 2022-03-31T21:45:20.000Z | isis/src/system/apps/messckgen/main.cpp | jlaura/isis3 | 2c40e08caed09968ea01d5a767a676172ad20080 | [
"CC0-1.0"
] | 164 | 2017-11-30T21:15:44.000Z | 2022-03-23T10:22:29.000Z | /** This is free and unencumbered software released into the public domain.
The authors of ISIS do not claim copyright on the contents of this file.
For more details about the LICENSE terms and the AUTHORS, you will
find files of those names at the top level of this repository. **/
/* SPDX-License-Identifier: CC0-1.0... | 35.98503 | 81 | 0.628671 | [
"object"
] |
d1906ef592ff7ac5e7a245e656a00c9b36871495 | 4,385 | cpp | C++ | willow/src/op/globalaveragepool.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 61 | 2020-07-06T17:11:46.000Z | 2022-03-12T14:42:51.000Z | willow/src/op/globalaveragepool.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 1 | 2021-02-25T01:30:29.000Z | 2021-11-09T11:13:14.000Z | willow/src/op/globalaveragepool.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 6 | 2020-07-15T12:33:13.000Z | 2021-11-07T06:55:00.000Z | // Copyright (c) 2019 Graphcore Ltd. All rights reserved.
#include <memory>
#include <popart/error.hpp>
#include <popart/op/globalaveragepool.hpp>
#include <popart/opmanager.hpp>
#include <popart/opserialiser.hpp>
#include <popart/tensor.hpp>
namespace popart {
GlobalAveragePoolOp::GlobalAveragePoolOp(const OperatorI... | 35.08 | 80 | 0.706043 | [
"shape",
"vector"
] |
d19333ce3bc5f9453c3ca54ef24d17ee6105c443 | 1,881 | cpp | C++ | scsdk/c++/scsdk_test/standard_cyborg/algorithms/SparseICPTests.cpp | StandardCyborg/scsdk | 92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7 | [
"Apache-2.0"
] | 7 | 2020-11-26T01:07:26.000Z | 2021-12-14T07:45:19.000Z | scsdk/c++/scsdk_test/standard_cyborg/algorithms/SparseICPTests.cpp | StandardCyborg/scsdk | 92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7 | [
"Apache-2.0"
] | null | null | null | scsdk/c++/scsdk_test/standard_cyborg/algorithms/SparseICPTests.cpp | StandardCyborg/scsdk | 92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020 Standard Cyborg
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... | 26.125 | 84 | 0.636364 | [
"geometry",
"vector"
] |
d198935e0122f8d30b1567b776782557ea49777d | 1,255 | cpp | C++ | PT07Z.cpp | shikhar8434/OJ-problems | 7e787b41fd8b6342f73ee59066e2a324608c511d | [
"MIT"
] | 2 | 2020-10-13T12:37:15.000Z | 2020-10-28T14:29:15.000Z | PT07Z.cpp | shikhar8434/OJ-problems | 7e787b41fd8b6342f73ee59066e2a324608c511d | [
"MIT"
] | null | null | null | PT07Z.cpp | shikhar8434/OJ-problems | 7e787b41fd8b6342f73ee59066e2a324608c511d | [
"MIT"
] | null | null | null |
// Problem: Longest path in a tree
// Contest: SPOJ - Classical
// URL: https://www.spoj.com/problems/PT07Z/
// Memory Limit: 1536 MB
// Time Limit: 500 ms
// Powered by CP Editor (https://github.com/cpeditor/cpeditor)
#include <bits/stdc++.h>
#define F first
#define S second
#define PB push_back
#define ... | 17.676056 | 63 | 0.521116 | [
"vector"
] |
d19e75ea67eedf9c4329d44184d032d902ede6eb | 19,573 | cpp | C++ | src/io/ply.cpp | ak-1/glslViewer | 46a69dc946e3327f00a5e7650a7bd35aca7098ed | [
"BSD-3-Clause"
] | 1 | 2021-09-05T21:07:44.000Z | 2021-09-05T21:07:44.000Z | src/io/ply.cpp | ak-1/glslViewer | 46a69dc946e3327f00a5e7650a7bd35aca7098ed | [
"BSD-3-Clause"
] | null | null | null | src/io/ply.cpp | ak-1/glslViewer | 46a69dc946e3327f00a5e7650a7bd35aca7098ed | [
"BSD-3-Clause"
] | null | null | null |
#include "ply.h"
#include <iostream>
#include <fstream>
#include <string>
#define TINYPLY_IMPLEMENTATION
#include "tinyply/tinyply.h"
#include "../tools/geom.h"
#include "../tools/text.h"
bool loadPLY(Uniforms& _uniforms, WatchFileList& _files, Materials& _materials, Models& _models, int _index, bool _verbose) {
... | 38.079767 | 202 | 0.470853 | [
"mesh",
"vector",
"model"
] |
d19edf11930c7f549f13cbf1ab1227e5bc98f666 | 16,113 | hpp | C++ | include/nil/crypto3/zk/snark/schemes/ppzksnark/r1cs_gg_ppzksnark/ipp2/commitment.hpp | NoamDev/crypto3-zk | 5f03e49b737994a3cecf673b029a4e32a2a8aaa5 | [
"MIT"
] | null | null | null | include/nil/crypto3/zk/snark/schemes/ppzksnark/r1cs_gg_ppzksnark/ipp2/commitment.hpp | NoamDev/crypto3-zk | 5f03e49b737994a3cecf673b029a4e32a2a8aaa5 | [
"MIT"
] | null | null | null | include/nil/crypto3/zk/snark/schemes/ppzksnark/r1cs_gg_ppzksnark/ipp2/commitment.hpp | NoamDev/crypto3-zk | 5f03e49b737994a3cecf673b029a4e32a2a8aaa5 | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------//
// Copyright (c) 2018-2020 Mikhail Komarov <nemo@nil.foundation>
// Copyright (c) 2020 Nikita Kaskov <nbering@nil.foundation>
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this so... | 53.889632 | 120 | 0.528828 | [
"vector"
] |
d1a67c3132124cea23839a92390fe3c578986ea6 | 1,803 | hpp | C++ | json.hpp | acheeseye/ai-playing-checkers | fc02ef095fbcad8d730a25b156373cc6370d4f58 | [
"MIT"
] | null | null | null | json.hpp | acheeseye/ai-playing-checkers | fc02ef095fbcad8d730a25b156373cc6370d4f58 | [
"MIT"
] | 12 | 2018-01-25T05:33:28.000Z | 2018-04-04T04:37:52.000Z | json.hpp | acheeseye/ai-playing-checkers | fc02ef095fbcad8d730a25b156373cc6370d4f58 | [
"MIT"
] | null | null | null | /*! @file */
#ifndef JSON_HPP
#define JSON_HPP
#include "jsoncpp/json.h"
#include <string>
#include <vector>
//!Typedef'd in-case JSON library is ever changed.
typedef Json::Value json_t;
/**Converts a json_t to a std::string (same as the std::to_string function).
\param json JSON object to convert.
\return St... | 36.06 | 204 | 0.750416 | [
"object",
"vector"
] |
d1a72f3d9aca5260d4174904233dc7e2dd7c1e82 | 5,191 | cpp | C++ | src/IECore/ObjectVector.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | src/IECore/ObjectVector.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | src/IECore/ObjectVector.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | 1 | 2020-09-26T01:15:37.000Z | 2020-09-26T01:15:37.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008-2013, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 27.611702 | 98 | 0.678097 | [
"object"
] |
d1a7446db711ac82e51fdc6acb550dc9881a7151 | 12,430 | cpp | C++ | code/4/1c8f84a8129f31e235082718b564cd5040d31e1e.cpp | schafar92/antlr-cpp | 6bebcbd3c8d9d1ec37db92d33cc854505eb31d1f | [
"MIT"
] | null | null | null | code/4/1c8f84a8129f31e235082718b564cd5040d31e1e.cpp | schafar92/antlr-cpp | 6bebcbd3c8d9d1ec37db92d33cc854505eb31d1f | [
"MIT"
] | null | null | null | code/4/1c8f84a8129f31e235082718b564cd5040d31e1e.cpp | schafar92/antlr-cpp | 6bebcbd3c8d9d1ec37db92d33cc854505eb31d1f | [
"MIT"
] | null | null | null | #include <iostream>
#include <assert.h>
#include <string>
#include "parallel.h"
#include "Timer.h"
using namespace std;
namespace par {
// Fills A with random doubles, ppopulates b with row sums, returns largest val
double fillArray(double **a, int n, double *b) {
double largestValue = 0.0;
int init = 13... | 23.903846 | 84 | 0.466774 | [
"vector"
] |
d1a7c3a4db20677a12b2be325ce827ba7fbfeac5 | 1,172 | cpp | C++ | c++/TC/SRM/145/div2/250.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null | c++/TC/SRM/145/div2/250.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null | c++/TC/SRM/145/div2/250.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <vector>
using namespace std;
class ImageDithering {
public:
static int count(string dithered, vector<string> screen) {
int ret = 0;
for (int i = 0; i < screen.size(); ++i) {
for (int j = 0; j < screen[i].size(); ++j) {
// up
if (i != 0 && dithered.fin... | 18.3125 | 87 | 0.492321 | [
"vector"
] |
d1a94ed7fbc4ed4eb01fba2d39d5b676f961514e | 455 | cpp | C++ | codeforces/282A.cpp | andraantariksa/code-exercise-answer | 69b7dbdc081cdb094cb110a72bc0c9242d3d344d | [
"MIT"
] | 1 | 2019-11-06T15:17:48.000Z | 2019-11-06T15:17:48.000Z | codeforces/282A.cpp | andraantariksa/code-exercise-answer | 69b7dbdc081cdb094cb110a72bc0c9242d3d344d | [
"MIT"
] | null | null | null | codeforces/282A.cpp | andraantariksa/code-exercise-answer | 69b7dbdc081cdb094cb110a72bc0c9242d3d344d | [
"MIT"
] | 1 | 2018-11-13T08:43:26.000Z | 2018-11-13T08:43:26.000Z | /*input
1
++X
*/
#include <iostream>
#include <vector>
int tot = 0;
unsigned short inpTot;
std::string temp;
std::vector<std::string> s;
int main(){
std::cin>>inpTot>>std::ws;
for(unsigned short i = 0; i < inpTot; i++){
getline(std::cin, temp);
s.push_back(temp);
}
for(std::string i: s){
if(i.find("--") !=... | 15.689655 | 46 | 0.575824 | [
"vector"
] |
d1b5269a4c7b82c71778f2979201e76e634556bd | 830 | cpp | C++ | 05/uva400.cpp | ericxie/aoapc | 10092cebbc5b47364680ffecb5269d94349330e8 | [
"MIT"
] | 10 | 2019-11-10T10:37:23.000Z | 2021-06-16T14:18:22.000Z | 05/uva400.cpp | ericxie/aoapc | 10092cebbc5b47364680ffecb5269d94349330e8 | [
"MIT"
] | null | null | null | 05/uva400.cpp | ericxie/aoapc | 10092cebbc5b47364680ffecb5269d94349330e8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <vector>
#include <string>
#include <algorithm>
std::vector<std::string> files;
const int W = 60;
void solve(int n,int w){
int col,row,i,j,k;
for(i=0;i<W;i++) std::cout << '-';
std::cout << '\n';
col = (W+2) / (w + 2);
row = (n + col - 1) / col;
for(i=0;i<row;i++... | 19.302326 | 54 | 0.520482 | [
"vector"
] |
d1b66b44d5423e3ac21ce5e16e2ae858bf905408 | 2,973 | hh | C++ | tests/harfbuzz-1.7.6/src/src/hb-subset-plan.hh | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | tests/harfbuzz-1.7.6/src/src/hb-subset-plan.hh | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | tests/harfbuzz-1.7.6/src/src/hb-subset-plan.hh | sillywalk/grazz | a0adb1a90d41ff9006d8c1476546263f728b3c83 | [
"Apache-2.0"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
* Copyright © 2018 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above copy... | 34.569767 | 76 | 0.711066 | [
"object"
] |
d1c76261f7d1682437a181c207b847cc834c0320 | 1,758 | cpp | C++ | BashuOJ-Code/5145.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/5145.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/5145.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<cmath>
#include<iomanip>
#include<algorithm>
#include<queue>
#include<stack>
#include<vector>
#define ri register int
#define ll long long
using namespace std;
const int MAXN=400005;
struct Pair{int u,depth;};
struct Edge{int is_sc,u,v;};
... | 18.903226 | 56 | 0.597838 | [
"vector"
] |
d1cad6ccfe64be9061206d44192a0756289faabc | 2,771 | cpp | C++ | ExternalCode/copasi/UI/TimeSeriesWidget.cpp | dhlee4/Tinkercell_new | c4d1848bbb905f0e1f9e011837268ac80aff8711 | [
"BSD-3-Clause"
] | 1 | 2021-01-07T13:12:51.000Z | 2021-01-07T13:12:51.000Z | ExternalCode/copasi/UI/TimeSeriesWidget.cpp | dhlee4/Tinkercell_new | c4d1848bbb905f0e1f9e011837268ac80aff8711 | [
"BSD-3-Clause"
] | 7 | 2020-04-12T22:25:46.000Z | 2020-04-13T07:50:40.000Z | ExternalCode/copasi/UI/TimeSeriesWidget.cpp | daniel-anavaino/tinkercell | 7896a7f809a0373ab3c848d25e3691d10a648437 | [
"BSD-3-Clause"
] | 2 | 2020-04-12T21:57:01.000Z | 2020-04-12T21:59:29.000Z | // Begin CVS Header
// $Source: /fs/turing/cvs/copasi_dev/copasi/UI/TimeSeriesWidget.cpp,v $
// $Revision: 1.17 $
// $Name: Build-33 $
// $Author: shoops $
// $Date: 2010/07/16 19:05:17 $
// End CVS Header
// Copyright (C) 2010 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of He... | 26.390476 | 172 | 0.718152 | [
"object",
"model"
] |
d1cbd16d835b8ea506679220fc602d7708519f11 | 3,897 | cpp | C++ | tests/raw.cpp | bytemaster/Boost.RPC | a27795d37481fb5d53774cc8cf4270fff1f84964 | [
"Unlicense"
] | 23 | 2015-03-31T05:54:47.000Z | 2022-02-27T14:30:16.000Z | tests/raw.cpp | bytemaster/Boost.RPC | a27795d37481fb5d53774cc8cf4270fff1f84964 | [
"Unlicense"
] | null | null | null | tests/raw.cpp | bytemaster/Boost.RPC | a27795d37481fb5d53774cc8cf4270fff1f84964 | [
"Unlicense"
] | 13 | 2015-04-22T04:32:26.000Z | 2019-08-29T13:22:21.000Z | #include <boost/rpc/json/value_io.hpp>
#include <boost/rpc/raw.hpp>
#include <boost/rpc/describe.hpp>
#include <boost/chrono.hpp>
#include <boost/rpc/datastream.hpp>
#include <boost/iostreams/device/null.hpp>
#include <boost/iostreams/device/array.hpp>
#include <boost/iostreams/stream.hpp>
struct substruct {
doubl... | 33.594828 | 106 | 0.591481 | [
"vector"
] |
d1ceaa75f51d6a9e03855d8977f2a58b507798d6 | 3,583 | cpp | C++ | Tudat/JsonInterface/Environment/spice.cpp | ViktorJordanov/tudat | 069ceeab8f12405c356e19f50d6df037914df85c | [
"BSD-3-Clause"
] | null | null | null | Tudat/JsonInterface/Environment/spice.cpp | ViktorJordanov/tudat | 069ceeab8f12405c356e19f50d6df037914df85c | [
"BSD-3-Clause"
] | null | null | null | Tudat/JsonInterface/Environment/spice.cpp | ViktorJordanov/tudat | 069ceeab8f12405c356e19f50d6df037914df85c | [
"BSD-3-Clause"
] | null | null | null | <<<<<<< HEAD
/* Copyright (c) 2010-2018, Delft University of Technology
=======
/* Copyright (c) 2010-2019, Delft University of Technology
>>>>>>> origin/master
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification,... | 32.279279 | 105 | 0.661178 | [
"object",
"vector"
] |
d1d138b5b8a63cbe75a57078e380ee58d4fbed0f | 10,823 | cpp | C++ | src/valve/hl1bspinstance.cpp | wtrsltnk/game-assets | a30f205fe020768f877feb4e55e091c72609d74f | [
"MIT"
] | 7 | 2016-11-11T12:52:52.000Z | 2021-03-02T22:38:21.000Z | src/valve/hl1bspinstance.cpp | wtrsltnk/game-assets | a30f205fe020768f877feb4e55e091c72609d74f | [
"MIT"
] | null | null | null | src/valve/hl1bspinstance.cpp | wtrsltnk/game-assets | a30f205fe020768f877feb4e55e091c72609d74f | [
"MIT"
] | 2 | 2019-04-25T22:57:11.000Z | 2020-09-02T18:29:23.000Z | #include "../../include/valve/hl1bspinstance.h"
#include <glm/glm.hpp>
#include <set>
using namespace std;
using namespace valve::hl1;
BspInstance::BspInstance(BspAsset* asset)
: _asset(asset), _shader(nullptr)
{
this->_shader = new Shader();
this->_shader->BuildProgram();
}
BspInstance::~BspInstance()
... | 29.410326 | 136 | 0.575441 | [
"render",
"vector",
"model",
"solid"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.