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
559d5010ff14e31dd532b5a40561f3a050ed3dbb
7,514
cpp
C++
src/modules/bluetooth_controller/bluetooth_controller.cpp
hidder11/controller-receiver
3a2795f8baf0abf6043a17e0879972fc433dbdbc
[ "MIT" ]
1
2018-06-15T05:58:57.000Z
2018-06-15T05:58:57.000Z
src/modules/bluetooth_controller/bluetooth_controller.cpp
hidder11/controller-receiver
3a2795f8baf0abf6043a17e0879972fc433dbdbc
[ "MIT" ]
null
null
null
src/modules/bluetooth_controller/bluetooth_controller.cpp
hidder11/controller-receiver
3a2795f8baf0abf6043a17e0879972fc433dbdbc
[ "MIT" ]
null
null
null
#include <goliath/bluetooth_controller.h> using namespace goliath::btc; BluetoothController::BluetoothController(const std::string &newDevicePath, std::string &newDeviceAddress) { devicePath = newDevicePath.c_str(); deviceAddress = newDeviceAddress; } bool BluetoothController::connect() { int nTries = 5;...
30.056
117
0.602475
[ "vector" ]
559f00a0b2633ade0170757fda56d59010827c93
8,779
cpp
C++
common/exportFiles.cpp
cordafab/SuperCages-project
797d28bab18c9c44027af8c9d94d9e5efe4ceade
[ "MIT" ]
16
2020-04-26T16:41:38.000Z
2022-03-27T00:13:27.000Z
common/exportFiles.cpp
cordafab/SuperCages-project
797d28bab18c9c44027af8c9d94d9e5efe4ceade
[ "MIT" ]
null
null
null
common/exportFiles.cpp
cordafab/SuperCages-project
797d28bab18c9c44027af8c9d94d9e5efe4ceade
[ "MIT" ]
7
2020-04-27T13:04:43.000Z
2022-03-09T08:22:41.000Z
#include "exportFiles.h" using namespace std; #include <iostream> #include <fstream> #include <sstream> #include <stdlib.h> #include "geom/transform.h" void saveMesh(const char * filename, const std::vector<double> & vertices, const std::vector<int> & faces) { string ...
28.047923
135
0.454608
[ "vector", "transform" ]
55a06ff2b4fead30510e18217eb8a7cafbcaa264
5,401
cxx
C++
plugins/examples/gpu_test.cxx
IXDdev/IXD_engine
497c1fee90e486c19debc5347b740b56b1fef416
[ "BSD-3-Clause" ]
1
2020-07-26T10:54:41.000Z
2020-07-26T10:54:41.000Z
plugins/examples/gpu_test.cxx
IXDdev/IXD_engine
497c1fee90e486c19debc5347b740b56b1fef416
[ "BSD-3-Clause" ]
null
null
null
plugins/examples/gpu_test.cxx
IXDdev/IXD_engine
497c1fee90e486c19debc5347b740b56b1fef416
[ "BSD-3-Clause" ]
null
null
null
#include <cgv/signal/rebind.h> #include <cgv/base/register.h> #include <cgv/gui/provider.h> #include <cgv/gui/trigger.h> #include <cgv/render/drawable.h> #include <cgv/render/texture.h> #include <cgv/render/frame_buffer.h> #include <cgv/render/shader_program.h> #include <cgv_gl/gl/gl.h> #include <cgv/media/font/font.h>...
27.697436
94
0.69987
[ "render", "object", "3d" ]
55a175f8a3bd2f7c45b248d7277201b1537b97bb
10,672
cpp
C++
deps/common/time/datetime.cpp
penggan666/miniob
23a3c30e06b06958f70aa9dc2c31e70354e2b708
[ "Apache-2.0" ]
1
2022-03-02T03:41:13.000Z
2022-03-02T03:41:13.000Z
deps/common/time/datetime.cpp
Wind-Gone/OceanBase-Contest-Miniob
b16d6b2c6785abf99eb816ff8c7417bafd1ddf96
[ "MIT" ]
null
null
null
deps/common/time/datetime.cpp
Wind-Gone/OceanBase-Contest-Miniob
b16d6b2c6785abf99eb816ff8c7417bafd1ddf96
[ "MIT" ]
null
null
null
/* Copyright (c) 2021 Xie Meiyi(xiemeiyi@hust.edu.cn) and OceanBase and/or its affiliates. All rights reserved. miniob is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/Mulan...
27.364103
111
0.612819
[ "object" ]
55a59b422e69d02cf13c70179d7a9018364bf0d0
2,837
cpp
C++
copasi/UI/CQMathMatrixWidget.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
copasi/UI/CQMathMatrixWidget.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
copasi/UI/CQMathMatrixWidget.cpp
bmoreau/COPASI
d0bbec8947b1266ffd2b0ecf2566da7cf2c3e5ba
[ "Artistic-2.0" ]
null
null
null
// Copyright (C) 2010 - 2014 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., EML Research, gGmbH, University of Heidelber...
27.278846
93
0.725062
[ "object", "model" ]
55ac241cc164a5d73481954a5ae8a7b88d0d855b
65,956
cpp
C++
CloakEngine/DX12Manager.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/DX12Manager.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
CloakEngine/DX12Manager.cpp
Bizzarrus/CloakEngine
0890eaada76b91be89702d2a6ec2dcf9b2901fb9
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #if CHECK_OS(WINDOWS,10) #include "Implementation/Rendering/DX12/Manager.h" #include "Implementation/Rendering/DX12/Allocator.h" #include "Implementation/Rendering/DX12/ColorBuffer.h" #include "Implementation/Rendering/DX12/DepthBuffer.h" #include "Implementation/Rendering/DX12/PipelineState.h...
45.206306
332
0.618306
[ "model" ]
55b3e17e578ca1ef857fb14e8232fa808f53444c
2,068
cpp
C++
platforms/leetcode/0072_stone-game-viii.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
2
2020-09-17T09:04:00.000Z
2020-11-20T19:43:18.000Z
platforms/leetcode/0072_stone-game-viii.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
platforms/leetcode/0072_stone-game-viii.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
#include "../../template.hpp" using i32 = std::int32_t; using i64 = std::int64_t; //const i32 INF = 1000000000 + 7; const i32 fastio_ = ([](){std::ios_base::sync_with_stdio(0); std::cin.tie(0);return 0;})(); i32 prefix[100002]; i32 dp[100002]; i32 rec(vector<i32>& arr, i32 n) { if (n == arr.size()) return prefix...
35.655172
171
0.48646
[ "vector" ]
55b40ddbbb8f901d640493f6fceb3e92311c24e7
6,302
cc
C++
frc971/control_loops/drivetrain/distance_spline_test.cc
Ewpratten/frc_971_mirror
3a8a0c4359f284d29547962c2b4c43d290d8065c
[ "BSD-2-Clause" ]
null
null
null
frc971/control_loops/drivetrain/distance_spline_test.cc
Ewpratten/frc_971_mirror
3a8a0c4359f284d29547962c2b4c43d290d8065c
[ "BSD-2-Clause" ]
null
null
null
frc971/control_loops/drivetrain/distance_spline_test.cc
Ewpratten/frc_971_mirror
3a8a0c4359f284d29547962c2b4c43d290d8065c
[ "BSD-2-Clause" ]
null
null
null
#include "frc971/control_loops/drivetrain/distance_spline.h" #include <vector> #include "aos/testing/test_shm.h" #include "gflags/gflags.h" #include "gtest/gtest.h" #if defined(SUPPORT_PLOT) #include "third_party/matplotlib-cpp/matplotlibcpp.h" #endif DEFINE_bool(plot, false, "If true, plot"); namespace frc971 { na...
36.218391
79
0.64662
[ "vector" ]
55b8083e63766fe81e954183af4228fb101da506
6,779
cc
C++
src/log_writer.cc
aexoden/chatstats
07b7321cb6eed4d667ba1de9abbd29249286154f
[ "MIT" ]
null
null
null
src/log_writer.cc
aexoden/chatstats
07b7321cb6eed4d667ba1de9abbd29249286154f
[ "MIT" ]
null
null
null
src/log_writer.cc
aexoden/chatstats
07b7321cb6eed4d667ba1de9abbd29249286154f
[ "MIT" ]
null
null
null
/* * Copyright (c) 2012 Jason Lynch <jason@calindora.com> * * 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, ...
38.95977
186
0.716772
[ "object", "vector" ]
55c9889ecd9fb79aadaacc8b6a51d12609726266
1,429
hpp
C++
ajg/synth/engines/tmpl/options.hpp
legutierr/synth
7540072bde2ea9c8258c2dca69d2ed3bd62fb991
[ "BSL-1.0" ]
1
2016-04-10T14:13:34.000Z
2016-04-10T14:13:34.000Z
ajg/synth/engines/tmpl/options.hpp
legutierr/synth
7540072bde2ea9c8258c2dca69d2ed3bd62fb991
[ "BSL-1.0" ]
null
null
null
ajg/synth/engines/tmpl/options.hpp
legutierr/synth
7540072bde2ea9c8258c2dca69d2ed3bd62fb991
[ "BSL-1.0" ]
null
null
null
// (C) Copyright 2014 Alvaro J. Genial (http://alva.ro) // Use, modification and distribution are subject to 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 AJG_SYNTH_ENGINES_TMPL_OPTIONS_HPP_INCLUDED #define AJG_SYNTH_ENGI...
30.404255
94
0.641008
[ "vector" ]
55ca197b90c3ff0187f01afeaaf713a3fb1ab415
1,277
cpp
C++
src/tdme/tools/shared/views/EntityDisplayView.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/tools/shared/views/EntityDisplayView.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/tools/shared/views/EntityDisplayView.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
#include <tdme/tools/shared/views/EntityDisplayView.h> #include <string> #include <vector> #include <tdme/engine/Engine.h> #include <tdme/engine/Entity.h> #include <tdme/tools/shared/controller/EntityDisplaySubScreenController.h> #include <tdme/tools/shared/model/LevelEditorEntity.h> using tdme::tools::shared::views...
30.404762
105
0.783085
[ "vector", "model" ]
55da7a63bfea48068d4a78796677dd1d6c33420d
11,619
hpp
C++
src/tests/count.hpp
vreverdy/bit-algorithms
bc12928d46846eb32b3d9e0a006549a947c4803f
[ "BSD-3-Clause" ]
16
2019-06-17T23:56:15.000Z
2021-07-04T23:35:31.000Z
src/tests/count.hpp
bkille/bit-algorithms
bc12928d46846eb32b3d9e0a006549a947c4803f
[ "BSD-3-Clause" ]
3
2019-04-28T04:53:31.000Z
2019-06-01T15:15:11.000Z
src/tests/count.hpp
bkille/bit-algorithms
bc12928d46846eb32b3d9e0a006549a947c4803f
[ "BSD-3-Clause" ]
6
2019-03-13T19:21:36.000Z
2020-01-01T12:31:34.000Z
// ============================== COUNT TESTS =============================== // // Project: The Experimental Bit Algorithms Library // Name: count.hpp // Description: Tests for std::count bit iterator overloads // Creator: Vincent Reverdy // Contributor(s): Vincent Reverdy [2019] // Collin Gress [2019...
35.641104
96
0.658232
[ "vector" ]
55e1a404f46c971bc87036e74d78530920fe8138
29,178
cpp
C++
external_software/relion/src/ctffind_runner.cpp
leschzinerlab/cryoem-cloud-tools
d2d310423f406535a4b5f5ea78deaf2767e93348
[ "MIT" ]
7
2017-12-04T13:41:32.000Z
2021-07-12T02:33:20.000Z
external_software/relion/src/ctffind_runner.cpp
cianfrocco-lab/cryoem-cloud-tools
d2d310423f406535a4b5f5ea78deaf2767e93348
[ "MIT" ]
61
2017-04-02T05:50:44.000Z
2017-11-22T02:32:43.000Z
external_software/relion/src/ctffind_runner.cpp
leschzinerlab/AWS
d2d310423f406535a4b5f5ea78deaf2767e93348
[ "MIT" ]
9
2017-08-20T00:06:46.000Z
2021-09-23T06:50:15.000Z
/*************************************************************************** * * Author: "Sjors H.W. Scheres" * MRC Laboratory of Molecular Biology * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
34.818616
171
0.67167
[ "vector" ]
55f113ccc65177f509d87ff7626ea167d6828c0e
957
cpp
C++
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter19Exercise14.cpp
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
9
2018-10-24T15:16:47.000Z
2021-12-14T13:53:50.000Z
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise14.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
null
null
null
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise14.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
7
2018-10-29T15:30:37.000Z
2021-01-18T15:15:09.000Z
/* TITLE GUI to "Hunt the wumpus" Chapter19Exercise14.cpp "Bjarne Stroustrup "C++ Programming: Principles and Practice."" COMMENT Objective: Provide a simple GUI interface output to the "Hunt the Wumpus" from Chapter 18. Take the input from an input box and display a map of of the part of the...
22.255814
130
0.685475
[ "vector" ]
55f1efbc448e17bb9a77bc64982a30a7fe47eef3
6,681
cpp
C++
DemoFramework/FslSimpleUI/Base/source/FslSimpleUI/Base/Control/CheckBox.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
3
2019-01-19T20:21:24.000Z
2021-08-10T02:11:32.000Z
DemoFramework/FslSimpleUI/Base/source/FslSimpleUI/Base/Control/CheckBox.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoFramework/FslSimpleUI/Base/source/FslSimpleUI/Base/Control/CheckBox.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
1
2021-08-10T02:11:33.000Z
2021-08-10T02:11:33.000Z
/**************************************************************************************************************************************************** * Copyright (c) 2015 Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permi...
33.074257
150
0.643616
[ "render" ]
55f26ff65d77e4c02cf4da1497f7d6b81cc7f7b9
1,156
hpp
C++
libiop/bcs/common_bcs_parameters.hpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/bcs/common_bcs_parameters.hpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/bcs/common_bcs_parameters.hpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
/**@file ***************************************************************************** Specialized IOP that implements the BCS16 transformation. ***************************************************************************** * @author This file is part of libiop (see AUTHORS) * @copyright MIT license (see LICEN...
34
79
0.639273
[ "vector" ]
55fe75e787b99ca1dc6bc579e6d33a6370ea929f
1,279
cpp
C++
Hackerrank/Organizing_Container.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
Hackerrank/Organizing_Container.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
Hackerrank/Organizing_Container.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void swap(vector<vector<int>>& container){ vector<int> sum(container.size(),0); vector<int> type(container.size(),0); int flag; //long sum = 0; for(int i=0;i<container.size();++i){ for(int j=0;j<container.size();++j){ sum[i] = sum[i] ...
22.051724
81
0.44097
[ "vector" ]
55ff9e28c65a47ee775fa4957d7915c16f420887
21,572
cc
C++
gazebo/gui/model/JointCreationDialog_TEST.cc
otamachan/ros-indigo-gazebo7-deb
abc6b40247cdce14d9912096a0ad5135d420ce04
[ "ECL-2.0", "Apache-2.0" ]
5
2017-07-14T19:36:51.000Z
2020-04-01T06:47:59.000Z
gazebo/gui/model/JointCreationDialog_TEST.cc
otamachan/ros-indigo-gazebo7-deb
abc6b40247cdce14d9912096a0ad5135d420ce04
[ "ECL-2.0", "Apache-2.0" ]
20
2017-07-20T21:04:49.000Z
2017-10-19T19:32:38.000Z
gazebo/gui/model/JointCreationDialog_TEST.cc
otamachan/ros-indigo-gazebo7-deb
abc6b40247cdce14d9912096a0ad5135d420ce04
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015-2016 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
33.758998
80
0.706981
[ "vector", "model", "3d" ]
55ffcc6a36cabe1c5998d3d5485c04369716edf7
135,733
cpp
C++
src/clistats.cpp
rjp/clistats
8055d15a7cbab4de848659ee8bf9cbfeceb155b3
[ "MIT" ]
null
null
null
src/clistats.cpp
rjp/clistats
8055d15a7cbab4de848659ee8bf9cbfeceb155b3
[ "MIT" ]
null
null
null
src/clistats.cpp
rjp/clistats
8055d15a7cbab4de848659ee8bf9cbfeceb155b3
[ "MIT" ]
null
null
null
/** * Computes command line interface statistics for a stream of delimited input numbers. * @author Daniel Pulido <dpmcmlxxvi@gmail.com> * @copyright Copyright (c) 2014 Daniel Pulido <dpmcmlxxvi@gmail.com> * @file clistats.cpp * @license MIT License (http://opensource.org/licenses/MIT) */ /* Standard headers */...
33.210913
190
0.499584
[ "vector", "transform" ]
36027093bc9aa2f253cf21d8c6b81e276f2420ba
1,363
cc
C++
Str/68.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
Str/68.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
Str/68.cc
guohaoqiang/leetcode
802447c029c36892e8dd7391c825bcfc7ac0fd0b
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/text-justification/discuss/633915/Fast-and-thoroughly-explained-c%2B%2B-solution class Solution { public: vector<string> fullJustify(vector<string>& words, int w) { vector<string> ans; int j; for (int i=0; i<words.size(); i=j){ string...
32.452381
113
0.414527
[ "vector" ]
3607e1b2a6592195026a1e734bd101a41f10d819
1,203
hpp
C++
src/include/Parser.hpp
TheLastBilly/cainit
060bd4ee3dc953a2bbb4085c8ae059fc75d97287
[ "BSD-2-Clause" ]
null
null
null
src/include/Parser.hpp
TheLastBilly/cainit
060bd4ee3dc953a2bbb4085c8ae059fc75d97287
[ "BSD-2-Clause" ]
9
2020-02-14T17:51:22.000Z
2020-03-04T22:10:18.000Z
src/include/Parser.hpp
TheLastBilly/cainit
060bd4ee3dc953a2bbb4085c8ae059fc75d97287
[ "BSD-2-Clause" ]
null
null
null
// cainit - Parser.cpp // // Copyright (c) 2019, TheLastBilly // All rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #pragma once #include <iostream> #include <vector> #include "Cainit.hpp" #include <iostream> #...
21.872727
81
0.631754
[ "vector" ]
362d1675d750649ac602108649c3cb0d716b3500
22,423
cc
C++
src/GaIA/pkgs/nmap/nmap-6.40/nse_main.cc
uninth/UNItools
c8b1fbfd5d3753b5b14fa19033e39737dedefc00
[ "BSD-3-Clause" ]
null
null
null
src/GaIA/pkgs/nmap/nmap-6.40/nse_main.cc
uninth/UNItools
c8b1fbfd5d3753b5b14fa19033e39737dedefc00
[ "BSD-3-Clause" ]
null
null
null
src/GaIA/pkgs/nmap/nmap-6.40/nse_main.cc
uninth/UNItools
c8b1fbfd5d3753b5b14fa19033e39737dedefc00
[ "BSD-3-Clause" ]
1
2021-06-08T15:59:26.000Z
2021-06-08T15:59:26.000Z
#include "nmap.h" #include "nbase.h" #include "nmap_error.h" #include "portlist.h" #include "nsock.h" #include "NmapOps.h" #include "timing.h" #include "Target.h" #include "nmap_tty.h" #include "xml.h" #include "nse_main.h" #include "nse_utility.h" #include "nse_fs.h" #include "nse_nsock.h" #include "nse_nmaplib.h" #i...
27.37851
105
0.672256
[ "object", "vector" ]
15677348145bcbd7003b72d702664d650e4b5e95
1,327
cpp
C++
牛客面试题/8-22tx-5.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
牛客面试题/8-22tx-5.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
牛客面试题/8-22tx-5.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <set> #include <map> #include <stdlib.h> #include<string.h> using namespace std; #define int long long #define INTMAX 0x7fffffffffffffff signed main(){ ios::sync_with_stdio(false);cin.tie(0);cout.tie(0); int n; cin>>n; int a[n+10]; for(...
22.491525
55
0.388093
[ "vector" ]
156ec061023202b09794e158273cf78fb3cebc03
736
hpp
C++
cpplib/math/polyOrigin.hpp
kuroni/cpplibforCP
f948d26120e1d19a182b290b43f54c959446991e
[ "MIT" ]
null
null
null
cpplib/math/polyOrigin.hpp
kuroni/cpplibforCP
f948d26120e1d19a182b290b43f54c959446991e
[ "MIT" ]
null
null
null
cpplib/math/polyOrigin.hpp
kuroni/cpplibforCP
f948d26120e1d19a182b290b43f54c959446991e
[ "MIT" ]
1
2021-08-30T18:58:34.000Z
2021-08-30T18:58:34.000Z
#pragma once #include "poly.hpp" #include "mod.hpp" template<typename T> class PolyBaseOrigin : public PolyBase<T> { public: using PolyBase<T>::PolyBase; PolyBaseOrigin (const PolyBase<T> &x) : PolyBase<T>(x) {} protected: PolyBaseOrigin mul(const PolyBaseOrigin &rhs) const { std::vector<T> ans(this->size() ...
29.44
64
0.630435
[ "vector" ]
157261164b0dc3a8621ed0ecba47999afefb2cc6
4,834
hh
C++
src/nexus/args.hh
project-arcana/nexus
95429d94c9d90434f7feb27bb83f5a742c20e562
[ "MIT" ]
1
2020-12-09T13:54:59.000Z
2020-12-09T13:54:59.000Z
src/nexus/args.hh
project-arcana/nexus
95429d94c9d90434f7feb27bb83f5a742c20e562
[ "MIT" ]
7
2019-11-18T07:06:17.000Z
2021-10-03T10:53:50.000Z
src/nexus/args.hh
project-arcana/nexus
95429d94c9d90434f7feb27bb83f5a742c20e562
[ "MIT" ]
null
null
null
#pragma once #include <clean-core/function_ptr.hh> #include <clean-core/span.hh> #include <clean-core/string.hh> #include <clean-core/string_view.hh> #include <clean-core/vector.hh> #include <nexus/detail/api.hh> #include <nexus/detail/parse_arg.hh> namespace nx { /// easy parsing of command line args for Nexus Apps...
27.622857
149
0.561026
[ "vector" ]
157b3b666362e82b9fa2f5f62e99120200f1da93
3,567
cpp
C++
srrg2_proslam/src/srrg2_proslam/mapping/mergers/merger_projective_depth_ekf_impl.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
16
2020-03-11T14:27:38.000Z
2021-12-08T13:05:29.000Z
srrg2_proslam/src/srrg2_proslam/mapping/mergers/merger_projective_depth_ekf_impl.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
4
2020-05-21T11:59:27.000Z
2021-09-08T03:59:24.000Z
srrg2_proslam/src/srrg2_proslam/mapping/mergers/merger_projective_depth_ekf_impl.cpp
srrg-sapienza/srrg2_proslam
6321cd9f8c892c1949442abce6a934106954b2ae
[ "BSD-3-Clause" ]
1
2020-11-30T08:17:23.000Z
2020-11-30T08:17:23.000Z
#include "merger_projective_depth_ekf.h" namespace srrg2_proslam { using namespace srrg2_slam_interfaces; using namespace srrg2_core; template <typename TransformType_, typename FixedType_, typename MovingType_> void MergerProjectiveDepthEKF_<TransformType_, FixedType_, MovingType_>::_precompute() { using...
46.934211
100
0.736193
[ "transform" ]
157ef18dc0a169c2e25ca79a33f7188b11e83e01
3,485
cpp
C++
src/utils/transform_feedback.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
src/utils/transform_feedback.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
src/utils/transform_feedback.cpp
chokomancarr/chokoengine2
2825f2b95d24689f4731b096c8be39cc9a0f759a
[ "Apache-2.0" ]
null
null
null
#include "chokoengine.hpp" CE_BEGIN_NAMESPACE namespace { bool trycompile(GLuint& shad) { glCompileShader(shad); int compile_result; glGetShaderiv(shad, GL_COMPILE_STATUS, &compile_result); if (!compile_result) { int info_log_length = 0; glGetShaderiv(shad, GL_INFO_LOG_LENGTH, &info_log_length); if ...
29.533898
134
0.733142
[ "vector" ]
15911d63b9fad5c37b1764bd059ce50c310f7788
16,890
cc
C++
chrome/browser/search/ntp_icon_source.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/search/ntp_icon_source.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/search/ntp_icon_source.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-03-07T14:20:02.000Z
2021-03-07T14:20:02.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 "chrome/browser/search/ntp_icon_source.h" #include <stddef.h> #include <algorithm> #include <cmath> #include <utility> #include "base/bind.h" #...
38.738532
80
0.687271
[ "geometry", "vector" ]
159468d80c0ea0ce074e310189a4dd200dc97c8e
7,005
hpp
C++
engine/engine/alice/components/Random.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
null
null
null
engine/engine/alice/components/Random.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
null
null
null
engine/engine/alice/components/Random.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2022-01-28T16:37:51.000Z
2022-01-28T16:37:51.000Z
/* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
36.484375
100
0.699643
[ "object", "vector" ]
1594d1e0c7255c386bc51bffdfe47d2329a5d392
956
hpp
C++
coding-interviews/min_number_in_rotate_array_6.hpp
lonelyhentai/nowcoder-collection
db795a5349b59f8cbb69e974adbb90ad30912558
[ "WTFPL" ]
1
2020-03-08T13:54:54.000Z
2020-03-08T13:54:54.000Z
coding-interviews/min_number_in_rotate_array_6.hpp
lonelyhentai/nowcoder-collection
db795a5349b59f8cbb69e974adbb90ad30912558
[ "WTFPL" ]
null
null
null
coding-interviews/min_number_in_rotate_array_6.hpp
lonelyhentai/nowcoder-collection
db795a5349b59f8cbb69e974adbb90ad30912558
[ "WTFPL" ]
null
null
null
// [旋转数组的最小数字](https://www.nowcoder.com/practice/9f3231a991af4f55b95579b44b7a01ba) #pragma once #include <vector> namespace task6 { using namespace std; #define let const auto class Solution { public: // s < m < e // s< m > e // s > m< e int minNumberInRotateArray(const ve...
28.969697
85
0.493724
[ "vector" ]
159669e19b29ebd335bedd30fc0354c48efd1a65
7,944
cpp
C++
tests/core/program_arguments.cpp
swallat/hal
98b08ac69448c2d7067f1bdd53ba428548c87cc9
[ "MIT" ]
1
2019-05-13T17:14:35.000Z
2019-05-13T17:14:35.000Z
tests/core/program_arguments.cpp
swallat/hal
98b08ac69448c2d7067f1bdd53ba428548c87cc9
[ "MIT" ]
null
null
null
tests/core/program_arguments.cpp
swallat/hal
98b08ac69448c2d7067f1bdd53ba428548c87cc9
[ "MIT" ]
1
2020-01-09T23:38:55.000Z
2020-01-09T23:38:55.000Z
#include "test_def.h" #include "gtest/gtest.h" #include <core/log.h> #include <core/program_arguments.h> #include <iostream> class program_arguments_test : public ::testing::Test { protected: virtual void SetUp() { } virtual void TearDown() { } }; /** * Testing the access on the original arg...
39.522388
124
0.616566
[ "vector" ]
15a00bc72e5b014ecf976f867c88f1674da8dff7
32,426
cxx
C++
TransformProcessor/MRML/vtkMRMLTransformProcessorNode.cxx
cpinter/SlicerIGT
85265b6f70c1e499d4996e21854581683a874b89
[ "BSD-3-Clause" ]
1
2019-07-10T02:43:48.000Z
2019-07-10T02:43:48.000Z
TransformProcessor/MRML/vtkMRMLTransformProcessorNode.cxx
rprueckl/SlicerIGT
00ff9bf070d538d5c713bfc375f544ee4e8033bc
[ "BSD-3-Clause" ]
null
null
null
TransformProcessor/MRML/vtkMRMLTransformProcessorNode.cxx
rprueckl/SlicerIGT
00ff9bf070d538d5c713bfc375f544ee4e8033bc
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================== Program: 3D Slicer Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to ...
37.357143
175
0.613551
[ "transform", "3d" ]
15a721ec7c979ffcb6b41c096107b69dbe76b91b
331
cpp
C++
src/scene/Scene.cpp
lejonmcgowan/JohnnyTracer2
41d2378b5ee81dc0332e4a87379f2ce6338a915a
[ "MIT" ]
null
null
null
src/scene/Scene.cpp
lejonmcgowan/JohnnyTracer2
41d2378b5ee81dc0332e4a87379f2ce6338a915a
[ "MIT" ]
null
null
null
src/scene/Scene.cpp
lejonmcgowan/JohnnyTracer2
41d2378b5ee81dc0332e4a87379f2ce6338a915a
[ "MIT" ]
null
null
null
// // Created by lejonmcgowan on 1/3/17. // #include "Scene.h" Scene::Scene(std::shared_ptr<IPrimitive> aggregate, const std::vector<std::shared_ptr<ILight>>& lights) : lights(lights), aggregate(aggregate) { // Scene Constructor Implementation worldBound = aggregate->worldBound(); //todo add lights to ...
30.090909
103
0.703927
[ "vector" ]
15a7d2afdb64328f1e0808f1559de73d9b925d46
866
cpp
C++
demos/overload.cpp
hbursk/matchine
28b814343a5317c053dddc46fa2d40b971f32662
[ "MIT" ]
70
2018-11-21T14:46:17.000Z
2021-12-15T19:51:52.000Z
demos/overload.cpp
hbursk/matchine
28b814343a5317c053dddc46fa2d40b971f32662
[ "MIT" ]
4
2019-02-09T07:33:47.000Z
2020-12-03T17:57:53.000Z
demos/overload.cpp
hbursk/matchine
28b814343a5317c053dddc46fa2d40b971f32662
[ "MIT" ]
6
2019-02-22T11:09:06.000Z
2020-12-01T18:37:49.000Z
// // MIT License // // Copyright © 2018 // Native Instruments // // For more detailed information, please read the LICENSE in the root directory. // // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >8 #include <ni/functional/overload.h> #include <vector> #include <variant> #include <stri...
25.470588
81
0.516166
[ "vector" ]
15bbaa3e64c23c5204db2bb834316be6b9838129
5,581
cpp
C++
tech/Game/Mountable.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
tech/Game/Mountable.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
tech/Game/Mountable.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
/****************************************************************************** Copyright (c) 2015 Teardrop Games 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 wit...
29.68617
79
0.531267
[ "object", "vector", "transform" ]
15be7d475d45f50ff790eb00822ab4f0828362a0
5,541
cpp
C++
src/Native/natsu.fcall.cpp
dotnetGame/natsu-clr
1334aa1b8ff4af2819750417c54f76fe4784e6f8
[ "MIT" ]
73
2018-06-08T09:00:02.000Z
2022-03-30T10:22:03.000Z
src/Native/natsu.fcall.cpp
dotnetGame/natsu-clr
1334aa1b8ff4af2819750417c54f76fe4784e6f8
[ "MIT" ]
null
null
null
src/Native/natsu.fcall.cpp
dotnetGame/natsu-clr
1334aa1b8ff4af2819750417c54f76fe4784e6f8
[ "MIT" ]
4
2020-04-18T13:34:04.000Z
2021-03-09T07:46:34.000Z
#include "Chino.Kernel.h" #include "System.Console.h" #include <cmath> #include <random> #ifdef WIN32 #include <Windows.h> #endif using namespace natsu; using namespace System_Private_CoreLib; using namespace System_Private_CoreLib::System; using namespace System_Private_CoreLib::System::Diagnostics; using namespace S...
24.847534
158
0.730193
[ "object" ]
15c01362b938ce3a85a7ee174f49bcaf617cd2f9
1,612
cpp
C++
Teaching/ControllerManager.cpp
ryhanai/teachingplugin
a495885899eaa36ea00ba8ab89057cd4d3f36350
[ "MIT" ]
2
2020-07-21T06:08:42.000Z
2020-07-21T06:08:44.000Z
Teaching/ControllerManager.cpp
ryhanai/teachingplugin
a495885899eaa36ea00ba8ab89057cd4d3f36350
[ "MIT" ]
null
null
null
Teaching/ControllerManager.cpp
ryhanai/teachingplugin
a495885899eaa36ea00ba8ab89057cd4d3f36350
[ "MIT" ]
null
null
null
#include "ControllerManager.h" #include "TeachingUtil.h" #include "LoggerUtil.h" namespace teaching { ControllerManager* ControllerManager::instance() { static ControllerManager* handler = new ControllerManager(); return handler; } ControllerManager::ControllerManager() { } ControllerManager::~ControllerManager...
24.424242
93
0.760546
[ "vector" ]
15c9a57d57a95cd9ae6a33cef22b3f99176087c8
26,983
cpp
C++
examples/thumbnail/app.cpp
sketchbooks99/PRayGround
07d1779f2e36ad9ed5fd6df457cdc515b9017300
[ "MIT" ]
23
2021-08-25T10:40:40.000Z
2022-03-28T13:02:05.000Z
examples/thumbnail/app.cpp
sketchbooks99/PRayGround
07d1779f2e36ad9ed5fd6df457cdc515b9017300
[ "MIT" ]
2
2021-12-04T12:50:44.000Z
2021-12-14T14:55:00.000Z
examples/thumbnail/app.cpp
sketchbooks99/PRayGround
07d1779f2e36ad9ed5fd6df457cdc515b9017300
[ "MIT" ]
1
2021-04-15T13:13:17.000Z
2021-04-15T13:13:17.000Z
#include "app.h" #define INTERACTIVE 1 static void streamProgress(int frame, int max_frame, float elapsed_time, int bar_length) { cout << "\rRendering: ["; int progress = static_cast<int>( ( (float)(frame) / max_frame) * bar_length ); for (int i = 0; i < progress; i++) cout << "+"; f...
42.095164
183
0.646296
[ "mesh", "render", "shape", "vector", "model", "transform" ]
15d70341100014c9a02ce7c3314a146b2c21df3c
1,604
cpp
C++
dayten.cpp
seanlowjk/aoc-2020-cpp
74b0b58362bd082beeff1295118c15551547771e
[ "MIT" ]
null
null
null
dayten.cpp
seanlowjk/aoc-2020-cpp
74b0b58362bd082beeff1295118c15551547771e
[ "MIT" ]
null
null
null
dayten.cpp
seanlowjk/aoc-2020-cpp
74b0b58362bd082beeff1295118c15551547771e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <iostream> #include <algorithm> #include <vector> int main() { // Avoids synchro with input stream std::ios_base::sync_with_stdio(false); // Guarentees the flushing of cout before cin std::cin.tie(NULL); std::string input; std::vector<long> voltages; wh...
23.246377
102
0.543017
[ "vector" ]
15e4a17e0b9b95db04a19b7e363aa0ad11de6019
459
cpp
C++
engine/modules/net/editor/http_client_editor.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
58
2018-05-10T17:06:42.000Z
2019-01-24T13:42:22.000Z
engine/modules/net/editor/http_client_editor.cpp
blab-liuliang/echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
290
2018-01-24T16:29:42.000Z
2019-01-24T07:11:16.000Z
engine/modules/net/editor/http_client_editor.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
9
2018-08-26T04:06:21.000Z
2019-01-14T03:47:39.000Z
#include "http_client_editor.h" #include "engine/core/editor/editor.h" #include "engine/core/main/Engine.h" namespace Echo { #ifdef ECHO_EDITOR_MODE HttpClientEditor::HttpClientEditor(Object* object) : ObjectEditor(object) { } HttpClientEditor::~HttpClientEditor() { } ImagePtr HttpClientEditor::getThumbnail...
19.956522
114
0.751634
[ "object" ]
15f070c3397adb5d6adc8c6578e6490104f483dd
3,575
cpp
C++
core/silkworm/trie/node.cpp
gelfand/silkworm
cc995126e45c48a5c45d6be287a8515f843e602a
[ "Apache-2.0" ]
null
null
null
core/silkworm/trie/node.cpp
gelfand/silkworm
cc995126e45c48a5c45d6be287a8515f843e602a
[ "Apache-2.0" ]
null
null
null
core/silkworm/trie/node.cpp
gelfand/silkworm
cc995126e45c48a5c45d6be287a8515f843e602a
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 The Silkworm Authors 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 ...
32.5
114
0.638881
[ "vector" ]
15f403492bc3ac6aa91a40e3cb8e1dbe685fa3ca
16,907
cpp
C++
Code/Projects/Rosa/src/rosawardrobe.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
6
2022-01-22T02:18:07.000Z
2022-02-14T09:30:53.000Z
Code/Projects/Rosa/src/rosawardrobe.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
null
null
null
Code/Projects/Rosa/src/rosawardrobe.cpp
dphrygian/zeta
2b32760558cf2b20c626cf46fcf2a382924988fe
[ "Zlib", "Unlicense" ]
null
null
null
#include "core.h" #include "rosawardrobe.h" #include "mathfunc.h" #include "configmanager.h" #include "idatastream.h" #include "hsv.h" RosaWardrobe::RosaWardrobe() : m_Wardrobes() , m_Bodies() , m_Skins() , m_Hairs() , m_Eyes() , m_Heads() , m_Outfits() , m_Styles() , m_Schemes() , m_Pieces() , m_Options() , m_Accesso...
30.463063
135
0.72396
[ "mesh", "vector" ]
15f94bbdcd0fb623f8d1148d4e44d099b8554239
1,299
c++
C++
algorithms_and_data_structures-develop/0_1_knapsack_problems.c++
Nirj2004/data_structures_and_algorithms
50879a589e9fa979de47b38f183fdf148378b486
[ "Apache-2.0" ]
2
2022-02-27T11:01:44.000Z
2022-02-27T11:04:06.000Z
algorithms_and_data_structures-develop/0_1_knapsack_problems.c++
Nirj2004/data_structures_and_algorithms
50879a589e9fa979de47b38f183fdf148378b486
[ "Apache-2.0" ]
null
null
null
algorithms_and_data_structures-develop/0_1_knapsack_problems.c++
Nirj2004/data_structures_and_algorithms
50879a589e9fa979de47b38f183fdf148378b486
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <sstream> #include <cctype> #include <math> int maximum_possible_loot_value(const std::vector<int>& weights, const std::vector<int>& values, const int capacity) { int items_count = values.size(); std::vector<std::vector<int>>loots(i...
28.866667
89
0.529638
[ "vector" ]
15f9e03b738c6dc048f40aa48a1929b083fa0f24
28,055
cpp
C++
Source/ui_win32/Debugger.cpp
literalmente-game/Play-
c7cb9b12c751aadf105c6e05f36dbd647e7f9d2c
[ "BSD-2-Clause" ]
null
null
null
Source/ui_win32/Debugger.cpp
literalmente-game/Play-
c7cb9b12c751aadf105c6e05f36dbd647e7f9d2c
[ "BSD-2-Clause" ]
null
null
null
Source/ui_win32/Debugger.cpp
literalmente-game/Play-
c7cb9b12c751aadf105c6e05f36dbd647e7f9d2c
[ "BSD-2-Clause" ]
null
null
null
#include "../iop/IopBios.h" #include <stdio.h> #include <io.h> #include <fcntl.h> #include <iostream> #include "../AppConfig.h" #include "../MIPSAssembler.h" #include "../Ps2Const.h" #include "../ee/PS2OS.h" #include "../MipsFunctionPatternDb.h" #include "StdStream.h" #include "win32/AcceleratorTableGenerator.h" #inclu...
31.276477
159
0.709891
[ "vector" ]
c60a886a0ecfe0221200bb6ae783cc0dd504d93c
1,140
cc
C++
ext/v8/backref.cc
stereobooster/therubyracer
09e4d4025144b04ea66e4111b539a2483991f846
[ "Unlicense", "MIT" ]
null
null
null
ext/v8/backref.cc
stereobooster/therubyracer
09e4d4025144b04ea66e4111b539a2483991f846
[ "Unlicense", "MIT" ]
null
null
null
ext/v8/backref.cc
stereobooster/therubyracer
09e4d4025144b04ea66e4111b539a2483991f846
[ "Unlicense", "MIT" ]
null
null
null
#include "rr.h" namespace rr { VALUE Backref::Storage; ID Backref::_new; ID Backref::object; void Backref::Init() { Storage = rb_eval_string("Ref::WeakReference"); rb_gc_register_address(&Storage); _new = rb_intern("new"); object = rb_intern("object"); } Backref::Backref(VALUE initial) {...
21.111111
71
0.642105
[ "object" ]
c60e2ace6318619b1d131a2b700f662c3864eeb5
10,906
cpp
C++
snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/System.Drawing.ClassicStringFormatExamples/CPP/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
#using <System.Data.dll> #using <System.dll> #using <System.Drawing.dll> #using <System.Windows.Forms.dll> using namespace System; using namespace System::Drawing; using namespace System::Collections; using namespace System::ComponentModel; using namespace System::Windows::Forms; using namespace System::Data; /// <su...
39.80292
161
0.666789
[ "object" ]
723ab0ab3f15e718a2aecedaef8ba4eaca9678bf
2,415
hpp
C++
cmd/Command.hpp
Tchernobil21/ExtendedCommandParser
161207ae983dc0b3014fb8bb07b3f7cb94974f01
[ "MIT" ]
1
2015-04-19T17:52:35.000Z
2015-04-19T17:52:35.000Z
cmd/Command.hpp
Tchernobil21/ExtendedCommandParser
161207ae983dc0b3014fb8bb07b3f7cb94974f01
[ "MIT" ]
null
null
null
cmd/Command.hpp
Tchernobil21/ExtendedCommandParser
161207ae983dc0b3014fb8bb07b3f7cb94974f01
[ "MIT" ]
null
null
null
#ifndef COMMAND_H #define COMMAND_H #include <iostream> #include <map> #include <set> #include <vector> #include "Argument.hpp" #include "Minus.hpp" #include "Plus.hpp" #include "Target.hpp" #include "DependenceTree.hpp" namespace cmd { class Command { public: Command(const std::string name, const std::strin...
32.635135
131
0.722981
[ "vector" ]
723eaecce79df074571aa20a820013fbc8518795
8,274
hpp
C++
src/lib/clxx/info/platform_query.hpp
ptomulik/clxx
9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8
[ "MIT" ]
1
2015-08-12T13:11:35.000Z
2015-08-12T13:11:35.000Z
src/lib/clxx/info/platform_query.hpp
ptomulik/clxx
9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8
[ "MIT" ]
67
2015-01-03T10:11:13.000Z
2015-10-21T11:03:06.000Z
src/lib/clxx/info/platform_query.hpp
ptomulik/clxx
9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8
[ "MIT" ]
null
null
null
// @COPYRIGHT@ // Licensed under MIT license (LICENSE.txt) // clxx/info/platform_query.hpp /** // doc: clxx/info/platform_query.hpp {{{ * \file clxx/info/platform_query.hpp * \brief Provides the clxx::platform_query class. * * This file contains definition of clxx::platform_query class, which * configures querie...
35.208511
105
0.675973
[ "object" ]
723f74202eeb1347892c21a09e0ce5e3f58886f0
2,306
cpp
C++
client/ModelGenerated/createaccount.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
1
2015-08-23T11:03:58.000Z
2015-08-23T11:03:58.000Z
client/ModelGenerated/createaccount.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
null
null
null
client/ModelGenerated/createaccount.cpp
vorushin/moodbox_aka_risovaska
5943452e4c7fc9e3c828f62f565cd2da9a040e92
[ "MIT" ]
3
2016-12-05T02:43:52.000Z
2021-06-30T21:35:46.000Z
#include "listwrapperobjects.h" #include "createaccount.h" namespace MoodBox { CreateAccountData::CreateAccountData() : QSharedData() { } CreateAccountData::CreateAccountData(UserAccount userAccount, QString inviteCode) : QSharedData() { this->userAccount = userAccount; this->inviteCode = inviteCode; } Creat...
25.910112
104
0.724198
[ "object" ]
723fdd16b0236ec49317ff0f779efac7f8712936
2,946
hpp
C++
CouplingManager.hpp
FluiditLtd/caddies-caflood
e43521a47665209454af7fa1b4ee8c280486f969
[ "MIT" ]
2
2021-12-23T09:02:14.000Z
2021-12-23T09:04:24.000Z
CouplingManager.hpp
FluiditLtd/caddies-caflood
e43521a47665209454af7fa1b4ee8c280486f969
[ "MIT" ]
null
null
null
CouplingManager.hpp
FluiditLtd/caddies-caflood
e43521a47665209454af7fa1b4ee8c280486f969
[ "MIT" ]
null
null
null
/* * CouplingManager.hpp * * Created on: Jun 15, 2021 * Author: sunelma */ #ifndef _COUPLINGMANAGER_HPP_ #define _COUPLINGMANAGER_HPP_ #include"ca2D.hpp" #include"BaseTypes.hpp" #include"Box.hpp" #include<string> #include<vector> //! Structure with the configuration value that define an inflow of //! wate...
29.168317
122
0.661914
[ "vector", "model" ]
7240c54fc80e7d28a6d81de6e0802437e6061806
17,388
hpp
C++
include/trafo/data_layout/variable_declaration.hpp
flwende/code_transformation
07603c562d9acda3ae801e2f9ebb7d5f87cf6fb7
[ "BSD-2-Clause" ]
3
2019-08-27T10:25:41.000Z
2020-04-16T22:17:52.000Z
include/trafo/data_layout/variable_declaration.hpp
flwende/code_transformation
07603c562d9acda3ae801e2f9ebb7d5f87cf6fb7
[ "BSD-2-Clause" ]
null
null
null
include/trafo/data_layout/variable_declaration.hpp
flwende/code_transformation
07603c562d9acda3ae801e2f9ebb7d5f87cf6fb7
[ "BSD-2-Clause" ]
1
2020-05-13T20:57:10.000Z
2020-05-13T20:57:10.000Z
// Copyright (c) 2017-2019 Florian Wende (flwende@gmail.com) // // Distributed under the BSD 2-clause Software License // (See accompanying file LICENSE) #if !defined(TRAFO_DATA_LAYOUT_VARIABLE_DECLARATION_HPP) #define TRAFO_DATA_LAYOUT_VARIABLE_DECLARATION_HPP #include <cstdint> #include <iostream> #include <vector>...
46.491979
244
0.489878
[ "vector" ]
7242bf31679f1a2c154e58d684ee51bd9359ce19
19,930
cpp
C++
libJumpropes/Common/HttpClient.cpp
partouf/Crosscables
cf621ae938e69cc63e37d4d32a7cbdc32486787b
[ "MIT" ]
6
2019-11-18T01:58:33.000Z
2022-01-02T04:00:51.000Z
libJumpropes/Common/HttpClient.cpp
partouf/Crosscables
cf621ae938e69cc63e37d4d32a7cbdc32486787b
[ "MIT" ]
5
2016-12-30T14:20:34.000Z
2020-09-22T23:59:38.000Z
libJumpropes/Common/HttpClient.cpp
partouf/Crosscables
cf621ae938e69cc63e37d4d32a7cbdc32486787b
[ "MIT" ]
null
null
null
#include "HttpClient.h" #include <Groundfloor/Bookshelfs/BValue.h> #include <Groundfloor/Materials/Functions.h> #include "../Functions.h" #ifdef GF_OS_LINUX #include <cstring> #include <cstdlib> #endif const char crlf[] = {13,10,0}; const char crlfcrlf[] = {13,10,13,10,0}; const char space[] = " "; const ch...
27.30137
151
0.606372
[ "vector" ]
724e07e0668139d95446ddd7ab4209249e6e1542
9,219
cpp
C++
third_party/skia_m84/third_party/externals/angle2/src/common/PoolAlloc.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
20
2019-04-18T07:37:34.000Z
2022-02-02T21:43:47.000Z
third_party/skia_m84/third_party/externals/angle2/src/common/PoolAlloc.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
11
2019-10-21T13:39:41.000Z
2021-11-05T08:11:54.000Z
third_party/skia_m84/third_party/externals/angle2/src/common/PoolAlloc.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
1
2021-12-03T18:11:36.000Z
2021-12-03T18:11:36.000Z
// // Copyright 2019 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. // // PoolAlloc.cpp: // Implements the class methods for PoolAllocator and Allocation classes. // #include "common/PoolAlloc.h" #include <asse...
27.519403
99
0.6338
[ "object" ]
7254e62b333d85982d71b8a62ada72fc6075557a
6,949
hpp
C++
c++/include/objtools/readers/reader_base.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/objtools/readers/reader_base.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/objtools/readers/reader_base.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: reader_base.hpp 352777 2012-02-09 12:01:52Z ludwigf $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government ...
30.884444
81
0.607569
[ "render", "object" ]
7256b1bcd5f31c404386b39020b50c665e8c6cc7
3,851
hpp
C++
include/MasterServer/MessageHandler_--c__DisplayClass77_0_1.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/MasterServer/MessageHandler_--c__DisplayClass77_0_1.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/MasterServer/MessageHandler_--c__DisplayClass77_0_1.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: MasterServer.MessageHandler #include "MasterServer/MessageHandler.hpp" #inclu...
55.811594
258
0.744482
[ "object", "vector" ]
7260ed53844728357ebff17e58bf3f9582b8420b
4,378
c++
C++
src/extern/inventor/apps/samples/lod/details.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/extern/inventor/apps/samples/lod/details.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/extern/inventor/apps/samples/lod/details.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
33.166667
77
0.678392
[ "geometry" ]
726221925a6b5144836593253bbd447b9891add8
16,502
hpp
C++
include/VROSC/PreferencesPanelUI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/PreferencesPanelUI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/PreferencesPanelUI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.MonoBehaviour #include ...
50.310976
192
0.738638
[ "object", "vector" ]
72648598b775e88f62f653d939e3db5b55d891d3
4,753
cpp
C++
android-30/java/util/logging/LogRecord.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/util/logging/LogRecord.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/util/logging/LogRecord.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JArray.hpp" #include "../../../JObjectArray.hpp" #include "../../io/ObjectInputStream.hpp" #include "../../io/ObjectOutputStream.hpp" #include "../../../JString.hpp" #include "../../../JThrowable.hpp" #include "../../time/Instant.hpp" #include "../ResourceBundle.hpp" #include "../concurrent/atomic/At...
19.640496
76
0.660635
[ "object" ]
7269662c3211fdb62b7228f2dd344766f0d51696
3,174
cpp
C++
src/engine/resource_manager.cpp
Gaetz/SDL-OpenGL
ee0d8bf49c143f973c81cde973f7261c44bb1df2
[ "MIT" ]
13
2020-01-03T12:19:47.000Z
2022-01-02T08:22:56.000Z
src/engine/resource_manager.cpp
Gaetz/cpp-Tetris
ee0d8bf49c143f973c81cde973f7261c44bb1df2
[ "MIT" ]
null
null
null
src/engine/resource_manager.cpp
Gaetz/cpp-Tetris
ee0d8bf49c143f973c81cde973f7261c44bb1df2
[ "MIT" ]
3
2021-12-07T21:08:02.000Z
2022-03-22T04:33:08.000Z
#include "resource_manager.h" #include "log.h" #include <iostream> #include <sstream> #include <fstream> #include <memory> // Instantiate static variables std::map<std::string, Texture2D> ResourceManager::textures; std::map<std::string, Shader> ResourceManager::shaders; Shader ResourceManager::loadShader(const std::...
29.663551
155
0.720542
[ "geometry", "object" ]
726aeac3ec80745b146a128e822ad8df6bca7068
728
hpp
C++
Engine/Mesh/OpenGLMesh.hpp
FeikoJoosten/GameEngineFramework
09017f92270db6d0fc649949a2960f9a14d5db0e
[ "MIT" ]
5
2019-02-16T18:55:40.000Z
2019-07-30T09:07:11.000Z
Engine/Mesh/OpenGLMesh.hpp
FeikoJoosten/GameEngineFramework
09017f92270db6d0fc649949a2960f9a14d5db0e
[ "MIT" ]
null
null
null
Engine/Mesh/OpenGLMesh.hpp
FeikoJoosten/GameEngineFramework
09017f92270db6d0fc649949a2960f9a14d5db0e
[ "MIT" ]
null
null
null
#pragma once #include "Engine/Utility/Defines.hpp" #ifdef USING_OPENGL #include "Engine/Mesh/Mesh.hpp" #include <ThirdParty/glew-2.1.0/include/GL/glew.h> namespace Engine { /// <summary> /// This object is used to store data regarding a mesh. NOTE: only the resource manager is allowed to create a mesh. /// </summa...
26
117
0.729396
[ "mesh", "object", "vector" ]
726c523700a4de30daa203e9c6d5eead7c0a2ded
949
cpp
C++
Leetcode/L14-longestCommonPrefix.cpp
Yvettre/Cpp-practice
711985f27789cd442962a004293ac4ef2ce5029c
[ "MIT" ]
null
null
null
Leetcode/L14-longestCommonPrefix.cpp
Yvettre/Cpp-practice
711985f27789cd442962a004293ac4ef2ce5029c
[ "MIT" ]
null
null
null
Leetcode/L14-longestCommonPrefix.cpp
Yvettre/Cpp-practice
711985f27789cd442962a004293ac4ef2ce5029c
[ "MIT" ]
null
null
null
/*************************************************************** Leetcode-easy-14: My runtime is 4ms. Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". All given inputs are in lowercase letters a-z. URL: https://leetcode.com...
29.65625
86
0.561644
[ "vector" ]
727e22f137fa7739f3f8e507e216cb9567685a91
34,418
hpp
C++
SU2-Quantum/SU2_CFD/include/output/COutput.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/SU2_CFD/include/output/COutput.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/SU2_CFD/include/output/COutput.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
/*! * \file COutput.hpp * \brief Headers of the output class. * \author T.Albring * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU2 Foundation * (http://su2foundation.org) * * Copyright 2012-2020, SU2 Contributors (cf. AUTHORS.md) * ...
42.968789
159
0.678192
[ "geometry", "vector" ]
72811fbc255282d723e3f0246466c83a814ee4dd
11,214
cpp
C++
src/Sparrow/Sparrow/Implementations/RealTimeSpectroscopy/IR/IRCalculator.cpp
qcscine/sparrow
387e56ed8da78e10d96861758c509f7c375dcf07
[ "BSD-3-Clause" ]
45
2019-06-12T20:04:00.000Z
2022-02-28T21:43:54.000Z
src/Sparrow/Sparrow/Implementations/RealTimeSpectroscopy/IR/IRCalculator.cpp
qcscine/sparrow
387e56ed8da78e10d96861758c509f7c375dcf07
[ "BSD-3-Clause" ]
12
2019-06-12T23:53:57.000Z
2022-03-28T18:35:57.000Z
src/Sparrow/Sparrow/Implementations/RealTimeSpectroscopy/IR/IRCalculator.cpp
qcscine/sparrow
387e56ed8da78e10d96861758c509f7c375dcf07
[ "BSD-3-Clause" ]
11
2019-06-22T22:52:51.000Z
2022-03-11T16:59:59.000Z
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ #include "IRCalculator.h" #include "../SpectroscopySettings.h" #include "../Utils/Spectrum.h" #include ...
49.400881
120
0.713751
[ "geometry" ]
7282b1e597b6219ffeb48d3605385920bdc36c1a
1,218
cpp
C++
cpp/src/main/utils/Random.cpp
fbobee/Alpenglow
5f956511017c1bee72390aaecd964c04d8ad4b45
[ "Apache-2.0" ]
28
2017-07-23T22:47:44.000Z
2022-03-12T15:11:13.000Z
cpp/src/main/utils/Random.cpp
fbobee/Alpenglow
5f956511017c1bee72390aaecd964c04d8ad4b45
[ "Apache-2.0" ]
4
2017-05-10T10:23:17.000Z
2019-05-23T14:07:09.000Z
cpp/src/main/utils/Random.cpp
fbobee/Alpenglow
5f956511017c1bee72390aaecd964c04d8ad4b45
[ "Apache-2.0" ]
9
2017-05-04T09:20:58.000Z
2021-12-14T08:19:01.000Z
#include "Random.h" bool Random::get_boolean(double p){ step(); return (state/(mod + 1.0) < p); } int Random::get_linear(int max){ step(); return sqrt(state/(mod + 1.0))*max; } double Random::get_linear(){ step(); return sqrt(state/(mod + 1.0)); } int Random::get_geometric(double param, int max) { step(); do...
27.066667
77
0.664204
[ "vector" ]
72845b8d70247f89e737b7011084255f68dccfcc
3,662
cpp
C++
engine/src/Graphics/Text/FontManager.cpp
Husenap/Wraith
79bdfdda77a97ee2859ea2455647b59700e22753
[ "MIT" ]
1
2021-06-27T14:46:46.000Z
2021-06-27T14:46:46.000Z
engine/src/Graphics/Text/FontManager.cpp
Husenap/2DGE
79bdfdda77a97ee2859ea2455647b59700e22753
[ "MIT" ]
19
2021-10-29T19:20:40.000Z
2021-12-20T01:18:34.000Z
engine/src/Graphics/Text/FontManager.cpp
KyaZero/Wraith
6e084f46c3c6ca1bcbedb7950d33d10b546e6454
[ "MIT" ]
1
2021-06-27T15:09:52.000Z
2021-06-27T15:09:52.000Z
#include "FontManager.h" #include "Graphics/ContentManager.h" #include "Graphics/DXUtil.h" namespace Wraith { FontManager::FontManager() { } FontManager::~FontManager() { for (auto& [_, font] : m_Fonts) { font.Release(); } if (m_FreetypeHandle) msdf...
30.773109
120
0.589842
[ "shape" ]
72889ed0abee1d43b1cbd67895350fc599274550
308
cpp
C++
source/pkgsrc/games/xu4/patches/patch-src_armor.cpp
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
1
2021-11-20T22:46:39.000Z
2021-11-20T22:46:39.000Z
source/pkgsrc/games/xu4/patches/patch-src_armor.cpp
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
source/pkgsrc/games/xu4/patches/patch-src_armor.cpp
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
$NetBSD: patch-src_armor.cpp,v 1.1.1.1 2012/01/08 15:52:12 wiz Exp $ Add missing header. --- src/armor.cpp.orig 2004-05-26 03:32:52.000000000 +0000 +++ src/armor.cpp @@ -12,6 +12,7 @@ #include "error.h" #include "names.h" #include "tile.h" +#include <string.h> using std::vector; using std::string;
20.533333
68
0.659091
[ "vector" ]
7288f8864d898eef87baa9106806c39e1b51243c
9,110
cc
C++
src/arch/runtime/message_hub.cc
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
src/arch/runtime/message_hub.cc
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
src/arch/runtime/message_hub.cc
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
// Copyright 2010-2013 RethinkDB, all rights reserved. #include "arch/runtime/message_hub.hpp" #include <math.h> #include <unistd.h> #include "config/args.hpp" #include "arch/runtime/event_queue.hpp" #include "arch/runtime/thread_pool.hpp" #include "logger.hpp" #include "random.hpp" #include "utils.hpp" // Set this ...
35.447471
114
0.656092
[ "object" ]
72932cce6c73f4871466d942a8180f4dff939fb4
21,483
cpp
C++
src/DecisionEngine/Core/Components/Score.cpp
davidbrownell/DavidBrownell_DecisionEngine
f331b57f7b5ab4a5de84595f79df191fc0c13fba
[ "BSL-1.0" ]
null
null
null
src/DecisionEngine/Core/Components/Score.cpp
davidbrownell/DavidBrownell_DecisionEngine
f331b57f7b5ab4a5de84595f79df191fc0c13fba
[ "BSL-1.0" ]
null
null
null
src/DecisionEngine/Core/Components/Score.cpp
davidbrownell/DavidBrownell_DecisionEngine
f331b57f7b5ab4a5de84595f79df191fc0c13fba
[ "BSL-1.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////// /// /// \file Score.cpp /// \brief See Score.h /// /// \author David Brownell <db@DavidBrownell.com> /// \date 2020-05-20 22:05:42 /// /// \note /// /// \bug /// /////////////////////////////////...
32.55
211
0.538752
[ "object", "vector" ]
72967e8b4c0ad4b04ff7007a4d49e754aaeff729
7,444
cpp
C++
storage/src/tests/bucketdb/judyarraytest.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2020-06-02T13:28:29.000Z
2020-06-02T13:28:29.000Z
storage/src/tests/bucketdb/judyarraytest.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2021-03-31T22:24:20.000Z
2021-03-31T22:24:20.000Z
storage/src/tests/bucketdb/judyarraytest.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2020-09-03T11:39:52.000Z
2020-09-03T11:39:52.000Z
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/storage/bucketdb/judyarray.h> #include <boost/random.hpp> #include <vespa/vespalib/gtest/gtest.h> #include <gmock/gmock.h> #include <map> #include <vector> using namespace ::testing; ...
36.851485
118
0.602096
[ "vector" ]
72969ff97cc4c61bec054bb2466a72ad15812b43
7,576
cc
C++
src/api/assets/pngw.cc
izzyaxel/Loft
809b4e3df2c2b08092c6b3a94073f4509240b4f2
[ "BSD-3-Clause" ]
null
null
null
src/api/assets/pngw.cc
izzyaxel/Loft
809b4e3df2c2b08092c6b3a94073f4509240b4f2
[ "BSD-3-Clause" ]
null
null
null
src/api/assets/pngw.cc
izzyaxel/Loft
809b4e3df2c2b08092c6b3a94073f4509240b4f2
[ "BSD-3-Clause" ]
null
null
null
#include "pngw.hh" #include <png.h> #include <cstring> PNG::PNG(uint32_t width, uint32_t height, char colorFormat, char bitDepth, std::vector<uint8_t> &&imageData) : width(width), height(height), colorFormat(colorFormat), bitDepth(bitDepth), imageData(imageData){} void pngErrorCallback(png_structp, png_const_charp e...
28.163569
209
0.696278
[ "vector" ]
72a429e1647155a35d493856a98a3861241ad797
6,006
cc
C++
lib/process/process_builder.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
lib/process/process_builder.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
lib/process/process_builder.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia 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 "garnet/lib/process/process_builder.h" #include <fcntl.h> #include <lib/fdio/io.h> #include <lib/fdio/limits.h> #include <lib/fdio/namespace.h> #...
28.875
86
0.689311
[ "vector" ]
72a677c09b4556c8754f3b1e7cc3402f5f0d75fa
15,713
cpp
C++
dlls/buildcam.cpp
avwuff/Half-Life-TFC-AVC-Mod
3b6a32b615e42cd541f078065458d47c3d4688ba
[ "MIT" ]
5
2019-05-08T19:25:02.000Z
2021-09-12T00:26:20.000Z
dlls/buildcam.cpp
avwuff/Half-Life-TFC-AVC-Mod
3b6a32b615e42cd541f078065458d47c3d4688ba
[ "MIT" ]
1
2018-08-28T13:46:12.000Z
2018-08-28T13:48:40.000Z
dlls/buildcam.cpp
avwuff/Half-Life-TFC-AVC-Mod
3b6a32b615e42cd541f078065458d47c3d4688ba
[ "MIT" ]
1
2021-03-08T15:39:39.000Z
2021-03-08T15:39:39.000Z
#include "extdll.h" #include "enginecallback.h" #include "util.h" #include "cbase.h" #include "entity_state.h" #include "soundent.h" #include "studio.h" #include "bot.h" #include "avdll.h" #include "sadll.h" #include "buildcam.h" extern GETENTITYAPI other_GetEntityAPI; extern enginefuncs_t g_engfuncs; extern global...
22.706647
209
0.628524
[ "vector", "model", "solid" ]
72a9598c4347a21029d6b18d7b03f8dd7eea2a3e
4,584
cpp
C++
src/opengl/ProgramPool.cpp
Shachlan/lottie-example
b848580195ece4b8147cb5c8ab54caf5cbd6ac3c
[ "BSD-3-Clause" ]
null
null
null
src/opengl/ProgramPool.cpp
Shachlan/lottie-example
b848580195ece4b8147cb5c8ab54caf5cbd6ac3c
[ "BSD-3-Clause" ]
null
null
null
src/opengl/ProgramPool.cpp
Shachlan/lottie-example
b848580195ece4b8147cb5c8ab54caf5cbd6ac3c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019 Lightricks. All rights reserved. // Created by Shachar Langbeheim. #include "ProgramPool.hpp" #include <OpenGL/gl3.h> #include <fstream> #include <sstream> #include <vector> #include "GLException.hpp" using namespace WREOpenGL; void ProgramPool::delete_program(GLuint program_name) { auto sh...
31.613793
98
0.749564
[ "vector" ]
72b17fc1fe8b4d87ef17d94c26c7875bfc7a1168
749
hpp
C++
installation/installation_scripts/mvs-stereo-code-samples/include/eopcc/gdal_io.hpp
sebasmurphy/iarpa
aca39cc5390a153a9779a636ab2523e65cb6d3b0
[ "MIT" ]
20
2017-02-01T14:54:57.000Z
2022-01-25T06:34:35.000Z
installation/installation_scripts/mvs-stereo-code-samples/include/eopcc/gdal_io.hpp
sebasmurphy/iarpa
aca39cc5390a153a9779a636ab2523e65cb6d3b0
[ "MIT" ]
3
2020-04-21T12:11:26.000Z
2021-01-10T07:00:51.000Z
installation/installation_scripts/mvs-stereo-code-samples/include/eopcc/gdal_io.hpp
sebasmurphy/iarpa
aca39cc5390a153a9779a636ab2523e65cb6d3b0
[ "MIT" ]
10
2017-12-18T18:45:25.000Z
2021-11-22T02:43:03.000Z
#pragma once #include <eopcc/utility.hpp> namespace eopcc { void GdalCheckRegistration(); struct CropInfo { int pixel_begin; int pixel_end; int line_begin; int line_end; }; struct ImageType { int width; int height; int bands; std::vector<uint16_t> data; bool x_backwards, y_backwards; ImageType () { x_...
20.805556
126
0.740988
[ "vector" ]
72b304d8c5995fba44edee7719176efe32559e36
3,423
cpp
C++
src/Character/Character.cpp
makzyt4/dungeon-saga
a367d35fe2c4404a380e61f5b363e4a812cfa2c5
[ "MIT" ]
null
null
null
src/Character/Character.cpp
makzyt4/dungeon-saga
a367d35fe2c4404a380e61f5b363e4a812cfa2c5
[ "MIT" ]
null
null
null
src/Character/Character.cpp
makzyt4/dungeon-saga
a367d35fe2c4404a380e61f5b363e4a812cfa2c5
[ "MIT" ]
null
null
null
#include "../../include/Character/Character.hpp" void ds::Character::draw() { sf::Sprite sprite = currentAnimation->currentSprite(); sprite.setPosition(position.x, position.y); window->draw(sprite); } void ds::Character::jump() { float velocityY = -(2 + agility / 100.0f); if (climbing) { ...
25.544776
72
0.518551
[ "vector" ]
72bd4c03f847660709f1c2286b5ed4cdaa2a58c8
13,606
hpp
C++
C++17/include/GMSHparserTools.hpp
wme7/GMSHparser
d23d16b8dfb688a7a3a7bf1344baea72ad1e1550
[ "MIT" ]
null
null
null
C++17/include/GMSHparserTools.hpp
wme7/GMSHparser
d23d16b8dfb688a7a3a7bf1344baea72ad1e1550
[ "MIT" ]
null
null
null
C++17/include/GMSHparserTools.hpp
wme7/GMSHparser
d23d16b8dfb688a7a3a7bf1344baea72ad1e1550
[ "MIT" ]
null
null
null
#ifndef GMSH_PARSER_TOOLS #define GMSH_PARSER_TOOLS //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // // Common tools required for reading GMSH-file in format v2.2 and v4.1 // // Coded by Manuel A. Diaz @ Pprime | Univ-Poitiers, 2022.01.21 // //%%%%%%%%%%%%%%%%%%%%%%%%%%%...
35.432292
144
0.474717
[ "object", "vector", "solid" ]
72c0102e222fa985cdc695878faab0715ad7f1d0
47,524
hh
C++
include/sicktoolbox/SickLD.hh
eurogroep/sicktoolbox
b5d2257c1a8b03d5c49489da486c2bbb6de47566
[ "BSD-3-Clause" ]
457
2020-03-21T05:27:37.000Z
2022-03-30T12:05:52.000Z
include/sicktoolbox/SickLD.hh
eurogroep/sicktoolbox
b5d2257c1a8b03d5c49489da486c2bbb6de47566
[ "BSD-3-Clause" ]
29
2020-05-18T16:48:06.000Z
2022-03-31T05:43:24.000Z
include/sicktoolbox/SickLD.hh
eurogroep/sicktoolbox
b5d2257c1a8b03d5c49489da486c2bbb6de47566
[ "BSD-3-Clause" ]
121
2020-03-21T06:43:04.000Z
2022-03-31T12:27:29.000Z
/*! * \file SickLD.hh * \brief Defines the SickLD class for working with the * Sick LD-OEM/LD-LRS long range LIDARs. * * Code by Jason C. Derenick and Thomas H. Miller. * Contact derenick(at)lehigh(dot)edu * * The Sick LIDAR Matlab/C++ Toolbox * Copyright (c) 2008, Jason C. Derenick and Thomas H. Miller...
58.962779
245
0.654048
[ "vector" ]
72c3f1117186b4aaab256d4bd698f286f1c2537e
2,093
cpp
C++
src/Multivariate_Gaussian_emission.cpp
DiegoAE/BOSD
a7ce88462c64c540ba2922d16eb6f7eba8055b47
[ "MIT" ]
19
2019-05-03T05:31:43.000Z
2022-01-08T18:14:31.000Z
src/Multivariate_Gaussian_emission.cpp
DiegoAE/BOSD
a7ce88462c64c540ba2922d16eb6f7eba8055b47
[ "MIT" ]
2
2019-02-14T15:29:34.000Z
2020-06-04T10:14:54.000Z
src/Multivariate_Gaussian_emission.cpp
DiegoAE/BOSD
a7ce88462c64c540ba2922d16eb6f7eba8055b47
[ "MIT" ]
1
2019-07-01T07:44:09.000Z
2019-07-01T07:44:09.000Z
#include <armadillo> #include <cmath> #include <json.hpp> #include <iostream> #include <Multivariate_Gaussian_emission.hpp> using namespace arma; using namespace robotics; using namespace std; using json = nlohmann::json; namespace hsmm { /** * MultivariateGaussianEmission implementation. */ Mu...
34.311475
80
0.631151
[ "vector" ]
72c7dae777aea45960435e57198c12eadd063121
6,886
cpp
C++
presence/error_reporter.cpp
HCLOpenBMC/phosphor-fan-presence
3efec61c8f0ba530a24ad46e6c10d8827fbf9219
[ "Apache-2.0" ]
8
2017-03-20T22:56:15.000Z
2020-10-28T06:45:05.000Z
presence/error_reporter.cpp
HCLOpenBMC/phosphor-fan-presence
3efec61c8f0ba530a24ad46e6c10d8827fbf9219
[ "Apache-2.0" ]
25
2017-03-03T15:26:43.000Z
2022-02-11T15:00:39.000Z
presence/error_reporter.cpp
HCLOpenBMC/phosphor-fan-presence
3efec61c8f0ba530a24ad46e6c10d8827fbf9219
[ "Apache-2.0" ]
9
2017-02-13T18:11:49.000Z
2022-01-19T12:12:46.000Z
/** * Copyright © 2020 IBM 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 agr...
31.3
80
0.613999
[ "vector" ]
72cac39bcb859d0f2295738ae37c31b273615e44
2,148
cc
C++
player.cc
elliott1177/Blackjack
072297b30e5bc42be0f048b775eb28e3c869c55b
[ "MIT" ]
null
null
null
player.cc
elliott1177/Blackjack
072297b30e5bc42be0f048b775eb28e3c869c55b
[ "MIT" ]
3
2020-04-27T06:28:25.000Z
2020-05-07T08:51:13.000Z
player.cc
elliott1177/Blackjack
072297b30e5bc42be0f048b775eb28e3c869c55b
[ "MIT" ]
null
null
null
/** * @file player.cc * * @Copyright 2020 Elliott Krohnke, All rights reserved. */ #include "player.h" // returns 1 if bust int Player::Hit(Card dealt) { hand.push_back(dealt); int result = Update(dealt); return result; } // Call clear because this is a new round. Take two cards then print out stats. void P...
23.347826
79
0.602421
[ "vector" ]
72cfd59da66406b8d4f1ff57bede74282cb1fe40
829
cpp
C++
src/metric_term.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
35
2021-12-13T09:58:08.000Z
2022-03-30T11:03:01.000Z
src/metric_term.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
null
null
null
src/metric_term.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
3
2022-02-25T06:46:34.000Z
2022-03-16T05:46:53.000Z
#include "metric_term.h" #include "matrix_utils.h" #include "sobolev/h2.h" namespace rsurfaces { BiLaplacianMetricTerm::BiLaplacianMetricTerm(MeshPtr &mesh, GeomPtr &geom) { nMultiplyRows = 3 * mesh->nVertices(); std::vector<Triplet> biTriplets, biTriplets3x; // Build the bi-Laplacian ...
30.703704
96
0.688782
[ "mesh", "vector" ]
72d3c3793b109f5fd3a8f67b84bf174b0f692e69
700
cpp
C++
Section 6/Video 5/stringstream.cpp
irshadqemu/C-Standard-Template-Library-in-Practice
05a52a03c2fc50031f065da41d89cfbf651499f9
[ "MIT" ]
17
2019-10-10T21:09:51.000Z
2022-01-13T15:54:24.000Z
Section 6/Video 5/stringstream.cpp
irshadqemu/C-Standard-Template-Library-in-Practice
05a52a03c2fc50031f065da41d89cfbf651499f9
[ "MIT" ]
null
null
null
Section 6/Video 5/stringstream.cpp
irshadqemu/C-Standard-Template-Library-in-Practice
05a52a03c2fc50031f065da41d89cfbf651499f9
[ "MIT" ]
16
2019-10-10T21:09:55.000Z
2022-02-13T11:42:52.000Z
#include <iostream> #include <sstream> #include <string> #include <vector> #include <iterator> #include <algorithm> #include <numeric> using namespace std; int main() { stringstream ss; ss << 25 << " " << 50 << " " << 75 << " "; cout << ss.str() << "\n"; int i = 0; ss >> i; cout << i << "\n"; ss <<...
14.285714
57
0.49
[ "vector" ]
72dbd51e65305be0629f9a89fa1b913c9a500101
574
cpp
C++
Graphs/DFS/C++/DFS.cpp
ARulzz/codezilla
6bceb9ce2835942c6f7dfcaa420ea18d5c9935a6
[ "MIT" ]
147
2018-02-27T03:26:43.000Z
2022-01-21T18:25:33.000Z
Graphs/DFS/C++/DFS.cpp
ARulzz/codezilla
6bceb9ce2835942c6f7dfcaa420ea18d5c9935a6
[ "MIT" ]
273
2018-02-26T18:40:18.000Z
2021-07-31T10:37:44.000Z
Graphs/DFS/C++/DFS.cpp
ARulzz/codezilla
6bceb9ce2835942c6f7dfcaa420ea18d5c9935a6
[ "MIT" ]
234
2018-02-27T03:27:51.000Z
2021-05-11T08:44:22.000Z
/* * adikul30 * Aditya Kulkarni <aditya.kulkarni15@siesgst.ac.in> */ #include <bits/stdc++.h> using namespace std; #define REP(i, a, b) for(int i = a; i < b; ++i) #define pb push_back #define MAX 100 typedef vector<int> vi; bool visited[MAX]; vi adj[MAX]; void dfs(int s){ if (visited[s]) return; visited[s] = ...
14.35
52
0.592334
[ "vector" ]
72ddea9bab028d607c93c8827e46192a70a21766
5,185
cpp
C++
ext/openMVG/openMVG/sfm/pipelines/sequential/SfmSceneInitializerStellar.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
90
2019-05-19T03:48:23.000Z
2022-02-02T15:20:49.000Z
ext/openMVG/openMVG/sfm/pipelines/sequential/SfmSceneInitializerStellar.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
11
2019-05-22T07:45:46.000Z
2021-05-20T01:48:26.000Z
ext/openMVG/openMVG/sfm/pipelines/sequential/SfmSceneInitializerStellar.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
18
2019-05-19T03:48:32.000Z
2021-05-29T18:19:16.000Z
// This file is part of OpenMVG, an Open Multiple View Geometry C++ library. // Copyright (c) 2018 Pierre MOULON. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. ...
31.615854
113
0.725169
[ "geometry", "vector", "transform" ]
72e5595f47b167ce372bbd311a7b5d40acf135b2
4,787
hxx
C++
main/sw/inc/hhcwrp.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/inc/hhcwrp.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/inc/hhcwrp.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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 y...
40.567797
109
0.606852
[ "object" ]
72e6654127c39cd4951b54788a417db5263e0e1a
4,232
cpp
C++
third_party/WebKit/Source/core/animation/AnimationSimTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/animation/AnimationSimTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/animation/AnimationSimTest.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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 "core/animation/ElementAnimation.h" #include "core/css/PropertyDescriptor.h" #include "core/css/PropertyRegistration.h" #include "core/frame/WebL...
41.087379
79
0.714556
[ "object" ]
72e793cb760730072f4fa1a9ab7ede142154730e
3,154
cpp
C++
UEngine/UEngine/Game Architecture/Scene/GameScene.cpp
yus1108/UnsungEngine2
c824c049069a0d8283f84b09af7ae0182d9a48c9
[ "MIT" ]
null
null
null
UEngine/UEngine/Game Architecture/Scene/GameScene.cpp
yus1108/UnsungEngine2
c824c049069a0d8283f84b09af7ae0182d9a48c9
[ "MIT" ]
4
2021-03-12T06:11:36.000Z
2021-03-19T11:09:06.000Z
UEngine/UEngine/Game Architecture/Scene/GameScene.cpp
yus1108/UnsungEngine2
c824c049069a0d8283f84b09af7ae0182d9a48c9
[ "MIT" ]
null
null
null
#include "UEngine.h" #include "../../XMLParser/XMLSceneParser.h" #include "GameScene.h" void UEngine::GameScene::Init(bool isDebugMode) { InitDebugMode(isDebugMode); ResourceManager.Init(); partition2D = new Physics2D::SpatialPartition2D(); } void UEngine::GameScene::InitDebugMode(bool isDebugMode) { this->isDebu...
21.455782
115
0.696893
[ "render" ]
638fe460ec04faaa42dac3347263961b8b54c58e
2,407
inl
C++
include/visionaray/cuda/detail/pixel_pack_buffer.inl
ukoeln-vis/ctpperf
2d896c4e8f4a46a6aee198ed6492e7571361e00b
[ "MIT" ]
5
2017-08-11T00:11:45.000Z
2022-01-24T14:47:47.000Z
include/visionaray/cuda/detail/pixel_pack_buffer.inl
ukoeln-vis/ctpperf
2d896c4e8f4a46a6aee198ed6492e7571361e00b
[ "MIT" ]
null
null
null
include/visionaray/cuda/detail/pixel_pack_buffer.inl
ukoeln-vis/ctpperf
2d896c4e8f4a46a6aee198ed6492e7571361e00b
[ "MIT" ]
null
null
null
// This file is distributed under the MIT license. // See the LICENSE file for details. #include <visionaray/config.h> #include <stdexcept> #if VSNRAY_HAVE_GLEW #include <GL/glew.h> #endif #include <cuda_gl_interop.h> #include <visionaray/gl/handle.h> #include "../graphics_resource.h" namespace visionaray { nam...
21.684685
99
0.622351
[ "object" ]
639be714f7a34d179fcb25176d53e25cc5c128bc
49,297
cpp
C++
neo/idlib/MapFile.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
1
2018-11-07T22:44:23.000Z
2018-11-07T22:44:23.000Z
neo/idlib/MapFile.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
null
null
null
neo/idlib/MapFile.cpp
vic3t3chn0/OpenKrown
201c8fb6895cb0439e39c984d2fbc2c2eaf185b4
[ "MIT" ]
null
null
null
/* =========================================================================== Doom 3 BFG Edition GPL Source Code Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company. Copyright (C) 2015 Robert Beckebans This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code"). Doom ...
21.203011
366
0.575999
[ "mesh", "vector" ]
639d5c58aac21fb5161edde15b78492afc17abcf
7,836
cpp
C++
pxr/usd/usdSkel/animMapper.cpp
DougRogers-DigitalFish/USD
d8a405a1344480f859f025c4f97085143efacb53
[ "BSD-2-Clause" ]
3,680
2016-07-26T18:28:11.000Z
2022-03-31T09:55:05.000Z
pxr/usd/usdSkel/animMapper.cpp
DougRogers-DigitalFish/USD
d8a405a1344480f859f025c4f97085143efacb53
[ "BSD-2-Clause" ]
1,759
2016-07-26T19:19:59.000Z
2022-03-31T21:24:00.000Z
pxr/usd/usdSkel/animMapper.cpp
DougRogers-DigitalFish/USD
d8a405a1344480f859f025c4f97085143efacb53
[ "BSD-2-Clause" ]
904
2016-07-26T18:33:40.000Z
2022-03-31T09:55:16.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
29.794677
79
0.616258
[ "vector" ]
639d66943af910261a0e2cfbc35e7b1073590113
24,223
hh
C++
extern/OpenVolumeMesh/src/OpenVolumeMesh/Core/Iterators.hh
msraig/CE-PolyCube
e46aff6e0594b711735118bfa902a91bc3d392ca
[ "MIT" ]
19
2020-08-13T05:15:09.000Z
2022-03-31T14:51:29.000Z
extern/OpenVolumeMesh/src/OpenVolumeMesh/Core/Iterators.hh
xh-liu-tech/CE-PolyCube
86d4ed0023215307116b6b3245e2dbd82907cbb8
[ "MIT" ]
2
2020-09-08T07:03:04.000Z
2021-08-04T05:43:27.000Z
extern/OpenVolumeMesh/src/OpenVolumeMesh/Core/Iterators.hh
xh-liu-tech/CE-PolyCube
86d4ed0023215307116b6b3245e2dbd82907cbb8
[ "MIT" ]
10
2020-08-06T02:37:46.000Z
2021-07-01T09:12:06.000Z
/*===========================================================================*\ * * * OpenVolumeMesh * * Copyright (C) 2011 by Computer Graphics Group, RWTH Aachen * * ...
23.047574
91
0.553111
[ "mesh", "vector" ]
63a8ed90285477b0fd039bb7462de95cc9335c3a
2,865
cpp
C++
Atcoder/ARC_104/c.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
Atcoder/ARC_104/c.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
Atcoder/ARC_104/c.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
// Optimise #include <bits/stdc++.h> using namespace std; #ifdef LOCAL #include "/home/shahraaz/bin/debug.h" #else #define db(...) #endif using ll = long long; #define f first #define s second #define pb push_back #define all(v) v.begin(), v.end() const int NAX = 2e5 + 5, MOD = 1000000007; void no() { cout << "...
23.104839
131
0.381152
[ "vector" ]
63b789afa3fa40361c8becf89a00795f0c259ce6
4,050
cpp
C++
Examples/StereoKitCTest/demo_lines.cpp
AdrianaMusic/StereoKit
99aaa4fb71c0420519a903e15deb3da9875e0f99
[ "MIT" ]
1
2021-11-17T10:30:21.000Z
2021-11-17T10:30:21.000Z
Examples/StereoKitCTest/demo_lines.cpp
AdrianaMusic/StereoKit
99aaa4fb71c0420519a903e15deb3da9875e0f99
[ "MIT" ]
null
null
null
Examples/StereoKitCTest/demo_lines.cpp
AdrianaMusic/StereoKit
99aaa4fb71c0420519a903e15deb3da9875e0f99
[ "MIT" ]
null
null
null
#include "demo_lines.h" #include "../../StereoKitC/stereokit.h" #include "../../StereoKitC/stereokit_ui.h" using namespace sk; #include <vector> using namespace std; /////////////////////////////////////////// pose_t line_window_pose; pose_t line_palette_pose; model_t line_palette_model; color32 line_c...
32.66129
143
0.62963
[ "vector" ]
63bd96c2311bf5e9a5fc02d8ebeccece6f0cde63
2,332
hpp
C++
source/Animation/SkeletalMeshComponent.hpp
dantros/MonaEngine
e3d0048c2fe2dd282b84686f0e31e5741714222b
[ "MIT" ]
null
null
null
source/Animation/SkeletalMeshComponent.hpp
dantros/MonaEngine
e3d0048c2fe2dd282b84686f0e31e5741714222b
[ "MIT" ]
null
null
null
source/Animation/SkeletalMeshComponent.hpp
dantros/MonaEngine
e3d0048c2fe2dd282b84686f0e31e5741714222b
[ "MIT" ]
1
2021-09-07T03:06:01.000Z
2021-09-07T03:06:01.000Z
#pragma once #ifndef SKELETALMESHCOMPONENT_H #define SKELETALMESHCOMPONENT_H #include <string_view> #include <memory> #include <vector> #include "../Core/Log.hpp" #include "../World/ComponentTypes.hpp" #include "AnimationController.hpp" #include "../Rendering/Material.hpp" namespace Mona { class TransformComponent; c...
33.314286
143
0.774871
[ "mesh", "vector" ]
63c8340729f948778e586174ff6ab5363cf77583
5,601
cpp
C++
src/demos/vehicle/wheeled_models/demo_VEH_Sedan_Lockable_Diff.cpp
Benatti1991/chrono
d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf
[ "BSD-3-Clause" ]
1,383
2015-02-04T14:17:40.000Z
2022-03-30T04:58:16.000Z
src/demos/vehicle/wheeled_models/demo_VEH_Sedan_Lockable_Diff.cpp
Benatti1991/chrono
d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf
[ "BSD-3-Clause" ]
245
2015-01-11T15:30:51.000Z
2022-03-30T21:28:54.000Z
src/demos/vehicle/wheeled_models/demo_VEH_Sedan_Lockable_Diff.cpp
Benatti1991/chrono
d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf
[ "BSD-3-Clause" ]
351
2015-02-04T14:17:47.000Z
2022-03-30T04:42:52.000Z
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
36.607843
118
0.625603
[ "mesh", "render", "model" ]
63cac792a6da2c7c6b20f9ea5a9dd3c0f3f9dca6
29,804
cc
C++
tensorflow/compiler/mlir/hlo/lib/Dialect/lhlo/transforms/lhlo_legalize_to_parallel_loops.cc
piquark6046/tensorflow
57771c5d008f6d16fd147110213855d145a7e0bc
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/hlo/lib/Dialect/lhlo/transforms/lhlo_legalize_to_parallel_loops.cc
piquark6046/tensorflow
57771c5d008f6d16fd147110213855d145a7e0bc
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/hlo/lib/Dialect/lhlo/transforms/lhlo_legalize_to_parallel_loops.cc
piquark6046/tensorflow
57771c5d008f6d16fd147110213855d145a7e0bc
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
40.43962
80
0.653067
[ "shape", "vector" ]
63d3f04f049f412f8df4baaba91c1ce927261f28
2,229
cpp
C++
src/main.cpp
Butataki/cpp-simple-config-parser
26877faff122d8269a304f23897e97fe3e633557
[ "MIT" ]
null
null
null
src/main.cpp
Butataki/cpp-simple-config-parser
26877faff122d8269a304f23897e97fe3e633557
[ "MIT" ]
null
null
null
src/main.cpp
Butataki/cpp-simple-config-parser
26877faff122d8269a304f23897e97fe3e633557
[ "MIT" ]
1
2022-02-22T15:53:44.000Z
2022-02-22T15:53:44.000Z
#include <iostream> #include <vector> #include <iterator> #include <unistd.h> #include <typeinfo> #include "simple_config_parser/parser.h" //Example usage int main() { simple_config_parser::parser::Configuration conf = simple_config_parser::parser::Configuration("test.cfg"); simple_config_parser::parser::Conf...
53.071429
131
0.645132
[ "vector" ]
63d48b57390dc1e7ff80dfe64dc3f6b1a19c3e4e
23,434
cpp
C++
Tests/PromiscuousPacketHandling_Test.cpp
MasonT8198/xlinkhandheldassistant
16233b21f16686b63466dd8d9cf427e6e255d711
[ "MIT" ]
null
null
null
Tests/PromiscuousPacketHandling_Test.cpp
MasonT8198/xlinkhandheldassistant
16233b21f16686b63466dd8d9cf427e6e255d711
[ "MIT" ]
null
null
null
Tests/PromiscuousPacketHandling_Test.cpp
MasonT8198/xlinkhandheldassistant
16233b21f16686b63466dd8d9cf427e6e255d711
[ "MIT" ]
null
null
null
/* Copyright (c) 2021 [Rick de Bondt] - PromiscuousPacketHandling_Test.cpp * This file contains tests for the WirelessPromiscuousDevice class. **/ #include <gmock/gmock.h> #include <gtest/gtest.h> #include "IConnectorMock.h" #include "IPCapWrapperMock.h" #include "IWifiInterfaceMock.h" #include "NetConversionFuncti...
44.978887
120
0.653879
[ "vector" ]
63d80eb18db0e3547b5c7f8e04b68f84cf191bc3
4,835
hpp
C++
phosphor-regulators/src/rail.hpp
smccarney/phosphor-power
39ea02bc9458f3d5a7fdd317cb546ed046eaff78
[ "Apache-2.0" ]
7
2019-10-04T01:19:49.000Z
2021-06-02T23:11:19.000Z
phosphor-regulators/src/rail.hpp
smccarney/phosphor-power
39ea02bc9458f3d5a7fdd317cb546ed046eaff78
[ "Apache-2.0" ]
9
2019-10-23T14:22:03.000Z
2022-03-22T20:39:05.000Z
phosphor-regulators/src/rail.hpp
smccarney/phosphor-power
39ea02bc9458f3d5a7fdd317cb546ed046eaff78
[ "Apache-2.0" ]
11
2019-10-04T01:20:01.000Z
2022-03-03T06:08:16.000Z
/** * Copyright © 2019 IBM 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 agr...
29.662577
80
0.650672
[ "object" ]
63dbc05a6b4037d4fdcf4e1483de1b51b7720bf1
45,672
cc
C++
third_party/blink/renderer/bindings/tests/results/core/v8_test_callback_interface.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/bindings/tests/results/core/v8_test_callback_interface.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/bindings/tests/results/core/v8_test_callback_interface.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2014 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. // This file has been auto-generated from the Jinja2 template // third_party/blink/renderer/bindings/templates/callback_interface.cpp.tmpl // by the scrip...
43.290995
217
0.684993
[ "object" ]