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
601bd697fc193f02877d446a76b53f1984261c15
674
hpp
C++
daemon/examples/gui/functions.hpp
Krozark/Salamandre
75cfd7f3868ed159711c14792920fc0c0db2b3f1
[ "BSD-2-Clause" ]
null
null
null
daemon/examples/gui/functions.hpp
Krozark/Salamandre
75cfd7f3868ed159711c14792920fc0c0db2b3f1
[ "BSD-2-Clause" ]
null
null
null
daemon/examples/gui/functions.hpp
Krozark/Salamandre
75cfd7f3868ed159711c14792920fc0c0db2b3f1
[ "BSD-2-Clause" ]
null
null
null
#ifndef FUNCTIONS_HPP #define FUNCTIONS_HPP #include <string> #include <vector> #define ROOT_DIR "gui/save" /** * \brief define some class used later */ namespace ntw { namespace cli { class Client; } } namespace test { /** * \param id_medecin the medecin id * \param id_patient ...
18.216216
143
0.661721
[ "vector" ]
601c052f441286242414be50e8b8f4a5fbada4d7
4,140
cc
C++
src/solvers/test/solver_linear_jfnk.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/solvers/test/solver_linear_jfnk.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/solvers/test/solver_linear_jfnk.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
#include <iostream> #include "UnitTest++.h" #include "Teuchos_RCP.hpp" #include "Epetra_MpiComm.h" #include "Epetra_Vector.h" #include "exceptions.hh" #include "FnBaseDefs.hh" #include "SolverJFNK.hh" #include "SolverFnBase.hh" using namespace Amanzi; SUITE(SOLVERS) { class LinearFn : public AmanziSolvers::Solver...
30.666667
106
0.624638
[ "object" ]
601ea0d0e977b47a48f86020cee18fc602c2edc8
9,206
cpp
C++
src/common/updating/updating.cpp
darecluval/PowerToys
0840fce32e58c25e5273ffd84b43f8187183f7fa
[ "MIT" ]
6
2021-04-15T14:07:17.000Z
2021-09-05T13:31:32.000Z
src/common/updating/updating.cpp
sahwar/PowerToys
ff4a78a7f93a3b63e605ae955745d3f40d4608d4
[ "MIT" ]
null
null
null
src/common/updating/updating.cpp
sahwar/PowerToys
ff4a78a7f93a3b63e605ae955745d3f40d4608d4
[ "MIT" ]
3
2021-09-05T13:31:36.000Z
2021-10-03T16:23:26.000Z
#include "pch.h" #include <common/version/version.h> #include <common/version/helper.h> #include "http_client.h" #include "notifications.h" #include "updating.h" #include <common/utils/json.h> #include <common/SettingsAPI/settings_helpers.h> #include <common/notifications/notifications.h> namespace // Strings in th...
41.845455
160
0.620465
[ "object", "transform" ]
e747917ab4e9010a0151d4dcbdf0690afb93519c
1,546
cpp
C++
iree/compiler/Dialect/Shape/IR/ShapeInterface.cpp
schoppmp/iree
d573c3dbb4eef8044764ae6d80ca79e37e8de522
[ "Apache-2.0" ]
2
2021-10-03T15:58:09.000Z
2021-11-17T10:34:35.000Z
iree/compiler/Dialect/Shape/IR/ShapeInterface.cpp
BernhardRiemann/iree
471349762b316f7d6b83eb5f9089255d78052758
[ "Apache-2.0" ]
null
null
null
iree/compiler/Dialect/Shape/IR/ShapeInterface.cpp
BernhardRiemann/iree
471349762b316f7d6b83eb5f9089255d78052758
[ "Apache-2.0" ]
1
2021-01-29T09:30:09.000Z
2021-01-29T09:30:09.000Z
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
35.136364
80
0.677232
[ "shape" ]
e74b0f7eb41e93d457f05b576673991bea270aa6
17,516
cpp
C++
src/classad_support/collectionServer.cpp
sridish123/htcondor
481d975fd8602242f6a052aab04e20b0b560db89
[ "Apache-2.0" ]
217
2015-01-08T04:49:42.000Z
2022-03-27T10:11:58.000Z
src/classad_support/collectionServer.cpp
sridish123/htcondor
481d975fd8602242f6a052aab04e20b0b560db89
[ "Apache-2.0" ]
185
2015-05-03T13:26:31.000Z
2022-03-28T03:08:59.000Z
src/classad_support/collectionServer.cpp
sridish123/htcondor
481d975fd8602242f6a052aab04e20b0b560db89
[ "Apache-2.0" ]
133
2015-02-11T09:17:45.000Z
2022-03-31T07:28:54.000Z
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
29.438655
80
0.66522
[ "vector" ]
e7530b5d4fb82b5beda77f55b62e127b4f73533e
4,241
hh
C++
include/qpdf/QPDFEFStreamObjectHelper.hh
tomty89/qpdf
e0775238b8b011755b9682555a8449b8a71f33eb
[ "Apache-2.0" ]
1,812
2015-01-27T09:07:20.000Z
2022-03-30T23:03:15.000Z
include/qpdf/QPDFEFStreamObjectHelper.hh
tomty89/qpdf
e0775238b8b011755b9682555a8449b8a71f33eb
[ "Apache-2.0" ]
584
2015-01-24T00:31:12.000Z
2022-03-24T21:42:38.000Z
include/qpdf/QPDFEFStreamObjectHelper.hh
tomty89/qpdf
e0775238b8b011755b9682555a8449b8a71f33eb
[ "Apache-2.0" ]
204
2015-04-09T16:28:06.000Z
2022-03-29T14:29:45.000Z
// Copyright (c) 2005-2021 Jay Berkenbilt // // This file is part of qpdf. // // 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 ...
34.479675
75
0.714926
[ "object" ]
e75eda290ab8c46e89766b2a7ce14d262f7423ec
1,164
cpp
C++
cpp/example_code/ses/verify_email_identity.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
null
null
null
cpp/example_code/ses/verify_email_identity.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
1
2020-03-18T17:00:15.000Z
2020-03-18T17:04:05.000Z
cpp/example_code/ses/verify_email_identity.cpp
brmur/aws-doc-sdk-examples
9158f493ee2c016f0b4a2260e8f43acc7b0b49e6
[ "Apache-2.0" ]
null
null
null
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX - License - Identifier: Apache - 2.0 /* Purpose: verify_email_identity.cpp demonstrates how to send an Amazon SES verification email.] */ #include <aws/core/Aws.h> #include <aws/email/SESClient.h> #include <aws/email/model/VerifyEma...
24.25
92
0.649485
[ "model" ]
e7625727468e771f5dddc35bfc92d099331d2bd2
2,939
cpp
C++
src/capi/property.cpp
AspirinCode/chemfiles
155c0c28396e61db0adfc7a81a4c085abfe5c28a
[ "BSD-3-Clause" ]
2
2019-01-24T12:51:20.000Z
2019-01-24T12:51:24.000Z
src/capi/property.cpp
AspirinCode/chemfiles
155c0c28396e61db0adfc7a81a4c085abfe5c28a
[ "BSD-3-Clause" ]
null
null
null
src/capi/property.cpp
AspirinCode/chemfiles
155c0c28396e61db0adfc7a81a4c085abfe5c28a
[ "BSD-3-Clause" ]
null
null
null
// Chemfiles, a modern library for chemistry file reading and writing // Copyright (C) Guillaume Fraux and contributors -- BSD license #include "chemfiles/shared_allocator.hpp" #include "chemfiles/capi/property.h" #include "chemfiles/capi.hpp" #include "chemfiles/Property.hpp" using namespace chemfiles; static_asser...
29.09901
125
0.709085
[ "vector" ]
e763e81e42b2dddc03b236477c83b32e77becb68
8,579
cpp
C++
src/ProfileGenerator/ConditionHypothesis.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/ProfileGenerator/ConditionHypothesis.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/ProfileGenerator/ConditionHypothesis.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2010 by BBNT Solutions LLC // All Rights Reserved. #include "Generic/common/leak_detection.h" // This must be the first #include #include "ProfileGenerator/ConditionHypothesis.h" #include "ProfileGenerator/Profile.h" #include "boost/algorithm/string/split.hpp" #include "boost/algorithm/string...
33.251938
123
0.711505
[ "vector" ]
e7662b037c971c33e3a41ce00905d82149ae19b4
15,405
cc
C++
src/subprocess-unix.cc
SRI-CSL/stegotorus
6b46bb403293a4b39aec21a8bbd9fcb01e8b6930
[ "BSD-3-Clause-Clear" ]
72
2015-03-31T11:22:25.000Z
2021-11-23T23:15:51.000Z
src/subprocess-unix.cc
SRI-CSL/stegotorus
6b46bb403293a4b39aec21a8bbd9fcb01e8b6930
[ "BSD-3-Clause-Clear" ]
2
2018-02-22T04:05:40.000Z
2021-05-13T11:47:32.000Z
src/subprocess-unix.cc
SRI-CSL/stegotorus
6b46bb403293a4b39aec21a8bbd9fcb01e8b6930
[ "BSD-3-Clause-Clear" ]
18
2015-04-15T00:47:09.000Z
2020-12-16T10:26:21.000Z
/* Copyright 2012, 2013 SRI International * Portions copyright 2003-2011 Roger Dingledine, Nick Mathewson, * and/or The Tor Project, Inc. * Portions copyright 1991-2012 The Regents of the University of California * and/or various FreeBSD contributors. * See LICENSE for other credits and copying information. *...
26.560345
78
0.648685
[ "object", "vector" ]
e766f8ccfaa7fe32c49378dec6b874cf718f6cd0
973
cpp
C++
201510_201609/1114_codefes2015_final/D.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
7
2019-03-24T14:06:29.000Z
2020-09-17T21:16:36.000Z
201510_201609/1114_codefes2015_final/D.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
null
null
null
201510_201609/1114_codefes2015_final/D.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
1
2020-07-22T17:27:09.000Z
2020-07-22T17:27:09.000Z
#include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <queue> #include <stack> #include <set> #include <map> #include <cmath> #include <tuple> #include <string> using namespace std; typedef long long ll; int main() { int N; cin >> N; int S[100010]; int T[100010]; for (auto i...
16.775862
38
0.476876
[ "vector" ]
e76bb9332fb3420f18fb2a02a54f5f5af2a4adcd
10,330
cpp
C++
MFC-MyDAQ-DMM/MFC-MyDAQ-DMMDlg.cpp
ermin-muratovic/MFC-MyDAQ-DMM
5bd5493b2df1036483b5fc2e2ace67d05fb38e64
[ "MIT" ]
null
null
null
MFC-MyDAQ-DMM/MFC-MyDAQ-DMMDlg.cpp
ermin-muratovic/MFC-MyDAQ-DMM
5bd5493b2df1036483b5fc2e2ace67d05fb38e64
[ "MIT" ]
null
null
null
MFC-MyDAQ-DMM/MFC-MyDAQ-DMMDlg.cpp
ermin-muratovic/MFC-MyDAQ-DMM
5bd5493b2df1036483b5fc2e2ace67d05fb38e64
[ "MIT" ]
null
null
null
 // MFC-MyDAQ-DMMDlg.cpp : implementation file // #include "stdafx.h" #include "MFC-MyDAQ-DMM.h" #include "MFC-MyDAQ-DMMDlg.h" #include "afxdialogex.h" #include "MyDAQ.h" #include <iostream> #include <iomanip> #include <sstream> #include <string> #include <list> #ifdef _DEBUG #define new DEBUG_NEW #endif using name...
23.912037
131
0.735431
[ "model" ]
e772ece40ac0f192a55c27160b3c4308646e4012
5,083
cpp
C++
test/unittest/mount_test/fstabapi_unittest.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
null
null
null
test/unittest/mount_test/fstabapi_unittest.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
null
null
null
test/unittest/mount_test/fstabapi_unittest.cpp
openharmony-gitee-mirror/update_updater
72393623a6aa9d08346da98433bb3bdbe5f07120
[ "Apache-2.0" ]
1
2021-09-13T11:17:34.000Z
2021-09-13T11:17:34.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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 ...
33.662252
101
0.701751
[ "vector" ]
e77464eb6a8e246c38c7a7d65e832219df3305cd
2,243
cpp
C++
examples/cpp/queries/hierarchy/src/main.cpp
logankaser/flecs
6638a030604542835908463feabbe621c58b057a
[ "MIT" ]
2
2021-09-09T13:20:15.000Z
2021-09-09T20:23:25.000Z
examples/cpp/queries/hierarchy/src/main.cpp
NrdyBhu1/flecs
b6a36158ba42f23638c370d5f38aa55774987a65
[ "MIT" ]
null
null
null
examples/cpp/queries/hierarchy/src/main.cpp
NrdyBhu1/flecs
b6a36158ba42f23638c370d5f38aa55774987a65
[ "MIT" ]
null
null
null
#include <hierarchy.h> #include <iostream> struct Position { double x, y; }; // Tags for local/world position struct Local { }; struct World { }; int main(int, char *[]) { flecs::world ecs; // Create a hierarchy. For an explanation see the entities/hierarchy example auto sun = ecs.entity("Sun") ...
29.12987
80
0.518948
[ "object", "transform" ]
e7799e848e5594c88ab06c82d16cf9ef0337eae6
8,847
cpp
C++
Examples/Grass/main.cpp
leaf3d/leaf3d
c3eb0661a05b448bb02a7a62dbf0a50f339ca3e4
[ "MIT" ]
26
2016-02-04T21:54:09.000Z
2022-02-04T18:21:11.000Z
Examples/Grass/main.cpp
leaf3d/leaf3d
c3eb0661a05b448bb02a7a62dbf0a50f339ca3e4
[ "MIT" ]
3
2016-02-06T14:02:15.000Z
2018-05-02T07:54:02.000Z
Examples/Grass/main.cpp
leaf3d/leaf3d
c3eb0661a05b448bb02a7a62dbf0a50f339ca3e4
[ "MIT" ]
6
2016-02-06T09:39:47.000Z
2021-12-16T16:01:10.000Z
/* * This file is part of the leaf3d project. * * Copyright 2014-2015 Emanuele Bertoldi. All rights reserved. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT...
40.958333
125
0.701707
[ "render" ]
e783d686a0d6e94569a7f3c40883598a26c2a4ab
10,008
cpp
C++
lib/tlrCore/Image.cpp
darbyjohnston/tlRender
0bdb8aa3795a0098811a7c3ed6add3023bcfd55a
[ "BSD-3-Clause" ]
59
2021-04-26T23:38:35.000Z
2022-03-23T15:21:44.000Z
lib/tlrCore/Image.cpp
darbyjohnston/tlRender
0bdb8aa3795a0098811a7c3ed6add3023bcfd55a
[ "BSD-3-Clause" ]
17
2021-04-30T02:03:08.000Z
2022-01-11T19:54:47.000Z
lib/tlrCore/Image.cpp
darbyjohnston/tlRender
0bdb8aa3795a0098811a7c3ed6add3023bcfd55a
[ "BSD-3-Clause" ]
5
2021-06-07T16:11:53.000Z
2021-12-10T23:29:45.000Z
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2021-2022 Darby Johnston // All rights reserved. #include <tlrCore/Image.h> #include <tlrCore/Assert.h> #include <tlrCore/Error.h> #include <tlrCore/String.h> #include <algorithm> #include <array> #include <cstring> #include <iostream> using n...
32.38835
111
0.433153
[ "vector" ]
e7863cfc703198e58f5cbc6d0738ad6b809f8d20
4,948
cpp
C++
prj.objed/objedutils/src/objedmarkup.cpp
usilinsergey/objed
a5d0c82382a6546d5d4c649f153eec94c4ade0ee
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
prj.objed/objedutils/src/objedmarkup.cpp
usilinsergey/objed
a5d0c82382a6546d5d4c649f153eec94c4ade0ee
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
prj.objed/objedutils/src/objedmarkup.cpp
usilinsergey/objed
a5d0c82382a6546d5d4c649f153eec94c4ade0ee
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* Copyright (c) 2011-2013, Sergey Usilin. All rights reserved. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this l...
26.042105
103
0.711196
[ "object" ]
e788bcd834940c6d437013cbfc44e075b58f4ffa
8,980
cxx
C++
MITK/Applications/CreatePolyDataFromImage/niftkCreatePolyDataFromImage.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
MITK/Applications/CreatePolyDataFromImage/niftkCreatePolyDataFromImage.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
MITK/Applications/CreatePolyDataFromImage/niftkCreatePolyDataFromImage.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
33.259259
162
0.724388
[ "object", "model" ]
e78d888415ea0bcfdd8ec846504e87a5144ccf22
2,917
hpp
C++
src/mbgl/map/tile_data.hpp
donpark/mapbox-gl-native
efa7dad89c61fe0fcc01a492e8db8e36b8f27f53
[ "BSD-2-Clause" ]
null
null
null
src/mbgl/map/tile_data.hpp
donpark/mapbox-gl-native
efa7dad89c61fe0fcc01a492e8db8e36b8f27f53
[ "BSD-2-Clause" ]
null
null
null
src/mbgl/map/tile_data.hpp
donpark/mapbox-gl-native
efa7dad89c61fe0fcc01a492e8db8e36b8f27f53
[ "BSD-2-Clause" ]
null
null
null
#ifndef MBGL_MAP_TILE_DATA #define MBGL_MAP_TILE_DATA #include <mbgl/util/noncopyable.hpp> #include <mbgl/map/tile_id.hpp> #include <mbgl/renderer/debug_bucket.hpp> #include <mbgl/geometry/debug_font_buffer.hpp> #include <atomic> #include <string> #include <functional> namespace mbgl { class StyleLayer; class Worke...
28.320388
89
0.65821
[ "geometry", "object" ]
e78e92c9f5dc673b7a6c63e7e64d816535d61523
39,561
cpp
C++
dev/Code/Sandbox/Editor/TerrainTexturePainter.cpp
akulamartin/lumberyard
2d4be458a02845179be098e40cdc0c48f28f3b5a
[ "AML" ]
2
2020-12-22T01:02:01.000Z
2020-12-22T01:02:05.000Z
dev/Code/Sandbox/Editor/TerrainTexturePainter.cpp
akulamartin/lumberyard
2d4be458a02845179be098e40cdc0c48f28f3b5a
[ "AML" ]
null
null
null
dev/Code/Sandbox/Editor/TerrainTexturePainter.cpp
akulamartin/lumberyard
2d4be458a02845179be098e40cdc0c48f28f3b5a
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
34.40087
197
0.56945
[ "object", "vector", "3d" ]
e78f4fa25cd7757ab1bbffe941e98ab76c97191f
11,792
cpp
C++
sample/api_physics_effects/6_joint/main.cpp
erwincoumans/test2
cb78f36ae4002d79f21d21c759d07e2e23aabf15
[ "BSD-3-Clause" ]
5
2017-10-08T16:06:35.000Z
2020-10-08T23:30:34.000Z
sample/api_physics_effects/6_joint/main.cpp
erwincoumans/test2
cb78f36ae4002d79f21d21c759d07e2e23aabf15
[ "BSD-3-Clause" ]
null
null
null
sample/api_physics_effects/6_joint/main.cpp
erwincoumans/test2
cb78f36ae4002d79f21d21c759d07e2e23aabf15
[ "BSD-3-Clause" ]
null
null
null
/* Physics Effects Copyright(C) 2010 Sony Computer Entertainment Inc. All rights reserved. Physics Effects is open software; you can redistribute it and/or modify it under the terms of the BSD License. Physics Effects is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even th...
22.941634
107
0.655614
[ "render", "shape" ]
e799a6ce7c9cb9947e2cf64cb35afa523698f2ba
5,533
cpp
C++
opencl/source/built_ins/vme_builtin.cpp
Panquesito7/compute-runtime
3357b8b916885a336174ab0e7bbfc7652be4fb88
[ "Intel", "MIT" ]
778
2017-09-29T20:02:43.000Z
2022-03-31T15:35:28.000Z
opencl/source/built_ins/vme_builtin.cpp
Panquesito7/compute-runtime
3357b8b916885a336174ab0e7bbfc7652be4fb88
[ "Intel", "MIT" ]
478
2018-01-26T16:06:45.000Z
2022-03-30T10:19:10.000Z
opencl/source/built_ins/vme_builtin.cpp
Panquesito7/compute-runtime
3357b8b916885a336174ab0e7bbfc7652be4fb88
[ "Intel", "MIT" ]
215
2018-01-30T08:39:32.000Z
2022-03-29T11:08:51.000Z
/* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "opencl/source/built_ins/vme_builtin.h" #include "shared/source/built_ins/built_ins.h" #include "shared/source/device/device.h" #include "opencl/source/built_ins/built_in_ops_vme.h" #include "opencl/source/built_ins/bu...
44.264
197
0.756009
[ "object" ]
e79af2bc8f7f2d57267e2148f44a7f6712826724
1,836
cpp
C++
Ch 3 Paradigms/Dynamic Programming/Bottom Up/uva-481-LIS-O(nlgk).cpp
sladewinter/UVa-Online-Judge
3e8003e8ae5452eed1468be44ae5d7bbcc763dd1
[ "MIT" ]
null
null
null
Ch 3 Paradigms/Dynamic Programming/Bottom Up/uva-481-LIS-O(nlgk).cpp
sladewinter/UVa-Online-Judge
3e8003e8ae5452eed1468be44ae5d7bbcc763dd1
[ "MIT" ]
null
null
null
Ch 3 Paradigms/Dynamic Programming/Bottom Up/uva-481-LIS-O(nlgk).cpp
sladewinter/UVa-Online-Judge
3e8003e8ae5452eed1468be44ae5d7bbcc763dd1
[ "MIT" ]
null
null
null
//UVa - 481 - What Goes Up //Longest Increasing Subsequence O(nlgk), k=LISlen, n=i/p len //Bottom up DP(using previous info while filling) + Greedy insertion #include <iostream> #include <algorithm> #include <vector> using namespace std; using vi = vector<int>; vi arr; //Input Array vi parent;...
29.142857
69
0.574619
[ "vector" ]
e79cf6939742c8436796b8973a69e5150205534d
7,530
cpp
C++
2020/day24/p2/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
2020/day24/p2/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
2020/day24/p2/main.cpp
jbaldwin/adventofcode2019
bdc333330dd5e36458a49f0b7cd64d462c9988c7
[ "MIT" ]
null
null
null
#include <lib/file_util.hpp> #include <chain/chain.hpp> #include <lib/containers.hpp> #include <iostream> #include <iomanip> #include <vector> #include <string> #include <memory> #include <map> using vec3 = containers::vec3<int64_t>; enum class color_t { white, black }; auto operator<<(std::ostream& os, con...
26.607774
111
0.473174
[ "vector" ]
e79fd66b8c6bfcf16840522073431b58ad21ccb6
4,671
cpp
C++
source/gfx/gfx_utils.cpp
ranoke/gl_renderer
d29eb50f2343668db4e4b4243686e3e27d23a244
[ "MIT" ]
null
null
null
source/gfx/gfx_utils.cpp
ranoke/gl_renderer
d29eb50f2343668db4e4b4243686e3e27d23a244
[ "MIT" ]
null
null
null
source/gfx/gfx_utils.cpp
ranoke/gl_renderer
d29eb50f2343668db4e4b4243686e3e27d23a244
[ "MIT" ]
null
null
null
#include "gfx_utils.h" #include "base/logger.h" #include <iostream> #include <string> namespace gfx_utils { std::string get_filename_from_path(const std::string path) { auto last_slash = path.find_last_of("/\\"); last_slash = last_slash == std::string::npos ? 0 : last_slash + 1; auto last_dot = path...
25.80663
96
0.589809
[ "vector" ]
e7a42a47b8421e9630bf0333d9c9da31545469be
5,553
cpp
C++
src/qt5gui/ExcitationSignalWidget.cpp
sigurdstorve/OpenBCSim
500025c1b63bc6ff083cbd649771d1b98e3f7314
[ "BSD-3-Clause" ]
17
2016-05-27T13:09:19.000Z
2022-03-21T07:08:47.000Z
src/qt5gui/ExcitationSignalWidget.cpp
rojsc/OpenBCSim
53773172974ad42fc3faceb7b36611573abf1c4c
[ "BSD-3-Clause" ]
63
2015-09-10T11:22:56.000Z
2021-05-21T14:52:39.000Z
src/qt5gui/ExcitationSignalWidget.cpp
rojsc/OpenBCSim
53773172974ad42fc3faceb7b36611573abf1c4c
[ "BSD-3-Clause" ]
15
2016-07-26T14:52:18.000Z
2022-01-02T15:52:28.000Z
/* Copyright (c) 2015, Sigurd Storve All rights reserved. Licensed under the BSD license. 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, th...
40.23913
111
0.726994
[ "vector" ]
e7a5d14e74368f914e12a2d2ed4c0f6de041ab8b
123,918
cpp
C++
renderdoc/core/sparse_page_table.cpp
yanjifa/renderdoc
308456535f067df15be78de145440c170c2d8c00
[ "MIT" ]
1
2022-02-17T21:18:24.000Z
2022-02-17T21:18:24.000Z
renderdoc/core/sparse_page_table.cpp
superlee1/renderdoc
a51b20369f685b4e57ccd97fe203483c6d5c5d1f
[ "MIT" ]
null
null
null
renderdoc/core/sparse_page_table.cpp
superlee1/renderdoc
a51b20369f685b4e57ccd97fe203483c6d5c5d1f
[ "MIT" ]
null
null
null
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2021-2022 Baldur Karlsson * * 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...
47.206857
102
0.65578
[ "3d" ]
e7a9a29519888d863669d7efe29a16e0cf6fd293
41,932
cpp
C++
thirdparty/physx/APEXSDK/module/clothing/src/ModuleClothing.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
thirdparty/physx/APEXSDK/module/clothing/src/ModuleClothing.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
thirdparty/physx/APEXSDK/module/clothing/src/ModuleClothing.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
/* * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this so...
27.532502
202
0.743513
[ "mesh", "object" ]
e7a9eef1eeb4afe2de3f40499a3f302a4a95162d
15,152
cpp
C++
domain-server/src/DomainServerSettingsManager.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
1
2015-03-11T19:49:20.000Z
2015-03-11T19:49:20.000Z
domain-server/src/DomainServerSettingsManager.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
domain-server/src/DomainServerSettingsManager.cpp
ey6es/hifi
23f9c799dde439e4627eef45341fb0d53feff80b
[ "Apache-2.0" ]
null
null
null
// // DomainServerSettingsManager.cpp // domain-server/src // // Created by Stephen Birarda on 2014-06-24. // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <QtCore/QCo...
44.046512
124
0.62038
[ "object" ]
e7aef7961caee7740424c8c70e99fcb42c826acc
4,225
hh
C++
libraries/json/json/utils.hh
BlueSolei/lithium
080b7db72efd6f673103f6a29ddb027cb50f812b
[ "MIT" ]
2
2020-07-21T01:18:11.000Z
2021-07-29T02:55:29.000Z
libraries/json/json/utils.hh
BlueSolei/lithium
080b7db72efd6f673103f6a29ddb027cb50f812b
[ "MIT" ]
null
null
null
libraries/json/json/utils.hh
BlueSolei/lithium
080b7db72efd6f673103f6a29ddb027cb50f812b
[ "MIT" ]
null
null
null
#pragma once #include <optional> #include <li/json/symbols.hh> #include <li/metamap/metamap.hh> #include <li/symbol/ast.hh> #include <tuple> #include <map> #include <unordered_map> namespace li { template <typename T> struct json_object_base; template <typename T> struct json_object_; template <typename T> struct ...
33.007813
100
0.704615
[ "vector" ]
e7b1c1c147d3ce400f8f8c1adb4400ec006d5c45
746
hpp
C++
libs/utils/include/utils/ArgParse.hpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
2
2020-02-10T07:58:21.000Z
2022-03-15T19:13:28.000Z
libs/utils/include/utils/ArgParse.hpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
null
null
null
libs/utils/include/utils/ArgParse.hpp
deathcleaver/swizzle
1a1cc114841ea7de486cf94c6cafd9108963b4da
[ "MIT" ]
null
null
null
#ifndef ARG_PARSE_HPP #define ARG_PARSE_HPP #include <vector> namespace utils { enum class ArgType { Flag, Value, List, }; class ArgOption { public: ArgOption(const char* option, const char* description, ArgType type); const char* mOption; cons...
16.217391
77
0.572386
[ "vector" ]
e7b291af9fd1e846bc3e9297217550101710e59c
3,323
cpp
C++
Competitive Programing Problem Solutions/Graph Theory/Articulation Points and Bridges/796-Critical Links-Uva.cpp
BIJOY-SUST/ACM---ICPC
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
1
2022-02-27T12:07:59.000Z
2022-02-27T12:07:59.000Z
Competitive Programing Problem Solutions/Graph Theory/Articulation Points and Bridges/796-Critical Links-Uva.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
Competitive Programing Problem Solutions/Graph Theory/Articulation Points and Bridges/796-Critical Links-Uva.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> #define mx 100001 //#define mod 1000000007 //#define pi 2*acos(0.0) #define pp pair<int,int> //#define ll long long int #define me printf("BIJOY\n"); //#define one(n) __builtin_popcount(n) //#define ull ...
33.23
107
0.457418
[ "vector" ]
e7b3271171ea47d1af30c759f573cf020a4e787f
3,955
cc
C++
paddle/fluid/distributed/ps/service/server.cc
Shaun2016/Paddle
b963903806c8a6694df79b42aaab6578a0ef6afb
[ "Apache-2.0" ]
null
null
null
paddle/fluid/distributed/ps/service/server.cc
Shaun2016/Paddle
b963903806c8a6694df79b42aaab6578a0ef6afb
[ "Apache-2.0" ]
null
null
null
paddle/fluid/distributed/ps/service/server.cc
Shaun2016/Paddle
b963903806c8a6694df79b42aaab6578a0ef6afb
[ "Apache-2.0" ]
1
2021-12-09T08:59:17.000Z
2021-12-09T08:59:17.000Z
// Copyright (c) 2020 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...
35.954545
80
0.733502
[ "vector" ]
e7b81af6edd2707f653c68a61a33cb4d18bcc2fe
1,609
hpp
C++
include/LDtkLoader/Enum.hpp
dontpanic5/LDtkLoader
885a08f428c16c99cffb436c8af1eee0fee493ed
[ "Zlib" ]
null
null
null
include/LDtkLoader/Enum.hpp
dontpanic5/LDtkLoader
885a08f428c16c99cffb436c8af1eee0fee493ed
[ "Zlib" ]
null
null
null
include/LDtkLoader/Enum.hpp
dontpanic5/LDtkLoader
885a08f428c16c99cffb436c8af1eee0fee493ed
[ "Zlib" ]
null
null
null
// Created by Modar Nasser on 13/11/2020. #pragma once #include <string> #include <vector> #include "LDtkLoader/thirdparty/json.hpp" #include "LDtkLoader/DataTypes.hpp" namespace ldtk { class World; class Enum; struct Tileset; struct EnumValue { const std::string name; const Color c...
25.951613
100
0.617775
[ "vector" ]
e7bbbea9df1c7227cc1db00933826a72940869dd
10,510
hpp
C++
test-suite/mpiparalleltestrunner.hpp
universe1987/QuantLib
bbb0145aff285853755b9f6ed013f53a41163acb
[ "BSD-3-Clause" ]
4
2016-03-28T15:05:23.000Z
2020-02-17T23:05:57.000Z
test-suite/mpiparalleltestrunner.hpp
universe1987/QuantLib
bbb0145aff285853755b9f6ed013f53a41163acb
[ "BSD-3-Clause" ]
1
2015-02-02T20:32:43.000Z
2015-02-02T20:32:43.000Z
test-suite/mpiparalleltestrunner.hpp
pcaspers/quantlib
bbb0145aff285853755b9f6ed013f53a41163acb
[ "BSD-3-Clause" ]
10
2015-01-26T14:50:24.000Z
2015-10-23T07:41:30.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2015 Klaus Spanderen This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the QuantLi...
31.094675
83
0.544148
[ "vector" ]
e7bf5770e3cc0b267afc30689ca3ad96a1b6a890
894
cpp
C++
90.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
90.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
90.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
// // Created by pzz on 2021/12/4. // #include <iostream> #include <algorithm> #include <vector> using namespace std; class Solution { private: vector<vector<int>> result; vector<int> path; vector<bool> used; void backtracing(vector<int> &nums, int start) { result.push_back(path); f...
21.285714
72
0.524609
[ "vector" ]
e7c23f958181338258a3cc3cf977ff3cc88493e6
5,935
hpp
C++
util/utils.hpp
ajoudaki/Project2020-seq-tensor-sketching
20b19ddd19751840d33af97abe314d29b34dc0d4
[ "MIT" ]
7
2020-12-07T11:33:17.000Z
2022-01-02T07:30:52.000Z
util/utils.hpp
ajoudaki/Project2020-seq-tensor-sketching
20b19ddd19751840d33af97abe314d29b34dc0d4
[ "MIT" ]
26
2021-01-13T18:15:23.000Z
2022-02-27T05:52:59.000Z
util/utils.hpp
ajoudaki/Project2020-seq-tensor-sketching
20b19ddd19751840d33af97abe314d29b34dc0d4
[ "MIT" ]
2
2021-01-06T15:03:10.000Z
2022-01-02T07:18:45.000Z
#pragma once #include "util/multivec.hpp" #include "util/timer.hpp" #include <algorithm> #include <cassert> #include <cmath> #include <numeric> #include <vector> namespace ts { // ts = Tensor Sketch /** * Extracts k-mers from a sequence. The k-mer is treated as a number in base alphabet_size and then * converted ...
26.977273
99
0.527043
[ "vector" ]
b10ecb8a161aaf6a406491d0d0e22a24a3a31607
2,707
cc
C++
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/20_util/function/7.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/20_util/function/7.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/20_util/function/7.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
// { dg-do run { target c++11 } } // 2005-01-15 Douglas Gregor <dgregor@cs.indiana.edu> // // Copyright (C) 2005-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Publi...
28.494737
74
0.670115
[ "object" ]
b1109d9f1ac718e3e328bc880495fd8ffa24be1d
12,955
cc
C++
projects/research/text-processors/to_utf8_trys/data_processor_utf8_autoconv_trys/sampler.cc
zaqwes8811/smart-vocabulary-cards
abeab5c86b1c6f68d8796475cba80c4f2c6055ff
[ "Apache-2.0" ]
null
null
null
projects/research/text-processors/to_utf8_trys/data_processor_utf8_autoconv_trys/sampler.cc
zaqwes8811/smart-vocabulary-cards
abeab5c86b1c6f68d8796475cba80c4f2c6055ff
[ "Apache-2.0" ]
11
2015-01-25T14:22:52.000Z
2015-09-08T09:59:38.000Z
projects/research/text-processors/to_utf8_trys/data_processor_utf8_autoconv_trys/sampler.cc
zaqwes8811/vocabulary-cards
abeab5c86b1c6f68d8796475cba80c4f2c6055ff
[ "Apache-2.0" ]
null
null
null
// encoding : utf8 // "Copyright [year] <Copyright Owner>" [legal/copyright] #include <app-server-code/data_processor/sampler_uni_header.h> // где должна проходить граница простр. имен? namespace tmitter_web_service { //} // namespace tmitter_web_service using std::string; using std::vector; using std::s...
29.309955
95
0.624624
[ "vector" ]
b110a774cedc3c86e5c3b72b3382b8c9b8cdc9b6
3,533
hpp
C++
include/LIEF/ELF/Segment.hpp
ienho/LIEF
29eb867e5fdcd5e11ce22d0c6f16ab27505b1be8
[ "Apache-2.0" ]
2
2021-12-31T07:25:05.000Z
2022-03-05T15:03:00.000Z
include/LIEF/ELF/Segment.hpp
ienho/LIEF
29eb867e5fdcd5e11ce22d0c6f16ab27505b1be8
[ "Apache-2.0" ]
null
null
null
include/LIEF/ELF/Segment.hpp
ienho/LIEF
29eb867e5fdcd5e11ce22d0c6f16ab27505b1be8
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 - 2021 R. Thomas * Copyright 2017 - 2021 Quarkslab * * 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 req...
28.264
85
0.729408
[ "object", "vector" ]
b1111a383e6faae280c2918c20ba0e2f50cd317f
7,507
cpp
C++
main/extensions/test/ole/unoTocomCalls/Test/Test.cpp
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/extensions/test/ole/unoTocomCalls/Test/Test.cpp
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/extensions/test/ole/unoTocomCalls/Test/Test.cpp
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
30.893004
77
0.638737
[ "object" ]
b115c7220db8c0c8672a758041f969d9693f0008
2,548
hpp
C++
psrdada_cpp/effelsberg/edd/test/SKTestVector.hpp
MPIfR-BDG/psrdada_cpp
aa9436e59eeb6ee597173caeba8a9e15db8d7d46
[ "MIT" ]
null
null
null
psrdada_cpp/effelsberg/edd/test/SKTestVector.hpp
MPIfR-BDG/psrdada_cpp
aa9436e59eeb6ee597173caeba8a9e15db8d7d46
[ "MIT" ]
3
2020-02-15T12:57:36.000Z
2020-04-08T14:48:57.000Z
psrdada_cpp/effelsberg/edd/test/SKTestVector.hpp
MPIfR-BDG/psrdada_cpp
aa9436e59eeb6ee597173caeba8a9e15db8d7d46
[ "MIT" ]
5
2020-01-09T14:34:54.000Z
2022-03-14T07:15:39.000Z
#ifndef PSRDADA_CPP_EFFELSBERG_EDD_SKTESTVECTOR_HPP #define PSRDADA_CPP_EFFELSBERG_EDD_SKTESTVECTOR_HPP #include "psrdada_cpp/common.hpp" #include <complex> #include <vector> #include <functional> #include <numeric> #include <random> #include <algorithm> namespace psrdada_cpp { namespace effelsberg { namespace edd {...
34.432432
118
0.655808
[ "vector" ]
b11a51a358f349a4d23c0825869ecef6e21b4dba
434
cpp
C++
Array/Intersection of Two Arrays/IntersectionOfTwoArrays.cpp
steveLauwh/Algorithms
e8ce0c5cc2a54fbe9700ed8c02acf0f758243eaa
[ "Apache-2.0" ]
39
2018-09-19T06:57:33.000Z
2022-01-29T09:11:20.000Z
Array/Intersection of Two Arrays/IntersectionOfTwoArrays.cpp
steveLauwh/Data-Structures-And-Algorithms
e8ce0c5cc2a54fbe9700ed8c02acf0f758243eaa
[ "Apache-2.0" ]
null
null
null
Array/Intersection of Two Arrays/IntersectionOfTwoArrays.cpp
steveLauwh/Data-Structures-And-Algorithms
e8ce0c5cc2a54fbe9700ed8c02acf0f758243eaa
[ "Apache-2.0" ]
17
2018-07-09T08:33:14.000Z
2021-12-08T09:30:01.000Z
class Solution { public: vector<int> intersection(vector<int>& nums1, vector<int>& nums2) { set<int> s(nums1.begin(), nums1.end()); set<int> ret; for (int i = 0; i < nums2.size(); i++) { if (s.find(nums2[i]) != s.end()) { re...
22.842105
70
0.419355
[ "vector" ]
b11f26edabbf56ea62101834bc69775a9e863905
11,451
cpp
C++
Plugins/ProceduralMeshes/Source/ProceduralMeshes/Private/SimpleCylinderActor.cpp
AsifulHaque/ProceduralMeshDemos
585425ba563670b83c4d3c8834d0d2fa9ffaa4d7
[ "MIT" ]
289
2016-05-22T10:12:39.000Z
2022-03-25T19:36:37.000Z
Plugins/ProceduralMeshes/Source/ProceduralMeshes/Private/SimpleCylinderActor.cpp
TriAxis-Games/ProceduralMeshDemos
d033e0e6a6103f0406b6b9b2757d069663d9a3d1
[ "MIT" ]
9
2016-05-22T12:40:24.000Z
2022-02-20T20:58:31.000Z
Plugins/ProceduralMeshes/Source/ProceduralMeshes/Private/SimpleCylinderActor.cpp
TriAxis-Games/ProceduralMeshDemos
d033e0e6a6103f0406b6b9b2757d069663d9a3d1
[ "MIT" ]
63
2016-06-14T08:39:07.000Z
2022-03-26T13:20:01.000Z
// Copyright Sigurdur Gunnarsson. All Rights Reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // Example cylinder mesh #include "SimpleCylinderActor.h" #include "Providers/RuntimeMeshProviderStatic.h" ASimpleCylinderActor::ASimpleCylinderActor() { Prim...
41.945055
367
0.714697
[ "mesh", "transform" ]
b124bc44c83eade476e88ef6a569dcf55ecb22d6
5,255
cpp
C++
src/data/mzp.cpp
TheEZIC/mangetsu
808b57765617c7e7805472330db77bf6d05bcd74
[ "MIT" ]
2
2022-02-21T07:38:52.000Z
2022-03-02T17:04:52.000Z
src/data/mzp.cpp
TheEZIC/mangetsu
808b57765617c7e7805472330db77bf6d05bcd74
[ "MIT" ]
null
null
null
src/data/mzp.cpp
TheEZIC/mangetsu
808b57765617c7e7805472330db77bf6d05bcd74
[ "MIT" ]
1
2022-01-09T19:06:44.000Z
2022-01-09T19:06:44.000Z
#include <string.h> #include <mg/data/mzp.hpp> #include <mg/util/endian.hpp> namespace mg::data { void Mzp::MzpArchiveHeader::to_host_order() { archive_entry_count = le_to_host_u16(archive_entry_count); } void Mzp::MzpArchiveHeader::to_file_order() { archive_entry_count = host_to_le_u16(archive_entry_count); } ...
33.685897
78
0.69039
[ "vector" ]
b128e032b837604dbd355adb2866ae2811ae719c
9,086
cpp
C++
wxWidgets-3.1.0/samples/ipc/baseclient.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
2
2016-10-15T05:12:16.000Z
2016-11-06T16:19:53.000Z
wxWidgets-3.1.0/samples/ipc/baseclient.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
14
2016-09-21T21:24:46.000Z
2016-11-15T07:54:21.000Z
wxWidgets-3.1.0/samples/ipc/baseclient.cpp
screwjack/nemesis
8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd
[ "BSD-2-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // Name: samples/ipc/baseclient.cpp // Purpose: IPC sample: console client // Author: Anders Larsen // Most of the code was stolen from: samples/ipc/client.cpp // (c) Julian Smart, Jurgen Doornik //...
26.489796
133
0.55635
[ "vector" ]
b12de0ffd85429ebc1bf6e95a990b49c3cba716e
8,690
cpp
C++
src/crl_contact.cpp
inesc-tec-robotics/carlos_controller
ffcc45f24dd534bb953d5bd4a47badd3d3d5223d
[ "BSD-3-Clause" ]
null
null
null
src/crl_contact.cpp
inesc-tec-robotics/carlos_controller
ffcc45f24dd534bb953d5bd4a47badd3d3d5223d
[ "BSD-3-Clause" ]
null
null
null
src/crl_contact.cpp
inesc-tec-robotics/carlos_controller
ffcc45f24dd534bb953d5bd4a47badd3d3d5223d
[ "BSD-3-Clause" ]
null
null
null
#include "carlos_controller/crl_contact.h" #include "carlos_controller/crl_defines.h" #include <amn_common/amn_mnl_defines.h> #include <amn_common/amn_ik_lib.h> #include <amn_common/amn_lico_lib.h> #include <std_msgs/UInt8.h> #include <brics_actuator/JointVelocities.h> #include <ftm_msgs/ftm_defines.h> #include <std_...
30.173611
110
0.687227
[ "vector" ]
b1361534962c703060d66b2b826cd3911d6fc833
24,808
cpp
C++
rviz_default_plugins/src/rviz_default_plugins/robot/robot_link.cpp
nbbrooks/rviz
e6a4c36a22cab690d97774d3afc8ffaae758e2d9
[ "BSD-3-Clause-Clear" ]
null
null
null
rviz_default_plugins/src/rviz_default_plugins/robot/robot_link.cpp
nbbrooks/rviz
e6a4c36a22cab690d97774d3afc8ffaae758e2d9
[ "BSD-3-Clause-Clear" ]
null
null
null
rviz_default_plugins/src/rviz_default_plugins/robot/robot_link.cpp
nbbrooks/rviz
e6a4c36a22cab690d97774d3afc8ffaae758e2d9
[ "BSD-3-Clause-Clear" ]
null
null
null
/* * Copyright (c) 2008, Willow Garage, Inc. * Copyright (c) 2018, Bosch Software Innovations GmbH. * 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...
31.522236
99
0.702233
[ "mesh", "geometry", "object", "shape", "vector", "model" ]
b139caa5d2a0e16f49ef0d2e0084c9bbced67226
885
hpp
C++
lab/mpllibs/metaparse/v1/util/digit_to_int.hpp
sabel83/metaparse_tutorial
819fddf6bf06736861adbeabeb30967f56b7e8d0
[ "BSL-1.0" ]
24
2015-07-14T01:56:03.000Z
2021-09-16T07:48:46.000Z
lab/mpllibs/metaparse/v1/util/digit_to_int.hpp
sabel83/metaparse_tutorial
819fddf6bf06736861adbeabeb30967f56b7e8d0
[ "BSL-1.0" ]
1
2017-10-01T12:31:25.000Z
2017-10-04T12:16:47.000Z
lab/mpllibs/metaparse/v1/util/digit_to_int.hpp
sabel83/metaparse_tutorial
819fddf6bf06736861adbeabeb30967f56b7e8d0
[ "BSL-1.0" ]
2
2017-08-22T20:31:11.000Z
2019-02-23T07:32:29.000Z
#ifndef MPLLIBS_METAPARSE_V1_UTIL_DIGIT_TO_INT_HPP #define MPLLIBS_METAPARSE_V1_UTIL_DIGIT_TO_INT_HPP // Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICE...
22.692308
64
0.638418
[ "vector" ]
b13ae28242a842340e2917832b885cd31d212a59
1,598
cpp
C++
LeetCode/07/LeetCode728-SelfDividingNumbers.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
LeetCode/07/LeetCode728-SelfDividingNumbers.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
LeetCode/07/LeetCode728-SelfDividingNumbers.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
// LeetCode728-selfDividingNumbers.cpp // Ad147 // Init: 19Jan02 /* ----------------------------------------------------------------------------- A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing number because 128 % 1 == 0, 128 % 2 == 0, and 128 % 8...
26.633333
125
0.475594
[ "vector" ]
b13b1dd103609fd8aec78b8c049c4817bdeec96f
1,236
cpp
C++
aws-cpp-sdk-identitystore/source/model/Group.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-identitystore/source/model/Group.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-identitystore/source/model/Group.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/identitystore/model/Group.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace...
16.48
69
0.70712
[ "model" ]
b13b8b8f0e7a130defe4a6e362e3ad9af92585a6
6,510
cpp
C++
src/Samples/src/samples/materials/shadermaterial/shader_material_skybox_clouds_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/Samples/src/samples/materials/shadermaterial/shader_material_skybox_clouds_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/Samples/src/samples/materials/shadermaterial/shader_material_skybox_clouds_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include <babylon/cameras/free_camera.h> #include <babylon/engines/engine.h> #include <babylon/engines/scene.h> #include <babylon/interfaces/irenderable_scene.h> #include <babylon/lights/hemispheric_light.h> #include <babylon/materials/effect.h> #include <babylon/materials/effect_shaders_store.h> #include <babylon/mate...
26.356275
95
0.616129
[ "mesh", "shape" ]
b13c9753aa94f709e7b5eda98cb48cedefecaf2a
15,498
cpp
C++
android/jni/SearchResultPoi/View/SearchResultPoiView.cpp
usamakhan049/assignment
40eb153e8fd74f73ba52ce29417d8220ab744b5d
[ "BSD-2-Clause" ]
69
2017-06-07T10:47:03.000Z
2022-03-24T08:33:33.000Z
android/jni/SearchResultPoi/View/SearchResultPoiView.cpp
usamakhan049/assignment
40eb153e8fd74f73ba52ce29417d8220ab744b5d
[ "BSD-2-Clause" ]
23
2017-06-07T10:47:00.000Z
2020-07-09T10:31:17.000Z
android/jni/SearchResultPoi/View/SearchResultPoiView.cpp
usamakhan049/assignment
40eb153e8fd74f73ba52ce29417d8220ab744b5d
[ "BSD-2-Clause" ]
31
2017-08-12T13:19:32.000Z
2022-01-04T20:33:40.000Z
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved #include "SearchResultPoiView.h" #include "AndroidAppThreadAssertionMacros.h" #include "SearchVendorNames.h" #include "YelpSearchResultModel.h" #include "YelpParsingHelpers.h" #include "EegeoJsonParser.h" #include "EegeoSearchResultModel.h" namespace ExampleApp ...
40.464752
359
0.631178
[ "vector", "model" ]
b13ec7624e93599d121cb4fc23be22a927436749
2,513
cpp
C++
src/TBase.cpp
Lai0n/TXTMenu
271c8b26b9b54ac5219127e69b1d20f1e19ff2ec
[ "Apache-2.0" ]
null
null
null
src/TBase.cpp
Lai0n/TXTMenu
271c8b26b9b54ac5219127e69b1d20f1e19ff2ec
[ "Apache-2.0" ]
null
null
null
src/TBase.cpp
Lai0n/TXTMenu
271c8b26b9b54ac5219127e69b1d20f1e19ff2ec
[ "Apache-2.0" ]
null
null
null
/* * TBase.cpp * * Created: 11/22/2018 * Author: Peter Karaba */ #include "TBase.hpp" #include "../config.hpp" #include "redirect.hpp" #include <stdio.h> namespace TBase { static TBase::container* navDepthArr[MAXDEPTH]; static uint8_t currentContainerIndex=0; bool item::forward(){ return false; } c...
21.117647
171
0.641862
[ "render" ]
b146e16022cef2ddd701c519f61b498b90e6cc72
6,145
hpp
C++
src/libraries/core/meshTools/edgeFaceCirculator/edgeFaceCirculator.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/meshTools/edgeFaceCirculator/edgeFaceCirculator.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/meshTools/edgeFaceCirculator/edgeFaceCirculator.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2017 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
28.714953
80
0.529862
[ "mesh" ]
b147cc9fbc0f26433de72667ce5e3e0c55164c05
1,334
cpp
C++
src/core/tests/visitors/op/shape_of.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/core/tests/visitors/op/shape_of.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/core/tests/visitors/op/shape_of.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "gtest/gtest.h" #include "ngraph/ngraph.hpp" #include "ngraph/op/util/attr_types.hpp" #include "ngraph/opsets/opset1.hpp" #include "ngraph/opsets/opset3.hpp" #include "ngraph/opsets/opset5.hpp" #include "util/visitor.hpp" ...
34.205128
76
0.724138
[ "shape" ]
b14bae4c56f865796c2dee7a3a2cb8c6280c3385
2,285
cpp
C++
Pipes/pipePacket.cpp
wilseypa/lhf
d686862445eccd3c1bd1d681cff818bb41ed9241
[ "MIT" ]
3
2018-03-28T00:20:47.000Z
2022-01-19T03:00:20.000Z
Pipes/pipePacket.cpp
wilseypa/lhf
d686862445eccd3c1bd1d681cff818bb41ed9241
[ "MIT" ]
23
2020-02-12T18:28:40.000Z
2020-09-29T15:50:39.000Z
Pipes/pipePacket.cpp
wilseypa/lhf
d686862445eccd3c1bd1d681cff818bb41ed9241
[ "MIT" ]
7
2019-12-05T19:52:56.000Z
2021-03-15T07:57:35.000Z
#include <string> #include <vector> #include <typeinfo> #include <iostream> #include "pipePacket.hpp" // pipePacket constructor, currently no needed information for the class constructor template<typename nodeType> pipePacket<nodeType>::pipePacket(const std::string& simplexType, const double epsilon, const int maxDim)...
25.965909
111
0.710284
[ "vector" ]
b14c9dd678cd788c564b5336fce1747074551a5a
36,636
cpp
C++
GL3Plus/src/GLSL/src/OgreGLSLProgramManagerCommon.cpp
spetz911/ogre3d
98e74672d77a201ebd4f62cb61fb4d069cd45830
[ "MIT" ]
null
null
null
GL3Plus/src/GLSL/src/OgreGLSLProgramManagerCommon.cpp
spetz911/ogre3d
98e74672d77a201ebd4f62cb61fb4d069cd45830
[ "MIT" ]
null
null
null
GL3Plus/src/GLSL/src/OgreGLSLProgramManagerCommon.cpp
spetz911/ogre3d
98e74672d77a201ebd4f62cb61fb4d069cd45830
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
48.268775
203
0.631155
[ "object" ]
b14d4584e5286eb33c7391add827d3f094373e36
1,797
cc
C++
thrift/compiler/generate/t_android_generator.cc
dgrnbrg-meta/fbthrift
1d5f0799ef53feeb83425b6c9c79f86aeac7d9ed
[ "Apache-2.0" ]
null
null
null
thrift/compiler/generate/t_android_generator.cc
dgrnbrg-meta/fbthrift
1d5f0799ef53feeb83425b6c9c79f86aeac7d9ed
[ "Apache-2.0" ]
1
2022-03-03T09:40:25.000Z
2022-03-03T09:40:25.000Z
thrift/compiler/generate/t_android_generator.cc
dgrnbrg-meta/fbthrift
1d5f0799ef53feeb83425b6c9c79f86aeac7d9ed
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
26.426471
75
0.710629
[ "vector" ]
b14e7ee3d7b0a8f1d6fb323d712287a18c5c6e79
3,062
cpp
C++
MOM-Glove/MOM-Glove.cpp
Make-O-Matic/MOM-Glove
2157c13bc51eb3e09378383aef68ccdb6237d5ce
[ "MIT" ]
null
null
null
MOM-Glove/MOM-Glove.cpp
Make-O-Matic/MOM-Glove
2157c13bc51eb3e09378383aef68ccdb6237d5ce
[ "MIT" ]
null
null
null
MOM-Glove/MOM-Glove.cpp
Make-O-Matic/MOM-Glove
2157c13bc51eb3e09378383aef68ccdb6237d5ce
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <SoftwareSerial.h> #include "PacketSerial.h" #include "Adafruit_BNO055.h" #include "Adafruit_DRV2605.h" extern "C" { //#include "pfleury/uart.h" }; FUSES = { .low = 0xFF, //0xFF .high = FUSE_SPIEN & FUSE_BOOTSZ0 & FUSE_BOOTRST, //0xDC .extended = FUSE_BODLEVEL1 //0xFD }; LOCKBITS = L...
16.287234
73
0.650555
[ "vector" ]
b14f18cf1560bdb3fd672badbdd37868d71d202a
3,911
cpp
C++
mahbubul-hassan/3-e-treap.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
3
2019-07-20T07:26:31.000Z
2020-08-06T09:31:09.000Z
mahbubul-hassan/3-e-treap.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
null
null
null
mahbubul-hassan/3-e-treap.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
4
2019-06-20T18:43:32.000Z
2020-10-07T16:45:23.000Z
#include <bits/stdc++.h> using namespace std; #define PI 2*acos(0) #define ll long long int bool myAssert(bool b); void testDrivenDevelopment(); int start(int argc=0, char const *argv[] = NULL); int n,m; vector<int> *g; bool *isvisited; #define TN TreapNode class TreapNode{ public: int key, priority; TN *...
21.727778
68
0.510867
[ "vector" ]
b151373e01791e90127b01d9ddff8e77162d6ca1
2,973
cpp
C++
libs/core/thread_support/tests/unit/range.cpp
msimberg/hpx-local
18a15d139d52969994b306dffc00af9a56e1e04f
[ "BSL-1.0" ]
6
2021-12-17T15:00:57.000Z
2022-01-13T17:50:22.000Z
libs/core/thread_support/tests/unit/range.cpp
msimberg/hpx-local
18a15d139d52969994b306dffc00af9a56e1e04f
[ "BSL-1.0" ]
20
2021-11-03T10:16:49.000Z
2022-01-20T02:05:19.000Z
libs/core/thread_support/tests/unit/range.cpp
msimberg/hpx-local
18a15d139d52969994b306dffc00af9a56e1e04f
[ "BSL-1.0" ]
2
2021-12-17T15:35:33.000Z
2022-01-11T12:26:20.000Z
// Copyright (c) 2016 Agustin Berge // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <hpx/local/config.hpp> #include <hpx/iterator_support/range.hpp> #include <hpx...
22.353383
80
0.480659
[ "vector" ]
b152dc062596bfb2585aecf81dd6c7dd1a991321
20,729
cpp
C++
GamingAnywhere/core/ga-conf.cpp
Kaleem2255/Cloud-Gaming-Windows-Sample
09473271aafdb0eabad29a7d9c61753b66172d15
[ "BSD-3-Clause" ]
37
2019-08-08T19:02:09.000Z
2022-01-16T17:35:47.000Z
GamingAnywhere/core/ga-conf.cpp
Kaleem2255/Cloud-Gaming-Windows-Sample
09473271aafdb0eabad29a7d9c61753b66172d15
[ "BSD-3-Clause" ]
1
2019-08-29T09:57:13.000Z
2019-08-29T10:11:31.000Z
GamingAnywhere/core/ga-conf.cpp
Kaleem2255/Cloud-Gaming-Windows-Sample
09473271aafdb0eabad29a7d9c61753b66172d15
[ "BSD-3-Clause" ]
17
2019-08-29T09:58:13.000Z
2022-01-30T14:05:53.000Z
/* * Copyright (c) 2013 Chun-Ying Huang * * This file is part of GamingAnywhere (GA). * * GA is free software; you can redistribute it and/or modify it * under the terms of the 3-clause BSD License as published by the * Free Software Foundation: http://directory.fsf.org/wiki/License:BSD_3Clause * * GA is distr...
27.346966
91
0.672729
[ "vector" ]
b1625274b2c22195346ef5475805b1f4af3d1e94
1,506
cpp
C++
solutions/LeetCode/C++/946.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
solutions/LeetCode/C++/946.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
solutions/LeetCode/C++/946.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 4 ms submission class Solution { public: bool validateStackSequences(vector<int>& pushed, vector<int>& popped) { stack<int> temp; int j = 0; ios::sync_with_stdio(false); cin.tie(...
31.375
98
0.557769
[ "vector" ]
b163dcfa410f6224c76e5d2f1d419f25525b2c66
3,260
cpp
C++
examples/distributed-map/index/main.cpp
enozcan/hazelcast-cpp-client
672ea72811d6281329bd84070e798af711d5cbfb
[ "Apache-2.0" ]
null
null
null
examples/distributed-map/index/main.cpp
enozcan/hazelcast-cpp-client
672ea72811d6281329bd84070e798af711d5cbfb
[ "Apache-2.0" ]
null
null
null
examples/distributed-map/index/main.cpp
enozcan/hazelcast-cpp-client
672ea72811d6281329bd84070e798af711d5cbfb
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2008-2020, Hazelcast, Inc. 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 ...
28.347826
120
0.600613
[ "vector" ]
b16d3f4841a571266e36b4c48bc9a946b406cec7
1,067
cxx
C++
dreco-engine/src/game_objects/game_world.cxx
GloryOfNight/dreco-engine
1d29b747dc9277cbc5952b31833403a65a4d9c71
[ "MIT" ]
1
2020-02-27T13:29:15.000Z
2020-02-27T13:29:15.000Z
dreco-engine/src/game_objects/game_world.cxx
GloryOfNight/dreco-engine
1d29b747dc9277cbc5952b31833403a65a4d9c71
[ "MIT" ]
null
null
null
dreco-engine/src/game_objects/game_world.cxx
GloryOfNight/dreco-engine
1d29b747dc9277cbc5952b31833403a65a4d9c71
[ "MIT" ]
null
null
null
#include "game_world.hxx" #include "game_object.hxx" #include "camera_base.hxx" using namespace dreco; game_world::game_world(game_base* _gi) : gi_owner(_gi) { player_camera = new camera_base(this); RegisterObject("camera", *player_camera); } game_world::~game_world() { for (auto obj : world_objects) ...
18.719298
70
0.679475
[ "object" ]
b17226d444762a593eb152083ee5a1b48b4bda1d
25,276
cpp
C++
groups/bbl/bbldc/bbldc_perioddaterangedaycountadapter.t.cpp
AlisdairM/bde
bc65db208c32513aa545080f57090cc39c608be0
[ "Apache-2.0" ]
1
2022-01-23T11:31:12.000Z
2022-01-23T11:31:12.000Z
groups/bbl/bbldc/bbldc_perioddaterangedaycountadapter.t.cpp
AlisdairM/bde
bc65db208c32513aa545080f57090cc39c608be0
[ "Apache-2.0" ]
null
null
null
groups/bbl/bbldc/bbldc_perioddaterangedaycountadapter.t.cpp
AlisdairM/bde
bc65db208c32513aa545080f57090cc39c608be0
[ "Apache-2.0" ]
null
null
null
// bbldc_perioddaterangedaycountadapter.t.cpp -*-C++-*- #include <bbldc_perioddaterangedaycountadapter.h> #include <bbldc_periodicmaactualactual.h> #include <bdlt_date.h> #include <bslim_testutil.h> #include <bslma_default.h> #include <bslma_testallocator.h> #include <bsls_assert.h> #inclu...
39.93049
79
0.528565
[ "object", "vector" ]
b178180ca65f8ac5c7894e14609957ecdfca9cc7
4,011
cpp
C++
Code/Framework/AzToolsFramework/AzToolsFramework/Debug/TraceContextLogFormatter.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Code/Framework/AzToolsFramework/AzToolsFramework/Debug/TraceContextLogFormatter.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Code/Framework/AzToolsFramework/AzToolsFramework/Debug/TraceContextLogFormatter.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * 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 <AzToolsFramework/Debug/TraceContext.h> #include <AzToolsFramework/Debug/TraceContextLogF...
36.463636
136
0.591124
[ "3d" ]
b178e3b5ae9a38a103ce7bf608408a34371847a4
9,629
cpp
C++
Source/modules/webcl/WebCLKernelArgInfoProvider.cpp
crosswalk-project/blink-crosswalk
16d1b69626699e9ca703e0c24c829e96d07fcd3e
[ "BSD-3-Clause" ]
18
2015-04-16T09:57:11.000Z
2020-12-09T15:58:55.000Z
Source/modules/webcl/WebCLKernelArgInfoProvider.cpp
crosswalk-project/blink-crosswalk
16d1b69626699e9ca703e0c24c829e96d07fcd3e
[ "BSD-3-Clause" ]
58
2015-01-02T14:37:31.000Z
2015-11-30T04:58:51.000Z
Source/modules/webcl/WebCLKernelArgInfoProvider.cpp
crosswalk-project/blink-crosswalk
16d1b69626699e9ca703e0c24c829e96d07fcd3e
[ "BSD-3-Clause" ]
35
2015-01-14T00:10:29.000Z
2022-01-20T10:28:15.000Z
// Copyright (C) 2013 Samsung Electronics Corporation. All rights reserved. // Copyright (C) 2015 Intel Corporation All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #if ENABLE(WEBCL) #include "core/webcl/WebCLException.h" ...
38.983806
138
0.689687
[ "vector" ]
b1799992aa64178a74b0f43fbd9dbc7d5c1a4454
19,681
cpp
C++
src/Battle.cpp
DevelopersGuild/C-RPG
92d33bf5ab14d8c41478d75aa7068f83890a5ea0
[ "MIT" ]
4
2018-04-15T06:01:06.000Z
2022-02-26T02:08:59.000Z
src/Battle.cpp
DevelopersGuild/C-RPG
92d33bf5ab14d8c41478d75aa7068f83890a5ea0
[ "MIT" ]
6
2016-02-02T07:46:03.000Z
2016-06-10T18:41:15.000Z
src/Battle.cpp
DevelopersGuild/C-RPG
92d33bf5ab14d8c41478d75aa7068f83890a5ea0
[ "MIT" ]
5
2016-03-15T01:12:26.000Z
2019-02-28T18:51:14.000Z
#include "Battle.h" #include <fstream> #include <sstream> #include <stdlib.h> #include <time.h> /* The constructor */ Gameplay::BattleCharacter::BattleCharacter() { direction = DIRECTION::right; facing_right = true; status = active; } /* BattleChar(base) loadSprite function Assume the picture is 320 height */...
26.849932
248
0.644835
[ "render", "vector" ]
b17de05dea319131d2bfb0c70d1c50325297e9f9
3,383
hpp
C++
include/te/display.hpp
a1exwang/te
49732e489e84d93b26ecfd93476267c9e46bc965
[ "MIT" ]
null
null
null
include/te/display.hpp
a1exwang/te
49732e489e84d93b26ecfd93476267c9e46bc965
[ "MIT" ]
null
null
null
include/te/display.hpp
a1exwang/te
49732e489e84d93b26ecfd93476267c9e46bc965
[ "MIT" ]
null
null
null
#pragma once #include <bitset> #include <fstream> #include <iostream> #include <memory> #include <mutex> #include <string> #include <unordered_map> #include <vector> #include <te/basic.hpp> #include <te/subprocess.hpp> #include <te/tty_input.hpp> struct SDL_Window; struct SDL_Texture; struct SDL_Renderer; struct _TTF...
26.429688
106
0.695241
[ "vector" ]
b18d40f6f2a00feb654f29b0ff70393047352b02
3,178
cc
C++
ivision/src/model/DescribeTrainDatasByIdsResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
3
2020-01-06T08:23:14.000Z
2022-01-22T04:41:35.000Z
ivision/src/model/DescribeTrainDatasByIdsResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
ivision/src/model/DescribeTrainDatasByIdsResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
/* * 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...
34.543478
105
0.733166
[ "vector", "model" ]
b18e5e6d82593c8a7fa80659804e2d864efdc85c
1,459
cpp
C++
LeetCode/5359.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
LeetCode/5359.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
LeetCode/5359.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
class Solution { private: static const int mod = 1e9 + 7; // 按efficiency从大到小排序 static bool cmp(const pair<int,int>& a, const pair<int,int>& b) { // if(a.second==b.second) // return a.first < b.first; // 效率一样时,不用考虑速度的顺序,随便什么顺序放,插入堆时再检查就行了 return a.second > b.second; } ...
28.057692
72
0.452365
[ "vector" ]
b1929557ac7d095fe9320189cfc3858b2a4d987c
16,379
cpp
C++
src/test/btree_multiset_test.cpp
ohamel-softwaresecure/souffle
d4b9fe641f0c51d2a25408af45416a7e5123f866
[ "UPL-1.0" ]
2
2021-04-29T16:34:06.000Z
2021-12-04T08:31:30.000Z
src/test/btree_multiset_test.cpp
ohamel-softwaresecure/souffle
d4b9fe641f0c51d2a25408af45416a7e5123f866
[ "UPL-1.0" ]
1
2019-11-20T22:48:09.000Z
2019-11-20T22:48:09.000Z
src/test/btree_multiset_test.cpp
ohamel-softwaresecure/souffle
d4b9fe641f0c51d2a25408af45416a7e5123f866
[ "UPL-1.0" ]
1
2021-07-27T07:49:45.000Z
2021-07-27T07:49:45.000Z
/* * Souffle - A Datalog Compiler * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ /********************************************...
30.787594
95
0.43916
[ "vector" ]
b1954ea7ff44b38b67eee7f31cfa81ea12cbc891
722
cpp
C++
C++/0616-Add-Bold-Tag-in-String/soln-1.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0616-Add-Bold-Tag-in-String/soln-1.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0616-Add-Bold-Tag-in-String/soln-1.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
class Solution { public: string addBoldTag(string S, vector<string>& words) { int n = S.length(); vector<bool> tags(n, false); for(string & word : words) { int m = word.length(); for(int i = 0; i < n - m + 1; ++i) { if (S.substr(i, m) == word) { ...
30.083333
71
0.34903
[ "vector" ]
b19737d11a4153423a4774aecf87ccf2253bd821
20,922
cc
C++
PYTHIA8/pythia8243/src/MiniStringFragmentation.cc
mpoghos/AliRoot
e81490f640ad6f2a6189f679de96b07a94304b58
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
PYTHIA8/pythia8243/src/MiniStringFragmentation.cc
mpoghos/AliRoot
e81490f640ad6f2a6189f679de96b07a94304b58
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
PYTHIA8/pythia8243/src/MiniStringFragmentation.cc
mpoghos/AliRoot
e81490f640ad6f2a6189f679de96b07a94304b58
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
// MiniStringFragmentation.cc is a part of the PYTHIA event generator. // Copyright (C) 2019 Torbjorn Sjostrand. // PYTHIA is licenced under the GNU GPL v2 or later, see COPYING for details. // Please respect the MCnet Guidelines, see GUIDELINES for details. // Function definitions (not found in the header) for the . ...
37.095745
79
0.610984
[ "vector" ]
b19cbda0ecce4f4082e32ce894a7d64a1e779949
9,087
cpp
C++
NextEngineEditor/src/displayComponents.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
1
2021-09-10T18:19:16.000Z
2021-09-10T18:19:16.000Z
NextEngineEditor/src/displayComponents.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
null
null
null
NextEngineEditor/src/displayComponents.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
2
2020-04-02T06:46:56.000Z
2021-06-17T16:47:57.000Z
#include "displayComponents.h" #include <imgui/imgui.h> #include "editor.h" #include "ecs/system.h" #include "ecs/ecs.h" #include "core/io/logger.h" #include "core/container/hash_map.h" #include "core/container/string_view.h" #include "graphics/assets/assets.h" hash_map<sstring, OnInspectGUICallback, 103> override_in...
29.990099
185
0.685815
[ "render", "vector" ]
b19cd8b4d8281d0d925525e3bf873d6cc756eb39
2,481
cc
C++
mysql-server/plugin/x/tests/driver/processor/compress_single_message_block_processor.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/plugin/x/tests/driver/processor/compress_single_message_block_processor.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/plugin/x/tests/driver/processor/compress_single_message_block_processor.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with certa...
34.458333
84
0.731157
[ "vector" ]
b19f613d4c93b9d8fe3705dd21a03579383d84fd
179,860
cpp
C++
Eudora71/EuImap/src/ImapMailbox.cpp
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
1
2019-06-15T17:46:11.000Z
2019-06-15T17:46:11.000Z
Eudora71/EuImap/src/ImapMailbox.cpp
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
null
null
null
Eudora71/EuImap/src/ImapMailbox.cpp
ivanagui2/hermesmail-code
34387722d5364163c71b577fc508b567de56c5f6
[ "BSD-3-Clause-Clear" ]
null
null
null
// imapfol.cpp: implementation of the CImapMailbox class. // // Functions to add IMAP mailboxes to Mailboxes and Transfer menus. // For WIN32, mailboxes are also added to the tree control. // // Copyright (c) 1997-2000 by QUALCOMM, Incorporated /* Copyright (c) 2016, Computer History Museum All rights reserved....
23.192779
150
0.641149
[ "object", "model" ]
b1a15f7a30f85d7306c006f0c23088e777ab8e34
633
cc
C++
other/lower_bound.cc
gnosis23/algorithms
99fd4509b82876c09fb958888c9a454845ba2c32
[ "MIT" ]
1
2020-09-07T15:41:12.000Z
2020-09-07T15:41:12.000Z
other/lower_bound.cc
gnosis23/algorithms
99fd4509b82876c09fb958888c9a454845ba2c32
[ "MIT" ]
null
null
null
other/lower_bound.cc
gnosis23/algorithms
99fd4509b82876c09fb958888c9a454845ba2c32
[ "MIT" ]
null
null
null
/** * 寻找下界(如果没有会返回最大的小于目标数加一) * 参考:https://en.cppreference.com/w/cpp/algorithm/lower_bound * * 1) 如果目标不重复,可以在里面加个相等的分支,直接返回;剩下的就是下界 * 2) 用前闭后开的方式实现“二分法”,可以避开一些 bug,如 [2,3] */ #include <vector> using std::vector; int lower_bound(vector<int>& nums, int val) { int last = nums.size(); int first = 0; int...
21.1
61
0.515008
[ "vector" ]
b1a1d4e1d07e9dbe3093c674de6a9efee58ac456
8,654
cpp
C++
src/osgEarthBuildings/TerrainClamper.cpp
VTMAK/osgearth-buildings-pprabhu
b18c78ee5c8c0876a76ee8897070f1dbb55ccb7b
[ "MIT" ]
null
null
null
src/osgEarthBuildings/TerrainClamper.cpp
VTMAK/osgearth-buildings-pprabhu
b18c78ee5c8c0876a76ee8897070f1dbb55ccb7b
[ "MIT" ]
null
null
null
src/osgEarthBuildings/TerrainClamper.cpp
VTMAK/osgearth-buildings-pprabhu
b18c78ee5c8c0876a76ee8897070f1dbb55ccb7b
[ "MIT" ]
null
null
null
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2016 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either ver...
29.841379
103
0.556159
[ "geometry", "vector" ]
b1a447506ea81ce1d90ee037a1914112ac8253b1
6,779
cpp
C++
SCSL/Rein/Rein/rein.cpp
shiwanghua/matching-algorithm
a09714b76d8722a7891b72f4740948814369b40e
[ "MIT" ]
14
2019-01-18T12:56:27.000Z
2020-12-09T12:31:21.000Z
SCSL/Rein/Rein/rein.cpp
shiwanghua/matching-algorithm
a09714b76d8722a7891b72f4740948814369b40e
[ "MIT" ]
null
null
null
SCSL/Rein/Rein/rein.cpp
shiwanghua/matching-algorithm
a09714b76d8722a7891b72f4740948814369b40e
[ "MIT" ]
8
2019-03-11T13:22:32.000Z
2021-04-27T04:18:57.000Z
#include "rein.h" void Rein::insert(IntervalSub &sub, int64_t &origintime) { Timer t; double poss = 1; int level; for(int j = 0; j < sub.size; ++j){ IntervalCnt &cnt = sub.constraints[j]; poss *= (cnt.highValue-cnt.lowValue)*1.0/valDom; } level = (int) floor(log(poss)/log(0.1)/Dom*newlevel); if(le...
28.603376
110
0.587845
[ "vector" ]
b1ab4951fefabcde3d0f3e0f77e853036dbfa19a
9,011
hpp
C++
src/mlpack/core/tree/address.hpp
NaxAlpha/mlpack-build
1f0c1454d4b35eb97ff115669919c205cee5bd1c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2018-05-21T11:08:36.000Z
2022-03-12T07:52:14.000Z
src/mlpack/core/tree/address.hpp
okmegy/Mlpack
ac9abef3c1353f483ed1af42ba5a7432f291ca1a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/core/tree/address.hpp
okmegy/Mlpack
ac9abef3c1353f483ed1af42ba5a7432f291ca1a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @file address.hpp * @author Mikhail Lozhnikov * * This file contains a series of functions for translating points to addresses * and back and functions for comparing addresses. * * The notion of addresses is described in the following paper. * @code * @inproceedings{bayer1997, * author = {Bayer, Rudol...
33.623134
80
0.661969
[ "vector", "transform" ]
b1aea4ecbc3828699def47553febc9c41a23a1b3
7,798
cc
C++
src/developer/system_monitor/bin/harvester/task_tree.cc
EnderNightLord-ChromeBook/fuchsia-pine64-pinephone
05e2c059b57b6217089090a0315971d1735ecf57
[ "BSD-3-Clause" ]
14
2020-10-25T05:48:36.000Z
2021-09-20T02:46:20.000Z
src/developer/system_monitor/bin/harvester/task_tree.cc
JokeZhang/fuchsia
d6e9dea8dca7a1c8fa89d03e131367e284b30d23
[ "BSD-3-Clause" ]
null
null
null
src/developer/system_monitor/bin/harvester/task_tree.cc
JokeZhang/fuchsia
d6e9dea8dca7a1c8fa89d03e131367e284b30d23
[ "BSD-3-Clause" ]
2
2020-10-25T01:13:49.000Z
2020-10-26T02:32:13.000Z
// Copyright 2019 The Fuchsia 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 "task_tree.h" #include <fuchsia/kernel/c/fidl.h> #include <inttypes.h> #include <lib/fdio/directory.h> #include <lib/fdio/fdio.h> #include <lib/s...
31.067729
80
0.622467
[ "vector" ]
b1ba88df56595199425c0ca2aa81fd9015aee822
15,996
cpp
C++
src/model/ScheduleWeek.cpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
354
2015-01-10T17:46:11.000Z
2022-03-29T10:00:00.000Z
src/model/ScheduleWeek.cpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
3,243
2015-01-02T04:54:45.000Z
2022-03-31T17:22:22.000Z
src/model/ScheduleWeek.cpp
jmarrec/OpenStudio
5276feff0d8dbd6c8ef4e87eed626bc270a19b14
[ "blessing" ]
157
2015-01-07T15:59:55.000Z
2022-03-30T07:46:09.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
41.120823
131
0.731558
[ "vector", "model" ]
b1bb4f08dcb992725fd97f41bf0b50c5c7a03f9b
2,745
cpp
C++
3dEngine/src/scene/ui/widget/container/Container.cpp
petitg1987/urchinEngine
a14a57ac49a19237d748d2eafc7c2a38a45b95d6
[ "BSL-1.0" ]
18
2020-06-12T00:04:46.000Z
2022-01-11T14:56:19.000Z
3dEngine/src/scene/ui/widget/container/Container.cpp
petitg1987/urchinEngine
a14a57ac49a19237d748d2eafc7c2a38a45b95d6
[ "BSL-1.0" ]
null
null
null
3dEngine/src/scene/ui/widget/container/Container.cpp
petitg1987/urchinEngine
a14a57ac49a19237d748d2eafc7c2a38a45b95d6
[ "BSL-1.0" ]
6
2020-08-16T15:58:41.000Z
2022-03-05T13:17:50.000Z
#include <scene/ui/widget/container/Container.h> #include <scene/ui/widget/container/LazyWidget.h> namespace urchin { Container::Container(Position position, Size size, std::string skinName) : Widget(position, size), skinName(std::move(skinName)) { scrollbar = std::make_unique<Scro...
31.918605
118
0.634244
[ "vector" ]
04db087c161c80ff6d51f40e439f9c043d111d93
1,981
cpp
C++
PAT-Advanced/PAT1027-ColorsInMars.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
PAT-Advanced/PAT1027-ColorsInMars.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
PAT-Advanced/PAT1027-ColorsInMars.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
// PAT1027-ColorsInMars.cpp // Ad // Init: 19Apr24 // Score: 20/20. // Spent time: 13 min. // Runtime: 3 ms. /* ----------------------------------------------------------------------------- 1027 Colors in Mars (20 分) People in Mars represent the colors in their computers in a similar way as the Earth people. That ...
29.567164
154
0.547198
[ "vector" ]
04e41f0ece7e417a7ccff9dc6b5a0b5d20c416bc
3,838
hpp
C++
src/libraries/core/fields/DimensionedFields/DimensionedField/SubDimensionedField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/fields/DimensionedFields/DimensionedField/SubDimensionedField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/fields/DimensionedFields/DimensionedField/SubDimensionedField.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it under...
28.641791
79
0.52814
[ "mesh" ]
04eb9ee8cce7bc0b053d1f40fe1bd5c08c2c7c2a
14,827
cpp
C++
ShearParaWorker.cpp
EricAlex/structrock
754d8c481d22a48ea7eb4e055eb16c64c44055ab
[ "BSD-3-Clause" ]
11
2016-05-10T07:07:35.000Z
2022-03-23T02:57:14.000Z
ShearParaWorker.cpp
liuxinren456852/structrock
1a5e660bdbb5f80fb2ab479b7398c072e2573fd1
[ "BSD-3-Clause" ]
null
null
null
ShearParaWorker.cpp
liuxinren456852/structrock
1a5e660bdbb5f80fb2ab479b7398c072e2573fd1
[ "BSD-3-Clause" ]
11
2016-03-25T01:24:59.000Z
2020-06-04T23:40:06.000Z
/* * Software License Agreement (BSD License) * * Xin Wang * * 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 copyrigh...
37.63198
218
0.610575
[ "vector" ]
04ec8f201632a89a4f9e3ad61a78d1e279405d59
1,503
cpp
C++
Chapter06/Palindrome/Palindrome.cpp
Vaibhav-Kashyap/CPPDataStructures-Algorithmspackt
8fa5ecbcdc836321e63a8361fd8be4b7df392961
[ "MIT" ]
207
2018-04-24T22:39:37.000Z
2022-03-28T12:16:16.000Z
Chapter06/Palindrome/Palindrome.cpp
Vaibhav-Kashyap/CPPDataStructures-Algorithmspackt
8fa5ecbcdc836321e63a8361fd8be4b7df392961
[ "MIT" ]
1
2020-06-24T23:47:28.000Z
2020-07-17T12:56:41.000Z
Chapter06/Palindrome/Palindrome.cpp
Vaibhav-Kashyap/CPPDataStructures-Algorithmspackt
8fa5ecbcdc836321e63a8361fd8be4b7df392961
[ "MIT" ]
98
2018-04-28T15:03:48.000Z
2022-01-03T12:16:07.000Z
// Project: Palindrome.cbp // File : Palindrome.cpp #include <iostream> #include <algorithm> using namespace std; bool IsPalindrome( string str) { // Palindrome is not case sensitive // so we convert all characters // to uppercase transform( str.begin(), str.end(), str.b...
19.519481
52
0.533599
[ "transform" ]
04f03f65da0eba7cbddf2da3a32882304aeba607
5,734
cpp
C++
Section22/UnsocpedEnums/main.cpp
Himanshu40/Learn-Cpp
f0854f7c88bf31857c0c6216af80245666ca9b54
[ "CC-BY-4.0" ]
2
2021-07-18T18:12:10.000Z
2021-07-19T15:40:25.000Z
Section22/UnsocpedEnums/main.cpp
Himanshu40/Learn-Cpp
f0854f7c88bf31857c0c6216af80245666ca9b54
[ "CC-BY-4.0" ]
null
null
null
Section22/UnsocpedEnums/main.cpp
Himanshu40/Learn-Cpp
f0854f7c88bf31857c0c6216af80245666ca9b54
[ "CC-BY-4.0" ]
null
null
null
#include <iostream> #include <vector> #include <string> // Used for test1 enum Direction {North, South, East, West}; // Used for test2 // Unscoped enumeration representing items for a grocery shopping list enum GroceryItem {Milk, Bread, Apple, Orange}; // Used for test3 // Unscoped enumerations holding the possible ...
25.259912
83
0.574294
[ "vector", "model" ]
04f1b4c227edc6696378d71e9b7a7b1a99487867
31,172
cpp
C++
movie/win32/dsmixer.cpp
3c1u/krkrz
3655de95a45cc72e22f04ac9fa10cfbff320f53f
[ "BSD-3-Clause" ]
null
null
null
movie/win32/dsmixer.cpp
3c1u/krkrz
3655de95a45cc72e22f04ac9fa10cfbff320f53f
[ "BSD-3-Clause" ]
null
null
null
movie/win32/dsmixer.cpp
3c1u/krkrz
3655de95a45cc72e22f04ac9fa10cfbff320f53f
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************/ /*! @file @brief VMR9を使うオーバーレイクラス 実行にはDirectX9以降が必要 ----------------------------------------------------------------------------- Copyright (C) 2005 T.Imoto ----------------------------------------------------------------------------- @aut...
37.830097
161
0.543244
[ "render", "object" ]
04f503a81ff04d6aa5bb3342a7b1c4a3a240f4be
10,199
cpp
C++
bftengine/src/bftengine/IncomingMsgsStorage.cpp
MaggieQi/concord-bft
8db0cfbec988e691ce592901124bee6617d64be4
[ "Apache-2.0" ]
null
null
null
bftengine/src/bftengine/IncomingMsgsStorage.cpp
MaggieQi/concord-bft
8db0cfbec988e691ce592901124bee6617d64be4
[ "Apache-2.0" ]
null
null
null
bftengine/src/bftengine/IncomingMsgsStorage.cpp
MaggieQi/concord-bft
8db0cfbec988e691ce592901124bee6617d64be4
[ "Apache-2.0" ]
1
2021-05-18T02:12:33.000Z
2021-05-18T02:12:33.000Z
//Concord // //Copyright (c) 2018 VMware, Inc. All Rights Reserved. // //This product is licensed to you under the Apache 2.0 license (the "License"). You may not use this product except in compliance with the Apache 2.0 License. // //This product may include a number of subcomponents with separate copyright notices ...
31.094512
235
0.721149
[ "vector" ]
04f55eea6bb1e2226b3ba129e2e21b4f2a258322
2,815
cpp
C++
Asteroids/src/renderer/DebugLine.cpp
alan-y-han/Asteroids
1428d9a3e73952f27e6fa106d1720aab6bcf10e7
[ "Zlib", "MIT" ]
1
2018-04-24T15:41:27.000Z
2018-04-24T15:41:27.000Z
Asteroids/src/renderer/DebugLine.cpp
alan-y-han/Asteroids
1428d9a3e73952f27e6fa106d1720aab6bcf10e7
[ "Zlib", "MIT" ]
null
null
null
Asteroids/src/renderer/DebugLine.cpp
alan-y-han/Asteroids
1428d9a3e73952f27e6fa106d1720aab6bcf10e7
[ "Zlib", "MIT" ]
null
null
null
#include "DebugLine.h" #include <iostream> DebugLine::DebugLine() { // Create VAO glGenVertexArrays(1, &VAO); glBindVertexArray(VAO); // Create VBO glGenBuffers(1, &VBO); glBindBuffer(GL_ARRAY_BUFFER, VBO); // position attribute glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 6 * siz...
33.915663
151
0.698757
[ "model" ]
04f74e61395a7e911b99cce321691e01bd02148d
2,619
cc
C++
TFM/click-2.0.1/elements/standard/portinfo.cc
wangyang2013/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
3
2018-04-14T14:43:31.000Z
2019-12-06T13:09:58.000Z
TFM/click-2.0.1/elements/standard/portinfo.cc
nfvproject/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
null
null
null
TFM/click-2.0.1/elements/standard/portinfo.cc
nfvproject/TFM
cabca56229a7e4dafc76da8d631980fc453c9493
[ "BSD-3-Clause" ]
null
null
null
// -*- c-basic-offset: 4; related-file-name: "../../include/click/standard/portinfo.hh" -*- /* * portinfo.{cc,hh} -- element stores TCP/UDP port information * Eddie Kohler * * Copyright (c) 2004 The Regents of the University of California * * Permission is hereby granted, free of charge, to any person obtaining a...
32.333333
117
0.683467
[ "vector" ]
04f7929c03f4c5361f3fd371c3f54539bad6e91a
16,865
cpp
C++
Co-Simulation/Sumo/sumo-1.7.0/src/guisim/GUICalibrator.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/guisim/GUICalibrator.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/guisim/GUICalibrator.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
41.034063
150
0.604744
[ "object", "vector" ]
04f93e108373a19514933a9ef24d46f4e54407e5
2,459
cc
C++
leet_code/Evaluate_Division/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Evaluate_Division/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Evaluate_Division/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { private : const int maxLength = 20; const double init = 0.0f; const double invalid = -1.0f; public: vector<double> calcEquation(vector<vector<string>>& equations, vector<double>& values, vector<vector<string>>& queries) { vector<vector<double> > graph; unordered_map<str...
32.786667
125
0.431476
[ "vector" ]
ca03cd78a3fe6f42ecfe457b857b23553687b1e1
6,410
cpp
C++
component/oai-amf/src/sbi/amf_server/api/IndividualUeContextDocumentApi.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-amf/src/sbi/amf_server/api/IndividualUeContextDocumentApi.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-amf/src/sbi/amf_server/api/IndividualUeContextDocumentApi.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
/** * Namf_Communication * AMF Communication Service © 2019, 3GPP Organizational Partners (ARIB, ATIS, * CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * * The version of the OpenAPI document: 1.1.0.alpha-1 * * * NOTE: This class is auto generated by OpenAPI Generator * (https://openapi-generator.tech). ht...
31.890547
80
0.707644
[ "model" ]
ca05129df34218b64d3bfd3766558341974f8f29
2,448
cpp
C++
thirdparty/simpleuv/thirdparty/libigl/include/igl/gaussian_curvature.cpp
MelvinG24/dust3d
c4936fd900a9a48220ebb811dfeaea0effbae3ee
[ "MIT" ]
2,392
2016-12-17T14:14:12.000Z
2022-03-30T19:40:40.000Z
thirdparty/simpleuv/thirdparty/libigl/include/igl/gaussian_curvature.cpp
MelvinG24/dust3d
c4936fd900a9a48220ebb811dfeaea0effbae3ee
[ "MIT" ]
106
2018-04-19T17:47:31.000Z
2022-03-01T19:44:11.000Z
thirdparty/simpleuv/thirdparty/libigl/include/igl/gaussian_curvature.cpp
MelvinG24/dust3d
c4936fd900a9a48220ebb811dfeaea0effbae3ee
[ "MIT" ]
184
2017-11-15T09:55:37.000Z
2022-02-21T16:30:46.000Z
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at htt...
42.947368
375
0.660131
[ "geometry" ]
ca09dfc21a04bb7244e978529b18585583695c75
1,428
cpp
C++
REDSI_1160929_1161573/boost_1_67_0/libs/geometry/doc/src/examples/views/box_view.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
85
2015-02-08T20:36:17.000Z
2021-11-14T20:38:31.000Z
libs/boost/libs/geometry/doc/src/examples/views/box_view.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/boost/libs/geometry/doc/src/examples/views/box_view.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
27
2015-01-28T16:33:30.000Z
2021-08-12T05:04:39.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // QuickBook Example // Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost...
24.20339
85
0.612045
[ "geometry", "model" ]