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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6171bb11a6387e2320a987392a4e49dea717e619 | 2,739 | cpp | C++ | tests/gl-320-glsl-cast-fail.cpp | lostgoat/ogl-samples | 9985448efd25bbd89d94a5ad76597cdb461fb5fc | [
"MIT"
] | null | null | null | tests/gl-320-glsl-cast-fail.cpp | lostgoat/ogl-samples | 9985448efd25bbd89d94a5ad76597cdb461fb5fc | [
"MIT"
] | null | null | null | tests/gl-320-glsl-cast-fail.cpp | lostgoat/ogl-samples | 9985448efd25bbd89d94a5ad76597cdb461fb5fc | [
"MIT"
] | 1 | 2020-04-30T09:17:01.000Z | 2020-04-30T09:17:01.000Z | #include "test.hpp"
namespace
{
char const * VERT_SHADER_SOURCE("gl-320/glsl-cast-fail.vert");
char const * FRAG_SHADER_SOURCE("gl-320/glsl-cast-fail.frag");
char const * TEXTURE_DIFFUSE("kueken7_rgba8_srgb.dds");
GLsizei const VertexCount(4);
GLsizeiptr const VertexSize = VertexCount * sizeof(glf::vertex_v2fv2f... | 23.612069 | 136 | 0.705002 | [
"render",
"vector",
"transform"
] |
617e29d95e7966c45021070e5ff125c20971cda5 | 1,459 | cpp | C++ | src/cpp/JNI/org_jsfml_window_VideoMode.cpp | comqdhb/JSFML | c1397d0ed1ac1c334e33a346b17b59ead2dfb862 | [
"Zlib"
] | 41 | 2015-01-10T16:39:36.000Z | 2022-02-03T12:06:12.000Z | src/cpp/JNI/org_jsfml_window_VideoMode.cpp | comqdhb/JSFML | c1397d0ed1ac1c334e33a346b17b59ead2dfb862 | [
"Zlib"
] | 22 | 2015-01-26T01:36:16.000Z | 2019-01-05T07:31:49.000Z | src/cpp/JNI/org_jsfml_window_VideoMode.cpp | comqdhb/JSFML | c1397d0ed1ac1c334e33a346b17b59ead2dfb862 | [
"Zlib"
] | 38 | 2015-03-12T00:55:51.000Z | 2021-11-08T22:38:43.000Z | #include <JSFML/JNI/org_jsfml_window_VideoMode.h>
#include <SFML/Window/VideoMode.hpp>
/*
* Class: org_jsfml_window_VideoMode
* Method: nativeGetDesktopMode
* Signature: (Ljava/nio/Buffer;)V
*/
JNIEXPORT void JNICALL Java_org_jsfml_window_VideoMode_nativeGetDesktopMode
(JNIEnv *env, jclass cls, jobject... | 29.18 | 83 | 0.686772 | [
"vector"
] |
618017ae81dea3010430c74cfb3920c2fdf63ee3 | 28,409 | cpp | C++ | intern/elbeem/intern/ntl_ray.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | 2 | 2018-06-18T01:50:25.000Z | 2018-06-18T01:50:32.000Z | intern/elbeem/intern/ntl_ray.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | null | null | null | intern/elbeem/intern/ntl_ray.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | null | null | null | /** \file elbeem/intern/ntl_ray.cpp
* \ingroup elbeem
*/
/******************************************************************************
*
* El'Beem - Free Surface Fluid Simulation with the Lattice Boltzmann Method
* Copyright 2003-2006 Nils Thuerey
*
* main renderer class
*
**********************************... | 31.014192 | 206 | 0.563554 | [
"geometry",
"render",
"object",
"vector"
] |
6181c20817d58c9deb0d0aa90b4dd1fe333073a5 | 10,667 | cpp | C++ | UITitlebarPlug/SearchView.cpp | lirui1111/startalk_pc | 7d625f812e784bca68b3d6f6ffe21d383b400491 | [
"MIT"
] | 1 | 2020-02-10T06:53:28.000Z | 2020-02-10T06:53:28.000Z | UITitlebarPlug/SearchView.cpp | lirui1111/startalk_pc | 7d625f812e784bca68b3d6f6ffe21d383b400491 | [
"MIT"
] | null | null | null | UITitlebarPlug/SearchView.cpp | lirui1111/startalk_pc | 7d625f812e784bca68b3d6f6ffe21d383b400491 | [
"MIT"
] | null | null | null | //
// Created by QITMAC000260 on 2019-07-08.
//
#include "SearchView.h"
#include "../Platform/Platform.h"
#include "../Platform/dbPlatform.h"
#include <QScrollBar>
#include <QMouseEvent>
using namespace QTalk::Search;
SearchView::SearchView(QWidget* parent)
: QListView(parent)
{
setObjectName("SearchView");... | 34.299035 | 116 | 0.639168 | [
"vector",
"model"
] |
6181e1c32c3bae468245d6f8fe8134beb819f674 | 15,105 | cpp | C++ | src/L1/uva.cpp | Halolegend94/mgbench | cc43ebddac795c118d407bb7ed6a620e73753266 | [
"BSD-3-Clause"
] | null | null | null | src/L1/uva.cpp | Halolegend94/mgbench | cc43ebddac795c118d407bb7ed6a620e73753266 | [
"BSD-3-Clause"
] | null | null | null | src/L1/uva.cpp | Halolegend94/mgbench | cc43ebddac795c118d407bb7ed6a620e73753266 | [
"BSD-3-Clause"
] | null | null | null | #include "hip/hip_runtime.h"
// MGBench: Multi-GPU Computing Benchmark Suite
// Copyright (c) 2016, Tal Ben-Nun
// 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 sourc... | 33.197802 | 160 | 0.577623 | [
"vector"
] |
618791173807291b39f1d4cdfa224cc4601b791d | 11,113 | cpp | C++ | examples/data_distribution/histogram/histogram_14.cpp | gitplcc/matplotplusplus | c088749434154c230ee7547c6871d65e58876dc6 | [
"MIT"
] | 2,709 | 2020-08-29T01:25:40.000Z | 2022-03-31T18:35:25.000Z | examples/data_distribution/histogram/histogram_14.cpp | p-ranav/matplotplusplus | b45015e2be88e3340b400f82637b603d733d45ce | [
"MIT"
] | 124 | 2020-08-29T04:48:17.000Z | 2022-03-25T15:45:59.000Z | examples/data_distribution/histogram/histogram_14.cpp | p-ranav/matplotplusplus | b45015e2be88e3340b400f82637b603d733d45ce | [
"MIT"
] | 203 | 2020-08-29T04:16:22.000Z | 2022-03-30T02:08:36.000Z | #include <iostream>
#include <matplot/matplot.h>
#include <random>
constexpr size_t DEFAULT_BOOTSTRAP_REPLICATES = 1000000;
std::vector<double>
bootstrap(std::function<double()> statistic,
size_t replicates = DEFAULT_BOOTSTRAP_REPLICATES) {
std::vector<double> data(replicates);
std::generate(data.be... | 31.571023 | 110 | 0.5876 | [
"vector"
] |
6189aeef24803949245d54ed5c59957aeda6b33a | 15,733 | cpp | C++ | server/physics.cpp | Silvman/arkanoid_mult | 8764b483e5833a2dbef823d1fb06e4ee7ad7431a | [
"MIT"
] | 1 | 2021-09-04T19:22:20.000Z | 2021-09-04T19:22:20.000Z | server/physics.cpp | Silvman/arkanoid_mult | 8764b483e5833a2dbef823d1fb06e4ee7ad7431a | [
"MIT"
] | null | null | null | server/physics.cpp | Silvman/arkanoid_mult | 8764b483e5833a2dbef823d1fb06e4ee7ad7431a | [
"MIT"
] | 1 | 2019-02-09T12:10:29.000Z | 2019-02-09T12:10:29.000Z | //
// Created by silvman on 09.05.17.
//
#include "headers/physics.hpp"
// const b2Vec2 ball_default_speed(0.0f, -9.0f);
const b2Vec2 player_default_speed(20.0f, 0.0f);
// blocksKickListener
void physics_scene::blocksKickListener::EndContact(b2Contact* contact) {
physic_body* bodyUserData_A = reinterpret_cast<... | 27.457243 | 137 | 0.59353 | [
"shape"
] |
618c1e5321591dd198dfa4ec17112dd2a4441bd2 | 1,239 | cpp | C++ | Src/renderer/ShaderIncludes.cpp | Kataglyphis/GraphicEngine | f3b87a36b761fe13e747011be9301f6f9fe0c3f0 | [
"BSD-3-Clause"
] | null | null | null | Src/renderer/ShaderIncludes.cpp | Kataglyphis/GraphicEngine | f3b87a36b761fe13e747011be9301f6f9fe0c3f0 | [
"BSD-3-Clause"
] | null | null | null | Src/renderer/ShaderIncludes.cpp | Kataglyphis/GraphicEngine | f3b87a36b761fe13e747011be9301f6f9fe0c3f0 | [
"BSD-3-Clause"
] | null | null | null | #include "ShaderIncludes.h"
#include "File.h"
#include <stdio.h>
#include <string.h>
#include <array>
#include <sstream>
#include <cassert>
// this method is setting all files we want to use in a shader per #include
// you have to specify the name(how file appears in shader)
// and its actual file location relatively... | 28.159091 | 90 | 0.677966 | [
"vector"
] |
618e8af689ea21cdecb03a6a5cee4e8007916958 | 6,283 | cpp | C++ | include/staff/FloorWorker.cpp | Karthick47v2/inventory-management-sys | fcebcc62d31cbb97988c7b86f63b4d00f95a0c6b | [
"MIT"
] | null | null | null | include/staff/FloorWorker.cpp | Karthick47v2/inventory-management-sys | fcebcc62d31cbb97988c7b86f63b4d00f95a0c6b | [
"MIT"
] | null | null | null | include/staff/FloorWorker.cpp | Karthick47v2/inventory-management-sys | fcebcc62d31cbb97988c7b86f63b4d00f95a0c6b | [
"MIT"
] | null | null | null | #include "FloorWorker.h"
extern std::vector<LocalSupply> localSupplyDataPending;
extern std::vector<InternationalSupply> internationalSupplyDataPending;
extern std::vector<LocalSupply> localSupplyDataApproved;
extern std::vector<InternationalSupply> internationalSupplyDataApproved;
int addOrRemoveStock(int x, Transact... | 54.163793 | 236 | 0.660512 | [
"vector"
] |
6190849ec95ad832207ec3879332de6364beca37 | 3,246 | cpp | C++ | src/cxx/geometry.cpp | tardani95/iris-distro | dbb1ebbde2e52b4cc747b4aa2fe88518b238071a | [
"BSD-2-Clause"
] | 82 | 2016-03-30T15:32:47.000Z | 2022-03-28T03:03:08.000Z | src/cxx/geometry.cpp | tardani95/iris-distro | dbb1ebbde2e52b4cc747b4aa2fe88518b238071a | [
"BSD-2-Clause"
] | 49 | 2015-01-21T16:13:20.000Z | 2021-12-29T02:47:52.000Z | src/cxx/geometry.cpp | tardani95/iris-distro | dbb1ebbde2e52b4cc747b4aa2fe88518b238071a | [
"BSD-2-Clause"
] | 61 | 2015-03-20T18:49:31.000Z | 2022-01-27T12:35:38.000Z | #include "iris/geometry.h"
#include <Eigen/Core>
#include <Eigen/LU>
#include <iostream>
#include "iris_cdd.h"
namespace iris {
int factorial(int n) {
return n == 0 ? 1 : factorial(n - 1) * n;
}
double nSphereVolume(int dim, double radius) {
double v;
int k = std::floor(dim / 2);
if (dim % 2 == 0) {
v = ... | 27.05 | 97 | 0.682378 | [
"geometry",
"vector"
] |
61953ddf219ed69a77d4f52e7930accc977b6a8d | 666 | hpp | C++ | xtd.forms.native/include/xtd/forms/native/list_box.hpp | lineCode/xtd.forms | 53b126a41513b4009870498b9f8e522dfc94c8de | [
"MIT"
] | 1 | 2022-02-04T08:15:31.000Z | 2022-02-04T08:15:31.000Z | xtd.forms.native/include/xtd/forms/native/list_box.hpp | lineCode/xtd.forms | 53b126a41513b4009870498b9f8e522dfc94c8de | [
"MIT"
] | null | null | null | xtd.forms.native/include/xtd/forms/native/list_box.hpp | lineCode/xtd.forms | 53b126a41513b4009870498b9f8e522dfc94c8de | [
"MIT"
] | null | null | null | #pragma once
#include "../create_params.hpp"
#include <vector>
namespace xtd {
namespace forms {
namespace native {
class list_box {
public:
list_box() = delete;
static drawing::color default_back_color();
static drawing::color default_fore_color();
static void delete_... | 30.272727 | 91 | 0.674174 | [
"vector"
] |
619d92d440f3fdfe41b4c34247efae029e4c52b7 | 4,466 | hpp | C++ | ql/experimental/coupons/subperiodcoupons.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 1 | 2020-10-13T09:57:04.000Z | 2020-10-13T09:57:04.000Z | ql/experimental/coupons/subperiodcoupons.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 19 | 2020-11-23T08:36:10.000Z | 2022-03-28T10:06:53.000Z | ql/experimental/coupons/subperiodcoupons.hpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 2 | 2021-04-24T17:51:11.000Z | 2021-07-20T09:41:33.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 Toyin Akin
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/or ... | 32.59854 | 96 | 0.631885 | [
"object",
"vector"
] |
61a47d01abf8ed65893fe8d15da1660ac734daf0 | 4,251 | cpp | C++ | benchmark.cpp | jevinskie/visit | 475932dcc72fd83538ffd76cea75f392526669fd | [
"BSL-1.0"
] | 23 | 2018-12-24T01:59:31.000Z | 2021-11-16T00:25:59.000Z | benchmark.cpp | jevinskie/visit | 475932dcc72fd83538ffd76cea75f392526669fd | [
"BSL-1.0"
] | 2 | 2021-02-14T11:16:31.000Z | 2021-02-17T17:38:11.000Z | benchmark.cpp | jevinskie/visit | 475932dcc72fd83538ffd76cea75f392526669fd | [
"BSL-1.0"
] | 7 | 2018-12-24T01:59:42.000Z | 2021-12-24T15:50:11.000Z | /*
* Copyright Björn Fahller 2018
*
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* Project home: https://github.com/rollbear/visit
*/
#include <visit.hpp>
#include... | 30.364286 | 84 | 0.713244 | [
"vector"
] |
61a927a83ae197f0924bdaae24c4ca727c76d0e4 | 883 | cpp | C++ | C++/0722-Remove-Comments/soln.cpp | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | C++/0722-Remove-Comments/soln.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | C++/0722-Remove-Comments/soln.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | class Solution {
public:
vector<string> removeComments(vector<string>& source) {
string s = "";
for (auto line : source) s += line + '\n';
int i = 0;
string left = "";
int n = s.length();
while (i < n) {
if (i < n - 1 && s[i] == '/' && s[i + 1] == '*') {
... | 29.433333 | 74 | 0.331823 | [
"vector"
] |
61ad27021b9b2a5388713d8600aa45424c9d8fe6 | 5,398 | cpp | C++ | oneflow/customized/kernels/softmax_kernel.cpp | xxg1413/oneflow | f2e3c85a25b8aecfb6c0c0af1737833b1a77e135 | [
"Apache-2.0"
] | 1 | 2020-12-04T03:06:16.000Z | 2020-12-04T03:06:16.000Z | oneflow/customized/kernels/softmax_kernel.cpp | xxg1413/oneflow | f2e3c85a25b8aecfb6c0c0af1737833b1a77e135 | [
"Apache-2.0"
] | null | null | null | oneflow/customized/kernels/softmax_kernel.cpp | xxg1413/oneflow | f2e3c85a25b8aecfb6c0c0af1737833b1a77e135 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020 The OneFlow 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 agre... | 45.745763 | 98 | 0.679326 | [
"shape"
] |
61ad4515a8b3bd41981f193e16abdc7652aa40b0 | 7,829 | cpp | C++ | Algorithms/cses/Sorting and Searching/Restaurant_Customers.cpp | anand722000/algo_ds_101 | b3e25ce2b2e47e53024f8d349232b04de2837ce3 | [
"MIT"
] | null | null | null | Algorithms/cses/Sorting and Searching/Restaurant_Customers.cpp | anand722000/algo_ds_101 | b3e25ce2b2e47e53024f8d349232b04de2837ce3 | [
"MIT"
] | null | null | null | Algorithms/cses/Sorting and Searching/Restaurant_Customers.cpp | anand722000/algo_ds_101 | b3e25ce2b2e47e53024f8d349232b04de2837ce3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp> // Common file
#include <ext/pb_ds/tree_policy.hpp>
#include <functional> // for less
using namespace std;
using namespace __gnu_pbds;
typedef tree<int, null_type, less_equal<int>, rb_tree_tag, tree_order_statistics_node_update> indset;
#define fo(i, n) ... | 17.320796 | 101 | 0.369779 | [
"vector"
] |
ba0d46eba3689357173ca1be8c1d779349bb6bf3 | 25,501 | hpp | C++ | neutrino/math/inc/transform_functions.hpp | alexiynew/nih_framework | a65335586331daa0ece892f98265bd1d2f8f579f | [
"MIT"
] | 1 | 2017-07-14T04:51:54.000Z | 2017-07-14T04:51:54.000Z | neutrino/math/inc/transform_functions.hpp | alexiynew/nih_framework | a65335586331daa0ece892f98265bd1d2f8f579f | [
"MIT"
] | 32 | 2017-02-02T14:49:41.000Z | 2019-06-25T19:38:27.000Z | neutrino/math/inc/transform_functions.hpp | alexiynew/nih_framework | a65335586331daa0ece892f98265bd1d2f8f579f | [
"MIT"
] | null | null | null | #ifndef FRAMEWORK_MATH_DETAILS
#error You should include math/math.hpp instead of transform_functions.hpp
#endif
#ifndef FRAMEWORK_MATH_INC_TRANSFORM_FUNCTIONS_HPP
#define FRAMEWORK_MATH_INC_TRANSFORM_FUNCTIONS_HPP
#include <cassert>
#include <limits>
#include <math/inc/common_functions.hpp>
... | 42.930976 | 121 | 0.407592 | [
"object",
"vector",
"model"
] |
ba0ecb4a2019f1fa3560555d2f4ea96297fa93b2 | 3,436 | cpp | C++ | Calculate_lattice.cpp | camille-PM/cube_parametric_study | 38f8c4c5a1fd4586ba5285ba02341fe0ed682b2a | [
"Apache-2.0"
] | null | null | null | Calculate_lattice.cpp | camille-PM/cube_parametric_study | 38f8c4c5a1fd4586ba5285ba02341fe0ed682b2a | [
"Apache-2.0"
] | null | null | null | Calculate_lattice.cpp | camille-PM/cube_parametric_study | 38f8c4c5a1fd4586ba5285ba02341fe0ed682b2a | [
"Apache-2.0"
] | null | null | null | #include <fstream>
#include <iostream>
#include <vector>
#include "header.h"
using namespace std;
/************************************************************
CALCULATE LATTICE
Compute minimum and maximum lattice coordinates
depending on FEA geometry
*****************************************... | 32.72381 | 142 | 0.551222 | [
"geometry",
"vector",
"model"
] |
ba0f947fdd91a39a42e5ccdb0b8fbef43269e5c0 | 5,127 | cpp | C++ | pgadmin/hotdraw/main/hdDrawing.cpp | cjayho/pgadmin3 | df5f0b83175b4fb495bfcb4d4ce175def486c9df | [
"PostgreSQL"
] | 111 | 2015-01-02T15:39:46.000Z | 2022-01-08T05:08:20.000Z | pgadmin/hotdraw/main/hdDrawing.cpp | cjayho/pgadmin3 | df5f0b83175b4fb495bfcb4d4ce175def486c9df | [
"PostgreSQL"
] | 13 | 2015-07-08T20:26:20.000Z | 2019-06-17T12:45:35.000Z | pgadmin/hotdraw/main/hdDrawing.cpp | cjayho/pgadmin3 | df5f0b83175b4fb495bfcb4d4ce175def486c9df | [
"PostgreSQL"
] | 96 | 2015-03-11T14:06:44.000Z | 2022-02-07T10:04:45.000Z | //////////////////////////////////////////////////////////////////////////
//
// pgAdmin III - PostgreSQL Tools
//
// Copyright (C) 2002 - 2016, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
// hdDrawing.cpp - Main storage class for all objects of the diagram,
// their functi... | 20.841463 | 82 | 0.697094 | [
"model"
] |
ba144a4cb1d36082f830befd116aa303bce6e476 | 24,155 | cpp | C++ | src/irr/asset/CPLYMeshFileLoader.cpp | WieszKto/IrrlichtBAW | bcef8386c2ca7f06ff006b866c397035551a2351 | [
"Apache-2.0"
] | null | null | null | src/irr/asset/CPLYMeshFileLoader.cpp | WieszKto/IrrlichtBAW | bcef8386c2ca7f06ff006b866c397035551a2351 | [
"Apache-2.0"
] | null | null | null | src/irr/asset/CPLYMeshFileLoader.cpp | WieszKto/IrrlichtBAW | bcef8386c2ca7f06ff006b866c397035551a2351 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2009-2012 Gaz Davidson
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "IrrCompileConfig.h"
#ifdef _IRR_COMPILE_WITH_PLY_LOADER_
#include <numeric>
#include "CPLYMeshFileLoader.h"
#include "irr/asset/IMeshManipulat... | 26.001076 | 205 | 0.656593 | [
"mesh",
"vector"
] |
ba17eae96cdad7c78951cfca5f58e2c2f45ed63e | 13,091 | cpp | C++ | aten/src/ATen/core/boxing/KernelFunction_test.cpp | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | null | null | null | aten/src/ATen/core/boxing/KernelFunction_test.cpp | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | null | null | null | aten/src/ATen/core/boxing/KernelFunction_test.cpp | wenhaopeter/read_pytorch_code | 491f989cd918cf08874dd4f671fb7f0142a0bc4f | [
"Intel",
"X11"
] | null | null | null | #include <gtest/gtest.h>
#include <ATen/core/boxing/KernelFunction.h>
#include <ATen/core/boxing/impl/test_helpers.h>
#include <ATen/core/op_registration/op_registration.h>
using std::vector;
using std::tuple;
using c10::optional;
using c10::IValue;
using c10::OperatorKernel;
using c10::OperatorHandle;
using c10::Stac... | 44.376271 | 205 | 0.816286 | [
"vector"
] |
ba1b4cf72c79e9a47f799f3393459ece99d381bf | 8,207 | hpp | C++ | pe.ui.object.hpp | FSMargoo/PhotoEditor | 5fdefd31c3a972003cc3d84a482dcb9c719acab8 | [
"MIT"
] | null | null | null | pe.ui.object.hpp | FSMargoo/PhotoEditor | 5fdefd31c3a972003cc3d84a482dcb9c719acab8 | [
"MIT"
] | null | null | null | pe.ui.object.hpp | FSMargoo/PhotoEditor | 5fdefd31c3a972003cc3d84a482dcb9c719acab8 | [
"MIT"
] | null | null | null | /////////////////////////////////////////////////////
// pe.ui.obhect.h:
// @description : The basic head in UI kits
// @brith : 2022/1/24
//
#pragma once
#include "pe.ui.trigger.hpp"
#include <functional>
#include <map>
#ifdef _DEBUG
# include <time.h>
#endif
namespace PDotE
{
namespa... | 17.026971 | 82 | 0.516998 | [
"object"
] |
ba1c09090b77ca4278047bb665b2c919c879270a | 932 | cpp | C++ | 010958.cpp | anirudhkannanvp/UVA-OJ | e62029c2152f49c7e1229bd00be5309cce1352c8 | [
"MIT"
] | null | null | null | 010958.cpp | anirudhkannanvp/UVA-OJ | e62029c2152f49c7e1229bd00be5309cce1352c8 | [
"MIT"
] | null | null | null | 010958.cpp | anirudhkannanvp/UVA-OJ | e62029c2152f49c7e1229bd00be5309cce1352c8 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#include<bitset>
using namespace std;
typedef long long int ll;
typedef vector<int> vi;
ll _sieve_size;
bitset<1000000> bs;
vi primes;
void sieve(ll upper){
_sieve_size=upper+1;
bs.set();
bs[0]=bs[1]=0;
for(ll i=2;i<=_sieve_size;i++){
if(bs[i]){
for(ll j=2*i;j<=_sieve_size;j+... | 15.79661 | 72 | 0.51073 | [
"vector"
] |
ba1c2e8a9f044909b48bcf8081e282a098d6fb8e | 78,649 | cpp | C++ | code/model/modelinterp.cpp | SelfGamer/fs2open.github.com | 6a68300fccffa20f12cad45bb45325d8e43c364b | [
"Unlicense"
] | null | null | null | code/model/modelinterp.cpp | SelfGamer/fs2open.github.com | 6a68300fccffa20f12cad45bb45325d8e43c364b | [
"Unlicense"
] | null | null | null | code/model/modelinterp.cpp | SelfGamer/fs2open.github.com | 6a68300fccffa20f12cad45bb45325d8e43c364b | [
"Unlicense"
] | 1 | 2021-05-22T16:37:50.000Z | 2021-05-22T16:37:50.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.
*
*/
#define MODEL_LIB
#include "bmpman/bmpman.h"
#include "cmdline/cmdline... | 25.527102 | 217 | 0.679983 | [
"mesh",
"render",
"object",
"vector",
"model",
"3d"
] |
ba20b0abd7ef01064e5cfad4e9c3eabdb7a12a91 | 9,598 | cpp | C++ | template/diy/modules/log.cpp | cjryan/znc-openshift-manifest | 7874275a5d41e5a312d4ed77349f3b9d0b8f3b1e | [
"Apache-2.0"
] | 1 | 2015-03-21T07:19:24.000Z | 2015-03-21T07:19:24.000Z | modules/log.cpp | trisk/znc | 97207113d0e4cb3d8d73203b60bef8d88572f8b2 | [
"Apache-2.0"
] | null | null | null | modules/log.cpp | trisk/znc | 97207113d0e4cb3d8d73203b60bef8d88572f8b2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2004-2014 ZNC, see the NOTICE file for details.
* Copyright (C) 2006-2007, CNU <bshalm@broadpark.no> (http://cnu.dieplz.net/znc)
*
* 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 ... | 30.861736 | 175 | 0.677537 | [
"vector"
] |
ba20b8acdf719ef3984a96369222f19976d5a9eb | 4,475 | cc | C++ | src/bringup/bin/bootsvc/bootfs-loader-service-test.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/bringup/bin/bootsvc/bootfs-loader-service-test.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/bringup/bin/bootsvc/bootfs-loader-service-test.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/bringup/bin/bootsvc/bootfs-loader-service.h"
#include <lib/fit/defer.h>
#include <lib/zx/vmar.h>
#include <zircon/boot/bootfs.h>
#include <z... | 34.689922 | 100 | 0.712179 | [
"vector"
] |
ba251d4fa2bb4b39d828ac2bab93cdf157be5fc8 | 3,468 | cc | C++ | src/thirdparty/harfbuzz/src/hb-ot-shape-complex-syllabic.cc | devbrain/neutrino | 5e7cd7c93b5c264a5f1da6ae88312e14253de10d | [
"Apache-2.0"
] | null | null | null | src/thirdparty/harfbuzz/src/hb-ot-shape-complex-syllabic.cc | devbrain/neutrino | 5e7cd7c93b5c264a5f1da6ae88312e14253de10d | [
"Apache-2.0"
] | null | null | null | src/thirdparty/harfbuzz/src/hb-ot-shape-complex-syllabic.cc | devbrain/neutrino | 5e7cd7c93b5c264a5f1da6ae88312e14253de10d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright © 2021 Behdad Esfahbod.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above ... | 36.125 | 92 | 0.672145 | [
"shape"
] |
ba26ce6df43dcf2776623c25f56c156462d231c8 | 14,911 | cpp | C++ | FECore/FELinearConstraintManager.cpp | Scriptkiddi/FEBioStudio | b4cafde6b2761c9184e7e66451a9555b81a8a3dc | [
"MIT"
] | null | null | null | FECore/FELinearConstraintManager.cpp | Scriptkiddi/FEBioStudio | b4cafde6b2761c9184e7e66451a9555b81a8a3dc | [
"MIT"
] | null | null | null | FECore/FELinearConstraintManager.cpp | Scriptkiddi/FEBioStudio | b4cafde6b2761c9184e7e66451a9555b81a8a3dc | [
"MIT"
] | null | null | null | /*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2021 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining a... | 27.664193 | 196 | 0.560593 | [
"mesh",
"vector",
"model",
"solid"
] |
ba29ad277ed053c5d5d016687ae1e7d241951000 | 38,021 | cc | C++ | ns-allinone-3.35/ns-3.35/src/wifi/helper/wifi-helper.cc | usi-systems/cc | 487aa9e322b2b01b6af3a92e38545c119e4980a3 | [
"Apache-2.0"
] | null | null | null | ns-allinone-3.35/ns-3.35/src/wifi/helper/wifi-helper.cc | usi-systems/cc | 487aa9e322b2b01b6af3a92e38545c119e4980a3 | [
"Apache-2.0"
] | null | null | null | ns-allinone-3.35/ns-3.35/src/wifi/helper/wifi-helper.cc | usi-systems/cc | 487aa9e322b2b01b6af3a92e38545c119e4980a3 | [
"Apache-2.0"
] | null | null | null | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2008 INRIA
* Copyright (c) 2009 MIRKO BANCHI
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation... | 36.699807 | 151 | 0.653244 | [
"object",
"vector",
"model"
] |
ba2ad597cb56dba76c123323ac1355b84e433f12 | 16,661 | cpp | C++ | test/testbuilder.cpp | zqianem/pebble | 481c272bbb12ca1b16b776255cc9227696d3edef | [
"MIT"
] | 11 | 2020-07-08T19:53:09.000Z | 2021-09-12T03:44:24.000Z | test/testbuilder.cpp | zqianem/pebble | 481c272bbb12ca1b16b776255cc9227696d3edef | [
"MIT"
] | 18 | 2020-07-07T18:48:09.000Z | 2020-09-29T18:03:59.000Z | test/testbuilder.cpp | zqianem/pebble | 481c272bbb12ca1b16b776255cc9227696d3edef | [
"MIT"
] | 3 | 2020-07-09T01:10:27.000Z | 2020-08-27T22:43:15.000Z | #include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include <ctype.h>
#include <map>
// ---------------------------------------------------------------------------------------------------------------------
// TODO
// 1. Make 'ModifiedMethodCall' more robust
// 2.
// ------------------------... | 31.795802 | 138 | 0.52896 | [
"vector"
] |
ba3d24c4e15fa29d68d57c8130bb473b8b1745a5 | 15,987 | cc | C++ | chromium/mandoline/ui/desktop_ui/browser_window.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/mandoline/ui/desktop_ui/browser_window.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/mandoline/ui/desktop_ui/browser_window.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"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 "mandoline/ui/desktop_ui/browser_window.h"
#include <stdint.h>
#include <utility>
#include "base/command_line.h"
#include "base/macros.h"
#inc... | 34.678959 | 80 | 0.677238 | [
"geometry"
] |
ba458d58bbd994bf23b3b7caab908b2bb4bf04c9 | 4,020 | cpp | C++ | InSight/src/InSight/Shader/SSAOShader.cpp | I-Hudson/InSightEngine | a766c87a7be51a19ab796a81888fbbf93a8a43be | [
"Apache-2.0"
] | 3 | 2019-05-26T19:22:27.000Z | 2019-07-09T21:42:18.000Z | InSight/src/InSight/Shader/SSAOShader.cpp | I-Hudson/InSightEngine | a766c87a7be51a19ab796a81888fbbf93a8a43be | [
"Apache-2.0"
] | 15 | 2019-05-26T09:32:22.000Z | 2019-06-11T11:31:03.000Z | InSight/src/InSight/Shader/SSAOShader.cpp | I-Hudson/Insight-Engine | a766c87a7be51a19ab796a81888fbbf93a8a43be | [
"Apache-2.0"
] | null | null | null | #include "Shader/SSAOShader.h"
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <iostream>
#include <random>
#include "Utilities.h"
SSAOShader::SSAOShader()
{
}
SSAOShader::SSAOShader(const char* aVertexPath, const char* aControlpath, const char* aEvaluationpath,
const char* aGeometryPath, const char*... | 27.162162 | 139 | 0.70796 | [
"mesh",
"render"
] |
ba49d460cc5043945acec4efa08681f9a0db99b6 | 147,376 | cpp | C++ | source/Lib/EncoderLib/EncCu.cpp | jbrdbg/vvenc | f7c9b30b21e47a7af6109e940ab303e66944fa37 | [
"BSD-3-Clause"
] | null | null | null | source/Lib/EncoderLib/EncCu.cpp | jbrdbg/vvenc | f7c9b30b21e47a7af6109e940ab303e66944fa37 | [
"BSD-3-Clause"
] | null | null | null | source/Lib/EncoderLib/EncCu.cpp | jbrdbg/vvenc | f7c9b30b21e47a7af6109e940ab303e66944fa37 | [
"BSD-3-Clause"
] | null | null | null | /* -----------------------------------------------------------------------------
The copyright in this software is being made available under the BSD
License, included below. No patent rights, trademark rights and/or
other Intellectual Property Rights other than the copyrights concerning
the Software are granted unde... | 36.461158 | 270 | 0.627911 | [
"vector"
] |
ba544fb66bfed19f93f105865affc083f003c8b6 | 735 | cpp | C++ | cpp/9869.cpp | jinhan814/BOJ | 47d2a89a2602144eb08459cabac04d036c758577 | [
"MIT"
] | 9 | 2021-01-15T13:36:39.000Z | 2022-02-23T03:44:46.000Z | cpp/9869.cpp | jinhan814/BOJ | 47d2a89a2602144eb08459cabac04d036c758577 | [
"MIT"
] | 1 | 2021-07-31T17:11:26.000Z | 2021-08-02T01:01:03.000Z | cpp/9869.cpp | jinhan814/BOJ | 47d2a89a2602144eb08459cabac04d036c758577 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define fastio cin.tie(0)->sync_with_stdio(0)
using namespace std;
using pii = pair<int, int>;
struct UnionFind {
vector<int> par;
UnionFind(int n) : par(n) { iota(par.begin(), par.end(), 0); }
int Find(int x) { return x == par[x] ? x : par[x] = Find(par[x]); }
void Union(int ... | 27.222222 | 93 | 0.504762 | [
"vector"
] |
ba5b8ec63e148bb26f52f5d8282f4ef6ac3a040f | 5,903 | cpp | C++ | src/sdk/hl2_csgo/game/server/swarm/asw_mine.cpp | newcommerdontblame/ionlib | 47ca829009e1529f62b2134aa6c0df8673864cf3 | [
"MIT"
] | 51 | 2016-03-18T01:48:07.000Z | 2022-03-21T20:02:02.000Z | src/game/server/swarm/asw_mine.cpp | senny970/AlienSwarm | c5a2d3fa853c726d040032ff2c7b90c8ed8d5d84 | [
"Unlicense"
] | null | null | null | src/game/server/swarm/asw_mine.cpp | senny970/AlienSwarm | c5a2d3fa853c726d040032ff2c7b90c8ed8d5d84 | [
"Unlicense"
] | 26 | 2016-03-17T21:20:37.000Z | 2022-03-24T10:21:30.000Z | #include "cbase.h"
#include "asw_mine.h"
#include "Sprite.h"
#include "SpriteTrail.h"
#include "soundent.h"
#include "te_effect_dispatch.h"
#include "IEffects.h"
#include "weapon_flaregun.h"
#include "decals.h"
#include "ai_basenpc.h"
#include "asw_marine.h"
#include "asw_firewall_piece.h"
#include "asw_marine_skills.h... | 26.59009 | 194 | 0.734203 | [
"vector"
] |
ba6082347006dd0bf664cc5682ac9cef1a4966f9 | 497 | cc | C++ | factory-wrapped-object/hello.cc | juxiangwu/electron-node-addons | a271b600427a29daa3aac7ef4b77b4a4d3c09d6f | [
"Apache-2.0"
] | 2 | 2020-07-07T05:49:49.000Z | 2020-12-11T09:49:50.000Z | factory-wrapped-object/hello.cc | juxiangwu/electron-node-addons | a271b600427a29daa3aac7ef4b77b4a4d3c09d6f | [
"Apache-2.0"
] | null | null | null | factory-wrapped-object/hello.cc | juxiangwu/electron-node-addons | a271b600427a29daa3aac7ef4b77b4a4d3c09d6f | [
"Apache-2.0"
] | null | null | null | #include <node.h>
#include "myobject.h"
namespace demo {
using v8::FunctionCallbackInfo;
using v8::Isolate;
using v8::Local;
using v8::Object;
using v8::String;
using v8::Value;
void CreateObject(const FunctionCallbackInfo<Value>& args) {
MyObject::NewInstance(args);
}
void InitAll(Local<Object> exports, Local<Ob... | 19.88 | 60 | 0.746479 | [
"object"
] |
ba6130506ffb4c35079c0e9805ba81ddcb3f2c05 | 92 | cc | C++ | Part-III/Ch16/16.1.5/16.26.cc | RingZEROtlf/Cpp-Primer | bde40534eeca733350825c41f268415fdccb1cc3 | [
"MIT"
] | 1 | 2021-09-23T13:13:12.000Z | 2021-09-23T13:13:12.000Z | Part-III/Ch16/16.1.5/16.26.cc | RingZEROtlf/Cpp-Primer | bde40534eeca733350825c41f268415fdccb1cc3 | [
"MIT"
] | null | null | null | Part-III/Ch16/16.1.5/16.26.cc | RingZEROtlf/Cpp-Primer | bde40534eeca733350825c41f268415fdccb1cc3 | [
"MIT"
] | null | null | null | #include <vector>
using std::vector;
class NoDefault {};
template class vector<NoDefault>; | 15.333333 | 33 | 0.75 | [
"vector"
] |
ba63c2985d4b53fc75a1b7a9c4797fadf92f4125 | 5,594 | cc | C++ | libcef/common/command_line_impl.cc | emclient/cef | 84117f2d1be1ce54513290d835c4dcb79da750d4 | [
"BSD-3-Clause"
] | null | null | null | libcef/common/command_line_impl.cc | emclient/cef | 84117f2d1be1ce54513290d835c4dcb79da750d4 | [
"BSD-3-Clause"
] | null | null | null | libcef/common/command_line_impl.cc | emclient/cef | 84117f2d1be1ce54513290d835c4dcb79da750d4 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Embedded Framework 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 "libcef/common/command_line_impl.h"
#include "base/files/file_path.h"
#include "base/logging.h"
CefCommandLineImpl::CefC... | 32.149425 | 77 | 0.730247 | [
"object",
"vector"
] |
ba646cbf3ec863f0187edc178cf5935bbe6c3af0 | 8,684 | cpp | C++ | src/vk/buffer.cpp | wroblewskipawel/vulkan_sandbox | 8ff02cb07ef4357705f36d44200da0d1fd570469 | [
"MIT"
] | null | null | null | src/vk/buffer.cpp | wroblewskipawel/vulkan_sandbox | 8ff02cb07ef4357705f36d44200da0d1fd570469 | [
"MIT"
] | null | null | null | src/vk/buffer.cpp | wroblewskipawel/vulkan_sandbox | 8ff02cb07ef4357705f36d44200da0d1fd570469 | [
"MIT"
] | null | null | null | #include "vk/buffer.h"
#include <cstring>
#include "vk/context.h"
namespace vks {
StagingBuffer::StagingBuffer(Device& device, VkDeviceSize size)
: device{device}, m_size{size} {
VkBufferCreateInfo buffer_info{};
buffer_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO;
buffer_info.queueFamilyIndexCo... | 37.270386 | 80 | 0.700253 | [
"vector"
] |
ba677f72dbb6397306c7b220be792b7943861954 | 7,949 | cc | C++ | chrome/browser/sync/test/integration/single_client_workspace_desk_sync_test.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/sync/test/integration/single_client_workspace_desk_sync_test.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-03-13T10:32:53.000Z | 2019-03-13T11:05:30.000Z | chrome/browser/sync/test/integration/single_client_workspace_desk_sync_test.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 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 "ash/constants/ash_features.h"
#include "ash/public/cpp/desk_template.h"
#include "base/guid.h"
#include "base/test/bind.h"
#include "base/test/s... | 37.672986 | 81 | 0.741351 | [
"model"
] |
ba67f11c32a17dad152ba86e495b65b7aaa8013f | 8,539 | cpp | C++ | Gems/Atom/RHI/Vulkan/Code/Source/RHI/BufferPoolResolver.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-12T14:13:45.000Z | 2022-03-12T14:13:45.000Z | Gems/Atom/RHI/Vulkan/Code/Source/RHI/BufferPoolResolver.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 2 | 2022-01-13T04:29:38.000Z | 2022-03-12T01:05:31.000Z | Gems/Atom/RHI/Vulkan/Code/Source/RHI/BufferPoolResolver.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"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 <RHI/Buffer.h>
#include <RHI/BufferPool.h>
#include <RHI/BufferPoolResolver.h>
#include <R... | 42.909548 | 192 | 0.608034 | [
"vector",
"3d"
] |
ba6c9ce89a8969bba822102278d7c9888339afca | 5,879 | cpp | C++ | export/release/windows/obj/src/Control.cpp | Plain-bot/BEAR-SRC | e817b352446c29e01ca6dd314a9c76edd41aa43e | [
"Apache-2.0"
] | null | null | null | export/release/windows/obj/src/Control.cpp | Plain-bot/BEAR-SRC | e817b352446c29e01ca6dd314a9c76edd41aa43e | [
"Apache-2.0"
] | null | null | null | export/release/windows/obj/src/Control.cpp | Plain-bot/BEAR-SRC | e817b352446c29e01ca6dd314a9c76edd41aa43e | [
"Apache-2.0"
] | null | null | null | // Generated by Haxe 4.1.5
#include <hxcpp.h>
#ifndef INCLUDED_Control
#include <Control.h>
#endif
::Control Control_obj::ACCEPT;
::Control Control_obj::BACK;
::Control Control_obj::NOTE_DOWN;
::Control Control_obj::NOTE_LEFT;
::Control Control_obj::NOTE_RIGHT;
::Control Control_obj::NOTE_UP;
::Control Control_... | 37.929032 | 135 | 0.689233 | [
"3d"
] |
ba6ed1e18f0eabbabf86fa3a5df79111fd73560c | 2,513 | cpp | C++ | Vectors.cpp | sidd5sci/Vectors | 6451ea3d9acaf0c81af994e90ff22f3995044a8a | [
"Apache-2.0"
] | null | null | null | Vectors.cpp | sidd5sci/Vectors | 6451ea3d9acaf0c81af994e90ff22f3995044a8a | [
"Apache-2.0"
] | null | null | null | Vectors.cpp | sidd5sci/Vectors | 6451ea3d9acaf0c81af994e90ff22f3995044a8a | [
"Apache-2.0"
] | null | null | null | /* Copyright 2018 Siddhartha singh sidd5sci@gmail.com
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... | 24.398058 | 75 | 0.54238 | [
"vector"
] |
ba6ef10f830d44dd52ac01eca51f1034f4bb8947 | 13,470 | cpp | C++ | Source/Voxel/Private/VoxelRender/Renderers/VoxelRendererClusteredMeshHandler.cpp | RobertBiehl/VoxelPlugin | 49abc94261b3d93c9d8fe392a3731b6d09100941 | [
"MIT"
] | null | null | null | Source/Voxel/Private/VoxelRender/Renderers/VoxelRendererClusteredMeshHandler.cpp | RobertBiehl/VoxelPlugin | 49abc94261b3d93c9d8fe392a3731b6d09100941 | [
"MIT"
] | null | null | null | Source/Voxel/Private/VoxelRender/Renderers/VoxelRendererClusteredMeshHandler.cpp | RobertBiehl/VoxelPlugin | 49abc94261b3d93c9d8fe392a3731b6d09100941 | [
"MIT"
] | null | null | null | // Copyright 2020 Phyronnaz
#include "VoxelRendererClusteredMeshHandler.h"
#include "VoxelRender/IVoxelRenderer.h"
#include "VoxelRender/VoxelProceduralMeshComponent.h"
#include "VoxelRender/VoxelChunkMaterials.h"
#include "VoxelRender/VoxelChunkMesh.h"
#include "VoxelRender/VoxelProcMeshBuffers.h"
#include "VoxelDebu... | 30.965517 | 149 | 0.746696 | [
"mesh",
"render"
] |
ba71fa6140a68d30347b4a7ccbe78c02928fa5f6 | 2,335 | cpp | C++ | test/structure/container/binary_heap_test.cpp | plamenko/altruct | e16fc162043933fbe282fe01a44e0c908df4f612 | [
"MIT"
] | 66 | 2016-10-18T20:37:09.000Z | 2021-11-28T09:56:41.000Z | test/structure/container/binary_heap_test.cpp | plamenko/altruct | e16fc162043933fbe282fe01a44e0c908df4f612 | [
"MIT"
] | null | null | null | test/structure/container/binary_heap_test.cpp | plamenko/altruct | e16fc162043933fbe282fe01a44e0c908df4f612 | [
"MIT"
] | 4 | 2018-02-11T17:56:03.000Z | 2019-01-18T15:41:15.000Z | #include "altruct/structure/container/binary_heap.h"
#include "altruct/algorithm/collections/collections.h"
#include "altruct/io/iostream_overloads.h"
#include "gtest/gtest.h"
using namespace std;
using namespace altruct::container;
using namespace altruct::collections;
namespace {
template<typename... | 27.151163 | 96 | 0.5606 | [
"vector"
] |
ba740017c24c839f042cd710fccbc0162e79e345 | 8,158 | cpp | C++ | Source/Falcor/Scene/Material/StandardMaterial.cpp | mistralk/Falcor | 49621cc8484bdd5887886b191c2dbde91693ec6a | [
"BSD-3-Clause"
] | null | null | null | Source/Falcor/Scene/Material/StandardMaterial.cpp | mistralk/Falcor | 49621cc8484bdd5887886b191c2dbde91693ec6a | [
"BSD-3-Clause"
] | null | null | null | Source/Falcor/Scene/Material/StandardMaterial.cpp | mistralk/Falcor | 49621cc8484bdd5887886b191c2dbde91693ec6a | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************************
# Copyright (c) 2015-21, NVIDIA CORPORATION. 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... | 44.824176 | 226 | 0.664624 | [
"render",
"model"
] |
ba76e5f9bcb27f79a85e9dc562a439f3274f1b3d | 10,074 | cpp | C++ | rclcpp/src/rclcpp/subscription_base.cpp | devrite/rclcpp | d5f3d35fbe3127e30d4ee9d40f57c42584eeb830 | [
"Apache-2.0"
] | 2 | 2021-01-28T12:29:28.000Z | 2021-06-14T08:26:33.000Z | rclcpp/src/rclcpp/subscription_base.cpp | devrite/rclcpp | d5f3d35fbe3127e30d4ee9d40f57c42584eeb830 | [
"Apache-2.0"
] | null | null | null | rclcpp/src/rclcpp/subscription_base.cpp | devrite/rclcpp | d5f3d35fbe3127e30d4ee9d40f57c42584eeb830 | [
"Apache-2.0"
] | 3 | 2021-09-07T12:09:45.000Z | 2021-10-06T02:39:56.000Z | // Copyright 2015 Open Source Robotics Foundation, 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 appli... | 30.713415 | 97 | 0.749454 | [
"vector"
] |
ba7879232081c60c692ba8bece714d686719290f | 2,730 | cpp | C++ | src/shogun/structure/MulticlassSOLabels.cpp | srgnuclear/shogun | 33c04f77a642416376521b0cd1eed29b3256ac13 | [
"Ruby",
"MIT"
] | 1 | 2015-11-05T18:31:14.000Z | 2015-11-05T18:31:14.000Z | src/shogun/structure/MulticlassSOLabels.cpp | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | src/shogun/structure/MulticlassSOLabels.cpp | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | /*
* 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 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2013 Thoralf Klein
* Written (W) 2012 Fernando... | 24.375 | 79 | 0.727473 | [
"vector"
] |
ba8c40832804f6b4fdd4bcd1c3f77c1fa14fdfff | 12,599 | cpp | C++ | proxygen/lib/http/codec/compress/experimental/interop/QPACKInterop.cpp | rohitm17/proxygen | efdf2800afa8fe6e969bcd5eede78aa5b96aec82 | [
"BSD-3-Clause"
] | null | null | null | proxygen/lib/http/codec/compress/experimental/interop/QPACKInterop.cpp | rohitm17/proxygen | efdf2800afa8fe6e969bcd5eede78aa5b96aec82 | [
"BSD-3-Clause"
] | null | null | null | proxygen/lib/http/codec/compress/experimental/interop/QPACKInterop.cpp | rohitm17/proxygen | efdf2800afa8fe6e969bcd5eede78aa5b96aec82 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... | 29.926366 | 89 | 0.577189 | [
"vector"
] |
ba8dd5ee031cd14a5a7429ecd79683dc7937b69d | 27,932 | cpp | C++ | PhysX-3.2.4_PC_SDK_Core/Samples/SampleBase/RenderPhysX3Debug.cpp | JayStilla/AIEPhysics | d3e45c1bbe44987a96ed12781ef9781fba06bcfa | [
"MIT"
] | null | null | null | PhysX-3.2.4_PC_SDK_Core/Samples/SampleBase/RenderPhysX3Debug.cpp | JayStilla/AIEPhysics | d3e45c1bbe44987a96ed12781ef9781fba06bcfa | [
"MIT"
] | null | null | null | PhysX-3.2.4_PC_SDK_Core/Samples/SampleBase/RenderPhysX3Debug.cpp | JayStilla/AIEPhysics | d3e45c1bbe44987a96ed12781ef9781fba06bcfa | [
"MIT"
] | null | null | null | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | 30.229437 | 180 | 0.660569 | [
"mesh",
"geometry",
"vector",
"transform"
] |
ba8f1693b34b51aa384bab8236c96aed8380bf06 | 1,480 | c++ | C++ | tempCodeRunnerFile.c++ | Sambitcr-7/DSA-C- | f3c80f54fa6160a99f39a934f330cdf40711de50 | [
"Apache-2.0"
] | null | null | null | tempCodeRunnerFile.c++ | Sambitcr-7/DSA-C- | f3c80f54fa6160a99f39a934f330cdf40711de50 | [
"Apache-2.0"
] | null | null | null | tempCodeRunnerFile.c++ | Sambitcr-7/DSA-C- | f3c80f54fa6160a99f39a934f330cdf40711de50 | [
"Apache-2.0"
] | null | null | null | #include"bits/stdc++.h"
using namespace std;
#define vi vector<int>
#define vvi vector<vi>
#define pii pair<int,int>
#define vii vector<pii>
#define rep(i,a,b) for(int i=a; i<b; i++)
#define ff first
#define ss second
#define setBits(x) builtin_popcount(x)
const int N = 1e3+2 ;
// int dp[N][N];
//... | 18.271605 | 63 | 0.371622 | [
"vector"
] |
ba8f319c1bfafdb336c74e60ac7c71ce8de3f1a1 | 960 | cpp | C++ | modules/sksg/src/SkSGGeometryNode.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | modules/sksg/src/SkSGGeometryNode.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | modules/sksg/src/SkSGGeometryNode.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "modules/sksg/include/SkSGGeometryNode.h"
#include "include/core/SkPath.h"
namespace sksg {
// Geometry nodes don't generate damage on their own, but via their agg... | 25.263158 | 100 | 0.709375 | [
"geometry"
] |
ba91a0495746b7ab4458cb4b2ba72a536d4026af | 10,137 | tcc | C++ | libiop/relations/r1cs.tcc | alexander-zw/libiop | a2ed2ec2f3e85f29b6035951553b02cb737c817a | [
"MIT"
] | null | null | null | libiop/relations/r1cs.tcc | alexander-zw/libiop | a2ed2ec2f3e85f29b6035951553b02cb737c817a | [
"MIT"
] | null | null | null | libiop/relations/r1cs.tcc | alexander-zw/libiop | a2ed2ec2f3e85f29b6035951553b02cb737c817a | [
"MIT"
] | null | null | null | /** @file
*****************************************************************************
Declaration of interfaces for:
- a R1CS constraint,
- a R1CS variable assignment, and
- a R1CS constraint system.
See r1cs.hpp .
*****************************************************************************
* @author ... | 33.455446 | 137 | 0.637072 | [
"vector"
] |
ba924cb9cc0e0e17543614b871998b4ae1c0292a | 1,195 | cpp | C++ | src/pipeline/node/XLinkIn.cpp | diablodale/depthai-core | 9f5d0861c07fea580c652f435c7e1422473ae079 | [
"MIT"
] | null | null | null | src/pipeline/node/XLinkIn.cpp | diablodale/depthai-core | 9f5d0861c07fea580c652f435c7e1422473ae079 | [
"MIT"
] | null | null | null | src/pipeline/node/XLinkIn.cpp | diablodale/depthai-core | 9f5d0861c07fea580c652f435c7e1422473ae079 | [
"MIT"
] | null | null | null | #include "depthai/pipeline/node/XLinkIn.hpp"
namespace dai {
namespace node {
XLinkIn::XLinkIn(const std::shared_ptr<PipelineImpl>& par, int64_t nodeId) : Node(par, nodeId) {}
std::string XLinkIn::getName() const {
return "XLinkIn";
}
std::vector<Node::Input> XLinkIn::getInputs() {
return {};
}
std::vector... | 21.339286 | 97 | 0.702929 | [
"vector"
] |
ba9a3a18c2780667327568b6b16291e873741c39 | 5,969 | cc | C++ | tensorflow/contrib/tensor_forest/core/ops/training_ops_test.cc | waitingkuo/tensorflow | ce3572a08b9ecfa5c8dd94921c2011f37b58e608 | [
"Apache-2.0"
] | 1 | 2019-05-17T03:23:15.000Z | 2019-05-17T03:23:15.000Z | tensorflow/contrib/tensor_forest/core/ops/training_ops_test.cc | waitingkuo/tensorflow | ce3572a08b9ecfa5c8dd94921c2011f37b58e608 | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/tensor_forest/core/ops/training_ops_test.cc | waitingkuo/tensorflow | ce3572a08b9ecfa5c8dd94921c2011f37b58e608 | [
"Apache-2.0"
] | 1 | 2016-08-22T11:33:35.000Z | 2016-08-22T11:33:35.000Z | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is d... | 41.451389 | 80 | 0.551516 | [
"shape"
] |
ba9ed6e30372db09884a7501e6f3f9d36077ef9e | 9,893 | cpp | C++ | intern/ghost/intern/GHOST_EventPrinter.cpp | juangea/B28_boneMaster | 6be9d19951ed460829d379aa90953b14a9f281f2 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 3 | 2019-09-16T10:29:19.000Z | 2022-02-11T14:43:18.000Z | intern/ghost/intern/GHOST_EventPrinter.cpp | juangea/B28_boneMaster | 6be9d19951ed460829d379aa90953b14a9f281f2 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | intern/ghost/intern/GHOST_EventPrinter.cpp | juangea/B28_boneMaster | 6be9d19951ed460829d379aa90953b14a9f281f2 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2019-09-05T05:11:15.000Z | 2019-09-05T05:11:15.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... | 30.533951 | 99 | 0.601739 | [
"object"
] |
ba9f020df8ea78ebbc363ea828d2b1297e3a0ec1 | 48,922 | cpp | C++ | legacy/btmux-gluereimpl/funmath.cpp | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-07-09T17:37:42.000Z | 2020-07-09T17:37:42.000Z | legacy/btmux-gluereimpl/funmath.cpp | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | legacy/btmux-gluereimpl/funmath.cpp | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-11-07T00:02:47.000Z | 2020-11-07T00:02:47.000Z | // funmath.cpp -- MUX math function handlers.
//
// $Id: funmath.cpp,v 1.3 2005/07/14 04:40:54 rmg Exp $
//
// MUX 2.4
// Copyright (C) 1998 through 2005 Solid Vertical Domains, Ltd. All
// rights not explicitly given are reserved.
//
#include "copyright.h"
#include "autoconf.h"
#include "config.h"
#include ... | 21.504176 | 84 | 0.469727 | [
"vector",
"solid"
] |
baa30105318efc141c121e4d054b331268fb3e23 | 8,646 | cpp | C++ | src/scoring.cpp | kkrismer/transite | 2e69b44c949e2337e71c13d75207623f81ae9bc3 | [
"MIT"
] | 6 | 2019-03-27T13:02:26.000Z | 2021-07-12T21:25:29.000Z | src/scoring.cpp | kkrismer/transite | 2e69b44c949e2337e71c13d75207623f81ae9bc3 | [
"MIT"
] | 3 | 2019-02-19T09:01:35.000Z | 2021-01-07T14:50:33.000Z | src/scoring.cpp | kkrismer/transite | 2e69b44c949e2337e71c13d75207623f81ae9bc3 | [
"MIT"
] | 1 | 2019-11-26T19:02:42.000Z | 2019-11-26T19:02:42.000Z | // [[Rcpp::plugins(cpp11)]]
#include <Rcpp.h>
#include <random>
#include <algorithm>
//' @title Score Sequences with PWM
//'
//' @description
//' C++ implementation of PWM scoring algorithm
//'
//' @param sequences list of sequences
//' @param pwm position weight matrix
//'
//' @return list of PWM scores for each seq... | 38.256637 | 172 | 0.589174 | [
"vector"
] |
baa35fc45ab3b8f15fd2549093cb61762cbfa0c7 | 4,326 | cpp | C++ | Sourcecode/mxtest/core/SystemLayoutTest.cpp | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | Sourcecode/mxtest/core/SystemLayoutTest.cpp | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | Sourcecode/mxtest/core/SystemLayoutTest.cpp | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | // MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#include "mxtest/control/CompileControl.h"
#ifdef MX_COMPILE_CORE_TESTS
#include "cpul/cpulTestHarness.h"
#include "mxtest/core/HelperFunctions.h"
#include "mxtest/core/SystemLayoutTest.h"
#include "mxtest/core/Sys... | 31.576642 | 91 | 0.550855 | [
"object"
] |
baad88128c2e2688f3e694fa508ff53625bcfafb | 12,352 | cc | C++ | src/elle/cryptography/envelope.cc | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 521 | 2016-02-14T00:39:01.000Z | 2022-03-01T22:39:25.000Z | src/elle/cryptography/envelope.cc | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 8 | 2017-02-21T11:47:33.000Z | 2018-11-01T09:37:14.000Z | src/elle/cryptography/envelope.cc | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 48 | 2017-02-21T10:18:13.000Z | 2022-03-25T02:35:20.000Z | #include <elle/cryptography/fwd.hh>
#include <openssl/crypto.h>
#include <openssl/engine.h>
#include <openssl/err.h>
#include <openssl/hmac.h>
#include <openssl/rand.h>
#include <openssl/evp.h>
#include <elle/Buffer.hh>
#include <elle/log.hh>
#include <elle/serialization/binary.hh>
#include <elle/cryptography/Cipher... | 36.982036 | 80 | 0.538617 | [
"vector"
] |
baaf7ccfed16ac6e1491af15c82d0b64af2f6db1 | 476 | cpp | C++ | SubstituicaoDePaginas/main.cpp | Spoock01/SubstituicaoDePaginas | 9e35c842d2f385eba2cae3e3fffa8abb2786845b | [
"MIT"
] | null | null | null | SubstituicaoDePaginas/main.cpp | Spoock01/SubstituicaoDePaginas | 9e35c842d2f385eba2cae3e3fffa8abb2786845b | [
"MIT"
] | null | null | null | SubstituicaoDePaginas/main.cpp | Spoock01/SubstituicaoDePaginas | 9e35c842d2f385eba2cae3e3fffa8abb2786845b | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include "Utils.h"
#include "Fifo.h"
#include "OtmAlgorithm.h"
#include "Lru.h"
using namespace std;
const string PATH = "arquivo.txt";
int main()
{
openFile(PATH);
int size = getQuadros();
vector<int> arr = getArray();
Fifo *fifo = new Fifo(size, arr);
fi... | 17.62963 | 52 | 0.621849 | [
"vector"
] |
baaff614c12ea5ba52a1bb9f16d62f343d4725e6 | 24,468 | cpp | C++ | ImportExport/KafkaImporter.cpp | 4ertus2/omniscidb | 4f4a11148f0f1f3548da16eff6ca0988a2ac1b2c | [
"Apache-2.0"
] | 1 | 2022-03-11T04:01:30.000Z | 2022-03-11T04:01:30.000Z | ImportExport/KafkaImporter.cpp | 4ertus2/omniscidb | 4f4a11148f0f1f3548da16eff6ca0988a2ac1b2c | [
"Apache-2.0"
] | null | null | null | ImportExport/KafkaImporter.cpp | 4ertus2/omniscidb | 4f4a11148f0f1f3548da16eff6ca0988a2ac1b2c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 OmniSci, 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 t... | 33.244565 | 90 | 0.56343 | [
"vector",
"transform"
] |
3bf96cb2a2e9429ddd5a29aae751194c1d462455 | 5,691 | cpp | C++ | AircoreCS.cpp | alancoolhand/AircoreCS | 011f37599000dbd418e9ee3a64af96e78c14a192 | [
"BSD-2-Clause"
] | null | null | null | AircoreCS.cpp | alancoolhand/AircoreCS | 011f37599000dbd418e9ee3a64af96e78c14a192 | [
"BSD-2-Clause"
] | null | null | null | AircoreCS.cpp | alancoolhand/AircoreCS | 011f37599000dbd418e9ee3a64af96e78c14a192 | [
"BSD-2-Clause"
] | 1 | 2020-10-16T13:59:07.000Z | 2020-10-16T13:59:07.000Z | /*
* Aircore CS4192 gauge driver Arduino Library
* Alan Locatelli - 2015
* Licensed under the BSD2 license, see license.txt for details.
* contains portions of code from
* SwitecX25 Arduino Library
* Guy Carpenter, Clearwater Software - 2012
* Licensed under the BSD2 license, see license.txt for details.
... | 25.986301 | 135 | 0.661922 | [
"model"
] |
3bfe435e9d3dfb4c9a235d24e7b766d0f5eab71f | 431 | cpp | C++ | old_codes/fibonacci2.cpp | tanishq1g/cp_codes | 80b8ccc9e195a66d6d317076fdd54a02cd21275b | [
"MIT"
] | null | null | null | old_codes/fibonacci2.cpp | tanishq1g/cp_codes | 80b8ccc9e195a66d6d317076fdd54a02cd21275b | [
"MIT"
] | null | null | null | old_codes/fibonacci2.cpp | tanishq1g/cp_codes | 80b8ccc9e195a66d6d317076fdd54a02cd21275b | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <cstring>
#include <algorithm>
#include <ctime>
using namespace std;
int main() {
int n;
cin>>n;
clock_t start=clock();
int f[n];
f[0]=0;
f[1]=1;
for (int i = 2; i < n; ++i)
{
f[i]=(f[i-1]+f[i-2])%100;
}
cout<<"ans-"<<... | 15.392857 | 63 | 0.587007 | [
"vector"
] |
3bfe8ca45fd09b24272654be41f13556081c88db | 35,120 | cpp | C++ | libgraph/src/GraphTopology.cpp | origandrew/katana | 456d64cf48a9d474dc35fb17e4d841bfa7a2f383 | [
"BSD-3-Clause"
] | null | null | null | libgraph/src/GraphTopology.cpp | origandrew/katana | 456d64cf48a9d474dc35fb17e4d841bfa7a2f383 | [
"BSD-3-Clause"
] | null | null | null | libgraph/src/GraphTopology.cpp | origandrew/katana | 456d64cf48a9d474dc35fb17e4d841bfa7a2f383 | [
"BSD-3-Clause"
] | null | null | null | #include "katana/GraphTopology.h"
#include <math.h>
#include <iostream>
#include "katana/Logging.h"
#include "katana/PropertyGraph.h"
#include "katana/RDGTopology.h"
#include "katana/Random.h"
#include "katana/Result.h"
katana::GraphTopology::~GraphTopology() = default;
void
katana::GraphTopology::Print() const no... | 36.431535 | 103 | 0.698007 | [
"vector"
] |
ce03c99a058cc8d7f21333dd38ab8620fed70c76 | 4,595 | cpp | C++ | Core/SymbolData.cpp | RyanDwyer/armips | 8eb7bf068c3350e67b16e605655cc6598c28ff52 | [
"MIT"
] | 1 | 2017-03-24T12:19:07.000Z | 2017-03-24T12:19:07.000Z | Core/SymbolData.cpp | RyanDwyer/armips | 8eb7bf068c3350e67b16e605655cc6598c28ff52 | [
"MIT"
] | null | null | null | Core/SymbolData.cpp | RyanDwyer/armips | 8eb7bf068c3350e67b16e605655cc6598c28ff52 | [
"MIT"
] | null | null | null | #include "SymbolData.h"
#include "Core/Common.h"
#include "Core/Misc.h"
#include "FileManager.h"
#include <algorithm>
SymbolData::SymbolData()
{
clear();
}
void SymbolData::clear()
{
enabled = true;
nocashSymFileName.clear();
modules.clear();
files.clear();
currentModule = 0;
currentFunction = -1;
SymData... | 19.470339 | 97 | 0.665724 | [
"vector",
"transform"
] |
ce051589baf2e19196124d588e888d60a526e5e4 | 27,244 | cc | C++ | src/search/thts.cc | thomaskeller79/exhaustive-mdp | bf52164f96abd13c88870677b8b215f5f79e195a | [
"MIT"
] | 26 | 2019-10-18T16:04:34.000Z | 2022-02-22T13:38:31.000Z | src/search/thts.cc | thomaskeller79/exhaustive-mdp | bf52164f96abd13c88870677b8b215f5f79e195a | [
"MIT"
] | 69 | 2019-10-18T10:19:13.000Z | 2021-07-19T06:51:51.000Z | src/search/thts.cc | thomaskeller79/exhaustive-mdp | bf52164f96abd13c88870677b8b215f5f79e195a | [
"MIT"
] | 14 | 2019-12-26T06:17:03.000Z | 2022-01-30T09:18:16.000Z | #include "thts.h"
#include "action_selection.h"
#include "backup_function.h"
#include "initializer.h"
#include "outcome_selection.h"
#include "recommendation_function.h"
#include "utils/logger.h"
#include "utils/system_utils.h"
#include <sstream>
std::string SearchNode::toString() const {
std::stringstream ss;
... | 33.717822 | 92 | 0.632653 | [
"vector"
] |
ce05d706ac3f26815f59bd1523883ed4fbc751a0 | 5,686 | cpp | C++ | test/tests/TestTokenisers.cpp | hjabird/Quad1D | 4f0291bc729ac689df64d0366e8947b12af28684 | [
"MIT"
] | null | null | null | test/tests/TestTokenisers.cpp | hjabird/Quad1D | 4f0291bc729ac689df64d0366e8947b12af28684 | [
"MIT"
] | null | null | null | test/tests/TestTokenisers.cpp | hjabird/Quad1D | 4f0291bc729ac689df64d0366e8947b12af28684 | [
"MIT"
] | null | null | null | #include <HBTK/Token.h>
#include <HBTK/BasicTokeniser.h>
#include <catch2/catch.hpp>
/*////////////////////////////////////////////////////////////////////////////
TestTokeniser.cpp
Test Tokeniser and Tokens.
Copyright 2018 HJA Bird
Permission is hereby granted, free of charge, to any person obtaining a copy
of this... | 31.765363 | 78 | 0.658284 | [
"shape",
"vector"
] |
ce069a78186b8576a5150dcf90fc0b1245a1fe36 | 2,379 | cc | C++ | src/relay/op/vision/multibox_op.cc | headupinclouds/tvm | 5c410c4c31aff07b063d3c95123261af003ab33d | [
"Apache-2.0"
] | 4 | 2018-09-11T05:50:03.000Z | 2022-01-23T03:43:22.000Z | src/relay/op/vision/multibox_op.cc | jaisimhamanipatruni/tvm | af1fcf974326444d12d0b055f9955a03fd5ebbb7 | [
"Apache-2.0"
] | 3 | 2018-09-14T05:27:13.000Z | 2021-01-06T17:27:58.000Z | src/relay/op/vision/multibox_op.cc | jaisimhamanipatruni/tvm | af1fcf974326444d12d0b055f9955a03fd5ebbb7 | [
"Apache-2.0"
] | 4 | 2018-09-10T23:43:51.000Z | 2019-06-14T16:27:23.000Z | /*!
* Copyright (c) 2018 by Contributors
* \file multibox_op.cc
* \brief Multibox related operators
*/
#include <tvm/relay/op.h>
#include <tvm/relay/attrs/vision.h>
#include <vector>
namespace tvm {
namespace relay {
TVM_REGISTER_NODE_TYPE(MultiBoxPriorAttrs);
bool MultiboxPriorRel(const Array<Type>& types,
... | 32.148649 | 75 | 0.663304 | [
"shape",
"vector"
] |
ce097c4598df7700f141c943c4eb82d07a1fcb2b | 687 | cpp | C++ | prime_number/arc116_a.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | prime_number/arc116_a.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | prime_number/arc116_a.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
using Graph = vector<vector<int>>;
// 素因数分解したときの偶数(2)に注目
// 素数は2以外は全て奇数
// 2が0個 (n % 4 == 1 || n % 4 == 3) なら奇数が多い
// 2が1個 (n % 4 == 2) なら偶数と奇数が同じ数
// 2が2個以上 (n % 4 == 0) なら偶数が多... | 19.628571 | 55 | 0.497817 | [
"vector"
] |
ce09b4d85a2fce7de6dff263467e207c78f40c77 | 1,861 | hpp | C++ | pwiz/data/vendor_readers/Waters/Reader_Waters_Detail.hpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz/data/vendor_readers/Waters/Reader_Waters_Detail.hpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz/data/vendor_readers/Waters/Reader_Waters_Detail.hpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | //
// $Id$
//
//
// Original author: Matt Chambers <matt.chambers .@. vanderbilt.edu>
//
// Copyright 2009 Vanderbilt University - Nashville, TN 37232
//
// 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 c... | 31.542373 | 107 | 0.76518 | [
"vector"
] |
ce0c4c021eeded7273bc3db7e7a84e09c483d8c4 | 9,421 | hpp | C++ | src/Base/ResultsHelpers/HeterogeneousContainer.hpp | PhilipVinc/PincoSimulator | 562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3 | [
"MIT"
] | 1 | 2017-10-23T13:22:01.000Z | 2017-10-23T13:22:01.000Z | src/Base/ResultsHelpers/HeterogeneousContainer.hpp | PhilipVinc/PincoSimulator | 562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3 | [
"MIT"
] | null | null | null | src/Base/ResultsHelpers/HeterogeneousContainer.hpp | PhilipVinc/PincoSimulator | 562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3 | [
"MIT"
] | null | null | null | //
// Created by Filippo Vicentini on 12/03/2018.
//
#ifndef SIMULATOR_HETEROGENEOUSCONTAINER_HPP
#define SIMULATOR_HETEROGENEOUSCONTAINER_HPP
#include <array>
#include <vector>
#include <tuple>
#include <functional>
#include <iostream>
#include <typeindex>
#include <map>
#include <array>
#ifdef MPI_SUPPORT
#include... | 33.52669 | 138 | 0.614054 | [
"object",
"vector"
] |
ce0cd9dc025a1642749f031125af2fb1479c79ee | 806 | cc | C++ | tvm/src/codegen/llvm/codegen_arm.cc | zzzDavid/heterocl | 977aae575d54a30c5bf6d869e8f71bdc815cf7e9 | [
"Apache-2.0"
] | 236 | 2019-05-19T01:48:11.000Z | 2022-03-31T09:03:54.000Z | tvm/src/codegen/llvm/codegen_arm.cc | zzzDavid/heterocl | 977aae575d54a30c5bf6d869e8f71bdc815cf7e9 | [
"Apache-2.0"
] | 248 | 2019-05-17T19:18:36.000Z | 2022-03-30T21:25:47.000Z | tvm/src/codegen/llvm/codegen_arm.cc | AlgaPeng/heterocl-2 | b5197907d1fe07485466a63671a2a906a861c939 | [
"Apache-2.0"
] | 85 | 2019-05-17T20:09:27.000Z | 2022-02-28T20:19:00.000Z | /*!
* Copyright (c) 2017 by Contributors
* \file codegen_arm.cc
* \brief ARM specific code generator
*/
#ifdef TVM_LLVM_VERSION
#include "./codegen_cpu.h"
namespace TVM {
namespace codegen {
// ARM specific code generator, this is used as an example on
// how to override behavior llvm code generator for specific... | 25.1875 | 67 | 0.69727 | [
"vector"
] |
ce0f47b21e69d9a70bb4dd94c8c65fd3f5ae3d1d | 7,261 | cpp | C++ | compiler/enco/frontend/tflite/src/Op/Concatenation.cpp | bogus-sudo/ONE-1 | 7052a817eff661ec2854ed2e7ee0de5e8ba82b55 | [
"Apache-2.0"
] | 255 | 2020-05-22T07:45:29.000Z | 2022-03-29T23:58:22.000Z | compiler/enco/frontend/tflite/src/Op/Concatenation.cpp | bogus-sudo/ONE-1 | 7052a817eff661ec2854ed2e7ee0de5e8ba82b55 | [
"Apache-2.0"
] | 5,102 | 2020-05-22T07:48:33.000Z | 2022-03-31T23:43:39.000Z | compiler/enco/frontend/tflite/src/Op/Concatenation.cpp | bogus-sudo/ONE-1 | 7052a817eff661ec2854ed2e7ee0de5e8ba82b55 | [
"Apache-2.0"
] | 120 | 2020-05-22T07:51:08.000Z | 2022-02-16T19:08:05.000Z | /*
* Copyright (c) 2018 Samsung Electronics Co., Ltd. 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... | 28.699605 | 91 | 0.668503 | [
"object",
"shape",
"vector"
] |
ce0fe8454c56dfc8cee63972000d2e6cb571ed5f | 1,508 | cxx | C++ | com/netfx/src/framework/xsp/isapi/timeclass.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/netfx/src/framework/xsp/isapi/timeclass.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/netfx/src/framework/xsp/isapi/timeclass.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /**
* Process Model: TimeClass defn file
*
* Copyright (c) 1999 Microsoft Corporation
*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////... | 25.559322 | 78 | 0.321618 | [
"model"
] |
ce19f89e6563d4c50356f222d8cdf2b0b1c744fc | 1,774 | cpp | C++ | editor/echo/Editor/Logic/Operation/Operations/OperationTranslate.cpp | dulingzhi/echo | de7ee416c49e1494a008e0a818155d6d0f6d5a7a | [
"MIT"
] | null | null | null | editor/echo/Editor/Logic/Operation/Operations/OperationTranslate.cpp | dulingzhi/echo | de7ee416c49e1494a008e0a818155d6d0f6d5a7a | [
"MIT"
] | null | null | null | editor/echo/Editor/Logic/Operation/Operations/OperationTranslate.cpp | dulingzhi/echo | de7ee416c49e1494a008e0a818155d6d0f6d5a7a | [
"MIT"
] | null | null | null | #include "OperationTranslate.h"
#include "Studio.h"
#include "RenderWindow.h"
#include "TransformWidget.h"
namespace Studio
{
OperationTranslate::OperationTranslate()
{
}
OperationTranslate::~OperationTranslate()
{
}
void OperationTranslate::tick(const Echo::set<Echo::ui32>::type& objects)
{
if (m_select... | 21.901235 | 87 | 0.676437 | [
"render",
"object",
"3d"
] |
ce1d86c047a97ad2d8f4955fbd1dd2f6f396c0e3 | 4,904 | cc | C++ | clouds/test/clouds_test.cc | mqtthiqs/mutable | 32fa66f5acce1bff2f0a7bdd041e29bad3222557 | [
"MIT"
] | 87 | 2015-04-14T02:00:43.000Z | 2022-01-28T03:10:47.000Z | clouds/test/clouds_test.cc | mqtthiqs/mutable | 32fa66f5acce1bff2f0a7bdd041e29bad3222557 | [
"MIT"
] | 1 | 2017-08-25T13:46:31.000Z | 2019-08-28T21:14:59.000Z | clouds/test/clouds_test.cc | mqtthiqs/mutable | 32fa66f5acce1bff2f0a7bdd041e29bad3222557 | [
"MIT"
] | 16 | 2015-10-23T12:54:47.000Z | 2021-04-05T15:12:15.000Z | // Copyright 2014 Emilie Gillet.
//
// Author: Emilie Gillet (emilie.o.gillet@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitatio... | 30.271605 | 97 | 0.633564 | [
"vector"
] |
ce23183ec7bd343aae19b22d51428fc173d6851b | 2,495 | cpp | C++ | sequoia-engine/src/sequoia-engine/Game/PointLight.cpp | thfabian/sequoia | ed7a17452ac946e8208ff60a30fc10298d3939db | [
"MIT"
] | 2 | 2018-01-31T07:44:59.000Z | 2018-01-31T20:34:37.000Z | sequoia-engine/src/sequoia-engine/Game/PointLight.cpp | thfabian/sequoia | ed7a17452ac946e8208ff60a30fc10298d3939db | [
"MIT"
] | null | null | null | sequoia-engine/src/sequoia-engine/Game/PointLight.cpp | thfabian/sequoia | ed7a17452ac946e8208ff60a30fc10298d3939db | [
"MIT"
] | null | null | null | //===--------------------------------------------------------------------------------*- C++ -*-===//
// _____ _
// / ____| (_)
// | (___ ___ __ _ _ _ ___ _ __ _
// \___ \ / _ \... | 37.80303 | 100 | 0.507014 | [
"render"
] |
ce290b0109adf434226347215382b431ad99216b | 3,160 | cpp | C++ | src/CRC_Sensors.cpp | ChicagoRobotics/CRC_Simula_Library | 52fde47b5179c952f08e18c69efbed78749ea2e4 | [
"BSD-3-Clause"
] | 3 | 2016-11-16T23:44:26.000Z | 2018-01-29T15:31:59.000Z | src/CRC_Sensors.cpp | ChicagoRobotics/CRC_Simula_Library | 52fde47b5179c952f08e18c69efbed78749ea2e4 | [
"BSD-3-Clause"
] | 5 | 2017-02-03T03:58:18.000Z | 2018-01-23T17:57:46.000Z | src/CRC_Sensors.cpp | ChicagoRobotics/CRC_Simula_Library | 52fde47b5179c952f08e18c69efbed78749ea2e4 | [
"BSD-3-Clause"
] | 2 | 2017-01-28T17:26:15.000Z | 2019-12-23T01:05:04.000Z | /***************************************************
Uses: Provides a higher level module around the sensors on
Simula
This file is designed for the Simula project by Chicago Robotics Corp.
http://www.chicagorobotics.net/products
Copyright (c) 2016, Chicago Robotics Corp.
See README.md for license details
***********... | 33.617021 | 106 | 0.762342 | [
"object"
] |
ce2cd0aa26bf86fefad4cf33e05db82b02b327b3 | 5,079 | cpp | C++ | Numerical-calculus/Activity-M3/main.cpp | JoseZancanaro/CienciaDaComputacao | 0e08d9a3fd17cba38ef9d09f38026e9417b5536a | [
"MIT"
] | null | null | null | Numerical-calculus/Activity-M3/main.cpp | JoseZancanaro/CienciaDaComputacao | 0e08d9a3fd17cba38ef9d09f38026e9417b5536a | [
"MIT"
] | 1 | 2022-02-13T22:22:59.000Z | 2022-02-13T22:22:59.000Z | Numerical-calculus/Activity-M3/main.cpp | JoseZancanaro/CienciaDaComputacao | 0e08d9a3fd17cba38ef9d09f38026e9417b5536a | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <sstream>
#include <fstream>
#include "lib/equacao-diferencial/EquacaoDiferencial.hpp"
#include "lib/minimos-quadrados/MinimosQuadrados.hpp"
#include "lib/integracao/IntegracaoNumerica.hpp"
void questao01()
{
std::vector<Ponto> populacao {{1872, 9.9}, {1890, 14.3}... | 32.767742 | 146 | 0.585155 | [
"vector"
] |
ce2e3ab2cc6c7ca47e9fc698b9832df718fc5234 | 25,943 | cpp | C++ | external/openglcts/modules/runner/glcTestRunner.cpp | greg-lunarg/VK-GL-CTS | b29bf0434c16796dc48a17a52c7fe219d558af31 | [
"Apache-2.0"
] | null | null | null | external/openglcts/modules/runner/glcTestRunner.cpp | greg-lunarg/VK-GL-CTS | b29bf0434c16796dc48a17a52c7fe219d558af31 | [
"Apache-2.0"
] | null | null | null | external/openglcts/modules/runner/glcTestRunner.cpp | greg-lunarg/VK-GL-CTS | b29bf0434c16796dc48a17a52c7fe219d558af31 | [
"Apache-2.0"
] | null | null | null | /*-------------------------------------------------------------------------
* OpenGL Conformance Test Suite
* -----------------------------
*
* Copyright (c) 2016 Google Inc.
* Copyright (c) 2016 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | 30.774614 | 141 | 0.712986 | [
"vector"
] |
ce303d54798212602711e4f2911c8fc9d54ae074 | 5,129 | cpp | C++ | moc.cpp | cephalicmarble/pleg | 0a6f6e07793a6b11aecc7ea705b315d90555e99e | [
"MIT"
] | null | null | null | moc.cpp | cephalicmarble/pleg | 0a6f6e07793a6b11aecc7ea705b315d90555e99e | [
"MIT"
] | 1 | 2021-12-08T19:47:56.000Z | 2021-12-08T19:47:56.000Z | moc.cpp | cephalicmarble/pleg | 0a6f6e07793a6b11aecc7ea705b315d90555e99e | [
"MIT"
] | null | null | null | #ifndef OBJECT_H
#define OBJECT_H
#include <iostream>
#include <list>
#include <map>
#include <boost/any.hpp>
#include <boost/type_index.hpp>
#include <boost/functional.hpp>
#include <boost/preprocessor.hpp>
using namespace boost;
using namespace std;
namespace drumlin {
#define ARG(r,data,elem) ,elem
#define VA_ARG... | 29.308571 | 166 | 0.636771 | [
"object"
] |
ce364a42fcac88e0673ee91ec5f8694a77e38639 | 5,243 | hpp | C++ | Includes/Core/FDM/FDMLinearSystem3.hpp | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 216 | 2017-01-25T04:34:30.000Z | 2021-07-15T12:36:06.000Z | Includes/Core/FDM/FDMLinearSystem3.hpp | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 323 | 2017-01-26T13:53:13.000Z | 2021-07-14T16:03:38.000Z | Includes/Core/FDM/FDMLinearSystem3.hpp | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 33 | 2017-01-25T05:05:49.000Z | 2021-06-17T17:30:56.000Z | // This code is based on Jet framework.
// Copyright (c) 2018 Doyub Kim
// CubbyFlow is voxel-based fluid simulation engine for computer games.
// Copyright (c) 2020 CubbyFlow Team
// Core Part: Chris Ohk, Junwoo Hwang, Jihong Sin, Seungwoo Yoo
// AI Part: Dongheon Cho, Minseo Kim
// We are making my contributions/subm... | 32.364198 | 79 | 0.675377 | [
"vector"
] |
ce375fe33bd11ce26de21decae3083d2c378cb7a | 33,303 | cpp | C++ | Libraries/RobsJuceModules/rapt/Math/Misc/OouraFFT/fft4g.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Libraries/RobsJuceModules/rapt/Math/Misc/OouraFFT/fft4g.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Libraries/RobsJuceModules/rapt/Math/Misc/OouraFFT/fft4g.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z | // an adapted version of the file fft4g.c from Oouras FFT package to make it work with templates
#include <math.h> // check, if necesarry..
/*
Fast Fourier/Cosine/Sine Transform
dimension :one
data length :power of 2
decimation :frequency
radix :4, 2
data :inplace
table :u... | 24.362107 | 96 | 0.349548 | [
"transform"
] |
ce39e05f36b4c797384729a3d9709157f21be9cd | 1,579 | cc | C++ | src/future.cc | zcbenz/node-fork | b9b3923406ed9d43545932bb301e96a1746e8366 | [
"MIT"
] | 2 | 2015-11-10T22:53:01.000Z | 2018-02-18T21:51:19.000Z | src/future.cc | zcbenz/node-fork | b9b3923406ed9d43545932bb301e96a1746e8366 | [
"MIT"
] | null | null | null | src/future.cc | zcbenz/node-fork | b9b3923406ed9d43545932bb301e96a1746e8366 | [
"MIT"
] | null | null | null | #include "future.h"
#include "process.h"
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
#define THROW_BAD_PROCESS \
ThrowException(String::New("Future has already been got"))
namespace Fork {
static Handle<Value> get (const Arguments& args);
Handle<Value> Future (const Argu... | 25.467742 | 83 | 0.640912 | [
"object"
] |
ce3af92fbed573cd8763a2a16f617c91da913384 | 167,074 | cpp | C++ | IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | null | null | null | IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | null | null | null | IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp | ConiKost/intel-graphics-compiler | f5227c9658da35d08d7f711552ebcb12638ebc18 | [
"Intel",
"MIT"
] | null | null | null | /*========================== begin_copyright_notice ============================
Copyright (C) 2017-2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
/*========================== begin_copyright_notice ============================
T... | 35.806687 | 155 | 0.645265 | [
"vector"
] |
ce3cbde67e3330b20fba5f0668fcc852eb4b74ff | 10,905 | cpp | C++ | src/allocator.cpp | tyage/lilith | ff177c0173bed7325b108e2801f0344aa31ba3fd | [
"MIT"
] | null | null | null | src/allocator.cpp | tyage/lilith | ff177c0173bed7325b108e2801f0344aa31ba3fd | [
"MIT"
] | null | null | null | src/allocator.cpp | tyage/lilith | ff177c0173bed7325b108e2801f0344aa31ba3fd | [
"MIT"
] | 1 | 2021-02-05T11:36:17.000Z | 2021-02-05T11:36:17.000Z | #include "allocator.hpp"
#include "prelude.hpp"
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <vector>
#include <cstring>
#include <cstdlib>
#include <cassert>
#ifdef DEBUG
#define DEBUG_SHOW 1
#else
#define DEBUG_SHOW 0
#endif
#define DEBUGMSG if(DEBUG_SHOW)
// value.cppの中で、Valueの下2bitに情報をつめこ... | 29.00266 | 164 | 0.581568 | [
"object",
"vector"
] |
ce3cc939e36dd1c64a8f51252cb3abaad0567ff2 | 1,812 | cpp | C++ | Algorithms_Training/Difficulty_Medium/Problem_26_binary-tree-level-order-traversal/main.cpp | AlazzR/CLRS-Introduction-to-Algorithm | 36566e2506074b5c17aee6e003af7d935cd3d4dd | [
"CC0-1.0"
] | null | null | null | Algorithms_Training/Difficulty_Medium/Problem_26_binary-tree-level-order-traversal/main.cpp | AlazzR/CLRS-Introduction-to-Algorithm | 36566e2506074b5c17aee6e003af7d935cd3d4dd | [
"CC0-1.0"
] | null | null | null | Algorithms_Training/Difficulty_Medium/Problem_26_binary-tree-level-order-traversal/main.cpp | AlazzR/CLRS-Introduction-to-Algorithm | 36566e2506074b5c17aee6e003af7d935cd3d4dd | [
"CC0-1.0"
] | null | null | null | //https://leetcode.com/problems/binary-tree-level-order-traversal/submissions/
#include<iostream>
#include<deque>
#include<vector>
using std::vector;
struct TreeNode {
int val;
TreeNode* left;
TreeNode* right;
TreeNode(int val, TreeNode* left = nullptr, TreeNode* right = nullptr) : val(val), left(left), right(rig... | 20.133333 | 111 | 0.608168 | [
"vector"
] |
ce3f7d372cebfc9ffda52380eed0c8195c6b12c8 | 20,072 | cpp | C++ | libs/core/algorithms/tests/unit/algorithms/util/test_range.cpp | Andrea-MariaDB-2/hpx | e230dddce4a8783817f38e07f5a77e624f64f826 | [
"BSL-1.0"
] | 1,822 | 2015-01-03T11:22:37.000Z | 2022-03-31T14:49:59.000Z | libs/core/algorithms/tests/unit/algorithms/util/test_range.cpp | Andrea-MariaDB-2/hpx | e230dddce4a8783817f38e07f5a77e624f64f826 | [
"BSL-1.0"
] | 3,288 | 2015-01-05T17:00:23.000Z | 2022-03-31T18:49:41.000Z | libs/core/algorithms/tests/unit/algorithms/util/test_range.cpp | Andrea-MariaDB-2/hpx | e230dddce4a8783817f38e07f5a77e624f64f826 | [
"BSL-1.0"
] | 431 | 2015-01-07T06:22:14.000Z | 2022-03-31T14:50:04.000Z | // Copyright (c) 2015-2017 Francisco Jose Tapia
// Copyright (c) 2020 Hartmut Kaiser
//
// SPDX-License-Identifier: BSL-1.0
// 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)
#include <hpx/modules/testing.hpp>
#i... | 26.550265 | 80 | 0.496612 | [
"vector"
] |
ce483dd5ef9fa936c1352ef580a25724d9d24c7d | 1,802 | cpp | C++ | Decision_tables/Cpp/DecisionTables/Source.cpp | ncoe/rosetta | 15c2302a247dfbcea694ff095238a525c60226d4 | [
"MIT"
] | 3 | 2018-02-26T18:12:31.000Z | 2019-08-26T06:47:30.000Z | Decision_tables/Cpp/DecisionTables/Source.cpp | ncoe/rosetta | 15c2302a247dfbcea694ff095238a525c60226d4 | [
"MIT"
] | null | null | null | Decision_tables/Cpp/DecisionTables/Source.cpp | ncoe/rosetta | 15c2302a247dfbcea694ff095238a525c60226d4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
const std::vector<std::pair<std::string, std::string>> conditions = {
{"Printer prints", "NNNNYYYY"},
{"A red light is flashing", "YYNNYYNN"},
{"Printer is recognized by computer", "NYNYNYNY"}
};
const std::vector<std::pair<std::string, std::string>>... | 27.723077 | 74 | 0.49667 | [
"vector"
] |
ce48ff59470db09e928a485bb539b0656996ec87 | 1,386 | inl | C++ | include/Nazara/Core/MemoryStream.inl | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 11 | 2019-11-27T00:40:43.000Z | 2020-01-29T14:31:52.000Z | include/Nazara/Core/MemoryStream.inl | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 7 | 2019-11-27T00:29:08.000Z | 2020-01-08T18:53:39.000Z | include/Nazara/Core/MemoryStream.inl | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 7 | 2019-11-27T10:27:40.000Z | 2020-01-15T17:43:33.000Z | // Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/MemoryStream.hpp>
#include <Nazara/Core/Error.hpp>
#include <Nazara/Core/Debug.hpp>
namespace... | 22.354839 | 82 | 0.722222 | [
"object"
] |
ce4e8e15444e96a98c11143600bb3d3e13b1a872 | 1,763 | hpp | C++ | src/conditionals.hpp | plewis/lorad | bdc70e966e423e92aef66ef9d52220a5c241e6f3 | [
"MIT"
] | null | null | null | src/conditionals.hpp | plewis/lorad | bdc70e966e423e92aef66ef9d52220a5c241e6f3 | [
"MIT"
] | null | null | null | src/conditionals.hpp | plewis/lorad | bdc70e966e423e92aef66ef9d52220a5c241e6f3 | [
"MIT"
] | null | null | null | #pragma once
// Uncomment the following define to enable LoRaD for variable topologies as well as fixed topologies.
#define LORAD_VARIABLE_TOPOLOGY
// Uncomment the following define to implement the generalized steppingstone method described in
// Y Fan, R Wu, MH Chen, L Kuo, and PO Lewis. 2011. Choosing among Partit... | 50.371429 | 108 | 0.785026 | [
"vector"
] |
ce53d0c43c492a4f1215d15488ff1b7658d90904 | 7,183 | cpp | C++ | modules/features2d/test/test_descriptors_invariance.cpp | gitwithmch/opencv | a8844de7b5ffad08b4463536d21aadd6c0d1f3b3 | [
"BSD-3-Clause"
] | 17 | 2020-03-13T00:10:28.000Z | 2021-09-06T17:13:17.000Z | modules/features2d/test/test_descriptors_invariance.cpp | gitwithmch/opencv | a8844de7b5ffad08b4463536d21aadd6c0d1f3b3 | [
"BSD-3-Clause"
] | 1 | 2020-03-12T08:10:07.000Z | 2020-03-12T08:10:07.000Z | modules/features2d/test/test_descriptors_invariance.cpp | gitwithmch/opencv | a8844de7b5ffad08b4463536d21aadd6c0d1f3b3 | [
"BSD-3-Clause"
] | 2 | 2020-03-13T09:05:32.000Z | 2021-08-13T08:28:14.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html
#include "test_precomp.hpp"
#include "test_invariance_utils.hpp"
using namespace std;
using namespace cv;
using std::tr1::mak... | 36.835897 | 131 | 0.663093 | [
"vector"
] |
ce58e32e719bc8c76cfe6486a95b415dc0b1a4fa | 12,519 | cc | C++ | src/large_pages/node_large_page.cc | theanarkh/read-nodejs-v14 | cccb59c703058c35a9e841fec4f1b454f22e4e0e | [
"MIT"
] | 2 | 2020-09-16T01:30:55.000Z | 2020-09-28T02:17:07.000Z | src/large_pages/node_large_page.cc | theanarkh/read-nodejs-v14 | cccb59c703058c35a9e841fec4f1b454f22e4e0e | [
"MIT"
] | null | null | null | src/large_pages/node_large_page.cc | theanarkh/read-nodejs-v14 | cccb59c703058c35a9e841fec4f1b454f22e4e0e | [
"MIT"
] | null | null | null | // Copyright (C) 2018 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 Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publ... | 28.452273 | 79 | 0.661315 | [
"vector"
] |
ce5a25540f5a5af769c1c9c525470407495125f4 | 2,359 | cpp | C++ | Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/WindowsVersionQuery.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/WindowsVersionQuery.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/WindowsVersionQuery.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.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 "RHI/Atom_RHI_DX12_precompiled.h"
#include <RHI/WindowsVersionQuery.h>
namespace AZ
{
n... | 37.444444 | 158 | 0.503603 | [
"vector",
"3d"
] |
ce5bb38be2b3146fc3e2c4253b1bfb6d126ae9f6 | 9,119 | cpp | C++ | android/fanLua/fan/src/main/jni/bxPlugin.cpp | bugblat/fan | 854b2c0c6b94270bd08a2cf58bfa1871d34bb8ef | [
"MIT"
] | 5 | 2016-01-21T21:22:04.000Z | 2022-02-16T22:26:59.000Z | android/fanLua/fan/src/main/jni/bxPlugin.cpp | bugblat/fan | 854b2c0c6b94270bd08a2cf58bfa1871d34bb8ef | [
"MIT"
] | null | null | null | android/fanLua/fan/src/main/jni/bxPlugin.cpp | bugblat/fan | 854b2c0c6b94270bd08a2cf58bfa1871d34bb8ef | [
"MIT"
] | 2 | 2015-12-29T15:32:52.000Z | 2017-06-22T15:23:08.000Z | #include <vector>
#include "gideros.h"
#include "lua.h"
#include "lauxlib.h"
#define LUA_LIB
#include <jni.h>
#include <android/log.h>
using namespace std;
LUALIB_API int loader(lua_State *L);
//--------------------------------------------
namespace {
const char *pluginNAME = "bxPlugin";
const char *plugin... | 28.4081 | 95 | 0.493256 | [
"vector"
] |
ce5ca257be37c36e955f982253ea8c303dca82c1 | 6,197 | hpp | C++ | cpp/include/sentient/core/type_traits.hpp | hyper-level-nerds/sentient | 963219d8c01a1efaed4f53fa1793e734b92b983e | [
"BSL-1.0"
] | null | null | null | cpp/include/sentient/core/type_traits.hpp | hyper-level-nerds/sentient | 963219d8c01a1efaed4f53fa1793e734b92b983e | [
"BSL-1.0"
] | null | null | null | cpp/include/sentient/core/type_traits.hpp | hyper-level-nerds/sentient | 963219d8c01a1efaed4f53fa1793e734b92b983e | [
"BSL-1.0"
] | null | null | null | #ifndef __SENTIENT_CORE_TYPE_TRAITS_HPP__
#define __SENTIENT_CORE_TYPE_TRAITS_HPP__
/**
* @file type_traits.hpp
* @author Jin (jaehwanspin@gmail.com)
* @brief Type(Model) attributes utilities
* @version 0.1
* @date 2022-03-26
*
* @copyright Copyright (c) 2022
*
*/
#include <type_traits>
#inc... | 24.59127 | 105 | 0.668872 | [
"model"
] |
ce5edae2102c72d37a3698be75067f35ae23c50a | 5,697 | cpp | C++ | sources/Notebook.cpp | shmooel28/notebook-part-b | 9f2cb1212695fb4b96b755f51899b7f8608a7d9b | [
"MIT"
] | null | null | null | sources/Notebook.cpp | shmooel28/notebook-part-b | 9f2cb1212695fb4b96b755f51899b7f8608a7d9b | [
"MIT"
] | null | null | null | sources/Notebook.cpp | shmooel28/notebook-part-b | 9f2cb1212695fb4b96b755f51899b7f8608a7d9b | [
"MIT"
] | null | null | null | #include"Direction.hpp"
#include<string>
#include<iostream>
#include"Notebook.hpp"
#include<vector>
using namespace std;
namespace ariel
{
Notebook::Notebook()
{
}
Notebook::~Notebook()
{
}
void Notebook::erase(int page,int row,int col,Direction d,int number_of_char)
{
const in... | 28.628141 | 94 | 0.358083 | [
"vector"
] |
ce608f298de2e5955b7e01b654e321a5d9f288b3 | 8,157 | hpp | C++ | packages/utility/core/src/Utility_ArrayView.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 10 | 2019-11-14T19:58:30.000Z | 2021-04-04T17:44:09.000Z | packages/utility/core/src/Utility_ArrayView.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 43 | 2020-03-03T19:59:20.000Z | 2021-09-08T03:36:08.000Z | packages/utility/core/src/Utility_ArrayView.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 6 | 2020-02-12T17:37:07.000Z | 2020-09-08T18:59:51.000Z | //---------------------------------------------------------------------------//
//!
//! \file Utility_ArrayView.hpp
//! \author Alex Robinson
//! \brief The array view class declaration
//!
//---------------------------------------------------------------------------//
#ifndef UTILITY_ARRAY_VIEW_HPP
#define UTILITY... | 25.411215 | 96 | 0.635037 | [
"object",
"vector"
] |
ce6a32ebc351f5cca6e58f45254810b51200dba7 | 2,024 | cpp | C++ | MGR_PBR/src/engine/Skybox.cpp | KosssteK/master-thesis | d3c3f6f3b1f5c56e047da63b00927d948974c32a | [
"MIT"
] | null | null | null | MGR_PBR/src/engine/Skybox.cpp | KosssteK/master-thesis | d3c3f6f3b1f5c56e047da63b00927d948974c32a | [
"MIT"
] | null | null | null | MGR_PBR/src/engine/Skybox.cpp | KosssteK/master-thesis | d3c3f6f3b1f5c56e047da63b00927d948974c32a | [
"MIT"
] | null | null | null | #include "Skybox.h"
#include <string>
#include "render/VertexBufferLayout.h"
CAT::Skybox::Skybox(const std::string &path)
: shader("res/shaders/skybox.shader"),
verticiesNumber(0),
texture(path),
m_Size(500),
m_PositionsCount(108),
m_Positions{
-m_Size, m_Size, -m_Size,
-m_Size, -m_Size, -m_Size,
m_Size, ... | 20.444444 | 88 | 0.682312 | [
"render",
"model"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.