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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f9e0cda2aa42e26a1c2bf2b3cacaa68418ce4272 | 1,032 | cpp | C++ | best_approach_for_some_algorithm/get_all_factor.cpp | utkarshrai2811/data-structure-and-algorithms | 445a153afb31dcd8e11a54f7f4a84f93c80180ea | [
"Apache-2.0"
] | 53 | 2020-09-26T19:44:33.000Z | 2021-09-30T20:38:52.000Z | best_approach_for_some_algorithm/get_all_factor.cpp | utkarshrai2811/data-structure-and-algorithms | 445a153afb31dcd8e11a54f7f4a84f93c80180ea | [
"Apache-2.0"
] | 197 | 2020-08-25T18:13:56.000Z | 2021-06-19T07:26:19.000Z | best_approach_for_some_algorithm/get_all_factor.cpp | utkarshrai2811/data-structure-and-algorithms | 445a153afb31dcd8e11a54f7f4a84f93c80180ea | [
"Apache-2.0"
] | 204 | 2020-08-24T09:21:02.000Z | 2022-02-13T06:13:42.000Z | // time complexity of this algo is sqrt(n);
/*
written by pankaj kumar.
*/
#include<algorithm>
#include<string.h>
#include<iostream>
#include<vector>
#include<cmath>
#include<set>
using namespace std;
typedef long long ll ;
typedef vector<int> vi;
typedef vector<pair<int,int>> vpi;
typedef vector<ll> vl;
typedef vecto... | 18.428571 | 64 | 0.625969 | [
"vector"
] |
f9e9b89c0c778a1fc97fc4a6067b6fb40f36a7ec | 4,637 | cpp | C++ | ros/srrg_ros_wrappers/laser_message_listener.cpp | pet1330/spqrel_navigation | af0c0797404770c8c97825e081d41069d9c40cc9 | [
"MIT"
] | 28 | 2017-06-27T07:45:35.000Z | 2022-02-19T03:34:18.000Z | ros/srrg_ros_wrappers/laser_message_listener.cpp | pet1330/spqrel_navigation | af0c0797404770c8c97825e081d41069d9c40cc9 | [
"MIT"
] | 12 | 2017-07-22T22:09:05.000Z | 2021-07-30T10:20:45.000Z | ros/srrg_ros_wrappers/laser_message_listener.cpp | pet1330/spqrel_navigation | af0c0797404770c8c97825e081d41069d9c40cc9 | [
"MIT"
] | 18 | 2017-07-09T12:12:38.000Z | 2022-01-27T22:37:42.000Z | #include "laser_message_listener.h"
#include <srrg_messages/laser_message.h>
#include <srrg_types/defs.h>
namespace srrg_core_ros {
using namespace std;
using namespace srrg_core;
LaserMessageListener::LaserMessageListener(ros::NodeHandle* nh,
SensorMessageSorter* sorter_,
tf::TransformLi... | 30.11039 | 133 | 0.646539 | [
"vector",
"transform"
] |
f9ed383fcd44f1b2a9bb23af5331ff20492b2bdc | 12,164 | cpp | C++ | draw.cpp | rocksdanister/floppybird | b9455c7da73cf5866483e5eb4b2dadceb5147a2a | [
"MIT"
] | 5 | 2020-04-27T07:42:51.000Z | 2021-09-25T11:45:45.000Z | draw.cpp | rocksdanister/floppybird | b9455c7da73cf5866483e5eb4b2dadceb5147a2a | [
"MIT"
] | null | null | null | draw.cpp | rocksdanister/floppybird | b9455c7da73cf5866483e5eb4b2dadceb5147a2a | [
"MIT"
] | 8 | 2017-03-26T16:24:05.000Z | 2022-01-21T03:44:22.000Z | #include <GL/glut.h>
#include <stdio.h>
#include <floppy.h>
#include <iostream>
#include <vector>
#include <string>
#include <SOIL/SOIL.h>
#include <math.h>
using namespace std;
struct bricks
{
int x,y;
int objdisp;
}obj;
vector<bricks> obstacleBrick;
unsigned char* image;
static GLuint texBird[4],texBac[2],texObj[3... | 25.394572 | 141 | 0.692042 | [
"vector"
] |
f9fb23794d0ce4f4e1acda70ba956f87b1a61f05 | 984 | cpp | C++ | Sid's Contests/LeetCode contests/Weekly Contest 251/Sum of Digits of String after Convert.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 14 | 2021-08-22T18:21:14.000Z | 2022-03-08T12:04:23.000Z | Sid's Contests/LeetCode contests/Weekly Contest 251/Sum of Digits of String after Convert.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 1 | 2021-10-17T18:47:17.000Z | 2021-10-17T18:47:17.000Z | Sid's Contests/LeetCode contests/Weekly Contest 251/Sum of Digits of String after Convert.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 5 | 2021-09-01T08:21:12.000Z | 2022-03-09T12:13:39.000Z | class Solution {
public:
//OM GAN GANAPATHAYE NAMO NAMAH
//JAI SHRI RAM
//JAI BAJRANGBALI
//AMME NARAYANA, DEVI NARAYANA, LAKSHMI NARAYANA, BHADRE NARAYANA
void convert(string s, vector<int> &a)
{
for(int i = 0; i < s.length(); i++)
{
int ch = (char)(s[i] - 'a');
... | 21.391304 | 69 | 0.382114 | [
"vector"
] |
e60246f2b79bce5f717e1e6d283882147edba303 | 7,969 | cpp | C++ | src/Library/Shaders/SSS/SubSurfaceScatteringShaderOp.cpp | aravindkrishnaswamy/rise | 297d0339a7f7acd1418e322a30a21f44c7dbbb1d | [
"BSD-2-Clause"
] | 1 | 2018-12-20T19:31:02.000Z | 2018-12-20T19:31:02.000Z | src/Library/Shaders/SSS/SubSurfaceScatteringShaderOp.cpp | aravindkrishnaswamy/rise | 297d0339a7f7acd1418e322a30a21f44c7dbbb1d | [
"BSD-2-Clause"
] | null | null | null | src/Library/Shaders/SSS/SubSurfaceScatteringShaderOp.cpp | aravindkrishnaswamy/rise | 297d0339a7f7acd1418e322a30a21f44c7dbbb1d | [
"BSD-2-Clause"
] | null | null | null | //////////////////////////////////////////////////////////////////////
//
// SubSurfaceScatteringShaderOp.cpp - Implementation of the SubSurfaceScatteringShaderOp class
//
// Author: Aravind Krishnaswamy
// Date of Birth: February 18, 2005
// Tabs: 4
// Comments:
//
// License Information: Please see the attach... | 33.910638 | 134 | 0.689422 | [
"object"
] |
e60a3cba29a84161d7a125c96396104134f41f6a | 1,469 | hpp | C++ | src/root-lib/world-units.hpp | snailbaron/root | e3e997e746ac001650513f4d9b466f8dfcf52075 | [
"MIT"
] | null | null | null | src/root-lib/world-units.hpp | snailbaron/root | e3e997e746ac001650513f4d9b466f8dfcf52075 | [
"MIT"
] | null | null | null | src/root-lib/world-units.hpp | snailbaron/root | e3e997e746ac001650513f4d9b466f8dfcf52075 | [
"MIT"
] | null | null | null | #pragma once
#include "geometry.hpp"
#include "units.hpp"
using Length = units::Length<float>;
constexpr Length operator "" _m(long double meters)
{
return Length{static_cast<float>(meters)};
}
constexpr Length operator "" _m(unsigned long long meters)
{
return Length{static_cast<float>(meters)};
}
using Pos... | 26.709091 | 73 | 0.748809 | [
"geometry",
"vector"
] |
e615ed48d97c72dd40d48c5dfb24237584342939 | 1,851 | hpp | C++ | series2_workbench/hyp_sys_1d/include/ancse/cfl_condition.hpp | BeatHubmann/19H-AdvNCSE | 3979f768da933de82bd6ab29bbf31ea9fc31e501 | [
"MIT"
] | 1 | 2020-01-05T22:38:47.000Z | 2020-01-05T22:38:47.000Z | series2_workbench/hyp_sys_1d/include/ancse/cfl_condition.hpp | BeatHubmann/19H-AdvNCSE | 3979f768da933de82bd6ab29bbf31ea9fc31e501 | [
"MIT"
] | null | null | null | series2_workbench/hyp_sys_1d/include/ancse/cfl_condition.hpp | BeatHubmann/19H-AdvNCSE | 3979f768da933de82bd6ab29bbf31ea9fc31e501 | [
"MIT"
] | 1 | 2019-12-08T20:43:27.000Z | 2019-12-08T20:43:27.000Z | #ifndef HYPSYS1D_CFL_CONDITION_HPP
#define HYPSYS1D_CFL_CONDITION_HPP
#include <cmath>
#include <limits>
#include <memory>
#include <Eigen/Dense>
#include <ancse/includes.hpp>
#include <ancse/grid.hpp>
#include <ancse/model.hpp>
#include <ancse/dg_handler.hpp>
/// Interface for computing CFL restricted timesteps.
c... | 26.442857 | 76 | 0.636953 | [
"model"
] |
e621ed01cb560e9c8a5a295385e3fae8f015247c | 1,912 | cpp | C++ | leetcode/problems/medium/898-bitwise-ors-of-subarrays.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | leetcode/problems/medium/898-bitwise-ors-of-subarrays.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | leetcode/problems/medium/898-bitwise-ors-of-subarrays.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Bitwise ORs of Subarrays
We have an array arr of non-negative integers.
For every (contiguous) subarray sub = [arr[i], arr[i + 1], ..., arr[j]] (with i <= j), we take the bitwise OR of all the elements in sub, obtaining a result arr[i] | arr[i + 1] | ... | arr[j].
Return the number of possible results. Results th... | 24.831169 | 192 | 0.521444 | [
"vector"
] |
e6220f74965b6eb6bc62d1a5090d117dd114f481 | 1,830 | hpp | C++ | MSCKF/dynamicVectorReference.hpp | michael-fonder/fonder_thesis-2016 | 59631865169857f935a52ffd89a07243fe00e7d1 | [
"MIT"
] | 26 | 2016-09-22T08:41:10.000Z | 2022-02-17T02:49:45.000Z | MSCKF/dynamicVectorReference.hpp | michael-fonder/fonder_thesis-2016 | 59631865169857f935a52ffd89a07243fe00e7d1 | [
"MIT"
] | 4 | 2016-09-06T11:25:16.000Z | 2018-05-31T12:29:50.000Z | MSCKF/dynamicVectorReference.hpp | michael-fonder/fonder_thesis-2016 | 59631865169857f935a52ffd89a07243fe00e7d1 | [
"MIT"
] | 19 | 2016-08-30T07:17:51.000Z | 2018-11-08T07:29:18.000Z | #ifndef DYNAMIC_VECTOR_REFERENCE
#define DYNAMIC_VECTOR_REFERENCE
#include <stdio.h>
#include <stdint.h>
#include <unordered_map>
#include <vector>
#include "dynamicVector.hpp"
//#include "dynamicVector.h"
template <typename Object> class DynamicVectorReference : public DynamicVector<Object>
{
public :
//DynamicVe... | 27.727273 | 103 | 0.710929 | [
"object",
"vector"
] |
e623329a289b3a0ae32ea856fbf01c52aa67cf17 | 1,940 | hpp | C++ | addons/medical/configs/vehicles/Medication.hpp | SOCOMD/SOCOMD-MODS-2021 | 834cd5f99831bd456179a1f55f5a91398c29bf57 | [
"MIT"
] | null | null | null | addons/medical/configs/vehicles/Medication.hpp | SOCOMD/SOCOMD-MODS-2021 | 834cd5f99831bd456179a1f55f5a91398c29bf57 | [
"MIT"
] | null | null | null | addons/medical/configs/vehicles/Medication.hpp | SOCOMD/SOCOMD-MODS-2021 | 834cd5f99831bd456179a1f55f5a91398c29bf57 | [
"MIT"
] | null | null | null |
class SOCOMD_MorphineItem : Item_Base_F {
scope=SCOPE_PUBLIC;
scopeCurator=SCOPE_PUBLIC;
displayName="Morphine 10mg/1mL Ampoule";
icon="\z\socomd\addons\data\icon\VPN.paa";
vehicleClass="Items";
class TransportItems {
TRANSPORT_ITEM(SOCOMD_morphine,1)
};
};
class SOCOMD_epineph... | 25.526316 | 65 | 0.682474 | [
"model"
] |
e625d959615e5b3d6e2cd6baff395c5b6f529552 | 4,701 | hpp | C++ | src/methods/naive_bayes/gaussian_naive_bayes.hpp | zhaoqi19/Machine-Learning-algorithms-practices | bde826466cf8a23f232db222a1068b867aaa5a90 | [
"MIT"
] | null | null | null | src/methods/naive_bayes/gaussian_naive_bayes.hpp | zhaoqi19/Machine-Learning-algorithms-practices | bde826466cf8a23f232db222a1068b867aaa5a90 | [
"MIT"
] | null | null | null | src/methods/naive_bayes/gaussian_naive_bayes.hpp | zhaoqi19/Machine-Learning-algorithms-practices | bde826466cf8a23f232db222a1068b867aaa5a90 | [
"MIT"
] | null | null | null | #ifndef METHODS_NAIVE_BAYES_GAUSSIAN_NAIVE_BAYES_HPP
#define METHODS_NAIVE_BAYES_GAUSSIAN_NAIVE_BAYES_HPP
#include "../../prereqs.hpp"
#include "../../core.hpp"
#include "base.hpp"
using namespace openml;
namespace openml {
namespace naive_bayes {
template<typename DataType>
class GaussianNB: public BaseNB<DataType> ... | 33.820144 | 123 | 0.604127 | [
"shape",
"vector",
"model"
] |
e63243f4823eb9f093c9d08021e7ce89a7cc51b7 | 1,875 | cpp | C++ | Engine/Application.cpp | lowysole/BugEngine | aa40f7fd2dcf13b01d2542666ad7dd899fee07c1 | [
"MIT"
] | null | null | null | Engine/Application.cpp | lowysole/BugEngine | aa40f7fd2dcf13b01d2542666ad7dd899fee07c1 | [
"MIT"
] | null | null | null | Engine/Application.cpp | lowysole/BugEngine | aa40f7fd2dcf13b01d2542666ad7dd899fee07c1 | [
"MIT"
] | null | null | null | #pragma once
#include "Application.h"
#include "ModuleWindow.h"
#include "ModuleRender.h"
#include "ModuleInput.h"
#include "ModuleCamera.h"
#include "ModuleProgram.h"
#include "ModuleTexture.h"
#include "ModuleEditor.h"
#include "ModuleDebugDraw.h"
#include "Model.h"
#include "leak.h"
using namespace std... | 25.684932 | 107 | 0.653867 | [
"vector",
"model"
] |
e635330e19dd471b2e794414af7ce3a29e1e38e0 | 1,929 | cpp | C++ | Code Forces/Code forces 43B - Letter.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 28 | 2017-11-08T11:52:11.000Z | 2021-07-16T06:30:02.000Z | Code Forces/Code forces 43B - Letter.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | null | null | null | Code Forces/Code forces 43B - Letter.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 30 | 2017-09-01T09:14:27.000Z | 2021-04-12T12:08:56.000Z | // Author: Sofen Hoque Anonta #Problm:
#include <iostream>
#include <cstdio>
#include <climits>
#include <map>
#include <vector>
#include <cmath>
#include <queue>
#include <algorithm>
#include <utility>
#include <string>
#include <cstring>
//using namespace std;
using namespace std;
namespace {
typedef long long LL... | 19.886598 | 94 | 0.536029 | [
"vector"
] |
e63a16faa9bf963c38d385dfc4071b04eb43ee0b | 169 | cpp | C++ | Week-2/Day-12-singleNonDuplicate.cpp | utkarshavardhana/may-leetcoding-challenge | 4f7600c943460029c595a3b2d85f86e68d7b7066 | [
"MIT"
] | 1 | 2020-05-02T04:21:54.000Z | 2020-05-02T04:21:54.000Z | Week-2/Day-12-singleNonDuplicate.cpp | utkarshavardhana/may-leetcoding-challenge | 4f7600c943460029c595a3b2d85f86e68d7b7066 | [
"MIT"
] | null | null | null | Week-2/Day-12-singleNonDuplicate.cpp | utkarshavardhana/may-leetcoding-challenge | 4f7600c943460029c595a3b2d85f86e68d7b7066 | [
"MIT"
] | null | null | null | class Solution {
public:
int singleNonDuplicate(vector<int>& nums) {
int ans = 0;
for(int i : nums) ans ^= i;
return ans;
}
};
| 18.777778 | 48 | 0.497041 | [
"vector"
] |
e63f44e90334caa31a1a3ee9a6d9eeea2faec874 | 33,806 | cpp | C++ | pangolin/display.cpp | akramhussein/SimpleHDR | 818ff433789737a8431ae9e891c366562e37bcd6 | [
"MIT"
] | 1 | 2018-09-18T09:28:42.000Z | 2018-09-18T09:28:42.000Z | pangolin/display.cpp | akramhussein/SimpleHDR | 818ff433789737a8431ae9e891c366562e37bcd6 | [
"MIT"
] | null | null | null | pangolin/display.cpp | akramhussein/SimpleHDR | 818ff433789737a8431ae9e891c366562e37bcd6 | [
"MIT"
] | null | null | null | /* This file is part of the Pangolin Project.
* http://github.com/stevenlovegrove/Pangolin
*
* Copyright (c) 2011 Steven Lovegrove, Richard Newcombe
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal i... | 26.535322 | 152 | 0.588682 | [
"render",
"object",
"vector"
] |
e6545afe8678e42ac757503b6b3b2b190ed03bfb | 12,972 | cc | C++ | util/CoordAxes.cc | erikleitch/cpputil | 6dbd4bdbaaa60d911d166b68fdad6af6afd04963 | [
"MIT"
] | 1 | 2018-11-01T05:15:31.000Z | 2018-11-01T05:15:31.000Z | util/CoordAxes.cc | erikleitch/cpputil | 6dbd4bdbaaa60d911d166b68fdad6af6afd04963 | [
"MIT"
] | null | null | null | util/CoordAxes.cc | erikleitch/cpputil | 6dbd4bdbaaa60d911d166b68fdad6af6afd04963 | [
"MIT"
] | 2 | 2017-05-02T19:35:55.000Z | 2018-03-07T00:54:51.000Z | #include "gcp/util/CoordAxes.h"
#include "gcp/util/Debug.h"
#include "gcp/util/Exception.h"
#include "gcp/util/LogStream.h"
using namespace gcp::util;
using namespace std;
/**.......................................................................
* Private initialization method
*/
void CoordAxes::privateConstructor... | 26.419552 | 84 | 0.558434 | [
"object",
"vector"
] |
e664a26dca301d82d6ca8b57212e80a3cd4a9f14 | 4,814 | cpp | C++ | src/controller/parkselector.cpp | bdmendes/feup-cal-parking | 57e793d32a176c43c93bbf03a1b863bbe5b7a3e3 | [
"MIT"
] | null | null | null | src/controller/parkselector.cpp | bdmendes/feup-cal-parking | 57e793d32a176c43c93bbf03a1b863bbe5b7a3e3 | [
"MIT"
] | null | null | null | src/controller/parkselector.cpp | bdmendes/feup-cal-parking | 57e793d32a176c43c93bbf03a1b863bbe5b7a3e3 | [
"MIT"
] | null | null | null | #include <stdexcept>
#include "parkselector.h"
#include "../algorithms/search.hpp"
#include "../algorithms/shortestdistance.hpp"
static std::vector<Node<MapPoint>*> candidateParks(const Graph<MapPoint>& graph, Node<MapPoint>* point, double maxDistance){
if (point->getElement().isPark()) return {};
std::vector<... | 48.626263 | 152 | 0.636477 | [
"vector"
] |
e670c9481b2f37d694d27a5aab4a16edfb9c3e90 | 1,203 | cpp | C++ | aws-cpp-sdk-medialive/source/model/FrameCaptureCdnSettings.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-medialive/source/model/FrameCaptureCdnSettings.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-medialive/source/model/FrameCaptureCdnSettings.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/medialive/model/FrameCaptureCdnSettings.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace A... | 20.05 | 84 | 0.76808 | [
"model"
] |
e6794406ea55c56778d2f17682dada8abdd35e63 | 1,198 | cpp | C++ | 27. LeetCode Problems/valid_sudoku.cpp | shivank911/Hacktoberfest2021-DSA | ac2d3d30c34b1a42003b6bd4dec13249e4e58458 | [
"MIT"
] | 1 | 2021-10-06T10:29:51.000Z | 2021-10-06T10:29:51.000Z | 27. LeetCode Problems/valid_sudoku.cpp | shivank911/Hacktoberfest2021-DSA | ac2d3d30c34b1a42003b6bd4dec13249e4e58458 | [
"MIT"
] | null | null | null | 27. LeetCode Problems/valid_sudoku.cpp | shivank911/Hacktoberfest2021-DSA | ac2d3d30c34b1a42003b6bd4dec13249e4e58458 | [
"MIT"
] | 1 | 2021-10-04T00:11:49.000Z | 2021-10-04T00:11:49.000Z | //Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:
//Points to be kept in mind:
//Each row must contain the digits 1-9 without repetition.
//Each column must contain the digits 1-9 without repetition.
//Each of the nine 3 x 3 sub-boxes of the grid ... | 33.277778 | 122 | 0.504174 | [
"vector"
] |
e67b50e401fcb582fdb64346efaf050072117944 | 381 | cpp | C++ | DigDug/FireBehaviour.cpp | keangdavidTouch/C-GameEngine | e276e7cc7c840ca41b005c0cf844cd8d5580200a | [
"MIT"
] | 2 | 2021-03-19T13:29:36.000Z | 2021-04-13T23:37:10.000Z | DigDug/FireBehaviour.cpp | keangdavidTouch/C-GameEngine | e276e7cc7c840ca41b005c0cf844cd8d5580200a | [
"MIT"
] | null | null | null | DigDug/FireBehaviour.cpp | keangdavidTouch/C-GameEngine | e276e7cc7c840ca41b005c0cf844cd8d5580200a | [
"MIT"
] | null | null | null | #include "pch.h"
#include "PumpBehaviour.h"
#include "TaizoBehaviour.h"
void kd::PumpBehaviour::Initialize()
{
/*void (*callback)(GameObject*) = &kd::PumpBehaviour::TriggerEnter;
GetGameObject()->SetCollisionCallback(callback);*/
}
void kd::PumpBehaviour::Update() {}
void kd::PumpBehaviour::Render() const {}
//vo... | 22.411765 | 68 | 0.71916 | [
"render"
] |
e67d0597a4dc6b4ddaec2eed0fa1c42cc3a14b46 | 2,093 | cpp | C++ | epublib/src/main/jni/NativeFormats/zlibrary/text/src/fonts/FontManager.cpp | zhupeipei/NovelReader | 8eed755ed6da162d7f52fdf23d1bad8c63b01b10 | [
"MIT"
] | 2 | 2021-07-30T02:36:46.000Z | 2021-09-04T23:04:43.000Z | epublib/src/main/jni/NativeFormats/zlibrary/text/src/fonts/FontManager.cpp | zhupeipei/NovelReader | 8eed755ed6da162d7f52fdf23d1bad8c63b01b10 | [
"MIT"
] | null | null | null | epublib/src/main/jni/NativeFormats/zlibrary/text/src/fonts/FontManager.cpp | zhupeipei/NovelReader | 8eed755ed6da162d7f52fdf23d1bad8c63b01b10 | [
"MIT"
] | 2 | 2021-06-03T08:59:58.000Z | 2021-07-30T04:42:53.000Z | /*
* Copyright (C) 2004-2015 FBReader.ORG Limited <contact@fbreader.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later ... | 31.238806 | 121 | 0.70473 | [
"vector"
] |
e680475f0630b21cc04e9f55fff525e63aad446e | 6,408 | cc | C++ | tools/re2c/src/codegen/go_construct.cc | 351ELEC/lzdoom | 2ee3ea91bc9c052b3143f44c96d85df22851426f | [
"RSA-MD"
] | 5 | 2021-07-31T03:34:09.000Z | 2021-08-31T21:43:50.000Z | tools/re2c/src/codegen/go_construct.cc | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | 4 | 2021-09-02T00:05:17.000Z | 2021-09-07T14:56:12.000Z | tools/re2c/src/codegen/go_construct.cc | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | 1 | 2021-09-28T19:03:39.000Z | 2021-09-28T19:03:39.000Z | #include <stddef.h>
#include "src/util/c99_stdint.h"
#include <string>
#include <utility>
#include <vector>
#include "src/codegen/bitmap.h"
#include "src/codegen/go.h"
#include "src/conf/opt.h"
#include "src/globals.h"
#include "src/ir/adfa/adfa.h"
#include "src/util/allocate.h"
namespace re2c
{
static uint32_t unma... | 22.484211 | 155 | 0.597378 | [
"vector"
] |
e680aff778fabd34a098ff6375d081422f569741 | 617 | cpp | C++ | solutions/1443.minimum-time-to-collect-all-apples-in-a-tree.378293872.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 78 | 2020-10-22T11:31:53.000Z | 2022-02-22T13:27:49.000Z | solutions/1443.minimum-time-to-collect-all-apples-in-a-tree.378293872.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | null | null | null | solutions/1443.minimum-time-to-collect-all-apples-in-a-tree.378293872.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 26 | 2020-10-23T15:10:44.000Z | 2021-11-07T16:13:50.000Z | class Solution {
public:
int minTime(int n, vector<vector<int>> &edges, vector<bool> &hasApple) {
int ans = 0;
vector<vector<int>> g(n);
for (auto &v : edges) {
g[v[0]].push_back(v[1]);
g[v[1]].push_back(v[0]);
}
dfs(g, hasApple, ans, 0);
return ans * 2;
}
bool dfs(vector<vect... | 22.035714 | 75 | 0.50081 | [
"vector"
] |
e6824e4ea2d5de301260edb29bcba77c89606dfb | 3,668 | cc | C++ | yundun-ds/src/model/DescribeFlowTotalCountResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | yundun-ds/src/model/DescribeFlowTotalCountResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | yundun-ds/src/model/DescribeFlowTotalCountResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 43.152941 | 110 | 0.772901 | [
"model"
] |
e6868daedc3e6a18271d96a5ef218e53b138093d | 1,012 | hpp | C++ | include/Components/RectangleCollider.hpp | fgagamedev/voID | 37cd56fe2878d036c36dafcf595e48ed85408d02 | [
"MIT"
] | null | null | null | include/Components/RectangleCollider.hpp | fgagamedev/voID | 37cd56fe2878d036c36dafcf595e48ed85408d02 | [
"MIT"
] | null | null | null | include/Components/RectangleCollider.hpp | fgagamedev/voID | 37cd56fe2878d036c36dafcf595e48ed85408d02 | [
"MIT"
] | null | null | null | #ifndef __RECTANGLE_COLLIDER__
#define __RECTANGLE_COLLIDER__
#include "Engine/GameObject.hpp"
#include "Components/Collider.hpp"
#include "Math/Shapes.hpp"
#include "Math/Vector.hpp"
/**
@file RectangleCollider.hpp
@brief This class contains all attributes and methods that creates all collisions in-game.
... | 21.083333 | 94 | 0.683794 | [
"vector"
] |
e6968f4c38993f7255f5e6ab10fd72e829ec84f8 | 15,069 | cpp | C++ | Engine/Object.cpp | CrossProd/Aardbei_SouthsideExploration | cead610de95fb87b5aab60b4ec834a8c814a3c12 | [
"MIT"
] | 1 | 2018-11-20T03:50:35.000Z | 2018-11-20T03:50:35.000Z | Engine/Object.cpp | rbruinier/Aardbei_SouthsideExploration | cead610de95fb87b5aab60b4ec834a8c814a3c12 | [
"MIT"
] | null | null | null | Engine/Object.cpp | rbruinier/Aardbei_SouthsideExploration | cead610de95fb87b5aab60b4ec834a8c814a3c12 | [
"MIT"
] | null | null | null | /*
Pyramid Engine - Object Class
2003, Robert Jan Bruinier (rob / aardbei)
*/
#include "Object.h"
#include <math.h>
#include "../System/VertexBuffer.h"
#include "../System/IndexBuffer.h"
#include "../System/VertexShader.h"
#include "../System/PixelShader.h"
#include "../System/Matrix.h"
D3... | 20.842324 | 117 | 0.564736 | [
"render",
"object",
"vector"
] |
e699c98efdefecdaac238a9125ff405de9a13117 | 1,788 | cpp | C++ | UVa-OnlineJudge/UVa280_Vetex.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | UVa-OnlineJudge/UVa280_Vetex.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | UVa-OnlineJudge/UVa280_Vetex.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | /* UVa - 280 - Vertex
* https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=216 */
//nhatnguyendrgs (c) 2015
#include "iostream"
#include "stdio.h"
#include "stdlib.h"
#include "string"
#include "string.h"
#include "algorithm"
#include "math.h"
#include "vect... | 21.285714 | 117 | 0.463087 | [
"vector"
] |
e6ac59eef4d9cc88e80009f20ca0452bc59e94f3 | 1,300 | cpp | C++ | Arrays/CPP/duplicate_in_sorted_array.cpp | ultraUnicorn74/DSA-Path-And-Important-Questions | 5fca1a11f083f6ccb704cf50e101234b1260edc5 | [
"MIT"
] | 26 | 2021-08-04T17:03:26.000Z | 2022-03-08T08:43:44.000Z | Arrays/CPP/duplicate_in_sorted_array.cpp | ultraUnicorn74/DSA-Path-And-Important-Questions | 5fca1a11f083f6ccb704cf50e101234b1260edc5 | [
"MIT"
] | 25 | 2021-08-04T16:58:33.000Z | 2021-11-01T05:26:19.000Z | Arrays/CPP/duplicate_in_sorted_array.cpp | ultraUnicorn74/DSA-Path-And-Important-Questions | 5fca1a11f083f6ccb704cf50e101234b1260edc5 | [
"MIT"
] | 16 | 2021-08-14T20:15:24.000Z | 2022-02-23T11:04:06.000Z | /*
Input format:-
first line takes the no. of test cases
second line takes n - the no of elements
third lines takes input of n space seperated elements
Testcases:-
Input:-
2
5
1 1 4 4 6
14
1 3 4 5 5 5 5 8 8 8 8 9 9 9
Output:-
1 4 6
1 3 4 5 8 9
*/
#in... | 22.413793 | 73 | 0.490769 | [
"vector"
] |
e6b531ae0cf3574a108e1c208b46c583834f9927 | 9,444 | cpp | C++ | src/detection_processing.cpp | tue-ropod/camera_detector | bf57cf82d9c4a4a87a2f2e992ad7454298d0a63c | [
"BSD-2-Clause"
] | null | null | null | src/detection_processing.cpp | tue-ropod/camera_detector | bf57cf82d9c4a4a87a2f2e992ad7454298d0a63c | [
"BSD-2-Clause"
] | null | null | null | src/detection_processing.cpp | tue-ropod/camera_detector | bf57cf82d9c4a4a87a2f2e992ad7454298d0a63c | [
"BSD-2-Clause"
] | null | null | null | using namespace std;
/// [headers]
// ROS
//#include <ros/ros.h>
//#include "camera_detector/objPosVel.h"
//#include "camera_detector/detections.h"
#include "ed_gui_server/objsPosVel.h"
//#include<geometry_msgs/Point.msg>
// Openpose API (including opencv)
#include <openpose/headers.hpp>
#include <camera_detector/... | 37.47619 | 211 | 0.580263 | [
"object",
"vector"
] |
e6bf36f586aba0f2b4fa0116678d66e8f9226493 | 6,727 | cpp | C++ | src/base/RectangularPrism.cpp | serserar/ModelConverter | 23e6237a347dc959de191d4cc378defb0a9d044b | [
"MIT"
] | null | null | null | src/base/RectangularPrism.cpp | serserar/ModelConverter | 23e6237a347dc959de191d4cc378defb0a9d044b | [
"MIT"
] | null | null | null | src/base/RectangularPrism.cpp | serserar/ModelConverter | 23e6237a347dc959de191d4cc378defb0a9d044b | [
"MIT"
] | null | null | null | /*
* Copyright 2018 <copyright holder> <email>
*
* 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 la... | 37.581006 | 185 | 0.653486 | [
"mesh"
] |
e6bf5def281e1944001774175d63436472df18a6 | 15,714 | cpp | C++ | qtmultimedia/src/imports/multimedia/qdeclarativeradio.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qtmultimedia/src/imports/multimedia/qdeclarativeradio.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qtmultimedia/src/imports/multimedia/qdeclarativeradio.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may ... | 29.371963 | 157 | 0.695558 | [
"model"
] |
e6c5fe8c6299d67451ec71a0769eae83a2218ad1 | 708 | cpp | C++ | src/old/numWays.cpp | hewei-nju/LeetCode | 39aafffa9cc260056435ef4611e305f402b32223 | [
"MIT"
] | null | null | null | src/old/numWays.cpp | hewei-nju/LeetCode | 39aafffa9cc260056435ef4611e305f402b32223 | [
"MIT"
] | null | null | null | src/old/numWays.cpp | hewei-nju/LeetCode | 39aafffa9cc260056435ef4611e305f402b32223 | [
"MIT"
] | null | null | null | class Solution {
public:
const int MODULO = 1000000007;
int numWays(int steps, int arrLen) {
int maxColumn = min(arrLen - 1, steps);
vector<int> dp(maxColumn + 1);
dp[0] = 1;
for (int i = 1; i <= steps; i++) {
vector<int> dpNext(maxColumn + 1);
for (int j... | 28.32 | 65 | 0.387006 | [
"vector"
] |
e6c9eafa68a3503327d3f082482ae252e1a3ac4f | 4,215 | cpp | C++ | langdetectpp/src/detection/DetectionRunner.cpp | kovdan01/langdetectpp | 85521e1372a4d45d4752b8183cb53aebb7080271 | [
"Apache-2.0"
] | null | null | null | langdetectpp/src/detection/DetectionRunner.cpp | kovdan01/langdetectpp | 85521e1372a4d45d4752b8183cb53aebb7080271 | [
"Apache-2.0"
] | null | null | null | langdetectpp/src/detection/DetectionRunner.cpp | kovdan01/langdetectpp | 85521e1372a4d45d4752b8183cb53aebb7080271 | [
"Apache-2.0"
] | null | null | null | #include "detection/DetectionRunner.h"
#include "ngrams/ExtractedNGrams.h"
#include "ngrams/NGramExtractor.h"
#include "profiles/Profile.h"
#include "profiles/ProfileGroup.h"
#include "util/CircleArray.h"
#include "util/misc.h"
#include "util/stats.h"
#include <langdetectpp/Language.h>
#include <string>
#include <vec... | 27.019231 | 84 | 0.554211 | [
"vector"
] |
e6cf5cf4fd8efde026509e4ce0358ff4f2525ae0 | 7,684 | cpp | C++ | fibers/io.cpp | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 33 | 2018-12-12T20:05:06.000Z | 2021-09-26T13:30:16.000Z | fibers/io.cpp | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 5 | 2019-04-25T11:34:43.000Z | 2021-11-14T04:35:37.000Z | fibers/io.cpp | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 15 | 2018-12-21T22:44:59.000Z | 2021-08-29T10:30:25.000Z | #include "io.h"
void printSurfVTK(Mesh *mesh, std::ostream &out){
out <<
"# vtk DataFile Version 3.0\n"
"Generated by MFEM\n"
"ASCII\n"
"DATASET UNSTRUCTURED_GRID\n";
int NumOfVertices=mesh->GetNV();
int spaceDim=3;
out << "POINTS " << NumOfVertices << " double\n";
for (i... | 28.671642 | 114 | 0.485424 | [
"mesh",
"geometry",
"vector"
] |
e6cfdf8effbcceae5a6ea0050f84afae599bf8ce | 17,547 | cpp | C++ | gsa/wit/COIN/Clp/ClpDualRowSteepest.cpp | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 1 | 2019-10-25T05:25:23.000Z | 2019-10-25T05:25:23.000Z | gsa/wit/COIN/Clp/ClpDualRowSteepest.cpp | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 2 | 2019-09-04T17:34:59.000Z | 2020-09-16T08:10:57.000Z | gsa/wit/COIN/Clp/ClpDualRowSteepest.cpp | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 18 | 2019-07-22T19:01:25.000Z | 2022-03-03T15:36:11.000Z | // Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
#include "CoinPragma.hpp"
#include "ClpSimplex.hpp"
#include "ClpDualRowSteepest.hpp"
#include "CoinIndexedVector.hpp"
#include "ClpFactorization.hpp"
#include "CoinHelperFunctions.hpp"
#include <cstdio>
//########... | 29.196339 | 81 | 0.632758 | [
"vector",
"model"
] |
e6d5f7879d133bf46408dc61a5fc1e4cf9596247 | 195 | hpp | C++ | src/board/emulator/EmulatorBoard.hpp | amsobr/iotool | 233ec320ee25c96d34332fe847663682c4aa0a91 | [
"MIT"
] | null | null | null | src/board/emulator/EmulatorBoard.hpp | amsobr/iotool | 233ec320ee25c96d34332fe847663682c4aa0a91 | [
"MIT"
] | 4 | 2022-03-13T23:07:12.000Z | 2022-03-13T23:10:09.000Z | src/board/emulator/EmulatorBoard.hpp | amsobr/iotool | 233ec320ee25c96d34332fe847663682c4aa0a91 | [
"MIT"
] | null | null | null |
#pragma once
#include <vector>
#include <common/Board.hpp>
class EmulatorBoard : public Board
{
public:
EmulatorBoard();
~EmulatorBoard() override;
}; /* class EmulatorBoard */
| 12.1875 | 34 | 0.671795 | [
"vector"
] |
5c7b5353a84b5c0d3cd92da65eb687b89cf95b62 | 3,097 | cpp | C++ | Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/MultiLineTextEditHandler.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/MultiLineTextEditHandler.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/MultiLineTextEditHandler.cpp | 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
*
*/
#include "MultiLineTextEditHandler.h"
#include <AzToolsFramework/Debug/TraceContext.h>
namespace Az... | 34.411111 | 166 | 0.638683 | [
"3d"
] |
5c7e25042c74fb8a82feafa44090b3103bbd915b | 6,508 | cpp | C++ | libraries/hvvr/raycaster/scene_update.cpp | wschnepp/HVVRText3D | 737089f0027a93db489675a93e4cf874e107319c | [
"BSD-3-Clause"
] | 1 | 2019-06-05T20:33:49.000Z | 2019-06-05T20:33:49.000Z | libraries/hvvr/raycaster/scene_update.cpp | wschnepp/HVVRText3D | 737089f0027a93db489675a93e4cf874e107319c | [
"BSD-3-Clause"
] | null | null | null | libraries/hvvr/raycaster/scene_update.cpp | wschnepp/HVVRText3D | 737089f0027a93db489675a93e4cf874e107319c | [
"BSD-3-Clause"
] | 1 | 2021-12-06T14:09:13.000Z | 2021-12-06T14:09:13.000Z | /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include "... | 36.357542 | 107 | 0.610018 | [
"vector",
"model"
] |
5c85fdd4f45a40008c6eab6fb059d127a4a4240e | 1,243 | cpp | C++ | Source/BackgroundComponent.cpp | Dezzles/ludumdare32 | 3cc85bd54466a0cca3d2d748b39250412b44ba9c | [
"MIT"
] | null | null | null | Source/BackgroundComponent.cpp | Dezzles/ludumdare32 | 3cc85bd54466a0cca3d2d748b39250412b44ba9c | [
"MIT"
] | null | null | null | Source/BackgroundComponent.cpp | Dezzles/ludumdare32 | 3cc85bd54466a0cca3d2d748b39250412b44ba9c | [
"MIT"
] | null | null | null | #include "BackgroundComponent.hpp"
using namespace Math;
BackgroundComponent::BackgroundComponent()
{
BackgroundSize_ = 40;
}
void BackgroundComponent::Initialise( Json::Value Params )
{
Component::Initialise( Params );
REQUIRED_LOAD( Float, BackgroundSize, backgroundSize );
REQUIRED_LOAD( Float, GapShrink, ga... | 23.45283 | 90 | 0.70716 | [
"vector"
] |
5c8f8b6c53ee7dbbbaae3854848b1db66122d592 | 13,009 | cpp | C++ | Abaqus/AbaqusModel.cpp | chunkeey/FEBioStudio | f342d4ac2bc3581db792373c4265454109af92b3 | [
"MIT"
] | 27 | 2020-06-25T06:34:52.000Z | 2022-03-11T08:58:57.000Z | Abaqus/AbaqusModel.cpp | chunkeey/FEBioStudio | f342d4ac2bc3581db792373c4265454109af92b3 | [
"MIT"
] | 42 | 2020-06-15T18:40:57.000Z | 2022-03-24T05:38:54.000Z | Abaqus/AbaqusModel.cpp | chunkeey/FEBioStudio | f342d4ac2bc3581db792373c4265454109af92b3 | [
"MIT"
] | 12 | 2020-06-27T13:58:57.000Z | 2022-03-24T05:39:10.000Z | /*This file is part of the FEBio Studio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio-Studio.txt for details.
Copyright (c) 2020 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any per... | 26.387424 | 137 | 0.53463 | [
"vector",
"solid"
] |
5c9294a9f667e0315254d809b616b4c338db16c7 | 22,095 | hpp | C++ | include/mockturtle/algorithms/resyn_engines/xag_resyn_engines.hpp | mdsudara/mockturtle | 129741e252a6b87d8cb8041c25655f1256e43c9a | [
"MIT"
] | 1 | 2019-05-25T17:40:15.000Z | 2019-05-25T17:40:15.000Z | include/mockturtle/algorithms/resyn_engines/xag_resyn_engines.hpp | mdsudara/mockturtle | 129741e252a6b87d8cb8041c25655f1256e43c9a | [
"MIT"
] | 2 | 2021-03-05T21:12:07.000Z | 2021-03-06T18:42:52.000Z | include/mockturtle/algorithms/resyn_engines/xag_resyn_engines.hpp | mdsudara/mockturtle | 129741e252a6b87d8cb8041c25655f1256e43c9a | [
"MIT"
] | null | null | null | /* mockturtle: C++ logic network library
* Copyright (C) 2018-2021 EPFL
*
* 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... | 34.469579 | 245 | 0.614211 | [
"vector"
] |
5c94d1c8781c46d8530d8c076545cc7395789e26 | 7,468 | cpp | C++ | beatroot-vamp/Induction.cpp | jaouahbi/VampPlugins | 27c2248d1c717417fe4d448cdfb4cb882a8a336a | [
"Apache-2.0"
] | null | null | null | beatroot-vamp/Induction.cpp | jaouahbi/VampPlugins | 27c2248d1c717417fe4d448cdfb4cb882a8a336a | [
"Apache-2.0"
] | null | null | null | beatroot-vamp/Induction.cpp | jaouahbi/VampPlugins | 27c2248d1c717417fe4d448cdfb4cb882a8a336a | [
"Apache-2.0"
] | null | null | null | /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Vamp feature extraction plugin for the BeatRoot beat tracker.
Centre for Digital Music, Queen Mary, University of London.
This file copyright 2011 Simon Dixon, Chris Cannam and QMUL.
This program is free software; you can r... | 38.297436 | 90 | 0.481387 | [
"vector"
] |
5c9836b5ff2fc15df1c148aa2b882db0a19f29e0 | 1,230 | cpp | C++ | mriga.cpp | avinal/C_ode | f056da37c8c56a4a62a06351c2ea3773d16d1b11 | [
"MIT"
] | 1 | 2020-08-23T20:21:35.000Z | 2020-08-23T20:21:35.000Z | mriga.cpp | avinal/C_ode | f056da37c8c56a4a62a06351c2ea3773d16d1b11 | [
"MIT"
] | null | null | null | mriga.cpp | avinal/C_ode | f056da37c8c56a4a62a06351c2ea3773d16d1b11 | [
"MIT"
] | 2 | 2019-03-18T10:22:13.000Z | 2021-01-03T10:12:28.000Z | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main()
{
int test;
cin >> test;
int m, n;
while (test--)
{
cin >> n >> m;
vector<int> eat;
int k;
for (int i = 0; i < m; i++)
{
cin >> k;
eat.push_bac... | 21.964286 | 66 | 0.347154 | [
"vector"
] |
5c9f3a1c13fa17a4eed61f6bc4884a8c1986f055 | 3,821 | cpp | C++ | vkconfig_core/test/test_setting_type_flags.cpp | Dantali0n/VulkanTools | b9317b652fc4015942148212b9e92498be3afb80 | [
"Apache-2.0"
] | null | null | null | vkconfig_core/test/test_setting_type_flags.cpp | Dantali0n/VulkanTools | b9317b652fc4015942148212b9e92498be3afb80 | [
"Apache-2.0"
] | null | null | null | vkconfig_core/test/test_setting_type_flags.cpp | Dantali0n/VulkanTools | b9317b652fc4015942148212b9e92498be3afb80 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020-2021 Valve Corporation
* Copyright (c) 2020-2021 LunarG, 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... | 30.568 | 89 | 0.6972 | [
"vector"
] |
5c9f984e5af0c8b9c3f7d77afdd6e802dabe69a1 | 731 | hpp | C++ | modules/lua/luaconsole.hpp | MasterQ32/cg-workbench | 3d6229b961192689e6dbd0a09ec4b61041ecb155 | [
"MIT"
] | 5 | 2017-12-27T12:57:36.000Z | 2021-10-02T03:21:40.000Z | modules/lua/luaconsole.hpp | MasterQ32/cg-workbench | 3d6229b961192689e6dbd0a09ec4b61041ecb155 | [
"MIT"
] | 9 | 2020-09-29T22:40:49.000Z | 2020-10-17T20:05:05.000Z | modules/lua/luaconsole.hpp | MasterQ32/cg-workbench | 3d6229b961192689e6dbd0a09ec4b61041ecb155 | [
"MIT"
] | null | null | null | #ifndef LUACONSOLE_HPP
#define LUACONSOLE_HPP
#include <window.hpp>
#include <vector>
#include <string>
extern "C"
{
#include <lua.h>
}
class LuaConsole :
public Window
{
WINDOW_PREAMBLE
private:
struct logentry
{
bool isError;
std::string message;
};
static const int MaxInputLength = 512;
std::vector<l... | 15.891304 | 48 | 0.72093 | [
"vector"
] |
5ca0a6f2bbe7bc2feec4ce71476d1339198237bb | 3,915 | cpp | C++ | Code/Tools/Standalone/Source/LUA/LUAEditorSettingsDialog.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Code/Tools/Standalone/Source/LUA/LUAEditorSettingsDialog.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Code/Tools/Standalone/Source/LUA/LUAEditorSettingsDialog.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.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
*
*/
#include <AzCore/Script/ScriptAsset.h>
#include <AzFramework/StringFunc/StringFunc.h>
#include <Az... | 30.826772 | 199 | 0.686335 | [
"3d"
] |
5ca1aac26956bd2111687fdae0c1608dd5f9b7ca | 7,929 | cpp | C++ | src/dsp.cpp | colinbdclark/node-dsp | 840bf5ecad5b4ce7be8a421160163597317d451f | [
"MIT"
] | 1 | 2019-03-05T16:52:41.000Z | 2019-03-05T16:52:41.000Z | src/dsp.cpp | colinbdclark/node-dsp | 840bf5ecad5b4ce7be8a421160163597317d451f | [
"MIT"
] | null | null | null | src/dsp.cpp | colinbdclark/node-dsp | 840bf5ecad5b4ce7be8a421160163597317d451f | [
"MIT"
] | null | null | null | #include <math.h>
#include <algorithm>
#include <time.h>
#include <vector>
#include <limits>
#include <cstring>
#include "dsp.h"
#include "common.h"
#include "float32array.h"
using namespace v8;
using namespace node;
using namespace std;
void NodeDSP::Initialize (Handle<Object> target) {
HandleScope scope;
srand(... | 24.624224 | 89 | 0.605877 | [
"object",
"vector"
] |
5ca46fa37cd32be75be5e05e6edbc04e2a1f241a | 14,298 | cpp | C++ | universe.cpp | helm100/2d-cdt | e79044451f0f84c1b0ff5c3290a61b5f24df45c0 | [
"MIT"
] | 3 | 2021-01-11T14:28:27.000Z | 2022-02-08T14:19:30.000Z | universe.cpp | helm100/2d-cdt | e79044451f0f84c1b0ff5c3290a61b5f24df45c0 | [
"MIT"
] | 1 | 2021-02-26T12:40:53.000Z | 2021-02-26T12:40:53.000Z | universe.cpp | helm100/2d-cdt | e79044451f0f84c1b0ff5c3290a61b5f24df45c0 | [
"MIT"
] | 1 | 2021-03-02T16:03:14.000Z | 2021-03-02T16:03:14.000Z | // Copyright 2020 Joren Brunekreef and Andrzej Görlich
#include "universe.hpp"
int Universe::nSlices = 0;
std::vector<int> Universe::sliceSizes;
bool Universe::sphere = false;
bool Universe::imported = false;
std::default_random_engine Universe::rng(0); // TODO(JorenB): set seed somewhere else
Bag<Triangle, Triangle:... | 26.186813 | 138 | 0.646314 | [
"geometry",
"vector"
] |
5ca9de85249a06471bcfe18b73ab23477688ab40 | 18,025 | cpp | C++ | ModuleSceneIntro.cpp | boscobarberesbert/Race-Car | be6865f64aab5dfb9def116a8e2d713d4d18bafe | [
"MIT"
] | null | null | null | ModuleSceneIntro.cpp | boscobarberesbert/Race-Car | be6865f64aab5dfb9def116a8e2d713d4d18bafe | [
"MIT"
] | null | null | null | ModuleSceneIntro.cpp | boscobarberesbert/Race-Car | be6865f64aab5dfb9def116a8e2d713d4d18bafe | [
"MIT"
] | null | null | null | #include "Globals.h"
#include "Application.h"
#include "ModuleSceneIntro.h"
#include "Primitive.h"
#include "PhysBody3D.h"
ModuleSceneIntro::ModuleSceneIntro(Application* app, bool start_enabled) : Module(app, start_enabled)
{
spawnedBalls1 = false;
spawnedBalls2 = false;
}
ModuleSceneIntro::~ModuleSceneIntro()
{}
... | 30.19263 | 325 | 0.677947 | [
"render",
"transform"
] |
5cac4d4a80db7adbec8d103b10e30d0f3a92a7ce | 8,400 | cpp | C++ | GLAC/tests/unit_tests/iotests.cpp | hmvege/GluonicLQCD | 9bb7466fce408bf51cb98d65f639acd37d034d62 | [
"MIT"
] | 1 | 2019-04-12T08:12:30.000Z | 2019-04-12T08:12:30.000Z | GLAC/tests/unit_tests/iotests.cpp | hmvege/GluonicLQCD | 9bb7466fce408bf51cb98d65f639acd37d034d62 | [
"MIT"
] | 2 | 2021-03-14T12:30:39.000Z | 2021-03-14T12:33:17.000Z | GLAC/tests/unit_tests/iotests.cpp | hmvege/GluonicLQCD | 9bb7466fce408bf51cb98d65f639acd37d034d62 | [
"MIT"
] | 1 | 2020-05-14T02:12:33.000Z | 2020-05-14T02:12:33.000Z | #include "iotests.h"
// Including chrono for taking IO times.
#include <chrono>
#include "parallelization/parallel.h"
#include "config/parameters.h"
#include "io/fieldio.h"
IOTests::IOTests()
{
}
// IO tests
bool IOTests::testIOLatticeWriteRead()
{
if ((m_processRank == 0) && m_verbose) {
printf("Runni... | 35.146444 | 136 | 0.56381 | [
"vector"
] |
5cb648eabb56b0b78ca66826f5f2be00a306262f | 728 | cpp | C++ | examples/galaga/src/galaga/PongBall.cpp | loafofpiecrust/lfant | a38826e325a50dffb5d030d71abcd58de59e8389 | [
"Apache-2.0"
] | 4 | 2017-03-06T16:59:27.000Z | 2021-07-23T12:57:07.000Z | examples/galaga/src/galaga/PongBall.cpp | loafofpiecrust/lfant | a38826e325a50dffb5d030d71abcd58de59e8389 | [
"Apache-2.0"
] | null | null | null | examples/galaga/src/galaga/PongBall.cpp | loafofpiecrust/lfant | a38826e325a50dffb5d030d71abcd58de59e8389 | [
"Apache-2.0"
] | null | null | null |
#include <galaga/PongBall.h>
// internal
// external
#include <lfant/Input.h>
#include <lfant/Console.h>
#include <lfant/Transform.h>
using namespace lfant;
namespace pong {
IMPLEMENT_TYPE(lfant::Component, pong::Ball)
Ball::Ball()
{
}
Ball::~Ball()
{
}
void Ball::Init()
{
// ConnectEvent(SENDER(game->input, J... | 14 | 75 | 0.678571 | [
"transform"
] |
5cbc653503c8246a1fd584aa58fa6218bfd10e48 | 1,724 | hpp | C++ | sw/src/batch.hpp | lvandam/pairhmm_posit_hdl_arrow | 428e935d1f3cb78d881ec590cfcc1f85806c4589 | [
"Apache-2.0"
] | 1 | 2019-07-01T10:25:43.000Z | 2019-07-01T10:25:43.000Z | pairhmm_compare/src/batch.hpp | lvandam/pairhmm_posit_cpp | 580c45d65913bc683aabc9abf3049291bf7c82e3 | [
"Apache-2.0"
] | null | null | null | pairhmm_compare/src/batch.hpp | lvandam/pairhmm_posit_cpp | 580c45d65913bc683aabc9abf3049291bf7c82e3 | [
"Apache-2.0"
] | 2 | 2019-07-01T10:42:31.000Z | 2021-02-05T09:10:13.000Z | #ifndef __BATCH_H
#define __BATCH_H
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <sys/time.h>
#include <posit/posit>
#include "defines.hpp"
using namespace sw::unum;
typedef struct struct_workload {
int pairs;
uint32_t *hapl;
uint32_t *read;
... | 24.628571 | 112 | 0.62471 | [
"vector"
] |
5cc934c4f2232ed99ab3c7326072c6777e83dc4c | 2,277 | cpp | C++ | activity_3/src/concordeSolver.cpp | lucasguesserts/MO824A-combinatorial-optimization | a88569e4496c0ed4f89a4e8bac7ab8f42f6cb7d4 | [
"MIT"
] | null | null | null | activity_3/src/concordeSolver.cpp | lucasguesserts/MO824A-combinatorial-optimization | a88569e4496c0ed4f89a4e8bac7ab8f42f6cb7d4 | [
"MIT"
] | null | null | null | activity_3/src/concordeSolver.cpp | lucasguesserts/MO824A-combinatorial-optimization | a88569e4496c0ed4f89a4e8bac7ab8f42f6cb7d4 | [
"MIT"
] | null | null | null | #include "concordeSolver.hpp"
extern "C" {
#include <concorde.h>
}
#include <iostream>
#include <vector>
#include <numeric>
#include <tuple>
#include <stdexcept>
std::vector<int> solve_tsp (const std::vector<std::vector<int>>& distance)
{
const int ncount = distance.size();
if (ncount < 5) {
throw ... | 23.968421 | 97 | 0.541502 | [
"vector"
] |
5cca5e9f380e26bd13a81569be2dbc25db575117 | 5,468 | hpp | C++ | Code/Tenshi/Compiler/BuiltinType.hpp | NotKyon/Tenshi | 9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7 | [
"Zlib"
] | null | null | null | Code/Tenshi/Compiler/BuiltinType.hpp | NotKyon/Tenshi | 9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7 | [
"Zlib"
] | 8 | 2016-11-17T00:39:03.000Z | 2016-11-29T14:46:27.000Z | Code/Tenshi/Compiler/BuiltinType.hpp | NotKyon/Tenshi | 9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7 | [
"Zlib"
] | null | null | null | #pragma once
#include <Core/Types.hpp>
#include "Operator.hpp"
namespace Tenshi { namespace Compiler {
// Whether a cast is specified explicitly or is implicit
enum class ECastMode
{
// Cast was explicitly requested
Explicit,
// Implicit cast into input parameter
Input,
// Implicit cast from return val... | 26.673171 | 99 | 0.713058 | [
"object",
"vector"
] |
5ccab8444c184993bc2b314c7881ad8d3fa12b38 | 5,473 | cxx | C++ | TBDataAnalysis/202106_DESY/CheckCalib.cxx | polesell/DREMTubes | e396c37220baf458e66c69c806e92245521d8d88 | [
"MIT"
] | null | null | null | TBDataAnalysis/202106_DESY/CheckCalib.cxx | polesell/DREMTubes | e396c37220baf458e66c69c806e92245521d8d88 | [
"MIT"
] | null | null | null | TBDataAnalysis/202106_DESY/CheckCalib.cxx | polesell/DREMTubes | e396c37220baf458e66c69c806e92245521d8d88 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <TTree.h>
#include <TBranch.h>
#include <TFile.h>
#include <TH1.h>
#include <TMath.h>
#include "../../TBDataPreparation/202106_DESY/scripts/PhysicsEvent.h"
ClassImp(EventOut)
#define DATADIR "/eos/user/i/ideadr/TB2021_Desy/recoNt... | 24.877273 | 98 | 0.490407 | [
"vector"
] |
5cd4ed1ab942d1034e247cd84a3305f0e7157368 | 18,168 | cpp | C++ | my_md_source/my_metadata_client_lua_functs.cpp | mlawsonca/empress | aa3eb8544f2e01fcbd77749f7dce1b95fbfa11e9 | [
"MIT"
] | 5 | 2018-11-28T19:38:23.000Z | 2021-03-15T20:44:07.000Z | my_md_source/my_metadata_client_lua_functs.cpp | mlawsonca/empress | aa3eb8544f2e01fcbd77749f7dce1b95fbfa11e9 | [
"MIT"
] | null | null | null | my_md_source/my_metadata_client_lua_functs.cpp | mlawsonca/empress | aa3eb8544f2e01fcbd77749f7dce1b95fbfa11e9 | [
"MIT"
] | 1 | 2018-07-18T15:22:36.000Z | 2018-07-18T15:22:36.000Z | /*
* Copyright 2018 National Technology & Engineering Solutions of
* Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS,
* the U.S. Government retains certain rights in this software.
*
* The MIT License (MIT)
*
* Copyright (c) 2018 Sandia Corporation
*
* Permission is hereby granted, ... | 40.553571 | 195 | 0.612891 | [
"object",
"vector"
] |
5cd7f801567f4750918d628e5f923ae88dbeca17 | 2,215 | hpp | C++ | include/codegen/include/System/Runtime/Serialization/ObjectHolderList.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Runtime/Serialization/ObjectHolderList.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Runtime/Serialization/ObjectHolderList.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Completed includes
// Begin forward declares
// Forward declaring names... | 38.859649 | 126 | 0.714673 | [
"object"
] |
5cdf858348d6010939ca9bcea50af5d715ca9d1e | 8,085 | cc | C++ | headless/lib/browser/headless_printing_unittest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | headless/lib/browser/headless_printing_unittest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | headless/lib/browser/headless_printing_unittest.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/memory/ptr_util.h"
#include "base/values.h"
#include "headless/lib/browser/headless_devtools_manager_delegate.h"
#include "headless/lib/bro... | 37.604651 | 80 | 0.727767 | [
"vector"
] |
5ce72b08792e007a34c896b82f27d9753c747563 | 15,968 | cpp | C++ | src/frameworks/native/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | src/frameworks/native/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | src/frameworks/native/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 41.048843 | 100 | 0.6689 | [
"transform"
] |
5ce944ab547da416ec793ee257cdbaba2e59520a | 1,256 | cpp | C++ | projects/project/src/shader.cpp | TheAlexP/Engine | 5a1bed59e4d152c075da00398cdd16fe37b3af1d | [
"MIT"
] | null | null | null | projects/project/src/shader.cpp | TheAlexP/Engine | 5a1bed59e4d152c075da00398cdd16fe37b3af1d | [
"MIT"
] | null | null | null | projects/project/src/shader.cpp | TheAlexP/Engine | 5a1bed59e4d152c075da00398cdd16fe37b3af1d | [
"MIT"
] | null | null | null | #include "shader.h"
shader::shader(char* filename)
{
std::ifstream fileStream(filename, std::ios::in);
if (!fileStream.is_open()) {
std::cerr << "Could not read file " << filename << ". File does not exist." << std::endl;
}
std::string line = "";
while (!fileStream.eof()) {
std::getline(fileStream, line)... | 19.625 | 91 | 0.702229 | [
"vector"
] |
5cecf3e2d1b6ffe879453a094f10d68c9b836985 | 11,626 | cpp | C++ | tools/montecarlo_cpp/Montecarlo.cpp | Ulukele/neuron_poker | 9dc5b9bc0095fe3f79501b103517bdcce80139c1 | [
"MIT"
] | 403 | 2019-06-28T09:40:19.000Z | 2022-03-31T21:18:09.000Z | tools/montecarlo_cpp/Montecarlo.cpp | Ulukele/neuron_poker | 9dc5b9bc0095fe3f79501b103517bdcce80139c1 | [
"MIT"
] | 42 | 2019-07-01T20:03:51.000Z | 2022-02-10T00:16:57.000Z | tools/montecarlo_cpp/Montecarlo.cpp | Ulukele/neuron_poker | 9dc5b9bc0095fe3f79501b103517bdcce80139c1 | [
"MIT"
] | 155 | 2019-06-30T12:25:47.000Z | 2022-03-29T16:21:16.000Z | #include "Montecarlo.h"
#include <array>
#include <vector>
#include <iostream>
#include <tuple>
#include <algorithm>
#include <iostream>
#include <algorithm>
#include <random>
#include <iterator>
bool eval_best_hand(const std::vector<CardsWithTableCombined>& all_cards_with_table_combined)
// returns true if first pl... | 33.796512 | 147 | 0.674179 | [
"vector"
] |
5cf4bf0ed6f651880f0cbc03f81ea8f8375a3947 | 550 | cpp | C++ | codes/moderncpp/functors/functors01/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | 3 | 2022-01-25T07:33:43.000Z | 2022-03-30T10:25:09.000Z | codes/moderncpp/functors/functors01/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | null | null | null | codes/moderncpp/functors/functors01/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | 2 | 2022-01-17T13:39:12.000Z | 2022-03-30T10:25:12.000Z | #include <iostream>
#include <algorithm>
int increment(int x) { return ( x + 1 ); }
int main( int argc, char **argv )
{
{
int arr[] = { 1, 2, 3, 4, 5 };
int n = sizeof( arr ) / sizeof( arr[ 0 ] );
// Apply increment to all elements of
// arr[] and store the modified elements
... | 21.153846 | 53 | 0.46 | [
"transform"
] |
9dd86e584ae1d7fafc508600437be25ce49a4444 | 5,090 | cpp | C++ | Source/Config.cpp | Xanfre/dmm | d56ee25bf28bba596310c36963892550eaf878b3 | [
"MIT"
] | 5 | 2020-11-29T16:36:48.000Z | 2021-12-20T20:25:14.000Z | Source/Config.cpp | pshjt/ss2bmm | c8434a630f9a3b8e06e000af35e9a7ff132bd881 | [
"MIT"
] | null | null | null | Source/Config.cpp | pshjt/ss2bmm | c8434a630f9a3b8e06e000af35e9a7ff132bd881 | [
"MIT"
] | 3 | 2021-03-28T23:13:25.000Z | 2022-01-24T07:11:08.000Z | #include <Precompiled.hpp>
#include "Message.hpp"
#include "Config.hpp"
Config::Config()
{
initialize();
}
Config::Config(const std::string& fileName)
{
initialize();
assignFile(fileName);
}
Config::~Config()
{
}
void Config::assignFile(const std::string& fileName)
{
fileName_ = fileName;
}
bool Config::load... | 17.985866 | 105 | 0.684479 | [
"vector"
] |
9de04963cac58170dc3dc73eb3141b62db41f40c | 903 | hpp | C++ | NINJA/BinaryHeap.hpp | TravisWheelerLab/NINJA | 4523a0eb073a68ffd00dcf537a9466a164c3a156 | [
"MIT"
] | 3 | 2019-12-07T11:46:41.000Z | 2022-01-26T01:18:03.000Z | NINJA/BinaryHeap.hpp | TravisWheelerLab/NINJA | 4523a0eb073a68ffd00dcf537a9466a164c3a156 | [
"MIT"
] | 36 | 2016-05-22T18:17:30.000Z | 2022-01-26T01:01:07.000Z | NINJA/BinaryHeap.hpp | TravisWheelerLab/NINJA | 4523a0eb073a68ffd00dcf537a9466a164c3a156 | [
"MIT"
] | 4 | 2019-08-07T17:10:52.000Z | 2020-09-27T03:08:55.000Z | #ifndef BINARYHEAP_HPP
#define BINARYHEAP_HPP
#include "ExceptionHandler.hpp"
#include <cassert>
#include <climits>
#include <cstdio>
struct Int {
int *pointer;
int length;
};
struct Float {
float *pointer;
int length;
};
class BinaryHeap {
public:
//constructors
BinaryHeap();
BinaryHea... | 18.06 | 78 | 0.675526 | [
"vector"
] |
9de4675e510e864b4fb52fefbae6de2d4f2a8333 | 1,309 | hpp | C++ | TabGraph/include/Driver/OpenGL/Renderer/Light/PointLightRenderer.hpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-08-28T09:35:18.000Z | 2020-08-28T09:35:18.000Z | TabGraph/include/Driver/OpenGL/Renderer/Light/PointLightRenderer.hpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | null | null | null | TabGraph/include/Driver/OpenGL/Renderer/Light/PointLightRenderer.hpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-10-08T11:21:13.000Z | 2020-10-08T11:21:13.000Z | /*
* @Author: gpinchon
* @Date: 2021-04-11 20:51:53
* @Last Modified by: gpinchon
* @Last Modified time: 2021-04-11 20:52:16
*/
#pragma once
#include "Renderer/Light/LightRenderer.hpp"
#include <glm/glm.hpp>
class Geometry;
class Framebuffer;
class PointLight;
namespace Shader {
class Program;
}... | 31.166667 | 91 | 0.741024 | [
"geometry",
"render"
] |
9df593038f1e3c3018f436990fb57948f4b49e1b | 1,131 | cpp | C++ | atcoder/arc/125/b.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | 2 | 2021-06-09T12:27:07.000Z | 2021-06-11T12:02:03.000Z | atcoder/arc/125/b.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | 1 | 2021-09-08T12:00:05.000Z | 2021-09-08T14:52:30.000Z | atcoder/arc/125/b.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | null | null | null | /*
* @Description:
* @Version: 2.0
* @Autor: tusikalanse
* @Date: 2021-08-22 19:50:49
* @LastEditors: tusikalanse
* @LastEditTime: 2021-08-22 20:30:40
*/
#include <bits/stdc++.h>
using namespace std;
using LL = long long;
LL gcd(LL a, LL b) {
return b == 0 ? a : gcd(b, a % b);
}
const int INF = 0x3f3f3f3f;
... | 20.196429 | 71 | 0.420866 | [
"vector"
] |
9df786e6288d5cbf557f49a353ba1753a2589843 | 8,255 | hpp | C++ | external/mapnik/include/mapnik/vertex_cache.hpp | baiyicanggou/mapnik_mvt | 9bde52fa9958d81361c015c816858534ec0931bb | [
"Apache-2.0"
] | null | null | null | external/mapnik/include/mapnik/vertex_cache.hpp | baiyicanggou/mapnik_mvt | 9bde52fa9958d81361c015c816858534ec0931bb | [
"Apache-2.0"
] | null | null | null | external/mapnik/include/mapnik/vertex_cache.hpp | baiyicanggou/mapnik_mvt | 9bde52fa9958d81361c015c816858534ec0931bb | [
"Apache-2.0"
] | null | null | null | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2015 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | 34.395833 | 131 | 0.643004 | [
"vector"
] |
9dffe8f2e0774c4db51ae4884b4348780df20604 | 11,686 | cpp | C++ | realsense/rs-align.cpp | IamWangYunKai/BallDetection | 71671f40d451eae174efad944fb324b1cd9ec89e | [
"MIT"
] | null | null | null | realsense/rs-align.cpp | IamWangYunKai/BallDetection | 71671f40d451eae174efad944fb324b1cd9ec89e | [
"MIT"
] | null | null | null | realsense/rs-align.cpp | IamWangYunKai/BallDetection | 71671f40d451eae174efad944fb324b1cd9ec89e | [
"MIT"
] | null | null | null | #include <librealsense2/rs.hpp>
#include <librealsense2/rs_advanced_mode.hpp>
#include "example.hpp"
#include <imgui.h>
#include "imgui_impl_glfw.h"
#include <sstream>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <cstring>
#include <ctime>
#include <thread>
#include <chrono>
#include <mutex>
... | 32.104396 | 177 | 0.690655 | [
"object",
"vector"
] |
3b098e29b3eb643584d0838fece86b87c301ee2d | 18,432 | cpp | C++ | src/tMSBE-v4.4/classDynamicInterpolation.cpp | sm321430/tMSBE-v4.0 | 8e4a36bb29379270deda6cc1bef7476d9018d9d1 | [
"Unlicense"
] | null | null | null | src/tMSBE-v4.4/classDynamicInterpolation.cpp | sm321430/tMSBE-v4.0 | 8e4a36bb29379270deda6cc1bef7476d9018d9d1 | [
"Unlicense"
] | null | null | null | src/tMSBE-v4.4/classDynamicInterpolation.cpp | sm321430/tMSBE-v4.0 | 8e4a36bb29379270deda6cc1bef7476d9018d9d1 | [
"Unlicense"
] | null | null | null | #ifndef __DYNAMICINTERPOLATION_CPP_INCLUDED__
#define __DYNAMICINTERPOLATION_CPP_INCLUDED__
#include <stdlib.h>
#include <iostream>
#include <math.h>
#include "fileIO.cpp"
//#define DYANMIC_INTERPOLATION_DIAGNOSTIC
using namespace std;
//! Interpolate data using adaptivly updated gridpoints
/*! Interpolate a fun... | 26.947368 | 212 | 0.551975 | [
"3d"
] |
3b1678074e0d56d10b58ec37ca70c58f004fad74 | 2,005 | cpp | C++ | buildVS2013/predict_labels/tools/prediction_example.cpp | jwyang/JULE-Caffe | 797292223e9e9021e31730c87b9abc86f08fce0c | [
"MIT"
] | 22 | 2016-11-14T18:43:50.000Z | 2020-03-05T05:51:19.000Z | buildVS2013/predict_labels/tools/prediction_example.cpp | jwyang/JULE-Caffe | 797292223e9e9021e31730c87b9abc86f08fce0c | [
"MIT"
] | 2 | 2017-04-20T03:05:41.000Z | 2019-08-25T14:07:33.000Z | buildVS2013/predict_labels/tools/prediction_example.cpp | jwyang/JULE-Caffe | 797292223e9e9021e31730c87b9abc86f08fce0c | [
"MIT"
] | 6 | 2016-11-22T19:37:45.000Z | 2020-02-18T13:52:22.000Z | #include <cstring>
#include <cstdlib>
#include <vector>
#include <string>
#include <iostream>
#include <stdio.h>
#include <assert.h>
#include "caffe/caffe.hpp"
#include "caffe/util/io.hpp"
#include "caffe/blob.hpp"
using namespace caffe;
using namespace std;
int main(int argc, char** argv)
{
LOG(INFO) << argv[0] ... | 25.0625 | 135 | 0.61197 | [
"vector"
] |
3b1d161941ba4283253d8c0f89d5f8cf62c0f4a7 | 2,592 | hpp | C++ | src/include/Navigator/NavigatorMode.hpp | grigorievich/Viy | c78cfb55e548ce40b9fe3756e4ce2a923b84a552 | [
"Apache-2.0"
] | 14 | 2017-09-08T09:20:37.000Z | 2020-09-20T10:56:22.000Z | src/include/Navigator/NavigatorMode.hpp | grigorievich/Viy | c78cfb55e548ce40b9fe3756e4ce2a923b84a552 | [
"Apache-2.0"
] | null | null | null | src/include/Navigator/NavigatorMode.hpp | grigorievich/Viy | c78cfb55e548ce40b9fe3756e4ce2a923b84a552 | [
"Apache-2.0"
] | 2 | 2018-02-14T16:52:33.000Z | 2018-06-20T22:16:02.000Z | #ifndef NAVIGATOR_MODE_HPP
#define NAVIGATOR_MODE_HPP
#include <SFML/Graphics/RenderTarget.hpp>
#include <SFML/Graphics/RenderTexture.hpp>
#include <SFML/Graphics/Font.hpp>
#include <SFML/Graphics/Sprite.hpp>
#include <SFML/System/Time.hpp>
#include <SFML/Window/Event.hpp>
#include <SFML/Graphics/Text.hpp>
... | 24 | 85 | 0.559799 | [
"render",
"vector"
] |
3b2b911a83daaf511523ff09c7cef229d368465a | 1,694 | cpp | C++ | BloomFramework/src/Graphics/SpriteText.cpp | LumpBloom7/BloomFramework | d714c014343be0fe29e119bcf827fe2b59a7ef4f | [
"MIT"
] | 2 | 2019-12-23T19:39:38.000Z | 2020-06-22T11:51:11.000Z | BloomFramework/src/Graphics/SpriteText.cpp | BloomCreativeWorks/BloomFramework | d714c014343be0fe29e119bcf827fe2b59a7ef4f | [
"MIT"
] | 27 | 2018-08-16T14:47:45.000Z | 2019-10-01T21:42:48.000Z | BloomFramework/src/Graphics/SpriteText.cpp | LumpBloom7/BloomFramework | d714c014343be0fe29e119bcf827fe2b59a7ef4f | [
"MIT"
] | 6 | 2018-08-12T07:59:37.000Z | 2019-12-23T19:39:40.000Z | #include "Exception.h"
#include "Graphics/SpriteText.h"
namespace bloom::graphics {
SpriteText::SpriteText(SDL_Renderer* targetRenderer, std::shared_ptr<Font> fontPtr, std::string_view text, TextStyle style) :
Drawable(targetRenderer),
m_fontPtr(std::move(fontPtr)),
m_text(text),
m_style(style)
{
refreshTe... | 30.25 | 126 | 0.739079 | [
"render"
] |
3b2e1eddf8587e9ebd22d688fd717ab92e543680 | 348 | hpp | C++ | SQL/ProductMysql.hpp | useryoung-2019/MyHttpServer | ce23c1bf161edba08a82d54de6693167a8917d18 | [
"MIT"
] | null | null | null | SQL/ProductMysql.hpp | useryoung-2019/MyHttpServer | ce23c1bf161edba08a82d54de6693167a8917d18 | [
"MIT"
] | null | null | null | SQL/ProductMysql.hpp | useryoung-2019/MyHttpServer | ce23c1bf161edba08a82d54de6693167a8917d18 | [
"MIT"
] | null | null | null | #ifndef PRODUCTMYSQL_H
#define PRODUCTMYSQL_H
#include"MysqlConnectPool.hpp"
#include"AbstractProductSQL.hpp"
class ProductMysql:public AbstractProductSQL
{
public:
bool selectFromSQL(string& name, pair<string, string>& ret);
bool selectFromSQL(string& str, vector<pair<string, string>>& ret);
bool IDUInto... | 23.2 | 71 | 0.764368 | [
"vector"
] |
3b377e7ab6df09855bec7526eb1c42e561882434 | 7,371 | cpp | C++ | src/Render/GHTextureDataFactoryASTC.cpp | GoldenHammerSoftware/GH | 757213f479c0fc80ed1a0f59972bf3e9d92b7526 | [
"MIT"
] | null | null | null | src/Render/GHTextureDataFactoryASTC.cpp | GoldenHammerSoftware/GH | 757213f479c0fc80ed1a0f59972bf3e9d92b7526 | [
"MIT"
] | null | null | null | src/Render/GHTextureDataFactoryASTC.cpp | GoldenHammerSoftware/GH | 757213f479c0fc80ed1a0f59972bf3e9d92b7526 | [
"MIT"
] | null | null | null | #include "GHTextureDataFactoryASTC.h"
#include <cstdint>
#include <assert.h>
#include "GHPlatform/GHDebugMessage.h"
#include "GHTextureFormat.h"
#include "GHTextureData.h"
#include "GHMath/GHPoint.h"
struct ASTCHeader
{
uint8_t magic[4];
uint8_t blockDim_x;
uint8_t blockDim_y;
uint8_t blockDim_z;
uint8_t xsi... | 32.328947 | 227 | 0.72324 | [
"3d"
] |
3b385f4540d5f2ae81bde14e3e5d177532266a51 | 7,504 | cpp | C++ | ugene/src/corelibs/U2View/src/ov_phyltree/TreeViewerTasks.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | ugene/src/corelibs/U2View/src/ov_phyltree/TreeViewerTasks.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | ugene/src/corelibs/U2View/src/ov_phyltree/TreeViewerTasks.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2012 UniPro <ugene@unipro.ru>
* http://ugene.unipro.ru
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version... | 35.563981 | 125 | 0.679638 | [
"object"
] |
3b392c9e1ead81cbfbe77649bd5836bd6275de68 | 4,636 | hpp | C++ | include/BGNet/Core/Messages/ChangeCipherSpecRequest.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/BGNet/Core/Messages/ChangeCipherSpecRequest.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/BGNet/Core/Messages/ChangeCipherSpecRequest.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: BGNet.Core.Messages.BaseReliableRes... | 53.287356 | 221 | 0.753236 | [
"object",
"vector"
] |
3b3e31871d31c23d2cb3d98f6df42625f3096bd8 | 30,567 | cpp | C++ | Source/Hacks/Misc.cpp | Nitsuj1337/Osiris | 35a81d3cdc1d97d68c9d91d3cd6d6788a6601a7e | [
"MIT"
] | null | null | null | Source/Hacks/Misc.cpp | Nitsuj1337/Osiris | 35a81d3cdc1d97d68c9d91d3cd6d6788a6601a7e | [
"MIT"
] | null | null | null | Source/Hacks/Misc.cpp | Nitsuj1337/Osiris | 35a81d3cdc1d97d68c9d91d3cd6d6788a6601a7e | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <iomanip>
#include <mutex>
#include <numbers>
#include <numeric>
#include <sstream>
#include <vector>
#include <imgui/imgui.h>
#define IMGUI_DEFINE_MATH_OPERATORS
#include <imgui/imgui_internal.h>
#include <imgui/imgui_stdlib.h>
#include "../ConfigStructs.h"
#include "..... | 31.350769 | 219 | 0.644617 | [
"object",
"vector"
] |
8dca62bda3e2d18cd0198cf7cde4c0c637fb691e | 964 | hpp | C++ | Source/WinSandbox/Physics/Collision/CollisionDetector.hpp | wradley/Freight | 91eda2ca0af64036202309f6adbf2d80c406e031 | [
"MIT"
] | null | null | null | Source/WinSandbox/Physics/Collision/CollisionDetector.hpp | wradley/Freight | 91eda2ca0af64036202309f6adbf2d80c406e031 | [
"MIT"
] | null | null | null | Source/WinSandbox/Physics/Collision/CollisionDetector.hpp | wradley/Freight | 91eda2ca0af64036202309f6adbf2d80c406e031 | [
"MIT"
] | null | null | null | #pragma once
#include <Freight/pch.hpp>
#include "Collider.hpp"
#include "Contact.hpp"
class CollisionDetector
{
public:
static void Detect(const Collider *a, const Collider *b, std::vector<Contact> &contacts);
static void SphereSomething(const SphereCollider *s, const Collider *c, std::vector<Contact> &contac... | 50.736842 | 111 | 0.75 | [
"vector"
] |
8dcb6ca22adcb6bb833975e4248ff0ba42a727ab | 593 | cpp | C++ | LeetCode/74.Search_a_2D_Matrix.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 9 | 2017-10-08T16:22:03.000Z | 2021-08-20T09:32:17.000Z | LeetCode/74.Search_a_2D_Matrix.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | null | null | null | LeetCode/74.Search_a_2D_Matrix.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 2 | 2018-01-15T16:35:44.000Z | 2019-03-21T18:30:04.000Z | // 二分搜
class Solution {
public:
bool searchMatrix(vector<vector<int>>& matrix, int target) {
if(matrix.empty() || matrix[0].empty()) return false;
int m = matrix.size(), n = matrix[0].size();
int l = 0, r = m * n - 1, x, y;
while(l < r) {
int mid = (l + r) >> 1;
... | 28.238095 | 64 | 0.44688 | [
"vector"
] |
8deec08c93559a5419b85ef8dfa54af380c24e17 | 4,482 | cc | C++ | WirelessMonitoringModule/gr-radar/lib/ofdm_divide_vcvc_impl.cc | Aekai/Wi-Mind | a02a2f4cd10fc362e6a17d3c67c2662c90b1a980 | [
"0BSD"
] | 1 | 2021-08-14T13:49:51.000Z | 2021-08-14T13:49:51.000Z | WirelessMonitoringModule/gr-radar/lib/ofdm_divide_vcvc_impl.cc | Aekai/Wi-Mind | a02a2f4cd10fc362e6a17d3c67c2662c90b1a980 | [
"0BSD"
] | null | null | null | WirelessMonitoringModule/gr-radar/lib/ofdm_divide_vcvc_impl.cc | Aekai/Wi-Mind | a02a2f4cd10fc362e6a17d3c67c2662c90b1a980 | [
"0BSD"
] | 1 | 2020-08-18T08:39:58.000Z | 2020-08-18T08:39:58.000Z | /* -*- c++ -*- */
/*
* Copyright 2014 Communications Engineering Lab, KIT.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* Thi... | 35.856 | 153 | 0.689647 | [
"vector"
] |
8df1455911565a866b167da58c265e35cdeabca0 | 1,460 | cc | C++ | solutions/kattis/beehives.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | 4 | 2020-11-07T14:38:02.000Z | 2022-01-03T19:02:36.000Z | solutions/kattis/beehives.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | 1 | 2019-04-17T06:55:14.000Z | 2019-04-17T06:55:14.000Z | solutions/kattis/beehives.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <bitset>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstring>
#include <deque>
#include <ext/pb_ds/assoc_container.hpp>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include ... | 21.791045 | 79 | 0.574658 | [
"vector"
] |
8df651bb8f3aecdf9f4ffe604dec514b28b418f4 | 4,890 | cc | C++ | tf_euler/kernels/get_node_type_op.cc | HuangLED/euler | a56b5fe3fe56123af062317ca0b4160ce3b3ace9 | [
"Apache-2.0"
] | 2,829 | 2019-01-12T09:16:03.000Z | 2022-03-29T14:00:58.000Z | tf_euler/kernels/get_node_type_op.cc | HuangLED/euler | a56b5fe3fe56123af062317ca0b4160ce3b3ace9 | [
"Apache-2.0"
] | 331 | 2019-01-17T21:07:49.000Z | 2022-03-30T06:38:17.000Z | tf_euler/kernels/get_node_type_op.cc | HuangLED/euler | a56b5fe3fe56123af062317ca0b4160ce3b3ace9 | [
"Apache-2.0"
] | 578 | 2019-01-16T10:48:53.000Z | 2022-03-21T13:41:34.000Z | /* Copyright 2020 Alibaba Group Holding Limited. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | 34.680851 | 80 | 0.656033 | [
"shape",
"vector"
] |
5c082408e8d28dc9d7f3221f49ff1f34a79c605b | 15,514 | cpp | C++ | src/fplll/fplll/svpcvp.cpp | Hyper5phere/sphere-decoder | f84cbcb47314547150639bbed017e8e540d32ced | [
"Unlicense"
] | null | null | null | src/fplll/fplll/svpcvp.cpp | Hyper5phere/sphere-decoder | f84cbcb47314547150639bbed017e8e540d32ced | [
"Unlicense"
] | null | null | null | src/fplll/fplll/svpcvp.cpp | Hyper5phere/sphere-decoder | f84cbcb47314547150639bbed017e8e540d32ced | [
"Unlicense"
] | null | null | null | /* Copyright (C) 2008-2011 Xavier Pujol.
(C) 2015 Michael Walter.
This file is part of fplll. fplll is free software: you
can redistribute it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software Foundation,
either version 2.1 of the License, or (at... | 33.363441 | 100 | 0.622406 | [
"vector"
] |
5c09f925c33092d782b28bec4a10efaffbc0f825 | 4,289 | hpp | C++ | src/core/pipelines.hpp | sunnyygou/CS184_Final_Project | e853d758da7aae2011a39034bb78795659baf116 | [
"MIT"
] | 1 | 2021-04-17T21:42:12.000Z | 2021-04-17T21:42:12.000Z | src/core/pipelines.hpp | sunnyygou/CS184_Final_Project | e853d758da7aae2011a39034bb78795659baf116 | [
"MIT"
] | null | null | null | src/core/pipelines.hpp | sunnyygou/CS184_Final_Project | e853d758da7aae2011a39034bb78795659baf116 | [
"MIT"
] | 1 | 2021-04-27T06:06:58.000Z | 2021-04-27T06:06:58.000Z | #pragma once
#include "berkeley_gfx.hpp"
#include <vulkan/vulkan.hpp>
namespace BG
{
static bool glslangInitialized = false;
class Pipeline
{
private:
vk::UniqueShaderModule AddShaders(std::string shaders, int shaderType);
vk::Device m_device;
Renderer& r;
vk::Viewport m_viewport;
... | 39.348624 | 171 | 0.731872 | [
"vector"
] |
5c0a8a581e3e590f611cf3c96d5466b687a32345 | 6,753 | cpp | C++ | FEBioSource2.9/FEBioMech/FEUncoupledElasticMixture.cpp | wzaylor/FEBio_MCLS | f1052733c31196544fb0921aa55ffa5167a25f98 | [
"Intel"
] | 1 | 2021-08-24T08:37:21.000Z | 2021-08-24T08:37:21.000Z | FEBioSource2.9/FEBioMech/FEUncoupledElasticMixture.cpp | wzaylor/FEBio_MCLS | f1052733c31196544fb0921aa55ffa5167a25f98 | [
"Intel"
] | null | null | null | FEBioSource2.9/FEBioMech/FEUncoupledElasticMixture.cpp | wzaylor/FEBio_MCLS | f1052733c31196544fb0921aa55ffa5167a25f98 | [
"Intel"
] | 1 | 2021-03-15T08:22:06.000Z | 2021-03-15T08:22:06.000Z | /*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2019 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining ... | 37.104396 | 99 | 0.647416 | [
"vector",
"solid"
] |
5c0debb4e27c88b0e8494b9d4353f732bb4eca8d | 3,120 | cpp | C++ | 1v1_client/response.cpp | fpeterek/1V1-game-client | 41a89a2bb14363ccc9162471ed058d314b7ec13d | [
"Apache-2.0"
] | null | null | null | 1v1_client/response.cpp | fpeterek/1V1-game-client | 41a89a2bb14363ccc9162471ed058d314b7ec13d | [
"Apache-2.0"
] | null | null | null | 1v1_client/response.cpp | fpeterek/1V1-game-client | 41a89a2bb14363ccc9162471ed058d314b7ec13d | [
"Apache-2.0"
] | null | null | null | //
// response.cpp
// 1v1_client
//
// Created by Filip Peterek on 27/12/2016.
// Copyright © 2016 Filip Peterek. All rights reserved.
//
#include "response.hpp"
std::array<std::string, 4> splitResponse(const std::string & response) {
std::array<std::string, 4> data;
size_t start = 0;
size_t... | 20.526316 | 95 | 0.553526 | [
"vector"
] |
5c18ffd2db9f870873d0040874d96a680758a1a1 | 1,701 | hxx | C++ | include/opengm/inference/cgc/generate_starting_point.hxx | jasjuang/opengm | 3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9 | [
"MIT"
] | 318 | 2015-01-07T15:22:02.000Z | 2022-01-22T10:10:29.000Z | include/opengm/inference/cgc/generate_starting_point.hxx | jasjuang/opengm | 3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9 | [
"MIT"
] | 89 | 2015-03-24T14:33:01.000Z | 2020-07-10T13:59:13.000Z | include/opengm/inference/cgc/generate_starting_point.hxx | jasjuang/opengm | 3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9 | [
"MIT"
] | 119 | 2015-01-13T08:35:03.000Z | 2022-03-01T01:49:08.000Z | #include <vector>
#include <opengm/opengm.hxx>
#include <opengm/datastructures/partition.hxx>
namespace opengm{
/**
* If approxSize > 0, first runs splitBFS to partition nodes into clusters.
*
* Then, merge neighboring nodes with lambda > threshold.
*
* The resulting partitioning of th... | 29.842105 | 132 | 0.633157 | [
"vector"
] |
5c1922894c0954441537c04474a30b04f67652f7 | 886 | cpp | C++ | torch/csrc/api/src/nn/options/linear.cpp | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 60,067 | 2017-01-18T17:21:31.000Z | 2022-03-31T21:37:45.000Z | torch/csrc/api/src/nn/options/linear.cpp | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 66,955 | 2017-01-18T17:21:38.000Z | 2022-03-31T23:56:11.000Z | torch/csrc/api/src/nn/options/linear.cpp | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 19,210 | 2017-01-18T17:45:04.000Z | 2022-03-31T23:51:56.000Z | #include <torch/nn/options/linear.h>
namespace torch {
namespace nn {
LinearOptions::LinearOptions(int64_t in_features, int64_t out_features)
: in_features_(in_features), out_features_(out_features) {}
BilinearOptions::BilinearOptions(int64_t in1_features, int64_t in2_features, int64_t out_features)
: in1_feature... | 38.521739 | 98 | 0.77991 | [
"vector"
] |
5c1c710044c2b3eae56cbe65ec36fd82e2d35646 | 1,504 | cpp | C++ | src/gprmc.cpp | kuzen/xw_gps_driver | 009e5242b720d3befbcdf2a1dab7986a8a5b5fd3 | [
"MIT"
] | 7 | 2021-09-17T00:35:58.000Z | 2022-03-21T05:45:27.000Z | src/gprmc.cpp | kuzen/xw_gps_driver | 009e5242b720d3befbcdf2a1dab7986a8a5b5fd3 | [
"MIT"
] | null | null | null | src/gprmc.cpp | kuzen/xw_gps_driver | 009e5242b720d3befbcdf2a1dab7986a8a5b5fd3 | [
"MIT"
] | 3 | 2021-10-03T04:28:01.000Z | 2022-02-19T13:29:30.000Z | #include "gps_driver/gprmc.h"
#include <time.h>
#include <string>
namespace nmea{
bool Gprmc::decode(const std::vector<std::string>& raw_msg, GprmcData_t& data){
char sign;
char ddd, mm;
double dddmm;
auto toInt = [](std::string s) -> int { return (s.c_str()[0] - '0') * 10 + (s.c_str()[1] - '0'); };
data.s... | 28.377358 | 101 | 0.614362 | [
"vector"
] |
5c1d8f757c96afb948fa7edc4804ec82a4afdc73 | 14,011 | cpp | C++ | lib/caffe-action/src/caffe/layers/video_data_layer.cpp | xiaoye77/Optical-Flow-Guided-Feature | db153fc4c139201d3f73b7ca8be6c80210906ec6 | [
"MIT"
] | 196 | 2018-07-07T14:22:37.000Z | 2022-03-19T06:21:11.000Z | lib/caffe-action/src/caffe/layers/video_data_layer.cpp | xiaoye77/Optical-Flow-Guided-Feature | db153fc4c139201d3f73b7ca8be6c80210906ec6 | [
"MIT"
] | 2 | 2018-07-09T09:19:09.000Z | 2018-07-17T15:08:49.000Z | lib/caffe-action/src/caffe/layers/video_data_layer.cpp | ParrtZhang/Optical-Flow-Guided-Feature | 07d4501a29002ee7821c38c1820e4a64c1acf6e8 | [
"MIT"
] | 48 | 2018-07-10T02:11:20.000Z | 2022-02-04T14:26:30.000Z | #include <fstream>
#include <iostream>
#include <string>
#include <utility>
#include <vector>
#include "caffe/data_layers.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/util/io.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/util/rng.hpp"
#ifdef USE_MPI
#include "mpi.... | 43.243827 | 135 | 0.690315 | [
"vector",
"transform"
] |
5c211bfce6113509fe599c5ae4bccfb742c41a23 | 874 | cpp | C++ | c++/stl/vector/matric.cpp | anhsirksai/coding | 4bd49771c0ac7f7bf2d26fecea606955f12e535e | [
"MIT"
] | null | null | null | c++/stl/vector/matric.cpp | anhsirksai/coding | 4bd49771c0ac7f7bf2d26fecea606955f12e535e | [
"MIT"
] | null | null | null | c++/stl/vector/matric.cpp | anhsirksai/coding | 4bd49771c0ac7f7bf2d26fecea606955f12e535e | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#include <iostream>
#include <vector>
using namespace std;
int main()
{
// An empty vector of vectors. The space
// between the 2 '>' signs is necessary
vector<vector<int> > v2d;
// If you intend creating many vectors
// of vectors, the following's tidier
typedef vector<ve... | 23 | 46 | 0.590389 | [
"vector"
] |
5c22f636a677d660719f02c500a9b56c0e696c5e | 13,432 | cpp | C++ | opencv-cpp/cameracalibration/src/CameraCalibration.cpp | sgjava/install-opencv | 5a8fb14e93925c326563c2ccdd582f9dc503523e | [
"Unlicense"
] | 72 | 2015-01-30T14:56:34.000Z | 2021-04-07T12:24:16.000Z | opencv-cpp/cameracalibration/src/CameraCalibration.cpp | sgjava/install-opencv | 5a8fb14e93925c326563c2ccdd582f9dc503523e | [
"Unlicense"
] | 9 | 2015-03-19T13:57:08.000Z | 2021-03-24T12:22:02.000Z | opencv-cpp/cameracalibration/src/CameraCalibration.cpp | sgjava/install-opencv | 5a8fb14e93925c326563c2ccdd582f9dc503523e | [
"Unlicense"
] | 22 | 2015-03-25T06:11:17.000Z | 2021-07-27T11:56:34.000Z | /*
* Copyright (c) Steven P. Goldsmith. All rights reserved.
*
* Created by Steven P. Goldsmith on November 6, 2015
* sgjava@gmail.com
*/
#include <glob.h>
#include <iostream>
#include <sys/time.h>
#include <sstream>
#include <vector>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
/**
*... | 38.487106 | 101 | 0.735036 | [
"geometry",
"object",
"vector",
"3d"
] |
5c28dfa8cda4d37de0d947741635a6dfc6bfef80 | 16,002 | cpp | C++ | LPG-language-server/src/message/DocumentSymbolHandler.cpp | kuafuwang/LPG-language-server | 0baf01b4b7752991b6ba45687929c241dab52537 | [
"MIT"
] | 2 | 2021-07-07T14:00:02.000Z | 2021-08-05T23:14:33.000Z | LPG-language-server/src/message/DocumentSymbolHandler.cpp | kuafuwang/LPG-language-server | 0baf01b4b7752991b6ba45687929c241dab52537 | [
"MIT"
] | null | null | null | LPG-language-server/src/message/DocumentSymbolHandler.cpp | kuafuwang/LPG-language-server | 0baf01b4b7752991b6ba45687929c241dab52537 | [
"MIT"
] | null | null | null | #include "MessageHandler.h"
#include "../CompilationUnit.h"
#include "../parser/LPGParser.h"
#include "../parser/LPGParser_top_level_ast.h"
#include "../ASTUtils.h"
#include <stack>
#include "LPGSourcePositionLocator.h"
#include "../WorkSpaceManager.h"
#include "../parser/JikesPGOptions.h"
using namespace LPGParser_top... | 26.80402 | 120 | 0.534683 | [
"vector"
] |
5c3f7c54370c199ecfe0ecb7e0eedb9814595d90 | 5,279 | hpp | C++ | include/te/basic.hpp | a1exwang/te | 49732e489e84d93b26ecfd93476267c9e46bc965 | [
"MIT"
] | null | null | null | include/te/basic.hpp | a1exwang/te | 49732e489e84d93b26ecfd93476267c9e46bc965 | [
"MIT"
] | null | null | null | include/te/basic.hpp | a1exwang/te | 49732e489e84d93b26ecfd93476267c9e46bc965 | [
"MIT"
] | null | null | null | #pragma once
#include <cinttypes>
#include <bitset>
#include <vector>
namespace te {
constexpr uint8_t ESC = 0x1bu;
static const char *CSI = "\x1b[";
#pragma pack(push, 1)
union Color {
uint32_t u32;
struct {
uint8_t b;
uint8_t g;
uint8_t r;
uint8_t a;
};
};
#pragma pack(pop)
constexpr Color Co... | 40.607692 | 111 | 0.776283 | [
"vector"
] |
5c41f8e239cf035478858688a9fd7e4b6d5bbecc | 15,958 | cpp | C++ | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zimage_tmpl.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zimage_tmpl.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2016-12-03T05:33:13.000Z | 2016-12-03T05:33:13.000Z | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zimage_tmpl.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | #include <QtConcurrentRun>
template<class T> void ZImage::setBinaryData(const T *data, T bg,
int threshold)
{
if (threshold < 0) {
int i, j;
for (j = 0; j < height(); j++) {
uchar *line = scanLine(j);
for (i = 0; i < width(); i++) {
uint8 value... | 28.496429 | 116 | 0.407695 | [
"vector"
] |
5c459521e0b66ad2c81b2071e1aa932a73b2b952 | 1,083 | cpp | C++ | Atcoder/90Problems/003.cpp | biyotte/Code_of_gunwookim | b8b679ea56b8684ec44a7911211edee1fb558a96 | [
"MIT"
] | 4 | 2021-01-27T11:51:30.000Z | 2021-01-30T17:02:55.000Z | Atcoder/90Problems/003.cpp | biyotte/Code_of_gunwookim | b8b679ea56b8684ec44a7911211edee1fb558a96 | [
"MIT"
] | null | null | null | Atcoder/90Problems/003.cpp | biyotte/Code_of_gunwookim | b8b679ea56b8684ec44a7911211edee1fb558a96 | [
"MIT"
] | 5 | 2021-01-27T11:46:12.000Z | 2021-05-06T05:37:47.000Z | #include <bits/stdc++.h>
#define x first
#define y second
#define pb push_back
#define all(v) v.begin(),v.end()
#pragma gcc optimize("O3")
#pragma gcc optimize("Ofast")
#pragma gcc optimize("unroll-loops")
using namespace std;
const int INF = 1e9;
const int TMX = 1 << 18;
const long long llINF = 1e18+10;
const long lo... | 19.690909 | 46 | 0.597415 | [
"vector"
] |
5c523d60edb075a293ccb0c6e787fe320883bbaa | 776 | cpp | C++ | leetcode/l0416.cpp | Victrid/Atlas | da25d50424790e571f29b66fc815245c1093798c | [
"MIT"
] | 1 | 2020-01-19T16:00:07.000Z | 2020-01-19T16:00:07.000Z | leetcode/l0416.cpp | Victrid/Atlas | da25d50424790e571f29b66fc815245c1093798c | [
"MIT"
] | null | null | null | leetcode/l0416.cpp | Victrid/Atlas | da25d50424790e571f29b66fc815245c1093798c | [
"MIT"
] | null | null | null | #include "lc.hpp"
//fast and neat
class Solution {
public:
bool canPartition(vector<int>& nums) {
auto it = nums.begin();
int sum = 0;
for (; it < nums.end(); it++)
sum += *it;
if (sum & 1)
return false;
//建立一个一维bool数组
bool* boolarray = new boo... | 26.758621 | 56 | 0.429124 | [
"vector"
] |
5c56d2c17ddc4c5c9efa8b438dacdcd0a1b3a6f7 | 21,181 | cpp | C++ | src/env.cpp | GerHobbelt/lmdb-store | 3d2ec6adb43e478faad708a27a3354a69669046d | [
"MIT"
] | null | null | null | src/env.cpp | GerHobbelt/lmdb-store | 3d2ec6adb43e478faad708a27a3354a69669046d | [
"MIT"
] | null | null | null | src/env.cpp | GerHobbelt/lmdb-store | 3d2ec6adb43e478faad708a27a3354a69669046d | [
"MIT"
] | null | null | null | #include "lmdb-js.h"
using namespace Napi;
#define IGNORE_NOTFOUND (1)
env_tracking_t* EnvWrap::envTracking = EnvWrap::initTracking();
env_tracking_t* EnvWrap::initTracking() {
env_tracking_t* tracking = new env_tracking_t;
tracking->envsLock = new pthread_mutex_t;
pthread_mutex_init(tracking->envsLock, nullptr);... | 30.608382 | 198 | 0.703083 | [
"object"
] |
5c588ee1d45a2fde54fd87e69cbff2f103a6ea79 | 28,480 | cpp | C++ | geoAutorift/geogrid/src/geogrid.cpp | NieYi/autoRIFT | d442f4e5c96c4f480106c934c3afdebd607c6cb5 | [
"Apache-2.0"
] | 1 | 2020-04-26T14:36:22.000Z | 2020-04-26T14:36:22.000Z | geoAutorift/geogrid/src/geogrid.cpp | NieYi/autoRIFT | d442f4e5c96c4f480106c934c3afdebd607c6cb5 | [
"Apache-2.0"
] | null | null | null | geoAutorift/geogrid/src/geogrid.cpp | NieYi/autoRIFT | d442f4e5c96c4f480106c934c3afdebd607c6cb5 | [
"Apache-2.0"
] | null | null | null | /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Copyright 2019 California Institute of Technology. ALL RIGHTS RESERVED.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | 36.559692 | 263 | 0.478827 | [
"geometry",
"vector",
"transform"
] |
5c5b21c85cda4cae62c22e7facaa5509e6f922ad | 17,113 | cc | C++ | elec/ReactionManager.cc | DavidPoliakoff/cardioid | b1699c618966b304848f41e027dfc5c013b7a42b | [
"MIT-0",
"MIT"
] | null | null | null | elec/ReactionManager.cc | DavidPoliakoff/cardioid | b1699c618966b304848f41e027dfc5c013b7a42b | [
"MIT-0",
"MIT"
] | null | null | null | elec/ReactionManager.cc | DavidPoliakoff/cardioid | b1699c618966b304848f41e027dfc5c013b7a42b | [
"MIT-0",
"MIT"
] | null | null | null |
#include <set>
#include <algorithm>
#include "ReactionManager.hh"
#include "Reaction.hh"
#include "object_cc.hh"
#include "units.h"
#include "reactionFactory.hh"
#include "slow_fix.hh"
using namespace std;
///pass through routines.
void ReactionManager::calc(double dt,
ro_mgarray_ptr<doub... | 34.363454 | 142 | 0.629229 | [
"object",
"vector",
"model"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.