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
0a750d73521961c3018afd4169f4b16dbc4806e5
1,672
cxx
C++
sw/vtk_scripts/translate_stl/translate_stl.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
4
2019-05-30T01:52:12.000Z
2021-09-29T21:12:13.000Z
sw/vtk_scripts/translate_stl/translate_stl.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
null
null
null
sw/vtk_scripts/translate_stl/translate_stl.cxx
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
2
2019-08-30T23:36:13.000Z
2019-11-08T16:52:01.000Z
#include "../common/vtk_common.h" #include <vtkPolyData.h> #include <vtkSTLReader.h> #include <vtkSmartPointer.h> #include <vtkPolyDataMapper.h> #include <vtkActor.h> #include <vtkRenderWindow.h> #include <vtkRenderer.h> #include <vtkRenderWindowInteractor.h> #include <vtkTransform.h> #include <vtkTransformFilter.h> #i...
30.4
117
0.691986
[ "transform" ]
0a856a6c981a61706e814274064b9caad82b6f46
5,575
cpp
C++
python/dev/cpp/basic/src/gecko.cpp
MomsFriendlyRobotCompany/gecko
f340381113bdb423a39d47aaee61e013bb9e002a
[ "MIT" ]
3
2019-06-13T07:52:12.000Z
2020-07-05T13:28:43.000Z
python/dev/cpp/basic/src/gecko.cpp
MomsFriendlyRobotCompany/gecko
f340381113bdb423a39d47aaee61e013bb9e002a
[ "MIT" ]
23
2017-07-07T01:29:33.000Z
2018-11-23T18:41:08.000Z
python/dev/cpp/basic/src/gecko.cpp
MomsFriendlyRobotCompany/gecko
f340381113bdb423a39d47aaee61e013bb9e002a
[ "MIT" ]
null
null
null
#include "gecko.hpp" #include <iostream> #include <string> #include <stdio.h> #include "transport.hpp" #include "network.hpp" #include "rep_req.pb.h" #include "signals.hpp" #include "time.hpp" #include "helpers.hpp" using namespace std; // using namespace gecko; using namespace msg; /* This holds the static info for...
28.299492
97
0.582601
[ "vector" ]
0a8ac161586348596889dfb8b0f5dc5f77f60eee
2,708
cpp
C++
src/search_engine/relja_retrival/v2/indexing/train/flat_desc_file.cpp
alexanderwilkinson/visenew
8e494355b0f88466c0abb4b8f3bfecc150b91111
[ "ImageMagick", "BSD-2-Clause" ]
43
2017-07-06T23:44:39.000Z
2022-03-25T06:53:29.000Z
src/search_engine/relja_retrival/v2/indexing/train/flat_desc_file.cpp
alexanderwilkinson/visenew
8e494355b0f88466c0abb4b8f3bfecc150b91111
[ "ImageMagick", "BSD-2-Clause" ]
2
2018-11-09T03:52:14.000Z
2020-03-25T14:08:33.000Z
src/search_engine/relja_retrival/v2/indexing/train/flat_desc_file.cpp
alexanderwilkinson/visenew
8e494355b0f88466c0abb4b8f3bfecc150b91111
[ "ImageMagick", "BSD-2-Clause" ]
9
2017-07-27T10:55:55.000Z
2020-12-15T13:42:43.000Z
/* ==== Author: Relja Arandjelovic (relja@robots.ox.ac.uk) Visual Geometry Group, Department of Engineering Science University of Oxford ==== Copyright: The library belongs to Relja Arandjelovic and the University of Oxford. No usage or redistribution is allowed without explicit permission. */ #include "flat_desc_f...
28.208333
116
0.650665
[ "geometry" ]
0a905869a009a575e12c3a1e7f5fced3f12e985d
6,151
cpp
C++
test/unit/phys/models/material_hamiltonians/material_lattice_NiO_test.cpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
2
2019-12-18T17:13:00.000Z
2021-07-30T01:45:30.000Z
test/unit/phys/models/material_hamiltonians/material_lattice_NiO_test.cpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
1
2020-08-13T11:03:54.000Z
2020-08-13T11:03:54.000Z
test/unit/phys/models/material_hamiltonians/material_lattice_NiO_test.cpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
1
2019-11-15T16:06:32.000Z
2019-11-15T16:06:32.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: Urs R. Haehner (haehneru@itp.phys.ethz.ch) // // This file tests the specializatio...
40.735099
108
0.671761
[ "vector" ]
0a9896beb79242f20013dd1c4cdbecbb78320cb2
729
cpp
C++
reduce/run.cpp
DenisOstashov/cpp-advanced-hse
6e4317763c0a9c510d639ae1e5793a8e9549d953
[ "MIT" ]
null
null
null
reduce/run.cpp
DenisOstashov/cpp-advanced-hse
6e4317763c0a9c510d639ae1e5793a8e9549d953
[ "MIT" ]
null
null
null
reduce/run.cpp
DenisOstashov/cpp-advanced-hse
6e4317763c0a9c510d639ae1e5793a8e9549d953
[ "MIT" ]
null
null
null
#include <benchmark/benchmark.h> #include <reduce.h> #include <cstdint> #include <vector> #include <algorithm> #include "commons.h" const int kMaxSize = 1000 * 1000 * 100; uint32_t Gcd(uint32_t a, uint32_t b) { return !b ? a : Gcd(b, a % b); } const std::vector<uint32_t> kTest(GenTest<uint32_t>(kMaxSize)); const...
25.137931
80
0.658436
[ "vector" ]
0a9e8a44759172adf5c0d6715d2acf202086c7eb
4,093
cpp
C++
src/ParametricState.cpp
virgilwjj/levenshtein_automaton
53dc79bf8d744768b4daf8bc16c5007cd2816269
[ "MIT" ]
1
2021-05-14T09:55:21.000Z
2021-05-14T09:55:21.000Z
src/ParametricState.cpp
virgilwjj/levenshtein_automaton
53dc79bf8d744768b4daf8bc16c5007cd2816269
[ "MIT" ]
null
null
null
src/ParametricState.cpp
virgilwjj/levenshtein_automaton
53dc79bf8d744768b4daf8bc16c5007cd2816269
[ "MIT" ]
null
null
null
#include <cstring> #include "../include/State.h" #include "../include/Position.h" #include "../include/ParametricState.h" #include <string> #include <algorithm> #include <stack> #include"typeinfo" namespace std { template<> struct std::hash<std::vector<int>> : public __hash_base<size_t, std::vector<int>> { ...
34.982906
194
0.635231
[ "vector" ]
0a9e93dface6bfee4aaeabd72911b173e5f7ba49
887
cpp
C++
mainwindow.cpp
honoriocassiano/sketch-based-quadrangulation
7480b05aa8f2cb1dfbaf4e249a8184702700c2a2
[ "MIT" ]
null
null
null
mainwindow.cpp
honoriocassiano/sketch-based-quadrangulation
7480b05aa8f2cb1dfbaf4e249a8184702700c2a2
[ "MIT" ]
null
null
null
mainwindow.cpp
honoriocassiano/sketch-based-quadrangulation
7480b05aa8f2cb1dfbaf4e249a8184702700c2a2
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include "application.h" #include "qdebug.h" #include "qfiledialog.h" #include "utils.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); connect(ui->loadMeshButton, SIGNAL(clicked()), this, SLOT...
25.342857
75
0.64487
[ "mesh", "model" ]
0aacd254781683544c1d438b8c84c8132abd16ee
1,112
cpp
C++
atcoder/arc/arc021_c.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
atcoder/arc/arc021_c.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
atcoder/arc/arc021_c.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<int, int> P; typedef pair<ll, ll> Pll; typedef vector<int> Vi; typedef tuple<int, int, int> T; #define FOR(i,s,x) for(int i=s;i<(int)(x);i++) #define REP(i,x) FOR(i,0,x) #define ALL(c) c.begin(), c.end() #define DUMP( x ) cerr << #x <...
20.592593
55
0.466727
[ "vector" ]
0ab09aea3357d332f4ab24da20e32d38a8d2d829
4,042
cpp
C++
client/src/ClientProtocolExecutor.cpp
kosiacz3q/IRC
bef36e8321b15763c1826c903f9a976a5f51ba58
[ "MIT" ]
null
null
null
client/src/ClientProtocolExecutor.cpp
kosiacz3q/IRC
bef36e8321b15763c1826c903f9a976a5f51ba58
[ "MIT" ]
null
null
null
client/src/ClientProtocolExecutor.cpp
kosiacz3q/IRC
bef36e8321b15763c1826c903f9a976a5f51ba58
[ "MIT" ]
null
null
null
#include "ClientProtocolExecutor.h" #include <unistd.h> #include <boost/tokenizer.hpp> #include <boost/algorithm/string.hpp> #include "jsonParserFwd.h" #include "coreFwd.h" ClientProtocolExecutor::ClientProtocolExecutor( core::IQueueHandlerPtr queueHandler, core::IDisplayerPtr displayer, IRequestResponseMan...
24.950617
127
0.716477
[ "vector" ]
0ab243dfd618b21f6b9528de2519155dea6fff4b
243
hpp
C++
src/hash/hasher_base.hpp
tum-db/partitioned-filters
56c20102715a442cbec9ecb732d41de15b31c828
[ "MIT" ]
5
2021-08-16T17:48:45.000Z
2022-03-10T22:53:54.000Z
src/hash/hasher_base.hpp
tum-db/partitioned-filters
56c20102715a442cbec9ecb732d41de15b31c828
[ "MIT" ]
null
null
null
src/hash/hasher_base.hpp
tum-db/partitioned-filters
56c20102715a442cbec9ecb732d41de15b31c828
[ "MIT" ]
null
null
null
#pragma once #include <cstddef> #include <parameter/parameter.hpp> namespace filters::hash { using HashingMode = parameter::HashingMode; template<HashingMode, typename Vector, size_t> struct Hasher { }; } // filters::hash
16.2
50
0.699588
[ "vector" ]
0aba949ad6fa0fad56d75e6ca72cad80c7edca77
2,533
cpp
C++
aws-cpp-sdk-ce/source/model/NetworkResourceUtilization.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-ce/source/model/NetworkResourceUtilization.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-ce/source/model/NetworkResourceUtilization.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ce/model/NetworkResourceUtilization.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws {...
24.12381
86
0.789183
[ "model" ]
0abb925083e2ea2fac8698f69d34494e4a9c7b26
820
hpp
C++
graph_tree/project_selection.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
graph_tree/project_selection.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
graph_tree/project_selection.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
#include<atcoder/maxflow.hpp> #include<vector> #include<map> template<typename T> struct project_selection{ int n; atcoder::mf_graph<T>g; std::vector<T>a,b; std::map<pair<int,int>,T>m; project_selection(int n):n(n),g(n+2),a(n),b(n){} // i in set1 penalty void penalty1(int i,T x){ ass...
24.848485
56
0.529268
[ "vector" ]
0ac8b71fa979dc8c9acb46fb5734baa09a832fee
2,453
cpp
C++
src/Gui/Widgets/Button.cpp
AndrzejWoronko/WebPassWare
9af0df61a9279f1ffe8561714656265f4bec7939
[ "MIT" ]
null
null
null
src/Gui/Widgets/Button.cpp
AndrzejWoronko/WebPassWare
9af0df61a9279f1ffe8561714656265f4bec7939
[ "MIT" ]
null
null
null
src/Gui/Widgets/Button.cpp
AndrzejWoronko/WebPassWare
9af0df61a9279f1ffe8561714656265f4bec7939
[ "MIT" ]
null
null
null
#include "Button.h" #include "Style.h" /************************************************************ CButtonPrivate Class *************************************************************/ CButtonPrivate::CButtonPrivate(const QString &text, const QString &tipText, const QString &icon, QSize shape) { m_text = text; ...
27.561798
109
0.604158
[ "shape" ]
0ad0845e8c81fe51fe66e6a0aef901f843fa28db
4,554
cpp
C++
src/argument_processor_main.cpp
sea-kg/reversehash
77bd44f589cd38dff7bd4b97963134ae27a16a95
[ "MIT" ]
null
null
null
src/argument_processor_main.cpp
sea-kg/reversehash
77bd44f589cd38dff7bd4b97963134ae27a16a95
[ "MIT" ]
4
2016-05-30T18:37:26.000Z
2017-02-18T06:59:24.000Z
src/argument_processor_main.cpp
sea-kg/reversehash
77bd44f589cd38dff7bd4b97963134ae27a16a95
[ "MIT" ]
null
null
null
#include "argument_processor_main.h" #include <wsjcpp_core.h> #include "bna_test_sin.h" #include "bna_test_sin1.h" // --------------------------------------------------------------------- // ArgumentProcessorMain ArgumentProcessorMain::ArgumentProcessorMain() : WsjcppArgumentProcessor({"main"}, "Experiment for...
34.5
125
0.603865
[ "vector" ]
bd5ab32217d2b852118f87e857c53cbadd55e451
17,014
cc
C++
daemon/index_primitive.cc
maaku/HyperDex
6b408e7458ce59631f7f5e9daa72f4a03984f9d8
[ "BSD-3-Clause" ]
1
2018-12-29T02:17:44.000Z
2018-12-29T02:17:44.000Z
daemon/index_primitive.cc
maaku/HyperDex
6b408e7458ce59631f7f5e9daa72f4a03984f9d8
[ "BSD-3-Clause" ]
null
null
null
daemon/index_primitive.cc
maaku/HyperDex
6b408e7458ce59631f7f5e9daa72f4a03984f9d8
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013, Cornell University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list ...
25.168639
95
0.554661
[ "vector" ]
bd6f4f20782cdbaa4e5fdc1cb4ecd23bca762bb1
6,187
cpp
C++
test/screen-point-to-ray.cpp
mortennobel/SimpleRenderEngine
fb00a04cb38e2227adf4bdb17e1b38ec160632c2
[ "MIT" ]
313
2017-01-13T10:54:58.000Z
2022-03-18T03:08:53.000Z
test/screen-point-to-ray.cpp
AntonyChan818/SimpleRenderEngine
7e52507ecf6e93c1ddce7f9c2175acb159f49492
[ "MIT" ]
13
2016-09-29T12:50:23.000Z
2019-04-21T05:17:33.000Z
test/screen-point-to-ray.cpp
AntonyChan818/SimpleRenderEngine
7e52507ecf6e93c1ddce7f9c2175acb159f49492
[ "MIT" ]
61
2016-08-31T07:34:42.000Z
2022-03-16T23:02:11.000Z
#include <iostream> #include "sre/Texture.hpp" #include "sre/Renderer.hpp" #include "sre/Material.hpp" #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/euler_angles.hpp> #include <glm/gtx/transform.hpp> #include <glm/gtc/matrix_transform.hpp> #include <sre/SDLRenderer.hpp> #include <sre/impl/GL.hpp> #include <glm/gt...
31.406091
121
0.541135
[ "mesh", "render", "vector", "transform" ]
bd74dd808b63a5ba756952a4952cd8de37c9106f
2,746
cpp
C++
src/gemini_main.cpp
gemini3d/GEMINI
4655db755101a127bf1bfeddefd6c021f39b1bdb
[ "Apache-2.0" ]
9
2019-06-17T20:51:31.000Z
2020-03-12T17:46:00.000Z
src/gemini_main.cpp
gemini3d/gemini
4655db755101a127bf1bfeddefd6c021f39b1bdb
[ "Apache-2.0" ]
11
2020-04-08T22:24:40.000Z
2020-07-15T14:06:41.000Z
src/gemini_main.cpp
mattzett/GEMINI
4655db755101a127bf1bfeddefd6c021f39b1bdb
[ "Apache-2.0" ]
3
2018-10-10T16:01:08.000Z
2018-12-17T16:08:50.000Z
// MAIN PROGRAM FOR GEMINI3D #include <iostream> #include <filesystem> #include <vector> #include <sstream> #include <mpi.h> #include "gemini3d.h" #include "iniparser.h" #include "filesystem.h" namespace fs = std::filesystem; int main(int argc, char **argv) { struct params s; int myid; int ierr = MPI_Init(&...
24.517857
101
0.602331
[ "vector" ]
bd7820242c764466283b8ba849677ac5d8a60955
2,004
cpp
C++
Junior_Core/Src/Source/DefaultMeshLink.cpp
DeltaGoldenFlag/JuniorEngine
9581f863d5bd412a4ab48b7ea893151798829856
[ "BSD-3-Clause" ]
1
2019-06-13T00:14:02.000Z
2019-06-13T00:14:02.000Z
Junior_Core/Src/Source/DefaultMeshLink.cpp
DeltaGoldenFlag/JuniorEngine
9581f863d5bd412a4ab48b7ea893151798829856
[ "BSD-3-Clause" ]
null
null
null
Junior_Core/Src/Source/DefaultMeshLink.cpp
DeltaGoldenFlag/JuniorEngine
9581f863d5bd412a4ab48b7ea893151798829856
[ "BSD-3-Clause" ]
null
null
null
/* * Author: David Wong * Email: david.wongcascante@digipen.edu * File name: DefaultMeshLink.cpp * Description: Links this game object to the DefaultMesh to render it on screen * Created: 4 May 2018 * Last Modified: 4 May 2019 */ // Includes #include "DefaultMeshLink.h" #include "DefaultMesh.h" // Default Mesh #inclu...
28.628571
112
0.742515
[ "mesh", "render", "object", "transform" ]
bd817603febf08599f3acf11130bfa3f3007eec5
2,798
cpp
C++
Medium/752 - Open the Lock.cpp
WangZixuan/Leetcode
4593e8b48c4ce810567473a825735ffde3f7a0f0
[ "WTFPL" ]
11
2015-08-06T15:43:48.000Z
2022-02-16T01:30:24.000Z
Medium/752 - Open the Lock.cpp
WangZixuan/Leetcode
4593e8b48c4ce810567473a825735ffde3f7a0f0
[ "WTFPL" ]
1
2015-08-17T13:33:55.000Z
2015-08-27T03:43:47.000Z
Medium/752 - Open the Lock.cpp
WangZixuan/Leetcode
4593e8b48c4ce810567473a825735ffde3f7a0f0
[ "WTFPL" ]
2
2021-09-30T14:39:05.000Z
2021-10-02T11:02:20.000Z
/* Open the Lock You have a lock in front of you with 4 circular wheels. Each wheel has 10 slots: '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'. The wheels can rotate freely and wrap around: for example we can turn '9' to be '0', or '0' to be '9'. Each move consists of turning one wheel one slot. The lock init...
29.145833
173
0.639385
[ "vector" ]
bd837d2b4d4992951fadcf5edb3ba931adf8b705
7,630
hpp
C++
c++/include/objtools/data_loaders/genbank/cache/reader_cache.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/objtools/data_loaders/genbank/cache/reader_cache.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/objtools/data_loaders/genbank/cache/reader_cache.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef READER_CACHE__HPP_INCLUDED #define READER_CACHE__HPP_INCLUDED /* $Id: reader_cache.hpp 390318 2013-02-26 21:04:57Z vasilche $ * =========================================================================== * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Inform...
33.911111
79
0.637221
[ "vector" ]
bd89d6cf0efe082891138afd81d29e6a9c6da81e
26,646
cc
C++
src/Bambus/Output/Output_Utils.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-03-20T18:25:56.000Z
2020-06-02T22:00:08.000Z
src/Bambus/Output/Output_Utils.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
5
2015-05-14T17:51:20.000Z
2020-07-19T04:17:47.000Z
src/Bambus/Output/Output_Utils.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-05-17T16:01:23.000Z
2020-05-20T08:13:43.000Z
#include <iostream> #include "Output_Utils.hh" #include "Utilities_Bundler.hh" #include "universals_AMOS.hh" #include "Library_AMOS.hh" #include "Fragment_AMOS.hh" #include "Overlap_AMOS.hh" #include "Contig_AMOS.hh" #include "ContigLink_AMOS.hh" #include "ContigEdge_AMOS.hh" #include "Scaffold_AMOS.hh" #include "Mot...
39.949025
225
0.563049
[ "object", "shape", "vector", "solid" ]
bd96c29250242698af85b7302213577d67170ed3
6,848
hxx
C++
interface/sqlite_statement.hxx
ANSAKsoftware/ansak-lib
93eff12a50464f3071b27c8eb16336f93d0d04c6
[ "BSD-2-Clause" ]
null
null
null
interface/sqlite_statement.hxx
ANSAKsoftware/ansak-lib
93eff12a50464f3071b27c8eb16336f93d0d04c6
[ "BSD-2-Clause" ]
null
null
null
interface/sqlite_statement.hxx
ANSAKsoftware/ansak-lib
93eff12a50464f3071b27c8eb16336f93d0d04c6
[ "BSD-2-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014, Arthur N. Klassen // 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...
36.817204
93
0.544393
[ "vector" ]
bda79d7e14d25777e354a169e64ab15671818674
523
cpp
C++
5e/C++11/400_shared_ptr.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
5e/C++11/400_shared_ptr.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
5e/C++11/400_shared_ptr.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
1
2022-01-25T15:51:34.000Z
2022-01-25T15:51:34.000Z
#include <memory> #include <iostream> #include <list> #include <vector> using namespace std; int main(void) { shared_ptr<string> p1; shared_ptr<list<int>> p2; if(p1 && p1->empty()) *p1 = "hi"; shared_ptr<int> p3 = make_shared<int>(42); shared_ptr<string> p4 = make_shared<string>(10, '9'); ...
20.92
57
0.604207
[ "vector" ]
bdaa22f471698b243ca0789c3e6c44bb40d05250
23,214
cpp
C++
PuyoPuyo/PuyoPuyoGame.cpp
Yosbi/PuyoPuyo
d0a0e9717f7918f8ee174f4eb52ca45a1f19288f
[ "MIT" ]
null
null
null
PuyoPuyo/PuyoPuyoGame.cpp
Yosbi/PuyoPuyo
d0a0e9717f7918f8ee174f4eb52ca45a1f19288f
[ "MIT" ]
null
null
null
PuyoPuyo/PuyoPuyoGame.cpp
Yosbi/PuyoPuyo
d0a0e9717f7918f8ee174f4eb52ca45a1f19288f
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------- // file: PuyoPuyoGame.cpp // Author: Yosbi Alves // mail: yosbi@outlook.com // phone: +584248157737 //----------------------------------------------------------------------- //Desc: This is the class for the game, it acts as a world...
34.803598
146
0.611484
[ "vector", "transform" ]
bdb54c2b8913cea5668a7b3a74b2d14f4df8612f
3,064
cc
C++
brave/common/extensions/crypto_bindings.cc
kewde/muon
43661f9a8ceefda8e3aba0e8944a72995aa53281
[ "MIT" ]
1,027
2016-12-24T13:05:29.000Z
2022-02-21T11:07:32.000Z
brave/common/extensions/crypto_bindings.cc
imagineagents/muon
666af3b6e29afb928a2f50061fb5c5afad78a9c1
[ "MIT" ]
366
2016-12-24T05:58:54.000Z
2018-12-31T23:02:03.000Z
brave/common/extensions/crypto_bindings.cc
imagineagents/muon
666af3b6e29afb928a2f50061fb5c5afad78a9c1
[ "MIT" ]
122
2017-01-14T23:48:49.000Z
2022-03-09T01:51:53.000Z
// Copyright (c) 2017 The Brave 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 "brave/common/extensions/crypto_bindings.h" #include <memory> #include <string> #include "base/base64.h" #include "components/os_crypt/os_cryp...
31.587629
74
0.700392
[ "object" ]
bdb890052f90b08915aff6d1a554a55e0b4854bc
8,188
cpp
C++
src/axom/sidre/examples/sidre_mfem_datacollection_restart.cpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
86
2019-04-12T20:39:37.000Z
2022-01-28T17:06:08.000Z
src/axom/sidre/examples/sidre_mfem_datacollection_restart.cpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
597
2019-04-25T22:36:16.000Z
2022-03-31T20:21:54.000Z
src/axom/sidre/examples/sidre_mfem_datacollection_restart.cpp
bmhan12/axom
fbee125aec6357340f35b6fd5d0d4a62a3c80733
[ "BSD-3-Clause" ]
21
2019-06-27T15:53:08.000Z
2021-09-30T20:17:41.000Z
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level LICENSE file for details. // // SPDX-License-Identifier: (BSD-3-Clause) /** * @file sidre_mfem_datacollection_restart.cpp * @brief This example code is a basic demonstration of Sidre's * MFE...
31.6139
99
0.680142
[ "mesh", "object", "vector" ]
bdb8dc550d8c67db0235feaf7d4c58c5db150aa6
3,915
cc
C++
vos/p2/sub/data_transfer/DataSourceSocket.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
16
2020-10-21T05:56:26.000Z
2022-03-31T10:02:01.000Z
vos/p2/sub/data_transfer/DataSourceSocket.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
null
null
null
vos/p2/sub/data_transfer/DataSourceSocket.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
2
2021-03-09T01:51:08.000Z
2021-03-23T00:23:24.000Z
// Copyright (c) 1999, California Institute of Technology // U. S. Government sponsorship under NASA contract is acknowledged ////////////////////////////////////////////////////////////////////////////// // // DataSourceSocket.cc // // ////////////////////////////////////////////////////////////////////////////// ...
26.815068
78
0.579566
[ "object" ]
bdbd8b9d9190ca156db65445dfdc52441108297d
14,511
cpp
C++
sp/src/game/server/hl1/hl1_npc_talker.cpp
AgentAgrimar/source-sdk-trilogy
39929158e07468610563a3566d8c4ef5efdd9643
[ "Unlicense" ]
9
2017-10-03T18:56:06.000Z
2022-02-13T18:16:58.000Z
sp/src/game/server/hl1/hl1_npc_talker.cpp
AgentAgrimar/source-sdk-trilogy
39929158e07468610563a3566d8c4ef5efdd9643
[ "Unlicense" ]
3
2016-06-21T17:40:13.000Z
2016-11-08T08:20:50.000Z
sp/src/game/server/hl1/hl1_npc_talker.cpp
AgentAgrimar/source-sdk-trilogy
39929158e07468610563a3566d8c4ef5efdd9643
[ "Unlicense" ]
6
2016-09-24T15:24:43.000Z
2019-03-31T08:20:21.000Z
//========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// #include "cbase.h" #include "hl1_npc_talker.h" #include "scripted.h" #include "soundent.h" #include "animati...
23.518639
160
0.631865
[ "vector" ]
bdbdffeb82e31052ccb549b3716ac53eb561dab1
3,149
cpp
C++
test/basicserver/TestCommands.cpp
resosafe/boxbackup
c56291558de634f3fe6675aeb381ba99f68b78cb
[ "BSD-3-Clause" ]
133
2015-02-22T23:56:53.000Z
2022-03-13T19:24:21.000Z
test/basicserver/TestCommands.cpp
resosafe/boxbackup
c56291558de634f3fe6675aeb381ba99f68b78cb
[ "BSD-3-Clause" ]
93
2015-08-31T15:35:07.000Z
2021-04-27T21:41:13.000Z
test/basicserver/TestCommands.cpp
resosafe/boxbackup
c56291558de634f3fe6675aeb381ba99f68b78cb
[ "BSD-3-Clause" ]
19
2015-08-31T14:13:34.000Z
2021-12-12T15:20:17.000Z
#include "Box.h" #ifdef HAVE_SYSLOG_H #include <syslog.h> #endif #include "autogen_TestProtocol.h" #include "CollectInBufferStream.h" #include "MemLeakFindOn.h" std::auto_ptr<TestProtocolMessage> TestProtocolReplyable::HandleException(BoxException& e) const { throw; } std::auto_ptr<TestProtocolMessage> TestProt...
28.889908
130
0.770403
[ "object" ]
bdbebc021db0e1ce6236374b2a47a6cf130c5174
1,026
hpp
C++
include/xnn/layers/noise/dropout.hpp
ktnyt/xdfa
962ef8f99150556272ff87c7b37494fd87f5fe79
[ "MIT" ]
null
null
null
include/xnn/layers/noise/dropout.hpp
ktnyt/xdfa
962ef8f99150556272ff87c7b37494fd87f5fe79
[ "MIT" ]
null
null
null
include/xnn/layers/noise/dropout.hpp
ktnyt/xdfa
962ef8f99150556272ff87c7b37494fd87f5fe79
[ "MIT" ]
null
null
null
#ifndef __XNN_LAYERS_NOISE_DROPOUT_HPP__ #define __XNN_LAYERS_NOISE_DROPOUT_HPP__ #include "xnn/functions/noise/dropout.hpp" #include "xnn/layer.hpp" #include "xtensor/xarray.hpp" #include "xtensor/xrandom.hpp" namespace xnn { namespace layers { namespace noise { class Dropout final : public Layer<float> { class ...
23.318182
71
0.666667
[ "shape" ]
bdc463d2e174fc0f03b3279e970bd9f1d233e175
1,349
cpp
C++
codeforces/Edu#62/C/s.cpp
qilip/ACMStudy
c4d6f31b01358ead4959c92f1fac59a3826f3f77
[ "CC-BY-3.0" ]
4
2020-02-02T08:34:46.000Z
2021-10-01T11:21:17.000Z
codeforces/Edu#62/C/s.cpp
qilip/ACMStudy
c4d6f31b01358ead4959c92f1fac59a3826f3f77
[ "CC-BY-3.0" ]
1
2021-09-04T14:03:50.000Z
2021-09-04T14:03:50.000Z
codeforces/Edu#62/C/s.cpp
qilip/ACMStudy
c4d6f31b01358ead4959c92f1fac59a3826f3f77
[ "CC-BY-3.0" ]
null
null
null
// #include <bits/stdc++.h> /* codeforces printf %Lf problem #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> */ #include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <climits> #include <iostream> #include <iomanip> #include <algorithm> #include <string> #includ...
19.838235
56
0.554485
[ "vector" ]
bdccb5ae99f66a9c9441bed8536e57be6d5dec62
1,496
hpp
C++
ThirdParty-mod/java2cpp/java/util/EventListener.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/java/util/EventListener.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/java/util/EventListener.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.util.EventListener ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLEMEN...
21.371429
83
0.657754
[ "object" ]
bdd16bbc82a312b8bd5f6b5f66257d808e2b14d2
1,787
cpp
C++
program/testcluster.cpp
andrewprock/kmcluster
ca044e9e805a855415eca4c1e3ee3c80241de6bb
[ "BSD-3-Clause" ]
1
2019-09-05T09:22:30.000Z
2019-09-05T09:22:30.000Z
program/testcluster.cpp
andrewprock/kmcluster
ca044e9e805a855415eca4c1e3ee3c80241de6bb
[ "BSD-3-Clause" ]
null
null
null
program/testcluster.cpp
andrewprock/kmcluster
ca044e9e805a855415eca4c1e3ee3c80241de6bb
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string> #include <fstream> #include <vector> #include <boost/algorithm/string.hpp> #include <boost/lexical_cast.hpp> #include <kmcluster/KMeansCluster.h> // compile: g++ testcluster.cpp ../random/rand_isaac.cpp -I../.. -o cluster using namespace std; using namespace boost; int main (in...
22.910256
76
0.538892
[ "vector" ]
7525cad4783dc268cd4735009dfee555d02a9757
2,770
cc
C++
analyze/hash_table.cc
pcwerk/jurassic
514a4be5c3e99fe8776a7c3dba768cfdb8f0a893
[ "Apache-2.0" ]
1
2017-10-25T21:27:13.000Z
2017-10-25T21:27:13.000Z
analyze/hash_table.cc
pcwerk/jurassic
514a4be5c3e99fe8776a7c3dba768cfdb8f0a893
[ "Apache-2.0" ]
11
2016-04-27T15:49:01.000Z
2016-09-29T20:29:58.000Z
analyze/hash_table.cc
pcwerk/jurassic
514a4be5c3e99fe8776a7c3dba768cfdb8f0a893
[ "Apache-2.0" ]
null
null
null
// --*-c++-*-- #include <algorithm> #include <iostream> #include <string> #include <sstream> #include <fstream> #include "utility.h" #include "hash_table.h" HashTable::HashTable(const std::string &filename) { initOneColumn(filename); } void HashTable::initOneColumn(std::string const &filename) { std::ifstream ...
19.64539
69
0.633213
[ "transform" ]
752b909aa2ca1f866e59b975df1c51993372c5c1
4,457
cpp
C++
src/wordscheck.cpp
FFreestyler/EnglishWords
b8666404fa5e72e7cf447d33d1a8cd5d9c2115cd
[ "MIT" ]
7
2020-05-17T06:00:37.000Z
2020-05-30T02:58:46.000Z
src/wordscheck.cpp
FFreestyler/EnglishWords
b8666404fa5e72e7cf447d33d1a8cd5d9c2115cd
[ "MIT" ]
7
2020-05-15T08:02:34.000Z
2020-05-27T15:49:57.000Z
src/wordscheck.cpp
FFreestyler/EnglishWords
b8666404fa5e72e7cf447d33d1a8cd5d9c2115cd
[ "MIT" ]
null
null
null
#include "menu.hpp" #include <SFML/Graphics.hpp> #include <fstream> #include <vector> using namespace sf; using namespace std; void wordscheck(RenderWindow& window) { Texture menuTexture1, menuTexture2, menuTexture3; menuTexture1.loadFromFile("images/nextButtonSmall.png"); menuTexture2.loadFromFile("image...
29.322368
79
0.496298
[ "vector" ]
7538ed5687bc726446b8f3c195c08d5c43cbbf22
2,733
cpp
C++
Algorithms/modifying/unique.cpp
kant/Always-be-learning
7c3b3b4f5e8f0dfcb4d8f4b7f7428d5c8ab164c5
[ "Unlicense" ]
null
null
null
Algorithms/modifying/unique.cpp
kant/Always-be-learning
7c3b3b4f5e8f0dfcb4d8f4b7f7428d5c8ab164c5
[ "Unlicense" ]
null
null
null
Algorithms/modifying/unique.cpp
kant/Always-be-learning
7c3b3b4f5e8f0dfcb4d8f4b7f7428d5c8ab164c5
[ "Unlicense" ]
null
null
null
#include <iostream> #include <algorithm> #include <iterator> #include <array> #include <vector> #include "auxiliary.h" template< class ForwardIt > constexpr ForwardIt unique( ForwardIt first, ForwardIt last ); template< class ForwardIt, class BinaryPredicate > constexpr ForwardIt unique( ForwardIt first, ForwardIt l...
36.932432
99
0.658617
[ "vector" ]
753c98109ac341f9f0b37bdd732f448bd6ef74e4
1,012
cpp
C++
src/build.cpp
huntdog1541/Chirp
b7ed55f3911fd7fbff42524dfa1675cefae4d6d3
[ "MIT" ]
null
null
null
src/build.cpp
huntdog1541/Chirp
b7ed55f3911fd7fbff42524dfa1675cefae4d6d3
[ "MIT" ]
null
null
null
src/build.cpp
huntdog1541/Chirp
b7ed55f3911fd7fbff42524dfa1675cefae4d6d3
[ "MIT" ]
null
null
null
#include "build.h" #include "cli/log.h" #include "cli.h" #include "parser.h" #include "parser/lexer.h" #include "parser/syntax.h" #include "gen/gen_ir.h" #include "gen/gen_asm.h" #include "simple_tree_drawer.hpp" #include <iostream> std::string compile(std::string source) { cli::log(cli::log_level::debug, "Debug m...
22.488889
70
0.667984
[ "vector" ]
753d63730abe9c3947f1aa0fbab95e02fec96f1a
308
cpp
C++
Array/Array.cpp
paulburgess1357/Blind75
5201ffb938892a48243cdb8b6781a02e7face64c
[ "MIT" ]
null
null
null
Array/Array.cpp
paulburgess1357/Blind75
5201ffb938892a48243cdb8b6781a02e7face64c
[ "MIT" ]
null
null
null
Array/Array.cpp
paulburgess1357/Blind75
5201ffb938892a48243cdb8b6781a02e7face64c
[ "MIT" ]
null
null
null
#include <iostream> #include "1_TwoSum.h" int main(){ //std::vector<int> input{ 3, 2, 3 }; //std::cout << "Hello World!\n"; //TwoSum::Solution sol; //sol.twoSum2(input, 6); std::vector<int> atest; atest.resize(500); atest[499] = 100; std::cout << atest[499] << std::endl; }
20.533333
41
0.561688
[ "vector" ]
753fcbbb529b8d94ab511e07b39d956d19662391
29,178
cpp
C++
test/runtime/SimulatorCiphertextFactoryTest.cpp
moritzwinger/ABC
2d1f507dc7188b13767cce8050b8aa9daa7c1625
[ "MIT" ]
null
null
null
test/runtime/SimulatorCiphertextFactoryTest.cpp
moritzwinger/ABC
2d1f507dc7188b13767cce8050b8aa9daa7c1625
[ "MIT" ]
null
null
null
test/runtime/SimulatorCiphertextFactoryTest.cpp
moritzwinger/ABC
2d1f507dc7188b13767cce8050b8aa9daa7c1625
[ "MIT" ]
null
null
null
#include <algorithm> #include "gtest/gtest.h" #include "include/ast_opt/runtime/SimulatorCiphertext.h" #include "include/ast_opt/ast/ExpressionList.h" #include "include/ast_opt/runtime/SimulatorCiphertextFactory.h" #include "include/ast_opt/runtime/Cleartext.h" #include "ast_opt/utilities/PlaintextNorm.h" #ifdef HAV...
40.637883
134
0.710261
[ "vector", "3d" ]
754878b1ef4192a5a401f55179aca0fd45fc4a2f
30,399
hpp
C++
src/libraries/core/fields/fvPatchFields/basic/generic/genericFvPatchField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/fields/fvPatchFields/basic/generic/genericFvPatchField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/fields/fvPatchFields/basic/generic/genericFvPatchField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2015 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
31.501554
80
0.429159
[ "object", "vector" ]
75558795e8c245ce722d8ba34f02d7098d1374bb
16,526
cpp
C++
src/main.cpp
ozzyjrs/linux
980cbb0fb55cb0c5b81a233f837c41aad47721f8
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/main.cpp
ozzyjrs/linux
980cbb0fb55cb0c5b81a233f837c41aad47721f8
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/main.cpp
ozzyjrs/linux
980cbb0fb55cb0c5b81a233f837c41aad47721f8
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include <iostream> #include <dlfcn.h> #include <stdarg.h> #include <cstring> #include <memory> #include <string> #include <vector> #include <sstream> #include <dirent.h> #include <subhook.h> #include "gles_symbols.h" #include "android_symbols.h" #include "egl_symbols.h" #include "fmod_symbols.h" #include "../mcpe/gl.h...
35.848156
192
0.626225
[ "vector" ]
755ff6ab6dc4e24b58a7646afbcb6017cd3ebb5d
6,540
cpp
C++
Libraries/Physics/PositionCorrectionFragments.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Libraries/Physics/PositionCorrectionFragments.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Physics/PositionCorrectionFragments.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #include "Precompiled.hpp" namespace Zero { namespace Physics { bool ShouldSolvePosition(Contact* contact) { return true; } bool ShouldSolvePosition(Joint* joint) { PhysicsSolverConfig* config = joint->mSolver->mSolverConfig; JointConfigOverride* configOverride = joint->mNode...
40.122699
113
0.729358
[ "transform" ]
756571f8e216f9b7b1609c627fe115053587ca7c
11,880
cpp
C++
src/Grid.cpp
bilalmajeed/YA2048
44209be90e59e6e21d98472c6610c9d55b11c15a
[ "MIT" ]
null
null
null
src/Grid.cpp
bilalmajeed/YA2048
44209be90e59e6e21d98472c6610c9d55b11c15a
[ "MIT" ]
null
null
null
src/Grid.cpp
bilalmajeed/YA2048
44209be90e59e6e21d98472c6610c9d55b11c15a
[ "MIT" ]
null
null
null
#include "Grid.hpp" #include "Util.hpp" #include <cmath> Grid::Grid(const sf::Vector2f& position, const sf::Vector2f& size) : NUM_CELLS(4) , CELL_WIDTH(size.x / NUM_CELLS) , CELL_HEIGHT(size.y / NUM_CELLS) , CELL_PADDING(5.f) , m_Size(size) , m_Background({ size.x + CELL_PADDING * NUM_CELLS, size.y + CELL_PADDI...
23.157895
119
0.64798
[ "shape", "vector", "transform" ]
75755f50baa20a74a6ef9fbcae9d07fc7bd8971d
2,760
cc
C++
src/physics/HeightmapShape.cc
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
5
2016-01-17T20:41:39.000Z
2018-05-01T12:02:58.000Z
src/physics/HeightmapShape.cc
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/physics/HeightmapShape.cc
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
5
2015-09-29T02:30:16.000Z
2022-03-30T12:11:22.000Z
/* * Copyright 2011 Nate Koenig & Andrew Howard * * 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...
26.538462
75
0.579348
[ "geometry", "shape" ]
7584ceb8ae52787499a66a393c4aaf705db6cafb
636
cpp
C++
Challenge-2020-06/random_pick_with_weight.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2020-06/random_pick_with_weight.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2020-06/random_pick_with_weight.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
#include "header.h" class Solution { vector<int> sum; public: Solution(vector<int>& w) { sum = w; for (int i = 1; i < w.size(); i++) { sum[i] = sum[i-1] + w[i]; } } int pickIndex() { int pos = rand() % sum.back(); int start = 0, end = sum...
20.516129
44
0.363208
[ "vector" ]
758eff819468e6be42f4df15979d928a5be78239
2,476
hpp
C++
brfv4_mac_examples/brfv4/examples/face_tracking/track_multiple_faces.hpp
Tastenkunst/brfv4_mac_examples
21a0aa182df6285386be308e6880468a3c239c24
[ "BSD-3-Clause" ]
23
2017-06-30T17:08:15.000Z
2022-02-21T19:02:39.000Z
brfv4_mac_examples/brfv4/examples/face_tracking/track_multiple_faces.hpp
Tastenkunst/brfv4_mac_examples
21a0aa182df6285386be308e6880468a3c239c24
[ "BSD-3-Clause" ]
1
2019-02-20T04:04:20.000Z
2019-02-20T04:04:20.000Z
brfv4_mac_examples/brfv4/examples/face_tracking/track_multiple_faces.hpp
Tastenkunst/brfv4_mac_examples
21a0aa182df6285386be308e6880468a3c239c24
[ "BSD-3-Clause" ]
4
2018-03-27T04:48:02.000Z
2019-06-12T11:35:05.000Z
#ifndef __brf__cpp__BRFCppExample_hpp #define __brf__cpp__BRFCppExample_hpp namespace brf { class BRFCppExample: public BRFBasicCppExample { public: int numFacesToTrack; public: BRFCppExample() : BRFBasicCppExample(), numFacesToTrack(2) { } public: void initCurrentExample(brf::BRFManager& brfManager, brf::Rectan...
29.47619
105
0.726575
[ "vector" ]
75967bed2f0b7a91d478663cf9bde3188f8af1cc
1,326
cc
C++
example/main.cc
horance-liu/smart_ocr
dc483b994fff8e5ceabcf2140d9704bd22f3f3bc
[ "Apache-2.0" ]
null
null
null
example/main.cc
horance-liu/smart_ocr
dc483b994fff8e5ceabcf2140d9704bd22f3f3bc
[ "Apache-2.0" ]
null
null
null
example/main.cc
horance-liu/smart_ocr
dc483b994fff8e5ceabcf2140d9704bd22f3f3bc
[ "Apache-2.0" ]
1
2021-05-21T01:21:26.000Z
2021-05-21T01:21:26.000Z
/* * Copyright (c) 2021, Horance Liu and the respective contributors * All rights reserved. * * Use of this source code is governed by a Apache 2.0 license that can be found * in the LICENSE file. */ #include "smart_ocr/sequence.h" #include <fstream> #include <iterator> #include <algorithm> #include <vec...
20.71875
82
0.604827
[ "vector" ]
759b21a2027673e98dd7d6df3c5786409b6a2c46
27,591
cpp
C++
dp/rix/fx/src/ManagerUniform.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
217
2015-01-06T09:26:53.000Z
2022-03-23T14:03:18.000Z
dp/rix/fx/src/ManagerUniform.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
10
2015-01-25T12:42:05.000Z
2017-11-28T16:10:16.000Z
dp/rix/fx/src/ManagerUniform.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
44
2015-01-13T01:19:41.000Z
2022-02-21T21:35:08.000Z
// Copyright (c) 2012-2016, NVIDIA CORPORATION. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of con...
44.216346
202
0.584285
[ "geometry", "vector" ]
759e2d5a4120bc6803ef2a181ba1fc39f287da91
15,575
cpp
C++
argus/samples/userAutoWhiteBalance/main.cpp
gwli/JetPack_tegra_multimedia_api_sample
554e27757a707515f8505006bac2ef7f37c42e44
[ "Unlicense" ]
2
2020-01-09T21:20:13.000Z
2020-05-26T11:22:02.000Z
argus/samples/userAutoWhiteBalance/main.cpp
gwli/JetPack_tegra_multimedia_api_sample
554e27757a707515f8505006bac2ef7f37c42e44
[ "Unlicense" ]
null
null
null
argus/samples/userAutoWhiteBalance/main.cpp
gwli/JetPack_tegra_multimedia_api_sample
554e27757a707515f8505006bac2ef7f37c42e44
[ "Unlicense" ]
1
2020-05-20T02:33:52.000Z
2020-05-20T02:33:52.000Z
/* * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list ...
41.756032
108
0.655474
[ "object", "vector" ]
759ef845123846a0dea889d64495d3433e6e3483
3,128
cc
C++
references/aoapc-book/TrainingGuide/exercises/ch4/03-GeometricAlgorithms2D/UVa10084.cc
voleking/ICPC
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
[ "MIT" ]
68
2017-10-08T04:44:23.000Z
2019-08-06T20:15:02.000Z
TG/exercises/ch4/03-GeometricAlgorithms2D/UVa10084.cc
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
TG/exercises/ch4/03-GeometricAlgorithms2D/UVa10084.cc
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
18
2017-05-31T02:52:23.000Z
2019-07-05T09:18:34.000Z
// UVa10084 Hotter Colder // 陈锋 #include<cmath> #include<algorithm> #include<cstring> #include<cstdio> #include<vector> using namespace std; const double eps = 1e-8; int dcmp(double x) { if(fabs(x) < eps) return 0; else return x < 0 ? -1 : 1; } struct Point { double x, y; Point(double x = 0, dou...
29.233645
104
0.527174
[ "vector" ]
b5a504094a6ee91f5471db90947d30c6ac0d61d6
2,336
cpp
C++
old_ml/Common/data.cpp
uwroute/study
8c3fad3db9bc5b30006b98688d03db5788372f9d
[ "Apache-2.0" ]
null
null
null
old_ml/Common/data.cpp
uwroute/study
8c3fad3db9bc5b30006b98688d03db5788372f9d
[ "Apache-2.0" ]
null
null
null
old_ml/Common/data.cpp
uwroute/study
8c3fad3db9bc5b30006b98688d03db5788372f9d
[ "Apache-2.0" ]
null
null
null
/*============================================================================= # # Author: route - uwnroute@126.com # # Last modified: Fri 03 Apr 2015 12:05:16 PM CST [10.146.36.174] # # Filename: data.cpp # # Description: # =============================================================================*/ #include <fs...
22.901961
79
0.588613
[ "vector" ]
b5a56ab7bcc1d6b4b569d888a97a632a30533915
1,583
cpp
C++
src/towerdefense/levels/LevelTowerAreaRect.cpp
jkorn2324/Tower-Defense
f1b6c07c7937594f67024595623e39fefdc529e5
[ "MIT" ]
null
null
null
src/towerdefense/levels/LevelTowerAreaRect.cpp
jkorn2324/Tower-Defense
f1b6c07c7937594f67024595623e39fefdc529e5
[ "MIT" ]
null
null
null
src/towerdefense/levels/LevelTowerAreaRect.cpp
jkorn2324/Tower-Defense
f1b6c07c7937594f67024595623e39fefdc529e5
[ "MIT" ]
null
null
null
#include "LevelTowerAreaRect.h" #include "Level.h" namespace TowerDefense { LevelTowerAreaRect::LevelTowerAreaRect(const Vector2& size, const Vector2& pos) { this->size = size; this->pos = pos; } bool LevelTowerAreaRect::IsWithinBounds(const Vector2 &point) const { Vector...
23.279412
86
0.573594
[ "vector" ]
b5b739370de36618d05345ed77c8fca0072ef55d
4,318
cpp
C++
matrix/unit-test/test-EM_vector_vector.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
140
2015-01-02T21:28:55.000Z
2015-12-22T01:25:03.000Z
matrix/unit-test/test-EM_vector_vector.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
160
2016-11-07T18:37:33.000Z
2020-03-10T22:57:07.000Z
matrix/unit-test/test-EM_vector_vector.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
25
2016-11-14T04:31:29.000Z
2020-07-28T04:58:44.000Z
#include "vector_vector.h" #include "data_frame.h" #include "EM_vv_store.h" #include "local_vv_store.h" #include "local_vec_store.h" #include "factor.h" #include "sparse_matrix.h" using namespace fm; class adj_apply: public gr_apply_operate<local_vec_store> { public: virtual void run(const void *key, const local_vec...
28.596026
81
0.703103
[ "vector" ]
b5b8e16b339de0f749b829a482bc115c99f98724
5,222
cpp
C++
test.cpp
supelec-lstm/PinaPL_lstm
96462ed2f8f880ccfc33424eb6a273522b90b049
[ "MIT" ]
null
null
null
test.cpp
supelec-lstm/PinaPL_lstm
96462ed2f8f880ccfc33424eb6a273522b90b049
[ "MIT" ]
null
null
null
test.cpp
supelec-lstm/PinaPL_lstm
96462ed2f8f880ccfc33424eb6a273522b90b049
[ "MIT" ]
null
null
null
// Copyright PinaPL // // test.cpp // PinaPL // #include <Eigen/Dense> #include <vector> #include <fstream> #include <string> #include "weights.hpp" #include "cell.hpp" #include "test.hpp" #include "iostream" void single_cell_test() { int input_size = 4; int output_size = 4; std::cout << "sequence_size ...
28.227027
80
0.511298
[ "vector" ]
b5bebb8a15babcddf1b6982030b6d6cad140c415
16,035
cpp
C++
src/HSADebugAgent/AgentProcessPacket.cpp
HSAFoundation/HSA-Debugger-Source-AMD
47d41b74bfb51f1bec02763feb7ab752ce80272a
[ "MIT" ]
2
2017-05-22T17:22:22.000Z
2019-05-16T01:45:06.000Z
src/HSADebugAgent/AgentProcessPacket.cpp
HSAFoundation/HSA-Debugger-Source-AMD
47d41b74bfb51f1bec02763feb7ab752ce80272a
[ "MIT" ]
2
2016-01-28T15:22:07.000Z
2016-01-28T15:43:42.000Z
src/HSADebugAgent/AgentProcessPacket.cpp
HSAFoundation/HSA-Debugger-Source-AMD
47d41b74bfb51f1bec02763feb7ab752ce80272a
[ "MIT" ]
2
2016-02-07T18:46:52.000Z
2020-05-03T22:18:06.000Z
//============================================================================== // Copyright (c) 2015 Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools /// \file /// \brief Agent processing, functions to consume FIFO packets and configure expression evaluation //=====================...
31.752475
231
0.615217
[ "vector" ]
b5bfbdefdb707d5d722cca665498a7dcd0b6dcb6
4,978
cc
C++
src/sequence_diagram/visitor/translation_unit_visitor.cc
dgoffredo/clang-uml
3b0a454e4e85aee06168439660f0fd71dc4b7a75
[ "Apache-2.0" ]
10
2021-11-16T01:08:05.000Z
2022-03-15T23:51:11.000Z
src/sequence_diagram/visitor/translation_unit_visitor.cc
dgoffredo/clang-uml
3b0a454e4e85aee06168439660f0fd71dc4b7a75
[ "Apache-2.0" ]
8
2021-11-16T21:29:41.000Z
2022-03-21T21:22:00.000Z
src/sequence_diagram/visitor/translation_unit_visitor.cc
dgoffredo/clang-uml
3b0a454e4e85aee06168439660f0fd71dc4b7a75
[ "Apache-2.0" ]
2
2021-12-04T20:20:06.000Z
2022-02-08T06:33:27.000Z
/** * src/sequence_diagram/visitor/translation_unit_visitor.cc * * Copyright (c) 2021 Bartek Kryza <bkryza@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://w...
33.409396
80
0.632583
[ "model" ]
b5c0a8ddcccbd1c74da0f95d400b959e4e9ae4a3
1,029
cpp
C++
qtor-core/src/FormattedDelegate.cpp
dmlys/qtor
dae69de53d23518f823d534339f7a4c696d9b3b4
[ "BSL-1.0" ]
null
null
null
qtor-core/src/FormattedDelegate.cpp
dmlys/qtor
dae69de53d23518f823d534339f7a4c696d9b3b4
[ "BSL-1.0" ]
null
null
null
qtor-core/src/FormattedDelegate.cpp
dmlys/qtor
dae69de53d23518f823d534339f7a4c696d9b3b4
[ "BSL-1.0" ]
null
null
null
#include <qtor/FormattedDelegate.hqt> #include <ext/utility.hpp> namespace qtor { void FormattedDelegate::InitStyle(QStyleOptionViewItem & option, const QModelIndex & index) const { m_model = dynamic_cast<const AbstractItemModel *>(index.model()); //QVariant fmtvar = m_model->property("formatter"); //QVariant...
27.810811
98
0.725948
[ "model" ]
b5cc51f5b517eb5f9dd3fefda56c7c560270659c
513
hpp
C++
src/Graphics/shaderpreprocessor.hpp
egomeh/floaty-boaty-go-go
a011db6f1f8712bf3caa85becc1fd83ac5bf1996
[ "MIT" ]
2
2018-01-12T10:26:07.000Z
2018-02-02T19:03:00.000Z
src/Graphics/shaderpreprocessor.hpp
egomeh/floaty-boaty-go-go
a011db6f1f8712bf3caa85becc1fd83ac5bf1996
[ "MIT" ]
null
null
null
src/Graphics/shaderpreprocessor.hpp
egomeh/floaty-boaty-go-go
a011db6f1f8712bf3caa85becc1fd83ac5bf1996
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <functional> #include "shader.hpp" class ShaderPreprocessor { public: static std::string InterleaveLineDirectives(std::string shaderSource, std::string name); static std::string DoPreprocess(const std::string &shaderSource, const std::map<std::size_t...
28.5
162
0.74269
[ "vector" ]
b5cf196b02ceac914af4548b0c5793a6c6cae71a
7,010
cpp
C++
src/ofApp.cpp
fonicartist/meshViewer
8d596decf240c5852a8814f0d4164710f518e112
[ "MIT" ]
1
2020-03-29T02:52:53.000Z
2020-03-29T02:52:53.000Z
src/ofApp.cpp
fonicartist/meshViewer
8d596decf240c5852a8814f0d4164710f518e112
[ "MIT" ]
null
null
null
src/ofApp.cpp
fonicartist/meshViewer
8d596decf240c5852a8814f0d4164710f518e112
[ "MIT" ]
null
null
null
// CS 116A Project 1 - Meshes // // by Victor La #include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ // Setup cameras cam.setDistance(10); cam.setPosition(glm::vec3(0, 0, 20)); cam.setNearClip(.1); cam.setFov(65.5); // approx equivalent to 28mm in 35mm form...
24.089347
88
0.557204
[ "mesh", "geometry", "object", "model", "3d" ]
b5d55bb8c05d311d412028a20fb579249ace8599
1,005
cpp
C++
cpp-leetcode/leetcode401-binary-watch_bit_operation.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
45
2021-07-25T00:45:43.000Z
2022-03-24T05:10:43.000Z
cpp-leetcode/leetcode401-binary-watch_bit_operation.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
null
null
null
cpp-leetcode/leetcode401-binary-watch_bit_operation.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
15
2021-07-25T00:40:52.000Z
2021-12-27T06:25:31.000Z
#include<algorithm> #include<string> #include<vector> #include <iostream> using namespace std; class Solution { public: vector<string> readBinaryWatch(int turnedOn) { // h: 小时, m: 分钟. 00:00 -> 11:59 vector<string> res = {}; for (int h = 0; h < 12; h++) { for (int m = 0; ...
20.9375
77
0.41592
[ "vector" ]
b5d8ec898c8a4f1a9060908b22a72a36111001bf
8,061
cpp
C++
generalizedassignmentsolver/instance.cpp
fontanf/GAP
4fea39fbd34548a9820dd5c426580920d8d4b873
[ "MIT" ]
1
2019-07-22T16:29:12.000Z
2019-07-22T16:29:12.000Z
generalizedassignmentsolver/instance.cpp
fontanf/gap
4fea39fbd34548a9820dd5c426580920d8d4b873
[ "MIT" ]
null
null
null
generalizedassignmentsolver/instance.cpp
fontanf/gap
4fea39fbd34548a9820dd5c426580920d8d4b873
[ "MIT" ]
null
null
null
#include "generalizedassignmentsolver/instance.hpp" #include "generalizedassignmentsolver/solution.hpp" using namespace generalizedassignmentsolver; Instance::Instance(AgentIdx m): capacities_(m, 0) { } void Instance::set_capacities(const std::vector<Weight>& t) { for (AgentIdx i = 0; i < (AgentIdx)t.size()...
29.636029
103
0.575983
[ "vector" ]
b5e1a50580502934e46bb2765e4d94e47d768e35
1,093
hpp
C++
include/LTRE/core/primitive.hpp
yumcyaWiz/LTRE
dd65125bb133c345a10a3cf3d4c2a330b38ee82b
[ "MIT" ]
3
2021-08-15T08:59:21.000Z
2021-11-27T08:23:37.000Z
include/LTRE/core/primitive.hpp
yumcyaWiz/LTRE
dd65125bb133c345a10a3cf3d4c2a330b38ee82b
[ "MIT" ]
null
null
null
include/LTRE/core/primitive.hpp
yumcyaWiz/LTRE
dd65125bb133c345a10a3cf3d4c2a330b38ee82b
[ "MIT" ]
1
2021-12-09T15:43:57.000Z
2021-12-09T15:43:57.000Z
#ifndef _LTRE_PRIMITIVE_H #define _LTRE_PRIMITIVE_H #include <memory> #include "LTRE/core/material.hpp" #include "LTRE/light/area-light.hpp" #include "LTRE/shape/shape.hpp" namespace LTRE { class Primitive { private: std::shared_ptr<Shape> shape; std::shared_ptr<Material> material; std::shared_ptr<AreaLight> ...
25.418605
76
0.699909
[ "shape" ]
b5ea7cf4739ddc22fa86c60efe587379a2f7ca52
1,392
cpp
C++
chapter_13/pp230.cpp
hbatagelo/a_tour_of_cpp
11b177ff9ae25df8945c2a7b01a1abfa6e8f3f92
[ "Unlicense" ]
null
null
null
chapter_13/pp230.cpp
hbatagelo/a_tour_of_cpp
11b177ff9ae25df8945c2a7b01a1abfa6e8f3f92
[ "Unlicense" ]
null
null
null
chapter_13/pp230.cpp
hbatagelo/a_tour_of_cpp
11b177ff9ae25df8945c2a7b01a1abfa6e8f3f92
[ "Unlicense" ]
null
null
null
#include <algorithm> #include <iostream> #include <ostream> #include <string> #include <utility> #include <vector> struct Record { std::string name; int number{}; }; // Compare names auto less = [](const Record& r1, const Record& r2) { return r1.name < r2.name; }; std::ostream& operator<<(std::ostream& stream,...
24.857143
80
0.543822
[ "vector" ]
b5eb9c766fcf1bc60a76ba762de84c92b80211a2
5,169
cpp
C++
Src/ModelSpecificAnalysis/plotTXtoLe.cpp
AspdenGroup/PeleAnalysis_Aspden
4259efa97a65a646a4e1bc3493cd9dae1e7024c5
[ "BSD-3-Clause-LBNL" ]
4
2019-04-24T13:33:35.000Z
2021-08-24T07:11:22.000Z
Src/ModelSpecificAnalysis/plotTXtoLe.cpp
AspdenGroup/PeleAnalysis_Aspden
4259efa97a65a646a4e1bc3493cd9dae1e7024c5
[ "BSD-3-Clause-LBNL" ]
4
2020-02-25T01:58:46.000Z
2022-02-01T20:22:49.000Z
Src/ModelSpecificAnalysis/plotTXtoLe.cpp
AspdenGroup/PeleAnalysis_Aspden
4259efa97a65a646a4e1bc3493cd9dae1e7024c5
[ "BSD-3-Clause-LBNL" ]
6
2018-11-05T11:53:20.000Z
2021-03-22T10:44:54.000Z
#include <string> #include <iostream> #include <set> #include <AMReX_ParmParse.H> #include <AMReX_MultiFab.H> #include <AMReX_DataServices.H> #include <AMReX_BCRec.H> #include <AMReX_Interpolater.H> #include <WritePlotFile.H> #include <AMReX_BLFort.H> #include <mechanism.h> #include <chemistry_file.H> #include <util....
29.706897
71
0.568775
[ "vector" ]
b5edf5ed2247eab883d3ede3fc078054b25a29d8
827
hpp
C++
Includes/BabaIsAgent/Network/TrtNetwork.hpp
JYPark09/BabaIsAgent
69afdc14af3e7a131b31600dcf13858df7c30c5e
[ "MIT" ]
25
2019-08-04T13:54:48.000Z
2021-01-25T06:28:02.000Z
Includes/BabaIsAgent/Network/TrtNetwork.hpp
JYPark09/BabaIsAgent
69afdc14af3e7a131b31600dcf13858df7c30c5e
[ "MIT" ]
24
2019-08-05T04:58:28.000Z
2021-01-16T15:56:03.000Z
Includes/BabaIsAgent/Network/TrtNetwork.hpp
JYPark09/BabaIsAgent
69afdc14af3e7a131b31600dcf13858df7c30c5e
[ "MIT" ]
3
2019-08-05T16:57:45.000Z
2020-01-05T12:54:32.000Z
#ifndef BABA_IS_AGENT_TRT_NETWORK_HPP #define BABA_IS_AGENT_TRT_NETWORK_HPP #ifdef USE_TENSORRT #include <BabaIsAgent/Common/Config.hpp> #include <BabaIsAgent/Network/Network.hpp> #include <NvInfer.h> namespace BabaIsAgent::Network { class TrtNetwork final : public Network { public: TrtNetwork(int gpuId); ...
21.763158
71
0.738815
[ "vector" ]
b5f90d55b1b9bc6851fd42d8b099e8a04e218b11
2,596
hpp
C++
include/locic/Support/MakeString.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
80
2015-02-19T21:38:57.000Z
2016-05-25T06:53:12.000Z
include/locic/Support/MakeString.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
8
2015-02-20T09:47:20.000Z
2015-11-13T07:49:17.000Z
include/locic/Support/MakeString.hpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
6
2015-02-20T11:26:19.000Z
2016-04-13T14:30:39.000Z
#ifndef LOCIC_MAKESTRING_HPP #define LOCIC_MAKESTRING_HPP #include <map> #include <memory> #include <string> #include <vector> namespace locic{ std::string makeStringImpl(const char * format, ...); template <typename... Args> std::string makeString(const char * format, const Args&... args) { return makeString...
21.633333
92
0.615948
[ "vector" ]
bd0c537aea1497c89a523e6773ae0f524facf7e0
1,875
cpp
C++
util.cpp
dhruvsawhney/SystemMonitor
d2717102d790caf9d2da39218d9a3a84f69e0c32
[ "MIT" ]
null
null
null
util.cpp
dhruvsawhney/SystemMonitor
d2717102d790caf9d2da39218d9a3a84f69e0c32
[ "MIT" ]
null
null
null
util.cpp
dhruvsawhney/SystemMonitor
d2717102d790caf9d2da39218d9a3a84f69e0c32
[ "MIT" ]
null
null
null
#include "util.h" #include <sstream> #include <fstream> #include <iterator> string Util::convertToTime (long int input_seconds){ long minutes = input_seconds / 60; long hours = minutes / 60; long seconds = int(input_seconds%60); minutes = int(minutes%60); string result = std::to_string(hours) + ":" + std::to_string(mi...
22.590361
102
0.583467
[ "vector" ]
bd0cfc04edbc95088bff92bce7ba2c4cbc994550
12,453
cpp
C++
lib/stock.cpp
EpicVoyage/rsiscan
0ab639f70b71115e478a26e33fb7c7f9e231608f
[ "MIT" ]
null
null
null
lib/stock.cpp
EpicVoyage/rsiscan
0ab639f70b71115e478a26e33fb7c7f9e231608f
[ "MIT" ]
null
null
null
lib/stock.cpp
EpicVoyage/rsiscan
0ab639f70b71115e478a26e33fb7c7f9e231608f
[ "MIT" ]
1
2018-06-21T04:13:44.000Z
2018-06-21T04:13:44.000Z
#include <sys/stat.h> #include <stdlib.h> #include <stdio.h> #include <time.h> #include <algorithm> #include <chrono> #include <boost/log/trivial.hpp> #include <boost/date_time/gregorian/gregorian.hpp> #include "lib/comma_separated_values.h" #include "lib/stock.h" /** * Class setup. */ stockinfo::stockinfo(const s...
23.320225
125
0.647796
[ "object", "vector" ]
bd12119801fe88ec9159651f2ca5cd8720de096e
3,624
cpp
C++
affine_transformations/translation2d.cpp
jeffreyforkfolder/lecture-demos
0a0a2eecc45fe91520c0960a76d1d39841a6f0cb
[ "BSD-3-Clause" ]
null
null
null
affine_transformations/translation2d.cpp
jeffreyforkfolder/lecture-demos
0a0a2eecc45fe91520c0960a76d1d39841a6f0cb
[ "BSD-3-Clause" ]
1
2019-10-28T14:26:40.000Z
2019-10-28T14:26:40.000Z
affine_transformations/translation2d.cpp
jeffreyforkfolder/lecture-demos
0a0a2eecc45fe91520c0960a76d1d39841a6f0cb
[ "BSD-3-Clause" ]
null
null
null
//Illustration of 2-D translation // Andreas Unterweger, 2017-2018 //This code is licensed under the 3-Clause BSD License. See LICENSE file for details. #include <iostream> #include <opencv2/viz.hpp> #include "conf_viz.hpp" using namespace std; using namespace cv; using namespace viz; using namespace vizutils; s...
41.181818
192
0.709161
[ "object" ]
bd13a2bec59dc867e2e8ac3bb31cf659870f02c4
1,916
hpp
C++
include/geometry/geometry.hpp
mfdeakin/Geometry
4cb1768aa8dcdefe8ed6f21861af33909c8beed1
[ "Unlicense" ]
2
2015-12-01T22:44:42.000Z
2020-10-07T00:48:41.000Z
include/geometry/geometry.hpp
mfdeakin/Geometry
4cb1768aa8dcdefe8ed6f21861af33909c8beed1
[ "Unlicense" ]
null
null
null
include/geometry/geometry.hpp
mfdeakin/Geometry
4cb1768aa8dcdefe8ed6f21861af33909c8beed1
[ "Unlicense" ]
null
null
null
#ifndef _GEOMETRY_HPP_ #define _GEOMETRY_HPP_ #include "cudadef.h" namespace Geometry { enum PointLocation { PT_INSIDE = -1, PT_ON = 0, PT_OUTSIDE = 1 }; template <int, typename> class Origin; template <int, typename> class Vector; template <int, typename> class Solid; template <int, typename> class Point...
20.168421
55
0.691023
[ "geometry", "object", "vector", "solid" ]
bd197cc71e1bae09348e64ea78a550ca6ae69dcb
1,792
cpp
C++
src/output_file.cpp
nnorm/cpu_rtx
0c2ae259a114f5cddfba10547ced375527333ff3
[ "Unlicense" ]
null
null
null
src/output_file.cpp
nnorm/cpu_rtx
0c2ae259a114f5cddfba10547ced375527333ff3
[ "Unlicense" ]
null
null
null
src/output_file.cpp
nnorm/cpu_rtx
0c2ae259a114f5cddfba10547ced375527333ff3
[ "Unlicense" ]
null
null
null
#include <output_file.h> #include <assert.h> #include <fstream> #include <algorithm> void write_ppm_ascii(char const* path, std::vector<std::vector<glm::vec3>> const& data, int width, int height) { std::ofstream outputFile(path); assert("Could not open output file" && outputFile.is_open()); //write header outpu...
28.903226
113
0.594308
[ "vector" ]
bd26490d4cd1dc9c14e8787b8bea8f00de7772e7
10,204
cpp
C++
Src/Widget/QvtkBiopsyWidget.cpp
wuzhuobin/QvtkProject
30bfc798aca0e79043438aa16840464e6731e38c
[ "RSA-MD" ]
1
2018-09-10T12:14:43.000Z
2018-09-10T12:14:43.000Z
Src/Widget/QvtkBiopsyWidget.cpp
wuzhuobin/QvtkProject
30bfc798aca0e79043438aa16840464e6731e38c
[ "RSA-MD" ]
3
2018-05-22T11:00:59.000Z
2018-12-07T09:36:19.000Z
Src/Widget/QvtkBiopsyWidget.cpp
wuzhuobin/QvtkProject
30bfc798aca0e79043438aa16840464e6731e38c
[ "RSA-MD" ]
null
null
null
// me #include "QvtkBiopsyWidget.h" #include "QvtkProp.h" #include "QvtkImageSlice.h" #include "QvtkOrthogonalViewer.h" #include "QvtkBiopsyData.h" #include "QvtkPolyData.h" #include "vtkWidgetSet2.h" #include "ui_QvtkBiopsyWidget.h" #include "QvtkScene.h" // vtk #include <vtkObjectFactory.h> #include <vtkSmartPointer....
32.600639
131
0.72305
[ "render" ]
bd2d1c5f818194b56510444ef088eb7efdbe809d
1,571
cpp
C++
Days 051 - 060/Day 51/ShuffleDeckWithSwaps.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 051 - 060/Day 51/ShuffleDeckWithSwaps.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 051 - 060/Day 51/ShuffleDeckWithSwaps.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
#include <iostream> #include <iterator> #include <random> #include <string> #include <utility> #include <vector> struct Card { static constexpr unsigned int CARDS_PER_DECK = 52; std::string value; std::string suit; explicit Card(std::string value, std::string suit) : value(value), suit(suit) { } }; unsigned ...
18.482353
104
0.631445
[ "vector" ]
bd2db21d6835157001d94fb0b9e77e05c5e08483
1,789
cpp
C++
src/StlAscii.cpp
zbacskai/obj2stl
ebe98c6948a0761b8a8f178ccdeae6ea8c237ff3
[ "MIT" ]
1
2021-12-21T10:42:50.000Z
2021-12-21T10:42:50.000Z
src/StlAscii.cpp
zbacskai/obj2stl
ebe98c6948a0761b8a8f178ccdeae6ea8c237ff3
[ "MIT" ]
8
2020-10-05T08:06:10.000Z
2020-10-05T08:12:08.000Z
src/StlAscii.cpp
zbacskai/obj2stl
ebe98c6948a0761b8a8f178ccdeae6ea8c237ff3
[ "MIT" ]
null
null
null
/** * * Copyright 2020 Zoltan Bacskai * **/ #include <stl/StlAscii.hpp> #include<iostream> #include <fstream> #include <iomanip> #include <cstring> #include <arpa/inet.h> namespace { void writeVertex(const trim::TriangleData& triangle, std::ofstream& ofile) { for (int i = 0; i < 3; ++i)...
23.539474
106
0.600335
[ "solid" ]
bd312196ce1c1299b0574ea1814c2005c8f9e367
4,918
cpp
C++
Maple.App/Model/Netif.cpp
superben2010/Maple
09d48a98941b73593845eec0aa4d75fc7452293a
[ "Apache-2.0" ]
524
2021-03-13T16:07:16.000Z
2022-03-31T10:58:02.000Z
Maple.App/Model/Netif.cpp
superben2010/Maple
09d48a98941b73593845eec0aa4d75fc7452293a
[ "Apache-2.0" ]
24
2021-03-14T02:49:13.000Z
2022-02-13T13:38:51.000Z
Maple.App/Model/Netif.cpp
superben2010/Maple
09d48a98941b73593845eec0aa4d75fc7452293a
[ "Apache-2.0" ]
71
2021-03-15T04:08:32.000Z
2022-03-30T00:33:29.000Z
#include "pch.h" #include <WinSock2.h> #include <iphlpapi.h> #include "Netif.h" #if __has_include("Netif.g.cpp") #include "Netif.g.cpp" #endif constexpr auto WORKING_BUFFER_SIZE = 15000; constexpr auto ADDR_BUFFER_SIZE = 64; constexpr auto MAX_TRIES = 3; #define MALLOC(x) HeapAlloc(GetProcessHeap(), 0, (x)) #define ...
29.27381
154
0.540057
[ "vector" ]
bd32262c41e4a92aace98f143f4ea2f4b1a3acb0
13,242
cpp
C++
Modeler/modelerdraw.cpp
nat-chan/InteractiveCG
2f5a08e5868395ef409e9e6e2405e9ee94f051f6
[ "MIT" ]
1
2019-12-20T14:56:42.000Z
2019-12-20T14:56:42.000Z
Modeler/modelerdraw.cpp
nat-chan/InteractiveCG
2f5a08e5868395ef409e9e6e2405e9ee94f051f6
[ "MIT" ]
1
2018-11-13T12:01:52.000Z
2018-12-11T10:48:05.000Z
Modeler/modelerdraw.cpp
nat-chan/InteractiveCG
2f5a08e5868395ef409e9e6e2405e9ee94f051f6
[ "MIT" ]
null
null
null
#pragma warning(disable:4996) #include "modelerdraw.h" #include <FL/gl.h> #ifdef __APPLE__ #include <OpenGL/glu.h> #else #include <GL/glu.h> #endif #include <cstdio> #include <cstdlib> #include <string.h> using namespace std; // ******************************************************** // Support func...
25.613153
117
0.586316
[ "model", "transform" ]
bd33d5aa0d9889225ada8191739463af242bfffd
9,027
cpp
C++
src/mixer.lib/mixer.gui.element.buttonImpl.cpp
3dhater/mixer
52dca419de53abf3b61acd020c2fc9a52bce2255
[ "libpng-2.0" ]
null
null
null
src/mixer.lib/mixer.gui.element.buttonImpl.cpp
3dhater/mixer
52dca419de53abf3b61acd020c2fc9a52bce2255
[ "libpng-2.0" ]
null
null
null
src/mixer.lib/mixer.gui.element.buttonImpl.cpp
3dhater/mixer
52dca419de53abf3b61acd020c2fc9a52bce2255
[ "libpng-2.0" ]
null
null
null
#include "mixer.lib.h" #include "mixer.lib.inputContext.h" #include "mixer.lib.mesh.h" #include "mixer.lib.gpuMesh.h" #include "mixer.lib.videoDriver.h" #include "mixer.gui.h" #include "mixer.gui.contextImpl.h" #include "mixer.gui.textureAtlas.h" #include "mixer.gui.element.textImpl.h" #include "mixer.gui.element.but...
23.086957
211
0.680182
[ "mesh" ]
bd370a49e09aae75c567e2408dce86bbbc7d53d6
1,488
cc
C++
onnxruntime/core/optimizer/transpose_optimizer/ort_transpose_optimizer.cc
SiriusKY/onnxruntime
3c5853dcbc9d5dda2476afa8c6105802d2b8e53d
[ "MIT" ]
669
2018-12-03T22:00:31.000Z
2019-05-06T19:42:49.000Z
onnxruntime/core/optimizer/transpose_optimizer/ort_transpose_optimizer.cc
SiriusKY/onnxruntime
3c5853dcbc9d5dda2476afa8c6105802d2b8e53d
[ "MIT" ]
440
2018-12-03T21:09:56.000Z
2019-05-06T20:47:23.000Z
onnxruntime/core/optimizer/transpose_optimizer/ort_transpose_optimizer.cc
SiriusKY/onnxruntime
3c5853dcbc9d5dda2476afa8c6105802d2b8e53d
[ "MIT" ]
140
2018-12-03T21:15:28.000Z
2019-05-06T18:02:36.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "ort_transpose_optimizer.h" #include <deque> #include "core/graph/graph_utils.h" #include "core/optimizer/initializer.h" #include "core/optimizer/utils.h" #include "core/providers/cpu/tensor/transpose.h" #include "...
36.292683
122
0.755376
[ "vector", "model" ]
bd384e57f6409a06e52818b62f63095737c27aba
4,286
cpp
C++
Source/VoxelGraph/Private/VoxelNodes/VoxelWorldGeneratorSamplerNodes.cpp
SolarStormInteractive/VoxelPlugin
b0b8a1838262227fa586fbcb1b46a6184cdf1e8c
[ "MIT" ]
null
null
null
Source/VoxelGraph/Private/VoxelNodes/VoxelWorldGeneratorSamplerNodes.cpp
SolarStormInteractive/VoxelPlugin
b0b8a1838262227fa586fbcb1b46a6184cdf1e8c
[ "MIT" ]
null
null
null
Source/VoxelGraph/Private/VoxelNodes/VoxelWorldGeneratorSamplerNodes.cpp
SolarStormInteractive/VoxelPlugin
b0b8a1838262227fa586fbcb1b46a6184cdf1e8c
[ "MIT" ]
null
null
null
// Copyright 2020 Phyronnaz #include "VoxelNodes/VoxelWorldGeneratorSamplerNodes.h" #include "CppTranslation/VoxelVariables.h" #include "VoxelWorldGenerators/VoxelFlatWorldGenerator.h" #include "VoxelGraphGenerator.h" #include "VoxelWorldGenerators/VoxelWorldGeneratorInstance.inl" #include "NodeFunctions/VoxelN...
31.514706
109
0.534531
[ "object" ]
bd418e6a71bf402224fcb5101d9573a5262c56c4
1,197
cpp
C++
codeforces/C - World Eater Brothers/Wrong answer on test 7.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/C - World Eater Brothers/Wrong answer on test 7.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/C - World Eater Brothers/Wrong answer on test 7.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Apr/20/2020 19:34 * solution_verdict: Wrong answer on test 7 language: GNU C++14 * run...
31.5
111
0.433584
[ "vector" ]
bd4ae26a3b8e3e8419a380319fa289e2b2bb3116
3,846
cc
C++
src/kudu/tablet/diff_scan-test.cc
granthenke/kudu
990bb4d134c8fd9bd4621cd2fb9827d47f623db7
[ "Apache-2.0" ]
2
2019-07-17T19:08:07.000Z
2019-07-17T19:13:25.000Z
src/kudu/tablet/diff_scan-test.cc
granthenke/kudu
990bb4d134c8fd9bd4621cd2fb9827d47f623db7
[ "Apache-2.0" ]
null
null
null
src/kudu/tablet/diff_scan-test.cc
granthenke/kudu
990bb4d134c8fd9bd4621cd2fb9827d47f623db7
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
34.035398
82
0.727769
[ "vector" ]
32e51e55c51bf95546ffcefdfde72820c3d68157
10,875
cc
C++
newweb/utility/http/connection_manager.cc
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
newweb/utility/http/connection_manager.cc
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
newweb/utility/http/connection_manager.cc
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include <utility> #include <boost/bind.hpp> #include "connection_manager.hpp" #include "../easylogging++.h" #define __STDC_FORMAT_MACROS #include <inttypes.h> using std::string; using std::pair; using std::queue; using std::list; using std::map; using std::make_pair; using std::shared_ptr; using ...
30.041436
100
0.555034
[ "object" ]
32ed97a4ba7607bc16da4da9b748d9903ccf0363
6,043
cpp
C++
src/subcommand/gamsort_main.cpp
eldariont/vg
aa394a8477eb3f27ccfe421457e2e013e7907493
[ "BSL-1.0" ]
null
null
null
src/subcommand/gamsort_main.cpp
eldariont/vg
aa394a8477eb3f27ccfe421457e2e013e7907493
[ "BSL-1.0" ]
null
null
null
src/subcommand/gamsort_main.cpp
eldariont/vg
aa394a8477eb3f27ccfe421457e2e013e7907493
[ "BSL-1.0" ]
null
null
null
#include "../gamsorter.hpp" #include "../gam_index.hpp" #include "../stream.hpp" #include <getopt.h> #include "subcommand.hpp" #include "../index.hpp" /** * GAM sort main */ using namespace std; using namespace vg; using namespace vg::subcommand; void help_gamsort(char **argv) { cerr << "gamsort: sort a GAM file,...
33.203297
138
0.505709
[ "vector" ]
32fcbfb439a953d88d8d0c57205153d6bce8cf0c
797
cpp
C++
002/002.cpp
henriwoodcock/project-euler
1312b894b63eb34c6f99a5396a109103bd13fc10
[ "MIT" ]
null
null
null
002/002.cpp
henriwoodcock/project-euler
1312b894b63eb34c6f99a5396a109103bd13fc10
[ "MIT" ]
null
null
null
002/002.cpp
henriwoodcock/project-euler
1312b894b63eb34c6f99a5396a109103bd13fc10
[ "MIT" ]
null
null
null
/* 002 Even Fibonacci numbers Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of...
22.138889
140
0.63739
[ "vector" ]
fd0d24a39300fca15b2158daf8fef0192e1899dc
8,691
cc
C++
src/sandbox/benchmark_sorting/atlas-benchmark-sorting.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
67
2018-03-01T06:56:49.000Z
2022-03-08T18:44:47.000Z
src/sandbox/benchmark_sorting/atlas-benchmark-sorting.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
93
2018-12-07T17:38:04.000Z
2022-03-31T10:04:51.000Z
src/sandbox/benchmark_sorting/atlas-benchmark-sorting.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
33
2018-02-28T17:06:19.000Z
2022-01-20T12:12:27.000Z
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
31.26259
113
0.579565
[ "mesh", "vector" ]
fd138e14dbdda127f688964d8f30ad92336687eb
23,051
cpp
C++
llvm/llvm/lib/Analysis/CFGHierPrinter.cpp
pooyaww/HLS
da538325ea9cb410672be6bb15d6c2e6220bfeb3
[ "Apache-2.0" ]
1
2021-04-29T08:23:03.000Z
2021-04-29T08:23:03.000Z
llvm/llvm/lib/Analysis/CFGHierPrinter.cpp
pooyaww/HLS
da538325ea9cb410672be6bb15d6c2e6220bfeb3
[ "Apache-2.0" ]
null
null
null
llvm/llvm/lib/Analysis/CFGHierPrinter.cpp
pooyaww/HLS
da538325ea9cb410672be6bb15d6c2e6220bfeb3
[ "Apache-2.0" ]
1
2021-08-02T01:23:35.000Z
2021-08-02T01:23:35.000Z
// (c) Copyright 2016-2020 Xilinx, Inc. // All Rights Reserved. // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to yo...
32.883024
108
0.573771
[ "vector" ]
fd14bc731538cca66615576261bd2ee82e74b027
4,525
hpp
C++
include/window.hpp
Bicyclette/Waterpixels
ca8ba58e25adc04f7b8c75e58546d551fd055610
[ "MIT" ]
null
null
null
include/window.hpp
Bicyclette/Waterpixels
ca8ba58e25adc04f7b8c75e58546d551fd055610
[ "MIT" ]
null
null
null
include/window.hpp
Bicyclette/Waterpixels
ca8ba58e25adc04f7b8c75e58546d551fd055610
[ "MIT" ]
2
2021-05-26T16:44:52.000Z
2021-11-16T04:13:23.000Z
#ifndef APP_HPP #define APP_HPP #include <QApplication> #include <QtWidgets> #include <QObject> #include <QPixmap> #include <QGraphicsView> #include <QGraphicsScene> #include <QGraphicsItem> #include <QPainter> #include <QDir> #include <iostream> #include <vector> #include <cmath> #include <clprogram.hpp> #include <th...
22.40099
104
0.743646
[ "vector" ]
fd16c8222eb313fd5987da9013984a8c32b60dda
17,436
cc
C++
cc/jwt/raw_jwt_test.cc
Maxmood-sec/tink
cb380f363b9ed33c75ba19da4a2e491fabe87ae6
[ "Apache-2.0" ]
1
2021-08-20T10:49:03.000Z
2021-08-20T10:49:03.000Z
cc/jwt/raw_jwt_test.cc
Maxmood-sec/tink
cb380f363b9ed33c75ba19da4a2e491fabe87ae6
[ "Apache-2.0" ]
2
2021-07-15T16:48:43.000Z
2021-08-20T01:44:20.000Z
cc/jwt/raw_jwt_test.cc
Maxmood-sec/tink
cb380f363b9ed33c75ba19da4a2e491fabe87ae6
[ "Apache-2.0" ]
1
2021-07-08T23:25:31.000Z
2021-07-08T23:25:31.000Z
// Copyright 2021 Google LLC // // 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.416309
80
0.605299
[ "vector" ]
fd1b0ccb33a18a5e50b2aa69e8cc0b96d54edac3
774
cpp
C++
leetcode_solutions/others/leetcode_520.cpp
EatAllBugs/leetcode_cpp
3f5c58b32f0c3b115a706dd172c3fb72e4cc67ba
[ "MIT" ]
4
2021-12-07T19:39:03.000Z
2021-12-23T09:15:08.000Z
leetcode_solutions/others/leetcode_520.cpp
EatAllBugs/leetcode_cpp
3f5c58b32f0c3b115a706dd172c3fb72e4cc67ba
[ "MIT" ]
null
null
null
leetcode_solutions/others/leetcode_520.cpp
EatAllBugs/leetcode_cpp
3f5c58b32f0c3b115a706dd172c3fb72e4cc67ba
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<limits.h> #include<algorithm> #include<numeric> #include<unordered_set> #include<cmath> using namespace std; /* 给定一个单词,你需要判断单词的大写使用是否正确。 我们定义,在以下情况时,单词的大写用法是正确的: 全部字母都是大写,比如"USA"。 单词中所有字母都不是大写,比如"leetcode"。 如果单词不只含有一个字母,只有首字母大写, 比如 "Google"。 否则,我们定义这个单词没有正确使用大写字母。 */ clas...
18.428571
86
0.613695
[ "vector" ]
fd21029ab82a0e524d43108f013149b99c64a464
2,073
cc
C++
folding_libs/MELIBS/arpack++/examples/product/sym/symshft.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
1
2016-05-16T02:27:46.000Z
2016-05-16T02:27:46.000Z
arpack++/examples/product/sym/symshft.cc
red2901/sandbox
fae6c1624cc9957593d030f3b0306dbded29f0a2
[ "MIT" ]
null
null
null
arpack++/examples/product/sym/symshft.cc
red2901/sandbox
fae6c1624cc9957593d030f3b0306dbded29f0a2
[ "MIT" ]
null
null
null
/* ARPACK++ v1.2 2/18/2000 c++ interface to ARPACK code. MODULE SymShft.cc. Example program that illustrates how to solve a real symmetric standard eigenvalue problem in shift and invert mode using the ARSymStdEig class. 1) Problem description: In this example we try to solve A*x = x*lambd...
23.827586
70
0.643512
[ "vector" ]
fd22df70bd897a54f14990fffac6271d71ebef85
1,979
hpp
C++
storage/country.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
1
2019-01-11T05:02:05.000Z
2019-01-11T05:02:05.000Z
storage/country.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
null
null
null
storage/country.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
1
2019-08-09T21:21:09.000Z
2019-08-09T21:21:09.000Z
#pragma once #include "storage/country_decl.hpp" #include "storage/simple_tree.hpp" #include "storage/storage_defines.hpp" #include "platform/local_country_file.hpp" #include "platform/country_defines.hpp" #include "defines.hpp" #include "geometry/rect2d.hpp" #include "base/buffer_vector.hpp" #include "std/strin...
27.109589
96
0.736736
[ "geometry", "vector" ]
fd285beb3f6954dae93b40122f753f6ad31a3ef7
1,789
cpp
C++
classes/gui/widgets/basic/activearea.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
24
2017-08-22T15:55:34.000Z
2022-03-06T11:41:31.000Z
classes/gui/widgets/basic/activearea.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
6
2018-07-21T12:17:55.000Z
2021-08-12T11:27:27.000Z
classes/gui/widgets/basic/activearea.cpp
Patriccollu/smooth
8673d4702c55b1008bbcabddf7907da0e50505e4
[ "Artistic-2.0" ]
9
2017-09-13T02:32:18.000Z
2022-03-06T11:41:32.000Z
/* The smooth Class Library * Copyright (C) 1998-2013 Robert Kausch <robert.kausch@gmx.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of "The Artistic License, Version 2.0". * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED WARRA...
24.175676
111
0.688653
[ "object" ]
fd28d27393c36053257734c44a84cba25a684d02
14,300
cpp
C++
source/app/Application.cpp
aviktorov/pbr-sandbox
66a71c741dac2d2dd46668a506d02de88f05e399
[ "MIT" ]
19
2020-02-11T19:57:41.000Z
2022-02-20T14:11:33.000Z
source/app/Application.cpp
aviktorov/pbr-sandbox
66a71c741dac2d2dd46668a506d02de88f05e399
[ "MIT" ]
null
null
null
source/app/Application.cpp
aviktorov/pbr-sandbox
66a71c741dac2d2dd46668a506d02de88f05e399
[ "MIT" ]
5
2019-11-05T17:38:33.000Z
2022-03-04T12:49:58.000Z
#include "Application.h" #include "ApplicationResources.h" #include "IO.h" #include <render/shaders/Compiler.h> #include <render/backend/Driver.h> #include <scapes/visual/API.h> #include <scapes/visual/Components.h> #include "SwapChain.h" #include "RenderGraph.h" #include "SceneImporter.h" #include <GLFW/glfw3.h> #...
29.124236
137
0.74958
[ "render" ]
fd29d28ec45acd294568e769abb1d0f24e2b0d37
5,782
hpp
C++
src/layer/common/pooling_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
114
2017-06-14T07:05:31.000Z
2021-06-13T05:30:49.000Z
src/layer/common/pooling_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
7
2017-11-17T08:16:55.000Z
2019-10-05T00:09:20.000Z
src/layer/common/pooling_layer-inl.hpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
40
2017-06-15T03:21:10.000Z
2021-10-31T15:03:30.000Z
#ifndef TEXTNET_LAYER_POOLING_LAYER_INL_HPP_ #define TEXTNET_LAYER_POOLING_LAYER_INL_HPP_ #include <iostream> #include <mshadow/tensor.h> #include "../layer.h" #include "../../utils/utils.h" namespace textnet { namespace layer { template<typename Reducer, typename xpu> class PoolingLayer : public Layer<xpu> { pub...
36.36478
115
0.586302
[ "shape", "vector" ]
fd4692a5792d259ae6c6afc950bf44f412cb6823
81,306
cpp
C++
relational_operators/tests/AggregationOperator_unittest.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
null
null
null
relational_operators/tests/AggregationOperator_unittest.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
null
null
null
relational_operators/tests/AggregationOperator_unittest.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
1
2021-12-04T18:48:44.000Z
2021-12-04T18:48:44.000Z
/** * Copyright 2011-2015 Quickstep Technologies LLC. * Copyright 2015-2016 Pivotal Software, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
44.772026
116
0.600374
[ "vector" ]
fd525cfac1ca17cd5a6d4382a2bceb6c053e9a86
4,341
cpp
C++
src/search_engine/relja_retrival/external/KMCode_relja/descriptor/KoenDescriptor.cpp
alexanderwilkinson/visenew
8e494355b0f88466c0abb4b8f3bfecc150b91111
[ "ImageMagick", "BSD-2-Clause" ]
43
2017-07-06T23:44:39.000Z
2022-03-25T06:53:29.000Z
src/search_engine/relja_retrival/external/KMCode_relja/descriptor/KoenDescriptor.cpp
alexanderwilkinson/visenew
8e494355b0f88466c0abb4b8f3bfecc150b91111
[ "ImageMagick", "BSD-2-Clause" ]
2
2018-11-09T03:52:14.000Z
2020-03-25T14:08:33.000Z
src/search_engine/relja_retrival/external/KMCode_relja/descriptor/KoenDescriptor.cpp
alexanderwilkinson/visenew
8e494355b0f88466c0abb4b8f3bfecc150b91111
[ "ImageMagick", "BSD-2-Clause" ]
9
2017-07-27T10:55:55.000Z
2020-12-15T13:42:43.000Z
#include "koenDescriptor.h" void KoenDescriptor::computeComponents(DARY *img_in){ if(img_in==NULL){return;} DARY * imgn = new DARY(PATCH_SIZE,PATCH_SIZE); normalizeAffine(img_in,imgn); normalize(imgn,imgn->x()>>1,imgn->y()>>1,imgn->x()>>1); float xt=x,yt=y,c_scalet=c_scale; c_scale=6.7; ...
37.747826
87
0.576595
[ "vector" ]
fd5d493422c267e3840fc0410c96fe5aaa3b3c6d
6,811
hpp
C++
algo/include/algo_math.hpp
alex011235/algo
ce36c2673e037a12278117cb036550bee82ecadf
[ "MIT" ]
2
2015-08-16T23:45:23.000Z
2015-10-13T08:12:00.000Z
algo/include/algo_math.hpp
alex011235/algorithm
ce36c2673e037a12278117cb036550bee82ecadf
[ "MIT" ]
1
2021-03-21T16:33:53.000Z
2021-03-21T16:33:53.000Z
algo/include/algo_math.hpp
alex011235/algo
ce36c2673e037a12278117cb036550bee82ecadf
[ "MIT" ]
null
null
null
/// /// \brief Source file for math algorithms. /// \author alex011235 /// \date 2020-04-19 /// \link <a href=https://github.com/alex011235/algo>Algo, Github</a> /// /// Change list: /// 2015-08-27 Random numbers /// 2016-04-05 Knapsack, GCD, LCM, Bin, Prime numbers /// 2016-10-16 Pascal's triangle, ClockAngle /// #if...
35.659686
120
0.706357
[ "shape", "vector", "model", "transform" ]
fd5e5550ce3f291fcee979f993767c30025518db
17,329
cpp
C++
src/engine_core/wme_base/3DUtils.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
3
2021-03-28T00:11:48.000Z
2022-01-12T13:10:52.000Z
src/engine_core/wme_base/3DUtils.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
null
null
null
src/engine_core/wme_base/3DUtils.cpp
segafan/wme1_jankavan_tlc_edition-repo
72163931f348d5a2132577930362d297cc375a26
[ "MIT" ]
null
null
null
// This file is part of Wintermute Engine // For conditions of distribution and use, see copyright notice in license.txt // http://dead-code.org/redir.php?target=wme #include "dcgf.h" #include ".\3DUtils.h" ////////////////////////////////////////////////////////////////////////// BOOL C3DUtils::Intersect...
32.390654
175
0.626003
[ "object", "vector" ]
5b7496fe9901ba9e3e2ce516b118560d60a0c7e4
1,432
hpp
C++
caffe/include/caffe/layers/power_file_layer.hpp
shaoxiaohu/Face-Alignment-with-Two-Stage-Re-initialization-
ccd26fee4dd0b6cd0d11de4d5b4d2d746e8cc66b
[ "MIT" ]
199
2015-12-02T07:05:25.000Z
2021-09-06T06:52:54.000Z
include/caffe/power_file_layer.hpp
zmlshiwo/GuidedNet
4c87d392addc38700caf2856b450f2c74a79e122
[ "MIT" ]
20
2016-06-01T10:31:08.000Z
2020-04-02T07:46:51.000Z
include/caffe/power_file_layer.hpp
zmlshiwo/GuidedNet
4c87d392addc38700caf2856b450f2c74a79e122
[ "MIT" ]
95
2015-11-19T03:52:46.000Z
2020-04-07T08:57:45.000Z
#ifndef POWER_FILE_LAYER_HPP_ #define POWER_FILE_LAYER_HPP_ #include <boost/shared_ptr.hpp> #include <gflags/gflags.h> #include <glog/logging.h> #include <cmath> #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" namespace caffe { template <typename D...
29.22449
78
0.724162
[ "vector" ]
5b75111d4f34c7302aae67bf1eac735996226bc1
21,319
cc
C++
tce/src/applibs/ProGe/ProGeScriptGenerator.cc
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
74
2015-10-22T15:34:10.000Z
2022-03-25T07:57:23.000Z
tce/src/applibs/ProGe/ProGeScriptGenerator.cc
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
79
2015-11-19T09:23:08.000Z
2022-01-12T14:15:16.000Z
tce/src/applibs/ProGe/ProGeScriptGenerator.cc
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
38
2015-11-17T10:12:23.000Z
2022-03-25T07:57:24.000Z
/* Copyright (c) 2002-2011 Tampere University. This file is part of TTA-Based Codesign Environment (TCE). 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, ...
30.412268
80
0.646747
[ "vector" ]