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
1284637108f206c6d796e6325130ee08f4e1caa7
1,183
cpp
C++
1 - Modules/simple_main.cpp
junyoungKimGit/Cpp20Study
9a45da48fa9e51029971bfb1af770b4cdf57a16c
[ "MIT" ]
null
null
null
1 - Modules/simple_main.cpp
junyoungKimGit/Cpp20Study
9a45da48fa9e51029971bfb1af770b4cdf57a16c
[ "MIT" ]
null
null
null
1 - Modules/simple_main.cpp
junyoungKimGit/Cpp20Study
9a45da48fa9e51029971bfb1af770b4cdf57a16c
[ "MIT" ]
null
null
null
// Run with in clang++ /* clang++ -std=c++2a -fmodules-ts --precompile simple_math.cppm -o simple_math.pcm clang++ -std=c++2a -fmodules-ts -c simple_math.pcm -o simple_math.pcm.o clang++ -std=c++2a -fmodules-ts -c simple_math.cpp -fmodule-file=simple_math.pcm -o simple_math.o clang++ -std=c++2a -fmodules-ts -c simple_m...
39.433333
150
0.723584
[ "vector" ]
128557e114fd3febc1d0817c1139713e46f14853
9,329
cpp
C++
src/prod/src/Store/TSUnitTestStore.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Store/TSUnitTestStore.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Store/TSUnitTestStore.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
28.355623
148
0.709615
[ "vector" ]
1286e8b523f525032bb262597e4bc4e222f4059d
59,793
cxx
C++
StRoot/StMcEventMaker/StMcEventMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StMcEventMaker/StMcEventMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StMcEventMaker/StMcEventMaker.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/*! * \class StMcEventMaker * \brief Filling of all StMcEvent classes from g2t tables * Transform all the data in the g2t tables into the corresponding * StMc classes, and create the pointers to navigate * from event to hits/tracks/vertices. * \author Manuel Calderon de la Barca Sanchez * \date July 1999 * ...
36.459146
188
0.657903
[ "geometry", "vector", "transform" ]
129035fd82e11b08a5f947d25133f0e9673c11fe
60,303
cxx
C++
lib/seldon/matrix_sparse/complex/Matrix_ArrayComplexSparseInline.cxx
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
7
2021-01-31T23:20:07.000Z
2021-09-09T20:54:15.000Z
lib/seldon/matrix_sparse/complex/Matrix_ArrayComplexSparseInline.cxx
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
1
2021-06-07T07:52:38.000Z
2021-08-13T20:40:55.000Z
lib/seldon/matrix_sparse/complex/Matrix_ArrayComplexSparseInline.cxx
HongyuHe/lsolver
c791bf192308ba6b564cb60cb3991d2e72093cd7
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2003-2011 Marc Duruflé // Copyright (C) 2001-2011 Vivien Mallet // // This file is part of the linear-algebra library Seldon, // http://seldon.sourceforge.net/. // // Seldon is free software; you can redistribute it and/or modify it under the // terms of the GNU Lesser General Public License as publish...
27.649243
88
0.659636
[ "vector" ]
12992bdf5a0e4085597bad6b369377917a260527
7,817
cpp
C++
Server/src/Server.cpp
PizzaRules668/chat
902f807e9856285843d0c71185b263148c6d8f58
[ "MIT" ]
1
2020-10-03T14:06:14.000Z
2020-10-03T14:06:14.000Z
Server/src/Server.cpp
PizzaRules668/chat
902f807e9856285843d0c71185b263148c6d8f58
[ "MIT" ]
4
2020-08-12T15:21:20.000Z
2020-10-28T21:33:12.000Z
Server/src/Server.cpp
PizzaRules668/chat
902f807e9856285843d0c71185b263148c6d8f58
[ "MIT" ]
null
null
null
#include <iostream> #include <WS2tcpip.h> #include <string> #include <sstream> #include <fstream> #include <stdlib.h> #include <vector> #include <variant> #include <WinSock2.h> #include "Message.cpp" #include "Command.h" #pragma comment (lib, "ws2_32.lib") std::vector<std::string> splitAt(std::string content, char ...
21.835196
109
0.627606
[ "vector" ]
12a2f42aa49023edca6ce9642690b61b40b4784c
786
cpp
C++
Codeforces/EquidistantStrings.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
Codeforces/EquidistantStrings.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
Codeforces/EquidistantStrings.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #define DEB(x) cerr << "#" << (#x) << ": " << (x) << endl #define F first #define S second using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef pair<int, ii> iii; typedef vector<int> vi; typedef vector<ii> vii; const static int MAXN = 100010; int main(){ i...
19.65
57
0.494911
[ "vector" ]
12a4e7ab4dba14f81d5386f4d47d6cb7e21bf1df
10,746
cpp
C++
src/StreamSurface/main.cpp
myousefi2016/Vector-field-visualization-using-cuda
b28d91b275f6888e15a6a0ef42a005dfc86704fb
[ "Unlicense" ]
3
2017-06-16T17:01:48.000Z
2021-01-09T03:15:03.000Z
src/StreamSurface/main.cpp
myousefi2016/Vector-field-visualization-using-cuda
b28d91b275f6888e15a6a0ef42a005dfc86704fb
[ "Unlicense" ]
null
null
null
src/StreamSurface/main.cpp
myousefi2016/Vector-field-visualization-using-cuda
b28d91b275f6888e15a6a0ef42a005dfc86704fb
[ "Unlicense" ]
null
null
null
#include "stdafx.h" #include "CudaHelper.h" #include "Utils.h" #include "VectorField.h" #include "Activity.h" #include "VectorFieldInfo.h" #include "SteamlinesLineActivity.h" #include "GlyphsActivity.h" namespace mf { // UI window stuff int screenWidth = 1024; int screenHeight = 768; bool wireframe = false; b...
27
166
0.680718
[ "vector" ]
12a6cfcc3e4a810d19b5023cf97a6d739d50fb1f
6,752
cc
C++
paddle/infrt/dialect/phi/pass/kernel_op_desc.cc
Li-fAngyU/Paddle
e548f65f96697830035a28f9070b40829408ccdb
[ "Apache-2.0" ]
null
null
null
paddle/infrt/dialect/phi/pass/kernel_op_desc.cc
Li-fAngyU/Paddle
e548f65f96697830035a28f9070b40829408ccdb
[ "Apache-2.0" ]
null
null
null
paddle/infrt/dialect/phi/pass/kernel_op_desc.cc
Li-fAngyU/Paddle
e548f65f96697830035a28f9070b40829408ccdb
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
30.690909
76
0.695794
[ "vector" ]
12acb34574a1624f2c352bf7362e9d062e544358
714
cpp
C++
deviceManagerUI/windows/deviceManagerUI/FileActivationEvent.cpp
yoavwinstein/device-manager
662a895ebb3fe1bf930b7d7a29289c2502384d36
[ "MIT" ]
3
2020-09-19T07:33:55.000Z
2020-09-21T05:03:31.000Z
deviceManagerUI/windows/deviceManagerUI/FileActivationEvent.cpp
yoavwinstein/device-manager
662a895ebb3fe1bf930b7d7a29289c2502384d36
[ "MIT" ]
null
null
null
deviceManagerUI/windows/deviceManagerUI/FileActivationEvent.cpp
yoavwinstein/device-manager
662a895ebb3fe1bf930b7d7a29289c2502384d36
[ "MIT" ]
null
null
null
#include "pch.h" #include "FileActivationEvent.h" #include <vector> static std::function<void(winrt::Microsoft::ReactNative::JSValue&)> s_fileActivationEvents; static std::vector<winrt::Microsoft::ReactNative::JSValue> s_pendingValues; void registerForFileActivationEvents(std::function<void (winrt::Microsoft::ReactNa...
29.75
108
0.777311
[ "vector" ]
12ad84014b6107c950ebe807684c3e13d22c2342
3,436
cc
C++
src/main.cc
AriDine/ZebX
f4994004314f2f62bf0037984ff6e4809216bdd5
[ "MIT" ]
3
2017-09-09T19:10:48.000Z
2018-10-14T17:20:05.000Z
src/main.cc
AriDine/ZebX
f4994004314f2f62bf0037984ff6e4809216bdd5
[ "MIT" ]
30
2017-06-19T19:18:58.000Z
2019-02-21T04:57:17.000Z
src/main.cc
AriDine/ZebX
f4994004314f2f62bf0037984ff6e4809216bdd5
[ "MIT" ]
3
2017-07-05T21:48:15.000Z
2018-09-17T03:43:39.000Z
// TODO - Documentation // #define PRINT_SIZES #if defined(PRINT_SIZES) # include "Screen.hh" # include "Slit.hh" # include "Toolbar.hh" # include "Window.hh" #endif #include "blackbox.hh" #include "../version.h" #include <stdio.h> static void showHelp(int exitval) { // print version - this should not be l...
26.229008
76
0.566938
[ "shape" ]
12ae6a3d8bd31917b66547a0d10358972017747e
3,469
cpp
C++
src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/src/pdf/linearanalyticconditionalgaussian.cpp
alexoterno/turtlebot2_with_head
ac714f77379dd0f47ddb76d83896fdabee269a03
[ "MIT" ]
null
null
null
src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/src/pdf/linearanalyticconditionalgaussian.cpp
alexoterno/turtlebot2_with_head
ac714f77379dd0f47ddb76d83896fdabee269a03
[ "MIT" ]
null
null
null
src/turtlebot2_src/src/orocos-bayesian-filtering/orocos_bfl/src/pdf/linearanalyticconditionalgaussian.cpp
alexoterno/turtlebot2_with_head
ac714f77379dd0f47ddb76d83896fdabee269a03
[ "MIT" ]
null
null
null
// $Id$ // Copyright (C) 2003 Klaas Gadeyne <first dot last at gmail dot com> // Copyright (C) 2008 Tinne De Laet <first dot last at mech dot kuleuven dot be> // // This program 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 ...
31.536364
101
0.720957
[ "vector" ]
12b51f50f6b9f6200a110d0baa9e0336080e20c5
4,361
cpp
C++
tools/hello-opencl.cpp
pospx/external_skia
7a135275c9fc2a4b3cbdcf9a96e7102724752234
[ "BSD-3-Clause" ]
54
2016-04-05T17:45:19.000Z
2022-01-31T06:27:33.000Z
tools/hello-opencl.cpp
pospx/external_skia
7a135275c9fc2a4b3cbdcf9a96e7102724752234
[ "BSD-3-Clause" ]
25
2016-03-18T04:01:06.000Z
2020-06-27T15:39:35.000Z
tools/hello-opencl.cpp
pospx/external_skia
7a135275c9fc2a4b3cbdcf9a96e7102724752234
[ "BSD-3-Clause" ]
57
2016-12-29T02:00:25.000Z
2021-11-16T01:22:50.000Z
/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ // This is a simple OpenCL Hello World that tests you have a functioning OpenCL setup. #include "cl.hpp" #include <initializer_list> #include <stdio.h> #include <stdlib.h> #i...
36.957627
99
0.503096
[ "vector" ]
12b84149f441d985defbc231b3d56a01fa43dcd7
1,807
hh
C++
extern/polymesh/src/polymesh/algorithms/sampling.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/polymesh/src/polymesh/algorithms/sampling.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/polymesh/src/polymesh/algorithms/sampling.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <random> #include <vector> #include <polymesh/Mesh.hh> #include <polymesh/assert.hh> #include <polymesh/properties.hh> namespace polymesh { template <class Pos3> void add_uniform_samples(std::vector<Pos3>& output, vertex_attribute<Pos3> const& pos, int count, size_t seed =...
24.418919
123
0.584394
[ "mesh", "vector" ]
12b91e5be20d146a9e65bbcd3b3840121c5a7a7b
24,962
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/net/CNetworkStatsFactory.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/net/CNetworkStatsFactory.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/net/CNetworkStatsFactory.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
33.238349
104
0.569546
[ "object", "vector" ]
12bb70fd020766416e409c3501af024ab57bcd73
33,691
cpp
C++
Engine/Source/Runtime/AudioMixer/Private/AudioMixerSource.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/AudioMixer/Private/AudioMixerSource.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/AudioMixer/Private/AudioMixerSource.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "AudioMixerSource.h" #include "AudioMixerDevice.h" #include "AudioMixerSourceVoice.h" #include "ActiveSound.h" #include "IAudioExtensionPlugin.h" #include "Sound/AudioSettings.h" #include "ContentStreaming.h" static int32 DisableHRTFCvar = 0; FAuto...
29.579456
195
0.720875
[ "render", "3d" ]
12bba3b21a98bfcc68c37bd25a6433240a5946f1
6,400
hpp
C++
include/clique/core/environment/impl.hpp
poulson/Clique
94ceac620447b3a1b46ff9da707d0749f99f63b1
[ "BSD-3-Clause" ]
9
2015-01-13T01:36:23.000Z
2020-11-11T14:54:46.000Z
include/clique/core/environment/impl.hpp
Acidburn0zzz/Clique
94ceac620447b3a1b46ff9da707d0749f99f63b1
[ "BSD-3-Clause" ]
null
null
null
include/clique/core/environment/impl.hpp
Acidburn0zzz/Clique
94ceac620447b3a1b46ff9da707d0749f99f63b1
[ "BSD-3-Clause" ]
2
2017-05-04T21:45:09.000Z
2018-04-03T03:18:30.000Z
/* Copyright (c) 2009-2014, Jack Poulson, Lexing Ying, The University of Texas at Austin, Stanford University, and the Georgia Insitute of Technology. All rights reserved. This file is part of Clique and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory...
27.350427
79
0.615469
[ "vector" ]
520fab7417f1e3edad8f8897d3da9244eb71a070
3,880
cpp
C++
src/PixTone.cpp
haya3218/cse2-tweaks
48bccbd58240942ed5f5b288a90ef092820698c0
[ "MIT" ]
12
2020-12-14T19:10:55.000Z
2022-03-16T12:45:56.000Z
src/PixTone.cpp
haya3218/cse2-tweaks
48bccbd58240942ed5f5b288a90ef092820698c0
[ "MIT" ]
null
null
null
src/PixTone.cpp
haya3218/cse2-tweaks
48bccbd58240942ed5f5b288a90ef092820698c0
[ "MIT" ]
6
2020-12-13T03:05:24.000Z
2021-11-23T14:16:49.000Z
// THIS IS DECOMPILED PROPRIETARY CODE - USE AT YOUR OWN RISK. // // The original code belongs to Daisuke "Pixel" Amaya. // // Modifications and custom code are under the MIT licence. // See LICENCE.txt for details. #include "PixTone.h" #include <math.h> #include <string.h> #include "WindowsWrapper.h" #include "Att...
21.920904
119
0.599742
[ "model" ]
52130115e93ad5e0d286cdd5b388f42e9004d112
1,340
cpp
C++
dep/myvk/PipelineLayout.cpp
lilesper/SparseVoxelOctree
9c4c79ab746758d21070bb733dafe4f78438e4b5
[ "MIT" ]
338
2019-08-02T03:57:05.000Z
2022-03-29T20:49:21.000Z
dep/myvk/PipelineLayout.cpp
lilesper/SparseVoxelOctree
9c4c79ab746758d21070bb733dafe4f78438e4b5
[ "MIT" ]
12
2020-01-10T09:03:22.000Z
2022-03-25T02:03:23.000Z
dep/myvk/PipelineLayout.cpp
lilesper/SparseVoxelOctree
9c4c79ab746758d21070bb733dafe4f78438e4b5
[ "MIT" ]
36
2019-08-08T11:15:23.000Z
2022-02-26T00:31:13.000Z
#include "PipelineLayout.hpp" namespace myvk { std::shared_ptr<PipelineLayout> PipelineLayout::Create(const std::shared_ptr<Device> &device, const std::vector<std::shared_ptr<DescriptorSetLayout>> &descriptor_layouts, const std::vector<VkPushConstantRange> &push_constant_...
37.222222
104
0.764179
[ "vector" ]
521bedf12ed10058d29d7e8bc7151932d5ca53c7
1,385
hh
C++
octo/Value.hh
KevinTheBarbarian/octo
98047dbe7fd7ba5bf6a5f6c1b1a5a8d03fdf8f5f
[ "MIT" ]
null
null
null
octo/Value.hh
KevinTheBarbarian/octo
98047dbe7fd7ba5bf6a5f6c1b1a5a8d03fdf8f5f
[ "MIT" ]
null
null
null
octo/Value.hh
KevinTheBarbarian/octo
98047dbe7fd7ba5bf6a5f6c1b1a5a8d03fdf8f5f
[ "MIT" ]
null
null
null
// This is a generic value object that represents a choice between each concrete type. Evaluation // (execution) of the expression represented here is implemented as a lisp-like idiom, although the // language source code isn't visually structured that way. #ifndef __VALUE_HH__ #define __VALUE_HH__ #include "common.h...
22.33871
99
0.648375
[ "object" ]
52312180817a0c916e0d67053fd3a7f32b179d8e
2,308
cc
C++
components/service/ucloud/cloudapi/src/model/SetDomainRequest.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
components/service/ucloud/cloudapi/src/model/SetDomainRequest.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
components/service/ucloud/cloudapi/src/model/SetDomainRequest.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
24.041667
75
0.743068
[ "model" ]
523616492438e0604e0cdf6de5cca2be6be23631
27,322
cpp
C++
src/binaryServer/HaSubscription.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
src/binaryServer/HaSubscription.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
src/binaryServer/HaSubscription.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
#include "HaSubscription.h" #include "HaSubscriptionException.h" #include "NodeAttributes.h" #include <common/Mutex.h> #include <common/MutexLock.h> #include <common/ScopeGuard.h> #include <common/VectorScopeGuard.h> #include <common/logging/Logger.h> #include <common/logging/LoggerFactory.h> #include <statuscode.h> //...
48.615658
135
0.621733
[ "object", "vector" ]
5240062999a7ae8426c55dfc69e0506e3539f11b
10,451
cpp
C++
SampleGraphics/MorphFaces/MorphFaces.cpp
bazhenovc/WildMagic
b1a7cc2140dde23d8d9a4ece52a07bd5ff938239
[ "BSL-1.0" ]
48
2015-10-07T07:26:14.000Z
2022-03-18T14:30:07.000Z
SampleGraphics/MorphFaces/MorphFaces.cpp
zouxiaohang/WildMagic
b1a7cc2140dde23d8d9a4ece52a07bd5ff938239
[ "BSL-1.0" ]
null
null
null
SampleGraphics/MorphFaces/MorphFaces.cpp
zouxiaohang/WildMagic
b1a7cc2140dde23d8d9a4ece52a07bd5ff938239
[ "BSL-1.0" ]
21
2015-09-01T03:14:47.000Z
2022-01-04T04:07:46.000Z
// Geometric Tools, LLC // Copyright (c) 1998-2012 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.1.0 (2010/04/14) #include "MorphFaces.h" WM5_WINDOW_APPLICATION(MorphF...
30.648094
81
0.603004
[ "mesh" ]
524644f06a2332a7d90ec5d8bf218ea65b2ab613
2,477
cpp
C++
src/Calculator/AboutFlyout.xaml.cpp
Shubhiey/calculator
fab21191e2112c9117eab90d4e83afdad9f1364c
[ "MIT" ]
1
2019-03-31T07:46:14.000Z
2019-03-31T07:46:14.000Z
src/Calculator/AboutFlyout.xaml.cpp
Shubhiey/calculator
fab21191e2112c9117eab90d4e83afdad9f1364c
[ "MIT" ]
3
2019-03-20T07:53:07.000Z
2019-04-18T07:08:00.000Z
src/Calculator/AboutFlyout.xaml.cpp
Shubhiey/calculator
fab21191e2112c9117eab90d4e83afdad9f1364c
[ "MIT" ]
1
2019-03-26T21:51:26.000Z
2019-03-26T21:51:26.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "AboutFlyout.xaml.h" #include "CalcViewModel/Common/AppResourceProvider.h" #include "CalcViewModel/Common/LocalizationService.h" #include "CalcViewModel/Common/LocalizationStringUtil.h" #include "C...
35.898551
167
0.758175
[ "object" ]
524cecfe97a0e4be831ed0361afaa859363b6232
16,297
cpp
C++
caffe_net.cpp
dev-bz/DeepMimic4Droid
413d7aeeb65aa762de5f5ab41e6228727f227c65
[ "MIT" ]
6
2018-12-29T01:02:02.000Z
2021-05-10T17:58:08.000Z
caffe_net.cpp
dev-bz/DeepMimic4Droid
413d7aeeb65aa762de5f5ab41e6228727f227c65
[ "MIT" ]
1
2018-12-29T01:00:09.000Z
2020-02-22T09:55:57.000Z
caffe_net.cpp
dev-bz/DeepMimic4Droid
413d7aeeb65aa762de5f5ab41e6228727f227c65
[ "MIT" ]
null
null
null
#ifdef USE_CAFFE #include "caffe_net.hpp" #include <caffe/caffe.hpp> #include <caffe/net.hpp> #include <caffe/sgd_solvers.hpp> /*std::shared_ptr<caffe::Net<float>> local; std::shared_ptr<caffe::Net<float>> tlocal; std::shared_ptr<caffe::Solver<float>> slocal;*/ void flip(caffe::Net<float> *local) { auto &layer = loc...
32.923232
105
0.544517
[ "shape", "vector" ]
525e3ed363e69cacc5f76e3639d7e19d98206748
810
cpp
C++
components/ewh/ewh_utils.cpp
dentra/esphome-ewh
001e9c1e96311e0f8d922cd7892c2b5de4650121
[ "MIT" ]
3
2021-12-18T20:05:50.000Z
2022-02-13T14:57:02.000Z
components/ewh/ewh_utils.cpp
dentra/esphome-ewh
001e9c1e96311e0f8d922cd7892c2b5de4650121
[ "MIT" ]
null
null
null
components/ewh/ewh_utils.cpp
dentra/esphome-ewh
001e9c1e96311e0f8d922cd7892c2b5de4650121
[ "MIT" ]
null
null
null
// #include <cstdlib> #include "ewh_utils.h" namespace esphome { namespace ewh { static int char2int(char ch) { if (ch >= '0' && ch <= '9') { return ch - '0'; } if (ch >= 'A' && ch <= 'F') { return ch - 'A' + 0xA; } if (ch >= 'a' && ch <= 'f') { return ch - 'a' + 0xA; } return -1; } // con...
21.315789
84
0.518519
[ "vector" ]
525f8468cf3387a3bf6a4c1ea8e1e38ea3d17f40
394
cpp
C++
0001-Two-Sum/Solutions/cpp/Solution01.cpp
liu-zhenhua-hua/Play-Leetcode
4572e1ab42fd2588e77f67eec34ac2da04cfbf13
[ "MIT" ]
null
null
null
0001-Two-Sum/Solutions/cpp/Solution01.cpp
liu-zhenhua-hua/Play-Leetcode
4572e1ab42fd2588e77f67eec34ac2da04cfbf13
[ "MIT" ]
null
null
null
0001-Two-Sum/Solutions/cpp/Solution01.cpp
liu-zhenhua-hua/Play-Leetcode
4572e1ab42fd2588e77f67eec34ac2da04cfbf13
[ "MIT" ]
null
null
null
/* * @Author: Tony Liu * @Date: 2020-02-16 22:40:01 * @Modified by: Tony Liu * @Last Modified time: 2020-02-16 22:50:33 */ #include<vector> using namespace std; class Solution{ public: vector<int> twoSum(vector<int>& nums, int target){ for(int i=0; i< nums.size(); i++){ for(int j= i+1;i<nums.size();j++) ...
18.761905
51
0.591371
[ "vector" ]
526163d92db47b225d7bc86c6e945bee12a89117
47,830
hpp
C++
src/bitlib2.hpp
tbknl/bitlib2
9a957db620a808efd1acb9fb54b3a79a4c1524d6
[ "MIT" ]
null
null
null
src/bitlib2.hpp
tbknl/bitlib2
9a957db620a808efd1acb9fb54b3a79a4c1524d6
[ "MIT" ]
null
null
null
src/bitlib2.hpp
tbknl/bitlib2
9a957db620a808efd1acb9fb54b3a79a4c1524d6
[ "MIT" ]
null
null
null
#ifndef _BITLIB2_HPP_ #define _BITLIB2_HPP_ #include <vector> #include <cstring> #include <memory> namespace bitlib2 { typedef unsigned char byte; namespace util { /** * Lookup table for bit-counts of all 8-bit unsigned integers. */ static const char countLUT[] = { ...
35.42963
148
0.45691
[ "vector" ]
52629e4403a26546838dfb45155be2b673379085
5,775
cpp
C++
src/test/misc.cpp
AnotherFoxGuy/settings
cc2fb43ad515e8ff7349e2eb4ddeb3fb96337b1a
[ "MIT" ]
3
2017-09-05T12:25:52.000Z
2021-06-20T12:50:22.000Z
src/test/misc.cpp
AnotherFoxGuy/settings
cc2fb43ad515e8ff7349e2eb4ddeb3fb96337b1a
[ "MIT" ]
9
2017-04-07T19:03:58.000Z
2020-08-15T14:02:29.000Z
lib/settings/src/test/misc.cpp
Functioneel/chatterino7
81a52498b6850626223f96fa81c3e847c23ee25d
[ "MIT" ]
3
2018-05-27T22:07:09.000Z
2021-02-12T12:44:46.000Z
// UNSORTED TESTS #include "test/channel.hpp" #include "test/channelmanager.hpp" #include "test/common.hpp" #include "test/foo.hpp" #include <pajlada/serialize.hpp> #include <pajlada/settings/setting.hpp> #include <pajlada/settings/settingdata.hpp> #include <pajlada/settings/settingmanager.hpp> #include <cassert> #i...
27.112676
79
0.631688
[ "vector" ]
5264f6c43bfdd1ff18d82a2e9835255da8ced533
1,041
hpp
C++
sqlite3_addon/CommandExecuteQuery.hpp
MariaMoskalenko/sqlite3_addon
8e908ca00e2ed6f8608acf85d3461672988a26dc
[ "MIT" ]
null
null
null
sqlite3_addon/CommandExecuteQuery.hpp
MariaMoskalenko/sqlite3_addon
8e908ca00e2ed6f8608acf85d3461672988a26dc
[ "MIT" ]
null
null
null
sqlite3_addon/CommandExecuteQuery.hpp
MariaMoskalenko/sqlite3_addon
8e908ca00e2ed6f8608acf85d3461672988a26dc
[ "MIT" ]
null
null
null
#ifndef COMMANDEXECUTEQUERY_H #define COMMANDEXECUTEQUERY_H #pragma once #include <memory> #include <vector> #include <functional> #include "ICommand.hpp" #include "CSqlite3Wrapper.hpp" class CommandQueue; using std::string; using std::function; using std::shared_ptr; class CommandExecuteQuery : public ICommand { p...
20.411765
101
0.754083
[ "vector" ]
52654fcc800893829e80b1ce8c5d834c7ec8cd08
24,528
hpp
C++
geomag.hpp
nhz2/geomag
a72ed8cb0054e86fc13bb03a6881ed7ba54ee3f5
[ "MIT" ]
4
2020-04-19T18:45:23.000Z
2022-03-31T02:22:27.000Z
geomag.hpp
nhz2/geomag
a72ed8cb0054e86fc13bb03a6881ed7ba54ee3f5
[ "MIT" ]
null
null
null
geomag.hpp
nhz2/geomag
a72ed8cb0054e86fc13bb03a6881ed7ba54ee3f5
[ "MIT" ]
2
2021-07-15T22:18:54.000Z
2021-12-25T13:56:20.000Z
/* MIT License Copyright (c) 2019 Nathan Zimmerberg 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, publi...
129.777778
1,729
0.78339
[ "vector", "model" ]
526602cd4267bc5af14fde8f07a70df1779116a4
3,651
cc
C++
src/controller/ABCRejectionControllerStatic.cc
jedbrown/pakman
16f605a2dd153f00829b596cce3cdd458b6cefb5
[ "BSD-3-Clause" ]
14
2019-11-09T15:07:47.000Z
2021-04-06T14:46:20.000Z
src/controller/ABCRejectionControllerStatic.cc
jedbrown/pakman
16f605a2dd153f00829b596cce3cdd458b6cefb5
[ "BSD-3-Clause" ]
1
2020-09-16T18:12:52.000Z
2020-10-31T19:00:09.000Z
src/controller/ABCRejectionControllerStatic.cc
jedbrown/pakman
16f605a2dd153f00829b596cce3cdd458b6cefb5
[ "BSD-3-Clause" ]
3
2019-12-25T06:11:06.000Z
2020-03-12T19:02:32.000Z
#include <fstream> #include <string> #include "core/common.h" #include "core/LongOptions.h" #include "core/Arguments.h" #include "interface/input.h" #include "ABCRejectionController.h" // Static help function std::string ABCRejectionController::help() { return R"(* Help message for 'rejection' controller * Desc...
32.598214
77
0.674884
[ "object" ]
5269c852cd943ec583d4984a1bde0660e72e9192
929
cpp
C++
android-31/android/system/StructPollfd.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/system/StructPollfd.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/system/StructPollfd.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../java/io/FileDescriptor.hpp" #include "../../JObject.hpp" #include "../../JString.hpp" #include "./StructPollfd.hpp" namespace android::system { // Fields jshort StructPollfd::events() { return getField<jshort>( "events" ); } java::io::FileDescriptor StructPollfd::fd() { return getObjectF...
16.589286
61
0.648009
[ "object" ]
526f3dde7d9998a0e07de486cad109715dd0f618
13,306
cpp
C++
src/rx/scenegraph.cpp
dyalab/amino
e3063ceeeed7d1a3d55fc0d3071c9aacb4466b22
[ "BSD-3-Clause" ]
32
2015-06-02T20:06:09.000Z
2022-03-14T16:49:22.000Z
src/rx/scenegraph.cpp
dyalab/amino
e3063ceeeed7d1a3d55fc0d3071c9aacb4466b22
[ "BSD-3-Clause" ]
28
2016-05-18T20:54:44.000Z
2021-03-22T23:43:23.000Z
src/rx/scenegraph.cpp
dyalab/amino
e3063ceeeed7d1a3d55fc0d3071c9aacb4466b22
[ "BSD-3-Clause" ]
20
2016-01-05T18:55:14.000Z
2022-02-22T01:32:20.000Z
/* -*- mode: C++; c-basic-offset: 4; -*- */ /* ex: set shiftwidth=4 tabstop=4 expandtab: */ /* * Copyright (c) 2015, Rice University * All rights reserved. * * Author(s): Neil T. Dantam <ntd@rice.edu> * * Redistribution and use in source and binary forms, with or * without modification, are permitted provide...
26.989858
107
0.614084
[ "geometry" ]
527369feb5f4dc7f92556acfcbeef466fcf8de79
5,157
cpp
C++
main.cpp
wictus/neglectedFraction
31925a4689e75a7d6dc50c69d5a4efc580be6687
[ "MIT" ]
null
null
null
main.cpp
wictus/neglectedFraction
31925a4689e75a7d6dc50c69d5a4efc580be6687
[ "MIT" ]
null
null
null
main.cpp
wictus/neglectedFraction
31925a4689e75a7d6dc50c69d5a4efc580be6687
[ "MIT" ]
null
null
null
#include <iostream> #include <utility> #include "TGraph.h" #include "simulatedCompton.h" #include "experimentalTOT.h" //#include "experimentalAmplitude.h" void plotNeglectedFraction(const std::vector<std::pair<double,double> >& data); void simulationPart(const double resolution); void TOTPart(); //void amplitudePart(...
31.254545
193
0.708358
[ "vector" ]
527803ed5913754660a7caf08b6b6f14aeb59b61
4,575
cpp
C++
src/xr_3da/xrGame/CustomEvent.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
src/xr_3da/xrGame/CustomEvent.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
null
null
null
src/xr_3da/xrGame/CustomEvent.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
// CustomEvent.cpp: implementation of the CCustomEvent class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "CustomEvent.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction /////////////////////////////...
23.106061
87
0.544044
[ "geometry", "object", "shape", "transform" ]
527f28d24e90f38695387b5891d85340a3c6d53e
5,719
cpp
C++
source/isp/CorrectVignetting.cpp
sparsebase/facebook360_dep
1f15adb097652ef460c37435c504eff1b571a25c
[ "BSD-3-Clause" ]
221
2019-09-25T19:50:20.000Z
2022-03-12T23:24:08.000Z
source/isp/CorrectVignetting.cpp
sparsebase/facebook360_dep
1f15adb097652ef460c37435c504eff1b571a25c
[ "BSD-3-Clause" ]
18
2019-09-28T17:31:19.000Z
2022-01-31T15:41:23.000Z
source/isp/CorrectVignetting.cpp
sparsebase/facebook360_dep
1f15adb097652ef460c37435c504eff1b571a25c
[ "BSD-3-Clause" ]
47
2019-09-26T02:32:15.000Z
2022-01-10T11:59:41.000Z
/** * Copyright 2004-present Facebook. All Rights Reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <gflags/gflags.h> #include <glog/logging.h> #include "source/util/CvUtil.h" #include "source/util/SystemUtil....
28.452736
100
0.662004
[ "vector" ]
527feb1c988b2d4a73a3c8d3d1e753daf3043b39
12,444
cpp
C++
ame/src/v20190916/model/Package.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
ame/src/v20190916/model/Package.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
ame/src/v20190916/model/Package.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
28.027027
146
0.670926
[ "vector", "model" ]
528494fc43840e1a65ab2e6ff9f7b6d492414c66
3,503
hpp
C++
.experimentals/include/passion.old/vm/vmfunction.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
1
2019-12-10T02:12:49.000Z
2019-12-10T02:12:49.000Z
.experimentals/include/passion.old/vm/vmfunction.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
.experimentals/include/passion.old/vm/vmfunction.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* Copyright (c) 2019, isaponsoft (Isao Shibuya) All rights reserved. * * Use of this source code is governed by a BSD-style license that * * can be found in the LICENSE file. */ #ifndef __passion__vmfunction__hpp #define __passion__vmfunction__hpp #include "def.hpp" #include "typ...
33.361905
137
0.736226
[ "vector" ]
528df79f582aa16dd2b0c2b6201d19bb77d1a7df
1,039
hpp
C++
include/hanal/HanalApi.hpp
krikit/hanal
e99a3632c244444bec52478fb836590570c409f3
[ "Unlicense" ]
25
2015-01-26T01:08:26.000Z
2021-07-27T08:07:48.000Z
include/hanal/HanalApi.hpp
krikit/hanal
e99a3632c244444bec52478fb836590570c409f3
[ "Unlicense" ]
null
null
null
include/hanal/HanalApi.hpp
krikit/hanal
e99a3632c244444bec52478fb836590570c409f3
[ "Unlicense" ]
5
2016-06-19T06:45:13.000Z
2019-02-17T10:59:48.000Z
/** * @author krikit(krikit@naver.com) * @copyright Copyright (C) 2014-2015, krikit. All rights reserved. BSD 2-Clause License */ #ifndef HANAL_HANALAPI_HPP #define HANAL_HANALAPI_HPP ////////////// // includes // ////////////// #include <memory> #include <string> namespace hanal { /** * API class for ...
18.890909
89
0.611165
[ "object" ]
5292aabaf0d137e6140aeb9bc2aecfb96bba2f3a
11,076
hpp
C++
Include/CX/IO/Platform/Windows/FileEnumerator2.hpp
draede/cx
f3ce4aec9b99095760481b1507e383975b2827e3
[ "MIT" ]
1
2016-08-28T18:29:17.000Z
2016-08-28T18:29:17.000Z
Include/CX/IO/Platform/Windows/FileEnumerator2.hpp
draede/cx
f3ce4aec9b99095760481b1507e383975b2827e3
[ "MIT" ]
null
null
null
Include/CX/IO/Platform/Windows/FileEnumerator2.hpp
draede/cx
f3ce4aec9b99095760481b1507e383975b2827e3
[ "MIT" ]
null
null
null
/* * CX - C++ framework for general purpose development * * https://github.com/draede/cx * * Copyright (C) 2014 - 2021 draede - draede [at] outlook [dot] com * * Released under the MIT License. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and...
29.536
117
0.624774
[ "vector" ]
5294745a619abd6736feeb5abdb5c7d04c94430c
731
hpp
C++
apps/openmw/mwworld/actionapply.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwworld/actionapply.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwworld/actionapply.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef GAME_MWWORLD_ACTIONAPPLY_H #define GAME_MWWORLD_ACTIONAPPLY_H #include <string> #include "action.hpp" #include "ptr.hpp" namespace MWWorld { class ActionApply : public Action { std::string mId; virtual void executeImp (const Ptr& actor); public: ActionAp...
19.236842
75
0.600547
[ "object" ]
5295dcd9292b0170d305362dbc6fc6b5b072fc3b
1,968
cpp
C++
cpp_03standard_template_library/CN_15staffexample.cpp
qianranow/cplusplus
bc17581a78c38f1735ad8108c6880b00cf2b0080
[ "Apache-2.0" ]
null
null
null
cpp_03standard_template_library/CN_15staffexample.cpp
qianranow/cplusplus
bc17581a78c38f1735ad8108c6880b00cf2b0080
[ "Apache-2.0" ]
null
null
null
cpp_03standard_template_library/CN_15staffexample.cpp
qianranow/cplusplus
bc17581a78c38f1735ad8108c6880b00cf2b0080
[ "Apache-2.0" ]
null
null
null
// // Created by qianranow on 2022/2/25. // #include <iostream> #include <vector> #include <map> #include <string> #include <ctime> using namespace std; #define SALE_DEPATMENT 1 //销售部门 #define DEVELOP_DEPATMENT 2 //研发部门 #define FINACIAL_DEPATMENT 3 //财务部门 class Worker { public: string name; int age; int ...
21.391304
111
0.604167
[ "vector" ]
529b6bab4eef14b1f89a0cd8317b1b82e2d42993
2,352
cc
C++
StandaloneC/src/project/simulation_files/contactGeom/gestion/contact_interface.cc
CentroEPiaggio/walkman_robotran_edu_2017
28698cc9d6cb2eb029ce8af64ec146e418dbd242
[ "BSD-3-Clause" ]
null
null
null
StandaloneC/src/project/simulation_files/contactGeom/gestion/contact_interface.cc
CentroEPiaggio/walkman_robotran_edu_2017
28698cc9d6cb2eb029ce8af64ec146e418dbd242
[ "BSD-3-Clause" ]
null
null
null
StandaloneC/src/project/simulation_files/contactGeom/gestion/contact_interface.cc
CentroEPiaggio/walkman_robotran_edu_2017
28698cc9d6cb2eb029ce8af64ec146e418dbd242
[ "BSD-3-Clause" ]
null
null
null
#ifndef STANDALONE #include <cmath> #ifdef _CHAR16T // math.h version #define CHAR16_T // visual version #endif #endif #include "contact_interface.h" #include "ContactGestion.hh" #include "user_sf_IO.h" /*! \brief extract ContactGestion from MBSdata * * \param[in] MBSdata Robotran structure * \return ContactGesti...
26.727273
128
0.744898
[ "model" ]
52a1fde8f4cefd98fd0af4c3ba369219071157ad
3,485
hpp
C++
Optimizers/Gradient-Descent/C++/ModelBase.hpp
dkaramit/OpSDE
c20bfbc17b905408aebcc8e32e6265f32738a285
[ "MIT" ]
null
null
null
Optimizers/Gradient-Descent/C++/ModelBase.hpp
dkaramit/OpSDE
c20bfbc17b905408aebcc8e32e6265f32738a285
[ "MIT" ]
null
null
null
Optimizers/Gradient-Descent/C++/ModelBase.hpp
dkaramit/OpSDE
c20bfbc17b905408aebcc8e32e6265f32738a285
[ "MIT" ]
1
2021-12-15T02:03:01.000Z
2021-12-15T02:03:01.000Z
#ifndef model_func #define model_func #include <cmath> #include <vector> // Generic model and loss function implementation. I choose to pass "this" because it gives // mode freedom on how the functions can be defined template<class LD> class modelBase{ public: //vecotr of the free parameters of the model ...
26.007463
104
0.576184
[ "vector", "model" ]
52a6d7fa911447ab6b07c93932f1ffb5159b36b6
3,871
cpp
C++
sst/experiments/statistics.cpp
scottslewis/derecho-unified
cc2e23547b09386d18cb01de9221035e5fa70006
[ "BSD-3-Clause" ]
null
null
null
sst/experiments/statistics.cpp
scottslewis/derecho-unified
cc2e23547b09386d18cb01de9221035e5fa70006
[ "BSD-3-Clause" ]
null
null
null
sst/experiments/statistics.cpp
scottslewis/derecho-unified
cc2e23547b09386d18cb01de9221035e5fa70006
[ "BSD-3-Clause" ]
1
2018-10-26T09:02:47.000Z
2018-10-26T09:02:47.000Z
#include <algorithm> #include <cmath> #include <iostream> #include <numeric> #include <tuple> #include <vector> namespace sst { namespace experiments { const double NSEC_TO_USEC = 1000.0; using std::vector; using std::cout; using std::endl; using std::accumulate; using std::sqrt; using std::tuple; using std::make_t...
34.873874
150
0.684578
[ "vector" ]
52b0c22d749e8da8ec40bd01f7d2004bc99b7e02
9,499
hpp
C++
lib/fiber/default_local_assembler_for_integral_operators_on_surfaces.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
lib/fiber/default_local_assembler_for_integral_operators_on_surfaces.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
lib/fiber/default_local_assembler_for_integral_operators_on_surfaces.hpp
mdavezac/bempp
bc573062405bda107d1514e40b6153a8350d5ab5
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2011-2012 by the Bem++ Authors // // 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, mer...
44.181395
80
0.755343
[ "vector" ]
52b1aa483cc6329346375d290c001ec75c0eccac
7,369
cpp
C++
COACH/samiul vai/MIST30 - Team Practice Contest 8/G.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
6
2018-10-15T18:45:05.000Z
2022-03-29T04:30:10.000Z
COACH/samiul vai/MIST30 - Team Practice Contest 8/G.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
null
null
null
COACH/samiul vai/MIST30 - Team Practice Contest 8/G.cpp
dipta007/Competitive-Programming
998d47f08984703c5b415b98365ddbc84ad289c4
[ "MIT" ]
4
2018-01-07T06:20:07.000Z
2019-08-21T15:45:59.000Z
#pragma comment(linker, "/stack:640000000") #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <fstream> #include <iostream> #include <iomanip> #include <iterator> #include <list> #include <map...
26.992674
109
0.524087
[ "vector" ]
52b6e68112b74e5bca13d18d7d5e6fcd0a09440d
3,818
cpp
C++
TG/bookcodes/ch4/la2218.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
TG/bookcodes/ch4/la2218.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
TG/bookcodes/ch4/la2218.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// LA2218 Triathlon // Rujia Liu #include<cstdio> #include<cmath> #include<vector> #include<algorithm> using namespace std; struct Point { double x, y; Point(double x=0, double y=0):x(x),y(y) { } }; typedef Point Vector; Vector operator + (const Vector& A, const Vector& B) { return Vector(A.x+B.x, A.y+B.y); } Ve...
30.301587
89
0.53274
[ "vector" ]
1ed39e41bec56a372e573ca49f0113655fa4a916
22,380
cpp
C++
Mvv Deifi.cpp
IAchmedZade/MVV-Deifi
f4f746290ea2513f7e6d7855e5515d634f75ae94
[ "BSD-3-Clause" ]
null
null
null
Mvv Deifi.cpp
IAchmedZade/MVV-Deifi
f4f746290ea2513f7e6d7855e5515d634f75ae94
[ "BSD-3-Clause" ]
null
null
null
Mvv Deifi.cpp
IAchmedZade/MVV-Deifi
f4f746290ea2513f7e6d7855e5515d634f75ae94
[ "BSD-3-Clause" ]
null
null
null
#include<unordered_map> #include<unordered_set> #include <queue> #define OLC_PGE_APPLICATION #include "olcPixelGameEngine.h" enum State { boarding, readyToMove, waiting, moving, stopped }; struct DevilishBlockade { std::pair<int, int> pos; olc::Decal* decal = new olc::Decal(new olc::Sprite("./Sprites/B...
29.21671
142
0.610009
[ "vector" ]
1ed3fbffdc4230ac09a42872b536bfcfd6fbdd61
6,448
cpp
C++
Test/Main.cpp
dwilliamson/Reflectab
dae22188951af425e4fab76b6329f3bae81ce4a7
[ "MIT" ]
5
2017-01-07T17:58:36.000Z
2021-02-02T13:04:02.000Z
Test/Main.cpp
dwilliamson/Reflectabit
dae22188951af425e4fab76b6329f3bae81ce4a7
[ "MIT" ]
null
null
null
Test/Main.cpp
dwilliamson/Reflectabit
dae22188951af425e4fab76b6329f3bae81ce4a7
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <sstream> #include <cstdarg> #include <rflb/Type.h> #include <rflb/Field.h> #include <rflb/TypeDatabase.h> #include <rflb/VectorContainer.h> #include <rflb/ArrayContainer.h> #include <rflb/MapContainer.h> #include <rflb/SerialiseBinary.h> #define TEST_ASSERT(condition) p...
27.91342
175
0.715881
[ "vector" ]
1edae4e1f67ddbac0e3821c635631a94f4a2909e
1,839
cpp
C++
leetcode/design/circular_queue.cpp
codingpotato/algorithm-cpp
793dc9e141000f48ea19c77ef0047923a7667358
[ "MIT" ]
null
null
null
leetcode/design/circular_queue.cpp
codingpotato/algorithm-cpp
793dc9e141000f48ea19c77ef0047923a7667358
[ "MIT" ]
null
null
null
leetcode/design/circular_queue.cpp
codingpotato/algorithm-cpp
793dc9e141000f48ea19c77ef0047923a7667358
[ "MIT" ]
null
null
null
#include <doctest/doctest.h> #include <vector> // 622. Design Circular Queue class MyCircularQueue { public: MyCircularQueue(int k) : v(k), back(k - 1), front{0}, size{0} {} bool enQueue(int value) { if (isFull()) return false; back = (back + 1) % v.size(); v[back] = value; ++size; return tr...
24.52
66
0.644372
[ "vector" ]
1edb919914bc9707acde42001a66f203685e53c0
965
cpp
C++
lab03-makefile/vector_initializer/initializer.cpp
stevenokm/cpp_tutorial
0cbc0917bcee8c503a3b9318e945a6ec662ac402
[ "MIT" ]
1
2021-09-23T00:35:43.000Z
2021-09-23T00:35:43.000Z
lab03-makefile/vector_initializer/initializer.cpp
stevenokm/cpp_tutorial
0cbc0917bcee8c503a3b9318e945a6ec662ac402
[ "MIT" ]
null
null
null
lab03-makefile/vector_initializer/initializer.cpp
stevenokm/cpp_tutorial
0cbc0917bcee8c503a3b9318e945a6ec662ac402
[ "MIT" ]
2
2021-08-30T05:34:42.000Z
2021-09-21T14:11:22.000Z
#include <vector> #include "initializer.h" void kernel(std::vector<int> &vec, unsigned length, int val) { if(vec.size() != length) { vec.resize(length); } for(size_t ii = 0; ii != vec.size(); ii = ii + 1) { vec[ii] = val; } } void kernel(std::vector<double> &vec, unsigned leng...
19.3
83
0.59171
[ "vector" ]
1edb95d3193fad361b3aaba9210bf5c16e56c974
9,708
cpp
C++
asl/math/testQuaternion.tst.cpp
artcom/asl
d47748983678c245ac2da3b5de56245ac41768fe
[ "BSL-1.0" ]
2
2016-01-11T01:06:11.000Z
2019-07-24T02:27:13.000Z
asl/math/testQuaternion.tst.cpp
artcom/asl
d47748983678c245ac2da3b5de56245ac41768fe
[ "BSL-1.0" ]
null
null
null
asl/math/testQuaternion.tst.cpp
artcom/asl
d47748983678c245ac2da3b5de56245ac41768fe
[ "BSL-1.0" ]
1
2016-01-31T18:14:37.000Z
2016-01-31T18:14:37.000Z
/* __ ___ ____ _____ ______ _______ ________ _______ ______ _____ ____ ___ __ // // Copyright (C) 1993-2012, ART+COM AG Berlin, Germany <www.artcom.de> // // This file is part of the ART+COM Standard Library (asl). // // It is distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_...
46.898551
123
0.577977
[ "vector" ]
1ee8771c21a392c39fc7ef9236a0698757628416
1,641
cpp
C++
Ivor_Horton_Beginning_Visual_C++_2010/Ch07/Ex7_12.cpp
hyller/GladiatorLibrary
38d99f345db80ebb00116e54c91eada7968fa447
[ "Unlicense" ]
7
2018-07-22T14:29:58.000Z
2021-05-03T04:40:13.000Z
Ivor_Horton_Beginning_Visual_C++_2010/Ch07/Ex7_12.cpp
hyller/GladiatorLibrary
38d99f345db80ebb00116e54c91eada7968fa447
[ "Unlicense" ]
null
null
null
Ivor_Horton_Beginning_Visual_C++_2010/Ch07/Ex7_12.cpp
hyller/GladiatorLibrary
38d99f345db80ebb00116e54c91eada7968fa447
[ "Unlicense" ]
5
2019-02-13T14:50:51.000Z
2020-07-24T09:05:22.000Z
// Ex7_12.cpp // Using a static data member in a class #include <iostream> using std::cout; using std::endl; class CBox // Class definition at global scope { public: static int objectCount; // Count of objects in existence // Constructor definition expl...
27.35
81
0.510664
[ "object" ]
1eea1c923d2ab718a92c99136400d58a26929840
2,181
cpp
C++
DebugView++Lib/LogFile.cpp
udoe/DebugViewPP
92d9308d9f1052530bc8eec9167a9fdafe672f21
[ "BSL-1.0" ]
2
2018-10-13T15:35:25.000Z
2019-02-08T08:40:32.000Z
DebugView++Lib/LogFile.cpp
udoe/DebugViewPP
92d9308d9f1052530bc8eec9167a9fdafe672f21
[ "BSL-1.0" ]
null
null
null
DebugView++Lib/LogFile.cpp
udoe/DebugViewPP
92d9308d9f1052530bc8eec9167a9fdafe672f21
[ "BSL-1.0" ]
1
2020-12-28T11:00:07.000Z
2020-12-28T11:00:07.000Z
// (C) Copyright Gert-Jan de Vos and Jan Wilmans 2013. // 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) // Repository at: https://github.com/djeedjay/DebugViewPP/ #include "stdafx.h" #include <vector> #include ...
21.594059
135
0.733608
[ "vector" ]
1ef37f7393edc08937e2d5885530e6ccbcfad23c
2,481
cpp
C++
GUI/Vordiplom_2018_CommandLine/main.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
GUI/Vordiplom_2018_CommandLine/main.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
GUI/Vordiplom_2018_CommandLine/main.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
#include <QCoreApplication> #include <iostream> #include <vector> using namespace std; struct Point { int x; int y; }; vector<Point> findPoints(vector<Point> points, Point A, Point B, Point C, Point D) { vector<Point> result; Point NearestA; Point NearestB; Point NearestC; Point Nearest...
19.084615
84
0.549778
[ "vector" ]
1efc02a87f1c0397c1e2042cdb52f60303d303db
3,616
cc
C++
src/tint/writer/flatten_bindings.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/writer/flatten_bindings.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
src/tint/writer/flatten_bindings.cc
encounter/dawn-cmake
64a23ce0ede5f232cc209b69d64164ede6810b65
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 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 ...
45.772152
95
0.673396
[ "transform" ]
4804a16360f34c7d9aeb7b9fdca312666baa6d89
11,109
cpp
C++
Enclave/e_layer.cpp
yy738686337/sgx_project
7c94fa90f61cf3f7e3a26dc69172f335ef540517
[ "Apache-2.0" ]
null
null
null
Enclave/e_layer.cpp
yy738686337/sgx_project
7c94fa90f61cf3f7e3a26dc69172f335ef540517
[ "Apache-2.0" ]
null
null
null
Enclave/e_layer.cpp
yy738686337/sgx_project
7c94fa90f61cf3f7e3a26dc69172f335ef540517
[ "Apache-2.0" ]
null
null
null
#include "layer.h" #include "tools.h" #ifdef SGX #include <mbusafecrt.h> // sprintf_s() #else #include <ctime> #include <iostream> #include <stdio.h> #include <omp.h> #endif #include <math.h> Mat pad(Mat& x, int pad_times, const double value, bool in_place) { if(x.dimension != 4) { print...
36.906977
146
0.519039
[ "shape" ]
48060f9992527f053abf9118fa1894782964b6bf
11,156
cpp
C++
Chip2D/cpu.cpp
Icipher5/Chip2D
fca4439b43b0592cbeab8d2c916628e24ca2f406
[ "MIT" ]
null
null
null
Chip2D/cpu.cpp
Icipher5/Chip2D
fca4439b43b0592cbeab8d2c916628e24ca2f406
[ "MIT" ]
null
null
null
Chip2D/cpu.cpp
Icipher5/Chip2D
fca4439b43b0592cbeab8d2c916628e24ca2f406
[ "MIT" ]
null
null
null
#include "cpu.h" // class constructor cpu::cpu() { } // class deconstructor cpu::~cpu() { } // initalizes the varablies of the class void cpu::initalize(HWND hwnd, int tempScale) { I = 0; pc = ROM_START; soundTimer = 0; delayTimer = 0; opCode = 0; vTemp = 0; stackPointer =...
20.621072
103
0.512639
[ "render" ]
480aa5e9fa6eceb756115dfc3bf2b3a135574c5b
16,597
cpp
C++
sources/core/main.cpp
dabroz/dablang
60c9b0310cee1488fbde1dbbc2fd411a9cc6dbce
[ "MIT" ]
1
2015-11-29T22:32:55.000Z
2015-11-29T22:32:55.000Z
sources/core/main.cpp
dabroz/dablang
60c9b0310cee1488fbde1dbbc2fd411a9cc6dbce
[ "MIT" ]
null
null
null
sources/core/main.cpp
dabroz/dablang
60c9b0310cee1488fbde1dbbc2fd411a9cc6dbce
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "dab_header.h" #include "dab_internal.h" bool produce_output = true; bool ShouldWriteOutput() { return produce_output; } int bisonfprintf(FILE * file, const char * format, ...) { va_list args; va_start (args, format); int q = vfprintf (file, format, args); va_end (args); return q; }...
22.798077
152
0.636561
[ "vector" ]
480d7f1ac9bc8277d55c1837c1b793bc0add4a1a
31,881
cpp
C++
src/Prey/game_wraith.cpp
AMS21/PreyRun
3efc9d70228bcfb8bc18f6ff23a05c8be1e45101
[ "MIT" ]
2
2018-08-30T23:48:22.000Z
2021-04-07T19:16:18.000Z
src/Prey/game_wraith.cpp
AMS21/PreyRun
3efc9d70228bcfb8bc18f6ff23a05c8be1e45101
[ "MIT" ]
null
null
null
src/Prey/game_wraith.cpp
AMS21/PreyRun
3efc9d70228bcfb8bc18f6ff23a05c8be1e45101
[ "MIT" ]
null
null
null
//***************************************************************************** //** //** GAME_WRAITH.CPP //** //** Game code for the Wraith creature //** //***************************************************************************** // HEADER FILES --------------------------------------------------------------- #in...
32.698462
157
0.599887
[ "solid" ]
48176849b063e40ece7ff9b924300eb1d2bcb698
5,016
cpp
C++
examples/game-simon/src/main.cpp
RoboticsBrno/Logic_library
2e3f8b163fd272ac2e24f0739960b09ab9cb94e4
[ "MIT" ]
null
null
null
examples/game-simon/src/main.cpp
RoboticsBrno/Logic_library
2e3f8b163fd272ac2e24f0739960b09ab9cb94e4
[ "MIT" ]
7
2021-07-11T13:34:06.000Z
2021-07-22T17:56:07.000Z
examples/game-simon/src/main.cpp
RoboticsBrno/Logic_library
2e3f8b163fd272ac2e24f0739960b09ab9cb94e4
[ "MIT" ]
null
null
null
#include "Logic.hpp" #include <bootloader_random.h> static const int JAS_DISPLEJE = 40; // Herní dlaždice struct Dlazdice { Dlazdice(Obdelnik obdelnik, Rgb barva, ButtonID tlacitko) : obdelnik(obdelnik) , barva(barva) , tlacitko(tlacitko) { } Obdelnik obdelnik; Rgb barva; ...
32.784314
104
0.540271
[ "vector" ]
4818ee5ea81af5be5f12442d936c63846e3abf48
5,045
cpp
C++
source/core/rendering/scene/hw_lighting.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
1
2022-03-30T15:53:09.000Z
2022-03-30T15:53:09.000Z
source/core/rendering/scene/hw_lighting.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
null
null
null
source/core/rendering/scene/hw_lighting.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
null
null
null
// //--------------------------------------------------------------------------- // // Copyright(C) 2002-2018 Christoph Oelckers // All rights reserved. // // This program 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 ...
27.872928
171
0.566105
[ "3d" ]
482823882a91f006800fa8d657446ecfcef251d8
5,370
cpp
C++
engine/core/base/object.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
engine/core/base/object.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
engine/core/base/object.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
#include "object.h" #include "engine/core/resource/Res.h" #include "engine/core/log/Log.h" #include <thirdparty/pugixml/pugixml.hpp> #include <thirdparty/pugixml/pugiconfig.hpp> namespace Echo { static map<i32, Object*>::type g_objs; Object::Object() { #ifdef ECHO_EDITOR_MODE m_objectEditor = nullptr; #endif ...
24.409091
134
0.672253
[ "object" ]
4836f1bf9ed48be104cbfe14e3f7573d999f27b8
1,563
cpp
C++
201609/struct_test.cpp
YiqinXiong/CSP_Practice
b5840117175f0370d4c1fbcc3c6ffd1fd337a04c
[ "MIT" ]
null
null
null
201609/struct_test.cpp
YiqinXiong/CSP_Practice
b5840117175f0370d4c1fbcc3c6ffd1fd337a04c
[ "MIT" ]
null
null
null
201609/struct_test.cpp
YiqinXiong/CSP_Practice
b5840117175f0370d4c1fbcc3c6ffd1fd337a04c
[ "MIT" ]
null
null
null
/* * 用时 1小时34分 * 得分 100分 */ #include <stdio.h> #include <iostream> #include <algorithm> #include <vector> #include <string> using namespace std; int n; struct role { int hp; //生命值 int ap = 999; //攻击力 role *next; role() : hp(), ap(), next() {} role(int h, int a, role *ptr) : hp(h), ap(a...
21.121622
77
0.424824
[ "vector" ]
483b71f3add5593dfbc719cc91cfb1ae3cbd85ee
19,148
cc
C++
cc/resources/tile_task_worker_pool_perftest.cc
rafaelw/mojo
d3495a129dcbe679e2d5ac729c85a58acf38f8c4
[ "BSD-3-Clause" ]
5
2015-04-30T00:13:21.000Z
2019-07-10T02:17:24.000Z
cc/resources/tile_task_worker_pool_perftest.cc
rafaelw/mojo
d3495a129dcbe679e2d5ac729c85a58acf38f8c4
[ "BSD-3-Clause" ]
null
null
null
cc/resources/tile_task_worker_pool_perftest.cc
rafaelw/mojo
d3495a129dcbe679e2d5ac729c85a58acf38f8c4
[ "BSD-3-Clause" ]
1
2019-05-12T13:53:44.000Z
2019-05-12T13:53:44.000Z
// Copyright 2013 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 "cc/resources/tile_task_worker_pool.h" #include "base/test/test_simple_task_runner.h" #include "base/time/time.h" #include "cc/debug/lap_timer.h...
37.252918
80
0.708116
[ "vector" ]
c619b7dbc3845fc31b72752ba753319ec4bb2470
11,018
cc
C++
src/dynamic_code.cc
DouglasRMiles/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
5
2019-11-20T02:05:31.000Z
2022-01-06T18:59:16.000Z
src/dynamic_code.cc
logicmoo/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
null
null
null
src/dynamic_code.cc
logicmoo/QuProlog
798d86f87fb4372b8918ef582ef2f0fc0181af2d
[ "Apache-2.0" ]
2
2022-01-08T13:52:24.000Z
2022-03-07T17:41:37.000Z
// dynamic_code.cc - Storage for dynamic code. // // ##Copyright## // // Copyright 2000-2016 Peter Robinson (pjr@itee.uq.edu.au) // // 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 // // ...
22.124498
128
0.578145
[ "object" ]
c61b74b6cb5523d3bc3ca7eff8eb8320dbf4cd92
3,637
cc
C++
src/nixdimensions.cc
JiriVanek/nix-mx
1e8fec06d4aae67116d5e3b212784f6606dbaeaf
[ "BSD-3-Clause" ]
null
null
null
src/nixdimensions.cc
JiriVanek/nix-mx
1e8fec06d4aae67116d5e3b212784f6606dbaeaf
[ "BSD-3-Clause" ]
null
null
null
src/nixdimensions.cc
JiriVanek/nix-mx
1e8fec06d4aae67116d5e3b212784f6606dbaeaf
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2016, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include <nix.hpp> #include "mex.h...
32.765766
102
0.604069
[ "vector" ]
c62238f14576ca6245c02e10d2c6a5526178cfa1
1,037
hpp
C++
include/types/dir.hpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-11T14:53:38.000Z
2020-07-11T14:53:38.000Z
include/types/dir.hpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-04T16:45:49.000Z
2020-07-04T16:45:49.000Z
include/types/dir.hpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
null
null
null
#ifndef RHIZOME_TYPES_DIR_HPP #define RHIZOME_TYPES_DIR_HPP #include <string> #include "core/thing.hpp" #include "pattern.hpp" using rhizome::core::Thing; using std::string; namespace rhizome { namespace types { class Dir: public Thing { private: string path; /// Check if ...
25.925
96
0.586307
[ "vector" ]
c6287415d3a10b63066e6e76e490730608ea7084
1,778
hpp
C++
src/eka.hpp
AleksanderGondek/fun-with-flow-networks
6cafc3ca7bf4edde26d022d7d647153e232a762d
[ "MIT" ]
1
2020-05-30T17:50:11.000Z
2020-05-30T17:50:11.000Z
src/eka.hpp
AleksanderGondek/fun-with-flow-networks
6cafc3ca7bf4edde26d022d7d647153e232a762d
[ "MIT" ]
null
null
null
src/eka.hpp
AleksanderGondek/fun-with-flow-networks
6cafc3ca7bf4edde26d022d7d647153e232a762d
[ "MIT" ]
null
null
null
#ifndef FFA_HPP #define FFA_HPP #include <algorithm> #include <limits> #include <deque> #include <string> #include <unordered_map> #include <vector> #include "graph.hpp" namespace killdozer { namespace eka { void transposeMinFlowsVertices( killdozer::graph::DAG &dag ); // Why not std::vector<>...
25.4
127
0.649606
[ "vector" ]
c6368073b20974e428d5520a96cddf1054bd7666
17,351
cpp
C++
bindings/c/src/SFML/Graphics/RenderWindow.cpp
yoyonel/sflm2-custom
1ebeabe7cfe6605590b341f7b415b24bed1f50d1
[ "Zlib" ]
null
null
null
bindings/c/src/SFML/Graphics/RenderWindow.cpp
yoyonel/sflm2-custom
1ebeabe7cfe6605590b341f7b415b24bed1f50d1
[ "Zlib" ]
null
null
null
bindings/c/src/SFML/Graphics/RenderWindow.cpp
yoyonel/sflm2-custom
1ebeabe7cfe6605590b341f7b415b24bed1f50d1
[ "Zlib" ]
null
null
null
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any da...
35.701646
168
0.531843
[ "render", "shape" ]
c638b2ab2f65b45007d20c01420b8b7248b2681c
3,791
cpp
C++
Scripts/Template.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
310
2019-11-25T04:14:11.000Z
2022-03-31T23:39:19.000Z
Scripts/Template.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
79
2019-11-17T07:51:02.000Z
2022-03-22T08:49:41.000Z
Scripts/Template.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
24
2020-05-10T09:37:55.000Z
2022-03-05T13:19:31.000Z
#include "pch.h" #include "SkylichtEngine.h" #include "@project_name@.h" #include "GridPlane/CGridPlane.h" void installApplication(const std::vector<std::string>& argv) { @project_name@ *app = new @project_name@(); getApplication()->registerAppEvent("@project_name@", app); } @project_name@::@project_name@() : m_s...
24.146497
88
0.723556
[ "render", "vector", "3d" ]
c638ba9a2aed8fe2cafcae139f6990b9120038dc
27,176
cc
C++
src/interface/initialiseevolution.cc
intrepid42/apfelxx
34b0bb4f134ddf42aa7eccceaa6c3b91b5414cd6
[ "MIT" ]
null
null
null
src/interface/initialiseevolution.cc
intrepid42/apfelxx
34b0bb4f134ddf42aa7eccceaa6c3b91b5414cd6
[ "MIT" ]
null
null
null
src/interface/initialiseevolution.cc
intrepid42/apfelxx
34b0bb4f134ddf42aa7eccceaa6c3b91b5414cd6
[ "MIT" ]
null
null
null
// // APFEL++ 2017 // // Authors: Valerio Bertone: valerio.bertone@cern.ch // #include "apfel/initialiseevolution.h" #include "apfel/grid.h" #include "apfel/messages.h" #include "apfel/alphaqcd.h" #include "apfel/tabulateobject.h" #include "apfel/constants.h" #include "apfel/rotations.h" #include <sys/stat.h> #includ...
38.547518
177
0.589932
[ "object", "vector" ]
c63f682b6977a52ba765437912a5596134cb095e
7,967
hpp
C++
framework/referencerenderer/rrRenderState.hpp
karolherbst/VK-GL-CTS
bb088fddd8673dc4f37e5956c42890645ab31577
[ "Apache-2.0" ]
2
2019-04-04T12:53:11.000Z
2020-09-01T15:27:15.000Z
framework/referencerenderer/rrRenderState.hpp
karolherbst/VK-GL-CTS
bb088fddd8673dc4f37e5956c42890645ab31577
[ "Apache-2.0" ]
3
2017-10-17T22:38:53.000Z
2018-02-17T02:09:03.000Z
framework/referencerenderer/rrRenderState.hpp
karolherbst/VK-GL-CTS
bb088fddd8673dc4f37e5956c42890645ab31577
[ "Apache-2.0" ]
2
2017-10-17T10:00:25.000Z
2022-02-28T07:43:27.000Z
#ifndef _RRRENDERSTATE_HPP #define _RRRENDERSTATE_HPP /*------------------------------------------------------------------------- * drawElements Quality Program Reference Renderer * ----------------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache Lic...
20.272265
129
0.731894
[ "render" ]
c6493c2bcd7768177a9ebda956b0aabdca4bbae7
50
hpp
C++
src/boost_geometry_strategies_envelope.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_geometry_strategies_envelope.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_geometry_strategies_envelope.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/geometry/strategies/envelope.hpp>
25
49
0.82
[ "geometry" ]
c64a0f03b7c9f02847a5efda2dcecc65ee0f9a7c
6,605
hpp
C++
KVar.hpp
Grant-Giesbrecht/Iega
15ff76bab8708ebb708355a00954752eaf750c7e
[ "MIT" ]
null
null
null
KVar.hpp
Grant-Giesbrecht/Iega
15ff76bab8708ebb708355a00954752eaf750c7e
[ "MIT" ]
null
null
null
KVar.hpp
Grant-Giesbrecht/Iega
15ff76bab8708ebb708355a00954752eaf750c7e
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <fstream> #include <vector> #include <string> //#include <IEGA/clc/Libraries/Eigen/Eigen> #include <IEGA/KMatrix.hpp> #include <IEGA/stdutil.hpp> #include <IEGA/string_manip.hpp> #ifndef KVAR_HPP #define KVAR_HPP //User Macros #define KV_COMMENT_STYLE 1 // KV_COMMENT...
36.491713
294
0.728539
[ "vector" ]
c65a3b82e69580195ae95b38f3fac0e3d07e614e
34,375
cpp
C++
netlinkifc.cpp
rdkcmf/rdk-netmonitor
c506eabe63b6ff9dc159c65b00365b5538c7a95f
[ "Apache-2.0" ]
null
null
null
netlinkifc.cpp
rdkcmf/rdk-netmonitor
c506eabe63b6ff9dc159c65b00365b5538c7a95f
[ "Apache-2.0" ]
null
null
null
netlinkifc.cpp
rdkcmf/rdk-netmonitor
c506eabe63b6ff9dc159c65b00365b5538c7a95f
[ "Apache-2.0" ]
1
2018-08-16T20:17:23.000Z
2018-08-16T20:17:23.000Z
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2018 RDK Management * * 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 ...
31.478938
210
0.668655
[ "object", "vector" ]
c65d025150b67d85e4df5e368d4f2f80483e0092
1,901
cpp
C++
lib/commonAPI/mediaplayer/ext/platform/wp8/src/Mediaplayer_impl.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
173
2015-01-02T11:14:08.000Z
2022-03-05T09:54:54.000Z
lib/commonAPI/mediaplayer/ext/platform/wp8/src/Mediaplayer_impl.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
263
2015-01-05T04:35:22.000Z
2021-09-07T06:00:02.000Z
lib/commonAPI/mediaplayer/ext/platform/wp8/src/Mediaplayer_impl.cpp
watusi/rhodes
07161cca58ff6a960bbd1b79b36447b819bfa0eb
[ "MIT" ]
77
2015-01-12T20:57:18.000Z
2022-02-17T15:15:14.000Z
#include "../../../shared/generated/cpp/MediaplayerBase.h" namespace rho { using namespace apiGenerator; class CMediaplayerImpl: public CMediaplayerBase { public: CMediaplayerImpl(const rho::String& strID): CMediaplayerBase() { /*m_hashProps.put( "display", "LCD"); m_hashProps.put( "sound", "...
26.041096
111
0.728038
[ "vector" ]
c6727a51b275a7facc2685411d1f61a16157ed2e
3,622
hpp
C++
wrappers/src/schema_cs.hpp
hnjm/realm-dotnet
c456808da28c53889ed8485de3ec69b2a16ee865
[ "Apache-2.0" ]
1
2019-06-24T05:39:00.000Z
2019-06-24T05:39:00.000Z
wrappers/src/schema_cs.hpp
hnjm/realm-dotnet
c456808da28c53889ed8485de3ec69b2a16ee865
[ "Apache-2.0" ]
null
null
null
wrappers/src/schema_cs.hpp
hnjm/realm-dotnet
c456808da28c53889ed8485de3ec69b2a16ee865
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
33.229358
135
0.678907
[ "object", "vector" ]
c676ace73561d58d1e0021dcc915d17723b70c92
11,404
hpp
C++
include/propane_runtime.hpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
3
2021-02-28T12:52:43.000Z
2021-12-31T00:12:48.000Z
include/propane_runtime.hpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
null
null
null
include/propane_runtime.hpp
AggroBird/propane
83134d11f6a90798db8937761ab707d95c520f1b
[ "MIT" ]
null
null
null
#ifndef _HEADER_PROPANE_RUNTIME #define _HEADER_PROPANE_RUNTIME #include "propane_common.hpp" #include "propane_block.hpp" namespace propane { // Field // Contains info regarding struct fields struct field { field() = default; field(name_idx name, type_idx type, size_t offset = 0) : ...
30.655914
123
0.603823
[ "object" ]
c676e31aedf39b154f76a498655b0724d55bb959
8,935
cpp
C++
03_Tutorial/T02_XMCocos2D/Source/Test/TestVRope.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
03_Tutorial/T02_XMCocos2D/Source/Test/TestVRope.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
03_Tutorial/T02_XMCocos2D/Source/Test/TestVRope.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* ----------------------------------------------------------------------------------- * * File TestVRope.cpp * Ported By Young-Hwan Mun * Contact xmsoft77@gmail.com * * ----------------------------------------------------------------------------------- * * Copyr...
33.092593
123
0.640291
[ "shape" ]
c677809a647783b33e0e1a4f76703693c2c98347
10,735
hpp
C++
include/LightBulbApp/TrainingPlans/AbstractTrainingPlan.hpp
domin1101/ANNHelper
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
5
2016-02-04T06:14:42.000Z
2017-02-06T02:21:43.000Z
include/LightBulbApp/TrainingPlans/AbstractTrainingPlan.hpp
domin1101/ANNHelper
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
41
2015-04-15T21:05:45.000Z
2015-07-09T12:59:02.000Z
include/LightBulbApp/TrainingPlans/AbstractTrainingPlan.hpp
domin1101/LightBulb
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
null
null
null
#pragma once #ifndef _ABSTRACTTRAININGPLAN_H_ #define _ABSTRACTTRAININGPLAN_H_ // Includes #include "LightBulb/Event/Observable.hpp" #include "LightBulbApp/TrainingPlans/Preferences/PreferenceGroup.hpp" // Library includes #include <thread> #include <vector> namespace LightBulb { // Forward declarations class Abst...
31.666667
142
0.700885
[ "object", "vector" ]
c68cb2e9070da8b677a506238dde3ddcd49bea4f
6,677
cpp
C++
shims/qpid-proton-cpp/src/qpidit/amqp_large_content_test/Sender.cpp
apache/qpid-interop-test
2ae24aa2ac6998b9598b02e5b181f187f7b51212
[ "Apache-2.0" ]
6
2017-07-26T12:09:42.000Z
2021-11-06T23:05:38.000Z
shims/qpid-proton-cpp/src/qpidit/amqp_large_content_test/Sender.cpp
apache/qpid-interop-test
2ae24aa2ac6998b9598b02e5b181f187f7b51212
[ "Apache-2.0" ]
1
2019-06-24T11:58:26.000Z
2019-06-24T11:58:26.000Z
shims/qpid-proton-cpp/src/qpidit/amqp_large_content_test/Sender.cpp
apache/qpid-interop-test
2ae24aa2ac6998b9598b02e5b181f187f7b51212
[ "Apache-2.0" ]
10
2017-08-16T19:52:28.000Z
2022-03-18T11:25:12.000Z
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
37.9375
116
0.521192
[ "vector" ]
c68cf280ca03964dae6298a17a04cd585969e951
9,497
cpp
C++
h-idx/stream-kcore/kcore.cpp
mexuaz/AccTrussDecomposition
15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4
[ "MIT" ]
9
2020-03-30T13:00:15.000Z
2022-03-17T13:40:17.000Z
h-idx/stream-kcore/kcore.cpp
mexuaz/AccTrussDecomposition
15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4
[ "MIT" ]
null
null
null
h-idx/stream-kcore/kcore.cpp
mexuaz/AccTrussDecomposition
15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4
[ "MIT" ]
2
2020-08-17T10:05:51.000Z
2020-08-30T22:57:55.000Z
#include "main-kcore.hpp" void update_on_insertion (Graph* graph, v_container* K, #ifdef MAINTAIN_CD v_container* maxcore_degrees, v_container* purecore_degrees, vector<vector<vertex> >& hop_degrees, #endif int* core_number, vertex u, vertex v, incremental_debug* ch_info, int hop, int algorithm) { if (algor...
27.688047
119
0.637464
[ "vector", "3d" ]
c68d9335ddf9586a70bbbbc1e08bcdf22e464e67
3,259
cpp
C++
src/Spanish/edt/MentionGroups/constraints/es_NameParseClashConstraint.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/Spanish/edt/MentionGroups/constraints/es_NameParseClashConstraint.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/Spanish/edt/MentionGroups/constraints/es_NameParseClashConstraint.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2012 by Raytheon BBN Technologies Corp. // All Rights Reserved. #include "Generic/common/leak_detection.h" // This must be the first #include #include "Spanish/edt/MentionGroups/constraints/es_NameParseClashConstraint.h" #include "Generic/edt/MentionGroups/LinkInfoCache.h" #include "Generic/ed...
40.7375
142
0.737343
[ "vector" ]
c68f28df54edd15f106a0211f21281ca03713c6a
150,920
hpp
C++
include/UnityEngine/Material.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/UnityEngine/Material.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/UnityEngine/Material.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Ob...
67.737882
238
0.738186
[ "object", "vector" ]
c690b01a5aa785e2c14345681b883bd9f5222722
24,407
cpp
C++
Src/CPU.cpp
Eae02/gbemu
5aac907f3c91c75b4bf186d2016750ff9395c86d
[ "Zlib" ]
null
null
null
Src/CPU.cpp
Eae02/gbemu
5aac907f3c91c75b4bf186d2016750ff9395c86d
[ "Zlib" ]
null
null
null
Src/CPU.cpp
Eae02/gbemu
5aac907f3c91c75b4bf186d2016750ff9395c86d
[ "Zlib" ]
null
null
null
#include "CPU.hpp" #include "Memory.hpp" #include "Common.hpp" #include <iostream> #include <iomanip> #include <vector> #include <algorithm> #include <signal.h> CPU cpu; const int OpRegToRegIdx[8] = { REG_B, REG_C, REG_D, REG_E, REG_H, REG_L, -1, REG_A }; inline uint8_t ReadPCMem() { return mem::Read(cpu....
22.960489
118
0.608555
[ "vector" ]
c691bc445a4b1b7be7f53100227d61635c878603
4,057
cpp
C++
apigateway/src/v20180808/model/APIDoc.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
apigateway/src/v20180808/model/APIDoc.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
apigateway/src/v20180808/model/APIDoc.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
27.598639
137
0.691151
[ "model" ]
c696e8f68611185e7932aa35e1128ea5d06dabcf
424,481
tcc
C++
include/mesh.tcc
milindasf/Dendro-GR
1bc3104fb546267d9fb32c05595a564cb2a57338
[ "MIT" ]
27
2018-06-19T14:45:43.000Z
2022-02-18T22:04:51.000Z
include/mesh.tcc
milindasf/Dendro-GR
1bc3104fb546267d9fb32c05595a564cb2a57338
[ "MIT" ]
null
null
null
include/mesh.tcc
milindasf/Dendro-GR
1bc3104fb546267d9fb32c05595a564cb2a57338
[ "MIT" ]
10
2018-06-19T22:01:09.000Z
2021-10-03T07:02:07.000Z
// // Created by milinda on 9/22/17. /** *@author Milinda Fernando *School of Computing, University of Utah *@brief Contains templated functions in the mesh class. * (code moved from mesh.h) */ // namespace ot { template <typename T> T* Mesh::createVector() const { if(!m_uiIsActive) return NULL;...
48.495487
401
0.552734
[ "mesh", "vector" ]
c697f5da3865789c54b9abc5df84a4a5a77f4e50
5,937
cc
C++
omd/versions/1.2.8p15.cre/share/check_mk/agents/windows/stringutil.cc
NCAR/spol-nagios
4f88bef953983050bc6568d3f1027615fbe223fb
[ "BSD-3-Clause" ]
null
null
null
omd/versions/1.2.8p15.cre/share/check_mk/agents/windows/stringutil.cc
NCAR/spol-nagios
4f88bef953983050bc6568d3f1027615fbe223fb
[ "BSD-3-Clause" ]
null
null
null
omd/versions/1.2.8p15.cre/share/check_mk/agents/windows/stringutil.cc
NCAR/spol-nagios
4f88bef953983050bc6568d3f1027615fbe223fb
[ "BSD-3-Clause" ]
null
null
null
#include "stringutil.h" #include <cctype> #include <cstdio> #include <cstdlib> #include <cstring> #ifdef _WIN32 #include <windows.h> #endif using std::string; using std::wstring; char *lstrip(char *s) { while (isspace(*s)) s++; return s; } char *rstrip(char *s) { char *end = s + strlen(s); // point one...
26.154185
79
0.556173
[ "vector" ]
c6984101ee13bd04881bd4ea958c264295a5ae80
6,111
cpp
C++
hetero/loglik.cpp
tehora/phd-sourcecodes
b8c9be03b6de012b886e3d3f43c9d179ec2d701b
[ "MIT" ]
null
null
null
hetero/loglik.cpp
tehora/phd-sourcecodes
b8c9be03b6de012b886e3d3f43c9d179ec2d701b
[ "MIT" ]
null
null
null
hetero/loglik.cpp
tehora/phd-sourcecodes
b8c9be03b6de012b886e3d3f43c9d179ec2d701b
[ "MIT" ]
null
null
null
#include <ghutils.h> #include <set> #include <vector> #include <unordered_map> #include <algorithm> #include <iomanip> #include <math.h> #include<tgmath.h> set <pair <string, string>> edges; unordered_map <string, int> nodes; const int number = 200; //for computation of loglikelihoods double logliks[3][number]; ...
28.690141
128
0.484209
[ "vector" ]
579584cf6647657214297dc46457b2a8e7bf1b46
5,909
hpp
C++
src/uml/src_gen/uml/impl/BroadcastSignalActionImpl.hpp
MDE4CPP/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
12
2017-02-17T10:33:51.000Z
2022-03-01T02:48:10.000Z
src/uml/src_gen/uml/impl/BroadcastSignalActionImpl.hpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
28
2017-10-17T20:23:52.000Z
2021-03-04T16:07:13.000Z
src/uml/src_gen/uml/impl/BroadcastSignalActionImpl.hpp
ndongmo/MDE4CPP
9db9352dd3b1ae26a5f640e614ed3925499b93f1
[ "MIT" ]
22
2017-03-24T19:03:58.000Z
2022-03-31T12:10:07.000Z
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef UML_BROADCASTSIGNALACTIONBROADCASTSIGNALACTIONIMPL_HPP #define UML_BROADCASTSIGNALACTIONBROADCAST...
34.555556
145
0.645456
[ "model" ]
57af75d4d9a14a6d7c6a9c4382b7db48a01dde95
3,609
cpp
C++
ola_video_convert.cpp
shenghaoyang/ola_video_convert
0f7d9b4298d41ac24b4e211cac277083f29d8117
[ "MIT" ]
null
null
null
ola_video_convert.cpp
shenghaoyang/ola_video_convert
0f7d9b4298d41ac24b4e211cac277083f29d8117
[ "MIT" ]
null
null
null
ola_video_convert.cpp
shenghaoyang/ola_video_convert
0f7d9b4298d41ac24b4e211cac277083f29d8117
[ "MIT" ]
null
null
null
#include <algorithm> #include <chrono> #include <cxxopts.hpp> #include <fstream> #include <iostream> #include <media.hpp> #include <stdexcept> #include <string> int prog(int argc, char **argv) { using namespace olavc; cxxopts::Options options{"ola_video_convert", "converts an OLA showfi...
31.938053
79
0.616791
[ "vector" ]
57b6f171c405fa86ce676636c7f48f59bf1d9bcb
2,580
cpp
C++
src/matrix.cpp
mateus558/Simplex-Solver
c36a6345b6c9f207b0523fc07062bfa374c054ec
[ "MIT" ]
null
null
null
src/matrix.cpp
mateus558/Simplex-Solver
c36a6345b6c9f207b0523fc07062bfa374c054ec
[ "MIT" ]
null
null
null
src/matrix.cpp
mateus558/Simplex-Solver
c36a6345b6c9f207b0523fc07062bfa374c054ec
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <sstream> #include <iomanip> #include <iterator> #include "../includes/matrix.hpp" using namespace std; vector<string> split_line(string str){ std::stringstream ss(str); std::istream_iterator<std::string> begin(ss); std::istream_iterator<std::string> end; ...
20.64
58
0.415504
[ "vector" ]
57c24c85b804b415fd3f8c5f915fb2420743900f
624
cpp
C++
src/render/material.cpp
zerujio/folk-engine
45aade10b67ae96e5d660292209bb982ef3bd2ac
[ "MIT" ]
null
null
null
src/render/material.cpp
zerujio/folk-engine
45aade10b67ae96e5d660292209bb982ef3bd2ac
[ "MIT" ]
4
2021-12-22T02:18:36.000Z
2021-12-22T03:09:43.000Z
src/render/material.cpp
zerujio/folk-engine
45aade10b67ae96e5d660292209bb982ef3bd2ac
[ "MIT" ]
1
2022-02-28T03:47:02.000Z
2022-02-28T03:47:02.000Z
#include "folk/core/error.hpp" #include "folk/render/material.hpp" #include "folk/render/shader.hpp" #include "../core/engine_singleton.hpp" namespace Folk { std::shared_ptr<Material> Material::create() { return create(Shader::createDefault()); } std::shared_ptr<Material> Material::create(std::shared_ptr<Shade...
18.909091
76
0.703526
[ "render" ]
57c3280c15c54a474e2d0d8afc1f1d09068ebd48
1,754
hh
C++
needle2d/needle-inserter.hh
hanwen/artisjokke
608d76c5fad74ee4214162044c7ea3b781571e44
[ "MIT" ]
5
2015-06-06T02:25:02.000Z
2021-06-18T09:49:56.000Z
needle2d/needle-inserter.hh
hanwen/artisjokke
608d76c5fad74ee4214162044c7ea3b781571e44
[ "MIT" ]
null
null
null
needle2d/needle-inserter.hh
hanwen/artisjokke
608d76c5fad74ee4214162044c7ea3b781571e44
[ "MIT" ]
2
2015-06-05T12:44:25.000Z
2015-10-28T09:27:59.000Z
/* declare Needle_inserter */ #ifndef NEEDLE_INSERTER #define NEEDLE_INSERTER #include "vector.hh" #include "deformation-hook.hh" #include "proto.hh" #include "parray.hh" class Needle_inserter : public Deformation_hook { Maubach_tree * mesh_; Real edge_length_threshold_; Real dynamic_factor_; bool live...
19.707865
59
0.713797
[ "mesh", "vector" ]
57ccd2cedc4ad6bc45bee173364d875c7e075f77
4,003
cpp
C++
learnOpengl/src/main.cpp
wascu/renderm
8f815f8a2214af24d0fc9b7a13934f958e62549a
[ "MIT" ]
1
2019-08-01T07:46:36.000Z
2019-08-01T07:46:36.000Z
learnOpengl/src/main.cpp
wascu/renderm
8f815f8a2214af24d0fc9b7a13934f958e62549a
[ "MIT" ]
null
null
null
learnOpengl/src/main.cpp
wascu/renderm
8f815f8a2214af24d0fc9b7a13934f958e62549a
[ "MIT" ]
null
null
null
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <iostream> #include "glwSetting.h" #include "glfRenderCallBack.h" #include "renderFunctions.h" #include "mtrangle.h" //using namespace glm; USING_NAMESPACE_MGGL int main() { glfwInit(); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHin...
37.411215
119
0.504871
[ "render", "vector" ]
57d0b77e6e140c32aa48d184b123a77ff98253ba
79,466
cpp
C++
SteamPlugin/Common/SteamFriends.cpp
adambiser/agk-steam-plugin
a2e203789085d1680b96451a3165604eb615b9d6
[ "MIT" ]
10
2017-11-02T05:42:30.000Z
2021-10-01T23:42:23.000Z
SteamPlugin/Common/SteamFriends.cpp
adambiser/agk-steam-plugin
a2e203789085d1680b96451a3165604eb615b9d6
[ "MIT" ]
2
2018-12-13T03:00:21.000Z
2019-04-04T01:45:02.000Z
SteamPlugin/Common/SteamFriends.cpp
adambiser/agk-steam-plugin
a2e203789085d1680b96451a3165604eb615b9d6
[ "MIT" ]
1
2021-11-02T18:37:25.000Z
2021-11-02T18:37:25.000Z
/* Copyright (c) 2019 Adam Biser <adambiser@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 limitation the rights to use, copy, modify, merge, pub...
38.631988
339
0.794277
[ "vector" ]
57f96e6b3dce9d3f55ec17a783df57e29315cf0a
59,387
cpp
C++
src/Pipeline/SpirvShaderImage.cpp
developandplay/swiftshader
f8864349feb15ba77bdc20fbefe4d2035410e4af
[ "Apache-2.0" ]
null
null
null
src/Pipeline/SpirvShaderImage.cpp
developandplay/swiftshader
f8864349feb15ba77bdc20fbefe4d2035410e4af
[ "Apache-2.0" ]
null
null
null
src/Pipeline/SpirvShaderImage.cpp
developandplay/swiftshader
f8864349feb15ba77bdc20fbefe4d2035410e4af
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The SwiftShader Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
40.289688
238
0.680923
[ "object" ]
5201d32eefe6cdc29e4f594f293c1d589404a4d9
10,105
cpp
C++
src/plugins/robots/e-puck/simulator/dynamics2d_epuck_model.cpp
rh17983/swarmtemp
6346f1fd33c45b7e84f80873bc03db5bd51b2fa3
[ "MIT" ]
null
null
null
src/plugins/robots/e-puck/simulator/dynamics2d_epuck_model.cpp
rh17983/swarmtemp
6346f1fd33c45b7e84f80873bc03db5bd51b2fa3
[ "MIT" ]
null
null
null
src/plugins/robots/e-puck/simulator/dynamics2d_epuck_model.cpp
rh17983/swarmtemp
6346f1fd33c45b7e84f80873bc03db5bd51b2fa3
[ "MIT" ]
null
null
null
/** * @file <argos3/plugins/robots/e-puck/simulator/dynamics2d_epuck_model.cpp> * * @author Carlo Pinciroli - <ilpincy@gmail.com> */ #include "dynamics2d_epuck_model.h" #include <argos3/plugins/simulator/physics_engines/dynamics2d/dynamics2d_gripping.h> #include <argos3/plugins/simulator/physics_engines/dynamics2d...
41.584362
117
0.551509
[ "shape", "model" ]