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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
976d5f6ce0c858fbfeffa29adf5af638fa8e4d70 | 3,129 | cpp | C++ | source/qt_common/s4qt_unicTreeView.cpp | chinsaiki/s4-gui | c8a11aad28150da71127b89370bea9b7e2530fee | [
"MIT"
] | null | null | null | source/qt_common/s4qt_unicTreeView.cpp | chinsaiki/s4-gui | c8a11aad28150da71127b89370bea9b7e2530fee | [
"MIT"
] | null | null | null | source/qt_common/s4qt_unicTreeView.cpp | chinsaiki/s4-gui | c8a11aad28150da71127b89370bea9b7e2530fee | [
"MIT"
] | null | null | null | #include "qt_common/s4qt_unicTreeView.h"
#include <QDebug>
#include <QMouseEvent>
#include <QStandardItem>
#include <QLineEdit>
#include <QShortcut>
namespace S4
{
namespace QT
{
unicTreeView::unicTreeView(QWidget* parent):
QTreeView(parent)
{
QShortcut* shortCut = new QShortcut(Qt::Key_Delete, this);
connect(... | 26.74359 | 111 | 0.705657 | [
"model"
] |
976fbb363ff93d16cdc1b63c3f61b6b63216b4eb | 12,731 | cc | C++ | src/chrome/browser/component_updater/widevine_cdm_component_installer.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | src/chrome/browser/component_updater/widevine_cdm_component_installer.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | null | null | null | src/chrome/browser/component_updater/widevine_cdm_component_installer.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 3 | 2018-11-28T14:54:13.000Z | 2020-07-02T07:36:07.000Z | // Copyright (c) 2013 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/component_updater/widevine_cdm_component_installer.h"
#include <string.h>
#include <vector>
#include "base/base_paths.h"
#... | 35.761236 | 80 | 0.719346 | [
"vector"
] |
977b76f26399905076c989dcddf7dd959257cf3f | 7,828 | cpp | C++ | mpc_controller/ros_acado_bridge/ACADOtoolkit/examples/code_generation/simulation/quadcopter.cpp | kurshakuz/graduation-project | 352a94c2d3e24ce714460446342b612fbb6d1f52 | [
"BSD-2-Clause"
] | 2 | 2021-04-07T08:37:28.000Z | 2021-09-30T09:38:22.000Z | mpc_controller/ros_acado_bridge/ACADOtoolkit/examples/code_generation/simulation/quadcopter.cpp | kurshakuz/graduation-project | 352a94c2d3e24ce714460446342b612fbb6d1f52 | [
"BSD-2-Clause"
] | null | null | null | mpc_controller/ros_acado_bridge/ACADOtoolkit/examples/code_generation/simulation/quadcopter.cpp | kurshakuz/graduation-project | 352a94c2d3e24ce714460446342b612fbb6d1f52 | [
"BSD-2-Clause"
] | 2 | 2021-03-01T14:20:58.000Z | 2021-06-21T12:34:33.000Z | /*
* This file is part of ACADO Toolkit.
*
* ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
* Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau,
* Milan Vukov, Rien Quirynen, KU Leuven.
* Developed within the Optimization in Engineering Center (OPTEC)
* u... | 36.924528 | 191 | 0.531681 | [
"model"
] |
97834fbbb675708f730a3fb3b3f6b69dd0af50f1 | 739 | cpp | C++ | 35.cpp | Alex-Amber/LeetCode | c8d09e86cee52648f84ca2afed8dd0f13e51ab58 | [
"MIT"
] | null | null | null | 35.cpp | Alex-Amber/LeetCode | c8d09e86cee52648f84ca2afed8dd0f13e51ab58 | [
"MIT"
] | null | null | null | 35.cpp | Alex-Amber/LeetCode | c8d09e86cee52648f84ca2afed8dd0f13e51ab58 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ull = uint64_t;
using ll = int64_t;
using ld = long double;
class Solution
{
public:
int searchInsert(vector<int>& nums, int target)
{
// binary search to find the target in the ascending sequence
int lo = 0, hi = (int) nums.size() - 1;
int mid = -1;
while... | 23.09375 | 118 | 0.631935 | [
"vector"
] |
9783a27cc52160b3d9ae301b6e386fb6d6997a09 | 5,590 | cpp | C++ | mobilitypath_publisher/src/mobilitypath_publisher.cpp | adamlm/carma-platform | f6d46274cf6b6e14eddf8715b1a5204050d4c0e2 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 112 | 2020-04-27T17:06:46.000Z | 2022-03-31T15:27:14.000Z | mobilitypath_publisher/src/mobilitypath_publisher.cpp | adamlm/carma-platform | f6d46274cf6b6e14eddf8715b1a5204050d4c0e2 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 982 | 2020-04-17T11:28:04.000Z | 2022-03-31T21:12:19.000Z | mobilitypath_publisher/src/mobilitypath_publisher.cpp | adamlm/carma-platform | f6d46274cf6b6e14eddf8715b1a5204050d4c0e2 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 57 | 2020-05-07T15:48:11.000Z | 2022-03-09T23:31:45.000Z | /*
* Copyright (C) 2019-2021 LEIDOS.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 37.516779 | 146 | 0.668515 | [
"vector"
] |
978b2551a2f5e68c50a39573b72322301ed61fb4 | 33,443 | cpp | C++ | progression/graphics/vulkan.cpp | LiamTyler/OpenGL_Starter | 7110e94cb583e5fbfefb70ede40d305674261c5a | [
"MIT"
] | null | null | null | progression/graphics/vulkan.cpp | LiamTyler/OpenGL_Starter | 7110e94cb583e5fbfefb70ede40d305674261c5a | [
"MIT"
] | null | null | null | progression/graphics/vulkan.cpp | LiamTyler/OpenGL_Starter | 7110e94cb583e5fbfefb70ede40d305674261c5a | [
"MIT"
] | null | null | null | #include "graphics/vulkan.hpp"
#include "core/platform_defines.hpp"
#include <vulkan/vulkan.h>
#include "core/window.hpp"
#include "graphics/debug_marker.hpp"
#include "graphics/graphics_api.hpp"
#include "graphics/render_system.hpp"
#include "graphics/pg_to_vulkan_types.hpp"
#include "utils/logger.hpp"
#include <algor... | 37.117647 | 172 | 0.695302 | [
"render",
"vector"
] |
97a3f978bf3d11831e60e44d67d1fc6790597f8e | 2,877 | cpp | C++ | src/game/engine/rendering-unit.cpp | strdavis/tetris-clone | 299b2cc954b87edff5c2d54bfc222d488925f4bd | [
"MIT"
] | 1 | 2020-12-26T11:46:32.000Z | 2020-12-26T11:46:32.000Z | src/game/engine/rendering-unit.cpp | strdavis/tetris-clone | 299b2cc954b87edff5c2d54bfc222d488925f4bd | [
"MIT"
] | null | null | null | src/game/engine/rendering-unit.cpp | strdavis/tetris-clone | 299b2cc954b87edff5c2d54bfc222d488925f4bd | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2020 Spencer Davis
*
* 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, me... | 29.060606 | 86 | 0.696211 | [
"vector"
] |
97a5bd2501e0fbd887a9563572220acabce63940 | 7,457 | cc | C++ | arc/vm/libvda/decode_gpu_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | arc/vm/libvda/decode_gpu_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | arc/vm/libvda/decode_gpu_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdint.h>
#include <unistd.h>
#include <memory>
#include <string>
#include <vector>
#include <base/at_exit.h>
#include <base/command_line.h... | 35.00939 | 79 | 0.73488 | [
"vector"
] |
97a9ebde3141fd1289c588e88827c2c6338f8c2b | 4,540 | cpp | C++ | src/server/implementation/objects/ImageOverlayFilterImpl.cpp | synergysky/kms-filters | ec9da10a17246363491abddc2f8b898c83e2b195 | [
"Apache-2.0"
] | 19 | 2015-10-08T15:19:37.000Z | 2021-11-25T07:09:27.000Z | src/server/implementation/objects/ImageOverlayFilterImpl.cpp | synergysky/kms-filters | ec9da10a17246363491abddc2f8b898c83e2b195 | [
"Apache-2.0"
] | 4 | 2018-07-30T13:58:15.000Z | 2021-11-22T14:07:19.000Z | src/server/implementation/objects/ImageOverlayFilterImpl.cpp | synergysky/kms-filters | ec9da10a17246363491abddc2f8b898c83e2b195 | [
"Apache-2.0"
] | 77 | 2015-01-09T06:44:59.000Z | 2022-02-08T10:43:53.000Z | /*
* (C) Copyright 2016 Kurento (http://kurento.org/)
*
* 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 applicab... | 34.135338 | 106 | 0.667841 | [
"object"
] |
97ac27101efe655a731ac4368127320923ae7360 | 1,129 | cpp | C++ | problems/cs-grip/Dynamic Programming/LCS.cpp | DeathNet123/Team7-ICPC-CP3 | a80404de3dbba761b842f4096c254fe667d11adb | [
"MIT"
] | null | null | null | problems/cs-grip/Dynamic Programming/LCS.cpp | DeathNet123/Team7-ICPC-CP3 | a80404de3dbba761b842f4096c254fe667d11adb | [
"MIT"
] | null | null | null | problems/cs-grip/Dynamic Programming/LCS.cpp | DeathNet123/Team7-ICPC-CP3 | a80404de3dbba761b842f4096c254fe667d11adb | [
"MIT"
] | null | null | null | #include<iostream>
#include<algorithm>
#include<string>
#include<vector>
using namespace std;
int** LCS(string x, string y)
{
int **dp = new int *[x.length()+1];
for(int idx = 0; idx < x.length()+1; idx++)
{
dp[idx] = new int[y.length()+1];
for(int kdx = 0; kdx < y.length()+1; k... | 23.040816 | 74 | 0.420726 | [
"vector"
] |
97b273fbe48c396cb05828e460bb620ca0107eff | 9,494 | cc | C++ | src/ila/instr_lvl_abs.cc | yuex1994/iw_ilang | e31ffdca4e2c6503804e229b54a44211eb214980 | [
"MIT"
] | null | null | null | src/ila/instr_lvl_abs.cc | yuex1994/iw_ilang | e31ffdca4e2c6503804e229b54a44211eb214980 | [
"MIT"
] | null | null | null | src/ila/instr_lvl_abs.cc | yuex1994/iw_ilang | e31ffdca4e2c6503804e229b54a44211eb214980 | [
"MIT"
] | null | null | null | /// \file
/// The source for the class InstrLvlAbs.
#include <ilang/ila/instr_lvl_abs.h>
#include <ilang/util/log.h>
// Do the simplification by hashing AST sub-trees.
static const bool kUnifyAst = false;
// please design a better hash function -- HZ
// ISSUE: hash collision on large designs like AES128 function
n... | 28.0059 | 78 | 0.668001 | [
"object",
"vector"
] |
b63664122a4cb8224a14c0fbcb37f85da31eb385 | 902 | hpp | C++ | libs/core/render/include/bksge/core/render/vulkan/detail/logic_operation.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/core/render/include/bksge/core/render/vulkan/detail/logic_operation.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/core/render/include/bksge/core/render/vulkan/detail/logic_operation.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file logic_operation.hpp
*
* @brief LogicOperation クラスの定義
*
* @author myoukaku
*/
#ifndef BKSGE_CORE_RENDER_VULKAN_DETAIL_LOGIC_OPERATION_HPP
#define BKSGE_CORE_RENDER_VULKAN_DETAIL_LOGIC_OPERATION_HPP
#include <bksge/core/render/fwd/logic_operation_fwd.hpp>
#include <bksge/core/render/vulka... | 18.04 | 71 | 0.736142 | [
"render"
] |
b63fa4d4bf598db932ad745a7bd5157e0e678292 | 5,813 | cc | C++ | chrome/browser/ash/guest_os/guest_os_mime_types_service.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/ash/guest_os/guest_os_mime_types_service.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/ash/guest_os/guest_os_mime_types_service.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.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/ash/guest_os/guest_os_mime_types_service.h"
#include <map>
#include <string>
#include <vector>
#include "base/logging.h"
#inclu... | 33.796512 | 80 | 0.666093 | [
"vector"
] |
b644ad6a9d445aa41dc294ae3d68660148b1e106 | 1,000 | hpp | C++ | include/Mirage/Image/ImageParser.hpp | PlathC/ImPro | f391a49d2e381df53b22002fc57b9f13935cd910 | [
"MIT"
] | 3 | 2019-07-29T20:29:02.000Z | 2020-04-15T13:47:36.000Z | include/Mirage/Image/ImageParser.hpp | PlathC/ImPro | f391a49d2e381df53b22002fc57b9f13935cd910 | [
"MIT"
] | 1 | 2021-01-20T14:09:04.000Z | 2021-01-20T16:52:09.000Z | include/Mirage/Image/ImageParser.hpp | PlathC/ImPro | f391a49d2e381df53b22002fc57b9f13935cd910 | [
"MIT"
] | null | null | null | //
// Created by Cyprien Plateau--Holleville on 20/06/2019.
//
#ifndef MIRAGE_IMAGEPARSER_HPP
#define MIRAGE_IMAGEPARSER_HPP
#include <filesystem>
#include <fstream>
#include <iostream>
#include <memory>
#include <regex>
#include <sstream>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector... | 20 | 81 | 0.632 | [
"vector"
] |
b644cfbdbd401827243325803f60668f82361fab | 3,950 | cpp | C++ | src/Game.cpp | fklemme/DungeonsAndDoenekes | ce57b3f445ba3cf3e6f82922abd08dd58894c33c | [
"MIT"
] | null | null | null | src/Game.cpp | fklemme/DungeonsAndDoenekes | ce57b3f445ba3cf3e6f82922abd08dd58894c33c | [
"MIT"
] | null | null | null | src/Game.cpp | fklemme/DungeonsAndDoenekes | ce57b3f445ba3cf3e6f82922abd08dd58894c33c | [
"MIT"
] | 1 | 2020-06-24T16:08:05.000Z | 2020-06-24T16:08:05.000Z | #include "Game.hpp"
#include <algorithm>
#include <iostream>
#include <stdexcept>
#include "Enemy.hpp"
#include "Layers/Battle.hpp"
#include "utility/algorithm.hpp"
#include <imgui.h>
#include <imgui-SFML.h>
#include <SFML/System/Clock.hpp>
Game::Game() : m_main_window(sf::VideoMode(800, 600), "Dungeons And Doenekes"... | 38.349515 | 116 | 0.607089 | [
"render",
"vector"
] |
b65167011372e609f82e0b9aaf44f35554a88299 | 2,855 | cpp | C++ | 16rllight/game.cpp | lightbits/akari | 63c411ca3b269a2844154834b01c8114a39c6a33 | [
"MIT"
] | 11 | 2015-02-13T13:18:01.000Z | 2017-10-14T02:27:35.000Z | 16rllight/game.cpp | lightbits/akari | 63c411ca3b269a2844154834b01c8114a39c6a33 | [
"MIT"
] | null | null | null | 16rllight/game.cpp | lightbits/akari | 63c411ca3b269a2844154834b01c8114a39c6a33 | [
"MIT"
] | 2 | 2019-05-18T03:14:08.000Z | 2019-12-10T15:03:41.000Z | #include "game.h"
#define GLSL(src) "#version 150 core\n" #src
static const char *GEOMETRY_VS = GLSL(
in vec2 position;
out vec2 texel;
void main()
{
texel = 0.5 * position + vec2(0.5);
gl_Position = vec4(position, 0.0, 1.0);
}
);
static const char *GEOMETRY_FS = GLSL(
in vec2 texel;
uniform sampler2D te... | 20.992647 | 83 | 0.700525 | [
"mesh"
] |
b656b8970b0a27c5ac374eb07683eb6e7bc0543a | 6,547 | cpp | C++ | src/data_science/kernel_smooth.cpp | arotem3/numerics | ba208d9fc0ccb9471cfec9927a21622eb3535f54 | [
"Apache-2.0"
] | 18 | 2019-04-18T17:34:49.000Z | 2021-11-15T07:57:29.000Z | src/data_science/kernel_smooth.cpp | arotem3/numerics | ba208d9fc0ccb9471cfec9927a21622eb3535f54 | [
"Apache-2.0"
] | null | null | null | src/data_science/kernel_smooth.cpp | arotem3/numerics | ba208d9fc0ccb9471cfec9927a21622eb3535f54 | [
"Apache-2.0"
] | 4 | 2019-12-02T04:04:21.000Z | 2022-02-17T08:23:09.000Z | #include <numerics.hpp>
void numerics::KernelSmooth::fit(const arma::mat& x, const arma::vec& y) {
_check_xy(x,y);
_dim = x.n_cols;
if (x.n_cols > 1) {
throw std::logic_error("KernelSmooth does not support 2+ dimensional data yet.");
} else {
if (_binning) _bins.fit(x, y);
else ... | 37.411429 | 148 | 0.566977 | [
"object",
"vector"
] |
b66afb2abe6a09b8af3c17ae69e2c6357e094d89 | 3,296 | cpp | C++ | Graph/Tree/BST/Fix a BT that is only one swap away from becoming a BST.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 8 | 2021-02-13T17:07:27.000Z | 2021-08-20T08:20:40.000Z | Graph/Tree/BST/Fix a BT that is only one swap away from becoming a BST.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | null | null | null | Graph/Tree/BST/Fix a BT that is only one swap away from becoming a BST.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 5 | 2021-02-17T18:12:20.000Z | 2021-10-10T17:49:34.000Z | // Similar Problem: https://www.interviewbit.com/problems/recover-binary-search-tree/
// Ref: https://www.youtube.com/watch?v=HsSSUSckMns&list=PL7JyMDSI2BfZugpAjdWc8ES_mYMz2F9Qo&index=7
// https://www.techiedelight.com/fix-binary-tree-one-swap-bst/
/*****************************************************************... | 27.932203 | 106 | 0.635012 | [
"vector"
] |
b66e62440ddcce3a432da0b0d4cb891c88db1157 | 3,114 | cpp | C++ | QuantExt/qle/termstructures/blackvariancecurve3.cpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 335 | 2016-10-07T16:31:10.000Z | 2022-03-02T07:12:03.000Z | QuantExt/qle/termstructures/blackvariancecurve3.cpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 59 | 2016-10-31T04:20:24.000Z | 2022-01-03T16:39:57.000Z | QuantExt/qle/termstructures/blackvariancecurve3.cpp | mrslezak/Engine | c46ff278a2c5f4162db91a7ab500a0bb8cef7657 | [
"BSD-3-Clause"
] | 180 | 2016-10-08T14:23:50.000Z | 2022-03-28T10:43:05.000Z | /*
Copyright (C) 2016 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 40.973684 | 120 | 0.657354 | [
"vector",
"model"
] |
b67da578bd039b4b2467894a43069e53bba18944 | 4,944 | hpp | C++ | src/perception/tracking/include/tracking/track_creator.hpp | ruvus/auto | 25ae62d6e575cae40212356eed43ec3e76e9a13e | [
"Apache-2.0"
] | 1 | 2022-02-24T07:36:59.000Z | 2022-02-24T07:36:59.000Z | src/perception/tracking/include/tracking/track_creator.hpp | ruvus/auto | 25ae62d6e575cae40212356eed43ec3e76e9a13e | [
"Apache-2.0"
] | null | null | null | src/perception/tracking/include/tracking/track_creator.hpp | ruvus/auto | 25ae62d6e575cae40212356eed43ec3e76e9a13e | [
"Apache-2.0"
] | 1 | 2021-12-09T15:44:10.000Z | 2021-12-09T15:44:10.000Z | // Copyright 2021 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 32.526316 | 94 | 0.777508 | [
"vector"
] |
b67f18e171fa5dfefa7af93c16a877be527d1bba | 1,256 | hpp | C++ | include/ordered_trie_serialise.hpp | IgorNitto/ordered-trie | a5b35e4ce4899ad20625513b93a57cd94c3aeaf7 | [
"MIT"
] | null | null | null | include/ordered_trie_serialise.hpp | IgorNitto/ordered-trie | a5b35e4ce4899ad20625513b93a57cd94c3aeaf7 | [
"MIT"
] | null | null | null | include/ordered_trie_serialise.hpp | IgorNitto/ordered-trie | a5b35e4ce4899ad20625513b93a57cd94c3aeaf7 | [
"MIT"
] | null | null | null | /**
* @file ordered_trie_serialise.hpp
* @brief Serialisation scheme
*
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', which is part of this source code package.
*
*/
#ifndef ORDERED_TRIE_SERIALISE_HPP
#define ORDERED_TRIE_SERIALISE_HPP
#include <cstddef>
#include <cstdint>... | 20.590164 | 65 | 0.696656 | [
"object",
"vector"
] |
b684f2f6ed21570f0e1090238053297f7bb025b8 | 1,665 | cc | C++ | components/autofill/core/browser/form_structure_process_query_response_fuzzer.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/autofill/core/browser/form_structure_process_query_response_fuzzer.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/autofill/core/browser/form_structure_process_query_response_fuzzer.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 <stdlib.h>
#include <iostream>
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/browser/form_structure.h"
#i... | 32.647059 | 80 | 0.74955 | [
"vector"
] |
b689983816a829a1d31632d84d593f17a569728d | 10,694 | cpp | C++ | common/storage.cpp | michealbrownm/phantom | a1a41a6f9317c26e621952637c7e331c8dacf79d | [
"Apache-2.0"
] | 27 | 2020-09-24T03:14:13.000Z | 2021-11-29T14:00:36.000Z | common/storage.cpp | david2011dzha/phantom | eff76713e03966eb44e20a07806b8d47ec73ad09 | [
"Apache-2.0"
] | null | null | null | common/storage.cpp | david2011dzha/phantom | eff76713e03966eb44e20a07806b8d47ec73ad09 | [
"Apache-2.0"
] | 10 | 2020-09-24T14:34:30.000Z | 2021-02-22T06:50:31.000Z | /*
phantom is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
phantom is distributed in the hope that it will be useful,
but WITHOUT ANY... | 25.461905 | 120 | 0.667851 | [
"vector"
] |
b689dc8ffecee97a1051165115c8554f2cc249ce | 11,639 | cpp | C++ | vendor/sll/tests/non_periodic_spline_builder.cpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | 3 | 2022-02-28T08:47:07.000Z | 2022-03-01T10:29:08.000Z | vendor/sll/tests/non_periodic_spline_builder.cpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | null | null | null | vendor/sll/tests/non_periodic_spline_builder.cpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <array>
#include <cmath>
#include <iosfwd>
#include <vector>
#include <experimental/mdspan>
#include <ddc/ddc.hpp>
#include <sll/bsplines_non_uniform.hpp>
#include <sll/bsplines_uniform.hpp>
#include <sll/null_boundary_value.hpp>
#include <sll/spline_builder.hpp>
#include <sll/spline_ev... | 40.554007 | 100 | 0.701607 | [
"vector"
] |
b68c6ef7ee7c0322a377a639dcf8a3f24852b53e | 1,965 | cpp | C++ | plugins/core/tools/src/inject/injectortool.cpp | MadManRises/Madgine | c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f | [
"MIT"
] | 5 | 2018-05-16T14:09:34.000Z | 2019-10-24T19:01:15.000Z | plugins/core/tools/src/inject/injectortool.cpp | MadManRises/Madgine | c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f | [
"MIT"
] | 71 | 2017-06-20T06:41:42.000Z | 2021-01-11T11:18:53.000Z | plugins/core/tools/src/inject/injectortool.cpp | MadManRises/Madgine | c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f | [
"MIT"
] | 2 | 2018-05-16T13:57:25.000Z | 2018-05-16T13:57:51.000Z | #include "../toolslib.h"
#include "Meta/inject/variable.h"
#include "Meta/inject/inject.h"
#include "controlflow.h"
#include "injectortool.h"
#include "Modules/uniquecomponent/uniquecomponentcollector.h"
#include <imgui/imgui.h>
#include "Meta/keyvalue/metatable_impl.h"
#include "Meta/serialize/serializetable_impl... | 25.855263 | 97 | 0.592875 | [
"render"
] |
b68ee74738a7544a20520903a136f95da01739b3 | 11,782 | cpp | C++ | ds/security/gina/snapins/gpedit/dataobj.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/gina/snapins/gpedit/dataobj.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/gina/snapins/gpedit/dataobj.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include "main.h"
#include <initguid.h>
#include "dataobj.h"
unsigned int CDataObject::m_cfNodeType = RegisterClipboardFormat(CCF_NODETYPE);
unsigned int CDataObject::m_cfNodeTypeString = RegisterClipboardFormat(CCF_SZNODETYPE);
unsigned int CDataObject::m_cfDisplayName = RegisterClipboardFormat(CCF_D... | 29.308458 | 125 | 0.533865 | [
"object"
] |
b6a219273faa3cc8ebaa6c2d3c258f5e39bdd707 | 6,196 | cpp | C++ | examples/tess_dense/prod.cpp | tpeterka/decaf | ad6ad823070793bfd7fc8d9384d5475f7cf20848 | [
"BSD-3-Clause"
] | 1 | 2019-05-10T02:50:50.000Z | 2019-05-10T02:50:50.000Z | examples/tess_dense/prod.cpp | tpeterka/decaf | ad6ad823070793bfd7fc8d9384d5475f7cf20848 | [
"BSD-3-Clause"
] | 2 | 2020-10-28T03:44:51.000Z | 2021-01-18T19:49:33.000Z | examples/tess_dense/prod.cpp | tpeterka/decaf | ad6ad823070793bfd7fc8d9384d5475f7cf20848 | [
"BSD-3-Clause"
] | 2 | 2018-08-31T14:02:47.000Z | 2020-04-17T16:01:54.000Z | //---------------------------------------------------------------------------
//
// generates synthetic particles and sends them to the rest of the workflow
//
// Tom Peterka
// Argonne National Laboratory
// 9700 S. Cass Ave.
// Argonne, IL 60439
// tpeterka@mcs.anl.gov
//
//-------------------------------------------... | 35.00565 | 98 | 0.545675 | [
"vector",
"model"
] |
b6a34bedf23b4740a1af0f2d18555e7d4e195417 | 818 | cpp | C++ | ARCC/generic.cpp | LukJA/ARCC | d4361cb5adfd166a1aa27779126f47a11c8de3ee | [
"MIT"
] | null | null | null | ARCC/generic.cpp | LukJA/ARCC | d4361cb5adfd166a1aa27779126f47a11c8de3ee | [
"MIT"
] | null | null | null | ARCC/generic.cpp | LukJA/ARCC | d4361cb5adfd166a1aa27779126f47a11c8de3ee | [
"MIT"
] | null | null | null | #include "pch.h"
#include "generic.h"
using namespace Platform;
#include <vector>
#include <codecvt>
#include <string>
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> converter;
// -- for use in textblock to int
long ToLongS(String^ str) {
const wchar_t* begin = str->Data();
return std::wcstol(begin, ... | 22.108108 | 78 | 0.709046 | [
"vector"
] |
b6ae22d1c3e52626792e7cbee294a88522dcd652 | 6,964 | cpp | C++ | src/k2/dto/ControlPlaneOracle.cpp | jfunston/chogori-platform | e329e892411eeb2142c8d4b603944244d3c559d4 | [
"MIT"
] | 33 | 2020-05-16T10:12:05.000Z | 2022-01-26T07:33:44.000Z | src/k2/dto/ControlPlaneOracle.cpp | jfunston/chogori-platform | e329e892411eeb2142c8d4b603944244d3c559d4 | [
"MIT"
] | 131 | 2020-05-18T21:39:40.000Z | 2022-03-31T21:10:09.000Z | src/k2/dto/ControlPlaneOracle.cpp | jfunston/chogori-platform | e329e892411eeb2142c8d4b603944244d3c559d4 | [
"MIT"
] | 16 | 2020-06-02T02:56:01.000Z | 2021-12-07T07:42:32.000Z | /*
MIT License
Copyright(c) 2020 Futurewei Cloud
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, merge, p... | 40.488372 | 408 | 0.666571 | [
"vector"
] |
b6aedc3162bc24162a5087fc2b18d9ec5d46edeb | 3,095 | hpp | C++ | src/efscape/impl/RelogoWrapper.hpp | clinejc/efscape | ef8bbf272827c7b364aa02af33dc5d239f070e0b | [
"0BSD"
] | 1 | 2019-07-29T07:44:13.000Z | 2019-07-29T07:44:13.000Z | src/efscape/impl/RelogoWrapper.hpp | clinejc/efscape | ef8bbf272827c7b364aa02af33dc5d239f070e0b | [
"0BSD"
] | null | null | null | src/efscape/impl/RelogoWrapper.hpp | clinejc/efscape | ef8bbf272827c7b364aa02af33dc5d239f070e0b | [
"0BSD"
] | 1 | 2019-07-11T10:49:48.000Z | 2019-07-11T10:49:48.000Z | // __COPYRIGHT_START__
// Package Name : efscape
// File Name : RelogoWrapper.hpp
// Copyright (C) 2006-2018 Jon C. Cline
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notic... | 30.048544 | 158 | 0.712763 | [
"model"
] |
b6b7f4fb06a73ce10a917e540dbf8e45531292f2 | 9,675 | hpp | C++ | src/include/Lexer.hpp | albertonl/alb | 8779ed2f047d63eff2bc96b658b2659641364322 | [
"MIT"
] | 2 | 2019-06-08T16:47:22.000Z | 2019-06-08T16:56:18.000Z | src/include/Lexer.hpp | albertonl/alb | 8779ed2f047d63eff2bc96b658b2659641364322 | [
"MIT"
] | 2 | 2019-02-02T21:15:45.000Z | 2019-06-10T08:23:09.000Z | src/include/Lexer.hpp | albertonl/alb | 8779ed2f047d63eff2bc96b658b2659641364322 | [
"MIT"
] | 1 | 2019-06-08T17:23:55.000Z | 2019-06-08T17:23:55.000Z | /*
The ALB Programming Language
Alb Developers Team (C) 2019
This software is distributed under the MIT license
Visit https://github.com/albertonl/alb/LICENSE for further details
*/
#ifndef ALB_LEXER_HPP
#define ALB_LEXER_HPP
#include <cstdint>
#include <vector>
#include "Token.hpp"
#include <stdexcept>
namespac... | 33.710801 | 119 | 0.599276 | [
"vector"
] |
b6bae2bc02e9bb0c56ca4b9acbe210d9fea630b0 | 7,665 | cpp | C++ | src/race/src/central_controller2.cpp | young43/ISCC_2020 | 2a7187410bceca901bd87b753a91fd35b73ca036 | [
"MIT"
] | 8 | 2019-07-22T08:22:43.000Z | 2020-12-09T06:25:14.000Z | src/race/src/central_controller2.cpp | yongbeomkwak/ISCC_2021 | 7e7e5a8a14b9ed88e1cfbe2ee585fe24e4701015 | [
"MIT"
] | 2 | 2019-07-13T16:30:16.000Z | 2019-08-15T10:37:33.000Z | src/race/src/central_controller2.cpp | yongbeomkwak/ISCC_2021 | 7e7e5a8a14b9ed88e1cfbe2ee585fe24e4701015 | [
"MIT"
] | 5 | 2020-09-13T09:06:16.000Z | 2021-06-19T02:31:23.000Z | #include <ros/ros.h>
#include <race/lane_info.h>
#include <nav_msgs/Odometry.h>
#include <race/mode.h>
#include <race/drive_values.h>
#include <std_msgs/Float64.h>
#include <std_msgs/Int32.h>
#include <sensor_msgs/Imu.h>
#include <obstacle_detector/Obstacles.h>
#include <geometry_msgs/Point.h>
#include <vector>
#incl... | 29.034091 | 123 | 0.614873 | [
"vector"
] |
b6d1da6e276b1261da8f386af652cd2faf941983 | 4,971 | hpp | C++ | python/plot/plotter.hpp | LevinJ/pypangolin | 3ac794aff96c3db103ec2bbc298ab013eaf6f6e8 | [
"MIT"
] | 221 | 2018-01-06T12:29:12.000Z | 2022-03-31T08:05:09.000Z | python/plot/plotter.hpp | LevinJ/pypangolin | 3ac794aff96c3db103ec2bbc298ab013eaf6f6e8 | [
"MIT"
] | 39 | 2018-01-11T19:51:48.000Z | 2022-03-24T00:48:12.000Z | python/plot/plotter.hpp | LevinJ/pypangolin | 3ac794aff96c3db103ec2bbc298ab013eaf6f6e8 | [
"MIT"
] | 78 | 2018-01-06T12:14:51.000Z | 2022-02-26T05:14:47.000Z | #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pangolin/handler/handler.h>
#include <pangolin/plot/plotter.h>
#include "datalog.hpp"
#include "range.hpp"
namespace py = pybind11;
using namespace pybind11::literals;
namespace pangolin {
struct Colour;
void declarePlotter(py::module & m) {
... | 36.822222 | 96 | 0.598873 | [
"render"
] |
b6d2a78a4b5358cf55a05428ef11da747419cc56 | 5,560 | cpp | C++ | src/modules/osg/generated_code/ArrayDispatchers.pypp.cpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | 3 | 2017-04-20T09:11:47.000Z | 2021-04-29T19:24:03.000Z | src/modules/osg/generated_code/ArrayDispatchers.pypp.cpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | null | null | null | src/modules/osg/generated_code/ArrayDispatchers.pypp.cpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | null | null | null | // This file has been generated by Py++.
#include "boost/python.hpp"
#include "wrap_osg.h"
#include "wrap_referenced.h"
#include "ArrayDispatchers.pypp.hpp"
namespace bp = boost::python;
void register_ArrayDispatchers_class(){
bp::class_< osg::ArrayDispatchers, bp::bases< osg::Referenced >, osg::ref_ptr< ::osg:... | 53.461538 | 405 | 0.526799 | [
"geometry"
] |
b6d858489dc788abdc842035638ebc054dc7721d | 13,477 | cc | C++ | gnuradio-3.7.13.4/gr-blocks/lib/file_meta_sink_impl.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | 1 | 2021-03-09T07:32:37.000Z | 2021-03-09T07:32:37.000Z | gnuradio-3.7.13.4/gr-blocks/lib/file_meta_sink_impl.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | gnuradio-3.7.13.4/gr-blocks/lib/file_meta_sink_impl.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | /* -*- c++ -*- */
/*
* Copyright 2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option... | 28.613588 | 111 | 0.64176 | [
"vector",
"transform"
] |
b6dbcab3e116b97addbf17f5899f0853b68b0542 | 24,082 | cpp | C++ | dbus_interface.cpp | kode54/wayfire-dbus | f360a10554871affa8cc8e2931531c1d906a0b0f | [
"MIT"
] | 2 | 2020-07-04T19:23:57.000Z | 2020-07-26T09:50:00.000Z | dbus_interface.cpp | kode54/wayfire-dbus | f360a10554871affa8cc8e2931531c1d906a0b0f | [
"MIT"
] | 1 | 2020-07-26T08:35:18.000Z | 2020-07-26T08:35:18.000Z | dbus_interface.cpp | kode54/wayfire-dbus | f360a10554871affa8cc8e2931531c1d906a0b0f | [
"MIT"
] | 2 | 2020-07-05T04:54:03.000Z | 2020-07-26T07:49:00.000Z | extern "C"
{
#include <gio/gio.h>
#include <sys/socket.h>
#include <sys/types.h>
};
//these are in wf-utils
//#include <wayfire/action/action.hpp>
//#include <wayfire/action/action_interface.hpp>
#include <iostream>
#include <string>
#include <charconv>
#include <algorithm>
#include <cmath>
#include <linux/input.h>
#i... | 42.926916 | 162 | 0.648825 | [
"geometry",
"render"
] |
b6e7af56ed5a0e69b2b2b5ce4913c1feec5e0987 | 2,741 | cpp | C++ | PAT_B/PAT_B1095.cpp | EnhydraGod/PATCode | ff38ea33ba319af78b3aeba8aa6c385cc5e8329f | [
"BSD-2-Clause"
] | 3 | 2019-07-08T05:20:28.000Z | 2021-09-22T10:53:26.000Z | PAT_B/PAT_B1095.cpp | EnhydraGod/PATCode | ff38ea33ba319af78b3aeba8aa6c385cc5e8329f | [
"BSD-2-Clause"
] | null | null | null | PAT_B/PAT_B1095.cpp | EnhydraGod/PATCode | ff38ea33ba319af78b3aeba8aa6c385cc5e8329f | [
"BSD-2-Clause"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int n, m, ch, tempSc;
string str;
char pat;
struct node1
{
string stuId = "";
int stuSc = 0;
node1(string _stuId = "", int _stuSc = 0){ stuId = _stuId; stuSc = _stuSc; }
};
struct node3
{
string ss;
int nums;
node3(string _ss = "", int _nums = 0) { ... | 33.426829 | 117 | 0.481211 | [
"vector"
] |
b6ebe01493f9804cf3b8ea25b21bf4b72e77fc39 | 9,160 | cpp | C++ | engine/src/bard/renderer/2D/Renderer.cpp | baard047/bard_engine | 595d5e35faf2f59a84a4f70e952caa8ca322093b | [
"Apache-2.0"
] | null | null | null | engine/src/bard/renderer/2D/Renderer.cpp | baard047/bard_engine | 595d5e35faf2f59a84a4f70e952caa8ca322093b | [
"Apache-2.0"
] | null | null | null | engine/src/bard/renderer/2D/Renderer.cpp | baard047/bard_engine | 595d5e35faf2f59a84a4f70e952caa8ca322093b | [
"Apache-2.0"
] | null | null | null | /*
* \file Renderer.cpp.cc
* \copyright (C) 2021 Special Technological Center Ltd
* \author : Bardashevsky A.K.
* \date : 15.01.2021
* \time : 9:41
*/
#include "Renderer.h"
#include <array>
#include <bard/renderer/Shader.h>
#include <bard/renderer/Texture.h>
#include <bard/renderer/VertexArray.h>
#include <bar... | 29.934641 | 135 | 0.651638 | [
"transform"
] |
b6f640fc27cce7c33fb91983ad0eb6a17f3c0690 | 13,689 | cpp | C++ | src/core/transform.cpp | guerarda/rt1w | 2fa13326e0a745214fb1a9fdc49a345c1407b6f3 | [
"MIT"
] | null | null | null | src/core/transform.cpp | guerarda/rt1w | 2fa13326e0a745214fb1a9fdc49a345c1407b6f3 | [
"MIT"
] | null | null | null | src/core/transform.cpp | guerarda/rt1w | 2fa13326e0a745214fb1a9fdc49a345c1407b6f3 | [
"MIT"
] | null | null | null | #include "rt1w/transform.hpp"
#include "rt1w/error.h"
#include "rt1w/interaction.hpp"
#include "rt1w/ray.hpp"
#include "rt1w/utils.hpp"
#include <cmath>
Transform Transform::operator*(const Transform &t) const
{
return Transform(Mul(m_mat, t.m_mat), Mul(t.m_inv, m_inv));
}
Ray Transform::operator()(const Ray &r... | 35.280928 | 90 | 0.465264 | [
"transform"
] |
8e006b8fcc1fc3969d0d6457229350767a761128 | 7,979 | cpp | C++ | MAME4all/trunk/src/sound/c140.cpp | lofunz/mieme | 4226c2960b46121ec44fa8eab9717d2d644bff04 | [
"Unlicense"
] | 51 | 2015-11-22T14:53:28.000Z | 2021-12-14T07:17:42.000Z | MAME4all/trunk/src/sound/c140.cpp | lofunz/mieme | 4226c2960b46121ec44fa8eab9717d2d644bff04 | [
"Unlicense"
] | 8 | 2018-01-14T07:19:06.000Z | 2021-08-22T15:29:59.000Z | src/sound/c140.cpp | raytlin/iMameAtariArcadeDuo | 24adc56d1a6080822a6c9d1770ddbc607814373a | [
"Unlicense"
] | 35 | 2017-02-15T09:39:00.000Z | 2021-12-14T07:17:43.000Z | /*
C140.c
Simulator based on AMUSE sources.
The C140 sound chip is used by Namco SystemII, System21
This chip controls 24 channels of PCM.
16 bytes are associated with each channel.
Channels can be 8 bit signed PCM, or 12 bit signed PCM.
Timer behavior is not yet handled.
Unmapped registers:
0x1f8:timer... | 20.942257 | 92 | 0.592054 | [
"render"
] |
8e070b139ae506d07d2e3a33a8d018005a0378f4 | 3,859 | cpp | C++ | tree/heavy_light_decomposition.cpp | KSkun/OI-Templates | a193da03a531700858fe45d455a946074bda5007 | [
"WTFPL"
] | 12 | 2018-03-30T08:44:07.000Z | 2021-09-03T07:43:56.000Z | tree/heavy_light_decomposition.cpp | KSkun/OI-Templates | a193da03a531700858fe45d455a946074bda5007 | [
"WTFPL"
] | null | null | null | tree/heavy_light_decomposition.cpp | KSkun/OI-Templates | a193da03a531700858fe45d455a946074bda5007 | [
"WTFPL"
] | 1 | 2018-08-09T01:39:30.000Z | 2018-08-09T01:39:30.000Z | // Code by KSkun, 2018/4
#include <cstdio>
#include <algorithm>
#include <vector>
typedef long long LL;
inline char fgc() {
static char buf[100000], *p1 = buf, *p2 = buf;
return p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, 100000, stdin), p1 == p2) ? EOF : *p1++;
}
inline LL readint() {
register LL res = 0, neg ... | 18.73301 | 93 | 0.491837 | [
"vector"
] |
8e0b64b6127402df10d52d28b5bce23472b287ff | 1,172 | cpp | C++ | day-2.cpp | EcutDavid/advent-of-code-2020 | ee5e5386e4854224312880e8fdbb1ac11d920fe8 | [
"MIT"
] | null | null | null | day-2.cpp | EcutDavid/advent-of-code-2020 | ee5e5386e4854224312880e8fdbb1ac11d920fe8 | [
"MIT"
] | null | null | null | day-2.cpp | EcutDavid/advent-of-code-2020 | ee5e5386e4854224312880e8fdbb1ac11d920fe8 | [
"MIT"
] | 1 | 2020-12-01T09:00:46.000Z | 2020-12-01T09:00:46.000Z | #include <bits/stdc++.h>
using namespace std;
typedef int i32;
i32 main() {
vector<string> strs;
string str;
i32 total = 0;
// Q1
// while (cin >> str) {
// strs.push_back(str);
// if (strs.size() < 3) {
// continue;
// }
// i32 l = stoi(strs[0].substr(0, strs[0].find("-")));
// i3... | 23.918367 | 69 | 0.456485 | [
"vector"
] |
8e0d4cbfdcee1dca7d88400a41b9fc2eef90186a | 581 | cpp | C++ | lang/C++/sum-of-squares-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/C++/sum-of-squares-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/C++/sum-of-squares-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | #include <iostream>
#include <numeric>
#include <vector>
double add_square(double prev_sum, double new_val)
{
return prev_sum + new_val*new_val;
}
double vec_add_squares(std::vector<double>& v)
{
return std::accumulate(v.begin(), v.end(), 0.0, add_square);
}
int main()
{
// first, show that for empty vectors w... | 21.518519 | 62 | 0.650602 | [
"vector"
] |
8e10a9f624875719ef9c8ed8d3a1b9fff389d60a | 3,916 | hh | C++ | src/include/utils/b64.hh | spuriousdata/hush | 978d6ad23ad771b90d0e4178fd87822049880b64 | [
"MIT"
] | null | null | null | src/include/utils/b64.hh | spuriousdata/hush | 978d6ad23ad771b90d0e4178fd87822049880b64 | [
"MIT"
] | null | null | null | src/include/utils/b64.hh | spuriousdata/hush | 978d6ad23ad771b90d0e4178fd87822049880b64 | [
"MIT"
] | null | null | null | #ifndef B64_HH_
#define B64_HH_
#include <cstdint>
#include <stdexcept>
#include <algorithm> // transform, toupper
#include "crypto/ciphertext.hh"
#define BETWEEN(x, a, b) ((x) >= (a) && (x) <= (b))
namespace hush {
namespace utils {
class B64Exception : public std::runtime_error
{
using std::runtime_error::... | 21.755556 | 93 | 0.493871 | [
"vector",
"transform"
] |
8e17365a803082f4a960416075a455626c233680 | 18,149 | cpp | C++ | src/ir/instruction.cpp | hobama/maat | 3f0a7d3ef90fff3f1c465d0ae155488b245981b4 | [
"MIT"
] | 2 | 2020-03-23T06:47:19.000Z | 2021-03-07T21:14:24.000Z | src/ir/instruction.cpp | hobama/maat | 3f0a7d3ef90fff3f1c465d0ae155488b245981b4 | [
"MIT"
] | null | null | null | src/ir/instruction.cpp | hobama/maat | 3f0a7d3ef90fff3f1c465d0ae155488b245981b4 | [
"MIT"
] | null | null | null | #include "instruction.hpp"
#include "exception.hpp"
#include <iostream>
/* ===================================== */
bool iroperation_is_assignment(IROperation& op){
return op == IROperation::ADD ||
op == IROperation::SUB ||
op == IROperation::MUL ||
op == IROperation::MULH ||... | 37.420619 | 147 | 0.618657 | [
"vector"
] |
8e18b7d068e301cdaed3fc6eb2be060bf2ce10e0 | 11,682 | hpp | C++ | include/VROSC/ThereminParticles_Hand.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/VROSC/ThereminParticles_Hand.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/VROSC/ThereminParticles_Hand.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.ThereminParticles
#include "V... | 51.0131 | 213 | 0.725817 | [
"object",
"vector"
] |
8e1a1305ada3eaae82c48f6b9baadc68b8409f99 | 40,044 | cpp | C++ | src/OpenGLAutoMaskObj/OpenGL_Auto_Obj_Masker/EasyMask2D.cpp | 565353780/opengl-automaskobj | bae7c35a0aece5a09ec67b02241aff58932c6daf | [
"MIT"
] | null | null | null | src/OpenGLAutoMaskObj/OpenGL_Auto_Obj_Masker/EasyMask2D.cpp | 565353780/opengl-automaskobj | bae7c35a0aece5a09ec67b02241aff58932c6daf | [
"MIT"
] | null | null | null | src/OpenGLAutoMaskObj/OpenGL_Auto_Obj_Masker/EasyMask2D.cpp | 565353780/opengl-automaskobj | bae7c35a0aece5a09ec67b02241aff58932c6daf | [
"MIT"
] | null | null | null | #include "EasyMask2D.h"
bool EasyMask2D::getUnionPolygonVec(
std::vector<EasyPolygon2D> &polygon_vec,
std::vector<EasyPolygon2D> &union_polygon_vec)
{
union_polygon_vec.clear();
std::vector<EasyPolygon2D> valid_polygon_vec;
for(const EasyPolygon2D &polygon : polygon_vec)
{
if(polygon.... | 28.767241 | 113 | 0.592249 | [
"vector"
] |
8e2203ae9b4ae6de1539481a5a1bc1d69b85c611 | 5,362 | cpp | C++ | apps/jpegresize/server/coproc.cpp | TonyBrewer/OpenHT | 63898397de4d303ba514d88b621cc91367ffe2a6 | [
"BSD-3-Clause"
] | 13 | 2015-02-26T22:46:18.000Z | 2020-03-24T11:53:06.000Z | apps/jpegresize/server/coproc.cpp | PacificBiosciences/OpenHT | 63898397de4d303ba514d88b621cc91367ffe2a6 | [
"BSD-3-Clause"
] | 5 | 2016-02-25T17:08:19.000Z | 2018-01-20T15:24:36.000Z | apps/jpegresize/server/coproc.cpp | TonyBrewer/OpenHT | 63898397de4d303ba514d88b621cc91367ffe2a6 | [
"BSD-3-Clause"
] | 12 | 2015-04-13T21:39:54.000Z | 2021-01-15T01:00:13.000Z | /* Copyright (c) 2015 Convey Computer Corporation
*
* This file is part of the OpenHT jpegscale application.
*
* Use and distribution licensed under the BSD 3-clause license.
* See the LICENSE file for the complete license text.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include "JobInfo.h"
#i... | 30.99422 | 96 | 0.68053 | [
"geometry"
] |
8e24d97aceaf391c80b165976f01038950a7ce1a | 1,712 | cc | C++ | tests/prediction-by-partial-matching-test.cc | pixie-grasper/research-library | 26745bb0810a2fbe0292c7591ce01a2d6ee31acb | [
"MIT"
] | 2 | 2016-03-06T08:03:18.000Z | 2016-03-06T11:07:20.000Z | tests/prediction-by-partial-matching-test.cc | pixie-grasper/research-library | 26745bb0810a2fbe0292c7591ce01a2d6ee31acb | [
"MIT"
] | 1 | 2016-03-07T06:26:09.000Z | 2016-03-07T06:26:09.000Z | tests/prediction-by-partial-matching-test.cc | pixie-grasper/research-library | 26745bb0810a2fbe0292c7591ce01a2d6ee31acb | [
"MIT"
] | 2 | 2016-03-06T08:19:49.000Z | 2021-09-08T10:17:05.000Z | // Copyright 2015 pixie.grasper
#include <cstdlib>
#include <vector>
#include "../includes/prediction-by-partial-matching.h"
int main() {
std::vector<int> buffer(1000);
unsigned int seed = 10;
for (std::size_t i = 0; i < buffer.size(); i++) {
buffer[i] = rand_r(&seed) % 100;
}
auto&& ppma = ResearchLi... | 30.035088 | 61 | 0.543224 | [
"vector"
] |
8e2834807cc6dd66f40d031cb95a32b66e4cf72a | 14,644 | cpp | C++ | Engine/ModuleRenderer3D.cpp | carlosredolar/R-Engine | 4d62a6f0da518322c9f66b999bdce8369aec60fe | [
"MIT"
] | null | null | null | Engine/ModuleRenderer3D.cpp | carlosredolar/R-Engine | 4d62a6f0da518322c9f66b999bdce8369aec60fe | [
"MIT"
] | null | null | null | Engine/ModuleRenderer3D.cpp | carlosredolar/R-Engine | 4d62a6f0da518322c9f66b999bdce8369aec60fe | [
"MIT"
] | null | null | null | #include "Globals.h"
#include "Application.h"
#include "GameObject.h"
#include "Component_Material.h"
#include "Component_Camera.h"
#include <vector>
#include "FileManager.h"
#include "ModuleJson.h"
#include "ModuleWindow.h"
#include "ModuleRenderer3D.h"
#include "Libs/Glew/include/glew.h"
#include "Libs/SDL/inclu... | 26.771481 | 133 | 0.698989 | [
"render",
"vector",
"3d",
"solid"
] |
8e35bb4e6f4132db1288c3f86b82e78398c23c41 | 1,267 | cpp | C++ | src/interpreter/cli_input.cpp | Grossley/opengml | bc3494aae64092f1c32a16361fd781249e2ea630 | [
"MIT"
] | 26 | 2019-07-18T04:45:08.000Z | 2022-03-13T09:52:04.000Z | src/interpreter/cli_input.cpp | Grossley/opengml | bc3494aae64092f1c32a16361fd781249e2ea630 | [
"MIT"
] | 6 | 2021-09-10T00:48:00.000Z | 2021-11-27T22:00:48.000Z | src/interpreter/cli_input.cpp | Grossley/opengml | bc3494aae64092f1c32a16361fd781249e2ea630 | [
"MIT"
] | 9 | 2019-07-26T06:32:53.000Z | 2022-01-12T14:38:59.000Z | #include "cli_input.hpp"
#include "ogm/common/util.hpp"
#include <iostream>
#include <string>
#ifdef OGM_CROSSLINE
#include <crossline.h>
#endif
namespace ogm { namespace interpreter
{
#ifdef OGM_CROSSLINE
namespace
{
#define BUFFSIZE 2048
char buff[BUFFSIZE];
// currently-registered input completer
... | 21.474576 | 96 | 0.656669 | [
"vector"
] |
8e3ab9fddcb7c925f65f837b5cf7e30794755b2c | 3,063 | cpp | C++ | trunk/RayTracer/RayTracer/src/Cube.cpp | Monster88Ra/RayTracer | 948cc707e12ef0e75266b26aaca42ee07adb6b0b | [
"MIT"
] | null | null | null | trunk/RayTracer/RayTracer/src/Cube.cpp | Monster88Ra/RayTracer | 948cc707e12ef0e75266b26aaca42ee07adb6b0b | [
"MIT"
] | 1 | 2018-11-23T04:56:10.000Z | 2018-11-27T04:29:58.000Z | trunk/RayTracer/RayTracer/src/Cube.cpp | Monster88Ra/RayTracer | 948cc707e12ef0e75266b26aaca42ee07adb6b0b | [
"MIT"
] | null | null | null | #include "Cube.h"
#include "Intersection.h"
#include <limits>
Cube::Cube(Vector3f center, Material lightingMaterial):
Object(lightingMaterial)
{
SetLocalOrigin(center);
ConstructAABB();
}
Cube::~Cube()
{
}
bool Cube::IsIntersectingRay(Ray ray, float * out_ValueT, Intersection * out_Intersection)
{... | 26.405172 | 112 | 0.693764 | [
"object",
"transform"
] |
8e49f675801792610d4322aa39ca82d5a8bfce53 | 4,630 | cpp | C++ | lib/src/utils/random.cpp | masumhabib/quest | afef1166b361236144be83f07303a3ec0d5c187c | [
"Apache-2.0"
] | 5 | 2017-04-04T20:57:41.000Z | 2021-04-23T02:08:22.000Z | lib/src/utils/random.cpp | masumhabib/quest | afef1166b361236144be83f07303a3ec0d5c187c | [
"Apache-2.0"
] | 14 | 2016-10-06T03:00:24.000Z | 2017-05-30T06:43:32.000Z | lib/src/utils/random.cpp | masumhabib/quest | afef1166b361236144be83f07303a3ec0d5c187c | [
"Apache-2.0"
] | 1 | 2016-10-03T04:09:25.000Z | 2016-10-03T04:09:25.000Z | /*
* File: random.cpp
* Copyright (C) 2014 K M Masum Habib <masum.habib@ail.com>
*
* Created on November 6, 2014, 10:30 AM
*/
#include "utils/random.h"
namespace utils{ namespace random{
Random::Random() : generator(device) {
}
std::vector<double> Random::generate (int count) {
if (count < 0) {
... | 28.580247 | 101 | 0.599784 | [
"vector"
] |
8e4c73415c7a52bc2b802d34e463f87fa99b88bf | 18,186 | cpp | C++ | apiwznm/DlgWznmPrjNew.cpp | mpsitech/wznm-WhizniumSBE | 4911d561b28392d485c46e98fb915168d82b3824 | [
"MIT"
] | 3 | 2020-09-20T16:24:48.000Z | 2021-12-01T19:44:51.000Z | apiwznm/DlgWznmPrjNew.cpp | mpsitech/wznm-WhizniumSBE | 4911d561b28392d485c46e98fb915168d82b3824 | [
"MIT"
] | null | null | null | apiwznm/DlgWznmPrjNew.cpp | mpsitech/wznm-WhizniumSBE | 4911d561b28392d485c46e98fb915168d82b3824 | [
"MIT"
] | null | null | null | /**
* \file DlgWznmPrjNew.cpp
* API code for job DlgWznmPrjNew (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 5 Dec 2020
*/
// IP header --- ABOVE
#include "DlgWznmPrjNew.h"
using namespace std;
using namespace Sbecore;
usin... | 30.259567 | 144 | 0.65336 | [
"vector"
] |
8e52ec19cf99f683e565d75b13db0e961ba089b0 | 5,841 | cc | C++ | common_video/h264/pps_parser.cc | jxfwinter/webrtc | abd2ed091133fe2201c90638bfc93aca6d1bd1ae | [
"BSD-3-Clause"
] | null | null | null | common_video/h264/pps_parser.cc | jxfwinter/webrtc | abd2ed091133fe2201c90638bfc93aca6d1bd1ae | [
"BSD-3-Clause"
] | null | null | null | common_video/h264/pps_parser.cc | jxfwinter/webrtc | abd2ed091133fe2201c90638bfc93aca6d1bd1ae | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 37.683871 | 80 | 0.69697 | [
"vector"
] |
8e56d259dbb57aef36590f04f4d7bb37c4339813 | 8,210 | cc | C++ | tensorflow/compiler/tf2xla/kernels/gather_op.cc | Asurada2015/tensorflow | 5828e285209ff8c3d1bef2e4bd7c55ca611080d5 | [
"Apache-2.0"
] | 1 | 2020-06-10T10:59:35.000Z | 2020-06-10T10:59:35.000Z | tensorflow/compiler/tf2xla/kernels/gather_op.cc | ChenAugustus/tensorflow | 5828e285209ff8c3d1bef2e4bd7c55ca611080d5 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/tf2xla/kernels/gather_op.cc | ChenAugustus/tensorflow | 5828e285209ff8c3d1bef2e4bd7c55ca611080d5 | [
"Apache-2.0"
] | 1 | 2019-11-13T11:33:56.000Z | 2019-11-13T11:33:56.000Z | /* Copyright 2017 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... | 39.661836 | 80 | 0.669671 | [
"shape",
"vector"
] |
8e5a4180121ee22f0d8addc5e6e6d514c242b4ea | 412 | cpp | C++ | Source/Novah.AdvancedMath/Ray.cpp | jorgy343/NovahTracer | d430d8ff4871bd838dafd7beef9d745193206fa7 | [
"MIT"
] | null | null | null | Source/Novah.AdvancedMath/Ray.cpp | jorgy343/NovahTracer | d430d8ff4871bd838dafd7beef9d745193206fa7 | [
"MIT"
] | null | null | null | Source/Novah.AdvancedMath/Ray.cpp | jorgy343/NovahTracer | d430d8ff4871bd838dafd7beef9d745193206fa7 | [
"MIT"
] | null | null | null | #include "NovahAdvancedMath.h"
using namespace Novah::AdvancedMath;
Ray::Ray(Vector3 position, Vector3 direction)
: Position(position), Direction(direction)
{
}
const Surface* Ray::IntersectRay(const Ray& ray, IntersectionData* intersectionData) const
{
return nullptr;
}
const Surface* Ray::IntersectRay(co... | 21.684211 | 103 | 0.757282 | [
"vector"
] |
8e5c20e1d0e3f0cbd618a1b0c9dcd59024c1d150 | 1,863 | hpp | C++ | include/ghostfragment/property_types/subset_map.hpp | rmrresearch/GhostFragment | 7f0dbcfab3054416ee788c9e972528f15b4d611b | [
"Apache-2.0"
] | null | null | null | include/ghostfragment/property_types/subset_map.hpp | rmrresearch/GhostFragment | 7f0dbcfab3054416ee788c9e972528f15b4d611b | [
"Apache-2.0"
] | 1 | 2022-02-25T16:20:50.000Z | 2022-02-25T16:20:50.000Z | include/ghostfragment/property_types/subset_map.hpp | rmrresearch/GhostFragment | 7f0dbcfab3054416ee788c9e972528f15b4d611b | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <simde/simde.hpp>
namespace ghostfragment::pt {
template<typename Type2Fragment, typename MappedType>
struct SubsetMapTraits {
/// Type of the FamilyOfSets used for the keys
using fos_key_type = chemist::set_theory::FamilyOfSets<Type2Fragment>;
/// Type of the FamilyOfSets used for ... | 35.826923 | 76 | 0.770263 | [
"object"
] |
769d7e96e5614eda033954d9164ee619faa60ba9 | 9,473 | cpp | C++ | src/graphics/texture/objectlod.cpp | Terebinth/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 117 | 2015-01-13T14:48:49.000Z | 2022-03-16T01:38:19.000Z | src/graphics/texture/objectlod.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 4 | 2015-05-01T13:09:53.000Z | 2017-07-22T09:11:06.000Z | src/graphics/texture/objectlod.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 78 | 2015-01-13T09:27:47.000Z | 2022-03-18T14:39:09.000Z | /***************************************************************************\
ObjectLOD.cpp
Scott Randolph
February 9, 1998
Provides structures and definitions for 3D objects.
\***************************************************************************/
#include "stdafx.h"
#include <io.h>
#include <fcn... | 24.478036 | 120 | 0.61575 | [
"object",
"3d"
] |
76a2c17a0818f88cd069a3f70f01d3f7bbfb0737 | 4,308 | cpp | C++ | CARET_analyze_cpp_impl/src/records_map_impl.cpp | tier4/CARET_analyze_cpp_impl | e4c6abfc3f76ef036130fc1cae4e904c685d69fd | [
"Apache-2.0"
] | null | null | null | CARET_analyze_cpp_impl/src/records_map_impl.cpp | tier4/CARET_analyze_cpp_impl | e4c6abfc3f76ef036130fc1cae4e904c685d69fd | [
"Apache-2.0"
] | null | null | null | CARET_analyze_cpp_impl/src/records_map_impl.cpp | tier4/CARET_analyze_cpp_impl | e4c6abfc3f76ef036130fc1cae4e904c685d69fd | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Research Institute of Systems Planning, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 23.933333 | 79 | 0.716574 | [
"vector"
] |
76ad921a93fac4e957ac09b457669470082caf7d | 1,879 | hpp | C++ | test/dtl_test_common.hpp | JanX2/dtl | 36e808308e7c95b59e0b3bb3029a524a1e90a270 | [
"BSD-3-Clause"
] | 238 | 2015-02-28T12:07:23.000Z | 2022-02-24T02:22:52.000Z | test/dtl_test_common.hpp | JanX2/dtl | 36e808308e7c95b59e0b3bb3029a524a1e90a270 | [
"BSD-3-Clause"
] | 10 | 2015-10-22T17:25:36.000Z | 2021-05-10T13:50:10.000Z | test/dtl_test_common.hpp | JanX2/dtl | 36e808308e7c95b59e0b3bb3029a524a1e90a270 | [
"BSD-3-Clause"
] | 55 | 2015-05-15T12:01:08.000Z | 2021-12-20T13:34:09.000Z |
#ifndef DTL_TEST_COMMON
#define DTL_TEST_COMMON
#include <gtest/gtest.h>
#include <cstdio>
#include <string>
#include <vector>
#include <utility>
#include <iostream>
#include <fstream>
#include <dtl/dtl.hpp>
using std::cerr;
using std::endl;
using std::string;
using std::vector;
using std::pair;
using std::ifstream;... | 26.464789 | 109 | 0.632251 | [
"vector"
] |
76b5f7a2fc7afaca1fb6488d73dd19c473bb4566 | 3,240 | cpp | C++ | cpp/A0695/main.cpp | Modnars/LeetCode | 1c91fe9598418e6ed72233260f9cd8d5737fe216 | [
"Apache-2.0"
] | 2 | 2021-11-26T14:06:13.000Z | 2021-11-26T14:34:34.000Z | cpp/A0695/main.cpp | Modnars/LeetCode | 1c91fe9598418e6ed72233260f9cd8d5737fe216 | [
"Apache-2.0"
] | 2 | 2021-11-26T14:06:49.000Z | 2021-11-28T11:28:49.000Z | cpp/A0695/main.cpp | Modnars/LeetCode | 1c91fe9598418e6ed72233260f9cd8d5737fe216 | [
"Apache-2.0"
] | null | null | null | // URL : https://leetcode-cn.com/problems/max-area-of-island/
// Author : Modnar
// Date : 2020/03/15
#include <bits/stdc++.h>
/* ************************* */
/**
* 深度优先搜索(DFS)
* 遍历grid中的结点,若grid[i][j]为1,则对该点进行深度优先搜索,计算其所在“岛屿”
* 的area,并更新ans。
* 需要注意的是,每当添加一个点到area中时,应当更新该点状态为“已遍历”,这样操作可
* 以通过修改grid... | 32.727273 | 120 | 0.421296 | [
"vector"
] |
76bed0ef799e77f20a368ff62e35779ef7117bf2 | 704 | cpp | C++ | 0022-Generate Parentheses/0022-Generate Parentheses.cpp | zhuangli1987/LeetCode-1 | e81788abf9e95e575140f32a58fe983abc97fa4a | [
"MIT"
] | 49 | 2018-05-05T02:53:10.000Z | 2022-03-30T12:08:09.000Z | 0001-0100/0022-Generate Parentheses/0022-Generate Parentheses.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 11 | 2017-12-15T22:31:44.000Z | 2020-10-02T12:42:49.000Z | 0001-0100/0022-Generate Parentheses/0022-Generate Parentheses.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 28 | 2017-12-05T10:56:51.000Z | 2022-01-26T18:18:27.000Z | class Solution {
public:
vector<string> generateParenthesis(int n) {
vector<string> result;
string path = "";
dfs(path, n, n, result);
return result;
}
private:
void dfs(string& path, int left, int right, vector<string>& result) {
if (left == 0 && right == 0) {
... | 23.466667 | 73 | 0.451705 | [
"vector"
] |
76c20a3b1cb43582c8eeea8e876e7efc3ce8b924 | 3,466 | hpp | C++ | hw3/src/object/geometry/cylinder.hpp | xupei0610/ComputerGraphics-HW | 299416c0d75db17f6490bbab95a3561210a6277e | [
"MIT"
] | 2 | 2017-10-11T13:48:30.000Z | 2020-06-04T05:30:13.000Z | hw3/src/object/geometry/cylinder.hpp | xupei0610/ComputerGraphics-HW | 299416c0d75db17f6490bbab95a3561210a6277e | [
"MIT"
] | null | null | null | hw3/src/object/geometry/cylinder.hpp | xupei0610/ComputerGraphics-HW | 299416c0d75db17f6490bbab95a3561210a6277e | [
"MIT"
] | 2 | 2018-10-05T15:37:29.000Z | 2021-12-20T15:25:48.000Z | #ifndef PX_CG_OBJECT_GEOMETRY_CYLINDER_HPP
#define PX_CG_OBJECT_GEOMETRY_CYLINDER_HPP
#include "object/geometry/base_geometry.hpp"
namespace px
{
class Cylinder;
class BaseCylinder;
}
class px::BaseCylinder
{
public:
PX_CUDA_CALLABLE
static GeometryObj *hitCheck(void * const &obj,
Ra... | 31.509091 | 94 | 0.532314 | [
"geometry",
"object"
] |
76c44c62408cb525690657928c383a5820f51641 | 5,828 | cpp | C++ | src/io/http.cpp | msindwan/serverpp | d4377abdde92cc5abb39e8a416134bd1802d75cb | [
"MIT"
] | null | null | null | src/io/http.cpp | msindwan/serverpp | d4377abdde92cc5abb39e8a416134bd1802d75cb | [
"MIT"
] | null | null | null | src/io/http.cpp | msindwan/serverpp | d4377abdde92cc5abb39e8a416134bd1802d75cb | [
"MIT"
] | null | null | null | /**
* Serverpp HTTP implementation
*
* Author: Mayank Sindwani
* Date: 2015-09-18
*/
#include <spp\http.h>
using namespace spp;
using namespace std;
/**
* HTTPRequest Constructor
*
* @description Parses the HTTP request and stores required information.
* @param[out] {request} // The request string.
* @para... | 24.182573 | 88 | 0.594544 | [
"object"
] |
76cb27af5870664702e9c3241975d9ee239f7ecc | 3,018 | cpp | C++ | code archive/CF/1009F.cpp | brianbbsu/program | c4505f2b8c0b91010e157db914a63c49638516bc | [
"MIT"
] | 4 | 2018-04-08T08:07:58.000Z | 2021-06-07T14:55:24.000Z | code archive/CF/1009F.cpp | brianbbsu/program | c4505f2b8c0b91010e157db914a63c49638516bc | [
"MIT"
] | null | null | null | code archive/CF/1009F.cpp | brianbbsu/program | c4505f2b8c0b91010e157db914a63c49638516bc | [
"MIT"
] | 1 | 2018-10-29T12:37:25.000Z | 2018-10-29T12:37:25.000Z | //{
#include<bits/stdc++.h>
using namespace std;
typedef int ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(ll i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define FILL(i,n) memset(i,n,sizeof i)
#define X first
#define Y second
#define SZ(_a) (int)_a.size()
#define ALL(_a) _a.begin(),_a.end(... | 22.691729 | 129 | 0.529821 | [
"vector"
] |
76d606b8a950012028c74f932ab29cf95c22d7de | 5,708 | cpp | C++ | bsp_Barchid/src/p3d/render/Shader.cpp | Barchid/M3DS | 37505c7a23d43ee51ee43ea15fa6d3bc8693ae14 | [
"MIT"
] | 1 | 2019-12-10T01:59:15.000Z | 2019-12-10T01:59:15.000Z | winged_Barchid/src/p3d/render/Shader.cpp | Barchid/M3DS | 37505c7a23d43ee51ee43ea15fa6d3bc8693ae14 | [
"MIT"
] | null | null | null | winged_Barchid/src/p3d/render/Shader.cpp | Barchid/M3DS | 37505c7a23d43ee51ee43ea15fa6d3bc8693ae14 | [
"MIT"
] | 2 | 2020-02-27T18:13:54.000Z | 2022-02-24T14:37:22.000Z | #include "Shader.h"
#include "Matrix4.h"
#include "Matrix3.h"
#include "Vector3.h"
#include "Vector4.h"
#include "Tools.h"
#include <sstream>
#include <iostream>
#include <fstream>
#include <vector>
using namespace p3d;
using namespace std;
/*!
*
* @file
*
* @brief
* @author F. Aubert
*
*/
Shader *Shader::_current=... | 20.985294 | 79 | 0.680974 | [
"vector"
] |
76dbf1e2b64d71bb40cdae8792cf5af732d22d99 | 12,525 | cpp | C++ | tests/test_layout_mapping_left_basics.cpp | brycelelbach/boost.mdspan | 0f4b1329bbabef14b180ecd5f8a7a5282a2f9ee2 | [
"BSL-1.0"
] | 1 | 2019-10-02T21:33:43.000Z | 2019-10-02T21:33:43.000Z | tests/test_layout_mapping_left_basics.cpp | brycelelbach/boost.mdspan | 0f4b1329bbabef14b180ecd5f8a7a5282a2f9ee2 | [
"BSL-1.0"
] | 2 | 2018-04-27T21:51:28.000Z | 2018-04-27T23:43:43.000Z | tests/test_layout_mapping_left_basics.cpp | brycelelbach/boost.mdspan | 0f4b1329bbabef14b180ecd5f8a7a5282a2f9ee2 | [
"BSL-1.0"
] | 1 | 2018-04-27T22:37:37.000Z | 2018-04-27T22:37:37.000Z | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2015 Bryce Adelstein Lelbach aka wash
//
// 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)
/////////////////////////... | 26.762821 | 81 | 0.540359 | [
"vector",
"3d"
] |
76e0fc6509644ab2f533b865c626b221b404c4ec | 1,352 | cpp | C++ | Card.cpp | FrankBotos/PokerHandStrength | bd11de0f90bbf517b3b4cd10d7d6c933478047a9 | [
"MIT"
] | null | null | null | Card.cpp | FrankBotos/PokerHandStrength | bd11de0f90bbf517b3b4cd10d7d6c933478047a9 | [
"MIT"
] | null | null | null | Card.cpp | FrankBotos/PokerHandStrength | bd11de0f90bbf517b3b4cd10d7d6c933478047a9 | [
"MIT"
] | null | null | null | #include "Card.hpp"
Card::Card(Suit suit, size_t value){
this->suit = suit;
this->value = value;
//initializing our array of suits in string format for easy retreival at a later stage
this->suitsInStringFormat = { "hearts", "diamonds", "spades", "clubs" };
//quick validity check
if(va... | 21.460317 | 90 | 0.531065 | [
"vector"
] |
76e2d1ffb8d5c3bf8c835d2bb0dcfec9fa9c8ed7 | 12,817 | cpp | C++ | dynamic-programming/fibonacci-modified/fibonacci-modified.cpp | agusti-t/hackerrank | f30ce9362dc5e1b3489567a2c3910ade3ce0233a | [
"MIT"
] | null | null | null | dynamic-programming/fibonacci-modified/fibonacci-modified.cpp | agusti-t/hackerrank | f30ce9362dc5e1b3489567a2c3910ade3ce0233a | [
"MIT"
] | null | null | null | dynamic-programming/fibonacci-modified/fibonacci-modified.cpp | agusti-t/hackerrank | f30ce9362dc5e1b3489567a2c3910ade3ce0233a | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <climits>
#include <iterator>
#include <cstddef>
#include <chrono>
#include <map>
#include <type_traits>
#include <iomanip>
#include <functional>
using namespace std;
using namespace std::chrono;
using namespace std:... | 28.107456 | 143 | 0.550285 | [
"vector"
] |
76e6a7e2c470cd856d3999505b9ecf051bd6abb8 | 12,167 | cpp | C++ | scanner/video/nvidia/nvidia_video_decoder.cpp | photoszzt/scanner | 712796dffed7411791499b9226a57410b4ce216c | [
"Apache-2.0"
] | 1 | 2021-06-27T08:00:04.000Z | 2021-06-27T08:00:04.000Z | scanner/video/nvidia/nvidia_video_decoder.cpp | photoszzt/scanner | 712796dffed7411791499b9226a57410b4ce216c | [
"Apache-2.0"
] | 1 | 2017-10-26T03:22:56.000Z | 2017-10-26T03:22:56.000Z | scanner/video/nvidia/nvidia_video_decoder.cpp | qinglan233/scanner | 61ce0d35e49c92cab265b746bd55ae75ab57fb42 | [
"Apache-2.0"
] | 1 | 2019-05-10T19:44:44.000Z | 2019-05-10T19:44:44.000Z | /* Copyright 2016 Carnegie Mellon University, 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... | 32.187831 | 80 | 0.708967 | [
"object"
] |
76e9ff541efd34d5eeaf40ddd6e46a42fef110a1 | 675 | cpp | C++ | greedy/455-assign-cookies.cpp | geyixin/awesome-Leetcode | 488cb477beeaa6fa7e65950615bfafa899eed3a3 | [
"MIT"
] | 1 | 2020-04-10T05:05:50.000Z | 2020-04-10T05:05:50.000Z | greedy/455-assign-cookies.cpp | geyixin/awesome-Leetcode | 488cb477beeaa6fa7e65950615bfafa899eed3a3 | [
"MIT"
] | null | null | null | greedy/455-assign-cookies.cpp | geyixin/awesome-Leetcode | 488cb477beeaa6fa7e65950615bfafa899eed3a3 | [
"MIT"
] | null | null | null | /*
* @Author: Eashin
* @Date: 2020-05-23 20:26:24
* @LastEditors: Eashin
* @LastEditTime: 2020-05-23 22:08:02
* @Description:
* @FilePath: /greedy/455-assign-cookies.cpp
*/
#include<iostream>
#include <vector>
using namespace std;
class Solution {
public:
int findContentChildren(vector<int>& g, vector<i... | 23.275862 | 61 | 0.53037 | [
"vector"
] |
76ea9dc4fe76b503417422f91e2fbcaffa3d05b9 | 3,831 | cpp | C++ | apps/opencs/view/settings/settingwindow.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | apps/opencs/view/settings/settingwindow.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | apps/opencs/view/settings/settingwindow.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | #include <QApplication>
#include <QDebug>
#include "../../model/settings/setting.hpp"
#include "../../model/settings/connector.hpp"
#include "../../model/settings/usersettings.hpp"
#include "settingwindow.hpp"
#include "page.hpp"
#include "view.hpp"
CSVSettings::SettingWindow::SettingWindow(QWidget *parent)
: QMa... | 29.022727 | 96 | 0.5787 | [
"model"
] |
76edab0d4f23dcea9b2ed3f60271732c591bfa06 | 2,535 | hh | C++ | inc/promotion.hh | lysyjakk/neuralchess | d1e7b73580784026a4087b11d6939870dcf0f4e4 | [
"MIT"
] | null | null | null | inc/promotion.hh | lysyjakk/neuralchess | d1e7b73580784026a4087b11d6939870dcf0f4e4 | [
"MIT"
] | null | null | null | inc/promotion.hh | lysyjakk/neuralchess | d1e7b73580784026a4087b11d6939870dcf0f4e4 | [
"MIT"
] | null | null | null | #ifndef PROMOTION_H_INCLUDED
#define PROMOTION_H_INCLUDED
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include "textureManager.hh"
#include "constants.hh"
#include <iostream>
#define PROMOTION_TO_QUEEN 0
#define PROMOTION_TO_ROOK 1
#define PROMOTION_TO_BISHOP 2
#define PROMOTION_TO_KNIGHT 3
enum class Site;... | 24.375 | 117 | 0.660355 | [
"render"
] |
76f5ba66e02a0295d011127c6dd78a25aa030805 | 1,140 | cpp | C++ | C++_Programs/Manual/10.1.cpp | NikhilParekh47/Programs | e986ec4a0f43f37a08f000cd0f2e08190dcc7bd9 | [
"MIT"
] | 5 | 2019-07-15T14:22:52.000Z | 2020-12-17T10:16:37.000Z | C++_Programs/Manual/10.1.cpp | parekhnikhil47/Programs | e986ec4a0f43f37a08f000cd0f2e08190dcc7bd9 | [
"MIT"
] | null | null | null | C++_Programs/Manual/10.1.cpp | parekhnikhil47/Programs | e986ec4a0f43f37a08f000cd0f2e08190dcc7bd9 | [
"MIT"
] | 2 | 2019-07-26T11:30:10.000Z | 2019-08-18T16:42:09.000Z | /*
* This program is for illustrate concept of constructor and destructor.
* In this we will create date class and it's constructor and destructor.
*/
#include <iostream> // Header
using namespace std;
class DATE { // Creating class DATE.
public:
DATE (int i){ // Constructor of class DATE. constructor have sam... | 31.666667 | 83 | 0.633333 | [
"object"
] |
76f861af33b5db3213c7c59bf8bea56a530f0922 | 7,978 | cpp | C++ | src/caffe/aicore_layers/conv_layer.cpp | jizhuoran/caffe-atlas | f818b3601d32ad4dc4154d533716b6c6a35b0d1c | [
"Intel",
"BSD-2-Clause"
] | 2 | 2020-06-28T03:05:59.000Z | 2020-07-06T14:18:10.000Z | src/caffe/aicore_layers/conv_layer.cpp | jizhuoran/caffe-atlas | f818b3601d32ad4dc4154d533716b6c6a35b0d1c | [
"Intel",
"BSD-2-Clause"
] | null | null | null | src/caffe/aicore_layers/conv_layer.cpp | jizhuoran/caffe-atlas | f818b3601d32ad4dc4154d533716b6c6a35b0d1c | [
"Intel",
"BSD-2-Clause"
] | null | null | null | #include "caffe/layers/conv_layer.hpp"
namespace caffe {
template <typename Dtype>
void ochw2fracZ(const Dtype* ochw, _Float16* fracZ, int channel_out, int channel_in, int kernel_h, int kernel_w) {
auto fracZ_array = *reinterpret_cast<_Float16 (*)[kernel_h * kernel_w * ((channel_in + 15) / 16)][(channel_out + 15) /... | 48.646341 | 188 | 0.673602 | [
"shape",
"vector"
] |
76f9438a3fe281b3a0df2b4d367f44b90bef5e93 | 9,105 | hpp | C++ | Xor/XorCommandList.hpp | jknuuttila/xor-renderer | 553657e1aa6f5a4e5aa7da31752d748c78375f88 | [
"MIT"
] | 1 | 2016-07-11T11:38:52.000Z | 2016-07-11T11:38:52.000Z | Xor/XorCommandList.hpp | jknuuttila/xor-renderer | 553657e1aa6f5a4e5aa7da31752d748c78375f88 | [
"MIT"
] | null | null | null | Xor/XorCommandList.hpp | jknuuttila/xor-renderer | 553657e1aa6f5a4e5aa7da31752d748c78375f88 | [
"MIT"
] | null | null | null | #pragma once
#include "Core/Core.hpp"
#include "Xor/Shaders.h"
#include "Xor/XorBackend.hpp"
#include "Xor/XorResources.hpp"
namespace Xor
{
static constexpr int MaxRenderTargets = 8;
namespace backend
{
struct QueryHeap;
struct ProfilingEventData;
struct CommandListState;
}
... | 34.358491 | 101 | 0.616035 | [
"vector"
] |
0a0158dba17e87f13843ae0dfc67b077b220e908 | 4,729 | cpp | C++ | Codeforces/vk 2018/B.cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | 6 | 2018-10-15T18:45:05.000Z | 2022-03-29T04:30:10.000Z | Codeforces/vk 2018/B.cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | null | null | null | Codeforces/vk 2018/B.cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | 4 | 2018-01-07T06:20:07.000Z | 2019-08-21T15:45:59.000Z | #include <stdio.h>
#include <algorithm>
using namespace std;
const double EPS = 1e-9;
const int INF = 0x7f7f7f7f;
#define READ(f) freopen(f, "r", stdin)
#define WRITE(f) freopen(f, "w", stdout)
#define MP(x, y) make_pair(x, y)
#define PB(x) push_back(x)
#define rep(i... | 30.509677 | 93 | 0.483823 | [
"vector"
] |
0a108d560cd00bcdfcbba2e2601ab33ac0d51cc2 | 9,460 | cpp | C++ | Sources/Core/Vulkan/SwapChain.cpp | alelievr/LWGEngine | 655ed35350206401e20bc2fe6063574e1ede603f | [
"MIT"
] | 3 | 2019-09-05T12:49:14.000Z | 2020-06-08T00:13:49.000Z | Sources/Core/Vulkan/SwapChain.cpp | alelievr/LWGEngine | 655ed35350206401e20bc2fe6063574e1ede603f | [
"MIT"
] | 4 | 2018-12-16T15:39:19.000Z | 2019-03-23T20:29:26.000Z | Sources/Core/Vulkan/SwapChain.cpp | alelievr/LWGEngine | 655ed35350206401e20bc2fe6063574e1ede603f | [
"MIT"
] | 2 | 2020-06-08T00:13:55.000Z | 2021-12-12T10:10:20.000Z | #include "SwapChain.hpp"
#include "Vk.hpp"
#include <array>
#include <limits>
using namespace LWGC;
SwapChain::SwapChain(void) : _instance(nullptr), _window(nullptr), _imageCount(0)
{
this->_swapChain = VK_NULL_HANDLE;
this->_device = VK_NULL_HANDLE;
}
SwapChain::~SwapChain(void)
{
Cleanup();
}
void SwapChain:... | 35.167286 | 209 | 0.774947 | [
"vector"
] |
0a21097b12d1fa2aa335e51f72ed731eb4b56288 | 2,499 | hpp | C++ | src/ms/env/match_env.hpp | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 8 | 2018-05-23T14:37:31.000Z | 2022-02-04T23:48:38.000Z | src/ms/env/match_env.hpp | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 9 | 2019-08-31T08:17:45.000Z | 2022-02-11T20:58:06.000Z | src/ms/env/match_env.hpp | toppic-suite/toppic-suite | b5f0851f437dde053ddc646f45f9f592c16503ec | [
"Apache-2.0"
] | 4 | 2018-04-25T01:39:38.000Z | 2020-05-20T19:25:07.000Z | //Copyright (c) 2014 - 2020, The Trustees of Indiana University.
//
//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 a... | 28.078652 | 78 | 0.761104 | [
"vector"
] |
0a28e23bfadd6cdef94f02a76f66941e2d9c78eb | 748 | cpp | C++ | src/zscore.cpp | srmocher/of-ParallelCoordinates | c4a53876f2dede5c49abb2ec5ef8e49769c0bdd0 | [
"MIT"
] | null | null | null | src/zscore.cpp | srmocher/of-ParallelCoordinates | c4a53876f2dede5c49abb2ec5ef8e49769c0bdd0 | [
"MIT"
] | null | null | null | src/zscore.cpp | srmocher/of-ParallelCoordinates | c4a53876f2dede5c49abb2ec5ef8e49769c0bdd0 | [
"MIT"
] | null | null | null | #include "zscore.h"
#include <numeric>
ZScore::ZScore(Column c)
{
this->selectedColumn = c;
}
void ZScore::calculateMeanAndSD()
{
vector<DataPoint> values = selectedColumn.get_numeric_values();
double sum = 0;
for (int i = 0;i < values.size();i++)
sum += values[i].val;
this->mean = sum / values.size();
doubl... | 22.666667 | 75 | 0.681818 | [
"vector"
] |
0a2b7f4eb96f535bfb49bd28cc51f14513d77547 | 1,801 | cc | C++ | tensorflow/contrib/star/star_channel_spec.cc | ShaunHeNJU/DeepRec-1 | e280fb19de179f03dc05e1d8e3f4f7459796d96e | [
"Apache-2.0"
] | 292 | 2021-12-24T03:24:33.000Z | 2022-03-31T15:41:05.000Z | tensorflow/contrib/star/star_channel_spec.cc | ShaunHeNJU/DeepRec-1 | e280fb19de179f03dc05e1d8e3f4f7459796d96e | [
"Apache-2.0"
] | 54 | 2021-12-24T06:40:09.000Z | 2022-03-30T07:57:24.000Z | tensorflow/contrib/star/star_channel_spec.cc | ShaunHeNJU/DeepRec-1 | e280fb19de179f03dc05e1d8e3f4f7459796d96e | [
"Apache-2.0"
] | 75 | 2021-12-24T04:48:21.000Z | 2022-03-29T10:13:39.000Z | #include "tensorflow/contrib/star/star_channel_spec.h"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/lib/gtl/map_util.h"
#include "tensorflow/core/lib/strings/numbers.h"
#include "tensorflow/core/lib/strings/str_util.h"
#include "tensorflow/core/lib/strings/strcat.h"
#include "tensorflow/core/p... | 32.745455 | 71 | 0.721821 | [
"vector"
] |
0a2c24d386a7600e84b18ac1c50b11f09fb0b58a | 6,249 | hpp | C++ | mochimochi/classifier/factory/binary_oml_factory.hpp | georgeslabreche/MochiMochi | 6ed0e8e078504a068a812735567d196f5d88e69f | [
"MIT"
] | null | null | null | mochimochi/classifier/factory/binary_oml_factory.hpp | georgeslabreche/MochiMochi | 6ed0e8e078504a068a812735567d196f5d88e69f | [
"MIT"
] | null | null | null | mochimochi/classifier/factory/binary_oml_factory.hpp | georgeslabreche/MochiMochi | 6ed0e8e078504a068a812735567d196f5d88e69f | [
"MIT"
] | null | null | null | /**
* Implement the Factory Design Pattern to instanciate Online ML algorithm objects.
* https://refactoring.guru/design-patterns/factory-method/cpp/example
*
* Also implemented BinaryOMLInterface to give the option to develop the Proxy design pattern:
* https://refactoring.guru/design-patterns/proxy/cpp/example#... | 24.127413 | 116 | 0.698512 | [
"object",
"vector",
"model"
] |
0a2fc16dd51c15315f6d9e7e761473f275b53b79 | 3,180 | cpp | C++ | Engine/Graphics/Direct3D12/D3D12PostProcess.cpp | ZackShrout/HavanaEngine | b8869acfff27e41bd37079716d152c2df9674fe2 | [
"Apache-2.0"
] | null | null | null | Engine/Graphics/Direct3D12/D3D12PostProcess.cpp | ZackShrout/HavanaEngine | b8869acfff27e41bd37079716d152c2df9674fe2 | [
"Apache-2.0"
] | null | null | null | Engine/Graphics/Direct3D12/D3D12PostProcess.cpp | ZackShrout/HavanaEngine | b8869acfff27e41bd37079716d152c2df9674fe2 | [
"Apache-2.0"
] | null | null | null | #include "D3D12PostProcess.h"
#include "D3D12Core.h"
#include "D3D12Shaders.h"
#include "D3D12Surface.h"
#include "D3D12GPass.h"
namespace Havana::Graphics::D3D12::FX
{
namespace
{
struct FXRootParamIndices
{
enum : u32
{
rootConstants,
descriptorTable,
count
};
};
ID3D12RootSignature*... | 32.44898 | 125 | 0.759434 | [
"render",
"object"
] |
0a31f125ce7c74e77313b56e0a2597de3b1600bd | 2,705 | cpp | C++ | day5/main5.cpp | nspo/adventOfCode2020-cpp | 9ecd1a721b3821b5d1dbd7438ef61dc28af7c8b8 | [
"BSD-3-Clause"
] | null | null | null | day5/main5.cpp | nspo/adventOfCode2020-cpp | 9ecd1a721b3821b5d1dbd7438ef61dc28af7c8b8 | [
"BSD-3-Clause"
] | null | null | null | day5/main5.cpp | nspo/adventOfCode2020-cpp | 9ecd1a721b3821b5d1dbd7438ef61dc28af7c8b8 | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <fstream>
#include <cassert>
#include <vector>
#include <algorithm>
#include <deque>
// helper class for seat identification
class BinarySelector {
public:
BinarySelector(int min, int max) {
assert(min <= max);
this->min = min;
this->max = max;
}
// con... | 26.009615 | 146 | 0.52939 | [
"vector"
] |
0a33c65a271418993d27d5bb0ca0660e5a071294 | 239 | hpp | C++ | demos/console_demo.hpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | 1 | 2020-07-11T14:53:38.000Z | 2020-07-11T14:53:38.000Z | demos/console_demo.hpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | 1 | 2020-07-04T16:45:49.000Z | 2020-07-04T16:45:49.000Z | demos/console_demo.hpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | null | null | null | #ifndef RHIZOME_DEMO_CONSOLE
#define RHIZOME_DEMO_CONSOLE
#include <vector>
#include <iostream>
#include "rhizome.hpp"
namespace ru = rhizome::ui;
namespace rhizome {
namespace demo {
void console_demo();
}
}
#endif
| 11.95 | 28 | 0.698745 | [
"vector"
] |
0a3a92c64bb4e759d6f067b36e14637730a653c6 | 27,979 | cpp | C++ | Infinion/GeneratedCCode/SimulinkModel/Infinion_grt_rtw/Infinion_data.cpp | AadityaChaudhary/Simulink-Sim | 1563ae1ac43fe8d77a203fde18ea48409643b911 | [
"BSD-3-Clause"
] | null | null | null | Infinion/GeneratedCCode/SimulinkModel/Infinion_grt_rtw/Infinion_data.cpp | AadityaChaudhary/Simulink-Sim | 1563ae1ac43fe8d77a203fde18ea48409643b911 | [
"BSD-3-Clause"
] | null | null | null | Infinion/GeneratedCCode/SimulinkModel/Infinion_grt_rtw/Infinion_data.cpp | AadityaChaudhary/Simulink-Sim | 1563ae1ac43fe8d77a203fde18ea48409643b911 | [
"BSD-3-Clause"
] | null | null | null | /*
* Infinion_data.cpp
*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* Code generation for model "Infinion".
*
* Model version : 1.259
* Simul... | 55.624254 | 81 | 0.584367 | [
"model"
] |
0a41fa4098c126c90064218ba0c4a9268dd83a7d | 3,967 | hpp | C++ | include/engine/plugins/nearest.hpp | mortada/osrm-backend | aae02cd1be7e99eb75117c7d8c9f39b858ad9019 | [
"BSD-2-Clause"
] | null | null | null | include/engine/plugins/nearest.hpp | mortada/osrm-backend | aae02cd1be7e99eb75117c7d8c9f39b858ad9019 | [
"BSD-2-Clause"
] | null | null | null | include/engine/plugins/nearest.hpp | mortada/osrm-backend | aae02cd1be7e99eb75117c7d8c9f39b858ad9019 | [
"BSD-2-Clause"
] | 1 | 2019-09-20T00:55:14.000Z | 2019-09-20T00:55:14.000Z | #ifndef NEAREST_HPP
#define NEAREST_HPP
#include "engine/plugins/plugin_base.hpp"
#include "engine/phantom_node.hpp"
#include "util/integer_range.hpp"
#include "osrm/json_container.hpp"
#include <string>
namespace osrm
{
namespace engine
{
namespace plugins
{
/*
* This Plugin locates the nearest point on a street ... | 36.731481 | 100 | 0.599445 | [
"object"
] |
0a4a26d7da3e6c7347cf20c617dda6d0cc2066df | 9,147 | cpp | C++ | test/graph_visualisation_test.cpp | lsscecilia/GraphVisualisation | 7490062ac0596835620e2026a756b6be8f0667e7 | [
"MIT"
] | 3 | 2021-03-29T09:15:39.000Z | 2021-06-03T18:51:51.000Z | test/graph_visualisation_test.cpp | lsscecilia/GraphVisualisation | 7490062ac0596835620e2026a756b6be8f0667e7 | [
"MIT"
] | null | null | null | test/graph_visualisation_test.cpp | lsscecilia/GraphVisualisation | 7490062ac0596835620e2026a756b6be8f0667e7 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include <memory.h>
#include "../src/algorithm.cpp"
TEST (MathVectorTest, equalOperator){
MathVector mv;
mv = 10;
EXPECT_EQ(10, mv.x);
EXPECT_EQ(10, mv.y);
}
TEST (MathVectorTest, equalOperatorWhenAssigned){
MathVector mv(10,10);
mv = 100;
EXPECT_EQ(100, mv.x);
EXPECT_EQ(100, ... | 27.972477 | 68 | 0.66776 | [
"vector"
] |
aecf51aec06ece5a62c66ba7ebf9787ed5ade79a | 1,025 | cpp | C++ | CODEFORCES/246/test.cpp | henviso/contests | aa8a5ce9ed4524e6c3130ee73af7640e5a86954c | [
"Apache-2.0"
] | null | null | null | CODEFORCES/246/test.cpp | henviso/contests | aa8a5ce9ed4524e6c3130ee73af7640e5a86954c | [
"Apache-2.0"
] | null | null | null | CODEFORCES/246/test.cpp | henviso/contests | aa8a5ce9ed4524e6c3130ee73af7640e5a86954c | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <bitset>
#include <cstring>
#define CLEAR(v, x) memset(v, x, sizeof(v))
#define REP(i,n) for(int i = 0; i<n; i++)
#define REPP(i,a,n) for(int i = a; i<n; i++)
using namespace std;
int A[1100][1100];
int B[1100][1100];
class PairGa... | 20.5 | 56 | 0.487805 | [
"vector"
] |
aed0a426df39cfd0e408903fc545af87ac9edcf6 | 1,107 | cpp | C++ | first_missing_positive.cpp | zhoujqia/leetcode | 5e620a22d34762af329d5d7df1e8688949353fa1 | [
"MIT"
] | null | null | null | first_missing_positive.cpp | zhoujqia/leetcode | 5e620a22d34762af329d5d7df1e8688949353fa1 | [
"MIT"
] | null | null | null | first_missing_positive.cpp | zhoujqia/leetcode | 5e620a22d34762af329d5d7df1e8688949353fa1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <ctime>
#include <cstdlib>
#include <utility>
using namespace std;
class Solution {
public:
int firstMissingPositive(vector<int>& nums) {
int size = nums.size();
for (int i = 0; i < size; )
{
//nums[i] in range[1,n] shoud put in the... | 20.886792 | 72 | 0.514905 | [
"vector"
] |
aed221ec9659be9c23793d2bd5a38fcab7175dd9 | 7,173 | cpp | C++ | src/IndigoConfiguration.cpp | vsemionov/indigo-filer | bb8de3308fbc547cb419ecc2edc264fc28806cdd | [
"BSD-2-Clause"
] | null | null | null | src/IndigoConfiguration.cpp | vsemionov/indigo-filer | bb8de3308fbc547cb419ecc2edc264fc28806cdd | [
"BSD-2-Clause"
] | null | null | null | src/IndigoConfiguration.cpp | vsemionov/indigo-filer | bb8de3308fbc547cb419ecc2edc264fc28806cdd | [
"BSD-2-Clause"
] | null | null | null |
/*
* Copyright (C) 2010, Victor Semionov
* All rights reserved.
*
* 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 above copyright notice,
* this... | 23.751656 | 99 | 0.70863 | [
"vector"
] |
aed865db10ec8fdb4baeeb3798a1e913883cab02 | 31,837 | cpp | C++ | code/hud/hudets.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | 307 | 2015-04-10T13:27:32.000Z | 2022-03-21T03:30:38.000Z | code/hud/hudets.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | 2,231 | 2015-04-27T10:47:35.000Z | 2022-03-31T19:22:37.000Z | code/hud/hudets.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | 282 | 2015-01-05T12:16:57.000Z | 2022-03-28T04:45:11.000Z | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#include "freespace.h"
#include "gamesnd/gamesnd.h"
#include "globalin... | 28.375223 | 274 | 0.69281 | [
"render",
"object"
] |
aedccfc866e1be00c331db7711dbbf3a94077c33 | 824 | cpp | C++ | editor/compiler/interface/ConstantValue.cpp | remaininlight/axiom | abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce | [
"MIT"
] | 642 | 2017-12-10T14:22:04.000Z | 2022-03-03T15:23:23.000Z | editor/compiler/interface/ConstantValue.cpp | remaininlight/axiom | abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce | [
"MIT"
] | 151 | 2017-12-21T02:08:45.000Z | 2020-07-03T14:18:51.000Z | editor/compiler/interface/ConstantValue.cpp | remaininlight/axiom | abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce | [
"MIT"
] | 30 | 2018-09-11T14:06:31.000Z | 2021-11-09T04:19:00.000Z | #include "ConstantValue.h"
#include "Frontend.h"
using namespace MaximCompiler;
ConstantValue::ConstantValue(void *handle) : OwnedObject(handle, &MaximFrontend::maxim_destroy_constant) {}
ConstantValue ConstantValue::num(AxiomModel::NumValue value) {
return ConstantValue(MaximFrontend::maxim_constant_num(value.... | 32.96 | 107 | 0.746359 | [
"vector"
] |
aee5ef4b1c203fb28fd83983ff6b951cf8580e36 | 1,222 | cpp | C++ | Codeforces/1490E_Accidental_Victory.cpp | a3X3k/Competitive-programing-hacktoberfest-2021 | bc3997997318af4c5eafad7348abdd9bf5067b4f | [
"Unlicense"
] | 12 | 2021-06-05T09:40:10.000Z | 2021-10-07T17:59:51.000Z | Codeforces/1490E_Accidental_Victory.cpp | a3X3k/Competitive-programing-hacktoberfest-2021 | bc3997997318af4c5eafad7348abdd9bf5067b4f | [
"Unlicense"
] | 21 | 2021-09-30T22:25:03.000Z | 2021-10-05T18:23:25.000Z | Codeforces/1490E_Accidental_Victory.cpp | a3X3k/Competitive-programing-hacktoberfest-2021 | bc3997997318af4c5eafad7348abdd9bf5067b4f | [
"Unlicense"
] | 67 | 2021-08-01T10:04:52.000Z | 2021-10-10T00:25:04.000Z | // Problem Link: https://codeforces.com/contest/1490/problem/E
// Solution:
#include"bits/stdc++.h"
using namespace std;
#define int long long
#define fio ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#define endl '\n'
#define mod 1000000007
int min(int a, int b) {
if (a < b)
return a;
else
return b;
... | 20.032787 | 67 | 0.550736 | [
"vector"
] |
aeee1380dfb05091d00e5c13073aca0ad278592a | 844 | hpp | C++ | identity_matrix.hpp | RyanPersson/EigenC | cb82fcfcb09754b3f1a41cf78c58a2802568c5d2 | [
"MIT"
] | null | null | null | identity_matrix.hpp | RyanPersson/EigenC | cb82fcfcb09754b3f1a41cf78c58a2802568c5d2 | [
"MIT"
] | null | null | null | identity_matrix.hpp | RyanPersson/EigenC | cb82fcfcb09754b3f1a41cf78c58a2802568c5d2 | [
"MIT"
] | null | null | null | /*******************************************************************************************************************************************************************************
** Program: identity_matrix.hpp
** Author: Ryan Persson
** Date Created: 8/6/2020
*********************************************************... | 32.461538 | 176 | 0.373223 | [
"vector"
] |
aef14ed8da3bd72193ee5db5d3e3c4dbff2a76aa | 4,828 | cpp | C++ | external/webkit/Source/WebCore/platform/graphics/chromium/WebGLLayerChromium.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 2 | 2017-05-19T08:53:12.000Z | 2017-08-28T11:59:26.000Z | external/webkit/Source/WebCore/platform/graphics/chromium/WebGLLayerChromium.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | external/webkit/Source/WebCore/platform/graphics/chromium/WebGLLayerChromium.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 2 | 2017-08-09T09:03:23.000Z | 2020-05-26T09:14:49.000Z | /*
* Copyright (C) 2010 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 37.138462 | 139 | 0.733637 | [
"render"
] |
aef700cde7f5699f54a54785c0a9c7865dfe04db | 3,083 | hpp | C++ | ros/catkin_ws/src/kobuki/kobuki_core/kobuki_driver/include/kobuki_driver/packets/gp_input.hpp | Kanaderu/spiking-ddpg-mapless-navigation | 2b5e7e67385dee4428b8036bc4ffe95e812b34e0 | [
"MIT"
] | null | null | null | ros/catkin_ws/src/kobuki/kobuki_core/kobuki_driver/include/kobuki_driver/packets/gp_input.hpp | Kanaderu/spiking-ddpg-mapless-navigation | 2b5e7e67385dee4428b8036bc4ffe95e812b34e0 | [
"MIT"
] | null | null | null | ros/catkin_ws/src/kobuki/kobuki_core/kobuki_driver/include/kobuki_driver/packets/gp_input.hpp | Kanaderu/spiking-ddpg-mapless-navigation | 2b5e7e67385dee4428b8036bc4ffe95e812b34e0 | [
"MIT"
] | null | null | null | /**
* @file include/kobuki_driver/packets/gp_input.hpp
*
* @brief gpio data command packets.
*
* License: BSD
* https://raw.github.com/yujinrobot/kobuki_core/hydro-devel/kobuki_driver/LICENSE
*/
/*****************************************************************************
** Preprocessor
*********************... | 27.04386 | 109 | 0.517678 | [
"vector"
] |
aefbc59a572738be796a1f379a41c7c15f52ba94 | 2,856 | cpp | C++ | src/hotspot/share/jfr/leakprofiler/utilities/rootType.cpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2020-12-26T04:52:15.000Z | 2020-12-26T04:52:15.000Z | src/hotspot/share/jfr/leakprofiler/utilities/rootType.cpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2020-12-26T04:57:19.000Z | 2020-12-26T04:57:19.000Z | src/hotspot/share/jfr/leakprofiler/utilities/rootType.cpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2021-12-06T01:13:18.000Z | 2021-12-06T01:13:18.000Z | /*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 32.089888 | 84 | 0.714636 | [
"object"
] |
aefecd84ff47d06e6c9fbdd8d0815e4b55de4a73 | 5,430 | hh | C++ | Core/Bezier.hh | ThibaultReuille/raindance | 79f1f6aeeaf6cbe378e911cd510e6550ae34eb75 | [
"BSD-2-Clause"
] | 12 | 2015-01-15T03:30:10.000Z | 2022-02-24T21:25:29.000Z | Core/Bezier.hh | ThibaultReuille/raindance | 79f1f6aeeaf6cbe378e911cd510e6550ae34eb75 | [
"BSD-2-Clause"
] | 1 | 2017-06-06T15:39:21.000Z | 2017-06-06T15:39:21.000Z | Core/Bezier.hh | ThibaultReuille/raindance | 79f1f6aeeaf6cbe378e911cd510e6550ae34eb75 | [
"BSD-2-Clause"
] | 4 | 2015-07-02T22:06:56.000Z | 2022-02-24T21:25:30.000Z | #pragma once
#include <raindance/Core/Headers.hh>
#include <raindance/Core/Geometry.hh>
class BezierCurve
{
public:
struct ControlPoint
{
ControlPoint(const glm::vec3& pos, const glm::vec4& color) : Position(pos), Color(color) {}
ControlPoint(const glm::vec4& pos) : Position(pos), Color(glm::vec4(1.0, 1.0, 1.0,... | 31.206897 | 153 | 0.637017 | [
"geometry",
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.