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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
712664cb0f7a4ccf7a74b52f494b69f983f72174 | 3,577 | cpp | C++ | src/rule/RuleBlock.cpp | Fishwaldo/Fuzzylite | d2eecb7e8a342eec0b0c067456d0833cc8d50636 | [
"MIT"
] | null | null | null | src/rule/RuleBlock.cpp | Fishwaldo/Fuzzylite | d2eecb7e8a342eec0b0c067456d0833cc8d50636 | [
"MIT"
] | null | null | null | src/rule/RuleBlock.cpp | Fishwaldo/Fuzzylite | d2eecb7e8a342eec0b0c067456d0833cc8d50636 | [
"MIT"
] | null | null | null | /* Copyright 2013 Juan Rada-Vilela
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | 26.496296 | 97 | 0.619793 | [
"vector"
] |
713aa57a0f505786e3b6f088cdc72ea809539c01 | 766 | cpp | C++ | test/Geometric_convex_hull.test.cpp | yuruhi/library | fecbd92ec6c6997d50bf954c472ac4bfeff74de5 | [
"Apache-2.0"
] | null | null | null | test/Geometric_convex_hull.test.cpp | yuruhi/library | fecbd92ec6c6997d50bf954c472ac4bfeff74de5 | [
"Apache-2.0"
] | 6 | 2021-01-05T07:39:05.000Z | 2021-01-05T07:44:31.000Z | test/Geometric_convex_hull.test.cpp | yuruhi/library | fecbd92ec6c6997d50bf954c472ac4bfeff74de5 | [
"Apache-2.0"
] | null | null | null | #define PROBLEM "https://onlinejudge.u-aizu.ac.jp/courses/library/4/CGL/all/CGL_4_A"
#include "./../Geometry/Polygon.hpp"
#include "./../Geometry/Geometric.cpp"
#include <iostream>
#include <utility>
using namespace std;
int main() {
int n;
cin >> n;
Geometric::Polygon p(n);
for (int i = 0; i < n; ++i) {
cin >> ... | 24.709677 | 84 | 0.583551 | [
"geometry"
] |
7145e51f5ad4663391479a4da62a7e053b92a94b | 1,412 | cpp | C++ | acmp/graph-theory/algorithm.cpp | nvxden/olp | 780e125ffcf430fdc79bb6c07ddddca28f4f042e | [
"MIT"
] | null | null | null | acmp/graph-theory/algorithm.cpp | nvxden/olp | 780e125ffcf430fdc79bb6c07ddddca28f4f042e | [
"MIT"
] | null | null | null | acmp/graph-theory/algorithm.cpp | nvxden/olp | 780e125ffcf430fdc79bb6c07ddddca28f4f042e | [
"MIT"
] | null | null | null | /*
* autor: eraeg
* date: Jan 27 15:17:46 2020
*/
#include <queue>
#include <stack>
#include <vector>
int bfs_length(AdjacList const &adjl, int beg, int end)
{
if(beg == end)
return 0;
queue<int> que;
que.push(beg);
vector<char> marks(adjl.n(), 0);
marks[beg] = 1;
int cur;
while(!que.empty())
... | 12.954128 | 67 | 0.52762 | [
"vector"
] |
71542131642cde63111cfeb3018519698381f825 | 1,976 | hpp | C++ | RedWolf/include/RedWolf/gl/Shader.hpp | DavidePistilli173/RedWolf | 1ca752c8e4c6becfb9de942d6059f6076384f3af | [
"Apache-2.0"
] | null | null | null | RedWolf/include/RedWolf/gl/Shader.hpp | DavidePistilli173/RedWolf | 1ca752c8e4c6becfb9de942d6059f6076384f3af | [
"Apache-2.0"
] | null | null | null | RedWolf/include/RedWolf/gl/Shader.hpp | DavidePistilli173/RedWolf | 1ca752c8e4c6becfb9de942d6059f6076384f3af | [
"Apache-2.0"
] | null | null | null | #ifndef RW_GL_SHADER_HPP
#define RW_GL_SHADER_HPP
#include "RedWolf/core.hpp"
#include <glad/glad.h>
#include <string_view>
#include <utility>
#include <vector>
namespace rw::gl
{
/**< \brief Wrapper class for an OpenGL shader. */
class RW_API Shader
{
public:
/** \brief Positions of all different ... | 29.058824 | 88 | 0.618927 | [
"vector"
] |
715f5f08b620ad5cb0919230997ce53b77f7387b | 639 | cpp | C++ | source/jz58_1.cpp | loganautomata/leetcode | 5a626c91f271bae231328c92a3be23eba227f66e | [
"MIT"
] | null | null | null | source/jz58_1.cpp | loganautomata/leetcode | 5a626c91f271bae231328c92a3be23eba227f66e | [
"MIT"
] | null | null | null | source/jz58_1.cpp | loganautomata/leetcode | 5a626c91f271bae231328c92a3be23eba227f66e | [
"MIT"
] | null | null | null | #include "jz58_1.h"
using namespace std;
string Jz58_1::reverseWords(string s)
{
s += ' '; // 字符串后加入空格, 避免最后一个单词被遗漏.
vector<string> words; // 存储字符串中所有的单词.
string word; // 暂存单词
string res; // 逆序句子
// 将所有单词存储于动态数组中.
for (char &ch : s)
{
if (ch == ' ')
{
if (!word... | 19.96875 | 84 | 0.488263 | [
"vector"
] |
7162c400af17aa0fe40efb46226c5528467a8a61 | 13,579 | cpp | C++ | Planet/main.cpp | marcosdanix/cgj-planet | 8e04246b76e37b16be5d2da1435b903ba7bd2aed | [
"MIT"
] | null | null | null | Planet/main.cpp | marcosdanix/cgj-planet | 8e04246b76e37b16be5d2da1435b903ba7bd2aed | [
"MIT"
] | null | null | null | Planet/main.cpp | marcosdanix/cgj-planet | 8e04246b76e37b16be5d2da1435b903ba7bd2aed | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <string>
#include "GL/glew.h"
#include "GL/freeglut.h"
#include "IL/il.h"
#include "../Engine/Engine.h"
#include <glm/mat4x4.hpp>
#include <glm/gtc/matrix_transform.hpp>
using namespace cgj;
#define CAPTION "Terrestrial Planet by Group 11"
//Shader input attributes
#de... | 24.689091 | 84 | 0.708741 | [
"mesh",
"transform"
] |
7179b51639098fc664621939166357250630f808 | 601 | cpp | C++ | Sourse/Main/sourse/Main.cpp | IlyaShurupov/Ma | 1342695419ade75531324a92a71ef9233f13300d | [
"MIT"
] | null | null | null | Sourse/Main/sourse/Main.cpp | IlyaShurupov/Ma | 1342695419ade75531324a92a71ef9233f13300d | [
"MIT"
] | null | null | null | Sourse/Main/sourse/Main.cpp | IlyaShurupov/Ma | 1342695419ade75531324a92a71ef9233f13300d | [
"MIT"
] | null | null | null |
#include "AppManager.h"
#include "WM.h"
#include "Render.h"
#include "Data.h"
#include "Math.h"
#include "Operator.h"
#include <windows.h>
/*
keymap
rotate
move
gizmo
fbuffer
outline
matrices
*/
int main()
{
_Data DATA;
APM_OnStart(&DATA.APM);
printf("Fuuuuuck here ");
{
OPS_init(&DATA);
WM_Ini... | 10.927273 | 52 | 0.617304 | [
"render"
] |
717b69f6a094983dc492704a2183fb52b49dd995 | 341 | cpp | C++ | April30DayChallenge/Week1/4:MoveZeros.cpp | thepushkarp/leetcode | 6812c68d7c49b9e5b0698feb3203346f5fe8adbf | [
"MIT"
] | 1 | 2022-02-10T15:19:02.000Z | 2022-02-10T15:19:02.000Z | April30DayChallenge/Week1/4:MoveZeros.cpp | thepushkarp/leetcode | 6812c68d7c49b9e5b0698feb3203346f5fe8adbf | [
"MIT"
] | null | null | null | April30DayChallenge/Week1/4:MoveZeros.cpp | thepushkarp/leetcode | 6812c68d7c49b9e5b0698feb3203346f5fe8adbf | [
"MIT"
] | null | null | null | class Solution {
public:
void moveZeroes(vector<int>& nums) {
int zeroCount = 0;
int n = nums.size();
for (int i = 0; i < n; i++) {
if (nums[i]) {
nums[zeroCount++] = nums[i];
}
}
while(zeroCount < n) {
nums[zeroCount++] = 0... | 21.3125 | 44 | 0.398827 | [
"vector"
] |
71850d18e98dab7d7efb49afdbfd8a875bce0f0a | 2,802 | cpp | C++ | utilities/Model.cpp | yitbarek123/IntelligentAgent-WumpusWorld | 9e090c8d224f57ca7319cab997d26faddd168969 | [
"MIT"
] | 2 | 2019-09-21T07:38:33.000Z | 2019-09-29T09:59:42.000Z | utilities/Model.cpp | yitbarek123/IntelligentAgent-WumpusWorld | 9e090c8d224f57ca7319cab997d26faddd168969 | [
"MIT"
] | 1 | 2019-10-26T08:38:51.000Z | 2019-10-26T08:38:51.000Z | utilities/Model.cpp | yitbarek123/IntelligentAgent-WumpusWorld | 9e090c8d224f57ca7319cab997d26faddd168969 | [
"MIT"
] | 1 | 2019-10-26T06:17:44.000Z | 2019-10-26T06:17:44.000Z | #include "Model.h"
namespace DataStructures{
/**
* Validates whether a given position is valid or not.
* @param i row of a given position
* @param j column of a given position
* @return bool
*/
bool is_valid_position(int i, int j)
{
// this function is not generic enough to handle a grid that's not 4X4, n... | 45.193548 | 155 | 0.724483 | [
"model"
] |
718668c4152e44596d9e0ac04cc3ecf7a71320aa | 2,419 | cpp | C++ | 2021/day09.cpp | mly32/advent-of-code | 8c07ac69b3933403357688efc02f6d4adf1d0592 | [
"BSD-3-Clause"
] | null | null | null | 2021/day09.cpp | mly32/advent-of-code | 8c07ac69b3933403357688efc02f6d4adf1d0592 | [
"BSD-3-Clause"
] | null | null | null | 2021/day09.cpp | mly32/advent-of-code | 8c07ac69b3933403357688efc02f6d4adf1d0592 | [
"BSD-3-Clause"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
struct solution {
vector<int> values;
vector<vector<int>> grid;
solution(const string& filename) {
string line;
ifstream input_file(filename);
if (!input_file.is_open()) {
cerr << "Could not open the file - '" << filename << "'" << endl;
retu... | 23.038095 | 71 | 0.467962 | [
"vector"
] |
718c44b20a818af85166a767781903dc9d297a0a | 3,653 | cpp | C++ | libfma/src/fma/core/Range.cpp | BenjaminSchulte/fma | df2aa5b0644c75dd34a92defeff9beaa4a32ffea | [
"MIT"
] | 14 | 2018-01-25T10:31:05.000Z | 2022-02-19T13:08:11.000Z | libfma/src/fma/core/Range.cpp | BenjaminSchulte/fma | df2aa5b0644c75dd34a92defeff9beaa4a32ffea | [
"MIT"
] | 1 | 2020-12-24T10:10:28.000Z | 2020-12-24T10:10:28.000Z | libfma/src/fma/core/Range.cpp | BenjaminSchulte/fma | df2aa5b0644c75dd34a92defeff9beaa4a32ffea | [
"MIT"
] | null | null | null | #include <fma/core/Class.hpp>
#include <fma/core/Boolean.hpp>
#include <fma/core/Range.hpp>
#include <fma/core/String.hpp>
#include <fma/core/Number.hpp>
#include <fma/types/InternalValue.hpp>
#include <fma/types/Object.hpp>
#include <fma/types/ClassPrototype.hpp>
#include <fma/interpret/BaseContext.hpp>
#include <fma/... | 38.452632 | 108 | 0.640296 | [
"object"
] |
718ebce4ce1962966ebac3a8fcd7ab901712bf45 | 1,625 | cpp | C++ | icp/src/icp_align.cpp | tum-vision/articulation | 3bb714fcde14b8d47977bd3b3da2c2cd13ebe685 | [
"BSD-2-Clause"
] | 3 | 2017-03-15T16:50:05.000Z | 2021-02-28T05:27:24.000Z | icp/src/icp_align.cpp | AbdelrahmanElsaid/articulation | 3bb714fcde14b8d47977bd3b3da2c2cd13ebe685 | [
"BSD-2-Clause"
] | null | null | null | icp/src/icp_align.cpp | AbdelrahmanElsaid/articulation | 3bb714fcde14b8d47977bd3b3da2c2cd13ebe685 | [
"BSD-2-Clause"
] | 7 | 2015-07-14T14:47:51.000Z | 2018-04-02T16:22:23.000Z | /*
* icp_test.cpp
*
* Created on: Oct 21, 2009
* Author: sturm
*/
#include <ros/ros.h>
#include "articulation_msgs/TrackMsg.h"
#include "articulation_msgs/AlignModelSrv.h"
#include "geometry_msgs/Pose.h"
#include "LinearMath/btTransform.h"
#include "icp/icp_utils.h"
using namespace std;
using namespace a... | 28.017241 | 125 | 0.724923 | [
"model"
] |
7190cf1521c42e030ca5507031c795df6f8fb5a6 | 650 | cpp | C++ | Day1/part2.cpp | bandzaw/AdventOfCode2018 | d1e98d677c1173ad5e797e3fab42200d8ade6ab9 | [
"MIT"
] | null | null | null | Day1/part2.cpp | bandzaw/AdventOfCode2018 | d1e98d677c1173ad5e797e3fab42200d8ade6ab9 | [
"MIT"
] | null | null | null | Day1/part2.cpp | bandzaw/AdventOfCode2018 | d1e98d677c1173ad5e797e3fab42200d8ade6ab9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <unordered_set>
#include <range/v3/numeric/accumulate.hpp>
#include <range/v3/istream_range.hpp>
#include <range/v3/view/cycle.hpp>
#include <range/v3/view/partial_sum.hpp>
int main()
{
std::cout << "Day1 part2:\n";
using namespace ranges;
std::unordered_set<int> val... | 24.074074 | 68 | 0.678462 | [
"vector"
] |
719152d7587b397fb3b14297b7cea5b0620bcfd3 | 3,061 | cpp | C++ | Antiplagiat/Antiplagiat/bin/Debug/u703_518_E_9999584.cpp | DmitryTheFirst/AntiplagiatVkCup | 556d3fe2e5a630d06a7aa49f2af5dcb28667275a | [
"Apache-2.0"
] | 1 | 2015-07-04T14:45:32.000Z | 2015-07-04T14:45:32.000Z | Antiplagiat/Antiplagiat/bin/Debug/u703_518_E_9999584.cpp | DmitryTheFirst/AntiplagiatVkCup | 556d3fe2e5a630d06a7aa49f2af5dcb28667275a | [
"Apache-2.0"
] | null | null | null | Antiplagiat/Antiplagiat/bin/Debug/u703_518_E_9999584.cpp | DmitryTheFirst/AntiplagiatVkCup | 556d3fe2e5a630d06a7aa49f2af5dcb28667275a | [
"Apache-2.0"
] | null | null | null | #include <algorithm>
#include <iomanip>
#include <istream>
#include <limits>
#include <map>
#include <ostream>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
using namespace std;
// Solution template generated by caide
class Solution {
public:
const int UNKNOWN = numeric_li... | 19.876623 | 73 | 0.516498 | [
"vector"
] |
719796ee3e9dd02b6b8127a57e89544afbfdb97c | 13,261 | cpp | C++ | ms-utils/simulation/hs/TsHsSqlitePlugin.cpp | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 18 | 2020-01-23T12:14:09.000Z | 2022-02-27T22:11:35.000Z | ms-utils/simulation/hs/TsHsSqlitePlugin.cpp | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 39 | 2020-11-20T12:19:35.000Z | 2022-02-22T18:45:55.000Z | ms-utils/simulation/hs/TsHsSqlitePlugin.cpp | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 7 | 2020-02-10T19:25:43.000Z | 2022-03-16T01:10:00.000Z | /****************************************** TRICK HEADER ******************************************
@copyright Copyright 2019 United States Government as represented by the Administrator of the
National Aeronautics and Space Administration. All Rights Reserved.
PURPOSE:
(Sqlite output plugin for health... | 35.268617 | 150 | 0.517759 | [
"object"
] |
719917363cc1ba12f87671217c8af3edac3d08da | 1,536 | cpp | C++ | HeapSort.cpp | zamansabbir/DataStructure | 4df8961b2726dfdff835c111fa48b45ff2c82831 | [
"MIT"
] | 1 | 2020-08-24T19:38:10.000Z | 2020-08-24T19:38:10.000Z | HeapSort.cpp | zamansabbir/DataStructure | 4df8961b2726dfdff835c111fa48b45ff2c82831 | [
"MIT"
] | null | null | null | HeapSort.cpp | zamansabbir/DataStructure | 4df8961b2726dfdff835c111fa48b45ff2c82831 | [
"MIT"
] | null | null | null | #include <iostream>
#include<vector>
#include<climits>
int size=INT_MAX; //just a number, later initialized
int getParentIndex(int childIndex){
return (childIndex-1)/2;
}
int getLeftChildIndex(int parentIndex){
return 2*parentIndex+1;
}
int getRightChildIndex(int parentIndex){
return 2*parentIndex+2;
}
bo... | 23.630769 | 92 | 0.628255 | [
"vector"
] |
71a45a92cc8c171503cbd8c71d3e4c14fe3e8d38 | 24,302 | hpp | C++ | apps/openmw/mwbase/world.hpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | apps/openmw/mwbase/world.hpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | apps/openmw/mwbase/world.hpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | #ifndef GAME_MWBASE_WORLD_H
#define GAME_MWBASE_WORLD_H
#include <vector>
#include <map>
#include <components/settings/settings.hpp>
#include "../mwworld/globals.hpp"
#include "../mwworld/ptr.hpp"
namespace Ogre
{
class Vector2;
class Vector3;
}
namespace OEngine
{
namespace Physic
{
class ... | 44.185455 | 146 | 0.607728 | [
"geometry",
"render",
"object",
"vector",
"model"
] |
71ca477b416835f86b1ea7fe4ed41a5dc623bcd6 | 3,652 | hpp | C++ | src/Domain/DomainCreators/Sphere.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | src/Domain/DomainCreators/Sphere.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | src/Domain/DomainCreators/Sphere.hpp | marissawalker/spectre | afc8205e2f697de5e8e4f05e881499e05c9fd8a0 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <array>
#include <cstddef>
#include <vector>
#include "Domain/Domain.hpp"
#include "Options/Options.hpp"
#include "Utilities/TMPL.hpp"
// IWYU wants to include things we definitely don't need...
// IWYU pragma: no_include <p... | 35.115385 | 79 | 0.720427 | [
"shape",
"vector",
"3d"
] |
71dd6732d6ed2cd894a54c93d834b91bf9a0fae4 | 3,074 | cpp | C++ | torrentR/src/correctCafie.cpp | konradotto/TS | bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e | [
"Apache-2.0"
] | 125 | 2015-01-22T05:43:23.000Z | 2022-03-22T17:15:59.000Z | torrentR/src/correctCafie.cpp | konradotto/TS | bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e | [
"Apache-2.0"
] | 59 | 2015-02-10T09:13:06.000Z | 2021-11-11T02:32:38.000Z | torrentR/src/correctCafie.cpp | konradotto/TS | bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e | [
"Apache-2.0"
] | 98 | 2015-01-17T01:25:10.000Z | 2022-03-18T17:29:42.000Z | /* Copyright (C) 2010 Ion Torrent Systems, Inc. All Rights Reserved */
#include <Rcpp.h>
#include "RawWells.h"
#include "CafieSolver.h"
RcppExport SEXP correctCafie(
SEXP measured_in,
SEXP flowOrder_in,
SEXP keyFlow_in,
SEXP nKeyFlow_in,
SEXP cafEst_in,
SEXP ieEst_in,
SEXP droopEst_in
) {
SEXP rl = ... | 30.74 | 78 | 0.683474 | [
"object"
] |
71de2ca494cdaf88edf1c75336db9b83bc6df16f | 2,491 | cpp | C++ | libmov/test/mov-writer-subtitle.cpp | Dw9/media-server | 7de725b2e57e6c3faa9a4131b05221efd06b96a8 | [
"MIT"
] | 2,053 | 2015-01-01T12:52:12.000Z | 2022-03-31T05:02:31.000Z | libmov/test/mov-writer-subtitle.cpp | Dw9/media-server | 7de725b2e57e6c3faa9a4131b05221efd06b96a8 | [
"MIT"
] | 183 | 2017-02-25T23:08:33.000Z | 2022-03-31T04:31:22.000Z | libmov/test/mov-writer-subtitle.cpp | Dw9/media-server | 7de725b2e57e6c3faa9a4131b05221efd06b96a8 | [
"MIT"
] | 826 | 2015-02-27T06:23:28.000Z | 2022-03-31T08:11:23.000Z | #include "mov-writer.h"
#include "mov-format.h"
#include "mov-reader.h"
#include "mpeg4-aac.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
extern "C" const struct mov_buffer_t* mov_file_buffer(void);
static uint8_t s_buffer[2 * 1024 * 1024];
static int s_audio_track = -1;
static int... | 32.350649 | 160 | 0.653553 | [
"object"
] |
71e34a66f19ae087e0bffa7656c734a70f6f8ac7 | 947 | cpp | C++ | collection/cp/Algorithm_Collection-master/test.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | 1 | 2019-03-24T13:12:01.000Z | 2019-03-24T13:12:01.000Z | collection/cp/Algorithm_Collection-master/test.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | collection/cp/Algorithm_Collection-master/test.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | void CombinationPar(vector<string>& result, string& sample, int deep,
int n, int leftNum, int rightNum)
{
if(deep == 2*n)
{
result.push_back(sample);
return;
}
if(leftNum<n)
{
sample.push_back('(');
Combi... | 30.548387 | 76 | 0.506864 | [
"vector"
] |
71e5dac5efc542b47c98e1145fad09a5deff943d | 6,569 | cpp | C++ | suite/cts/deviceTests/opengl/jni/reference/scene/flocking/FlockingScene.cpp | HelixOS/cts | 1956c3f1525d6b7bf668f1671e7c29cb6fbb9c9a | [
"Apache-2.0"
] | 3 | 2017-07-23T11:08:39.000Z | 2019-12-27T05:57:11.000Z | suite/cts/deviceTests/opengl/jni/reference/scene/flocking/FlockingScene.cpp | HelixOS/cts | 1956c3f1525d6b7bf668f1671e7c29cb6fbb9c9a | [
"Apache-2.0"
] | null | null | null | suite/cts/deviceTests/opengl/jni/reference/scene/flocking/FlockingScene.cpp | HelixOS/cts | 1956c3f1525d6b7bf668f1671e7c29cb6fbb9c9a | [
"Apache-2.0"
] | 2 | 2019-05-20T07:45:47.000Z | 2019-12-27T05:57:15.000Z | /*
* Copyright (C) 2013 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 applicable ... | 33.860825 | 100 | 0.671792 | [
"mesh",
"vector"
] |
71f0137ee955f3e7498546d4b1855099cda038f0 | 474 | cpp | C++ | profiler.cpp | KerryL/utilities | f5052e86a8c017fa0a0d9f5932d0e5118b5dc1ab | [
"MIT"
] | null | null | null | profiler.cpp | KerryL/utilities | f5052e86a8c017fa0a0d9f5932d0e5118b5dc1ab | [
"MIT"
] | null | null | null | profiler.cpp | KerryL/utilities | f5052e86a8c017fa0a0d9f5932d0e5118b5dc1ab | [
"MIT"
] | null | null | null | // File: profiler.cpp
// Date: 4/17/2013
// Auth: K. Loux
// Desc: Profiler object for analyzing applications. Note: This is NOT thread-safe!
// Local headers
#include "profiler.h"
#ifdef PROFILE
uint64_t Profiler::startTime;
Profiler::NameTimeMap Profiler::frequencies;
std::unordered_map<std::thread::id, std:... | 24.947368 | 97 | 0.748945 | [
"object"
] |
71f1f605f946671d169427a4bba39fb019371c59 | 3,807 | cpp | C++ | egonet.cpp | fyabc/SubgraphQuery | d60b92d7773f8316ee15d94b8f3c47b528875257 | [
"MIT"
] | 3 | 2016-07-16T04:08:44.000Z | 2018-05-11T01:31:47.000Z | egonet.cpp | fyabc/SubgraphQuery | d60b92d7773f8316ee15d94b8f3c47b528875257 | [
"MIT"
] | null | null | null | egonet.cpp | fyabc/SubgraphQuery | d60b92d7773f8316ee15d94b8f3c47b528875257 | [
"MIT"
] | 1 | 2019-03-18T11:40:43.000Z | 2019-03-18T11:40:43.000Z | //
// Created by fanyang on 7/20/2016.
//
#include "graph.h"
#include "utils.h"
#include <random>
using namespace std;
unique_ptr<Graph> Graph::extractEgonet(std::size_t ego, double chooseRate, bool containEgo) const {
size_t k = degree(ego) + 1;
unique_ptr<Graph> result(new Graph(containEgo ? k : k - 1));
... | 24.882353 | 125 | 0.525348 | [
"vector"
] |
71f621e181302f1f3e4f069bfc2681413c961f66 | 25,943 | cpp | C++ | src/OptimizeProblem.cpp | efocht/hpcg-ve-open | 73dfcef70ad3dea32329264e035a602523ca1cf7 | [
"BSD-3-Clause"
] | 1 | 2022-02-12T03:22:50.000Z | 2022-02-12T03:22:50.000Z | src/OptimizeProblem.cpp | efocht/hpcg-ve-open | 73dfcef70ad3dea32329264e035a602523ca1cf7 | [
"BSD-3-Clause"
] | null | null | null | src/OptimizeProblem.cpp | efocht/hpcg-ve-open | 73dfcef70ad3dea32329264e035a602523ca1cf7 | [
"BSD-3-Clause"
] | null | null | null |
//@HEADER
// ***************************************************
//
// HPCG: High Performance Conjugate Gradient Benchmark
//
// Contact:
// Michael A. Heroux ( maherou@sandia.gov)
// Jack Dongarra (dongarra@eecs.utk.edu)
// Piotr Luszczek (luszczek@eecs.utk.edu)
//
// Erich Focht : Version optimized for SX-Aur... | 31.792892 | 137 | 0.565548 | [
"vector",
"transform"
] |
71fcdc99c459d7212a9595a6eeaf9b46ce313bec | 3,000 | cc | C++ | Tools/Matlab/mex/field_spots.cc | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | null | null | null | Tools/Matlab/mex/field_spots.cc | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | null | null | null | Tools/Matlab/mex/field_spots.cc | ToyotaResearchInstitute/rad-robot | 9a47e4d88382719ab9bf142932fbcc83dcbcd665 | [
"MIT"
] | 2 | 2018-06-04T12:38:54.000Z | 2018-09-22T10:31:27.000Z | /*
x = field_spots(im);
Matlab 7.4 MEX file to locate field penalty kick spots.
Compile with:
mex -O field_spots.cc ConnectRegions.cc
Author: Daniel D. Lee <ddlee@seas.upenn.edu>, 6/09
*/
#include <vector>
#include "ConnectRegions.h"
#include "mex.h"
typedef unsigned char uint8;
uint8 colorSpot = 0x10;
... | 28.301887 | 79 | 0.620667 | [
"vector"
] |
71fd3f0805e212e7e08c560d3ec6863f79a98a7a | 5,667 | cpp | C++ | src/simulation/Simulation/src/io/LaunchCache.cpp | ncl-ROVers/surface-2019-20 | 209c06008803971d0430fd3993ef36f9a4686646 | [
"MIT"
] | 3 | 2021-01-21T07:18:30.000Z | 2021-12-20T11:09:29.000Z | src/simulation/Simulation/src/io/LaunchCache.cpp | ncl-ROVers/surface-2019-20 | 209c06008803971d0430fd3993ef36f9a4686646 | [
"MIT"
] | null | null | null | src/simulation/Simulation/src/io/LaunchCache.cpp | ncl-ROVers/surface-2019-20 | 209c06008803971d0430fd3993ef36f9a4686646 | [
"MIT"
] | 3 | 2020-11-24T11:46:23.000Z | 2021-08-05T18:02:07.000Z | #include "LaunchCache.h"
#include <iostream>
void LaunchCache::saveMeshData(const std::string& saveName, const Mesh& mesh)
{
size_t cacheSize = sizeof(uint64_t) + mesh.getVertexCount() * sizeof(glm::vec3) +
sizeof(uint64_t) + mesh.getTexCoordCount() * sizeof(glm::vec2) +
sizeof(uint64_t) + mesh.getNo... | 31.309392 | 141 | 0.709723 | [
"mesh"
] |
9f9f1bebfc0580c1db48a80001a1ffe83e218b3c | 605 | cpp | C++ | atcoder/abc150d.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | 1 | 2020-04-04T14:56:12.000Z | 2020-04-04T14:56:12.000Z | atcoder/abc150d.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | atcoder/abc150d.cpp | sogapalag/problems | 0ea7d65448e1177f8b3f81124a82d187980d659c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ll=long long;
void solve() {
int n; ll m;
cin >> n >> m;
vector<ll> a(n);
ll lcm = 1;
for (auto& x: a) {
cin >> x;
ll g = __gcd(lcm, x);
lcm = lcm * x / g;
if (lcm > 2*m) {
cout << 0; return;
}
... | 16.805556 | 37 | 0.409917 | [
"vector"
] |
9fa01bcd443562ba303f7cb0f21df3077c4dde93 | 1,911 | cc | C++ | src/q_1_50/q0043.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-09-28T18:41:03.000Z | 2021-09-28T18:42:57.000Z | src/q_1_50/q0043.cc | vNaonLu/Daily_LeetCode | 30024b561611d390931cef1b22afd6a5060cf586 | [
"MIT"
] | 16 | 2021-09-26T11:44:20.000Z | 2021-11-28T06:44:02.000Z | src/q_1_50/q0043.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 1 | 2021-11-22T09:11:36.000Z | 2021-11-22T09:11:36.000Z | #include <gtest/gtest.h>
#include <iostream>
#include <string>
using namespace std;
/**
* This file is generated by leetcode_add.py v1.0
*
* 43.
* Multiply Strings
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* Given two non-negative integers ‘num1’ and ‘num2’ represente... | 25.48 | 92 | 0.528519 | [
"vector"
] |
9faa653b6d65822c66024fe1c689bedad19ff542 | 4,661 | cpp | C++ | generator/src/generator.cpp | nalevi/CppUmlClassGen | 3bee7ca2e97cabbccc082aeac417985962da3976 | [
"MIT"
] | 1 | 2021-03-16T20:42:52.000Z | 2021-03-16T20:42:52.000Z | generator/src/generator.cpp | nalevi/CppUmlClassGen | 3bee7ca2e97cabbccc082aeac417985962da3976 | [
"MIT"
] | null | null | null | generator/src/generator.cpp | nalevi/CppUmlClassGen | 3bee7ca2e97cabbccc082aeac417985962da3976 | [
"MIT"
] | null | null | null | #include <boost/program_options/options_description.hpp>
#include <clang/Frontend/FrontendAction.h>
#include <iostream>
#include <sstream>
#include <vector>
#include <memory>
#include <boost/program_options.hpp>
#include <boost/filesystem.hpp>
#include <clang/AST/ASTConsumer.h>
#include <clang/Tooling/CommonOptionsPa... | 26.185393 | 82 | 0.691053 | [
"object",
"vector"
] |
9fb6c6cb9232af50b17ab4cdb8decd0251ffcc65 | 7,300 | cpp | C++ | cpp/Database.cpp | azbe/readlit | 9988759b148de7c9974bfdcd2481c866d2a33aad | [
"Apache-2.0"
] | null | null | null | cpp/Database.cpp | azbe/readlit | 9988759b148de7c9974bfdcd2481c866d2a33aad | [
"Apache-2.0"
] | null | null | null | cpp/Database.cpp | azbe/readlit | 9988759b148de7c9974bfdcd2481c866d2a33aad | [
"Apache-2.0"
] | null | null | null | #include "src/Database.h"
DataBase::DataBase()
{
}
bool DataBase::addBook(const Book& NewBook)
{
if(books.count(NewBook.getFilePath()) != 0)
{
error("The book: " + NewBook.getFilePath() + "is not in data base: deleteBook(const QString &)");
return false;
}
books.insert(std::pair<QStri... | 27.756654 | 207 | 0.638767 | [
"object",
"vector"
] |
9fb81909838112d884a19c41e733b1f579fd0500 | 9,858 | cpp | C++ | TopTestWidgets/privateSource/scatterchartitem.cpp | cy15196/xxxxRsmTest | 36577173ef2cdfc3c3d4cadd3933849d29d5b3d9 | [
"MIT"
] | 1 | 2020-02-12T03:20:37.000Z | 2020-02-12T03:20:37.000Z | TopTestWidgets/privateSource/scatterchartitem.cpp | cy15196/xxxxRsmTest | 36577173ef2cdfc3c3d4cadd3933849d29d5b3d9 | [
"MIT"
] | null | null | null | TopTestWidgets/privateSource/scatterchartitem.cpp | cy15196/xxxxRsmTest | 36577173ef2cdfc3c3d4cadd3933849d29d5b3d9 | [
"MIT"
] | 1 | 2019-04-14T09:58:50.000Z | 2019-04-14T09:58:50.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Charts module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL$
** Commercial License Usage
** Licensees holding valid comme... | 33.530612 | 110 | 0.643132 | [
"geometry"
] |
9fb86f6414870684ca26d0985d9dd2346df444ff | 2,224 | cc | C++ | svm/svm.cc | FBergeron/knp | 0209a5ef559efdba550c3727efe0c6481f8bafde | [
"BSD-3-Clause"
] | 20 | 2020-04-19T07:45:52.000Z | 2022-03-20T00:41:33.000Z | svm/svm.cc | FBergeron/knp | 0209a5ef559efdba550c3727efe0c6481f8bafde | [
"BSD-3-Clause"
] | 7 | 2020-09-09T07:40:50.000Z | 2021-11-25T04:11:10.000Z | svm/svm.cc | FBergeron/knp | 0209a5ef559efdba550c3727efe0c6481f8bafde | [
"BSD-3-Clause"
] | 4 | 2020-04-22T04:16:13.000Z | 2022-02-20T05:01:41.000Z | #ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef STDC_HEADERS
#include <stdio.h>
#endif
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_SIGNAL_H
#include <signal.h>
#endif
#ifdef HAVE_SETJMP_H
#in... | 16.474074 | 88 | 0.624101 | [
"model"
] |
9fccd1e678e395030411142567f203cd71827f74 | 389 | cpp | C++ | lib/utilities.cpp | BlaMaeda/abed | b10eebd2155d22d516ea5c6a1c31c45128a37122 | [
"BSD-3-Clause"
] | null | null | null | lib/utilities.cpp | BlaMaeda/abed | b10eebd2155d22d516ea5c6a1c31c45128a37122 | [
"BSD-3-Clause"
] | null | null | null | lib/utilities.cpp | BlaMaeda/abed | b10eebd2155d22d516ea5c6a1c31c45128a37122 | [
"BSD-3-Clause"
] | null | null | null | #include <vector>
#include "../include/utilities.hpp"
namespace abed {
void normalize_distribution(std::vector<double>& d) {
const unsigned int N = d.size();
double sum = 0.0;
for (unsigned int i = 0; i < N; i++) {
sum += d[i];
}
for (unsigned int i = 0; i < N;... | 21.611111 | 57 | 0.48329 | [
"vector"
] |
9fcdd97cb13ee42d49adf9d403faabdea96aaa8a | 1,705 | cpp | C++ | src/application/gui/propertyeditor/EvFileDelegate.cpp | kaabimg/EvLibrary | 47acd8fdb39c05edb843238a61d0faea5ed6ea88 | [
"Unlicense"
] | 2 | 2017-02-01T11:05:26.000Z | 2017-07-10T13:26:29.000Z | src/application/gui/propertyeditor/EvFileDelegate.cpp | kaabimg/EvLibrary | 47acd8fdb39c05edb843238a61d0faea5ed6ea88 | [
"Unlicense"
] | null | null | null | src/application/gui/propertyeditor/EvFileDelegate.cpp | kaabimg/EvLibrary | 47acd8fdb39c05edb843238a61d0faea5ed6ea88 | [
"Unlicense"
] | null | null | null | #include "EvFileDelegate.h"
#include <QFileDialog>
#include <QLineEdit>
#include "EvEditWidget.h"
QWidget *EvFileDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &, const QModelIndex &) const
{
return new EvEditWidget(new QLineEdit,parent);
}
void EvFileDelegate::setEditorData(QWidget *editor, c... | 34.1 | 111 | 0.672727 | [
"model"
] |
9fd58914ea132dc23cfacd59c7b4d3f879b8df29 | 3,148 | cpp | C++ | src/test/metrics_tests.cpp | pro-bitcoin/pro-bitcoin | 8e73d85560d2efdfbb3aee66cadca7cdfeaac197 | [
"MIT"
] | null | null | null | src/test/metrics_tests.cpp | pro-bitcoin/pro-bitcoin | 8e73d85560d2efdfbb3aee66cadca7cdfeaac197 | [
"MIT"
] | null | null | null | src/test/metrics_tests.cpp | pro-bitcoin/pro-bitcoin | 8e73d85560d2efdfbb3aee66cadca7cdfeaac197 | [
"MIT"
] | 1 | 2021-12-06T10:24:50.000Z | 2021-12-06T10:24:50.000Z | #include <boost/test/unit_test.hpp>
#include <metrics/container.h>
#include <test/util/setup_common.h>
#include <txmempool.h>
BOOST_FIXTURE_TEST_SUITE(metrics_tests, BasicTestingSetup)
BOOST_AUTO_TEST_CASE(metrics_config)
{
std::map<std::string, prometheus::MetricType> metric_names;
auto& reg = metrics::Regi... | 31.168317 | 97 | 0.667408 | [
"vector"
] |
9fd5d90267ce6734c4daf44bac08815607c707cd | 521,469 | cc | C++ | libipp/ipp_operations.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | libipp/ipp_operations.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | libipp/ipp_operations.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | // Copyright 2019 The Chromium OS 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 "libipp/ipp_operations.h"
#include <memory>
namespace ipp {
std::unique_ptr<Request> Request::NewRequest(Operation id) {
switch (id) {
... | 46.497459 | 80 | 0.690108 | [
"vector"
] |
9fd6ff907206bb8ccdcecff4cd0c518d349cfc3d | 2,424 | hpp | C++ | include/particle.hpp | teamclouday/Balloons | 106bf031967e72b54269ca7375481a9327e71c46 | [
"MIT"
] | null | null | null | include/particle.hpp | teamclouday/Balloons | 106bf031967e72b54269ca7375481a9327e71c46 | [
"MIT"
] | null | null | null | include/particle.hpp | teamclouday/Balloons | 106bf031967e72b54269ca7375481a9327e71c46 | [
"MIT"
] | null | null | null | // particle.hpp
// Assignment: CIS425 Final Project
// Environment/Compiler:
// Visual Studio Community 2019 (Tested)
// Linux GCC (Tested)
// MacOS GCC (Not Tested)
// Date: May 14, 2021
// Official Name: Sida Zhu
// E-mail:
// szhu28@syr.edu
// teamclouday... | 26.933333 | 78 | 0.632838 | [
"object",
"vector"
] |
9fd79753e0a44efdcd486aaac42f3a1b6184a36d | 312 | cpp | C++ | src/solver/optimize.cpp | cowprotocol/simple-solver-template | 51aeebd91c4d7b99627a93d0a066684553bdc5ad | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | src/solver/optimize.cpp | cowprotocol/simple-solver-template | 51aeebd91c4d7b99627a93d0a066684553bdc5ad | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 4 | 2021-12-16T09:40:39.000Z | 2022-02-02T18:49:47.000Z | src/solver/optimize.cpp | cowprotocol/simple-solver-template | 51aeebd91c4d7b99627a93d0a066684553bdc5ad | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2022-03-28T15:35:32.000Z | 2022-03-30T14:27:47.000Z | #include "../components/token.hpp"
#include "../components/order.hpp"
#include "../components/amm.hpp"
#include "./optimize.hpp"
void solve_auction(std::vector<Token> &tokens, std::vector<Order> &orders, std::vector<CP_AMM> &amms)
{
// TO BE COMPLETED
int *vertices;
int **edges;
return;
} | 22.285714 | 101 | 0.657051 | [
"vector"
] |
9fdf4c8b6073c0cd88f10f22b12038196d718891 | 19,725 | cpp | C++ | src/gui/tabs/tabgeometry.cpp | henryiii/spatial-model-editor | 2138d03ae4c7cc353b40324dfd1a3e763d7085d9 | [
"MIT"
] | 1 | 2021-04-19T10:23:58.000Z | 2021-04-19T10:23:58.000Z | src/gui/tabs/tabgeometry.cpp | henryiii/spatial-model-editor | 2138d03ae4c7cc353b40324dfd1a3e763d7085d9 | [
"MIT"
] | 418 | 2020-10-08T07:42:27.000Z | 2022-03-08T12:10:52.000Z | src/gui/tabs/tabgeometry.cpp | henryiii/spatial-model-editor | 2138d03ae4c7cc353b40324dfd1a3e763d7085d9 | [
"MIT"
] | 2 | 2021-09-02T11:20:38.000Z | 2021-10-13T14:05:32.000Z | #include "tabgeometry.hpp"
#include "guiutils.hpp"
#include "logger.hpp"
#include "mesh.hpp"
#include "model.hpp"
#include "qlabelmousetracker.hpp"
#include "ui_tabgeometry.h"
#include <QInputDialog>
#include <QMessageBox>
#include <QStatusBar>
#include <stdexcept>
TabGeometry::TabGeometry(sme::model::Model &m, QLabel... | 41.008316 | 80 | 0.690545 | [
"mesh",
"geometry",
"model"
] |
9fea3730726e74407ee218f560d1b3d0a7353850 | 1,313 | cpp | C++ | Leetcode/Day034/search_in_rotated_sorted.cpp | SujalAhrodia/Practice_2020 | 59b371ada245ed8253d12327f18deee3e47f31d6 | [
"MIT"
] | null | null | null | Leetcode/Day034/search_in_rotated_sorted.cpp | SujalAhrodia/Practice_2020 | 59b371ada245ed8253d12327f18deee3e47f31d6 | [
"MIT"
] | null | null | null | Leetcode/Day034/search_in_rotated_sorted.cpp | SujalAhrodia/Practice_2020 | 59b371ada245ed8253d12327f18deee3e47f31d6 | [
"MIT"
] | null | null | null | // first solution
class Solution {
public:
int search(vector<int>& nums, int target)
{
auto itr = find(nums.begin(), nums.end(), target);
if(itr!=nums.end())
{
return itr-nums.begin();
}
else
return -1;
}
};
// second so... | 21.883333 | 75 | 0.37243 | [
"vector"
] |
9feae37cae77d58074ddfc5f780797eb4dcc982b | 1,599 | hpp | C++ | include/clrs/k_way_merge.hpp | thejohnfreeman/clrs | 8ded5fb499e616b8766e944dd120c142b2101b19 | [
"MIT"
] | 2 | 2015-04-22T06:34:42.000Z | 2019-01-16T15:35:37.000Z | include/clrs/k_way_merge.hpp | thejohnfreeman/clrs | 8ded5fb499e616b8766e944dd120c142b2101b19 | [
"MIT"
] | null | null | null | include/clrs/k_way_merge.hpp | thejohnfreeman/clrs | 8ded5fb499e616b8766e944dd120c142b2101b19 | [
"MIT"
] | null | null | null | #ifndef CLRS_K_WAY_MERGE
#define CLRS_K_WAY_MERGE
#include <functional>
#include <utility>
#include "priority_queue.hpp"
namespace clrs {
/* Solution to exercise 6.5-8. */
template <
typename ForwardItIt,
typename OutputIt,
typename Compare
= std::less<typename std::iterator_traits<
ty... | 25.790323 | 81 | 0.612883 | [
"vector"
] |
9ff5a8d1f3e35867e958b579676298c3ddf260e0 | 5,388 | hpp | C++ | domain/include/cstone/util/util.hpp | lks1248/SPH-EXA | af6d2307f022a1892606008e290ab9cba6f683f7 | [
"MIT"
] | 16 | 2022-01-17T19:50:38.000Z | 2022-03-28T08:09:58.000Z | domain/include/cstone/util/util.hpp | sguera/SPH-EXA_mini-app | 0cac399d43118bda1ed2a5e42b593eb18ca55c30 | [
"MIT"
] | 33 | 2021-12-06T12:42:41.000Z | 2022-03-31T10:56:49.000Z | domain/include/cstone/util/util.hpp | sguera/SPH-EXA_mini-app | 0cac399d43118bda1ed2a5e42b593eb18ca55c30 | [
"MIT"
] | 13 | 2021-12-06T09:12:52.000Z | 2022-03-28T08:07:38.000Z | /*
* MIT License
*
* Copyright (c) 2021 CSCS, ETH Zurich
* 2021 University of Basel
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including with... | 33.886792 | 119 | 0.715108 | [
"vector"
] |
9ff675a2c2d24929bff5e89be7f94177dd615e8d | 737 | cpp | C++ | src/raytracer/raytracer.cpp | al13n321/fract | 8551530336d00044bda6871e04d243cfa1cb5314 | [
"MIT"
] | null | null | null | src/raytracer/raytracer.cpp | al13n321/fract | 8551530336d00044bda6871e04d243cfa1cb5314 | [
"MIT"
] | null | null | null | src/raytracer/raytracer.cpp | al13n321/fract | 8551530336d00044bda6871e04d243cfa1cb5314 | [
"MIT"
] | null | null | null | #include "raytracer.h"
#include <cassert>
namespace fract {
Raytracer::Raytracer(Config::View *config)
: config_(config)
, shader_provider_(config_, "Predefined/pass.vert", {"raytracer"},
{{"Camera-shader", "Predefined/PerspectiveCamera.frag"}}) {}
void Raytracer::TraceGrid(const RayGrid &grid, RaytracedView... | 23.774194 | 71 | 0.698779 | [
"render"
] |
9ffb1cc05519b72efea524bd1bbce107b3cf8717 | 628 | cpp | C++ | 4th-semester/aisd/lab/lista-3/ex-2/random-generator.cpp | jerry-sky/academic-notebook | be2d350289441b99168ea40412891bc65b9cb431 | [
"Unlicense"
] | 4 | 2020-12-28T21:53:00.000Z | 2022-03-22T19:24:47.000Z | 4th-semester/aisd/lab/lista-3/ex-2/random-generator.cpp | jerry-sky/academic-notebook | be2d350289441b99168ea40412891bc65b9cb431 | [
"Unlicense"
] | 3 | 2022-02-13T18:07:10.000Z | 2022-02-13T18:16:07.000Z | 4th-semester/aisd/lab/lista-3/ex-2/random-generator.cpp | jerry-sky/academic-notebook | be2d350289441b99168ea40412891bc65b9cb431 | [
"Unlicense"
] | 4 | 2020-12-28T16:05:35.000Z | 2022-03-08T16:20:00.000Z | #include "random-generator.h"
std::vector<int> RandomGenerator(int size, bool unique)
{
std::vector<int> output(size);
srand(time(NULL));
if (unique)
{
std::vector<int> possibleNumbers(size);
for (int i = 1; i <= size; i++)
possibleNumbers.at(i - 1) = i;
int i = 0;
while (possibleNumbe... | 18.470588 | 57 | 0.549363 | [
"vector"
] |
b0092bff2f5d49942adb9eef62d211e11e2dbce6 | 1,001 | cc | C++ | lanqiao/basic/51.cc | xsthunder/a | 3c30f31c59030d70462b71ef28c5eee19c6eddd6 | [
"MIT"
] | 1 | 2018-07-22T04:52:10.000Z | 2018-07-22T04:52:10.000Z | lanqiao/basic/51.cc | xsthunder/a | 3c30f31c59030d70462b71ef28c5eee19c6eddd6 | [
"MIT"
] | 1 | 2018-08-11T13:29:59.000Z | 2018-08-11T13:31:28.000Z | lanqiao/basic/51.cc | xsthunder/a | 3c30f31c59030d70462b71ef28c5eee19c6eddd6 | [
"MIT"
] | null | null | null | const bool test=1;
#include<iostream>
#include<cctype>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<set>
#include<cctype>
#include<cstring>
#include<utility>
#include<cmath>
const int inf=0x7fffffff;
#define IF if(test)
#define FI if(!test)
#define gts(s... | 18.537037 | 91 | 0.62038 | [
"vector"
] |
b00d0ffb10d634a6d7712d4e37b1d0cf8c46f22d | 17,958 | cpp | C++ | src/TwoChQS/TwoChQS_UpdateMatrices.cpp | lgds/NRG_USP | ff66846e92498aa429cce6fc5793bec23ad03eb4 | [
"MIT"
] | 3 | 2015-09-21T20:58:45.000Z | 2019-03-20T01:21:41.000Z | src/TwoChQS/TwoChQS_UpdateMatrices.cpp | lgds/NRG_USP | ff66846e92498aa429cce6fc5793bec23ad03eb4 | [
"MIT"
] | null | null | null | src/TwoChQS/TwoChQS_UpdateMatrices.cpp | lgds/NRG_USP | ff66846e92498aa429cce6fc5793bec23ad03eb4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/io.hpp>
#include <boost/timer.hpp>
#include <vector>
#include <math.h>
#include "NRGclasses.hpp"
#include "NRGfunctions.hpp"
#include "TwoChQS.hpp"
void TwoChQS_UpdateQm1fQ(CNRGbasi... | 28.595541 | 166 | 0.551788 | [
"vector"
] |
b00e49a04311ca369ea19ba130b511bc799c474b | 2,691 | hpp | C++ | src/dataframe.hpp | heavywatal/rigraphlite | aa36ed630266b9bf77bf2609d96f507bba0b9c22 | [
"MIT"
] | 3 | 2020-04-15T21:42:52.000Z | 2021-12-22T09:06:25.000Z | src/dataframe.hpp | heavywatal/rigraphlite | aa36ed630266b9bf77bf2609d96f507bba0b9c22 | [
"MIT"
] | 4 | 2019-04-02T12:13:32.000Z | 2020-06-07T15:11:36.000Z | src/dataframe.hpp | heavywatal/rigraphlite | aa36ed630266b9bf77bf2609d96f507bba0b9c22 | [
"MIT"
] | null | null | null | #pragma once
#ifndef IGRAPHLITE_DATAFRAME_HPP_
#define IGRAPHLITE_DATAFRAME_HPP_
namespace impl {
inline Rcpp::CharacterVector tibble_class() {
return Rcpp::CharacterVector::create("tbl_df", "tbl", "data.frame");
}
inline void set_rownames(Rcpp::DataFrame& df, int n) {
df.attr("row.names") = Rcpp::Inte... | 32.035714 | 89 | 0.628391 | [
"vector"
] |
b0125379f9dbf5ee0d22a9e328b5fbbe6cf39200 | 1,188 | cpp | C++ | src/CommandLineUtils/CommandLineUtilsTest.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 1,847 | 2020-03-24T19:01:42.000Z | 2022-03-31T13:18:57.000Z | src/CommandLineUtils/CommandLineUtilsTest.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 1,100 | 2020-03-24T19:41:13.000Z | 2022-03-31T14:27:09.000Z | src/CommandLineUtils/CommandLineUtilsTest.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 228 | 2020-03-25T05:32:08.000Z | 2022-03-31T11:27:39.000Z | // Copyright (c) 2021 The Orbit Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <gtest/gtest.h>
#include <QStringList>
#include "CommandLineUtils/CommandLineUtils.h"
namespace orbit_command_line_utils {
TEST(CommandLineU... | 36 | 92 | 0.72138 | [
"vector"
] |
b01e6ab46925b3434b27ed0b9437eec48f6c9f36 | 1,493 | cpp | C++ | Server Lib/Game Server/PANGYA_DB/cmd_login_reward_info.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 23 | 2021-10-31T00:20:21.000Z | 2022-03-26T07:24:40.000Z | Server Lib/Game Server/PANGYA_DB/cmd_login_reward_info.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 5 | 2021-10-31T18:44:51.000Z | 2022-03-25T18:04:26.000Z | Server Lib/Game Server/PANGYA_DB/cmd_login_reward_info.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 18 | 2021-10-20T02:31:56.000Z | 2022-02-01T11:44:36.000Z | // Arquivo cmd_login_reward_info.cpp
// Criado em 27/10/2020 as 18:54 por Acrisio
// Implementa��o da classe CmdLoginRewardInfo
#if defined(_WIN32)
#pragma pack(1)
#endif
#include "cmd_login_reward_info.hpp"
using namespace stdA;
CmdLoginRewardInfo::CmdLoginRewardInfo(bool _waiter) : pangya_db(_waiter), m_lr() {
}
... | 22.969231 | 95 | 0.712659 | [
"vector"
] |
b01e7b0622e195f98248b922fa5bafc82b52fb22 | 8,347 | cc | C++ | vector_test.cc | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | 9 | 2019-09-17T10:33:58.000Z | 2021-07-29T10:03:42.000Z | vector_test.cc | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | null | null | null | vector_test.cc | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | 1 | 2019-10-05T04:31:22.000Z | 2019-10-05T04:31:22.000Z | // Copyright Stephan T. Lavavej, http://nuwen.net .
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://boost.org/LICENSE_1_0.txt .
#include "gluon.hh"
#include "test.hh"
#include "typedef.hh"
#include "vector.hh"
#include "external_begin.hh"
... | 39.937799 | 110 | 0.620822 | [
"vector"
] |
b02ccd9a36586460bdfa7c16e72647abbe14c28d | 22,183 | cpp | C++ | src/main.cpp | rubenpenalva/ComputeBasics | c385022c285c5a44e16b2771159b2e861ad9a168 | [
"MIT"
] | null | null | null | src/main.cpp | rubenpenalva/ComputeBasics | c385022c285c5a44e16b2771159b2e861ad9a168 | [
"MIT"
] | null | null | null | src/main.cpp | rubenpenalva/ComputeBasics | c385022c285c5a44e16b2771159b2e861ad9a168 | [
"MIT"
] | null | null | null | #include "common.h"
#include <d3dcompiler.h>
#include <iostream>
#include <algorithm>
#include "utils.h"
#include "cmdqueuesyncer.h"
#include "gpumemory.h"
#include "descriptors.h"
#if ENABLE_D3D12_DEBUG_LAYER
#include <Initguid.h>
#include <dxgidebug.h>
#endif
namespace ComputeBasics
{
struct CommandQueue
{
I... | 36.91015 | 133 | 0.690754 | [
"object",
"vector"
] |
b0386dfc1c88f5012315300c4ced2a042843f4a2 | 12,747 | cpp | C++ | Engine/Source/Editor/ViewportInteraction/Gizmo/VIStretchGizmoHandle.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Editor/ViewportInteraction/Gizmo/VIStretchGizmoHandle.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Editor/ViewportInteraction/Gizmo/VIStretchGizmoHandle.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "VIStretchGizmoHandle.h"
#include "UObject/ConstructorHelpers.h"
#include "Engine/StaticMesh.h"
#include "VIBaseTransformGizmo.h"
#include "ViewportInteractionDragOperations.h"
#include "VIGizmoHandleMeshComponent.h"
UStretchGizmoHandleGroup::UStre... | 40.084906 | 266 | 0.746058 | [
"mesh",
"object"
] |
b04b9a722d4c0379454526b960cbd3a02bb5d053 | 17,931 | cpp | C++ | mc-sema/cfgToLLVM/raiseX86_64.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 2 | 2021-08-07T16:21:29.000Z | 2021-11-17T10:58:37.000Z | mc-sema/cfgToLLVM/raiseX86_64.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | null | null | null | mc-sema/cfgToLLVM/raiseX86_64.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | null | null | null |
#include "toLLVM.h"
#include "raiseX86.h"
#include "X86.h"
#include "x86Instrs.h"
#include "x86Helpers.h"
#include "ArchOps.h"
#include "RegisterUsage.h"
#include <llvm/Object/COFF.h>
#include <llvm/IR/Constants.h>
#include <llvm/ADT/StringSwitch.h>
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/DataLayout.h"
#in... | 35.506931 | 134 | 0.573588 | [
"object",
"vector"
] |
b04cb373742e0a3830878f62f2267c6b46ea18d7 | 893 | hpp | C++ | mainapp/Classes/Managers/BookManager.hpp | JaagaLabs/GLEXP-Team-KitkitSchool | f94ea3e53bd05fdeb2a9edcc574bc054e575ecc0 | [
"Apache-2.0"
] | 45 | 2019-05-16T20:49:31.000Z | 2021-11-05T21:40:54.000Z | mainapp/Classes/Managers/BookManager.hpp | rdsmarketing/GLEXP-Team-KitkitSchool | 6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e | [
"Apache-2.0"
] | 10 | 2019-05-17T13:38:22.000Z | 2021-07-31T19:38:27.000Z | mainapp/Classes/Managers/BookManager.hpp | rdsmarketing/GLEXP-Team-KitkitSchool | 6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e | [
"Apache-2.0"
] | 29 | 2019-05-16T17:49:26.000Z | 2021-12-30T16:36:24.000Z | //
// BookManager.hpp
// KitkitSchool
//
// Created by Gunho Lee on 11/3/16.
//
//
#ifndef BookManager_hpp
#define BookManager_hpp
#include <stdio.h>
#include <string>
#include <map>
#include <vector>
#include "LanguageManager.hpp"
using namespace std;
class BookInfo {
public:
string bookTitle;
La... | 14.174603 | 105 | 0.671892 | [
"vector"
] |
b04e6e433d0827cae4ac62445d665497f52ffc68 | 1,848 | cpp | C++ | tengine/models/models.cpp | dfk789/CodenameInfinite | aeb88b954b65f6beca3fb221fe49459b75e7c15f | [
"BSD-4-Clause"
] | 2 | 2015-01-02T13:11:04.000Z | 2015-01-20T02:46:15.000Z | tengine/models/models.cpp | dfk789/CodenameInfinite | aeb88b954b65f6beca3fb221fe49459b75e7c15f | [
"BSD-4-Clause"
] | null | null | null | tengine/models/models.cpp | dfk789/CodenameInfinite | aeb88b954b65f6beca3fb221fe49459b75e7c15f | [
"BSD-4-Clause"
] | null | null | null | #include "models.h"
#include <modelconverter/modelconverter.h>
#include <renderer/renderer.h>
#include <models/texturelibrary.h>
CModelLibrary* CModelLibrary::s_pModelLibrary = NULL;
static CModelLibrary g_ModelLibrary = CModelLibrary();
CModelLibrary::CModelLibrary()
{
s_pModelLibrary = this;
}
CMod... | 21 | 94 | 0.685606 | [
"vector"
] |
b051ceafedf85fe591e23beb1627a2f8833cfce5 | 624 | cpp | C++ | src/linux/linux_process.cpp | nickrioux/CppND-System-Monitor-Project-Updated | b27d7692583b5ca42d7b91c3b239a78b8244bb9b | [
"MIT"
] | null | null | null | src/linux/linux_process.cpp | nickrioux/CppND-System-Monitor-Project-Updated | b27d7692583b5ca42d7b91c3b239a78b8244bb9b | [
"MIT"
] | null | null | null | src/linux/linux_process.cpp | nickrioux/CppND-System-Monitor-Project-Updated | b27d7692583b5ca42d7b91c3b239a78b8244bb9b | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <cctype>
#include <sstream>
#include <string>
#include <vector>
#include "linux/linux_parser.h"
#include "linux/linux_process.h"
using std::string;
using std::to_string;
using std::vector;
// Process Constructor
Linux_Process::Linux_Process(const int& pid)
: Process(pid, LinuxParser... | 24.96 | 79 | 0.725962 | [
"vector"
] |
b05a8e727fc382cbf51e5a012530f05ec0d332e9 | 680 | hpp | C++ | plugins/d3d9/include/sge/d3d9/state/core/sampler/state_vector.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/d3d9/include/sge/d3d9/state/core/sampler/state_vector.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/d3d9/include/sge/d3d9/state/core/sampler/state_vector.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_D3D9_STATE_CORE_SAMPLER_STATE_VECTOR_HPP_INCLUDED
#define SGE_D3D9_STATE_CORE_SAMPLER_S... | 20 | 73 | 0.757353 | [
"vector"
] |
b068ff40e49ece688267395b16d2ec98f5e06607 | 1,267 | cpp | C++ | Unique/unique.cpp | LEOBox/Algorithms | be53dceb44bbecb0ce714aea7f2aeeff1be98d2a | [
"MIT"
] | null | null | null | Unique/unique.cpp | LEOBox/Algorithms | be53dceb44bbecb0ce714aea7f2aeeff1be98d2a | [
"MIT"
] | null | null | null | Unique/unique.cpp | LEOBox/Algorithms | be53dceb44bbecb0ce714aea7f2aeeff1be98d2a | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
//use left indicator as base indicator
void unique_left_point(vector<int> &v);
//use right indicator as base indicator
void unique_right_point(vector<int> &v);
int main() {
vector<int> v = {3,2,6,3,7,4,6,7,8,1,0,3,5};
unique_left_point(... | 24.365385 | 70 | 0.522494 | [
"vector"
] |
b0715fcccf33dd2cf1b673f95a986231dac31c0d | 35,385 | cxx | C++ | OOFSWIG/SWIG/scanner.cxx | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 31 | 2015-04-01T15:59:36.000Z | 2022-03-18T20:21:47.000Z | OOFSWIG/SWIG/scanner.cxx | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 3 | 2015-02-06T19:30:24.000Z | 2017-05-25T14:14:31.000Z | OOFSWIG/SWIG/scanner.cxx | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 7 | 2015-01-23T15:19:22.000Z | 2021-06-09T09:03:59.000Z | /*******************************************************************************
* Simplified Wrapper and Interface Generator (SWIG)
*
* Author : David Beazley
*
* Department of Computer Science
* University of Chicago
* 1100 E 58th Street
* Chicago, IL 60637
* beazley@cs.uchicago.edu
*
* Please r... | 25.604197 | 109 | 0.507842 | [
"object"
] |
b071e43a8ee7c781c35b2a41e8429f219e572b25 | 509 | cpp | C++ | wasm/OpenSimplexNoise.cpp | xaroth8088/react-planet | d959deb265387a7b5d589e16ea9484ff9aa9d80b | [
"MIT"
] | 3 | 2018-09-08T13:49:07.000Z | 2022-03-05T23:41:32.000Z | wasm/OpenSimplexNoise.cpp | xaroth8088/react-planet | d959deb265387a7b5d589e16ea9484ff9aa9d80b | [
"MIT"
] | 24 | 2020-09-04T20:44:52.000Z | 2022-02-26T10:38:23.000Z | wasm/OpenSimplexNoise.cpp | xaroth8088/react-planet | d959deb265387a7b5d589e16ea9484ff9aa9d80b | [
"MIT"
] | null | null | null | #include "OpenSimplexNoise.h"
const float OpenSimplexNoise::STRETCH_3D = -1.0 / 6.0;
const float OpenSimplexNoise::SQUISH_3D = 1.0 / 3.0;
const float OpenSimplexNoise::NORM_3D = 1.0 / 103.0;
std::array<float, 72> OpenSimplexNoise::gradients3D;
std::vector<OpenSimplexNoise::Contribution3*> OpenSimplexNoise::lookup3D;... | 33.933333 | 80 | 0.799607 | [
"vector"
] |
b07fc71984dd0dd30a3c2921f24730dc0efb798c | 1,131 | cpp | C++ | src/gui/object/Sprite.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | 5 | 2015-10-11T10:22:39.000Z | 2019-07-24T10:09:13.000Z | src/gui/object/Sprite.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | null | null | null | src/gui/object/Sprite.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | null | null | null | /**************************************************
Zlib Copyright 2015 Isak Almgren
***************************************************/
#include "Sprite.h"
#include "../GUIEngine.h"
GUI::Sprite::Sprite()
{
}
GUI::Sprite::Sprite( rString name, GUI::SpriteDefinition spriteDefinition, rString parent ) :
Object( name,... | 21.339623 | 142 | 0.668435 | [
"render",
"object"
] |
b0830a5c387c0414edd4a5f7d6b364cdfeade7dc | 4,182 | cpp | C++ | 2019/day03/main.cpp | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | 3 | 2021-07-01T14:31:06.000Z | 2022-03-29T20:41:21.000Z | 2019/day03/main.cpp | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | null | null | null | 2019/day03/main.cpp | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | null | null | null | #include "file.h"
#include "utilities.h"
#include <iostream>
namespace aoc2019_day03 {
struct point {
point (int _x, int _y, int _steps) : x(_x), y(_y), steps(_steps) {}
int x, y, steps;
};
bool operator==(const point& p1, const point& p2) {
return p1.x == p2.x && p1.y == p2.y;
... | 28.44898 | 100 | 0.433764 | [
"vector"
] |
b085b052609c03f763727839c6b9ef59f9c8d1c6 | 2,727 | cpp | C++ | lib/caffe/src/caffe/layers/lattice_spixel_layer.cpp | XiaoPanX/FastLatticeSuperpixels | 9fb7d9680b07b155cb33aa53558e050a923f11c2 | [
"MIT"
] | null | null | null | lib/caffe/src/caffe/layers/lattice_spixel_layer.cpp | XiaoPanX/FastLatticeSuperpixels | 9fb7d9680b07b155cb33aa53558e050a923f11c2 | [
"MIT"
] | null | null | null | lib/caffe/src/caffe/layers/lattice_spixel_layer.cpp | XiaoPanX/FastLatticeSuperpixels | 9fb7d9680b07b155cb33aa53558e050a923f11c2 | [
"MIT"
] | null | null | null | #include "caffe/util/math_functions.hpp"
#include "caffe/malabar_layers.hpp"
#include "caffe/layers/lattice_spixel_layer.hpp"
namespace caffe {
/*
Setup function
*/
template <typename Dtype>
void LatticeSpixelLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
num_ =... | 29.967033 | 90 | 0.721305 | [
"vector"
] |
b0860776bcfd523a5675b27ed4fec5d3ded40653 | 35,332 | cpp | C++ | src/AstBuilderInt.cpp | PSSTools/py-pss-parser | c068942a770d2abbc4626f7e654f1bb405242f4d | [
"Apache-2.0"
] | null | null | null | src/AstBuilderInt.cpp | PSSTools/py-pss-parser | c068942a770d2abbc4626f7e654f1bb405242f4d | [
"Apache-2.0"
] | null | null | null | src/AstBuilderInt.cpp | PSSTools/py-pss-parser | c068942a770d2abbc4626f7e654f1bb405242f4d | [
"Apache-2.0"
] | null | null | null | /*
* AstBuilderInt.cpp
*
* Created on: Sep 13, 2020
* Author: ballance
*/
#include "AstBuilderInt.h"
#include "PSSLexer.h"
#include "pssp/ast/IFactory.h"
#include "Action.h"
#include "Component.h"
#include "NamedScopeChild.h"
#include "ScopeUtil.h"
namespace pssp {
AstBuilderInt::AstBuilderInt(IMarkerList... | 45.648579 | 135 | 0.788973 | [
"vector"
] |
b0888a844c5830e6cfef232b7db763bd1be0c737 | 10,904 | hpp | C++ | kfr/include/kfr/dsp/ebu.hpp | yekm/gate_recorder | e76fda4a6d67672c0c2d7802417116ac3c1a1896 | [
"MIT"
] | null | null | null | kfr/include/kfr/dsp/ebu.hpp | yekm/gate_recorder | e76fda4a6d67672c0c2d7802417116ac3c1a1896 | [
"MIT"
] | 1 | 2021-02-25T14:20:19.000Z | 2021-02-25T14:24:03.000Z | kfr/include/kfr/dsp/ebu.hpp | For-The-Birds/gate_recorder | e76fda4a6d67672c0c2d7802417116ac3c1a1896 | [
"MIT"
] | null | null | null | /** @addtogroup ebu
* @{
*/
/*
Copyright (C) 2016 D Levin (https://www.kfrlib.com)
This file is part of KFR
KFR is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(... | 30.204986 | 109 | 0.625917 | [
"vector"
] |
b08ae774d2be1c3d372e7fc6fe8a1759d2a055fd | 42,044 | cpp | C++ | Server Lib/Projeto IOCP/Smart Calculator/Smart Calculator.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 23 | 2021-10-31T00:20:21.000Z | 2022-03-26T07:24:40.000Z | Server Lib/Projeto IOCP/Smart Calculator/Smart Calculator.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 5 | 2021-10-31T18:44:51.000Z | 2022-03-25T18:04:26.000Z | Server Lib/Projeto IOCP/Smart Calculator/Smart Calculator.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 18 | 2021-10-20T02:31:56.000Z | 2022-02-01T11:44:36.000Z | // Arquivo Smart Calculator.cpp
// Criado em 15/11/2020 as 17:32 por Acrisio
// Implementa��o da classe SmartCalculator
#if defined(_WIN32)
#pragma pack(1)
#endif
#if defined(_WIN32)
#include <WinSock2.h>
#elif defined(__linux__)
#include "../UTIL/WinPort.h"
#endif
#include "Smart Calculator.hpp"
#include "../UTIL/m... | 27.248218 | 175 | 0.731829 | [
"vector"
] |
b09b2441ac1a067f6beeefdd425892db25fe1453 | 33,241 | cpp | C++ | MakeIcons.cpp | RogerParkinson/MakeIcons | 74fca9f48d48d17e423f27dc66762296d3a90200 | [
"Apache-2.0"
] | null | null | null | MakeIcons.cpp | RogerParkinson/MakeIcons | 74fca9f48d48d17e423f27dc66762296d3a90200 | [
"Apache-2.0"
] | null | null | null | MakeIcons.cpp | RogerParkinson/MakeIcons | 74fca9f48d48d17e423f27dc66762296d3a90200 | [
"Apache-2.0"
] | null | null | null | //============================================================================
// Name : MakeIcons.cpp
// Author : RJP
// Version :
// Copyright : (C) 2015 Prometheus Consulting
// Description : Makes Icon files
//============================================================================
#include <... | 60.992661 | 78 | 0.134683 | [
"3d"
] |
b0a2aa2f5d7120038f333b3e4bd1258893983dcb | 9,473 | cpp | C++ | src/levels/Level.cpp | Press-Play-On-Tape/LoadRunner_Pokitto | 1de11e6b392a5a382e39718e7d2422021946c2cf | [
"BSD-3-Clause"
] | null | null | null | src/levels/Level.cpp | Press-Play-On-Tape/LoadRunner_Pokitto | 1de11e6b392a5a382e39718e7d2422021946c2cf | [
"BSD-3-Clause"
] | null | null | null | src/levels/Level.cpp | Press-Play-On-Tape/LoadRunner_Pokitto | 1de11e6b392a5a382e39718e7d2422021946c2cf | [
"BSD-3-Clause"
] | null | null | null | #include "Level.h"
//--------------------------------------------------------------------------------------------------------------------------
uint8_t Level::getWidth() {
return this->width;
}
uint8_t Level::getHeight() {
return this->height;
}
int16_t Level::getXOffset() {
return this->xOffset;
}
in... | 21.051111 | 124 | 0.549984 | [
"solid"
] |
b0a34dc57fcc7cf55f53fcf4724be00d2c075bcc | 13,087 | cpp | C++ | src/extrinsic_calib_aruco/main_extrinsic_charuco.cpp | neemoh/ART | 3f990b9d3c4b58558adf97866faf4eea553ba71b | [
"Unlicense"
] | 11 | 2018-06-29T19:08:08.000Z | 2021-12-30T07:13:00.000Z | src/extrinsic_calib_aruco/main_extrinsic_charuco.cpp | liuxia-zju/ATAR | 3f990b9d3c4b58558adf97866faf4eea553ba71b | [
"Unlicense"
] | 1 | 2020-05-09T23:44:55.000Z | 2020-05-09T23:44:55.000Z | src/extrinsic_calib_aruco/main_extrinsic_charuco.cpp | liuxia-zju/ATAR | 3f990b9d3c4b58558adf97866faf4eea553ba71b | [
"Unlicense"
] | 6 | 2017-11-28T14:26:18.000Z | 2019-11-29T01:57:14.000Z | //
// Created by nima on 21/05/17.
//
#include <opencv2/highgui.hpp>
#include <opencv2/aruco/charuco.hpp>
#include <iostream>
#include <opencv2/opencv.hpp>
#include <ros/ros.h>
#include <sensor_msgs/Image.h>
#include <cv_bridge/cv_bridge.h>
#include <image_transport/image_transport.h>
#include <geometry_msgs/PoseSt... | 35.854795 | 83 | 0.526629 | [
"object",
"vector"
] |
b0a7d228e5c0791c96dfe18c81f83f7e4623b494 | 505 | cpp | C++ | compiler/src/Ast/AstArrayCall.cpp | jadedrip/SimpleLang | f39c490e5a41151d1d0d2f8c77c6ce524b7842f0 | [
"BSD-3-Clause"
] | 16 | 2015-03-30T02:46:49.000Z | 2020-07-28T13:36:54.000Z | compiler/src/Ast/AstArrayCall.cpp | jadedrip/SimpleLang | f39c490e5a41151d1d0d2f8c77c6ce524b7842f0 | [
"BSD-3-Clause"
] | 1 | 2020-09-07T03:35:20.000Z | 2020-09-07T04:11:52.000Z | compiler/src/Ast/AstArrayCall.cpp | jadedrip/SimpleLang | f39c490e5a41151d1d0d2f8c77c6ce524b7842f0 | [
"BSD-3-Clause"
] | 2 | 2020-02-07T02:09:48.000Z | 2020-02-19T13:31:35.000Z | #include "stdafx.h"
#include "AstArrayCall.h"
#include "AstCall.h"
#include "Type/ClassInstanceType.h"
#include "CodeGenerate/LambdaGen.h"
CodeGen * AstArrayCall::makeGen(AstContext * parent)
{
auto &c = parent->context();
CodeGen* obj = expr->makeGen(parent);
auto *ct=parent->findCompiledClass(obj->type->getStruc... | 26.578947 | 64 | 0.70495 | [
"vector"
] |
b0abd455783f8cbc86e7ed199bfffc0e093d4389 | 1,883 | cpp | C++ | src/view/task/task.cpp | panzergame/dxfplotter | 95393027903c8e907c1d1ef7b4982d1aadc968c8 | [
"MIT"
] | 19 | 2020-04-08T16:38:27.000Z | 2022-03-30T19:53:18.000Z | src/view/task/task.cpp | panzergame/dxfplotter | 95393027903c8e907c1d1ef7b4982d1aadc968c8 | [
"MIT"
] | 3 | 2020-10-27T05:50:37.000Z | 2022-03-19T17:22:04.000Z | src/view/task/task.cpp | panzergame/dxfplotter | 95393027903c8e907c1d1ef7b4982d1aadc968c8 | [
"MIT"
] | 6 | 2020-06-15T13:00:58.000Z | 2022-02-09T13:18:04.000Z | #include <task.h>
#include <pathlistmodel.h>
#include <layertreemodel.h>
#include <QLabel>
#include <QDebug>
namespace View::Task
{
Task::Task(Model::Application &app)
:DocumentModelObserver(app)
{
setupUi(this);
}
void Task::setupModel()
{
m_pathListModel = setupTreeViewModel<PathListModel>(pathsTreeView);
m_... | 28.969231 | 119 | 0.784918 | [
"model"
] |
b0b3f002dd679443ac73b812454be3d71f0e6838 | 4,091 | cpp | C++ | inside_cpp_object_model/overloading/virtual_tables/virtual_tables.cpp | gymk/Study-CPP | f31b0fbd5ee961690fa7fdfe5c41e96c41c03997 | [
"MIT"
] | 1 | 2020-09-20T16:19:33.000Z | 2020-09-20T16:19:33.000Z | inside_cpp_object_model/overloading/virtual_tables/virtual_tables.cpp | gymk/Study-CPP | f31b0fbd5ee961690fa7fdfe5c41e96c41c03997 | [
"MIT"
] | 1 | 2019-05-12T03:52:40.000Z | 2019-05-12T10:10:24.000Z | inside_cpp_object_model/overloading/virtual_tables/virtual_tables.cpp | gymk/Study-CPP | f31b0fbd5ee961690fa7fdfe5c41e96c41c03997 | [
"MIT"
] | 1 | 2019-05-12T03:48:26.000Z | 2019-05-12T03:48:26.000Z | /*
g++ -fdump-class-hierarchy virtual_tables.cpp
g++ virtual_tables.cpp -o virtual_tables.out
g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.10' --... | 24.945122 | 1,202 | 0.660963 | [
"object",
"model"
] |
b0bf5852d9da53e7f2cd181e1ed5490c35d47b1a | 16,360 | cpp | C++ | FATERUI/common/camera/bobcat/CameraBobcat.cpp | LynnChan706/Fater | dde8e3baaac7be8b0c1f8bee0da628f6e6f2b772 | [
"MIT"
] | 4 | 2018-12-07T02:17:26.000Z | 2020-12-03T05:32:23.000Z | FATERUI/common/camera/bobcat/CameraBobcat.cpp | LynnChan706/Fater | dde8e3baaac7be8b0c1f8bee0da628f6e6f2b772 | [
"MIT"
] | null | null | null | FATERUI/common/camera/bobcat/CameraBobcat.cpp | LynnChan706/Fater | dde8e3baaac7be8b0c1f8bee0da628f6e6f2b772 | [
"MIT"
] | 1 | 2021-12-30T12:14:52.000Z | 2021-12-30T12:14:52.000Z | #include "CameraBobcat.h"
#include <stdlib.h>
#include <vector>
#include <string.h>
#include <iomanip>
using namespace std;
CameraBobcat::CameraBobcat(int _mode, bool _single_mode, float _grabTimeout, bool _strobe_enable,
float _trigger_delay, unsigned int _packetSize, unsigned int _interP... | 29.16221 | 116 | 0.616504 | [
"object",
"vector"
] |
b0c65da852d53ec38c65516355e2f3daf7e83e71 | 17,256 | cpp | C++ | Hotel_management_System/report_management.cpp | stream12138/- | 1ac74a88b23e277f0163c384cbb085525800f918 | [
"MIT"
] | 3 | 2021-01-09T00:53:27.000Z | 2021-03-08T11:29:01.000Z | Hotel_management_System/report_management.cpp | stream12138/- | 1ac74a88b23e277f0163c384cbb085525800f918 | [
"MIT"
] | 1 | 2021-01-05T13:28:50.000Z | 2021-01-06T14:44:34.000Z | Hotel_management_System/report_management.cpp | stream12138/-Rookie-mutual-carry | 1ac74a88b23e277f0163c384cbb085525800f918 | [
"MIT"
] | null | null | null | #include "report_management.h"
#include "ui_report_management.h"
Report_management::Report_management(QWidget *parent) :
QWidget(parent),
ui(new Ui::Report_management)
{
ui->setupUi(this);
ui->dateEdit_3->setDateTime(QDateTime::currentDateTime());
ui->dateEdit_4->setDateTime(QDateTime::c... | 38.517857 | 140 | 0.604543 | [
"model"
] |
37d46358c58c8c2dd4276a430310c59cd70e873c | 2,269 | cpp | C++ | engine/time/source/TileTransformObserver.cpp | prolog/shadow-of-the-wyrm | a1312c3e9bb74473f73c4e7639e8bd537f10b488 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | engine/time/source/TileTransformObserver.cpp | prolog/shadow-of-the-wyrm | a1312c3e9bb74473f73c4e7639e8bd537f10b488 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | engine/time/source/TileTransformObserver.cpp | prolog/shadow-of-the-wyrm | a1312c3e9bb74473f73c4e7639e8bd537f10b488 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #include "AgeTimeObserver.hpp"
#include "TileTransformObserver.hpp"
#include "Game.hpp"
#include "TileGenerator.hpp"
using namespace std;
void TileTransformObserver::notify(const ulonglong minutes_passed)
{
double cur_seconds = 0;
Game& game = Game::instance();
World* world = game.get_current_world();
if (wo... | 24.138298 | 105 | 0.657999 | [
"vector"
] |
37d6d065283e71f76f19d9aa8f9e131a3071a1f8 | 12,646 | cpp | C++ | symtab.cpp | SonicStrain/Symbol-Table | 30d2dad6ee0ff7b481c41cc31d7acc8b17b4c869 | [
"MIT"
] | null | null | null | symtab.cpp | SonicStrain/Symbol-Table | 30d2dad6ee0ff7b481c41cc31d7acc8b17b4c869 | [
"MIT"
] | null | null | null | symtab.cpp | SonicStrain/Symbol-Table | 30d2dad6ee0ff7b481c41cc31d7acc8b17b4c869 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
fstream ofs;
map<string,string> hash_table;
map<string,string>::iterator itr;
//map<string,pair<int,vector<int>>> attr;
map<string,pair<pair<int,int>,vector<pair<int,int>>>> attr;
void lookUpValue(string key){
string result = "Not Found!";
for (itr... | 29.341067 | 104 | 0.356318 | [
"vector"
] |
37ea635c781901ede6f50e1df198020bb3ebd00a | 4,377 | cpp | C++ | src/ZoneReversal.cpp | allandemiranda/forex-financial-analysis | 7688478607da258cb61bd7e009961083ee7849cf | [
"Unlicense"
] | null | null | null | src/ZoneReversal.cpp | allandemiranda/forex-financial-analysis | 7688478607da258cb61bd7e009961083ee7849cf | [
"Unlicense"
] | null | null | null | src/ZoneReversal.cpp | allandemiranda/forex-financial-analysis | 7688478607da258cb61bd7e009961083ee7849cf | [
"Unlicense"
] | null | null | null | /**
* @file ZoneReversal.cpp
* @author Allan de Miranda Silva (allandemiranda@gmail.com)
* @brief Métodos da classe ZoneReversal
* @version 0.1
* @date 18-10-2019
*
* @copyright Copyright (c) 2019
*
*/
#include "ZoneReversal.hpp"
#include <algorithm>
#include "Candlestick.hpp"
#include <iostream> // deletar... | 30.608392 | 79 | 0.638794 | [
"vector"
] |
37f56033169b16dc40796fc8de680ee691fe35ee | 9,503 | cpp | C++ | sdrs/src/v1/model/FailureJobParams.cpp | huaweicloud/huaweicloud-sdk-cpp-v3 | d3b5e07b0ee8367d1c7f6dad17be0212166d959c | [
"Apache-2.0"
] | 5 | 2021-03-03T08:23:43.000Z | 2022-02-16T02:16:39.000Z | sdrs/src/v1/model/FailureJobParams.cpp | ChenwxJay/huaweicloud-sdk-cpp-v3 | f821ec6d269b50203e0c1638571ee1349c503c41 | [
"Apache-2.0"
] | null | null | null | sdrs/src/v1/model/FailureJobParams.cpp | ChenwxJay/huaweicloud-sdk-cpp-v3 | f821ec6d269b50203e0c1638571ee1349c503c41 | [
"Apache-2.0"
] | 7 | 2021-02-26T13:53:35.000Z | 2022-03-18T02:36:43.000Z |
#include "huaweicloud/sdrs/v1/model/FailureJobParams.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Sdrs {
namespace V1 {
namespace Model {
FailureJobParams::FailureJobParams()
{
jobType_ = "";
jobTypeIsSet_ = false;
jobStatus_ = "";
jobStatusIsSet_ = false;
beginTime_ = "";
beginTi... | 23.937028 | 105 | 0.661265 | [
"object",
"model"
] |
37f91b93f281bee341977426f7f74d277da7925d | 1,832 | cpp | C++ | SPOJ/CANDY3 - Candy III.cpp | ravirathee/Competitive-Programming | 20a0bfda9f04ed186e2f475644e44f14f934b533 | [
"Unlicense"
] | 6 | 2018-11-26T02:38:07.000Z | 2021-07-28T00:16:41.000Z | SPOJ/CANDY3 - Candy III.cpp | ravirathee/Competitive-Programming | 20a0bfda9f04ed186e2f475644e44f14f934b533 | [
"Unlicense"
] | 1 | 2021-05-30T09:25:53.000Z | 2021-06-05T08:33:56.000Z | SPOJ/CANDY3 - Candy III.cpp | ravirathee/Competitive-Programming | 20a0bfda9f04ed186e2f475644e44f14f934b533 | [
"Unlicense"
] | 4 | 2020-04-16T07:15:01.000Z | 2020-12-04T06:26:07.000Z | /*CANDY3 - Candy III
#ad-hoc-1
A class went to a school trip. And, as usually, all N kids have got their backpacks stuffed with candy. But soon quarrels started all over the place, as some of the kids had more candies than others. Soon, the teacher realized that he has to step in: "Everybody, listen! Put all the candi... | 24.756757 | 320 | 0.658843 | [
"vector"
] |
37fbe4b027f1db000d73d9bf6dd60518f0d91825 | 4,975 | cpp | C++ | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_sysadmin_fpd_infra_cli_fpd.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_sysadmin_fpd_infra_cli_fpd.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_sysadmin_fpd_infra_cli_fpd.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z |
#include <sstream>
#include <iostream>
#include <ydk/entity_util.hpp>
#include "bundle_info.hpp"
#include "generated_entity_lookup.hpp"
#include "Cisco_IOS_XR_sysadmin_fpd_infra_cli_fpd.hpp"
using namespace ydk;
namespace cisco_ios_xr {
namespace Cisco_IOS_XR_sysadmin_fpd_infra_cli_fpd {
Fpd::Fpd()
:
config... | 23.356808 | 157 | 0.692864 | [
"vector"
] |
37fe703c2af4404b8b65f35984464f3668854c80 | 3,723 | cpp | C++ | SolarSystem/Source/Viewers/IMGuiViewer/Drawers/Scene/Camera.cpp | janwaltl/SolarSystem | f148ed7aef00450bda3c6ae97166678a41872bdf | [
"MIT"
] | null | null | null | SolarSystem/Source/Viewers/IMGuiViewer/Drawers/Scene/Camera.cpp | janwaltl/SolarSystem | f148ed7aef00450bda3c6ae97166678a41872bdf | [
"MIT"
] | null | null | null | SolarSystem/Source/Viewers/IMGuiViewer/Drawers/Scene/Camera.cpp | janwaltl/SolarSystem | f148ed7aef00450bda3c6ae97166678a41872bdf | [
"MIT"
] | null | null | null | #include "Camera.h"
#include <vector>
#include <glad/glad.h>
#include "Source/Viewers/IMGuiViewer/OpenGL/Shader.h"
#include "Source/Viewers/IMGuiViewer/OpenGL/Error.h"
namespace solar
{
namespace
{
constexpr size_t matSize = 16 * sizeof(float);
constexpr size_t bufferSize = 6 * matSize;
//Cameras' UBOs will u... | 30.768595 | 137 | 0.703465 | [
"vector"
] |
5302225513ea4ff0e7262d0ceac548c620918804 | 1,122 | cpp | C++ | Dynamic Programming/357. Count Numbers with Unique Digits/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 1 | 2021-11-19T19:58:33.000Z | 2021-11-19T19:58:33.000Z | Dynamic Programming/357. Count Numbers with Unique Digits/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | null | null | null | Dynamic Programming/357. Count Numbers with Unique Digits/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 2 | 2021-11-26T12:47:27.000Z | 2022-01-13T16:14:46.000Z | //
// main.cpp
// 357. Count Numbers with Unique Digits
//
// Created by 边俊林 on 2019/9/4.
// Copyright © 2019 Minecode.Link. All rights reserved.
//
/* ------------------------------------------------------ *\
https://leetcode.com/problems/count-numbers-with-unique-digits/
\* -------------------------------------... | 21.169811 | 64 | 0.491087 | [
"vector"
] |
5306a884809cdd7a988bf1530f6cc78995a1db47 | 3,362 | cpp | C++ | sandbox/src/pawn/combat_controller.cpp | vitodtagliente/AwesomeEngine | eff06dbad1c4a168437f69800629a7e20619051c | [
"MIT"
] | 3 | 2019-08-15T18:57:20.000Z | 2020-01-09T22:19:26.000Z | sandbox/src/pawn/combat_controller.cpp | vitodtagliente/AwesomeEngine | eff06dbad1c4a168437f69800629a7e20619051c | [
"MIT"
] | null | null | null | sandbox/src/pawn/combat_controller.cpp | vitodtagliente/AwesomeEngine | eff06dbad1c4a168437f69800629a7e20619051c | [
"MIT"
] | null | null | null | #include "combat_controller.h"
#include <awesome/application/canvas.h>
#include <awesome/application/input.h>
#include <awesome/asset/asset_library.h>
#include <awesome/components/camera.h>
#include <awesome/components/sprite_animator.h>
#include <awesome/editor/layout.h>
#include <awesome/entity/entity.h>
#include <a... | 28.491525 | 117 | 0.73022 | [
"render",
"transform"
] |
53096a0901ae853a6ab6545c4c1aa42cc179f2a0 | 709 | cpp | C++ | AcCoRD2/src/basic_plane.cpp | Jackrekirby/AcCoRD2 | d712b3f7e73f32dc1894fcb79bec4510a13a9dce | [
"MIT"
] | null | null | null | AcCoRD2/src/basic_plane.cpp | Jackrekirby/AcCoRD2 | d712b3f7e73f32dc1894fcb79bec4510a13a9dce | [
"MIT"
] | null | null | null | AcCoRD2/src/basic_plane.cpp | Jackrekirby/AcCoRD2 | d712b3f7e73f32dc1894fcb79bec4510a13a9dce | [
"MIT"
] | null | null | null | // The AcCoRD 2 Simulator (Actor - based Communication via Reaction - Diffusion)
// Copyright 2021 Jack Kirby. All rights reserved.
// For license details, read LICENSE.txt in the root AcCoRD2 directory
#include "pch.h"
#include "basic_plane.h"
namespace accord::shape::basic
{
Plane::Plane(double position, Axis3D a... | 19.162162 | 80 | 0.675599 | [
"shape"
] |
530987e0790f2fc0e77374b7666632fd9156a937 | 6,041 | hpp | C++ | src/NumericalAlgorithms/DiscontinuousGalerkin/Actions/ApplyBoundaryFluxesLocalTimeStepping.hpp | osheamonn/spectre | 4a3332c61d749d83c161ea1c2ea014a937fd5dd8 | [
"MIT"
] | null | null | null | src/NumericalAlgorithms/DiscontinuousGalerkin/Actions/ApplyBoundaryFluxesLocalTimeStepping.hpp | osheamonn/spectre | 4a3332c61d749d83c161ea1c2ea014a937fd5dd8 | [
"MIT"
] | null | null | null | src/NumericalAlgorithms/DiscontinuousGalerkin/Actions/ApplyBoundaryFluxesLocalTimeStepping.hpp | osheamonn/spectre | 4a3332c61d749d83c161ea1c2ea014a937fd5dd8 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <cstddef>
#include <tuple>
#include "DataStructures/DataBox/DataBox.hpp"
#include "DataStructures/DataBox/DataBoxTag.hpp"
#include "DataStructures/VariablesHelpers.hpp"
#include "Domain/IndexToSliceAt.hpp"
#include "Domain/Ta... | 42.843972 | 124 | 0.642774 | [
"mesh"
] |
5314ec8bb213eb801672e7927766bc3801093061 | 10,641 | cpp | C++ | Source/TracerLib/SceneNodeJson.cpp | yalcinerbora/meturay | cff17b537fd8723af090802dfd17a0a740b404f5 | [
"MIT"
] | null | null | null | Source/TracerLib/SceneNodeJson.cpp | yalcinerbora/meturay | cff17b537fd8723af090802dfd17a0a740b404f5 | [
"MIT"
] | null | null | null | Source/TracerLib/SceneNodeJson.cpp | yalcinerbora/meturay | cff17b537fd8723af090802dfd17a0a740b404f5 | [
"MIT"
] | null | null | null | #include "SceneNodeJson.h"
#include "RayLib/SceneIO.h"
#include "RayLib/Log.h"
#include "RayLib/SceneNodeNames.h"
template <class T, LoadFunc<T> LoadF>
std::vector<T> SceneNodeJson::AccessSingle(const std::string& name,
double time) const
{
const nlohmann::json& nodeInner... | 31.297059 | 105 | 0.679447 | [
"vector"
] |
531c2e9067f6711773037ecf0ec9d6a430b8814d | 2,601 | cpp | C++ | ROS/sudoku_bot_ws/src/sudoku_pub/src/sudoku_pub_node.cpp | Zarif-Karim/Project-Work | 0ee080b5ad1b7cfb70737caaf738b8261c43d95a | [
"BSD-3-Clause"
] | null | null | null | ROS/sudoku_bot_ws/src/sudoku_pub/src/sudoku_pub_node.cpp | Zarif-Karim/Project-Work | 0ee080b5ad1b7cfb70737caaf738b8261c43d95a | [
"BSD-3-Clause"
] | null | null | null | ROS/sudoku_bot_ws/src/sudoku_pub/src/sudoku_pub_node.cpp | Zarif-Karim/Project-Work | 0ee080b5ad1b7cfb70737caaf738b8261c43d95a | [
"BSD-3-Clause"
] | null | null | null | #include <ros/ros.h>
#include <sudoku_pub/grid_num.h>
#include <sudoku_pub/grid_num_vector.h>
#include <stdlib.h>
#include <fstream>
#include <sstream>
#include <vector>
#include <string>
const int GRID_SIZE = 16;
using namespace std;
int main(int argc, char **argv)
{
ros::init(argc, argv, "sudokuPublisher");
ros:... | 27.378947 | 90 | 0.461745 | [
"vector"
] |
5323e682147b42487f79209de8619dd0e65d0fb5 | 59,881 | cpp | C++ | src/libs/fileext/excel/sheet.cpp | dmryutov/document2html | 753d37a42a7c9e9daeb33183228ac5bf0df87295 | [
"MIT"
] | 7 | 2018-01-18T05:39:53.000Z | 2020-05-25T10:16:44.000Z | src/libs/fileext/excel/sheet.cpp | dmryutov/document2html | 753d37a42a7c9e9daeb33183228ac5bf0df87295 | [
"MIT"
] | 1 | 2018-02-07T11:04:23.000Z | 2018-02-10T18:16:02.000Z | src/libs/fileext/excel/sheet.cpp | dmryutov/document2html | 753d37a42a7c9e9daeb33183228ac5bf0df87295 | [
"MIT"
] | 4 | 2018-06-27T23:53:46.000Z | 2021-09-22T05:38:39.000Z | /**
* @brief Excel files (xls/xlsx) into HTML сonverter
* @package excel
* @file sheet.cpp
* @author dmryutov (dmryutov@gmail.com)
* @copyright python-excel (https://github.com/python-excel/xlrd)
* @date 02.12.2016 -- 10.02.2018
*/
#include "../../tools.hpp"
#include "biffh.hpp"
#include "sh... | 35.749851 | 101 | 0.638466 | [
"object",
"vector",
"transform",
"solid"
] |
53359b2fd1ced5b70368ebca7d6a7d909d4dfad4 | 2,647 | cpp | C++ | src/lib/formats/dim_dsk.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/lib/formats/dim_dsk.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/lib/formats/dim_dsk.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Olivier Galibert
/*********************************************************************
formats/dim_dsk.c
DIM disk images
*********************************************************************/
#include "dim_dsk.h"
#include "ioprocs.h"
#include <cstring>
dim_fo... | 18.907143 | 126 | 0.587457 | [
"vector"
] |
533d4e116395e35e2fa43bb25af1987e20e05767 | 2,232 | hpp | C++ | src/slide/slide.hpp | moredu/upm | d6f76ff8c231417666594214679c49399513112e | [
"MIT"
] | 619 | 2015-01-14T23:50:18.000Z | 2019-11-08T14:04:33.000Z | src/slide/slide.hpp | moredu/upm | d6f76ff8c231417666594214679c49399513112e | [
"MIT"
] | 576 | 2015-01-02T09:55:14.000Z | 2019-11-12T15:31:10.000Z | src/slide/slide.hpp | moredu/upm | d6f76ff8c231417666594214679c49399513112e | [
"MIT"
] | 494 | 2015-01-14T18:33:56.000Z | 2019-11-07T10:08:15.000Z | /*
* Authors: Brendan Le Foll <brendan.le.foll@intel.com>
* Mihai Tudor Panu <mihai.tudor.panu@intel.com>
* Sarah Knepper <sarah.knepper@intel.com>
* Copyright (c) 2014 - 2016 Intel Corporation.
*
* This program and the accompanying materials are made available under the
* terms of the The MIT ... | 25.655172 | 111 | 0.596774 | [
"object"
] |
533f0c2dc7252c94968ab81c04f20b30881e21c1 | 3,694 | cpp | C++ | test/LinearAlgebra/AdjustedCSRSpMV/src/AdjustedCSRSpMVCpuCode.cpp | custom-computing-ic/dfe-snippets | 8721e6272c25f77360e2de423d8ff5a9299ee5b2 | [
"MIT"
] | 17 | 2015-02-02T13:23:49.000Z | 2021-02-09T11:04:40.000Z | test/LinearAlgebra/AdjustedCSRSpMV/src/AdjustedCSRSpMVCpuCode.cpp | custom-computing-ic/dfe-snippets | 8721e6272c25f77360e2de423d8ff5a9299ee5b2 | [
"MIT"
] | 14 | 2015-07-02T10:13:05.000Z | 2017-05-30T15:59:43.000Z | test/LinearAlgebra/AdjustedCSRSpMV/src/AdjustedCSRSpMVCpuCode.cpp | custom-computing-ic/dfe-snippets | 8721e6272c25f77360e2de423d8ff5a9299ee5b2 | [
"MIT"
] | 8 | 2015-04-08T13:27:50.000Z | 2016-12-16T14:38:52.000Z | #include <vector>
#include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <boost/numeric/ublas/matrix_sparse.hpp>
#include <boost/numeric/ublas/io.hpp>
#include <boost/lexical_cast.hpp>
#include "SpmvBase.h"
#include "MaxSLiCInterface.h"
#include <dfesnippets/sparse/common.hpp>
#include ... | 24.791946 | 87 | 0.60287 | [
"vector"
] |
534414137d6a4e050ae5371b0da16248fedb393d | 5,709 | cpp | C++ | src/main.cpp | j-i-k-o/OpenGLLib | 03e4be9b52efcbb02cba0dac15d268c857fcf5c4 | [
"MIT"
] | null | null | null | src/main.cpp | j-i-k-o/OpenGLLib | 03e4be9b52efcbb02cba0dac15d268c857fcf5c4 | [
"MIT"
] | null | null | null | src/main.cpp | j-i-k-o/OpenGLLib | 03e4be9b52efcbb02cba0dac15d268c857fcf5c4 | [
"MIT"
] | null | null | null | /*******************************************************************************
* OpenGLLib
*
* The MIT License (MIT)
*
* Copyright (c) 2015 j-i-k-o
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal... | 30.047368 | 152 | 0.659485 | [
"vector",
"model"
] |
5346c69c9f79c65bf3a474294f6d073742656c84 | 1,918 | cpp | C++ | templates/BluecadetApp/src/_TBOX_PREFIX_App.cpp | bluecadet/Cinder-BluecadetViews | d6ff2fecfbfd5399dfd375170083c9230a0e0d6b | [
"MIT"
] | 10 | 2017-10-23T15:27:50.000Z | 2021-02-03T03:28:27.000Z | templates/BluecadetApp/src/_TBOX_PREFIX_App.cpp | bluecadet/Cinder-BluecadetViews | d6ff2fecfbfd5399dfd375170083c9230a0e0d6b | [
"MIT"
] | 40 | 2017-10-20T13:56:08.000Z | 2021-10-01T15:39:37.000Z | templates/BluecadetApp/src/_TBOX_PREFIX_App.cpp | bluecadet/Cinder-BluecadetViews | d6ff2fecfbfd5399dfd375170083c9230a0e0d6b | [
"MIT"
] | 3 | 2018-07-16T16:34:37.000Z | 2020-05-07T02:49:37.000Z | #include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "bluecadet/core/BaseApp.h"
#include "bluecadet/views/TouchView.h"
#include "bluecadet/_TBOX_PREFIX_Settings.h"
using namespace ci;
using namespace ci::app;
using namespace std;
using namespace bluecadet::core;
using nam... | 31.442623 | 127 | 0.751825 | [
"render"
] |
c72b76c211f750a2d86767eb4d80d111efe5f619 | 27,313 | cpp | C++ | landed_title/landed_title.cpp | Andrettin/Metternich | 513a7d3cddacad5d5efd2fa5faeed03bc55a190c | [
"MIT"
] | 12 | 2019-08-03T05:58:12.000Z | 2022-01-20T20:46:41.000Z | landed_title/landed_title.cpp | Andrettin/Metternich | 513a7d3cddacad5d5efd2fa5faeed03bc55a190c | [
"MIT"
] | 6 | 2019-08-03T11:46:49.000Z | 2022-01-22T10:20:32.000Z | landed_title/landed_title.cpp | Andrettin/Metternich | 513a7d3cddacad5d5efd2fa5faeed03bc55a190c | [
"MIT"
] | null | null | null | #include "landed_title/landed_title.h"
#include "character/character.h"
#include "character/dynasty.h"
#include "culture/culture.h"
#include "culture/culture_group.h"
#include "culture/culture_supergroup.h"
#include "database/defines.h"
#include "economy/trade_node.h"
#include "economy/trade_route.h"
#include "game/ga... | 31.358209 | 200 | 0.716326 | [
"vector"
] |
c72f134d265afd78bd839482fcd11a9d5bc1d6cb | 116,397 | cc | C++ | src/svict_caller.cc | vpc-ccg/svict | c10627bbec3f621a1b446c246064a151b7400685 | [
"BSD-3-Clause"
] | 21 | 2019-02-06T06:02:34.000Z | 2022-03-29T14:19:44.000Z | src/svict_caller.cc | vpc-ccg/svict | c10627bbec3f621a1b446c246064a151b7400685 | [
"BSD-3-Clause"
] | 13 | 2019-02-18T09:48:34.000Z | 2022-03-12T09:12:09.000Z | src/svict_caller.cc | vpc-ccg/svict | c10627bbec3f621a1b446c246064a151b7400685 | [
"BSD-3-Clause"
] | 6 | 2019-08-29T05:34:13.000Z | 2022-02-20T08:47:45.000Z | #include <iostream>
#include <fstream>
#include <string>
#include <queue>
#include <unordered_map>
#include <algorithm>
#include <cctype>
#include <ctime>
#include <cmath>
#include <cerrno>
#include <cstring>
#include <cfenv>
#include <math.h>
#include <pthread.h>
#include <unistd.h>
#include <sstream>
#include <sys/ti... | 31.390777 | 298 | 0.597919 | [
"vector"
] |
c73217790802d28f77a77ef4f43bf520460ebee7 | 4,198 | cpp | C++ | PSME/agent/storage/src/command/delete_iscsi_target.cpp | opencomputeproject/HWMgmt-DeviceMgr-PSME | 2a00188aab6f4bef3776987f0842ef8a8ea972ac | [
"Apache-2.0"
] | 5 | 2021-10-07T15:36:37.000Z | 2022-03-01T07:21:49.000Z | PSME/agent/storage/src/command/delete_iscsi_target.cpp | opencomputeproject/DM-Redfish-PSME | 912f7b6abf5b5c2aae33c75497de4753281c6a51 | [
"Apache-2.0"
] | null | null | null | PSME/agent/storage/src/command/delete_iscsi_target.cpp | opencomputeproject/DM-Redfish-PSME | 912f7b6abf5b5c2aae33c75497de4753281c6a51 | [
"Apache-2.0"
] | 1 | 2021-03-24T19:37:58.000Z | 2021-03-24T19:37:58.000Z | /*!
* @section LICENSE
*
* @copyright
* Copyright (c) 2015-2017 Intel Corporation
*
* @copyright
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* @copyright
* http://www.apach... | 37.150442 | 104 | 0.668652 | [
"model"
] |
c73c87b5085d07934384ff2fa7fcb14bbe5c9fff | 20,445 | cpp | C++ | testPerspShadows/src/demo/Shadows.cpp | aras-p/dingus | 22ef90c2bf01afd53c0b5b045f4dd0b59fe83009 | [
"MIT"
] | 17 | 2016-06-14T20:56:58.000Z | 2021-11-15T10:14:16.000Z | testPerspShadows/src/demo/Shadows.cpp | aras-p/dingus | 22ef90c2bf01afd53c0b5b045f4dd0b59fe83009 | [
"MIT"
] | null | null | null | testPerspShadows/src/demo/Shadows.cpp | aras-p/dingus | 22ef90c2bf01afd53c0b5b045f4dd0b59fe83009 | [
"MIT"
] | 5 | 2016-06-14T20:56:59.000Z | 2021-06-22T00:09:18.000Z | #include "stdafx.h"
#include "Shadows.h"
#include "ShadowBufferRTManager.h"
#include <dingus/gfx/GfxUtils.h>
#include "Hull.h"
extern bool gUseDSTShadows;
// --------------------------------------------------------------------------
SceneEntityPtrs gScene;
LightPtrs gLights;
struct ObjectInf... | 32.247634 | 167 | 0.658107 | [
"render",
"object",
"vector",
"transform"
] |
c73e02aa4d3b5a65c47420289304bbd75c2704e7 | 2,980 | cpp | C++ | SyndicateCore/Core/Utilities/File.cpp | askamn/Venus-Game-Engine | 9787fb4f03fcd99b9a9cce92730fb3ba86acd6b5 | [
"MIT"
] | null | null | null | SyndicateCore/Core/Utilities/File.cpp | askamn/Venus-Game-Engine | 9787fb4f03fcd99b9a9cce92730fb3ba86acd6b5 | [
"MIT"
] | null | null | null | SyndicateCore/Core/Utilities/File.cpp | askamn/Venus-Game-Engine | 9787fb4f03fcd99b9a9cce92730fb3ba86acd6b5 | [
"MIT"
] | null | null | null | #include "File.h"
namespace Syndicate {
namespace Utilities {
File::File() :
fileSize(0),
filePath(""),
m_NoRead(true)
{
}
File::File(std::string path, bool binary) :
m_NoRead(true)
{
this->filePath = path;
this->fileType = (binary == true) ? FILETYPE::BINARY : FILETYPE::TEXT;
this->fileSize = 0;
std::fstr... | 16.931818 | 74 | 0.630872 | [
"vector"
] |
c7416902fdcb1ab79bbe482432f4fc9c1019da2e | 1,922 | cpp | C++ | lib/async/src/pipe/Connection.cpp | astateful/dyplat | 37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44 | [
"BSD-3-Clause"
] | null | null | null | lib/async/src/pipe/Connection.cpp | astateful/dyplat | 37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44 | [
"BSD-3-Clause"
] | null | null | null | lib/async/src/pipe/Connection.cpp | astateful/dyplat | 37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44 | [
"BSD-3-Clause"
] | null | null | null | #include "pipe/Connection.hpp"
#include <cassert>
namespace astateful {
namespace async {
namespace pipe {
Connection::Connection( flag_e flag ) :
m_flag( flag ),
async::Connection() {}
Connection::Connection( flag_e flag, const std::vector<uint8_t>& buffer ) :
async::Connection( buffer ),
m_flag... | 21.840909 | 77 | 0.58897 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.