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
42c83341197feafa97d7aabb293f15d88d120486
11,186
cpp
C++
src/debug.cpp
luizschonarth/JVM-8
b828d1e12072b71cbadeb924b7b13661d300f798
[ "MIT" ]
null
null
null
src/debug.cpp
luizschonarth/JVM-8
b828d1e12072b71cbadeb924b7b13661d300f798
[ "MIT" ]
24
2022-03-12T18:38:22.000Z
2022-03-28T00:29:03.000Z
src/debug.cpp
luizschonarth/JVM-8
b828d1e12072b71cbadeb924b7b13661d300f798
[ "MIT" ]
null
null
null
#include "../include/bytecode.hpp" #include "../include/dump_class_file.hpp" #include <iostream> using namespace std; extern ofstream outfile; /** * @brief Dumps the information about the bipush instruction * @param code_index the current index of the bytecode * @param constant_pool the class constant pool * @par...
35.398734
111
0.665922
[ "vector" ]
42d80f48205f2e5bbd5ab590f54f39d16fc8e9a1
3,061
cpp
C++
test/test_outpoint.cpp
ko-matsu/cfd-core
ad07f210cfefe7838a6eaf4ce0e13a27c0d6167e
[ "MIT" ]
5
2019-10-12T11:05:26.000Z
2020-05-10T19:09:19.000Z
test/test_outpoint.cpp
ko-matsu/cfd-core
ad07f210cfefe7838a6eaf4ce0e13a27c0d6167e
[ "MIT" ]
128
2019-10-02T06:33:49.000Z
2022-03-20T02:14:35.000Z
test/test_outpoint.cpp
p2pderivatives/cfd-core
399750cb1fa320f3b203092290ebb9f3ed4fe742
[ "MIT" ]
4
2019-10-22T07:59:43.000Z
2020-05-29T11:06:00.000Z
#include "gtest/gtest.h" #include <vector> #include "cfdcore/cfdcore_common.h" #include "cfdcore/cfdcore_transaction.h" #include "cfdcore/cfdcore_coin.h" #include "cfdcore/cfdcore_exception.h" using cfd::core::OutPoint; using cfd::core::Txid; using cfd::core::ByteData256; using cfd::core::CfdException; TEST(OutPoint...
31.556701
74
0.747795
[ "vector" ]
42d9af1fceecde0174eccef3c82d88d4ee4fdb28
2,745
hpp
C++
src/Enzo/enzo_EnzoMatrixLaplace.hpp
aoife-flood/enzo-e
ab8ebc4716fff22bed9f692daf0472ae6ffffe73
[ "BSD-3-Clause" ]
26
2019-02-12T19:39:13.000Z
2022-03-31T01:52:29.000Z
src/Enzo/enzo_EnzoMatrixLaplace.hpp
aoife-flood/enzo-e
ab8ebc4716fff22bed9f692daf0472ae6ffffe73
[ "BSD-3-Clause" ]
128
2019-02-13T20:22:30.000Z
2022-03-29T20:21:00.000Z
src/Enzo/enzo_EnzoMatrixLaplace.hpp
aoife-flood/enzo-e
ab8ebc4716fff22bed9f692daf0472ae6ffffe73
[ "BSD-3-Clause" ]
29
2019-02-12T19:37:51.000Z
2022-03-14T14:02:45.000Z
// See LICENSE_CELLO file for license and copyright information /// @file enzo_EnzoMatrixLaplace.hpp /// @author James Bordner (jobordner@ucsd.edu) /// @date 2015-04-02 /// @brief [\ref Compute] Declaration of the EnzoMatrixLaplace class #ifndef COMPUTE_MATRIX_LAPLACE_HPP #define COMPUTE_MATRIX_LAPLACE...
23.067227
103
0.612022
[ "vector" ]
42dd9283f11398d68404fe051bdec83682b9b66c
6,162
cpp
C++
src/SCCommon.cpp
BradyBrenot/screen_capture_lite
775d058408dcc393f632d2bf3483104d5d781432
[ "MIT" ]
3
2018-07-08T15:32:27.000Z
2019-11-08T16:50:55.000Z
src/SCCommon.cpp
BradyBrenot/screen_capture_lite
775d058408dcc393f632d2bf3483104d5d781432
[ "MIT" ]
null
null
null
src/SCCommon.cpp
BradyBrenot/screen_capture_lite
775d058408dcc393f632d2bf3483104d5d781432
[ "MIT" ]
1
2018-12-02T09:02:04.000Z
2018-12-02T09:02:04.000Z
#include "SCCommon.h" #include <algorithm> #include <assert.h> #include <chrono> #include <iostream> #include <string.h> namespace SL { namespace Screen_Capture { void SanitizeRects(std::vector<ImageRect> &rects, const Image &img) { for (auto &r : rects) { if (r.right > Width(img)) { ...
36.247059
111
0.519636
[ "vector" ]
42eed713ec705cdcd6f90ace96956d8163f98c59
28,017
cxx
C++
style/Style.cxx
myarchsource/openjade
e2bcc48e835c52b6665cedc680d6705b765be42d
[ "FTL" ]
1
2021-12-05T15:07:16.000Z
2021-12-05T15:07:16.000Z
style/Style.cxx
myarchsource/openjade
e2bcc48e835c52b6665cedc680d6705b765be42d
[ "FTL" ]
null
null
null
style/Style.cxx
myarchsource/openjade
e2bcc48e835c52b6665cedc680d6705b765be42d
[ "FTL" ]
null
null
null
// Copyright (c) 1996 James Clark // See the file copying.txt for copying permission. #include "stylelib.h" #include "Style.h" #include "VM.h" #include "Interpreter.h" #include "InterpreterMessages.h" #include "SosofoObj.h" #include "macros.h" #ifdef DSSSL_NAMESPACE namespace DSSSL_NAMESPACE { #endif StyleStack::Sty...
29.773645
94
0.607881
[ "vector" ]
0cd8ca3b7bfb1673460cbbfd2dca88393541adf9
2,217
cpp
C++
src/OpcUaStackCore/ServiceSetApplication/RegisterForwardNodeRequest.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
src/OpcUaStackCore/ServiceSetApplication/RegisterForwardNodeRequest.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
src/OpcUaStackCore/ServiceSetApplication/RegisterForwardNodeRequest.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
/* Copyright 2015-2017 Kai Huebl (kai@huebl-sgh.de) Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser Datei nur in Übereinstimmung mit der Lizenz erlaubt. Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0. Sofern nicht gemäß geltendem Recht vorge...
28.063291
90
0.680198
[ "object" ]
0cdd7b7c36cb39caf922d19a4afbf55e79bdf169
581
cpp
C++
array/leetcode_array/485_max_consecutive_ones.cpp
Hadleyhzy/data_structure_and_algorithm
0e610ba78dcb216323d9434a0f182756780ce5c0
[ "MIT" ]
1
2020-10-12T19:18:19.000Z
2020-10-12T19:18:19.000Z
array/leetcode_array/485_max_consecutive_ones.cpp
Hadleyhzy/data_structure_and_algorithm
0e610ba78dcb216323d9434a0f182756780ce5c0
[ "MIT" ]
null
null
null
array/leetcode_array/485_max_consecutive_ones.cpp
Hadleyhzy/data_structure_and_algorithm
0e610ba78dcb216323d9434a0f182756780ce5c0
[ "MIT" ]
1
2020-10-12T19:18:04.000Z
2020-10-12T19:18:04.000Z
// // 485_max_consecutive_ones.cpp // leetcode_array // // Created by Hadley on 20.04.20. // Copyright © 2020 Hadley. All rights reserved. // #include <stdio.h> #include <vector> #include <iostream> #include <unordered_map> using namespace std; class Solution { public: int findMaxConsecutiveOnes(vector<int>& ...
18.741935
51
0.53012
[ "vector" ]
0ce6d3a384e61b10368d87a77626905ae71cad58
1,642
cpp
C++
Rectangle.cpp
crackaf/paint-tool
7cc070a32d6c82f69577ec02898e572c5a598562
[ "MIT" ]
null
null
null
Rectangle.cpp
crackaf/paint-tool
7cc070a32d6c82f69577ec02898e572c5a598562
[ "MIT" ]
null
null
null
Rectangle.cpp
crackaf/paint-tool
7cc070a32d6c82f69577ec02898e572c5a598562
[ "MIT" ]
null
null
null
#include "Rectangle.h" My_Rectangle::My_Rectangle() { char name[] = "My_Rectangle"; type = new char[strlen(name) + 1]; strcpy_s(type, strlen(name) + 1, name); } My_Rectangle::My_Rectangle(double x1, double y1, double x2, double y2, int c) : My_Polygon(x1, y1, c) { char name[] = "My_Rectangle"; type = new char[...
27.366667
97
0.609622
[ "shape" ]
0cee47e2318e17ca5a99757439b0ea3fef251b44
591
cpp
C++
src/097.interleaving_string/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2016-07-02T17:44:10.000Z
2016-07-02T17:44:10.000Z
src/097.interleaving_string/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
null
null
null
src/097.interleaving_string/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2019-12-21T04:57:15.000Z
2019-12-21T04:57:15.000Z
class Solution { public: bool isInterleave(string s1, string s2, string s3) { int n = s1.length(), m = s2.length(); vector<vector<int> > dp(n + 1, vector<int>(m + 1, -1)); dp[0][0] = 0; for (int i = 0; i <= n; i++) { for (int j = 0; j <= m; j++) { if (i > ...
36.9375
110
0.368866
[ "vector" ]
0cf06f978ccdcd44e369a6137468deab9996d8c3
8,975
cpp
C++
Algo_Ds_Notes-master/Algo_Ds_Notes-master/Reversal_Linked_List/Reversal_Linked_List.cpp
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
Algo_Ds_Notes-master/Algo_Ds_Notes-master/Reversal_Linked_List/Reversal_Linked_List.cpp
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
Algo_Ds_Notes-master/Algo_Ds_Notes-master/Reversal_Linked_List/Reversal_Linked_List.cpp
rajatenzyme/Coding-Journey-
65a0570153b7e3393d78352e78fb2111223049f3
[ "MIT" ]
null
null
null
// All C headers have a C++ version, which should used instead - cstdlib is C++'s stdlib.h. #include <cstdlib> // contains EXIT_SUCCESS #include <memory> // contains std::unique_ptr #include <iostream> // contains std::cout, the console output stream, and its generalization std::ostream. #include <iterator> // contains...
67.992424
331
0.734262
[ "object" ]
0cf0cd23b30078433af39412a04f7d9aa1725a9f
1,728
cpp
C++
2020/Day07/day7part1.cpp
bkf2020/AOC
1df3ed1feed9ec1144e8097de00f9bf40938d4e4
[ "Unlicense" ]
null
null
null
2020/Day07/day7part1.cpp
bkf2020/AOC
1df3ed1feed9ec1144e8097de00f9bf40938d4e4
[ "Unlicense" ]
2
2021-02-03T03:30:43.000Z
2021-02-06T18:18:06.000Z
2020/Day07/day7part1.cpp
bkf2020/AOC
1df3ed1feed9ec1144e8097de00f9bf40938d4e4
[ "Unlicense" ]
null
null
null
#include <iostream> #include <string> #include <sstream> #include <vector> #include <map> using namespace std; void part1() { string line; map<string, vector<string>> bag_contain; // maps a bag to the bags it will contain map<string, bool> contain_shiny_gold; vector<string> all_bags; while(getline(cin, line)) {...
22.153846
93
0.581019
[ "vector" ]
4904f83962a4fbe1572700e1e08e74a4fa0b225e
1,794
cpp
C++
Dungeon template/Dungeon/Player.cpp
jasonsie88/OOP-and-DS
fdf76d6e9b3c70e5c7a97401dfe93984b63e5e28
[ "MIT" ]
null
null
null
Dungeon template/Dungeon/Player.cpp
jasonsie88/OOP-and-DS
fdf76d6e9b3c70e5c7a97401dfe93984b63e5e28
[ "MIT" ]
null
null
null
Dungeon template/Dungeon/Player.cpp
jasonsie88/OOP-and-DS
fdf76d6e9b3c70e5c7a97401dfe93984b63e5e28
[ "MIT" ]
null
null
null
#include "Player.h" Player:: Player(){}; Player:: Player(string name,int currentHealth,int MaxHealth,int attack ,int defense):GameCharacter(name,currentHealth,MaxHealth,attack,defense) { } void Player:: addItem(Item item){inventory.push_back(item);} void Player:: increaseStates(int healt...
40.772727
148
0.624861
[ "object", "vector" ]
4906654c001d4a96859497a293835b83046bc44a
6,513
cpp
C++
WebKit/Source/WebCore/platform/graphics/chromium/cc/CCTiledLayerImpl.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
1
2019-06-18T06:52:54.000Z
2019-06-18T06:52:54.000Z
WebKit/Source/WebCore/platform/graphics/chromium/cc/CCTiledLayerImpl.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
WebKit/Source/WebCore/platform/graphics/chromium/cc/CCTiledLayerImpl.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2011 Google Inc. 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 condit...
35.396739
211
0.692768
[ "transform" ]
490a13882bd9bf72eca234183653f662c4da7c4e
1,057
cpp
C++
easy/GRID.cpp
VasuGoel/codechef-problems
53951be4d2a5a507798fb83e25bdaa675f65077b
[ "MIT" ]
null
null
null
easy/GRID.cpp
VasuGoel/codechef-problems
53951be4d2a5a507798fb83e25bdaa675f65077b
[ "MIT" ]
null
null
null
easy/GRID.cpp
VasuGoel/codechef-problems
53951be4d2a5a507798fb83e25bdaa675f65077b
[ "MIT" ]
null
null
null
// // Created by Vasu Goel on 2/6/20. // #include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int t, n, i, j; cin >> t; while(t--) { cin >> n; char block; vector<vector<char>> grid; vector<vector<int>> val(n,...
25.166667
74
0.367077
[ "vector" ]
49103fa202d36c3008bc935317b5cb0ae53484e0
10,718
cpp
C++
software/MFrame/graphicalFunctions/matrix.cpp
mihaip/mscape
fc83fc85dc40e4f171d759a916073b299e360d87
[ "Apache-2.0" ]
null
null
null
software/MFrame/graphicalFunctions/matrix.cpp
mihaip/mscape
fc83fc85dc40e4f171d759a916073b299e360d87
[ "Apache-2.0" ]
null
null
null
software/MFrame/graphicalFunctions/matrix.cpp
mihaip/mscape
fc83fc85dc40e4f171d759a916073b299e360d87
[ "Apache-2.0" ]
null
null
null
#include "matrix.h" void IdentityMatrix(RGBMatrix matrix) { matrix[0][0] = 1.0; /* row 1 */ matrix[0][1] = 0.0; matrix[0][2] = 0.0; matrix[0][3] = 0.0; matrix[1][0] = 0.0; /* row 2 */ matrix[1][1] = 1.0; matrix[1][2] = 0.0; matrix[1][3] = 0.0; matrix[2][0]...
23.049462
98
0.524072
[ "vector", "transform", "3d" ]
49106db3b924825819e17ff9c1dccb0bcd73bd05
4,791
cpp
C++
src/compile_unit.cpp
mbmaier/asm-lisp
a09a1d53d324c6a2b177a02a6233cb71124fb768
[ "MIT" ]
null
null
null
src/compile_unit.cpp
mbmaier/asm-lisp
a09a1d53d324c6a2b177a02a6233cb71124fb768
[ "MIT" ]
null
null
null
src/compile_unit.cpp
mbmaier/asm-lisp
a09a1d53d324c6a2b177a02a6233cb71124fb768
[ "MIT" ]
1
2015-06-24T12:54:34.000Z
2015-06-24T12:54:34.000Z
#include "compile_unit.hpp" #include "module.hpp" #include "compilation_context.hpp" #include "parse_state.hpp" #include "parse.hpp" #include "error/compile_exception.hpp" #include "error/import_export_error.hpp" #include <boost/optional.hpp> #include <utility> #include <fstream> #include <iterator> #include <algori...
30.322785
122
0.642455
[ "vector" ]
4914eadde6dd53a5bb5b4abb220bbb70ef1cd282
1,955
cpp
C++
tc 160+/LotteryPyaterochka.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/LotteryPyaterochka.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/LotteryPyaterochka.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; double C(int n, int k) { int ret = 1; for (int i=0; i<k; ++i) { ret = ret*(n-i)/(i+1); } return double(re...
33.706897
315
0.562148
[ "vector" ]
4919207f142e8bd4b3ee98a1dd89e489f63b64d6
7,339
cxx
C++
samples/boid.cxx
rita0222/FK
bc5786a5da0dd732e2f411c1a953b331323ee432
[ "BSD-3-Clause" ]
4
2020-05-15T03:43:53.000Z
2021-06-05T16:21:31.000Z
samples/boid.cxx
rita0222/FK
bc5786a5da0dd732e2f411c1a953b331323ee432
[ "BSD-3-Clause" ]
1
2020-05-19T09:27:16.000Z
2020-05-21T02:12:54.000Z
samples/boid.cxx
rita0222/FK
bc5786a5da0dd732e2f411c1a953b331323ee432
[ "BSD-3-Clause" ]
null
null
null
#include <FK/FK.h> #include <memory> using namespace std; using namespace FK; // エージェント用クラス class Agent { private: unique_ptr<fk_Model> model; fk_Vector newVec; public: Agent(void); fk_Vector getPos(void); void setVec(fk_Vector); fk_Vector getVec(void); void setShape(fk_Shape *); void entry(fk_AppWindow ...
24.545151
86
0.654313
[ "vector", "model" ]
4920eb1516481e17fc44c9890345a75715c4e0c4
4,718
cpp
C++
PLatformner/Motor2D/j2MainMenu.cpp
AdrianFR99/Raider-of-the-Lost-World
6684f25ad98a9870a4b02767c1912e0984b6ccd5
[ "MIT" ]
1
2020-06-07T14:41:18.000Z
2020-06-07T14:41:18.000Z
PLatformner/Motor2D/j2MainMenu.cpp
AdrianFR99/Raider-of-the-Lost-World
6684f25ad98a9870a4b02767c1912e0984b6ccd5
[ "MIT" ]
null
null
null
PLatformner/Motor2D/j2MainMenu.cpp
AdrianFR99/Raider-of-the-Lost-World
6684f25ad98a9870a4b02767c1912e0984b6ccd5
[ "MIT" ]
null
null
null
#include "j1App.h" #include "j2MainMenu.h" #include "p2Log.h" #include "j1Audio.h" #include "j1Textures.h" #include "j1Render.h" #include "j1FadeToBlack.h" #include "j1Scene.h" #include "j2EntityManager.h" #include "ElementGUI.h" #include "j1Input.h" #include "PugiXml/src/pugixml.hpp" j2MainMenu::j2MainMenu() { name...
20.513043
117
0.671683
[ "render" ]
49219f816f0a1528a4434ccdeb3fe878ad8c5948
12,778
cpp
C++
native/src/snappyclient/cpp/ResultSet.cpp
SnappyDataInc/snappy-store
8f6a4b80fa14ffd0683752a03eeab311b545fbbd
[ "Apache-2.0" ]
38
2016-01-04T01:31:40.000Z
2020-04-07T06:35:36.000Z
native/src/snappyclient/cpp/ResultSet.cpp
SnappyDataInc/snappy-store
8f6a4b80fa14ffd0683752a03eeab311b545fbbd
[ "Apache-2.0" ]
261
2016-01-07T09:14:26.000Z
2019-12-05T10:15:56.000Z
native/src/snappyclient/cpp/ResultSet.cpp
SnappyDataInc/snappy-store
8f6a4b80fa14ffd0683752a03eeab311b545fbbd
[ "Apache-2.0" ]
22
2016-03-09T05:47:09.000Z
2020-04-02T17:55:30.000Z
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
31.945
80
0.67851
[ "object", "vector" ]
492f1cfdc40547b295a7b68acb7fcb736522dde8
47,272
cpp
C++
tests/tests/block_tests.cpp
soundac/SounDAC-Source
56bf367c1ac78fd71d16efd63affa5c293c674f7
[ "BSD-2-Clause" ]
2
2018-10-07T11:46:51.000Z
2019-05-07T09:51:44.000Z
tests/tests/block_tests.cpp
soundac/SounDAC-Source
56bf367c1ac78fd71d16efd63affa5c293c674f7
[ "BSD-2-Clause" ]
26
2018-08-20T13:03:25.000Z
2019-10-02T19:42:00.000Z
tests/tests/block_tests.cpp
soundac/SounDAC-Source
56bf367c1ac78fd71d16efd63affa5c293c674f7
[ "BSD-2-Clause" ]
7
2018-08-23T13:53:11.000Z
2020-10-16T06:48:41.000Z
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the...
38.843057
158
0.673253
[ "vector" ]
4931fad7cbdfbf9fd133995eeea320326a4ad036
464
hpp
C++
libraries/manifest/include/steemit/manifest/plugins.hpp
sergeyrizan/botchain-bot
5e8081c79070ac43661c21fc8a86f34afade6b17
[ "Unlicense" ]
null
null
null
libraries/manifest/include/steemit/manifest/plugins.hpp
sergeyrizan/botchain-bot
5e8081c79070ac43661c21fc8a86f34afade6b17
[ "Unlicense" ]
null
null
null
libraries/manifest/include/steemit/manifest/plugins.hpp
sergeyrizan/botchain-bot
5e8081c79070ac43661c21fc8a86f34afade6b17
[ "Unlicense" ]
null
null
null
#pragma once #include <memory> #include <string> #include <vector> namespace steemit { namespace app { class abstract_plugin; class application; } } namespace steemit { namespace plugin { void initialize_plugin_factories(); std::shared_ptr<steemit::app::abstract_plug...
16
126
0.661638
[ "vector" ]
4936b072ecbb3aaa74adaf87089834126cf14082
5,910
cpp
C++
Doom/src/Doom/Components/Transform.cpp
Shturm0weak/OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
126
2020-10-20T21:39:53.000Z
2022-01-25T14:43:44.000Z
Doom/src/Doom/Components/Transform.cpp
Shturm0weak/2D_OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
2
2021-01-07T17:29:19.000Z
2021-08-14T14:04:28.000Z
Doom/src/Doom/Components/Transform.cpp
Shturm0weak/2D_OpenGL_Engine
6e6570f8dd9000724274942fff5a100f0998b780
[ "MIT" ]
16
2021-01-09T09:08:40.000Z
2022-01-25T14:43:46.000Z
#include "../pch.h" #include "Transform.h" #include "../Core/EventSystem.h" #include "../Objects/GameObject.h" #include "../Core/ViewPort.h" #include "../Core/Timer.h" #include "../Core/Utils.h" #define GLM_ENABLE_EXPERIMENTAL #include "glm/gtx/quaternion.hpp" #include "Rays/Ray3D.h" using namespace Doom; Doom::Trans...
30.307692
171
0.715905
[ "transform" ]
494152fc03c688fa39a59e7a502b5abc0170c6ee
14,472
cpp
C++
cudaaligner/src/aligner_global_myers_banded.cpp
ohadmo/GenomeWorks
b4b8bf76ea2ce44452d3a1107e66d47968414adb
[ "Apache-2.0" ]
1
2020-08-07T18:18:58.000Z
2020-08-07T18:18:58.000Z
cudaaligner/src/aligner_global_myers_banded.cpp
ohadmo/GenomeWorks
b4b8bf76ea2ce44452d3a1107e66d47968414adb
[ "Apache-2.0" ]
null
null
null
cudaaligner/src/aligner_global_myers_banded.cpp
ohadmo/GenomeWorks
b4b8bf76ea2ce44452d3a1107e66d47968414adb
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2020 NVIDIA 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
41.230769
197
0.722844
[ "vector", "transform" ]
4941d38f37b2ac376c8e6a13efb35f1b5e06c2b3
9,066
cpp
C++
cpplox/memory.cpp
HUNTINGHOUND/cpplox
ae3a53a1f70daf58322c1116d9e2565fc4880469
[ "MIT" ]
1
2021-07-03T08:42:46.000Z
2021-07-03T08:42:46.000Z
cpplox/memory.cpp
HUNTINGHOUND/cpplox
ae3a53a1f70daf58322c1116d9e2565fc4880469
[ "MIT" ]
null
null
null
cpplox/memory.cpp
HUNTINGHOUND/cpplox
ae3a53a1f70daf58322c1116d9e2565fc4880469
[ "MIT" ]
null
null
null
#include "memory.hpp" #include "chunk.hpp" #include "debug.hpp" #include "compiler.hpp" #include "valuearray.hpp" #include "flags.hpp" #ifdef NAN_BOXING #include "nanvalue.hpp" #else #include "value.hpp" #endif void freeObjects(VM* vm) { Obj* object = vm->objects; while (object != nullptr) { Obj* nex...
33.208791
172
0.547209
[ "object" ]
494a5091a0cf5a9e93afc61fd68d567120ea71ac
4,102
hpp
C++
include/VROSC/UIColorPicker_UIColorPickerData.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/VROSC/UIColorPicker_UIColorPickerData.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/VROSC/UIColorPicker_UIColorPickerData.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: VROSC.UIColorPicker #include "VROSC...
50.641975
191
0.742565
[ "vector" ]
4956cc110f247fd2642fb0e375347d538b81d071
14,731
hpp
C++
include/meck/font.hpp
edlund/libmeck
d4091db96d3ba5b4006d4166da4000a47a302a46
[ "RSA-MD" ]
1
2016-05-17T12:39:59.000Z
2016-05-17T12:39:59.000Z
include/meck/font.hpp
edlund/libmeck
d4091db96d3ba5b4006d4166da4000a47a302a46
[ "RSA-MD" ]
null
null
null
include/meck/font.hpp
edlund/libmeck
d4091db96d3ba5b4006d4166da4000a47a302a46
[ "RSA-MD" ]
null
null
null
/* meck - Mediocre (Entertainment Creation Kit) * Copyright(c) 2016, Erik Edlund <erik.edlund@32767.se> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the abov...
21.134864
78
0.687055
[ "vector" ]
4957ca34cddcb98fd74edaa6ec1a8e847c408d11
2,822
hpp
C++
Axis.CommonLibrary/application/output/CollectorChain.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.CommonLibrary/application/output/CollectorChain.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.CommonLibrary/application/output/CollectorChain.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "AxisString.hpp" #include "foundation/collections/Collectible.hpp" namespace axis { namespace services { namespace messaging { class ResultMessage; } } // namespace axis::services::messaging namespace application { namespace output { namespace recordsets { class ResultRe...
26.622642
90
0.676825
[ "object", "vector" ]
4958218e9793c3d1ed115f48dff5a152be45db6a
12,535
hpp
C++
core/include/pipepp/pipeline.hpp
kang-sw/pipepp
9ed511504a6ef7bdfb1795fc60d920040e4546e3
[ "Apache-2.0" ]
null
null
null
core/include/pipepp/pipeline.hpp
kang-sw/pipepp
9ed511504a6ef7bdfb1795fc60d920040e4546e3
[ "Apache-2.0" ]
1
2021-06-15T01:05:40.000Z
2021-07-01T14:05:22.000Z
core/include/pipepp/pipeline.hpp
kang-sw/pipepp
9ed511504a6ef7bdfb1795fc60d920040e4546e3
[ "Apache-2.0" ]
1
2021-06-07T01:55:29.000Z
2021-06-07T01:55:29.000Z
#pragma once #include <algorithm> #include <functional> #include <memory> #include <typeinfo> #include "kangsw/helpers/misc.hxx" #include "kangsw/thread/thread_pool.hxx" #include "nlohmann/json_fwd.hpp" #include "pipepp/pipe.hpp" namespace pipepp { namespace detail { class pipeline_base : public std::enable_shared_fr...
35.610795
186
0.63566
[ "object", "vector" ]
4959d7b5e01d3f59f1c1a5617efccd9a11f3c9d3
3,241
cpp
C++
src/model/game/matrix.cpp
vanderpluijmg/tetris_cpp
e7f8f5dfe1eba6bf97caeb0c10e371e9431e5068
[ "MIT" ]
null
null
null
src/model/game/matrix.cpp
vanderpluijmg/tetris_cpp
e7f8f5dfe1eba6bf97caeb0c10e371e9431e5068
[ "MIT" ]
null
null
null
src/model/game/matrix.cpp
vanderpluijmg/tetris_cpp
e7f8f5dfe1eba6bf97caeb0c10e371e9431e5068
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2022 Andrew SASSOYE, Constantin GUNDUZ, Gregory VAN DER PLUIJM, // Thomas LEUTSCHER // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restrictio...
33.760417
80
0.664301
[ "vector", "model" ]
495b727b1e3ff379105acd7502a59555b11a7a06
5,518
cpp
C++
Source/Cell.cpp
yuhongyi/HazelEngine
fad6eb1f42ad7ac06b8a0e9e2d3154147b3a7c9c
[ "MIT" ]
null
null
null
Source/Cell.cpp
yuhongyi/HazelEngine
fad6eb1f42ad7ac06b8a0e9e2d3154147b3a7c9c
[ "MIT" ]
null
null
null
Source/Cell.cpp
yuhongyi/HazelEngine
fad6eb1f42ad7ac06b8a0e9e2d3154147b3a7c9c
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Cell.h" #include "Grid.h" #include "ImageResource.h" #include "ResourceManager.h" Cell::Cell(Grid* parentGrid): mPrevCellState(CellState::Idle), mCellState(CellState::Idle), mFallingSpeed(0.f), mCellBelow(nullptr), mParentGrid(parentGrid), mVBResource(nullptr) { mVBResource = new ...
19.920578
108
0.720188
[ "render" ]
495ee2efbffcff76e8f3d6f5a1f957f6e4f5bec3
13,463
cpp
C++
tests/utilities/20.auto.ptr.cpp
isabella232/stdcxx
b0b0cab391b7b1f2d17ef4342aeee6b792bde63c
[ "Apache-2.0" ]
53
2015-01-13T05:46:43.000Z
2022-02-24T23:46:04.000Z
tests/utilities/20.auto.ptr.cpp
mann-patel/stdcxx
a22c5192f4b2a8b0b27d3588ea8f6d1faf8b037a
[ "Apache-2.0" ]
1
2021-11-04T12:35:39.000Z
2021-11-04T12:35:39.000Z
tests/utilities/20.auto.ptr.cpp
isabella232/stdcxx
b0b0cab391b7b1f2d17ef4342aeee6b792bde63c
[ "Apache-2.0" ]
33
2015-07-09T13:31:00.000Z
2021-11-04T12:12:20.000Z
/*************************************************************************** * * 20.autoptr.cpp - test exercising [lib.auto.ptr] * * $Id$ * *************************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license ...
28.952688
79
0.561019
[ "object" ]
4962460a7e497468f743998047f56812b6b785b4
2,340
cc
C++
adapters/omnetpp/seed/parser/distribution.cc
kit-tm/seed
c6d4eaffbe25615b396aeabeae7305b724260d92
[ "BSD-2-Clause" ]
null
null
null
adapters/omnetpp/seed/parser/distribution.cc
kit-tm/seed
c6d4eaffbe25615b396aeabeae7305b724260d92
[ "BSD-2-Clause" ]
null
null
null
adapters/omnetpp/seed/parser/distribution.cc
kit-tm/seed
c6d4eaffbe25615b396aeabeae7305b724260d92
[ "BSD-2-Clause" ]
null
null
null
#include "omnetpp.h" #include "distribution.h" #include "internal.h" bool parseArray( std::vector<std::string>& args, std::vector<std::pair<double, std::string>>& res ) { for (arg : args) { double number; std::string unit; if (!parseUnitNumber(arg, number, unit)) return false; ...
26
62
0.535043
[ "shape", "vector" ]
49670a9afa1c81b56db9a51bb5f164ca1d5a343a
8,946
cxx
C++
ds/security/tools/ksetup/strings.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/security/tools/ksetup/strings.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/security/tools/ksetup/strings.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ STRINGS.CXX Copyright (C) 1999 Microsoft Corporation, all rights reserved. DESCRIPTION: MultiString class Created, Dec 29, 1999 by DavidCHR. CONTENTS: CMULTISTRING WriteToRegistry ReadFromRegistry RemoveString AddString ~CMUL...
21.249406
81
0.501453
[ "vector" ]
4968db08442f92324f58698392ae6982b692db9a
29,475
cpp
C++
src/pcc/pcc_utility_manager.cpp
Alexyali/PCC-Uspace
30c2cfe1e276646aae03751b9df91889afea42dd
[ "BSD-3-Clause" ]
98
2018-04-10T22:14:45.000Z
2022-03-11T07:02:18.000Z
src/pcc/pcc_utility_manager.cpp
Alexyali/PCC-Uspace
30c2cfe1e276646aae03751b9df91889afea42dd
[ "BSD-3-Clause" ]
22
2018-04-10T13:53:33.000Z
2021-10-11T05:40:18.000Z
src/pcc/pcc_utility_manager.cpp
Alexyali/PCC-Uspace
30c2cfe1e276646aae03751b9df91889afea42dd
[ "BSD-3-Clause" ]
57
2018-05-18T14:30:23.000Z
2022-03-20T14:05:07.000Z
#include "pcc_utility_manager.h" #include "math.h" #include <assert.h> #include <iostream> //#include "third_party/pcc_quic/pcc_utility_manager.h" //#include "third_party/quic/core/congestion_control/rtt_stats.h" // namespace quic { namespace { const QuicByteCount kMaxPacketSize = 1500; // Number of bits per byte. ...
37.885604
80
0.718507
[ "transform" ]
496ed434b1662e04dd441ea75db8e91456c25825
1,688
cpp
C++
src/_leetcode/leet_102.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_102.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_102.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
/* * ====================== leet_102.cpp ========================== * -- tpr -- * CREATE -- 2020.05.04 * MODIFY -- * ---------------------------------------------------------- * 102. 二叉树的层序遍历 */ #include "innL...
23.444444
65
0.437204
[ "vector" ]
49711a26e34396abb72779e35d38de169f91aae0
49,083
cc
C++
ompi/contrib/vt/vt/tools/vtunify/vt_unify_defs.cc
ystk/debian-openmpi
cea6f8a27c406a30cfa81d49ab479d3f67a58878
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
ompi/contrib/vt/vt/tools/vtunify/vt_unify_defs.cc
ystk/debian-openmpi
cea6f8a27c406a30cfa81d49ab479d3f67a58878
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
ompi/contrib/vt/vt/tools/vtunify/vt_unify_defs.cc
ystk/debian-openmpi
cea6f8a27c406a30cfa81d49ab479d3f67a58878
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
/** * VampirTrace * http://www.tu-dresden.de/zih/vampirtrace * * Copyright (c) 2005-2008, ZIH, TU Dresden, Federal Republic of Germany * * Copyright (c) 1998-2005, Forschungszentrum Juelich, Juelich Supercomputing * Centre, Federal Republic of Germany * * See the file COPYING in the pa...
28.889347
96
0.65593
[ "vector" ]
4973de506720937c4cd2de59c09eab681a5d2f8c
17,727
cc
C++
src/encode.cc
lemire/zuckerli
0da1f46d58d848eedf4bf875cbf93b35f3f84712
[ "Apache-2.0" ]
26
2020-09-05T13:05:17.000Z
2021-05-14T08:37:19.000Z
src/encode.cc
lemire/zuckerli
0da1f46d58d848eedf4bf875cbf93b35f3f84712
[ "Apache-2.0" ]
1
2021-01-20T04:41:20.000Z
2021-01-20T14:51:45.000Z
src/encode.cc
google/zuckerli
44f54f2e8739ad68f6d78aff97470800c0c7aedb
[ "Apache-2.0" ]
6
2020-10-13T17:12:02.000Z
2021-10-15T11:22:26.000Z
#include "encode.h" #include <math.h> #include <algorithm> #include <chrono> #include <numeric> #include "ans.h" #include "checksum.h" #include "common.h" #include "context_model.h" #include "huffman.h" #include "integer_coder.h" #include "absl/flags/flag.h" #include "uncompressed_graph.h" ABSL_FLAG(bool, print_bit...
33.134579
80
0.565239
[ "vector" ]
4975dcbf537bfbb4f9dd6717d9ee8cb4e1596291
3,951
cc
C++
src/Helpers.cc
philberty/overflow
7370cd4d145f290c32a8c020ae849241ac9b1082
[ "MIT" ]
4
2020-03-27T21:17:06.000Z
2022-02-11T15:20:17.000Z
src/Helpers.cc
philberty/overflow
7370cd4d145f290c32a8c020ae849241ac9b1082
[ "MIT" ]
null
null
null
src/Helpers.cc
philberty/overflow
7370cd4d145f290c32a8c020ae849241ac9b1082
[ "MIT" ]
null
null
null
// -*-c++-*- // Copyright (c) 2017 Philip Herron. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, m...
31.357143
89
0.579094
[ "vector" ]
4977625357bacb66a9e95413665453ffb0b278d9
36,604
cpp
C++
src/terminal/Screen.cpp
3n16m4/contour
f9b98e1bc186c59b7f23526b8568bc733cebe47a
[ "Apache-2.0" ]
null
null
null
src/terminal/Screen.cpp
3n16m4/contour
f9b98e1bc186c59b7f23526b8568bc733cebe47a
[ "Apache-2.0" ]
null
null
null
src/terminal/Screen.cpp
3n16m4/contour
f9b98e1bc186c59b7f23526b8568bc733cebe47a
[ "Apache-2.0" ]
null
null
null
/** * This file is part of the "libterminal" project * Copyright (c) 2019-2020 Christian Parpart <christian@parpart.family> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * Unless required by applicable law or agreed to i...
29.073868
134
0.624577
[ "render", "shape", "vector" ]
21b2589a00e34f399dd12719c3902f971af203d3
591
cc
C++
src/counter_group.unknown.cc
rayglover-ibm/cpu-perf-counters.js
3f578312bffdbcf30498c60a377d5d4fea97f7a3
[ "Apache-2.0" ]
null
null
null
src/counter_group.unknown.cc
rayglover-ibm/cpu-perf-counters.js
3f578312bffdbcf30498c60a377d5d4fea97f7a3
[ "Apache-2.0" ]
null
null
null
src/counter_group.unknown.cc
rayglover-ibm/cpu-perf-counters.js
3f578312bffdbcf30498c60a377d5d4fea97f7a3
[ "Apache-2.0" ]
null
null
null
#include "counter_group.h" #include <stdexcept> namespace node_perf_counters { struct counter_group::impl { }; /** ------------------------------------------------------------------------------------------- */ counter_group::counter_group(const std::vector<counter>&) : _pimpl{ new impl() } { ...
25.695652
102
0.536379
[ "vector" ]
21b59a9b0299344a8d21351fb774f0ff1ad1d6b6
436
cpp
C++
Notes/chap3/code/Q3/main.cpp
Alexbeast-CN/Notes2SLAM
43651d8548431b26538739cc3130d315de4d4f7f
[ "MIT" ]
null
null
null
Notes/chap3/code/Q3/main.cpp
Alexbeast-CN/Notes2SLAM
43651d8548431b26538739cc3130d315de4d4f7f
[ "MIT" ]
null
null
null
Notes/chap3/code/Q3/main.cpp
Alexbeast-CN/Notes2SLAM
43651d8548431b26538739cc3130d315de4d4f7f
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <Eigen/Core> #include <Eigen/Geometry> using namespace std; using namespace Eigen; int main(int argc, char const *argv[]) { // 证明1: cout << "证明1: " << endl; // 首先创建创建一个随机的四元数,并将其转变为旋转矩阵 Vector3d q = Vector3d::Random(); Isometry3d R = Isometry3d::Identi...
18.166667
66
0.587156
[ "geometry" ]
21b663eda0388f0144aaec08cf55e3dc841fa634
8,671
cxx
C++
Applications/DistanceTransform/niftkDistanceTransform.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
Applications/DistanceTransform/niftkDistanceTransform.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
Applications/DistanceTransform/niftkDistanceTransform.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
34.272727
155
0.662207
[ "object", "transform" ]
21b9f713f302ae53eff6f5599b74651b0fdfc089
1,079
cpp
C++
LeetCode/Tag/Breadth-first Search/cpp/1091.shortest-path-in-binary-matrix.cpp
pakosel/competitive-coding-problems
187a2f13725e06ab3301ae2be37f16fbec0c0588
[ "MIT" ]
17
2017-08-12T14:42:46.000Z
2022-02-26T16:35:44.000Z
LeetCode/Tag/Breadth-first Search/cpp/1091.shortest-path-in-binary-matrix.cpp
pakosel/competitive-coding-problems
187a2f13725e06ab3301ae2be37f16fbec0c0588
[ "MIT" ]
21
2019-09-20T07:06:27.000Z
2021-11-02T10:30:50.000Z
LeetCode/Tag/Breadth-first Search/cpp/1091.shortest-path-in-binary-matrix.cpp
pakosel/competitive-coding-problems
187a2f13725e06ab3301ae2be37f16fbec0c0588
[ "MIT" ]
21
2017-05-28T10:15:07.000Z
2021-07-20T07:19:58.000Z
class Solution { public: int shortestPathBinaryMatrix(vector<vector<int>>& grid) { if (grid[0][0] == 1) return -1; int n = grid.size(); if (n == 1) return 1; queue<tuple<int, int>> q; q.push({0, 0}); grid[0][0] = -1; int pathLen = 1, r, c; in...
30.828571
84
0.317887
[ "vector" ]
21c6e0dfef47a2a06a367ce32563696679aedb17
5,215
cpp
C++
build/linux-build/Sources/src/differ/data/RayCollisionHelper.cpp
5Mixer/GGJ20
a12a14d596ab150e8d96dda5a21defcd176f251f
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/differ/data/RayCollisionHelper.cpp
5Mixer/GGJ20
a12a14d596ab150e8d96dda5a21defcd176f251f
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/differ/data/RayCollisionHelper.cpp
5Mixer/GGJ20
a12a14d596ab150e8d96dda5a21defcd176f251f
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.5 #include <hxcpp.h> #ifndef INCLUDED_differ_data_RayCollision #include <hxinc/differ/data/RayCollision.h> #endif #ifndef INCLUDED_differ_data_RayCollisionHelper #include <hxinc/differ/data/RayCollisionHelper.h> #endif #ifndef INCLUDED_differ_math_Vector #include <hxinc/differ/math/Vector.h> #...
38.345588
202
0.772196
[ "vector" ]
21d25062e5227bfe5c4f01aaf0569fbce2a06bcc
471
cpp
C++
7-10-21/max_cons_ones.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
null
null
null
7-10-21/max_cons_ones.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
null
null
null
7-10-21/max_cons_ones.cpp
ahanavish/GDSC-DSA-Interview-Preparation
d6cfa402dbbe8ed4f5b96f51e2e0fc0e2eabbdaf
[ "MIT" ]
1
2021-11-29T06:10:48.000Z
2021-11-29T06:10:48.000Z
// https://leetcode.com/problems/max-consecutive-ones/ class Solution { public: int findMaxConsecutiveOnes(vector<int>& n) { int count=0, ans=0; for(int i=0; i<n.size(); i++) { if(n[i] == 1) count++; else { cout<<count; ...
22.428571
54
0.40552
[ "vector" ]
21d357ceb3d67506a1020c11255847bc7beec6fa
6,991
cpp
C++
libs/e_float/test/real/cases/test_case_00221_various_gamma_func.cpp
ckormanyos/e_float-2021
fac3eef3aa15cc5b74fb19135d6474396cbc6fa8
[ "BSL-1.0" ]
null
null
null
libs/e_float/test/real/cases/test_case_00221_various_gamma_func.cpp
ckormanyos/e_float-2021
fac3eef3aa15cc5b74fb19135d6474396cbc6fa8
[ "BSL-1.0" ]
10
2021-02-08T14:43:47.000Z
2021-03-17T15:12:27.000Z
libs/e_float/test/real/cases/test_case_00221_various_gamma_func.cpp
ckormanyos/e_float-2021
fac3eef3aa15cc5b74fb19135d6474396cbc6fa8
[ "BSL-1.0" ]
null
null
null
// Copyright Christopher Kormanyos 1999 - 2021. // 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) // This work is based on an earlier work: // "Algorithm 910: A Portable C++ Multiple-Precisio...
88.493671
431
0.839222
[ "vector" ]
21dc5391b8779f13fe5cc1435916a13e123b0626
872
cc
C++
Problem_27/main.cc
kmcdermo/Euler
f156020a1a3282db864b8125ad82e475b5af625f
[ "MIT" ]
null
null
null
Problem_27/main.cc
kmcdermo/Euler
f156020a1a3282db864b8125ad82e475b5af625f
[ "MIT" ]
null
null
null
Problem_27/main.cc
kmcdermo/Euler
f156020a1a3282db864b8125ad82e475b5af625f
[ "MIT" ]
null
null
null
#include "common.hh" static const long N = 100000; static const long a = 1000; static const long b = 1000; void makeSieve(std::vector<bool> & primes) { primes[0] = primes[1] = false; const long sqrtN = std::sqrt(N); for (long p = 2; p <= sqrtN; p++) { if (primes[p]) { for (long i = p*p; i <= N...
18.166667
56
0.5
[ "vector" ]
21de432784ac98963e949e742de68b9c4ed0114d
2,442
cc
C++
src/addon.cc
fivdi/node-addon-api-experiments
15b2f844882c702f20bb83be2d8948cec28c46ad
[ "MIT" ]
null
null
null
src/addon.cc
fivdi/node-addon-api-experiments
15b2f844882c702f20bb83be2d8948cec28c46ad
[ "MIT" ]
null
null
null
src/addon.cc
fivdi/node-addon-api-experiments
15b2f844882c702f20bb83be2d8948cec28c46ad
[ "MIT" ]
null
null
null
#include <unistd.h> #include <pthread.h> #include <uv.h> #include <napi.h> static uv_async_t async_g; static Napi::FunctionReference callback_ref_g; void DispatchEvent(uv_async_t* handle) { Napi::Env env = callback_ref_g.Env(); Napi::HandleScope scope(env); // TODO - If the callback throws how can it be handle...
24.178218
71
0.68018
[ "object" ]
21e789ae68a881449ac9bd350e80e6085b7c147f
1,317
cpp
C++
aoc/src/2018/day-5.cpp
DrPizza/advent-of-code-2017
bcba170e3ffececb9c5b29f3b0fa0193fa59dcf9
[ "Zlib" ]
2
2017-12-09T06:13:08.000Z
2017-12-18T12:15:08.000Z
aoc/src/2018/day-5.cpp
DrPizza/advent-of-code-2017
bcba170e3ffececb9c5b29f3b0fa0193fa59dcf9
[ "Zlib" ]
1
2018-01-03T17:46:56.000Z
2018-01-03T17:46:56.000Z
aoc/src/2018/day-5.cpp
DrPizza/advent-of-code
bcba170e3ffececb9c5b29f3b0fa0193fa59dcf9
[ "Zlib" ]
null
null
null
#include "stdafx.h" #include "problem.hpp" #include <fstream> #include <vector> #include <cctype> #include <range/v3/all.hpp> struct advent_2018_5 : problem { advent_2018_5() noexcept : problem(2018, 5) { } protected: std::string polymer; void prepare_input(std::ifstream& fin) override { std::getline(fin, p...
22.706897
133
0.558846
[ "vector", "transform" ]
21eeffac50aae16214ee799c6704968a14e34e4c
2,894
hh
C++
src/elle/factory.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
521
2016-02-14T00:39:01.000Z
2022-03-01T22:39:25.000Z
src/elle/factory.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
8
2017-02-21T11:47:33.000Z
2018-11-01T09:37:14.000Z
src/elle/factory.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
48
2017-02-21T10:18:13.000Z
2022-03-25T02:35:20.000Z
#pragma once #include <elle/Error.hh> #include <elle/memory.hh> #include <unordered_map> namespace elle { namespace _details { template <typename F> class Factory { public: using Type = decltype(std::declval<F>()()); Factory(F f) : _f(f) {} template <typename C> ...
22.434109
74
0.526952
[ "vector" ]
21ef646738c39aaeac1e6c5f49d0f9ea16d6a038
654
cpp
C++
Problemas/254 - Esquiando en Alaska/30 - Esquiando en Alaska/Source.cpp
Jackesgamero/-Solved-ACR-problems-
12fe74469f6d41c4947505f52898840093069b38
[ "MIT" ]
1
2021-02-24T17:41:37.000Z
2021-02-24T17:41:37.000Z
Problemas/254 - Esquiando en Alaska/30 - Esquiando en Alaska/Source.cpp
Jackesgamero/-Solved-ACR-problems-
12fe74469f6d41c4947505f52898840093069b38
[ "MIT" ]
null
null
null
Problemas/254 - Esquiando en Alaska/30 - Esquiando en Alaska/Source.cpp
Jackesgamero/-Solved-ACR-problems-
12fe74469f6d41c4947505f52898840093069b38
[ "MIT" ]
null
null
null
// Autor : Jaime Martinez Gamero #include <iostream> #include <vector> #include <algorithm> bool resuelveCaso() { int N; std::cin >> N; if (N == 0) return false; std::vector<int> alturas, esquis; int aux; for (size_t i = 0; i < N; ++i){ std::cin >> aux; alturas.push_back(aux); } for (size_t i = 0; i ...
14.863636
43
0.576453
[ "vector" ]
21ffeba82b64c2bec00441b22c4d9ca0f940a83f
2,050
cpp
C++
Sources/Elastos/External/alljoyn/src/org/alljoyn/bus/PropertiesChangedListener.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/External/alljoyn/src/org/alljoyn/bus/PropertiesChangedListener.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/External/alljoyn/src/org/alljoyn/bus/PropertiesChangedListener.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
32.539683
115
0.684878
[ "object" ]
1d0584a209dba2da147da7de5ba8037fbd01b4e0
10,753
cpp
C++
courses/coursera-sandiego-algorithms/algorithmic-toolbox/assignment004/placing_parentheses/placing_parentheses.cpp
xunilrj/sandbox
f92c12f83433cac01a885585e41c02bb5826a01f
[ "Apache-2.0" ]
7
2017-04-01T17:18:35.000Z
2022-01-12T05:23:23.000Z
courses/coursera-sandiego-algorithms/algorithmic-toolbox/assignment004/placing_parentheses/placing_parentheses.cpp
xunilrj/sandbox
f92c12f83433cac01a885585e41c02bb5826a01f
[ "Apache-2.0" ]
6
2020-05-24T13:36:50.000Z
2022-02-15T06:44:20.000Z
courses/coursera-sandiego-algorithms/algorithmic-toolbox/assignment004/placing_parentheses/placing_parentheses.cpp
xunilrj/sandbox
f92c12f83433cac01a885585e41c02bb5826a01f
[ "Apache-2.0" ]
2
2018-09-20T01:07:39.000Z
2019-02-22T14:55:38.000Z
#include <iostream> #include <cassert> #include <string> #include <sstream> #include <vector> #include <stack> #include <algorithm> #include <functional> #include <tuple> using std::vector; using std::string; using std::max; using std::min; template<typename T> void permutations(vector<T>& set, std::function<void(std...
25.006977
246
0.540686
[ "vector" ]
1d075ea7a0d82080149d3089a0e03d14d9c43c70
5,068
cpp
C++
gui/qubjson_test.cpp
Gurten/apitrace
e4ab1fee3eeb1f9f95a3b6f68339a0e5a87f5528
[ "MIT" ]
1,723
2015-01-08T19:10:21.000Z
2022-03-31T16:41:40.000Z
gui/qubjson_test.cpp
Gurten/apitrace
e4ab1fee3eeb1f9f95a3b6f68339a0e5a87f5528
[ "MIT" ]
471
2015-01-02T15:02:34.000Z
2022-03-26T17:54:10.000Z
gui/qubjson_test.cpp
Gurten/apitrace
e4ab1fee3eeb1f9f95a3b6f68339a0e5a87f5528
[ "MIT" ]
380
2015-01-22T19:06:32.000Z
2022-03-25T02:20:39.000Z
/************************************************************************** * * Copyright 2015 VMware, Inc * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software with...
31.283951
108
0.599842
[ "object" ]
1d0788af61d22e26742e490d1bd8b34b48339a5c
1,430
hpp
C++
iRODS/lib/api/include/structFileSync.hpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/lib/api/include/structFileSync.hpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
iRODS/lib/api/include/structFileSync.hpp
PlantandFoodResearch/irods
9dfe7ffe5aa0760b7493bd9392ea1270df9335d4
[ "BSD-3-Clause" ]
null
null
null
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to subStructFiles in the COPYRIGHT directory ***/ /* structFileSync.h */ #ifndef STRUCT_FILE_SYNC_HPP #define STRUCT_FILE_SYNC_HPP /* This is Object File I/O type API call */ #include "rods.hpp" #in...
29.791667
117
0.752448
[ "object" ]
1d0bba07ae9857a383eacfb911b5ebd15343ed27
3,534
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/IfcDirection.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
1
2018-10-23T09:43:07.000Z
2018-10-23T09:43:07.000Z
IfcPlusPlus/src/ifcpp/IFC4/IfcDirection.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/IfcDirection.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
/* -*-c++-*- IfcPlusPlus - www.ifcplusplus.com - Copyright (C) 2011 Fabian Gerold * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * in...
44.734177
220
0.744765
[ "vector", "model" ]
1d0e6c48f94248361d9d65a1ca7423d1961404b1
487
cpp
C++
luogu/p1508.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
luogu/p1508.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
luogu/p1508.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int n, m; cin >> n >> m; vector<vector<int>> dp(2, vector<int>(m+5)); int p = 0; for(int i = 0; i < n; i++) { for(int j = 1; j <= m; j++) { cin >> dp[p%2][j]; dp[p%2][j] += max(dp[(p+1)%2][j], max(dp[(p...
23.190476
87
0.390144
[ "vector" ]
1d1159d11178c05c83adf8a1b8438838a770f4af
7,049
cpp
C++
src/deng/camera/3d/fpp_cam_ev.cpp
inugami-dev64/Deng
ce7b05db57a9ee576293f3de28f9cc3a3255f5ca
[ "Apache-2.0" ]
5
2020-12-15T19:27:34.000Z
2021-12-15T17:00:36.000Z
src/deng/camera/3d/fpp_cam_ev.cpp
inugami-dev64/Deng
ce7b05db57a9ee576293f3de28f9cc3a3255f5ca
[ "Apache-2.0" ]
null
null
null
src/deng/camera/3d/fpp_cam_ev.cpp
inugami-dev64/Deng
ce7b05db57a9ee576293f3de28f9cc3a3255f5ca
[ "Apache-2.0" ]
null
null
null
/// NEKO: dynamic engine - small but powerful 2D and 3D game engine /// licence: Apache, see LICENCE file /// file: fpp_cam_ev.h - first person camera event class header /// author: Karl-Mihkel Ott #define __FPP_CAM_EV_CPP #include <deng/camera/3d/fpp_cam_ev.h> namespace deng { __FPPCameraEv::__FPPCameraEv ...
37.494681
155
0.633139
[ "3d" ]
1d14df99ea43998b10478c1755fdfa62c82adc9f
2,559
cc
C++
mediasoup-client/deps/webrtc/src/build/fuchsia/layout_test_proxy/layout_test_proxy.cc
skgwazap/mediasoup-client-android
474cffd75eeb3d25d515e7aca626a7e09180e99f
[ "MIT" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
mediasoup-client/deps/webrtc/src/build/fuchsia/layout_test_proxy/layout_test_proxy.cc
qq88797833/mediasoup-client-android
474cffd75eeb3d25d515e7aca626a7e09180e99f
[ "MIT" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
mediasoup-client/deps/webrtc/src/build/fuchsia/layout_test_proxy/layout_test_proxy.cc
qq88797833/mediasoup-client-android
474cffd75eeb3d25d515e7aca626a7e09180e99f
[ "MIT" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/message_loop/message_loop.h" #include "base/strings/string_number_conversions.h" #include "base/strings/stri...
32.807692
80
0.672138
[ "vector" ]
1d19359f07b47eba4bb7bd06f61e249d8bde5f62
7,747
hpp
C++
renderboi/window/enums.hpp
deqyra/GLSandbox
40d641ebbf6af694e8640a584d283876d128748c
[ "MIT" ]
null
null
null
renderboi/window/enums.hpp
deqyra/GLSandbox
40d641ebbf6af694e8640a584d283876d128748c
[ "MIT" ]
null
null
null
renderboi/window/enums.hpp
deqyra/GLSandbox
40d641ebbf6af694e8640a584d283876d128748c
[ "MIT" ]
null
null
null
#ifndef RENDERBOI__WINDOW__ENUMS_HPP #define RENDERBOI__WINDOW__ENUMS_HPP #include <string> #include <unordered_map> #include <vector> #include <renderboi/utilities/to_string.hpp> namespace Renderboi { namespace Window { namespace Input { namespace Mode { /// @brief Collectio...
25.996644
82
0.409707
[ "vector" ]
1d1cca109cdaed79d3ebbf34e921a88cea453c86
2,559
cpp
C++
Sources/LibRT/source/RTAnimationBones.cpp
Rominitch/MouCaLab
d8c24de479b1bc11509df8456e0071d394fbeab9
[ "Unlicense" ]
null
null
null
Sources/LibRT/source/RTAnimationBones.cpp
Rominitch/MouCaLab
d8c24de479b1bc11509df8456e0071d394fbeab9
[ "Unlicense" ]
null
null
null
Sources/LibRT/source/RTAnimationBones.cpp
Rominitch/MouCaLab
d8c24de479b1bc11509df8456e0071d394fbeab9
[ "Unlicense" ]
null
null
null
/// https://github.com/Rominitch/MouCaLab /// \author Rominitch /// \license No license #include "Dependencies.h" #include "LibRT/include/RTAnimationBones.h" namespace RT { void AnimationImporter::initialize(AnimationBonesSPtr animation) { MOUCA_PRE_CONDITION(!isNull() && !_animation); _animation = animati...
29.755814
201
0.695193
[ "geometry", "transform" ]
1d1e664677618b7413672243a4fa75d769a0c217
6,817
cpp
C++
src/main.cpp
nazo6/BSQuest-QuestDarthMaul
ce0aa1d266f1fed6341541000cfb82e77c465f3f
[ "MIT" ]
null
null
null
src/main.cpp
nazo6/BSQuest-QuestDarthMaul
ce0aa1d266f1fed6341541000cfb82e77c465f3f
[ "MIT" ]
null
null
null
src/main.cpp
nazo6/BSQuest-QuestDarthMaul
ce0aa1d266f1fed6341541000cfb82e77c465f3f
[ "MIT" ]
null
null
null
#include "../include/main.hpp" #include <dlfcn.h> #include "../customui/customui.hpp" int stop = 0; CustomUI::TextObject Maul; float grayScaleColor = 1.0f; Vector2 posOffset = {-41.3f, -16.9f}; float fontSize = 3.6f; bool leftHand; bool noArrows; void llog(const std::string &text) { Logger::get().info("[Que...
36.260638
117
0.646032
[ "transform" ]
918f50da8934e1e1a043e687f87c5df5858c47bb
6,104
cpp
C++
src/main.cpp
mushrom/softrend
eef6e8ef8cc32c04ea4371b4f59da4b68c4a754f
[ "MIT" ]
null
null
null
src/main.cpp
mushrom/softrend
eef6e8ef8cc32c04ea4371b4f59da4b68c4a754f
[ "MIT" ]
null
null
null
src/main.cpp
mushrom/softrend
eef6e8ef8cc32c04ea4371b4f59da4b68c4a754f
[ "MIT" ]
null
null
null
#include <softrend/backend/sdl.hpp> #include <softrend/render.hpp> #include <softrend/jobQueue.hpp> #include <softrend/cubeMesh.hpp> #include <softrend/attributes.hpp> #include <softrend/shader.hpp> #include <softrend/renderContext.hpp> #include <softrend/renderImpl.hpp> #include <chrono> #include <vector> #include <...
24.318725
85
0.614515
[ "render", "vector" ]
91a28451bc2a23958d86cdf7151a3cb08b60fd30
3,711
cc
C++
src/converter/SvgExporter.cc
jmvdwerf/FaBriCAD
522ab9b1a930539681dd255679a2a30471e014a4
[ "MIT" ]
null
null
null
src/converter/SvgExporter.cc
jmvdwerf/FaBriCAD
522ab9b1a930539681dd255679a2a30471e014a4
[ "MIT" ]
null
null
null
src/converter/SvgExporter.cc
jmvdwerf/FaBriCAD
522ab9b1a930539681dd255679a2a30471e014a4
[ "MIT" ]
null
null
null
#include <vector> #include "SvgExporter.h" namespace fabricad::converter { SvgExporter::SvgExporter() { createInitialFile = false; } box SvgExporter::determineEnvelope(fabricad::config::Blueprint* print) { box mBound(point(0,0),point(0,0)); for(auto& item: print->getLayers()) { std::...
29.927419
130
0.560496
[ "vector" ]
91a8641d6545ed5ee203bdfa5862859410c5b9de
579
cpp
C++
uva/12531.cpp
partho222/programming
98a87b6a04f39c343125cf5f0dd85e0f1c37d56c
[ "BSD-2-Clause" ]
null
null
null
uva/12531.cpp
partho222/programming
98a87b6a04f39c343125cf5f0dd85e0f1c37d56c
[ "BSD-2-Clause" ]
null
null
null
uva/12531.cpp
partho222/programming
98a87b6a04f39c343125cf5f0dd85e0f1c37d56c
[ "BSD-2-Clause" ]
null
null
null
#include <algorithm> #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <deque> #include <iostream> #include <list> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> ...
15.648649
33
0.509499
[ "vector" ]
91abcb51e3a67ec6c583ac5e173556928711dc00
3,316
cpp
C++
TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: nestea_client_i.cpp 91672 2010-09-08 18:44:58Z johnnyw $ #include "nestea_client_i.h" #include "tao/debug.h" #include "ace/Get_Opt.h" #include "ace/Read_Buffer.h" #include "ace/ACE.h" // Constructor. Nestea_Client_i::Nestea_Client_i (void) : server_key_ (ACE::strnew (ACE_TEXT("key0"))) , server_ (Nestea...
24.382353
70
0.522618
[ "object" ]
91ac44a64d419bad09e71d3a8e2605c870ae3db6
1,577
cpp
C++
StockfishFragmented/src/main/cpp/utils/jniutils.cpp
loloof64/StockfishParcelizedCompose
3975636005d64ea1395f201dfe75f722053a762a
[ "MIT" ]
null
null
null
StockfishFragmented/src/main/cpp/utils/jniutils.cpp
loloof64/StockfishParcelizedCompose
3975636005d64ea1395f201dfe75f722053a762a
[ "MIT" ]
null
null
null
StockfishFragmented/src/main/cpp/utils/jniutils.cpp
loloof64/StockfishParcelizedCompose
3975636005d64ea1395f201dfe75f722053a762a
[ "MIT" ]
null
null
null
/** * Laurent Bernabe - 2022 */ #include <jni.h> #include <vector> #include <string> namespace loloof64 { /* * Adapted from https://stackoverflow.com/a/19592062/662618 */ std::vector<std::string> nativeStringsArrayToStlVector( JNIEnv* env, jobject /* this */, jobjectAr...
30.921569
96
0.571972
[ "vector" ]
91b0fbde3fc64acb8d545d883c835bdab91044b7
47,880
cpp
C++
src/liquidappconfigwindow.cpp
Y2Z/liquid
f55fd3c6f8e9cf2f6f024df4499470945b06400f
[ "CC0-1.0" ]
5
2017-02-10T08:37:14.000Z
2022-03-27T23:52:56.000Z
src/liquidappconfigwindow.cpp
Y2Z/Liquid
f55fd3c6f8e9cf2f6f024df4499470945b06400f
[ "CC0-1.0" ]
87
2016-01-22T01:39:59.000Z
2022-01-04T01:17:30.000Z
src/liquidappconfigwindow.cpp
Y2Z/liquid
f55fd3c6f8e9cf2f6f024df4499470945b06400f
[ "CC0-1.0" ]
1
2017-04-20T20:14:00.000Z
2017-04-20T20:14:00.000Z
#include <QDir> #include <QNetworkCookie> #include <QWebEngineProfile> #include "liquid.hpp" #include "liquidappconfigwindow.hpp" #include "lqd.h" #include "mainwindow.hpp" LiquidAppConfigDialog::LiquidAppConfigDialog(QWidget* parent, QString liquidAppName) : QDialog(parent) { setWindowFlags(Qt::Window); liq...
40.30303
168
0.568484
[ "model" ]
91bbab9b703ffc316016572e45e62f97c409ac9a
3,709
cpp
C++
gui/helpers/QQuickExtraAnchors.cpp
Romain-Donze/QQmlTricks
a5179d9e7d67e3195f186a0d8630586cb88b49ec
[ "Unlicense" ]
3
2022-01-10T15:19:50.000Z
2022-01-28T07:55:16.000Z
gui/helpers/QQuickExtraAnchors.cpp
Romain-Donze/QQmlTricks
a5179d9e7d67e3195f186a0d8630586cb88b49ec
[ "Unlicense" ]
null
null
null
gui/helpers/QQuickExtraAnchors.cpp
Romain-Donze/QQmlTricks
a5179d9e7d67e3195f186a0d8630586cb88b49ec
[ "Unlicense" ]
null
null
null
#include "QQuickExtraAnchors.h" #include <QQmlProperty> QQuickExtraAnchors::QQuickExtraAnchors (QObject * parent) : QObject (parent) , m_topDock { Q_NULLPTR } , m_leftDock { Q_NULLPTR } , m_rightDock { Q_NULLPTR } , m_bottomDock { Q_NULLPTR } , m_verticalFill...
38.635417
113
0.611486
[ "object" ]
91c324dfaa90802bb717a1ec6b77d3c989483ef6
12,059
cc
C++
test-cderiv.cc
gilteunchoi/clstm
e87843c9f32345d899768d801a92871c210a8054
[ "Apache-2.0" ]
848
2015-01-16T13:16:28.000Z
2022-03-31T14:07:21.000Z
test-cderiv.cc
gilteunchoi/clstm
e87843c9f32345d899768d801a92871c210a8054
[ "Apache-2.0" ]
135
2015-01-21T10:17:13.000Z
2020-01-04T18:07:24.000Z
test-cderiv.cc
gilteunchoi/clstm
e87843c9f32345d899768d801a92871c210a8054
[ "Apache-2.0" ]
250
2015-01-15T02:57:02.000Z
2022-01-01T13:25:21.000Z
#include <assert.h> #include <math.h> #include <cmath> #include <iostream> #include <memory> #include <string> #include <vector> #include "clstm.h" #include "clstm_compute.h" #include "extras.h" #include "utils.h" using std_string = std::string; #define string std_string using std::vector; using std::shared_ptr; using...
27.914352
80
0.573679
[ "vector" ]
91cb206f2546eeec2df6653a96efbf2fdd61ebcd
24,514
cpp
C++
Source/automap.cpp
sergi4ua/Give-Me-Sanctuary
e21888aff4d249762b6c90b77e440cca9a2fec47
[ "Unlicense" ]
1
2019-06-12T13:53:12.000Z
2019-06-12T13:53:12.000Z
Source/automap.cpp
sergi4ua/Give-Me-Sanctuary
e21888aff4d249762b6c90b77e440cca9a2fec47
[ "Unlicense" ]
1
2019-06-12T18:23:36.000Z
2019-06-12T18:23:36.000Z
Source/automap.cpp
sergi4ua/Give-Me-Sanctuary
e21888aff4d249762b6c90b77e440cca9a2fec47
[ "Unlicense" ]
null
null
null
//HEADER_GOES_HERE #include "../types.h" #include <iostream> #include <map> #include <vector> DEVILUTION_BEGIN_NAMESPACE // BUGFIX: only the first 256 elements are ever read WORD automaptype[512]; static int MapX; static int MapY; BOOL automapflag; // idb char AmShiftTab[32]; // [31]? unsigned ch...
28.73857
243
0.609244
[ "object", "vector", "solid" ]
91cba416c49852d1c1770eef7a5a527f51fa484a
3,482
hpp
C++
Sources/Gizmos/GizmoType.hpp
CarysT/Acid
ab81fd13ab288ceaa152e0f64f6d97daf032fc19
[ "MIT" ]
977
2019-05-23T01:53:42.000Z
2022-03-30T04:22:41.000Z
Sources/Gizmos/GizmoType.hpp
CarysT/Acid
ab81fd13ab288ceaa152e0f64f6d97daf032fc19
[ "MIT" ]
44
2019-06-02T17:30:32.000Z
2022-03-27T14:22:40.000Z
Sources/Gizmos/GizmoType.hpp
CarysT/Acid
ab81fd13ab288ceaa152e0f64f6d97daf032fc19
[ "MIT" ]
121
2019-05-23T05:18:01.000Z
2022-03-27T21:59:23.000Z
#pragma once #include "Maths/Colour.hpp" #include "Maths/Matrix4.hpp" #include "Models/Model.hpp" #include "Graphics/Buffers/InstanceBuffer.hpp" #include "Graphics/Descriptors/DescriptorsHandler.hpp" #include "Graphics/Pipelines/PipelineGraphics.hpp" #include "Resources/Resource.hpp" #include "Files/Node.hpp" namespa...
37.042553
155
0.749856
[ "render", "vector", "model" ]
91d4239b867815fe537fd4c979bb9ccf23787247
4,644
cpp
C++
src/ai/npc/npcplayer.cpp
sodomon2/Cavestory-nx
a65ce948c820b3c60b5a5252e5baba6b918d9ebd
[ "BSD-2-Clause" ]
8
2018-04-03T23:06:33.000Z
2021-12-28T18:04:19.000Z
src/ai/npc/npcplayer.cpp
sodomon2/Cavestory-nx
a65ce948c820b3c60b5a5252e5baba6b918d9ebd
[ "BSD-2-Clause" ]
null
null
null
src/ai/npc/npcplayer.cpp
sodomon2/Cavestory-nx
a65ce948c820b3c60b5a5252e5baba6b918d9ebd
[ "BSD-2-Clause" ]
1
2020-07-31T00:23:27.000Z
2020-07-31T00:23:27.000Z
#include "npcplayer.h" #include "../stdai.h" #include "../ai.h" #include "../sym/smoke.h" #include "../../tsc.h" #include "../../sound/sound.h" #include "../../common/misc.h" #include "../../game.h" #include "../../player.h" #include "../../map.h" #include "../../graphics/tileset.h" #include "../../autogen/sprites.h"...
15.689189
76
0.515935
[ "object" ]
91d5df7b344698e70986f6d12a774b204e90d80d
1,957
cpp
C++
modules/lwjgl/driftfx/src/main/c/src/FrameNativeAPI.cpp
amatiushkin/lwjgl3
f3e08f9797ee3c2218f3f337c37dede62a16b800
[ "BSD-3-Clause" ]
9
2020-01-20T01:10:40.000Z
2021-07-27T08:42:34.000Z
modules/lwjgl/driftfx/src/main/c/src/FrameNativeAPI.cpp
octeep/lwjgl3
2894a2fde95ac5d624eba8cbe20e971f87788a50
[ "BSD-3-Clause" ]
1
2021-07-24T18:04:57.000Z
2021-07-24T18:04:57.000Z
modules/lwjgl/driftfx/src/main/c/src/FrameNativeAPI.cpp
octeep/lwjgl3
2894a2fde95ac5d624eba8cbe20e971f87788a50
[ "BSD-3-Clause" ]
4
2020-03-28T06:42:52.000Z
2021-02-10T17:45:44.000Z
#include <jni.h> #include <iostream> #include <iomanip> #include "utils/Logger.h" #include "NativeSurfaceRegistry.h" #include "NativeSurface.h" #include "FrameManager.h" #include "jni/JNITiming.h" using namespace std; using namespace driftfx::internal; std::string Convert(JNIEnv* env, jstring in) { const char* ...
31.063492
153
0.740419
[ "vector" ]
91dc57cf8e288988f5e447839ef7b70d391a7859
89,457
cxx
C++
vtr/toro/TVPR_Interface/TVPR_FabricModel.cxx
haojunliu/OpenFPGA
b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1
[ "BSD-2-Clause" ]
31
2016-02-15T02:57:28.000Z
2021-06-02T10:40:25.000Z
vtr/toro/TVPR_Interface/TVPR_FabricModel.cxx
haojunliu/OpenFPGA
b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1
[ "BSD-2-Clause" ]
null
null
null
vtr/toro/TVPR_Interface/TVPR_FabricModel.cxx
haojunliu/OpenFPGA
b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1
[ "BSD-2-Clause" ]
6
2017-02-08T21:51:51.000Z
2021-06-02T10:40:40.000Z
//===========================================================================// // Purpose : Method definitions for the TVPR_FabricModel_c class. // // Public methods include: // - TVPR_FabricModel_c, ~TVPR_FabricModel_c // - Export // - Import // // Private methods inc...
38.476129
102
0.527695
[ "model" ]
91dd74c9e286c9d5fb155b4ff889f693cc87b09c
3,417
cpp
C++
TotalSTL/src/iterator/auxiliary_functions/auxiliary_iterator_func_test.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
15
2015-11-04T12:53:23.000Z
2021-08-10T09:53:12.000Z
TotalSTL/src/iterator/auxiliary_functions/auxiliary_iterator_func_test.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
null
null
null
TotalSTL/src/iterator/auxiliary_functions/auxiliary_iterator_func_test.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
6
2015-11-13T10:17:01.000Z
2020-05-14T07:25:48.000Z
#include "gtest/gtest.h" #include "inc.h" #include "stl_headers.h" #include <functional> #include <algorithm> #include <array> #include <iterator> NS_BEGIN(elloop); using namespace std; using namespace std::placeholders; //----------------------- Advance ---------------------- BEGIN_TEST(AuxiliaryIterFuncTest, ...
22.629139
77
0.552824
[ "object" ]
91ded47e10e60e46f08be60bf83996b982c58c24
4,725
cc
C++
mysql-server/unittest/gunit/innodb/lob/ut0frags.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/unittest/gunit/innodb/lob/ut0frags.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/unittest/gunit/innodb/lob/ut0frags.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/***************************************************************************** Copyright (c) 2016, 2017, Oracle and/or its affiliates. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free S...
21.09375
78
0.665608
[ "vector" ]
91e3f2905c48b309769b0b9eb6ef08618c48b083
6,854
cpp
C++
arch/Player.cpp
pettro98/BotsGame
d6bc91e277a1599ae7e0fe22df6cc73fce17d9d1
[ "MIT" ]
null
null
null
arch/Player.cpp
pettro98/BotsGame
d6bc91e277a1599ae7e0fe22df6cc73fce17d9d1
[ "MIT" ]
null
null
null
arch/Player.cpp
pettro98/BotsGame
d6bc91e277a1599ae7e0fe22df6cc73fce17d9d1
[ "MIT" ]
1
2018-02-26T09:24:15.000Z
2018-02-26T09:24:15.000Z
#include "Player.h" namespace game_module { Player::Player(hex_color color, const std::string & player_name) : Color(color) , Name(player_name) { } hex_color Player::color() const { return Color; } std::string Player::name() const { return Name; } size_type Player::get_capi...
23.881533
86
0.698716
[ "vector" ]
91e6c694aeba3920b99bc15cef08219831500b7a
391
cpp
C++
Cplus/CountSortedVowelStrings.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/CountSortedVowelStrings.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
Cplus/CountSortedVowelStrings.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
#include <vector> using namespace std; class Solution { public: int countVowelStrings(int n) { vector<vector<int>> dp(n + 1, vector<int>(5)); dp[0][0] = 1; for (int i = 0; i < n; ++i) { for (int j = 0; j < 5; ++j) { for (int k = 0; k <= j; ++k) dp[i + 1][j] += dp[i][k]; } } int res = 0...
15.64
48
0.468031
[ "vector" ]
91e89a64b6fc791c2332cae65364667e73b00d82
2,600
hpp
C++
Blaze/core/StorageBuffer.hpp
KidRigger/Blaze
7e76de71e2e22f3b5e8c4c2c50c58e6d205646c6
[ "MIT" ]
14
2019-12-10T03:57:03.000Z
2021-09-16T14:58:39.000Z
Blaze/core/StorageBuffer.hpp
kidrigger/Blaze
7e76de71e2e22f3b5e8c4c2c50c58e6d205646c6
[ "MIT" ]
null
null
null
Blaze/core/StorageBuffer.hpp
kidrigger/Blaze
7e76de71e2e22f3b5e8c4c2c50c58e6d205646c6
[ "MIT" ]
null
null
null
#pragma once #include <core/Context.hpp> #include <cstring> #include <thirdparty/vma/vk_mem_alloc.h> namespace blaze { /** * @brief The base class for all UBOs * * The type independent size dependent generic class to implement a buffer for * uniforms. * Mostly not to be used directly, but extended by a type sa...
18.181818
96
0.658462
[ "vector" ]
91ebac84c67f0cdf645190ef4dc15f2c391a98db
5,123
cpp
C++
tests/basic_properties.cpp
j-renggli/properties
d005afd3c862248a163e61c7b1fbc4bff4cc0c0d
[ "MIT" ]
null
null
null
tests/basic_properties.cpp
j-renggli/properties
d005afd3c862248a163e61c7b1fbc4bff4cc0c0d
[ "MIT" ]
null
null
null
tests/basic_properties.cpp
j-renggli/properties
d005afd3c862248a163e61c7b1fbc4bff4cc0c0d
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <basic_property.h> namespace property { template <class T> void checkBasicProperty(const T& prop, const typename T::value_type& value) { CHECK(prop.value() == value); CHECK(prop.name() == "name"); CHECK(prop.displayName() == "display"); CHECK(prop.id() == T::ident...
29.442529
118
0.674995
[ "object" ]
91f492125831ef46269d8e38f184285fe39da408
4,389
cpp
C++
Engine/Source/Runtime/MovieScene/Private/Evaluation/MovieSceneLegacyTrackInstanceTemplate.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/MovieScene/Private/Evaluation/MovieSceneLegacyTrackInstanceTemplate.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/MovieScene/Private/Evaluation/MovieSceneLegacyTrackInstanceTemplate.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "Evaluation/MovieSceneLegacyTrackInstanceTemplate.h" #include "Evaluation/MovieSceneEvaluationTemplateInstance.h" #include "IMovieScenePlayer.h" /** Legacy tracks just get a new ID each time (so they always save/restore state, regardless of whethe...
35.395161
233
0.815448
[ "object" ]
91f5c177ff2fec4584b24223d397ae408cd0aeba
5,759
cpp
C++
src/gipAzure.cpp
GlistPlugins/gipAzure
ffd12db44eb9a3aaf2a4c2ee61bdebbe0f3238f7
[ "Apache-2.0" ]
null
null
null
src/gipAzure.cpp
GlistPlugins/gipAzure
ffd12db44eb9a3aaf2a4c2ee61bdebbe0f3238f7
[ "Apache-2.0" ]
null
null
null
src/gipAzure.cpp
GlistPlugins/gipAzure
ffd12db44eb9a3aaf2a4c2ee61bdebbe0f3238f7
[ "Apache-2.0" ]
3
2021-08-11T10:59:39.000Z
2021-08-28T16:06:27.000Z
/* * gipAzure.cpp * * Created on: Aug 4, 2021 * Author: Onur Demir */ #include "gipAzure.h" gipAzure::gipAzure() { account_name = ""; account_key = ""; blob_endpoint = ""; connection_count = 2; currentcontainer = ""; httpsProtocol = false; } gipAzure::~gipAzure() { } void gipAzure::initSettings(st...
33.876471
154
0.722521
[ "vector" ]
91f8b6ec35716b3a1c7940f3dc5e1ba4d7d9bba1
51,192
cpp
C++
src/ProgramFunction.cpp
tommyhuangthu/EvoEF
0bbdab442146d1497570642f7f90300146dac166
[ "MIT" ]
3
2020-01-12T01:41:31.000Z
2021-08-11T09:22:20.000Z
src/ProgramFunction.cpp
tommyhuangthu/EvoEF
0bbdab442146d1497570642f7f90300146dac166
[ "MIT" ]
1
2021-01-06T16:00:53.000Z
2021-01-06T16:20:56.000Z
src/ProgramFunction.cpp
tommyhuangthu/EvoEF
0bbdab442146d1497570642f7f90300146dac166
[ "MIT" ]
5
2020-09-08T15:21:54.000Z
2022-03-30T17:49:12.000Z
/******************************************************************************************************************************* This file is a part of the EvoDesign physical Energy Function (EvoEF) Copyright (c) 2019 Xiaoqiang Huang (tommyhuangthu@foxmail.com, xiaoqiah@umich.edu) Permission is hereby granted, free o...
60.367925
194
0.611932
[ "model" ]
6200103247017526893112d9fd5a362adf4c7d25
744
hpp
C++
functional_mapping_helper/include/functional_mapping_helper/GeometricalConstructs/RotationMatrix.hpp
talkingrobots/GeoCompROS
f934e0f98377aef21c791a0d0efffad84be1e37b
[ "BSD-3-Clause" ]
null
null
null
functional_mapping_helper/include/functional_mapping_helper/GeometricalConstructs/RotationMatrix.hpp
talkingrobots/GeoCompROS
f934e0f98377aef21c791a0d0efffad84be1e37b
[ "BSD-3-Clause" ]
null
null
null
functional_mapping_helper/include/functional_mapping_helper/GeometricalConstructs/RotationMatrix.hpp
talkingrobots/GeoCompROS
f934e0f98377aef21c791a0d0efffad84be1e37b
[ "BSD-3-Clause" ]
1
2019-05-09T11:40:00.000Z
2019-05-09T11:40:00.000Z
#ifndef FUNCTIONALMAPPING_ROTATION_MATRIX_HPP #define FUNCTIONALMAPPING_ROTATION_MATRIX_HPP #include <ros/ros.h> #include <functional_mapping_helper/GeometricalConstructs/Vector.hpp> #include <LinearMath/btQuaternion.h> class RotationMatrix { // | e11 e12 e13 | // | e21 e22 e23 | // | e31 e32 e33 | float e11, e12...
31
133
0.767473
[ "vector" ]
620aa3493e9bb5aed6ebafbcc6540a6423d5176e
403
hpp
C++
rpg-engine/include/rpg-engine/Element.hpp
Krozark/rpg-engine
c705f777d0382b26b695ea1e3672328887bca39f
[ "BSD-2-Clause" ]
1
2018-07-09T21:49:01.000Z
2018-07-09T21:49:01.000Z
rpg-engine/include/rpg-engine/Element.hpp
Krozark/rpg-engine
c705f777d0382b26b695ea1e3672328887bca39f
[ "BSD-2-Clause" ]
1
2015-03-12T10:29:26.000Z
2015-03-12T10:29:26.000Z
rpg-engine/include/rpg-engine/Element.hpp
Krozark/rpg-engine
c705f777d0382b26b695ea1e3672328887bca39f
[ "BSD-2-Clause" ]
null
null
null
#ifndef RPG_ELEMENT_HPP #define RPG_ELEMENT_HPP #include <string> #include <vector> namespace rpg { enum Elements{Eau=0, Feu, Terre, Aire, Neutre, Lumiere, Ombre, Size}; namespace element { static float Oppose[Elements::Size][Elements::Size...
14.925926
60
0.565757
[ "vector" ]
6216f3572ff9fe76bd74496acbfb5876de83773b
1,638
cpp
C++
third_party/libosmium/test/t/basic/test_entity_bits.cpp
motis-project/osrm-backend
9aa492376a664304d8209513230bb43258367108
[ "BSD-2-Clause" ]
null
null
null
third_party/libosmium/test/t/basic/test_entity_bits.cpp
motis-project/osrm-backend
9aa492376a664304d8209513230bb43258367108
[ "BSD-2-Clause" ]
null
null
null
third_party/libosmium/test/t/basic/test_entity_bits.cpp
motis-project/osrm-backend
9aa492376a664304d8209513230bb43258367108
[ "BSD-2-Clause" ]
null
null
null
#include "catch.hpp" #include <osmium/osm/entity_bits.hpp> TEST_CASE("entity_bits") { SECTION("can_be_set_and_checked") { osrm_osmium::osm_entity_bits::type entities = osrm_osmium::osm_entity_bits::node | osrm_osmium::osm_entity_bits::way; REQUIRE(entities == (osrm_osmium::osm_entity_bits::node |...
51.1875
140
0.721612
[ "object" ]
6217089cd5e34b291ddc29a7cbe7506e222a6b33
87,238
cc
C++
third_party/blink/renderer/core/input/event_handler.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/input/event_handler.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/input/event_handler.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
/* * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights * reserved. * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provide...
40.63251
84
0.727447
[ "geometry", "render", "vector", "model" ]
62243d15d4b938ccc23922965542beee29af91ff
833
cpp
C++
adventofcode/2020/day4/solution.cpp
SnoopJeDi/playground
73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf
[ "MIT" ]
null
null
null
adventofcode/2020/day4/solution.cpp
SnoopJeDi/playground
73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf
[ "MIT" ]
null
null
null
adventofcode/2020/day4/solution.cpp
SnoopJeDi/playground
73fab4a38ceeff3da23683e3dd1cb1b3a74cf4cf
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <string> #include <vector> #include "common.h" #include "PassportInfo.h" int main(int argc, char* argv[]) { std::vector<std::string> input; try { input = Acme::load_input(argc, argv); } catch(...) { return 1; } auto passports = Acme::parseInfo(input); ...
27.766667
120
0.638655
[ "vector" ]
622c93c3deef9b6856ee5d77acdb5b4d7ebda611
843
cpp
C++
physically-based-cloud-rendering/clouds/transform.cpp
markomijolovic/physically-based-cloud-rendering
a8f9b3e11d6c2f744a45a598b872afb45ff8756c
[ "BSD-3-Clause" ]
3
2021-05-25T13:58:22.000Z
2022-02-21T11:53:26.000Z
physically-based-cloud-rendering/clouds/transform.cpp
markomijolovic/physically-based-cloud-rendering
a8f9b3e11d6c2f744a45a598b872afb45ff8756c
[ "BSD-3-Clause" ]
null
null
null
physically-based-cloud-rendering/clouds/transform.cpp
markomijolovic/physically-based-cloud-rendering
a8f9b3e11d6c2f744a45a598b872afb45ff8756c
[ "BSD-3-Clause" ]
null
null
null
#include "transform.hpp" #include "transforms.hpp" auto get_transform_matrix(const transform_t &transform) -> glm::mat4x4 { auto transform_matrix = translate(transform.position); transform_matrix *= rotate(radians(transform.rotation.z), {0.0F, 0.0F, 1.0F}); transform_matrix *= rotate(radians(transform.rot...
36.652174
106
0.71293
[ "transform" ]
62387e92630f81c38c0c5078df9ed632b9217f04
43,819
hpp
C++
src/environment_const_string.hpp
gto76/comp-m2
7eb67e9c016782b73694d933b9a8ee2ef5867687
[ "MIT" ]
188
2015-07-02T08:46:54.000Z
2022-02-20T13:06:28.000Z
src/environment_const_string.hpp
gto76/comp-m2
7eb67e9c016782b73694d933b9a8ee2ef5867687
[ "MIT" ]
5
2015-10-04T13:49:54.000Z
2015-10-18T00:08:21.000Z
src/environment_const_string.hpp
gto76/comp-m2
7eb67e9c016782b73694d933b9a8ee2ef5867687
[ "MIT" ]
18
2015-10-04T12:12:17.000Z
2021-01-04T13:27:48.000Z
#ifndef ENVIRONMENT_CONST_STRING_H #define ENVIRONMENT_CONST_STRING_H #include <string> #include <vector> using namespace std; // Automaticaly generated file from environment.c // Do not edit this line. const vector<string> environmentConstString = {u8"\u0023", u8"\u0069", u8"\u006E", u8"\u0063", u8"\u006C", u8"\u0...
71.716858
119
0.576668
[ "vector" ]
9a8e2530e7c74319bd4a47208d59d5ca737ff469
9,658
cc
C++
paddle/fluid/framework/ir/memory_optimize_pass/memory_reuse_pass.cc
qingfengwuhen/Paddle
cff5e2c173afc4431085b9382c716be7a9b91759
[ "Apache-2.0" ]
1
2019-09-05T07:32:44.000Z
2019-09-05T07:32:44.000Z
paddle/fluid/framework/ir/memory_optimize_pass/memory_reuse_pass.cc
qingfengwuhen/Paddle
cff5e2c173afc4431085b9382c716be7a9b91759
[ "Apache-2.0" ]
null
null
null
paddle/fluid/framework/ir/memory_optimize_pass/memory_reuse_pass.cc
qingfengwuhen/Paddle
cff5e2c173afc4431085b9382c716be7a9b91759
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
33.651568
80
0.672914
[ "vector" ]
9aa0d12bd43ba4e537c465799b39403987eb1d84
4,455
cpp
C++
example/src/main.cpp
demurzasty/rabb
f980fd18332f7846cd22b502f1075d224938379c
[ "MIT" ]
8
2020-11-21T17:59:09.000Z
2022-02-13T05:14:40.000Z
example/src/main.cpp
demurzasty/rabb
f980fd18332f7846cd22b502f1075d224938379c
[ "MIT" ]
null
null
null
example/src/main.cpp
demurzasty/rabb
f980fd18332f7846cd22b502f1075d224938379c
[ "MIT" ]
1
2020-11-23T23:01:14.000Z
2020-11-23T23:01:14.000Z
#include <rabbit/rabbit.hpp> #include <filesystem> using namespace rb; struct camera_controller : public rb::system { void update(registry& registry, float elapsed_time) override { if (input::is_mouse_button_pressed(mouse_button::right)) { _last_mouse_position = input::mouse_position...
40.87156
134
0.558025
[ "transform" ]
9aa79e9db6aa48a4b94aec85de992731badc894c
1,529
cpp
C++
src/caffe/layers/relu_layer.cpp
oscmansan/nvcaffe
22738c97e9c6991e49a12a924c3c773d95795b5c
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/relu_layer.cpp
oscmansan/nvcaffe
22738c97e9c6991e49a12a924c3c773d95795b5c
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/relu_layer.cpp
oscmansan/nvcaffe
22738c97e9c6991e49a12a924c3c773d95795b5c
[ "BSD-2-Clause" ]
null
null
null
#include <algorithm> #include <vector> #include "caffe/layer.hpp" #include "caffe/vision_layers.hpp" namespace caffe { template <typename Dtype, typename Mtype> void ReLULayer<Dtype,Mtype>::Forward_cpu(const vector<Blob<Dtype,Mtype>*>& bottom, const vector<Blob<Dtype,Mtype>*>& top) { const Dtype* bottom_data =...
32.531915
94
0.671681
[ "vector" ]
9aabd69b5314844153e3bc8dcdbf8acd7d454bc9
16,768
cpp
C++
games/pacman/Pacman.cpp
rectoria/cpp_arcade
72bff5ec97f90dcc05ff4079f7ba30d5af9fb147
[ "MIT" ]
null
null
null
games/pacman/Pacman.cpp
rectoria/cpp_arcade
72bff5ec97f90dcc05ff4079f7ba30d5af9fb147
[ "MIT" ]
null
null
null
games/pacman/Pacman.cpp
rectoria/cpp_arcade
72bff5ec97f90dcc05ff4079f7ba30d5af9fb147
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2021 ** cpp_arcade ** File description: ** Created by rectoria */ #include <string> #include <fstream> #include <iostream> #include <unordered_map> #include "Pacman.hpp" Arcade::IGameLib *lib = nullptr; __attribute__((constructor)) void init() { lib = new Arcade::Pacman; } __attribute__((des...
24.33672
79
0.565601
[ "vector" ]
9aaf8ab494e07d949dbc3801458ac1d0dbfe62d1
1,291
cc
C++
track/detail/test/GridFinder.test.cc
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
track/detail/test/GridFinder.test.cc
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
track/detail/test/GridFinder.test.cc
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
//---------------------------------*-C++-*-----------------------------------// /*! * \file track/detail/test/tstGridFinder.cc * \brief Tests for class GridFinder * \note Copyright (c) 2021 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //----------------------------------------------------------------------...
30.738095
79
0.499613
[ "vector" ]
9ab9adaf1ad3b47a4809a31aab2c5d69fbb748ca
12,586
cpp
C++
src/quantum.cpp
jiosue/Quantum-Computer-Simulator-with-Algorithms
6724615ad1d5a64e0024ead856159e15f6f1caf6
[ "MIT" ]
15
2018-01-29T18:49:08.000Z
2020-04-10T01:33:49.000Z
src/quantum.cpp
jtiosue/Quantum-Computer-Simulator-with-Algorithms
6724615ad1d5a64e0024ead856159e15f6f1caf6
[ "MIT" ]
null
null
null
src/quantum.cpp
jtiosue/Quantum-Computer-Simulator-with-Algorithms
6724615ad1d5a64e0024ead856159e15f6f1caf6
[ "MIT" ]
2
2020-04-10T01:33:53.000Z
2020-04-15T01:16:12.000Z
#include <cstdlib> #include "quantum.h" #include "rand.h" #include "qalgorithms.h" #include "methods.h" #include <iostream> // Register class Register::Register(unsigned int num_qubits) { /* By default, initializes vaccum (|000...>) to amplitude one and the rest zero. This can be adjust with logic ga...
32.025445
110
0.651994
[ "vector" ]
9ab9f8edcf331bc88ebe36f9083d5834d1cabc39
22,867
cpp
C++
MetroGame/MetroGame/Vision.cpp
Kevintjeb/OpenCV-MetroGame
e3a88108576853c2f9f5a5901074b2d4a547cd39
[ "MIT" ]
null
null
null
MetroGame/MetroGame/Vision.cpp
Kevintjeb/OpenCV-MetroGame
e3a88108576853c2f9f5a5901074b2d4a547cd39
[ "MIT" ]
null
null
null
MetroGame/MetroGame/Vision.cpp
Kevintjeb/OpenCV-MetroGame
e3a88108576853c2f9f5a5901074b2d4a547cd39
[ "MIT" ]
null
null
null
#include "Vision.h" #include "RenderableOutput.h" using namespace mg_gameLogic; bool debug = true; int low_v = 30, low_s = 30, low_h = 30; int high_v = 100, high_s = 100, high_h = 100; int low_r = 30, low_g = 30, low_b = 30; int high_r = 100, high_g = 100, high_b = 100; void on_low_v_thresh_trackbar(int, void *); v...
38.889456
421
0.710893
[ "object", "vector" ]
9abadb93cfe1397558bb127b0b1ced5aab2d4e35
55,707
cpp
C++
wznmcmbd/VecWznm/VecWznmVCall.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
wznmcmbd/VecWznm/VecWznmVCall.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
wznmcmbd/VecWznm/VecWznmVCall.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file VecWznmVCall.cpp * vector VecWznmVCall (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 28 Nov 2020 */ // IP header --- ABOVE #include "VecWznmVCall.h" using namespace std; using namespace Sbecore; using namespace...
60.881967
84
0.752168
[ "vector" ]