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
d9d9ce5902682f9c628ed76751ef40cfb054ac22
1,327
cpp
C++
openbr/plugins/metadata/normalizemetadata.cpp
kassemitani/openbr
7b453f7abc6f997839a858f4b7686bc5e21ef7b2
[ "Apache-2.0" ]
1,883
2015-01-04T07:04:24.000Z
2022-03-30T13:33:37.000Z
openbr/plugins/metadata/normalizemetadata.cpp
kassemitani/openbr
7b453f7abc6f997839a858f4b7686bc5e21ef7b2
[ "Apache-2.0" ]
272
2015-01-02T09:53:20.000Z
2022-03-29T08:04:33.000Z
openbr/plugins/metadata/normalizemetadata.cpp
kassemitani/openbr
7b453f7abc6f997839a858f4b7686bc5e21ef7b2
[ "Apache-2.0" ]
718
2015-01-02T18:51:07.000Z
2022-03-29T08:10:53.000Z
#include <openbr/plugins/openbr_internal.h> namespace br { /*! * \ingroup transforms * \brief Normalize a floating point metadata item to be between -1 and 1. Useful for classifier labels. * \br_property QString inputVariable Metadata key for the item to scale. Default is empty string. * \br_property float min Mi...
34.921053
123
0.752072
[ "transform" ]
d9db94058235e28af932bf55aa9822936fd25c58
4,847
cpp
C++
heat2d-sycl/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
58
2020-08-06T18:53:44.000Z
2021-10-01T07:59:46.000Z
heat2d-sycl/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
2
2020-12-04T12:35:02.000Z
2021-03-04T22:49:25.000Z
heat2d-sycl/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
13
2020-08-19T13:44:18.000Z
2021-09-08T04:25:34.000Z
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> #include <sys/time.h> #include <math.h> #include <vector> #include "defs.h" #include "common.h" #include "io.c" #include "lapl_ss.c" double stop_watch(double t0) { double time; struct timeval t; gettimeofday(&t, NULL); time = (dou...
26.2
111
0.579534
[ "vector" ]
d9dc888c9ec3f6929f56862d8fcd8af2d756d912
7,503
cpp
C++
Base/PLMesh/src/Creator/MeshCreatorTorus.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Base/PLMesh/src/Creator/MeshCreatorTorus.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
19
2018-08-24T08:10:13.000Z
2018-11-29T06:39:08.000Z
Base/PLMesh/src/Creator/MeshCreatorTorus.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: MeshCreatorTorus.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
35.391509
100
0.587365
[ "mesh", "geometry" ]
d9e2fba659b8828dfcac4c31d6dc93ecc8ed7d76
1,209
hpp
C++
module-audio/board/linux/PulseAudioWrapper.hpp
GravisZro/MuditaOS
4230da15e69350c3ef9e742ec587e5f70154fabd
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
module-audio/board/linux/PulseAudioWrapper.hpp
GravisZro/MuditaOS
4230da15e69350c3ef9e742ec587e5f70154fabd
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
module-audio/board/linux/PulseAudioWrapper.hpp
GravisZro/MuditaOS
4230da15e69350c3ef9e742ec587e5f70154fabd
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include <pulse/pulseaudio.h> #include <Audio/AudioFormat.hpp> #include <Audio/AbstractStream.hpp> #include <cstdint> #include <functional> #include <deque> #include <ve...
25.1875
76
0.652605
[ "vector" ]
d9e5ad9bead4c7ebf395f94571c914620c3cc30b
2,180
cpp
C++
atcoder/corp/diverta2019_2_c.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
atcoder/corp/diverta2019_2_c.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
atcoder/corp/diverta2019_2_c.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<int, int> P; typedef pair<ll, ll> Pll; typedef vector<int> Vi; //typedef tuple<int, int, int> T; #define FOR(i,s,x) for(int i=s;i<(int)(x);i++) #define REP(i,x) FOR(i,0,x) #define ALL(c) c.begin(), c.end() #define DUMP( x ) cerr << #x...
23.956044
64
0.490367
[ "vector" ]
d9e9ef52f49a3bacf2c90c5bf2acec5bcb2278fd
2,971
cpp
C++
dev/Gems/StartingPointMovement/Code/Source/StartingPointMovementGem.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Gems/StartingPointMovement/Code/Source/StartingPointMovementGem.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Gems/StartingPointMovement/Code/Source/StartingPointMovementGem.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.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...
38.584416
153
0.687647
[ "vector" ]
d9f5458ac29629ae6dc355c031d2097ad58ef45b
10,094
cc
C++
src/reader/spirv/parser_impl_function_decl_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
src/reader/spirv/parser_impl_function_decl_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
src/reader/spirv/parser_impl_function_decl_test.cc
jhanssen/tint
30c1f25a7a4e180419444c12046348edb0f8fdd0
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Tint Authors. // // 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 ...
26.633245
78
0.63404
[ "vector" ]
d9fe6a500e791decfb327a81fb98d88e56068819
6,794
cpp
C++
src/DANE/dane_omp.cpp
microsoft/DistrOpt
73f2fc0c5d12257d4fb4e1aacc77ab23a0d2de98
[ "MIT" ]
1
2020-10-26T10:23:27.000Z
2020-10-26T10:23:27.000Z
src/DANE/dane_omp.cpp
microsoft/DistrOpt
73f2fc0c5d12257d4fb4e1aacc77ab23a0d2de98
[ "MIT" ]
null
null
null
src/DANE/dane_omp.cpp
microsoft/DistrOpt
73f2fc0c5d12257d4fb4e1aacc77ab23a0d2de98
[ "MIT" ]
3
2020-09-04T06:36:36.000Z
2021-11-10T11:28:05.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include <iostream> #include <fstream> #include <iomanip> #include <numeric> #include <algorithm> #include "timer.h" #include "utils.h" #include "randalgms.h" #include "dane_omp.h" #include "lbfgs_omp.h" namespace distropt { ...
33.303922
133
0.588608
[ "vector" ]
8a0e1403f5a1476fd3f285c966e471338c30e194
1,111
hpp
C++
platforms/linux/src/Application/Packets/Commands/GetControllersIds/GetControllersIdsResponse.hpp
iotile/baBLE-linux
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
13
2018-07-04T16:35:37.000Z
2021-03-03T10:41:07.000Z
platforms/linux/src/Application/Packets/Commands/GetControllersIds/GetControllersIdsResponse.hpp
iotile/baBLE
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
11
2018-06-01T20:32:32.000Z
2019-01-21T17:03:47.000Z
platforms/linux/src/Application/Packets/Commands/GetControllersIds/GetControllersIdsResponse.hpp
iotile/baBLE-linux
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
null
null
null
#ifndef BABLE_GETCONTROLLERSIDSRESPONSE_HPP #define BABLE_GETCONTROLLERSIDSRESPONSE_HPP #include "Application/Packets/Base/ControllerToHostPacket.hpp" namespace Packet { namespace Commands { class GetControllersIdsResponse : public ControllerToHostPacket { public: static const Packet::Type initial_...
24.152174
87
0.715572
[ "vector" ]
8a0f0e218689605ece56a04f1325fad865c1e63a
10,947
cpp
C++
source/smarties/ReplayMemory/Episode.cpp
waitong94/smarties
e48fe6a8ba4695e20146cf5ca7c6720989217ed3
[ "MIT" ]
91
2018-07-16T07:54:06.000Z
2022-03-15T09:50:22.000Z
source/smarties/ReplayMemory/Episode.cpp
waitong94/smarties
e48fe6a8ba4695e20146cf5ca7c6720989217ed3
[ "MIT" ]
7
2019-04-03T03:14:59.000Z
2021-11-17T09:02:14.000Z
source/smarties/ReplayMemory/Episode.cpp
waitong94/smarties
e48fe6a8ba4695e20146cf5ca7c6720989217ed3
[ "MIT" ]
36
2018-07-16T08:08:35.000Z
2022-03-29T02:40:20.000Z
// // smarties // Copyright (c) 2018 CSE-Lab, ETH Zurich, Switzerland. All rights reserved. // Distributed under the terms of the MIT license. // // Created by Guido Novati (novatig@ethz.ch). // #include "Episode.h" #include "../Core/Agent.h" #include <cstring> #include <cmath> #include <algorithm> namespace smar...
39.663043
88
0.604366
[ "vector" ]
8a18070f1524ae7bc7c3b39decb002396ad2d2e7
2,325
hh
C++
elements/analysis/timestampaccum.hh
MassimoGirondi/fastclick
71b9a3392c2e847a22de3c354be1d9f61216cb5b
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/analysis/timestampaccum.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/analysis/timestampaccum.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
// -*- c-basic-offset: 4 -*- #ifndef CLICK_TIMESTAMPACCUM_HH #define CLICK_TIMESTAMPACCUM_HH #include <click/batchelement.hh> #include <click/straccum.hh> #include <click/args.hh> CLICK_DECLS /* =c TimestampAccum() =s timestamps collects differences in timestamps =d For each passing packet, measures the elapsed t...
24.734043
80
0.734624
[ "vector" ]
8a1abbd5f01dcc14db47154e302eb6206259e952
5,022
cpp
C++
src/sigma/test/unit_tests.cpp
Beekers-McCluer/NixCore
e62cdcd5ac8a089948e9a22e6a3a60d139cb1e4e
[ "MIT" ]
43
2018-06-27T22:35:17.000Z
2021-01-21T01:18:15.000Z
src/sigma/test/unit_tests.cpp
Beekers-McCluer/NixCore
e62cdcd5ac8a089948e9a22e6a3a60d139cb1e4e
[ "MIT" ]
32
2018-06-27T12:43:36.000Z
2020-12-04T22:23:36.000Z
src/sigma/test/unit_tests.cpp
Beekers-McCluer/NixCore
e62cdcd5ac8a089948e9a22e6a3a60d139cb1e4e
[ "MIT" ]
27
2018-06-27T16:07:19.000Z
2021-02-21T21:10:38.000Z
#include "../r1_proof.h" #include "../r1_proof_generator.h" #include "../sigma_primitives.h" #include "../../test/test_bitcoin.h" #include <boost/test/unit_test.hpp> using namespace secp_primitives; using namespace sigma; namespace { struct sigma_unit_tests_fixture { // struct sigma_unit_tests_fixture : publ...
30.621951
117
0.54779
[ "vector" ]
8a219713dbe7cb175217cbcbcdda6415a8f89813
791
cpp
C++
MFC/day07/day07/MFCData/MFCData.cpp
youngqqcn/WindowsNotes
e18485cd9516bab11c51c66511c40055ae33df23
[ "MIT" ]
44
2019-03-24T10:50:53.000Z
2022-03-25T16:29:17.000Z
MFC/day07/day07/MFCData/MFCData.cpp
youngqqcn/WindowsNotes
e18485cd9516bab11c51c66511c40055ae33df23
[ "MIT" ]
null
null
null
MFC/day07/day07/MFCData/MFCData.cpp
youngqqcn/WindowsNotes
e18485cd9516bab11c51c66511c40055ae33df23
[ "MIT" ]
13
2019-05-09T16:20:58.000Z
2022-03-08T06:48:34.000Z
// MFCData.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "MFCData.h" #include <afxtempl.h> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // The ...
11.3
77
0.591656
[ "object" ]
8a220102a4993b5375f7df0fd19bb45efca9112f
8,841
hpp
C++
examples/ui/Drawing2D.hpp
tobiaskohlbau/IPPP
91432f00b49ea5a83648e3294ad5b4b661dcd284
[ "Apache-2.0" ]
null
null
null
examples/ui/Drawing2D.hpp
tobiaskohlbau/IPPP
91432f00b49ea5a83648e3294ad5b4b661dcd284
[ "Apache-2.0" ]
null
null
null
examples/ui/Drawing2D.hpp
tobiaskohlbau/IPPP
91432f00b49ea5a83648e3294ad5b4b661dcd284
[ "Apache-2.0" ]
null
null
null
#ifndef DRAWING2D_HPP #define DRAWING2D_HPP #include <type_traits> #include "opencv2/core/eigen.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <Eigen/Core> #include <ippp/Identifier.h> #include <ippp/dataObj/Node.hpp> #include <ippp/dataObj/PointList.hpp> #include <ippp/t...
39.293333
128
0.609207
[ "cad", "mesh", "vector", "model" ]
8a27218d901285520ba45af0316c380e358fd79f
18,153
cc
C++
Calibration/EcalCalibAlgos/src/PhiSymmetryCalibration.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Calibration/EcalCalibAlgos/src/PhiSymmetryCalibration.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Calibration/EcalCalibAlgos/src/PhiSymmetryCalibration.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "Calibration/EcalCalibAlgos/interface/PhiSymmetryCalibration.h" // System include files #include <memory> // Framework #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DataFormats/Ecal...
29.906096
134
0.658624
[ "geometry", "vector" ]
8a29085d6cde08151c6e5d04bb2592859791d08c
6,928
cpp
C++
03_Tutorial/T02_XMCocos2D-CookBook/Source/Libraries/mcLua.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
03_Tutorial/T02_XMCocos2D-CookBook/Source/Libraries/mcLua.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
03_Tutorial/T02_XMCocos2D-CookBook/Source/Libraries/mcLua.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* -------------------------------------------------------------------------- * * File mcLua.cpp * Ported By Young-Hwan Mun * Contact xmsoft77@gmail.com * * Created by Robert Grzesek on 11/10/09 * * -------------------------------------------------------------...
23.564626
83
0.618505
[ "object" ]
8a33b1179539fe79ad1d1c117ec845d69648fd1c
3,372
cpp
C++
vcgapps/vcglib/apps/sample/trimesh_clustering/trimesh_clustering.cpp
mattjr/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
14
2015-01-11T02:53:04.000Z
2021-11-25T17:31:22.000Z
vcgapps/vcglib/apps/sample/trimesh_clustering/trimesh_clustering.cpp
skair39/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
null
null
null
vcgapps/vcglib/apps/sample/trimesh_clustering/trimesh_clustering.cpp
skair39/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
14
2015-07-21T04:47:52.000Z
2020-03-12T12:31:25.000Z
// mesh definition //#include <vcg/simplex/vertex/with/vn.h> //#include <vcg/simplex/face/with/af.h> //#include <vcg/complex/complex.h> #include<vcg/simplex/vertex/base.h> #include<vcg/simplex/face/base.h> #include<vcg/simplex/face/topology.h> #include<vcg/complex/complex.h> #include <vcg/complex/algorithms/updat...
31.811321
115
0.655397
[ "mesh", "vector" ]
8a38098a5cfe6a62b4b37f617ff51af6cd9311ce
3,251
cpp
C++
Summer Engine/Source Code/MeshImporter.cpp
albertec1/Summer-Engine
088c7acb1d953ff787823795ac575452db2e08b0
[ "MIT" ]
null
null
null
Summer Engine/Source Code/MeshImporter.cpp
albertec1/Summer-Engine
088c7acb1d953ff787823795ac575452db2e08b0
[ "MIT" ]
null
null
null
Summer Engine/Source Code/MeshImporter.cpp
albertec1/Summer-Engine
088c7acb1d953ff787823795ac575452db2e08b0
[ "MIT" ]
null
null
null
#include "Globals.h" #include "MeshImporter.h" #include "Assimp.h" #pragma comment (lib, "assimp.lib") #include <cmath> MeshImporter::MeshImporter() { } MeshImporter::~MeshImporter() { } MeshInfo* MeshImporter::LoadScene(const std::string& filename) { MeshInfo* ret = nullptr; //import the scene from a file con...
27.319328
193
0.697631
[ "mesh", "geometry", "model" ]
8a39336aa5f0540541b12526a4ff8b2901130712
59,042
cc
C++
open_spiel/games/tarok_test.cc
Limmen/open_spiel
2d4d7b783a9161e2c4c90f70dec29d6982fac6c1
[ "Apache-2.0" ]
1
2021-12-31T01:45:58.000Z
2021-12-31T01:45:58.000Z
open_spiel/games/tarok_test.cc
Limmen/open_spiel
2d4d7b783a9161e2c4c90f70dec29d6982fac6c1
[ "Apache-2.0" ]
null
null
null
open_spiel/games/tarok_test.cc
Limmen/open_spiel
2d4d7b783a9161e2c4c90f70dec29d6982fac6c1
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 DeepMind Technologies 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 l...
40.718621
80
0.716134
[ "vector" ]
8a3bfab4557b727bba6276ec530efd4e6c73f50b
572
cpp
C++
2DGameEngine/src/rendering/shaders/GuiShader.cpp
pbeaulieu26/2DGameEngine
898a7d92d91cd77b51bf71245e78dcc33e344bc5
[ "Apache-2.0" ]
null
null
null
2DGameEngine/src/rendering/shaders/GuiShader.cpp
pbeaulieu26/2DGameEngine
898a7d92d91cd77b51bf71245e78dcc33e344bc5
[ "Apache-2.0" ]
null
null
null
2DGameEngine/src/rendering/shaders/GuiShader.cpp
pbeaulieu26/2DGameEngine
898a7d92d91cd77b51bf71245e78dcc33e344bc5
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "GuiShader.h" namespace { const char * vertexShaderFile = "res/shaders/guiVertexShader.txt"; const char * fragmentShaderFile = "res/shaders/guiFragmentShader.txt"; const std::vector<const GLchar *> attributes{ "position" }; } GuiShader::GuiShader() : ShaderProgram(vertexShad...
26
80
0.758741
[ "vector" ]
8a3d308157c990bce3e8d9814a28b845fc10a048
218
hpp
C++
vector.hpp
cassiorenan/eve
3795aa86cc42dfc94c446392db6e1eefa7b561cf
[ "MIT" ]
null
null
null
vector.hpp
cassiorenan/eve
3795aa86cc42dfc94c446392db6e1eefa7b561cf
[ "MIT" ]
null
null
null
vector.hpp
cassiorenan/eve
3795aa86cc42dfc94c446392db6e1eefa7b561cf
[ "MIT" ]
null
null
null
#ifndef EVE_VECTOR_HPP #define EVE_VECTOR_HPP #include "detail/vector.hpp" #include "detail/structured_bindings.hpp" #include "detail/operators.hpp" namespace eve { using detail::vector; } // namespace eve #endif
14.533333
41
0.770642
[ "vector" ]
8a43addeed02045cc9d09c49cc3b43462c222fe1
2,307
cc
C++
CondFormats/CSCObjects/test/stubs/CSCCrossTalkReadAnalyzer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
2
2020-10-26T18:40:32.000Z
2021-04-10T16:33:25.000Z
CondFormats/CSCObjects/test/stubs/CSCCrossTalkReadAnalyzer.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
25
2016-06-24T20:55:32.000Z
2022-02-01T19:24:45.000Z
CondFormats/CSCObjects/test/stubs/CSCCrossTalkReadAnalyzer.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
8
2016-03-25T07:17:43.000Z
2021-07-08T17:11:21.000Z
/*---------------------------------------------------------------------- Toy EDProducers and EDProducts for testing purposes only. ----------------------------------------------------------------------*/ #include <stdexcept> #include <string> #include <iostream> #include <map> #include <vector> #include "FWCore/Fram...
39.775862
116
0.671001
[ "vector" ]
8a4504746343bd42933e196aee1e1ced9d32d765
2,080
cc
C++
cpp/703_Kth_Largest_Element_in_a_Stream/kthLargestElementInAStream2.cc
JetChars/leetcode
3014d694fecf9ed0bd5881d21319bf0f04b69f12
[ "MIT" ]
null
null
null
cpp/703_Kth_Largest_Element_in_a_Stream/kthLargestElementInAStream2.cc
JetChars/leetcode
3014d694fecf9ed0bd5881d21319bf0f04b69f12
[ "MIT" ]
null
null
null
cpp/703_Kth_Largest_Element_in_a_Stream/kthLargestElementInAStream2.cc
JetChars/leetcode
3014d694fecf9ed0bd5881d21319bf0f04b69f12
[ "MIT" ]
null
null
null
// C/C++ File // AUTHOR: jetchars // FILE: cpp/703_Kth_Largest_Element_in_a_Stream/kthLargestElementInAStream.cc // ROLE: TODO (some explanation) // CREATED: 2018-12-23 00:01:56 // MODIFIED: 2018-12-23 02:35:58 /* Design a class to find the kth largest element in a stream. Note that it is the kth largest element...
26.329114
79
0.632692
[ "object", "vector" ]
8a4a87c682e456280f584dfe766384d3321c1781
12,438
cpp
C++
main.cpp
Patryk707/Projekt_Patryk_Kaczmarek
f356359792b12a8418f7d29aa2bb6aba3587c3ef
[ "MIT" ]
null
null
null
main.cpp
Patryk707/Projekt_Patryk_Kaczmarek
f356359792b12a8418f7d29aa2bb6aba3587c3ef
[ "MIT" ]
null
null
null
main.cpp
Patryk707/Projekt_Patryk_Kaczmarek
f356359792b12a8418f7d29aa2bb6aba3587c3ef
[ "MIT" ]
null
null
null
#include <SFML/Window.hpp> #include <SFML/Graphics.hpp> #include <iostream> #include "bohater.h" #include "przeciwnik.h" #include "pocisk.h" #include <vector> using namespace std; using namespace sf; vector<Pocisk> Pocisk::wystrzelone_pociski; vector<Pocisk> Pocisk::wrogie_pociski; Texture loadtexture(const string &...
36.690265
147
0.638447
[ "vector" ]
8a4e3e1ee6d982ab92d3aaf1e486c057bae579cd
2,155
hpp
C++
include/csutil.hpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
include/csutil.hpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
include/csutil.hpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
/** * \file csutil.hpp * \brief Utility class - helper computations for CS * */ #pragma once #include <TFile.h> #include <TTree.h> #include <TVector3.h> #include <TMath.h> #include "consts.hpp" #include "common.hpp" #include "elacuts.hpp" #include "commonalg.hpp" #include "solidangle.hpp" #include "scattyiel...
26.9375
73
0.6529
[ "object", "solid" ]
8a50ff73ec64b9ce80058ce2159394203ac70792
2,775
cc
C++
src/operator/sequence_last.cc
viper7882/mxnet_win32
8b05c0cf83026147efd70a21abb3ac25ca6099f1
[ "Apache-2.0" ]
7
2017-08-04T07:10:22.000Z
2020-07-02T13:01:28.000Z
src/operator/sequence_last.cc
yanghaojin/BMXNet
102f8d0ed59529bbd162c37bf07ae58ad6c4caa1
[ "Apache-2.0" ]
null
null
null
src/operator/sequence_last.cc
yanghaojin/BMXNet
102f8d0ed59529bbd162c37bf07ae58ad6c4caa1
[ "Apache-2.0" ]
11
2018-02-27T15:32:09.000Z
2021-04-21T08:48:17.000Z
/*! * Copyright (c) 2015 by Contributors * \file sequence_last.cc * \brief * \author Sebastian Bodenstein */ #include "./sequence_last-inl.h" namespace mxnet { namespace op { template <> Operator *CreateOp<cpu>(SequenceLastParam param, int dtype) { Operator *op = NULL; MSHADOW_REAL_TYPE_SWITCH(dtype, DType, ...
33.433735
100
0.576577
[ "vector" ]
8a5212daa9f81997e00ad290eccbf105d3d8a64f
5,859
cpp
C++
src/demo/demo_animation.cpp
sophia-x/RayTracing
1092971b08ff17e8642e408e2cb0c518d6591e2b
[ "MIT" ]
1
2016-05-05T10:20:45.000Z
2016-05-05T10:20:45.000Z
src/demo/demo_animation.cpp
sophia-x/RayTracing
1092971b08ff17e8642e408e2cb0c518d6591e2b
[ "MIT" ]
null
null
null
src/demo/demo_animation.cpp
sophia-x/RayTracing
1092971b08ff17e8642e408e2cb0c518d6591e2b
[ "MIT" ]
null
null
null
#include "demo.hpp" #define __FPS__ 12 const static mat4 I = mat4(1); class KnotSpirit: public Spirit { private: Mesh *__knot; mat4 __base; float __rotate_speed; float __min_scale, __max_scale; float __scale_speed; float __scale; public: KnotSpirit(Mesh *knot, const vec3 &position, float size): __knot(knot),...
34.263158
123
0.560335
[ "mesh", "render", "vector", "model", "transform" ]
a442dc4f4cf876823b76670f7f9b09d0b8bc3a49
2,442
cpp
C++
Void/NaturalLanguageProcessing/PartOfSpeech/VPartOfSpeech.cpp
bekdepo/Void
ef41b044724db75438b9697a788665b9938f6a9a
[ "MIT" ]
2
2021-05-29T11:07:15.000Z
2021-08-05T03:11:57.000Z
Void/NaturalLanguageProcessing/PartOfSpeech/VPartOfSpeech.cpp
bekdepo/Void
ef41b044724db75438b9697a788665b9938f6a9a
[ "MIT" ]
null
null
null
Void/NaturalLanguageProcessing/PartOfSpeech/VPartOfSpeech.cpp
bekdepo/Void
ef41b044724db75438b9697a788665b9938f6a9a
[ "MIT" ]
1
2021-05-29T11:07:16.000Z
2021-05-29T11:07:16.000Z
#include "VPartOfSpeech.h" #include "../../Utility/String/VString.h" #include <algorithm> //---------------------------------------------------------------------------------------------------- namespace Void { // VCorpusGameSkill //-------------------------------------------------------------------------------...
35.391304
106
0.4095
[ "transform" ]
a451c28184fc0e85c940775a09975715708a6147
1,459
cpp
C++
codeforces/F - Controversial Rounds/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/F - Controversial Rounds/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/F - Controversial Rounds/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Aug/17/2020 19:19 * solution_verdict: Accepted language: GNU C++17 * run...
28.607843
111
0.441398
[ "vector" ]
a459d9e4d86fb17675b739015fdb6162f3bfa79b
4,147
cpp
C++
enduser/netmeeting/ulsldap/spstdatt.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
enduser/netmeeting/ulsldap/spstdatt.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
enduser/netmeeting/ulsldap/spstdatt.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/* ---------------------------------------------------------------------- Module: ULS.DLL (Service Provider) File: spstdatt.cpp Content: This file contains the standard-attribute object. History: 10/15/96 Chu, Lon-Chan [lonchanc] Created. Copyright (c) Microsoft Corporation 1996-1997 ------...
20.529703
77
0.581866
[ "object" ]
a46294a1105f0bcb7c2b0e83367e906ce9b86752
647
cpp
C++
source/Requester.cpp
JFlaherty347/Participation-Manager
ec3dadf235e96387928245b8c37335de862331ac
[ "Apache-2.0" ]
null
null
null
source/Requester.cpp
JFlaherty347/Participation-Manager
ec3dadf235e96387928245b8c37335de862331ac
[ "Apache-2.0" ]
null
null
null
source/Requester.cpp
JFlaherty347/Participation-Manager
ec3dadf235e96387928245b8c37335de862331ac
[ "Apache-2.0" ]
null
null
null
#include "Requester.h" Result *Requester::makeRequest(Request *request) { vector<User *> *rawResults = request->useRequest(); return request->packageResults(rawResults); } // int main(int argc, char *argv[]) // { // printf("Testing Requester:::\n"); // Request *myRequest = new GetAllUsersRequest(); // GetAllUse...
25.88
90
0.639876
[ "vector" ]
a479a578443c12a0c46090730583ff0cb420f0fe
7,638
cpp
C++
Source/AstralShipwright/Game/NovaAsteroid.cpp
arbonagw/AstralShipwright
8a41015f23fa810ab79d72460f9ada2dd7e37852
[ "BSD-3-Clause" ]
59
2021-11-29T22:20:03.000Z
2022-03-17T00:07:48.000Z
Source/AstralShipwright/Game/NovaAsteroid.cpp
arbonagw/AstralShipwright
8a41015f23fa810ab79d72460f9ada2dd7e37852
[ "BSD-3-Clause" ]
null
null
null
Source/AstralShipwright/Game/NovaAsteroid.cpp
arbonagw/AstralShipwright
8a41015f23fa810ab79d72460f9ada2dd7e37852
[ "BSD-3-Clause" ]
4
2022-01-05T09:44:12.000Z
2022-02-21T02:02:32.000Z
// Astral Shipwright - Gwennaël Arbona #include "NovaAsteroid.h" #include "NovaPlanetarium.h" #include "NovaGameState.h" #include "NovaOrbitalSimulationComponent.h" #include "Neutron/System/NeutronAssetManager.h" #include "Components/StaticMeshComponent.h" #include "NiagaraFunctionLibrary.h" #include "NiagaraCompon...
31.958159
127
0.706337
[ "mesh", "vector", "transform" ]
a47fe63891b841d2bb4fd93e29c22e07734358e6
4,511
cc
C++
components/download/internal/background_service/scheduler/scheduler_impl.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
components/download/internal/background_service/scheduler/scheduler_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/download/internal/background_service/scheduler/scheduler_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 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 "components/download/internal/background_service/scheduler/scheduler_impl.h" #include "components/download/internal/background_service/client_se...
33.414815
85
0.694524
[ "vector", "model" ]
a48043c326cb1875b924ba0aa8bd5b7166af847b
670
cpp
C++
Shape/main.cpp
tomosu/PBR_Practice
3ecc1d7ffed11fc88767615d2ac122c70e15d9c2
[ "MIT" ]
1
2016-06-23T09:08:27.000Z
2016-06-23T09:08:27.000Z
Shape/main.cpp
tomosu/PBR_Practice
3ecc1d7ffed11fc88767615d2ac122c70e15d9c2
[ "MIT" ]
null
null
null
Shape/main.cpp
tomosu/PBR_Practice
3ecc1d7ffed11fc88767615d2ac122c70e15d9c2
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include "HitInformation.h" #include "Shape.h" int main() { SharedMaterialPtr material; ////////////////////// // create sphere ////////////////////// Vec3 center(0.0, 0.0, 0.0); Real radius =3.0; ShapeParam param(center, radius); SharedShapePtr sphere =Shape::Cr...
19.705882
61
0.558209
[ "shape" ]
a4822072c23cae741cd1392f82b736d6bea31039
1,839
hpp
C++
idl_parser/include/morbid/idl_parser/struct_def.hpp
felipealmeida/mORBid
3ebc133f9dbe8af1c5cfb39349a0fbf5c125229b
[ "BSL-1.0" ]
2
2018-01-31T07:06:23.000Z
2021-02-18T00:49:05.000Z
idl_parser/include/morbid/idl_parser/struct_def.hpp
felipealmeida/mORBid
3ebc133f9dbe8af1c5cfb39349a0fbf5c125229b
[ "BSL-1.0" ]
null
null
null
idl_parser/include/morbid/idl_parser/struct_def.hpp
felipealmeida/mORBid
3ebc133f9dbe8af1c5cfb39349a0fbf5c125229b
[ "BSL-1.0" ]
null
null
null
/* (c) Copyright 2012 Felipe Magno de Almeida * * Distributed under the Boost Software License, Version 1.0. (See * accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ #ifndef MORBID_IDL_PARSER_STRUCT_DEF_HPP #define MORBID_IDL_PARSER_STRUCT_DEF_HPP #include <morbid/idl_parser...
27.863636
105
0.636215
[ "vector" ]
a48502f33ef4e92d47af6e6ada6432b7730401e4
1,254
cpp
C++
102-binary-tree-level-order-traversal/binary-tree-level-order-traversal.cpp
nagestx/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
3
2018-12-15T14:07:12.000Z
2020-07-19T23:18:09.000Z
102-binary-tree-level-order-traversal/binary-tree-level-order-traversal.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
102-binary-tree-level-order-traversal/binary-tree-level-order-traversal.cpp
yangyangu/MyLeetCode
ef2a98b48485a0cebc442bbbbdb2690ba51484e1
[ "MIT" ]
null
null
null
// Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). // // // For example: // Given binary tree [3,9,20,null,null,15,7], // // 3 // / \ // 9 20 // / \ // 15 7 // // // // return its level order traversal as: // // [ // [...
20.9
121
0.461722
[ "vector" ]
a4862c22255f1965255a794a727a804663fc4efc
22,696
cpp
C++
cachelib/allocator/tests/MM2QTest.cpp
GerHobbelt/CacheLib
580bf6950aad89cf86dbc153f12dada79b71eaf7
[ "Apache-2.0" ]
578
2021-09-01T14:19:55.000Z
2022-03-29T12:22:46.000Z
cachelib/allocator/tests/MM2QTest.cpp
igchor/Cachelib
7db2c643d49fd0a4ec6c492d94a400cbe0515a70
[ "Apache-2.0" ]
61
2021-09-02T18:48:06.000Z
2022-03-31T01:56:00.000Z
cachelib/allocator/tests/MM2QTest.cpp
igchor/Cachelib
7db2c643d49fd0a4ec6c492d94a400cbe0515a70
[ "Apache-2.0" ]
88
2021-09-02T21:22:19.000Z
2022-03-27T07:40:27.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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...
34.387879
80
0.634914
[ "object", "vector" ]
a4923a00c3427ee7cea538c084eead1ebcbb80bb
3,467
hpp
C++
engine/math/VectorNeon.hpp
wzhengsen/ouzel
b3b99c42b39efd2998c03967ee8d5b3e91305167
[ "Unlicense" ]
null
null
null
engine/math/VectorNeon.hpp
wzhengsen/ouzel
b3b99c42b39efd2998c03967ee8d5b3e91305167
[ "Unlicense" ]
null
null
null
engine/math/VectorNeon.hpp
wzhengsen/ouzel
b3b99c42b39efd2998c03967ee8d5b3e91305167
[ "Unlicense" ]
null
null
null
// Ouzel by Elviss Strazdins #ifndef OUZEL_MATH_VECTOR_NEON_HPP #define OUZEL_MATH_VECTOR_NEON_HPP #include "Vector.hpp" #ifdef __ARM_NEON__ # include <arm_neon.h> namespace omath { template <> inline auto operator-(const Vector<float, 4>& vector) noexcept { Vector<float, 4> result; vst...
30.412281
89
0.582348
[ "vector" ]
a49d603f16d8a28f9aa0eedb9be016b0d6552bd2
13,664
hpp
C++
include/adm/elements/audio_content.hpp
IRT-Open-Source/libadm
442f51229e760db1caca4b962bfaad58a9c7d9b8
[ "Apache-2.0" ]
14
2018-07-24T12:18:05.000Z
2020-05-11T19:14:49.000Z
include/adm/elements/audio_content.hpp
IRT-Open-Source/libadm
442f51229e760db1caca4b962bfaad58a9c7d9b8
[ "Apache-2.0" ]
19
2018-07-30T15:02:54.000Z
2020-05-21T10:13:19.000Z
include/adm/elements/audio_content.hpp
IRT-Open-Source/libadm
442f51229e760db1caca4b962bfaad58a9c7d9b8
[ "Apache-2.0" ]
7
2018-07-24T12:18:12.000Z
2020-02-14T11:18:12.000Z
/// @file audio_content.hpp #pragma once #include <boost/optional.hpp> #include <memory> #include <vector> #include "adm/elements/audio_content_id.hpp" #include "adm/elements/audio_object.hpp" #include "adm/elements/dialogue.hpp" #include "adm/elements/label.hpp" #include "adm/elements/loudness_metadata.hpp" #include ...
37.745856
97
0.650176
[ "object", "vector" ]
a4a36038e8a112ad54a207f2d117e52dbf58e333
4,543
cpp
C++
Source/Camera/Src/PolarCamera.cpp
vasumahesh1/azura
80aa23e2fb498e6288484bc49b0d5b8889db6ebb
[ "MIT" ]
12
2019-01-08T23:10:37.000Z
2021-06-04T09:48:42.000Z
Source/Camera/Src/PolarCamera.cpp
vasumahesh1/azura
80aa23e2fb498e6288484bc49b0d5b8889db6ebb
[ "MIT" ]
38
2017-04-05T00:27:24.000Z
2018-12-25T08:34:04.000Z
Source/Camera/Src/PolarCamera.cpp
vasumahesh1/azura
80aa23e2fb498e6288484bc49b0d5b8889db6ebb
[ "MIT" ]
4
2019-03-27T10:07:32.000Z
2021-07-15T03:22:27.000Z
#include "Camera/PolarCamera.h" #include "Math/Transform.h" #include "Math/Geometry.h" #include "Utils/Macros.h" namespace Azura { namespace { const Vector3f UNIT_LOOK = Vector3f(0, 0, 1); const Vector3f UNIT_RIGHT = Vector3f(1, 0, 0); const Vector3f UNIT_UP = Vector3f(0, 1, 0); const Vector3f UNIT_EYE ...
24.690217
111
0.643848
[ "geometry", "transform" ]
a4a8064398d2c3c6ab9730cf055accc376947e30
5,586
hpp
C++
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/Area.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
5
2021-05-27T21:50:33.000Z
2022-01-28T11:54:32.000Z
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/Area.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
null
null
null
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/Area.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
1
2021-01-04T21:12:05.000Z
2021-01-04T21:12:05.000Z
#ifndef GODOT_CPP_AREA_HPP #define GODOT_CPP_AREA_HPP #include <gdnative_api_struct.gen.h> #include <stdint.h> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include "Area.hpp" #include "CollisionObject.hpp" namespace godot { class Node; class Area : public CollisionObject { struct ___method_bindings { ...
37.24
245
0.821339
[ "object", "vector" ]
a4b599471d883d6fa568c3e24626c307ed691bb1
2,095
cpp
C++
examples/mpc.cpp
PepMS/eagle-mpc
522b4af6f31dcdec72c9c461ace28bb774aa4057
[ "BSD-3-Clause" ]
10
2021-07-14T10:50:20.000Z
2022-03-14T06:27:13.000Z
examples/mpc.cpp
PepMS/multicopter-mpc
522b4af6f31dcdec72c9c461ace28bb774aa4057
[ "BSD-3-Clause" ]
29
2020-06-04T08:38:52.000Z
2020-09-25T10:26:25.000Z
examples/mpc.cpp
PepMS/eagle-mpc
522b4af6f31dcdec72c9c461ace28bb774aa4057
[ "BSD-3-Clause" ]
2
2021-11-02T02:14:45.000Z
2022-01-10T11:32:59.000Z
// #include <iostream> // #include "crocoddyl/core/optctrl/shooting.hpp" // #include "crocoddyl/core/solvers/box-fddp.hpp" // #include "crocoddyl/core/solvers/fddp.hpp" // #include "crocoddyl/core/utils/callbacks.hpp" // #include "crocoddyl/multibody/actuations/multicopter-base.hpp" // #include "crocoddyl/multibody/s...
48.72093
118
0.728878
[ "vector" ]
8a54ed2a290ab84656717f92e0ff49b84ba82594
1,526
cpp
C++
Sky.cpp
xLightling/DX11Starter
21b7cecab109e8e55b65c6c249c630a08e695c66
[ "MIT" ]
null
null
null
Sky.cpp
xLightling/DX11Starter
21b7cecab109e8e55b65c6c249c630a08e695c66
[ "MIT" ]
null
null
null
Sky.cpp
xLightling/DX11Starter
21b7cecab109e8e55b65c6c249c630a08e695c66
[ "MIT" ]
null
null
null
#include "Sky.h" Sky::Sky( std::shared_ptr<Mesh> _mesh, std::shared_ptr<SimpleVertexShader> _vertexShader, std::shared_ptr<SimplePixelShader> _pixelShader, Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> _cubemap, Microsoft::WRL::ComPtr<ID3D11SamplerState> _sampler, Microsoft::WRL::ComPtr<ID3D1...
29.346154
101
0.761468
[ "mesh" ]
8a570aa9eb741c3fe67a654b0b654f12ec2a582f
538
hpp
C++
include/system.hpp
YuZheng0/ParticleModel
313611cd44af03e4e70e287287b5c9ee2d1e29e9
[ "MIT" ]
null
null
null
include/system.hpp
YuZheng0/ParticleModel
313611cd44af03e4e70e287287b5c9ee2d1e29e9
[ "MIT" ]
null
null
null
include/system.hpp
YuZheng0/ParticleModel
313611cd44af03e4e70e287287b5c9ee2d1e29e9
[ "MIT" ]
null
null
null
#ifndef SYSTEM_HPP #define SYSTEM_HPP #include <vector> #include "particle.hpp" class System { public: System(double,double,double,int); System(); int numberOfParticles(); bool addParticle(Particle newParticle); // void getDistance(); double getEnergy(); std::vector<std::vector<double>> coordinates(); //doubl...
17.933333
48
0.730483
[ "vector" ]
8a5faef74c1861bbdc49eab1e0d7ffba033db0db
4,883
cpp
C++
src/assets/Image.cpp
Ghimli/new-ospgl
31bd84e52d954683671211ff16ce8702bdb87312
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/assets/Image.cpp
Ghimli/new-ospgl
31bd84e52d954683671211ff16ce8702bdb87312
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/assets/Image.cpp
Ghimli/new-ospgl
31bd84e52d954683671211ff16ce8702bdb87312
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "Image.h" #include "AssetManager.h" #include <stb/stb_image.h> #include <sstream> #include "../util/MathUtil.h" int Image::get_index(int x, int y) { logger->check(x >= 0 && y >= 0 && x < width && y < height, "Pixel out of bounds ({},{}) / ({},{})", x, y, width, height); return y * width + x; } glm::vec...
23.475962
126
0.652263
[ "object" ]
8a66a4095c94be853a2ad7cac06f1d51a7b3fd3b
6,460
cpp
C++
Source/server/src/SimpleHttpServer.cpp
fmiguelgarcia/crossover
380d12e7cb9f892894889f7a0f25ecd60c775fc7
[ "MIT" ]
null
null
null
Source/server/src/SimpleHttpServer.cpp
fmiguelgarcia/crossover
380d12e7cb9f892894889f7a0f25ecd60c775fc7
[ "MIT" ]
null
null
null
Source/server/src/SimpleHttpServer.cpp
fmiguelgarcia/crossover
380d12e7cb9f892894889f7a0f25ecd60c775fc7
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 Francisco Miguel Garcia *<francisco.miguel.garcia.rodriguez@gmail.com> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including withou...
28.333333
91
0.69644
[ "vector" ]
8a68e279878e265e52a2213fa00446f53d2084e2
7,409
cpp
C++
lib/ffm-train.cpp
turi-code/python-libffm
6d3b8f8b8732f8456379c87595048381d3f7df1b
[ "BSD-3-Clause" ]
205
2016-08-06T18:08:12.000Z
2021-08-29T19:41:58.000Z
lib/ffm-train.cpp
jzhang45/python-libffm
6d3b8f8b8732f8456379c87595048381d3f7df1b
[ "BSD-3-Clause" ]
7
2016-07-12T06:07:58.000Z
2019-02-06T13:11:47.000Z
lib/ffm-train.cpp
jzhang45/python-libffm
6d3b8f8b8732f8456379c87595048381d3f7df1b
[ "BSD-3-Clause" ]
75
2016-07-29T08:48:20.000Z
2022-02-01T13:54:23.000Z
#include <iostream> #include <stdexcept> #include <cstring> #include <vector> #include "ffm.h" using namespace std; using namespace ffm; string train_help() { return string( "usage: ffm-train [options] training_set_file [model_file]\n" "\n" "options:\n" "-l <lambda>: set regularization parameter (default 0)\n" "...
25.460481
94
0.509111
[ "vector", "model" ]
8a6a95b028ff1fb08f80b33d5f5eed2f7d444ca7
5,276
cpp
C++
state_searcher/lib/searcher.cpp
samueljero/TCPwn
8514a9fa53123e4abe45460d008de2f5d91500f8
[ "BSD-3-Clause" ]
14
2018-02-20T07:11:40.000Z
2021-09-23T08:31:59.000Z
state_searcher/lib/searcher.cpp
samueljero/TCPwn
8514a9fa53123e4abe45460d008de2f5d91500f8
[ "BSD-3-Clause" ]
1
2018-08-18T23:06:53.000Z
2018-08-21T00:01:06.000Z
state_searcher/lib/searcher.cpp
samueljero/TCPwn
8514a9fa53123e4abe45460d008de2f5d91500f8
[ "BSD-3-Clause" ]
9
2017-12-01T15:45:18.000Z
2020-04-14T02:42:32.000Z
//== searcher.cpp -----------------------------------------==// // // Created on: Apr 27, 2016 // Author: Endadul Hoque (mhoque@purdue.edu) //==-------------------------------------------------------==// #include "searcher.h" #include "config.h" #define ENABLE_DEBUG #include <fstream> #include <sstream> #include ...
23.873303
105
0.572214
[ "vector" ]
8a75d3146c6b4b0c938de9c1c9cee653ee4dbf15
7,154
cpp
C++
src/mod/visualize/airblast_vectors.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
7
2021-03-02T02:27:18.000Z
2022-02-18T00:56:28.000Z
src/mod/visualize/airblast_vectors.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
3
2021-11-29T15:53:02.000Z
2022-02-21T13:09:22.000Z
src/mod/visualize/airblast_vectors.cpp
fugueinheels/sigsegv-mvm
092a69d44a3ed9aacd14886037f4093a27ff816b
[ "BSD-2-Clause" ]
5
2021-03-04T20:26:11.000Z
2021-11-26T07:09:24.000Z
#include "mod.h" #include "stub/tfplayer.h" #include "stub/tfweaponbase.h" #if 0 // obsolete as of Inferno Update namespace Mod::Visualize::Airblast_Vectors { ConVar cvar_eye_r("sig_visualize_airblast_vectors_eye_r", "0x00", FCVAR_NOTIFY, "Visualization: eye vector color (red)"); ConVar cvar_eye_g("sig_v...
54.610687
174
0.740705
[ "vector" ]
8a79b652739b38c54a16d9afc6eb34f4e68ac255
2,005
cpp
C++
multimedia/danim/src/appel/values/geom/pickgeom.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
multimedia/danim/src/appel/values/geom/pickgeom.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
multimedia/danim/src/appel/values/geom/pickgeom.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/******************************************************************************* Copyright (c) 1995-96 Microsoft Corporation Abstract: Support for pickable geometries. *******************************************************************************/ #include "headers.h" #include "appelles/gattr.h...
28.239437
81
0.537656
[ "geometry" ]
8a83617b6629bbbb6544e53c8a3f4a225229cf0a
16,545
cpp
C++
searchCondition.cpp
Kenshins/BooliCPP
5a4b47abed54f4df271aa249c3370fee1ace1506
[ "Unlicense", "MIT" ]
null
null
null
searchCondition.cpp
Kenshins/BooliCPP
5a4b47abed54f4df271aa249c3370fee1ace1506
[ "Unlicense", "MIT" ]
null
null
null
searchCondition.cpp
Kenshins/BooliCPP
5a4b47abed54f4df271aa249c3370fee1ace1506
[ "Unlicense", "MIT" ]
null
null
null
#include "searchCondition.h" #include <string> #include <algorithm> #include <stdexcept> #include <sstream> #include <ctime> #include <time.h> using namespace std; // Supporting types center::center(int la, int ln) { SetLatLong(la, ln); } void center::SetLatLong(int la, int ln) { SetLat(la); SetLong(ln); } v...
22.118984
105
0.655606
[ "transform" ]
8a854cee80aaa10a60bf221b65bcfe7ab71d3b79
3,704
cpp
C++
pwiz/analysis/passive/RegionSlice.cpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
11
2015-01-08T08:33:44.000Z
2019-07-12T06:14:54.000Z
pwiz/analysis/passive/RegionSlice.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
pwiz/analysis/passive/RegionSlice.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
4
2016-02-03T09:41:16.000Z
2021-08-01T18:42:36.000Z
// // $Id: RegionSlice.cpp 4168 2012-12-04 23:19:57Z pcbrefugee $ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2008 Spielberg Family Center for Applied Proteomics // Cedars-Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2.0 (...
30.113821
91
0.648758
[ "vector" ]
8a8bbcaf592612221075d8031600b2d45efd4238
1,498
cc
C++
2019/d2s2.cc
danielrayali/adventofcode
29bfd54013a4ba832b7c846d2770eb03692d67de
[ "MIT" ]
null
null
null
2019/d2s2.cc
danielrayali/adventofcode
29bfd54013a4ba832b7c846d2770eb03692d67de
[ "MIT" ]
null
null
null
2019/d2s2.cc
danielrayali/adventofcode
29bfd54013a4ba832b7c846d2770eb03692d67de
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <set> #include <vector> using namespace std; void Process(vector<int>& opcodes) { for (int i = 0; i < opcodes.size(); i += 4) { if (opcodes[i] == 99) break; int op = opcodes[i]; int lpos = opcodes[i + 1]; int rpos = opcod...
23.777778
84
0.435247
[ "vector" ]
8a8ed5d2f9b1eab981496af7f2fec035bee05015
1,370
cpp
C++
aws-cpp-sdk-securityhub/source/model/RuleGroupSourceStatelessRuleMatchAttributesSources.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-securityhub/source/model/RuleGroupSourceStatelessRuleMatchAttributesSources.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-securityhub/source/model/RuleGroupSourceStatelessRuleMatchAttributesSources.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/securityhub/model/RuleGroupSourceStatelessRuleMatchAttributesSources.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using names...
22.833333
134
0.79854
[ "model" ]
8a9098150d6591d5416165ac39a1d433608888fc
7,211
hpp
C++
include/NUnit/Framework/Internal/ITestExecutionContext.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/NUnit/Framework/Internal/ITestExecutionContext.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/NUnit/Framework/Internal/ITestExecutionContext.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Begin forward declares // Forward declaring namespace: NUnit::Fr...
58.626016
256
0.749965
[ "object", "vector" ]
8a92cfb40fddf880583559f238f3bf9a719dac20
4,802
hpp
C++
GosuImpl/Graphics/DrawOpQueue.hpp
oli-obk/gosu
b186b223a2f97a7b485580e07bcce35adbbbfd89
[ "MIT" ]
null
null
null
GosuImpl/Graphics/DrawOpQueue.hpp
oli-obk/gosu
b186b223a2f97a7b485580e07bcce35adbbbfd89
[ "MIT" ]
null
null
null
GosuImpl/Graphics/DrawOpQueue.hpp
oli-obk/gosu
b186b223a2f97a7b485580e07bcce35adbbbfd89
[ "MIT" ]
null
null
null
#ifndef GOSUIMPL_GRAPHICS_DRAWOPQUEUE_HPP #define GOSUIMPL_GRAPHICS_DRAWOPQUEUE_HPP #include <Gosu/TR1.hpp> #include "Common.hpp" #include "TransformStack.hpp" #include "ClipRectStack.hpp" #include "DrawOp.hpp" #include <cassert> #include <algorithm> #include <map> #include <vector> #include <cmath> class Gosu::DrawO...
28.414201
92
0.600583
[ "vector", "transform" ]
8a960933f65393de1d1eb8aebcdecf47cf223fb3
1,697
cpp
C++
src/_5GS/pdu_5gs_sm.cpp
OPENAIRINTERFACE/oai-libnascodec-cpp
c87005933fa6d748909f7fd8f1e0b1412abd0458
[ "Apache-2.0" ]
3
2019-12-06T14:17:41.000Z
2020-09-30T17:26:17.000Z
src/_5GS/pdu_5gs_sm.cpp
OPENAIRINTERFACE/oai-libnascodec-cpp
c87005933fa6d748909f7fd8f1e0b1412abd0458
[ "Apache-2.0" ]
null
null
null
src/_5GS/pdu_5gs_sm.cpp
OPENAIRINTERFACE/oai-libnascodec-cpp
c87005933fa6d748909f7fd8f1e0b1412abd0458
[ "Apache-2.0" ]
4
2019-12-06T14:22:37.000Z
2021-03-20T01:44:55.000Z
#include <_5GS/pdu_5gs_sm.h> namespace _5GS { Pdu5gsSm::Pdu5gsSm(IE::PDU_session_identity psi, IE::Procedure_transaction_identity pti) { m_pdu_session_identity = psi; m_procedure_transaction_identity = pti; } int Pdu5gsSm::codeSMHeader(std::vector<uint8_t> &data) const { int s...
26.936508
90
0.628757
[ "vector" ]
8a9779e9605a59959de570e6171dc397023b38d6
2,134
cpp
C++
algorithms/design-circular-queue.cpp
Chronoviser/leetcode-1
65ee0504d64c345f822f216fef6e54dd62b8f858
[ "MIT" ]
41
2018-07-03T07:35:30.000Z
2021-09-25T09:33:43.000Z
algorithms/design-circular-queue.cpp
Chronoviser/leetcode-1
65ee0504d64c345f822f216fef6e54dd62b8f858
[ "MIT" ]
2
2018-07-23T10:50:11.000Z
2020-10-06T07:34:29.000Z
algorithms/design-circular-queue.cpp
Chronoviser/leetcode-1
65ee0504d64c345f822f216fef6e54dd62b8f858
[ "MIT" ]
7
2018-07-06T13:43:18.000Z
2020-10-06T02:29:57.000Z
class MyCircularQueue { private: vector<int> data; int front = 0, rear = 0; bool full = false; int size() { if (this->full) return this->data.size(); if (this->front <= this->rear) { return this->rear - this->front; } else { return this->rear + this-...
24.528736
97
0.550141
[ "object", "vector" ]
8a9e7b89f503cd24f9563fe40a153006ee3ff8ca
2,582
cc
C++
src/main.cc
bozbalci/fk
f38576f313cfae0117c2e5145c02de2ecc1831a8
[ "BSD-2-Clause" ]
2
2017-03-28T13:06:56.000Z
2020-09-14T05:56:00.000Z
src/main.cc
bozbalci/fk
f38576f313cfae0117c2e5145c02de2ecc1831a8
[ "BSD-2-Clause" ]
1
2017-03-07T19:58:51.000Z
2017-03-07T20:16:48.000Z
src/main.cc
bozbalci/fk
f38576f313cfae0117c2e5145c02de2ecc1831a8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2017, Berk Ozbalci * All rights reserved. */ #include "parser/parser.h" #include <llvm/ExecutionEngine/ExecutionEngine.h> #include <llvm/ExecutionEngine/GenericValue.h> #include <llvm/ExecutionEngine/MCJIT.h> #include <llvm/ExecutionEngine/SectionMemoryManager.h> #include <llvm/Support/ManagedSta...
26.618557
74
0.640976
[ "vector" ]
8a9fd430aa9c1ec770af8fcd37d4a635f86714ef
3,013
cpp
C++
Source/Database/Value.cpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
4
2018-12-06T01:20:50.000Z
2019-08-04T10:19:23.000Z
Source/Database/Value.cpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
null
null
null
Source/Database/Value.cpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
null
null
null
/** * Copyright (C) 2015-2019 * Author Alvin Ahmadov <alvin.dev.ahmadov@gmail.com> * * This file is part of Dixter Project * License-Identifier: MIT License * See README.md for more information. */ #include "Value.hpp" #include "Macros.hpp" #include "Exception.hpp" namespace Dixter { namespace Database ...
22.654135
75
0.65682
[ "geometry" ]
8aa1d0b0ecc673e8c5576aae4a164df240a02989
2,973
cpp
C++
4_course/4_week_construct_suffix_array_and_tree/2_suffix_array/main.cpp
claytonjwong/Algorithms-UCSD
09d433a1cbc00dc8d913ece8716ac539b81340cd
[ "Unlicense" ]
6
2019-11-13T01:19:28.000Z
2021-08-10T19:19:57.000Z
4_course/4_week_construct_suffix_array_and_tree/2_suffix_array/main.cpp
claytonjwong/Algorithms-UCSD
09d433a1cbc00dc8d913ece8716ac539b81340cd
[ "Unlicense" ]
null
null
null
4_course/4_week_construct_suffix_array_and_tree/2_suffix_array/main.cpp
claytonjwong/Algorithms-UCSD
09d433a1cbc00dc8d913ece8716ac539b81340cd
[ "Unlicense" ]
3
2019-11-13T03:11:15.000Z
2020-11-28T20:05:38.000Z
/** * * C++ implementation to create a Suffix Array in near-linear time * * (c) Copyright 2019 Clayton J. Wong ( http://www.claytonjwong.com ) * **/ #include <iomanip> #include <iostream> #include <sstream> #include <algorithm> #include <iterator> #include <vector> #include <string> using namespace std; using C...
36.256098
112
0.459805
[ "vector" ]
8aa4a62b07817a399ca6ab9d4413cf99b4a1f4ab
6,518
cpp
C++
sky/engine/core/rendering/RenderLayerModelObject.cpp
viettrungluu-cr/mojo
950de5bc66e00aeb1f7bdf2987f253986c0a7614
[ "BSD-3-Clause" ]
5
2019-05-24T01:25:34.000Z
2020-04-06T05:07:01.000Z
sky/engine/core/rendering/RenderLayerModelObject.cpp
viettrungluu-cr/mojo
950de5bc66e00aeb1f7bdf2987f253986c0a7614
[ "BSD-3-Clause" ]
null
null
null
sky/engine/core/rendering/RenderLayerModelObject.cpp
viettrungluu-cr/mojo
950de5bc66e00aeb1f7bdf2987f253986c0a7614
[ "BSD-3-Clause" ]
5
2016-12-23T04:21:10.000Z
2020-06-18T13:52:33.000Z
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. * Cop...
40.484472
216
0.73857
[ "object", "transform" ]
8ab00d398b70b08079bf2a227f2f833caa5efd6e
14,144
hh
C++
include/ftk/features/feature_curve.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
19
2018-11-01T02:15:17.000Z
2022-03-28T16:55:00.000Z
include/ftk/features/feature_curve.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
12
2019-04-14T12:49:41.000Z
2021-10-20T03:59:21.000Z
include/ftk/features/feature_curve.hh
hguo/FTT
f1d5387d6353cf2bd165c51fc717eb5d6b2675ef
[ "MIT" ]
9
2019-02-08T19:40:46.000Z
2021-06-15T00:31:09.000Z
#ifndef _FTK_FEATURE_CURVE_T_HH #define _FTK_FEATURE_CURVE_T_HH #include <ftk/features/feature_point.hh> namespace ftk { struct feature_curve_t : public std::vector<feature_point_t> { feature_curve_t() {} feature_curve_t(const feature_curve_t&); feature_curve_t& operator=(const feature_curve_t&); void rel...
30.093617
170
0.605204
[ "vector" ]
8ab86905725d8a9c324e68fa97718091016032bb
1,327
cpp
C++
core/game_engine/base_engine.cpp
anschen1994/RLCardCXX
87820626d8f3ef4a2da63ab37a97064980bd4dd5
[ "MIT" ]
1
2021-12-03T00:06:22.000Z
2021-12-03T00:06:22.000Z
core/game_engine/base_engine.cpp
anschen1994/RLCardCXX
87820626d8f3ef4a2da63ab37a97064980bd4dd5
[ "MIT" ]
null
null
null
core/game_engine/base_engine.cpp
anschen1994/RLCardCXX
87820626d8f3ef4a2da63ab37a97064980bd4dd5
[ "MIT" ]
null
null
null
#include "base_engine.h" #include "../utils/helper.h" namespace rlcard { namespace engine { int Card::hash(const string &_suit, const string &_rank) { int suit_index = rlcard::GetIndexOfVector(kSuit, _suit); int rank_index = rlcard::GetIndexOfVector(kRank, _rank); ...
24.574074
75
0.470234
[ "vector" ]
8abc3b0ca4c9ad83e64c8d12085f3a14d472d069
1,702
hpp
C++
src/share/state_json_writer.hpp
egelwan/Karabiner-Elements
896439dd2130904275553282063dd7fe4852e1a8
[ "Unlicense" ]
5,422
2019-10-27T17:51:04.000Z
2022-03-31T15:45:41.000Z
src/share/state_json_writer.hpp
egelwan/Karabiner-Elements
896439dd2130904275553282063dd7fe4852e1a8
[ "Unlicense" ]
1,310
2019-10-28T04:57:24.000Z
2022-03-31T04:55:37.000Z
src/share/state_json_writer.hpp
egelwan/Karabiner-Elements
896439dd2130904275553282063dd7fe4852e1a8
[ "Unlicense" ]
282
2019-10-28T02:36:04.000Z
2022-03-19T06:18:54.000Z
#pragma once // `krbn::state_json_writer` can be used safely in a multi-threaded environment. #include "json_utility.hpp" #include "json_writer.hpp" #include <optional> #include <thread> namespace krbn { class state_json_writer final { public: state_json_writer(const std::filesystem::path& file_path) : file_path_(...
22.103896
96
0.552291
[ "object" ]
8ac2fc7057567d7ad2a1d4ab988709d141df8ce2
490
hpp
C++
src/Actor.hpp
jesusredondo/templateRouguelite
212d729f6e43076b7f487a64c20430ba375dd51b
[ "Unlicense" ]
null
null
null
src/Actor.hpp
jesusredondo/templateRouguelite
212d729f6e43076b7f487a64c20430ba375dd51b
[ "Unlicense" ]
null
null
null
src/Actor.hpp
jesusredondo/templateRouguelite
212d729f6e43076b7f487a64c20430ba375dd51b
[ "Unlicense" ]
null
null
null
#include "main.hpp" #pragma once class Actor { public : int x,y; // position on map int ch; // ascii code std::string name; TCODColor col; // color bool blocks; //Se puede andar por encima? Attacker* attacker; // El componente de ataque Destructible* destructible; // El componente destructible Ai* ai...
18.846154
71
0.665306
[ "render" ]
8ac9fb3fc45f6299d5b295d6601c4a369857cd33
1,267
hpp
C++
src/mover.hpp
Piepenguin1995/retro-rpg
09b72d7a8a4d2a9e94b09957bcb88bcf08a67eeb
[ "MIT" ]
5
2016-02-09T20:05:57.000Z
2016-11-02T01:48:54.000Z
src/mover.hpp
dbMansfield/retro-rpg
09b72d7a8a4d2a9e94b09957bcb88bcf08a67eeb
[ "MIT" ]
null
null
null
src/mover.hpp
dbMansfield/retro-rpg
09b72d7a8a4d2a9e94b09957bcb88bcf08a67eeb
[ "MIT" ]
3
2016-02-09T20:06:04.000Z
2016-06-23T13:12:22.000Z
#ifndef MOVER_HPP #define MOVER_HPP #include <SFML/System.hpp> #include <JsonBox.h> #include <iostream> class TileMap; // Direction the entity is moving in enum class Direction { NORTH = 'n', SOUTH = 's', EAST = 'e', WEST = 'w', NONE = 0 }; // Convert a cardinal direction n,e,s,w to a unit vector sf::Vector2f dirTo...
25.34
84
0.722968
[ "object", "vector" ]
8acea653a07e67677e7b4068a017870d82cd1218
3,503
cpp
C++
src/shared/engine/MoveCommand.cpp
Welteam/Projet-IS
4feeeb39aca9af720f22c8bb3a41f2583fb8cb9b
[ "Unlicense" ]
null
null
null
src/shared/engine/MoveCommand.cpp
Welteam/Projet-IS
4feeeb39aca9af720f22c8bb3a41f2583fb8cb9b
[ "Unlicense" ]
null
null
null
src/shared/engine/MoveCommand.cpp
Welteam/Projet-IS
4feeeb39aca9af720f22c8bb3a41f2583fb8cb9b
[ "Unlicense" ]
null
null
null
#include <iostream> #include <utility> #include <vector> #include "MoveCommand.h" #include "Cordinate.cpp" #include <chrono> #include <thread> namespace engine { MoveCommand::MoveCommand(std::shared_ptr<state::Character> selectedUnit, int newX, int newY) { this->selectedUnit = std::move(selectedUnit); ...
43.246914
146
0.492435
[ "vector" ]
8aceedb0effb108707e0776517f5ed4b7c57e950
1,094
cpp
C++
CPP/Offer/55/IsAVLTreeOffer.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
CPP/Offer/55/IsAVLTreeOffer.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
CPP/Offer/55/IsAVLTreeOffer.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
// // Created by Insomnia on 18-10-14. // 同 leetcode 110 // Balanced Binary Tree #include <iostream> #include <vector> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: bo...
19.192982
86
0.541133
[ "vector" ]
8ad3f2ba08b2ecef8ef942071b794c4d821ba56a
4,009
cpp
C++
sources/routing/route_matcher.cpp
deguangchow/NetFlex
8fbdee6601dcbaa5be12e467bee82f1f648cd63b
[ "MIT" ]
null
null
null
sources/routing/route_matcher.cpp
deguangchow/NetFlex
8fbdee6601dcbaa5be12e467bee82f1f648cd63b
[ "MIT" ]
null
null
null
sources/routing/route_matcher.cpp
deguangchow/NetFlex
8fbdee6601dcbaa5be12e467bee82f1f648cd63b
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2015-2017 Simon Ninon <simon.ninon@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitat...
33.132231
117
0.63981
[ "transform" ]
e9d37d3c7d63db358829647c045baf8bba9f156c
6,699
cc
C++
stapl_release/test/containers/heap/dis_heap.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/test/containers/heap/dis_heap.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/test/containers/heap/dis_heap.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
30.312217
79
0.626511
[ "vector" ]
e9d5be55f7b468f0d0f80a6cd1032379d85b980a
1,705
hpp
C++
include/eemp.hpp
goens/TUD_computational_group_theory
3f4703cae1ac049089db23eafc321e8daca2d99d
[ "MIT" ]
2
2018-09-10T09:31:17.000Z
2018-10-14T15:19:20.000Z
include/eemp.hpp
goens/TUD_computational_group_theory
3f4703cae1ac049089db23eafc321e8daca2d99d
[ "MIT" ]
7
2020-06-11T07:25:08.000Z
2020-12-19T09:07:50.000Z
include/eemp.hpp
goens/TUD_computational_group_theory
3f4703cae1ac049089db23eafc321e8daca2d99d
[ "MIT" ]
2
2020-09-10T19:31:57.000Z
2020-12-09T13:17:50.000Z
#if 0 #ifndef GUARD_EEMP_H #define GUARD_EEMP_H #include <ostream> #include <utility> #include <vector> namespace mpsym { namespace internal { class PartialPerm; class PermGroup; namespace eemp { struct SchreierTree { std::vector<std::pair<unsigned, unsigned>> data; }; struct OrbitGraph { std::vector<std::ve...
24.014085
78
0.761877
[ "vector" ]
e9d73979f2557a2c155d60c9dde1c0754b4a6136
50,723
cpp
C++
cheng4/protocol.cpp
kmar/cheng4
d3adbb83555a31f88bc5337a6188447940757e73
[ "Zlib" ]
13
2016-06-03T23:58:41.000Z
2022-03-31T19:09:11.000Z
cheng4/protocol.cpp
kmar/cheng4
d3adbb83555a31f88bc5337a6188447940757e73
[ "Zlib" ]
1
2021-05-04T14:29:19.000Z
2021-05-04T18:44:19.000Z
cheng4/protocol.cpp
kmar/cheng4
d3adbb83555a31f88bc5337a6188447940757e73
[ "Zlib" ]
5
2016-06-03T23:58:41.000Z
2022-03-15T12:45:00.000Z
/* You can use this program under the terms of either the following zlib-compatible license or as public domain (where applicable) Copyright (C) 2012-2015, 2020-2021 Martin Sedlak This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any dam...
21.294291
128
0.58299
[ "vector" ]
e9e2f02ff8d6205ef21e4def51848dea688b1d93
956
cpp
C++
src/soso/TransformSystem.cpp
markkorput/Entity-Component-Samples
983258f6b6fec674396bd6c54f0f70c215e8238f
[ "MIT" ]
108
2015-10-22T23:19:01.000Z
2021-11-13T00:50:58.000Z
src/soso/TransformSystem.cpp
markkorput/Entity-Component-Samples
983258f6b6fec674396bd6c54f0f70c215e8238f
[ "MIT" ]
3
2015-10-22T19:26:08.000Z
2017-12-02T05:41:24.000Z
src/soso/TransformSystem.cpp
markkorput/Entity-Component-Samples
983258f6b6fec674396bd6c54f0f70c215e8238f
[ "MIT" ]
13
2015-10-23T09:08:17.000Z
2021-02-03T12:23:51.000Z
// // TransformSystem.cpp // // Created by Soso Limited on 1/8/15. // // #include "TransformSystem.h" #include "HierarchyComponent.h" #include "Transform.h" using namespace entityx; using namespace cinder; using namespace soso; void TransformSystem::update(EntityManager &entities, EventManager &events, TimeDelta d...
27.314286
114
0.714435
[ "transform" ]
e9e41eaba186d6e7cd77d53dddcff33956030f07
7,770
cpp
C++
sim/AgentEnvWindow.cpp
snumrl/VSports
c35bc82db31cd7252ab3d0f78c3f941bae5e799b
[ "Apache-2.0" ]
null
null
null
sim/AgentEnvWindow.cpp
snumrl/VSports
c35bc82db31cd7252ab3d0f78c3f941bae5e799b
[ "Apache-2.0" ]
null
null
null
sim/AgentEnvWindow.cpp
snumrl/VSports
c35bc82db31cd7252ab3d0f78c3f941bae5e799b
[ "Apache-2.0" ]
null
null
null
// #include "AgentEnvWindow.h" // #include "Environment.h" // #include "../render/GLfunctionsDART.h" // #include "../model/SkelMaker.h" // #include "../model/SkelHelper.h" // #include "../pyvs/EnvironmentPython.h" // // #include <GL/glew.h> // #include <GL/glut.h> // #include <GL/glew.h> // #include <GLFW/glfw3.h> // /...
25.309446
102
0.634878
[ "render", "vector", "model" ]
e9e6b902d947acb8e2281d93b3afbaf0e0a3d778
4,107
hpp
C++
core/assimp_scene.hpp
ChaithanyaSingamala/gl-examples
b5ed43cbbd32d5e2629421b6877e724d2069a92f
[ "MIT" ]
null
null
null
core/assimp_scene.hpp
ChaithanyaSingamala/gl-examples
b5ed43cbbd32d5e2629421b6877e724d2069a92f
[ "MIT" ]
null
null
null
core/assimp_scene.hpp
ChaithanyaSingamala/gl-examples
b5ed43cbbd32d5e2629421b6877e724d2069a92f
[ "MIT" ]
null
null
null
#pragma once #include "scene.hpp" #include "transfrom.hpp" #include "helper.h" #include "assimp/Importer.hpp" #include "assimp/scene.h" #include "assimp/postprocess.h" using namespace glm; using namespace std; class AssimpScene : public Scene { public: AssimpScene(std::string _filename) { vector<char> data...
29.12766
127
0.668615
[ "mesh", "render", "vector" ]
e9ec9ab6b482f3944094e8a9e8f0f7ea8228774d
444
cpp
C++
2020 Leetcode Challenges/09 September Leetcode Challenge 2020/26 Teemo Attacking.cpp
FazeelUsmani/Leetcode
aff4c119178f132c28a39506ffaa75606e0a861b
[ "MIT" ]
7
2020-12-01T14:27:57.000Z
2022-02-12T09:17:22.000Z
2020 Leetcode Challenges/09 September Leetcode Challenge 2020/26 Teemo Attacking.cpp
FazeelUsmani/Leetcode
aff4c119178f132c28a39506ffaa75606e0a861b
[ "MIT" ]
4
2020-11-12T17:49:22.000Z
2021-09-06T07:46:37.000Z
2020 Leetcode Challenges/09 September Leetcode Challenge 2020/26 Teemo Attacking.cpp
FazeelUsmani/Leetcode
aff4c119178f132c28a39506ffaa75606e0a861b
[ "MIT" ]
6
2021-05-21T03:49:22.000Z
2022-01-20T20:36:53.000Z
class Solution { public: int findPoisonedDuration(vector<int>& timeSeries, int duration) { if (timeSeries.size() == 0) return 0; if (timeSeries.size() == 1) return duration; int total = 0; for (int i = 1; i < timeSeries.size(); ++i) total += min(du...
26.117647
69
0.502252
[ "vector" ]
e9edcefb63f74e62bc7cf5f5c6fada8b8ff2ebcb
5,673
cpp
C++
examples/target_hit_detection.cpp
embeddr/vec
990cceee55e044629ab9da52c58a633374583017
[ "MIT" ]
null
null
null
examples/target_hit_detection.cpp
embeddr/vec
990cceee55e044629ab9da52c58a633374583017
[ "MIT" ]
4
2021-03-29T05:28:03.000Z
2021-09-26T03:28:02.000Z
examples/target_hit_detection.cpp
embeddr/vec
990cceee55e044629ab9da52c58a633374583017
[ "MIT" ]
null
null
null
// Vec library usage example: target hit detection // // This is an example of a basic interview-style problem on vector geometry for game programming. // The premise is that we want to implement the hit-detection logic for a simple shooting gallery // mini-game. There exists a flat, circular target at some position an...
39.124138
100
0.673541
[ "geometry", "vector", "3d" ]
e9f482a858571d8efb275eb0668d0c2f75ee6c0a
5,176
cpp
C++
lib/src/main/cpp/lib/pixFu_launcher/Launcher.cpp
nebular/PixEngine_Android
02aad4aec8a625bdd1447ca63453e31976a97fa1
[ "CC-BY-4.0" ]
5
2020-04-23T11:11:28.000Z
2021-09-13T14:45:05.000Z
lib/src/main/cpp/lib/pixFu_launcher/Launcher.cpp
nebular/PixFu_Android_src
02aad4aec8a625bdd1447ca63453e31976a97fa1
[ "CC-BY-4.0" ]
null
null
null
lib/src/main/cpp/lib/pixFu_launcher/Launcher.cpp
nebular/PixFu_Android_src
02aad4aec8a625bdd1447ca63453e31976a97fa1
[ "CC-BY-4.0" ]
null
null
null
/* * Generic Android Native OpenGL Application Launcher * Author: Rodolfo Lopez Pintor 2020. * * License: Creative Commons CC-BY 4.0 * * This is the native part of the launcher application. Will lbe called by Android to initialize, render, * deinit and on mouse events. * */ #include <jni.h> #include <cstdlib>...
30.269006
105
0.731453
[ "render", "object" ]
e9f94248cf5c9edbfb5bf7fd782d685b1784cc3c
14,172
cpp
C++
src/LuaPlugins.cpp
vexyl/MCHawk2
9c69795181c5a59ff6c57c36e77d71623df4db8b
[ "MIT" ]
5
2020-09-02T06:58:15.000Z
2021-12-26T02:29:35.000Z
src/LuaPlugins.cpp
vexyl/MCHawk2
9c69795181c5a59ff6c57c36e77d71623df4db8b
[ "MIT" ]
10
2021-11-23T16:10:38.000Z
2021-12-30T16:05:52.000Z
src/LuaPlugins.cpp
vexyl/MCHawk2
9c69795181c5a59ff6c57c36e77d71623df4db8b
[ "MIT" ]
1
2021-07-13T16:55:53.000Z
2021-07-13T16:55:53.000Z
#include "../include/LuaPlugins.hpp" #include "../include/Server.hpp" #include "../include/Utils/Vector.hpp" #include <iostream> #include <vector> #include <map> #include <filesystem> #undef SendMessage namespace LuaPlugins { std::vector<sol::function> authEvent; std::vector<sol::function> messageEvent; std::vect...
34.735294
156
0.711967
[ "vector" ]
e9fd3c7ea058735dec66ef5f61477168a823106b
34,935
cpp
C++
src/vm/winrttypenameconverter.cpp
kouvel/coreclr
e8b17841cb5ce923aec48a1b0c12042d445d508f
[ "MIT" ]
159
2020-06-17T01:01:55.000Z
2022-03-28T10:33:37.000Z
src/vm/winrttypenameconverter.cpp
kouvel/coreclr
e8b17841cb5ce923aec48a1b0c12042d445d508f
[ "MIT" ]
19
2020-06-27T01:16:35.000Z
2022-02-06T20:33:24.000Z
src/vm/winrttypenameconverter.cpp
kouvel/coreclr
e8b17841cb5ce923aec48a1b0c12042d445d508f
[ "MIT" ]
19
2020-05-21T08:18:20.000Z
2021-06-29T01:13:13.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // File: WinRTTypeNameConverter.cpp // // // // ================================================================...
33.239772
159
0.618148
[ "object" ]
e9ff4d50e41f3eea2fc784e44f36507afb6e4ac6
2,897
cpp
C++
Codeforces/Codeforces Round 662/C.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
1
2021-03-05T14:16:46.000Z
2021-03-05T14:16:46.000Z
Codeforces/Codeforces Round 662/C.cpp
K-ona/CPP-Training
aa312970505f67c270257c8a5816e89c10f2d1ce
[ "Apache-2.0" ]
null
null
null
Codeforces/Codeforces Round 662/C.cpp
K-ona/CPP-Training
aa312970505f67c270257c8a5816e89c10f2d1ce
[ "Apache-2.0" ]
null
null
null
// This code is written by Karry5307 #include<bits/stdc++.h> // copied by Kona@vscode // Definition #define For(i,x,y) for(register int i=(x);i<(y);i++) #define Forr(i,x,y) for(register int i=(x);i<=(y);i++) #define Rep(i,x,y) for(register int i=(x);i>(y);i--) #define Repp(i,x,y) for(register int i=(x);i>=(y);i--) #de...
22.992063
67
0.638937
[ "vector" ]
1801a71e61f26ef9f22f237a93168c249928240a
10,508
cpp
C++
src/core/Context.cpp
KeinR/Nafy
b576a08b028cff00a7cb02331699dc8b2fecf3bf
[ "MIT" ]
null
null
null
src/core/Context.cpp
KeinR/Nafy
b576a08b028cff00a7cb02331699dc8b2fecf3bf
[ "MIT" ]
null
null
null
src/core/Context.cpp
KeinR/Nafy
b576a08b028cff00a7cb02331699dc8b2fecf3bf
[ "MIT" ]
null
null
null
#include "Context.h" #include <iostream> #include <vector> #include <thread> #include <chrono> #include <memory> #include <cmath> // DEBUG #include "../shaders/ShaderFactory.h" #include "error.h" #include "../env/env.h" #include "../text/ftype.h" #include "../text/Font.h" #include "../text/Text.h" #include "../gui...
28.789041
99
0.657594
[ "render", "vector", "model" ]
1802d01be78a0413745917abeff1fcd9ff499393
27,032
hpp
C++
src/ast/ast.hpp
myrjola/cee_scrap
f0c9cee7545956aa3b9abf2654a08085010589b7
[ "MIT" ]
null
null
null
src/ast/ast.hpp
myrjola/cee_scrap
f0c9cee7545956aa3b9abf2654a08085010589b7
[ "MIT" ]
null
null
null
src/ast/ast.hpp
myrjola/cee_scrap
f0c9cee7545956aa3b9abf2654a08085010589b7
[ "MIT" ]
null
null
null
/* * Copyright: * Gabriel Hjort Blindell, 2012 * * 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, m...
22.966865
80
0.601731
[ "object" ]
18110a8ef62bf86bea5cf133bc943d87a33a5fd3
9,680
cp
C++
Form/Mod/Gen.cp
romiras/Blackbox-fw-playground
6de94dc65513e657a9b86c1772e2c07742b608a8
[ "BSD-2-Clause" ]
1
2018-03-15T00:25:25.000Z
2018-03-15T00:25:25.000Z
Form/Mod/Gen.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
null
null
null
Form/Mod/Gen.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
1
2021-04-14T21:17:51.000Z
2021-04-14T21:17:51.000Z
MODULE FormGen; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" purpose = "" changes = "" issues = "" **) IMPOR...
43.214286
112
0.491632
[ "model" ]
18127b233cbf016b168a9604bbdd3f77cc32d43c
2,913
hpp
C++
CPP_rtype_2019/src/client/EntityClient.hpp
ltabis/epitech-projects
e38b3f00a4ac44c969d5e4880cd65084dc2c870a
[ "MIT" ]
null
null
null
CPP_rtype_2019/src/client/EntityClient.hpp
ltabis/epitech-projects
e38b3f00a4ac44c969d5e4880cd65084dc2c870a
[ "MIT" ]
null
null
null
CPP_rtype_2019/src/client/EntityClient.hpp
ltabis/epitech-projects
e38b3f00a4ac44c969d5e4880cd65084dc2c870a
[ "MIT" ]
1
2021-01-07T17:41:14.000Z
2021-01-07T17:41:14.000Z
/* ** EPITECH PROJECT, 2019 ** CPP_rtype_2019 ** File description: ** Entity class declaration */ /// \file Entity.hpp /// \author Lucas T. /// \brief Header file for the Entity class #pragma once #include <SFML/Graphics.hpp> #include <iostream> #include <vector> #include "Logger.hpp" namespace Client { /// \...
33.102273
82
0.558187
[ "vector" ]
181319ca888fd4f1a0feb02f4349ce6c9f4145fd
1,553
hpp
C++
src/word-break-ii.hpp
Red-Li/leetcode
908d579f4dbf63a0099b6aae909265300ead46c5
[ "Apache-2.0" ]
null
null
null
src/word-break-ii.hpp
Red-Li/leetcode
908d579f4dbf63a0099b6aae909265300ead46c5
[ "Apache-2.0" ]
null
null
null
src/word-break-ii.hpp
Red-Li/leetcode
908d579f4dbf63a0099b6aae909265300ead46c5
[ "Apache-2.0" ]
null
null
null
class Solution { vector<string> wordBreak(string s, unordered_set<string> &dict, vector<int> &flags, vector<vector<string> > &his) { vector<string> res; if(s.size()){ for(unordered_set<string>::it...
34.511111
91
0.364456
[ "vector" ]
181db375e9138af182ccdebaf3142e5e48bd9d3e
2,992
hpp
C++
maxon_epos_driver/include/maxon_epos_driver/Device.hpp
Mlahoud/maxon_epos_ros
6e0dfbfe7405eab27fd91ad434601f614951b7f1
[ "MIT" ]
12
2019-06-10T20:21:53.000Z
2022-03-12T14:44:42.000Z
maxon_epos_driver/include/maxon_epos_driver/Device.hpp
Mlahoud/maxon_epos_ros
6e0dfbfe7405eab27fd91ad434601f614951b7f1
[ "MIT" ]
5
2019-08-09T11:29:46.000Z
2022-01-31T07:28:57.000Z
maxon_epos_driver/include/maxon_epos_driver/Device.hpp
Mlahoud/maxon_epos_ros
6e0dfbfe7405eab27fd91ad434601f614951b7f1
[ "MIT" ]
6
2020-05-28T06:48:11.000Z
2022-02-25T11:12:03.000Z
/** * @file Device * @brief * @author arwtyxouymz * @date 2019-06-04 12:13:53 */ #ifndef _Device_HPP #define _Device_HPP #include <string> #include <vector> #include <memory> #include <map> #include "maxon_epos_driver/utils/Macros.hpp" /** * @brief Information of device */ class DeviceInfo { public: ...
23.936
122
0.686497
[ "vector" ]
181f84cc8294665693168ebb6375f2ce60be94d5
905
cpp
C++
HighLo-Unit/src/UnitTest.cpp
HighLo-Engine/HighLo-Unit
7c23b7d1400fd70e76b918ad616144d5cfad937f
[ "MIT" ]
null
null
null
HighLo-Unit/src/UnitTest.cpp
HighLo-Engine/HighLo-Unit
7c23b7d1400fd70e76b918ad616144d5cfad937f
[ "MIT" ]
null
null
null
HighLo-Unit/src/UnitTest.cpp
HighLo-Engine/HighLo-Unit
7c23b7d1400fd70e76b918ad616144d5cfad937f
[ "MIT" ]
null
null
null
#include "UnitTest.h" namespace highloUnit { void UnitTest::AppendTest(const HighLoUnitFunc &func, const char *name, bool enabled) { UnitFuncs.push_back({ func, name, enabled }); } void UnitTest::AppendAllTests(const std::vector<UnitTestEntry> &funcs) { for (UnitTestEntry entry : funcs) { UnitFuncs.push...
20.568182
97
0.628729
[ "vector" ]
18230fdcb89df13b5d8a0d655a9ef7ed5a3ee445
8,832
cpp
C++
dds/DCPS/InfoRepoDiscovery/DataWriterRemoteC.cpp
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
dds/DCPS/InfoRepoDiscovery/DataWriterRemoteC.cpp
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
dds/DCPS/InfoRepoDiscovery/DataWriterRemoteC.cpp
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
// -*- C++ -*- // $Id$ /** * Code generated by the The ACE ORB (TAO) IDL Compiler v2.2a_p7 * TAO and the TAO IDL Compiler have been developed by: * Center for Distributed Object Computing * Washington University * St. Louis, MO * USA * http://www.cs.wustl.edu/~schmidt/doc-center.ht...
23.181102
92
0.677989
[ "object" ]
1826d64e399915b5c79735e2c5657ac8426025e8
4,238
cpp
C++
src/decomp0.cpp
jim-bo/silp2
1186a84b2570af0e4ed305ddfff8f931e012eadf
[ "MIT" ]
1
2018-01-29T05:00:43.000Z
2018-01-29T05:00:43.000Z
src/decomp0.cpp
jim-bo/silp2
1186a84b2570af0e4ed305ddfff8f931e012eadf
[ "MIT" ]
1
2016-01-31T13:13:10.000Z
2016-02-02T14:16:05.000Z
src/decomp0.cpp
jim-bo/silp2
1186a84b2570af0e4ed305ddfff8f931e012eadf
[ "MIT" ]
null
null
null
/* * decompose.cpp * * Created on: Feb 27, 2012 * Author: jlindsay */ // header #include "decompose.h" // namespaces using namespace std; using namespace ogdf; // I/O buffer. char BUFFER [512]; /* * helper functions */ // breaks string at tab. void tokenize(string txt, vector<string> & result){ // ...
19.351598
84
0.590137
[ "vector" ]
1828364eca5e9827f369a1dd5b156eda1619005f
7,863
cpp
C++
aws-cpp-sdk-wafv2/source/model/Statement.cpp
grujicbr/aws-sdk-cpp
bdd43c178042f09c6739645e3f6cd17822a7c35c
[ "Apache-2.0" ]
1
2020-03-11T05:36:20.000Z
2020-03-11T05:36:20.000Z
aws-cpp-sdk-wafv2/source/model/Statement.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-wafv2/source/model/Statement.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
29.56015
184
0.775658
[ "model" ]
182a7f3e535771f83b80942bc48aee614e6abffa
2,678
hpp
C++
workspace/globber.hpp
5cript/minide
0964ae51512eb7ba1ee44d828d27e5b73da32245
[ "MIT" ]
null
null
null
workspace/globber.hpp
5cript/minide
0964ae51512eb7ba1ee44d828d27e5b73da32245
[ "MIT" ]
1
2018-01-26T00:06:19.000Z
2018-01-26T00:06:54.000Z
workspace/globber.hpp
5cript/minide
0964ae51512eb7ba1ee44d828d27e5b73da32245
[ "MIT" ]
null
null
null
#pragma once #include "../filesystem.hpp" #include <string> namespace MinIDE { class Globber { public: /** * @param root The root directory to glob files (or dirs) in. * @param directories Collect directories instead of files if true. */ Globber...
30.781609
121
0.505975
[ "vector" ]
182fcc55859528bc97122cb25c4cc61bc667c1a9
15,863
hpp
C++
src/sqlixx/statement.hpp
dmitigr/sqlixx
8949f08a93c1bbbfe45ae92be1b58ad2b6f2e3db
[ "Apache-2.0" ]
4
2020-03-21T02:26:09.000Z
2022-02-02T08:19:17.000Z
src/sqlixx/statement.hpp
dmitigr/sqlixx
8949f08a93c1bbbfe45ae92be1b58ad2b6f2e3db
[ "Apache-2.0" ]
1
2021-11-10T05:50:42.000Z
2021-11-17T15:13:03.000Z
src/sqlixx/statement.hpp
dmitigr/sqlixx
8949f08a93c1bbbfe45ae92be1b58ad2b6f2e3db
[ "Apache-2.0" ]
null
null
null
// -*- C++ -*- // // Copyright 2022 Dmitry Igrishin // // 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 applicabl...
27.684119
83
0.633424
[ "object" ]
183448ea1d6489658d4c846d655711ac229e3eaa
1,091
cpp
C++
c++/test/test_factor_rev.cpp
jacksonloper/celerite2
e413e28dc43ba33e67960b51a9cbbac43c2f58df
[ "MIT" ]
38
2020-10-10T02:43:53.000Z
2022-03-30T09:59:21.000Z
c++/test/test_factor_rev.cpp
jacksonloper/celerite2
e413e28dc43ba33e67960b51a9cbbac43c2f58df
[ "MIT" ]
34
2020-10-06T18:50:47.000Z
2022-01-28T10:33:04.000Z
c++/test/test_factor_rev.cpp
jacksonloper/celerite2
e413e28dc43ba33e67960b51a9cbbac43c2f58df
[ "MIT" ]
6
2020-11-09T18:12:54.000Z
2022-02-03T20:20:59.000Z
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "helpers.hpp" #include <celerite2/celerite2.h> using namespace celerite2::test; using namespace celerite2::core; TEMPLATE_LIST_TEST_CASE("check the results of factor_rev", "[factor_rev]", TestKernels) { SETUP_TEST(10); CoeffVector bc(J); Vector d, bd(N),...
31.171429
148
0.615949
[ "vector" ]
1837183b358a38c896f0e7f96d8f6ef626c758f2
3,565
cpp
C++
modules/task_2/tashirev_i_horiz_scheme/main.cpp
LioBuitrago/pp_2020_autumn_informatics
1ecc1b5dae978295778176ff11ffe42bedbc602e
[ "BSD-3-Clause" ]
1
2020-11-20T15:05:12.000Z
2020-11-20T15:05:12.000Z
modules/task_2/tashirev_i_horiz_scheme/main.cpp
LioBuitrago/pp_2020_autumn_informatics
1ecc1b5dae978295778176ff11ffe42bedbc602e
[ "BSD-3-Clause" ]
1
2021-02-13T03:00:05.000Z
2021-02-13T03:00:05.000Z
modules/task_2/tashirev_i_horiz_scheme/main.cpp
LioBuitrago/pp_2020_autumn_informatics
1ecc1b5dae978295778176ff11ffe42bedbc602e
[ "BSD-3-Clause" ]
1
2020-10-11T09:11:57.000Z
2020-10-11T09:11:57.000Z
// Copyright 2020 Tashirev Ivan #include <gtest-mpi-listener.hpp> #include <gtest/gtest.h> #include <vector> #include "../../../modules/task_2/tashirev_i_horiz_scheme/RibbonHorizontalPattern.h" TEST(Parallel_Operations_MPI, Test_Matrix4_3) { const int rows = 4; const int columns = 3; std::vector<int> matr...
31.548673
94
0.651613
[ "vector" ]
1841ce19736c4a6c05b4e9d4fc6efebdb3ab351b
4,890
hpp
C++
src/graph.hpp
Nash2829/Graph-Algorithms-Book
388abc036aaa2ec94b790fac0d9b025e1589b5f1
[ "MIT" ]
null
null
null
src/graph.hpp
Nash2829/Graph-Algorithms-Book
388abc036aaa2ec94b790fac0d9b025e1589b5f1
[ "MIT" ]
null
null
null
src/graph.hpp
Nash2829/Graph-Algorithms-Book
388abc036aaa2ec94b790fac0d9b025e1589b5f1
[ "MIT" ]
null
null
null
// graph.hpp #ifndef GRAPH_HPP #define GRAPH_HPP #include <iostream> #include <cstring> #include <algorithm> #include <vector> #include <stack> #include <queue> using Vertex = int; using Edge = std::pair<Vertex, Vertex>; // first stores vertex and second stores the edge weight class weightedGraph { protected: ...
26.576087
96
0.493456
[ "object", "vector" ]
1849ac70ae021250942fcab1e4f0a878fe35d30a
1,961
cpp
C++
aws-cpp-sdk-frauddetector/source/model/TrainingMetrics.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-frauddetector/source/model/TrainingMetrics.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-frauddetector/source/model/TrainingMetrics.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/frauddetector/model/TrainingMetrics.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws {...
23.070588
130
0.745538
[ "model" ]
184a0942fae64f93279316eaecb747f5e0a3a21f
11,652
cpp
C++
src/main.cpp
ernestocanibano/CarND-Path-Planning-P1
ba95fc92e71f12e30352a515fd84ffbdfb8c00bd
[ "MIT" ]
null
null
null
src/main.cpp
ernestocanibano/CarND-Path-Planning-P1
ba95fc92e71f12e30352a515fd84ffbdfb8c00bd
[ "MIT" ]
null
null
null
src/main.cpp
ernestocanibano/CarND-Path-Planning-P1
ba95fc92e71f12e30352a515fd84ffbdfb8c00bd
[ "MIT" ]
null
null
null
#include <uWS/uWS.h> #include <fstream> #include <iostream> #include <string> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "helpers.h" #include "json.hpp" #include "spline.h" // for convenience using nlohmann::json; using std::string; using std::vector; int ...
33.196581
151
0.599468
[ "object", "vector" ]
184f6aa92950d68e6dbbff60bfd2709d24f2a423
9,182
cpp
C++
unittests/Athena-Entities/tests/test_Animation.cpp
Kanma/Athena-Entities
c463bef9b5a6ec7989f3524739d0030ff24f32fe
[ "MIT" ]
1
2016-10-30T07:34:37.000Z
2016-10-30T07:34:37.000Z
unittests/Athena-Entities/tests/test_Animation.cpp
Kanma/Athena-Entities
c463bef9b5a6ec7989f3524739d0030ff24f32fe
[ "MIT" ]
null
null
null
unittests/Athena-Entities/tests/test_Animation.cpp
Kanma/Athena-Entities
c463bef9b5a6ec7989f3524739d0030ff24f32fe
[ "MIT" ]
null
null
null
#include <UnitTest++.h> #include <Athena-Entities/Animation.h> #include <Athena-Entities/ComponentAnimation.h> #include <Athena-Core/Utils/Iterators.h> using namespace Athena::Entities; using namespace Athena::Utils; class MinMaxAnimation: public ComponentAnimation { public: MinMaxAnimation(float min = 0.0f, fl...
21.914081
78
0.588216
[ "vector" ]