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
e111110e518aadbdfbe6752d1effcf0144ba5230
4,940
cpp
C++
himan-plugins/source/hybrid_pressure.cpp
jrintala/fmi-data
625f0a44919e6406440349425ee0b3f1a64a923d
[ "MIT" ]
null
null
null
himan-plugins/source/hybrid_pressure.cpp
jrintala/fmi-data
625f0a44919e6406440349425ee0b3f1a64a923d
[ "MIT" ]
null
null
null
himan-plugins/source/hybrid_pressure.cpp
jrintala/fmi-data
625f0a44919e6406440349425ee0b3f1a64a923d
[ "MIT" ]
null
null
null
/** * @file hybrid_pressure.cpp * */ #include "hybrid_pressure.h" #include "forecast_time.h" #include "level.h" #include "logger.h" #include "plugin_factory.h" #include "util.h" #include "cache.h" #include "writer.h" using namespace std; using namespace himan::plugin; mutex lnspMutex, mySingleFileWriteMutex; ma...
23.75
115
0.676316
[ "vector" ]
e111ac4b4bf59dc724d77aeb91fd9641d7880969
2,726
cpp
C++
src/tools.cpp
Murasr/CarND-Extended-Kalman-Filter-Project
beb2524df15fcab5ea0cc4b2b7a7feb16d77378b
[ "MIT" ]
null
null
null
src/tools.cpp
Murasr/CarND-Extended-Kalman-Filter-Project
beb2524df15fcab5ea0cc4b2b7a7feb16d77378b
[ "MIT" ]
null
null
null
src/tools.cpp
Murasr/CarND-Extended-Kalman-Filter-Project
beb2524df15fcab5ea0cc4b2b7a7feb16d77378b
[ "MIT" ]
null
null
null
#include "tools.h" #include <iostream> using Eigen::VectorXd; using Eigen::MatrixXd; using std::vector; Tools::Tools() {} Tools::~Tools() {} VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations, const vector<VectorXd> &ground_truth) { /** * TODO: Calculate the RMSE he...
22.344262
99
0.532649
[ "vector" ]
e113c1223a86475927125e5f876fd2311dddf241
4,591
hpp
C++
modules/optimisation/include/facekit/optimisation/genetic_solver.hpp
cecabert/FaceKit
766a32fc7f65ae5deceeba5628c225631986c4d8
[ "Apache-2.0" ]
null
null
null
modules/optimisation/include/facekit/optimisation/genetic_solver.hpp
cecabert/FaceKit
766a32fc7f65ae5deceeba5628c225631986c4d8
[ "Apache-2.0" ]
null
null
null
modules/optimisation/include/facekit/optimisation/genetic_solver.hpp
cecabert/FaceKit
766a32fc7f65ae5deceeba5628c225631986c4d8
[ "Apache-2.0" ]
1
2017-11-29T12:03:08.000Z
2017-11-29T12:03:08.000Z
/** * @file genetic_solver.hpp * @brief Genetic Solver implementation of "Genetic algorithms for modelling * and optimisation" * @ingroup optimisation * * @author Christophe Ecabert * @date 10.04.18 * Copyright © 2018 Christophe Ecabert. All rights reserved. */ #ifndef __FACEKIT_GENETIC_SO...
25.364641
134
0.648007
[ "object" ]
e114a94f122dbf350e8436ec483b0f0c624ed150
2,792
hpp
C++
packages/monte_carlo/core/src/MonteCarlo_PositronState.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/core/src/MonteCarlo_PositronState.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/core/src/MonteCarlo_PositronState.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_PositronState.hpp //! \author Luke Kersting //! \brief Positron state class declaration //! //---------------------------------------------------------------------------// #ifndef MONTE_CARLO_POSITRON_STATE_HPP ...
30.021505
79
0.664398
[ "object" ]
e120592a065df3733b8a91f7c7d1f6d3812bd090
11,056
cpp
C++
src/metaspades/src/projects/hammer/hammer_tools.cpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/projects/hammer/hammer_tools.cpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/projects/hammer/hammer_tools.cpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
2
2021-06-05T07:40:20.000Z
2021-06-05T08:02:58.000Z
//*************************************************************************** //* Copyright (c) 2015 Saint Petersburg State University //* Copyright (c) 2011-2014 Saint Petersburg Academic University //* All Rights Reserved //* See file LICENSE for details. //************************************************************...
39.205674
167
0.628075
[ "vector" ]
e120faf6d5d66418523d20fa292fe41353892769
820
cpp
C++
132.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
132.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
132.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ull = uint64_t; using ll = int64_t; using ld = long double; typedef vector<int> vi; typedef pair<int, int> ii; typedef vector<ii> vii; class Solution { public: vi memo; bool isPalindrome(const string& s, int start, int end) { int i = start, j = end - 1; whil...
17.083333
55
0.584146
[ "vector" ]
e12176fbcef6958dd2662ae2cc5c33179a8c8c29
9,200
cpp
C++
src/SSVOpenHexagon/Global/Assets.cpp
mehlon/SSVOpenHexagon
a6abf3bcf41b4f6821c53f92a86f9b8c00ecbaad
[ "AFL-3.0" ]
null
null
null
src/SSVOpenHexagon/Global/Assets.cpp
mehlon/SSVOpenHexagon
a6abf3bcf41b4f6821c53f92a86f9b8c00ecbaad
[ "AFL-3.0" ]
null
null
null
src/SSVOpenHexagon/Global/Assets.cpp
mehlon/SSVOpenHexagon
a6abf3bcf41b4f6821c53f92a86f9b8c00ecbaad
[ "AFL-3.0" ]
null
null
null
// Copyright (c) 2013-2015 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 #include "SSVOpenHexagon/Global/Assets.hpp" #include "SSVOpenHexagon/Global/Config.hpp" #include "SSVOpenHexagon/Online/Definitions.hpp" #include "SSVOpenHexagon/Online...
34.716981
97
0.562174
[ "vector" ]
e12c9205c35300f07197a5e5d3dd168a3b9fc369
8,113
hpp
C++
include/hpritl.hpp
stillwater-sc/hpr-itl
b9cb650054be432189257e51af943138f3970eee
[ "MIT" ]
8
2018-10-31T10:22:02.000Z
2020-07-31T22:24:22.000Z
include/hpritl.hpp
stillwater-sc/hpr-itl
b9cb650054be432189257e51af943138f3970eee
[ "MIT" ]
1
2019-04-01T12:49:45.000Z
2019-04-01T12:49:45.000Z
examples/positdot/include/blas.hpp
lvandam/posit_blas_hdl
4427bcf13cede86f626772903c546cbeae42457e
[ "Apache-2.0" ]
1
2019-10-25T07:09:36.000Z
2019-10-25T07:09:36.000Z
#pragma once // blas.hpp : include file containing templated C++ interfaces to BLAS routines // // Copyright (C) 2017 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <vector> namespace sw { namespace hprblas { ...
33.114286
180
0.557254
[ "vector" ]
e136c15fbfd2ea495084c85623d8c407f8bd038d
10,554
cpp
C++
ThirdParty/libless/src/value/UrlValue.cpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
ThirdParty/libless/src/value/UrlValue.cpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
ThirdParty/libless/src/value/UrlValue.cpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
#include "less/value/UrlValue.h" #include "less/value/FunctionLibrary.h" #ifdef WITH_LIBPNG #include <png.h> #endif #ifdef WITH_LIBJPEG #include <jpeglib.h> #include <setjmp.h> #include <stdio.h> struct urlvalue_jpeg_error_mgr { struct jpeg_error_mgr pub; /* "public" fields */ jmp_buf setjmp_buffer; /* for retu...
29.729577
81
0.667709
[ "object" ]
e137084062291dc030b96219e21cd78a8693ed94
3,194
hpp
C++
include/cex/session.hpp
hispid/libcex
ddab6b73b04248249626a6800e4e79c878ccdc34
[ "MIT" ]
null
null
null
include/cex/session.hpp
hispid/libcex
ddab6b73b04248249626a6800e4e79c878ccdc34
[ "MIT" ]
null
null
null
include/cex/session.hpp
hispid/libcex
ddab6b73b04248249626a6800e4e79c878ccdc34
[ "MIT" ]
null
null
null
//************************************************************************* // File session.hpp // Date 24.04.2018 // Copyright (c) 2018-2019 by Patrick Fial //------------------------------------------------------------------------- // Session functions //***************************************************************...
29.036364
202
0.546024
[ "object" ]
e13d34a9b6de8f100238135aaa15b96929d91dc9
6,469
cpp
C++
src/qt/createnewsdialog.cpp
skydogenet/mainchain
813cdd64ab7589c591a40abcb7395e49f8aefd40
[ "MIT" ]
1
2021-11-11T04:35:36.000Z
2021-11-11T04:35:36.000Z
src/qt/createnewsdialog.cpp
skydogenet/mainchain
813cdd64ab7589c591a40abcb7395e49f8aefd40
[ "MIT" ]
1
2021-11-17T19:56:34.000Z
2021-11-17T19:56:34.000Z
src/qt/createnewsdialog.cpp
skydogenet/mainchain
813cdd64ab7589c591a40abcb7395e49f8aefd40
[ "MIT" ]
null
null
null
// Copyright (c) 2021 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/createnewsdialog.h> #include <qt/forms/ui_createnewsdialog.h> #include <amount.h> #include <wallet/wallet.h> #inclu...
32.18408
116
0.67893
[ "vector" ]
e14ede080d08b145a7663b80649b39ba2eeecea1
4,128
cpp
C++
mstream/anom.cpp
scooter-dangle/MStream
2f48a53ca3f5b2aa4783ec2feaf5041bec4468e1
[ "Apache-2.0" ]
69
2020-09-18T16:58:35.000Z
2022-03-29T11:39:08.000Z
mstream/anom.cpp
scooter-dangle/MStream
2f48a53ca3f5b2aa4783ec2feaf5041bec4468e1
[ "Apache-2.0" ]
1
2021-06-08T18:24:44.000Z
2021-06-09T20:14:06.000Z
mstream/anom.cpp
scooter-dangle/MStream
2f48a53ca3f5b2aa4783ec2feaf5041bec4468e1
[ "Apache-2.0" ]
15
2020-09-18T23:27:49.000Z
2021-12-28T02:19:39.000Z
#define MIN(X, Y) (((X) < (Y)) ? (X) : (Y)) #define MAX(X, Y) (((X) > (Y)) ? (X) : (Y)) #include <vector> #include <cmath> #include <limits> #include "anom.hpp" #include "numerichash.hpp" #include "recordhash.hpp" #include "categhash.hpp" double counts_to_anom(double tot, double cur, int cur_t) { double cur_mean ...
42.122449
121
0.608527
[ "vector" ]
e150b23a1e1cb36b49d10e7c344ab020963048b3
4,624
hxx
C++
inetsrv/query/apps/ifilttst/clog.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/apps/ifilttst/clog.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/apps/ifilttst/clog.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1996 - 1997. // // File: mylog.hxx // // Contents: A class that performs logging operations, optionally using NTLOG // To emulate ntlog without ...
31.243243
81
0.504542
[ "object" ]
e150fd71692a83d2cad5cfae7c2a8006cc867b60
14,809
cc
C++
common/segments.cc
jsbejeau/rtbkit
8f1d043efce5c42c6a3e490e16f98f0e04eb3a21
[ "Apache-2.0" ]
2
2017-03-01T04:57:50.000Z
2020-02-13T20:51:43.000Z
common/segments.cc
jsbejeau/rtbkit
8f1d043efce5c42c6a3e490e16f98f0e04eb3a21
[ "Apache-2.0" ]
null
null
null
common/segments.cc
jsbejeau/rtbkit
8f1d043efce5c42c6a3e490e16f98f0e04eb3a21
[ "Apache-2.0" ]
null
null
null
/* segments.cc Jeremy Barnes, 12 March 2012 Copyright (c) 2012 Datacratic. All rights reserved. Implementation of segments. */ #include "rtbkit/common/segments.h" #include <boost/function_output_iterator.hpp> #include "jml/arch/format.h" #include "jml/arch/exception.h" #include "jml/arch/backtrace.h" #inclu...
23.847021
79
0.570194
[ "vector" ]
ff15e1f09c21f280727e990018b775fe987a35d1
1,931
cpp
C++
Hackerrank/DP/The Coin Change Problem/A.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
2
2018-12-11T14:37:24.000Z
2022-01-23T18:11:54.000Z
Hackerrank/DP/The Coin Change Problem/A.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
Hackerrank/DP/The Coin Change Problem/A.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
//LOOKED AT EDITORIAL // It's fantastic, the way changing the order of loops can completely change the way you look at a problem #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 v...
24.443038
106
0.457276
[ "vector" ]
ff16218b8a68a290e0797765b0700309ed5f1bda
28,268
cpp
C++
src/modules/mod_wmts_wrapper/mod_wmts_wrapper.cpp
edplato/onearth
3bc7717b7cdf21ca7747d94c31078208494deb96
[ "Apache-2.0" ]
131
2015-01-19T15:42:50.000Z
2022-03-30T16:38:11.000Z
src/modules/mod_wmts_wrapper/mod_wmts_wrapper.cpp
edplato/onearth
3bc7717b7cdf21ca7747d94c31078208494deb96
[ "Apache-2.0" ]
59
2015-02-04T02:29:57.000Z
2021-10-12T19:25:09.000Z
src/modules/mod_wmts_wrapper/mod_wmts_wrapper.cpp
edplato/onearth
3bc7717b7cdf21ca7747d94c31078208494deb96
[ "Apache-2.0" ]
51
2015-02-12T13:30:20.000Z
2021-09-24T01:35:08.000Z
/* * Copyright (c) 2002-2017, California Institute of Technology. * All rights reserved. Based on Government Sponsored Research under contracts NAS7-1407 and/or NAS7-03001. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:...
43.091463
246
0.640123
[ "vector" ]
ff20973a70d1006dc8d6d2e5541dac49a675944e
1,485
hpp
C++
include/codegen/include/GlobalNamespace/BetaBuildInfoText.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/BetaBuildInfoText.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/BetaBuildInfoText.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBeh...
34.534884
85
0.691582
[ "object" ]
ff20d35e14312c8294bf11760a906b467342ef69
600
hpp
C++
sources/Notebook.hpp
Almog-David/CPP_Ex2_b
2fde78801fe65b03809bb76d6e013597af27bf04
[ "MIT" ]
null
null
null
sources/Notebook.hpp
Almog-David/CPP_Ex2_b
2fde78801fe65b03809bb76d6e013597af27bf04
[ "MIT" ]
null
null
null
sources/Notebook.hpp
Almog-David/CPP_Ex2_b
2fde78801fe65b03809bb76d6e013597af27bf04
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_map> #include "Direction.hpp" #define LIMIT 100 using namespace std; namespace ariel { class Notebook { private: unordered_map<int, unordered_map<int, vector<char>>> notebook; public: Notebook(); ~Notebook(); voi...
26.086957
85
0.656667
[ "vector" ]
ff22543029c8de5cd8ea5f2e7cb1efcccbe8a7f8
3,404
cc
C++
lib/spot-2.8.1/spot/twaalgos/isweakscc.cc
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
lib/spot-2.8.1/spot/twaalgos/isweakscc.cc
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
lib/spot-2.8.1/spot/twaalgos/isweakscc.cc
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
// -*- coding: utf-8 -*- // Copyright (C) 2012-2019 Laboratoire de Recherche et Développement // de l'Epita (LRDE). // // This file is part of Spot, a model checking library. // // Spot is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by // the...
29.6
78
0.62691
[ "model" ]
ff241b4a19bdf7dd95eff8cd37b85f56264f209d
1,624
cpp
C++
lib/lsd/OggReader.cpp
nonwill/lsd2dsl
00e2a9832666dff03667b07815d73fab3fa8378e
[ "MIT" ]
1
2020-12-28T20:23:35.000Z
2020-12-28T20:23:35.000Z
dictlsd/OggReader.cpp
al-yakubovich/lsd2dsl
22503988bcbd4ea7006a3ac291e71476f8e20a1a
[ "MIT" ]
null
null
null
dictlsd/OggReader.cpp
al-yakubovich/lsd2dsl
22503988bcbd4ea7006a3ac291e71476f8e20a1a
[ "MIT" ]
1
2020-10-09T02:58:27.000Z
2020-10-09T02:58:27.000Z
#include "OggReader.h" #include "BitStream.h" #include <vorbis/vorbisfile.h> #include <stdexcept> #include <assert.h> namespace dictlsd { size_t read_func(void *ptr, size_t size, size_t nmemb, void *datasource) { auto bstr = static_cast<IRandomAccessStream*>(datasource); bstr->readSome(ptr, size *...
25.777778
94
0.601601
[ "vector" ]
ff2424fb60170b0e8f75fbc38c5c73d8b6f7b948
2,239
cpp
C++
src/examples/tutorial/ascent_intro/cpp/ascent_scene_example3.cpp
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
src/examples/tutorial/ascent_intro/cpp/ascent_scene_example3.cpp
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
src/examples/tutorial/ascent_intro/cpp/ascent_scene_example3.cpp
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) Lawrence Livermore National Security, LLC and other Ascent // Project developers. See top-level LICENSE AND COPYRIGHT files for dates and // other details. No copyright assignment is required to contribute to Ascent. //~~~~...
29.077922
83
0.579723
[ "mesh", "render" ]
ff261a94d7070671c2b8d63c15635170729ead51
1,880
cpp
C++
src/day23.cpp
foolnotion/aoc2020
49738011e8181af438c13556a294b939880916c9
[ "Unlicense" ]
null
null
null
src/day23.cpp
foolnotion/aoc2020
49738011e8181af438c13556a294b939880916c9
[ "Unlicense" ]
null
null
null
src/day23.cpp
foolnotion/aoc2020
49738011e8181af438c13556a294b939880916c9
[ "Unlicense" ]
2
2020-12-12T21:42:53.000Z
2020-12-16T20:56:56.000Z
#include <algorithm> #include <bitset> #include <execution> #include <fmt/format.h> #include <functional> #include <initializer_list> #include <list> #include <robin_hood.h> #include <stack> #include "advent.hpp" #include "util.hpp" struct node { int64_t value; node* next { nullptr }; }; int day23(int argc, ...
23.5
77
0.485106
[ "vector" ]
ff28cc0a7758673da1fd0049527219cc441ff670
688
cpp
C++
Kattis-Solutions/Almost Perfect.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
14
2016-02-11T09:26:13.000Z
2022-03-27T01:14:29.000Z
Kattis-Solutions/Almost Perfect.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
null
null
null
Kattis-Solutions/Almost Perfect.cpp
SurgicalSteel/Competitive-Programming
3662b676de94796f717b25dc8d1b93c6851fb274
[ "MIT" ]
7
2016-10-25T19:29:35.000Z
2021-12-05T18:31:39.000Z
//template provided by SurgicalSteel a.k.a Yuwono Bangun Nagoro #include <bits/stdc++.h> #define psb push_back using namespace std; long long int absolutey(long long int x) { if(x>0){return x;} else{return x*-1;} } int main() { int x; long long int res=0,a=0; while(cin>>x) { vector<long long int> v; for(int i...
20.848485
63
0.579942
[ "vector" ]
ff2a97fc8dbafac17dd13cae54353b8685ad4769
29,574
cpp
C++
plugins/protein/src/FrodockLoader.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
49
2017-08-23T13:24:24.000Z
2022-03-16T09:10:58.000Z
plugins/protein/src/FrodockLoader.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
200
2018-07-20T15:18:26.000Z
2022-03-31T11:01:44.000Z
plugins/protein/src/FrodockLoader.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
31
2017-07-31T16:19:29.000Z
2022-02-14T23:41:03.000Z
/* * FrodockLoader.cpp * * Copyright (C) 2010 by University of Stuttgart (VISUS). * All rights reserved. */ #include "FrodockLoader.h" #include "mmcore/param/BoolParam.h" #include "mmcore/param/FilePathParam.h" #include "mmcore/param/IntParam.h" #include "mmcore/param/StringParam.h" #include "mmcore/utility/log/...
42.675325
169
0.592818
[ "vector", "transform" ]
ff2f727247a4fbe57adc94f55d6bba7bce8fda3f
5,610
hpp
C++
src/planning/object_collision_estimator_nodes/include/object_collision_estimator_nodes/object_collision_estimator_node.hpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
1
2022-02-24T07:36:59.000Z
2022-02-24T07:36:59.000Z
src/planning/object_collision_estimator_nodes/include/object_collision_estimator_nodes/object_collision_estimator_node.hpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
null
null
null
src/planning/object_collision_estimator_nodes/include/object_collision_estimator_nodes/object_collision_estimator_node.hpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
1
2021-12-09T15:44:10.000Z
2021-12-09T15:44:10.000Z
// Copyright 2020-2021 Arm Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
45.609756
99
0.772193
[ "object", "transform" ]
ff342f6dc3ca022e6cda3233418ac5869f3fc46e
91,028
cpp
C++
Cpp-C/Ema/Examples/Test/UnitTest/VectorTests.cpp
TransFICC/Elektron-SDK
4323249c24c8105e41fd8cd9ba5dd9661e1b2b0e
[ "Apache-2.0" ]
null
null
null
Cpp-C/Ema/Examples/Test/UnitTest/VectorTests.cpp
TransFICC/Elektron-SDK
4323249c24c8105e41fd8cd9ba5dd9661e1b2b0e
[ "Apache-2.0" ]
null
null
null
Cpp-C/Ema/Examples/Test/UnitTest/VectorTests.cpp
TransFICC/Elektron-SDK
4323249c24c8105e41fd8cd9ba5dd9661e1b2b0e
[ "Apache-2.0" ]
null
null
null
/*|----------------------------------------------------------------------------- *| This source code is provided under the Apache 2.0 license -- *| and is provided AS IS with no warranty or guarantee of fit for purpose. -- *| See the project's LICENSE.md for details. ...
38.735319
211
0.709331
[ "object", "vector" ]
ff35c176b845b6ee9380a69684215db3103924a6
3,280
cpp
C++
Modules/TArc/Sources/TArc/Controls/Private/ReflectedButton.cpp
reven86/dava.engine
ca47540c8694668f79774669b67d874a30188c20
[ "BSD-3-Clause" ]
5
2020-02-11T12:04:17.000Z
2022-01-30T10:18:29.000Z
Modules/TArc/Sources/TArc/Controls/Private/ReflectedButton.cpp
reven86/dava.engine
ca47540c8694668f79774669b67d874a30188c20
[ "BSD-3-Clause" ]
null
null
null
Modules/TArc/Sources/TArc/Controls/Private/ReflectedButton.cpp
reven86/dava.engine
ca47540c8694668f79774669b67d874a30188c20
[ "BSD-3-Clause" ]
4
2019-11-28T19:24:34.000Z
2021-08-24T19:12:50.000Z
#include "TArc/Controls/ReflectedButton.h" #include <Base/FastName.h> #include <Reflection/ReflectedMeta.h> namespace DAVA { namespace TArc { ReflectedButton::ReflectedButton(const Params& params, DataWrappersProcessor* wrappersProcessor, Reflection model, QWidget* parent) : ControlProxyImpl<QToolButton>(params, ...
26.885246
131
0.657317
[ "vector", "model" ]
ff37d01a4ee5254eb12eb1fe1b38191c64c6aeff
42,111
cpp
C++
src/ngraph/runtime/cpu/builder/quantized_conv.cpp
magrawal128/ngraph
ca911487d1eadfe6ec66dbe3da6f05cee3645b24
[ "Apache-2.0" ]
1
2019-12-27T05:47:23.000Z
2019-12-27T05:47:23.000Z
src/ngraph/runtime/cpu/builder/quantized_conv.cpp
biswajitcsecu/ngraph
d6bff37d7968922ef81f3bed63379e849fcf3b45
[ "Apache-2.0" ]
null
null
null
src/ngraph/runtime/cpu/builder/quantized_conv.cpp
biswajitcsecu/ngraph
d6bff37d7968922ef81f3bed63379e849fcf3b45
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
54.196911
100
0.442189
[ "vector" ]
ff3814e969b8c390cb18642c2474a072f3dbf2dc
52,376
cpp
C++
Engine/Platforms/Vulkan/110/Vk1Device.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
Engine/Platforms/Vulkan/110/Vk1Device.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
Engine/Platforms/Vulkan/110/Vk1Device.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "Core/Config/Engine.Config.h" #ifdef GRAPHICS_API_VULKAN #include "Engine/Platforms/Vulkan/110/Vk1Device.h" #include "Engine/Platforms/Vulkan/110/vulkan1_utils.h" #include "Engine/Platforms/Public/GPU/Framebuffer.h" #include "Engine/Pl...
29.293065
152
0.640885
[ "object", "transform" ]
ff3abd6f37ef55eee69a2e1362fadbbba0886dab
5,858
hh
C++
spot/spot/taalgos/emptinessta.hh
mcc-petrinets/formulas
10f835d67c7deedfe98fbbd55a56bd549a5bae9b
[ "MIT" ]
1
2018-03-02T14:29:57.000Z
2018-03-02T14:29:57.000Z
spot/spot/taalgos/emptinessta.hh
mcc-petrinets/formulas
10f835d67c7deedfe98fbbd55a56bd549a5bae9b
[ "MIT" ]
null
null
null
spot/spot/taalgos/emptinessta.hh
mcc-petrinets/formulas
10f835d67c7deedfe98fbbd55a56bd549a5bae9b
[ "MIT" ]
1
2015-06-05T12:42:07.000Z
2015-06-05T12:42:07.000Z
// -*- coding: utf-8 -*- // Copyright (C) 2012-2014, 2016, 2018 Laboratoire de Recherche // et Dévelopment de l'Epita (LRDE). // // This file is part of Spot, a model checking library. // // Spot is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published...
37.075949
80
0.684022
[ "model" ]
ff455491f2870d785cc3d1622c19a70773c5969e
3,255
cpp
C++
opencv-glib/video-capture.cpp
wagavulin/opencv-glib
9ca21978b2178ee3b87f27c1ff4f78a2c20e065a
[ "BSD-3-Clause" ]
4
2020-01-14T22:30:36.000Z
2022-03-06T08:51:30.000Z
opencv-glib/video-capture.cpp
wagavulin/opencv-glib
9ca21978b2178ee3b87f27c1ff4f78a2c20e065a
[ "BSD-3-Clause" ]
9
2019-08-13T11:18:44.000Z
2022-03-04T22:03:02.000Z
opencv-glib/video-capture.cpp
wagavulin/opencv-glib
9ca21978b2178ee3b87f27c1ff4f78a2c20e065a
[ "BSD-3-Clause" ]
6
2018-10-24T18:49:16.000Z
2022-03-04T13:53:14.000Z
#include <opencv-glib/image.hpp> #include <opencv-glib/video-capture.hpp> G_BEGIN_DECLS /** * SECTION: video-capture * @title: Video capture class * @include: opencv-glib/opencv-glib.h * * #GCVVideoCapture is a class for reading images from video. * * Since: 1.0.0 */ typedef struct { std::shared_ptr<cv::Vi...
25.833333
84
0.687865
[ "object" ]
ff4598d56a18737072e76f1beeed76e3ee04c84d
24,903
cpp
C++
skeleton/character_skeleton_3d.cpp
Relintai/entity_spell_system
cfba9403cb150d0a1c802039a5b7a8822a4f4832
[ "MIT" ]
70
2019-12-25T18:11:08.000Z
2022-03-22T10:23:56.000Z
skeleton/character_skeleton_3d.cpp
Relintai/entity_spell_system
cfba9403cb150d0a1c802039a5b7a8822a4f4832
[ "MIT" ]
1
2019-12-26T10:36:33.000Z
2020-04-09T14:21:48.000Z
skeleton/character_skeleton_3d.cpp
Relintai/entity_spell_system
cfba9403cb150d0a1c802039a5b7a8822a4f4832
[ "MIT" ]
6
2020-01-07T19:04:26.000Z
2021-10-19T18:29:24.000Z
/* Copyright (c) 2019-2021 Péter Magyar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
34.732218
258
0.768341
[ "object", "vector", "transform" ]
ff4ea5b20f5e9a81f2b2ed5f95bb06ab3e121c81
16,408
cc
C++
prediction.cc
litvinen/large_random_fields
c6eb60ee53171d296c02dd73d26476e072360f6c
[ "BSD-2-Clause" ]
2
2021-02-03T05:25:52.000Z
2021-08-05T23:04:12.000Z
prediction.cc
litvinen/large_random_fields
c6eb60ee53171d296c02dd73d26476e072360f6c
[ "BSD-2-Clause" ]
null
null
null
prediction.cc
litvinen/large_random_fields
c6eb60ee53171d296c02dd73d26476e072360f6c
[ "BSD-2-Clause" ]
1
2021-06-13T11:27:29.000Z
2021-06-13T11:27:29.000Z
// Run like this //./prediction --dataL competition/S1a/dataset6_training.csv --dataT competition/S1b/dataset6_testing.csv --sigma=1.14683 --length=0.0825932 --nu=0.600677 --tau=3.49e-14 --ldl // Developed by Alexander Litvinenko (RWTH Aachen) and Ronald Kriemann (MIS MPG Leipzig) // Based on the HLIBPro library (v....
32.555556
176
0.485373
[ "vector" ]
ff5039be93d09e104653ff20fcb96cfb807080b2
150
cpp
C++
0575_distribute_candies.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
2
2020-06-04T13:20:20.000Z
2020-06-04T14:49:10.000Z
0575_distribute_candies.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
null
null
null
0575_distribute_candies.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
null
null
null
class Solution { public: int distributeCandies(vector<int>& c) { return min(unordered_set<int>(begin(c), end(c)).size(), c.size() / 2); } };
21.428571
74
0.626667
[ "vector" ]
ff54205c48cb4b3f896240f73c7b8a9acbce68a2
5,530
cpp
C++
stringManipulationHelperFunctions.cpp
FlatAssembler/AECforWebAssembly
b90b7159bef35b6905b00993b3f262785748fa88
[ "MIT" ]
13
2020-09-26T10:09:08.000Z
2022-02-25T16:54:36.000Z
stringManipulationHelperFunctions.cpp
FlatAssembler/AECforWebAssembly
b90b7159bef35b6905b00993b3f262785748fa88
[ "MIT" ]
12
2020-12-20T18:15:58.000Z
2022-02-16T11:50:02.000Z
stringManipulationHelperFunctions.cpp
FlatAssembler/AECforWebAssembly
b90b7159bef35b6905b00993b3f262785748fa88
[ "MIT" ]
3
2021-01-17T13:19:16.000Z
2021-09-25T16:21:01.000Z
#include <cctype> #include <string> #include <vector> bool isAllWhitespace( const std::string token) // No obvious way to do it in REGEX so that CLANG // on Linux won't miscompile it. { for (unsigned i = 0; i < token.size(); i++) if (!std::isspace(token[i])) return false; ...
32.529412
188
0.57396
[ "vector" ]
ff575cd9816c31e8755d4fd5f4a0553a3397d7e1
5,270
cpp
C++
src/win32/dll/shellx/src/BkShellX.cpp
gspu/bitkeeper
994fb651a4045b221e33703fc3d665c3a34784e1
[ "Apache-2.0" ]
342
2016-05-10T14:59:07.000Z
2022-03-09T23:45:43.000Z
src/win32/dll/shellx/src/BkShellX.cpp
rvs/bitkeeper
616740d0daad99530951e46ab48e577807cbbaf4
[ "Apache-2.0" ]
4
2016-05-16T20:14:27.000Z
2020-10-04T19:59:25.000Z
src/win32/dll/shellx/src/BkShellX.cpp
rvs/bitkeeper
616740d0daad99530951e46ab48e577807cbbaf4
[ "Apache-2.0" ]
78
2016-05-10T15:53:30.000Z
2022-03-09T23:46:06.000Z
/* * Copyright 2001-2002,2007-2009,2016 BitMover, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
28.333333
76
0.696964
[ "object" ]
ff59be2eefb6a5a49fe9089bf9d4d921ae72d4af
712
hpp
C++
src/gltf/v2/dc_model.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/gltf/v2/dc_model.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/gltf/v2/dc_model.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
#pragma once #include "../../dc/model_if.hpp" #include "../../dc/qm_fixed.hpp" #include "../../dc/bbox.hpp" namespace rev::gltf::v2 { struct IGLTFMesh; using HGMesh = std::shared_ptr<IGLTFMesh>; class Scene; class GLTFModel : public dc::IModel { private: using MeshV = std::vector<HGMesh>; MeshV _mesh, ...
24.551724
70
0.676966
[ "mesh", "vector" ]
ff6efe9033dbbb57eb9846e868b310bda1c588df
5,028
hxx
C++
main/package/source/package/manifest/ManifestImport.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/package/source/package/manifest/ManifestImport.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/package/source/package/manifest/ManifestImport.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * 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 y...
44.892857
168
0.700676
[ "vector" ]
ff735262e60aa09c26fb71f2a5118bf079089254
2,203
hpp
C++
src/docker/attributes.hpp
HICAS-ChameLeon/Chameleon
cd0666317eb4e92a4f9fe0b2955b46bc224cf862
[ "Apache-2.0" ]
4
2019-03-06T03:04:40.000Z
2019-07-20T15:35:00.000Z
src/docker/attributes.hpp
HICAS-ChameLeon/Chameleon
cd0666317eb4e92a4f9fe0b2955b46bc224cf862
[ "Apache-2.0" ]
6
2018-11-30T08:04:45.000Z
2019-05-15T03:04:28.000Z
src/docker/attributes.hpp
HICAS-ChameLeon/Chameleon
cd0666317eb4e92a4f9fe0b2955b46bc224cf862
[ "Apache-2.0" ]
4
2019-03-11T11:51:22.000Z
2020-05-11T07:27:31.000Z
#ifndef __ATTRIBUTES_HPP__ #define __ATTRIBUTES_HPP__ // C++ 11 dependencies #include <iterator> #include <string> // protobuf dependencies #include <mesos.pb.h> // stout dependencies #include <stout/option.hpp> namespace mesos { std::ostream& operator<<(std::ostream& stream, const Attribute& attribute); class ...
20.783019
78
0.702224
[ "object" ]
ff768fc8295039ba9a5091d4db0fc69554e69463
5,704
cpp
C++
serial.cpp
Phlicess/wtNoe
01dc1bcd3325a90d1ad04775aa0ff41efa93aa77
[ "BSD-2-Clause" ]
null
null
null
serial.cpp
Phlicess/wtNoe
01dc1bcd3325a90d1ad04775aa0ff41efa93aa77
[ "BSD-2-Clause" ]
null
null
null
serial.cpp
Phlicess/wtNoe
01dc1bcd3325a90d1ad04775aa0ff41efa93aa77
[ "BSD-2-Clause" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <string> #include <vector> #include <sqlite3.h> #include <set> #include <map> #include "protozero/varint.hpp" #include "geometry.hpp" #include "mbtiles.hpp" #include "tile.hpp" #include "serial.hpp" size_t fwrite_check(const void *p...
26.654206
166
0.652174
[ "geometry", "vector" ]
ff76a57a5c7f4ad8952cad3bb3daead4ecb81dec
839
hpp
C++
src/petuum_ps_common/util/vector_clock_mt.hpp
alexrenz/bosen-2
c61ac4e892ba2f6e02bd4595632b15f9e53450e2
[ "BSD-3-Clause" ]
370
2015-06-30T09:46:17.000Z
2017-01-21T07:14:00.000Z
src/petuum_ps_common/util/vector_clock_mt.hpp
alexrenz/bosen-2
c61ac4e892ba2f6e02bd4595632b15f9e53450e2
[ "BSD-3-Clause" ]
3
2016-11-08T19:45:19.000Z
2016-11-11T13:21:19.000Z
src/petuum_ps_common/util/vector_clock_mt.hpp
alexrenz/bosen-2
c61ac4e892ba2f6e02bd4595632b15f9e53450e2
[ "BSD-3-Clause" ]
159
2015-07-03T05:58:31.000Z
2016-12-29T20:59:01.000Z
// author: jinliang #pragma once #include <petuum_ps_common/util/vector_clock.hpp> #include <petuum_ps_common/util/lock.hpp> #include <boost/noncopyable.hpp> #include <glog/logging.h> #include <boost/thread.hpp> #include <vector> #include <cstdint> namespace petuum { // VectorClock is a thread-safe extension of Ve...
22.675676
62
0.74851
[ "vector" ]
ff7b9b2d25b637b49c63bcd41b93c33ccb0929b8
40,696
hh
C++
third_party/harfbuzz/src/hb-ot-glyf-table.hh
panda-factory/showmaker
cd76586af8227e2325f44b28f3c93aadec6b22ea
[ "Apache-2.0" ]
48
2020-11-18T23:14:25.000Z
2022-03-11T09:13:42.000Z
third_party/harfbuzz/src/hb-ot-glyf-table.hh
panda-factory/showmaker
cd76586af8227e2325f44b28f3c93aadec6b22ea
[ "Apache-2.0" ]
1
2021-10-12T08:44:43.000Z
2021-10-12T08:44:43.000Z
third_party/harfbuzz/src/hb-ot-glyf-table.hh
panda-factory/wtf
cd76586af8227e2325f44b28f3c93aadec6b22ea
[ "Apache-2.0" ]
3
2020-12-22T02:40:39.000Z
2021-10-08T02:54:22.000Z
/* * Copyright © 2015 Google, Inc. * Copyright © 2019 Adobe Inc. * Copyright © 2019 Ebrahim Byagowi * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software a...
30.552553
141
0.658197
[ "object", "transform" ]
ff7c38d4c4e4b6286cad33685d231d4d124515ca
1,628
cpp
C++
samples/sample_rplycpp_read_surface.cpp
manlito/rplycpp
76df2953c4c62769a1913d28a47e06709681bc66
[ "MIT" ]
1
2019-10-11T18:45:04.000Z
2019-10-11T18:45:04.000Z
samples/sample_rplycpp_read_surface.cpp
manlito/rplycpp
76df2953c4c62769a1913d28a47e06709681bc66
[ "MIT" ]
null
null
null
samples/sample_rplycpp_read_surface.cpp
manlito/rplycpp
76df2953c4c62769a1913d28a47e06709681bc66
[ "MIT" ]
1
2016-04-16T15:36:26.000Z
2016-04-16T15:36:26.000Z
#include <functional> #include <vector> #include <iostream> #include "rplycpp.hpp" #include "my_types.hpp" using namespace myproject; int main(int argc, char *argv[]) { // Some randome data type from your app logic Surface<PointXYZRGB> cloud; rplycpp::PLYReader reader; reader.Open(RPLYCPP_SAMPLE_SURFACE_PLY)...
27.133333
92
0.679975
[ "vector" ]
ff7e97ad9292d05554190ea16cdbd33cacba5bdd
12,814
cc
C++
backend/query/feature_filter/query_size_limits_checker.cc
j143/cloud-spanner-emulator
bf8cd7da44e5c7c42eee2bb813bb117b04d86a67
[ "Apache-2.0" ]
null
null
null
backend/query/feature_filter/query_size_limits_checker.cc
j143/cloud-spanner-emulator
bf8cd7da44e5c7c42eee2bb813bb117b04d86a67
[ "Apache-2.0" ]
null
null
null
backend/query/feature_filter/query_size_limits_checker.cc
j143/cloud-spanner-emulator
bf8cd7da44e5c7c42eee2bb813bb117b04d86a67
[ "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 ...
37.142029
87
0.743718
[ "vector" ]
ff8035f5f8fe3d962de2f3dcfdcc2c1b6b63364c
20,553
cpp
C++
multimedia/directx/dplay/dplay8/sp/serial/dpnmodemspdata.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
multimedia/directx/dplay/dplay8/sp/serial/dpnmodemspdata.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
multimedia/directx/dplay/dplay8/sp/serial/dpnmodemspdata.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*========================================================================== * * Copyright (C) 1999-2000 Microsoft Corporation. All Rights Reserved. * * File: SPData.cpp * Content: Global variables for the DNSerial service provider in class * format. * * * History: * Date By Reason ...
25.311576
138
0.540116
[ "object" ]
ff8a54d2a8de26d62a340d09a4053b188c9adde6
4,958
cpp
C++
toolkits/topic_modeling/deprecated/cvb0_lda_common.cpp
coreyp1/graphlab
637be90021c5f83ab7833ca15c48e76039057969
[ "ECL-2.0", "Apache-2.0" ]
8
2017-11-19T11:46:55.000Z
2021-07-08T22:45:55.000Z
toolkits/topic_modeling/deprecated/cvb0_lda_common.cpp
coreyp1/graphlab
637be90021c5f83ab7833ca15c48e76039057969
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
toolkits/topic_modeling/deprecated/cvb0_lda_common.cpp
coreyp1/graphlab
637be90021c5f83ab7833ca15c48e76039057969
[ "ECL-2.0", "Apache-2.0" ]
7
2015-12-15T12:12:23.000Z
2019-10-16T16:48:40.000Z
/** * Copyright (c) 2009 Carnegie Mellon University. * 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...
27.853933
70
0.640783
[ "vector" ]
ff8d9692d31e15f6ddc070329e9b401afbb838c7
8,145
cpp
C++
verilate/core-ver-src/aquila_core_tb.cpp
chao0502/aquila
48517c49470c53d1015b31358d128865d5b7b662
[ "BSD-3-Clause" ]
null
null
null
verilate/core-ver-src/aquila_core_tb.cpp
chao0502/aquila
48517c49470c53d1015b31358d128865d5b7b662
[ "BSD-3-Clause" ]
null
null
null
verilate/core-ver-src/aquila_core_tb.cpp
chao0502/aquila
48517c49470c53d1015b31358d128865d5b7b662
[ "BSD-3-Clause" ]
null
null
null
#include <cstdlib> #include <iostream> #include <fstream> #include <iomanip> #include <string> #include <map> #include <cstdint> #include "decode2.cpp" #include "verilated_vcd_c.h" #include "Vaquila_testharness.h" #include "Vaquila_testharness__Syms.h" #include "verilated.h" #include "sim_mem.h" #define TRACE //#u...
32.710843
178
0.663352
[ "vector" ]
ff8e75a50aa35f82f2d8f7c16bd4e29148019f3f
32,757
cpp
C++
vsports/SingleControlWindow.cpp
snumrl/VSports
c35bc82db31cd7252ab3d0f78c3f941bae5e799b
[ "Apache-2.0" ]
null
null
null
vsports/SingleControlWindow.cpp
snumrl/VSports
c35bc82db31cd7252ab3d0f78c3f941bae5e799b
[ "Apache-2.0" ]
null
null
null
vsports/SingleControlWindow.cpp
snumrl/VSports
c35bc82db31cd7252ab3d0f78c3f941bae5e799b
[ "Apache-2.0" ]
null
null
null
#include "SingleControlWindow.h" #include "../render/GLfunctionsDART.h" #include "../model/SkelMaker.h" #include "../model/SkelHelper.h" #include "../pyvs/EnvironmentPython.h" #include <dart/dart.hpp> #include <dart/utils/utils.hpp> #include "../motion/BVHmanager.h" #include <numeric> // #include "./common/loadShader.h...
26.696822
144
0.661935
[ "render", "object", "shape", "vector", "model" ]
ff92a38f310bd8df119207535eb96c646fa19450
498
cpp
C++
Solutions/1-50/31/Solution.cpp
kitegi/Edmonton
774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d
[ "Unlicense" ]
2
2021-07-16T13:30:10.000Z
2021-07-16T18:17:40.000Z
Solutions/1-50/31/Solution.cpp
kitegi/Edmonton
774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d
[ "Unlicense" ]
null
null
null
Solutions/1-50/31/Solution.cpp
kitegi/Edmonton
774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d
[ "Unlicense" ]
1
2021-04-16T22:56:07.000Z
2021-04-16T22:56:07.000Z
#include <iostream> #include <vector> using namespace std; int changeCount(int goal, vector<int> &change) { vector<int> subchange(goal + 1, 0); subchange[0] = 1; // 1 way to make 0. for(const auto &coin : change) { for(int i = coin; i <= goal; i++) { subchange[i] += subchange[i - coin]; } } r...
23.714286
55
0.594378
[ "vector" ]
ff943d27195bc2b2a0d0618586705471e6e79595
1,678
cpp
C++
ACM87_vs2022/arithmetic_coding.cpp
Termibear/ArithmeticCoding_cpp
9753db2c24ccbe94be90846f41020d59ba28ad38
[ "MIT" ]
null
null
null
ACM87_vs2022/arithmetic_coding.cpp
Termibear/ArithmeticCoding_cpp
9753db2c24ccbe94be90846f41020d59ba28ad38
[ "MIT" ]
null
null
null
ACM87_vs2022/arithmetic_coding.cpp
Termibear/ArithmeticCoding_cpp
9753db2c24ccbe94be90846f41020d59ba28ad38
[ "MIT" ]
null
null
null
#include "arithmetic_coding.h" // Initialize the model. Arithmetic_Coding::Arithmetic_Coding() { int i; // Set up tables that translate between symbol indexes and characters. for (i = 0; i < NO_OF_CHARS; i++) { char_to_index[i] = i + 1; index_to_char[i + 1] = static_cast<unsigned char>(...
26.634921
90
0.569726
[ "model" ]
ff946474c5a5b04521254790c7a691131e0a104e
1,985
hpp
C++
src/lib/cli_cpp/render/ascii/A_Variable_List_Window.hpp
marvins/cli-cpp
4f98a09d5cfeffe0d5c330cda3272ae207c511d1
[ "MIT" ]
4
2020-10-08T03:09:10.000Z
2022-03-13T09:22:51.000Z
src/lib/cli_cpp/render/ascii/A_Variable_List_Window.hpp
marvins/cli-cpp
4f98a09d5cfeffe0d5c330cda3272ae207c511d1
[ "MIT" ]
4
2015-05-30T17:40:46.000Z
2015-07-01T01:10:16.000Z
src/lib/cli_cpp/render/ascii/A_Variable_List_Window.hpp
marvins/cli-cpp
4f98a09d5cfeffe0d5c330cda3272ae207c511d1
[ "MIT" ]
2
2015-06-02T20:07:39.000Z
2020-12-16T09:25:38.000Z
/** * @file A_Variable_List_Window.hpp * @author Marvin Smith * @date 7/20/2015 */ #ifndef __CLI_CPP_RENDER_ASCII_A_VARIABLE_LIST_WINDOW_HPP__ #define __CLI_CPP_RENDER_ASCII_A_VARIABLE_LIST_WINDOW_HPP__ // CLI Libraries #include "An_ASCII_Render_Window_Base.hpp" #include "../../cmd/A_Command_Parser.hpp" #in...
22.556818
89
0.61864
[ "render", "vector" ]
ff948caa18243450a1dd135f24955682c5a030f8
530
cpp
C++
tests/hackerrank/aho_corasick.two_two.test.cpp
Zeldacrafter/CompProg
5367583f45b6fe30c4c84f3ae81accf14f8f7fd3
[ "Unlicense" ]
4
2020-02-06T15:44:57.000Z
2020-12-21T03:51:21.000Z
tests/hackerrank/aho_corasick.two_two.test.cpp
Zeldacrafter/CompProg
5367583f45b6fe30c4c84f3ae81accf14f8f7fd3
[ "Unlicense" ]
null
null
null
tests/hackerrank/aho_corasick.two_two.test.cpp
Zeldacrafter/CompProg
5367583f45b6fe30c4c84f3ae81accf14f8f7fd3
[ "Unlicense" ]
null
null
null
#define PROBLEM "https://www.hackerrank.com/challenges/two-two/problem" #include "../../code/strings/AHC.cc" #include "../../code/utils/bigint.cc" int main() { cin.tie(0); ios_base::sync_with_stdio(0); vector<pair<string, int>> strs; bigint x = 1; F0R(i, 801) { strs.eb(to_string(x), 1); ...
18.275862
71
0.507547
[ "vector" ]
9111b946650b9f83c6ade5dfbfa70e53e61e1f2f
2,685
cpp
C++
VoiceBridge/VoiceBridge/kaldi-win/src/bin/est-lda.cpp
sanyaade-teachings/VoiceBridge
348b0931f2bfaf33b7e0d18c68c50f448ab3de5c
[ "Apache-2.0" ]
18
2018-02-15T03:14:32.000Z
2021-07-06T08:21:13.000Z
VoiceBridge/VoiceBridge/kaldi-win/src/bin/est-lda.cpp
sanyaade-teachings/VoiceBridge
348b0931f2bfaf33b7e0d18c68c50f448ab3de5c
[ "Apache-2.0" ]
3
2020-10-25T16:35:55.000Z
2020-10-26T04:59:46.000Z
VoiceBridge/VoiceBridge/kaldi-win/src/bin/est-lda.cpp
sanyaade-teachings/VoiceBridge
348b0931f2bfaf33b7e0d18c68c50f448ab3de5c
[ "Apache-2.0" ]
7
2018-09-16T20:40:17.000Z
2021-07-06T08:21:14.000Z
/* Copyright 2017-present Zoltan Somogyi (AI-TOOLKIT), All Rights Reserved You may use this file only if you agree to the software license: AI-TOOLKIT Open Source Software License - Version 2.1 - February 22, 2018: https://ai-toolkit.blogspot.com/p/ai-toolkit-open-source-software-license.html. Also included with t...
32.349398
80
0.713222
[ "transform" ]
9112788cdfa08b6c25331a2f7c3d461aac9ca740
159,205
cpp
C++
build/linux-build/Sources/src/zpp_nape/callbacks/ZPP_InteractionListener.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/callbacks/ZPP_InteractionListener.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/callbacks/ZPP_InteractionListener.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.0-preview.5 #include <hxcpp.h> #ifndef INCLUDED_nape_callbacks_Callback #include <hxinc/nape/callbacks/Callback.h> #endif #ifndef INCLUDED_nape_callbacks_InteractionCallback #include <hxinc/nape/callbacks/InteractionCallback.h> #endif #ifndef INCLUDED_nape_callbacks_InteractionListener #includ...
45.552217
267
0.564467
[ "3d" ]
9112ee7861135c710723d112afe85d33bca829e5
40,406
cpp
C++
ovr_sdk_mobile/VrAppFramework/Src/GlTexture.cpp
ejeinc/Meganekko
c62d82e8a5d2eb67af056282f4ff7c90cbd73494
[ "Apache-2.0" ]
25
2015-10-08T09:35:35.000Z
2018-09-14T06:53:39.000Z
ovr_sdk_mobile/VrAppFramework/Src/GlTexture.cpp
ejeinc/Meganekko
c62d82e8a5d2eb67af056282f4ff7c90cbd73494
[ "Apache-2.0" ]
16
2015-09-28T07:21:55.000Z
2017-04-25T02:31:57.000Z
ovr_sdk_mobile/VrAppFramework/Src/GlTexture.cpp
ejeinc/Meganekko
c62d82e8a5d2eb67af056282f4ff7c90cbd73494
[ "Apache-2.0" ]
11
2016-03-17T02:34:17.000Z
2022-01-19T08:10:35.000Z
/************************************************************************************ Filename : GlTexture.cpp Content : OpenGL texture loading. Created : September 30, 2013 Authors : John Carmack Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved. *****************************...
30.357626
140
0.647528
[ "object" ]
9116f174e5235727cbce82094d8bdce2db84e748
2,311
cpp
C++
generator/generator.cpp
Rheel17/glwr
163857d937698ed65b99af3b7e1fcfd34f932c68
[ "MIT" ]
1
2020-06-17T22:11:35.000Z
2020-06-17T22:11:35.000Z
generator/generator.cpp
Rheel17/glwr
163857d937698ed65b99af3b7e1fcfd34f932c68
[ "MIT" ]
null
null
null
generator/generator.cpp
Rheel17/glwr
163857d937698ed65b99af3b7e1fcfd34f932c68
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Levi van Rheenen */ #include <ctre.hpp> #include <cstring> #include <fstream> #include "Refpage.h" constexpr static auto glfwHeaderHead = R"(#ifndef OPENGL_GLWR_H_ #define OPENGL_GLWR_H_ #include <GL/glew.h> #if defined(__GNUC__) || defined(__clang__) #define GLWR_INLINE __attribute__((al...
24.849462
107
0.692341
[ "vector" ]
912cc8ba51e629cd1f23411c1168695879d30f48
295,217
cpp
C++
NLEigenSolver/vendor/Blaze/blazetest/src/mathtest/views/rows/DenseGeneralTest1.cpp
capnrenan/NLEigenJacobiDavidsonModified
91bc61f868bb2cf9dd42931fdeb4e33903e3369c
[ "MIT" ]
3
2021-02-16T02:33:06.000Z
2021-03-13T14:34:19.000Z
NLEigenSolver/vendor/Blaze/blazetest/src/mathtest/views/rows/DenseGeneralTest1.cpp
capnrenan/NLEigenJacobiDavidsonModified
91bc61f868bb2cf9dd42931fdeb4e33903e3369c
[ "MIT" ]
null
null
null
NLEigenSolver/vendor/Blaze/blazetest/src/mathtest/views/rows/DenseGeneralTest1.cpp
capnrenan/NLEigenJacobiDavidsonModified
91bc61f868bb2cf9dd42931fdeb4e33903e3369c
[ "MIT" ]
null
null
null
//================================================================================================= /*! // \file src/mathtest/views/rows/DenseGeneralTest1.cpp // \brief Source file for the Rows dense general test (part 1) // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // This file is part of...
41.591575
117
0.37364
[ "vector" ]
912e5513a9e7eb5f769787c2e307a375c64aefe6
736
hpp
C++
OpenTimer/ot/timer/scc.hpp
Ace-Ma/LSOracle
6e940906303ef6c2c6b96352f44206567fdd50d3
[ "MIT" ]
null
null
null
OpenTimer/ot/timer/scc.hpp
Ace-Ma/LSOracle
6e940906303ef6c2c6b96352f44206567fdd50d3
[ "MIT" ]
null
null
null
OpenTimer/ot/timer/scc.hpp
Ace-Ma/LSOracle
6e940906303ef6c2c6b96352f44206567fdd50d3
[ "MIT" ]
null
null
null
#ifndef OT_TIMER_SCC_HPP_ #define OT_TIMER_SCC_HPP_ #include <vector> #include <optional> namespace ot { class Pin; // ------------------------------------------------------------------------------------------------ // Class: SCC // strongly connected component class SCC { friend class Timer; public: SC...
15.659574
99
0.490489
[ "vector" ]
91388c0486250f5b8065d4b69053877ef61d06e0
5,858
cpp
C++
src/test/pow_tests.cpp
BTCfork/hardfork_prototype_1_mvf
7730366fd6aa853f0c40d7f91699c415b3c9987e
[ "MIT" ]
2
2017-01-02T20:12:35.000Z
2018-04-30T00:02:11.000Z
src/test/pow_tests.cpp
BTCfork/hardfork_prototype_1_mvf
7730366fd6aa853f0c40d7f91699c415b3c9987e
[ "MIT" ]
24
2016-10-15T09:03:30.000Z
2017-11-19T02:13:26.000Z
src/test/pow_tests.cpp
BTCfork/hardfork_prototype_1_mvf
7730366fd6aa853f0c40d7f91699c415b3c9987e
[ "MIT" ]
4
2016-09-27T13:39:13.000Z
2021-01-05T09:38:14.000Z
// Copyright (c) 2015 The Bitcoin Core developers // Copyright (c) 2015-2017 The Bitcoin Unlimited developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chain.h" #include "chainparams.h" #include "pow.h" #incl...
38.287582
118
0.73421
[ "vector" ]
913c0044f7f1f914a122ed74114555d967c94697
680
cpp
C++
2015/day12/p1/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
2015/day12/p1/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
2015/day12/p1/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <lib/file_util.hpp> int main(int argc, char* argv[]) { std::vector<std::string> args{argv, argv + argc}; if(args.size() != 2) { std::cout << args[0] << " <input_file>" << std::endl; return 1; } auto json = file::read...
17.894737
61
0.445588
[ "vector" ]
913c02f26c6d5463f804bf0b8d96e8282e6a0c5e
27,403
cpp
C++
src/test.cpp
deruncie/GridLMM
b0e5a9d60ef7ddabd2ad1df105bb452a00327f38
[ "MIT" ]
33
2018-07-24T14:58:40.000Z
2021-11-25T09:51:48.000Z
src/test.cpp
deruncie/GridLMM
b0e5a9d60ef7ddabd2ad1df105bb452a00327f38
[ "MIT" ]
11
2019-02-12T17:37:35.000Z
2021-09-17T01:17:39.000Z
src/test.cpp
deruncie/GridLMM
b0e5a9d60ef7ddabd2ad1df105bb452a00327f38
[ "MIT" ]
7
2019-05-31T02:00:46.000Z
2021-06-04T23:26:00.000Z
#include <RcppEigen.h> using Eigen::Map; // 'Eigen::Maps' rather than copies using Eigen::MatrixXd; // variable size matrix, double precision using Eigen::VectorXd; // variable size vector, double precision using Eigen::ArrayXd; // variable size ...
33.789149
153
0.498632
[ "vector" ]
913cbe374e68899f5aeda9c11de8b1540edc77f9
2,354
cpp
C++
cpp/godot-cpp/src/gen/World.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/World.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/World.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "World.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" #include "PhysicsDirectSpaceState.hpp" #include "Environment.hpp" namespace godot { World::___method_bindings World::___mb = {}; void World::___init_meth...
37.365079
191
0.790569
[ "object" ]
91428cca85b8e45b4cf51b10a9e8df5e1f096b11
11,997
cpp
C++
linux/policy/src/NMPolicyHistoryBased.cpp
RedCarrottt/selective-connection
6103a21ffc5deea45ae3f913cd2d732c5364cf5d
[ "Apache-2.0" ]
11
2019-09-04T06:27:04.000Z
2020-08-25T08:36:11.000Z
linux/policy/src/NMPolicyHistoryBased.cpp
RedCarrottt/Virtual-Connection
6103a21ffc5deea45ae3f913cd2d732c5364cf5d
[ "Apache-2.0" ]
15
2019-09-04T10:29:28.000Z
2019-12-24T13:05:46.000Z
linux/policy/src/NMPolicyHistoryBased.cpp
RedCarrottt/Virtual-Connection
6103a21ffc5deea45ae3f913cd2d732c5364cf5d
[ "Apache-2.0" ]
6
2021-07-26T01:40:37.000Z
2021-10-12T06:33:28.000Z
/* Copyright 2017-2018 All Rights Reserved. * Gyeonghwan Hong (redcarrottt@gmail.com) * * [Contact] * Gyeonghwan Hong (redcarrottt@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 Lic...
34.474138
80
0.668917
[ "vector" ]
914c2d10ff1e2f1f0a9f5b16d14e32d3aa190184
13,128
cpp
C++
RNAstructure_Source/PARTS/src/parts/ppf_w.cpp
mayc2/PseudoKnot_research
33e94b84435d87aff3d89dbad970c438ac173331
[ "MIT" ]
null
null
null
RNAstructure_Source/PARTS/src/parts/ppf_w.cpp
mayc2/PseudoKnot_research
33e94b84435d87aff3d89dbad970c438ac173331
[ "MIT" ]
null
null
null
RNAstructure_Source/PARTS/src/parts/ppf_w.cpp
mayc2/PseudoKnot_research
33e94b84435d87aff3d89dbad970c438ac173331
[ "MIT" ]
null
null
null
#include <string.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include "parts_compilation_directives.h" #include "ppf_w.h" #include "ppf_w_l.h" #include "ppf_v_mhe.h" #include "process_sequences.h" #include "ppf_math.h" #include <iostream> #include "alignment_priors.h" #include "phmm_parameters.h" #in...
34.638522
184
0.673979
[ "object" ]
914fd357b03de3f965c226ff99d9f8c2d263548b
34,283
cpp
C++
qnn/src/network/sw/main.cpp
Elli1993/QNN-MO-PYNQ
9a37c116f7d2984547af513dd1c423dd3cc1494d
[ "BSD-3-Clause" ]
8
2019-04-02T15:09:22.000Z
2021-06-12T17:57:56.000Z
qnn/src/network/sw/main.cpp
awai54st/QNN-MO-PYNQ
d43a9e0cab11ddbe06aab1252ea0db2f735090b7
[ "BSD-3-Clause" ]
null
null
null
qnn/src/network/sw/main.cpp
awai54st/QNN-MO-PYNQ
d43a9e0cab11ddbe06aab1252ea0db2f735090b7
[ "BSD-3-Clause" ]
2
2019-04-19T03:32:06.000Z
2019-09-24T13:01:34.000Z
/* Copyright (c) 2018, Xilinx, 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 co...
47.156809
347
0.54441
[ "vector" ]
9153cbe822b22c0ffc1bc022546bf8b4a6a5929b
1,815
cpp
C++
1v1 Brawlers/Final Project/player.cpp
shravanhariharan2/1v1-brawlers
0ac3b3d7410b0c7bb7566409ec5b3e6ae08675c8
[ "MIT" ]
null
null
null
1v1 Brawlers/Final Project/player.cpp
shravanhariharan2/1v1-brawlers
0ac3b3d7410b0c7bb7566409ec5b3e6ae08675c8
[ "MIT" ]
null
null
null
1v1 Brawlers/Final Project/player.cpp
shravanhariharan2/1v1-brawlers
0ac3b3d7410b0c7bb7566409ec5b3e6ae08675c8
[ "MIT" ]
null
null
null
#include "player.h" #include "moves.h" #include <SFML/Graphics.hpp> #include<vector> player::player() { name = ""; health = 20; atk = 0; def = 0; accuracy = 0; crit = 0; } player::player(string nameIn, int healthIn, int atkIn, int defIn, int accIn, int critIn, int speedIn, vector<moves> movesIn) { name =...
20.625
127
0.625895
[ "vector" ]
91549051e2e133ff37bf9abd72496e66de6f792a
766
cpp
C++
kattis_done/treasurehunt.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
kattis_done/treasurehunt.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
kattis_done/treasurehunt.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool isOut(int x, int y, int w, int l) { return x < 0 || x >= w || y < 0 || y >= l; } int main() { int r, c; cin >> r >> c; vector<string> m(r, ""); for (int i = 0; i < r ; i++) { cin >> m[i]; } vector<vector<bool> > e(r, vector<bool> (c, false)); int pr = 0, pc ...
21.277778
53
0.472585
[ "vector" ]
91609dac0e3c3d03171d4b79732dab79ae1f915e
56,407
cc
C++
src/kudu/fs/log_block_manager.cc
fxlambda-twickly5/kudu
63fdc0c9f49e55ac043c9ba25e9b755b696d405d
[ "Apache-2.0" ]
1
2019-12-02T11:52:01.000Z
2019-12-02T11:52:01.000Z
src/kudu/fs/log_block_manager.cc
fxlambda-twickly5/kudu
63fdc0c9f49e55ac043c9ba25e9b755b696d405d
[ "Apache-2.0" ]
null
null
null
src/kudu/fs/log_block_manager.cc
fxlambda-twickly5/kudu
63fdc0c9f49e55ac043c9ba25e9b755b696d405d
[ "Apache-2.0" ]
1
2019-12-02T11:52:08.000Z
2019-12-02T11:52:08.000Z
// 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...
35.813968
100
0.668109
[ "vector" ]
9161f5e8f5397ff2b13b55b708f5a66c85042887
139,890
cc
C++
components/service/ucloud/cloudapi/src/CloudAPIClient.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
components/service/ucloud/cloudapi/src/CloudAPIClient.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
components/service/ucloud/cloudapi/src/CloudAPIClient.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.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...
35.165913
233
0.786282
[ "model" ]
9166b4675e5434b40c3358501927118a98640eeb
852
cpp
C++
CPP/CombinationSum2.cpp
ceccs17d55/open-source-contribution
63d95a990cdcc1e31c5fca3cb61f2fa34dae9e1f
[ "MIT" ]
2
2021-10-04T16:33:30.000Z
2021-10-04T17:21:59.000Z
CPP/CombinationSum2.cpp
ceccs17d55/open-source-contribution
63d95a990cdcc1e31c5fca3cb61f2fa34dae9e1f
[ "MIT" ]
1
2021-10-03T19:52:07.000Z
2021-10-03T19:52:07.000Z
CPP/CombinationSum2.cpp
ceccs17d55/open-source-contribution
63d95a990cdcc1e31c5fca3cb61f2fa34dae9e1f
[ "MIT" ]
1
2021-10-18T20:49:51.000Z
2021-10-18T20:49:51.000Z
class Solution { public: void findCombination(int ind, int target, vector<int> &arr, vector<vector<int>> &ans, vector<int> &ds) { if (target == 0) { ans.push_back(ds); return; } for (int i = ind; i < arr.size(); i++) { if (i > ind && ar...
26.625
106
0.484742
[ "vector" ]
916e795070a221cc1a61379d9a05fae3631ea1d5
3,552
cpp
C++
modcc/io/prefixbuf.cpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
53
2018-10-18T12:08:21.000Z
2022-03-26T22:03:51.000Z
modcc/io/prefixbuf.cpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
864
2018-10-01T08:06:00.000Z
2022-03-31T08:06:48.000Z
modcc/io/prefixbuf.cpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
37
2019-03-03T16:18:49.000Z
2022-03-24T10:39:51.000Z
#include <iostream> #include <stack> #include <string> #include <vector> #include "io/prefixbuf.hpp" namespace io { // prefixbuf implementation: std::streamsize prefixbuf::xsputn(const char_type* s, std::streamsize count) { std::streamsize written = 0; while (count>0) { if (bol_) { if (...
24.496552
91
0.563626
[ "vector" ]
91708843b1caf723942971ee0d0ed45bcc4e4c09
3,113
cpp
C++
src/button.cpp
nek0bit/LoopCube
882296f32bfe3a8b1765950a9b8c9e24af75d009
[ "MIT" ]
9
2020-04-03T21:20:02.000Z
2021-08-23T19:57:57.000Z
src/button.cpp
nek0bit/LoopCube
882296f32bfe3a8b1765950a9b8c9e24af75d009
[ "MIT" ]
2
2020-12-05T01:05:58.000Z
2021-01-23T04:41:24.000Z
src/button.cpp
nek0bit/LoopCube
882296f32bfe3a8b1765950a9b8c9e24af75d009
[ "MIT" ]
4
2020-07-04T13:47:33.000Z
2021-09-11T15:29:08.000Z
#include "button.hpp" // Size has fixed width UI::Button::Button(const std::string& text, const int sizeX, const glm::ivec2& position, const Margin& margin) : GenericComponent(COMPONENT_BUTTON, position, {sizeX, 32}, margin), model{UI::_ImmediateMode:...
30.821782
104
0.624157
[ "mesh", "render", "vector", "model", "transform" ]
917399b32a740ce6b43128ccf12d7f66d8d57816
1,138
cpp
C++
tests/gx-test-main.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
tests/gx-test-main.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
tests/gx-test-main.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#define BOOST_TEST_MODULE "Tests for Gearoenix game engine" #include <boost/test/included/unit_test.hpp> // Making types printable for boost #include <gearoenix/math/gx-math-intersection-status.hpp> #define GX_TEST_PRINT_TYPE_VAL(x) \ namespace boost::test_too...
49.478261
90
0.532513
[ "vector" ]
91763fc21bb296bc01bbba1bca39836fc60cd8d9
16,356
cpp
C++
sdktools/debuggers/oca/services/kdmon/kdmonsvc.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
sdktools/debuggers/oca/services/kdmon/kdmonsvc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
sdktools/debuggers/oca/services/kdmon/kdmonsvc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// kdMonSvc.cpp : Implementation of WinMain // Note: Proxy/Stub Information // To build a separate proxy/stub DLL, // run nmake -f kdMonSvcps.mk in the project directory. #include "stdafx.h" #include "resource.h" #include <initguid.h> #include "kdMonSvc.h" #include "kdMonSvc_i.c" #include ...
30.288889
151
0.645268
[ "object" ]
91794ed047d4bd9d2da0d98c8f6b8e30dc7c01ff
360
cpp
C++
src/MatrixToVector.cpp
jjuniorc/marketdecision
32bb632f51aaa9746aa19e18008de242466aad8c
[ "MIT" ]
null
null
null
src/MatrixToVector.cpp
jjuniorc/marketdecision
32bb632f51aaa9746aa19e18008de242466aad8c
[ "MIT" ]
null
null
null
src/MatrixToVector.cpp
jjuniorc/marketdecision
32bb632f51aaa9746aa19e18008de242466aad8c
[ "MIT" ]
null
null
null
#include "MarixToVector.h" MatrixToVector::MatrixToVector(Matrix *a) { this->a = a; } vector<double> MatrixToVector::execute() { vector<double> result; for(int r = 0; r < a->getNumRows(); r++) { for(int c = 0; c < a->getNumCols(); c++) { result.push_back(a->getValue(r, c))...
16.363636
48
0.536111
[ "vector" ]
91797c5e695949b407504480d539fc8bdc338472
2,920
hpp
C++
lib/libflatarray/include/libflatarray/testbed/cpu_benchmark.hpp
Teslos/libgeodecomp
3776c65965a02b02e986989b45a0d1d9b29ecf2d
[ "BSL-1.0" ]
null
null
null
lib/libflatarray/include/libflatarray/testbed/cpu_benchmark.hpp
Teslos/libgeodecomp
3776c65965a02b02e986989b45a0d1d9b29ecf2d
[ "BSL-1.0" ]
null
null
null
lib/libflatarray/include/libflatarray/testbed/cpu_benchmark.hpp
Teslos/libgeodecomp
3776c65965a02b02e986989b45a0d1d9b29ecf2d
[ "BSL-1.0" ]
1
2019-12-17T03:00:58.000Z
2019-12-17T03:00:58.000Z
/** * Copyright 2014-2017 Andreas Schäfer * * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef FLAT_ARRAY_TESTBED_CPU_BENCHMARK_HPP #define FLAT_ARRAY_TESTBED_CPU_BENCHMARK_HPP #include <libflatarray/testbed/be...
24.132231
99
0.52911
[ "vector", "model" ]
917ba3445ce5d5c0b2bf80d43ccbe8b394372946
40,142
cpp
C++
dev/Code/CryEngine/Cry3DEngine/VisAreas.cpp
CJoriginal/cjlumberyard
2e3184a7d8e59ba05e5707371b8cb6fe40b0ca60
[ "AML" ]
8
2019-10-07T16:33:47.000Z
2020-12-07T03:59:58.000Z
dev/Code/CryEngine/Cry3DEngine/VisAreas.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/CryEngine/Cry3DEngine/VisAreas.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
5
2020-08-27T20:44:18.000Z
2021-08-21T22:54:11.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
34.105353
205
0.565642
[ "shape", "3d" ]
917c74270449f58b2a6e8262637014eb6779e2cd
11,935
cc
C++
include/insnet/operator/matrix.cc
ishine/N3LDG-plus
7fdfd79b75265487df9240176ca7a2b1adbaadab
[ "Apache-2.0" ]
27
2021-06-07T02:25:33.000Z
2022-03-16T20:41:14.000Z
include/insnet/operator/matrix.cc
ishine/N3LDG-plus
7fdfd79b75265487df9240176ca7a2b1adbaadab
[ "Apache-2.0" ]
null
null
null
include/insnet/operator/matrix.cc
ishine/N3LDG-plus
7fdfd79b75265487df9240176ca7a2b1adbaadab
[ "Apache-2.0" ]
3
2021-07-10T15:11:00.000Z
2022-03-06T03:10:30.000Z
#include "insnet/operator/matrix.h" #include "insnet/util/util.h" using std::array; using std::vector; using std::cerr; using std::cout; using std::endl; using std::string; using std::to_string; using std::make_pair; using std::pair; namespace insnet { class MatrixExecutor : public Executor { public: int getRow(...
30.681234
98
0.600251
[ "vector" ]
91839b1e235c45d56c0525a48da9844fa7059376
5,115
cpp
C++
Gems/MultiplayerCompression/Code/Tests/MultiplayerCompressionTest.cpp
sandeel31/o3de
db88812d61eef77c6f4451b7f8c7605d6db07412
[ "Apache-2.0", "MIT" ]
1
2022-03-12T14:13:45.000Z
2022-03-12T14:13:45.000Z
Gems/MultiplayerCompression/Code/Tests/MultiplayerCompressionTest.cpp
sandeel31/o3de
db88812d61eef77c6f4451b7f8c7605d6db07412
[ "Apache-2.0", "MIT" ]
2
2022-01-13T04:29:38.000Z
2022-03-12T01:05:31.000Z
Gems/MultiplayerCompression/Code/Tests/MultiplayerCompressionTest.cpp
sandeel31/o3de
db88812d61eef77c6f4451b7f8c7605d6db07412
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <lz4.h> #include <AzCore/UnitTest/TestTypes.h> #include <LZ4Compressor.h> #include <AzC...
39.045802
184
0.754643
[ "3d" ]
918467ef28ef1dba4558b635ef7cfb26eb296b0e
13,844
cpp
C++
c++/src/objtools/blast/blastdb_format/blastdb_dataextract.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/src/objtools/blast/blastdb_format/blastdb_dataextract.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/src/objtools/blast/blastdb_format/blastdb_dataextract.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: blastdb_dataextract.cpp 389294 2013-02-14 18:43:48Z rafanovi $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Go...
31.040359
98
0.616729
[ "vector", "transform" ]
918557964070dae69dd51ac8f9c51f1fcb652751
1,343
cpp
C++
src/render/materials.cpp
hydrocarborane/polyscope
bee34c22cd7ac1b1e01686b55b7b8ceeee20d2fe
[ "MIT" ]
930
2018-02-19T16:38:29.000Z
2022-03-30T22:16:01.000Z
src/render/materials.cpp
hydrocarborane/polyscope
bee34c22cd7ac1b1e01686b55b7b8ceeee20d2fe
[ "MIT" ]
142
2018-02-19T16:14:28.000Z
2022-03-25T13:51:08.000Z
src/render/materials.cpp
hydrocarborane/polyscope
bee34c22cd7ac1b1e01686b55b7b8ceeee20d2fe
[ "MIT" ]
92
2018-05-13T01:41:04.000Z
2022-03-28T03:26:44.000Z
// Copyright 2017-2019, Nicholas Sharp and the Polyscope contributors. http://polyscope.run. #include "polyscope/render/materials.h" #include "polyscope/messages.h" #include "polyscope/render/engine.h" #include "polyscope/render/material_defs.h" #include "imgui.h" #include "stb_image.h" namespace polyscope { namesp...
27.979167
100
0.69248
[ "render" ]
918a5a398d5dadef1b2e7d779c7b2b8d5516f9fb
2,617
cpp
C++
Tests/MeshLib/TestElementStatus.cpp
garibay-j/ogs
33340f22e9dbe0b7ccc60f0c828c2a528737c81e
[ "BSD-3-Clause" ]
null
null
null
Tests/MeshLib/TestElementStatus.cpp
garibay-j/ogs
33340f22e9dbe0b7ccc60f0c828c2a528737c81e
[ "BSD-3-Clause" ]
null
null
null
Tests/MeshLib/TestElementStatus.cpp
garibay-j/ogs
33340f22e9dbe0b7ccc60f0c828c2a528737c81e
[ "BSD-3-Clause" ]
null
null
null
/** * \file * \author Karsten Rink * \date 2013-03-14 * \brief Tests for ElementStatus class * * \copyright * Copyright (c) 2012-2022, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http...
32.7125
78
0.628582
[ "mesh", "vector" ]
918c22e7aba173714f76ccfbc66cdf00cd833528
1,095
cpp
C++
LeetCode/HouseRobber.cpp
Anvesh-Chennupati/DsAlgo
fd8ddd264e14f89f86e339c684e1f7a553507a35
[ "MIT" ]
null
null
null
LeetCode/HouseRobber.cpp
Anvesh-Chennupati/DsAlgo
fd8ddd264e14f89f86e339c684e1f7a553507a35
[ "MIT" ]
null
null
null
LeetCode/HouseRobber.cpp
Anvesh-Chennupati/DsAlgo
fd8ddd264e14f89f86e339c684e1f7a553507a35
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; class Solution { public: int maxProfitR(vector<int> houses) { vector<int> tempsol(houses.size(), 0); for (int i = 0; i < houses.size(); i++) { int tempprofit = houses[i]; for (int j =...
22.346939
60
0.499543
[ "vector" ]
9261be996bd662d98067112d662e7927e55eec51
2,789
cpp
C++
Alignment/MuonAlignment/test/TestAlign.cpp
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Alignment/MuonAlignment/test/TestAlign.cpp
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Alignment/MuonAlignment/test/TestAlign.cpp
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// -*- C++ -*- // // Package: TestAlign // Class: TestAlign // // // Description: Module to test the Alignment software // // // system include files #include <string> // user include files #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Framework/interface/EDAnalyzer.h" #include "F...
29.052083
112
0.661527
[ "vector" ]
9261c970769320f8c17fa0606d3a12d03d76f974
397
cpp
C++
code/remove-duplicates-from-sorted-array-ii/remove_duplicates_from_sorted_array_ii.cpp
shenhuaze/leetcode-cpp
2a70f33697fbc562207e1ed3bbe8d038512628be
[ "MIT" ]
1
2019-06-17T04:37:39.000Z
2019-06-17T04:37:39.000Z
code/remove-duplicates-from-sorted-array-ii/remove_duplicates_from_sorted_array_ii.cpp
shenhuaze/leetcode-cpp
2a70f33697fbc562207e1ed3bbe8d038512628be
[ "MIT" ]
null
null
null
code/remove-duplicates-from-sorted-array-ii/remove_duplicates_from_sorted_array_ii.cpp
shenhuaze/leetcode-cpp
2a70f33697fbc562207e1ed3bbe8d038512628be
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int RemoveDuplicates(vector<int>& nums) { int index = 0; for (int num: nums) { if (index < 2 || num > nums[index - 2]) { nums[index] = num; index += 1; } } return index; } int main() { vector<int> n...
18.904762
49
0.518892
[ "vector" ]
92662aa5f03714e401e3340c61ad28a4010ba017
9,628
cc
C++
lite/backends/nnadapter/nnadapter/driver/imagination_nna/converter/converter.cc
chiaitian/Paddle-Lite
07bfd0705b8351f0e6c9d95bcee71e4ac011fa62
[ "Apache-2.0" ]
3
2021-06-17T11:00:13.000Z
2021-08-10T10:28:59.000Z
lite/backends/nnadapter/nnadapter/driver/imagination_nna/converter/converter.cc
chiaitian/Paddle-Lite
07bfd0705b8351f0e6c9d95bcee71e4ac011fa62
[ "Apache-2.0" ]
1
2021-05-26T05:19:38.000Z
2021-05-26T05:19:38.000Z
lite/backends/nnadapter/nnadapter/driver/imagination_nna/converter/converter.cc
yingshengBD/Paddle-Lite
eea59b66f61bb2acad471010c9526eeec43a15ca
[ "Apache-2.0" ]
1
2021-12-03T10:07:54.000Z
2021-12-03T10:07:54.000Z
// Copyright (c) 2019 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...
38.979757
80
0.602098
[ "vector", "model" ]
9279ae2b9a77663321b2c5bf3f947ad102c8a4d9
3,476
cpp
C++
Tests/test_chm_mpm_mix1.cpp
MingAtUWA/SimpleMPM
46a0e48028b7d6258f452f9cbee6195bb7f6aa41
[ "MIT" ]
null
null
null
Tests/test_chm_mpm_mix1.cpp
MingAtUWA/SimpleMPM
46a0e48028b7d6258f452f9cbee6195bb7f6aa41
[ "MIT" ]
null
null
null
Tests/test_chm_mpm_mix1.cpp
MingAtUWA/SimpleMPM
46a0e48028b7d6258f452f9cbee6195bb7f6aa41
[ "MIT" ]
null
null
null
#include "Test_pcp.h" #include "Model_S2D_CHM_MPM_s_Mix.h" #include "Step_S2D_CHM_MPM_s_Mix.h" #include "TimeHistory_Particle_S2D_CHM_Mix_AllPcl.h" #include "TimeHistory_ConsoleProgressBar.h" #include "ResultFile_Text.h" #include "test_sim_core.h" // 1 by 1 element void test_chm_mpm_mix1(void) { Model_S2D_CHM_MPM_...
27.15625
89
0.678078
[ "model" ]
927f4db42ebb9bf6d246c8236998dbe82f029be5
5,112
cpp
C++
QuantMate/ChessFigure.cpp
IKholopov/QuantMate
89eb0f9a51e051d349e88bbcecc15b06cb114269
[ "Apache-2.0" ]
null
null
null
QuantMate/ChessFigure.cpp
IKholopov/QuantMate
89eb0f9a51e051d349e88bbcecc15b06cb114269
[ "Apache-2.0" ]
null
null
null
QuantMate/ChessFigure.cpp
IKholopov/QuantMate
89eb0f9a51e051d349e88bbcecc15b06cb114269
[ "Apache-2.0" ]
null
null
null
#include "ChessFigure.h" #include <assert.h> #include "BitmapResource.h" CChessFigure::CChessFigure(Figure figure, FigureColor color, Coordinates position, float probability, float velocity): quantObject(new CQuantObject()) { this->figure = figure; this->color = color; assert(position.X >= 0 && positi...
26.764398
136
0.717919
[ "render" ]
927f660e9e97b0507b9b8888efef7a2bde80b578
433
cpp
C++
leetcode_archived_cpp/LeetCode_89.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
null
null
null
leetcode_archived_cpp/LeetCode_89.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
7
2021-03-19T04:41:21.000Z
2021-10-19T15:46:36.000Z
leetcode_archived_cpp/LeetCode_89.cpp
Sean10/Algorithm_code
46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb
[ "BSD-3-Clause" ]
null
null
null
class Solution { public: vector<int> grayCode(int n) { vector<int> ans; bitset<32> temp; helper(temp ,ans, n); return ans; } void helper(bitset<32>& temp, vector<int>& ans, int n) { if(n == 0) { ans.push_back(temp.to_ulong()); retu...
18.826087
58
0.459584
[ "vector" ]
9284f4488622503da6a63bfee134c7e9664fb332
13,098
hpp
C++
3rdparty/GPSTk/core/lib/GNSSCore/MOPSTropModel.hpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/GPSTk/core/lib/GNSSCore/MOPSTropModel.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/GPSTk/core/lib/GNSSCore/MOPSTropModel.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
//============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation; ei...
37.422857
79
0.584746
[ "object", "vector", "model" ]
928cef41633704cad2aa62c8921754455109b55f
13,153
cc
C++
omaha/internal/chrome_recovery_improved/command_line.cc
r3yn0ld4/omaha
05eeb606c433b7d0622dc95a10afd0c8d7af11b6
[ "Apache-2.0" ]
1,975
2015-07-03T07:00:50.000Z
2022-03-31T20:04:04.000Z
omaha/internal/chrome_recovery_improved/command_line.cc
r3yn0ld4/omaha
05eeb606c433b7d0622dc95a10afd0c8d7af11b6
[ "Apache-2.0" ]
277
2015-07-18T00:13:30.000Z
2022-03-31T22:18:39.000Z
omaha/internal/chrome_recovery_improved/command_line.cc
r3yn0ld4/omaha
05eeb606c433b7d0622dc95a10afd0c8d7af11b6
[ "Apache-2.0" ]
685
2015-07-18T11:24:49.000Z
2022-03-30T20:50:12.000Z
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
32.476543
80
0.662054
[ "object" ]
9295ec8ee15407d1839bac31fb3199a4faa07b05
11,233
cc
C++
app/geant-exporter/geant-exporter-cat.cc
vrpascuzzi/celeritas
6a8ffc5e6551371fab7cdb5bbb55c60e65f0439f
[ "Apache-2.0", "MIT" ]
null
null
null
app/geant-exporter/geant-exporter-cat.cc
vrpascuzzi/celeritas
6a8ffc5e6551371fab7cdb5bbb55c60e65f0439f
[ "Apache-2.0", "MIT" ]
null
null
null
app/geant-exporter/geant-exporter-cat.cc
vrpascuzzi/celeritas
6a8ffc5e6551371fab7cdb5bbb55c60e65f0439f
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
34.039394
96
0.449301
[ "geometry", "vector", "solid" ]
92995b5f37058b039e11fd0e2eb6e40e21bbcfd7
18,186
cpp
C++
ui/viewmodel/settings_view.cpp
iambeam/beam
6dc302a96339463a85cf0f2f15aaf4d4b5d00edb
[ "Apache-2.0" ]
1
2019-09-24T11:33:23.000Z
2019-09-24T11:33:23.000Z
ui/viewmodel/settings_view.cpp
iambeam/beam
6dc302a96339463a85cf0f2f15aaf4d4b5d00edb
[ "Apache-2.0" ]
null
null
null
ui/viewmodel/settings_view.cpp
iambeam/beam
6dc302a96339463a85cf0f2f15aaf4d4b5d00edb
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Beam Team // // 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.679688
147
0.720279
[ "model" ]
929c3186ad055aacb63a3792296dc4ac774dbd60
9,160
cpp
C++
source/rotating_body.cpp
timbeaudet/racecar
3695be16a92c7be6d10c2a9c6fc93a9ad7324aea
[ "MIT" ]
7
2017-08-19T08:34:10.000Z
2020-05-31T18:38:53.000Z
source/rotating_body.cpp
timbeaudet/racecar
3695be16a92c7be6d10c2a9c6fc93a9ad7324aea
[ "MIT" ]
1
2017-10-15T17:11:54.000Z
2017-10-15T17:11:54.000Z
source/rotating_body.cpp
timbeaudet/racecar
3695be16a92c7be6d10c2a9c6fc93a9ad7324aea
[ "MIT" ]
null
null
null
/// /// @file /// @details A simple base class for each of the components of the drive-train that have rotating bodies. /// /// <!-- This file is made available under the terms of the MIT license(see LICENSE.md) --> /// <!-- Copyright (c) 2017 Contributers: Tim Beaudet, --> ///------------------------------------...
39.145299
139
0.432424
[ "vector" ]
929c345e91b8f369cc10409bc519979e1c128561
427
cc
C++
Leetcode/0201_to_0250/0240_search_2D_matrix_2/cc/search_2D_matrix_2.cc
z-yin/Leetcode-learning
e84c2fb067b767ed5f24d8736274c7ebce5dc00e
[ "MIT" ]
1
2019-07-31T08:44:45.000Z
2019-07-31T08:44:45.000Z
Leetcode/0201_to_0250/0240_search_2D_matrix_2/cc/search_2D_matrix_2.cc
z-yin/Leetcode-learning
e84c2fb067b767ed5f24d8736274c7ebce5dc00e
[ "MIT" ]
null
null
null
Leetcode/0201_to_0250/0240_search_2D_matrix_2/cc/search_2D_matrix_2.cc
z-yin/Leetcode-learning
e84c2fb067b767ed5f24d8736274c7ebce5dc00e
[ "MIT" ]
null
null
null
#include <vector> using namespace std; // 60 ms, 12 MB. class Solution { public: bool searchMatrix(vector<vector<int>>& matrix, int target) { if (matrix.empty() || matrix[0].empty()) return false; int r = matrix.size() - 1; int c = 0; while (r >= 0 && c < matrix[0].size()) { if (matrix[r][c] =...
23.722222
62
0.555035
[ "vector" ]
929c4f9441603d39f4f73a4732d0823bc7da0136
1,987
cpp
C++
genresp/genrespmle.cpp
sjhaberman/irtlib
a1c08f77b508e1880a5351fa44631f3f5c846650
[ "Apache-2.0" ]
2
2019-09-25T09:16:58.000Z
2020-01-14T03:47:48.000Z
genresp/genrespmle.cpp
sjhaberman/irtlib
a1c08f77b508e1880a5351fa44631f3f5c846650
[ "Apache-2.0" ]
null
null
null
genresp/genrespmle.cpp
sjhaberman/irtlib
a1c08f77b508e1880a5351fa44631f3f5c846650
[ "Apache-2.0" ]
null
null
null
//Find maximum likelihood estimates for response model. //See genresplik.cpp and nrv.cpp for definitions of structs //used. //Newton-Raphson approach is used if algorithm is N. //Louis approach is used if algorithm is L. //Conjugate gradient method is used if algorithm is C. //Gradient ascent is used if algorithm is G....
24.530864
77
0.651736
[ "vector", "model", "transform" ]
92a247e2df71119c7e14b0c6ece8d697f54b3a25
2,168
hpp
C++
liblava/frame/driver.hpp
TheLavaBlock/LavaBlock
fc2eadb75dfa58622a1941911f20fe31f8780f30
[ "MIT" ]
11
2018-10-26T02:15:53.000Z
2019-05-25T16:08:17.000Z
liblava/frame/driver.hpp
TheLavaBlock/LavaBlock
fc2eadb75dfa58622a1941911f20fe31f8780f30
[ "MIT" ]
null
null
null
liblava/frame/driver.hpp
TheLavaBlock/LavaBlock
fc2eadb75dfa58622a1941911f20fe31f8780f30
[ "MIT" ]
null
null
null
/** * @file liblava/frame/driver.hpp * @brief Stage driver * @authors Lava Block OÜ and contributors * @copyright Copyright (c) 2018-present, MIT License */ #pragma once #include <liblava/frame/argh.hpp> namespace lava { /** * @brief Stage */ struct stage { /// Map of stages us...
18.852174
70
0.557657
[ "object" ]
92a31e42714364808224afa6d050d264c89e5c3e
5,534
cpp
C++
components/LedDrivers/Strip_ws2812.cpp
afugs98/SmartHome
ffe5926b8eb632a84a6f57c072d67eb6b3ceb9af
[ "MIT" ]
null
null
null
components/LedDrivers/Strip_ws2812.cpp
afugs98/SmartHome
ffe5926b8eb632a84a6f57c072d67eb6b3ceb9af
[ "MIT" ]
2
2019-06-22T02:39:36.000Z
2019-06-22T05:22:42.000Z
components/LedDrivers/Strip_ws2812.cpp
afugs98/SmartHome
ffe5926b8eb632a84a6f57c072d67eb6b3ceb9af
[ "MIT" ]
null
null
null
#include "Strip_ws2812.h" #include <stdio.h> #include <stdlib.h> #include <espressif/esp_wifi.h> #include <espressif/esp_sta.h> #include <esp/uart.h> #include <esp8266.h> #include <FreeRTOS.h> #include <task.h> #include <math.h> #define LED_ON 0 // this is the value to write to GPIO for led on (0 = GPI...
25.385321
95
0.610047
[ "shape" ]
92a99dafc0bd2179ce74b882f31acc1b51417bf0
610
hpp
C++
src/engine/render/imgui/ImGuiContextWrapper.hpp
Henauxg/ExperimEngine
e031700128239b3fe3901cb0704699c06257b8e9
[ "MIT" ]
3
2020-01-08T19:17:02.000Z
2021-11-29T18:52:22.000Z
src/engine/render/imgui/ImGuiContextWrapper.hpp
Henauxg/ExperimEngine
e031700128239b3fe3901cb0704699c06257b8e9
[ "MIT" ]
null
null
null
src/engine/render/imgui/ImGuiContextWrapper.hpp
Henauxg/ExperimEngine
e031700128239b3fe3901cb0704699c06257b8e9
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <engine/log/ExpengineLog.hpp> #include <engine/render/imgui/lib/imgui.h> /* RAII wrapper for an ImGui context */ namespace experim { /** Custom back-end */ class ImGuiContextWrapper { public: inline ImGuiContextWrapper() { ctx_ = ImGui::CreateContext(); }; /* Also des...
21.785714
68
0.683607
[ "render" ]
92aa912590d0d9ff983a20e8f046e399364bb106
850
cc
C++
C_C++_Tricks.cc
Computational-Camera/OPENCV_Tricks
e79957306ce8f267cc725f869769ffda92f47e7c
[ "MIT" ]
1
2019-10-30T06:07:52.000Z
2019-10-30T06:07:52.000Z
C_C++_Tricks.cc
Computational-Camera/OPENCV_Tricks
e79957306ce8f267cc725f869769ffda92f47e7c
[ "MIT" ]
null
null
null
C_C++_Tricks.cc
Computational-Camera/OPENCV_Tricks
e79957306ce8f267cc725f869769ffda92f47e7c
[ "MIT" ]
1
2019-11-19T05:56:19.000Z
2019-11-19T05:56:19.000Z
//====Number to String==== char str[8];//enough large sprintf(str, "%d", t); //====Variable File Name==== ostringstream fn; fn<<"./output/xxx_"<<k<<".JPG"; (fn.str()).c_str() //=====Time Performance===== struct timespec start, end; clock_gettime(CLOCK_MONOTONIC_RAW, &start); //------------------ clock_gettime(CLOCK...
25.757576
102
0.64
[ "3d" ]