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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c1de42b193b07ba46488b2075ec244f652ae78c9 | 15,892 | cc | C++ | execution/run_sample_eval.cc | maksgepner/CodeContests | 3350e202a96314b598c58cdbae1a9a08387d9163 | [
"Apache-2.0"
] | null | null | null | execution/run_sample_eval.cc | maksgepner/CodeContests | 3350e202a96314b598c58cdbae1a9a08387d9163 | [
"Apache-2.0"
] | null | null | null | execution/run_sample_eval.cc | maksgepner/CodeContests | 3350e202a96314b598c58cdbae1a9a08387d9163 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 DeepMind Technologies Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | 31.594433 | 127 | 0.636358 | [
"vector"
] |
c1df65164412a710660d9a1256ec3c463a3c4782 | 9,349 | cpp | C++ | algo_linear/algo_dumbo_impl.cpp | arjunradhakrishna/SpaceChessEngine | 4ba49b51b62ed927f07763254fd5cae12d7f3a7f | [
"Apache-2.0"
] | null | null | null | algo_linear/algo_dumbo_impl.cpp | arjunradhakrishna/SpaceChessEngine | 4ba49b51b62ed927f07763254fd5cae12d7f3a7f | [
"Apache-2.0"
] | null | null | null | algo_linear/algo_dumbo_impl.cpp | arjunradhakrishna/SpaceChessEngine | 4ba49b51b62ed927f07763254fd5cae12d7f3a7f | [
"Apache-2.0"
] | null | null | null |
#include "algo_dumbo_impl.h"
#include <chess/board_impl.h>
#include <limits>
namespace algo_dumbo_impl {
void exploreStates(
StateScores & stateScores,
const StateSet& stateSet,
int curDepth,
space::Color whoPlaysNext,
const space::AlgoDumboConfig & config)
{
// termination of recursion
if (cur... | 26.041783 | 125 | 0.648198 | [
"vector"
] |
c1e1c1ca61b4eb99064cc8c096f986836c26ef68 | 1,265 | hpp | C++ | src/ObjectState.hpp | ronsaldo/radiosity_test | d66a6c1106929f03b5ca9e035449fa4de23f79cc | [
"MIT"
] | 1 | 2018-05-23T02:51:45.000Z | 2018-05-23T02:51:45.000Z | src/ObjectState.hpp | ronsaldo/radiosity_test | d66a6c1106929f03b5ca9e035449fa4de23f79cc | [
"MIT"
] | null | null | null | src/ObjectState.hpp | ronsaldo/radiosity_test | d66a6c1106929f03b5ca9e035449fa4de23f79cc | [
"MIT"
] | null | null | null | #ifndef RADIOSITY_TEST_OBJECT_STATE_HPP
#define RADIOSITY_TEST_OBJECT_STATE_HPP
#include <glm/glm.hpp>
#include <glm/gtc/matrix_inverse.hpp>
#include "GpuAllocator.hpp"
namespace RadiosityTest
{
/**
* Object state
*/
struct ObjectState
{
glm::mat4 transformation;
glm::mat4 inverseTransformation;
glm::... | 25.816327 | 80 | 0.746245 | [
"object"
] |
c1e23a2db958f3e56a97f991132004aca334f615 | 2,146 | cpp | C++ | cpp/example_code/ses/send_templated_email.cpp | dlo/aws-doc-sdk-examples | 305e5c4f6cf268cafad7e1603aa5d2909fcd9c0c | [
"Apache-2.0"
] | null | null | null | cpp/example_code/ses/send_templated_email.cpp | dlo/aws-doc-sdk-examples | 305e5c4f6cf268cafad7e1603aa5d2909fcd9c0c | [
"Apache-2.0"
] | 1 | 2018-10-30T06:11:07.000Z | 2018-10-30T06:11:07.000Z | cpp/example_code/ses/send_templated_email.cpp | dlo/aws-doc-sdk-examples | 305e5c4f6cf268cafad7e1603aa5d2909fcd9c0c | [
"Apache-2.0"
] | 1 | 2018-10-30T06:01:23.000Z | 2018-10-30T06:01:23.000Z | /*
Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
This file is 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/
This file ... | 30.225352 | 95 | 0.695247 | [
"model"
] |
c1e8e9bb55941efecc67034e701eca637ae911d9 | 6,242 | cpp | C++ | Programming-in-Qt/Qt_Basic/16Qt_Json/main.cpp | huruiyi/Programming-in-Qt | 5d7f1e6048f4cbc4076e9d222a95c1f68c79942b | [
"MIT"
] | null | null | null | Programming-in-Qt/Qt_Basic/16Qt_Json/main.cpp | huruiyi/Programming-in-Qt | 5d7f1e6048f4cbc4076e9d222a95c1f68c79942b | [
"MIT"
] | null | null | null | Programming-in-Qt/Qt_Basic/16Qt_Json/main.cpp | huruiyi/Programming-in-Qt | 5d7f1e6048f4cbc4076e9d222a95c1f68c79942b | [
"MIT"
] | 1 | 2019-07-19T22:36:30.000Z | 2019-07-19T22:36:30.000Z | #include <QCoreApplication>
#include <QJsonObject>
#include <QFile>
#include <QJsonDocument>
#include <QtDebug>
#include <QJsonArray>
#include <QJsonValue>
#define J_ID "id"
#define J_NICK "nick"
#define J_ZHUANYE "zhuanye"
#define J_AGE "age"
enum {
TAG_LOGIN,
TAG_LOGIN_OK,
TAG_LOGIN_FA... | 29.582938 | 162 | 0.595803 | [
"object"
] |
c1e968516113b5dc8328484ad5bdeb50800b0611 | 2,646 | cc | C++ | RecoTauTag/TauTagTools/plugins/RecoTauPiZeroFlattener.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | RecoTauTag/TauTagTools/plugins/RecoTauPiZeroFlattener.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | RecoTauTag/TauTagTools/plugins/RecoTauPiZeroFlattener.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | /*
* =====================================================================================
* Filename: RecoTauPiZeroFlattener.cc
*
* Description: Produce a plain vector<RecoTauPizero> from the the PiZeros in
* a JetPiZeroAssociation associated to the input jets.
* Created: 10/31/2010 12:33:4... | 36.246575 | 95 | 0.68972 | [
"vector"
] |
c1ef175b02aa61145fd3201ad6c720cbaa0aa0be | 123 | cpp | C++ | src/final/object/Object.cpp | messo/diploma | e4fcf947482eec77d7426e97563a0d55d266bf2e | [
"MIT"
] | 1 | 2016-03-08T19:19:39.000Z | 2016-03-08T19:19:39.000Z | src/final/object/Object.cpp | messo/diploma | e4fcf947482eec77d7426e97563a0d55d266bf2e | [
"MIT"
] | null | null | null | src/final/object/Object.cpp | messo/diploma | e4fcf947482eec77d7426e97563a0d55d266bf2e | [
"MIT"
] | null | null | null | #include "Object.h"
Object::Object(cv::Mat left, cv::Mat right) : masks(2) {
masks[0] = left;
masks[1] = right;
}
| 17.571429 | 56 | 0.585366 | [
"object"
] |
c1efdf5e414f25e444796d104d1e1ceaf3971a96 | 1,919 | cc | C++ | ui/gfx/geometry/dip_util.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | ui/gfx/geometry/dip_util.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | ui/gfx/geometry/dip_util.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.000Z | // 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 "ui/gfx/geometry/dip_util.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/point_f... | 35.537037 | 76 | 0.769151 | [
"geometry"
] |
c1fa4125e84b0de9077842e8c7afe013e61dead2 | 10,985 | cc | C++ | tensorflow/compiler/plugin/poplar/tests/dynamic_slice_test.cc | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 74 | 2020-07-06T17:11:39.000Z | 2022-01-28T06:31:28.000Z | tensorflow/compiler/plugin/poplar/tests/dynamic_slice_test.cc | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 9 | 2020-10-13T23:25:29.000Z | 2022-02-10T06:54:48.000Z | tensorflow/compiler/plugin/poplar/tests/dynamic_slice_test.cc | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 12 | 2020-07-08T07:27:17.000Z | 2021-12-27T08:54:27.000Z | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 39.945455 | 80 | 0.676195 | [
"shape",
"vector"
] |
c1ff1682ae3bdad6b759f4b1d0f92781df363ba9 | 130,164 | cpp | C++ | src/mame/drivers/mw8080bw.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/mw8080bw.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/mw8080bw.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Nicola Salmoria, Tormod Tjaberg, Mirko Buffoni,Lee Taylor, Valerio Verrando, Zsolt Vasvari
// thanks-to:Michael Strutts, Marco Cassili
/***************************************************************************
Midway 8080-based black and white hardware
driver by ... | 41.413936 | 324 | 0.718855 | [
"vector",
"model"
] |
90075f1752d370db274eaa7ffb64647f999925a8 | 3,753 | cpp | C++ | Program2/main.cpp | TaroBubble/cs280-interpreter | 2a93614518820a9dc75c498f2df9800140f78727 | [
"MIT"
] | null | null | null | Program2/main.cpp | TaroBubble/cs280-interpreter | 2a93614518820a9dc75c498f2df9800140f78727 | [
"MIT"
] | null | null | null | Program2/main.cpp | TaroBubble/cs280-interpreter | 2a93614518820a9dc75c498f2df9800140f78727 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "tokens.h"
#include <fstream>
#include <vector>
#include <stdbool.h>
#include <algorithm>
#include <set>
using namespace std;
int main(int argc, char const *argv[])
{
bool isV = false;
bool isID = false;
bool isSum = fa... | 25.02 | 108 | 0.322409 | [
"vector"
] |
9007d801ee4155c8ca99bc373fb3f80fa5244e5d | 910 | cpp | C++ | online_judges/Vjudge/ccpl2020r8/l/l.cpp | miaortizma/competitive-programming | ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc | [
"MIT"
] | 2 | 2018-02-20T14:44:57.000Z | 2018-02-20T14:45:03.000Z | online_judges/Vjudge/ccpl2020r8/l/l.cpp | miaortizma/competitive-programming | ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc | [
"MIT"
] | null | null | null | online_judges/Vjudge/ccpl2020r8/l/l.cpp | miaortizma/competitive-programming | ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
// By Miguel Ortiz https://github.com/miaortizma
int dist(vector<int> v, int m) {
int S = 0;
for (auto x : v) {
S += abs(x - m);
}
return S;
}
void solve() {
int S, A, F;
cin >> S >> A >> F;
vector<int> X(F);
vector<int> Y(F);
for (int i = 0; i < F; ... | 16.851852 | 57 | 0.420879 | [
"vector"
] |
900a274b14a08a94348d49809ae03c1fb28e6fe6 | 4,896 | cpp | C++ | proxyroles/switchrole.cpp | swex/SortFilterProxyModel | c4a598fa1aad5134d3c57e6c297a966e41cb1105 | [
"MIT"
] | null | null | null | proxyroles/switchrole.cpp | swex/SortFilterProxyModel | c4a598fa1aad5134d3c57e6c297a966e41cb1105 | [
"MIT"
] | null | null | null | proxyroles/switchrole.cpp | swex/SortFilterProxyModel | c4a598fa1aad5134d3c57e6c297a966e41cb1105 | [
"MIT"
] | null | null | null | #include "switchrole.h"
#include "qqmlsortfilterproxymodel.h"
#include "filters/filter.h"
#include <QtQml>
namespace qqsfpm {
/*!
\qmltype SwitchRole
\inherits SingleRole
\inqmlmodule SortFilterProxyModel
\brief A role using \l Filter to conditionnaly compute its data
A SwitchRole is a \l ProxyRo... | 29.493976 | 245 | 0.687908 | [
"object",
"model"
] |
900fcc977f00866be6d7d540b60aa6710a0af5c6 | 1,796 | cpp | C++ | CodeForces/Solutions/269C.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 5 | 2020-10-03T17:15:26.000Z | 2022-03-29T21:39:22.000Z | CodeForces/Solutions/269C.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | null | null | null | CodeForces/Solutions/269C.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 1 | 2021-03-01T12:56:50.000Z | 2021-03-01T12:56:50.000Z | // #pragma GCC optimize("Ofast,unroll-loops")
// #pragma GCC target("avx,avx2,fma")
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define dd double
#define ld long double
#define sl(n) scanf("%lld", &n)
#define si(n) scanf("%d", &n)
#define sd(n) scanf("%lf", &n)
#d... | 22.17284 | 82 | 0.516704 | [
"vector"
] |
90105346054d92b0c342a465860db4351459b6df | 16,944 | cc | C++ | google_apis/common/base_requests.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 | google_apis/common/base_requests.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | google_apis/common/base_requests.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 (c) 2012 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 "google_apis/common/base_requests.h"
#include <stddef.h>
#include <algorithm>
#include <memory>
#include <utility>
#include "base/bind.h"
... | 36.43871 | 80 | 0.693166 | [
"vector"
] |
9016443cdcb4813e0d0f1334e3b47ae9ad5654a6 | 1,664 | cpp | C++ | example-client/src/task.cpp | funbiscuit/qt-rr-tcp | 36ec012b58442472898bc1a1919786bc7b0e58fb | [
"MIT"
] | null | null | null | example-client/src/task.cpp | funbiscuit/qt-rr-tcp | 36ec012b58442472898bc1a1919786bc7b0e58fb | [
"MIT"
] | null | null | null | example-client/src/task.cpp | funbiscuit/qt-rr-tcp | 36ec012b58442472898bc1a1919786bc7b0e58fb | [
"MIT"
] | null | null | null | #include "task.h"
#include "RRTcpClient.h"
#include <binn.h>
#include <iostream>
#include <chrono>
#include <QCoreApplication>
Task::Task(QObject *parent) : QObject(parent) {
}
void Task::run() {
std::cout << "Request-Response Example Server\n";
tcpClient = std::make_shared<RRTcpClient>("localhost", 4141... | 27.733333 | 88 | 0.554087 | [
"vector"
] |
9017d5f67f85c6918908fe9e6422d5c7a1155f46 | 2,373 | cc | C++ | chrome/browser/notifications/system_component_notifier_source_chromeos.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/notifications/system_component_notifier_source_chromeos.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/notifications/system_component_notifier_source_chromeos.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016 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/notifications/system_component_notifier_source_chromeos.h"
#include "ash/system/system_notifier.h"
#include "chrome/browser/... | 41.631579 | 83 | 0.799831 | [
"vector"
] |
901dcbbef49574de7c1f909c6611e839dc125ca9 | 8,385 | cc | C++ | Core/Grid/Variables/LocallyComputedPatchVarMap.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | 3 | 2020-06-10T08:21:31.000Z | 2020-06-23T18:33:16.000Z | Core/Grid/Variables/LocallyComputedPatchVarMap.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | null | null | null | Core/Grid/Variables/LocallyComputedPatchVarMap.cc | QuocAnh90/Uintah_Aalto | 802c236c331b7eb705d408c352969037e4c5b153 | [
"MIT"
] | 2 | 2019-12-30T05:48:30.000Z | 2020-02-12T16:24:16.000Z | /*
* The MIT License
*
* Copyright (c) 1997-2019 The University of Utah
*
* 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
* right... | 30.270758 | 119 | 0.667144 | [
"vector"
] |
9028034c908307ad081e51a6f84c02f76197cdf2 | 35,211 | cpp | C++ | esphome/components/api/api_connection.cpp | OttoWinter/esphomeyaml | 6a85259e4d6d1b0a0f819688b8e555efcb99ecb0 | [
"MIT"
] | 249 | 2018-04-07T12:04:11.000Z | 2019-01-25T01:11:34.000Z | esphome/components/api/api_connection.cpp | OttoWinter/esphomeyaml | 6a85259e4d6d1b0a0f819688b8e555efcb99ecb0 | [
"MIT"
] | 243 | 2018-04-11T16:37:11.000Z | 2019-01-25T16:50:37.000Z | esphome/components/api/api_connection.cpp | OttoWinter/esphomeyaml | 6a85259e4d6d1b0a0f819688b8e555efcb99ecb0 | [
"MIT"
] | 40 | 2018-04-10T05:50:14.000Z | 2019-01-25T15:20:36.000Z | #include "api_connection.h"
#include "esphome/core/entity_base.h"
#include "esphome/core/log.h"
#include "esphome/components/network/util.h"
#include "esphome/core/version.h"
#include "esphome/core/hal.h"
#include <cerrno>
#ifdef USE_DEEP_SLEEP
#include "esphome/components/deep_sleep/deep_sleep_component.h"
#endif
#if... | 36.525934 | 120 | 0.738434 | [
"model"
] |
902ce566f44ee144f003c0dd1c0c00ab0716345a | 20,889 | cpp | C++ | decoder/tests/snapshot_parser_lib/source/ss_to_dcdtree.cpp | rossburton/OpenCSD | 01d44a34f8fc057f4b041c01f8d9502d77fe612f | [
"BSD-3-Clause"
] | 84 | 2015-08-07T09:40:59.000Z | 2022-03-14T09:04:33.000Z | decoder/tests/snapshot_parser_lib/source/ss_to_dcdtree.cpp | rossburton/OpenCSD | 01d44a34f8fc057f4b041c01f8d9502d77fe612f | [
"BSD-3-Clause"
] | 41 | 2016-07-28T09:14:06.000Z | 2022-03-04T10:47:42.000Z | decoder/tests/snapshot_parser_lib/source/ss_to_dcdtree.cpp | rossburton/OpenCSD | 01d44a34f8fc057f4b041c01f8d9502d77fe612f | [
"BSD-3-Clause"
] | 37 | 2016-06-08T15:40:47.000Z | 2022-02-18T09:29:35.000Z | /*
* \file ss_to_dcdtree.cpp
* \brief OpenCSD :
*
* \copyright Copyright (c) 2015, ARM Limited. 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 ... | 35.345178 | 171 | 0.614917 | [
"object",
"vector"
] |
9032ca2be6f56fc197499db85b7f8059698e51f0 | 414 | hpp | C++ | exercises/4/seminar/8/Matrix - Complete (7)/Matrix/linearSystem.hpp | triffon/oop-2019-20 | db199631d59ddefdcc0c8eb3d689de0095618f92 | [
"MIT"
] | 19 | 2020-02-21T16:46:50.000Z | 2022-01-26T19:59:49.000Z | exercises/4/seminar/7/Matrix - Complete/Matrix/linearSystem.hpp | triffon/oop-2019-20 | db199631d59ddefdcc0c8eb3d689de0095618f92 | [
"MIT"
] | 1 | 2020-03-14T08:09:45.000Z | 2020-03-14T08:09:45.000Z | exercises/4/seminar/8/Matrix - Complete (7)/Matrix/linearSystem.hpp | triffon/oop-2019-20 | db199631d59ddefdcc0c8eb3d689de0095618f92 | [
"MIT"
] | 11 | 2020-02-23T12:29:58.000Z | 2021-04-11T08:30:12.000Z | #include <iostream>
#include "rational.hpp"
#include "vector.hpp"
#include "matrix.hpp"
using namespace std;
#pragma once
class LinearSystem {
Matrix m;
void rightTriangle();
public:
LinearSystem(const Matrix& m);
Vector getSolution();
void print(ostream& out) const;
void read(istream& in);
};
ostream& operato... | 20.7 | 58 | 0.731884 | [
"vector"
] |
9036ce43e78d807d6074eeff579c4dd5d066ec9a | 1,225 | cpp | C++ | desktop/Mapper007.cpp | kevlu123/nintondo-enjoyment-service | 3ede5428a122a21f69d7f8f8fa44e89c90badfb7 | [
"MIT"
] | null | null | null | desktop/Mapper007.cpp | kevlu123/nintondo-enjoyment-service | 3ede5428a122a21f69d7f8f8fa44e89c90badfb7 | [
"MIT"
] | null | null | null | desktop/Mapper007.cpp | kevlu123/nintondo-enjoyment-service | 3ede5428a122a21f69d7f8f8fa44e89c90badfb7 | [
"MIT"
] | null | null | null | #include "Mapper007.h"
Mapper007::Mapper007(int mapperNumber, int prgChunks, int chrChunks, std::vector<uint8_t>& prg, std::vector<uint8_t>& chr) :
Mapper(mapperNumber, prgChunks, chrChunks, prg, chr) {
Reset();
}
Mapper007::Mapper007(Savestate& state, std::vector<uint8_t>& prg, std::vector<uint8_t>& chr) :
Mapper... | 26.06383 | 124 | 0.710204 | [
"vector"
] |
90386b8e0e562439f24226084dfd18536e13026d | 10,596 | cpp | C++ | third_party/WebKit/Source/core/dom/ElementTest.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/dom/ElementTest.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/dom/ElementTest.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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 "core/dom/Element.h"
#include <memory>
#include "core/dom/Document.h"
#include "core/editing/EditingTestBase.h"
#include "core/frame/LocalFrameV... | 42.047619 | 80 | 0.709796 | [
"geometry"
] |
903908d3bdc48a38ac7490d9d3184cf43d5c3a5d | 1,126 | cpp | C++ | source/ops/gpu/runtime/OpenCLUtil.cpp | ishine/MAI | 64753cd2f59af2949896937c2e5dbfc4d8bab1e0 | [
"Apache-2.0"
] | null | null | null | source/ops/gpu/runtime/OpenCLUtil.cpp | ishine/MAI | 64753cd2f59af2949896937c2e5dbfc4d8bab1e0 | [
"Apache-2.0"
] | null | null | null | source/ops/gpu/runtime/OpenCLUtil.cpp | ishine/MAI | 64753cd2f59af2949896937c2e5dbfc4d8bab1e0 | [
"Apache-2.0"
] | null | null | null | #include "OpenCLUtil.h"
namespace MAI {
MAI_STATUS run1DKernel(OpenCLRuntime* runtime, cl::Kernel& kernel,
std::vector<uint32>& gws, std::vector<uint32>& lws, cl::Event& event) {
//cl::Event event;
ALOGI("run1DKernel");
cl_int ret = runtime->commandQueue().enqueueNDRangeKernel(kernel, 0,
... | 32.171429 | 94 | 0.650977 | [
"vector"
] |
903b80c63bd1f10a2dd8a148c728a8b79bfe9138 | 48,873 | cpp | C++ | source/graphics/brdisplayopengl.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 115 | 2015-01-18T17:29:30.000Z | 2022-01-30T04:31:48.000Z | source/graphics/brdisplayopengl.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-22T04:53:38.000Z | 2015-01-31T13:52:40.000Z | source/graphics/brdisplayopengl.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-23T20:06:46.000Z | 2020-05-20T16:06:00.000Z | /***************************************
OpenGL manager class
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
anything, just gi... | 30.854167 | 218 | 0.724613 | [
"render",
"object"
] |
9042e7e8389a712016c3ff3ee2a5b84a2906c8c5 | 7,343 | cxx | C++ | ThirdParty/QtTesting/vtkqttesting/pqNativeFileDialogEventTranslator.cxx | brown-ccv/paraview-scalable | 64b221a540737d2ac94a120039bd8d1e661bdc8f | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2021-07-07T22:53:19.000Z | 2021-07-31T19:29:35.000Z | ThirdParty/QtTesting/vtkqttesting/pqNativeFileDialogEventTranslator.cxx | brown-ccv/paraview-scalable | 64b221a540737d2ac94a120039bd8d1e661bdc8f | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2020-11-18T16:50:34.000Z | 2022-01-21T13:31:47.000Z | ThirdParty/QtTesting/vtkqttesting/pqNativeFileDialogEventTranslator.cxx | brown-ccv/paraview-scalable | 64b221a540737d2ac94a120039bd8d1e661bdc8f | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2020-10-02T10:14:35.000Z | 2022-03-10T07:50:22.000Z | /*=========================================================================
Program: ParaView
Module: pqNativeFileDialogEventTranslator.cxx
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under th... | 33.377273 | 100 | 0.782923 | [
"object"
] |
90439d13587b1a9a3701ab1077629d0d008f4e05 | 8,448 | cpp | C++ | pxr/imaging/lib/hdSt/rprimUtils.cpp | YuqiaoZhang/USD | bf3a21e6e049486441440ebf8c0387db2538d096 | [
"BSD-2-Clause"
] | 5 | 2017-11-06T10:21:18.000Z | 2020-04-02T13:20:55.000Z | pxr/imaging/lib/hdSt/rprimUtils.cpp | YuqiaoZhang/USD | bf3a21e6e049486441440ebf8c0387db2538d096 | [
"BSD-2-Clause"
] | 1 | 2020-07-07T22:39:42.000Z | 2020-07-07T22:39:42.000Z | pxr/imaging/lib/hdSt/rprimUtils.cpp | YuqiaoZhang/USD | bf3a21e6e049486441440ebf8c0387db2538d096 | [
"BSD-2-Clause"
] | null | null | null | //
// Copyright 2019 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 42.883249 | 79 | 0.57919 | [
"transform"
] |
90473bfe21dcb031479093bdedd32fb832ae3a83 | 37,621 | cpp | C++ | UnrealEngine-4.11.2-release/Engine/Source/Editor/UnrealEd/Private/EditorBuildUtils.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | 1 | 2016-10-01T21:35:52.000Z | 2016-10-01T21:35:52.000Z | UnrealEngine-4.11.2-release/Engine/Source/Editor/UnrealEd/Private/EditorBuildUtils.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | null | null | null | UnrealEngine-4.11.2-release/Engine/Source/Editor/UnrealEd/Private/EditorBuildUtils.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | 1 | 2021-04-27T08:48:33.000Z | 2021-04-27T08:48:33.000Z | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
EditorBuildUtils.cpp: Utilities for building in the editor
=============================================================================*/
#include "UnrealEd.h"
#include "Edito... | 36.489816 | 277 | 0.750671 | [
"geometry"
] |
904d9726d5e4aadcaa6a51326f6d6e5cb3579cf4 | 5,931 | cpp | C++ | pge/source/pge/constructs/AABB3D.cpp | 222464/PGE | 8801301046a0412c323444a7f9f49e02f9ac87cc | [
"Zlib"
] | 100 | 2016-05-04T00:05:43.000Z | 2021-09-11T17:34:31.000Z | pge/source/pge/constructs/AABB3D.cpp | 222464/PGE | 8801301046a0412c323444a7f9f49e02f9ac87cc | [
"Zlib"
] | 8 | 2016-05-06T12:51:53.000Z | 2017-07-20T20:15:46.000Z | pge/source/pge/constructs/AABB3D.cpp | 222464/PGE | 8801301046a0412c323444a7f9f49e02f9ac87cc | [
"Zlib"
] | 16 | 2016-05-04T06:37:20.000Z | 2020-11-12T17:24:55.000Z | #include <pge/constructs/AABB3D.h>
#include <pge/constructs/Quaternion.h>
#include <limits>
#include <assert.h>
using namespace pge;
AABB3D::AABB3D()
: _lowerBound(0.0f, 0.0f, 0.0f), _upperBound(1.0f, 1.0f, 1.0f),
_center(0.5f, 0.5f, 0.5f), _halfDims(0.5f, 0.5f, 0.5f)
{}
AABB3D::AABB3D(const Vec3f &lowerBound, cons... | 26.127753 | 102 | 0.676446 | [
"vector",
"transform"
] |
905092cd50a8b8b2def41094546897033c20c722 | 8,454 | cc | C++ | tools/gn/function_get_path_info.cc | jBarz/gn | d2d7ecb2b20cca203d3b7cda5390f38a869c1b44 | [
"BSD-3-Clause"
] | 36 | 2018-08-20T08:31:24.000Z | 2021-12-04T18:02:57.000Z | tools/gn/function_get_path_info.cc | DanCraft99/gn-standalone-mirror-2 | 0fa107c2744d661d4c182ec0ddc8888571b0e530 | [
"BSD-3-Clause"
] | 5 | 2018-10-01T08:27:35.000Z | 2021-08-25T16:34:13.000Z | tools/gn/function_get_path_info.cc | DanCraft99/gn-standalone-mirror-2 | 0fa107c2744d661d4c182ec0ddc8888571b0e530 | [
"BSD-3-Clause"
] | 8 | 2018-09-28T08:36:56.000Z | 2021-03-13T10:15:32.000Z | // 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 <stddef.h>
#include "tools/gn/err.h"
#include "tools/gn/filesystem_utils.h"
#include "tools/gn/functions.h"
#include "tools/gn/parse_tree.h"
#in... | 33.547619 | 80 | 0.622664 | [
"vector"
] |
9052194f5b6069eaaa7e06c00ffc005d766c4f48 | 4,870 | cc | C++ | RecoTracker/FinalTrackSelectors/plugins/TrackTfClassifier.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 13 | 2015-11-30T15:49:45.000Z | 2022-02-08T16:11:30.000Z | RecoTracker/FinalTrackSelectors/plugins/TrackTfClassifier.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 640 | 2015-02-11T18:55:47.000Z | 2022-03-31T14:12:23.000Z | RecoTracker/FinalTrackSelectors/plugins/TrackTfClassifier.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 51 | 2015-08-11T21:01:40.000Z | 2022-03-30T07:31:34.000Z | #include "RecoTracker/FinalTrackSelectors/interface/TrackMVAClassifier.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/global/EDProducer.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "FWCore/Framework/inter... | 45.092593 | 117 | 0.670431 | [
"vector",
"model"
] |
90554a1445ac172eeffee50e54adb1f2ab2a9c8e | 6,548 | cpp | C++ | dali/internal/update/rendering/scene-graph-texture-set.cpp | pwisbey/dali-core | 53117f5d4178001b0d688c5bce14d7bf8e861631 | [
"Apache-2.0"
] | 1 | 2016-08-05T09:58:38.000Z | 2016-08-05T09:58:38.000Z | dali/internal/update/rendering/scene-graph-texture-set.cpp | tizenorg/platform.core.uifw.dali-core | dd89513b4bb1fdde74a83996c726e10adaf58349 | [
"Apache-2.0"
] | null | null | null | dali/internal/update/rendering/scene-graph-texture-set.cpp | tizenorg/platform.core.uifw.dali-core | dd89513b4bb1fdde74a83996c726e10adaf58349 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 25.779528 | 119 | 0.647831 | [
"render",
"object"
] |
905852554ab209c82e27af15b4fb6a42dc84e3d4 | 4,048 | cc | C++ | tensorflow_serving/servables/alphafm/feature_mapping.cc | hzy001/xgboost-serving-1 | 163b6dc22e1dd57503d682c7f10a13636638f93f | [
"Apache-2.0"
] | 106 | 2021-06-24T06:47:27.000Z | 2022-03-11T01:52:19.000Z | tensorflow_serving/servables/alphafm/feature_mapping.cc | hzy001/xgboost-serving-1 | 163b6dc22e1dd57503d682c7f10a13636638f93f | [
"Apache-2.0"
] | 1 | 2021-12-30T05:11:10.000Z | 2021-12-30T05:11:10.000Z | tensorflow_serving/servables/alphafm/feature_mapping.cc | hzy001/xgboost-serving-1 | 163b6dc22e1dd57503d682c7f10a13636638f93f | [
"Apache-2.0"
] | 12 | 2021-06-24T02:14:04.000Z | 2021-11-15T05:47:01.000Z | /*
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
distributed under the License ... | 33.733333 | 80 | 0.66502 | [
"vector",
"model"
] |
90613ed7dd2fc86cf9dcad04b1221945d0682d32 | 34,193 | cpp | C++ | cpp/tests/strings/split_tests.cpp | brandon-b-miller/cudf | 5d2d68ef231bedd3a7e590b071f4d8e4af7e5f93 | [
"Apache-2.0"
] | 1 | 2020-04-18T23:47:25.000Z | 2020-04-18T23:47:25.000Z | cpp/tests/strings/split_tests.cpp | brandon-b-miller/cudf | 5d2d68ef231bedd3a7e590b071f4d8e4af7e5f93 | [
"Apache-2.0"
] | null | null | null | cpp/tests/strings/split_tests.cpp | brandon-b-miller/cudf | 5d2d68ef231bedd3a7e590b071f4d8e4af7e5f93 | [
"Apache-2.0"
] | 1 | 2021-10-03T20:29:10.000Z | 2021-10-03T20:29:10.000Z | /*
* Copyright (c) 2019, NVIDIA 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 law ... | 56.146141 | 138 | 0.692539 | [
"vector"
] |
9066404fd9455e4c982a686c8803da6f66f4c5ed | 6,141 | cpp | C++ | clustering/compute_clustering.cpp | tibaes/motion | f612cdfc8b9b13d628937e65ff56f69c23404fee | [
"MIT"
] | 1 | 2017-08-21T06:40:39.000Z | 2017-08-21T06:40:39.000Z | clustering/compute_clustering.cpp | tibaes/motion | f612cdfc8b9b13d628937e65ff56f69c23404fee | [
"MIT"
] | null | null | null | clustering/compute_clustering.cpp | tibaes/motion | f612cdfc8b9b13d628937e65ff56f69c23404fee | [
"MIT"
] | null | null | null | /* Compute Clustering using K-Means algorithm and then normalize components
* Input: [rows cols] [x y u v]+
* Output: Gaussian Mixtures YML
*
* Rafael H Tibaes [ra.fael.nl]
* IMAGO Research Group
*/
#include <cv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/ml/ml.hpp>
#include <cmath>
#define ND... | 27.913636 | 79 | 0.632307 | [
"vector"
] |
9067352e154d6c757d1874755587bf7376ca4a12 | 12,055 | cpp | C++ | Libs/PlatformAux.cpp | dns/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 3 | 2020-04-11T13:00:31.000Z | 2020-12-07T03:19:10.000Z | Libs/PlatformAux.cpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | null | null | null | Libs/PlatformAux.cpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 1 | 2020-04-11T13:00:04.000Z | 2020-04-11T13:00:04.000Z | /*
Cafu Engine, http://www.cafu.de/
Copyright (c) Carsten Fuchs and other contributors.
This project is licensed under the terms of the MIT license.
*/
#include "PlatformAux.hpp"
#include "Templates/Array.hpp"
#include "ConsoleCommands/Console.hpp"
#include "FileSys/FileMan.hpp"
#include "MaterialSystem/Renderer.hpp"
... | 33.579387 | 158 | 0.647947 | [
"vector"
] |
9067837603756c7363b4332503fd292120a48aca | 6,462 | cpp | C++ | src/endpoints/authentication/sig_auth.cpp | Julian-Sequeira/CCF | 363a63b43d9c80d7325901594a0f6465446ede63 | [
"Apache-2.0"
] | null | null | null | src/endpoints/authentication/sig_auth.cpp | Julian-Sequeira/CCF | 363a63b43d9c80d7325901594a0f6465446ede63 | [
"Apache-2.0"
] | null | null | null | src/endpoints/authentication/sig_auth.cpp | Julian-Sequeira/CCF | 363a63b43d9c80d7325901594a0f6465446ede63 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#include "ccf/endpoints/authentication/sig_auth.h"
#include "ccf/crypto/verifier.h"
#include "ccf/rpc_context.h"
#include "ccf/service/tables/members.h"
#include "ccf/service/tables/users.h"
#include "ds/lru.h"
#inc... | 28.977578 | 78 | 0.644383 | [
"vector"
] |
9068af08047836c1034e5a814dfd4e5c989725e7 | 16,040 | cpp | C++ | Engine/Plugins/Editor/BlueprintMaterialTextureNodes/Source/BlueprintMaterialTextureNodes/Private/BlueprintMaterialTextureNodesBPLibrary.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Plugins/Editor/BlueprintMaterialTextureNodes/Source/BlueprintMaterialTextureNodes/Private/BlueprintMaterialTextureNodesBPLibrary.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Plugins/Editor/BlueprintMaterialTextureNodes/Source/BlueprintMaterialTextureNodes/Private/BlueprintMaterialTextureNodesBPLibrary.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "BlueprintMaterialTextureNodesBPLibrary.h"
#include "BlueprintMaterialTextureNodes.h"
#include "CoreMinimal.h"
//RHI gives access to MaxShaderPlatform and FeatureLevel (i.e. GMaxRHIShaderPlatform)
#include "RHI.h"
//includes for asset creation
#in... | 35.883669 | 224 | 0.750561 | [
"render"
] |
906a267db4727ecf1dc622224219262e1ea74faf | 6,278 | cpp | C++ | modules/blazingsql/src/addon.cpp | love-lena/node-rapids | 27c9e2468372df4fae3779d859089b54c8d32c4f | [
"Apache-2.0"
] | 1 | 2021-06-24T23:08:49.000Z | 2021-06-24T23:08:49.000Z | modules/blazingsql/src/addon.cpp | love-lena/node-rapids | 27c9e2468372df4fae3779d859089b54c8d32c4f | [
"Apache-2.0"
] | null | null | null | modules/blazingsql/src/addon.cpp | love-lena/node-rapids | 27c9e2468372df4fae3779d859089b54c8d32c4f | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021, NVIDIA 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 law or ... | 38.515337 | 97 | 0.610226 | [
"object",
"vector"
] |
906c02dc5b0c32c26ba4968d306bd08984f046e7 | 3,180 | cpp | C++ | deps/src/boost_1_65_1/libs/fusion/test/sequence/size.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | deps/src/boost_1_65_1/libs/fusion/test/sequence/size.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | deps/src/boost_1_65_1/libs/fusion/test/sequence/size.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /*=============================================================================
Copyright (c) 2014 Kohei Takahashi
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)
=============================================... | 30.873786 | 138 | 0.577358 | [
"vector"
] |
906d07a908701bcad3240d36050839f208e70e91 | 3,187 | hh | C++ | src/kinetics/SyntheticDiscreteSource.hh | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 4 | 2015-03-07T16:20:23.000Z | 2020-02-10T13:40:16.000Z | src/kinetics/SyntheticDiscreteSource.hh | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 3 | 2018-02-27T21:24:22.000Z | 2020-12-16T00:56:44.000Z | src/kinetics/SyntheticDiscreteSource.hh | RLReed/libdetran | 77637c788823e0a14aae7e40e476a291f6f3184b | [
"MIT"
] | 9 | 2015-03-07T16:20:26.000Z | 2022-01-29T00:14:23.000Z | //----------------------------------*-C++-*----------------------------------//
/**
* @file SyntheticDiscreteSource.hh
* @brief SyntheticDiscreteSource
* @author Jeremy Roberts
* @date Nov 15, 2012
*/
//---------------------------------------------------------------------------//
#ifndef detran_SYNTHETIC... | 29.785047 | 79 | 0.406966 | [
"mesh"
] |
9071bc3abb8bd282016062d1539c38f94dfc6f0e | 4,232 | cpp | C++ | Funambol/source/common/syncml/core/Delete.cpp | wbitos/funambol | 29f76caf9cee51d51ddf5318613411cb1cfb8e4e | [
"MIT"
] | null | null | null | Funambol/source/common/syncml/core/Delete.cpp | wbitos/funambol | 29f76caf9cee51d51ddf5318613411cb1cfb8e4e | [
"MIT"
] | null | null | null | Funambol/source/common/syncml/core/Delete.cpp | wbitos/funambol | 29f76caf9cee51d51ddf5318613411cb1cfb8e4e | [
"MIT"
] | null | null | null | /*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, 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 with the addit... | 28.986301 | 105 | 0.699905 | [
"object"
] |
9078fb7227597daff0bc7114f03a3222ec9c9152 | 4,115 | hh | C++ | agent/base/Observer.hh | automenta/trex-autonomy | fcca1f7596af30735fe53d1bab54b3a0c1f97b89 | [
"BSD-3-Clause"
] | null | null | null | agent/base/Observer.hh | automenta/trex-autonomy | fcca1f7596af30735fe53d1bab54b3a0c1f97b89 | [
"BSD-3-Clause"
] | null | null | null | agent/base/Observer.hh | automenta/trex-autonomy | fcca1f7596af30735fe53d1bab54b3a0c1f97b89 | [
"BSD-3-Clause"
] | null | null | null | #ifndef H_Observer
#define H_Observer
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2007. MBARI.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provide... | 30.257353 | 119 | 0.702552 | [
"vector"
] |
907b8270b6f36b1c35f940db6fce77e3e2bf244b | 2,123 | cpp | C++ | exercises/05_classes/classes4.cpp | rdjondo/cplings | 599d8ebf38fd6bc71e573192bfe6f4f9f72e5760 | [
"MIT"
] | 1 | 2021-03-24T17:59:23.000Z | 2021-03-24T17:59:23.000Z | exercises/05_classes/classes4.cpp | rdjondo/cplings | 599d8ebf38fd6bc71e573192bfe6f4f9f72e5760 | [
"MIT"
] | null | null | null | exercises/05_classes/classes4.cpp | rdjondo/cplings | 599d8ebf38fd6bc71e573192bfe6f4f9f72e5760 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
// classes4.cpp
// Make me compile! Go to the folder hint if you want a hint :)
// We sometimes encourage you to keep trying things on shape given exercise,
// even after you already figured it out.
// Step 1: Make me compile!
// Write the Circle constructor
... | 27.934211 | 128 | 0.635422 | [
"shape",
"vector"
] |
908b96369c3f2b32e5d7880c7692577f7f37a9d4 | 1,488 | cpp | C++ | segmenttree/test/point-set-range-composite.test.cpp | rsm9/cplib-cpp | 269064381eb259a049236335abb31f8f73ded7f4 | [
"MIT"
] | 4 | 2020-05-13T05:06:22.000Z | 2020-09-18T17:03:36.000Z | segmenttree/test/point-set-range-composite.test.cpp | rsm9/cplib-cpp | 269064381eb259a049236335abb31f8f73ded7f4 | [
"MIT"
] | 1 | 2019-12-11T13:53:17.000Z | 2019-12-11T13:53:17.000Z | segmenttree/test/point-set-range-composite.test.cpp | rsm9/cplib-cpp | 269064381eb259a049236335abb31f8f73ded7f4 | [
"MIT"
] | 3 | 2019-12-11T06:45:45.000Z | 2020-09-07T13:45:32.000Z | #include "../../modint.hpp"
#include "../point-update-range-get_nonrecursive.hpp"
#include <iostream>
#include <utility>
#define PROBLEM "https://judge.yosupo.jp/problem/point_set_range_composite"
using mint = ModInt<998244353>;
template <typename T>
struct PointSetRangeComposite
: public NonrecursiveSegmentTree<s... | 35.428571 | 97 | 0.607527 | [
"vector"
] |
908d43d0f763609ec1f96600bb470994eb3734eb | 3,527 | cpp | C++ | tests/ut_vmap_iter.cpp | westfly/st_tree | 5b8e66d994b5336f59ebc645335ff8f7f2e1d6bf | [
"Apache-2.0"
] | 82 | 2015-02-20T12:02:20.000Z | 2022-01-18T03:12:26.000Z | tests/ut_vmap_iter.cpp | westfly/st_tree | 5b8e66d994b5336f59ebc645335ff8f7f2e1d6bf | [
"Apache-2.0"
] | 16 | 2015-01-22T09:01:37.000Z | 2022-03-17T02:04:08.000Z | tests/ut_vmap_iter.cpp | westfly/st_tree | 5b8e66d994b5336f59ebc645335ff8f7f2e1d6bf | [
"Apache-2.0"
] | 19 | 2015-07-23T07:22:51.000Z | 2022-03-09T17:34:00.000Z | #include <boost/test/unit_test.hpp>
#include "st_tree.h"
using namespace st_tree;
using st_tree::detail::valmap_iterator_dispatch;
using st_tree::detail::dref_vmap;
#include "ut_common.h"
using std::vector;
BOOST_AUTO_TEST_SUITE(ut_valmap_iterator_adaptor)
template <typename Iterator, typename ValMap>
struct valma... | 32.063636 | 136 | 0.693224 | [
"vector"
] |
909951ee0dad2c02746ddd470a2a9bfcb1f00f1f | 1,954 | cpp | C++ | tests/ParserTests.cpp | AEnguerrand/cpp_zia | 165dc970a1f120ff35a358c8f7313ed0297a87da | [
"MIT"
] | 2 | 2018-02-14T16:04:23.000Z | 2019-08-17T08:44:59.000Z | tests/ParserTests.cpp | AEnguerrand/cpp_zia | 165dc970a1f120ff35a358c8f7313ed0297a87da | [
"MIT"
] | 69 | 2018-02-01T17:09:05.000Z | 2018-11-01T11:42:49.000Z | tests/ParserTests.cpp | AEnguerrand/cpp_zia | 165dc970a1f120ff35a358c8f7313ed0297a87da | [
"MIT"
] | 4 | 2018-02-27T13:24:55.000Z | 2021-05-21T09:56:17.000Z | #include "gtest/gtest.h"
#include "../src/Parser/Parser.hh"
#include "../src/Parser/ParserJson.hh"
#include "../src/ModuleLoader/ModuleLoader.hh"
#include "../src/Process/Process.hh"
TEST(Parser, Parser) {
std::vector<std::string> v;
::zia::api::Conf conf;
nz::ModuleLoader moduleLoader(v, v, conf);
... | 39.08 | 344 | 0.639713 | [
"vector",
"transform"
] |
909e33e8bc9aca5c84190d9acef3c3411b5c90c9 | 20,718 | cpp | C++ | qpcpp/src/qf/qep_msm.cpp | fjpolo/STM23F746Disco-Playground | 446e8cd45b6ab3d771a782977e7630cf92a01a88 | [
"MIT"
] | null | null | null | qpcpp/src/qf/qep_msm.cpp | fjpolo/STM23F746Disco-Playground | 446e8cd45b6ab3d771a782977e7630cf92a01a88 | [
"MIT"
] | null | null | null | qpcpp/src/qf/qep_msm.cpp | fjpolo/STM23F746Disco-Playground | 446e8cd45b6ab3d771a782977e7630cf92a01a88 | [
"MIT"
] | null | null | null | /// @file
/// @brief QP::QMsm implementation
/// @ingroup qep
/// @cond
///***************************************************************************
/// Last updated for version 6.9.2
/// Last updated on 2020-12-17
///
/// Q u a n t u m L e a P s
/// ------------------------
//... | 35.415385 | 79 | 0.568346 | [
"object"
] |
909ec60e11ddfe6c38c8fd9626b1f116f83abf8c | 9,176 | hpp | C++ | backend/hdf5/h5x/H5Group.hpp | gicmo/nix | 17a5b90e6c12a22e921c181b79eb2a3db1bf61af | [
"BSD-3-Clause"
] | 1 | 2019-08-17T21:19:13.000Z | 2019-08-17T21:19:13.000Z | backend/hdf5/h5x/H5Group.hpp | tapaswenipathak/nix | 4565c2d7b363f27cac88932b35c085ee8fe975a1 | [
"BSD-3-Clause"
] | 2 | 2017-05-30T21:35:54.000Z | 2017-06-01T10:53:23.000Z | backend/hdf5/h5x/H5Group.hpp | gicmo/nix | 17a5b90e6c12a22e921c181b79eb2a3db1bf61af | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013, German Neuroinformatics Node (G-Node)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted under the terms of the BSD License. See
// LICENSE file in the root of the Project.
#ifndef NIX_GROUP_H
#define NIX_GROUP_H
#i... | 31.317406 | 118 | 0.656713 | [
"object",
"shape",
"vector"
] |
90a22eaeb72ca83261aef0a0c6a9ca847e1b7557 | 1,596 | cpp | C++ | Codeforces 1183D.cpp | Jvillegasd/Codeforces | ffdd2d5db1dabc7ff76f8f92270c79233a77b933 | [
"MIT"
] | null | null | null | Codeforces 1183D.cpp | Jvillegasd/Codeforces | ffdd2d5db1dabc7ff76f8f92270c79233a77b933 | [
"MIT"
] | null | null | null | Codeforces 1183D.cpp | Jvillegasd/Codeforces | ffdd2d5db1dabc7ff76f8f92270c79233a77b933 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define pb push_back
#define pf push_front
#define pob pop_back
#define fp first
#define sp second
#define mp make_pair
#define ins insert
#define uEdge(u, v) g[u].pb(v), g[v].pb(u)
#define uwEdge(u, v, w) g[u].pb({v, w}), g[v].pb({u, w})
#define dEdge(u, v) g[u].pb(v)
#define dwEdge... | 23.470588 | 68 | 0.485589 | [
"vector"
] |
90aa92c586fb3b1323b8ccf1e14b85c087764c03 | 5,030 | cc | C++ | src/Molecule_Lib/smiles_test.cc | IanAWatson/LillyMol-4.0-Bazel | f38f23a919c622c31280222f8a90e6ab7d871b93 | [
"Apache-2.0"
] | 6 | 2020-08-17T15:02:14.000Z | 2022-01-21T19:27:56.000Z | src/Molecule_Lib/smiles_test.cc | IanAWatson/LillyMol-4.0-Bazel | f38f23a919c622c31280222f8a90e6ab7d871b93 | [
"Apache-2.0"
] | null | null | null | src/Molecule_Lib/smiles_test.cc | IanAWatson/LillyMol-4.0-Bazel | f38f23a919c622c31280222f8a90e6ab7d871b93 | [
"Apache-2.0"
] | null | null | null | // Tests for smiles reading and generation
#include "googlemock/include/gmock/gmock.h"
#include "googletest/include/gtest/gtest.h"
#include "coordinate_box.h"
#include "smiles.h"
namespace {
using testing::ElementsAre;
using testing::FloatNear;
// For tests that need an input smiles and an expected output.
struct ... | 29.075145 | 100 | 0.696024 | [
"vector"
] |
90afd9a76d72fdcd72e2381ee7be3c84854b7990 | 19,892 | cpp | C++ | 14_fullerror/syntax.cpp | AkiraHakuta/antlr4_TAPL | 0570528f0f223624efd2c4e6d8d0abd98dcaaa16 | [
"BSD-3-Clause"
] | null | null | null | 14_fullerror/syntax.cpp | AkiraHakuta/antlr4_TAPL | 0570528f0f223624efd2c4e6d8d0abd98dcaaa16 | [
"BSD-3-Clause"
] | null | null | null | 14_fullerror/syntax.cpp | AkiraHakuta/antlr4_TAPL | 0570528f0f223624efd2c4e6d8d0abd98dcaaa16 | [
"BSD-3-Clause"
] | null | null | null | #include "fullerror.h"
/* ------------------------ Context management ------------------------ */
vector<pair_sb> _context ={};
vector<pair_sb>* _context_ptr = &_context;
string index2name(int db_index){
int context_size = _context_ptr->size();
if (db_index < 0 || _context_ptr->size() - 1 < db_index){
... | 28.376605 | 126 | 0.489544 | [
"vector"
] |
90b07edc3785faa408039b0ac9328bb1b770d5e3 | 3,196 | cpp | C++ | answers/lintcode/Count of Smaller Number.cpp | FeiZhan/Algo-Collection | 708c4a38112e0b381864809788b9e44ac5ae4d05 | [
"MIT"
] | 3 | 2015-09-04T21:32:31.000Z | 2020-12-06T00:37:32.000Z | answers/lintcode/Count of Smaller Number.cpp | FeiZhan/Algo-Collection | 708c4a38112e0b381864809788b9e44ac5ae4d05 | [
"MIT"
] | null | null | null | answers/lintcode/Count of Smaller Number.cpp | FeiZhan/Algo-Collection | 708c4a38112e0b381864809788b9e44ac5ae4d05 | [
"MIT"
] | null | null | null | //@result TLE
class Solution {
public:
/**
* @param A: An integer array
* @return: The number of element in the array that
* are smaller that the given integer
*/
vector<int> countOfSmallerNumber(vector<int> &A, vector<int> &queries) {
// write your code here
Segmen... | 29.592593 | 91 | 0.428035 | [
"vector"
] |
90b2701e0d2e800a22b9192869b9c7fa94763cca | 6,467 | hpp | C++ | DT3Core/Resources/Importers/ImporterGeometryTWM.hpp | nemerle/DT3 | 801615d507eda9764662f3a34339aa676170e93a | [
"MIT"
] | 3 | 2016-01-27T13:17:18.000Z | 2019-03-19T09:18:25.000Z | DT3Core/Resources/Importers/ImporterGeometryTWM.hpp | nemerle/DT3 | 801615d507eda9764662f3a34339aa676170e93a | [
"MIT"
] | 1 | 2016-01-28T14:39:49.000Z | 2016-01-28T22:12:07.000Z | DT3Core/Resources/Importers/ImporterGeometryTWM.hpp | adderly/DT3 | e2605be091ec903d3582e182313837cbaf790857 | [
"MIT"
] | 3 | 2016-01-25T16:44:51.000Z | 2021-01-29T19:59:45.000Z | #pragma once
#ifndef DT3_IMPORTERGEOMETRYTWM
#define DT3_IMPORTERGEOMETRYTWM
//==============================================================================
///
/// File: ImporterGeometryTWM.hpp
///
/// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved.
///
/// This file is subje... | 40.41875 | 157 | 0.487398 | [
"mesh",
"geometry",
"object",
"vector"
] |
ff96de042eacff7cee1484f9c3e7f2f1210aa2aa | 4,189 | cpp | C++ | src/mainlib/stream/mp3/huffman/HuffmanParser.cpp | priera/aixa | faa5d9cd99fcec47703f2b82a64b465dbc4fd3bc | [
"MIT"
] | null | null | null | src/mainlib/stream/mp3/huffman/HuffmanParser.cpp | priera/aixa | faa5d9cd99fcec47703f2b82a64b465dbc4fd3bc | [
"MIT"
] | 3 | 2021-05-12T08:45:11.000Z | 2021-05-12T09:09:25.000Z | src/mainlib/stream/mp3/huffman/HuffmanParser.cpp | priera/aixa | faa5d9cd99fcec47703f2b82a64b465dbc4fd3bc | [
"MIT"
] | null | null | null | #include "HuffmanParser.h"
HuffmanParser::HuffmanParser(const std::filesystem::path& filePath) : f(filePath) {
if (!f) {
throw std::runtime_error("Could not find huffman tables file");
}
}
HuffmanSet* HuffmanParser::build() {
std::vector<std::unique_ptr<Huffman>> tables(Huffman::NR_HUFFMAN_TABLES)... | 31.02963 | 109 | 0.593459 | [
"vector"
] |
ff996e127b7d9ca9eb64491e9bcae9dd2571d6fa | 10,437 | cpp | C++ | Helios/HeliosConfig/Source/HeliosConfig/Private/HeliosConfigBPLibrary.cpp | HeliosInteractive/UE4-HeliosConfig | 008a5f80cf281b6ad956b1a1dca3422d73fdb555 | [
"MIT"
] | 1 | 2018-05-31T16:51:06.000Z | 2018-05-31T16:51:06.000Z | Helios/HeliosConfig/Source/HeliosConfig/Private/HeliosConfigBPLibrary.cpp | HeliosInteractive/UE4-HeliosConfig | 008a5f80cf281b6ad956b1a1dca3422d73fdb555 | [
"MIT"
] | null | null | null | Helios/HeliosConfig/Source/HeliosConfig/Private/HeliosConfigBPLibrary.cpp | HeliosInteractive/UE4-HeliosConfig | 008a5f80cf281b6ad956b1a1dca3422d73fdb555 | [
"MIT"
] | 1 | 2020-02-21T00:18:09.000Z | 2020-02-21T00:18:09.000Z | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "HeliosConfigPrivatePCH.h"
#include "HeliosConfigBPLibrary.h"
bool UHeliosConfigBPLibrary::bInitialized = false;
TSharedPtr<FJsonObject> UHeliosConfigBPLibrary::JsonObject = MakeShareable(new FJsonObject);
FString UHeliosConfigBPLibrary::GetString... | 23.720455 | 167 | 0.763246 | [
"vector"
] |
ff9dd5b201716c6e84a64580d89df07404440ce9 | 8,459 | cpp | C++ | jni/WiEngine/impl/json/wyJSONParser.cpp | stubma/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 39 | 2015-01-23T10:01:31.000Z | 2021-06-10T03:01:18.000Z | jni/WiEngine/impl/json/wyJSONParser.cpp | luckypen/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 1 | 2015-04-15T08:07:47.000Z | 2015-04-15T08:07:47.000Z | jni/WiEngine/impl/json/wyJSONParser.cpp | luckypen/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 20 | 2015-01-20T07:36:10.000Z | 2019-09-15T01:02:19.000Z | /*
* Copyright (c) 2010 WiYun Inc.
* Author: luma(stubma@gmail.com)
*
* For all entities this program is free software; you can redistribute
* it and/or modify it under the terms of the 'WiEngine' license with
* the additional provision that 'WiEngine' must be credited in a manner
* that can be be observed by en... | 27.112179 | 90 | 0.681996 | [
"vector"
] |
ffa166fca20c0a98baa400a199cefac785cfda8a | 6,603 | cpp | C++ | openstudiocore/src/model/AirLoopHVACZoneSplitter.cpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | openstudiocore/src/model/AirLoopHVACZoneSplitter.cpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | openstudiocore/src/model/AirLoopHVACZoneSplitter.cpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2014, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 31.146226 | 106 | 0.670604 | [
"vector",
"model"
] |
ffa39884a7ad46458dbc343eee335f11094403b3 | 635 | cpp | C++ | lite/load_and_run/src/strategys/strategy_fitting.cpp | Olalaye/MegEngine | 695d24f24517536e6544b07936d189dbc031bbce | [
"Apache-2.0"
] | 1 | 2022-03-21T03:13:45.000Z | 2022-03-21T03:13:45.000Z | lite/load_and_run/src/strategys/strategy_fitting.cpp | Olalaye/MegEngine | 695d24f24517536e6544b07936d189dbc031bbce | [
"Apache-2.0"
] | null | null | null | lite/load_and_run/src/strategys/strategy_fitting.cpp | Olalaye/MegEngine | 695d24f24517536e6544b07936d189dbc031bbce | [
"Apache-2.0"
] | null | null | null | /**
* \file lite/load_and_run/src/strategys/strategy_fitting.cpp
*
* This file is part of MegEngine, a deep learning framework developed by
* Megvii.
*
* \copyright Copyright (c) 2020-2021 Megvii Inc. All rights reserved.
*/
#include "strategy.h"
using namespace lar;
FittingStrategy::FittingStrategy(std::strin... | 26.458333 | 76 | 0.705512 | [
"model"
] |
ffa88ac857a9acb5337a8e535587ebc51fa5f37b | 11,397 | cc | C++ | addons/differentiation/ConstraintsFDC.cc | mkudruss/rbdl_derivatives | 0fec930aad4a6fb3084aa5aa2bb27bcfd7409a1e | [
"Zlib"
] | 1 | 2021-02-21T09:31:56.000Z | 2021-02-21T09:31:56.000Z | addons/differentiation/ConstraintsFDC.cc | mkudruss/rbdl_derivatives | 0fec930aad4a6fb3084aa5aa2bb27bcfd7409a1e | [
"Zlib"
] | null | null | null | addons/differentiation/ConstraintsFDC.cc | mkudruss/rbdl_derivatives | 0fec930aad4a6fb3084aa5aa2bb27bcfd7409a1e | [
"Zlib"
] | 1 | 2022-03-31T05:03:17.000Z | 2022-03-31T05:03:17.000Z | #include "ConstraintsFDC.h"
#include "ModelEntryFDC.h"
#include <cfloat>
#include <cmath>
using namespace std;
// -----------------------------------------------------------------------------
namespace RigidBodyDynamics {
// -----------------------------------------------------------------------------
namespace FDC ... | 24.248936 | 83 | 0.590594 | [
"vector",
"model"
] |
ffad7676cbb7b2f9f9bb4c58d89a3d81e2babdb7 | 1,521 | cpp | C++ | usaco/pieaters.cpp | jamesrayman/sport | a24b4512e3268f09574d6803fa71c98e9d7b50b1 | [
"MIT"
] | null | null | null | usaco/pieaters.cpp | jamesrayman/sport | a24b4512e3268f09574d6803fa71c98e9d7b50b1 | [
"MIT"
] | null | null | null | usaco/pieaters.cpp | jamesrayman/sport | a24b4512e3268f09574d6803fa71c98e9d7b50b1 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
long long n, m;
struct Cow {
int a, b, w;
};
vector<Cow> v;
unordered_map<long long, unordered_map<long long, long long>> d;
vector<vector<vector<long long>>> w;
long long f (int i, int j) {
if (i > j) return 0;
if (d[i].count(j)) return d[i][j];
long l... | 20.554054 | 79 | 0.392505 | [
"vector"
] |
ffbad31a47b66310e83b169c2b7d4b4983b4bcba | 2,471 | hh | C++ | extern/glow/src/glow/objects/NamedObject.hh | huzjkevin/portal_maze_zgl | efb32b1c3430f20638c1401095999ecb4d0af5aa | [
"MIT"
] | null | null | null | extern/glow/src/glow/objects/NamedObject.hh | huzjkevin/portal_maze_zgl | efb32b1c3430f20638c1401095999ecb4d0af5aa | [
"MIT"
] | null | null | null | extern/glow/src/glow/objects/NamedObject.hh | huzjkevin/portal_maze_zgl | efb32b1c3430f20638c1401095999ecb4d0af5aa | [
"MIT"
] | null | null | null | #pragma once
#include <glow/common/non_copyable.hh>
#include <glow/gl.hh>
#include <glow/glow.hh>
#include <sstream>
#include <string>
#include <vector>
namespace glow
{
template <typename T, GLenum glNamespace>
class NamedObject
{
GLOW_NON_COPYABLE(NamedObject);
protected:
NamedObject() = default;
public:... | 23.759615 | 116 | 0.577499 | [
"object",
"vector"
] |
ffbbab61d68801c7db69a31b88ed7dc89b0832a2 | 37,650 | cpp | C++ | native/cocos/core/geometry/Intersect.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | native/cocos/core/geometry/Intersect.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | native/cocos/core/geometry/Intersect.cpp | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | #include "core/geometry/Intersect.h"
#include <cmath>
#include <limits>
#include "3d/assets/Mesh.h"
#include "base/std/container/array.h"
#include "core/TypedArray.h"
#include "core/geometry/AABB.h"
#include "core/geometry/Capsule.h"
#include "core/geometry/Line.h"
#include "core/geometry/Obb.h"
#include "core/geometr... | 35.619678 | 162 | 0.52178 | [
"mesh",
"geometry",
"vector",
"model",
"3d"
] |
ffbe44050f53f9f15472bf6e73f4585d5b79aa73 | 2,839 | cpp | C++ | src/GUI/Checkbox.cpp | Reewr/master | 76725548d0b6ff3ac22f5383eb0c773d2fcc2a4b | [
"MIT"
] | 4 | 2017-05-22T04:14:06.000Z | 2022-02-09T19:15:10.000Z | src/GUI/Checkbox.cpp | Reewr/master | 76725548d0b6ff3ac22f5383eb0c773d2fcc2a4b | [
"MIT"
] | null | null | null | src/GUI/Checkbox.cpp | Reewr/master | 76725548d0b6ff3ac22f5383eb0c773d2fcc2a4b | [
"MIT"
] | null | null | null | #include "Checkbox.hpp"
#include <tinyxml2.h>
#include "../GLSL/Program.hpp"
#include "../Input/Event.hpp"
#include "../Resource/ResourceManager.hpp"
#include "../Resource/Texture.hpp"
#include "../Shape/GL/Rectangle.hpp"
#include "../Utils/Asset.hpp"
#include "Text.hpp"
Checkbox::Checkbox(const mmm::vec2& pos)
... | 22.179688 | 79 | 0.650581 | [
"shape"
] |
ffc0afb17c6e3cde6e4baf4f6849ccd1f412a433 | 14,908 | cpp | C++ | libnd4j/tests_cpu/layers_tests/DeclarableOpsTests10.cpp | iKitkat/deeplearning4j | 13363d4bca532ec4badffaaeaec574c6e7fc4117 | [
"Apache-2.0"
] | 1 | 2018-08-29T05:46:54.000Z | 2018-08-29T05:46:54.000Z | libnd4j/tests_cpu/layers_tests/DeclarableOpsTests10.cpp | iKitkat/deeplearning4j | 13363d4bca532ec4badffaaeaec574c6e7fc4117 | [
"Apache-2.0"
] | null | null | null | libnd4j/tests_cpu/layers_tests/DeclarableOpsTests10.cpp | iKitkat/deeplearning4j | 13363d4bca532ec4badffaaeaec574c6e7fc4117 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | 35.077647 | 220 | 0.513751 | [
"shape"
] |
ffc8d73adcb5ad93456e306b0cf748384ae55b84 | 8,109 | cpp | C++ | SourceCode/append_to_output_tables.cpp | ChristinaB/Topnet-WM | abfed11a3792a43ad23000cbf3b2cb9161f19218 | [
"MIT"
] | null | null | null | SourceCode/append_to_output_tables.cpp | ChristinaB/Topnet-WM | abfed11a3792a43ad23000cbf3b2cb9161f19218 | [
"MIT"
] | 17 | 2018-03-19T17:26:04.000Z | 2019-06-06T00:15:35.000Z | SourceCode/append_to_output_tables.cpp | ChristinaB/Topnet-WM | abfed11a3792a43ad23000cbf3b2cb9161f19218 | [
"MIT"
] | 2 | 2018-03-25T01:55:20.000Z | 2019-05-09T22:12:50.000Z | /* Copyright 2017 Lambert Rubash
This file is part of TopNetCpp, a translation and enhancement of
Fortran TopNet.
TopNetCpp 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 o... | 38.614286 | 141 | 0.685658 | [
"model"
] |
ffcb5242d217c338c569bf60b5598692262f95bd | 880 | hpp | C++ | src/org/apache/poi/ss/usermodel/RichTextString.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/usermodel/RichTextString.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/usermodel/RichTextString.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/ss/usermodel/RichTextString.java
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <org/apache/poi/ss/usermodel/fwd-POI.hpp>
#include <java/lang/Object.hpp>
struct poi::ss::usermodel::RichTextString
: public virtual ::java::lang::Object
{
... | 33.846154 | 88 | 0.711364 | [
"object"
] |
ffcf8fec797ae83c7ece75cafca74c60686232de | 2,839 | cpp | C++ | examples/Switch.System/BitConverterGetBytesDouble/BitConverterGetBytesDouble.cpp | victor-timoshin/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | 4 | 2020-02-11T13:22:58.000Z | 2022-02-24T00:37:43.000Z | examples/Switch.System/BitConverterGetBytesDouble/BitConverterGetBytesDouble.cpp | sgf/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | null | null | null | examples/Switch.System/BitConverterGetBytesDouble/BitConverterGetBytesDouble.cpp | sgf/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | 2 | 2020-02-01T02:19:01.000Z | 2021-12-30T06:44:00.000Z | #include <Switch/Switch>
using namespace System;
namespace Examples {
class Program {
public:
static const string formatter;
// Convert a double argument to a byte array and display it.
static void GetBytesDouble(double argument) {
Array<byte> byteArray = BitConverter::GetBytes(argument);
... | 38.890411 | 81 | 0.630504 | [
"3d"
] |
ffd10c8ea5e68df1de4516e3c77dcf52d87bd9e1 | 2,978 | cpp | C++ | aws-cpp-sdk-kms/source/model/EncryptionAlgorithmSpec.cpp | grujicbr/aws-sdk-cpp | bdd43c178042f09c6739645e3f6cd17822a7c35c | [
"Apache-2.0"
] | 1 | 2020-03-11T05:36:20.000Z | 2020-03-11T05:36:20.000Z | aws-cpp-sdk-kms/source/model/EncryptionAlgorithmSpec.cpp | novaquark/aws-sdk-cpp | a0969508545bec9ae2864c9e1e2bb9aff109f90c | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-kms/source/model/EncryptionAlgorithmSpec.cpp | novaquark/aws-sdk-cpp | a0969508545bec9ae2864c9e1e2bb9aff109f90c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 33.840909 | 98 | 0.670584 | [
"model"
] |
ffd35df09900a5b8d08a12d39ab519413b3daa16 | 12,532 | hpp | C++ | src/serac/physics/utilities/variant.hpp | jamiebramwell/serac | a839f8dc1560b1ec2b3d542f23a5f2ac71f2a962 | [
"BSD-3-Clause"
] | 1 | 2021-07-21T05:34:18.000Z | 2021-07-21T05:34:18.000Z | src/serac/physics/utilities/variant.hpp | jamiebramwell/serac | a839f8dc1560b1ec2b3d542f23a5f2ac71f2a962 | [
"BSD-3-Clause"
] | null | null | null | src/serac/physics/utilities/variant.hpp | jamiebramwell/serac | a839f8dc1560b1ec2b3d542f23a5f2ac71f2a962 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019-2021, Lawrence Livermore National Security, LLC and
// other Serac Project Developers. See the top-level LICENSE file for
// details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
/**
* @file variant.hpp
*
* @brief This file contains the declaration of a two-element variant type
*
* This is ... | 30.270531 | 120 | 0.66406 | [
"mesh",
"object"
] |
ffd40f7b7ce83b8763ed3720015434853f5c247a | 446 | cpp | C++ | src/flatten_iterator_sample.cpp | Fadis/hermit | 1b378fb94165e0348d11d8065d3259d14c49977b | [
"BSD-2-Clause"
] | 1 | 2015-03-09T05:54:01.000Z | 2015-03-09T05:54:01.000Z | src/flatten_iterator_sample.cpp | Fadis/hermit | 1b378fb94165e0348d11d8065d3259d14c49977b | [
"BSD-2-Clause"
] | null | null | null | src/flatten_iterator_sample.cpp | Fadis/hermit | 1b378fb94165e0348d11d8065d3259d14c49977b | [
"BSD-2-Clause"
] | null | null | null | #include <hermit/flatten_iterator.hpp>
#include <iostream>
#include <vector>
#include <algorithm>
int main() {
std::vector< std::vector< int > > vec = { { 1, 2 }, { 3, 4 } };
hermit::flatten_iterator< std::vector< std::vector< int > >::iterator > begin( vec.begin() );
hermit::flatten_iterator< std::vector< std::... | 34.307692 | 95 | 0.612108 | [
"vector"
] |
ffd9b84298fdbf8ef4e6e106e521c1635e63acbd | 3,750 | cpp | C++ | generator/aipr.cpp | RuoAndo/Usenix_LISA19 | 966ee9593cf924ef8a8ace45cdb826b74b3b9001 | [
"MIT"
] | null | null | null | generator/aipr.cpp | RuoAndo/Usenix_LISA19 | 966ee9593cf924ef8a8ace45cdb826b74b3b9001 | [
"MIT"
] | null | null | null | generator/aipr.cpp | RuoAndo/Usenix_LISA19 | 966ee9593cf924ef8a8ace45cdb826b74b3b9001 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <vector>
#include <random>
#include <vector>
#include <bitset>
#include<fstream>
#include <functional> //for std::function
#include <algorithm> //for std::generate_n
typedef std::vector<char> char_array;
char_array charset()
{
//Change this to... | 20.27027 | 79 | 0.548 | [
"vector"
] |
ffda3702a972395a7473a33d9ac4b744f1720abb | 2,217 | cpp | C++ | Source/SprueEngine/Libs/igl/matlab/parse_rhs.cpp | Qt-Widgets/TexGraph | 8fe72cea1afcf5e235c810003bf4ee062bb3fc13 | [
"MIT"
] | 35 | 2017-04-07T22:49:41.000Z | 2021-08-03T13:59:20.000Z | Source/SprueEngine/Libs/igl/matlab/parse_rhs.cpp | Qt-Widgets/TexGraph | 8fe72cea1afcf5e235c810003bf4ee062bb3fc13 | [
"MIT"
] | 1 | 2017-04-13T17:43:54.000Z | 2017-04-15T04:17:37.000Z | Source/SprueEngine/Libs/igl/matlab/parse_rhs.cpp | Qt-Widgets/TexGraph | 8fe72cea1afcf5e235c810003bf4ee062bb3fc13 | [
"MIT"
] | 7 | 2019-03-11T19:26:53.000Z | 2021-03-04T07:17:10.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at htt... | 37.576271 | 176 | 0.676139 | [
"mesh",
"geometry"
] |
ffdc5d0d10b42194c4294c67fe2fbe23cb343530 | 1,031 | hh | C++ | thirdparty/vpp/vpp/core/colorspace_conversions.hh | pdebus/MTVMTL | 65a7754b34d1f6a1e86d15e3c2d4346b9418414f | [
"MIT"
] | 3 | 2017-05-08T12:40:46.000Z | 2019-06-02T05:11:01.000Z | thirdparty/vpp/vpp/core/colorspace_conversions.hh | pdebus/MTVMTL | 65a7754b34d1f6a1e86d15e3c2d4346b9418414f | [
"MIT"
] | null | null | null | thirdparty/vpp/vpp/core/colorspace_conversions.hh | pdebus/MTVMTL | 65a7754b34d1f6a1e86d15e3c2d4346b9418414f | [
"MIT"
] | null | null | null | #ifndef VPP_CORE_COLORSPACE_CONVERSIONS_HH__
# define VPP_CORE_COLORSPACE_CONVERSIONS_HH__
# include <vpp/core/pixel_wise.hh>
namespace vpp
{
template <typename T, typename U>
void rgb_to_graylevel(const vector<U, 3>& i, vector<T, 1>& o)
{
o[0] = (i[0] + i[1] + i[2]) / 3;
}
template <typename T, typen... | 22.911111 | 68 | 0.611057 | [
"vector"
] |
ffdc7d4cfdf3a1903f49523730e3ff795a0de126 | 882 | cpp | C++ | UVa Online Judge/11679.cpp | xiezeju/ACM-Code-Archives | db135ed0953adcf5c7ab37a00b3f9458291ce0d7 | [
"MIT"
] | 1 | 2022-02-24T12:44:30.000Z | 2022-02-24T12:44:30.000Z | UVa Online Judge/11679.cpp | xiezeju/ACM-Code-Archives | db135ed0953adcf5c7ab37a00b3f9458291ce0d7 | [
"MIT"
] | null | null | null | UVa Online Judge/11679.cpp | xiezeju/ACM-Code-Archives | db135ed0953adcf5c7ab37a00b3f9458291ce0d7 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
const int INF = 1e9;
const long long LLINF = 4e18;
const double EPS = 1e-9;
int reserves[22];
int main() {
ios::sync_with_stdio(false);
int b, n, from, to, value;
... | 21.512195 | 48 | 0.441043 | [
"vector"
] |
ffdcc1ad9c347052f3399674e3eed6415cd79cc8 | 6,426 | cpp | C++ | src/cascadia/UnitTests_TerminalCore/SelectionTest.cpp | peterdn/terminal | 315abf6fa6e096f0ad8ba7db68fa8a3fd9a591b1 | [
"MIT"
] | 1 | 2021-03-24T02:51:15.000Z | 2021-03-24T02:51:15.000Z | src/cascadia/UnitTests_TerminalCore/SelectionTest.cpp | lhmrnfrzrfr/terminal | 315abf6fa6e096f0ad8ba7db68fa8a3fd9a591b1 | [
"MIT"
] | null | null | null | src/cascadia/UnitTests_TerminalCore/SelectionTest.cpp | lhmrnfrzrfr/terminal | 315abf6fa6e096f0ad8ba7db68fa8a3fd9a591b1 | [
"MIT"
] | 1 | 2019-08-09T11:28:33.000Z | 2019-08-09T11:28:33.000Z | /*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT license.
*
* This File was generated using the VisualTAEF C++ Project Wizard.
* Class Name: SelectionTest
*/
#include "precomp.h"
#include <WexTestClass.h>
#include "../cascadia/TerminalCore/Terminal.hpp"
#include "../renderer/inc/DummyRende... | 35.307692 | 116 | 0.528945 | [
"render"
] |
ffdd0953cd334c8de03f25ab54964d86a2a15451 | 47,096 | cpp | C++ | python_sdk_18.04/samples/gui/QtCheetahPythonGainUI/QtCheetahPythonGainUI.cpp | vignesh-narayanaswamy/camsdk | 5c6aa96d0715cd77c42abb90449b740a2940d8a0 | [
"Apache-2.0"
] | null | null | null | python_sdk_18.04/samples/gui/QtCheetahPythonGainUI/QtCheetahPythonGainUI.cpp | vignesh-narayanaswamy/camsdk | 5c6aa96d0715cd77c42abb90449b740a2940d8a0 | [
"Apache-2.0"
] | null | null | null | python_sdk_18.04/samples/gui/QtCheetahPythonGainUI/QtCheetahPythonGainUI.cpp | vignesh-narayanaswamy/camsdk | 5c6aa96d0715cd77c42abb90449b740a2940d8a0 | [
"Apache-2.0"
] | null | null | null | #include "QtCheetahPythonGainUI.h"
//Imperx Camera API Functions
#include "IpxCameraApi.h"
//Imperx Image Functions
#include "IpxImage.h"
//Imperx Camera API Functions
#include "IpxCameraGuiApi.h"
//Imperx Display Functions
#include "IpxDisplay.h"
#include <string>
#include <algorithm>
#include <iostream>
... | 36.996072 | 152 | 0.57697 | [
"object",
"model"
] |
ffe02c5c74af425510ac737ae84ffc167f02971f | 4,090 | cpp | C++ | src/simple_schedule/main.cpp | trajectory-capstone/trajectory-capstone-2020 | bc69ce95ee5e7a72049e7116b954cf61ec440d9f | [
"MIT"
] | null | null | null | src/simple_schedule/main.cpp | trajectory-capstone/trajectory-capstone-2020 | bc69ce95ee5e7a72049e7116b954cf61ec440d9f | [
"MIT"
] | null | null | null | src/simple_schedule/main.cpp | trajectory-capstone/trajectory-capstone-2020 | bc69ce95ee5e7a72049e7116b954cf61ec440d9f | [
"MIT"
] | null | null | null | //!
//! \file
//!
//! \brief This is an example of running a simple schedule that includes an Application, a LPPM, an Attack, and a Metric
#include "include/Public.h"
using namespace lpm;
int f(int user_start, int user_end, int tr_start, int tr_end, int loc_start, int loc_end,int lppm1,float lppm2, float lppm3, flo... | 33.252033 | 195 | 0.659658 | [
"object",
"vector"
] |
ffe04381303c36e929f1f6bb5e5cb4f6af4b2b44 | 274 | cpp | C++ | src/RRTStar.cpp | Ch0p1k3/PathPlanningAlgorithms-RRT-RRTstar- | ece79c012f60285b4c397cb34c0b1ea49aebf7a4 | [
"MIT"
] | 4 | 2021-04-25T17:35:38.000Z | 2021-07-07T12:48:33.000Z | src/RRTStar.cpp | Ch0p1k3/PathPlanningAlgorithms-RRT-RRTstar- | ece79c012f60285b4c397cb34c0b1ea49aebf7a4 | [
"MIT"
] | null | null | null | src/RRTStar.cpp | Ch0p1k3/PathPlanningAlgorithms-RRT-RRTstar- | ece79c012f60285b4c397cb34c0b1ea49aebf7a4 | [
"MIT"
] | 1 | 2021-07-07T12:48:38.000Z | 2021-07-07T12:48:38.000Z | #include "RRTStar.hpp"
void RRTStar::changeEdge(Tree::Node* parent, Tree::Node* son, Tree::Node* newParent)
{
tree.changeEdge(parent, son, newParent);
}
void RRTStar::getNear(const Geometry::Point& x, std::vector<Tree::Node*>& res)
{
tree.getNear(x, gamma, res);
} | 24.909091 | 84 | 0.689781 | [
"geometry",
"vector"
] |
ffe0aab62d5b68ac76e627e501ba05805208cbd0 | 14,541 | cpp | C++ | dbms/src/Interpreters/Set.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 85 | 2022-03-25T09:03:16.000Z | 2022-03-25T09:45:03.000Z | dbms/src/Interpreters/Set.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 7 | 2022-03-25T08:59:10.000Z | 2022-03-25T09:40:13.000Z | dbms/src/Interpreters/Set.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... | 32.972789 | 148 | 0.647823 | [
"vector"
] |
fff241320ed9f5ba774ef4169ae7f4aa5e880c0e | 873 | hpp | C++ | hlt/log.hpp | robert-ko/halite2 | c3d452a4ac6d0dc5206c51f2eb6b78331e08bf01 | [
"MIT"
] | 29 | 2018-01-23T19:40:03.000Z | 2019-07-14T00:40:17.000Z | hlt/log.hpp | robert-ko/halite2 | c3d452a4ac6d0dc5206c51f2eb6b78331e08bf01 | [
"MIT"
] | null | null | null | hlt/log.hpp | robert-ko/halite2 | c3d452a4ac6d0dc5206c51f2eb6b78331e08bf01 | [
"MIT"
] | 5 | 2018-01-25T18:55:06.000Z | 2019-11-17T19:31:16.000Z | #pragma once
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
namespace hlt {
struct Log {
private:
std::vector<std::string> logs;
std::ofstream file;
void initialize(const std::string& filename) {
file.open(filename, std::ios::trunc | std::ios::out);... | 19.4 | 65 | 0.530355 | [
"vector"
] |
fff67e97d3009992984ef09474930d954eeaa55b | 9,491 | cpp | C++ | modules/SofaMiscCollision/SpatialGridPointModel.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | modules/SofaMiscCollision/SpatialGridPointModel.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | modules/SofaMiscCollision/SpatialGridPointModel.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | 36.929961 | 170 | 0.477505 | [
"vector",
"model"
] |
fffc4c9240f6ee243034220770c326f9dc752c1e | 6,875 | cc | C++ | third_party/blink/renderer/core/html/media/media_custom_controls_fullscreen_detector.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/core/html/media/media_custom_controls_fullscreen_detector.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/core/html/media/media_custom_controls_fullscreen_detector.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 "third_party/blink/renderer/core/html/media/media_custom_controls_fullscreen_detector.h"
#include "third_party/blink/public/platform/task_type.h... | 37.162162 | 97 | 0.757527 | [
"geometry",
"vector"
] |
08031222c316c79bcd7f1d4a8ccfa19a0355b147 | 92,826 | cpp | C++ | src/mame/drivers/thomson.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/thomson.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/thomson.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Antoine Mine
/**********************************************************************
Copyright (C) Antoine Mine' 2006
Thomson 8-bit micro-computers.
A 6809E-based French family of personal computers developed in the 80's.
Despite their rather high price and poor d... | 39.703165 | 139 | 0.656228 | [
"model"
] |
0803b039b400f2e9a6c83dd1eac061cc221fad31 | 3,554 | cpp | C++ | weex_core/Source/core/render/node/render_appbar.cpp | wyon/incubator-weex | fcd225f42b6647b27bd96e25cef344b7f1fd4bcf | [
"Apache-2.0"
] | 1 | 2019-09-24T07:57:49.000Z | 2019-09-24T07:57:49.000Z | weex_core/Source/core/render/node/render_appbar.cpp | wyon/incubator-weex | fcd225f42b6647b27bd96e25cef344b7f1fd4bcf | [
"Apache-2.0"
] | 2 | 2017-08-14T02:18:45.000Z | 2019-05-30T08:30:22.000Z | weex_core/Source/core/render/node/render_appbar.cpp | wyon/incubator-weex | fcd225f42b6647b27bd96e25cef344b7f1fd4bcf | [
"Apache-2.0"
] | 3 | 2019-05-30T09:30:43.000Z | 2019-10-10T11:09:42.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... | 38.630435 | 80 | 0.674451 | [
"render"
] |
0805a3b259032adcbf73a879734e2bcc55bb66d2 | 252 | hpp | C++ | include/SearchA2DMatrixII.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 43 | 2015-10-10T12:59:52.000Z | 2018-07-11T18:07:00.000Z | include/SearchA2DMatrixII.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | null | null | null | include/SearchA2DMatrixII.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 11 | 2015-10-10T14:41:11.000Z | 2018-07-28T06:03:16.000Z | #ifndef SEARCH_A_2D_MATRIX_II_HPP_
#define SEARCH_A_2D_MATRIX_II_HPP_
#include <vector>
using namespace std;
class SearchA2DMatrixII {
public:
bool searchMatrix(vector<vector<int>> &matrix, int target);
};
#endif // SEARCH_A_2D_MATRIX_II_HPP_
| 16.8 | 63 | 0.789683 | [
"vector"
] |
080dd3bafe9059de8df0932e7a3b69565f12d0e2 | 8,667 | cxx | C++ | Applications/SlicerApp/Main.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Applications/SlicerApp/Main.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Applications/SlicerApp/Main.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | /*==============================================================================
Program: 3D Slicer
Copyright (c) Kitware Inc.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distributed under the License... | 30.953571 | 105 | 0.692166 | [
"vector",
"3d"
] |
080f09405b37fd3103719ba210b5deff766ea955 | 6,892 | cpp | C++ | src/trunk/apps/tools/scxmlmerge/scxmlmerge.cpp | damb/seiscomp3 | 560a8f7ae43737ae7826fb1ffca76a9f601cf9dc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 94 | 2015-02-04T13:57:34.000Z | 2021-11-01T15:10:06.000Z | src/trunk/apps/tools/scxmlmerge/scxmlmerge.cpp | damb/seiscomp3 | 560a8f7ae43737ae7826fb1ffca76a9f601cf9dc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 233 | 2015-01-28T15:16:46.000Z | 2021-08-23T11:31:37.000Z | src/trunk/apps/tools/scxmlmerge/scxmlmerge.cpp | damb/seiscomp3 | 560a8f7ae43737ae7826fb1ffca76a9f601cf9dc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 95 | 2015-02-13T15:53:30.000Z | 2021-11-02T14:54:54.000Z | /***************************************************************************
* Copyright (C) by gempa GmbH *
* EMail: jabe@gempa.de *
* *
* You can... | 35.163265 | 94 | 0.581834 | [
"object",
"vector"
] |
080f51e384ac2d627f76ff5223590c499932b1ca | 8,404 | cpp | C++ | eval/src/vespa/eval/instruction/sparse_112_dot_product.cpp | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | null | null | null | eval/src/vespa/eval/instruction/sparse_112_dot_product.cpp | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | null | null | null | eval/src/vespa/eval/instruction/sparse_112_dot_product.cpp | Anlon-Burke/vespa | 5ecd989b36cc61716bf68f032a3482bf01fab726 | [
"Apache-2.0"
] | null | null | null | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "sparse_112_dot_product.h"
#include <vespa/eval/eval/fast_value.hpp>
#include <vespa/vespalib/util/typify.h>
#include <vespa/vespalib/util/require.h>
#include <vespa/eval/eval/visit_stuff.h>
#include <algo... | 35.459916 | 125 | 0.59674 | [
"vector",
"model"
] |
080feed9e38b454746e262dea9a7ee342e7257bb | 2,268 | cpp | C++ | CODEFORCES/306/c.cpp | henviso/contests | aa8a5ce9ed4524e6c3130ee73af7640e5a86954c | [
"Apache-2.0"
] | null | null | null | CODEFORCES/306/c.cpp | henviso/contests | aa8a5ce9ed4524e6c3130ee73af7640e5a86954c | [
"Apache-2.0"
] | null | null | null | CODEFORCES/306/c.cpp | henviso/contests | aa8a5ce9ed4524e6c3130ee73af7640e5a86954c | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <stack>
#include <algorithm>
#include <cctype>
#include <vector>
#include <queue>
#include <tr1/unordered_map>
#include <cmath>
#include <map>
#include <bitset>
#include <set>
#include <iomanip>
#include <cstring>
#include <unistd.h>
using namespace std;... | 28.708861 | 68 | 0.527778 | [
"vector"
] |
08107f935f09daebaa7366bda02f32ea6aece0e7 | 2,585 | hpp | C++ | include/eve/detail/function/simd/common/swizzle_helpers.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | include/eve/detail/function/simd/common/swizzle_helpers.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | include/eve/detail/function/simd/common/swizzle_helpers.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... | 34.013158 | 100 | 0.495164 | [
"vector"
] |
081a6f8f4f34606021caf0c0b982cf8f355c43b7 | 2,380 | cpp | C++ | graph-source-code/141-D/4306374.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/141-D/4306374.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/141-D/4306374.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | //Language: GNU C++
#include <cstdio>
#include <cstring>
#include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <queue>
using namespace std;
typedef long long ll ;
const int MAXN = 2*(int)1e5 + 10 ;
int n,L;
vector<int> v ;
int st[MAXN],ed[MAXN];
ll cost[MAXN] ;
map<i... | 27.045455 | 79 | 0.447899 | [
"vector"
] |
081cd8fac83fb1e0e86e3b3ce6e451ffc6e124bd | 93,025 | cpp | C++ | HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Main/src-client/GuestSessionImplTasks.cpp | roughk/CSCI-49XX-OpenSource | 74268cbca8bcda3023b2350d046e2dca2853a3ef | [
"BSD-2-Clause",
"CC-BY-4.0"
] | null | null | null | HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Main/src-client/GuestSessionImplTasks.cpp | roughk/CSCI-49XX-OpenSource | 74268cbca8bcda3023b2350d046e2dca2853a3ef | [
"BSD-2-Clause",
"CC-BY-4.0"
] | null | null | null | HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Main/src-client/GuestSessionImplTasks.cpp | roughk/CSCI-49XX-OpenSource | 74268cbca8bcda3023b2350d046e2dca2853a3ef | [
"BSD-2-Clause",
"CC-BY-4.0"
] | null | null | null | /* $Id: GuestSessionImplTasks.cpp 73040 2018-07-10 16:08:51Z vboxsync $ */
/** @file
* VirtualBox Main - Guest session tasks.
*/
/*
* Copyright (C) 2012-2018 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software... | 37.135729 | 195 | 0.510056 | [
"object",
"vector"
] |
081e22d08d776cd75cd3ee21dfa52edb18117eed | 26,619 | cc | C++ | sparse_operation_kit/kit_cc/kit_cc_infra/src/parameters/raw_param.cc | marsmiao/HugeCTR | c9ff359a69565200fcc0c7aae291d9c297bea70e | [
"Apache-2.0"
] | null | null | null | sparse_operation_kit/kit_cc/kit_cc_infra/src/parameters/raw_param.cc | marsmiao/HugeCTR | c9ff359a69565200fcc0c7aae291d9c297bea70e | [
"Apache-2.0"
] | null | null | null | sparse_operation_kit/kit_cc/kit_cc_infra/src/parameters/raw_param.cc | marsmiao/HugeCTR | c9ff359a69565200fcc0c7aae291d9c297bea70e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021, NVIDIA 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 law ... | 52.29666 | 126 | 0.630039 | [
"shape",
"vector"
] |
081ef68e0915eeb36be26943e21f7cc58625a240 | 19,064 | cpp | C++ | Programs/ResourceEditor/Classes/PropertyPanel/Private/PropertyModelExt.cpp | stinvi/dava.engine | 2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e | [
"BSD-3-Clause"
] | 26 | 2018-09-03T08:48:22.000Z | 2022-02-14T05:14:50.000Z | Programs/ResourceEditor/Classes/PropertyPanel/Private/PropertyModelExt.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | null | null | null | Programs/ResourceEditor/Classes/PropertyPanel/Private/PropertyModelExt.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | 45 | 2018-05-11T06:47:17.000Z | 2022-02-03T11:30:55.000Z | #include "Classes/PropertyPanel/PropertyModelExt.h"
#include "Classes/PropertyPanel/PropertyPanelCommon.h"
#include "Classes/Qt/DockParticleEditor/TimeLineWidget.h"
#include <REPlatform/Commands/AddComponentCommand.h>
#include <REPlatform/Commands/KeyedArchiveCommand.h>
#include <REPlatform/Commands/SetFieldValueComma... | 36.037807 | 206 | 0.646664 | [
"vector",
"model"
] |
08213d7968e8fb47998da42dc10a1752f15f42b3 | 8,140 | cc | C++ | src/worker.cc | amchiclet/cloud-profiler-java | 4ce94fee4fafcb450f589c0989af844186e4588a | [
"Apache-2.0"
] | 23 | 2018-07-11T04:18:56.000Z | 2022-03-29T22:18:18.000Z | src/worker.cc | amchiclet/cloud-profiler-java | 4ce94fee4fafcb450f589c0989af844186e4588a | [
"Apache-2.0"
] | 31 | 2018-07-11T01:53:10.000Z | 2022-03-15T11:06:09.000Z | src/worker.cc | amchiclet/cloud-profiler-java | 4ce94fee4fafcb450f589c0989af844186e4588a | [
"Apache-2.0"
] | 19 | 2018-07-11T00:40:11.000Z | 2022-01-26T00:13:27.000Z | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 36.666667 | 79 | 0.678256 | [
"vector"
] |
083396895ab1357bf57327af6dfd4d290f6b3372 | 1,738 | cpp | C++ | src/rfx/rendering/MaterialNode.cpp | rfruesmer/rfx | 96c15a11ee8e2192c9d2ff233924eee884835f17 | [
"MIT"
] | null | null | null | src/rfx/rendering/MaterialNode.cpp | rfruesmer/rfx | 96c15a11ee8e2192c9d2ff233924eee884835f17 | [
"MIT"
] | null | null | null | src/rfx/rendering/MaterialNode.cpp | rfruesmer/rfx | 96c15a11ee8e2192c9d2ff233924eee884835f17 | [
"MIT"
] | null | null | null | #include "rfx/pch.h"
#include "rfx/rendering/MaterialNode.h"
#include <utility>
using namespace rfx;
using namespace std;
// ---------------------------------------------------------------------------------------------------------------------
MaterialNode::MaterialNode(
const MaterialPtr& material,
const M... | 28.032258 | 120 | 0.435558 | [
"mesh",
"model"
] |
083738d3746fe8445de61b3a80fa2cb8b204fd1a | 27,442 | cpp | C++ | B2G/system/media/wilhelm/src/android/MediaPlayer_to_android.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/system/media/wilhelm/src/android/MediaPlayer_to_android.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/system/media/wilhelm/src/android/MediaPlayer_to_android.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 app... | 36.638184 | 100 | 0.626412 | [
"object"
] |
36b4c1eaf55df70c6f1e87a6f2f1a2f1d9ba518f | 1,348 | cpp | C++ | android/face-recognition/app/src/main/cpp/face-recognition.cpp | wang-junjian/face-recognition-services | 54fb33eeb83de36d2080dd8bd08770b56d02f9de | [
"MIT"
] | 1 | 2020-06-01T03:55:01.000Z | 2020-06-01T03:55:01.000Z | android/face-recognition/app/src/main/cpp/face-recognition.cpp | wang-junjian/face-recognition-services | 54fb33eeb83de36d2080dd8bd08770b56d02f9de | [
"MIT"
] | null | null | null | android/face-recognition/app/src/main/cpp/face-recognition.cpp | wang-junjian/face-recognition-services | 54fb33eeb83de36d2080dd8bd08770b56d02f9de | [
"MIT"
] | null | null | null | #include <jni.h>
#include <string>
#include <dlib/image_processing/frontal_face_detector.h>
#include <dlib/image_io.h>
#include "jni/com_wangjunjian_facerecognition_FaceRecognition.h"
using namespace dlib;
using namespace std;
JNIEXPORT void JNICALL Java_com_wangjunjian_facerecognition_FaceRecognition_detect
... | 33.7 | 82 | 0.696588 | [
"vector"
] |
36b7ed729e8b7385025fe86d9419f5bd98664e9a | 804 | cpp | C++ | C++/smallest-k-length-subsequence-with-occurrences-of-a-letter.cpp | Priyansh2/LeetCode-Solutions | d613da1881ec2416ccbe15f20b8000e36ddf1291 | [
"MIT"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | C++/smallest-k-length-subsequence-with-occurrences-of-a-letter.cpp | Priyansh2/LeetCode-Solutions | d613da1881ec2416ccbe15f20b8000e36ddf1291 | [
"MIT"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | C++/smallest-k-length-subsequence-with-occurrences-of-a-letter.cpp | Priyansh2/LeetCode-Solutions | d613da1881ec2416ccbe15f20b8000e36ddf1291 | [
"MIT"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | // Time: O(n)
// Space: O(n)
class Solution {
public:
string smallestSubsequence(string s, int k, char letter, int repetition) {
string stk;
vector<int> suffix(size(s) + 1);
for (int i = size(suffix) - 2; i >= 0; --i) {
suffix[i] = suffix[i + 1] + (s[i] == letter);
}
... | 33.5 | 144 | 0.440299 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.