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
c6c433f824ceb0b59ddfc3100bbb30ca12d8b827
1,293
cpp
C++
Triangulation_on_sphere_2/examples/Triangulation_on_sphere_2/triang_on_sphere_range.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
3,227
2015-03-05T00:19:18.000Z
2022-03-31T08:20:35.000Z
Triangulation_on_sphere_2/examples/Triangulation_on_sphere_2/triang_on_sphere_range.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
5,574
2015-03-05T00:01:56.000Z
2022-03-31T15:08:11.000Z
Triangulation_on_sphere_2/examples/Triangulation_on_sphere_2/triang_on_sphere_range.cpp
ffteja/cgal
c1c7f4ad9a4cd669e33ca07a299062a461581812
[ "CC0-1.0" ]
1,274
2015-03-05T00:01:12.000Z
2022-03-31T14:47:56.000Z
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Delaunay_triangulation_on_sphere_2.h> #include <CGAL/Projection_on_sphere_traits_3.h> #include <iostream> #include <fstream> typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef CGAL::Projection_on_sphere_traits_3<K> ...
27.510638
97
0.668213
[ "vector", "solid" ]
c6c52759254b9ecb980c4c31c468bd05b18b10c9
3,876
cpp
C++
src/shapes/curve.cpp
zq317157782/raiden
09376a9499f8b86e86c3049b4e654957cb4dc29e
[ "BSD-2-Clause" ]
21
2016-12-14T09:46:27.000Z
2021-12-28T10:05:04.000Z
src/shapes/curve.cpp
zq317157782/raiden
09376a9499f8b86e86c3049b4e654957cb4dc29e
[ "BSD-2-Clause" ]
2
2016-12-02T07:47:14.000Z
2018-01-30T18:11:09.000Z
src/shapes/curve.cpp
zq317157782/raiden
09376a9499f8b86e86c3049b4e654957cb4dc29e
[ "BSD-2-Clause" ]
null
null
null
#include "curve.h" #include "paramset.h" #include "mmath.h" #include "logging.h" std::vector<std::shared_ptr<Shape>> CreateCurves(const Transform *o2w, const Transform *w2o, bool reverseOrientation, const Point3f *c, Float w0, Float w1, CurveType type,const Normal3f* norm,int splitDepth){ std::shared_ptr<C...
40.8
163
0.487358
[ "shape", "vector", "transform" ]
c6da0fd8ce6ca9c005fb151c12adaa0944ad8ccf
2,122
cpp
C++
201803/3.cpp
qzylalala/CSP
8bd474b0cb70b90c41e3fb87452724c5a2bc14fa
[ "Apache-2.0" ]
23
2021-03-01T07:07:48.000Z
2022-03-19T12:49:14.000Z
201803/3.cpp
qzylalala/CSP
8bd474b0cb70b90c41e3fb87452724c5a2bc14fa
[ "Apache-2.0" ]
null
null
null
201803/3.cpp
qzylalala/CSP
8bd474b0cb70b90c41e3fb87452724c5a2bc14fa
[ "Apache-2.0" ]
2
2021-08-30T09:35:17.000Z
2021-09-10T12:26:13.000Z
#include <iostream> #include <cstring> #include <algorithm> #include <vector> using namespace std; const int N = 110; int n, m; struct Url { string path, name; }url[N]; string get_number(string& str) { string res; for (auto c: str) if (c >= '0' && c <= '9') res += c; else ...
19.831776
68
0.377474
[ "vector" ]
c6e224c2bbd75c65b4a5583f4ec1a7e19d6af3d4
8,208
hpp
C++
cpp/include/ibs_bits/Integrators.hpp
tomerten/IBS
5013cc7b3fe81ab121b4bfe8684ae186027083cf
[ "MIT" ]
null
null
null
cpp/include/ibs_bits/Integrators.hpp
tomerten/IBS
5013cc7b3fe81ab121b4bfe8684ae186027083cf
[ "MIT" ]
null
null
null
cpp/include/ibs_bits/Integrators.hpp
tomerten/IBS
5013cc7b3fe81ab121b4bfe8684ae186027083cf
[ "MIT" ]
null
null
null
#include <functional> /** * Simpson integrator with decade splitting. * * @param a lambda**2 coefficient integral denominator * @param b lambda coefficient integral denominator * @param c constant integral denominator * @param cl longitudinal growth time factor * @param cx horizontal growth time factor * @p...
37.651376
80
0.704435
[ "model" ]
c6e2e8425204327b6eeea69165bf23f9241276a9
5,244
cpp
C++
coloring/src/pcd_transfrom_node.cpp
l756302098/ros_practice
4da8b4ddb25ada2e6f1adb3c0f8b34576aedf6b7
[ "MIT" ]
null
null
null
coloring/src/pcd_transfrom_node.cpp
l756302098/ros_practice
4da8b4ddb25ada2e6f1adb3c0f8b34576aedf6b7
[ "MIT" ]
null
null
null
coloring/src/pcd_transfrom_node.cpp
l756302098/ros_practice
4da8b4ddb25ada2e6f1adb3c0f8b34576aedf6b7
[ "MIT" ]
null
null
null
#include "ros/ros.h" #include <nav_msgs/Odometry.h> // PCL #include <pcl_conversions/pcl_conversions.h> #include <pcl/point_cloud.h> #include <pcl/io/ply_io.h> #include <pcl/point_types.h> #include <pcl/octree/octree.h> #include <pcl/filters/passthrough.h> #include <pcl/filters/project_inliers.h> #include <pcl/ModelCoe...
33.832258
93
0.663043
[ "vector" ]
c6e336c73bf224c09e62b33773e6a23a9f403dbb
935
hpp
C++
wav2midi/scale.hpp
mrk21/wav2midi
01b7667c2fd7e18893a5cc97069aabc9397126e6
[ "MIT" ]
29
2018-11-14T04:46:38.000Z
2022-01-04T13:28:38.000Z
wav2midi/scale.hpp
mrk21/wav2midi
01b7667c2fd7e18893a5cc97069aabc9397126e6
[ "MIT" ]
1
2019-01-12T21:40:34.000Z
2019-01-12T22:06:01.000Z
wav2midi/scale.hpp
mrk21/wav2midi
01b7667c2fd7e18893a5cc97069aabc9397126e6
[ "MIT" ]
8
2018-07-04T14:34:41.000Z
2021-07-30T13:38:35.000Z
#ifndef WAV2MIDI_AUDIO_SCALE_HPP #define WAV2MIDI_AUDIO_SCALE_HPP #include <vector> #include <string> namespace wav2midi { class scale { public: static constexpr auto n = 88u; class item { public: uint32_t no() const; uint32_t local_no() const; uint...
22.261905
58
0.568984
[ "vector" ]
c6ef03e7cb2add326e1f923372aeb88e1a020e99
137,612
cpp
C++
third_party/skia_m84/third_party/externals/angle2/src/compiler/translator/glslang_lex_autogen.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
third_party/skia_m84/third_party/externals/angle2/src/compiler/translator/glslang_lex_autogen.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
third_party/skia_m84/third_party/externals/angle2/src/compiler/translator/glslang_lex_autogen.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
null
null
null
#line 17 "glslang.l" // GENERATED FILE - DO NOT EDIT. // Generated by generate_parser.py from glslang.l // // Copyright 2019 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // glslang.l: // Lexer for the OpenGL ...
38.590017
99
0.540825
[ "object" ]
c6efe89383bb5cbc7c0415f2bd1d06f4f8bbbfb5
16,488
cpp
C++
wireshark-2.0.13/ui/qt/import_text_dialog.cpp
mahrukhfida/mi
7187765aa225e71983969ef5285771ac77c8309a
[ "Apache-2.0" ]
null
null
null
wireshark-2.0.13/ui/qt/import_text_dialog.cpp
mahrukhfida/mi
7187765aa225e71983969ef5285771ac77c8309a
[ "Apache-2.0" ]
null
null
null
wireshark-2.0.13/ui/qt/import_text_dialog.cpp
mahrukhfida/mi
7187765aa225e71983969ef5285771ac77c8309a
[ "Apache-2.0" ]
null
null
null
/* import_text_dialog.cpp * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * 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...
33.241935
168
0.689774
[ "model" ]
c6effb331abcdd5e85e54eb729e32aa0432911df
9,072
cxx
C++
main/connectivity/source/drivers/file/FStringFunctions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/connectivity/source/drivers/file/FStringFunctions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/connectivity/source/drivers/file/FStringFunctions.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
34.363636
101
0.6056
[ "vector" ]
c6f8388de8831f7e5de7550cac385d367998d1a7
7,035
cpp
C++
example/oglplus/glut_main.cpp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
example/oglplus/glut_main.cpp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
example/oglplus/glut_main.cpp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
/* * .file example/oglplus/glut_main.cpp * Implements GLUT-based program main function for running examples * * Copyright 2008-2015 Matus Chochlik. 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) */ #incl...
19.487535
68
0.687136
[ "render", "vector" ]
c6fd15a63532b87687395fffb230d53c6d968ad9
947
cpp
C++
oi/joi/2018/b.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
oi/joi/2018/b.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
oi/joi/2018/b.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll=long long; // by a sort, note if fix l,r, mid obvious take all // split, consider one end contribution, e.g. left, ai+bi + ..+ b +.. void solve() { int n; cin >> n; vector<pair<ll,ll>> c(n); vector<ll> a(n), b(n); for (int i = 0; i < n; i++) { ...
24.282051
69
0.460401
[ "vector" ]
c6ff17ad184d524c32252f8ab0724ec5957b4ba4
9,819
cc
C++
mindspore/ccsrc/utils/convert_utils.cc
dongkcs/mindspore
cd7df6dbf463ff3128e9181e9d0c779cecb81320
[ "Apache-2.0" ]
2
2020-11-23T13:46:37.000Z
2020-12-20T02:02:38.000Z
mindspore/ccsrc/utils/convert_utils.cc
dongkcs/mindspore
cd7df6dbf463ff3128e9181e9d0c779cecb81320
[ "Apache-2.0" ]
1
2020-12-29T06:46:38.000Z
2020-12-29T06:46:38.000Z
mindspore/ccsrc/utils/convert_utils.cc
dongkcs/mindspore
cd7df6dbf463ff3128e9181e9d0c779cecb81320
[ "Apache-2.0" ]
1
2021-05-10T03:30:36.000Z
2021-05-10T03:30:36.000Z
/** * Copyright 2019-2020 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 applicabl...
32.513245
111
0.628883
[ "vector" ]
c6ffc5e8a7e1e9f01acba6b222cb6a10f5c8e5c0
4,339
hpp
C++
amgcl/relaxation/damped_jacobi.hpp
tkoziara/parmec
fefe0586798cd65744334f9abeab183159bd3d7a
[ "MIT" ]
null
null
null
amgcl/relaxation/damped_jacobi.hpp
tkoziara/parmec
fefe0586798cd65744334f9abeab183159bd3d7a
[ "MIT" ]
15
2017-06-09T12:05:27.000Z
2018-10-25T13:59:58.000Z
amgcl/relaxation/damped_jacobi.hpp
parmes/parmec
fefe0586798cd65744334f9abeab183159bd3d7a
[ "MIT" ]
null
null
null
#ifndef AMGCL_RELAXATION_DAMPED_JACOBI_HPP #define AMGCL_RELAXATION_DAMPED_JACOBI_HPP /* The MIT License Copyright (c) 2012-2018 Denis Demidov <dennis.demidov@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ...
30.992857
94
0.671122
[ "vector" ]
050dac111e85ce0428ecf6e477cc78e4ef0654ff
51,824
cc
C++
net/instaweb/rewriter/rewrite_query_test.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
null
null
null
net/instaweb/rewriter/rewrite_query_test.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
null
null
null
net/instaweb/rewriter/rewrite_query_test.cc
PeterDaveHello/incubator-pagespeed-mod
885f4653e204e1152cb3928f0755d93ec5fdceae
[ "Apache-2.0" ]
1
2020-05-20T07:09:05.000Z
2020-05-20T07:09:05.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
43.150708
80
0.72177
[ "transform" ]
0512d4eb726564815532c8952e9b08f84b7e45b4
5,643
cxx
C++
src/mlio/integ/dlpack.cxx
aws-patlin/ml-io
047e7d40609ced6f839d0b08d1917e9742a785af
[ "Apache-2.0" ]
null
null
null
src/mlio/integ/dlpack.cxx
aws-patlin/ml-io
047e7d40609ced6f839d0b08d1917e9742a785af
[ "Apache-2.0" ]
null
null
null
src/mlio/integ/dlpack.cxx
aws-patlin/ml-io
047e7d40609ced6f839d0b08d1917e9742a785af
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 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 "lice...
26.617925
79
0.683147
[ "shape" ]
05162b36e120194fe38c858e716ffd2a3162f6ae
9,083
hxx
C++
win32/include/QUANTA/QUANTAnet_http_c.hxx
benyaboy/sage-graphics
090640167329ace4b6ad266d47db5bb2b0394232
[ "Unlicense" ]
null
null
null
win32/include/QUANTA/QUANTAnet_http_c.hxx
benyaboy/sage-graphics
090640167329ace4b6ad266d47db5bb2b0394232
[ "Unlicense" ]
null
null
null
win32/include/QUANTA/QUANTAnet_http_c.hxx
benyaboy/sage-graphics
090640167329ace4b6ad266d47db5bb2b0394232
[ "Unlicense" ]
1
2021-07-02T10:31:03.000Z
2021-07-02T10:31:03.000Z
/****************************************************************************** * QUANTA - A toolkit for High Performance Data Sharing * Copyright (C) 2003 Electronic Visualization Laboratory, * University of Illinois at Chicago * * This library is free software; you can redistribute it and/or modify it ...
31.538194
233
0.670593
[ "object" ]
0518753ad748e129f509e547ff5da309559d6618
2,631
hpp
C++
graphics/src/higanbana/graphics/common/allocators.hpp
jgavert/FazE
7cf63655869c285a7e5ca8f5a48f296d9548bd6c
[ "MIT" ]
15
2020-01-15T13:04:36.000Z
2022-02-18T17:08:25.000Z
graphics/src/higanbana/graphics/common/allocators.hpp
jgavert/FazE
7cf63655869c285a7e5ca8f5a48f296d9548bd6c
[ "MIT" ]
3
2015-09-09T08:16:30.000Z
2015-11-24T16:22:48.000Z
graphics/src/higanbana/graphics/common/allocators.hpp
jgavert/FazE
7cf63655869c285a7e5ca8f5a48f296d9548bd6c
[ "MIT" ]
1
2021-12-06T07:19:05.000Z
2021-12-06T07:19:05.000Z
#pragma once #include <higanbana/core/datastructures/vector.hpp> #include <higanbana/core/global_debug.hpp> #include <higanbana/core/math/utils.hpp> #include <memory> namespace higanbana { class LinearMemoryAllocator { private: std::unique_ptr<uint8_t[]> m_data; size_t m_current; size_t m_size; ...
20.554688
94
0.612315
[ "vector" ]
051d74392bcd4f11c8c2bc9bdf205bdd363b226d
4,622
hpp
C++
worker/include/RTC/RTCP/SenderReport.hpp
liwf616/mediasoup
99d1c696bd4b985ea8bf5348b7f520998e165c32
[ "ISC" ]
2
2020-09-03T01:37:57.000Z
2020-09-03T01:38:15.000Z
worker/include/RTC/RTCP/SenderReport.hpp
liwf616/mediasoup
99d1c696bd4b985ea8bf5348b7f520998e165c32
[ "ISC" ]
1
2021-08-24T01:39:43.000Z
2021-08-24T01:39:43.000Z
worker/include/RTC/RTCP/SenderReport.hpp
baiyfcu/mediasoup
fede86766ad87b184ef139dfe631b30a82506451
[ "0BSD" ]
1
2019-05-14T06:50:04.000Z
2019-05-14T06:50:04.000Z
#ifndef MS_RTC_RTCP_SENDER_REPORT_HPP #define MS_RTC_RTCP_SENDER_REPORT_HPP #include "common.hpp" #include "RTC/RTCP/Packet.hpp" #include <vector> namespace RTC { namespace RTCP { class SenderReport { public: /* Struct for RTCP sender report. */ struct Header { uint32_t ssrc; uint32_t ntpSec;...
21.598131
82
0.693206
[ "vector" ]
051e2e194b997719d2634baee2699af42bd4790e
382
cpp
C++
4. Алгоритмы на графах/66.1. Канонический вид (по списку дуг) #3563/[OK]227013.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
19
2018-05-19T16:37:14.000Z
2022-03-23T20:13:43.000Z
4. Алгоритмы на графах/66.1. Канонический вид (по списку дуг) #3563/[OK]227013.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
6
2020-05-07T21:06:48.000Z
2020-06-05T17:52:57.000Z
4. Алгоритмы на графах/66.1. Канонический вид (по списку дуг) #3563/[OK]227013.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
31
2019-03-01T21:41:38.000Z
2022-03-27T17:56:39.000Z
#include<iostream> #include<fstream> #include<vector> using namespace std; int main() { ifstream in("input.txt"); ofstream out("output.txt"); int n; in >> n; vector<int>tree(n,0); for (int i = 0; i < n-1; ++i) { int v1, v2; in >> v1 >> v2; tree[v2 - 1] = v1; } for (int i = 0; ...
13.642857
33
0.486911
[ "vector" ]
05259a71df5f7738a1de4d24e467fd414aa7d531
5,712
cpp
C++
src/linux_parser.cpp
migzss/Solution-CppND-System-Monitor
e06e2baa815509c472600a9ccf3c7b938b24d2dc
[ "MIT" ]
null
null
null
src/linux_parser.cpp
migzss/Solution-CppND-System-Monitor
e06e2baa815509c472600a9ccf3c7b938b24d2dc
[ "MIT" ]
null
null
null
src/linux_parser.cpp
migzss/Solution-CppND-System-Monitor
e06e2baa815509c472600a9ccf3c7b938b24d2dc
[ "MIT" ]
null
null
null
#include <dirent.h> #include <unistd.h> #include <string> #include <vector> #include "../include/linux_parser.h" using std::stof; using std::string; using std::to_string; using std::vector; // DONE: An example of how to read data from the filesystem string LinuxParser::OperatingSystem() { string line; string key...
29.75
73
0.655462
[ "vector" ]
052c41312acb8d01b312f6ddca33f2576eb36cca
1,454
cc
C++
libulti/rules.cc
gyorgy/ulti
de7d23663fbd9b1d80da27056531fe3d179d87bd
[ "MIT" ]
null
null
null
libulti/rules.cc
gyorgy/ulti
de7d23663fbd9b1d80da27056531fe3d179d87bd
[ "MIT" ]
null
null
null
libulti/rules.cc
gyorgy/ulti
de7d23663fbd9b1d80da27056531fe3d179d87bd
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Gyorgy Abonyi. All rights reserved. #include <libulti/rules.h> #include <libulti/bids.h> namespace ulti { Rules::Rules() : bids_(Bids::PASS), trump_(Cards::Suit::TRUMPLESS) {} void Rules::SetBid(const Bids& bids, Cards::Suit trump) { bids_ = bids; trump_ = trump; } int Rules::GetTa...
25.964286
100
0.656809
[ "vector" ]
052c82e90a43fb2e6ca33a2b388a1d30aea15dbe
5,206
cpp
C++
thread_pool/best_version.cpp
skprpi/Habr
a0c63dc78d82fcb04c2b4c9fec57511104a1b41a
[ "MIT" ]
1
2022-03-28T23:46:20.000Z
2022-03-28T23:46:20.000Z
thread_pool/best_version.cpp
skprpi/Habr
a0c63dc78d82fcb04c2b4c9fec57511104a1b41a
[ "MIT" ]
null
null
null
thread_pool/best_version.cpp
skprpi/Habr
a0c63dc78d82fcb04c2b4c9fec57511104a1b41a
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> #include <thread> #include <chrono> #include <mutex> #include <future> #include <type_traits> #include <unordered_map> #include <unordered_set> #include <any> #include <atomic> #include <variant> #include <cassert> #include <map> #include <utility> enum class TaskStatus { in_q,...
25.149758
92
0.568575
[ "vector" ]
05318ad8b9c23ab08b3dc3b8ab721020d3c9100a
7,018
cpp
C++
Odyssey/OdysseyVulkanCore/OdysseyVulkanCore/Initialize/BaseClasses/QueueFamily.cpp
paulburgess1357/Odyssey
ad351d1df7eeb1b4223ffbdf91ec7e3307b87983
[ "MIT" ]
1
2022-03-10T02:45:04.000Z
2022-03-10T02:45:04.000Z
Odyssey/OdysseyVulkanCore/OdysseyVulkanCore/Initialize/BaseClasses/QueueFamily.cpp
paulburgess1357/Odyssey
ad351d1df7eeb1b4223ffbdf91ec7e3307b87983
[ "MIT" ]
null
null
null
Odyssey/OdysseyVulkanCore/OdysseyVulkanCore/Initialize/BaseClasses/QueueFamily.cpp
paulburgess1357/Odyssey
ad351d1df7eeb1b4223ffbdf91ec7e3307b87983
[ "MIT" ]
null
null
null
#include "OdysseyVulkanCore/OdysseyVulkanCore/Initialize/BaseClasses/QueueFamily.h" #include "OdysseyVulkanCore/OdysseyVulkanCore/Initialize/Exceptions.h" #include "OdysseyUtility/OdysseyUtility/Logging/Logger.h" #include <unordered_set> #include <ranges> // ReSharper disable CppParameterMayBeConst namespace OdysseyVu...
41.282353
119
0.77173
[ "vector" ]
0531c440cf9db2777f3eba51ddca6916d3b3dba3
82
cpp
C++
vm/mterp/c/OP_SGET_OBJECT_JUMBO.cpp
ThirdProject/android_dalvik
6a9739380c73a0256f2484f2bcd0b8f908a2db52
[ "Apache-2.0" ]
null
null
null
vm/mterp/c/OP_SGET_OBJECT_JUMBO.cpp
ThirdProject/android_dalvik
6a9739380c73a0256f2484f2bcd0b8f908a2db52
[ "Apache-2.0" ]
null
null
null
vm/mterp/c/OP_SGET_OBJECT_JUMBO.cpp
ThirdProject/android_dalvik
6a9739380c73a0256f2484f2bcd0b8f908a2db52
[ "Apache-2.0" ]
null
null
null
HANDLE_SGET_X_JUMBO(OP_SGET_OBJECT_JUMBO, "-object", Object, _AS_OBJECT) OP_END
27.333333
74
0.817073
[ "object" ]
05358b410465fd8fb1fbbf8259b7e65274d79d8d
4,379
cpp
C++
src/mongo/db/storage/mmap_v1/extent.cpp
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
4
2018-02-06T01:53:12.000Z
2018-02-20T01:47:36.000Z
src/mongo/db/storage/mmap_v1/extent.cpp
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
null
null
null
src/mongo/db/storage/mmap_v1/extent.cpp
SunguckLee/real-mongodb
fef0e44fafc6d3709a84101327e7d2f54dd18d88
[ "Apache-2.0" ]
3
2018-02-06T01:53:18.000Z
2021-07-28T09:48:15.000Z
// extent.cpp /** * Copyright (C) 2013 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that ...
38.752212
94
0.57045
[ "vector" ]
05373c426acf2d6ef127184d24ef2f70bd21f6b2
8,589
cc
C++
arc/data-snapshotd/dbus_adaptor.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
arc/data-snapshotd/dbus_adaptor.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
arc/data-snapshotd/dbus_adaptor.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 The Chromium OS 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 "arc/data-snapshotd/dbus_adaptor.h" #include <utility> #include <vector> #include <base/bind.h> #include <base/callback_helpers.h> #include ...
35.345679
80
0.700547
[ "object", "vector" ]
053a962ff262e9e9c32d360f153482c2c9eff5ca
3,640
cpp
C++
src/Utils.cpp
LRMPUT/wifiSeq
f6137839b1967075b98758fda1178af55c24048d
[ "BSD-2-Clause" ]
2
2020-10-27T07:03:13.000Z
2020-10-27T10:14:48.000Z
src/Utils.cpp
LRMPUT/wifiSeq
f6137839b1967075b98758fda1178af55c24048d
[ "BSD-2-Clause" ]
null
null
null
src/Utils.cpp
LRMPUT/wifiSeq
f6137839b1967075b98758fda1178af55c24048d
[ "BSD-2-Clause" ]
2
2019-09-23T15:31:33.000Z
2022-02-17T10:28:24.000Z
/* Copyright (c) 2019, Mobile Robots Laboratory: -Jan Wietrzykowski (jan.wietrzykowski@put.poznan.pl). Poznan University of Technology 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. Redistrib...
31.111111
85
0.675549
[ "vector" ]
053d23991fe1389140c1d892bd73ea9e1f471138
2,380
cpp
C++
tests/test_linalg_blas1.cpp
stigrs/scilib
c49f1f882bf2031a4de537e0f5701b2648af181f
[ "MIT" ]
null
null
null
tests/test_linalg_blas1.cpp
stigrs/scilib
c49f1f882bf2031a4de537e0f5701b2648af181f
[ "MIT" ]
null
null
null
tests/test_linalg_blas1.cpp
stigrs/scilib
c49f1f882bf2031a4de537e0f5701b2648af181f
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Stig Rune Sellevag // // This file is distributed under the MIT License. See the accompanying file // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms // and conditions. #include <scilib/mdarray.h> #include <scilib/linalg.h> #include <gtest/gtest.h> #include <vector> T...
24.791667
78
0.571008
[ "vector" ]
053dc2cdb31e281d76989b5687c01603285717f8
7,066
cpp
C++
src/prefab.cpp
cran/individual
fcb17b41429a0c0b4033452a99613f6844a58012
[ "MIT" ]
null
null
null
src/prefab.cpp
cran/individual
fcb17b41429a0c0b4033452a99613f6844a58012
[ "MIT" ]
null
null
null
src/prefab.cpp
cran/individual
fcb17b41429a0c0b4033452a99613f6844a58012
[ "MIT" ]
null
null
null
/* * prefab.cpp * * Created on: 24 Feb 2021 * Author: slwu89 */ #include "../inst/include/DoubleVariable.h" #include "../inst/include/CategoricalVariable.h" #include "../inst/include/IntegerVariable.h" #include "utils.h" // [[Rcpp::export]] Rcpp::XPtr<process_t> fixed_probability_multinomial_process_inter...
39.038674
121
0.631758
[ "vector" ]
0542c4fceafa5d7fc9373ba69307ca4e1589a1e2
16,293
cxx
C++
deps/src/cmake-3.9.3/Source/cmListCommand.cxx
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2018-12-15T20:03:51.000Z
2018-12-15T20:03:51.000Z
deps/src/cmake-3.9.3/Source/cmListCommand.cxx
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
deps/src/cmake-3.9.3/Source/cmListCommand.cxx
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1
2019-06-01T18:49:28.000Z
2019-06-01T18:49:28.000Z
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmListCommand.h" #include "cmsys/RegularExpression.hxx" #include <algorithm> #include <assert.h> #include <iterator> #include <sstream> #include <stdio.h> #inclu...
29.840659
79
0.651998
[ "vector" ]
0546a2e751afc96e4b1e2f1211ca1435a9172b06
4,028
cpp
C++
src/tests/POIMatch_test.cpp
lzzgeo/NLP
2c9e02d62b900d8729a60d3fc68d5954b4d6e3f9
[ "MIT" ]
null
null
null
src/tests/POIMatch_test.cpp
lzzgeo/NLP
2c9e02d62b900d8729a60d3fc68d5954b4d6e3f9
[ "MIT" ]
null
null
null
src/tests/POIMatch_test.cpp
lzzgeo/NLP
2c9e02d62b900d8729a60d3fc68d5954b4d6e3f9
[ "MIT" ]
1
2018-05-18T17:17:35.000Z
2018-05-18T17:17:35.000Z
#include <sys/types.h> #include <string.h> #include <iostream> #include <fstream> #include <string> #include <map> #include <set> #include <vector> #include <stdint.h> #include <algorithm> #include <limits> #include <cmath> #include <stdarg.h> #include "POIInfo.h" #include "POIMatch_API.h" using namespace std; v...
25.493671
99
0.501241
[ "vector" ]
d72a59ed3f95be6f7f5a1566fb9faafaec61778a
6,876
cc
C++
src/fcst/unit_tests/source/platinum_test.cc
jeremyjiezhou/Learn-PyTorch
7e4404609bacd2ec796f6ca3ea118e8e34ab4a22
[ "MIT" ]
24
2016-10-04T20:49:55.000Z
2022-03-12T19:07:10.000Z
src/fcst/unit_tests/source/platinum_test.cc
jeremyjiezhou/Learn-PyTorch
7e4404609bacd2ec796f6ca3ea118e8e34ab4a22
[ "MIT" ]
3
2016-09-05T10:17:36.000Z
2016-12-11T18:23:06.000Z
src/fcst/unit_tests/source/platinum_test.cc
jeremyjiezhou/Learn-PyTorch
7e4404609bacd2ec796f6ca3ea118e8e34ab4a22
[ "MIT" ]
9
2016-12-11T22:15:03.000Z
2020-11-21T13:51:05.000Z
#include "platinum_test.h" /** * Setup is called before any of the tests are called. */ void PlatinumTest::setup() { FuelCellShop::Material::CatalystBase::declare_Catalyst_parameters(param); catalyst = FuelCellShop::Material::CatalystBase::create_Catalyst(param, "Platinum"); }...
32.742857
156
0.672484
[ "vector" ]
d72b7754f939087a4bb701eb528d4a4c4019d1da
9,870
cpp
C++
Blizzlike/ArcEmu/C++/QuestScripts/Quest_BoreanTundra.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/ArcEmu/C++/QuestScripts/Quest_BoreanTundra.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/ArcEmu/C++/QuestScripts/Quest_BoreanTundra.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * ArcScripts for ArcEmu MMORPG Server * Copyright (C) 2009 ArcEmu Team <http://www.arcemu.org/> * * 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 3 of the License, or * ...
27.041096
154
0.716312
[ "object" ]
d72f5684aaf1bb118a88cb5ae06c0b8067710eaf
1,538
cpp
C++
algorithms/cpp/587.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
3
2016-10-01T10:15:09.000Z
2017-07-09T02:53:36.000Z
algorithms/cpp/587.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
algorithms/cpp/587.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct Point { int x; int y; Point() : x(0), y(0) {} Point(int a, int b) : x(a), y(b) {} }; class Solution { private: static bool compare(const Point &a, const Point &b) { return (a.x < b.x) || (a.x == b.x && a.y < b.y); } ...
30.156863
102
0.49935
[ "vector" ]
d7310340f834b739812674d5beb047657da84c00
14,482
cpp
C++
src/core/lib/core_serialization_new/xmlserialization/xmlserializationnode.cpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/lib/core_serialization_new/xmlserialization/xmlserializationnode.cpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/lib/core_serialization_new/xmlserialization/xmlserializationnode.cpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#include "xmlserializationnode.hpp" #include "core_serialization/resizing_memory_stream.hpp" #include <memory> #include <sstream> #include <codecvt> namespace wgt { XMLSerializationNode::~XMLSerializationNode() { } std::unique_ptr<SerializationNode> XMLSerializationNode::createEmptyChildInternal(const char* chil...
27.690249
117
0.63976
[ "vector" ]
d735852bcf78350ced6ccd60407b7541f52059e6
740
cpp
C++
src/MajorityElementII.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
src/MajorityElementII.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
src/MajorityElementII.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "MajorityElementII.hpp" vector<int> MajorityElementII::majorityElement(vector<int> &nums) { int cnt1 = 0, cnt2 = 0; int num1, num2; for (auto n : nums) { if (cnt1 == 0 || n == num1) { cnt1++; num1 = n; } else if (cnt2 == 0 || n == num2) { cnt2++...
18.974359
67
0.428378
[ "vector" ]
d736efe91f210996278c853a5b7737b177a7b8a1
39,432
cpp
C++
src/shogun/machine/gp/SingleFITCLaplaceInferenceMethod.cpp
LiuYuHui/shogun
aab9e644d0be2bc4a9a3f40810c6010a987956c0
[ "BSD-3-Clause" ]
1
2020-09-18T04:30:46.000Z
2020-09-18T04:30:46.000Z
src/shogun/machine/gp/SingleFITCLaplaceInferenceMethod.cpp
awesomemachinelearning/shogun
f143eaf9fdd95f138335e49b3a26693847af5dac
[ "BSD-3-Clause" ]
null
null
null
src/shogun/machine/gp/SingleFITCLaplaceInferenceMethod.cpp
awesomemachinelearning/shogun
f143eaf9fdd95f138335e49b3a26693847af5dac
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) The Shogun Machine Learning Toolbox * Written (W) 2015 Wu Lin * 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...
33.502124
140
0.742088
[ "object", "vector", "model" ]
d737d76acfb02a03a1ce0e1fa537b7b4f6ba559c
1,678
cpp
C++
src/video_provider.cpp
corenel/image-stitching
844af322999f47868d71d250b77d9ca0bc8b143f
[ "MIT" ]
null
null
null
src/video_provider.cpp
corenel/image-stitching
844af322999f47868d71d250b77d9ca0bc8b143f
[ "MIT" ]
null
null
null
src/video_provider.cpp
corenel/image-stitching
844af322999f47868d71d250b77d9ca0bc8b143f
[ "MIT" ]
null
null
null
#include "video_provider.hpp" #include <iostream> MultipleVideoProvider::MultipleVideoProvider( const std::vector<std::string>& video_files) { open(video_files); } MultipleVideoProvider::~MultipleVideoProvider() { close(); } bool MultipleVideoProvider::open(const std::vector<std::string>& video_files) { vide...
25.815385
80
0.641836
[ "vector" ]
d73b18c11e254a302edf574ccfda26fd7d413617
24,706
cpp
C++
modules/DiscordIntegration/main.cpp
alexvann/SokuMods
4f0c10a7d6014b96de49156158b5340437234556
[ "Unlicense" ]
8
2021-03-06T08:32:37.000Z
2022-02-13T16:00:50.000Z
modules/DiscordIntegration/main.cpp
alexvann/SokuMods
4f0c10a7d6014b96de49156158b5340437234556
[ "Unlicense" ]
17
2020-11-29T12:10:47.000Z
2022-02-21T23:28:35.000Z
modules/DiscordIntegration/main.cpp
alexvann/SokuMods
4f0c10a7d6014b96de49156158b5340437234556
[ "Unlicense" ]
3
2021-03-05T13:43:58.000Z
2021-11-19T15:49:32.000Z
// // Created by Gegel85 on 31/10/2020 // #include "CompiledString/CompiledStringFactory.hpp" #include "CompiledString/Vars/vars.hpp" #include "Exceptions.hpp" #include "Network/getPublicIp.hpp" #include "logger.hpp" #include "nlohmann/json.hpp" #include <SokuLib.hpp> #include <array> #include <ctime> #include <discor...
29.376932
157
0.716061
[ "vector" ]
d73e6d83e14d4fdbd17beb005072d3eec6ee8c01
496,529
cc
C++
diplomacy_research/proto/diplomacy_tensorflow/compiler/xla/service/hlo.pb.cc
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
39
2019-09-06T13:42:24.000Z
2022-03-18T18:38:43.000Z
diplomacy_research/proto/diplomacy_tensorflow/compiler/xla/service/hlo.pb.cc
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
9
2019-09-19T22:35:32.000Z
2022-02-24T18:04:57.000Z
diplomacy_research/proto/diplomacy_tensorflow/compiler/xla/service/hlo.pb.cc
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
8
2019-10-16T21:09:14.000Z
2022-02-23T05:20:37.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: diplomacy_tensorflow/compiler/xla/service/hlo.proto #include "diplomacy_tensorflow/compiler/xla/service/hlo.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/io/...
41.81649
196
0.720469
[ "object", "shape" ]
d742e685da8e4ab009b60f6756209c9228d8baa6
15,696
cpp
C++
src/gui_texture.cpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
50
2015-01-15T10:00:31.000Z
2022-02-04T20:45:25.000Z
src/gui_texture.cpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
88
2020-03-15T17:40:04.000Z
2022-03-15T08:21:44.000Z
src/gui_texture.cpp
cschreib/lxgui
b317774d9b4296dda8a70b994950987378a05678
[ "MIT" ]
19
2017-03-11T04:32:01.000Z
2022-01-12T22:47:12.000Z
#include "lxgui/gui_texture.hpp" #include "lxgui/gui_layeredregion.hpp" #include "lxgui/gui_renderer.hpp" #include "lxgui/gui_rendertarget.hpp" #include "lxgui/gui_material.hpp" #include "lxgui/gui_manager.hpp" #include "lxgui/gui_out.hpp" #include "lxgui/gui_uiobject_tpl.hpp" #include <lxgui/utils_filesyst...
29.338318
107
0.573076
[ "render" ]
d748faf0f1b66b2571053624c7aa3e70dd7118a5
34,437
hpp
C++
blast/include/util/compress/tar.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/util/compress/tar.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/util/compress/tar.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
#ifndef UTIL_COMPRESS__TAR__HPP #define UTIL_COMPRESS__TAR__HPP /* $Id: tar.hpp 587245 2019-05-31 23:39:51Z lavr $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * T...
39.401602
79
0.60133
[ "object" ]
d750c33650a70b96a8d028e1bb79366bf57fdde5
4,169
cpp
C++
sources/model/Lists.cpp
rizwanniazigroupdocs/aspose-words-cloud-cpp
c27be122cf538f5a487529d2d1cb8fe3fb30598c
[ "MIT" ]
null
null
null
sources/model/Lists.cpp
rizwanniazigroupdocs/aspose-words-cloud-cpp
c27be122cf538f5a487529d2d1cb8fe3fb30598c
[ "MIT" ]
null
null
null
sources/model/Lists.cpp
rizwanniazigroupdocs/aspose-words-cloud-cpp
c27be122cf538f5a487529d2d1cb8fe3fb30598c
[ "MIT" ]
null
null
null
/** -------------------------------------------------------------------------------------------------------------------- * <copyright company="Aspose" file="Lists.cpp"> * Copyright (c) 2020 Aspose.Words for Cloud * </copyright> * <summary> * Permission is hereby granted, free of charge, to any person obtaining a co...
28.951389
156
0.608779
[ "vector", "transform" ]
d750c7d327fb53e5219ad497855b6a7ff3a9b02f
1,838
cpp
C++
ProjectEuler/pe106.cpp
wang12d/ProgrammingPractices
c7a150eb1aeb0e30a30bc77a25aba940b99ce773
[ "MIT" ]
null
null
null
ProjectEuler/pe106.cpp
wang12d/ProgrammingPractices
c7a150eb1aeb0e30a30bc77a25aba940b99ce773
[ "MIT" ]
null
null
null
ProjectEuler/pe106.cpp
wang12d/ProgrammingPractices
c7a150eb1aeb0e30a30bc77a25aba940b99ce773
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<vector<int> > all_combinations; // 所有的k个组和 vector<int> mids; // 在生成k-combinations时的中间函数 void pretty_print(vector<int> sour) { printf("[ "); vector<int>::iterator end = sour.end(); for (vector<int>::iterator it = sour.begin(); it != end; ++it) { ...
22.975
68
0.486398
[ "vector" ]
d75160e4b77cbb2be83f04ff4c86348eac4c6b51
10,913
cpp
C++
jni/WiEngine_binding/opengl/com_wiyun_engine_opengl_Primitives.cpp
zchajax/WiEngine
ea2fa297f00aa5367bb5b819d6714ac84a8a8e25
[ "MIT" ]
39
2015-01-23T10:01:31.000Z
2021-06-10T03:01:18.000Z
jni/WiEngine_binding/opengl/com_wiyun_engine_opengl_Primitives.cpp
luckypen/WiEngine
7e80641fe15a77a2fc43db90f15dad6aa2c2860a
[ "MIT" ]
1
2015-04-15T08:07:47.000Z
2015-04-15T08:07:47.000Z
jni/WiEngine_binding/opengl/com_wiyun_engine_opengl_Primitives.cpp
luckypen/WiEngine
7e80641fe15a77a2fc43db90f15dad6aa2c2860a
[ "MIT" ]
20
2015-01-20T07:36:10.000Z
2019-09-15T01:02:19.000Z
#include "com_wiyun_engine_opengl_Primitives.h" #include "wyPrimitives.h" #include <stdlib.h> #include "wyUtils_android.h" extern jfieldID g_fid_WYPoint_x; extern jfieldID g_fid_WYPoint_y; extern jfieldID g_fid_WYSize_width; extern jfieldID g_fid_WYSize_height; extern jfieldID g_fid_WYRect_origin; extern jfi...
38.698582
141
0.756804
[ "object" ]
d755062492c77f38905e0814657eb90ca9d07e33
2,910
cpp
C++
src/test/example_complexity.cpp
Lectem/nanobench
de9b49373eaa4efa9f1d1cf23af725069ac1f90c
[ "MIT" ]
null
null
null
src/test/example_complexity.cpp
Lectem/nanobench
de9b49373eaa4efa9f1d1cf23af725069ac1f90c
[ "MIT" ]
null
null
null
src/test/example_complexity.cpp
Lectem/nanobench
de9b49373eaa4efa9f1d1cf23af725069ac1f90c
[ "MIT" ]
null
null
null
#include <nanobench.h> #include <thirdparty/doctest/doctest.h> #include <algorithm> #include <cmath> #include <functional> #include <iostream> #include <set> TEST_CASE("example_complexity_set") { ankerl::nanobench::Bench bench; ankerl::nanobench::Rng rng; for (size_t range = 10; range <= 1000; range = ra...
35.487805
106
0.567354
[ "object", "vector" ]
d757714d48cc1fa1183091526a37a00aceac7241
15,874
cpp
C++
routing/directions_engine.cpp
dbf256/organicmaps
1b20d277200dd5444443cf10c6b43cbabf59f3d8
[ "Apache-2.0" ]
1
2022-02-18T17:26:50.000Z
2022-02-18T17:26:50.000Z
routing/directions_engine.cpp
dbf256/organicmaps
1b20d277200dd5444443cf10c6b43cbabf59f3d8
[ "Apache-2.0" ]
null
null
null
routing/directions_engine.cpp
dbf256/organicmaps
1b20d277200dd5444443cf10c6b43cbabf59f3d8
[ "Apache-2.0" ]
null
null
null
#include "routing/directions_engine.hpp" #include "routing/data_source.hpp" #include "routing/fake_feature_ids.hpp" #include "routing/routing_helpers.hpp" #include "routing/routing_callbacks.hpp" #include "traffic/traffic_info.hpp" #include "routing_common/car_model.hpp" #include "indexer/ftypes_matcher.hpp" #incl...
39.195062
121
0.684012
[ "geometry", "vector" ]
d75aa726c76645e63f457d1da408cd949a8f6167
285
cc
C++
openmit/tools/dstruct/dstring_test.cc
openmit/openmit
01e3262d69d47fbe38bad1ba95c7d1ade110d01e
[ "Apache-2.0" ]
15
2017-06-28T08:39:51.000Z
2019-03-27T14:08:45.000Z
openmit/tools/dstruct/dstring_test.cc
openmit/openmit
01e3262d69d47fbe38bad1ba95c7d1ade110d01e
[ "Apache-2.0" ]
null
null
null
openmit/tools/dstruct/dstring_test.cc
openmit/openmit
01e3262d69d47fbe38bad1ba95c7d1ade110d01e
[ "Apache-2.0" ]
3
2017-07-30T08:50:45.000Z
2017-10-24T14:41:30.000Z
#include "dstring.h" #include <iostream> int main(int argc, char ** argv) { std::string str("auc"); std::vector<std::string> result; mit::string::Split(str, &result, ','); for (size_t i = 0; i < result.size(); ++i) { std::cout << result[i] << std::endl; } return 0; }
21.923077
46
0.578947
[ "vector" ]
d7625299068fa41970a068826368f51ed587b46d
25,553
cpp
C++
arduino/0.4/drumkid/MozziDK/MozziGuts.cpp
mattybrad/drumkid
279f3e1caf94d5a3491ffedfa133147086a3ebdd
[ "MIT" ]
56
2019-09-10T19:52:11.000Z
2022-03-31T06:28:24.000Z
arduino/1.0/drumkid/MozziDK/MozziGuts.cpp
mattybrad/drumkidmozzi
3e164223c49dfb34f62391396056348b42a158c0
[ "MIT" ]
4
2020-04-19T13:05:45.000Z
2022-03-09T04:47:02.000Z
arduino/1.0/drumkid/MozziDK/MozziGuts.cpp
mattybrad/drumkidmozzi
3e164223c49dfb34f62391396056348b42a158c0
[ "MIT" ]
14
2019-08-23T07:24:39.000Z
2022-03-21T17:34:00.000Z
/* * MozziGuts.cpp * * Copyright 2012 Tim Barrass. * * This file is part of Mozzi. * * Mozzi by Tim Barrass is licensed under a Creative Commons * Attribution-NonCommercial-ShareAlike 4.0 International License. * */ #if ARDUINO >= 100 #include "Arduino.h" #else #include "WProgram.h" #endif #include "Circula...
29.472895
130
0.68356
[ "object" ]
d765460cf2c792b4eee6cabf2583fb1d35eb395f
3,187
cpp
C++
firmware/motor_controller/src/Sonar.cpp
focusrobotics/explorer
2b3c75217783830026646fe967b6d06641877642
[ "MIT" ]
null
null
null
firmware/motor_controller/src/Sonar.cpp
focusrobotics/explorer
2b3c75217783830026646fe967b6d06641877642
[ "MIT" ]
null
null
null
firmware/motor_controller/src/Sonar.cpp
focusrobotics/explorer
2b3c75217783830026646fe967b6d06641877642
[ "MIT" ]
null
null
null
/**************************************************************************** * Copyright (c) 2019 by Focus Robotics. All rights reserved. * * 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 Softwa...
36.632184
131
0.675871
[ "object" ]
d7655807293b461407211db1f179b13dd9a2b16c
19,647
cxx
C++
Servers/ServerManager/vtkSMDataLabelRepresentationProxy.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
1
2016-05-09T00:36:44.000Z
2016-05-09T00:36:44.000Z
Servers/ServerManager/vtkSMDataLabelRepresentationProxy.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
null
null
null
Servers/ServerManager/vtkSMDataLabelRepresentationProxy.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
3
2015-05-14T21:18:53.000Z
2022-03-07T02:53:45.000Z
/*========================================================================= Program: ParaView Module: $RCSfile: vtkSMDataLabelRepresentationProxy.cxx,v $ Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is...
32.58209
85
0.662137
[ "render" ]
d7694ac46fc8d643f4b0cecb50d82f111a783799
24,230
cpp
C++
client/src/main.cpp
kkevlar/TARgETS
d729e94e246470dbee4a20de1b46b615818bcd97
[ "MIT" ]
4
2019-12-10T22:00:47.000Z
2020-02-04T23:41:46.000Z
client/src/main.cpp
kkevlar/TARgETS
d729e94e246470dbee4a20de1b46b615818bcd97
[ "MIT" ]
1
2019-12-13T18:53:54.000Z
2019-12-13T18:55:19.000Z
client/src/main.cpp
kkevlar/TARgETS
d729e94e246470dbee4a20de1b46b615818bcd97
[ "MIT" ]
null
null
null
#include <glad/glad.h> #include <algorithm> #include <iostream> #include <thread> #include <vector> #include "Billboard.h" #include "Cube.h" #include "GLSL.h" #include "MatrixStack.h" #include "Program.h" #include "message.h" #include "webclient.h" #include "Collision.h" #include "Shape.h" #include "S...
32.921196
81
0.50747
[ "geometry", "render", "shape", "vector", "model" ]
d7711d0a6838bfce58448c779fcd95388a31929d
1,124
cpp
C++
templates/void_t.cpp
IgorHersht/proxygen_ih
616a8eb899196d2a130e14c0fabcae1944e34b7d
[ "MIT" ]
7
2017-11-10T05:18:30.000Z
2021-04-29T15:38:25.000Z
templates/void_t.cpp
IgorHersht/proxygen_ih
616a8eb899196d2a130e14c0fabcae1944e34b7d
[ "MIT" ]
null
null
null
templates/void_t.cpp
IgorHersht/proxygen_ih
616a8eb899196d2a130e14c0fabcae1944e34b7d
[ "MIT" ]
null
null
null
#include <vector> #include <list> #include <set> #include <map> #include <unordered_map> #include <unordered_set> #include <deque> #include <forward_list> #include <iostream> #include <type_traits> template<typename T, typename U = void> struct is_map : std::false_type {}; template<typename T> struct ...
24.434783
96
0.645018
[ "vector" ]
d7720a20ffd9d2a9a099bcc0e04243b973296159
3,207
cpp
C++
Sandbox/src/Example/ExampleLayer.cpp
Naheuldark/PepperMint
63d4133fec0d0d5f2709d235d68f7d90e355fdd5
[ "MIT" ]
2
2020-12-07T11:10:44.000Z
2021-09-23T16:09:12.000Z
Sandbox/src/Example/ExampleLayer.cpp
Naheuldark/PepperMint
63d4133fec0d0d5f2709d235d68f7d90e355fdd5
[ "MIT" ]
null
null
null
Sandbox/src/Example/ExampleLayer.cpp
Naheuldark/PepperMint
63d4133fec0d0d5f2709d235d68f7d90e355fdd5
[ "MIT" ]
null
null
null
#include "ExampleLayer.h" #include <imgui/imgui.h> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> ExampleLayer::ExampleLayer() : Layer("Example"), _cameraController(1280.0f / 720.0f, true) { //////////// // Square // //////////// _squareVA = PepperMint::VertexArray::Create()...
32.393939
99
0.628313
[ "render", "transform" ]
d775fe1be673845f4f2e9e93a1239a319cf5a363
1,182
cc
C++
components/site_isolation/preloaded_isolated_origins.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/site_isolation/preloaded_isolated_origins.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/site_isolation/preloaded_isolated_origins.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 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 "components/site_isolation/preloaded_isolated_origins.h" #include "components/site_isolation/buildflags.h" #include "content/public/browser/site...
33.771429
78
0.780034
[ "vector" ]
d7851dcc51ccb8d5f07b802b48fbb104c13ef58d
33,213
cpp
C++
src/dynode.cpp
SvenKercher/dd4
fe5bc7954ce5b9ebf093cec0e0788446bbb5878b
[ "MIT" ]
1
2018-08-18T04:13:14.000Z
2018-08-18T04:13:14.000Z
src/dynode.cpp
SvenKercher/dd4
fe5bc7954ce5b9ebf093cec0e0788446bbb5878b
[ "MIT" ]
null
null
null
src/dynode.cpp
SvenKercher/dd4
fe5bc7954ce5b9ebf093cec0e0788446bbb5878b
[ "MIT" ]
null
null
null
// Copyright (c) 2016-2018 Duality Blockchain Solutions Developers // Copyright (c) 2014-2017 The Dash Core Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "dynode.h" #include "activedynode.h" #include "...
38.936694
271
0.675278
[ "vector" ]
d78e18a356fcebb90ad3b57a0993a7c52e640405
52,235
cpp
C++
3rdparty/meshlab-master/src/plugins_experimental/filter_multiscale_align/multiscale_align.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
null
null
null
3rdparty/meshlab-master/src/plugins_experimental/filter_multiscale_align/multiscale_align.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
null
null
null
3rdparty/meshlab-master/src/plugins_experimental/filter_multiscale_align/multiscale_align.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
null
null
null
//#define _DEBUG_GLS //#define DEBUG_SINGLE_POINT #include "multiscale_align.h" #include <vcg/complex/algorithms/point_sampling.h> #include <vcg/complex/algorithms/create/resampler.h> //#include <vcg/space/index/kdtree/kdtree.h> #include <iostream> #include <stdlib.h> #include <time.h> #include <fstream> #include "...
36.70766
224
0.592955
[ "mesh", "vector", "model" ]
d7a1c9591d3835062d714f47a526e5b07dcf4894
1,555
cc
C++
hbase/src/model/DescribeSecurityGroupsResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
hbase/src/model/DescribeSecurityGroupsResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
hbase/src/model/DescribeSecurityGroupsResult.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...
29.339623
88
0.771704
[ "vector", "model" ]
d7a73d75c9d9dc49c5a574c46b5ab45fd7fa2aeb
22,606
cc
C++
src/x64/deoptimizer-x64.cc
FurkanOM/v8
3b92806ab995ec32ee0968b61af400e99d52fbca
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
1
2022-03-29T18:30:29.000Z
2022-03-29T18:30:29.000Z
src/x64/deoptimizer-x64.cc
FurkanOM/v8
3b92806ab995ec32ee0968b61af400e99d52fbca
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
src/x64/deoptimizer-x64.cc
FurkanOM/v8
3b92806ab995ec32ee0968b61af400e99d52fbca
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
// Copyright 2012 the V8 project authors. 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 ...
36.520194
80
0.685791
[ "object" ]
92e937a0eb6ef2dfa8a37d721a6a86a182271a45
2,905
cc
C++
src/ufo/filters/MetOfficeBuddyCollector.cc
rnt20/ufo
68dab85486f5d79991956076ac6b962bc1a0c5bd
[ "Apache-2.0" ]
4
2020-12-04T08:26:06.000Z
2021-11-20T01:18:47.000Z
src/ufo/filters/MetOfficeBuddyCollector.cc
rnt20/ufo
68dab85486f5d79991956076ac6b962bc1a0c5bd
[ "Apache-2.0" ]
21
2020-10-30T08:57:16.000Z
2021-05-17T15:11:20.000Z
src/ufo/filters/MetOfficeBuddyCollector.cc
rnt20/ufo
68dab85486f5d79991956076ac6b962bc1a0c5bd
[ "Apache-2.0" ]
31
2021-06-24T18:07:53.000Z
2021-10-08T15:40:39.000Z
/* * (C) Copyright 2020 Met Office UK * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ #include "ufo/filters/MetOfficeBuddyCollector.h" #include <algorithm> #include <cmath> #include "oops/util/sqr.h" #inclu...
40.347222
96
0.581411
[ "vector" ]
92f1acf3caeaf7bc52be3ca9e57dfc3ea779299a
1,891
cpp
C++
examples/objects/C++/book.cpp
davidli3100/ICS4U
b12f3ee88b475b5da1866bef179da4e9ff7bd2d2
[ "MIT" ]
21
2015-04-26T03:03:46.000Z
2019-08-24T20:10:36.000Z
ICS4U/ICS4U-2020-2021/Code/examples/objects/C++/book.cpp
mrseidel-classes/archives
b3e04fd4338e3b3796ad2c681a10fbca69e1dae2
[ "MIT" ]
19
2016-09-14T12:34:22.000Z
2019-09-02T15:51:21.000Z
ICS4U/ICS4U-2020-2021/Code/examples/objects/C++/book.cpp
mrseidel-classes/archives
b3e04fd4338e3b3796ad2c681a10fbca69e1dae2
[ "MIT" ]
24
2015-05-27T04:17:30.000Z
2019-02-23T23:03:46.000Z
/** * A Object holding the price, author, and title of a book * * @author Mr. Seidel * @since 23-Sep-2018 * @version 1.0 * * Updated 13-Apr-20: * - "printX" methods * + "getX" methods * + updated main() function */ class Book { private: string author, title; double price; pu...
19.905263
75
0.656795
[ "object" ]
92f3590102b57ba99cd396a502802bd6a170aad0
10,165
cpp
C++
3rdParty/openal/core/uhjfilter.cpp
mewbak/devilutionX
c8ba49e2bf9bcf5bb6fd47b1b7ce3d0370d1524c
[ "Unlicense" ]
417
2020-06-01T15:55:15.000Z
2022-03-31T12:50:51.000Z
Engine/lib/openal-soft/core/uhjfilter.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
186
2020-06-02T19:12:39.000Z
2022-02-15T02:22:27.000Z
Engine/lib/openal-soft/core/uhjfilter.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
84
2020-06-01T15:54:44.000Z
2022-03-24T13:52:59.000Z
#include "config.h" #include "uhjfilter.h" #ifdef HAVE_SSE_INTRINSICS #include <xmmintrin.h> #elif defined(HAVE_NEON) #include <arm_neon.h> #endif #include <algorithm> #include <iterator> #include "alcomplex.h" #include "alnumeric.h" #include "opthelpers.h" namespace { using complex_d = std::complex<double>; s...
36.82971
92
0.593015
[ "transform" ]
92f889a3f615e56d46b29c304acc409213c62db7
454
hpp
C++
contributors/kirill_tolstobrov/graph_path.hpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
1
2022-02-07T15:52:51.000Z
2022-02-07T15:52:51.000Z
contributors/kirill_tolstobrov/graph_path.hpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
null
null
null
contributors/kirill_tolstobrov/graph_path.hpp
AxoyTO/TheGraph
4ced7206847f5bb22bd25a48ff09247c5b1218ef
[ "MIT" ]
2
2022-02-07T15:53:00.000Z
2022-02-12T13:31:36.000Z
#pragma once #include <vector> #include "graph.hpp" namespace uni_cpp_practice { struct GraphPath { using Distance = int; explicit GraphPath(const std::vector<VertexId>& init_vertex_ids) : vertex_ids(init_vertex_ids) {} Distance distance() const { return vertex_ids.size() - 1; }; std::vector<Vertex...
18.916667
69
0.718062
[ "vector" ]
92fbff146d4e32362a4c2701dc74d20084ced4f5
1,653
cpp
C++
aws-cpp-sdk-wafv2/source/model/GeoMatchStatement.cpp
neil-b/aws-sdk-cpp
1602b75abbca880b770c12788f6d2bac0c87176a
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-wafv2/source/model/GeoMatchStatement.cpp
neil-b/aws-sdk-cpp
1602b75abbca880b770c12788f6d2bac0c87176a
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-wafv2/source/model/GeoMatchStatement.cpp
neil-b/aws-sdk-cpp
1602b75abbca880b770c12788f6d2bac0c87176a
[ "Apache-2.0" ]
null
null
null
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/wafv2/model/GeoMatchStatement.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { names...
24.308824
131
0.758016
[ "model" ]
92feb57fde6e268c26ca50a49913afda718fd8cb
2,862
cpp
C++
mparse/src/error_handling.cpp
nmraz/mparse
77dbdd349746eb33265c0d1254c5402c65c59a6a
[ "MIT" ]
null
null
null
mparse/src/error_handling.cpp
nmraz/mparse
77dbdd349746eb33265c0d1254c5402c65c59a6a
[ "MIT" ]
null
null
null
mparse/src/error_handling.cpp
nmraz/mparse
77dbdd349746eb33265c0d1254c5402c65c59a6a
[ "MIT" ]
null
null
null
#include "error_handling.h" #include "diagnostics.h" #include "mparse/ast.h" #include <iostream> #include <sstream> using namespace std::literals; namespace { void print_math_error(std::string_view msg) { print_error("Math", msg); } void print_syntax_error(std::string_view msg) { print_error("Syntax", msg); } ...
26.5
80
0.646401
[ "vector" ]
1300d322001008b9568816b9b9d99a0e8ce2fe1b
7,426
hpp
C++
external/mapnik/include/mapnik/feature.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/include/mapnik/feature.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/include/mapnik/feature.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
26.616487
86
0.599111
[ "geometry", "vector" ]
130467090ce089d1b4063d44a67748b12e8d427b
5,572
cpp
C++
objs__gun_port.cpp
poikilos/golgotha
d3184dea6b061f853423e0666dba23218042e5ba
[ "CC0-1.0" ]
5
2015-12-09T20:37:49.000Z
2021-08-10T08:06:29.000Z
objs__gun_port.cpp
poikilos/golgotha
d3184dea6b061f853423e0666dba23218042e5ba
[ "CC0-1.0" ]
13
2021-09-20T16:25:30.000Z
2022-03-17T04:59:40.000Z
objs__gun_port.cpp
poikilos/golgotha
d3184dea6b061f853423e0666dba23218042e5ba
[ "CC0-1.0" ]
5
2016-01-04T22:54:22.000Z
2021-09-20T16:09:03.000Z
#include "pch.h" /********************************************************************** Golgotha Forever - A portable, free 3D strategy and FPS game. Copyright (C) 1999 Golgotha Forever Developers Sources contained in this distribution were derived from Crack Dot Com's public release of Golg...
25.677419
88
0.653984
[ "3d" ]
13079fed1fd529e6ce522858564dfe6855d8979f
1,982
cpp
C++
test/fibonaccisearch.cpp
nowtechnologies/cpp-qspi-flash-driver
4520b8ad15cfe67d525529c3142d6963107b3efb
[ "MIT" ]
1
2021-03-12T01:59:41.000Z
2021-03-12T01:59:41.000Z
test/fibonaccisearch.cpp
nowtechnologies/cpp-qspi-flash-driver
4520b8ad15cfe67d525529c3142d6963107b3efb
[ "MIT" ]
null
null
null
test/fibonaccisearch.cpp
nowtechnologies/cpp-qspi-flash-driver
4520b8ad15cfe67d525529c3142d6963107b3efb
[ "MIT" ]
1
2020-05-22T18:29:36.000Z
2020-05-22T18:29:36.000Z
#include<algorithm> #include<iostream> #include<numeric> #include<iomanip> #include<vector> #include<string> #include<limits> #include<cmath> int main(int argc, char **argv) { int ret; if(argc > 1) { std::string arg(argv[1]); int length = std::stoi(arg); int displacement = -1; int maxSoFar = std::n...
30.030303
149
0.493946
[ "vector" ]
130ac089d44cbc4b42a743118c7c948850a4c398
8,500
cpp
C++
example_manager/src/example_manager.cpp
ctu-mrs/example_ros_pluginlib
b566f9b9cef82f1f69508fd45b59e63c8a27b817
[ "BSD-3-Clause" ]
null
null
null
example_manager/src/example_manager.cpp
ctu-mrs/example_ros_pluginlib
b566f9b9cef82f1f69508fd45b59e63c8a27b817
[ "BSD-3-Clause" ]
null
null
null
example_manager/src/example_manager.cpp
ctu-mrs/example_ros_pluginlib
b566f9b9cef82f1f69508fd45b59e63c8a27b817
[ "BSD-3-Clause" ]
null
null
null
#include <ros/ros.h> #include <nodelet/nodelet.h> #include <example_manager/plugin_interface.h> #include <mrs_lib/param_loader.h> #include <mrs_lib/mutex.h> #include <pluginlib/class_loader.h> namespace example_manager { /* //{ class ExampleManager */ /* class PluginParams() //{ */ class PluginParams { public: ...
31.135531
154
0.587647
[ "object", "vector" ]
130dfa28d7f1e987cf1914b0505514a3d1811dd5
912
cpp
C++
30 Days of Code/Day 21 Generics.cpp
ersincebi/hackerrank
9475c8e88e9071544c10a939fe7307c8e62fe3a0
[ "MIT" ]
null
null
null
30 Days of Code/Day 21 Generics.cpp
ersincebi/hackerrank
9475c8e88e9071544c10a939fe7307c8e62fe3a0
[ "MIT" ]
null
null
null
30 Days of Code/Day 21 Generics.cpp
ersincebi/hackerrank
9475c8e88e9071544c10a939fe7307c8e62fe3a0
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> using namespace std; /** * Name: printArray * Print each element of the generic vector on a new line. Do not return anything. * @param A generic vector **/ // Write your code here template <class T> void printArray(vector<T> int_vector){ for(int i=...
19
84
0.601974
[ "vector" ]
13115f940f276500a7b12d2a8b0bd1e8a1104316
107,573
cc
C++
third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/scheduler/base/task_queue_manager_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 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 "platform/scheduler/base/task_queue_manager.h" #include <stddef.h> #include <utility> #include "base/location.h" #include "base/memory/ptr_uti...
36.840068
80
0.717782
[ "object", "vector" ]
1311f1bb14292303abc42c307cb2ce9f27b0b591
861
hpp
C++
src/world.hpp
qkniep/Simetra
734292ff3d48afd83f811501d8da39f5bb0d3623
[ "MIT" ]
2
2021-01-07T15:30:36.000Z
2021-06-13T21:47:46.000Z
src/world.hpp
qkniep/Simetra
734292ff3d48afd83f811501d8da39f5bb0d3623
[ "MIT" ]
null
null
null
src/world.hpp
qkniep/Simetra
734292ff3d48afd83f811501d8da39f5bb0d3623
[ "MIT" ]
null
null
null
#ifndef WORLD_HPP #define WORLD_HPP #include <vector> #include <GL/glew.h> #include <glm/glm.hpp> #include "FastNoise/FastNoise.h" #include "chunk.hpp" struct vertex { GLfloat x, y, z; GLfloat r, g, b; GLfloat nx, ny, nz; }; class World { int seed; std::vector<Chunk*> allChunks; unsigned int deleteIndex; u...
17.22
65
0.708479
[ "render", "vector" ]
1312747d03195e07dbfa3c67fc3574a18f4a8231
67,272
hpp
C++
sycl/include/sycl/ext/intel/experimental/esimd/memory.hpp
MikeDvorskiy/llvm
8213321ebb90110bf4f3d04fa0dc8e131a464a19
[ "Apache-2.0" ]
null
null
null
sycl/include/sycl/ext/intel/experimental/esimd/memory.hpp
MikeDvorskiy/llvm
8213321ebb90110bf4f3d04fa0dc8e131a464a19
[ "Apache-2.0" ]
null
null
null
sycl/include/sycl/ext/intel/experimental/esimd/memory.hpp
MikeDvorskiy/llvm
8213321ebb90110bf4f3d04fa0dc8e131a464a19
[ "Apache-2.0" ]
null
null
null
//==-------------- memory.hpp - DPC++ Explicit SIMD API --------------------==// // // 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 // //===---------------------------...
43.123077
80
0.65583
[ "object", "vector" ]
13129aa45affdd81abef89c1f9efdea06c82c65d
13,865
cpp
C++
nGram.cpp
vlee489/AC21008-Assignment-3
054327a5720efc3cdeb19111917860c92e75dab5
[ "MIT" ]
null
null
null
nGram.cpp
vlee489/AC21008-Assignment-3
054327a5720efc3cdeb19111917860c92e75dab5
[ "MIT" ]
null
null
null
nGram.cpp
vlee489/AC21008-Assignment-3
054327a5720efc3cdeb19111917860c92e75dab5
[ "MIT" ]
null
null
null
// // Created by Vincent Lee on 15/11/2019. // #include <iostream> #include <string> #include <fstream> #include <list> #include <vector> #include <sstream> #include "HashTable.h" using namespace std; typedef HashTable<string, int> HTSI; HTSI hashTable; /** * This is a more effiecent version of the print code * 8...
29.006276
116
0.504364
[ "vector" ]
131c6fd743de798ac784c9b493a66f32a7769af3
2,971
hpp
C++
video_e2e_sample/include/kuhn_munkres.hpp
intel-iot-devkit/concurrent-video-analytic-pipeline-optimzation-sample
38622b7b48e5414e14f0149ee280d5f9ecbe1ba8
[ "BSD-3-Clause" ]
38
2020-03-18T08:15:19.000Z
2022-03-02T17:32:05.000Z
video_e2e_sample/include/kuhn_munkres.hpp
intel-iot-devkit/concurrent-video-analytic-pipeline-optimzation-sample
38622b7b48e5414e14f0149ee280d5f9ecbe1ba8
[ "BSD-3-Clause" ]
7
2020-04-21T09:28:33.000Z
2022-02-23T01:11:34.000Z
video_e2e_sample/include/kuhn_munkres.hpp
intel-iot-devkit/concurrent-video-analytic-pipeline-optimzation-sample
38622b7b48e5414e14f0149ee280d5f9ecbe1ba8
[ "BSD-3-Clause" ]
9
2020-11-02T03:49:40.000Z
2021-11-24T08:36:38.000Z
// Copyright (C) 2018-2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 /******************************************************************************\ Copyright (c) 2005-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, are perm...
42.442857
755
0.709525
[ "vector" ]
1332d5a46178cafe167fb80bb00a215778986ac2
73,794
cpp
C++
PrototypeEngine/src/opengl/PrototypeOpenglRenderer.cpp
o-micron/Prototype
5b9d60d9dd80e7c8a1a2b0aaf19c2d90c1814139
[ "Apache-2.0" ]
2
2021-08-19T17:15:49.000Z
2021-12-28T22:48:47.000Z
PrototypeEngine/src/opengl/PrototypeOpenglRenderer.cpp
o-micron/Prototype
5b9d60d9dd80e7c8a1a2b0aaf19c2d90c1814139
[ "Apache-2.0" ]
null
null
null
PrototypeEngine/src/opengl/PrototypeOpenglRenderer.cpp
o-micron/Prototype
5b9d60d9dd80e7c8a1a2b0aaf19c2d90c1814139
[ "Apache-2.0" ]
null
null
null
/// Copyright 2021 Omar Sherif Fathy /// /// 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 applicab...
49.196
131
0.583706
[ "mesh", "geometry", "render", "object", "vector", "model", "transform" ]
1339c39f3f28e31bd08fd89d589a96ea9e24c329
8,678
cpp
C++
Marlin/src/lcd/extui/anycubic_chiron/FileNavigator.cpp
violigon/3DPrinter-DE2LV
5c8960f07085cc11d232a52cb029aa92533287bd
[ "MIT" ]
null
null
null
Marlin/src/lcd/extui/anycubic_chiron/FileNavigator.cpp
violigon/3DPrinter-DE2LV
5c8960f07085cc11d232a52cb029aa92533287bd
[ "MIT" ]
null
null
null
Marlin/src/lcd/extui/anycubic_chiron/FileNavigator.cpp
violigon/3DPrinter-DE2LV
5c8960f07085cc11d232a52cb029aa92533287bd
[ "MIT" ]
null
null
null
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
33.505792
127
0.651302
[ "3d" ]
133c7678dd2d69b3beb382f6a97c825ccf3af177
850
cpp
C++
util.cpp
xpspectre/distance
3fb31f5e8703ea9ee1a1ae2c2d891376a4762364
[ "MIT" ]
null
null
null
util.cpp
xpspectre/distance
3fb31f5e8703ea9ee1a1ae2c2d891376a4762364
[ "MIT" ]
null
null
null
util.cpp
xpspectre/distance
3fb31f5e8703ea9ee1a1ae2c2d891376a4762364
[ "MIT" ]
null
null
null
#include "util.h" #include <random> #include <algorithm> using std::string; using std::vector; using std::size_t; string random_str(size_t n) { // Generate random string // TODO: also make it have a random length, more efficient initialization of the RNG const static string chars = "abcdefghijklmnaoqrstuv...
29.310345
97
0.676471
[ "vector" ]
133c841da3536333b60bdeb4c998fa001e7f5765
4,896
cpp
C++
0_driver/variant/variant_topic_tools/src/Message.cpp
huying163/ros_environment
bac3343bf92e6fa2bd852baf261e80712564f990
[ "MIT" ]
8
2018-01-30T11:40:31.000Z
2021-05-03T05:52:47.000Z
0_driver/variant/variant_topic_tools/src/Message.cpp
huying163/ros_environment
bac3343bf92e6fa2bd852baf261e80712564f990
[ "MIT" ]
null
null
null
0_driver/variant/variant_topic_tools/src/Message.cpp
huying163/ros_environment
bac3343bf92e6fa2bd852baf261e80712564f990
[ "MIT" ]
1
2020-12-23T08:14:57.000Z
2020-12-23T08:14:57.000Z
/****************************************************************************** * Copyright (C) 2014 by Ralf Kaestner * * ralf.kaestner@gmail.com * * * ...
34
80
0.537173
[ "vector" ]
13438f836e5026b9c777c27232aa7639bcbe2c4d
18,710
cpp
C++
src/EnergyEfficientAgent.cpp
alawibaba/geopm
dc5dd54cf260b0b51d517bb50d1ba5db9e013c71
[ "BSD-3-Clause" ]
null
null
null
src/EnergyEfficientAgent.cpp
alawibaba/geopm
dc5dd54cf260b0b51d517bb50d1ba5db9e013c71
[ "BSD-3-Clause" ]
null
null
null
src/EnergyEfficientAgent.cpp
alawibaba/geopm
dc5dd54cf260b0b51d517bb50d1ba5db9e013c71
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015, 2016, 2017, 2018, Intel Corporation * * 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 o...
39.306723
138
0.569268
[ "vector" ]
134550203e4145d28143ef9f18baa55536cdeffa
5,568
hpp
C++
include/chemfiles/Topology.hpp
jjzhang166/chemfiles
8b5ca75ef5af9cd4499aaf79a78e0cbc6e83429a
[ "BSD-3-Clause" ]
null
null
null
include/chemfiles/Topology.hpp
jjzhang166/chemfiles
8b5ca75ef5af9cd4499aaf79a78e0cbc6e83429a
[ "BSD-3-Clause" ]
null
null
null
include/chemfiles/Topology.hpp
jjzhang166/chemfiles
8b5ca75ef5af9cd4499aaf79a78e0cbc6e83429a
[ "BSD-3-Clause" ]
null
null
null
// Chemfiles, a modern library for chemistry file reading and writing // Copyright (C) Guillaume Fraux and contributors -- BSD license #ifndef CHEMFILES_TOPOLOGY_HPP #define CHEMFILES_TOPOLOGY_HPP #include <vector> #include <unordered_map> #include "chemfiles/Atom.hpp" #include "chemfiles/Connectivity.hpp" #include ...
35.240506
79
0.649246
[ "vector" ]
1346a4cc04eb552ce49cf85003723b98bdae000c
2,107
cpp
C++
examples/hello-triangle/binary_triangle_two_vbo.cpp
cjdb/doge
421e1dce86df0eb73a6907408e93d0982adf057d
[ "Apache-2.0" ]
6
2017-10-13T23:01:29.000Z
2019-07-05T16:04:51.000Z
examples/hello-triangle/binary_triangle_two_vbo.cpp
cjdb/doge
421e1dce86df0eb73a6907408e93d0982adf057d
[ "Apache-2.0" ]
46
2018-02-05T21:54:11.000Z
2018-03-12T10:00:08.000Z
examples/hello-triangle/binary_triangle_two_vbo.cpp
cjdb/doge
421e1dce86df0eb73a6907408e93d0982adf057d
[ "Apache-2.0" ]
3
2018-02-07T14:15:51.000Z
2018-03-01T11:40:54.000Z
// // Copyright 2017 Christopher Di Bella // // 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.540984
99
0.639298
[ "vector" ]
134936b5f655418d4f7f725f338edf81194ad377
4,799
cpp
C++
VGP332/HelloSteering/Interceptor.cpp
CyroPCJr/OmegaEngine
65fbd6cff54266a9c934e3a875a4493d26758661
[ "MIT" ]
1
2021-04-23T19:18:12.000Z
2021-04-23T19:18:12.000Z
VGP332/HelloSteering/Interceptor.cpp
CyroPCJr/OmegaEngine
65fbd6cff54266a9c934e3a875a4493d26758661
[ "MIT" ]
null
null
null
VGP332/HelloSteering/Interceptor.cpp
CyroPCJr/OmegaEngine
65fbd6cff54266a9c934e3a875a4493d26758661
[ "MIT" ]
1
2021-06-15T10:42:08.000Z
2021-06-15T10:42:08.000Z
#include "Interceptor.h" #include "UnitType.h" using namespace Steering; using namespace Omega; using namespace Omega::Graphics; using namespace Omega::Math; using namespace Omega::AI; namespace { float width = 0.0f; float height = 0.0f; } Interceptor::Interceptor(AIWorld& world) noexcept : Agent(...
31.162338
90
0.715982
[ "render" ]
134c3dba973a6366c4073dd461443a66e59399a5
10,655
cpp
C++
apps/rand_forest/src/rand_forest_engine.cpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
null
null
null
apps/rand_forest/src/rand_forest_engine.cpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
null
null
null
apps/rand_forest/src/rand_forest_engine.cpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
null
null
null
// Author: Jiesi Zhao (jiesizhao0423@gmail.com), Wei Dai (wdai@cs.cmu.edu) // Date: 2014.11.6 #include "common.hpp" #include "decision_tree.hpp" #include "rand_forest.hpp" #include "rand_forest_engine.hpp" #include <ml/include/ml.hpp> #include <vector> #include <cstdint> #include <atomic> #include <cmath> #include <io...
33.825397
81
0.686157
[ "vector" ]
134f1034870c9cd442257e2051d68458fcce16de
22,027
cpp
C++
libs/scripting/lua/cocos2dx_support/CCLuaEngine.cpp
qq2588258/floweers
c7f117f29dee21473821b89ff9b18058f7ebdadf
[ "MIT" ]
17
2015-01-09T07:34:32.000Z
2021-06-25T02:50:03.000Z
libs/scripting/lua/cocos2dx_support/CCLuaEngine.cpp
qq2588258/floweers
c7f117f29dee21473821b89ff9b18058f7ebdadf
[ "MIT" ]
null
null
null
libs/scripting/lua/cocos2dx_support/CCLuaEngine.cpp
qq2588258/floweers
c7f117f29dee21473821b89ff9b18058f7ebdadf
[ "MIT" ]
4
2015-01-24T02:48:46.000Z
2020-07-02T06:29:06.000Z
/**************************************************************************** Copyright (c) 2011 cocos2d-x.org http://www.cocos2d-x.org 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 withou...
28.312339
151
0.638444
[ "object" ]
134fb1e17b280fd7cfdd5ac095689923d8df0c24
2,687
hh
C++
nlp/prototype/matrix.hh
leaveschen/nlp-lite
3896fbf7d024cf66f4c39a18e1101caaf574066b
[ "MIT" ]
null
null
null
nlp/prototype/matrix.hh
leaveschen/nlp-lite
3896fbf7d024cf66f4c39a18e1101caaf574066b
[ "MIT" ]
null
null
null
nlp/prototype/matrix.hh
leaveschen/nlp-lite
3896fbf7d024cf66f4c39a18e1101caaf574066b
[ "MIT" ]
null
null
null
// // Created by c on 29/11/2018 12:08 // #ifndef NLP_PROTOTYPE_MATRIX_HH #define NLP_PROTOTYPE_MATRIX_HH /* include section */ #include <memory> #include <cassert> /* class & function section */ namespace nlp { namespace prototype { /* basic class for matrix */ template<class Derived> class MatBase { protected:...
21.845528
97
0.668403
[ "object", "vector" ]
135029c3a3194ed43c8f85735d59549942a04fbb
1,365
cpp
C++
src/resreq.cpp
fsaadatmand/ResReq
b1a6793dff1e186bd8d7a29578eefaaf2e061c08
[ "BSD-2-Clause" ]
null
null
null
src/resreq.cpp
fsaadatmand/ResReq
b1a6793dff1e186bd8d7a29578eefaaf2e061c08
[ "BSD-2-Clause" ]
null
null
null
src/resreq.cpp
fsaadatmand/ResReq
b1a6793dff1e186bd8d7a29578eefaaf2e061c08
[ "BSD-2-Clause" ]
null
null
null
#include "resreq.h" #include "Absence.h" #include <boost/date_time/gregorian/greg_duration.hpp> #include <boost/date_time/gregorian/gregorian.hpp> #include <boost/date_time/gregorian/parsers.hpp> #include <iostream> #include <map> #include <sstream> #include <stdexcept> #include <string> #include <vector> int main(int...
27.857143
67
0.695971
[ "vector" ]
1351bd92cf583c8514b59273eb1ce6734a1cf844
4,302
cpp
C++
src/tests/functional/plugin/cpu/single_layer_tests/log_softmax.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
1
2019-09-22T01:05:07.000Z
2019-09-22T01:05:07.000Z
src/tests/functional/plugin/cpu/single_layer_tests/log_softmax.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
58
2020-11-06T12:13:45.000Z
2022-03-28T13:20:11.000Z
src/tests/functional/plugin/cpu/single_layer_tests/log_softmax.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
4
2021-09-29T20:44:49.000Z
2021-10-20T13:02:12.000Z
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "test_utils/cpu_test_utils.hpp" #include "ngraph_functions/builders.hpp" #include "shared_test_classes/base/ov_subgraph.hpp" using namespace ngraph; using namespace InferenceEngine; using namespace CPUTestUtils; using namespace...
33.874016
132
0.613203
[ "shape", "vector" ]
1356cc69aad7b5d2a9fafc814bf644754087f9f8
2,279
cpp
C++
socket_practice_Basic/chatroom/sockets_server_with_multiple_clients(chatroom)/serverMain.cpp
13thFinance/C-Plus-Plus-Practice
955deb9035fbf0fe20eee2be3ceafe5d516d0702
[ "MIT" ]
null
null
null
socket_practice_Basic/chatroom/sockets_server_with_multiple_clients(chatroom)/serverMain.cpp
13thFinance/C-Plus-Plus-Practice
955deb9035fbf0fe20eee2be3ceafe5d516d0702
[ "MIT" ]
null
null
null
socket_practice_Basic/chatroom/sockets_server_with_multiple_clients(chatroom)/serverMain.cpp
13thFinance/C-Plus-Plus-Practice
955deb9035fbf0fe20eee2be3ceafe5d516d0702
[ "MIT" ]
null
null
null
//server #define _WINSOCK_DEPRECATED_NO_WARNINGS #pragma comment(lib, "ws2_32.lib") #include <WinSock2.h> #include <iostream> #include <vector> using namespace std; vector<SOCKET> connections; void clientHandlerThread(int client) { char buffer[256]; while (true) { recv(connections[client], buf...
29.217949
140
0.677051
[ "vector" ]
135726eb993d85193dadbba7b7b93b20c67a9eff
44,228
cpp
C++
test/test_log.cpp
fengzhongye/braft
51863ee36d2165e03c224fcdb29db9dbe8cc41ab
[ "Apache-2.0" ]
1,844
2017-09-20T06:35:49.000Z
2019-12-09T12:30:42.000Z
test/test_log.cpp
fengzhongye/braft
51863ee36d2165e03c224fcdb29db9dbe8cc41ab
[ "Apache-2.0" ]
146
2019-12-11T06:48:10.000Z
2022-03-14T04:08:42.000Z
test/test_log.cpp
fengzhongye/braft
51863ee36d2165e03c224fcdb29db9dbe8cc41ab
[ "Apache-2.0" ]
440
2017-09-20T16:49:40.000Z
2019-12-09T08:42:03.000Z
// libraft - Quorum-based replication of states across machines. // Copyright (c) 2015 Baidu.com, Inc. All Rights Reserved // Author: WangYao (fisherman), wangyao02@baidu.com // Date: 2015/10/08 17:00:05 #include <gtest/gtest.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <butil/atomicops...
34.445483
93
0.589333
[ "vector" ]
135c345011dc3b996e33035b95ac72e9c4ddb740
47,952
cxx
C++
admin/netui/common/src/blt/blt/bltlc.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/common/src/blt/blt/bltlc.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/common/src/blt/blt/bltlc.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corp., 1991 **/ /**********************************************************************/ /* bltlc.cxx ...
29.636588
94
0.489823
[ "object" ]
13626056460b14203bd988fb138c0ead1002377c
1,781
cpp
C++
edu/sqlite/main.cpp
alexeyz041/toolbox
dbb6efff6eb0bcf56fe5b29a0a98d86b5971ddbc
[ "CC0-1.0" ]
1
2022-02-17T22:23:59.000Z
2022-02-17T22:23:59.000Z
edu/sqlite/main.cpp
alexeyz041/toolbox
dbb6efff6eb0bcf56fe5b29a0a98d86b5971ddbc
[ "CC0-1.0" ]
null
null
null
edu/sqlite/main.cpp
alexeyz041/toolbox
dbb6efff6eb0bcf56fe5b29a0a98d86b5971ddbc
[ "CC0-1.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <iostream> #include <fstream> #include <string> #include <vector> #include <sqlite3.h> void save_file(std::string fnm, std::vector<uint8_t> &d) { size_t start = 0; size_t len = d.size(); if(d.size() < 0x26) { printf("%s size too small %ld\n", fnm.c_s...
24.736111
88
0.544638
[ "vector" ]
13682f8e3c45302bfbfc8ed6f9be0673920fc339
1,896
cpp
C++
BOJ_solve/18260.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/18260.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
BOJ_solve/18260.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 1e16; const long long ...
21.066667
62
0.564346
[ "vector" ]
136bf62e76a372ae30621ffc1bdd59e8a384bd8c
732
cpp
C++
basic/dp/iterator/iterator.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
basic/dp/iterator/iterator.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
basic/dp/iterator/iterator.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "aggregate.h" #include "iterator.h" using namespace std; Iterator::Iterator() //定义抽象迭代器的构造函数 { } Iterator::~Iterator() //定义抽象迭代器的析构函数 { } //定义具体迭代器类的构造函数,首参数表示对哪个聚合类型数据进行迭代,第二个参数表示从哪里开始迭代 ConcreteIterator::ConcreteIterator(Aggregate *ag, int idx) { m_ag = ag; m_idx = idx; } Concret...
17.853659
58
0.709016
[ "object" ]
136e4aaab2103d075ddf2b985663ff8e2e2d9621
14,688
cc
C++
utils/kinect_utils.cc
AkillesAILimited/Sensor-Stream-Pipe
9c8671ad5d5e5fdfd43f4d835fa89c36d4de8a6e
[ "MIT" ]
52
2019-12-05T18:00:46.000Z
2022-03-24T04:21:01.000Z
utils/kinect_utils.cc
AkillesAILimited/Sensor-Stream-Pipe
9c8671ad5d5e5fdfd43f4d835fa89c36d4de8a6e
[ "MIT" ]
7
2020-03-24T22:28:08.000Z
2022-02-25T14:28:02.000Z
utils/kinect_utils.cc
AkillesAILimited/Sensor-Stream-Pipe
9c8671ad5d5e5fdfd43f4d835fa89c36d4de8a6e
[ "MIT" ]
10
2020-04-04T00:08:33.000Z
2022-02-25T01:34:12.000Z
/** * \file kinect_utils.cc @brief Utils for Kinect RT integration */ // Created by amourao on 02/09/19. #include "kinect_utils.h" namespace moetsi::ssp { ExtendedAzureConfig BuildKinectConfigFromYAML(YAML::Node config) { ExtendedAzureConfig extended_azure_config; k4a_device_configuration_t device_config = K4A_...
43.844776
98
0.671092
[ "vector" ]
1371d78613eadc14812859b49e18cd1e48c68db5
1,272
cpp
C++
atcoder/arc076e.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
atcoder/arc076e.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
atcoder/arc076e.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // after some drawing, note only both end on board matter. // transform board to a straight line, then each seg must not intersect(can contain). stack maintain. void solve() { int R,C; cin >> R >> C; auto on_board = [&](int x, int y){ return x==0 || x...
24.461538
101
0.466195
[ "vector", "transform" ]
1377e1dc516024908602eeb26bb8976643f389ab
6,443
hpp
C++
include/SSVOpenHexagon/Core/MenuGame.hpp
MultHub/SSVOpenHexagon
bb27b4cd382fd1d2ba042c8da1685e629b57d503
[ "AFL-3.0" ]
null
null
null
include/SSVOpenHexagon/Core/MenuGame.hpp
MultHub/SSVOpenHexagon
bb27b4cd382fd1d2ba042c8da1685e629b57d503
[ "AFL-3.0" ]
null
null
null
include/SSVOpenHexagon/Core/MenuGame.hpp
MultHub/SSVOpenHexagon
bb27b4cd382fd1d2ba042c8da1685e629b57d503
[ "AFL-3.0" ]
null
null
null
// Copyright (c) 2013-2015 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 #ifndef HG_MENUGAME #define HG_MENUGAME #include "SSVOpenHexagon/Global/Common.hpp" #include "SSVOpenHexagon/Data/LevelData.hpp" #include "SSVOpenHexagon/Data/StyleDat...
34.827027
79
0.566661
[ "render", "vector" ]
137b55090a338cbde5bc7f18f248324a9a03b2f8
8,093
hpp
C++
tiny_dnn/xtensor/xassign.hpp
onearrow/tiny_cnn_learn
121de29b4ed039bd03ab19640f54dd447773c361
[ "BSD-3-Clause" ]
3
2016-12-04T20:44:51.000Z
2020-12-07T22:28:48.000Z
tiny_dnn/xtensor/xassign.hpp
hainu2008/tiny-dnn
df2f5d023d99614be1f11caf21831f49bd8f5929
[ "BSD-3-Clause" ]
9
2016-07-28T20:51:13.000Z
2017-06-21T10:13:06.000Z
tiny_dnn/xtensor/xassign.hpp
hainu2008/tiny-dnn
df2f5d023d99614be1f11caf21831f49bd8f5929
[ "BSD-3-Clause" ]
5
2016-07-28T03:35:56.000Z
2020-02-14T20:56:54.000Z
/*************************************************************************** * Copyright (c) 2016, Johan Mabille, Sylvain Corlay and Wolf Vollprecht * * * * Distributed under the terms of the BSD 3-Clause License. * * ...
30.655303
99
0.557395
[ "shape", "transform" ]
137fb0a4cf3f823d8f1a04fef1f3bdad1ed4febf
34,293
cc
C++
src/xf.cc
cangyu/Fluent3DMeshReader
f5d8a02b586736e385acce7a50286cc2ad9c7816
[ "MIT" ]
1
2020-09-08T06:49:12.000Z
2020-09-08T06:49:12.000Z
src/xf.cc
cangyu/Fluent3DMeshReader
f5d8a02b586736e385acce7a50286cc2ad9c7816
[ "MIT" ]
null
null
null
src/xf.cc
cangyu/Fluent3DMeshReader
f5d8a02b586736e385acce7a50286cc2ad9c7816
[ "MIT" ]
null
null
null
#include "xf.h" /// Convert a boundary condition string literal to unified form within the scope of this code. /// Outcome will be composed of LOWER case letters and '-' only! static std::string formalize(const std::string& s) { std::string ret(s); std::transform(ret.begin(), ret.end(), ret.begin(), ::t...
36.953664
209
0.430671
[ "mesh", "geometry", "vector", "transform", "solid" ]
1380bcdf8c83d429647bdcf40b3a40164623822e
21,410
cpp
C++
src/team.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
12
2015-03-04T15:07:00.000Z
2019-09-13T16:31:06.000Z
src/team.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
null
null
null
src/team.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
5
2017-04-22T08:16:48.000Z
2020-07-12T03:35:16.000Z
/* $Id: team.cpp 49142 2011-04-09 20:25:18Z mordante $ */ /* Copyright (C) 2003 - 2011 by David White <dave@whitevine.net> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public L...
25.733173
203
0.638113
[ "vector" ]