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
c3361323f5c35081f893c08be1a29c97eb884ff7
31,957
cpp
C++
ta_sdl_game.cpp
Christof-Sigel/TA_SDL
72638ba1601300783628a5dc09bb547b703a39fe
[ "MIT" ]
null
null
null
ta_sdl_game.cpp
Christof-Sigel/TA_SDL
72638ba1601300783628a5dc09bb547b703a39fe
[ "MIT" ]
null
null
null
ta_sdl_game.cpp
Christof-Sigel/TA_SDL
72638ba1601300783628a5dc09bb547b703a39fe
[ "MIT" ]
null
null
null
#include <stdio.h> #pragma warning(push) #pragma warning(disable: 4668 4820) #include <SDL2/SDL.h> #pragma warning(pop) #ifdef __LINUX__ #include <sys/stat.h> #include <fcntl.h> #include <sys/mman.h> #include <unistd.h> #include <time.h> #else #define WIN32_LEAN_AND_MEAN #include "windows.h" #endif #include <SDL2/SDL_...
38.180406
431
0.732297
[ "3d" ]
c338218f3f7638d6716aacbc8072c6c019b1dedb
806
cc
C++
warhol/platform/path.cc
cristiandonosoc/GNTest
d90b571a7c4e42f51bb8d5dbffe48f681b9aae5e
[ "Zlib", "Unlicense", "MIT", "BSL-1.0", "BSD-4-Clause" ]
null
null
null
warhol/platform/path.cc
cristiandonosoc/GNTest
d90b571a7c4e42f51bb8d5dbffe48f681b9aae5e
[ "Zlib", "Unlicense", "MIT", "BSL-1.0", "BSD-4-Clause" ]
null
null
null
warhol/platform/path.cc
cristiandonosoc/GNTest
d90b571a7c4e42f51bb8d5dbffe48f681b9aae5e
[ "Zlib", "Unlicense", "MIT", "BSL-1.0", "BSD-4-Clause" ]
1
2019-06-04T04:43:24.000Z
2019-06-04T04:43:24.000Z
// Copyright 2018, Cristián Donoso. // This code has a BSD license. See LICENSE. #include "warhol/platform/path.h" #include "warhol/utils/string.h" namespace warhol { // TODO(Cristian): Use std::filesystem (C++17) for this eventually. std::string PathJoin(std::vector<std::string_view> paths) { std::vector<std::st...
24.424242
67
0.648883
[ "vector" ]
c33f4cd39172239b4c53577c6afed1dad1b175b0
766
cpp
C++
questions/51261464/main.cpp
sesu089/stackoverflow
6fae69be6fa74fba9d554e6b5f387e5d3c1aad73
[ "MIT" ]
302
2017-03-04T00:05:23.000Z
2022-03-28T22:51:29.000Z
questions/51261464/main.cpp
sesu089/stackoverflow
6fae69be6fa74fba9d554e6b5f387e5d3c1aad73
[ "MIT" ]
30
2017-12-02T19:26:43.000Z
2022-03-28T07:40:36.000Z
questions/51261464/main.cpp
sesu089/stackoverflow
6fae69be6fa74fba9d554e6b5f387e5d3c1aad73
[ "MIT" ]
388
2017-07-04T16:53:12.000Z
2022-03-18T22:20:19.000Z
#include "model.h" #include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQmlContext> int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv); QVariantList modelist; for (int i = 0; i < 10; i++) { AnimalModel *model ...
26.413793
65
0.691906
[ "model" ]
c34b2b0b5c3113b9adeed5f2a0823d635c13a241
4,499
cpp
C++
QTDelivery1/ZurullitoPaint/filloutline.cpp
MarcFly/AdvancedGraphicsProgramming
9ea749dbe036743a4b8a9450a3ae69941e1ed951
[ "MIT" ]
null
null
null
QTDelivery1/ZurullitoPaint/filloutline.cpp
MarcFly/AdvancedGraphicsProgramming
9ea749dbe036743a4b8a9450a3ae69941e1ed951
[ "MIT" ]
null
null
null
QTDelivery1/ZurullitoPaint/filloutline.cpp
MarcFly/AdvancedGraphicsProgramming
9ea749dbe036743a4b8a9450a3ae69941e1ed951
[ "MIT" ]
null
null
null
#include "filloutline.h" #include <QPainter> #include <QHBoxLayout> #include <QLabel> #include <QComboBox> #include <QSpinBox> #include <QColorDialog> //=================================================================== canvasShow::canvasShow(bool is_fp, QWidget* parent) : QWidget(parent), fp(is_fp) { cd = new Q...
21.526316
81
0.585241
[ "solid" ]
c350b8b8973fe86343a104fc99bbacfa337e5f7d
6,184
hpp
C++
src/grid/dof_mapper_periodic_distributed.hpp
simonpp/2dBoltzmann
bc6b7bbeffa242ce80937947444383b416ba3fc9
[ "BSD-3-Clause" ]
null
null
null
src/grid/dof_mapper_periodic_distributed.hpp
simonpp/2dBoltzmann
bc6b7bbeffa242ce80937947444383b416ba3fc9
[ "BSD-3-Clause" ]
null
null
null
src/grid/dof_mapper_periodic_distributed.hpp
simonpp/2dBoltzmann
bc6b7bbeffa242ce80937947444383b416ba3fc9
[ "BSD-3-Clause" ]
null
null
null
#pragma once // own includes ----------------------------------------------------------- #include "dof_mapper_periodic.hpp" // system includes -------------------------------------------------------- #include <ostream> #include <vector> // debug #include <iostream> #include <stdexcept> // deal.II includes ----------...
29.874396
118
0.634864
[ "vector" ]
c3515372dbd39c6926c6d1988b6bf39ff7ec711b
4,716
cpp
C++
Engine/W_Project.cpp
SOLID-TEAM/SOLID_ENGINE
7fa9eccc28217d49a937fcf1dcfc052716825d30
[ "MIT" ]
2
2019-11-22T23:34:36.000Z
2019-11-27T10:27:35.000Z
Engine/W_Project.cpp
SOLID-TEAM/SOLID_ENGINE
7fa9eccc28217d49a937fcf1dcfc052716825d30
[ "MIT" ]
null
null
null
Engine/W_Project.cpp
SOLID-TEAM/SOLID_ENGINE
7fa9eccc28217d49a937fcf1dcfc052716825d30
[ "MIT" ]
null
null
null
#include "W_Project.h" #include "Application.h" #include "ModuleFileSystem.h" #include "ModuleEditor.h" #include "ImGui/imgui.h" #include "ImGui/imgui_internal.h" #include "IconFontAwesome/IconsFontAwesome5.h" #include "Viewport.h" #include <string> W_Project::W_Project(std::string name, bool active) : Window(name, act...
26.948571
145
0.667727
[ "mesh", "vector", "model" ]
c3590efce3d181ef34268cf0440e9414b11c70da
5,111
cpp
C++
core/src/comsci/travelling_salesman.cpp
emanuelmch/cpic
d31b977710865d28b87e66a419964200de197067
[ "MIT" ]
null
null
null
core/src/comsci/travelling_salesman.cpp
emanuelmch/cpic
d31b977710865d28b87e66a419964200de197067
[ "MIT" ]
2
2021-05-06T15:08:44.000Z
2022-02-09T00:51:11.000Z
core/src/comsci/travelling_salesman.cpp
emanuelmch/cpic
d31b977710865d28b87e66a419964200de197067
[ "MIT" ]
null
null
null
/* * Copyright (c) 2021 Emanuel Machado da Silva * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
35.493056
107
0.711015
[ "vector" ]
c371431655bd92123fc0816c75ff6b8af179a0f2
8,692
cpp
C++
firmware/Prototype_v4/libraries/Adafruit_SHTC3_Library/Adafruit_SHTC3.cpp
cave-42/ProjectApollo
3381af9336f4da34c5bb367c045a15ac6c4202b0
[ "MIT" ]
42
2020-03-18T17:27:49.000Z
2022-02-12T03:52:01.000Z
firmware/Prototype_v4/libraries/Adafruit_SHTC3_Library/Adafruit_SHTC3.cpp
cave-42/ProjectApollo
3381af9336f4da34c5bb367c045a15ac6c4202b0
[ "MIT" ]
2
2021-04-28T00:44:10.000Z
2021-07-13T13:36:47.000Z
firmware/Prototype_v4/libraries/Adafruit_SHTC3_Library/Adafruit_SHTC3.cpp
cave-42/ProjectApollo
3381af9336f4da34c5bb367c045a15ac6c4202b0
[ "MIT" ]
26
2020-03-21T20:15:38.000Z
2022-02-11T22:20:07.000Z
/*! * @file Adafruit_SHTC3.cpp * * @mainpage Adafruit SHTC3 Digital Humidity & Temp Sensor * * @section intro_sec Introduction * * This is a library for the SHTC3 Digital Humidity & Temp Sensor * * Designed specifically to work with the SHTC3 Digital sensor from Adafruit * * Pick one up today in the ad...
25.640118
79
0.665555
[ "object" ]
c379159305a1488ff7cf51cfa306589163feb3c3
1,648
cpp
C++
design_patterns/behavioral/visitor/c++/visitor.cpp
artbobrov/algorithms_and_data_structures
799d301169da9f8507f8bb324859f9041caf1622
[ "MIT" ]
null
null
null
design_patterns/behavioral/visitor/c++/visitor.cpp
artbobrov/algorithms_and_data_structures
799d301169da9f8507f8bb324859f9041caf1622
[ "MIT" ]
null
null
null
design_patterns/behavioral/visitor/c++/visitor.cpp
artbobrov/algorithms_and_data_structures
799d301169da9f8507f8bb324859f9041caf1622
[ "MIT" ]
1
2021-03-08T14:22:51.000Z
2021-03-08T14:22:51.000Z
#include <iostream> #include <vector> class PlanetAlderaan; class PlanetCoruscant; class PlanetTatooine; class MoonJedah; class PlanetVisitor { public: virtual void visit(PlanetAlderaan *) = 0; virtual void visit(PlanetCoruscant *) = 0; virtual void visit(PlanetTatooine *) = 0; virtual void visit(MoonJedah *) = 0;...
22.888889
110
0.715413
[ "vector" ]
c37a2a33ec432e5245874b2e6da7f330bf29caf9
30,440
cpp
C++
atreyu/pozyxModule.cpp
AiRT-Software/ocs
2d6056a1260ac9ac75cfd507fb1a77db3b26298a
[ "BSD-4-Clause" ]
1
2019-02-07T12:24:51.000Z
2019-02-07T12:24:51.000Z
atreyu/pozyxModule.cpp
AiRT-Software/ocs
2d6056a1260ac9ac75cfd507fb1a77db3b26298a
[ "BSD-4-Clause" ]
null
null
null
atreyu/pozyxModule.cpp
AiRT-Software/ocs
2d6056a1260ac9ac75cfd507fb1a77db3b26298a
[ "BSD-4-Clause" ]
1
2020-07-06T10:33:10.000Z
2020-07-06T10:33:10.000Z
#include "pozyxModule.h" #include "globalSettings.h" #include <log.h> #include <stdMessage.h> using airt::Context; using airt::GlobalSettings; using airt::Log; using airt::Message; using airt::PozyxModule; using boost::asio::ip::tcp; using boost::asio::ip::udp; #include <utils.h> PozyxModule::PozyxModule(const st...
36.674699
170
0.631636
[ "vector" ]
c39508982567ea82d7c0b9c79f4fbaa3ace1e63d
12,233
cpp
C++
project/examples/src/interleaved.cpp
SMG-Digital/libRETS
cdf8d74c446c7f0ca4dc35ac64220b356f69d73f
[ "ICU" ]
98
2015-01-21T02:13:25.000Z
2021-11-20T01:41:13.000Z
project/examples/src/interleaved.cpp
SMG-Digital/libRETS
cdf8d74c446c7f0ca4dc35ac64220b356f69d73f
[ "ICU" ]
68
2015-01-28T15:37:23.000Z
2022-03-24T23:02:14.000Z
project/examples/src/interleaved.cpp
SMG-Digital/libRETS
cdf8d74c446c7f0ca4dc35ac64220b356f69d73f
[ "ICU" ]
69
2015-02-27T14:49:47.000Z
2022-02-10T17:51:13.000Z
/* * Copyright (C) 2008 National Association of REALTORS(R) * * 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 limitat...
38.589905
107
0.482792
[ "object", "vector" ]
c3961afa1ae60d48e9595cbeda4a3edab1b1d707
829
hpp
C++
Paramedic.hpp
aimanyounises1/wargame-bb
48ec4de52f83558d94d8a5193f39f4ec1877ccbd
[ "MIT" ]
null
null
null
Paramedic.hpp
aimanyounises1/wargame-bb
48ec4de52f83558d94d8a5193f39f4ec1877ccbd
[ "MIT" ]
null
null
null
Paramedic.hpp
aimanyounises1/wargame-bb
48ec4de52f83558d94d8a5193f39f4ec1877ccbd
[ "MIT" ]
null
null
null
#pragma once #include "Soldier.hpp" #include <iostream> class Paramedic: public Soldier { public: Paramedic(int t) : Soldier(100,50,t,3,false){} ~Paramedic(){} virtual void attack(std::vector<std::vector<Soldier*>> &board, std::pair<int,int> source) override { int check = board[source.first][s...
31.884615
114
0.536791
[ "vector" ]
c39adfefa4a4694a1f6671cb3cc6e5a8f2884460
3,774
cpp
C++
src/r_cmb_table.cpp
USDAForestService/FIESTAutils
5d3e74289c5645ec08f0d3e08cfff699ab0bc767
[ "MIT" ]
4
2022-01-13T21:35:26.000Z
2022-02-02T23:50:04.000Z
src/r_cmb_table.cpp
USDAForestService/FIESTAutils
5d3e74289c5645ec08f0d3e08cfff699ab0bc767
[ "MIT" ]
1
2022-01-24T21:59:49.000Z
2022-03-01T20:32:03.000Z
src/r_cmb_table.cpp
USDAForestService/FIESTAutils
5d3e74289c5645ec08f0d3e08cfff699ab0bc767
[ "MIT" ]
null
null
null
// Hash table class for counting unique integer combinations // Mainly for raster combine // Chris Toney, christoney at fs.fed.us #include <Rcpp.h> // [[Rcpp::plugins(cpp11)]] #include <string> #include <unordered_map> #include <vector> struct cmbKey { Rcpp::IntegerVector cmb; bool operator==(const cmbKey &other)...
26.765957
125
0.671966
[ "vector" ]
c3a4df3d6c6cfc40b1773361c0f59ae7b15093b5
5,641
cpp
C++
llvm/lib/IR/GlobalPtrAuthInfo.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
605
2019-10-18T01:15:54.000Z
2022-03-31T14:31:04.000Z
llvm/lib/IR/GlobalPtrAuthInfo.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
llvm/lib/IR/GlobalPtrAuthInfo.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
//===- GlobalPtrAuthInfo.cpp - Analysis tools for ptrauth globals ---------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
36.869281
80
0.643857
[ "shape" ]
c3a7167324b8b35f46b6bfceeb3c7f0301e3d75c
6,287
cpp
C++
src/donation_analysis_cpp/src/Record.cpp
cyang019/retrieve_data
740f3ed828bbb21ecbaeff287a4e010138d22cef
[ "MIT" ]
null
null
null
src/donation_analysis_cpp/src/Record.cpp
cyang019/retrieve_data
740f3ed828bbb21ecbaeff287a4e010138d22cef
[ "MIT" ]
null
null
null
src/donation_analysis_cpp/src/Record.cpp
cyang019/retrieve_data
740f3ed828bbb21ecbaeff287a4e010138d22cef
[ "MIT" ]
null
null
null
#include "Record.h" #include "TrackerDate.h" // inherit from TrackerInterface #include "TrackerZip.h" // inherit from TrackerInterface #include <cstdint> // int64_t #include <cstring> // strtok #include <iostream> // endl #include <map> #include <memory> // unique_ptr #include <sstream> // stringstream ...
36.132184
90
0.549229
[ "object" ]
ce79b6f1eadbb6eaca2f40448d38c091c0a8529d
3,115
cpp
C++
src/anchor.cpp
jherrero/enredo
c017761241c0f51afb8a0e1820ba54016816cb14
[ "BSD-3-Clause" ]
9
2016-04-08T14:18:20.000Z
2021-06-18T06:19:48.000Z
src/anchor.cpp
jherrero/enredo
c017761241c0f51afb8a0e1820ba54016816cb14
[ "BSD-3-Clause" ]
null
null
null
src/anchor.cpp
jherrero/enredo
c017761241c0f51afb8a0e1820ba54016816cb14
[ "BSD-3-Clause" ]
null
null
null
#include "anchor.h" Anchor::Anchor(string this_id) { id = this_id; num = 1; } Anchor::~Anchor() { } /*! \fn Anchor::get_direct_Link(Anchor *other_anchor) This function looks for the Link in the set of existing ones. If it does not exist yet, it will create it. @param Anchor the other Anchor obj...
25.958333
126
0.574639
[ "object" ]
ce7edc8a412c36b88b078d91207b749d1c6a46fb
1,992
cpp
C++
code/MikoEngine/Renderer/Resource/CompositorNode/Pass/VrHiddenAreaMesh/CompositorInstancePassVrHiddenAreaMesh.cpp
warzes/MikoEngine
1199f59a71ab3dfcbea5d02238639db55eded0d4
[ "MIT" ]
5
2020-08-04T17:57:01.000Z
2021-02-07T12:19:02.000Z
code/MikoEngine/Renderer/Resource/CompositorNode/Pass/VrHiddenAreaMesh/CompositorInstancePassVrHiddenAreaMesh.cpp
warzes/MikoEngine
1199f59a71ab3dfcbea5d02238639db55eded0d4
[ "MIT" ]
null
null
null
code/MikoEngine/Renderer/Resource/CompositorNode/Pass/VrHiddenAreaMesh/CompositorInstancePassVrHiddenAreaMesh.cpp
warzes/MikoEngine
1199f59a71ab3dfcbea5d02238639db55eded0d4
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Renderer/Resource/CompositorNode/Pass/VrHiddenAreaMesh/CompositorInstancePassVrHiddenAreaMesh.h" #include "Renderer/Resource/CompositorNode/Pass/VrHiddenAreaMesh/CompositorResourcePassVrHiddenAreaMesh.h" #include "Renderer/Resource/CompositorNode/CompositorNodeInstance.h" #include "Rendere...
46.325581
243
0.64759
[ "mesh", "render" ]
ce819ffa45982e4c53fabdfdabb54f755a10762b
1,360
cpp
C++
LiBrother/LiBrotherServer/credentials_manager.cpp
sxtyzhangzk/LiBrother
54e2982ffb246f90b1261df44f5d8de42de0999e
[ "MIT" ]
6
2015-11-04T09:34:18.000Z
2015-12-17T00:09:41.000Z
LiBrother/LiBrotherServer/credentials_manager.cpp
sxtyzhangzk/LiBrother
54e2982ffb246f90b1261df44f5d8de42de0999e
[ "MIT" ]
1
2015-11-19T08:44:39.000Z
2015-11-27T20:59:25.000Z
LiBrother/LiBrotherServer/credentials_manager.cpp
sxtyzhangzk/LiBrother
54e2982ffb246f90b1261df44f5d8de42de0999e
[ "MIT" ]
2
2015-12-04T15:38:23.000Z
2019-02-17T02:34:36.000Z
#include "credentials_manager.h" #include <cstdio> CCredentialsManager::CCredentialsManager(Botan::RandomNumberGenerator * rng) : m_rng(rng) { } void CCredentialsManager::loadCertificate(const std::string& strCert, const std::string& strKey, const std::string& strPassphrase) { TServerCert cert; cert.pKey.reset(Bo...
28.333333
130
0.709559
[ "vector" ]
ce8a4f9f2ab0df495b93f74af03efc31a1e3d16b
5,246
cpp
C++
UnitTests/Chapter1.cpp
JudsonSS/RayTracer
33d5aea33c4a101970a463be212d50626494214f
[ "MIT" ]
3
2022-01-11T09:02:23.000Z
2022-02-27T16:32:56.000Z
UnitTests/Chapter1.cpp
JudsonSS/RayTracer
33d5aea33c4a101970a463be212d50626494214f
[ "MIT" ]
null
null
null
UnitTests/Chapter1.cpp
JudsonSS/RayTracer
33d5aea33c4a101970a463be212d50626494214f
[ "MIT" ]
1
2022-01-11T09:02:28.000Z
2022-01-11T09:02:28.000Z
/********************************************************************************** // Chapter1 (Arquivo de Código Fonte) // // Criação: 27 Jun 2020 // Atualização: 17 Jul 2021 // Compilador: Clang++ 12.0.5 / GNU g++ 9.3.0 // // Descrição: Define os testes de unidade criados no Capítulo 1, Tuplas, // P...
23.212389
101
0.463591
[ "vector" ]
ce8fb3ca19f538a2c3ebc08ecf81d94e8ffd6153
22,951
cpp
C++
maku/render/d3d9_hooker.cpp
shileiyu/maku
be07aa6f804c387aafbd79cdf952bd6a93c18771
[ "MIT" ]
10
2015-04-09T01:43:28.000Z
2021-03-29T15:59:01.000Z
maku/render/d3d9_hooker.cpp
shileiyu/maku
be07aa6f804c387aafbd79cdf952bd6a93c18771
[ "MIT" ]
null
null
null
maku/render/d3d9_hooker.cpp
shileiyu/maku
be07aa6f804c387aafbd79cdf952bd6a93c18771
[ "MIT" ]
1
2020-07-02T03:52:56.000Z
2020-07-02T03:52:56.000Z
//without this macro that will lead to confilcit with winsock2 header //detour rely on windows header #include "d3d9_hooker.h" #include "detours\detours.h" #include "detours\detours_ext.h" #include "render_context.h" #include "utils.h" #include "input_hooker.h" #include "d3d9_canvas.h" #include "d3d9_common.h" names...
27.954933
82
0.610605
[ "render" ]
cea18cabf39ebe3658c650982bdaf76eff747e9c
2,833
hpp
C++
my_vulkan/descriptor_set.hpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
null
null
null
my_vulkan/descriptor_set.hpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
3
2019-02-25T10:13:57.000Z
2020-11-11T14:46:14.000Z
my_vulkan/descriptor_set.hpp
pixelwise/my_vulkan
f1c139ed8f95380186905d77cb8e81008f48bc95
[ "CC0-1.0" ]
null
null
null
#pragma once #include <vulkan/vulkan.h> #include <vector> namespace my_vulkan { struct descriptor_set_t { descriptor_set_t( VkDevice device, VkDescriptorPool pool, VkDescriptorSetLayout layout ); descriptor_set_t(const descriptor_set_t&) = delete; ...
30.462366
71
0.594776
[ "vector" ]
ceb016730e39241a90414b9cca0fb901760c0bcc
658
cpp
C++
acmicpc/1202.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/1202.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/1202.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> #include <algorithm> #include <vector> #include <queue> using namespace std; int main() { priority_queue<int> que; vector<pair<int, int>> val; vector<int> bag; int n, k, w, p, b, idx = 0; long long ans = 0; cin >> n >> k; for (int i=0; i<n; ++i) { cin >> w >> p; val.push_back({w, p}); ...
15.302326
45
0.528875
[ "vector" ]
ceb35eb73a3df8d5312c4894de9f92f2000e2fad
20,209
cpp
C++
src/Core/Resource/ResourceLibrary.cpp
heroesiiifan/FreeHeroes
d9b396b527918cdf863fd2310bcf261e213bf553
[ "MIT" ]
17
2020-08-13T03:23:27.000Z
2022-02-04T00:17:53.000Z
src/Core/Resource/ResourceLibrary.cpp
heroesiiifan/FreeHeroes
d9b396b527918cdf863fd2310bcf261e213bf553
[ "MIT" ]
2
2021-09-05T21:00:31.000Z
2021-09-12T07:46:53.000Z
src/Core/Resource/ResourceLibrary.cpp
heroesiiifan/FreeHeroes
d9b396b527918cdf863fd2310bcf261e213bf553
[ "MIT" ]
2
2021-09-08T10:37:34.000Z
2021-09-09T00:35:44.000Z
/* * Copyright (C) 2020 Smirnov Vladimir / mapron1@gmail.com * SPDX-License-Identifier: MIT * See LICENSE file for details. */ #include "ResourceLibrary.hpp" #include "StringUtils.hpp" #include "Profiler.hpp" #include "Logger.hpp" #include <fstream> #include <iostream> #include <set> #include <list> #include <ca...
33.794314
156
0.568905
[ "vector" ]
ceb4fe8b491d3afd411e5bfc9c82ef8774eb317b
17,584
cpp
C++
Contrib/at67/cpu.cpp
tbraun-de/gigatron-rom
a7cf71f4bce8e980a2f8ae409cc6c727c7b1e339
[ "BSD-2-Clause" ]
null
null
null
Contrib/at67/cpu.cpp
tbraun-de/gigatron-rom
a7cf71f4bce8e980a2f8ae409cc6c727c7b1e339
[ "BSD-2-Clause" ]
null
null
null
Contrib/at67/cpu.cpp
tbraun-de/gigatron-rom
a7cf71f4bce8e980a2f8ae409cc6c727c7b1e339
[ "BSD-2-Clause" ]
null
null
null
#include <stdlib.h> #include <stdio.h> #include <time.h> #include <fstream> #include <iomanip> #include <vector> #include <algorithm> #include "memory.h" #include "cpu.h" #ifndef STAND_ALONE #include <SDL.h> #include "editor.h" #include "timing.h" #include "graphics.h" #include "gigatron_0x1c.h" #endif #ifdef _WIN32...
35.027888
192
0.564718
[ "vector" ]
ceb9968c55e84709cd727e77cb9f26cd86fb1a06
87,745
cpp
C++
src/rpc/blockchain.cpp
yinchengtsinghua/BitCoinCppChinese
76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a
[ "MIT" ]
13
2019-01-23T04:36:05.000Z
2022-02-21T11:20:25.000Z
src/rpc/blockchain.cpp
yinchengtsinghua/BitCoinCppChinese
76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a
[ "MIT" ]
null
null
null
src/rpc/blockchain.cpp
yinchengtsinghua/BitCoinCppChinese
76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a
[ "MIT" ]
3
2019-01-24T07:48:15.000Z
2021-06-11T13:34:44.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //版权所有(c)2010 Satoshi Nakamoto //版权所有(c)2009-2018比特币核心开发者 //根据MIT软件许可证分发,请参见随附的 //文件复制或http://www.opensource.org/licenses/...
37.72356
203
0.579201
[ "object", "vector" ]
cebca0be7ee44b3446cde7348fb071361be60eae
2,066
cpp
C++
src/SharedLibrary/IntegrationTests/SharedLibrary_StandardScaleWrapper_IntegrationTest.cpp
Bhaskers-Blu-Org2/FeaturizersLibrary
229ae38ea233bfb02a6ff92ec3a67c1751c58005
[ "MIT" ]
15
2019-12-14T07:54:18.000Z
2021-03-14T14:53:28.000Z
src/SharedLibrary/IntegrationTests/SharedLibrary_SSWFeaturizer_IntegrationTest.cpp
Lisiczka27/FeaturizersLibrary
dc7b42abd39589af0668c896666affb4abe8a622
[ "MIT" ]
30
2019-12-03T20:58:56.000Z
2020-04-21T23:34:39.000Z
src/SharedLibrary/IntegrationTests/SharedLibrary_SSWFeaturizer_IntegrationTest.cpp
Lisiczka27/FeaturizersLibrary
dc7b42abd39589af0668c896666affb4abe8a622
[ "MIT" ]
13
2020-01-23T00:18:47.000Z
2021-10-04T17:46:45.000Z
// ---------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License // ---------------------------------------------------------------------- #define CATCH_CONFIG_MAIN #include "catch.hpp" #include "GeneratedCod...
24.305882
77
0.433688
[ "vector" ]
cec12be762a35d24ebb923c0ecad9053d3064d2f
1,983
cpp
C++
cpp/0238_product_of_array_except_self.cpp
willheryanto/leetcode
234c54d0d666f2a9db8928f898e1dbff97ebbb10
[ "MIT" ]
null
null
null
cpp/0238_product_of_array_except_self.cpp
willheryanto/leetcode
234c54d0d666f2a9db8928f898e1dbff97ebbb10
[ "MIT" ]
null
null
null
cpp/0238_product_of_array_except_self.cpp
willheryanto/leetcode
234c54d0d666f2a9db8928f898e1dbff97ebbb10
[ "MIT" ]
null
null
null
// Source : https://leetcode.com/problems/product-of-array-except-self/ // Author : willheryanto // Date : 2021-12-08 /******************************************************************************* * * Given an integer array `nums`, return an array `answer` such that * `answer[i]` is equal to the product of all ...
22.534091
81
0.486636
[ "vector" ]
cecaee925424623e6a90c885ef8b4e0041af4325
17,785
cpp
C++
MPEC/functions.cpp
foolish3/DDCM
b3c52e19600faefc8ec853f0d2bd18f2293e2897
[ "MIT" ]
4
2018-10-29T04:59:03.000Z
2020-05-04T03:26:32.000Z
MPEC/functions.cpp
foolish3/DDCM
b3c52e19600faefc8ec853f0d2bd18f2293e2897
[ "MIT" ]
null
null
null
MPEC/functions.cpp
foolish3/DDCM
b3c52e19600faefc8ec853f0d2bd18f2293e2897
[ "MIT" ]
null
null
null
#include <stdio.h> #include "tools.h" //#include "global.h" #include "extern.h" #include "functions.h" #include "nfpIteration.h" #include "mpec.h" #include <math.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_blas.h> //#include "knitro.h" void printOutputMPEC ( const int &nnzJ, const do...
24.00135
90
0.607816
[ "model" ]
cecb72a65e1e7043ef778f5810c26a70a0c8ecd0
7,223
cpp
C++
dev/src/host_core/blockAllocator.cpp
FateForWindows/recompiler
a3f4ef5b0482c879826f97132eed9cd9273f8a59
[ "MIT" ]
1,473
2017-06-27T19:25:41.000Z
2022-03-30T03:18:35.000Z
dev/src/host_core/blockAllocator.cpp
Grima04/recompiler
29c71bc26092c45508866bd7e7a0bd8a6160a898
[ "MIT" ]
20
2017-07-27T22:21:24.000Z
2021-05-13T15:23:00.000Z
dev/src/host_core/blockAllocator.cpp
Grima04/recompiler
29c71bc26092c45508866bd7e7a0bd8a6160a898
[ "MIT" ]
113
2017-08-09T20:41:53.000Z
2022-03-08T03:58:12.000Z
#include "build.h" #include "blockAllocator.h" //#pragma optimize("",off) namespace utils { BlockAllocator::BlockAllocator() : m_blockPool(NULL) , m_numFreePages(0) , m_freeBlocks(NULL) {} void BlockAllocator::Initialize(const uint32 numPages) { // create page tables m_blockTable.resize(numPages*2 - 1...
22.713836
138
0.675204
[ "vector" ]
ced46144c7bd0a478088bd9d33672404d636ba4f
2,897
cpp
C++
aws-cpp-sdk-greengrassv2/source/model/GetDeploymentResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-greengrassv2/source/model/GetDeploymentResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-greengrassv2/source/model/GetDeploymentResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/greengrassv2/model/GetDeploymentResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <a...
23.552846
117
0.728685
[ "model" ]
cedcef16c84d3918a2f8d5090837d70078f10d9d
3,702
cpp
C++
RenderSystem/Cuda/rtCudaRenderSystem.cpp
CharlesCarley/Raytracer
63f4926846195e45b3620aeea007094857a709d9
[ "MIT" ]
null
null
null
RenderSystem/Cuda/rtCudaRenderSystem.cpp
CharlesCarley/Raytracer
63f4926846195e45b3620aeea007094857a709d9
[ "MIT" ]
null
null
null
RenderSystem/Cuda/rtCudaRenderSystem.cpp
CharlesCarley/Raytracer
63f4926846195e45b3620aeea007094857a709d9
[ "MIT" ]
null
null
null
/* ------------------------------------------------------------------------------- Copyright (c) Charles Carley. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is gran...
27.220588
79
0.633441
[ "render" ]
cedfae51f977265fc6312547ddef5cd5759e5faf
198
hpp
C++
modules/python/src/Aquila/python/algorithm.hpp
dtmoodie/Acquilla
b395b7d1338221369f9b0b46c7abc20f7bc5e827
[ "MIT" ]
null
null
null
modules/python/src/Aquila/python/algorithm.hpp
dtmoodie/Acquilla
b395b7d1338221369f9b0b46c7abc20f7bc5e827
[ "MIT" ]
null
null
null
modules/python/src/Aquila/python/algorithm.hpp
dtmoodie/Acquilla
b395b7d1338221369f9b0b46c7abc20f7bc5e827
[ "MIT" ]
null
null
null
#pragma once #include <vector> struct IObjectConstructor; namespace aq { namespace python { void setupAlgorithmInterface(); void setupAlgorithmObjects(std::vector<IObjectConstructor*>& ctrs); } }
14.142857
67
0.787879
[ "vector" ]
ceec7683c65ddd34c26834d39625bc0176af7b49
4,522
cpp
C++
src/Ops/Select/SelectExtend.cpp
lsimic/AobaAPI
5bb17a1055cd1621eebeb91844c2f8b4a3572cb8
[ "MIT" ]
9
2021-05-16T19:49:09.000Z
2021-12-02T17:42:30.000Z
src/Ops/Select/SelectExtend.cpp
lsimic/AobaAPI
5bb17a1055cd1621eebeb91844c2f8b4a3572cb8
[ "MIT" ]
null
null
null
src/Ops/Select/SelectExtend.cpp
lsimic/AobaAPI
5bb17a1055cd1621eebeb91844c2f8b4a3572cb8
[ "MIT" ]
null
null
null
#include "AobaAPI/Ops/Select.hpp" namespace Aoba { namespace Ops { const SelectResult SelectExtend(Core::Mesh* m, const std::vector<Core::Vert*>& verts, const std::vector<Core::Edge*>& edges, const std::vector<Core::Face*>& faces, bool faceStep) { // flags const int32_t SELECTED_FACE = 1 << 0; const i...
34.257576
98
0.531844
[ "mesh", "vector" ]
ceee9ac0898708fa754c16cba729ee85390824fe
1,269
cpp
C++
src/audio/input.cpp
Dervish13/libmaolan
4844ed1468c1938c0c3b64127a7dfd8a8fc6261f
[ "BSD-2-Clause" ]
null
null
null
src/audio/input.cpp
Dervish13/libmaolan
4844ed1468c1938c0c3b64127a7dfd8a8fc6261f
[ "BSD-2-Clause" ]
null
null
null
src/audio/input.cpp
Dervish13/libmaolan
4844ed1468c1938c0c3b64127a7dfd8a8fc6261f
[ "BSD-2-Clause" ]
null
null
null
#include <maolan/audio/input.h> #include <maolan/config.h> using namespace maolan::audio; Input::Input() : IO(1, true) { _type = "Input"; connections.clear(); } void Input::add(IO *to, size_t ch) { auto it = connections.emplace(connections.end()); it->target(to, ch); } void Input::fetch() { std::vecto...
16.92
74
0.555556
[ "vector" ]
ceef775dc010281649206654a373b91decc84d7d
2,617
cpp
C++
tst/operator_overloaded_class_test.cpp
liyinnbw/cpp_boilerplate
868ebf7e8c6e2a7ffb0f1bf12643bd26ed6ed9cc
[ "MIT" ]
null
null
null
tst/operator_overloaded_class_test.cpp
liyinnbw/cpp_boilerplate
868ebf7e8c6e2a7ffb0f1bf12643bd26ed6ed9cc
[ "MIT" ]
null
null
null
tst/operator_overloaded_class_test.cpp
liyinnbw/cpp_boilerplate
868ebf7e8c6e2a7ffb0f1bf12643bd26ed6ed9cc
[ "MIT" ]
null
null
null
/* Copyright: 2020 liyinnbw author: liyinnbw licence: MIT */ #include <iostream> #include <vector> #include <tuple> #include <algorithm> #include "gtest/gtest.h" #include "operator_overload/operator_overloaded_class.h" namespace cpp_boilerplate{ TEST(OperatorOverloadedClass, Comparators) { OperatorOverloadedClass...
24.92381
56
0.60642
[ "vector" ]
ceefb4857c88eb45977994e9bf4cdffc7009e793
4,834
cpp
C++
src/xray/render/core/sources/res_rt.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/render/core/sources/res_rt.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/render/core/sources/res_rt.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 27.02.2009 // Author : Mykhailo Parfeniuk // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include <xray/render/core/device.h> #includ...
26.855556
135
0.659495
[ "render" ]
cef9b83f2aec0956ddbff731176c77013258e7b3
1,893
cpp
C++
src/game/skirmish/mapvalidator.cpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
3
2015-03-28T02:51:58.000Z
2018-11-08T16:49:53.000Z
src/game/skirmish/mapvalidator.cpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
39
2015-05-18T08:29:16.000Z
2020-07-18T21:17:44.000Z
src/game/skirmish/mapvalidator.cpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
null
null
null
#include "game/skirmish/mapvalidator.hpp" #include <iostream> #include "meta/metaclass.hpp" #include "core/sid.hpp" #include "engine/board.hpp" #include "game/deploymentzone.hpp" namespace qrw { MapValidator::MapValidator(Logger* logger) : logger_(logger) { if(logger_ == nullptr) logger_.reset(new ...
23.085366
128
0.614897
[ "object", "vector" ]
cefac52ebc9f3709969c2d8174ca0fdcd174fb1f
8,645
hpp
C++
src/Client/GUI2/Container.hpp
Marukyu/NecroEdit
4b2380cc3417c6578476a213e05f4cbc846e5a77
[ "MIT", "Unlicense" ]
13
2016-04-02T14:21:49.000Z
2021-01-10T17:32:43.000Z
src/Client/GUI2/Container.hpp
Marukyu/NecroEdit
4b2380cc3417c6578476a213e05f4cbc846e5a77
[ "MIT", "Unlicense" ]
24
2016-04-02T12:08:39.000Z
2021-01-27T01:21:58.000Z
src/Client/GUI2/Container.hpp
Marukyu/NecroEdit
4b2380cc3417c6578476a213e05f4cbc846e5a77
[ "MIT", "Unlicense" ]
6
2016-04-02T12:05:28.000Z
2017-05-10T14:13:39.000Z
#ifndef GUI2_CONTAINER_HPP #define GUI2_CONTAINER_HPP #include "Client/GUI2/Widget.hpp" #include "Client/GUI2/Internal/WidgetEvents.hpp" #include <memory> #include <unordered_map> #include <iterator> namespace gui2 { class Interface; /** * a widget that can hold and manage other widgets. */ class Container : pu...
30.121951
117
0.748525
[ "render", "object", "vector", "transform" ]
cefaf98eaf1b993695dd9305d8094837f31d47ce
17,704
cpp
C++
lib/Query.cpp
renjipanicker/noql
355b4b04de412328d3879891c47dfdbab0fb33df
[ "MIT" ]
6
2020-03-10T01:32:54.000Z
2020-04-09T13:52:28.000Z
lib/Query.cpp
renjipanicker/noql
355b4b04de412328d3879891c47dfdbab0fb33df
[ "MIT" ]
null
null
null
lib/Query.cpp
renjipanicker/noql
355b4b04de412328d3879891c47dfdbab0fb33df
[ "MIT" ]
null
null
null
#include "pch.hpp" #include "noql/Query.hpp" #include "ExprEval.hpp" #include "Logger.hpp" namespace { struct EnvBlock { std::map<std::string, ::noq::Value> vlist; inline void str(std::ostream& os) const { os << "{"; std::string sep; for(auto& v : vlist) { ...
42.557692
157
0.46916
[ "vector" ]
cefd79eedc9c426cc218ac0639e42ffe6c11d23d
11,348
cpp
C++
code/engine.vc2008/xrRender/xrRender/ModelPool.cpp
porames25/xray-oxygen
1f3f46a7a1ffc2be1de04a1ec665862127894ef7
[ "Apache-2.0" ]
null
null
null
code/engine.vc2008/xrRender/xrRender/ModelPool.cpp
porames25/xray-oxygen
1f3f46a7a1ffc2be1de04a1ec665862127894ef7
[ "Apache-2.0" ]
null
null
null
code/engine.vc2008/xrRender/xrRender/ModelPool.cpp
porames25/xray-oxygen
1f3f46a7a1ffc2be1de04a1ec665862127894ef7
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #pragma hdrstop #include "ModelPool.h" #include "../../xrEngine/IGame_Persistent.h" #include "../../xrEngine/fmesh.h" #include "fhierrarhyvisual.h" #include "SkeletonAnimated.h" #include "fvisual.h" #include "fprogressive.h" #include "fskinned.h" #include "flod.h" #include "ftreevisual.h" #include ...
22.294695
111
0.650599
[ "object", "model", "3d" ]
30041dc12b8bcb14d2dfd729201eb025d83c7fed
7,903
hpp
C++
src/Node.hpp
vadosnaprimer/desktop-m3g
fa04787e8609cd0f4e63defc7f2c669c8cc78d1f
[ "MIT" ]
2
2019-05-14T08:14:15.000Z
2021-01-19T13:28:38.000Z
src/Node.hpp
vadosnaprimer/desktop-m3g
fa04787e8609cd0f4e63defc7f2c669c8cc78d1f
[ "MIT" ]
null
null
null
src/Node.hpp
vadosnaprimer/desktop-m3g
fa04787e8609cd0f4e63defc7f2c669c8cc78d1f
[ "MIT" ]
null
null
null
#ifndef __M3G_NODE_HPP__ #define __M3G_NODE_HPP__ #include "m3g/Transformable.hpp" #include "m3g/m3ginternal.hpp" #include <iosfwd> namespace m3g { class Transform; class Matrix; /** * @~English An abstract base class for all scene graph nodes. * @~Japanese シーングラフのノードを表す抽象クラス. */ cla...
28.738182
122
0.563963
[ "object", "transform" ]
300bd2aab837be114e3db900c4564fc46d43b90c
18,807
cc
C++
build/build/void/makepkg/astroid/src/astroid/src/chunk.cc
scobiehague/dotfiles
b5819fb09be3d0b1ed43ef1a56d6f196609ec47b
[ "MIT" ]
117
2015-02-14T14:35:49.000Z
2022-03-02T01:46:23.000Z
build/build/void/makepkg/astroid/src/astroid/src/chunk.cc
scobiehague/dotfiles
b5819fb09be3d0b1ed43ef1a56d6f196609ec47b
[ "MIT" ]
4
2019-03-28T23:51:42.000Z
2022-02-23T08:45:25.000Z
build/build/void/makepkg/astroid/src/astroid/src/chunk.cc
scobiehague/dotfiles
b5819fb09be3d0b1ed43ef1a56d6f196609ec47b
[ "MIT" ]
23
2015-11-28T01:49:27.000Z
2021-12-13T16:17:54.000Z
# include <vector> # include <iostream> # include <atomic> # include <fstream> # include <boost/filesystem.hpp> # include <glib.h> # include <gmime/gmime.h> # include "utils/gmime/gmime-filter-html-bq.h" # include "astroid.hh" # include "message_thread.hh" # include "chunk.hh" # include "log.hh" # include "utils/uti...
29.385938
151
0.561387
[ "vector" ]
300c1ed22ae1dcd7c6905a28003ce228742ce83b
2,147
cpp
C++
src/Stop.cpp
xxAtrain223/EmbGenParser
c6debf74579349c152170f1d4316525a29985960
[ "MIT" ]
null
null
null
src/Stop.cpp
xxAtrain223/EmbGenParser
c6debf74579349c152170f1d4316525a29985960
[ "MIT" ]
null
null
null
src/Stop.cpp
xxAtrain223/EmbGenParser
c6debf74579349c152170f1d4316525a29985960
[ "MIT" ]
null
null
null
#include "EmbGen/Parser/Stop.hpp" #include "EmbGen/Parser/Exceptions.hpp" #include <tinyxml2.h> namespace emb { namespace gen { namespace parser { Stop::Stop(const tinyxml2::XMLElement* xml) : XmlElement(xml) { try { ...
31.115942
131
0.424313
[ "vector" ]
30100b2ff29e8421019198f269b973c5709028dd
3,234
hpp
C++
YRoots/include/IntervalChecking/IntervalBounder.hpp
erikhparkinson/YRoots
7907a7245ac37b38a06bc5cc94ad26c7cf5e5905
[ "CNRI-Python" ]
null
null
null
YRoots/include/IntervalChecking/IntervalBounder.hpp
erikhparkinson/YRoots
7907a7245ac37b38a06bc5cc94ad26c7cf5e5905
[ "CNRI-Python" ]
null
null
null
YRoots/include/IntervalChecking/IntervalBounder.hpp
erikhparkinson/YRoots
7907a7245ac37b38a06bc5cc94ad26c7cf5e5905
[ "CNRI-Python" ]
null
null
null
// // IntervalBounder.h // YRoots // // Created by Erik Hales Parkinson on 8/14/21. // Copyright © 2021 Erik Hales Parkinson. All rights reserved. // #ifndef IntervalBounder_h #define IntervalBounder_h #include "Approximation/ChebyshevApproximation.hpp" #include "Utilities/Timer.hpp" #include "Utilities/utilities...
40.936709
166
0.763142
[ "vector" ]
301a7f0c16b9118ef455d65b31bb7e4bb81e4ca9
1,914
cpp
C++
Graph/MINIMUM_SPANNING_TREE_kruskalAlgo(hackerearth).cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
1
2021-07-20T06:08:26.000Z
2021-07-20T06:08:26.000Z
Graph/MINIMUM_SPANNING_TREE_kruskalAlgo(hackerearth).cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
null
null
null
Graph/MINIMUM_SPANNING_TREE_kruskalAlgo(hackerearth).cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
null
null
null
// QUARANTINE DAYS..;) #include <bits/stdc++.h> using namespace std; #define endl "\n" #define test long long int tt;cin>>tt;while(tt--) #define rep(i,a,b) for(long long int i=a;i<b;i++) #define rev(i,a,b) for(long long int i=b-1;i>=a;i--) #define reep(i,a,b) for(long long int i=a;i<=b;i++) #d...
21.505618
84
0.53396
[ "vector", "transform" ]
301bbed067bc89d189e160e8b9c38e37169034ee
14,122
cc
C++
rdci/src/RdciGroupSubSystem.cc
RadeonOpenCompute/rdc
bb11a0abf5bea0ca8ad3d17bd687379c45149ed9
[ "MIT" ]
2
2020-09-10T02:04:00.000Z
2020-12-03T10:55:38.000Z
rdci/src/RdciGroupSubSystem.cc
RadeonOpenCompute/rdc
bb11a0abf5bea0ca8ad3d17bd687379c45149ed9
[ "MIT" ]
2
2022-03-29T00:32:43.000Z
2022-03-31T18:09:36.000Z
rdci/src/RdciGroupSubSystem.cc
RadeonOpenCompute/rdc
bb11a0abf5bea0ca8ad3d17bd687379c45149ed9
[ "MIT" ]
2
2020-09-15T08:05:43.000Z
2021-09-02T03:06:41.000Z
/* Copyright (c) 2020 - present Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to us...
39.337047
79
0.461479
[ "vector" ]
3021d9bd8f18f85195b3894f8b8ed611e3ac17fd
1,773
hpp
C++
algorithms/p677/677.hpp
baishuai/leetcode_go
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
9
2017-06-05T15:10:35.000Z
2021-06-08T03:10:46.000Z
algorithms/p677/677.hpp
baishuai/leetcode
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
3
2017-07-12T14:08:39.000Z
2017-10-11T03:08:15.000Z
algorithms/p677/677.hpp
baishuai/leetcode_go
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
1
2017-07-21T03:51:51.000Z
2017-07-21T03:51:51.000Z
#ifndef LEETCODE_677_HPP #define LEETCODE_677_HPP #include <iostream> #include <queue> #include <algorithm> #include <vector> #include <unordered_map> #include <unordered_set> #include <set> #include <numeric> #include <stack> #include <string> using namespace std; struct TrieNode { int val; unordered_map<c...
20.37931
79
0.530175
[ "object", "vector" ]
3025f8c2707afd63c297a5cc3afe09a06975b737
4,002
cpp
C++
prog-lab-I/poker.cpp
hsnavarro/CompIME
b4f285826d001b6f818d94636a6294782f1cedf2
[ "MIT" ]
null
null
null
prog-lab-I/poker.cpp
hsnavarro/CompIME
b4f285826d001b6f818d94636a6294782f1cedf2
[ "MIT" ]
null
null
null
prog-lab-I/poker.cpp
hsnavarro/CompIME
b4f285826d001b6f818d94636a6294782f1cedf2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; enum figura {DOIS, TRES, QUATRO, CINCO, SEIS, SETE, OITO, NOVE, DEZ, VALETE, DAMA, REI, AS}; enum simbolo {OUROS, ESPADAS, COPAS, PAUS}; string figuras[13] = {" 2", " 3", " 4", " 5", " 6", " 7", " 8", " 9", "10", "VA", "DA", "RE", "AS"}; char simbolos[4] = {"O", "E", "...
24.552147
69
0.465267
[ "vector" ]
6f74e9d0bb0034fa8cc4d07d31de64f4cd9283a8
7,236
hpp
C++
include/URDriver/RTDeserialize.hpp
AliRoshanbin/URDriver-1
7ed462ff86e242de1e8d148a13a489340cbe6a3e
[ "MIT" ]
3
2016-03-09T10:06:10.000Z
2021-11-10T16:26:40.000Z
include/URDriver/RTDeserialize.hpp
AliRoshanbin/URDriver-1
7ed462ff86e242de1e8d148a13a489340cbe6a3e
[ "MIT" ]
null
null
null
include/URDriver/RTDeserialize.hpp
AliRoshanbin/URDriver-1
7ed462ff86e242de1e8d148a13a489340cbe6a3e
[ "MIT" ]
4
2017-02-09T11:00:16.000Z
2021-04-01T13:34:43.000Z
/* * RTDeserialize.hpp * * Created on: Dec 9, 2015 * Author: apertuscus */ #include <sys/socket.h> #include <arpa/inet.h> #ifndef SRC_RTDESERIALIZE_HPP_ #define SRC_RTDESERIALIZE_HPP_ using namespace std; #include "utils.hpp" class RTdata { protected: std::string type; int size; bool configured; publ...
22.060976
83
0.687258
[ "vector" ]
6f7820088d6d40038f5d124ae0b14c283d52bc6c
856
cpp
C++
7_longestNoReapeatingLength.cpp
Cheemion/Leetcode
e0fee06896b13b1efb11338c383dafd5d0dfed19
[ "MIT" ]
null
null
null
7_longestNoReapeatingLength.cpp
Cheemion/Leetcode
e0fee06896b13b1efb11338c383dafd5d0dfed19
[ "MIT" ]
null
null
null
7_longestNoReapeatingLength.cpp
Cheemion/Leetcode
e0fee06896b13b1efb11338c383dafd5d0dfed19
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<unordered_set> using std::vector; using std::unordered_set; class Solution { public: /** * @param arr int整型vector the array * @return int整型 */ int maxLength(vector<int>& arr) { if(arr.size() < 2) return arr.size(); int i = ...
22.526316
58
0.455607
[ "vector" ]
6f7a40a9feab6645c0b537036894f0e466ddd18e
2,897
cpp
C++
day-20/part-2/ayoub.cpp
lypnol/adventofcode-2017
03ced3df3eb80e5c7965c4120e3932919067cb15
[ "MIT" ]
16
2017-12-02T11:56:25.000Z
2018-02-10T15:09:23.000Z
day-20/part-2/ayoub.cpp
lypnol/adventofcode-2017
03ced3df3eb80e5c7965c4120e3932919067cb15
[ "MIT" ]
19
2017-12-01T07:54:22.000Z
2017-12-19T17:41:02.000Z
day-20/part-2/ayoub.cpp
lypnol/adventofcode-2017
03ced3df3eb80e5c7965c4120e3932919067cb15
[ "MIT" ]
4
2017-12-04T23:58:12.000Z
2018-02-01T08:53:16.000Z
#include <iostream> #include <string> #include <sstream> #include <vector> #include <string> using namespace std; typedef struct { int64_t x, y, z; } coord_t; typedef struct { coord_t p, v, a; bool removed; } kinetic_t; void get_numbers(string line, vector<string>& match) { string number = ""; ...
23.942149
76
0.530204
[ "vector" ]
6f8002c6485e4f64ad12eb44a6a1093075445f70
7,443
cc
C++
opensfm/src/features/src/hahog.cc
ashishd/OpenSfM
f66e51df7200fac676d8487499ebaf40e3de3e88
[ "BSD-2-Clause" ]
null
null
null
opensfm/src/features/src/hahog.cc
ashishd/OpenSfM
f66e51df7200fac676d8487499ebaf40e3de3e88
[ "BSD-2-Clause" ]
null
null
null
opensfm/src/features/src/hahog.cc
ashishd/OpenSfM
f66e51df7200fac676d8487499ebaf40e3de3e88
[ "BSD-2-Clause" ]
null
null
null
#include <features/hahog.h> #include <iostream> #include <vector> extern "C" { #include <time.h> #include <vl/covdet.h> #include <vl/sift.h> } namespace features { // from VLFeat implementation of _vl_compare_scores static int vlfeat_compare_scores(const void *a, const void *b) { float fa = ((VlCovDetFeature *)a)...
36.307317
80
0.659277
[ "object", "shape", "vector" ]
6f858e24aceb3056dac6752e3e4028c2dca69cd2
16,558
cpp
C++
pywinrt/winsdk/src/py.Windows.System.Preview.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
3
2022-02-14T14:53:08.000Z
2022-03-29T20:48:54.000Z
pywinrt/winsdk/src/py.Windows.System.Preview.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
4
2022-01-28T02:53:52.000Z
2022-02-26T18:10:05.000Z
pywinrt/winsdk/src/py.Windows.System.Preview.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
null
null
null
// WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.4 #include "pybase.h" #include "py.Windows.System.Preview.h" PyTypeObject* py::winrt_type<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview>::python_type; PyTypeObject* py::winrt_type<winrt::Windows::System::Previe...
41.086849
321
0.685228
[ "object" ]
6f882a5197452c524c824180c9bc376037699f82
2,538
cpp
C++
API CPP/api-cpp-sugar-free-1.0/src/TestJson/test.cpp
Souto751/isft151-practicas-2
261dd50b50954207a652df4dc45e980db460e0f1
[ "Apache-2.0" ]
null
null
null
API CPP/api-cpp-sugar-free-1.0/src/TestJson/test.cpp
Souto751/isft151-practicas-2
261dd50b50954207a652df4dc45e980db460e0f1
[ "Apache-2.0" ]
null
null
null
API CPP/api-cpp-sugar-free-1.0/src/TestJson/test.cpp
Souto751/isft151-practicas-2
261dd50b50954207a652df4dc45e980db460e0f1
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2016 Gabriel Ferreira <gabrielinuz@gmail.com>. All rights reserved. * This file is part of API-CPP-SET. * Released under the GPL3 license * https://opensource.org/licenses/GPL-3.0 **/ #include <string> #include <iostream> #include <fstream> #include <vendors/nlohmann/json.hpp> using json = nlohman...
26.164948
93
0.475571
[ "object" ]
6f911616a1072d69aedf124dcd770540bc6ecb6d
6,115
cpp
C++
src/vm.cpp
aimktech/chip8
40f278e2638eb95abb2f7b979a4d8bfa69d2400b
[ "Apache-2.0" ]
3
2021-01-20T21:26:30.000Z
2021-12-17T10:09:54.000Z
src/vm.cpp
aimktech/chip8
40f278e2638eb95abb2f7b979a4d8bfa69d2400b
[ "Apache-2.0" ]
null
null
null
src/vm.cpp
aimktech/chip8
40f278e2638eb95abb2f7b979a4d8bfa69d2400b
[ "Apache-2.0" ]
null
null
null
/* * vm.cpp * Chip8 Virtual Machine implementation */ // includes #include <fstream> #include <SDL2/SDL.h> #include "vm.h" #include "mmu.h" #include "cpu.h" #include "display.h" #include "keyboard.h" #include "romset.h" #include "constants.h" #include "except.h" // Virtual Machine structure struct VM::OpaqueData ...
25.268595
107
0.507114
[ "render" ]
6f9cc5040823252c18e25625681d71f5638bd123
3,127
cpp
C++
libraries/eth/libdevcore/Base58.cpp
BitethereumFoundation/Bitethereum-core
34bc9883b20cba200436021115db5388bf5df84d
[ "MIT" ]
null
null
null
libraries/eth/libdevcore/Base58.cpp
BitethereumFoundation/Bitethereum-core
34bc9883b20cba200436021115db5388bf5df84d
[ "MIT" ]
null
null
null
libraries/eth/libdevcore/Base58.cpp
BitethereumFoundation/Bitethereum-core
34bc9883b20cba200436021115db5388bf5df84d
[ "MIT" ]
null
null
null
/* This file is part of cpp-ethereum. cpp-ethereum 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. cpp-ethereum is distributed in the...
26.058333
94
0.662936
[ "vector" ]
6fa7d617f5af4f7e9924b29c27f219e0d3a85819
3,434
cc
C++
peridot/bin/suggestion_engine/ranking_features/affinity_ranking_feature.cc
yanyushr/fuchsia
98e70672a81a206d235503e398f37b7b65581f79
[ "BSD-3-Clause" ]
1
2019-10-09T10:50:57.000Z
2019-10-09T10:50:57.000Z
peridot/bin/suggestion_engine/ranking_features/affinity_ranking_feature.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
peridot/bin/suggestion_engine/ranking_features/affinity_ranking_feature.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "peridot/bin/suggestion_engine/ranking_features/affinity_ranking_feature.h" #include <lib/fsl/types/type_converters.h> #include <src/lib/fxl/logg...
36.147368
84
0.700349
[ "vector" ]
6fbcd0193735a9948bd2f13e6b88fa30f9a46b23
2,535
cpp
C++
src/hischeck/main.cpp
paps/Open-Trading
b62f85f391be9975a161713f87aeff0cae0a1e37
[ "BSD-2-Clause" ]
23
2015-07-24T15:45:36.000Z
2021-11-23T15:35:33.000Z
src/hischeck/main.cpp
paps/Open-Trading
b62f85f391be9975a161713f87aeff0cae0a1e37
[ "BSD-2-Clause" ]
null
null
null
src/hischeck/main.cpp
paps/Open-Trading
b62f85f391be9975a161713f87aeff0cae0a1e37
[ "BSD-2-Clause" ]
21
2015-07-12T16:42:01.000Z
2020-08-23T22:56:50.000Z
// The Open Trading Project - open-trading.org // // Copyright (c) 2011 Martin Tapia - martin.tapia@open-trading.org // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributio...
39.609375
76
0.686391
[ "vector" ]
6fc4ba76d3509e98da30f0dd4a49619d1d7b24f9
2,052
cpp
C++
src/processor.cpp
VimalKumarS/System_monitor_udacity_cpp
0161b1f3ccf840d6ad22a69809881b39f128c127
[ "MIT" ]
null
null
null
src/processor.cpp
VimalKumarS/System_monitor_udacity_cpp
0161b1f3ccf840d6ad22a69809881b39f128c127
[ "MIT" ]
null
null
null
src/processor.cpp
VimalKumarS/System_monitor_udacity_cpp
0161b1f3ccf840d6ad22a69809881b39f128c127
[ "MIT" ]
null
null
null
#include "processor.h" #include "linux_parser.h" // TODO: Return the aggregate CPU utilization float Processor::Utilization() { std::vector<std::string> cpu_list = LinuxParser::CpuUtilization(); long user, nice, system, irq, softirq, steal, idle, iowait; user = std::stol(cpu_list[LinuxParser::CPUStates::k...
33.096774
84
0.668616
[ "vector" ]
6fc5572e82ed8aa23db41baa4118bb76ee6064be
4,070
hpp
C++
src/abacus/metrics.hpp
steinwurf/abacus
80eb3611a6a97472a4a686ce9ffb380767c8c200
[ "BSD-3-Clause" ]
1
2022-02-04T17:32:30.000Z
2022-02-04T17:32:30.000Z
src/abacus/metrics.hpp
steinwurf/abacus
80eb3611a6a97472a4a686ce9ffb380767c8c200
[ "BSD-3-Clause" ]
8
2021-11-08T12:37:15.000Z
2022-01-25T12:14:01.000Z
src/abacus/metrics.hpp
steinwurf/abacus
80eb3611a6a97472a4a686ce9ffb380767c8c200
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) Steinwurf ApS 2020. // All Rights Reserved // // Distributed under the "BSD License". See the accompanying LICENSE.rst file. #pragma once #include <cassert> #include <vector> #include "metric.hpp" #include "version.hpp" #include "view.hpp" namespace abacus { inline namespace STEINWURF_ABACUS_VERSIO...
31.796875
80
0.681572
[ "object", "vector" ]
6fddcc353c2395a7effdafd5b8131a8826da1071
15,181
cc
C++
src/firmware/lib/fastboot/fastboot.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
2
2022-02-24T16:24:29.000Z
2022-02-25T22:33:10.000Z
src/firmware/lib/fastboot/fastboot.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
src/firmware/lib/fastboot/fastboot.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2022 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 <fidl/fuchsia.paver/cpp/wire.h> #include <lib/fastboot/fastboot.h> #include <lib/fdio/directory.h> #include <lib/fidl-async/cpp/bind.h> #include <...
37.299754
100
0.671827
[ "vector" ]
6fe8022421d1e299e11bbd7fdffe5058e1b5d17b
7,080
hpp
C++
thirdparty/moab/tools/refiner/EntityRefiner.hpp
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
thirdparty/moab/tools/refiner/EntityRefiner.hpp
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
thirdparty/moab/tools/refiner/EntityRefiner.hpp
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
/* * MOAB, a Mesh-Oriented datABase, is a software component for creating, * storing and accessing finite element mesh data. * * Copyright 2007 Sandia Corporation. Under the terms of Contract * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government * retains certain rights in this software. * * This ...
39.333333
130
0.73065
[ "mesh", "vector" ]
6fedcf7d2ae74f4b578efb56c9ee29f60e9aa577
7,963
cpp
C++
samples/source/AML_SearchAndDeleteComponent.cpp
ThE-TiGeR/XMP-Toolkit
064cde77086c1e13a8524f63c461b5cc650de15f
[ "BSD-3-Clause" ]
13
2015-04-10T16:31:04.000Z
2021-10-12T18:01:22.000Z
samples/source/AML_SearchAndDeleteComponent.cpp
ThE-TiGeR/XMP-Toolkit
064cde77086c1e13a8524f63c461b5cc650de15f
[ "BSD-3-Clause" ]
7
2016-06-05T22:12:29.000Z
2018-09-25T23:15:52.000Z
samples/source/AML_SearchAndDeleteComponent.cpp
ThE-TiGeR/XMP-Toolkit
064cde77086c1e13a8524f63c461b5cc650de15f
[ "BSD-3-Clause" ]
11
2015-05-07T06:25:51.000Z
2021-12-23T19:43:35.000Z
// ================================================================================================= // Copyright 2008 Adobe Systems Incorporated // All Rights Reserved. // // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms // of the Adobe license agreement accompanying ...
38.65534
185
0.77182
[ "object", "vector" ]
6ff24f12b935b84dd6b9e92093f6089e9d7065ee
5,103
cpp
C++
native/src/python_module.cpp
Photonomie/previewer
5353f453b7ae60f506af2f013ae8f870c1eec90c
[ "MIT" ]
7
2017-02-10T12:40:21.000Z
2021-01-31T23:17:56.000Z
native/src/python_module.cpp
Photonomie/previewer
5353f453b7ae60f506af2f013ae8f870c1eec90c
[ "MIT" ]
null
null
null
native/src/python_module.cpp
Photonomie/previewer
5353f453b7ae60f506af2f013ae8f870c1eec90c
[ "MIT" ]
null
null
null
#define PY_ARRAY_UNIQUE_SYMBOL libpreviewer_ARRAY_API #include <iostream> #include <boost/python.hpp> #include <pyboostcvconverter/pyboostcvconverter.hpp> namespace libpreviewer { using namespace boost::python; std::ostream& operator<<(std::ostream& os, const boost::python::object& o) { return os <<...
38.368421
154
0.538311
[ "object" ]
b50c7a21d7c7902b59133a8e9dd2071bcd7609a5
4,784
cpp
C++
src/SHAPER1.cpp
squinkylabs/Demo
7d2e140303dd3877ae8d0a9a5862c8d179c0eae1
[ "MIT" ]
43
2020-06-21T02:17:03.000Z
2022-03-05T16:10:12.000Z
src/SHAPER1.cpp
squinkylabs/Demo
7d2e140303dd3877ae8d0a9a5862c8d179c0eae1
[ "MIT" ]
3
2020-06-22T00:34:47.000Z
2021-12-23T19:42:38.000Z
src/SHAPER1.cpp
squinkylabs/Demo
7d2e140303dd3877ae8d0a9a5862c8d179c0eae1
[ "MIT" ]
5
2020-06-21T09:06:01.000Z
2021-12-06T06:43:30.000Z
/** * This file contains the entire implementation of the FILTER1 demo module. */ #include "OverSamplingShaper.h" #include "demo-plugin.hpp" float dumbChopper(float x) { x *= 10; x = std::max(x, -5.f); x = std::min(x, 5.f); return x; } class MyShaper : public OverSamplingShaper { private: float ...
36.242424
105
0.652592
[ "model" ]
b510eae8f4bddd3f547b21213d87bf0d1a09945e
3,461
cpp
C++
main/src/jumpnrun/mover/bullet/ShotGun.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
main/src/jumpnrun/mover/bullet/ShotGun.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
main/src/jumpnrun/mover/bullet/ShotGun.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
#define _USE_MATH_DEFINES #include<cmath> #include"jumpnrun/mover/character/Character.h" #include"jumpnrun/mover/bullet/Bullet.h" #include"jumpnrun/mover/effect/Effect.h" #include"jumpnrun/system/Parmanent.h" #include"jumpnrun/GRAPHICS.h" using namespace jnr; using namespace gfw; using namespace gmtr; #define $V gmtr::...
25.448529
107
0.613695
[ "shape" ]
b517089dbce8fa1a4478e0a0d67920ed3ea27104
1,647
cpp
C++
engine/src/fabric/gameobjectHandler.cpp
batburger/fabricEngine
438c6094d244720b452bd4638c76e80316023398
[ "MIT" ]
null
null
null
engine/src/fabric/gameobjectHandler.cpp
batburger/fabricEngine
438c6094d244720b452bd4638c76e80316023398
[ "MIT" ]
5
2017-07-24T17:24:43.000Z
2017-10-07T08:38:32.000Z
engine/src/fabric/gameobjectHandler.cpp
batburger/fabricEngine
438c6094d244720b452bd4638c76e80316023398
[ "MIT" ]
null
null
null
#include <fabric/gameobjectHandler.hpp> int fabric::GameObjectHandler::renderAll() { if (!fabric::GameObjectHandler::sorted) GameObjectHandler::sortVector(); for (unsigned int i = 0; i < GameObjectHandler::gObjs.size(); i++) { GameObjectHandler::gObjs.at(i)->render(); } return 0; } int fabric::GameObjectHa...
19.843373
75
0.667881
[ "render", "vector" ]
dde2f13aff4e82ce660e20c91e866e25f2e528a6
9,872
cpp
C++
saga/impl/exception.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/impl/exception.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/impl/exception.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2009 Hartmut Kaiser // // 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 <saga/saga/base.hpp> #include <saga/saga/adaptors/task.hpp> #include <saga/impl/runtime.hpp> #include <saga...
39.019763
81
0.472346
[ "object", "vector" ]
dde3dd6bc360aa048a61122ecf32b793cd3d09bb
7,183
cpp
C++
src/applications/thorough-json.cpp
jingai/xiv-sim
074b86cb6ccd00149c08e89be7c02f1a7c05ed93
[ "MIT" ]
9
2015-01-27T11:48:28.000Z
2020-12-02T16:58:13.000Z
src/applications/thorough-json.cpp
jingai/xiv-sim
074b86cb6ccd00149c08e89be7c02f1a7c05ed93
[ "MIT" ]
21
2015-01-03T08:56:42.000Z
2016-01-01T13:43:42.000Z
src/applications/thorough-json.cpp
ccbrown/xiv-sim
074b86cb6ccd00149c08e89be7c02f1a7c05ed93
[ "MIT" ]
8
2015-01-25T04:31:51.000Z
2017-03-03T17:29:42.000Z
#include "ActorConfigurationParser.h" #include "json.h" #include "../Actor.h" #include "../JITRotation.h" #include "../Simulation.h" #include "../models/Dragoon.h" #include <future> #include <vector> #include <map> #include <inttypes.h> namespace applications { struct TrialResults { uint64_t seed; Simulation::Co...
32.502262
243
0.719337
[ "vector", "model" ]
dde66094bc594d6b3d89f176a689ef40641803c8
2,065
cpp
C++
intel_extension_for_pytorch/csrc/aten/cpu/MergedEmbeddingBag.cpp
Manny27nyc/intel-extension-for-pytorch
b40faedf6b00d520f6483d519d2e82bce0a6c0d1
[ "Apache-2.0" ]
null
null
null
intel_extension_for_pytorch/csrc/aten/cpu/MergedEmbeddingBag.cpp
Manny27nyc/intel-extension-for-pytorch
b40faedf6b00d520f6483d519d2e82bce0a6c0d1
[ "Apache-2.0" ]
null
null
null
intel_extension_for_pytorch/csrc/aten/cpu/MergedEmbeddingBag.cpp
Manny27nyc/intel-extension-for-pytorch
b40faedf6b00d520f6483d519d2e82bce0a6c0d1
[ "Apache-2.0" ]
null
null
null
#include "MergedEmbeddingBag.h" #include <ATen/AccumulateType.h> #include <ATen/Tensor.h> #include <torch/extension.h> #include "csrc/autocast/autocast_mode.h" namespace torch_ipex { namespace cpu { DEFINE_DISPATCH(merged_embeddingbag_forward_cpu_kernel_stub); std::vector<Tensor> merged_embeddingbag_forward_cpu( ...
30.367647
119
0.74092
[ "vector" ]
ddf6bc6c4cd16c7f81cd61851545040274e5ea57
4,944
cpp
C++
src/org/apache/poi/poifs/eventfilesystem/POIFSReaderRegistry.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/eventfilesystem/POIFSReaderRegistry.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/poifs/eventfilesystem/POIFSReaderRegistry.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/poifs/eventfilesystem/POIFSReaderRegistry.java #include <org/apache/poi/poifs/eventfilesystem/POIFSReaderRegistry.hpp> #include <java/lang/ClassCastException.hpp> #include <java/lang/NullPointerException.hpp> #include <java/lang/Object.hpp> #include <java/util/Collection.hpp>...
40.195122
189
0.697209
[ "object" ]
ddff1f379c3ca7710b08bd3bd38b4355899827ec
3,135
hpp
C++
src/PreviewData.hpp
rc2server/compute
cf9fc90d5cc7ad12fb666e03f5c7f0e419748ccc
[ "0BSD" ]
1
2021-08-20T06:44:10.000Z
2021-08-20T06:44:10.000Z
src/PreviewData.hpp
rc2server/compute
cf9fc90d5cc7ad12fb666e03f5c7f0e419748ccc
[ "0BSD" ]
4
2017-03-27T17:55:29.000Z
2018-01-29T22:51:40.000Z
src/PreviewData.hpp
rc2server/compute
cf9fc90d5cc7ad12fb666e03f5c7f0e419748ccc
[ "0BSD" ]
1
2021-08-20T06:44:10.000Z
2021-08-20T06:44:10.000Z
#pragma once #include <string> #include <map> #include <memory> #include <sstream> #include "common/ZeroInitializedStruct.hpp" #include "EnvironmentWatcher.hpp" #include "parser/RmdParser.hpp" #include "common/RC2Utils.hpp" #include "PreviewDelegate.hpp" #include "FileManager.hpp" using std::string; using std::vector...
29.027778
121
0.722488
[ "vector" ]
fb01217def40d73c4d2c82165731a37486265e74
16,740
cc
C++
test/src/unit-rtree.cc
Ari0nhh/TileDB
6207c24ea4771f71a2ab9dab3fd3b37f73a685d3
[ "MIT" ]
null
null
null
test/src/unit-rtree.cc
Ari0nhh/TileDB
6207c24ea4771f71a2ab9dab3fd3b37f73a685d3
[ "MIT" ]
null
null
null
test/src/unit-rtree.cc
Ari0nhh/TileDB
6207c24ea4771f71a2ab9dab3fd3b37f73a685d3
[ "MIT" ]
null
null
null
/** * @file unit-rtree.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2017-2020 TileDB, Inc. * * 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 res...
36.312364
80
0.653345
[ "vector" ]
fb01ac0f7ee7f9f1bd9cfbb968b44323c341612e
1,005
cpp
C++
TwinStickGame/TwinStickGame/Levels/Level1.cpp
Isetta-Team/Isetta-Game
a4c7e37b51d567d875ed0e3f10b6206df1de39b9
[ "MIT" ]
2
2020-11-30T02:07:27.000Z
2021-04-06T12:14:44.000Z
TwinStickGame/TwinStickGame/Levels/Level1.cpp
Isetta-Team/Isetta-Game
a4c7e37b51d567d875ed0e3f10b6206df1de39b9
[ "MIT" ]
null
null
null
TwinStickGame/TwinStickGame/Levels/Level1.cpp
Isetta-Team/Isetta-Game
a4c7e37b51d567d875ed0e3f10b6206df1de39b9
[ "MIT" ]
1
2019-05-10T09:17:28.000Z
2019-05-10T09:17:28.000Z
/* * Copyright (c) 2018 Isetta */ #include <IsettaEngine.h> #include "Levels/Level1.h" #include <Components/Editor/EditorComponent.h> #include "Enemy/EnemyManager.h" #include "Gameplay/BulletManager.h" #include "Gameplay/GameManager.h" #include "Player/CameraController.h" void Level1::Load() { Entity* camera = E...
27.916667
64
0.737313
[ "transform" ]
fb0afab48753c35c8e5a51dd996014a5bb5ba5cc
13,530
cpp
C++
src/imapindex.cpp
d99kris/nmail
71b118f9e701d457caac9479686bdf30d05bf214
[ "MIT" ]
42
2019-05-04T14:08:05.000Z
2022-02-19T17:56:02.000Z
src/imapindex.cpp
d99kris/nmail
71b118f9e701d457caac9479686bdf30d05bf214
[ "MIT" ]
89
2019-09-22T15:03:18.000Z
2022-03-31T13:11:14.000Z
src/imapindex.cpp
d99kris/nmail
71b118f9e701d457caac9479686bdf30d05bf214
[ "MIT" ]
8
2020-06-03T13:19:16.000Z
2022-02-02T13:03:45.000Z
// imapindex.cpp // // Copyright (c) 2020-2021 Kristofer Berggren // All rights reserved. // // nmail is distributed under the MIT license, see LICENSE for details. #include "imapindex.h" #include <unistd.h> #include "addressbook.h" #include "body.h" #include "cacheutil.h" #include "crypto.h" #include "header.h" #in...
27.06
117
0.661863
[ "vector" ]
fb24ec32a9d772ba6eff88c31172296d66d62aa7
2,186
cpp
C++
demos/tutorial/generic_programming/example_hashing.cpp
serosko/seqan
584ae4fbff8312cfe31b3e0aea651edfb1b580ef
[ "BSD-3-Clause" ]
409
2015-01-12T22:02:01.000Z
2022-03-29T06:17:05.000Z
demos/tutorial/generic_programming/example_hashing.cpp
serosko/seqan
584ae4fbff8312cfe31b3e0aea651edfb1b580ef
[ "BSD-3-Clause" ]
1,269
2015-01-02T22:42:25.000Z
2022-03-08T13:31:46.000Z
demos/tutorial/generic_programming/example_hashing.cpp
serosko/seqan
584ae4fbff8312cfe31b3e0aea651edfb1b580ef
[ "BSD-3-Clause" ]
193
2015-01-14T16:21:27.000Z
2022-03-19T22:47:02.000Z
#include <seqan/basic.h> #include <seqan/sequence.h> using namespace seqan; //![hashAll] template <typename TShape, typename TString> void hashAll(TShape & shape, TString & str) { typedef typename Iterator<TString>::Type TIterator; TIterator it = begin(str); TIterator it_end = end(str) - span(shape); ...
24.288889
90
0.672919
[ "shape" ]
fb294d62b39c017fbbcbaad080aeddf4cb26abe3
5,174
cpp
C++
src/log.cpp
logpicker/prototype
0a25fccc24a8e298dee9bae240fcd73a4e5d185e
[ "MIT" ]
null
null
null
src/log.cpp
logpicker/prototype
0a25fccc24a8e298dee9bae240fcd73a4e5d185e
[ "MIT" ]
null
null
null
src/log.cpp
logpicker/prototype
0a25fccc24a8e298dee9bae240fcd73a4e5d185e
[ "MIT" ]
null
null
null
#include "log.hpp" #include "printfn.hpp" #include "error_out.hpp" #include <utility> #include <boost/property_tree/xml_parser.hpp> #include <string> extern "C" { #include "rsa_util.h" } Log::Log(int id_, std::string hostname_, vector<uint8_t> seed) : id(id_), sk(crypto::generate_secret_key(std::move(seed))), pk(crypto...
36.957143
261
0.626015
[ "vector" ]
fb2e51ab5514e3bc590c8c96346ed5e47760e8d1
12,017
hpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ha_eem_cfg.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-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ha_eem_cfg.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-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ha_eem_cfg.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 _CISCO_IOS_XR_HA_EEM_CFG_ #define _CISCO_IOS_XR_HA_EEM_CFG_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xr { namespace Cisco_IOS_XR_ha_eem_cfg { class EventManager : public ydk::Entity { public: EventManager(); ...
43.382671
162
0.683698
[ "vector" ]
fb307008eec35605bc7ca8833eb208bf7a0adc58
1,052
hpp
C++
include/ari/ResourceLoader.hpp
kochol/ariyana_old
efdd20eea0f1fafa803fb254d4775aa1915ba3a1
[ "MIT" ]
1
2022-01-11T01:15:43.000Z
2022-01-11T01:15:43.000Z
include/ari/ResourceLoader.hpp
kochol/ariyana_old
efdd20eea0f1fafa803fb254d4775aa1915ba3a1
[ "MIT" ]
null
null
null
include/ari/ResourceLoader.hpp
kochol/ariyana_old
efdd20eea0f1fafa803fb254d4775aa1915ba3a1
[ "MIT" ]
2
2020-09-02T17:24:58.000Z
2020-09-02T17:40:44.000Z
#pragma once #include "aridef.hpp" #include <vector> #include "bx/readerwriter.h" #include "bx/file.h" namespace ari { class Resource; class ARI_API ResourceLoader { public: //! Constructor ResourceLoader() : m_bSwapEndian(false) {} //! Destructor virtual ~ResourceLoader() = default; //! retu...
24.465116
118
0.691065
[ "mesh", "vector" ]
fb31c232b5f5743ec2e982f969c4fac88229870f
4,599
hpp
C++
third_party/libsmart-1.01e/include/smart/unique_priority_queue.hpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
null
null
null
third_party/libsmart-1.01e/include/smart/unique_priority_queue.hpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
null
null
null
third_party/libsmart-1.01e/include/smart/unique_priority_queue.hpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
2
2019-03-16T07:07:16.000Z
2020-01-05T11:14:58.000Z
/////////////////////////////////////////////////////////////////////////////// // unique_priority_queue.hpp // // Copyright (c) 2011 Dmitry Timoshenko. // // 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) // // ...
28.042683
83
0.672972
[ "object" ]
fb323e279fbdcd897b21ba5ccda1cbb8cefd9683
40,952
hpp
C++
alectrnn/nervous_system/layer.hpp
neuro-evolution/alectrnn
f39476b6eb3f4270c5f7f2f93ebcc5940b9c39e4
[ "MIT" ]
null
null
null
alectrnn/nervous_system/layer.hpp
neuro-evolution/alectrnn
f39476b6eb3f4270c5f7f2f93ebcc5940b9c39e4
[ "MIT" ]
33
2018-03-30T03:18:03.000Z
2020-12-14T05:13:17.000Z
alectrnn/nervous_system/layer.hpp
Nathaniel-Rodriguez/alectrnn
f39476b6eb3f4270c5f7f2f93ebcc5940b9c39e4
[ "MIT" ]
null
null
null
#ifndef NN_LAYER_H_ #define NN_LAYER_H_ #include <vector> #include <cstddef> #include <stdexcept> #include <initializer_list> #include <iostream> #include <utility> #include <random> #include <Eigen/Core> #include "../common/graphs.hpp" #include "activator.hpp" #include "integrator.hpp" #include "../common/multi_array...
39.376923
124
0.655792
[ "shape", "vector" ]
fb44868f2c7053f15f5b0387e8ca846134ac420c
612
cpp
C++
Scholarship.cpp
OrlykM/Algotester
6d0702b191610795beb959d378ab1feef6191b68
[ "CC0-1.0" ]
null
null
null
Scholarship.cpp
OrlykM/Algotester
6d0702b191610795beb959d378ab1feef6191b68
[ "CC0-1.0" ]
null
null
null
Scholarship.cpp
OrlykM/Algotester
6d0702b191610795beb959d378ab1feef6191b68
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <math.h> #include <vector> using namespace std; int main() { signed int n, m=0; cin >> n; if (n >= 1 && n <= 7) { vector<int> marks; for (int i = 0; i < n; i++) { signed int mark; cin >> mark; if (mark>= 0 && mark <= 100) { marks.push_back(mark); } } for...
13.304348
40
0.468954
[ "vector" ]
fb5302bf4d37f3596eed3209c57cfbf8cdd19a06
1,045
cpp
C++
MegamanX3/MegamanX3/Node.cpp
quangnghiauit/game
3c0537f96342c6fcb89cf5f3541acfef75b558f1
[ "MIT" ]
null
null
null
MegamanX3/MegamanX3/Node.cpp
quangnghiauit/game
3c0537f96342c6fcb89cf5f3541acfef75b558f1
[ "MIT" ]
null
null
null
MegamanX3/MegamanX3/Node.cpp
quangnghiauit/game
3c0537f96342c6fcb89cf5f3541acfef75b558f1
[ "MIT" ]
null
null
null
#include"Node.h" Node::Node() { for (int i = 0; i < 4; i++) listChils[i] = NULL; } Node::Node(Box b) { this->bound = b; for (int i = 0; i < 4; i++) listChils[i] = NULL; } Node::Node(int x, int y, int w, int h) { bound.SetingBox(x, y, w, h); for (int i = 0; i < 4; i++) listChils[i] = NULL; } Node::~Node...
14.513889
79
0.6
[ "object" ]
fb622d7f90a2b4ff9f114d71dcd7fc9efe26b7d1
764
cpp
C++
Dataset/Leetcode/test/55/564.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/55/564.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/55/564.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: bool XXX(vector<int>& nums) { //避开0 //每次尽可能跳跃长的长度?不对 //从后往前找,遇到0就在0之前找有没有能跳过这个0的步数,找到起点都没找到就返回f //找到了就从该数之前开始继续查找0,直到找到起点 if (nums.size() == 1 && nums[0] == 0) return true; for(int i=nums.size()-1;i>=0;--i) { ...
23.875
92
0.331152
[ "vector" ]
fb6613ac6ec7ddf2e378da380c8dd651d2fbd405
5,811
cpp
C++
convert/mumdex2sam.cpp
docpaa/mumdex
571f2d03a457da2f51d525ac038aef455e3467c1
[ "Zlib", "MIT" ]
5
2018-02-07T15:58:30.000Z
2019-11-23T00:58:54.000Z
convert/mumdex2sam.cpp
docpaa/mumdex
571f2d03a457da2f51d525ac038aef455e3467c1
[ "Zlib", "MIT" ]
null
null
null
convert/mumdex2sam.cpp
docpaa/mumdex
571f2d03a457da2f51d525ac038aef455e3467c1
[ "Zlib", "MIT" ]
1
2019-11-20T15:47:54.000Z
2019-11-20T15:47:54.000Z
// // mumdex2sam // // convert mumdex format to SAM format // // Copyright 2015 Peter Andrews @ CSHL // #include <array> #include <exception> #include <iostream> #include <sstream> #include <string> #include <vector> #include "encode.h" #include "error.h" #include "mumdex.h" #include "sam.h" using std::array; using ...
29.953608
79
0.528308
[ "vector" ]
fb6f2c2be0592758ba2843c6106b5751fa958bd8
64,423
cpp
C++
source/Lib/EncoderLib/EncModeCtrl.cpp
0qinghao/VTM12.3_Src
20587035d1acdb715a7346eb244473b434d58dfd
[ "BSD-3-Clause" ]
null
null
null
source/Lib/EncoderLib/EncModeCtrl.cpp
0qinghao/VTM12.3_Src
20587035d1acdb715a7346eb244473b434d58dfd
[ "BSD-3-Clause" ]
null
null
null
source/Lib/EncoderLib/EncModeCtrl.cpp
0qinghao/VTM12.3_Src
20587035d1acdb715a7346eb244473b434d58dfd
[ "BSD-3-Clause" ]
null
null
null
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2021, ITU/ISO/IEC * All rights reserve...
31.798124
120
0.610481
[ "vector" ]
fb7044b68d997f3a7f969489242619815076d311
3,866
cpp
C++
source/scene/ParticleSystem.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
6
2017-06-26T11:42:26.000Z
2018-09-10T17:53:53.000Z
source/scene/ParticleSystem.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
8
2017-06-24T20:25:42.000Z
2017-08-09T10:50:40.000Z
source/scene/ParticleSystem.cpp
DaSutt/VolumetricParticles
6ec9bac4bec4a8757343bb770b23110ef2364dfd
[ "Apache-2.0" ]
null
null
null
/* MIT License Copyright(c) 2017 Daniel Suttor 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, publish, di...
28.014493
99
0.722193
[ "transform" ]
fb788422aad8dac6c1cac6f2aa043257abe3d853
4,305
cpp
C++
src/input_parsers/acas_example/main.cpp
muizzk/Marabou
b938c474bbf7820854822ca407b64b53dfcf6c7c
[ "BSD-3-Clause" ]
null
null
null
src/input_parsers/acas_example/main.cpp
muizzk/Marabou
b938c474bbf7820854822ca407b64b53dfcf6c7c
[ "BSD-3-Clause" ]
null
null
null
src/input_parsers/acas_example/main.cpp
muizzk/Marabou
b938c474bbf7820854822ca407b64b53dfcf6c7c
[ "BSD-3-Clause" ]
1
2021-06-29T06:54:29.000Z
2021-06-29T06:54:29.000Z
/********************* */ /*! \file main.cpp ** \verbatim ** Top contributors (to current version): ** Guy Katz, Derek Huang ** This file is part of the Marabou project. ** Copyright (c) 2017-2019 by the authors listed in the file AUTHORS ** in the top-leve...
33.115385
100
0.566551
[ "vector" ]
fb84a2015fdb31a7895bf9e93e084aa46a880324
2,091
hpp
C++
module-db/Tables/Table.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
module-db/Tables/Table.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
module-db/Tables/Table.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include "Record.hpp" #include <Database/Database.hpp> #include <functional> #include <stdint.h> #include <vector> template <typename T, typename F> class Table { pr...
32.671875
112
0.531803
[ "vector" ]
fb86127f308244f86b41d86ee04a7697e043c51a
8,517
cpp
C++
src/main.cpp
hobby-dev/vsign
893e48f4598e69ed8b6158de62f71b7b0a60834b
[ "Zlib" ]
null
null
null
src/main.cpp
hobby-dev/vsign
893e48f4598e69ed8b6158de62f71b7b0a60834b
[ "Zlib" ]
null
null
null
src/main.cpp
hobby-dev/vsign
893e48f4598e69ed8b6158de62f71b7b0a60834b
[ "Zlib" ]
null
null
null
#include <atomic> #include <chrono> #include <cstdio> #include <cstring> #include <iostream> #include <thread> #include <vector> // Best hash that I could find so far: #include "meow_hash/meow_hash_x64_aesni.h" // Cross-platform memory mapping: #include "portable-memory-mapping/MemoryMapped.h" #define REPORT_ERROR_A...
34.763265
80
0.580134
[ "vector" ]
fb89eb25e9a621f5b11ee2a6070a650893b10f6f
4,412
hpp
C++
include/glw/OpenGlDevice.hpp
jarrettchisholm/glr
79a57b12e26fe84595e833cace3528cb9c82bc20
[ "WTFPL" ]
11
2015-08-19T23:15:41.000Z
2018-05-15T21:53:28.000Z
include/glw/OpenGlDevice.hpp
jarrettchisholm/glr
79a57b12e26fe84595e833cace3528cb9c82bc20
[ "WTFPL" ]
2
2015-05-21T06:37:24.000Z
2015-05-23T05:37:16.000Z
include/glw/OpenGlDevice.hpp
jarrettchisholm/glr
79a57b12e26fe84595e833cace3528cb9c82bc20
[ "WTFPL" ]
5
2016-10-31T08:02:15.000Z
2018-08-24T07:40:23.000Z
#ifndef OPENGLDEVICE_H_ #define OPENGLDEVICE_H_ #include <memory> #include <unordered_map> #include "Configure.hpp" #ifdef OS_WINDOWS #include <windows.h> #endif #include "IOpenGlDevice.hpp" #include "shaders/ShaderProgramManager.hpp" #include "shaders/IShaderProgramBindListener.hpp" #include "glw/IMaterialManage...
32.681481
138
0.81097
[ "vector" ]
65203d6ea637196c60c53c74ba88228dd943f798
1,591
cpp
C++
Leetcode/Subarrays with K Different Integers/solution.cpp
arushmangal/Hack-CP-DSA
91f5aabc4741c1c518f35065273c7fcfced67061
[ "MIT" ]
205
2021-09-30T15:41:05.000Z
2022-03-27T18:34:56.000Z
Leetcode/Subarrays with K Different Integers/solution.cpp
arushmangal/Hack-CP-DSA
91f5aabc4741c1c518f35065273c7fcfced67061
[ "MIT" ]
566
2021-09-30T15:27:27.000Z
2021-10-16T21:21:02.000Z
Leetcode/Subarrays with K Different Integers/solution.cpp
arushmangal/Hack-CP-DSA
91f5aabc4741c1c518f35065273c7fcfced67061
[ "MIT" ]
399
2021-09-29T05:40:46.000Z
2022-03-27T18:34:58.000Z
// In this,first we will find out subarrays with atleast k different integers,then to get subarrays with exactly k different integers we will //use logic i.e. subarrays with atleast k different integers - subarrays with stleast k-1 different integers class Solution { public: int atleast(vector<int>&nums , int k) ...
34.586957
141
0.640478
[ "vector" ]
6527e7fe010de0f4aa5d635c1bfd7cfe95a4fb82
3,876
hpp
C++
src/multi_cg/multi_cg.hpp
simonpp/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
1
2019-05-10T08:48:55.000Z
2019-05-10T08:48:55.000Z
src/multi_cg/multi_cg.hpp
simonpintarelli/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
null
null
null
src/multi_cg/multi_cg.hpp
simonpintarelli/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
null
null
null
#ifndef MULTICG_ #define MULTICG_ #include <vector> #include <algorithm> #include <numeric> #include <cmath> #include <iostream> #include <complex> namespace sirius { namespace cg { template <class T> void repack(std::vector<T> &data, std::vector<size_t> const&ids) { for (size_t i = 0; i < ids.size(); ++i) { ...
28.5
87
0.561662
[ "vector" ]
652b93e6cb9b4613fd809b60918b1744fbdaca1a
2,201
cpp
C++
cpp/euler032/euler032.cpp
marvins/ProjectEuler
55a377bb9702067bac6908c1316c578498402668
[ "MIT" ]
null
null
null
cpp/euler032/euler032.cpp
marvins/ProjectEuler
55a377bb9702067bac6908c1316c578498402668
[ "MIT" ]
null
null
null
cpp/euler032/euler032.cpp
marvins/ProjectEuler
55a377bb9702067bac6908c1316c578498402668
[ "MIT" ]
1
2020-12-16T09:25:19.000Z
2020-12-16T09:25:19.000Z
/** * @file euler032.cpp * @author Marvin Smith * @date 5/2/2015 */ // C++ Standard Libraries #include <cinttypes> #include <iostream> #include <set> #include <vector> // Common Libraries #include "../common/Permutation_Engine.hpp" #include "../common/StringUtilities.hpp" using namespace std; /** * @br...
22.927083
77
0.562017
[ "vector" ]
6534667da9bb014b480f4f5f82191bd65c0d12a6
36,065
cpp
C++
main.cpp
M-Mabrouk/MiniRaster
fbf3cbb3790762c9abc21c88ae7715e76980e927
[ "MIT" ]
null
null
null
main.cpp
M-Mabrouk/MiniRaster
fbf3cbb3790762c9abc21c88ae7715e76980e927
[ "MIT" ]
null
null
null
main.cpp
M-Mabrouk/MiniRaster
fbf3cbb3790762c9abc21c88ae7715e76980e927
[ "MIT" ]
null
null
null
#if defined(UNICODE) && !defined(_UNICODE) #define _UNICODE #elif defined(_UNICODE) && !defined(UNICODE) #define UNICODE #endif #include "menuHeader.h" #include <bits/stdc++.h> #include <tchar.h> #include <windows.h> #include <iostream> #include <fstream> #include <cmath> #include <math.h> #include <stack> #in...
28.131825
147
0.430362
[ "vector" ]
65372173c5c1fb4e9386dbe4a80325394a8e00d0
990
cpp
C++
sources/cards/creatures/blues/ElectroDragon.cpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
1
2022-02-02T21:41:59.000Z
2022-02-02T21:41:59.000Z
sources/cards/creatures/blues/ElectroDragon.cpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
null
null
null
sources/cards/creatures/blues/ElectroDragon.cpp
angeluriot/Magic_royal
a337ce4ad6c3215bbdec8c376d6e88fe97f48f94
[ "MIT" ]
2
2022-02-01T12:59:57.000Z
2022-03-05T12:50:27.000Z
#include "cards/creatures/blues/ElectroDragon.hpp" ElectroDragon::ElectroDragon(): Creature(get_full_power(), get_full_toughness(), get_capacities()) {} ElectroDragon::~ElectroDragon() {} std::string ElectroDragon::get_full_type() const { return Creature::get_full_type() + " - Dragon"; } Card::Color ElectroDragon:...
16.5
101
0.714141
[ "vector" ]
6537414c651d3a6679e1841b0da9149640acb7cf
2,962
cpp
C++
src/imageprocessing/Threshold_inRange.cpp
snandasena/opencv-cpp-examples
7423445d52f38fff80df37698b77ac9f9f5e7945
[ "MIT" ]
null
null
null
src/imageprocessing/Threshold_inRange.cpp
snandasena/opencv-cpp-examples
7423445d52f38fff80df37698b77ac9f9f5e7945
[ "MIT" ]
1
2020-04-28T03:35:49.000Z
2020-04-28T03:35:49.000Z
src/imageprocessing/Threshold_inRange.cpp
snandasena/opencv-cpp-examples
7423445d52f38fff80df37698b77ac9f9f5e7945
[ "MIT" ]
null
null
null
#include <opencv2/imgproc.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/highgui.hpp> #include <opencv2/videoio.hpp> #include <iostream> using namespace std; using namespace cv; const int max_value_H = 360 / 2; const int max_value = 255; const String window_capture_name = "Video Capture"; const String windo...
32.911111
117
0.690412
[ "object" ]
653e5eed0873212678acf1be6b7d8bb851b69de5
3,817
cpp
C++
source/AlgebraicMethods/UTerm.cpp
CoghettoR/gclc
b481b15d28ee66f995b73283e26c285ca8c4a821
[ "MIT" ]
21
2020-12-08T20:06:01.000Z
2022-02-13T22:52:02.000Z
source/AlgebraicMethods/UTerm.cpp
CoghettoR/gclc
b481b15d28ee66f995b73283e26c285ca8c4a821
[ "MIT" ]
9
2020-12-20T03:54:55.000Z
2022-03-31T19:30:04.000Z
source/AlgebraicMethods/UTerm.cpp
CoghettoR/gclc
b481b15d28ee66f995b73283e26c285ca8c4a821
[ "MIT" ]
5
2021-04-25T18:47:17.000Z
2022-01-23T02:37:30.000Z
#include "UTerm.h" UTerm::UTerm(REAL coeff) : _coeff(coeff) { COSTR("uterm"); } void UTerm::Construct(REAL coeff) { _coeff = coeff; COSTR("reused uterm"); } UTerm::~UTerm() { DESTR("uterm"); } void UTerm::Dispose() { _refCount --; if (_refCount == 0) { #ifdef UTERMS_BANK for (i...
17.040179
77
0.587634
[ "object" ]
653fb67fe2f2a5f8e21c12d788a2c444d2b676e5
3,268
cpp
C++
CPP/Space/src/shape3D.cpp
A-G-D/Jass-vJass-Resources
9e5d3929c0651e9fa039e2c6c5dac9b6a4e22e46
[ "MIT" ]
1
2018-01-04T12:10:47.000Z
2018-01-04T12:10:47.000Z
CPP/Space/src/shape3D.cpp
A-G-D/Libraries
9e5d3929c0651e9fa039e2c6c5dac9b6a4e22e46
[ "MIT" ]
null
null
null
CPP/Space/src/shape3D.cpp
A-G-D/Libraries
9e5d3929c0651e9fa039e2c6c5dac9b6a4e22e46
[ "MIT" ]
null
null
null
#include <cmath> #include "vector3D.hpp" #include "shape3D.hpp" using namespace Space; using namespace Space::Shape; FLOAT GetObliqueComponentLength(VEC *u, VEC *v, VEC *w, FLOAT dx, FLOAT dy, FLOAT dz) { FLOAT rx = v->x + w->x, ry = v->y + w->y, rz = v->z + w->z, r = (dx*rx + dy*...
21.5
117
0.580783
[ "shape" ]
654f17af28dfe0958137912cba5c82cd8c0ae8dc
1,554
hpp
C++
src/matrix/proto.hpp
Ralith/nachat
7f58fe7ce9c71912a4001435d0ba82f52b8e5b19
[ "Apache-2.0" ]
52
2016-08-03T00:34:00.000Z
2019-10-26T09:46:11.000Z
src/matrix/proto.hpp
Ralith/nachat
7f58fe7ce9c71912a4001435d0ba82f52b8e5b19
[ "Apache-2.0" ]
10
2016-07-29T04:48:51.000Z
2018-02-22T05:11:12.000Z
src/matrix/proto.hpp
Ralith/nachat
7f58fe7ce9c71912a4001435d0ba82f52b8e5b19
[ "Apache-2.0" ]
16
2016-07-29T00:01:16.000Z
2018-08-10T20:03:10.000Z
#ifndef NATIVE_CHAT_MATRIX_PROTO_HPP_ #define NATIVE_CHAT_MATRIX_PROTO_HPP_ #include <vector> #include <QString> #include "Event.hpp" #include "ID.hpp" class QJsonValue; namespace matrix { namespace proto { struct Presence { std::vector<Event> events; }; struct State { std::vector<event::room::State> events...
16.531915
98
0.714929
[ "vector" ]