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
4be4f6d0c663dc6f11321869cdc9aa68e3a41206
8,648
cpp
C++
src/Pegasus/Compiler/cimmofRepositoryInterface.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
1
2021-11-12T21:28:50.000Z
2021-11-12T21:28:50.000Z
src/Pegasus/Compiler/cimmofRepositoryInterface.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
39
2021-01-18T19:28:41.000Z
2022-03-27T20:55:36.000Z
src/Pegasus/Compiler/cimmofRepositoryInterface.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
4
2021-07-09T12:52:33.000Z
2021-12-21T15:05:59.000Z
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
30.34386
80
0.652058
[ "object" ]
4be4f751056e2a5ae55f750e7f2f2f09a6636698
26,418
cpp
C++
Source/gameplay/GameBoard.cpp
leduyquang753/tetrec
9f1da4485b1a6412af5b244ad99aa462b65a374b
[ "MIT" ]
16
2021-08-03T07:44:15.000Z
2022-01-17T15:14:17.000Z
Source/gameplay/GameBoard.cpp
leduyquang753/tetrec
9f1da4485b1a6412af5b244ad99aa462b65a374b
[ "MIT" ]
1
2021-08-03T23:36:55.000Z
2021-08-04T03:01:36.000Z
Source/gameplay/GameBoard.cpp
leduyquang753/tetrec
9f1da4485b1a6412af5b244ad99aa462b65a374b
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <cstdint> #include <memory> #include <random> #include <string> #include <utility> #include "common/Graphics.h" #include "gameplay/PlayScreen.h" #include "gameplay/PlayScreenHelpers.h" #include "gameplay/Tetrimino.h" #include "gameplay/GameBoard.h" using namespace std::...
26.470942
76
0.657733
[ "render", "solid" ]
4be5ae78d1a74e560d27ef6ffdc40206ac5eef99
4,580
cc
C++
edas/src/model/UpdateApplicationBaseInfoResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
edas/src/model/UpdateApplicationBaseInfoResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
edas/src/model/UpdateApplicationBaseInfoResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
39.826087
98
0.753057
[ "model" ]
4bece2501c6922fcd60e92e6f4485dbc42cf353e
673
cc
C++
CPP/No133.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No133.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No133.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
/** * Created by Xiaozhong on 2020/8/12. * Copyright (c) 2020/8/12 Xiaozhong. All rights reserved. */ #include "simple_node.h" #include "map" #include "queue" using namespace std; class Solution { public: Node *cloneGraph(Node *node) { return dfs(node); } private: map<Node *, Node *> visited;...
21.03125
81
0.606241
[ "vector" ]
4bf2ff8734875a963fb0a38847043acd6acdbea9
2,986
hpp
C++
src/lib/chainComplexExtraction.hpp
AppliedMathematicsANU/diamorse
3416d7a6ffa13b2fce7d83c560ac6bc83f1faa44
[ "Unlicense", "MIT" ]
13
2016-04-19T06:36:11.000Z
2022-03-22T18:41:47.000Z
src/lib/chainComplexExtraction.hpp
AppliedMathematicsANU/diamorse
3416d7a6ffa13b2fce7d83c560ac6bc83f1faa44
[ "Unlicense", "MIT" ]
6
2016-06-07T08:55:27.000Z
2017-07-17T22:41:42.000Z
src/lib/chainComplexExtraction.hpp
AppliedMathematicsANU/diamorse
3416d7a6ffa13b2fce7d83c560ac6bc83f1faa44
[ "Unlicense", "MIT" ]
11
2016-01-29T15:45:52.000Z
2021-06-18T19:08:52.000Z
/** -*-c++-*- * * Copyright 2014 The Australian National University * * chainComplexExtraction.hpp * * Computes a Morse chain complex given a gradient vector field. * * Olaf Delgado-Friedrichs jan 14 * */ #ifndef ANU_AM_DIAMORSE_CHAINCOMPLEXEXTRACTION_HPP #define ANU_AM_DIAMORSE_CHAINCOMPLEXEXTRACTION_HP...
26.192982
70
0.643001
[ "vector" ]
4bf993ff03245b1a158a361d5273d4832769b8e6
61,170
cpp
C++
src/mrt/compiler-rt/src/collector/collector_ms.cpp
MapleSystem/OpenArkCompiler
fc250857642ca38ac8b83ae7486513fadf3ab742
[ "MulanPSL-1.0" ]
5
2019-09-02T04:44:52.000Z
2021-11-08T12:23:51.000Z
src/mrt/compiler-rt/src/collector/collector_ms.cpp
MapleSystem/OpenArkCompiler
fc250857642ca38ac8b83ae7486513fadf3ab742
[ "MulanPSL-1.0" ]
2
2020-07-21T01:22:01.000Z
2021-12-06T08:07:16.000Z
src/mrt/compiler-rt/src/collector/collector_ms.cpp
MapleSystem/OpenArkCompiler
fc250857642ca38ac8b83ae7486513fadf3ab742
[ "MulanPSL-1.0" ]
4
2019-09-02T04:46:52.000Z
2020-09-10T11:30:03.000Z
/* * Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved. * * OpenArkCompiler is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THI...
34.69654
120
0.668579
[ "object", "vector" ]
4bff2317d1a3f1a417f22af64f2d49d7e538f613
7,662
cpp
C++
oi/uoj/P277/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/uoj/P277/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/uoj/P277/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#include <cmath> #include <cstdio> #include <cstring> #include <queue> #include <vector> #include <algorithm> #include <unordered_map> using namespace std; #define EPS 1e-8 #define INF 1e99 template <typename T> inline bool eq(T x, decltype(x) y) { return abs(x - y) < EPS; } #define NMAX 500 #define MMAX 50000...
22.94012
81
0.429522
[ "vector" ]
ef04810e2da04496d4cb9c793aec17bae6de3dd3
909
cpp
C++
b/324.cpp
Arafatk/codeforces
314e8aa64c0b678866dab0d7a7694b9d30dc7f51
[ "MIT" ]
null
null
null
b/324.cpp
Arafatk/codeforces
314e8aa64c0b678866dab0d7a7694b9d30dc7f51
[ "MIT" ]
null
null
null
b/324.cpp
Arafatk/codeforces
314e8aa64c0b678866dab0d7a7694b9d30dc7f51
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<int, int> ii; int main() { int n; scanf("%d", &n); int a[n+1], b[n+1]; for (int i = 1; i <= n; ++i) scanf("%d", a+i); for (int i = 1; i <= n; ++i) scanf("%d", b+i); ...
23.921053
58
0.427943
[ "vector" ]
ef0637648d15eefd669e03a8f45fbcb7e34a55c3
8,382
cpp
C++
lib/Backends/OpenCL/OpenCLDeviceManager.cpp
waynehpc/pytorch-glow
3f5baa2426010937fce5c8746daebbf6f9d2db62
[ "Apache-2.0" ]
null
null
null
lib/Backends/OpenCL/OpenCLDeviceManager.cpp
waynehpc/pytorch-glow
3f5baa2426010937fce5c8746daebbf6f9d2db62
[ "Apache-2.0" ]
null
null
null
lib/Backends/OpenCL/OpenCLDeviceManager.cpp
waynehpc/pytorch-glow
3f5baa2426010937fce5c8746daebbf6f9d2db62
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
34.212245
80
0.67645
[ "object", "vector" ]
ef130644518a52c9f812c06ae9c1098feba28de0
2,381
cpp
C++
CefRender/V8ExtensionHandler.cpp
caozhiyi/DuiLib_c
92a26553c2be970015cc3a5d7cbfd5839a89387c
[ "BSD-3-Clause" ]
36
2016-09-25T01:22:17.000Z
2022-01-23T09:56:34.000Z
CefRender/V8ExtensionHandler.cpp
caozhiyi/DuiLib_c
92a26553c2be970015cc3a5d7cbfd5839a89387c
[ "BSD-3-Clause" ]
null
null
null
CefRender/V8ExtensionHandler.cpp
caozhiyi/DuiLib_c
92a26553c2be970015cc3a5d7cbfd5839a89387c
[ "BSD-3-Clause" ]
23
2016-09-25T01:22:19.000Z
2021-10-02T14:47:08.000Z
#include "V8ExtensionHandler.h" #include "include/cef_values.h" namespace DuiLib { CV8ExtensionHandler::CV8ExtensionHandler() { } CV8ExtensionHandler::~CV8ExtensionHandler() { if (handle_name_pipe_ != INVALID_HANDLE_VALUE) { DisconnectNamedPipe(handle_name_pipe_); CloseHandle(handle_name_pipe_); } func...
31.328947
95
0.708946
[ "object" ]
ef16c13c5abe9f3aa2f7c1244c780f954cd413d8
674
hpp
C++
src/algorithms/simple_components.hpp
pythseq/odgi
6bd50cf655a721e7fdfa3df05f32a3ed69aadcf9
[ "MIT" ]
1
2021-04-06T08:41:42.000Z
2021-04-06T08:41:42.000Z
src/algorithms/simple_components.hpp
pythseq/odgi
6bd50cf655a721e7fdfa3df05f32a3ed69aadcf9
[ "MIT" ]
null
null
null
src/algorithms/simple_components.hpp
pythseq/odgi
6bd50cf655a721e7fdfa3df05f32a3ed69aadcf9
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <vector> #include <set> #include <unordered_set> #include <omp.h> #include <handlegraph/types.hpp> #include <handlegraph/util.hpp> #include <handlegraph/path_handle_graph.hpp> #include "flat_hash_map.hpp" #include "perfect_neighbors.hpp" #include "dset64-gccAtomic.hpp" #inclu...
21.741935
118
0.777448
[ "vector" ]
fa9c3a91b7aa43a9083ea1a3b19ccb20802c9bc9
73,770
cxx
C++
ds/ds/src/common/atq/atqmain.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/ds/src/common/atq/atqmain.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/ds/src/common/atq/atqmain.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1995 Microsoft Corporation Module Name : atqmain.cxx Abstract: This module implements entry points for ATQ - Asynchronous Thread Queue. Author: Murali R. Krishnan ( MuraliK ) 8-Apr-1996 Environment: User Mode -- Win32 ...
27.639565
133
0.528887
[ "object" ]
fa9de51c260a4bd040028a85b59bc18a52cf61c5
2,719
cc
C++
src/tests/test_segment.cc
fossabot/xtp
e82cc53f23e213d09da15da80ada6e32ac031a07
[ "Apache-2.0" ]
null
null
null
src/tests/test_segment.cc
fossabot/xtp
e82cc53f23e213d09da15da80ada6e32ac031a07
[ "Apache-2.0" ]
null
null
null
src/tests/test_segment.cc
fossabot/xtp
e82cc53f23e213d09da15da80ada6e32ac031a07
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2020 The VOTCA Development Team (http://www.votca.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
28.322917
75
0.684443
[ "vector" ]
fa9f0501c28cd6c7fe382fd328941fbe7e02ebfe
7,065
cpp
C++
src/frontends/lean/info_manager.cpp
avigad/lean
5410178203ab5ae854b5804586ace074ffd63aae
[ "Apache-2.0" ]
2
2017-05-31T08:41:28.000Z
2018-08-01T18:11:49.000Z
src/frontends/lean/info_manager.cpp
avigad/lean
5410178203ab5ae854b5804586ace074ffd63aae
[ "Apache-2.0" ]
null
null
null
src/frontends/lean/info_manager.cpp
avigad/lean
5410178203ab5ae854b5804586ace074ffd63aae
[ "Apache-2.0" ]
1
2017-02-27T21:02:16.000Z
2017-02-27T21:02:16.000Z
/* Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include <algorithm> #include <vector> #include <set> #include <string> #include "kernel/type_checker.h" #include "library/trace.h" #include "library/docume...
32.408257
136
0.676292
[ "vector" ]
faa6ea3828a478b773b2430323f13c682daab7ba
2,977
cc
C++
examples/graphics/earth/pepper_plugin.cc
nachooya/naclports-1
43e9f13a836c1f6c609bb1418f672bd2041c3888
[ "BSD-3-Clause" ]
1
2019-01-17T23:49:48.000Z
2019-01-17T23:49:48.000Z
examples/graphics/earth/pepper_plugin.cc
nachooya/naclports-1
43e9f13a836c1f6c609bb1418f672bd2041c3888
[ "BSD-3-Clause" ]
null
null
null
examples/graphics/earth/pepper_plugin.cc
nachooya/naclports-1
43e9f13a836c1f6c609bb1418f672bd2041c3888
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2011 The Native Client Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef __native_client__ #include <pthread.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <ppapi/cpp/instance.h> #includ...
27.82243
78
0.655694
[ "object" ]
fab1ee985488529a6a46319f6c26ca7569e313d3
2,174
cpp
C++
aws-cpp-sdk-databrew/source/model/DatabaseInputDefinition.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-databrew/source/model/DatabaseInputDefinition.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-databrew/source/model/DatabaseInputDefinition.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/databrew/model/DatabaseInputDefinition.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aw...
20.704762
80
0.75299
[ "model" ]
fab8e1f54b0bf4c50ff634b96a93c093b54a78c6
3,618
cpp
C++
main.cpp
himanshushekharb16/hostspot
1d080e611ac7092e1f99d2b32a542a2d1490e241
[ "Apache-2.0" ]
null
null
null
main.cpp
himanshushekharb16/hostspot
1d080e611ac7092e1f99d2b32a542a2d1490e241
[ "Apache-2.0" ]
null
null
null
main.cpp
himanshushekharb16/hostspot
1d080e611ac7092e1f99d2b32a542a2d1490e241
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstdlib> #include <fstream> #include <cstring> #include <string> using namespace std; struct configs { string connToBridge; string bridgeOver;// 0 for Ethernet and 1 for Wifi string ssid; string key; }; configs* getData() { config...
37.298969
146
0.57518
[ "object" ]
fac11b8a33f05fd5039eacba41e6003e07ab02a4
21,414
cc
C++
tubemq-client-twins/tubemq-client-cpp/src/tubemq_config.cc
keyihao/incubator-tubemq
36b4a6757c9336a90f52419b8b4ba582aa8fff6e
[ "Apache-2.0" ]
null
null
null
tubemq-client-twins/tubemq-client-cpp/src/tubemq_config.cc
keyihao/incubator-tubemq
36b4a6757c9336a90f52419b8b4ba582aa8fff6e
[ "Apache-2.0" ]
null
null
null
tubemq-client-twins/tubemq-client-cpp/src/tubemq_config.cc
keyihao/incubator-tubemq
36b4a6757c9336a90f52419b8b4ba582aa8fff6e
[ "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"...
34.933116
101
0.695293
[ "vector" ]
fac17a42a0ac3741d1eb396d59f57003ae79ce12
3,185
cpp
C++
datastructures/singlylinkedlists/flatten_list.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
5
2021-05-17T12:32:42.000Z
2021-12-12T21:09:55.000Z
datastructures/singlylinkedlists/flatten_list.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
null
null
null
datastructures/singlylinkedlists/flatten_list.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
1
2021-05-13T20:29:57.000Z
2021-05-13T20:29:57.000Z
#include <iostream> #include <vector> using namespace std; class Node { public: int data; Node *next, *bottom; Node(int val = 0, Node *link = NULL, Node *btm = NULL) : data(val), next(link), bottom(btm) {}; ~Node() { delete next, delete bottom; } }; Node* build(Node *, vector<int>...
25.07874
103
0.529042
[ "vector" ]
fac2d6709b29271880b57f90f421b74b881ff24b
7,311
cc
C++
tools/src/create_java_file.cc
haveTryTwo/csutil
7cb071f6927db4c52832d3074fb69f273968d66e
[ "BSD-2-Clause" ]
9
2015-08-14T08:59:06.000Z
2018-08-20T13:46:46.000Z
tools/src/create_java_file.cc
haveTryTwo/csutil
7cb071f6927db4c52832d3074fb69f273968d66e
[ "BSD-2-Clause" ]
null
null
null
tools/src/create_java_file.cc
haveTryTwo/csutil
7cb071f6927db4c52832d3074fb69f273968d66e
[ "BSD-2-Clause" ]
1
2018-08-20T13:46:29.000Z
2018-08-20T13:46:29.000Z
// Copyright (c) 2015 The CSUTIL 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 <deque> #include <vector> #include <stdio.h> #include <assert.h> #include "base/util.h" #include "base/common.h" #include "base/file_util.h" ...
34.814286
114
0.596498
[ "vector" ]
fac5516a029335d0abba5c954ed6d7ae9f56ab9d
2,937
cpp
C++
boboleetcode/Play-Leetcode-master/0684-Redundant-Connection/cpp-0684/main3.cpp
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/0684-Redundant-Connection/cpp-0684/main3.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0684-Redundant-Connection/cpp-0684/main3.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/redundant-connection/description/ /// Author : liuyubobobo /// Time : 2017-12-01 #include <iostream> #include <vector> #include <unordered_map> #include <unordered_set> #include <cassert> using namespace std; /// Using Union-Find, add edges into the UF /// The first edge ...
22.945313
76
0.511406
[ "vector" ]
faca08a840d33ba01f1de56cb5dcce52e4a4c70f
25,840
cpp
C++
private/shell/ext/docpropex/avprop/srv.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/ext/docpropex/avprop/srv.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/ext/docpropex/avprop/srv.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
//-------------------------------------------------------------------------// // srv.cpp : Implementation of CAVFilePropServer //-------------------------------------------------------------------------// #include "pch.h" #include "srv.h" #include "propvar.h" #include "ptsniff.h" //----------------------------...
34.361702
113
0.501935
[ "object" ]
faccd181836ed713bf5afc95a1d30d3172c14eb3
596
cpp
C++
codes/maths/fibonacci/fibonacci(bad space complexity).cpp
arunrajora/algorithms
3590deefbf94382e10ebd16692118328fc9b538a
[ "MIT" ]
1
2017-08-20T20:35:53.000Z
2017-08-20T20:35:53.000Z
codes/maths/fibonacci/fibonacci(bad space complexity).cpp
arunrajora/algorithms
3590deefbf94382e10ebd16692118328fc9b538a
[ "MIT" ]
null
null
null
codes/maths/fibonacci/fibonacci(bad space complexity).cpp
arunrajora/algorithms
3590deefbf94382e10ebd16692118328fc9b538a
[ "MIT" ]
1
2017-06-10T18:51:56.000Z
2017-06-10T18:51:56.000Z
// n-th fibonacci number #include<iostream> #include<vector> using namespace std; #define ull unsigned long long #define FIBMAX 100005 int fdp[FIBMAX]={0}; ull fib(int n){ if(n<3){ return fdp[n]=(n>0); } if(fdp[n]>0){ return fdp[n]; } int k=(n%2)?(n+1)/2:n/2; return fdp[n]=(n%2)?(fib(k)*fib(k)+fib(k-1)*...
15.684211
82
0.588926
[ "vector" ]
fada1d2e2289c8cdec87b2821d6ad714e7640134
1,086
cpp
C++
test/collection.cpp
SillyMountain/wombat
8c5735cd501da1991f6a9a3e3a01048fa0aa46be
[ "MIT" ]
null
null
null
test/collection.cpp
SillyMountain/wombat
8c5735cd501da1991f6a9a3e3a01048fa0aa46be
[ "MIT" ]
null
null
null
test/collection.cpp
SillyMountain/wombat
8c5735cd501da1991f6a9a3e3a01048fa0aa46be
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <cassert> #include <algorithm> #include <ctime> #include <iostream> #include <wombat/collections/Array.hpp> #include <wombat/utils/timer.hpp> #define N 10000 #define DUMP_TIMING(l) {printf("%30s: %.2lf [s]\n", l, t.elapsed()); t.reset();} Timer t; void testWombatArray() ...
14.48
80
0.567219
[ "vector" ]
fae55bff8de0e41f84c2d07fad672fd77f220c96
60,520
cpp
C++
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/writeengine/bulk/we_bulkload.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/writeengine/bulk/we_bulkload.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/writeengine/bulk/we_bulkload.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
/* Copyright (C) 2014 InfiniDB, Inc. 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; version 2 of the License. This program is distributed in the hope that it will be useful, but W...
36.326531
140
0.525248
[ "object", "vector" ]
fae99b39e39ec45f5413e674f9ad79d3447126ea
2,008
cpp
C++
bigint.cpp
leodeliyannis/bigint
6764e4b673e0c86735722bf4f7f3fda49dddfeac
[ "MIT" ]
null
null
null
bigint.cpp
leodeliyannis/bigint
6764e4b673e0c86735722bf4f7f3fda49dddfeac
[ "MIT" ]
null
null
null
bigint.cpp
leodeliyannis/bigint
6764e4b673e0c86735722bf4f7f3fda49dddfeac
[ "MIT" ]
null
null
null
/* * Leonardo Deliyannis Constantin * Implementação própria de BigInt */ #include <stdio.h> #include <vector> #include <string> #include <algorithm> using namespace std; typedef unsigned long long ull; struct bigint{ vector<ull> V; private: const int BASE = ((int)1e8); int cmp(const bigint &other) const{ int...
23.623529
71
0.548307
[ "vector" ]
faef272ac5a2f52ba2b51b123a5ae92fbc3be8f1
13,457
cpp
C++
tests/unit/sdk/test_pixie_buffer.cpp
xiallc/pixie_sdk
a6cf38b0a0d73a55955f4f906f789ee16eb848d4
[ "Apache-2.0" ]
2
2021-04-14T13:58:50.000Z
2021-08-09T19:42:25.000Z
tests/unit/sdk/test_pixie_buffer.cpp
xiallc/pixie_sdk
a6cf38b0a0d73a55955f4f906f789ee16eb848d4
[ "Apache-2.0" ]
1
2021-08-31T10:32:07.000Z
2021-09-03T15:03:00.000Z
tests/unit/sdk/test_pixie_buffer.cpp
xiallc/pixie_sdk
a6cf38b0a0d73a55955f4f906f789ee16eb848d4
[ "Apache-2.0" ]
1
2022-03-25T12:32:52.000Z
2022-03-25T12:32:52.000Z
/* SPDX-License-Identifier: Apache-2.0 */ /* * Copyright 2021 XIA LLC, 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/LICE...
36.077748
99
0.422828
[ "vector" ]
4f0ab9b889defc271229852482f327e4d5286549
514
cpp
C++
Code/src/OE/Engine/Object.cpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
21
2018-06-26T16:37:36.000Z
2022-01-11T01:19:42.000Z
Code/src/OE/Engine/Object.cpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
null
null
null
Code/src/OE/Engine/Object.cpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
3
2019-10-01T14:10:50.000Z
2021-11-19T20:30:18.000Z
#include "OE/Engine/Object.hpp" #include "OE/Scripting/Mono/MonoMapping.hpp" namespace OrbitEngine { namespace Engine { /* Object::Object(MonoType* type) : Object(mono_ptr_class_get(type)) { } Object::Object(MonoClass* klass) : Object(mono_object_new(mono_domain_get(), klass)) { } Object::Object(MonoObject* obj)...
27.052632
89
0.743191
[ "object" ]
4f0d1d999dd8f8913585b2fbca11c969556e2123
2,862
cpp
C++
test/FTExtrudeFont-Test.cpp
fastcall81/ftgl_ue4
6f60b179ecfa0c4f1b0397841b8ce21fa965977c
[ "MIT" ]
45
2015-08-26T13:51:55.000Z
2022-03-04T04:29:32.000Z
test/FTExtrudeFont-Test.cpp
fastcall81/ftgl_ue4
6f60b179ecfa0c4f1b0397841b8ce21fa965977c
[ "MIT" ]
9
2015-02-18T20:36:12.000Z
2020-03-26T18:45:42.000Z
test/FTExtrudeFont-Test.cpp
fastcall81/ftgl_ue4
6f60b179ecfa0c4f1b0397841b8ce21fa965977c
[ "MIT" ]
33
2015-02-18T20:27:28.000Z
2022-03-04T04:28:01.000Z
#include <cppunit/extensions/HelperMacros.h> #include <cppunit/TestCaller.h> #include <cppunit/TestCase.h> #include <cppunit/TestSuite.h> #include <assert.h> #include "Fontdefs.h" #include "FTGL/ftgl.h" #include "FTInternals.h" extern void buildGLContext(); class FTExtrudeFontTest : public CppUnit::TestCase { C...
25.783784
89
0.609713
[ "render" ]
4f0d25f4002cb5cdc7f86e7b0485ff2c7a7f27ed
2,695
cpp
C++
c++/leetcode/0023-Merge_k_Sorted_Lists-H.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/0023-Merge_k_Sorted_Lists-H.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/0023-Merge_k_Sorted_Lists-H.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
// 23 Merge k Sorted Lists // https://leetcode.com/problems/merge-k-sorted-lists // version: 1; create time: 2019-10-22 20:43:03; /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: L...
26.95
73
0.502041
[ "vector" ]
4f0d9d8a0cc59fadf1d59fed6aae41e51a8666c8
950
hpp
C++
source/GeometricObjects/MeshTriangle.hpp
hadryansalles/ray-tracing-from-the-ground-up
4ca02fca2cdd458767b4ab3df15b6cd20cb1f413
[ "MIT" ]
5
2021-09-24T12:22:08.000Z
2022-03-23T06:54:02.000Z
source/GeometricObjects/MeshTriangle.hpp
hadryans/ray-tracing-from-the-ground-up
4ca02fca2cdd458767b4ab3df15b6cd20cb1f413
[ "MIT" ]
null
null
null
source/GeometricObjects/MeshTriangle.hpp
hadryans/ray-tracing-from-the-ground-up
4ca02fca2cdd458767b4ab3df15b6cd20cb1f413
[ "MIT" ]
5
2021-08-14T22:26:11.000Z
2022-03-04T09:13:39.000Z
#pragma once #include "GeometricObject.hpp" #include "../Utilities/Maths.hpp" #include "Mesh.hpp" class MeshTriangle : public GeometricObject { public: MeshTriangle(Mesh* mesh_ptr_ = NULL, const int i0 = 0, const int i1 = 0, const int i2 = 0); MeshTriangle(const MeshTriangle& mesh_triangle); MeshTriangle&...
27.941176
95
0.706316
[ "mesh" ]
4f1944bfdeb2ca95cc434407861bf42f63a8beac
1,264
cpp
C++
src/mode_calc_center.cpp
ToruNiina/Coffee-mill
343a6b89f7bc4645d596809aac9009db1c5ec0d8
[ "MIT" ]
4
2017-12-11T07:26:34.000Z
2021-02-01T07:33:37.000Z
src/mode_calc_center.cpp
ToruNiina/Coffee-mill
343a6b89f7bc4645d596809aac9009db1c5ec0d8
[ "MIT" ]
null
null
null
src/mode_calc_center.cpp
ToruNiina/Coffee-mill
343a6b89f7bc4645d596809aac9009db1c5ec0d8
[ "MIT" ]
null
null
null
#include "mode_calc_center.hpp" #include <mill/traj.hpp> #include <mill/math/Vector.hpp> #include <mill/util/cmdarg.hpp> #include <toml/toml.hpp> namespace mill { const char* mode_calc_center_usage() noexcept { return "usage: mill calc center [filename]\n" "calculate the geometric center (it does not co...
23.849057
78
0.564082
[ "vector" ]
4f1a5111ea73c2c3d56772ce8514b05c81bf6959
6,531
cpp
C++
clang/lib/Tooling/Syntax/Pseudo/Grammar.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
clang/lib/Tooling/Syntax/Pseudo/Grammar.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
clang/lib/Tooling/Syntax/Pseudo/Grammar.cpp
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
null
null
null
//===--- Grammar.cpp - Grammar for clang pseudo parser ----------*- C++-*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
35.112903
80
0.637728
[ "vector" ]
b7b3671c85ef0be6b7f2218171e0bbe66c1a4dc3
949
cpp
C++
A2/FlirtWithGirls.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
A2/FlirtWithGirls.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
A2/FlirtWithGirls.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #define scd(x) scanf("%d", &x) #define scc(x) scanf("%c", &x) #define scd2(x,y) scanf("%d %d", &x, &y) #define prd(x) printf("%d\n", x) #define dprd(x) printf("|| %d\n", x) #define prd2(x,y) printf("%d %d\n", x,y) #define dprd2(x,y) printf("||%d | %d\n", x,y) #define prnl() printf("\n") #define...
19.367347
45
0.546891
[ "vector" ]
b7b990973ae2f45d0f60680b3507ec8469f8ad13
3,198
cpp
C++
DepositService.cpp
NoahTarr/DCash-Wallet-Stripe-API
c9892b8b94460ffc27ba785edd1a4a6ff00d7a62
[ "BSD-3-Clause" ]
null
null
null
DepositService.cpp
NoahTarr/DCash-Wallet-Stripe-API
c9892b8b94460ffc27ba785edd1a4a6ff00d7a62
[ "BSD-3-Clause" ]
null
null
null
DepositService.cpp
NoahTarr/DCash-Wallet-Stripe-API
c9892b8b94460ffc27ba785edd1a4a6ff00d7a62
[ "BSD-3-Clause" ]
null
null
null
#define RAPIDJSON_HAS_STDSTRING 1 #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <fcntl.h> #include <iostream> #include <map> #include <string> #include <sstream> #include "DepositService.h" #include "Database.h" #include "ClientError.h" #include "HTTPClientResponse.h" #include "...
28.553571
88
0.645403
[ "object" ]
b7bb265000672c8cfd769ee7753d0a48b8b9efcc
4,539
cc
C++
tests/si/api.cc
project-arcana/arcana-samples
7dbe2cab765d4d86c6e96b4ab542cac75608a0b0
[ "MIT" ]
null
null
null
tests/si/api.cc
project-arcana/arcana-samples
7dbe2cab765d4d86c6e96b4ab542cac75608a0b0
[ "MIT" ]
null
null
null
tests/si/api.cc
project-arcana/arcana-samples
7dbe2cab765d4d86c6e96b4ab542cac75608a0b0
[ "MIT" ]
1
2020-01-22T18:04:53.000Z
2020-01-22T18:04:53.000Z
#include <nexus/test.hh> #include <clean-core/vector.hh> #include <structured-interface/si.hh> namespace { struct foo { int a = 0; float b = 1; bool c = true; }; template <class I> void introspect(I&& i, foo& v) { i(v.a, "a"); i(v.b, "b"); i(v.c, "c"); } } TEST("si api", disabled) { // s...
22.033981
94
0.470588
[ "render", "vector", "3d" ]
b7c9a841a3383e6daa747de5657b44416b29726f
5,466
cpp
C++
C++/Algorithms and data structures/lr4/code/binary_tree_heap/treeHandlers.cpp
po4yka/elementary-education-projects
f525a41eef2dee98e2a2ff8a7d063fac747d0d4b
[ "MIT" ]
1
2020-09-01T20:22:30.000Z
2020-09-01T20:22:30.000Z
C++/Algorithms and data structures/lr4/code/binary_tree_heap/treeHandlers.cpp
po4yka/EducationProjects
f525a41eef2dee98e2a2ff8a7d063fac747d0d4b
[ "MIT" ]
null
null
null
C++/Algorithms and data structures/lr4/code/binary_tree_heap/treeHandlers.cpp
po4yka/EducationProjects
f525a41eef2dee98e2a2ff8a7d063fac747d0d4b
[ "MIT" ]
null
null
null
#include "basicheaders.h" #include "tree.h" #include "customvector.h" namespace lrstruct { bool Node::stepLoopSwitcher = false; bool Node::isStepByStepMode = false; int Node::findDepth(Node* root) { if(root == nullptr) { return 0; } if(root->_left == nullptr && root->_...
26.15311
102
0.483535
[ "vector" ]
b7ce853b580055c2b2005b2fc9bab2348d1c947c
827
cpp
C++
19_Special_Operators/2_5_Alloc_Dealloc/GlobalNew.cpp
Gridelen/cpp-prog-lang-ex
70c40967f0d0ec07eaf2dc0bc6aac052a35f0631
[ "MIT" ]
2
2020-07-04T17:56:50.000Z
2021-08-19T18:28:15.000Z
19_Special_Operators/2_5_Alloc_Dealloc/GlobalNew.cpp
Gridelen/cpp-prog-lang-ex
70c40967f0d0ec07eaf2dc0bc6aac052a35f0631
[ "MIT" ]
null
null
null
19_Special_Operators/2_5_Alloc_Dealloc/GlobalNew.cpp
Gridelen/cpp-prog-lang-ex
70c40967f0d0ec07eaf2dc0bc6aac052a35f0631
[ "MIT" ]
1
2019-07-27T08:11:25.000Z
2019-07-27T08:11:25.000Z
/* 19.2.5 Allocation and Deallocation */ #include <memory> #include <iostream> #include <vector> void* operator new(size_t n) // individual object { auto p = malloc(n); std::cout << "new " << n << " @ " << p << "\n"; return p; } void* operator new[](size_t n) // array { auto p = malloc(n); std::cout << "ne...
16.54
60
0.509069
[ "object", "vector" ]
b7cea071a29fb3a899c574c7f6f55ca0571357e1
2,271
cc
C++
CaloCluster/src/ClusterFinder.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
CaloCluster/src/ClusterFinder.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
CaloCluster/src/ClusterFinder.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
#include "Offline/CaloCluster/inc/ClusterFinder.hh" #include "Offline/CalorimeterGeom/inc/Calorimeter.hh" #include "Offline/GeometryService/inc/GeomHandle.hh" #include "Offline/RecoDataProducts/inc/CaloHit.hh" #include <iostream> #include <vector> #include <algorithm> namespace mu2e { ClusterFinder::ClusterFinder(...
30.689189
149
0.624835
[ "vector" ]
b7cf2caf44be87ba4178ba2033273a487364632b
22,084
cpp
C++
lg/solvers/htd-master/src/htd/BucketEliminationTreeDecompositionAlgorithm.cpp
vuphan314/dpo
e24fe63fc3321c0cd6d2179c3300596b91082ab5
[ "MIT" ]
14
2020-01-31T23:02:39.000Z
2021-12-26T06:00:13.000Z
lg/solvers/htd-master/src/htd/BucketEliminationTreeDecompositionAlgorithm.cpp
vuphan314/dpo
e24fe63fc3321c0cd6d2179c3300596b91082ab5
[ "MIT" ]
3
2020-06-27T21:11:46.000Z
2020-06-27T21:11:47.000Z
lg/solvers/htd-master/src/htd/BucketEliminationTreeDecompositionAlgorithm.cpp
vuphan314/dpo
e24fe63fc3321c0cd6d2179c3300596b91082ab5
[ "MIT" ]
2
2020-08-08T03:04:30.000Z
2021-05-21T04:56:02.000Z
/* * File: BucketEliminationTreeDecompositionAlgorithm.cpp * * Author: ABSEHER Michael (abseher@dbai.tuwien.ac.at) * * Copyright 2015-2017, Michael Abseher * E-Mail: <abseher@dbai.tuwien.ac.at> * * This file is part of htd. * * htd is free software: you can redistribute it and/or modify it under * ...
42.225621
357
0.72111
[ "object", "vector" ]
b7d1b758baaf1fd501d765a421bb44ed352a1352
1,848
cpp
C++
engine/src/Font.cpp
irishpatrick/sdl-game
23ff8330fe2aaa765119df40d62e50570f606f07
[ "MIT-0", "MIT" ]
null
null
null
engine/src/Font.cpp
irishpatrick/sdl-game
23ff8330fe2aaa765119df40d62e50570f606f07
[ "MIT-0", "MIT" ]
null
null
null
engine/src/Font.cpp
irishpatrick/sdl-game
23ff8330fe2aaa765119df40d62e50570f606f07
[ "MIT-0", "MIT" ]
null
null
null
#include "Font.hpp" const std::string& chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 "; namespace engine { Font::Font() { } Font::~Font() { } void Font::init(const std::string& fn, int size) { font = TTF_OpenFont(fn.c_str(), size); if (font == nullptr) {...
22.536585
94
0.584957
[ "render" ]
b7d646014fb8407ea3056b9c5c49d7a2bf66948c
16,057
cpp
C++
modules/pygauss/src/array_like_numpy.cpp
shapelets/shapelets-compute
1dffe62d4eab9b1115b95bda5aaa7a3392024d72
[ "MIT", "BSD-3-Clause" ]
14
2021-05-28T09:43:28.000Z
2022-03-31T01:44:55.000Z
modules/pygauss/src/array_like_numpy.cpp
shapelets/shapelets-compute
1dffe62d4eab9b1115b95bda5aaa7a3392024d72
[ "MIT", "BSD-3-Clause" ]
14
2021-05-31T11:48:12.000Z
2022-03-06T20:30:34.000Z
modules/pygauss/src/array_like_numpy.cpp
shapelets/shapelets-compute
1dffe62d4eab9b1115b95bda5aaa7a3392024d72
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2021 Grumpy Cat Software S.L. * * This Source Code is licensed under the MIT 2.0 license. * the terms can be found in LICENSE.md at the root of * this project, or at http://mozilla.org/MPL/2.0/. */ #include <arrayfire.h> #include <spdlog/spdlog.h> #include <pybind11/pybind11.h> #include <pybind1...
42.818667
120
0.482531
[ "object", "shape", "vector" ]
b7dbac5bd16ec97d3c31e1f478712704944ebe8a
43,923
hpp
C++
include/GlobalNamespace/IGameplayRpcManager.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
23
2020-08-07T04:09:00.000Z
2022-03-31T22:10:29.000Z
include/GlobalNamespace/IGameplayRpcManager.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
6
2021-09-29T23:47:31.000Z
2022-03-30T20:49:23.000Z
include/GlobalNamespace/IGameplayRpcManager.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/byref.hpp" // Including type: System.IDisposable #include "System/IDisposable.hpp" // Completed incl...
84.143678
405
0.778043
[ "vector" ]
b7e3dedde6b81cf7cc3f85c0c65541e7ce6f1224
7,338
cpp
C++
mordor/streams/fd.cpp
NoevilMe/mordor
d1963c0a8ee15524462ad5d01cb859e9d7706c1e
[ "BSD-3-Clause" ]
200
2015-01-11T22:31:21.000Z
2022-03-23T08:48:53.000Z
mordor/streams/fd.cpp
NoevilMe/mordor
d1963c0a8ee15524462ad5d01cb859e9d7706c1e
[ "BSD-3-Clause" ]
3
2018-11-27T15:16:46.000Z
2022-01-14T15:40:31.000Z
mordor/streams/fd.cpp
NoevilMe/mordor
d1963c0a8ee15524462ad5d01cb859e9d7706c1e
[ "BSD-3-Clause" ]
31
2015-02-12T04:22:43.000Z
2021-12-24T09:27:33.000Z
// Copyright (c) 2009 - Mozy, Inc. #include "mordor/pch.h" #include "fd.h" #include <algorithm> #include <limits> #include <sys/fcntl.h> #include <sys/stat.h> #include <sys/uio.h> #include "buffer.h" #include "mordor/assert.h" #include "mordor/iomanager.h" namespace Mordor { static Logger::ptr g_log = Log::looku...
31.09322
79
0.568411
[ "vector" ]
b7ee3b356cb2680dd85bd2e9c97353529d91e623
22,333
cc
C++
chrome/browser/ui/webui/policy_tool_ui_handler.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/ui/webui/policy_tool_ui_handler.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/ui/webui/policy_tool_ui_handler.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/policy_tool_ui_handler.h" #include "base/files/file_enumerator.h" #include "base/files/file_util.h" #include "base/json...
40.385172
80
0.711951
[ "vector" ]
b7f0e9ca9895f8795e1d4c8ab4fa3d912eb735d5
1,729
cpp
C++
grooking_patterns_cpp/dp_probs/longest_common_subsequence.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
1
2021-09-19T16:41:58.000Z
2021-09-19T16:41:58.000Z
grooking_patterns_cpp/dp_probs/longest_common_subsequence.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
null
null
null
grooking_patterns_cpp/dp_probs/longest_common_subsequence.cpp
Amarnathpg123/grokking_coding_patterns
c615482ef2819d90cba832944943a6b5713d11f3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; long lcs_rec(string &s, string &t, vector<vector<long>> &L, size_t i, size_t j){ if(i == 0 or j == 0) return L[i][j] = 0; if(s[i-1] == t[j-1]){ if(L[i-1][j-1] == -1) L[i-1][j-1] = lcs_rec(s, t, L, i-1, j-1); return 1+L[i-1][j-1]; } ...
27.444444
100
0.459803
[ "vector" ]
b7f303e519f8a6da567182251df757342391c8fe
23,017
cc
C++
chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-02-20T14:25:04.000Z
2019-12-13T13:58:28.000Z
chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2020-01-12T00:55:53.000Z
2020-11-04T06:36:41.000Z
// Copyright (c) 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 "chrome/browser/chromeos/proxy_config_service_impl.h" #include <map> #include <string> #include <vector> #include "base/format_macros.h" #i...
34.56006
79
0.644089
[ "vector" ]
b7f8874cbf622a20d0ce46c90341c4426cfe498d
856
cpp
C++
reduction.cpp
SCOREC/omegah_examples
7c1f15b0a3ceaf1dc8c1f8bc897b58cf75243688
[ "BSD-3-Clause" ]
1
2020-02-10T05:19:20.000Z
2020-02-10T05:19:20.000Z
reduction.cpp
joshia5/omegah_examples
34648e520d629f6ac35021be24c4813801b4ee79
[ "BSD-3-Clause" ]
5
2020-11-10T18:49:40.000Z
2021-03-10T03:47:27.000Z
reduction.cpp
SCOREC/omegah_examples
7c1f15b0a3ceaf1dc8c1f8bc897b58cf75243688
[ "BSD-3-Clause" ]
1
2019-12-09T01:22:36.000Z
2019-12-09T01:22:36.000Z
#include <Omega_h_file.hpp> #include <Omega_h_library.hpp> #include <Omega_h_mesh.hpp> #include <Omega_h_array_ops.hpp> #include <Omega_h_for.hpp> using namespace Omega_h; int main(int argc, char** argv) { auto lib = Library(&argc, &argv); if(argc!=2) { fprintf(stderr, "Usage: %s <input mesh>\n", argv[0]); ...
24.457143
57
0.648364
[ "mesh" ]
b7faa26a6bb636d84fac147cf4733da7cda4ed53
16,681
cc
C++
rc_roi_manager_gui/src/interactive_roi_selection.cc
dragandbot/rc_visard_ros
9eeace69677867646b211812c2745ee7e26e39b6
[ "BSD-3-Clause" ]
null
null
null
rc_roi_manager_gui/src/interactive_roi_selection.cc
dragandbot/rc_visard_ros
9eeace69677867646b211812c2745ee7e26e39b6
[ "BSD-3-Clause" ]
null
null
null
rc_roi_manager_gui/src/interactive_roi_selection.cc
dragandbot/rc_visard_ros
9eeace69677867646b211812c2745ee7e26e39b6
[ "BSD-3-Clause" ]
1
2019-09-17T09:56:14.000Z
2019-09-17T09:56:14.000Z
/* * Copyright (c) 2019 Roboception GmbH * * Author: Carlos Xavier Garcia Briones * * 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, * ...
39.249412
120
0.704094
[ "shape" ]
b7fc14b48fe5a834e49f71e4bc72d0cdeaf44365
2,856
cpp
C++
test/test_3.cpp
active911/fastcache
a845449b54bee4555ed957ccfe373c34333389cb
[ "Apache-2.0" ]
9
2016-03-16T06:18:02.000Z
2021-02-07T20:59:19.000Z
test/test_3.cpp
iamrameshkumar/fastcache
a845449b54bee4555ed957ccfe373c34333389cb
[ "Apache-2.0" ]
null
null
null
test/test_3.cpp
iamrameshkumar/fastcache
a845449b54bee4555ed957ccfe373c34333389cb
[ "Apache-2.0" ]
6
2016-08-29T23:55:09.000Z
2020-10-11T18:43:03.000Z
// Test3 // Speed check // Do 9000 reads and writes, fast // This is also a test of using ints for keys // Run with 30 threads #define THREAD_COUNT 30 #define OBJECT_COUNT 1000 #define FASTCACHE_TEST_SMALL // Clock source #define CLOCKSRC CLOCK_MONOTONIC_RAW #include <iostream> #include <string> #include <boost/sh...
19.696552
100
0.690826
[ "object", "vector" ]
b7fcdeb14dde3f1861dbeb1c5dc63fd5a690d801
59,764
cpp
C++
c++/src/connect/ncbi_pipe.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/src/connect/ncbi_pipe.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/src/connect/ncbi_pipe.cpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: ncbi_pipe.cpp 363410 2012-05-16 17:03:41Z lavr $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" ...
29.852148
79
0.51859
[ "object", "vector" ]
b7fd8cb7e7fb85e7e30e5f1d21d7963ee5486805
7,876
cpp
C++
dbms/src/TestUtils/tests/gtest_function_test_utils.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
85
2022-03-25T09:03:16.000Z
2022-03-25T09:45:03.000Z
dbms/src/TestUtils/tests/gtest_function_test_utils.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
7
2022-03-25T08:59:10.000Z
2022-03-25T09:40:13.000Z
dbms/src/TestUtils/tests/gtest_function_test_utils.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
11
2022-03-25T09:15:36.000Z
2022-03-25T09:45:07.000Z
// Copyright 2022 PingCAP, 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 or agreed to i...
33.948276
99
0.61224
[ "vector" ]
4d001f24515335f140c3933604767544cfae736d
12,717
cpp
C++
src/behavior_planner.cpp
grygoryant/CarND-Path-Planning-Project
fccb5a228e444bd24e6083d0011b23a3cf60d658
[ "MIT" ]
null
null
null
src/behavior_planner.cpp
grygoryant/CarND-Path-Planning-Project
fccb5a228e444bd24e6083d0011b23a3cf60d658
[ "MIT" ]
null
null
null
src/behavior_planner.cpp
grygoryant/CarND-Path-Planning-Project
fccb5a228e444bd24e6083d0011b23a3cf60d658
[ "MIT" ]
null
null
null
// // Created by grigorii on 9/8/19. // #include "behavior_planner.h" #include <algorithm> #include <iostream> #include "helpers.h" #include "spline.h" std::string to_string(action a) { switch(a) { case(action::KL): return "action::KL"; case(action::LCL): return "action::LCL"; case(a...
32.032746
122
0.57026
[ "vector" ]
4d0415c0c1e38e912bf85960600318bc93154bb5
4,233
cpp
C++
src/Earworm/YoutubeSearch.cpp
sppp/Earworm
e8529563722b575fde0aa7a7329a01945a177f9c
[ "MIT" ]
null
null
null
src/Earworm/YoutubeSearch.cpp
sppp/Earworm
e8529563722b575fde0aa7a7329a01945a177f9c
[ "MIT" ]
null
null
null
src/Earworm/YoutubeSearch.cpp
sppp/Earworm
e8529563722b575fde0aa7a7329a01945a177f9c
[ "MIT" ]
null
null
null
#include "Earworm.h" #include <plugin/tidy/tidy.h> extern "C" { int Tidy(const char* file, const char* html); } void BasicHeaders(HttpRequest& h) { h.ClearHeaders(); h.KeepAlive(1); h.UserAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"); h.Header("Accept", "text/html,app...
21.378788
97
0.573588
[ "vector" ]
4d04521a1d85e24a25a46555a9106478135895ad
264
cpp
C++
Leetcode Problems/268.MissingNumber.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
1
2021-01-13T07:20:57.000Z
2021-01-13T07:20:57.000Z
Leetcode Problems/268.MissingNumber.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
1
2021-10-01T18:26:34.000Z
2021-10-01T18:26:34.000Z
Leetcode Problems/268.MissingNumber.cpp
rishusingh022/My-Journey-of-Data-Structures-and-Algorithms
28a70fdf10366fc97ddb9f6a69852b3478b564e6
[ "MIT" ]
7
2021-10-01T16:07:29.000Z
2021-10-04T13:23:48.000Z
class Solution { public: int missingNumber(vector<int>& nums) { int i = 0; sort(nums.begin(), nums.end()); for(; i < nums.size(); ++i) { if(nums[i] != i) return i; } return i; } };
20.307692
42
0.409091
[ "vector" ]
4d0829977453a5fe5f2158cc872f4f22cb578b7c
2,234
cpp
C++
src/cascadia/TerminalSettingsEditor/Actions.cpp
hessedoneen/terminal
aa54de1d648f45920996aeba1edecc67237c6642
[ "MIT" ]
3
2019-08-04T13:44:57.000Z
2021-09-25T20:13:28.000Z
src/cascadia/TerminalSettingsEditor/Actions.cpp
hessedoneen/terminal
aa54de1d648f45920996aeba1edecc67237c6642
[ "MIT" ]
null
null
null
src/cascadia/TerminalSettingsEditor/Actions.cpp
hessedoneen/terminal
aa54de1d648f45920996aeba1edecc67237c6642
[ "MIT" ]
1
2021-04-15T17:13:29.000Z
2021-04-15T17:13:29.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include "Actions.h" #include "Actions.g.cpp" #include "ActionsPageNavigationState.g.cpp" #include "EnumEntry.h" using namespace winrt::Windows::Foundation; using namespace winrt::Windows::System; using namespace w...
36.032258
125
0.643688
[ "model" ]
4d223f324b0cb97776e1736751ebc24620a78a88
3,602
cc
C++
EnergyDeposition/src/Analysis.cc
murffer/DetectorSim
1ba114c405eff42c0a52b6dc394cbecfc2d2bab0
[ "Apache-2.0" ]
5
2018-01-13T22:42:24.000Z
2021-03-19T07:38:47.000Z
EnergyDeposition/src/Analysis.cc
murffer/DetectorSim
1ba114c405eff42c0a52b6dc394cbecfc2d2bab0
[ "Apache-2.0" ]
1
2017-05-03T19:01:12.000Z
2017-05-03T19:01:12.000Z
EnergyDeposition/src/Analysis.cc
murffer/DetectorSim
1ba114c405eff42c0a52b6dc394cbecfc2d2bab0
[ "Apache-2.0" ]
3
2015-10-10T15:12:22.000Z
2021-10-18T00:53:35.000Z
#include "Analysis.hh" #include "G4UnitsTable.hh" #include "globals.hh" #include "G4RunManager.hh" #include "G4LogicalVolumeStore.hh" #include "G4LogicalVolume.hh" #include "G4Tubs.hh" #include "G4Material.hh" #include "G4HCofThisEvent.hh" #include "G4Event.hh" #include "G4ThreeVector.hh" #include "HistoManager.hh"...
24.174497
78
0.682121
[ "geometry", "object" ]
4d2673b638114853d595889cceed66ef77f8301b
3,516
hpp
C++
trie/aggregate-stats-policy.hpp
seanbraley/ndn-split-caching
58d8c69c0316ed209661fb3f5a99c424847e2e37
[ "MIT" ]
3
2018-05-23T08:54:28.000Z
2021-04-28T12:57:13.000Z
trie/aggregate-stats-policy.hpp
seanbraley/ndn-split-caching
58d8c69c0316ed209661fb3f5a99c424847e2e37
[ "MIT" ]
null
null
null
trie/aggregate-stats-policy.hpp
seanbraley/ndn-split-caching
58d8c69c0316ed209661fb3f5a99c424847e2e37
[ "MIT" ]
1
2020-09-25T05:13:36.000Z
2020-09-25T05:13:36.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** * Copyright (c) 2011-2015 Regents of the University of California. * * This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and * contributors. * * ndnSIM is free software: you can redistribute it and/or modify it under...
21.053892
93
0.610068
[ "object", "model" ]
4d2ca813cf60a6a6e1d622ca592fb9f223c70c48
10,671
cxx
C++
shipgen/HNLPythia8Generator.cxx
Plamenna/proba
517d7e437865c372e538f77d2242c188740f35d9
[ "BSD-4-Clause" ]
null
null
null
shipgen/HNLPythia8Generator.cxx
Plamenna/proba
517d7e437865c372e538f77d2242c188740f35d9
[ "BSD-4-Clause" ]
null
null
null
shipgen/HNLPythia8Generator.cxx
Plamenna/proba
517d7e437865c372e538f77d2242c188740f35d9
[ "BSD-4-Clause" ]
null
null
null
#include <math.h> #include "TROOT.h" #include "TMath.h" #include "FairPrimaryGenerator.h" #include "TDatabasePDG.h" // for TDatabasePDG #include "HNLPythia8Generator.h" #include "Pythia8/Pythia.h" const Double_t cm = 10.; // pythia units are mm const Double_t c_light = 2.99792458e+10; // speed of ...
44.095041
166
0.539781
[ "vector" ]
4d2f8eec661c3b6833bad1476c036bdf857c1413
2,678
cpp
C++
backup/2/interviewbit/c++/regular-expression-match.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/interviewbit/c++/regular-expression-match.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/interviewbit/c++/regular-expression-match.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)...
28.489362
345
0.458178
[ "vector" ]
2ec460b129653f4fefb40618c37b63698f957b37
35,175
cxx
C++
com/netfx/src/framework/xsp/isapi/perfcounterserver.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/netfx/src/framework/xsp/isapi/perfcounterserver.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/netfx/src/framework/xsp/isapi/perfcounterserver.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/** * PerfCounterServer.cxx * * Copyright (c) 1998-2002, Microsoft Corporation * */ #include "precomp.h" #include "ProcessTableManager.h" #include "dbg.h" #include "util.h" #include "platform_apis.h" #include "nisapi.h" #include "aspnetver.h" #include "hashtable.h" #include "SmartFileHandle.h" ...
31.434316
137
0.571599
[ "object" ]
2ec9dda5b09a640255bd3a880caf863bf312b022
5,539
cpp
C++
llvm/lib/Target/WebAssembly/WebAssemblyDebugFixup.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
null
null
null
llvm/lib/Target/WebAssembly/WebAssemblyDebugFixup.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
null
null
null
llvm/lib/Target/WebAssembly/WebAssemblyDebugFixup.cpp
keryell/llvm-2
4dc23a26d1bd6ced23969c0525dedbddf8c6fddc
[ "Apache-2.0" ]
null
null
null
//===-- WebAssemblyDebugFixup.cpp - Debug Fixup ------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------------------------------...
39.848921
94
0.609316
[ "vector" ]
2ed864129f9048992f8281f8985f29ead91ba245
6,684
cp
C++
examples/charts.cp
yzyzsun/CP-next
98b3be73a58db010f35f4398182193183ec83b31
[ "Apache-2.0" ]
3
2022-02-10T04:01:29.000Z
2022-02-10T08:08:28.000Z
examples/charts.cp
yzyzsun/CP-next
98b3be73a58db010f35f4398182193183ec83b31
[ "Apache-2.0" ]
null
null
null
examples/charts.cp
yzyzsun/CP-next
98b3be73a58db010f35f4398182193183ec83b31
[ "Apache-2.0" ]
null
null
null
--| Pass open doc; open svg; config = { width = 600; height = 400; margin = 30; maxY = 140; numY = 7; line = false; legend = true; border = true; label = { data = true; axes = ["Month"; "Price"] } }; factory = new html , svg , color; type Data = { name: String; color: Hex; ...
34.632124
106
0.54234
[ "render" ]
2eda57a4f285331f78ca7a1ca8dbc1529c126246
8,460
cpp
C++
motion-tracking-tut/final-code/motionTracking.cpp
kylehounslow/opencv-tuts
2a943394c24fe712a40fdb775f01e43ab3786b93
[ "MIT" ]
59
2015-03-29T10:33:21.000Z
2021-11-09T10:43:42.000Z
motion-tracking-tut/final-code/motionTracking.cpp
kylehounslow/opencv-tuts
2a943394c24fe712a40fdb775f01e43ab3786b93
[ "MIT" ]
2
2015-05-17T02:26:14.000Z
2018-03-16T18:12:55.000Z
motion-tracking-tut/final-code/motionTracking.cpp
kylehounslow/opencv-tuts
2a943394c24fe712a40fdb775f01e43ab3786b93
[ "MIT" ]
48
2015-03-08T19:15:28.000Z
2021-10-19T12:48:26.000Z
//motionTracking.cpp //Written by Kyle Hounslow, December 2013 //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, mod...
38.807339
151
0.733924
[ "object", "vector" ]
2edb1bb8e6d0fe57c39ce880ca78b1131c082f3e
1,449
cpp
C++
lib/graph/general/connectivity/dsu/dsu_compressed_graph.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
null
null
null
lib/graph/general/connectivity/dsu/dsu_compressed_graph.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
null
null
null
lib/graph/general/connectivity/dsu/dsu_compressed_graph.cpp
howdepressingitistoloveyou/lib
42e515ef15914ba6e7c253cdce124944a72bf258
[ "MIT" ]
1
2021-09-03T16:52:21.000Z
2021-09-03T16:52:21.000Z
#include <bits/stdc++.h> #define pb push_back #define ii pair<int, int> #define fi first #define se second using namespace std; const int maxN = 2e5 + 5; int n, m; int A[maxN], B[maxN]; vector<int> adj[maxN], g[maxN]; int p[maxN]; int Find(int x) { return (x == p[x] ? x : p[x] = Find(p[x])); } void Merge(i...
16.655172
45
0.440994
[ "vector" ]
2ee154e006a284ccc1ccc0b9982e2df4391f5bab
7,021
cpp
C++
Source/Directional.cpp
AhmetMelihIslam/ToolKit
2752d9aa425ff4389f2b705abfbe4580fca1f214
[ "MIT" ]
null
null
null
Source/Directional.cpp
AhmetMelihIslam/ToolKit
2752d9aa425ff4389f2b705abfbe4580fca1f214
[ "MIT" ]
null
null
null
Source/Directional.cpp
AhmetMelihIslam/ToolKit
2752d9aa425ff4389f2b705abfbe4580fca1f214
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Directional.h" #include "Node.h" #include "Util.h" #include "DebugNew.h" namespace ToolKit { Directional::Directional() { } Directional::~Directional() { } void Directional::Pitch(float angle) { Quaternion q = glm::angleAxis(angle, Vec3(1.0f, 0.0f, 0.0f)); m_nod...
24.463415
97
0.637089
[ "transform" ]
2ee2fd957ced4eb5854bae2b784f34256d962207
1,731
cc
C++
planner/FAST-DOWNWARD/src/search/cost_adapted_task.cc
karthikv792/PlanningAssistance
5693c844e9067591ea1414ee9586bcd2dfff6f51
[ "MIT" ]
4
2019-04-23T10:41:35.000Z
2019-10-27T05:14:42.000Z
planner/FAST-DOWNWARD/src/search/cost_adapted_task.cc
karthikv792/PlanningAssistance
5693c844e9067591ea1414ee9586bcd2dfff6f51
[ "MIT" ]
null
null
null
planner/FAST-DOWNWARD/src/search/cost_adapted_task.cc
karthikv792/PlanningAssistance
5693c844e9067591ea1414ee9586bcd2dfff6f51
[ "MIT" ]
4
2018-01-16T00:00:22.000Z
2019-11-01T23:35:01.000Z
#include "cost_adapted_task.h" #include "option_parser.h" #include "plugin.h" #include "utilities.h" #include <iostream> #include <memory> using namespace std; CostAdaptedTask::CostAdaptedTask(const Options &opts) : DelegatingTask(opts.get<shared_ptr<AbstractTask>>("transform")), cost_type(OperatorCost(o...
26.227273
85
0.667244
[ "transform" ]
2eef5e8e9a35e75b04ca02c90c215aa0924b5efa
1,071
cc
C++
src/runtime/objects/Function.cc
atjhc/sif
8e40d6895f0113a3f88524f29113779b6e625f49
[ "Apache-2.0" ]
1
2021-11-02T17:04:01.000Z
2021-11-02T17:04:01.000Z
src/runtime/objects/Function.cc
atjhc/sif
8e40d6895f0113a3f88524f29113779b6e625f49
[ "Apache-2.0" ]
null
null
null
src/runtime/objects/Function.cc
atjhc/sif
8e40d6895f0113a3f88524f29113779b6e625f49
[ "Apache-2.0" ]
null
null
null
// 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 // distribute...
35.7
83
0.743231
[ "object" ]
2ef4aea3e71f0a36ae5a4fe7576bc6afc5cf8008
47,292
cpp
C++
src/UsgsAstroFrameSensorModel.cpp
kberryUSGS/CSM-CameraModel
9bcdc9730b73d2235f704fee693186e4a8218163
[ "Unlicense" ]
null
null
null
src/UsgsAstroFrameSensorModel.cpp
kberryUSGS/CSM-CameraModel
9bcdc9730b73d2235f704fee693186e4a8218163
[ "Unlicense" ]
null
null
null
src/UsgsAstroFrameSensorModel.cpp
kberryUSGS/CSM-CameraModel
9bcdc9730b73d2235f704fee693186e4a8218163
[ "Unlicense" ]
null
null
null
#include "UsgsAstroFrameSensorModel.h" #include <iomanip> #include <iostream> #include <sstream> #include <json.hpp> #include <Error.h> #include <Version.h> using json = nlohmann::json; using namespace std; // Declaration of static variables const std::string UsgsAstroFrameSensorModel::_SENSOR_MODEL_NAME ...
34.369186
149
0.630445
[ "vector", "model", "transform" ]
2ef5ec7778ea2801ae3e005ba478c268f7b4a2b7
8,625
cpp
C++
thirdparty/GeometricTools/WildMagic5/LibCore/ObjectSystems/Wm5Object.cpp
SoMa-Project/vision
ea8199d98edc363b2be79baa7c691da3a5a6cc86
[ "BSD-2-Clause-FreeBSD" ]
1
2020-07-24T23:40:01.000Z
2020-07-24T23:40:01.000Z
thirdparty/GeometricTools/WildMagic5/LibCore/ObjectSystems/Wm5Object.cpp
SoMa-Project/vision
ea8199d98edc363b2be79baa7c691da3a5a6cc86
[ "BSD-2-Clause-FreeBSD" ]
4
2020-05-19T18:14:33.000Z
2021-03-19T15:53:43.000Z
thirdparty/GeometricTools/WildMagic5/LibCore/ObjectSystems/Wm5Object.cpp
SoMa-Project/vision
ea8199d98edc363b2be79baa7c691da3a5a6cc86
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// Geometric Tools, LLC // Copyright (c) 1998-2014 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.0.0 (2010/01/01) #include "Wm5CorePCH.h" #include "Wm5Object.h" using n...
34.090909
79
0.432696
[ "object", "vector" ]
2efadf22552376dbb7ff673684a8bf4b7d2fd1b1
433
hpp
C++
include/Wg/WidgetList.hpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
include/Wg/WidgetList.hpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
include/Wg/WidgetList.hpp
iSLC/vaca
c9bc3284c2a1325f7056f455fd5ff1e47e7673bc
[ "MIT" ]
null
null
null
// Vaca - Visual Application Components Abstraction // Copyright (c) 2005-2010 David Capello // // This file is distributed under the terms of the MIT license, // please read LICENSE.txt for more information. #pragma once #include "Wg/Base.hpp" #include <vector> namespace Wg { /** Collection of widgets. Use...
18.826087
63
0.720554
[ "vector" ]
2c07e8fefb4d64e29a070d11d29cf83b4292c31d
687
hh
C++
src/fml/_internals/dimops.hh
wrathematics/fml
e6db9c67a530b31f80a7fc0fe16d0f88c1d9a18e
[ "BSL-1.0" ]
15
2020-01-29T08:59:34.000Z
2020-01-31T04:21:52.000Z
src/fml/_internals/dimops.hh
wrathematics/fml
e6db9c67a530b31f80a7fc0fe16d0f88c1d9a18e
[ "BSL-1.0" ]
null
null
null
src/fml/_internals/dimops.hh
wrathematics/fml
e6db9c67a530b31f80a7fc0fe16d0f88c1d9a18e
[ "BSL-1.0" ]
null
null
null
// This file is part of fml which is released under the Boost Software // License, Version 1.0. See accompanying file LICENSE or copy at // https://www.boost.org/LICENSE_1_0.txt #ifndef FML__INTERNALS_DIMOPS_H #define FML__INTERNALS_DIMOPS_H #pragma once namespace fml { namespace dimops { enum sweep_op { /**...
23.689655
79
0.727802
[ "vector" ]
2c096c920739f22ac95d58a0cf992c29f0356899
11,270
cc
C++
lib/nu_program.cc
eantcal/nubasic
c9928aa526ee0fc97085c2deb783192274db295f
[ "MIT" ]
29
2016-06-02T14:58:27.000Z
2022-02-17T13:59:58.000Z
lib/nu_program.cc
eantcal/nubasic
c9928aa526ee0fc97085c2deb783192274db295f
[ "MIT" ]
4
2018-05-29T01:36:38.000Z
2020-09-21T21:12:45.000Z
lib/nu_program.cc
eantcal/nubasic
c9928aa526ee0fc97085c2deb783192274db295f
[ "MIT" ]
2
2019-10-23T11:09:16.000Z
2020-05-12T20:17:29.000Z
// // This file is part of nuBASIC // Copyright (c) Antonino Calderone (antonino.calderone@gmail.com) // All rights reserved. // Licensed under the MIT License. // See COPYING file in the project root for full license information. // /* -------------------------------------------------------------------------- */...
27.487805
80
0.505501
[ "object", "vector" ]
2c0b1e3f865e485ad5caa672d915d3f38b190cc8
3,869
cc
C++
main/lsp/LSPInput.cc
judocode/sorbet
fc1ee942d9dfe0903268063f1a300d4f7cf399e8
[ "Apache-2.0" ]
3,269
2019-06-20T17:10:46.000Z
2022-03-31T15:00:37.000Z
main/lsp/LSPInput.cc
judocode/sorbet
fc1ee942d9dfe0903268063f1a300d4f7cf399e8
[ "Apache-2.0" ]
2,812
2019-06-20T17:23:04.000Z
2022-03-31T22:57:17.000Z
main/lsp/LSPInput.cc
judocode/sorbet
fc1ee942d9dfe0903268063f1a300d4f7cf399e8
[ "Apache-2.0" ]
440
2019-06-20T18:12:40.000Z
2022-03-30T23:43:39.000Z
#include "main/lsp/LSPInput.h" #include "main/lsp/LSPMessage.h" #include "spdlog/spdlog.h" #include <iterator> using namespace std; namespace sorbet::realmain::lsp { LSPFDInput::LSPFDInput(shared_ptr<spdlog::logger> logger, int inputFd) : logger(move(logger)), inputFd(inputFd) {} LSPInput::ReadOutput LSPFDInput::re...
33.938596
120
0.607909
[ "vector" ]
2c0f4cb9d04749d092165736ca593aec897027bf
23,887
cpp
C++
Cbc/Cbc/test/gamsTest.cpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
Cbc/Cbc/test/gamsTest.cpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
Cbc/Cbc/test/gamsTest.cpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
// $Id: gamsTest.cpp 2483 2019-02-09 15:15:51Z unxusr $ // Copyright (C) 2008, Stefan Vigerske, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #if defined(_MSC_VER) // Turn off compiler warning about long na...
30.429299
135
0.564826
[ "model" ]
2c133bc93012b7d4d65a35766913477bfa5e5a75
5,627
cpp
C++
Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/unsupported/test/sparse_llt.cpp
mathstuf/ParaView
e867e280545ada10c4ed137f6a966d9d2f3db4cb
[ "Apache-2.0" ]
1
2020-05-21T20:20:59.000Z
2020-05-21T20:20:59.000Z
Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/unsupported/test/sparse_llt.cpp
mathstuf/ParaView
e867e280545ada10c4ed137f6a966d9d2f3db4cb
[ "Apache-2.0" ]
null
null
null
Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/unsupported/test/sparse_llt.cpp
mathstuf/ParaView
e867e280545ada10c4ed137f6a966d9d2f3db4cb
[ "Apache-2.0" ]
5
2016-04-14T13:42:37.000Z
2021-05-22T04:59:42.000Z
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <g.gael@free.fr> // // Eigen 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 ...
40.192857
114
0.691665
[ "vector" ]
2c15bf672d3cc3a9383fa0a6fac3374b960a5f46
936
cpp
C++
test/yj_vertex_add_path_sum.test.cpp
kmyk/rsk0315-library
344f8f8c6c8c8951637154d6cb87cfb3dbc50376
[ "MIT" ]
7
2020-03-30T11:05:43.000Z
2022-03-24T06:18:38.000Z
test/yj_vertex_add_path_sum.test.cpp
kmyk/rsk0315-library
344f8f8c6c8c8951637154d6cb87cfb3dbc50376
[ "MIT" ]
null
null
null
test/yj_vertex_add_path_sum.test.cpp
kmyk/rsk0315-library
344f8f8c6c8c8951637154d6cb87cfb3dbc50376
[ "MIT" ]
2
2021-07-27T05:48:29.000Z
2022-03-24T06:18:40.000Z
#define PROBLEM "https://judge.yosupo.jp/problem/vertex_add_path_sum" #include <cstdint> #include <cstdio> #include <utility> #include <vector> #include "Graph/hl_decomposition.cpp" #include "DataStructure/basic_segment_tree.cpp" int main() { size_t n, q; scanf("%zu %zu", &n, &q); std::vector<intmax_t> a(n); ...
21.272727
81
0.548077
[ "vector" ]
2c1a4094487db886913f02e376fefe5b84fe2dc5
2,400
cc
C++
console_display_buffer.cc
lyrahgames/tree-traversal
60cb2b6cb8aa51269f4e4a521b6c88339959ee49
[ "MIT" ]
null
null
null
console_display_buffer.cc
lyrahgames/tree-traversal
60cb2b6cb8aa51269f4e4a521b6c88339959ee49
[ "MIT" ]
null
null
null
console_display_buffer.cc
lyrahgames/tree-traversal
60cb2b6cb8aa51269f4e4a521b6c88339959ee49
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <utility> #include <vector> using namespace std; template <typename ForwardIt, typename RandomIt, typename KeyFunction> void counting_sort( ForwardIt first, ForwardIt last, RandomIt out, KeyFunction key, decltype(std::declval<KeyFunction>()(*std::declval<ForwardI...
26.086957
79
0.600417
[ "vector" ]
2c269c830a5e678cbcaa96efee53240bc7e1e761
2,302
cpp
C++
aws-cpp-sdk-ds/source/model/Computer.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-ds/source/model/Computer.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-ds/source/model/Computer.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ds/model/Computer.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace Directo...
23.489796
138
0.753692
[ "model" ]
2c2796dc372110745665afd1bc807938562b2433
8,339
cpp
C++
xcore/Map.cpp
blazeroni/foxc
c143edb63b90a6c500193ea5eac95f9c89e3c4ff
[ "MIT" ]
null
null
null
xcore/Map.cpp
blazeroni/foxc
c143edb63b90a6c500193ea5eac95f9c89e3c4ff
[ "MIT" ]
null
null
null
xcore/Map.cpp
blazeroni/foxc
c143edb63b90a6c500193ea5eac95f9c89e3c4ff
[ "MIT" ]
null
null
null
#include "includes.h" #include "Map.h" #include "Wall.h" #include "MapTile.h" #include "Terrain.h" #include "Event.h" #include "MapLoadEvent.h" #include "UnsupportedOperationException.h" namespace xcore { map<string, TerrainType> Map::_terrainMap; spMap Map::makeMap(spEntityFactory factory) { ret...
24.671598
169
0.546708
[ "object", "vector" ]
2c29712ef0b7e17e4f72588a0bac95f51701fa93
1,584
cpp
C++
ObjectOrientedProgramming/TestClassSmartPointers/main.cpp
Sebery/CPP-Practice-Projects
cf200e7753be79d13042f9f9de666d25c8215d69
[ "MIT" ]
null
null
null
ObjectOrientedProgramming/TestClassSmartPointers/main.cpp
Sebery/CPP-Practice-Projects
cf200e7753be79d13042f9f9de666d25c8215d69
[ "MIT" ]
null
null
null
ObjectOrientedProgramming/TestClassSmartPointers/main.cpp
Sebery/CPP-Practice-Projects
cf200e7753be79d13042f9f9de666d25c8215d69
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <vector> class Test { private: int data; public: Test() : data{0} { std::cout << "\tTest constructor (" << data << ")" << std::endl; } Test(int data) : data {data} { std::cout << "\tTest constructor (" << data << ")" << std::endl; } int get_data() const {r...
28.8
101
0.551768
[ "vector" ]
2c2e40aa1d76d64bb8367ad3a32ab68542bfe2f2
5,584
cpp
C++
test/tbb/test_arena_constraints.cpp
alvdd/oneTBB
d87e076d530007b48f619b2f58b53fb0d1a173b1
[ "Apache-2.0" ]
null
null
null
test/tbb/test_arena_constraints.cpp
alvdd/oneTBB
d87e076d530007b48f619b2f58b53fb0d1a173b1
[ "Apache-2.0" ]
null
null
null
test/tbb/test_arena_constraints.cpp
alvdd/oneTBB
d87e076d530007b48f619b2f58b53fb0d1a173b1
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2019-2020 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
40.759124
104
0.658489
[ "vector" ]
2c2fc134bc783ac76ac167198491340733632de0
2,942
cpp
C++
Source/LevelDesign/DestructibleTrigger.cpp
thatguyabass/Kill-O-Byte-Source
0d4dfea226514161bb9799f55359f91da0998256
[ "Apache-2.0" ]
2
2016-12-13T19:13:10.000Z
2017-08-14T04:46:52.000Z
Source/LevelDesign/DestructibleTrigger.cpp
thatguyabass/Kill-O-Byte-Source
0d4dfea226514161bb9799f55359f91da0998256
[ "Apache-2.0" ]
null
null
null
Source/LevelDesign/DestructibleTrigger.cpp
thatguyabass/Kill-O-Byte-Source
0d4dfea226514161bb9799f55359f91da0998256
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Snake_Project.h" #include "DestructibleTrigger.h" #include "Powers/AttackHelper.h" #include "Utility/AttackTypeDataAsset.h" // Sets default values ADestructibleTrigger::ADestructibleTrigger() { RootSceneComponent = CreateDefault...
22.458015
143
0.745071
[ "mesh" ]
2c306346a21ef0a99f2ca7089f75ce463db3155b
3,086
cpp
C++
atcoder/heuristics/introduction/a.cpp
zaurus-yusya/atcoder
5fc345b3da50222fa1366d1ce52ae58799488cef
[ "MIT" ]
3
2020-05-27T16:27:12.000Z
2021-01-27T12:47:12.000Z
atcoder/heuristics/introduction/a.cpp
zaurus-yusya/Competitive-Programming
c72e13a11f76f463510bd4a476b86631d9d1b13a
[ "MIT" ]
null
null
null
atcoder/heuristics/introduction/a.cpp
zaurus-yusya/Competitive-Programming
c72e13a11f76f463510bd4a476b86631d9d1b13a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> typedef long long ll; typedef long double ld; #define rep(i,n) for(ll i=0;i<(n);i++) #define repr(i,n) for(ll i=(n-1);i>=0;i--) #define all(x) x.begin(),x.end() #define br cout << "\n"; using namespace std; const long long INF = 1e10; const long long MOD = 1e9+7; using Graph = vector<vector<ll>...
20.993197
95
0.408296
[ "vector" ]
2c349e7cf515d0486dd213fa91196716b04dd8d2
17,541
hpp
C++
TZK_Objects/HPP/CfgAmmo_Tank_inherit.hpp
Darker1990/Project-TZK-Since2.12
3f1162b51f1f24f41b1000e97102be537d162b76
[ "MIT" ]
null
null
null
TZK_Objects/HPP/CfgAmmo_Tank_inherit.hpp
Darker1990/Project-TZK-Since2.12
3f1162b51f1f24f41b1000e97102be537d162b76
[ "MIT" ]
null
null
null
TZK_Objects/HPP/CfgAmmo_Tank_inherit.hpp
Darker1990/Project-TZK-Since2.12
3f1162b51f1f24f41b1000e97102be537d162b76
[ "MIT" ]
null
null
null
//Ammos used mainly by tanks. class M1Sabot_xj400: Shell120 { hit = 575; indirectHit = 10; indirectHitRange = 5; minRange = 1; minRangeProbab = 0.95; midRange = 1000; midRangeProbab = 0.95; maxRange = 2500; maxRangeProbab = 0.95; soundHit[] = {"Explosions\expl4",100, 1}; }; class M1Heat_xj400: Heat120 { ...
34.734653
129
0.671455
[ "model" ]
2c3746d3a986512c93337810be90253ec447ea5a
1,222
cpp
C++
source/442FindAllDuplicatesinanArray.cpp
zuisixian/LeetCode
851498561e5006d4803151cff467864d36a1dc2e
[ "MIT" ]
null
null
null
source/442FindAllDuplicatesinanArray.cpp
zuisixian/LeetCode
851498561e5006d4803151cff467864d36a1dc2e
[ "MIT" ]
1
2018-01-20T16:25:13.000Z
2018-01-20T16:25:13.000Z
source/442FindAllDuplicatesinanArray.cpp
zuisixian/LeetCode
851498561e5006d4803151cff467864d36a1dc2e
[ "MIT" ]
1
2018-01-09T14:08:06.000Z
2018-01-09T14:08:06.000Z
//Solution1 class Solution { public: vector<int> findDuplicates(vector<int>& nums) { //Firstly, we put each element x in nums[x - 1]. Since x ranges from 1 to N, then x - 1 ranges from 0 to N - 1, it won't exceed the //bound of the array. //Secondly, we check through the array. If a numbe...
31.333333
171
0.548282
[ "vector" ]
2c376ec5cc22fc26d908cf45d11e8c2c4684dcf6
3,309
hh
C++
source/codestream.hh
astolap/WaSPR
27dfc715b3024aa4a4ae57c4c6c676f175cf704c
[ "BSD-2-Clause" ]
1
2021-03-30T08:36:06.000Z
2021-03-30T08:36:06.000Z
source/codestream.hh
astolap/WaSPR
27dfc715b3024aa4a4ae57c4c6c676f175cf704c
[ "BSD-2-Clause" ]
null
null
null
source/codestream.hh
astolap/WaSPR
27dfc715b3024aa4a4ae57c4c6c676f175cf704c
[ "BSD-2-Clause" ]
2
2020-02-02T17:35:34.000Z
2021-06-28T13:04:20.000Z
/*BSD 2-Clause License * Copyright(c) 2019, Pekka Astola * 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 * list ...
24.879699
83
0.689332
[ "vector" ]
2c453a8ca98ee774e6b155397a4e207bc2a6ed6c
13,319
cc
C++
chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
MIPS/external-chromium_org
e31b3128a419654fd14003d6117caa8da32697e7
[ "BSD-3-Clause" ]
2
2018-11-24T07:58:44.000Z
2019-02-22T21:02:46.000Z
chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-31T19:09:52.000Z
2019-01-04T18:48:50.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/cancelable_callback.h" #include "base/command_line.h" #include "base/memory/scoped_ptr.h" #include "base/run_loop.h" #include "base/synchro...
38.944444
80
0.655229
[ "object", "vector" ]
2c46fd3e1491c75e942b264c67d28c37e2d43a03
1,672
cpp
C++
CentipedeGame_gageoconnor/Game Components/BulletFactory.cpp
Shaditto/centipede-teal
f078b11eaecddae17709dc9f917348b7b0733d56
[ "MIT" ]
null
null
null
CentipedeGame_gageoconnor/Game Components/BulletFactory.cpp
Shaditto/centipede-teal
f078b11eaecddae17709dc9f917348b7b0733d56
[ "MIT" ]
null
null
null
CentipedeGame_gageoconnor/Game Components/BulletFactory.cpp
Shaditto/centipede-teal
f078b11eaecddae17709dc9f917348b7b0733d56
[ "MIT" ]
1
2019-11-13T19:26:34.000Z
2019-11-13T19:26:34.000Z
/* BulletFactory.cpp - Gage O'Connor, October 2017 */ #include "TEAL/CommonElements.h" #include "BulletFactory.h" #include "Bullet.h" #include "SoundManager.h" #include "CommandSound.h" BulletFactory *BulletFactory::pInstance = nullptr; BulletFactory::BulletFactory() { // This command is created once only and reus...
22.90411
103
0.741627
[ "object" ]
2c4c676a124e4eabb56bff45fc4b07cf439f46d9
10,276
cpp
C++
library/test/test_api_create_device_android.cpp
KhronosGroup/Vulkan-Profiles
493351df53f712bffc2d01316ff08f64a0d94761
[ "BSD-2-Clause", "Apache-2.0" ]
43
2022-01-25T14:50:23.000Z
2022-03-31T13:03:36.000Z
library/test/test_api_create_device_android.cpp
KhronosGroup/Vulkan-Profiles
493351df53f712bffc2d01316ff08f64a0d94761
[ "BSD-2-Clause", "Apache-2.0" ]
163
2022-01-25T14:43:12.000Z
2022-03-31T17:25:57.000Z
library/test/test_api_create_device_android.cpp
KhronosGroup/Vulkan-Profiles
493351df53f712bffc2d01316ff08f64a0d94761
[ "BSD-2-Clause", "Apache-2.0" ]
4
2022-01-25T21:33:44.000Z
2022-03-17T14:25:49.000Z
/* * Copyright (c) 2021-2022 Valve Corporation * Copyright (c) 2021-2022 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
34.716216
134
0.642857
[ "vector" ]
2c50b67cc669f66cd1f81fca0f7c24f04c821ef2
908
cpp
C++
139.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
139.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
139.cpp
Alex-Amber/LeetCode
c8d09e86cee52648f84ca2afed8dd0f13e51ab58
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ull = uint64_t; using ll = int64_t; using ld = long double; typedef vector<int> vi; typedef pair<int, int> ii; typedef vector<ii> vii; class Solution { public: vi memo; bool matchWord(const string& s, int start, unordered_set<string>& wordDict) { if (start == ...
23.282051
88
0.655286
[ "vector" ]
2c572d631cabee40dcaee5b95905364608a61a52
314
hpp
C++
src/scene/scene.hpp
Sylvain-Durand/RT-EXplorer
8e2f8de39483bae27702657864f0557635e7036a
[ "MIT" ]
null
null
null
src/scene/scene.hpp
Sylvain-Durand/RT-EXplorer
8e2f8de39483bae27702657864f0557635e7036a
[ "MIT" ]
null
null
null
src/scene/scene.hpp
Sylvain-Durand/RT-EXplorer
8e2f8de39483bae27702657864f0557635e7036a
[ "MIT" ]
null
null
null
#pragma once #include <scene/ecs/entity_manager.hpp> namespace RTEX { /** * @brief Interface definition for an RTEX scene * */ class Scene { public: /** * @brief Construct a new Scene object * */ Scene() = default; private: EntityManager m_entity_manager; }; } // namespace RTEX
13.083333
48
0.633758
[ "object" ]
2c5ffb3b4960a5b26ae54d28dc4917e3f65f66bb
872
cpp
C++
Difficulty 3/shopping_list.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 3/shopping_list.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 3/shopping_list.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include<bits/stdc++.h> using namespace std; int main() { int n, m; cin >> n >> m; string w; vector<string> in_every; for(int i = 0; i < m; i++) { cin >> w; in_every.push_back(w); } for(int i = 1; i < n; i++) { ...
22.358974
87
0.474771
[ "vector" ]
2c6347db8a6f2682dad07731be595a851721e9d9
2,756
hpp
C++
include/cru/osx/graphics/quartz/TextLayout.hpp
crupest/cru
3c3a08a02a0f8fc56dc2da3374f025d4fdaf62c5
[ "Apache-2.0" ]
1
2021-09-30T11:43:03.000Z
2021-09-30T11:43:03.000Z
include/cru/osx/graphics/quartz/TextLayout.hpp
crupest/cru
3c3a08a02a0f8fc56dc2da3374f025d4fdaf62c5
[ "Apache-2.0" ]
11
2021-08-22T12:55:56.000Z
2022-03-13T15:01:29.000Z
include/cru/osx/graphics/quartz/TextLayout.hpp
crupest/cru
3c3a08a02a0f8fc56dc2da3374f025d4fdaf62c5
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Resource.hpp" #include "Font.hpp" #include "cru/common/Base.hpp" #include "cru/platform/graphics/TextLayout.hpp" #include <memory> namespace cru::platform::graphics::osx::quartz { class OsxCTTextLayout : public OsxQuartzResource, public virtual ITextLayout { public: OsxCTTextLayout(IGraphic...
28.708333
78
0.769231
[ "vector" ]
ef1cae3e548df2d6959621a2f44ef7f0ece5986d
8,621
cpp
C++
src/test_app/main.cpp
publiqnet/mesh.pp
a85e393c0de82b5b477b48bf23f0b89f6ac82c26
[ "MIT" ]
1
2020-02-22T16:50:11.000Z
2020-02-22T16:50:11.000Z
src/test_app/main.cpp
publiqnet/mesh.pp
a85e393c0de82b5b477b48bf23f0b89f6ac82c26
[ "MIT" ]
null
null
null
src/test_app/main.cpp
publiqnet/mesh.pp
a85e393c0de82b5b477b48bf23f0b89f6ac82c26
[ "MIT" ]
null
null
null
#define _VERSION_ 2 #if (_VERSION_ == 1) #include <belt.pp/parser.hpp> #include <iostream> #include <string> using operator_lexers = beltpp::typelist::type_list< class operator_plus_lexer, class operator_minus_lexer, class operator_multiply_lexer, class operator_brakets_lexer, class value_number_lexer, class white_...
26.203647
88
0.540889
[ "vector" ]
ef28b79de78f8df4dde7677c9690c79caa65540c
784
hpp
C++
ExerciseSoftware/treadmill_prototype.hpp
jorshi/exercise_software
d6fbc44f301395ad1c2408c1d7cd7745ef254b7d
[ "MIT" ]
null
null
null
ExerciseSoftware/treadmill_prototype.hpp
jorshi/exercise_software
d6fbc44f301395ad1c2408c1d7cd7745ef254b7d
[ "MIT" ]
null
null
null
ExerciseSoftware/treadmill_prototype.hpp
jorshi/exercise_software
d6fbc44f301395ad1c2408c1d7cd7745ef254b7d
[ "MIT" ]
null
null
null
// // treadmill_prototype.hpp // ExerciseSoftware // // Created by Jordie Shier on 2015-11-11. // Copyright © 2015 Jordie Shier . All rights reserved. // #ifndef treadmill_prototype_hpp #define treadmill_prototype_hpp #include <stdio.h> #include <string> #include "equipment_prototype.hpp" //! TreadmillPrototype...
20.102564
65
0.710459
[ "object" ]
ef2a0da49dab4714ab6948118c4b2b726dc9765e
2,255
cpp
C++
main.cpp
SamSavitz/E8-Quasicrystals
3c66dcc40e9645f6cd59b0cd534ccc51af199345
[ "MIT" ]
2
2022-03-19T20:55:32.000Z
2022-03-19T20:55:36.000Z
main.cpp
SamSavitz/E8-Quasicrystals
3c66dcc40e9645f6cd59b0cd534ccc51af199345
[ "MIT" ]
null
null
null
main.cpp
SamSavitz/E8-Quasicrystals
3c66dcc40e9645f6cd59b0cd534ccc51af199345
[ "MIT" ]
null
null
null
#include <algorithm> #include <array> #include <cassert> #include <chrono> #define _USE_MATH_DEFINES #include <cmath> //#include <execution> #include <fstream> #include <iomanip> #include <iostream> #include <random> #include <sstream> #include <vector> using namespace std; using namespace chrono; #include <tbb/paral...
19.955752
68
0.490909
[ "vector" ]
ef2ba2c473ac47c444de173eca088ea74d7f2151
1,436
cpp
C++
Math/Determinant under Composite Modulo.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
1,639
2021-09-15T09:12:06.000Z
2022-03-31T22:58:57.000Z
Math/Determinant under Composite Modulo.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
16
2022-01-15T17:50:08.000Z
2022-01-28T12:55:21.000Z
Math/Determinant under Composite Modulo.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
444
2021-09-15T09:17:41.000Z
2022-03-29T18:21:46.000Z
#include<bits/stdc++.h> using namespace std; const int N = 3e5 + 9; //O(n^3 logn) int Gauss(vector<vector<int>> a, const int mod) { int n = (int)a.size(); if (n != a[0].size()) return 0; int det = 1; for(int col = 0, row = 0; col < n && row < n; ++col) { int mx = row; for(int i = row; i < n; ...
28.72
68
0.405292
[ "vector" ]
ef2c5d2b1a73f74a4090368526cc45fbaf0ab2ba
8,907
cpp
C++
client/OAIItemReference.cpp
owncloud/libre-graph-api-qt5
7f7c9cf64394ef2771310c53bd1950011383d7bf
[ "Apache-2.0" ]
null
null
null
client/OAIItemReference.cpp
owncloud/libre-graph-api-qt5
7f7c9cf64394ef2771310c53bd1950011383d7bf
[ "Apache-2.0" ]
null
null
null
client/OAIItemReference.cpp
owncloud/libre-graph-api-qt5
7f7c9cf64394ef2771310c53bd1950011383d7bf
[ "Apache-2.0" ]
null
null
null
// model-body.mustache // licenseInfo.mustache /** * Libre Graph API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v0.14.2 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generato...
21.884521
109
0.63074
[ "object", "model" ]
ef3e492cc18241c039c5f1427930e9af9cd0dc5a
7,245
hpp
C++
src/Voxie/OldFilterMask/Selection2DMask.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/Voxie/OldFilterMask/Selection2DMask.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/Voxie/OldFilterMask/Selection2DMask.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
34.336493
80
0.708075
[ "shape" ]