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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b6e85a589eb29cbcf2186b8f43bc18e1b3056ecf | 1,012 | cpp | C++ | infoarena/progr/main.cpp | rstancioiu/uva-online-judge | 31c536d764462d389b48b4299b9731534824c9f5 | [
"MIT"
] | 1 | 2017-01-25T18:07:49.000Z | 2017-01-25T18:07:49.000Z | infoarena/progr/main.cpp | rstancioiu/uva-online-judge | 31c536d764462d389b48b4299b9731534824c9f5 | [
"MIT"
] | null | null | null | infoarena/progr/main.cpp | rstancioiu/uva-online-judge | 31c536d764462d389b48b4299b9731534824c9f5 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define N 2001
#define MOD 123567
using namespace std;
int t,n,a;
int tab[N];
vector<int> v[MOD];
void add(int val)
{
int k=val%MOD;
v[k].push_back(val);
}
int search(int val)
{
int k=val%MOD;
for(unsigned int i=0;i<v[k].size();++i)
if(v[k][i]==val)
return... | 16.590164 | 43 | 0.421937 | [
"vector"
] |
b6ea00a994742c55a52e03dfcd5c2d06e5d61a42 | 623 | cpp | C++ | leetcode/2020/december/practice/1089-DuplicateZeros.cpp | pol-alok/Solvify | c0f3913420a4a3a3faa34848038a3cc942628b08 | [
"MIT"
] | null | null | null | leetcode/2020/december/practice/1089-DuplicateZeros.cpp | pol-alok/Solvify | c0f3913420a4a3a3faa34848038a3cc942628b08 | [
"MIT"
] | null | null | null | leetcode/2020/december/practice/1089-DuplicateZeros.cpp | pol-alok/Solvify | c0f3913420a4a3a3faa34848038a3cc942628b08 | [
"MIT"
] | 2 | 2021-02-23T06:54:22.000Z | 2021-02-28T15:37:23.000Z | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
void duplicateZeros(vector<int>& arr) {
vector<int> ans;
int count=0;
for(int num : arr) {
if(num==0) {
ans.push_back(0);
count++;
}
ans.pus... | 18.878788 | 43 | 0.467095 | [
"vector"
] |
b6eac0377c6fe81b2f01df49016681c4f931f4ea | 1,081 | cpp | C++ | engine/core/3D/New3D/CollisionHandler.cpp | TremaineDM/Engines | 88dacaddc633ad341b9a2559a9a80b9dd01b09de | [
"MIT"
] | 1 | 2020-10-16T06:39:35.000Z | 2020-10-16T06:39:35.000Z | engine/core/3D/New3D/CollisionHandler.cpp | TremaineDM/Engines | 88dacaddc633ad341b9a2559a9a80b9dd01b09de | [
"MIT"
] | null | null | null | engine/core/3D/New3D/CollisionHandler.cpp | TremaineDM/Engines | 88dacaddc633ad341b9a2559a9a80b9dd01b09de | [
"MIT"
] | 2 | 2021-02-10T21:28:59.000Z | 2021-04-19T07:34:43.000Z | #include "CollisionHandler.h"
#include "../Core/CoreEngine.h"
#include "core/Globals.h"
std::unique_ptr<CollisionHandler> CollisionHandler::collisionInstance = nullptr;
std::vector<MeshRenderer*> CollisionHandler::prevCollisions = std::vector<MeshRenderer*>();
OctSpatialPartition* CollisionHandler::scenePartition = nu... | 24.022222 | 91 | 0.763182 | [
"vector"
] |
b6f0fd28a9f3fe9f8c2958debd05a9afc5859886 | 16,447 | hpp | C++ | example/graphical_model.hpp | vlanore/tinycompo | c7acf325c84b68ec91eaf937ad49f17281e84079 | [
"CECILL-B"
] | null | null | null | example/graphical_model.hpp | vlanore/tinycompo | c7acf325c84b68ec91eaf937ad49f17281e84079 | [
"CECILL-B"
] | null | null | null | example/graphical_model.hpp | vlanore/tinycompo | c7acf325c84b68ec91eaf937ad49f17281e84079 | [
"CECILL-B"
] | null | null | null | /* Copyright or © or Copr. Centre National de la Recherche Scientifique (CNRS) (2017/05/03)
Contributors:
- Vincent Lanore <vincent.lanore@gmail.com>
This software is a computer program whose purpose is to provide the necessary classes to write ligntweight component-based
c++ applications.
This software is governed b... | 32.95992 | 125 | 0.570986 | [
"object",
"vector",
"model",
"transform"
] |
b6f1516a97331b1ce71d3fa05f250e28af9398b8 | 435 | hpp | C++ | include/geometry/projection.hpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 7 | 2018-04-14T14:55:51.000Z | 2022-01-31T10:49:49.000Z | include/geometry/projection.hpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 5 | 2018-04-14T14:28:49.000Z | 2019-05-11T02:22:10.000Z | include/geometry/projection.hpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | null | null | null | #pragma once
#include "geometry/line.hpp"
Point projection(const Point &a, const Point &b) { return a * (b / a).x; }
Point projection(const Line &line, const Point &point) {
return line.a + projection(line.vec(), point - line.a);
}
Point reflection(const Point &a, const Point &b) { return a * (b / a).conj(); }
Po... | 29 | 79 | 0.668966 | [
"geometry"
] |
b6f1a4cccf2999806ef1d802746b39b48bfa48ed | 6,489 | cxx | C++ | LocalLabelingCorrection/LocalLabelingCorrection.cxx | CSIM-Toolkits/BabyBrain | ff9648e7f3be348bb736adfd32e3c08e7de076d8 | [
"Apache-2.0"
] | 1 | 2019-04-25T13:41:13.000Z | 2019-04-25T13:41:13.000Z | LocalLabelingCorrection/LocalLabelingCorrection.cxx | CSIM-Toolkits/BabyBrain | ff9648e7f3be348bb736adfd32e3c08e7de076d8 | [
"Apache-2.0"
] | 6 | 2018-01-09T19:20:19.000Z | 2018-03-06T18:32:28.000Z | LocalLabelingCorrection/LocalLabelingCorrection.cxx | CSIM-Toolkits/BabyBrain | ff9648e7f3be348bb736adfd32e3c08e7de076d8 | [
"Apache-2.0"
] | null | null | null | #include "itkImageFileWriter.h"
#include "itkBinaryThresholdImageFilter.h"
#include "itkBinaryContourImageFilter.h"
#include "itkImageRegionIterator.h"
#include "itkNeighborhoodIterator.h"
#include "itkConstantBoundaryCondition.h"
#include "itkSmoothingRecursiveGaussianImageFilter.h"
#include "itkPluginUtilities.h"
... | 35.653846 | 130 | 0.642164 | [
"object"
] |
8e0039ca52b61b2dfbfd8f370139a423176d054a | 1,114 | cpp | C++ | solutions/79.cpp | tdakhran/leetcode | ed680059661faae32857eaa791ca29c1d9c16120 | [
"MIT"
] | null | null | null | solutions/79.cpp | tdakhran/leetcode | ed680059661faae32857eaa791ca29c1d9c16120 | [
"MIT"
] | null | null | null | solutions/79.cpp | tdakhran/leetcode | ed680059661faae32857eaa791ca29c1d9c16120 | [
"MIT"
] | null | null | null | #include <array>
#include <functional>
#include <utility>
#include <vector>
class Solution {
static inline constexpr std::array<std::pair<size_t, size_t>, 4> directions{
{{0, 1}, {0, -1}, {1, 0}, {-1, 0}}};
public:
bool exist(std::vector<std::vector<char>>& board, std::string word) {
std::function<bool... | 24.755556 | 78 | 0.508079 | [
"vector"
] |
8e02e656484566857e18245b4569175d1e502fc4 | 666 | hpp | C++ | 508 - A4-spbspu-labs-2020-904-3/1/common/shape.hpp | NekoSilverFox/CPP | c6797264fceda4a65ac3452acca496e468d1365a | [
"Apache-2.0"
] | 5 | 2020-02-08T20:57:21.000Z | 2021-12-23T06:24:41.000Z | 508 - A4-spbspu-labs-2020-904-3/1/common/shape.hpp | NekoSilverFox/CPP | c6797264fceda4a65ac3452acca496e468d1365a | [
"Apache-2.0"
] | 2 | 2020-03-02T14:44:55.000Z | 2020-11-11T16:25:33.000Z | 508 - A4-spbspu-labs-2020-904-3/1/common/shape.hpp | NekoSilverFox/CPP | c6797264fceda4a65ac3452acca496e468d1365a | [
"Apache-2.0"
] | 4 | 2020-09-27T17:30:03.000Z | 2022-02-16T09:48:23.000Z | #ifndef SAMOKHIN_IGOR_SHAPE_HPP
#define SAMOKHIN_IGOR_SHAPE_HPP
#include <memory>
namespace samokhin
{
struct rectangle_t;
struct point_t;
class Shape
{
public:
using SharedShapeArray = std::shared_ptr<Shape>[];
using SharedShape = std::shared_ptr<Shape>;
virtual ~Shape() = default;
virtu... | 18.5 | 54 | 0.689189 | [
"shape"
] |
8e02fb69ef7216ab728e3ddc29d37a6cb97def59 | 2,470 | cpp | C++ | simulation/halsim_gui/src/main/native/cpp/AnalogOutputSimGui.cpp | gcjurgiel/allwpilib | 99f3a64dff0eba07be9b2e6c53753aafa0c852d8 | [
"BSD-3-Clause"
] | 707 | 2016-05-11T16:54:13.000Z | 2022-03-30T13:03:15.000Z | simulation/halsim_gui/src/main/native/cpp/AnalogOutputSimGui.cpp | gcjurgiel/allwpilib | 99f3a64dff0eba07be9b2e6c53753aafa0c852d8 | [
"BSD-3-Clause"
] | 2,308 | 2016-05-12T00:17:17.000Z | 2022-03-30T20:08:10.000Z | simulation/halsim_gui/src/main/native/cpp/AnalogOutputSimGui.cpp | gcjurgiel/allwpilib | 99f3a64dff0eba07be9b2e6c53753aafa0c852d8 | [
"BSD-3-Clause"
] | 539 | 2016-05-11T20:33:26.000Z | 2022-03-28T20:20:25.000Z | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "AnalogOutputSimGui.h"
#include <glass/hardware/AnalogOutput.h>
#include <glass/other/DeviceTree.h>
#include ... | 26.276596 | 79 | 0.704049 | [
"vector",
"model"
] |
8e0eeccb9a2993da2dc9c339d1b0ecd80da769d6 | 9,952 | cc | C++ | euler/core/graph/edge.cc | HuangLED/euler | a56b5fe3fe56123af062317ca0b4160ce3b3ace9 | [
"Apache-2.0"
] | 2,829 | 2019-01-12T09:16:03.000Z | 2022-03-29T14:00:58.000Z | euler/core/graph/edge.cc | HuangLED/euler | a56b5fe3fe56123af062317ca0b4160ce3b3ace9 | [
"Apache-2.0"
] | 331 | 2019-01-17T21:07:49.000Z | 2022-03-30T06:38:17.000Z | euler/core/graph/edge.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... | 37.273408 | 80 | 0.546624 | [
"vector"
] |
8e1a45ba9cc09f940b7985690949611ba9455a54 | 3,446 | cpp | C++ | pgprogram.cpp | gusmccallum/potato-generator | 4985b431c2e8f4ea2069c22eaef75da51ee8eccc | [
"MIT"
] | null | null | null | pgprogram.cpp | gusmccallum/potato-generator | 4985b431c2e8f4ea2069c22eaef75da51ee8eccc | [
"MIT"
] | null | null | null | pgprogram.cpp | gusmccallum/potato-generator | 4985b431c2e8f4ea2069c22eaef75da51ee8eccc | [
"MIT"
] | null | null | null | /*
* This program is A Static Site Generator (SSG) Tool coded in C++ language.
* Author: Chi Kien Nguyen
* Git Hub: https://github.com/kiennguyenchi/potato-generator
*/
/* This is the file containing main function to run the program */
#include <iostream>
#include <string>
#include <vector>
#include <filesystem>
#inc... | 32.819048 | 125 | 0.576901 | [
"vector"
] |
8e1c8be0e992a77a11d9fd8b64f54e55124d14db | 1,258 | inl | C++ | TAO/tao/Object_Ref_Table.inl | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/tao/Object_Ref_Table.inl | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/tao/Object_Ref_Table.inl | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // -*- C++ -*-
//
// $Id: Object_Ref_Table.inl 83527 2008-11-03 11:25:24Z johnnyw $
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
TAO_Object_Ref_Table::TAO_Object_Ref_Table (void)
: table_ (TAO_DEFAULT_OBJECT_REF_TABLE_SIZE)
, lock_ ()
{
}
ACE_INLINE CORBA::Object_ptr
TAO_Object_Ref_Table::find_i (const char *id... | 19.65625 | 73 | 0.706677 | [
"object"
] |
8e1e8bfce3bfdf8bfefaeddf2d10d84692948484 | 799 | cpp | C++ | regression/esbmc-cpp/algorithm/algorithm5/main.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 143 | 2015-06-22T12:30:01.000Z | 2022-03-21T08:41:17.000Z | regression/esbmc-cpp/algorithm/algorithm5/main.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 542 | 2017-06-02T13:46:26.000Z | 2022-03-31T16:35:17.000Z | regression/esbmc-cpp/algorithm/algorithm5/main.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 81 | 2015-10-21T22:21:59.000Z | 2022-03-24T14:07:55.000Z | // find_first_of example
#include <iostream>
#include <algorithm>
#include <cctype>
#include <vector>
using namespace std;
bool comp_case_insensitive (char c1, char c2) {
return (tolower(c1)==tolower(c2));
}
int main () {
int mychars[] = {'a','b','c','A','B','C'};
vector<char> myvector (mychars,mychars+6);
ve... | 23.5 | 72 | 0.613267 | [
"vector"
] |
8e23dd446df04304923a8832da90d3ad55d5ae8a | 1,042 | cpp | C++ | cpp/easy/min_stack_2.cpp | adamlm/leetcode-solutions | 1461058ea26a6a1debaec978e86b1b25f6cba9ea | [
"MIT"
] | null | null | null | cpp/easy/min_stack_2.cpp | adamlm/leetcode-solutions | 1461058ea26a6a1debaec978e86b1b25f6cba9ea | [
"MIT"
] | null | null | null | cpp/easy/min_stack_2.cpp | adamlm/leetcode-solutions | 1461058ea26a6a1debaec978e86b1b25f6cba9ea | [
"MIT"
] | null | null | null | class MinStack {
private:
class Node {
public:
int val;
int min;
Node *next;
Node(int val, int min) {this->val = val; this->min = min, this->next = nullptr;};
};
Node *head;
public:
/** initialize your data structure here. */
MinStack() {
this->head = null... | 20.84 | 89 | 0.481766 | [
"object"
] |
8e25f30c1743e64ee0a00abc30a33361c3b9d1b8 | 4,335 | cpp | C++ | VoxelEngine/Classes/SimplexNoise.cpp | bsy6766/VoxelEngine | d822d8bcc3bf5609bdce2fdc2ef5154994bc23f1 | [
"FTL",
"BSL-1.0",
"Zlib"
] | null | null | null | VoxelEngine/Classes/SimplexNoise.cpp | bsy6766/VoxelEngine | d822d8bcc3bf5609bdce2fdc2ef5154994bc23f1 | [
"FTL",
"BSL-1.0",
"Zlib"
] | null | null | null | VoxelEngine/Classes/SimplexNoise.cpp | bsy6766/VoxelEngine | d822d8bcc3bf5609bdce2fdc2ef5154994bc23f1 | [
"FTL",
"BSL-1.0",
"Zlib"
] | null | null | null | // pch
#include "PreCompiled.h"
#include "SimplexNoise.h"
using namespace Voxel;
using namespace Voxel::Noise;
std::unique_ptr<SimplexNoise> Manager::worldNoise = nullptr;
std::unique_ptr<SimplexNoise> Manager::temperatureNoise = nullptr;
std::unique_ptr<SimplexNoise> Manager::moistureNoise = nullptr;
std::unique_pt... | 25.203488 | 86 | 0.631834 | [
"shape"
] |
8e2999dc3919fce259649861bef357a625411af8 | 1,852 | cpp | C++ | some-math-notes/std/square/square.cpp | yuchong-pan/my-oi-lectures | 721ff870b5cc388ef81961bf1a96361a74e2d896 | [
"MIT"
] | 3 | 2019-07-30T10:43:58.000Z | 2019-07-30T10:46:05.000Z | some-math-notes/std/square/square.cpp | yuchong-pan/my-oi-lectures | 721ff870b5cc388ef81961bf1a96361a74e2d896 | [
"MIT"
] | null | null | null | some-math-notes/std/square/square.cpp | yuchong-pan/my-oi-lectures | 721ff870b5cc388ef81961bf1a96361a74e2d896 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <bitset>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
const int MAXN = 500 + 5, MOD = (int) 1e9 + 7;
typedef bitset<MAXN> matrix[MAXN];
bool flag[MAXN];
int pow2[MAXN];
matrix A;
vector<int> pr;
int gauss(matrix A, int m, int n) {
int i = 0, j = 0;
... | 22.313253 | 54 | 0.339633 | [
"vector"
] |
8e2e044a4393c2ae471d9fdeb9aa7f08150a2fd4 | 1,646 | cpp | C++ | GLLights/GLLightSystem.cpp | chen0040/cpp-steering-behaviors | c73d2ae8037556d42440b54ba6eb6190e467fae9 | [
"MIT"
] | 2 | 2020-11-10T12:24:41.000Z | 2021-09-25T08:24:06.000Z | GLLights/GLLightSystem.cpp | chen0040/cpp-steering-behaviors | c73d2ae8037556d42440b54ba6eb6190e467fae9 | [
"MIT"
] | null | null | null | GLLights/GLLightSystem.cpp | chen0040/cpp-steering-behaviors | c73d2ae8037556d42440b54ba6eb6190e467fae9 | [
"MIT"
] | 1 | 2021-08-14T16:34:33.000Z | 2021-08-14T16:34:33.000Z | #include "GLLightSystem.h"
GLLightSystem::GLLightSystem()
{
}
GLLightSystem::~GLLightSystem()
{
ClearLights();
}
void GLLightSystem::SetLight(GLint id, GLLight* pLight)
{
std::map<GLint, GLLight*>::iterator light_pos=m_lights.find(id);
if(light_pos==m_lights.end())
{
m_lights[id]=pLight;
}
else
{
if(lig... | 14.438596 | 65 | 0.623329 | [
"render"
] |
8e30cb63ee2a60aae8e4544d0f951b0f1c4c666b | 4,415 | cpp | C++ | QueuePP/tests/DataBaseProcessor_Test/DataBaseProcessor_Test.cpp | AntonPoturaev/QueuePP | 25ea571abdd62ab6409da6dbad5bfcd20898ffb1 | [
"Unlicense"
] | null | null | null | QueuePP/tests/DataBaseProcessor_Test/DataBaseProcessor_Test.cpp | AntonPoturaev/QueuePP | 25ea571abdd62ab6409da6dbad5bfcd20898ffb1 | [
"Unlicense"
] | null | null | null | QueuePP/tests/DataBaseProcessor_Test/DataBaseProcessor_Test.cpp | AntonPoturaev/QueuePP | 25ea571abdd62ab6409da6dbad5bfcd20898ffb1 | [
"Unlicense"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
///
/// Project MIB3 Radio2/Connectivity
/// Copyright (c) 2017
/// Company Luxoft
/// All rights reserved
///
////////////////////////////////////////////////////////////////////////////////
//... | 32.226277 | 108 | 0.64598 | [
"vector"
] |
8e3b0d51b02ea0ce20b36df203d1d6e0c730a226 | 2,883 | h++ | C++ | libAmbrosia/Ambrosia/typedefs.h++ | rubenvb/Ambrosia | 479604d2f7c6c80c8313b27f31d8d4f0c57f89f3 | [
"CC0-1.0"
] | 2 | 2017-02-02T11:05:15.000Z | 2019-11-07T06:00:54.000Z | libAmbrosia/Ambrosia/typedefs.h++ | rubenvb/Ambrosia | 479604d2f7c6c80c8313b27f31d8d4f0c57f89f3 | [
"CC0-1.0"
] | null | null | null | libAmbrosia/Ambrosia/typedefs.h++ | rubenvb/Ambrosia | 479604d2f7c6c80c8313b27f31d8d4f0c57f89f3 | [
"CC0-1.0"
] | null | null | null | /**
*
* Project Ambrosia: Ambrosia library
*
* Written in 2012 by Ruben Van Boxem <vanboxem.ruben@gmail.com>
*
* To the extent possible under law, the author(s) have dedicated all copyright and related
* and neighboring rights to this software to the public domain worldwide. This software is
* distributed witho... | 27.990291 | 109 | 0.764828 | [
"vector"
] |
8e43b231743b0afa1da67a924930aa909b3cc8d9 | 14,246 | cpp | C++ | src/segmentation.cpp | Kukanani/orp | ff8eff74e1776691dfa7474bbd1e6a3d0d015a91 | [
"BSD-3-Clause"
] | 2 | 2020-11-04T22:24:56.000Z | 2020-11-18T02:30:38.000Z | src/segmentation.cpp | Kukanani/orp | ff8eff74e1776691dfa7474bbd1e6a3d0d015a91 | [
"BSD-3-Clause"
] | null | null | null | src/segmentation.cpp | Kukanani/orp | ff8eff74e1776691dfa7474bbd1e6a3d0d015a91 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2015, Adam Allevato
// Copyright (c) 2017, The University of Texas at Austin
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retai... | 34.6618 | 84 | 0.727573 | [
"object",
"vector",
"model"
] |
8e4f1ff02f1b801a1499dfdf4ae9807153e35b8f | 4,295 | cc | C++ | KM/03code/cpp/chenshuo/muduo/muduo/net/inspect/Inspector.cc | wangcy6/weekly.github.io | f249bed5cf5a2b14d798ac33086cea0c1efe432e | [
"Apache-2.0"
] | 10 | 2019-03-17T10:13:04.000Z | 2021-03-03T03:23:34.000Z | KM/03code/cpp/chenshuo/muduo/muduo/net/inspect/Inspector.cc | wangcy6/weekly.github.io | f249bed5cf5a2b14d798ac33086cea0c1efe432e | [
"Apache-2.0"
] | 44 | 2018-12-14T02:35:47.000Z | 2021-02-06T09:12:10.000Z | KM/03code/cpp/chenshuo/muduo/muduo/net/inspect/Inspector.cc | wangcy6/weekly | f249bed5cf5a2b14d798ac33086cea0c1efe432e | [
"Apache-2.0"
] | 1 | 2020-02-03T12:14:08.000Z | 2020-02-03T12:14:08.000Z | // Copyright 2010, Shuo Chen. All rights reserved.
// http://code.google.com/p/muduo/
//
// Use of this source code is governed by a BSD-style license
// that can be found in the License file.
// Author: Shuo Chen (chenshuo at chenshuo dot com)
//
#include <muduo/net/inspect/Inspector.h>
#include <muduo/base/Thread... | 25.116959 | 94 | 0.602095 | [
"vector"
] |
8e4feb873815da19c06fa0f30cb129b0d454326d | 704 | cpp | C++ | Game/Source/SceneWin.cpp | MagiX7/BlackHole_Engine | eb32c1a3653be4d0cf369104261245e8db71f63d | [
"MIT"
] | null | null | null | Game/Source/SceneWin.cpp | MagiX7/BlackHole_Engine | eb32c1a3653be4d0cf369104261245e8db71f63d | [
"MIT"
] | null | null | null | Game/Source/SceneWin.cpp | MagiX7/BlackHole_Engine | eb32c1a3653be4d0cf369104261245e8db71f63d | [
"MIT"
] | 1 | 2022-02-16T07:10:47.000Z | 2022-02-16T07:10:47.000Z | #include "Input.h"
#include "Render.h"
#include "Texture.h"
#include "SceneWin.h"
SceneWin::SceneWin()
{
}
SceneWin::~SceneWin()
{
}
bool SceneWin::Load(Texture* tex)
{
LOG("Loading Win Scene");
bg = tex->Load("Assets/Textures/win.png");
return true;
}
update_status SceneWin::Update(Input* input, float dt)
{
... | 16 | 88 | 0.707386 | [
"render"
] |
8e5233a8db5af4dc512f6685cafb032888cb2618 | 19,711 | cpp | C++ | src/py/wrapper/wrapper_c047f2c3135554ceb57f166fd404cfc8.cpp | StatisKit/Containers | cf665a2a1f9d36d4ae618b18a40c112ee9f02ac6 | [
"Apache-2.0"
] | null | null | null | src/py/wrapper/wrapper_c047f2c3135554ceb57f166fd404cfc8.cpp | StatisKit/Containers | cf665a2a1f9d36d4ae618b18a40c112ee9f02ac6 | [
"Apache-2.0"
] | 2 | 2018-02-26T08:52:12.000Z | 2018-04-19T14:47:19.000Z | src/py/wrapper/wrapper_c047f2c3135554ceb57f166fd404cfc8.cpp | StatisKit/Containers | cf665a2a1f9d36d4ae618b18a40c112ee9f02ac6 | [
"Apache-2.0"
] | 11 | 2017-02-10T10:32:11.000Z | 2021-03-15T18:23:51.000Z | #include "_stl.h"
void (::std::vector< ::std::basic_string< char, ::std::char_traits< char >, ::std::allocator< char > >, ::std::allocator< ::std::basic_string< char, ::std::char_traits< char >, ::std::allocator< char > > > >::*method_pointer_a7967f8e767754c5bb2a4a4052371685)(::std::vector< class ::std::basic_string<... | 351.982143 | 1,042 | 0.701081 | [
"vector"
] |
8e53b63080309197f82b48be4e8ae92cb01055d3 | 25,112 | hpp | C++ | MntoneUIFramework/include/win32define.hpp | mntone/MntoneUIFramework | 61a66977b2a1d8a9208d998493f8f99c6aa94380 | [
"MIT"
] | 12 | 2015-07-06T10:18:12.000Z | 2019-03-11T02:48:00.000Z | MntoneUIFramework/include/win32define.hpp | mntone/MntoneUIFramework | 61a66977b2a1d8a9208d998493f8f99c6aa94380 | [
"MIT"
] | null | null | null | MntoneUIFramework/include/win32define.hpp | mntone/MntoneUIFramework | 61a66977b2a1d8a9208d998493f8f99c6aa94380 | [
"MIT"
] | 4 | 2016-07-06T13:04:17.000Z | 2019-10-19T02:08:25.000Z | #pragma once
#include <Windows.h>
#define DEFINE_ENUM_BIT_CALC(_T_) \
using _T_ ## _t = ::std::underlying_type_t<_T_>; \
inline _T_ operator&(_T_ lhs, _T_ rhs) { return static_cast<_T_>(static_cast<_T_ ## _t>(lhs) & static_cast<_T_ ## _t>(rhs)); } \
inline _T_ operator&=(_T_& lhs, _T_ rhs) { lhs = static_cast<_T_>(sta... | 28.930876 | 141 | 0.802126 | [
"object"
] |
8e587f740efb28e35c65b8364116f975fff567c1 | 10,062 | cpp | C++ | Super Monaco GP/ModuleCourseSelect.cpp | gerardpf2/SuperMonacoGP | dbb46ffff701e9781d7975586a82ea8c56f8dd9f | [
"MIT"
] | null | null | null | Super Monaco GP/ModuleCourseSelect.cpp | gerardpf2/SuperMonacoGP | dbb46ffff701e9781d7975586a82ea8c56f8dd9f | [
"MIT"
] | null | null | null | Super Monaco GP/ModuleCourseSelect.cpp | gerardpf2/SuperMonacoGP | dbb46ffff701e9781d7975586a82ea8c56f8dd9f | [
"MIT"
] | null | null | null | #include "ModuleCourseSelect.h"
#include "Utils.h"
#include "Animation.h"
#include "ModuleFont.h"
#include "ModuleInput.h"
#include "ModuleAudio.h"
#include "ModuleSwitch.h"
#include "ModuleTexture.h"
#include "ModuleRenderer.h"
#include "ModuleRegistry.h"
#include "ModuleAnimation.h"
#include "ModuleCourseSelectUI.h"... | 29.946429 | 205 | 0.779765 | [
"render"
] |
769dca7d04608c1d8d4b4a2656ea89c18f536530 | 6,616 | cpp | C++ | test/grammar/grammar_test.cpp | TheSYNcoder/JuCC | 4765f9dd93349de93c09d53594721af0fea0acc0 | [
"Apache-2.0"
] | 31 | 2021-05-03T11:49:32.000Z | 2022-03-03T03:07:57.000Z | test/grammar/grammar_test.cpp | TheSYNcoder/JuCC | 4765f9dd93349de93c09d53594721af0fea0acc0 | [
"Apache-2.0"
] | 45 | 2021-04-24T13:36:13.000Z | 2021-05-27T05:51:42.000Z | test/grammar/grammar_test.cpp | TheSYNcoder/JuCC | 4765f9dd93349de93c09d53594721af0fea0acc0 | [
"Apache-2.0"
] | 1 | 2021-04-25T12:35:55.000Z | 2021-04-25T12:35:55.000Z | #include "grammar/grammar.h"
#include "gtest/gtest.h"
using jucc::grammar::Parser;
TEST(grammar, Parser0) {
Parser parser = Parser("../test/grammar/grammar_test_0.g");
ASSERT_EQ(true, parser.Parse());
ASSERT_EQ("<primary_expression>", parser.GetStartSymbol());
std::vector<std::string> terminals = {"else",
... | 38.465116 | 98 | 0.590992 | [
"vector"
] |
769fb2c24a02f020e44154542ed145a1f44bafbf | 2,369 | cpp | C++ | examples/ros/RosNodeTalker.cpp | RicoPauli/eeros | 3cc2802253c764b16c6368ad7bdaef1e3c683367 | [
"Apache-2.0"
] | null | null | null | examples/ros/RosNodeTalker.cpp | RicoPauli/eeros | 3cc2802253c764b16c6368ad7bdaef1e3c683367 | [
"Apache-2.0"
] | null | null | null | examples/ros/RosNodeTalker.cpp | RicoPauli/eeros | 3cc2802253c764b16c6368ad7bdaef1e3c683367 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <ros/ros.h>
#include <std_msgs/Float64.h>
#include <std_msgs/Float64MultiArray.h>
#include <sensor_msgs/Joy.h>
#include <sensor_msgs/LaserScan.h>
#include <sensor_msgs/BatteryState.h>
using namespace std;
int main(int argc, char *argv[])
{
cout << "'rosNodeTalker' started" << endl;
r... | 29.987342 | 119 | 0.704517 | [
"vector"
] |
76a3127b721a3b9d57bd614891da5e87044bacad | 9,807 | cpp | C++ | cpp-restsdk/model/SimAccess.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | cpp-restsdk/model/SimAccess.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | cpp-restsdk/model/SimAccess.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | /**
* PowerMeter API
* API
*
* The version of the OpenAPI document: 2021.4.1
*
* NOTE: This class is auto generated by OpenAPI-Generator 4.3.1.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
#include "SimAccess.h"
namespace powermeter {
namespace model {
SimAccess::SimAccess()
{
... | 27.860795 | 143 | 0.678189 | [
"object",
"model"
] |
76a487207aa88195a25e4a9259fc3e96a3b30092 | 803 | cpp | C++ | MPI2Send/MPI2Send24.cpp | bru1t/pt-for-mpi-2-answers | 81595465725db4cce848a1c45b3695203d97db03 | [
"Unlicense"
] | 2 | 2021-12-26T20:18:24.000Z | 2021-12-28T10:49:42.000Z | MPI2Send/MPI2Send24.cpp | bru1t/pt-for-mpi-2-answers | 81595465725db4cce848a1c45b3695203d97db03 | [
"Unlicense"
] | null | null | null | MPI2Send/MPI2Send24.cpp | bru1t/pt-for-mpi-2-answers | 81595465725db4cce848a1c45b3695203d97db03 | [
"Unlicense"
] | null | null | null | #include "pt4.h"
#include "mpi.h"
#include <vector>
template<typename T>
void sendrecv(int rank, int size, MPI_Datatype datatype, int step) {
MPI_Status status;
int next = (rank + step) % size,
N = size / 2;
std::vector<T> vector(N);
if (next < 0)
next += size;
for (int i = 0; i < N; ++i)
pt >> vector[i]... | 19.585366 | 105 | 0.620174 | [
"vector"
] |
76a50f26b65985fc75b516a73631fbb0006649bb | 7,998 | cpp | C++ | ukpsummarizer-be/cplex/cpoptimizer/examples/src/cpp/sched_state.cpp | UKPLab/vldb2018-sherlock | 74f34ca074e72ad9137b60f921588585256e0eac | [
"Apache-2.0"
] | 2 | 2018-11-26T01:49:30.000Z | 2019-01-31T10:04:00.000Z | ukpsummarizer-be/cplex/cpoptimizer/examples/src/cpp/sched_state.cpp | AIPHES/vldb2018-sherlock | 3746efa35c4c1769cc4aaeb15aeb9453564e1226 | [
"Apache-2.0"
] | null | null | null | ukpsummarizer-be/cplex/cpoptimizer/examples/src/cpp/sched_state.cpp | AIPHES/vldb2018-sherlock | 3746efa35c4c1769cc4aaeb15aeb9453564e1226 | [
"Apache-2.0"
] | 4 | 2018-11-06T16:12:55.000Z | 2019-08-21T13:22:32.000Z | // -------------------------------------------------------------- -*- C++ -*-
// File: ./examples/src/cpp/sched_state.cpp
// --------------------------------------------------------------------------
// Licensed Materials - Property of IBM
//
// 5724-Y48 5724-Y49 5724-Y54 5724-Y55 5725-A06 5725-A29
// Copyright IBM Cor... | 33.464435 | 98 | 0.574519 | [
"model"
] |
76a6a3853bccc565c1ce307ca7f78611f231729f | 26,976 | cpp | C++ | src/dplyr.cpp | krlmlr/dplyr | 9128dddd245592092e68703d8cbc181b492ed69b | [
"MIT"
] | null | null | null | src/dplyr.cpp | krlmlr/dplyr | 9128dddd245592092e68703d8cbc181b492ed69b | [
"MIT"
] | 5 | 2016-09-28T20:10:06.000Z | 2017-09-14T05:44:45.000Z | src/dplyr.cpp | krlmlr/dplyr | 9128dddd245592092e68703d8cbc181b492ed69b | [
"MIT"
] | 1 | 2017-09-21T14:14:26.000Z | 2017-09-21T14:14:26.000Z | #define R_NOREMAP
#include <R.h>
#include <Rinternals.h>
#include <R_ext/Rdynload.h>
#include <algorithm>
#include <vector>
#include <string>
#include "dplyr/symbols.h"
namespace dplyr {
SEXP get_classes_vctrs_list_of() {
SEXP klasses = Rf_allocVector(STRSXP, 3);
R_PreserveObject(klasses);
SET_STRING_ELT(klas... | 29.417666 | 148 | 0.662107 | [
"object",
"vector"
] |
76a7bcfb5e0d8805e1e80193a627207785c6bc9c | 8,745 | cpp | C++ | src/gvs/vis-client/scene/opengl_scene.cpp | LoganBarnes/geometry-visualization-server | 3ea890d760ada4e5a248e98dded2e27ba6bd5dde | [
"MIT"
] | 1 | 2019-01-09T12:17:40.000Z | 2019-01-09T12:17:40.000Z | src/gvs/vis-client/scene/opengl_scene.cpp | LoganBarnes/geometry-visualization-server | 3ea890d760ada4e5a248e98dded2e27ba6bd5dde | [
"MIT"
] | 1 | 2019-04-03T17:10:59.000Z | 2019-04-03T17:10:59.000Z | src/gvs/vis-client/scene/opengl_scene.cpp | LoganBarnes/geometry-visualization-server | 3ea890d760ada4e5a248e98dded2e27ba6bd5dde | [
"MIT"
] | 1 | 2019-04-03T16:24:18.000Z | 2019-04-03T16:24:18.000Z | // ///////////////////////////////////////////////////////////////////////////////////////
// Geometry Visualization Server
// Copyright (c) 2019 Logan Barnes - All Rights Reserved
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (... | 40.486111 | 120 | 0.668611 | [
"mesh",
"geometry",
"render",
"object",
"vector"
] |
76a984a4e871b502e1a4ad4752bc7dba555cd862 | 5,618 | cpp | C++ | MumbleCommunicator.cpp | robozman/mumsi | adc077d41fc424a1c46279eed8aabe718c77a5d1 | [
"Apache-2.0"
] | 6 | 2020-04-11T07:09:26.000Z | 2020-10-22T16:22:05.000Z | MumbleCommunicator.cpp | robozman/mumsi | adc077d41fc424a1c46279eed8aabe718c77a5d1 | [
"Apache-2.0"
] | null | null | null | MumbleCommunicator.cpp | robozman/mumsi | adc077d41fc424a1c46279eed8aabe718c77a5d1 | [
"Apache-2.0"
] | 1 | 2020-06-11T11:13:56.000Z | 2020-06-11T11:13:56.000Z | #include "MumbleCommunicator.hpp"
#include <cstring>
#include <functional>
namespace mumble {
class MumlibCallback : public mumlib::BasicCallback {
public:
std::shared_ptr<mumlib::Mumlib> mum;
MumbleCommunicator *communicator;
// called by Mumlib when receiving audio from mumble serve... | 29.260417 | 121 | 0.605376 | [
"vector"
] |
76b9f1314bdbb8744d115b248d42b98d8802ea9c | 6,791 | cpp | C++ | dsa/XVDPU-TRD/vck190_platform/overlays/Vitis_Libraries/vision/L1/examples/channelcombine/xf_channel_combine_accel.cpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 1 | 2021-05-28T06:37:15.000Z | 2021-05-28T06:37:15.000Z | dsa/XVDPU-TRD/vck190_platform/overlays/Vitis_Libraries/vision/L1/examples/channelcombine/xf_channel_combine_accel.cpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | null | null | null | dsa/XVDPU-TRD/vck190_platform/overlays/Vitis_Libraries/vision/L1/examples/channelcombine/xf_channel_combine_accel.cpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 1 | 2021-04-28T05:58:38.000Z | 2021-04-28T05:58:38.000Z | /*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 46.513699 | 118 | 0.666176 | [
"object"
] |
76c423110a482eb15050e8e545738e7beba16213 | 16,170 | cpp | C++ | src/bFst.cpp | timmassingham/vcflib | e0cb656cb0e224dc078ba1e06079a88a5ea7b6ab | [
"MIT"
] | 379 | 2016-01-29T00:01:51.000Z | 2022-03-21T21:07:03.000Z | src/bFst.cpp | timmassingham/vcflib | e0cb656cb0e224dc078ba1e06079a88a5ea7b6ab | [
"MIT"
] | 245 | 2016-01-31T19:05:29.000Z | 2022-03-31T13:17:17.000Z | src/bFst.cpp | timmassingham/vcflib | e0cb656cb0e224dc078ba1e06079a88a5ea7b6ab | [
"MIT"
] | 168 | 2016-02-11T19:30:52.000Z | 2022-02-10T09:20:34.000Z | /*
vcflib C++ library for parsing and manipulating VCF files
Copyright © 2010-2020 Erik Garrison
Copyright © 2020 Pjotr Prins
This software is published under the MIT License. See the LICENSE file.
*/
#include "Variant.h"
#include "split.h"
#include "pdflib.hpp"
#include <string>
#include <iost... | 25.62599 | 243 | 0.587075 | [
"vector",
"model"
] |
76c7c8f4deed137162609ac998dacdd55af8647a | 57,777 | cc | C++ | thirdparty/google/api/servicecontrol/v1/metric_value.pb.cc | kobeya/GVA-demo | 41a57bfff01ab0de2f56ddcd7611514e550472ff | [
"Apache-2.0"
] | 2 | 2019-03-29T07:20:43.000Z | 2019-08-13T04:47:27.000Z | thirdparty/google/api/servicecontrol/v1/metric_value.pb.cc | kobeya/GVA-demo | 41a57bfff01ab0de2f56ddcd7611514e550472ff | [
"Apache-2.0"
] | null | null | null | thirdparty/google/api/servicecontrol/v1/metric_value.pb.cc | kobeya/GVA-demo | 41a57bfff01ab0de2f56ddcd7611514e550472ff | [
"Apache-2.0"
] | 1 | 2019-08-09T05:26:50.000Z | 2019-08-09T05:26:50.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/servicecontrol/v1/metric_value.proto
#include "google/api/servicecontrol/v1/metric_value.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/io/coded_st... | 40.947555 | 227 | 0.707825 | [
"object"
] |
76cb7fe149d2e42779d81b4fead0c4456cf6c238 | 2,063 | cpp | C++ | Programacion Competitiva/UVA/10650.cpp | Angel1612/Computer_Science_UNSA | e1696fd2cb7c66f6af9aa14dbd96b4f67c787425 | [
"MIT"
] | null | null | null | Programacion Competitiva/UVA/10650.cpp | Angel1612/Computer_Science_UNSA | e1696fd2cb7c66f6af9aa14dbd96b4f67c787425 | [
"MIT"
] | null | null | null | Programacion Competitiva/UVA/10650.cpp | Angel1612/Computer_Science_UNSA | e1696fd2cb7c66f6af9aa14dbd96b4f67c787425 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <string>
#include <cctype>
#include <stack>
#include <queue>
#include <list>
#include <vector>
#include <map>
#include <sstream>
#include <cmath>
#include <bitset>
#include <utility>
#include <set>
#include <numeric>
#include <time.h... | 24.559524 | 85 | 0.379544 | [
"vector"
] |
76ce8736beca4db1aa0a6141732c75ff1e2cb43d | 45,709 | cpp | C++ | src/Graphics/OGL/OGL33.cpp | liavt/MACE | 9a4e83b2b5cb39d9a69b2e699b57c05d9dd94aad | [
"MIT"
] | 9 | 2016-03-01T03:10:50.000Z | 2021-04-15T09:17:14.000Z | src/Graphics/OGL/OGL33.cpp | liavt/The-Poor-Plebs-Engine | 9a4e83b2b5cb39d9a69b2e699b57c05d9dd94aad | [
"MIT"
] | 10 | 2016-07-09T04:00:27.000Z | 2019-12-09T09:14:49.000Z | src/Graphics/OGL/OGL33.cpp | liavt/The-Poor-Plebs-Engine | 9a4e83b2b5cb39d9a69b2e699b57c05d9dd94aad | [
"MIT"
] | 3 | 2017-05-24T04:07:40.000Z | 2019-10-11T20:31:25.000Z | /*
Copyright (c) 2016-2019 Liav Turkia
See LICENSE.md for full copyright information
*/
#include <MACE/Graphics/OGL/OGL33.h>
#include <memory>
#include <string>
namespace mc {
namespace gfx {
namespace ogl33 {
namespace {
Shader createShader(const Enum type, const char* sources[], const GLsizei sourceSize) ... | 34.445365 | 343 | 0.68457 | [
"render",
"object",
"vector"
] |
76cef857a1cd91462cc341a60b64dae84fb28c7d | 1,576 | cpp | C++ | lib/mis/kernel/modified.cpp | Ya-Za/KaMIS | 82a39d695b370776111fbb0563212d22e85676ed | [
"MIT"
] | 30 | 2020-06-18T09:52:51.000Z | 2022-01-27T03:30:45.000Z | lib/mis/kernel/modified.cpp | Ya-Za/KaMIS | 82a39d695b370776111fbb0563212d22e85676ed | [
"MIT"
] | 13 | 2020-06-15T09:43:47.000Z | 2022-01-31T14:02:42.000Z | lib/mis/kernel/modified.cpp | Ya-Za/KaMIS | 82a39d695b370776111fbb0563212d22e85676ed | [
"MIT"
] | 17 | 2020-06-15T09:33:34.000Z | 2022-02-27T21:03:57.000Z |
// local includes
#include "modified.h"
#include "branch_and_reduce_algorithm.h"
// system includes
#include <vector>
modified::modified(int const _add, std::vector<int> &_removed, std::vector<int> &_vs, std::vector<std::vector<int>> &newAdj, branch_and_reduce_algorithm *_pAlg)
: add(_add)
, pAlg(_pAlg)
{
remo... | 26.711864 | 160 | 0.51967 | [
"vector"
] |
76d4973610e26cf53c27b52237bec61474d04a4d | 6,735 | cpp | C++ | TouchMindLib_Test/touchmind/model/node/Test_NodeModel.cpp | yohei-yoshihara/TouchMind | 3ad878aacde7322ae7c4f94d462e0a2d4a24d3fa | [
"MIT"
] | 15 | 2015-07-10T05:03:27.000Z | 2021-06-08T08:24:46.000Z | TouchMindLib_Test/touchmind/model/node/Test_NodeModel.cpp | yohei-yoshihara/TouchMind | 3ad878aacde7322ae7c4f94d462e0a2d4a24d3fa | [
"MIT"
] | null | null | null | TouchMindLib_Test/touchmind/model/node/Test_NodeModel.cpp | yohei-yoshihara/TouchMind | 3ad878aacde7322ae7c4f94d462e0a2d4a24d3fa | [
"MIT"
] | 10 | 2015-01-04T01:23:56.000Z | 2020-12-29T11:35:47.000Z | #include "stdafx.h"
#include "touchmind/model/node/NodeModel.h"
#include "touchmind/text/FontAttribute.h"
using namespace touchmind::model;
using namespace touchmind::model::node;
using namespace touchmind::text;
/*
class Test : public ::testing::Test
{
public:
Test() {
}
virtual ~Test() {
}
virt... | 25.903846 | 70 | 0.692502 | [
"model"
] |
76da3401eb2ab468907f576935f573b0ef987e1f | 523 | hpp | C++ | Source/Engine/src/include/audio/sound.hpp | DatZach/Swift | b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7 | [
"MIT"
] | null | null | null | Source/Engine/src/include/audio/sound.hpp | DatZach/Swift | b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7 | [
"MIT"
] | null | null | null | Source/Engine/src/include/audio/sound.hpp | DatZach/Swift | b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7 | [
"MIT"
] | 1 | 2021-10-30T20:43:01.000Z | 2021-10-30T20:43:01.000Z | /*
* sound.hpp
* Sound
*/
#ifndef __AUDIO_SOUND_HPP
#define __AUDIO_SOUND_HPP
#include <vector>
#include <string>
#include <mutex>
#include <Audio/AudioStream.hpp>
#include <Audio/AudioFile.hpp>
namespace Audio
{
class Sound : public AudioStream
{
private:
std::mutex mutex;
AudioFile file;
std::vector<sh... | 14.135135 | 44 | 0.699809 | [
"vector"
] |
76dcb7e6fe01b401a3d6b7af0f6fcf23a2b17468 | 8,174 | hpp | C++ | include/boost/astronomy/io/header.hpp | nitink25/astronomy | 0a1d137171b08d1014d4ff138b2a40a146f4f39b | [
"BSL-1.0"
] | 75 | 2019-05-14T13:53:02.000Z | 2022-03-03T20:37:18.000Z | include/boost/astronomy/io/header.hpp | Zyro9922/astronomy | 56be0f8dfb103520ffbec0b793a92a531cd4b714 | [
"BSL-1.0"
] | 96 | 2019-05-28T17:46:00.000Z | 2021-01-09T07:59:17.000Z | include/boost/astronomy/io/header.hpp | Zyro9922/astronomy | 56be0f8dfb103520ffbec0b793a92a531cd4b714 | [
"BSL-1.0"
] | 29 | 2019-05-13T21:09:50.000Z | 2022-03-04T06:24:39.000Z | /*=============================================================================
Copyright 2018 Pranam Lashkari <plashkari628@gmail.com>
Copyright 2020 Gopi Krishna Menon <krishnagopi487.github@outlook.com>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file License.txt or copy at https://... | 33.227642 | 124 | 0.610962 | [
"object",
"vector"
] |
76dfd909843b7f6fae13d8720c16dd9e8b37b493 | 18,143 | cpp | C++ | samples/shadertoy/Application.cpp | azhirnov/FrameGraph-Samples | 7dc7966276fd479e43405ea29942cbdfc512d416 | [
"BSD-2-Clause"
] | 15 | 2019-08-09T13:54:33.000Z | 2022-01-21T06:17:43.000Z | samples/shadertoy/Application.cpp | azhirnov/FrameGraph-Samples | 7dc7966276fd479e43405ea29942cbdfc512d416 | [
"BSD-2-Clause"
] | 2 | 2019-12-02T17:00:59.000Z | 2019-12-05T14:00:11.000Z | samples/shadertoy/Application.cpp | azhirnov/FrameGraph-Samples | 7dc7966276fd479e43405ea29942cbdfc512d416 | [
"BSD-2-Clause"
] | 2 | 2020-12-17T11:49:29.000Z | 2021-08-06T15:59:50.000Z | // Copyright (c) 2018-2020, Zhirnov Andrey. For more information see 'LICENSE'
#include "Application.h"
#include "Shaders.h"
#include "stl/Algorithms/StringUtils.h"
#include "stl/Algorithms/StringUtils.h"
#include "stl/Stream/FileStream.h"
#include "video/FFmpegRecorder.h"
#include "scene/Loader/DevIL/DevILSaver.h"... | 27.282707 | 115 | 0.604806 | [
"transform"
] |
76e2c7b88c43ef3f8b261c1a4fe1b70d4c370ea4 | 17,751 | cpp | C++ | main/source/mod/AvHTechTree.cpp | fmoraw/NS | 6c3ae93ca7f929f24da4b8f2d14ea0602184cf08 | [
"Unlicense"
] | 27 | 2015-01-05T19:25:14.000Z | 2022-03-20T00:34:34.000Z | main/source/mod/AvHTechTree.cpp | fmoraw/NS | 6c3ae93ca7f929f24da4b8f2d14ea0602184cf08 | [
"Unlicense"
] | 9 | 2015-01-14T06:51:46.000Z | 2021-03-19T12:07:18.000Z | main/source/mod/AvHTechTree.cpp | fmoraw/NS | 6c3ae93ca7f929f24da4b8f2d14ea0602184cf08 | [
"Unlicense"
] | 5 | 2015-01-11T10:31:24.000Z | 2021-01-06T01:32:58.000Z | //======== (C) Copyright 2002 Charles G. Cleveland All rights reserved. =========
//
// The copyright to the contents herein is the property of Charles G. Cleveland.
// The contents may be used and/or copied only with the written permission of
// Charles G. Cleveland, or in accordance with the terms and conditions ... | 28.676898 | 125 | 0.595178 | [
"vector"
] |
76ecd6de7b68721ad03ed3d7bd19b74999c4197b | 298 | cpp | C++ | Practica Semanal 7/E.cpp | Tresillo2017/IOE2 | 6d191f0085a67b0b187851ad2d73b61040b74e87 | [
"MIT"
] | null | null | null | Practica Semanal 7/E.cpp | Tresillo2017/IOE2 | 6d191f0085a67b0b187851ad2d73b61040b74e87 | [
"MIT"
] | null | null | null | Practica Semanal 7/E.cpp | Tresillo2017/IOE2 | 6d191f0085a67b0b187851ad2d73b61040b74e87 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <vector>
#include <cstring>
using namespace std;
int main()
{
int n, m;
cin >> n >> m;
int suma = 0;
for (int i = 1; i <= n; i++){
for (int j = 1; j <= m; j++){
suma+= i*j;
}
}
cout << suma;
} | 15.684211 | 37 | 0.456376 | [
"vector"
] |
76f9d0c15d1eeed7507d956cc34f366a616266f6 | 616 | cpp | C++ | examples/surfaces/fsurf/fsurf_8.cpp | dendisuhubdy/matplotplusplus | 3781773832306e5571376f29f0c1d1389eb82af0 | [
"MIT"
] | 1 | 2022-03-22T11:09:19.000Z | 2022-03-22T11:09:19.000Z | examples/surfaces/fsurf/fsurf_8.cpp | dendisuhubdy/matplotplusplus | 3781773832306e5571376f29f0c1d1389eb82af0 | [
"MIT"
] | null | null | null | examples/surfaces/fsurf/fsurf_8.cpp | dendisuhubdy/matplotplusplus | 3781773832306e5571376f29f0c1d1389eb82af0 | [
"MIT"
] | 1 | 2022-03-22T11:46:39.000Z | 2022-03-22T11:46:39.000Z | #include <cmath>
#include <matplot/matplot.h>
int main() {
using namespace matplot;
auto funx = [](double s, double t) { return sin(s); };
auto funy = [](double s, double t) { return cos(s); };
auto funz = [](double s, double t) { return t / 10 * sin(1. / s); };
tiledlayout(2, 1);
nexttile();... | 25.666667 | 72 | 0.555195 | [
"mesh"
] |
76fc29697243e7054618ed58fb202e1cf9cc2fe9 | 697 | cpp | C++ | src/menu/MainMenu.cpp | wwizz/example_snake_cpp | 2e8420407dd1bc70e1d985ee2438ad340aeb32ee | [
"MIT"
] | null | null | null | src/menu/MainMenu.cpp | wwizz/example_snake_cpp | 2e8420407dd1bc70e1d985ee2438ad340aeb32ee | [
"MIT"
] | null | null | null | src/menu/MainMenu.cpp | wwizz/example_snake_cpp | 2e8420407dd1bc70e1d985ee2438ad340aeb32ee | [
"MIT"
] | null | null | null | #include "Action.h"
#include "MainMenu.h"
MainMenu::MainMenu() :
Menu(std::string("MainMenu"), std::vector<std::string> { "Start Game", "Quit"}) {
}
MainMenu::~MainMenu() {
}
Action MainMenu::Process(InputCommand command) {
switch(command) {
case InputCommand_Escape: break;
case InputCommand_Option1:r... | 24.892857 | 85 | 0.731707 | [
"vector"
] |
76fd3a3b601145afd554440d8684a68533d15562 | 5,248 | cpp | C++ | server/mini-client/preasure_test.cpp | ArCan314/Memo | 06778e9ecf01c57abbfa7198b40da7cd13aecd5a | [
"MIT"
] | null | null | null | server/mini-client/preasure_test.cpp | ArCan314/Memo | 06778e9ecf01c57abbfa7198b40da7cd13aecd5a | [
"MIT"
] | null | null | null | server/mini-client/preasure_test.cpp | ArCan314/Memo | 06778e9ecf01c57abbfa7198b40da7cd13aecd5a | [
"MIT"
] | null | null | null | #include <boost/asio.hpp>
#include <boost/locale.hpp>
#include <string>
#include <vector>
#include <iostream>
#include <locale>
#include <codecvt>
#include <cstring>
#include <cstdlib>
#include <random>
#include <chrono>
#include <thread>
#include "../include/cpp-base64/base64.h"
using namespace boost::asio;
static c... | 22.42735 | 122 | 0.620427 | [
"vector"
] |
0a014d621c165f78fe9c6152405307313fef8692 | 6,922 | cpp | C++ | PrioEngineStaticLibrary/Engine/Rain.cpp | SamConnolly94/PrioEngineStaticLibrary | f9be61923a08a3a6e4d3e09a11f0f9479975ab4a | [
"Apache-2.0"
] | null | null | null | PrioEngineStaticLibrary/Engine/Rain.cpp | SamConnolly94/PrioEngineStaticLibrary | f9be61923a08a3a6e4d3e09a11f0f9479975ab4a | [
"Apache-2.0"
] | null | null | null | PrioEngineStaticLibrary/Engine/Rain.cpp | SamConnolly94/PrioEngineStaticLibrary | f9be61923a08a3a6e4d3e09a11f0f9479975ab4a | [
"Apache-2.0"
] | null | null | null | #include "Rain.h"
CRain::CRain()
{
mpRandomResourceView = nullptr;
}
CRain::~CRain()
{
}
bool CRain::Initialise(ID3D11Device* device, std::string rainTexture, unsigned int numberOfParticles)
{
//Shutdown();
mFirstRun = true;
mNumberOfParticles = numberOfParticles;
mEmitterDirection = D3DXVECTOR3(0.0f, 1.0f... | 22.92053 | 123 | 0.747038 | [
"render",
"object"
] |
0a07d1b8d43b73410e9f03569389dc915633e3c8 | 1,617 | cpp | C++ | src/plugins/opencv/calibration_points.cpp | martin-pr/possumwood | 0ee3e0fe13ef27cf14795a79fb497e4d700bef63 | [
"MIT"
] | 232 | 2017-10-09T11:45:28.000Z | 2022-03-28T11:14:46.000Z | src/plugins/opencv/calibration_points.cpp | LIUJUN-liujun/possumwood | 745e48eb44450b0b7f078ece81548812ab1ccc63 | [
"MIT"
] | 26 | 2019-01-20T21:38:25.000Z | 2021-10-16T03:57:17.000Z | src/plugins/opencv/calibration_points.cpp | LIUJUN-liujun/possumwood | 745e48eb44450b0b7f078ece81548812ab1ccc63 | [
"MIT"
] | 33 | 2017-10-26T19:20:38.000Z | 2022-03-16T11:21:43.000Z | #include "calibration_points.h"
namespace possumwood {
namespace opencv {
void CalibrationPoints::Layer::add(const cv::Vec3f& objectPoint, const cv::Vec2f& cameraPoint) {
m_objectPoints.push_back(objectPoint);
m_cameraPoints.push_back(cameraPoint);
}
CalibrationPoints::CalibrationPoints(const cv::Size& imageSize) ... | 28.875 | 113 | 0.739641 | [
"vector"
] |
0a08ebd00c76d2948c4117aa773569bf2b87db05 | 3,012 | cc | C++ | tensorflow/lite/tools/strip_buffers/reconstitute_buffers_into_fb.cc | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 190,993 | 2015-11-09T13:17:30.000Z | 2022-03-31T23:05:27.000Z | tensorflow/lite/tools/strip_buffers/reconstitute_buffers_into_fb.cc | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 48,461 | 2015-11-09T14:21:11.000Z | 2022-03-31T23:17:33.000Z | tensorflow/lite/tools/strip_buffers/reconstitute_buffers_into_fb.cc | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 104,981 | 2015-11-09T13:40:17.000Z | 2022-03-31T19:51:54.000Z | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 36.289157 | 80 | 0.700531 | [
"vector",
"model"
] |
0a0b829bc60a109dcd27555c1a000942c0bf6ff2 | 26,929 | cpp | C++ | modules/importancesamplingcl/processors/minmaxuniformgrid3dimportanceclprocessor.cpp | danjobanjo/Correlated-Photon-Mapping-for-Interactive-Global-Illumination-of-Time-Varying-Volumetric-Data | bb9bd0a79b111a609e4548326d64aede07fd3a5e | [
"MIT"
] | 14 | 2016-10-27T12:42:25.000Z | 2021-05-24T08:14:24.000Z | modules/importancesamplingcl/processors/minmaxuniformgrid3dimportanceclprocessor.cpp | danjobanjo/Correlated-Photon-Mapping-for-Interactive-Global-Illumination-of-Time-Varying-Volumetric-Data | bb9bd0a79b111a609e4548326d64aede07fd3a5e | [
"MIT"
] | 7 | 2017-09-07T08:36:08.000Z | 2019-12-06T16:02:16.000Z | modules/importancesamplingcl/processors/minmaxuniformgrid3dimportanceclprocessor.cpp | danjobanjo/Correlated-Photon-Mapping-for-Interactive-Global-Illumination-of-Time-Varying-Volumetric-Data | bb9bd0a79b111a609e4548326d64aede07fd3a5e | [
"MIT"
] | 5 | 2016-10-30T05:16:15.000Z | 2020-03-10T10:52:19.000Z | /*********************************************************************************
*
* Copyright (c) 2016, Daniel Jönsson
* All rights reserved.
*
* This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
* http://creativecommons.org/licenses/by-nc/4.0/
*
* You are ... | 51.098672 | 228 | 0.612091 | [
"transform"
] |
0a0cc4a052e82a208d67dbef15fa17d297777164 | 4,358 | cpp | C++ | samples/Windows/MainDlg.cpp | jonetomtom/mars | 3f11714e0aee826eb12bfd52496b59675125204a | [
"BSD-2-Clause",
"Apache-2.0"
] | 17,104 | 2016-12-28T07:45:54.000Z | 2022-03-31T07:02:52.000Z | samples/Windows/MainDlg.cpp | wblzu/mars | 4396e753aee627a92b55ae7a1bc12b4d6f4f6445 | [
"Apache-2.0"
] | 964 | 2016-12-28T08:13:33.000Z | 2022-03-31T13:36:40.000Z | samples/Windows/MainDlg.cpp | pengjinning/mars | 227aff64a5b819555091a7d6eae6727701e9fff0 | [
"Apache-2.0",
"BSD-2-Clause"
] | 3,568 | 2016-12-28T07:47:46.000Z | 2022-03-31T02:13:19.000Z | #include "stdafx.h"
#include "MainDlg.h"
#include "AboutDlg.h"
#include "Business/MarsWrapper.h"
#include <comutil.h>
BOOL CMainDlg::PreTranslateMessage(MSG* pMsg)
{
return CWindow::IsDialogMessage(pMsg);
}
BOOL CMainDlg::OnIdle()
{
UIUpdateChildWindows();
return FALSE;
}
LRESULT CMainDlg::OnIn... | 29.849315 | 136 | 0.704222 | [
"object",
"vector"
] |
0a0e59d74e7cdec3b5326a6a5ff59c15d5cc68d5 | 674 | cc | C++ | src/codeforces/229635/G/G.cc | cbarnson/UVa | 0dd73fae656613e28b5aaf5880c5dad529316270 | [
"Unlicense",
"MIT"
] | 2 | 2019-09-07T17:00:26.000Z | 2020-08-05T02:08:35.000Z | src/codeforces/229635/G/G.cc | cbarnson/UVa | 0dd73fae656613e28b5aaf5880c5dad529316270 | [
"Unlicense",
"MIT"
] | null | null | null | src/codeforces/229635/G/G.cc | cbarnson/UVa | 0dd73fae656613e28b5aaf5880c5dad529316270 | [
"Unlicense",
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define FR(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> ii;
int f[40];
int fib(int n) {
if (n < 2) return n;
if (f[n]) return f[n];
int k = (n + 1) / 2;
f[n] = (n & 1)
? (fib(k) * fib(k) + fib(k - 1... | 16.439024 | 49 | 0.473294 | [
"vector"
] |
0a134a603fdd8b63bbd887856c44dc7fbd49a2b9 | 1,783 | cpp | C++ | Asteroids/src/application/Application.cpp | DatDarkAlpaca/Asteroids | ae65a1a82790dc058dbda6d1f3b00edbc936c5d3 | [
"MIT"
] | 1 | 2021-11-09T01:06:45.000Z | 2021-11-09T01:06:45.000Z | Asteroids/src/application/Application.cpp | DatDarkAlpaca/Asteroids | ae65a1a82790dc058dbda6d1f3b00edbc936c5d3 | [
"MIT"
] | null | null | null | Asteroids/src/application/Application.cpp | DatDarkAlpaca/Asteroids | ae65a1a82790dc058dbda6d1f3b00edbc936c5d3 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "Core.h"
#include "Application.h"
#include "scenes/SceneMainMenu.h"
#include "scenes/SceneSinglePlayer.h"
#include "utils/Random.h"
void ast::Application::Run()
{
// Initializing the font:
fontHolder.font = std::make_shared<sf::Font>();
if (!fontHolder.font->loadFromFile("res/pixelated.ttf... | 20.261364 | 57 | 0.715648 | [
"render"
] |
0a13faf81f5d2ef513a094b90a2a08fab688ca52 | 1,803 | hh | C++ | gazebo/gui/DiagnosticsPrivate.hh | otamachan/ros-indigo-gazebo7-deb | abc6b40247cdce14d9912096a0ad5135d420ce04 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2017-07-14T19:36:51.000Z | 2020-04-01T06:47:59.000Z | gazebo/gui/DiagnosticsPrivate.hh | otamachan/ros-indigo-gazebo7-deb | abc6b40247cdce14d9912096a0ad5135d420ce04 | [
"ECL-2.0",
"Apache-2.0"
] | 20 | 2017-07-20T21:04:49.000Z | 2017-10-19T19:32:38.000Z | gazebo/gui/DiagnosticsPrivate.hh | otamachan/ros-indigo-gazebo7-deb | abc6b40247cdce14d9912096a0ad5135d420ce04 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2015-2016 Open Source Robotics Foundation
*
* 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... | 26.910448 | 75 | 0.69107 | [
"vector"
] |
0a247bdcfc4fdf0a6788f6ece21f485ba516edae | 1,611 | hpp | C++ | include/bridgingcommands.hpp | dcao-ampere/ampere-ipmi-oem | e71dce5b4a6dfd195c539360cdc98c2d2e2c2880 | [
"Apache-2.0"
] | 1 | 2022-03-09T05:51:47.000Z | 2022-03-09T05:51:47.000Z | include/bridgingcommands.hpp | ampere-openbmc/ampere-ipmi-oem | 308491a1649c464cf39029ee42bcf8674948bf09 | [
"Apache-2.0"
] | null | null | null | include/bridgingcommands.hpp | ampere-openbmc/ampere-ipmi-oem | 308491a1649c464cf39029ee42bcf8674948bf09 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018-2021 Ampere Computing LLC
*
* 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... | 27.775862 | 77 | 0.713222 | [
"vector"
] |
0a32583b2efacd1025553fb466926a176d78046a | 8,078 | cpp | C++ | BGE/assign.cpp | KeithCa/BGE3 | e196be96859539970563689acf27042b6107f171 | [
"MIT"
] | null | null | null | BGE/assign.cpp | KeithCa/BGE3 | e196be96859539970563689acf27042b6107f171 | [
"MIT"
] | null | null | null | BGE/assign.cpp | KeithCa/BGE3 | e196be96859539970563689acf27042b6107f171 | [
"MIT"
] | null | null | null | #include "Content.h"
#include "VectorDrawer.h"
#include "GravityController.h"
#include "Box.h"
#include "Sphere.h"
#include "Capsule.h"
#include "Cylinder.h"
#include "Steerable2DController.h"
#include "Steerable3DController.h"
#include "PhysicsFactory.h"
#include <btBulletDynamicsCommon.h>
#include "Utils.h"
#include... | 50.4875 | 220 | 0.732855 | [
"transform"
] |
0a39e05d00144178d7ccb350810603d523ab196d | 3,453 | cpp | C++ | Sources/Constructors.cpp | SalnikovDE/CppObject | 9e52f599a9d9ea31c074b40636c45ad20649d66a | [
"MIT"
] | null | null | null | Sources/Constructors.cpp | SalnikovDE/CppObject | 9e52f599a9d9ea31c074b40636c45ad20649d66a | [
"MIT"
] | null | null | null | Sources/Constructors.cpp | SalnikovDE/CppObject | 9e52f599a9d9ea31c074b40636c45ad20649d66a | [
"MIT"
] | null | null | null | //
// Created by danil on 04.11.2021.
//
#include "../Headers/Object.h"
namespace CppObject
{
Object::Object()
{
type = None;
}
Object::Object(int n) :
type(Int),
container((void *) new int(n))
{}
Object::Object(double d) :
typ... | 25.20438 | 83 | 0.427454 | [
"object",
"vector"
] |
0a3cce9e4191ee209e5968dd1568640de2fe4731 | 3,136 | hpp | C++ | include/codegen/include/GlobalNamespace/VRsenalLogger.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/VRsenalLogger.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/VRsenalLogger.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"
// Including type: UnityEngine.MonoBehaviour
#include "UnityEngine/MonoBeh... | 41.813333 | 159 | 0.755102 | [
"object"
] |
0a40120efe4ee3d293973cc469d2d0a693dc06d1 | 12,906 | cpp | C++ | src/test/fir_filter_bank.cpp | nankasuisui/phaselimiter | dd155676a3750d4977b8248d52fc77f5c28d1906 | [
"MIT"
] | 12 | 2021-07-07T14:37:20.000Z | 2022-03-07T16:43:47.000Z | src/test/fir_filter_bank.cpp | nankasuisui/phaselimiter | dd155676a3750d4977b8248d52fc77f5c28d1906 | [
"MIT"
] | null | null | null | src/test/fir_filter_bank.cpp | nankasuisui/phaselimiter | dd155676a3750d4977b8248d52fc77f5c28d1906 | [
"MIT"
] | 3 | 2021-04-03T13:36:02.000Z | 2021-12-28T20:21:10.000Z | #include <iostream>
#include <vector>
#include <sstream>
#include <chrono>
#include <string>
#include <stdexcept>
#include <random>
#include "gtest/gtest.h"
#include "bakuage/utils.h"
#include "bakuage/delay_filter.h"
#include "bakuage/fir_design.h"
#include "bakuage/fir_filter.h"
#include "bakuage/fir_filter_bank.h"... | 39.227964 | 141 | 0.594762 | [
"vector"
] |
0a4146ea5ef5bedbeec0b29cea6e0a03374d5da2 | 9,220 | cpp | C++ | src/fifo-query.cpp | eggeek/RoutingKit | 677fec8f1712e6de95844c14035683358cb92842 | [
"BSD-2-Clause"
] | null | null | null | src/fifo-query.cpp | eggeek/RoutingKit | 677fec8f1712e6de95844c14035683358cb92842 | [
"BSD-2-Clause"
] | null | null | null | src/fifo-query.cpp | eggeek/RoutingKit | 677fec8f1712e6de95844c14035683358cb92842 | [
"BSD-2-Clause"
] | null | null | null | #include <sys/stat.h>
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <csignal>
#include <omp.h>
#include <fstream>
#include <iostream>
#include <routingkit/vector_io.h>
#include <routingkit/permutation.h>
#include <routingkit/inverse_vector.h>
#include <routingkit/customizable_contraction_hierarchy.... | 27.60479 | 94 | 0.634056 | [
"vector"
] |
0a4270788a3d5c1beb617f24a3c525d5c9384001 | 2,280 | cpp | C++ | src/app/qranker-barista/BipartiteGraph.cpp | johnhalloran321/crux-toolkit | 329390c63a4ec8ab4add22d847732dfa2e7f74ca | [
"Apache-2.0"
] | 8 | 2018-02-26T00:56:14.000Z | 2021-10-31T03:45:53.000Z | src/app/qranker-barista/BipartiteGraph.cpp | johnhalloran321/crux-toolkit | 329390c63a4ec8ab4add22d847732dfa2e7f74ca | [
"Apache-2.0"
] | null | null | null | src/app/qranker-barista/BipartiteGraph.cpp | johnhalloran321/crux-toolkit | 329390c63a4ec8ab4add22d847732dfa2e7f74ca | [
"Apache-2.0"
] | null | null | null | #include "BipartiteGraph.h"
void BipartiteGraph::create_bipartite_graph(map<int, set<int> > data)
{
int n = data.size();
//allocate the range array
ranges = new Range[n];
nranges = 0;
nindices = 0;
int max_len = 0;
for(map <int, set<int> >::iterator it = data.begin(); it != data.end(); it++)
{
... | 21.308411 | 90 | 0.574561 | [
"vector"
] |
0a45c764db8ceafad5930afdb07bafec468f3adc | 3,744 | cpp | C++ | src/graphics/Quad.cpp | RamilHinshaw/LotusEngine | 2bdd6ba9c67b70c6e0f4d5fea213ca113b869a5e | [
"MIT"
] | 1 | 2019-11-07T14:57:04.000Z | 2019-11-07T14:57:04.000Z | src/graphics/Quad.cpp | RamilHinshaw/LotusEngine | 2bdd6ba9c67b70c6e0f4d5fea213ca113b869a5e | [
"MIT"
] | null | null | null | src/graphics/Quad.cpp | RamilHinshaw/LotusEngine | 2bdd6ba9c67b70c6e0f4d5fea213ca113b869a5e | [
"MIT"
] | null | null | null | // #include "Quad.hpp"
// #include <iostream>
// Quad::Quad()
// {
// std::cout << "Quad Constructor Called" << std::endl;
// m_shader = generateShader();
// m_mesh = generatePrimative();
// }
// Quad::Quad(glm::vec3 position) : Quad()
// {
// m_transform->translate(position);
// }
// Quad::Quad(const Rec... | 29.714286 | 118 | 0.535791 | [
"mesh"
] |
0a4b3681af975b43b9fec367b7ab43077b540baf | 6,053 | hpp | C++ | src/resources/Program.hpp | JoaoBaptMG/INF443-Project | 8c43007a8092931b125cc7feae2adf162e04534e | [
"MIT"
] | 8 | 2020-06-09T00:43:39.000Z | 2021-09-27T13:55:46.000Z | src/resources/Program.hpp | JoaoBaptMG/INF443-Project | 8c43007a8092931b125cc7feae2adf162e04534e | [
"MIT"
] | 1 | 2020-06-09T02:38:55.000Z | 2020-06-09T13:28:13.000Z | src/resources/Program.hpp | JoaoBaptMG/INF443-Project | 8c43007a8092931b125cc7feae2adf162e04534e | [
"MIT"
] | 3 | 2020-06-09T00:28:11.000Z | 2020-12-30T08:07:34.000Z | #pragma once
#include <glad/glad.h>
#include <type_traits>
#include <string>
#include <glm/glm.hpp>
#include <vector>
#include <memory>
#include "Shader.hpp"
namespace gl
{
class ProgramException : public std::runtime_error
{
public:
ProgramException(std::string what) : std::runtime_error(what) {}... | 48.424 | 107 | 0.646952 | [
"vector"
] |
aea7693e8d812ea462b49e5ce0ac37e0dd39a336 | 9,374 | cpp | C++ | src/states/PlayGameState_Render.cpp | Press-Play-On-Tape/PiCross_Pokitto | 8a08ac65d232c8457b2ee323be58c52f09757ced | [
"BSD-3-Clause"
] | null | null | null | src/states/PlayGameState_Render.cpp | Press-Play-On-Tape/PiCross_Pokitto | 8a08ac65d232c8457b2ee323be58c52f09757ced | [
"BSD-3-Clause"
] | null | null | null | src/states/PlayGameState_Render.cpp | Press-Play-On-Tape/PiCross_Pokitto | 8a08ac65d232c8457b2ee323be58c52f09757ced | [
"BSD-3-Clause"
] | null | null | null | #include "PlayGameState.h"
#include "../puzzles/Puzzles.h"
#include "../images/Images.h"
#include "../utils/Utils.h"
#include "../utils/Enums.h"
using PC = Pokitto::Core;
using PD = Pokitto::Display;
// ------------------------------------------------------------------------------------------------------------------... | 31.668919 | 250 | 0.463196 | [
"render"
] |
aea904e78ee56eae7d84edc1206f75f770fd59f3 | 5,733 | cc | C++ | ui/base/clipboard/scoped_clipboard_writer.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/base/clipboard/scoped_clipboard_writer.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/base/clipboard/scoped_clipboard_writer.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/base/clipboard/scoped_clipboard_writer.h"
#include "base/pickle.h"
#include "base/strings/utf_string_conversions.h"
#include "net/base/e... | 36.75 | 79 | 0.689342 | [
"geometry"
] |
aeb123abd1c85aa47bfe111e7779dc11afd7fa60 | 20,472 | cpp | C++ | tests/bench_upcxx_depspawn.cpp | UDC-GAC/upcxx_depspawn | 01007cb329f702e92fefafc44b21c03ed6c38c94 | [
"MIT"
] | null | null | null | tests/bench_upcxx_depspawn.cpp | UDC-GAC/upcxx_depspawn | 01007cb329f702e92fefafc44b21c03ed6c38c94 | [
"MIT"
] | null | null | null | tests/bench_upcxx_depspawn.cpp | UDC-GAC/upcxx_depspawn | 01007cb329f702e92fefafc44b21c03ed6c38c94 | [
"MIT"
] | null | null | null | /*
UPCxx_DepSpawn: UPC++ Data Dependent Spawn library
Copyright (C) 2021-2022 Basilio B. Fraguela. Universidade da Coruna
Distributed under the MIT License. (See accompanying file LICENSE)
*/
/// \file bench_upcxx_depspawn.cpp
/// \brief Benchmarking
/// \author Basilio B. Fraguela <basilio.fraguela@udc... | 26.552529 | 224 | 0.582747 | [
"vector"
] |
aeb33f012623ad27f07436f611c1fd3997112915 | 5,269 | cpp | C++ | demon_test/marginGeometryClass.cpp | simon22014/visiontool | a6c1d68f00fd97e7f42fb49bd1247d44f1841472 | [
"MIT"
] | null | null | null | demon_test/marginGeometryClass.cpp | simon22014/visiontool | a6c1d68f00fd97e7f42fb49bd1247d44f1841472 | [
"MIT"
] | null | null | null | demon_test/marginGeometryClass.cpp | simon22014/visiontool | a6c1d68f00fd97e7f42fb49bd1247d44f1841472 | [
"MIT"
] | 1 | 2020-12-13T13:28:43.000Z | 2020-12-13T13:28:43.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: marginGeometryClass.cpp
* Author: aqq
*
* Created on 2017年4月27日, 下午4:47
*/
#include "marginGeometryClass.h"
marg... | 30.812865 | 113 | 0.607895 | [
"vector"
] |
aeb3db75f91b687a0274c47ad1ea9e9e85453244 | 3,064 | cpp | C++ | common/common.cpp | cea-ufmg/fdas | 654f1acfab9bfc52a3e25fdd7656eeb78218cb86 | [
"MIT"
] | null | null | null | common/common.cpp | cea-ufmg/fdas | 654f1acfab9bfc52a3e25fdd7656eeb78218cb86 | [
"MIT"
] | null | null | null | common/common.cpp | cea-ufmg/fdas | 654f1acfab9bfc52a3e25fdd7656eeb78218cb86 | [
"MIT"
] | null | null | null | /**
* Common infrastructure for the FDAS.
*/
#include "common.hpp"
#include <string>
#include <vector>
namespace po = boost::program_options;
using std::list;
using std::shared_ptr;
using std::string;
using std::vector;
namespace fdas {
void TextFileDataSink::Take(Datum<int8_t> datum) {
this->ostream << '"' <<... | 28.110092 | 76 | 0.615862 | [
"vector"
] |
aeb430b4b35fdfdf261188a41476280f237098f5 | 26,384 | cc | C++ | src/DetectionSystemTestPlastics.cc | hbidaman/detectorSimulations_v10 | 6ceae8e9561638d5a3c886571f60141abc09922c | [
"MIT"
] | null | null | null | src/DetectionSystemTestPlastics.cc | hbidaman/detectorSimulations_v10 | 6ceae8e9561638d5a3c886571f60141abc09922c | [
"MIT"
] | null | null | null | src/DetectionSystemTestPlastics.cc | hbidaman/detectorSimulations_v10 | 6ceae8e9561638d5a3c886571f60141abc09922c | [
"MIT"
] | null | null | null | #include "DetectorConstruction.hh"
#include "DetectorMessenger.hh"
#include "G4Material.hh"
#include "G4Tubs.hh"
#include "G4Box.hh"
#include "G4Cons.hh"
#include "G4Sphere.hh"
#include "G4LogicalVolume.hh"
#include "G4PVPlacement.hh"
#include "G4Polyhedra.hh"
#include "G4SubtractionSolid.hh"
#include "G4UnionSolid.... | 51.032882 | 260 | 0.728244 | [
"geometry",
"solid"
] |
aeb56833e937fd3a6a7ab7f72dd24aca40217296 | 5,560 | cpp | C++ | widget.cpp | ic3man5/KeyControl | 4129c2a0aae013ae78964edabb260c7a14fb31e9 | [
"Unlicense"
] | null | null | null | widget.cpp | ic3man5/KeyControl | 4129c2a0aae013ae78964edabb260c7a14fb31e9 | [
"Unlicense"
] | null | null | null | widget.cpp | ic3man5/KeyControl | 4129c2a0aae013ae78964edabb260c7a14fb31e9 | [
"Unlicense"
] | null | null | null | #include "widget.h"
#include "ui_widget.h"
#include <QDebug>
#include <QSettings>
auto construct_name = [](auto* w) -> auto {
auto* parent = w->parent();
if (auto* temp = qobject_cast<QGroupBox*>(parent))
return QString("%1 %2").arg(temp->title(), w->text());
qDebug() << "NOPE!";
return w->text... | 34.968553 | 129 | 0.660252 | [
"geometry"
] |
aec06d4b23c9b9f61812d3d2faee6546c8eef08c | 1,031 | cpp | C++ | examples/image_live_view/image_processor.cpp | zhujun98/EXtra-foam | 680d6d7fd4afdcbc41eb8e440feac54b6cecab33 | [
"BSD-3-Clause"
] | 7 | 2019-11-27T09:31:37.000Z | 2022-02-12T21:28:49.000Z | examples/image_live_view/image_processor.cpp | zhujun98/EXtra-foam | 680d6d7fd4afdcbc41eb8e440feac54b6cecab33 | [
"BSD-3-Clause"
] | 172 | 2019-12-03T07:56:02.000Z | 2022-03-25T15:46:45.000Z | examples/image_live_view/image_processor.cpp | zhujun98/EXtra-foam | 680d6d7fd4afdcbc41eb8e440feac54b6cecab33 | [
"BSD-3-Clause"
] | 9 | 2019-11-27T09:32:38.000Z | 2022-01-05T09:56:10.000Z | /**
* Distributed under the terms of the BSD 3-Clause License.
*
* The full license is in the file LICENSE, distributed with this software.
*
* Author: Jun Zhu <jun.zhu@xfel.eu>
* Copyright (C) European X-Ray Free-Electron Laser Facility GmbH.
* All rights reserved.
*/
#include <QThread>
#include <QImage>
#incl... | 21.479167 | 89 | 0.678952 | [
"shape"
] |
aecb7c6ed5c027a8979d8936139718205befea8e | 3,287 | cxx | C++ | smtk/extension/qt/qtSMTKUtilities.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 40 | 2015-02-21T19:55:54.000Z | 2022-01-06T13:13:05.000Z | smtk/extension/qt/qtSMTKUtilities.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 127 | 2015-01-15T20:55:45.000Z | 2021-08-19T17:34:15.000Z | smtk/extension/qt/qtSMTKUtilities.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 27 | 2015-03-04T14:17:51.000Z | 2021-12-23T01:05:42.000Z | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 33.20202 | 99 | 0.726498 | [
"model"
] |
aecc69eca3807d105dba5855b89df59d2e39c50f | 209 | hpp | C++ | src/victoryconnect/headers/victoryconnect.hpp | victoryforphil/VictoryConnect-ClientCPP | 6ad06edcd6339df933af337f2fa9d111c83d6e2d | [
"MIT"
] | null | null | null | src/victoryconnect/headers/victoryconnect.hpp | victoryforphil/VictoryConnect-ClientCPP | 6ad06edcd6339df933af337f2fa9d111c83d6e2d | [
"MIT"
] | null | null | null | src/victoryconnect/headers/victoryconnect.hpp | victoryforphil/VictoryConnect-ClientCPP | 6ad06edcd6339df933af337f2fa9d111c83d6e2d | [
"MIT"
] | null | null | null | #ifndef _VC_HEADER__
#define _VC_HEADER__
#include <vector>
#include <string>
#include "packet.hpp"
#include "client.hpp"
#include "packet_parser.hpp"
#include "utils.hpp"
#include "tcp_connection.hpp"
#endif
| 19 | 29 | 0.770335 | [
"vector"
] |
aed89f4a6dd409c4381e356626e390b17b76d8c9 | 3,535 | hpp | C++ | src/Renderers/OIT/WBOITRenderer.hpp | chrismile/LineVis | f0e20c0f138bc9ee9c7da07cc39a235527af7e2d | [
"Apache-2.0"
] | 25 | 2021-09-14T12:24:27.000Z | 2022-03-24T10:57:03.000Z | src/Renderers/OIT/WBOITRenderer.hpp | chrismile/LineVis | f0e20c0f138bc9ee9c7da07cc39a235527af7e2d | [
"Apache-2.0"
] | 1 | 2021-09-07T09:07:35.000Z | 2021-09-07T09:07:35.000Z | src/Renderers/OIT/WBOITRenderer.hpp | chrismile/LineVis | f0e20c0f138bc9ee9c7da07cc39a235527af7e2d | [
"Apache-2.0"
] | 3 | 2021-09-01T21:39:15.000Z | 2022-03-18T14:18:05.000Z | /*
* BSD 2-Clause License
*
* Copyright (c) 2021, Christoph Neuhauser
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright ... | 41.588235 | 119 | 0.758982 | [
"render",
"object",
"model"
] |
aed8f74b71eea9540d8e7c479e0128f20b032cb4 | 30,048 | cpp | C++ | dev/Code/CryEngine/RenderDll/XRenderD3D9/DXMETAL/Interfaces/CCryDXMETALDevice.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Code/CryEngine/RenderDll/XRenderD3D9/DXMETAL/Interfaces/CCryDXMETALDevice.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Code/CryEngine/RenderDll/XRenderD3D9/DXMETAL/Interfaces/CCryDXMETALDevice.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 33.01978 | 323 | 0.73103 | [
"geometry",
"render",
"3d"
] |
aedc3f873175afe74cb31e2283c733e7c962b2e5 | 546 | hpp | C++ | graphics/Mesh.hpp | wendellbrito/engine | 8543eb19cdd9ed73224a111a98955f2319a1c3f2 | [
"MIT"
] | 2 | 2022-03-21T12:50:56.000Z | 2022-03-27T02:35:03.000Z | graphics/Mesh.hpp | wendellbrito/engine | 8543eb19cdd9ed73224a111a98955f2319a1c3f2 | [
"MIT"
] | null | null | null | graphics/Mesh.hpp | wendellbrito/engine | 8543eb19cdd9ed73224a111a98955f2319a1c3f2 | [
"MIT"
] | null | null | null | #ifndef MESH_HPP
#define MESH_HPP
#include "glm/mat4x4.hpp"
#include <vector>
#include <string>
class Mesh
{
private:
unsigned int vertexArray;
unsigned int vertexBuffer;
unsigned int elementBuffer;
glm::mat4 modelMatrix;
uint32_t indiceNumber;
public:
Mesh(... | 18.827586 | 91 | 0.644689 | [
"mesh",
"vector"
] |
aeddc27519dd91655aef0f03ff4e4f339f870426 | 11,514 | cpp | C++ | backup/some old code and slides/sample/costtest.cpp | rwang0417/d2c_mujoco200 | 84609fbb14dc38dadf35193d0c7c4431e6f22913 | [
"MIT"
] | 2 | 2020-02-24T00:15:39.000Z | 2020-09-02T03:20:46.000Z | backup/some old code and slides/sample/costtest.cpp | rwang0417/d2c_mujoco200 | 84609fbb14dc38dadf35193d0c7c4431e6f22913 | [
"MIT"
] | null | null | null | backup/some old code and slides/sample/costtest.cpp | rwang0417/d2c_mujoco200 | 84609fbb14dc38dadf35193d0c7c4431e6f22913 | [
"MIT"
] | 3 | 2019-08-05T20:21:04.000Z | 2020-09-02T03:20:49.000Z | //---------------------------------//
// This file is part of MuJoCo //
// Written by Emo Todorov //
// Copyright (C) 2017 Roboti LLC //
//---------------------------------//
#include "mujoco.h"
#include "mjxmacro.h"
#include <stdlib.h>
#include <stdio.h>
#include <string>
#include <chrono>
#include <m... | 24.655246 | 175 | 0.496265 | [
"model"
] |
aede64aabe08d9d06a03ae69bf8556670feb9902 | 2,466 | cpp | C++ | SyntacticSemanticParsing/src/semantic_parser/nodes-argmax-proj.cpp | Noahs-ARK/SPIGOT | f1e74019cb568420aacd7e30e21064756c725ca1 | [
"MIT"
] | 21 | 2018-05-19T09:58:49.000Z | 2022-02-27T13:07:51.000Z | SDPClassification/src/semantic_parser/nodes-argmax-proj.cpp | Noahs-ARK/SPIGOT | f1e74019cb568420aacd7e30e21064756c725ca1 | [
"MIT"
] | 1 | 2019-05-02T03:36:48.000Z | 2019-05-02T03:36:48.000Z | SyntacticSemanticParsing/src/semantic_parser/nodes-argmax-proj.cpp | Noahs-ARK/SPIGOT | f1e74019cb568420aacd7e30e21064756c725ca1 | [
"MIT"
] | 3 | 2019-04-16T20:46:40.000Z | 2019-08-26T09:57:14.000Z | //
// Created by hpeng on 1/12/18.
//
#include "nodes-argmax-proj.h"
using namespace std;
namespace dynet {
// ************* ArgmaxProj *************
#ifndef __CUDACC__
string ArgmaxProj::as_string(const vector<string> &arg_names) const {
ostringstream s;
s << "ArgmaxProj: (" << arg_names[0] << ")";
return s... | 30.444444 | 76 | 0.579481 | [
"vector"
] |
aeeed85dc071b5f93474c9f5e6d2135309a2f039 | 4,715 | cxx | C++ | Loadable/ParticlesDisplay/qSlicerParticlesDisplayModule.cxx | aiycko/SlicerCIP | 5d3e9f1c72c96be85d4ca8244315a1cfa7e2da1d | [
"BSD-3-Clause"
] | null | null | null | Loadable/ParticlesDisplay/qSlicerParticlesDisplayModule.cxx | aiycko/SlicerCIP | 5d3e9f1c72c96be85d4ca8244315a1cfa7e2da1d | [
"BSD-3-Clause"
] | null | null | null | Loadable/ParticlesDisplay/qSlicerParticlesDisplayModule.cxx | aiycko/SlicerCIP | 5d3e9f1c72c96be85d4ca8244315a1cfa7e2da1d | [
"BSD-3-Clause"
] | null | null | null | /*==============================================================================
Program: 3D Slicer
Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to ... | 33.439716 | 80 | 0.559279 | [
"3d"
] |
aef70b55eecadd0d5101e25ac575fc3749a1f815 | 3,930 | cpp | C++ | source/examples/gpu-particles/ComputeShaderParticles.cpp | kateyy/globjects | 4c5fc073063ca52ea32ce0adb57009a3c52f72a8 | [
"MIT"
] | null | null | null | source/examples/gpu-particles/ComputeShaderParticles.cpp | kateyy/globjects | 4c5fc073063ca52ea32ce0adb57009a3c52f72a8 | [
"MIT"
] | null | null | null | source/examples/gpu-particles/ComputeShaderParticles.cpp | kateyy/globjects | 4c5fc073063ca52ea32ce0adb57009a3c52f72a8 | [
"MIT"
] | null | null | null |
#include "ComputeShaderParticles.h"
#include <glbinding/gl/gl.h>
#include <globjects/base/AbstractStringSource.h>
#include <globjects/globjects.h>
#include <globjects/Buffer.h>
#include <globjects/Program.h>
#include <globjects/VertexArray.h>
#include <globjects/Shader.h>
#include <globjects/Texture.h>
#include <gl... | 29.328358 | 125 | 0.736387 | [
"vector"
] |
aefe48bd7157edf000795a309f75eb5b76bd0ddc | 12,166 | cpp | C++ | dialog/dialogflight.cpp | ignmiz/ATC_Console | 549dd67a007cf54b976e33fed1581f30beb08b06 | [
"Intel",
"MIT"
] | 5 | 2018-01-08T22:20:07.000Z | 2021-06-19T17:42:29.000Z | dialog/dialogflight.cpp | ignmiz/ATC_Console | 549dd67a007cf54b976e33fed1581f30beb08b06 | [
"Intel",
"MIT"
] | null | null | null | dialog/dialogflight.cpp | ignmiz/ATC_Console | 549dd67a007cf54b976e33fed1581f30beb08b06 | [
"Intel",
"MIT"
] | 2 | 2017-08-07T23:07:42.000Z | 2021-05-09T13:02:39.000Z | #include "dialogflight.h"
#include "ui_dialogflight.h"
DialogFlight::DialogFlight(ATCSimulation *sim, ATCAirspace *airspace, ATC::SimCreationMode m, QWidget *parent) :
simulation(sim),
airspace(airspace),
mode(m),
ATCDialog(parent, "Simulation Creator", 600, 650),
uiInner(new Ui::DialogFlight)
{
... | 31.35567 | 171 | 0.660365 | [
"model"
] |
4e02da48c526e4cd081f7a740dabbbd3aee80073 | 2,262 | hpp | C++ | include/GlobalNamespace/StandardLevelLoader.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/StandardLevelLoader.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/StandardLevelLoader.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"
#include "beatsaber-hook/shared/utils/typedefs-... | 46.163265 | 202 | 0.748011 | [
"vector"
] |
4e0991f3ffc1834adbeea17db7340de1be2bc96a | 4,313 | cpp | C++ | src/Driver.cpp | yxonic/ycc1 | 01ecf01d0e069fa9e976387164c80ee171913915 | [
"MIT"
] | 1 | 2016-09-28T02:14:30.000Z | 2016-09-28T02:14:30.000Z | src/Driver.cpp | yxonic/ycc1 | 01ecf01d0e069fa9e976387164c80ee171913915 | [
"MIT"
] | null | null | null | src/Driver.cpp | yxonic/ycc1 | 01ecf01d0e069fa9e976387164c80ee171913915 | [
"MIT"
] | null | null | null | #include <iostream>
#include <sys/ioctl.h>
#include <unistd.h>
#include <stdio.h>
#include "Driver.h"
#include "Utils.h"
using namespace std;
using namespace llvm;
constexpr int BUFSIZE = 4096 * 1024;
char buf[BUFSIZE];
Driver::Driver(string s, LLVMCodeGen *codegen)
: _file_name(s), _codegen(codegen)
{
FILE... | 23.313514 | 70 | 0.558544 | [
"object"
] |
4e0f77ce06ca71372d43fdd51fef4e3f8f567e5b | 38,538 | cpp | C++ | services/Car/vehicle_network_service/VehicleNetworkService.cpp | Keneral/apackages | af6a7ffde2e52d8d4e073b4030244551246248ad | [
"Unlicense"
] | null | null | null | services/Car/vehicle_network_service/VehicleNetworkService.cpp | Keneral/apackages | af6a7ffde2e52d8d4e073b4030244551246248ad | [
"Unlicense"
] | null | null | null | services/Car/vehicle_network_service/VehicleNetworkService.cpp | Keneral/apackages | af6a7ffde2e52d8d4e073b4030244551246248ad | [
"Unlicense"
] | null | null | null | /*
* Copyright (C) 2016 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 app... | 35.551661 | 100 | 0.628237 | [
"vector"
] |
4e11ba60363a744b6c49b5e50ba80deae1d2603c | 3,704 | hpp | C++ | pwiz/data/vendor_readers/Bruker/Reader_Bruker.hpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz/data/vendor_readers/Bruker/Reader_Bruker.hpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz/data/vendor_readers/Bruker/Reader_Bruker.hpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | //
// $Id$
//
//
// Original author: Matt Chambers <matt.chambers .@. vanderbilt.edu>
//
// Copyright 2009 Vanderbilt University - Nashville, TN 37232
//
// 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... | 34.616822 | 128 | 0.666847 | [
"vector"
] |
4e19dee9134301145367546d475f26a6c3fd6a40 | 19,685 | cpp | C++ | src/backend_python.cpp | junefish/hdf5-udf | 0961e0caf579fa148ca49792aa9b488547ea6e46 | [
"MIT"
] | null | null | null | src/backend_python.cpp | junefish/hdf5-udf | 0961e0caf579fa148ca49792aa9b488547ea6e46 | [
"MIT"
] | null | null | null | src/backend_python.cpp | junefish/hdf5-udf | 0961e0caf579fa148ca49792aa9b488547ea6e46 | [
"MIT"
] | null | null | null | /*
* HDF5-UDF: User-Defined Functions for HDF5
*
* File: backend_python.cpp
*
* Python code parser and bytecode generation/execution.
*/
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <dlfcn.h>
#include <errno.h>
#include <fstream>
#include <sstream>
... | 33.939655 | 102 | 0.606706 | [
"object",
"vector"
] |
4e1bd6cc7db8c22848f0872c6b927a6b1494da2f | 2,239 | cpp | C++ | atcoder/past/past002/g.cpp | zaurus-yusya/atcoder | 5fc345b3da50222fa1366d1ce52ae58799488cef | [
"MIT"
] | 3 | 2020-05-27T16:27:12.000Z | 2021-01-27T12:47:12.000Z | atcoder/past/past002/g.cpp | zaurus-yusya/Competitive-Programming | c72e13a11f76f463510bd4a476b86631d9d1b13a | [
"MIT"
] | null | null | null | atcoder/past/past002/g.cpp | zaurus-yusya/Competitive-Programming | c72e13a11f76f463510bd4a476b86631d9d1b13a | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
typedef long long ll;
typedef long double ld;
#define rep(i,n) for(ll i=0;i<(n);i++)
#define repr(i,n) for(ll i=(n-1);i>=0;i--)
#define all(x) x.begin(),x.end()
#define br cout << "\n";
using namespace std;
const int INF = 1e9;
const int MOD = 1e9+7;
using Graph = vector<vector<ll>>;
template<c... | 26.654762 | 95 | 0.367575 | [
"vector"
] |
4e258dbf03ed4c554b468540ffce3604c24dbd94 | 20,869 | inl | C++ | libpoisson/poisson_screened/MultiGridOctreeData.WeightedSamples.inl | janm31415/PoissonRecon | e3b1c743577670bd1437cf527129d5eb6c5be4e9 | [
"MIT"
] | null | null | null | libpoisson/poisson_screened/MultiGridOctreeData.WeightedSamples.inl | janm31415/PoissonRecon | e3b1c743577670bd1437cf527129d5eb6c5be4e9 | [
"MIT"
] | null | null | null | libpoisson/poisson_screened/MultiGridOctreeData.WeightedSamples.inl | janm31415/PoissonRecon | e3b1c743577670bd1437cf527129d5eb6c5be4e9 | [
"MIT"
] | 1 | 2022-03-14T06:47:24.000Z | 2022-03-14T06:47:24.000Z | /*
Copyright (c) 2006, Michael Kazhdan and Matthew Bolitho
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of
conditions ... | 46.79148 | 312 | 0.679429 | [
"vector"
] |
4e260fd5ee1279d8cb4a9fb413434a9f66901f03 | 6,151 | cpp | C++ | libwfs/RequestParameterMap.cpp | nakkim/smartmet-plugin-wfs | 851334dd3be1a24b9708f66696f088fdc857a999 | [
"MIT"
] | null | null | null | libwfs/RequestParameterMap.cpp | nakkim/smartmet-plugin-wfs | 851334dd3be1a24b9708f66696f088fdc857a999 | [
"MIT"
] | 2 | 2018-04-17T10:02:46.000Z | 2019-10-21T08:57:55.000Z | libwfs/RequestParameterMap.cpp | nakkim/smartmet-plugin-wfs | 851334dd3be1a24b9708f66696f088fdc857a999 | [
"MIT"
] | 2 | 2017-05-10T12:03:51.000Z | 2021-07-06T07:05:25.000Z | #include "RequestParameterMap.h"
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
#include <macgyver/Exception.h>
#include <algorithm>
namespace bw = SmartMet::Plugin::WFS;
bw::RequestParameterMap::RequestParameterMap() : params() {}
bw::RequestParameterMap::RequestParameterMap(
const std::multimap<std::st... | 22.125899 | 100 | 0.513738 | [
"vector",
"transform"
] |
89ed6fa725baecb44cf048deb239330a881f00a2 | 1,907 | cpp | C++ | uva/10801.cpp | larc/competitive_programming | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | 1 | 2019-05-23T19:05:39.000Z | 2019-05-23T19:05:39.000Z | uva/10801.cpp | larc/oremor | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | null | null | null | uva/10801.cpp | larc/oremor | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <vector>
#include <queue>
#include <sstream>
#define E 5 // elevators
#define N 100 // floors
struct floor_t
{
int e, n; // elevator, floor
unsigned int d; // distance
};
bool operator<(const floor_t & a, const floor_t & b)
{
return a.d > b.d;
}
unsigned int T[E]... | 15.379032 | 106 | 0.515994 | [
"vector"
] |
89fcc5d9d5e0ac362d3e7d89fd16851f14c0789b | 962 | cpp | C++ | 645_find_error_nums/find_error_nums.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | 645_find_error_nums/find_error_nums.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | 645_find_error_nums/find_error_nums.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | /*
* @Date: 2021-07-04 10:22:59
* @Author: Mengsen Wang
* @LastEditors: Mengsen Wang
* @LastEditTime: 2021-07-04 12:29:44
*/
#include <cassert>
#include <vector>
using namespace std;
vector<int> findErrorNums(vector<int>& nums) {
int n = nums.size();
int xorSum = 0;
for (int num : nums) xorSum ^= num;
f... | 20.041667 | 64 | 0.545738 | [
"vector"
] |
d60b2c9c9f41770ca26787cbb9d072863525fcaa | 6,264 | cpp | C++ | clang/lib/cpp_lowering/ConstructorLowering.cpp | compiler-tree-technologies/cil | 195acc33e14715da9f5a1746b489814d56c015f7 | [
"BSD-2-Clause"
] | 21 | 2021-02-08T15:42:18.000Z | 2022-02-23T03:25:10.000Z | clang/lib/cpp_lowering/ConstructorLowering.cpp | compiler-tree-technologies/cil | 195acc33e14715da9f5a1746b489814d56c015f7 | [
"BSD-2-Clause"
] | 3 | 2021-02-20T14:24:45.000Z | 2021-08-04T04:20:05.000Z | clang/lib/cpp_lowering/ConstructorLowering.cpp | compiler-tree-technologies/cil | 195acc33e14715da9f5a1746b489814d56c015f7 | [
"BSD-2-Clause"
] | 6 | 2021-02-08T16:57:07.000Z | 2022-01-13T11:32:34.000Z | // Copyright (c) 2019, Compiler Tree Technologies Pvt Ltd.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// th... | 37.963636 | 80 | 0.688538 | [
"shape"
] |
d612378c75d2051aa79a82876a90992948c0834d | 20,844 | cpp | C++ | src/atlas/graphics/Mesh.cpp | Groutcho/atlas | b69b7759be0361ffdcbbba64501e07feb79143be | [
"MIT"
] | 5 | 2018-12-13T03:41:12.000Z | 2020-08-27T04:45:11.000Z | src/atlas/graphics/Mesh.cpp | Groutcho/atlas | b69b7759be0361ffdcbbba64501e07feb79143be | [
"MIT"
] | 1 | 2020-09-08T07:26:59.000Z | 2020-09-08T09:21:44.000Z | src/atlas/graphics/Mesh.cpp | Groutcho/atlas | b69b7759be0361ffdcbbba64501e07feb79143be | [
"MIT"
] | 5 | 2018-12-20T10:31:09.000Z | 2021-09-07T07:38:49.000Z | #include "RenderingOptions.hpp"
#include "Mesh.hpp"
#include "Time.hpp"
#include "atlas/core/Math.hpp"
#include <glm/gtc/matrix_transform.hpp>
namespace atlas
{
namespace graphics
{
Mesh::Mesh(uint32_t vertexCount) :
vertexCount(vertexCount)
{
_vertices.resize(vertexCoun... | 34.282895 | 142 | 0.498417 | [
"mesh",
"vector",
"model"
] |
d61a9e4a18ebd983d1659265f3043f647f98bd7c | 1,917 | cpp | C++ | leetcode/311.sparse-matrix-multiplication.cpp | geemaple/algorithm | 68bc5032e1ee52c22ef2f2e608053484c487af54 | [
"MIT"
] | 177 | 2017-08-21T08:57:43.000Z | 2020-06-22T03:44:22.000Z | leetcode/311.sparse-matrix-multiplication.cpp | geemaple/algorithm | 68bc5032e1ee52c22ef2f2e608053484c487af54 | [
"MIT"
] | 2 | 2018-09-06T13:39:12.000Z | 2019-06-03T02:54:45.000Z | leetcode/311.sparse-matrix-multiplication.cpp | geemaple/algorithm | 68bc5032e1ee52c22ef2f2e608053484c487af54 | [
"MIT"
] | 23 | 2017-08-23T06:01:28.000Z | 2020-04-20T03:17:36.000Z | class Solution {
public:
vector<vector<int>> multiply(vector<vector<int>>& A, vector<vector<int>>& B) {
if (A.size() == 0 || B.size() == 0)
{
return vector<vector<int>>();
}
vector<vector<pair<int, int>>> sparseB(B.size(), vector<pair<int, int>>());
... | 24.896104 | 83 | 0.3229 | [
"vector"
] |
d61dc42c029dadc7e501ef58910a01986a03ed26 | 5,590 | cpp | C++ | src/lua/Eigenfaces.cpp | dacap/loseface | 677f46b9da3e11be3b75e3a35f5ca3f1b8df6d52 | [
"MIT"
] | 2 | 2017-11-01T09:09:20.000Z | 2020-01-22T04:56:46.000Z | src/lua/Eigenfaces.cpp | dacap/loseface | 677f46b9da3e11be3b75e3a35f5ca3f1b8df6d52 | [
"MIT"
] | null | null | null | src/lua/Eigenfaces.cpp | dacap/loseface | 677f46b9da3e11be3b75e3a35f5ca3f1b8df6d52 | [
"MIT"
] | 1 | 2019-01-24T12:13:24.000Z | 2019-01-24T12:13:24.000Z | // Copyright (C) 2008-2010 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include "lua/imglib.h"
#define LUAOBJ_EIGENFACES "Eigenfaces"
using namespace std;
using namespace imglib::details;
lua_Eigenfaces** imglib::details::toEigenfaces(lua_S... | 26.121495 | 98 | 0.672809 | [
"vector"
] |
d631141ba9b68abafa6533479b008e9a61f966a5 | 8,138 | hh | C++ | include/mmvae.hh | YPARK/mm-vae | 371e60821b0d0bf866bf465a8bc7bfa048bbf32c | [
"MIT"
] | 1 | 2021-03-18T02:01:31.000Z | 2021-03-18T02:01:31.000Z | include/mmvae.hh | YPARK/mm-vae | 371e60821b0d0bf866bf465a8bc7bfa048bbf32c | [
"MIT"
] | null | null | null | include/mmvae.hh | YPARK/mm-vae | 371e60821b0d0bf866bf465a8bc7bfa048bbf32c | [
"MIT"
] | null | null | null | #ifndef MMVAE_HH_
#define MMVAE_HH_
#include <iostream>
#include "util.hh"
#include "gzstream.hh"
#include "io_visitor.hh"
#include "io_alg.hh"
#include "eigen_util.hh"
#include "std_util.hh"
#include "math.hh"
#include "check.hh"
#include "io.hh"
#include "gzstream.hh"
#include "mmutil_index.hh"
#include "mmutil_bg... | 28.65493 | 87 | 0.505652 | [
"vector",
"transform"
] |
d6323469e45154d21609c8d18795408136fe10bb | 9,032 | cpp | C++ | src/ui/ds_capture.cpp | JohanSmet/kinect_webcam | 7728be2dd575404b5ec43a0867ebba9ca0595d4c | [
"MIT"
] | 21 | 2015-01-28T06:47:26.000Z | 2022-03-27T15:31:08.000Z | src/ui/ds_capture.cpp | JohanSmet/kinect_webcam | 7728be2dd575404b5ec43a0867ebba9ca0595d4c | [
"MIT"
] | 1 | 2017-07-17T22:56:45.000Z | 2017-07-22T13:34:35.000Z | src/ui/ds_capture.cpp | JohanSmet/kinect_webcam | 7728be2dd575404b5ec43a0867ebba9ca0595d4c | [
"MIT"
] | 3 | 2019-04-04T14:56:12.000Z | 2021-02-22T13:22:02.000Z | ///////////////////////////////////////////////////////////////////////////////
//
// File : ds_capture.cpp
//
// Purpose : Preview a DirectShow capture filter
//
// Copyright (c) 2014 Contributors as noted in the AUTHORS file
//
// This file is licensed under the terms of the MIT license,
// for more details please... | 25.370787 | 161 | 0.674601 | [
"render",
"object"
] |
d63453b630688d454efbd46aaedd236537b0007a | 595 | cc | C++ | src/corpus.cc | DeepAINet/expboost | df409046065d9827f21bba5049108389caed0e63 | [
"Apache-2.0"
] | null | null | null | src/corpus.cc | DeepAINet/expboost | df409046065d9827f21bba5049108389caed0e63 | [
"Apache-2.0"
] | null | null | null | src/corpus.cc | DeepAINet/expboost | df409046065d9827f21bba5049108389caed0e63 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
using namespace std;
class corpus{
protected:
string file;
// ifstream in;
public:
corpus(string filename):file(filename){
read();
}
~corpus(){
// if (in.is_open()) in.close(... | 19.833333 | 68 | 0.465546 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.