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
7015f6edafa986bba9329bc8ab46b9286ab6381f
663
cpp
C++
project2D/PauseState.cpp
ASharpy/Code-Design-Project
dc6349ef2fe1a6afa46166bd4534af227773a335
[ "MIT" ]
null
null
null
project2D/PauseState.cpp
ASharpy/Code-Design-Project
dc6349ef2fe1a6afa46166bd4534af227773a335
[ "MIT" ]
null
null
null
project2D/PauseState.cpp
ASharpy/Code-Design-Project
dc6349ef2fe1a6afa46166bd4534af227773a335
[ "MIT" ]
null
null
null
#include "PauseState.h" #include <Renderer2D.h> #include <Font.h> #include "Application2D.h" #include "GameStateTypes.h" #include "Setting.h" #include "SplashState.h" using namespace StateManagement; PauseState::PauseState(Application2D *_app, StateManager *_SM) : State(_app, _SM) { font = new aie::Font("./font/conso...
16.170732
81
0.695324
[ "render" ]
7016178fc7378fce15ce722907dfd5a267767d11
1,896
cpp
C++
ex_2/trocaregioes.cpp
Cogitus/DCA0445-Digital-Image-Processing
450cea065a702397e81ac8df353c104553db13f2
[ "MIT" ]
null
null
null
ex_2/trocaregioes.cpp
Cogitus/DCA0445-Digital-Image-Processing
450cea065a702397e81ac8df353c104553db13f2
[ "MIT" ]
null
null
null
ex_2/trocaregioes.cpp
Cogitus/DCA0445-Digital-Image-Processing
450cea065a702397e81ac8df353c104553db13f2
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <utility> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; int main(int argc, char** argv) { cv::Mat image; image = cv::imread(argv[1], cv::IMREAD_GRAYSCALE); if (!image.data) { std::cout << "The image could not be opened." << std::endl; e...
32.135593
84
0.729958
[ "vector" ]
701ef9299cfe42b11496386165a8a796fb629fb1
2,926
cc
C++
RecoTracker/TkMSParametrization/src/MSLayersKeeperX0Averaged.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
13
2015-11-30T15:49:45.000Z
2022-02-08T16:11:30.000Z
RecoTracker/TkMSParametrization/src/MSLayersKeeperX0Averaged.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
640
2015-02-11T18:55:47.000Z
2022-03-31T14:12:23.000Z
RecoTracker/TkMSParametrization/src/MSLayersKeeperX0Averaged.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
51
2015-08-11T21:01:40.000Z
2022-03-30T07:31:34.000Z
#include "MSLayersKeeperX0Averaged.h" #include "MSLayersKeeperX0AtEta.h" #include "MultipleScatteringGeometry.h" using namespace std; void MSLayersKeeperX0Averaged::init(const edm::EventSetup &iSetup) { if (isInitialised) return; isInitialised = true; // cout << "HERE INITIALISATION! MSLayersKeeperX0Averag...
38
102
0.5892
[ "vector" ]
70254ba5522ad82d27bc209d7908254c584d2b5e
7,008
cpp
C++
multiview/multiview_cpp/src/front-ends/blur-faces/blur-faces.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
5
2021-09-03T23:12:08.000Z
2022-03-04T21:43:32.000Z
multiview/multiview_cpp/src/front-ends/blur-faces/blur-faces.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
3
2021-09-08T02:57:46.000Z
2022-02-26T05:33:02.000Z
multiview/multiview_cpp/src/front-ends/blur-faces/blur-faces.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
2
2021-09-26T03:14:40.000Z
2022-01-26T06:42:52.000Z
#include "blur-faces-inc.hpp" #include "stdinc.hpp" #include "perceive/cost-functions/pose-skeleton/pose-skeleton-exec.hpp" #include "perceive/movie/ffmpeg.hpp" #include "perceive/movie/movie-utils.hpp" #include "perceive/utils/cli-utils.hpp" #include "perceive/utils/file-system.hpp" #include <opencv2/core/core.hpp>...
30.337662
80
0.540382
[ "render" ]
702bfb74e4d3e15d5ab56adaaa04ec85a63dd833
10,489
cpp
C++
src/Operations.cpp
lpraz/tiger
b56f2fb3833cd24a9f99de0d454dd25ca794f299
[ "MIT" ]
null
null
null
src/Operations.cpp
lpraz/tiger
b56f2fb3833cd24a9f99de0d454dd25ca794f299
[ "MIT" ]
null
null
null
src/Operations.cpp
lpraz/tiger
b56f2fb3833cd24a9f99de0d454dd25ca794f299
[ "MIT" ]
null
null
null
/** * @file * @author lpraz * * @section DESCRIPTION * Defines tiger's operations functions, which are the top-level functions * for each of tiger's commands. * Any operations functions will be placed in the Tiger::Operations * namespace. */ // Stdlib includes #include <algorithm> #include <iostream> #include...
34.390164
78
0.52884
[ "object", "vector" ]
70350d71955d8ca9573539215338260dbfdd05b9
15,619
cpp
C++
WebKit/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
1
2019-06-18T06:52:54.000Z
2019-06-18T06:52:54.000Z
WebKit/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
WebKit/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2010 Apple Inc. 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 * notice, this list of conditions a...
36.664319
160
0.698444
[ "vector" ]
70366fba46f11d46e4cbe4a876166335326e3b3e
5,362
cpp
C++
cplusplus/level2_simple_inference/n_performance/1_multi_process_thread/deeplabv3_multi_thread_multi_device_video/src/postprocess/postprocess.cpp
Ascend/samples
5e060ddf8c502cf0e248ecbe1c8986e95351cbbd
[ "Apache-2.0" ]
25
2020-11-20T09:01:35.000Z
2022-03-29T10:35:38.000Z
cplusplus/level2_simple_inference/n_performance/1_multi_process_thread/deeplabv3_multi_thread_multi_device_video/src/postprocess/postprocess.cpp
Ascend/samples
5e060ddf8c502cf0e248ecbe1c8986e95351cbbd
[ "Apache-2.0" ]
5
2021-02-28T20:49:37.000Z
2022-03-04T21:50:27.000Z
cplusplus/level2_simple_inference/n_performance/1_multi_process_thread/deeplabv3_multi_thread_multi_device_video/src/postprocess/postprocess.cpp
Ascend/samples
5e060ddf8c502cf0e248ecbe1c8986e95351cbbd
[ "Apache-2.0" ]
16
2020-12-06T07:26:13.000Z
2022-03-01T07:51:55.000Z
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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 ...
34.371795
142
0.625699
[ "vector" ]
703f9a55fd2c23d5e09ea8dc71b5438fc8441051
9,966
cc
C++
dbfs/src/DBFSClient.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
dbfs/src/DBFSClient.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
dbfs/src/DBFSClient.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
1
2020-11-27T09:13:12.000Z
2020-11-27T09:13:12.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
32.568627
169
0.763496
[ "model" ]
704d1d749bf2e6b240fac24edc8fb0dd0b30cdcb
1,178
cpp
C++
src/Messages/FieldUInt32.cpp
divyang4481/quickfast
339c78e96a1f63b74c139afa1a3c9a07afff7b5f
[ "BSD-3-Clause" ]
198
2015-04-26T08:06:18.000Z
2022-03-13T01:31:50.000Z
src/Messages/FieldUInt32.cpp
divyang4481/quickfast
339c78e96a1f63b74c139afa1a3c9a07afff7b5f
[ "BSD-3-Clause" ]
15
2015-07-07T19:47:08.000Z
2022-02-04T05:56:51.000Z
src/Messages/FieldUInt32.cpp
divyang4481/quickfast
339c78e96a1f63b74c139afa1a3c9a07afff7b5f
[ "BSD-3-Clause" ]
96
2015-04-24T15:19:43.000Z
2022-03-28T13:15:11.000Z
// Copyright (c) 2009, Object Computing, Inc. // All rights reserved. // See the file license.txt for licensing information. #include <Common/QuickFASTPch.h> #include "FieldUInt32.h" #include <Common/Exceptions.h> using namespace ::QuickFAST; using namespace ::QuickFAST::Messages; FieldCPtr FieldUInt32::nullField_ = n...
16.828571
100
0.732598
[ "object" ]
704f72fa2c612207de0b893651e6b6a7c3967eef
6,053
cpp
C++
artificial-intelligence/K-Means-Clustering/KMean.cpp
3ZadeSSG/cpp
011850ac672b40f19bbe9b74541413d1fc2d00d9
[ "MIT" ]
null
null
null
artificial-intelligence/K-Means-Clustering/KMean.cpp
3ZadeSSG/cpp
011850ac672b40f19bbe9b74541413d1fc2d00d9
[ "MIT" ]
null
null
null
artificial-intelligence/K-Means-Clustering/KMean.cpp
3ZadeSSG/cpp
011850ac672b40f19bbe9b74541413d1fc2d00d9
[ "MIT" ]
null
null
null
//#include<bits/stdc++.h> //Either use bits/stdc++ or include add headers manually /* Input Format for csv file: The first row of csv file must contain the number of data and number of attributes. For example here in IrisDataSet1.csv first row contains: 150,4 where 150 is number of data and 4 is number of attributes */...
23.280769
173
0.650421
[ "vector" ]
70558e8208ecaf653fa6a9006d91c7174aa2698c
2,606
cc
C++
src/libmu/mu/mu-vector.cc
Software-Knife-and-Tool/mux
19166e2efde01dd5dcab60f06fc5d9ec2740ac5a
[ "MIT" ]
null
null
null
src/libmu/mu/mu-vector.cc
Software-Knife-and-Tool/mux
19166e2efde01dd5dcab60f06fc5d9ec2740ac5a
[ "MIT" ]
105
2021-07-11T15:54:40.000Z
2021-08-07T04:38:06.000Z
src/libmu/mu/mu-vector.cc
Software-Knife-and-Tool/xian
bd5c77a222bfa9c18379510e63930627cb2f028a
[ "MIT" ]
null
null
null
/******** ** ** SPDX-License-Identifier: MIT ** ** Copyright (c) 2017-2022 James M. Putnam <putnamjm.design@gmail.com> ** **/ /******** ** ** mu-vector.cc: library vector functions ** **/ #include <cassert> #include "libmu/core/env.h" #include "libmu/core/type.h" #include "libmu/types/cons.h" #include "...
25.300971
72
0.618189
[ "object", "vector" ]
7056a96d8f51a6c83ddb3f8cae2197cd23512a43
28,418
cpp
C++
Common/Stylization/Matrix3D.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Common/Stylization/Matrix3D.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Common/Stylization/Matrix3D.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// // Copyright (C) 2005-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
31.401105
117
0.537406
[ "transform", "3d" ]
705ede502a39d3205683e6c3282bb73e1085e397
4,213
cpp
C++
ABC/ABC176/E.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
ABC/ABC176/E.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
ABC/ABC176/E.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
//#ifdef _DEBUG //#include "../../../library/src/debug_template.hpp" //#define DMP(...) dump(#__VA_ARGS__, __VA_ARGS__) //#else //#define DMP(...) ((void)0) //#endif // //#include <cassert> //#include <cstdio> //#include <cmath> //#include <iostream> //#include <sstream> //#include <iomanip> //#include <vector> //#incl...
30.977941
114
0.577261
[ "vector" ]
7061fcfa018046a86fc0a376820eb8c9411cb7dd
4,771
hpp
C++
compnat/tp1/statistics.hpp
RenatoUtsch/compnat
f01ab1ef6ac0a1efc1ad88a74c9b06801bc31abf
[ "Apache-2.0" ]
null
null
null
compnat/tp1/statistics.hpp
RenatoUtsch/compnat
f01ab1ef6ac0a1efc1ad88a74c9b06801bc31abf
[ "Apache-2.0" ]
null
null
null
compnat/tp1/statistics.hpp
RenatoUtsch/compnat
f01ab1ef6ac0a1efc1ad88a74c9b06801bc31abf
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017 Renato Utsch * * 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 ...
32.455782
78
0.7118
[ "vector" ]
70632e069f46bca8b6f95963366d3dcbec25a261
8,041
cpp
C++
project/ScannercodeCheckSystem/mainwindow.cpp
happyrabbit456/Qt5_dev
1812df2f04d4b6d24eaf0195ae25d4c67d4f3da2
[ "MIT" ]
null
null
null
project/ScannercodeCheckSystem/mainwindow.cpp
happyrabbit456/Qt5_dev
1812df2f04d4b6d24eaf0195ae25d4c67d4f3da2
[ "MIT" ]
null
null
null
project/ScannercodeCheckSystem/mainwindow.cpp
happyrabbit456/Qt5_dev
1812df2f04d4b6d24eaf0195ae25d4c67d4f3da2
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); #ifdef DB_SQLite createSQLiteConnection(); #endif #ifdef DB_MSSQL //MS SQL Server 2008 createMSSQLConnection(); #endif //Logo图片显示...
28.820789
165
0.558513
[ "model" ]
0ad3dd34698c0abc7d6b329b3690f34ef9c1bee8
2,433
cpp
C++
codes/TEAMSCODE/2021/spring/6.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/TEAMSCODE/2021/spring/6.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/TEAMSCODE/2021/spring/6.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
//code by me #include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <string> #include <utility> #include <cmath> #include <cassert> #include <algorithm> #include <vector> #include <random> #include <chrono> #include <queue> #include <set> #define cont continue #define pow2(n) (1 << (n)) ...
21.530973
76
0.559392
[ "vector" ]
0add4fff777742ee65d097e330e2bb691881399a
7,279
cpp
C++
src/main.cpp
SylvanBrocard/dpu_trees
688f56a89a09469bf84698ed76ea62a5344b2827
[ "MIT" ]
1
2021-11-10T15:14:07.000Z
2021-11-10T15:14:07.000Z
src/main.cpp
SylvanBrocard/dpu_trees
688f56a89a09469bf84698ed76ea62a5344b2827
[ "MIT" ]
2
2021-11-10T14:21:39.000Z
2021-12-15T10:24:24.000Z
src/main.cpp
SylvanBrocard/dpu_trees
688f56a89a09469bf84698ed76ea62a5344b2827
[ "MIT" ]
null
null
null
#include <pybind11/cast.h> #include <pybind11/detail/common.h> #include <pybind11/pybind11.h> #include <pybind11/numpy.h> #include <pybind11/stl.h> #include <pybind11/pytypes.h> #include <iostream> extern "C" { #include <dpu.h> #include "trees.h" #include "trees_common.h" } using namespace pybind11::literals; /* nec...
28.65748
151
0.580299
[ "object", "shape", "vector" ]
0adeecd94102b955fbacb5281c4607818f89c7be
1,141
hpp
C++
src/lib/operators/get_table.hpp
simsieg/hyrise
7c3461518930a02126222a1a6f4f87a5e0491212
[ "MIT" ]
null
null
null
src/lib/operators/get_table.hpp
simsieg/hyrise
7c3461518930a02126222a1a6f4f87a5e0491212
[ "MIT" ]
17
2018-11-28T10:31:31.000Z
2019-03-06T10:28:12.000Z
src/lib/operators/get_table.hpp
ekrebs5/hyrise
73d2eb7b7d5afe2dba631b4900ffae2f20494410
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <string> #include <vector> #include "abstract_read_only_operator.hpp" #include "concurrency/transaction_context.hpp" #include "types.hpp" namespace opossum { // operator to retrieve a table from the StorageManager by specifying its name class GetTable : public AbstractReadOnl...
30.026316
102
0.777388
[ "vector" ]
0ae2a0817110129f9ac4b964e162897b19823b24
14,200
cpp
C++
src/tx.cpp
fuxedo/fuxedo
9d113994835c1d8d6fb6e9ebf247d31bad8c91df
[ "MIT" ]
15
2018-04-26T04:36:22.000Z
2021-12-28T23:02:38.000Z
src/tx.cpp
fuxedo/fuxedo
9d113994835c1d8d6fb6e9ebf247d31bad8c91df
[ "MIT" ]
null
null
null
src/tx.cpp
fuxedo/fuxedo
9d113994835c1d8d6fb6e9ebf247d31bad8c91df
[ "MIT" ]
7
2018-11-30T10:56:21.000Z
2021-01-17T19:14:05.000Z
// This file is part of Fuxedo // Copyright (C) 2017 Aivars Kalvans <aivars.kalvans@gmail.com> // This implements the TX (Transaction Demarcation) specification by calling XA // APIs // + some TX-like API needed for Oracle Tuxedo APIs #include <atmi.h> #include <tpadm.h> #include <tx.h> #include <userlog.h> #include <...
26.792453
80
0.605141
[ "vector" ]
0ae5be9d85ef9db3d04cd60468529edde6fb6b9e
5,413
cc
C++
RAVL2/Contrib/RLog/RLog.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Contrib/RLog/RLog.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Contrib/RLog/RLog.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2008, OmniPerception Ltd. // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here ...
27.758974
92
0.628117
[ "model" ]
0ae5c4ba240d5bc15d15d15651e1667616089b1f
6,369
cpp
C++
QuantExt/qle/models/linkablecalibratedmodel.cpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
null
null
null
QuantExt/qle/models/linkablecalibratedmodel.cpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
null
null
null
QuantExt/qle/models/linkablecalibratedmodel.cpp
PiotrSiejda/Engine
8360b5de32408f2a37da5ac3ca7b4e913bf67e9f
[ "BSD-3-Clause" ]
1
2022-02-07T02:04:10.000Z
2022-02-07T02:04:10.000Z
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
41.090323
117
0.643272
[ "vector", "model" ]
0ae5f1eb2f426f753770fbfb49622deea3c00892
1,718
cpp
C++
src/extra/snappy.cpp
Kryptos-FR/chainblocks
67160c535237a90cfe8a059db487d054d2714a3c
[ "BSD-3-Clause" ]
15
2019-10-30T18:21:52.000Z
2021-06-22T06:06:15.000Z
src/extra/snappy.cpp
Kryptos-FR/chainblocks
67160c535237a90cfe8a059db487d054d2714a3c
[ "BSD-3-Clause" ]
103
2021-06-26T17:09:43.000Z
2022-03-30T12:05:18.000Z
src/extra/snappy.cpp
Kryptos-FR/chainblocks
67160c535237a90cfe8a059db487d054d2714a3c
[ "BSD-3-Clause" ]
8
2021-07-27T14:45:26.000Z
2022-03-01T08:07:18.000Z
/* SPDX-License-Identifier: BSD-3-Clause */ /* Copyright © 2019 Fragcolor Pte. Ltd. */ #include "blocks/shared.hpp" #include "runtime.hpp" #include <snappy.h> namespace chainblocks { namespace Snappy { struct Compress { std::vector<char> _buffer; static CBTypesInfo inputTypes() { return CoreInfo::BytesType; } ...
33.038462
80
0.675786
[ "vector" ]
0af6c2dad3e88130764027d12979d1f2f1d2db74
930
cpp
C++
demo/library/widget.cpp
QtDataFlow/QSchematic
d5ab1f39710425720e3edc566bc7fe8850f7d87d
[ "MIT" ]
97
2018-11-16T18:39:10.000Z
2022-03-30T05:49:31.000Z
demo/library/widget.cpp
QtDataFlow/QSchematic
d5ab1f39710425720e3edc566bc7fe8850f7d87d
[ "MIT" ]
15
2019-05-16T12:09:45.000Z
2022-03-16T11:43:30.000Z
demo/library/widget.cpp
QtDataFlow/QSchematic
d5ab1f39710425720e3edc566bc7fe8850f7d87d
[ "MIT" ]
19
2019-04-10T13:24:07.000Z
2022-03-30T14:36:54.000Z
#include <QBoxLayout> #include "widget.h" #include "model.h" #include "view.h" using namespace Library; Widget::Widget(QWidget* parent) : QWidget(parent) { // Model _model = new Model(this); // View _view = new View(this); _view->setModel(_model); connect(_view, &View::clicked, this, &Widget...
17.54717
67
0.631183
[ "model" ]
0afb97de8e1f59bd8e2abf6e5c78fc35339ac17a
5,529
cpp
C++
submods/amrex/Src/EB/AMReX_EB_STL_utils.cpp
ndevelder/amr-wind-channel-les
51b048ba30a5ed3ac1bd055e807f4d59a64a45ea
[ "BSD-3-Clause" ]
null
null
null
submods/amrex/Src/EB/AMReX_EB_STL_utils.cpp
ndevelder/amr-wind-channel-les
51b048ba30a5ed3ac1bd055e807f4d59a64a45ea
[ "BSD-3-Clause" ]
null
null
null
submods/amrex/Src/EB/AMReX_EB_STL_utils.cpp
ndevelder/amr-wind-channel-les
51b048ba30a5ed3ac1bd055e807f4d59a64a45ea
[ "BSD-3-Clause" ]
null
null
null
#include<AMReX_EB_STL_utils.H> #include<AMReX_EB_triGeomOps_K.H> namespace amrex { //================================================================================ void STLtools::read_ascii_stl_file(std::string fname) { std::string tmpline,tmp1,tmp2; int nlines=0; Vector<char> fi...
34.12963
88
0.502442
[ "geometry", "vector", "solid" ]
0afc2fdf079bee8f9b29eefa814e0c7299a519d9
16,684
cc
C++
src/dev/net/cosim_nic.cc
nicklijl/gem5
f7ba22d3cfa4e8080e656fc84f2f0ed930a41418
[ "BSD-3-Clause" ]
null
null
null
src/dev/net/cosim_nic.cc
nicklijl/gem5
f7ba22d3cfa4e8080e656fc84f2f0ed930a41418
[ "BSD-3-Clause" ]
null
null
null
src/dev/net/cosim_nic.cc
nicklijl/gem5
f7ba22d3cfa4e8080e656fc84f2f0ed930a41418
[ "BSD-3-Clause" ]
null
null
null
#include <sys/socket.h> #include <sys/un.h> #include <sys/mman.h> #include <unistd.h> #include <fcntl.h> #include <debug/EthernetAll.hh> #include <dev/net/cosim_nic.hh> namespace Cosim { Device::Device(const Params *p) : EtherDevBase(p), interface(nullptr), overridePort(name() + ".pio", *this), sync(p->sync...
25.510703
86
0.602134
[ "vector" ]
0afcabcbd03c1b414836352a7ec45bf870049537
146
hpp
C++
src/eval.hpp
ytakano-lecture/tinyregex
aa0905b186aa0a4a09f749ba07ebfacde97d2c1c
[ "MIT" ]
null
null
null
src/eval.hpp
ytakano-lecture/tinyregex
aa0905b186aa0a4a09f749ba07ebfacde97d2c1c
[ "MIT" ]
null
null
null
src/eval.hpp
ytakano-lecture/tinyregex
aa0905b186aa0a4a09f749ba07ebfacde97d2c1c
[ "MIT" ]
null
null
null
#ifndef EVAL_HPP #define EVAL_HPP #include "codegen.hpp" bool evalRegex(const std::vector<uint16_t> &code, const char *str); #endif // EVAL_HPP
18.25
67
0.746575
[ "vector" ]
0afe8bbc40a9f890a7353bc365293fff753aab3d
954
cpp
C++
pgm10_22.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
1
2021-07-13T03:58:36.000Z
2021-07-13T03:58:36.000Z
pgm10_22.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
pgm10_22.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
// // This file contains the C++ code from Program 10.22 of // "Data Structures and Algorithms // with Object-Oriented Design Patterns in C++" // by Bruno R. Preiss. // // Copyright (c) 1998 by Bruno R. Preiss, P.Eng. All rights reserved. // // http://www.pads.uwaterloo.ca/Bruno.Preiss/books/opus4/program...
24.461538
80
0.621593
[ "object" ]
0affacb3f10821848925b17278b3e6862421004d
37,212
cc
C++
docs/examples/jetson/concurrency_and_dynamic_batching/people_detection.cc
galv/server
071eb2c6c9a8f1bba380c0e69592f50a857c5c42
[ "BSD-3-Clause" ]
2,159
2020-08-26T06:21:38.000Z
2022-03-31T16:13:46.000Z
docs/examples/jetson/concurrency_and_dynamic_batching/people_detection.cc
galv/server
071eb2c6c9a8f1bba380c0e69592f50a857c5c42
[ "BSD-3-Clause" ]
1,482
2020-08-26T08:26:36.000Z
2022-03-31T23:11:19.000Z
docs/examples/jetson/concurrency_and_dynamic_batching/people_detection.cc
galv/server
071eb2c6c9a8f1bba380c0e69592f50a857c5c42
[ "BSD-3-Clause" ]
592
2020-08-26T06:09:25.000Z
2022-03-31T00:37:41.000Z
// Copyright (c) 2021, NVIDIA CORPORATION& AFFILIATES.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 li...
32.07931
80
0.651215
[ "shape", "vector", "model" ]
e40038df3e802dfdd881ed0c1a4263fe8fd21e34
2,636
hpp
C++
include/world_model/model/model_type.hpp
asr-ros/asr_world_model
ff4ab2e8f83212be0f3aeb0224ad892d4966befd
[ "BSD-3-Clause" ]
1
2019-10-29T13:37:29.000Z
2019-10-29T13:37:29.000Z
include/world_model/model/model_type.hpp
asr-ros/asr_world_model
ff4ab2e8f83212be0f3aeb0224ad892d4966befd
[ "BSD-3-Clause" ]
null
null
null
include/world_model/model/model_type.hpp
asr-ros/asr_world_model
ff4ab2e8f83212be0f3aeb0224ad892d4966befd
[ "BSD-3-Clause" ]
null
null
null
/** Copyright (c) 2016, Aumann Florian, Borella Jocelyn, Hutmacher Robin, Karrenbauer Oliver, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Trautmann Jeremias All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ...
51.686275
755
0.781487
[ "object", "model" ]
e41808bcbd6aa55fcb168be9f970ebf2db642156
3,186
cpp
C++
Engine/src/core/graphics/assets/Mesh.cpp
Drengr-Engine/Drengr
d76b53dadfd5da1de3bfc1bb120cd01bcb51fc88
[ "Apache-2.0" ]
null
null
null
Engine/src/core/graphics/assets/Mesh.cpp
Drengr-Engine/Drengr
d76b53dadfd5da1de3bfc1bb120cd01bcb51fc88
[ "Apache-2.0" ]
null
null
null
Engine/src/core/graphics/assets/Mesh.cpp
Drengr-Engine/Drengr
d76b53dadfd5da1de3bfc1bb120cd01bcb51fc88
[ "Apache-2.0" ]
null
null
null
#include "Mesh.h" namespace Drengr { Mesh::Mesh(std::vector<Vertex>& _vertices, std::vector<unsigned int>& _indices, std::vector<Texture>& _textures) { vertices = _vertices; indices = _indices; textures = _textures; vao.Bind(); //std::cout << vertices.size() << "<------ HERE " << std::endl; VertexBuffe...
31.235294
123
0.669805
[ "mesh", "vector", "model", "transform" ]
e41f8de280549e5d19a473d348e148ffd6be556d
18,097
cpp
C++
applications/demosSandbox/sdkDemos/demos/AnimatedPlayer.cpp
fangguanya/newton-dynamics
83bde63e760a03ee94082f80c1787baeb7649031
[ "Zlib" ]
null
null
null
applications/demosSandbox/sdkDemos/demos/AnimatedPlayer.cpp
fangguanya/newton-dynamics
83bde63e760a03ee94082f80c1787baeb7649031
[ "Zlib" ]
null
null
null
applications/demosSandbox/sdkDemos/demos/AnimatedPlayer.cpp
fangguanya/newton-dynamics
83bde63e760a03ee94082f80c1787baeb7649031
[ "Zlib" ]
null
null
null
/* Copyright (c) <2003-2016> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * includi...
32.78442
152
0.70962
[ "mesh", "geometry", "shape", "model", "transform", "solid" ]
e43633422215683a7303c7878604876207ece7b0
6,015
cpp
C++
waffle_tx2_tf2/src/tf2_sync_odom_node.cpp
NighttimeDriver50000/waffle-tx2
bd7e64da3ee731220d32f16e2e6980ab937ad3ea
[ "Apache-2.0" ]
null
null
null
waffle_tx2_tf2/src/tf2_sync_odom_node.cpp
NighttimeDriver50000/waffle-tx2
bd7e64da3ee731220d32f16e2e6980ab937ad3ea
[ "Apache-2.0" ]
7
2019-04-04T20:31:58.000Z
2019-05-03T21:26:53.000Z
waffle_tx2_tf2/src/tf2_sync_odom_node.cpp
NighttimeDriver50000/waffle-tx2
bd7e64da3ee731220d32f16e2e6980ab937ad3ea
[ "Apache-2.0" ]
1
2019-05-29T23:23:34.000Z
2019-05-29T23:23:34.000Z
#include <iostream> #include <optional> #include <string> #include <ros/ros.h> #include <geometry_msgs/PoseStamped.h> #include <geometry_msgs/Transform.h> #include <geometry_msgs/TransformStamped.h> #include <nav_msgs/Odometry.h> #include <message_filters/subscriber.h> #include <tf2/LinearMath/Quaternion.h> #include <t...
35.591716
77
0.684289
[ "transform" ]
e43bf6322ba998f68aacaa48971f3eb0c092ba0c
1,588
hpp
C++
tools/include/schedule_model.hpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
tools/include/schedule_model.hpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
tools/include/schedule_model.hpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
#ifndef MIGRAPHX_GUARD_SCHEDULE_MODEL_HPP #define MIGRAPHX_GUARD_SCHEDULE_MODEL_HPP #include <cassert> #include <string> #include <functional> #include <memory> #include <type_traits> #include <utility> #include <migraphx/config.hpp> #include <migraphx/instruction_ref.hpp> #include <vector> namespace migraphx { inli...
28.357143
94
0.729849
[ "vector", "model" ]
e447a45f7881c6306a8761457b1fd1e954c9d944
8,463
cpp
C++
src/qtgl.cpp
wkcn/3dviewer
e42dfe2a9f7862d861977a730f9420928663d6f6
[ "MIT" ]
26
2017-04-01T15:38:20.000Z
2021-12-06T13:27:47.000Z
src/qtgl.cpp
wkcn/3dviewer
e42dfe2a9f7862d861977a730f9420928663d6f6
[ "MIT" ]
2
2019-06-02T01:11:32.000Z
2020-03-27T05:03:15.000Z
src/qtgl.cpp
wkcn/3dviewer
e42dfe2a9f7862d861977a730f9420928663d6f6
[ "MIT" ]
3
2020-04-29T09:19:56.000Z
2020-12-02T02:32:22.000Z
#include "qtgl.h" #include <cfloat> #include <iostream> using namespace std; QtGL::QtGL(QWidget *parent):QOpenGLWidget(parent){ //QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); //setSizePolicy(sizePolicy); //setMinimumSize(QSize(800, 800)); //setMaximumSize(QSize(800, 800)); ...
26.201238
121
0.606877
[ "geometry", "vector", "model" ]
e44bfba73e0194b910f68a7a7744bfebf9e49abe
13,659
cpp
C++
macosx/mac-screenshot.cpp
a7omic/snes9x-pb
1b97b6e853e696e472058a5fd505648b3a49c6f5
[ "Unlicense" ]
2
2015-10-03T18:38:58.000Z
2022-03-02T17:05:42.000Z
macosx/mac-screenshot.cpp
a7omic/snes9x-pb
1b97b6e853e696e472058a5fd505648b3a49c6f5
[ "Unlicense" ]
2
2015-05-13T10:06:29.000Z
2016-04-18T12:09:59.000Z
macosx/mac-screenshot.cpp
a7omic/snes9x-pb
1b97b6e853e696e472058a5fd505648b3a49c6f5
[ "Unlicense" ]
null
null
null
/*********************************************************************************** Snes9x - Portable Super Nintendo Entertainment System (TM) emulator. (c) Copyright 1996 - 2002 Gary Henderson (gary.henderson@ntlworld.com), Jerremy Koot (jkoot@snes9x.com) (c) Copyright 2002 - 200...
26.47093
233
0.591698
[ "render" ]
e45511be838cb9f8c10c0f33e47c8800018d6604
5,944
cpp
C++
main.cpp
Zhylkaaa/vulkan_mlp
fbfac6435c07719d6152222b5d9a0e8bae990518
[ "MIT" ]
8
2020-05-19T09:07:05.000Z
2021-08-23T12:46:00.000Z
main.cpp
Zhylkaaa/vulkan_mlp
fbfac6435c07719d6152222b5d9a0e8bae990518
[ "MIT" ]
null
null
null
main.cpp
Zhylkaaa/vulkan_mlp
fbfac6435c07719d6152222b5d9a0e8bae990518
[ "MIT" ]
null
null
null
#include <iostream> #include <MLP.h> #include <string> #include <vulkan_init.h> #include <classification_trainer.h> #include <fstream> #include <sstream> int find_arg(char **argv, int argc, const std::string& arg_name){ for(int i = 0;i<argc;i++){ if(std::string(argv[i]).find(arg_name) != std::string::npos)...
30.326531
123
0.648721
[ "vector" ]
e4591246cfaac76d91329ecc176418168248fc26
31,126
cpp
C++
src/Device/Context.cpp
exaexa/swiftshader
cbd31d271e4cedc709192d02b946aee9cdfe4653
[ "Apache-2.0" ]
1
2022-02-10T13:35:02.000Z
2022-02-10T13:35:02.000Z
src/Device/Context.cpp
exaexa/swiftshader
cbd31d271e4cedc709192d02b946aee9cdfe4653
[ "Apache-2.0" ]
null
null
null
src/Device/Context.cpp
exaexa/swiftshader
cbd31d271e4cedc709192d02b946aee9cdfe4653
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The SwiftShader Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
32.456726
203
0.764441
[ "render", "vector", "model" ]
e45a3d8670c619f8a06406135ce1221c11c20b20
23,401
cc
C++
CCA/Components/MPM/Materials/ConstitutiveModel/UnusedCM/CompNeoHookImplicit.cc
QuocAnh90/Uintah_Aalto
802c236c331b7eb705d408c352969037e4c5b153
[ "MIT" ]
3
2020-06-10T08:21:31.000Z
2020-06-23T18:33:16.000Z
CCA/Components/MPM/Materials/ConstitutiveModel/UnusedCM/CompNeoHookImplicit.cc
QuocAnh90/Uintah_Aalto
802c236c331b7eb705d408c352969037e4c5b153
[ "MIT" ]
null
null
null
CCA/Components/MPM/Materials/ConstitutiveModel/UnusedCM/CompNeoHookImplicit.cc
QuocAnh90/Uintah_Aalto
802c236c331b7eb705d408c352969037e4c5b153
[ "MIT" ]
2
2019-12-30T05:48:30.000Z
2020-02-12T16:24:16.000Z
/* * The MIT License * * Copyright (c) 1997-2019 The University of Utah * * 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 * right...
37.381789
105
0.570318
[ "vector", "model" ]
e462f06a1840f24f2493ff62fb8c607142bec21b
2,166
cpp
C++
geodrill/file_utils.cpp
jlehtoma/geodrill
795733da552a4d85be2b23580cae37d68ec66e33
[ "MIT" ]
null
null
null
geodrill/file_utils.cpp
jlehtoma/geodrill
795733da552a4d85be2b23580cae37d68ec66e33
[ "MIT" ]
null
null
null
geodrill/file_utils.cpp
jlehtoma/geodrill
795733da552a4d85be2b23580cae37d68ec66e33
[ "MIT" ]
null
null
null
// simple_ls program -------------------------------------------------------// // Copyright Jeff Garland and Beman Dawes, 2002 // Use, modification, and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.tx...
30.083333
113
0.554478
[ "vector" ]
e467a38354155d47e272566d632b52681e81ee22
2,649
cpp
C++
Plugins/Physics/Bullet/BulletRaycaster.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Plugins/Physics/Bullet/BulletRaycaster.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Plugins/Physics/Bullet/BulletRaycaster.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#include "BulletRaycaster.hpp" #include "BulletWorld.hpp" namespace AGE { namespace Physics { // Constructors BulletRaycaster::BulletRaycaster(WorldInterface *world) : RaycasterInterface(world) { return; } // Inherited Methods bool BulletRaycaster::raycast(const glm::vec3 &origin, const glm::vec3 ...
47.303571
160
0.755757
[ "vector" ]
e4710521e2f42790f660c220b97da30461620ef7
1,421
cc
C++
UVa Online Judge/v1/165.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
1
2021-12-08T08:58:43.000Z
2021-12-08T08:58:43.000Z
UVa Online Judge/v1/165.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
UVa Online Judge/v1/165.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
/*============================================================================= # Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/ # FileName: 165.cc # Description: UVa Online Judge - 165 =============================================================================*/ #include <bits/s...
26.811321
79
0.387755
[ "3d" ]
e47664dc9a2e313dd22ebb2d8d5aa8c60187a723
2,525
hpp
C++
3space/include/content/pal/palette.hpp
gifted-nguvu/darkstar-dts-converter
aa17a751a9f3361ca9bbb400ee4c9516908d1297
[ "MIT" ]
2
2020-03-18T18:23:27.000Z
2020-08-02T15:59:16.000Z
3space/include/content/pal/palette.hpp
gifted-nguvu/darkstar-dts-converter
aa17a751a9f3361ca9bbb400ee4c9516908d1297
[ "MIT" ]
5
2019-07-07T16:47:47.000Z
2020-08-10T16:20:00.000Z
3space/include/content/pal/palette.hpp
gifted-nguvu/darkstar-dts-converter
aa17a751a9f3361ca9bbb400ee4c9516908d1297
[ "MIT" ]
1
2020-03-18T18:23:30.000Z
2020-03-18T18:23:30.000Z
#ifndef DARKSTARDTSCONVERTER_PALETTE_HPP #define DARKSTARDTSCONVERTER_PALETTE_HPP #include <vector> #include <array> #include <fstream> #include <iostream> #include <iomanip> #include <cmath> #include "endian_arithmetic.hpp" #include "shared.hpp" namespace studio::content::pal { namespace endian = boost::endian; ...
28.693182
125
0.680396
[ "vector" ]
e478e28a851673f1e91e353d4a481ba6873f919f
16,025
cpp
C++
src/Endpoint.cpp
scoumeri/geopm
2406b8cca92d8eb32d4dc26d24bb2273164f186c
[ "BSD-3-Clause" ]
null
null
null
src/Endpoint.cpp
scoumeri/geopm
2406b8cca92d8eb32d4dc26d24bb2273164f186c
[ "BSD-3-Clause" ]
null
null
null
src/Endpoint.cpp
scoumeri/geopm
2406b8cca92d8eb32d4dc26d24bb2273164f186c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015 - 2022, Intel Corporation * * 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 condition...
34.314775
151
0.612044
[ "vector" ]
e47d8f1fbdb68e6b68eb021e345f031fef5bdb2d
2,897
hh
C++
tests/libtests/serial/TestBlock.hh
baagaard-usgs/geomodelgrids
9b3b6879038691cf686a79d95b1c33092f154258
[ "RSA-MD" ]
2
2020-09-01T23:09:02.000Z
2020-09-10T02:37:02.000Z
tests/libtests/serial/TestBlock.hh
baagaard-usgs/geomodelgrids
9b3b6879038691cf686a79d95b1c33092f154258
[ "RSA-MD" ]
88
2019-10-04T18:19:19.000Z
2021-10-20T01:54:08.000Z
tests/libtests/serial/TestBlock.hh
baagaard-usgs/geomodelgrids
9b3b6879038691cf686a79d95b1c33092f154258
[ "RSA-MD" ]
1
2019-10-18T17:17:31.000Z
2019-10-18T17:17:31.000Z
/** * C++ unit testing of geomodelgrids::serial::Block. */ #include <portinfo> #include "ModelPoints.hh" // USES ModelPoints #include <cppunit/extensions/HelperMacros.h> namespace geomodelgrids { namespace serial { class TestBlock; class TestBlock_Data; } // serial } // geomodelgrids clas...
29.865979
120
0.563341
[ "mesh", "model" ]
6b03bcca8fa88283d7e690201760cbbf6f498457
1,135
cpp
C++
DSA_UDEMY/Arrays&vectors/1pairsum.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
DSA_UDEMY/Arrays&vectors/1pairsum.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
DSA_UDEMY/Arrays&vectors/1pairsum.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_set> using namespace std; class Pair { public: vector<int> pairSum(vector<int> arr, int sum) { unordered_set<int> s; vector<int> result; // NOTE: the sequence is important in for loop i.e. 1st find if set has x (sum - arr[i]) v...
21.826923
113
0.484581
[ "vector" ]
6b0b2e3eac8c027fef9b80975d72d88ba9f73b52
1,090
cpp
C++
Codeforces/484/D.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
2
2018-12-11T14:37:24.000Z
2022-01-23T18:11:54.000Z
Codeforces/484/D.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
Codeforces/484/D.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define mt make_tuple #define mp make_pair #define pu push_back #define INF 1000000001 #define MOD 1000000007 #define ll long long int #define ld long double #define vi vector<int> #define vll vector<long long int> #define sc(n) scanf("%d",&n); #define scll(n) scanf("%lld",&n); #define scld(n) s...
19.122807
62
0.52844
[ "vector" ]
6b0bab93a5b392bc1fb9d07267b8ad5847a45057
1,478
cpp
C++
cpp-leetcode/leetcode519-random-flip-matrix_hashmap1.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
45
2021-07-25T00:45:43.000Z
2022-03-24T05:10:43.000Z
cpp-leetcode/leetcode519-random-flip-matrix_hashmap1.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
null
null
null
cpp-leetcode/leetcode519-random-flip-matrix_hashmap1.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
15
2021-07-25T00:40:52.000Z
2021-12-27T06:25:31.000Z
#include<vector> #include<algorithm> #include<iostream> #include<unordered_map> using namespace std; class Solution { int r, c, k; // r: 矩阵的行数, c: 列数, k: 矩阵中元素的个数 unordered_map<int, int> dict; // 大脑中构建一个映射: x -> x, 默认用这个映射, 将不满足这个映射的特殊键值对存入哈希表 public: Solution(int m, int n) { r = m; c = n; ...
24.633333
84
0.448579
[ "vector" ]
6b0c57ef28e564cfc7e0e0d3c92e778889f11f58
955
cpp
C++
aws-cpp-sdk-iotevents/source/model/Attribute.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-iotevents/source/model/Attribute.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-iotevents/source/model/Attribute.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iotevents/model/Attribute.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace...
15.916667
69
0.710995
[ "model" ]
6b1207335806fa6597754f267cf27dc88d32a081
12,105
cpp
C++
src/RCubeViewer/RCubeViewer.cpp
Ahdhn/RCube
e64ecfdae7154587e89806c23a11a6f0164e3167
[ "BSD-3-Clause" ]
null
null
null
src/RCubeViewer/RCubeViewer.cpp
Ahdhn/RCube
e64ecfdae7154587e89806c23a11a6f0164e3167
[ "BSD-3-Clause" ]
null
null
null
src/RCubeViewer/RCubeViewer.cpp
Ahdhn/RCube
e64ecfdae7154587e89806c23a11a6f0164e3167
[ "BSD-3-Clause" ]
null
null
null
#include "RCubeViewer/RCubeViewer.h" #include "RCube/Core/Arch/World.h" #include "RCube/Core/Graphics/ImageBasedLighting/IBLDiffuse.h" #include "RCube/Core/Graphics/ImageBasedLighting/IBLSpecularSplitSum.h" #include "RCube/Core/Graphics/MeshGen/Plane.h" #include "RCube/Core/Graphics/TexGen/CheckerBoard.h" #include "RCu...
31.855263
100
0.564891
[ "mesh", "render", "object", "vector", "transform" ]
6b187b40b2719b18402353539d2ef483021baae4
7,985
cxx
C++
ParaViewCore/Animation/vtkPVServerSideAnimationPlayer.cxx
vbnhfylbh/ParaViewRUS
e65ea0edc5d23e593afecd623cbd047282f4c834
[ "Apache-2.0", "BSD-3-Clause" ]
1
2019-04-22T09:09:18.000Z
2019-04-22T09:09:18.000Z
ParaViewCore/Animation/vtkPVServerSideAnimationPlayer.cxx
vbnhfylbh/ParaViewRUS
e65ea0edc5d23e593afecd623cbd047282f4c834
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
ParaViewCore/Animation/vtkPVServerSideAnimationPlayer.cxx
vbnhfylbh/ParaViewRUS
e65ea0edc5d23e593afecd623cbd047282f4c834
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-06-23T09:05:08.000Z
2020-06-23T09:05:08.000Z
/*========================================================================= Program: ParaView Module: vtkPVServerSideAnimationPlayer.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRANT...
32.591837
103
0.622417
[ "render" ]
6b2004a156740f195630300bd27ffecb26733718
6,934
cc
C++
mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/minddata_node.cc
dongkcs/mindspore
cd7df6dbf463ff3128e9181e9d0c779cecb81320
[ "Apache-2.0" ]
2
2020-11-23T13:46:37.000Z
2020-12-20T02:02:38.000Z
mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/minddata_node.cc
dongkcs/mindspore
cd7df6dbf463ff3128e9181e9d0c779cecb81320
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/minddata_node.cc
dongkcs/mindspore
cd7df6dbf463ff3128e9181e9d0c779cecb81320
[ "Apache-2.0" ]
1
2021-01-01T08:35:01.000Z
2021-01-01T08:35:01.000Z
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
40.080925
120
0.690655
[ "object", "vector" ]
6b20aeee33064425d2101da59af15c470e08d466
1,283
cpp
C++
day10/day10_01/day10_01.cpp
thomasneff/advent_of_code_2020
e662f31a181ecaf50eda9005cf916af2191d9348
[ "MIT" ]
1
2020-12-10T08:25:46.000Z
2020-12-10T08:25:46.000Z
day10/day10_01/day10_01.cpp
thomasneff/advent_of_code_2020
e662f31a181ecaf50eda9005cf916af2191d9348
[ "MIT" ]
null
null
null
day10/day10_01/day10_01.cpp
thomasneff/advent_of_code_2020
e662f31a181ecaf50eda9005cf916af2191d9348
[ "MIT" ]
null
null
null
#include <algorithm> #include <deque> #include <fstream> #include <iostream> #include <set> #include <sstream> #include <string> #include <unordered_map> #include <vector> int main() { std::ifstream input_file("input.txt"); std::string input_line; std::vector<std::string> input_lines; std::vector<long long> inp...
22.910714
170
0.699143
[ "vector" ]
6b24015d06442d2060690eb0bd319db39b282f9f
3,056
cc
C++
ash/host/ash_window_tree_host_ozone.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-08-13T21:04:58.000Z
2015-08-13T21:04:58.000Z
ash/host/ash_window_tree_host_ozone.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/host/ash_window_tree_host_ozone.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T06:34:36.000Z
2020-11-04T06:34:36.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 "ash/host/ash_window_tree_host.h" #include "ash/host/ash_window_tree_host_init_params.h" #include "ash/host/root_window_transformer.h" #include ...
31.183673
80
0.793194
[ "geometry", "transform" ]
6b25ee340966e1f396380169d8af5076e8e05e74
833
hpp
C++
src/utilities/utilities.hpp
lhb8125/HSF
f0cea44691a0e41bdeb5613a2d5a6cd7cda0a999
[ "Apache-2.0" ]
null
null
null
src/utilities/utilities.hpp
lhb8125/HSF
f0cea44691a0e41bdeb5613a2d5a6cd7cda0a999
[ "Apache-2.0" ]
null
null
null
src/utilities/utilities.hpp
lhb8125/HSF
f0cea44691a0e41bdeb5613a2d5a6cd7cda0a999
[ "Apache-2.0" ]
null
null
null
/** * @file: utilities.hpp * @author: Liu Hongbin * @brief: some useful utilities * @date: 2019-10-08 15:12:44 * @last Modified by: lenovo * @last Modified time: 2019-12-03 16:10:48 */ #ifndef UTILITIES_HPP #define UTILITIES_HPP #include "utilityType.h" #include "utilityBasicFunction.h" #include "utilityUsingCpp.h...
21.358974
42
0.72389
[ "vector" ]
6b28b52df4953a008dc110c22f6ab41c6b32a6e6
4,870
cpp
C++
third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
third_party/WebKit/Source/bindings/core/v8/ConditionalFeatures.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2016 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 "bindings/core/v8/ConditionalFeatures.h" #include "bindings/core/v8/ScriptState.h" #include "bindings/core/v8/V8Document.h" #include "bindings/c...
44.678899
80
0.697741
[ "object" ]
6b2ead3a7e2b99c784911257390fdbc0a3246e92
44,525
cpp
C++
ExaHyPE/exahype/repositories/RepositorySTDStack.cpp
linusseelinger/ExaHyPE-Tsunami
92a6e14926862e1584ef1e935874c91d252e8112
[ "BSD-3-Clause" ]
null
null
null
ExaHyPE/exahype/repositories/RepositorySTDStack.cpp
linusseelinger/ExaHyPE-Tsunami
92a6e14926862e1584ef1e935874c91d252e8112
[ "BSD-3-Clause" ]
null
null
null
ExaHyPE/exahype/repositories/RepositorySTDStack.cpp
linusseelinger/ExaHyPE-Tsunami
92a6e14926862e1584ef1e935874c91d252e8112
[ "BSD-3-Clause" ]
1
2021-04-08T16:12:18.000Z
2021-04-08T16:12:18.000Z
#include "exahype/repositories/RepositorySTDStack.h" #include "tarch/Assertions.h" #include "tarch/timing/Watch.h" #include "tarch/compiler/CompilerSpecificSettings.h" #include "tarch/parallel/Node.h" #include "tarch/parallel/NodePool.h" #ifdef Parallel #include "peano/parallel/SendReceiveBufferPool.h" #include "pe...
85.133843
795
0.799798
[ "geometry", "vector" ]
6b353681b5385ef0a5743913e701e31ea3ea04ba
3,252
cpp
C++
ILKQUERY.cpp
StavrosChryselis/spoj
b4b721995634cfc7d5a52eb4cb95347f2fdca2b3
[ "MIT" ]
2
2019-03-02T19:59:54.000Z
2019-05-26T12:58:06.000Z
ILKQUERY.cpp
StavrosChryselis/spoj
b4b721995634cfc7d5a52eb4cb95347f2fdca2b3
[ "MIT" ]
null
null
null
ILKQUERY.cpp
StavrosChryselis/spoj
b4b721995634cfc7d5a52eb4cb95347f2fdca2b3
[ "MIT" ]
null
null
null
/* **************************************************************** **************************************************************** -> Coded by Stavros Chryselis -> Visit my github for more solved problems over multiple sites -> https://github.com/StavrosChryselis -> Feel free to email me at stavrikios@gm...
16.179104
96
0.49508
[ "vector" ]
6b3982eb8348d8e072a199176a7b34b1d5bcee30
6,479
cpp
C++
legacy/btmux-tinymux/trunk/muxcli.cpp
murrayma/btmux
3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa
[ "ClArtistic", "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-07-09T17:37:42.000Z
2020-07-09T17:37:42.000Z
legacy/btmux-tinymux/trunk/muxcli.cpp
murrayma/btmux
3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa
[ "ClArtistic", "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
legacy/btmux-tinymux/trunk/muxcli.cpp
murrayma/btmux
3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa
[ "ClArtistic", "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-11-07T00:02:47.000Z
2020-11-07T00:02:47.000Z
// muxcli.cpp // // $Id: muxcli.cpp,v 1.4 2004/06/10 15:39:34 sdennis Exp $ // // MUX 2.4 // Copyright (C) 1998 through 2004 Solid Vertical Domains, Ltd. All // rights not explicitly given are reserved. // #include "copyright.h" #include <string.h> #include "muxcli.h" // 0 -- A non-option argument. // 1 -- A short-opt...
28.54185
76
0.325359
[ "solid" ]
6b3ddb56a6c65a2a8f5ad6fbd83d530ec14a9f99
9,366
cpp
C++
src/EtfArduinoService/EtfArduinoService/RequestHandlers.cpp
kulbhushanchand/etfarduino
b40e48d5791ff84f13e2ae7da0a00d5f11877f6e
[ "MIT" ]
1
2021-10-06T04:54:58.000Z
2021-10-06T04:54:58.000Z
src/EtfArduinoService/EtfArduinoService/RequestHandlers.cpp
kulbhushanchand/etfarduino
b40e48d5791ff84f13e2ae7da0a00d5f11877f6e
[ "MIT" ]
null
null
null
src/EtfArduinoService/EtfArduinoService/RequestHandlers.cpp
kulbhushanchand/etfarduino
b40e48d5791ff84f13e2ae7da0a00d5f11877f6e
[ "MIT" ]
null
null
null
// RequestHandlers.cpp // (c) 2012 Marko Lalic // EtfArduino may be freely distributed under the MIT license. // For all details and documentation: // http://github.com/mlalic/etfarduino/ #include "stdafx.h" #include "RequestHandlers.h" #include <tchar.h> // ------------------------- // Get Buffered Data Handler // -...
32.748252
115
0.664104
[ "vector" ]
6b481e73ce5bda41f4ea55da36017f5aa753fe7d
2,167
hpp
C++
pybnesian/learning/scores/cv_likelihood.hpp
vishalbelsare/PyBNesian
0190cd4cf6d133746741e2750004ccf0a9061fbd
[ "MIT" ]
8
2021-06-22T19:21:12.000Z
2022-03-26T13:08:05.000Z
pybnesian/learning/scores/cv_likelihood.hpp
vishalbelsare/PyBNesian
0190cd4cf6d133746741e2750004ccf0a9061fbd
[ "MIT" ]
null
null
null
pybnesian/learning/scores/cv_likelihood.hpp
vishalbelsare/PyBNesian
0190cd4cf6d133746741e2750004ccf0a9061fbd
[ "MIT" ]
3
2021-08-20T13:44:46.000Z
2022-03-27T02:57:02.000Z
#ifndef PYBNESIAN_LEARNING_SCORES_CV_LIKELIHOOD_HPP #define PYBNESIAN_LEARNING_SCORES_CV_LIKELIHOOD_HPP #include <dataset/crossvalidation_adaptator.hpp> #include <learning/scores/scores.hpp> using dataset::CrossValidation; using factors::FactorType; using learning::scores::Score; using models::BayesianNetworkBase, mo...
34.951613
117
0.695431
[ "vector", "model" ]
6b58ce4d28a9d8d1ecd4dda3973a4356f7a870e0
14,560
cpp
C++
src/cpp/rtps/writer/StatelessWriter.cpp
ooeygui/Fast-RTPS
c403d8f632c43c704ab72bba432f021a0d125fad
[ "Apache-2.0" ]
1
2020-06-18T00:08:06.000Z
2020-06-18T00:08:06.000Z
src/cpp/rtps/writer/StatelessWriter.cpp
ooeygui/Fast-RTPS
c403d8f632c43c704ab72bba432f021a0d125fad
[ "Apache-2.0" ]
null
null
null
src/cpp/rtps/writer/StatelessWriter.cpp
ooeygui/Fast-RTPS
c403d8f632c43c704ab72bba432f021a0d125fad
[ "Apache-2.0" ]
1
2020-06-16T22:53:50.000Z
2020-06-16T22:53:50.000Z
// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
31.790393
120
0.649176
[ "vector" ]
6b597314d32d670183ae8a7fc3607fc0030172c5
6,593
cpp
C++
src/apps/desktop/PlayTTT/TttPixmaps.cpp
TO85/funstuff
7a3da6db3ae11b5dc69900e3361a1846947681cf
[ "MIT" ]
2
2021-08-07T22:09:25.000Z
2021-08-20T21:41:24.000Z
src/apps/desktop/PlayTTT/TttPixmaps.cpp
TO85/funstuff
7a3da6db3ae11b5dc69900e3361a1846947681cf
[ "MIT" ]
null
null
null
src/apps/desktop/PlayTTT/TttPixmaps.cpp
TO85/funstuff
7a3da6db3ae11b5dc69900e3361a1846947681cf
[ "MIT" ]
null
null
null
#include "TttPixmaps.h" #include <QtDebug> #include <QtCore/QDateTime> #include <QtCore/QDir> #include <QtCore/QTemporaryFile> #include <QtGui/QPainter> TttPixmaps::TttPixmaps(const QSize aSize) : cmBaseSize(aSize.isEmpty() ? QSize(48, 48) : aSize) { qDebug() << Q_FUNC_INFO << cmBaseSize; } QPixmap TttPixmap...
34.883598
102
0.622023
[ "shape" ]
6b69f6bfb47156b622f4c4f80af04338863035d2
3,975
hpp
C++
src/lib/client/CommandEqualizerBandRequestBases.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
1
2021-05-21T21:10:09.000Z
2021-05-21T21:10:09.000Z
src/lib/client/CommandEqualizerBandRequestBases.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
12
2021-06-12T16:42:30.000Z
2022-02-01T18:44:42.000Z
src/lib/client/CommandEqualizerBandRequestBases.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019-2021 Grant Erickson * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
29.227941
244
0.753208
[ "object", "model" ]
6b6fee9d23b5637940391ce13cbdc54ce4d42ef8
894
cpp
C++
2017.4.17/c.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
2017.4.17/c.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
2017.4.17/c.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cstdlib> #include<cmath> #include<string> #include<vector> #include<stack> #include<set> #include<map> #include<queue> #include<algorithm> using namespace std; char s[100005]; int main(){ int len; int i,j; int ans; scanf("%s",s); len=strlen(s); char c...
13.753846
26
0.525727
[ "vector" ]
6b742dea247242203e1b1167959f82b5bd9e092d
2,356
cpp
C++
src/lib/environments.cpp
bloomen/libunittest
b168539c70e5ac8a3c67d295e368d07f3c1854fb
[ "MIT" ]
2
2020-11-05T12:38:35.000Z
2021-03-19T06:02:03.000Z
src/lib/environments.cpp
bloomen/libunittest
b168539c70e5ac8a3c67d295e368d07f3c1854fb
[ "MIT" ]
null
null
null
src/lib/environments.cpp
bloomen/libunittest
b168539c70e5ac8a3c67d295e368d07f3c1854fb
[ "MIT" ]
null
null
null
#include "libunittest/environments.hpp" #include "libunittest/userargs.hpp" #include "libunittest/testsuite.hpp" #include "libunittest/testresults.hpp" #include "libunittest/utilities.hpp" #include "libunittest/testfailure.hpp" #include "libunittest/quote.hpp" #include <iostream> #include <fstream> #include <random> n...
33.183099
84
0.676146
[ "vector" ]
6b784989b73165b324a28f7334df9175d1fc4dd7
23,684
cpp
C++
src/mods/_purgatory/csa/csa.cpp
JonnyWideFoot/pd.arcus
a6197a5a2a18c0e3f752e15aa982d1e44d052730
[ "BSD-4-Clause-UC" ]
null
null
null
src/mods/_purgatory/csa/csa.cpp
JonnyWideFoot/pd.arcus
a6197a5a2a18c0e3f752e15aa982d1e44d052730
[ "BSD-4-Clause-UC" ]
null
null
null
src/mods/_purgatory/csa/csa.cpp
JonnyWideFoot/pd.arcus
a6197a5a2a18c0e3f752e15aa982d1e44d052730
[ "BSD-4-Clause-UC" ]
null
null
null
// -------------------------------------------------------------------------------- // File: csa.cpp // Description: Conformational Space Annealing (Scheraga et al. 1999) // Version: 0.1 // Author: Michael Tyka // mail: m.tyka@bristol.ac.uk // // Dependencies: wspace.h // Headers: csa.h // Sources: csa.cpp // Classe(s)...
29.941846
172
0.646724
[ "vector" ]
6b7ec12d2b54b2776caed07c6493b4765d541f12
724
hpp
C++
include/RenderWindow.hpp
raemix/gateway
69cc72ac0b4fab9eab33a16c442bbe8c9da247b0
[ "MIT" ]
null
null
null
include/RenderWindow.hpp
raemix/gateway
69cc72ac0b4fab9eab33a16c442bbe8c9da247b0
[ "MIT" ]
null
null
null
include/RenderWindow.hpp
raemix/gateway
69cc72ac0b4fab9eab33a16c442bbe8c9da247b0
[ "MIT" ]
null
null
null
#pragma once #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <SDL2/SDL_ttf.h> class Entity; class RenderWindow{ public: RenderWindow(){}; void start(const char* title, int width, int height); SDL_Texture* LoadTexture(const char* filePath); int getRefreshRate(); void clear(); void render(Entity& ent);...
26.814815
92
0.734807
[ "render" ]
6b8814ff250c75fd41546f822e974b487a31a7ef
1,689
cpp
C++
Silence.Core/OrthoShader.cpp
wt-student-projects/games-technology-project
70790e26f087fd401b0211a59b7c2beaef9546c9
[ "Apache-2.0" ]
null
null
null
Silence.Core/OrthoShader.cpp
wt-student-projects/games-technology-project
70790e26f087fd401b0211a59b7c2beaef9546c9
[ "Apache-2.0" ]
4
2016-07-15T21:23:08.000Z
2016-08-28T21:40:16.000Z
Silence.Core/OrthoShader.cpp
wt-student-projects/games-technology-project
70790e26f087fd401b0211a59b7c2beaef9546c9
[ "Apache-2.0" ]
null
null
null
#include "OrthoShader.h" OrthoShader::OrthoShader() : program(nullptr) { } OrthoShader::~OrthoShader() { SAFE_RELEASE(program) } void OrthoShader::compile() { if (program == nullptr) { program = new GPU_Program(); program->setFragmentSource(SRC( layout(location = 0) out v...
22.52
79
0.547069
[ "model" ]
6b8a8fe7b8357cc779db96b344a5e2d0d8a9688a
4,720
cc
C++
src/eckit/filesystem/PathNameFactory.cc
matthewrmshin/eckit
ea30183f8d7a65ed89abf97f86d97e02ec366144
[ "Apache-2.0" ]
10
2018-03-01T22:11:10.000Z
2021-05-17T14:13:58.000Z
src/eckit/filesystem/PathNameFactory.cc
matthewrmshin/eckit
ea30183f8d7a65ed89abf97f86d97e02ec366144
[ "Apache-2.0" ]
43
2018-04-11T11:13:44.000Z
2022-03-31T15:28:03.000Z
src/eckit/filesystem/PathNameFactory.cc
matthewrmshin/eckit
ea30183f8d7a65ed89abf97f86d97e02ec366144
[ "Apache-2.0" ]
20
2018-03-07T21:36:50.000Z
2022-03-30T13:25:25.000Z
/* * (C) Copyright 1996- 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 interg...
35.223881
120
0.601059
[ "vector" ]
6b8b17b58dbec797211aecbc42a7685e61546635
26,956
cpp
C++
src/scenes/SongScene.cpp
rodri042/piugba
bb3aae80c3a74d87531a825eba35a032f45c42a3
[ "TU-Berlin-1.0", "MIT" ]
37
2020-03-29T03:55:17.000Z
2022-01-12T02:12:14.000Z
src/scenes/SongScene.cpp
rodri042/piugba
bb3aae80c3a74d87531a825eba35a032f45c42a3
[ "TU-Berlin-1.0", "MIT" ]
2
2020-06-27T16:49:33.000Z
2020-07-20T04:55:07.000Z
src/scenes/SongScene.cpp
rodri042/piugba
bb3aae80c3a74d87531a825eba35a032f45c42a3
[ "TU-Berlin-1.0", "MIT" ]
2
2021-05-31T00:39:38.000Z
2021-07-12T21:01:23.000Z
#include "SongScene.h" #include <libgba-sprite-engine/effects/fade_out_scene.h> #include <libgba-sprite-engine/gba/tonc_math.h> #include <libgba-sprite-engine/palette/palette_manager.h> #include "DanceGradeScene.h" #include "SelectionScene.h" #include "StageBreakScene.h" #include "data/content/_compiled_sprites/palet...
29.621978
80
0.65503
[ "vector" ]
6b8d537f645d09bf174c79596f92f4dac9e86363
7,868
cc
C++
examples/cpp_cb/route_guide/route_guide_cb_server.cc
jinq0123/grpc_cb
1b3058528d66dd6777a3248550a3d87f6b9e1b7f
[ "Apache-2.0" ]
43
2016-11-02T15:19:00.000Z
2021-08-19T08:46:24.000Z
examples/cpp_cb/route_guide/route_guide_cb_server.cc
jinq0123/grpc_cb
1b3058528d66dd6777a3248550a3d87f6b9e1b7f
[ "Apache-2.0" ]
2
2018-02-09T09:06:37.000Z
2018-08-18T01:26:13.000Z
examples/cpp_cb/route_guide/route_guide_cb_server.cc
jinq0123/grpc_cb
1b3058528d66dd6777a3248550a3d87f6b9e1b7f
[ "Apache-2.0" ]
19
2016-12-04T08:49:27.000Z
2022-03-29T07:30:59.000Z
/* * * Copyright 2015, Google Inc. * Copyright 2017, Jin Qing (http://blog.csdn.net/jq0123). * 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 mu...
32.647303
76
0.673869
[ "vector" ]
6b936fd1980cb9d0713bbe8545c06a2cac37590e
11,560
cpp
C++
dali/internal/accessibility/tizen-wayland/atspi/bridge-object.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali/internal/accessibility/tizen-wayland/atspi/bridge-object.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-10-19T13:45:40.000Z
2020-12-10T20:21:03.000Z
dali/internal/accessibility/tizen-wayland/atspi/bridge-object.cpp
expertisesolutions/dali-adaptor
810bf4dea833ea7dfbd2a0c82193bc0b3b155011
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * 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...
20.20979
149
0.560467
[ "object" ]
6b94f4ea5bdd2ffc1cdf7684568fe1a7b2928278
5,463
cc
C++
paddle/fluid/operators/fused/conv_fusion_op.cc
OuyangChao/Paddle
cac9635a6733ffbbd816b33e21c3054e0cd81ab1
[ "Apache-2.0" ]
17,085
2016-11-18T06:40:52.000Z
2022-03-31T22:52:32.000Z
paddle/fluid/operators/fused/conv_fusion_op.cc
AFLee/Paddle
311b3b44fc7d51d4d66d90ab8a3fc0d42231afda
[ "Apache-2.0" ]
29,769
2016-11-18T06:35:22.000Z
2022-03-31T16:46:15.000Z
paddle/fluid/operators/fused/conv_fusion_op.cc
AFLee/Paddle
311b3b44fc7d51d4d66d90ab8a3fc0d42231afda
[ "Apache-2.0" ]
4,641
2016-11-18T07:43:33.000Z
2022-03-31T15:15:02.000Z
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
39.302158
80
0.648179
[ "shape", "vector" ]
6b9d6ec70b02a30cb8f1ecd5f79d7849e60737b7
19,440
cpp
C++
kernel/kernel/net/tcp.cpp
heatd/Onyx
404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d
[ "MIT" ]
44
2017-02-16T20:48:09.000Z
2022-03-14T17:58:57.000Z
kernel/kernel/net/tcp.cpp
heatd/Onyx
404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d
[ "MIT" ]
72
2017-02-16T20:22:10.000Z
2022-03-31T21:17:06.000Z
kernel/kernel/net/tcp.cpp
heatd/Onyx
404fce9c89a1d4ab561b5be63bd9bc68a6c9d91d
[ "MIT" ]
10
2017-04-07T19:20:14.000Z
2021-12-16T03:31:14.000Z
/* * Copyright (c) 2020 Pedro Falcato * This file is part of Onyx, and is released under the terms of the MIT License * check LICENSE at the root directory for more information */ #include <errno.h> #include <stdio.h> #include <onyx/random.h> #include <onyx/byteswap.h> #include <onyx/net/socket_table.h> #include <on...
22.217143
109
0.702418
[ "vector" ]
6ba4eafcd99f5d65296a4138713bc7238a7f4776
7,814
cpp
C++
src/Shader.cpp
0ctobyte/opengl-render
07f34d89a4064645241d88f87b4d4e39203c49aa
[ "MIT" ]
null
null
null
src/Shader.cpp
0ctobyte/opengl-render
07f34d89a4064645241d88f87b4d4e39203c49aa
[ "MIT" ]
null
null
null
src/Shader.cpp
0ctobyte/opengl-render
07f34d89a4064645241d88f87b4d4e39203c49aa
[ "MIT" ]
null
null
null
//Copyright (c) 2012 Sekhar Bhattacharya //Licensed under the MIT license //See license.txt #include <fstream> #include <sstream> #include <Shader.h> using namespace std; GLboolean Shader::Open(const string &filename) { //Deallocate previously used resources, if any exist Close(); //Open the file. Check if file...
25.044872
78
0.706168
[ "geometry", "object", "vector" ]
6ba87ed0093e43129595630307857a887c3bd938
2,894
cc
C++
tensorflow/contrib/tensor_forest/kernels/v4/fertile-stats-resource.cc
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/contrib/tensor_forest/kernels/v4/fertile-stats-resource.cc
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/contrib/tensor_forest/kernels/v4/fertile-stats-resource.cc
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 The TensorFlow Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
36.632911
81
0.69454
[ "vector" ]
6baf9e93d6797af91f4505919e23fc0e22218db5
14,528
cpp
C++
StarExec/src/z3/src/muz/spacer/spacer_antiunify.cpp
yangdinglou/DryadSynth
0e80c08c3f8a95c16c75b413b53b10fa30c945ce
[ "MIT" ]
1
2018-06-29T08:00:08.000Z
2018-06-29T08:00:08.000Z
StarExec/src/z3/src/muz/spacer/spacer_antiunify.cpp
yangdinglou/DryadSynth
0e80c08c3f8a95c16c75b413b53b10fa30c945ce
[ "MIT" ]
null
null
null
StarExec/src/z3/src/muz/spacer/spacer_antiunify.cpp
yangdinglou/DryadSynth
0e80c08c3f8a95c16c75b413b53b10fa30c945ce
[ "MIT" ]
1
2019-01-15T07:51:19.000Z
2019-01-15T07:51:19.000Z
/*++ Copyright (c) 2017 Arie Gurfinkel Module Name: spacer_antiunify.cpp Abstract: Antiunification utilities Author: Bernhard Gleiss Arie Gurfinkel Revision History: --*/ #include"muz/spacer/spacer_antiunify.h" #include"ast/ast.h" #include"ast/rewriter/rewriter.h" #include"ast/rewriter/rewriter_d...
31.582609
91
0.54364
[ "vector" ]
6bb57562a5cfa5c8f37fc1f8f3f1d9bfd3488a04
4,292
hpp
C++
DDEClient.hpp
chrisoldwood/NCL
d57e50ffecddee5c422b6d4cbbadeeb6c65411e9
[ "MIT" ]
8
2015-02-12T00:41:19.000Z
2020-09-11T13:14:05.000Z
DDEClient.hpp
chrisoldwood/NCL
d57e50ffecddee5c422b6d4cbbadeeb6c65411e9
[ "MIT" ]
null
null
null
DDEClient.hpp
chrisoldwood/NCL
d57e50ffecddee5c422b6d4cbbadeeb6c65411e9
[ "MIT" ]
4
2017-04-27T14:25:06.000Z
2020-07-23T10:54:29.000Z
/****************************************************************************** ** (C) Chris Oldwood ** ** MODULE: DDECLIENT.HPP ** COMPONENT: Network & Comms Library ** DESCRIPTION: The CDDEClient class declaration. ** ******************************************************************************* */ // Check for pr...
26.170732
155
0.635368
[ "object", "vector" ]
6bb638f0bc7125f1e24de4ffc89dfdb8ba935413
1,566
cpp
C++
PROX/FOUNDATION/GEOMETRY/unit_tests/geometry_make_intersection/geometry_make_intersection.cpp
diku-dk/PROX
c6be72cc253ff75589a1cac28e4e91e788376900
[ "MIT" ]
2
2019-11-27T09:44:45.000Z
2020-01-13T00:24:21.000Z
PROX/FOUNDATION/GEOMETRY/unit_tests/geometry_make_intersection/geometry_make_intersection.cpp
erleben/matchstick
1cfdc32b95437bbb0063ded391c34c9ee9b9583b
[ "MIT" ]
null
null
null
PROX/FOUNDATION/GEOMETRY/unit_tests/geometry_make_intersection/geometry_make_intersection.cpp
erleben/matchstick
1cfdc32b95437bbb0063ded391c34c9ee9b9583b
[ "MIT" ]
null
null
null
#include <geometry.h> #include <tiny.h> #define BOOST_AUTO_TEST_MAIN #include <boost/test/auto_unit_test.hpp> #include <boost/test/unit_test_suite.hpp> #include <boost/test/floating_point_comparison.hpp> #include <boost/test/test_tools.hpp> #include <vector> BOOST_AUTO_TEST_SUITE(geometry); BOOST_AUTO_TEST_CASE(in...
33.319149
78
0.671137
[ "geometry", "vector" ]
6bb785098f352873deab20a14c3b7021a3ad7c8f
9,305
cpp
C++
src/main/cpp/win_fsnotifier.cpp
wolfs/native-platform
79a56f78ea83f3bc0a9e85303814e3c553de15ad
[ "Apache-2.0" ]
1
2022-03-22T05:55:35.000Z
2022-03-22T05:55:35.000Z
src/main/cpp/win_fsnotifier.cpp
wolfs/native-platform
79a56f78ea83f3bc0a9e85303814e3c553de15ad
[ "Apache-2.0" ]
null
null
null
src/main/cpp/win_fsnotifier.cpp
wolfs/native-platform
79a56f78ea83f3bc0a9e85303814e3c553de15ad
[ "Apache-2.0" ]
null
null
null
// Initial version copied from Initial version copied from https://github.com/JetBrains/intellij-community/blob/master/native/WinFsNotifier/fileWatcher3.c // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. #ifdef _WIN32 #include...
40.991189
173
0.65223
[ "object" ]
6bbb04198b2ede7368828bc50d87dd6fcc7d9535
23,206
cpp
C++
Apps/Tutorials/05-Typography/TypographyApp.cpp
egorodet/MethaneK
e997f737304893e6966a63d7c8f2b77a342fe347
[ "Apache-2.0" ]
528
2019-03-10T20:21:29.000Z
2022-03-30T20:25:21.000Z
Apps/Tutorials/05-Typography/TypographyApp.cpp
egorodet/MethaneK
e997f737304893e6966a63d7c8f2b77a342fe347
[ "Apache-2.0" ]
78
2019-03-12T19:28:32.000Z
2022-03-06T14:15:44.000Z
Apps/Tutorials/05-Typography/TypographyApp.cpp
egorodet/MethaneK
e997f737304893e6966a63d7c8f2b77a342fe347
[ "Apache-2.0" ]
19
2019-03-17T19:02:45.000Z
2022-01-07T17:16:17.000Z
/****************************************************************************** Copyright 2020 Evgeny Gorodetskiy 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...
39.872852
156
0.672929
[ "render" ]
6bc3e7ff29b9e391f40d1fa9a4a3db357d10fab6
2,155
cc
C++
src/store/strongstore/networkconfig.cc
princeton-sns/spanner-rss
6d7bf5ee6487772cd4f93e8458b5f22ae775974a
[ "MIT" ]
1
2021-11-24T01:38:28.000Z
2021-11-24T01:38:28.000Z
src/store/strongstore/networkconfig.cc
princeton-sns/spanner-rss
6d7bf5ee6487772cd4f93e8458b5f22ae775974a
[ "MIT" ]
null
null
null
src/store/strongstore/networkconfig.cc
princeton-sns/spanner-rss
6d7bf5ee6487772cd4f93e8458b5f22ae775974a
[ "MIT" ]
null
null
null
#include "store/strongstore/networkconfig.h" #include <algorithm> #include <string> #include <vector> #include "lib/assert.h" namespace strongstore { NetworkConfiguration::NetworkConfiguration( transport::Configuration &tport_config, std::istream &file) : tport_config_{tport_config} { file >> net_confi...
28.733333
78
0.606497
[ "vector" ]
6bc4353ac6deb6c2909d2780d5a808bb3c3c6171
18,765
cpp
C++
src/utils/im2col.cpp
HUJI-Deep/simnets-tf
3d73a2a5a5bb525d6a16ac389c9128f8f4cf63c4
[ "MIT" ]
8
2018-05-25T09:26:57.000Z
2019-12-11T12:27:41.000Z
src/utils/im2col.cpp
HUJI-Deep/simnets-tf
3d73a2a5a5bb525d6a16ac389c9128f8f4cf63c4
[ "MIT" ]
3
2018-05-31T03:58:36.000Z
2018-06-11T16:20:33.000Z
src/utils/im2col.cpp
HUJI-Deep/simnets-tf
3d73a2a5a5bb525d6a16ac389c9128f8f4cf63c4
[ "MIT" ]
3
2018-05-30T05:09:48.000Z
2019-08-14T06:55:13.000Z
#include <vector> #include <cstring> // for memset #include "utils/im2col.hpp" namespace simnets_tf { template<typename Dtype> void simnets_tf_set(const int N, const Dtype alpha, Dtype *Y) { if (alpha == 0) { memset(Y, 0, sizeof(Dtype) * N); // NOLINT(caffe/alt_fn) for (int i...
54.708455
118
0.493205
[ "vector", "3d" ]
6bc811330f43c9f55bad66cb7bcd7e4cdb26ca7a
607
cpp
C++
src/base/sfgui/nel_game_sfgui.cpp
frevan/Neuronic-Bomberman
46b0d0d5e661e12d77156f8f43927b023c4b6eb5
[ "MIT", "Unlicense" ]
1
2015-08-30T09:19:46.000Z
2015-08-30T09:19:46.000Z
src/base/sfgui/nel_game_sfgui.cpp
frevan/Neuronic-Bomberman
46b0d0d5e661e12d77156f8f43927b023c4b6eb5
[ "MIT", "Unlicense" ]
null
null
null
src/base/sfgui/nel_game_sfgui.cpp
frevan/Neuronic-Bomberman
46b0d0d5e661e12d77156f8f43927b023c4b6eb5
[ "MIT", "Unlicense" ]
null
null
null
#include "nel_game_sfgui.h" namespace nel { TSFGUIApplication::TSFGUIApplication() : TApplication(), SFGUI() { } void TSFGUIApplication::afterInitialization() { TApplication::afterInitialization(); // We're not using SFML to render anything in this program, so reset OpenGL states. Otherwise we ...
18.96875
121
0.710049
[ "render" ]
6bcb61e29e26544ef13e906c9b6b2f89a22e57bd
4,956
hpp
C++
src/sdm/world/gym/robot_bin/robot_bin.hpp
SDMStudio/sdms
43a86973081ffd86c091aed69b332f0087f59361
[ "MIT" ]
null
null
null
src/sdm/world/gym/robot_bin/robot_bin.hpp
SDMStudio/sdms
43a86973081ffd86c091aed69b332f0087f59361
[ "MIT" ]
null
null
null
src/sdm/world/gym/robot_bin/robot_bin.hpp
SDMStudio/sdms
43a86973081ffd86c091aed69b332f0087f59361
[ "MIT" ]
null
null
null
/** * @file gym_interface.hpp * @author David Albert (david.albert@insa-lyon.fr) * @brief * @version 1.0 * @date 04/03/2021 * * @copyright Copyright (c) 2021 * */ #pragma once #include <vector> #include "core/Coordinate.hpp" #include <sdm/types.hpp> #include <sdm/utils/config.hpp> #include <sdm/utils/struct...
36.985075
161
0.503228
[ "vector" ]
6bce6e2ec2ebb700975e2f11d2a2daa8dd19fe37
4,275
hpp
C++
include/graphtyper/graph/haplotype.hpp
DecodeGenetics/graphtyper
f9edcf4cf040197f57e208ff6f910e5a2875f692
[ "MIT" ]
122
2017-06-09T18:05:57.000Z
2022-03-27T20:22:22.000Z
include/graphtyper/graph/haplotype.hpp
DecodeGenetics/graphtyper
f9edcf4cf040197f57e208ff6f910e5a2875f692
[ "MIT" ]
79
2017-06-12T06:35:06.000Z
2022-03-30T16:01:11.000Z
include/graphtyper/graph/haplotype.hpp
DecodeGenetics/graphtyper
f9edcf4cf040197f57e208ff6f910e5a2875f692
[ "MIT" ]
14
2017-06-22T13:02:21.000Z
2022-03-26T01:45:02.000Z
#pragma once #include <bitset> // std::bitset #include <cstdint> // uint64_t #include <memory> // std::unique_ptr #include <set> #include <vector> // std::vector #include <parallel_hashmap/phmap.h> #include <graphtyper/constants.hpp> // MAX_NUMBER_OF_HAPLOTYPES #include <graphtyper/graph/genotype.hpp> // gy...
29.482759
116
0.705497
[ "vector" ]
6bcf39a92a240cc1bb3ec6d5ee1dd28dcdf79eca
13,835
cpp
C++
Util/llvm/tools/clang/lib/Frontend/PlistDiagnostics.cpp
ianloic/unladen-swallow
28148f4ddbb3d519042de1f9fc9f1356fdd31e31
[ "PSF-2.0" ]
5
2020-06-30T05:06:40.000Z
2021-05-24T08:38:33.000Z
Util/llvm/tools/clang/lib/Frontend/PlistDiagnostics.cpp
ianloic/unladen-swallow
28148f4ddbb3d519042de1f9fc9f1356fdd31e31
[ "PSF-2.0" ]
null
null
null
Util/llvm/tools/clang/lib/Frontend/PlistDiagnostics.cpp
ianloic/unladen-swallow
28148f4ddbb3d519042de1f9fc9f1356fdd31e31
[ "PSF-2.0" ]
2
2015-10-01T18:28:20.000Z
2020-09-09T16:25:27.000Z
//===--- PlistDiagnostics.cpp - Plist Diagnostics for Paths -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
31.804598
85
0.58193
[ "object", "vector" ]
6bd4adcf3f9d73333b3e5d0806702730ebfe2da6
8,312
cpp
C++
examples/cadmium-dynamic-LI33.cpp
gtrabes/devstone
ea31c3306f070458ed59210b0986e4748a4a45f7
[ "BSD-2-Clause" ]
1
2019-07-08T09:27:15.000Z
2019-07-08T09:27:15.000Z
examples/cadmium-dynamic-LI33.cpp
gtrabes/devstone
ea31c3306f070458ed59210b0986e4748a4a45f7
[ "BSD-2-Clause" ]
9
2018-12-11T14:31:30.000Z
2019-05-21T16:04:32.000Z
examples/cadmium-dynamic-LI33.cpp
gtrabes/devstone
ea31c3306f070458ed59210b0986e4748a4a45f7
[ "BSD-2-Clause" ]
2
2019-02-26T16:07:27.000Z
2020-06-27T20:55:45.000Z
//THIS IS A REF FOR AN AUTOGENERATED MODEL /** * Copyright (c) 2019, Juan Lanuza * 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 co...
47.497143
187
0.782243
[ "model" ]
6bd4ecc38cf404068eeb3ecfb7e9226e53bd658b
9,661
cpp
C++
ag_pathanalysis/libtracewrap/libtrace/src/cpp/trace.container.cpp
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2019-12-05T19:47:42.000Z
2021-05-05T13:41:16.000Z
ag_pathanalysis/libtracewrap/libtrace/src/cpp/trace.container.cpp
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
null
null
null
ag_pathanalysis/libtracewrap/libtrace/src/cpp/trace.container.cpp
BambooL/AutoGrader
f537d396605d1b943137b1b964c5a2ebecbf2aca
[ "MIT" ]
2
2021-04-20T07:44:02.000Z
2021-04-20T08:38:41.000Z
/** * Implementation of trace container. */ #include "trace.container.hpp" #include <stdio.h> #include <iostream> #include <string> #define WRITE(x) { if (fwrite(&(x), sizeof(x), 1, ofs) != 1) { throw (TraceException("Unable to write to trace")); } } #define READ(x) { if (fread(&(x), sizeof(x), 1, ifs) != 1) { thro...
29.817901
126
0.633164
[ "vector" ]
6bd780c0a4ec7f1d7483d869d37a222fc0e6f0c2
3,790
cc
C++
src/config.cc
jamenlang/sasl-xoauth2-1
92d27153688c1add9cb64f5856981466fd67e4da
[ "Apache-2.0" ]
null
null
null
src/config.cc
jamenlang/sasl-xoauth2-1
92d27153688c1add9cb64f5856981466fd67e4da
[ "Apache-2.0" ]
null
null
null
src/config.cc
jamenlang/sasl-xoauth2-1
92d27153688c1add9cb64f5856981466fd67e4da
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 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 ...
23.6875
79
0.644063
[ "transform" ]
6bdc8f557f0ce9c8ccc92d96b563c7f4b0f3926d
10,754
hpp
C++
boost/graph/distributed/cc_chaotic.hpp
thejkane/AGM
4d5cfe9522461d207ceaef7d90c1cd10ce9b469c
[ "BSL-1.0" ]
1
2021-09-03T10:22:04.000Z
2021-09-03T10:22:04.000Z
boost/graph/distributed/cc_chaotic.hpp
thejkane/AGM
4d5cfe9522461d207ceaef7d90c1cd10ce9b469c
[ "BSL-1.0" ]
null
null
null
boost/graph/distributed/cc_chaotic.hpp
thejkane/AGM
4d5cfe9522461d207ceaef7d90c1cd10ce9b469c
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2018 Thejaka Amila Kanewala, Marcin Zalewski, Andrew Lumsdaine. // Boost Software License - Version 1.0 - August 17th, 2003 // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the...
30.207865
120
0.714432
[ "object" ]
6be9849c8c08120f9d93d68ab76e75fe068a18d5
26,322
cc
C++
ge/hybrid/node_executor/hccl/hccl_node_executor.cc
mindspore-ai/graphengine
460406cbd691b963d125837f022be5d8abd1a637
[ "Apache-2.0" ]
207
2020-03-28T02:12:50.000Z
2021-11-23T18:27:45.000Z
ge/hybrid/node_executor/hccl/hccl_node_executor.cc
mindspore-ai/graphengine
460406cbd691b963d125837f022be5d8abd1a637
[ "Apache-2.0" ]
4
2020-04-17T07:32:44.000Z
2021-06-26T04:55:03.000Z
ge/hybrid/node_executor/hccl/hccl_node_executor.cc
mindspore-ai/graphengine
460406cbd691b963d125837f022be5d8abd1a637
[ "Apache-2.0" ]
13
2020-03-28T02:52:26.000Z
2021-07-03T23:12:54.000Z
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
45.226804
119
0.692235
[ "shape", "vector", "model" ]
6bfbe45bc0d10beb4de9690d8f5247f07839a41d
6,546
cpp
C++
pyramid.cpp
sina-cb/ColonD_ImageProcessor
2005e3f0078a9247345e298ed6eff6c1d2ac9e64
[ "Apache-2.0" ]
null
null
null
pyramid.cpp
sina-cb/ColonD_ImageProcessor
2005e3f0078a9247345e298ed6eff6c1d2ac9e64
[ "Apache-2.0" ]
null
null
null
pyramid.cpp
sina-cb/ColonD_ImageProcessor
2005e3f0078a9247345e298ed6eff6c1d2ac9e64
[ "Apache-2.0" ]
null
null
null
#include "pyramid.h" #include <iostream> #include <cstdio> #include <unistd.h> #include "processor.h" using namespace std; Pyramid::Pyramid(int level) { this->level = level; pyramid = new Mat[this->level]; expanded_zero = new Mat[this->level]; expanded_first = new Mat[this->level]; } void Pyramid::cr...
27.389121
105
0.519707
[ "vector" ]
d405a44326263ead50f90360a61d8abaa2165a19
6,148
cpp
C++
src/utils.cpp
moneroexamples/jsonifymonerotx
55ce221735cec485b5b64380b2e2e21ebd14dcc4
[ "BSD-3-Clause" ]
3
2018-12-23T19:45:44.000Z
2021-06-05T17:57:03.000Z
src/utils.cpp
moneroexamples/jsonifymonerotx
55ce221735cec485b5b64380b2e2e21ebd14dcc4
[ "BSD-3-Clause" ]
null
null
null
src/utils.cpp
moneroexamples/jsonifymonerotx
55ce221735cec485b5b64380b2e2e21ebd14dcc4
[ "BSD-3-Clause" ]
null
null
null
#include "utils.hpp" #include "boost/algorithm/string.hpp" namespace xmreg { map<string, boost::any> process_program_options(int argc, const char *argv[]) { map<string, boost::any> options; options["help"] = false; options["error"] = false; options["nettype"] = network_type::STAGENET; options["h...
28.201835
86
0.545543
[ "vector" ]
d40761ecec95501fc21071f8770df69c959cbc8c
11,821
cpp
C++
repeat_tract_detector.cpp
Yichen-Si/vt-topmed
e22e964a68e236b190b3038318ca9799f1922e0e
[ "MIT" ]
null
null
null
repeat_tract_detector.cpp
Yichen-Si/vt-topmed
e22e964a68e236b190b3038318ca9799f1922e0e
[ "MIT" ]
1
2019-12-26T09:34:03.000Z
2019-12-26T09:34:03.000Z
repeat_tract_detector.cpp
Yichen-Si/vt-topmed
e22e964a68e236b190b3038318ca9799f1922e0e
[ "MIT" ]
1
2021-09-18T18:23:00.000Z
2021-09-18T18:23:00.000Z
/* The MIT License Copyright (c) 2015 Adrian Tan <atks@umich.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to us...
31.862534
127
0.511463
[ "vector", "model" ]
d40a623987929c558a72ac42fc207ae865cbbaf3
426
hpp
C++
include/parser.hpp
kim-hyunsu/mini-c
2a11d4647376a4ce0ab88664d007569650e8a0ec
[ "MIT" ]
null
null
null
include/parser.hpp
kim-hyunsu/mini-c
2a11d4647376a4ce0ab88664d007569650e8a0ec
[ "MIT" ]
null
null
null
include/parser.hpp
kim-hyunsu/mini-c
2a11d4647376a4ce0ab88664d007569650e8a0ec
[ "MIT" ]
null
null
null
#ifndef PARSER_H #define PARSER_H #include <vector> #include "Lexer.hpp" #include "TypeObject.hpp" #include "ParseTree.hpp" class Parser { public: Lexer lexer; std::vector<std::pair<void*, Token>> tokens; int cursor; TypeObject *typeObject; std::string currentName; public: Parser(std::string filename)...
16.384615
46
0.70892
[ "vector" ]
d40b6843bb850531ad4b96453befe8c5264ece13
7,347
cc
C++
test/unit/separate_binary/cell_test.cc
asalikhzyanov/biodynamo
407b48d04e5084bb5de515a1f47bc5615998f657
[ "Apache-2.0" ]
null
null
null
test/unit/separate_binary/cell_test.cc
asalikhzyanov/biodynamo
407b48d04e5084bb5de515a1f47bc5615998f657
[ "Apache-2.0" ]
null
null
null
test/unit/separate_binary/cell_test.cc
asalikhzyanov/biodynamo
407b48d04e5084bb5de515a1f47bc5615998f657
[ "Apache-2.0" ]
null
null
null
// ----------------------------------------------------------------------------- // // Copyright (C) The BioDynaMo Project. // 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. // // See the LICENSE file distrib...
32.223684
80
0.712808
[ "vector" ]
d40cf93a778ca92152d7ae18ae17e5b5fe11b486
1,065
cpp
C++
src/win/screenshot_win.cpp
nashaofu/screenshot-node
90e14724c1d67280ec1181a45061213cdc40afe3
[ "MIT" ]
3
2020-12-03T06:35:13.000Z
2021-10-06T02:08:19.000Z
src/win/screenshot_win.cpp
nashaofu/screenshot-node
90e14724c1d67280ec1181a45061213cdc40afe3
[ "MIT" ]
null
null
null
src/win/screenshot_win.cpp
nashaofu/screenshot-node
90e14724c1d67280ec1181a45061213cdc40afe3
[ "MIT" ]
1
2021-07-17T14:21:04.000Z
2021-07-17T14:21:04.000Z
#include <napi.h> #include "prtscn_win.h" Napi::Value getScreenshotSync(const Napi::CallbackInfo &info) { Napi::Env env = info.Env(); if (info.Length() < 4) { Napi::TypeError::New(env, "Wrong number of arguments").ThrowAsJavaScriptException(); return env.Null(); } if (!info[0].IsNumber() || !info[1...
28.783784
104
0.662911
[ "object" ]
d41f78d71e886652edef897d7420f72c3bf1a042
35,281
hpp
C++
external/boost_1_47_0/boost/interprocess/detail/move.hpp
zigaosolin/Raytracer
df17f77e814b2e4b90c4a194e18cc81fa84dcb27
[ "MIT" ]
27
2020-11-12T19:24:54.000Z
2022-03-27T23:10:45.000Z
boost/interprocess/detail/move.hpp
ksundberg/boost-svn
5694e7831f7afc8f6e25d03d0fd375e7be758d0f
[ "BSL-1.0" ]
2
2020-11-02T06:30:39.000Z
2022-02-23T18:39:55.000Z
boost/interprocess/detail/move.hpp
ksundberg/boost-svn
5694e7831f7afc8f6e25d03d0fd375e7be758d0f
[ "BSL-1.0" ]
3
2017-03-04T08:50:46.000Z
2020-10-23T14:27:04.000Z
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright David Abrahams, Vicente Botet 2009. // (C) Copyright Ion Gaztanaga 2009-2010. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICE...
30.467185
136
0.60449
[ "object" ]
d42141312cc9f1580d98f6e6a459b8e42b26dc8d
880
hpp
C++
motion_planning/ugv_planning/pure_pursuit/include/pure_pursuit/subscriber/path_subscriber.hpp
robin-shaun/xtdrone
f255d001e2b83e2dd54e8086f881c58a4efd53ee
[ "MIT" ]
null
null
null
motion_planning/ugv_planning/pure_pursuit/include/pure_pursuit/subscriber/path_subscriber.hpp
robin-shaun/xtdrone
f255d001e2b83e2dd54e8086f881c58a4efd53ee
[ "MIT" ]
null
null
null
motion_planning/ugv_planning/pure_pursuit/include/pure_pursuit/subscriber/path_subscriber.hpp
robin-shaun/xtdrone
f255d001e2b83e2dd54e8086f881c58a4efd53ee
[ "MIT" ]
null
null
null
#ifndef HYBRID_ASTAR_TEST_SUBSCRIBER_PATH_SUBSCRIBER_H_PP #define HYBRID_ASTAR_TEST_SUBSCRIBER_PATH_SUBSCRIBER_H_PP #include <ros/ros.h> #include <Eigen/Dense> #include <nav_msgs/Path.h> #include <geometry_msgs/PoseArray.h> #include <geometry_msgs/Pose.h> #include <geometry_msgs/PoseStamped.h> #include <tf/transform...
25.142857
73
0.732955
[ "vector" ]