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
2d8284d4ee4c71fd58d708c2e26a4193c19f450f
1,637
cpp
C++
src/data/Frames.cpp
PacificBiosciences/pbcopper
ba98ddd79371c2218ca5110d07d5f881c995ff93
[ "BSD-3-Clause-Clear" ]
5
2018-01-15T13:40:30.000Z
2021-01-19T18:28:30.000Z
src/data/Frames.cpp
PacificBiosciences/pbcopper
ba98ddd79371c2218ca5110d07d5f881c995ff93
[ "BSD-3-Clause-Clear" ]
4
2016-09-20T20:25:14.000Z
2020-12-22T19:21:49.000Z
src/data/Frames.cpp
PacificBiosciences/pbcopper
ba98ddd79371c2218ca5110d07d5f881c995ff93
[ "BSD-3-Clause-Clear" ]
7
2017-05-15T08:47:02.000Z
2021-04-28T18:38:09.000Z
#include <pbcopper/data/Frames.h> #include <ostream> #include <type_traits> #include <boost/algorithm/string/join.hpp> #include <boost/range/adaptor/transformed.hpp> #include <pbcopper/data/FrameEncoders.h> namespace PacBio { namespace Data { Frames::Frames(std::vector<uint16_t> frames) noexcept : std::vector<uint...
27.745763
99
0.638363
[ "vector" ]
2d99e6cbcf9e45f35018087de34dc9746c9e3a9e
1,797
hpp
C++
Activities/Menu.hpp
Derjik/Outpost
93a419df75c1a17c1ffa30b0b9061bb3dfd7ce57
[ "0BSD" ]
1
2018-10-26T08:48:07.000Z
2018-10-26T08:48:07.000Z
Activities/Menu.hpp
Derjik/Outpost
93a419df75c1a17c1ffa30b0b9061bb3dfd7ce57
[ "0BSD" ]
null
null
null
Activities/Menu.hpp
Derjik/Outpost
93a419df75c1a17c1ffa30b0b9061bb3dfd7ce57
[ "0BSD" ]
null
null
null
#ifndef MENU_HPP_INCLUDED #define MENU_HPP_INCLUDED #include "../GameContext.hpp" #include <VBN/IModel.hpp> #include <VBN/IView.hpp> #include <VBN/IEventHandler.hpp> #include <array> #define NB_MENU_ENTRIES 5 class WindowManager; namespace Menu { class Factory { public: static std::shared_ptr<GameContext> cr...
20.895349
66
0.717307
[ "model" ]
2d9c8b4a99a9d323ee6d2044d236ea59783af966
11,835
cpp
C++
untitled1/main.cpp
Hramkanvas/needandnotneed
f28ef4a4be428370e2148883c06126f5be9ccd4e
[ "MIT" ]
1
2019-12-28T13:57:09.000Z
2019-12-28T13:57:09.000Z
untitled1/main.cpp
Hramkanvas/needandnotneed
f28ef4a4be428370e2148883c06126f5be9ccd4e
[ "MIT" ]
null
null
null
untitled1/main.cpp
Hramkanvas/needandnotneed
f28ef4a4be428370e2148883c06126f5be9ccd4e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <fstream> #include <string> int vecNum; class BinaryTree { public: BinaryTree *leftArcPointer = nullptr; BinaryTree *rightArcPointer = nullptr; BinaryTree *parentNodePointer = nullptr; int *key = nullptr; int *b = nullptr;//number of pairwise differen...
28.725728
120
0.537474
[ "vector" ]
2da23baeef79db58b32d0f72e90c052eada9ef6c
4,451
cpp
C++
tx.cpp
majacQ/cpu-load-side-channel
3290c42cec1ee5049dc3dfea9b4d26a306dc55f9
[ "MIT" ]
44
2021-05-30T19:30:42.000Z
2021-11-10T12:54:20.000Z
tx.cpp
majacQ/cpu-load-side-channel
3290c42cec1ee5049dc3dfea9b4d26a306dc55f9
[ "MIT" ]
null
null
null
tx.cpp
majacQ/cpu-load-side-channel
3290c42cec1ee5049dc3dfea9b4d26a306dc55f9
[ "MIT" ]
3
2021-05-31T14:22:53.000Z
2021-06-02T05:05:22.000Z
/// Pavel Kirienko <pavel@uavcan.org> /// Distributed under the terms of the MIT license. /// g++ -std=c++17 -O2 -Wall tx.cpp -lpthread -o tx && ./tx #include "side_channel_params.hpp" #include <cstdio> #include <iostream> #include <fstream> #include <iterator> #include <thread> #include <vector> #include <atomic> #in...
30.486301
120
0.56639
[ "vector" ]
2da38a17b81d5993f5264d21fa70a9b47494076b
11,233
cpp
C++
ext/include/osgEarthSymbology/MarkerSymbolizer.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
6
2015-09-26T15:33:41.000Z
2021-06-13T13:21:50.000Z
ext/include/osgEarthSymbology/MarkerSymbolizer.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
null
null
null
ext/include/osgEarthSymbology/MarkerSymbolizer.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
5
2015-05-04T09:02:23.000Z
2019-06-17T11:34:12.000Z
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2010 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundat...
39.975089
134
0.442624
[ "geometry" ]
2dbbb1d06aae427bac492a6e7f2b87da826b57eb
4,285
cpp
C++
src/ui/screens/loginscreen.cpp
hrxcodes/cbftp
bf2784007dcc4cc42775a2d40157c51b80383f81
[ "MIT" ]
8
2019-04-30T00:37:00.000Z
2022-02-03T13:35:31.000Z
src/ui/screens/loginscreen.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
2
2019-11-19T12:46:13.000Z
2019-12-20T22:13:57.000Z
src/ui/screens/loginscreen.cpp
Xtravaganz/cbftp
31a3465e2cd539f6cf35a5d9a0bb9c5c2f639cd5
[ "MIT" ]
9
2020-01-15T02:38:36.000Z
2022-02-15T20:05:20.000Z
#include "loginscreen.h" #include <cstdlib> #include <ctime> #include "../termint.h" #include "../ui.h" #include "../chardraw.h" #include "../../buildinfo.h" LoginScreen::LoginScreen(Ui* ui) : UIWindow(ui, "LoginScreen") { allowimplicitgokeybinds = false; } void LoginScreen::initialize(unsigned int row, unsigned...
28.377483
95
0.58063
[ "vector" ]
2dbf8ace989758f352bb1ac463e5f72c32e4b7d1
4,633
cpp
C++
Source/Engine/SDLInit.cpp
SirRamEsq/LEngine
24f748a4f9e29cd5d35d012b46e1bc7a2c285f9c
[ "Apache-2.0" ]
1
2020-05-24T14:04:12.000Z
2020-05-24T14:04:12.000Z
Source/Engine/SDLInit.cpp
SirRamEsq/LEngine
24f748a4f9e29cd5d35d012b46e1bc7a2c285f9c
[ "Apache-2.0" ]
21
2017-09-20T13:39:12.000Z
2018-01-27T22:21:13.000Z
Source/Engine/SDLInit.cpp
SirRamEsq/LEngine
24f748a4f9e29cd5d35d012b46e1bc7a2c285f9c
[ "Apache-2.0" ]
null
null
null
#include "SDLInit.h" #include "Kernel.h" #include "gui/imgui.h" SDLInit *SDLInit::pointertoself = NULL; SDLInit::SDLInit() {} SDL_Window *SDLInit::mMainWindow = NULL; SDL_GLContext SDLInit::mMainContextGL; SDLInit *SDLInit::Inst() { pointertoself = new SDLInit(); return pointertoself; } SDL_Window *SDLInit::GetW...
28.776398
80
0.685085
[ "render", "3d" ]
2dc9af4b8d1f469e0d4978974b1fbe9c324a9973
5,473
cpp
C++
src/models/mesh/meshGrid.cpp
TheSpyGeek/Green-Engine
cdfbd55410ee5d90cbeb51390f2ae9a4e84f4792
[ "MIT" ]
1
2021-07-04T12:33:49.000Z
2021-07-04T12:33:49.000Z
src/models/mesh/meshGrid.cpp
TheSpyGeek/Green-Engine
cdfbd55410ee5d90cbeb51390f2ae9a4e84f4792
[ "MIT" ]
2
2019-10-29T11:46:09.000Z
2019-11-21T20:44:02.000Z
src/models/mesh/meshGrid.cpp
TheSpyGeek/Green-Engine
cdfbd55410ee5d90cbeb51390f2ae9a4e84f4792
[ "MIT" ]
null
null
null
#include "meshGrid.h" #include <imgui.h> #include <stdio.h> #include <iostream> using namespace glm; MeshGrid::MeshGrid(unsigned int size, float w, float y, float amp, float freq, float pers, int octaves){ assert(size >= 1); nbPointPerRowColumn = size; width = w; gridY = y; amplitude = amp; frequency = freq...
22.804167
173
0.623241
[ "mesh" ]
2dd48bcfb2ca8dc84ee41e512514066274779eab
14,381
cpp
C++
Pixel Lighting Engine 2/Pixel Lighting Engine 2.cpp
mallocc/Pixel-Light-Rendering-Test
2c71626d8e7b08f59d1540640f65e4e1936977a2
[ "MIT" ]
null
null
null
Pixel Lighting Engine 2/Pixel Lighting Engine 2.cpp
mallocc/Pixel-Light-Rendering-Test
2c71626d8e7b08f59d1540640f65e4e1936977a2
[ "MIT" ]
null
null
null
Pixel Lighting Engine 2/Pixel Lighting Engine 2.cpp
mallocc/Pixel-Light-Rendering-Test
2c71626d8e7b08f59d1540640f65e4e1936977a2
[ "MIT" ]
null
null
null
// Pixel Lighting Engine 2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <CL\cl.hpp> #include <CL\opencl.h> #include <GL\glut.h> #include <iostream> #include <vector> #include <string> #include <fstream> #include <sstream> #include <cmath> #include <stdlib.h> #include <ti...
25.229825
121
0.623948
[ "vector" ]
2ddd7971511862a3cac73beff7c37191e9af400b
2,173
cpp
C++
src/pairwise/0_GEN/Correlation_fft_fftw.cpp
JaneliaSciComp/TileAlignment
64f6732445f0c965122c143c8ca285428a371dc8
[ "Unlicense" ]
2
2018-07-02T17:20:40.000Z
2019-04-10T15:03:26.000Z
src/pairwise/0_GEN/Correlation_fft_fftw.cpp
JaneliaSciComp/TileAlignment
64f6732445f0c965122c143c8ca285428a371dc8
[ "Unlicense" ]
null
null
null
src/pairwise/0_GEN/Correlation_fft_fftw.cpp
JaneliaSciComp/TileAlignment
64f6732445f0c965122c143c8ca285428a371dc8
[ "Unlicense" ]
null
null
null
#include "fftw3.h" /* --------------------------------------------------------------- */ /* Statics ------------------------------------------------------- */ /* --------------------------------------------------------------- */ /* --------------------------------------------------------------- */ /* _FFT_2D ...
21.949495
69
0.390244
[ "vector" ]
2de1d3c2321d39ce6e708e4e5c93bd2aa2bdb099
4,197
hpp
C++
Source/AllProjects/DataUtils/CIDXML/CIDXML_DocumentEvents.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/DataUtils/CIDXML/CIDXML_DocumentEvents.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/DataUtils/CIDXML/CIDXML_DocumentEvents.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: CIDXML_DocumentEvents.hpp // // AUTHOR: Dean Roddey // // CREATED: 09/04/1999 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://ope...
29.765957
78
0.435311
[ "object" ]
2deb89a65cd5d05b0dd8c5d6242fbc82a8ca7bad
32,972
cxx
C++
Modules/TrafficMonitor/CWrapper/TrafficMonitor_wrap.cxx
5nefarious/icarous
bfd759d88a47d9ee079fe35deaa6cf6d4459dcd8
[ "Unlicense" ]
null
null
null
Modules/TrafficMonitor/CWrapper/TrafficMonitor_wrap.cxx
5nefarious/icarous
bfd759d88a47d9ee079fe35deaa6cf6d4459dcd8
[ "Unlicense" ]
null
null
null
Modules/TrafficMonitor/CWrapper/TrafficMonitor_wrap.cxx
5nefarious/icarous
bfd759d88a47d9ee079fe35deaa6cf6d4459dcd8
[ "Unlicense" ]
null
null
null
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.6 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. ...
25.131098
204
0.622983
[ "object" ]
2dee388a01f55d8a0a60186c942325034cbaabec
20,326
hpp
C++
include/dca/phys/domains/cluster/interpolation/deprecated/wannier_interpolation/wannier_interpolation_kernel.hpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
27
2018-08-02T04:28:23.000Z
2021-07-08T02:14:20.000Z
include/dca/phys/domains/cluster/interpolation/deprecated/wannier_interpolation/wannier_interpolation_kernel.hpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
200
2018-08-02T18:19:03.000Z
2022-03-16T21:28:41.000Z
include/dca/phys/domains/cluster/interpolation/deprecated/wannier_interpolation/wannier_interpolation_kernel.hpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
22
2018-08-15T15:50:00.000Z
2021-09-30T13:41:46.000Z
// Copyright (C) 2018 ETH Zurich // Copyright (C) 2018 UT-Battelle, LLC // All rights reserved. // // See LICENSE for terms of usage. // See CITATION.md for citation guidelines, if DCA++ is used for scientific publications. // // Author: Peter Staar (taa@zurich.ibm.com) // // This class implements the Wannier interpola...
37.710575
185
0.68833
[ "vector" ]
2df4f976f5a720d835fa1833c36877ffd519e362
3,746
cpp
C++
Src/LPerceptron.cpp
BurnellLiu/TinyML
3acc757567fb3ef276d79260142cfe0e79f85552
[ "MIT" ]
36
2018-01-19T07:06:41.000Z
2021-12-21T06:59:40.000Z
Src/LPerceptron.cpp
BurnellLiu/TinyML
3acc757567fb3ef276d79260142cfe0e79f85552
[ "MIT" ]
null
null
null
Src/LPerceptron.cpp
BurnellLiu/TinyML
3acc757567fb3ef276d79260142cfe0e79f85552
[ "MIT" ]
11
2017-09-29T07:52:28.000Z
2020-12-04T11:40:59.000Z
 #include "LPerceptron.h" #include <vector> using std::vector; /// @brief 感知机 实现类 class CPerceptron { public: /// @brief 构造函数 CPerceptron() { m_learningRate = 1.0f; } /// @brief析构函数 ~CPerceptron() { } /// @brief 设置学习速率(默认值为1.0f) /// 详细解释见头文件LPerceptron中的声明 bo...
21.405714
66
0.477843
[ "vector" ]
2df84d378829d40f04a65c759f4c71eb23ac352a
982
cpp
C++
401-500/493-Reverse_Pairs-h.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
1
2018-10-02T22:44:52.000Z
2018-10-02T22:44:52.000Z
401-500/493-Reverse_Pairs-h.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
401-500/493-Reverse_Pairs-h.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
// Given an array nums, we call (i, j) an important reverse pair if i < j and // nums[i] > 2*nums[j]. // You need to return the number of important reverse pairs in the given array. // Example1: // Input: [1,3,2,3,1] // Output: 2 // Example2: // Input: [2,4,3,5,1] // Output: 3 // Note: // The length of the given ar...
23.380952
79
0.534623
[ "vector" ]
2df9cdb0260ecf91ce5003d8ee39abc89051e3fc
16,081
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/projectexplorer/buildconfiguration.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/plugins/projectexplorer/buildconfiguration.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/projectexplorer/buildconfiguration.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
31.531373
141
0.713948
[ "transform" ]
2dfabcbfc9c1e3a94b72d768f3b6135adeca7d05
34,227
cpp
C++
firmware/MK4duo440/MK4duo/src/core/mechanics/delta_mechanics.cpp
michelebonacina/3DPrinterDIY
985ed4bd58200b55e9dfd9683477a4b5c93d86bc
[ "MIT" ]
null
null
null
firmware/MK4duo440/MK4duo/src/core/mechanics/delta_mechanics.cpp
michelebonacina/3DPrinterDIY
985ed4bd58200b55e9dfd9683477a4b5c93d86bc
[ "MIT" ]
null
null
null
firmware/MK4duo440/MK4duo/src/core/mechanics/delta_mechanics.cpp
michelebonacina/3DPrinterDIY
985ed4bd58200b55e9dfd9683477a4b5c93d86bc
[ "MIT" ]
null
null
null
/** * MK4duo Firmware for 3D Printer, Laser and CNC * * Based on Marlin, Sprinter and grbl * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * Copyright (c) 2020 Alberto Cotronei @MagoKimbra * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Pu...
33.359649
145
0.695007
[ "geometry", "vector", "transform", "3d" ]
930126bb4dd366829240156c04faef666070dc78
2,282
cpp
C++
main.cpp
JulienHora/Vector2D-3D
55980d34f5c1995417be52806ef5cd79d1618174
[ "MIT" ]
null
null
null
main.cpp
JulienHora/Vector2D-3D
55980d34f5c1995417be52806ef5cd79d1618174
[ "MIT" ]
null
null
null
main.cpp
JulienHora/Vector2D-3D
55980d34f5c1995417be52806ef5cd79d1618174
[ "MIT" ]
null
null
null
#include "iostream" // #include "Vector2D.h" #include "Vector3D.h" int main() { Vector3D VectorA(1, 2, -5); Vector3D VectorB(4, 6, 7); VectorA.SplitToStruct(); Vector3D VectorC = VectorA.CrossProduct(VectorB); double DProductAC = VectorA.DotProduct(VectorC); double DProductBC = VectorB....
44.745098
178
0.591148
[ "vector" ]
9302e4820514008b6a4a6043af4fd7b0ebefc78a
1,004
cxx
C++
src/mlio/data_stores/file_hierarchy.cxx
aws-patlin/ml-io
047e7d40609ced6f839d0b08d1917e9742a785af
[ "Apache-2.0" ]
null
null
null
src/mlio/data_stores/file_hierarchy.cxx
aws-patlin/ml-io
047e7d40609ced6f839d0b08d1917e9742a785af
[ "Apache-2.0" ]
null
null
null
src/mlio/data_stores/file_hierarchy.cxx
aws-patlin/ml-io
047e7d40609ced6f839d0b08d1917e9742a785af
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of * the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "lice...
29.529412
74
0.728088
[ "vector" ]
930e5977bd480b8032d71932bf325782af06e354
7,484
hpp
C++
source/vector.hpp
evanbowman/skyland
a62827a0dbcab705ba8ddf75cb74e975ceadec39
[ "MIT" ]
24
2021-07-03T02:27:25.000Z
2022-03-29T05:21:32.000Z
source/vector.hpp
evanbowman/skyland
a62827a0dbcab705ba8ddf75cb74e975ceadec39
[ "MIT" ]
3
2021-09-24T18:52:49.000Z
2021-11-13T00:16:47.000Z
source/vector.hpp
evanbowman/skyland
a62827a0dbcab705ba8ddf75cb74e975ceadec39
[ "MIT" ]
1
2021-07-11T08:05:59.000Z
2021-07-11T08:05:59.000Z
#pragma once #include "bulkAllocator.hpp" // A Vector implementation backed by ScratchBuffers. // Our program allocates memory only as reference-counted 2k buffers. We have a // realtime program that runs on an embedded system with limited ram, and we // want to avoid malloc. Here, we provide an implementation of...
21.321937
80
0.490513
[ "vector" ]
931244383e056c9b177d5d3bafcfbed9d68fbda8
1,410
cpp
C++
thirdparty/embree/common/sys/string.cpp
dsrw/godot
61ea011e05dd182351eef1e59ab14cd26bbd73a1
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
441
2018-12-26T14:50:23.000Z
2021-11-05T03:13:27.000Z
thirdparty/embree/common/sys/string.cpp
dsrw/godot
61ea011e05dd182351eef1e59ab14cd26bbd73a1
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
221
2018-12-29T17:40:23.000Z
2021-11-06T21:41:55.000Z
thirdparty/embree/common/sys/string.cpp
dsrw/godot
61ea011e05dd182351eef1e59ab14cd26bbd73a1
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
101
2018-12-29T13:08:10.000Z
2021-11-02T09:58:37.000Z
// Copyright 2009-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "string.h" #include <algorithm> #include <ctype.h> namespace embree { char to_lower(char c) { return char(tolower(int(c))); } char to_upper(char c) { return char(toupper(int(c))); } std::string toLowerCase(const std::strin...
32.790698
146
0.632624
[ "transform" ]
9316d1af31b353c69855d8817b3a9bb6841cfe08
14,434
cpp
C++
source/Tools/Index.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
source/Tools/Index.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
source/Tools/Index.cpp
badbrainz/pme
1c8e6f3d154cc59613f5ef3f2f8293f488c64b28
[ "WTFPL" ]
null
null
null
// ATI's code #include "Index.h" #define INIT_ALLOC 1000 int indexBinaryTraverse(void *value, void *data, int *index, int stride, int count, int *result, int (*compare)(const void *, const void *)); int indexAddElement(IndexT *index, int value, int position, char append); int indexAppend(IndexT *index, int v...
31.515284
164
0.456561
[ "vector" ]
931854174311dd48a8bb5537c60de03498707522
901
cpp
C++
Solutions-to-Books/C++Primer/Chapter12/12.06.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
2
2016-08-31T19:13:24.000Z
2017-02-18T18:48:31.000Z
Solutions-to-Books/C++Primer/Chapter12/12.06.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
1
2018-12-10T16:32:26.000Z
2018-12-27T19:50:48.000Z
Solutions-to-Books/C++Primer/Chapter12/12.06.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
null
null
null
// Exercise 12.6 // Write a function that returns a dynamically allocated vector of ints. Pass that // vector to another function that reads the standard input to give values to the // elements. Pass the vector to another function to print the values that were read. // Remember to delete the vector at the appropriate t...
23.710526
84
0.700333
[ "vector" ]
7933ddc9a0480372abcc7f719426fbb184cf08bf
5,062
hpp
C++
rgbd/VideoSourceKinect.hpp
Mavericklsd/rgb_mapping_and_relocalisation
feb10285dc2694557f23096d9a89743ccf85f062
[ "MIT" ]
18
2017-04-04T09:31:32.000Z
2021-02-25T09:19:07.000Z
rgbd/VideoSourceKinect.hpp
Mavericklsd/rgb_mapping_and_relocalisation
feb10285dc2694557f23096d9a89743ccf85f062
[ "MIT" ]
1
2017-09-27T14:29:56.000Z
2017-09-27T14:29:56.000Z
rgbd/VideoSourceKinect.hpp
Mavericklsd/rgb_mapping_and_relocalisation
feb10285dc2694557f23096d9a89743ccf85f062
[ "MIT" ]
9
2017-04-01T00:14:56.000Z
2019-08-28T16:05:53.000Z
//Copyright(c) 2015 Shuda Li[lishuda1980@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 limitation the rights //to use, copy, modify, merg...
34.202703
159
0.771632
[ "vector" ]
793d0d31dfbf3623516e229dbab809e041b7d2d7
5,986
hpp
C++
apps/dawn-app/include/dawn_store.hpp
ghsecuritylab/comanche
a8862eaed59045377874b95b120832a0cba42193
[ "Apache-2.0" ]
19
2017-10-03T16:01:49.000Z
2021-06-07T10:21:46.000Z
apps/dawn-app/include/dawn_store.hpp
ghsecuritylab/comanche
a8862eaed59045377874b95b120832a0cba42193
[ "Apache-2.0" ]
25
2018-02-21T23:43:03.000Z
2020-09-02T08:47:32.000Z
apps/dawn-app/include/dawn_store.hpp
ghsecuritylab/comanche
a8862eaed59045377874b95b120832a0cba42193
[ "Apache-2.0" ]
19
2017-10-24T17:41:40.000Z
2022-02-22T02:17:18.000Z
/* * dawn_store.hpp * * Created on: May 21, 2019 * Author: yanzhao */ #ifndef INCLUDE_DAWN_STORE_HPP_ #define INCLUDE_DAWN_STORE_HPP_ #include<stdio.h> #include<stdlib.h> #include<vector> #include<iostream> // Memory Headers #include <sys/mman.h> // Comanche Headers #include<common/exceptions.h> #incl...
30.540816
160
0.678583
[ "vector" ]
793dc0caebd359ede771fdb6ad77451cad9f047b
418,392
cpp
C++
elenasrc2/elc/compiler.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
null
null
null
elenasrc2/elc/compiler.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
null
null
null
elenasrc2/elc/compiler.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- // E L E N A P r o j e c t: ELENA Compiler // // This file contains ELENA compiler class implementation. // // (C)2005-2020, by Alexei Rakov //------------------------------------------...
35.589656
174
0.641939
[ "object" ]
793dde884a2980b121f3c29a21d48ead16b45922
2,044
hpp
C++
src/servo/es9257.hpp
g-vidal/upm
8115c3b64468f22fb27053ba9dfc952ae0e32633
[ "MIT" ]
2
2017-06-19T13:14:30.000Z
2018-07-12T06:17:49.000Z
src/servo/es9257.hpp
g-vidal/upm
8115c3b64468f22fb27053ba9dfc952ae0e32633
[ "MIT" ]
1
2018-11-13T18:03:56.000Z
2018-11-14T18:17:57.000Z
src/servo/es9257.hpp
g-vidal/upm
8115c3b64468f22fb27053ba9dfc952ae0e32633
[ "MIT" ]
4
2017-03-06T14:39:59.000Z
2018-06-28T11:07:41.000Z
/* * Author: Mihai Tudor Panu <mihai.tudor.panu@intel.com> * Copyright (c) 2015 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 * wi...
30.969697
109
0.696673
[ "object", "3d" ]
7947920be43d57816e39b9ed1d2809f81be33aee
1,462
cpp
C++
GeeksforGeeks/Complete Interview Preparation/Tree/Binary Tree/LCA.cpp
rs-ravi2/Codes
8fc8bb64b429b3825e52394916c623ffcd0d5e21
[ "MIT" ]
null
null
null
GeeksforGeeks/Complete Interview Preparation/Tree/Binary Tree/LCA.cpp
rs-ravi2/Codes
8fc8bb64b429b3825e52394916c623ffcd0d5e21
[ "MIT" ]
null
null
null
GeeksforGeeks/Complete Interview Preparation/Tree/Binary Tree/LCA.cpp
rs-ravi2/Codes
8fc8bb64b429b3825e52394916c623ffcd0d5e21
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct Node { int key; struct Node *left; struct Node *right; Node(int k){ key=k; left=right=NULL; } }; // bool findPath(Node *root, vector<Node *> &p, int n){ NAIVE : O[n] and O[n] // if(root==NULL)return false; // p.push_back(root); /...
23.206349
103
0.562927
[ "vector" ]
794b522c727ebe5d2cfffc32b5cc71cba6ac5cf3
19,076
cpp
C++
src/test.cpp
sifaserdarozen/ConcurrentDecoder
3d437796a479755b9a878a9d6285753fd8d2dd6a
[ "BSD-Source-Code" ]
null
null
null
src/test.cpp
sifaserdarozen/ConcurrentDecoder
3d437796a479755b9a878a9d6285753fd8d2dd6a
[ "BSD-Source-Code" ]
3
2016-05-25T09:00:58.000Z
2016-05-31T08:51:49.000Z
src/test.cpp
sifaserdarozen/ConcurrentDecoder
3d437796a479755b9a878a9d6285753fd8d2dd6a
[ "BSD-Source-Code" ]
null
null
null
#include <iostream> #include <cstdio> #include <ctime> #include <time.h> #include <stdlib.h> #include <cstring> // for g++ std::memcpy #include <cmath> #include <iomanip> // for std::setprecision #include <vector> #include <fstream> #include "sample_data.h" #include "cuda_decoders.h" #include "cpu_decoders.h" #...
37.185185
138
0.609562
[ "vector" ]
795dcd947985d481acea0c12890b04e768e666cb
10,065
cpp
C++
TreeGenesis/main.cpp
Angramme/TreeGenerator
943e36f4e1894fd048390d32648fbe22276e9b90
[ "MIT" ]
2
2020-12-18T18:42:05.000Z
2021-09-06T20:04:40.000Z
TreeGenesis/main.cpp
Angramme/TreeGenerator
943e36f4e1894fd048390d32648fbe22276e9b90
[ "MIT" ]
null
null
null
TreeGenesis/main.cpp
Angramme/TreeGenerator
943e36f4e1894fd048390d32648fbe22276e9b90
[ "MIT" ]
null
null
null
#include <string> #include <sstream> #include <math.h> #include <ctime> #include <iostream> #include <Urho3D/Core/CoreEvents.h> #include <Urho3D/Engine/Application.h> #include <Urho3D/Engine/Engine.h> #include <Urho3D/Input/Input.h> #include <Urho3D/Input/InputEvents.h> #include <Urho3D/Resource/ResourceCache.h> #inc...
30.225225
134
0.706508
[ "geometry", "model" ]
795fcc4d1ca6e5e66d345aa6d69bfb142fdbad6e
3,915
cc
C++
minkindr_conversions/test/kindr_msg_test.cc
kamilritz/minkindr_ros
5ab62e86a5ae495476a014b1e318bbac6b6b044e
[ "BSD-3-Clause" ]
2
2020-11-24T11:16:48.000Z
2021-04-02T05:14:44.000Z
minkindr_conversions/test/kindr_msg_test.cc
kamilritz/minkindr_ros
5ab62e86a5ae495476a014b1e318bbac6b6b044e
[ "BSD-3-Clause" ]
1
2021-02-19T14:31:39.000Z
2021-12-24T02:55:39.000Z
minkindr_conversions/test/kindr_msg_test.cc
kamilritz/minkindr_ros
5ab62e86a5ae495476a014b1e318bbac6b6b044e
[ "BSD-3-Clause" ]
3
2021-03-24T08:34:25.000Z
2022-02-28T07:17:54.000Z
#include <Eigen/Core> #include <Eigen/Geometry> #include <glog/logging.h> #include <gtest/gtest.h> #include <kindr/minimal/quat-transformation.h> #include <kindr/minimal/transform-2d.h> #include "minkindr_conversions/kindr_msg.h" #include "testing_predicates.h" namespace tf { const double kTestTolerance = std::numer...
34.342105
81
0.774713
[ "geometry", "transform" ]
7964994428b4b4818f0d088796fd7498300cc414
3,257
cpp
C++
src/day03/day03.cpp
wilcorook/advent-of-code-2021
8c7f51484c3cd28a90b304cbc924e9f05a03a052
[ "MIT" ]
3
2021-12-01T08:05:57.000Z
2021-12-09T12:10:29.000Z
src/day03/day03.cpp
wilcorook/advent-of-code-2021
8c7f51484c3cd28a90b304cbc924e9f05a03a052
[ "MIT" ]
null
null
null
src/day03/day03.cpp
wilcorook/advent-of-code-2021
8c7f51484c3cd28a90b304cbc924e9f05a03a052
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include "../util/util.h" int day03puzzle1() { std::string gammaStr = ""; std::string epsilonStr = ""; std::vector<std::string> input; std::string fileName = "day03.txt"; input = getStringsFromFile(fileName.c_str(), 1000); // character ...
19.272189
71
0.454713
[ "vector" ]
7969921f84981a2f74f4776f7a4d127e8a2e4592
29,588
cpp
C++
src/ftagparams.cpp
glennhickey/context
e7cdb988e2bb6eed5be78567ae7b88378eda9411
[ "MIT-0" ]
1
2018-04-22T22:16:47.000Z
2018-04-22T22:16:47.000Z
src/ftagparams.cpp
glennhickey/context
e7cdb988e2bb6eed5be78567ae7b88378eda9411
[ "MIT-0" ]
null
null
null
src/ftagparams.cpp
glennhickey/context
e7cdb988e2bb6eed5be78567ae7b88378eda9411
[ "MIT-0" ]
null
null
null
//Copyright (C) 2010 by Glenn Hickey // //Released under the MIT license, see LICENSE.txt #include <vector> #include <string> #include <istream> #include <ostream> #include <cstdlib> #include <algorithm> #include <cassert> #include <limits> #include <sstream> #include <cmath> #include "ftagparams.h" using namespace s...
25.684028
78
0.533088
[ "vector" ]
797831246095639bc493151d9bdcdd1e0c253c9e
4,253
cpp
C++
src/libraries/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDiv.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDiv.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDiv.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2013-2015 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of Caelus. Caelus is free software: you can redistribute it and/or modify it ...
24.028249
79
0.501763
[ "mesh" ]
798015d475fd7cc63901026e121e50492334eb71
12,174
cpp
C++
lugre/src/lugre_thread_L.cpp
ghoulsblade/vegaogre
2ece3b799f9bd667f081d47c1a0f3ef5e78d3e0f
[ "MIT" ]
1
2020-10-18T14:33:05.000Z
2020-10-18T14:33:05.000Z
lugre/src/lugre_thread_L.cpp
ghoulsblade/vegaogre
2ece3b799f9bd667f081d47c1a0f3ef5e78d3e0f
[ "MIT" ]
null
null
null
lugre/src/lugre_thread_L.cpp
ghoulsblade/vegaogre
2ece3b799f9bd667f081d47c1a0f3ef5e78d3e0f
[ "MIT" ]
null
null
null
#include "lugre_prefix.h" #include "lugre_thread.h" #include "lugre_fifo.h" #include "lugre_luabind.h" #include "lugre_luabind_direct.h" #include "lugre_scripting.h" #ifdef ENABLE_THREADS #include <boost/thread/xtime.hpp> #include <boost/thread/thread.hpp> #include <boost/thread/mutex.hpp> #endif namespace Lugre { ...
33.722992
167
0.718581
[ "object" ]
798183c97711f2b8cb8f12f05ceef728ae16c1d7
7,994
cpp
C++
lib/RenderCore_Custom/src/environment/geometry.cpp
laurenskz/lighthouse2
b733ddd927137b6d9288f6865104760f330846c2
[ "Apache-2.0" ]
null
null
null
lib/RenderCore_Custom/src/environment/geometry.cpp
laurenskz/lighthouse2
b733ddd927137b6d9288f6865104760f330846c2
[ "Apache-2.0" ]
1
2020-11-11T15:29:28.000Z
2020-11-11T15:29:28.000Z
lib/RenderCore_Custom/src/environment/geometry.cpp
laurenskz/lighthouse2
b733ddd927137b6d9288f6865104760f330846c2
[ "Apache-2.0" ]
null
null
null
#include "environment/geometry.h" namespace lh2core { Mesh::Mesh( int vertexCount ) { positions = new float4[vertexCount]; triangleCount = vertexCount / 3; triangles = new CoreTri[triangleCount]; primitives = new Primitive[triangleCount]; this->vertexCount = vertexCount; } void Mesh::setPositions( const float4* p...
33.033058
147
0.698274
[ "mesh", "geometry", "vector", "transform" ]
7986b7ab900aa4ba73c396c647101bca92301543
22,245
cpp
C++
asteroids_d3d12/src/asteroids_d3d11.cpp
gaybro8777/HybridDetect
0ee85e7ea17d29a71b5171ec152007c449c7f08a
[ "MIT" ]
131
2015-09-18T00:44:07.000Z
2022-03-10T02:58:28.000Z
asteroids_d3d12/src/asteroids_d3d11.cpp
gaybro8777/HybridDetect
0ee85e7ea17d29a71b5171ec152007c449c7f08a
[ "MIT" ]
4
2016-03-11T18:30:01.000Z
2021-04-16T18:08:02.000Z
asteroids_d3d12/src/asteroids_d3d11.cpp
gaybro8777/HybridDetect
0ee85e7ea17d29a71b5171ec152007c449c7f08a
[ "MIT" ]
32
2015-09-18T01:28:00.000Z
2022-01-21T00:46:29.000Z
/////////////////////////////////////////////////////////////////////////////// // Copyright 2017 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apach...
37.576014
134
0.669724
[ "mesh", "render", "vector" ]
7988e4db429baf3d5e9eec3917e95fd7208fc8cf
10,334
cpp
C++
modules/app/MyntSimpleRecorder/main.cpp
chengfzy/SensorRecorder
928d5889f3d6e19767a743a017e0490830fd0740
[ "MIT" ]
1
2022-02-11T22:44:39.000Z
2022-02-11T22:44:39.000Z
modules/app/MyntSimpleRecorder/main.cpp
chengfzy/SensorRecorder
928d5889f3d6e19767a743a017e0490830fd0740
[ "MIT" ]
null
null
null
modules/app/MyntSimpleRecorder/main.cpp
chengfzy/SensorRecorder
928d5889f3d6e19767a743a017e0490830fd0740
[ "MIT" ]
1
2022-02-11T22:44:40.000Z
2022-02-11T22:44:40.000Z
#include <fmt/color.h> #include <fmt/format.h> #include <fmt/ranges.h> #include <glog/logging.h> #include <mynteyed/camera.h> #include <mynteyed/utils.h> #include <boost/algorithm/string.hpp> #include <boost/filesystem.hpp> #include <cxxopts.hpp> #include <iostream> #include <opencv2/core.hpp> #include <opencv2/highgui...
41.336
115
0.579253
[ "vector" ]
798b9617f5599f19c0f1ed6aa79b2e834767f66e
19,614
cpp
C++
samples/15_zznvcodec/zznvdec.cpp
zzlee/tegra_multimedia_api
350dfc806b250b238226855b254f865a14630cf8
[ "Unlicense" ]
null
null
null
samples/15_zznvcodec/zznvdec.cpp
zzlee/tegra_multimedia_api
350dfc806b250b238226855b254f865a14630cf8
[ "Unlicense" ]
null
null
null
samples/15_zznvcodec/zznvdec.cpp
zzlee/tegra_multimedia_api
350dfc806b250b238226855b254f865a14630cf8
[ "Unlicense" ]
null
null
null
#include "zznvcodec.h" #include "NvVideoDecoder.h" #include "ZzLog.h" #include "NvUtils.h" #include <errno.h> #include <fstream> #include <iostream> #include <linux/videodev2.h> #include <malloc.h> #include <pthread.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <poll.h> #include <nvbuf_utils.h...
28.550218
148
0.693586
[ "transform" ]
799aa260b7569efb4e61db2b55e96cf23bc115b1
8,692
cpp
C++
src/Engine/RenderBackend/OGLRenderer/OGLRenderCommands.cpp
kimkulling/osre
b738c87e37d0b1d2d0779a412b88ce68517c4328
[ "MIT" ]
118
2015-05-12T15:12:14.000Z
2021-11-14T15:41:11.000Z
src/Engine/RenderBackend/OGLRenderer/OGLRenderCommands.cpp
kimkulling/osre
b738c87e37d0b1d2d0779a412b88ce68517c4328
[ "MIT" ]
76
2015-06-06T18:04:24.000Z
2022-01-14T20:17:37.000Z
src/Engine/RenderBackend/OGLRenderer/OGLRenderCommands.cpp
kimkulling/osre
b738c87e37d0b1d2d0779a412b88ce68517c4328
[ "MIT" ]
7
2016-06-28T09:14:38.000Z
2021-03-12T02:07:52.000Z
/*----------------------------------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2015-2021 OSRE ( Open Source Render Engine ) by Kim Kulling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation f...
34.768
122
0.650483
[ "mesh", "render", "object", "model" ]
799b3fca3a68abb2bdf2fa940b184662d5fb635a
616
cpp
C++
test_package/test_package.cpp
bincrafters/conan-picobench
f26633e6f6230cb8f356c9b4da828a5ea13542ed
[ "MIT" ]
null
null
null
test_package/test_package.cpp
bincrafters/conan-picobench
f26633e6f6230cb8f356c9b4da828a5ea13542ed
[ "MIT" ]
null
null
null
test_package/test_package.cpp
bincrafters/conan-picobench
f26633e6f6230cb8f356c9b4da828a5ea13542ed
[ "MIT" ]
null
null
null
#define PICOBENCH_IMPLEMENT_WITH_MAIN #include "picobench/picobench.hpp" #include <vector> #include <cstdlib> // for rand // Benchmarking function written by the user: static void rand_vector(picobench::state& s) { std::vector<int> v; for (auto _ : s) { v.push_back(rand()); } } PICOBENCH(rand_...
21.241379
69
0.675325
[ "vector" ]
799ef25e1a3a73f98ef06e8ca12d2f216165d4e9
613
hpp
C++
Definitions.hpp
raven91/deformable_cell_model_integration
fa9e31ef42044cb42f534f0be0f20d8ead69c34e
[ "MIT" ]
null
null
null
Definitions.hpp
raven91/deformable_cell_model_integration
fa9e31ef42044cb42f534f0be0f20d8ead69c34e
[ "MIT" ]
null
null
null
Definitions.hpp
raven91/deformable_cell_model_integration
fa9e31ef42044cb42f534f0be0f20d8ead69c34e
[ "MIT" ]
null
null
null
// // Created by Nikita Kruk on 15.03.21. // #ifndef DEFORMABLECELLMODEL_DEFINITIONS_HPP #define DEFORMABLECELLMODEL_DEFINITIONS_HPP #include <array> #include <set> #include <utility> // std::pair #include <eigen3/Eigen/Dense> const int kDim = 3; const int kFaceDim = 3; const int kEdgeDim = 2; //using VectorType =...
24.52
81
0.738989
[ "vector" ]
79a58262638ef01cef643bae04c0f1403e597338
3,428
hpp
C++
src/math/geometry/projective/camera/focus/orto2d.hpp
dmilos/math
977cb171d8d582411cfab73a23ce85a8ccf3b132
[ "Apache-2.0" ]
3
2020-07-02T12:44:32.000Z
2021-04-07T20:31:41.000Z
src/math/geometry/projective/camera/focus/orto2d.hpp
dmilos/math
977cb171d8d582411cfab73a23ce85a8ccf3b132
[ "Apache-2.0" ]
null
null
null
src/math/geometry/projective/camera/focus/orto2d.hpp
dmilos/math
977cb171d8d582411cfab73a23ce85a8ccf3b132
[ "Apache-2.0" ]
1
2020-09-04T11:01:28.000Z
2020-09-04T11:01:28.000Z
#ifndef math_geometry_projective_camera_focus_orto3D #define math_geometry_projective_camera_focus_orto3D // ::math::geometry::projective::camera::focus::orto2d( f, origin, X, Y ) //#include <utility> namespace math { namespace geometry { namespace projective { namespace camera ...
34.28
118
0.297258
[ "geometry", "vector" ]
79a6aa759532b61d60069cb6e4d1339b79fd0de0
641
cpp
C++
sesion7/sesion7_casa/ejercicio_12.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
1
2018-12-11T09:32:59.000Z
2018-12-11T09:32:59.000Z
sesion7/sesion7_casa/ejercicio_12.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
null
null
null
sesion7/sesion7_casa/ejercicio_12.cpp
dmateos-ugr/FP
6d3ec8eeccbb72582367c8cf97aecb2227cc7b9e
[ "MIT" ]
2
2018-11-13T12:32:35.000Z
2018-11-27T14:43:30.000Z
#include <iostream> using namespace std; int main(){ const int TAMANO_MAX = 1000; int vector[TAMANO_MAX]; int tamano; int resultado = 1; //Entrada cout << "Introduzca el tamaño del vector: "; cin >> tamano; cout << "Introduzca los elementos del vector: "; for (int i = 0; i...
20.677419
95
0.522621
[ "vector" ]
79aba85f6e993e16c201394c1b11329b849ca59c
5,259
cc
C++
Firestore/core/test/firebase/firestore/remote/serializer_test.cc
todaycode/firebase-mobile-sdk
0f4729150b60ad5e152d4ace770c06aebb75da52
[ "Apache-2.0" ]
null
null
null
Firestore/core/test/firebase/firestore/remote/serializer_test.cc
todaycode/firebase-mobile-sdk
0f4729150b60ad5e152d4ace770c06aebb75da52
[ "Apache-2.0" ]
null
null
null
Firestore/core/test/firebase/firestore/remote/serializer_test.cc
todaycode/firebase-mobile-sdk
0f4729150b60ad5e152d4ace770c06aebb75da52
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 Google * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
37.297872
80
0.69595
[ "vector", "model" ]
79b414a36404b0ccaa6e29924f47cb87c2262884
1,174
hpp
C++
cpp/archive/archive-src-old/core.hpp
MomsFriendlyRobotCompany/gecko
f340381113bdb423a39d47aaee61e013bb9e002a
[ "MIT" ]
2
2020-03-11T03:53:19.000Z
2020-10-06T03:18:32.000Z
cpp/archive/archive-src-old/core.hpp
MomsFriendlyRobotCompany/gecko
f340381113bdb423a39d47aaee61e013bb9e002a
[ "MIT" ]
null
null
null
cpp/archive/archive-src-old/core.hpp
MomsFriendlyRobotCompany/gecko
f340381113bdb423a39d47aaee61e013bb9e002a
[ "MIT" ]
null
null
null
#pragma once #include <map> #include <string> #include <vector> #include "signals.hpp" #include "zmq.hpp" #include "mbeacon.hpp" #include "directory.hpp" // namespace gecko { // class Directory { // public: // void push(const std::string& key, const std::string& topic, const std::string& endpt); // add // v...
23.959184
101
0.62862
[ "vector" ]
79b9870daf41fa021c1a6e50cc4a2c641649c4da
2,718
cpp
C++
drone/src/moves.cpp
Rajesh-Sec-Project/simon
d9e5ecd7aa35055ebfea20654e666d48901d7b76
[ "MIT" ]
null
null
null
drone/src/moves.cpp
Rajesh-Sec-Project/simon
d9e5ecd7aa35055ebfea20654e666d48901d7b76
[ "MIT" ]
1
2016-01-26T09:14:21.000Z
2016-01-26T10:10:01.000Z
drone/src/moves.cpp
Rajesh-Sec-Project/simon
d9e5ecd7aa35055ebfea20654e666d48901d7b76
[ "MIT" ]
null
null
null
/* * Copyright (c) 2015 Kadambari Melatur, Alexandre Monti, Rémi Saurel and Emma Vareilles * * 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 limita...
29.543478
88
0.665931
[ "vector" ]
79b9ddfbc01246110baf64e9d2cd2430c5d1ed40
4,284
cpp
C++
src/utils.cpp
ampl/rAMPL
573d2731f66baffa011df4540f53aa7b81beeba8
[ "BSD-3-Clause" ]
9
2018-04-11T11:27:44.000Z
2021-11-30T03:34:32.000Z
src/utils.cpp
seanpm2001-R-lang/rAMPL
714e454585c8dc021a82b789774735b3d09a058b
[ "BSD-3-Clause" ]
3
2018-06-07T06:38:03.000Z
2021-02-01T14:50:46.000Z
src/utils.cpp
seanpm2001-R-lang/rAMPL
714e454585c8dc021a82b789774735b3d09a058b
[ "BSD-3-Clause" ]
11
2018-06-17T14:33:56.000Z
2021-11-30T03:40:50.000Z
#include "utils.h" #include <Rcpp.h> ampl::Tuple list2tuple(Rcpp::List list) { int p = 0; ampl::Variant arguments[list.size()]; for(Rcpp::List::iterator it = list.begin(); it != list.end(); it++) { switch(TYPEOF(*it)) { case REALSXP: arguments[p++] = ampl::Variant(Rcpp::as<double>(*it)); ...
30.820144
100
0.560458
[ "vector" ]
79bdcedd3b644f8dbd11a3db24ec714f944f3ca6
13,432
cpp
C++
projects/compiler-rt/utils/llvm-symbolizer/llvm-symbolizer.cpp
nettrino/IntFlow
0400aef5da2c154268d8b020e393c950435395b3
[ "Unlicense" ]
16
2015-09-08T08:49:11.000Z
2019-07-20T14:46:20.000Z
utils/llvm-symbolizer/llvm-symbolizer.cpp
llvm-tilera/compiler-rt
7a88dff29939cc344a7519cbd174d4ac15d4ed59
[ "MIT" ]
1
2019-02-10T08:27:48.000Z
2019-02-10T08:27:48.000Z
utils/llvm-symbolizer/llvm-symbolizer.cpp
llvm-tilera/compiler-rt
7a88dff29939cc344a7519cbd174d4ac15d4ed59
[ "MIT" ]
7
2016-05-26T17:31:46.000Z
2020-11-04T06:39:23.000Z
//===-- llvm-symbolizer.cpp - Simple addr2line-like symbolizer ------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
35.347368
80
0.656715
[ "object" ]
79cd4030d167d5e5a7466f5beb047cdd81d1f8ef
635
cpp
C++
src/Editor/CLI/NewAssetCommand.cpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
30
2016-01-24T05:35:45.000Z
2020-03-03T09:54:27.000Z
src/Editor/CLI/NewAssetCommand.cpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
src/Editor/CLI/NewAssetCommand.cpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
5
2016-04-03T02:52:05.000Z
2018-01-02T16:53:06.000Z
 #include <Project/Project.hpp> #include "NewAssetCommand.hpp" #include "../../../lumino/LuminoEngine/src/Engine/EngineDomain.hpp" #include <LuminoEngine/Asset/detail/AssetManager.hpp> int NewAssetCommand::execute(lna::Workspace* workspace, ln::String name) { ln::Ref<ln::Object> obj = ln::TypeInfo::createInstance...
26.458333
85
0.662992
[ "object", "model" ]
79d141146233475a92ff60de0856b049803e0104
2,184
cpp
C++
sDNA/geos/drop/src/index/strtree/ItemBoundable.cpp
chrisc20042001/sDNA
22d11f150c28574c339457ce5cb0ad1d59b06277
[ "MIT" ]
48
2015-01-02T23:10:03.000Z
2021-12-23T01:37:22.000Z
sDNA/geos/drop/src/index/strtree/ItemBoundable.cpp
chrisc20042001/sDNA
22d11f150c28574c339457ce5cb0ad1d59b06277
[ "MIT" ]
9
2019-05-31T14:19:43.000Z
2021-10-16T16:09:52.000Z
sDNA/geos/drop/src/index/strtree/ItemBoundable.cpp
chrisc20042001/sDNA
22d11f150c28574c339457ce5cb0ad1d59b06277
[ "MIT" ]
28
2015-01-07T18:41:16.000Z
2021-03-25T02:29:13.000Z
/********************************************************************** * $Id: ItemBoundable.cpp 2194 2008-09-23 23:01:00Z mloskot $ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2006 Refractions Research Inc. * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is f...
28.736842
75
0.621795
[ "geometry", "object", "vector" ]
79d2a7d388b8213aa9f1dcdbb1a132ce77acb69e
2,939
cc
C++
example/storage.cc
TOT0RoKR/libmemcached
dd6800972b93897c4e7ba192976b888c3621b3cb
[ "BSD-3-Clause" ]
57
2016-02-24T18:17:29.000Z
2022-01-30T15:27:27.000Z
example/storage.cc
TOT0RoKR/libmemcached
dd6800972b93897c4e7ba192976b888c3621b3cb
[ "BSD-3-Clause" ]
108
2020-01-20T09:25:47.000Z
2021-05-18T06:45:30.000Z
example/storage.cc
TOT0RoKR/libmemcached
dd6800972b93897c4e7ba192976b888c3621b3cb
[ "BSD-3-Clause" ]
29
2016-02-26T01:34:20.000Z
2021-11-29T18:44:39.000Z
/* -*- Mode: C; tab-width: 2; c-basic-offset: 2; indent-tabs-mode: nil -*- */ #include "mem_config.h" #include <stdlib.h> #include <inttypes.h> #include <time.h> #include <stdbool.h> #include <string.h> #include "storage.h" struct list_entry { struct item item; struct list_entry *next; struct list_entry *prev; }...
17.390533
77
0.579109
[ "object" ]
79d3062ac9c495f0b8bd66fff808d0a36f220880
740
cpp
C++
Contests/_Archived/Old-Lab/nk24-E.cpp
DCTewi/My-Codes
9904f8057ec96e21cbc8cf9c62a49658a0f6d392
[ "MIT" ]
null
null
null
Contests/_Archived/Old-Lab/nk24-E.cpp
DCTewi/My-Codes
9904f8057ec96e21cbc8cf9c62a49658a0f6d392
[ "MIT" ]
null
null
null
Contests/_Archived/Old-Lab/nk24-E.cpp
DCTewi/My-Codes
9904f8057ec96e21cbc8cf9c62a49658a0f6d392
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n, m; map<int, vector<int> > edges; int l = 300, r = 0; int vis[300]; queue<int> q; void dfs(int x, int step) { if (x == m) { printf("%d\n", step); } else if (edges[x].size() == 0) { vis[x] = 1; dfs(x + 1, step + 1); vis[x] = 0; } else { for (int i...
13.703704
43
0.454054
[ "vector" ]
79d4e0735ad186b6d1b08716668f6541e62a907d
5,527
cpp
C++
tests/cpp/wordLadder/wordLadder.II.cpp
zlc18/LocalJudge
e8b141d2e80087d447a45cce36bac27b4ddb9cd1
[ "MIT" ]
null
null
null
tests/cpp/wordLadder/wordLadder.II.cpp
zlc18/LocalJudge
e8b141d2e80087d447a45cce36bac27b4ddb9cd1
[ "MIT" ]
null
null
null
tests/cpp/wordLadder/wordLadder.II.cpp
zlc18/LocalJudge
e8b141d2e80087d447a45cce36bac27b4ddb9cd1
[ "MIT" ]
null
null
null
// Source : https://oj.leetcode.com/problems/word-ladder-ii/ // Author : Hao Chen // Date : 2014-10-13 /********************************************************************************** * * Given two words (start and end), and a dictionary, find all shortest transformation * sequence(s) from start to end, such t...
28.786458
120
0.432423
[ "vector" ]
79d6db20110fed1682192ac45a1eb81d893698f9
514
tpp
C++
examples/lapack_mkl_program/src/cgt.tpp
tjgiese/atizer
b8cdb8f4bac7cedfb566d766acee5fe0cc7a7bd3
[ "MIT" ]
null
null
null
examples/lapack_mkl_program/src/cgt.tpp
tjgiese/atizer
b8cdb8f4bac7cedfb566d766acee5fe0cc7a7bd3
[ "MIT" ]
null
null
null
examples/lapack_mkl_program/src/cgt.tpp
tjgiese/atizer
b8cdb8f4bac7cedfb566d766acee5fe0cc7a7bd3
[ "MIT" ]
null
null
null
inline lalg::cgt::cgt( int const m, int const n, double const * d ) : nfast(m),nslow(n),data(d){} inline lalg::cgt::cgt( int const m, int const n, std::vector<double> const & d ) : nfast(m),nslow(n),data(d.data()) { assert(static_cast<std::size_t>(m*n) == d.size()); } inline lalg::cgt::cgt( lalg::gt const &...
39.538462
91
0.636187
[ "vector" ]
79d81c863559c3bb8bd5a22d34cbf31e1f0a8965
1,702
cpp
C++
Source/mapping/MultichannelMap.cpp
kant/everytone-tuner
8eb7bf312d097e7a378afeace3733b3c83e9ba07
[ "Unlicense" ]
11
2022-01-02T22:05:45.000Z
2022-03-28T08:50:25.000Z
Source/mapping/MultichannelMap.cpp
kant/everytone-tuner
8eb7bf312d097e7a378afeace3733b3c83e9ba07
[ "Unlicense" ]
5
2022-01-02T20:50:48.000Z
2022-03-29T18:12:04.000Z
Source/mapping/MultichannelMap.cpp
kant/everytone-tuner
8eb7bf312d097e7a378afeace3733b3c83e9ba07
[ "Unlicense" ]
1
2022-01-07T02:17:01.000Z
2022-01-07T02:17:01.000Z
/* ============================================================================== Map.cpp Created: 7 Nov 2021 10:53:27am Author: Vincenzo Sicurella ============================================================================== */ #include "MultichannelMap.h" MultichannelMap::MultichannelMap(Multich...
27.451613
80
0.552291
[ "vector" ]
0766a06a42520e84f1f53f1fba1b7640811d1f87
9,865
cpp
C++
src/ConnectionTable.cpp
cpearce/HARM
1e629099bbaa0203b19fe9007a71d9ab9c938be0
[ "Apache-2.0" ]
1
2016-10-11T18:37:52.000Z
2016-10-11T18:37:52.000Z
src/ConnectionTable.cpp
wsgan001/HARM
1e629099bbaa0203b19fe9007a71d9ab9c938be0
[ "Apache-2.0" ]
2
2017-03-27T22:58:45.000Z
2017-03-28T04:46:52.000Z
src/ConnectionTable.cpp
wsgan001/HARM
1e629099bbaa0203b19fe9007a71d9ab9c938be0
[ "Apache-2.0" ]
4
2016-04-19T06:15:01.000Z
2020-01-02T11:11:57.000Z
// Copyright 2014, Chris Pearce & Yun Sing Koh // // 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...
34.372822
151
0.660821
[ "vector" ]
076adab627becf23e7465de9bb3c9243cbcae8cc
13,466
cpp
C++
src/SourceTerms/User_Template/CPU_Src_User_Template.cpp
YiGuangLee/gamer
c4fc8b0c021bf81a081bff0a53365c8a1d118580
[ "BSD-3-Clause" ]
55
2017-12-20T09:12:45.000Z
2022-03-01T03:21:58.000Z
src/SourceTerms/User_Template/CPU_Src_User_Template.cpp
YiGuangLee/gamer
c4fc8b0c021bf81a081bff0a53365c8a1d118580
[ "BSD-3-Clause" ]
77
2018-01-12T14:22:58.000Z
2022-03-20T08:28:36.000Z
src/SourceTerms/User_Template/CPU_Src_User_Template.cpp
JeiwHuang/gamer
b392f0058cd7ec7ec9123cf96ebab5f5e9489b46
[ "BSD-3-Clause" ]
41
2017-11-28T20:06:06.000Z
2021-11-07T10:55:51.000Z
#include "CUFLU.h" // external functions and GPU-related set-up #ifdef __CUDACC__ #include "CUAPI.h" #include "CUFLU_Shared_FluUtility.cu" #include "CUDA_ConstMemory.h" #endif // #ifdef __CUDACC__ // local function prototypes #ifndef __CUDACC__ void Src_SetAuxArray_User_Template( double [], int [] ); void Src_S...
39.958457
123
0.556141
[ "object" ]
07706fb19d8628aa4d43bc037b482fb661f191ac
2,975
hpp
C++
number/bare_mod_algebra.hpp
rsm9/cplib-cpp
269064381eb259a049236335abb31f8f73ded7f4
[ "MIT" ]
4
2020-05-13T05:06:22.000Z
2020-09-18T17:03:36.000Z
number/bare_mod_algebra.hpp
rsm9/cplib-cpp
269064381eb259a049236335abb31f8f73ded7f4
[ "MIT" ]
1
2019-12-11T13:53:17.000Z
2019-12-11T13:53:17.000Z
number/bare_mod_algebra.hpp
rsm9/cplib-cpp
269064381eb259a049236335abb31f8f73ded7f4
[ "MIT" ]
3
2019-12-11T06:45:45.000Z
2020-09-07T13:45:32.000Z
#pragma once #include <algorithm> #include <cassert> #include <tuple> #include <utility> #include <vector> // CUT begin // Solve ax+by=gcd(a, b) template <class Int> Int extgcd(Int a, Int b, Int &x, Int &y) { Int d = a; if (b != 0) { d = extgcd(b, a % b, y, x), y -= (a / b) * x; } else { x ...
26.5625
100
0.440672
[ "vector" ]
07715574f3f3e381a854924d99b77785615e9df8
11,840
cpp
C++
src/2d/barrel/phantom_cmd.cpp
wkrzemien/j-pet-mlem
4ed746f3fe79890e4141158cd49d1869938105de
[ "Apache-2.0" ]
null
null
null
src/2d/barrel/phantom_cmd.cpp
wkrzemien/j-pet-mlem
4ed746f3fe79890e4141158cd49d1869938105de
[ "Apache-2.0" ]
5
2018-08-08T08:26:04.000Z
2020-05-13T13:33:39.000Z
src/2d/barrel/phantom_cmd.cpp
wkrzemien/j-pet-mlem
4ed746f3fe79890e4141158cd49d1869938105de
[ "Apache-2.0" ]
5
2018-06-04T21:04:29.000Z
2021-07-03T14:19:39.000Z
/// \page cmd_2d_barrel_phantom 2d_barrel_phantom /// \brief 2D Barrel PET phantom generation tool /// /// Simulates detector response for given virtual phantom and produces mean file /// for \ref cmd_2d_barrel_reconstruction. /// /// Example /// ------- /// /// 1. Make a \c playground directory and step into it /// //...
33.541076
80
0.605912
[ "geometry", "shape", "vector", "model", "3d" ]
077e9b1fad9d21e9361bf9e8b6f7013ea86a743c
2,725
cc
C++
third_party/blink/renderer/core/paint/inline_painter.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/paint/inline_painter.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/paint/inline_painter.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/paint/inline_painter.h" #include "third_party/blink/renderer/core/layout/layout_block_flow.h" #include "third_p...
42.578125
87
0.780917
[ "geometry" ]
07805764586ced719219a50097decc05b46f31e3
883
cpp
C++
b-LeetCode/145-Binary-Tree-Postorder-Traversal.cpp
ftxj/4th-Semester
1d5c7e7e028176524bdafc64078775d42b73b51c
[ "MIT" ]
null
null
null
b-LeetCode/145-Binary-Tree-Postorder-Traversal.cpp
ftxj/4th-Semester
1d5c7e7e028176524bdafc64078775d42b73b51c
[ "MIT" ]
null
null
null
b-LeetCode/145-Binary-Tree-Postorder-Traversal.cpp
ftxj/4th-Semester
1d5c7e7e028176524bdafc64078775d42b73b51c
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<int> postorderTraversal(TreeNode* root) { TreeNode* p = root; stack<Tree...
23.236842
61
0.379388
[ "vector" ]
07807eccef9493b1ef3f88b81378a2112235505d
11,680
cpp
C++
src/CalibEngine.cpp
plewand/stereovision
b05aa2e064d8877c47e5d7182db4b72979ad9d57
[ "BSD-3-Clause" ]
null
null
null
src/CalibEngine.cpp
plewand/stereovision
b05aa2e064d8877c47e5d7182db4b72979ad9d57
[ "BSD-3-Clause" ]
null
null
null
src/CalibEngine.cpp
plewand/stereovision
b05aa2e064d8877c47e5d7182db4b72979ad9d57
[ "BSD-3-Clause" ]
null
null
null
#include "CalibEngine.h" #include "Logger.h" #include "CvUtil.h" #include <experimental/filesystem> namespace fs = std::experimental::filesystem; static const string DETECTED_CHESSBOARD_PATH = "./outimages/calib/chessboard"; CalibEngine::CalibEngine() { } CalibEngine::CalibEngine(const CalibEngine& orig) { } Calib...
38.045603
209
0.652997
[ "vector" ]
078d7d4be199e4cc127618e7ccfadd4f0fb886ae
3,716
cc
C++
gnuradio-3.7.13.4/gr-digital/lib/header_format_counter.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gr-digital/lib/header_format_counter.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gr-digital/lib/header_format_counter.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
/* -*- c++ -*- */ /* Copyright 2016 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) ...
30.966667
80
0.629709
[ "vector" ]
079113543feafed415377a672063154c8806b073
23,152
hpp
C++
cs400/bst/Dictionary.hpp
weihang-li/Specialization-Accelerated-Computer-Science-Fundamentals
13f2ae02af725fd61e457aac0b4b71ef07ed121a
[ "MIT" ]
2
2021-05-19T02:49:55.000Z
2021-05-20T03:14:24.000Z
cs400/bst/Dictionary.hpp
Colin1245/Specialization-Accelerated-Computer-Science-Fundamentals
43683fe08a8a3c7f3baca050d14f2a8daa13dedc
[ "MIT" ]
null
null
null
cs400/bst/Dictionary.hpp
Colin1245/Specialization-Accelerated-Computer-Science-Fundamentals
43683fe08a8a3c7f3baca050d14f2a8daa13dedc
[ "MIT" ]
null
null
null
/** * Dictionary BST auxiliary definitions. * * (Some versions of the lecture videos called this file "Dictionary.cpp", * but we are renaming it to "Dictionary.hpp" as it includes templated * implementations and would typically be included as a header. * The line numbers in this file do not exactly match what...
47.152749
87
0.704
[ "object", "vector" ]
0792068f914ee90a1b0a1c07991a52df3253d4e5
7,080
cpp
C++
import/abstractdelegate.cpp
TREE-Ind/mycroft-gui
ecf5cf3cfac2339d1ac82607cecd28521b3bfb33
[ "Apache-2.0" ]
1
2019-01-17T13:40:49.000Z
2019-01-17T13:40:49.000Z
import/abstractdelegate.cpp
TREE-Ind/mycroft-gui
ecf5cf3cfac2339d1ac82607cecd28521b3bfb33
[ "Apache-2.0" ]
null
null
null
import/abstractdelegate.cpp
TREE-Ind/mycroft-gui
ecf5cf3cfac2339d1ac82607cecd28521b3bfb33
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 by Marco Martin <mart@kde.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
24.66899
114
0.684463
[ "object" ]
07982051f963a81046f640305fb00be9975fa105
3,970
cpp
C++
bucket_sort.cpp
ymzm/CLRS_homework
a2134374ee728fba25e65b9967bec4c1ae1a9fac
[ "MIT" ]
null
null
null
bucket_sort.cpp
ymzm/CLRS_homework
a2134374ee728fba25e65b9967bec4c1ae1a9fac
[ "MIT" ]
null
null
null
bucket_sort.cpp
ymzm/CLRS_homework
a2134374ee728fba25e65b9967bec4c1ae1a9fac
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include <ctime> using namespace std; #define POINT_CNT 100 #define SCALE 10000 #define SIZE_SCALE 100000000 #define N (SIZE_SCALE / POINT_CNT) typedef struct point { struct point *next; struct point *prev; int x; int y; bool x_flag; // true means positive, fal...
23.772455
94
0.430479
[ "vector" ]
07991fca530e165407d49e0bff0233f06a8fa08e
1,339
cpp
C++
examples/basic_example.cpp
FireFlyForLife/FlatValueMap
125c2a4a0d562a0dd447532488afaf2cc2a9d7bb
[ "MIT" ]
2
2019-11-19T10:59:18.000Z
2019-11-20T09:28:02.000Z
examples/basic_example.cpp
FireFlyForLife/FlatValueMap
125c2a4a0d562a0dd447532488afaf2cc2a9d7bb
[ "MIT" ]
1
2019-10-02T16:53:54.000Z
2019-10-02T18:36:00.000Z
examples/basic_example.cpp
FireFlyForLife/FlatValueMap
125c2a4a0d562a0dd447532488afaf2cc2a9d7bb
[ "MIT" ]
null
null
null
#include <flat_value_map_handle.h> #include <flat_value_map.h> #include <cassert> #include <iostream> using namespace cof; class Entity { public: Entity() : name(), tags{} {} Entity(std::string name, std::vector<std::string> tags) : name(std::move(name)), tags{ std::move(tags) } {} virtual ~Entity() = default;...
22.694915
105
0.644511
[ "vector" ]
07a0066a9c5a4674c77ae60ae75c29f4e942aace
2,721
cpp
C++
Sorting Algorithms/Frequency Sort.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
8
2021-02-13T17:07:27.000Z
2021-08-20T08:20:40.000Z
Sorting Algorithms/Frequency Sort.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
null
null
null
Sorting Algorithms/Frequency Sort.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
5
2021-02-17T18:12:20.000Z
2021-10-10T17:49:34.000Z
/* Ref: https://www.geeksforgeeks.org/sort-elements-by-frequency/ https://www.educative.io/edpresso/the-frequency-sort-algorithm Question based on this concept ---> https://leetcode.com/problems/sort-array-by-increasing-frequency/ https://leetcode.com/problems/sort-characters-by-frequency/ */ /* The ...
24.513514
102
0.619993
[ "vector" ]
07a13019d0ed9ef2fbf1432fbc7f97acb12fe13b
2,513
cpp
C++
tools/ifaceed/ifaceed/history/scenenodes/scenesnodeschangename.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
58
2015-08-09T14:56:35.000Z
2022-01-15T22:06:58.000Z
tools/ifaceed/ifaceed/history/scenenodes/scenesnodeschangename.cpp
mamontov-cpp/saddy-graphics-engine-2d
e25a6637fcc49cb26614bf03b70e5d03a3a436c7
[ "BSD-2-Clause" ]
245
2015-08-08T08:44:22.000Z
2022-01-04T09:18:08.000Z
tools/ifaceed/ifaceed/history/scenenodes/scenesnodeschangename.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
23
2015-12-06T03:57:49.000Z
2020-10-12T14:15:50.000Z
#include "scenenodeschangename.h" // ReSharper disable once CppUnusedIncludeDirective #include <db/save.h> // ReSharper disable once CppUnusedIncludeDirective #include <QLineEdit> #include "../../core/editor.h" #include "../../qstdstring.h" #include "../../blockedclosuremethodcall.h" #include "../../c...
31.024691
135
0.657382
[ "object" ]
07a480b47907c979c1c5d2e20db0f7d6cf5f001c
7,910
cc
C++
Geometry/GEMGeometryBuilder/src/ME0GeometryBuilderFromDDD.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
Geometry/GEMGeometryBuilder/src/ME0GeometryBuilderFromDDD.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
Geometry/GEMGeometryBuilder/src/ME0GeometryBuilderFromDDD.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
/** Implementation of the ME0 Geometry Builder from DDD * * \author Port of: MuDDDME0Builder (ORCA) * \author M. Maggi - INFN Bari * \edited by D. Nash */ #include "Geometry/GEMGeometryBuilder/src/ME0GeometryBuilderFromDDD.h" #include "Geometry/GEMGeometry/interface/ME0Geometry.h" #include "Geometry/GEMGeometry...
36.790698
131
0.686599
[ "geometry", "vector", "solid" ]
07a96d965b6ee672a9d73717bfd816ec6bedc330
2,792
hpp
C++
include/york/Registry.hpp
mxtt-mmxix/York-Engine
a4592757b2fe52b4737c87ba59546dce2e90b9dd
[ "BSD-2-Clause" ]
null
null
null
include/york/Registry.hpp
mxtt-mmxix/York-Engine
a4592757b2fe52b4737c87ba59546dce2e90b9dd
[ "BSD-2-Clause" ]
null
null
null
include/york/Registry.hpp
mxtt-mmxix/York-Engine
a4592757b2fe52b4737c87ba59546dce2e90b9dd
[ "BSD-2-Clause" ]
null
null
null
/* * BSD 2-Clause License * * Copyright (c) 2022 Matthew McCall * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notic...
36.736842
563
0.75
[ "vector" ]
07abb28fe1d500e83f2d8e5b2cef082c97d0e1ee
1,511
cpp
C++
src/e001_100/q1346.cpp
extremedeckguru/leetcode
e45923ccbca7ae1c5f85d8c996392e8b492c1306
[ "MIT" ]
9
2020-04-09T12:37:50.000Z
2021-04-01T14:01:14.000Z
src/e001_100/q1346.cpp
extremedeckguru/leetcode
e45923ccbca7ae1c5f85d8c996392e8b492c1306
[ "MIT" ]
3
2020-05-05T02:43:54.000Z
2020-05-20T11:12:16.000Z
src/e001_100/q1346.cpp
extremedeckguru/leetcode
e45923ccbca7ae1c5f85d8c996392e8b492c1306
[ "MIT" ]
5
2020-04-17T02:32:10.000Z
2020-05-20T10:12:26.000Z
/* #面试刷题# 第0028期 #Leetcode# Q1346 检查N及其2倍的值是否存在 难度:低 给定整数数组arr,请检查是否存在两个整数N和M,以使N为M的两倍(即N = 2 * M)。 更正式地检查是否存在两个索引i和j,使得: (1) i != j (2) 0 <= i, j < arr.length (3) arr[i] == 2 * arr[j] 约束条件: (a) 2 <= arr.length <= 500 (b) -10^3 <= arr[i] <= 10^3 例1: Input: arr = [10,2,5,3] Output: true Explanation: N = 10 is the doubl...
20.69863
81
0.56188
[ "vector" ]
07ae78878217b138f1021828d10769ec2f842403
1,255
cpp
C++
Arrays/SubarrayWithGivenSumOptimized.cpp
sanp9/DSA-Questions
f265075b83f66ec696576be3eaa5517ee387d5cf
[ "MIT" ]
null
null
null
Arrays/SubarrayWithGivenSumOptimized.cpp
sanp9/DSA-Questions
f265075b83f66ec696576be3eaa5517ee387d5cf
[ "MIT" ]
null
null
null
Arrays/SubarrayWithGivenSumOptimized.cpp
sanp9/DSA-Questions
f265075b83f66ec696576be3eaa5517ee387d5cf
[ "MIT" ]
null
null
null
//? Problem - Given an unsorted array A of size N of non-negative integers, find a continuous subarray which adds to a given number S. //? Constraints: 1 <= N <= 10^5, 0 <= Ai <= 10^10 //* O(n) Solution #include <iostream> #include <vector> // Imported for vector<> Template #include <climits> // Imported for INT...
20.57377
134
0.486056
[ "vector" ]
07b2818fde57042efddcdae6ee4ef82c64b88857
1,596
hpp
C++
renderer/Scene.hpp
AdrienVannson/3D-Renderer
78148e88b9ab91ccaea0f883a746ee93cac5d767
[ "MIT" ]
null
null
null
renderer/Scene.hpp
AdrienVannson/3D-Renderer
78148e88b9ab91ccaea0f883a746ee93cac5d767
[ "MIT" ]
null
null
null
renderer/Scene.hpp
AdrienVannson/3D-Renderer
78148e88b9ab91ccaea0f883a746ee93cac5d767
[ "MIT" ]
1
2021-03-18T08:05:35.000Z
2021-03-18T08:05:35.000Z
#ifndef SCENE_HPP #define SCENE_HPP #include <vector> #include <cmath> #include "AccelerationStructure.hpp" #include "Camera.hpp" #include "Vect.hpp" #include "Light.hpp" #include "Object.hpp" #include "Material.hpp" #include "objects/Group.hpp" #include <QString> #include <QFile> #include <QTextStream> class Scen...
23.820896
106
0.70614
[ "object", "vector" ]
07b5079db3d43ba7211354df920682af2897bf47
7,562
cxx
C++
src/CalCalib/IntNonlinMgr.cxx
fermi-lat/CalXtalResponse
3bd209402fa2d1ba3bb13e6a6228ea16881a3dc8
[ "BSD-3-Clause" ]
null
null
null
src/CalCalib/IntNonlinMgr.cxx
fermi-lat/CalXtalResponse
3bd209402fa2d1ba3bb13e6a6228ea16881a3dc8
[ "BSD-3-Clause" ]
null
null
null
src/CalCalib/IntNonlinMgr.cxx
fermi-lat/CalXtalResponse
3bd209402fa2d1ba3bb13e6a6228ea16881a3dc8
[ "BSD-3-Clause" ]
null
null
null
// $Header: /nfs/slac/g/glast/ground/cvs/CalXtalResponse/src/CalCalib/IntNonlinMgr.cxx,v 1.11 2008/01/22 20:14:47 fewtrell Exp $ /** @file @author Z.Fewtrell */ // LOCAL #include "IntNonlinMgr.h" // GLAST #include "CalibData/DacCol.h" // EXTLIB // STD #include <algorithm> using namespace CalUtil; using namespac...
29.771654
128
0.628008
[ "vector" ]
07ba194fa95160ab50000ef7588f7ad63a499e53
1,833
cpp
C++
UserInteractionMode/cpp/Scenario1_Basic.xaml.cpp
kaid7pro/old-Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
6
2015-12-23T22:28:56.000Z
2021-11-06T17:05:51.000Z
UserInteractionMode/cpp/Scenario1_Basic.xaml.cpp
y3key/Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
null
null
null
UserInteractionMode/cpp/Scenario1_Basic.xaml.cpp
y3key/Windows-universal-samples
f97d2b880420fff7bcf7ea0aaf20ee837c002d7d
[ "MIT" ]
8
2015-10-26T01:44:51.000Z
2022-03-12T09:47:56.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
33.944444
132
0.70922
[ "object" ]
07bb977571b02bd758db81ea8c111966fe8acab3
1,247
cpp
C++
Leetcode/1000-2000/1884. Egg Drop With 2 Eggs and N Floors/1884.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/1000-2000/1884. Egg Drop With 2 Eggs and N Floors/1884.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/1000-2000/1884. Egg Drop With 2 Eggs and N Floors/1884.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: int twoEggDrop(int n) { return superEggDrop(2, n); } private: vector<vector<int>> dp; int superEggDrop(int K, int N) { // dp[k][n] := min # of moves to know F with k eggs and n floors dp.resize(K + 1, vector<int>(N + 1, -1)); return drop(K, N); } int drop(int k,...
24.94
68
0.48757
[ "vector" ]
07c7e6ac69511a55917bc7363ade07830e1d1960
8,477
cpp
C++
tests/iclBLAS/test_Srot.cpp
intel/clGPU
bf099c547a17d12a81c23314a54fc7fe175a86a7
[ "Apache-2.0" ]
61
2018-02-20T06:01:50.000Z
2021-09-08T05:55:44.000Z
tests/iclBLAS/test_Srot.cpp
intel/clGPU
bf099c547a17d12a81c23314a54fc7fe175a86a7
[ "Apache-2.0" ]
2
2018-04-21T06:59:30.000Z
2019-01-12T17:08:54.000Z
tests/iclBLAS/test_Srot.cpp
intel/clGPU
bf099c547a17d12a81c23314a54fc7fe175a86a7
[ "Apache-2.0" ]
19
2018-02-19T17:18:04.000Z
2021-02-25T02:00:53.000Z
// Copyright (c) 2017-2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
25.079882
89
0.55397
[ "vector" ]
07c9d8ac9b71355f8ba8e0b5c8e0ae1859f4061c
4,993
cc
C++
CondCore/SiStripPlugins/plugins/SiStripDetVOff_PayloadInspector.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
CondCore/SiStripPlugins/plugins/SiStripDetVOff_PayloadInspector.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
CondCore/SiStripPlugins/plugins/SiStripDetVOff_PayloadInspector.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include "CondCore/Utilities/interface/PayloadInspectorModule.h" #include "CondCore/Utilities/interface/PayloadInspector.h" #include "CondCore/CondDB/interface/Time.h" #include "CondFormats/SiStripObjects/interface/SiStripDetVOff.h" #include "CommonTools/TrackerMap/interface/TrackerMap.h" #include <memory> #include ...
33.965986
130
0.653715
[ "vector" ]
07cab300d35529222d598ffd0d74273ce14f2881
3,278
cc
C++
RecoTauTag/RecoTau/plugins/RecoTauDiscriminantFromDiscriminator.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoTauTag/RecoTau/plugins/RecoTauDiscriminantFromDiscriminator.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
RecoTauTag/RecoTau/plugins/RecoTauDiscriminantFromDiscriminator.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
/* * RecoTauDiscriminantFromDiscriminator * * Makes a discriminator function from a PFRecoTauDiscriminator stored in the * event. * * Author: Evan K. Friis (UC Davis) * */ #include <sstream> #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "RecoTauTag/RecoTau/interface/RecoTauDiscriminantPlug...
33.793814
92
0.701952
[ "vector" ]
07cbcbc43fa24497510678426a56650932606545
17,116
cc
C++
storage/browser/quota/usage_tracker_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
storage/browser/quota/usage_tracker_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
storage/browser/quota/usage_tracker_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stdint.h> #include <utility> #include <vector> #include "base/bind.h" #include "base/location.h" #include "base/macros.h" #include "base/memor...
37.452954
80
0.736738
[ "vector" ]
07cd289079c337b7c2b03b7f65af216137046176
6,516
cpp
C++
data-logger/src/Examples/proto_rebroadcaster.cpp
linklab-uva/deepracing
fc25c47658277df029e7399d295d97a75fe85216
[ "Apache-2.0" ]
11
2020-06-29T15:21:37.000Z
2021-04-12T00:42:26.000Z
data-logger/src/Examples/proto_rebroadcaster.cpp
linklab-uva/deepracing
fc25c47658277df029e7399d295d97a75fe85216
[ "Apache-2.0" ]
null
null
null
data-logger/src/Examples/proto_rebroadcaster.cpp
linklab-uva/deepracing
fc25c47658277df029e7399d295d97a75fe85216
[ "Apache-2.0" ]
4
2019-01-23T23:36:57.000Z
2021-07-02T00:18:37.000Z
/* * cv_viewer.cpp * * Created on: Dec 5, 2018 * Author: ttw2xk */ #include "f1_datalogger/f1_datalogger.h" //#include "image_logging/utils/screencapture_lite_utils.h" #include <iostream> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <sstream> #include <Eigen/Geometry> #include "f1_d...
33.076142
162
0.693217
[ "geometry", "vector" ]
07cfb0eaf9ffdceaf07c340422ec4ee508b10d45
6,131
cc
C++
third_party_libs/dwarf-20111214/dwarfdump2/print_sections.cc
cristivlas/zerobugs
5f080c8645b123d7887fd8a64f60e8d226e3b1d5
[ "BSL-1.0" ]
2
2018-03-19T23:27:47.000Z
2018-06-24T16:15:19.000Z
third_party_libs/dwarf-20111214/dwarfdump2/print_sections.cc
cristivlas/zerobugs
5f080c8645b123d7887fd8a64f60e8d226e3b1d5
[ "BSL-1.0" ]
null
null
null
third_party_libs/dwarf-20111214/dwarfdump2/print_sections.cc
cristivlas/zerobugs
5f080c8645b123d7887fd8a64f60e8d226e3b1d5
[ "BSL-1.0" ]
1
2021-11-28T05:39:05.000Z
2021-11-28T05:39:05.000Z
/* Copyright (C) 2000-2006 Silicon Graphics, Inc. All Rights Reserved. Portions Copyright 2007-2010 Sun Microsystems, Inc. All rights reserved. Portions Copyright 2009-2010 SN Systems Ltd. All rights reserved. Portions Copyright 2008-2010 David Anderson. All rights reserved. This program is free software; ...
28.253456
116
0.660904
[ "vector" ]
07d5d7a6a0fd68251a98745a8edaa4d823603cf5
2,045
hpp
C++
Box3D/include/Box3D/Renderer/Shader.hpp
Campeanu/Box3D
2b1bb5b7b3bd66cbe6a32d910ce56ba41023dcec
[ "MIT" ]
1
2020-07-20T15:55:43.000Z
2020-07-20T15:55:43.000Z
Box3D/include/Box3D/Renderer/Shader.hpp
Campeanu/Box3D
2b1bb5b7b3bd66cbe6a32d910ce56ba41023dcec
[ "MIT" ]
null
null
null
Box3D/include/Box3D/Renderer/Shader.hpp
Campeanu/Box3D
2b1bb5b7b3bd66cbe6a32d910ce56ba41023dcec
[ "MIT" ]
null
null
null
#ifndef __SHADER_HPP_INCLUDED__ #define __SHADER_HPP_INCLUDED__ #include <string> #include <vector> #include "Box3D/Core.hpp" #include "Box3D/Log.hpp" #include <glm/glm.hpp> #if defined(IMGUI_IMPL_OPENGL_LOADER_GL3W) #include <GL/gl3w.h> // Initialize with gl3wInit() #elif defined(IMGUI_IMPL_OPENGL_LOADER_GLEW) ...
34.083333
130
0.674328
[ "vector" ]
07d72180aa98b992702ed8a25fd38640af86bb8b
3,049
cpp
C++
src/importers.cpp
mgreter/node-sass-wasm
c26f7900fed39eb9ea3a45f3dfd9eb65f9cbb89f
[ "MIT" ]
23
2019-06-22T11:45:09.000Z
2021-09-14T08:34:42.000Z
src/importers.cpp
mgreter/node-sass-wasm
c26f7900fed39eb9ea3a45f3dfd9eb65f9cbb89f
[ "MIT" ]
1
2019-10-15T10:45:44.000Z
2019-10-23T21:26:17.000Z
src/importers.cpp
mgreter/node-sass-wasm
c26f7900fed39eb9ea3a45f3dfd9eb65f9cbb89f
[ "MIT" ]
2
2019-10-12T19:00:08.000Z
2020-01-31T12:29:17.000Z
// Copyright 2019 Google LLC // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. #include "importers.h" #include <optional> #include <sass/context.h> namespace node_sass { using ::emscripten::val; using ::std::null...
34.647727
123
0.691702
[ "object" ]
07da3b7390a7ff6af3c57a990169917db5d941ff
1,384
hpp
C++
src/hand.hpp
silverhammermba/bananagrams
ad2b3ec1ef28bd7604580df80ecd67456ad53858
[ "MIT" ]
1
2018-05-17T17:43:37.000Z
2018-05-17T17:43:37.000Z
src/hand.hpp
silverhammermba/bananagrams
ad2b3ec1ef28bd7604580df80ecd67456ad53858
[ "MIT" ]
null
null
null
src/hand.hpp
silverhammermba/bananagrams
ad2b3ec1ef28bd7604580df80ecd67456ad53858
[ "MIT" ]
null
null
null
#ifndef HAND_HPP #define HAND_HPP #include <algorithm> #include <list> #include <sstream> #include <SFML/Graphics.hpp> #include "constants.hpp" #include "tile.hpp" // TODO inefficient class Hand { std::vector<Tile*> tiles[26]; std::list<Tile*> scram; // for shuffle std::list<Tile*> sort; // for ordered std::lis...
18.453333
69
0.692919
[ "vector" ]
07de408da7a3107dfa468f0c47dfadad3f16941f
5,952
cpp
C++
mlir/lib/Target/LLVMIR/TypeFromLLVM.cpp
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
mlir/lib/Target/LLVMIR/TypeFromLLVM.cpp
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
mlir/lib/Target/LLVMIR/TypeFromLLVM.cpp
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
//===- TypeFromLLVM.cpp - type translation from LLVM to MLIR IR -===// // // 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 // //===-------------------------------------...
35.218935
80
0.660954
[ "vector" ]
07dffe590ca08612156c6ec4b3a10f39c4ace202
3,314
hpp
C++
lib/boost_1.78.0/boost/geometry/views/segment_view.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
326
2015-02-08T13:47:49.000Z
2022-03-16T02:13:59.000Z
lib/boost_1.78.0/boost/geometry/views/segment_view.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
623
2015-01-02T23:45:23.000Z
2022-03-09T11:15:23.000Z
lib/boost_1.78.0/boost/geometry/views/segment_view.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
215
2015-01-14T15:50:38.000Z
2022-02-23T03:58:36.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. // This file was modified by Oracle on 2020-2021. // Modifications copyright (c) ...
32.174757
97
0.756186
[ "geometry", "model" ]
2e5a25ed3d90fa81e396654a1402e3a8e204d67c
30,391
cpp
C++
src/lib/foundations/finite_fields/finite_field_io.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/lib/foundations/finite_fields/finite_field_io.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/lib/foundations/finite_fields/finite_field_io.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
/* * finit_field_io.cpp * * Created on: Jan 5, 2019 * Author: betten */ #include "foundations.h" using namespace std; namespace orbiter { namespace foundations { void finite_field::report(std::ostream &ost, int verbose_level) { ost << "\\small" << endl; ost << "\\arraycolsep=2pt" << endl; ost << "\\...
20.007242
111
0.55115
[ "vector" ]
2e64e7e7979bb16259bd3818a72c7a648e4c88b8
293,074
cpp
C++
WindowsPC/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_29Table.cpp
ludaher/HumanoVirtual
3b65d54ea4e5e17c24dd1595da39a107e8b29e46
[ "MIT" ]
null
null
null
WindowsPC/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_29Table.cpp
ludaher/HumanoVirtual
3b65d54ea4e5e17c24dd1595da39a107e8b29e46
[ "MIT" ]
null
null
null
WindowsPC/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_29Table.cpp
ludaher/HumanoVirtual
3b65d54ea4e5e17c24dd1595da39a107e8b29e46
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "class-internals.h" #include "codegen/il2cpp-codegen.h" #include "object-in...
43.683708
234
0.835062
[ "object" ]
2e6945620b60721683ce38485e156a6488851444
3,820
cpp
C++
Src/HLSL/DxilSignatureElement.cpp
gongminmin/Dilithium
976ce6d6420e45ac3088fe345793bfca80cd3acd
[ "MIT" ]
178
2017-02-08T14:08:56.000Z
2022-02-22T02:19:44.000Z
Src/HLSL/DxilSignatureElement.cpp
gongminmin/Dilithium
976ce6d6420e45ac3088fe345793bfca80cd3acd
[ "MIT" ]
7
2017-02-09T08:19:29.000Z
2021-09-13T14:28:09.000Z
Src/HLSL/DxilSignatureElement.cpp
gongminmin/Dilithium
976ce6d6420e45ac3088fe345793bfca80cd3acd
[ "MIT" ]
15
2017-02-14T09:42:25.000Z
2021-12-16T15:49:17.000Z
/** * @file DxilSignatureElement.cpp * @author Minmin Gong * * @section DESCRIPTION * * This source file is part of Dilithium * For the latest info, see https://github.com/gongminmin/Dilithium * * @section LICENSE * * The MIT License (MIT) * * Copyright (c) 2017 Minmin Gong. All rights reserved. * * Perm...
30.07874
128
0.745812
[ "vector" ]
2e6da3419132fff50da44df47df8a7035a1f0720
2,610
hpp
C++
cybex_ios_core_cpp/include/bitshare/include/cybex/crowdfund.hpp
CybexDex/cybex-ios-core-cpp
6d6e446180dba9f302bd5296942a2b17289ed949
[ "MIT" ]
null
null
null
cybex_ios_core_cpp/include/bitshare/include/cybex/crowdfund.hpp
CybexDex/cybex-ios-core-cpp
6d6e446180dba9f302bd5296942a2b17289ed949
[ "MIT" ]
null
null
null
cybex_ios_core_cpp/include/bitshare/include/cybex/crowdfund.hpp
CybexDex/cybex-ios-core-cpp
6d6e446180dba9f302bd5296942a2b17289ed949
[ "MIT" ]
2
2018-10-10T13:39:01.000Z
2020-12-15T13:23:56.000Z
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
35.753425
89
0.696552
[ "object" ]
2e78fab9f58da1d51ef0c5d658446b79d4a8eeab
5,363
cpp
C++
src/Shader.cpp
DanonOfficial/ScreenSpaceReflection
186d0937b033db11e81bf91e624634b3ca1bc538
[ "MIT" ]
1
2021-03-27T19:20:31.000Z
2021-03-27T19:20:31.000Z
src/Shader.cpp
RoundedGlint585/ScreenSpaceReflection
186d0937b033db11e81bf91e624634b3ca1bc538
[ "MIT" ]
1
2021-04-09T18:48:38.000Z
2021-04-18T11:27:35.000Z
src/Shader.cpp
RoundedGlint585/ScreenSpaceReflection
186d0937b033db11e81bf91e624634b3ca1bc538
[ "MIT" ]
1
2021-03-27T19:20:38.000Z
2021-03-27T19:20:38.000Z
// // Created by roundedglint585 on 8/1/19. // #include "../include/Shader.h" #include <iostream> Shader::Shader(const std::string & vertexShaderData, const std::string & fragmentShaderData) : shaderID_(-1) { uint32_t vertexShader = compileVertexShader(vertexShaderData); uint32_t fragmentShader = compileFragme...
38.307143
110
0.727764
[ "vector" ]
2e7c1543ed7838456a76b72cfa415d0ff798d0c8
5,146
cpp
C++
src/main.cpp
olciaczekswiraczek/OpenGLPAG
79ef7a09f7cd6b356f8764377cf8e0258f78dad8
[ "MIT" ]
null
null
null
src/main.cpp
olciaczekswiraczek/OpenGLPAG
79ef7a09f7cd6b356f8764377cf8e0258f78dad8
[ "MIT" ]
null
null
null
src/main.cpp
olciaczekswiraczek/OpenGLPAG
79ef7a09f7cd6b356f8764377cf8e0258f78dad8
[ "MIT" ]
null
null
null
#include <corecrt_math_defines.h> #include <iostream> #include "imgui.h" #include "imgui_impl_glfw.h" #include "imgui_impl_opengl3.h" #include "glm/glm.hpp" #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "Window.h" #include "ShaderProgram.h" #include "Texture.h" #include "Cube.h" ...
31.765432
132
0.629421
[ "render", "vector", "model" ]
2e8224d3a93f775a7d1d09d7eceae156a80de828
2,136
hpp
C++
Vasniktel/cpp/include/dlinked_list/dlinked_list.hpp
2-men-team/dictionary
3a0e4876f4953a3d2d11bacb19549ebec6886c52
[ "MIT" ]
1
2018-04-17T14:39:46.000Z
2018-04-17T14:39:46.000Z
Vasniktel/cpp/include/dlinked_list/dlinked_list.hpp
2-men-team/dictionary
3a0e4876f4953a3d2d11bacb19549ebec6886c52
[ "MIT" ]
null
null
null
Vasniktel/cpp/include/dlinked_list/dlinked_list.hpp
2-men-team/dictionary
3a0e4876f4953a3d2d11bacb19549ebec6886c52
[ "MIT" ]
1
2018-10-28T20:17:38.000Z
2018-10-28T20:17:38.000Z
#ifndef _DLINKED_LIST_HPP_ #define _DLINKED_LIST_HPP_ #include <cstddef> #include <ostream> #include <stdexcept> #include <vector> #include <algorithm> #include <functional> #include <utility> template <typename ValType, bool looped = false> class DLinkedList; template <typename ValType, bool looped> std::ostream& o...
29.260274
121
0.708801
[ "vector" ]
2e835f2ae375c0ee9da48f44ce71ecaf451adbdd
5,235
cpp
C++
PostProcessor/Animation.cpp
MingAtUWA/SimpleMPM
46a0e48028b7d6258f452f9cbee6195bb7f6aa41
[ "MIT" ]
null
null
null
PostProcessor/Animation.cpp
MingAtUWA/SimpleMPM
46a0e48028b7d6258f452f9cbee6195bb7f6aa41
[ "MIT" ]
null
null
null
PostProcessor/Animation.cpp
MingAtUWA/SimpleMPM
46a0e48028b7d6258f452f9cbee6195bb7f6aa41
[ "MIT" ]
null
null
null
#include "PostProcessor_pcp.h" #include "gif.h" #include "Animation.h" void Animation::PlayAnimationEvent:: Execute(vtkObject *caller, unsigned long eventId, void *callData) { animation->play_animation(); } void Animation::RenderFrameTimerEvent:: Execute(vtkObject * caller, unsigned long eventId, void * callData...
26.044776
105
0.709838
[ "render" ]
2e83d1addb0d064fb97665d1c9f76144ff21f42f
49,724
cpp
C++
case-studies/tor/src/TorEnclave/or/nodelist.cpp
shwetasshinde24/Panoply
9a762c24dec61250d953d1769b070df7f0dd0317
[ "Apache-2.0" ]
30
2017-02-08T02:53:36.000Z
2022-03-24T14:26:17.000Z
case-studies/tor/src/TorEnclave/or/nodelist.cpp
shwetasshinde24/Panoply
9a762c24dec61250d953d1769b070df7f0dd0317
[ "Apache-2.0" ]
4
2017-05-25T00:39:02.000Z
2018-04-27T10:38:47.000Z
case-studies/tor/src/TorEnclave/or/nodelist.cpp
shwetasshinde24/Panoply
9a762c24dec61250d953d1769b070df7f0dd0317
[ "Apache-2.0" ]
8
2017-10-31T11:12:35.000Z
2020-06-15T04:12:51.000Z
/* Copyright (c) 2001 Matej Pfajfar. * Copyright (c) 2001-2004, Roger Dingledine. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2013, The Tor Project, Inc. */ /* See LICENSE for licensing information */ #include "or.h" #include "address.h" #include "config.h" #include "control.h"...
31.391414
83
0.665835
[ "object" ]
2e8a29ad283757ebc89971519482d8e52fef76bf
4,949
cpp
C++
test/unit/test_partition_by_constraint.cpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
53
2018-10-18T12:08:21.000Z
2022-03-26T22:03:51.000Z
test/unit/test_partition_by_constraint.cpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
864
2018-10-01T08:06:00.000Z
2022-03-31T08:06:48.000Z
test/unit/test_partition_by_constraint.cpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
37
2019-03-03T16:18:49.000Z
2022-03-24T10:39:51.000Z
#include "../gtest.h" #include <array> #include <forward_list> #include <string> #include <vector> #include <arbor/common_types.hpp> #include <arbor/simd/simd.hpp> #include "backends/multicore/multicore_common.hpp" #include "backends/multicore/partition_by_constraint.hpp" using namespace arb; using iarray = multico...
30.361963
98
0.641948
[ "vector" ]
2e9781a9ca5c8c48e19573422ca975d524da487f
1,935
cpp
C++
uhk/acm5493.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
uhk/acm5493.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
uhk/acm5493.cpp
Hyyyyyyyyyy/acm
d7101755b2c2868d51bb056f094e024d0333b56f
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <cstdlib> #include <algorithm> #include <cmath> #include <set> #include <map> #include <cctype> #include <vector> #include <queue> #include <stack> #include <deque> #include <string> #include <iostream> using namespace std; typedef long long ll; typedef unsigned long long u...
16.973684
47
0.533333
[ "vector" ]