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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
003ce973c28b18fa87a17c8432c19b9bccb5c418 | 1,122 | cpp | C++ | 03/stu.cpp | HuSharp/parallel101 | 882a35c254538a64d3594d112caa6d1bb5315903 | [
"CC0-1.0"
] | null | null | null | 03/stu.cpp | HuSharp/parallel101 | 882a35c254538a64d3594d112caa6d1bb5315903 | [
"CC0-1.0"
] | null | null | null | 03/stu.cpp | HuSharp/parallel101 | 882a35c254538a64d3594d112caa6d1bb5315903 | [
"CC0-1.0"
] | null | null | null | /*
* @Descripttion:
* @version:
* @Author: HuSharp
* @Date: 2022-01-24 10:33:21
* @LastEditors: HuSharp
* @LastEditTime: 2022-01-24 21:36:21
* @@Email: 8211180515@csu.edu.cn
*/
#include <vector>
#include <iostream>
template <typename T>
void print(std::vector<T> const &a) {
std::cout << "{" ;
for (si... | 22.897959 | 73 | 0.509804 | [
"vector"
] |
00492039aadb33b5c49edb3d98639a842f5142d2 | 3,073 | cpp | C++ | engine/effects/source/RepelEffect.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | engine/effects/source/RepelEffect.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | engine/effects/source/RepelEffect.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #include "BresenhamLine.hpp"
#include "CoordUtils.hpp"
#include "Creature.hpp"
#include "EffectTextKeys.hpp"
#include "Game.hpp"
#include "MapUtils.hpp"
#include "MessageManager.hpp"
#include "RepelEffect.hpp"
using namespace std;
const int RepelEffect::DISTANCE_BLESSED = 5;
const int RepelEffect::DISTANCE_UNCURSED =... | 28.719626 | 143 | 0.692808 | [
"vector",
"solid"
] |
006b86f109933e33027a6d4c0caa378928bbf418 | 7,602 | cpp | C++ | F458/dsp/ccs_backup1/sunggu/lane_detector2.cpp | daeroro/IntegrationProject | 3b37f31e172cf4411ad0c2481e154e5facfb4d1e | [
"MIT"
] | null | null | null | F458/dsp/ccs_backup1/sunggu/lane_detector2.cpp | daeroro/IntegrationProject | 3b37f31e172cf4411ad0c2481e154e5facfb4d1e | [
"MIT"
] | null | null | null | F458/dsp/ccs_backup1/sunggu/lane_detector2.cpp | daeroro/IntegrationProject | 3b37f31e172cf4411ad0c2481e154e5facfb4d1e | [
"MIT"
] | 2 | 2019-04-29T01:05:25.000Z | 2019-04-29T02:45:44.000Z | #include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <string>
#include <vector>
class LaneDetector{
private:
double img_size;
double img_center;
bool left_flag = false;
bool right_flag = false;
cv::Point right_b;
double right_m; // y = m*x+b
cv::Point left_b;
double... | 24.365385 | 109 | 0.659169 | [
"vector"
] |
0072915f7c26fd96f9d8f4abbcd70890ff9a9fdd | 283,094 | cpp | C++ | src/tMSBE-v4.4/classVECSEL.cpp | sm321430/tMSBE-v4.0 | 8e4a36bb29379270deda6cc1bef7476d9018d9d1 | [
"Unlicense"
] | null | null | null | src/tMSBE-v4.4/classVECSEL.cpp | sm321430/tMSBE-v4.0 | 8e4a36bb29379270deda6cc1bef7476d9018d9d1 | [
"Unlicense"
] | null | null | null | src/tMSBE-v4.4/classVECSEL.cpp | sm321430/tMSBE-v4.0 | 8e4a36bb29379270deda6cc1bef7476d9018d9d1 | [
"Unlicense"
] | null | null | null |
/*
The VECSEL class is used to design the device
Can contain a series of devices from other classes
Solvers for MAXWELL and for each device
*/
#include "classVECSEL.h"
#include "constantsAndMiscUnits.h"
#include "fileIO.cpp"
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <sstream>
#include <u... | 31.058036 | 322 | 0.676185 | [
"object",
"shape",
"vector",
"model"
] |
00761d01e96f40f105e202c53d0b35e06b48c76e | 8,048 | cpp | C++ | Tempest/Graphics/Dx12/Managers/PipelineManager.cpp | Alekssasho/TempoEngine | 60e23e4ef743f8a9f44f8c576457a5feb27f70b9 | [
"MIT"
] | 7 | 2020-08-02T10:51:09.000Z | 2021-08-03T17:04:56.000Z | Tempest/Graphics/Dx12/Managers/PipelineManager.cpp | Alekssasho/TempoEngine | 60e23e4ef743f8a9f44f8c576457a5feb27f70b9 | [
"MIT"
] | null | null | null | Tempest/Graphics/Dx12/Managers/PipelineManager.cpp | Alekssasho/TempoEngine | 60e23e4ef743f8a9f44f8c576457a5feb27f70b9 | [
"MIT"
] | null | null | null | #include <CommonIncludes.h>
#include <Graphics/Dx12/Managers/PipelineManager.h>
namespace Tempest
{
namespace Dx12
{
template<D3D12_PIPELINE_STATE_SUBOBJECT_TYPE _Type, typename DataType>
struct alignas(void*) PipelineStreamSubobject
{
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE Type;
DataType Data;
Pipel... | 39.841584 | 166 | 0.81163 | [
"geometry",
"vector"
] |
0a50e0ef85e4b4e7a10aaa9e61c662030e696dfb | 3,154 | cpp | C++ | src/libutils/bitmap/jpeg_formatter.cpp | nkming2/libutils | e044c8f1265aad50092e008d7706142c3029096a | [
"MIT"
] | null | null | null | src/libutils/bitmap/jpeg_formatter.cpp | nkming2/libutils | e044c8f1265aad50092e008d7706142c3029096a | [
"MIT"
] | 1 | 2015-03-10T06:29:14.000Z | 2015-03-10T06:29:14.000Z | src/libutils/bitmap/jpeg_formatter.cpp | nkming2/libutils | e044c8f1265aad50092e008d7706142c3029096a | [
"MIT"
] | null | null | null | /*
* jpeg_formatter.cpp
*
* Author: Ming Tsang
* Copyright (c) 2014 Ming Tsang
* Refer to LICENSE for details
*/
#include <cstring>
#include <vector>
#include <turbojpeg.h>
#include "libutils/log.h"
#include "libutils/bitmap/bitmap.h"
#include "libutils/bitmap/jpeg_formatter.h"
#include "libutils/str/str_utils... | 19.7125 | 75 | 0.685796 | [
"vector"
] |
0a5c045e263d3aee8831e92bac9fe6c422e90eb3 | 4,716 | cpp | C++ | src/bartender_extractor.cpp | LaoZZZZZ/bartender-1.1 | ddfb2e52bdf92258dd837ab8ee34306e9fb45b81 | [
"MIT"
] | 22 | 2016-08-11T06:16:25.000Z | 2022-02-22T00:06:59.000Z | src/bartender_extractor.cpp | LaoZZZZZ/bartender-1.1 | ddfb2e52bdf92258dd837ab8ee34306e9fb45b81 | [
"MIT"
] | 9 | 2016-12-08T12:42:38.000Z | 2021-12-28T20:12:15.000Z | src/bartender_extractor.cpp | LaoZZZZZ/bartender-1.1 | ddfb2e52bdf92258dd837ab8ee34306e9fb45b81 | [
"MIT"
] | 8 | 2017-06-26T13:15:06.000Z | 2021-11-12T18:39:54.000Z |
//
// bartender_extractor.cpp
// barcode_project
//
// Created by luzhao on 1/1/16.
// Copyright © 2016 luzhao. All rights reserved.
//
#include <stdio.h>
#include "barcodeextractor.h"
#include "UmiExtractor.hpp"
#include "filebuf.h"
#include "singlereadsprocessor.hpp"
#include "SingleReadProcessorWithUmi.hpp"
#... | 30.230769 | 151 | 0.594996 | [
"vector"
] |
0a616045e0ace959a5c2933adbb9b19d6c6e42a7 | 734 | cc | C++ | Code/2102-find-the-middle-index-in-array.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | 2 | 2019-12-06T14:08:57.000Z | 2020-01-15T15:25:32.000Z | Code/2102-find-the-middle-index-in-array.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | 1 | 2020-01-15T16:29:16.000Z | 2020-01-26T12:40:13.000Z | Code/2102-find-the-middle-index-in-array.cc | SMartQi/Leetcode | 9e35c65a48ba1ecd5436bbe07dd65f993588766b | [
"MIT"
] | null | null | null | class Solution {
public:
int findMiddleIndex(vector<int>& nums) {
if (nums.size() == 1) {
return 0;
}
int n = nums.size();
vector<int> left(n, 0);
vector<int> right(n, 0);
left[0] = nums[0];
right[n - 1] = nums[n - 1];
for (int i = 1; i < n... | 25.310345 | 62 | 0.347411 | [
"vector"
] |
0a65c88017e14f90eec9e7c89c0826523def50d6 | 1,047 | cpp | C++ | practica13_aula18/cl.cpp | ImaMos01/ProgCom2021A | ae1cf91be54fe2f565a5b496575855100e8c5bf3 | [
"BSD-3-Clause"
] | null | null | null | practica13_aula18/cl.cpp | ImaMos01/ProgCom2021A | ae1cf91be54fe2f565a5b496575855100e8c5bf3 | [
"BSD-3-Clause"
] | null | null | null | practica13_aula18/cl.cpp | ImaMos01/ProgCom2021A | ae1cf91be54fe2f565a5b496575855100e8c5bf3 | [
"BSD-3-Clause"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int dfs (vector<vector<int>>& image,int r1,int s1){
if(r1<0 || r1>=image.size() || s1<0 || s1>=image[r1].size() ||image[r1][s1]!=0){
return 0;
}
image[r1][s1]=2;
int cont=0;
if(r1<image.size()-1 && image[r1+1][s1]==1){
cont++... | 20.94 | 85 | 0.443171 | [
"vector"
] |
0a699e4541a99b9d0c62581c7509f271ca9a91a1 | 190 | hpp | C++ | src/agl/glsl/function/all.hpp | the-last-willy/abstractgl | d685bef25ac18773d3eea48ca52806c3a3485ddb | [
"MIT"
] | null | null | null | src/agl/glsl/function/all.hpp | the-last-willy/abstractgl | d685bef25ac18773d3eea48ca52806c3a3485ddb | [
"MIT"
] | null | null | null | src/agl/glsl/function/all.hpp | the-last-willy/abstractgl | d685bef25ac18773d3eea48ca52806c3a3485ddb | [
"MIT"
] | null | null | null | #pragma once
#include "angle_trigonometry/all.hpp"
#include "common/all.hpp"
#include "exponential/all.hpp"
#include "geometric/all.hpp"
#include "matrix/all.hpp"
#include "vector/all.hpp"
| 21.111111 | 37 | 0.757895 | [
"vector"
] |
0a6d64e41125fc6a017312da957f426f867ab8d0 | 1,423 | cxx | C++ | src/Node.cxx | LittleGreyCells/escheme-oops | 61adf2416e1ffe91f205e074d68d72d4ffbf49b9 | [
"MIT"
] | null | null | null | src/Node.cxx | LittleGreyCells/escheme-oops | 61adf2416e1ffe91f205e074d68d72d4ffbf49b9 | [
"MIT"
] | null | null | null | src/Node.cxx | LittleGreyCells/escheme-oops | 61adf2416e1ffe91f205e074d68d72d4ffbf49b9 | [
"MIT"
] | null | null | null | #include "Node.hxx"
namespace scheme
{
Node* Node::getcar() { throw AccessException( "not a list", this ); }
Node* Node::getcdr() { throw AccessException( "not a list", this ); }
void Node::setcar( Node* ) { throw AccessException( "not a list", this ); }
void Node::setcdr( Node* ) { throw AccessException... | 35.575 | 100 | 0.616304 | [
"object",
"vector"
] |
0a93c5e9bceccc7120e6a3158be87c2d9ea961a2 | 5,643 | hxx | C++ | include/pseudo_peripheral_node.hxx | aabbas90/BDD | abab0c746a22ae04e8ca5ceacbec1d8f75b758bb | [
"BSD-2-Clause"
] | 4 | 2021-03-20T11:29:15.000Z | 2022-03-22T10:43:14.000Z | include/pseudo_peripheral_node.hxx | aabbas90/BDD | abab0c746a22ae04e8ca5ceacbec1d8f75b758bb | [
"BSD-2-Clause"
] | null | null | null | include/pseudo_peripheral_node.hxx | aabbas90/BDD | abab0c746a22ae04e8ca5ceacbec1d8f75b758bb | [
"BSD-2-Clause"
] | 3 | 2021-03-31T15:26:20.000Z | 2022-03-24T08:58:01.000Z | #pragma once
#include "union_find.hxx"
#include <queue>
#include <vector>
#include <tuple>
#include <algorithm>
#include "time_measure_util.h"
namespace LPMP {
template <typename ADJACENCY_GRAPH>
std::tuple<size_t, size_t> farthest_node(const ADJACENCY_GRAPH &adjacency, const size_t x)
{
MEASURE_FUNCTION_EXECUTI... | 31.176796 | 139 | 0.564239 | [
"vector"
] |
0a99d70b0005305f9a552e33c3b0a9a5b1577845 | 2,882 | hpp | C++ | tenncor_io/include/creator_vertex.hpp | mingkaic/CNNet | 2e5d0ec94bd38aef6afcd5bdf6ac8dadf45df3b4 | [
"MIT"
] | null | null | null | tenncor_io/include/creator_vertex.hpp | mingkaic/CNNet | 2e5d0ec94bd38aef6afcd5bdf6ac8dadf45df3b4 | [
"MIT"
] | null | null | null | tenncor_io/include/creator_vertex.hpp | mingkaic/CNNet | 2e5d0ec94bd38aef6afcd5bdf6ac8dadf45df3b4 | [
"MIT"
] | null | null | null | //
// Created by Mingkai Chen on 2016-12-27.
//
#include <vector>
#include <string>
#include <unordered_set>
#include <utility>
#include <experimental/optional>
#pragma once
#ifndef creator_vertex_hpp
#define creator_vertex_hpp
// purpose: hide all tenncor implementation
namespace tensorio
{
// connector types
enu... | 20.733813 | 89 | 0.719292 | [
"vector"
] |
0aa0ad8aa9378743233f27395bd8b9dc254690cf | 2,029 | cpp | C++ | android-31/android/media/metrics/PlaybackErrorEvent_Builder.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/media/metrics/PlaybackErrorEvent_Builder.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-31/android/media/metrics/PlaybackErrorEvent_Builder.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "./PlaybackErrorEvent.hpp"
#include "../../os/Bundle.hpp"
#include "../../../java/lang/Exception.hpp"
#include "./PlaybackErrorEvent_Builder.hpp"
namespace android::media::metrics
{
// Fields
// QJniObject forward
PlaybackErrorEvent_Builder::PlaybackErrorEvent_Builder(QJniObject obj) : JObject(obj) {}
... | 28.985714 | 129 | 0.755545 | [
"object"
] |
0aa2385c37995db816da93cbfdf0cf45afca0c11 | 2,071 | cpp | C++ | src/096_unique_binary_search_trees.cpp | llife09/leetcode | f5bd6bc7819628b9921441d8362f62123ab881b7 | [
"MIT"
] | 1 | 2019-09-01T22:54:39.000Z | 2019-09-01T22:54:39.000Z | src/096_unique_binary_search_trees.cpp | llife09/leetcode | f5bd6bc7819628b9921441d8362f62123ab881b7 | [
"MIT"
] | 6 | 2019-07-19T07:16:42.000Z | 2019-07-26T08:21:31.000Z | src/096_unique_binary_search_trees.cpp | llife09/leetcode | f5bd6bc7819628b9921441d8362f62123ab881b7 | [
"MIT"
] | null | null | null | /*
Unique Binary Search Trees
URL: https://leetcode.com/problems/unique-binary-search-trees
Tags: ['dynamic-programming', 'tree']
___
Given n , how many structurally unique BST 's (binary search trees) that store
values 1 ... n?
Example:
Input: 3
Output: 5
Explanation: Given n = 3, there are a total of... | 23.269663 | 78 | 0.564462 | [
"vector"
] |
0aa6aa155b90047593ac53b7297706319ebe1fcb | 1,150 | cc | C++ | test/src/Geometry.cc | uspgamedev/ugdk | 95885a70df282a8e8e6e5c72b28a7f2f21bf7e99 | [
"Zlib"
] | 11 | 2015-03-06T13:14:32.000Z | 2020-06-09T23:34:28.000Z | test/src/Geometry.cc | uspgamedev/ugdk | 95885a70df282a8e8e6e5c72b28a7f2f21bf7e99 | [
"Zlib"
] | 62 | 2015-01-04T05:47:40.000Z | 2018-06-15T17:00:25.000Z | test/src/Geometry.cc | uspgamedev/ugdk | 95885a70df282a8e8e6e5c72b28a7f2f21bf7e99 | [
"Zlib"
] | 2 | 2017-04-05T20:35:49.000Z | 2017-07-30T03:44:02.000Z | #include "gtest/gtest.h"
#include <glm/glm.hpp>
#include <ugdk/math/geometry.h>
using ugdk::math::Vector2D;
using ugdk::math::Geometry;
#define PI 3.1415926535897932384626433832795
TEST(Geometry, Constructors) {
Geometry m;
EXPECT_EQ(glm::mat4(), m.AsMat4());
{ Geometry m2(Vector2D(15.0, -10.0), Vecto... | 26.744186 | 70 | 0.613043 | [
"geometry"
] |
0aaab0d791ca7f08eab1044fd3b29324e653ef8b | 4,328 | cpp | C++ | Duet Editor/Entity_TreeType.cpp | mvandevander/duetgame | 6fd083d22b0eab9e7988e0ba46a6ec10757b7720 | [
"MIT"
] | 9 | 2016-03-18T23:59:24.000Z | 2022-02-09T01:09:56.000Z | Duet Editor/Entity_TreeType.cpp | mvandevander/duetgame | 6fd083d22b0eab9e7988e0ba46a6ec10757b7720 | [
"MIT"
] | null | null | null | Duet Editor/Entity_TreeType.cpp | mvandevander/duetgame | 6fd083d22b0eab9e7988e0ba46a6ec10757b7720 | [
"MIT"
] | null | null | null | #include "Entity_TreeType.hpp"
#include "trig_functions_degrees.hpp"
#include "GL_DrawingPrimitives.hpp"
Entity_TreeType::Entity_TreeType(int origin_x, int origin_y, int first_pt_width)
{
x = origin_x;
y = origin_y;
type = 't';
branches.push_back(Tree_Branch(0,0,first_pt_width));
bounds.x =... | 40.074074 | 234 | 0.673983 | [
"vector"
] |
0ab0c309f32e3a55970dcff303c4145c17a012a0 | 33,149 | cpp | C++ | blades/xbmc/xbmc/cores/DllLoader/exports/emu_kernel32.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 4 | 2016-04-26T03:43:54.000Z | 2016-11-17T08:09:04.000Z | blades/xbmc/xbmc/cores/DllLoader/exports/emu_kernel32.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 17 | 2015-01-05T21:06:22.000Z | 2015-12-07T20:45:44.000Z | blades/xbmc/xbmc/cores/DllLoader/exports/emu_kernel32.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 3 | 2016-04-26T03:43:55.000Z | 2020-11-06T11:02:08.000Z | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | 30.190346 | 201 | 0.718061 | [
"vector"
] |
0ab19dc9d2a621deed7912a69826cd11cf28ee56 | 23,881 | cpp | C++ | src/mongo/client/server_discovery_monitor_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/client/server_discovery_monitor_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/client/server_discovery_monitor_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2020-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 43.578467 | 100 | 0.703069 | [
"vector"
] |
0ab420332b103395b007a8355f5adf242172bcc5 | 4,392 | cpp | C++ | src/adtfUser/katana_mission_control/src/mission_control/maneuver.cpp | KAtana-Karlsruhe/AADC_2015_KAtana | c6e55be189b8b2d46c905926b6533df2aba5979e | [
"BSD-4-Clause"
] | null | null | null | src/adtfUser/katana_mission_control/src/mission_control/maneuver.cpp | KAtana-Karlsruhe/AADC_2015_KAtana | c6e55be189b8b2d46c905926b6533df2aba5979e | [
"BSD-4-Clause"
] | null | null | null | src/adtfUser/katana_mission_control/src/mission_control/maneuver.cpp | KAtana-Karlsruhe/AADC_2015_KAtana | c6e55be189b8b2d46c905926b6533df2aba5979e | [
"BSD-4-Clause"
] | null | null | null | // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
// -- BEGIN LICENSE BLOCK ----------------------------------------------
// -- END LICENSE BLOCK ------------------------------------------------
//----------------------------------------------------------------------
/*!\file
*
* \author ... | 25.097143 | 183 | 0.64276 | [
"vector"
] |
0ab4c1ae8b7d9630f8eeac696ae39440d178b2d2 | 872 | cpp | C++ | hackathon/shengdian/MorphoHub_Release/Generator/bouton_fun.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | hackathon/shengdian/MorphoHub_Release/Generator/bouton_fun.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | hackathon/shengdian/MorphoHub_Release/Generator/bouton_fun.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | #include "bouton_fun.h"
void printHelp()
{
/*vaa3d -x <libname> -f Bouton_Generation -i <input-para-list> -o <out-para-list> -p <fun_id> <node-specified> <out_type>
* <fun_id>:
* case 0: get bouton from terafly formatted data. <input_image_terafly> and <input_swc> are needed.
* case 1: get bouton fro... | 41.52381 | 125 | 0.650229 | [
"3d"
] |
0ac8bf00b9f700230e41c431f886479713dbf0d3 | 2,746 | cpp | C++ | test/src/project_test.cpp | thvaisa/onetracer | b6567194148a441370dbdb7040631fd43ec50ae2 | [
"MIT"
] | null | null | null | test/src/project_test.cpp | thvaisa/onetracer | b6567194148a441370dbdb7040631fd43ec50ae2 | [
"MIT"
] | null | null | null | test/src/project_test.cpp | thvaisa/onetracer | b6567194148a441370dbdb7040631fd43ec50ae2 | [
"MIT"
] | null | null | null | #include <project.hpp>
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include <limits.h>
using ::testing::_;
using ::testing::ElementsAre;
class ProjectTest : public ::testing::Test{
protected:
const c_float inf = std::numeric_limits<c_float>::infinity();
const c_float nan0 = std::numeric_l... | 24.738739 | 87 | 0.634013 | [
"vector"
] |
0acb0ec5d5b6fb2f067b870ba3c5225c1749fb7b | 9,672 | cpp | C++ | BlackVision/LibBlackVision/Source/Engine/Models/Gizmos/Logics/BoundingBox/BoundingBoxLogic.cpp | black-vision-engine/bv-engine | 85089d41bb22afeaa9de070646e12aa1777ecedf | [
"MIT"
] | 1 | 2022-01-28T11:43:47.000Z | 2022-01-28T11:43:47.000Z | BlackVision/LibBlackVision/Source/Engine/Models/Gizmos/Logics/BoundingBox/BoundingBoxLogic.cpp | black-vision-engine/bv-engine | 85089d41bb22afeaa9de070646e12aa1777ecedf | [
"MIT"
] | null | null | null | BlackVision/LibBlackVision/Source/Engine/Models/Gizmos/Logics/BoundingBox/BoundingBoxLogic.cpp | black-vision-engine/bv-engine | 85089d41bb22afeaa9de070646e12aa1777ecedf | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "BoundingBoxLogic.h"
#include "Engine/Models/BasicNode.h"
#include "Engine/Models/Plugins/Descriptor/ModelHelper.h"
#include "Engine/Events/InnerEvents/Nodes/NodeRemovedEvent.h"
#include "Engine/Events/EventManager.h"
#include "Engine/Models/NodeLogics/NodeLogicHelper.h"
#inc... | 33.237113 | 166 | 0.580749 | [
"model",
"transform",
"solid"
] |
bd62112d40c630882cbda6dd18c3021e0fe9060b | 5,530 | cc | C++ | gazebo/gui/model/ModelEditor_TEST.cc | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 887 | 2020-04-18T08:43:06.000Z | 2022-03-31T11:58:50.000Z | gazebo/gui/model/ModelEditor_TEST.cc | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 462 | 2020-04-21T21:59:19.000Z | 2022-03-31T23:23:21.000Z | gazebo/gui/model/ModelEditor_TEST.cc | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 421 | 2020-04-21T09:13:03.000Z | 2022-03-30T02:22:01.000Z | /*
* Copyright (C) 2015 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 appl... | 25.251142 | 75 | 0.660759 | [
"model"
] |
bd69e3a812dd317c925a4cad7e42c0c094e267e3 | 2,097 | cpp | C++ | core/src/graphics/model.cpp | dsparrow27/spike | dc93f0376d7b9ef983e6325a1d89877638409425 | [
"MIT"
] | null | null | null | core/src/graphics/model.cpp | dsparrow27/spike | dc93f0376d7b9ef983e6325a1d89877638409425 | [
"MIT"
] | null | null | null | core/src/graphics/model.cpp | dsparrow27/spike | dc93f0376d7b9ef983e6325a1d89877638409425 | [
"MIT"
] | null | null | null | #include "model.h"
Model::Model(std::string const & path, bool gamma)
:mDirectory(path), mGammaCorrection(gamma)
{
loadModel(path);
}
void Model::draw()
{
//call draw function for each mesh
for (GLuint i = 0; i < this->mMeshes.size(); i++)
{
this->mMeshes[i].draw();
}
}
void Model::loadModel(std::string path... | 27.96 | 120 | 0.688126 | [
"mesh",
"object",
"vector",
"model"
] |
bd6ba46bb7333263b14b2c8ab8a58587e15a5dbb | 4,309 | hpp | C++ | lib/vector.hpp | bilyanhadzhi/susi | 92ae0e30fe67b544f75fc3581b292ea87f4f078c | [
"MIT"
] | 1 | 2021-03-01T14:14:56.000Z | 2021-03-01T14:14:56.000Z | lib/vector.hpp | bilyanhadzhi/susi | 92ae0e30fe67b544f75fc3581b292ea87f4f078c | [
"MIT"
] | null | null | null | lib/vector.hpp | bilyanhadzhi/susi | 92ae0e30fe67b544f75fc3581b292ea87f4f078c | [
"MIT"
] | null | null | null | #ifndef VECTOR_HPP
#define VECTOR_HPP
#include "../constants.hpp"
#include <cassert>
#include <iostream>
//! A dynamic array of dynamic elements
template<typename T>
class Vector
{
private:
// An array of pointers to T, all 'empty' slots will be nullptr by default
T** elements;
int elements_count;
in... | 20.421801 | 78 | 0.616616 | [
"vector"
] |
bd6f09b240c25d4663fed78d7a8621e241638119 | 10,549 | cc | C++ | market/src/model/DescribeProductResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | market/src/model/DescribeProductResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | market/src/model/DescribeProductResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 37.675 | 112 | 0.768698 | [
"vector",
"model"
] |
bd719cda58cb216cc687fe05267958810c78aeae | 1,594 | cpp | C++ | Game/Scripts/task_system/drones/GoToBehaviour.cpp | JohnHonkanen/ProjectM | 881171ad749e8fe7db6188ee9486239a37256569 | [
"Unlicense"
] | null | null | null | Game/Scripts/task_system/drones/GoToBehaviour.cpp | JohnHonkanen/ProjectM | 881171ad749e8fe7db6188ee9486239a37256569 | [
"Unlicense"
] | null | null | null | Game/Scripts/task_system/drones/GoToBehaviour.cpp | JohnHonkanen/ProjectM | 881171ad749e8fe7db6188ee9486239a37256569 | [
"Unlicense"
] | null | null | null | #include "GoToBehaviour.h"
#include "DroneController.h"
#include "../../Drone.h"
#include "../Task.h"
#include "CollectBehaviour.h"
#include "DeliverBehaviour.h"
namespace v1
{
namespace TaskSystem {
bool GoToBehaviour::Run(double dt)
{
Drone *drone = info.controller->GetDrone();
Task task = info.controller... | 22.138889 | 84 | 0.647428 | [
"transform"
] |
bd730b3a911a61dadb240f977fa9f1243a2cbced | 3,649 | hpp | C++ | include/pcp/common/points/vertex.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | 2 | 2021-03-10T09:57:45.000Z | 2021-04-13T21:19:57.000Z | include/pcp/common/points/vertex.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | 22 | 2020-12-07T20:09:39.000Z | 2021-04-12T20:42:59.000Z | include/pcp/common/points/vertex.hpp | Q-Minh/octree | 0c3fd5a791d660b37461daf968a68ffb1c80b965 | [
"BSL-1.0"
] | null | null | null | #ifndef PCP_COMMON_POINTS_VERTEX_HPP
#define PCP_COMMON_POINTS_VERTEX_HPP
/**
* @file
* @ingroup common
*/
#include "pcp/traits/graph_vertex_traits.hpp"
#include "pcp/traits/point_traits.hpp"
#include "point.hpp"
#include "point_view.hpp"
#include <cstdint>
namespace pcp {
/**
* @ingroup geometric-primitives
... | 30.157025 | 98 | 0.675802 | [
"object"
] |
bd74a8516c94a0ac836d13e07cd1f8a64f47c8cc | 5,580 | cpp | C++ | libs/numeric/mtl/test/strided_vector_ref_test.cpp | lit-uriy/mtl4-mirror | 37cf7c2847165d3537cbc3400cb5fde6f80e3d8b | [
"MTLL"
] | 24 | 2019-03-26T15:25:45.000Z | 2022-03-26T10:00:45.000Z | libs/numeric/mtl/test/strided_vector_ref_test.cpp | lit-uriy/mtl4-mirror | 37cf7c2847165d3537cbc3400cb5fde6f80e3d8b | [
"MTLL"
] | 2 | 2020-04-17T12:35:32.000Z | 2021-03-03T15:46:25.000Z | libs/numeric/mtl/test/strided_vector_ref_test.cpp | lit-uriy/mtl4-mirror | 37cf7c2847165d3537cbc3400cb5fde6f80e3d8b | [
"MTLL"
] | 10 | 2019-12-01T13:40:30.000Z | 2022-01-14T08:39:54.000Z | // Software License for MTL
//
// Copyright (c) 2007 The Trustees of Indiana University.
// 2008 Dresden University of Technology and the Trustees of Indiana University.
// 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com.
// All rights reserved.
// Authors: Peter Gottschling and And... | 33.413174 | 116 | 0.568459 | [
"vector"
] |
bd79aaa64cc761d105e432710d63d5fac02e261b | 4,223 | cpp | C++ | Events/src/apGDBErrorEvent.cpp | GPUOpen-Tools/common-src-AMDTAPIClasses | 33c696c3b9d17d621675645bfa1437d67dc27d0b | [
"MIT"
] | 1 | 2017-01-28T14:12:29.000Z | 2017-01-28T14:12:29.000Z | Events/src/apGDBErrorEvent.cpp | GPUOpen-Tools/common-src-AMDTAPIClasses | 33c696c3b9d17d621675645bfa1437d67dc27d0b | [
"MIT"
] | null | null | null | Events/src/apGDBErrorEvent.cpp | GPUOpen-Tools/common-src-AMDTAPIClasses | 33c696c3b9d17d621675645bfa1437d67dc27d0b | [
"MIT"
] | 2 | 2016-09-21T12:28:23.000Z | 2019-11-01T23:07:02.000Z | //==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file apGDBErrorEvent.cpp
///
//==================================================================================
... | 36.721739 | 88 | 0.497277 | [
"object"
] |
bd7f1265145868052f6c1bbb947e798e268c37da | 1,011 | cpp | C++ | classification/src/svm/svm_predict_class.cpp | utarvl/core | 6720f254e202d2bc4b6a6a02915635a76ab9d7e9 | [
"Apache-2.0"
] | 2 | 2019-06-09T08:27:45.000Z | 2019-09-22T20:55:50.000Z | classification/src/svm/svm_predict_class.cpp | utarvl/core | 6720f254e202d2bc4b6a6a02915635a76ab9d7e9 | [
"Apache-2.0"
] | null | null | null | classification/src/svm/svm_predict_class.cpp | utarvl/core | 6720f254e202d2bc4b6a6a02915635a76ab9d7e9 | [
"Apache-2.0"
] | null | null | null | /*
* Cloud-based Object Recognition Engine (CORE)
*
*/
#include <core/classification/svm/svm_predict_class.h>
#define Malloc(type,n) (type *)malloc((n)*sizeof(type))
double
svmCovariancePredictClass (const struct svm_model* model, const Eigen::MatrixXd &covariance_matrix)
{
int k = 0;
struct svm_node* nod... | 24.071429 | 121 | 0.571711 | [
"object",
"vector",
"model"
] |
bd85268a32fced1da4181492e55675415eb458c2 | 1,993 | cc | C++ | seurat/baker/framework/rasterizer.cc | Asteur/vrhelper | 7b20ac69265ca7390a6c7f52a4f25b0fe87d0b53 | [
"Apache-2.0"
] | 819 | 2018-05-04T20:43:55.000Z | 2022-03-22T01:21:24.000Z | seurat/baker/framework/rasterizer.cc | mebalzer/seurat | 78c1293debdd2744cba11395024812f277f613f7 | [
"Apache-2.0"
] | 35 | 2018-05-05T03:50:16.000Z | 2019-11-04T22:56:02.000Z | seurat/baker/framework/rasterizer.cc | mebalzer/seurat | 78c1293debdd2744cba11395024812f277f613f7 | [
"Apache-2.0"
] | 88 | 2018-05-04T20:53:42.000Z | 2022-03-05T03:50:07.000Z | /*
Copyright 2017 Google Inc. 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 agreed to in ... | 35.589286 | 78 | 0.704967 | [
"vector"
] |
bd899e1f7633d0d5173af65d29374d46dedc2e1d | 5,624 | cpp | C++ | main.cpp | Gira-X/uva-online-1002-crossword-puzzle | 6e36dfa4ce29ff8588f708a86f4f3b59c7f86a63 | [
"MIT"
] | null | null | null | main.cpp | Gira-X/uva-online-1002-crossword-puzzle | 6e36dfa4ce29ff8588f708a86f4f3b59c7f86a63 | [
"MIT"
] | null | null | null | main.cpp | Gira-X/uva-online-1002-crossword-puzzle | 6e36dfa4ce29ff8588f708a86f4f3b59c7f86a63 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <iostream>
#include <vector>
#include <string.h>
#include <set>
#ifndef ONLINE_JUDGE
# include <fstream>
#endif
using namespace std;
struct slot {
int column;
int row;
bool down;
};
struct node {
unsigned char matrix[10][10];
unsigned int used_words; // a vector ... | 31.954545 | 78 | 0.381935 | [
"vector"
] |
bd93d26bc58de49e118b5143263668978b4028ab | 16,552 | cpp | C++ | tapl/pte/ptEngine.cpp | towardsautonomy/TAPL | 4d065b2250483bf2ea118bafa312ca893a25ca87 | [
"MIT"
] | 1 | 2021-01-05T12:53:17.000Z | 2021-01-05T12:53:17.000Z | tapl/pte/ptEngine.cpp | towardsautonomy/TAPL | 4d065b2250483bf2ea118bafa312ca893a25ca87 | [
"MIT"
] | null | null | null | tapl/pte/ptEngine.cpp | towardsautonomy/TAPL | 4d065b2250483bf2ea118bafa312ca893a25ca87 | [
"MIT"
] | null | null | null | #include "ptEngine.hpp"
#include <Eigen/Dense>
namespace tapl {
namespace pte {
// constructor
template <typename PointT>
Line<PointT>::Line() {}
// de-constructor
template <typename PointT>
Line<PointT>::~Line() {}
template <typename PointT>
std::vector<float> Line<PointT>::fitSVD(std::vector<flo... | 30.880597 | 134 | 0.592073 | [
"vector",
"transform"
] |
bd9570c3fd1f6053c82cef89597a724143db4821 | 72,498 | cpp | C++ | toolbox-dssynth/dssynth-tool/benchmark-runner/AACegar/src/DynamicalSystem.cpp | SSV-Group/dsverifier | 1daca4704216edf9a360b4a39e00663d94646ad1 | [
"Apache-2.0"
] | 10 | 2016-08-29T19:23:25.000Z | 2020-10-18T22:27:21.000Z | toolbox-dssynth/dssynth-tool/benchmark-runner/AACegar/src/DynamicalSystem.cpp | SSV-Group/dsverifier | 1daca4704216edf9a360b4a39e00663d94646ad1 | [
"Apache-2.0"
] | 64 | 2016-09-10T16:29:44.000Z | 2019-01-15T14:31:06.000Z | toolbox-dssynth/dssynth-tool/benchmark-runner/AACegar/src/DynamicalSystem.cpp | SSV-Group/dsverifier | 1daca4704216edf9a360b4a39e00663d94646ad1 | [
"Apache-2.0"
] | 5 | 2016-10-09T21:38:41.000Z | 2017-07-05T10:05:32.000Z | //Authors: Dario Cattaruzza, Alessandro Abate, Peter Schrammel, Daniel Kroening
//University of Oxford 2016
//This code is supplied under the BSD license agreement (see license.txt)
#include <fstream>
#include <boost/timer.hpp>
#include "DynamicalSystem.h"
namespace abstract{
template <class scalar>
bool DynamicalS... | 40.843944 | 288 | 0.721841 | [
"vector",
"model",
"transform"
] |
bd9b40693379cc1f6871c2b82df8d7e66766d2df | 2,416 | hpp | C++ | components/homme/src/share/cxx/utilities/VectorUtils.hpp | jingxianwen/E3SM | bced6ba5e9247d6db6c8445b5fb828772a929b1b | [
"zlib-acknowledgement",
"RSA-MD",
"FTL"
] | 3 | 2020-02-24T21:58:57.000Z | 2020-09-29T23:06:45.000Z | components/homme/src/share/cxx/utilities/VectorUtils.hpp | jingxianwen/E3SM | bced6ba5e9247d6db6c8445b5fb828772a929b1b | [
"zlib-acknowledgement",
"RSA-MD",
"FTL"
] | 16 | 2019-09-27T02:16:37.000Z | 2020-08-01T17:51:12.000Z | components/homme/src/share/cxx/utilities/VectorUtils.hpp | jingxianwen/E3SM | bced6ba5e9247d6db6c8445b5fb828772a929b1b | [
"zlib-acknowledgement",
"RSA-MD",
"FTL"
] | 2 | 2020-12-09T07:30:20.000Z | 2022-03-18T04:22:25.000Z | /********************************************************************************
* HOMMEXX 1.0: Copyright of Sandia Corporation
* This software is released under the BSD license
* See the file 'COPYRIGHT' in the HOMMEXX/src/share/cxx directory
***********************************************************************... | 27.146067 | 84 | 0.647765 | [
"vector"
] |
bd9e12e1ae38060bd95f4b1792ae8a5c948901db | 1,517 | cc | C++ | shaka/src/js/debug.cc | jgongo/shaka-player-embedded | e04f97b971c684ef18a370697584d5239fb711bd | [
"Apache-2.0",
"BSD-3-Clause"
] | 185 | 2018-11-06T06:04:44.000Z | 2022-03-02T22:20:39.000Z | shaka/src/js/debug.cc | jgongo/shaka-player-embedded | e04f97b971c684ef18a370697584d5239fb711bd | [
"Apache-2.0",
"BSD-3-Clause"
] | 211 | 2018-11-15T22:52:49.000Z | 2022-03-02T18:46:20.000Z | shaka/src/js/debug.cc | jgongo/shaka-player-embedded | e04f97b971c684ef18a370697584d5239fb711bd | [
"Apache-2.0",
"BSD-3-Clause"
] | 52 | 2018-12-12T11:00:46.000Z | 2022-02-23T17:35:02.000Z | // Copyright 2016 Google 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 26.155172 | 75 | 0.709954 | [
"object"
] |
bd9f50c462477474d8f1c3fe8e5d530e1c002210 | 5,954 | cc | C++ | examples/seeking_pull_consumer_example.cc | raytheonbbn/tc-ta3-api-bindings-cpp | 98c0646e89de52ac8e65948699450fded402c254 | [
"MIT-0"
] | null | null | null | examples/seeking_pull_consumer_example.cc | raytheonbbn/tc-ta3-api-bindings-cpp | 98c0646e89de52ac8e65948699450fded402c254 | [
"MIT-0"
] | null | null | null | examples/seeking_pull_consumer_example.cc | raytheonbbn/tc-ta3-api-bindings-cpp | 98c0646e89de52ac8e65948699450fded402c254 | [
"MIT-0"
] | 1 | 2020-11-27T20:15:34.000Z | 2020-11-27T20:15:34.000Z | // Copyright (c) 2020 Raytheon BBN Technologies Corp.
// See LICENSE.txt for details.
#include <chrono>
#include <ctime>
#include <iomanip>
#include "avro/ValidSchema.hh"
#include "services/kafka_consumer_impl.h"
#include "services/kafka_client.h"
#include "services/kafka_callbacks.h"
#include "tc_schema/cdm.h"
#inc... | 36.084848 | 141 | 0.692644 | [
"object"
] |
bdaafb4a0065877e7797853f20cdf9049e8f64d3 | 227 | cpp | C++ | SpookEngine/DungeonRoom.cpp | Mr-Bones738/SpookEngine | cc7d7a1980c8b30ef80845b46eb904fb3edaf342 | [
"MIT"
] | null | null | null | SpookEngine/DungeonRoom.cpp | Mr-Bones738/SpookEngine | cc7d7a1980c8b30ef80845b46eb904fb3edaf342 | [
"MIT"
] | null | null | null | SpookEngine/DungeonRoom.cpp | Mr-Bones738/SpookEngine | cc7d7a1980c8b30ef80845b46eb904fb3edaf342 | [
"MIT"
] | null | null | null | #include "DungeonRoom.h"
#include <glm/gtc/matrix_transform.hpp>
DungeonRoom::DungeonRoom(Model* initModel, glm::vec3 initPos) : RoomModel(initModel), pos(initPos) {
mmat = glm::mat4(1.0f);
mmat = glm::translate(mmat, pos);
} | 37.833333 | 100 | 0.731278 | [
"model"
] |
bdacd7b71a018f371199d617169084f7074be553 | 6,814 | cpp | C++ | src/dev/hsun/prism_data_test/PrismModel.cpp | haydenhs/NTRTsim | 4289b15652e8f5aa7f280d09a4fa301be0bd99e1 | [
"Apache-2.0"
] | 4 | 2017-12-15T02:51:12.000Z | 2020-06-08T01:40:38.000Z | src/dev/hsun/prism_data_test/PrismModel.cpp | haydenhs/NTRTsim | 4289b15652e8f5aa7f280d09a4fa301be0bd99e1 | [
"Apache-2.0"
] | null | null | null | src/dev/hsun/prism_data_test/PrismModel.cpp | haydenhs/NTRTsim | 4289b15652e8f5aa7f280d09a4fa301be0bd99e1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright © 2012, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed
* under the Apache License, Version 2.0 (the "License");
* you may not use t... | 27.039683 | 91 | 0.640153 | [
"vector",
"model"
] |
bdb7e0959445b6f75b742e8f01a0af48770a6ad2 | 26,069 | cpp | C++ | source/duke3d/src/d_menu.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | 2 | 2020-03-26T10:11:17.000Z | 2021-01-19T08:16:48.000Z | source/duke3d/src/d_menu.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | null | null | null | source/duke3d/src/d_menu.cpp | bisk89/Raze | 1a2663f7ac84d4e4f472e0796b937447ee6fab6b | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 2016 EDuke32 developers and contributors
Copyright (C) 2019 Christoph Oelckers
This is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 2
as published by the Fre... | 33.507712 | 296 | 0.6146 | [
"3d"
] |
bdc91011e82c1f6374c03bee3abe533a4d4eb5ab | 3,846 | cpp | C++ | UnitTests/Test_Registry_GetBinaryValue.cpp | ossewawiel/LibWinRegUtil | 602e391b521685deec809e0ae3ae97376025ffe4 | [
"MIT"
] | 5 | 2020-09-17T08:15:14.000Z | 2021-06-17T08:35:51.000Z | UnitTests/Test_Registry_GetBinaryValue.cpp | ossewawiel/LibWinRegUtil | 602e391b521685deec809e0ae3ae97376025ffe4 | [
"MIT"
] | null | null | null | UnitTests/Test_Registry_GetBinaryValue.cpp | ossewawiel/LibWinRegUtil | 602e391b521685deec809e0ae3ae97376025ffe4 | [
"MIT"
] | 4 | 2019-12-29T00:58:23.000Z | 2022-01-27T12:58:36.000Z | #include "stdafx.h"
#include "Test_Registry.h"
#include "TUtils.h"
#include "TConstants.h"
using namespace std;
using namespace WinReg;
using namespace TConst;
TEST_F(Test_Registry_GetBinaryValue, when_calling_getbinaryvalue_with_valid_parameter_values_expect_no_exception)
{
try
{
vector<unsigned char> vucRegVal{... | 29.358779 | 147 | 0.725689 | [
"vector"
] |
bdca5289a007d7b3e95c42d5ea2297d016965380 | 5,015 | cpp | C++ | Causality/main.cpp | ArcEarth/SrInspection | 63c540d1736e323a0f409914e413cb237f03c5c9 | [
"MIT"
] | 3 | 2016-07-13T18:30:33.000Z | 2020-03-31T22:20:34.000Z | Causality/main.cpp | ArcEarth/SrInspection | 63c540d1736e323a0f409914e413cb237f03c5c9 | [
"MIT"
] | null | null | null | Causality/main.cpp | ArcEarth/SrInspection | 63c540d1736e323a0f409914e413cb237f03c5c9 | [
"MIT"
] | 5 | 2016-01-16T14:25:28.000Z | 2017-06-12T16:15:18.000Z | // Source.cpp : Defines the entry point for the console application.
//
#include "pch_bcl.h"
#include "CausalityApplication.h"
//#include <fbxsdk.h>
using namespace std;
using namespace Causality;
using namespace DirectX;
#include <Windows.h>
#include <string>
#include <vector>
#if defined(__cplusplus_winrt)
using n... | 31.34375 | 144 | 0.689332 | [
"render",
"vector"
] |
bdd62610f0433e38bad6eab37e365c8b85157533 | 5,666 | cpp | C++ | RagePawn/pawn.cpp | infin1tyy/ragepawn | 20d5fea0ea3763a1a49654a34d03884a241716d7 | [
"MIT"
] | 4 | 2019-04-14T11:40:03.000Z | 2020-06-07T16:07:28.000Z | RagePawn/pawn.cpp | infin1tyy/ragepawn | 20d5fea0ea3763a1a49654a34d03884a241716d7 | [
"MIT"
] | 2 | 2019-04-13T14:54:04.000Z | 2019-05-03T14:11:45.000Z | RagePawn/pawn.cpp | infin1tyy/ragepawn | 20d5fea0ea3763a1a49654a34d03884a241716d7 | [
"MIT"
] | 5 | 2019-04-10T00:49:57.000Z | 2022-01-04T05:57:44.000Z | #include "pawn.hpp"
#include "../amxlib/amxaux.h"
#include <filesystem>
#include "format.hpp"
#pragma comment( lib, "winmm.lib") // amx_TimeInit(&amx);
#pragma comment( lib, "ws2_32.lib") // amx_DGramInit(&amx);
#include "callbacks.hpp"
namespace fs = std::experimental::filesystem;
extern "C" {
int AMXEXPO... | 25.070796 | 94 | 0.656548 | [
"vector",
"transform"
] |
75382fdcede02f5aefdc76953d362d7315096e2d | 577 | cpp | C++ | LeetCode/C++/66. Plus One.cpp | shreejitverma/GeeksforGeeks | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-18T05:14:28.000Z | 2022-03-08T07:00:08.000Z | LeetCode/C++/66. Plus One.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 6 | 2022-01-13T04:31:04.000Z | 2022-03-12T01:06:16.000Z | LeetCode/C++/66. Plus One.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-14T19:53:53.000Z | 2022-02-18T05:14:30.000Z | //Runtime: 4 ms, faster than 67.62% of C++ online submissions for Plus One.
//Memory Usage: 7.6 MB, less than 100.00% of C++ online submissions for Plus One.
class Solution {
public:
vector<int> plusOne(vector<int>& digits) {
int N = digits.size();
int pos = N -1;
while(pos >= 0 && digits[po... | 25.086957 | 81 | 0.478336 | [
"vector"
] |
753ea4a15a3ddc29aa6ba45c6f9dddf12d5a4c76 | 37,150 | cpp | C++ | test/core.cpp | vlanore/tinycompo | c7acf325c84b68ec91eaf937ad49f17281e84079 | [
"CECILL-B"
] | null | null | null | test/core.cpp | vlanore/tinycompo | c7acf325c84b68ec91eaf937ad49f17281e84079 | [
"CECILL-B"
] | null | null | null | test/core.cpp | 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... | 37.038883 | 125 | 0.563445 | [
"object",
"shape",
"vector",
"model"
] |
75407381a7de82f6b4931134fb4efa66c57e47a0 | 611 | cc | C++ | solutions/p23.cc | akshaypundle/projecteuler | 38c88476cde85b19fc13266d9437b7e78f6d7be4 | [
"MIT"
] | null | null | null | solutions/p23.cc | akshaypundle/projecteuler | 38c88476cde85b19fc13266d9437b7e78f6d7be4 | [
"MIT"
] | null | null | null | solutions/p23.cc | akshaypundle/projecteuler | 38c88476cde85b19fc13266d9437b7e78f6d7be4 | [
"MIT"
] | null | null | null | #include <library.h>
#include <iostream>
using namespace library;
using namespace std;
bool isAbundant(int n) {
int sum =0;
for(auto num:properDivisors(n)) {
sum+=num;
}
if(sum > n) {
return true;
}
return false;
}
int main() {
long tot;
bool abundant[28124];
vector<int> abundantVec;
for... | 15.666667 | 36 | 0.564648 | [
"vector"
] |
7545eb18f6153d7e080df1b4fe394cf4f50cccf1 | 9,693 | cpp | C++ | plugin/3dsmax/read/ThreeMFImport.cpp | hamedsabri/M3MF | de81cbe8e3d10f29c71936e08721629ca068d0ce | [
"BSD-2-Clause"
] | null | null | null | plugin/3dsmax/read/ThreeMFImport.cpp | hamedsabri/M3MF | de81cbe8e3d10f29c71936e08721629ca068d0ce | [
"BSD-2-Clause"
] | null | null | null | plugin/3dsmax/read/ThreeMFImport.cpp | hamedsabri/M3MF | de81cbe8e3d10f29c71936e08721629ca068d0ce | [
"BSD-2-Clause"
] | null | null | null | // Copyright (C) 2021 Hamed Sabri
//
// 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, this
// list of conditions ... | 30.577287 | 195 | 0.658207 | [
"mesh",
"object",
"vector",
"model",
"transform"
] |
75472f74bc1baf0b8d73918806ab18c7a28bdd0d | 14,676 | cc | C++ | CalibFormats/SiPixelObjects/src/PixelTBMSettings.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | CalibFormats/SiPixelObjects/src/PixelTBMSettings.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | CalibFormats/SiPixelObjects/src/PixelTBMSettings.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | //
// This class provide a base class for the
// pixel ROC DAC data for the pixel FEC configuration
//
//
//
//
#include "CalibFormats/SiPixelObjects/interface/PixelTBMSettings.h"
#include "CalibFormats/SiPixelObjects/interface/PixelTimeFormatter.h"
#include <fstream>
#include <sstream>
#include <iostream>
#include <i... | 35.621359 | 148 | 0.553421 | [
"vector"
] |
7549de82ba1ee516bbe57636673708398c2a1a65 | 1,387 | cpp | C++ | src/third_party/wiredtiger/test/unittest/tests/test_fnv.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/third_party/wiredtiger/test/unittest/tests/test_fnv.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/third_party/wiredtiger/test/unittest/tests/test_fnv.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /*-
* Copyright (c) 2014-present MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include <catch2/catch.hpp>
#include "wt_internal.h"
// Due credit: the cases that hash to zero came from
// http://www.isthe.com/chongo/t... | 36.5 | 96 | 0.704398 | [
"vector"
] |
755172f9d061c369d5ee0f49273a7fbb9f931798 | 10,168 | cpp | C++ | ui/startsavingtoharddisk.cpp | joke-lab/project | ef5984d9ec0ad61b76b85f21c9ffc58fb99c94c9 | [
"Apache-2.0"
] | null | null | null | ui/startsavingtoharddisk.cpp | joke-lab/project | ef5984d9ec0ad61b76b85f21c9ffc58fb99c94c9 | [
"Apache-2.0"
] | null | null | null | ui/startsavingtoharddisk.cpp | joke-lab/project | ef5984d9ec0ad61b76b85f21c9ffc58fb99c94c9 | [
"Apache-2.0"
] | null | null | null | #include "startsavingtoharddisk.h"
startsavingtoharddisk::startsavingtoharddisk(uchar *&save_buffer,float *&angle_buff,QReadWriteLock *share_lock,QObject*parent):
QObject(parent),buf_read(save_buffer),angle_buf(angle_buff),lock_read(share_lock)
{
}
startsavingtoharddisk::~startsavingtoharddisk()
{
}
/... | 40.50996 | 128 | 0.562746 | [
"3d"
] |
7552055f92d28ac36053c866989562914674d455 | 1,907 | cpp | C++ | ARPREC/arprec-2.2.13/src/sub.cpp | paveloom-p/P3 | 57df3b6263db81685f137a7ed9428dbd3c1b4a5b | [
"Unlicense"
] | null | null | null | ARPREC/arprec-2.2.13/src/sub.cpp | paveloom-p/P3 | 57df3b6263db81685f137a7ed9428dbd3c1b4a5b | [
"Unlicense"
] | null | null | null | ARPREC/arprec-2.2.13/src/sub.cpp | paveloom-p/P3 | 57df3b6263db81685f137a7ed9428dbd3c1b4a5b | [
"Unlicense"
] | null | null | null | /*
* src/mpreal.cc
*
* This work was supported by the Director, Office of Science, Division
* of Mathematical, Information, and Computational Sciences of the
* U.S. Department of Energy under contract number DE-AC03-76SF00098.
*
* Copyright (c) 2002
*
*/
#include <arprec/mp_real.h>
#include "small_inline.h"
u... | 23.54321 | 76 | 0.598322 | [
"object"
] |
7575052516a3f798ba4baa7da195d46861f41fdc | 9,081 | cpp | C++ | external/vqi_frogs/Module/config.cpp | kellerkompanie/kellerkompanie-mods | f15704710f77ba6c018c486d95cac4f7749d33b8 | [
"MIT"
] | 6 | 2018-05-05T22:28:57.000Z | 2019-07-06T08:46:51.000Z | external/vqi_frogs/Module/config.cpp | Schwaggot/kellerkompanie-mods | 7a389e49e3675866dbde1b317a44892926976e9d | [
"MIT"
] | 107 | 2018-04-11T19:42:27.000Z | 2019-09-13T19:05:31.000Z | external/vqi_frogs/Module/config.cpp | kellerkompanie/kellerkompanie-mods | f15704710f77ba6c018c486d95cac4f7749d33b8 | [
"MIT"
] | 3 | 2018-10-03T11:54:46.000Z | 2019-02-28T13:30:16.000Z | // : : : FROGS Module System : : :
//
#define private 0
#define protected 1
#define public 2
class CfgPatches {
class VQI_FROGS { // multi allowed?
units[] = {"VQI_ModuleFROGS"};
requiredVersion = 1.0;
requiredAddons[] = {"A3_Modules_F"};
//directory = "SPOOKWARCOM\SPOOKWARCOM";
};
};
class CfgFunct... | 34.660305 | 197 | 0.617773 | [
"object",
"model",
"3d"
] |
757b11870233e16ee5a65234bd2f93bc2197e8dd | 719 | cpp | C++ | Atcoder/abc228/c.cpp | hyturing/Competitve-Programming | 571da19ae5d17fdcf2b9a9956eaf5a6c5f7d27e8 | [
"MIT"
] | 5 | 2021-01-25T17:08:45.000Z | 2021-09-11T17:33:39.000Z | Atcoder/abc228/c.cpp | hyturing/Competitve-Programming | 571da19ae5d17fdcf2b9a9956eaf5a6c5f7d27e8 | [
"MIT"
] | null | null | null | Atcoder/abc228/c.cpp | hyturing/Competitve-Programming | 571da19ae5d17fdcf2b9a9956eaf5a6c5f7d27e8 | [
"MIT"
] | 1 | 2021-03-22T16:53:30.000Z | 2021-03-22T16:53:30.000Z | /* hyturing - Hemant Kumar Yadav */
#include "bits/stdc++.h"
using namespace std;
#define endl "\n"
#define ll long long
const ll MOD = 1e9+7;
void solve(){
int n, k;
cin >> n >> k;
vector<int> p(n);
for(int i = 0; i < n; i++){
int a, b, c;
cin >> a >> b >> c;
p[i] = a+b+c;
}
vector<int> r=p;
sort(r... | 14.979167 | 48 | 0.504868 | [
"vector"
] |
757d22a218692deeba670ce487cf65db34ebe082 | 5,043 | hpp | C++ | include/utils4cpp/filesystem/UPath.hpp | shaoguangwu/utils4cpp | 6cc2093220e7be293761432cde88dff275c8f678 | [
"BSD-3-Clause"
] | 1 | 2019-10-17T01:34:56.000Z | 2019-10-17T01:34:56.000Z | include/utils4cpp/filesystem/UPath.hpp | shaoguangwu/utils4cpp | 6cc2093220e7be293761432cde88dff275c8f678 | [
"BSD-3-Clause"
] | null | null | null | include/utils4cpp/filesystem/UPath.hpp | shaoguangwu/utils4cpp | 6cc2093220e7be293761432cde88dff275c8f678 | [
"BSD-3-Clause"
] | 3 | 2019-10-17T01:33:37.000Z | 2019-12-02T02:13:45.000Z | /************************************************************************************
**
** BSD 3-Clause License
**
** Copyright (c) 2019, shaoguang. All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions ar... | 26.68254 | 90 | 0.635931 | [
"object"
] |
757fb859ce14348da1cb0726fd372e217df27b75 | 1,759 | hpp | C++ | src/sys/opengl/buffer.hpp | Tearnote/Minote | 35f63fecc01cf9199db1098256277465e1d41d1e | [
"MIT"
] | 8 | 2021-01-18T12:06:21.000Z | 2022-02-13T17:12:56.000Z | src/sys/opengl/buffer.hpp | Tearnote/Minote | 35f63fecc01cf9199db1098256277465e1d41d1e | [
"MIT"
] | null | null | null | src/sys/opengl/buffer.hpp | Tearnote/Minote | 35f63fecc01cf9199db1098256277465e1d41d1e | [
"MIT"
] | null | null | null | // Minote - sys/opengl/buffer.hpp
// Type-safe wrapper for OpenGL buffer object types
#pragma once
#include "glad/glad.h"
#include "base/concept.hpp"
#include "base/array.hpp"
#include "base/util.hpp"
#include "sys/opengl/base.hpp"
namespace minote {
// Generic buffer object. Use one of the template specializations... | 27.484375 | 74 | 0.744741 | [
"object"
] |
7588a9a60c9bb5b8edea75052833185ff7e1b795 | 21,722 | cpp | C++ | main.cpp | Paulina-Majda/ksiazkaAdresowa | 97de05ff1380daf71448ad4f9fb496b5cdab360b | [
"Unlicense"
] | null | null | null | main.cpp | Paulina-Majda/ksiazkaAdresowa | 97de05ff1380daf71448ad4f9fb496b5cdab360b | [
"Unlicense"
] | null | null | null | main.cpp | Paulina-Majda/ksiazkaAdresowa | 97de05ff1380daf71448ad4f9fb496b5cdab360b | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <string>
#include <cstring>
#include <vector>
#include <fstream>
#include <cstdio>
#include <algorithm>
using namespace std;
int iteratorUzytkownikow;
int iteratorAdresatow;
int idZalogowanegoUzytkownika = -1;
string nazwaPlikuAdresowego = "Adresaci.txt";
string nazwaPliku... | 30.855114 | 98 | 0.51266 | [
"vector"
] |
758bf96233642b478e0f5e31e57c337931afacd5 | 71,785 | cpp | C++ | src/modules/hip/hip_geometry_transforms.cpp | Reza-Najafi/rpp | 26b21762d4fbc4971b03f939fe00ae8bcf49fef9 | [
"MIT"
] | null | null | null | src/modules/hip/hip_geometry_transforms.cpp | Reza-Najafi/rpp | 26b21762d4fbc4971b03f939fe00ae8bcf49fef9 | [
"MIT"
] | null | null | null | src/modules/hip/hip_geometry_transforms.cpp | Reza-Najafi/rpp | 26b21762d4fbc4971b03f939fe00ae8bcf49fef9 | [
"MIT"
] | null | null | null | #include "hip_declarations.hpp"
/************* Fish eye ******************/
RppStatus
fisheye_hip(Rpp8u* srcPtr, RppiSize srcSize,
Rpp8u* dstPtr,
RppiChnFormat chnFormat, unsigned int channel,
rpp::Handle& handle)
{
if (chnFormat == RPPI_CHN_PLANAR)
{
std... | 61.093617 | 379 | 0.446779 | [
"vector"
] |
758f728e717731e2b06018da563aea3a3efce68d | 2,254 | cpp | C++ | modules/ruby/k_ruby_list.cpp | appcelerator/kroll | 50b9788d2c391db7676ad0d32f6d8271f51e2a66 | [
"Apache-2.0"
] | 17 | 2015-01-23T08:23:12.000Z | 2019-07-24T11:44:31.000Z | kroll/modules/ruby/k_ruby_list.cpp | MChorfa/TideSDK | fae6a35e39a0171942060948084f884391cf6f8a | [
"Apache-2.0"
] | 1 | 2016-03-04T06:11:37.000Z | 2016-03-04T06:11:37.000Z | kroll/modules/ruby/k_ruby_list.cpp | MChorfa/TideSDK | fae6a35e39a0171942060948084f884391cf6f8a | [
"Apache-2.0"
] | 9 | 2015-02-10T17:22:04.000Z | 2019-05-17T08:45:05.000Z | /**
* Appcelerator Kroll - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved.
*/
#include "ruby_module.h"
#include <cstring>
namespace kroll
{
KRubyList::KRubyList(VALUE list) :
KList("Ruby.KRubyLis... | 19.6 | 66 | 0.679237 | [
"object"
] |
758fbb82bc96f7a605208e4d1017577724dff063 | 1,126 | cpp | C++ | libnet/src/libnet.cpp | avdgrinten/managarm | 4c4478cbde21675ca31e65566f10e1846b268bd5 | [
"MIT"
] | 13 | 2017-02-13T23:29:44.000Z | 2021-09-30T05:41:21.000Z | libnet/src/libnet.cpp | avdgrinten/managarm | 4c4478cbde21675ca31e65566f10e1846b268bd5 | [
"MIT"
] | 12 | 2016-12-03T13:06:13.000Z | 2018-05-04T15:49:17.000Z | libnet/src/libnet.cpp | avdgrinten/managarm | 4c4478cbde21675ca31e65566f10e1846b268bd5 | [
"MIT"
] | 1 | 2021-12-01T19:01:53.000Z | 2021-12-01T19:01:53.000Z |
#include <stdio.h>
#include <stdlib.h>
#include <fs.pb.h>
#include <libnet.hpp>
#include "udp.hpp"
#include "tcp.hpp"
#include "dns.hpp"
#include "arp.hpp"
#include "usernet.hpp"
#include "ethernet.hpp"
#include "network.hpp"
namespace libnet {
uint32_t dhcpTransaction = 0xD61FF088; // some random integer
DhcpState ... | 22.52 | 94 | 0.760213 | [
"object"
] |
75934fb0430796d4578f71c3536e60aedd7341ee | 3,133 | cpp | C++ | examples/serialize/vector_int_reader/vector_int_reader.cpp | paulhuggett/pstore2 | a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c | [
"Apache-2.0"
] | 11 | 2018-02-02T21:24:49.000Z | 2020-12-11T04:06:03.000Z | examples/serialize/vector_int_reader/vector_int_reader.cpp | SNSystems/pstore | 74e9dd960245d6bfc125af03ed964d8ad660a62d | [
"Apache-2.0"
] | 63 | 2018-02-05T17:24:59.000Z | 2022-03-22T17:26:28.000Z | examples/serialize/vector_int_reader/vector_int_reader.cpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | 5 | 2020-01-13T22:47:11.000Z | 2021-05-14T09:31:15.000Z | //===- examples/serialize/vector_int_reader/vector_int_reader.cpp ---------===//
//* _ _ _ _ *
//* __ _____ ___| |_ ___ _ __ (_)_ __ | |_ _ __ ___ __ _ __| | ___ _ __ *
//* \ \ / / _ \/ __| __/ _ \| '__| | | '_ \| __| | '__/ _ \/ _` |/ _` |... | 41.773333 | 94 | 0.529205 | [
"vector"
] |
7599b653ea8b71bd1d0a8820185d22387400d88e | 13,761 | cpp | C++ | src/mongo/util/text.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/util/text.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/util/text.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2018-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 37.909091 | 100 | 0.512535 | [
"vector"
] |
b5c252218fc73ce829079639f81858dfc4a510ea | 3,257 | cpp | C++ | src/SolAR2D3DcorrespondencesFinderOpencv.cpp | ThibaudM/SolARModuleOpenCV | 8898694a429abb4b3a227b2463aef5a0b6aa5c07 | [
"Apache-2.0"
] | 3 | 2019-04-16T16:40:35.000Z | 2021-02-26T10:28:36.000Z | src/SolAR2D3DcorrespondencesFinderOpencv.cpp | ThibaudM/SolARModuleOpenCV | 8898694a429abb4b3a227b2463aef5a0b6aa5c07 | [
"Apache-2.0"
] | 7 | 2018-04-13T14:31:55.000Z | 2021-06-30T14:49:26.000Z | src/SolAR2D3DcorrespondencesFinderOpencv.cpp | ThibaudM/SolARModuleOpenCV | 8898694a429abb4b3a227b2463aef5a0b6aa5c07 | [
"Apache-2.0"
] | 4 | 2019-07-25T08:50:04.000Z | 2021-06-14T15:40:19.000Z | /**
* @copyright Copyright (c) 2017 B-com http://www.b-com.com/
*
* 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... | 46.528571 | 144 | 0.653055 | [
"vector"
] |
b5d5770ff79101d15b1170d60a3b3abecfea3179 | 4,234 | cpp | C++ | Dots/geometries/Greetings/FTA.cpp | xjorma/HoloGrail | 678db2a5f98261b0d8d6c3cdaffe481a42802845 | [
"MIT"
] | 6 | 2021-04-05T05:57:59.000Z | 2022-02-20T00:14:15.000Z | Dots/geometries/Greetings/FTA.cpp | xjorma/HoloGrail | 678db2a5f98261b0d8d6c3cdaffe481a42802845 | [
"MIT"
] | null | null | null | Dots/geometries/Greetings/FTA.cpp | xjorma/HoloGrail | 678db2a5f98261b0d8d6c3cdaffe481a42802845 | [
"MIT"
] | null | null | null | #include "demopch.h"
#include "./headers/geometries.h"
Geometry FTA = Geometry
(
{
{0.316115826368, -0.0500000007451, -0.0873069763184}, {0.316115826368, 0.0500000007451, -0.0873069763184}, {0.251831442118, -0.0500000007451, 0.044756539166}, {0.251831442118, 0.0500000007451, 0.044756539166}, {0.179438009858, -0.050... | 192.454545 | 436 | 0.679972 | [
"geometry"
] |
b5e23c5744a81373a6858dee8ed6b29f19929687 | 3,091 | hpp | C++ | include/jg/details/bucket_iterator.hpp | Jiwan/dense_hash_map | 74277fc4813028ae4a9e8d9176788eb8001177a6 | [
"MIT"
] | 15 | 2020-04-11T15:23:09.000Z | 2022-03-15T11:05:19.000Z | include/jg/details/bucket_iterator.hpp | Jiwan/dense_hash_map | 74277fc4813028ae4a9e8d9176788eb8001177a6 | [
"MIT"
] | 2 | 2021-01-08T05:04:54.000Z | 2022-02-13T05:30:51.000Z | include/jg/details/bucket_iterator.hpp | Jiwan/dense_hash_map | 74277fc4813028ae4a9e8d9176788eb8001177a6 | [
"MIT"
] | 5 | 2020-04-11T15:23:15.000Z | 2022-02-25T22:21:00.000Z | #ifndef JG_BUCKET_ITERATOR_HPP
#define JG_BUCKET_ITERATOR_HPP
#include "node.hpp"
#include <iterator>
#include <vector>
namespace jg::details
{
template <class Key, class T, class Container, bool isConst, bool projectToConstKey>
class bucket_iterator
{
using nodes_container_type = std::conditional_t<isConst, co... | 31.540816 | 99 | 0.700097 | [
"vector"
] |
b5e498b88f3f762ea9f962b862b35e05810c84c2 | 12,850 | cpp | C++ | symbolics/test/matrix.cpp | brutzl/pymbs | fb7c91435f56b5c4d460f82f081d5d1960fea886 | [
"MIT"
] | null | null | null | symbolics/test/matrix.cpp | brutzl/pymbs | fb7c91435f56b5c4d460f82f081d5d1960fea886 | [
"MIT"
] | null | null | null | symbolics/test/matrix.cpp | brutzl/pymbs | fb7c91435f56b5c4d460f82f081d5d1960fea886 | [
"MIT"
] | null | null | null | /*
This file is part of PyMbs.
PyMbs is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
PyMbs is distributed in the hope that it will ... | 30.963855 | 89 | 0.539767 | [
"shape",
"vector"
] |
b5e86b9a833d110af323b404876f0425a65fa194 | 11,744 | cpp | C++ | src/CoreInfo.cpp | leiradel/CheevosTool | a7d0145c7617caf63d42b134a831707f10c1d27b | [
"MIT"
] | null | null | null | src/CoreInfo.cpp | leiradel/CheevosTool | a7d0145c7617caf63d42b134a831707f10c1d27b | [
"MIT"
] | null | null | null | src/CoreInfo.cpp | leiradel/CheevosTool | a7d0145c7617caf63d42b134a831707f10c1d27b | [
"MIT"
] | null | null | null | #include "CoreInfo.h"
#include <imgui.h>
#include <stdio.h>
static void table(int columns, ...)
{
ImGui::Columns(columns, NULL, true);
va_list args;
va_start(args, columns);
for (;;)
{
const char* name = va_arg(args, const char*);
if (name == NULL)
{
break;
}
ImGui::Separator(... | 27.122402 | 95 | 0.555092 | [
"geometry",
"vector"
] |
b5ebbd37bc4df7680a200fcf6886d992e2b0c0cb | 847 | cpp | C++ | SOLVER/src/core/boundary/solid_fluid/SolidFluidCoupling1D.cpp | chaindl/AxiSEM-3D | 0251f301c79c676fb37792209d6e24f107773b3d | [
"MIT"
] | null | null | null | SOLVER/src/core/boundary/solid_fluid/SolidFluidCoupling1D.cpp | chaindl/AxiSEM-3D | 0251f301c79c676fb37792209d6e24f107773b3d | [
"MIT"
] | null | null | null | SOLVER/src/core/boundary/solid_fluid/SolidFluidCoupling1D.cpp | chaindl/AxiSEM-3D | 0251f301c79c676fb37792209d6e24f107773b3d | [
"MIT"
] | null | null | null | //
// SolidFluidCoupling1D.cpp
// AxiSEM3D
//
// Created by Kuangdai Leng on 1/30/19.
// Copyright © 2019 Kuangdai Leng. All rights reserved.
//
// solid-fluid boundary condition in 1D
#include "SolidFluidCoupling1D.hpp"
#include "PointWindow.hpp"
// constructor
SolidFluidCoupling1D::
SolidFluidCoupling1D(const... | 30.25 | 61 | 0.714286 | [
"solid"
] |
b5f432399351e3e105f1cd24bdb36654daf47507 | 420 | cpp | C++ | array/961_N-repeated_element_in_size_2N_array.cpp | rspezialetti/leetcode | 4614ffe2a4923aae02f93096b6200239e6f201c1 | [
"MIT"
] | 1 | 2019-08-21T21:25:34.000Z | 2019-08-21T21:25:34.000Z | array/961_N-repeated_element_in_size_2N_array.cpp | rspezialetti/leetcode | 4614ffe2a4923aae02f93096b6200239e6f201c1 | [
"MIT"
] | null | null | null | array/961_N-repeated_element_in_size_2N_array.cpp | rspezialetti/leetcode | 4614ffe2a4923aae02f93096b6200239e6f201c1 | [
"MIT"
] | null | null | null | class Solution {
public:
int repeatedNTimes(vector<int>& A) {
map<int, int> repetitions;
int val = 0;
for(size_t i = 0; i < A.size(); ++i)
{
repetitions[A[i]]++;
if(repetitions[A[i]] == A.size() * 0.5)
{
val = ... | 19.090909 | 51 | 0.345238 | [
"vector"
] |
b5f934671ab00c60dc8b305843460caa12c8f398 | 626 | cpp | C++ | acmicpc/17218.cpp | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | acmicpc/17218.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | acmicpc/17218.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | #include <iostream>
#include <vector>
using namespace std;
#define MAX 41
int dp[MAX][MAX];
int main()
{
vector<char> ans;
string a, b;
cin >> a >> b;
for (int i=1; i<=a.length(); ++i) {
for (int j=1; j<=b.length(); ++j) {
if (a[i-1] == b[j-1])
dp[i][j] = dp[i-1][j-1] + 1;
else
dp[i][j] = max(dp[... | 15.268293 | 43 | 0.455272 | [
"vector"
] |
bd00c1a4f80cb93322bb3be8cfe97a382a5dceef | 7,606 | cpp | C++ | Immortal/Scene/Scene.cpp | DaShi-Git/Immortal | e3345b4ff2a2b9d215c682db2b4530e24cc3b203 | [
"Apache-2.0"
] | 1 | 2022-01-07T09:52:18.000Z | 2022-01-07T09:52:18.000Z | Immortal/Scene/Scene.cpp | DaShi-Git/Immortal | e3345b4ff2a2b9d215c682db2b4530e24cc3b203 | [
"Apache-2.0"
] | null | null | null | Immortal/Scene/Scene.cpp | DaShi-Git/Immortal | e3345b4ff2a2b9d215c682db2b4530e24cc3b203 | [
"Apache-2.0"
] | null | null | null | #include "impch.h"
#include "Scene.h"
#include "Framework/Application.h"
#include "Render/Render.h"
#include "Render/Render2D.h"
#include "Object.h"
#include "Component.h"
#include "GameObject.h"
#include <glad/glad.h>
#include <GLFW/glfw3.h>
namespace Immortal
{
struct TransformUniformBuffer
{
Matrix4 viewPr... | 29.253846 | 131 | 0.615698 | [
"mesh",
"render",
"object",
"vector",
"transform"
] |
bd022e23a8448a2d024e29f0be00f247863962dd | 2,097 | cc | C++ | components/service/ucloud/multimediaai/src/model/UpdateTemplateRequest.cc | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | components/service/ucloud/multimediaai/src/model/UpdateTemplateRequest.cc | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | components/service/ucloud/multimediaai/src/model/UpdateTemplateRequest.cc | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 24.670588 | 77 | 0.746304 | [
"model"
] |
bd062accfbd5f87eaed82313d515e90aa14e788b | 4,354 | hpp | C++ | conjecture_prover.hpp | nwoeanhinnogaehr/lgo | c59470e107e27c7d2174da5352bd4639edabf1e2 | [
"MIT"
] | null | null | null | conjecture_prover.hpp | nwoeanhinnogaehr/lgo | c59470e107e27c7d2174da5352bd4639edabf1e2 | [
"MIT"
] | 11 | 2016-12-25T19:14:10.000Z | 2017-03-14T01:52:03.000Z | conjecture_prover.hpp | nwoeanhinnogaehr/lgo | c59470e107e27c7d2174da5352bd4639edabf1e2 | [
"MIT"
] | null | null | null | #pragma once
#include "ab.hpp"
// helper to build a class hierarchy from a variadic list of types
template <template <pos_t, typename, template <pos_t, typename> typename>
typename Interior,
pos_t size, typename Impl, template <pos_t, typename> typename First,
template <pos_t, typename> ... | 44.428571 | 100 | 0.654341 | [
"vector"
] |
bd0d2cf3013c8ef371bd1aa0b15d38e423bdcdcc | 6,318 | cpp | C++ | sources/DBhasher.cpp | NickBabakin/lab-10-kv-storage | 195d492ec307d768cccc009b3b9abf9713d4b742 | [
"MIT"
] | null | null | null | sources/DBhasher.cpp | NickBabakin/lab-10-kv-storage | 195d492ec307d768cccc009b3b9abf9713d4b742 | [
"MIT"
] | null | null | null | sources/DBhasher.cpp | NickBabakin/lab-10-kv-storage | 195d492ec307d768cccc009b3b9abf9713d4b742 | [
"MIT"
] | null | null | null | //Copyright [2021] <nickgeo.winner@gmail.com>
#include "DBhasher.hpp"
DBhasher::DBhasher(std::string _kDBpath, std::string _new_path,
const size_t& _threads_count, std::string _log_level)
: threads_count(_threads_count)
, src_path(std::move(_kDBpath))
, new_path(std::move(_new_path... | 31.59 | 79 | 0.606046 | [
"vector"
] |
bd121ac4f8448787a8b3452bb2117409805ad463 | 10,798 | hpp | C++ | src/TimeStepper/Optimizer.hpp | asmaloney/IPC | fcf72a951c072d0ea1755ccf27cbb03df0f2f8ea | [
"MIT"
] | 9 | 2021-11-03T18:39:59.000Z | 2022-03-11T09:19:14.000Z | src/TimeStepper/Optimizer.hpp | Kirkice/IPC | ad40d232c09360cd4851b5badbc899df37b851a2 | [
"MIT"
] | 2 | 2021-11-03T18:47:13.000Z | 2022-02-28T19:41:49.000Z | src/TimeStepper/Optimizer.hpp | Kirkice/IPC | ad40d232c09360cd4851b5badbc899df37b851a2 | [
"MIT"
] | 2 | 2021-11-03T18:57:40.000Z | 2021-12-22T06:43:37.000Z | //
// Optimizer.hpp
// IPC
//
// Created by Minchen Li on 8/31/17.
//
#ifndef Optimizer_hpp
#define Optimizer_hpp
#include "Types.hpp"
#include "Energy.hpp"
#include "AnimScripter.hpp"
#include "Config.hpp"
#include "LinSysSolver.hpp"
#include "SpatialHash.hpp"
#include "OSQPWrapper.h"
#ifdef USE_GUROBI
#include ... | 38.702509 | 97 | 0.696981 | [
"mesh",
"vector"
] |
bd144e5e41d63296fb1e78360ccc59497f9ef657 | 13,040 | cpp | C++ | src/gui/circle.cpp | vlabella/GLE | ff6b424fda75d674c6a9f270ccdade3ab149e24f | [
"BSD-3-Clause"
] | 3 | 2022-03-03T06:48:33.000Z | 2022-03-13T21:18:11.000Z | src/gui/circle.cpp | vlabella/GLE | ff6b424fda75d674c6a9f270ccdade3ab149e24f | [
"BSD-3-Clause"
] | 1 | 2022-03-14T13:01:29.000Z | 2022-03-14T13:13:23.000Z | src/gui/circle.cpp | vlabella/GLE | ff6b424fda75d674c6a9f270ccdade3ab149e24f | [
"BSD-3-Clause"
] | 1 | 2021-12-21T23:14:06.000Z | 2021-12-21T23:14:06.000Z | /***********************************************************************************
* QGLE - A Graphical Interface to GLE *
* Copyright (C) 2006 A. S. Budden & J. Struyf *
* ... | 29.502262 | 158 | 0.667025 | [
"object"
] |
bd29aea730daa90eef20928725e84e69ae1c0e38 | 1,339 | cpp | C++ | src/audio_analyzer/sound_quality2_preparation.cpp | nankasuisui/phaselimiter | dd155676a3750d4977b8248d52fc77f5c28d1906 | [
"MIT"
] | 12 | 2021-07-07T14:37:20.000Z | 2022-03-07T16:43:47.000Z | src/audio_analyzer/sound_quality2_preparation.cpp | nankasuisui/phaselimiter | dd155676a3750d4977b8248d52fc77f5c28d1906 | [
"MIT"
] | null | null | null | src/audio_analyzer/sound_quality2_preparation.cpp | nankasuisui/phaselimiter | dd155676a3750d4977b8248d52fc77f5c28d1906 | [
"MIT"
] | 3 | 2021-04-03T13:36:02.000Z | 2021-12-28T20:21:10.000Z | #include "gflags/gflags.h"
#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/filesystem.hpp>
#include "bakuage/sound_quality2.h"
DECLARE_string(analysis_data_dir);
DECLARE_string(sound_quality2_cache);
DECLARE_string(sound_quality2_cache_archiver);
void PrepareSou... | 31.880952 | 94 | 0.718447 | [
"vector"
] |
bd4b78ec19bb68fbab199018e2f4f1c45e96b415 | 17,216 | cc | C++ | src/gxf.cc | diekhans/gencode-backmap | dc365a1bf8bd9c0fe2f4ada4116ff2f214e53306 | [
"Apache-2.0"
] | 8 | 2016-06-07T05:05:39.000Z | 2021-02-19T04:52:09.000Z | src/gxf.cc | diekhans/gencode-backmap | dc365a1bf8bd9c0fe2f4ada4116ff2f214e53306 | [
"Apache-2.0"
] | 4 | 2016-05-08T15:11:40.000Z | 2020-11-12T23:59:56.000Z | src/gxf.cc | diekhans/gencode-backmap | dc365a1bf8bd9c0fe2f4ada4116ff2f214e53306 | [
"Apache-2.0"
] | 5 | 2018-02-28T04:50:08.000Z | 2021-12-05T20:31:18.000Z | #include "gxf.hh"
#include "jkinclude.hh"
#include "FIOStream.hh"
#include <typeinfo>
#include <string>
#include <vector>
#include <cassert>
#include "typeOps.hh"
#include <stdexcept>
const string GxfFeature::GENE = "gene";
const string GxfFeature::TRANSCRIPT = "transcript";
const string GxfFeature::EXON = "exon";
con... | 32.05959 | 117 | 0.60316 | [
"object",
"vector"
] |
32e50fb40722b6c7daf38b0c68bd958534840488 | 5,699 | hpp | C++ | measurer/hotspot-measurer/hotspot/src/share/vm/memory/oopFactory.hpp | armoredsoftware/protocol | e3b0c1df8bc1027865caec6d117e5925f71f26d2 | [
"BSD-3-Clause"
] | null | null | null | measurer/hotspot-measurer/hotspot/src/share/vm/memory/oopFactory.hpp | armoredsoftware/protocol | e3b0c1df8bc1027865caec6d117e5925f71f26d2 | [
"BSD-3-Clause"
] | null | null | null | measurer/hotspot-measurer/hotspot/src/share/vm/memory/oopFactory.hpp | armoredsoftware/protocol | e3b0c1df8bc1027865caec6d117e5925f71f26d2 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 49.556522 | 155 | 0.665731 | [
"object"
] |
32e9d2591441903b66ce7e4e23269d813b20c096 | 1,085 | cpp | C++ | aws-cpp-sdk-kafka/source/model/ServerlessClientAuthentication.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-kafka/source/model/ServerlessClientAuthentication.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-kafka/source/model/ServerlessClientAuthentication.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/kafka/model/ServerlessClientAuthentication.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespac... | 18.083333 | 94 | 0.742857 | [
"model"
] |
32ea2805e6d5b3a08d7ac1972f60cbf3ad8c238d | 8,928 | cpp | C++ | rootex/core/resource_files/model_resource_file.cpp | LASTEXILE-CH/Rootex | 685b9bb5763bbc35041f3a5f193a43b3156394a6 | [
"MIT"
] | 1 | 2021-03-29T09:46:28.000Z | 2021-03-29T09:46:28.000Z | rootex/core/resource_files/model_resource_file.cpp | LASTEXILE-CH/Rootex | 685b9bb5763bbc35041f3a5f193a43b3156394a6 | [
"MIT"
] | null | null | null | rootex/core/resource_files/model_resource_file.cpp | LASTEXILE-CH/Rootex | 685b9bb5763bbc35041f3a5f193a43b3156394a6 | [
"MIT"
] | null | null | null | #include "model_resource_file.h"
#include "resource_loader.h"
#include "image_resource_file.h"
#include "renderer/material_library.h"
#include "renderer/mesh.h"
#include "renderer/vertex_buffer.h"
#include "renderer/index_buffer.h"
#include "assimp/Importer.hpp"
#include "assimp/postprocess.h"
#include "assimp/scene.... | 30.47099 | 237 | 0.677531 | [
"mesh",
"vector",
"model"
] |
32ed2b38f0781c4228e95b5fba80e120f38a6b98 | 472 | cpp | C++ | cxx-idioms/map_keys_to_vector.cpp | lsix/talks | e8c0d68b87bfd5d587fe7b82d7fa1fde82f27ded | [
"MIT"
] | 8 | 2015-01-28T09:40:45.000Z | 2019-02-27T16:54:28.000Z | cxx-idioms/map_keys_to_vector.cpp | lsix/talks | e8c0d68b87bfd5d587fe7b82d7fa1fde82f27ded | [
"MIT"
] | 2 | 2015-05-02T10:35:19.000Z | 2019-06-14T15:56:00.000Z | cxx-idioms/map_keys_to_vector.cpp | lsix/talks | e8c0d68b87bfd5d587fe7b82d7fa1fde82f27ded | [
"MIT"
] | 6 | 2015-04-21T21:26:02.000Z | 2019-06-13T20:46:01.000Z | #include<iostream>
#include<map>
#include<vector>
#include<algorithm>
int main() {
std::map<int, float> const map{{0,1.},{1,3.}, {2, 9.}};
std::vector<int> keys;
keys.reserve(map.size());
// {{{
std::transform(map.begin(), map.end(),
std::back_inserter(keys),
[](auto&& kv) ... | 22.47619 | 72 | 0.514831 | [
"vector",
"transform"
] |
32ed367198ce0a654be2f25a07d54ca7e51a0a2c | 731 | hpp | C++ | simulation/extern_include/MatlabCppSharedLib/matlab_application.hpp | seanny1986/gym-aero | bb8e7f299ca83029c300fa85e423be90fc9c11e1 | [
"MIT"
] | 5 | 2018-11-21T11:52:49.000Z | 2021-04-14T03:13:31.000Z | simulation/extern_include/MatlabCppSharedLib/matlab_application.hpp | seanny1986/gym-aero | bb8e7f299ca83029c300fa85e423be90fc9c11e1 | [
"MIT"
] | 3 | 2018-08-24T03:12:36.000Z | 2019-09-29T06:21:32.000Z | simulation/extern_include/MatlabCppSharedLib/matlab_application.hpp | seanny1986/gym-aero | bb8e7f299ca83029c300fa85e423be90fc9c11e1 | [
"MIT"
] | 4 | 2018-08-10T07:02:30.000Z | 2022-03-09T07:20:16.000Z | /* Copyright 2017 The MathWorks, Inc. */
#ifndef MATLAB_APPLICATION_HPP
#define MATLAB_APPLICATION_HPP
#include "cppsharedlib_factory.hpp"
namespace matlab {
namespace cpplib {
class MATLABApplication {
public:
~MATLABApplication();
private:
MATLABApplication(cons... | 27.074074 | 108 | 0.653899 | [
"vector"
] |
32f8c9f9aaa0f27336195008f810e68224023a53 | 9,038 | cpp | C++ | postgres/src/v20170312/model/CreateReadOnlyGroupRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | postgres/src/v20170312/model/CreateReadOnlyGroupRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | postgres/src/v20170312/model/CreateReadOnlyGroupRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 27.809231 | 104 | 0.742974 | [
"vector",
"model"
] |
32fd90e688bf808aae9d41cce09009cf9a6304c5 | 1,857 | hpp | C++ | engine/src/engine/gui/Statusbar.hpp | CaptureTheBanana/CaptureTheBanana | 1398bedc80608e502c87b880c5b57d272236f229 | [
"MIT"
] | 1 | 2018-08-14T05:45:29.000Z | 2018-08-14T05:45:29.000Z | engine/src/engine/gui/Statusbar.hpp | CaptureTheBanana/CaptureTheBanana | 1398bedc80608e502c87b880c5b57d272236f229 | [
"MIT"
] | null | null | null | engine/src/engine/gui/Statusbar.hpp | CaptureTheBanana/CaptureTheBanana | 1398bedc80608e502c87b880c5b57d272236f229 | [
"MIT"
] | null | null | null | // This file is part of CaptureTheBanana++.
//
// Copyright (c) 2018 the CaptureTheBanana++ contributors (see CONTRIBUTORS.md)
// This file is licensed under the MIT license; see LICENSE file in the root of this
// project for details.
#ifndef ENGINE_GUI_STATUSBAR_HPP
#define ENGINE_GUI_STATUSBAR_HPP
#include <map>
#... | 24.116883 | 84 | 0.698977 | [
"render",
"vector"
] |
fd041fd60332d1aae29f2fbb3495fe3af56693d4 | 318 | cpp | C++ | STL/algorithm/transform5.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | 5 | 2019-09-17T09:12:15.000Z | 2021-05-29T10:54:39.000Z | STL/algorithm/transform5.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | null | null | null | STL/algorithm/transform5.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | 2 | 2021-07-26T06:36:12.000Z | 2022-01-23T15:20:30.000Z | // transform.cpp -- use function fo algorithm
#include"iostream"
#include"algorithm"
#include"cctype"
#include"string"
int main(int argc, char *argv[])
{
using namespace std;
string s("hello world");
cout<<s<<endl;
transform(s.begin(), s.end(), s.begin(), toupper);
cout<<s<<endl;
return 0;
} | 19.875 | 54 | 0.641509 | [
"transform"
] |
fd07568fc52e69b812f135ff15aa6ee6ba566f1a | 2,461 | cc | C++ | components/service/ucloud/ivision/src/model/SearchFaceRequest.cc | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | components/service/ucloud/ivision/src/model/SearchFaceRequest.cc | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | components/service/ucloud/ivision/src/model/SearchFaceRequest.cc | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 23 | 77 | 0.73913 | [
"model"
] |
fd07585f49889788c9fa6937e0f3aba663da95fa | 28,604 | cpp | C++ | framework_c++/jugimap/jmTimelineAnimationInstance.cpp | Jugilus/jugimapAPI | 93fba7827b16169f858f7bd88c87236c5cf27183 | [
"MIT"
] | 8 | 2020-11-23T23:34:39.000Z | 2022-02-23T12:14:02.000Z | framework_c++/jugimap/jmTimelineAnimationInstance.cpp | Jugilus/jugimapAPI | 93fba7827b16169f858f7bd88c87236c5cf27183 | [
"MIT"
] | null | null | null | framework_c++/jugimap/jmTimelineAnimationInstance.cpp | Jugilus/jugimapAPI | 93fba7827b16169f858f7bd88c87236c5cf27183 | [
"MIT"
] | 3 | 2019-12-19T13:44:43.000Z | 2020-05-15T01:02:10.000Z | #include "jmSourceGraphics.h"
#include "jmLayers.h"
#include "jmSprites.h"
#include "jmVectorShapes.h"
#include "jmFrameAnimation.h"
#include "jmUtilities.h"
#include "jmTimelineAnimationInstance.h"
namespace jugimap{
AnimationTrackState::AnimationTrackState(AnimationTrack* _animation, AnimationMemberState *_tAn... | 27.241905 | 143 | 0.633897 | [
"vector"
] |
fd07c1505e19665d752596909767fb3d9b73efe9 | 12,855 | cpp | C++ | SRC/system_of_eqn/linearSOE/sparseGEN/PFEMSolver_LumpM.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | 8 | 2019-03-05T16:25:10.000Z | 2020-04-17T14:12:03.000Z | SRC/system_of_eqn/linearSOE/sparseGEN/PFEMSolver_LumpM.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | null | null | null | SRC/system_of_eqn/linearSOE/sparseGEN/PFEMSolver_LumpM.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | 3 | 2019-09-21T03:11:11.000Z | 2020-01-19T07:29:37.000Z | /* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... | 25.205882 | 87 | 0.511319 | [
"vector"
] |
fd084bfcec3c8cba4fad35dc92bf8f202be86b68 | 9,158 | hpp | C++ | include/mbedTLScpp/TlsConfig.hpp | zhenghaven/mbedTLScpp | 9921ce81d5ee0102fc3f4a8ee3a6b7e80d0f1cd3 | [
"MIT"
] | null | null | null | include/mbedTLScpp/TlsConfig.hpp | zhenghaven/mbedTLScpp | 9921ce81d5ee0102fc3f4a8ee3a6b7e80d0f1cd3 | [
"MIT"
] | null | null | null | include/mbedTLScpp/TlsConfig.hpp | zhenghaven/mbedTLScpp | 9921ce81d5ee0102fc3f4a8ee3a6b7e80d0f1cd3 | [
"MIT"
] | null | null | null | #pragma once
#include "ObjectBase.hpp"
#include <mbedtls/ssl.h>
#include "Common.hpp"
#include "Exceptions.hpp"
#include "DefaultRbg.hpp"
#include "X509Cert.hpp"
#include "X509Crl.hpp"
#include "TlsSessTktMgrIntf.hpp"
#include "PKey.hpp"
#ifndef MBEDTLSCPP_CUSTOMIZED_NAMESPACE
namespace mbedTLScpp
#else
namespace M... | 29.733766 | 112 | 0.661607 | [
"object"
] |
fd0a2a0fb3af415eec85154007e3e33f4018ba07 | 2,711 | cpp | C++ | Source/SystemQOR/MSWindows/WinQAPI/src/User32/WinQAuthorization.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 9 | 2016-05-27T01:00:39.000Z | 2021-04-01T08:54:46.000Z | Source/SystemQOR/MSWindows/WinQAPI/src/User32/WinQAuthorization.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 1 | 2016-03-03T22:54:08.000Z | 2016-03-03T22:54:08.000Z | Source/SystemQOR/MSWindows/WinQAPI/src/User32/WinQAuthorization.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 4 | 2016-05-27T01:00:43.000Z | 2018-08-19T08:47:49.000Z | //WinQAuthorization.cpp
// Copyright Querysoft Limited 2013
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") to use, reproduce, display, distribute,
// execute, and transmit t... | 47.561404 | 154 | 0.703062 | [
"object"
] |
fd12770b8dfe59fcd124d55881e7d2be6c09090f | 166,821 | cpp | C++ | src/gap_util.cpp | fishlist/linear | e7a19ea372b70e40d636ddec8150ee482e297169 | [
"BSD-3-Clause"
] | null | null | null | src/gap_util.cpp | fishlist/linear | e7a19ea372b70e40d636ddec8150ee482e297169 | [
"BSD-3-Clause"
] | null | null | null | src/gap_util.cpp | fishlist/linear | e7a19ea372b70e40d636ddec8150ee482e297169 | [
"BSD-3-Clause"
] | null | null | null | #include <utility>
#include <seqan/align.h>
#include "base.h"
#include "shape_extend.h"
#include "cords.h"
#include "gap_util.h"
/*=============================================
= Global Variables =
=============================================*/
int editDist(String<Dna5> & seq1, String<Dna5... | 36.736622 | 219 | 0.550998 | [
"shape"
] |
fd1b636c1a817e19f50b4ab4ebea1c2a54b30225 | 3,185 | cc | C++ | src/simplesat/cnf/cnf_or_op_test.cc | evmaus/ClusterSAT | d26ff539fe9789611e9ecd8ef5c14a19e150105b | [
"Apache-2.0"
] | null | null | null | src/simplesat/cnf/cnf_or_op_test.cc | evmaus/ClusterSAT | d26ff539fe9789611e9ecd8ef5c14a19e150105b | [
"Apache-2.0"
] | null | null | null | src/simplesat/cnf/cnf_or_op_test.cc | evmaus/ClusterSAT | d26ff539fe9789611e9ecd8ef5c14a19e150105b | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Google 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 law or agreed to in ... | 29.490741 | 75 | 0.740345 | [
"vector"
] |
fd1d76c6f47a166a566f3a9b00e2f8901785394f | 945 | cpp | C++ | problemsets/UVA/UVA256.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/UVA256.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/UVA256.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
int K;
while (scanf("%d", &K) != EOF) {
vector<int> ret;
in... | 26.25 | 82 | 0.45291 | [
"vector"
] |
fd29eb5d3f72293420eda3b2f99c7a1e6dd79a9a | 4,324 | cpp | C++ | ExploringScaleSymmetry/Chapter7/ch7_figure4.cpp | TGlad/ExploringScaleSymmetry | 25b2dae0279a0ac26f6bae2277d3b76a1cda8b04 | [
"MIT"
] | null | null | null | ExploringScaleSymmetry/Chapter7/ch7_figure4.cpp | TGlad/ExploringScaleSymmetry | 25b2dae0279a0ac26f6bae2277d3b76a1cda8b04 | [
"MIT"
] | null | null | null | ExploringScaleSymmetry/Chapter7/ch7_figure4.cpp | TGlad/ExploringScaleSymmetry | 25b2dae0279a0ac26f6bae2277d3b76a1cda8b04 | [
"MIT"
] | null | null | null | // Thomas Lowe, 2020.
// Generates image of scale-symmetric ocean water. It is a first order approximation of water with low amplitude and depth.
#include "stdafx.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "imagewrite.h"
#include <set>
static double seaHeight = -0.1;
static Vector3d seaBase = Vector3d(0.1, 0.2... | 31.562044 | 141 | 0.616096 | [
"vector"
] |
fd2ba22309ff66d5ffd2b6d1348d114c5dd8a0cf | 4,616 | cpp | C++ | Plugins/RPRPlugin/Source/RPRTools/Private/Helpers/RPRLightHelpers.cpp | hi-ro-no/RadeonProRenderUE | dcbf2b6df80b104c6cd2994e047f5d2fef98f493 | [
"Apache-2.0"
] | 15 | 2020-05-13T17:23:40.000Z | 2022-01-08T04:19:42.000Z | Plugins/RPRPlugin/Source/RPRTools/Private/Helpers/RPRLightHelpers.cpp | hi-ro-no/RadeonProRenderUE | dcbf2b6df80b104c6cd2994e047f5d2fef98f493 | [
"Apache-2.0"
] | 12 | 2020-05-17T08:06:45.000Z | 2021-12-20T18:07:59.000Z | Plugins/RPRPlugin/Source/RPRTools/Private/Helpers/RPRLightHelpers.cpp | hi-ro-no/RadeonProRenderUE | dcbf2b6df80b104c6cd2994e047f5d2fef98f493 | [
"Apache-2.0"
] | 7 | 2020-05-15T16:07:44.000Z | 2021-07-14T08:38:54.000Z | /*************************************************************************
* Copyright 2020 Advanced Micro Devices
*
* 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/l... | 27.47619 | 104 | 0.685659 | [
"transform"
] |
fd365828b71382eb31c59822121b4ccd7941e523 | 1,793 | hpp | C++ | etl/_type_traits/aligned_union.hpp | tobanteEmbedded/tetl | fc3272170843bcab47971191bcd269a86c5b5101 | [
"BSL-1.0"
] | 4 | 2021-11-28T08:48:11.000Z | 2021-12-14T09:53:51.000Z | etl/_type_traits/aligned_union.hpp | tobanteEmbedded/tetl | fc3272170843bcab47971191bcd269a86c5b5101 | [
"BSL-1.0"
] | null | null | null | etl/_type_traits/aligned_union.hpp | tobanteEmbedded/tetl | fc3272170843bcab47971191bcd269a86c5b5101 | [
"BSL-1.0"
] | null | null | null | /// \copyright Tobias Hienzsch 2019-2021
/// Distributed under the Boost Software License, Version 1.0.
/// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
#ifndef TETL_TYPE_TRAITS_ALIGNED_UNION_HPP
#define TETL_TYPE_TRAITS_ALIGNED_UNION_HPP
#include "etl/_cstddef/size_t.hpp"
namespace etl ... | 35.86 | 83 | 0.732292 | [
"object"
] |
fd378e214f14d724454167bcf11cb5ceeb01ef41 | 1,355 | cpp | C++ | 469_identical-binary-tree/identical-binary-tree.cpp | piguin/lintcode | 382e0880f82480eb8153041e78c297dbaeb4b9ea | [
"CC0-1.0"
] | null | null | null | 469_identical-binary-tree/identical-binary-tree.cpp | piguin/lintcode | 382e0880f82480eb8153041e78c297dbaeb4b9ea | [
"CC0-1.0"
] | null | null | null | 469_identical-binary-tree/identical-binary-tree.cpp | piguin/lintcode | 382e0880f82480eb8153041e78c297dbaeb4b9ea | [
"CC0-1.0"
] | null | null | null | /*
@Copyright:LintCode
@Author: qili
@Problem: http://www.lintcode.com/problem/identical-binary-tree
@Language: C++
@Datetime: 16-07-30 03:58
*/
/**
* Definition of TreeNode:
* class TreeNode {
* public:
* int val;
* TreeNode *left, *right;
* TreeNode(int val) {
* this->val = val;
... | 24.636364 | 64 | 0.42952 | [
"vector"
] |
fd3d21312576830e98929d501c411935f637df0b | 1,378 | cpp | C++ | Pyre/src/Pyre/Core/Log.cpp | wexaris/pyre | 9f4c1e64a2eeffd11f09ba9396d44c8b7e70f2b4 | [
"Apache-2.0"
] | null | null | null | Pyre/src/Pyre/Core/Log.cpp | wexaris/pyre | 9f4c1e64a2eeffd11f09ba9396d44c8b7e70f2b4 | [
"Apache-2.0"
] | null | null | null | Pyre/src/Pyre/Core/Log.cpp | wexaris/pyre | 9f4c1e64a2eeffd11f09ba9396d44c8b7e70f2b4 | [
"Apache-2.0"
] | null | null | null | #include "pyrepch.hpp"
#include "Pyre/Core/Log.hpp"
#include "Pyre/ImGui/ImGuiConsole.hpp"
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/sinks/basic_file_sink.h>
namespace Pyre {
Ref<spdlog::logger> Log::s_CoreLogger;
Ref<spdlog::logger> Log::s_ClientLogger;
void Log::Init(const std::str... | 38.277778 | 101 | 0.650218 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.