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
a1b9989269085c133ec57497dd498f406b48261b
723
cpp
C++
SequenceEquation.cpp
sachanakshat/Competitive_Practice
63170d87398bf5bd163febecdcfef8db21c632c7
[ "MIT" ]
null
null
null
SequenceEquation.cpp
sachanakshat/Competitive_Practice
63170d87398bf5bd163febecdcfef8db21c632c7
[ "MIT" ]
null
null
null
SequenceEquation.cpp
sachanakshat/Competitive_Practice
63170d87398bf5bd163febecdcfef8db21c632c7
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <chrono> #include<bits/stdc++.h> using namespace std; using namespace std::chrono; // Complete the squares function below. int squares(int a, int b) { int n1 = ceil(sqrt(a)); int n2 = floor(sqrt(b)); return n2-n1+1; } int main() { au...
20.083333
74
0.591978
[ "vector" ]
a1ba01ab644ce757093ddb30fde79b1a4e9c2c9c
624
cpp
C++
BashuOJ-Code/2321.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/2321.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
BashuOJ-Code/2321.cpp
magicgh/algorithm-contest-code
c21a90b11f73535c61e6363a4305b74cff24a85b
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<cstring> #include<iomanip> #include<algorithm> #include<vector> using namespace std; inline int getint() { int num=0,bj=1; char c=getchar(); while(c<'0'||c>'9')bj=(c=='-'||bj==-1)?-1:1,c=getchar(); while(c>='0'&&c<='9')num=(num<<1)+(num<...
18.352941
62
0.581731
[ "vector" ]
a1ba9427a7019521551053f4bf08d7f48aace3de
25,813
cpp
C++
XGF/Src/Core/GDI.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
5
2017-11-09T05:02:52.000Z
2020-06-23T09:50:25.000Z
XGF/Src/Core/GDI.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
null
null
null
XGF/Src/Core/GDI.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
null
null
null
#include "../../Include/GDI.hpp" #include "../../Include/Logger.hpp" #include <DirectXMath.h> #include "../../Include/Context.hpp" namespace XGF { void GDI::Create() { mDisplayMode = DisplayMode::Windowed; mDisplayFormat = DXGI_FORMAT_R8G8B8A8_UNORM; XGF_Error_Check(Framework, CreateDXGIFactory1(__uuidof(IDX...
28.617517
220
0.716616
[ "render", "vector" ]
a1bd22c107e7e4a10751e8d1e6a7cf7e18844432
10,798
cpp
C++
weex_core/Source/core/api/WeexJSCoreApi.cpp
zhhao226/incubator-weex
6ba255365a12b5c41422ce0a48f1f5d2a5f96207
[ "Apache-2.0" ]
null
null
null
weex_core/Source/core/api/WeexJSCoreApi.cpp
zhhao226/incubator-weex
6ba255365a12b5c41422ce0a48f1f5d2a5f96207
[ "Apache-2.0" ]
null
null
null
weex_core/Source/core/api/WeexJSCoreApi.cpp
zhhao226/incubator-weex
6ba255365a12b5c41422ce0a48f1f5d2a5f96207
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
35.519737
144
0.660493
[ "render", "object" ]
a1bed247e7a124de7bc27f827c58f8c6ff304549
10,203
cpp
C++
third_party/geogram/src/examples/graphics/demo_Raytrace/main.cpp
ringmesh/RINGMesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
74
2017-10-26T15:40:23.000Z
2022-03-22T09:27:39.000Z
third_party/geogram/src/examples/graphics/demo_Raytrace/main.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
45
2017-10-26T15:54:01.000Z
2021-01-27T10:16:34.000Z
third_party/geogram/src/examples/graphics/demo_Raytrace/main.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
17
2018-03-27T11:31:24.000Z
2022-03-06T18:41:52.000Z
/* * Copyright (c) 2012-2014, Bruno Levy 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...
29.833333
80
0.613251
[ "mesh", "object", "model" ]
a1c039479a736edee45f1e5900da8bf766771aa0
18,860
cpp
C++
lib/src/ChannelImplCarrier.cpp
luocf/Elastos.SDK.ElephantWallet.Contact
361167b010483b0cc99ed094e376d4486a9fe001
[ "MIT" ]
null
null
null
lib/src/ChannelImplCarrier.cpp
luocf/Elastos.SDK.ElephantWallet.Contact
361167b010483b0cc99ed094e376d4486a9fe001
[ "MIT" ]
null
null
null
lib/src/ChannelImplCarrier.cpp
luocf/Elastos.SDK.ElephantWallet.Contact
361167b010483b0cc99ed094e376d4486a9fe001
[ "MIT" ]
null
null
null
// // ChannelImplCarrier.cpp // // Created by mengxk on 19/03/16. // Copyright © 2016 mengxk. All rights reserved. // #include <ChannelImplCarrier.hpp> #include <ela_session.h> #include <cstring> #include <Log.hpp> #include <SafePtr.hpp> #include <Platform.hpp> namespace elastos { /******************************...
36.339114
150
0.613839
[ "vector" ]
a1c489b51d9db6c8451599723ffd286dccd7b226
4,735
cxx
C++
TOF/TOFbase/AliTOFFEEDump.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
TOF/TOFbase/AliTOFFEEDump.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
TOF/TOFbase/AliTOFFEEDump.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
28.017751
76
0.586061
[ "object" ]
a1c5e49f0843ec0c2795ac1cb1cff333e2d95f41
8,045
cc
C++
src/developer/shell/josh/lib/task_test.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/shell/josh/lib/task_test.cc
JokeZhang/fuchsia
d6e9dea8dca7a1c8fa89d03e131367e284b30d23
[ "BSD-3-Clause" ]
null
null
null
src/developer/shell/josh/lib/task_test.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 <lib/async-loop/cpp/loop.h> #include <lib/async-loop/default.h> #include <lib/fdio/spawn.h> #include <zircon/process.h> #include <zircon/syscalls....
35.915179
100
0.6445
[ "object", "vector" ]
a1c6cd74c5bf4e680ea89f7b47ec640dc2d011ee
13,320
hpp
C++
SamSrc/sam/Tokens.hpp
dirkcgrunwald/SAM
0478925c506ad38fd405954cc4415a3e96e77d90
[ "MIT" ]
6
2019-08-16T07:13:17.000Z
2021-06-08T21:15:52.000Z
SamSrc/sam/Tokens.hpp
dirkcgrunwald/SAM
0478925c506ad38fd405954cc4415a3e96e77d90
[ "MIT" ]
1
2020-05-30T20:35:18.000Z
2020-05-30T20:35:18.000Z
SamSrc/sam/Tokens.hpp
dirkcgrunwald/SAM
0478925c506ad38fd405954cc4415a3e96e77d90
[ "MIT" ]
3
2020-02-17T18:38:14.000Z
2021-03-28T02:47:57.000Z
#ifndef TOKENS_HPP #define TOKENS_HPP #include <boost/variant/recursive_variant.hpp> #include <boost/lexical_cast.hpp> #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_generators.hpp> #include <boost/uuid/uuid_io.hpp> #include <iostream> #include <vector> #include <stack> #include <sam/FeatureMap.hpp> namesp...
26.909091
83
0.62958
[ "vector" ]
a1c86c8fd3970157d8223eb9ed535a9db0923d87
2,964
cpp
C++
source/other/polygonreduction.cpp
PluginCafe/cinema4d_cpp_sdk
c613f6104f05649b909451f20014c3c923c43bfa
[ "Apache-2.0" ]
26
2015-02-10T11:39:56.000Z
2022-02-15T02:37:37.000Z
source/other/polygonreduction.cpp
PluginCafe/cinema4d_cpp_sdk
c613f6104f05649b909451f20014c3c923c43bfa
[ "Apache-2.0" ]
5
2015-04-06T01:13:09.000Z
2018-09-06T14:00:25.000Z
source/other/polygonreduction.cpp
PluginCafe/cinema4d_cpp_sdk
c613f6104f05649b909451f20014c3c923c43bfa
[ "Apache-2.0" ]
18
2015-03-13T17:13:36.000Z
2020-11-25T10:37:59.000Z
///////////////////////////////////////////////////////////// // CINEMA 4D SDK // ///////////////////////////////////////////////////////////// // (c) MAXON Computer GmbH, all rights reserved // ///////////////////////////////////////////////////////////// /////////...
29.939394
203
0.65587
[ "object" ]
a1d297c5cf6ecf57a8ee26f7e3bec9fa416aaf74
4,867
hpp
C++
modules/3d/src/ptcloud/sac_segmentation.hpp
HattrickGenerator/opencv
7554b53adfff8996e576691af4242f6f4acdc8f3
[ "Apache-2.0" ]
null
null
null
modules/3d/src/ptcloud/sac_segmentation.hpp
HattrickGenerator/opencv
7554b53adfff8996e576691af4242f6f4acdc8f3
[ "Apache-2.0" ]
null
null
null
modules/3d/src/ptcloud/sac_segmentation.hpp
HattrickGenerator/opencv
7554b53adfff8996e576691af4242f6f4acdc8f3
[ "Apache-2.0" ]
1
2021-04-30T18:00:41.000Z
2021-04-30T18:00:41.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_3D_SAC_SEGMENTATION_HPP #define OPENCV_3D_SAC_SEGMENTATION_HPP #include "opencv2/3d/ptcloud.hpp" namespace c...
33.798611
113
0.731046
[ "vector", "model", "3d" ]
a1d35996589d66cfe99b971e70c0557416fe90c8
1,245
cpp
C++
leetcode/_283_move_zeros.cpp
WindyDarian/OJ_Submissions
a323595c3a32ed2e07af65374ef90c81d5333f96
[ "Apache-2.0" ]
3
2017-02-19T14:38:32.000Z
2017-07-22T17:06:55.000Z
leetcode/_283_move_zeros.cpp
WindyDarian/OJ_Submissions
a323595c3a32ed2e07af65374ef90c81d5333f96
[ "Apache-2.0" ]
null
null
null
leetcode/_283_move_zeros.cpp
WindyDarian/OJ_Submissions
a323595c3a32ed2e07af65374ef90c81d5333f96
[ "Apache-2.0" ]
null
null
null
//============================================================================== // Copyright 2016 Windy Darian (Ruoyu Fan) // // 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:...
31.125
80
0.519679
[ "vector" ]
a1d4fb689f7567adcf413bb1f99250d1beefa36e
45,309
cpp
C++
library/src/main/cpp/openjpg.cpp
AnonymousGeekDev/JP2ForAndroid
1e16070f060eec993f34da2401efd4abffbb792d
[ "BSD-2-Clause" ]
12
2019-07-02T12:23:53.000Z
2020-03-15T17:32:43.000Z
library/src/main/cpp/openjpg.cpp
AnonymousGeekDev/JP2ForAndroid
1e16070f060eec993f34da2401efd4abffbb792d
[ "BSD-2-Clause" ]
1
2021-05-17T19:53:51.000Z
2022-02-25T10:31:17.000Z
library/src/main/cpp/openjpg.cpp
AnonymousGeekDev/JP2ForAndroid
1e16070f060eec993f34da2401efd4abffbb792d
[ "BSD-2-Clause" ]
8
2020-09-05T22:03:02.000Z
2022-03-18T09:03:02.000Z
// based on openjpeg-2.1.1/jni/openjpeg/src/bin/jp2/opj_decompress.c and opj_compress.c #include "opj_config.h" #include <jni.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "openjpeg.h" typedef unsigned int OPJ_BITFIELD; #include "event.h" #include "function_list.h" #include "thread...
36.89658
228
0.604229
[ "object" ]
a1d662654e8b03acb266aa01907f345ee1de60d7
79,645
hpp
C++
Lib/Chip/CM3/NXP/LPC15xx_v0.7/C_CAN0.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
376
2015-07-17T01:41:20.000Z
2022-03-26T04:02:49.000Z
Lib/Chip/CM3/NXP/LPC15xx_v0.7/C_CAN0.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
59
2015-07-03T21:30:13.000Z
2021-03-05T11:30:08.000Z
Lib/Chip/CM3/NXP/LPC15xx_v0.7/C_CAN0.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
53
2015-07-14T12:17:06.000Z
2021-06-04T07:28:40.000Z
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Controller Area Network C_CAN0 namespace CCan0Cntl{ ///<CAN control using Addr = Register::Address<0x400f0000,0x00000000,0x00000000,unsigned>; ///Initialization enum class InitVal { normalOperation=0x00000000,...
73.068807
553
0.689497
[ "object" ]
a1db181b088fd81eb757f5077dccfb53d694b7ed
5,101
cpp
C++
wled00/ColorPalette/PaletteManager.cpp
mdraper81/WLED
408696ef02f7b2dd66300a6a2ddb67a74d037b88
[ "MIT" ]
null
null
null
wled00/ColorPalette/PaletteManager.cpp
mdraper81/WLED
408696ef02f7b2dd66300a6a2ddb67a74d037b88
[ "MIT" ]
null
null
null
wled00/ColorPalette/PaletteManager.cpp
mdraper81/WLED
408696ef02f7b2dd66300a6a2ddb67a74d037b88
[ "MIT" ]
null
null
null
#include "PaletteManager.h" #include "StandardColors.h" namespace ColorPalette { /* ** ============================================================================ ** Constructor ** ============================================================================ */ PaletteManager::PaletteManager() { // There will al...
33.339869
79
0.574005
[ "vector" ]
a1ddce1c14d5bfc03cc159705ee307c5cf127283
16,466
cpp
C++
be/src/serde/column_array_serde.cpp
stephen-shelby/starrocks
67932670efddbc8c56e2aaf5d3758724dcb44b0a
[ "Zlib", "PSF-2.0", "BSD-2-Clause", "Apache-2.0", "ECL-2.0", "BSD-3-Clause-Clear" ]
1
2022-03-08T09:13:32.000Z
2022-03-08T09:13:32.000Z
be/src/serde/column_array_serde.cpp
stephen-shelby/starrocks
67932670efddbc8c56e2aaf5d3758724dcb44b0a
[ "Zlib", "PSF-2.0", "BSD-2-Clause", "Apache-2.0", "ECL-2.0", "BSD-3-Clause-Clear" ]
null
null
null
be/src/serde/column_array_serde.cpp
stephen-shelby/starrocks
67932670efddbc8c56e2aaf5d3758724dcb44b0a
[ "Zlib", "PSF-2.0", "BSD-2-Clause", "Apache-2.0", "ECL-2.0", "BSD-3-Clause-Clear" ]
null
null
null
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited. #include "serde/column_array_serde.h" #include <fmt/format.h> #include "column/array_column.h" #include "column/binary_column.h" #include "column/column_visitor_adapter.h" #include "column/const_column.h" #include "col...
35.410753
120
0.66446
[ "vector" ]
a1e3a8ea1f84d776f0131e078ad055a422470c4e
4,303
cpp
C++
caffe/src/caffe/test/test_local_layer.cpp
shaoxiaohu/Face-Alignment-with-Two-Stage-Re-initialization-
ccd26fee4dd0b6cd0d11de4d5b4d2d746e8cc66b
[ "MIT" ]
92
2017-07-19T05:12:05.000Z
2021-11-09T07:59:07.000Z
caffe/src/caffe/test/test_local_layer.cpp
mornydew/Face_Alignment_Two_Stage_Re-initialization
ccd26fee4dd0b6cd0d11de4d5b4d2d746e8cc66b
[ "MIT" ]
11
2017-10-18T05:11:20.000Z
2020-04-03T21:28:20.000Z
caffe/src/caffe/test/test_local_layer.cpp
mornydew/Face_Alignment_Two_Stage_Re-initialization
ccd26fee4dd0b6cd0d11de4d5b4d2d746e8cc66b
[ "MIT" ]
31
2017-07-20T11:37:39.000Z
2021-03-08T09:01:26.000Z
#include <cstring> #include <vector> #include "gtest/gtest.h" #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/filler.hpp" #include "caffe/layers/local_layer.hpp" #include "caffe/test/test_caffe_main.hpp" #include "caffe/test/test_gradient_check_util.hpp" namespace caffe { template <typename T...
35.270492
76
0.723914
[ "vector" ]
a1ea3243327ac674004d97865465732b00326a19
8,693
hpp
C++
include/GlobalNamespace/MultiplayerSpectatorController.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/MultiplayerSpectatorController.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/MultiplayerSpectatorController.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBehaviour.hpp" //...
52.684848
807
0.755896
[ "object", "transform" ]
a1ef831084005be87a1b7838670c384005e27838
5,882
cpp
C++
unittest/utility.cpp
tsung-wei-huang/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
69
2019-03-16T20:13:26.000Z
2022-03-24T14:12:19.000Z
unittest/utility.cpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2017-12-02T05:38:30.000Z
2019-02-08T11:16:12.000Z
unittest/utility.cpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2019-04-13T16:27:29.000Z
2022-01-07T14:42:46.000Z
/****************************************************************************** * * * Copyright (c) 2018, Tsung-Wei Huang, Chun-Xun Lin, and Martin D. F. Wong, * * University of Illinois at Urbana-Champaign (UIUC), IL, USA. * ...
33.231638
99
0.563754
[ "vector" ]
a1f194eb2a0d09a5709453b5308959803cb9fd2b
719
cpp
C++
cpp/src/SpiralMatrixII.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
4
2018-03-05T02:27:16.000Z
2021-03-15T14:19:44.000Z
cpp/src/SpiralMatrixII.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
null
null
null
cpp/src/SpiralMatrixII.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
2
2018-07-22T10:32:10.000Z
2018-10-20T03:14:28.000Z
#include "SpiralMatrixII.h" using namespace lcpp; std::vector<std::vector<int>> Solution59_1::generateMatrix(int n) { std::vector<std::vector<int>> Matrix(n, std::vector<int>(n)); int Left = 0, Right = n - 1, Top = 0, Bottom = n - 1, I, J; int Num = 1; while (true) { for (J = Left; J <= Right; ++J) ...
24.793103
67
0.515994
[ "vector" ]
a1f2ae2c99e3e64d6d8b7420f1529fc10683e1ea
22,373
hpp
C++
include/seqan3/argument_parser/detail/version_check.hpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
1
2021-03-01T11:12:56.000Z
2021-03-01T11:12:56.000Z
include/seqan3/argument_parser/detail/version_check.hpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
2
2017-05-17T07:16:19.000Z
2020-02-13T16:10:10.000Z
include/seqan3/argument_parser/detail/version_check.hpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
42.778203
129
0.587226
[ "object" ]
a1fa34704038d03ba8f3258896d12110ec3d099b
1,135
hpp
C++
Source/FL/ContextFreeGrammar.hpp
flawthegreat/FormalLanguagesPractice2
ef3e80412ae8f31909259e6c3a64c209b01b32e8
[ "MIT" ]
null
null
null
Source/FL/ContextFreeGrammar.hpp
flawthegreat/FormalLanguagesPractice2
ef3e80412ae8f31909259e6c3a64c209b01b32e8
[ "MIT" ]
null
null
null
Source/FL/ContextFreeGrammar.hpp
flawthegreat/FormalLanguagesPractice2
ef3e80412ae8f31909259e6c3a64c209b01b32e8
[ "MIT" ]
null
null
null
#pragma once #include "Grammar.hpp" #include <unordered_set> namespace FL { class ContextFreeGrammar: public Grammar { public: ContextFreeGrammar(Grammar const& grammar); ContextFreeGrammar( Alphabet const& terminals, Alphabet const& nonterminals, Symbol startSymbol, std::vect...
25.222222
68
0.712775
[ "vector" ]
b80049cb53002b08311b327ae31943b4a33bdb6b
2,857
hpp
C++
ThirdParty-mod/java2cpp/org/apache/http/params/HttpAbstractParamBean.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/org/apache/http/params/HttpAbstractParamBean.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/org/apache/http/params/HttpAbstractParamBean.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: org.apache.http.params.HttpAbstractParamBean ================================================================================*/ #ifndef J...
29.760417
134
0.719636
[ "object" ]
b80171c23b706865af8642110c215b223ba8caf3
8,752
cc
C++
evpp/event_loop.cc
HLyoung/evpp
30964e54ed7bb669c52c7daa2aeb01b4453a2c23
[ "BSD-3-Clause" ]
null
null
null
evpp/event_loop.cc
HLyoung/evpp
30964e54ed7bb669c52c7daa2aeb01b4453a2c23
[ "BSD-3-Clause" ]
null
null
null
evpp/event_loop.cc
HLyoung/evpp
30964e54ed7bb669c52c7daa2aeb01b4453a2c23
[ "BSD-3-Clause" ]
null
null
null
#include "evpp/inner_pre.h" #include "evpp/libevent_headers.h" #include "evpp/libevent_watcher.h" #include "evpp/event_loop.h" #include "evpp/invoke_timer.h" namespace evpp { EventLoop::EventLoop() : create_evbase_myself_(true), notified_(false), pending_functor_count_(0) { #if LIBEVENT_VERSION_NUMBER >= 0x020015...
32.295203
202
0.632998
[ "object", "vector" ]
b8023dfe735a9646c376b6ea357dd885d9bedb97
467
hpp
C++
Algorithms/1Base/unionFind.hpp
CainHsu/ProgramStudy-leetcode
23653e8927902aed64ba13a23a1d6c983b7ea5d5
[ "Apache-2.0" ]
1
2019-12-08T06:21:57.000Z
2019-12-08T06:21:57.000Z
Algorithms/1Base/unionFind.hpp
CainHsu/ProgramStudy-leetcode
23653e8927902aed64ba13a23a1d6c983b7ea5d5
[ "Apache-2.0" ]
null
null
null
Algorithms/1Base/unionFind.hpp
CainHsu/ProgramStudy-leetcode
23653e8927902aed64ba13a23a1d6c983b7ea5d5
[ "Apache-2.0" ]
null
null
null
// // Created by xuche on 2020/6/4. // #ifndef PROGRAMSTUDY_LEETCODE_UNIONFIND_HPP #define PROGRAMSTUDY_LEETCODE_UNIONFIND_HPP #include "vector" using namespace std; class UnionFind { private: vector<int> id; vector<int> size; static int count; public: explicit UnionFind(int N); void unionNodes(...
17.296296
44
0.708779
[ "vector" ]
b802a179ac72f78a9e5df8044f3196e16041feb1
559
hpp
C++
images/imagedb/include/fs/fs.hpp
jeoygin/gadget
de703b53576eac7d11d625316a46a47e57596dcb
[ "MIT" ]
null
null
null
images/imagedb/include/fs/fs.hpp
jeoygin/gadget
de703b53576eac7d11d625316a46a47e57596dcb
[ "MIT" ]
null
null
null
images/imagedb/include/fs/fs.hpp
jeoygin/gadget
de703b53576eac7d11d625316a46a47e57596dcb
[ "MIT" ]
null
null
null
#ifndef FS_HPP #define FS_HPP #include <unistd.h> #include <string> #include <vector> using namespace std; namespace fs { bool dir_exists(const char* dir); bool dir_exists(const string& dir); bool file_exists(const char* file); bool file_exists(const string& file); int make_dir(const char * dir,...
23.291667
61
0.703041
[ "vector" ]
b805c21647d6916254e152b571f438e7fc54ffc5
2,508
hpp
C++
openstudiocore/src/openstudio_lib/OSAppBase.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/openstudio_lib/OSAppBase.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/openstudio_lib/OSAppBase.hpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
32.153846
96
0.698166
[ "model" ]
b80953f576121134e8ad1ab358250b69b83805f2
8,639
cpp
C++
plugins/mesh/src/MeshBakery.cpp
voei/megamol
569b7b58c1f9bc5405b79549b86f84009329f668
[ "BSD-3-Clause" ]
null
null
null
plugins/mesh/src/MeshBakery.cpp
voei/megamol
569b7b58c1f9bc5405b79549b86f84009329f668
[ "BSD-3-Clause" ]
null
null
null
plugins/mesh/src/MeshBakery.cpp
voei/megamol
569b7b58c1f9bc5405b79549b86f84009329f668
[ "BSD-3-Clause" ]
null
null
null
#include "MeshBakery.h" #include "mmcore/param/EnumParam.h" megamol::mesh::MeshBakery::MeshBakery() : core::Module() , m_version(0) , m_mesh_access_collection(nullptr) , m_geometry_type("GeometryType", "...") , m_mesh_lhs_slot("deployMeshAccess", "...") , m_mesh_rhs_slot("chainMeshAccess", "....
36.918803
112
0.660377
[ "mesh", "geometry", "vector" ]
b80d66ce6b6f67cd448694e458bbac3014c04cba
4,849
cpp
C++
Tetrahedral_remeshing/test/Tetrahedral_remeshing/test_tetrahedral_remeshing_with_features.cpp
brucerennie/cgal
314b94aafa9b08a1d086accd2cadff1aae1b57a9
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
Tetrahedral_remeshing/test/Tetrahedral_remeshing/test_tetrahedral_remeshing_with_features.cpp
brucerennie/cgal
314b94aafa9b08a1d086accd2cadff1aae1b57a9
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
Tetrahedral_remeshing/test/Tetrahedral_remeshing/test_tetrahedral_remeshing_with_features.cpp
brucerennie/cgal
314b94aafa9b08a1d086accd2cadff1aae1b57a9
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
#define CGAL_TETRAHEDRAL_REMESHING_VERBOSE #define CGAL_TETRAHEDRAL_REMESHING_GENERATE_INPUT_FILES #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Tetrahedral_remeshing/Remeshing_triangulation_3.h> #include <CGAL/tetrahedral_remeshing.h> #include <CGAL/Tetrahedral_remeshing/tetrahedral_...
29.932099
100
0.693133
[ "vector" ]
b80fb1a288af28cec18e9395a5d27eec15b3e0b5
31,125
cpp
C++
odbc/src/DolphinDBODBC.cpp
hotpoor/DolphinDBPlugin
9eed3f591929440630daf993d3552814bf7fde1a
[ "Apache-2.0" ]
null
null
null
odbc/src/DolphinDBODBC.cpp
hotpoor/DolphinDBPlugin
9eed3f591929440630daf993d3552814bf7fde1a
[ "Apache-2.0" ]
null
null
null
odbc/src/DolphinDBODBC.cpp
hotpoor/DolphinDBPlugin
9eed3f591929440630daf993d3552814bf7fde1a
[ "Apache-2.0" ]
null
null
null
/* * DolphinDBODBC.cpp * * Created on: May 26, 2017 * Author: xinjing.zhou */ #include "DolphinDBODBC.h" #include "Util.h" #ifndef LINUX #include <windows.h> #endif #include <sql.h> #include <sqlext.h> #include <cassert> #include <climits> #include <cstdio> #include <iostream> #include <locale> #include <vec...
31.156156
92
0.541365
[ "vector" ]
b8104ac0b58452e8344a7041ff823dbcd70150b1
2,217
cpp
C++
src/core/tests/visitors/op/deformable_psroi_pooling.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
ngraph/test/visitors/op/deformable_psroi_pooling.cpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
ngraph/test/visitors/op/deformable_psroi_pooling.cpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
// Copyright (C) 2018-2021 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 "util/visitor.hpp" using namespace std; using namespace ngraph; using ngraph::test::NodeBui...
42.634615
82
0.553902
[ "shape" ]
b811e35a4cbaa780154631c6f2db1bcb4f9543a3
3,262
cpp
C++
server/daemonize.cpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
9
2020-06-02T16:40:40.000Z
2021-10-03T15:22:40.000Z
server/daemonize.cpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
2
2020-11-06T00:00:24.000Z
2022-02-14T01:59:08.000Z
server/daemonize.cpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
2
2021-01-02T15:29:50.000Z
2022-02-23T07:26:00.000Z
#include<errno.h> #include<exception> #include<fcntl.h> #include<iostream> #include<stdlib.h> #include<string.h> #include<sys/types.h> #include<sys/wait.h> #include<unistd.h> #include"daemonize.hpp" #ifdef HAVE_CONFIG_H # include"config.h" #endif #ifndef HAVE_WORKING_FORK # error Require working fork(). #endif names...
20.64557
72
0.584917
[ "transform" ]
b8139feb13db9e5eedc2d65a8825de36b2a9945c
6,227
cc
C++
client/cxx/elf_util.cc
dzeromsk/goma
350f67319eb985013515b533f03f2f95570c37d3
[ "BSD-3-Clause" ]
4
2018-12-26T10:54:24.000Z
2022-03-31T21:19:47.000Z
client/cxx/elf_util.cc
dzeromsk/goma
350f67319eb985013515b533f03f2f95570c37d3
[ "BSD-3-Clause" ]
null
null
null
client/cxx/elf_util.cc
dzeromsk/goma
350f67319eb985013515b533f03f2f95570c37d3
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Goma 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 "elf_util.h" #include "absl/strings/match.h" #include "absl/strings/str_replace.h" #include "absl/strings/str_split.h" #include "absl/strings/strip....
33.299465
79
0.605428
[ "vector" ]
b8187159a8d77d9d683a6eeb097b8a0aff6e59f4
7,749
cpp
C++
src/detection.cpp
SVPA-XudongYu/usbdetection
6eb0aba31d2d51e3d9e0ba0c57ef1cba7a561f31
[ "MIT" ]
1
2016-12-13T03:03:05.000Z
2016-12-13T03:03:05.000Z
src/detection.cpp
yuxhotmail/usbdetection
6eb0aba31d2d51e3d9e0ba0c57ef1cba7a561f31
[ "MIT" ]
null
null
null
src/detection.cpp
yuxhotmail/usbdetection
6eb0aba31d2d51e3d9e0ba0c57ef1cba7a561f31
[ "MIT" ]
2
2016-12-13T03:03:06.000Z
2018-01-07T18:25:30.000Z
#include "detection.h" using namespace v8; #define OBJECT_ITEM_LOCATION_ID "locationId" #define OBJECT_ITEM_VENDOR_ID "vendorId" #define OBJECT_ITEM_PRODUCT_ID "productId" #define OBJECT_ITEM_DEVICE_NAME "deviceName" #define OBJECT_ITEM_MANUFACTURER "manufacturer" #define OBJECT_ITEM_SERIAL_NUMB...
30.75
128
0.654665
[ "object" ]
b81b835dc671ecbda98fd02670964a4102573314
15,270
cpp
C++
bftengine/src/bftengine/SimpleClient.cpp
ashsek/concord-rcanopus
f979821f40433cf62ad0afa5bdc507e372e1367d
[ "Apache-2.0" ]
null
null
null
bftengine/src/bftengine/SimpleClient.cpp
ashsek/concord-rcanopus
f979821f40433cf62ad0afa5bdc507e372e1367d
[ "Apache-2.0" ]
null
null
null
bftengine/src/bftengine/SimpleClient.cpp
ashsek/concord-rcanopus
f979821f40433cf62ad0afa5bdc507e372e1367d
[ "Apache-2.0" ]
null
null
null
//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 ...
29.766082
235
0.691814
[ "object" ]
b81d6441554e400dc5369827a330f11ff3b5e111
5,474
hpp
C++
external/boost/boost/extension/parameter.hpp
loafofpiecrust/lfant
a38826e325a50dffb5d030d71abcd58de59e8389
[ "Apache-2.0" ]
4
2017-03-06T16:59:27.000Z
2021-07-23T12:57:07.000Z
external/boost/boost/extension/parameter.hpp
loafofpiecrust/lfant
a38826e325a50dffb5d030d71abcd58de59e8389
[ "Apache-2.0" ]
null
null
null
external/boost/boost/extension/parameter.hpp
loafofpiecrust/lfant
a38826e325a50dffb5d030d71abcd58de59e8389
[ "Apache-2.0" ]
null
null
null
/* * Boost.Reflection / paramater map (store parameter information for calls) * * (C) Copyright Jeremy Pack 2008 * 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) * * See http://www.boost.org/ for latest versi...
30.926554
75
0.672817
[ "object", "vector" ]
b81e701e0ece211ecb1cf3751b5d15db48cb9c23
13,601
cpp
C++
cob_phidgets/ros/src/phidgetik_ros.cpp
ipa-fxm/cob_driver
9b2928486058bc650a4b25305a8d842498504c3c
[ "Apache-2.0" ]
null
null
null
cob_phidgets/ros/src/phidgetik_ros.cpp
ipa-fxm/cob_driver
9b2928486058bc650a4b25305a8d842498504c3c
[ "Apache-2.0" ]
null
null
null
cob_phidgets/ros/src/phidgetik_ros.cpp
ipa-fxm/cob_driver
9b2928486058bc650a4b25305a8d842498504c3c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA) * * 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...
31.92723
140
0.7148
[ "vector" ]
b81f8303945365cdd67bc7090abd5ad7270857e2
4,588
cpp
C++
source/blender/freestyle/intern/image/ImagePyramid.cpp
1-MillionParanoidTterabytes/Blender-2.79b-blackened
e8d767324e69015aa66850d13bee7db1dc7d084b
[ "Unlicense" ]
2
2018-06-18T01:50:25.000Z
2018-06-18T01:50:32.000Z
source/blender/freestyle/intern/image/ImagePyramid.cpp
1-MillionParanoidTterabytes/Blender-2.79b-blackened
e8d767324e69015aa66850d13bee7db1dc7d084b
[ "Unlicense" ]
null
null
null
source/blender/freestyle/intern/image/ImagePyramid.cpp
1-MillionParanoidTterabytes/Blender-2.79b-blackened
e8d767324e69015aa66850d13bee7db1dc7d084b
[ "Unlicense" ]
null
null
null
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is d...
24.147368
107
0.627289
[ "vector" ]
b8249b681533ae56fe1d4ca61f0f1f4b5a9ff029
9,999
hpp
C++
Progvo-PM/GUI/IDE.hpp
Pttn/Progvo
afb2e70e4121a6455bd653a87d258085c18df9ec
[ "MIT" ]
4
2021-01-05T23:20:34.000Z
2022-03-20T10:11:05.000Z
Progvo-PM/GUI/IDE.hpp
Pttn/Progvo
afb2e70e4121a6455bd653a87d258085c18df9ec
[ "MIT" ]
null
null
null
Progvo-PM/GUI/IDE.hpp
Pttn/Progvo
afb2e70e4121a6455bd653a87d258085c18df9ec
[ "MIT" ]
1
2022-03-20T10:16:04.000Z
2022-03-20T10:16:04.000Z
// (c) 2019-2020 Pttn (https://Progvo.dev) #ifndef HEADER_IDE_hpp #define HEADER_IDE_hpp #include <thread> #include "Font.hpp" #include "../Interpreter/Interpreter.hpp" #include "Widgets/Widgets.hpp" #include "../Interpreter/BuiltIn/BuiltIn.hpp" #ifdef __linux__ #define Font X11_Font // X11 is already using somethin...
35.207746
158
0.648965
[ "vector" ]
b8263a6e18abd09edbeedd3ee361b66e9b98700c
2,578
cc
C++
src/raptor/interval_tree_builder.cc
isovic/raptor
171e0f1b94366f20250a00389400a2fcd267bcc6
[ "BSD-3-Clause-Clear" ]
60
2019-07-09T14:57:48.000Z
2022-03-29T06:53:39.000Z
src/raptor/interval_tree_builder.cc
isovic/raptor
171e0f1b94366f20250a00389400a2fcd267bcc6
[ "BSD-3-Clause-Clear" ]
2
2019-05-28T01:59:50.000Z
2021-05-18T13:15:10.000Z
src/raptor/interval_tree_builder.cc
isovic/raptor
171e0f1b94366f20250a00389400a2fcd267bcc6
[ "BSD-3-Clause-Clear" ]
4
2019-05-25T15:41:56.000Z
2019-07-10T11:44:22.000Z
/* * interval_tree_builder.cc * * Created on: Jan 09, 2018 * Author: Ivan Sovic */ #include <raptor/interval_tree_builder.h> namespace raptor { std::unordered_map<int32_t, IntervalTreeInt64> BuildAnchorIntervalTrees( const std::vector<raptor::AnchorPtr>& anchors) { // This maps the target ID to th...
33.051282
83
0.624127
[ "vector" ]
b829a7af15650085711b76c1340ba2275202ab0c
40,284
cc
C++
src/pgesv/HPLAI_pdgesv.cc
ATestGroup233/HPL-AI
2eb76d856d9ed2bd565014e1004d735755e061c9
[ "MIT" ]
11
2021-03-16T11:21:42.000Z
2022-01-25T20:42:16.000Z
src/pgesv/HPLAI_pdgesv.cc
ATestGroup233/HPL-AI
2eb76d856d9ed2bd565014e1004d735755e061c9
[ "MIT" ]
1
2021-03-13T18:19:54.000Z
2021-03-20T14:07:31.000Z
src/pgesv/HPLAI_pdgesv.cc
ATestGroup233/HPL-AI
2eb76d856d9ed2bd565014e1004d735755e061c9
[ "MIT" ]
5
2021-03-16T11:21:44.000Z
2022-02-13T05:09:24.000Z
/* * MIT License * * Copyright (c) 2021 WuK * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, me...
30.657534
138
0.494067
[ "object", "vector" ]
b82d68be3af3befd5a6066de64338ed0385c0788
10,103
cpp
C++
ProjetEquipe2/ProjetEquipe2/Boss.cpp
dev1ous/Great-Steamrogue
2519632f1af2d49ae68559afb615b8157416672d
[ "Apache-2.0" ]
null
null
null
ProjetEquipe2/ProjetEquipe2/Boss.cpp
dev1ous/Great-Steamrogue
2519632f1af2d49ae68559afb615b8157416672d
[ "Apache-2.0" ]
null
null
null
ProjetEquipe2/ProjetEquipe2/Boss.cpp
dev1ous/Great-Steamrogue
2519632f1af2d49ae68559afb615b8157416672d
[ "Apache-2.0" ]
null
null
null
#include "Boss.h" void Boss::InitPlayerDetection() { this->playerDetection.setSize(sf::Vector2f( data::WIDTH * 2, data::HEIGHT )); /*this->playerDetection.setFillColor(sf::Color(sf::Color::Transparent)); this->playerDetection.setOutlineColor(sf::Color(sf::Color::Yellow)); this->playerDetection.setOutlineThic...
24.945679
177
0.657923
[ "render", "vector" ]
b832d0cc436278636e5ea58dcbf85778e5119ea9
2,359
cc
C++
mindspore/lite/tools/converter/legacy_optimizer/graph/convert_fp32_to_fp16_pass.cc
PowerOlive/mindspore
bda20724a94113cedd12c3ed9083141012da1f15
[ "Apache-2.0" ]
3,200
2020-02-17T12:45:41.000Z
2022-03-31T20:21:16.000Z
mindspore/lite/tools/converter/legacy_optimizer/graph/convert_fp32_to_fp16_pass.cc
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
176
2020-02-12T02:52:11.000Z
2022-03-28T22:15:55.000Z
mindspore/lite/tools/converter/legacy_optimizer/graph/convert_fp32_to_fp16_pass.cc
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
621
2020-03-09T01:31:41.000Z
2022-03-30T03:43:19.000Z
/** * Copyright 2021 Huawei Technologies 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...
34.188406
105
0.716405
[ "vector" ]
b83523c9eb3f38796e8650ef96a5f24dcd761626
4,619
cc
C++
testcases/AES/src/artifact_utility.cc
zhanghongce/VMCAI-2020-AE
bf4e191ca12b587a2c5813b0b9ca58734ea22971
[ "BSL-1.0" ]
null
null
null
testcases/AES/src/artifact_utility.cc
zhanghongce/VMCAI-2020-AE
bf4e191ca12b587a2c5813b0b9ca58734ea22971
[ "BSL-1.0" ]
null
null
null
testcases/AES/src/artifact_utility.cc
zhanghongce/VMCAI-2020-AE
bf4e191ca12b587a2c5813b0b9ca58734ea22971
[ "BSL-1.0" ]
1
2022-02-17T02:00:38.000Z
2022-02-17T02:00:38.000Z
#include "artifact_utility.h" #include <iostream> #include <string> #include <set> #include <vector> #include <fstream> #include <signal.h> #include <unistd.h> #include <stdbool.h> #include <string.h> int get_timeout(int argc, char ** argv) { int timeout; if (argc <= 1) return 3600*10; else { try { ...
32.300699
128
0.605542
[ "vector" ]
b8359e993ee647decf21354427c32e7ce273d8f5
570
hpp
C++
include/my_exceptions.hpp
Envq/panda_simulation
41044fc3b91eb15ac54da8fc84a0facedaac8f1d
[ "MIT" ]
1
2019-12-12T13:14:18.000Z
2019-12-12T13:14:18.000Z
include/my_exceptions.hpp
Envq/panda_simulation
41044fc3b91eb15ac54da8fc84a0facedaac8f1d
[ "MIT" ]
null
null
null
include/my_exceptions.hpp
Envq/panda_simulation
41044fc3b91eb15ac54da8fc84a0facedaac8f1d
[ "MIT" ]
null
null
null
#pragma once #include <stdexcept> class collision_object_creation_error : public std::runtime_error { public: collision_object_creation_error(const std::string &msg = "Collision Object creation error") : std::runtime_error(msg) {} }; class json_field_error : public std::runtime_error { public: ...
25.909091
95
0.719298
[ "object" ]
b837749e2cdbdc64b033d8d84b877b08fe799c0c
381
cpp
C++
Arrays 101/findMaxConsecutiveOnes.cpp
AasthaVarma/LeetCode
d654aadb4c32e8ae90d7d9418c5d1fe3bd23ae2b
[ "MIT" ]
null
null
null
Arrays 101/findMaxConsecutiveOnes.cpp
AasthaVarma/LeetCode
d654aadb4c32e8ae90d7d9418c5d1fe3bd23ae2b
[ "MIT" ]
null
null
null
Arrays 101/findMaxConsecutiveOnes.cpp
AasthaVarma/LeetCode
d654aadb4c32e8ae90d7d9418c5d1fe3bd23ae2b
[ "MIT" ]
null
null
null
class Solution { public: int findMaxConsecutiveOnes(vector<int>& a) { int res = INT_MIN, running_cnt = 0; for(auto e: a){ if(e == 0){ res = max(res, running_cnt); running_cnt = 0; } else running_cnt++; } ...
22.411765
48
0.440945
[ "vector" ]
b8406ed4d387ac0fffe15d80beb917036163c0e3
3,962
cpp
C++
src/sdlecs.cpp
rogerthat52/snackman
7d0bf2fd1a8343f44b1a0ab61be16f6ace35af95
[ "MIT" ]
null
null
null
src/sdlecs.cpp
rogerthat52/snackman
7d0bf2fd1a8343f44b1a0ab61be16f6ace35af95
[ "MIT" ]
null
null
null
src/sdlecs.cpp
rogerthat52/snackman
7d0bf2fd1a8343f44b1a0ab61be16f6ace35af95
[ "MIT" ]
null
null
null
// sdl helper class // provides and interface between ECS and SDL #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <string> using std::string; #include "sdlecs.h" // ------- SDLRenderComponent ------- // SDL_Texture* SDLRendererComponent::loadTexture(string fileName){ // get texture pointer ready ...
26.065789
117
0.64109
[ "render" ]
cdc6e19277985f311a2dc24c81e363f5d8ee7595
865
cpp
C++
979.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
979.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
979.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
/* struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x): val(x), left(NULL), right(NULL) {} }; */ class Solution { public: int moves; vector<int> dfs(TreeNode *root) { if (!root) return vector<int>(2, 0); int total_coins = root->val, total_node...
24.027778
55
0.531792
[ "vector" ]
cdd0e21edfd38a7d983a355419dd29bae6a8132e
1,866
hpp
C++
src/slave/process_based_isolation_module.hpp
benh/twesos
194e1976d474005d807f37e7204ea08766e4b42a
[ "BSD-3-Clause" ]
1
2019-02-17T15:56:26.000Z
2019-02-17T15:56:26.000Z
src/slave/process_based_isolation_module.hpp
benh/twesos
194e1976d474005d807f37e7204ea08766e4b42a
[ "BSD-3-Clause" ]
null
null
null
src/slave/process_based_isolation_module.hpp
benh/twesos
194e1976d474005d807f37e7204ea08766e4b42a
[ "BSD-3-Clause" ]
3
2017-07-10T07:28:30.000Z
2020-07-25T19:48:07.000Z
#ifndef __PROCESS_BASED_ISOLATION_MODULE_HPP__ #define __PROCESS_BASED_ISOLATION_MODULE_HPP__ #include <sys/types.h> #include <boost/unordered_map.hpp> #include "isolation_module.hpp" #include "slave.hpp" #include "launcher/launcher.hpp" #include "messaging/messages.hpp" namespace mesos { namespace internal { na...
26.657143
76
0.769025
[ "object" ]
cdd2ff89d94a9907d2e80afcc9d4ac6549f04ec3
9,019
cpp
C++
tools/nitpick/src/ui/Nitpick.cpp
neurealdesktop/hifi
22c2954423dd352a0703bb400722bedb12e8271f
[ "Apache-2.0" ]
null
null
null
tools/nitpick/src/ui/Nitpick.cpp
neurealdesktop/hifi
22c2954423dd352a0703bb400722bedb12e8271f
[ "Apache-2.0" ]
null
null
null
tools/nitpick/src/ui/Nitpick.cpp
neurealdesktop/hifi
22c2954423dd352a0703bb400722bedb12e8271f
[ "Apache-2.0" ]
null
null
null
// // Nitpick.cpp // zone/ambientLightInheritence // // Created by Nissim Hadar on 2 Nov 2017. // Copyright 2013 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 "Nitpick.h" #ifdef Q_OS...
28.541139
185
0.707174
[ "vector" ]
cdd3d6e556baf8ad80817b30d92d8039499ea71b
9,761
cc
C++
oommf/app/oxs/ext/stagezeeman.cc
fangohr/oommf
67fa0d69eadbbb9eef320babd07910f6d7b4e089
[ "TCL" ]
18
2016-04-29T10:11:29.000Z
2022-02-13T08:48:39.000Z
oommf/app/oxs/ext/stagezeeman.cc
fangohr/oommf
67fa0d69eadbbb9eef320babd07910f6d7b4e089
[ "TCL" ]
29
2017-11-01T20:00:28.000Z
2021-10-05T12:22:50.000Z
oommf/app/oxs/ext/stagezeeman.cc
fangohr/oommf
67fa0d69eadbbb9eef320babd07910f6d7b4e089
[ "TCL" ]
11
2015-10-17T19:41:29.000Z
2021-05-12T08:32:37.000Z
/* FILE: stagezeeman.cc -*-Mode: c++-*- * * Uniform Zeeman (applied field) energy, derived from Oxs_ChunkEnergy class, * specified from a Tcl proc. * */ #include "oc.h" #include "nb.h" #include "director.h" #include "stagezeeman.h" // Oxs_Ext registration support OXS_EXT_REGISTER(Oxs_StageZeeman); ...
30.694969
77
0.659666
[ "mesh", "vector" ]
cdd57343333df4c4f917a494f8409a91fbe49ce6
3,907
cc
C++
r-kvstore/src/model/CreateInstancesRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
3
2020-01-06T08:23:14.000Z
2022-01-22T04:41:35.000Z
r-kvstore/src/model/CreateInstancesRequest.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
r-kvstore/src/model/CreateInstancesRequest.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...
24.41875
94
0.761198
[ "model" ]
cdd77c63f41c21757da86eb2629a920a910b03ae
3,638
hpp
C++
QuantExt/qle/pricingengines/discountingfxforwardengine.hpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
335
2016-10-07T16:31:10.000Z
2022-03-02T07:12:03.000Z
QuantExt/qle/pricingengines/discountingfxforwardengine.hpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
59
2016-10-31T04:20:24.000Z
2022-01-03T16:39:57.000Z
QuantExt/qle/pricingengines/discountingfxforwardengine.hpp
mrslezak/Engine
c46ff278a2c5f4162db91a7ab500a0bb8cef7657
[ "BSD-3-Clause" ]
180
2016-10-08T14:23:50.000Z
2022-03-28T10:43:05.000Z
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
39.543478
110
0.707257
[ "model" ]
cdda92465133084033b0feb667444509a0e28f9a
519
cpp
C++
codeforces/1253c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
codeforces/1253c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
codeforces/1253c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll=long long; void solve() { int n, m; cin >> n >> m; vector<int> a(n); for (auto& x: a) { cin >> x; } sort(a.begin(), a.end()); vector<ll> sum(n+1), res(n+1); for (int i = 0; i < n; i++) { sum[i+1] = sum[i] + a[i]; ...
18.535714
55
0.447013
[ "vector" ]
cddb65103ad5fe54e6d89f3ab766f13e1c65cd12
38,229
cpp
C++
parser/mpParserBase.cpp
Silverlan/muparserx
1d4656bd671ab856a79f767c483a78c0a036918b
[ "BSD-2-Clause" ]
1
2021-03-07T13:17:37.000Z
2021-03-07T13:17:37.000Z
parser/mpParserBase.cpp
Silverlan/muparserx
1d4656bd671ab856a79f767c483a78c0a036918b
[ "BSD-2-Clause" ]
null
null
null
parser/mpParserBase.cpp
Silverlan/muparserx
1d4656bd671ab856a79f767c483a78c0a036918b
[ "BSD-2-Clause" ]
null
null
null
/** \file \brief Implementation of the muParserX engine. <pre> __________ ____ ___ _____ __ _\______ \_____ _______ ______ __________\ \/ / / \| | \ ___/\__ \\_ __ \/ ___// __ \_ __ \ / | Y Y \ | / | / __ \| | \/\___ \\ ___/| | ...
29.361751
110
0.565592
[ "object", "vector" ]
cddd8b248c6dd563333c9399fdd9f28c7c1b8b08
40,942
cc
C++
FELICITY/Code_Generation/Matrix_Assembly/Unit_Test/Hdiv/RT1_Dim3/Assembly_Code_AutoGen/Basis_Functions/Data_Type_RT1_phi_restricted_to_Omega.cc
brianchowlab/BcLOV4-FEM
f54bd8efa0e0f2c7ca2de4a6688ef1a403376285
[ "MIT" ]
null
null
null
FELICITY/Code_Generation/Matrix_Assembly/Unit_Test/Hdiv/RT1_Dim3/Assembly_Code_AutoGen/Basis_Functions/Data_Type_RT1_phi_restricted_to_Omega.cc
brianchowlab/BcLOV4-FEM
f54bd8efa0e0f2c7ca2de4a6688ef1a403376285
[ "MIT" ]
null
null
null
FELICITY/Code_Generation/Matrix_Assembly/Unit_Test/Hdiv/RT1_Dim3/Assembly_Code_AutoGen/Basis_Functions/Data_Type_RT1_phi_restricted_to_Omega.cc
brianchowlab/BcLOV4-FEM
f54bd8efa0e0f2c7ca2de4a6688ef1a403376285
[ "MIT" ]
null
null
null
/* ============================================================================================ This class contains data about a given FE function space, and methods for computing transformations of the local basis functions. This code references the header files: matrix_vector_defn.h matrix_vector_ops...
56.549724
145
0.670876
[ "mesh", "object", "vector" ]
cde057cec630dc28c9a156150a33b2410a474c30
4,031
cpp
C++
oneflow/core/framework/session_util.cpp
wangyuyue/oneflow
0a71c22fe8355392acc8dc0e301589faee4c4832
[ "Apache-2.0" ]
3,285
2020-07-31T05:51:22.000Z
2022-03-31T15:20:16.000Z
oneflow/core/framework/session_util.cpp
wangyuyue/oneflow
0a71c22fe8355392acc8dc0e301589faee4c4832
[ "Apache-2.0" ]
2,417
2020-07-31T06:28:58.000Z
2022-03-31T23:04:14.000Z
oneflow/core/framework/session_util.cpp
wangyuyue/oneflow
0a71c22fe8355392acc8dc0e301589faee4c4832
[ "Apache-2.0" ]
520
2020-07-31T05:52:42.000Z
2022-03-29T02:38:11.000Z
/* Copyright 2020 The OneFlow 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 by applicable law or agre...
32.772358
82
0.749442
[ "vector" ]
cdec447e4d6cb716cc3ad23e26cbdf84c2b9d383
30,281
hh
C++
Misc/Opencores/c16_latest.tar/c16/trunk/compiler/Node.hh
Main-Project-MEC/Systolic-Processor-On-FPGA
35f7b94b5abb2614070d136c5811ab70d7385fc7
[ "MIT" ]
3
2015-10-19T17:51:26.000Z
2018-01-31T09:52:35.000Z
Misc/Opencores/c16_latest.tar/c16/trunk/compiler/Node.hh
Main-Project-MEC/Systolic-Processor-On-FPGA
35f7b94b5abb2614070d136c5811ab70d7385fc7
[ "MIT" ]
null
null
null
Misc/Opencores/c16_latest.tar/c16/trunk/compiler/Node.hh
Main-Project-MEC/Systolic-Processor-On-FPGA
35f7b94b5abb2614070d136c5811ab70d7385fc7
[ "MIT" ]
2
2018-03-27T06:34:03.000Z
2021-01-12T11:28:18.000Z
// Node.hh #ifndef __NODE_HH_DEFINED__ #define __NODE_HH_DEFINED__ #include <assert.h> #include "List.hh" //----------------------------------------------------------------------------- class TypeSpecifier; class DeclItem; class Initializer; class TypeName; class Expression; const char * GetDeclaredName(Declarator ...
28.513183
79
0.548925
[ "vector" ]
cdf2d513b79d6ad5b84e0ce46f6bf1613831eebe
4,942
hpp
C++
CSGOSimple/valve_sdk/interfaces/IClientEntity.hpp
D1ckRider/Dickware
d0b2417505437c7f67fe687a81a43d459f09af7f
[ "MIT" ]
3
2019-11-17T19:52:44.000Z
2020-02-26T18:22:25.000Z
CSGOSimple/valve_sdk/interfaces/IClientEntity.hpp
Renji-kun/Dickware
d0b2417505437c7f67fe687a81a43d459f09af7f
[ "MIT" ]
12
2019-01-17T14:52:06.000Z
2019-03-21T17:01:09.000Z
CSGOSimple/valve_sdk/interfaces/IClientEntity.hpp
D1ckRider/Dickware
d0b2417505437c7f67fe687a81a43d459f09af7f
[ "MIT" ]
9
2019-06-02T18:26:13.000Z
2020-04-21T19:21:48.000Z
#pragma once #include "IClientNetworkable.hpp" #include "IClientRenderable.hpp" #include "IClientUnknown.hpp" #include "IClientThinkable.hpp" struct SpatializationInfo_t; class IClientEntity : public IClientUnknown, public IClientRenderable, public IClientNetworkable, public IClientThinkable { public: virtual void ...
28.900585
121
0.739984
[ "vector" ]
a80272177e09d50b97dda1ba00c9697b698b1ba7
3,091
cpp
C++
tf2_src/game/server/tf/bot_npc/bot_npc_mini.cpp
IamIndeedGamingAsHardAsICan03489/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
tf2_src/game/server/tf/bot_npc/bot_npc_mini.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
null
null
null
tf2_src/game/server/tf/bot_npc/bot_npc_mini.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // bot_npc_mini.cpp // A NextBot non-player derived actor // Michael Booth, March 2011 #include "cbase.h" #ifdef TF_RAID_MODE #include "tf_player.h" #include "tf_gamerules.h" #include "tf_team.h" #include "tf_projectile_arrow.h" #include "t...
30.303922
103
0.563248
[ "model" ]
a804f41b42c157b222d9ec8748ed3830e8fa5040
19,729
cpp
C++
src/branchingratios.cpp
pgdeniverville/MyMC
6cba825ccc6ee9cc4f5ac6a131f677b14215e1ea
[ "MIT" ]
5
2017-03-28T16:10:24.000Z
2020-02-26T18:57:26.000Z
src/branchingratios.cpp
pgdeniverville/MyMC
6cba825ccc6ee9cc4f5ac6a131f677b14215e1ea
[ "MIT" ]
null
null
null
src/branchingratios.cpp
pgdeniverville/MyMC
6cba825ccc6ee9cc4f5ac6a131f677b14215e1ea
[ "MIT" ]
4
2019-10-08T08:18:22.000Z
2020-07-14T09:15:42.000Z
#include "branchingratios.h" #include "Integrator.h" #include "Random.h" #include "Kinematics.h" #include "constants.h" #include <functional> #include <cmath> #include <iostream> #include <iomanip> #include <fstream> #include <vector> #include <memory> using std::cout; using std::endl; const double mp = MASS_PROTON...
38.760314
245
0.652339
[ "vector" ]
a8060f5ed3c842f15a76cae524fc566becaea8bc
7,167
cpp
C++
external_libs/link/src/ableton/link/tst_Peers.cpp
llloret/sp_link
b87ee622517fc68845b8f1d19c735c0e3bd05176
[ "MIT" ]
null
null
null
external_libs/link/src/ableton/link/tst_Peers.cpp
llloret/sp_link
b87ee622517fc68845b8f1d19c735c0e3bd05176
[ "MIT" ]
null
null
null
external_libs/link/src/ableton/link/tst_Peers.cpp
llloret/sp_link
b87ee622517fc68845b8f1d19c735c0e3bd05176
[ "MIT" ]
1
2021-02-22T11:37:41.000Z
2021-02-22T11:37:41.000Z
/* Copyright 2016, Ableton AG, Berlin. 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 as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. ...
32.577273
90
0.726524
[ "vector" ]
a80810059e4386031e4db6dce9fc4beae68b131e
1,707
cpp
C++
opencv_contrib/src/+cv/boardDump.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
571
2015-01-04T06:23:19.000Z
2022-03-31T07:37:19.000Z
opencv_contrib/src/+cv/boardDump.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
362
2015-01-06T14:20:46.000Z
2022-01-20T08:10:46.000Z
opencv_contrib/src/+cv/boardDump.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
300
2015-01-20T03:21:27.000Z
2022-03-31T07:36:37.000Z
/** * @file boardDump.cpp * @brief mex interface for cv::aruco::Board * @ingroup aruco * @author Amro * @date 2016 */ #include "mexopencv.hpp" #include "mexopencv_aruco.hpp" #include "opencv2/aruco.hpp" using namespace std; using namespace cv; using namespace cv::aruco; /** * Main entry called from Matlab * @p...
29.431034
76
0.584651
[ "vector" ]
a80971ee05545a93156187cae6366fd7005e0082
3,507
cpp
C++
test/unit/module/math/cotd.cpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
test/unit/module/math/cotd.cpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
test/unit/module/math/cotd.cpp
clayne/eve
dc268b5db474376e1c53f5a474f5bb42b7c4cb59
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
44.392405
118
0.478757
[ "vector" ]
a80b161d34cb15a7d070d09ac9d67a8b17fe1b49
4,534
cc
C++
src/monster.cc
CS126SP20/final-project-agpai2
7e1b0730096ecfd77c5e60cc9999b9d6c920df4d
[ "MIT" ]
null
null
null
src/monster.cc
CS126SP20/final-project-agpai2
7e1b0730096ecfd77c5e60cc9999b9d6c920df4d
[ "MIT" ]
null
null
null
src/monster.cc
CS126SP20/final-project-agpai2
7e1b0730096ecfd77c5e60cc9999b9d6c920df4d
[ "MIT" ]
null
null
null
// // Created by Aniruddha Pai on 4/26/20. // #include "zelda/monster.h" #include <zelda/map.h> using zelda::Map; using zelda::Direction; namespace zelda { int rand_direction = 0; Monster::Monster() {} void Monster::SetUpMaps(Map maps) { map_screens_ = maps.GetScreen(); } void Monster::SetIsPlayerAttack(bool s...
32.855072
82
0.619762
[ "vector" ]
a80faaed17dd77d6318c9df24230b56c9def160e
6,550
cpp
C++
compiler/main.cpp
yuezuegu/sosa-compiler
32384c221781f724cfc67c82ac3855d381eea22d
[ "MIT" ]
null
null
null
compiler/main.cpp
yuezuegu/sosa-compiler
32384c221781f724cfc67c82ac3855d381eea22d
[ "MIT" ]
null
null
null
compiler/main.cpp
yuezuegu/sosa-compiler
32384c221781f724cfc67c82ac3855d381eea22d
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <assert.h> #include <map> #include <tuple> #include <string> #include <list> #include "compiler.hpp" #include "array.hpp" #include "interconnect.hpp" #include "post_processor.hpp" #include "logger_setup.hpp" #include "dram.hpp" #include <boost/log/trivial.hpp> #include ...
38.304094
158
0.655878
[ "model" ]
a81018551a9ff7dcc39eaf5f3895df1c2892a26f
313
hpp
C++
include/domain/structure/structure_define.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
include/domain/structure/structure_define.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
include/domain/structure/structure_define.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
#ifndef _S_DEFINE_HPP #define _S_DEFINE_HPP #include "domain/domain_define.hpp" #include "algebra/algebra.hpp" #include "geometry/geometry.hpp" #include <map> #include <memory> #include <iomanip> #include <iostream> #include <utility> #include <unordered_map> #include <cmath> namespace carpio { } #endif
13.041667
35
0.750799
[ "geometry" ]
a816e786eb3edabe4dcae78e01f43a2e1b18f6b0
8,440
hpp
C++
include/System/Reflection/RuntimeAssembly.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
23
2020-08-07T04:09:00.000Z
2022-03-31T22:10:29.000Z
include/System/Reflection/RuntimeAssembly.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
6
2021-09-29T23:47:31.000Z
2022-03-30T20:49:23.000Z
include/System/Reflection/RuntimeAssembly.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
17
2020-08-20T19:36:52.000Z
2022-03-30T18:28:24.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Reflect...
64.923077
295
0.760782
[ "object", "vector" ]
a818c92c0e5ae13b879b5acb7a439cc96e14d7c2
604,210
cpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_219.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-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_219.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-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_219.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_XE_native_219.hpp" #include "Cisco_IOS_XE_native_220.hpp" using namespace ydk; namespace cisco_ios_xe { namespace Cisco_IOS_XE_native { Native::Router::Rip::Def...
31.902952
2,695
0.683832
[ "object", "vector" ]
a818d03afa3bde5e1d6a6d039c621baa654c1162
45,676
cpp
C++
win32-OpenGL/MyGeometryOM.cpp
Peanoquio/fuzzy-logic-demo
100a64094adb2d5274c32761ed4ede15b912dd90
[ "MIT" ]
null
null
null
win32-OpenGL/MyGeometryOM.cpp
Peanoquio/fuzzy-logic-demo
100a64094adb2d5274c32761ed4ede15b912dd90
[ "MIT" ]
null
null
null
win32-OpenGL/MyGeometryOM.cpp
Peanoquio/fuzzy-logic-demo
100a64094adb2d5274c32761ed4ede15b912dd90
[ "MIT" ]
null
null
null
/******************************************************************************/ /*! \file MyGeometryOM.cpp \author Oliver Ryan Chong \par email: oliver.chong\@digipen.edu \par oliver.chong 900863 \par Course: CS1250 \par Project #01 \date 24/12/2011 \brief This is the geometry object manager that will manage the gener...
43.335863
171
0.621749
[ "mesh", "geometry", "object", "vector" ]
a81ac167557c599a1dd76878e948b8a0bdea2d5b
1,533
cpp
C++
backup/2/leetcode/c++/archive/14.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/leetcode/c++/archive/14.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/leetcode/c++/archive/14.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
33.326087
345
0.4788
[ "vector" ]
a81d6508850f42933a636f10a2ceb5842ebe7137
24,902
cpp
C++
velox/dwio/dwrf/reader/FlatMapColumnReader.cpp
vancexu/velox
fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4
[ "Apache-2.0" ]
null
null
null
velox/dwio/dwrf/reader/FlatMapColumnReader.cpp
vancexu/velox
fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4
[ "Apache-2.0" ]
null
null
null
velox/dwio/dwrf/reader/FlatMapColumnReader.cpp
vancexu/velox
fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
32.382315
80
0.67854
[ "object", "vector" ]
a81dc47526e7302b252c95a0a962d5e46702cbad
42,757
cc
C++
ash/wm/immersive_fullscreen_controller_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/wm/immersive_fullscreen_controller_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/wm/immersive_fullscreen_controller_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/public/cpp/immersive/immersive_fullscreen_controller.h" #include "ash/public/cpp/config.h" #include "ash/public/cpp/immersive/immersive_ful...
39.262626
80
0.73754
[ "vector" ]
a827821594080abacb1752137d05a52744015399
7,518
cpp
C++
Currency/main.cpp
sqeezelemon/itmo-programming
731990c349c55c70ff4d1444068ddfe7f7e0e475
[ "WTFPL" ]
null
null
null
Currency/main.cpp
sqeezelemon/itmo-programming
731990c349c55c70ff4d1444068ddfe7f7e0e475
[ "WTFPL" ]
null
null
null
Currency/main.cpp
sqeezelemon/itmo-programming
731990c349c55c70ff4d1444068ddfe7f7e0e475
[ "WTFPL" ]
null
null
null
#define DEBUG 1 // Collections #include <vector> #include <set> // Other stdlib stuff #include <string> #include <iostream> #include <csignal> // For the signal() function // Third party #include <nlohmann/json.hpp> #include <curl/curl.h> // Cross-platform sleep #include <thread> #include <chrono> // Debug/showcas...
30.685714
129
0.546954
[ "vector" ]
a82e356cbc5efe08d65e3120e9a4c36d8c2fbea7
3,385
cpp
C++
preferencesdialog.cpp
rossomah/waifu2x-converter-qt
1e203ad160f6e69874f1dd391cec534abdc36324
[ "MIT" ]
31
2015-08-27T17:03:11.000Z
2022-01-31T03:25:09.000Z
preferencesdialog.cpp
rossomah/waifu2x-converter-qt
1e203ad160f6e69874f1dd391cec534abdc36324
[ "MIT" ]
null
null
null
preferencesdialog.cpp
rossomah/waifu2x-converter-qt
1e203ad160f6e69874f1dd391cec534abdc36324
[ "MIT" ]
9
2015-05-31T12:43:18.000Z
2022-01-24T16:09:35.000Z
#include "preferencesdialog.h" #include "ui_preferencesdialog.h" #include "waifu2xconvertercppoptions.h" #include "optionpreferencesform.h" #include <QFileDialog> #include <QMessageBox> using namespace Waifu2xConverterQt; PreferencesDialog::PreferencesDialog(QWidget *parent) : QDialog(parent), ui(new Ui::Pref...
32.238095
108
0.689513
[ "model" ]
a82e97ecaea8f69ee0562e4d3d0dc3c846de34fa
7,593
cpp
C++
src/app/messagestorage.cpp
mf1910/communi-sailfish
e6d160ffa4ecb3affc762e5565e52b7bc482c2e1
[ "CC-BY-4.0", "BSD-3-Clause" ]
18
2015-01-25T20:32:31.000Z
2020-06-11T03:08:48.000Z
src/app/messagestorage.cpp
mf1910/communi-sailfish
e6d160ffa4ecb3affc762e5565e52b7bc482c2e1
[ "CC-BY-4.0", "BSD-3-Clause" ]
80
2015-01-24T19:20:21.000Z
2022-03-16T21:32:10.000Z
src/app/messagestorage.cpp
mf1910/communi-sailfish
e6d160ffa4ecb3affc762e5565e52b7bc482c2e1
[ "CC-BY-4.0", "BSD-3-Clause" ]
15
2015-01-16T14:22:23.000Z
2021-08-01T09:07:42.000Z
/* Copyright (C) 2013-2015 The Communi Project You may use this file under the terms of BSD license as follows: 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 ab...
31.903361
121
0.693665
[ "object", "model" ]
a82f18431ad6b77099b95c40b8aa5b8d92705777
30,866
cpp
C++
Microsoft.WindowsAzure.Storage/src/cloud_blob_container.cpp
JasonDictos/azure-storage-cpp
8accecace59ad631cd7686f9e11fa7498fe717ac
[ "Apache-2.0" ]
null
null
null
Microsoft.WindowsAzure.Storage/src/cloud_blob_container.cpp
JasonDictos/azure-storage-cpp
8accecace59ad631cd7686f9e11fa7498fe717ac
[ "Apache-2.0" ]
null
null
null
Microsoft.WindowsAzure.Storage/src/cloud_blob_container.cpp
JasonDictos/azure-storage-cpp
8accecace59ad631cd7686f9e11fa7498fe717ac
[ "Apache-2.0" ]
2
2020-04-06T11:22:08.000Z
2020-11-14T19:16:58.000Z
// ----------------------------------------------------------------------------------------- // <copyright file="cloud_blob_container.cpp" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in co...
56.948339
307
0.700965
[ "vector" ]
a830bcc9a380d73288aeead4f00e1351e2980a92
2,465
cpp
C++
examples/core/vsgarrays/vsgarrays.cpp
anormann1974/vsgExamples
6c06316a41f63bb283f99a3c7a706360499e28fe
[ "MIT" ]
89
2018-11-30T17:06:36.000Z
2022-01-22T13:40:05.000Z
examples/core/vsgarrays/vsgarrays.cpp
anormann1974/vsgExamples
6c06316a41f63bb283f99a3c7a706360499e28fe
[ "MIT" ]
36
2019-05-18T01:36:10.000Z
2022-03-18T14:43:43.000Z
examples/core/vsgarrays/vsgarrays.cpp
anormann1974/vsgExamples
6c06316a41f63bb283f99a3c7a706360499e28fe
[ "MIT" ]
30
2018-12-08T12:03:32.000Z
2022-01-14T01:16:30.000Z
#include <vsg/core/Array.h> #include <vsg/core/Auxiliary.h> #include <vsg/core/Object.h> #include <vsg/core/Visitor.h> #include <vsg/io/stream.h> #include <algorithm> #include <array> #include <iostream> #include <mutex> struct Unique { using StringIndexMap = std::map<std::string, std::size_t>; using IndexStr...
27.388889
100
0.542394
[ "object" ]
a83196e0a457f1f97328da6800a58a7054e46745
417
cpp
C++
TrainingWithBook/GRAPH/Training on Codeforces/129B.cpp
andzh1/Competitive-programming
babb9494e03fe0feb2130e50887996d0ffc92c4e
[ "MIT" ]
null
null
null
TrainingWithBook/GRAPH/Training on Codeforces/129B.cpp
andzh1/Competitive-programming
babb9494e03fe0feb2130e50887996d0ffc92c4e
[ "MIT" ]
null
null
null
TrainingWithBook/GRAPH/Training on Codeforces/129B.cpp
andzh1/Competitive-programming
babb9494e03fe0feb2130e50887996d0ffc92c4e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; //https://codeforces.com/problemset/problem/129/B int main(){ int TT; cin >> TT; for(int UU = 0; UU < TT; UU++){ int n, m; cin >> n >> m; vector <int> adj[n]; int x, y; for(int i = 0; i < m; i++){ cin >> x >...
19.857143
49
0.431655
[ "vector" ]
a835e582cc5c959fd2f5b65a74153588cdb16645
6,181
cpp
C++
aws-cpp-sdk-devicefarm/source/model/Device.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-devicefarm/source/model/Device.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-devicefarm/source/model/Device.cpp
ambasta/aws-sdk-cpp
c81192e00b572b76d175d84dff77185bd17ae1ac
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
19.810897
105
0.704093
[ "model" ]
a836ce7189aac656f7b55fe8effedc2ac32deca3
28,704
cpp
C++
src/types/Mesh.cpp
kant/hilma
13592d7705bd84624329889fa6c82815c007cc68
[ "BSD-3-Clause" ]
null
null
null
src/types/Mesh.cpp
kant/hilma
13592d7705bd84624329889fa6c82815c007cc68
[ "BSD-3-Clause" ]
null
null
null
src/types/Mesh.cpp
kant/hilma
13592d7705bd84624329889fa6c82815c007cc68
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <map> #include "hilma/types/Mesh.h" #include "hilma/text.h" using namespace hilma; Mesh::Mesh() : name("undefined"), faceMode(TRIANGLES), edgeMode(LINES) { } Mesh::Mesh(const std::string& _name) : name(_name), faceMode(TRIANGLES), edgeMode(LINES) { } Mesh::Mesh(const Mesh& _mother): n...
29.837838
128
0.542781
[ "mesh", "vector" ]
a83920753f238a016134c757c8e4e82252e306d6
3,148
cpp
C++
bindings/ros/aditof_roscpp/src/examples/rviz_pointcloud.cpp
AkshayKurhade/aditof_sdk
dd6146e7cb65b56d4ce61e4fd771e94ea4976a89
[ "BSD-3-Clause" ]
1
2022-01-26T00:21:07.000Z
2022-01-26T00:21:07.000Z
bindings/ros/aditof_roscpp/src/examples/rviz_pointcloud.cpp
AkshayKurhade/aditof_sdk
dd6146e7cb65b56d4ce61e4fd771e94ea4976a89
[ "BSD-3-Clause" ]
null
null
null
bindings/ros/aditof_roscpp/src/examples/rviz_pointcloud.cpp
AkshayKurhade/aditof_sdk
dd6146e7cb65b56d4ce61e4fd771e94ea4976a89
[ "BSD-3-Clause" ]
1
2020-08-06T08:22:48.000Z
2020-08-06T08:22:48.000Z
/* * BSD 3-Clause License * * Copyright (c) 2019, Analog Devices, 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 above copyrigh...
35.370787
81
0.699809
[ "vector" ]
a83a4b9c984ecad3a22b869bf42a233bc11f0b7c
2,791
hpp
C++
include/objects/ProjectFolder.hpp
matthew-nagy/tileson
6e3ddcc1365dd344a19ca267b8716aba00c8ff2a
[ "BSD-2-Clause" ]
null
null
null
include/objects/ProjectFolder.hpp
matthew-nagy/tileson
6e3ddcc1365dd344a19ca267b8716aba00c8ff2a
[ "BSD-2-Clause" ]
null
null
null
include/objects/ProjectFolder.hpp
matthew-nagy/tileson
6e3ddcc1365dd344a19ca267b8716aba00c8ff2a
[ "BSD-2-Clause" ]
null
null
null
// // Created by robin on 01.08.2020. // #ifndef TILESON_PROJECTFOLDER_HPP #define TILESON_PROJECTFOLDER_HPP namespace tson { class ProjectFolder { public: inline ProjectFolder(const fs::path &path); inline const fs::path &getPath() const; inline bool hasWorldFile(...
27.097087
134
0.538158
[ "vector" ]
a83c37298f003aa100d55acd9fde7dd7fe37be78
15,183
cpp
C++
examples/propagator_basic_cl2.cpp
Space-Systems/OPI
3bbde50e1eaebb40e2f8714b401c8b6096bb718f
[ "MIT" ]
3
2020-04-02T03:37:56.000Z
2022-01-16T14:19:48.000Z
examples/propagator_basic_cl2.cpp
Space-Systems/OPI
3bbde50e1eaebb40e2f8714b401c8b6096bb718f
[ "MIT" ]
null
null
null
examples/propagator_basic_cl2.cpp
Space-Systems/OPI
3bbde50e1eaebb40e2f8714b401c8b6096bb718f
[ "MIT" ]
1
2021-05-25T23:35:06.000Z
2021-05-25T23:35:06.000Z
#define CL_TARGET_OPENCL_VERSION 120 #include "OPI/opi_cpp.h" #include <string> #include <iostream> // For this example, we'll use the new C++ wrapper, cl2.hpp. // This requires some additional casting, see comments below. #define CL_HPP_TARGET_OPENCL_VERSION 120 #define CL_HPP_MINIMUM_OPENCL_VERSION 110 #include "CL/...
44.655882
148
0.591912
[ "object", "vector" ]
a83f86e402b0ef0a5fdb81c47e729642f534a16f
4,926
cpp
C++
src/sha1_hash.cpp
AmirAbrams/libtorrent
3fb05d77d873675d2a213c7a3f243f2435398bdc
[ "BSL-1.0", "BSD-3-Clause" ]
2
2019-06-05T18:08:25.000Z
2021-06-07T10:36:57.000Z
src/sha1_hash.cpp
AmirAbrams/libtorrent
3fb05d77d873675d2a213c7a3f243f2435398bdc
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/sha1_hash.cpp
AmirAbrams/libtorrent
3fb05d77d873675d2a213c7a3f243f2435398bdc
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2016, Arvid Norberg 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 conditions and the f...
33.283784
83
0.697523
[ "object" ]
61b624ce8dcb71bf42f036e3843eedee61105183
1,924
cpp
C++
questions/vds_cspad/master.cpp
slaclab/lc2-hdf5-5110
3298553da4fc9d2c4a9ae1528f157595a7b06b6a
[ "Apache-2.0" ]
null
null
null
questions/vds_cspad/master.cpp
slaclab/lc2-hdf5-5110
3298553da4fc9d2c4a9ae1528f157595a7b06b6a
[ "Apache-2.0" ]
null
null
null
questions/vds_cspad/master.cpp
slaclab/lc2-hdf5-5110
3298553da4fc9d2c4a9ae1528f157595a7b06b6a
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <vector> #include "hdf5.h" int main(int argc, char *argv[]) { if (argc != 4) { printf("ERROR, no args\n"); return -1; } int dim = atoi(argv[1]); std::string src1 = std::string(argv[2]); std::string src2 = std::string(argv[3]); hid_t fapl = H5Pcreate(H5...
33.754386
98
0.711538
[ "vector" ]
61b814fd9149835642da319a002e5a179e8de872
3,258
hpp
C++
examples/gui/dvh_view_2d.hpp
LoganBarnes/ltb-dvh
f9f4989c9f91f7121961d449e60e2a0da26f0b4c
[ "MIT" ]
null
null
null
examples/gui/dvh_view_2d.hpp
LoganBarnes/ltb-dvh
f9f4989c9f91f7121961d449e60e2a0da26f0b4c
[ "MIT" ]
null
null
null
examples/gui/dvh_view_2d.hpp
LoganBarnes/ltb-dvh
f9f4989c9f91f7121961d449e60e2a0da26f0b4c
[ "MIT" ]
null
null
null
// /////////////////////////////////////////////////////////////////////////////////////// // LTB Distance Volume Hierarchy // Copyright (c) 2020 Logan Barnes - All Rights Reserved // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (...
40.222222
93
0.686311
[ "render", "vector" ]
61b97d765e5b0cf1ee5cc7d3824aec0adc47978a
1,377
cc
C++
orttraining/orttraining/test/training_ops/cpu/function_op_test.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
6,036
2019-05-07T06:03:57.000Z
2022-03-31T17:59:54.000Z
orttraining/orttraining/test/training_ops/cpu/function_op_test.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
5,730
2019-05-06T23:04:55.000Z
2022-03-31T23:55:56.000Z
orttraining/orttraining/test/training_ops/cpu/function_op_test.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
1,566
2019-05-07T01:30:07.000Z
2022-03-31T17:06:50.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "gtest/gtest.h" #include "test/providers/provider_test_utils.h" #include "core/providers/cpu/cpu_execution_provider.h" #include "core/session/inference_session.h" #include "core/graph/graph.h" #include "orttraining...
28.102041
76
0.631808
[ "vector" ]
61bb2710b1978dcdabc5c77b339c965ff5a06432
3,022
cpp
C++
tke/src/v20180525/model/DeleteEKSContainerInstancesRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
tke/src/v20180525/model/DeleteEKSContainerInstancesRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
tke/src/v20180525/model/DeleteEKSContainerInstancesRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
30.22
104
0.74454
[ "vector", "model" ]
61bbf9f8380d90af7a8a6e99acddc4bd6bd0080e
2,189
cpp
C++
code/week1/week1.cpp
llxxll12345/software-training
1f56f73aa6d77b08c324d2fe582427da653072fd
[ "MIT" ]
null
null
null
code/week1/week1.cpp
llxxll12345/software-training
1f56f73aa6d77b08c324d2fe582427da653072fd
[ "MIT" ]
null
null
null
code/week1/week1.cpp
llxxll12345/software-training
1f56f73aa6d77b08c324d2fe582427da653072fd
[ "MIT" ]
null
null
null
// make sure to compile with g++ // to compile do // g++ -o week1.out week1.cpp // to run do // ./week1.out // This is including a header file for the standard library #include <stdlib.h> #include <string.h> #include <iostream> #include <vector> // This is a comment! /* This is a block comment ... C++ has m...
25.16092
82
0.539973
[ "vector" ]
61c027f213aafc9732728db16dfcbe0baa68420a
1,854
hpp
C++
nvmes.hpp
openbmc/phosphor-nvme
5022a4ee5cd4d3eaeabc4e991507e71b35b26a16
[ "Apache-2.0" ]
null
null
null
nvmes.hpp
openbmc/phosphor-nvme
5022a4ee5cd4d3eaeabc4e991507e71b35b26a16
[ "Apache-2.0" ]
4
2019-06-12T23:08:44.000Z
2021-04-16T03:53:50.000Z
nvmes.hpp
openbmc/phosphor-nvme
5022a4ee5cd4d3eaeabc4e991507e71b35b26a16
[ "Apache-2.0" ]
1
2020-05-12T13:30:46.000Z
2020-05-12T13:30:46.000Z
#pragma once #include <sdbusplus/bus.hpp> #include <xyz/openbmc_project/Sensor/Threshold/Critical/server.hpp> #include <xyz/openbmc_project/Sensor/Threshold/Warning/server.hpp> #include <xyz/openbmc_project/Sensor/Value/server.hpp> namespace phosphor { namespace nvme { using ValueIface = sdbusplus::xyz::openbmc_proj...
30.9
74
0.68123
[ "object" ]
61c5f8bc4410af718203fea71f0b07e5278edc93
5,850
cpp
C++
CH01-GettingStarted/HelloTriangle/hellotriangle2.cpp
THISISAGOODNAME/learnopengl-glitter
a9b6eb22aea1e2c3b1d6bd9387f367bcbfc486ef
[ "MIT" ]
38
2017-02-19T06:45:30.000Z
2022-02-20T15:02:33.000Z
CH01-GettingStarted/HelloTriangle/hellotriangle2.cpp
THISISAGOODNAME/learnopengl-glitter
a9b6eb22aea1e2c3b1d6bd9387f367bcbfc486ef
[ "MIT" ]
null
null
null
CH01-GettingStarted/HelloTriangle/hellotriangle2.cpp
THISISAGOODNAME/learnopengl-glitter
a9b6eb22aea1e2c3b1d6bd9387f367bcbfc486ef
[ "MIT" ]
12
2017-01-06T08:49:03.000Z
2021-11-09T13:41:11.000Z
// Local Headers #include "glitter.hpp" // Console Color #include "consoleColor.hpp" // System Headers #include <glad/glad.h> #include <GLFW/glfw3.h> // Standard Headers //#include <cstdio> //#include <cstdlib> #include <iostream> // 声明按键函数 void key_callback(GLFWwindow* window, int key, int scancode, int action, in...
29.545455
109
0.625128
[ "object" ]
61c777c51919be26b6efd738fa87416c8b1dffe1
7,294
cc
C++
L1Trigger/L1CaloTrigger/plugins/L1EGammaEEProducer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
L1Trigger/L1CaloTrigger/plugins/L1EGammaEEProducer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
L1Trigger/L1CaloTrigger/plugins/L1EGammaEEProducer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
#include "FWCore/Framework/interface/stream/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "DataFormats/L1THGCal/interface/HGCalMulticluster.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DataFormats/L1Trigger/interface/EGa...
43.159763
120
0.643406
[ "object", "vector", "3d" ]
61cdbe9932b4ff62542e4ac971b89dac33f13336
23,452
cc
C++
cc/scheduler/scheduler_unittest.cc
hujiajie/pa-chromium
1816ff80336a6efd1616f9e936880af460b1e105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-05-03T06:33:56.000Z
2021-11-14T18:39:42.000Z
cc/scheduler/scheduler_unittest.cc
hujiajie/pa-chromium
1816ff80336a6efd1616f9e936880af460b1e105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
cc/scheduler/scheduler_unittest.cc
hujiajie/pa-chromium
1816ff80336a6efd1616f9e936880af460b1e105
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/scheduler/scheduler.h" #include <string> #include <vector> #include "base/logging.h" #include "cc/test/scheduler_test_common.h" #include "t...
35.914242
80
0.758485
[ "vector" ]
61d2a89ef25e270c9e161bd40829550697703a09
19,418
cpp
C++
Glitter/Sources/main.cpp
pasannissanka/Glitter_LearnOpenGL
95b6a66539edf5c4f39e569cf725ca4dd5665d68
[ "Unlicense", "MIT" ]
null
null
null
Glitter/Sources/main.cpp
pasannissanka/Glitter_LearnOpenGL
95b6a66539edf5c4f39e569cf725ca4dd5665d68
[ "Unlicense", "MIT" ]
null
null
null
Glitter/Sources/main.cpp
pasannissanka/Glitter_LearnOpenGL
95b6a66539edf5c4f39e569cf725ca4dd5665d68
[ "Unlicense", "MIT" ]
null
null
null
/* https://learnopengl.com/ */ // Local Headers #include "glitter.hpp" #include "Shader.hpp" #include "Camera.hpp" #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> // Imgui Headers #include "imgui.h" #include "backends/imgui_impl_glfw.h" #include "backends/imgui_impl_opengl3.h" // System Headers #include <g...
41.849138
184
0.556648
[ "render", "object", "model", "3d" ]
61d73627d9f9b74cd67bf51e9fc5aef8767a6545
4,805
cpp
C++
desktop/gl_helper/shape.cpp
astomih/rotation_master
a6647a956aaa5a3634356d6071f0fa2f00ed0907
[ "Apache-2.0" ]
2
2022-01-18T06:51:32.000Z
2022-01-18T07:40:28.000Z
desktop/gl_helper/shape.cpp
astomih/rotation_master
a6647a956aaa5a3634356d6071f0fa2f00ed0907
[ "Apache-2.0" ]
null
null
null
desktop/gl_helper/shape.cpp
astomih/rotation_master
a6647a956aaa5a3634356d6071f0fa2f00ed0907
[ "Apache-2.0" ]
null
null
null
/* Copyright 2022 iwatake2222 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
28.60119
140
0.690739
[ "object", "shape", "vector", "model" ]
61e1ffb4c15342b58b13cce1bb13f8d416aad381
13,945
cpp
C++
ConnectionManagerDlg.cpp
wootpthomas/smagick
55f36dcabfa9e987511f62fd50891c68c53903ba
[ "BSD-3-Clause" ]
null
null
null
ConnectionManagerDlg.cpp
wootpthomas/smagick
55f36dcabfa9e987511f62fd50891c68c53903ba
[ "BSD-3-Clause" ]
null
null
null
ConnectionManagerDlg.cpp
wootpthomas/smagick
55f36dcabfa9e987511f62fd50891c68c53903ba
[ "BSD-3-Clause" ]
null
null
null
#include "MainWindowDlg.h" #include "ConnectionManager.h" #include "ConnectionManagerDlg.h" #include "DataTypes.h" ConnectionManagerDlg::ConnectionManagerDlg(MainWindowDlg *parent, ConnectionManager * const pConnectionMgr) : QDialog(parent), m_pConnManager(pConnectionMgr), m_pConnectionModel(NULL) { ...
35.483461
131
0.747723
[ "object", "model" ]
61e5e3fcaa4b2ba6765cfb6e6f3319c354bae019
6,188
cpp
C++
project/Test/Source/Test/MyCharacter.cpp
ryulurala/study_unreal_cpp
f92bcf334f989555515659eac66c233763fb32c7
[ "MIT" ]
null
null
null
project/Test/Source/Test/MyCharacter.cpp
ryulurala/study_unreal_cpp
f92bcf334f989555515659eac66c233763fb32c7
[ "MIT" ]
null
null
null
project/Test/Source/Test/MyCharacter.cpp
ryulurala/study_unreal_cpp
f92bcf334f989555515659eac66c233763fb32c7
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "MyCharacter.h" #include "GameFramework/SpringArmComponent.h" #include "Camera/CameraComponent.h" #include "Components/CapsuleComponent.h" #include "MyAnimInstance.h" #include "DrawDebugHelpers.h" #include "MyHelm.h" ...
30.185366
163
0.719619
[ "mesh", "object" ]
61ece8aeabf83755ea64778913ac08f4b82214c0
3,946
hh
C++
source/types.hh
Rombur/adamantine
45dd37397680fad1eaa64dbb311724c4f727a675
[ "BSD-3-Clause" ]
4
2016-09-03T02:08:26.000Z
2021-03-03T01:26:41.000Z
source/types.hh
Rombur/adamantine
45dd37397680fad1eaa64dbb311724c4f727a675
[ "BSD-3-Clause" ]
74
2016-08-31T18:10:46.000Z
2021-04-08T01:51:44.000Z
source/types.hh
Rombur/adamantine
45dd37397680fad1eaa64dbb311724c4f727a675
[ "BSD-3-Clause" ]
3
2019-11-12T15:43:38.000Z
2021-01-19T02:58:56.000Z
/* Copyright (c) 2016 - 2021, the adamantine authors. * * This file is subject to the Modified BSD License and may not be distributed * without copyright and license information. Please refer to the file LICENSE * for the text and further information on this license. */ #ifndef TYPES_HH #define TYPES_HH namespac...
21.801105
80
0.706285
[ "object", "3d", "solid" ]
61f13ace3b54c21277c706cb151e8ba191d851b5
13,613
cpp
C++
cfw/src/v20190904/model/SwitchListsData.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
cfw/src/v20190904/model/SwitchListsData.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
cfw/src/v20190904/model/SwitchListsData.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
27.390342
140
0.676265
[ "model" ]