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
5d39b329b6f9e9289063542bde5f4441ce7baf59
11,919
cpp
C++
src/DeNoise.cpp
omi-lab/tp_image_utils_functions
5d02c634a87304eeb9c5b0828ebf8f18383aa91a
[ "MIT" ]
null
null
null
src/DeNoise.cpp
omi-lab/tp_image_utils_functions
5d02c634a87304eeb9c5b0828ebf8f18383aa91a
[ "MIT" ]
null
null
null
src/DeNoise.cpp
omi-lab/tp_image_utils_functions
5d02c634a87304eeb9c5b0828ebf8f18383aa91a
[ "MIT" ]
2
2019-01-30T14:02:44.000Z
2020-11-25T09:19:14.000Z
#include "tp_image_utils_functions/DeNoise.h" #include "tp_utils/DebugUtils.h" #include <memory.h> namespace tp_image_utils_functions { //################################################################################################## ByteRegions::ByteRegions(const tp_image_utils::ByteMap& src, bool addCorners) {...
23.233918
100
0.466398
[ "vector", "solid" ]
5d3a26ae175ba7c31449745cdd3bd3e95e6a5876
2,237
cpp
C++
BUPT 2021 Winter Training #7/b.cpp
rakty/2022-spring-training
db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d
[ "MIT" ]
1
2022-03-04T15:11:33.000Z
2022-03-04T15:11:33.000Z
BUPT 2021 Winter Training #7/b.cpp
rakty/2022-spring-training
db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d
[ "MIT" ]
null
null
null
BUPT 2021 Winter Training #7/b.cpp
rakty/2022-spring-training
db36ad3838945d2bb3a951f9ccd8dfa6f0916d0d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define pb push_back #define all(x) (x).begin(), (x).end() #define um unordered_map #define pq priority_queue #define sz(x) ((int)(x).size()) #define x first #define y second #define endl '\n' typedef vector<int> vi; typedef long long ll; typedef unsigned long long ull; typ...
29.051948
144
0.52034
[ "vector" ]
5d44700d26c8cd5535144c8f5853635031be0170
11,582
cpp
C++
src/core/tree/list.cpp
alicemona/Smala
6f66c3b4bb111993a6bcf148e84c229fb3fa3534
[ "BSD-2-Clause" ]
null
null
null
src/core/tree/list.cpp
alicemona/Smala
6f66c3b4bb111993a6bcf148e84c229fb3fa3534
[ "BSD-2-Clause" ]
null
null
null
src/core/tree/list.cpp
alicemona/Smala
6f66c3b4bb111993a6bcf148e84c229fb3fa3534
[ "BSD-2-Clause" ]
null
null
null
/* * djnn v2 * * The copyright holders for the contents of this file are: * Ecole Nationale de l'Aviation Civile, France (2018) * See file "license.terms" for the rights and conditions * defined by copyright holders. * * * Contributors: * Mathieu Magnaudet <mathieu.magnaudet@enac.fr> * Ma...
29.697436
121
0.604386
[ "vector", "model" ]
5d47937e19833d140d4b4d9d7e6c38b01ba1b240
14,091
cpp
C++
src/plugins/georeferencer/qgstransformsettingsdialog.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/plugins/georeferencer/qgstransformsettingsdialog.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/plugins/georeferencer/qgstransformsettingsdialog.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgstransformsettingsdialog.cpp -------------------------------------- Date : 14-Feb-2010 Copyright : (C) 2010 by Jack R, Maxim Dubinin (GIS-Lab) Email : sim@gis-lab.info ********...
44.311321
193
0.705983
[ "geometry" ]
5d548feeee04ef513f1c24b2f1a72fa8b1c24ad3
6,582
cpp
C++
FileManager.cpp
hiraditya/cpp2cxx
36eb36b1fa04b54ee2be560bd86e8b4ac629d5a4
[ "Apache-2.0" ]
36
2015-02-16T19:35:45.000Z
2021-03-17T12:33:53.000Z
FileManager.cpp
hiraditya/cpp2cxx
36eb36b1fa04b54ee2be560bd86e8b4ac629d5a4
[ "Apache-2.0" ]
3
2015-12-04T01:37:50.000Z
2018-01-09T17:06:18.000Z
FileManager.cpp
hiraditya/cpp2cxx
36eb36b1fa04b54ee2be560bd86e8b4ac629d5a4
[ "Apache-2.0" ]
7
2015-04-09T16:50:27.000Z
2020-07-10T08:38:37.000Z
/** cpp2cxx is an open source software distributed under terms of the Apache2.0 licence. Copyrights remain with the original copyright holders. Use of this material is by permission and/or license. Copyright [2012] Aditya Kumar, Andrew Sutton, Bjarne Stroustrup Licensed under the Apache License, Version 2.0 (the "Li...
29.383929
112
0.646156
[ "vector" ]
5d56467b9b2c520a20eaf422d3e3bcd31deadba0
2,711
cpp
C++
cpp/source/zInterOp/functionSets/zUnrealFnMesh.cpp
venumb/zSpace
a85de6d29c9099fcbd3d2c67f5f1be315eed6dc4
[ "MIT" ]
1
2020-05-19T16:52:23.000Z
2020-05-19T16:52:23.000Z
cpp/source/zInterOp/functionSets/zUnrealFnMesh.cpp
GitZHCODE/zspace_toolsets
8bcc0c47bc74f2dde06f0f2de8bdb976b67fbe0a
[ "MIT" ]
1
2019-06-24T09:16:37.000Z
2019-06-26T18:21:36.000Z
cpp/source/zInterOp/functionSets/zUnrealFnMesh.cpp
GitZHCODE/zspace_toolsets
8bcc0c47bc74f2dde06f0f2de8bdb976b67fbe0a
[ "MIT" ]
null
null
null
// This file is part of zspace, a simple C++ collection of geometry data-structures & algorithms, // data analysis & visualization framework. // // Copyright (C) 2019 ZSPACE // // This Source Code Form is subject to the terms of the MIT License // If a copy of the MIT License was not distributed with this file, You...
22.781513
98
0.636297
[ "geometry" ]
5d5815d0f74583e863544e1c5c2fb288f299f429
3,411
cc
C++
src/profiling/symbolizer/breakpad_symbolizer.cc
ga-ram/perfetto
75dc39438ed158c39a3d0b4814327d36299f6033
[ "Apache-2.0" ]
null
null
null
src/profiling/symbolizer/breakpad_symbolizer.cc
ga-ram/perfetto
75dc39438ed158c39a3d0b4814327d36299f6033
[ "Apache-2.0" ]
null
null
null
src/profiling/symbolizer/breakpad_symbolizer.cc
ga-ram/perfetto
75dc39438ed158c39a3d0b4814327d36299f6033
[ "Apache-2.0" ]
1
2021-10-08T09:55:48.000Z
2021-10-08T09:55:48.000Z
/* * Copyright (C) 2021 The Android Open Source Project * * 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 app...
35.905263
80
0.718264
[ "vector" ]
5d5a22f6a73218ca2e0b09a5a60a17069599c720
3,242
cpp
C++
TestsWithGL/test_fem_chm_s_1d_consolidation.cpp
MingAtUWA/SimpleMPM2
7a1d7c257c621123d85a0630e93d42ae25c70fb4
[ "MIT" ]
null
null
null
TestsWithGL/test_fem_chm_s_1d_consolidation.cpp
MingAtUWA/SimpleMPM2
7a1d7c257c621123d85a0630e93d42ae25c70fb4
[ "MIT" ]
null
null
null
TestsWithGL/test_fem_chm_s_1d_consolidation.cpp
MingAtUWA/SimpleMPM2
7a1d7c257c621123d85a0630e93d42ae25c70fb4
[ "MIT" ]
null
null
null
#include "TestsWithGL_pcp.h" #include "Model_S2D_CHM_s_FEM_uUp.h" #include "Step_S2D_CHM_s_FEM_uUp.h" #include "ModelDataOutput_S2D_CHM_s_FEM_uUp.h" #include "TimeHistoryOutput_S2D_CHM_s_FEM_uUp.h" #include "TimeHistoryOutput_ConsoleProgressBar.h" #include "test_sim_core.h" //#include "test_post_processor.h" //#incl...
26.793388
79
0.697409
[ "mesh", "model" ]
5d5b51f7a7b0a9f4bed221f9c3be47a4af444c9a
11,805
hpp
C++
src/gpu/jit/conv/utils.hpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
1
2022-03-03T10:17:14.000Z
2022-03-03T10:17:14.000Z
src/gpu/jit/conv/utils.hpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
null
null
null
src/gpu/jit/conv/utils.hpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
1
2022-03-29T06:35:19.000Z
2022-03-29T06:35:19.000Z
/******************************************************************************* * Copyright 2021-2022 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
27.841981
80
0.607539
[ "object", "vector" ]
5d621d13f36c8819edf7ff93193774477c422c38
41,254
cp
C++
Dev/Mod/Browser.cp
romiras/BlackBox-linux
3abf415f181024d3ce9456883910d4eb68c5a676
[ "BSD-2-Clause" ]
2
2016-03-17T08:27:55.000Z
2020-05-02T08:42:08.000Z
Dev/Mod/Browser.cp
romiras/BlackBox-linux
3abf415f181024d3ce9456883910d4eb68c5a676
[ "BSD-2-Clause" ]
null
null
null
Dev/Mod/Browser.cp
romiras/BlackBox-linux
3abf415f181024d3ce9456883910d4eb68c5a676
[ "BSD-2-Clause" ]
null
null
null
MODULE DevBrowser; (** OmInc, cas, bh 11 Oct 2000 **) (* bj 10.10.00 Change Init and SaveOptions to work with the registry instead of a file *) (* bj 02.10.00 Fixed Init so it reads the correct file. *) (* dg 29.08.00 bugfix in PutSelection *) (* dg 03.02.99 clientinterface and extensioninterface interfaces *) (*...
31.443598
132
0.635405
[ "object", "model" ]
5d6659559404dec93243e13c98065ba93e0d0ec9
2,773
cpp
C++
pytorch/torch/csrc/distributed/c10d/comm.cpp
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
null
null
null
pytorch/torch/csrc/distributed/c10d/comm.cpp
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
1
2019-07-22T09:48:46.000Z
2019-07-22T09:48:46.000Z
pytorch/torch/csrc/distributed/c10d/comm.cpp
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
null
null
null
#include <torch/csrc/distributed/c10d/comm.h> #include <deque> #include <ATen/core/functional.h> #include <torch/csrc/distributed/c10d/reducer.h> #include <torch/csrc/utils/tensor_flatten.h> namespace c10d { namespace { class BroadcastWork { public: BroadcastWork( const std::shared_ptr<c10d::ProcessGroup>&...
33.409639
79
0.713307
[ "vector" ]
5d7cb48847f48b9f1a6425b3f355f208c5abf7dd
2,980
hpp
C++
src/msa/zobrist.hpp
jinnaiyuu/15puzzle
142a6765123699a999c1b6414252bb30f8766c08
[ "MIT" ]
1
2017-12-18T07:57:42.000Z
2017-12-18T07:57:42.000Z
src/msa/zobrist.hpp
jinnaiyuu/15puzzle
142a6765123699a999c1b6414252bb30f8766c08
[ "MIT" ]
59
2015-01-01T13:50:25.000Z
2015-07-28T05:49:33.000Z
src/msa/zobrist.hpp
jinnaiyuu/Hash-Distributed-Astar
142a6765123699a999c1b6414252bb30f8766c08
[ "MIT" ]
null
null
null
/* * zobrist.h * * Created on: Jun 10, 2014 * Author: yuu */ #ifndef MSAZOBRIST_H_ #define MSAZOBRIST_H_ #include <cmath> #include <climits> #include <cstdlib> #include <math.h> #include <random> #include "../dist_hash.hpp" template<typename D> class MSAZobrist : public DistributionHash<D> { public: enum...
22.575758
84
0.60906
[ "vector" ]
5d838032cf5969c483472b2489e1449e2411a009
54,924
cc
C++
JniTensorflow/jni/genfiles/tensorflow/core/protobuf/device_properties.pb.cc
Wenstery/TensorflowApp
e666b5908cb624e83d9084a842e7cbb105d6f23f
[ "Apache-2.0" ]
null
null
null
JniTensorflow/jni/genfiles/tensorflow/core/protobuf/device_properties.pb.cc
Wenstery/TensorflowApp
e666b5908cb624e83d9084a842e7cbb105d6f23f
[ "Apache-2.0" ]
null
null
null
JniTensorflow/jni/genfiles/tensorflow/core/protobuf/device_properties.pb.cc
Wenstery/TensorflowApp
e666b5908cb624e83d9084a842e7cbb105d6f23f
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/protobuf/device_properties.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "tensorflow/core/protobuf/device_properties.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/proto...
38.651654
209
0.700732
[ "object", "model" ]
5d8a6937822879874dd367d99a376bddc338ee9c
7,278
cpp
C++
src/framework/io/MeshBinaryIO.cpp
poelzi/efficient-sparse-voxel-octrees.
39e186a07cc12630b3b70231d61dcf2ac631a9b4
[ "BSD-3-Clause" ]
51
2016-09-27T19:13:57.000Z
2021-12-13T03:44:12.000Z
src/framework/io/MeshBinaryIO.cpp
Neo-Zhixing/efficient-sparse-voxel-octrees
d5ee9c494c08e595870b3b2b627a695c747bf2cc
[ "BSD-3-Clause" ]
null
null
null
src/framework/io/MeshBinaryIO.cpp
Neo-Zhixing/efficient-sparse-voxel-octrees
d5ee9c494c08e595870b3b2b627a695c747bf2cc
[ "BSD-3-Clause" ]
18
2016-11-24T11:33:18.000Z
2022-03-20T01:19:21.000Z
/* * Copyright (c) 2009-2011, NVIDIA Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * ...
33.694444
133
0.568975
[ "mesh", "3d" ]
5d93614b3425fc7a194b0e5b8c8c12d97d70bd0e
5,888
cpp
C++
MyDebugger/main.cpp
gmh5225/GleeBug
63a6668514e79bf689b9fec395c4c017e9d71adb
[ "MIT" ]
1,068
2015-12-28T15:43:43.000Z
2022-01-21T05:01:23.000Z
MyDebugger/main.cpp
gmh5225/GleeBug
63a6668514e79bf689b9fec395c4c017e9d71adb
[ "MIT" ]
58
2015-12-16T10:50:45.000Z
2021-07-19T13:13:05.000Z
MyDebugger/main.cpp
gmh5225/GleeBug
63a6668514e79bf689b9fec395c4c017e9d71adb
[ "MIT" ]
36
2016-02-09T12:30:38.000Z
2022-03-31T15:32:41.000Z
#include <cstdio> #include "MyDebugger.h" #include "GleeBug/Static.File.h" #include "GleeBug/Static.Pe.h" #include "GleeBug/Static.BufferFile.h" static void testDebugger() { #ifdef _WIN64 wchar_t szFilePath[256] = L"c:\\MembpTest_x64.exe"; #else //x86 wchar_t szFilePath[256] = L"c:\\MembpTest_x32.ex...
34.635294
108
0.512908
[ "vector" ]
5d980e2cfc68ba7d709f108650c7258bc574aa6b
2,165
cpp
C++
CONTRIB/LLVM/_Demo/Lib_GZ/Gfx/Dispacher.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
1
2021-05-05T20:42:24.000Z
2021-05-05T20:42:24.000Z
CONTRIB/LLVM/_Demo/Lib_GZ/Gfx/Dispacher.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
null
null
null
CONTRIB/LLVM/_Demo/Lib_GZ/Gfx/Dispacher.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
null
null
null
//This file is part of "GZE - GroundZero Engine" //The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0). //For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code. //Though not required...
29.256757
143
0.727483
[ "object" ]
4b6b8a601ddcc816a5ecca7413b8b070ced34882
9,931
cpp
C++
VectorTest/VectorTest.cpp
aykSpace/GanimedDeorbitation
1de8ed7a84a25866d81f3f0843ac01991862b549
[ "MIT" ]
null
null
null
VectorTest/VectorTest.cpp
aykSpace/GanimedDeorbitation
1de8ed7a84a25866d81f3f0843ac01991862b549
[ "MIT" ]
null
null
null
VectorTest/VectorTest.cpp
aykSpace/GanimedDeorbitation
1de8ed7a84a25866d81f3f0843ac01991862b549
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "Date_Time.h" #include "Date_Time.cpp" #include "Atmosphera.h" #include "Atmosphera.cpp" #include "OrbitElements.h" #include "OrbitElements.cpp" #include "Vector.h" #include "Vector.cpp" #include "Spacecraft.h" #include "Spacecraft.cpp" #include "Soyuz.h" #include "Soyuz.cpp" #include ...
28.953353
149
0.687947
[ "vector" ]
4b6cb93ed18f78a88d87809add44acb166e6fee9
1,028
cpp
C++
011 Largest product in a grid.cpp
satvik007/ProjectEuler
6044cebe03672412d385a62bef827b28f0943cb6
[ "MIT" ]
null
null
null
011 Largest product in a grid.cpp
satvik007/ProjectEuler
6044cebe03672412d385a62bef827b28f0943cb6
[ "MIT" ]
null
null
null
011 Largest product in a grid.cpp
satvik007/ProjectEuler
6044cebe03672412d385a62bef827b28f0943cb6
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector <int> vi; int dr[] = {0, 1, -1, 1}; int dc[] = {1, 0, 1, 1}; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout); vector <vi> a(20, vi(20))...
27.052632
65
0.366732
[ "vector" ]
4b724679c25299e080cfae659f29d15d0bb3c24a
2,211
cxx
C++
Modules/Filtering/Statistics/test/otbStreamingCompareImageFilter.cxx
heralex/OTB
c52b504b64dc89c8fe9cac8af39b8067ca2c3a57
[ "Apache-2.0" ]
317
2015-01-19T08:40:58.000Z
2022-03-17T11:55:48.000Z
Modules/Filtering/Statistics/test/otbStreamingCompareImageFilter.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
18
2015-07-29T14:13:45.000Z
2021-03-29T12:36:24.000Z
Modules/Filtering/Statistics/test/otbStreamingCompareImageFilter.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
132
2015-02-21T23:57:25.000Z
2022-03-25T16:03:16.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
31.585714
91
0.721393
[ "object" ]
4b77947e520cc432361fbdf53c7735178b423350
15,694
cpp
C++
src/mongo/db/commands/list_indexes.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/commands/list_indexes.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/commands/list_indexes.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
41.850667
99
0.635593
[ "vector" ]
4b8e3d4b832454c448701f898a14afadbc6a772c
21,653
hpp
C++
libobs-for-HQ-Windows/UI/window-basic-main.hpp
jayliu1989/HQ
470d9919742412795447c81c3f160278b4418ba7
[ "MIT" ]
45
2019-01-09T01:50:12.000Z
2021-08-09T20:51:22.000Z
libobs-for-HQ-Windows/UI/window-basic-main.hpp
jayliu1989/HQ
470d9919742412795447c81c3f160278b4418ba7
[ "MIT" ]
8
2019-01-14T10:30:55.000Z
2021-06-16T11:38:39.000Z
libobs-for-HQ-Windows/UI/window-basic-main.hpp
jayliu1989/HQ
470d9919742412795447c81c3f160278b4418ba7
[ "MIT" ]
24
2019-02-15T17:24:23.000Z
2021-09-09T23:45:19.000Z
/****************************************************************************** Copyright (C) 2013-2014 by Hugh Bailey <obs.jim@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundati...
28.157347
83
0.770609
[ "vector", "transform" ]
4b8e7f81374582151e1fd0b8ce7f29fdca48fadb
2,587
cpp
C++
aegisub/reporter/platform_unix_osx.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
1
2018-02-12T02:44:57.000Z
2018-02-12T02:44:57.000Z
aegisub/reporter/platform_unix_osx.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
null
null
null
aegisub/reporter/platform_unix_osx.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
2
2018-02-12T03:46:24.000Z
2018-02-12T14:36:07.000Z
// Copyright (c) 2009, Amar Takhar <verm@aegisub.org> // // Permission to use, copy, modify, and distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE ...
26.947917
75
0.713181
[ "model" ]
4b9108933cc17377e2580d96b79ec7e55312c5be
5,469
cpp
C++
Programs/TestBed/Sources/Tests/OverdrawTest/OverdrawTesterRenderObject.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/TestBed/Sources/Tests/OverdrawTest/OverdrawTesterRenderObject.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/TestBed/Sources/Tests/OverdrawTest/OverdrawTesterRenderObject.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "OverdrawTesterRenderObject.h" #include "Base/BaseTypes.h" #include "Engine/Engine.h" #include "Functional/Function.h" #include "Render/2D/Systems/VirtualCoordinatesSystem.h" #include "Render/Renderer.h" #include "Render/Material/NMaterial.h" #include "Render/Highlevel/RenderBatch.h" #include "Render/DynamicB...
32.748503
185
0.705613
[ "render", "vector" ]
4b96872c6a45288ccb3834e3351c889b8082c046
11,374
hpp
C++
src/Magma/String.hpp
RiscadoA/Magma-Streams
a51821609ec6d80e1ac45660068e0a216f65624b
[ "BSD-3-Clause" ]
null
null
null
src/Magma/String.hpp
RiscadoA/Magma-Streams
a51821609ec6d80e1ac45660068e0a216f65624b
[ "BSD-3-Clause" ]
null
null
null
src/Magma/String.hpp
RiscadoA/Magma-Streams
a51821609ec6d80e1ac45660068e0a216f65624b
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <stdexcept> #include <vector> namespace Magma { class InvalidStringError : public std::runtime_error { public: using std::runtime_error::runtime_error; }; /// <summary> /// Class that wraps a C string. This class uses the UTF-8 encoding. /// </summary> class String { public: /...
34.466667
128
0.672147
[ "vector" ]
4ba421e148c4ea2f1216c264bb8cdd98c6783bd1
4,238
cpp
C++
projects/acommandline/test/parse_test.cpp
agnesoft/adev
e2515ff85c169b529423828cd9afacdfb74e56e2
[ "Apache-2.0" ]
5
2022-03-14T13:08:01.000Z
2022-03-30T20:31:29.000Z
projects/acommandline/test/parse_test.cpp
agnesoft/adev
e2515ff85c169b529423828cd9afacdfb74e56e2
[ "Apache-2.0" ]
318
2020-10-26T11:51:09.000Z
2022-03-31T15:42:30.000Z
projects/acommandline/test/parse_test.cpp
agnesoft/adev
e2515ff85c169b529423828cd9afacdfb74e56e2
[ "Apache-2.0" ]
1
2021-01-26T19:16:56.000Z
2021-01-26T19:16:56.000Z
import atest; import acommandline; using ::atest::expect; using ::atest::suite; using ::atest::test; static const auto S = suite("CommandLine::parse()", [] { // NOLINT(cert-err58-cpp) test("long and short mix", [] { std::stringstream stream; ::acommandline::CommandLine commandLine{stream}; ...
38.880734
168
0.601935
[ "vector" ]
4ba66054dcddde8493d854be07c643b7902033c8
3,595
cpp
C++
cpp/model/GetAccountsResponse.cpp
havenmoney/platform-clients
60a2553bde73c1f8a2b02e76ad7adcdf04283cd3
[ "Apache-2.0" ]
null
null
null
cpp/model/GetAccountsResponse.cpp
havenmoney/platform-clients
60a2553bde73c1f8a2b02e76ad7adcdf04283cd3
[ "Apache-2.0" ]
null
null
null
cpp/model/GetAccountsResponse.cpp
havenmoney/platform-clients
60a2553bde73c1f8a2b02e76ad7adcdf04283cd3
[ "Apache-2.0" ]
null
null
null
/** * Haven Money API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0 * * NOTE: This class is auto generated by OpenAPI-Generator 4.0.2. * https://openapi-generator.tech * Do not edit the class manually. *...
26.240876
200
0.618359
[ "object", "vector", "model" ]
4bb0673b020d4a3cb8a3e132becad81f88f8a9c2
2,064
cc
C++
src/nojs_vm.cc
Flameeyes/nojs
b386fe707f651ffb2000d52560bc60bc3c0b2f1b
[ "BSD-3-Clause" ]
78
2016-05-29T09:17:00.000Z
2020-12-27T16:16:23.000Z
src/nojs_vm.cc
Flameeyes/nojs
b386fe707f651ffb2000d52560bc60bc3c0b2f1b
[ "BSD-3-Clause" ]
4
2016-06-02T00:47:34.000Z
2016-06-21T15:25:09.000Z
src/nojs_vm.cc
Flameeyes/nojs
b386fe707f651ffb2000d52560bc60bc3c0b2f1b
[ "BSD-3-Clause" ]
3
2016-06-16T08:17:16.000Z
2020-03-31T19:33:17.000Z
#include "uv.h" #include "v8.h" #include "nojs_validate_arguments.h" #include "nojs_thread_context_inl.h" #include "nojs_object_inl.h" #include "nojs_uv_request.h" #include "nojs_string.h" namespace NoJS { typedef Validation::And< Validation::Length<4>, Validation::And< Validation::And< Validation::Or<...
23.191011
89
0.661822
[ "object" ]
4bbb70cf5e561d42f46e768ee0f604edf5bd49fc
5,116
cpp
C++
src/P12218319/parallel/Task.cpp
p12218319/Parallel
10bf916b8c63064521df909fa09f8b6128f7a1e8
[ "Apache-2.0" ]
null
null
null
src/P12218319/parallel/Task.cpp
p12218319/Parallel
10bf916b8c63064521df909fa09f8b6128f7a1e8
[ "Apache-2.0" ]
null
null
null
src/P12218319/parallel/Task.cpp
p12218319/Parallel
10bf916b8c63064521df909fa09f8b6128f7a1e8
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016 Adam Smith - P12218319 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 writing, softw...
27.956284
121
0.688233
[ "vector" ]
4bbd7ec5a4cd91d2436e85d00e232bac9cf70348
3,961
cpp
C++
src/macosx/EstEID.tokend/EstEID/EstEIDRecord.cpp
kaidokert/old-esteid-stack
0391bbf600556dc8527c4f87eed2c95afc878ab4
[ "BSD-3-Clause" ]
null
null
null
src/macosx/EstEID.tokend/EstEID/EstEIDRecord.cpp
kaidokert/old-esteid-stack
0391bbf600556dc8527c4f87eed2c95afc878ab4
[ "BSD-3-Clause" ]
null
null
null
src/macosx/EstEID.tokend/EstEID/EstEIDRecord.cpp
kaidokert/old-esteid-stack
0391bbf600556dc8527c4f87eed2c95afc878ab4
[ "BSD-3-Clause" ]
null
null
null
/* * EstEID.tokend * * Copyright (C) 2009 Kaido Kert <kaidokert@gmail.com> * * This library 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; either * version 2.1 of the License, or (at your option) any l...
29.781955
99
0.729866
[ "vector" ]
4bce55f66bafce9b08f230da11d3cbae487ed04c
2,966
cpp
C++
Antiplagiat/Antiplagiat/bin/Debug/5534.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
1
2015-07-04T14:45:32.000Z
2015-07-04T14:45:32.000Z
Antiplagiat/Antiplagiat/bin/Debug/5534.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
null
null
null
Antiplagiat/Antiplagiat/bin/Debug/5534.cpp
DmitryTheFirst/AntiplagiatVkCup
556d3fe2e5a630d06a7aa49f2af5dcb28667275a
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <iostream> #include <stack> #include <queue> #include <deque> #include <map> #include <set> #include <vector> #include <string> #include <cstring> #include <math.h> #include <algorithm> #include <complex> #include <ctime> #include <iomanip> #include <cassert> #include <sstream> #include <ite...
19.513158
83
0.45145
[ "vector" ]
4bcf096301eb08ab9fd9d7e2a163f52274f154f3
25,551
cpp
C++
src/disasm/disasm_i8086.cpp
madmoose/chani
567e6c1a5769d050220f990b437f099198f1f8f1
[ "MIT" ]
11
2021-05-30T21:02:55.000Z
2022-03-19T16:22:34.000Z
src/disasm/disasm_i8086.cpp
madmoose/chani
567e6c1a5769d050220f990b437f099198f1f8f1
[ "MIT" ]
3
2021-06-06T08:37:04.000Z
2021-10-06T18:40:12.000Z
src/disasm/disasm_i8086.cpp
madmoose/chani
567e6c1a5769d050220f990b437f099198f1f8f1
[ "MIT" ]
3
2021-06-04T19:53:18.000Z
2021-06-06T14:02:26.000Z
#include "disasm/disasm_i8086.h" enum { NONE, MODRM, GROUP, }; struct opcode_t { const char *mnemonic; byte flags; arg_type_e arg_1; arg_type_e arg_2; }; /* * Checked against http://mlsite.net/8086/ */ const opcode_t i8086_opcode_table[256] = { /* 00 */ { "add", MODRM, PARAM_RM8, PARAM_REG8 ...
35.536857
89
0.411608
[ "3d" ]
4bd882fe43b58b85adbfa7d1824bccda879381d3
2,922
cpp
C++
rapp_qr_detection/tests/qr_detection/unit_tests.cpp
DEVX1/NAOrapp-Pythonlib
d07d7fe304556cad24e7e138df4e41376eacb6a7
[ "Apache-2.0" ]
null
null
null
rapp_qr_detection/tests/qr_detection/unit_tests.cpp
DEVX1/NAOrapp-Pythonlib
d07d7fe304556cad24e7e138df4e41376eacb6a7
[ "Apache-2.0" ]
null
null
null
rapp_qr_detection/tests/qr_detection/unit_tests.cpp
DEVX1/NAOrapp-Pythonlib
d07d7fe304556cad24e7e138df4e41376eacb6a7
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** Copyright 2015 RAPP 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 Un...
25.631579
79
0.654346
[ "object", "vector" ]
4be41d96ba97bfb0f3e7be49489cb32328697978
678
cpp
C++
Leetcode1964.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
1
2020-06-28T06:29:05.000Z
2020-06-28T06:29:05.000Z
Leetcode1964.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
null
null
null
Leetcode1964.cpp
dezhonger/LeetCode
70de054be5af3a0749dce0625fefd75e176e59f4
[ "Apache-2.0" ]
null
null
null
const int N = 100010; //f[i]: 长度为i的LIS数组的最小结尾数字 int f[N]; class Solution { public: vector<int> longestObstacleCourseAtEachPosition(vector<int>& obstacles) { int len = 0, n = obstacles.size(); vector<int> res(n); memset(f, 0, sizeof f); f[0] = -2e9; for (int i = 0; i < n; i++...
25.111111
77
0.405605
[ "vector" ]
4be42ca0942c22876de46edcaf03ea1f46f39c8f
4,620
cxx
C++
Code/Modules/Functional/test/MahalanobisFunctionalTest.cxx
xiaochengcike/RegSeg
e2cff93ef4f195bfd59c518e047cf8f37560b6a8
[ "MIT" ]
14
2016-05-16T08:47:04.000Z
2022-01-07T14:57:16.000Z
Code/Modules/Functional/test/MahalanobisFunctionalTest.cxx
xiaochengcike/RegSeg
e2cff93ef4f195bfd59c518e047cf8f37560b6a8
[ "MIT" ]
5
2016-01-24T02:52:55.000Z
2017-10-18T02:13:15.000Z
Code/Modules/Functional/test/MahalanobisFunctionalTest.cxx
oesteban/RegSeg
e2cff93ef4f195bfd59c518e047cf8f37560b6a8
[ "MIT" ]
8
2015-12-24T21:13:43.000Z
2022-03-25T00:06:35.000Z
// This file is part of RegSeg // // Copyright 2014-2017, Oscar Esteban <code@oscaresteban.es> // // 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 ...
38.823529
105
0.736364
[ "vector" ]
4beaab1fb4d62fdef8f33d5b540ef2f37d1f01b9
2,816
cpp
C++
src/mcmc.cpp
halasadi/eems2
92c6b54cdd2cf30c0c363fa716487f4ace584fd3
[ "MIT" ]
20
2017-10-20T15:47:11.000Z
2022-03-30T17:25:11.000Z
src/mcmc.cpp
halasadi/eems2
92c6b54cdd2cf30c0c363fa716487f4ace584fd3
[ "MIT" ]
9
2018-01-05T16:42:54.000Z
2021-03-04T09:41:02.000Z
src/mcmc.cpp
halasadi/eems2
92c6b54cdd2cf30c0c363fa716487f4ace584fd3
[ "MIT" ]
3
2019-04-09T09:07:01.000Z
2020-12-01T14:31:57.000Z
#include "mcmc.hpp" MCMC::MCMC(const Params &params) { numMCMCIter = params.numMCMCIter; numBurnIter = params.numBurnIter; numThinIter = params.numThinIter; currIter = 0; numTypes = 12; finished = false; okayMoves = vector<double>(numTypes,0); totalMoves = vector<double>(numTypes,0); }...
31.288889
109
0.478338
[ "vector" ]
4bfa758f9840cb4b55686dae74e199b5bc0874c2
8,303
cpp
C++
src/coordinates.cpp
faizol/tilemaker
763200664db2319079e97cc8134c41deffb41f0d
[ "MIT" ]
null
null
null
src/coordinates.cpp
faizol/tilemaker
763200664db2319079e97cc8134c41deffb41f0d
[ "MIT" ]
null
null
null
src/coordinates.cpp
faizol/tilemaker
763200664db2319079e97cc8134c41deffb41f0d
[ "MIT" ]
null
null
null
#include "coordinates.h" #include <math.h> using namespace std; namespace geom = boost::geometry; TileCoordinates_::TileCoordinates_() { this->x = 0; this->y = 0; } TileCoordinates_::TileCoordinates_(TileCoordinate x, TileCoordinate y) { this->x = x; this->y = y; } double deg2rad(double deg) { return (M_PI/180....
36.577093
116
0.6647
[ "geometry", "vector" ]
4bfaec1d428974c25c3d5645bfd8d1900516961a
952
cc
C++
blaze/blaze/operator/op/not_op.cc
Ru-Xiang/x-deeplearning
04cc0497150920c64b06bb8c314ef89977a3427a
[ "Apache-2.0" ]
4,071
2018-12-13T04:17:38.000Z
2022-03-30T03:29:35.000Z
blaze/blaze/operator/op/not_op.cc
laozhuang727/x-deeplearning
781545783a4e2bbbda48fc64318fb2c6d8bbb3cc
[ "Apache-2.0" ]
359
2018-12-21T01:14:57.000Z
2022-02-15T07:18:02.000Z
blaze/blaze/operator/op/not_op.cc
laozhuang727/x-deeplearning
781545783a4e2bbbda48fc64318fb2c6d8bbb3cc
[ "Apache-2.0" ]
1,054
2018-12-20T09:57:42.000Z
2022-03-29T07:16:53.000Z
/* * \file not_op.cc * \desc The not operator */ #include "blaze/operator/op/not_op.h" namespace blaze { template <typename DType> void NotKernel(const NotParam<DType>& params) { for (size_t k = 0; k < params.size; ++k) { params.y[k] = params.x[k] == 0 ? 1 : 0; } } template <> bool NotOp<CPUContext>::RunO...
20.255319
70
0.609244
[ "shape" ]
4bfbeeb078b01d56ab38a5f1fba3c278eb92a644
1,318
cpp
C++
AdvancedLevel_C++/1142. Maximal Clique (25) .cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
107
2019-10-25T07:46:59.000Z
2022-03-29T11:10:56.000Z
AdvancedLevel_C++/1142. Maximal Clique (25) .cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
1
2021-08-13T05:42:27.000Z
2021-08-13T05:42:27.000Z
AdvancedLevel_C++/1142. Maximal Clique (25) .cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
18
2020-12-09T14:24:22.000Z
2022-03-30T06:56:01.000Z
#include <iostream> #include <vector> using namespace std; int e[210][210]; int main() { int nv, ne, m, ta, tb, k; scanf("%d %d", &nv, &ne); for (int i = 0; i < ne; i++) { scanf("%d %d", &ta, &tb); e[ta][tb] = e[tb][ta] = 1; } scanf("%d", &m); for (int i = 0; i < m; i++) { ...
28.042553
57
0.326252
[ "vector" ]
4bff46f9209abe4ef783dc4b69719886f0d438a7
7,217
cpp
C++
WindowsConsoleGame/Tester.cpp
Joefficial/WindowsConsoleGame
0ec4df55fb119be0903f9d589a3b4e1fb83d0234
[ "MIT" ]
null
null
null
WindowsConsoleGame/Tester.cpp
Joefficial/WindowsConsoleGame
0ec4df55fb119be0903f9d589a3b4e1fb83d0234
[ "MIT" ]
null
null
null
WindowsConsoleGame/Tester.cpp
Joefficial/WindowsConsoleGame
0ec4df55fb119be0903f9d589a3b4e1fb83d0234
[ "MIT" ]
null
null
null
#include <iostream> #include <windows.h> #include "Entity.h" #include "Player.h" #include "CGameItem.h" #include "GroundItem.h" #include "Container.h" #include "Map.h" using namespace std; void drawDefaultDisplay(); void printInvItem(string itemToPrint, int itemNo); void outputMessage(string messageToOutput); voi...
25.322807
120
0.615907
[ "object" ]
ef021f631e11b79fbc2b0f19f6bc67745246d5bf
10,082
hpp
C++
include/nodamushi/svd/normalized/node_container.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
include/nodamushi/svd/normalized/node_container.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
include/nodamushi/svd/normalized/node_container.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
/*! @brief container class decralation @file nodamushi/svd/normalized/node_container.hpp */ /* * These codes are licensed under CC0. * http://creativecommons.org/publicdomain/zero/1.0/ */ #ifndef NODAMUSHI_SVD_NORMALIZED_NODE_CONTAINER_HPP #define NODAMUSHI_SVD_NORMALIZED_NODE_CONTAINER_HPP # include <vector> #...
31.50625
120
0.706507
[ "vector" ]
ef0a552247c307fce315b09cc6b3d31200fce665
16,961
cc
C++
src/Utilities/SpheralTimers.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
1
2020-10-21T01:56:55.000Z
2020-10-21T01:56:55.000Z
src/Utilities/SpheralTimers.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
src/Utilities/SpheralTimers.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
//---------------------------------Spheral++----------------------------------// // SpheralTimers -- Declare the Timers for use in profiling Spheral // // Created by J. Michael Owen, Sat Dec 1 15:03:19 PST 2001 //----------------------------------------------------------------------------// #include "Timer.hh" #inclu...
68.116466
143
0.560698
[ "vector" ]
ef164cd39e20d18c9a67417d6a4e1de41877f230
9,894
cpp
C++
helios/scattering/dielectric_bxdf.cpp
filipecn/helios
5c64c36485c403858279f66870f5d31f8722edb9
[ "MIT" ]
null
null
null
helios/scattering/dielectric_bxdf.cpp
filipecn/helios
5c64c36485c403858279f66870f5d31f8722edb9
[ "MIT" ]
null
null
null
helios/scattering/dielectric_bxdf.cpp
filipecn/helios
5c64c36485c403858279f66870f5d31f8722edb9
[ "MIT" ]
null
null
null
/// Copyright (c) 2021, FilipeCN. /// /// The MIT License (MIT) /// /// 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 u...
42.831169
117
0.634728
[ "vector" ]
fa9ca690612d248fed2f095e3b0fbdac7492bcc5
1,587
cpp
C++
Engine/ArrayGeometry.cpp
larso0/Engine
6078646fd92ea86c737f6769d50be9bd18c6dac8
[ "MIT" ]
null
null
null
Engine/ArrayGeometry.cpp
larso0/Engine
6078646fd92ea86c737f6769d50be9bd18c6dac8
[ "MIT" ]
1
2017-04-04T23:58:04.000Z
2017-04-04T23:58:04.000Z
Engine/ArrayGeometry.cpp
larso0/Engine
6078646fd92ea86c737f6769d50be9bd18c6dac8
[ "MIT" ]
null
null
null
/* * File: ArrayGeometry.cpp * Author: larso * * Created on 28. desember 2015, 19:34 */ #include "ArrayGeometry.h" #include <stdexcept> namespace Engine { ArrayGeometry::ArrayGeometry() : Geometry(), dataIsSent(false), vertexBuffer(0) { } ArrayGeometry::~ArrayGeometry() { if(dataIsSent) { gl...
23.338235
111
0.742911
[ "geometry", "object" ]
fa9f537ef8c9fedb2d805ca698e74df1b93f0eb6
2,088
cpp
C++
problemsets/Codejam/2008/ROUND 1C 2008/PB/PB.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codejam/2008/ROUND 1C 2008/PB/PB.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codejam/2008/ROUND 1C 2008/PB/PB.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <vector> #include <list> #include <map> #include <set> #include <deque> #include <queue> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream>...
24
87
0.547893
[ "vector" ]
faa1be1b1c32484218112ba9d888d5f22f140e7f
26,363
cpp
C++
bookviewer/Classes/BookView.cpp
JaagaLabs/GLEXP-Team-KitkitSchool
f94ea3e53bd05fdeb2a9edcc574bc054e575ecc0
[ "Apache-2.0" ]
45
2019-05-16T20:49:31.000Z
2021-11-05T21:40:54.000Z
bookviewer/Classes/BookView.cpp
rdsmarketing/GLEXP-Team-KitkitSchool
6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e
[ "Apache-2.0" ]
10
2019-05-17T13:38:22.000Z
2021-07-31T19:38:27.000Z
bookviewer/Classes/BookView.cpp
rdsmarketing/GLEXP-Team-KitkitSchool
6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e
[ "Apache-2.0" ]
29
2019-05-16T17:49:26.000Z
2021-12-30T16:36:24.000Z
// // BookView.cpp // booktest // // Created by Gunho Lee on 6/29/16. // // #include "BookView.hpp" #include "Utils/TodoUtil.h" #include "Common/Controls/CompletePopup.hpp" #include "Common/Controls/ProgressIndicator.hpp" #include "Managers/GameSoundManager.h" #include "CCAppController.hpp" #include "Managers/Log...
35.386577
184
0.564617
[ "vector" ]
faa1e8c5c701bfc8f694775b8f81330d520a3388
11,760
cpp
C++
TP3/ex1.cpp
biromiro/feup-cal
d0fe01603e13729a5b91ca2758d8db5aafd2a13c
[ "MIT" ]
null
null
null
TP3/ex1.cpp
biromiro/feup-cal
d0fe01603e13729a5b91ca2758d8db5aafd2a13c
[ "MIT" ]
null
null
null
TP3/ex1.cpp
biromiro/feup-cal
d0fe01603e13729a5b91ca2758d8db5aafd2a13c
[ "MIT" ]
2
2021-04-11T17:31:16.000Z
2021-04-27T14:04:44.000Z
#include "exercises.h" #include <limits> #include <thread> #include <algorithm> #include <cmath> const double MAX_DOUBLE = std::numeric_limits<double>::max(); Point::Point(double x, double y) { this->x = x; this->y = y; } Point::Point(int x, int y) { this->x = x; this->y = y; } double Point::distan...
30.947368
127
0.599405
[ "vector" ]
faa8d6be9116a3a6ef06ba28e1155688be62c6c9
11,205
cpp
C++
tools/layout-tool/sources/reader.cpp
jjYBdx4IL/string-machine
0bb2ac9092d31402c8ecfd5f681a3a4f2d575024
[ "BSL-1.0" ]
34
2019-07-08T15:02:10.000Z
2022-02-20T01:44:02.000Z
tools/layout-tool/sources/reader.cpp
jjYBdx4IL/string-machine
0bb2ac9092d31402c8ecfd5f681a3a4f2d575024
[ "BSL-1.0" ]
27
2019-07-08T21:46:19.000Z
2022-03-24T16:01:02.000Z
tools/layout-tool/sources/reader.cpp
jjYBdx4IL/string-machine
0bb2ac9092d31402c8ecfd5f681a3a4f2d575024
[ "BSL-1.0" ]
3
2019-08-03T22:35:08.000Z
2022-02-20T01:19:52.000Z
#include "reader.h" #include <boost/tokenizer.hpp> #include <iostream> #include <fstream> typedef std::vector<std::string> TokenList; static bool read_file_tokens(const char *filename, TokenList &tokens); static Layout read_tokens_layout(TokenList::iterator &tok_it, TokenList::iterator tok_end); Layout read_file_layo...
38.505155
149
0.619099
[ "vector" ]
faaa3f43f258b85f31bd18ca4e3a1152e25db8d3
21,741
hpp
C++
stapl_release/stapl/containers/vector/distribution.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/containers/vector/distribution.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/containers/vector/distribution.hpp
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...
35.466558
94
0.581114
[ "vector" ]
fab92f38df8eb12672e96811afb8b15532283385
41,547
cc
C++
ui/gtk/gtk_ui.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/gtk/gtk_ui.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/gtk/gtk_ui.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 "ui/gtk/gtk_ui.h" #include <gdk/gdk.h> #include <gdk/gdkkeysyms.h> #include <pango/pango.h> #include <cmath> #include <memory> #include <se...
37.128686
80
0.714636
[ "geometry", "object", "vector" ]
fab96c5a478b50057a659b5085f56e8059fc555e
14,260
cpp
C++
innative/tools.cpp
elliott-wen/innative
4fb456876d75fea2d3bf2b69dc1372efc710477e
[ "Apache-2.0" ]
null
null
null
innative/tools.cpp
elliott-wen/innative
4fb456876d75fea2d3bf2b69dc1372efc710477e
[ "Apache-2.0" ]
null
null
null
innative/tools.cpp
elliott-wen/innative
4fb456876d75fea2d3bf2b69dc1372efc710477e
[ "Apache-2.0" ]
null
null
null
// Copyright (c)2019 Black Sphere Studios // For conditions of distribution and use, see copyright notice in innative.h #include "parse.h" #include "validate.h" #include "compile.h" #include "link.h" #include "tools.h" #include "wast.h" #include "serialize.h" #include <atomic> #include <thread> #include <f...
29.52381
124
0.62195
[ "vector" ]
fac11c9752a7ded3e6a4d84a99fc2ffaf4cd5a0a
2,376
cpp
C++
src/PR_methods/gmmreg-master/C++/extract_correspondence.cpp
wangfudong/ZAC_GM
b5dddbb36f25d7210de4e14c2a9e189474353c61
[ "MIT" ]
12
2020-06-13T09:07:17.000Z
2022-03-27T08:56:39.000Z
src/PR_methods/gmmreg-master/C++/extract_correspondence.cpp
wangfudong/ZAC_GM
b5dddbb36f25d7210de4e14c2a9e189474353c61
[ "MIT" ]
6
2020-06-22T08:06:02.000Z
2022-01-22T11:26:19.000Z
src/PR_methods/gmmreg-master/C++/extract_correspondence.cpp
wangfudong/ZAC_GM
b5dddbb36f25d7210de4e14c2a9e189474353c61
[ "MIT" ]
4
2021-06-22T15:20:26.000Z
2022-03-23T07:10:51.000Z
/*========================================================================= $Author: bing.jian $ $Date: 2011-01-27 14:35:23 -0500 (Thu, 27 Jan 2011) $ $Revision: 134 $ =========================================================================*/ #include <iostream> #include <fstream> #include <vector> #include <...
27.952941
77
0.638047
[ "vector", "model" ]
fac1611142df28c3d94e32d99b5a488185a1786c
5,960
cc
C++
tensorrt-laboratory/tensorrt/src/model.cc
ryanleary/tensorrt-laboratory
1bb2151bfdffbb2e72b1a096e41b67602789c445
[ "BSD-3-Clause" ]
4
2020-01-16T13:50:28.000Z
2021-12-08T09:35:13.000Z
tensorrt-laboratory/tensorrt/src/model.cc
ryanleary/tensorrt-laboratory
1bb2151bfdffbb2e72b1a096e41b67602789c445
[ "BSD-3-Clause" ]
5
2020-03-24T17:57:33.000Z
2022-03-12T00:07:08.000Z
tensorrt-laboratory/tensorrt/src/model.cc
ryanleary/tensorrt-laboratory
1bb2151bfdffbb2e72b1a096e41b67602789c445
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
33.111111
100
0.67349
[ "model" ]
fac38644450a28f842dcae5b5fc7bdfa193a94d1
3,653
cpp
C++
moses/moses/PCNTools.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-01-25T00:51:56.000Z
2022-01-07T15:09:38.000Z
moses/moses/PCNTools.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
1
2020-06-23T08:29:09.000Z
2020-06-24T12:11:47.000Z
moses/moses/PCNTools.cpp
anshsarkar/TailBench
25845756aee9a892229c25b681051591c94daafd
[ "MIT" ]
3
2018-06-08T08:36:27.000Z
2021-12-26T20:36:16.000Z
#include "PCNTools.h" #include <iostream> #include <cstdlib> namespace PCN { const std::string chars = "'\\"; const char& quote = chars[0]; const char& slash = chars[1]; // safe get inline char get(const std::string& in, int c) { if (c < 0 || c >= (int)in.size()) return 0; else return in[(size_t)c]; } // consu...
21.362573
103
0.509444
[ "vector" ]
fad3bccfd4a50896d868b93a6abc1766b8f807a7
4,862
cpp
C++
External/FEXCore/Source/Interface/Core/ObjectCache/JobHandling.cpp
Seas0/FEX
4f4263263b560b0a25e0d48555d5b99ca12c938f
[ "MIT" ]
null
null
null
External/FEXCore/Source/Interface/Core/ObjectCache/JobHandling.cpp
Seas0/FEX
4f4263263b560b0a25e0d48555d5b99ca12c938f
[ "MIT" ]
null
null
null
External/FEXCore/Source/Interface/Core/ObjectCache/JobHandling.cpp
Seas0/FEX
4f4263263b560b0a25e0d48555d5b99ca12c938f
[ "MIT" ]
null
null
null
#include "Interface/Context/Context.h" #include "Interface/Core/ObjectCache/ObjectCacheService.h" #include <FEXCore/Config/Config.h> #include <fcntl.h> #include <filesystem> #include <memory> #include <string> #include <sys/uio.h> #include <sys/mman.h> #include <xxhash.h> namespace FEXCore::CodeSerialize { void As...
37.984375
127
0.672563
[ "object" ]
fad536d29a178103b6cd8086a68076d4254c8de7
551
hpp
C++
include/opt-methods/math/DiagonalMatrix.hpp
kp2pml30/optimization-methods-labs
654d982fafea4dcaaea80aa78d89128bc443398b
[ "Apache-2.0" ]
3
2021-05-13T14:05:21.000Z
2021-05-13T14:05:39.000Z
include/opt-methods/math/DiagonalMatrix.hpp
kp2pml30/optimization-methods-labs
654d982fafea4dcaaea80aa78d89128bc443398b
[ "Apache-2.0" ]
null
null
null
include/opt-methods/math/DiagonalMatrix.hpp
kp2pml30/optimization-methods-labs
654d982fafea4dcaaea80aa78d89128bc443398b
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cassert> #include <valarray> #include <cmath> #include <ranges> #include <algorithm> #include <numeric> #include "./Vector.hpp" template<typename T> class DiagonalMatrix { public: const std::valarray<T> diag; DiagonalMatrix(std::valarray<T> diag) : diag(std::move(diag)) {} size_t Dims()...
17.21875
67
0.68784
[ "vector" ]
fade8b68711cd79491594d0751e4489238beaf31
761
cpp
C++
C++/STL/Vector Sort/Vector Sort/main.cpp
huyht1205/coding
6f046587faba107e99b007466fd6140c0de59574
[ "MIT" ]
null
null
null
C++/STL/Vector Sort/Vector Sort/main.cpp
huyht1205/coding
6f046587faba107e99b007466fd6140c0de59574
[ "MIT" ]
null
null
null
C++/STL/Vector Sort/Vector Sort/main.cpp
huyht1205/coding
6f046587faba107e99b007466fd6140c0de59574
[ "MIT" ]
null
null
null
// // main.cpp // Vector Sort // // Created by Hoàng Trung Huy on 7/15/16. // Copyright © 2016 Hoàng Trung Huy. All rights reserved. // #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { /* Enter your code here. Read input from ...
19.025
81
0.498029
[ "vector" ]
fae183cda89677e34f0ef551b3df7d1a9977c6e5
2,069
cpp
C++
HighOrderCRF/LabelSequence.cpp
hiroshi-manabe/CRFSegmenter
c8b0544933701f91ff9cfac9301c51b181a4f846
[ "BSL-1.0" ]
16
2016-07-01T01:40:56.000Z
2020-05-06T03:29:42.000Z
HighOrderCRF/LabelSequence.cpp
hiroshi-manabe/CRFSegmenter
c8b0544933701f91ff9cfac9301c51b181a4f846
[ "BSL-1.0" ]
9
2016-07-04T06:44:42.000Z
2020-05-14T21:23:46.000Z
HighOrderCRF/LabelSequence.cpp
hiroshi-manabe/CRFSegmenter
c8b0544933701f91ff9cfac9301c51b181a4f846
[ "BSL-1.0" ]
2
2016-07-05T14:50:32.000Z
2019-10-03T02:35:53.000Z
#include <algorithm> #include <vector> #include "LabelSequence.h" namespace HighOrderCRF { using std::min; using std::vector; LabelSequence::LabelSequence(vector<label_t> labels) { this->labels = labels; } size_t LabelSequence::getLength() const { return labels.size(); } label_t LabelSequence::getLabelAt(...
22.48913
78
0.633156
[ "vector" ]
fae1ece39728793d7490c0fa7f24eb8b7438e66f
1,369
cpp
C++
aws-cpp-sdk-kinesisvideo/source/model/GetSignalingChannelEndpointResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-kinesisvideo/source/model/GetSignalingChannelEndpointResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-kinesisvideo/source/model/GetSignalingChannelEndpointResult.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/kinesisvideo/model/GetSignalingChannelEndpointResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils....
31.113636
146
0.794741
[ "model" ]
fae688180bab7b8dc3ee3fae148d28a66104e7f3
11,124
cpp
C++
Source/SystemQOR/SanOS/SanCmpSupQORVC/src/Exceptions/EH_GuardDescriptor.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/SanOS/SanCmpSupQORVC/src/Exceptions/EH_GuardDescriptor.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/SanOS/SanCmpSupQORVC/src/Exceptions/EH_GuardDescriptor.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//EH_GuardDescriptor.cpp // Copyright Querysoft Limited 2013 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit ...
36.592105
191
0.597267
[ "object" ]
faed4da3316f21a4cb0c07f34fdbf01057c16cbe
7,208
hh
C++
src/lsp-protocol/lsp-connection.hh
roflcopter4/electromechanical-lsp-client
553e4eeeac749986725046083abe6e4ca5eddb19
[ "MIT" ]
null
null
null
src/lsp-protocol/lsp-connection.hh
roflcopter4/electromechanical-lsp-client
553e4eeeac749986725046083abe6e4ca5eddb19
[ "MIT" ]
null
null
null
src/lsp-protocol/lsp-connection.hh
roflcopter4/electromechanical-lsp-client
553e4eeeac749986725046083abe6e4ca5eddb19
[ "MIT" ]
null
null
null
#pragma once #ifndef HGUARD_d_LSP_PROTOCOL_d_LSP_CONNECTION_HH_ #define HGUARD_d_LSP_PROTOCOL_d_LSP_CONNECTION_HH_ /****************************************************************************************/ #include "Common.hh" #include "client.hh" #include "rapid.hh" #include <nlohmann/json.hpp> namespace emlsp::rp...
30.542373
96
0.530383
[ "vector" ]
faee567b70e372128759200857881aca15f275e4
7,928
cpp
C++
BoidsApp/BoidsApp.cpp
FelipeEd/Jellyfish3D
448ca5462fdab2a28677c7f4d05d2e733267da6f
[ "Apache-2.0" ]
null
null
null
BoidsApp/BoidsApp.cpp
FelipeEd/Jellyfish3D
448ca5462fdab2a28677c7f4d05d2e733267da6f
[ "Apache-2.0" ]
null
null
null
BoidsApp/BoidsApp.cpp
FelipeEd/Jellyfish3D
448ca5462fdab2a28677c7f4d05d2e733267da6f
[ "Apache-2.0" ]
null
null
null
#include <jellyfish\Jellyfish3D.hpp> #include "classes\Debug.h" #include "classes\Boids.h" // Global // Window size unsigned int WIDTH = 1980; //1280; unsigned int HEIGHT = 1080; //720; bool pbr = true; #define NUM_BOIDS 500 // ----------------------------------------------------------------------------------- int ...
35.235556
144
0.494324
[ "model", "transform" ]
faeff3fc5cc5013d262fb7a4caa31e14907c79f2
3,062
hpp
C++
include/xleaflet/xbasemaps.hpp
martinRenou/xleaflet
2e445fca772e82760f77340f020c83cb8d1e1cbe
[ "BSD-3-Clause" ]
36
2018-04-14T15:15:43.000Z
2019-12-22T22:16:11.000Z
include/xleaflet/xbasemaps.hpp
martinRenou/xleaflet
2e445fca772e82760f77340f020c83cb8d1e1cbe
[ "BSD-3-Clause" ]
9
2018-04-20T08:50:08.000Z
2020-01-18T01:12:45.000Z
include/xleaflet/xbasemaps.hpp
martinRenou/xleaflet
2e445fca772e82760f77340f020c83cb8d1e1cbe
[ "BSD-3-Clause" ]
8
2018-04-20T18:06:04.000Z
2019-10-06T11:49:10.000Z
/****************************************************************************** * Copyright (c) 2018, Sylvain Corlay and Johan Mabille, Wolf Vollprecht and * * Martin Renou * * * ...
26.396552
80
0.453952
[ "vector" ]
faf12f6cee67fcac7957dc373bf16ffddab6dc00
10,779
cc
C++
chrome/browser/background_page_tracker.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
chrome/browser/background_page_tracker.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/background_page_tracker.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2010 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 "chrome/browser/background_page_tracker.h" #include <string> #include "base/command_line.h" #include "base/utf_string_conversions.h" #inclu...
36.415541
80
0.708229
[ "object", "vector" ]
faf1821ab333020c79da9119214fc733d3e7c14d
2,863
cpp
C++
src/log/object.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
src/log/object.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
src/log/object.cpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // 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) #include <fcppt/log/context.hpp> #include <fcppt/log/enabled_level_array.hpp> #include <fcppt/log/...
16.841176
61
0.70241
[ "object" ]
4f071b1d590dd402bee11d77d22e268491c17115
1,523
cc
C++
src/test/network_perf_ps.cc
xcgoner/parameter_server
ce317bc2c657909270fc740f7dcdf9a5f45c3d1a
[ "Apache-2.0" ]
435
2015-03-17T19:32:35.000Z
2022-02-20T13:18:01.000Z
src/test/network_perf_ps.cc
xcgoner/parameter_server
ce317bc2c657909270fc740f7dcdf9a5f45c3d1a
[ "Apache-2.0" ]
19
2015-03-18T01:22:36.000Z
2021-03-16T21:34:55.000Z
src/test/network_perf_ps.cc
xcgoner/parameter_server
ce317bc2c657909270fc740f7dcdf9a5f45c3d1a
[ "Apache-2.0" ]
182
2015-03-17T17:49:09.000Z
2021-12-09T20:09:33.000Z
#include "ps.h" #include "util/resource_usage.h" DEFINE_int32(n, 1000, "repeat n times"); DEFINE_int32(data_size, 1000, "data in KB sent from a worker to a server"); DEFINE_bool(server_aggregation, false, "servers will aggregate the data from servs if true"); namespace PS { class Server : pu...
25.383333
81
0.581747
[ "vector" ]
4f0a3e02dae50ab10cb361608ab44ea4dc37b6e4
2,338
cpp
C++
view/musicplaylisttracksview.cpp
5in4/yonder
56bd5b0b8e822b0338752b41debf2e7514f2a25b
[ "Linux-OpenIB" ]
null
null
null
view/musicplaylisttracksview.cpp
5in4/yonder
56bd5b0b8e822b0338752b41debf2e7514f2a25b
[ "Linux-OpenIB" ]
null
null
null
view/musicplaylisttracksview.cpp
5in4/yonder
56bd5b0b8e822b0338752b41debf2e7514f2a25b
[ "Linux-OpenIB" ]
null
null
null
#include "musicplaylisttracksview.h" MusicPlaylistTracksView::MusicPlaylistTracksView(QWidget *parent): QTableView(parent) { library_mime_type = "application/sg-music-library-reference"; } QModelIndexList MusicPlaylistTracksView::getSelectedIndexes() { return this->selectedIndexes(); } void MusicPlaylistTra...
29.974359
85
0.657827
[ "model" ]
4f0f2f8a03e06a1642a47791757aa66caaf9a71d
3,833
cpp
C++
mooc50-bobo-DS/cppHoupengfei88/14-Hash-Table/05-Hash-Table-Implementation/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2019-03-20T17:05:59.000Z
2019-10-15T07:56:45.000Z
mooc50-bobo-DS/cppHoupengfei88/14-Hash-Table/05-Hash-Table-Implementation/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
mooc50-bobo-DS/cppHoupengfei88/14-Hash-Table/05-Hash-Table-Implementation/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "FileOperation.h" #include "BST.h" #include "RBTree.h" #include "AVLTree.h" #include "HashTable.h" template<typename T> double testMap(T *map, string filename) { clock_t startTime = clock(); srand(66); vector<string> words; if (FileOps::readFile(filename, words)) { ...
36.504762
89
0.566919
[ "vector" ]
4f0f364275516ab58d72d372b3dfeca7e1bf80bc
3,136
cpp
C++
src/java/pmod/jni/JniUtility.cpp
Bhaskers-Blu-Org2/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
19
2019-06-16T02:29:24.000Z
2022-03-01T23:20:25.000Z
src/java/pmod/jni/JniUtility.cpp
microsoft/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
null
null
null
src/java/pmod/jni/JniUtility.cpp
microsoft/pmod
92e3c0ecff25763dcfabab0c1fb86d58e60cbb1a
[ "MIT" ]
5
2019-11-03T11:40:25.000Z
2020-08-05T14:56:13.000Z
/*** * Copyright (C) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. * * File:JniUtility.cpp ****/ #include "JniUtility.h" #include "JVMEnv.h" #include "JClass.h" #include "JString.h" using namespace Java; //+-----...
27.034483
105
0.529018
[ "object" ]
4f0f8c522d73d9cfeefe5829acaafb01fcc1a651
2,185
cpp
C++
primer/Associative_Containers_11/transformation_map.cpp
misslzyan/CPlusPlus
92c05955cf0221c63c687cdb71ee758a3e978ac2
[ "Apache-2.0" ]
null
null
null
primer/Associative_Containers_11/transformation_map.cpp
misslzyan/CPlusPlus
92c05955cf0221c63c687cdb71ee758a3e978ac2
[ "Apache-2.0" ]
null
null
null
primer/Associative_Containers_11/transformation_map.cpp
misslzyan/CPlusPlus
92c05955cf0221c63c687cdb71ee758a3e978ac2
[ "Apache-2.0" ]
null
null
null
#include <fstream> #include <sstream> #include <iostream> #include <map> #include <string> std::map<std::string, std::string> build_map(std::ifstream &in) { std::map<std::string, std::string> map; std::string line; std::string word; std::istringstream in_str; while(getline(in, line)){ // std::cout << "lin...
22.295918
87
0.535011
[ "transform" ]
4f15396d6b8374b15c75d62b92e654c393134ace
18,486
cpp
C++
test/TileQueueTests.cpp
klada/online
3c1185aca331222fefcc7a55c8d30064e2ef0a58
[ "BSD-2-Clause" ]
null
null
null
test/TileQueueTests.cpp
klada/online
3c1185aca331222fefcc7a55c8d30064e2ef0a58
[ "BSD-2-Clause" ]
1
2022-02-24T13:46:43.000Z
2022-02-24T13:46:43.000Z
test/TileQueueTests.cpp
klada/online
3c1185aca331222fefcc7a55c8d30064e2ef0a58
[ "BSD-2-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <co...
36.824701
201
0.682408
[ "vector" ]
b7c225ad7efc3581b41f8689242dfb40eb1244ef
11,345
cpp
C++
src/wnd_manager.cpp
mikejzx/compasshub
f58bfd3c7e631464b61c3e333c7bcf34d47d28b1
[ "WTFPL" ]
null
null
null
src/wnd_manager.cpp
mikejzx/compasshub
f58bfd3c7e631464b61c3e333c7bcf34d47d28b1
[ "WTFPL" ]
null
null
null
src/wnd_manager.cpp
mikejzx/compasshub
f58bfd3c7e631464b61c3e333c7bcf34d47d28b1
[ "WTFPL" ]
null
null
null
/* * wnd_manager.cpp * The window manager. */ #include "pch.h" #include "anchor.h" #include "application.h" #include "datetime.h" #include "datetime_dmy.h" #include "net_client.h" #include "tt_day.h" #include "tt_period.h" #include "vec2.h" #include "window.h" #include "window_main.h" #include "window_second.h" #i...
22.554672
132
0.661877
[ "vector" ]
b7c4e07c0a9d88119e2b56321afb12a83bec7e05
3,409
hpp
C++
include/Engine3D.hpp
JeromeOrtali/PureBasic-Engine3D
bc584c6469a15cee4c2c7c1deb5dadfe91595eff
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-07-26T01:30:45.000Z
2020-07-26T01:30:45.000Z
include/Engine3D.hpp
JeromeOrtali/PureBasic-Engine3D
bc584c6469a15cee4c2c7c1deb5dadfe91595eff
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
include/Engine3D.hpp
JeromeOrtali/PureBasic-Engine3D
bc584c6469a15cee4c2c7c1deb5dadfe91595eff
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
/* PureBasic Engine3D licence * -------------------------- * * MIT License * * Copyright (c) 2017 Jerome Ortali * * 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,...
35.884211
132
0.751833
[ "geometry", "model" ]
b7cce7611a5210629ca83ef9f769d5ec01411114
612
cpp
C++
ch9/9.38.cpp
FWangTrading/Cpp-Primer-5th-Exercises
bce33ed38306485d503ff5117900ada9623bfbf4
[ "Apache-2.0" ]
545
2016-08-24T00:55:03.000Z
2022-03-29T22:59:24.000Z
ch9/9.38.cpp
FWangTrading/Cpp-Primer-5th-Exercises
bce33ed38306485d503ff5117900ada9623bfbf4
[ "Apache-2.0" ]
25
2017-06-05T18:45:56.000Z
2022-02-18T14:19:05.000Z
ch9/9.38.cpp
FWangTrading/Cpp-Primer-5th-Exercises
bce33ed38306485d503ff5117900ada9623bfbf4
[ "Apache-2.0" ]
260
2016-02-23T01:17:41.000Z
2022-03-26T08:35:54.000Z
#include <vector> #include <iostream> int main() { std::vector<int> vi; std::cout << "Size: " << vi.size() << "\tCapacity : " << vi.capacity() << std::endl; vi.push_back(1); std::cout << "Size: " << vi.size() << "\tCapacity : " << vi.capacity() << std::endl; for (std::vector<int>::s...
25.5
61
0.493464
[ "vector" ]
b7d0bb852836f32b5d2ebbc8af507b58108b6220
1,399
cpp
C++
aws-cpp-sdk-ssm/source/model/DescribePatchBaselinesResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-ssm/source/model/DescribePatchBaselinesResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-ssm/source/model/DescribePatchBaselinesResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ssm/model/DescribePatchBaselinesResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <a...
27.98
138
0.774839
[ "model" ]
b7d8531260c022b046f425123fddcfae22565f68
19,129
cpp
C++
prj/tests/main.cpp
KPO-2020-2021/zad3-kgliwinski
d306f659f535f60ad54faed961990dca2c06f1ff
[ "Unlicense" ]
null
null
null
prj/tests/main.cpp
KPO-2020-2021/zad3-kgliwinski
d306f659f535f60ad54faed961990dca2c06f1ff
[ "Unlicense" ]
null
null
null
prj/tests/main.cpp
KPO-2020-2021/zad3-kgliwinski
d306f659f535f60ad54faed961990dca2c06f1ff
[ "Unlicense" ]
null
null
null
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include"../tests/doctest/doctest.h" #include"../include/menu.hh" /*********************************************************/ /* FILE CONTAINS ALL TESTS FOR ALL CLASSES AND METHODS */ /*********************************************************/ /* Tests for vector class */...
23.941176
135
0.532072
[ "vector" ]
b7d9aadf3b667332f8d1949ccc8f9cb4cf54940a
853
cpp
C++
src/consumer.cpp
personalrobotics/chimera
089e8360da01c04777c904e3106d822aa49e00de
[ "BSD-3-Clause" ]
11
2017-05-05T14:01:21.000Z
2020-07-09T14:05:54.000Z
src/consumer.cpp
personalrobotics/chimera
089e8360da01c04777c904e3106d822aa49e00de
[ "BSD-3-Clause" ]
162
2017-03-11T04:32:32.000Z
2020-12-20T06:45:56.000Z
src/consumer.cpp
personalrobotics/chimera
089e8360da01c04777c904e3106d822aa49e00de
[ "BSD-3-Clause" ]
3
2019-01-13T18:38:21.000Z
2019-12-26T22:08:45.000Z
#include "chimera/consumer.h" #include "chimera/visitor.h" #include <iostream> using namespace clang; chimera::Consumer::Consumer(CompilerInstance *ci, const chimera::Configuration &config) : ci_(ci), config_(config) { // Do nothing. } void chimera::Consumer::HandleTranslationUnit(...
29.413793
74
0.716295
[ "render" ]
b7e77c2b6e392868e49b58916b8b3f3b45dfdf61
1,356
hh
C++
schemelib/scheme/nest/pmap/DiscreteChoiceMap.hh
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
25
2019-07-23T01:03:48.000Z
2022-03-31T04:16:08.000Z
schemelib/scheme/nest/pmap/DiscreteChoiceMap.hh
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
13
2018-01-30T17:45:57.000Z
2022-03-28T11:02:44.000Z
schemelib/scheme/nest/pmap/DiscreteChoiceMap.hh
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
14
2018-02-08T01:42:28.000Z
2022-03-31T12:56:17.000Z
#ifndef INCLUDED_scheme_nest_maps_DiscreteChoiceMap_HH #define INCLUDED_scheme_nest_maps_DiscreteChoiceMap_HH #include "scheme/util/template_loop.hh" #include <boost/bind.hpp> #include <boost/static_assert.hpp> #include <iostream> #include <vector> namespace scheme { namespace nest { namespace pmap { /// @brief Pa...
27.673469
109
0.735988
[ "vector" ]
b7e7fea7710cf3c3ff727aa37f77c62df59f7291
5,104
cpp
C++
CLRS/BinaryTree/SerializeandDeserializeBinaryTree.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
CLRS/BinaryTree/SerializeandDeserializeBinaryTree.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
CLRS/BinaryTree/SerializeandDeserializeBinaryTree.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
/* Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network connection link to be reconstructed later in the same or another computer environment. Design an algorithm to serialize and deserialize a...
26.583333
293
0.506074
[ "object", "vector" ]
b7ed1f520aa22e61b26863cea2a25139ccf4a1ba
567
cpp
C++
src/tabstractuser.cpp
KatsutoshiOtogawa/treefrog-framework
369d59d7daa358095f4701bac1a0b7974f51f5e3
[ "BSD-3-Clause" ]
942
2015-01-16T02:02:10.000Z
2022-03-31T02:11:50.000Z
src/tabstractuser.cpp
KatsutoshiOtogawa/treefrog-framework
369d59d7daa358095f4701bac1a0b7974f51f5e3
[ "BSD-3-Clause" ]
250
2015-04-26T23:46:48.000Z
2022-03-30T09:32:05.000Z
src/tabstractuser.cpp
KatsutoshiOtogawa/treefrog-framework
369d59d7daa358095f4701bac1a0b7974f51f5e3
[ "BSD-3-Clause" ]
244
2015-01-16T17:41:06.000Z
2022-02-11T09:34:42.000Z
#include "tabstractuser.h" /*! \class TAbstractUser \brief The TAbstractUser class is the abstract base class of users, providing functionality common to users. */ /*! \fn virtual TAbstractUser::~TAbstractUser() Destroys the user object. */ /*! \fn virtual QString TAbstractUser::identityKey() co...
18.290323
69
0.689594
[ "object" ]
b7f35d02cea42b6872a0e4f0b52f75d1d9b8d022
1,396
cpp
C++
benchmark/shader.cpp
dixlorenz/pure_simd
fdff69f197d8e26dcefcfc0eba12ee1db847238c
[ "BSD-3-Clause" ]
211
2020-05-11T05:09:18.000Z
2022-02-22T07:18:16.000Z
benchmark/shader.cpp
dixlorenz/pure_simd
fdff69f197d8e26dcefcfc0eba12ee1db847238c
[ "BSD-3-Clause" ]
5
2020-05-11T10:16:52.000Z
2021-10-09T06:22:08.000Z
benchmark/shader.cpp
dixlorenz/pure_simd
fdff69f197d8e26dcefcfc0eba12ee1db847238c
[ "BSD-3-Clause" ]
9
2020-05-11T08:54:21.000Z
2021-11-28T18:27:41.000Z
#include "benchmark/benchmark.h" #include "shader.hpp" void BM_shader_scalar_shader(benchmark::State& state) { std::vector<int> buffer(SCRWIDTH * SCRHEIGHT, 0); for (auto _ : state) { scalar_shader(2, buffer.data()); benchmark::ClobberMemory(); } } BENCHMARK(BM_shader_scalar_shader)->Unit...
32.465116
76
0.51361
[ "vector" ]
b7f4f457473b945da4ed46de3fa5e4974dc78432
22,993
cpp
C++
src/caffe/test/test_spatial_transformer_layer.cpp
po0ya/caffe-facemagnet
07947ff57ead52a4155c6e04885e06ce23bd23e4
[ "BSD-2-Clause" ]
null
null
null
src/caffe/test/test_spatial_transformer_layer.cpp
po0ya/caffe-facemagnet
07947ff57ead52a4155c6e04885e06ce23bd23e4
[ "BSD-2-Clause" ]
null
null
null
src/caffe/test/test_spatial_transformer_layer.cpp
po0ya/caffe-facemagnet
07947ff57ead52a4155c6e04885e06ce23bd23e4
[ "BSD-2-Clause" ]
null
null
null
#include <cmath> #include <cstring> #include <vector> #include <iostream> #include "gtest/gtest.h" #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/filler.hpp" #include "caffe/custom_layers.hpp" #include "caffe/test/test_caffe_main.hpp" #include "caffe/test/test_gradient_check_util.hpp" namespac...
47.213552
166
0.513852
[ "shape", "vector" ]
4d107659e2066ab5f20729e72181445894e6272a
1,938
hpp
C++
modules/wechat_qrcode/src/zxing/qrcode/detector/pattern_result.hpp
WeChatCV/opencv_contrib
273246d8572cf005c7648e60c6cef78240edfb3e
[ "Apache-2.0" ]
35
2021-01-07T11:58:58.000Z
2022-03-25T11:35:25.000Z
modules/wechat_qrcode/src/zxing/qrcode/detector/pattern_result.hpp
WeChatCV/opencv_contrib
273246d8572cf005c7648e60c6cef78240edfb3e
[ "Apache-2.0" ]
null
null
null
modules/wechat_qrcode/src/zxing/qrcode/detector/pattern_result.hpp
WeChatCV/opencv_contrib
273246d8572cf005c7648e60c6cef78240edfb3e
[ "Apache-2.0" ]
9
2020-12-14T09:13:30.000Z
2021-12-13T07:03:53.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Tencent is pleased to support the open source community by making WeChat QRCode available. // Copyright (C) 2020 THL A29...
37.269231
93
0.776058
[ "vector" ]
4d12e614146d01263a2f2d4726d22970a7c1822e
19,920
cpp
C++
kgl_genomics/kgl_evidence/kgl_variant_factory_vcf_evidence_data_blk.cpp
kellerberrin/OSM_Gene_Cpp
4ec4d1244f3f1b16213cf05f0056d8e5f85d68c4
[ "MIT" ]
1
2021-04-09T16:24:06.000Z
2021-04-09T16:24:06.000Z
kgl_genomics/kgl_evidence/kgl_variant_factory_vcf_evidence_data_blk.cpp
kellerberrin/KGL_Gene
f8e6c14b8b2009d82d692b28354561b5f0513c5e
[ "MIT" ]
null
null
null
kgl_genomics/kgl_evidence/kgl_variant_factory_vcf_evidence_data_blk.cpp
kellerberrin/KGL_Gene
f8e6c14b8b2009d82d692b28354561b5f0513c5e
[ "MIT" ]
null
null
null
// // Created by kellerberrin on 30/5/20. // #include "kgl_variant_factory_vcf_evidence_data_blk.h" #include "kgl_variant_factory_vcf_evidence.h" #include "kel_utility.h" #include <algorithm> namespace kgl = kellerberrin::genome; kgl::DataMemoryBlock::DataMemoryBlock( std::shared_ptr<const InfoEvidenceHeader> info...
33.2
162
0.648544
[ "vector" ]
4d194b58ad3160a365e1f81c00d45ff916ec195c
439
cpp
C++
examples/curry/new_adaptors/main.cpp
uselessgoddess/adaptors
400bc40dcd799ed5f52e732eda79643638a702da
[ "MIT" ]
null
null
null
examples/curry/new_adaptors/main.cpp
uselessgoddess/adaptors
400bc40dcd799ed5f52e732eda79643638a702da
[ "MIT" ]
null
null
null
examples/curry/new_adaptors/main.cpp
uselessgoddess/adaptors
400bc40dcd799ed5f52e732eda79643638a702da
[ "MIT" ]
null
null
null
#include <universal_adaptor.h> #include <universal_curry.h> #include <iostream> #include <ranges> #include "../../help_lib.h" int main() { constexpr auto filter = std::views::filter | curry::as_curry(); constexpr auto even = filter([](auto item) { return item % 2 == 0; }) | adaptors::as_adaptor(); auto ...
21.95
99
0.587699
[ "vector" ]
4d1d62b2853fdac8eb5ea991f72ced41549355cb
58,857
hpp
C++
include/tribalscript/instructions.hpp
Ragora/TribalScript
b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d
[ "MIT" ]
null
null
null
include/tribalscript/instructions.hpp
Ragora/TribalScript
b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d
[ "MIT" ]
1
2021-07-24T16:29:11.000Z
2021-07-26T20:00:17.000Z
include/tribalscript/instructions.hpp
Ragora/TribalScript
b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d
[ "MIT" ]
null
null
null
/** * Copyright 2021 Robert MacGregor * * 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,...
36.08645
330
0.483426
[ "object", "vector" ]
4d27372567b1df067e80a4dbe3d70fd7cdbb8442
101
cpp
C++
src/main.cpp
patilswapnilv/appjs
003a0d9615e34855460761139554218ba2c2942d
[ "MIT" ]
934
2015-01-02T03:29:12.000Z
2022-02-28T07:10:04.000Z
src/main.cpp
patilswapnilv/appjs
003a0d9615e34855460761139554218ba2c2942d
[ "MIT" ]
3
2016-04-24T17:10:21.000Z
2016-05-26T04:46:47.000Z
src/main.cpp
patilswapnilv/appjs
003a0d9615e34855460761139554218ba2c2942d
[ "MIT" ]
159
2015-01-04T15:20:49.000Z
2021-09-25T22:25:37.000Z
#include "appjs.h" extern "C" void init (v8::Handle<v8::Object> target) { appjs::Init (target); }
16.833333
54
0.643564
[ "object" ]
4d2b3ac22041b44dc81901b0e0a0598bebfc03c6
56,639
cpp
C++
B2G/gecko/js/src/ion/Ion.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/js/src/ion/Ion.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/js/src/ion/Ion.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=4 sw=4 et tw=99: * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #i...
30.665403
109
0.653543
[ "object", "shape", "vector" ]
4d31379ac3ceb5550bc9f2088a0b2702f145e342
1,498
cpp
C++
isAscOrder.cpp
TabithaRoemish/Practice
cb1253c894bcc6a7d8cdde94edb4378e61ce4fd0
[ "Unlicense" ]
2
2017-06-15T22:39:50.000Z
2020-01-20T22:03:49.000Z
isAscOrder.cpp
TabithaRoemish/Practice
cb1253c894bcc6a7d8cdde94edb4378e61ce4fd0
[ "Unlicense" ]
null
null
null
isAscOrder.cpp
TabithaRoemish/Practice
cb1253c894bcc6a7d8cdde94edb4378e61ce4fd0
[ "Unlicense" ]
null
null
null
//------------------------------------------------------- // is Ascending Order - Kata 7 // Instructions: create a bool method // that checks if a vector is in ascending order // Programmer: TR //------------------------------------------------------- #include<vector> #include<iostream> #include<string> bool isAscOr...
28.807692
74
0.551402
[ "vector" ]
2eb9e1ff244a72ebbd3432afee33e494f39fe3d3
1,001
cc
C++
third_party/blink/renderer/platform/geometry/layout_size_test.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/platform/geometry/layout_size_test.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/platform/geometry/layout_size_test.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 "third_party/blink/renderer/platform/geometry/layout_size.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer...
34.517241
76
0.709291
[ "geometry" ]
2eb9ebd2ee37df9c10b88a1bdb6d30fdf0dea245
434
cpp
C++
Tutorials/10DaysOfStatistics/Day0WeightedMean/day0_weighted_mean.cpp
suzyz/HackerRank
e97f76c4b39aa448e43e30b479d9718b8b88b2d2
[ "MIT" ]
null
null
null
Tutorials/10DaysOfStatistics/Day0WeightedMean/day0_weighted_mean.cpp
suzyz/HackerRank
e97f76c4b39aa448e43e30b479d9718b8b88b2d2
[ "MIT" ]
null
null
null
Tutorials/10DaysOfStatistics/Day0WeightedMean/day0_weighted_mean.cpp
suzyz/HackerRank
e97f76c4b39aa448e43e30b479d9718b8b88b2d2
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> #include <vector> #include <cstring> #include <climits> #include <algorithm> #include <iomanip> using namespace std; int n,d[60]; int main() { cin >> n; for (int i = 0; i < n; ++i) cin >> d[i]; double w,sum_w = 0, sum_d = 0; for (int i = 0; i < n; ++i) { cin >> w; sum...
15.5
67
0.569124
[ "vector" ]
2eba784f5f29c693de11f324e15a4e5adcf586e5
5,635
cpp
C++
src/containers/Grid3D.cpp
KieranCarden/godot-2.5D-isometric-map-editor
f5b3801b0efb0d6ba904c29a70bbe3b0a21d0473
[ "MIT" ]
36
2020-04-18T16:22:33.000Z
2022-01-15T13:17:38.000Z
src/containers/Grid3D.cpp
KieranCarden/godot-2.5D-isometric-map-editor
f5b3801b0efb0d6ba904c29a70bbe3b0a21d0473
[ "MIT" ]
15
2020-04-30T18:52:21.000Z
2020-11-26T11:07:46.000Z
src/containers/Grid3D.cpp
KieranCarden/godot-2.5D-isometric-map-editor
f5b3801b0efb0d6ba904c29a70bbe3b0a21d0473
[ "MIT" ]
6
2020-06-13T19:08:29.000Z
2021-06-21T09:31:51.000Z
#include <Grid3D.h> using namespace godot; void Grid3D::updateArraySize(const Vector3 &size, bool reset) { //Save old values int oldSize { internalArray.size() }; Array oldArray { internalArray }; int oldWidth { width }; int oldDepth { depth }; //Set new values width = static_cast<int>(si...
28.604061
141
0.597693
[ "object" ]
2ebec7539cf340a2a79224646ac86bf5daae61a0
1,494
hh
C++
StateObject/AudioPowerSpectrumState/audiopowerspectrumstate.hh
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
StateObject/AudioPowerSpectrumState/audiopowerspectrumstate.hh
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
StateObject/AudioPowerSpectrumState/audiopowerspectrumstate.hh
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../stateobject.hh" #include <vector> #include <cmath> namespace bold { class AudioPowerSpectrumState : public StateObject { public: AudioPowerSpectrumState(double maxFrequency, std::vector<float> dbs); void writeJson(rapidjson::Writer<rapidjson::StringBuffer>& writer) const over...
27.163636
122
0.671352
[ "vector" ]
2ebf63f34627259dee4d5f2a3da5c19364cdbd72
9,868
cpp
C++
tests/test_intersection.cpp
hiteshbedre/movetk
8d261f19538e28ff36cac98a89ef067f8c26f978
[ "Apache-2.0" ]
53
2020-09-09T19:52:17.000Z
2022-02-05T10:04:24.000Z
tests/test_intersection.cpp
bacusters/movetk
acbc9c5acb69dd3eb23aa7d2156ede02ed468eae
[ "Apache-2.0" ]
44
2020-09-11T17:40:30.000Z
2021-04-08T23:56:19.000Z
tests/test_intersection.cpp
aniketmitra001/movetk
cdf0c98121da6df4cadbd715fba02b05be724218
[ "Apache-2.0" ]
8
2021-02-05T21:40:07.000Z
2021-09-11T02:27:00.000Z
/* * Copyright (C) 2018-2020 HERE Europe B.V. * * 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...
48.372549
120
0.721625
[ "geometry", "vector" ]
2ec102a7ab424c2cb450a5701385bc277265f6f1
361
cpp
C++
archives/problemset/codeforces.com/137B.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
6
2019-03-23T21:06:25.000Z
2021-06-27T05:22:41.000Z
archives/problemset/codeforces.com/137B.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
1
2020-10-11T08:14:00.000Z
2020-10-11T08:14:00.000Z
archives/problemset/codeforces.com/137B.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
3
2019-03-23T21:06:31.000Z
2021-10-24T01:44:01.000Z
#include <string> #include <iostream> #include <vector> using namespace std; int main() { int n; cin>>n; vector<bool> get(n,false); int answer=0; for (int i=0;i<n;i++) { int ai; cin>>ai; if (get[ai]||ai>n) answer++; else get[ai]=true; } ...
15.695652
37
0.479224
[ "vector" ]
2ec1231e709918f5920cc6fdeaebf2c136d05753
627
cpp
C++
Unrest-iOS/MusicArea.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
11
2020-08-04T08:37:46.000Z
2022-03-31T22:35:15.000Z
CRAB/MusicArea.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
1
2020-12-16T16:51:52.000Z
2020-12-18T06:35:38.000Z
Unrest-iOS/MusicArea.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
7
2020-08-04T09:34:20.000Z
2021-09-11T03:00:16.000Z
#include "stdafx.h" #include "MusicArea.h" using namespace pyrodactyl::level; void MusicArea::Load(rapidxml::xml_node<char> *node, const bool &echo) { Shape::Load(node, echo); if (NodeValid("properties", node, echo)) { auto pnode = node->first_node("properties"); for (auto n = pnode->first_node("property"); n...
26.125
90
0.61882
[ "shape" ]
2ec31d5924c2ff8b7fd0a81761ce143216008a46
1,735
hpp
C++
include/oglplus/buffer_data.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
364
2015-01-01T09:38:23.000Z
2022-03-22T05:32:00.000Z
include/oglplus/buffer_data.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
55
2015-01-06T16:42:55.000Z
2020-07-09T04:21:41.000Z
include/oglplus/buffer_data.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
57
2015-01-07T18:35:49.000Z
2022-03-22T05:32:04.000Z
/** * @file oglplus/buffer_data.hpp * @brief Object wrapping data to be stored in a Buffer * * @author Matus Chochlik * * Copyright 2010-2019 Matus Chochlik. 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.tx...
23.133333
80
0.641499
[ "object", "vector" ]
2ec484c3d964be165d36875e00513511b53d1b13
926
cpp
C++
utils/MiscUtility.cpp
KrokusPokus/krkrz
d5eff37e0335e4756caf0061589893370766f814
[ "BSD-3-Clause" ]
572
2015-01-02T12:47:44.000Z
2022-03-28T06:06:02.000Z
utils/MiscUtility.cpp
KrokusPokus/krkrz
d5eff37e0335e4756caf0061589893370766f814
[ "BSD-3-Clause" ]
108
2015-02-24T03:06:03.000Z
2022-01-23T07:28:58.000Z
utils/MiscUtility.cpp
KrokusPokus/krkrz
d5eff37e0335e4756caf0061589893370766f814
[ "BSD-3-Clause" ]
136
2015-01-24T01:29:46.000Z
2022-03-16T17:03:43.000Z
#include "tjsCommHead.h" #include "CharacterSet.h" #ifdef _WIN32 #include <mmsystem.h> #endif //--------------------------------------------------------------------------- // TVPGetRoughTickCount // 32bit値のtickカウントを得る //--------------------------------------------------------------------------- tjs_uint32 ...
27.235294
78
0.50108
[ "vector" ]
2ec53df73fa88f752de4243c1b34e3116659f08a
1,133
hpp
C++
geometry/monotonic-dp-hull.hpp
dutinmeow/library
3501f36656795f432ac816941ec7e9548dc3d6ef
[ "MIT" ]
7
2022-01-23T07:58:19.000Z
2022-02-25T04:11:12.000Z
geometry/monotonic-dp-hull.hpp
dutinmeow/library
3501f36656795f432ac816941ec7e9548dc3d6ef
[ "MIT" ]
null
null
null
geometry/monotonic-dp-hull.hpp
dutinmeow/library
3501f36656795f432ac816941ec7e9548dc3d6ef
[ "MIT" ]
null
null
null
#include "geometry/point.hpp" #pragma region monotonic_dp_hull #ifndef MONOTONIC_DP_HULL_HPP #define MONOTONIC_DP_HULL_HPP struct monotonic_dp_hull { long long prev_x = LLONG_MIN, prev_y = 1; deque<geo::point<long long>> points; void add(const geo::point<long long> &p) { assert(points.empty() || p.x >= points...
26.97619
91
0.616946
[ "geometry" ]
2ec72fe692333b048a38637b13bac0f79744f521
2,192
cpp
C++
cpp/G3M/XPCIntensityPointColorizer.cpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
70
2015-02-06T14:39:14.000Z
2022-01-07T08:32:48.000Z
cpp/G3M/XPCIntensityPointColorizer.cpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
118
2015-01-21T10:18:00.000Z
2018-10-16T15:00:57.000Z
cpp/G3M/XPCIntensityPointColorizer.cpp
glob3mobile/g3m
2b2c6422f05d13e0855b1dbe4e0afed241184193
[ "BSD-2-Clause" ]
41
2015-01-10T22:29:27.000Z
2021-06-08T11:56:16.000Z
// // XPCIntensityPointColorizer.cpp // G3MiOSSDK // // Created by Diego Gomez-Deck on 1/21/21. // #include "XPCIntensityPointColorizer.hpp" #include "ILogger.hpp" #include "XPCMetadata.hpp" #include "XPCDimension.hpp" #include "IFactory.hpp" #include "IIntBuffer.hpp" #include "MutableColor.hpp" #include "Color.h...
27.4
127
0.680657
[ "vector" ]
2ec996b4eaaf6b4e84cfbd2da332e343ce644889
2,510
cc
C++
iot/src/model/CreateStudioAppDomainOpenResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
iot/src/model/CreateStudioAppDomainOpenResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
iot/src/model/CreateStudioAppDomainOpenResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "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...
29.186047
94
0.740239
[ "model" ]