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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23466e263dde9ef46a3cf9510159df9fb3509fe5 | 3,518 | hpp | C++ | src/solvers/gecode/inspectors/dataflowinspector.hpp | castor-software/unison | 9f8caf78230f956a57b50a327f8d1dca5839bf64 | [
"BSD-3-Clause"
] | 88 | 2016-09-27T15:20:07.000Z | 2022-03-24T15:23:06.000Z | src/solvers/gecode/inspectors/dataflowinspector.hpp | castor-software/unison | 9f8caf78230f956a57b50a327f8d1dca5839bf64 | [
"BSD-3-Clause"
] | 55 | 2017-02-14T15:21:03.000Z | 2021-09-11T11:12:25.000Z | src/solvers/gecode/inspectors/dataflowinspector.hpp | castor-software/unison | 9f8caf78230f956a57b50a327f8d1dca5839bf64 | [
"BSD-3-Clause"
] | 10 | 2016-11-22T15:03:46.000Z | 2020-07-13T21:34:31.000Z | /*
* Main authors:
* Roberto Castaneda Lozano <rcas@acm.org>
*
* This file is part of Unison, see http://unison-code.github.io
*
* Copyright (c) 2016, RISE SICS AB
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... | 35.18 | 80 | 0.727686 | [
"vector",
"model"
] |
23480700825b4dc86684628a7f57ae87a8df20a1 | 2,619 | cpp | C++ | src/guidance.v2.02/libs/phylogeny/tests/bootstrap_test.cpp | jlanga/smsk_selection | 08070c6d4a6fbd9320265e1e698c95ba80f81123 | [
"MIT"
] | 4 | 2021-07-18T05:20:20.000Z | 2022-01-03T10:22:33.000Z | src/guidance.v2.02/libs/phylogeny/tests/bootstrap_test.cpp | jlanga/smsk_selection | 08070c6d4a6fbd9320265e1e698c95ba80f81123 | [
"MIT"
] | 1 | 2017-08-21T07:26:13.000Z | 2018-11-08T13:59:48.000Z | src/guidance.v2.02/libs/phylogeny/tests/bootstrap_test.cpp | jlanga/smsk_orthofinder | 08070c6d4a6fbd9320265e1e698c95ba80f81123 | [
"MIT"
] | 2 | 2021-07-18T05:20:26.000Z | 2022-03-31T18:23:31.000Z | #include "bootstrap.h"
#include "treeUtil.h"
#include "someUtil.h"
using namespace std;
int main()
{
cout << "creating a bootstrap object from a file"<<endl;
string filename("bootstrap_test.txt");
vector<tree> tv(getStartingTreeVecFromFile(filename));
// first constractor
cout << " first constractor"<<e... | 26.72449 | 101 | 0.607866 | [
"object",
"vector"
] |
234a6424bddcebc5b555aba84f40bf95460dc09e | 3,467 | cpp | C++ | tests/FileWritingTests.cpp | heartofrain/AudioFile | 004065d01e9b7338580390d4fdbfbaa46adede4e | [
"MIT"
] | 1 | 2022-03-31T14:30:22.000Z | 2022-03-31T14:30:22.000Z | AudioFile/tests/FileWritingTests.cpp | DGoldDragon28/fir1 | 69209f13e453d24290750851345b38f38c657782 | [
"MIT"
] | null | null | null | AudioFile/tests/FileWritingTests.cpp | DGoldDragon28/fir1 | 69209f13e453d24290750851345b38f38c657782 | [
"MIT"
] | null | null | null | #include "doctest.h"
#include <iostream>
#include <vector>
#include <cmath>
#include <AudioFile.h>
//=============================================================
const std::string projectBuildDirectory = PROJECT_BINARY_DIR;
//=============================================================
// Writes an audio file with ... | 35.020202 | 177 | 0.563311 | [
"vector"
] |
054c11863ade986b46b4a0fe4b5cf42ab75ff7c5 | 3,690 | cpp | C++ | src/base/cef/cef_app.cpp | devcxx/zephyros | 3ba2c63c5d11bfab66b896e8e09287e222f645a2 | [
"Unlicense",
"MIT"
] | null | null | null | src/base/cef/cef_app.cpp | devcxx/zephyros | 3ba2c63c5d11bfab66b896e8e09287e222f645a2 | [
"Unlicense",
"MIT"
] | null | null | null | src/base/cef/cef_app.cpp | devcxx/zephyros | 3ba2c63c5d11bfab66b896e8e09287e222f645a2 | [
"Unlicense",
"MIT"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2015-2017 Vanamco AG, http://www.vanamco.com
*
* The MIT License (MIT)
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software... | 29.055118 | 95 | 0.711653 | [
"object"
] |
0550307d006883915b379fc85a627d1bbd13d69a | 23,572 | hpp | C++ | src/AST/AST.hpp | Naios/swy | c48f7eb4322aa7fd44a3bb82259787b89292733b | [
"Apache-2.0"
] | 19 | 2017-06-04T09:39:51.000Z | 2021-11-16T10:14:45.000Z | src/AST/AST.hpp | Naios/swy | c48f7eb4322aa7fd44a3bb82259787b89292733b | [
"Apache-2.0"
] | null | null | null | src/AST/AST.hpp | Naios/swy | c48f7eb4322aa7fd44a3bb82259787b89292733b | [
"Apache-2.0"
] | 1 | 2019-03-19T02:24:40.000Z | 2019-03-19T02:24:40.000Z |
/**
Copyright(c) 2016 - 2017 Denis Blank <denis.blank at outlook dot com>
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 require... | 32.246238 | 80 | 0.735746 | [
"vector"
] |
055343f08e96bcf37c112c39ad28c690abf9955d | 17,215 | cpp | C++ | Direct3D/StateManager/EffectStateManager.cpp | walbourn/directx-sdk-legacy-samples | 93e8cc554b5ecb5cd574a06071ed784b6cb73fc5 | [
"MIT"
] | 27 | 2021-03-01T23:50:39.000Z | 2022-03-04T03:27:17.000Z | Direct3D/StateManager/EffectStateManager.cpp | walbourn/directx-sdk-legacy-samples | 93e8cc554b5ecb5cd574a06071ed784b6cb73fc5 | [
"MIT"
] | 3 | 2021-03-02T00:39:56.000Z | 2021-12-02T19:50:03.000Z | Direct3D/StateManager/EffectStateManager.cpp | walbourn/directx-sdk-legacy-samples | 93e8cc554b5ecb5cd574a06071ed784b6cb73fc5 | [
"MIT"
] | 3 | 2021-03-29T16:23:54.000Z | 2022-03-05T08:35:05.000Z | //--------------------------------------------------------------------------------------
// File: EffectStateManager.h
//
// Implementation of a custom ID3DXEffectStateManager interface.
//
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License (MIT).
//----------------------------------------... | 38.598655 | 123 | 0.565205 | [
"render",
"vector"
] |
0553b07910e9102f4a5838dfc5e614b157ef1124 | 2,404 | hpp | C++ | example/doc_generator/src/translator/method_builder.hpp | sal-vage/d-injection | 85289edba0f7f91ef7ebccb8b3ab7f24d89ac79f | [
"BSL-1.0"
] | null | null | null | example/doc_generator/src/translator/method_builder.hpp | sal-vage/d-injection | 85289edba0f7f91ef7ebccb8b3ab7f24d89ac79f | [
"BSL-1.0"
] | 6 | 2016-01-24T18:07:34.000Z | 2016-01-24T18:10:52.000Z | example/doc_generator/src/translator/method_builder.hpp | sal-vage/d-injection | 85289edba0f7f91ef7ebccb8b3ab7f24d89ac79f | [
"BSL-1.0"
] | null | null | null | // Copyright Adam Lach 2013
// 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)
#ifndef METHOD_BUILDER_HPP
#define METHOD_BUILDER_HPP
#include "doxygen_input/xml_node.hpp"
#include "translator/... | 37.5625 | 122 | 0.638103 | [
"model"
] |
055421c6698d2dfdca6d379976501358c617aa53 | 3,992 | cpp | C++ | libs/cppdap/src/typeof.cpp | Scriptkiddi/SHADERed | bf9e1d4a770b6d710b3cac33051320c0f0ad9436 | [
"MIT"
] | 3,513 | 2019-06-28T15:02:24.000Z | 2022-03-31T14:48:51.000Z | libs/cppdap/src/typeof.cpp | Scriptkiddi/SHADERed | bf9e1d4a770b6d710b3cac33051320c0f0ad9436 | [
"MIT"
] | 258 | 2019-07-01T13:18:19.000Z | 2022-03-09T02:23:13.000Z | libs/cppdap/src/typeof.cpp | Scriptkiddi/SHADERed | bf9e1d4a770b6d710b3cac33051320c0f0ad9436 | [
"MIT"
] | 223 | 2019-06-29T18:09:42.000Z | 2022-03-29T05:33:34.000Z | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 27.531034 | 80 | 0.680611 | [
"object",
"vector"
] |
0554738920bc567d58a54d2173241295bbda0f2c | 10,882 | cpp | C++ | cpp/plugins/cucim.kit.cuslide/src/cuslide/cuslide.cpp | dillon-cullinan/cucim | 8da6ca9d5a644783fc6e68c8d11c93c542e49d2f | [
"Apache-2.0"
] | null | null | null | cpp/plugins/cucim.kit.cuslide/src/cuslide/cuslide.cpp | dillon-cullinan/cucim | 8da6ca9d5a644783fc6e68c8d11c93c542e49d2f | [
"Apache-2.0"
] | null | null | null | cpp/plugins/cucim.kit.cuslide/src/cuslide/cuslide.cpp | dillon-cullinan/cucim | 8da6ca9d5a644783fc6e68c8d11c93c542e49d2f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020, 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 ... | 35.562092 | 118 | 0.661827 | [
"shape",
"vector",
"model",
"3d"
] |
055c8c39289f0b595ac14fca8b11fc854705cc80 | 6,302 | cpp | C++ | pwiz/utility/chemistry/parse_isotopes.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz/utility/chemistry/parse_isotopes.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz/utility/chemistry/parse_isotopes.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | //
// $Id$
//
// 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, so... | 26.478992 | 104 | 0.538083 | [
"vector"
] |
055ec2e0d95e372c04d91b9c08e820b8131e5893 | 1,053 | cc | C++ | 19/TwoDArray.cc | sandeep-krishnamurthy/cpp_from_scratch | e1c5f339c3c6ff81ff3e460edc942acbcf834582 | [
"Apache-2.0"
] | 2 | 2018-11-30T17:57:35.000Z | 2018-11-30T18:13:09.000Z | 19/TwoDArray.cc | sandeep-krishnamurthy/cpp_from_scratch | e1c5f339c3c6ff81ff3e460edc942acbcf834582 | [
"Apache-2.0"
] | null | null | null | 19/TwoDArray.cc | sandeep-krishnamurthy/cpp_from_scratch | e1c5f339c3c6ff81ff3e460edc942acbcf834582 | [
"Apache-2.0"
] | 1 | 2018-11-30T18:13:14.000Z | 2018-11-30T18:13:14.000Z | #include <iostream>
#include "TwoDArray.h"
TwoDArray::TwoDArray() {
this->m_data = new std::vector<std::vector<int> >();
}
TwoDArray::TwoDArray(const std::vector<std::vector<int> >& data) {
this->m_data = new std::vector<std::vector<int> >(data.size());
for(std::vector<int> row : data) {
this->m_... | 24.488372 | 72 | 0.592593 | [
"vector"
] |
05638c1ddb67c1802319f7f1ea81d2bcc5a6dd74 | 12,188 | cpp | C++ | frameworks/compile/mclinker/tools/bcc/main.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2022-01-07T01:53:19.000Z | 2022-01-07T01:53:19.000Z | frameworks/compile/mclinker/tools/bcc/main.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | null | null | null | frameworks/compile/mclinker/tools/bcc/main.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2020-02-28T02:48:42.000Z | 2020-02-28T02:48:42.000Z | //===- mcld.cpp -----------------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------------------... | 32.851752 | 87 | 0.557351 | [
"object"
] |
056d4d5c6c87ad01ff0957938ee538631cdf63f9 | 9,366 | cpp | C++ | hardware_interface/test/test_resource_manager.cpp | suab321321/ros2_control | a8242055b006e757717d379509cf5f4fee33f992 | [
"Apache-2.0"
] | null | null | null | hardware_interface/test/test_resource_manager.cpp | suab321321/ros2_control | a8242055b006e757717d379509cf5f4fee33f992 | [
"Apache-2.0"
] | null | null | null | hardware_interface/test/test_resource_manager.cpp | suab321321/ros2_control | a8242055b006e757717d379509cf5f4fee33f992 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 34.307692 | 94 | 0.768738 | [
"vector"
] |
0570508d321968f9a90c711b30d79eb58da1d137 | 83,277 | cpp | C++ | modules/gles31/functional/es31fSampleVariableTests.cpp | TinkerBoard-Android/external_deqp | fbf76f4e30a964813b9cdfa0dd36dadc25220939 | [
"Apache-2.0"
] | 2 | 2020-12-29T08:00:51.000Z | 2021-08-30T06:32:10.000Z | modules/gles31/functional/es31fSampleVariableTests.cpp | TinkerBoard-Android/external_deqp | fbf76f4e30a964813b9cdfa0dd36dadc25220939 | [
"Apache-2.0"
] | null | null | null | modules/gles31/functional/es31fSampleVariableTests.cpp | TinkerBoard-Android/external_deqp | fbf76f4e30a964813b9cdfa0dd36dadc25220939 | [
"Apache-2.0"
] | 3 | 2017-01-21T00:56:25.000Z | 2020-10-31T12:00:02.000Z | /*-------------------------------------------------------------------------
* drawElements Quality Program OpenGL ES 3.1 Module
* -------------------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not ... | 34.946286 | 241 | 0.694874 | [
"render",
"vector"
] |
0576bda33ef0288dfc85be9a59382c9152f0ee16 | 953 | cpp | C++ | 1101-9999/1298. Maximum Candies You Can Get from Boxes.cpp | erichuang1994/leetcode-solution | d5b3bb3ce2a428a3108f7369715a3700e2ba699d | [
"MIT"
] | null | null | null | 1101-9999/1298. Maximum Candies You Can Get from Boxes.cpp | erichuang1994/leetcode-solution | d5b3bb3ce2a428a3108f7369715a3700e2ba699d | [
"MIT"
] | null | null | null | 1101-9999/1298. Maximum Candies You Can Get from Boxes.cpp | erichuang1994/leetcode-solution | d5b3bb3ce2a428a3108f7369715a3700e2ba699d | [
"MIT"
] | null | null | null | class Solution
{
public:
int maxCandies(vector<int> &status, vector<int> &candies, vector<vector<int>> &keys, vector<vector<int>> &contain, vector<int> &init)
{
vector<bool> have(status.size());
deque<int> dq;
long ret = 0;
for (auto i : init)
{
have[i] = true;
if (status[i])
{... | 20.276596 | 135 | 0.422875 | [
"vector"
] |
0580a77268c76ded873536dae75d0769be8143c8 | 2,526 | cpp | C++ | PHKControllerRecord.cpp | gerarddejong/home-kit-service | c338828fd15d62e436b932b616b7a06742a60b19 | [
"MIT"
] | 181 | 2015-06-24T17:16:13.000Z | 2022-01-30T19:02:29.000Z | PHKControllerRecord.cpp | gerarddejong/home-kit-service | c338828fd15d62e436b932b616b7a06742a60b19 | [
"MIT"
] | 33 | 2015-06-26T09:36:30.000Z | 2021-09-08T07:35:10.000Z | PHKControllerRecord.cpp | gerarddejong/home-kit-service | c338828fd15d62e436b932b616b7a06742a60b19 | [
"MIT"
] | 68 | 2015-06-24T20:06:37.000Z | 2021-06-01T02:07:56.000Z | //
// PHKKeyRecord.cpp
// Workbench
//
// Created by Wai Man Chan on 9/23/14.
//
//
#include "PHKControllerRecord.h"
#include "Configuration.h"
#include <vector>
#include <strings.h>
#if MCU
#else
#include <fstream>
#endif
using namespace std;
vector<PHKKeyRecord>readIn();
vector<PHKKeyRecord>controllerRecords... | 22.553571 | 114 | 0.649644 | [
"vector"
] |
05859d674e00e6b624f79f3cadc307eda26ba371 | 8,068 | cpp | C++ | copasi/utilities/CUnitDefinitionDB.cpp | tobiaselsaesser/COPASI | 7e61c1b1667b0f4acf8f3865fe557603f221c472 | [
"Artistic-2.0"
] | null | null | null | copasi/utilities/CUnitDefinitionDB.cpp | tobiaselsaesser/COPASI | 7e61c1b1667b0f4acf8f3865fe557603f221c472 | [
"Artistic-2.0"
] | null | null | null | copasi/utilities/CUnitDefinitionDB.cpp | tobiaselsaesser/COPASI | 7e61c1b1667b0f4acf8f3865fe557603f221c472 | [
"Artistic-2.0"
] | null | null | null | // Copyright (C) 2017 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and University of
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2016 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and The Unive... | 26.803987 | 114 | 0.620972 | [
"object",
"vector"
] |
0589115901ff4a16a2eca106e107e35c1c3b27be | 5,648 | cpp | C++ | qt-creator-opensource-src-4.6.1/tests/unit/unittest/projectupdater-test.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/tests/unit/unittest/projectupdater-test.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/tests/unit/unittest/projectupdater-test.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 37.653333 | 110 | 0.745042 | [
"vector"
] |
058c1431352586a82bb975682252bbd8b4c458f4 | 988 | hpp | C++ | stan/math/rev/mat/fun/grad.hpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | null | null | null | stan/math/rev/mat/fun/grad.hpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | null | null | null | stan/math/rev/mat/fun/grad.hpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_REV_MAT_FUN_GRAD_HPP
#define STAN_MATH_REV_MAT_FUN_GRAD_HPP
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/rev/mat/fun/Eigen_NumTraits.hpp>
#include <stan/math/rev/core.hpp>
namespace stan {
namespace math {
/**
* Propagate chain rule to calculate gradients starting from
* the sp... | 28.228571 | 66 | 0.691296 | [
"vector"
] |
059008b673063ca6d077b966277bd180564abdbf | 8,145 | cpp | C++ | Common/MdfModel/Path.cpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 2 | 2017-04-19T01:38:30.000Z | 2020-07-31T03:05:32.000Z | Common/MdfModel/Path.cpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | null | null | null | Common/MdfModel/Path.cpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 1 | 2021-12-29T10:46:12.000Z | 2021-12-29T10:46:12.000Z | //
// Copyright (C) 2007-2011 by Autodesk, Inc.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of version 2.1 of the GNU Lesser
// General Public License as published by the Free Software Foundation.
//
// This library is distributed in the hope that it will be use... | 32.58 | 81 | 0.376182 | [
"geometry"
] |
059284030b0e1161f6e8df9d67e1e821d21d0310 | 2,378 | cpp | C++ | fuzztest/main.cpp | ExternalRepositories/charls | 482417c66d34b0d015cf9ecdb55de7c9a76ef0c9 | [
"BSD-3-Clause"
] | 133 | 2015-10-19T05:01:49.000Z | 2022-03-01T08:46:03.000Z | fuzztest/main.cpp | ExternalRepositories/charls | 482417c66d34b0d015cf9ecdb55de7c9a76ef0c9 | [
"BSD-3-Clause"
] | 110 | 2015-12-14T09:43:15.000Z | 2022-03-20T22:51:14.000Z | fuzztest/main.cpp | ExternalRepositories/charls | 482417c66d34b0d015cf9ecdb55de7c9a76ef0c9 | [
"BSD-3-Clause"
] | 64 | 2015-09-28T07:59:32.000Z | 2022-03-19T22:57:04.000Z | // Copyright (c) Team CharLS.
// SPDX-License-Identifier: BSD-3-Clause
#include <charls/charls.h>
#ifdef _MSC_VER
#include <io.h>
#else
#include <unistd.h>
#define _write write
#define _read read
#define _open open
#endif
#include <fcntl.h>
#include <cstring>
#include <iostream>
#include <vector>
#if defined(_... | 22.865385 | 118 | 0.589992 | [
"vector"
] |
05937ee1e83e1122f8074e62b30d3eeafb940a77 | 1,263 | cc | C++ | topcoder/SRM/SRM-647-DIV-2/500/TravellingSalesmanEasy.cc | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | 2 | 2015-08-18T09:51:19.000Z | 2019-01-29T03:18:10.000Z | topcoder/SRM/SRM-647-DIV-2/500/TravellingSalesmanEasy.cc | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | null | null | null | topcoder/SRM/SRM-647-DIV-2/500/TravellingSalesmanEasy.cc | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | null | null | null | /* ========================================
* Points : 289.99
* Total : 500
* Status : AC
==========================================*/
#include <bits/stdc++.h>
using namespace std;
#define FOR(I,A,B) for(int I = (A); I < (B); ++I)
#define REP(I,N) FOR(I,0,N)
#define ALL(A) (A).begin(), (A).end()
#define MSG... | 21.775862 | 87 | 0.433888 | [
"vector"
] |
0593f5a19dd623b182d97849d5b0aa8e83da80d4 | 2,112 | cpp | C++ | tools/benchmark/lib/asaga_sparse.cpp | sumau/tick | 1b56924a35463e12f7775bc0aec182364f26f2c6 | [
"BSD-3-Clause"
] | 411 | 2017-03-30T15:22:05.000Z | 2022-03-27T01:58:34.000Z | tools/benchmark/lib/asaga_sparse.cpp | saurabhdash/tick | bbc561804eb1fdcb4c71b9e3e2d83a66e7b13a48 | [
"BSD-3-Clause"
] | 345 | 2017-04-13T14:53:20.000Z | 2022-03-26T00:46:22.000Z | tools/benchmark/lib/asaga_sparse.cpp | saurabhdash/tick | bbc561804eb1fdcb4c71b9e3e2d83a66e7b13a48 | [
"BSD-3-Clause"
] | 102 | 2017-04-25T11:47:53.000Z | 2022-02-15T11:45:49.000Z | #include <vector>
#include "tick/solver/asaga.h"
#include "tick/linear_model/model_logreg.h"
#include "tick/prox/prox_elasticnet.h"
#include "shared_saga.ipp"
//
// Benchmark asaga performances
// The command lines arguments are the following
// dataset : a sparse dataset (for example generated with benchmark_utils.... | 31.522388 | 117 | 0.713542 | [
"vector",
"model"
] |
0595c7d0b19d0e260c5b2c991103daaeaf5eebac | 792 | cpp | C++ | problems/maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts/solution.cpp | sauravchandra1/Leetcode | be89c7d8d93083326a94906a28bfad2342aa1dfe | [
"MIT"
] | null | null | null | problems/maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts/solution.cpp | sauravchandra1/Leetcode | be89c7d8d93083326a94906a28bfad2342aa1dfe | [
"MIT"
] | null | null | null | problems/maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts/solution.cpp | sauravchandra1/Leetcode | be89c7d8d93083326a94906a28bfad2342aa1dfe | [
"MIT"
] | null | null | null | class Solution {
public:
int maxArea(int h, int w, vector<int>& horizontalCuts, vector<int>& verticalCuts) {
sort(horizontalCuts.begin(), horizontalCuts.end());
sort(verticalCuts.begin(), verticalCuts.end());
int lh = horizontalCuts.size();
int lw = verticalCuts.size();
long ... | 41.684211 | 87 | 0.542929 | [
"vector"
] |
059a0ec89096ef9fa0fe5a5860e6c37eced4c813 | 20,991 | cpp | C++ | src/vi/addressrange.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | 3 | 2020-03-01T06:30:30.000Z | 2021-05-01T05:11:48.000Z | src/vi/addressrange.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | 96 | 2020-01-18T18:25:48.000Z | 2022-03-26T12:26:50.000Z | src/vi/addressrange.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Name: addressrange.cpp
// Purpose: Implementation of class wex::addressrange
// Author: Anton van Wezenbeek
// Copyright: (c) 2015-2021 Anton van Wezenbeek
//////////////////////////////////////////////////////////////////////... | 20.97003 | 80 | 0.556762 | [
"vector"
] |
05a5d6b9e4401041084e3feb2b66dc1cf6c32577 | 5,731 | cxx | C++ | modules/ardrivo/src/String.cxx | platisd/group-09 | a905c8c6409c0a3d73f53884e167571d8f482667 | [
"Apache-2.0"
] | 4 | 2020-04-03T08:30:37.000Z | 2020-07-08T08:55:30.000Z | modules/ardrivo/src/String.cxx | platisd/group-09 | a905c8c6409c0a3d73f53884e167571d8f482667 | [
"Apache-2.0"
] | 76 | 2020-04-03T09:15:45.000Z | 2020-12-17T16:55:14.000Z | modules/ardrivo/src/String.cxx | platisd/group-09 | a905c8c6409c0a3d73f53884e167571d8f482667 | [
"Apache-2.0"
] | 1 | 2020-06-02T15:52:31.000Z | 2020-06-02T15:52:31.000Z | /*
* String.cxx
* Copyright 2020 ItJustWorksTM
*
* 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 appli... | 45.125984 | 143 | 0.673006 | [
"transform"
] |
05a9c9ae53156d2b98637097b7e4a1d6d9407c5a | 2,620 | cpp | C++ | android-31/android/view/textservice/SpellCheckerInfo.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/view/textservice/SpellCheckerInfo.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/view/textservice/SpellCheckerInfo.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../content/ComponentName.hpp"
#include "../../content/pm/PackageManager.hpp"
#include "../../content/pm/ServiceInfo.hpp"
#include "../../graphics/drawable/Drawable.hpp"
#include "../../os/Parcel.hpp"
#include "./SpellCheckerSubtype.hpp"
#include "../../../JString.hpp"
#include "../../../JString.hpp"
#inclu... | 23.185841 | 114 | 0.703053 | [
"object"
] |
05ae4cf736c28f1966ad472a0e8b3a865ab62bcc | 23,272 | cpp | C++ | wms/State.cpp | fmidev/smartmet-plugin-wms | 908027c3dbe604c2e220718fd4926aa03673a8d6 | [
"MIT"
] | null | null | null | wms/State.cpp | fmidev/smartmet-plugin-wms | 908027c3dbe604c2e220718fd4926aa03673a8d6 | [
"MIT"
] | 6 | 2017-01-05T07:19:43.000Z | 2019-10-23T06:21:48.000Z | wms/State.cpp | fmidev/smartmet-plugin-wms | 908027c3dbe604c2e220718fd4926aa03673a8d6 | [
"MIT"
] | 1 | 2016-12-30T11:10:58.000Z | 2016-12-30T11:10:58.000Z | // ======================================================================
#include "State.h"
#include "Plugin.h"
#include <ctpp2/CDT.hpp>
#include <macgyver/Exception.h>
#include <macgyver/Hash.h>
#include <macgyver/StringConversion.h>
#include <stdexcept>
namespace SmartMet
{
namespace Plugin
{
namespace Dali
{
// -... | 27.411072 | 89 | 0.493383 | [
"object",
"model"
] |
05af15d90e1ed2e961d72eb5aecc07579bc5d276 | 6,747 | cpp | C++ | tc 160+/AlphabetPaths.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 3 | 2015-05-25T06:24:37.000Z | 2016-09-10T07:58:00.000Z | tc 160+/AlphabetPaths.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | null | null | null | tc 160+/AlphabetPaths.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 5 | 2015-05-25T06:24:40.000Z | 2021-08-19T19:22:29.000Z | #include <algorithm>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
const int MASK_ALL = (1<<21)-1;
int bc[1<<21];
int ind[256];
int A[21][21];
int m, n;
const int di[] = { -1, ... | 29.081897 | 152 | 0.507781 | [
"vector"
] |
05b07958f6c7d712352af75ff06f0241d6b86594 | 9,759 | cpp | C++ | src/p2p/node.cpp | nondejus/WaykiChain | dddd2b882f380e416b3069155bb3431fd5627258 | [
"MIT"
] | 1 | 2020-02-27T00:29:05.000Z | 2020-02-27T00:29:05.000Z | src/p2p/node.cpp | nondejus/WaykiChain | dddd2b882f380e416b3069155bb3431fd5627258 | [
"MIT"
] | null | null | null | src/p2p/node.cpp | nondejus/WaykiChain | dddd2b882f380e416b3069155bb3431fd5627258 | [
"MIT"
] | null | null | null | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2017-2019 The WaykiChain Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "node.h"
#include "netmessage.h"
#include <openssl/rand.h>
uint64_t ... | 31.892157 | 119 | 0.61328 | [
"vector"
] |
05b81a1ca2fefd83010c1103d81c863bf4d208cf | 1,797 | hpp | C++ | MiningSimulation/miner.hpp | ysyesilyurt/OperatingSystems | 9ebdf363670d17ef232435ebe4f974f2ac9f8a7a | [
"MIT"
] | null | null | null | MiningSimulation/miner.hpp | ysyesilyurt/OperatingSystems | 9ebdf363670d17ef232435ebe4f974f2ac9f8a7a | [
"MIT"
] | 1 | 2019-06-08T20:31:12.000Z | 2019-06-08T20:31:12.000Z | MiningSimulation/miner.hpp | ysyesilyurt/OperatingSystems | 9ebdf363670d17ef232435ebe4f974f2ac9f8a7a | [
"MIT"
] | 2 | 2021-06-19T18:04:33.000Z | 2022-02-27T10:24:20.000Z | #ifndef _OS_2019_MINER_HPP
#define _OS_2019_MINER_HPP
#include "monitor.hpp"
class Miner: public Monitor {
int oreCount;
int minerID;
unsigned int minerPeriod;
unsigned int capacity;
unsigned int totalAmount;
OreType oreType;
bool quit;
Condition cv;
std::vector<Ore> storage;
pub... | 17.97 | 95 | 0.553701 | [
"vector"
] |
05c0455d55893cc2c8e604230448116013f5998a | 6,914 | cc | C++ | ppapi/native_client/src/trusted/plugin/scriptable_plugin.cc | bluedump/BHO | 4ffead78823c4d655f05b0bc84cdb3c71ff4a1b2 | [
"Apache-2.0"
] | 2 | 2015-03-04T02:36:53.000Z | 2016-06-25T11:22:17.000Z | ppapi/native_client/src/trusted/plugin/scriptable_plugin.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ppapi/native_client/src/trusted/plugin/scriptable_plugin.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2015-02-09T08:49:30.000Z | 2017-08-26T02:03:34.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.
// Scriptable plugin implementation.
#include "ppapi/native_client/src/trusted/plugin/scriptable_plugin.h"
#include <string.h>
#include <sstream>
#... | 36.010417 | 78 | 0.649696 | [
"object",
"vector"
] |
05c18e33b8579c083c2e492808300bab1ddc9074 | 22,478 | cpp | C++ | enduser/netmeeting/av/nac/datapump.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | enduser/netmeeting/av/nac/datapump.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | enduser/netmeeting/av/nac/datapump.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*
DATAPUMP.C
*/
#include "precomp.h"
#include "confreg.h"
#include "mixer.h"
#include "dscStream.h"
extern UINT g_MinDSEmulAudioDelayMs; // minimum millisecs of introduced playback delay (DirectSound on emulated drivers)
extern UINT g_MinWaveAudioDelayMs; // minimum millisecs of introduced playback delay... | 24.040642 | 121 | 0.682267 | [
"object"
] |
05cbaec0cf0800ae794b090e6985d26a25fe637e | 2,598 | cpp | C++ | dev/Basic/shared/geospatial/network/Link.cpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 50 | 2018-12-21T08:21:38.000Z | 2022-01-24T09:47:59.000Z | dev/Basic/shared/geospatial/network/Link.cpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 2 | 2018-12-19T13:42:47.000Z | 2019-05-13T04:11:45.000Z | dev/Basic/shared/geospatial/network/Link.cpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 27 | 2018-11-28T07:30:34.000Z | 2022-02-05T02:22:26.000Z | //Copyright (c) 2013 Singapore-MIT Alliance for Research and Technology
//Licensed under the terms of the MIT License, as described in the file:
// license.txt (http://opensource.org/licenses/MIT)
#include <algorithm>
#include "Link.hpp"
#include "util/LangHelpers.hpp"
using namespace sim_mob;
Link::Link() :
len... | 18.167832 | 143 | 0.684373 | [
"vector"
] |
fe4d81085c3b3cc3af1cdac33bf82aa907ba78c9 | 25,620 | cpp | C++ | src/qt/qtbase/tests/auto/corelib/tools/qset/tst_qset.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | src/qt/qtbase/tests/auto/corelib/tools/qset/tst_qset.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/tests/auto/corelib/tools/qset/tst_qset.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercia... | 24.147031 | 106 | 0.535051 | [
"vector"
] |
fe4fbc89fdac6274b5b4d08497c6c99067f1dbb3 | 827 | cpp | C++ | 307.cpp | zfang399/LeetCode-Problems | 4cb25718a3d1361569f5ee6fde7b4a9a4fde2186 | [
"MIT"
] | 8 | 2018-10-31T11:00:19.000Z | 2020-07-31T05:25:06.000Z | 307.cpp | zfang399/LeetCode-Problems | 4cb25718a3d1361569f5ee6fde7b4a9a4fde2186 | [
"MIT"
] | null | null | null | 307.cpp | zfang399/LeetCode-Problems | 4cb25718a3d1361569f5ee6fde7b4a9a4fde2186 | [
"MIT"
] | 2 | 2018-05-31T11:29:22.000Z | 2019-09-11T06:34:40.000Z | class NumArray {
public:
vector<int> pre;
vector<int> cop;
vector<int> c;
NumArray(vector<int> nums) {
if(nums.size()==0) return;
pre.push_back(nums[0]);
cop.push_back(nums[0]);
c.push_back(0);
for(int i=1;i<nums.size();i++){
c.push_back(0);
... | 22.351351 | 64 | 0.511487 | [
"object",
"vector"
] |
fe516001fbfdc93e39f298088b101745cc795674 | 171 | cpp | C++ | src/domain/model/remote-account/RemoteAccount.cpp | agiledragon/transfer-money | 7656bf8803afe6545b1461e493e1b1995fe6d1e2 | [
"MIT"
] | 11 | 2019-06-20T11:56:35.000Z | 2021-05-26T16:03:50.000Z | src/domain/model/remote-account/RemoteAccount.cpp | agiledragon/transfer-money | 7656bf8803afe6545b1461e493e1b1995fe6d1e2 | [
"MIT"
] | null | null | null | src/domain/model/remote-account/RemoteAccount.cpp | agiledragon/transfer-money | 7656bf8803afe6545b1461e493e1b1995fe6d1e2 | [
"MIT"
] | 4 | 2019-08-25T12:35:34.000Z | 2022-03-26T20:06:06.000Z | #include <domain/model/remote-account/RemoteAccount.h>
RemoteAccount::RemoteAccount(const std::string& accountId)
: AggregateRoot(accountId), AccountInfo(accountId)
{
}
| 21.375 | 58 | 0.795322 | [
"model"
] |
fe525dc9cb72b69a872ecd4784bcf67c6adb2106 | 18,907 | cpp | C++ | src/app.cpp | cainiaoDJ/netplus | 03350d507830b3a39620374225d16c0b57623ef1 | [
"MIT"
] | null | null | null | src/app.cpp | cainiaoDJ/netplus | 03350d507830b3a39620374225d16c0b57623ef1 | [
"MIT"
] | null | null | null | src/app.cpp | cainiaoDJ/netplus | 03350d507830b3a39620374225d16c0b57623ef1 | [
"MIT"
] | null | null | null | #include <signal.h>
#include <netp/CPUID.hpp>
#include <netp/logger_broker.hpp>
#include <netp/io_event_loop.hpp>
#include <netp/dns_resolver.hpp>
#include <netp/socket.hpp>
#include <netp/logger/console_logger.hpp>
#include <netp/logger/file_logger.hpp>
#include <netp/os/api_wrapper.hpp>
#include <netp/signal_broker.... | 32.711073 | 184 | 0.696832 | [
"vector"
] |
fe530b683481daa9fb70f64321e223b9c2706300 | 4,278 | hpp | C++ | src/support/DP_functions.hpp | apeterson91/rndpp | b1e2c5a440a4e403abd5f2801296d84264e8922f | [
"MIT"
] | 1 | 2020-08-04T13:27:05.000Z | 2020-08-04T13:27:05.000Z | src/support/DP_functions.hpp | apeterson91/rndpp | b1e2c5a440a4e403abd5f2801296d84264e8922f | [
"MIT"
] | 3 | 2020-08-27T21:01:12.000Z | 2020-09-10T21:54:59.000Z | src/support/DP_functions.hpp | apeterson91/bendr | b1e2c5a440a4e403abd5f2801296d84264e8922f | [
"MIT"
] | null | null | null | #include "beta_rng.hpp"
Eigen::ArrayXXd initialize_mu(const int& L, const int& K, const double& mu_0,
const double& kappa_0, std::mt19937& rng){
Eigen::ArrayXXd out(L,K);
std::normal_distribution<double> rnorm(mu_0,sqrt(kappa_0));
for(int l = 0; l < L; l ++){
for( int k = 0; k ... | 30.126761 | 130 | 0.602852 | [
"vector"
] |
fe540044a0330b0977b3f45ed4edad9e3c6c90d1 | 3,402 | cxx | C++ | Filters/Core/Testing/Cxx/TestResampleWithDataSet2.cxx | inviCRO/VTK | a2dc2e79d4ecb8f6da900535b32e1a2a702c7f48 | [
"BSD-3-Clause"
] | null | null | null | Filters/Core/Testing/Cxx/TestResampleWithDataSet2.cxx | inviCRO/VTK | a2dc2e79d4ecb8f6da900535b32e1a2a702c7f48 | [
"BSD-3-Clause"
] | null | null | null | Filters/Core/Testing/Cxx/TestResampleWithDataSet2.cxx | inviCRO/VTK | a2dc2e79d4ecb8f6da900535b32e1a2a702c7f48 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Visualization Toolkit
Module: TestResampleWithDataset2.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This ... | 29.076923 | 82 | 0.692828 | [
"render"
] |
fe548d7b7fb90bb99f79630f63a1cdca798dbcda | 5,577 | cpp | C++ | aws-cpp-sdk-elasticmapreduce/source/model/InstanceFleet.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-elasticmapreduce/source/model/InstanceFleet.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-elasticmapreduce/source/model/InstanceFleet.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/elasticmapreduce/model/InstanceFleet.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
... | 26.306604 | 170 | 0.772996 | [
"model"
] |
fe5a70e436016e778a53d1c9c85cbcdf9f5aa226 | 4,748 | hpp | C++ | include/bohrium/jitk/graph.hpp | bh107/bohrium | 5b83e7117285fefc7779ed0e9acb0f8e74c7e068 | [
"Apache-2.0"
] | 236 | 2015-03-31T15:39:30.000Z | 2022-03-24T01:43:14.000Z | include/bohrium/jitk/graph.hpp | bh107/bohrium | 5b83e7117285fefc7779ed0e9acb0f8e74c7e068 | [
"Apache-2.0"
] | 324 | 2015-05-27T10:35:38.000Z | 2021-12-10T07:34:10.000Z | include/bohrium/jitk/graph.hpp | bh107/bohrium | 5b83e7117285fefc7779ed0e9acb0f8e74c7e068 | [
"Apache-2.0"
] | 41 | 2015-05-26T12:38:42.000Z | 2022-01-10T15:16:37.000Z | /*
This file is part of Bohrium and copyright (c) 2012 the Bohrium
team <http://www.bh107.org>.
Bohrium is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3
of the License, or (at your option) ... | 33.202797 | 111 | 0.657751 | [
"vector"
] |
fe5b936edaeb4f8652296025f1a51a6aface0138 | 1,213 | cpp | C++ | plugins/d3d9/src/state/core/rasterizer/make_states.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/d3d9/src/state/core/rasterizer/make_states.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/d3d9/src/state/core/rasterizer/make_states.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <sge/d3d9/d3dinclude.hpp>
#include <sge/d3d9/state/render.hpp>
#include <sge/d3d9/state/re... | 44.925926 | 94 | 0.716406 | [
"render"
] |
fe5c74d497c8a5ff86dd2e08e1a99d5df7ea53cb | 48,756 | cpp | C++ | src/support_data/ossimGmlSupportData.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 251 | 2015-10-20T09:08:11.000Z | 2022-03-22T18:16:38.000Z | src/support_data/ossimGmlSupportData.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 73 | 2015-11-02T17:12:36.000Z | 2021-11-15T17:41:47.000Z | src/support_data/ossimGmlSupportData.cpp | vladislav-horbatiuk/ossim | 82417ad868fac022672335e1684bdd91d662c18c | [
"MIT"
] | 146 | 2015-10-15T16:00:15.000Z | 2022-03-22T12:37:14.000Z | //---
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: David Burken
//
// Description: GML support data object.
//
//---
// $Id$
#include <ossim/support_data/ossimGmlSupportData.h>
#include <ossim/base/ossimDrect.h>
#include <ossim/base/ossimGrect.h>
#include... | 33.671271 | 175 | 0.590697 | [
"geometry",
"object",
"vector",
"model"
] |
fe5f47f70dabf063c1267e1302da74892684813b | 1,940 | cc | C++ | RAVL2/Math/Optimisation/Ransac.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Math/Optimisation/Ransac.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Math/Optimisation/Ransac.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2002, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here... | 26.216216 | 74 | 0.678351 | [
"model"
] |
fe61bf2bc11af8d0f8ad9ba2a85bf96c465c2db7 | 1,917 | cpp | C++ | sources/Video/BufferFormat/VertexFormat.cpp | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | 13 | 2017-03-21T22:46:18.000Z | 2020-07-30T01:31:57.000Z | sources/Video/BufferFormat/VertexFormat.cpp | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | null | null | null | sources/Video/BufferFormat/VertexFormat.cpp | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | 2 | 2018-07-23T19:56:41.000Z | 2020-07-30T01:32:01.000Z | /*
* Vertex format file
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "Video/BufferFormat/VertexFormat.h"
#include "Video/BufferFormat/InvalidVertexFormatException.h"
#include "Core/StringModifier.h"
namespace Fork
{
n... | 21.3 | 125 | 0.645801 | [
"vector"
] |
fe6aae13aa2c545e1cb3d82795c30c7c54057357 | 20,144 | cpp | C++ | src/SourceTable.cpp | sofea-model/sofea | a6ee54b59c6f96929592118ee77e286f71238c9e | [
"Apache-2.0"
] | null | null | null | src/SourceTable.cpp | sofea-model/sofea | a6ee54b59c6f96929592118ee77e286f71238c9e | [
"Apache-2.0"
] | 2 | 2020-01-31T06:21:44.000Z | 2020-01-31T06:26:52.000Z | src/SourceTable.cpp | sofea-model/sofea | a6ee54b59c6f96929592118ee77e286f71238c9e | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Dow, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | 38.96325 | 151 | 0.677571 | [
"geometry",
"model"
] |
fe6af685c7cf6f41090ca48c6f20eee594fed5ff | 2,455 | cpp | C++ | rosbag2_transport/test/rosbag2_transport/test_record.cpp | kurcha01-arm/rosbag2 | 2ad74a4d7a81bcb82e084d5d26c60415c644766e | [
"Apache-2.0"
] | null | null | null | rosbag2_transport/test/rosbag2_transport/test_record.cpp | kurcha01-arm/rosbag2 | 2ad74a4d7a81bcb82e084d5d26c60415c644766e | [
"Apache-2.0"
] | 1 | 2019-12-13T17:33:12.000Z | 2019-12-17T12:41:20.000Z | rosbag2_transport/test/rosbag2_transport/test_record.cpp | sriramster/rosbag2 | 86b0b86af134be871285c0a6e5a17e2a4b85f64c | [
"Apache-2.0"
] | null | null | null | // Copyright 2018, Bosch Software Innovations GmbH.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | 38.968254 | 90 | 0.771487 | [
"vector"
] |
fe6bfe873a399d056c454c27a6ddc046774fcb76 | 26,849 | cpp | C++ | inetsrv/msmq/src/apps/mqforgn/mqforgn.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/msmq/src/apps/mqforgn/mqforgn.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/msmq/src/apps/mqforgn/mqforgn.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1995-99 Microsoft Corporation. All rights reserved
Module Name:
mqforgn.cpp
Abstract:
Command line utility to create a foreign computer and foreign CN (Site)
Author:
RaphiR
Environment:
Platform-independent.
--*/
#define FORGN_EXPIRATION_MONTH 10
#pragma war... | 22.71489 | 126 | 0.542851 | [
"object"
] |
fe6d31b19d8194b60e5a678a619a89c67cce9520 | 20,098 | cpp | C++ | src/ga/GAStatistics.cpp | yuriyvolkov/galib | f3ca97f74f8a0318f3c0068006ea6cc0ae2adcd9 | [
"BSD-3-Clause"
] | 6 | 2017-12-07T16:19:08.000Z | 2022-03-23T09:22:11.000Z | src/ga/GAStatistics.cpp | yuriyvolkov/galib | f3ca97f74f8a0318f3c0068006ea6cc0ae2adcd9 | [
"BSD-3-Clause"
] | 3 | 2016-11-12T17:36:02.000Z | 2018-07-13T09:07:07.000Z | src/ga/GAStatistics.cpp | yuriyvolkov/galib | f3ca97f74f8a0318f3c0068006ea6cc0ae2adcd9 | [
"BSD-3-Clause"
] | 4 | 2015-09-20T18:24:39.000Z | 2021-04-09T18:26:55.000Z | // $Header$
/* ----------------------------------------------------------------------------
statistics.C
mbwall 28jul94
Copyright (c) 1995 Massachusetts Institute of Technology
all rights reserved
DESCRIPTION:
Definition of the statistics object.
------------------------------------------... | 33.949324 | 115 | 0.581302 | [
"object"
] |
fe6f51ea38aa06b39ae6a483648be9363b56d917 | 6,307 | cpp | C++ | Source/Foundation/bsfCore/Managers/BsHardwareBufferManager.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 1,745 | 2018-03-16T02:10:28.000Z | 2022-03-26T17:34:21.000Z | Source/Foundation/bsfCore/Managers/BsHardwareBufferManager.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 395 | 2018-03-16T10:18:20.000Z | 2021-08-04T16:52:08.000Z | Source/Foundation/bsfCore/Managers/BsHardwareBufferManager.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 267 | 2018-03-17T19:32:54.000Z | 2022-02-17T16:55:50.000Z | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#include "Managers/BsHardwareBufferManager.h"
#include "RenderAPI/BsVe... | 30.765854 | 149 | 0.759949 | [
"vector"
] |
fe7afe29b80423cb86a9eadc914ab99fa9ae399f | 15,855 | cc | C++ | src/host/Host.cc | rene-bayer/one | a61f4dea6d0868d6fd3a5cd097ee50a24c6b856f | [
"Apache-2.0"
] | 819 | 2015-01-06T20:49:04.000Z | 2022-03-29T17:07:27.000Z | src/host/Host.cc | rene-bayer/one | a61f4dea6d0868d6fd3a5cd097ee50a24c6b856f | [
"Apache-2.0"
] | 3,510 | 2015-02-11T17:42:16.000Z | 2022-03-31T17:28:22.000Z | src/host/Host.cc | rene-bayer/one | a61f4dea6d0868d6fd3a5cd097ee50a24c6b856f | [
"Apache-2.0"
] | 420 | 2015-01-06T17:44:19.000Z | 2022-03-24T09:02:02.000Z | /* ------------------------------------------------------------------------ */
/* Copyright 2002-2021, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may */
/* n... | 26.25 | 80 | 0.446295 | [
"object",
"vector"
] |
fe7dee5b15b3ee0f62e0a6512632c27087d1b0d0 | 34,307 | cpp | C++ | MachineLearning/Entity101/opennn/simulated_annealing_order.cpp | CJBuchel/Entity101 | b868ffff4ca99e240a0bf1248d5c5ebb45019426 | [
"MIT"
] | null | null | null | MachineLearning/Entity101/opennn/simulated_annealing_order.cpp | CJBuchel/Entity101 | b868ffff4ca99e240a0bf1248d5c5ebb45019426 | [
"MIT"
] | null | null | null | MachineLearning/Entity101/opennn/simulated_annealing_order.cpp | CJBuchel/Entity101 | b868ffff4ca99e240a0bf1248d5c5ebb45019426 | [
"MIT"
] | null | null | null | /****************************************************************************************************************/
/* */
/* OpenNN: Open Neural Networks Library ... | 26.248661 | 132 | 0.615268 | [
"object",
"vector",
"model"
] |
fe812d8ae0b7da9164bf5349c56d4147a7748de6 | 4,504 | hxx | C++ | opencascade/IFSelect_Transformer.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/IFSelect_Transformer.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/IFSelect_Transformer.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | // Created on: 1994-05-27
// Created by: Christian CAILLET
// Copyright (c) 1994-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the ... | 44.156863 | 201 | 0.750444 | [
"model"
] |
fe8af4d0475dcf9e11e2922ab4ac95fe99a167bf | 920 | cpp | C++ | Contests/Weekly Contest 112/Most Stones Removed with Same Row or Column.cpp | shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress | 0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166 | [
"MIT"
] | 4 | 2019-12-12T19:59:50.000Z | 2020-01-20T15:44:44.000Z | Contests/Weekly Contest 112/Most Stones Removed with Same Row or Column.cpp | shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress | 0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166 | [
"MIT"
] | null | null | null | Contests/Weekly Contest 112/Most Stones Removed with Same Row or Column.cpp | shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress | 0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166 | [
"MIT"
] | null | null | null | // Question Link ---> https://leetcode.com/problems/most-stones-removed-with-same-row-or-column/
class Solution {
public:
int removeStones(vector<vector<int>>& stones) {
queue<pair<int, int>> nodes;
int largestPossibleNumOfMoves = 0, curMaxMoves;
for (int i = 0; i < stones.size(); i++) {
if (stones[i]... | 32.857143 | 98 | 0.556522 | [
"vector"
] |
fe8c5e7f42f8d8e96d157d8a088631bde870f59f | 8,147 | hpp | C++ | include/antlr/Parser.hpp | zstars/booledeusto | fdc110a9add4a5946fabc2055a533593932a2003 | [
"BSD-3-Clause"
] | 6 | 2018-06-11T18:50:20.000Z | 2021-09-07T23:55:01.000Z | include/antlr/Parser.hpp | zstars/booledeusto | fdc110a9add4a5946fabc2055a533593932a2003 | [
"BSD-3-Clause"
] | null | null | null | include/antlr/Parser.hpp | zstars/booledeusto | fdc110a9add4a5946fabc2055a533593932a2003 | [
"BSD-3-Clause"
] | 2 | 2021-03-16T16:12:32.000Z | 2022-01-15T01:34:40.000Z | #ifndef INC_Parser_hpp__
#define INC_Parser_hpp__
/*
* <b>SOFTWARE RIGHTS</b>
* <p>
* ANTLR 2.7.1 MageLang Insitute, 1999, 2000, 2001
* <p>
* We reserve no legal rights to the ANTLR--it is fully in the
* public domain. An individual or company may do whatever
* they wish with source code distributed w... | 31.334615 | 83 | 0.701976 | [
"object",
"vector"
] |
fe8d553780264ebeb5b3341946fd5f88e7ce5625 | 10,528 | cpp | C++ | Gems/TextureAtlas/Code/Source/TextureAtlasSystemComponent.cpp | Schneidex69/o3de | d9ec159f0e07ff86957e15212232413c4ff4d1dc | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-19T23:54:05.000Z | 2021-07-19T23:54:05.000Z | Gems/TextureAtlas/Code/Source/TextureAtlasSystemComponent.cpp | Schneidex69/o3de | d9ec159f0e07ff86957e15212232413c4ff4d1dc | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/TextureAtlas/Code/Source/TextureAtlasSystemComponent.cpp | Schneidex69/o3de | d9ec159f0e07ff86957e15212232413c4ff4d1dc | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "TextureAtlas_precompiled.h"
#include <AzCore/Serialization/SerializeContext.h>
#include... | 39.728302 | 179 | 0.608568 | [
"vector",
"3d"
] |
fe8fbbae4b90a23b24f0f3621da2f52e887c31d2 | 2,596 | cc | C++ | src/base64.cc | StevenYCChou/metadata-agent | 31fe5ca0cc6075fb233c3609cab91747503e54e2 | [
"Apache-2.0"
] | 15 | 2018-02-05T19:44:40.000Z | 2021-07-10T01:38:38.000Z | src/base64.cc | Stackdriver/metadata-agent | 85d4f5a570911ddbc2cd0be2a87fa186694140d3 | [
"Apache-2.0"
] | 61 | 2018-01-31T22:04:29.000Z | 2019-07-29T12:07:10.000Z | src/base64.cc | StevenYCChou/metadata-agent | 31fe5ca0cc6075fb233c3609cab91747503e54e2 | [
"Apache-2.0"
] | 11 | 2018-01-25T17:03:49.000Z | 2022-01-15T10:09:06.000Z | /*
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 28.844444 | 82 | 0.641371 | [
"vector"
] |
fe928aaf457dae6d18a25eb1e7c67dd1847151c5 | 6,742 | hpp | C++ | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/include/xyz/openbmc_project/User/AccountPolicy/server.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/include/xyz/openbmc_project/User/AccountPolicy/server.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/include/xyz/openbmc_project/User/AccountPolicy/server.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <map>
#include <string>
#include <sdbusplus/sdbus.hpp>
#include <sdbusplus/server.hpp>
#include <systemd/sd-bus.h>
#include <tuple>
#include <variant>
namespace sdbusplus
{
namespace xyz
{
namespace openbmc_project
{
namespace User
{
namespace server
{
class AccountPolicy
{
public:
... | 39.197674 | 91 | 0.633047 | [
"object"
] |
fe92c1d84c63da1a9ce4b3ae92076b8769b565c0 | 783 | cpp | C++ | Grade_10/Second_Semester/dijsktra_permutation.cpp | MagicWinnie/SESC_IT | 934ac49a177bfa5d02fc3234d31c929aad3c60c2 | [
"MIT"
] | 2 | 2020-10-10T10:21:49.000Z | 2021-05-28T18:10:42.000Z | Grade_10/Second_Semester/dijsktra_permutation.cpp | MagicWinnie/SESC_IT | 934ac49a177bfa5d02fc3234d31c929aad3c60c2 | [
"MIT"
] | null | null | null | Grade_10/Second_Semester/dijsktra_permutation.cpp | MagicWinnie/SESC_IT | 934ac49a177bfa5d02fc3234d31c929aad3c60c2 | [
"MIT"
] | null | null | null | // Generate next alphabetic permutation using dijsktra algorithm
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
void print_vec(vector<int> arr)
{
for (auto &c: arr) cout << c << " ";
cout << endl;
}
int main()
{
int n;
cin >> n;
vector<int> arr(n);
for (... | 19.575 | 75 | 0.431673 | [
"vector"
] |
fe963407c5ab163227a4b46eb86b66b581b9606c | 4,412 | cpp | C++ | portal/src/levelsettingsdialog.cpp | zfrye06/Loque | bbb0e7a0a5d5374c27b83bba5b13bc191b03ebb0 | [
"MIT"
] | null | null | null | portal/src/levelsettingsdialog.cpp | zfrye06/Loque | bbb0e7a0a5d5374c27b83bba5b13bc191b03ebb0 | [
"MIT"
] | null | null | null | portal/src/levelsettingsdialog.cpp | zfrye06/Loque | bbb0e7a0a5d5374c27b83bba5b13bc191b03ebb0 | [
"MIT"
] | null | null | null | #include <QListView>
#include "levelsettingsdialog.h"
#include "launchgame.h"
LevelSettingsDialog::LevelSettingsDialog(int teacherId, int classId,
const std::vector<LevelInfo>& enabledLevels,
const std::vector<LevelInfo>& allLevels,
... | 35.580645 | 123 | 0.646192 | [
"vector"
] |
fe9c85860b8255ef6926a81ed5a242fd20c407a8 | 3,340 | cpp | C++ | open3d_conversions_examples/src/ex_plane_segmentation.cpp | UrbanMachine/perception_open3d | a08beb8569691c6094628402e42918beb5835006 | [
"Apache-2.0"
] | 84 | 2020-07-27T20:21:56.000Z | 2022-03-05T11:06:39.000Z | open3d_conversions_examples/src/ex_plane_segmentation.cpp | UrbanMachine/perception_open3d | a08beb8569691c6094628402e42918beb5835006 | [
"Apache-2.0"
] | 17 | 2020-07-27T19:31:23.000Z | 2022-03-27T22:32:56.000Z | open3d_conversions_examples/src/ex_plane_segmentation.cpp | UrbanMachine/perception_open3d | a08beb8569691c6094628402e42918beb5835006 | [
"Apache-2.0"
] | 19 | 2020-07-27T18:44:28.000Z | 2022-03-22T13:11:50.000Z | // Copyright 2020 Autonomous Robots Lab, University of Nevada, Reno
// 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... | 39.761905 | 113 | 0.742216 | [
"geometry",
"vector"
] |
fe9e730f8896b215b032f8c7f4c2ab386345cd54 | 1,679 | cpp | C++ | code/hydrasheads.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | 8 | 2020-02-21T22:21:01.000Z | 2022-02-16T05:30:54.000Z | code/hydrasheads.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | null | null | null | code/hydrasheads.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | 3 | 2020-08-05T05:42:35.000Z | 2021-08-30T05:39:51.000Z | #define _USE_MATH_DEFINES
#include <iostream>
#include <stdio.h>
#include <cmath>
#include <iomanip>
#include <vector>
#include <string>
#include <algorithm>
#include <unordered_set>
#include <ctype.h>
#include <queue>
#include <map>
#include <set>
#include <stack>
#include <unordered_map>
#define EPSILON 0.00001
type... | 19.079545 | 62 | 0.408577 | [
"vector"
] |
fea1d3d5e4ba8cf51138bc9114c5cbefeaf69929 | 25,849 | cc | C++ | src/kudu/common/partition_pruner.cc | Kekdeng/kudu | 958248adf3ea70f12ab033e0041bfc5c922956af | [
"Apache-2.0"
] | 1,538 | 2016-08-08T22:34:30.000Z | 2022-03-29T05:23:36.000Z | src/kudu/common/partition_pruner.cc | Kekdeng/kudu | 958248adf3ea70f12ab033e0041bfc5c922956af | [
"Apache-2.0"
] | 17 | 2017-05-18T16:05:14.000Z | 2022-03-18T22:17:13.000Z | src/kudu/common/partition_pruner.cc | Kekdeng/kudu | 958248adf3ea70f12ab033e0041bfc5c922956af | [
"Apache-2.0"
] | 612 | 2016-08-12T04:09:37.000Z | 2022-03-29T16:57:46.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 may... | 44.721453 | 99 | 0.634763 | [
"vector",
"transform"
] |
fea277c6ff883939c7f44cc9c891f244fe0936ea | 2,218 | hpp | C++ | stereo_utils/include/stereo_utils/NumPyIO.hpp | huyaoyu/Tutorial2020_Stereo_ROS | 32f7427b597ac01674a36a19b8439844d1ea291b | [
"BSD-3-Clause"
] | 4 | 2020-10-27T03:12:39.000Z | 2022-02-01T07:04:34.000Z | stereo_utils/include/stereo_utils/NumPyIO.hpp | huyaoyu/Tutorial2020_Stereo_ROS | 32f7427b597ac01674a36a19b8439844d1ea291b | [
"BSD-3-Clause"
] | null | null | null | stereo_utils/include/stereo_utils/NumPyIO.hpp | huyaoyu/Tutorial2020_Stereo_ROS | 32f7427b597ac01674a36a19b8439844d1ea291b | [
"BSD-3-Clause"
] | 3 | 2021-08-14T23:05:10.000Z | 2022-02-02T11:31:22.000Z | //
// Created by yaoyu on 4/8/20.
//
#ifndef NUMPYIO_HPP
#define NUMPYIO_HPP
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cnpy.h>
#include <Eigen/Dense>
namespace stereo_utils
{
template < typename rT >
void write_depth_map_2_npy( const std::string &fn,
const Eigen::... | 24.644444 | 94 | 0.566727 | [
"shape",
"vector"
] |
fea3b26d0f6cf3c56a98d7029811211d9820dba5 | 8,819 | cc | C++ | chrome/browser/browsing_data_indexed_db_helper.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | 1 | 2016-03-10T09:13:57.000Z | 2016-03-10T09:13:57.000Z | chrome/browser/browsing_data_indexed_db_helper.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | 1 | 2022-03-13T08:39:05.000Z | 2022-03-13T08:39:05.000Z | chrome/browser/browsing_data_indexed_db_helper.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/browsing_data_indexed_db_helper.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/compiler_specific.h"
#in... | 32.542435 | 80 | 0.755301 | [
"vector"
] |
fea4d965b20665cbeb223617a74d435d265064f0 | 3,695 | cpp | C++ | leetcode/problems/medium/2043-simple-bank-system.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | leetcode/problems/medium/2043-simple-bank-system.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | leetcode/problems/medium/2043-simple-bank-system.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Simple Bank System
https://leetcode.com/problems/simple-bank-system/
You have been tasked with writing a program for a popular bank that will automate all its incoming transactions (transfer, deposit, and withdraw). The bank has n accounts numbered from 1 to n. The initial balance of each account is stored in a 0-i... | 40.604396 | 344 | 0.636806 | [
"object",
"vector"
] |
fea7582bc95d8424d432870d5bb8939927e277a2 | 6,789 | cc | C++ | pytorch/pytorch-native/src/main/native/ai_djl_pytorch_jni_PyTorchLibrary_ivalue.cc | goswamig/djl | f63d5f6a1cea10e8600b7362aaa196fc771ae108 | [
"Apache-2.0"
] | 1 | 2021-04-03T16:29:16.000Z | 2021-04-03T16:29:16.000Z | pytorch/pytorch-native/src/main/native/ai_djl_pytorch_jni_PyTorchLibrary_ivalue.cc | goswamig/djl | f63d5f6a1cea10e8600b7362aaa196fc771ae108 | [
"Apache-2.0"
] | 1 | 2021-02-24T20:56:01.000Z | 2021-02-24T20:56:01.000Z | pytorch/pytorch-native/src/main/native/ai_djl_pytorch_jni_PyTorchLibrary_ivalue.cc | goswamig/djl | f63d5f6a1cea10e8600b7362aaa196fc771ae108 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 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... | 39.242775 | 120 | 0.758285 | [
"vector"
] |
fea7e038ad80842fcb3abd6728161e6acf73d1b5 | 6,805 | hpp | C++ | source/problem/SWE/discretization_EHDG/kernels_processor/ehdg_swe_proc_ompi_step.hpp | kentonwho/dgswemv2 | 917da15ebf1ba4f511b6735a632e58e3e0499076 | [
"MIT"
] | null | null | null | source/problem/SWE/discretization_EHDG/kernels_processor/ehdg_swe_proc_ompi_step.hpp | kentonwho/dgswemv2 | 917da15ebf1ba4f511b6735a632e58e3e0499076 | [
"MIT"
] | null | null | null | source/problem/SWE/discretization_EHDG/kernels_processor/ehdg_swe_proc_ompi_step.hpp | kentonwho/dgswemv2 | 917da15ebf1ba4f511b6735a632e58e3e0499076 | [
"MIT"
] | null | null | null | #ifndef EHDG_SWE_PROC_OMPI_STEP_HPP
#define EHDG_SWE_PROC_OMPI_STEP_HPP
#include "ehdg_swe_kernels_processor.hpp"
namespace SWE {
namespace EHDG {
template <typename OMPISimType>
void Problem::step_ompi(OMPISimType* sim, uint begin_sim_id, uint end_sim_id) {
auto& sim_units = sim->sim_units;
// Here one assum... | 43.343949 | 118 | 0.64673 | [
"mesh"
] |
fea9fbe03a7ab5dbf9a36d714251e925d473a3b3 | 4,275 | cpp | C++ | FireRender.Maya.Src/frWrap.cpp | V-Gorash/RadeonProRenderMayaPlugin | 3b844ad4602177eeb413c0708bd75c4439d97a7d | [
"Apache-2.0"
] | 22 | 2020-05-15T14:07:40.000Z | 2022-03-17T08:10:42.000Z | FireRender.Maya.Src/frWrap.cpp | V-Gorash/RadeonProRenderMayaPlugin | 3b844ad4602177eeb413c0708bd75c4439d97a7d | [
"Apache-2.0"
] | 38 | 2020-05-13T23:24:21.000Z | 2022-02-28T12:16:51.000Z | FireRender.Maya.Src/frWrap.cpp | V-Gorash/RadeonProRenderMayaPlugin | 3b844ad4602177eeb413c0708bd75c4439d97a7d | [
"Apache-2.0"
] | 19 | 2020-05-13T15:24:09.000Z | 2022-03-29T13:36:02.000Z | /**********************************************************************
Copyright 2020 Advanced Micro Devices, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/L... | 27.75974 | 119 | 0.693801 | [
"object"
] |
feb31b6755f0dcf4104427529259eeb739d0bc2b | 1,268 | hpp | C++ | include/spl/group.hpp | momokrono/spl | 36c2e2ceb6c0d51a57423e5422054aae09c58f83 | [
"MIT"
] | 5 | 2020-04-25T15:42:31.000Z | 2022-03-31T09:11:45.000Z | include/spl/group.hpp | momokrono/spl | 36c2e2ceb6c0d51a57423e5422054aae09c58f83 | [
"MIT"
] | 6 | 2020-04-24T17:09:22.000Z | 2020-07-31T13:43:09.000Z | include/spl/group.hpp | momokrono/spl | 36c2e2ceb6c0d51a57423e5422054aae09c58f83 | [
"MIT"
] | null | null | null | /**
* @author : rbrugo, momokrono
* @file : renderer
* @created : Tuesday Nov 10, 2020 10:54:18 CET
* @license : MIT
* */
#ifndef RENDERER_HPP
#define RENDERER_HPP
#include <vector>
#include "spl/any_drawable.hpp"
#include "spl/viewport.hpp"
#include "spl/primitives/vertex.hpp"
namespace sp... | 22.245614 | 89 | 0.650631 | [
"vector"
] |
feb60d4270d7e8112940f4302c5f364da06af30a | 6,274 | cpp | C++ | src/SketchSolver/NumericalSynthesis/Utils/GradUtil.cpp | natebragg/sketch-backend | 6ecbb6f724149d50d290997fef5e2e1e92ab3d9e | [
"X11"
] | 17 | 2020-08-20T14:54:11.000Z | 2022-03-31T00:28:40.000Z | src/SketchSolver/NumericalSynthesis/Utils/GradUtil.cpp | natebragg/sketch-backend | 6ecbb6f724149d50d290997fef5e2e1e92ab3d9e | [
"X11"
] | 1 | 2022-03-01T16:53:05.000Z | 2022-03-04T04:02:09.000Z | src/SketchSolver/NumericalSynthesis/Utils/GradUtil.cpp | natebragg/sketch-backend | 6ecbb6f724149d50d290997fef5e2e1e92ab3d9e | [
"X11"
] | 2 | 2020-12-04T20:47:51.000Z | 2020-12-06T01:45:04.000Z | #include "IntervalGrad.h"
gsl_vector* GradUtil::tmp;
gsl_vector* GradUtil::tmp1;
gsl_vector* GradUtil::tmp2;
gsl_vector* GradUtil::tmp3;
gsl_vector* GradUtil::tmpT;
double GradUtil::BETA;
double GradUtil::ALPHA;
void GradUtil::allocateTempVectors(int size) {
tmp = gsl_vector_alloc(size);
tmp1 = gsl_vector_al... | 28.38914 | 130 | 0.677558 | [
"vector"
] |
feb7f50b7da7dcfad6ad7cb4638321a0ea008d55 | 8,126 | cc | C++ | src/rime/gear/simplifier.cc | mengzhisuoliu/librime | 9eeeffcc0fa24d9dbfd6d58f936eb9fe60be3e70 | [
"BSD-3-Clause"
] | 2,326 | 2015-01-26T13:34:46.000Z | 2022-03-30T06:53:47.000Z | src/rime/gear/simplifier.cc | mengzhisuoliu/librime | 9eeeffcc0fa24d9dbfd6d58f936eb9fe60be3e70 | [
"BSD-3-Clause"
] | 440 | 2015-01-26T12:29:17.000Z | 2022-03-31T13:21:59.000Z | src/rime/gear/simplifier.cc | mengzhisuoliu/librime | 9eeeffcc0fa24d9dbfd6d58f936eb9fe60be3e70 | [
"BSD-3-Clause"
] | 491 | 2015-01-24T17:58:21.000Z | 2022-03-27T21:17:37.000Z | //
// Copyright RIME Developers
// Distributed under the BSD License
//
// 2011-12-12 GONG Chen <chen.sst@gmail.com>
//
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include <stdint.h>
#include <utf8.h>
#include <utility>
#include <rime/candidate.h>
#include <rime/common.h>
#include <rime/confi... | 30.548872 | 94 | 0.624169 | [
"vector"
] |
feb824e9ef98ea17c15443239b33798108bbcd93 | 4,651 | inl | C++ | include/IECorePython/TypedParameterBinding.inl | gcodebackups/cortex-vfx | 72fa6c6eb3327fce4faf01361c8fcc2e1e892672 | [
"BSD-3-Clause"
] | 5 | 2016-07-26T06:09:28.000Z | 2022-03-07T03:58:51.000Z | include/IECorePython/TypedParameterBinding.inl | turbosun/cortex | 4bdc01a692652cd562f3bfa85f3dae99d07c0b15 | [
"BSD-3-Clause"
] | null | null | null | include/IECorePython/TypedParameterBinding.inl | turbosun/cortex | 4bdc01a692652cd562f3bfa85f3dae99d07c0b15 | [
"BSD-3-Clause"
] | 3 | 2015-03-25T18:45:24.000Z | 2020-02-15T15:37:18.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2013, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 41.900901 | 216 | 0.706085 | [
"object"
] |
fecc35a1de8aec4b3a07372c4cf1180f83fdac6e | 1,644 | hh | C++ | src/runner/sneaker.hh | jcbaillie/urbi | fb17359b2838cdf8d3c0858abb141e167a9d4bdb | [
"BSD-3-Clause"
] | 16 | 2016-05-10T05:50:58.000Z | 2021-10-05T22:16:13.000Z | src/runner/sneaker.hh | jcbaillie/urbi | fb17359b2838cdf8d3c0858abb141e167a9d4bdb | [
"BSD-3-Clause"
] | 7 | 2016-09-05T10:08:33.000Z | 2019-02-13T10:51:07.000Z | src/runner/sneaker.hh | jcbaillie/urbi | fb17359b2838cdf8d3c0858abb141e167a9d4bdb | [
"BSD-3-Clause"
] | 15 | 2015-01-28T20:27:02.000Z | 2021-09-28T19:26:08.000Z | /*
* Copyright (C) 2008-2012, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
#ifndef RUNNER_SNEAKER_HH
#... | 26.516129 | 75 | 0.645985 | [
"object"
] |
feccd3893a504ca84334f357e497237d28eda2b9 | 40,507 | cpp | C++ | core/io/marshalls.cpp | Segs/Engine | 754aabfc2708a46f764979a604871633152ce479 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 8 | 2019-09-03T19:58:19.000Z | 2021-06-18T07:11:26.000Z | core/io/marshalls.cpp | Segs/Engine | 754aabfc2708a46f764979a604871633152ce479 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 24 | 2019-09-03T17:35:45.000Z | 2020-10-27T14:36:02.000Z | core/io/marshalls.cpp | nemerle/SegsEngine | b9dd0b5481b92d956befa72c746758d33a1a08c9 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 6 | 2019-09-27T15:44:35.000Z | 2021-01-23T18:52:51.000Z | /*************************************************************************/
/* marshalls.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 28.708009 | 119 | 0.423334 | [
"object",
"vector",
"transform"
] |
fecdc677690e5afbbd9fe722e5248c42742554dc | 6,836 | cpp | C++ | contracts/eos/BancorConverter/src/reserves.cpp | EOS-Nation/contracts_eos | 25b88b9d299e692d2f7a420531002b21baa9495c | [
"Apache-2.0"
] | 118 | 2018-09-20T03:58:07.000Z | 2022-02-15T23:10:27.000Z | contracts/eos/BancorConverter/src/reserves.cpp | EOS-Nation/contracts_eos | 25b88b9d299e692d2f7a420531002b21baa9495c | [
"Apache-2.0"
] | 11 | 2018-11-21T11:33:12.000Z | 2020-05-07T03:46:13.000Z | contracts/eos/BancorConverter/src/reserves.cpp | bancorprotocol/contracts_eos | e46b6225898da9c72db7d754e99f04a911513da5 | [
"Apache-2.0"
] | 62 | 2018-09-20T12:49:46.000Z | 2022-02-11T17:31:16.000Z | [[eosio::action]]
void BancorConverter::setreserve( const symbol_code converter_currency_code, const symbol currency, const name contract, const uint64_t ratio ) {
BancorConverter::converters _converters( get_self(), get_self().value );
const auto converter = _converters.find( converter_currency_code.raw() );
... | 43.820513 | 164 | 0.701872 | [
"vector"
] |
fecde7fde4507da69942d7ce6c1b144b5a2aa36e | 498 | cpp | C++ | AtCoder/abc117/c/main.cpp | H-Tatsuhiro/Com_Pro-Cpp | fd79f7821a76b11f4a6f83bbb26a034db577a877 | [
"MIT"
] | null | null | null | AtCoder/abc117/c/main.cpp | H-Tatsuhiro/Com_Pro-Cpp | fd79f7821a76b11f4a6f83bbb26a034db577a877 | [
"MIT"
] | 1 | 2021-10-19T08:47:23.000Z | 2022-03-07T05:23:56.000Z | AtCoder/abc117/c/main.cpp | H-Tatsuhiro/Com_Pro-Cpp | fd79f7821a76b11f4a6f83bbb26a034db577a877 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
int n, m; cin >> n >> m;
vector<int> x(m, 0);
for (int i = 0; i < m; i++) cin >> x[i];
vector<int> d;
sort(x.begin(), x.end());
for (int i = 0; i < m - 1; i++) d.push_back(abs(x[i] - x[i... | 27.666667 | 70 | 0.502008 | [
"vector"
] |
fece5766831438ab1427336aa242c3eae4556dbe | 8,317 | cpp | C++ | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/DirectWrite hello world sample/C++/DWriteHelloWorld.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 2 | 2022-01-21T01:40:58.000Z | 2022-01-21T01:41:10.000Z | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/DirectWrite hello world sample/C++/DWriteHelloWorld.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 1 | 2022-03-15T04:21:41.000Z | 2022-03-15T04:21:41.000Z | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/DirectWrite hello world sample/C++/DWriteHelloWorld.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | null | null | null | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved
#include "pch.h... | 28.778547 | 131 | 0.683179 | [
"render",
"object"
] |
fed0f26d197cc1d9e6adbc00a60165e421acb971 | 8,026 | cpp | C++ | tests/regression/test_flatten_barrier_subs.cpp | jansol/pocl | 07c1519715ec1675a480022f25d8bf907470530b | [
"MIT"
] | null | null | null | tests/regression/test_flatten_barrier_subs.cpp | jansol/pocl | 07c1519715ec1675a480022f25d8bf907470530b | [
"MIT"
] | null | null | null | tests/regression/test_flatten_barrier_subs.cpp | jansol/pocl | 07c1519715ec1675a480022f25d8bf907470530b | [
"MIT"
] | null | null | null | /* Tests a kernel create with binary.
Copyright (c) 2018 Julius Ikkala / TUT
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 righ... | 31.976096 | 143 | 0.68166 | [
"vector"
] |
fed3a62591e84e0ac31099a59f0cb380f3c1144f | 2,658 | cpp | C++ | system/lib/wasmfs/backends/memory_backend.cpp | KDr2/emscripten | 79e872c7938774b8eb72bf3c072b5442a3586abc | [
"MIT"
] | 9,724 | 2015-01-01T02:06:30.000Z | 2019-01-17T15:13:51.000Z | system/lib/wasmfs/backends/memory_backend.cpp | KDr2/emscripten | 79e872c7938774b8eb72bf3c072b5442a3586abc | [
"MIT"
] | 4,273 | 2015-01-01T04:10:11.000Z | 2019-01-17T19:37:37.000Z | system/lib/wasmfs/backends/memory_backend.cpp | AIEdX/emscripten | 5bcd268db583d0ac7de4aedcd29e439d69553176 | [
"MIT"
] | 1,519 | 2015-01-01T18:11:12.000Z | 2019-01-17T14:16:02.000Z | // Copyright 2021 The Emscripten Authors. All rights reserved.
// Emscripten is available under two separate licenses, the MIT license and the
// University of Illinois/NCSA Open Source License. Both these licenses can be
// found in the LICENSE file.
// This file defines the memory file backend of the new file syst... | 28.891304 | 79 | 0.683973 | [
"vector"
] |
fee2d1d99137c1c009bec25fcaeafcf471eb293f | 715 | cpp | C++ | src/particle-system/core/newtonlaw.cpp | semitro/Particle-system | f29e4f6d45132f98b3089f39e0d6c76a1bd63e86 | [
"MIT"
] | null | null | null | src/particle-system/core/newtonlaw.cpp | semitro/Particle-system | f29e4f6d45132f98b3089f39e0d6c76a1bd63e86 | [
"MIT"
] | null | null | null | src/particle-system/core/newtonlaw.cpp | semitro/Particle-system | f29e4f6d45132f98b3089f39e0d6c76a1bd63e86 | [
"MIT"
] | null | null | null | #include "particle-system/core/newtonlaw.hpp"
void newtonLaw(vector<Particle> &particles, float dT)
{
for(size_t i = 0; i < particles.size(); i++)
// for(size_t j = 0; i < particles.size(); i++){
// float dx = particles[j].x - particles[i].x;
// float dy = particles[j].y - particles[i].y;
// float distance = ... | 27.5 | 53 | 0.595804 | [
"vector"
] |
fee3eff695b2125e72b3fb51e982a00c18fad82c | 2,299 | hpp | C++ | modules/clients/cpp/main/include/gridgain/impl/hash/gridclientboolhasheableobject.hpp | cybernetics/gridgain | 39f3819c9769b04caca62b263581c0458f21c4d6 | [
"Apache-2.0"
] | 1 | 2019-04-22T08:48:55.000Z | 2019-04-22T08:48:55.000Z | modules/clients/cpp/main/include/gridgain/impl/hash/gridclientboolhasheableobject.hpp | cybernetics/gridgain | 39f3819c9769b04caca62b263581c0458f21c4d6 | [
"Apache-2.0"
] | null | null | null | modules/clients/cpp/main/include/gridgain/impl/hash/gridclientboolhasheableobject.hpp | cybernetics/gridgain | 39f3819c9769b04caca62b263581c0458f21c4d6 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) GridGain Systems. 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... | 29.101266 | 121 | 0.669421 | [
"object",
"vector"
] |
fee80380fb9891f36060a49ae506764b03be398b | 18,165 | cpp | C++ | components/scream/src/physics/rrtmgp/tests/rrtmgp_unit_tests.cpp | ambrad/scream | 52da60f65e870b8a3994bdbf4a6022fdcac7cab5 | [
"BSD-3-Clause"
] | null | null | null | components/scream/src/physics/rrtmgp/tests/rrtmgp_unit_tests.cpp | ambrad/scream | 52da60f65e870b8a3994bdbf4a6022fdcac7cab5 | [
"BSD-3-Clause"
] | null | null | null | components/scream/src/physics/rrtmgp/tests/rrtmgp_unit_tests.cpp | ambrad/scream | 52da60f65e870b8a3994bdbf4a6022fdcac7cab5 | [
"BSD-3-Clause"
] | null | null | null | #include "catch2/catch.hpp"
#include "physics/rrtmgp/rrtmgp_utils.hpp"
#include "physics/rrtmgp/scream_rrtmgp_interface.hpp"
#include "YAKL.h"
#include "physics/share/physics_constants.hpp"
#include "physics/rrtmgp/share/shr_orb_mod_c2f.hpp"
TEST_CASE("rrtmgp_test_heating") {
// Initialize YAKL
if (!yakl::isIn... | 40.7287 | 147 | 0.635618 | [
"3d"
] |
6793a892026aa25e921ae974d5df4b2922b46492 | 71,082 | cc | C++ | jlist/jlist.cc | llllllllll/jlist | 07b1df2ed026ca009e51f23f6f369d198b9712c8 | [
"Apache-2.0",
"CNRI-Python-GPL-Compatible"
] | 44 | 2019-05-26T16:28:47.000Z | 2021-11-10T01:04:44.000Z | jlist/jlist.cc | llllllllll/jlist | 07b1df2ed026ca009e51f23f6f369d198b9712c8 | [
"Apache-2.0",
"CNRI-Python-GPL-Compatible"
] | 3 | 2019-07-31T17:32:46.000Z | 2019-10-31T20:48:44.000Z | jlist/jlist.cc | llllllllll/jlist | 07b1df2ed026ca009e51f23f6f369d198b9712c8 | [
"Apache-2.0",
"CNRI-Python-GPL-Compatible"
] | 1 | 2019-12-10T17:26:37.000Z | 2019-12-10T17:26:37.000Z | #include <algorithm>
#include <array>
#include <charconv>
#include <cstdint>
#include <string>
#include <vector>
#include <Python.h>
#include <structmember.h>
#include "jlist/jlist.h"
#include "jlist/scope_guard.h"
#if PY_MINOR_VERSION >= 7
#define JL_FASTCALL_FLAGS (METH_FASTCALL | METH_KEYWORDS)
#else
#define JL_F... | 30.507296 | 89 | 0.507414 | [
"object",
"vector"
] |
679bf91a8c75551c7875f5ddb24c543511c5f156 | 77,366 | cpp | C++ | src/chrono_vehicle/wheeled_vehicle/tire/ChPacejkaTire.cpp | IsymtecAi/chrono | 53b05f7586e0fc644ee05f5533a8b88cb81ec5b3 | [
"BSD-3-Clause"
] | null | null | null | src/chrono_vehicle/wheeled_vehicle/tire/ChPacejkaTire.cpp | IsymtecAi/chrono | 53b05f7586e0fc644ee05f5533a8b88cb81ec5b3 | [
"BSD-3-Clause"
] | null | null | null | src/chrono_vehicle/wheeled_vehicle/tire/ChPacejkaTire.cpp | IsymtecAi/chrono | 53b05f7586e0fc644ee05f5533a8b88cb81ec5b3 | [
"BSD-3-Clause"
] | null | null | null | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 41.217901 | 120 | 0.59384 | [
"object",
"shape",
"vector",
"model",
"transform"
] |
679ca4bc531fe487d507d7d0f5c245624a1f9ace | 7,544 | hpp | C++ | src/atlas/graphics/Node.hpp | Groutcho/atlas | b69b7759be0361ffdcbbba64501e07feb79143be | [
"MIT"
] | 5 | 2018-12-13T03:41:12.000Z | 2020-08-27T04:45:11.000Z | src/atlas/graphics/Node.hpp | Groutcho/atlas | b69b7759be0361ffdcbbba64501e07feb79143be | [
"MIT"
] | 1 | 2020-09-08T07:26:59.000Z | 2020-09-08T09:21:44.000Z | src/atlas/graphics/Node.hpp | Groutcho/atlas | b69b7759be0361ffdcbbba64501e07feb79143be | [
"MIT"
] | 5 | 2018-12-20T10:31:09.000Z | 2021-09-07T07:38:49.000Z | #ifndef ATLAS_GRAPHICS_NODE_HPP
#define ATLAS_GRAPHICS_NODE_HPP
#include "AtlasGraphics.hpp"
#include <unordered_set>
namespace atlas
{
namespace graphics
{
class Camera;
class Node;
struct DrawContext
{
vk::CommandBuffer cmdBuffer;
Transform viewMatrix... | 29.015385 | 88 | 0.421925 | [
"vector",
"transform"
] |
67a017e9f8b1d346952bc543a8d6aa736b973384 | 1,445 | cpp | C++ | leetcode/leetcode207.cpp | KevinYang515/C-Projects | 1bf95a09a0ffc18102f12263c9163619ce6dba55 | [
"MIT"
] | null | null | null | leetcode/leetcode207.cpp | KevinYang515/C-Projects | 1bf95a09a0ffc18102f12263c9163619ce6dba55 | [
"MIT"
] | null | null | null | leetcode/leetcode207.cpp | KevinYang515/C-Projects | 1bf95a09a0ffc18102f12263c9163619ce6dba55 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <map>
#include <queue>
using namespace std;
bool canFinish(int numCourses, vector<vector<int>>& prerequisites);
int main(){
vector<int> numCourses_v = {2, 2};
vector<vector<vector<int>>> prerequisites_v = {{{1, 0}}, {{1, 0}, {0, 1}}};
// True, False
for ... | 27.264151 | 90 | 0.553633 | [
"vector"
] |
67a31460172114fb00b920352155747c9fd25dd4 | 7,660 | hpp | C++ | src/mahjong/types/yaku.hpp | happapa/mahjong-cpp | a392a9a48cd790dbcf4ee31463c3a431c9a614c5 | [
"MIT"
] | 9 | 2020-12-30T08:53:37.000Z | 2022-03-30T11:27:40.000Z | src/mahjong/types/yaku.hpp | happapa/mahjong-cpp | a392a9a48cd790dbcf4ee31463c3a431c9a614c5 | [
"MIT"
] | 2 | 2021-12-07T06:53:12.000Z | 2022-01-13T03:30:04.000Z | src/mahjong/types/yaku.hpp | happapa/mahjong-cpp | a392a9a48cd790dbcf4ee31463c3a431c9a614c5 | [
"MIT"
] | 2 | 2021-05-14T19:25:14.000Z | 2021-12-21T13:11:04.000Z | #ifndef MAHJONG_CPP_YAKU
#define MAHJONG_CPP_YAKU
#include <array>
#include <map>
#include <string>
namespace mahjong
{
using YakuList = unsigned long long;
/**
* @brief 役
*/
struct Yaku
{
/**
* @brief 役の種類
*/
enum Type : YakuList
{
Null = 0ull,
Tumo = ... | 44.022989 | 96 | 0.355352 | [
"vector"
] |
67a657df820eb88e9c88d146b5cf7385871f93ec | 32,133 | cpp | C++ | src/trunk/libs/seiscomp3/communication/systemconnection.cpp | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 94 | 2015-02-04T13:57:34.000Z | 2021-11-01T15:10:06.000Z | src/trunk/libs/seiscomp3/communication/systemconnection.cpp | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 233 | 2015-01-28T15:16:46.000Z | 2021-08-23T11:31:37.000Z | src/trunk/libs/seiscomp3/communication/systemconnection.cpp | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 95 | 2015-02-13T15:53:30.000Z | 2021-11-02T14:54:54.000Z | /***************************************************************************
* Copyright (C) by GFZ Potsdam *
* *
* You can redistribute and/or modify this program under the *
* terms o... | 29.506887 | 116 | 0.549809 | [
"vector"
] |
67a664e35f20eecb4a08b82c0deade4cecb5fbe8 | 3,612 | hpp | C++ | frame/common.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | frame/common.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | frame/common.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | // frame/common.hpp
//
// Copyright (c) 2007, 2008, 2013 Valentin Palade (vipalade @ gmail . com)
//
// This file is part of SolidFrame framework.
//
// 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.
//
#ifndef SOLID_... | 22.716981 | 97 | 0.712625 | [
"solid"
] |
67a770efdde6c87c700baef78b0e67d5a12d3565 | 15,143 | cpp | C++ | src/main/cpp/auton/primitives/DrivePath.cpp | Team302/2021Year1 | ca674e3a001893da40b8b36173cbe96cc3cb027f | [
"BSD-3-Clause",
"MIT"
] | null | null | null | src/main/cpp/auton/primitives/DrivePath.cpp | Team302/2021Year1 | ca674e3a001893da40b8b36173cbe96cc3cb027f | [
"BSD-3-Clause",
"MIT"
] | null | null | null | src/main/cpp/auton/primitives/DrivePath.cpp | Team302/2021Year1 | ca674e3a001893da40b8b36173cbe96cc3cb027f | [
"BSD-3-Clause",
"MIT"
] | null | null | null | //====================================================================================================================================================
// Copyright 2020 Lake Orion Robotics FIRST Team 302
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated d... | 49.165584 | 174 | 0.623721 | [
"vector"
] |
67ac2918a056d236dc883c1c9808ffb3f5990126 | 4,163 | cpp | C++ | IET/RigidBodyModel.cpp | anokta/CS7055-CS7057 | c1512eac8a9680f6e53ab3b70ce02492246211f4 | [
"MIT"
] | 5 | 2016-11-02T13:25:43.000Z | 2019-01-16T16:46:13.000Z | IET/RigidBodyModel.cpp | anokta/CS7055-CS7057 | c1512eac8a9680f6e53ab3b70ce02492246211f4 | [
"MIT"
] | null | null | null | IET/RigidBodyModel.cpp | anokta/CS7055-CS7057 | c1512eac8a9680f6e53ab3b70ce02492246211f4 | [
"MIT"
] | 1 | 2021-08-24T06:05:04.000Z | 2021-08-24T06:05:04.000Z | #include "RigidBodyModel.h"
#include "EntityManager.h"
#include "glm\gtx\quaternion.hpp"
#include "glm\gtx\transform.hpp"
using namespace glm;
bool RigidBodyModel::gizmo = false;
RigidBodyModel::RigidBodyModel(RigidBody *b, GenericShader * s, GenericShader * gs)
{
body = b;
modelShader = s;
lineShader = gs;
s... | 27.753333 | 138 | 0.696853 | [
"render",
"object",
"transform"
] |
67b1098fb458be72a1aead5d628e1058ca1a7f5a | 584 | cpp | C++ | codes/Leetcode/leetcode093.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | codes/Leetcode/leetcode093.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | codes/Leetcode/leetcode093.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
void dfs(int d, int p, string s, string c, vector<string>& ans) {
if (d == 4) {
if (p == s.size()) ans.push_back(c.substr(0, c.size()-1));
return;
}
int n = s[p] - '0';
c = c + s[p++];
dfs(d + 1, p, s, c + ".", ans);
if (n == 0) return;
while (p < s.size()) {
... | 19.466667 | 67 | 0.443493 | [
"vector"
] |
67b2cd813230278613f87be28b3f68f84679ed3c | 79,393 | cpp | C++ | modules/3d/src/dls.cpp | GerHobbelt/opencv | 7b083a1a6481ffbff315c87248d56466cb806d8f | [
"Apache-2.0"
] | null | null | null | modules/3d/src/dls.cpp | GerHobbelt/opencv | 7b083a1a6481ffbff315c87248d56466cb806d8f | [
"Apache-2.0"
] | null | null | null | modules/3d/src/dls.cpp | GerHobbelt/opencv | 7b083a1a6481ffbff315c87248d56466cb806d8f | [
"Apache-2.0"
] | null | null | null | #include "precomp.hpp"
#include "dls.h"
#include <iostream>
#ifdef HAVE_EIGEN
# if defined __GNUC__ && defined __APPLE__
# pragma GCC diagnostic ignored "-Wshadow"
# endif
# if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable:4701) // potentially uninitialized local variable
# pragma ... | 119.929003 | 1,149 | 0.538788 | [
"vector"
] |
67b54d0b56fc616c6d64659765b51a3010ecc93e | 13,274 | hpp | C++ | include/basalt/camera/generic_camera.hpp | VladyslavUsenko/basalt-headers-mirror | a585db348a84e6f2219b8619e2fc26e8ad04e037 | [
"BSD-3-Clause"
] | 12 | 2020-05-02T11:40:39.000Z | 2022-01-05T13:39:38.000Z | include/basalt/camera/generic_camera.hpp | VladyslavUsenko/basalt-headers-mirror | a585db348a84e6f2219b8619e2fc26e8ad04e037 | [
"BSD-3-Clause"
] | null | null | null | include/basalt/camera/generic_camera.hpp | VladyslavUsenko/basalt-headers-mirror | a585db348a84e6f2219b8619e2fc26e8ad04e037 | [
"BSD-3-Clause"
] | 6 | 2020-06-02T12:52:14.000Z | 2021-12-27T02:49:35.000Z | /**
BSD 3-Clause License
This file is part of the Basalt project.
https://gitlab.com/VladyslavUsenko/basalt-headers.git
Copyright (c) 2019, Vladyslav Usenko and Nikolaus Demmel.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the follo... | 36.367123 | 80 | 0.65067 | [
"vector",
"model"
] |
67b550b21cbc52da67d9bfe1b4ab2d2b7a4b9c5b | 5,677 | cpp | C++ | Lamp/src/Lamp/Physics/CookingFactory.cpp | SGS-Ivar/Lamp | e81195bbfb73b6b4bd2c6d4604e2e3aa532aecb2 | [
"MIT"
] | 2 | 2021-09-13T17:37:34.000Z | 2021-11-17T18:52:42.000Z | Lamp/src/Lamp/Physics/CookingFactory.cpp | SGS-Ivar/Lamp | e81195bbfb73b6b4bd2c6d4604e2e3aa532aecb2 | [
"MIT"
] | 20 | 2020-09-30T13:44:46.000Z | 2021-12-03T14:30:04.000Z | Lamp/src/Lamp/Physics/CookingFactory.cpp | ChunkTreasure1/Lamp | 65be1544322949d6640e1fd108ed5a018387d0eb | [
"MIT"
] | null | null | null | #include "lppch.h"
#include "CookingFactory.h"
#include "PhysXInternal.h"
#include "Lamp/Core/Buffer.h"
namespace Lamp
{
struct CookingData
{
physx::PxCooking* CookingSDK;
physx::PxCookingParams CookingParams;
CookingData(const physx::PxTolerancesScale& scale)
: CookingSDK... | 33.394118 | 180 | 0.581117 | [
"mesh",
"vector",
"transform"
] |
67b5c0abdf217d866cc898137e390d9ab2a6f883 | 285 | hpp | C++ | src/render/MaterialView.hpp | Yousazoe/Solar | 349c75f7a61b1727aa0c6d581cf75124b2502a57 | [
"Apache-2.0"
] | 1 | 2021-08-07T13:02:01.000Z | 2021-08-07T13:02:01.000Z | src/render/MaterialView.hpp | Yousazoe/Solar | 349c75f7a61b1727aa0c6d581cf75124b2502a57 | [
"Apache-2.0"
] | null | null | null | src/render/MaterialView.hpp | Yousazoe/Solar | 349c75f7a61b1727aa0c6d581cf75124b2502a57 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include<render/MaterialBlueprint.hpp>
namespace tutorial::graphics
{
class MaterialView final
{
public:
MaterialView(MaterialInstance& material) noexcept : _material{ material } {}
public:
auto on_gui() -> bool;
private:
MaterialInstance& _material;
};
}
| 15 | 78 | 0.733333 | [
"render"
] |
67b79d45dbb503a8fc5d5b189d3c788514ea48f8 | 4,719 | cc | C++ | runtime/module_exclusion_test.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | 20 | 2021-06-24T16:38:42.000Z | 2022-01-20T16:15:57.000Z | runtime/module_exclusion_test.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | null | null | null | runtime/module_exclusion_test.cc | Paschalis/android-llvm | 317f7fd4b736a0511a2273a2487915c34cf8933e | [
"Apache-2.0"
] | 4 | 2021-11-03T06:01:12.000Z | 2022-02-24T02:57:31.000Z | /*
* Copyright (C) 2019 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.022901 | 92 | 0.709472 | [
"object",
"vector"
] |
67b7e80b06ca9eeea2b261ff964eb4e85695c386 | 2,635 | cc | C++ | hoomd/dem/SWCAPotential.cc | pabloferz/hoomd-blue | 9a27f63b9243b8a3a04ccd3047f686cb0e12ec31 | [
"BSD-3-Clause"
] | null | null | null | hoomd/dem/SWCAPotential.cc | pabloferz/hoomd-blue | 9a27f63b9243b8a3a04ccd3047f686cb0e12ec31 | [
"BSD-3-Clause"
] | null | null | null | hoomd/dem/SWCAPotential.cc | pabloferz/hoomd-blue | 9a27f63b9243b8a3a04ccd3047f686cb0e12ec31 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2009-2022 The Regents of the University of Michigan.
// Part of HOOMD-blue, released under the BSD 3-Clause License.
#ifndef __SWCAPOTENTIAL_CC__
#define __SWCAPOTENTIAL_CC__
#include "SWCAPotential.h"
#include "DEMEvaluator.h"
#include <algorithm>
using namespace std;
namespace hoomd
{
namespa... | 38.75 | 93 | 0.52296 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.