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
492e948dcd8f9afa0742293e93cb7da6703d8590
819,093
cpp
C++
umd/core/src/compiler/caffe/ditcaffe/protobuf-lite-2.6.1/ditcaffe.opt-for-lite.pb.cpp
sld-columbia/nvdla-sw
79538ba1b52b040a4a4645f630e457fa01839e90
[ "Apache-2.0" ]
407
2017-10-25T14:24:25.000Z
2022-03-31T08:02:01.000Z
umd/core/src/compiler/caffe/ditcaffe/protobuf-lite-2.6.1/ditcaffe.opt-for-lite.pb.cpp
sld-columbia/nvdla-sw
79538ba1b52b040a4a4645f630e457fa01839e90
[ "Apache-2.0" ]
227
2017-11-02T07:15:38.000Z
2022-01-19T02:29:51.000Z
umd/core/src/compiler/caffe/ditcaffe/protobuf-lite-2.6.1/ditcaffe.opt-for-lite.pb.cpp
sld-columbia/nvdla-sw
79538ba1b52b040a4a4645f630e457fa01839e90
[ "Apache-2.0" ]
199
2017-10-26T07:26:40.000Z
2022-03-27T20:02:13.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ditcaffe.opt-for-lite.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "ditcaffe.opt-for-lite.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/protobu...
31.816851
144
0.652044
[ "shape" ]
49304cb8e3e099e0f549e097e3d07db2829e29d5
943
cpp
C++
openmp/hands-on/ex7-task-palindrome.cpp
jpmallarino/hpcsummer2021
a91e6998333a9176decc8d91696899a21945fb63
[ "Apache-2.0" ]
4
2021-07-12T21:58:06.000Z
2021-07-15T17:53:18.000Z
openmp/hands-on/ex7-task-palindrome.cpp
jpmallarino/hpcsummer2021
a91e6998333a9176decc8d91696899a21945fb63
[ "Apache-2.0" ]
null
null
null
openmp/hands-on/ex7-task-palindrome.cpp
jpmallarino/hpcsummer2021
a91e6998333a9176decc8d91696899a21945fb63
[ "Apache-2.0" ]
1
2021-07-15T14:08:15.000Z
2021-07-15T14:08:15.000Z
#include <iostream> #include <fstream> #include <cmath> #include <complex> #include <random> #include <vector> #include <array> // This is interesting... #include <algorithm> #include <unistd.h> #define INFO_BUFFER_SIZE 1024 #include "defs.h" using namespace std; /* Compile: g++ -std=c++11 -Wall -Wextra ex7-task-pa...
18.490196
89
0.560976
[ "vector" ]
4930c4a0512e772dee3d06d9313e0b05cd71ef8f
8,786
cpp
C++
lib/Dialect/FIRRTL/Transforms/InjectDUTHierarchy.cpp
ziha0wei/circt
90ae0886aa06020d9f370118bb69dc1d3afbddcb
[ "Apache-2.0" ]
null
null
null
lib/Dialect/FIRRTL/Transforms/InjectDUTHierarchy.cpp
ziha0wei/circt
90ae0886aa06020d9f370118bb69dc1d3afbddcb
[ "Apache-2.0" ]
null
null
null
lib/Dialect/FIRRTL/Transforms/InjectDUTHierarchy.cpp
ziha0wei/circt
90ae0886aa06020d9f370118bb69dc1d3afbddcb
[ "Apache-2.0" ]
null
null
null
//===- InjectDUTHierarchy.cpp - Add hierarchy above the DUT ---------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
38.366812
80
0.638061
[ "transform" ]
494c810eb68ec74daca320218bc65b41849fc2dc
2,424
hpp
C++
src/sensors.hpp
NobodyXu/swaystatus
18d131631ac25a92a78630e033e89d751ebe3306
[ "MIT" ]
18
2021-02-16T09:06:42.000Z
2021-12-09T19:08:02.000Z
src/sensors.hpp
NobodyXu/swaystatus
18d131631ac25a92a78630e033e89d751ebe3306
[ "MIT" ]
18
2021-02-23T06:46:22.000Z
2021-07-26T06:10:13.000Z
src/sensors.hpp
NobodyXu/swaystatus
18d131631ac25a92a78630e033e89d751ebe3306
[ "MIT" ]
1
2021-07-27T03:14:48.000Z
2021-07-27T03:14:48.000Z
#ifndef __swaystatus_sensors_HPP__ # define __swaystatus_sensors_HPP__ # include "formatting/fmt_config.hpp" # include <cstdint> # include <limits> # include <string> # include <string_view> # include <array> # include <vector> # include "formatting/fmt/include/fmt/format.h" namespace swaystatus { struct sensor_bu...
23.764706
94
0.688119
[ "vector" ]
4950824e3b9f3337156f4d897cc39bd952b63b69
1,551
cpp
C++
Foundation/Source/Foundation/Objects/Object.cpp
TrashCoder94/Foundation
431e4b2b6d01fea570942dc40c93a3a08d23890f
[ "Apache-2.0" ]
null
null
null
Foundation/Source/Foundation/Objects/Object.cpp
TrashCoder94/Foundation
431e4b2b6d01fea570942dc40c93a3a08d23890f
[ "Apache-2.0" ]
null
null
null
Foundation/Source/Foundation/Objects/Object.cpp
TrashCoder94/Foundation
431e4b2b6d01fea570942dc40c93a3a08d23890f
[ "Apache-2.0" ]
null
null
null
#include "fdpch.h" #include "Object.h" #include "Foundation/Components/IDComponent.h" #include "Foundation/Scene/Scene.h" namespace Foundation { Object::Object() : Object(nullptr) {} Object::Object(Scene* pScene) : BaseObject(), m_testFloat(10.0f), m_pComponents(), m_testInt(30) {} Object::~Object() { ...
15.826531
69
0.653772
[ "object" ]
4951603ff6082979c6b13f960898d0358c82dd5b
15,744
cpp
C++
macgw-config-json.cpp
commandus/lorawan-network-server
abc57bb454324262bfe6ea3522d3fbaf805321c0
[ "MIT" ]
2
2021-07-22T03:38:49.000Z
2021-10-13T05:13:35.000Z
macgw-config-json.cpp
commandus/lorawan-network-server
abc57bb454324262bfe6ea3522d3fbaf805321c0
[ "MIT" ]
null
null
null
macgw-config-json.cpp
commandus/lorawan-network-server
abc57bb454324262bfe6ea3522d3fbaf805321c0
[ "MIT" ]
null
null
null
#include <inttypes.h> #include <iostream> #include <iomanip> #include "macgw-config-json.h" #include "utilstring.h" #include "errlist.h" typedef struct { uint32_t minvalue; uint32_t maxvalue; std::string name; } COMMAND_PARAM_CHOICE; typedef struct { std::string name; uint8_t count; const COMMAND_PARAM_CHOICE...
28.677596
130
0.691374
[ "vector" ]
49541b4197010c9b6157cd53925ac1abafe9f1a3
8,251
cc
C++
TreeProduction/plugins/TreeProduction.cc
tuos/DirectLoopAnalysis
6f5f02538454d2240d0232665b9b17d07eb79854
[ "MIT" ]
null
null
null
TreeProduction/plugins/TreeProduction.cc
tuos/DirectLoopAnalysis
6f5f02538454d2240d0232665b9b17d07eb79854
[ "MIT" ]
null
null
null
TreeProduction/plugins/TreeProduction.cc
tuos/DirectLoopAnalysis
6f5f02538454d2240d0232665b9b17d07eb79854
[ "MIT" ]
null
null
null
// -*- C++ -*- // // Package: PythiaCumulant/TreeProduction // Class: TreeProduction // /**\class TreeProduction TreeProduction.cc PythiaCumulant/TreeProduction/plugins/TreeProduction.cc Description: [one line class summary] Implementation: [Notes on implementation] */ // // Original Author: Shengqua...
28.84965
156
0.661011
[ "vector" ]
495ed59c088e8729b38bffd0522a0f5c7f89e611
1,052
cpp
C++
src/openboardview/UI/Keyboard/KeyBinding.cpp
Apteryks/OpenBoardView
6d01c2edf235c0bcf160fbf53a7ca555385b5070
[ "MIT" ]
null
null
null
src/openboardview/UI/Keyboard/KeyBinding.cpp
Apteryks/OpenBoardView
6d01c2edf235c0bcf160fbf53a7ca555385b5070
[ "MIT" ]
null
null
null
src/openboardview/UI/Keyboard/KeyBinding.cpp
Apteryks/OpenBoardView
6d01c2edf235c0bcf160fbf53a7ca555385b5070
[ "MIT" ]
1
2022-03-24T16:41:15.000Z
2022-03-24T16:41:15.000Z
#include "KeyBinding.h" #include <algorithm> #include <iostream> #include "imgui/imgui.h" KeyBinding::KeyBinding() { } KeyBinding::KeyBinding(const ImGuiKey key) : KeyBinding(key, {}) { } KeyBinding::KeyBinding(const ImGuiKey key, std::vector<ImGuiKey> modifiers) : key(key), modifiers(modifiers) { } bool KeyBindi...
26.3
216
0.703422
[ "vector" ]
496346725a4002534edbd4b254705f1e066b3f5a
1,240
cpp
C++
leetcode/cpp-version/15.cpp
tlming16/Projec_Euler
797824c5159fae67493de9eba24c22cc7512d95d
[ "MIT" ]
4
2018-11-14T12:03:05.000Z
2019-09-03T14:33:28.000Z
leetcode/cpp-version/15.cpp
tlming16/Projec_Euler
797824c5159fae67493de9eba24c22cc7512d95d
[ "MIT" ]
null
null
null
leetcode/cpp-version/15.cpp
tlming16/Projec_Euler
797824c5159fae67493de9eba24c22cc7512d95d
[ "MIT" ]
1
2018-11-17T14:39:22.000Z
2018-11-17T14:39:22.000Z
/* * author:tlming16 * email:tlming16@fudan.edu.cn * all wrong reserved */ class Solution { public: vector<vector<int>> threeSum(vector<int>& nums) { const int n = nums.size(); vector<vector<int>> res; if (nums.size() < 3) {return res;} sort(nums.begin(), nums.end()); for...
35.428571
85
0.408871
[ "vector" ]
4969a61cca02d4529a8a1be26fda5f9748cbd830
2,552
cpp
C++
Project/main.cpp
BountyVSGames/IPASS_2020
2b6122be47bc86be5b2c86534e5a65d4706538e5
[ "BSL-1.0" ]
null
null
null
Project/main.cpp
BountyVSGames/IPASS_2020
2b6122be47bc86be5b2c86534e5a65d4706538e5
[ "BSL-1.0" ]
null
null
null
Project/main.cpp
BountyVSGames/IPASS_2020
2b6122be47bc86be5b2c86534e5a65d4706538e5
[ "BSL-1.0" ]
null
null
null
// Copyright Boudewijn Witteveen 2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) #include "hwlib.hpp" #include "library/matrix.hpp" #include "library/matrix_pins_rgb.hpp" #include "e...
27.44086
95
0.699843
[ "object", "vector" ]
496d2fa2c0dce6a42a8a139c984cfb7585e74d06
9,173
cpp
C++
engine/math/Matrix4x4.cpp
AeonGames/AeonEngine
7676645db22d86f4f9008005038f674bd780641d
[ "Apache-2.0" ]
17
2016-09-25T07:11:34.000Z
2021-09-13T07:05:59.000Z
engine/math/Matrix4x4.cpp
AeonGames/AeonEngine
7676645db22d86f4f9008005038f674bd780641d
[ "Apache-2.0" ]
8
2019-01-25T23:39:56.000Z
2019-04-10T17:23:04.000Z
engine/math/Matrix4x4.cpp
AeonGames/AeonEngine
7676645db22d86f4f9008005038f674bd780641d
[ "Apache-2.0" ]
4
2018-06-13T09:44:42.000Z
2021-03-18T12:27:07.000Z
/* Copyright (C) 2014-2019 Rodrigo Jose Hernandez Cordoba 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 ...
37.137652
138
0.527308
[ "object", "transform" ]
49755344fcf67991b7543a3067f2af2f8298e327
387
hpp
C++
core/features/skinchanger/parser.hpp
7-6-6/niggahack
1f4f42a9fd1c89126c7d865f70eaa336ab1f6135
[ "MIT" ]
50
2019-06-12T19:22:28.000Z
2022-03-07T20:40:16.000Z
core/features/skinchanger/parser.hpp
ChoZenTime/aristois-legit
b1224baadd957f2927c2c8427a66c3e1b3993c3e
[ "MIT" ]
13
2019-06-17T15:21:28.000Z
2021-03-21T19:09:43.000Z
core/features/skinchanger/parser.hpp
ChoZenTime/aristois-legit
b1224baadd957f2927c2c8427a66c3e1b3993c3e
[ "MIT" ]
26
2019-06-16T19:33:12.000Z
2022-02-02T10:48:44.000Z
#pragma once #include "../../../dependencies/common_includes.hpp" #include <vector> struct paint_kit { int id; std::string name; bool operator < (const paint_kit& other) { return name < other.name; } }; class c_kit_parser { public: void setup() noexcept; }; extern std::vector<paint_kit> parser_skins; extern st...
20.368421
52
0.73385
[ "vector" ]
21a4891ce4de9bafde51c1a225c072ba88842503
34,467
cpp
C++
aadcUser/frAIburg_RoadSignFilter/roadsign_filter.cpp
PhilJd/frAIburg
7585999953486bceb945f1eb7a96cbe94ea72186
[ "BSD-3-Clause" ]
10
2017-11-21T09:34:36.000Z
2021-07-06T21:15:28.000Z
aadcUser/frAIburg_RoadSignFilter/roadsign_filter.cpp
PhilJd/frAIburg
7585999953486bceb945f1eb7a96cbe94ea72186
[ "BSD-3-Clause" ]
null
null
null
aadcUser/frAIburg_RoadSignFilter/roadsign_filter.cpp
PhilJd/frAIburg
7585999953486bceb945f1eb7a96cbe94ea72186
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************** Copyright (c) 2017, team frAIburg Licensed under BSD-3. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistribution...
43.191729
81
0.645168
[ "vector" ]
21a50221250d269dc3ec58958f62b5dd4b690ddd
1,922
cpp
C++
test/testUtil/testText/testJsonReflect/testReflect.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
27
2019-04-27T00:51:22.000Z
2022-03-30T04:05:44.000Z
test/testUtil/testText/testJsonReflect/testReflect.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
9
2020-05-03T12:17:50.000Z
2021-10-15T02:18:47.000Z
test/testUtil/testText/testJsonReflect/testReflect.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
1
2019-04-16T01:45:36.000Z
2019-04-16T01:45:36.000Z
#include <stdio.h> #include <unistd.h> #include <iostream> #include <functional> #include "Thread.hpp" #include "Runnable.hpp" #include "BlockingQueue.hpp" #include "Integer.hpp" #include "String.hpp" #include "ArrayList.hpp" #include "Reflect.hpp" #include "Integer.hpp" #include "JsonReader.hpp" #include <vector> us...
25.626667
90
0.644641
[ "vector" ]
21abe8a02f16630abf6809f2b22290818d541240
5,815
hpp
C++
include/codegen/include/GlobalNamespace/MainSettingsModelSO_Config.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/MainSettingsModelSO_Config.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/MainSettingsModelSO_Config.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: MainSettingsModelSO #include "GlobalNamespace/MainSetti...
35.674847
104
0.729665
[ "object" ]
21b430b4d3bd26560028d519e2d605af947d3f92
1,769
cpp
C++
0787-Cheapest Flights Within K Stops/0787-Cheapest Flights Within K Stops.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
null
null
null
0787-Cheapest Flights Within K Stops/0787-Cheapest Flights Within K Stops.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
null
null
null
0787-Cheapest Flights Within K Stops/0787-Cheapest Flights Within K Stops.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
1
2019-11-20T08:01:10.000Z
2019-11-20T08:01:10.000Z
class Solution { public: int findCheapestPrice(int n, vector<vector<int>>& flights, int src, int dst, int K) { if (src == dst) return 0; vector<int> dist(n, INT_MAX / 2); vector<int> prev(n, INT_MAX / 2); dist[src] = 0; prev[src] = 0; for (int k = 0; k <= K; ...
29
89
0.435839
[ "vector" ]
21b69dc6eb3f62a4d732534924e77686c474ac74
9,602
cpp
C++
2019/0712/f.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
2019/0712/f.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
2019/0712/f.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; namespace fastIO{ #define BUF_SIZE 100000 #define OUT_SIZE 100000 #define ll long long //fread->read bool IOerror=0; inline char nc(){ static char buf[BUF_SIZE],*p1=buf+BUF_SIZE,*pend=buf+BUF_SIZE; if (p1==pend){ p1=buf; p...
28.834835
95
0.476672
[ "vector" ]
21c12c917893d2c2d9e21e0efceeebd6897c86ad
974
cpp
C++
source/29.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
2
2017-02-28T11:39:13.000Z
2019-12-07T17:23:20.000Z
source/29.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
source/29.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
// // 29.cpp // LeetCode // // Created by Narikbi on 08.05.17. // Copyright © 2017 app.leetcode.kz. All rights reserved. // #include <stdio.h> #include <iostream> #include <vector> #include <string> #include <algorithm> #include <deque> #include <queue> #include <set> #include <map> #include <stack> #include <cmat...
19.098039
75
0.555441
[ "vector" ]
21c2e2498b175fd61851d8b250d9689938b8942d
3,494
cpp
C++
September_2020_challange/Day 5.cpp
jv640/LeetCode
af07ebf2f4cc5f28a61f78d952febe10782b0e93
[ "MIT" ]
null
null
null
September_2020_challange/Day 5.cpp
jv640/LeetCode
af07ebf2f4cc5f28a61f78d952febe10782b0e93
[ "MIT" ]
null
null
null
September_2020_challange/Day 5.cpp
jv640/LeetCode
af07ebf2f4cc5f28a61f78d952febe10782b0e93
[ "MIT" ]
null
null
null
/* Problem Name : All Elements in Two Binary Search Trees Description : Given two binary search trees root1 and root2. Return a list containing all the integers from both trees sorted in ascending order. Example 1: Input: root1 = [2,1,4], root2 = [1,0,3] Output: [0,1,1,2,3,4] Exa...
36.395833
182
0.418145
[ "vector" ]
21c60688399b39b18bba42d2cba86c5ca4609051
3,766
cpp
C++
Source/YABS/ExecuteFull.cpp
AdrianCollado/YABS
7fb8e319dfd7fa931864f221ff883930b2078588
[ "MIT" ]
null
null
null
Source/YABS/ExecuteFull.cpp
AdrianCollado/YABS
7fb8e319dfd7fa931864f221ff883930b2078588
[ "MIT" ]
null
null
null
Source/YABS/ExecuteFull.cpp
AdrianCollado/YABS
7fb8e319dfd7fa931864f221ff883930b2078588
[ "MIT" ]
null
null
null
#include "../YABS.hpp" #include "../Util.hpp" #include <iostream> bool YABS::Execute(const Target &target, const Project &project, const std::vector<Configuration> &configurations, const std::vector<Platform> &platforms, const std::vector...
38.040404
135
0.465746
[ "vector" ]
21c6b8d0a5c7b84f166092b7119c058fc359d149
4,229
cpp
C++
src/Main/Game.cpp
Maetveis/SPHWaterPhysics
1c6432af0ae19a3e7956fe3ab4015bb9bfdeaec7
[ "MIT" ]
3
2020-06-18T08:15:57.000Z
2021-12-17T10:45:27.000Z
src/Main/Game.cpp
Maetveis/SPHWaterPhysics
1c6432af0ae19a3e7956fe3ab4015bb9bfdeaec7
[ "MIT" ]
null
null
null
src/Main/Game.cpp
Maetveis/SPHWaterPhysics
1c6432af0ae19a3e7956fe3ab4015bb9bfdeaec7
[ "MIT" ]
null
null
null
#include "Game.h" #include "../Scene/InGameScene.h" #include "../Scene/SPHWaterScene.hpp" #include "../Log/Logger.h" #include "../Init/SDLInit.h" #include "../Model/WindowInfo.h" #include "../Helper/StaticCounter.hpp" #include <SDL2/SDL.h> #include <iostream> Game::Game() : running(true) { } void Game::Run() { ...
21.576531
84
0.704895
[ "render", "model" ]
21e042380358f709aff91e1ef9d9e8f9b01a49fa
17,695
cpp
C++
geode/geometry/SimplexTree.cpp
jjqcat/geode
157cc904c113cc5e29a1ffe7c091a83b8ec2cf8e
[ "BSD-3-Clause" ]
75
2015-02-08T22:04:31.000Z
2022-02-26T14:31:43.000Z
geode/geometry/SimplexTree.cpp
bantamtools/geode
d906f1230b14953b68af63aeec2f7b0418d5fdfd
[ "BSD-3-Clause" ]
15
2015-01-08T15:11:38.000Z
2021-09-05T13:27:22.000Z
geode/geometry/SimplexTree.cpp
bantamtools/geode
d906f1230b14953b68af63aeec2f7b0418d5fdfd
[ "BSD-3-Clause" ]
22
2015-03-11T16:43:13.000Z
2021-02-15T09:37:51.000Z
//##################################################################### // Class SimplexTree //##################################################################### #include <geode/geometry/SimplexTree.h> #include <geode/geometry/FastRay.h> #include <geode/geometry/Sphere.h> #include <geode/geometry/Segment.h> #include...
42.536058
231
0.707375
[ "mesh", "geometry", "vector" ]
21ea37501279c2e6e1e5330a6afc0693ba86f8dc
110,655
cpp
C++
third_party/skia_m63/third_party/externals/angle2/src/libANGLE/renderer/gl/FunctionsGL.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
4
2019-10-18T05:53:30.000Z
2021-08-21T07:36:37.000Z
third_party/skia_m63/third_party/externals/angle2/src/libANGLE/renderer/gl/FunctionsGL.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
third_party/skia_m63/third_party/externals/angle2/src/libANGLE/renderer/gl/FunctionsGL.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
4
2018-10-14T00:17:11.000Z
2020-07-01T04:01:25.000Z
// // Copyright (c) 2015 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // FunctionsGL.cpp: Implements the FuntionsGL class to contain loaded GL functions #include "libANGLE/renderer/gl/FunctionsGL.h" #include...
47.207765
133
0.729411
[ "vector" ]
21ed43f1b034e7e30d118a5cd77b57a2659bb1dd
1,415
cpp
C++
src/rendering/renderers/bounding_box_renderer.cpp
krait-games/hyperion-engine
5c52085658630fbf0992f794ecfcb25325b80b1c
[ "MIT" ]
21
2022-01-23T15:20:59.000Z
2022-03-31T22:10:14.000Z
src/rendering/renderers/bounding_box_renderer.cpp
krait-games/hyperion-engine
5c52085658630fbf0992f794ecfcb25325b80b1c
[ "MIT" ]
2
2022-01-30T22:24:58.000Z
2022-03-28T02:37:07.000Z
src/rendering/renderers/bounding_box_renderer.cpp
krait-games/hyperion-engine
5c52085658630fbf0992f794ecfcb25325b80b1c
[ "MIT" ]
2
2022-02-10T13:55:26.000Z
2022-03-31T22:10:16.000Z
#include "bounding_box_renderer.h" #include "../shaders/shader_code.h" namespace hyperion { const std::vector<MeshIndex> BoundingBoxRenderer::indices = { 0, 1, 1, 2, 2, 3, 3, 0, 0, 4, 4, 5, 5, 3, 5, 6, 6, 7, 4, 7, 7, 1, 6, 2 }; BoundingBoxRenderer::BoundingBoxRenderer() : BoundingBoxRenderer(m_aab...
21.769231
105
0.684806
[ "mesh", "render", "vector" ]
21f60c7791a472d8206ce550a1acfcc79d7ee0d1
2,090
cpp
C++
NetworkFlow/general_maxflow.cpp
9kalikali/Algorithm_Course
0853d2626a6d7544146b603c49f33b37ade5b0d2
[ "MIT" ]
12
2019-07-03T18:00:36.000Z
2021-11-06T07:26:32.000Z
NetworkFlow/general_maxflow.cpp
9kalikali/Algorithm_Course
0853d2626a6d7544146b603c49f33b37ade5b0d2
[ "MIT" ]
null
null
null
NetworkFlow/general_maxflow.cpp
9kalikali/Algorithm_Course
0853d2626a6d7544146b603c49f33b37ade5b0d2
[ "MIT" ]
4
2019-09-06T03:17:17.000Z
2021-10-04T09:36:25.000Z
#include <iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include <vector> #include <queue> using namespace std; const long maxn= 1200; const long INF= 2147483647; struct Edge{ long from,to,cap,flow; }; struct Dinic{ long n,m,s,t; vector<Edge>edges; vector<long>G[maxn]; bool vis[max...
23.75
69
0.42823
[ "vector" ]
21f68e4d28825159d744729eb05767725526b42d
4,432
hpp
C++
src/tests/elias-tests.hpp
DominikHorn/exotic-hashing
77ae8a696a6b18f1b6e600143666a1e90eed6b85
[ "MIT" ]
null
null
null
src/tests/elias-tests.hpp
DominikHorn/exotic-hashing
77ae8a696a6b18f1b6e600143666a1e90eed6b85
[ "MIT" ]
null
null
null
src/tests/elias-tests.hpp
DominikHorn/exotic-hashing
77ae8a696a6b18f1b6e600143666a1e90eed6b85
[ "MIT" ]
null
null
null
#pragma once #include <exotic_hashing.hpp> #include <gtest/gtest.h> /// Basic x = decode(encode(x)) test TEST(EliasCoding, GammaIdempotency) { using namespace exotic_hashing::support; std::vector<std::uint64_t> test_data{1, 2, 3, 4, 5, 8, 10, 16, ...
34.092308
112
0.550542
[ "vector" ]
21fafcc2c9d5e2af7a02f1374fe52bf84a3c6f5b
21,102
cpp
C++
client/drawingwindow.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
1
2015-08-23T11:03:58.000Z
2015-08-23T11:03:58.000Z
client/drawingwindow.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
null
null
null
client/drawingwindow.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
3
2016-12-05T02:43:52.000Z
2021-06-30T21:35:46.000Z
#include "drawingwindow.h" #include <QMenu> #include <QAction> #include <QKeyEvent> #include <QUndoStack> #include <QMessageBox> #include <QFileDialog> #include <QFileInfo> #include <QBuffer> #include <QByteArray> #include "peopleinfomanager.h" #include "editorscene.h" #include "toolbox.h" #include "...
26.476788
179
0.726566
[ "geometry" ]
21fdee479238a0c8ad09342bbe885019759d5422
3,281
cpp
C++
tests/cpp/unit/interface/test_attribute_value.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
tests/cpp/unit/interface/test_attribute_value.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
tests/cpp/unit/interface/test_attribute_value.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2021 Intel Corporation * * 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.o...
29.827273
80
0.649802
[ "vector" ]
21ff912e9c771dcc5f7e19b2e2cbafed61e8c10d
4,567
inl
C++
src/vendor/mariadb-10.6.7/storage/innobase/include/mtr0mtr.inl
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/innobase/include/mtr0mtr.inl
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/innobase/include/mtr0mtr.inl
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
/***************************************************************************** Copyright (c) 1995, 2014, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2017, 2022, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public L...
24.553763
79
0.681848
[ "object" ]
1d0164d666eb6daa5006465b412206fe57b96e9f
42,299
cc
C++
ion/gfx/tests/graphicsmanager_test.cc
mdemoret/Snapshot
987b3d45532f3644d35d858e036542d5691953ce
[ "Apache-2.0" ]
null
null
null
ion/gfx/tests/graphicsmanager_test.cc
mdemoret/Snapshot
987b3d45532f3644d35d858e036542d5691953ce
[ "Apache-2.0" ]
null
null
null
ion/gfx/tests/graphicsmanager_test.cc
mdemoret/Snapshot
987b3d45532f3644d35d858e036542d5691953ce
[ "Apache-2.0" ]
null
null
null
/** Copyright 2016 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...
44.572181
80
0.734438
[ "vector" ]
1d0cd48c73ac06e96d02ca719db026a1dbb585cc
1,684
cpp
C++
tests/test_container.cpp
vaefremov/otus_hw_03
898b719f6efeb9746e9521a3165606a55c5ea63c
[ "BSD-2-Clause" ]
null
null
null
tests/test_container.cpp
vaefremov/otus_hw_03
898b719f6efeb9746e9521a3165606a55c5ea63c
[ "BSD-2-Clause" ]
null
null
null
tests/test_container.cpp
vaefremov/otus_hw_03
898b719f6efeb9746e9521a3165606a55c5ea63c
[ "BSD-2-Clause" ]
null
null
null
#include "my_container.h" #include "my_allocator.h" #include <gtest/gtest.h> #include <iostream> #include <vector> #include <algorithm> TEST(MyContainer, basic_ops) { OTUS::SimplisticContainer<int> c; c.push_back(1); c.push_back(2); ASSERT_EQ(2, c.size()); ASSERT_EQ(1, c.front()); ASSERT_EQ(2, ...
24.764706
97
0.591449
[ "vector" ]
1d15600230b4724fb7d777f8feea92133ad74fdd
14,233
cc
C++
v11/runtime/node/accessibility.cc
InclusiveTechNU/v11
d32357bf52f5d6cf4ad3002235d1144f1f347d96
[ "Apache-2.0" ]
4
2020-04-26T10:19:45.000Z
2021-11-22T18:24:16.000Z
v11/runtime/node/accessibility.cc
InclusiveTechNU/v11
d32357bf52f5d6cf4ad3002235d1144f1f347d96
[ "Apache-2.0" ]
21
2020-01-08T12:23:00.000Z
2020-11-24T05:47:25.000Z
v11/runtime/node/accessibility.cc
InclusiveTechNU/v11
d32357bf52f5d6cf4ad3002235d1144f1f347d96
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 Northwestern Inclusive Technology Lab * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
42.486567
79
0.623621
[ "vector" ]
1d172ad531b94e603ec74ab7aadec36f86751d09
3,012
cpp
C++
Graphs and Graph Algorithms/tsort.cpp
lgemar/miniatures
1031fc51af596382ccc69eb1dd17b98a158e3cc7
[ "MIT" ]
null
null
null
Graphs and Graph Algorithms/tsort.cpp
lgemar/miniatures
1031fc51af596382ccc69eb1dd17b98a158e3cc7
[ "MIT" ]
null
null
null
Graphs and Graph Algorithms/tsort.cpp
lgemar/miniatures
1031fc51af596382ccc69eb1dd17b98a158e3cc7
[ "MIT" ]
null
null
null
/** * @file tsort.cpp * Prints * A B * where A = number of nodes * B = number of edges * and launches an SDLViewer to visualize the system */ #include <fstream> #include <set> #include <stdlib.h> #include <iterator> #include "CS207/SDLViewer.hpp" #include "CS207/Util.hpp" #include "Graph.hpp" typedef s...
24.487805
69
0.62749
[ "vector" ]
1d173e59f6a1981e5f44bf9515f0d66f8efddf66
3,017
cpp
C++
src/Real Time 3D/PostProcessorGL.cpp
wt-student-projects/real-time-3D
b2482703ef92cfdf5a7486141bbe744052ca7825
[ "Apache-2.0" ]
null
null
null
src/Real Time 3D/PostProcessorGL.cpp
wt-student-projects/real-time-3D
b2482703ef92cfdf5a7486141bbe744052ca7825
[ "Apache-2.0" ]
null
null
null
src/Real Time 3D/PostProcessorGL.cpp
wt-student-projects/real-time-3D
b2482703ef92cfdf5a7486141bbe744052ca7825
[ "Apache-2.0" ]
null
null
null
#include "PostProcessorGL.h" PostProcessorGL::PostProcessorGL() : colour(vec4(1.0, 1.0, 1.0, 1.0)) { } PostProcessorGL::~PostProcessorGL() { } GLvoid PostProcessorGL::enable() { glBindFramebuffer(GL_FRAMEBUFFER, frameBuffer); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glClearColor(1.0, 1.0,...
29.009615
98
0.718263
[ "model" ]
1d17bcd757d9b7db45963c17b273f030abcd4a49
611
cpp
C++
codeforces/ex/primes below n.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
codeforces/ex/primes below n.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
codeforces/ex/primes below n.cpp
punnapavankumar9/coding-platforms
264803330f5b3857160ec809c0d79cba1aa479a3
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstring> #define nl "\n" typedef long long ll; using namespace std; int main(){ cout << "enter a number"; int t; cin >> t; vector<bool> arr(t+1, true); arr[0] = arr[1] = false; for(int i = 2; i <= t; i += 2){ arr[i] = true; } for(...
19.709677
47
0.399345
[ "vector" ]
1d215741aff7dff18250853070ebdc55473e640c
3,616
hpp
C++
include/codegen/include/UnityEngine/TextCore/Glyph.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/TextCore/Glyph.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/TextCore/Glyph.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:36 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
41.090909
183
0.723451
[ "object" ]
1d24de4a19b49dbda15824018a03a772a0b8c7b6
17,391
cpp
C++
src/main/cpp/tracing/exporters/OtlpExporter.cpp
lizhanhui/rocketmq-client-cpp
d2001836e40d4f1da29ae7b2848fdfe0077ed1bf
[ "Apache-2.0" ]
null
null
null
src/main/cpp/tracing/exporters/OtlpExporter.cpp
lizhanhui/rocketmq-client-cpp
d2001836e40d4f1da29ae7b2848fdfe0077ed1bf
[ "Apache-2.0" ]
null
null
null
src/main/cpp/tracing/exporters/OtlpExporter.cpp
lizhanhui/rocketmq-client-cpp
d2001836e40d4f1da29ae7b2848fdfe0077ed1bf
[ "Apache-2.0" ]
1
2021-09-16T06:31:07.000Z
2021-09-16T06:31:07.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
40.633178
116
0.667759
[ "vector" ]
918edcd84294f2f3b1fd0e1badb25713b324ac76
550
cpp
C++
third_party/antlr/lib/cpp/src/ANTLRException.cpp
KaihangXing/my-agent-demo
764a38b93e7487305f12ac15a76e220ebda9db39
[ "Apache-2.0" ]
86
2015-11-21T12:48:04.000Z
2022-02-03T17:22:44.000Z
third_party/antlr/lib/cpp/src/ANTLRException.cpp
KaihangXing/my-agent-demo
764a38b93e7487305f12ac15a76e220ebda9db39
[ "Apache-2.0" ]
47
2018-06-01T20:26:22.000Z
2021-03-20T14:26:21.000Z
third_party/antlr/lib/cpp/src/ANTLRException.cpp
KaihangXing/my-agent-demo
764a38b93e7487305f12ac15a76e220ebda9db39
[ "Apache-2.0" ]
45
2016-02-02T19:58:13.000Z
2021-10-09T02:47:29.000Z
#include "antlr/ANTLRException.hpp" #include "antlr/String.hpp" #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE namespace antlr { #endif // Again, the root is implemented directly. const void* const s_typeId = &s_typeId; \ bool ANTLRException::IsKindOf( const void* typeId) const { return typeId == s_typeId; } ANTLRException *...
18.333333
81
0.765455
[ "object" ]
9197e4d367747ee04407721916b584a251764075
1,789
cpp
C++
src/Utils.cpp
senlinzhan/soke
e6767ea1fc88b35423c727e34bd46a9573f3775b
[ "MIT" ]
5
2017-01-21T12:59:51.000Z
2021-08-08T19:27:58.000Z
src/Utils.cpp
senlinzhan/soke
e6767ea1fc88b35423c727e34bd46a9573f3775b
[ "MIT" ]
null
null
null
src/Utils.cpp
senlinzhan/soke
e6767ea1fc88b35423c727e34bd46a9573f3775b
[ "MIT" ]
2
2017-07-23T04:49:55.000Z
2020-04-04T15:44:38.000Z
#include <cstdio> #include <unordered_set> #include <algorithm> #include "utils.hpp" using std::string; using std::vector; using std::unordered_set; vector<string> split_tokens(const string &str, const string &delimiters, bool return_tokens) { vector<string> tokens; const unordered_set<char> delims(delimiters...
21.817073
92
0.612074
[ "vector" ]
919dca11c56be608ada0a80a4db5fc913a20b3e2
15,244
hpp
C++
include/mtao/optimization/line_search.hpp
mtao/core
91f9bc6e852417989ed62675e2bb372e6afc7325
[ "MIT" ]
null
null
null
include/mtao/optimization/line_search.hpp
mtao/core
91f9bc6e852417989ed62675e2bb372e6afc7325
[ "MIT" ]
4
2020-04-18T16:16:05.000Z
2020-04-18T16:17:36.000Z
include/mtao/optimization/line_search.hpp
mtao/core
91f9bc6e852417989ed62675e2bb372e6afc7325
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <cmath> #include "mtao/types.hpp" //Line search for armijo/backtrack + weak/strong wolfe conditions // //check out the make_wolfe_line_search type things at the bottom / the LineSearchInterface. They allow for users to pair up a stepsize tool and an energy relatively aesily...
45.640719
171
0.515678
[ "vector" ]
91a726ae0e0b18a30a2b545aef127a96eb6e80bc
5,684
cc
C++
cc/dual_net/inference_server_test.cc
briandersn/minigo
a3e1df9cc9802b224db6092257245e38e10aa746
[ "Apache-2.0" ]
6
2018-03-04T23:59:02.000Z
2021-05-22T01:32:59.000Z
cc/dual_net/inference_server_test.cc
briandersn/minigo
a3e1df9cc9802b224db6092257245e38e10aa746
[ "Apache-2.0" ]
null
null
null
cc/dual_net/inference_server_test.cc
briandersn/minigo
a3e1df9cc9802b224db6092257245e38e10aa746
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 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 ...
33.833333
95
0.664321
[ "vector", "model" ]
91ae366860985003adaebe75481a4890e099aaf0
873
cpp
C++
Contests/Binary Search/31/monotonous-string.cpp
Yayady1999/Complete-coding-notes
3236d315248e0d130b8b9c6d591d3c45577282c6
[ "MIT" ]
54
2020-07-31T14:50:23.000Z
2022-03-14T11:03:02.000Z
Contests/Binary Search/31/monotonous-string.cpp
Yayady1999/Complete-coding-notes
3236d315248e0d130b8b9c6d591d3c45577282c6
[ "MIT" ]
null
null
null
Contests/Binary Search/31/monotonous-string.cpp
Yayady1999/Complete-coding-notes
3236d315248e0d130b8b9c6d591d3c45577282c6
[ "MIT" ]
30
2020-08-15T17:39:02.000Z
2022-03-10T06:50:18.000Z
#pragma GCC optimize("Ofast") #include <algorithm> #include <bitset> #include <deque> #include <iostream> #include <iterator> #include <string> #include <map> #include <queue> #include <set> #include <stack> #include <vector> #include <unordered_map> #include <unordered_set> using namespace std; void abhisheknaiidu()...
16.471698
55
0.594502
[ "vector" ]
91b42eb5c2284f15eabfb3025b5d5311ad20cffa
10,777
cpp
C++
src/stores/EGS/egs_library.cpp
SpecialKO/SKIF
e34a690f41e7298d53ab43055b999950e40e7d9d
[ "MIT" ]
5
2022-02-01T04:45:25.000Z
2022-03-06T19:20:15.000Z
src/stores/EGS/egs_library.cpp
SpecialKO/SKIF
e34a690f41e7298d53ab43055b999950e40e7d9d
[ "MIT" ]
null
null
null
src/stores/EGS/egs_library.cpp
SpecialKO/SKIF
e34a690f41e7298d53ab43055b999950e40e7d9d
[ "MIT" ]
3
2022-02-23T14:34:27.000Z
2022-02-23T17:58:51.000Z
#include <stores/egs/egs_library.h> #include <wtypes.h> #include <fstream> #include <filesystem> #include <comdef.h> #include <process.h> #include <gsl/gsl> /* EGS registry / folder struture Root Key: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Epic Games\EpicGamesLauncher\AppDataPath Root Folder: C:...
38.906137
286
0.640345
[ "vector" ]
91bdaa325303d4f0a614c8e7644f81cddd8d1b2e
5,704
cpp
C++
engine/assets/CueLoader.cpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
1
2021-03-01T13:17:49.000Z
2021-03-01T13:17:49.000Z
engine/assets/CueLoader.cpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
null
null
null
engine/assets/CueLoader.cpp
taida957789/ouzel
a8c1cc74e6151a0f7d7d2c534f8747cba46a36af
[ "Unlicense" ]
null
null
null
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #include <stack> #include "CueLoader.hpp" #include "Bundle.hpp" #include "Cache.hpp" #include "../audio/Cue.hpp" #include "../formats/Json.hpp" namespace ouzel::assets { CueLoader::CueLoader(Cache& initCache): Loader(initCache, Type::cue) {...
43.541985
114
0.556978
[ "vector" ]
91c5e9ab5b053ac6a49593512f0f851e7e61e3cb
1,033
cpp
C++
2121-intervals-between-identical-elements/2121-intervals-between-identical-elements.cpp
rishusingh022/Leetcode-gfg-solutions
c4bc26d75557166656e0b2d54e80c87023d30fcd
[ "MIT" ]
null
null
null
2121-intervals-between-identical-elements/2121-intervals-between-identical-elements.cpp
rishusingh022/Leetcode-gfg-solutions
c4bc26d75557166656e0b2d54e80c87023d30fcd
[ "MIT" ]
null
null
null
2121-intervals-between-identical-elements/2121-intervals-between-identical-elements.cpp
rishusingh022/Leetcode-gfg-solutions
c4bc26d75557166656e0b2d54e80c87023d30fcd
[ "MIT" ]
null
null
null
class Solution { public: void print(vector<long long> arr){ for(auto i:arr){ cout<<i<<" "; } cout<<endl; } vector<long long> getDistances(vector<int>& arr) { map<int,vector<int>> mp; vector<long long> ans(arr.size(),0); for(int i=0;i<arr.size();i++...
29.514286
104
0.448209
[ "vector" ]
91cbe6c7c5debeca253b03924be7a382dd401e74
1,185
cpp
C++
aws-cpp-sdk-acm-pca/source/model/OtherName.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-acm-pca/source/model/OtherName.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-acm-pca/source/model/OtherName.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/acm-pca/model/OtherName.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace A...
15.8
69
0.693671
[ "model" ]
91ce887dce73e75fba7752d3c572313e5115c292
5,274
cc
C++
Miyuki-old/Miyuki/Octree.cc
sylvainbouxin/MiyukiRenderer
88242b9e18ca7eaa1c751ab07f585fac8b591b5a
[ "MIT" ]
null
null
null
Miyuki-old/Miyuki/Octree.cc
sylvainbouxin/MiyukiRenderer
88242b9e18ca7eaa1c751ab07f585fac8b591b5a
[ "MIT" ]
null
null
null
Miyuki-old/Miyuki/Octree.cc
sylvainbouxin/MiyukiRenderer
88242b9e18ca7eaa1c751ab07f585fac8b591b5a
[ "MIT" ]
1
2019-09-11T20:20:54.000Z
2019-09-11T20:20:54.000Z
#include "Octree.h" using namespace Miyuki; AABB getBoundBox(const std::vector<Primitive*> objects) { vec3 a{ inf,inf,inf }, b(-inf, -inf, -inf); for (auto i : objects) { auto box = i->getBoundBox(); a = min(a, box.min); b = max(b, box.max); } vec3 d{ eps,eps,eps }; auto result = AABB(a - d, b + d); for (...
23.972727
117
0.542852
[ "vector" ]
91cf5cf5eadef8dd4ec49d74f366167eb52f8427
869
hpp
C++
include/natalie_parser/node/assignment_node.hpp
natalie-lang/natalie_parser
683bec34f8708f5b9160359ca0107edda242fdb9
[ "MIT" ]
10
2022-03-14T14:57:17.000Z
2022-03-31T06:51:28.000Z
include/natalie_parser/node/assignment_node.hpp
natalie-lang/natalie_parser
683bec34f8708f5b9160359ca0107edda242fdb9
[ "MIT" ]
1
2022-03-15T21:40:34.000Z
2022-03-16T02:05:41.000Z
include/natalie_parser/node/assignment_node.hpp
natalie-lang/natalie_parser
683bec34f8708f5b9160359ca0107edda242fdb9
[ "MIT" ]
1
2022-03-15T20:24:53.000Z
2022-03-15T20:24:53.000Z
#pragma once #include "natalie_parser/node/node.hpp" #include "natalie_parser/node/node_with_args.hpp" #include "tm/hashmap.hpp" #include "tm/owned_ptr.hpp" #include "tm/string.hpp" namespace NatalieParser { using namespace TM; class AssignmentNode : public Node { public: AssignmentNode(const Token &token, Shar...
24.828571
89
0.690449
[ "transform" ]
91d148bcc16c54f5b0533e21bf7ecb8e1b6f5862
3,848
cpp
C++
main.cpp
DenisovNikita/Web-crawler
968e658fa82bdb3e816c99464a82e0ee778c7019
[ "MIT" ]
null
null
null
main.cpp
DenisovNikita/Web-crawler
968e658fa82bdb3e816c99464a82e0ee778c7019
[ "MIT" ]
null
null
null
main.cpp
DenisovNikita/Web-crawler
968e658fa82bdb3e816c99464a82e0ee778c7019
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <map> #include <set> #include <queue> #include <cassert> #include <cpr/cpr.h> #define DEBUG class Crawler { private: #ifdef DEBUG std::string line = "____________________________\n"; #endif const int TOP = 5; // get top five std::set<std::pair<int, std::...
29.151515
101
0.586279
[ "vector" ]
91d439b304f59d52bb4bf20a1d6a135474bc7361
11,778
cpp
C++
src/gpu/GrLayerHoister.cpp
MIPS/external-chromium_org-third_party-skia
4d54ce897cc8ad20f597acfd594438a3be98753f
[ "BSD-3-Clause" ]
33
2018-07-04T09:38:12.000Z
2021-06-19T06:11:45.000Z
src/gpu/GrLayerHoister.cpp
MIPS/external-chromium_org-third_party-skia
4d54ce897cc8ad20f597acfd594438a3be98753f
[ "BSD-3-Clause" ]
null
null
null
src/gpu/GrLayerHoister.cpp
MIPS/external-chromium_org-third_party-skia
4d54ce897cc8ad20f597acfd594438a3be98753f
[ "BSD-3-Clause" ]
13
2018-07-01T01:55:17.000Z
2021-08-03T10:55:45.000Z
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrLayerCache.h" #include "GrLayerHoister.h" #include "SkCanvas.h" #include "SkRecordDraw.h" #include "GrRecordReplaceDraw.h" #include "SkGrPixelRef.h" #include "SkSu...
41.326316
97
0.554848
[ "render" ]
91d5eca1fe3951847769d2bdc742ebcc5cb98720
479
hpp
C++
src/driver/include-path.hpp
aaron-michaux/giraffe
457b55d80f6d21616a5c40232c2f68ee9e2c8335
[ "MIT" ]
null
null
null
src/driver/include-path.hpp
aaron-michaux/giraffe
457b55d80f6d21616a5c40232c2f68ee9e2c8335
[ "MIT" ]
null
null
null
src/driver/include-path.hpp
aaron-michaux/giraffe
457b55d80f6d21616a5c40232c2f68ee9e2c8335
[ "MIT" ]
null
null
null
#pragma once #include <string> namespace giraffe { struct IncludePath { std::string path = {}; bool is_isystem = false; }; struct ResolvedPath { std::string filename = {}; bool is_found = false; bool is_isystem_path = false; }; ResolvedPath resolve_include_path(const vector<IncludePath>& inc...
18.423077
75
0.613779
[ "vector" ]
91d7c0d83ad35bb02fb3f1721bbc663f651ef9e7
6,101
cpp
C++
test/test_destructor_thread_safety.cpp
IvarJonsson89/RealmDatabase
820484533370254e9b91f191e4940766d2dc6722
[ "Apache-2.0" ]
null
null
null
test/test_destructor_thread_safety.cpp
IvarJonsson89/RealmDatabase
820484533370254e9b91f191e4940766d2dc6722
[ "Apache-2.0" ]
null
null
null
test/test_destructor_thread_safety.cpp
IvarJonsson89/RealmDatabase
820484533370254e9b91f191e4940766d2dc6722
[ "Apache-2.0" ]
1
2019-02-21T15:33:55.000Z
2019-02-21T15:33:55.000Z
/************************************************************************* * * Copyright 2016 Realm Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lice...
27.236607
85
0.549746
[ "vector" ]
91dc7c233ddacdd89ff264fd0d9b02b7ded11413
803
cpp
C++
src/voltlbx/utils.cpp
quintron/vol-toolbox
0bddb66c0160da1fb9393c60f6a99600311bbcf9
[ "MIT" ]
null
null
null
src/voltlbx/utils.cpp
quintron/vol-toolbox
0bddb66c0160da1fb9393c60f6a99600311bbcf9
[ "MIT" ]
null
null
null
src/voltlbx/utils.cpp
quintron/vol-toolbox
0bddb66c0160da1fb9393c60f6a99600311bbcf9
[ "MIT" ]
1
2020-08-18T17:56:09.000Z
2020-08-18T17:56:09.000Z
#include "utils.h" #include <stdexcept> namespace voltlbx { std::vector<double> linspace(double start, double end, std::size_t size, bool end_point) { if(size < 2) throw std::domain_error("linspace : size should be at least 2"); if(start >= end) throw std::invalid_argu...
25.09375
94
0.540473
[ "vector" ]
91dcc448c44db38bef5c1e071e02f86cc0a97592
1,351
hpp
C++
src/modules/memory/api_converters.hpp
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
20
2019-12-04T01:28:52.000Z
2022-03-17T14:09:34.000Z
src/modules/memory/api_converters.hpp
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
115
2020-02-04T21:29:54.000Z
2022-02-17T13:33:51.000Z
src/modules/memory/api_converters.hpp
DerangedMonkeyNinja/openperf
cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16
[ "Apache-2.0" ]
16
2019-12-03T16:41:18.000Z
2021-11-06T04:44:11.000Z
#ifndef _OP_MEMORY_API_CONVERTERS_HPP_ #define _OP_MEMORY_API_CONVERTERS_HPP_ #include <json.hpp> #include "api.hpp" #include "pistache/http_defs.h" #include "swagger/v1/model/BulkCreateMemoryGeneratorsRequest.h" #include "swagger/v1/model/BulkDeleteMemoryGeneratorsRequest.h" #include "swagger/v1/model/BulkStartMemor...
37.527778
73
0.815692
[ "model" ]
91decafe38f7336f557dcb2f9fd1c31c42a30a92
1,803
hpp
C++
include/cpl/combinatorics/catalan_numbers.hpp
dieram3/competitive-programming-library
29bd0204d00c08e56d1f7fedc5c6c3603c4e5121
[ "BSL-1.0" ]
25
2016-05-03T02:08:58.000Z
2022-01-11T03:49:28.000Z
include/cpl/combinatorics/catalan_numbers.hpp
dieram3/competitive-programming-library
29bd0204d00c08e56d1f7fedc5c6c3603c4e5121
[ "BSL-1.0" ]
22
2016-04-26T04:46:17.000Z
2016-12-06T03:53:32.000Z
include/cpl/combinatorics/catalan_numbers.hpp
dieram3/competitive-programming-library
29bd0204d00c08e56d1f7fedc5c6c3603c4e5121
[ "BSL-1.0" ]
5
2017-04-04T16:10:42.000Z
2019-12-05T08:22:30.000Z
// Copyright Diego Ramirez 2015 // 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 CPL_COMBINATORICS_CATALAN_NUMBERS #define CPL_COMBINATORICS_CATALAN_NUMBERS #include <cpl/number_theo...
32.781818
79
0.613422
[ "vector" ]
91e25b0c3dea04fc4595cdb87a5051d7297ab432
1,862
cpp
C++
learncpp_com/6-arr_string_pointer_references/204-quiz/quiz_6/src/printer.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
learncpp_com/6-arr_string_pointer_references/204-quiz/quiz_6/src/printer.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
learncpp_com/6-arr_string_pointer_references/204-quiz/quiz_6/src/printer.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include "cardTypes.hpp" namespace printer{ void printCard(const cardTypes::Card &card){ switch(card.rank){ case cardTypes::CardRanks::RANK_2: std::cout << '2'; break; case cardTypes::CardRanks::RANK_3: std::cout << '3'; break; ...
22.987654
53
0.510741
[ "vector" ]
91ed737ed5fb7a246b5b0c4dacdf00f469c43f81
5,983
hpp
C++
src/hotspot/share/runtime/reflection.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
1
2020-12-26T04:52:15.000Z
2020-12-26T04:52:15.000Z
src/hotspot/share/runtime/reflection.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
1
2020-12-26T04:57:19.000Z
2020-12-26T04:57:19.000Z
src/hotspot/share/runtime/reflection.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
1
2021-12-06T01:13:18.000Z
2021-12-06T01:13:18.000Z
/* * Copyright (c) 1997, 2019, 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 ...
44.318519
96
0.677085
[ "object" ]
91f5cb20ae5a3b9f601d99511df812026be1e7d9
12,677
cc
C++
tests/ut/cpp/optimizer/opt_test.cc
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
tests/ut/cpp/optimizer/opt_test.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
tests/ut/cpp/optimizer/opt_test.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020-2022 Huawei Technologies Co., Ltd * * 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 applicabl...
37.505917
120
0.734716
[ "vector", "transform" ]
91f8981a187abb8f76de3f441e7cfc97e1ca6122
158,529
cpp
C++
server/Orthanc-1.7.2/OrthancServer/Plugins/Engine/OrthancPlugins.cpp
nilaysaha/medimaging
476c87f103a5ff0b4ddc5c6abfe6034c9c981a47
[ "Apache-2.0" ]
1
2020-11-05T08:34:23.000Z
2020-11-05T08:34:23.000Z
server/Orthanc-1.7.2/OrthancServer/Plugins/Engine/OrthancPlugins.cpp
nilaysaha/medimaging
476c87f103a5ff0b4ddc5c6abfe6034c9c981a47
[ "Apache-2.0" ]
null
null
null
server/Orthanc-1.7.2/OrthancServer/Plugins/Engine/OrthancPlugins.cpp
nilaysaha/medimaging
476c87f103a5ff0b4ddc5c6abfe6034c9c981a47
[ "Apache-2.0" ]
1
2020-11-12T09:00:30.000Z
2020-11-12T09:00:30.000Z
/** * Orthanc - A Lightweight, RESTful DICOM Store * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics * Department, University Hospital of Liege, Belgium * Copyright (C) 2017-2020 Osimis S.A., Belgium * * This program is free software: you can redistribute it and/or * modify it under the terms of the G...
30.150057
138
0.628175
[ "object", "vector", "model", "transform" ]
91fa31eec9afac5217dede0cb54b677c09374824
10,007
cc
C++
src/tjs2_lib/tjs2_storages.cc
yydcnjjw/my-krkrz
75b1c74758ce776e441090f6d5f08e3aac7ece15
[ "Apache-2.0" ]
null
null
null
src/tjs2_lib/tjs2_storages.cc
yydcnjjw/my-krkrz
75b1c74758ce776e441090f6d5f08e3aac7ece15
[ "Apache-2.0" ]
null
null
null
src/tjs2_lib/tjs2_storages.cc
yydcnjjw/my-krkrz
75b1c74758ce776e441090f6d5f08e3aac7ece15
[ "Apache-2.0" ]
null
null
null
#include "tjs2_storages.h" #include <boost/algorithm/string.hpp> #include <boost/format.hpp> #include <util/logger.h> #include "krkrz_application.h" #include "tjs2_lib.h" #include <MsgIntf.h> namespace { class TJS2Storages : public tTJSNativeClass { typedef tTJSNativeClass inherited; public: TJS2Storage...
32.176849
80
0.579594
[ "vector" ]
91fc156f561349842c652a28284b9a10842a3eba
7,406
cpp
C++
tools/opening-book/train_book.cpp
zborffs/AsterionEngine
029624cba19cd7fbc407bb24b9beb33efd089c5b
[ "MIT" ]
1
2018-12-29T10:39:56.000Z
2018-12-29T10:39:56.000Z
tools/opening-book/train_book.cpp
zborffs/AsterionEngine
029624cba19cd7fbc407bb24b9beb33efd089c5b
[ "MIT" ]
3
2021-11-12T06:44:46.000Z
2021-11-12T06:47:56.000Z
tools/opening-book/train_book.cpp
zborffs/AsterionEngine
029624cba19cd7fbc407bb24b9beb33efd089c5b
[ "MIT" ]
null
null
null
/// Project Includes #include "defines.hpp" #include "globals.hpp" #include "board.hpp" #include "chess_clock.hpp" #include "search.hpp" #include "book.hpp" /// Standard Library Includes #include <iostream> #include <string> /// Third-Party Includes #include <spdlog/spdlog.h> #include <spdlog/sinks/stdout_color_sinks...
37.40404
157
0.647718
[ "vector" ]
6202c344ae2b2ad62a09d091d14245b5e1c38177
1,321
hh
C++
src/NodeList/generateVoidNodes.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/NodeList/generateVoidNodes.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/NodeList/generateVoidNodes.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//------------------------------------------------------------------------------ // generateVoidNodes // // This algorithm tries to analyze how continuous a node distribution is, and // if it determines there is an edge to the distribution creates new void nodes // outside that surface. // We assume here that the call...
35.702703
81
0.586677
[ "mesh", "vector" ]
620939c54e891b3b57506f67b0b51c61c22b8f51
2,605
cpp
C++
core/src/util/thread_pool.cpp
cjmcv/dlex-cnn
dbd11ddf8c1515b18be54c74b4d123924cea6fa4
[ "MIT" ]
11
2017-11-19T15:15:28.000Z
2021-12-22T03:17:29.000Z
core/src/util/thread_pool.cpp
cjmcv/dlex-cnn
dbd11ddf8c1515b18be54c74b4d123924cea6fa4
[ "MIT" ]
null
null
null
core/src/util/thread_pool.cpp
cjmcv/dlex-cnn
dbd11ddf8c1515b18be54c74b4d123924cea6fa4
[ "MIT" ]
3
2019-02-18T12:47:44.000Z
2021-12-22T03:17:28.000Z
//////////////////////////////////////////////////////////////// // > Copyright (c) 2017 by Contributors. // > https://github.com/cjmcv // > brief Used for multi-threading acceleration. // > author Jianming Chen //////////////////////////////////////////////////////////////// #include "util/thread_pool.h" namespace...
25.048077
89
0.578503
[ "vector" ]
6211b04bb0969c21f9424b96513521e9c54aec97
4,934
cpp
C++
Aether Framework/src/Graphics/Rendering/Sprite.cpp
WiktorKasjaniuk/Aether-Framework
75b3e064e6ccee81784636aa7cc45b4cae663d46
[ "BSD-3-Clause" ]
null
null
null
Aether Framework/src/Graphics/Rendering/Sprite.cpp
WiktorKasjaniuk/Aether-Framework
75b3e064e6ccee81784636aa7cc45b4cae663d46
[ "BSD-3-Clause" ]
null
null
null
Aether Framework/src/Graphics/Rendering/Sprite.cpp
WiktorKasjaniuk/Aether-Framework
75b3e064e6ccee81784636aa7cc45b4cae663d46
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2021, Wiktor Kasjaniuk // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions...
37.664122
127
0.691123
[ "vector", "transform" ]
6216cb39d80080bbc9a3fd6ba78fd093f1bbe387
2,099
cpp
C++
Final/Dataset/B2016_Z1_Z1/student9935.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
Final/Dataset/B2016_Z1_Z1/student9935.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
Final/Dataset/B2016_Z1_Z1/student9935.cpp
Team-PyRated/PyRated
1df171c8a5a98977b7a96ee298a288314d1b1b96
[ "MIT" ]
null
null
null
/*B 2016/2017, Zadaća 1, Zadatak 1 NAPOMENA: ulaz/izlaz za zadatke je specificiran javnim autotestovima. Zalbe za ne analiziranje testova se ne uvazavaju! NAPOMENA: nece svi (javni) testovi sa zamgera biti dostupni na c9. */ #include<iostream> #include<vector> #include<cmath> std::vector<in...
23.322222
104
0.584088
[ "vector" ]
622a6aa119813877f0fae98c5796a6d69f5cbc30
1,439
cpp
C++
exam2/inheritance.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
1
2019-01-06T22:36:01.000Z
2019-01-06T22:36:01.000Z
exam2/inheritance.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
exam2/inheritance.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <cmath> class Shape { public: Shape() { this->side_count = -1; this->color = "NONCOLOR"; } Shape(int sides, std::string color = "NONCOLOR" ) { this->side_count = sides; this->color = color; } virtual double getArea() { ...
19.186667
66
0.505212
[ "shape" ]
62374c3d6d47b7a8a98a0f0e1c60cbc8f39f1997
934
cpp
C++
src/pbr/core/geometricPrimitive.cpp
moddyz/Pbrt
fa92b09a98d07503e1dc381fcb0e9d9b6ae88915
[ "MIT" ]
null
null
null
src/pbr/core/geometricPrimitive.cpp
moddyz/Pbrt
fa92b09a98d07503e1dc381fcb0e9d9b6ae88915
[ "MIT" ]
null
null
null
src/pbr/core/geometricPrimitive.cpp
moddyz/Pbrt
fa92b09a98d07503e1dc381fcb0e9d9b6ae88915
[ "MIT" ]
null
null
null
#include <pbr/core/geometricPrimitive.h> #include <pbr/core/ray.h> PBR_NS_OPEN GeometricPrimitive::GeometricPrimitive( const ShapeSharedPtr& i_shape, const MaterialSharedPtr& i_material ) : m_shape( i_shape ) , m_material( i_material ) { } gm::Vec3fRange GeometricPrimitive::ComputeWorldBounds() const { r...
23.35
108
0.723769
[ "shape" ]
6237e99f1c9dcc0f8907d38120dfa573efa96bc1
3,430
cpp
C++
src/Transform.cpp
ReeCocho/Snek
fb1aec6516adb0586fcc57bd0dccd0d43082d3b2
[ "MIT" ]
null
null
null
src/Transform.cpp
ReeCocho/Snek
fb1aec6516adb0586fcc57bd0dccd0d43082d3b2
[ "MIT" ]
null
null
null
src/Transform.cpp
ReeCocho/Snek
fb1aec6516adb0586fcc57bd0dccd0d43082d3b2
[ "MIT" ]
null
null
null
#include <algorithm> #include <glm\gtc\matrix_transform.hpp> #include "Transform.hpp" namespace snk { Transform::Transform(Scene* scene, Entity entity, ComponentID id) : Component(scene, entity, id) { m_parent = nullptr; generateModelMatrix(); } Transform::~Transform() { } glm::vec3 Transform::setPosit...
21.847134
127
0.710204
[ "model", "transform" ]
623cc1350262b54f368e0cd5bb9a5d411ed62b9a
5,301
hpp
C++
mech/cardiac_integrators.hpp
paulkefer/cardioid
59c07b714d8b066b4f84eb50487c36f6eadf634c
[ "MIT-0", "MIT" ]
33
2018-12-12T20:05:06.000Z
2021-09-26T13:30:16.000Z
mech/cardiac_integrators.hpp
paulkefer/cardioid
59c07b714d8b066b4f84eb50487c36f6eadf634c
[ "MIT-0", "MIT" ]
5
2019-04-25T11:34:43.000Z
2021-11-14T04:35:37.000Z
mech/cardiac_integrators.hpp
paulkefer/cardioid
59c07b714d8b066b4f84eb50487c36f6eadf634c
[ "MIT-0", "MIT" ]
15
2018-12-21T22:44:59.000Z
2021-08-29T10:30:25.000Z
#ifndef CARDIAC_INTEG #define CARDIAC_INTEG #include "mfem.hpp" #include "cardiac_coefficients.hpp" namespace mfem { // The transversely isotropic cardiac hyperelasticity model class CardiacModel { protected: double C_1, b_ff, b_ss, b_nn, b_fs, b_fn, b_ns; mutable DenseMatrix C, E, I, JT, PK2, FinvT, B, ort...
38.977941
194
0.605169
[ "shape", "vector", "model" ]
9a8e28b48956413fc22bc01ef839fac49f9b3c5f
21,253
cc
C++
third_party/blink/renderer/core/streams/miscellaneous_operations_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
third_party/blink/renderer/core/streams/miscellaneous_operations_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/core/streams/miscellaneous_operations_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/streams/miscellaneous_operations.h" #include <math.h> #include <limits> #include "testing/gtest/include/gtest...
41.108317
80
0.692185
[ "object", "transform" ]
9a8f55b41c11667185ef2534fd121112e0b38776
3,310
cpp
C++
libnd4j/include/ops/declarable/helpers/cpu/dropout.cpp
nutonchain/Deeplearning
20f222c1eff95205c6c9c9b666b04402405e4442
[ "Apache-2.0" ]
2
2018-11-26T15:30:37.000Z
2018-11-26T15:30:39.000Z
libnd4j/include/ops/declarable/helpers/cpu/dropout.cpp
nutonchain/Deeplearning
20f222c1eff95205c6c9c9b666b04402405e4442
[ "Apache-2.0" ]
16
2018-12-03T11:37:19.000Z
2018-12-03T19:47:25.000Z
libnd4j/include/ops/declarable/helpers/cpu/dropout.cpp
nutonchain/Deeplearning
20f222c1eff95205c6c9c9b666b04402405e4442
[ "Apache-2.0" ]
2
2021-03-01T07:46:24.000Z
2021-09-26T17:08:40.000Z
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
40.864198
176
0.600302
[ "shape", "vector" ]
9a9034ab29f0fde12e9c6ef7d9e958ef2f6c1ba1
544
cpp
C++
OBI/OBI2014/triangulos.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
1
2022-03-04T16:06:41.000Z
2022-03-04T16:06:41.000Z
OBI/OBI2014/triangulos.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
null
null
null
OBI/OBI2014/triangulos.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool triangulo(int menor1, int menor2, int maior){ if (menor1 + menor2 > maior){ return true; } return false; } int main(){ vector<int> numeros = vector<int>(4); cin >> numeros[0] >> numeros[1] >> numeros[2] >> numeros[3]; sort(numer...
20.923077
101
0.556985
[ "vector" ]
9aa0179192bacb3f2c567995694f435e8208c180
1,171
cpp
C++
src/tools/simulate.cpp
mbroemme/bamboo
07e8a42fa90d9ddd4ea6cfc55f000277b65e5d1b
[ "MIT" ]
null
null
null
src/tools/simulate.cpp
mbroemme/bamboo
07e8a42fa90d9ddd4ea6cfc55f000277b65e5d1b
[ "MIT" ]
null
null
null
src/tools/simulate.cpp
mbroemme/bamboo
07e8a42fa90d9ddd4ea6cfc55f000277b65e5d1b
[ "MIT" ]
null
null
null
#include "../core/helpers.hpp" #include "../core/api.hpp" #include "../core/user.hpp" #include "../core/config.hpp" #include "../core/host_manager.hpp" #include "../core/transaction.hpp" #include "../core/block.hpp" #include <iostream> #include <mutex> #include <thread> using namespace std; int TOTAL; void simulate_tr...
28.560976
62
0.599488
[ "vector" ]
9aa7a926c29dbce4d03b510e89bb7dc048ce2eb4
1,222
cpp
C++
Data Structures/Week 6/is_bst_hard.cpp
fuboki10/Data-Structures-and-Algorithms-Specialization
1f2dc9aded51fdb0268cbdf67d2d16d62ac6bd95
[ "MIT" ]
null
null
null
Data Structures/Week 6/is_bst_hard.cpp
fuboki10/Data-Structures-and-Algorithms-Specialization
1f2dc9aded51fdb0268cbdf67d2d16d62ac6bd95
[ "MIT" ]
null
null
null
Data Structures/Week 6/is_bst_hard.cpp
fuboki10/Data-Structures-and-Algorithms-Specialization
1f2dc9aded51fdb0268cbdf67d2d16d62ac6bd95
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> using std::cin; using std::cout; using std::endl; using std::vector; using std::max; using std::min; const long long mx = 214748364700; const long long mn = -214748364800; struct Node { long long key; long long left; long long right; Node() : key(0),...
21.821429
117
0.61293
[ "vector" ]
9aae8c1e002d747d31d03f8f28cd2d7570c13dd7
19,277
cpp
C++
trtc/src/v20190722/TrtcClient.cpp
X-Crack/tencentcloud-sdk-cpp
57ada84c1651b223bd6540a3e894cd1041c52e14
[ "Apache-2.0" ]
null
null
null
trtc/src/v20190722/TrtcClient.cpp
X-Crack/tencentcloud-sdk-cpp
57ada84c1651b223bd6540a3e894cd1041c52e14
[ "Apache-2.0" ]
null
null
null
trtc/src/v20190722/TrtcClient.cpp
X-Crack/tencentcloud-sdk-cpp
57ada84c1651b223bd6540a3e894cd1041c52e14
[ "Apache-2.0" ]
null
null
null
/* * 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 ...
34.484794
202
0.693261
[ "model" ]
9ab82d6c65bdfdbbe24104cd99086bf1011cbb71
5,487
hh
C++
include/urbi/object/string.hh
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
16
2016-05-10T05:50:58.000Z
2021-10-05T22:16:13.000Z
include/urbi/object/string.hh
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
7
2016-09-05T10:08:33.000Z
2019-02-13T10:51:07.000Z
include/urbi/object/string.hh
jcbaillie/urbi
fb17359b2838cdf8d3c0858abb141e167a9d4bdb
[ "BSD-3-Clause" ]
15
2015-01-28T20:27:02.000Z
2021-09-28T19:26:08.000Z
/* * Copyright (C) 2009-2012, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ /** ** \file object/string...
31.901163
77
0.627301
[ "object", "vector", "model" ]
9ac08191e9e6fecb886b7feb2c907157b6e1915d
38,926
cpp
C++
0_GEN/Geometry.cpp
billkarsh/Alignment_Projects
f2ce48477da866b09a13fd33f1a53a8af644b35b
[ "BSD-3-Clause" ]
11
2015-07-24T14:41:25.000Z
2022-03-19T13:27:51.000Z
0_GEN/Geometry.cpp
billkarsh/Alignment_Projects
f2ce48477da866b09a13fd33f1a53a8af644b35b
[ "BSD-3-Clause" ]
1
2016-05-14T22:26:25.000Z
2016-05-14T22:26:25.000Z
0_GEN/Geometry.cpp
billkarsh/Alignment_Projects
f2ce48477da866b09a13fd33f1a53a8af644b35b
[ "BSD-3-Clause" ]
18
2015-03-10T18:45:58.000Z
2021-08-16T13:56:48.000Z
#include "Geometry.h" #include "Maths.h" #include "TAffine.h" #include <string.h> /* --------------------------------------------------------------- */ /* Macros -------------------------------------------------------- */ /* --------------------------------------------------------------- */ // compute (v1-O) x (v...
24.936579
69
0.401223
[ "geometry", "object", "vector" ]
9ac76b8edf946b01b48901106d8296952607ea7c
57,625
cpp
C++
test/systemtest/common/bms/bms_launcher_service_system_test/bms_launcher_service_system_test.cpp
openharmony-gitee-mirror/appexecfwk_standard
0edd750ed64940531881e0bb113a84155ac056d0
[ "Apache-2.0" ]
1
2021-11-23T08:13:14.000Z
2021-11-23T08:13:14.000Z
test/systemtest/common/bms/bms_launcher_service_system_test/bms_launcher_service_system_test.cpp
openharmony-gitee-mirror/appexecfwk_standard
0edd750ed64940531881e0bb113a84155ac056d0
[ "Apache-2.0" ]
null
null
null
test/systemtest/common/bms/bms_launcher_service_system_test/bms_launcher_service_system_test.cpp
openharmony-gitee-mirror/appexecfwk_standard
0edd750ed64940531881e0bb113a84155ac056d0
[ "Apache-2.0" ]
1
2021-09-13T11:17:54.000Z
2021-09-13T11:17:54.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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 ...
41.219599
120
0.737892
[ "object", "vector" ]
9ad4e14011e635773db71ddaf2f743fb4bc20d02
5,153
cpp
C++
src/widgets/toolbox.cpp
lizhyumzi/vnote
7c4d89b0272cf817902272e8733d56c2cddb797a
[ "MIT" ]
8,054
2016-10-19T14:59:52.000Z
2020-10-11T06:21:15.000Z
src/widgets/toolbox.cpp
micalstanley/vnote-1
606dcef16f882350cc2be2fd108625894d13143b
[ "MIT" ]
1,491
2017-03-06T02:31:32.000Z
2020-10-11T02:14:32.000Z
src/widgets/toolbox.cpp
micalstanley/vnote-1
606dcef16f882350cc2be2fd108625894d13143b
[ "MIT" ]
986
2017-02-14T05:45:13.000Z
2020-10-10T07:42:31.000Z
#include "toolbox.h" #include <QHBoxLayout> #include <QVBoxLayout> #include <QStackedLayout> #include <QVariant> #include <QToolButton> #include <QAction> #include <QLabel> #include <utils/utils.h> #include "global.h" #include <utils/iconutils.h> #include "thememgr.h" #include "vnotex.h" using namespace vnotex; con...
26.979058
105
0.672036
[ "geometry" ]
9ad570ea2aa3feab7b1eb332217281c1862d8a5a
2,223
cpp
C++
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CPhysicalRelationshipDoc.cpp
mrehman29/open-vm-tools
03f35e3209b3a73cf8e43a74ac764f22526723a0
[ "X11" ]
2
2020-07-23T06:01:37.000Z
2021-02-25T06:48:42.000Z
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CPhysicalRelationshipDoc.cpp
mrehman29/open-vm-tools
03f35e3209b3a73cf8e43a74ac764f22526723a0
[ "X11" ]
null
null
null
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CPhysicalRelationshipDoc.cpp
mrehman29/open-vm-tools
03f35e3209b3a73cf8e43a74ac764f22526723a0
[ "X11" ]
1
2020-11-11T12:54:06.000Z
2020-11-11T12:54:06.000Z
/* * Author: bwilliams * Created: April 6, 2012 * * Copyright (C) 2012-2016 VMware, Inc. All rights reserved. -- VMware Confidential * * */ #include "stdafx.h" #include "Doc/SchemaTypesDoc/SchemaTypesDocTypes.h" #include "Doc/SchemaTypesDoc/CClassCardinalityDoc.h" #include "Doc/SchemaTypesDoc/CPhysicalRela...
25.551724
166
0.778228
[ "object" ]
9adcb355dba011d5ccd623f1154af3a8bbb27674
1,771
hpp
C++
include/codegen/include/RootMotion/FinalIK/ConstraintRotation.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/RootMotion/FinalIK/ConstraintRotation.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/RootMotion/FinalIK/ConstraintRotation.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:16 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: RootMotion.FinalIK.Constraint #include "RootMotion/FinalIK/Constraint.hpp" // Including ...
38.5
109
0.719368
[ "object", "transform" ]
9aedc212afa0ecdb032c03336a3a22092987bc85
8,784
cpp
C++
Reconstruction/class6-mesh_generation/class6-mesh_generation/mesh_generation/src/data_type.cpp
MrCocoaCat/slambook
1eb2c3b081c6f668f342ae8d3fa536748bedc77d
[ "MIT" ]
3
2018-02-13T05:39:05.000Z
2019-06-15T17:35:25.000Z
Reconstruction/class6-mesh_generation/class6-mesh_generation/mesh_generation/src/data_type.cpp
MrCocoaCat/slambook
1eb2c3b081c6f668f342ae8d3fa536748bedc77d
[ "MIT" ]
null
null
null
Reconstruction/class6-mesh_generation/class6-mesh_generation/mesh_generation/src/data_type.cpp
MrCocoaCat/slambook
1eb2c3b081c6f668f342ae8d3fa536748bedc77d
[ "MIT" ]
1
2018-12-21T13:59:20.000Z
2018-12-21T13:59:20.000Z
#include "data_type.h" #include<qfile.h> #include<qtextstream.h> ////////////////////////////////////ANGle-AXIS METHOD/////////////////////////////////////////////// float angleAxisFromDirections(qglviewer::Vec & src, qglviewer::Vec& dest, qglviewer::Vec & axis) { // source direction cv::Mat direc1(3, 1, CV_32FC1); ...
25.911504
121
0.538707
[ "mesh", "3d" ]
9af35dbdf20c82192ca3d01d778b0f9e225b23d5
9,926
cpp
C++
src/Drawable/AbstractShape.cpp
tretre91/MyGL
2f552e14ef6203488db1b14af8d32d658517091e
[ "Zlib" ]
null
null
null
src/Drawable/AbstractShape.cpp
tretre91/MyGL
2f552e14ef6203488db1b14af8d32d658517091e
[ "Zlib" ]
null
null
null
src/Drawable/AbstractShape.cpp
tretre91/MyGL
2f552e14ef6203488db1b14af8d32d658517091e
[ "Zlib" ]
null
null
null
#include <MyGL/Drawable/AbstractShape.hpp> #include <algorithm> constexpr const char* vertexSource = "#version 330 core\n" "layout (location = 0) in vec3 aPos;" "uniform mat4 model;" "uniform mat4 view;" "uniform mat4 projection;" "void main(){" " gl_Position = projection * view * model * vec4(aPos, 1...
37.17603
147
0.622104
[ "shape", "vector", "model", "transform" ]
9af78845803c0e8943a5a73c9eb4002ae7ddd29e
7,071
cc
C++
src/gb/base/validated_context.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
1
2020-07-11T17:03:19.000Z
2020-07-11T17:03:19.000Z
src/gb/base/validated_context.cc
jpursey/gbits
4dfedd1297ca368ad1d80a03308fc4da0241f948
[ "MIT" ]
2
2021-12-10T13:38:51.000Z
2022-02-22T16:02:24.000Z
src/gb/base/validated_context.cc
jpursey/game-bits
2daefa2cef5601939dbea50a755b8470e38656ae
[ "MIT" ]
null
null
null
// Copyright (c) 2020 John Pursey // // Use of this source code is governed by an MIT-style License that can be found // in the LICENSE file or at https://opensource.org/licenses/MIT. #include "gb/base/validated_context.h" #include <sstream> #include "absl/strings/str_cat.h" #include "glog/logging.h" namespace gb {...
30.478448
80
0.648706
[ "vector" ]
9af88f3949b3b295e7eab6de0d61527e1495292a
1,634
cpp
C++
src/execution/seq_scan_executor.cpp
xiaohuanlin/private-bustub
189c621343e30fc51011edfc29809ed91c5fbd55
[ "MIT" ]
1
2021-03-26T16:05:02.000Z
2021-03-26T16:05:02.000Z
src/execution/seq_scan_executor.cpp
xiaohuanlin/private-bustub
189c621343e30fc51011edfc29809ed91c5fbd55
[ "MIT" ]
null
null
null
src/execution/seq_scan_executor.cpp
xiaohuanlin/private-bustub
189c621343e30fc51011edfc29809ed91c5fbd55
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // // BusTub // // seq_scan_executor.cpp // // Identification: src/execution/seq_scan_executor.cpp // // Copyright (c) 2015-19, Carnegie Mellon University Database Group // //===---------------------------...
29.709091
92
0.566707
[ "vector" ]
b103d0fb3d8c533b4b4b3838f27202bdf92a46ab
1,008
hh
C++
CalorimeterGeom/inc/CaloIDMapper.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
CalorimeterGeom/inc/CaloIDMapper.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
CalorimeterGeom/inc/CaloIDMapper.hh
lborrel/Offline
db9f647bad3c702171ab5ffa5ccc04c82b3f8984
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
// // Contains code to convert SiPM ID into crystal ID and vice-versa // // conversion of crystal <-> readout id // readout_id = crystal_id*nSiPMPerCrystal ... crystal_id*nSiPMPerCrystal + nSiPMPerCrystal-1 // #ifndef CalorimeterGeom_CaloIDMapper_hh #define CalorimeterGeom_CaloIDMapper_hh #include "cetlib_except/ex...
27.243243
96
0.661706
[ "vector" ]
b104c9d8c4409a1342045198fe6fb8826395f63b
6,582
cpp
C++
Sources/FBClientServiceUI/LoginDlg.cpp
facebookarchive/ie-toolbar
cfcc1a8ffd6d6c7d8b1e12c8317ff728d2173cac
[ "Apache-2.0" ]
4
2016-05-12T23:53:32.000Z
2021-10-31T15:18:19.000Z
Sources/FBClientServiceUI/LoginDlg.cpp
facebookarchive/ie-toolbar
cfcc1a8ffd6d6c7d8b1e12c8317ff728d2173cac
[ "Apache-2.0" ]
null
null
null
Sources/FBClientServiceUI/LoginDlg.cpp
facebookarchive/ie-toolbar
cfcc1a8ffd6d6c7d8b1e12c8317ff728d2173cac
[ "Apache-2.0" ]
3
2015-01-10T18:23:22.000Z
2021-10-31T15:18:10.000Z
/** * Facebook Internet Explorer Toolbar Software License * Copyright (c) 2009 Facebook, Inc. * * 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 (which, together with any graphical images included ...
33.927835
97
0.732756
[ "object" ]
b10830dca94686a1d8dc024f666c692bbc8d80e6
5,456
cpp
C++
wallet/bitcoin_rpc.cpp
freenetcoder/beam
10d6174e01ed1d108eaf237971ea67704f5c4af4
[ "Apache-2.0" ]
4
2019-10-09T15:47:42.000Z
2021-09-15T07:42:56.000Z
wallet/bitcoin_rpc.cpp
freenetcoder/beam
10d6174e01ed1d108eaf237971ea67704f5c4af4
[ "Apache-2.0" ]
5
2020-06-15T14:30:42.000Z
2021-07-25T15:03:03.000Z
wallet/bitcoin_rpc.cpp
freenetcoder/beam
10d6174e01ed1d108eaf237971ea67704f5c4af4
[ "Apache-2.0" ]
8
2020-06-15T14:19:59.000Z
2021-02-06T06:09:12.000Z
// Copyright 2018 The Beam Team / Copyright 2019 The Grimm Team // // 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 b...
33.888199
188
0.608871
[ "vector" ]
b10954bb3bb3e7b842ce9cfb1c40285aa5183bb8
3,918
cpp
C++
dependencies/extrae/src/tracer/online/SpectralFilter.cpp
TANGO-Project/compss-tango
d9e007b6fe4f8337d4f267f95f383d8962602ab8
[ "Apache-2.0" ]
3
2018-03-05T14:52:22.000Z
2019-02-08T09:58:24.000Z
dependencies/extrae/src/tracer/online/SpectralFilter.cpp
TANGO-Project/compss-tango
d9e007b6fe4f8337d4f267f95f383d8962602ab8
[ "Apache-2.0" ]
1
2019-11-13T14:30:21.000Z
2019-11-13T14:30:21.000Z
dependencies/extrae/src/tracer/online/SpectralFilter.cpp
TANGO-Project/compss-tango
d9e007b6fe4f8337d4f267f95f383d8962602ab8
[ "Apache-2.0" ]
null
null
null
/*****************************************************************************\ * ANALYSIS PERFORMANCE TOOLS * * Extrae * * Instrumentation package for parallel applications * **...
35.618182
99
0.529096
[ "vector" ]
624f680dc6eb931f38731802ff578482113c5444
1,346
cc
C++
src/accepted/147.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
2
2019-09-07T17:00:26.000Z
2020-08-05T02:08:35.000Z
src/accepted/147.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
src/accepted/147.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
// Problem # : 147 // Created on : 2018-06-09 20:12:09 #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <algorithm> #include <bitset> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #includ...
18.438356
68
0.568351
[ "vector" ]
6254c382269b648259db6c6493c11113fd3c92fd
37,816
cpp
C++
src/postgres/backend/utils/adt/orderedsetaggs.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
6
2017-04-28T00:38:52.000Z
2018-11-06T07:06:49.000Z
src/postgres/backend/utils/adt/orderedsetaggs.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
57
2016-03-19T22:27:55.000Z
2017-07-08T00:41:51.000Z
src/postgres/backend/utils/adt/orderedsetaggs.cpp
eric-haibin-lin/pelotondb
904d6bbd041a0498ee0e034d4f9f9f27086c3cab
[ "Apache-2.0" ]
4
2016-07-17T20:44:56.000Z
2018-06-27T01:01:36.000Z
/*------------------------------------------------------------------------- * * orderedsetaggs.c * Ordered-set aggregate functions. * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * src/bac...
27.303971
103
0.69267
[ "object", "shape" ]
626066d47f0b5493296e245f76f216129a7de7f3
4,910
cpp
C++
tests/unit_test/graph_type_test.cpp
rxdu/libgraph
62aa1b0ab3f90e9dae98d0f11a2c6df002d74ff2
[ "MIT" ]
6
2018-03-14T19:37:56.000Z
2021-04-20T12:56:21.000Z
tests/unit_test/graph_type_test.cpp
rxdu/astar_search
62aa1b0ab3f90e9dae98d0f11a2c6df002d74ff2
[ "MIT" ]
3
2018-08-03T12:44:32.000Z
2021-01-24T14:38:43.000Z
tests/unit_test/graph_type_test.cpp
rxdu/astar_search
62aa1b0ab3f90e9dae98d0f11a2c6df002d74ff2
[ "MIT" ]
1
2018-03-14T19:37:59.000Z
2018-03-14T19:37:59.000Z
/* * graph_iter_test.cpp * * Created on: Mar 13, 2018 12:26 * Description: * * Copyright (c) 2018 Ruixiang Du (rdu) */ #include <stdio.h> #include <vector> #include <memory> #include "gtest/gtest.h" #include "graph/graph.hpp" using namespace rdu; struct TestState { TestState(uint64_t id) : id_(id){}; i...
34.822695
77
0.62831
[ "vector" ]
62655f1c4a6738889b9947ef314918e6c16e609a
7,554
cpp
C++
FastCAE_Linux/Code/HeuDataSrcIO/PipelineObjProp.cpp
alleindrach/calculix-desktop
2cb2c434b536eb668ff88bdf82538d22f4f0f711
[ "MIT" ]
23
2020-03-16T03:01:43.000Z
2022-03-21T16:36:22.000Z
FastCAE_Linux/Code/HeuDataSrcIO/PipelineObjProp.cpp
alleindrach/calculix-desktop
2cb2c434b536eb668ff88bdf82538d22f4f0f711
[ "MIT" ]
1
2020-03-17T05:50:07.000Z
2020-03-17T05:50:07.000Z
FastCAE_Linux/Code/HeuDataSrcIO/PipelineObjProp.cpp
alleindrach/calculix-desktop
2cb2c434b536eb668ff88bdf82538d22f4f0f711
[ "MIT" ]
17
2020-03-16T01:46:36.000Z
2022-03-21T16:36:37.000Z
#include "PipelineObjProp.h" PipelineObjProp::PipelineObjProp() { pipelineObj_base_propData.flag_grid_blocks = 0; pipelineObj_base_propData.flag_show_actors = true; pipelineObj_base_propData.count_total_child = 0; pipelineObj_base_propData.obj_id = 0; pipelineObj_base_propData.count_clip = 0; pipeli...
40.180851
87
0.804607
[ "model", "3d" ]
6265d5a715120b035eb5632ea48b2debe3895611
7,284
cpp
C++
Source/JxCommon.cpp
JamesBoer/Jinx
4012cd9f5e532bdedb76a019588ac7adbe32e6d6
[ "MIT" ]
210
2016-07-08T23:50:26.000Z
2022-03-28T21:44:38.000Z
Source/JxCommon.cpp
JamesBoer/Jinx
4012cd9f5e532bdedb76a019588ac7adbe32e6d6
[ "MIT" ]
19
2017-12-31T00:07:54.000Z
2022-03-28T02:30:04.000Z
Source/JxCommon.cpp
JamesBoer/Jinx
4012cd9f5e532bdedb76a019588ac7adbe32e6d6
[ "MIT" ]
10
2017-07-08T05:07:06.000Z
2021-08-17T15:56:24.000Z
/* The Jinx library is distributed under the MIT License (MIT) https://opensource.org/licenses/MIT See LICENSE.TXT or Jinx.h for license details. Copyright (c) 2016 James Boer */ #include "JxInternal.h" namespace Jinx { namespace Impl { struct HashData { char hs[16]; uint64_t h1; uint64_t h2; }; ...
22.481481
154
0.612301
[ "object" ]
626a30ebff8971981306f21d4bbd5c6e9be5de69
1,076
cpp
C++
ProjectEuler/euler076.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
ProjectEuler/euler076.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
ProjectEuler/euler076.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int MOD = 1e9+7; const int MAXN = 1000; typedef unsigned long long int ll; int main() { //ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int t,n,cur,remain; vector<vector<ll>> combinations; for(int i=0; i<=MAXN; i++) { ...
26.9
78
0.548327
[ "vector" ]
626cebdc81dbbae4cf6b056a4d46af7aff5dcc01
2,853
cpp
C++
TG/bookcodes/ch5/uva10779.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
TG/bookcodes/ch5/uva10779.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
TG/bookcodes/ch5/uva10779.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa10779 Collector's Problem // Rujia Liu #include<cstdio> #include<cstring> #include<queue> #include<vector> #include<algorithm> using namespace std; const int maxn = 100 + 10; const int INF = 1000000000; struct Edge { int from, to, cap, flow; }; bool operator < (const Edge& a, const Edge& b) { return a.from...
23.578512
76
0.461619
[ "vector" ]
626dec222759e2c424da9c68023abf0875c5c1cf
5,813
cpp
C++
aws-cpp-sdk-transcribestreaming/source/model/StartStreamTranscriptionRequest.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-transcribestreaming/source/model/StartStreamTranscriptionRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-transcribestreaming/source/model/StartStreamTranscriptionRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/transcribestreaming/model/StartStreamTranscriptionRequest.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <utility> usin...
31.085561
168
0.754688
[ "model" ]
6272050244fd0ee43f063f443f49bee300b2a961
1,040
cpp
C++
src/yars/physics/bullet/OrientationSensor.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
4
2017-08-05T03:33:21.000Z
2021-11-08T09:15:42.000Z
src/yars/physics/bullet/OrientationSensor.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
null
null
null
src/yars/physics/bullet/OrientationSensor.cpp
kzahedi/YARS
48d9fe4178d699fba38114d3b299a228da41293d
[ "MIT" ]
1
2019-03-24T08:35:25.000Z
2019-03-24T08:35:25.000Z
#include "OrientationSensor.h" #include <math.h> OrientationSensor::OrientationSensor(DataGenericOrientationSensor *data, Robot *robot) : Sensor(data->name(), data->object(), robot) { _data = data; } OrientationSensor::~OrientationSensor() { } void OrientationSensor::prePhysicsUpdate() { } void OrientationSens...
27.368421
109
0.693269
[ "object" ]
627db643dad591d2b2ee87657d9e12140c1a5c11
4,396
cpp
C++
src/main.cpp
yasenh/lidar-object-detection
3cd4e8800b92af4d9472b97e41842fb807dcc229
[ "MIT" ]
31
2019-07-01T05:02:16.000Z
2022-03-31T20:53:58.000Z
src/main.cpp
yasenh/lidar-object-detection
3cd4e8800b92af4d9472b97e41842fb807dcc229
[ "MIT" ]
null
null
null
src/main.cpp
yasenh/lidar-object-detection
3cd4e8800b92af4d9472b97e41842fb807dcc229
[ "MIT" ]
20
2019-06-03T04:17:58.000Z
2022-03-21T12:19:00.000Z
/* \author Aaron Brown */ // Create simple 3d highway environment using PCL // for exploring self-driving car sensors /** * Developer: Yasen Hu * Date: 05/25/2019 */ #include "render/render.h" #include "processPointClouds.h" // using templates for processPointClouds so also include .cpp to help linker #include "pr...
38.226087
174
0.680846
[ "render", "vector", "3d" ]
627eca357bbb2cee9df3a825ec4ddeb6dc1d43b9
17,743
cpp
C++
WrecklessEngine/EditorLayer.cpp
ThreadedStream/WrecklessEngine
735ac601914c2445b8eef72a14ec0fcd4d0d12d2
[ "MIT" ]
9
2021-02-07T21:33:41.000Z
2022-03-20T18:48:06.000Z
WrecklessEngine/EditorLayer.cpp
ThreadedStream/WrecklessEngine
735ac601914c2445b8eef72a14ec0fcd4d0d12d2
[ "MIT" ]
null
null
null
WrecklessEngine/EditorLayer.cpp
ThreadedStream/WrecklessEngine
735ac601914c2445b8eef72a14ec0fcd4d0d12d2
[ "MIT" ]
4
2021-02-11T15:05:35.000Z
2022-02-20T15:26:35.000Z
#include "EditorLayer.h" #include "ImGui/imgui.h" #include "KeyCode.h" #include "ImGui/ImGuizmo.h" #include "Renderer.h" #include "FileDialog.h" #include "FileHelper.h" #include "GlobalClock.h" #include "ImGuiLogger.h" #include "Manipulators.h" #include "Application.h" #include "VanillaPass.h" #include "ShadowPass.h" ...
36.433265
229
0.710646
[ "mesh", "model", "transform" ]