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
1ded228953a0084792047c7956b4bfbcdb53be37
16,807
cpp
C++
llvm/tools/file-table-tform/file-table-tform.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
653
2018-12-27T15:00:01.000Z
2022-03-30T11:52:23.000Z
llvm/tools/file-table-tform/file-table-tform.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
llvm/tools/file-table-tform/file-table-tform.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===- file-table-tform.cpp - transform files with tables of strings ------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
40.304556
80
0.540311
[ "transform" ]
1df40a5f8b906a90684526c651dcc2de72f83bb1
4,909
cpp
C++
src/pcl_midterm/pclFastTriangular.cpp
michael081906/ros-project-robotic-polishing
12f02befa244dc2cfdb3e3e5f89c8d3f25fde7bb
[ "BSD-3-Clause" ]
5
2020-10-01T19:59:23.000Z
2022-02-09T02:48:53.000Z
src/pcl_midterm/pclFastTriangular.cpp
michael081906/Robotic-polishing
12f02befa244dc2cfdb3e3e5f89c8d3f25fde7bb
[ "BSD-3-Clause" ]
1
2021-01-08T07:20:12.000Z
2021-01-08T07:33:21.000Z
src/pcl_midterm/pclFastTriangular.cpp
michael081906/Robotic-polishing
12f02befa244dc2cfdb3e3e5f89c8d3f25fde7bb
[ "BSD-3-Clause" ]
4
2020-12-03T12:47:33.000Z
2022-01-28T06:25:37.000Z
// "Copyright [2017] <Michael Kam>" /** @file pclFastTriangular.cpp * @brief This is the implementation of the pclFastTriangular class. This class consists of 6 methods. * Please refer the pclFastTriangular.h for more detail. * * @author Michael Kam (michael081906) * @bug No known bugs. * @copyright GNU Publ...
45.036697
104
0.746995
[ "mesh", "vector" ]
1dfbb47c2000b6b225ca914e3f195446e0b65d56
2,900
hh
C++
policy-decision-point/function.hh
SSICLOPS/cppl
265514bc461352b7b5bc58fd7482328601029e4a
[ "Apache-2.0" ]
1
2018-06-02T11:50:06.000Z
2018-06-02T11:50:06.000Z
policy-decision-point/function.hh
SSICLOPS/cppl
265514bc461352b7b5bc58fd7482328601029e4a
[ "Apache-2.0" ]
1
2018-01-17T04:16:29.000Z
2018-01-30T09:01:44.000Z
policy-decision-point/function.hh
SSICLOPS/cppl
265514bc461352b7b5bc58fd7482328601029e4a
[ "Apache-2.0" ]
1
2018-11-18T20:31:54.000Z
2018-11-18T20:31:54.000Z
// Copyright 2015-2018 RWTH Aachen University // // 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...
27.102804
120
0.686897
[ "vector" ]
3800aa91f80ffb57f3702bed923cc49a4de586da
28,000
cpp
C++
Source/WebCore/editing/AlternativeTextController.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/WebCore/editing/AlternativeTextController.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/WebCore/editing/AlternativeTextController.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2006-2017 Apple Inc. All rights reserved. * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source cod...
40.935673
252
0.750179
[ "vector" ]
3809028186ef76c3df76638bbcdbfe09f8eeaff6
13,975
cc
C++
examples/cpp_cb/route_guide/route_guide_cb_client.cc
jinq0123/grpc_cb
1b3058528d66dd6777a3248550a3d87f6b9e1b7f
[ "Apache-2.0" ]
43
2016-11-02T15:19:00.000Z
2021-08-19T08:46:24.000Z
examples/cpp_cb/route_guide/route_guide_cb_client.cc
jinq0123/grpc_cb
1b3058528d66dd6777a3248550a3d87f6b9e1b7f
[ "Apache-2.0" ]
2
2018-02-09T09:06:37.000Z
2018-08-18T01:26:13.000Z
examples/cpp_cb/route_guide/route_guide_cb_client.cc
jinq0123/grpc_cb
1b3058528d66dd6777a3248550a3d87f6b9e1b7f
[ "Apache-2.0" ]
19
2016-12-04T08:49:27.000Z
2022-03-29T07:30:59.000Z
/* * * Copyright 2015, Google Inc. * 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 condi...
33.433014
93
0.640072
[ "vector" ]
380e1bc363028d31e3f1ab4977cdf7306c6b704e
17,244
cpp
C++
src/topp/AdditiveSeries.cpp
raghav17083/OpenMS
ddcdd3068a93a7c415675c39bac43d796a845f1d
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
null
null
null
src/topp/AdditiveSeries.cpp
raghav17083/OpenMS
ddcdd3068a93a7c415675c39bac43d796a845f1d
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
null
null
null
src/topp/AdditiveSeries.cpp
raghav17083/OpenMS
ddcdd3068a93a7c415675c39bac43d796a845f1d
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
39.459954
367
0.571677
[ "vector" ]
381134000af223f60d04c4bdef6e76c2927311d2
448
cpp
C++
Codility/003_02_PermMissingElem.cpp
HaileyGu/Algorithm
229002f27cc3cb4b5ab8785997d0790a892f7741
[ "MIT" ]
1
2019-03-09T04:22:33.000Z
2019-03-09T04:22:33.000Z
Codility/003_02_PermMissingElem.cpp
HaileyGu/Algorithm
229002f27cc3cb4b5ab8785997d0790a892f7741
[ "MIT" ]
null
null
null
Codility/003_02_PermMissingElem.cpp
HaileyGu/Algorithm
229002f27cc3cb4b5ab8785997d0790a892f7741
[ "MIT" ]
null
null
null
// you can use includes, for example: // #include <algorithm> // you can write to stdout for debugging purposes, e.g. // cout << "this is a debug message" << endl; int solution(vector<int> &A) { // write your code in C++14 (g++ 6.2.0) int n = A.size(); int ans = 0; int sumI = 0; int sumA = 0; ...
19.478261
55
0.511161
[ "vector" ]
3815780ff0f79fc549b48faab6b05b05acbef4f3
5,988
cpp
C++
src/decoder-phrasebased/src/native/decoder/moses/ScoreComponentCollectionTest.cpp
ugermann/MMT
715ad16b4467f44c8103e16165261d1391a69fb8
[ "Apache-2.0" ]
null
null
null
src/decoder-phrasebased/src/native/decoder/moses/ScoreComponentCollectionTest.cpp
ugermann/MMT
715ad16b4467f44c8103e16165261d1391a69fb8
[ "Apache-2.0" ]
null
null
null
src/decoder-phrasebased/src/native/decoder/moses/ScoreComponentCollectionTest.cpp
ugermann/MMT
715ad16b4467f44c8103e16165261d1391a69fb8
[ "Apache-2.0" ]
null
null
null
/*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2010 University of Edinburgh 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 So...
32.367568
88
0.69823
[ "vector" ]
38165e9bfad9bf0ddd39d784ce8eeefaae0e0948
8,209
cpp
C++
Tga3D/Source/tga2dcore/tga2d/shaders/SpriteShader.cpp
sarisman84/C-CommonUtilities
a3649c32232ec342c25b804001c16c295885ce0c
[ "MIT" ]
1
2022-03-10T11:43:24.000Z
2022-03-10T11:43:24.000Z
Tga3D/Source/tga2dcore/tga2d/shaders/SpriteShader.cpp
sarisman84/C-CommonUtilities
a3649c32232ec342c25b804001c16c295885ce0c
[ "MIT" ]
null
null
null
Tga3D/Source/tga2dcore/tga2d/shaders/SpriteShader.cpp
sarisman84/C-CommonUtilities
a3649c32232ec342c25b804001c16c295885ce0c
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <tga2d/graphics/DX11.h> #include <tga2d/shaders/SpriteShader.h> #include <tga2d/shaders/ShaderCommon.h> #include <tga2d/texture/texture.h> #include <tga2d/texture/TextureManager.h> #include <tga2d/render/RenderObject.h> #include <d3dcommon.h> #include <d3d11.h> Tga2D::SpriteSha...
34.204167
165
0.749787
[ "render" ]
381a1e42782a2e9100ec412da1a2ae1e6376ec6b
11,301
cpp
C++
src/swift2d/trails/TrailSystem.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
src/swift2d/trails/TrailSystem.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
src/swift2d/trails/TrailSystem.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // // This file is part of Swift2D. // // ...
35.096273
131
0.55473
[ "vector" ]
381a8c52e34a4a1765bb346c25fac932723526bf
31,624
cpp
C++
src/TEM.cpp
rarutter/dvm-dos-tem
8e776005c3883aae67b83bb71c5e1e25c94fc842
[ "MIT" ]
null
null
null
src/TEM.cpp
rarutter/dvm-dos-tem
8e776005c3883aae67b83bb71c5e1e25c94fc842
[ "MIT" ]
null
null
null
src/TEM.cpp
rarutter/dvm-dos-tem
8e776005c3883aae67b83bb71c5e1e25c94fc842
[ "MIT" ]
null
null
null
/** * TEM.cpp * main program for running DVM-DOS-TEM * * It runs at 3 run-mods: * (1) site-specific * (2) regional - time series * (3) regional - spatially (not yet available) * * Authors: * Shuhua Yi - the original codes * Fengming Yuan - re-designing and re-coding for * ...
35.098779
148
0.642423
[ "object", "vector", "model", "transform" ]
381d6037dc2d5510f55bd39af07e67d699225993
3,003
cc
C++
examples/parallelTest/src/ParallelPlugin.cc
janpipek/g4application
6b063636474a7a8f212023ada7fbb60bd4439606
[ "MIT" ]
1
2018-04-14T08:53:04.000Z
2018-04-14T08:53:04.000Z
examples/parallelTest/src/ParallelPlugin.cc
janpipek/g4application
6b063636474a7a8f212023ada7fbb60bd4439606
[ "MIT" ]
23
2015-01-13T10:57:36.000Z
2015-11-25T17:49:27.000Z
examples/parallelTest/src/ParallelPlugin.cc
janpipek/g4application
6b063636474a7a8f212023ada7fbb60bd4439606
[ "MIT" ]
null
null
null
#include "ParallelPlugin.hh" #include <Component.hh> // g4App #include <G4VUserParallelWorld.hh> #include <G4NistManager.hh> #include <G4Material.hh> #include <G4Box.hh> #include <G4SystemOfUnits.hh> #include <G4PVPlacement.hh> #include <G4VisAttributes.hh> MAKE_G4_PLUGIN( ParallelPlugin ) using namespace g4; usin...
29.15534
109
0.666334
[ "vector" ]
382e7d1308d525a689ebcb9aa38dec1c67c39f08
1,772
cpp
C++
libcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/properties.compile.pass.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
libcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/properties.compile.pass.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
libcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/properties.compile.pass.cpp
lxbndr/llvm-project
2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
37.702128
115
0.704853
[ "object" ]
382ee46b1eea1ada9a3d79b2929a1095139e5846
665
cpp
C++
model-view/qt-item-model-class/my-abstract-list-model/MtAbstractListModel/fetchdatadynamically.cpp
gusenov/examples-qt
083a51feedf6cefe82b6de79d701da23d1da2a2f
[ "MIT" ]
2
2020-09-01T18:37:30.000Z
2021-11-28T16:25:04.000Z
model-view/qt-item-model-class/my-abstract-list-model/MtAbstractListModel/fetchdatadynamically.cpp
gusenov/examples-qt
083a51feedf6cefe82b6de79d701da23d1da2a2f
[ "MIT" ]
null
null
null
model-view/qt-item-model-class/my-abstract-list-model/MtAbstractListModel/fetchdatadynamically.cpp
gusenov/examples-qt
083a51feedf6cefe82b6de79d701da23d1da2a2f
[ "MIT" ]
null
null
null
#include "fetchdatadynamically.h" FetchDataDynamically::FetchDataDynamically(QObject *parent) : QAbstractListModel(parent) { } int FetchDataDynamically::rowCount(const QModelIndex &parent) const { // For list models only the root node (an invalid parent) should return the list's size. For all // other (va...
25.576923
100
0.700752
[ "model" ]
383212ff8036d613b5b8bdce83b6cbf264158ba8
10,670
cpp
C++
dev/Gems/EMotionFX/Code/Tests/AutoSkeletonLODTests.cpp
BadDevCode/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Gems/EMotionFX/Code/Tests/AutoSkeletonLODTests.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Gems/EMotionFX/Code/Tests/AutoSkeletonLODTests.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
42.007874
220
0.584724
[ "mesh", "vector" ]
383dd8621b5aa39b844c53f61b34a5c1875a9693
8,659
cc
C++
contrib/trainer/libdg_tf/tensor_to_image.cc
Chicoryn/dream-go
6a4b71d7e1fcc28110ba859c0a2b59c10041c083
[ "Apache-2.0" ]
46
2017-12-08T01:40:08.000Z
2022-02-07T12:56:14.000Z
contrib/trainer/libdg_tf/tensor_to_image.cc
Chicoryn/dream-go
6a4b71d7e1fcc28110ba859c0a2b59c10041c083
[ "Apache-2.0" ]
56
2017-12-28T04:00:31.000Z
2022-03-20T12:39:39.000Z
contrib/trainer/libdg_tf/tensor_to_image.cc
Chicoryn/dream-go
6a4b71d7e1fcc28110ba859c0a2b59c10041c083
[ "Apache-2.0" ]
8
2018-02-01T13:12:32.000Z
2020-05-11T04:12:25.000Z
// Copyright 2020 Karl Sundequist Blomdahl <karl.sundequist.blomdahl@gmail.com> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // ...
28.022654
104
0.46622
[ "shape" ]
38412723e52565450072b5ccaf8f842da919a298
4,431
cpp
C++
Engine/Source/Hect/IO/BinaryDecoder.cpp
colinhect/hect
2ef89be60ba9d450c5b56f5be6cef9803cc1855a
[ "MIT" ]
2
2015-01-17T00:56:34.000Z
2015-12-01T07:02:47.000Z
Engine/Source/Hect/IO/BinaryDecoder.cpp
colinhect/hect
2ef89be60ba9d450c5b56f5be6cef9803cc1855a
[ "MIT" ]
63
2015-01-06T17:42:22.000Z
2017-09-10T00:21:52.000Z
Engine/Source/Hect/IO/BinaryDecoder.cpp
colinhect/hect
2ef89be60ba9d450c5b56f5be6cef9803cc1855a
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // This source file is part of Hect. // // Copyright (c) 2016 Colin Hill // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal ...
20.232877
86
0.678402
[ "vector" ]
38412804d015213fbb99c1885daef8b59850605b
3,203
cpp
C++
plugins/OSPRay_plugin/src/OSPRayQuadMesh.cpp
voei/megamol
569b7b58c1f9bc5405b79549b86f84009329f668
[ "BSD-3-Clause" ]
null
null
null
plugins/OSPRay_plugin/src/OSPRayQuadMesh.cpp
voei/megamol
569b7b58c1f9bc5405b79549b86f84009329f668
[ "BSD-3-Clause" ]
null
null
null
plugins/OSPRay_plugin/src/OSPRayQuadMesh.cpp
voei/megamol
569b7b58c1f9bc5405b79549b86f84009329f668
[ "BSD-3-Clause" ]
null
null
null
/* * OSPRayQuadMesh.cpp * Copyright (C) 2019 by MegaMol Team * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "OSPRayQuadMesh.h" #include "geometry_calls/CallTriMeshData.h" #include "vislib/sys/Log.h" #include "mmcore/BoundingBoxes_2.h" using namespace megamol::ospray; OSPRayQuadMesh::OSPRayQuadMesh(...
30.216981
116
0.661567
[ "mesh", "geometry", "shape" ]
3846c6cf16084427e1a613080d8b442ba65a7215
18,470
cpp
C++
Code/Framework/AzCore/Tests/Asset/AssetDataStreamTests.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
1
2022-03-28T08:06:58.000Z
2022-03-28T08:06:58.000Z
Code/Framework/AzCore/Tests/Asset/AssetDataStreamTests.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzCore/Tests/Asset/AssetDataStreamTests.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/Asset/AssetDataStream.h> #include <AzCore/IO/Streamer/FileRequest.h> #include <AzC...
37.014028
132
0.691608
[ "vector", "3d" ]
3847ff4f2c34e38621e0732e30523137b8d68edc
736
cpp
C++
Codeforces/Replacement.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
Codeforces/Replacement.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
Codeforces/Replacement.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <iostream> #include <algorithm> #include <vector> #include <sstream> using namespace std; int main() { int n, temp; vector<int> v; string s; stringstream ss; cin >> n; getline(cin, s); getline(cin, s); ss << s; while(ss >> temp) { v.push_back(temp); } ...
18.4
52
0.429348
[ "vector" ]
384943abe56bc4f6ec2c709f8b17e09b708b47c5
70,684
cpp
C++
src/chainparams.cpp
GenYuanLian/SourceChain
f278529e0a85d7be6aef1fa3989498a7dee70f51
[ "MIT" ]
7
2018-01-24T14:32:02.000Z
2019-06-27T12:09:24.000Z
src/chainparams.cpp
GenYuanLian/SourceChain
f278529e0a85d7be6aef1fa3989498a7dee70f51
[ "MIT" ]
null
null
null
src/chainparams.cpp
GenYuanLian/SourceChain
f278529e0a85d7be6aef1fa3989498a7dee70f51
[ "MIT" ]
4
2018-01-24T13:54:02.000Z
2018-05-03T02:38:13.000Z
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "consensus/merkle.h" #include "tinyformat.h" #inclu...
87.806211
211
0.828801
[ "vector" ]
3849b2f1c55095ea6d2c8153b255c0fdd67a7d72
1,346
cpp
C++
aslam_cv/aslam_cv_backend/test/testReprojectionError.cpp
chengfzy/kalibr
fe9705b380b160dc939607135f7d30efa64ea2e9
[ "BSD-4-Clause" ]
null
null
null
aslam_cv/aslam_cv_backend/test/testReprojectionError.cpp
chengfzy/kalibr
fe9705b380b160dc939607135f7d30efa64ea2e9
[ "BSD-4-Clause" ]
null
null
null
aslam_cv/aslam_cv_backend/test/testReprojectionError.cpp
chengfzy/kalibr
fe9705b380b160dc939607135f7d30efa64ea2e9
[ "BSD-4-Clause" ]
null
null
null
// Bring in gtest #include <gtest/gtest.h> #include <sm/eigen/gtest.hpp> #include <aslam/CameraGeometryDesignVariableContainer.hpp> #include <aslam/backend/HomogeneousPoint.hpp> #include <aslam/backend/test/ErrorTermTestHarness.hpp> #include <aslam/cameras.hpp> TEST(CvBackendTestSuite, testReprojectionError) { usi...
37.388889
111
0.76003
[ "geometry" ]
384a74637d6bede8180d3eac35d104a7a6d7f94e
7,745
cc
C++
quisp/modules/RoutingDaemon.cc
icepolarizer/quisp
242dada4f2f8100d5fc4b719e92a4e7c1cde81c3
[ "MIT" ]
null
null
null
quisp/modules/RoutingDaemon.cc
icepolarizer/quisp
242dada4f2f8100d5fc4b719e92a4e7c1cde81c3
[ "MIT" ]
null
null
null
quisp/modules/RoutingDaemon.cc
icepolarizer/quisp
242dada4f2f8100d5fc4b719e92a4e7c1cde81c3
[ "MIT" ]
null
null
null
/** \file RoutingDaemon.cc * \todo clean Clean code when it is simple. * \todo doc Write doxygen documentation. * \authors takaakimatsuo * * \brief RoutingDaemon */ #include <vector> #include <omnetpp.h> #include <classical_messages_m.h> #include "RoutingDaemon.h" using namespace omnetpp; namespace quisp { ...
48.10559
179
0.650613
[ "vector" ]
384f76480ac436b3b2b37840f8ab59a9f9202a43
8,706
cpp
C++
sdk/core/azure-core/test/ut/client_options.cpp
kyle-patterson/azure-sdk-for-cpp
0c24db5a10eeea46840c3e8ee7089fd9857cd7b4
[ "MIT" ]
null
null
null
sdk/core/azure-core/test/ut/client_options.cpp
kyle-patterson/azure-sdk-for-cpp
0c24db5a10eeea46840c3e8ee7089fd9857cd7b4
[ "MIT" ]
null
null
null
sdk/core/azure-core/test/ut/client_options.cpp
kyle-patterson/azure-sdk-for-cpp
0c24db5a10eeea46840c3e8ee7089fd9857cd7b4
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include <azure/core/context.hpp> #include <azure/core/http/http.hpp> #include <azure/core/http/policies/policy.hpp> #include <azure/core/http/transport.hpp> #include <azure/core/internal/client_options.hpp> #include <gtest/gt...
36.579832
100
0.748334
[ "vector" ]
3850060f2087809832d23972862621714da21752
7,286
hpp
C++
search/search.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
null
null
null
search/search.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
null
null
null
search/search.hpp
skiesel/search
b9bb14810a85d6a486d603b3d81444c9d0b246b0
[ "MIT" ]
null
null
null
// Copyright © 2013 the Search Authors under the MIT license. See AUTHORS for the list of authors. #pragma once #include <cstdio> #include <vector> #include <signal.h> #include "../structs/intpq.hpp" #include "../structs/binheap.hpp" #include "closedlist.hpp" double walltime(); double cputime(); void dfpair(FILE *f...
21.304094
98
0.643151
[ "vector" ]
3854b447b9c6a2d0c80cb9796e565f0246ec7855
546
hpp
C++
src/ModelStructs.hpp
SuperManitu/AnnoModdingTool
045df4125e091c8a70a66b4b0693c41b17d6436f
[ "MIT" ]
1
2016-10-10T12:15:18.000Z
2016-10-10T12:15:18.000Z
src/ModelStructs.hpp
SuperManitu/AnnoModdingTool
045df4125e091c8a70a66b4b0693c41b17d6436f
[ "MIT" ]
null
null
null
src/ModelStructs.hpp
SuperManitu/AnnoModdingTool
045df4125e091c8a70a66b4b0693c41b17d6436f
[ "MIT" ]
null
null
null
#pragma once #include <vector> struct Vertex { float x, y, z; float nx, ny, nz; //Normal of vertex float u, v; Vertex() { } Vertex(float x, float y, float z, float nx, float ny, float nz, float u, float v) : x(x), y(y), z(z), nx(nx), ny(ny), nz(nz), u(u), v(v) { } }; struct Triangle { unsigned int a, b, c; //...
20.222222
141
0.602564
[ "vector", "model" ]
3855db0710c109bc2b673d7ce7635d196cf96ee2
55,534
cpp
C++
src/ems/clientagent/ClientAgent.cpp
shorton3/dashingplatforms
f461c967827b92c8bcf872c365afa64e56871aba
[ "Apache-2.0" ]
null
null
null
src/ems/clientagent/ClientAgent.cpp
shorton3/dashingplatforms
f461c967827b92c8bcf872c365afa64e56871aba
[ "Apache-2.0" ]
null
null
null
src/ems/clientagent/ClientAgent.cpp
shorton3/dashingplatforms
f461c967827b92c8bcf872c365afa64e56871aba
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * * File name: ClientAgent.cpp * Subsystem: EMS * Description: CORBA Enabled Agent for receiving and processing client commands * from the various client interfaces. * * Name Date Release * -----------...
42.360031
138
0.620899
[ "object" ]
ee30b2c15ad4a98dbfd67a6452222880355e663f
3,703
cpp
C++
Plugins/UERmlUI/Source/UERmlUI/Private/Render/RmlDrawer.cpp
ZhuRong-HomoStation/RmlUE4
6326cb0e4a54c69cea6ac13e74c9bd1bc397ee77
[ "MIT" ]
15
2020-12-28T08:41:31.000Z
2022-03-24T07:10:05.000Z
Plugins/UERmlUI/Source/UERmlUI/Private/Render/RmlDrawer.cpp
ZhuRong-HomoStation/RmlUE4
6326cb0e4a54c69cea6ac13e74c9bd1bc397ee77
[ "MIT" ]
6
2021-01-06T11:23:59.000Z
2021-01-08T04:01:40.000Z
Plugins/UERmlUI/Source/UERmlUI/Private/Render/RmlDrawer.cpp
ZhuRong-HomoStation/RmlUE4
6326cb0e4a54c69cea6ac13e74c9bd1bc397ee77
[ "MIT" ]
2
2021-01-05T19:16:11.000Z
2021-01-06T02:19:22.000Z
#include "RmlDrawer.h" #include "ClearQuad.h" #include "Logging.h" #include "RmlMesh.h" #include "RmlShader.h" #include "Render/TextureEntries.h" FRmlDrawer::FRmlDrawer(bool bUsing) : bIsFree(!bUsing) { } void FRmlDrawer::DrawRenderThread(FRHICommandListImmediate& RHICmdList, const void* RenderTarget) { // check t...
32.482456
118
0.765325
[ "mesh", "render", "transform" ]
ee39b072ccc4b181e33d8bb1a37c7719bc9a764a
21,209
cpp
C++
extensions/framework/Vulkan/VulkanSwapchain.cpp
zann1x/FrameGraph
ea06e28147a51f6d7cab219b4d8f30428a539faa
[ "BSD-2-Clause" ]
null
null
null
extensions/framework/Vulkan/VulkanSwapchain.cpp
zann1x/FrameGraph
ea06e28147a51f6d7cab219b4d8f30428a539faa
[ "BSD-2-Clause" ]
null
null
null
extensions/framework/Vulkan/VulkanSwapchain.cpp
zann1x/FrameGraph
ea06e28147a51f6d7cab219b4d8f30428a539faa
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2018-2019, Zhirnov Andrey. For more information see 'LICENSE' #include "VulkanSwapchain.h" #include "stl/Algorithms/EnumUtils.h" #include "stl/Algorithms/ArrayUtils.h" #include "stl/Memory/MemUtils.h" #include "VulkanDevice.h" namespace FGC { /* ================================================= co...
31.052709
153
0.675751
[ "transform" ]
ee42c2a6881ebe884316c407a08bf6cf96744072
3,774
hpp
C++
src/include/XERenderer/Hlms/XEHlmsUnlit.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
11
2017-01-17T15:02:25.000Z
2020-11-27T16:54:42.000Z
src/include/XERenderer/Hlms/XEHlmsUnlit.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
9
2016-10-23T20:15:38.000Z
2018-02-06T11:23:17.000Z
src/include/XERenderer/Hlms/XEHlmsUnlit.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
2
2019-08-29T10:23:51.000Z
2020-04-03T06:08:34.000Z
#ifndef _XEHlmsUnlit_H_ #define _XEHlmsUnlit_H_ #include <XESystem/SystemConfig.hpp> #include <Ogre/OgreMain/include/OgreMatrix4.h> #include <Ogre/Components/Hlms/Unlit/include/OgreHlmsUnlit.h> #include <Ogre/Components/Hlms/Unlit/include/OgreHlmsUnlitPrerequisites.h> #include "OgreHlmsBufferManager.h" #include "Ogre...
29.952381
97
0.77716
[ "vector" ]
ee4300dcb70122254c4c97d54767883fd63e7732
5,667
cpp
C++
IntegrationProject/cpp/src/Function.cpp
caritherscw/integration-methods
bda9226a506e2bf407505a5c2385119ff26961c2
[ "Apache-2.0" ]
null
null
null
IntegrationProject/cpp/src/Function.cpp
caritherscw/integration-methods
bda9226a506e2bf407505a5c2385119ff26961c2
[ "Apache-2.0" ]
null
null
null
IntegrationProject/cpp/src/Function.cpp
caritherscw/integration-methods
bda9226a506e2bf407505a5c2385119ff26961c2
[ "Apache-2.0" ]
null
null
null
/* * Function.cpp * * Function - relation between a set of inputs and a set of * outputs. Each input is related to exactly one output. * * param <E> - coefficients * param <C> - exponents * * Created on: Dec 26, 2015 * Author: chris */ #include "Function.h" #include "Utilities.h" namespace MathFunc...
31.137363
102
0.578789
[ "vector" ]
ee43c2e1e13c7771a77d31f39a45f4802e9bde88
39,207
cpp
C++
driver/support_library/src/cascading/CombinerDFS.cpp
ARM-software/ethos-n-driver-stack
9f652630c0ff94d8c8b51fd04f6e4dbc34a57e4b
[ "Apache-2.0" ]
25
2020-03-26T19:08:55.000Z
2022-03-14T07:25:44.000Z
driver/support_library/src/cascading/CombinerDFS.cpp
ARM-software/ethos-n-driver-stack
9f652630c0ff94d8c8b51fd04f6e4dbc34a57e4b
[ "Apache-2.0" ]
11
2021-01-13T14:37:10.000Z
2022-02-28T10:05:10.000Z
driver/support_library/src/cascading/CombinerDFS.cpp
ARM-software/ethos-n-driver-stack
9f652630c0ff94d8c8b51fd04f6e4dbc34a57e4b
[ "Apache-2.0" ]
12
2020-09-13T18:02:47.000Z
2022-03-04T17:00:45.000Z
// // Copyright © 2021 Arm Limited. // SPDX-License-Identifier: Apache-2.0 // #include "CombinerDFS.hpp" #include "../SramAllocator.hpp" #include "../Utils.hpp" #include "Cascading.hpp" #include "Estimation.hpp" #include "EstimationUtils.hpp" #include "Part.hpp" #include "Plan.hpp" #include <ethosn_utils/Filesystem....
37.554598
125
0.606091
[ "object", "shape", "vector" ]
ee483779e4880406280412f01dad370a5b205bae
4,156
cpp
C++
src/core/csr/measures/allele_frequency.cpp
gmagoon/octopus
493643d8503239aead9c7e8a7f8bc19fb97b37d5
[ "MIT" ]
1
2018-08-21T23:34:28.000Z
2018-08-21T23:34:28.000Z
src/core/csr/measures/allele_frequency.cpp
gmagoon/octopus
493643d8503239aead9c7e8a7f8bc19fb97b37d5
[ "MIT" ]
null
null
null
src/core/csr/measures/allele_frequency.cpp
gmagoon/octopus
493643d8503239aead9c7e8a7f8bc19fb97b37d5
[ "MIT" ]
null
null
null
// Copyright (c) 2015-2018 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #include "allele_frequency.hpp" #include <algorithm> #include <iterator> #include <boost/variant.hpp> #include "core/tools/read_assigner.hpp" #include "core/types/allele.hpp" #inc...
35.827586
131
0.635948
[ "vector", "transform" ]
ee4a6fd618e41166bf449e9e7f7056fadb958932
10,074
cpp
C++
EngineTest/EngineTest/Source/Core/M5IniFile.cpp
mattCasanova/Mach5
0d98a092bee4c38816911c118fd6552a40850201
[ "MIT" ]
16
2017-06-30T12:49:24.000Z
2021-01-23T17:39:35.000Z
EngineTest/EngineTest/Source/Core/M5IniFile.cpp
mattCasanova/Mach5
0d98a092bee4c38816911c118fd6552a40850201
[ "MIT" ]
2
2017-03-09T20:35:26.000Z
2020-03-20T01:09:40.000Z
EngineTest/EngineTest/Source/Core/M5IniFile.cpp
mattCasanova/Mach5
0d98a092bee4c38816911c118fd6552a40850201
[ "MIT" ]
2
2018-10-21T01:33:17.000Z
2020-03-19T09:30:19.000Z
/******************************************************************************/ /*! file M5IniFile.cpp \author Matt Casanova \par email: lazersquad\@gmail.com \par Mach5 Game Engine \date 2016/08/16 Class to read from or write to an ini file */ /***************************************************...
29.629412
88
0.544074
[ "object" ]
ee4e40b378d24aa27ca284f1364a91f51e98ca83
2,543
hpp
C++
include/algolib/mathmat/primes.hpp
ref-humbold/AlgoLib_CPlusPlus
9c39138f4d4cd9a8a7db62a9e7495b63aefe069c
[ "Apache-2.0" ]
null
null
null
include/algolib/mathmat/primes.hpp
ref-humbold/AlgoLib_CPlusPlus
9c39138f4d4cd9a8a7db62a9e7495b63aefe069c
[ "Apache-2.0" ]
null
null
null
include/algolib/mathmat/primes.hpp
ref-humbold/AlgoLib_CPlusPlus
9c39138f4d4cd9a8a7db62a9e7495b63aefe069c
[ "Apache-2.0" ]
1
2021-04-05T12:11:38.000Z
2021-04-05T12:11:38.000Z
/**! * \file primes.hpp * \brief Algorithms for prime numbers */ #ifndef PRIMES_HPP_ #define PRIMES_HPP_ #include <cstdlib> #include <ctime> #include <algorithm> #include <vector> #include "algolib/mathmat/maths.hpp" namespace algolib::mathmat { #pragma region find_primes /*! * \brief Finds prime numbers...
28.897727
85
0.679119
[ "vector" ]
ee50b1571344cfc2f69f80e07638001f9d8500fd
29,239
cpp
C++
src/materials/CMaterial.cpp
Yung-Quant/elec490
09314b1c3f4f061effa396c104f094f28a0aabff
[ "BSD-3-Clause" ]
null
null
null
src/materials/CMaterial.cpp
Yung-Quant/elec490
09314b1c3f4f061effa396c104f094f28a0aabff
[ "BSD-3-Clause" ]
null
null
null
src/materials/CMaterial.cpp
Yung-Quant/elec490
09314b1c3f4f061effa396c104f094f28a0aabff
[ "BSD-3-Clause" ]
null
null
null
//============================================================================== /* Software License Agreement (BSD License) Copyright (c) 2003-2016, CHAI3D. (www.chai3d.org) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are perm...
34.643365
94
0.528301
[ "mesh", "render", "object", "model" ]
ee5a0a89f18fa5156b93e7b02336ef54c452c088
5,341
cpp
C++
problemsets/Topcoder/SRM 453 (DIV2)/TheBasketballDivTwo.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Topcoder/SRM 453 (DIV2)/TheBasketballDivTwo.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Topcoder/SRM 453 (DIV2)/TheBasketballDivTwo.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ // BEGIN CUT HERE // END CUT HERE #line 5 "TheBasketballDivTwo.cpp" #include <cstdio> #include <cstdlib> #include <ctime> #include <cctype> #include <cstring> #include <sstream> #include <iostream> #include <string> #include <vecto...
26.440594
124
0.538289
[ "vector" ]
ee6233e223926d3fb56fc59b3069bd96636143d9
519
cpp
C++
CodeForces/Complete/800-899/816B-KarenAndCoffee.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/800-899/816B-KarenAndCoffee.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/800-899/816B-KarenAndCoffee.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> #include <vector> int main(){ const long N = 200100; std::vector<long> a(N), b(N); long n, k, q; scanf("%ld %ld %ld", &n, &k, &q); for(long p = 0; p < n; p++){ long l, r; scanf("%ld %ld", &l, &r); ++a[l]; --a[r + 1]; } for(long p = 1; p < N; p++){a[p] += a[p ...
21.625
64
0.38921
[ "vector" ]
ee63c7ec8cc9642967395c4ae3fa2ad4d3955ec2
3,273
cpp
C++
graphicsStuff/Agent.cpp
hariudkmr/zombie_project
70c88d59d687bbc73fb9c12bb921e59881d72cfb
[ "MIT" ]
null
null
null
graphicsStuff/Agent.cpp
hariudkmr/zombie_project
70c88d59d687bbc73fb9c12bb921e59881d72cfb
[ "MIT" ]
null
null
null
graphicsStuff/Agent.cpp
hariudkmr/zombie_project
70c88d59d687bbc73fb9c12bb921e59881d72cfb
[ "MIT" ]
null
null
null
#include "Agent.h" #include "Level.h" #include "../JEngine/ResourceManager.h" #include <algorithm> const unsigned char TILE_SIZE = 64; Agent::Agent() {} Agent::~Agent() {} bool Agent::collideWithLevel(const std::vector<std::string> &levelData) { std::vector<glm::vec2> cTilePoss; // check the 4 ...
27.275
78
0.599145
[ "vector" ]
ee683db56418c7acccc6cd0be9470da195e3f76a
2,700
cpp
C++
src/applications/tests/unit_tests/deserialize_and_run_test.cpp
Derecho-Project/derecho-unified
24c6175fcd33e60f7aab72aad69695f1ec187db2
[ "BSD-3-Clause" ]
50
2016-12-15T19:36:52.000Z
2019-03-27T21:21:10.000Z
src/applications/tests/unit_tests/deserialize_and_run_test.cpp
Derecho-Project/derecho-unified
24c6175fcd33e60f7aab72aad69695f1ec187db2
[ "BSD-3-Clause" ]
111
2017-07-21T17:16:26.000Z
2019-04-02T19:40:14.000Z
src/applications/tests/unit_tests/deserialize_and_run_test.cpp
Derecho-Project/derecho-unified
24c6175fcd33e60f7aab72aad69695f1ec187db2
[ "BSD-3-Clause" ]
26
2017-01-26T14:36:06.000Z
2019-02-01T16:36:57.000Z
#include <derecho/mutils-serialization/SerializationSupport.hpp> #include <cstdint> #include <functional> #include <iomanip> #include <iostream> #include <numeric> #include <vector> using callback_function_t = std::function<void(int64_t, const std::vector<int>&)>; int main(int argc, char** argv) { std::vector<in...
44.262295
141
0.651111
[ "vector" ]
ee6ef49a5866531c7ae2cf29ba014735fda18cb1
27,260
cpp
C++
build/OneCutWithSeeds_v1.03/OneCut_Main.cpp
wilmeragsgh/pdi_project
69003747c65298858107b1e52daa8b4bb46bffc1
[ "MIT" ]
null
null
null
build/OneCutWithSeeds_v1.03/OneCut_Main.cpp
wilmeragsgh/pdi_project
69003747c65298858107b1e52daa8b4bb46bffc1
[ "MIT" ]
null
null
null
build/OneCutWithSeeds_v1.03/OneCut_Main.cpp
wilmeragsgh/pdi_project
69003747c65298858107b1e52daa8b4bb46bffc1
[ "MIT" ]
null
null
null
//Copyright (c) 2014, Lena Gorelick //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 condi...
30.837104
168
0.630778
[ "object", "vector" ]
ee70e40a5a4fb0b22faac4f3b8fe4f50c3a411da
3,605
cpp
C++
Vulkan-Pipeline-Assistant/Widgets/spvmatrixwidget.cpp
Untitled-Games/Vulkan-Pipeline-Assistant
e4b03148a51a716cfb668c197873b12525743592
[ "MIT" ]
5
2019-12-24T18:06:05.000Z
2020-02-10T01:41:36.000Z
Vulkan-Pipeline-Assistant/Widgets/spvmatrixwidget.cpp
Untitled-Games/Vulkan-Pipeline-Assistant
e4b03148a51a716cfb668c197873b12525743592
[ "MIT" ]
7
2019-12-28T12:06:07.000Z
2020-02-05T11:33:21.000Z
Vulkan-Pipeline-Assistant/Widgets/spvmatrixwidget.cpp
Untitled-Games/Vulkan-Pipeline-Assistant
e4b03148a51a716cfb668c197873b12525743592
[ "MIT" ]
null
null
null
#include "spvmatrixwidget.h" #include <QLineEdit> #include <QLayout> #include <QPushButton> #include <QCoreApplication> #include <QComboBox> #include <QMatrix4x4> #include "../Vulkan/spirvresource.h" #include "../Vulkan/descriptors.h" #include "descriptortree.h" #include "mainwindow.h" namespace vpa { SpvMatrixW...
41.918605
130
0.59473
[ "model" ]
ee7720cff95434544712e7d90883b2bde397e461
2,195
cpp
C++
src/Tap2ScreenApplication.cpp
kolayuk/Tap2Screen
824893bb84b8c81b8151a25b415ea2def610c4ba
[ "Apache-2.0" ]
3
2015-06-30T14:08:20.000Z
2020-04-27T03:19:58.000Z
src/Tap2ScreenApplication.cpp
kolayuk/Tap2Screen
824893bb84b8c81b8151a25b415ea2def610c4ba
[ "Apache-2.0" ]
null
null
null
src/Tap2ScreenApplication.cpp
kolayuk/Tap2Screen
824893bb84b8c81b8151a25b415ea2def610c4ba
[ "Apache-2.0" ]
null
null
null
/* ======================================================================== Name : Tap2ScreenApplication.cpp Author : Usanov-Kornilov Nikolay (aka Kolay) Copyright : Contacts: kolayuk@mail.ru http://kolaysoft.ru (c) KolaySoft, 2010 Description : ======================================...
25.823529
96
0.663326
[ "object" ]
ee7a06993c8f059a1b2e43c90679517f18673713
1,281
cpp
C++
Simple_Game_Engine/Source/Map.cpp
HoloDev42/SimpleGameEngine
f8101781ab6705452d5edf0dacf85335d8b9f0c6
[ "MIT" ]
null
null
null
Simple_Game_Engine/Source/Map.cpp
HoloDev42/SimpleGameEngine
f8101781ab6705452d5edf0dacf85335d8b9f0c6
[ "MIT" ]
null
null
null
Simple_Game_Engine/Source/Map.cpp
HoloDev42/SimpleGameEngine
f8101781ab6705452d5edf0dacf85335d8b9f0c6
[ "MIT" ]
1
2018-09-15T00:41:19.000Z
2018-09-15T00:41:19.000Z
#include "Map.h" Map::Map() { m_ObjectsCount=0; m_Map = 0; } Map::Map(const Map& other) { } bool Map::Initialize(char* filename) { std::ifstream fin; char input; int i; // Open the model file. fin.open(filename); // If it could not open the file then exit. if(fin.fail()) { return false; } // Re...
13.34375
81
0.644809
[ "model" ]
ee7b55a5119f34f5cb8806c50a1965ad6c298f58
1,307
cpp
C++
src/AdventOfCode2019/Day24-PlanetOfDiscord/Day24-PlanetOfDiscord.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2019/Day24-PlanetOfDiscord/Day24-PlanetOfDiscord.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2019/Day24-PlanetOfDiscord/Day24-PlanetOfDiscord.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
#include "Day24-PlanetOfDiscord.h" #include "BugCellularAutomaton.h" #include <AdventOfCodeCommon/DisableLibraryWarningsMacros.h> __BEGIN_LIBRARIES_DISABLE_WARNINGS __END_LIBRARIES_DISABLE_WARNINGS namespace AdventOfCode { namespace Year2019 { namespace Day24 { Layout createLayout(const std::vector<std::string>& l...
21.783333
115
0.710023
[ "vector" ]
ee7c12f7da2967ea30a321a07248e5c0871e9915
8,380
cpp
C++
Blik2D/addon/openalpr-2.3.0_for_blik/src/openalpr/prewarp.cpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
13
2017-02-22T02:20:06.000Z
2018-06-06T04:18:03.000Z
Blik2D/addon/openalpr-2.3.0_for_blik/src/openalpr/prewarp.cpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
null
null
null
Blik2D/addon/openalpr-2.3.0_for_blik/src/openalpr/prewarp.cpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
null
null
null
/* * Copyright (c) 2015 OpenALPR Technology, Inc. * Open source Automated License Plate Recognition [http://www.openalpr.com] * * This file is part of OpenALPR. * * OpenALPR is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License * version 3 as publi...
27.656766
149
0.591885
[ "vector", "transform", "3d" ]
ee7d64b69dee21770ea6b103a633b92e47d0caec
8,576
cc
C++
test/apps/activity-loader.cc
zhiqiang-hu/cell-phone-ux-demo
80df27f47bdf3318b60fe327890f868c3fe28969
[ "Apache-2.0" ]
13
2017-12-17T16:18:44.000Z
2022-01-07T15:40:36.000Z
test/apps/activity-loader.cc
zhiqiang-hu/cell-phone-ux-demo
80df27f47bdf3318b60fe327890f868c3fe28969
[ "Apache-2.0" ]
null
null
null
test/apps/activity-loader.cc
zhiqiang-hu/cell-phone-ux-demo
80df27f47bdf3318b60fe327890f868c3fe28969
[ "Apache-2.0" ]
8
2018-07-07T03:08:33.000Z
2022-01-27T09:25:08.000Z
/////////////////////////////////////////////////////////////////////////////// // // IMPORTANT NOTICE // // The following open source license statement does not apply to any // entity in the Exception List published by FMSoft. // // For more information, please visit: // // https://www.fmsoft....
29.47079
104
0.559585
[ "vector" ]
ee8865bea33c7dcaf1745db6c71d6cc82a089527
291
cpp
C++
Interview/code/code.cpp
xiaorancs/xr-Algorithm
4b522b2936b986f7891756fc610917b99864c534
[ "MIT" ]
7
2017-12-11T12:42:39.000Z
2019-11-17T15:10:26.000Z
Interview/code/code.cpp
xiaorancs/xr-Algorithm
4b522b2936b986f7891756fc610917b99864c534
[ "MIT" ]
1
2018-08-29T12:29:51.000Z
2018-08-29T12:29:51.000Z
Interview/code/code.cpp
xiaorancs/xr-Algorithm
4b522b2936b986f7891756fc610917b99864c534
[ "MIT" ]
2
2018-01-29T08:26:30.000Z
2018-08-10T01:30:44.000Z
/** *Author: xiaoran *座右铭:既来之,则安之 */ #include<iostream> #include<stdio.h> #include<algorithm> #include<math.h> #include<set> #include<map> #include<vector> #include<string> #include<string.h> using namespace std; typedef long long LL; const int MAXN = 1005; int main() { return 0; }
11.64
22
0.694158
[ "vector" ]
ee891388251f6bcb17d46b86a674f0a8cc8ff1c3
12,255
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/CPP/joinmulticastgroup.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/CPP/joinmulticastgroup.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Remoting/System.Net.Sockets.UdpClient.JoinMulticastGroup/CPP/joinmulticastgroup.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// File name:multicastOperations.cs // This example shows how to join a multicast group and perform a muticast // data exchange. The OriginatorClient Object* starts the conversation while // the TargetClient responds. The two helper objects Receive and Send // perform the actual data exchange. // Note. This pr...
37.477064
106
0.639331
[ "object", "transform" ]
ee8b3b74c13eaf91f29168329bd905150960d7db
729
hpp
C++
include/verifyDriveGeometry.hpp
openbmc/estoraged
4906f4ef7e04ddbbf18a401a5b9963748270cce2
[ "Apache-2.0" ]
1
2021-11-23T19:22:16.000Z
2021-11-23T19:22:16.000Z
include/verifyDriveGeometry.hpp
openbmc/estoraged
4906f4ef7e04ddbbf18a401a5b9963748270cce2
[ "Apache-2.0" ]
1
2021-11-04T01:58:36.000Z
2021-11-04T01:58:36.000Z
include/verifyDriveGeometry.hpp
openbmc/estoraged
4906f4ef7e04ddbbf18a401a5b9963748270cce2
[ "Apache-2.0" ]
null
null
null
#pragma once #include "erase.hpp" #include "util.hpp" #include <string_view> namespace estoraged { class VerifyDriveGeometry : public Erase { public: /** @brief Creates a verifyDriveGeomentry erase object. * * @param[in] inDevPath - the linux device path for the block device. */ VerifyDriv...
21.441176
74
0.663923
[ "object" ]
ee8c8d4bea3ce897bada9ef27214532a5c7aaf3e
2,051
cpp
C++
Natsu2D/RenderDevice/n2dVBOHelper.cpp
akemimadoka/Natsu2D
c1dd335642f3485470aebde165416a19a8751b4d
[ "WTFPL" ]
11
2016-01-26T09:49:56.000Z
2019-04-24T09:33:40.000Z
Natsu2D/RenderDevice/n2dVBOHelper.cpp
akemimadoka/Natsu2D
c1dd335642f3485470aebde165416a19a8751b4d
[ "WTFPL" ]
null
null
null
Natsu2D/RenderDevice/n2dVBOHelper.cpp
akemimadoka/Natsu2D
c1dd335642f3485470aebde165416a19a8751b4d
[ "WTFPL" ]
null
null
null
#include "n2dVBOHelper.h" #include <map> #include <algorithm> #ifdef max # undef max #endif #ifdef min # undef min #endif namespace n2dVBOHelper { struct PackedVertex { natVec3<> position; natVec2<> uv; natVec3<> normal; bool operator<(const PackedVertex& other) const { return memcmp(this, &other, siz...
25.320988
152
0.685519
[ "vector" ]
ee8fa29fd47e4da4d399b40efcf38d40462dd08d
2,553
cpp
C++
src/Exercises/PyramidAnimation/pyramid.cpp
mjaglarz/3D-graphics-programming
636fb074a6e68caf0fa111d658d9e7594b88142d
[ "MIT" ]
null
null
null
src/Exercises/PyramidAnimation/pyramid.cpp
mjaglarz/3D-graphics-programming
636fb074a6e68caf0fa111d658d9e7594b88142d
[ "MIT" ]
null
null
null
src/Exercises/PyramidAnimation/pyramid.cpp
mjaglarz/3D-graphics-programming
636fb074a6e68caf0fa111d658d9e7594b88142d
[ "MIT" ]
null
null
null
#include <vector> #include "pyramid.h" Pyramid::Pyramid() { std::vector<GLfloat> vertices = { //Front of the pyramid 0.0f, 0.5f, 0.0f, 1.0f, 0.0f, 0.0f, 0.5f, -0.5f, 0.5f, 1.0f, 0.0f, 0.0f, -0.5f, -0.5f, 0.5f, 1.0f, 0.0f, 0.0f, //Right side of the pyrami...
32.730769
120
0.560909
[ "vector" ]
ee90bf24382d3f6594fe950b180667b3827af1b6
1,014
cpp
C++
144.Binary Tree Preorder Traversal/main.cpp
Kingpie/leetcode
b5fd90a12f34f5baf24a3d4fa04c0914dd3e000f
[ "Apache-2.0" ]
null
null
null
144.Binary Tree Preorder Traversal/main.cpp
Kingpie/leetcode
b5fd90a12f34f5baf24a3d4fa04c0914dd3e000f
[ "Apache-2.0" ]
null
null
null
144.Binary Tree Preorder Traversal/main.cpp
Kingpie/leetcode
b5fd90a12f34f5baf24a3d4fa04c0914dd3e000f
[ "Apache-2.0" ]
null
null
null
/*Given a binary tree, return the preorder traversal of its nodes' values. Example: Input: [1,null,2,3] 1 \ 2 / 3 Output: [1,2,3] Follow up: Recursive solution is trivial, could you do it iteratively? 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/binary-tree-preorder-traversal 著作权归领扣网络所有。商业...
21.574468
74
0.557199
[ "vector" ]
ee91f57b1dd30cf229310cd5ff243cd242819ddd
3,341
cpp
C++
src/model.cpp
JeanCharlesNeboit/OpenGL
cf0365cb3c38a5f8cb9831607382e04d7112a642
[ "Apache-2.0" ]
null
null
null
src/model.cpp
JeanCharlesNeboit/OpenGL
cf0365cb3c38a5f8cb9831607382e04d7112a642
[ "Apache-2.0" ]
null
null
null
src/model.cpp
JeanCharlesNeboit/OpenGL
cf0365cb3c38a5f8cb9831607382e04d7112a642
[ "Apache-2.0" ]
null
null
null
#include "model.hpp" Model::Model(std::string path) { loadModel(path); } void Model::loadModel(std::string path) { Assimp::Importer importer; const aiScene *scene = importer.ReadFile(path, aiProcess_Triangulate | aiProcess_FlipUVs); if(!scene || scene->mFlags & AI_SCENE_FLAGS_INCOMPLETE || !scene->mRootNode)...
29.830357
120
0.650703
[ "mesh", "vector", "model" ]
ee9776768608864befdefdf96fde32d5cca6bd35
2,796
cpp
C++
sdk/core/azure-core/test/ut/request_id_policy_test.cpp
RickWinter/azure-sdk-for-cpp
b4fe751310f53669a941e00aa93072f2d10a4eba
[ "MIT" ]
96
2020-03-19T07:49:39.000Z
2022-03-20T14:22:41.000Z
sdk/core/azure-core/test/ut/request_id_policy_test.cpp
RickWinter/azure-sdk-for-cpp
b4fe751310f53669a941e00aa93072f2d10a4eba
[ "MIT" ]
2,572
2020-03-18T22:54:53.000Z
2022-03-31T22:09:59.000Z
sdk/core/azure-core/test/ut/request_id_policy_test.cpp
RickWinter/azure-sdk-for-cpp
b4fe751310f53669a941e00aa93072f2d10a4eba
[ "MIT" ]
81
2020-03-19T09:42:00.000Z
2022-03-24T05:11:05.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include <azure/core/http/policies/policy.hpp> #include <azure/core/internal/http/pipeline.hpp> #include <gtest/gtest.h> using namespace Azure::Core; using namespace Azure::Core::Http; using namespace Azure::Core::Http::Poli...
29.431579
100
0.712446
[ "vector" ]
ee9d1ee281ed3c0e0b5ae7dca6f4766e9c4e63ec
4,010
cc
C++
libs/render/src/render/compiledlines.cc
madeso/euphoria
59b72d148a90ae7a19e197e91216d4d42f194fd5
[ "MIT" ]
24
2015-07-27T14:32:18.000Z
2021-11-15T12:11:31.000Z
libs/render/src/render/compiledlines.cc
madeso/euphoria
59b72d148a90ae7a19e197e91216d4d42f194fd5
[ "MIT" ]
27
2021-07-09T21:18:40.000Z
2021-07-14T13:39:56.000Z
libs/render/src/render/compiledlines.cc
madeso/euphoria
59b72d148a90ae7a19e197e91216d4d42f194fd5
[ "MIT" ]
null
null
null
#include "render/compiledlines.h" #include <numeric> #include "core/lines.h" #include "core/cint.h" #include "render/shaderattribute3d.h" #include "render/attributebinder.h" #include "render/materialshader.h" #include "render/materialshadercache.h" namespace euphoria::render { void convert_lines_to_index_bu...
27.847222
87
0.534913
[ "render", "vector" ]
ee9d447a7c2970abe1f03eeb5caf6c40101be7bb
1,329
cpp
C++
rede_neural/main.cpp
NicolasCaous/ArduinoDrop
5aada476bddb208046e65add2e1393315492c1f8
[ "MIT" ]
null
null
null
rede_neural/main.cpp
NicolasCaous/ArduinoDrop
5aada476bddb208046e65add2e1393315492c1f8
[ "MIT" ]
null
null
null
rede_neural/main.cpp
NicolasCaous/ArduinoDrop
5aada476bddb208046e65add2e1393315492c1f8
[ "MIT" ]
null
null
null
#include "Net.h" int main() { srand (time(NULL)); std::vector<unsigned> topology; topology.push_back(2); topology.push_back(4); topology.push_back(1); Net myNet(topology); std::vector<double> inputVals; std::vector<double> targetVals; std::vector<double> resultVals; ...
24.611111
104
0.489842
[ "vector" ]
eea4c42221d778ace7567837a0755a9e76339449
1,389
cpp
C++
ARLogViewer/src/main.cpp
karstensensensen/AsciiRender
1eb61e655d679cc5833c96d96fab3ccf9672f91f
[ "MIT" ]
2
2021-07-24T14:42:15.000Z
2021-07-24T14:43:08.000Z
ARLogViewer/src/main.cpp
karstensensensen/AsciiRender
1eb61e655d679cc5833c96d96fab3ccf9672f91f
[ "MIT" ]
null
null
null
ARLogViewer/src/main.cpp
karstensensensen/AsciiRender
1eb61e655d679cc5833c96d96fab3ccf9672f91f
[ "MIT" ]
null
null
null
#include <Asciir.h> #include "LogViewer.h" class LogTerm : public Asciir::AREngine { public: Asciir::LogViewer logviewer; std::string m_log_dir; LogTerm(const std::string& log_dir) :logviewer(log_dir, { Asciir::WHITE8, // Info color White (Default terminal color) Asciir::IGREEN8, // Notify color Green As...
20.426471
81
0.655868
[ "vector" ]
eea70f3334f7c497b0b516d62f2198668344df39
8,349
hpp
C++
3rdParty/iresearch/core/formats/sparse_bitmap.hpp
usalko/arapy
204038e9a8301b16a6ec31e10a3289ca0c7ada91
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
3rdParty/iresearch/core/formats/sparse_bitmap.hpp
usalko/arapy
204038e9a8301b16a6ec31e10a3289ca0c7ada91
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
3rdParty/iresearch/core/formats/sparse_bitmap.hpp
usalko/arapy
204038e9a8301b16a6ec31e10a3289ca0c7ada91
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2021 ArangoDB GmbH, Cologne, Germany /// /// 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...
29.501767
89
0.593724
[ "vector" ]
eea829e5825b599ff6b2429d12f3568d6673e292
24,145
cc
C++
.generated/gen/parser/parser-spec.cc
blutmond/danach
0cd3b27f03d2d2cf563f90a14628b8bf5bb36283
[ "Apache-2.0" ]
null
null
null
.generated/gen/parser/parser-spec.cc
blutmond/danach
0cd3b27f03d2d2cf563f90a14628b8bf5bb36283
[ "Apache-2.0" ]
null
null
null
.generated/gen/parser/parser-spec.cc
blutmond/danach
0cd3b27f03d2d2cf563f90a14628b8bf5bb36283
[ "Apache-2.0" ]
null
null
null
#include "parser/parser-support.h" #include "parser/ast-context.h" namespace production_spec { namespace tok { enum T {arrow, close_arr, close_brace, close_paran, colon, coloncolon, comma, dot, eof, equal, identifier, number, open_arr, open_brace, open_paran, percent, pipe, plus, semi, star, str}; const char* Stringif...
25.151042
632
0.688797
[ "vector" ]
eeab9017ee82b5f7c07ce35032267a667bd9cf4e
955
hpp
C++
include/state_controller.hpp
GDC-WM/2DGame2021
cc36d6ea3709feeb295c82c498e2c19ca01ffd8b
[ "MIT" ]
1
2021-10-17T01:20:37.000Z
2021-10-17T01:20:37.000Z
include/state_controller.hpp
GDC-WM/2DGame2021
cc36d6ea3709feeb295c82c498e2c19ca01ffd8b
[ "MIT" ]
28
2021-10-07T05:07:00.000Z
2022-01-16T06:08:57.000Z
include/state_controller.hpp
GDC-WM/2DGame2021
cc36d6ea3709feeb295c82c498e2c19ca01ffd8b
[ "MIT" ]
2
2021-11-21T07:17:36.000Z
2021-11-22T01:39:28.000Z
#ifndef STATE_CONTROLLER_HPP #define STATE_CONTROLLER_HPP #include <SFML/Graphics.hpp> #include <memory> #include <stack> class State; /** * Manages states using a stack of states */ class StateController : public std::enable_shared_from_this<StateController> { public: StateController(); /** * @return The sta...
20.76087
78
0.671204
[ "render" ]
eeac65e8ae2d6c97b29518c236b7e5a1a3035e94
4,622
hh
C++
src/c++/include/variant/VariantReader.hh
nh13/hap.py
fd67904f7a68981e76c12301aa2add2718b30120
[ "BSL-1.0" ]
315
2015-07-21T13:53:30.000Z
2022-03-17T02:01:19.000Z
src/c++/include/variant/VariantReader.hh
nh13/hap.py
fd67904f7a68981e76c12301aa2add2718b30120
[ "BSL-1.0" ]
147
2015-11-26T03:06:24.000Z
2022-03-28T18:22:33.000Z
src/c++/include/variant/VariantReader.hh
nh13/hap.py
fd67904f7a68981e76c12301aa2add2718b30120
[ "BSL-1.0" ]
124
2015-07-21T13:55:14.000Z
2022-03-23T17:34:31.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // // Copyright (c) 2010-2015 Illumina, Inc. // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source code must retain the...
29.253165
123
0.67222
[ "vector" ]
eeacd8b099f667d1abbe7a223aded1294ade30b0
20,625
cc
C++
tuplex/io/src/S3File.cc
rahulyesantharao/tuplex
03733a57ccb5a3770eecaf1c3adcfb520ed82138
[ "Apache-2.0" ]
null
null
null
tuplex/io/src/S3File.cc
rahulyesantharao/tuplex
03733a57ccb5a3770eecaf1c3adcfb520ed82138
[ "Apache-2.0" ]
null
null
null
tuplex/io/src/S3File.cc
rahulyesantharao/tuplex
03733a57ccb5a3770eecaf1c3adcfb520ed82138
[ "Apache-2.0" ]
null
null
null
//--------------------------------------------------------------------------------------------------------------------// // // // Tuplex: Blazing Fast Python Data Scien...
38.915094
134
0.570861
[ "object", "model" ]
eeaea1a275c06e640ea7f02313e0a72c68f18c90
1,668
cpp
C++
source/lmi0_oracle.cpp
luk036/lmi-solver-cpp
e747d76740046af29e3b0746df4f9b829d24283c
[ "Unlicense" ]
null
null
null
source/lmi0_oracle.cpp
luk036/lmi-solver-cpp
e747d76740046af29e3b0746df4f9b829d24283c
[ "Unlicense" ]
null
null
null
source/lmi0_oracle.cpp
luk036/lmi-solver-cpp
e747d76740046af29e3b0746df4f9b829d24283c
[ "Unlicense" ]
null
null
null
#include <stddef.h> // for size_t #include <gsl/span> // for span, span<>::element_type #include <lmisolver/lmi0_oracle.hpp> // for lmi0_oracle::Arr, lmi0_oracle... #include <optional> // for optional #include <tuple> // for tuple #include <type_traits...
30.888889
86
0.569544
[ "object", "shape" ]
eeb4a1249a014ca99aca327f6ce9f28783eb39af
32,034
hpp
C++
library_examples/MCEuropeanEngine/include/xf_fintech/rng.hpp
vishnuchebrolu/Vitis_Accel_Examples
0f573c014efb0e385f4a7d9306821a111ebf2b74
[ "BSD-3-Clause" ]
1
2021-11-17T10:52:01.000Z
2021-11-17T10:52:01.000Z
library_examples/MCEuropeanEngine/include/xf_fintech/rng.hpp
chipet/Vitis_Accel_Examples
f72dff9eea45a76e9ee0713774589624e2b52c9f
[ "BSD-3-Clause" ]
null
null
null
library_examples/MCEuropeanEngine/include/xf_fintech/rng.hpp
chipet/Vitis_Accel_Examples
f72dff9eea45a76e9ee0713774589624e2b52c9f
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2019 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
29.854613
116
0.611975
[ "vector", "transform" ]
eeba0a519deebc0af2833e8e038a9e4e4c299038
4,714
cc
C++
src/tests/interpolation/test_interpolation_non_linear.cc
wdeconinck/atlas
8949d2b362b9b5431023a967bcf4ca84f6b8ce05
[ "Apache-2.0" ]
null
null
null
src/tests/interpolation/test_interpolation_non_linear.cc
wdeconinck/atlas
8949d2b362b9b5431023a967bcf4ca84f6b8ce05
[ "Apache-2.0" ]
null
null
null
src/tests/interpolation/test_interpolation_non_linear.cc
wdeconinck/atlas
8949d2b362b9b5431023a967bcf4ca84f6b8ce05
[ "Apache-2.0" ]
null
null
null
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an int...
32.068027
118
0.577641
[ "mesh" ]
eebc2ec6b2404c2df4baeb89c746fdd90e850017
2,546
cpp
C++
ClientDemo/DlgDynChanAbility.cpp
xiaocaovc/hkvs
569c57b03adf5723ccc1df0de6c96858062d23e1
[ "MIT" ]
2
2017-09-05T07:01:13.000Z
2019-07-16T17:18:28.000Z
ClientDemo/DlgDynChanAbility.cpp
xiaocaovc/hkvs
569c57b03adf5723ccc1df0de6c96858062d23e1
[ "MIT" ]
null
null
null
ClientDemo/DlgDynChanAbility.cpp
xiaocaovc/hkvs
569c57b03adf5723ccc1df0de6c96858062d23e1
[ "MIT" ]
3
2019-08-26T02:28:54.000Z
2020-11-04T04:29:19.000Z
// DlgDynChanAbility.cpp : implementation file // #include "stdafx.h" #include "clientdemo.h" #include "DlgDynChanAbility.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDlgDynChanAbil...
28.288889
126
0.681854
[ "3d" ]
eebd29aaa03c44e4aefcdccc146383710b4fdd39
17,886
hpp
C++
source/core/Module.hpp
FergusonAJ/MABE2
608c6dfcd6735c077594027d0e129084fc5ca830
[ "MIT" ]
null
null
null
source/core/Module.hpp
FergusonAJ/MABE2
608c6dfcd6735c077594027d0e129084fc5ca830
[ "MIT" ]
1
2021-06-30T17:57:51.000Z
2021-06-30T17:57:51.000Z
source/core/Module.hpp
FergusonAJ/MABE2
608c6dfcd6735c077594027d0e129084fc5ca830
[ "MIT" ]
null
null
null
/** * @note This file is part of MABE, https://github.com/mercere99/MABE2 * @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md * @date 2019-2021. * * @file Module.hpp * @brief Base class for all MABE modules. * * Core module functionality is split between Module...
42.995192
110
0.660517
[ "object", "vector" ]
eebd7dc095824080b4a6b7fe3f0199c07c5bc00a
6,247
cpp
C++
Firmware/Platform_NordicSDK/EPXPlatform_Runtime.cpp
harishsk/ExpressivePixels
db878e0f86c06a481fb073a70fee8368bbf3b53e
[ "MIT" ]
54
2020-09-04T12:02:30.000Z
2022-03-27T21:17:02.000Z
Firmware/Platform_NordicSDK/EPXPlatform_Runtime.cpp
harishsk/ExpressivePixels
db878e0f86c06a481fb073a70fee8368bbf3b53e
[ "MIT" ]
16
2020-09-04T14:36:14.000Z
2022-01-13T03:29:27.000Z
Firmware/Platform_NordicSDK/EPXPlatform_Runtime.cpp
harishsk/ExpressivePixels
db878e0f86c06a481fb073a70fee8368bbf3b53e
[ "MIT" ]
10
2020-09-04T22:54:57.000Z
2021-12-10T14:20:31.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "app_util_platform.h" #include "nrf_drv_timer.h" #include "nrf_delay.h" #include "nrf_timer.h" #include "nrf_drv_wdt.h" #include <string.h> #include <ctype.h> #include "EPXPlatform_Runtime.h" #include "EPXPlatform_GPIO.h" extern "C" { ...
17.899713
158
0.685609
[ "object" ]
eebd9790fb288e2fa7b1a8c2527cbddfde2dcfe7
977
cpp
C++
Matrix.cpp
DokanBoy/c_labs
abdbe073388a59320e21a4ab85ecab031abcf501
[ "Apache-2.0" ]
null
null
null
Matrix.cpp
DokanBoy/c_labs
abdbe073388a59320e21a4ab85ecab031abcf501
[ "Apache-2.0" ]
null
null
null
Matrix.cpp
DokanBoy/c_labs
abdbe073388a59320e21a4ab85ecab031abcf501
[ "Apache-2.0" ]
null
null
null
#include "Stack.cpp" #include <vector> #include <pbt.h> template<typename T> class Matrix { private: std::vector<std::vector<T>> *matrix{}; public: Matrix() { matrix = new std::vector<std::vector<T>>(); } std::vector<std::vector<T>> *getMatrix() { return matrix; } std::vector...
21.711111
67
0.493347
[ "vector" ]
eed2aee901f95de53624267999fcee498c31a3af
2,623
cpp
C++
lib/Grid.cpp
pstefa1707/Conways-Game-Of-Life
41c40a65626e819109cdd5ccb030b7e33c60f6cb
[ "MIT" ]
null
null
null
lib/Grid.cpp
pstefa1707/Conways-Game-Of-Life
41c40a65626e819109cdd5ccb030b7e33c60f6cb
[ "MIT" ]
null
null
null
lib/Grid.cpp
pstefa1707/Conways-Game-Of-Life
41c40a65626e819109cdd5ccb030b7e33c60f6cb
[ "MIT" ]
null
null
null
#include "Grid.hpp" #include "SFML/Graphics.hpp" void Grid::populate() { for (int x = 0; x < this->_width; x++) { for (int y = 0; y < this->_height; y++) { if (rand()%100 < 20) { this->cells[y * this->_width + x] = status::alive; } ...
26.765306
84
0.428898
[ "vector" ]
eedbb9360acdd526300f42aa800fa9c88193be93
460,569
cpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_dhcpd_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_dhcpd_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_dhcpd_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XR_ipv4_dhcpd_cfg.hpp" using namespace ydk; namespace cisco_ios_xr { namespace Cisco_IOS_XR_ipv4_dhcpd_cfg { Ipv4Dhcpd::Ipv4Dhcpd() : enable{YType::empt...
33.013332
687
0.688629
[ "vector" ]
4abcef1347e813671009cc9e3411e4f813b9aea9
3,054
cpp
C++
Day_24/06_Kruskal_MST.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
Day_24/06_Kruskal_MST.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
Day_24/06_Kruskal_MST.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
// Problem Link: // https://practice.geeksforgeeks.org/problems/minimum-spanning-tree/1# // Priority Queue // TC: O(n*log(n) + n*(4*alpha)) // SC: O(n) #include <bits/stdc++.h> using namespace std; class disjointSet { private: vector<int> parent; vector<int> weight; public: disjointSet(int n) { ...
22.455882
88
0.552063
[ "vector" ]
4abf0a5a3d2170142067f88d1d4eee175dd0053f
3,230
cpp
C++
src/recorder/joint_state.cpp
Pandhariix/naoqi_driver
460e778b60e48432aecb506e303db8ce64c8315e
[ "Apache-2.0" ]
38
2015-08-20T15:35:48.000Z
2022-03-23T13:43:06.000Z
src/recorder/joint_state.cpp
Pandhariix/naoqi_driver
460e778b60e48432aecb506e303db8ce64c8315e
[ "Apache-2.0" ]
109
2015-07-31T16:11:14.000Z
2022-03-17T14:08:23.000Z
src/recorder/joint_state.cpp
Pandhariix/naoqi_driver
460e778b60e48432aecb506e303db8ce64c8315e
[ "Apache-2.0" ]
78
2015-08-23T08:50:39.000Z
2022-03-07T11:05:39.000Z
/* * Copyright 2015 Aldebaran * * 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...
28.086957
99
0.713622
[ "vector" ]
4ac205973bc65e5a21f5b4becae9c8ec58dad48a
9,185
cpp
C++
src/CostModelPass.cpp
ferhaterata/etap
ce1953fbe058cb2a8e2d45fbdc28aa9e654fac0f
[ "MIT" ]
2
2022-02-27T11:41:57.000Z
2022-03-03T04:15:24.000Z
src/CostModelPass.cpp
ferhaterata/etap
ce1953fbe058cb2a8e2d45fbdc28aa9e654fac0f
[ "MIT" ]
null
null
null
src/CostModelPass.cpp
ferhaterata/etap
ce1953fbe058cb2a8e2d45fbdc28aa9e654fac0f
[ "MIT" ]
1
2022-02-28T20:15:03.000Z
2022-02-28T20:15:03.000Z
#include <fstream> #include <iostream> #include "llvm/ADT/MapVector.h" #include "llvm/IR/BasicBlock.h" #include "llvm/Passes/PassBuilder.h" #include "llvm/Support/raw_ostream.h" using CostPair = std::pair<std::string, std::string>; using BBCostMap = llvm::MapVector<llvm::BasicBlock*, CostPair>; struct CostModelPass ...
40.285088
80
0.51497
[ "model" ]
4ac42f59af002bc2f829aafc0a2f0f821a83e8af
19,893
cc
C++
wrappers/8.1.1/vtkImageShrink3DWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkImageShrink3DWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkImageShrink3DWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkThreadedImageAlgorithmWrap.h" #include "vtkImageShrink3DWrap.h" #include "vtkObjectBaseWrap.h" #include "../../plus/plus.h" using namespace...
29.040876
106
0.705072
[ "object" ]
4ac85dca08f5a221e7f4e56a349449ac0f3416c8
20,023
cpp
C++
graphics/meshlab/src/meshlabplugins/edit_quality/common/transferfunction.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/meshlab/src/meshlabplugins/edit_quality/common/transferfunction.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/meshlab/src/meshlabplugins/edit_quality/common/transferfunction.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * MeshLab o o * * A versatile mesh processing toolbox o o * * _ O _ * * Copyri...
33.095868
431
0.676372
[ "mesh", "object" ]
4ad087ba13a08a5d35f9dfb6aaa77dcd461cb71e
13,806
cpp
C++
sqlite.cpp
Deledrius/godot-sqlite
5fdb59570e7d85b9e8d469b77e72e730766bf587
[ "MIT" ]
2
2020-04-23T01:34:38.000Z
2020-10-16T10:31:06.000Z
sqlite.cpp
Deledrius/godot-sqlite
5fdb59570e7d85b9e8d469b77e72e730766bf587
[ "MIT" ]
null
null
null
sqlite.cpp
Deledrius/godot-sqlite
5fdb59570e7d85b9e8d469b77e72e730766bf587
[ "MIT" ]
1
2020-04-23T01:36:30.000Z
2020-04-23T01:36:30.000Z
#include "sqlite.h" #include "core/core_bind.h" #include "core/os/os.h" #include "editor/project_settings_editor.h" Array fast_parse_row(sqlite3_stmt *stmt) { Array result; // Get column count const int col_count = sqlite3_column_count(stmt); // Fetch all column for (int i = 0; i < col_count; i++) { // Value ...
26.098299
171
0.684268
[ "object" ]
4ad3ee3b431adde83b7f2cea4e5aac0a8fb936b9
3,219
cpp
C++
d2mapapi/piped.cpp
liuyi1/D2RMH
43f5302a61d43a1038245e11a110d7dd5db1ac8b
[ "MIT" ]
null
null
null
d2mapapi/piped.cpp
liuyi1/D2RMH
43f5302a61d43a1038245e11a110d7dd5db1ac8b
[ "MIT" ]
null
null
null
d2mapapi/piped.cpp
liuyi1/D2RMH
43f5302a61d43a1038245e11a110d7dd5db1ac8b
[ "MIT" ]
null
null
null
/* * Copyright (c) 2021 Soar Qin<soarchin@gmail.com> * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. */ #include "d2map.h" #include "session.h" #include <windows.h> #include <unordered_map> #include <cstdint> e...
33.185567
120
0.542094
[ "vector" ]
4ad52cb9bf2b64d420f25c26d49013430fc692b5
2,327
hpp
C++
libs/boost_1_72_0/boost/python/object_protocol_core.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/python/object_protocol_core.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/python/object_protocol_core.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// Copyright David Abrahams 2002. // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef OBJECT_PROTOCOL_CORE_DWA2002615_HPP #define OBJECT_PROTOCOL_CORE_DWA2002615_HPP #include <boost/python/detail/prefix.hpp>...
36.936508
78
0.699183
[ "object" ]
4adaa4592acac1969ad5511692f5d81ad607c2d2
427
hpp
C++
Main/include/GUI/HealthGauge.hpp
Kylemc1413/unnamed-sdvx-clone
1380ee50b9f5990ddcbbaed4089dec85f46b1ae8
[ "MIT" ]
2
2018-03-21T14:48:54.000Z
2018-05-28T19:28:21.000Z
Main/include/GUI/HealthGauge.hpp
Kylemc1413/unnamed-sdvx-clone
1380ee50b9f5990ddcbbaed4089dec85f46b1ae8
[ "MIT" ]
6
2018-05-28T16:57:25.000Z
2019-10-04T05:52:54.000Z
Main/include/GUI/HealthGauge.hpp
Kylemc1413/unnamed-sdvx-clone
1380ee50b9f5990ddcbbaed4089dec85f46b1ae8
[ "MIT" ]
1
2019-05-10T11:19:50.000Z
2019-05-10T11:19:50.000Z
#pragma once class HealthGauge { public: HealthGauge(); void Render(Mesh m, float deltaTime); Vector2 GetDesiredSize(); // The fill rate of the gauge float rate = 0.5f; float colorBorder = 0.7f; Color upperColor = Colori(255, 102, 255); Color lowerColor = Colori(0, 204, 255); Material fillMaterial; Materia...
19.409091
42
0.740047
[ "mesh", "render" ]
4adbfd7192a049b9b5f3f6075ed0f4c2af1131e4
2,391
cpp
C++
tests/src/svm/test_svm_poly.cpp
codeplaysoftware/SYCL-ML
7a5d5baf4191a6eacefcbfd0628f56ff6d7bd643
[ "Apache-2.0" ]
56
2017-12-20T14:57:13.000Z
2022-02-08T06:12:23.000Z
tests/src/svm/test_svm_poly.cpp
codeplaysoftware/SYCL-ML
7a5d5baf4191a6eacefcbfd0628f56ff6d7bd643
[ "Apache-2.0" ]
4
2017-12-26T16:37:57.000Z
2020-01-06T16:54:31.000Z
tests/src/svm/test_svm_poly.cpp
codeplaysoftware/SYCL-ML
7a5d5baf4191a6eacefcbfd0628f56ff6d7bd643
[ "Apache-2.0" ]
3
2017-12-22T09:58:08.000Z
2022-01-08T02:51:08.000Z
/** * Copyright (C) Codeplay Software Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
29.8875
78
0.654538
[ "vector" ]
4ae2a16e445901935222dcd9223768865571c4d3
3,631
cpp
C++
tests/core/ScriptTestController.cpp
cybergarage/round-cc
13fb5c39e9bc14a4ad19f9a63d8d97ddda475ca1
[ "BSD-3-Clause" ]
null
null
null
tests/core/ScriptTestController.cpp
cybergarage/round-cc
13fb5c39e9bc14a4ad19f9a63d8d97ddda475ca1
[ "BSD-3-Clause" ]
null
null
null
tests/core/ScriptTestController.cpp
cybergarage/round-cc
13fb5c39e9bc14a4ad19f9a63d8d97ddda475ca1
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************** * * Round for C++ * * Copyright (C) Satoshi Konno 2015 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #include <boost/test/unit_test.hpp> #include <boost/le...
29.520325
123
0.632333
[ "vector" ]
4ae42b2abfdb04684ed00e220ac41a3f4fae9205
4,013
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/IfcSpatialZoneTypeEnum.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
1
2018-10-23T09:43:07.000Z
2018-10-23T09:43:07.000Z
IfcPlusPlus/src/ifcpp/IFC4/IfcSpatialZoneTypeEnum.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/IfcSpatialZoneTypeEnum.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
/* -*-c++-*- IfcPlusPlus - www.ifcplusplus.com - Copyright (C) 2011 Fabian Gerold * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * in...
32.104
165
0.693745
[ "model" ]
4ae65594fc54c49cd816fa87067872afbd51b9d1
1,769
cpp
C++
codeforces/496_3/f.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
2
2018-06-26T09:52:14.000Z
2018-07-12T15:02:01.000Z
codeforces/496_3/f.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
codeforces/496_3/f.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int n,m,k; scanf("%d%d%d", &n, &m ,&k); vector<int> G[n]; vector<int> a(m); vector<int> b(m); vector<int> inc[n]; vector<int> f(n, 0); for(int i = 0; i<m; i++){ scanf("%d%d", &a[i], &b[i]); a[i]--, b[i]--; ...
16.847619
41
0.362352
[ "vector" ]
4ae6e8bdfa8bc6e9ba56da1b151b258b794b33b0
7,470
cpp
C++
CPP/GraphicComputation/class6/code/main.cpp
paulolima18/ProgrammingMesh
2b91085fa5010e73a3bc1f3d9f02c20ce46eb8df
[ "MIT" ]
3
2021-02-15T11:36:52.000Z
2021-06-27T14:21:01.000Z
CPP/GraphicComputation/class6/code/main.cpp
paulolima18/ProgrammingMesh
2b91085fa5010e73a3bc1f3d9f02c20ce46eb8df
[ "MIT" ]
null
null
null
CPP/GraphicComputation/class6/code/main.cpp
paulolima18/ProgrammingMesh
2b91085fa5010e73a3bc1f3d9f02c20ce46eb8df
[ "MIT" ]
null
null
null
#include<stdio.h> #include<stdlib.h> #define _USE_MATH_DEFINES #include <math.h> #include <vector> #include <IL/il.h> #ifdef __APPLE__ #include <GLUT/glut.h> #else #include <GL/glew.h> #include <GL/glut.h> #include <iostream> #endif using namespace std; //------------------------------------...
21.778426
98
0.514056
[ "vector", "model" ]
4aeaf58e6f0d864f234ca08e00c1df219599480a
11,273
cpp
C++
Sources/Modules/Renderer/Settings.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
Sources/Modules/Renderer/Settings.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
Sources/Modules/Renderer/Settings.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * 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 ...
36.482201
105
0.520536
[ "model" ]
4af024b3f1b073177b9f2e53d2630de8dbb8df19
7,266
hpp
C++
irohad/ordering/impl/batches_cache.hpp
erromu/iroha
48d62d0b522d829179ed1c08d3fcf553abc35cdf
[ "Apache-2.0" ]
null
null
null
irohad/ordering/impl/batches_cache.hpp
erromu/iroha
48d62d0b522d829179ed1c08d3fcf553abc35cdf
[ "Apache-2.0" ]
null
null
null
irohad/ordering/impl/batches_cache.hpp
erromu/iroha
48d62d0b522d829179ed1c08d3fcf553abc35cdf
[ "Apache-2.0" ]
1
2022-03-11T10:28:21.000Z
2022-03-11T10:28:21.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_BATCHES_CACHE_HPP #define IROHA_BATCHES_CACHE_HPP #include "ordering/on_demand_ordering_service.hpp" #include <map> #include <memory> #include <numeric> #include <set> #include <shared_mutex> #include <...
31.591304
80
0.645059
[ "vector" ]
4af155624e86945df059581dbe4ef0258f1352c2
7,236
cpp
C++
src/lapack_like/reflect/Householder.cpp
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
1
2015-12-08T22:54:37.000Z
2015-12-08T22:54:37.000Z
src/lapack_like/reflect/Householder.cpp
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
null
null
null
src/lapack_like/reflect/Householder.cpp
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 1992-2008 The University of Tennessee All rights reserved. Copyright (c) 2009-2015, Jack Poulson All rights reserved. This file is loosely based upon the LAPACK routines dlarfg.f and zlarfg.f. This file is part of Elemental and is under the BSD 2-Clause License, which can be fo...
28.046512
80
0.576562
[ "vector" ]
4af759cf10dee63ba1758f200e73175b3ef29621
22,850
cpp
C++
src/gaiarpcaux.cpp
mkaguilera/yesquel
950e499d98b4671e082244ef84d3b5f7233b0220
[ "MIT" ]
46
2016-01-30T10:34:22.000Z
2021-11-30T02:35:30.000Z
src/gaiarpcaux.cpp
mkaguilera/yesquel
950e499d98b4671e082244ef84d3b5f7233b0220
[ "MIT" ]
null
null
null
src/gaiarpcaux.cpp
mkaguilera/yesquel
950e499d98b4671e082244ef84d3b5f7233b0220
[ "MIT" ]
8
2016-05-23T00:54:52.000Z
2019-04-02T03:17:52.000Z
// // gaiarpcaux.cpp // // Data structures and marshalling/demarshalling of RPCs // /* Original code: Copyright (c) 2014 Microsoft Corporation Modified code: Copyright (c) 2015-2016 VMware, Inc All rights reserved. Written by Marcos K. Aguilera MIT License Permission is hereby granted, free of charge, ...
28.924051
80
0.643195
[ "object" ]
4affc4852233bbac42a9294b55a5ac5d9d191ab8
4,106
hpp
C++
wsi.hpp
frankyeh/WSRecognizer
40f1715d01cb8484ce802a614f55e87c93b0051e
[ "BSD-3-Clause" ]
1
2018-02-05T17:06:48.000Z
2018-02-05T17:06:48.000Z
wsi.hpp
frankyeh/WSRecognizer
40f1715d01cb8484ce802a614f55e87c93b0051e
[ "BSD-3-Clause" ]
null
null
null
wsi.hpp
frankyeh/WSRecognizer
40f1715d01cb8484ce802a614f55e87c93b0051e
[ "BSD-3-Clause" ]
null
null
null
#ifndef WSI_HPP #define WSI_HPP #include "tipl/tipl.hpp" #include <string> #include "train_model.hpp" typedef struct _openslide openslide_t; const unsigned int tma_feature_count = 3; const char tma_feature_list[tma_feature_count][10] = {"count","area","intensity"}; class wsi { public: openslide_t* handle; std:...
31.584615
101
0.677302
[ "geometry", "vector" ]
ab0044e2c2c8c3d526a4dd489bc30ccaadb33af3
1,391
cpp
C++
View/SDL/Viewer.cpp
Sander-Zeeman/MyPhysicsEngine
7f2a54d1bd4a6655dfd9de73f889aaec3448e53d
[ "MIT" ]
null
null
null
View/SDL/Viewer.cpp
Sander-Zeeman/MyPhysicsEngine
7f2a54d1bd4a6655dfd9de73f889aaec3448e53d
[ "MIT" ]
null
null
null
View/SDL/Viewer.cpp
Sander-Zeeman/MyPhysicsEngine
7f2a54d1bd4a6655dfd9de73f889aaec3448e53d
[ "MIT" ]
null
null
null
#include "Viewer.h" Viewer::Viewer(uint32_t width, uint32_t height) : m_width(width) , m_height(height) { if (SDL_CreateWindowAndRenderer( m_width, m_height, SDL_WINDOW_RESIZABLE, &window, &renderer ) < 0) { SDL_Log("SDL could not create a window/rend...
21.4
79
0.585909
[ "object" ]
ab0692d2ca8e735a804bfd4da68ba1f90f82ef01
4,110
cpp
C++
src/lib/server/SourcesControllerCommands.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
1
2021-05-21T21:10:09.000Z
2021-05-21T21:10:09.000Z
src/lib/server/SourcesControllerCommands.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
12
2021-06-12T16:42:30.000Z
2022-02-01T18:44:42.000Z
src/lib/server/SourcesControllerCommands.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020-2021 Grant Erickson * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
29.357143
81
0.560097
[ "model" ]
ab07cd124899ee1a6cff78c98e6c7e147c6179a0
2,755
cpp
C++
src/Omega_h_vector.cpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
44
2019-01-23T03:37:18.000Z
2021-08-24T02:20:29.000Z
src/Omega_h_vector.cpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
67
2019-01-29T15:35:42.000Z
2021-08-17T20:42:40.000Z
src/Omega_h_vector.cpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
29
2019-01-14T21:33:32.000Z
2021-08-10T11:35:24.000Z
#include "Omega_h_vector.hpp" #include "Omega_h_fail.hpp" #include "Omega_h_for.hpp" namespace Omega_h { template <Int dim> Reals get_vector_norms_tmpl(Reals vs) { auto n = divide_no_remainder(vs.size(), dim); auto out = Write<Real>(n); auto f = OMEGA_H_LAMBDA(LO i) { out[i] = norm(get_vector<dim>(vs, i)); }; ...
27.828283
75
0.664973
[ "vector" ]
ab08ea21203963698f5240f17da0c836cd2bd3df
6,158
cpp
C++
lib/image/format/JPEG.cpp
paperdash/device-epd
660a95d6c176c3e8074f242588f8a201db986d0e
[ "MIT" ]
25
2021-01-24T16:49:03.000Z
2022-02-13T12:57:14.000Z
lib/image/format/JPEG.cpp
paperdash/device-epd
660a95d6c176c3e8074f242588f8a201db986d0e
[ "MIT" ]
null
null
null
lib/image/format/JPEG.cpp
paperdash/device-epd
660a95d6c176c3e8074f242588f8a201db986d0e
[ "MIT" ]
8
2021-03-22T13:58:38.000Z
2022-02-17T18:08:11.000Z
#include <Arduino.h> #include <SPIFFS.h> #include <JPEGDecoder.h> #include "JPEG.h" #include "display.h" File tmpFileBuffer; void renderMcuBlock(int16_t x, int16_t y, uint16_t w, uint16_t h, uint16_t *bitmap); static uint8_t BLOCK_SIZE = 16; // max MCU block size int16_t *blockDelta; uint16_t displayWidth; uint16_t ...
25.76569
91
0.658006
[ "render" ]
ab0a9532b6e97a4b547ebce2744c070f3fe88ea5
855
cpp
C++
aws-cpp-sdk-iotsitewise/source/model/UpdateAssetRequest.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-iotsitewise/source/model/UpdateAssetRequest.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-iotsitewise/source/model/UpdateAssetRequest.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/iotsitewise/model/UpdateAssetRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::IoTSiteWise::Model; using namespace Aws::Utils::Json; us...
19
69
0.734503
[ "model" ]
ab0c069ddc1f77f5b8dafe74988753622225d496
3,176
cc
C++
tools/data_spliter_ext.cc
lemonviv/Pivot
585b39e54cea3450221521e452f2e89ad5ac990a
[ "Apache-2.0" ]
4
2021-08-04T08:25:53.000Z
2021-08-11T17:04:26.000Z
tools/data_spliter_ext.cc
lemonviv/Pivot
585b39e54cea3450221521e452f2e89ad5ac990a
[ "Apache-2.0" ]
3
2021-07-18T11:25:28.000Z
2021-07-18T11:25:28.000Z
tools/data_spliter_ext.cc
lemonviv/Pivot
585b39e54cea3450221521e452f2e89ad5ac990a
[ "Apache-2.0" ]
1
2022-02-19T15:37:33.000Z
2022-02-19T15:37:33.000Z
#include <fstream> #include <iostream> #include <sstream> #include <string> #include <vector> #include <iomanip> using namespace std; #define MAX_CLIENT 10 int main(int argc, char* argv[]) { if (argc < 3) { cout << "Args: file_path" << endl; return 0; } auto file = argv[1]; int num_client = atoi(argv...
27.859649
90
0.522985
[ "vector" ]
ab0f3e50b114e4c42ad2867603c1edc27571a0ac
3,516
hpp
C++
core/include/Array.hpp
Damien-Ginesy/Projet_S8
475e348c23110459495a9ccfb3cd0a374dd5f601
[ "MIT" ]
3
2022-03-12T14:11:56.000Z
2022-03-21T00:48:06.000Z
core/include/Array.hpp
Damien-Ginesy/Projet_S8
475e348c23110459495a9ccfb3cd0a374dd5f601
[ "MIT" ]
2
2022-03-22T21:28:05.000Z
2022-03-22T21:28:06.000Z
core/include/Array.hpp
Damien-Ginesy/Projet_S8
475e348c23110459495a9ccfb3cd0a374dd5f601
[ "MIT" ]
null
null
null
#pragma once #include <string.h> #include <iostream> namespace Basalt{ template<typename T> struct Array { using val_t = T; using ref_t = T&; using ptr_t = T*; /* A local view other the Array object */ struct View { private: ...
36.247423
98
0.496871
[ "object" ]
ab191c17b44b00f107a0bb5a49ec1fbdc97b43b1
2,883
cpp
C++
src/main.cpp
silhavyj/Simple-hash-function
5b7f007d955d4650d20ae3fcb3175f2848b43528
[ "MIT" ]
null
null
null
src/main.cpp
silhavyj/Simple-hash-function
5b7f007d955d4650d20ae3fcb3175f2848b43528
[ "MIT" ]
null
null
null
src/main.cpp
silhavyj/Simple-hash-function
5b7f007d955d4650d20ae3fcb3175f2848b43528
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <iomanip> #include <fstream> #include "cxxopts.hpp" #define F1(B,C) ((B & C) ^ (~B & C)) #define F2(B,C) ((B | C) & (B ^ C)) #define A 0 #define B 1 #define C 2 #define D 3 #define INIT_VECTOR {0x2EC0, 0xE3BC, 0xFD17, 0xA13F} #define DEBUG(msg) (arg["verbose"].as<bool>...
28.544554
111
0.53035
[ "vector" ]
ab1982d3b4bb920664f3ae5e9abbeca0ae4d8178
24,001
cpp
C++
makepad/ChakraCore/lib/Jsrt/JsrtDebugUtils.cpp
makepaddev/makepad
25d2f18c8a7c190fd1b199762817b6514118e045
[ "MIT" ]
1
2018-01-20T09:59:26.000Z
2018-01-20T09:59:26.000Z
makepad/ChakraCore/lib/Jsrt/JsrtDebugUtils.cpp
makepaddev/makepad
25d2f18c8a7c190fd1b199762817b6514118e045
[ "MIT" ]
null
null
null
makepad/ChakraCore/lib/Jsrt/JsrtDebugUtils.cpp
makepaddev/makepad
25d2f18c8a7c190fd1b199762817b6514118e045
[ "MIT" ]
1
2019-01-19T00:00:10.000Z
2019-01-19T00:00:10.000Z
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
46.244701
176
0.703929
[ "object" ]