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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4860322d9e9db1ff4552cd2c0e577eb3d2c18773 | 3,091 | cpp | C++ | Gems/Atom/RHI/Vulkan/Code/Source/RHI.Reflect/ShaderStageFunction.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Gems/Atom/RHI/Vulkan/Code/Source/RHI.Reflect/ShaderStageFunction.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Gems/Atom/RHI/Vulkan/Code/Source/RHI.Reflect/ShaderStageFunction.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <Atom/RHI.Reflect/Vulkan/ShaderStageFunction.h>
#include <AzCore/std/string/string_view.h... | 35.94186 | 146 | 0.623746 | [
"3d"
] |
4864db29dca4fb05462da96accb0263534c9f94e | 1,338 | cpp | C++ | Array/Product of Array Except Self.cpp | DY-2001/DSA | 0f1f7a19304a2e5cfef690bf51a22bbc73eef4bc | [
"MIT"
] | null | null | null | Array/Product of Array Except Self.cpp | DY-2001/DSA | 0f1f7a19304a2e5cfef690bf51a22bbc73eef4bc | [
"MIT"
] | null | null | null | Array/Product of Array Except Self.cpp | DY-2001/DSA | 0f1f7a19304a2e5cfef690bf51a22bbc73eef4bc | [
"MIT"
] | null | null | null | // LeetCode
class Solution {
public:
vector<int> productExceptSelf(vector<int>& nums) {
int length = nums.size();
int product = 1;
int multiply = 1;
vector<int> vec(length, 0);
int count = 0, index = 0, zero_index = 0;
for(int i = 0; i < length; i++) {
if... | 24.777778 | 54 | 0.307175 | [
"vector"
] |
486bd366c9bdb07af44345c393f41879e92230a3 | 564 | cc | C++ | lengthOfLongestSubstring.cc | zxylvlp/MyLeetCode | 7b2fe7a5f6515c365b903511d87e6879c0b62734 | [
"MIT"
] | 1 | 2015-11-16T05:06:10.000Z | 2015-11-16T05:06:10.000Z | lengthOfLongestSubstring.cc | zxylvlp/MyLeetCode | 7b2fe7a5f6515c365b903511d87e6879c0b62734 | [
"MIT"
] | null | null | null | lengthOfLongestSubstring.cc | zxylvlp/MyLeetCode | 7b2fe7a5f6515c365b903511d87e6879c0b62734 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
using namespace std;
class Solution {
public:
int lengthOfLongestSubstring(string s) {
int longest = 0;
int m = 0;
vector<int> charIndex(256, -1);
for(int i=0; i<s.length(); i++) {
m = max(charIndex[s[i]] + 1, m);
charIndex[s[i]] = i;
longe... | 22.56 | 53 | 0.60461 | [
"vector"
] |
486e6e88534f663e76ceba7b428bf26ed1d56410 | 1,860 | cpp | C++ | Label.cpp | CmptAdam/ProjectIO | a280d909a170835c49c195537637da68f445a5b2 | [
"Libpng"
] | null | null | null | Label.cpp | CmptAdam/ProjectIO | a280d909a170835c49c195537637da68f445a5b2 | [
"Libpng"
] | null | null | null | Label.cpp | CmptAdam/ProjectIO | a280d909a170835c49c195537637da68f445a5b2 | [
"Libpng"
] | null | null | null | /*
* Copyright 2013 Cepheid
*
* 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... | 28.181818 | 76 | 0.606452 | [
"render"
] |
48733443e0ed56496d0e9cb6f5c59924d26f150e | 2,945 | cpp | C++ | tests/core_tests/ta_crc_reflected_32u.cpp | hhb584520/DML | 014eb9894e85334f03ec74435933c972f3d05b50 | [
"MIT"
] | null | null | null | tests/core_tests/ta_crc_reflected_32u.cpp | hhb584520/DML | 014eb9894e85334f03ec74435933c972f3d05b50 | [
"MIT"
] | null | null | null | tests/core_tests/ta_crc_reflected_32u.cpp | hhb584520/DML | 014eb9894e85334f03ec74435933c972f3d05b50 | [
"MIT"
] | 1 | 2022-03-28T07:52:21.000Z | 2022-03-28T07:52:21.000Z | /*******************************************************************************
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
******************************************************************************/
/**
* @brief Contain Algorithmic tests for @ref dmlc_calculate_crc_reflected_32u
... | 46.015625 | 125 | 0.406452 | [
"vector"
] |
487379cad968406e3378a93709032a04ae6c3cfe | 33,277 | cpp | C++ | src/EU3World/EU3Province.cpp | vztpv/New-EU3toVIC2 | 3719a498b86dcefea934fdf502071736a8256a7a | [
"MIT"
] | 1 | 2020-03-29T17:17:43.000Z | 2020-03-29T17:17:43.000Z | src/EU3World/EU3Province.cpp | vztpv/New-EU3toVIC2 | 3719a498b86dcefea934fdf502071736a8256a7a | [
"MIT"
] | null | null | null | src/EU3World/EU3Province.cpp | vztpv/New-EU3toVIC2 | 3719a498b86dcefea934fdf502071736a8256a7a | [
"MIT"
] | null | null | null | /*Copyright (c) 2014 The Paradox Game Converters Project
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, mer... | 21.721279 | 132 | 0.63879 | [
"object",
"vector"
] |
4879bb010172b5c988b4abd98e69800bbe9c0876 | 5,663 | cpp | C++ | ffpp/tests/unit/test_rtp.cpp | stevelorenz/build-vsf | b2d0aba770190672eb63547cd9b2d4cb8df82943 | [
"MIT"
] | null | null | null | ffpp/tests/unit/test_rtp.cpp | stevelorenz/build-vsf | b2d0aba770190672eb63547cd9b2d4cb8df82943 | [
"MIT"
] | null | null | null | ffpp/tests/unit/test_rtp.cpp | stevelorenz/build-vsf | b2d0aba770190672eb63547cd9b2d4cb8df82943 | [
"MIT"
] | null | null | null | /**
* Copyright (C) 2021 Zuo Xiang
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use,... | 36.301282 | 80 | 0.739008 | [
"vector"
] |
487d81bed8ded354aa07c39e3ff50ffdfb772202 | 1,391 | hpp | C++ | include/Scene.hpp | thejsa/rhythm-run | ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1 | [
"CC-BY-3.0"
] | 1 | 2022-02-01T19:33:21.000Z | 2022-02-01T19:33:21.000Z | include/Scene.hpp | thejsa/rhythm-run | ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1 | [
"CC-BY-3.0"
] | null | null | null | include/Scene.hpp | thejsa/rhythm-run | ab11f97e7552c217bfa4a8392ec96aadf0f9f6b1 | [
"CC-BY-3.0"
] | null | null | null | #pragma once
#include <3ds.h>
#include <citro2d.h>
#include <stdint.h>
#include <memory>
#include <vector>
#include "Drawable.hpp"
#include "RenderWindow.hpp"
class Scene {
public:
// Pure virtual function
/// Called when the scene is initially created (one shot)
virtual void onCreate() = 0;
/// Ca... | 24.839286 | 92 | 0.629044 | [
"vector"
] |
487dde36cb0583ec0b1cbf23463bfe2407053645 | 10,921 | cpp | C++ | installer/iosufsa.cpp | LRFLEW/AM64DS_WiiU | 37d4ada1d06a2b02d0ad82cd9b235018f6a25939 | [
"Apache-2.0"
] | 8 | 2021-11-02T04:07:37.000Z | 2022-01-15T22:49:36.000Z | installer/iosufsa.cpp | LRFLEW/AM64DS_WiiU | 37d4ada1d06a2b02d0ad82cd9b235018f6a25939 | [
"Apache-2.0"
] | null | null | null | installer/iosufsa.cpp | LRFLEW/AM64DS_WiiU | 37d4ada1d06a2b02d0ad82cd9b235018f6a25939 | [
"Apache-2.0"
] | null | null | null | #include "iosufsa.hpp"
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <initializer_list>
#include <coreinit/ios.h>
#include <coreinit/mcp.h>
#include <coreinit/thread.h>
#include <coreinit/time.h>
#include "aligned.hpp"
#include "log.hpp"
namespace {
constexpr std::int32_t IOCTL_CHECK_IF_IO... | 31.655072 | 102 | 0.617434 | [
"vector"
] |
48854e4bb6013f177e58fc8fa86bcfe70b05fc67 | 8,866 | cpp | C++ | HAPI_Start/FrameBuffer.cpp | DamienHenderson/GEC-Engine | 8d1e89c3dc35adaf65e84de2594c715c600e4681 | [
"MIT"
] | null | null | null | HAPI_Start/FrameBuffer.cpp | DamienHenderson/GEC-Engine | 8d1e89c3dc35adaf65e84de2594c715c600e4681 | [
"MIT"
] | null | null | null | HAPI_Start/FrameBuffer.cpp | DamienHenderson/GEC-Engine | 8d1e89c3dc35adaf65e84de2594c715c600e4681 | [
"MIT"
] | null | null | null | #include "FrameBuffer.hpp"
void FrameBuffer::RenderStar(f32 x, f32 y, f32 z, u32 packed, f32 eye_dist)
{
f32 c_x = (f32)width_ / 2.0f;
f32 c_y = (f32)height_ / 2.0f;
s32 s_x = static_cast<s32>(((eye_dist * (x - c_x)) / (eye_dist + z)) + c_x);
s32 s_y = static_cast<s32>(((eye_dist * (y - c_y)) / (eye_dist +... | 25.698551 | 120 | 0.622942 | [
"3d"
] |
4893031c427f425a90b9d9330dcc4fc3e32fd7e7 | 6,400 | hpp | C++ | ietf/ydk/models/ietf/ietf_restconf_monitoring.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | ietf/ydk/models/ietf/ietf_restconf_monitoring.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | ietf/ydk/models/ietf/ietf_restconf_monitoring.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _IETF_RESTCONF_MONITORING_
#define _IETF_RESTCONF_MONITORING_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace ietf {
namespace ietf_restconf_monitoring {
class RestconfState : public ydk::Entity
{
public:
RestconfState();
... | 44.444444 | 162 | 0.693438 | [
"vector"
] |
48a45fd6c3847ab8ce6ee98b36e37a2eb5245798 | 11,035 | cpp | C++ | test_classifier.cpp | jeasung-pf/pytorch-deeplab-xception | 1646e6fed1825b25ce5d9e453d78b5b3d4d08d15 | [
"MIT"
] | null | null | null | test_classifier.cpp | jeasung-pf/pytorch-deeplab-xception | 1646e6fed1825b25ce5d9e453d78b5b3d4d08d15 | [
"MIT"
] | null | null | null | test_classifier.cpp | jeasung-pf/pytorch-deeplab-xception | 1646e6fed1825b25ce5d9e453d78b5b3d4d08d15 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <iostream>
#include <filesystem>
#include <Windows.h>
#include <string>
#include <vector>
#include <io.h>
#include <conio.h>
#include <opencv2/opencv.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/xfeatures2d.hpp>
#include <opencv2/core.hpp>
#include <opencv2/ml/ml.hpp>
#include ... | 35.031746 | 176 | 0.580788 | [
"vector",
"model"
] |
48b2149c8bd0f3931145c793cd935dd942935b0c | 1,644 | cc | C++ | facebook_interview_practice/HackerRank/Choosing_in_a_Graph/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | 1 | 2020-04-11T22:04:23.000Z | 2020-04-11T22:04:23.000Z | facebook_interview_practice/HackerRank/Choosing_in_a_Graph/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | null | null | null | facebook_interview_practice/HackerRank/Choosing_in_a_Graph/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the minTime function below.
inline void swap(vector<vector<int> >& roads, int src, int dst)
{
for (int i = 0; i < roads[src].size(); ++i) {
int j = roads[src][i];
roads[src][i] = roads[dst][i];
... | 25.6875 | 66 | 0.468978 | [
"vector"
] |
48b3b952ad99fb7b3e16f5ccdc1ee55ae223b6a8 | 2,992 | hpp | C++ | PrutEngine/include/prutengine/AssetManager.hpp | valvy/PrutEngine | 1865dba7e441b2ab9415bc45506284c4b28f8779 | [
"MIT"
] | null | null | null | PrutEngine/include/prutengine/AssetManager.hpp | valvy/PrutEngine | 1865dba7e441b2ab9415bc45506284c4b28f8779 | [
"MIT"
] | null | null | null | PrutEngine/include/prutengine/AssetManager.hpp | valvy/PrutEngine | 1865dba7e441b2ab9415bc45506284c4b28f8779 | [
"MIT"
] | null | null | null | #ifndef PRUTENGINE_ASSET_MANAGER_HPP
#define PRUTENGINE_ASSET_MANAGER_HPP
#include <utility>
#include <string>
#include <vector>
#include "./platform/OpenGL.hpp"
#include "./data/Shader.hpp"
#include "./data/GraphicsProgram.hpp"
#include "./data/Mesh.hpp"
#include "./data/Texture.hpp"
#include "./GraphicsController.hp... | 36.048193 | 135 | 0.592914 | [
"mesh",
"vector"
] |
48b9e24502c30f5c72ec40b120df18029b3aa861 | 12,536 | cpp | C++ | src/ofp/sys/engine.cpp | byllyfish/oftr | ac1e4ef09388376ea6fa7b460b6abe2ab3471624 | [
"MIT"
] | 1 | 2019-06-14T13:57:28.000Z | 2019-06-14T13:57:28.000Z | src/ofp/sys/engine.cpp | byllyfish/oftr | ac1e4ef09388376ea6fa7b460b6abe2ab3471624 | [
"MIT"
] | 20 | 2017-02-20T04:49:10.000Z | 2019-07-09T05:32:54.000Z | src/ofp/sys/engine.cpp | byllyfish/oftr | ac1e4ef09388376ea6fa7b460b6abe2ab3471624 | [
"MIT"
] | 1 | 2019-07-16T00:21:42.000Z | 2019-07-16T00:21:42.000Z | // Copyright (c) 2015-2018 William W. Fisher (at gmail dot com)
// This file is distributed under the MIT License.
#include "ofp/sys/engine.h"
#include "ofp/log.h"
#include "ofp/sys/tcp_connection.h"
#include "ofp/sys/tcp_server.h"
using namespace ofp;
using namespace ofp::sys;
Engine::Engine(Driver *driver)
: d... | 27.796009 | 80 | 0.622049 | [
"vector"
] |
48c9cbd9a90f05bb5de3eec2a34ce7a1ecb0b649 | 754 | cc | C++ | problems/0XXX/01XX/016X/0167_two_sum_ii.cc | mohankarthik/leetcode | 9a15200460425962b26867ed14416576f54e8ce5 | [
"MIT"
] | null | null | null | problems/0XXX/01XX/016X/0167_two_sum_ii.cc | mohankarthik/leetcode | 9a15200460425962b26867ed14416576f54e8ce5 | [
"MIT"
] | null | null | null | problems/0XXX/01XX/016X/0167_two_sum_ii.cc | mohankarthik/leetcode | 9a15200460425962b26867ed14416576f54e8ce5 | [
"MIT"
] | null | null | null | #include "../../../../common/Includes.h"
class Solution {
public:
vector<int> twoSum(vector<int>& numbers, int target) {
/* Initialize the result */
vector<int> result(2,-1);
/* Preconditions */
if (numbers.size() == 0) return result;
/* Initialize the 2 po... | 24.322581 | 58 | 0.391247 | [
"vector"
] |
48ca4fd9215003c904a69a1e11ce63bbd500d8e6 | 2,944 | cpp | C++ | tests/cardinal_spline_test.cpp | asilvaigor/opengl_winter | 0081c6ee39d493eb4f9e0ac92222937062866776 | [
"MIT"
] | 1 | 2020-04-24T22:55:51.000Z | 2020-04-24T22:55:51.000Z | tests/cardinal_spline_test.cpp | asilvaigor/opengl_winter | 0081c6ee39d493eb4f9e0ac92222937062866776 | [
"MIT"
] | null | null | null | tests/cardinal_spline_test.cpp | asilvaigor/opengl_winter | 0081c6ee39d493eb4f9e0ac92222937062866776 | [
"MIT"
] | null | null | null | //
// Created by Aloysio Galvão Lopes on 2020-06-01.
//
#include <vcl/math/spline/CardinalSpline.h>
#include <vcl/math/spline/CyclicCardinalSpline.h>
#include "scene/Scene.h"
#include "shaders/Shaders.h"
#include "objects/marker/CoordinateMarker.h"
#include "objects/debug/DebugObject.h"
#include "objects/debug/Traject... | 34.635294 | 118 | 0.65591 | [
"object",
"vector"
] |
48cb5b5da61820392cde79e642e224d82559ed71 | 4,681 | cpp | C++ | MVRCore/source/InputDeviceVRPNButton.cpp | MinVR/MinVR-Old | fdef6ca7e34d0c3a85313504183aaf45aedb6cc3 | [
"BSD-3-Clause"
] | null | null | null | MVRCore/source/InputDeviceVRPNButton.cpp | MinVR/MinVR-Old | fdef6ca7e34d0c3a85313504183aaf45aedb6cc3 | [
"BSD-3-Clause"
] | null | null | null | MVRCore/source/InputDeviceVRPNButton.cpp | MinVR/MinVR-Old | fdef6ca7e34d0c3a85313504183aaf45aedb6cc3 | [
"BSD-3-Clause"
] | null | null | null | //========================================================================
// MinVR
// Platform: Any
// API version: 1.0
//------------------------------------------------------------------------
// Copyright (c) 2013 Regents of the University of Minnesota and Brown University
// All rights reserved.
//
// Redistrib... | 34.419118 | 135 | 0.717154 | [
"vector"
] |
48d2de62d1e4b6ec858a308656d7764ea61a2c23 | 4,127 | cc | C++ | tensorstore/internal/oauth2/oauth2_auth_provider_test.cc | stuarteberg/tensorstore | 2c22a3c9f798b0fbf023031633c58cc7c644235d | [
"Apache-2.0"
] | null | null | null | tensorstore/internal/oauth2/oauth2_auth_provider_test.cc | stuarteberg/tensorstore | 2c22a3c9f798b0fbf023031633c58cc7c644235d | [
"Apache-2.0"
] | null | null | null | tensorstore/internal/oauth2/oauth2_auth_provider_test.cc | stuarteberg/tensorstore | 2c22a3c9f798b0fbf023031633c58cc7c644235d | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The TensorStore Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | 29.478571 | 79 | 0.668524 | [
"vector"
] |
48d4bc7b68a721655cd5da246ef30be61ef85814 | 2,736 | hpp | C++ | topography_generator/utils/contours.hpp | kudlav/organicmaps | 390236365749e0525b9229684132c2888d11369d | [
"Apache-2.0"
] | 4,879 | 2015-09-30T10:56:36.000Z | 2022-03-31T18:43:03.000Z | topography_generator/utils/contours.hpp | mbrukman/omim | d22fe2b6e0beee697f096e931df97a64f9db9dc1 | [
"Apache-2.0"
] | 7,549 | 2015-09-30T10:52:53.000Z | 2022-03-31T22:04:22.000Z | topography_generator/utils/contours.hpp | mbrukman/omim | d22fe2b6e0beee697f096e931df97a64f9db9dc1 | [
"Apache-2.0"
] | 1,493 | 2015-09-30T10:43:06.000Z | 2022-03-21T09:16:49.000Z | #pragma once
#include "generator/feature_helpers.hpp"
#include "geometry/point2d.hpp"
#include "geometry/region2d.hpp"
#include <vector>
#include <unordered_map>
namespace topography_generator
{
using Contour = std::vector<m2::PointD>;
template <typename ValueType>
struct Contours
{
enum class Version : uint8_t
... | 27.636364 | 90 | 0.64364 | [
"geometry",
"vector"
] |
48d545b59dbe4af443f06e5ccf9010220ceec790 | 29,110 | hpp | C++ | Include/cpp/Image.hpp | sagniknitr/warpFlow | 9a6ae242ddc5a19bbaf4979407deabec1292d4e9 | [
"BSD-3-Clause"
] | 2 | 2021-05-21T03:30:02.000Z | 2021-05-21T05:09:56.000Z | Include/cpp/Image.hpp | sagniknitr/warpFlow | 9a6ae242ddc5a19bbaf4979407deabec1292d4e9 | [
"BSD-3-Clause"
] | null | null | null | Include/cpp/Image.hpp | sagniknitr/warpFlow | 9a6ae242ddc5a19bbaf4979407deabec1292d4e9 | [
"BSD-3-Clause"
] | null | null | null | #ifndef IMAGE_H
#define IMAGE_H
#include "stdio.h"
#include "memory.h"
#include "ImageFiltering.hpp"
#include <iostream>
#include <fstream>
#include <typeinfo>
#include "Vector.hpp"
#include "minmax.h"
using namespace std;
enum collapse_type{collapse_average,collapse_max,collapse_min};
enum color_type{RGB,BGR,DAT... | 33.306636 | 182 | 0.540227 | [
"object",
"vector"
] |
48dac91d97c32db4d6e1aaf9c0c403f70b5a5e60 | 22,110 | cpp | C++ | gelmaker/Dib.cpp | marcelkauf/Meridian59-101 | a83e2779e39bc529dc61dc02db091db7db29734c | [
"FSFAP"
] | 214 | 2015-01-02T23:36:42.000Z | 2022-03-30T01:41:41.000Z | gelmaker/Dib.cpp | siwithaneye/Meridian59 | 9dc8df728d41ba354c9b11574484da5b3e013a87 | [
"FSFAP"
] | 120 | 2015-01-01T13:02:04.000Z | 2015-08-14T20:06:27.000Z | gelmaker/Dib.cpp | siwithaneye/Meridian59 | 9dc8df728d41ba354c9b11574484da5b3e013a87 | [
"FSFAP"
] | 85 | 2015-01-08T16:09:04.000Z | 2022-02-22T05:24:56.000Z | // Meridian 59, Copyright 1994-2012 Andrew Kirmse and Chris Kirmse.
// All rights reserved.
//
// This software is distributed under a license that is described in
// the LICENSE file that accompanies it.
//
// Meridian is a registered trademark.
// Dib.cpp : implementation file
//
//////////
//
// Copyright (C) Ed Hal... | 25.769231 | 160 | 0.628856 | [
"object"
] |
48dc931b3dbdf6baa6903f23df7555f1aaf7c80a | 5,025 | hh | C++ | dyn/include/dyn/base-emu.hh | balayette/saphIR-project | 18da494ac21e5433fdf1c646be02c9bf25177d7d | [
"MIT"
] | 14 | 2020-07-31T09:35:23.000Z | 2021-11-15T11:18:35.000Z | dyn/include/dyn/base-emu.hh | balayette/saphIR-project | 18da494ac21e5433fdf1c646be02c9bf25177d7d | [
"MIT"
] | null | null | null | dyn/include/dyn/base-emu.hh | balayette/saphIR-project | 18da494ac21e5433fdf1c646be02c9bf25177d7d | [
"MIT"
] | null | null | null | #pragma once
#include <fstream>
#include "utils/fs.hh"
#include "elf/elf.hh"
#include "lifter/lifter.hh"
#include "mach/aarch64/aarch64-common.hh"
#define DEFAULT_STACK_ADDR 0x7331BEEF0000ull
#define DEFAULT_STACK_SIZE (0x4000)
#define DEFAULT_BRK_ADDR 0x1337DEAD0000ull
#define DEFAULT_BRK_SIZE (0x1000 * 100)
#defin... | 24.876238 | 72 | 0.726567 | [
"vector"
] |
48eb87714e89196a8c5f4353fe0344df19b58ced | 1,518 | hpp | C++ | include/boost/simd/function/combine.hpp | nickporubsky/boost-simd-clone | b81dfcd9d6524a131ea714f1eebb5bb75adddcc7 | [
"BSL-1.0"
] | 5 | 2018-02-20T11:21:12.000Z | 2019-11-12T13:45:09.000Z | include/boost/simd/function/combine.hpp | timblechmann/boost.simd | 2217f1d0102193799469b533e3a7118bf4a77dde | [
"BSL-1.0"
] | null | null | null | include/boost/simd/function/combine.hpp | timblechmann/boost.simd | 2217f1d0102193799469b533e3a7118bf4a77dde | [
"BSL-1.0"
] | 2 | 2017-12-12T12:29:52.000Z | 2019-04-08T15:55:25.000Z | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
**/
//===========================... | 28.111111 | 100 | 0.575758 | [
"object"
] |
f7019e16ae08ab88b08ac24004c19c6612bb651b | 8,898 | hpp | C++ | includes/scenes/SceneGame.hpp | tnicolas42/bomberman | 493d7243fabb1e5b6d5adfdcb5eb5973869b83a2 | [
"MIT"
] | 6 | 2020-03-13T16:45:13.000Z | 2022-03-30T18:20:48.000Z | includes/scenes/SceneGame.hpp | tnicolas42/bomberman | 493d7243fabb1e5b6d5adfdcb5eb5973869b83a2 | [
"MIT"
] | 191 | 2020-03-02T14:47:19.000Z | 2020-06-03T08:13:00.000Z | includes/scenes/SceneGame.hpp | tnicolas42/bomberman | 493d7243fabb1e5b6d5adfdcb5eb5973869b83a2 | [
"MIT"
] | null | null | null | #ifndef SCENEGAME_HPP_
#define SCENEGAME_HPP_
#include <iostream>
#include <stdexcept>
#include <vector>
#include <map>
#include "useGlm.hpp"
#include "ASceneMenu.hpp"
#include "AEntity.hpp"
#include "ACharacter.hpp"
#include "Bomb.hpp"
#include "Score.hpp"
#include "Spawner.hpp"
#include "ABaseUI.hpp"
#include "Tex... | 34.488372 | 118 | 0.67813 | [
"object",
"vector",
"model",
"3d"
] |
f7084953361e7cddd56d9a3bc2a801b6652d83fa | 2,979 | hpp | C++ | include/Core/Castor3D/Model/Mesh/Submesh/Component/BonesInstantiationComponent.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | null | null | null | include/Core/Castor3D/Model/Mesh/Submesh/Component/BonesInstantiationComponent.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | null | null | null | include/Core/Castor3D/Model/Mesh/Submesh/Component/BonesInstantiationComponent.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | null | null | null | /*
See LICENSE file in root folder
*/
#ifndef ___C3D_BonesInstantiationComponent_H___
#define ___C3D_BonesInstantiationComponent_H___
#include "Castor3D/Model/Mesh/Submesh/Component/BonesComponent.hpp"
#include "Castor3D/Model/Mesh/Submesh/Component/InstantiationComponent.hpp"
#include "Castor3D/Shader/ShaderBuffer.h... | 25.904348 | 76 | 0.716348 | [
"mesh",
"vector",
"model"
] |
f708a0c29acd5a27a632b56c6634440d0051a95d | 8,346 | cpp | C++ | src/simplify/Simplify.cpp | wrvsrx/mesh_simplify | 9f0ca979e4c25d9a140ea37b61fccd49fc3e944d | [
"MIT"
] | 1 | 2021-10-09T06:21:53.000Z | 2021-10-09T06:21:53.000Z | src/simplify/Simplify.cpp | wrvsrx/mesh_simplify | 9f0ca979e4c25d9a140ea37b61fccd49fc3e944d | [
"MIT"
] | null | null | null | src/simplify/Simplify.cpp | wrvsrx/mesh_simplify | 9f0ca979e4c25d9a140ea37b61fccd49fc3e944d | [
"MIT"
] | null | null | null | #include "Simplify.h"
#include "Core.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <iostream>
#include <stack>
struct Q_result {
Vec<double, 3> position_;
double cost_;
};
Q_result Q_calculate(std::vector<Vertex> &vs, std::size_t index1,
std::size_t index2);
bool isreve... | 30.911111 | 80 | 0.580038 | [
"vector"
] |
f70c031b60d828a741b46cb784f1d7ceebac897c | 32,326 | cc | C++ | lib/seismic/libseispp/GenericFileHandle.cc | jreyes1108/antelope_contrib | be2354605d8463d6067029eb16464a0bf432a41b | [
"BSD-2-Clause",
"MIT"
] | null | null | null | lib/seismic/libseispp/GenericFileHandle.cc | jreyes1108/antelope_contrib | be2354605d8463d6067029eb16464a0bf432a41b | [
"BSD-2-Clause",
"MIT"
] | null | null | null | lib/seismic/libseispp/GenericFileHandle.cc | jreyes1108/antelope_contrib | be2354605d8463d6067029eb16464a0bf432a41b | [
"BSD-2-Clause",
"MIT"
] | null | null | null | #include <float.h>
#include <sys/stat.h>
#include "perf.h"
#include "SeisppError.h"
#include "TimeSeries.h"
#include "ensemble.h"
#include "GenericFileHandle.h"
using namespace std;
using namespace SEISPP;
namespace SEISPP
{
/* This is a small (private) helper function common to both of
the following constru... | 36.567873 | 121 | 0.588783 | [
"object",
"vector",
"model"
] |
f722e8d43f53706f67052db2840738aabb323154 | 845 | cc | C++ | src/core/pokemon/pokemons/duraludon.cc | Linyxus/YaPokemon | a8533dff4d59ba0c15f765167ebb733396876a18 | [
"MIT"
] | null | null | null | src/core/pokemon/pokemons/duraludon.cc | Linyxus/YaPokemon | a8533dff4d59ba0c15f765167ebb733396876a18 | [
"MIT"
] | null | null | null | src/core/pokemon/pokemons/duraludon.cc | Linyxus/YaPokemon | a8533dff4d59ba0c15f765167ebb733396876a18 | [
"MIT"
] | null | null | null | //
// Created by Yichen Xu on 2020/9/6.
//
#include "include/core/pokemon/pokemons/duraludon.h"
#include <move/moves/IceBeam.h>
#include <move/moves/IronDefense.h>
#include <move/moves/DragonDance.h>
#include <move/moves/DragonDart.h>
std::string Duraludon::name() const {
return "铝钢龙";
}
Hexagon<llint> Duraludon... | 19.204545 | 56 | 0.571598 | [
"vector"
] |
f72484fc395edff1bbad3345b56bc33813db6112 | 13,097 | hpp | C++ | MissionHandler.hpp | PabloMK7/MarioKart7MissionMode | 72de37d5c73c611aaee32c04961afb0d5a2396a5 | [
"MIT"
] | 4 | 2021-12-10T16:13:24.000Z | 2021-12-11T18:48:28.000Z | MissionHandler.hpp | PabloMK7/MarioKart7MissionMode | 72de37d5c73c611aaee32c04961afb0d5a2396a5 | [
"MIT"
] | null | null | null | MissionHandler.hpp | PabloMK7/MarioKart7MissionMode | 72de37d5c73c611aaee32c04961afb0d5a2396a5 | [
"MIT"
] | null | null | null | #pragma once
#include "CTRPluginFramework.hpp"
#include "MarioKartFramework.hpp"
#include "MarioKartTimer.hpp"
#include "ExtraResource.hpp"
#include "Minibson.hpp"
#include "savesettings.hpp"
#include "MusicSlotMngr.hpp"
#define MISSIONCUPID 64
namespace CTRPluginFramework {
class MissionHandler
{
public:
class M... | 30.177419 | 165 | 0.70665 | [
"object",
"vector"
] |
f725dc915842598ff9bccb15542270089581cf34 | 28,079 | cpp | C++ | drlvm/vm/jitrino/src/jet/cg_regs.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 8 | 2015-11-04T06:06:35.000Z | 2021-07-04T13:47:36.000Z | drlvm/vm/jitrino/src/jet/cg_regs.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 1 | 2021-10-17T13:07:28.000Z | 2021-10-17T13:07:28.000Z | drlvm/vm/jitrino/src/jet/cg_regs.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 13 | 2015-11-27T03:14:50.000Z | 2022-02-26T15:12:20.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | 30.65393 | 144 | 0.521137 | [
"object"
] |
f72a3132904fe786d0be23c032a6cfcd944ed43c | 6,258 | cpp | C++ | TimerScheduler.cpp | bhorowitz0/TimerScheduler | 6022f16e6a4562cd98972feccb797392fec29c06 | [
"MIT"
] | 2 | 2021-05-09T03:24:42.000Z | 2021-12-24T14:11:21.000Z | TimerScheduler.cpp | xiao6768/TimerScheduler | 6022f16e6a4562cd98972feccb797392fec29c06 | [
"MIT"
] | null | null | null | TimerScheduler.cpp | xiao6768/TimerScheduler | 6022f16e6a4562cd98972feccb797392fec29c06 | [
"MIT"
] | 2 | 2019-02-20T15:23:39.000Z | 2021-05-09T03:24:43.000Z | /**
* MIT License
*
* Copyright (c) 2019 Ben Horowitz
*
* 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, ... | 29.942584 | 128 | 0.620326 | [
"vector"
] |
f7312e9a2c54b57412ed36a1c7235e2ac4a62ebf | 20,194 | cpp | C++ | main.cpp | mihajlo2003petkovic/MeteorDemod | d7cbd842d1b31b0985ebb0581689afc7435d0684 | [
"MIT"
] | null | null | null | main.cpp | mihajlo2003petkovic/MeteorDemod | d7cbd842d1b31b0985ebb0581689afc7435d0684 | [
"MIT"
] | null | null | null | main.cpp | mihajlo2003petkovic/MeteorDemod | d7cbd842d1b31b0985ebb0581689afc7435d0684 | [
"MIT"
] | null | null | null | #include "DSP/meteordemodulator.h"
#include "DSP/wavreader.h"
#include "correlation.h"
#include "packetparser.h"
#include "reedsolomon.h"
#include "viterbi.h"
#include "deinterleaver.h"
#include "pixelgeolocationcalculator.h"
#include <iostream>
#include <fstream>
#include <ctime>
#include <opencv2/imgcodecs.hpp>
#inc... | 41.296524 | 294 | 0.618203 | [
"vector"
] |
f7319623dadb2a88a6ca8fc3da70b24b31702262 | 9,305 | cc | C++ | src/operators/test/operator_diffusion_dg.cc | fmyuan/amanzi | edb7b815ae6c22956c8519acb9d87b92a9915ed4 | [
"RSA-MD"
] | 37 | 2017-04-26T16:27:07.000Z | 2022-03-01T07:38:57.000Z | src/operators/test/operator_diffusion_dg.cc | fmyuan/amanzi | edb7b815ae6c22956c8519acb9d87b92a9915ed4 | [
"RSA-MD"
] | 494 | 2016-09-14T02:31:13.000Z | 2022-03-13T18:57:05.000Z | src/operators/test/operator_diffusion_dg.cc | fmyuan/amanzi | edb7b815ae6c22956c8519acb9d87b92a9915ed4 | [
"RSA-MD"
] | 43 | 2016-09-26T17:58:40.000Z | 2022-03-25T02:29:59.000Z | /*
Operators
Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL.
Amanzi is released under the three-clause BSD License.
The terms of use and "as is" disclaimer for this license are
provided in the top-level COPYRIGHT file.
Author: Konstantin Lipnikov (lipnikov@lanl.gov)
*/
#include <cstdlib... | 33.113879 | 122 | 0.648791 | [
"mesh",
"vector",
"3d"
] |
f73c037460b2e26b22ef8b579ed7216d6ab5080e | 3,170 | cpp | C++ | Engine/src/Components/UI/BoxLayout.cpp | SpectralCascade/ossium | f9d00de8313c0f91942eb311c20de8d74aa41735 | [
"MIT"
] | 1 | 2019-01-02T15:35:05.000Z | 2019-01-02T15:35:05.000Z | Engine/src/Components/UI/BoxLayout.cpp | SpectralCascade/ossium | f9d00de8313c0f91942eb311c20de8d74aa41735 | [
"MIT"
] | 2 | 2018-11-11T21:29:05.000Z | 2019-01-02T15:34:10.000Z | Engine/src/Components/UI/BoxLayout.cpp | SpectralCascade/ossium | f9d00de8313c0f91942eb311c20de8d74aa41735 | [
"MIT"
] | null | null | null | #include "BoxLayout.h"
namespace Ossium
{
REGISTER_COMPONENT(BoxLayout);
void BoxLayout::OnLoadFinish()
{
LayoutComponent::OnLoadFinish();
}
void BoxLayout::LayoutRefresh()
{
Transform* t = GetTransform();
// BoxLayout overrides the transform, position is based on th... | 34.086022 | 112 | 0.625552 | [
"render",
"transform"
] |
f74461a6eaef9d328c1cf41f56bcc11ea14af18c | 2,213 | cpp | C++ | graph_algorithms/building_teams.cpp | zerefwayne/cses-solutions | a9d4d98b0bbeeea67bf7c90ae30b6678d308c00a | [
"MIT"
] | 6 | 2020-12-21T08:13:28.000Z | 2021-12-04T16:38:57.000Z | graph_algorithms/building_teams.cpp | zerefwayne/cses-solutions | a9d4d98b0bbeeea67bf7c90ae30b6678d308c00a | [
"MIT"
] | null | null | null | graph_algorithms/building_teams.cpp | zerefwayne/cses-solutions | a9d4d98b0bbeeea67bf7c90ae30b6678d308c00a | [
"MIT"
] | 1 | 2020-12-20T14:27:14.000Z | 2020-12-20T14:27:14.000Z | #include <bits/stdc++.h>
using namespace std;
typedef long int li;
typedef long long int lli;
typedef vector<long long int> vlli;
typedef vector<int> vi;
typedef stack<long long int> slli;
class Graph
{
vector<vector<lli>> adj;
lli nodes;
public:
Graph(lli nodes)
{
this->adj.resize(nodes, v... | 18.289256 | 64 | 0.411207 | [
"vector"
] |
f746c83e735b99ee9d9115e9686f5e82ecc68935 | 3,489 | cpp | C++ | micro-machines-solution/Orange.cpp | Gisson/micro-machines | 2baa417b94aa39e339709aef17c583fd97d1490c | [
"MIT"
] | null | null | null | micro-machines-solution/Orange.cpp | Gisson/micro-machines | 2baa417b94aa39e339709aef17c583fd97d1490c | [
"MIT"
] | null | null | null | micro-machines-solution/Orange.cpp | Gisson/micro-machines | 2baa417b94aa39e339709aef17c583fd97d1490c | [
"MIT"
] | null | null | null | #include <iostream>
#include "Orange.h"
#include "Car.h"
Orange::Orange():Obstacle()
{
double _xPosition, _yPosition , _ZPosition;
_spawn_time = SPAWN_TIME;
_xPosition = (((double)rand() / (RAND_MAX)) * 5.8) - 2.8;
_yPosition = (((double)rand() / (RAND_MAX)) * 5.8) - 2.8;
_ZPosition = FALL_HEIGHT;
turn(((double)r... | 28.598361 | 208 | 0.650043 | [
"object"
] |
f74d16f58646fb1b3c54bd5d7daa52d5f2815ecb | 330 | cpp | C++ | Baekjoon/1568.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/1568.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/1568.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
int main(void)
{
int sum = 0, n, i, size;
vector<int> arr;
cin >> n;
while (n > 0)
{
for (i = 1; (i*(i + 1) / 2) <= n; i++);
i--;
arr.push_back(i);
n -= (i*(i + 1) / 2);
}
size = arr.size();
for (int i = 0; i < size; i++)
sum += arr[i];
cout ... | 15.714286 | 41 | 0.487879 | [
"vector"
] |
f74d74d9111fd88b8c6552ae6ee98fd590965dac | 1,605 | hpp | C++ | src/SoureCode/Core/Game.hpp | chapterjason/SpaceAdventures | cf2e59202629c4b0ddfc0124ce95712a669e0461 | [
"MIT"
] | null | null | null | src/SoureCode/Core/Game.hpp | chapterjason/SpaceAdventures | cf2e59202629c4b0ddfc0124ce95712a669e0461 | [
"MIT"
] | null | null | null | src/SoureCode/Core/Game.hpp | chapterjason/SpaceAdventures | cf2e59202629c4b0ddfc0124ce95712a669e0461 | [
"MIT"
] | null | null | null | /*
* This file is part of the SpaceAdventures package.
*
* (c) Jason Schilling <jason.schilling@sourecode.de>
*
* For the full copyright and license information, please view the LICENSE
* File that was distributed with this source code.
*/
#pragma once
#include <SFML/Graphics.hpp>
#include <vector>
#include <B... | 21.986301 | 81 | 0.583178 | [
"vector"
] |
f74e091ddb3864cf0b5d1c97905dfe598422b257 | 1,700 | cpp | C++ | tag_hierarchy/unittests/test_filter_options.cpp | equinor/ioc-hierarchy-service | e60ad3eaae3c4b71ec5d8d6d64913c8463b749e9 | [
"MIT"
] | 3 | 2021-12-22T07:36:26.000Z | 2022-03-29T07:24:28.000Z | tag_hierarchy/unittests/test_filter_options.cpp | equinor/ioc-hierarchy-service | e60ad3eaae3c4b71ec5d8d6d64913c8463b749e9 | [
"MIT"
] | 10 | 2020-08-03T13:00:30.000Z | 2021-12-27T10:08:54.000Z | tag_hierarchy/unittests/test_filter_options.cpp | equinor/ioc-hierarchy-service | e60ad3eaae3c4b71ec5d8d6d64913c8463b749e9 | [
"MIT"
] | null | null | null | #include <boost/test/unit_test.hpp>
#include "models/models.h"
#include "tag_hierarchy/tag_hierarchy.h"
#include "tag_hierarchy/unittests/fixture.h"
BOOST_FIXTURE_TEST_SUITE( FilterOptionsTest, Fixture );
BOOST_AUTO_TEST_CASE( test_modelowner_filter )
{
auto query = std::vector<NodeType>(
{{{std::string... | 41.463415 | 97 | 0.629412 | [
"vector"
] |
f757c4a0886ce3d93384a1754f727b3a0886b8fb | 3,376 | hpp | C++ | src/lib/rendering/instance/Instance.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | 1 | 2021-08-15T19:20:14.000Z | 2021-08-15T19:20:14.000Z | src/lib/rendering/instance/Instance.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | 17 | 2021-06-05T12:37:04.000Z | 2021-10-01T10:20:09.000Z | src/lib/rendering/instance/Instance.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | null | null | null | /* INSTANCE.hpp
* by Lut99
*
* Created:
* 30/04/2021, 14:03:39
* Last edited:
* 10/09/2021, 10:55:53
* Auto updated?
* Yes
*
* Description:
* Contains the Instance class, which wraps the Vulkan instance and
* manages the debugger.
**/
#ifndef COMPUTE_INSTANCE_HPP
#define COMPUTE_INSTANCE_HPP
#... | 37.511111 | 140 | 0.663507 | [
"object"
] |
f7588b95aa4cb4653302e81f5e66d345ff9e376d | 736 | hpp | C++ | cisco-ios-xe/ydk/models/cisco_ios_xe/common_mpls_types.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/common_mpls_types.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/common_mpls_types.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _COMMON_MPLS_TYPES_
#define _COMMON_MPLS_TYPES_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace cisco_ios_xe {
namespace common_mpls_types {
class IetfMplsLabel : public ydk::Enum
{
public:
static const ydk::Enum::YLeaf v4_explici... | 21.647059 | 61 | 0.64538 | [
"vector"
] |
f7594f4ca3b0a207de6d1506b0af0643826a5876 | 2,321 | cpp | C++ | icpc/2019-7-22/G.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | 3 | 2018-08-30T09:43:20.000Z | 2019-12-03T04:53:43.000Z | icpc/2019-7-22/G.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | icpc/2019-7-22/G.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
using namespace std;
#define NMAX 500
#define MMAX 1000000
#define MOD 998244353
typedef long long i64;
static int n, m;
static int c[MMAX + 10];
static int L[NMAX + 10], R[NMAX + 10];
static bool taken[NMAX + 10];
static vector<int> ch[NM... | 27.963855 | 89 | 0.408014 | [
"vector"
] |
f7619f49f029d8eaf3322fd565d07eace1d8f1f0 | 10,320 | cpp | C++ | Gems/ScriptAutomation/Code/Source/ScriptAutomationSystemComponent.cpp | LB-KatarzynaDylska/o3de | d8d273697ea8e1beeb698f62b84904a192b0ab76 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/ScriptAutomation/Code/Source/ScriptAutomationSystemComponent.cpp | LB-KatarzynaDylska/o3de | d8d273697ea8e1beeb698f62b84904a192b0ab76 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/ScriptAutomation/Code/Source/ScriptAutomationSystemComponent.cpp | LB-KatarzynaDylska/o3de | d8d273697ea8e1beeb698f62b84904a192b0ab76 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <ScriptAutomationSystemComponent.h>
#include <ScriptAutomationScriptBindings.h>
#includ... | 36.338028 | 175 | 0.62219 | [
"3d"
] |
f7638575ac008ffd1a9cabbf868dfcf166571538 | 50,878 | cpp | C++ | src/kernel/lib/setup.cpp | hpcgarage/yask | 3dbd67d92edeb282f0ba35d8d592ec314af84c2a | [
"MIT"
] | 67 | 2017-11-30T14:36:13.000Z | 2022-02-25T07:45:52.000Z | src/kernel/lib/setup.cpp | hpcgarage/yask | 3dbd67d92edeb282f0ba35d8d592ec314af84c2a | [
"MIT"
] | 87 | 2017-11-28T20:24:45.000Z | 2021-10-20T19:47:43.000Z | src/kernel/lib/setup.cpp | hpcgarage/yask | 3dbd67d92edeb282f0ba35d8d592ec314af84c2a | [
"MIT"
] | 27 | 2017-11-17T20:30:06.000Z | 2021-09-25T19:29:53.000Z | /*****************************************************************************
YASK: Yet Another Stencil Kit
Copyright (c) 2014-2021, Intel Corporation
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 Soft... | 43.634648 | 106 | 0.470675 | [
"object",
"vector",
"solid"
] |
f7649f8a58315547f4d566d915732fe12199b83f | 3,503 | hh | C++ | libsrc/spatialdata/spatialdb/GocadVoxet.hh | rwalkerlewis/spatialdata | 515c8d9dec21d261d0d654b5c30e6759565268d2 | [
"MIT"
] | 6 | 2017-09-19T11:05:33.000Z | 2019-09-26T08:18:30.000Z | libsrc/spatialdata/spatialdb/GocadVoxet.hh | rwalkerlewis/spatialdata | 515c8d9dec21d261d0d654b5c30e6759565268d2 | [
"MIT"
] | 38 | 2017-06-28T15:44:50.000Z | 2022-02-17T04:04:02.000Z | libsrc/spatialdata/spatialdb/GocadVoxet.hh | rwalkerlewis/spatialdata | 515c8d9dec21d261d0d654b5c30e6759565268d2 | [
"MIT"
] | 11 | 2015-11-09T06:29:35.000Z | 2021-06-02T14:13:59.000Z | // -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://geodynamics.org).
//
// Copyright (c) 2010-2017 University of California, Davis
/... | 24.158621 | 73 | 0.581502 | [
"geometry",
"object"
] |
f779088b4127d0144c92ed96147990956018dc16 | 398 | hpp | C++ | oshgui/Drawing/Vertex.hpp | zhuhuibeishadiao/osh_sdk | 087df8876443c36254b6de127b732e74ddf77167 | [
"MIT"
] | 6 | 2018-10-31T12:53:37.000Z | 2019-01-12T23:12:43.000Z | OSHGui/Drawing/Vertex.hpp | EternityX/oshgui-deadcell | 7c565ba7e941ec00cf9f4a2d7639eb8a363a3e9e | [
"MIT"
] | 4 | 2018-10-31T16:39:43.000Z | 2019-01-14T07:30:24.000Z | OSHGui/Drawing/Vertex.hpp | EternityX/oshgui-deadcell | 7c565ba7e941ec00cf9f4a2d7639eb8a363a3e9e | [
"MIT"
] | 2 | 2021-01-20T21:17:35.000Z | 2022-03-12T08:18:43.000Z | /*
* OldSchoolHack GUI
*
* by KN4CK3R https://www.oldschoolhack.me/
*
* See license in OSHGui.hpp
*/
#ifndef OSHGUI_DRAWING_VERTEX_HPP
#define OSHGUI_DRAWING_VERTEX_HPP
#include "Vector.hpp"
#include "Color.hpp"
namespace OSHGui
{
namespace Drawing
{
class OSHGUI_EXPORT Vertex
{
public:
Vector Posit... | 13.266667 | 43 | 0.711055 | [
"vector"
] |
f77937279572f734868438cb3dac322405dcaace | 11,025 | hpp | C++ | src/advent_of_code.hpp | BruJu/AdventOfCode | a9161649882429bc1f995424544ce4cdafb69caa | [
"WTFPL",
"MIT"
] | 1 | 2020-12-11T13:37:06.000Z | 2020-12-11T13:37:06.000Z | src/advent_of_code.hpp | BruJu/AdventOfCode2020 | a9161649882429bc1f995424544ce4cdafb69caa | [
"WTFPL",
"MIT"
] | null | null | null | src/advent_of_code.hpp | BruJu/AdventOfCode2020 | a9161649882429bc1f995424544ce4cdafb69caa | [
"WTFPL",
"MIT"
] | null | null | null | #pragma once
#include <array>
#include <variant>
#include <vector>
#include <string>
#include <string_view>
#include <optional>
#include <iostream>
#include <chrono>
#include <fstream>
#include <sstream>
#include "colors.h"
namespace test {
//using Value = long long int;
struct Expected {
enum cla... | 30.371901 | 135 | 0.555102 | [
"vector"
] |
f77bfad258514864f89d6985c93383d5e8be7a78 | 2,170 | cpp | C++ | Alignment/Alignment.cpp | jbcoe/CppSandbox | 574dc31bbd3640a8cf1b7642c4a449bee687cce5 | [
"MIT"
] | 7 | 2015-01-18T13:30:09.000Z | 2021-08-21T19:50:26.000Z | Alignment/Alignment.cpp | jbcoe/CppSandbox | 574dc31bbd3640a8cf1b7642c4a449bee687cce5 | [
"MIT"
] | 1 | 2016-03-13T21:26:37.000Z | 2016-03-13T21:26:37.000Z | Alignment/Alignment.cpp | jbcoe/CppSandbox | 574dc31bbd3640a8cf1b7642c4a449bee687cce5 | [
"MIT"
] | 1 | 2016-02-16T04:56:25.000Z | 2016-02-16T04:56:25.000Z | // http://blogs.msdn.com/b/oldnewthing/archive/2015/01/16/10586692.aspx
#include <array>
#include <algorithm>
#include <iostream>
#include <random>
#include <Common/Timer.h>
class Buffer
{
public:
void StoreInt(int64_t t)
{
*reinterpret_cast<int64_t*>(data_) = t;
}
private:
char data_[sizeof(int64_t)];
};... | 17.642276 | 77 | 0.574654 | [
"vector"
] |
f77c5b870ac2062819ac82133f792f4894a8db3c | 19,066 | cpp | C++ | sample/code/shm_common_SharedDataDerivedSampleClient.cpp | Khoronus/cmn-CommonObjects | cf80aed879e5d37a96a34d8d5c51ecb6ce35c631 | [
"MIT"
] | null | null | null | sample/code/shm_common_SharedDataDerivedSampleClient.cpp | Khoronus/cmn-CommonObjects | cf80aed879e5d37a96a34d8d5c51ecb6ce35c631 | [
"MIT"
] | null | null | null | sample/code/shm_common_SharedDataDerivedSampleClient.cpp | Khoronus/cmn-CommonObjects | cf80aed879e5d37a96a34d8d5c51ecb6ce35c631 | [
"MIT"
] | null | null | null | /**
* @file shm_common_SharedDataDerivedSampleClient.cpp
* @brief Example of point cloud client
*
* @section LICENSE
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT... | 28.372024 | 98 | 0.657768 | [
"object",
"vector"
] |
f7846a00ebb0118a5d13d4bfa73e94d3294f67fd | 2,911 | cc | C++ | src/kp_extractor.cc | justin-changqi/openpose-keypoints | c69d43f867e788a47940d38a52098aebb20d834b | [
"MIT"
] | 1 | 2020-07-21T19:17:24.000Z | 2020-07-21T19:17:24.000Z | src/kp_extractor.cc | justin-changqi/openpose-keypoints | c69d43f867e788a47940d38a52098aebb20d834b | [
"MIT"
] | null | null | null | src/kp_extractor.cc | justin-changqi/openpose-keypoints | c69d43f867e788a47940d38a52098aebb20d834b | [
"MIT"
] | null | null | null | // Copyright 2018 Justin Zhang
#include "api/opk/kp_extractor.hpp"
// DEFINE_string(image_path, "../img/28.jpeg",
// "Process an image. Read all standard formats (jpg, png, bmp, etc.).");
api::opk::kpExtractor::kpExtractor() {
op_wrapper_ = std::make_shared<op::Wrapper>
(op::ThreadManagerMode::A... | 35.5 | 104 | 0.653727 | [
"vector"
] |
f784a787c77a2332badb33328762108a4cef6be5 | 4,678 | cpp | C++ | tests/main.cpp | SZR521/op | 75dc712fe78ec861988159198e38ec2b2fb988b2 | [
"MIT"
] | 1 | 2021-06-06T07:35:57.000Z | 2021-06-06T07:35:57.000Z | tests/main.cpp | SZR521/op | 75dc712fe78ec861988159198e38ec2b2fb988b2 | [
"MIT"
] | null | null | null | tests/main.cpp | SZR521/op | 75dc712fe78ec861988159198e38ec2b2fb988b2 | [
"MIT"
] | null | null | null | // ConsoleTest.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
#include <string>
#include<vector>
#include<fstream>
#include<thread>
#include<mutex>
#include <Windows.h>
//#include "optest.hpp"
#include "test.h"
#include "../include/op.h"
#include<time.h>
#include <chrono>
#include <filesystem>
#pragma ... | 20.60793 | 115 | 0.627405 | [
"vector"
] |
f7922affbbfca30490b27ed56c4695807a9603ac | 55,698 | cpp | C++ | cpp/Compress/sprintz_xff_lowdim.cpp | dblalock/sprintz | a056cdb67d049669875ab5487359aca99ae873ea | [
"Apache-2.0"
] | 45 | 2019-02-02T15:50:25.000Z | 2022-03-08T05:42:06.000Z | cpp/Compress/sprintz_xff_lowdim.cpp | memetb/sprintz | a056cdb67d049669875ab5487359aca99ae873ea | [
"Apache-2.0"
] | 2 | 2020-03-27T23:29:15.000Z | 2020-11-09T01:37:08.000Z | cpp/Compress/sprintz_xff_lowdim.cpp | memetb/sprintz | a056cdb67d049669875ab5487359aca99ae873ea | [
"Apache-2.0"
] | 10 | 2019-03-08T09:04:29.000Z | 2022-02-18T22:28:23.000Z | //
// sprintz3.cpp
// Compress
//
// Created by DB on 2017-12-2.
// Copyright © 2017 D Blalock. All rights reserved.
//
#include "sprintz_xff.h"
#include <stdio.h>
#include <assert.h>
#include <stdint.h>
#include <string.h>
#include "bitpack.h"
#include "format.h"
#include "transpose.h"
#include "util.h" // for... | 48.265165 | 162 | 0.525387 | [
"vector"
] |
f79b784b2ec770b4f091246a9dbb2c879494dbc7 | 1,561 | cpp | C++ | app/cpp/mysimplegimp/src/core/transformations/conversion_grayscale.cpp | jaroslaw-wieczorek/lpo-image-processing | 505494cff99cc8e054106998f86b599f0509880b | [
"MIT"
] | null | null | null | app/cpp/mysimplegimp/src/core/transformations/conversion_grayscale.cpp | jaroslaw-wieczorek/lpo-image-processing | 505494cff99cc8e054106998f86b599f0509880b | [
"MIT"
] | null | null | null | app/cpp/mysimplegimp/src/core/transformations/conversion_grayscale.cpp | jaroslaw-wieczorek/lpo-image-processing | 505494cff99cc8e054106998f86b599f0509880b | [
"MIT"
] | null | null | null | #include "conversion_grayscale.h"
#include <QDebug>
#include <iostream>
ConversionGrayscale::ConversionGrayscale(PNM* img) :
Transformation(img)
{
}
ConversionGrayscale::ConversionGrayscale(PNM* img, ImageViewer* iv) :
Transformation(img, iv)
{
}
PNM* ConversionGrayscale::transform()
{
int width = image->... | 28.907407 | 98 | 0.527867 | [
"transform"
] |
f79f83f1f05da1e957b3043eb992fd5670298b42 | 11,679 | cpp | C++ | src/systems/LightSystem.cpp | hudovisk/MyGE | 9b94fa10de6856680fbc712ce075841f3bcd9c98 | [
"MIT"
] | null | null | null | src/systems/LightSystem.cpp | hudovisk/MyGE | 9b94fa10de6856680fbc712ce075841f3bcd9c98 | [
"MIT"
] | null | null | null | src/systems/LightSystem.cpp | hudovisk/MyGE | 9b94fa10de6856680fbc712ce075841f3bcd9c98 | [
"MIT"
] | null | null | null |
#include "systems/LightSystem.h"
#include "core/Engine.h"
#include "debug/MyAssert.h"
#include "assimp/Importer.hpp"
#include "assimp/postprocess.h"
#include "assimp/scene.h"
extern const float PIdiv180;
/**
* TODO: FIX THIS HACK (sort of)!
*/
void getVerticesAndIndices(std::vector<Vertex>& vertices,
std::vect... | 29.793367 | 109 | 0.752547 | [
"render",
"vector",
"model"
] |
f7a70450231850feb0e12072a075e6527e22cfeb | 10,089 | hpp | C++ | include/mxpfit/balanced_truncation.hpp | hydeik/mxpfit | a18621b191e426f549374cff0af3374861e9f065 | [
"MIT"
] | 6 | 2018-04-25T07:07:50.000Z | 2022-03-14T09:13:11.000Z | include/mxpfit/balanced_truncation.hpp | hydeik/mxpfit | a18621b191e426f549374cff0af3374861e9f065 | [
"MIT"
] | 2 | 2018-07-04T08:42:03.000Z | 2019-08-15T02:57:05.000Z | include/mxpfit/balanced_truncation.hpp | hydeik/mxpfit | a18621b191e426f549374cff0af3374861e9f065 | [
"MIT"
] | null | null | null | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Hidekazu Ikeno
*
* 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 us... | 34.084459 | 81 | 0.559818 | [
"model",
"transform"
] |
fc933fc5dab33483e202da3c0b2360d1c623dc84 | 4,721 | cpp | C++ | main.cpp | pengyz/OpenGLSampleCode | 69b6a5973e1c010a254100ae4987cbb574762c6a | [
"MIT"
] | 1 | 2021-11-10T14:00:39.000Z | 2021-11-10T14:00:39.000Z | main.cpp | pengyz/OpenGLSampleCode | 69b6a5973e1c010a254100ae4987cbb574762c6a | [
"MIT"
] | null | null | null | main.cpp | pengyz/OpenGLSampleCode | 69b6a5973e1c010a254100ae4987cbb574762c6a | [
"MIT"
] | 1 | 2021-11-10T14:00:41.000Z | 2021-11-10T14:00:41.000Z | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <cstdio>
#include "shader.h"
int main(int argc, char** argv)
{
if (glfwInit() != GLFW_TRUE) {
printf("initialize glfw failed!");
return -1;
}... | 30.262821 | 119 | 0.573395 | [
"model"
] |
fc940265113e39386b39194ebf437dd1e2845bbb | 6,322 | cpp | C++ | applications/MeshingApplication/custom_external_libraries/tetMeshOpt/Math3D.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 778 | 2017-01-27T16:29:17.000Z | 2022-03-30T03:01:51.000Z | applications/MeshingApplication/custom_external_libraries/tetMeshOpt/Math3D.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 6,634 | 2017-01-15T22:56:13.000Z | 2022-03-31T15:03:36.000Z | applications/MeshingApplication/custom_external_libraries/tetMeshOpt/Math3D.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 224 | 2017-02-07T14:12:49.000Z | 2022-03-06T23:09:34.000Z |
#include "Math3D.h"
float4 float4::operator-(float4 v1)
{
float4 r;
r.x = x-v1.x;
r.y = y-v1.y;
r.z = z-v1.z;
r.w = w-v1.w;
return r;
}
float4 float4::operator+(float4 v1)
{
float4 r;
r.x = x+v1.x;
r.y = y+v1.y;
r.z = z+v1.z;
r.w = w+v1.w;
return r;
... | 21.003322 | 97 | 0.562164 | [
"vector"
] |
fc9475c3af34443d2cd1e2a92ec60cabb893bca0 | 10,093 | cpp | C++ | Plugins/FastScaling/NativeFastScaling/tests/test_error_handling.cpp | timgaunt/resizer | 69936e8ebc63a1f7b3a8a799adce61f83d043e1a | [
"MIT"
] | 480 | 2015-01-02T20:01:56.000Z | 2022-03-20T17:35:18.000Z | Plugins/FastScaling/NativeFastScaling/tests/test_error_handling.cpp | timgaunt/resizer | 69936e8ebc63a1f7b3a8a799adce61f83d043e1a | [
"MIT"
] | 160 | 2015-01-07T00:18:36.000Z | 2022-02-26T03:34:30.000Z | Plugins/FastScaling/NativeFastScaling/tests/test_error_handling.cpp | timgaunt/resizer | 69936e8ebc63a1f7b3a8a799adce61f83d043e1a | [
"MIT"
] | 181 | 2015-01-06T21:50:01.000Z | 2022-01-24T20:57:03.000Z | #include "catch.hpp"
#include "fastscaling_private.h"
const int MAX_BYTES_PP = 16;
static std::ostream& operator<<(std::ostream& out, const BitmapFloat & bitmap_float)
{
return out << "BitmapFloat: w:" << bitmap_float.w << " h: " << bitmap_float.h << " channels:" << bitmap_float.channels << '\n';
}
class Fixture... | 32.98366 | 131 | 0.678985 | [
"render"
] |
fc987569acb669b1366125266ca8d6a230bd3c3a | 16,261 | cc | C++ | src/paths/long/SupportedHyperBasevector8.cc | bayolau/discovar | 9e472aca13670e40ab2234b89c8afd64875c58bf | [
"MIT"
] | null | null | null | src/paths/long/SupportedHyperBasevector8.cc | bayolau/discovar | 9e472aca13670e40ab2234b89c8afd64875c58bf | [
"MIT"
] | null | null | null | src/paths/long/SupportedHyperBasevector8.cc | bayolau/discovar | 9e472aca13670e40ab2234b89c8afd64875c58bf | [
"MIT"
] | 1 | 2021-11-28T21:35:27.000Z | 2021-11-28T21:35:27.000Z | ///////////////////////////////////////////////////////////////////////////////
// SOFTWARE COPYRIGHT NOTICE AGREEMENT //
// This software and its documentation are copyright (2013) by the //
// Broad Institute. All rights are reserved. This software is supplied //
... | 46.46 | 87 | 0.37181 | [
"transform"
] |
fc9e1f144c45ebc337178a7b8e42a0c83bb03f54 | 48,439 | cpp | C++ | windows/advcore/gdiplus/engine/render/line.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | windows/advcore/gdiplus/engine/render/line.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | windows/advcore/gdiplus/engine/render/line.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /**************************************************************************\
*
* Copyright (c) 1999 Microsoft Corporation
*
* Module Name:
*
* One-pixel-wide solid aliased lines
*
* Abstract:
*
* Draws aliased solid-color lines which are one pixel wide.
* Supports clipping against complex clipping re... | 28.310345 | 124 | 0.485415 | [
"transform",
"solid"
] |
fca460e3566794325239f535a4972179a83e61e9 | 8,884 | cc | C++ | source/blender/nodes/geometry/nodes/node_geo_align_rotation_to_vector.cc | noorbeast/blender | 9dc69b3848b46f4fbf3daa3360a3b975f4e1565f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 365 | 2015-02-10T15:10:55.000Z | 2022-03-03T15:50:51.000Z | source/blender/nodes/geometry/nodes/node_geo_align_rotation_to_vector.cc | noorbeast/blender | 9dc69b3848b46f4fbf3daa3360a3b975f4e1565f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 45 | 2015-01-09T15:34:20.000Z | 2021-10-05T14:44:23.000Z | source/blender/nodes/geometry/nodes/node_geo_align_rotation_to_vector.cc | noorbeast/blender | 9dc69b3848b46f4fbf3daa3360a3b975f4e1565f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 172 | 2015-01-25T15:16:53.000Z | 2022-01-31T08:25:36.000Z | /*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... | 37.804255 | 97 | 0.69462 | [
"geometry",
"vector"
] |
fca53a809af8bf5dc439c00fa0f8438d6673d099 | 513 | hh | C++ | hackt_docker/hackt/src/util/new_functor_fwd.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/util/new_functor_fwd.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/util/new_functor_fwd.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | /**
\file "util/new_functor_fwd.hh"
Turns new operator for constructing an object into a functor.
$Id: new_functor_fwd.hh,v 1.3 2005/05/10 04:51:28 fang Exp $
*/
#ifndef __UTIL_NEW_FUNCTOR_FWD_H__
#define __UTIL_NEW_FUNCTOR_FWD_H__
namespace util {
template <class T, class R = T>
struct new_functor;
template ... | 22.304348 | 79 | 0.639376 | [
"object"
] |
fca7560a0c5a0e7a78511e88b7a65264c8e77cde | 6,617 | cxx | C++ | DeformacionesAleatorias/CreateImageSetAffine.cxx | vnngoc156/2D-3D-RegistrationTool | 029b663df2a1ee5e53ae3e94a90aacf9d1aa7dbf | [
"MIT"
] | 17 | 2020-04-27T12:16:29.000Z | 2022-03-28T06:15:59.000Z | DeformacionesAleatorias/CreateImageSetAffine.cxx | vnngoc156/2D-3D-RegistrationTool | 029b663df2a1ee5e53ae3e94a90aacf9d1aa7dbf | [
"MIT"
] | 2 | 2022-03-23T12:46:00.000Z | 2022-03-23T12:50:52.000Z | DeformacionesAleatorias/CreateImageSetAffine.cxx | vnngoc156/2D-3D-RegistrationTool | 029b663df2a1ee5e53ae3e94a90aacf9d1aa7dbf | [
"MIT"
] | 1 | 2022-01-02T17:47:33.000Z | 2022-01-02T17:47:33.000Z | /*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: ResampleImageFilter.cxx,v $
Language: C++
Date: $Date: 2006/05/14 12:12:52 $
Version: $Revision: 1.32 $
Copyright (c) Insight Software Consortium.... | 34.108247 | 125 | 0.651957 | [
"transform"
] |
fcae4023f79a6aa50cf36ee516fd4d11d41c3534 | 41,959 | cpp | C++ | src/Level.cpp | heyjoeway/CuckySonic | 122ccc7319d117b977b5c019cedc6de6951bfc49 | [
"MIT"
] | 1 | 2019-12-16T16:32:46.000Z | 2019-12-16T16:32:46.000Z | src/Level.cpp | heyjoeway/CuckySonic | 122ccc7319d117b977b5c019cedc6de6951bfc49 | [
"MIT"
] | null | null | null | src/Level.cpp | heyjoeway/CuckySonic | 122ccc7319d117b977b5c019cedc6de6951bfc49 | [
"MIT"
] | 1 | 2019-12-13T22:04:02.000Z | 2019-12-13T22:04:02.000Z | #include <stdlib.h>
#include <string.h>
#include "Filesystem.h"
#include "Audio.h"
#include "Level.h"
#include "MathUtil.h"
#include "Game.h"
#include "Fade.h"
#include "Error.h"
#include "Log.h"
//Object function lists
#include "Objects.h"
OBJECTFUNCTION objFuncSonic1[] = {
nullptr, nullptr, nullptr, &ObjPathSwitc... | 27.769027 | 211 | 0.690245 | [
"object"
] |
fcb1310329a6e3d76d81b0ab3300eae8411ce353 | 7,487 | cc | C++ | src/BGL/BGLLine.cc | pbrier/Mandoline | bb517e7e5ba531d4e20c2474a53ee521dd1d1642 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2017-01-05T06:40:55.000Z | 2017-01-05T06:40:55.000Z | src/BGL/BGLLine.cc | pbrier/Mandoline | bb517e7e5ba531d4e20c2474a53ee521dd1d1642 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/BGL/BGLLine.cc | pbrier/Mandoline | bb517e7e5ba531d4e20c2474a53ee521dd1d1642 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | //
// BGLLine.m
// Part of the Belfry Geometry Library
//
// Created by GM on 10/13/10.
// Copyright 2010 Belfry Software. All rights reserved.
//
#include "BGLLine.h"
using namespace std;
namespace BGL {
bool Line::isLinearWith(const Point& pt) const
{
return (minimumExtendedLineDistanceFromPoint(pt) < CLO... | 22.756839 | 75 | 0.568318 | [
"geometry"
] |
fcb27bf9d62571ca9e5020eb9b69165b0d216f87 | 6,050 | cpp | C++ | tests/ship_client.cpp | abitmore/mandel | dfa3c92a713e7a093fc671fefa453a3033e27b0a | [
"MIT"
] | 60 | 2022-01-03T18:41:12.000Z | 2022-03-25T07:08:19.000Z | tests/ship_client.cpp | abitmore/mandel | dfa3c92a713e7a093fc671fefa453a3033e27b0a | [
"MIT"
] | 37 | 2022-01-13T22:23:58.000Z | 2022-03-31T13:32:38.000Z | tests/ship_client.cpp | abitmore/mandel | dfa3c92a713e7a093fc671fefa453a3033e27b0a | [
"MIT"
] | 11 | 2022-01-14T21:14:11.000Z | 2022-03-25T07:08:29.000Z | #include <eosio/abi.hpp>
#include <eosio/from_json.hpp>
#include <eosio/convert.hpp>
#include <rapidjson/document.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/prettywriter.h>
#include <boost/asio.hpp>
#include <boost/beast.hpp>
#include <boost/program_options.hpp>
#include <iostream>
#include <string>
... | 41.724138 | 166 | 0.613554 | [
"object"
] |
fccd0abc75935898ee2cca2eef3c7db9e9333df4 | 15,662 | cpp | C++ | 1_DMesh/ImproveMesh.cpp | billkarsh/Alignment_Projects | f2ce48477da866b09a13fd33f1a53a8af644b35b | [
"BSD-3-Clause"
] | 11 | 2015-07-24T14:41:25.000Z | 2022-03-19T13:27:51.000Z | 1_DMesh/ImproveMesh.cpp | billkarsh/Alignment_Projects | f2ce48477da866b09a13fd33f1a53a8af644b35b | [
"BSD-3-Clause"
] | 1 | 2016-05-14T22:26:25.000Z | 2016-05-14T22:26:25.000Z | 1_DMesh/ImproveMesh.cpp | billkarsh/Alignment_Projects | f2ce48477da866b09a13fd33f1a53a8af644b35b | [
"BSD-3-Clause"
] | 18 | 2015-03-10T18:45:58.000Z | 2021-08-16T13:56:48.000Z |
#include "CGBL_dmesh.h"
#include "ImproveMesh.h"
#include "Maths.h"
#include "Correlation.h"
#include <math.h>
#include <stdlib.h>
/* --------------------------------------------------------------- */
/* Macros -------------------------------------------------------- */
/* ----------------------------------------... | 28.684982 | 69 | 0.430852 | [
"mesh",
"vector",
"transform"
] |
fcdee90f5aaf680df63e6593506267066394dbb0 | 5,323 | cpp | C++ | g1/Entry.cpp | zhang-ray/GraphTheory00 | 06e7270101019d7342dd206bfa2868f4e21049a1 | [
"MIT"
] | null | null | null | g1/Entry.cpp | zhang-ray/GraphTheory00 | 06e7270101019d7342dd206bfa2868f4e21049a1 | [
"MIT"
] | null | null | null | g1/Entry.cpp | zhang-ray/GraphTheory00 | 06e7270101019d7342dd206bfa2868f4e21049a1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <fstream>
#include <array>
#include <list>
#include <cassert>
#include <limits>
namespace {
template<bool LOG_DEBUG=false>
class GraphFile{
private:
int minEdge_ = std::numeric_limits<int>::max();
int maxEdge_ = std::numeric_limits<int>::min();
int minNode_ =... | 24.085973 | 155 | 0.493894 | [
"vector"
] |
fce9ef534ab573ec901f33511b48c9492197576f | 8,342 | cpp | C++ | SpatialGDK/Intermediate/Build/Win64/UE4Editor/Inc/SpatialGDKFunctionalTests/SpatialTestRepossession.gen.cpp | Bowbee/GDKPrebuilt | 420b3fa19fdc36755a43e655c057b5624264407a | [
"MIT"
] | null | null | null | SpatialGDK/Intermediate/Build/Win64/UE4Editor/Inc/SpatialGDKFunctionalTests/SpatialTestRepossession.gen.cpp | Bowbee/GDKPrebuilt | 420b3fa19fdc36755a43e655c057b5624264407a | [
"MIT"
] | null | null | null | SpatialGDK/Intermediate/Build/Win64/UE4Editor/Inc/SpatialGDKFunctionalTests/SpatialTestRepossession.gen.cpp | Bowbee/GDKPrebuilt | 420b3fa19fdc36755a43e655c057b5624264407a | [
"MIT"
] | null | null | null | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | 63.19697 | 555 | 0.839127 | [
"object"
] |
fcee0a5afb5d0f3040819c315a8ab6573eb29c01 | 6,166 | cpp | C++ | pc-qa-matchbox/DPQAlib/BOWHistogram.cpp | openpreserve/scape | 8b08bbad43feaa7a5070412079d476e31bb8194b | [
"Apache-2.0"
] | 6 | 2015-05-19T09:48:16.000Z | 2020-01-13T02:29:57.000Z | pc-qa-matchbox/DPQAlib/BOWHistogram.cpp | openpreserve/scape | 8b08bbad43feaa7a5070412079d476e31bb8194b | [
"Apache-2.0"
] | 2 | 2021-06-03T23:48:14.000Z | 2021-09-02T15:27:13.000Z | pc-qa-matchbox/DPQAlib/BOWHistogram.cpp | openpreserve/scape | 8b08bbad43feaa7a5070412079d476e31bb8194b | [
"Apache-2.0"
] | 4 | 2015-05-19T09:48:25.000Z | 2021-08-18T08:53:10.000Z | #include "BOWHistogram.h"
const string BOWHistogram::TASK_NAME = "BOWHistogram";
TCLAP::ValueArg<string> argBOW("","bow","[BOWHistogram] Bag of Words file",false,"","filename");
TCLAP::ValueArg<string> argBOWMetric("","bowmetric","[BOWHistogram] Metric for histogram comparison (CV_COMP_CHISQR,CV_COMP_CORREL,CV_COMP_I... | 24.963563 | 206 | 0.688777 | [
"vector"
] |
fcf355d08696cbcf1ea6c05a458ee0f1b6a4c3d2 | 874 | cpp | C++ | 2002.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | 2002.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | 2002.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <map>
#include <stack>
#include <algorithm>
using namespace std;
int n, cnt;
int main() {
cin.sync_with_stdio(0);
cin.tie(0);
cin >> n;
map<string, int> pre;
vector<int> post(n);
for(int i=0;i<n;i++) {
string a;
... | 14.813559 | 45 | 0.503432 | [
"vector"
] |
fcf4e41e59e6169c1eb9a785f0fb235d83e9b264 | 8,816 | cpp | C++ | RaiderEngine/shader.cpp | rystills/RaiderEngine | 5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a | [
"MIT"
] | 4 | 2019-07-20T08:41:04.000Z | 2022-03-04T01:53:38.000Z | RaiderEngine/shader.cpp | rystills/RaiderEngine | 5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a | [
"MIT"
] | null | null | null | RaiderEngine/shader.cpp | rystills/RaiderEngine | 5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "shader.hpp"
#include "terminalColors.hpp"
Shader::Shader(const char* vertexPath, const char* fragmentPath, const char* geometryPath, const char* tessellationControlPath, const char* tessellationEvaluationPath) {
// 1. retrieve the vertex/fragment source code from filePath
std::string ve... | 38.837004 | 179 | 0.735368 | [
"geometry"
] |
fcf71b2ac2bb3acf553a2e4b010a67bfcb98576a | 8,026 | cc | C++ | src/rddl_parser/tests/determinize_test.cc | thomaskeller79/exhaustive-mdp | bf52164f96abd13c88870677b8b215f5f79e195a | [
"MIT"
] | 26 | 2019-10-18T16:04:34.000Z | 2022-02-22T13:38:31.000Z | src/rddl_parser/tests/determinize_test.cc | thomaskeller79/exhaustive-mdp | bf52164f96abd13c88870677b8b215f5f79e195a | [
"MIT"
] | 69 | 2019-10-18T10:19:13.000Z | 2021-07-19T06:51:51.000Z | src/rddl_parser/tests/determinize_test.cc | thomaskeller79/exhaustive-mdp | bf52164f96abd13c88870677b8b215f5f79e195a | [
"MIT"
] | 14 | 2019-12-26T06:17:03.000Z | 2022-01-30T09:18:16.000Z | #include "../../doctest/doctest.h"
#include "../evaluatables.h"
#include "../logical_expressions.h"
#include "../rddl.h"
#include "../determinize/determinize.h"
#include "../utils/math.h"
using namespace std;
namespace prost::parser::determinize {
TEST_CASE("Determinization with binary variables") {
auto task =... | 40.741117 | 80 | 0.593073 | [
"vector"
] |
fcf9f7f3a3b5683f0d02e33ae8342016d744ee5f | 21,096 | cpp | C++ | android-31/android/renderscript/Element.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/renderscript/Element.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/renderscript/Element.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "./Element_DataKind.hpp"
#include "./Element_DataType.hpp"
#include "./RenderScript.hpp"
#include "../../JString.hpp"
#include "./Element.hpp"
namespace android::renderscript
{
// Fields
// QJniObject forward
Element::Element(QJniObject obj) : android::renderscript::BaseObj(obj) {}
// Constructors
... | 29.057851 | 186 | 0.738766 | [
"mesh",
"object"
] |
fcfb4c85f14b77924604917117813d21642a26cc | 403 | cpp | C++ | CodeForces/Complete/500-599/535B-TavasAndSaDDas.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/Complete/500-599/535B-TavasAndSaDDas.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/Complete/500-599/535B-TavasAndSaDDas.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <cstdio>
#include <vector>
int main(){
long long n; scanf("%lld", &n);
long long m = n;
long ansA(1), ansB(0);
std::vector<int> digits;
while(m > 0){ansA *= 2; digits.push_back(m % 10); m /= 10;}
for(int p = digits.size() - 1; p >= 0; p--){
ansB = 2 * ansB + (digits[p] == 7);... | 19.190476 | 63 | 0.493797 | [
"vector"
] |
fcffa45ce8897803147d8262532b56182af30a46 | 932 | cpp | C++ | answers/leetcode/Permutation Sequence/Permutation Sequence.cpp | FeiZhan/Algo-Collection | 708c4a38112e0b381864809788b9e44ac5ae4d05 | [
"MIT"
] | 3 | 2015-09-04T21:32:31.000Z | 2020-12-06T00:37:32.000Z | answers/leetcode/Permutation Sequence/Permutation Sequence.cpp | FeiZhan/Algo-Collection | 708c4a38112e0b381864809788b9e44ac5ae4d05 | [
"MIT"
] | null | null | null | answers/leetcode/Permutation Sequence/Permutation Sequence.cpp | FeiZhan/Algo-Collection | 708c4a38112e0b381864809788b9e44ac5ae4d05 | [
"MIT"
] | null | null | null | // http://fisherlei.blogspot.ca/2013/04/leetcode-permutation-sequence-solution.html
class Solution {
public:
string getPermutation(int n, int k) {
int fact = 1;
for (int i = 1; i < n; ++ i) {
fact *= i;
}
std::vector<int> num_list;
-- k;
for (int i = n - 1; i >= 1; -- i) {
num_list.push_back(k / ... | 25.189189 | 83 | 0.530043 | [
"vector"
] |
1f63830cff471ba947a1718ec996031fd375b173 | 5,924 | cc | C++ | components/offline_pages/core/offline_page_test_store.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/offline_pages/core/offline_page_test_store.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/offline_pages/core/offline_page_test_store.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2015 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 "components/offline_pages/core/offline_page_test_store.h"
#include <map>
#include "base/bind.h"
#include "base/location.h"
#include "testing/gt... | 35.053254 | 79 | 0.714889 | [
"vector",
"model"
] |
1f68a0ff46ee73b476cb1c45a4926acb46149046 | 2,243 | hh | C++ | tests/libtests/meshio/obsolete/TestXdmf.hh | Grant-Block/pylith | f6338261b17551eba879da998a5aaf2d91f5f658 | [
"MIT"
] | 93 | 2015-01-08T16:41:22.000Z | 2022-02-25T13:40:02.000Z | tests/libtests/meshio/obsolete/TestXdmf.hh | Grant-Block/pylith | f6338261b17551eba879da998a5aaf2d91f5f658 | [
"MIT"
] | 277 | 2015-02-20T16:27:35.000Z | 2022-03-30T21:13:09.000Z | tests/libtests/meshio/obsolete/TestXdmf.hh | Grant-Block/pylith | f6338261b17551eba879da998a5aaf2d91f5f658 | [
"MIT"
] | 71 | 2015-03-24T12:11:08.000Z | 2022-03-03T04:26:02.000Z | // -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University of Chicago
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | 22.656566 | 77 | 0.513152 | [
"object"
] |
1f6ae4836e5897d0ae887e39032dbb4a3869f14c | 1,110 | cpp | C++ | AtCoder/ABC/ABC-142/SolveE1.cpp | MonadicDavidHuang/CompetitiveProgramming | b5b6f39a1be05d257f8ea8e504dd910cc624b153 | [
"MIT"
] | null | null | null | AtCoder/ABC/ABC-142/SolveE1.cpp | MonadicDavidHuang/CompetitiveProgramming | b5b6f39a1be05d257f8ea8e504dd910cc624b153 | [
"MIT"
] | null | null | null | AtCoder/ABC/ABC-142/SolveE1.cpp | MonadicDavidHuang/CompetitiveProgramming | b5b6f39a1be05d257f8ea8e504dd910cc624b153 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ll = long long int;
const int MAX = (int)(1e5 + 5);
const ll INF = (ll)(1e10 + 5);
const int MAX_BIT = (int)(5e3 + 5);
int n, m;
vector<ll> as;
vector<int> cs;
ll memo[MAX_BIT];
int main(void) {
// Here your code !
scanf("%d %d", &n, &m);
for (int i = 0;... | 15.633803 | 58 | 0.461261 | [
"vector"
] |
1f71abb3af7b2c5605e127df72e5a0f13a88530d | 6,462 | cpp | C++ | src/test/protocol/Hooks_test.cpp | shichengripple001/rippled | 7c66747d27869f9f3c96617bd4227038f1fa92b8 | [
"ISC"
] | null | null | null | src/test/protocol/Hooks_test.cpp | shichengripple001/rippled | 7c66747d27869f9f3c96617bd4227038f1fa92b8 | [
"ISC"
] | null | null | null | src/test/protocol/Hooks_test.cpp | shichengripple001/rippled | 7c66747d27869f9f3c96617bd4227038f1fa92b8 | [
"ISC"
] | null | null | null | //------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012-2017 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, ... | 32.636364 | 80 | 0.508976 | [
"vector"
] |
1f78bd7efbf1ee6df8d2ad8198b5992c65896ae1 | 35,785 | cpp | C++ | mlir_graphblas/src/lib/GraphBLAS/GraphBLASOps.cpp | seibert/mlir-graphblas | 89b811a8800551e5cd3205c70b6a5431f311030b | [
"Apache-2.0",
"MIT"
] | 7 | 2021-06-04T19:42:13.000Z | 2022-03-25T15:53:23.000Z | mlir_graphblas/src/lib/GraphBLAS/GraphBLASOps.cpp | seibert/mlir-graphblas | 89b811a8800551e5cd3205c70b6a5431f311030b | [
"Apache-2.0",
"MIT"
] | 204 | 2021-02-28T22:26:40.000Z | 2022-03-29T19:29:21.000Z | mlir_graphblas/src/lib/GraphBLAS/GraphBLASOps.cpp | seibert/mlir-graphblas | 89b811a8800551e5cd3205c70b6a5431f311030b | [
"Apache-2.0",
"MIT"
] | 8 | 2021-01-11T17:08:18.000Z | 2021-08-13T15:47:15.000Z | //===- GraphBLASOps.cpp - GraphBLAS dialect ops ---------------*- C++ -*-===//
//
// TODO add documentation
//
//===--------------------------------------------------------------------===//
#include "GraphBLAS/GraphBLASOps.h"
#include "GraphBLAS/GraphBLASDialect.h"
#include "GraphBLAS/GraphBLASUtils.h"
#include "mlir/... | 34.64182 | 80 | 0.646081 | [
"shape",
"vector"
] |
1f80ed6856824a05a788cb180b06b2a34320551d | 924 | hpp | C++ | Server Lib/Message Server/SESSION/player_manager.hpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 23 | 2021-10-31T00:20:21.000Z | 2022-03-26T07:24:40.000Z | Server Lib/Message Server/SESSION/player_manager.hpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 5 | 2021-10-31T18:44:51.000Z | 2022-03-25T18:04:26.000Z | Server Lib/Message Server/SESSION/player_manager.hpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 18 | 2021-10-20T02:31:56.000Z | 2022-02-01T11:44:36.000Z | // Arquivo player_manager.hpp
// Criado em 29/07/2018 as 13:44 por Acrisio
// Defini��o da classe player_manager
#pragma once
#ifndef _STDA_PLAYER_MANAGER_HPP
#define _STDA_PLAYER_MANAGER_HPP
#include <vector>
#include "player.hpp"
#include "../../Projeto IOCP/SOCKET/session_manager.hpp"
#include "../TYPE/pangya_mess... | 27.176471 | 95 | 0.742424 | [
"vector"
] |
1f867f1c4733a10faed316ac090f92ddb15f60c1 | 8,264 | cpp | C++ | Widgets/NicknameDlg.cpp | chen0040/cpp-ogre-mllab | b85305cd7e95559a178664577c8e858a5b9dd05b | [
"MIT"
] | 1 | 2021-10-04T09:40:26.000Z | 2021-10-04T09:40:26.000Z | Widgets/NicknameDlg.cpp | chen0040/cpp-ogre-mllab | b85305cd7e95559a178664577c8e858a5b9dd05b | [
"MIT"
] | null | null | null | Widgets/NicknameDlg.cpp | chen0040/cpp-ogre-mllab | b85305cd7e95559a178664577c8e858a5b9dd05b | [
"MIT"
] | 6 | 2019-05-05T22:29:55.000Z | 2022-01-03T14:18:54.000Z | #include "NicknameDlg.h"
#include "GUIManager.h"
#include "../OSEnvironment/OSEnvironment.h"
#include "../ScriptEngine/ScriptManager.h"
NicknameDlg::NicknameDlg(const std::string& rootId, CEGUI::Window* parentWindow)
: CIWidget(NULL, parentWindow)
, mNicknameField(NULL)
{
initializeComponents(rootId);
}
void Nicknam... | 30.494465 | 178 | 0.757139 | [
"vector"
] |
1f8a65f95099691047fecfcd642e4da37344aafb | 4,605 | cpp | C++ | tests/main.cpp | KPO-2020-2021/zad3-n-bartnik | 64bfbbf37b4fdb669299ee1e07ebfc286be2a0fe | [
"Unlicense"
] | null | null | null | tests/main.cpp | KPO-2020-2021/zad3-n-bartnik | 64bfbbf37b4fdb669299ee1e07ebfc286be2a0fe | [
"Unlicense"
] | null | null | null | tests/main.cpp | KPO-2020-2021/zad3-n-bartnik | 64bfbbf37b4fdb669299ee1e07ebfc286be2a0fe | [
"Unlicense"
] | null | null | null | #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "../tests/doctest/doctest.h"
#include "vector.hh"
#include "rectangle.hh"
#include "matrix.hh"
#include "size.hh"
/****************************WEKTOR****************************/
TEST_CASE("konstruktor parametryczny")
{
double a = 1, b = 2;
Vector wektor(a, b... | 18.568548 | 73 | 0.562866 | [
"vector"
] |
1f929301d2c0ee4c4575f49928f9c2260d43d1e9 | 750 | cpp | C++ | ch11/transform2.cpp | bashell/CppStandardLibrary | 2aae03019288132c911036aeb9ba36edc56e510b | [
"MIT"
] | null | null | null | ch11/transform2.cpp | bashell/CppStandardLibrary | 2aae03019288132c911036aeb9ba36edc56e510b | [
"MIT"
] | null | null | null | ch11/transform2.cpp | bashell/CppStandardLibrary | 2aae03019288132c911036aeb9ba36edc56e510b | [
"MIT"
] | null | null | null | #include "algostuff.hpp"
using namespace std;
int main()
{
vector<int> coll1;
list<int> coll2;
INSERT_ELEMENTS(coll1, 1, 9);
PRINT_ELEMENTS(coll1, "coll1: ");
transform(coll1.cbegin(), coll1.cend(),
coll1.cbegin(),
coll1.begin(),
multiplies<int>());
... | 22.727273 | 47 | 0.517333 | [
"vector",
"transform"
] |
1f95d790a3839293f6eb1efdcacd59c0eabf8fd4 | 1,215 | cpp | C++ | Game/src_lib/Animation/Animation.cpp | andershub4/forestadventure | 5efb3f831a94d7ed3e45cee4ef7cf6b32f3e4157 | [
"MIT"
] | null | null | null | Game/src_lib/Animation/Animation.cpp | andershub4/forestadventure | 5efb3f831a94d7ed3e45cee4ef7cf6b32f3e4157 | [
"MIT"
] | 9 | 2021-01-06T19:24:40.000Z | 2021-12-25T13:38:19.000Z | Game/src_lib/Animation/Animation.cpp | andershub4/forestadventure | 5efb3f831a94d7ed3e45cee4ef7cf6b32f3e4157 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2021 Anders Wennmo
* This file is part of forestadventure which is released under MIT license.
* See file LICENSE for full license details.
*/
#include "Animation.h"
#include <SFML/Graphics/Sprite.hpp>
namespace FA {
Animation::Animation(const sf::Texture* texture, const std::vector<sf::IntRe... | 19.918033 | 115 | 0.638683 | [
"vector"
] |
1f9b72aa0f0022011bf46ab240db6e17af9f1573 | 1,446 | cpp | C++ | src/processor.cpp | lfbettcher/CppND-System-Monitor | ac34abe00b2c91bd87383bca20640de4a0f1797f | [
"MIT"
] | null | null | null | src/processor.cpp | lfbettcher/CppND-System-Monitor | ac34abe00b2c91bd87383bca20640de4a0f1797f | [
"MIT"
] | null | null | null | src/processor.cpp | lfbettcher/CppND-System-Monitor | ac34abe00b2c91bd87383bca20640de4a0f1797f | [
"MIT"
] | null | null | null | #include "processor.h"
#include <string>
#include <vector>
#include "linux_parser.h"
using std::stoi;
// Return the aggregate CPU utilization
float Processor::Utilization() {
// get current values
std::vector<std::string> cpuStates = LinuxParser::CpuUtilization();
userTime_ = stoi(cpuStates[LinuxParser::CPUSt... | 33.627907 | 80 | 0.738589 | [
"vector"
] |
1f9de23dbc95b78862626318c0ebba7786bef202 | 7,103 | cpp | C++ | groups/bsl/bslstl/bslstl_utility.t.cpp | Nexuscompute/bde | d717c1cb780a46afe9373f522ba0e6ef9bab6220 | [
"Apache-2.0"
] | null | null | null | groups/bsl/bslstl/bslstl_utility.t.cpp | Nexuscompute/bde | d717c1cb780a46afe9373f522ba0e6ef9bab6220 | [
"Apache-2.0"
] | null | null | null | groups/bsl/bslstl/bslstl_utility.t.cpp | Nexuscompute/bde | d717c1cb780a46afe9373f522ba0e6ef9bab6220 | [
"Apache-2.0"
] | null | null | null | // bslstl_utility.t.cpp -*-C++-*-
#include <bslstl_utility.h>
#include <bsls_asserttest.h>
#include <bsls_bsltestutil.h>
#include <stdlib.h> // 'atoi'
#include <stdio.h> // 'sprintf', 'snprintf' [NOT '<cstdio>', which does not
// include 'snp... | 38.394595 | 79 | 0.471913 | [
"object"
] |
1fae968fed17c595a571e3f5f551599ed03040f2 | 456 | cpp | C++ | cpp/621-630/Maximum Distance in Arrays.cpp | KaiyuWei/leetcode | fd61f5df60cfc7086f7e85774704bacacb4aaa5c | [
"MIT"
] | 150 | 2015-04-04T06:53:49.000Z | 2022-03-21T13:32:08.000Z | cpp/621-630/Maximum Distance in Arrays.cpp | yizhu1012/leetcode | d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7 | [
"MIT"
] | 1 | 2015-04-13T15:15:40.000Z | 2015-04-21T20:23:16.000Z | cpp/621-630/Maximum Distance in Arrays.cpp | yizhu1012/leetcode | d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7 | [
"MIT"
] | 64 | 2015-06-30T08:00:07.000Z | 2022-01-01T16:44:14.000Z | class Solution {
public:
int maxDistance(vector<vector<int>>& arrays) {
int left = arrays[0].front();
int right = arrays[0].back();
int ans = 0;
for (int i = 1; i < arrays.size(); i++) {
ans = max(ans, max(abs(arrays[i].front() - right), abs(arrays[i].back() - left)));
... | 30.4 | 94 | 0.493421 | [
"vector"
] |
1faedbf2a9c4ff0398b5378d16cde58aa8d9c3cb | 4,184 | cc | C++ | examples/multibody/cylinder_with_multicontact/make_cylinder_plant.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 2 | 2021-02-25T02:01:02.000Z | 2021-03-17T04:52:04.000Z | examples/multibody/cylinder_with_multicontact/make_cylinder_plant.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | null | null | null | examples/multibody/cylinder_with_multicontact/make_cylinder_plant.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 1 | 2021-06-13T12:05:39.000Z | 2021-06-13T12:05:39.000Z | #include "drake/examples/multibody/cylinder_with_multicontact/make_cylinder_plant.h"
#include "drake/multibody/tree/uniform_gravity_field_element.h"
namespace drake {
namespace examples {
namespace multibody {
namespace cylinder_with_multicontact {
using drake::multibody::CoulombFriction;
using drake::multibody::Mul... | 37.026549 | 84 | 0.704828 | [
"geometry",
"model"
] |
1fc8b18d8bc210143bcf04505de04c7454ca6857 | 1,034 | cpp | C++ | src/Direction.cpp | ScrambledEggsOnToast/UniversalGPS | 721c6740a02a7c2792bcd7b6d03f6e0552190b1a | [
"BSD-3-Clause"
] | null | null | null | src/Direction.cpp | ScrambledEggsOnToast/UniversalGPS | 721c6740a02a7c2792bcd7b6d03f6e0552190b1a | [
"BSD-3-Clause"
] | null | null | null | src/Direction.cpp | ScrambledEggsOnToast/UniversalGPS | 721c6740a02a7c2792bcd7b6d03f6e0552190b1a | [
"BSD-3-Clause"
] | null | null | null | // Direction.cpp
#include "Direction.h"
namespace ugps
{
Direction::Direction(const Vec3& v) :
theta(acos(v.z/v.length())), phi(atan2(v.y,v.x)) {}
Vec3 Direction::unit() const
{
num_ug ct, cp, st, sp;
ct = cos(theta);
cp = cos(phi);
st = sin(theta);
sp ... | 23.5 | 92 | 0.491296 | [
"vector"
] |
1fc94e5293b958d1afc9e2d20d2f6a9a7096123e | 3,662 | cpp | C++ | source/mechcmd2/mc2movie.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 38 | 2015-04-10T13:31:03.000Z | 2021-09-03T22:34:05.000Z | source/mechcmd2/mc2movie.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 1 | 2020-07-09T09:48:44.000Z | 2020-07-12T12:41:43.000Z | source/mechcmd2/mc2movie.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 12 | 2015-06-29T08:06:57.000Z | 2021-10-13T13:11:41.000Z | //===========================================================================//
// Copyright (C) Microsoft Corporation. All rights reserved. //
//===========================================================================//
#include "stdinc.h"
#ifndef MC2MOVIE_H
#include "mc2movie.h"
#endif
#ifndef TX... | 27.125926 | 134 | 0.587111 | [
"render"
] |
1fcf59071aa1a8539a326a0b3ce6580fb9eb2399 | 6,541 | cpp | C++ | arm9/source/_type/type.program.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | 2 | 2017-02-07T18:25:07.000Z | 2021-12-13T18:29:03.000Z | arm9/source/_type/type.program.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | null | null | null | arm9/source/_type/type.program.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | null | null | null | #include <_type/type.program.h>
#include <_type/type.program.lua.h>
#include <_type/type.program.c.h>
#include <_type/type.tokenizer.h>
#include <_controller/controller.execution.h>
#include <_controller/controller.filesystem.h>
#include <_controller/controller.registry.h>
#include <_controller/controller.timer.... | 34.426316 | 151 | 0.680936 | [
"transform"
] |
1fe42441a15497fbf6a0a8686bad144b5183fe5b | 23,109 | cpp | C++ | src/HexagonMap.cpp | urbanpixellab/hex | 3f641aadfc7629868b04f1b462b94a23c3e9013b | [
"MIT"
] | null | null | null | src/HexagonMap.cpp | urbanpixellab/hex | 3f641aadfc7629868b04f1b462b94a23c3e9013b | [
"MIT"
] | 1 | 2017-09-11T15:16:25.000Z | 2017-09-11T15:16:25.000Z | src/HexagonMap.cpp | urbanpixellab/hex | 3f641aadfc7629868b04f1b462b94a23c3e9013b | [
"MIT"
] | null | null | null | //
// HexagonMap.cpp
//
//
// Created by enrico on 29/08/17.
//
//
// TODO rotate hexagons
// TDOD add visuals/scenes
// TODO add fuckups
#include "HexagonMap.hpp"
HexagonMap::HexagonMap()
{
fuckUpCounter = 0;
nextFuckUpAt = ofRandom(MIN_FUCK_UP,MAX_FUCK_UP);
#ifdef TARGET_OPENGLES
shader.load("sh... | 32.965763 | 165 | 0.565061 | [
"shape",
"solid"
] |
1ff62265b40ad17813b4e7d82dd06433b3c6e5ab | 4,758 | cxx | C++ | src/types/type_parser.cxx | isbodand/InfoCLI | 67f9ff2dab575b8bbd7957f6bb3256539010d265 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/types/type_parser.cxx | isbodand/InfoCLI | 67f9ff2dab575b8bbd7957f6bb3256539010d265 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2020-10-24T20:42:36.000Z | 2020-10-24T20:42:36.000Z | src/types/type_parser.cxx | bodand/InfoCLI | 67f9ff2dab575b8bbd7957f6bb3256539010d265 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020 bodand
* Licensed under the BSD 3-Clause license
*
* Implements the type_parser<>-s provided as part of the library
*/
#include <info/cli/types/type_parser.hxx>
#include <cassert>
info::expected<std::string, info::cli::parser_opcode>
info::cli::type_parser<std::string>::operator()(std::s... | 39.322314 | 88 | 0.493905 | [
"transform"
] |
1ffc3208f87a7a1e5336d281bde66fcf4036f233 | 8,678 | hpp | C++ | toolkits/point_cloud/LasOperator.hpp | bin70/Toolkit | ef47b0bd97334a2ceca415f01570886bfbb11e4a | [
"MIT"
] | null | null | null | toolkits/point_cloud/LasOperator.hpp | bin70/Toolkit | ef47b0bd97334a2ceca415f01570886bfbb11e4a | [
"MIT"
] | null | null | null | toolkits/point_cloud/LasOperator.hpp | bin70/Toolkit | ef47b0bd97334a2ceca415f01570886bfbb11e4a | [
"MIT"
] | 1 | 2021-06-30T08:03:44.000Z | 2021-06-30T08:03:44.000Z | #ifndef _LAS_FILE_READER_
#define _LAS_FILE_READER_
#include <common.hpp>
#include <point_cloud/common.hpp>
#pragma pack(push,1)
/*===================================================================
Structure for PUBLIC HEADER BLOCK
The fields included in the public header block are as follows:
1. File ... | 32.74717 | 146 | 0.632519 | [
"3d"
] |
1ffe21f4ac5ebab6b12548d22c0385d19c37bf5b | 16,388 | cpp | C++ | nightshade/nightshade.cpp | jacksoncougar/monitor-software-power-off | edf03d4cacb52e331690b1d3a1b5ef1d11a844d7 | [
"MIT"
] | 1 | 2020-05-09T19:41:59.000Z | 2020-05-09T19:41:59.000Z | nightshade/nightshade.cpp | jacksoncougar/monitor-software-power-off | edf03d4cacb52e331690b1d3a1b5ef1d11a844d7 | [
"MIT"
] | 2 | 2020-05-22T17:51:51.000Z | 2020-06-02T19:12:12.000Z | nightshade/nightshade.cpp | jacksoncougar/monitor-software-power-off | edf03d4cacb52e331690b1d3a1b5ef1d11a844d7 | [
"MIT"
] | null | null | null | // nightshade.cpp : Defines the entry point for the application.
#pragma comment(lib, "Cfgmgr32.lib")
#pragma comment(lib, "Dxva2.lib")
#pragma comment(lib, "powrprof.lib")
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <boost/array.hpp>
#include <boost/asio.hpp>
#include <chrono>
#include <condition_vari... | 26.432258 | 123 | 0.612643 | [
"vector"
] |
95023eb72837a18af74da3ace9169f5377c42124 | 9,036 | cpp | C++ | android/spatialiteandroidlibrary/src/main/jni/geos-3.2.2/source/geomgraph/EdgeIntersectionList.cpp | fedort/react-native-spatial | f12fe12c567ecb6c088a2b0cb9468c2f28d4cbba | [
"MIT"
] | null | null | null | android/spatialiteandroidlibrary/src/main/jni/geos-3.2.2/source/geomgraph/EdgeIntersectionList.cpp | fedort/react-native-spatial | f12fe12c567ecb6c088a2b0cb9468c2f28d4cbba | [
"MIT"
] | null | null | null | android/spatialiteandroidlibrary/src/main/jni/geos-3.2.2/source/geomgraph/EdgeIntersectionList.cpp | fedort/react-native-spatial | f12fe12c567ecb6c088a2b0cb9468c2f28d4cbba | [
"MIT"
] | 1 | 2021-01-13T17:59:17.000Z | 2021-01-13T17:59:17.000Z | /**********************************************************************
* $Id: EdgeIntersectionList.cpp 2545 2009-06-05 12:07:52Z strk $
*
* GEOS - Geometry Engine Open Source
* http://geos.refractions.net
*
* Copyright (C) 2001-2002 Vivid Solutions Inc.
* Copyright (C) 2005 Refractions Research Inc.
*
* This ... | 29.62623 | 124 | 0.694998 | [
"geometry",
"vector"
] |
950badcf7cbeb016c31910c25d57d9470ba01642 | 787 | cpp | C++ | signatures_of_graphs.cpp | pdlotko/paht_signatures_of_graphs | 715d80a82478ac77f99e49ce193bf6df7f4da7c0 | [
"MIT"
] | null | null | null | signatures_of_graphs.cpp | pdlotko/paht_signatures_of_graphs | 715d80a82478ac77f99e49ce193bf6df7f4da7c0 | [
"MIT"
] | null | null | null | signatures_of_graphs.cpp | pdlotko/paht_signatures_of_graphs | 715d80a82478ac77f99e49ce193bf6df7f4da7c0 | [
"MIT"
] | null | null | null | #include "signatures_of_graphs.h"
int main()
{
//read graph from a file. There is also an option to send it as a
std::pair< unsigned short int , std::vector< std::vector<unsigned short int> > > graph = read_graph_from_file( "graph2" );
unsigned cap_on_path_length = 30;
std::vector< std::vector<unsigned short i... | 43.722222 | 134 | 0.731893 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.