hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 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 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 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 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f53c207ca9546b7be5a530108a6007ce8489e003 | 4,212 | cpp | C++ | test/test_lexer.cpp | miccol/derplanner | cd5d15acb741f027807796af9a12ed8968b4a91e | [
"Zlib"
] | 37 | 2015-05-02T20:26:49.000Z | 2022-01-19T01:28:38.000Z | test/test_lexer.cpp | BantamJoe/derplanner | d1042ba74eea856891132e1dc51cbcad6662f8c3 | [
"Zlib"
] | 3 | 2015-01-03T12:46:49.000Z | 2021-10-04T00:55:17.000Z | test/test_lexer.cpp | BantamJoe/derplanner | d1042ba74eea856891132e1dc51cbcad6662f8c3 | [
"Zlib"
] | 12 | 2015-01-05T12:08:49.000Z | 2022-01-19T01:28:39.000Z | //
// Copyright (c) 2015 Alexander Shafranov shafranov@gmail.com
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for any ... | 33.428571 | 144 | 0.635328 | miccol |
f53c91f6eaca509838ef2e67a7d6114c7497f247 | 21,603 | cpp | C++ | apiidec/PnlIdecIaqLive.cpp | mpsitech/idec_public | a74cf1c7095e08ee61b237fddc1642f83dbb852d | [
"BSD-2-Clause"
] | null | null | null | apiidec/PnlIdecIaqLive.cpp | mpsitech/idec_public | a74cf1c7095e08ee61b237fddc1642f83dbb852d | [
"BSD-2-Clause"
] | null | null | null | apiidec/PnlIdecIaqLive.cpp | mpsitech/idec_public | a74cf1c7095e08ee61b237fddc1642f83dbb852d | [
"BSD-2-Clause"
] | null | null | null | /**
* \file PnlIdecIaqLive.cpp
* API code for job PnlIdecIaqLive (implementation)
* \author Alexander Wirthmueller
* \date created: 30 Dec 2017
* \date modified: 30 Dec 2017
*/
#ifdef _WIN32
#include "stdafx.h"
#endif
#include "PnlIdecIaqLive.h"
/*********************************************************... | 33.493023 | 267 | 0.655002 | mpsitech |
f53ee2a41063568cc4dd786de99981224880adf7 | 3,525 | cpp | C++ | ngraph/src/ngraph/frontend/onnx_import/op/clip.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 1 | 2020-06-21T09:51:42.000Z | 2020-06-21T09:51:42.000Z | ngraph/src/ngraph/frontend/onnx_import/op/clip.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 4 | 2021-04-01T08:29:48.000Z | 2021-08-30T16:12:52.000Z | ngraph/src/ngraph/frontend/onnx_import/op/clip.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 3 | 2021-03-09T08:27:29.000Z | 2021-04-07T04:58:54.000Z | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 37.105263 | 100 | 0.495603 | anton-potapov |
f5412bbab5288e406e6c5fd4189c7dfee834500c | 1,461 | hpp | C++ | deps/boost/include/boost/contract/detail/preprocessor/keyword/virtual.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | deps/boost/include/boost/contract/detail/preprocessor/keyword/virtual.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | deps/boost/include/boost/contract/detail/preprocessor/keyword/virtual.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z |
#ifndef BOOST_CONTRACT_DETAIL_PP_KEYWORD_VIRTUAL_HPP_
#define BOOST_CONTRACT_DETAIL_PP_KEYWORD_VIRTUAL_HPP_
// Copyright (C) 2008-2018 Lorenzo Caminiti
// Distributed under the Boost Software License, Version 1.0 (see accompanying
// file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt).
// S... | 40.583333 | 80 | 0.759754 | kindlychung |
f541a25cdab221284e44a9e46140a09a65cf867a | 1,046 | cc | C++ | c_src/globals.cc | DavidAlphaFox/gen_utp | 63dd01722dfdfc87c94c6de5d59029a1c0682f4a | [
"Apache-2.0"
] | 11 | 2015-04-01T09:50:37.000Z | 2019-07-16T02:17:01.000Z | c_src/globals.cc | DavidAlphaFox/gen_utp | 63dd01722dfdfc87c94c6de5d59029a1c0682f4a | [
"Apache-2.0"
] | 1 | 2015-09-05T06:25:59.000Z | 2015-09-05T06:25:59.000Z | c_src/globals.cc | DavidAlphaFox/gen_utp | 63dd01722dfdfc87c94c6de5d59029a1c0682f4a | [
"Apache-2.0"
] | 5 | 2017-05-01T01:25:47.000Z | 2021-06-04T07:51:49.000Z | // -------------------------------------------------------------------
//
// globals.h: uTP driver global variables
//
// Copyright (c) 2012-2013 Basho Technologies, Inc. All Rights Reserved.
//
// This file is provided to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file
// except... | 32.6875 | 72 | 0.633843 | DavidAlphaFox |
f5425b355df028bb6007d937c62bf374bd879944 | 6,989 | cpp | C++ | dlib/dlib/test/matrix_lu.cpp | mohitjain4395/mosip | 20ee978dc539be42c8b79cd4b604fdf681e7b672 | [
"MIT"
] | 11,719 | 2015-01-03T22:38:57.000Z | 2022-03-30T21:45:04.000Z | dlib/test/matrix_lu.cpp | KiLJ4EdeN/dlib | eb1f08ce6ab3ca6f9d10425d899103de3c0df56c | [
"BSL-1.0"
] | 2,518 | 2015-01-04T04:38:06.000Z | 2022-03-31T11:55:43.000Z | dlib/test/matrix_lu.cpp | KiLJ4EdeN/dlib | eb1f08ce6ab3ca6f9d10425d899103de3c0df56c | [
"BSL-1.0"
] | 3,308 | 2015-01-01T14:34:16.000Z | 2022-03-31T07:20:07.000Z | // Copyright (C) 2009 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#include <dlib/matrix.h>
#include <sstream>
#include <string>
#include <cstdlib>
#include <ctime>
#include <vector>
#include "../stl_checked.h"
#include "../array.h"
#include "../rand.h"
#i... | 31.200893 | 118 | 0.487337 | mohitjain4395 |
f54627e5632a9e8acbda5f81744132e639e10089 | 15,235 | cpp | C++ | librtt/Input/Rtt_InputAxisType.cpp | agramonte/corona | 3a6892f14eea92fdab5fa6d41920aa1e97bc22b1 | [
"MIT"
] | 1,968 | 2018-12-30T21:14:22.000Z | 2022-03-31T23:48:16.000Z | librtt/Input/Rtt_InputAxisType.cpp | agramonte/corona | 3a6892f14eea92fdab5fa6d41920aa1e97bc22b1 | [
"MIT"
] | 303 | 2019-01-02T19:36:43.000Z | 2022-03-31T23:52:45.000Z | librtt/Input/Rtt_InputAxisType.cpp | agramonte/corona | 3a6892f14eea92fdab5fa6d41920aa1e97bc22b1 | [
"MIT"
] | 254 | 2019-01-02T19:05:52.000Z | 2022-03-30T06:32:28.000Z | //////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: support@coronalabs.com
//
////////////////////////... | 40.197889 | 111 | 0.700689 | agramonte |
f546fd92bf3703101061ab43baf52c210d74d150 | 18,220 | cc | C++ | xls/passes/bdd_simplification_pass_test.cc | briansrls/xls | 35fd94eff68611d510288938469ee620a38e1976 | [
"Apache-2.0"
] | null | null | null | xls/passes/bdd_simplification_pass_test.cc | briansrls/xls | 35fd94eff68611d510288938469ee620a38e1976 | [
"Apache-2.0"
] | null | null | null | xls/passes/bdd_simplification_pass_test.cc | briansrls/xls | 35fd94eff68611d510288938469ee620a38e1976 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The XLS Authors
//
// 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 t... | 40.579065 | 80 | 0.645005 | briansrls |
f5490eebdba9af20fab2a8198521554d85b5272e | 733 | hpp | C++ | test/unittests/lib/core/runtime/f32_neg_unittest.hpp | yuhao-kuo/WasmVM | b4dcd4f752f07ba4180dc275d47764c363776301 | [
"BSD-3-Clause"
] | 125 | 2018-10-22T19:00:25.000Z | 2022-03-14T06:33:25.000Z | test/unittests/lib/core/runtime/f32_neg_unittest.hpp | yuhao-kuo/WasmVM | b4dcd4f752f07ba4180dc275d47764c363776301 | [
"BSD-3-Clause"
] | 80 | 2018-10-18T06:35:07.000Z | 2020-04-20T02:40:22.000Z | test/unittests/lib/core/runtime/f32_neg_unittest.hpp | yuhao-kuo/WasmVM | b4dcd4f752f07ba4180dc275d47764c363776301 | [
"BSD-3-Clause"
] | 27 | 2018-11-04T12:05:35.000Z | 2021-09-06T05:11:50.000Z | #include <skypat/skypat.h>
#define _Bool bool
extern "C" {
#include <dataTypes/Value.h>
#include <core/Runtime.h>
}
#undef _Bool
SKYPAT_F(Runtime_f32_neg, regular)
{
// prepare
Stack stack = new_Stack();
Value *val1 = new_f32Value(5), *val2 = new_f32Value(-3);
push_Value(stack, val1);
push_Value(s... | 18.794872 | 60 | 0.638472 | yuhao-kuo |
f549cf951f6391a1292dd4aa2591a6da6f49f7ad | 3,030 | cpp | C++ | engine/src/Object.cpp | EvilPyro/2D_Game_Framework | b3b8538354a65288bdbfb9d787086038dbb57785 | [
"Zlib"
] | null | null | null | engine/src/Object.cpp | EvilPyro/2D_Game_Framework | b3b8538354a65288bdbfb9d787086038dbb57785 | [
"Zlib"
] | null | null | null | engine/src/Object.cpp | EvilPyro/2D_Game_Framework | b3b8538354a65288bdbfb9d787086038dbb57785 | [
"Zlib"
] | null | null | null | #include "Object.h"
#include "Engine.h"
#include <iostream>
#include <cassert>
#include <limits>
std::map<std::string,ObjectFactory*>& Object::getFactories() { //Singleton
static std::map<std::string,ObjectFactory*> factories;
return factories;
}
void Object::registerType(const std::string& name, ObjectFactory* fac... | 32.234043 | 104 | 0.6967 | EvilPyro |
f54a1f3a13f712eff13d7cd6639319cf570e70f3 | 2,956 | cxx | C++ | src/mlio/shuffled_instance_reader.cxx | laurencer/ml-io | b40a88f0b61f7dfd2b74897a9b2385539d5796aa | [
"Apache-2.0"
] | null | null | null | src/mlio/shuffled_instance_reader.cxx | laurencer/ml-io | b40a88f0b61f7dfd2b74897a9b2385539d5796aa | [
"Apache-2.0"
] | 2 | 2020-04-08T01:37:44.000Z | 2020-04-14T20:14:07.000Z | src/mlio/shuffled_instance_reader.cxx | laurencer/ml-io | b40a88f0b61f7dfd2b74897a9b2385539d5796aa | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You
* may not use this file except in compliance with the License. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "lice... | 23.275591 | 76 | 0.656292 | laurencer |
f54ad75e5624849f283d2af4ac578fc36ab82ee3 | 4,626 | cpp | C++ | modules/base/src/processors/stereocamerasyncer.cpp | alexanderbock/inviwo | 5a23de833ba3f7bd56d71154e75df3bfc6ee6a7c | [
"BSD-2-Clause"
] | 349 | 2015-01-30T09:21:52.000Z | 2022-03-25T03:10:02.000Z | modules/base/src/processors/stereocamerasyncer.cpp | alexanderbock/inviwo | 5a23de833ba3f7bd56d71154e75df3bfc6ee6a7c | [
"BSD-2-Clause"
] | 641 | 2015-09-23T08:54:06.000Z | 2022-03-23T09:50:55.000Z | modules/base/src/processors/stereocamerasyncer.cpp | alexanderbock/inviwo | 5a23de833ba3f7bd56d71154e75df3bfc6ee6a7c | [
"BSD-2-Clause"
] | 124 | 2015-02-27T23:45:02.000Z | 2022-02-21T09:37:14.000Z | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2015-2021 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... | 44.912621 | 99 | 0.642888 | alexanderbock |
f54ae4ea406d8ff381198e92814ed62c86ae26a4 | 14,277 | cpp | C++ | cws/src/v20180312/model/MonitorsDetail.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | cws/src/v20180312/model/MonitorsDetail.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | cws/src/v20180312/model/MonitorsDetail.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 28.271287 | 143 | 0.673321 | li5ch |
f54bbba684f72965ccc8af9983aaf89e4c43beee | 9,554 | cc | C++ | zircon/kernel/phys/symbolize.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 2 | 2022-02-24T16:24:29.000Z | 2022-02-25T22:33:10.000Z | zircon/kernel/phys/symbolize.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 2 | 2021-09-19T21:55:09.000Z | 2021-12-19T03:34:53.000Z | zircon/kernel/phys/symbolize.cc | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2020 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include "phys/symbolize.h"
#include <inttypes.h>
#include <lib/boot-options/boot-options.h>
#include <stdarg.h>
#include <stdint... | 33.173611 | 100 | 0.661922 | allansrc |
f54c49e33f370b3af445d43201765aa3ef4fbd95 | 3,006 | cpp | C++ | src/d3d11/d3d11_interop.cpp | archfan/dxvk | 91c82f17cc34a2410191f15c8d66fb6fa9b927c2 | [
"Zlib"
] | 7 | 2019-03-31T15:44:23.000Z | 2021-07-15T23:34:11.000Z | src/d3d11/d3d11_interop.cpp | archfan/dxvk | 91c82f17cc34a2410191f15c8d66fb6fa9b927c2 | [
"Zlib"
] | null | null | null | src/d3d11/d3d11_interop.cpp | archfan/dxvk | 91c82f17cc34a2410191f15c8d66fb6fa9b927c2 | [
"Zlib"
] | 1 | 2019-11-04T07:48:24.000Z | 2019-11-04T07:48:24.000Z | #include "d3d11_context_imm.h"
#include "d3d11_interop.h"
#include "d3d11_device.h"
#include "../dxvk/dxvk_adapter.h"
#include "../dxvk/dxvk_device.h"
#include "../dxvk/dxvk_instance.h"
namespace dxvk {
D3D11VkInterop::D3D11VkInterop(
IDXGIObject* pContainer,
D3D11Device* pD... | 28.093458 | 85 | 0.653027 | archfan |
f54e973b502816b39cdadf58abe3251542b12ee7 | 6,271 | cpp | C++ | SRC/symbolic.cpp | anastasiiakim/ranked_probs | be6248b57e033e39f9db133a88fb68993ac7dc99 | [
"MIT"
] | 5 | 2020-07-03T04:21:39.000Z | 2021-04-01T20:25:50.000Z | SRC/symbolic.cpp | anastasiiakim/ranked_probs | be6248b57e033e39f9db133a88fb68993ac7dc99 | [
"MIT"
] | 1 | 2020-02-06T19:52:46.000Z | 2020-02-06T19:52:54.000Z | SRC/symbolic.cpp | anastasiiakim/ranked_probs | be6248b57e033e39f9db133a88fb68993ac7dc99 | [
"MIT"
] | 1 | 2020-07-08T02:40:17.000Z | 2020-07-08T02:40:17.000Z | #include <string>
#include <fstream>
#include <iostream>
#include <stack>
#include <cmath>
#include <algorithm>
#include <iomanip> // output more decimals
#define EPS 1e-8
#include "string_manipulations.h"
#include "node.h"
#include "queue.h"
#include "probs_calculation.h"
#include "symbolic.h"
using namespace std;
... | 23.664151 | 215 | 0.556052 | anastasiiakim |
f551827960ef4d553926dffe0512459b3e51fc3a | 34,834 | cpp | C++ | projects/view3d/dll/window.cpp | psryland/rylogic_code | f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b | [
"CNRI-Python"
] | 2 | 2020-11-11T16:19:04.000Z | 2021-01-19T01:53:29.000Z | projects/view3d/dll/window.cpp | psryland/rylogic_code | f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b | [
"CNRI-Python"
] | 1 | 2020-07-27T09:00:21.000Z | 2020-07-27T10:58:10.000Z | projects/view3d/dll/window.cpp | psryland/rylogic_code | f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b | [
"CNRI-Python"
] | 1 | 2021-04-04T01:39:55.000Z | 2021-04-04T01:39:55.000Z | //***************************************************************************************************
// View 3D
// Copyright (c) Rylogic Ltd 2009
//***************************************************************************************************
#include "view3d/dll/forward.h"
#include "view3d/dll/window.h"
#incl... | 29.874786 | 204 | 0.696877 | psryland |
f55272e08aaea75186312ad68e602b586a63e5ff | 4,808 | cc | C++ | proxy/EventName.cc | garfieldonly/ats_git | 940ff5c56bebabb96130a55c2a17212c5c518138 | [
"Apache-2.0"
] | 1 | 2022-01-19T14:34:34.000Z | 2022-01-19T14:34:34.000Z | proxy/EventName.cc | mingzym/trafficserver | a01c3a357b4ff9193f2e2a8aee48e3751ef2177a | [
"Apache-2.0"
] | 2 | 2017-12-05T23:48:37.000Z | 2017-12-20T01:22:07.000Z | proxy/EventName.cc | maskit/trafficserver | 3ffa19873f7cd7ced2fbdfed5a0ac8ddbbe70a68 | [
"Apache-2.0"
] | null | null | null | /** @file
A brief file description
@section license License
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 und... | 30.05 | 77 | 0.744176 | garfieldonly |
f55290f6493eb9b106cbbbf3b995e695a1b2ff68 | 13,668 | cc | C++ | src/rocksdb2/java/rocksjni/rocksjni.cc | Py9595/Backpack-Travel-Underlying-Code | c5758792eba7cdd62cb6ff46e642e8e4e4e5417e | [
"BSL-1.0"
] | 89 | 2015-04-23T20:24:58.000Z | 2022-03-20T12:35:30.000Z | src/rocksdb2/java/rocksjni/rocksjni.cc | Py9595/Backpack-Travel-Underlying-Code | c5758792eba7cdd62cb6ff46e642e8e4e4e5417e | [
"BSL-1.0"
] | 14 | 2020-05-25T15:42:18.000Z | 2022-03-20T12:44:56.000Z | src/rocksdb2/java/rocksjni/rocksjni.cc | Py9595/Backpack-Travel-Underlying-Code | c5758792eba7cdd62cb6ff46e642e8e4e4e5417e | [
"BSL-1.0"
] | 41 | 2015-01-19T05:26:34.000Z | 2022-02-23T03:47:39.000Z | // Copyright (c) 2014, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
// This file implements the "... | 31.934579 | 80 | 0.677349 | Py9595 |
f553f5efe7d4e0ff79f30408953876cb3c400939 | 3,924 | cpp | C++ | WonderBrush/src/tools/transform/ObjectSelection.cpp | waddlesplash/WonderBrush-v2 | df20b6a43115d02e4606c71f27d0712ac2aebb62 | [
"MIT"
] | 11 | 2018-11-10T11:14:11.000Z | 2021-12-27T17:17:08.000Z | WonderBrush/src/tools/transform/ObjectSelection.cpp | waddlesplash/WonderBrush-v2 | df20b6a43115d02e4606c71f27d0712ac2aebb62 | [
"MIT"
] | 27 | 2018-11-11T00:06:25.000Z | 2021-06-24T06:43:38.000Z | WonderBrush/src/tools/transform/ObjectSelection.cpp | waddlesplash/WonderBrush-v2 | df20b6a43115d02e4606c71f27d0712ac2aebb62 | [
"MIT"
] | 7 | 2018-11-10T20:32:49.000Z | 2021-03-15T18:03:42.000Z | // ObjectSelection.cpp
#include <stdio.h>
#include <string.h>
#include "Stroke.h"
#include "TransformState.h"
#include "TransformAction.h"
#include "ObjectSelection.h"
// constructor
ObjectSelection::ObjectSelection(CanvasView* view,
TransformState* state,
Stroke** objects,
int32 count)
... | 22.422857 | 75 | 0.657492 | waddlesplash |
f554b74cb93f2e31cd0f27cb323cc21fa402db5a | 505 | cpp | C++ | InterviewBit/ValidBinarySearchTree.cpp | Code-With-Aagam/competitive-programming | 610520cc396fb13a03c606b5fb6739cfd68cc444 | [
"MIT"
] | 2 | 2022-02-08T12:37:41.000Z | 2022-03-09T03:48:56.000Z | InterviewBit/ValidBinarySearchTree.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | InterviewBit/ValidBinarySearchTree.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | 2 | 2021-01-23T14:35:48.000Z | 2021-03-15T05:04:24.000Z | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
int isBST(TreeNode *root, int min, int max) {
if (root == NULL) {
return 1;
}
if (root->val < min || root->val > max) {
retu... | 21.041667 | 88 | 0.586139 | Code-With-Aagam |
f556a8b4605b18d3341f0a8ef4cb758604d7d134 | 56,427 | hpp | C++ | yactfr/internal/proc.hpp | eepp/yactfr | 5cec5680d025d82a4f175ffc19c0704b32ef529f | [
"MIT"
] | 7 | 2016-08-26T14:20:06.000Z | 2022-02-03T21:17:25.000Z | yactfr/internal/proc.hpp | eepp/yactfr | 5cec5680d025d82a4f175ffc19c0704b32ef529f | [
"MIT"
] | 2 | 2018-05-29T17:43:37.000Z | 2018-05-30T18:38:39.000Z | yactfr/internal/proc.hpp | eepp/yactfr | 5cec5680d025d82a4f175ffc19c0704b32ef529f | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2016-2022 Philippe Proulx <eepp.ca>
*
* This software may be modified and distributed under the terms of the
* MIT license. See the LICENSE file for details.
*/
/*
* Here are the possible instructions for the yactfr VM.
*
* No numeric bytecode is involved here: the VM deals with a sequence o... | 23.501458 | 100 | 0.677849 | eepp |
f556b5e2a660e342dd95b2f11d1e7a91d39772d2 | 10,728 | cpp | C++ | ext/RadioHead/STM32ArduinoCompat/HardwareSerial.cpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | null | null | null | ext/RadioHead/STM32ArduinoCompat/HardwareSerial.cpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | null | null | null | ext/RadioHead/STM32ArduinoCompat/HardwareSerial.cpp | walmis/xpcc | 1d87c4434530c6aeac923f57d379aeaf32e11e1e | [
"BSD-3-Clause"
] | null | null | null | // ArduinoCompat/HardwareSerial.cpp
//
// Author: mikem@airspayce.com
#include "HardwareSerial.h"
#include <stm32f4xx_usart.h>
// Preinstantiated Serial objects
HardwareSerial Serial1(USART1);
HardwareSerial Serial2(USART2);
HardwareSerial Serial3(USART3);
HardwareSerial Serial4(UART4);
HardwareSerial Serial5(UART5);... | 30.916427 | 93 | 0.723527 | walmis |
f556d190c3d45b85cd5bbe6f3dd9879a3a19ec94 | 1,862 | cc | C++ | web/web_runtime.cc | weberlo/tvm | e4b9f986dab8c48ba109a52106565fc4be6b67c4 | [
"Apache-2.0"
] | 2 | 2020-06-24T03:16:34.000Z | 2020-06-24T03:16:36.000Z | web/web_runtime.cc | weberlo/tvm | e4b9f986dab8c48ba109a52106565fc4be6b67c4 | [
"Apache-2.0"
] | 4 | 2020-12-04T21:00:38.000Z | 2022-01-22T12:49:30.000Z | web/web_runtime.cc | weberlo/tvm | e4b9f986dab8c48ba109a52106565fc4be6b67c4 | [
"Apache-2.0"
] | 1 | 2020-02-09T10:42:31.000Z | 2020-02-09T10:42:31.000Z | /*!
* Copyright (c) 2017 by Contributors
* \file web_runtime.cc
*/
#include <sys/stat.h>
#include <fstream>
#include "../src/runtime/c_runtime_api.cc"
#include "../src/runtime/cpu_device_api.cc"
#include "../src/runtime/workspace_pool.cc"
#include "../src/runtime/module_util.cc"
#include "../src/runtime/system_lib... | 26.6 | 71 | 0.689044 | weberlo |
f5577de6da973e2043752baef0fd29205c64a734 | 2,808 | cc | C++ | src/cobalt/bin/app/logger_factory_impl.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | src/cobalt/bin/app/logger_factory_impl.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | src/cobalt/bin/app/logger_factory_impl.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/cobalt/bin/app/logger_factory_impl.h"
#include "src/cobalt/bin/app/utils.h"
#include "src/lib/fsl/vmo/strings.h"
namespace cobalt {
using ... | 40.695652 | 92 | 0.747863 | zarelaky |
f558e7fca18b3734c65de8238c52e49303425cce | 7,337 | cc | C++ | chrome/browser/ui/user_education/feature_promo_specification.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/ui/user_education/feature_promo_specification.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/ui/user_education/feature_promo_specification.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/user_education/feature_promo_specification.h"
#include <string>
#include "ui/base/accelerators/accelerator.h"
#include "ui/b... | 39.446237 | 80 | 0.757258 | chromium |
f55965a81ede33f64963a2b0f386c4b1da485272 | 880 | cpp | C++ | src/ShiftedPhaseType/DistanceLookup.cpp | Bhaskers-Blu-Org2/trsp | 80ecfab65800ff3b96d16c6ed06f3b62e56f59cd | [
"MIT"
] | 6 | 2020-03-20T02:42:16.000Z | 2022-03-12T21:35:13.000Z | src/ShiftedPhaseType/DistanceLookup.cpp | microsoft/trsp | 80ecfab65800ff3b96d16c6ed06f3b62e56f59cd | [
"MIT"
] | null | null | null | src/ShiftedPhaseType/DistanceLookup.cpp | microsoft/trsp | 80ecfab65800ff3b96d16c6ed06f3b62e56f59cd | [
"MIT"
] | 5 | 2020-06-30T16:20:39.000Z | 2022-03-12T21:35:20.000Z | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
// Written by Luke Marshall and Timur Tankayev, 2019
//
#include "DistanceLookup.h"
using namespace ShiftedPhaseType;
DistanceLookup::DistanceLookup(std::string ... | 30.344828 | 102 | 0.711364 | Bhaskers-Blu-Org2 |
f559e212f5fc8d585fd435ccaf42db72d8ba4d50 | 2,431 | cpp | C++ | Actor/Characters/Enemy/GBoxEnemy_Close/StateAI/States/StateAI_GBEC_Combat.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | Actor/Characters/Enemy/GBoxEnemy_Close/StateAI/States/StateAI_GBEC_Combat.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | Actor/Characters/Enemy/GBoxEnemy_Close/StateAI/States/StateAI_GBEC_Combat.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "StateAI_GBEC_Combat.h"
void UStateAI_GBEC_Combat::Init(class UStateMng_AI* pMng)
{
Super::Init(pMng);
m_pStateClass.Add(static_cast<int32>(E_StateAI_GBEC_Combat::E_Combat_Attack), NewObject<UStateAI_GBEC_Combat_Attack>());
m_... | 24.069307 | 130 | 0.736734 | Bornsoul |
f55c20b5c84b5a6ef3526cca76a8c30290b895bf | 3,431 | cpp | C++ | Utilities/IpSegmentation/ipSegmentationContourUtils.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Utilities/IpSegmentation/ipSegmentationContourUtils.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Utilities/IpSegmentation/ipSegmentationContourUtils.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied w... | 30.096491 | 141 | 0.507432 | liu3xing3long |
f55cdcc4b544b00466b841fe6dbaff59253705c4 | 277 | hpp | C++ | include/mdw/formula/impl/Expression.hpp | AmadeusITGroup/Formula | 4ff03338814727bdb32a114bea84c52923a73837 | [
"MIT"
] | 5 | 2018-11-08T13:54:52.000Z | 2020-12-12T16:08:53.000Z | include/mdw/formula/impl/Expression.hpp | AmadeusITGroup/Formula | 4ff03338814727bdb32a114bea84c52923a73837 | [
"MIT"
] | null | null | null | include/mdw/formula/impl/Expression.hpp | AmadeusITGroup/Formula | 4ff03338814727bdb32a114bea84c52923a73837 | [
"MIT"
] | 1 | 2020-11-12T21:57:40.000Z | 2020-11-12T21:57:40.000Z | #pragma once
#include <mdw/formula/Expression.hpp>
#include <mdw/formula/Grammar.hpp>
namespace mdw { namespace formula {
template <class T>
ExpressionType BaseTypedExpression<T>::acquireType(const Grammar& iGrammar) const
{
return iGrammar.findType<T>();
}
}}
| 18.466667 | 83 | 0.729242 | AmadeusITGroup |
f55ea5477a5f21d56e55a862c7e6a9e68b8a07e1 | 6,176 | cc | C++ | gazebo/gui/building/LineSegmentItem.cc | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2015-07-02T08:23:30.000Z | 2020-11-17T19:00:38.000Z | gazebo/gui/building/LineSegmentItem.cc | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | gazebo/gui/building/LineSegmentItem.cc | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2015-04-22T18:33:15.000Z | 2021-11-16T10:17:45.000Z | /*
* Copyright 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 25.841004 | 80 | 0.560719 | thomas-moulard |
f55ec82fd546cce41ca632498d164f023ada7ae6 | 605 | hpp | C++ | math/famous_sequence/Bernoulli_numbers.hpp | hly1204/library | b62c47a8f20623c1f1edd892b980714e8587f40e | [
"Unlicense"
] | 7 | 2021-07-20T15:25:00.000Z | 2022-03-13T11:58:25.000Z | math/famous_sequence/Bernoulli_numbers.hpp | hly1204/library | b62c47a8f20623c1f1edd892b980714e8587f40e | [
"Unlicense"
] | 10 | 2021-03-11T16:08:22.000Z | 2022-03-13T08:40:36.000Z | math/famous_sequence/Bernoulli_numbers.hpp | hly1204/library | b62c47a8f20623c1f1edd892b980714e8587f40e | [
"Unlicense"
] | null | null | null | #ifndef BERNOULLI_NUMBERS_HEADER_HPP
#define BERNOULLI_NUMBERS_HEADER_HPP
/**
* @brief Bernoulli number
* @docs docs/math/famous_sequence/Bernoulli_numbers.md
*/
#include "../formal_power_series/prime_binomial.hpp"
namespace lib {
template <typename PolyType>
void Bernoulli_numbers(int n, PolyType &... | 24.2 | 62 | 0.664463 | hly1204 |
f5633ad5036ebd93ac14654e79063a41fffb1600 | 4,975 | cc | C++ | tools/xcpatch.cc | antmicro/prjuray-tools | fb652188abb270042369e2e1bb51a53007d479ed | [
"ISC"
] | 1 | 2021-01-26T18:13:10.000Z | 2021-01-26T18:13:10.000Z | tools/xcpatch.cc | antmicro/prjuray-tools | fb652188abb270042369e2e1bb51a53007d479ed | [
"ISC"
] | 2 | 2020-07-17T23:32:00.000Z | 2020-08-31T12:58:37.000Z | tools/xcpatch.cc | antmicro/prjuray-tools | fb652188abb270042369e2e1bb51a53007d479ed | [
"ISC"
] | 1 | 2020-08-27T17:02:52.000Z | 2020-08-27T17:02:52.000Z | /*
* Copyright (C) 2017-2020 The Project X-Ray Authors.
* Copyright (C) 2020 The Project U-Ray Authors.
*
* Use of this source code is governed by a ISC-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/ISC
*
* SPDX-License-Identifier: ISC
*/
#include <iostre... | 34.310345 | 80 | 0.657085 | antmicro |
f5641dbeb6088106ed581fa624e36d01f00209e5 | 350 | cpp | C++ | id1026/main.cpp | adogadaev/timus | eeadeb3ac60b7259988fe579422d386b95c4ca9d | [
"Apache-2.0"
] | null | null | null | id1026/main.cpp | adogadaev/timus | eeadeb3ac60b7259988fe579422d386b95c4ca9d | [
"Apache-2.0"
] | null | null | null | id1026/main.cpp | adogadaev/timus | eeadeb3ac60b7259988fe579422d386b95c4ca9d | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <string>
using namespace std;
int main() {
int n;
int aNum[100000];
cin >> n;
for (int i = 0; i < n; i++)
cin >> aNum[i];
sort(aNum, aNum+n);
int k;
int idx;
string str;
cin >> str;
cin >> k;
for (int i = 0; i < k; i++) {
cin >> idx;
cout << aNum[idx... | 12.962963 | 30 | 0.542857 | adogadaev |
f564adaea88496b092c7dcd43290303ea37b6cb8 | 2,919 | cpp | C++ | test/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 187 | 2015-02-28T11:50:45.000Z | 2022-02-20T12:51:00.000Z | test/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 2 | 2019-06-24T20:44:59.000Z | 2020-06-17T18:41:35.000Z | test/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 80 | 2015-01-02T12:44:41.000Z | 2022-01-20T15:37:54.000Z | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | 35.168675 | 87 | 0.465913 | caiohamamura |
f56573316115cbb38dff79e0207857936c77fad1 | 3,828 | hpp | C++ | include/xul/posix/daemon_controller.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 2 | 2018-03-16T07:06:48.000Z | 2018-04-02T03:02:14.000Z | include/xul/posix/daemon_controller.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | null | null | null | include/xul/posix/daemon_controller.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 1 | 2019-08-12T05:15:29.000Z | 2019-08-12T05:15:29.000Z | #pragma once
#include <xul/net/message_socket.hpp>
#include <xul/lang/object_ptr.hpp>
#include <xul/util/singleton.hpp>
#include <xul/net/io_service.hpp>
#include <vector>
#include <assert.h>
#include <unistd.h>
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include ... | 27.342857 | 126 | 0.621996 | hindsights |
f56662e34ad59f7431e3118bd644d3165950d933 | 4,484 | cc | C++ | components/keyed_service/core/keyed_service_factory.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/keyed_service/core/keyed_service_factory.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/keyed_service/core/keyed_service_factory.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/keyed_service/core/keyed_service_factory.h"
#include <utility>
#include "base/check.h"
#include "base/stl_util.h"
#include "compone... | 35.872 | 95 | 0.716994 | mghgroup |
f56717e64231bc9285262ab1e08dc8dfc8bd12e1 | 8,816 | cpp | C++ | ChallengeResponse/src/ChallengeResponse_generated/ChallengeResponse-cpp-federates/ChallengeResponse-rti-cpp/src/main/c++/ParentObject.cpp | usnistgov/ucef-samples | b7bffce0bc487223b4992993df8154706a751949 | [
"MIT"
] | 3 | 2017-07-27T14:23:18.000Z | 2020-07-10T01:36:05.000Z | ChallengeResponse/src/ChallengeResponse_generated/ChallengeResponse-cpp-federates/ChallengeResponse-rti-cpp/src/main/c++/ParentObject.cpp | usnistgov/ucef-samples | b7bffce0bc487223b4992993df8154706a751949 | [
"MIT"
] | 54 | 2017-08-15T23:25:40.000Z | 2021-12-14T21:15:09.000Z | ChallengeResponse/src/ChallengeResponse_generated/ChallengeResponse-cpp-federates/ChallengeResponse-rti-cpp/src/main/c++/ParentObject.cpp | usnistgov/ucef-samples | b7bffce0bc487223b4992993df8154706a751949 | [
"MIT"
] | 2 | 2022-02-07T16:55:49.000Z | 2022-02-08T13:22:02.000Z | // This file was generated by the WebGME Federates Exporter plugin. Do not edit manually!
#include "ParentObject.hpp"
void ParentObject::init( RTI::RTIambassador *rti ) {
static bool isInitialized = false;
if ( isInitialized ) {
return;
}
isInitialized = true;
ObjectRoot::init( rti );
bool isNotInitialized ... | 36.580913 | 154 | 0.694306 | usnistgov |
f5675974ba60a0d3211262cb267526d573312d42 | 581 | cpp | C++ | Cplus/GettheMaximumScore.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | 1 | 2018-01-22T12:06:28.000Z | 2018-01-22T12:06:28.000Z | Cplus/GettheMaximumScore.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | null | null | null | Cplus/GettheMaximumScore.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <vector>
using namespace std;
class Solution
{
public:
int maxSum(vector<int> &nums1, vector<int> &nums2)
{
long sum1 = 0, sum2 = 0;
int N1 = nums1.size(), N2 = nums2.size();
for (int i = 0, j = 0; i < N1 || j < N2;)
{
if (i < N1 && (j == N2 || nums1[i] < nums2[j]))
sum1 ... | 19.366667 | 55 | 0.516351 | JumHorn |
f567d00b2ca647df1b7e3972a218e70b1f071147 | 7,635 | cpp | C++ | MPinRC/MPinWrapper.cpp | apache/incubator-milagro-mfa-sdk-wp | 61a7426154ad23cff7c687c10eebb49e4ad53d14 | [
"Apache-2.0"
] | 1 | 2021-11-10T15:14:43.000Z | 2021-11-10T15:14:43.000Z | MPinRC/MPinWrapper.cpp | apache/incubator-milagro-mfa-sdk-wp | 61a7426154ad23cff7c687c10eebb49e4ad53d14 | [
"Apache-2.0"
] | null | null | null | MPinRC/MPinWrapper.cpp | apache/incubator-milagro-mfa-sdk-wp | 61a7426154ad23cff7c687c10eebb49e4ad53d14 | [
"Apache-2.0"
] | 3 | 2016-05-24T12:28:07.000Z | 2021-11-10T15:14:37.000Z | #include "MPinWrapper.h"
using namespace MPinRC;
#pragma region MPinWrapper
MPinWrapper::MPinWrapper() : sdk(new MPinSDK)
{
}
MPinWrapper::~MPinWrapper()
{
if (sdk != nullptr)
delete sdk;
}
void MPinWrapper::Destroy()
{
this->sdk->Destroy();
}
void MPinWrapper::ClearUsers()
{
this->sdk->ClearUsers();
}
MPinR... | 34.547511 | 158 | 0.771447 | apache |
f568f764ff5eb0d954653e3548fdea5eb75033cb | 28,239 | cxx | C++ | Plugins/pvNVIDIAIndeX/src/vtknvindex_cluster_properties.cxx | cclauss/ParaView | 3aa1b5818b4b724cac09aaf62114011869d90706 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Plugins/pvNVIDIAIndeX/src/vtknvindex_cluster_properties.cxx | cclauss/ParaView | 3aa1b5818b4b724cac09aaf62114011869d90706 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Plugins/pvNVIDIAIndeX/src/vtknvindex_cluster_properties.cxx | cclauss/ParaView | 3aa1b5818b4b724cac09aaf62114011869d90706 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /* Copyright 2021 NVIDIA Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions... | 35.079503 | 100 | 0.648642 | cclauss |
f56e4162b60e11ff8b99bad95a9a46ff55354a03 | 10,150 | cpp | C++ | third_party/WebKit/Source/core/html/track/vtt/VTTTokenizer.cpp | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | third_party/WebKit/Source/core/html/track/vtt/VTTTokenizer.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | third_party/WebKit/Source/core/html/track/vtt/VTTTokenizer.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | /*
* Copyright (C) 2011 Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 38.157895 | 149 | 0.578325 | wenfeifei |
f56f92490aa5df1b16988268dec3e26b33e4db03 | 8,703 | cc | C++ | chrome/renderer/extensions/extension_localization_peer_unittest.cc | MIPS/external-chromium_org | e31b3128a419654fd14003d6117caa8da32697e7 | [
"BSD-3-Clause"
] | 2 | 2017-03-21T23:19:25.000Z | 2019-02-03T05:32:47.000Z | chrome/renderer/extensions/extension_localization_peer_unittest.cc | carlosavignano/android_external_chromium_org | 2b5652f7889ccad0fbdb1d52b04bad4c23769547 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/renderer/extensions/extension_localization_peer_unittest.cc | carlosavignano/android_external_chromium_org | 2b5652f7889ccad0fbdb1d52b04bad4c23769547 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2017-07-31T19:09:52.000Z | 2019-01-04T18:48:50.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <map>
#include <string>
#include "base/memory/scoped_ptr.h"
#include "chrome/common/extensions/message_bundle.h"
#include "chrome/renderer/exten... | 34.673307 | 79 | 0.737906 | MIPS |
f5709228f5303fe8d9c5c84ced1c69d6c0a4344f | 26,618 | hpp | C++ | deps/boost/boost/geometry/srs/projections/proj/ob_tran.hpp | alexhenrie/poedit | b9b31a111d9e8a84cf1e698aff2c922a79bdd859 | [
"MIT"
] | 1,155 | 2015-01-10T19:04:33.000Z | 2022-03-30T12:30:30.000Z | deps/boost/boost/geometry/srs/projections/proj/ob_tran.hpp | alexhenrie/poedit | b9b31a111d9e8a84cf1e698aff2c922a79bdd859 | [
"MIT"
] | 618 | 2015-01-02T01:39:26.000Z | 2022-03-28T15:18:40.000Z | deps/boost/boost/geometry/srs/projections/proj/ob_tran.hpp | alexhenrie/poedit | b9b31a111d9e8a84cf1e698aff2c922a79bdd859 | [
"MIT"
] | 228 | 2015-01-13T12:55:42.000Z | 2022-03-30T11:11:05.000Z | // Boost.Geometry - gis-projections (based on PROJ4)
// Copyright (c) 2008-2015 Barend Gehrels, Amsterdam, the Netherlands.
// This file was modified by Oracle on 2017, 2018.
// Modifications copyright (c) 2017-2018, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle.... | 42.38535 | 130 | 0.55763 | alexhenrie |
f572a057159335a43afe852dba4b206a18ccf1d2 | 2,462 | cpp | C++ | isometric-deformation/ext/libigl/include/igl/grid.cpp | jiayaozhang/CS-370-Mesh-Processing | 26646d29af8cbc0d461302afa137f12b508b8b1b | [
"MIT"
] | 199 | 2018-02-26T20:56:21.000Z | 2022-03-16T06:09:52.000Z | isometric-deformation/ext/libigl/include/igl/grid.cpp | jiayaozhang/CS-370-Mesh-Processing | 26646d29af8cbc0d461302afa137f12b508b8b1b | [
"MIT"
] | 10 | 2018-03-20T02:49:58.000Z | 2021-12-29T01:13:22.000Z | isometric-deformation/ext/libigl/include/igl/grid.cpp | jiayaozhang/CS-370-Mesh-Processing | 26646d29af8cbc0d461302afa137f12b508b8b1b | [
"MIT"
] | 41 | 2018-02-28T01:33:37.000Z | 2021-12-29T16:06:19.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at htt... | 47.346154 | 232 | 0.625102 | jiayaozhang |
f572e1caad7ac4807a1dbd0b42ab308b97ac4f7b | 285 | cpp | C++ | chapter-11/recipe-01/cxx-example/tests/use_target/use_message.cpp | istupsm/cmake-cookbook | 342d0171802153619ea124c5b8e792ce45178895 | [
"MIT"
] | 1,600 | 2018-05-24T01:32:44.000Z | 2022-03-31T09:24:11.000Z | chapter-11/recipe-01/cxx-example/tests/use_target/use_message.cpp | istupsm/cmake-cookbook | 342d0171802153619ea124c5b8e792ce45178895 | [
"MIT"
] | 280 | 2017-08-27T13:10:51.000Z | 2018-05-23T15:09:58.000Z | chapter-11/recipe-01/cxx-example/tests/use_target/use_message.cpp | istupsm/cmake-cookbook | 342d0171802153619ea124c5b8e792ce45178895 | [
"MIT"
] | 475 | 2018-05-23T15:26:27.000Z | 2022-03-31T07:28:19.000Z | #include <cstdlib>
#include <iostream>
#include <message/Message.hpp>
int main() {
Message say_hello("Hello, CMake World!");
std::cout << say_hello << std::endl;
Message say_goodbye("Goodbye, CMake World");
std::cout << say_goodbye << std::endl;
return EXIT_SUCCESS;
}
| 16.764706 | 46 | 0.673684 | istupsm |
f577a9dbd6aee803c831651ba96b324c069a606b | 1,147 | cc | C++ | base/sharedexclusivelock.cc | mostynb/webrtc | 24a16656da7249c0d836247bc77dbc475f71f0af | [
"DOC",
"BSD-3-Clause"
] | 139 | 2017-06-10T17:23:54.000Z | 2022-03-23T21:08:17.000Z | base/sharedexclusivelock.cc | mostynb/webrtc | 24a16656da7249c0d836247bc77dbc475f71f0af | [
"DOC",
"BSD-3-Clause"
] | 72 | 2017-09-30T17:58:56.000Z | 2021-08-16T08:13:01.000Z | base/sharedexclusivelock.cc | mostynb/webrtc | 24a16656da7249c0d836247bc77dbc475f71f0af | [
"DOC",
"BSD-3-Clause"
] | 67 | 2017-11-28T17:59:19.000Z | 2022-02-22T04:09:38.000Z | /*
* Copyright 2011 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | 25.488889 | 71 | 0.733217 | mostynb |
f57a7df454a16465cbc646589405653915111427 | 316 | hpp | C++ | Plugins/Animation/src/AnimationPluginMacros.hpp | nmellado/Radium-Engine | 6e42e4be8d14bcd496371a5f58d483f7d03f9cf4 | [
"Apache-2.0"
] | null | null | null | Plugins/Animation/src/AnimationPluginMacros.hpp | nmellado/Radium-Engine | 6e42e4be8d14bcd496371a5f58d483f7d03f9cf4 | [
"Apache-2.0"
] | null | null | null | Plugins/Animation/src/AnimationPluginMacros.hpp | nmellado/Radium-Engine | 6e42e4be8d14bcd496371a5f58d483f7d03f9cf4 | [
"Apache-2.0"
] | null | null | null | #ifndef ANIMATIONPLUGINMACROS_HPP_
#define ANIMATIONPLUGINMACROS_HPP_
#include <Core/CoreMacros.hpp>
/// Defines the correct macro to export dll symbols.
#if defined Animation_EXPORTS
#define ANIM_PLUGIN_API DLL_EXPORT
#else
#define ANIM_PLUGIN_API DLL_IMPORT
#endif
#endif // ANIMATIONPLUGINMACROS_HPP_
| 22.571429 | 52 | 0.810127 | nmellado |
f57ae066c42d93ac79a304371105ecc923a49ae0 | 15,019 | cpp | C++ | Operations/mafOpDecomposeTimeVarVME.cpp | gradicosmo/MAF2 | 86ddf1f52a2de4479c09fd3f43dc321ff412af42 | [
"Apache-2.0"
] | 1 | 2021-05-10T19:01:10.000Z | 2021-05-10T19:01:10.000Z | Operations/mafOpDecomposeTimeVarVME.cpp | gradicosmo/MAF2 | 86ddf1f52a2de4479c09fd3f43dc321ff412af42 | [
"Apache-2.0"
] | null | null | null | Operations/mafOpDecomposeTimeVarVME.cpp | gradicosmo/MAF2 | 86ddf1f52a2de4479c09fd3f43dc321ff412af42 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
Program: MAF2
Module: mafOpDecomposeTimeVarVME
Authors: Roberto Mucci
Copyright (c) B3C
All rights reserved. See Copyright.txt or
http://www.scsitaly.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; w... | 27.608456 | 113 | 0.51881 | gradicosmo |
f57b8727750a198e0a1502f24d0edbd886da32e4 | 432 | cpp | C++ | source/signalzeug/source/ScopedConnection.cpp | kateyy/libzeug | ffb697721cd8ef7d6e685fd5e2c655d711565634 | [
"MIT"
] | null | null | null | source/signalzeug/source/ScopedConnection.cpp | kateyy/libzeug | ffb697721cd8ef7d6e685fd5e2c655d711565634 | [
"MIT"
] | null | null | null | source/signalzeug/source/ScopedConnection.cpp | kateyy/libzeug | ffb697721cd8ef7d6e685fd5e2c655d711565634 | [
"MIT"
] | null | null | null |
#include <signalzeug/ScopedConnection.h>
namespace signalzeug
{
ScopedConnection::ScopedConnection()
{
}
ScopedConnection::ScopedConnection(const Connection & connection)
: m_connection(connection)
{
}
ScopedConnection::~ScopedConnection()
{
m_connection.disconnect();
}
void ScopedConnection::operator=(const ... | 14.896552 | 65 | 0.773148 | kateyy |
f583ea1463abd5da636caf8e2ca724603832cdf3 | 627 | cpp | C++ | examples/filesystem_symlink.cpp | GheisMohammadi/CppCommon | 8785825f1f6a38f52ba2b5ecbd25ab0e550e897a | [
"MIT"
] | 211 | 2016-10-09T04:10:21.000Z | 2022-03-22T19:46:55.000Z | examples/filesystem_symlink.cpp | GheisMohammadi/CppCommon | 8785825f1f6a38f52ba2b5ecbd25ab0e550e897a | [
"MIT"
] | 26 | 2019-04-15T09:04:06.000Z | 2022-02-18T10:52:44.000Z | examples/filesystem_symlink.cpp | GheisMohammadi/CppCommon | 8785825f1f6a38f52ba2b5ecbd25ab0e550e897a | [
"MIT"
] | 87 | 2018-12-28T14:01:03.000Z | 2022-03-29T09:14:48.000Z | /*!
\file filesystem_symlink.cpp
\brief Filesystem symlink example
\author Ivan Shynkarenka
\date 04.09.2016
\copyright MIT License
*/
#include "filesystem/symlink.h"
#include <iostream>
int main(int argc, char** argv)
{
CppCommon::Symlink symlink("example.lnk");
// Create a new symbolic... | 22.392857 | 78 | 0.676236 | GheisMohammadi |
f584539094261e68a4f4a57c3c42a85377ffbdac | 38,483 | cpp | C++ | lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp | AnthonyLatsis/llvm-project | 2acd6cdb9a4bfb2c34b701527e04dd4ffe791d74 | [
"Apache-2.0"
] | 21 | 2021-02-08T15:42:18.000Z | 2022-02-23T03:25:10.000Z | lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp | AnthonyLatsis/llvm-project | 2acd6cdb9a4bfb2c34b701527e04dd4ffe791d74 | [
"Apache-2.0"
] | 9 | 2020-04-24T21:51:04.000Z | 2020-11-06T01:04:09.000Z | lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp | AnthonyLatsis/llvm-project | 2acd6cdb9a4bfb2c34b701527e04dd4ffe791d74 | [
"Apache-2.0"
] | 6 | 2021-02-08T16:57:07.000Z | 2022-01-13T11:32:34.000Z | //===-- EmulateInstructionARM64.cpp ---------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 32.069167 | 80 | 0.636983 | AnthonyLatsis |
f585f8bac1f927889dcdfe6e3e03f5c344abb89d | 4,124 | cpp | C++ | src/qpid/messaging/amqp/ReceiverContext.cpp | irinabov/debian-qpid-cpp-1.35.0 | 98b0597071c0a5f0cc407a35d5a4690d9189065e | [
"Apache-2.0"
] | 1 | 2017-11-29T09:19:02.000Z | 2017-11-29T09:19:02.000Z | src/qpid/messaging/amqp/ReceiverContext.cpp | irinabov/debian-qpid-cpp-1.35.0 | 98b0597071c0a5f0cc407a35d5a4690d9189065e | [
"Apache-2.0"
] | null | null | null | src/qpid/messaging/amqp/ReceiverContext.cpp | irinabov/debian-qpid-cpp-1.35.0 | 98b0597071c0a5f0cc407a35d5a4690d9189065e | [
"Apache-2.0"
] | null | null | null | /*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... | 25.937107 | 112 | 0.693259 | irinabov |
f58647459ccf1d67fdaa937212eea0363ddb3606 | 4,898 | cpp | C++ | src/floor_nav/src/SimTasksEnv.cpp | cedricpradalier/vrep_ros_ws | ebb4019f458954d4f524019c4ec7a60043557b13 | [
"BSD-3-Clause"
] | null | null | null | src/floor_nav/src/SimTasksEnv.cpp | cedricpradalier/vrep_ros_ws | ebb4019f458954d4f524019c4ec7a60043557b13 | [
"BSD-3-Clause"
] | null | null | null | src/floor_nav/src/SimTasksEnv.cpp | cedricpradalier/vrep_ros_ws | ebb4019f458954d4f524019c4ec7a60043557b13 | [
"BSD-3-Clause"
] | 1 | 2016-08-08T23:48:36.000Z | 2016-08-08T23:48:36.000Z |
#include "floor_nav/SimTasksEnv.h"
#include <topic_tools/MuxSelect.h>
#include <boost/algorithm/string.hpp>
using namespace floor_nav;
SimTasksEnv::SimTasksEnv(ros::NodeHandle & n) : task_manager_lib::TaskEnvironment(n),
paused(false), manualControl(true), joystick_topic("/teleop/twistCommand"), auto_topic("/mux... | 31.397436 | 163 | 0.66864 | cedricpradalier |
f5875e2a7971f31a45aab0471c6adf4bec44e810 | 5,369 | cpp | C++ | clang-tools-extra/clangd/Compiler.cpp | rarutyun/llvm | 76fa6b3bcade074bdedef740001c4528e1aa08a8 | [
"Apache-2.0"
] | 305 | 2019-09-14T17:16:05.000Z | 2022-03-31T15:05:20.000Z | clang-tools-extra/clangd/Compiler.cpp | rarutyun/llvm | 76fa6b3bcade074bdedef740001c4528e1aa08a8 | [
"Apache-2.0"
] | 11 | 2019-10-17T21:11:52.000Z | 2022-02-17T20:10:00.000Z | clang-tools-extra/clangd/Compiler.cpp | rarutyun/llvm | 76fa6b3bcade074bdedef740001c4528e1aa08a8 | [
"Apache-2.0"
] | 24 | 2019-10-03T11:22:11.000Z | 2022-01-25T09:59:30.000Z | //===--- Compiler.cpp --------------------------------------------*- C++-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 39.77037 | 80 | 0.697523 | rarutyun |
f5889140110839388281084925b1664fd3e98579 | 92,347 | cc | C++ | test/aarch32/test-simulator-cond-rdlow-rnlow-operand-immediate-t32.cc | Componolit/android_external_vixl | 0cc1043fc66e89d6f0d538a10668a7b3bb1a372b | [
"BSD-3-Clause"
] | null | null | null | test/aarch32/test-simulator-cond-rdlow-rnlow-operand-immediate-t32.cc | Componolit/android_external_vixl | 0cc1043fc66e89d6f0d538a10668a7b3bb1a372b | [
"BSD-3-Clause"
] | null | null | null | test/aarch32/test-simulator-cond-rdlow-rnlow-operand-immediate-t32.cc | Componolit/android_external_vixl | 0cc1043fc66e89d6f0d538a10668a7b3bb1a372b | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2016, VIXL authors
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions ... | 57.180805 | 81 | 0.394696 | Componolit |
f588a2ea22778a6a8a78380301933ddbd2ddf6d4 | 1,079 | hpp | C++ | addons/common/script_component.hpp | Task-Force-Dagger/Dagger | 56b9ffe3387f74830419a987eed5a0f386674331 | [
"MIT"
] | null | null | null | addons/common/script_component.hpp | Task-Force-Dagger/Dagger | 56b9ffe3387f74830419a987eed5a0f386674331 | [
"MIT"
] | null | null | null | addons/common/script_component.hpp | Task-Force-Dagger/Dagger | 56b9ffe3387f74830419a987eed5a0f386674331 | [
"MIT"
] | null | null | null | #define COMPONENT common
#include "\z\tfd\addons\main\script_mod.hpp"
#include "\a3\ui_f\hpp\defineCommonGrids.inc"
#include "\a3\ui_f\hpp\defineResincl.inc"
#include "\a3\ui_f\hpp\defineResinclDesign.inc"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
#ifdef DEBUG_ENABLED_COMMON
#define DEBUG_MODE_... | 29.972222 | 62 | 0.741427 | Task-Force-Dagger |
f589354e85f70808c7517f5c31a27427eb17433f | 13,423 | cpp | C++ | compiler/extensions/cpp/runtime/test/zserio/BitStreamTest.cpp | Klebert-Engineering/zserio-1 | fbb4fc42d9ab6f3afa6c040a36267357399180f4 | [
"BSD-3-Clause"
] | 2 | 2019-02-06T17:50:24.000Z | 2019-11-20T16:51:34.000Z | compiler/extensions/cpp/runtime/test/zserio/BitStreamTest.cpp | Klebert-Engineering/zserio-1 | fbb4fc42d9ab6f3afa6c040a36267357399180f4 | [
"BSD-3-Clause"
] | 1 | 2019-11-25T16:25:51.000Z | 2019-11-25T18:09:39.000Z | compiler/extensions/cpp/runtime/test/zserio/BitStreamTest.cpp | Klebert-Engineering/zserio-1 | fbb4fc42d9ab6f3afa6c040a36267357399180f4 | [
"BSD-3-Clause"
] | null | null | null | #include <cstring>
#include <string>
#include "zserio/BitStreamWriter.h"
#include "zserio/BitStreamReader.h"
#include "zserio/Types.h"
#include "zserio/BitStreamException.h"
#include "gtest/gtest.h"
namespace zserio
{
class BitStreamTest : public ::testing::Test
{
public:
BitStreamTest() : m_writer(m_byteBuffer... | 27.506148 | 99 | 0.569396 | Klebert-Engineering |
f58b4926d6c493a53ef80f4ba139bc6102c1b583 | 9,595 | cpp | C++ | opencl/test/unit_test/api/cl_create_program_with_built_in_kernels_tests.cpp | dkjiang2018/compute-runtime | 310947e6ddefc4bb9a7a268fc1ee8639155b730c | [
"MIT"
] | 1 | 2020-04-17T05:46:04.000Z | 2020-04-17T05:46:04.000Z | opencl/test/unit_test/api/cl_create_program_with_built_in_kernels_tests.cpp | dkjiang2018/compute-runtime | 310947e6ddefc4bb9a7a268fc1ee8639155b730c | [
"MIT"
] | null | null | null | opencl/test/unit_test/api/cl_create_program_with_built_in_kernels_tests.cpp | dkjiang2018/compute-runtime | 310947e6ddefc4bb9a7a268fc1ee8639155b730c | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/built_ins/built_ins.h"
#include "shared/source/compiler_interface/compiler_interface.h"
#include "shared/source/device/device.h"
#include "opencl/source/built_ins/built_in_ops_vme.h"
#include "opencl/sour... | 36.207547 | 201 | 0.726733 | dkjiang2018 |
f58d7a49622539388f0cd229f37cb285f99c8b16 | 7,014 | cpp | C++ | kcfi/llvm-kcfi/tools/clang/test/SemaTemplate/instantiate-local-class.cpp | IntelSTORM/Projects | b983417a5ca22c7679da5a1144b348863bea5698 | [
"Intel"
] | 1 | 2022-01-11T11:12:00.000Z | 2022-01-11T11:12:00.000Z | kcfi/llvm-kcfi/tools/clang/test/SemaTemplate/instantiate-local-class.cpp | IntelSTORMteam/Jurassic-Projects | b983417a5ca22c7679da5a1144b348863bea5698 | [
"Intel"
] | null | null | null | kcfi/llvm-kcfi/tools/clang/test/SemaTemplate/instantiate-local-class.cpp | IntelSTORMteam/Jurassic-Projects | b983417a5ca22c7679da5a1144b348863bea5698 | [
"Intel"
] | null | null | null | // RUN: %clang_cc1 -verify -std=c++11 %s
// RUN: %clang_cc1 -verify -std=c++11 -fdelayed-template-parsing %s
template<typename T>
void f0() {
struct X;
typedef struct Y {
T (X::* f1())(int) { return 0; }
} Y2;
Y2 y = Y();
}
template void f0<int>();
// PR5764
namespace PR5764 {
struct X {
template ... | 17.667506 | 98 | 0.546336 | IntelSTORM |
f58ed89cdf2bfd321a1e18b6f6f97985171e7f8a | 365 | cpp | C++ | mod.cpp | M3ales/ACE-Grenade-Select-Interaction | 793bfcdf223f6c680efa557a959a6a2cee10e692 | [
"Apache-2.0",
"MIT"
] | null | null | null | mod.cpp | M3ales/ACE-Grenade-Select-Interaction | 793bfcdf223f6c680efa557a959a6a2cee10e692 | [
"Apache-2.0",
"MIT"
] | null | null | null | mod.cpp | M3ales/ACE-Grenade-Select-Interaction | 793bfcdf223f6c680efa557a959a6a2cee10e692 | [
"Apache-2.0",
"MIT"
] | null | null | null | name = "ACE Vehicle Medical";
tooltipOwned="ACE Vehicle Medical";
picture = "";
logoSmall = "";
logo = "";
logoOver = "";
hideName = 0;
hidePicture = 0;
actionName = "Github";
action = "https://github.com/M3ales/MIRA_Vehicle_Medical";
description = "Adds ACE medical menu showing wounded to vehicles";
overview = "Adds A... | 30.416667 | 66 | 0.723288 | M3ales |
f590210649af57877b138696f4dae9488a1056d2 | 2,378 | hpp | C++ | vvvcfg/cfg_node_value.hpp | VyacheslavVanin/vvvcfg | 59c0974e3514087cc7c5a2dcd4851593343e8f06 | [
"MIT"
] | null | null | null | vvvcfg/cfg_node_value.hpp | VyacheslavVanin/vvvcfg | 59c0974e3514087cc7c5a2dcd4851593343e8f06 | [
"MIT"
] | 1 | 2018-01-02T10:23:33.000Z | 2018-01-02T10:23:33.000Z | vvvcfg/cfg_node_value.hpp | VyacheslavVanin/vvvcfg | 59c0974e3514087cc7c5a2dcd4851593343e8f06 | [
"MIT"
] | null | null | null | #pragma once
#include <ostream>
#include <string>
#include <unordered_map>
#include <vector>
#include "any.hpp"
namespace vvv {
struct Value {
using list_type = std::vector<Value>;
using dict_type = std::unordered_map<std::string, Value>;
enum class DATA_TYPE { STRING, LIST, DICT };
Value();
exp... | 27.333333 | 76 | 0.616905 | VyacheslavVanin |
f59743260babda2e1f1fa55c40683f7d1045318f | 6,753 | cpp | C++ | src/ast/analysis/ClauseNormalisation.cpp | remysucre/souffle | 0b7add1b6ea75c9d7a52fa292f51f6c2fee3183c | [
"UPL-1.0"
] | null | null | null | src/ast/analysis/ClauseNormalisation.cpp | remysucre/souffle | 0b7add1b6ea75c9d7a52fa292f51f6c2fee3183c | [
"UPL-1.0"
] | null | null | null | src/ast/analysis/ClauseNormalisation.cpp | remysucre/souffle | 0b7add1b6ea75c9d7a52fa292f51f6c2fee3183c | [
"UPL-1.0"
] | null | null | null | /*
* Souffle - A Datalog Compiler
* Copyright (c) 2020, The Souffle Developers. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at:
* - https://opensource.org/licenses/UPL
* - <souffle root>/licenses/SOUFFLE-UPL.txt
*/
/*******************************************************... | 35.920213 | 99 | 0.631571 | remysucre |
60d0415c1430e91e140bfc42645ff75f6934a80f | 1,026 | cpp | C++ | Source/Clem/Rendering_/Shader.cpp | ShenMian/Clementine | a4d733e5f89141a7f00a043c73f0819eb3e277a8 | [
"Apache-2.0"
] | 46 | 2020-08-27T14:30:50.000Z | 2021-12-10T05:45:07.000Z | Source/Clem/Rendering_/Shader.cpp | ShenMian/Clementine | a4d733e5f89141a7f00a043c73f0819eb3e277a8 | [
"Apache-2.0"
] | 2 | 2021-10-08T01:04:56.000Z | 2021-12-10T08:20:08.000Z | Source/Clem/Rendering_/Shader.cpp | ShenMian/Clementine | a4d733e5f89141a7f00a043c73f0819eb3e277a8 | [
"Apache-2.0"
] | 6 | 2020-09-05T08:41:13.000Z | 2022-03-26T02:31:26.000Z | // Copyright 2021 SMS
// License(Apache-2.0)
#include "Shader.h"
#include "Renderer.h"
#include <cassert>
#include "OpenGL/GLShader.h"
#include "Vulkan/VKShader.h"
namespace clem
{
std::unordered_map<Shader_::Stage, const char*> Shader_::extension = {
{Shader_::Stage::Vertex, "vert"},
{Shader_::Stage::Geom... | 19.358491 | 78 | 0.650097 | ShenMian |
60d07608348e19c3b01bbea9fc16084afb6a0496 | 4,880 | cpp | C++ | geos/src/Distance.cpp | jusirkka/qopencpn | 5e514ae8f43199c4d52278df6e4df85c46bd1ddc | [
"ISC",
"X11",
"MIT"
] | 2 | 2021-07-09T14:13:55.000Z | 2022-02-11T06:41:03.000Z | geos/src/Distance.cpp | jusirkka/qopencpn | 5e514ae8f43199c4d52278df6e4df85c46bd1ddc | [
"ISC",
"X11",
"MIT"
] | null | null | null | geos/src/Distance.cpp | jusirkka/qopencpn | 5e514ae8f43199c4d52278df6e4df85c46bd1ddc | [
"ISC",
"X11",
"MIT"
] | 2 | 2022-02-11T06:41:05.000Z | 2022-03-17T09:29:46.000Z | /**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2018 Paul Ramsey <pramsey@cleverlephant.ca>
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public... | 27.111111 | 90 | 0.456352 | jusirkka |
60d21cac90d8c3de34318a088425a3b62007b34f | 7,541 | hpp | C++ | debug/tracing.hpp | v1ne/v1util | 8c70d7b7517b90d62f3adf3a64df213e45818fbe | [
"BSD-2-Clause"
] | null | null | null | debug/tracing.hpp | v1ne/v1util | 8c70d7b7517b90d62f3adf3a64df213e45818fbe | [
"BSD-2-Clause"
] | null | null | null | debug/tracing.hpp | v1ne/v1util | 8c70d7b7517b90d62f3adf3a64df213e45818fbe | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include "v1util/base/macromagic.hpp"
#include "v1util/base/platform.hpp"
#include "v1util/stl-plus/filesystem-fwd.hpp"
#include <stddef.h>
#include <cstdint>
namespace v1util::tracing {
V1_PUBLIC void init(size_t bufferCapacityB);
V1_PUBLIC void destroy();
V1_PUBLIC void setStarted(bool started);
V1_P... | 40.983696 | 100 | 0.647925 | v1ne |
60d44ad99b9ab40dc39befd9c83450e025e6d713 | 449 | hpp | C++ | src/ember/config.hpp | apples/ember_engine | 26ddb8947a32e42fafc5c2c0b404f3f407c1dd95 | [
"MIT"
] | null | null | null | src/ember/config.hpp | apples/ember_engine | 26ddb8947a32e42fafc5c2c0b404f3f407c1dd95 | [
"MIT"
] | 1 | 2020-10-03T03:47:09.000Z | 2020-10-03T03:47:09.000Z | src/ember/config.hpp | apples/ld47 | 660ae705a7315ee438d5f509e44d94ff1c16409a | [
"MIT"
] | null | null | null | #pragma once
#include "json.hpp"
#include "json_serializers.hpp"
#include <string>
#include "reflection_start.hpp"
namespace ember::config {
using json_serializers::basic::from_json;
using json_serializers::basic::to_json;
struct display_t {
int width;
int height;
};
REFLECT(display_t, (width)(height))
s... | 15.482759 | 41 | 0.730512 | apples |
60d485362c536a851936422ba30f21ac2b3f4947 | 37 | hpp | C++ | src/boost_range_functions.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_range_functions.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_range_functions.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/range/functions.hpp>
| 18.5 | 36 | 0.783784 | miathedev |
60d4fc88ce739737a3dd5ec3d6900c457f2e6851 | 6,638 | cpp | C++ | hiro/windows/widget/hex-edit.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 10 | 2019-12-19T01:19:41.000Z | 2021-02-18T16:30:29.000Z | hiro/windows/widget/hex-edit.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | null | null | null | hiro/windows/widget/hex-edit.cpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 1 | 2021-03-22T16:15:30.000Z | 2021-03-22T16:15:30.000Z | #if defined(Hiro_HexEdit)
namespace hiro {
auto pHexEdit::construct() -> void {
hwnd = CreateWindowEx(
WS_EX_CLIENTEDGE, L"EDIT", L"",
WS_CHILD | WS_TABSTOP | ES_AUTOHSCROLL | ES_READONLY | ES_MULTILINE | ES_WANTRETURN,
0, 0, 0, 0, _parentHandle(), nullptr, GetModuleHandle(0), 0
);
scrollBar = Creat... | 27.204918 | 96 | 0.6279 | 13824125580 |
60d7bf333581bafe4235fb73564f7a93cc894c25 | 750 | cc | C++ | 洛谷/省选-/P2657-tle.cc | OFShare/Algorithm-challenger | 43336871a5e48f8804d6e737c813d9d4c0dc2731 | [
"MIT"
] | 67 | 2019-07-14T05:38:41.000Z | 2021-12-23T11:52:51.000Z | 洛谷/省选-/P2657-tle.cc | OFShare/Algorithm-challenger | 43336871a5e48f8804d6e737c813d9d4c0dc2731 | [
"MIT"
] | null | null | null | 洛谷/省选-/P2657-tle.cc | OFShare/Algorithm-challenger | 43336871a5e48f8804d6e737c813d9d4c0dc2731 | [
"MIT"
] | 12 | 2020-01-16T10:48:01.000Z | 2021-06-11T16:49:04.000Z | /*
* Author : OFShare
* E-mail : OFShare@outlook.com
* Created Time : 2020-04-27 13:32:23 PM
* File Name : P2657.cc
*/
#include <bits/stdc++.h>
#define ll long long
void debug() {
#ifdef Acui
freopen("data.in", "r", stdin);
freopen("data.out", "w", stdout);
#endif
}
ll A, B, cnt;
... | 17.44186 | 56 | 0.506667 | OFShare |
60d8fdec5b66c7acfe793f5dabf11b7f4d525193 | 589 | hpp | C++ | include/forecast_io/parsers/ForecastAttribute.hpp | Crystalix007/DarkSky-CPP | 10497ff292efdc460a67bc5dc44811b3a1459beb | [
"Apache-2.0"
] | null | null | null | include/forecast_io/parsers/ForecastAttribute.hpp | Crystalix007/DarkSky-CPP | 10497ff292efdc460a67bc5dc44811b3a1459beb | [
"Apache-2.0"
] | null | null | null | include/forecast_io/parsers/ForecastAttribute.hpp | Crystalix007/DarkSky-CPP | 10497ff292efdc460a67bc5dc44811b3a1459beb | [
"Apache-2.0"
] | null | null | null | #ifndef FORECASTATTRIBUTE_HPP
#define FORECASTATTRIBUTE_HPP
#include <string>
namespace forecast_io
{
namespace parsers
{
const std::string ForecastAttribute_NAME = "ForecastAttribute";
enum ForecastAttribute
{
ALERTS,
CURRENTLY,
DAILY,
FLAGS,
HOURLY,
LATITUDE,
LONGITUDE,
MINUTELY,
OFFSET,
TIMEZONE,
For... | 15.918919 | 84 | 0.787776 | Crystalix007 |
60d9e10be68d34cbbcd6a42014c56814187a2eae | 4,474 | cpp | C++ | source/logging/processors/async_wait_processor.cpp | pthis/CppLogging | 5c76bceef12eec705bf07b28c09d74023c1c3bb0 | [
"MIT"
] | 97 | 2016-10-09T04:10:25.000Z | 2022-03-30T21:23:25.000Z | source/logging/processors/async_wait_processor.cpp | pthis/CppLogging | 5c76bceef12eec705bf07b28c09d74023c1c3bb0 | [
"MIT"
] | 4 | 2019-10-25T01:45:13.000Z | 2021-12-15T04:09:58.000Z | source/logging/processors/async_wait_processor.cpp | pthis/CppLogging | 5c76bceef12eec705bf07b28c09d74023c1c3bb0 | [
"MIT"
] | 34 | 2018-12-28T14:01:46.000Z | 2021-11-24T17:22:09.000Z | /*!
\file async_wait_processor.cpp
\brief Asynchronous wait logging processor implementation
\author Ivan Shynkarenka
\date 01.08.2016
\copyright MIT License
*/
#include "logging/processors/async_wait_processor.h"
#include "errors/fatal.h"
#include "threads/thread.h"
#include <cassert>
namespace... | 25.276836 | 227 | 0.602146 | pthis |
60da1cd7ead4f7f4373277ca1b71f8696b174e95 | 486 | cpp | C++ | Algoritmica Grafurilor App/SFML Tutorial/DisjointSet.cpp | TFphoenix/graph-theory-algorithms | c0004a24cbb5fd951cbb916260c227552151bc16 | [
"Apache-2.0"
] | 1 | 2021-02-07T11:15:19.000Z | 2021-02-07T11:15:19.000Z | Algoritmica Grafurilor App/SFML Tutorial/DisjointSet.cpp | TFphoenix/graph-theory-algorithms | c0004a24cbb5fd951cbb916260c227552151bc16 | [
"Apache-2.0"
] | null | null | null | Algoritmica Grafurilor App/SFML Tutorial/DisjointSet.cpp | TFphoenix/graph-theory-algorithms | c0004a24cbb5fd951cbb916260c227552151bc16 | [
"Apache-2.0"
] | null | null | null | #include "DisjointSet.h"
void DisjointSet::MakeSet(uint16_t nrOfElements)
{
for (uint16_t element = 0; element < nrOfElements; ++element)
m_parent[element] = element;
}
uint16_t DisjointSet::Find(uint16_t element)
{
if (m_parent[element] == element)
return element;
return Find(m_parent[element]);
}
void Disjo... | 22.090909 | 62 | 0.744856 | TFphoenix |
60db6f12a764c2b03df6ab394cca044647fa74d8 | 14,856 | cpp | C++ | sources/modules/legacy/src/facedetection.cpp | ovb197310/opencv_2.4.13.2 | 940159dab8ea8f5ee019d2038b59e1daf4119d1c | [
"BSD-3-Clause"
] | null | null | null | sources/modules/legacy/src/facedetection.cpp | ovb197310/opencv_2.4.13.2 | 940159dab8ea8f5ee019d2038b59e1daf4119d1c | [
"BSD-3-Clause"
] | null | null | null | sources/modules/legacy/src/facedetection.cpp | ovb197310/opencv_2.4.13.2 | 940159dab8ea8f5ee019d2038b59e1daf4119d1c | [
"BSD-3-Clause"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, i... | 29.593625 | 134 | 0.550956 | ovb197310 |
60df2911113d92a0d0cc1f8783af3625d4f05183 | 19,203 | cc | C++ | ns3/ns-3.26/examples/wireless/wifi-spectrum-per-example.cc | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 7 | 2017-08-11T06:06:47.000Z | 2022-02-27T07:34:33.000Z | ns3/ns-3.26/examples/wireless/wifi-spectrum-per-example.cc | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 3 | 2017-08-11T03:04:59.000Z | 2017-09-11T14:01:14.000Z | ns3/ns-3.26/examples/wireless/wifi-spectrum-per-example.cc | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 3 | 2017-08-08T13:36:30.000Z | 2018-07-04T09:49:41.000Z | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2009 MIRKO BANCHI
* Copyright (c) 2015 University of Washington
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Fr... | 33.748682 | 125 | 0.565172 | Aedemon |
60e1014c21af67fece3d999f4ec971700cf724dd | 690 | cpp | C++ | apps/vaporgui/PTimestepInput.cpp | NCAR/VAPOR | f98fc8691dcb5f17da1f070908894331c9434271 | [
"BSD-3-Clause"
] | 120 | 2017-07-31T08:40:34.000Z | 2022-03-24T03:57:35.000Z | apps/vaporgui/PTimestepInput.cpp | NCAR/VAPOR | f98fc8691dcb5f17da1f070908894331c9434271 | [
"BSD-3-Clause"
] | 2,215 | 2017-06-21T20:47:30.000Z | 2022-03-31T22:41:38.000Z | apps/vaporgui/PTimestepInput.cpp | NCAR/VAPOR | f98fc8691dcb5f17da1f070908894331c9434271 | [
"BSD-3-Clause"
] | 48 | 2017-08-02T22:56:40.000Z | 2022-02-12T13:44:51.000Z | #include "PTimestepInput.h"
#include "NavigationUtils.h"
#include "VIntSpinBox.h"
#include "AnimationParams.h"
PTimestepInput::PTimestepInput(VAPoR::ControlExec *ce) : PWidget("", _input = new VIntSpinBox(0, 1)), _ce(ce) { connect(_input, &VIntSpinBox::ValueChanged, this, &PTimestepInput::inputChanged); }
void PTim... | 30 | 195 | 0.714493 | NCAR |
60e4b14825172cc6af36131e7cf11910751490a1 | 4,730 | cpp | C++ | main.cpp | Astromis/MatrixEngine | b9c4d09e37ec9c0eab39f2293afdd4b7c35f8f7c | [
"MIT"
] | null | null | null | main.cpp | Astromis/MatrixEngine | b9c4d09e37ec9c0eab39f2293afdd4b7c35f8f7c | [
"MIT"
] | null | null | null | main.cpp | Astromis/MatrixEngine | b9c4d09e37ec9c0eab39f2293afdd4b7c35f8f7c | [
"MIT"
] | null | null | null | #include <iostream>
#include "matrix.h"
#include "array.h"
#include <cstdlib>
#include <fstream>
#include <stdio.h>
#include "word2vec.h"
#include "stdio.h"
//TODO:
//redaction methods for memory economy and speed increases
//problem with concat method: return truncated matrix - without raws or columns
//Make method ... | 25.989011 | 106 | 0.561311 | Astromis |
60e69024357df6d5f49885352dc66ac9b5bda091 | 11,858 | cc | C++ | modules/audio_coding/neteq/tools/neteq_delay_analyzer.cc | Numbrs/WebRTC | d9348ec831b8a1f178ce1a92877f04b1fbd27a04 | [
"BSD-3-Clause"
] | 851 | 2018-02-05T09:54:56.000Z | 2022-03-24T23:13:10.000Z | modules/audio_coding/neteq/tools/neteq_delay_analyzer.cc | zhangj1024/webrtc | 3a6b729a8edaabd2fe324e1f6f830869ec38d5ab | [
"BSD-3-Clause"
] | 200 | 2018-02-06T18:52:39.000Z | 2022-03-24T19:59:14.000Z | modules/audio_coding/neteq/tools/neteq_delay_analyzer.cc | zhangj1024/webrtc | 3a6b729a8edaabd2fe324e1f6f830869ec38d5ab | [
"BSD-3-Clause"
] | 197 | 2018-03-20T20:49:55.000Z | 2022-03-21T17:38:14.000Z | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 38.375405 | 80 | 0.656772 | Numbrs |
60e6f38df59b15ea527768e6be7dd7bebfabf8eb | 411 | cpp | C++ | DataStructures/Arrays/2DMatrixTranspose.cpp | srivastavayushi/Interview-Preperation | c7fca371c885b9c1b26043450229ac9fe5f5d1ac | [
"MIT"
] | 1 | 2021-05-26T18:01:16.000Z | 2021-05-26T18:01:16.000Z | DataStructures/Arrays/2DMatrixTranspose.cpp | srivastavayushi/Interview-Preperation | c7fca371c885b9c1b26043450229ac9fe5f5d1ac | [
"MIT"
] | null | null | null | DataStructures/Arrays/2DMatrixTranspose.cpp | srivastavayushi/Interview-Preperation | c7fca371c885b9c1b26043450229ac9fe5f5d1ac | [
"MIT"
] | null | null | null | // Transpose of 2D Matrix
#include <iostream>
#include<array>
using namespace std;
int main(){
int arr[row][col];
cin>>row>>col;
for(int i=0; i<row; i++){
for(int j=0;j<col;j++){
cin>>arr[row][col];
}
}
int array[col][row];
for(int i=0;i<col;i++){
for(int j... | 18.681818 | 53 | 0.469586 | srivastavayushi |
60e74c1501eab4625e167fe06e0f36ec75d4182b | 4,042 | cpp | C++ | apps/HelloAndroid/jni/native.cpp | jwitz54/Halide-2016-HLS | dd95daab3a7c871dd2f15c514912e21fb3c2bb7c | [
"MIT"
] | 7 | 2017-04-05T20:52:57.000Z | 2018-11-26T10:07:10.000Z | apps/HelloAndroid/jni/native.cpp | jwitz54/Halide-2016-HLS | dd95daab3a7c871dd2f15c514912e21fb3c2bb7c | [
"MIT"
] | 10 | 2017-04-11T02:55:38.000Z | 2019-06-27T18:13:36.000Z | apps/HelloAndroid/jni/native.cpp | jwitz54/Halide-2016-HLS | dd95daab3a7c871dd2f15c514912e21fb3c2bb7c | [
"MIT"
] | 1 | 2020-07-10T16:00:39.000Z | 2020-07-10T16:00:39.000Z | #include <jni.h>
#include <android/log.h>
#include <android/bitmap.h>
#include <android/native_window_jni.h>
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include "halide_generated.h"
#include "HalideRuntime.h"
#include "HalideRuntimeOpenCL.h"
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,"ha... | 29.079137 | 102 | 0.607867 | jwitz54 |
60e8c54e97e87900b1659b7f582cc54be08d7918 | 1,308 | cpp | C++ | lib/Target/AGC/AGCTargetObjectFile.cpp | lewis-revill/agc-llvm | 3ea3042a7323b86631f5d45912970631e131b7fe | [
"Apache-2.0"
] | 6 | 2019-02-13T15:15:12.000Z | 2021-11-14T00:40:47.000Z | lib/Target/AGC/AGCTargetObjectFile.cpp | lewis-revill/agc-llvm | 3ea3042a7323b86631f5d45912970631e131b7fe | [
"Apache-2.0"
] | null | null | null | lib/Target/AGC/AGCTargetObjectFile.cpp | lewis-revill/agc-llvm | 3ea3042a7323b86631f5d45912970631e131b7fe | [
"Apache-2.0"
] | 1 | 2021-11-14T00:40:27.000Z | 2021-11-14T00:40:27.000Z | //===-- RISCVTargetObjectFile.cpp - RISCV Object Info ---------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 37.371429 | 80 | 0.670489 | lewis-revill |
60eb43c2bedfb51829ae7e72b5d4eab3a5c53239 | 3,237 | cpp | C++ | libraries/cor_system/sources/parallel_processor.cpp | rmake/cor-engine | d8920325db490d19dc8c116ab8e9620fe55e9975 | [
"MIT"
] | 4 | 2015-01-13T09:55:02.000Z | 2016-09-10T03:42:23.000Z | libraries/cor_system/sources/parallel_processor.cpp | rmake/cor-engine | d8920325db490d19dc8c116ab8e9620fe55e9975 | [
"MIT"
] | null | null | null | libraries/cor_system/sources/parallel_processor.cpp | rmake/cor-engine | d8920325db490d19dc8c116ab8e9620fe55e9975 | [
"MIT"
] | 2 | 2015-01-22T02:30:29.000Z | 2021-05-10T06:56:49.000Z |
#include "parallel_processor.h"
#include <condition_variable>
namespace cor
{
namespace system
{
struct ParallelProcessorItnl
{
std::vector<std::thread> threads;
JobQueueSP thread_job_queue;
JobQueueSP end_job_queue;
std::mutex cnd_mutex;
... | 27.905172 | 100 | 0.463701 | rmake |
60eda3cbb00adaa6dd6103e36532664982002fa5 | 620 | cpp | C++ | ngraph/core/src/preprocess/color_utils.cpp | monroid/openvino | 8272b3857ef5be0aaa8abbf7bd0d5d5615dc40b6 | [
"Apache-2.0"
] | 2,406 | 2020-04-22T15:47:54.000Z | 2022-03-31T10:27:37.000Z | ngraph/core/src/preprocess/color_utils.cpp | monroid/openvino | 8272b3857ef5be0aaa8abbf7bd0d5d5615dc40b6 | [
"Apache-2.0"
] | 4,948 | 2020-04-22T15:12:39.000Z | 2022-03-31T18:45:42.000Z | ngraph/core/src/preprocess/color_utils.cpp | monroid/openvino | 8272b3857ef5be0aaa8abbf7bd0d5d5615dc40b6 | [
"Apache-2.0"
] | 991 | 2020-04-23T18:21:09.000Z | 2022-03-31T18:40:57.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "color_utils.hpp"
using namespace ov::preprocess;
std::unique_ptr<ColorFormatInfo> ColorFormatInfo::get(ColorFormat format) {
std::unique_ptr<ColorFormatInfo> res;
switch (format) {
case ColorFormat::NV12_SING... | 25.833333 | 75 | 0.693548 | monroid |
60ee41e79385ab7c2c85208e24d2bd91c3e777c6 | 11,608 | hpp | C++ | src/hardware_layer/camera_calibration/include/camera/ocam/camera.hpp | robotic-mining-competition/NDSU2019 | 2f9a324d110fece78da3f42e2ae89a7fe198e6e3 | [
"BSD-3-Clause"
] | 1 | 2019-05-10T22:52:09.000Z | 2019-05-10T22:52:09.000Z | src/hardware_layer/camera_calibration/include/camera/ocam/camera.hpp | robotic-mining-competition/NDSU2019 | 2f9a324d110fece78da3f42e2ae89a7fe198e6e3 | [
"BSD-3-Clause"
] | null | null | null | src/hardware_layer/camera_calibration/include/camera/ocam/camera.hpp | robotic-mining-competition/NDSU2019 | 2f9a324d110fece78da3f42e2ae89a7fe198e6e3 | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************************************#
# #
# Withrobot Camera API #
# ... | 34.041056 | 160 | 0.562112 | robotic-mining-competition |
60efa24c31efa7c2b406b2f2b99491398955d862 | 52,334 | cc | C++ | chrome/browser/chromeos/cros/native_network_parser.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | chrome/browser/chromeos/cros/native_network_parser.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | chrome/browser/chromeos/cros/native_network_parser.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/cros/native_network_parser.h"
#include <string>
#include "base/stringprintf.h"
#include "base/string_util.h"
#incl... | 38.227904 | 80 | 0.708182 | Scopetta197 |
60f2510bf8276b0b3f53231b15e7d5b648234e56 | 1,605 | cpp | C++ | test/for_each.cpp | romariorios/coruja | 275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af | [
"BSL-1.0"
] | 13 | 2017-10-24T07:13:28.000Z | 2020-10-07T02:51:31.000Z | test/for_each.cpp | romariorios/coruja | 275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af | [
"BSL-1.0"
] | 1 | 2019-10-30T21:50:44.000Z | 2019-11-06T19:35:23.000Z | test/for_each.cpp | romariorios/coruja | 275d1b05cdefd4d8e7665bb7bb37dbe15de3e9af | [
"BSL-1.0"
] | 5 | 2018-09-19T20:29:07.000Z | 2020-03-20T18:12:09.000Z |
// Copyright Ricardo Calheiros de Miranda Cosme 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <coruja/object/object.hpp>
#include <coruja/object/for_each.hpp>
#include <coruja/object/view/transform.hp... | 23.26087 | 62 | 0.519003 | romariorios |
60f384d5c04fa91714da56a58c682b3f8d66ec0a | 18,218 | hpp | C++ | include/System/ComponentModel/PropertyDescriptor.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/ComponentModel/PropertyDescriptor.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/ComponentModel/PropertyDescriptor.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ComponentModel.MemberDescrip... | 59.731148 | 236 | 0.753156 | v0idp |
60f3d824d18770e16cc359ff485cedefdfc756d0 | 199,284 | inl | C++ | Effects11/EffectVariable.inl | sysu-Beadle/LXQ-Engine | f8594f5f11df17af7052e49aa4ca4f0297b6de29 | [
"MIT"
] | 1 | 2021-05-12T08:59:01.000Z | 2021-05-12T08:59:01.000Z | Effects11/EffectVariable.inl | sysu-Beadle/LXQ-Engine | f8594f5f11df17af7052e49aa4ca4f0297b6de29 | [
"MIT"
] | null | null | null | Effects11/EffectVariable.inl | sysu-Beadle/LXQ-Engine | f8594f5f11df17af7052e49aa4ca4f0297b6de29 | [
"MIT"
] | null | null | null | //--------------------------------------------------------------------------------------
// File: EffectVariable.inl
//
// Direct3D 11 Effects Variable reflection template
// These templates define the many Effect variable types.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND... | 40.113527 | 247 | 0.684832 | sysu-Beadle |
60f42502d05b4be11116bf6ab42670c19c5e696c | 5,063 | cc | C++ | base/synchronization/lock_unittest.cc | mockingbirdnest/chromium | da685abcc5b235ed6fac5d52e20dc276530ed9be | [
"BSD-3-Clause"
] | null | null | null | base/synchronization/lock_unittest.cc | mockingbirdnest/chromium | da685abcc5b235ed6fac5d52e20dc276530ed9be | [
"BSD-3-Clause"
] | null | null | null | base/synchronization/lock_unittest.cc | mockingbirdnest/chromium | da685abcc5b235ed6fac5d52e20dc276530ed9be | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/synchronization/lock.h"
#include <stdlib.h>
#include "base/compiler_specific.h"
#include "base/threading/platform_thread.h"
#include ... | 23.331797 | 80 | 0.645467 | mockingbirdnest |
60f667bc03e0cadc602f6af64b7d960c50339d91 | 3,110 | hpp | C++ | source/include/coffee/basis/Exception.hpp | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 2 | 2018-02-03T06:56:29.000Z | 2021-04-20T10:28:32.000Z | source/include/coffee/basis/Exception.hpp | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 8 | 2018-02-18T21:00:07.000Z | 2018-02-20T15:31:24.000Z | source/include/coffee/basis/Exception.hpp | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 1 | 2018-02-09T07:09:26.000Z | 2018-02-09T07:09:26.000Z | // MIT License
//
// Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@gmail.com)
//
// 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 limitatio... | 30.490196 | 110 | 0.707395 | ciscoruiz |
60f6f69eb0d1c8cf90fe6645d31650ef47d5b6b2 | 2,550 | hpp | C++ | src/include/libpmemobj/detail/conversions.hpp | uci-plrg/jaaru-pmdk | 667a470d39e69f59b70bbbd9351590cf1464e104 | [
"BSD-3-Clause"
] | null | null | null | src/include/libpmemobj/detail/conversions.hpp | uci-plrg/jaaru-pmdk | 667a470d39e69f59b70bbbd9351590cf1464e104 | [
"BSD-3-Clause"
] | null | null | null | src/include/libpmemobj/detail/conversions.hpp | uci-plrg/jaaru-pmdk | 667a470d39e69f59b70bbbd9351590cf1464e104 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T01:58:25.000Z | 2021-12-22T01:58:25.000Z | /*
* Copyright 2016, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the f... | 32.692308 | 74 | 0.731373 | uci-plrg |
60f895d37755ff98d5c14fcfa0a367677fcd88e5 | 43,388 | cpp | C++ | Source/AliveLibCommon/Masher.cpp | mouzedrift/alive_reversing | be7dfbaed3be99b452459e974bc4e79f9503c178 | [
"MIT"
] | 208 | 2018-06-06T13:14:03.000Z | 2022-03-30T02:21:27.000Z | Source/AliveLibCommon/Masher.cpp | mouzedrift/alive_reversing | be7dfbaed3be99b452459e974bc4e79f9503c178 | [
"MIT"
] | 537 | 2018-06-06T16:50:45.000Z | 2022-03-31T16:41:15.000Z | Source/AliveLibCommon/Masher.cpp | mouzedrift/alive_reversing | be7dfbaed3be99b452459e974bc4e79f9503c178 | [
"MIT"
] | 42 | 2018-06-06T00:40:08.000Z | 2022-03-23T08:38:55.000Z | #include "stdafx_common.h"
#include "Masher.hpp"
#include "Function.hpp"
#include "masher_tables.hpp"
#include "Sys_common.hpp"
#include <array>
#include <assert.h>
ALIVE_VAR(1, 0xbbb314, Movie_IO, sMovie_IO_BBB314, {});
Movie_IO& GetMovieIO()
{
return sMovie_IO_BBB314;
}
AudioDecompressor::AudioDecompressor()
{... | 34.407613 | 194 | 0.605836 | mouzedrift |
60f9a4e25e775734af11a580734e64e7ddf4bc34 | 439 | cpp | C++ | ch03/ex3_40.cpp | zhang1990215/Cpp-Primer | 81e51869c02f2ba75e4fe491dee07eaedce2bbc9 | [
"CC0-1.0"
] | null | null | null | ch03/ex3_40.cpp | zhang1990215/Cpp-Primer | 81e51869c02f2ba75e4fe491dee07eaedce2bbc9 | [
"CC0-1.0"
] | null | null | null | ch03/ex3_40.cpp | zhang1990215/Cpp-Primer | 81e51869c02f2ba75e4fe491dee07eaedce2bbc9 | [
"CC0-1.0"
] | null | null | null | // more discuss: https://github.com/Mooophy/Cpp-Primer/pull/241
// @frank67
#include <iostream>
#include <cstring>
const char cstr1[]="Hello";
const char cstr2[]="world!";
int main(int argc, char const *argv[])
{
constexpr size_t new_size = strlen(cstr1) + strlen(" ") + strlen(cstr2) +1;
char cstr3[new_size]... | 20.904762 | 79 | 0.637813 | zhang1990215 |
60fa97be9a0ceeb48357c69f3a7759b956ae53b3 | 2,374 | cc | C++ | modules/util/dump/ddl_dumper.cc | mueller/mysql-shell | 29bafc5692bd536a12c4e41c54cb587375fe52cf | [
"Apache-2.0"
] | 119 | 2016-04-14T14:16:22.000Z | 2022-03-08T20:24:38.000Z | modules/util/dump/ddl_dumper.cc | mueller/mysql-shell | 29bafc5692bd536a12c4e41c54cb587375fe52cf | [
"Apache-2.0"
] | 9 | 2017-04-26T20:48:42.000Z | 2021-09-07T01:52:44.000Z | modules/util/dump/ddl_dumper.cc | mueller/mysql-shell | 29bafc5692bd536a12c4e41c54cb587375fe52cf | [
"Apache-2.0"
] | 51 | 2016-07-20T05:06:48.000Z | 2022-03-09T01:20:53.000Z | /*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2.0,
* as published by the Free Software Foundation.
*
* This program is also distributed with certain software (in... | 40.237288 | 80 | 0.769587 | mueller |
60fba977c3998e5b3a61e596cd3a863537bf302d | 679 | cpp | C++ | school1/3A/bnkAccProject/BankAccount.cpp | momomeomo/School | d004bf6ed6fa3a5cec4fa067b61e5842acbaa3f6 | [
"Unlicense"
] | null | null | null | school1/3A/bnkAccProject/BankAccount.cpp | momomeomo/School | d004bf6ed6fa3a5cec4fa067b61e5842acbaa3f6 | [
"Unlicense"
] | null | null | null | school1/3A/bnkAccProject/BankAccount.cpp | momomeomo/School | d004bf6ed6fa3a5cec4fa067b61e5842acbaa3f6 | [
"Unlicense"
] | null | null | null |
#include <iostream>
#include "BankAccount.h"
using namespace std;
BankAccount::BankAccount()
: name("John Doe"), balance(100)
{
}
BankAccount::BankAccount(string n, double b)
: name(n), balance(b)
{
}
double BankAccount::getBalance()
{
return balance;
}
bool BankAccount::withdraw(double amt)
{
if (amt > 0 && b... | 13.057692 | 44 | 0.637703 | momomeomo |
60fd74cc730b872aed8ff8c2deef62213c0d502c | 22,040 | cpp | C++ | chromium/third_party/WebKit/Source/core/html/HTMLTableElement.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/third_party/WebKit/Source/core/html/HTMLTableElement.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/third_party/WebKit/Source/core/html/HTMLTableElement.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 1997 Martin Jones (mjones@kde.org)
* (C) 1997 Torben Weis (weis@kde.org)
* (C) 1998 Waldo Bastian (bastian@kde.org)
* (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2003, 2004, 2005, 2006, 2008, 2010, 2011... | 38.802817 | 302 | 0.711434 | wedataintelligence |
880024200dafe7d9aa45b922392c9b788090cb53 | 1,431 | cpp | C++ | tests/lpm_math_tests.cpp | pbosler/lpm | ee406355ce45ed4f12290199ba2842070fcc3442 | [
"BSD-3-Clause"
] | null | null | null | tests/lpm_math_tests.cpp | pbosler/lpm | ee406355ce45ed4f12290199ba2842070fcc3442 | [
"BSD-3-Clause"
] | 18 | 2021-06-27T17:59:03.000Z | 2022-02-22T03:41:27.000Z | tests/lpm_math_tests.cpp | pbosler/lpm | ee406355ce45ed4f12290199ba2842070fcc3442 | [
"BSD-3-Clause"
] | null | null | null | #include "LpmConfig.h"
#include "util/lpm_math.hpp"
#include "util/lpm_floating_point.hpp"
#include "lpm_comm.hpp"
#include "lpm_logger.hpp"
#include "catch.hpp"
#include <typeinfo>
#include <fstream>
#include <string>
using namespace Lpm;
TEST_CASE("lpm_math", "") {
Comm comm;
Logger<> logger("math_test_log", ... | 28.62 | 85 | 0.661775 | pbosler |
8801f4d5a631aed8868701369d6499d21d57f979 | 3,691 | cxx | C++ | direct/src/dcparser/dcKeyword.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | direct/src/dcparser/dcKeyword.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | direct/src/dcparser/dcKeyword.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: dcKeyword.cxx
// Created by: drose (22Jul05)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should ... | 34.175926 | 70 | 0.442428 | kestred |
8803f55703a55fd53e4bd378a07d766705a380fa | 3,669 | cpp | C++ | source/symbols/CompilationUnitSymbols.cpp | jankcorn/slang | 2c697d8f16ef2449110d3094f8eeb6196d1fcabb | [
"MIT"
] | null | null | null | source/symbols/CompilationUnitSymbols.cpp | jankcorn/slang | 2c697d8f16ef2449110d3094f8eeb6196d1fcabb | [
"MIT"
] | null | null | null | source/symbols/CompilationUnitSymbols.cpp | jankcorn/slang | 2c697d8f16ef2449110d3094f8eeb6196d1fcabb | [
"MIT"
] | 1 | 2021-11-15T05:37:12.000Z | 2021-11-15T05:37:12.000Z | //------------------------------------------------------------------------------
// CompilationUnitSymbols.cpp
// Contains compilation unit-related symbol definitions
//
// File is under the MIT license; see LICENSE for details
//------------------------------------------------------------------------------
#include "s... | 41.693182 | 99 | 0.618425 | jankcorn |
8806acc89535725f35d9ef11405d0de5076b01e9 | 2,916 | cpp | C++ | gm/ninepatchstretch.cpp | Acidburn0zzz/tampllate-skia | 7d5d73cfaee397788788765238725a5058ee7f08 | [
"BSD-3-Clause"
] | 11 | 2015-01-19T22:09:14.000Z | 2019-10-03T21:45:31.000Z | gm/ninepatchstretch.cpp | Acidburn0zzz/tampllate-skia | 7d5d73cfaee397788788765238725a5058ee7f08 | [
"BSD-3-Clause"
] | null | null | null | gm/ninepatchstretch.cpp | Acidburn0zzz/tampllate-skia | 7d5d73cfaee397788788765238725a5058ee7f08 | [
"BSD-3-Clause"
] | 9 | 2015-02-23T12:59:43.000Z | 2022-01-27T10:30:45.000Z | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
static void make_bitmap(SkBitmap* bitmap, SkIRect* center) {
const int kFixed = 28;
const int kStretchy = 8;
const int kSize = 2*kFixed + kStretch... | 28.588235 | 88 | 0.589163 | Acidburn0zzz |